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,18 +1,18 @@
|
|
|
1
|
-
import { useCssVars as Le, computed as v, onMounted as Te, ref as c, watch as Ae, createElementBlock as u, openBlock as s, unref as
|
|
2
|
-
import { u as Pe, o as Fe, e as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as je, U as He } from "./usePrinter-
|
|
5
|
-
import { _ as Xe } from "./Title-
|
|
6
|
-
import { P as qe } from "./PenAndPaper-
|
|
7
|
-
import { D as Ye } from "./DataTable-
|
|
8
|
-
import We from "./vue-ui-accordion-
|
|
1
|
+
import { useCssVars as Le, computed as v, onMounted as Te, ref as c, watch as Ae, createElementBlock as u, openBlock as s, unref as n, normalizeStyle as _, normalizeClass as T, createBlock as A, createCommentVNode as f, createSlots as Ne, withCtx as g, renderSlot as b, normalizeProps as M, guardReactiveProps as R, createVNode as Oe, createElementVNode as C, mergeProps as q, Fragment as V, renderList as B, toDisplayString as U, createTextVNode as ze, nextTick as Se } from "vue";
|
|
2
|
+
import { u as Pe, o as Fe, e as me, g as Ie, c as De, d as Me, l as Re, i as E, f as G, X as Ve, G as Be, F as Y, a as Ue, q as Ee, r as Ge } from "./index-Cq7-va_5.js";
|
|
3
|
+
import { u as be } from "./useNestedProp-BEyJNlaO.js";
|
|
4
|
+
import { u as je, U as He } from "./usePrinter-jRjc8Naz.js";
|
|
5
|
+
import { _ as Xe } from "./Title-CUHNtIyE.js";
|
|
6
|
+
import { P as qe } from "./PenAndPaper-CjiJra09.js";
|
|
7
|
+
import { D as Ye } from "./DataTable-CMUyDj6S.js";
|
|
8
|
+
import We from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
9
9
|
import { t as Je, u as Ke } from "./useResponsive-BWapHhVH.js";
|
|
10
|
-
import Qe from "./vue-ui-skeleton-
|
|
10
|
+
import Qe from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
11
11
|
import { u as Ze } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
|
-
import { _ as et } from "./PackageVersion-
|
|
12
|
+
import { _ as et } from "./PackageVersion-CURzw4q1.js";
|
|
13
13
|
import { u as tt } from "./useChartAccessibility-BWojgys7.js";
|
|
14
14
|
import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
-
const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"],
|
|
15
|
+
const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], nt = ["id"], rt = ["stop-color"], ut = ["stop-color"], it = ["stop-color"], ct = ["stroke", "stroke-width"], vt = ["stroke", "stroke-width"], dt = ["x", "y", "font-size", "fill", "font-weight"], ht = ["points", "fill"], ft = ["stroke", "stroke-width", "rx"], mt = ["x", "y", "font-size", "fill", "font-weight"], bt = ["x", "y", "font-size", "fill", "font-weight"], yt = {
|
|
16
16
|
key: 5,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
18
|
}, gt = ["innerHTML"], pt = {
|
|
@@ -33,20 +33,20 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
33
33
|
},
|
|
34
34
|
setup(ye, { expose: ge }) {
|
|
35
35
|
Le((t) => ({
|
|
36
|
-
"
|
|
36
|
+
"4a21a112": _e.value
|
|
37
37
|
}));
|
|
38
|
-
const { vue_ui_funnel: pe } = Pe(),
|
|
38
|
+
const { vue_ui_funnel: pe } = Pe(), y = ye, x = v(() => !!y.dataset && y.dataset.length);
|
|
39
39
|
Te(W);
|
|
40
40
|
function W() {
|
|
41
|
-
if (Fe(
|
|
41
|
+
if (Fe(y.dataset) ? me({
|
|
42
42
|
componentName: "VueUiFunnel",
|
|
43
43
|
type: "dataset"
|
|
44
|
-
}) :
|
|
45
|
-
|
|
44
|
+
}) : y.dataset.forEach((t, l) => {
|
|
45
|
+
Ie({
|
|
46
46
|
datasetObject: t,
|
|
47
47
|
requiredAttributes: ["name", "value"]
|
|
48
48
|
}).forEach((a) => {
|
|
49
|
-
x.value = !1,
|
|
49
|
+
x.value = !1, me({
|
|
50
50
|
componentName: "VueUiFunnel",
|
|
51
51
|
type: "datasetSerieAttribute",
|
|
52
52
|
property: a,
|
|
@@ -62,7 +62,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
62
62
|
noTitle: Z.value
|
|
63
63
|
});
|
|
64
64
|
requestAnimationFrame(() => {
|
|
65
|
-
i.value.height = a, i.value.width = l,
|
|
65
|
+
i.value.height = a, i.value.width = l, k.value = ve(), d.value.circles = Y({
|
|
66
66
|
relator: Math.min(l, a),
|
|
67
67
|
adjuster: 600,
|
|
68
68
|
source: e.value.style.chart.circles.dataLabels.fontSize,
|
|
@@ -86,15 +86,15 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
86
86
|
ae.value = new ResizeObserver(t), ae.value.observe(F.value.parentNode);
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
|
-
const F = c(null), N = c(
|
|
89
|
+
const F = c(null), N = c(De()), J = c(0), K = c(0), Q = c(0), Z = c(null), ee = c(null), te = c(null), ae = c(null), w = c(!1);
|
|
90
90
|
function le() {
|
|
91
|
-
const t =
|
|
92
|
-
userConfig:
|
|
91
|
+
const t = be({
|
|
92
|
+
userConfig: y.config,
|
|
93
93
|
defaultConfig: pe
|
|
94
94
|
});
|
|
95
95
|
return t.theme ? {
|
|
96
|
-
...
|
|
97
|
-
userConfig: Ue.vue_ui_funnel[t.theme] ||
|
|
96
|
+
...be({
|
|
97
|
+
userConfig: Ue.vue_ui_funnel[t.theme] || y.config,
|
|
98
98
|
defaultConfig: t
|
|
99
99
|
})
|
|
100
100
|
} : t;
|
|
@@ -102,11 +102,11 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
102
102
|
const e = v({
|
|
103
103
|
get: () => le(),
|
|
104
104
|
set: (t) => t
|
|
105
|
-
}), { userOptionsVisible:
|
|
106
|
-
Ae(() =>
|
|
107
|
-
e.value = le(),
|
|
105
|
+
}), { userOptionsVisible: j, setUserOptionsVisibility: se, keepUserOptionState: oe } = Ze({ config: e.value }), { svgRef: ne } = tt({ config: e.value.style.chart.title });
|
|
106
|
+
Ae(() => y.config, (t) => {
|
|
107
|
+
e.value = le(), j.value = !e.value.userOptions.showOnChartHover, W(), K.value += 1, Q.value += 1, d.value.circles = e.value.style.chart.circles.dataLabels.fontSize, d.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, d.value.values = e.value.style.chart.bars.dataLabels.value.fontSize, O.value.showTable = e.value.table.show;
|
|
108
108
|
}, { deep: !0 });
|
|
109
|
-
const { isPrinting:
|
|
109
|
+
const { isPrinting: re, isImaging: ue, generatePdf: ie, generateImage: ce } = je({
|
|
110
110
|
elementId: `funnel_${N.value}`,
|
|
111
111
|
fileName: e.value.style.chart.title.text || "vue-ui-funnel"
|
|
112
112
|
}), ke = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), O = c({
|
|
@@ -121,13 +121,13 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
121
121
|
width: e.value.style.chart.width
|
|
122
122
|
}),
|
|
123
123
|
set: (t) => t
|
|
124
|
-
}),
|
|
124
|
+
}), p = v(() => x.value ? y.dataset.map((t, l) => ({
|
|
125
125
|
...t,
|
|
126
|
-
color: t.color ? Me(t.color) : Re(e.value.style.chart.bars.defaultColor, l /
|
|
126
|
+
color: t.color ? Me(t.color) : Re(e.value.style.chart.bars.defaultColor, l / y.dataset.length)
|
|
127
127
|
})) : []);
|
|
128
128
|
setTimeout(() => {
|
|
129
129
|
w.value = !0;
|
|
130
|
-
},
|
|
130
|
+
}, p.value.length * 150);
|
|
131
131
|
function ve() {
|
|
132
132
|
const t = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
|
|
133
133
|
return {
|
|
@@ -139,20 +139,20 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
139
139
|
height: i.value.height - l - e.value.style.chart.padding.bottom
|
|
140
140
|
};
|
|
141
141
|
}
|
|
142
|
-
const
|
|
143
|
-
const a = L.value - $.value,
|
|
142
|
+
const k = c(ve()), L = v(() => k.value.height / y.dataset.length), $ = v(() => L.value * e.value.style.chart.bars.gapRatio), de = v(() => k.value.width * e.value.style.chart.barCircleSpacingRatio), r = v(() => p.value.map((t, l) => {
|
|
143
|
+
const a = L.value - $.value, o = k.value.top + $.value / 2 * l + (L.value - $.value / 2) * l + $.value / 2, m = t.value / p.value[0].value, h = (k.value.width - a - de.value) * (t.value / p.value[0].value);
|
|
144
144
|
return {
|
|
145
145
|
...t,
|
|
146
|
-
cx:
|
|
147
|
-
cy:
|
|
146
|
+
cx: k.value.left + a / 2,
|
|
147
|
+
cy: o + a / 2,
|
|
148
148
|
datapointIndex: l,
|
|
149
149
|
fill: t.color,
|
|
150
150
|
height: Math.max(a, 0),
|
|
151
|
-
proportion:
|
|
151
|
+
proportion: m,
|
|
152
152
|
r: Math.max(a / 2, 0),
|
|
153
153
|
width: Math.max(h, 0),
|
|
154
|
-
x:
|
|
155
|
-
y:
|
|
154
|
+
x: k.value.left + a + de.value,
|
|
155
|
+
y: o
|
|
156
156
|
};
|
|
157
157
|
})), Ce = v(() => {
|
|
158
158
|
const t = r.value.map((l) => `${l.x + l.width},${l.y + (L.value - $.value) / 2}`);
|
|
@@ -166,39 +166,39 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
166
166
|
function $e(t) {
|
|
167
167
|
z.value = t, J.value += 1;
|
|
168
168
|
}
|
|
169
|
-
const _e = v(() => `${
|
|
170
|
-
function
|
|
171
|
-
|
|
169
|
+
const _e = v(() => `${p.value.length * 150}ms`), I = c(!1);
|
|
170
|
+
function H() {
|
|
171
|
+
I.value = !I.value;
|
|
172
172
|
}
|
|
173
173
|
function he() {
|
|
174
174
|
O.value.showTable = !O.value.showTable;
|
|
175
175
|
}
|
|
176
176
|
const S = v(() => {
|
|
177
|
-
const t =
|
|
177
|
+
const t = p.value.map((a) => ({
|
|
178
178
|
name: a.name,
|
|
179
179
|
color: a.color
|
|
180
|
-
})), l =
|
|
180
|
+
})), l = p.value.map((a) => a.value);
|
|
181
181
|
return { head: t, body: l };
|
|
182
|
-
}),
|
|
182
|
+
}), D = v(() => {
|
|
183
183
|
const t = [
|
|
184
184
|
e.value.table.columnNames.series,
|
|
185
185
|
e.value.table.columnNames.value,
|
|
186
186
|
e.value.table.columnNames.percentage
|
|
187
|
-
], l = S.value.head.map((
|
|
188
|
-
const P =
|
|
187
|
+
], l = S.value.head.map((m, h) => {
|
|
188
|
+
const P = E(
|
|
189
189
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
190
190
|
S.value.body[h],
|
|
191
|
-
|
|
191
|
+
G({
|
|
192
192
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
193
193
|
v: S.value.body[h],
|
|
194
194
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
195
195
|
r: e.value.table.td.roundingValue
|
|
196
196
|
}),
|
|
197
197
|
{ datapoint: r.value[h] }
|
|
198
|
-
),
|
|
198
|
+
), X = E(
|
|
199
199
|
e.value.style.chart.circles.dataLabels.formatter,
|
|
200
200
|
r.value[h].proportion * 100,
|
|
201
|
-
|
|
201
|
+
G({
|
|
202
202
|
v: r.value[h].proportion * 100,
|
|
203
203
|
s: "%",
|
|
204
204
|
r: e.value.table.td.roundingPercentage
|
|
@@ -206,9 +206,9 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
206
206
|
{ datapoint: r.value[h] }
|
|
207
207
|
);
|
|
208
208
|
return [
|
|
209
|
-
{ color:
|
|
209
|
+
{ color: m.color, name: m.name },
|
|
210
210
|
P,
|
|
211
|
-
|
|
211
|
+
X
|
|
212
212
|
];
|
|
213
213
|
}), a = {
|
|
214
214
|
th: {
|
|
@@ -236,14 +236,14 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
236
236
|
});
|
|
237
237
|
function fe() {
|
|
238
238
|
Se(() => {
|
|
239
|
-
const t = S.value.head.map((
|
|
240
|
-
|
|
241
|
-
], [S.value.body[
|
|
239
|
+
const t = S.value.head.map((o, m) => [[
|
|
240
|
+
o.name
|
|
241
|
+
], [S.value.body[m]], [r.value[m].proportion * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(t), a = Ee(l);
|
|
242
242
|
Ge({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-funnel" });
|
|
243
243
|
});
|
|
244
244
|
}
|
|
245
245
|
function xe() {
|
|
246
|
-
return
|
|
246
|
+
return p.value;
|
|
247
247
|
}
|
|
248
248
|
return ge({
|
|
249
249
|
getData: xe,
|
|
@@ -251,23 +251,23 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
251
251
|
generateCsv: fe,
|
|
252
252
|
generateImage: ce,
|
|
253
253
|
toggleTable: he,
|
|
254
|
-
toggleAnnotator:
|
|
254
|
+
toggleAnnotator: H
|
|
255
255
|
}), (t, l) => (s(), u("div", {
|
|
256
256
|
ref_key: "funnelChart",
|
|
257
257
|
ref: F,
|
|
258
258
|
class: T(`vue-ui-funnel ${z.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
259
259
|
style: _(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
260
260
|
id: `funnel_${N.value}`,
|
|
261
|
-
onMouseenter: l[1] || (l[1] = () =>
|
|
262
|
-
onMouseleave: l[2] || (l[2] = () =>
|
|
261
|
+
onMouseenter: l[1] || (l[1] = () => n(se)(!0)),
|
|
262
|
+
onMouseleave: l[2] || (l[2] = () => n(se)(!1))
|
|
263
263
|
}, [
|
|
264
264
|
e.value.userOptions.buttons.annotator ? (s(), A(qe, {
|
|
265
265
|
key: 0,
|
|
266
|
-
svgRef:
|
|
266
|
+
svgRef: n(ne),
|
|
267
267
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
268
268
|
color: e.value.style.chart.color,
|
|
269
|
-
active:
|
|
270
|
-
onClose:
|
|
269
|
+
active: I.value,
|
|
270
|
+
onClose: H
|
|
271
271
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
|
|
272
272
|
ke.value ? (s(), u("div", {
|
|
273
273
|
key: 1,
|
|
@@ -296,13 +296,13 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
296
296
|
}
|
|
297
297
|
}, null, 8, ["config"]))
|
|
298
298
|
], 512)) : f("", !0),
|
|
299
|
-
e.value.userOptions.show && x.value && (
|
|
299
|
+
e.value.userOptions.show && x.value && (n(oe) || n(j)) ? (s(), A(He, {
|
|
300
300
|
ref: "details",
|
|
301
301
|
key: `user_option_${J.value}`,
|
|
302
302
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
303
303
|
color: e.value.style.chart.color,
|
|
304
|
-
isPrinting:
|
|
305
|
-
isImaging:
|
|
304
|
+
isPrinting: n(re),
|
|
305
|
+
isImaging: n(ue),
|
|
306
306
|
uid: N.value,
|
|
307
307
|
hasTooltip: !1,
|
|
308
308
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -316,65 +316,72 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
316
316
|
position: e.value.userOptions.position,
|
|
317
317
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
318
318
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
319
|
-
isAnnotation:
|
|
320
|
-
onToggleAnnotator:
|
|
319
|
+
isAnnotation: I.value,
|
|
320
|
+
onToggleAnnotator: H,
|
|
321
321
|
onToggleFullscreen: $e,
|
|
322
|
-
onGeneratePdf:
|
|
323
|
-
onGenerateImage:
|
|
322
|
+
onGeneratePdf: n(ie),
|
|
323
|
+
onGenerateImage: n(ce),
|
|
324
324
|
onToggleTable: he,
|
|
325
325
|
onGenerateCsv: fe,
|
|
326
326
|
style: _({
|
|
327
|
-
visibility:
|
|
327
|
+
visibility: n(oe) ? n(j) ? "visible" : "hidden" : "visible"
|
|
328
328
|
})
|
|
329
329
|
}, Ne({ _: 2 }, [
|
|
330
|
+
t.$slots.menuIcon ? {
|
|
331
|
+
name: "menuIcon",
|
|
332
|
+
fn: g(({ isOpen: a, color: o }) => [
|
|
333
|
+
b(t.$slots, "menuIcon", M(R({ isOpen: a, color: o })), void 0, !0)
|
|
334
|
+
]),
|
|
335
|
+
key: "0"
|
|
336
|
+
} : void 0,
|
|
330
337
|
t.$slots.optionPdf ? {
|
|
331
338
|
name: "optionPdf",
|
|
332
|
-
fn:
|
|
333
|
-
|
|
339
|
+
fn: g(() => [
|
|
340
|
+
b(t.$slots, "optionPdf", {}, void 0, !0)
|
|
334
341
|
]),
|
|
335
|
-
key: "
|
|
342
|
+
key: "1"
|
|
336
343
|
} : void 0,
|
|
337
344
|
t.$slots.optionCsv ? {
|
|
338
345
|
name: "optionCsv",
|
|
339
|
-
fn:
|
|
340
|
-
|
|
346
|
+
fn: g(() => [
|
|
347
|
+
b(t.$slots, "optionCsv", {}, void 0, !0)
|
|
341
348
|
]),
|
|
342
|
-
key: "
|
|
349
|
+
key: "2"
|
|
343
350
|
} : void 0,
|
|
344
351
|
t.$slots.optionImg ? {
|
|
345
352
|
name: "optionImg",
|
|
346
|
-
fn:
|
|
347
|
-
|
|
353
|
+
fn: g(() => [
|
|
354
|
+
b(t.$slots, "optionImg", {}, void 0, !0)
|
|
348
355
|
]),
|
|
349
|
-
key: "
|
|
356
|
+
key: "3"
|
|
350
357
|
} : void 0,
|
|
351
358
|
t.$slots.optionTable ? {
|
|
352
359
|
name: "optionTable",
|
|
353
|
-
fn:
|
|
354
|
-
|
|
360
|
+
fn: g(() => [
|
|
361
|
+
b(t.$slots, "optionTable", {}, void 0, !0)
|
|
355
362
|
]),
|
|
356
|
-
key: "
|
|
363
|
+
key: "4"
|
|
357
364
|
} : void 0,
|
|
358
365
|
t.$slots.optionFullscreen ? {
|
|
359
366
|
name: "optionFullscreen",
|
|
360
|
-
fn:
|
|
361
|
-
|
|
367
|
+
fn: g(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
368
|
+
b(t.$slots, "optionFullscreen", M(R({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
362
369
|
]),
|
|
363
|
-
key: "
|
|
370
|
+
key: "5"
|
|
364
371
|
} : void 0,
|
|
365
372
|
t.$slots.optionAnnotator ? {
|
|
366
373
|
name: "optionAnnotator",
|
|
367
|
-
fn:
|
|
368
|
-
|
|
374
|
+
fn: g(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
375
|
+
b(t.$slots, "optionAnnotator", M(R({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
369
376
|
]),
|
|
370
|
-
key: "
|
|
377
|
+
key: "6"
|
|
371
378
|
} : void 0
|
|
372
379
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
373
380
|
x.value ? (s(), u("svg", {
|
|
374
381
|
key: 4,
|
|
375
382
|
ref_key: "svgRef",
|
|
376
|
-
ref:
|
|
377
|
-
xmlns:
|
|
383
|
+
ref: ne,
|
|
384
|
+
xmlns: n(Ve),
|
|
378
385
|
class: T({ "vue-data-ui-fullscreen--on": z.value, "vue-data-ui-fulscreen--off": !z.value }),
|
|
379
386
|
viewBox: `0 0 ${i.value.width <= 0 ? 10 : i.value.width} ${i.value.height <= 0 ? 10 : i.value.height}`,
|
|
380
387
|
style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
@@ -390,7 +397,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
390
397
|
pointerEvents: "none"
|
|
391
398
|
}
|
|
392
399
|
}, [
|
|
393
|
-
|
|
400
|
+
b(t.$slots, "chart-background", {}, void 0, !0)
|
|
394
401
|
], 8, ot)) : f("", !0),
|
|
395
402
|
C("defs", null, [
|
|
396
403
|
C("linearGradient", {
|
|
@@ -404,7 +411,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
404
411
|
offset: "0%",
|
|
405
412
|
"stop-color": e.value.style.chart.backgroundColor,
|
|
406
413
|
"stop-opacity": 0
|
|
407
|
-
}, null, 8,
|
|
414
|
+
}, null, 8, rt),
|
|
408
415
|
C("stop", {
|
|
409
416
|
offset: "20%",
|
|
410
417
|
"stop-color": e.value.style.chart.area.color
|
|
@@ -413,7 +420,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
413
420
|
offset: "100%",
|
|
414
421
|
"stop-color": e.value.style.chart.area.color
|
|
415
422
|
}, null, 8, it)
|
|
416
|
-
], 8,
|
|
423
|
+
], 8, nt)
|
|
417
424
|
]),
|
|
418
425
|
e.value.style.chart.circleLinks.show ? (s(), u("line", q({ key: 1 }, we.value, {
|
|
419
426
|
stroke: e.value.style.chart.circleLinks.color,
|
|
@@ -423,11 +430,11 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
423
430
|
animated: e.value.useCssAnimation
|
|
424
431
|
},
|
|
425
432
|
style: {
|
|
426
|
-
strokeDasharray: e.value.useCssAnimation ?
|
|
427
|
-
strokeDashoffset: e.value.useCssAnimation ?
|
|
433
|
+
strokeDasharray: e.value.useCssAnimation ? k.value.height : 0,
|
|
434
|
+
strokeDashoffset: e.value.useCssAnimation ? k.value.height : 0
|
|
428
435
|
}
|
|
429
436
|
}), null, 16, ct)) : f("", !0),
|
|
430
|
-
(s(!0), u(
|
|
437
|
+
(s(!0), u(V, null, B(r.value, ({ cx: a, cy: o, r: m, fill: h }, P) => (s(), u("circle", q({ ref_for: !0 }, { cx: a, cy: o, r: m, fill: h }, {
|
|
431
438
|
stroke: e.value.style.chart.circles.stroke,
|
|
432
439
|
"stroke-width": e.value.style.chart.circles.strokeWidth,
|
|
433
440
|
class: {
|
|
@@ -437,23 +444,23 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
437
444
|
animationDelay: `${150 * P}ms`
|
|
438
445
|
}
|
|
439
446
|
}), null, 16, vt))), 256)),
|
|
440
|
-
(s(!0), u(
|
|
447
|
+
(s(!0), u(V, null, B(r.value, (a, o) => (s(), u("text", {
|
|
441
448
|
x: a.cx,
|
|
442
449
|
y: a.cy + d.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
|
|
443
450
|
"text-anchor": "middle",
|
|
444
451
|
"font-size": d.value.circles,
|
|
445
|
-
fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ?
|
|
452
|
+
fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? n(Be)(a.color) : e.value.style.chart.circles.dataLabels.color,
|
|
446
453
|
"font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
|
|
447
454
|
class: T({
|
|
448
455
|
animated: e.value.useCssAnimation && !w.value
|
|
449
456
|
}),
|
|
450
457
|
style: _({
|
|
451
|
-
animationDelay: `${150 *
|
|
458
|
+
animationDelay: `${150 * o}ms`
|
|
452
459
|
})
|
|
453
|
-
},
|
|
460
|
+
}, U(n(E)(
|
|
454
461
|
e.value.style.chart.circles.dataLabels.formatter,
|
|
455
462
|
a.proportion * 100,
|
|
456
|
-
|
|
463
|
+
n(G)({
|
|
457
464
|
v: a.proportion * 100,
|
|
458
465
|
s: "%",
|
|
459
466
|
r: e.value.style.chart.circles.dataLabels.rounding
|
|
@@ -468,10 +475,10 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
468
475
|
animated: e.value.useCssAnimation && !w.value
|
|
469
476
|
}),
|
|
470
477
|
style: _({
|
|
471
|
-
transition: e.value.useCssAnimation ? `all ${150 *
|
|
478
|
+
transition: e.value.useCssAnimation ? `all ${150 * p.value.length}ms ease-in` : "none"
|
|
472
479
|
})
|
|
473
480
|
}, null, 14, ht)) : f("", !0),
|
|
474
|
-
(s(!0), u(
|
|
481
|
+
(s(!0), u(V, null, B(r.value, ({ x: a, y: o, height: m, width: h, fill: P }, X) => (s(), u("rect", q({ ref_for: !0 }, { x: a, y: o, height: m, width: h, fill: P }, {
|
|
475
482
|
stroke: e.value.style.chart.bars.stroke,
|
|
476
483
|
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
477
484
|
rx: e.value.style.chart.bars.borderRadius,
|
|
@@ -479,10 +486,10 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
479
486
|
animated: e.value.useCssAnimation && !w.value
|
|
480
487
|
},
|
|
481
488
|
style: {
|
|
482
|
-
animationDelay: `${150 *
|
|
489
|
+
animationDelay: `${150 * X}ms`
|
|
483
490
|
}
|
|
484
491
|
}), null, 16, ft))), 256)),
|
|
485
|
-
(s(!0), u(
|
|
492
|
+
(s(!0), u(V, null, B(r.value, (a, o) => (s(), u("g", null, [
|
|
486
493
|
C("text", {
|
|
487
494
|
x: a.x + a.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
|
|
488
495
|
y: a.cy - d.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
|
|
@@ -494,9 +501,9 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
494
501
|
animated: e.value.useCssAnimation && !w.value
|
|
495
502
|
}),
|
|
496
503
|
style: _({
|
|
497
|
-
animationDelay: `${150 *
|
|
504
|
+
animationDelay: `${150 * o}ms`
|
|
498
505
|
})
|
|
499
|
-
},
|
|
506
|
+
}, U(a.name), 15, mt),
|
|
500
507
|
C("text", {
|
|
501
508
|
x: a.x + a.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
|
|
502
509
|
y: a.cy + d.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
|
|
@@ -508,24 +515,24 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
508
515
|
animated: e.value.useCssAnimation && !w.value
|
|
509
516
|
}),
|
|
510
517
|
style: _({
|
|
511
|
-
animationDelay: `${150 *
|
|
518
|
+
animationDelay: `${150 * o}ms`
|
|
512
519
|
})
|
|
513
|
-
},
|
|
520
|
+
}, U(n(E)(
|
|
514
521
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
515
522
|
a.value,
|
|
516
|
-
|
|
523
|
+
n(G)({
|
|
517
524
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
518
525
|
v: a.value,
|
|
519
526
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
520
527
|
r: e.value.style.chart.bars.dataLabels.value.rounding
|
|
521
528
|
}),
|
|
522
529
|
{ datapoint: a }
|
|
523
|
-
)), 15,
|
|
530
|
+
)), 15, bt)
|
|
524
531
|
]))), 256)),
|
|
525
|
-
|
|
532
|
+
b(t.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
526
533
|
], 14, st)) : f("", !0),
|
|
527
534
|
t.$slots.watermark ? (s(), u("div", yt, [
|
|
528
|
-
|
|
535
|
+
b(t.$slots, "watermark", M(R({ isPrinting: n(re) || n(ue) })), void 0, !0)
|
|
529
536
|
])) : f("", !0),
|
|
530
537
|
x.value ? f("", !0) : (s(), A(Qe, {
|
|
531
538
|
key: 6,
|
|
@@ -548,7 +555,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
548
555
|
ref: ee,
|
|
549
556
|
dir: "auto"
|
|
550
557
|
}, [
|
|
551
|
-
|
|
558
|
+
b(t.$slots, "source", {}, void 0, !0)
|
|
552
559
|
], 512)) : f("", !0),
|
|
553
560
|
x.value ? (s(), A(We, {
|
|
554
561
|
key: 8,
|
|
@@ -566,24 +573,24 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
566
573
|
}
|
|
567
574
|
}
|
|
568
575
|
}, {
|
|
569
|
-
content:
|
|
576
|
+
content: g(() => [
|
|
570
577
|
(s(), A(Ye, {
|
|
571
578
|
key: `table_${Q.value}`,
|
|
572
|
-
colNames:
|
|
573
|
-
head:
|
|
574
|
-
body:
|
|
575
|
-
config:
|
|
579
|
+
colNames: D.value.colNames,
|
|
580
|
+
head: D.value.head,
|
|
581
|
+
body: D.value.body,
|
|
582
|
+
config: D.value.config,
|
|
576
583
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
577
584
|
onClose: l[0] || (l[0] = (a) => O.value.showTable = !1)
|
|
578
585
|
}, {
|
|
579
|
-
th:
|
|
586
|
+
th: g(({ th: a }) => [
|
|
580
587
|
C("div", {
|
|
581
588
|
innerHTML: a,
|
|
582
589
|
style: { display: "flex", "align-items": "center" }
|
|
583
590
|
}, null, 8, gt)
|
|
584
591
|
]),
|
|
585
|
-
td:
|
|
586
|
-
ze(
|
|
592
|
+
td: g(({ td: a }) => [
|
|
593
|
+
ze(U(a.name ? a.name : a), 1)
|
|
587
594
|
]),
|
|
588
595
|
_: 1
|
|
589
596
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -592,7 +599,7 @@ const lt = ["id"], st = ["xmlns", "viewBox"], ot = ["width", "height"], rt = ["i
|
|
|
592
599
|
}, 8, ["config"])) : f("", !0)
|
|
593
600
|
], 46, lt));
|
|
594
601
|
}
|
|
595
|
-
}, Ft = /* @__PURE__ */ at(pt, [["__scopeId", "data-v-
|
|
602
|
+
}, Ft = /* @__PURE__ */ at(pt, [["__scopeId", "data-v-fb07d7cc"]]);
|
|
596
603
|
export {
|
|
597
604
|
Ft as default
|
|
598
605
|
};
|