vue-data-ui 2.4.49 → 2.4.51
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 +12 -0
- package/dist/{Arrow-CTukks_V.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-Q0cOmO5p.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-2ZD3jgGz.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-CaYP30Aq.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CO5C8Cmb.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-kMUhutQ4.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-FZN9UHoI.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-DPHcmrzd.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-rnWHRWGI.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-DYk2hOG1.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BQl9-uX0.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-BfgS_5ux.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-BqkMzXqo.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BblkpCyL.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-yEeqKUDF.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-DlgqsI5C.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-5Vedk01J.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-DED-PQ7X.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-DjCKBAC4.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-CHseiJu8.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-igxqCP2w.js → index-BbPeL8Gp.js} +5 -1
- package/dist/index-DhDYBLBe.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-CSVnZVwZ.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-CwpqC_aE.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-DVgxBO4o.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-CnZYDQXB.js → usePrinter-DaybDVqP.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-BrRTkOqu.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-B--WWkUM.js → vue-data-ui-Ckbp-yIf.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
- package/dist/{vue-ui-3d-bar-OzzLYbUl.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-lF7yVkiT.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CRVWlHxs.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-5Vj8AtW1.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-BmO78L3H.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-D8Hx1BFF.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-DwFD41hN.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-By609gwn.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-wwMoteEN.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
- package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
- package/dist/{vue-ui-chestnut-hqorA5EW.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-BCg5VZUb.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-GSkn7N7Z.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-Bkm9bcAc.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DIoYWyXB.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-niqTltAv.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-CpBBTAI9.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-XQp6R0e_.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-DfufBrkk.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DSS8sHHU.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BBNuPVgI.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BDGggRXE.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-6Odi2CwM.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
- package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
- package/dist/{vue-ui-gauge-DeYvNVnR.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-DXQt_8D0.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BcAr2dTN.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-Btm1mK6D.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-OY6N31Ka.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-CQIbWQMk.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-D5oNUDVm.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-BjqV22Co.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-ByDKGMAp.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-FsLf3YTj.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-31BX-GNG.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BMJW2oHk.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-BUpGgnWA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
- package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-9I00rQEM.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
- package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
- package/dist/{vue-ui-quadrant-CEmoMAL7.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-T_oeRTqY.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DG_Zir8w.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-Juprijdi.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-gswAA28b.js → vue-ui-rating-DQRuqev5.js} +2 -2
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
- package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
- package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
- package/dist/{vue-ui-rings-D3g-ORch.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-DBO-XViT.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-3MDyr6v3.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-K0a-DVD6.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-CWjNNx-k.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-DUNkS05l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-Cbqg-N-L.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-MwX1c6qK.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-CN5JUPhn.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D9eWTtbE.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-IphZ8jXh.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CPF7YNDd.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B29V7ZTv.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BRMGqR9Z.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-BJTgOWF5.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-rvYaVHmw.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BI9jqI0h.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DX79otAB.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DuollcwK.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-vP28A6AT.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-DnJEgIaA.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DqcHBwd_.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-BMJ0I5nr.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8cgqIJl.js → vue-ui-table-CsEajH9S.js} +1 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
- package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-B_Po0RuC.js → vue-ui-table-sparkline-YV8DUOqh.js} +256 -239
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-C6nfW6uY.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-ldINTqND.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-CfwmMRdZ.js → vue-ui-timer-DvE_nqd9.js} +5 -5
- package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
- package/dist/{vue-ui-treemap-CwMnkcOi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-BZR4YOLh.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-D2BccJmB.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
- package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DiG8DHOr.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-DicLnkBA.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-D6CYL9A8.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
- package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-BHQZE19X.cjs +0 -9
- package/dist/vue-ui-3d-bar-BGVLnjCh.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Cv0Rddsx.cjs +0 -1
- package/dist/vue-ui-bullet-C0Q2Vs5p.cjs +0 -34
- package/dist/vue-ui-candlestick-C7kRHFF3.cjs +0 -2
- package/dist/vue-ui-carousel-table-1_Hy8sGL.cjs +0 -1
- package/dist/vue-ui-chestnut-D3LGylRp.cjs +0 -6
- package/dist/vue-ui-donut-CQEOtlxM.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Dg_XJyX8.cjs +0 -1
- package/dist/vue-ui-dumbbell-RAkNYRoJ.cjs +0 -9
- package/dist/vue-ui-flow-BUmSGSmR.cjs +0 -1
- package/dist/vue-ui-funnel-B9HR0owO.cjs +0 -1
- package/dist/vue-ui-galaxy-DmsMWB1a.cjs +0 -1
- package/dist/vue-ui-gauge-Dvv0v56Z.cjs +0 -1
- package/dist/vue-ui-heatmap-DZ02dS5q.cjs +0 -1
- package/dist/vue-ui-history-plot-DPQWcN0P.cjs +0 -1
- package/dist/vue-ui-molecule-C8O_ViVy.cjs +0 -1
- package/dist/vue-ui-mood-radar-4u98wGWl.cjs +0 -1
- package/dist/vue-ui-nested-donuts-BPc_OBoe.cjs +0 -17
- package/dist/vue-ui-onion-IhkIHn1A.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DzjggyLA.cjs +0 -8
- package/dist/vue-ui-quadrant-EZqQ-7Ev.cjs +0 -1
- package/dist/vue-ui-quick-chart-BKUUR-A1.cjs +0 -15
- package/dist/vue-ui-radar-QBwo6ybW.cjs +0 -1
- package/dist/vue-ui-relation-circle-BWX8zrfH.cjs +0 -1
- package/dist/vue-ui-relation-circle-DtnXrnOP.js +0 -492
- package/dist/vue-ui-rings-Damuv7g9.cjs +0 -2
- package/dist/vue-ui-scatter-RUeAe7Sx.cjs +0 -1
- package/dist/vue-ui-stackbar-BumFmZZF.cjs +0 -6
- package/dist/vue-ui-strip-plot-DupREfRd.cjs +0 -1
- package/dist/vue-ui-table-heatmap-D43pTFli.cjs +0 -1
- package/dist/vue-ui-table-heatmap-D4qeClXn.js +0 -256
- package/dist/vue-ui-table-sparkline-B7OPOium.cjs +0 -1
- package/dist/vue-ui-thermometer-CaV3JF3h.cjs +0 -1
- package/dist/vue-ui-tiremarks-BlyxL_IU.cjs +0 -1
- package/dist/vue-ui-tiremarks-iNKMnu3P.js +0 -317
- package/dist/vue-ui-treemap-YdRDlSHA.cjs +0 -1
- package/dist/vue-ui-vertical-bar-Bji3-X8i.cjs +0 -4
- package/dist/vue-ui-waffle-rO_LJaHR.cjs +0 -1
- package/dist/vue-ui-wheel-BTrpdV-C.cjs +0 -1
- package/dist/vue-ui-wheel-GqWFopE1.js +0 -299
- package/dist/vue-ui-word-cloud-DD-pKUen.cjs +0 -1
- package/dist/vue-ui-xy-C32KNdyx.cjs +0 -3
- package/dist/vue-ui-xy-canvas-9e630nJX.cjs +0 -9
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { computed as h, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { _ as
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { computed as h, ref as n, watch as Ge, onMounted as Ue, onBeforeUnmount as Ve, openBlock as s, createElementBlock as u, normalizeClass as F, normalizeStyle as B, unref as v, createBlock as T, createCommentVNode as c, createSlots as Ee, withCtx as y, renderSlot as f, normalizeProps as M, guardReactiveProps as W, createVNode as $e, Fragment as g, renderList as C, createElementVNode as k, toDisplayString as L, mergeProps as He, createTextVNode as Re, nextTick as Be } from "vue";
|
|
2
|
+
import { u as Xe, c as Z, t as je, a as Ye, p as A, o as Je, e as ee, g as _e, b as qe, d as Te, v as Ke, D as Qe, f as X, X as Ze, i as te, l as et, h as tt, x as Le, y as lt, q as at, r as ot, F as st } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { t as rt, u as ut } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as it } from "./Title-aSAft5dl.js";
|
|
5
|
+
import { u as nt, U as vt } from "./usePrinter-DaybDVqP.js";
|
|
6
|
+
import { _ as ct } from "./Tooltip-smutPF--.js";
|
|
7
|
+
import { D as dt } from "./DataTable-DGf6RrOJ.js";
|
|
8
|
+
import ht from "./vue-ui-skeleton-Bniq21d9.js";
|
|
9
|
+
import { _ as pt } from "./Shape-DIKzzpFm.js";
|
|
10
|
+
import yt from "./vue-ui-accordion-5d5iVpr7.js";
|
|
11
|
+
import { u as Ae } from "./useNestedProp-BN8claGG.js";
|
|
12
|
+
import { _ as ft } from "./PackageVersion-CxJghxYD.js";
|
|
13
|
+
import { P as bt } from "./PenAndPaper-ZdZEumki.js";
|
|
14
|
+
import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = { key: 0 }, wt = { key: 0 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], _t = { key: 1 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x", "y", "fill", "font-size"], Pt = ["x", "y", "font-size", "fill"], Ot = ["fill", "font-size", "transform"], zt = ["fill", "font-size", "x", "y"], Nt = ["x1", "x2", "y1", "y2", "stroke"], Ft = ["cx", "cy", "fill"], Mt = ["cx", "cy", "fill"], Wt = ["id"], It = ["stop-color"], Dt = ["stop-color"], Gt = ["stop-color"], Ut = { key: 0 }, Vt = ["x", "y", "font-size", "fill"], Et = {
|
|
16
17
|
key: 5,
|
|
17
18
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
19
|
+
}, Ht = ["innerHTML"], Rt = {
|
|
19
20
|
__name: "vue-ui-strip-plot",
|
|
20
21
|
props: {
|
|
21
22
|
config: {
|
|
@@ -32,44 +33,44 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
emits: ["selectDatapoint"],
|
|
35
|
-
setup(
|
|
36
|
-
const b =
|
|
36
|
+
setup(Se, { expose: Pe, emit: Oe }) {
|
|
37
|
+
const b = Se, { vue_ui_strip_plot: ze } = Xe(), w = h({
|
|
37
38
|
get() {
|
|
38
39
|
return !!b.dataset && b.dataset.length;
|
|
39
40
|
},
|
|
40
41
|
set(t) {
|
|
41
42
|
return t;
|
|
42
43
|
}
|
|
43
|
-
}),
|
|
44
|
-
get: () =>
|
|
44
|
+
}), j = n(Z()), le = n(0), Y = n(!1), J = n(""), S = n(null), ae = n(null), oe = n(null), se = n(null), re = n(!1), ue = n(0), ie = n(0), e = h({
|
|
45
|
+
get: () => de(),
|
|
45
46
|
set: (t) => t
|
|
46
|
-
});
|
|
47
|
-
function
|
|
48
|
-
const t =
|
|
47
|
+
}), { userOptionsVisible: ne, setUserOptionsVisibility: ve, keepUserOptionState: ce } = mt({ config: e.value });
|
|
48
|
+
function de() {
|
|
49
|
+
const t = Ae({
|
|
49
50
|
userConfig: b.config,
|
|
50
|
-
defaultConfig:
|
|
51
|
+
defaultConfig: ze
|
|
51
52
|
});
|
|
52
53
|
return t.theme ? {
|
|
53
|
-
|
|
54
|
-
userConfig:
|
|
54
|
+
...Ae({
|
|
55
|
+
userConfig: je.vue_ui_strip_plot[t.theme] || b.config,
|
|
55
56
|
defaultConfig: t
|
|
56
57
|
}),
|
|
57
|
-
customPalette:
|
|
58
|
+
customPalette: Ye[t.theme] || A
|
|
58
59
|
} : t;
|
|
59
60
|
}
|
|
60
|
-
|
|
61
|
-
e.value =
|
|
61
|
+
Ge(() => b.config, (t) => {
|
|
62
|
+
e.value = de(), he(), ue.value += 1, ie.value += 1;
|
|
62
63
|
}, { deep: !0 });
|
|
63
|
-
const
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
const I = n(null);
|
|
65
|
+
Ue(() => {
|
|
66
|
+
he();
|
|
66
67
|
});
|
|
67
|
-
function
|
|
68
|
-
if (
|
|
68
|
+
function he() {
|
|
69
|
+
if (Je(b.dataset) ? ee({
|
|
69
70
|
componentName: "VueUiStripPlot",
|
|
70
71
|
type: "dataset"
|
|
71
|
-
}) : b.dataset.forEach((t,
|
|
72
|
-
|
|
72
|
+
}) : b.dataset.forEach((t, o) => {
|
|
73
|
+
_e({
|
|
73
74
|
datasetObject: t,
|
|
74
75
|
requiredAttributes: ["name", "plots"]
|
|
75
76
|
}).forEach((l) => {
|
|
@@ -77,127 +78,127 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
77
78
|
componentName: "VueUiStripPlot",
|
|
78
79
|
type: "datasetSerieAttribute",
|
|
79
80
|
property: l,
|
|
80
|
-
index:
|
|
81
|
+
index: o
|
|
81
82
|
});
|
|
82
83
|
}), t.plots && t.plots.forEach((l, r) => {
|
|
83
|
-
|
|
84
|
+
_e({
|
|
84
85
|
datasetObject: l,
|
|
85
86
|
requiredAttributes: ["name", "value"]
|
|
86
|
-
}).forEach((
|
|
87
|
+
}).forEach((i) => {
|
|
87
88
|
w.value = !1, ee({
|
|
88
89
|
componentName: "VueUiStripPlot",
|
|
89
90
|
type: "datasetSerieAttribute",
|
|
90
|
-
property:
|
|
91
|
-
index: `${
|
|
91
|
+
property: i,
|
|
92
|
+
index: `${o},${r}`
|
|
92
93
|
});
|
|
93
94
|
});
|
|
94
95
|
});
|
|
95
96
|
}), e.value.responsive) {
|
|
96
|
-
const t =
|
|
97
|
-
const { width:
|
|
98
|
-
chart:
|
|
97
|
+
const t = rt(() => {
|
|
98
|
+
const { width: o, height: l } = ut({
|
|
99
|
+
chart: S.value,
|
|
99
100
|
title: e.value.style.chart.title.text ? ae.value : null,
|
|
100
101
|
source: oe.value,
|
|
101
102
|
noTitle: se.value
|
|
102
103
|
});
|
|
103
|
-
D.value = l,
|
|
104
|
-
relator: Math.min(l,
|
|
104
|
+
D.value = l, P.value.width = o, P.value.height = l, N.value = (o - m.value.left - m.value.right) / b.dataset.length, G.value = st({
|
|
105
|
+
relator: Math.min(l, o),
|
|
105
106
|
adjuster: 600,
|
|
106
107
|
source: e.value.style.chart.plots.radius,
|
|
107
108
|
threshold: 6,
|
|
108
109
|
fallback: 6
|
|
109
110
|
});
|
|
110
111
|
});
|
|
111
|
-
|
|
112
|
+
I.value = new ResizeObserver(t), I.value.observe(S.value.parentNode);
|
|
112
113
|
}
|
|
113
114
|
re.value = !0, setTimeout(() => {
|
|
114
|
-
|
|
115
|
-
},
|
|
115
|
+
z.value = !1;
|
|
116
|
+
}, Fe.value * 50);
|
|
116
117
|
}
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
Ve(() => {
|
|
119
|
+
I.value && I.value.disconnect();
|
|
119
120
|
});
|
|
120
|
-
const { isPrinting:
|
|
121
|
-
elementId: `strip-plot_${
|
|
121
|
+
const { isPrinting: pe, isImaging: ye, generatePdf: fe, generateImage: be } = nt({
|
|
122
|
+
elementId: `strip-plot_${j.value}`,
|
|
122
123
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
123
|
-
}),
|
|
124
|
+
}), Ne = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = h(() => qe(e.value.customPalette)), z = n(e.value.useCssAnimation), p = n({
|
|
124
125
|
showTable: e.value.table.show,
|
|
125
126
|
dataLabels: {
|
|
126
127
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
127
128
|
},
|
|
128
129
|
showTooltip: e.value.style.chart.tooltip.show
|
|
129
|
-
}), m =
|
|
130
|
+
}), m = n({
|
|
130
131
|
top: e.value.style.chart.padding.top,
|
|
131
132
|
bottom: e.value.style.chart.padding.bottom,
|
|
132
133
|
left: e.value.style.chart.padding.left,
|
|
133
134
|
right: e.value.style.chart.padding.right
|
|
134
|
-
}),
|
|
135
|
-
width:
|
|
135
|
+
}), N = n(e.value.style.chart.stripWidth), D = n(e.value.style.chart.height), G = n(e.value.style.chart.plots.radius), P = n({
|
|
136
|
+
width: N.value * b.dataset.length + m.value.left + m.value.right,
|
|
136
137
|
height: e.value.style.chart.height
|
|
137
138
|
}), a = h(() => {
|
|
138
|
-
const t =
|
|
139
|
+
const t = N.value * b.dataset.length + m.value.left + m.value.right;
|
|
139
140
|
return {
|
|
140
141
|
left: m.value.left,
|
|
141
142
|
right: t - m.value.right,
|
|
142
143
|
top: m.value.top,
|
|
143
144
|
bottom: D.value - m.value.bottom,
|
|
144
|
-
width:
|
|
145
|
+
width: N.value * b.dataset.length,
|
|
145
146
|
height: D.value - m.value.top - m.value.bottom,
|
|
146
|
-
stripWidth:
|
|
147
|
+
stripWidth: N.value,
|
|
147
148
|
absoluteHeight: D.value,
|
|
148
149
|
absoluteWidth: t
|
|
149
150
|
};
|
|
150
|
-
}),
|
|
151
|
+
}), U = h(() => w.value ? b.dataset.map((t, o) => {
|
|
151
152
|
const l = Z();
|
|
152
153
|
return {
|
|
153
154
|
...t,
|
|
154
155
|
id: l,
|
|
155
|
-
color: t.color ?
|
|
156
|
+
color: t.color ? Te(t.color) : me.value[o] || A[o] || A[o % A.length],
|
|
156
157
|
plots: t.plots.map((r) => ({
|
|
157
158
|
...r,
|
|
158
|
-
value:
|
|
159
|
+
value: Ke(r.value),
|
|
159
160
|
parentId: l,
|
|
160
|
-
color: t.color ?
|
|
161
|
+
color: t.color ? Te(t.color) : me.value[o] || A[o] || A[o % A.length],
|
|
161
162
|
id: Z()
|
|
162
|
-
})).sort((r,
|
|
163
|
+
})).sort((r, i) => r.value - i.value)
|
|
163
164
|
};
|
|
164
|
-
}) : null), x = h(() => (
|
|
165
|
+
}) : null), x = h(() => (U.value || []).map((t, o) => ({
|
|
165
166
|
...t,
|
|
166
167
|
plots: t.plots.map((l) => ({
|
|
167
168
|
...l,
|
|
168
|
-
x: a.value.left + (
|
|
169
|
+
x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
|
|
169
170
|
}))
|
|
170
|
-
}))),
|
|
171
|
-
const t = x.value.flatMap((
|
|
171
|
+
}))), Fe = h(() => Math.max(...x.value.map((t) => t.plots.length))), q = h(() => {
|
|
172
|
+
const t = x.value.flatMap((o) => o.plots.map((l) => l.value));
|
|
172
173
|
return {
|
|
173
174
|
max: Math.max(...t),
|
|
174
175
|
min: Math.min(...t)
|
|
175
176
|
};
|
|
176
|
-
}),
|
|
177
|
+
}), $ = h(() => Qe(q.value.min < 0 ? q.value.min : 0, q.value.max, e.value.style.chart.grid.scaleSteps)), Me = h(() => (x.value || []).map((t, o) => ({
|
|
177
178
|
...t,
|
|
178
179
|
plots: t.plots.map((l) => ({
|
|
179
180
|
...l,
|
|
180
|
-
y: a.value.bottom - (l.value + Math.abs(
|
|
181
|
+
y: a.value.bottom - (l.value + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min)) * a.value.height
|
|
181
182
|
}))
|
|
182
|
-
}))),
|
|
183
|
-
y: a.value.bottom - a.value.height * ((t + Math.abs(
|
|
183
|
+
}))), ge = h(() => $.value.ticks.map((t) => ({
|
|
184
|
+
y: a.value.bottom - a.value.height * ((t + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min))),
|
|
184
185
|
x1: a.value.left,
|
|
185
186
|
x2: a.value.right,
|
|
186
187
|
value: t
|
|
187
|
-
}))),
|
|
188
|
-
function
|
|
189
|
-
|
|
188
|
+
}))), K = n(null), d = n(null);
|
|
189
|
+
function We({ datapoint: t, seriesIndex: o }) {
|
|
190
|
+
K.value = { datapoint: t, seriesIndex: o, config: e.value, series: U.value }, Y.value = !0, d.value = t;
|
|
190
191
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
191
|
-
if (
|
|
192
|
-
seriesIndex:
|
|
192
|
+
if (Le(l) && lt(() => l({
|
|
193
|
+
seriesIndex: o,
|
|
193
194
|
datapoint: t,
|
|
194
|
-
series:
|
|
195
|
+
series: U.value,
|
|
195
196
|
config: e.value
|
|
196
197
|
})))
|
|
197
|
-
|
|
198
|
-
seriesIndex:
|
|
198
|
+
J.value = l({
|
|
199
|
+
seriesIndex: o,
|
|
199
200
|
datapoint: t,
|
|
200
|
-
series:
|
|
201
|
+
series: U.value,
|
|
201
202
|
config: e.value
|
|
202
203
|
});
|
|
203
204
|
else {
|
|
@@ -205,48 +206,48 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
205
206
|
r += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, r += `<div>${te(
|
|
206
207
|
e.value.style.chart.labels.formatter,
|
|
207
208
|
t.value,
|
|
208
|
-
|
|
209
|
+
X({
|
|
209
210
|
p: e.value.style.chart.labels.prefix,
|
|
210
211
|
v: t.value,
|
|
211
212
|
s: e.value.style.chart.labels.suffix,
|
|
212
213
|
r: e.value.style.chart.tooltip.roundingValue
|
|
213
214
|
}),
|
|
214
|
-
{ datapoint: t, seriesIndex:
|
|
215
|
-
)}</div>`,
|
|
215
|
+
{ datapoint: t, seriesIndex: o }
|
|
216
|
+
)}</div>`, J.value = `<div>${r}</div>`;
|
|
216
217
|
}
|
|
217
218
|
}
|
|
218
219
|
const V = h(() => {
|
|
219
|
-
const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r,
|
|
220
|
+
const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, i) => i.value - r.value).map((r) => ({
|
|
220
221
|
name: `${l.name} - ${r.name}`,
|
|
221
222
|
color: r.color
|
|
222
|
-
}))),
|
|
223
|
-
return { head: t, body:
|
|
223
|
+
}))), o = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, i) => i.value - r.value).map((r) => r.value));
|
|
224
|
+
return { head: t, body: o };
|
|
224
225
|
});
|
|
225
|
-
function
|
|
226
|
-
|
|
227
|
-
const t = V.value.head.map((r,
|
|
226
|
+
function ke() {
|
|
227
|
+
Be(() => {
|
|
228
|
+
const t = V.value.head.map((r, i) => [[
|
|
228
229
|
r.name
|
|
229
|
-
], [V.value.body[
|
|
230
|
-
|
|
230
|
+
], [V.value.body[i]]]), o = [[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), l = at(o);
|
|
231
|
+
ot({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
231
232
|
});
|
|
232
233
|
}
|
|
233
|
-
const
|
|
234
|
+
const E = h(() => {
|
|
234
235
|
const t = [
|
|
235
236
|
e.value.table.columnNames.series,
|
|
236
237
|
e.value.table.columnNames.value
|
|
237
|
-
],
|
|
238
|
-
const
|
|
238
|
+
], o = V.value.head.map((i, _) => {
|
|
239
|
+
const R = X({
|
|
239
240
|
p: e.value.style.chart.labels.prefix,
|
|
240
|
-
v: V.value.body[
|
|
241
|
+
v: V.value.body[_],
|
|
241
242
|
s: e.value.style.chart.labels.suffix,
|
|
242
243
|
r: e.value.table.td.roundingValue
|
|
243
244
|
});
|
|
244
245
|
return [
|
|
245
246
|
{
|
|
246
|
-
color:
|
|
247
|
-
name:
|
|
247
|
+
color: i.color,
|
|
248
|
+
name: i.name
|
|
248
249
|
},
|
|
249
|
-
|
|
250
|
+
R
|
|
250
251
|
];
|
|
251
252
|
}), l = {
|
|
252
253
|
th: {
|
|
@@ -267,67 +268,69 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
267
268
|
e.value.table.columnNames.value
|
|
268
269
|
],
|
|
269
270
|
head: t,
|
|
270
|
-
body:
|
|
271
|
+
body: o,
|
|
271
272
|
config: l
|
|
272
273
|
};
|
|
273
|
-
}),
|
|
274
|
-
function
|
|
275
|
-
|
|
274
|
+
}), O = n(!1);
|
|
275
|
+
function Ie(t) {
|
|
276
|
+
O.value = t, le.value += 1;
|
|
276
277
|
}
|
|
277
|
-
function
|
|
278
|
+
function De() {
|
|
278
279
|
return x.value;
|
|
279
280
|
}
|
|
280
|
-
function
|
|
281
|
+
function xe() {
|
|
281
282
|
p.value.showTable = !p.value.showTable;
|
|
282
283
|
}
|
|
283
|
-
function
|
|
284
|
+
function Ce() {
|
|
284
285
|
p.value.dataLabels.show = !p.value.dataLabels.show;
|
|
285
286
|
}
|
|
286
|
-
function
|
|
287
|
+
function we() {
|
|
287
288
|
p.value.showTooltip = !p.value.showTooltip;
|
|
288
289
|
}
|
|
289
|
-
const
|
|
290
|
-
function
|
|
291
|
-
|
|
290
|
+
const H = n(!1);
|
|
291
|
+
function Q() {
|
|
292
|
+
H.value = !H.value;
|
|
292
293
|
}
|
|
293
|
-
return
|
|
294
|
-
getData:
|
|
295
|
-
generatePdf:
|
|
296
|
-
generateCsv:
|
|
297
|
-
generateImage:
|
|
298
|
-
toggleTable:
|
|
299
|
-
toggleLabels:
|
|
300
|
-
toggleTooltip:
|
|
301
|
-
toggleAnnotator:
|
|
302
|
-
}), (t,
|
|
294
|
+
return Pe({
|
|
295
|
+
getData: De,
|
|
296
|
+
generatePdf: fe,
|
|
297
|
+
generateCsv: ke,
|
|
298
|
+
generateImage: be,
|
|
299
|
+
toggleTable: xe,
|
|
300
|
+
toggleLabels: Ce,
|
|
301
|
+
toggleTooltip: we,
|
|
302
|
+
toggleAnnotator: Q
|
|
303
|
+
}), (t, o) => (s(), u("div", {
|
|
303
304
|
ref_key: "stripPlotChart",
|
|
304
|
-
ref:
|
|
305
|
-
class: F(`vue-ui-strip-plot ${
|
|
306
|
-
style:
|
|
307
|
-
id: `strip-plot_${
|
|
305
|
+
ref: S,
|
|
306
|
+
class: F(`vue-ui-strip-plot ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
307
|
+
style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
308
|
+
id: `strip-plot_${j.value}`,
|
|
309
|
+
onMouseenter: o[2] || (o[2] = () => v(ve)(!0)),
|
|
310
|
+
onMouseleave: o[3] || (o[3] = () => v(ve)(!1))
|
|
308
311
|
}, [
|
|
309
|
-
e.value.userOptions.buttons.annotator ? (
|
|
312
|
+
e.value.userOptions.buttons.annotator ? (s(), T(bt, {
|
|
310
313
|
key: 0,
|
|
311
|
-
parent:
|
|
314
|
+
parent: S.value,
|
|
312
315
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
313
316
|
color: e.value.style.chart.color,
|
|
314
|
-
active:
|
|
315
|
-
onClose:
|
|
317
|
+
active: H.value,
|
|
318
|
+
onClose: Q
|
|
316
319
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
317
|
-
|
|
320
|
+
Ne.value ? (s(), u("div", {
|
|
318
321
|
key: 1,
|
|
319
322
|
ref_key: "noTitle",
|
|
320
323
|
ref: se,
|
|
321
324
|
class: "vue-data-ui-no-title-space",
|
|
322
325
|
style: "height:36px; width: 100%;background:transparent"
|
|
323
326
|
}, null, 512)) : c("", !0),
|
|
324
|
-
e.value.style.chart.title.text ? (
|
|
327
|
+
e.value.style.chart.title.text ? (s(), u("div", {
|
|
325
328
|
key: 2,
|
|
326
329
|
ref_key: "chartTitle",
|
|
327
330
|
ref: ae,
|
|
328
331
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
329
332
|
}, [
|
|
330
|
-
(
|
|
333
|
+
(s(), T(it, {
|
|
331
334
|
key: `title_${ue.value}`,
|
|
332
335
|
config: {
|
|
333
336
|
title: {
|
|
@@ -341,14 +344,14 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
341
344
|
}
|
|
342
345
|
}, null, 8, ["config"]))
|
|
343
346
|
], 512)) : c("", !0),
|
|
344
|
-
e.value.userOptions.show && w.value ? (
|
|
347
|
+
e.value.userOptions.show && w.value && (v(ce) || v(ne)) ? (s(), T(vt, {
|
|
345
348
|
ref: "details",
|
|
346
349
|
key: `user_option_${le.value}`,
|
|
347
350
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
348
351
|
color: e.value.style.chart.color,
|
|
349
|
-
isPrinting:
|
|
350
|
-
isImaging:
|
|
351
|
-
uid:
|
|
352
|
+
isPrinting: v(pe),
|
|
353
|
+
isImaging: v(ye),
|
|
354
|
+
uid: j.value,
|
|
352
355
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
353
356
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
354
357
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -357,89 +360,92 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
357
360
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
358
361
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
359
362
|
isTooltip: p.value.showTooltip,
|
|
360
|
-
isFullscreen:
|
|
363
|
+
isFullscreen: O.value,
|
|
361
364
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
362
|
-
chartElement:
|
|
365
|
+
chartElement: S.value,
|
|
363
366
|
position: e.value.userOptions.position,
|
|
364
367
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
365
|
-
isAnnotation:
|
|
366
|
-
onToggleFullscreen:
|
|
367
|
-
onGeneratePdf:
|
|
368
|
-
onGenerateCsv:
|
|
369
|
-
onGenerateImage:
|
|
370
|
-
onToggleTable:
|
|
371
|
-
onToggleLabels:
|
|
372
|
-
onToggleTooltip:
|
|
373
|
-
onToggleAnnotator:
|
|
374
|
-
|
|
368
|
+
isAnnotation: H.value,
|
|
369
|
+
onToggleFullscreen: Ie,
|
|
370
|
+
onGeneratePdf: v(fe),
|
|
371
|
+
onGenerateCsv: ke,
|
|
372
|
+
onGenerateImage: v(be),
|
|
373
|
+
onToggleTable: xe,
|
|
374
|
+
onToggleLabels: Ce,
|
|
375
|
+
onToggleTooltip: we,
|
|
376
|
+
onToggleAnnotator: Q,
|
|
377
|
+
style: B({
|
|
378
|
+
visibility: v(ce) ? v(ne) ? "visible" : "hidden" : "visible"
|
|
379
|
+
})
|
|
380
|
+
}, Ee({ _: 2 }, [
|
|
375
381
|
t.$slots.optionTooltip ? {
|
|
376
382
|
name: "optionTooltip",
|
|
377
|
-
fn:
|
|
378
|
-
|
|
383
|
+
fn: y(() => [
|
|
384
|
+
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
379
385
|
]),
|
|
380
386
|
key: "0"
|
|
381
387
|
} : void 0,
|
|
382
388
|
t.$slots.optionPdf ? {
|
|
383
389
|
name: "optionPdf",
|
|
384
|
-
fn:
|
|
385
|
-
|
|
390
|
+
fn: y(() => [
|
|
391
|
+
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
386
392
|
]),
|
|
387
393
|
key: "1"
|
|
388
394
|
} : void 0,
|
|
389
395
|
t.$slots.optionCsv ? {
|
|
390
396
|
name: "optionCsv",
|
|
391
|
-
fn:
|
|
392
|
-
|
|
397
|
+
fn: y(() => [
|
|
398
|
+
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
393
399
|
]),
|
|
394
400
|
key: "2"
|
|
395
401
|
} : void 0,
|
|
396
402
|
t.$slots.optionImg ? {
|
|
397
403
|
name: "optionImg",
|
|
398
|
-
fn:
|
|
399
|
-
|
|
404
|
+
fn: y(() => [
|
|
405
|
+
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
400
406
|
]),
|
|
401
407
|
key: "3"
|
|
402
408
|
} : void 0,
|
|
403
409
|
t.$slots.optionTable ? {
|
|
404
410
|
name: "optionTable",
|
|
405
|
-
fn:
|
|
406
|
-
|
|
411
|
+
fn: y(() => [
|
|
412
|
+
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
407
413
|
]),
|
|
408
414
|
key: "4"
|
|
409
415
|
} : void 0,
|
|
410
416
|
t.$slots.optionLabels ? {
|
|
411
417
|
name: "optionLabels",
|
|
412
|
-
fn:
|
|
413
|
-
|
|
418
|
+
fn: y(() => [
|
|
419
|
+
f(t.$slots, "optionLabels", {}, void 0, !0)
|
|
414
420
|
]),
|
|
415
421
|
key: "5"
|
|
416
422
|
} : void 0,
|
|
417
423
|
t.$slots.optionFullscreen ? {
|
|
418
424
|
name: "optionFullscreen",
|
|
419
|
-
fn:
|
|
420
|
-
|
|
425
|
+
fn: y(({ toggleFullscreen: l, isFullscreen: r }) => [
|
|
426
|
+
f(t.$slots, "optionFullscreen", M(W({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
|
|
421
427
|
]),
|
|
422
428
|
key: "6"
|
|
423
429
|
} : void 0,
|
|
424
430
|
t.$slots.optionAnnotator ? {
|
|
425
431
|
name: "optionAnnotator",
|
|
426
|
-
fn:
|
|
427
|
-
|
|
432
|
+
fn: y(({ toggleAnnotator: l, isAnnotator: r }) => [
|
|
433
|
+
f(t.$slots, "optionAnnotator", M(W({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
|
|
428
434
|
]),
|
|
429
435
|
key: "7"
|
|
430
436
|
} : void 0
|
|
431
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
432
|
-
w.value ? (
|
|
437
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
438
|
+
w.value ? (s(), u("svg", {
|
|
433
439
|
key: 4,
|
|
434
|
-
xmlns:
|
|
435
|
-
class: F({ "vue-data-ui-fullscreen--on":
|
|
436
|
-
viewBox: `0 0 ${
|
|
437
|
-
style:
|
|
440
|
+
xmlns: v(Ze),
|
|
441
|
+
class: F({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
442
|
+
viewBox: `0 0 ${P.value.width <= 0 ? 10 : P.value.width} ${P.value.height <= 0 ? 10 : P.value.height}`,
|
|
443
|
+
style: B(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
438
444
|
}, [
|
|
439
|
-
|
|
440
|
-
e.value.style.chart.grid.show ? (
|
|
441
|
-
e.value.style.chart.grid.horizontalGrid.show ? (
|
|
442
|
-
(
|
|
445
|
+
$e(ft),
|
|
446
|
+
e.value.style.chart.grid.show ? (s(), u("g", Ct, [
|
|
447
|
+
e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g", wt, [
|
|
448
|
+
(s(!0), u(g, null, C(ge.value, (l) => (s(), u("line", {
|
|
443
449
|
x1: l.x1,
|
|
444
450
|
x2: l.x2,
|
|
445
451
|
y1: l.y,
|
|
@@ -448,10 +454,10 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
448
454
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
449
455
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
|
|
450
456
|
"stroke-linecap": "round"
|
|
451
|
-
}, null, 8,
|
|
457
|
+
}, null, 8, $t))), 256))
|
|
452
458
|
])) : c("", !0),
|
|
453
|
-
e.value.style.chart.grid.verticalGrid.show ? (
|
|
454
|
-
(
|
|
459
|
+
e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", _t, [
|
|
460
|
+
(s(!0), u(g, null, C(x.value, (l, r) => (s(), u("line", {
|
|
455
461
|
x1: a.value.left + (r + 1) * a.value.stripWidth,
|
|
456
462
|
x2: a.value.left + (r + 1) * a.value.stripWidth,
|
|
457
463
|
y1: a.value.top,
|
|
@@ -460,7 +466,7 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
460
466
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
461
467
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
462
468
|
"stroke-linecap": "round"
|
|
463
|
-
}, null, 8,
|
|
469
|
+
}, null, 8, Tt))), 256))
|
|
464
470
|
])) : c("", !0),
|
|
465
471
|
k("line", {
|
|
466
472
|
x1: a.value.left,
|
|
@@ -470,7 +476,7 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
470
476
|
stroke: e.value.style.chart.grid.stroke,
|
|
471
477
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
472
478
|
"stroke-linecap": "round"
|
|
473
|
-
}, null, 8,
|
|
479
|
+
}, null, 8, Lt),
|
|
474
480
|
k("line", {
|
|
475
481
|
x1: a.value.left,
|
|
476
482
|
x2: a.value.right,
|
|
@@ -479,137 +485,137 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
479
485
|
stroke: e.value.style.chart.grid.stroke,
|
|
480
486
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
481
487
|
"stroke-linecap": "round"
|
|
482
|
-
}, null, 8,
|
|
488
|
+
}, null, 8, At)
|
|
483
489
|
])) : c("", !0),
|
|
484
|
-
e.value.style.chart.labels.yAxisLabels.show ? (
|
|
490
|
+
e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 1 }, C(ge.value, (l, r) => (s(), u("text", {
|
|
485
491
|
x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
486
492
|
y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
487
493
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
488
494
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
489
495
|
"text-anchor": "end"
|
|
490
|
-
}, L(
|
|
496
|
+
}, L(v(te)(
|
|
491
497
|
e.value.style.chart.labels.formatter,
|
|
492
498
|
l.value,
|
|
493
|
-
|
|
499
|
+
v(X)({
|
|
494
500
|
p: e.value.style.chart.labels.prefix,
|
|
495
501
|
v: l.value,
|
|
496
502
|
s: e.value.style.chart.labels.suffix,
|
|
497
503
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
498
504
|
}),
|
|
499
505
|
{ datapoint: l, seriesIndex: r }
|
|
500
|
-
)), 9,
|
|
501
|
-
e.value.style.chart.labels.xAxisLabels.show ? (
|
|
506
|
+
)), 9, St))), 256)) : c("", !0),
|
|
507
|
+
e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 2 }, C(x.value, (l, r) => (s(), u("text", {
|
|
502
508
|
x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
|
|
503
509
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
504
510
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
505
511
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
506
512
|
"text-anchor": "middle"
|
|
507
|
-
}, L(l.name), 9,
|
|
508
|
-
e.value.style.chart.labels.axis.yLabel ? (
|
|
513
|
+
}, L(l.name), 9, Pt))), 256)) : c("", !0),
|
|
514
|
+
e.value.style.chart.labels.axis.yLabel ? (s(), u("text", {
|
|
509
515
|
key: 3,
|
|
510
516
|
fill: e.value.style.chart.labels.axis.color,
|
|
511
517
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
512
518
|
transform: `translate(${e.value.style.chart.labels.axis.fontSize + e.value.style.chart.labels.axis.yLabelOffsetX}, ${a.value.top + a.value.height / 2}) rotate(-90)`,
|
|
513
519
|
"text-anchor": "middle"
|
|
514
|
-
}, L(e.value.style.chart.labels.axis.yLabel), 9,
|
|
515
|
-
e.value.style.chart.labels.axis.xLabel ? (
|
|
520
|
+
}, L(e.value.style.chart.labels.axis.yLabel), 9, Ot)) : c("", !0),
|
|
521
|
+
e.value.style.chart.labels.axis.xLabel ? (s(), u("text", {
|
|
516
522
|
key: 4,
|
|
517
523
|
fill: e.value.style.chart.labels.axis.color,
|
|
518
524
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
519
525
|
x: a.value.left + a.value.width / 2,
|
|
520
526
|
y: a.value.absoluteHeight,
|
|
521
527
|
"text-anchor": "middle"
|
|
522
|
-
}, L(e.value.style.chart.labels.axis.xLabel), 9,
|
|
523
|
-
|
|
528
|
+
}, L(e.value.style.chart.labels.axis.xLabel), 9, zt)) : c("", !0),
|
|
529
|
+
d.value ? (s(), u(g, { key: 5 }, [
|
|
524
530
|
k("line", {
|
|
525
531
|
x1: a.value.left,
|
|
526
532
|
x2: a.value.right,
|
|
527
|
-
y1:
|
|
528
|
-
y2:
|
|
529
|
-
stroke:
|
|
533
|
+
y1: d.value.y,
|
|
534
|
+
y2: d.value.y,
|
|
535
|
+
stroke: d.value.color,
|
|
530
536
|
"stroke-width": 1,
|
|
531
537
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
532
|
-
}, null, 10,
|
|
538
|
+
}, null, 10, Nt),
|
|
533
539
|
k("circle", {
|
|
534
540
|
cx: a.value.left,
|
|
535
|
-
cy:
|
|
541
|
+
cy: d.value.y,
|
|
536
542
|
r: 3,
|
|
537
|
-
fill:
|
|
543
|
+
fill: d.value.color,
|
|
538
544
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
539
|
-
}, null, 10,
|
|
545
|
+
}, null, 10, Ft),
|
|
540
546
|
k("circle", {
|
|
541
547
|
cx: a.value.right,
|
|
542
|
-
cy:
|
|
548
|
+
cy: d.value.y,
|
|
543
549
|
r: 3,
|
|
544
|
-
fill:
|
|
550
|
+
fill: d.value.color,
|
|
545
551
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
546
|
-
}, null, 10,
|
|
552
|
+
}, null, 10, Mt)
|
|
547
553
|
], 64)) : c("", !0),
|
|
548
554
|
k("defs", null, [
|
|
549
|
-
(
|
|
555
|
+
(s(!0), u(g, null, C(x.value, (l) => (s(), u("radialGradient", {
|
|
550
556
|
id: l.id,
|
|
551
557
|
fy: "30%"
|
|
552
558
|
}, [
|
|
553
559
|
k("stop", {
|
|
554
560
|
offset: "10%",
|
|
555
|
-
"stop-color":
|
|
556
|
-
}, null, 8,
|
|
561
|
+
"stop-color": v(et)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
562
|
+
}, null, 8, It),
|
|
557
563
|
k("stop", {
|
|
558
564
|
offset: "90%",
|
|
559
|
-
"stop-color":
|
|
560
|
-
}, null, 8,
|
|
565
|
+
"stop-color": v(tt)(l.color, 0.1)
|
|
566
|
+
}, null, 8, Dt),
|
|
561
567
|
k("stop", {
|
|
562
568
|
offset: "100%",
|
|
563
569
|
"stop-color": l.color
|
|
564
|
-
}, null, 8,
|
|
565
|
-
], 8,
|
|
570
|
+
}, null, 8, Gt)
|
|
571
|
+
], 8, Wt))), 256))
|
|
566
572
|
]),
|
|
567
|
-
(
|
|
568
|
-
(
|
|
569
|
-
plot: { x:
|
|
570
|
-
radius:
|
|
573
|
+
(s(!0), u(g, null, C(Me.value, (l, r) => (s(), u(g, null, [
|
|
574
|
+
(s(!0), u(g, null, C(l.plots, (i, _) => (s(), T(pt, He({
|
|
575
|
+
plot: { x: i.x, y: re.value ? i.y : a.value.top },
|
|
576
|
+
radius: d.value && d.value.id === i.id ? G.value * 1.5 : G.value,
|
|
571
577
|
shape: e.value.style.chart.plots.shape,
|
|
572
578
|
stroke: e.value.style.chart.plots.stroke,
|
|
573
579
|
strokeWidth: e.value.style.chart.plots.strokeWidth,
|
|
574
580
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
575
|
-
onMouseenter: (
|
|
576
|
-
onMouseleave:
|
|
577
|
-
|
|
581
|
+
onMouseenter: (R) => We({ datapoint: i, seriesIndex: _ }),
|
|
582
|
+
onMouseleave: o[0] || (o[0] = (R) => {
|
|
583
|
+
Y.value = !1, d.value = null;
|
|
578
584
|
}),
|
|
579
|
-
onClick: (
|
|
580
|
-
style: `transition: all 0.2s ease-in-out; opacity:${
|
|
581
|
-
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation &&
|
|
585
|
+
onClick: (R) => Oe("selectDatapoint", i),
|
|
586
|
+
style: `transition: all 0.2s ease-in-out; opacity:${d.value ? d.value.id === i.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${z.value ? `transition-delay:${_ * 50}ms` : ""}`,
|
|
587
|
+
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && z.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !z.value }
|
|
582
588
|
}, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
|
|
583
|
-
p.value.dataLabels.show ? (
|
|
584
|
-
(
|
|
585
|
-
|
|
589
|
+
p.value.dataLabels.show ? (s(), u("g", Ut, [
|
|
590
|
+
(s(!0), u(g, null, C(l.plots, (i, _) => (s(), u(g, null, [
|
|
591
|
+
_ === l.plots.length - 1 || d.value && d.value.id === i.id && !p.value.showTooltip ? (s(), u("text", {
|
|
586
592
|
key: 0,
|
|
587
|
-
x:
|
|
588
|
-
y:
|
|
593
|
+
x: i.x,
|
|
594
|
+
y: i.y + e.value.style.chart.labels.bestPlotLabel.offsetY - G.value * (d.value && d.value.id === i.id && !p.value.showTooltip ? 2 : 1.5),
|
|
589
595
|
"font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
|
|
590
596
|
fill: e.value.style.chart.labels.bestPlotLabel.color,
|
|
591
597
|
"text-anchor": "middle",
|
|
592
|
-
style:
|
|
593
|
-
}, L(
|
|
598
|
+
style: B(`opacity:${e.value.useCssAnimation && z.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
|
|
599
|
+
}, L(i.name) + " " + L(e.value.style.chart.labels.bestPlotLabel.showValue ? v(te)(
|
|
594
600
|
e.value.style.chart.labels.formatter,
|
|
595
|
-
|
|
596
|
-
|
|
601
|
+
i.value,
|
|
602
|
+
v(X)({
|
|
597
603
|
p: `(${e.value.style.chart.labels.prefix}`,
|
|
598
|
-
v:
|
|
604
|
+
v: i.value,
|
|
599
605
|
s: `${e.value.style.chart.labels.suffix})`,
|
|
600
606
|
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
601
607
|
}),
|
|
602
|
-
{ datapoint:
|
|
603
|
-
) : ""), 13,
|
|
608
|
+
{ datapoint: i, seriesIndex: _ }
|
|
609
|
+
) : ""), 13, Vt)) : c("", !0)
|
|
604
610
|
], 64))), 256))
|
|
605
611
|
])) : c("", !0)
|
|
606
612
|
], 64))), 256)),
|
|
607
|
-
|
|
608
|
-
], 14,
|
|
609
|
-
t.$slots.watermark ? (
|
|
610
|
-
|
|
613
|
+
f(t.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
614
|
+
], 14, xt)) : c("", !0),
|
|
615
|
+
t.$slots.watermark ? (s(), u("div", Et, [
|
|
616
|
+
f(t.$slots, "watermark", M(W({ isPrinting: v(pe) || v(ye) })), void 0, !0)
|
|
611
617
|
])) : c("", !0),
|
|
612
|
-
w.value ? c("", !0) : (
|
|
618
|
+
w.value ? c("", !0) : (s(), T(ht, {
|
|
613
619
|
key: 6,
|
|
614
620
|
config: {
|
|
615
621
|
type: "stripPlot",
|
|
@@ -621,16 +627,16 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
621
627
|
}
|
|
622
628
|
}
|
|
623
629
|
}, null, 8, ["config"])),
|
|
624
|
-
t.$slots.source ? (
|
|
630
|
+
t.$slots.source ? (s(), u("div", {
|
|
625
631
|
key: 7,
|
|
626
632
|
ref_key: "source",
|
|
627
633
|
ref: oe,
|
|
628
634
|
dir: "auto"
|
|
629
635
|
}, [
|
|
630
|
-
|
|
636
|
+
f(t.$slots, "source", {}, void 0, !0)
|
|
631
637
|
], 512)) : c("", !0),
|
|
632
|
-
|
|
633
|
-
show: p.value.showTooltip &&
|
|
638
|
+
$e(ct, {
|
|
639
|
+
show: p.value.showTooltip && Y.value,
|
|
634
640
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
635
641
|
color: e.value.style.chart.tooltip.color,
|
|
636
642
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -640,20 +646,20 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
640
646
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
641
647
|
position: e.value.style.chart.tooltip.position,
|
|
642
648
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
643
|
-
parent:
|
|
644
|
-
content:
|
|
645
|
-
isFullscreen:
|
|
646
|
-
isCustom:
|
|
649
|
+
parent: S.value,
|
|
650
|
+
content: J.value,
|
|
651
|
+
isFullscreen: O.value,
|
|
652
|
+
isCustom: v(Le)(e.value.style.chart.tooltip.customFormat)
|
|
647
653
|
}, {
|
|
648
|
-
"tooltip-before":
|
|
649
|
-
|
|
654
|
+
"tooltip-before": y(() => [
|
|
655
|
+
f(t.$slots, "tooltip-before", M(W({ ...K.value })), void 0, !0)
|
|
650
656
|
]),
|
|
651
|
-
"tooltip-after":
|
|
652
|
-
|
|
657
|
+
"tooltip-after": y(() => [
|
|
658
|
+
f(t.$slots, "tooltip-after", M(W({ ...K.value })), void 0, !0)
|
|
653
659
|
]),
|
|
654
660
|
_: 3
|
|
655
661
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
656
|
-
w.value ? (
|
|
662
|
+
w.value ? (s(), T(yt, {
|
|
657
663
|
key: 8,
|
|
658
664
|
hideDetails: "",
|
|
659
665
|
config: {
|
|
@@ -669,33 +675,33 @@ const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 },
|
|
|
669
675
|
}
|
|
670
676
|
}
|
|
671
677
|
}, {
|
|
672
|
-
content:
|
|
673
|
-
(
|
|
674
|
-
key: `table_${
|
|
675
|
-
colNames:
|
|
676
|
-
head:
|
|
677
|
-
body:
|
|
678
|
-
config:
|
|
678
|
+
content: y(() => [
|
|
679
|
+
(s(), T(dt, {
|
|
680
|
+
key: `table_${ie.value}`,
|
|
681
|
+
colNames: E.value.colNames,
|
|
682
|
+
head: E.value.head,
|
|
683
|
+
body: E.value.body,
|
|
684
|
+
config: E.value.config,
|
|
679
685
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
680
|
-
onClose:
|
|
686
|
+
onClose: o[1] || (o[1] = (l) => p.value.showTable = !1)
|
|
681
687
|
}, {
|
|
682
|
-
th:
|
|
688
|
+
th: y(({ th: l }) => [
|
|
683
689
|
k("div", {
|
|
684
690
|
innerHTML: l,
|
|
685
691
|
style: { display: "flex", "align-items": "center" }
|
|
686
|
-
}, null, 8,
|
|
692
|
+
}, null, 8, Ht)
|
|
687
693
|
]),
|
|
688
|
-
td:
|
|
689
|
-
|
|
694
|
+
td: y(({ td: l }) => [
|
|
695
|
+
Re(L(l.name || l), 1)
|
|
690
696
|
]),
|
|
691
697
|
_: 1
|
|
692
698
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
693
699
|
]),
|
|
694
700
|
_: 1
|
|
695
701
|
}, 8, ["config"])) : c("", !0)
|
|
696
|
-
],
|
|
702
|
+
], 46, kt));
|
|
697
703
|
}
|
|
698
|
-
},
|
|
704
|
+
}, rl = /* @__PURE__ */ gt(Rt, [["__scopeId", "data-v-8317d4a4"]]);
|
|
699
705
|
export {
|
|
700
|
-
|
|
706
|
+
rl as default
|
|
701
707
|
};
|