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