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,21 +1,21 @@
|
|
|
1
|
-
import { useSlots as Ge, ref as i, computed as
|
|
2
|
-
import { u as Je, c as
|
|
3
|
-
import { t as vt, u as ct } from "./useResponsive-
|
|
4
|
-
import { _ as dt } from "./Title-
|
|
5
|
-
import { u as pt, U as ht } from "./usePrinter-
|
|
6
|
-
import { _ as gt } from "./Tooltip-
|
|
7
|
-
import { D as ft } from "./DataTable-
|
|
8
|
-
import { L as yt } from "./Legend-
|
|
9
|
-
import mt from "./vue-ui-skeleton-
|
|
10
|
-
import bt from "./vue-ui-accordion-
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as kt } from "./PackageVersion-
|
|
13
|
-
import { P as Ct } from "./PenAndPaper-
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
import { u as
|
|
17
|
-
import { _ as
|
|
18
|
-
const xt = ["id"],
|
|
1
|
+
import { useSlots as Ge, ref as i, computed as g, watch as He, onMounted as je, onBeforeUnmount as Xe, createElementBlock as v, openBlock as n, unref as r, normalizeStyle as I, normalizeClass as M, createBlock as O, createCommentVNode as m, createElementVNode as T, createVNode as J, createSlots as we, withCtx as h, renderSlot as d, normalizeProps as A, guardReactiveProps as F, Fragment as K, renderList as Q, mergeProps as qe, createTextVNode as Te, toDisplayString as E, nextTick as Ye } from "vue";
|
|
2
|
+
import { u as Je, c as _e, t as Ke, p as N, a as Qe, o as Ze, e as Z, g as et, b as tt, J as lt, d as xe, f as P, X as ot, s as at, w as st, v as G, i as Ie, q as nt, r as ut, x as rt, y as it } from "./index-DUnEDLbc.js";
|
|
3
|
+
import { t as vt, u as ct } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
+
import { _ as dt } from "./Title-1PWD04Gh.js";
|
|
5
|
+
import { u as pt, U as ht } from "./usePrinter-Undaynpo.js";
|
|
6
|
+
import { _ as gt } from "./Tooltip-BTO5NGkn.js";
|
|
7
|
+
import { D as ft } from "./DataTable-DfMqgTjL.js";
|
|
8
|
+
import { L as yt } from "./Legend-PL8rU0J1.js";
|
|
9
|
+
import mt from "./vue-ui-skeleton-DieABKlo.js";
|
|
10
|
+
import bt from "./vue-ui-accordion-C8Couc_G.js";
|
|
11
|
+
import { u as Oe } from "./useNestedProp-CEMeoM-f.js";
|
|
12
|
+
import { _ as kt } from "./PackageVersion-1Y7SXTrk.js";
|
|
13
|
+
import { P as Ct } from "./PenAndPaper-BYhUvcy4.js";
|
|
14
|
+
import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as wt } from "./Shape-Ov27sl2L.js";
|
|
16
|
+
import { u as Tt } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
+
import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
const xt = ["id"], It = ["xmlns", "viewBox"], Ot = ["width", "height"], Nt = ["id"], Pt = ["stop-color"], St = ["stop-color"], At = { key: 1 }, Ft = ["stroke", "cx", "cy", "r", "fill"], Lt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Rt = ["stroke", "stroke-width", "cx", "cy", "r", "fill"], Mt = ["cx", "cy", "r", "onMouseenter"], Vt = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
21
|
}, zt = ["onClick"], Ut = { key: 0 }, Wt = { key: 1 }, Bt = ["innerHTML"], Dt = {
|
|
@@ -35,22 +35,22 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
37
|
emits: ["selectLegend"],
|
|
38
|
-
setup(
|
|
39
|
-
const { vue_ui_rings: Ae } = Je(), Fe = Ge(), b =
|
|
38
|
+
setup(Ne, { expose: Pe, emit: Se }) {
|
|
39
|
+
const { vue_ui_rings: Ae } = Je(), Fe = Ge(), b = Ne, x = i(!1), V = g(() => !!b.dataset && b.dataset.length), $ = i(_e()), Le = i(null), z = i(!1), H = i(""), w = i(null), ee = i(0), L = i(null), te = i(null), le = i(null), oe = i(null), ae = i(null), se = i(0), ne = i(0), ue = i(0), e = g({
|
|
40
40
|
get: () => ce(),
|
|
41
41
|
set: (t) => t
|
|
42
|
-
}), { userOptionsVisible: j, setUserOptionsVisibility: re, keepUserOptionState: ie } =
|
|
42
|
+
}), { userOptionsVisible: j, setUserOptionsVisibility: re, keepUserOptionState: ie } = $t({ config: e.value }), { svgRef: ve } = Tt({ config: e.value.style.chart.title });
|
|
43
43
|
function ce() {
|
|
44
|
-
const t =
|
|
44
|
+
const t = Oe({
|
|
45
45
|
userConfig: b.config,
|
|
46
46
|
defaultConfig: Ae
|
|
47
47
|
});
|
|
48
48
|
return t.theme ? {
|
|
49
|
-
...
|
|
49
|
+
...Oe({
|
|
50
50
|
userConfig: Qe.vue_ui_rings[t.theme] || b.config,
|
|
51
51
|
defaultConfig: t
|
|
52
52
|
}),
|
|
53
|
-
customPalette: Ke[t.theme] ||
|
|
53
|
+
customPalette: Ke[t.theme] || N
|
|
54
54
|
} : t;
|
|
55
55
|
}
|
|
56
56
|
He(() => b.config, (t) => {
|
|
@@ -82,7 +82,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
82
82
|
}), e.value.responsive) {
|
|
83
83
|
const t = vt(() => {
|
|
84
84
|
const { width: o, height: l } = ct({
|
|
85
|
-
chart:
|
|
85
|
+
chart: L.value,
|
|
86
86
|
title: e.value.style.chart.title.text ? te.value : null,
|
|
87
87
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
88
88
|
source: oe.value,
|
|
@@ -92,7 +92,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
92
92
|
s.value.width = o, s.value.height = l;
|
|
93
93
|
});
|
|
94
94
|
});
|
|
95
|
-
U.value = new ResizeObserver(t), U.value.observe(
|
|
95
|
+
U.value = new ResizeObserver(t), U.value.observe(L.value.parentNode);
|
|
96
96
|
}
|
|
97
97
|
setTimeout(() => {
|
|
98
98
|
x.value = !0;
|
|
@@ -102,63 +102,63 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
102
102
|
U.value && U.value.disconnect();
|
|
103
103
|
});
|
|
104
104
|
const { isPrinting: pe, isImaging: he, generatePdf: ge, generateImage: fe } = pt({
|
|
105
|
-
elementId: `rings_${
|
|
105
|
+
elementId: `rings_${$.value}`,
|
|
106
106
|
fileName: e.value.style.chart.title.text || "vue-ui-rings"
|
|
107
|
-
}), Re =
|
|
107
|
+
}), Re = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), ye = g(() => tt(e.value.customPalette)), k = i({
|
|
108
108
|
showTable: e.value.table.show,
|
|
109
109
|
showTooltip: e.value.style.chart.tooltip.show
|
|
110
110
|
}), s = i({
|
|
111
111
|
height: 360,
|
|
112
112
|
width: 360
|
|
113
|
-
}), Me =
|
|
113
|
+
}), Me = g(() => Math.min(s.value.height, s.value.width)), Ve = Se, f = i([]);
|
|
114
114
|
function X(t) {
|
|
115
|
-
f.value.includes(t) ? f.value = f.value.filter((o) => o !== t) : f.value.push(t), Ve("selectLegend",
|
|
115
|
+
f.value.includes(t) ? f.value = f.value.filter((o) => o !== t) : f.value.push(t), Ve("selectLegend", p.value.map((o) => ({
|
|
116
116
|
name: o.name,
|
|
117
117
|
color: o.color,
|
|
118
118
|
value: o.value
|
|
119
119
|
})));
|
|
120
120
|
}
|
|
121
|
-
const ze =
|
|
121
|
+
const ze = g(() => Math.max(
|
|
122
122
|
...W.value.filter((t) => !f.value.includes(t.uid)).map(({ value: t }) => t)
|
|
123
123
|
));
|
|
124
124
|
function me(t) {
|
|
125
125
|
return t / ze.value;
|
|
126
126
|
}
|
|
127
|
-
const W =
|
|
128
|
-
const u = lt(t).reduce((y,
|
|
127
|
+
const W = g(() => b.dataset.map(({ values: t, name: o, color: l = null }, a) => {
|
|
128
|
+
const u = lt(t).reduce((y, R) => y + R, 0);
|
|
129
129
|
return {
|
|
130
130
|
name: o,
|
|
131
|
-
color: l || xe(l) || ye.value[a] ||
|
|
131
|
+
color: l || xe(l) || ye.value[a] || N[a] || N[a % N.length],
|
|
132
132
|
value: u,
|
|
133
|
-
proportion: u / b.dataset.map((y) => (y.values || []).reduce((
|
|
134
|
-
uid:
|
|
133
|
+
proportion: u / b.dataset.map((y) => (y.values || []).reduce((R, Ee) => R + Ee, 0)).reduce((y, R) => y + R, 0),
|
|
134
|
+
uid: _e(),
|
|
135
135
|
absoluteIndex: a
|
|
136
136
|
};
|
|
137
|
-
})), be =
|
|
137
|
+
})), be = g(() => W.value.map((t) => ({
|
|
138
138
|
...t,
|
|
139
139
|
shape: "circle",
|
|
140
140
|
opacity: f.value.includes(t.uid) ? 0.5 : 1,
|
|
141
141
|
segregate: () => X(t.uid),
|
|
142
142
|
isSegregated: f.value.includes(t.uid)
|
|
143
|
-
})).toSorted((t, o) => o.value - t.value)), Ue =
|
|
143
|
+
})).toSorted((t, o) => o.value - t.value)), Ue = g(() => ({
|
|
144
144
|
cy: "rings-div-legend",
|
|
145
145
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
146
146
|
color: e.value.style.chart.legend.color,
|
|
147
147
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
148
148
|
paddingBottom: 12,
|
|
149
149
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
150
|
-
})), C =
|
|
150
|
+
})), C = g(() => W.value.filter((t) => !f.value.includes(t.uid)).map(({ value: t }) => t).reduce((t, o) => t + o, 0)), p = g(() => W.value.filter((t) => !f.value.includes(t.uid)).map(({ name: t, value: o, color: l = null, uid: a, absoluteIndex: u }, y) => ({
|
|
151
151
|
absoluteIndex: u,
|
|
152
152
|
uid: a,
|
|
153
153
|
name: t,
|
|
154
|
-
color: l || xe(l) || ye.value[y] ||
|
|
154
|
+
color: l || xe(l) || ye.value[y] || N[y] || N[y % N.length],
|
|
155
155
|
value: o,
|
|
156
156
|
proportion: me(o),
|
|
157
157
|
percentage: o / C.value * 100,
|
|
158
158
|
strokeWidth: e.value.style.chart.layout.rings.strokeWidth * me(o)
|
|
159
159
|
})).toSorted((t, o) => o.value - t.value));
|
|
160
160
|
function We() {
|
|
161
|
-
return
|
|
161
|
+
return p.value.map(
|
|
162
162
|
({ name: t, color: o, value: l, absoluteValues: a, percentage: u }) => ({
|
|
163
163
|
name: t,
|
|
164
164
|
color: o,
|
|
@@ -168,34 +168,34 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
168
168
|
})
|
|
169
169
|
);
|
|
170
170
|
}
|
|
171
|
-
const c =
|
|
171
|
+
const c = g(() => Me.value - e.value.style.chart.layout.rings.strokeWidth * 2), q = i(null);
|
|
172
172
|
function Be(t, o) {
|
|
173
173
|
if (f.value.length === b.dataset.length) return;
|
|
174
174
|
q.value = {
|
|
175
175
|
datapoint: o,
|
|
176
176
|
seriesIndex: t,
|
|
177
|
-
series:
|
|
177
|
+
series: p.value,
|
|
178
178
|
config: e.value
|
|
179
|
-
},
|
|
180
|
-
const l =
|
|
179
|
+
}, w.value = t;
|
|
180
|
+
const l = p.value[t], a = e.value.style.chart.tooltip.customFormat;
|
|
181
181
|
if (rt(a) && it(() => a({
|
|
182
182
|
seriesIndex: t,
|
|
183
183
|
datapoint: o,
|
|
184
|
-
series:
|
|
184
|
+
series: p.value,
|
|
185
185
|
config: e.value
|
|
186
186
|
})))
|
|
187
187
|
H.value = a({
|
|
188
188
|
seriesIndex: t,
|
|
189
189
|
datapoint: o,
|
|
190
|
-
series:
|
|
190
|
+
series: p.value,
|
|
191
191
|
config: e.value
|
|
192
192
|
});
|
|
193
193
|
else {
|
|
194
194
|
let u = "";
|
|
195
|
-
u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, u += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}" />${Fe.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${
|
|
195
|
+
u += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.name}</div>`, u += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><circle cx="30" cy="30" r="30" stroke="none" fill="${l.color}" />${Fe.pattern ? `<circle cx="30" cy="30" r="30" stroke="none" fill="url(#pattern_${$.value}_${o.absoluteIndex})" />` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (u += `<b>${Ie(
|
|
196
196
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
197
197
|
l.value,
|
|
198
|
-
|
|
198
|
+
P({
|
|
199
199
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
200
200
|
v: l.value,
|
|
201
201
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -203,11 +203,11 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
203
203
|
}),
|
|
204
204
|
{ datapoint: o, seriesIndex: t }
|
|
205
205
|
)}
|
|
206
|
-
</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${
|
|
206
|
+
</b>`), e.value.style.chart.tooltip.showPercentage && (e.value.style.chart.tooltip.showValue ? u += `<span>(${P({
|
|
207
207
|
v: l.value / C.value * 100,
|
|
208
208
|
s: "%",
|
|
209
209
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
210
|
-
})})</span></div>` : u += `<b>${
|
|
210
|
+
})})</span></div>` : u += `<b>${P({
|
|
211
211
|
v: l.value / C.value * 100,
|
|
212
212
|
s: "%",
|
|
213
213
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
@@ -215,24 +215,24 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
215
215
|
}
|
|
216
216
|
z.value = !0;
|
|
217
217
|
}
|
|
218
|
-
const
|
|
219
|
-
const t =
|
|
218
|
+
const _ = g(() => {
|
|
219
|
+
const t = p.value.map((l) => ({
|
|
220
220
|
name: l.name,
|
|
221
221
|
color: l.color
|
|
222
|
-
})), o =
|
|
222
|
+
})), o = p.value.map((l) => l.value);
|
|
223
223
|
return { head: t, body: o };
|
|
224
|
-
}), B =
|
|
224
|
+
}), B = g(() => {
|
|
225
225
|
const t = [
|
|
226
226
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
227
|
-
|
|
227
|
+
P({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: C.value, s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
228
228
|
"100%"
|
|
229
|
-
], o =
|
|
229
|
+
], o = _.value.head.map((u, y) => [
|
|
230
230
|
{
|
|
231
231
|
color: u.color,
|
|
232
232
|
name: u.name
|
|
233
233
|
},
|
|
234
|
-
|
|
235
|
-
isNaN(
|
|
234
|
+
P({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: _.value.body[y], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue }),
|
|
235
|
+
isNaN(_.value.body[y] / C.value) ? "-" : (_.value.body[y] / C.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
|
|
236
236
|
]), l = {
|
|
237
237
|
th: {
|
|
238
238
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -259,9 +259,9 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
259
259
|
});
|
|
260
260
|
function ke() {
|
|
261
261
|
Ye(() => {
|
|
262
|
-
const t =
|
|
262
|
+
const t = _.value.head.map((a, u) => [[
|
|
263
263
|
a.name
|
|
264
|
-
], [
|
|
264
|
+
], [_.value.body[u]], [isNaN(_.value.body[u] / C.value) ? "-" : _.value.body[u] / C.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = nt(o);
|
|
265
265
|
ut({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-rings" });
|
|
266
266
|
});
|
|
267
267
|
}
|
|
@@ -272,33 +272,33 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
272
272
|
function Ce() {
|
|
273
273
|
k.value.showTable = !k.value.showTable;
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function $e() {
|
|
276
276
|
k.value.showTooltip = !k.value.showTooltip;
|
|
277
277
|
}
|
|
278
278
|
const D = i(!1);
|
|
279
279
|
function Y() {
|
|
280
280
|
D.value = !D.value;
|
|
281
281
|
}
|
|
282
|
-
return
|
|
282
|
+
return Pe({
|
|
283
283
|
getData: We,
|
|
284
284
|
generatePdf: ge,
|
|
285
285
|
generateCsv: ke,
|
|
286
286
|
generateImage: fe,
|
|
287
287
|
toggleTable: Ce,
|
|
288
|
-
toggleTooltip:
|
|
288
|
+
toggleTooltip: $e,
|
|
289
289
|
toggleAnnotator: Y
|
|
290
290
|
}), (t, o) => (n(), v("div", {
|
|
291
291
|
ref_key: "ringsChart",
|
|
292
|
-
ref:
|
|
293
|
-
class:
|
|
294
|
-
style:
|
|
295
|
-
id: `rings_${
|
|
292
|
+
ref: L,
|
|
293
|
+
class: M(`vue-ui-rings ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
294
|
+
style: I(`font-family:${e.value.style.fontFamily};text-align:center;width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
295
|
+
id: `rings_${$.value}`,
|
|
296
296
|
onMouseleave: o[3] || (o[3] = (l) => {
|
|
297
|
-
|
|
297
|
+
w.value = null, z.value = !1, r(re)(!1);
|
|
298
298
|
}),
|
|
299
299
|
onMouseenter: o[4] || (o[4] = () => r(re)(!0))
|
|
300
300
|
}, [
|
|
301
|
-
e.value.userOptions.buttons.annotator ? (n(),
|
|
301
|
+
e.value.userOptions.buttons.annotator ? (n(), O(Ct, {
|
|
302
302
|
key: 0,
|
|
303
303
|
svgRef: r(ve),
|
|
304
304
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -319,7 +319,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
319
319
|
ref: te,
|
|
320
320
|
style: "width:100%;background:transparent"
|
|
321
321
|
}, [
|
|
322
|
-
(n(),
|
|
322
|
+
(n(), O(dt, {
|
|
323
323
|
key: `title_${se.value}`,
|
|
324
324
|
config: {
|
|
325
325
|
title: {
|
|
@@ -333,7 +333,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
333
333
|
}
|
|
334
334
|
}, null, 8, ["config"]))
|
|
335
335
|
], 512)) : m("", !0),
|
|
336
|
-
e.value.userOptions.show && V.value && (r(ie) || r(j)) ? (n(),
|
|
336
|
+
e.value.userOptions.show && V.value && (r(ie) || r(j)) ? (n(), O(ht, {
|
|
337
337
|
ref_key: "details",
|
|
338
338
|
ref: Le,
|
|
339
339
|
key: `user_options_${ee.value}`,
|
|
@@ -341,7 +341,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
341
341
|
color: e.value.style.chart.color,
|
|
342
342
|
isPrinting: r(pe),
|
|
343
343
|
isImaging: r(he),
|
|
344
|
-
uid:
|
|
344
|
+
uid: $.value,
|
|
345
345
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
346
346
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
347
347
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -351,7 +351,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
351
351
|
isTooltip: k.value.showTooltip,
|
|
352
352
|
isFullscreen: S.value,
|
|
353
353
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
354
|
-
chartElement:
|
|
354
|
+
chartElement: L.value,
|
|
355
355
|
position: e.value.userOptions.position,
|
|
356
356
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
357
357
|
isAnnotation: D.value,
|
|
@@ -360,60 +360,67 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
360
360
|
onGenerateCsv: ke,
|
|
361
361
|
onGenerateImage: r(fe),
|
|
362
362
|
onToggleTable: Ce,
|
|
363
|
-
onToggleTooltip:
|
|
363
|
+
onToggleTooltip: $e,
|
|
364
364
|
onToggleAnnotator: Y,
|
|
365
|
-
style:
|
|
365
|
+
style: I({
|
|
366
366
|
visibility: r(ie) ? r(j) ? "visible" : "hidden" : "visible"
|
|
367
367
|
})
|
|
368
|
-
},
|
|
368
|
+
}, we({ _: 2 }, [
|
|
369
|
+
t.$slots.menuIcon ? {
|
|
370
|
+
name: "menuIcon",
|
|
371
|
+
fn: h(({ isOpen: l, color: a }) => [
|
|
372
|
+
d(t.$slots, "menuIcon", A(F({ isOpen: l, color: a })), void 0, !0)
|
|
373
|
+
]),
|
|
374
|
+
key: "0"
|
|
375
|
+
} : void 0,
|
|
369
376
|
t.$slots.optionTooltip ? {
|
|
370
377
|
name: "optionTooltip",
|
|
371
|
-
fn:
|
|
372
|
-
|
|
378
|
+
fn: h(() => [
|
|
379
|
+
d(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
373
380
|
]),
|
|
374
|
-
key: "
|
|
381
|
+
key: "1"
|
|
375
382
|
} : void 0,
|
|
376
383
|
t.$slots.optionPdf ? {
|
|
377
384
|
name: "optionPdf",
|
|
378
|
-
fn:
|
|
379
|
-
|
|
385
|
+
fn: h(() => [
|
|
386
|
+
d(t.$slots, "optionPdf", {}, void 0, !0)
|
|
380
387
|
]),
|
|
381
|
-
key: "
|
|
388
|
+
key: "2"
|
|
382
389
|
} : void 0,
|
|
383
390
|
t.$slots.optionCsv ? {
|
|
384
391
|
name: "optionCsv",
|
|
385
|
-
fn:
|
|
386
|
-
|
|
392
|
+
fn: h(() => [
|
|
393
|
+
d(t.$slots, "optionCsv", {}, void 0, !0)
|
|
387
394
|
]),
|
|
388
|
-
key: "
|
|
395
|
+
key: "3"
|
|
389
396
|
} : void 0,
|
|
390
397
|
t.$slots.optionImg ? {
|
|
391
398
|
name: "optionImg",
|
|
392
|
-
fn:
|
|
393
|
-
|
|
399
|
+
fn: h(() => [
|
|
400
|
+
d(t.$slots, "optionImg", {}, void 0, !0)
|
|
394
401
|
]),
|
|
395
|
-
key: "
|
|
402
|
+
key: "4"
|
|
396
403
|
} : void 0,
|
|
397
404
|
t.$slots.optionTable ? {
|
|
398
405
|
name: "optionTable",
|
|
399
|
-
fn:
|
|
400
|
-
|
|
406
|
+
fn: h(() => [
|
|
407
|
+
d(t.$slots, "optionTable", {}, void 0, !0)
|
|
401
408
|
]),
|
|
402
|
-
key: "
|
|
409
|
+
key: "5"
|
|
403
410
|
} : void 0,
|
|
404
411
|
t.$slots.optionFullscreen ? {
|
|
405
412
|
name: "optionFullscreen",
|
|
406
|
-
fn:
|
|
407
|
-
|
|
413
|
+
fn: h(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
414
|
+
d(t.$slots, "optionFullscreen", A(F({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
408
415
|
]),
|
|
409
|
-
key: "
|
|
416
|
+
key: "6"
|
|
410
417
|
} : void 0,
|
|
411
418
|
t.$slots.optionAnnotator ? {
|
|
412
419
|
name: "optionAnnotator",
|
|
413
|
-
fn:
|
|
414
|
-
|
|
420
|
+
fn: h(({ toggleAnnotator: l, isAnnotator: a }) => [
|
|
421
|
+
d(t.$slots, "optionAnnotator", A(F({ toggleAnnotator: l, isAnnotator: a })), void 0, !0)
|
|
415
422
|
]),
|
|
416
|
-
key: "
|
|
423
|
+
key: "7"
|
|
417
424
|
} : void 0
|
|
418
425
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
|
|
419
426
|
V.value ? (n(), v("svg", {
|
|
@@ -421,9 +428,9 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
421
428
|
ref_key: "svgRef",
|
|
422
429
|
ref: ve,
|
|
423
430
|
xmlns: r(ot),
|
|
424
|
-
class:
|
|
431
|
+
class: M({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
425
432
|
viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
|
|
426
|
-
style:
|
|
433
|
+
style: I(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
427
434
|
}, [
|
|
428
435
|
J(kt),
|
|
429
436
|
t.$slots["chart-background"] ? (n(), v("foreignObject", {
|
|
@@ -436,95 +443,95 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
436
443
|
pointerEvents: "none"
|
|
437
444
|
}
|
|
438
445
|
}, [
|
|
439
|
-
|
|
440
|
-
], 8,
|
|
441
|
-
|
|
442
|
-
(n(!0), v(K, null, Q(
|
|
446
|
+
d(t.$slots, "chart-background", {}, void 0, !0)
|
|
447
|
+
], 8, Ot)) : m("", !0),
|
|
448
|
+
T("defs", null, [
|
|
449
|
+
(n(!0), v(K, null, Q(p.value, (l, a) => (n(), v("radialGradient", {
|
|
443
450
|
cx: "50%",
|
|
444
451
|
cy: "30%",
|
|
445
452
|
r: "50%",
|
|
446
453
|
fx: "50%",
|
|
447
454
|
fy: "50%",
|
|
448
|
-
id: `gradient_${
|
|
455
|
+
id: `gradient_${$.value}_${a}`
|
|
449
456
|
}, [
|
|
450
|
-
|
|
457
|
+
T("stop", {
|
|
451
458
|
offset: "0%",
|
|
452
459
|
"stop-color": r(at)(r(st)(l.color, 0.05), 100 - e.value.style.chart.layout.rings.gradient.intensity)
|
|
453
|
-
}, null, 8,
|
|
454
|
-
|
|
460
|
+
}, null, 8, Pt),
|
|
461
|
+
T("stop", {
|
|
455
462
|
offset: "100%",
|
|
456
463
|
"stop-color": l.color
|
|
457
464
|
}, null, 8, St)
|
|
458
|
-
], 8,
|
|
465
|
+
], 8, Nt))), 256))
|
|
459
466
|
]),
|
|
460
467
|
t.$slots.pattern ? (n(), v("g", At, [
|
|
461
|
-
(n(!0), v(K, null, Q(
|
|
462
|
-
|
|
468
|
+
(n(!0), v(K, null, Q(p.value, (l) => (n(), v("defs", null, [
|
|
469
|
+
d(t.$slots, "pattern", qe({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${$.value}_${l.absoluteIndex}` }), void 0, !0)
|
|
463
470
|
]))), 256))
|
|
464
471
|
])) : m("", !0),
|
|
465
|
-
(n(!0), v(K, null, Q(
|
|
466
|
-
|
|
467
|
-
class:
|
|
472
|
+
(n(!0), v(K, null, Q(p.value, (l, a) => (n(), v("g", null, [
|
|
473
|
+
T("circle", {
|
|
474
|
+
class: M({
|
|
468
475
|
"vue-ui-rings-item": x.value && e.value.useCssAnimation,
|
|
469
476
|
"vue-rings-item-onload": !x.value && e.value.useCssAnimation,
|
|
470
|
-
"vue-ui-rings-opacity":
|
|
477
|
+
"vue-ui-rings-opacity": w.value !== null && w.value !== a
|
|
471
478
|
}),
|
|
472
|
-
style:
|
|
479
|
+
style: I(`animation-delay:${a * 100}ms`),
|
|
473
480
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
474
481
|
cx: s.value.width / 2,
|
|
475
|
-
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value *
|
|
482
|
+
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
476
483
|
r: r(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
477
484
|
fill: e.value.style.chart.layout.rings.gradient.underlayerColor
|
|
478
485
|
}, null, 14, Ft),
|
|
479
|
-
|
|
480
|
-
class:
|
|
486
|
+
T("circle", {
|
|
487
|
+
class: M({
|
|
481
488
|
"vue-ui-rings-item": x.value && e.value.useCssAnimation,
|
|
482
489
|
"vue-rings-item-onload": !x.value && e.value.useCssAnimation,
|
|
483
490
|
"vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
|
|
484
|
-
"vue-ui-rings-blur":
|
|
491
|
+
"vue-ui-rings-blur": w.value !== null && w.value !== a
|
|
485
492
|
}),
|
|
486
|
-
style:
|
|
493
|
+
style: I(`animation-delay:${a * 100}ms`),
|
|
487
494
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
488
495
|
"stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
|
|
489
496
|
cx: s.value.width / 2,
|
|
490
|
-
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value *
|
|
497
|
+
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
491
498
|
r: r(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
492
|
-
fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${
|
|
499
|
+
fill: e.value.style.chart.layout.rings.gradient.show ? `url(#gradient_${$.value}_${a})` : l.color
|
|
493
500
|
}, null, 14, Lt),
|
|
494
501
|
t.$slots.pattern ? (n(), v("circle", {
|
|
495
502
|
key: 0,
|
|
496
|
-
class:
|
|
503
|
+
class: M({
|
|
497
504
|
"vue-ui-rings-item": x.value && e.value.useCssAnimation,
|
|
498
505
|
"vue-rings-item-onload": !x.value && e.value.useCssAnimation,
|
|
499
506
|
"vue-ui-rings-shadow": e.value.style.chart.layout.rings.useShadow,
|
|
500
|
-
"vue-ui-rings-blur":
|
|
507
|
+
"vue-ui-rings-blur": w.value !== null && w.value !== a
|
|
501
508
|
}),
|
|
502
|
-
style:
|
|
509
|
+
style: I(`animation-delay:${a * 100}ms`),
|
|
503
510
|
stroke: e.value.style.chart.layout.rings.stroke,
|
|
504
511
|
"stroke-width": l.strokeWidth < 0.5 ? 0.5 : l.strokeWidth,
|
|
505
512
|
cx: s.value.width / 2,
|
|
506
|
-
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value *
|
|
513
|
+
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
507
514
|
r: r(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
508
|
-
fill: `url(#pattern_${
|
|
515
|
+
fill: `url(#pattern_${$.value}_${l.absoluteIndex})`
|
|
509
516
|
}, null, 14, Rt)) : m("", !0),
|
|
510
|
-
|
|
517
|
+
T("circle", {
|
|
511
518
|
stroke: "none",
|
|
512
519
|
cx: s.value.width / 2,
|
|
513
|
-
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value *
|
|
520
|
+
cy: a === 0 ? s.value.height / 2 : s.value.height / 2 + c.value * p.value[0].proportion / 2 - c.value * l.proportion / 2 - 2 * (a + 1),
|
|
514
521
|
r: r(G)(c.value * l.proportion / 2 * 0.9 <= 0 ? 1e-4 : c.value * l.proportion / 2 * 0.9),
|
|
515
522
|
fill: "transparent",
|
|
516
523
|
onMouseenter: (u) => Be(a, l),
|
|
517
524
|
onMouseleave: o[0] || (o[0] = (u) => {
|
|
518
|
-
|
|
525
|
+
w.value = null, z.value = !1;
|
|
519
526
|
})
|
|
520
527
|
}, null, 40, Mt)
|
|
521
528
|
]))), 256)),
|
|
522
|
-
|
|
523
|
-
], 14,
|
|
529
|
+
d(t.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
530
|
+
], 14, It)) : m("", !0),
|
|
524
531
|
t.$slots.watermark ? (n(), v("div", Vt, [
|
|
525
|
-
|
|
532
|
+
d(t.$slots, "watermark", A(F({ isPrinting: r(pe) || r(he) })), void 0, !0)
|
|
526
533
|
])) : m("", !0),
|
|
527
|
-
V.value ? m("", !0) : (n(),
|
|
534
|
+
V.value ? m("", !0) : (n(), O(mt, {
|
|
528
535
|
key: 6,
|
|
529
536
|
config: {
|
|
530
537
|
type: "rings",
|
|
@@ -536,25 +543,25 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
536
543
|
}
|
|
537
544
|
}
|
|
538
545
|
}, null, 8, ["config"])),
|
|
539
|
-
|
|
546
|
+
T("div", {
|
|
540
547
|
ref_key: "chartLegend",
|
|
541
548
|
ref: le
|
|
542
549
|
}, [
|
|
543
|
-
e.value.style.chart.legend.show ? (n(),
|
|
550
|
+
e.value.style.chart.legend.show ? (n(), O(yt, {
|
|
544
551
|
key: `legend_${ue.value}`,
|
|
545
552
|
legendSet: be.value,
|
|
546
553
|
config: Ue.value,
|
|
547
554
|
onClickMarker: o[1] || (o[1] = ({ legend: l }) => X(l.uid))
|
|
548
|
-
},
|
|
549
|
-
item:
|
|
550
|
-
|
|
555
|
+
}, we({
|
|
556
|
+
item: h(({ legend: l, index: a }) => [
|
|
557
|
+
T("div", {
|
|
551
558
|
onClick: (u) => X(l.uid),
|
|
552
|
-
style:
|
|
559
|
+
style: I(`opacity:${f.value.includes(l.uid) ? 0.5 : 1}`)
|
|
553
560
|
}, [
|
|
554
|
-
|
|
561
|
+
Te(E(l.name) + ": " + E(r(Ie)(
|
|
555
562
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
556
563
|
l.value,
|
|
557
|
-
r(
|
|
564
|
+
r(P)({
|
|
558
565
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
559
566
|
v: l.value,
|
|
560
567
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
@@ -562,7 +569,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
562
569
|
}),
|
|
563
570
|
{ datapoint: l, seriesIndex: a }
|
|
564
571
|
)) + " ", 1),
|
|
565
|
-
f.value.includes(l.uid) ? (n(), v("span", Wt, " ( - % ) ")) : (n(), v("span", Ut, " (" + E(isNaN(l.value / C.value) ? "-" : r(
|
|
572
|
+
f.value.includes(l.uid) ? (n(), v("span", Wt, " ( - % ) ")) : (n(), v("span", Ut, " (" + E(isNaN(l.value / C.value) ? "-" : r(P)({
|
|
566
573
|
v: l.value / C.value * 100,
|
|
567
574
|
s: "%",
|
|
568
575
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -573,18 +580,18 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
573
580
|
}, [
|
|
574
581
|
t.$slots.pattern ? {
|
|
575
582
|
name: "legend-pattern",
|
|
576
|
-
fn:
|
|
577
|
-
J(
|
|
583
|
+
fn: h(({ legend: l, index: a }) => [
|
|
584
|
+
J(wt, {
|
|
578
585
|
shape: l.shape,
|
|
579
586
|
radius: 30,
|
|
580
587
|
stroke: "none",
|
|
581
588
|
plot: { x: 30, y: 30 },
|
|
582
|
-
fill: `url(#pattern_${
|
|
589
|
+
fill: `url(#pattern_${$.value}_${a})`
|
|
583
590
|
}, null, 8, ["shape", "fill"])
|
|
584
591
|
]),
|
|
585
592
|
key: "0"
|
|
586
593
|
} : void 0
|
|
587
|
-
]), 1032, ["legendSet", "config"])) :
|
|
594
|
+
]), 1032, ["legendSet", "config"])) : d(t.$slots, "legend", {
|
|
588
595
|
key: 1,
|
|
589
596
|
legend: be.value
|
|
590
597
|
}, void 0, !0)
|
|
@@ -595,7 +602,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
595
602
|
ref: oe,
|
|
596
603
|
dir: "auto"
|
|
597
604
|
}, [
|
|
598
|
-
|
|
605
|
+
d(t.$slots, "source", {}, void 0, !0)
|
|
599
606
|
], 512)) : m("", !0),
|
|
600
607
|
J(gt, {
|
|
601
608
|
show: k.value.showTooltip && z.value && f.value.length < b.dataset.length,
|
|
@@ -608,20 +615,20 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
608
615
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
609
616
|
position: e.value.style.chart.tooltip.position,
|
|
610
617
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
611
|
-
parent:
|
|
618
|
+
parent: L.value,
|
|
612
619
|
content: H.value,
|
|
613
620
|
isFullscreen: S.value,
|
|
614
621
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
615
622
|
}, {
|
|
616
|
-
"tooltip-before":
|
|
617
|
-
|
|
623
|
+
"tooltip-before": h(() => [
|
|
624
|
+
d(t.$slots, "tooltip-before", A(F({ ...q.value })), void 0, !0)
|
|
618
625
|
]),
|
|
619
|
-
"tooltip-after":
|
|
620
|
-
|
|
626
|
+
"tooltip-after": h(() => [
|
|
627
|
+
d(t.$slots, "tooltip-after", A(F({ ...q.value })), void 0, !0)
|
|
621
628
|
]),
|
|
622
629
|
_: 3
|
|
623
630
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
624
|
-
V.value ? (n(),
|
|
631
|
+
V.value ? (n(), O(bt, {
|
|
625
632
|
key: 8,
|
|
626
633
|
hideDetails: "",
|
|
627
634
|
config: {
|
|
@@ -637,8 +644,8 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
637
644
|
}
|
|
638
645
|
}
|
|
639
646
|
}, {
|
|
640
|
-
content:
|
|
641
|
-
(n(),
|
|
647
|
+
content: h(() => [
|
|
648
|
+
(n(), O(ft, {
|
|
642
649
|
key: `table_${ne.value}`,
|
|
643
650
|
colNames: B.value.colNames,
|
|
644
651
|
head: B.value.head,
|
|
@@ -647,14 +654,14 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
647
654
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
648
655
|
onClose: o[2] || (o[2] = (l) => k.value.showTable = !1)
|
|
649
656
|
}, {
|
|
650
|
-
th:
|
|
651
|
-
|
|
657
|
+
th: h(({ th: l }) => [
|
|
658
|
+
T("div", {
|
|
652
659
|
innerHTML: l,
|
|
653
660
|
style: { display: "flex", "align-items": "center" }
|
|
654
661
|
}, null, 8, Bt)
|
|
655
662
|
]),
|
|
656
|
-
td:
|
|
657
|
-
|
|
663
|
+
td: h(({ td: l }) => [
|
|
664
|
+
Te(E(l.name || l), 1)
|
|
658
665
|
]),
|
|
659
666
|
_: 1
|
|
660
667
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -663,7 +670,7 @@ const xt = ["id"], Ot = ["xmlns", "viewBox"], Nt = ["width", "height"], Pt = ["i
|
|
|
663
670
|
}, 8, ["config"])) : m("", !0)
|
|
664
671
|
], 46, xt));
|
|
665
672
|
}
|
|
666
|
-
}, nl = /* @__PURE__ */
|
|
673
|
+
}, nl = /* @__PURE__ */ _t(Dt, [["__scopeId", "data-v-380bda50"]]);
|
|
667
674
|
export {
|
|
668
675
|
nl as default
|
|
669
676
|
};
|