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,20 +1,20 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as je, c as qe, t as Je, p as Ce, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as xe, q as at, r as lt, y as ot } from "./index-
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as ut, U as it } from "./usePrinter-
|
|
6
|
-
import { L as ct } from "./Legend-
|
|
7
|
-
import { D as dt } from "./DataTable-
|
|
8
|
-
import { _ as vt } from "./Tooltip-
|
|
9
|
-
import ht from "./vue-ui-skeleton-
|
|
10
|
-
import ft from "./vue-ui-accordion-
|
|
11
|
-
import { u as Te } from "./useNestedProp-
|
|
12
|
-
import { _ as gt } from "./PackageVersion-
|
|
13
|
-
import { P as pt } from "./PenAndPaper-
|
|
1
|
+
import { computed as h, ref as r, watch as we, onMounted as Xe, onBeforeUnmount as Ge, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as B, normalizeClass as U, createBlock as C, createCommentVNode as g, createElementVNode as O, createVNode as $e, createSlots as Ee, withCtx as f, renderSlot as d, normalizeProps as _, guardReactiveProps as P, Fragment as M, renderList as N, toDisplayString as I, createTextVNode as He, nextTick as We } from "vue";
|
|
2
|
+
import { u as je, c as qe, t as Je, p as Ce, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as xe, q as at, r as lt, y as ot } from "./index-DUnEDLbc.js";
|
|
3
|
+
import { t as nt, u as st } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
+
import { _ as rt } from "./Title-1PWD04Gh.js";
|
|
5
|
+
import { u as ut, U as it } from "./usePrinter-Undaynpo.js";
|
|
6
|
+
import { L as ct } from "./Legend-PL8rU0J1.js";
|
|
7
|
+
import { D as dt } from "./DataTable-DfMqgTjL.js";
|
|
8
|
+
import { _ as vt } from "./Tooltip-BTO5NGkn.js";
|
|
9
|
+
import ht from "./vue-ui-skeleton-DieABKlo.js";
|
|
10
|
+
import ft from "./vue-ui-accordion-C8Couc_G.js";
|
|
11
|
+
import { u as Te } from "./useNestedProp-CEMeoM-f.js";
|
|
12
|
+
import { _ as gt } from "./PackageVersion-1Y7SXTrk.js";
|
|
13
|
+
import { P as pt } from "./PenAndPaper-BYhUvcy4.js";
|
|
14
14
|
import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as mt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
16
|
import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], xt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = ["id"],
|
|
17
|
+
const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], xt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = ["id"], Ot = ["stdDeviation"], _t = ["filter"], Pt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], It = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], At = { key: 2 }, St = ["onMouseenter"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, Nt = ["onClick"], Rt = ["innerHTML"], Dt = {
|
|
@@ -34,15 +34,15 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend"],
|
|
37
|
-
setup(
|
|
38
|
-
const { vue_ui_onion:
|
|
37
|
+
setup(Oe, { expose: _e, emit: Pe }) {
|
|
38
|
+
const { vue_ui_onion: Ie } = je(), w = Oe, D = h(() => !!w.dataset && w.dataset.length), x = r(qe()), Ae = r(null), Z = r(0), L = r(!1), X = r(""), y = r([]), A = r(null), ee = r(null), te = r(null), ae = r(null), le = r(null), oe = r(0), ne = r(0), se = r(0), e = h({
|
|
39
39
|
get: () => ce(),
|
|
40
40
|
set: (t) => t
|
|
41
|
-
}), { userOptionsVisible: G, setUserOptionsVisibility:
|
|
41
|
+
}), { userOptionsVisible: G, setUserOptionsVisibility: re, keepUserOptionState: ue } = yt({ config: e.value }), { svgRef: ie } = mt({ config: e.value.style.chart.title });
|
|
42
42
|
function ce() {
|
|
43
43
|
const t = Te({
|
|
44
44
|
userConfig: w.config,
|
|
45
|
-
defaultConfig:
|
|
45
|
+
defaultConfig: Ie
|
|
46
46
|
});
|
|
47
47
|
return t.theme ? {
|
|
48
48
|
...Te({
|
|
@@ -53,15 +53,15 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
53
53
|
} : t;
|
|
54
54
|
}
|
|
55
55
|
we(() => w.config, (t) => {
|
|
56
|
-
e.value = ce(), G.value = !e.value.userOptions.showOnChartHover, ge(), oe.value += 1,
|
|
56
|
+
e.value = ce(), G.value = !e.value.userOptions.showOnChartHover, ge(), oe.value += 1, ne.value += 1, se.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
57
57
|
}, { deep: !0 });
|
|
58
58
|
const { isPrinting: de, isImaging: ve, generatePdf: he, generateImage: fe } = ut({
|
|
59
59
|
elementId: `vue-ui-onion_${x.value}`,
|
|
60
60
|
fileName: e.value.style.chart.title.text || "vue-ui-onion"
|
|
61
|
-
}), Se =
|
|
61
|
+
}), Se = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = h(() => Qe(e.value.customPalette)), m = r({
|
|
62
62
|
showTable: e.value.table.show,
|
|
63
63
|
showTooltip: e.value.style.chart.tooltip.show
|
|
64
|
-
}),
|
|
64
|
+
}), n = r({
|
|
65
65
|
height: 512,
|
|
66
66
|
width: 512,
|
|
67
67
|
padding: {
|
|
@@ -71,7 +71,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
71
71
|
bottom: 64
|
|
72
72
|
},
|
|
73
73
|
minRadius: 64
|
|
74
|
-
}), V =
|
|
74
|
+
}), V = r(null);
|
|
75
75
|
Xe(() => {
|
|
76
76
|
ge();
|
|
77
77
|
});
|
|
@@ -80,36 +80,36 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
80
80
|
componentName: "VueUiOnion",
|
|
81
81
|
type: "dataset"
|
|
82
82
|
}), e.value.responsive) {
|
|
83
|
-
const o =
|
|
83
|
+
const o = nt(() => {
|
|
84
84
|
const { width: a, height: l } = st({
|
|
85
|
-
chart:
|
|
85
|
+
chart: A.value,
|
|
86
86
|
title: e.value.style.chart.title.text ? ee.value : null,
|
|
87
87
|
legend: e.value.style.chart.legend.show ? te.value : null,
|
|
88
88
|
source: ae.value,
|
|
89
89
|
noTitle: le.value
|
|
90
90
|
});
|
|
91
91
|
requestAnimationFrame(() => {
|
|
92
|
-
|
|
92
|
+
n.value.width = a, n.value.height = l, n.value.padding.top = Math.max(a, l) * 0.125, n.value.padding.right = Math.max(a, l) * 0.125, n.value.padding.bottom = Math.max(a, l) * 0.125, n.value.padding.left = Math.max(a, l) * 0.125, n.value.minRadius = Math.min(a, l) * 0.125;
|
|
93
93
|
});
|
|
94
94
|
});
|
|
95
|
-
V.value = new ResizeObserver(o), V.value.observe(
|
|
95
|
+
V.value = new ResizeObserver(o), V.value.observe(A.value.parentNode);
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
Ge(() => {
|
|
99
99
|
V.value && V.value.disconnect();
|
|
100
100
|
});
|
|
101
|
-
const c =
|
|
102
|
-
top:
|
|
103
|
-
left:
|
|
104
|
-
right:
|
|
105
|
-
bottom:
|
|
106
|
-
centerX:
|
|
107
|
-
centerY:
|
|
108
|
-
width:
|
|
109
|
-
height:
|
|
110
|
-
minRadius:
|
|
111
|
-
maxRadius: Math.min(
|
|
112
|
-
})),
|
|
101
|
+
const c = h(() => ({
|
|
102
|
+
top: n.value.padding.top,
|
|
103
|
+
left: n.value.padding.left,
|
|
104
|
+
right: n.value.width - n.value.padding.right,
|
|
105
|
+
bottom: n.value.height - n.value.padding.bottom,
|
|
106
|
+
centerX: n.value.width / 2,
|
|
107
|
+
centerY: n.value.height / 2,
|
|
108
|
+
width: n.value.width - n.value.padding.right - n.value.padding.left,
|
|
109
|
+
height: n.value.height - n.value.padding.bottom - n.value.padding.top,
|
|
110
|
+
minRadius: n.value.minRadius,
|
|
111
|
+
maxRadius: Math.min(n.value.width, n.value.height) - n.value.padding.top * 2
|
|
112
|
+
})), v = h(() => (w.dataset.forEach((t, o) => {
|
|
113
113
|
[null, void 0].includes(t.name) && K({
|
|
114
114
|
componentName: "VueUiOnion",
|
|
115
115
|
type: "datasetSerieAttribute",
|
|
@@ -135,39 +135,39 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
135
135
|
segregate: () => pe(a),
|
|
136
136
|
isSegregated: y.value.includes(a)
|
|
137
137
|
};
|
|
138
|
-
}))),
|
|
139
|
-
we(() =>
|
|
138
|
+
}))), S = r(v.value), Me = h(() => e.value.useStartAnimation), Ne = r(null), Re = h(() => Math.max(...v.value.map((t) => t.percentage))), E = r(!1);
|
|
139
|
+
we(() => v.value, De, { immediate: !0 });
|
|
140
140
|
function De() {
|
|
141
141
|
if (Me.value && !E.value) {
|
|
142
142
|
let o = function() {
|
|
143
|
-
t >= Re.value ? (cancelAnimationFrame(Ne.value),
|
|
143
|
+
t >= Re.value ? (cancelAnimationFrame(Ne.value), S.value = v.value, E.value = !0) : (S.value = v.value.map((a) => ({
|
|
144
144
|
...a,
|
|
145
145
|
percentage: t < a.targetPercentage ? t : a.targetPercentage
|
|
146
146
|
})), t += 1, requestAnimationFrame(o), E.value = !0);
|
|
147
147
|
};
|
|
148
|
-
|
|
148
|
+
S.value = v.value.map((a) => ({
|
|
149
149
|
...a,
|
|
150
150
|
percentage: 0
|
|
151
151
|
}));
|
|
152
152
|
let t = 0;
|
|
153
153
|
o();
|
|
154
154
|
} else
|
|
155
|
-
|
|
155
|
+
S.value = v.value;
|
|
156
156
|
}
|
|
157
|
-
const Le =
|
|
157
|
+
const Le = h(() => ({
|
|
158
158
|
cy: "onion-div-legend",
|
|
159
159
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
160
160
|
color: e.value.style.chart.legend.color,
|
|
161
161
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
162
162
|
paddingBottom: 12,
|
|
163
163
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
164
|
-
})), Ve =
|
|
165
|
-
const t = Math.min(c.value.width, c.value.height) / 2 /
|
|
164
|
+
})), Ve = h(() => v.value.filter((t) => !y.value.includes(t.id)).length), $ = h(() => {
|
|
165
|
+
const t = Math.min(c.value.width, c.value.height) / 2 / v.value.length;
|
|
166
166
|
return {
|
|
167
167
|
gutter: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.gutter.width,
|
|
168
168
|
track: (t > e.value.style.chart.layout.maxThickness ? e.value.style.chart.layout.maxThickness : t) * e.value.style.chart.layout.track.width
|
|
169
169
|
};
|
|
170
|
-
}), b =
|
|
170
|
+
}), b = h(() => S.value.filter((t) => !y.value.includes(t.id)).map((t, o) => {
|
|
171
171
|
const a = (c.value.maxRadius - $.value.track) / Ve.value / 2 * (1 + o), l = c.value.centerY - a;
|
|
172
172
|
return {
|
|
173
173
|
percentage: t.percentage || 0,
|
|
@@ -178,12 +178,12 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
178
178
|
};
|
|
179
179
|
}));
|
|
180
180
|
function ze(t, o) {
|
|
181
|
-
const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`,
|
|
181
|
+
const a = 2 * Math.PI * t, l = a * 0.75, p = `${l} ${a}`, F = l * (1 - o / 100);
|
|
182
182
|
return {
|
|
183
183
|
bgDashArray: `${l} ${a}`,
|
|
184
184
|
bgDashOffset: 0,
|
|
185
185
|
dashArray: p,
|
|
186
|
-
dashOffset:
|
|
186
|
+
dashOffset: F,
|
|
187
187
|
fullOffset: 0,
|
|
188
188
|
active: `
|
|
189
189
|
M ${c.value.centerX},${c.value.centerY - t}
|
|
@@ -199,14 +199,14 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
199
199
|
function Be() {
|
|
200
200
|
return b.value;
|
|
201
201
|
}
|
|
202
|
-
const H =
|
|
202
|
+
const H = h(() => {
|
|
203
203
|
const t = [e.value.table.translations.serie, e.value.table.translations.percentage, e.value.table.translations.value], o = b.value.map((a) => [
|
|
204
204
|
a.name,
|
|
205
205
|
a.percentage,
|
|
206
206
|
a.value
|
|
207
207
|
]);
|
|
208
208
|
return { head: t, body: o };
|
|
209
|
-
}), z =
|
|
209
|
+
}), z = h(() => {
|
|
210
210
|
const t = H.value.head, o = b.value.map((l) => [
|
|
211
211
|
`<span style="color:${l.color}">⬤</span> ${l.name}`,
|
|
212
212
|
`${Number(l.percentage ?? 0).toFixed(e.value.table.td.roundingPercentage).toLocaleString()}%`,
|
|
@@ -232,31 +232,31 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
232
232
|
lt({ csvContent: p, title: e.value.style.chart.title.text || "vue-ui-onion" });
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
const k =
|
|
235
|
+
const k = r(void 0), T = r(!1);
|
|
236
236
|
function Ue(t) {
|
|
237
237
|
T.value = t, Z.value += 1;
|
|
238
238
|
}
|
|
239
|
-
const W =
|
|
239
|
+
const W = r(null);
|
|
240
240
|
function me({ datapoint: t, seriesIndex: o, show: a = !0 }) {
|
|
241
241
|
const l = t.absoluteIndex;
|
|
242
242
|
k.value = o, W.value = {
|
|
243
243
|
datapoint: t,
|
|
244
244
|
seriesIndex: l,
|
|
245
|
-
series:
|
|
245
|
+
series: v.value,
|
|
246
246
|
config: e.value
|
|
247
247
|
}, L.value = a;
|
|
248
248
|
let p = "";
|
|
249
|
-
const
|
|
250
|
-
if (xe(
|
|
249
|
+
const F = e.value.style.chart.tooltip.customFormat;
|
|
250
|
+
if (xe(F) && ot(() => F({
|
|
251
251
|
seriesIndex: l,
|
|
252
252
|
datapoint: t,
|
|
253
|
-
series:
|
|
253
|
+
series: v.value,
|
|
254
254
|
config: e.value
|
|
255
255
|
})))
|
|
256
|
-
X.value =
|
|
256
|
+
X.value = F({
|
|
257
257
|
seriesIndex: l,
|
|
258
258
|
datapoint: t,
|
|
259
|
-
series:
|
|
259
|
+
series: v.value,
|
|
260
260
|
config: e.value
|
|
261
261
|
});
|
|
262
262
|
else {
|
|
@@ -280,11 +280,11 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
280
280
|
function ke() {
|
|
281
281
|
m.value.showTooltip = !m.value.showTooltip;
|
|
282
282
|
}
|
|
283
|
-
const Y =
|
|
283
|
+
const Y = r(!1);
|
|
284
284
|
function j() {
|
|
285
285
|
Y.value = !Y.value;
|
|
286
286
|
}
|
|
287
|
-
return
|
|
287
|
+
return _e({
|
|
288
288
|
getData: Be,
|
|
289
289
|
generatePdf: he,
|
|
290
290
|
generateCsv: ye,
|
|
@@ -295,11 +295,11 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
295
295
|
}), (t, o) => (s(), u("div", {
|
|
296
296
|
class: U(`vue-ui-onion ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
297
297
|
ref_key: "onionChart",
|
|
298
|
-
ref:
|
|
298
|
+
ref: A,
|
|
299
299
|
id: `vue-ui-onion_${x.value}`,
|
|
300
300
|
style: B(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
301
|
-
onMouseenter: o[4] || (o[4] = () => i(
|
|
302
|
-
onMouseleave: o[5] || (o[5] = () => i(
|
|
301
|
+
onMouseenter: o[4] || (o[4] = () => i(re)(!0)),
|
|
302
|
+
onMouseleave: o[5] || (o[5] = () => i(re)(!1))
|
|
303
303
|
}, [
|
|
304
304
|
e.value.userOptions.buttons.annotator ? (s(), C(pt, {
|
|
305
305
|
key: 0,
|
|
@@ -308,21 +308,21 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
308
308
|
color: e.value.style.chart.color,
|
|
309
309
|
active: Y.value,
|
|
310
310
|
onClose: j
|
|
311
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
311
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
312
312
|
Se.value ? (s(), u("div", {
|
|
313
313
|
key: 1,
|
|
314
314
|
ref_key: "noTitle",
|
|
315
315
|
ref: le,
|
|
316
316
|
class: "vue-data-ui-no-title-space",
|
|
317
317
|
style: "height:36px; width: 100%;background:transparent"
|
|
318
|
-
}, null, 512)) :
|
|
318
|
+
}, null, 512)) : g("", !0),
|
|
319
319
|
e.value.style.chart.title.text ? (s(), u("div", {
|
|
320
320
|
key: 2,
|
|
321
321
|
ref_key: "chartTitle",
|
|
322
322
|
ref: ee,
|
|
323
323
|
style: "width:100%;background:transparent"
|
|
324
324
|
}, [
|
|
325
|
-
(s(), C(
|
|
325
|
+
(s(), C(rt, {
|
|
326
326
|
key: `title_${oe.value}`,
|
|
327
327
|
config: {
|
|
328
328
|
title: {
|
|
@@ -335,10 +335,10 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
337
|
}, null, 8, ["config"]))
|
|
338
|
-
], 512)) :
|
|
338
|
+
], 512)) : g("", !0),
|
|
339
339
|
e.value.userOptions.show && D.value && (i(ue) || i(G)) ? (s(), C(it, {
|
|
340
340
|
ref_key: "details",
|
|
341
|
-
ref:
|
|
341
|
+
ref: Ae,
|
|
342
342
|
key: `user_options${Z.value}`,
|
|
343
343
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
344
344
|
color: e.value.style.chart.color,
|
|
@@ -354,7 +354,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
354
354
|
isFullscreen: T.value,
|
|
355
355
|
isTooltip: m.value.showTooltip,
|
|
356
356
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
357
|
-
chartElement:
|
|
357
|
+
chartElement: A.value,
|
|
358
358
|
position: e.value.userOptions.position,
|
|
359
359
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
360
360
|
isAnnotation: Y.value,
|
|
@@ -369,63 +369,70 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
369
369
|
visibility: i(ue) ? i(G) ? "visible" : "hidden" : "visible"
|
|
370
370
|
})
|
|
371
371
|
}, Ee({ _: 2 }, [
|
|
372
|
+
t.$slots.menuIcon ? {
|
|
373
|
+
name: "menuIcon",
|
|
374
|
+
fn: f(({ isOpen: a, color: l }) => [
|
|
375
|
+
d(t.$slots, "menuIcon", _(P({ isOpen: a, color: l })), void 0, !0)
|
|
376
|
+
]),
|
|
377
|
+
key: "0"
|
|
378
|
+
} : void 0,
|
|
372
379
|
t.$slots.optionTooltip ? {
|
|
373
380
|
name: "optionTooltip",
|
|
374
|
-
fn:
|
|
375
|
-
|
|
381
|
+
fn: f(() => [
|
|
382
|
+
d(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
376
383
|
]),
|
|
377
|
-
key: "
|
|
384
|
+
key: "1"
|
|
378
385
|
} : void 0,
|
|
379
386
|
t.$slots.optionPdf ? {
|
|
380
387
|
name: "optionPdf",
|
|
381
|
-
fn:
|
|
382
|
-
|
|
388
|
+
fn: f(() => [
|
|
389
|
+
d(t.$slots, "optionPdf", {}, void 0, !0)
|
|
383
390
|
]),
|
|
384
|
-
key: "
|
|
391
|
+
key: "2"
|
|
385
392
|
} : void 0,
|
|
386
393
|
t.$slots.optionCsv ? {
|
|
387
394
|
name: "optionCsv",
|
|
388
|
-
fn:
|
|
389
|
-
|
|
395
|
+
fn: f(() => [
|
|
396
|
+
d(t.$slots, "optionCsv", {}, void 0, !0)
|
|
390
397
|
]),
|
|
391
|
-
key: "
|
|
398
|
+
key: "3"
|
|
392
399
|
} : void 0,
|
|
393
400
|
t.$slots.optionImg ? {
|
|
394
401
|
name: "optionImg",
|
|
395
|
-
fn:
|
|
396
|
-
|
|
402
|
+
fn: f(() => [
|
|
403
|
+
d(t.$slots, "optionImg", {}, void 0, !0)
|
|
397
404
|
]),
|
|
398
|
-
key: "
|
|
405
|
+
key: "4"
|
|
399
406
|
} : void 0,
|
|
400
407
|
t.$slots.optionTable ? {
|
|
401
408
|
name: "optionTable",
|
|
402
|
-
fn:
|
|
403
|
-
|
|
409
|
+
fn: f(() => [
|
|
410
|
+
d(t.$slots, "optionTable", {}, void 0, !0)
|
|
404
411
|
]),
|
|
405
|
-
key: "
|
|
412
|
+
key: "5"
|
|
406
413
|
} : void 0,
|
|
407
414
|
t.$slots.optionFullscreen ? {
|
|
408
415
|
name: "optionFullscreen",
|
|
409
|
-
fn:
|
|
410
|
-
|
|
416
|
+
fn: f(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
417
|
+
d(t.$slots, "optionFullscreen", _(P({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
411
418
|
]),
|
|
412
|
-
key: "
|
|
419
|
+
key: "6"
|
|
413
420
|
} : void 0,
|
|
414
421
|
t.$slots.optionAnnotator ? {
|
|
415
422
|
name: "optionAnnotator",
|
|
416
|
-
fn:
|
|
417
|
-
|
|
423
|
+
fn: f(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
424
|
+
d(t.$slots, "optionAnnotator", _(P({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
418
425
|
]),
|
|
419
|
-
key: "
|
|
426
|
+
key: "7"
|
|
420
427
|
} : void 0
|
|
421
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
428
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
422
429
|
D.value ? (s(), u("svg", {
|
|
423
430
|
key: 4,
|
|
424
431
|
ref_key: "svgRef",
|
|
425
432
|
ref: ie,
|
|
426
433
|
xmlns: i(tt),
|
|
427
434
|
class: U({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
|
|
428
|
-
viewBox: `0 0 ${
|
|
435
|
+
viewBox: `0 0 ${n.value.width <= 0 ? 10 : n.value.width} ${n.value.height <= 0 ? 10 : n.value.height}`,
|
|
429
436
|
style: B(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
430
437
|
}, [
|
|
431
438
|
$e(gt),
|
|
@@ -433,14 +440,14 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
433
440
|
key: 0,
|
|
434
441
|
x: 0,
|
|
435
442
|
y: 0,
|
|
436
|
-
width:
|
|
437
|
-
height:
|
|
443
|
+
width: n.value.width <= 0 ? 10 : n.value.width,
|
|
444
|
+
height: n.value.height <= 0 ? 10 : n.value.height,
|
|
438
445
|
style: {
|
|
439
446
|
pointerEvents: "none"
|
|
440
447
|
}
|
|
441
448
|
}, [
|
|
442
|
-
|
|
443
|
-
], 8, $t)) :
|
|
449
|
+
d(t.$slots, "chart-background", {}, void 0, !0)
|
|
450
|
+
], 8, $t)) : g("", !0),
|
|
444
451
|
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("circle", {
|
|
445
452
|
cx: c.value.centerX,
|
|
446
453
|
cy: c.value.centerY,
|
|
@@ -467,18 +474,18 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
467
474
|
"stroke-linecap": "round",
|
|
468
475
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
469
476
|
}, null, 10, xt))), 256)),
|
|
470
|
-
|
|
471
|
-
|
|
477
|
+
O("defs", null, [
|
|
478
|
+
O("filter", {
|
|
472
479
|
id: `blur_${x.value}`,
|
|
473
480
|
x: "-50%",
|
|
474
481
|
y: "-50%",
|
|
475
482
|
width: "200%",
|
|
476
483
|
height: "200%"
|
|
477
484
|
}, [
|
|
478
|
-
|
|
485
|
+
O("feGaussianBlur", {
|
|
479
486
|
in: "SourceGraphic",
|
|
480
487
|
stdDeviation: 100 / e.value.style.chart.gradientIntensity
|
|
481
|
-
}, null, 8,
|
|
488
|
+
}, null, 8, Ot)
|
|
482
489
|
], 8, Tt)
|
|
483
490
|
]),
|
|
484
491
|
e.value.style.chart.useGradient ? (s(), u("g", {
|
|
@@ -497,7 +504,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
497
504
|
"stroke-dashoffset": a.path.dashOffset,
|
|
498
505
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
499
506
|
}, null, 8, Pt))), 256))
|
|
500
|
-
], 8,
|
|
507
|
+
], 8, _t)) : g("", !0),
|
|
501
508
|
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("circle", {
|
|
502
509
|
cx: c.value.centerX,
|
|
503
510
|
cy: c.value.centerY,
|
|
@@ -518,8 +525,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
518
525
|
onMouseleave: o[0] || (o[0] = (p) => {
|
|
519
526
|
k.value = void 0, L.value = !1;
|
|
520
527
|
})
|
|
521
|
-
}, null, 40,
|
|
522
|
-
e.value.style.chart.layout.labels.show ? (s(), u("g",
|
|
528
|
+
}, null, 40, It))), 256)),
|
|
529
|
+
e.value.style.chart.layout.labels.show ? (s(), u("g", At, [
|
|
523
530
|
(s(!0), u(M, null, N(b.value, (a, l) => (s(), u("g", {
|
|
524
531
|
onMouseenter: (p) => me({
|
|
525
532
|
datapoint: a,
|
|
@@ -530,19 +537,19 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
530
537
|
k.value = void 0, L.value = !1;
|
|
531
538
|
})
|
|
532
539
|
}, [
|
|
533
|
-
y.value.includes(a.id) ?
|
|
540
|
+
y.value.includes(a.id) ? g("", !0) : (s(), u("text", {
|
|
534
541
|
key: 0,
|
|
535
|
-
x:
|
|
542
|
+
x: n.value.width / 2 - $.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
|
|
536
543
|
y: a.labelY + e.value.style.chart.layout.labels.offsetY,
|
|
537
544
|
"text-anchor": "end",
|
|
538
545
|
"font-size": e.value.style.chart.layout.labels.fontSize,
|
|
539
546
|
fill: e.value.useBlurOnHover && ![null, void 0].includes(k.value) && k.value === l ? a.color : e.value.style.chart.layout.labels.color,
|
|
540
547
|
"font-weight": e.value.style.chart.layout.labels.bold ? "bold" : "normal"
|
|
541
|
-
},
|
|
548
|
+
}, I(a.name ? a.name + ": " : "") + " " + I(e.value.style.chart.layout.labels.percentage.show ? i(R)({
|
|
542
549
|
v: a.percentage,
|
|
543
550
|
s: "%",
|
|
544
551
|
r: e.value.style.chart.layout.labels.roundingPercentage
|
|
545
|
-
}) : "") + " " +
|
|
552
|
+
}) : "") + " " + I(!e.value.style.chart.layout.labels.percentage.show && e.value.style.chart.layout.labels.value.show ? `: ${i(Q)(
|
|
546
553
|
e.value.style.chart.layout.labels.value.formatter,
|
|
547
554
|
a.value,
|
|
548
555
|
i(R)({
|
|
@@ -564,13 +571,13 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
564
571
|
{ datapoint: a, seriesIndex: l }
|
|
565
572
|
)})` : ""}`), 9, Ft))
|
|
566
573
|
], 40, St))), 256))
|
|
567
|
-
])) :
|
|
568
|
-
|
|
569
|
-
], 14, wt)) :
|
|
574
|
+
])) : g("", !0),
|
|
575
|
+
d(t.$slots, "svg", { svg: n.value }, void 0, !0)
|
|
576
|
+
], 14, wt)) : g("", !0),
|
|
570
577
|
t.$slots.watermark ? (s(), u("div", Mt, [
|
|
571
|
-
|
|
572
|
-
])) :
|
|
573
|
-
D.value ?
|
|
578
|
+
d(t.$slots, "watermark", _(P({ isPrinting: i(de) || i(ve) })), void 0, !0)
|
|
579
|
+
])) : g("", !0),
|
|
580
|
+
D.value ? g("", !0) : (s(), C(ht, {
|
|
574
581
|
key: 6,
|
|
575
582
|
config: {
|
|
576
583
|
type: "onion",
|
|
@@ -582,27 +589,27 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
582
589
|
}
|
|
583
590
|
}
|
|
584
591
|
}, null, 8, ["config"])),
|
|
585
|
-
|
|
592
|
+
O("div", {
|
|
586
593
|
ref_key: "chartLegend",
|
|
587
594
|
ref: te
|
|
588
595
|
}, [
|
|
589
596
|
e.value.style.chart.legend.show ? (s(), C(ct, {
|
|
590
597
|
key: `legend_${se.value}`,
|
|
591
|
-
legendSet:
|
|
598
|
+
legendSet: v.value,
|
|
592
599
|
config: Le.value,
|
|
593
600
|
onClickMarker: o[2] || (o[2] = ({ legend: a }) => pe(a.id))
|
|
594
601
|
}, {
|
|
595
|
-
item:
|
|
596
|
-
|
|
602
|
+
item: f(({ legend: a }) => [
|
|
603
|
+
O("div", {
|
|
597
604
|
"data-cy-legend-item": "",
|
|
598
605
|
onClick: (l) => a.segregate(),
|
|
599
606
|
style: B(`opacity:${y.value.includes(a.id) ? 0.5 : 1}`)
|
|
600
|
-
},
|
|
607
|
+
}, I(a.name ? a.name + ": " : "") + " " + I((a.percentage || 0).toFixed(e.value.style.chart.legend.roundingPercentage)) + "% ", 13, Nt)
|
|
601
608
|
]),
|
|
602
609
|
_: 1
|
|
603
|
-
}, 8, ["legendSet", "config"])) :
|
|
610
|
+
}, 8, ["legendSet", "config"])) : d(t.$slots, "legend", {
|
|
604
611
|
key: 1,
|
|
605
|
-
legend:
|
|
612
|
+
legend: v.value
|
|
606
613
|
}, void 0, !0)
|
|
607
614
|
], 512),
|
|
608
615
|
t.$slots.source ? (s(), u("div", {
|
|
@@ -611,8 +618,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
611
618
|
ref: ae,
|
|
612
619
|
dir: "auto"
|
|
613
620
|
}, [
|
|
614
|
-
|
|
615
|
-
], 512)) :
|
|
621
|
+
d(t.$slots, "source", {}, void 0, !0)
|
|
622
|
+
], 512)) : g("", !0),
|
|
616
623
|
$e(vt, {
|
|
617
624
|
show: m.value.showTooltip && L.value,
|
|
618
625
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
@@ -624,16 +631,16 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
624
631
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
625
632
|
position: e.value.style.chart.tooltip.position,
|
|
626
633
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
627
|
-
parent:
|
|
634
|
+
parent: A.value,
|
|
628
635
|
content: X.value,
|
|
629
636
|
isFullscreen: T.value,
|
|
630
637
|
isCustom: i(xe)(e.value.style.chart.tooltip.customFormat)
|
|
631
638
|
}, {
|
|
632
|
-
"tooltip-before":
|
|
633
|
-
|
|
639
|
+
"tooltip-before": f(() => [
|
|
640
|
+
d(t.$slots, "tooltip-before", _(P({ ...W.value })), void 0, !0)
|
|
634
641
|
]),
|
|
635
|
-
"tooltip-after":
|
|
636
|
-
|
|
642
|
+
"tooltip-after": f(() => [
|
|
643
|
+
d(t.$slots, "tooltip-after", _(P({ ...W.value })), void 0, !0)
|
|
637
644
|
]),
|
|
638
645
|
_: 3
|
|
639
646
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -653,9 +660,9 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
653
660
|
}
|
|
654
661
|
}
|
|
655
662
|
}, {
|
|
656
|
-
content:
|
|
663
|
+
content: f(() => [
|
|
657
664
|
(s(), C(dt, {
|
|
658
|
-
key: `table_${
|
|
665
|
+
key: `table_${ne.value}`,
|
|
659
666
|
colNames: z.value.colNames,
|
|
660
667
|
head: z.value.head,
|
|
661
668
|
body: z.value.body,
|
|
@@ -663,20 +670,20 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
663
670
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
664
671
|
onClose: o[3] || (o[3] = (a) => m.value.showTable = !1)
|
|
665
672
|
}, {
|
|
666
|
-
th:
|
|
667
|
-
He(
|
|
673
|
+
th: f(({ th: a }) => [
|
|
674
|
+
He(I(a), 1)
|
|
668
675
|
]),
|
|
669
|
-
td:
|
|
670
|
-
|
|
676
|
+
td: f(({ td: a }) => [
|
|
677
|
+
O("div", { innerHTML: a }, null, 8, Rt)
|
|
671
678
|
]),
|
|
672
679
|
_: 1
|
|
673
680
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
674
681
|
]),
|
|
675
682
|
_: 1
|
|
676
|
-
}, 8, ["config"])) :
|
|
683
|
+
}, 8, ["config"])) : g("", !0)
|
|
677
684
|
], 46, kt));
|
|
678
685
|
}
|
|
679
|
-
}, Zt = /* @__PURE__ */ bt(Dt, [["__scopeId", "data-v-
|
|
686
|
+
}, Zt = /* @__PURE__ */ bt(Dt, [["__scopeId", "data-v-209c752d"]]);
|
|
680
687
|
export {
|
|
681
688
|
Zt as default
|
|
682
689
|
};
|