vue-data-ui 2.6.18 → 2.6.20
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-Ci41JBXA.js → Arrow-C9wt_iwE.js} +1 -1
- package/dist/{Arrow-C-haYOvL.cjs → Arrow-mU42Peiq.cjs} +1 -1
- package/dist/{BaseIcon-D0Ifzd3J.js → BaseIcon-CR8s5lLC.js} +1 -1
- package/dist/{BaseIcon-Brc1PN_Z.cjs → BaseIcon-DMhDupLt.cjs} +1 -1
- package/dist/{DataTable-BH56SPdO.js → DataTable-CMUyDj6S.js} +2 -2
- package/dist/{DataTable-AQsQHTem.cjs → DataTable-Qba16zLZ.cjs} +1 -1
- package/dist/{Legend-w7VxyGN0.js → Legend-CaMKYW-V.js} +2 -2
- package/dist/{Legend-CNiGY3Yx.cjs → Legend-EauKcdAx.cjs} +1 -1
- package/dist/{PackageVersion-D1edJun6.js → PackageVersion-CURzw4q1.js} +1 -1
- package/dist/{PackageVersion-DO_17qoR.cjs → PackageVersion-Vv7wNIAl.cjs} +1 -1
- package/dist/{PenAndPaper-DWnLI5jM.js → PenAndPaper-CjiJra09.js} +3 -3
- package/dist/{PenAndPaper-BPAfK8a6.cjs → PenAndPaper-DSEAEpTs.cjs} +1 -1
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Bnwg64-7.js → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-BzSorLrT.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Cw1RBp7H.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-DB_DsgPX.cjs} +1 -1
- package/dist/{Shape-RfSE_FzV.js → Shape-F5v4f45p.js} +1 -1
- package/dist/{Shape-J26jxMZ5.cjs → Shape-gLknKTb6.cjs} +1 -1
- package/dist/{Slicer-oASHP3Lx.cjs → Slicer-CVVRixhP.cjs} +1 -1
- package/dist/{Slicer-DMdxtlpr.js → Slicer-DQp19cm1.js} +2 -2
- package/dist/{Title-xfHZTDT9.js → Title-CUHNtIyE.js} +1 -1
- package/dist/{Title-ypQseB5s.cjs → Title-m1x23s4w.cjs} +1 -1
- package/dist/{Tooltip-DQZLR6XD.cjs → Tooltip-BXY2gKbA.cjs} +1 -1
- package/dist/{Tooltip-CF9cKbnr.js → Tooltip-BuAQ8HVL.js} +1 -1
- package/dist/{index-CkqI12gj.cjs → index-CmhvuQro.cjs} +1 -1
- package/dist/{index-Df45PKBw.js → index-Cq7-va_5.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BaSIdRPe.js → useNestedProp-BEyJNlaO.js} +1 -1
- package/dist/{useNestedProp-B5QzQ7cl.cjs → useNestedProp-CnH-XcZU.cjs} +1 -1
- package/dist/usePrinter-DhZH4pcR.cjs +1 -0
- package/dist/{usePrinter-MC5pKUx5.js → usePrinter-jRjc8Naz.js} +72 -70
- package/dist/{vue-data-ui-BiXf5MnL.js → vue-data-ui-BPSCRfcK.js} +61 -61
- package/dist/{vue-data-ui--Yx3VAj0.cjs → vue-data-ui-DD5SV4SW.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BXW-ZMgi.cjs → vue-ui-3d-bar-BlCSdagh.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-DBJJ2kqD.js → vue-ui-3d-bar-TB1XdncJ.js} +105 -98
- package/dist/{vue-ui-accordion-4ngKbp5a.cjs → vue-ui-accordion-C3Ljak65.cjs} +1 -1
- package/dist/{vue-ui-accordion-BbCvey8w.js → vue-ui-accordion-vAQ_LLoP.js} +3 -3
- package/dist/{vue-ui-age-pyramid-04E6Wqie.js → vue-ui-age-pyramid-BUWoRp_B.js} +75 -68
- package/dist/{vue-ui-age-pyramid-Cpi72E7Q.cjs → vue-ui-age-pyramid-CrDKpPil.cjs} +1 -1
- package/dist/{vue-ui-annotator-tv-3u5J-.js → vue-ui-annotator-BVE-xqSy.js} +1 -1
- package/dist/{vue-ui-annotator-BzdyBaoy.cjs → vue-ui-annotator-wjsB7Ihy.cjs} +1 -1
- package/dist/{vue-ui-bullet-B-UjWb-f.cjs → vue-ui-bullet-BcU0lGMw.cjs} +4 -4
- package/dist/{vue-ui-bullet-B0jpb3iz.js → vue-ui-bullet-Cj4GC_-F.js} +145 -138
- package/dist/{vue-ui-candlestick-Cx6UAvss.js → vue-ui-candlestick-C2hAp3Fi.js} +115 -108
- package/dist/{vue-ui-candlestick-DEK3P-Tu.cjs → vue-ui-candlestick-n--kSbN7.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BPvJKE6W.cjs → vue-ui-carousel-table-CU96d16y.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bk6LMH1D.js → vue-ui-carousel-table-Do1uzI_G.js} +130 -123
- package/dist/{vue-ui-chestnut-DKesYDji.cjs → vue-ui-chestnut-DJq8IWIL.cjs} +2 -2
- package/dist/{vue-ui-chestnut-BLYeNCKN.js → vue-ui-chestnut-fb3ioT4a.js} +131 -124
- package/dist/{vue-ui-circle-pack-DF8CPgPU.js → vue-ui-circle-pack-DByIHOMA.js} +165 -158
- package/dist/{vue-ui-circle-pack-D_2k6N20.cjs → vue-ui-circle-pack-DnwKX38S.cjs} +1 -1
- package/dist/{vue-ui-cursor-B29UJWQo.cjs → vue-ui-cursor-DSCiOK2l.cjs} +1 -1
- package/dist/{vue-ui-cursor-DySRIo_p.js → vue-ui-cursor-scYLETJY.js} +2 -2
- package/dist/{vue-ui-dashboard-5JkE1uRk.cjs → vue-ui-dashboard-BBDfkeCW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CHO6UMlJ.js → vue-ui-dashboard-DjxJGI1j.js} +2 -2
- package/dist/{vue-ui-digits-D5h4HAzq.js → vue-ui-digits-7bQAdMhs.js} +2 -2
- package/dist/{vue-ui-digits-DvANBwd7.cjs → vue-ui-digits-Cmn1NNzQ.cjs} +1 -1
- package/dist/{vue-ui-donut-DLaBSyI4.cjs → vue-ui-donut-C291KoIU.cjs} +1 -1
- package/dist/{vue-ui-donut-rVvCGOGk.js → vue-ui-donut-RJQUTfyW.js} +117 -110
- package/dist/{vue-ui-donut-evolution-DjGFFyxj.js → vue-ui-donut-evolution-DPW_ITH8.js} +164 -157
- package/dist/{vue-ui-donut-evolution-B06eelN-.cjs → vue-ui-donut-evolution-Dp15D88c.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B3AlzGCf.js → vue-ui-dumbbell-B8Zm8EVd.js} +74 -67
- package/dist/{vue-ui-dumbbell-9Oy-W4-B.cjs → vue-ui-dumbbell-BdEUvUV7.cjs} +2 -2
- package/dist/{vue-ui-flow-1eYWWjX-.js → vue-ui-flow-BNIgPNGy.js} +177 -170
- package/dist/{vue-ui-flow-BakKHKRq.cjs → vue-ui-flow-BukV6_Zl.cjs} +1 -1
- package/dist/{vue-ui-funnel-uSID1YS9.js → vue-ui-funnel-BrPqtGct.js} +128 -121
- package/dist/{vue-ui-funnel-IbAUMuoN.cjs → vue-ui-funnel-CIgZpg3T.cjs} +1 -1
- package/dist/{vue-ui-galaxy-3ksrzeio.js → vue-ui-galaxy-D1IYOUwX.js} +77 -70
- package/dist/{vue-ui-galaxy-BFGRkm7x.cjs → vue-ui-galaxy-FGqZ4tWB.cjs} +1 -1
- package/dist/{vue-ui-gauge-DgPnw4Q5.cjs → vue-ui-gauge-B00JvBFF.cjs} +1 -1
- package/dist/{vue-ui-gauge-DxUp_-uc.js → vue-ui-gauge-BsOXy5MV.js} +152 -145
- package/dist/{vue-ui-gizmo-Dw9HiCwa.js → vue-ui-gizmo-Cyl89etd.js} +3 -3
- package/dist/{vue-ui-gizmo-4T51Z8I8.cjs → vue-ui-gizmo-D_uv6qkV.cjs} +1 -1
- package/dist/vue-ui-heatmap-CGg2_xWH.cjs +1 -0
- package/dist/{vue-ui-heatmap-CwtUNQu0.js → vue-ui-heatmap-CgF4n8Bh.js} +139 -132
- package/dist/{vue-ui-history-plot-CC7sYtWu.cjs → vue-ui-history-plot-DR11Ips0.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BaV1bX_U.js → vue-ui-history-plot-Rdjb-yOk.js} +121 -114
- package/dist/{vue-ui-kpi-DiuK6mKA.js → vue-ui-kpi-COfnJm-X.js} +3 -3
- package/dist/{vue-ui-kpi-DxXlf8be.cjs → vue-ui-kpi-CbAgFb-9.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DQ_oXH1a.cjs → vue-ui-mini-loader-CizZv79e.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Kwzi6dLA.js → vue-ui-mini-loader-DNM7jU2W.js} +2 -2
- package/dist/{vue-ui-molecule-Bfhay2Cw.cjs → vue-ui-molecule-CiOIVjFk.cjs} +1 -1
- package/dist/{vue-ui-molecule-BMiNGYBh.js → vue-ui-molecule-Cv6jp9D_.js} +249 -242
- package/dist/{vue-ui-mood-radar-j2_LSQyN.js → vue-ui-mood-radar-B-VE2pVS.js} +111 -104
- package/dist/{vue-ui-mood-radar-C6CXwCzk.cjs → vue-ui-mood-radar-CoHouhrl.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CVsN5wLZ.js → vue-ui-nested-donuts-D-7tn_Qe.js} +116 -109
- package/dist/{vue-ui-nested-donuts-BEb5qHRa.cjs → vue-ui-nested-donuts-ITcu4gJW.cjs} +2 -2
- package/dist/{vue-ui-onion-DlqFOcMu.js → vue-ui-onion-B4SgCj8L.js} +143 -136
- package/dist/{vue-ui-onion-C-y9Jsfq.cjs → vue-ui-onion-fzXsWjjI.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-t2isL1XO.cjs → vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DxwECisr.js → vue-ui-parallel-coordinate-plot-CpQOyh-W.js} +112 -105
- package/dist/{vue-ui-quadrant-DMYZ6Rbh.cjs → vue-ui-quadrant-ByRNr-XD.cjs} +1 -1
- package/dist/{vue-ui-quadrant-rVy92h_8.js → vue-ui-quadrant-DhODDM5V.js} +111 -104
- package/dist/{vue-ui-quick-chart-CE-Qg_jo.cjs → vue-ui-quick-chart-BsQAMw9M.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-DkUCMlp7.js → vue-ui-quick-chart-DpeGH277.js} +194 -187
- package/dist/{vue-ui-radar-j-mDD4Dn.js → vue-ui-radar-CWkrni4Y.js} +100 -93
- package/dist/{vue-ui-radar-DkL4kk1W.cjs → vue-ui-radar-D-qttZKw.cjs} +1 -1
- package/dist/{vue-ui-rating-K_pyDN_G.cjs → vue-ui-rating-CY25IY75.cjs} +1 -1
- package/dist/{vue-ui-rating-CpvfKsg0.js → vue-ui-rating-DB4nQsuM.js} +2 -2
- package/dist/{vue-ui-relation-circle-O0d-4bj0.js → vue-ui-relation-circle-B_PxY9ZN.js} +102 -95
- package/dist/{vue-ui-relation-circle-ChFxKSb0.cjs → vue-ui-relation-circle-KDFaFqqu.cjs} +1 -1
- package/dist/{vue-ui-rings-Cv5WcU9y.cjs → vue-ui-rings-C1Upd5ja.cjs} +2 -2
- package/dist/{vue-ui-rings-DK-HgFva.js → vue-ui-rings-D5-sTr38.js} +168 -161
- package/dist/{vue-ui-scatter-BHCYJgHS.cjs → vue-ui-scatter-B-aqlIcn.cjs} +1 -1
- package/dist/{vue-ui-scatter-CTmhFDqS.js → vue-ui-scatter-C8cn3MR5.js} +85 -78
- package/dist/{vue-ui-screenshot-Ci56oD2d.cjs → vue-ui-screenshot-D9EV_KXZ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Bpp3trys.js → vue-ui-screenshot-kQRZJHLO.js} +1 -1
- package/dist/{vue-ui-skeleton-BIYEApQO.js → vue-ui-skeleton-DIrE1OTF.js} +3 -3
- package/dist/{vue-ui-skeleton-CKwwTTRF.cjs → vue-ui-skeleton-DyJu1ibj.cjs} +1 -1
- package/dist/{vue-ui-smiley-BjcqO7zZ.cjs → vue-ui-smiley-B7dNRQyO.cjs} +1 -1
- package/dist/{vue-ui-smiley-B5ufG407.js → vue-ui-smiley-DVjsjIa4.js} +2 -2
- package/dist/{vue-ui-spark-trend-qz-BtG6X.cjs → vue-ui-spark-trend-DRtaXADG.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DnB59fUO.js → vue-ui-spark-trend-DsUy3aw-.js} +5 -5
- package/dist/{vue-ui-sparkbar-D_sMmqjC.js → vue-ui-sparkbar-Dm8xksUj.js} +4 -4
- package/dist/{vue-ui-sparkbar-DQ-IFuy6.cjs → vue-ui-sparkbar-x0F1llCZ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Ce5NGB8P.cjs → vue-ui-sparkgauge-B4DRMVOW.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-76-wdTdR.js → vue-ui-sparkgauge-_gF53YgV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DviUQdRD.js → vue-ui-sparkhistogram-CD_0ihS9.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DcSCtmaT.cjs → vue-ui-sparkhistogram-CIMJUDlb.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C75odp3q.js → vue-ui-sparkline-Cs0h6tKI.js} +6 -6
- package/dist/{vue-ui-sparkline-_nWAin6t.cjs → vue-ui-sparkline-DzOL1IDW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-pRfBTPV0.cjs → vue-ui-sparkstackbar-BBz1lDg0.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-JgAJd1j5.js → vue-ui-sparkstackbar-Dhula5ka.js} +5 -5
- package/dist/{vue-ui-stackbar-DK4W1meR.cjs → vue-ui-stackbar-BuUtwfyC.cjs} +3 -3
- package/dist/{vue-ui-stackbar-Ctym-Udc.js → vue-ui-stackbar-DanAQnBd.js} +210 -203
- package/dist/{vue-ui-strip-plot-BU6tkAvd.cjs → vue-ui-strip-plot-95uUJ2fc.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BLmj_-sa.js → vue-ui-strip-plot-DIlGTBzG.js} +82 -75
- package/dist/{vue-ui-table-Cvt9DTpO.cjs → vue-ui-table-CDS7xlZS.cjs} +1 -1
- package/dist/{vue-ui-table-Bot5LadX.js → vue-ui-table-FKZF6cxI.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DE1swMTl.js → vue-ui-table-heatmap-BcGX_vpU.js} +63 -56
- package/dist/{vue-ui-table-heatmap-fALEi4E_.cjs → vue-ui-table-heatmap-qVmiG576.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CWGl8LJc.js → vue-ui-table-sparkline-CVY9EZ7Q.js} +90 -83
- package/dist/{vue-ui-table-sparkline-pQlBn8xE.cjs → vue-ui-table-sparkline-CnVFXbUB.cjs} +1 -1
- package/dist/{vue-ui-thermometer-N5j1BAqA.cjs → vue-ui-thermometer-BTer1qaq.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DDOVwF0r.js → vue-ui-thermometer-tcTgQiAu.js} +113 -106
- package/dist/{vue-ui-timer-CQ9pLz7T.cjs → vue-ui-timer-CmLGKRcK.cjs} +1 -1
- package/dist/{vue-ui-timer-1zEhowHL.js → vue-ui-timer-DO_VKZHm.js} +5 -5
- package/dist/{vue-ui-tiremarks-zlgbR7II.js → vue-ui-tiremarks-BKnAiR_H.js} +76 -69
- package/dist/{vue-ui-tiremarks-DOXxQKUB.cjs → vue-ui-tiremarks-BPxAgMQx.cjs} +1 -1
- package/dist/{vue-ui-treemap-ZJAvws86.cjs → vue-ui-treemap-BnKYnm8A.cjs} +1 -1
- package/dist/{vue-ui-treemap-C7oZrYCa.js → vue-ui-treemap-oE2QDc_9.js} +143 -136
- package/dist/{vue-ui-vertical-bar-rtqu_UjN.js → vue-ui-vertical-bar-BfFnXSO5.js} +119 -112
- package/dist/{vue-ui-vertical-bar-BFeF_dBM.cjs → vue-ui-vertical-bar-CHUZAnfv.cjs} +3 -3
- package/dist/{vue-ui-waffle-C0E54-ms.cjs → vue-ui-waffle-DxL_bhhX.cjs} +1 -1
- package/dist/{vue-ui-waffle-CgsNawVA.js → vue-ui-waffle-YwQAGMlZ.js} +77 -70
- package/dist/{vue-ui-wheel-StQOeYIO.cjs → vue-ui-wheel-CbEf5uhL.cjs} +1 -1
- package/dist/{vue-ui-wheel-Cm7g8eux.js → vue-ui-wheel-gZQIZUx1.js} +104 -97
- package/dist/{vue-ui-word-cloud-qNxRgN5J.js → vue-ui-word-cloud-CXpfOcDf.js} +122 -115
- package/dist/{vue-ui-word-cloud-Bc31_IfR.cjs → vue-ui-word-cloud-Ddmhs5i-.cjs} +1 -1
- package/dist/{vue-ui-xy-wbWmX1Zh.cjs → vue-ui-xy-BFdih9uG.cjs} +2 -2
- package/dist/{vue-ui-xy-BTjOTcAY.js → vue-ui-xy-BHGNHgRk.js} +72 -65
- package/dist/{vue-ui-xy-canvas-BpyntzCo.js → vue-ui-xy-canvas-BFZjHXBj.js} +200 -193
- package/dist/{vue-ui-xy-canvas-BljjkGUh.cjs → vue-ui-xy-canvas-hM1oa-dn.cjs} +2 -2
- package/package.json +1 -1
- package/dist/usePrinter-DB2FudbZ.cjs +0 -1
- package/dist/vue-ui-heatmap-Bz5l9BbM.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
|
|
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-Cq7-va_5.js";
|
|
3
3
|
import { t as Pt, u as St } from "./useResponsive-BWapHhVH.js";
|
|
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-
|
|
4
|
+
import { _ as Vt } from "./Title-CUHNtIyE.js";
|
|
5
|
+
import { u as It, U as Ot } from "./usePrinter-jRjc8Naz.js";
|
|
6
|
+
import { _ as Ft } from "./Tooltip-BuAQ8HVL.js";
|
|
7
|
+
import { L as He } from "./Legend-CaMKYW-V.js";
|
|
8
|
+
import Mt from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
9
|
+
import zt from "./BaseIcon-CR8s5lLC.js";
|
|
10
|
+
import At from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
11
|
+
import { u as We } from "./useNestedProp-BEyJNlaO.js";
|
|
12
|
+
import { _ as Bt } from "./PackageVersion-CURzw4q1.js";
|
|
13
|
+
import { P as Rt } from "./PenAndPaper-CjiJra09.js";
|
|
14
14
|
import { u as Dt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
-
import { _ as Ge } from "./Shape-
|
|
15
|
+
import { _ as Ge } from "./Shape-F5v4f45p.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
|
};
|