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,24 +1,24 @@
|
|
|
1
|
-
import { useCssVars as ct, useSlots as ht, computed as
|
|
2
|
-
import { u as bt, c as mt, t as
|
|
3
|
-
import { t as Pt, u as St } from "./useResponsive-
|
|
4
|
-
import { _ as Vt } from "./Title-
|
|
5
|
-
import { u as It, U as Ot } from "./usePrinter-
|
|
6
|
-
import { _ as Ft } from "./Tooltip-
|
|
7
|
-
import { L as He } from "./Legend-
|
|
8
|
-
import Mt from "./vue-ui-skeleton-
|
|
9
|
-
import zt from "./BaseIcon-
|
|
10
|
-
import At from "./vue-ui-accordion-
|
|
11
|
-
import { u as We } from "./useNestedProp-
|
|
12
|
-
import { _ as Bt } from "./PackageVersion-
|
|
13
|
-
import { P as Rt } from "./PenAndPaper-
|
|
1
|
+
import { useCssVars as ct, useSlots as ht, computed as m, ref as i, watch as Ue, onMounted as Xe, onBeforeUnmount as pt, createElementBlock as r, openBlock as u, unref as d, normalizeStyle as c, normalizeClass as A, createBlock as B, createCommentVNode as p, renderSlot as b, createVNode as Y, createSlots as ce, withCtx as k, normalizeProps as X, guardReactiveProps as E, createElementVNode as n, toDisplayString as h, Fragment as H, renderList as W, mergeProps as yt, withKeys as gt, createTextVNode as ft } from "vue";
|
|
2
|
+
import { u as bt, c as mt, t as kt, p as R, a as _t, b as $t, o as Ee, e as K, v as N, d as he, i as le, f as D, X as wt, s as pe, w as xt, q as Ct, r as Tt, x as Lt, y as Nt } from "./index-DUnEDLbc.js";
|
|
3
|
+
import { t as Pt, u as St } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
+
import { _ as Vt } from "./Title-1PWD04Gh.js";
|
|
5
|
+
import { u as It, U as Ot } from "./usePrinter-Undaynpo.js";
|
|
6
|
+
import { _ as Ft } from "./Tooltip-BTO5NGkn.js";
|
|
7
|
+
import { L as He } from "./Legend-PL8rU0J1.js";
|
|
8
|
+
import Mt from "./vue-ui-skeleton-DieABKlo.js";
|
|
9
|
+
import zt from "./BaseIcon-DH34CAFx.js";
|
|
10
|
+
import At from "./vue-ui-accordion-C8Couc_G.js";
|
|
11
|
+
import { u as We } from "./useNestedProp-CEMeoM-f.js";
|
|
12
|
+
import { _ as Bt } from "./PackageVersion-1Y7SXTrk.js";
|
|
13
|
+
import { P as Rt } from "./PenAndPaper-BYhUvcy4.js";
|
|
14
14
|
import { u as Dt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
-
import { _ as Ge } from "./Shape-
|
|
15
|
+
import { _ as Ge } from "./Shape-Ov27sl2L.js";
|
|
16
16
|
import { u as Ut } from "./useChartAccessibility-BWojgys7.js";
|
|
17
17
|
import { _ as Xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "height"], jt = ["id"], qt = ["stop-color"], Yt = ["stop-color"], Kt = { key: 1 }, Jt = ["x", "y", "width", "height", "fill", "rx"], Qt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], Zt = ["x", "y", "width", "height", "fill", "rx", "stroke", "stroke-width"], ea = ["x2", "y1", "y2", "stroke", "stroke-width"], ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], aa = ["x", "y", "text-anchor", "font-size", "fill", "font-weight"], la = ["x", "y", "font-size", "fill", "font-weight"], oa = ["x", "y", "font-size", "fill", "font-weight"], na = ["x", "y", "font-size", "fill", "font-weight"], ua = ["y", "width", "height", "fill", "onMouseenter"], sa = {
|
|
19
19
|
key: 6,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
|
-
}, ra = ["onClick"], ia = { style: "width:100%;padding-top: 36px;position:relative" }, da = { class: "vue-ui-data-table" }, va = { key: 0 }, ca = { style: { width: "100%" } }, ha = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ya = ["data-cell"], ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = ["data-cell"],
|
|
21
|
+
}, ra = ["onClick"], ia = { style: "width:100%;padding-top: 36px;position:relative" }, da = { class: "vue-ui-data-table" }, va = { key: 0 }, ca = { style: { width: "100%" } }, ha = ["data-cell"], pa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ya = ["data-cell"], ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = ["data-cell"], ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, _a = ["data-cell"], $a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, wa = ["data-cell"], xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ca = ["data-cell"], Ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, La = {
|
|
22
22
|
__name: "vue-ui-vertical-bar",
|
|
23
23
|
props: {
|
|
24
24
|
config: {
|
|
@@ -37,32 +37,32 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
37
37
|
emits: ["selectLegend"],
|
|
38
38
|
setup(je, { expose: qe, emit: Ye }) {
|
|
39
39
|
ct((a) => ({
|
|
40
|
-
|
|
40
|
+
e38fbd6e: a.tdo
|
|
41
41
|
}));
|
|
42
|
-
const { vue_ui_vertical_bar: Ke } = bt(), Je = ht(), T = je, J =
|
|
43
|
-
get: () =>
|
|
42
|
+
const { vue_ui_vertical_bar: Ke } = bt(), Je = ht(), T = je, J = m(() => !!T.dataset && T.dataset.length), C = i(mt()), Qe = i(null), oe = i(!1), ne = i(""), Q = i(0), Ze = i(null), ye = i(0), G = i(null), ge = i(null), ue = i(null), fe = i(null), be = i(null), me = i(0), se = i(0), et = Ye, e = m({
|
|
43
|
+
get: () => we(),
|
|
44
44
|
set: (a) => a
|
|
45
|
-
}), { userOptionsVisible: re, setUserOptionsVisibility:
|
|
46
|
-
function
|
|
45
|
+
}), { userOptionsVisible: re, setUserOptionsVisibility: ke, keepUserOptionState: _e } = Dt({ config: e.value }), { svgRef: $e } = Ut({ config: e.value.style.chart.title });
|
|
46
|
+
function we() {
|
|
47
47
|
const a = We({
|
|
48
48
|
userConfig: T.config,
|
|
49
49
|
defaultConfig: Ke
|
|
50
50
|
});
|
|
51
51
|
return a.theme ? {
|
|
52
52
|
...We({
|
|
53
|
-
userConfig:
|
|
53
|
+
userConfig: _t.vue_ui_vertical_bar[a.theme] || T.config,
|
|
54
54
|
defaultConfig: a
|
|
55
55
|
}),
|
|
56
|
-
customPalette:
|
|
56
|
+
customPalette: kt[a.theme] || R
|
|
57
57
|
} : a;
|
|
58
58
|
}
|
|
59
59
|
Ue(() => T.config, (a) => {
|
|
60
|
-
e.value =
|
|
60
|
+
e.value = we(), re.value = !e.value.userOptions.showOnChartHover, Ve(), me.value += 1, se.value += 1, v.value = e.value.style.chart.layout.bars.height, g.value = e.value.style.chart.layout.bars.gap, $.value.showTable = e.value.table.show, $.value.sortDesc = e.value.style.chart.layout.bars.sort === "desc", $.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
61
61
|
}, { deep: !0 }), Ue(() => T.dataset, ee, { deep: !0 });
|
|
62
|
-
const { isPrinting:
|
|
62
|
+
const { isPrinting: xe, isImaging: Ce, generatePdf: Te, generateImage: Le } = It({
|
|
63
63
|
elementId: `vue-ui-vertical-bar_${C.value}`,
|
|
64
64
|
fileName: e.value.style.chart.title.text || "vue-ui-vertical-bar"
|
|
65
|
-
}), tt =
|
|
65
|
+
}), tt = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ne = m(() => $t(e.value.customPalette)), Pe = i(null), Se = i(!1), at = m(() => e.value.table.responsiveBreakpoint), Z = i(null);
|
|
66
66
|
Xe(() => {
|
|
67
67
|
Ve();
|
|
68
68
|
});
|
|
@@ -73,7 +73,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
73
73
|
}), Q.value = T.dataset.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0), lt(), e.value.responsive) {
|
|
74
74
|
const a = Pt(() => {
|
|
75
75
|
const { width: l, height: t } = St({
|
|
76
|
-
chart:
|
|
76
|
+
chart: G.value,
|
|
77
77
|
title: e.value.style.chart.title.text ? ge.value : null,
|
|
78
78
|
legend: e.value.style.chart.legend.show ? ue.value : null,
|
|
79
79
|
source: fe.value,
|
|
@@ -83,7 +83,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
83
83
|
Fe.value = l, v.value = t / Q.value - g.value * 2;
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
Z.value = new ResizeObserver(a), Z.value.observe(
|
|
86
|
+
Z.value = new ResizeObserver(a), Z.value.observe(G.value.parentNode);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
pt(() => {
|
|
@@ -100,7 +100,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
100
100
|
showTable: e.value.table.show,
|
|
101
101
|
sortDesc: e.value.style.chart.layout.bars.sort === "desc",
|
|
102
102
|
showTooltip: e.value.style.chart.tooltip.show
|
|
103
|
-
}), Ie =
|
|
103
|
+
}), Ie = m(() => $.value.sortDesc), O = m(() => (T.dataset.forEach((a, l) => {
|
|
104
104
|
!a.value && !a.children && K({
|
|
105
105
|
componentName: "VueUiVerticalBar",
|
|
106
106
|
type: "datasetAttributeEmpty",
|
|
@@ -119,7 +119,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
119
119
|
});
|
|
120
120
|
}));
|
|
121
121
|
}), T.dataset.map((a, l) => {
|
|
122
|
-
const t = `vertical_parent_${l}_${C.value}`, o = a.children && a.children.length > 0, _ = N(a.value ? a.value : o ? a.children.map((
|
|
122
|
+
const t = `vertical_parent_${l}_${C.value}`, o = a.children && a.children.length > 0, _ = N(a.value ? a.value : o ? a.children.map((x) => x.value || 0).reduce((x, V) => x + V, 0) : 0), f = _ >= 0 ? 1 : -1;
|
|
123
123
|
return {
|
|
124
124
|
...a,
|
|
125
125
|
id: t,
|
|
@@ -130,14 +130,14 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
130
130
|
sign: f,
|
|
131
131
|
hasChildren: o,
|
|
132
132
|
isChild: !1,
|
|
133
|
-
segregate: () =>
|
|
133
|
+
segregate: () => j(t),
|
|
134
134
|
isSegregated: P.value.includes(t),
|
|
135
135
|
color: he(a.color) || Ne.value[l] || R[l] || R[l % R.length],
|
|
136
|
-
children: !a.children || !a.children.length ? [] : a.children.toSorted(te.value ? () => 0 : (
|
|
137
|
-
...
|
|
138
|
-
value: N(Math.abs(
|
|
136
|
+
children: !a.children || !a.children.length ? [] : a.children.toSorted(te.value ? () => 0 : (x, V) => Ie.value ? V.value - x.value : x.value - V.value).map((x, V) => ({
|
|
137
|
+
...x,
|
|
138
|
+
value: N(Math.abs(x.value)),
|
|
139
139
|
absoluteIndex: l,
|
|
140
|
-
sign:
|
|
140
|
+
sign: x.value >= 0 ? 1 : -1,
|
|
141
141
|
isChild: !0,
|
|
142
142
|
parentId: t,
|
|
143
143
|
parentName: a.name,
|
|
@@ -145,21 +145,21 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
145
145
|
parentSign: f,
|
|
146
146
|
id: `vertical_child_${l}_${V}_${C.value}`,
|
|
147
147
|
childIndex: V,
|
|
148
|
-
color: he(
|
|
149
|
-
})).map((
|
|
150
|
-
...
|
|
148
|
+
color: he(x.color) || he(a.color) || Ne.value[l] || R[l] || R[l % R.length]
|
|
149
|
+
})).map((x, V) => ({
|
|
150
|
+
...x,
|
|
151
151
|
isFirstChild: V === 0,
|
|
152
152
|
isLastChild: V === a.children.length - 1
|
|
153
153
|
}))
|
|
154
154
|
};
|
|
155
|
-
}).toSorted(te.value ? () => 0 : (a, l) => Ie.value ? l.value - a.value : a.value - l.value))), Oe =
|
|
155
|
+
}).toSorted(te.value ? () => 0 : (a, l) => Ie.value ? l.value - a.value : a.value - l.value))), Oe = m(() => ({
|
|
156
156
|
cy: "vertical-bar-div-legend",
|
|
157
157
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
158
158
|
color: e.value.style.chart.legend.color,
|
|
159
159
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
160
160
|
paddingBottom: 12,
|
|
161
161
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
162
|
-
})), v = i(e.value.style.chart.layout.bars.height), g = i(e.value.style.chart.layout.bars.gap), ot =
|
|
162
|
+
})), v = i(e.value.style.chart.layout.bars.height), g = i(e.value.style.chart.layout.bars.gap), ot = m(() => (v.value + g.value) * Q.value), Fe = i(512), y = m(() => ({
|
|
163
163
|
width: Fe.value,
|
|
164
164
|
height: ot.value,
|
|
165
165
|
padding: {
|
|
@@ -168,7 +168,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
168
168
|
right: 64 + e.value.style.chart.layout.bars.paddingRight,
|
|
169
169
|
bottom: 12
|
|
170
170
|
}
|
|
171
|
-
})), s =
|
|
171
|
+
})), s = m(() => ({
|
|
172
172
|
fullHeight: y.value.padding.top + y.value.padding.bottom + y.value.height,
|
|
173
173
|
top: y.value.padding.top,
|
|
174
174
|
left: y.value.padding.left,
|
|
@@ -180,10 +180,10 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
180
180
|
Q.value = F.value.flatMap((a) => a.children && a.children.length > 0 ? a.children.length : 1).reduce((a, l) => a + l, 0);
|
|
181
181
|
}
|
|
182
182
|
const P = i([]);
|
|
183
|
-
function
|
|
183
|
+
function j(a) {
|
|
184
184
|
P.value.includes(a) ? P.value = P.value.filter((l) => l !== a) : P.value.push(a), ee(), et("selectLegend", F.value);
|
|
185
185
|
}
|
|
186
|
-
const F =
|
|
186
|
+
const F = m(() => O.value.filter((a) => !P.value.includes(a.id))), S = m(() => F.value.map((a) => Math.abs(a.value)).reduce((a, l) => a + l, 0));
|
|
187
187
|
function Me(a, l = !1, t = 0) {
|
|
188
188
|
return l ? D({
|
|
189
189
|
v: N(Math.abs(a) / S.value * 100),
|
|
@@ -191,15 +191,15 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
191
191
|
r: t
|
|
192
192
|
}) : Math.abs(a) / S.value;
|
|
193
193
|
}
|
|
194
|
-
const M =
|
|
195
|
-
function
|
|
194
|
+
const M = m(() => F.value.flatMap((a) => a.hasChildren ? a.children : a)), z = m(() => M.value.map((a) => a.sign).includes(-1)), nt = m(() => Math.max(...F.value.flatMap((a) => a.children && a.children.length ? Math.max(...a.children.map((l) => l.value)) : a.value)));
|
|
195
|
+
function w(a) {
|
|
196
196
|
const l = a / nt.value;
|
|
197
197
|
return s.value.width / (z.value ? 2 : 1) * l;
|
|
198
198
|
}
|
|
199
199
|
function ut(a) {
|
|
200
|
-
return
|
|
200
|
+
return w(a) + s.value.left;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function q(a, l) {
|
|
203
203
|
const t = F.value.find((f) => f.id === a.parentId), o = s.value.top + (g.value + v.value) * l, _ = t.children.length * (g.value + v.value);
|
|
204
204
|
return {
|
|
205
205
|
y: o + _ / 2 - e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
@@ -271,7 +271,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
271
271
|
), f = `(${Me(a, !0, e.value.style.chart.layout.bars.dataLabels.percentage.roundingPercentage)})`;
|
|
272
272
|
return `${_}${e.value.style.chart.layout.bars.dataLabels.percentage.show ? ` ${f}` : ""}`;
|
|
273
273
|
}
|
|
274
|
-
const L =
|
|
274
|
+
const L = m(() => {
|
|
275
275
|
const a = [
|
|
276
276
|
e.value.translations.parentName,
|
|
277
277
|
e.value.translations.value,
|
|
@@ -368,11 +368,11 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
368
368
|
}), (a, l) => (u(), r("div", {
|
|
369
369
|
class: A(`vue-ui-vertical-bar ${U.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
370
370
|
ref_key: "verticalBarChart",
|
|
371
|
-
ref:
|
|
371
|
+
ref: G,
|
|
372
372
|
id: `vue-ui-vertical-bar_${C.value}`,
|
|
373
373
|
style: c(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
374
|
-
onMouseenter: l[5] || (l[5] = () => d(
|
|
375
|
-
onMouseleave: l[6] || (l[6] = () => d(
|
|
374
|
+
onMouseenter: l[5] || (l[5] = () => d(ke)(!0)),
|
|
375
|
+
onMouseleave: l[6] || (l[6] = () => d(ke)(!1))
|
|
376
376
|
}, [
|
|
377
377
|
e.value.userOptions.buttons.annotator ? (u(), B(Rt, {
|
|
378
378
|
key: 0,
|
|
@@ -409,14 +409,14 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
409
409
|
}
|
|
410
410
|
}, null, 8, ["config"]))
|
|
411
411
|
], 512)) : p("", !0),
|
|
412
|
-
e.value.userOptions.show && J.value && (d(
|
|
412
|
+
e.value.userOptions.show && J.value && (d(_e) || d(re)) ? (u(), B(Ot, {
|
|
413
413
|
ref_key: "details",
|
|
414
414
|
ref: Qe,
|
|
415
415
|
key: `user_options_${ye.value}`,
|
|
416
416
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
417
417
|
color: e.value.style.chart.color,
|
|
418
418
|
isImaging: d(Ce),
|
|
419
|
-
isPrinting: d(
|
|
419
|
+
isPrinting: d(xe),
|
|
420
420
|
uid: C.value,
|
|
421
421
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
422
422
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -428,7 +428,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
428
428
|
isFullscreen: U.value,
|
|
429
429
|
isTooltip: $.value.showTooltip,
|
|
430
430
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
431
|
-
chartElement:
|
|
431
|
+
chartElement: G.value,
|
|
432
432
|
position: e.value.userOptions.position,
|
|
433
433
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
434
434
|
isAnnotation: ae.value,
|
|
@@ -441,71 +441,78 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
441
441
|
onToggleTooltip: De,
|
|
442
442
|
onToggleAnnotator: ve,
|
|
443
443
|
style: c({
|
|
444
|
-
visibility: d(
|
|
444
|
+
visibility: d(_e) ? d(re) ? "visible" : "hidden" : "visible"
|
|
445
445
|
})
|
|
446
446
|
}, ce({ _: 2 }, [
|
|
447
|
+
a.$slots.menuIcon ? {
|
|
448
|
+
name: "menuIcon",
|
|
449
|
+
fn: k(({ isOpen: t, color: o }) => [
|
|
450
|
+
b(a.$slots, "menuIcon", X(E({ isOpen: t, color: o })), void 0, !0)
|
|
451
|
+
]),
|
|
452
|
+
key: "0"
|
|
453
|
+
} : void 0,
|
|
447
454
|
a.$slots.optionTooltip ? {
|
|
448
455
|
name: "optionTooltip",
|
|
449
456
|
fn: k(() => [
|
|
450
|
-
|
|
457
|
+
b(a.$slots, "optionTooltip", {}, void 0, !0)
|
|
451
458
|
]),
|
|
452
|
-
key: "
|
|
459
|
+
key: "1"
|
|
453
460
|
} : void 0,
|
|
454
461
|
a.$slots.optionPdf ? {
|
|
455
462
|
name: "optionPdf",
|
|
456
463
|
fn: k(() => [
|
|
457
|
-
|
|
464
|
+
b(a.$slots, "optionPdf", {}, void 0, !0)
|
|
458
465
|
]),
|
|
459
|
-
key: "
|
|
466
|
+
key: "2"
|
|
460
467
|
} : void 0,
|
|
461
468
|
a.$slots.optionCsv ? {
|
|
462
469
|
name: "optionCsv",
|
|
463
470
|
fn: k(() => [
|
|
464
|
-
|
|
471
|
+
b(a.$slots, "optionCsv", {}, void 0, !0)
|
|
465
472
|
]),
|
|
466
|
-
key: "
|
|
473
|
+
key: "3"
|
|
467
474
|
} : void 0,
|
|
468
475
|
a.$slots.optionImg ? {
|
|
469
476
|
name: "optionImg",
|
|
470
477
|
fn: k(() => [
|
|
471
|
-
|
|
478
|
+
b(a.$slots, "optionImg", {}, void 0, !0)
|
|
472
479
|
]),
|
|
473
|
-
key: "
|
|
480
|
+
key: "4"
|
|
474
481
|
} : void 0,
|
|
475
482
|
a.$slots.optionTable ? {
|
|
476
483
|
name: "optionTable",
|
|
477
484
|
fn: k(() => [
|
|
478
|
-
|
|
485
|
+
b(a.$slots, "optionTable", {}, void 0, !0)
|
|
479
486
|
]),
|
|
480
|
-
key: "
|
|
487
|
+
key: "5"
|
|
481
488
|
} : void 0,
|
|
482
489
|
a.$slots.optionLabels ? {
|
|
483
490
|
name: "optionLabels",
|
|
484
491
|
fn: k(() => [
|
|
485
|
-
|
|
492
|
+
b(a.$slots, "optionLabels", {}, void 0, !0)
|
|
486
493
|
]),
|
|
487
|
-
key: "
|
|
494
|
+
key: "6"
|
|
488
495
|
} : void 0,
|
|
489
496
|
a.$slots.optionSort ? {
|
|
490
497
|
name: "optionSort",
|
|
491
498
|
fn: k(() => [
|
|
492
|
-
|
|
499
|
+
b(a.$slots, "optionSort", {}, void 0, !0)
|
|
493
500
|
]),
|
|
494
|
-
key: "
|
|
501
|
+
key: "7"
|
|
495
502
|
} : void 0,
|
|
496
503
|
a.$slots.optionFullscreen ? {
|
|
497
504
|
name: "optionFullscreen",
|
|
498
505
|
fn: k(({ toggleFullscreen: t, isFullscreen: o }) => [
|
|
499
|
-
|
|
506
|
+
b(a.$slots, "optionFullscreen", X(E({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
|
|
500
507
|
]),
|
|
501
|
-
key: "
|
|
508
|
+
key: "8"
|
|
502
509
|
} : void 0,
|
|
503
510
|
a.$slots.optionAnnotator ? {
|
|
504
511
|
name: "optionAnnotator",
|
|
505
512
|
fn: k(({ toggleAnnotator: t, isAnnotator: o }) => [
|
|
506
|
-
|
|
513
|
+
b(a.$slots, "optionAnnotator", X(E({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
|
|
507
514
|
]),
|
|
508
|
-
key: "
|
|
515
|
+
key: "9"
|
|
509
516
|
} : void 0
|
|
510
517
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasSort", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
|
|
511
518
|
e.value.style.chart.legend.show && e.value.style.chart.legend.position === "top" ? (u(), r("div", {
|
|
@@ -517,11 +524,11 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
517
524
|
key: `legend_top_${se.value}`,
|
|
518
525
|
legendSet: O.value,
|
|
519
526
|
config: Oe.value,
|
|
520
|
-
onClickMarker: l[0] || (l[0] = ({ legend: t }) =>
|
|
527
|
+
onClickMarker: l[0] || (l[0] = ({ legend: t }) => j(t.id))
|
|
521
528
|
}, ce({
|
|
522
529
|
item: k(({ legend: t, index: o }) => [
|
|
523
530
|
n("div", {
|
|
524
|
-
onClick: (_) =>
|
|
531
|
+
onClick: (_) => j(t.id),
|
|
525
532
|
style: c(`opacity:${P.value.includes(t.id) ? 0.5 : 1}`)
|
|
526
533
|
}, h(t.name) + ": " + h(d(le)(
|
|
527
534
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
@@ -540,7 +547,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
540
547
|
a.$slots.pattern ? {
|
|
541
548
|
name: "legend-pattern",
|
|
542
549
|
fn: k(({ legend: t, index: o }) => [
|
|
543
|
-
|
|
550
|
+
Y(Ge, {
|
|
544
551
|
shape: t.shape,
|
|
545
552
|
radius: 30,
|
|
546
553
|
stroke: "none",
|
|
@@ -556,12 +563,12 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
556
563
|
key: 5,
|
|
557
564
|
ref_key: "svgRef",
|
|
558
565
|
ref: $e,
|
|
559
|
-
xmlns: d(
|
|
566
|
+
xmlns: d(wt),
|
|
560
567
|
class: A({ "vue-data-ui-fullscreen--on": U.value, "vue-data-ui-fulscreen--off": !U.value }),
|
|
561
568
|
viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${s.value.fullHeight <= 0 ? 10 : s.value.fullHeight}`,
|
|
562
569
|
style: c(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
563
570
|
}, [
|
|
564
|
-
|
|
571
|
+
Y(Bt),
|
|
565
572
|
a.$slots["chart-background"] ? (u(), r("foreignObject", {
|
|
566
573
|
key: 0,
|
|
567
574
|
x: 0,
|
|
@@ -572,9 +579,9 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
572
579
|
pointerEvents: "none"
|
|
573
580
|
}
|
|
574
581
|
}, [
|
|
575
|
-
|
|
582
|
+
b(a.$slots, "chart-background", {}, void 0, !0)
|
|
576
583
|
], 8, Gt)) : p("", !0),
|
|
577
|
-
(u(!0), r(
|
|
584
|
+
(u(!0), r(H, null, W(M.value, (t, o) => (u(), r("linearGradient", {
|
|
578
585
|
x1: "0%",
|
|
579
586
|
y1: "0%",
|
|
580
587
|
x2: "100%",
|
|
@@ -587,30 +594,30 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
587
594
|
}, null, 8, qt),
|
|
588
595
|
n("stop", {
|
|
589
596
|
offset: "100%",
|
|
590
|
-
"stop-color": d(pe)(d(
|
|
597
|
+
"stop-color": d(pe)(d(xt)(t.color, 0.03), 100 - e.value.style.chart.layout.bars.gradientIntensity)
|
|
591
598
|
}, null, 8, Yt)
|
|
592
599
|
], 8, jt))), 256)),
|
|
593
600
|
a.$slots.pattern ? (u(), r("g", Kt, [
|
|
594
|
-
(u(!0), r(
|
|
595
|
-
|
|
601
|
+
(u(!0), r(H, null, W(M.value, (t) => (u(), r("defs", null, [
|
|
602
|
+
b(a.$slots, "pattern", yt({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${C.value}_${t.absoluteIndex}` }), void 0, !0)
|
|
596
603
|
]))), 256))
|
|
597
604
|
])) : p("", !0),
|
|
598
|
-
(u(!0), r(
|
|
605
|
+
(u(!0), r(H, null, W(M.value, (t, o) => (u(), r("g", null, [
|
|
599
606
|
n("rect", {
|
|
600
|
-
x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 :
|
|
607
|
+
x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : w(t.value) <= 0 ? 1e-4 : w(t.value)) : s.value.left),
|
|
601
608
|
y: s.value.top + (g.value + v.value) * o,
|
|
602
|
-
width: d(N)(
|
|
609
|
+
width: d(N)(w(t.value) <= 0 ? 1e-4 : w(t.value)),
|
|
603
610
|
height: v.value <= 0 ? 1e-4 : v.value,
|
|
604
611
|
fill: e.value.style.chart.layout.bars.underlayerColor,
|
|
605
612
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
606
613
|
class: A({ animated: e.value.useCssAnimation })
|
|
607
614
|
}, null, 10, Jt)
|
|
608
615
|
]))), 256)),
|
|
609
|
-
(u(!0), r(
|
|
616
|
+
(u(!0), r(H, null, W(M.value, (t, o) => (u(), r("g", null, [
|
|
610
617
|
n("rect", {
|
|
611
|
-
x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 :
|
|
618
|
+
x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : w(t.value) <= 0 ? 1e-4 : w(t.value)) : s.value.left),
|
|
612
619
|
y: s.value.top + (g.value + v.value) * o,
|
|
613
|
-
width: d(N)(
|
|
620
|
+
width: d(N)(w(t.value) <= 0 ? 1e-4 : w(t.value)),
|
|
614
621
|
height: v.value <= 0 ? 1e-4 : v.value,
|
|
615
622
|
fill: e.value.style.chart.layout.bars.useGradient ? `url(#vertical_bar_gradient_${C.value}_${o})` : d(pe)(t.color, e.value.style.chart.layout.bars.fillOpacity),
|
|
616
623
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
@@ -620,9 +627,9 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
620
627
|
}, null, 10, Qt),
|
|
621
628
|
a.$slots.pattern ? (u(), r("rect", {
|
|
622
629
|
key: 0,
|
|
623
|
-
x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 :
|
|
630
|
+
x: d(N)(z.value ? s.value.left + s.value.width / 2 - (t.sign === 1 ? 0 : w(t.value) <= 0 ? 1e-4 : w(t.value)) : s.value.left),
|
|
624
631
|
y: s.value.top + (g.value + v.value) * o,
|
|
625
|
-
width: d(N)(
|
|
632
|
+
width: d(N)(w(t.value) <= 0 ? 1e-4 : w(t.value)),
|
|
626
633
|
height: v.value <= 0 ? 1e-4 : v.value,
|
|
627
634
|
fill: `url(#pattern_${C.value}_${t.absoluteIndex})`,
|
|
628
635
|
rx: e.value.style.chart.layout.bars.borderRadius,
|
|
@@ -670,21 +677,21 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
670
677
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), r("text", {
|
|
671
678
|
key: 4,
|
|
672
679
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
673
|
-
y:
|
|
680
|
+
y: q(t, o).y,
|
|
674
681
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
675
682
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
676
683
|
"font-weight": e.value.style.chart.layout.bars.parentLabels.bold ? "bold" : "normal",
|
|
677
684
|
"text-anchor": "start"
|
|
678
|
-
}, h(
|
|
685
|
+
}, h(q(t, o).name), 9, oa)) : p("", !0),
|
|
679
686
|
t.isChild && t.childIndex === 0 && e.value.style.chart.layout.bars.parentLabels.show ? (u(), r("text", {
|
|
680
687
|
key: 5,
|
|
681
688
|
x: 3 + e.value.style.chart.layout.bars.parentLabels.offsetX,
|
|
682
|
-
y:
|
|
689
|
+
y: q(t, o).y + e.value.style.chart.layout.bars.parentLabels.fontSize + 6,
|
|
683
690
|
"font-size": e.value.style.chart.layout.bars.parentLabels.fontSize,
|
|
684
691
|
fill: e.value.style.chart.layout.bars.parentLabels.color,
|
|
685
692
|
"font-weight": e.value.style.chart.layout.bars.dataLabels.bold ? "bold" : "normal",
|
|
686
693
|
"text-anchor": "start"
|
|
687
|
-
}, h(ze(
|
|
694
|
+
}, h(ze(q(t, o).value), q(t, o), o, t.parentSign || t.sign), 9, na)) : p("", !0),
|
|
688
695
|
n("rect", {
|
|
689
696
|
x: 0,
|
|
690
697
|
y: s.value.top + (g.value + v.value) * o - g.value / 2,
|
|
@@ -697,10 +704,10 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
697
704
|
})
|
|
698
705
|
}, null, 40, ua)
|
|
699
706
|
]))), 256)),
|
|
700
|
-
|
|
707
|
+
b(a.$slots, "svg", { svg: y.value }, void 0, !0)
|
|
701
708
|
], 14, Wt)) : p("", !0),
|
|
702
709
|
a.$slots.watermark ? (u(), r("div", sa, [
|
|
703
|
-
|
|
710
|
+
b(a.$slots, "watermark", X(E({ isPrinting: d(xe) || d(Ce) })), void 0, !0)
|
|
704
711
|
])) : p("", !0),
|
|
705
712
|
J.value ? p("", !0) : (u(), B(Mt, {
|
|
706
713
|
key: 7,
|
|
@@ -726,11 +733,11 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
726
733
|
key: `legend_bottom_${se.value}`,
|
|
727
734
|
legendSet: O.value,
|
|
728
735
|
config: Oe.value,
|
|
729
|
-
onClickMarker: l[2] || (l[2] = ({ legend: t }) =>
|
|
736
|
+
onClickMarker: l[2] || (l[2] = ({ legend: t }) => j(t.id))
|
|
730
737
|
}, ce({
|
|
731
738
|
item: k(({ legend: t, index: o }) => [
|
|
732
739
|
n("div", {
|
|
733
|
-
onClick: (_) =>
|
|
740
|
+
onClick: (_) => j(t.id),
|
|
734
741
|
style: c(`opacity:${P.value.includes(t.id) ? 0.5 : 1}`)
|
|
735
742
|
}, h(t.name) + ": " + h(d(le)(
|
|
736
743
|
e.value.style.chart.layout.bars.dataLabels.value.formatter,
|
|
@@ -749,7 +756,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
749
756
|
a.$slots.pattern ? {
|
|
750
757
|
name: "legend-pattern",
|
|
751
758
|
fn: k(({ legend: t, index: o }) => [
|
|
752
|
-
|
|
759
|
+
Y(Ge, {
|
|
753
760
|
shape: t.shape,
|
|
754
761
|
radius: 30,
|
|
755
762
|
stroke: "none",
|
|
@@ -761,16 +768,16 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
761
768
|
} : void 0
|
|
762
769
|
]), 1032, ["legendSet", "config"]))
|
|
763
770
|
], 512)) : p("", !0),
|
|
764
|
-
|
|
771
|
+
b(a.$slots, "legend", { legend: O.value }, void 0, !0),
|
|
765
772
|
a.$slots.source ? (u(), r("div", {
|
|
766
773
|
key: 9,
|
|
767
774
|
ref_key: "source",
|
|
768
775
|
ref: fe,
|
|
769
776
|
dir: "auto"
|
|
770
777
|
}, [
|
|
771
|
-
|
|
778
|
+
b(a.$slots, "source", {}, void 0, !0)
|
|
772
779
|
], 512)) : p("", !0),
|
|
773
|
-
|
|
780
|
+
Y(Ft, {
|
|
774
781
|
show: $.value.showTooltip && oe.value && P.value.length < T.dataset.length,
|
|
775
782
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
776
783
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -781,16 +788,16 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
781
788
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
782
789
|
position: e.value.style.chart.tooltip.position,
|
|
783
790
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
784
|
-
parent:
|
|
791
|
+
parent: G.value,
|
|
785
792
|
content: ne.value,
|
|
786
793
|
isFullscreen: U.value,
|
|
787
794
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
788
795
|
}, {
|
|
789
796
|
"tooltip-before": k(() => [
|
|
790
|
-
|
|
797
|
+
b(a.$slots, "tooltip-before", X(E({ ...de.value })), void 0, !0)
|
|
791
798
|
]),
|
|
792
799
|
"tooltip-after": k(() => [
|
|
793
|
-
|
|
800
|
+
b(a.$slots, "tooltip-after", X(E({ ...de.value })), void 0, !0)
|
|
794
801
|
]),
|
|
795
802
|
_: 3
|
|
796
803
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
@@ -824,7 +831,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
824
831
|
onClick: l[3] || (l[3] = (t) => $.value.showTable = !1),
|
|
825
832
|
onKeypress: l[4] || (l[4] = gt((t) => $.value.showTable = !1, ["enter"]))
|
|
826
833
|
}, [
|
|
827
|
-
|
|
834
|
+
Y(zt, {
|
|
828
835
|
name: "close",
|
|
829
836
|
stroke: e.value.table.th.color,
|
|
830
837
|
"stroke-width": 2
|
|
@@ -847,7 +854,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
847
854
|
role: "row",
|
|
848
855
|
style: c(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
|
|
849
856
|
}, [
|
|
850
|
-
(u(!0), r(
|
|
857
|
+
(u(!0), r(H, null, W(L.value.head, (t) => (u(), r("th", {
|
|
851
858
|
style: c(`outline:${e.value.table.th.outline}`)
|
|
852
859
|
}, [
|
|
853
860
|
n("div", ca, h(t), 1)
|
|
@@ -878,7 +885,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
878
885
|
])
|
|
879
886
|
]),
|
|
880
887
|
n("tbody", null, [
|
|
881
|
-
(u(!0), r(
|
|
888
|
+
(u(!0), r(H, null, W(L.value.body, (t, o) => (u(), r("tr", {
|
|
882
889
|
class: A({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
|
|
883
890
|
style: c(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
|
|
884
891
|
}, [
|
|
@@ -914,7 +921,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
914
921
|
style: c(`outline:${e.value.table.td.outline}`),
|
|
915
922
|
"data-cell": L.value.head[3] ?? ""
|
|
916
923
|
}, [
|
|
917
|
-
n("div",
|
|
924
|
+
n("div", ka, h(t.childName), 1)
|
|
918
925
|
], 12, ma),
|
|
919
926
|
n("td", {
|
|
920
927
|
class: "vue-ui-data-table__tbody__td",
|
|
@@ -922,14 +929,14 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
922
929
|
"data-cell": L.value.head[4] ?? ""
|
|
923
930
|
}, [
|
|
924
931
|
n("div", $a, h(e.value.table.td.prefix) + h(["", NaN, void 0].includes(t.childValue) ? "" : t.childValue.toFixed(e.value.table.td.roundingValue)) + h(e.value.table.td.suffix), 1)
|
|
925
|
-
], 12,
|
|
932
|
+
], 12, _a),
|
|
926
933
|
n("td", {
|
|
927
934
|
class: "vue-ui-data-table__tbody__td",
|
|
928
935
|
style: c(`outline:${e.value.table.td.outline}`),
|
|
929
936
|
"data-cell": L.value.head[5] ?? ""
|
|
930
937
|
}, [
|
|
931
|
-
n("div",
|
|
932
|
-
], 12,
|
|
938
|
+
n("div", xa, h(["", NaN, void 0].includes(t.childPercentageToParent) ? "" : `${(t.childPercentageToParent * 100).toFixed(e.value.table.td.roundingPercentage)}%`), 1)
|
|
939
|
+
], 12, wa),
|
|
933
940
|
n("td", {
|
|
934
941
|
class: "vue-ui-data-table__tbody__td",
|
|
935
942
|
style: c(`outline:${e.value.table.td.outline}`),
|
|
@@ -948,7 +955,7 @@ const Et = ["id"], Ht = ["onClick"], Wt = ["xmlns", "viewBox"], Gt = ["width", "
|
|
|
948
955
|
}, 8, ["config"])) : p("", !0)
|
|
949
956
|
], 46, Et));
|
|
950
957
|
}
|
|
951
|
-
}, Wa = /* @__PURE__ */ Xt(La, [["__scopeId", "data-v-
|
|
958
|
+
}, Wa = /* @__PURE__ */ Xt(La, [["__scopeId", "data-v-743d59c1"]]);
|
|
952
959
|
export {
|
|
953
960
|
Wa as default
|
|
954
961
|
};
|