vue-data-ui 2.6.19 → 2.6.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/{Arrow-QMACp9z-.cjs → Arrow-C1pcd-am.cjs} +1 -1
- package/dist/{Arrow-DTtLZwne.js → Arrow-DQaZQgi6.js} +1 -1
- package/dist/{BaseIcon-BpRuwiFD.cjs → BaseIcon-BQwivF_K.cjs} +1 -1
- package/dist/{BaseIcon-nz-vbP7I.js → BaseIcon-DH34CAFx.js} +1 -1
- package/dist/{DataTable-Dr-djTUz.cjs → DataTable-D5572vAU.cjs} +1 -1
- package/dist/{DataTable-pNLWbeCL.js → DataTable-DfMqgTjL.js} +2 -2
- package/dist/{Legend-BHbX2C8f.cjs → Legend-CoREnR30.cjs} +1 -1
- package/dist/{Legend-s9DRKvJo.js → Legend-PL8rU0J1.js} +2 -2
- package/dist/{PackageVersion-hltZM-fb.js → PackageVersion-1Y7SXTrk.js} +1 -1
- package/dist/{PackageVersion-DsoqDgVf.cjs → PackageVersion-JsuXjgR_.cjs} +1 -1
- package/dist/PenAndPaper-7lGhxIH8.cjs +1 -0
- package/dist/{PenAndPaper-qmkn1GhB.js → PenAndPaper-BYhUvcy4.js} +20 -16
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-z17A_S1M.js → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-AmNwJZI7.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-lH7bkq1z.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_3cea7589_lang-NplvneD1.cjs} +1 -1
- package/dist/{Shape-YhMDtuHk.cjs → Shape-HtDeeGqp.cjs} +1 -1
- package/dist/{Shape-C3y6rj0O.js → Shape-Ov27sl2L.js} +1 -1
- package/dist/{Slicer-BIW17-XH.js → Slicer-6F4tHrZR.js} +3 -3
- package/dist/{Slicer-BA8XF-Ak.cjs → Slicer-COXIFuZ-.cjs} +1 -1
- package/dist/{Title-dsg3PqUg.js → Title-1PWD04Gh.js} +1 -1
- package/dist/{Title-DWqgN4Kv.cjs → Title-Pgt1Ixvo.cjs} +1 -1
- package/dist/{Tooltip-DRFQIslg.js → Tooltip-BTO5NGkn.js} +1 -1
- package/dist/{Tooltip-B6T_qzJD.cjs → Tooltip-te_h24w6.cjs} +1 -1
- package/dist/{index-3OrObUP-.cjs → index-DM-Bs-Ua.cjs} +1 -1
- package/dist/{index-DvAaY6OP.js → index-DUnEDLbc.js} +1 -1
- package/dist/index.es-DvaaoatM.cjs +18 -0
- package/dist/index.es-RWt7DWPC.js +6645 -0
- package/dist/{jspdf.es.min-C5v1xtPn.cjs → jspdf.es.min-Rw70uifz.cjs} +23 -23
- package/dist/{jspdf.es.min-DKXYalZb.js → jspdf.es.min-eTA26cmm.js} +476 -470
- package/dist/{pdf-CHXlEvWj.cjs → pdf-DSkQT5iH.cjs} +1 -1
- package/dist/{pdf-70oZh5Jp.js → pdf-DVWl3Adn.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CGzX7c5Q.js → useNestedProp-CEMeoM-f.js} +1 -1
- package/dist/{useNestedProp-B53Yi1Rk.cjs → useNestedProp-CYy5g-mh.cjs} +1 -1
- package/dist/usePrinter-DbpIk44f.cjs +1 -0
- package/dist/{usePrinter-D_2jA4x8.js → usePrinter-Undaynpo.js} +73 -71
- package/dist/useResponsive-N8jl0-aC.cjs +1 -0
- package/dist/{useResponsive-BWapHhVH.js → useResponsive-vZgZwV-S.js} +65 -64
- package/dist/{vue-data-ui-CTjgYwlW.cjs → vue-data-ui-BapofDyJ.cjs} +1 -1
- package/dist/{vue-data-ui-DMl9rAwQ.js → vue-data-ui-DnaIYz0z.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DBVRoMwv.js → vue-ui-3d-bar-DLYaW0-y.js} +105 -98
- package/dist/{vue-ui-3d-bar-OwVsZokU.cjs → vue-ui-3d-bar-DansBM76.cjs} +2 -2
- package/dist/{vue-ui-accordion-LbUarYuf.js → vue-ui-accordion-C8Couc_G.js} +3 -3
- package/dist/{vue-ui-accordion-BmScSwW2.cjs → vue-ui-accordion-ZIsT4At8.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DQ5dL4yb.cjs → vue-ui-age-pyramid-BSXnW9GF.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rmfEfmj7.js → vue-ui-age-pyramid-BdruKMmo.js} +76 -69
- package/dist/{vue-ui-annotator-nS_RSspz.cjs → vue-ui-annotator-B7Go0M7W.cjs} +1 -1
- package/dist/{vue-ui-annotator-FlMkU7Kj.js → vue-ui-annotator-DVfdPMa7.js} +2 -2
- package/dist/{vue-ui-bullet-esfPgi-9.js → vue-ui-bullet-CkCJgmoJ.js} +145 -138
- package/dist/{vue-ui-bullet-BGTTcXBJ.cjs → vue-ui-bullet-N9ud2cQ7.cjs} +4 -4
- package/dist/{vue-ui-candlestick-RHrlnUqs.js → vue-ui-candlestick-C9B13qeU.js} +116 -109
- package/dist/{vue-ui-candlestick-BUEGFHg_.cjs → vue-ui-candlestick-DPIs9tEW.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-6uP-Kk9U.js → vue-ui-carousel-table-BLo52Rqu.js} +130 -123
- package/dist/{vue-ui-carousel-table-DCcPnWRU.cjs → vue-ui-carousel-table-DgcY4j9y.cjs} +1 -1
- package/dist/{vue-ui-chestnut-B7Ep4Lho.cjs → vue-ui-chestnut-C9Zw_bey.cjs} +2 -2
- package/dist/{vue-ui-chestnut-Dh4y5s_v.js → vue-ui-chestnut-D8oXG8Tf.js} +131 -124
- package/dist/vue-ui-circle-pack-CrEdkNM7.js +648 -0
- package/dist/vue-ui-circle-pack-DYW-e2E5.cjs +1 -0
- package/dist/{vue-ui-cursor-D-IzE_jd.cjs → vue-ui-cursor-CtSijliN.cjs} +1 -1
- package/dist/{vue-ui-cursor-C21WgpGu.js → vue-ui-cursor-DkW4pJcP.js} +2 -2
- package/dist/{vue-ui-dashboard-T0LqYCqM.js → vue-ui-dashboard-5_Du0Yr2.js} +3 -3
- package/dist/{vue-ui-dashboard-DQ_wht4B.cjs → vue-ui-dashboard-Dh5vRbdI.cjs} +1 -1
- package/dist/{vue-ui-digits-CwV6mhHZ.cjs → vue-ui-digits-DEmYk7sS.cjs} +1 -1
- package/dist/{vue-ui-digits-CLFrlUIW.js → vue-ui-digits-DhA1bHdz.js} +2 -2
- package/dist/{vue-ui-donut-dVplEheX.js → vue-ui-donut-B-G7gRdV.js} +118 -111
- package/dist/{vue-ui-donut-b_UXDeKJ.cjs → vue-ui-donut-BrZxaijU.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-Bl50EWBG.js → vue-ui-donut-evolution-B4almlBq.js} +164 -157
- package/dist/{vue-ui-donut-evolution-VxNtQWGH.cjs → vue-ui-donut-evolution-CTbXi7wk.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B-7s7x7a.cjs → vue-ui-dumbbell-CAIlnhsM.cjs} +2 -2
- package/dist/{vue-ui-dumbbell-Bp685TTG.js → vue-ui-dumbbell-kZGa__IU.js} +75 -68
- package/dist/{vue-ui-flow-CHbfoU97.js → vue-ui-flow-Bc31ZN1W.js} +177 -170
- package/dist/{vue-ui-flow-DJqOVlD7.cjs → vue-ui-flow-D2UNbwlp.cjs} +1 -1
- package/dist/{vue-ui-funnel-B77giO54.cjs → vue-ui-funnel-DfCz1GNN.cjs} +1 -1
- package/dist/{vue-ui-funnel-Bhv0XRzJ.js → vue-ui-funnel-V7hu2Iib.js} +129 -122
- package/dist/{vue-ui-galaxy-Dt4dx9bS.cjs → vue-ui-galaxy-CNBC7IbU.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DMA8AX8h.js → vue-ui-galaxy-DLCcy7Kq.js} +77 -70
- package/dist/{vue-ui-gauge-CBlurlZk.js → vue-ui-gauge-CZMHtEcr.js} +153 -146
- package/dist/{vue-ui-gauge-Bh3iSbSd.cjs → vue-ui-gauge-D8IglqIF.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CHhJKge-.js → vue-ui-gizmo-BuAVBMBp.js} +3 -3
- package/dist/{vue-ui-gizmo-BMrnNfYR.cjs → vue-ui-gizmo-fyC414Iv.cjs} +1 -1
- package/dist/vue-ui-heatmap-CDOry_F1.cjs +1 -0
- package/dist/{vue-ui-heatmap-CB4852rp.js → vue-ui-heatmap-hUfFzGck.js} +139 -132
- package/dist/{vue-ui-history-plot-AwmdEhYL.js → vue-ui-history-plot-C79l8rPm.js} +122 -115
- package/dist/{vue-ui-history-plot-BG7r0ZF7.cjs → vue-ui-history-plot-CIXgvWpk.cjs} +1 -1
- package/dist/{vue-ui-kpi-DcxE4Vv7.js → vue-ui-kpi-C3tHthXH.js} +3 -3
- package/dist/{vue-ui-kpi-BYCMEzBt.cjs → vue-ui-kpi-yiWxNLJ-.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CdDRH8Rb.js → vue-ui-mini-loader-1p1jAKx_.js} +2 -2
- package/dist/{vue-ui-mini-loader-DOqUfxRJ.cjs → vue-ui-mini-loader-26yCYjxn.cjs} +1 -1
- package/dist/{vue-ui-molecule-C-Z0Ywq1.cjs → vue-ui-molecule-Bw0dYLfu.cjs} +1 -1
- package/dist/{vue-ui-molecule-BskBKGbQ.js → vue-ui-molecule-COQ-yrBr.js} +249 -242
- package/dist/{vue-ui-mood-radar-BAPZ1LyF.js → vue-ui-mood-radar-CwfGiQ43.js} +111 -104
- package/dist/{vue-ui-mood-radar-BIrQKfVf.cjs → vue-ui-mood-radar-Cyde9hnR.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BB2Kgb5F.js → vue-ui-nested-donuts-BVaW7w1U.js} +117 -110
- package/dist/{vue-ui-nested-donuts-7YjtP-jC.cjs → vue-ui-nested-donuts-Y07lLGRa.cjs} +2 -2
- package/dist/{vue-ui-onion-BWb18zcN.cjs → vue-ui-onion-DkXss-B_.cjs} +2 -2
- package/dist/{vue-ui-onion-BjMfXAZK.js → vue-ui-onion-h6DP9kOi.js} +143 -136
- package/dist/{vue-ui-parallel-coordinate-plot-D6Vs-5Vh.cjs → vue-ui-parallel-coordinate-plot-CkI21cq2.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-ryqdfkHL.js → vue-ui-parallel-coordinate-plot-O5cwKbzH.js} +113 -106
- package/dist/{vue-ui-quadrant-Cr4ypLzT.js → vue-ui-quadrant-CfywvXnV.js} +112 -105
- package/dist/{vue-ui-quadrant-BmsHBpKo.cjs → vue-ui-quadrant-F6w-QJE_.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-45IEXHb0.cjs → vue-ui-quick-chart-BeMHD_Kz.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-C9dIHRYi.js → vue-ui-quick-chart-C1AwFGSr.js} +195 -188
- package/dist/{vue-ui-radar-Nr5JmVlk.cjs → vue-ui-radar-BejYh3DW.cjs} +1 -1
- package/dist/{vue-ui-radar-T6xdl9ic.js → vue-ui-radar-DDKXLi5o.js} +101 -94
- package/dist/{vue-ui-rating-C5AaiBqZ.js → vue-ui-rating-BrGbM0Op.js} +2 -2
- package/dist/{vue-ui-rating-CFIhZlG-.cjs → vue-ui-rating-C40ktvn7.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Cw-DcsRY.cjs → vue-ui-relation-circle-C4qT13SI.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BktS594K.js → vue-ui-relation-circle-DrtdiTMX.js} +103 -96
- package/dist/{vue-ui-rings-_evAK3j7.js → vue-ui-rings-C4IdhEUE.js} +169 -162
- package/dist/{vue-ui-rings-2j5fsO_o.cjs → vue-ui-rings-Cd8WyeDZ.cjs} +2 -2
- package/dist/{vue-ui-scatter-C5ePnByD.js → vue-ui-scatter-BS8sgyMi.js} +85 -78
- package/dist/{vue-ui-scatter-W1_ChsfO.cjs → vue-ui-scatter-MmvIeu4D.cjs} +1 -1
- package/dist/{vue-ui-screenshot-B6ASKPJf.cjs → vue-ui-screenshot-BB51-eRL.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DM-PQM2g.js → vue-ui-screenshot-tnFPT1vi.js} +1 -1
- package/dist/{vue-ui-skeleton-WoggMoff.js → vue-ui-skeleton-DieABKlo.js} +3 -3
- package/dist/{vue-ui-skeleton-DaowWOKJ.cjs → vue-ui-skeleton-DlC-U64G.cjs} +1 -1
- package/dist/{vue-ui-smiley-gulDZ8i7.js → vue-ui-smiley-C32wVXgu.js} +2 -2
- package/dist/{vue-ui-smiley-hlaNlq2y.cjs → vue-ui-smiley-DSxKw3ud.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-LbApLsdt.js → vue-ui-spark-trend-B_x1dX38.js} +5 -5
- package/dist/{vue-ui-spark-trend-BcrMflk6.cjs → vue-ui-spark-trend-vexkCCy9.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BdfaDBkw.cjs → vue-ui-sparkbar-CsOEiHDQ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CnL6FbaE.js → vue-ui-sparkbar-ZSbB6Llo.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CHv1q1cO.cjs → vue-ui-sparkgauge-Bdh7X--h.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Du7PRJyB.js → vue-ui-sparkgauge-Cf3bDk98.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CyEyZvbD.js → vue-ui-sparkhistogram-CrZy1xf0.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CBqKXnvX.cjs → vue-ui-sparkhistogram-fALwb3uK.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DRHE0kK8.cjs → vue-ui-sparkline-D4WDvcZR.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BMNXPHhB.js → vue-ui-sparkline-DTW_lXgp.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-D6wuDd8h.cjs → vue-ui-sparkstackbar-DBPLhUoi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D33lwh8d.js → vue-ui-sparkstackbar-Db2Ndf0k.js} +5 -5
- package/dist/{vue-ui-stackbar-CnxGAca-.cjs → vue-ui-stackbar-B3eaSIoO.cjs} +3 -3
- package/dist/{vue-ui-stackbar-C5yoqQAY.js → vue-ui-stackbar-DbF3ZJTD.js} +211 -204
- package/dist/{vue-ui-strip-plot-Cg1B7i3X.js → vue-ui-strip-plot-CpkH2Gfd.js} +83 -76
- package/dist/{vue-ui-strip-plot-DDTTc2jA.cjs → vue-ui-strip-plot-DiCVf5u-.cjs} +1 -1
- package/dist/{vue-ui-table-BGfZl0wF.js → vue-ui-table-D6zWwikN.js} +1 -1
- package/dist/{vue-ui-table-TV5Coa0A.cjs → vue-ui-table-K13fqkDI.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Jjx8L8St.cjs → vue-ui-table-heatmap-BgenCoVa.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-D0j2OFv0.js → vue-ui-table-heatmap-EAevgnzN.js} +63 -56
- package/dist/{vue-ui-table-sparkline-D0_FhhN5.cjs → vue-ui-table-sparkline-3JMqr89P.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-C2sUG_7S.js → vue-ui-table-sparkline-s_oWe6MG.js} +90 -83
- package/dist/{vue-ui-thermometer-Bw35Fw8v.cjs → vue-ui-thermometer--mYRly4x.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CdLZ8te2.js → vue-ui-thermometer-Bo3l_0Kf.js} +113 -106
- package/dist/{vue-ui-timer-1-kXQ5_q.js → vue-ui-timer-C9EuUurN.js} +6 -6
- package/dist/{vue-ui-timer-Deg5YPx0.cjs → vue-ui-timer-Djh-ZDNe.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-uSgVLSbo.cjs → vue-ui-tiremarks-CKv_KApZ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BHTSw0fa.js → vue-ui-tiremarks-DgdpEDJ1.js} +76 -69
- package/dist/{vue-ui-treemap-7W_lvbV0.cjs → vue-ui-treemap-AkNJjd2c.cjs} +1 -1
- package/dist/{vue-ui-treemap-C2u5sEzh.js → vue-ui-treemap-D13sISL0.js} +144 -137
- package/dist/{vue-ui-vertical-bar-BlzOi8LC.cjs → vue-ui-vertical-bar-CQlvpdJl.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-U3LQF-NS.js → vue-ui-vertical-bar-DfegzHj4.js} +120 -113
- package/dist/{vue-ui-waffle-DUXvINoC.cjs → vue-ui-waffle-Dve1LWVt.cjs} +1 -1
- package/dist/{vue-ui-waffle-qAheWwiI.js → vue-ui-waffle-f72Lq8_D.js} +78 -71
- package/dist/{vue-ui-wheel-DIoKCgCS.cjs → vue-ui-wheel-BG1GcVvN.cjs} +1 -1
- package/dist/{vue-ui-wheel-CuLQchDK.js → vue-ui-wheel-BxefMdit.js} +105 -98
- package/dist/{vue-ui-word-cloud-B-nFH7hZ.js → vue-ui-word-cloud-BYY4K2G4.js} +123 -116
- package/dist/{vue-ui-word-cloud-BSvmRQ5n.cjs → vue-ui-word-cloud-CRRR7H7h.cjs} +1 -1
- package/dist/{vue-ui-xy-DXMoSF2C.js → vue-ui-xy-BS0_aTIH.js} +73 -66
- package/dist/{vue-ui-xy-BGsFH9wE.cjs → vue-ui-xy-DGYZFgdd.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-CTymfSH6.js → vue-ui-xy-canvas-Bl2v7Z3U.js} +200 -193
- package/dist/{vue-ui-xy-canvas-i13v43UX.cjs → vue-ui-xy-canvas-R_pPaj0X.cjs} +2 -2
- package/package.json +2 -7
- package/dist/PenAndPaper-Dbw8Fph9.cjs +0 -1
- package/dist/index-Dwoe0gcF.cjs +0 -15
- package/dist/index-Fl-W8YeZ.js +0 -3971
- package/dist/usePrinter-bPnqqKha.cjs +0 -1
- package/dist/useResponsive-YQYQrAZ_.cjs +0 -1
- package/dist/vue-ui-circle-pack-Ce1oEvgz.cjs +0 -1
- package/dist/vue-ui-circle-pack-CrgnQ_jY.js +0 -663
- package/dist/vue-ui-heatmap-DvItO4xs.cjs +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { computed as y, ref as f, watch as pe, onMounted as Ge, onBeforeUnmount as Ee, createElementBlock as u, openBlock as
|
|
2
|
-
import { u as je, c as Te, t as Le, p as ke, a as De, b as Be, o as be, d as Ve, e as
|
|
3
|
-
import { t as Je, u as Ke } from "./useResponsive-
|
|
4
|
-
import { u as Qe, U as et } from "./usePrinter-
|
|
5
|
-
import tt from "./vue-ui-skeleton-
|
|
6
|
-
import { _ as at } from "./Title-
|
|
7
|
-
import { u as xe } from "./useNestedProp-
|
|
8
|
-
import { _ as lt } from "./PackageVersion-
|
|
9
|
-
import { P as rt } from "./PenAndPaper-
|
|
1
|
+
import { computed as y, ref as f, watch as pe, onMounted as Ge, onBeforeUnmount as Ee, createElementBlock as u, openBlock as s, unref as i, normalizeStyle as B, normalizeClass as ge, createBlock as G, createCommentVNode as c, createElementVNode as p, withCtx as P, toDisplayString as O, createSlots as Ue, renderSlot as x, normalizeProps as E, guardReactiveProps as U, createVNode as We, Fragment as g, renderList as S, mergeProps as X } from "vue";
|
|
2
|
+
import { u as je, c as Te, t as Le, p as ke, a as De, b as Be, o as be, d as Ve, e as W, g as _e, m as V, I as z, N as qe, X as He, s as q, n as Ze, i as H, f as Z, F as J } from "./index-DUnEDLbc.js";
|
|
3
|
+
import { t as Je, u as Ke } from "./useResponsive-vZgZwV-S.js";
|
|
4
|
+
import { u as Qe, U as et } from "./usePrinter-Undaynpo.js";
|
|
5
|
+
import tt from "./vue-ui-skeleton-DieABKlo.js";
|
|
6
|
+
import { _ as at } from "./Title-1PWD04Gh.js";
|
|
7
|
+
import { u as xe } from "./useNestedProp-CEMeoM-f.js";
|
|
8
|
+
import { _ as lt } from "./PackageVersion-1Y7SXTrk.js";
|
|
9
|
+
import { P as rt } from "./PenAndPaper-BYhUvcy4.js";
|
|
10
10
|
import { u as st } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
11
|
import { u as ot } from "./useChartAccessibility-BWojgys7.js";
|
|
12
12
|
import { _ as ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
-
const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "height"],
|
|
13
|
+
const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "height"], dt = ["id"], ht = ["stop-color"], yt = ["stop-color"], ft = ["stop-color"], mt = ["id"], pt = ["stdDeviation"], gt = { key: 1 }, kt = ["d", "fill", "stroke"], bt = ["d", "fill", "stroke"], _t = ["d", "fill"], xt = ["id", "d"], wt = ["fill", "font-size", "font-weight"], St = ["href", "startOffset"], $t = ["x", "y", "text-anchor", "fill", "font-size", "font-weight"], zt = ["d", "filter"], Ft = ["stroke", "stroke-width"], Ct = ["stroke", "stroke-width"], Ot = ["stroke", "stroke-width"], Mt = ["stroke", "stroke-width"], Pt = { key: 8 }, Nt = ["x", "y", "text-anchor", "font-size", "font-weight", "fill"], Xt = ["x", "y", "font-size", "font-weight", "fill"], It = { key: 0 }, Yt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], At = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = ["x1", "y1", "x2", "y2", "stroke-width", "filter"], Gt = { key: 1 }, Et = ["d", "fill", "stroke", "stroke-width"], Ut = ["cx", "cy", "fill", "r", "stroke-width", "stroke"], Wt = ["x", "y", "font-size", "fill"], jt = {
|
|
14
14
|
key: 5,
|
|
15
15
|
class: "vue-data-ui-watermark"
|
|
16
16
|
}, Tt = {
|
|
@@ -29,22 +29,22 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const { vue_ui_gauge: Se } = je(),
|
|
32
|
+
setup(j, { expose: we }) {
|
|
33
|
+
const { vue_ui_gauge: Se } = je(), d = j, I = y(() => !!d.dataset && Object.keys(d.dataset).length > 0 && d.dataset.series && d.dataset.series.length), b = f(Te()), $e = f(null), K = f(0), Y = f(null), Q = f(null), ee = f(null), te = f(null), ae = f(null), le = f(0), e = y({
|
|
34
34
|
get: () => ue(),
|
|
35
35
|
set: (t) => t
|
|
36
|
-
}), { userOptionsVisible:
|
|
37
|
-
pe(() =>
|
|
38
|
-
e.value = ue(),
|
|
36
|
+
}), { userOptionsVisible: T, setUserOptionsVisibility: re, keepUserOptionState: se } = st({ config: e.value }), { svgRef: oe } = ot({ config: e.value.style.chart.title });
|
|
37
|
+
pe(() => d.config, (t) => {
|
|
38
|
+
e.value = ue(), T.value = !e.value.userOptions.showOnChartHover, he(), le.value += 1;
|
|
39
39
|
}, { deep: !0 });
|
|
40
40
|
function ue() {
|
|
41
41
|
const t = xe({
|
|
42
|
-
userConfig:
|
|
42
|
+
userConfig: d.config,
|
|
43
43
|
defaultConfig: Se
|
|
44
44
|
});
|
|
45
45
|
return t.theme ? {
|
|
46
46
|
...xe({
|
|
47
|
-
userConfig: De.vue_ui_gauge[t.theme] ||
|
|
47
|
+
userConfig: De.vue_ui_gauge[t.theme] || d.config,
|
|
48
48
|
defaultConfig: t
|
|
49
49
|
}),
|
|
50
50
|
customPalette: Le[t.theme] || ke
|
|
@@ -54,7 +54,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
54
54
|
elementId: `vue-ui-gauge_${b.value}`,
|
|
55
55
|
fileName: e.value.style.chart.title.text || "vue-ui-gauge"
|
|
56
56
|
}), ze = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = y(() => Be(e.value.customPalette)), F = y(() => {
|
|
57
|
-
if (!I.value || be(
|
|
57
|
+
if (!I.value || be(d.dataset.series || {}))
|
|
58
58
|
return {
|
|
59
59
|
value: 0,
|
|
60
60
|
series: [
|
|
@@ -65,15 +65,15 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
65
65
|
]
|
|
66
66
|
};
|
|
67
67
|
const t = [];
|
|
68
|
-
(
|
|
68
|
+
(d.dataset.series || []).forEach((a) => {
|
|
69
69
|
t.push(a.from || 1e-7), t.push(a.to || 1e-7);
|
|
70
70
|
});
|
|
71
71
|
const o = Math.max(...t);
|
|
72
72
|
return {
|
|
73
|
-
...
|
|
74
|
-
series: (
|
|
73
|
+
...d.dataset,
|
|
74
|
+
series: (d.dataset.series || []).map((a, r) => ({
|
|
75
75
|
...a,
|
|
76
|
-
color: Ve(a.color) || Fe.value[
|
|
76
|
+
color: Ve(a.color) || Fe.value[r] || ke[r],
|
|
77
77
|
value: ((a.to || 0) - (a.from || 0)) / o * 100
|
|
78
78
|
}))
|
|
79
79
|
};
|
|
@@ -93,10 +93,10 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
93
93
|
markerOffset: e.value.style.chart.layout.markers.offsetY + 3,
|
|
94
94
|
segmentFontSize: e.value.style.chart.layout.segmentNames.fontSize
|
|
95
95
|
}), M = f(0), $ = f(0), m = f(
|
|
96
|
-
e.value.style.chart.animation.use ? Math.min(...
|
|
96
|
+
e.value.style.chart.animation.use ? Math.min(...d.dataset.series.map((t) => t.from)) : d.dataset.value
|
|
97
97
|
);
|
|
98
|
-
pe(() =>
|
|
99
|
-
ye(
|
|
98
|
+
pe(() => d.dataset.value, () => {
|
|
99
|
+
ye(d.dataset.value);
|
|
100
100
|
});
|
|
101
101
|
const n = y(() => {
|
|
102
102
|
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 - $.value) / (M.value - $.value)) + Math.PI;
|
|
@@ -106,47 +106,47 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
106
106
|
x2: t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a),
|
|
107
107
|
y2: o + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a)
|
|
108
108
|
};
|
|
109
|
-
}),
|
|
110
|
-
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 - $.value) / (M.value - $.value)) + Math.PI,
|
|
111
|
-
return isNaN(
|
|
112
|
-
}),
|
|
109
|
+
}), de = y(() => {
|
|
110
|
+
const t = l.value.width / 2, o = v.value.base, a = Math.PI * ((m.value + 0 - $.value) / (M.value - $.value)) + Math.PI, r = t + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.cos(a), _ = o + v.value.pointerSize * l.value.pointerSize * 0.9 * Math.sin(a), w = l.value.pointerRadius, Ie = t + w * Math.cos(a + Math.PI / 2), Ye = o + w * Math.sin(a + Math.PI / 2), Ae = t + w * Math.cos(a - Math.PI / 2), Re = o + w * Math.sin(a - Math.PI / 2);
|
|
111
|
+
return isNaN(r) ? null : `M ${r},${_} ${Ie},${Ye} ${Ae},${Re} Z`;
|
|
112
|
+
}), L = y(() => {
|
|
113
113
|
for (let t = 0; t < F.value.series.length; t += 1) {
|
|
114
|
-
const { color: o, from: a, to:
|
|
115
|
-
if (m.value >= a && m.value <=
|
|
114
|
+
const { color: o, from: a, to: r } = F.value.series[t];
|
|
115
|
+
if (m.value >= a && m.value <= r)
|
|
116
116
|
return o;
|
|
117
117
|
}
|
|
118
118
|
return "#2D353C";
|
|
119
119
|
}), A = f(null);
|
|
120
|
-
function
|
|
121
|
-
if (be(
|
|
120
|
+
function he() {
|
|
121
|
+
if (be(d.dataset) ? W({
|
|
122
122
|
componentName: "VueUiGauge",
|
|
123
123
|
type: "dataset"
|
|
124
124
|
}) : (_e({
|
|
125
|
-
datasetObject:
|
|
125
|
+
datasetObject: d.dataset,
|
|
126
126
|
requiredAttributes: ["value", "series"]
|
|
127
127
|
}).forEach((t) => {
|
|
128
|
-
|
|
128
|
+
W({
|
|
129
129
|
componentName: "VueUiGauge",
|
|
130
130
|
type: "datasetAttribute",
|
|
131
131
|
property: t
|
|
132
132
|
});
|
|
133
|
-
}), Object.hasOwn(
|
|
133
|
+
}), Object.hasOwn(d.dataset, "series") && (d.dataset.series.length ? d.dataset.series.forEach((t, o) => {
|
|
134
134
|
_e({
|
|
135
135
|
datasetObject: t,
|
|
136
136
|
requiredAttributes: ["from", "to"]
|
|
137
137
|
}).forEach((a) => {
|
|
138
|
-
|
|
138
|
+
W({
|
|
139
139
|
componentName: "VueUiGauge",
|
|
140
140
|
type: "datasetSerieAttribute",
|
|
141
141
|
property: a,
|
|
142
142
|
index: o
|
|
143
143
|
});
|
|
144
144
|
});
|
|
145
|
-
}) :
|
|
145
|
+
}) : W({
|
|
146
146
|
componentName: "VueUiGauge",
|
|
147
147
|
type: "datasetAttributeEmpty",
|
|
148
148
|
property: "series"
|
|
149
|
-
}))), ye(
|
|
149
|
+
}))), ye(d.dataset.value || 0), e.value.responsive) {
|
|
150
150
|
const t = Je(() => {
|
|
151
151
|
const { width: o, height: a } = Ke({
|
|
152
152
|
chart: Y.value,
|
|
@@ -181,19 +181,19 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
Ge(() => {
|
|
184
|
-
|
|
184
|
+
he();
|
|
185
185
|
}), Ee(() => {
|
|
186
186
|
A.value && A.value.disconnect();
|
|
187
187
|
});
|
|
188
188
|
function ye(t) {
|
|
189
189
|
const o = [];
|
|
190
|
-
(F.value.series || []).forEach((
|
|
191
|
-
o.push(
|
|
190
|
+
(F.value.series || []).forEach((w) => {
|
|
191
|
+
o.push(w.from || 0), o.push(w.to || 0);
|
|
192
192
|
}), M.value = Math.max(...o), $.value = Math.min(...o);
|
|
193
193
|
let a = e.value.style.chart.animation.speed;
|
|
194
|
-
const
|
|
194
|
+
const r = Math.abs(t - m.value) / (a * 60);
|
|
195
195
|
function _() {
|
|
196
|
-
m.value < t ? m.value = Math.min(m.value +
|
|
196
|
+
m.value < t ? m.value = Math.min(m.value + r, t) : m.value > t && (m.value = Math.max(m.value - r, t)), m.value !== t && requestAnimationFrame(_);
|
|
197
197
|
}
|
|
198
198
|
_();
|
|
199
199
|
}
|
|
@@ -206,7 +206,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
206
206
|
ratingBase: e.value.responsive ? l.value.height / 2 + l.value.height / 4 : l.value.height * 0.9,
|
|
207
207
|
pointerSize: e.value.responsive ? Math.min(l.value.width, l.value.height) / 3 : l.value.width / 3.2
|
|
208
208
|
};
|
|
209
|
-
}),
|
|
209
|
+
}), h = y(() => V(
|
|
210
210
|
{ series: F.value.series },
|
|
211
211
|
l.value.width / 2,
|
|
212
212
|
v.value.base,
|
|
@@ -230,45 +230,45 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
230
230
|
180,
|
|
231
231
|
109.9495,
|
|
232
232
|
40 * l.value.trackSize
|
|
233
|
-
)), C = y(() =>
|
|
233
|
+
)), C = y(() => h.value.map((t) => v.value.arcs * e.value.style.chart.layout.segmentNames.offsetRatio * (t.nameOffsetRatio || 1))), fe = y(() => {
|
|
234
234
|
const { x: t, y: o } = z({
|
|
235
|
-
initX:
|
|
236
|
-
initY:
|
|
235
|
+
initX: h.value[0].firstSeparator.x,
|
|
236
|
+
initY: h.value[0].firstSeparator.y,
|
|
237
237
|
centerX: n.value.x1,
|
|
238
238
|
centerY: n.value.y1,
|
|
239
239
|
offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
|
|
240
|
-
}), { x: a, y:
|
|
241
|
-
initX:
|
|
242
|
-
initY:
|
|
240
|
+
}), { x: a, y: r } = z({
|
|
241
|
+
initX: h.value[0].startX,
|
|
242
|
+
initY: h.value[0].startY,
|
|
243
243
|
centerX: n.value.x1,
|
|
244
244
|
centerY: n.value.y1,
|
|
245
245
|
offset: e.value.style.chart.layout.segmentSeparators.offsetOut
|
|
246
246
|
});
|
|
247
|
-
return { x1: t, y1: o, x2: a, y2:
|
|
248
|
-
}), me = y(() =>
|
|
247
|
+
return { x1: t, y1: o, x2: a, y2: r };
|
|
248
|
+
}), me = y(() => h.value.map((t) => {
|
|
249
249
|
const { x: o, y: a } = z({
|
|
250
250
|
initX: t.separator.x,
|
|
251
251
|
initY: t.separator.y,
|
|
252
252
|
centerX: n.value.x1,
|
|
253
253
|
centerY: n.value.y1,
|
|
254
254
|
offset: -e.value.style.chart.layout.segmentSeparators.offsetIn
|
|
255
|
-
}), { x:
|
|
255
|
+
}), { x: r, y: _ } = z({
|
|
256
256
|
initX: t.endX,
|
|
257
257
|
initY: t.endY,
|
|
258
258
|
centerX: n.value.x1,
|
|
259
259
|
centerY: n.value.y1,
|
|
260
260
|
offset: e.value.style.chart.layout.segmentSeparators.offsetOut
|
|
261
261
|
});
|
|
262
|
-
return { x1: o, y1: a, x2:
|
|
262
|
+
return { x1: o, y1: a, x2: r, y2: _ };
|
|
263
263
|
}));
|
|
264
264
|
function Oe(t) {
|
|
265
|
-
if (t.reduce((_,
|
|
265
|
+
if (t.reduce((_, w) => _ + w, 0) > 100)
|
|
266
266
|
throw new Error("Total % must not exceed 100");
|
|
267
267
|
const a = 50;
|
|
268
|
-
let
|
|
269
|
-
return t.map((_) => (
|
|
268
|
+
let r = 0;
|
|
269
|
+
return t.map((_) => (r += _, `${r / 100 * a - _ / 4}%`));
|
|
270
270
|
}
|
|
271
|
-
const Me = y(() => Oe(
|
|
271
|
+
const Me = y(() => Oe(h.value.map((t) => t.proportion * 100))), Pe = y(() => V(
|
|
272
272
|
{ series: F.value.series },
|
|
273
273
|
l.value.width / 2,
|
|
274
274
|
v.value.base,
|
|
@@ -290,49 +290,49 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
290
290
|
percentage: (m.value + t) / (M.value + t)
|
|
291
291
|
}
|
|
292
292
|
);
|
|
293
|
-
}),
|
|
293
|
+
}), N = f(!1);
|
|
294
294
|
function Xe(t) {
|
|
295
|
-
|
|
295
|
+
N.value = t, K.value += 1;
|
|
296
296
|
}
|
|
297
297
|
const R = f(!1);
|
|
298
|
-
function
|
|
298
|
+
function D() {
|
|
299
299
|
R.value = !R.value;
|
|
300
300
|
}
|
|
301
301
|
return we({
|
|
302
302
|
generatePdf: ce,
|
|
303
303
|
generateImage: ve,
|
|
304
|
-
toggleAnnotator:
|
|
305
|
-
}), (t, o) => (
|
|
306
|
-
class: ge(`vue-ui-gauge ${
|
|
304
|
+
toggleAnnotator: D
|
|
305
|
+
}), (t, o) => (s(), u("div", {
|
|
306
|
+
class: ge(`vue-ui-gauge ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
307
307
|
ref_key: "gaugeChart",
|
|
308
308
|
ref: Y,
|
|
309
309
|
id: `vue-ui-gauge_${b.value}`,
|
|
310
|
-
style:
|
|
310
|
+
style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
311
311
|
onMouseenter: o[0] || (o[0] = () => i(re)(!0)),
|
|
312
312
|
onMouseleave: o[1] || (o[1] = () => i(re)(!1))
|
|
313
313
|
}, [
|
|
314
|
-
e.value.userOptions.buttons.annotator ? (
|
|
314
|
+
e.value.userOptions.buttons.annotator ? (s(), G(rt, {
|
|
315
315
|
key: 0,
|
|
316
316
|
svgRef: i(oe),
|
|
317
317
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
318
318
|
color: e.value.style.chart.color,
|
|
319
319
|
active: R.value,
|
|
320
|
-
onClose:
|
|
320
|
+
onClose: D
|
|
321
321
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
322
|
-
ze.value ? (
|
|
322
|
+
ze.value ? (s(), u("div", {
|
|
323
323
|
key: 1,
|
|
324
324
|
ref_key: "noTitle",
|
|
325
325
|
ref: ae,
|
|
326
326
|
class: "vue-data-ui-no-title-space",
|
|
327
327
|
style: "height:36px; width: 100%;background:transparent"
|
|
328
328
|
}, null, 512)) : c("", !0),
|
|
329
|
-
e.value.style.chart.title.text ? (
|
|
329
|
+
e.value.style.chart.title.text ? (s(), u("div", {
|
|
330
330
|
key: 2,
|
|
331
331
|
ref_key: "chartTitle",
|
|
332
332
|
ref: Q,
|
|
333
333
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
334
334
|
}, [
|
|
335
|
-
(
|
|
335
|
+
(s(), G(at, {
|
|
336
336
|
key: `title_${le.value}`,
|
|
337
337
|
config: {
|
|
338
338
|
title: {
|
|
@@ -345,13 +345,13 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
}, {
|
|
348
|
-
default:
|
|
349
|
-
e.value.translations.base &&
|
|
348
|
+
default: P(() => [
|
|
349
|
+
e.value.translations.base && j.dataset.base ? (s(), u("span", it, O(e.value.translations.base) + ": " + O(j.dataset.base), 1)) : c("", !0)
|
|
350
350
|
]),
|
|
351
351
|
_: 1
|
|
352
352
|
}, 8, ["config"]))
|
|
353
353
|
], 512)) : c("", !0),
|
|
354
|
-
e.value.userOptions.show && I.value && (i(se) || i(
|
|
354
|
+
e.value.userOptions.show && I.value && (i(se) || i(T)) ? (s(), G(et, {
|
|
355
355
|
ref_key: "details",
|
|
356
356
|
ref: $e,
|
|
357
357
|
key: `user_options_${K.value}`,
|
|
@@ -364,7 +364,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
364
364
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
365
365
|
hasImg: e.value.userOptions.buttons.img,
|
|
366
366
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
367
|
-
isFullscreen:
|
|
367
|
+
isFullscreen: N.value,
|
|
368
368
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
369
369
|
chartElement: Y.value,
|
|
370
370
|
position: e.value.userOptions.position,
|
|
@@ -373,51 +373,58 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
373
373
|
onToggleFullscreen: Xe,
|
|
374
374
|
onGeneratePdf: i(ce),
|
|
375
375
|
onGenerateImage: i(ve),
|
|
376
|
-
onToggleAnnotator:
|
|
377
|
-
style:
|
|
378
|
-
visibility: i(se) ? i(
|
|
376
|
+
onToggleAnnotator: D,
|
|
377
|
+
style: B({
|
|
378
|
+
visibility: i(se) ? i(T) ? "visible" : "hidden" : "visible"
|
|
379
379
|
})
|
|
380
380
|
}, Ue({ _: 2 }, [
|
|
381
|
+
t.$slots.menuIcon ? {
|
|
382
|
+
name: "menuIcon",
|
|
383
|
+
fn: P(({ isOpen: a, color: r }) => [
|
|
384
|
+
x(t.$slots, "menuIcon", E(U({ isOpen: a, color: r })), void 0, !0)
|
|
385
|
+
]),
|
|
386
|
+
key: "0"
|
|
387
|
+
} : void 0,
|
|
381
388
|
t.$slots.optionPdf ? {
|
|
382
389
|
name: "optionPdf",
|
|
383
|
-
fn:
|
|
384
|
-
|
|
390
|
+
fn: P(() => [
|
|
391
|
+
x(t.$slots, "optionPdf", {}, void 0, !0)
|
|
385
392
|
]),
|
|
386
|
-
key: "
|
|
393
|
+
key: "1"
|
|
387
394
|
} : void 0,
|
|
388
395
|
t.$slots.optionImg ? {
|
|
389
396
|
name: "optionImg",
|
|
390
|
-
fn:
|
|
391
|
-
|
|
397
|
+
fn: P(() => [
|
|
398
|
+
x(t.$slots, "optionImg", {}, void 0, !0)
|
|
392
399
|
]),
|
|
393
|
-
key: "
|
|
400
|
+
key: "2"
|
|
394
401
|
} : void 0,
|
|
395
402
|
t.$slots.optionFullscreen ? {
|
|
396
403
|
name: "optionFullscreen",
|
|
397
|
-
fn:
|
|
398
|
-
|
|
404
|
+
fn: P(({ toggleFullscreen: a, isFullscreen: r }) => [
|
|
405
|
+
x(t.$slots, "optionFullscreen", E(U({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
|
|
399
406
|
]),
|
|
400
|
-
key: "
|
|
407
|
+
key: "3"
|
|
401
408
|
} : void 0,
|
|
402
409
|
t.$slots.optionAnnotator ? {
|
|
403
410
|
name: "optionAnnotator",
|
|
404
|
-
fn:
|
|
405
|
-
|
|
411
|
+
fn: P(({ toggleAnnotator: a, isAnnotator: r }) => [
|
|
412
|
+
x(t.$slots, "optionAnnotator", E(U({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
|
|
406
413
|
]),
|
|
407
|
-
key: "
|
|
414
|
+
key: "4"
|
|
408
415
|
} : void 0
|
|
409
416
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
410
|
-
I.value ? (
|
|
417
|
+
I.value ? (s(), u("svg", {
|
|
411
418
|
key: 4,
|
|
412
419
|
ref_key: "svgRef",
|
|
413
420
|
ref: oe,
|
|
414
421
|
xmlns: i(He),
|
|
415
|
-
class: ge({ "vue-data-ui-fullscreen--on":
|
|
422
|
+
class: ge({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
416
423
|
viewBox: `0 0 ${l.value.width <= 0 ? 10 : l.value.width} ${l.value.height <= 0 ? 10 : l.value.height}`,
|
|
417
|
-
style:
|
|
424
|
+
style: B(`max-width:100%;overflow:hidden !important;background:transparent;color:${e.value.style.chart.color}`)
|
|
418
425
|
}, [
|
|
419
426
|
We(lt),
|
|
420
|
-
t.$slots["chart-background"] ? (
|
|
427
|
+
t.$slots["chart-background"] ? (s(), u("foreignObject", {
|
|
421
428
|
key: 0,
|
|
422
429
|
x: 0,
|
|
423
430
|
y: 0,
|
|
@@ -427,7 +434,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
427
434
|
pointerEvents: "none"
|
|
428
435
|
}
|
|
429
436
|
}, [
|
|
430
|
-
|
|
437
|
+
x(t.$slots, "chart-background", {}, void 0, !0)
|
|
431
438
|
], 8, vt)) : c("", !0),
|
|
432
439
|
p("defs", null, [
|
|
433
440
|
p("radialGradient", {
|
|
@@ -441,7 +448,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
441
448
|
p("stop", {
|
|
442
449
|
offset: "0%",
|
|
443
450
|
"stop-color": i(q)("#FFFFFF", 1)
|
|
444
|
-
}, null, 8,
|
|
451
|
+
}, null, 8, ht),
|
|
445
452
|
p("stop", {
|
|
446
453
|
offset: "80%",
|
|
447
454
|
"stop-color": i(q)("#FFFFFF", e.value.style.chart.layout.track.gradientIntensity)
|
|
@@ -450,7 +457,7 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
450
457
|
offset: "100%",
|
|
451
458
|
"stop-color": i(q)("#FFFFFF", 1)
|
|
452
459
|
}, null, 8, ft)
|
|
453
|
-
], 8,
|
|
460
|
+
], 8, dt)
|
|
454
461
|
]),
|
|
455
462
|
p("defs", null, [
|
|
456
463
|
p("filter", {
|
|
@@ -466,49 +473,49 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
466
473
|
}, null, 8, pt)
|
|
467
474
|
], 8, mt)
|
|
468
475
|
]),
|
|
469
|
-
t.$slots.pattern ? (
|
|
470
|
-
(
|
|
471
|
-
|
|
476
|
+
t.$slots.pattern ? (s(), u("g", gt, [
|
|
477
|
+
(s(!0), u(g, null, S(h.value, (a, r) => (s(), u("defs", null, [
|
|
478
|
+
x(t.$slots, "pattern", X({ ref_for: !0 }, { seriesIndex: r, patternId: `pattern_${b.value}_${r}` }), void 0, !0)
|
|
472
479
|
]))), 256))
|
|
473
480
|
])) : c("", !0),
|
|
474
|
-
(
|
|
475
|
-
key: `arc_${
|
|
481
|
+
(s(!0), u(g, null, S(h.value, (a, r) => (s(), u("path", {
|
|
482
|
+
key: `arc_${r}`,
|
|
476
483
|
d: a.arcSlice,
|
|
477
484
|
fill: a.color,
|
|
478
485
|
stroke: e.value.style.chart.backgroundColor,
|
|
479
486
|
"stroke-linecap": "round"
|
|
480
487
|
}, null, 8, kt))), 128)),
|
|
481
|
-
t.$slots.pattern ? (
|
|
482
|
-
key: `arc_${
|
|
488
|
+
t.$slots.pattern ? (s(!0), u(g, { key: 2 }, S(h.value, (a, r) => (s(), u("path", {
|
|
489
|
+
key: `arc_${r}`,
|
|
483
490
|
d: a.arcSlice,
|
|
484
|
-
fill: `url(#pattern_${b.value}_${
|
|
491
|
+
fill: `url(#pattern_${b.value}_${r})`,
|
|
485
492
|
stroke: e.value.style.chart.backgroundColor,
|
|
486
493
|
"stroke-linecap": "round"
|
|
487
494
|
}, null, 8, bt))), 128)) : c("", !0),
|
|
488
|
-
e.value.style.chart.layout.indicatorArc.show ? (
|
|
495
|
+
e.value.style.chart.layout.indicatorArc.show ? (s(), u("path", {
|
|
489
496
|
key: 3,
|
|
490
497
|
d: Ne.value,
|
|
491
498
|
fill: e.value.style.chart.layout.indicatorArc.fill
|
|
492
499
|
}, null, 8, _t)) : c("", !0),
|
|
493
|
-
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (
|
|
494
|
-
(
|
|
495
|
-
id: `curve_${b.value}_${
|
|
496
|
-
d: `M ${n.value.x1},${n.value.y1} m -${C.value[
|
|
500
|
+
e.value.style.chart.layout.segmentNames.show && e.value.style.chart.layout.segmentNames.curved ? (s(), u(g, { key: 4 }, [
|
|
501
|
+
(s(!0), u(g, null, S(h.value, (a, r) => (s(), u("path", {
|
|
502
|
+
id: `curve_${b.value}_${r}`,
|
|
503
|
+
d: `M ${n.value.x1},${n.value.y1} m -${C.value[r]},0 a ${C.value[r]},${C.value[r]} 0 1,1 ${2 * C.value[r]},0 a ${C.value[r]},${C.value[r]} 0 1,1 -${2 * C.value[r]},0`,
|
|
497
504
|
fill: "transparent"
|
|
498
505
|
}, null, 8, xt))), 256)),
|
|
499
|
-
(
|
|
506
|
+
(s(!0), u(g, null, S(h.value, (a, r) => (s(), u("text", {
|
|
500
507
|
fill: e.value.style.chart.layout.segmentNames.useSerieColor ? a.color : e.value.style.chart.layout.segmentNames.color,
|
|
501
508
|
"font-size": l.value.segmentFontSize,
|
|
502
509
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal",
|
|
503
510
|
"text-anchor": "middle"
|
|
504
511
|
}, [
|
|
505
512
|
p("textPath", {
|
|
506
|
-
href: `#curve_${b.value}_${
|
|
507
|
-
startOffset: Me.value[
|
|
513
|
+
href: `#curve_${b.value}_${r}`,
|
|
514
|
+
startOffset: Me.value[r]
|
|
508
515
|
}, O(a.name || ""), 9, St)
|
|
509
516
|
], 8, wt))), 256))
|
|
510
517
|
], 64)) : c("", !0),
|
|
511
|
-
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (
|
|
518
|
+
e.value.style.chart.layout.segmentNames.show && !e.value.style.chart.layout.segmentNames.curved ? (s(!0), u(g, { key: 5 }, S(Ce.value, (a, r) => (s(), u("text", {
|
|
512
519
|
x: a.center.endX,
|
|
513
520
|
y: a.center.endY,
|
|
514
521
|
"text-anchor": i(Ze)(a, !1, 12).anchor,
|
|
@@ -516,15 +523,15 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
516
523
|
"font-size": l.value.segmentFontSize,
|
|
517
524
|
"font-weight": e.value.style.chart.layout.segmentNames.bold ? "bold" : "normal"
|
|
518
525
|
}, O(a.name || ""), 9, $t))), 256)) : c("", !0),
|
|
519
|
-
e.value.style.chart.layout.track.useGradient ? (
|
|
520
|
-
key: `arc_${
|
|
526
|
+
e.value.style.chart.layout.track.useGradient ? (s(!0), u(g, { key: 6 }, S(Pe.value, (a, r) => (s(), u("path", {
|
|
527
|
+
key: `arc_${r}`,
|
|
521
528
|
d: a.arcSlice,
|
|
522
529
|
fill: "#FFFFFF",
|
|
523
530
|
stroke: "none",
|
|
524
531
|
"stroke-linecap": "round",
|
|
525
532
|
filter: `url(#blur_${b.value})`
|
|
526
533
|
}, null, 8, zt))), 128)) : c("", !0),
|
|
527
|
-
e.value.style.chart.layout.segmentSeparators.show ? (
|
|
534
|
+
e.value.style.chart.layout.segmentSeparators.show ? (s(), u(g, { key: 7 }, [
|
|
528
535
|
p("line", X(fe.value, {
|
|
529
536
|
stroke: e.value.style.chart.backgroundColor,
|
|
530
537
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
@@ -535,19 +542,19 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
535
542
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
536
543
|
"stroke-linecap": "round"
|
|
537
544
|
}), null, 16, Ct),
|
|
538
|
-
(
|
|
545
|
+
(s(!0), u(g, null, S(me.value, (a) => (s(), u("line", X({ ref_for: !0 }, a, {
|
|
539
546
|
stroke: e.value.style.chart.backgroundColor,
|
|
540
547
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth + 2,
|
|
541
548
|
"stroke-linecap": "round"
|
|
542
549
|
}), null, 16, Ot))), 256)),
|
|
543
|
-
(
|
|
550
|
+
(s(!0), u(g, null, S(me.value, (a) => (s(), u("line", X({ ref_for: !0 }, a, {
|
|
544
551
|
stroke: e.value.style.chart.layout.segmentSeparators.stroke,
|
|
545
552
|
"stroke-width": e.value.style.chart.layout.segmentSeparators.strokeWidth,
|
|
546
553
|
"stroke-linecap": "round"
|
|
547
554
|
}), null, 16, Mt))), 256))
|
|
548
555
|
], 64)) : c("", !0),
|
|
549
|
-
e.value.style.chart.layout.markers.show ? (
|
|
550
|
-
(
|
|
556
|
+
e.value.style.chart.layout.markers.show ? (s(), u("g", Pt, [
|
|
557
|
+
(s(!0), u(g, null, S(h.value, (a, r) => (s(), u("text", {
|
|
551
558
|
x: i(z)({
|
|
552
559
|
centerX: n.value.x1,
|
|
553
560
|
centerY: v.value.base,
|
|
@@ -577,20 +584,20 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
577
584
|
})
|
|
578
585
|
)), 9, Nt))), 256))
|
|
579
586
|
])) : c("", !0),
|
|
580
|
-
e.value.style.chart.layout.markers.show ? (
|
|
587
|
+
e.value.style.chart.layout.markers.show ? (s(), u("text", {
|
|
581
588
|
key: 9,
|
|
582
589
|
x: i(z)({
|
|
583
590
|
centerX: l.value.width / 2,
|
|
584
591
|
centerY: v.value.base,
|
|
585
|
-
initX:
|
|
586
|
-
initY:
|
|
592
|
+
initX: h.value.at(-1).endX,
|
|
593
|
+
initY: h.value.at(-1).endY,
|
|
587
594
|
offset: l.value.markerOffset
|
|
588
595
|
}).x,
|
|
589
596
|
y: i(z)({
|
|
590
597
|
centerX: l.value.width / 2,
|
|
591
598
|
centerY: v.value.base,
|
|
592
|
-
initX:
|
|
593
|
-
initY:
|
|
599
|
+
initX: h.value.at(-1).endX,
|
|
600
|
+
initY: h.value.at(-1).endY,
|
|
594
601
|
offset: l.value.markerOffset
|
|
595
602
|
}).y,
|
|
596
603
|
"text-anchor": "start",
|
|
@@ -607,9 +614,9 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
607
614
|
r: e.value.style.chart.layout.markers.roundingValue
|
|
608
615
|
})
|
|
609
616
|
)), 9, Xt)) : c("", !0),
|
|
610
|
-
e.value.style.chart.layout.pointer.show ? (
|
|
611
|
-
e.value.style.chart.layout.pointer.type === "rounded" ? (
|
|
612
|
-
isNaN(n.value.x2) ? c("", !0) : (
|
|
617
|
+
e.value.style.chart.layout.pointer.show ? (s(), u(g, { key: 10 }, [
|
|
618
|
+
e.value.style.chart.layout.pointer.type === "rounded" ? (s(), u("g", It, [
|
|
619
|
+
isNaN(n.value.x2) ? c("", !0) : (s(), u("line", {
|
|
613
620
|
key: 0,
|
|
614
621
|
x1: n.value.x1,
|
|
615
622
|
y1: n.value.y1,
|
|
@@ -619,17 +626,17 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
619
626
|
"stroke-width": l.value.pointerStrokeWidth,
|
|
620
627
|
"stroke-linecap": "round"
|
|
621
628
|
}, null, 8, Yt)),
|
|
622
|
-
isNaN(n.value.x2) ? c("", !0) : (
|
|
629
|
+
isNaN(n.value.x2) ? c("", !0) : (s(), u("line", {
|
|
623
630
|
key: 1,
|
|
624
631
|
x1: n.value.x1,
|
|
625
632
|
y1: n.value.y1,
|
|
626
633
|
x2: n.value.x2,
|
|
627
634
|
y2: n.value.y2,
|
|
628
|
-
stroke: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
635
|
+
stroke: e.value.style.chart.layout.pointer.useRatingColor ? L.value : e.value.style.chart.layout.pointer.color,
|
|
629
636
|
"stroke-linecap": "round",
|
|
630
637
|
"stroke-width": l.value.pointerStrokeWidth * 0.7
|
|
631
638
|
}, null, 8, At)),
|
|
632
|
-
!isNaN(n.value.x2) && e.value.style.chart.layout.track.useGradient ? (
|
|
639
|
+
!isNaN(n.value.x2) && e.value.style.chart.layout.track.useGradient ? (s(), u("line", {
|
|
633
640
|
key: 2,
|
|
634
641
|
x1: n.value.x1,
|
|
635
642
|
y1: n.value.y1,
|
|
@@ -640,11 +647,11 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
640
647
|
"stroke-width": l.value.pointerStrokeWidth * 0.3,
|
|
641
648
|
filter: `url(#blur_${b.value})`
|
|
642
649
|
}, null, 8, Rt)) : c("", !0)
|
|
643
|
-
])) : (
|
|
644
|
-
|
|
650
|
+
])) : (s(), u("g", Gt, [
|
|
651
|
+
de.value ? (s(), u("path", {
|
|
645
652
|
key: 0,
|
|
646
|
-
d:
|
|
647
|
-
fill: e.value.style.chart.layout.pointer.useRatingColor ?
|
|
653
|
+
d: de.value,
|
|
654
|
+
fill: e.value.style.chart.layout.pointer.useRatingColor ? L.value : e.value.style.chart.layout.pointer.color,
|
|
648
655
|
stroke: e.value.style.chart.layout.pointer.stroke,
|
|
649
656
|
"stroke-width": e.value.style.chart.layout.pointer.circle.strokeWidth,
|
|
650
657
|
"stroke-linejoin": "round"
|
|
@@ -659,14 +666,14 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
659
666
|
stroke: e.value.style.chart.layout.pointer.circle.stroke
|
|
660
667
|
}, null, 8, Ut)
|
|
661
668
|
], 64)) : c("", !0),
|
|
662
|
-
e.value.style.chart.legend.show ? (
|
|
669
|
+
e.value.style.chart.legend.show ? (s(), u("text", {
|
|
663
670
|
key: 11,
|
|
664
671
|
x: l.value.width / 2,
|
|
665
672
|
y: v.value.ratingBase,
|
|
666
673
|
"text-anchor": "middle",
|
|
667
674
|
"font-size": l.value.legendFontSize,
|
|
668
675
|
"font-weight": "bold",
|
|
669
|
-
fill: e.value.style.chart.legend.useRatingColor ?
|
|
676
|
+
fill: e.value.style.chart.legend.useRatingColor ? L.value : e.value.style.chart.legend.color
|
|
670
677
|
}, O(i(H)(
|
|
671
678
|
e.value.style.chart.legend.formatter,
|
|
672
679
|
m.value,
|
|
@@ -677,12 +684,12 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
677
684
|
r: e.value.style.chart.legend.roundingValue
|
|
678
685
|
})
|
|
679
686
|
)), 9, Wt)) : c("", !0),
|
|
680
|
-
|
|
687
|
+
x(t.$slots, "svg", { svg: l.value }, void 0, !0)
|
|
681
688
|
], 14, ct)) : c("", !0),
|
|
682
|
-
t.$slots.watermark ? (
|
|
683
|
-
|
|
689
|
+
t.$slots.watermark ? (s(), u("div", jt, [
|
|
690
|
+
x(t.$slots, "watermark", E(U({ isPrinting: i(ne) || i(ie) })), void 0, !0)
|
|
684
691
|
])) : c("", !0),
|
|
685
|
-
I.value ? c("", !0) : (
|
|
692
|
+
I.value ? c("", !0) : (s(), G(tt, {
|
|
686
693
|
key: 6,
|
|
687
694
|
config: {
|
|
688
695
|
type: "gauge",
|
|
@@ -698,19 +705,19 @@ const nt = ["id"], it = { key: 0 }, ct = ["xmlns", "viewBox"], vt = ["width", "h
|
|
|
698
705
|
ref_key: "chartLegend",
|
|
699
706
|
ref: ee
|
|
700
707
|
}, [
|
|
701
|
-
|
|
708
|
+
x(t.$slots, "legend", { legend: F.value }, void 0, !0)
|
|
702
709
|
], 512),
|
|
703
|
-
t.$slots.source ? (
|
|
710
|
+
t.$slots.source ? (s(), u("div", {
|
|
704
711
|
key: 7,
|
|
705
712
|
ref_key: "source",
|
|
706
713
|
ref: te,
|
|
707
714
|
dir: "auto"
|
|
708
715
|
}, [
|
|
709
|
-
|
|
716
|
+
x(t.$slots, "source", {}, void 0, !0)
|
|
710
717
|
], 512)) : c("", !0)
|
|
711
718
|
], 46, nt));
|
|
712
719
|
}
|
|
713
|
-
}, aa = /* @__PURE__ */ ut(Tt, [["__scopeId", "data-v-
|
|
720
|
+
}, aa = /* @__PURE__ */ ut(Tt, [["__scopeId", "data-v-77aa3ab1"]]);
|
|
714
721
|
export {
|
|
715
722
|
aa as default
|
|
716
723
|
};
|