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 { ref as c, computed as f, onMounted as We, onBeforeUnmount as He, watch as Ee, createElementBlock as r, openBlock as s, unref as h, normalizeStyle as M, normalizeClass as
|
|
2
|
-
import { u as Ze, c as Ce, o as Je, e as _e, g as Ke, b as Qe, d as et, p as H, D as $e, i as
|
|
3
|
-
import { u as Me } from "./useNestedProp-
|
|
4
|
-
import { u as ct, U as vt } from "./usePrinter-
|
|
5
|
-
import { _ as ht } from "./PackageVersion-
|
|
6
|
-
import { L as yt } from "./Legend-
|
|
7
|
-
import { _ as dt } from "./Title-
|
|
8
|
-
import { _ as ft } from "./Tooltip-
|
|
9
|
-
import { D as xt } from "./DataTable-
|
|
10
|
-
import pt from "./vue-ui-accordion-
|
|
11
|
-
import { P as mt } from "./PenAndPaper-
|
|
12
|
-
import gt from "./vue-ui-skeleton-
|
|
1
|
+
import { ref as c, computed as f, onMounted as We, onBeforeUnmount as He, watch as Ee, createElementBlock as r, openBlock as s, unref as h, normalizeStyle as M, normalizeClass as I, renderSlot as x, createBlock as z, createCommentVNode as v, createElementVNode as T, createVNode as we, createSlots as Ge, withCtx as m, normalizeProps as O, guardReactiveProps as P, Fragment as b, renderList as k, toDisplayString as L, createTextVNode as Ve, nextTick as qe } from "vue";
|
|
2
|
+
import { u as Ze, c as Ce, o as Je, e as _e, g as Ke, b as Qe, d as et, p as H, D as $e, i as F, f as X, X as tt, l as lt, h as at, G as st, F as N, t as ot, a as rt, C as E, q as nt, r as ut, x as it } from "./index-Cq7-va_5.js";
|
|
3
|
+
import { u as Me } from "./useNestedProp-BEyJNlaO.js";
|
|
4
|
+
import { u as ct, U as vt } from "./usePrinter-jRjc8Naz.js";
|
|
5
|
+
import { _ as ht } from "./PackageVersion-CURzw4q1.js";
|
|
6
|
+
import { L as yt } from "./Legend-CaMKYW-V.js";
|
|
7
|
+
import { _ as dt } from "./Title-CUHNtIyE.js";
|
|
8
|
+
import { _ as ft } from "./Tooltip-BuAQ8HVL.js";
|
|
9
|
+
import { D as xt } from "./DataTable-CMUyDj6S.js";
|
|
10
|
+
import pt from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
11
|
+
import { P as mt } from "./PenAndPaper-CjiJra09.js";
|
|
12
|
+
import gt from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
13
13
|
import { t as bt, u as kt } from "./useResponsive-BWapHhVH.js";
|
|
14
14
|
import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as Ct } from "./useChartAccessibility-BWojgys7.js";
|
|
16
16
|
import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"], Tt = { key: 1 }, Lt = ["id"], St = ["stop-color"], zt = ["stop-color"], Nt = ["stop-color"],
|
|
17
|
+
const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"], Tt = { key: 1 }, Lt = ["id"], St = ["stop-color"], zt = ["stop-color"], Nt = ["stop-color"], It = { key: 2 }, Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = { key: 3 }, Ft = ["x", "y", "fill", "font-size"], Xt = ["transform", "font-size", "fill", "font-weight"], Dt = { key: 5 }, Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 6 }, Bt = ["transform", "fill", "font-size", "text-anchor"], Rt = ["x", "y", "font-size", "fill", "font-weight"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = ["d", "stroke", "stroke-width"], Et = ["d", "stroke", "stroke-width"], Gt = ["cx", "cy", "fill", "r"], Vt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], qt = { key: 1 }, Zt = ["x", "y", "font-size", "fill", "font-weight"], Jt = { key: 2 }, Kt = ["x", "y", "font-size", "font-weight", "fill"], Qt = ["cx", "cy", "r", "onMouseenter", "onClick"], el = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, tl = ["onClick"], ll = ["innerHTML"], al = {
|
|
@@ -35,7 +35,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend", "selectDatapoint"],
|
|
37
37
|
setup(Ae, { expose: Te, emit: Le }) {
|
|
38
|
-
const { vue_ui_history_plot: Se } = Ze(), y = Ae,
|
|
38
|
+
const { vue_ui_history_plot: Se } = Ze(), y = Ae, D = c(null), K = c(null), Q = c(0), ee = c(null), te = c(0), le = c(0), ae = c(0), B = c(null), se = c(null), Y = c(Ce()), G = c(!1), V = c(""), g = c([]), R = c(!1), $ = c(null), j = c(!1), oe = c(null), w = f({
|
|
39
39
|
get: () => !!y.dataset && y.dataset.length,
|
|
40
40
|
set: (t) => t
|
|
41
41
|
}), re = Le;
|
|
@@ -61,50 +61,50 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
61
61
|
}), e.value.responsive) {
|
|
62
62
|
const t = bt(() => {
|
|
63
63
|
const { width: a, height: l } = kt({
|
|
64
|
-
chart:
|
|
64
|
+
chart: D.value,
|
|
65
65
|
title: e.value.style.chart.title.text ? K.value : null,
|
|
66
66
|
noTitle: se.value,
|
|
67
67
|
legend: e.value.style.chart.legend.show ? ee.value : null,
|
|
68
68
|
source: oe.value
|
|
69
69
|
});
|
|
70
70
|
requestAnimationFrame(() => {
|
|
71
|
-
d.value.width = a, d.value.height = l,
|
|
71
|
+
d.value.width = a, d.value.height = l, u.value.plots = N({
|
|
72
72
|
relator: Math.min(a, l),
|
|
73
73
|
adjuster: 600,
|
|
74
74
|
source: e.value.style.chart.plots.radius,
|
|
75
75
|
threshold: 3,
|
|
76
76
|
fallback: 3
|
|
77
|
-
}),
|
|
77
|
+
}), u.value.indexLabels = N({
|
|
78
78
|
relator: Math.min(a, l),
|
|
79
79
|
adjuster: 600,
|
|
80
80
|
source: e.value.style.chart.plots.indexLabels.fontSize,
|
|
81
81
|
threshold: 6,
|
|
82
82
|
fallback: 6
|
|
83
|
-
}),
|
|
83
|
+
}), u.value.labels = N({
|
|
84
84
|
relator: Math.min(a, l),
|
|
85
85
|
adjuster: 600,
|
|
86
86
|
source: e.value.style.chart.plots.labels.fontSize,
|
|
87
87
|
threshold: 6,
|
|
88
88
|
fallback: 6
|
|
89
|
-
}),
|
|
89
|
+
}), u.value.xAxisLabels = N({
|
|
90
90
|
relator: Math.min(a, l),
|
|
91
91
|
adjuster: 600,
|
|
92
92
|
source: e.value.style.chart.axes.x.labels.fontSize,
|
|
93
93
|
threshold: 6,
|
|
94
94
|
fallback: 6
|
|
95
|
-
}),
|
|
95
|
+
}), u.value.xAxisName = N({
|
|
96
96
|
relator: Math.min(a, l),
|
|
97
97
|
adjuster: 600,
|
|
98
98
|
source: e.value.style.chart.axes.x.name.fontSize,
|
|
99
99
|
threshold: 6,
|
|
100
100
|
fallback: 6
|
|
101
|
-
}),
|
|
101
|
+
}), u.value.yAxisLabels = N({
|
|
102
102
|
relator: Math.min(a, l),
|
|
103
103
|
adjuster: 600,
|
|
104
104
|
source: e.value.style.chart.axes.y.labels.fontSize,
|
|
105
105
|
threshold: 6,
|
|
106
106
|
fallback: 6
|
|
107
|
-
}),
|
|
107
|
+
}), u.value.yAxisName = N({
|
|
108
108
|
relator: Math.min(a, l),
|
|
109
109
|
adjuster: 600,
|
|
110
110
|
source: e.value.style.chart.axes.y.name.fontSize,
|
|
@@ -113,10 +113,10 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
113
113
|
});
|
|
114
114
|
});
|
|
115
115
|
});
|
|
116
|
-
B.value = new ResizeObserver(t), B.value.observe(
|
|
116
|
+
B.value = new ResizeObserver(t), B.value.observe(D.value.parentNode);
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function ue() {
|
|
120
120
|
const t = Me({
|
|
121
121
|
userConfig: y.config,
|
|
122
122
|
defaultConfig: Se
|
|
@@ -131,14 +131,14 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
131
131
|
} : a = t, y.config && E(y.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = y.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, y.config && E(y.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = y.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, y.config && E(y.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = y.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, y.config && E(y.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = y.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
|
|
132
132
|
}
|
|
133
133
|
const e = f({
|
|
134
|
-
get: () =>
|
|
134
|
+
get: () => ue(),
|
|
135
135
|
set: (t) => t
|
|
136
|
-
}), { userOptionsVisible: q, setUserOptionsVisibility:
|
|
136
|
+
}), { userOptionsVisible: q, setUserOptionsVisibility: ie, keepUserOptionState: ce } = wt({ config: e.value }), { svgRef: ve } = Ct({ config: e.value.style.chart.title });
|
|
137
137
|
Ee(() => y.config, (t) => {
|
|
138
|
-
e.value =
|
|
138
|
+
e.value = ue(), q.value = !e.value.userOptions.showOnChartHover, ne(), Q.value += 1, le.value += 1, te.value += 1, d.value.height = e.value.style.chart.height, d.value.width = e.value.style.chart.width, u.value.plots = e.value.style.chart.plots.radius, u.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, u.value.labels = e.value.style.chart.plots.labels.fontSize, u.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, u.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, u.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, u.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
139
139
|
}, { deep: !0 });
|
|
140
140
|
const { isPrinting: he, isImaging: ye, generatePdf: de, generateImage: fe } = ct({
|
|
141
|
-
elementId: `history_plot_${
|
|
141
|
+
elementId: `history_plot_${Y.value}`,
|
|
142
142
|
fileName: e.value.style.chart.title.text || "vue-ui-history-plot"
|
|
143
143
|
}), ze = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ne = f(() => Qe(e.value.customPalette)), C = c({
|
|
144
144
|
showTable: e.value.table.show,
|
|
@@ -156,7 +156,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
156
156
|
width: d.value.width - t - e.value.style.chart.padding.right,
|
|
157
157
|
height: d.value.height - a - e.value.style.chart.padding.bottom
|
|
158
158
|
};
|
|
159
|
-
}),
|
|
159
|
+
}), u = c({
|
|
160
160
|
plots: e.value.style.chart.plots.radius,
|
|
161
161
|
indexLabels: e.value.style.chart.plots.indexLabels.fontSize,
|
|
162
162
|
labels: e.value.style.chart.plots.labels.fontSize,
|
|
@@ -168,22 +168,22 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
168
168
|
...t,
|
|
169
169
|
color: t.color ? et(t.color) : Ne.value[a] || H[a] || H[a % H.length],
|
|
170
170
|
seriesIndex: a
|
|
171
|
-
})) : []),
|
|
171
|
+
})) : []), Ie = f(() => w.value ? Math.max(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), Oe = f(() => {
|
|
172
172
|
if (!w.value) return 1;
|
|
173
173
|
const t = Math.min(...A.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
|
|
174
174
|
return t < 0 ? t : 0;
|
|
175
|
-
}),
|
|
175
|
+
}), Pe = f(() => w.value ? Math.max(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Fe = f(() => {
|
|
176
176
|
if (!w.value) return 1;
|
|
177
177
|
const t = Math.min(...A.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
|
|
178
178
|
return t < 0 ? t : 0;
|
|
179
179
|
}), p = f(() => {
|
|
180
180
|
const t = $e(
|
|
181
|
-
e.value.style.chart.axes.x.scaleMin === null ?
|
|
182
|
-
e.value.style.chart.axes.x.scaleMax === null ?
|
|
181
|
+
e.value.style.chart.axes.x.scaleMin === null ? Oe.value : e.value.style.chart.axes.x.scaleMin,
|
|
182
|
+
e.value.style.chart.axes.x.scaleMax === null ? Ie.value : e.value.style.chart.axes.x.scaleMax,
|
|
183
183
|
e.value.style.chart.axes.x.ticks
|
|
184
184
|
), a = $e(
|
|
185
185
|
e.value.style.chart.axes.y.scaleMin === null ? Fe.value : e.value.style.chart.axes.y.scaleMin,
|
|
186
|
-
e.value.style.chart.axes.y.scaleMax === null ?
|
|
186
|
+
e.value.style.chart.axes.y.scaleMax === null ? Pe.value : e.value.style.chart.axes.y.scaleMax,
|
|
187
187
|
e.value.style.chart.axes.y.ticks
|
|
188
188
|
);
|
|
189
189
|
return {
|
|
@@ -221,11 +221,11 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
221
221
|
color: t.color,
|
|
222
222
|
seriesName: t.name,
|
|
223
223
|
id: Ce()
|
|
224
|
-
})),
|
|
224
|
+
})), i = l.map((o) => `${o.x},${o.y} `).join("").trim();
|
|
225
225
|
return {
|
|
226
226
|
...t,
|
|
227
227
|
plots: l,
|
|
228
|
-
path: `M${
|
|
228
|
+
path: `M${i}`
|
|
229
229
|
};
|
|
230
230
|
}));
|
|
231
231
|
function xe(t) {
|
|
@@ -261,35 +261,35 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
261
261
|
const Z = c(null);
|
|
262
262
|
function Re({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
263
263
|
Z.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: A.value }, $.value = t;
|
|
264
|
-
const
|
|
265
|
-
if (
|
|
264
|
+
const i = e.value.style.chart.tooltip.customFormat;
|
|
265
|
+
if (j.value = !1, it(i))
|
|
266
266
|
try {
|
|
267
|
-
const o =
|
|
267
|
+
const o = i({
|
|
268
268
|
seriesIndex: l,
|
|
269
269
|
datapoint: t,
|
|
270
270
|
plotIndex: a,
|
|
271
271
|
series: A.value,
|
|
272
272
|
config: e.value
|
|
273
273
|
});
|
|
274
|
-
typeof o == "string" && (V.value = o,
|
|
274
|
+
typeof o == "string" && (V.value = o, j.value = !0);
|
|
275
275
|
} catch {
|
|
276
|
-
console.warn("Custom format cannot be applied."),
|
|
276
|
+
console.warn("Custom format cannot be applied."), j.value = !1;
|
|
277
277
|
}
|
|
278
|
-
if (!
|
|
278
|
+
if (!j.value) {
|
|
279
279
|
let o = "";
|
|
280
|
-
o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, o += `<div>${t.label}</div>`, o += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${
|
|
280
|
+
o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, o += `<div>${t.label}</div>`, o += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${F(
|
|
281
281
|
e.value.style.chart.axes.x.labels.formatter,
|
|
282
282
|
t.valueX,
|
|
283
|
-
|
|
283
|
+
X({
|
|
284
284
|
p: e.value.style.chart.axes.x.labels.prefix,
|
|
285
285
|
v: t.valueX,
|
|
286
286
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
287
287
|
r: e.value.style.chart.axes.x.labels.rounding
|
|
288
288
|
})
|
|
289
|
-
)}</div>`, o += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${
|
|
289
|
+
)}</div>`, o += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${F(
|
|
290
290
|
e.value.style.chart.axes.y.labels.formatter,
|
|
291
291
|
t.valueY,
|
|
292
|
-
|
|
292
|
+
X({
|
|
293
293
|
p: e.value.style.chart.axes.y.labels.prefix,
|
|
294
294
|
v: t.valueY,
|
|
295
295
|
s: e.value.style.chart.axes.y.labels.suffix,
|
|
@@ -309,26 +309,26 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
309
309
|
e.value.table.columnNames.datapoint,
|
|
310
310
|
e.value.table.columnNames.x,
|
|
311
311
|
e.value.table.columnNames.y
|
|
312
|
-
], a = S.value.flatMap((
|
|
312
|
+
], a = S.value.flatMap((i) => i.plots.map((o) => [
|
|
313
313
|
{
|
|
314
314
|
color: o.color,
|
|
315
315
|
name: o.seriesName
|
|
316
316
|
},
|
|
317
317
|
o.label,
|
|
318
|
-
|
|
318
|
+
F(
|
|
319
319
|
e.value.style.chart.axes.x.labels.formatter,
|
|
320
320
|
o.valueX,
|
|
321
|
-
|
|
321
|
+
X({
|
|
322
322
|
p: e.value.style.chart.axes.x.labels.prefix,
|
|
323
323
|
v: o.valueX,
|
|
324
324
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
325
325
|
r: e.value.style.chart.axes.x.labels.rounding
|
|
326
326
|
})
|
|
327
327
|
),
|
|
328
|
-
|
|
328
|
+
F(
|
|
329
329
|
e.value.style.chart.axes.y.labels.formatter,
|
|
330
330
|
o.valueY,
|
|
331
|
-
|
|
331
|
+
X({
|
|
332
332
|
p: e.value.style.chart.axes.y.labels.prefix,
|
|
333
333
|
v: o.valueY,
|
|
334
334
|
s: e.value.style.chart.axes.y.labels.suffix,
|
|
@@ -371,9 +371,9 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
371
371
|
[e.value.style.chart.title.text],
|
|
372
372
|
[e.value.style.chart.title.subtitle.text],
|
|
373
373
|
t
|
|
374
|
-
].concat(a),
|
|
375
|
-
|
|
376
|
-
csvContent:
|
|
374
|
+
].concat(a), i = nt(l);
|
|
375
|
+
ut({
|
|
376
|
+
csvContent: i,
|
|
377
377
|
title: e.value.style.chart.title.text || "vue-ui-history-plot"
|
|
378
378
|
});
|
|
379
379
|
});
|
|
@@ -400,13 +400,13 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
400
400
|
toggleTooltip: ke,
|
|
401
401
|
toggleAnnotator: J
|
|
402
402
|
}), (t, a) => (s(), r("div", {
|
|
403
|
-
id: `history_plot_${
|
|
403
|
+
id: `history_plot_${Y.value}`,
|
|
404
404
|
ref_key: "historyPlotChart",
|
|
405
|
-
ref:
|
|
406
|
-
class:
|
|
405
|
+
ref: D,
|
|
406
|
+
class: I({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": R.value }),
|
|
407
407
|
style: M(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
|
|
408
|
-
onMouseenter: a[3] || (a[3] = () => h(
|
|
409
|
-
onMouseleave: a[4] || (a[4] = () => h(
|
|
408
|
+
onMouseenter: a[3] || (a[3] = () => h(ie)(!0)),
|
|
409
|
+
onMouseleave: a[4] || (a[4] = () => h(ie)(!1))
|
|
410
410
|
}, [
|
|
411
411
|
x(t.$slots, "userConfig", {}, void 0, !0),
|
|
412
412
|
e.value.userOptions.buttons.annotator ? (s(), z(mt, {
|
|
@@ -452,7 +452,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
452
452
|
color: e.value.style.chart.color,
|
|
453
453
|
isPrinting: h(he),
|
|
454
454
|
isImaging: h(ye),
|
|
455
|
-
uid:
|
|
455
|
+
uid: Y.value,
|
|
456
456
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
457
457
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
458
458
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -461,7 +461,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
461
461
|
hasLabel: !1,
|
|
462
462
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
463
463
|
isFullscreen: R.value,
|
|
464
|
-
chartElement:
|
|
464
|
+
chartElement: D.value,
|
|
465
465
|
position: e.value.userOptions.position,
|
|
466
466
|
isTooltip: C.value.showTooltip,
|
|
467
467
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
@@ -478,54 +478,61 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
478
478
|
visibility: h(ce) ? h(q) ? "visible" : "hidden" : "visible"
|
|
479
479
|
})
|
|
480
480
|
}, Ge({ _: 2 }, [
|
|
481
|
+
t.$slots.menuIcon ? {
|
|
482
|
+
name: "menuIcon",
|
|
483
|
+
fn: m(({ isOpen: l, color: i }) => [
|
|
484
|
+
x(t.$slots, "menuIcon", O(P({ isOpen: l, color: i })), void 0, !0)
|
|
485
|
+
]),
|
|
486
|
+
key: "0"
|
|
487
|
+
} : void 0,
|
|
481
488
|
t.$slots.optionTooltip ? {
|
|
482
489
|
name: "optionTooltip",
|
|
483
490
|
fn: m(() => [
|
|
484
491
|
x(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
485
492
|
]),
|
|
486
|
-
key: "
|
|
493
|
+
key: "1"
|
|
487
494
|
} : void 0,
|
|
488
495
|
t.$slots.optionPdf ? {
|
|
489
496
|
name: "optionPdf",
|
|
490
497
|
fn: m(() => [
|
|
491
498
|
x(t.$slots, "optionPdf", {}, void 0, !0)
|
|
492
499
|
]),
|
|
493
|
-
key: "
|
|
500
|
+
key: "2"
|
|
494
501
|
} : void 0,
|
|
495
502
|
t.$slots.optionCsv ? {
|
|
496
503
|
name: "optionCsv",
|
|
497
504
|
fn: m(() => [
|
|
498
505
|
x(t.$slots, "optionCsv", {}, void 0, !0)
|
|
499
506
|
]),
|
|
500
|
-
key: "
|
|
507
|
+
key: "3"
|
|
501
508
|
} : void 0,
|
|
502
509
|
t.$slots.optionImg ? {
|
|
503
510
|
name: "optionImg",
|
|
504
511
|
fn: m(() => [
|
|
505
512
|
x(t.$slots, "optionImg", {}, void 0, !0)
|
|
506
513
|
]),
|
|
507
|
-
key: "
|
|
514
|
+
key: "4"
|
|
508
515
|
} : void 0,
|
|
509
516
|
t.$slots.optionTable ? {
|
|
510
517
|
name: "optionTable",
|
|
511
518
|
fn: m(() => [
|
|
512
519
|
x(t.$slots, "optionTable", {}, void 0, !0)
|
|
513
520
|
]),
|
|
514
|
-
key: "
|
|
521
|
+
key: "5"
|
|
515
522
|
} : void 0,
|
|
516
523
|
t.$slots.optionFullscreen ? {
|
|
517
524
|
name: "optionFullscreen",
|
|
518
|
-
fn: m(({ toggleFullscreen: l, isFullscreen:
|
|
519
|
-
x(t.$slots, "optionFullscreen",
|
|
525
|
+
fn: m(({ toggleFullscreen: l, isFullscreen: i }) => [
|
|
526
|
+
x(t.$slots, "optionFullscreen", O(P({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
|
|
520
527
|
]),
|
|
521
|
-
key: "
|
|
528
|
+
key: "6"
|
|
522
529
|
} : void 0,
|
|
523
530
|
t.$slots.optionAnnotator ? {
|
|
524
531
|
name: "optionAnnotator",
|
|
525
|
-
fn: m(({ toggleAnnotator: l, isAnnotator:
|
|
526
|
-
x(t.$slots, "optionAnnotator",
|
|
532
|
+
fn: m(({ toggleAnnotator: l, isAnnotator: i }) => [
|
|
533
|
+
x(t.$slots, "optionAnnotator", O(P({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
|
|
527
534
|
]),
|
|
528
|
-
key: "
|
|
535
|
+
key: "7"
|
|
529
536
|
} : void 0
|
|
530
537
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
531
538
|
w.value ? (s(), r("svg", {
|
|
@@ -550,8 +557,8 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
550
557
|
x(t.$slots, "chart-background", {}, void 0, !0)
|
|
551
558
|
], 8, At)) : v("", !0),
|
|
552
559
|
e.value.style.chart.plots.gradient.show ? (s(), r("defs", Tt, [
|
|
553
|
-
(s(!0), r(b, null, k(S.value, (l,
|
|
554
|
-
id: `gradient_${
|
|
560
|
+
(s(!0), r(b, null, k(S.value, (l, i) => (s(), r("radialGradient", {
|
|
561
|
+
id: `gradient_${i}_${Y.value}`,
|
|
555
562
|
fy: "30%"
|
|
556
563
|
}, [
|
|
557
564
|
T("stop", {
|
|
@@ -568,7 +575,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
568
575
|
}, null, 8, Nt)
|
|
569
576
|
], 8, Lt))), 256))
|
|
570
577
|
])) : v("", !0),
|
|
571
|
-
e.value.style.chart.grid.verticalLines.show ? (s(), r("g",
|
|
578
|
+
e.value.style.chart.grid.verticalLines.show ? (s(), r("g", It, [
|
|
572
579
|
(s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("line", {
|
|
573
580
|
x1: l.x,
|
|
574
581
|
x2: l.x,
|
|
@@ -577,19 +584,19 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
577
584
|
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
578
585
|
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
579
586
|
"stroke-linecap": "round"
|
|
580
|
-
}, null, 8,
|
|
587
|
+
}, null, 8, Ot))), 256))
|
|
581
588
|
])) : v("", !0),
|
|
582
|
-
e.value.style.chart.axes.y.labels.show ? (s(), r("g",
|
|
589
|
+
e.value.style.chart.axes.y.labels.show ? (s(), r("g", Pt, [
|
|
583
590
|
(s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("text", {
|
|
584
591
|
x: n.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
|
|
585
|
-
y: l.y +
|
|
592
|
+
y: l.y + u.value.yAxisLabels / 3,
|
|
586
593
|
fill: e.value.style.chart.axes.y.labels.color,
|
|
587
|
-
"font-size":
|
|
594
|
+
"font-size": u.value.yAxisLabels,
|
|
588
595
|
"text-anchor": "end"
|
|
589
|
-
}, L(h(
|
|
596
|
+
}, L(h(F)(
|
|
590
597
|
e.value.style.chart.axes.y.labels.formatter,
|
|
591
598
|
l.value,
|
|
592
|
-
h(
|
|
599
|
+
h(X)({
|
|
593
600
|
p: e.value.style.chart.axes.y.labels.prefix,
|
|
594
601
|
v: l.value,
|
|
595
602
|
s: e.value.style.chart.axes.y.labels.suffix,
|
|
@@ -599,8 +606,8 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
599
606
|
])) : v("", !0),
|
|
600
607
|
e.value.style.chart.axes.y.name.text ? (s(), r("text", {
|
|
601
608
|
key: 4,
|
|
602
|
-
transform: `translate(${e.value.style.chart.axes.y.name.offsetX +
|
|
603
|
-
"font-size":
|
|
609
|
+
transform: `translate(${e.value.style.chart.axes.y.name.offsetX + u.value.yAxisName}, ${d.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
|
|
610
|
+
"font-size": u.value.yAxisName,
|
|
604
611
|
fill: e.value.style.chart.axes.y.name.color,
|
|
605
612
|
"font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
|
|
606
613
|
"text-anchor": "middle"
|
|
@@ -618,14 +625,14 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
618
625
|
])) : v("", !0),
|
|
619
626
|
e.value.style.chart.axes.x.labels.show ? (s(), r("g", jt, [
|
|
620
627
|
(s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("text", {
|
|
621
|
-
transform: `translate(${l.x}, ${n.value.bottom + e.value.style.chart.axes.x.labels.offsetY +
|
|
628
|
+
transform: `translate(${l.x}, ${n.value.bottom + e.value.style.chart.axes.x.labels.offsetY + u.value.xAxisLabels}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
|
|
622
629
|
fill: e.value.style.chart.axes.x.labels.color,
|
|
623
|
-
"font-size":
|
|
630
|
+
"font-size": u.value.xAxisLabels,
|
|
624
631
|
"text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
|
|
625
|
-
}, L(h(
|
|
632
|
+
}, L(h(F)(
|
|
626
633
|
e.value.style.chart.axes.x.labels.formatter,
|
|
627
634
|
l.value,
|
|
628
|
-
h(
|
|
635
|
+
h(X)({
|
|
629
636
|
p: e.value.style.chart.axes.x.labels.prefix,
|
|
630
637
|
v: l.value,
|
|
631
638
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
@@ -637,7 +644,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
637
644
|
key: 7,
|
|
638
645
|
x: d.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
|
|
639
646
|
y: d.value.height + e.value.style.chart.axes.x.name.offsetY,
|
|
640
|
-
"font-size":
|
|
647
|
+
"font-size": u.value.xAxisName,
|
|
641
648
|
fill: e.value.style.chart.axes.x.name.color,
|
|
642
649
|
"font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
643
650
|
"text-anchor": "middle"
|
|
@@ -662,7 +669,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
662
669
|
"stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
|
|
663
670
|
"stroke-linecap": "round"
|
|
664
671
|
}, null, 8, Wt)) : v("", !0),
|
|
665
|
-
(s(!0), r(b, null, k(S.value, (l,
|
|
672
|
+
(s(!0), r(b, null, k(S.value, (l, i) => (s(), r("g", null, [
|
|
666
673
|
e.value.style.chart.paths.show ? (s(), r("g", {
|
|
667
674
|
key: 0,
|
|
668
675
|
style: M({
|
|
@@ -676,7 +683,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
676
683
|
fill: "none",
|
|
677
684
|
"stroke-linecap": "round",
|
|
678
685
|
"stroke-linejoin": "round",
|
|
679
|
-
class:
|
|
686
|
+
class: I({ animated: e.value.useCssAnimation })
|
|
680
687
|
}, null, 10, Ht),
|
|
681
688
|
T("path", {
|
|
682
689
|
d: l.path,
|
|
@@ -685,24 +692,24 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
685
692
|
fill: "none",
|
|
686
693
|
"stroke-linecap": "round",
|
|
687
694
|
"stroke-linejoin": "round",
|
|
688
|
-
class:
|
|
695
|
+
class: I({ animated: e.value.useCssAnimation })
|
|
689
696
|
}, null, 10, Et)
|
|
690
697
|
], 4)) : v("", !0),
|
|
691
698
|
(s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
|
|
692
699
|
cx: o.x,
|
|
693
700
|
cy: o.y,
|
|
694
701
|
fill: e.value.style.chart.backgroundColor,
|
|
695
|
-
r:
|
|
702
|
+
r: u.value.plots,
|
|
696
703
|
stroke: "none"
|
|
697
704
|
}, null, 8, Gt))), 256)),
|
|
698
705
|
(s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
|
|
699
706
|
cx: o.x,
|
|
700
707
|
cy: o.y,
|
|
701
|
-
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${
|
|
702
|
-
r:
|
|
708
|
+
fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${i}_${Y.value})` : o.color,
|
|
709
|
+
r: u.value.plots,
|
|
703
710
|
stroke: e.value.style.chart.plots.stroke,
|
|
704
711
|
"stroke-width": e.value.style.chart.plots.strokeWidth,
|
|
705
|
-
class:
|
|
712
|
+
class: I({ animated: e.value.useCssAnimation }),
|
|
706
713
|
style: M({
|
|
707
714
|
opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
|
|
708
715
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -711,12 +718,12 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
711
718
|
e.value.style.chart.plots.labels.show ? (s(), r("g", qt, [
|
|
712
719
|
(s(!0), r(b, null, k(l.plots, (o) => (s(), r("text", {
|
|
713
720
|
x: o.x + e.value.style.chart.plots.labels.offsetX,
|
|
714
|
-
y: o.y + e.value.style.chart.plots.labels.offsetY +
|
|
715
|
-
"font-size":
|
|
721
|
+
y: o.y + e.value.style.chart.plots.labels.offsetY + u.value.plots + u.value.labels,
|
|
722
|
+
"font-size": u.value.labels,
|
|
716
723
|
fill: e.value.style.chart.plots.labels.color,
|
|
717
724
|
"font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
|
|
718
725
|
"text-anchor": "middle",
|
|
719
|
-
class:
|
|
726
|
+
class: I({ animated: e.value.useCssAnimation }),
|
|
720
727
|
style: M({
|
|
721
728
|
opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
|
|
722
729
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -726,12 +733,12 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
726
733
|
e.value.style.chart.plots.indexLabels.show ? (s(), r("g", Jt, [
|
|
727
734
|
(s(!0), r(b, null, k(l.plots, (o, _) => (s(), r("text", {
|
|
728
735
|
x: o.x + e.value.style.chart.plots.indexLabels.offsetX,
|
|
729
|
-
y: o.y + e.value.style.chart.plots.indexLabels.offsetY +
|
|
730
|
-
"font-size":
|
|
736
|
+
y: o.y + e.value.style.chart.plots.indexLabels.offsetY + u.value.indexLabels / 3,
|
|
737
|
+
"font-size": u.value.indexLabels,
|
|
731
738
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
732
739
|
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? h(st)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
733
740
|
"text-anchor": "middle",
|
|
734
|
-
class:
|
|
741
|
+
class: I({ animated: e.value.useCssAnimation }),
|
|
735
742
|
style: M({
|
|
736
743
|
opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
|
|
737
744
|
transition: "opacity 0.2s ease-in-out"
|
|
@@ -740,27 +747,27 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
740
747
|
])) : v("", !0)
|
|
741
748
|
]))), 256)),
|
|
742
749
|
(s(!0), r(b, null, k(S.value, (l) => (s(), r("g", null, [
|
|
743
|
-
(s(!0), r(b, null, k(l.plots, (
|
|
744
|
-
cx:
|
|
745
|
-
cy:
|
|
750
|
+
(s(!0), r(b, null, k(l.plots, (i, o) => (s(), r("circle", {
|
|
751
|
+
cx: i.x,
|
|
752
|
+
cy: i.y,
|
|
746
753
|
fill: "transparent",
|
|
747
|
-
r:
|
|
754
|
+
r: u.value.plots,
|
|
748
755
|
stroke: "none",
|
|
749
756
|
onMouseenter: (_) => Re({
|
|
750
|
-
datapoint:
|
|
757
|
+
datapoint: i,
|
|
751
758
|
plotIndex: o,
|
|
752
759
|
seriesIndex: l.seriesIndex
|
|
753
760
|
}),
|
|
754
761
|
onMouseleave: a[0] || (a[0] = (_) => {
|
|
755
762
|
G.value = !1, $.value = null;
|
|
756
763
|
}),
|
|
757
|
-
onClick: () => je(
|
|
764
|
+
onClick: () => je(i)
|
|
758
765
|
}, null, 40, Qt))), 256))
|
|
759
766
|
]))), 256)),
|
|
760
767
|
x(t.$slots, "svg", { svg: d.value }, void 0, !0)
|
|
761
768
|
], 12, Mt)) : v("", !0),
|
|
762
769
|
t.$slots.watermark ? (s(), r("div", el, [
|
|
763
|
-
x(t.$slots, "watermark",
|
|
770
|
+
x(t.$slots, "watermark", O(P({ isPrinting: h(he) || h(ye) })), void 0, !0)
|
|
764
771
|
])) : v("", !0),
|
|
765
772
|
w.value ? v("", !0) : (s(), z(gt, {
|
|
766
773
|
key: 6,
|
|
@@ -786,7 +793,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
786
793
|
xe(l.seriesIndex), me(l);
|
|
787
794
|
})
|
|
788
795
|
}, {
|
|
789
|
-
item: m(({ legend: l, index:
|
|
796
|
+
item: m(({ legend: l, index: i }) => [
|
|
790
797
|
T("div", {
|
|
791
798
|
onClick: (o) => {
|
|
792
799
|
l.segregate(), me(l);
|
|
@@ -819,16 +826,16 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
819
826
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
820
827
|
position: e.value.style.chart.tooltip.position,
|
|
821
828
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
822
|
-
parent:
|
|
829
|
+
parent: D.value,
|
|
823
830
|
content: V.value,
|
|
824
|
-
isCustom:
|
|
831
|
+
isCustom: j.value,
|
|
825
832
|
isFullscreen: R.value
|
|
826
833
|
}, {
|
|
827
834
|
"tooltip-before": m(() => [
|
|
828
|
-
x(t.$slots, "tooltip-before",
|
|
835
|
+
x(t.$slots, "tooltip-before", O(P({ ...Z.value })), void 0, !0)
|
|
829
836
|
]),
|
|
830
837
|
"tooltip-after": m(() => [
|
|
831
|
-
x(t.$slots, "tooltip-after",
|
|
838
|
+
x(t.$slots, "tooltip-after", O(P({ ...Z.value })), void 0, !0)
|
|
832
839
|
]),
|
|
833
840
|
_: 3
|
|
834
841
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
|
|
@@ -874,7 +881,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"]
|
|
|
874
881
|
}, 8, ["config"])) : v("", !0)
|
|
875
882
|
], 46, $t));
|
|
876
883
|
}
|
|
877
|
-
}, bl = /* @__PURE__ */ _t(al, [["__scopeId", "data-v-
|
|
884
|
+
}, bl = /* @__PURE__ */ _t(al, [["__scopeId", "data-v-8852c1fd"]]);
|
|
878
885
|
export {
|
|
879
886
|
bl as default
|
|
880
887
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed as D, useSlots as x, onMounted as g, watch as C, ref as $, createElementBlock as i, openBlock as s, normalizeStyle as u, normalizeClass as r, createElementVNode as k, renderSlot as n, createTextVNode as y, toDisplayString as h, createVNode as z, Fragment as A, unref as b } from "vue";
|
|
2
|
-
import { u as w } from "./useNestedProp-
|
|
3
|
-
import { u as B, i as L, f as M } from "./index-
|
|
4
|
-
import E from "./vue-ui-digits-
|
|
2
|
+
import { u as w } from "./useNestedProp-BEyJNlaO.js";
|
|
3
|
+
import { u as B, i as L, f as M } from "./index-Cq7-va_5.js";
|
|
4
|
+
import E from "./vue-ui-digits-7bQAdMhs.js";
|
|
5
5
|
const G = {
|
|
6
6
|
__name: "vue-ui-kpi",
|
|
7
7
|
props: {
|