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 S, ref as T, watch as He, onMounted as Re, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as
|
|
2
|
-
import { u as Je, c as je, t as Ke, p as
|
|
3
|
-
import { _ as nt } from "./Title-
|
|
4
|
-
import { u as rt, U as ut } from "./usePrinter-
|
|
5
|
-
import it from "./vue-ui-skeleton-
|
|
6
|
-
import { D as dt } from "./DataTable-
|
|
7
|
-
import ct from "./vue-ui-accordion-
|
|
8
|
-
import { u as ze } from "./useNestedProp-
|
|
9
|
-
import { _ as ht } from "./PackageVersion-
|
|
10
|
-
import { P as vt } from "./PenAndPaper-
|
|
1
|
+
import { computed as S, ref as T, watch as He, onMounted as Re, createElementBlock as i, openBlock as n, unref as d, normalizeStyle as O, normalizeClass as Me, createBlock as G, createCommentVNode as y, createSlots as Ze, withCtx as z, renderSlot as j, normalizeProps as Y, guardReactiveProps as J, createVNode as qe, createElementVNode as u, Fragment as _, renderList as m, toDisplayString as P, mergeProps as Pe, createTextVNode as Xe, nextTick as Ye } from "vue";
|
|
2
|
+
import { u as Je, c as je, t as Ke, p as K, a as Qe, b as et, d as tt, o as lt, e as Q, g as re, l as U, m as Te, f as D, X as ot, s as g, h as ee, i as te, j as Se, k as le, n as A, q as st, r as at } from "./index-DUnEDLbc.js";
|
|
3
|
+
import { _ as nt } from "./Title-1PWD04Gh.js";
|
|
4
|
+
import { u as rt, U as ut } from "./usePrinter-Undaynpo.js";
|
|
5
|
+
import it from "./vue-ui-skeleton-DieABKlo.js";
|
|
6
|
+
import { D as dt } from "./DataTable-DfMqgTjL.js";
|
|
7
|
+
import ct from "./vue-ui-accordion-C8Couc_G.js";
|
|
8
|
+
import { u as ze } from "./useNestedProp-CEMeoM-f.js";
|
|
9
|
+
import { _ as ht } from "./PackageVersion-1Y7SXTrk.js";
|
|
10
|
+
import { P as vt } from "./PenAndPaper-BYhUvcy4.js";
|
|
11
11
|
import { u as ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
12
|
import { u as pt } from "./useChartAccessibility-BWojgys7.js";
|
|
13
13
|
import { _ as yt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
14
|
const kt = ["id"], gt = {
|
|
15
15
|
key: 1,
|
|
16
16
|
style: "width:100%;background:transparent"
|
|
17
|
-
}, $t = ["xmlns", "viewBox"], _t = ["width", "height"], mt = ["id"], bt = ["stop-color"], xt = ["stop-color"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], jt = ["stop-color"], Tt = ["id"], St = ["stop-color"], zt = ["stop-color"], Dt = ["stop-color"], Ot = { key: 1 }, Nt = ["id"], Bt = ["stop-color"], At = ["stop-color"],
|
|
17
|
+
}, $t = ["xmlns", "viewBox"], _t = ["width", "height"], mt = ["id"], bt = ["stop-color"], xt = ["stop-color"], wt = ["id"], Ct = ["stop-color"], Ft = ["stop-color"], Mt = ["id"], Pt = ["stop-color"], jt = ["stop-color"], Tt = ["id"], St = ["stop-color"], zt = ["stop-color"], Dt = ["stop-color"], Ot = { key: 1 }, Nt = ["id"], Bt = ["stop-color"], At = ["stop-color"], It = ["id"], Lt = ["stop-color"], Wt = ["stop-color"], Vt = ["id"], Gt = ["stop-color"], Ut = ["stop-color"], Et = ["id"], Ht = ["x", "y", "font-size", "font-weight", "fill"], Rt = ["x", "y"], Zt = ["d", "stroke"], qt = ["d", "stroke"], Xt = { key: 4 }, Yt = { key: 0 }, Jt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Kt = ["stroke-dasharray", "d", "stroke", "stroke-width"], Qt = ["stroke-dasharray", "d", "stroke", "stroke-width"], el = ["stroke-dasharray", "d", "stroke", "stroke-width"], tl = { key: 1 }, ll = ["d", "stroke", "stroke-width", "fill"], ol = ["d", "stroke", "stroke-width", "fill"], sl = ["d", "stroke", "stroke-width", "fill"], al = { key: 2 }, nl = ["d", "fill", "onMouseenter", "onClick"], rl = ["d", "fill", "onMouseenter", "onClick"], ul = ["d", "fill", "onMouseenter", "onClick"], il = ["d", "onMouseenter", "onClick"], dl = ["d"], cl = ["d", "stroke"], hl = ["onClick"], vl = ["stroke", "d"], fl = ["cx", "cy", "fill", "stroke"], pl = ["x", "y", "width", "height"], yl = { key: 1 }, kl = ["d", "stroke"], gl = ["d", "fill", "stroke"], $l = ["id"], _l = ["stop-color"], ml = ["stop-color"], bl = ["cx", "cy", "fill"], xl = ["cx", "cy", "fill"], wl = { key: 0 }, Cl = ["text-anchor", "x", "y", "fill", "font-size"], Fl = ["text-anchor", "x", "y", "fill", "font-size"], Ml = { key: 2 }, Pl = ["d", "fill", "stroke"], jl = { key: 5 }, Tl = { key: 0 }, Sl = ["stroke-dasharray", "d", "stroke", "stroke-width"], zl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Dl = ["stroke-dasharray", "d", "stroke", "stroke-width"], Ol = ["stroke-dasharray", "d", "stroke", "stroke-width"], Nl = ["d", "stroke", "stroke-width", "fill"], Bl = ["d", "stroke", "stroke-width", "fill"], Al = { key: 1 }, Il = ["onClick"], Ll = ["id"], Wl = ["stop-color"], Vl = ["stop-color"], Gl = ["id"], Ul = ["stop-color"], El = ["stop-color"], Hl = ["stop-color"], Rl = ["stop-color"], Zl = ["stop-color"], ql = ["onMouseenter", "onClick", "d", "fill"], Xl = ["onMouseenter", "onClick", "d"], Yl = ["onMouseenter", "onClick", "d", "fill"], Jl = ["onClick"], Kl = ["stroke", "d"], Ql = ["cx", "cy", "fill", "stroke"], eo = ["x", "y", "width", "height"], to = { key: 1 }, lo = ["d", "stroke"], oo = ["d", "fill", "stroke"], so = ["id"], ao = ["stop-color"], no = ["stop-color"], ro = ["cx", "cy", "fill"], uo = ["cx", "cy", "fill"], io = { key: 0 }, co = ["text-anchor", "x", "y", "fill", "font-size"], ho = ["text-anchor", "x", "y", "fill", "font-size"], vo = { key: 2 }, fo = ["d", "fill", "stroke"], po = {
|
|
18
18
|
key: 4,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, yo = {
|
|
@@ -39,10 +39,10 @@ const kt = ["id"], gt = {
|
|
|
39
39
|
},
|
|
40
40
|
emits: ["selectDatapoint"],
|
|
41
41
|
setup(De, { expose: Oe, emit: Ne }) {
|
|
42
|
-
const { vue_ui_3d_bar: Be } = Je(), $ = De, R = Ne, Z = S(() => !!$.dataset && Object.keys($.dataset).length), b = T(je()), Ae = T(null), ue = T(null),
|
|
42
|
+
const { vue_ui_3d_bar: Be } = Je(), $ = De, R = Ne, Z = S(() => !!$.dataset && Object.keys($.dataset).length), b = T(je()), Ae = T(null), ue = T(null), I = T(!1), ie = T(0), de = T(0), t = S({
|
|
43
43
|
get: () => fe(),
|
|
44
44
|
set: (a) => a
|
|
45
|
-
}), { userOptionsVisible:
|
|
45
|
+
}), { userOptionsVisible: oe, setUserOptionsVisibility: ce, keepUserOptionState: he } = ft({ config: t.value }), { svgRef: ve } = pt({ config: t.value.style.chart.title });
|
|
46
46
|
function fe() {
|
|
47
47
|
const a = ze({
|
|
48
48
|
userConfig: $.config,
|
|
@@ -53,16 +53,16 @@ const kt = ["id"], gt = {
|
|
|
53
53
|
userConfig: Qe.vue_ui_3d_bar[a.theme] || $.config,
|
|
54
54
|
defaultConfig: a
|
|
55
55
|
}),
|
|
56
|
-
customPalette: Ke[a.theme] ||
|
|
56
|
+
customPalette: Ke[a.theme] || K
|
|
57
57
|
} : a;
|
|
58
58
|
}
|
|
59
59
|
He(() => $.config, (a) => {
|
|
60
|
-
t.value = fe(),
|
|
60
|
+
t.value = fe(), oe.value = !t.value.userOptions.showOnChartHover, $e(), ie.value += 1, de.value += 1, E.value.showTable = t.value.table.show;
|
|
61
61
|
}, { deep: !0 });
|
|
62
62
|
const { isPrinting: pe, isImaging: ye, generatePdf: ke, generateImage: ge } = rt({
|
|
63
63
|
elementId: `3d_bar_${b.value}`,
|
|
64
64
|
fileName: t.value.style.chart.title.text || "vue-ui-3d-bar"
|
|
65
|
-
}),
|
|
65
|
+
}), Ie = S(() => et(t.value.customPalette)), E = T({
|
|
66
66
|
showTable: t.value.table.show
|
|
67
67
|
}), F = S(() => $.dataset.series && $.dataset.series.length), o = S(() => ({
|
|
68
68
|
height: t.value.style.chart.box.dimensions.height,
|
|
@@ -79,14 +79,14 @@ const kt = ["id"], gt = {
|
|
|
79
79
|
...l,
|
|
80
80
|
id: je(),
|
|
81
81
|
proportion: (l.value || 0) / a,
|
|
82
|
-
color: tt(l.color) ||
|
|
82
|
+
color: tt(l.color) || Ie.value[r] || K[r] || K[r % K.length],
|
|
83
83
|
breakdown: l.breakdown ? l.breakdown.sort((c, k) => k.value - c.value) : null
|
|
84
84
|
})).sort((l, r) => r.value - l.value), e = [];
|
|
85
85
|
let h = 0;
|
|
86
86
|
for (let l = 0; l < s.length; l += 1)
|
|
87
87
|
e.push({
|
|
88
88
|
...s[l],
|
|
89
|
-
fill:
|
|
89
|
+
fill: Le(h, s[l].proportion, s[l].breakdown, s[l].color)
|
|
90
90
|
}), h += s[l].proportion;
|
|
91
91
|
return e;
|
|
92
92
|
}
|
|
@@ -110,7 +110,7 @@ const kt = ["id"], gt = {
|
|
|
110
110
|
t.value.style.chart.animation.use && (W.value = 0, h());
|
|
111
111
|
});
|
|
112
112
|
function $e() {
|
|
113
|
-
lt($.dataset) ?
|
|
113
|
+
lt($.dataset) ? Q({
|
|
114
114
|
componentName: "VueUi3dBar",
|
|
115
115
|
type: "dataset"
|
|
116
116
|
}) : $.dataset.series ? $.dataset.series.forEach((a, s) => {
|
|
@@ -118,7 +118,7 @@ const kt = ["id"], gt = {
|
|
|
118
118
|
datasetObject: a,
|
|
119
119
|
requiredAttributes: ["name", "value"]
|
|
120
120
|
}).forEach((e) => {
|
|
121
|
-
|
|
121
|
+
Q({
|
|
122
122
|
componentName: "VueUi3dBar",
|
|
123
123
|
type: "datasetSerieAttribute",
|
|
124
124
|
property: e,
|
|
@@ -129,7 +129,7 @@ const kt = ["id"], gt = {
|
|
|
129
129
|
datasetObject: e,
|
|
130
130
|
requiredAttributes: ["name", "value"]
|
|
131
131
|
}).forEach((l) => {
|
|
132
|
-
|
|
132
|
+
Q({
|
|
133
133
|
componentName: "VueUi3dBar",
|
|
134
134
|
type: "datasetSerieAttribute",
|
|
135
135
|
property: l,
|
|
@@ -141,15 +141,15 @@ const kt = ["id"], gt = {
|
|
|
141
141
|
datasetObject: $.dataset,
|
|
142
142
|
requiredAttributes: ["percentage"]
|
|
143
143
|
}).forEach((a) => {
|
|
144
|
-
|
|
144
|
+
Q({
|
|
145
145
|
componentName: "VueUi3dBar",
|
|
146
146
|
type: "datasetAttribute",
|
|
147
147
|
property: a
|
|
148
148
|
});
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: r, height: c, bottom: k, right: w, left: f, perspective: p } = o.value, v = k + l * a,
|
|
151
|
+
function Le(a, s, e, h) {
|
|
152
|
+
const l = o.value.height - o.value.bottom - o.value.top - o.value.perspective * 2, { width: r, height: c, bottom: k, right: w, left: f, perspective: p } = o.value, v = k + l * a, ne = c - v - p - l * s / 2, Ge = ne > o.value.height / 2 ? "top" : "bottom", xe = 64, Ue = !!e;
|
|
153
153
|
let we = null, Ce = null;
|
|
154
154
|
return Ue && (e = e.map((Fe, Ee) => ({
|
|
155
155
|
...Fe,
|
|
@@ -158,7 +158,7 @@ const kt = ["id"], gt = {
|
|
|
158
158
|
})), we = Te(
|
|
159
159
|
{ series: e },
|
|
160
160
|
r + o.value.absoluteWidth / 4 - 14,
|
|
161
|
-
Ge === "top" ?
|
|
161
|
+
Ge === "top" ? ne - xe : ne + xe,
|
|
162
162
|
28,
|
|
163
163
|
28,
|
|
164
164
|
1.99999,
|
|
@@ -229,10 +229,10 @@ const kt = ["id"], gt = {
|
|
|
229
229
|
};
|
|
230
230
|
}), x = T(null);
|
|
231
231
|
function M(a, s = !1) {
|
|
232
|
-
R("selectDatapoint", a), s || (x.value = a.id), s &&
|
|
232
|
+
R("selectDatapoint", a), s || (x.value = a.id), s && I.value && (I.value = !1), s && !I.value && (I.value = !0);
|
|
233
233
|
}
|
|
234
|
-
function
|
|
235
|
-
|
|
234
|
+
function L() {
|
|
235
|
+
I.value || (x.value = null);
|
|
236
236
|
}
|
|
237
237
|
function V(a, s, e = !1) {
|
|
238
238
|
const h = $.dataset.series.map((c) => c.value || 0).reduce((c, k) => c + k, 0), l = isNaN(a.value / h) ? 0 : a.value / h * 100, r = isNaN(a.value / _e(s)) ? 0 : a.value / _e(s) * 100;
|
|
@@ -241,9 +241,9 @@ const kt = ["id"], gt = {
|
|
|
241
241
|
function _e(a) {
|
|
242
242
|
return [...a].map((s) => s.value).reduce((s, e) => s + e, 0);
|
|
243
243
|
}
|
|
244
|
-
const
|
|
244
|
+
const se = T(!1);
|
|
245
245
|
function We(a) {
|
|
246
|
-
|
|
246
|
+
se.value = a;
|
|
247
247
|
}
|
|
248
248
|
function Ve() {
|
|
249
249
|
return F.value ? C.value : $.dataset.percentage;
|
|
@@ -276,17 +276,17 @@ const kt = ["id"], gt = {
|
|
|
276
276
|
const q = S(() => {
|
|
277
277
|
const a = C.value.map((r) => r.value).reduce((r, c) => r + c, 0), s = [
|
|
278
278
|
' <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>',
|
|
279
|
-
|
|
279
|
+
D({ p: t.value.style.chart.legend.prefix, v: a, s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue }),
|
|
280
280
|
"100%"
|
|
281
281
|
], e = B.value.head.map((r, c) => {
|
|
282
|
-
const k =
|
|
282
|
+
const k = D({ p: t.value.style.chart.legend.prefix, v: B.value.body[c], s: t.value.style.chart.legend.suffix, r: t.value.table.td.roundingValue });
|
|
283
283
|
return [
|
|
284
284
|
{
|
|
285
285
|
color: r.color,
|
|
286
286
|
name: r.name
|
|
287
287
|
},
|
|
288
288
|
k,
|
|
289
|
-
isNaN(B.value.body[c] / a) ? "-" :
|
|
289
|
+
isNaN(B.value.body[c] / a) ? "-" : D({
|
|
290
290
|
v: B.value.body[c] / a * 100,
|
|
291
291
|
s: "%",
|
|
292
292
|
r: t.value.table.td.roundingPercentage
|
|
@@ -321,7 +321,7 @@ const kt = ["id"], gt = {
|
|
|
321
321
|
E.value.showTable = !E.value.showTable;
|
|
322
322
|
}
|
|
323
323
|
const X = T(!1);
|
|
324
|
-
function
|
|
324
|
+
function ae() {
|
|
325
325
|
X.value = !X.value;
|
|
326
326
|
}
|
|
327
327
|
return Oe({
|
|
@@ -330,12 +330,12 @@ const kt = ["id"], gt = {
|
|
|
330
330
|
generateImage: ge,
|
|
331
331
|
getData: Ve,
|
|
332
332
|
toggleTable: be,
|
|
333
|
-
toggleAnnotator:
|
|
333
|
+
toggleAnnotator: ae
|
|
334
334
|
}), (a, s) => (n(), i("div", {
|
|
335
335
|
ref_key: "bar3dChart",
|
|
336
336
|
ref: ue,
|
|
337
337
|
class: Me("vue-ui-3d-bar"),
|
|
338
|
-
style:
|
|
338
|
+
style: O(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),
|
|
339
339
|
id: `3d_bar_${b.value}`,
|
|
340
340
|
onMouseenter: s[2] || (s[2] = () => d(ce)(!0)),
|
|
341
341
|
onMouseleave: s[3] || (s[3] = () => d(ce)(!1))
|
|
@@ -346,7 +346,7 @@ const kt = ["id"], gt = {
|
|
|
346
346
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
347
347
|
color: t.value.style.chart.color,
|
|
348
348
|
active: X.value,
|
|
349
|
-
onClose:
|
|
349
|
+
onClose: ae
|
|
350
350
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : y("", !0),
|
|
351
351
|
t.value.style.chart.title.text ? (n(), i("div", gt, [
|
|
352
352
|
(n(), G(nt, {
|
|
@@ -363,7 +363,7 @@ const kt = ["id"], gt = {
|
|
|
363
363
|
}
|
|
364
364
|
}, null, 8, ["config"]))
|
|
365
365
|
])) : y("", !0),
|
|
366
|
-
t.value.userOptions.show && Z.value && (d(he) || d(
|
|
366
|
+
t.value.userOptions.show && Z.value && (d(he) || d(oe)) ? (n(), G(ut, {
|
|
367
367
|
key: 2,
|
|
368
368
|
ref_key: "details",
|
|
369
369
|
ref: Ae,
|
|
@@ -387,52 +387,59 @@ const kt = ["id"], gt = {
|
|
|
387
387
|
onGenerateCsv: me,
|
|
388
388
|
onGenerateImage: d(ge),
|
|
389
389
|
onToggleTable: be,
|
|
390
|
-
onToggleAnnotator:
|
|
391
|
-
style:
|
|
392
|
-
visibility: d(he) ? d(
|
|
390
|
+
onToggleAnnotator: ae,
|
|
391
|
+
style: O({
|
|
392
|
+
visibility: d(he) ? d(oe) ? "visible" : "hidden" : "visible"
|
|
393
393
|
})
|
|
394
394
|
}, Ze({ _: 2 }, [
|
|
395
|
+
a.$slots.menuIcon ? {
|
|
396
|
+
name: "menuIcon",
|
|
397
|
+
fn: z(({ isOpen: e, color: h }) => [
|
|
398
|
+
j(a.$slots, "menuIcon", Y(J({ isOpen: e, color: h })), void 0, !0)
|
|
399
|
+
]),
|
|
400
|
+
key: "0"
|
|
401
|
+
} : void 0,
|
|
395
402
|
a.$slots.optionPdf ? {
|
|
396
403
|
name: "optionPdf",
|
|
397
|
-
fn:
|
|
404
|
+
fn: z(() => [
|
|
398
405
|
j(a.$slots, "optionPdf", {}, void 0, !0)
|
|
399
406
|
]),
|
|
400
|
-
key: "
|
|
407
|
+
key: "1"
|
|
401
408
|
} : void 0,
|
|
402
409
|
a.$slots.optionCsv ? {
|
|
403
410
|
name: "optionCsv",
|
|
404
|
-
fn:
|
|
411
|
+
fn: z(() => [
|
|
405
412
|
j(a.$slots, "optionCsv", {}, void 0, !0)
|
|
406
413
|
]),
|
|
407
|
-
key: "
|
|
414
|
+
key: "2"
|
|
408
415
|
} : void 0,
|
|
409
416
|
a.$slots.optionImg ? {
|
|
410
417
|
name: "optionImg",
|
|
411
|
-
fn:
|
|
418
|
+
fn: z(() => [
|
|
412
419
|
j(a.$slots, "optionImg", {}, void 0, !0)
|
|
413
420
|
]),
|
|
414
|
-
key: "
|
|
421
|
+
key: "3"
|
|
415
422
|
} : void 0,
|
|
416
423
|
a.$slots.optionTable ? {
|
|
417
424
|
name: "optionTable",
|
|
418
|
-
fn:
|
|
425
|
+
fn: z(() => [
|
|
419
426
|
j(a.$slots, "optionTable", {}, void 0, !0)
|
|
420
427
|
]),
|
|
421
|
-
key: "
|
|
428
|
+
key: "4"
|
|
422
429
|
} : void 0,
|
|
423
430
|
a.$slots.optionFullscreen ? {
|
|
424
431
|
name: "optionFullscreen",
|
|
425
|
-
fn:
|
|
426
|
-
j(a.$slots, "optionFullscreen",
|
|
432
|
+
fn: z(({ toggleFullscreen: e, isFullscreen: h }) => [
|
|
433
|
+
j(a.$slots, "optionFullscreen", Y(J({ toggleFullscreen: e, isFullscreen: h })), void 0, !0)
|
|
427
434
|
]),
|
|
428
|
-
key: "
|
|
435
|
+
key: "5"
|
|
429
436
|
} : void 0,
|
|
430
437
|
a.$slots.optionAnnotator ? {
|
|
431
438
|
name: "optionAnnotator",
|
|
432
|
-
fn:
|
|
433
|
-
j(a.$slots, "optionAnnotator",
|
|
439
|
+
fn: z(({ toggleAnnotator: e, isAnnotator: h }) => [
|
|
440
|
+
j(a.$slots, "optionAnnotator", Y(J({ toggleAnnotator: e, isAnnotator: h })), void 0, !0)
|
|
434
441
|
]),
|
|
435
|
-
key: "
|
|
442
|
+
key: "6"
|
|
436
443
|
} : void 0
|
|
437
444
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasTable", "hasXls", "hasImg", "hasFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
438
445
|
Z.value ? (n(), i("svg", {
|
|
@@ -440,9 +447,9 @@ const kt = ["id"], gt = {
|
|
|
440
447
|
ref_key: "svgRef",
|
|
441
448
|
ref: ve,
|
|
442
449
|
xmlns: d(ot),
|
|
443
|
-
class: Me({ "vue-data-ui-fullscreen--on":
|
|
450
|
+
class: Me({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value }),
|
|
444
451
|
viewBox: `0 0 ${o.value.absoluteWidth} ${o.value.height}`,
|
|
445
|
-
style:
|
|
452
|
+
style: O(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)
|
|
446
453
|
}, [
|
|
447
454
|
qe(ht),
|
|
448
455
|
a.$slots["chart-background"] ? (n(), i("foreignObject", {
|
|
@@ -534,12 +541,12 @@ const kt = ["id"], gt = {
|
|
|
534
541
|
u("stop", {
|
|
535
542
|
offset: "0%",
|
|
536
543
|
"stop-color": d(g)(e.color, 80)
|
|
537
|
-
}, null, 8,
|
|
544
|
+
}, null, 8, Lt),
|
|
538
545
|
u("stop", {
|
|
539
546
|
offset: "100%",
|
|
540
|
-
"stop-color": d(g)(d(
|
|
547
|
+
"stop-color": d(g)(d(ee)(e.color, 0.5), 100)
|
|
541
548
|
}, null, 8, Wt)
|
|
542
|
-
], 8,
|
|
549
|
+
], 8, It))), 256)),
|
|
543
550
|
(n(!0), i(_, null, m(C.value, (e) => (n(), i("linearGradient", {
|
|
544
551
|
id: `grad_right_${e.id}`
|
|
545
552
|
}, [
|
|
@@ -577,15 +584,15 @@ const kt = ["id"], gt = {
|
|
|
577
584
|
"font-weight": t.value.style.chart.dataLabel.bold ? "bold" : "normal",
|
|
578
585
|
fill: t.value.style.chart.dataLabel.color,
|
|
579
586
|
"text-anchor": "middle"
|
|
580
|
-
}, P(d(
|
|
587
|
+
}, P(d(D)({
|
|
581
588
|
v: W.value,
|
|
582
589
|
s: "%",
|
|
583
590
|
r: t.value.style.chart.dataLabel.rounding
|
|
584
591
|
})), 9, Ht)) : y("", !0),
|
|
585
|
-
|
|
592
|
+
I.value ? (n(), i("g", {
|
|
586
593
|
key: 3,
|
|
587
594
|
onClick: s[0] || (s[0] = (e) => {
|
|
588
|
-
|
|
595
|
+
I.value = !1, x.value = null;
|
|
589
596
|
}),
|
|
590
597
|
"data-html2canvas-ignore": "",
|
|
591
598
|
style: { cursor: "pointer" }
|
|
@@ -677,7 +684,7 @@ const kt = ["id"], gt = {
|
|
|
677
684
|
])),
|
|
678
685
|
F.value ? (n(), i("g", al, [
|
|
679
686
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
680
|
-
style:
|
|
687
|
+
style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
|
|
681
688
|
class: "vue-ui-3d-bar-stack"
|
|
682
689
|
}, [
|
|
683
690
|
u("path", {
|
|
@@ -685,21 +692,21 @@ const kt = ["id"], gt = {
|
|
|
685
692
|
fill: `url(#grad_right_${e.id})`,
|
|
686
693
|
onMouseenter: (l) => M(e),
|
|
687
694
|
onClick: (l) => M(e, !0),
|
|
688
|
-
onMouseout:
|
|
695
|
+
onMouseout: L
|
|
689
696
|
}, null, 40, nl),
|
|
690
697
|
u("path", {
|
|
691
698
|
d: e.fill.left,
|
|
692
699
|
fill: `url(#grad_left_${e.id})`,
|
|
693
700
|
onMouseenter: (l) => M(e),
|
|
694
701
|
onClick: (l) => M(e, !0),
|
|
695
|
-
onMouseout:
|
|
702
|
+
onMouseout: L
|
|
696
703
|
}, null, 40, rl),
|
|
697
704
|
u("path", {
|
|
698
705
|
d: e.fill.top,
|
|
699
706
|
fill: `url(#grad_top_${e.id})`,
|
|
700
707
|
onMouseenter: (l) => M(e),
|
|
701
708
|
onClick: (l) => M(e, !0),
|
|
702
|
-
onMouseout:
|
|
709
|
+
onMouseout: L
|
|
703
710
|
}, null, 40, ul),
|
|
704
711
|
u("path", {
|
|
705
712
|
d: e.fill.liningTop,
|
|
@@ -709,7 +716,7 @@ const kt = ["id"], gt = {
|
|
|
709
716
|
fill: "none",
|
|
710
717
|
onMouseenter: (l) => M(e),
|
|
711
718
|
onClick: (l) => M(e, !0),
|
|
712
|
-
onMouseout:
|
|
719
|
+
onMouseout: L
|
|
713
720
|
}, null, 40, il),
|
|
714
721
|
u("path", {
|
|
715
722
|
d: `M ${e.fill.apexTop.x},${e.fill.apexTop.y} ${e.fill.apexBottom.x},${e.fill.apexBottom.y}`,
|
|
@@ -730,7 +737,7 @@ const kt = ["id"], gt = {
|
|
|
730
737
|
}, null, 8, cl)) : y("", !0)
|
|
731
738
|
]))), 256)),
|
|
732
739
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
733
|
-
style:
|
|
740
|
+
style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
734
741
|
onClick: (l) => R("selectDatapoint", e)
|
|
735
742
|
}, [
|
|
736
743
|
u("path", {
|
|
@@ -757,11 +764,11 @@ const kt = ["id"], gt = {
|
|
|
757
764
|
}, [
|
|
758
765
|
t.value.style.chart.legend.showDefault ? (n(), i("div", {
|
|
759
766
|
key: 0,
|
|
760
|
-
style:
|
|
761
|
-
}, P(e.name) + ": " + P(d(
|
|
767
|
+
style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
|
|
768
|
+
}, P(e.name) + ": " + P(d(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(d(te)(
|
|
762
769
|
t.value.style.chart.dataLabel.formatter,
|
|
763
770
|
e.value,
|
|
764
|
-
d(
|
|
771
|
+
d(D)({
|
|
765
772
|
p: t.value.style.chart.legend.prefix,
|
|
766
773
|
v: e.value,
|
|
767
774
|
s: t.value.style.chart.legend.suffix,
|
|
@@ -828,13 +835,13 @@ const kt = ["id"], gt = {
|
|
|
828
835
|
u("text", {
|
|
829
836
|
"text-anchor": d(A)(l, !0, 0).anchor,
|
|
830
837
|
x: d(A)(l, !0, 2).x,
|
|
831
|
-
y: d(
|
|
838
|
+
y: d(le)(l, 12, 12),
|
|
832
839
|
fill: t.value.style.chart.legend.color,
|
|
833
840
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
834
|
-
}, P(V(l, e.fill.donut)) + " (" + P(d(
|
|
841
|
+
}, P(V(l, e.fill.donut)) + " (" + P(d(te)(
|
|
835
842
|
t.value.style.chart.dataLabel.formatter,
|
|
836
843
|
l.value,
|
|
837
|
-
d(
|
|
844
|
+
d(D)({
|
|
838
845
|
p: t.value.style.chart.legend.prefix,
|
|
839
846
|
v: l.value,
|
|
840
847
|
s: t.value.style.chart.legend.suffix,
|
|
@@ -845,7 +852,7 @@ const kt = ["id"], gt = {
|
|
|
845
852
|
u("text", {
|
|
846
853
|
"text-anchor": d(A)(l).anchor,
|
|
847
854
|
x: d(A)(l, !0, 2).x,
|
|
848
|
-
y: d(
|
|
855
|
+
y: d(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
849
856
|
fill: t.value.style.chart.legend.color,
|
|
850
857
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
851
858
|
}, P(l.name), 9, Fl)
|
|
@@ -921,7 +928,7 @@ const kt = ["id"], gt = {
|
|
|
921
928
|
])),
|
|
922
929
|
F.value ? (n(), i("g", Al, [
|
|
923
930
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
924
|
-
style:
|
|
931
|
+
style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0.3 : 1}`),
|
|
925
932
|
class: "vue-ui-3d-bar-stack",
|
|
926
933
|
onClick: (l) => R("selectDatapoint", e)
|
|
927
934
|
}, [
|
|
@@ -937,9 +944,9 @@ const kt = ["id"], gt = {
|
|
|
937
944
|
}, null, 8, Wl),
|
|
938
945
|
u("stop", {
|
|
939
946
|
offset: "100%",
|
|
940
|
-
"stop-color": d(g)(d(
|
|
947
|
+
"stop-color": d(g)(d(ee)(e.color, 0.1), 80)
|
|
941
948
|
}, null, 8, Vl)
|
|
942
|
-
], 8,
|
|
949
|
+
], 8, Ll),
|
|
943
950
|
u("linearGradient", {
|
|
944
951
|
id: `gradient_tube_body_${e.id}`,
|
|
945
952
|
x1: "0%",
|
|
@@ -953,11 +960,11 @@ const kt = ["id"], gt = {
|
|
|
953
960
|
}, null, 8, Ul),
|
|
954
961
|
u("stop", {
|
|
955
962
|
offset: "10%",
|
|
956
|
-
"stop-color": d(g)(d(
|
|
963
|
+
"stop-color": d(g)(d(ee)(e.color, 0.7), 100)
|
|
957
964
|
}, null, 8, El),
|
|
958
965
|
u("stop", {
|
|
959
966
|
offset: "25%",
|
|
960
|
-
"stop-color": d(g)(d(
|
|
967
|
+
"stop-color": d(g)(d(ee)(e.color, 0.5), 100)
|
|
961
968
|
}, null, 8, Hl),
|
|
962
969
|
u("stop", {
|
|
963
970
|
offset: "75%",
|
|
@@ -972,7 +979,7 @@ const kt = ["id"], gt = {
|
|
|
972
979
|
u("path", {
|
|
973
980
|
onMouseenter: (l) => M(e),
|
|
974
981
|
onClick: (l) => M(e, !0),
|
|
975
|
-
onMouseout:
|
|
982
|
+
onMouseout: L,
|
|
976
983
|
d: e.fill.tubeBody,
|
|
977
984
|
stroke: "#FFFFFF",
|
|
978
985
|
"stroke-width": 0.5,
|
|
@@ -984,7 +991,7 @@ const kt = ["id"], gt = {
|
|
|
984
991
|
key: 0,
|
|
985
992
|
onMouseenter: (l) => M(e),
|
|
986
993
|
onClick: (l) => M(e, !0),
|
|
987
|
-
onMouseout:
|
|
994
|
+
onMouseout: L,
|
|
988
995
|
d: e.fill.bottomTubeTop,
|
|
989
996
|
stroke: "#000000",
|
|
990
997
|
"stroke-width": 0.5,
|
|
@@ -995,7 +1002,7 @@ const kt = ["id"], gt = {
|
|
|
995
1002
|
u("path", {
|
|
996
1003
|
onMouseenter: (l) => M(e),
|
|
997
1004
|
onClick: (l) => M(e, !0),
|
|
998
|
-
onMouseout:
|
|
1005
|
+
onMouseout: L,
|
|
999
1006
|
d: e.fill.tubeTop,
|
|
1000
1007
|
stroke: "#FFFFFF",
|
|
1001
1008
|
"stroke-width": 0.5,
|
|
@@ -1003,9 +1010,9 @@ const kt = ["id"], gt = {
|
|
|
1003
1010
|
"stroke-linecap": "round",
|
|
1004
1011
|
fill: `url(#gradient_tube_top_${e.id})`
|
|
1005
1012
|
}, null, 40, Yl)
|
|
1006
|
-
], 12,
|
|
1013
|
+
], 12, Il))), 256)),
|
|
1007
1014
|
(n(!0), i(_, null, m(C.value, (e, h) => (n(), i("g", {
|
|
1008
|
-
style:
|
|
1015
|
+
style: O(`opacity:${x.value ? x.value === e.id ? 1 : 0 : e.proportion * 100 > t.value.style.chart.legend.hideUnderPercentage ? 1 : 0}`),
|
|
1009
1016
|
onClick: (l) => R("selectDatapoint", e)
|
|
1010
1017
|
}, [
|
|
1011
1018
|
u("path", {
|
|
@@ -1032,11 +1039,11 @@ const kt = ["id"], gt = {
|
|
|
1032
1039
|
}, [
|
|
1033
1040
|
t.value.style.chart.legend.showDefault ? (n(), i("div", {
|
|
1034
1041
|
key: 0,
|
|
1035
|
-
style:
|
|
1036
|
-
}, P(e.name) + ": " + P(d(
|
|
1042
|
+
style: O(`height: 100%; width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; align-items:center;justify-content: flex-start; font-size:${t.value.style.chart.legend.fontSize}px; text-align:left; line-height: ${t.value.style.chart.legend.fontSize}px; color:${t.value.style.chart.legend.color}`)
|
|
1043
|
+
}, P(e.name) + ": " + P(d(D)({ v: e.proportion * 100, s: "%", r: t.value.style.chart.legend.roundingPercentage })) + " (" + P(d(te)(
|
|
1037
1044
|
t.value.style.chart.dataLabel.formatter,
|
|
1038
1045
|
e.value,
|
|
1039
|
-
d(
|
|
1046
|
+
d(D)({
|
|
1040
1047
|
p: t.value.style.chart.legend.prefix,
|
|
1041
1048
|
v: e.value,
|
|
1042
1049
|
s: t.value.style.chart.legend.suffix,
|
|
@@ -1103,13 +1110,13 @@ const kt = ["id"], gt = {
|
|
|
1103
1110
|
u("text", {
|
|
1104
1111
|
"text-anchor": d(A)(l, !0, 0).anchor,
|
|
1105
1112
|
x: d(A)(l, !0, 2).x,
|
|
1106
|
-
y: d(
|
|
1113
|
+
y: d(le)(l, 12, 12),
|
|
1107
1114
|
fill: t.value.style.chart.legend.color,
|
|
1108
1115
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1109
|
-
}, P(V(l, e.fill.donut)) + " (" + P(d(
|
|
1116
|
+
}, P(V(l, e.fill.donut)) + " (" + P(d(te)(
|
|
1110
1117
|
t.value.style.chart.dataLabel.formatter,
|
|
1111
1118
|
l.value,
|
|
1112
|
-
d(
|
|
1119
|
+
d(D)({
|
|
1113
1120
|
p: t.value.style.chart.legend.prefix,
|
|
1114
1121
|
v: l.value,
|
|
1115
1122
|
s: t.value.style.chart.legend.suffix,
|
|
@@ -1120,7 +1127,7 @@ const kt = ["id"], gt = {
|
|
|
1120
1127
|
u("text", {
|
|
1121
1128
|
"text-anchor": d(A)(l).anchor,
|
|
1122
1129
|
x: d(A)(l, !0, 2).x,
|
|
1123
|
-
y: d(
|
|
1130
|
+
y: d(le)(l, 12, 12) + t.value.style.chart.legend.fontSize / 1.5,
|
|
1124
1131
|
fill: t.value.style.chart.legend.color,
|
|
1125
1132
|
"font-size": t.value.style.chart.legend.fontSize / 1.5
|
|
1126
1133
|
}, P(l.name), 9, ho)
|
|
@@ -1142,7 +1149,7 @@ const kt = ["id"], gt = {
|
|
|
1142
1149
|
j(a.$slots, "svg", { svg: o.value }, void 0, !0)
|
|
1143
1150
|
], 14, $t)) : y("", !0),
|
|
1144
1151
|
a.$slots.watermark ? (n(), i("div", po, [
|
|
1145
|
-
j(a.$slots, "watermark",
|
|
1152
|
+
j(a.$slots, "watermark", Y(J({ isPrinting: d(pe) || d(ye) })), void 0, !0)
|
|
1146
1153
|
])) : y("", !0),
|
|
1147
1154
|
Z.value ? y("", !0) : (n(), G(it, {
|
|
1148
1155
|
key: 5,
|
|
@@ -1175,7 +1182,7 @@ const kt = ["id"], gt = {
|
|
|
1175
1182
|
}
|
|
1176
1183
|
}
|
|
1177
1184
|
}, {
|
|
1178
|
-
content:
|
|
1185
|
+
content: z(() => [
|
|
1179
1186
|
(n(), G(dt, {
|
|
1180
1187
|
key: `table_${de.value}`,
|
|
1181
1188
|
colNames: q.value.colNames,
|
|
@@ -1185,13 +1192,13 @@ const kt = ["id"], gt = {
|
|
|
1185
1192
|
title: `${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text ? ` : ${t.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1186
1193
|
onClose: s[1] || (s[1] = (e) => E.value.showTable = !1)
|
|
1187
1194
|
}, {
|
|
1188
|
-
th:
|
|
1195
|
+
th: z(({ th: e }) => [
|
|
1189
1196
|
u("div", {
|
|
1190
1197
|
innerHTML: e,
|
|
1191
1198
|
style: { display: "flex", "align-items": "center" }
|
|
1192
1199
|
}, null, 8, ko)
|
|
1193
1200
|
]),
|
|
1194
|
-
td:
|
|
1201
|
+
td: z(({ td: e }) => [
|
|
1195
1202
|
Xe(P(e.name || e), 1)
|
|
1196
1203
|
]),
|
|
1197
1204
|
_: 1
|
|
@@ -1201,7 +1208,7 @@ const kt = ["id"], gt = {
|
|
|
1201
1208
|
}, 8, ["config"])) : y("", !0)
|
|
1202
1209
|
], 44, kt));
|
|
1203
1210
|
}
|
|
1204
|
-
}, zo = /* @__PURE__ */ yt(go, [["__scopeId", "data-v-
|
|
1211
|
+
}, zo = /* @__PURE__ */ yt(go, [["__scopeId", "data-v-55e8e233"]]);
|
|
1205
1212
|
export {
|
|
1206
1213
|
zo as default
|
|
1207
1214
|
};
|