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,33 +1,34 @@
|
|
|
1
|
-
import { computed as m, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { L as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { D as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
15
|
-
import {
|
|
16
|
-
|
|
1
|
+
import { computed as m, ref as p, watch as lt, onMounted as at, onBeforeUnmount as ot, openBlock as o, createElementBlock as r, normalizeClass as je, normalizeStyle as Y, unref as n, createBlock as V, createCommentVNode as c, createSlots as st, withCtx as _, renderSlot as M, normalizeProps as Q, guardReactiveProps as Z, createVNode as pe, createElementVNode as d, Fragment as O, renderList as X, toDisplayString as $, createTextVNode as ut, nextTick as rt } from "vue";
|
|
2
|
+
import { u as it, c as nt, t as vt, a as yt, p as q, o as ct, e as he, b as dt, g as Ue, T as pt, R as ht, W as ft, X as gt, U as xt, s as fe, i as j, v as C, f as P, x as mt, y as bt, q as kt, r as _t } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { t as wt, u as Mt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as $t } from "./Title-aSAft5dl.js";
|
|
5
|
+
import { u as Ct, U as zt } from "./usePrinter-DaybDVqP.js";
|
|
6
|
+
import { _ as At } from "./Tooltip-smutPF--.js";
|
|
7
|
+
import { L as St } from "./Legend-BLaZxMge.js";
|
|
8
|
+
import { _ as Ee } from "./Shape-DIKzzpFm.js";
|
|
9
|
+
import { D as Lt } from "./DataTable-DGf6RrOJ.js";
|
|
10
|
+
import Tt from "./vue-ui-skeleton-Bniq21d9.js";
|
|
11
|
+
import Bt from "./vue-ui-accordion-5d5iVpr7.js";
|
|
12
|
+
import { u as Ge } from "./useNestedProp-BN8claGG.js";
|
|
13
|
+
import { _ as Nt } from "./PackageVersion-CxJghxYD.js";
|
|
14
|
+
import { P as Ot } from "./PenAndPaper-ZdZEumki.js";
|
|
15
|
+
import { u as Pt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
|
+
import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = { key: 1 }, jt = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Ut = { key: 0 }, Et = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Gt = { key: 1 }, Rt = { key: 2 }, qt = ["id"], Ht = ["stop-color"], Jt = ["stop-color"], Kt = ["id"], Qt = ["stop-color"], Zt = ["stop-color"], el = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], tl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], ll = { key: 0 }, al = ["d", "stroke", "stroke-width"], ol = ["d", "stroke", "stroke-width"], sl = ["d", "stroke", "stroke-width"], ul = ["d", "stroke", "stroke-width"], rl = {
|
|
17
18
|
key: 3,
|
|
18
19
|
style: { "pointer-events": "none !important" }
|
|
19
|
-
},
|
|
20
|
+
}, il = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], vl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], yl = ["x", "y", "font-size", "fill", "font-weight"], cl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], dl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], pl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], hl = { key: 4 }, fl = ["x", "y", "font-size", "fill"], gl = ["x", "y", "font-size", "fill"], xl = ["id", "transform", "font-size", "font-weight", "fill"], ml = { key: 5 }, bl = ["x", "y", "font-size", "fill"], kl = ["x", "y", "font-size", "fill"], _l = ["font-size", "font-weight", "fill", "x", "y"], wl = ["id"], Ml = ["x", "y", "width", "height"], $l = { key: 6 }, Cl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], zl = ["x", "y", "fill", "font-size", "font-weight"], Al = {
|
|
20
21
|
key: 5,
|
|
21
22
|
class: "vue-data-ui-watermark"
|
|
22
|
-
},
|
|
23
|
+
}, Sl = ["onClick"], Ll = {
|
|
23
24
|
key: 0,
|
|
24
25
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
25
|
-
},
|
|
26
|
+
}, Tl = {
|
|
26
27
|
viewBox: "0 0 20 20",
|
|
27
28
|
height: "20",
|
|
28
29
|
width: "20",
|
|
29
30
|
style: { overflow: "hidden", background: "transparent" }
|
|
30
|
-
},
|
|
31
|
+
}, Bl = { key: 0 }, Nl = ["innerHTML"], Ol = {
|
|
31
32
|
__name: "vue-ui-scatter",
|
|
32
33
|
props: {
|
|
33
34
|
config: {
|
|
@@ -43,149 +44,149 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
43
44
|
}
|
|
44
45
|
}
|
|
45
46
|
},
|
|
46
|
-
setup(
|
|
47
|
-
const
|
|
48
|
-
get: () =>
|
|
47
|
+
setup(Re, { expose: qe }) {
|
|
48
|
+
const W = Re, { vue_ui_scatter: He } = it(), ee = m(() => !!W.dataset && W.dataset.length), z = p(nt()), Je = p(null), ue = p(!1), re = p(""), ge = p(0), H = p(null), xe = p(null), me = p(null), be = p(null), ke = p(null), _e = p(0), we = p(0), Me = p(0), e = m({
|
|
49
|
+
get: () => Ae(),
|
|
49
50
|
set: (l) => l
|
|
50
|
-
});
|
|
51
|
-
function
|
|
52
|
-
const l =
|
|
53
|
-
userConfig:
|
|
54
|
-
defaultConfig:
|
|
51
|
+
}), { userOptionsVisible: $e, setUserOptionsVisibility: Ce, keepUserOptionState: ze } = Pt({ config: e.value });
|
|
52
|
+
function Ae() {
|
|
53
|
+
const l = Ge({
|
|
54
|
+
userConfig: W.config,
|
|
55
|
+
defaultConfig: He
|
|
55
56
|
});
|
|
56
57
|
return l.theme ? {
|
|
57
|
-
...
|
|
58
|
-
userConfig:
|
|
58
|
+
...Ge({
|
|
59
|
+
userConfig: vt.vue_ui_scatter[l.theme] || W.config,
|
|
59
60
|
defaultConfig: l
|
|
60
61
|
}),
|
|
61
|
-
customPalette:
|
|
62
|
+
customPalette: yt[l.theme] || q
|
|
62
63
|
} : l;
|
|
63
64
|
}
|
|
64
|
-
|
|
65
|
-
e.value =
|
|
65
|
+
lt(() => W.config, (l) => {
|
|
66
|
+
e.value = Ae(), Se(), _e.value += 1, we.value += 1, Me.value += 1;
|
|
66
67
|
}, { deep: !0 });
|
|
67
|
-
const te =
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
const te = p(null);
|
|
69
|
+
at(() => {
|
|
70
|
+
Se();
|
|
70
71
|
});
|
|
71
|
-
function
|
|
72
|
-
if (
|
|
72
|
+
function Se() {
|
|
73
|
+
if (ct(W.dataset) && he({
|
|
73
74
|
componentName: "VueUiScatter",
|
|
74
75
|
type: "dataset"
|
|
75
76
|
}), e.value.responsive) {
|
|
76
|
-
const l =
|
|
77
|
-
const { width:
|
|
77
|
+
const l = wt(() => {
|
|
78
|
+
const { width: u, height: t } = Mt({
|
|
78
79
|
chart: H.value,
|
|
79
80
|
title: e.value.style.title.text ? xe.value : null,
|
|
80
81
|
legend: e.value.style.legend.show ? me.value : null,
|
|
81
82
|
source: be.value,
|
|
82
83
|
noTitle: ke.value
|
|
83
84
|
});
|
|
84
|
-
A.value.width =
|
|
85
|
+
A.value.width = u, A.value.height = t;
|
|
85
86
|
});
|
|
86
87
|
te.value = new ResizeObserver(l), te.value.observe(H.value.parentNode);
|
|
87
88
|
}
|
|
88
89
|
}
|
|
89
|
-
|
|
90
|
+
ot(() => {
|
|
90
91
|
te.value && te.value.disconnect();
|
|
91
92
|
});
|
|
92
|
-
const { isPrinting:
|
|
93
|
+
const { isPrinting: Le, isImaging: Te, generatePdf: Be, generateImage: Ne } = Ct({
|
|
93
94
|
elementId: `vue-ui-scatter_${z.value}`,
|
|
94
95
|
fileName: e.value.style.title.text || "vue-ui-scatter"
|
|
95
|
-
}),
|
|
96
|
+
}), Ke = m(() => e.value.userOptions.show && !e.value.style.title.text), Oe = m(() => dt(e.value.customPalette)), I = p({
|
|
96
97
|
showTable: e.value.table.show,
|
|
97
98
|
showTooltip: e.value.style.tooltip.show
|
|
98
|
-
}), A =
|
|
99
|
+
}), A = p({
|
|
99
100
|
height: e.value.style.layout.height,
|
|
100
101
|
width: e.value.style.layout.width
|
|
101
|
-
}), le = m(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0),
|
|
102
|
+
}), le = m(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), i = m(() => ({
|
|
102
103
|
top: e.value.style.layout.padding.top + le.value,
|
|
103
104
|
right: A.value.width - e.value.style.layout.padding.right - le.value,
|
|
104
105
|
bottom: A.value.height - e.value.style.layout.padding.bottom,
|
|
105
106
|
left: e.value.style.layout.padding.left,
|
|
106
107
|
height: A.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - le.value,
|
|
107
108
|
width: A.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - le.value
|
|
108
|
-
})),
|
|
109
|
-
|
|
110
|
-
|
|
109
|
+
})), h = m(() => {
|
|
110
|
+
W.dataset.forEach((a, v) => {
|
|
111
|
+
Ue({
|
|
111
112
|
datasetObject: a,
|
|
112
113
|
requiredAttributes: ["values"]
|
|
113
114
|
}).forEach((b) => {
|
|
114
|
-
|
|
115
|
+
he({
|
|
115
116
|
componentName: "VueUiScatter",
|
|
116
117
|
type: "datasetSerieAttribute",
|
|
117
118
|
property: b,
|
|
118
|
-
index:
|
|
119
|
+
index: v
|
|
119
120
|
});
|
|
120
121
|
}), a.values && a.values.forEach((b, E) => {
|
|
121
|
-
|
|
122
|
+
Ue({
|
|
122
123
|
datasetObject: b,
|
|
123
124
|
requiredAttributes: ["x", "y"]
|
|
124
125
|
}).forEach((K) => {
|
|
125
|
-
|
|
126
|
+
he({
|
|
126
127
|
componentName: "VueUiScatter",
|
|
127
128
|
type: "datasetSerieAttribute",
|
|
128
129
|
property: `values.${K}`,
|
|
129
|
-
index: `${
|
|
130
|
+
index: `${v} - ${E}`
|
|
130
131
|
});
|
|
131
132
|
});
|
|
132
133
|
});
|
|
133
134
|
});
|
|
134
|
-
const l = Math.min(...
|
|
135
|
-
return { xMin: l >= 0 ? 0 : l, xMax:
|
|
135
|
+
const l = Math.min(...U.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), u = Math.max(...U.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.x))), t = Math.min(...U.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y))), s = Math.max(...U.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((v) => v.y)));
|
|
136
|
+
return { xMin: l >= 0 ? 0 : l, xMax: u, yMin: t >= 0 ? 0 : t, yMax: s };
|
|
136
137
|
}), f = m(() => ({
|
|
137
|
-
x:
|
|
138
|
-
y:
|
|
139
|
-
})),
|
|
140
|
-
const t = `cluster_${z.value}_${
|
|
138
|
+
x: i.value.left + Math.abs(h.value.xMin) / (h.value.xMax + Math.abs(h.value.xMin)) * i.value.width,
|
|
139
|
+
y: i.value.bottom - Math.abs(h.value.yMin) / (h.value.yMax + Math.abs(h.value.yMin)) * i.value.height
|
|
140
|
+
})), U = m(() => W.dataset.map((l, u) => {
|
|
141
|
+
const t = `cluster_${z.value}_${u}`;
|
|
141
142
|
return {
|
|
142
143
|
...l,
|
|
143
|
-
values:
|
|
144
|
+
values: pt({
|
|
144
145
|
data: l.values,
|
|
145
146
|
threshold: e.value.downsample.threshold
|
|
146
147
|
}),
|
|
147
148
|
id: t,
|
|
148
|
-
color: l.color ? l.color :
|
|
149
|
+
color: l.color ? l.color : Oe.value[u] || q[u] || q[u % q.length],
|
|
149
150
|
opacity: x.value.includes(t) ? 0.5 : 1,
|
|
150
151
|
shape: l.shape ?? "circle",
|
|
151
|
-
segregate: () =>
|
|
152
|
+
segregate: () => Ie(t),
|
|
152
153
|
isSegregated: x.value.includes(t)
|
|
153
154
|
};
|
|
154
|
-
})),
|
|
155
|
+
})), Qe = m(() => ({
|
|
155
156
|
cy: "scatter-div-legend",
|
|
156
157
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
157
158
|
color: e.value.style.legend.color,
|
|
158
159
|
fontSize: e.value.style.legend.fontSize,
|
|
159
160
|
paddingBottom: 12,
|
|
160
161
|
fontWeight: e.value.style.legend.bold ? "bold" : ""
|
|
161
|
-
})), ie = m(() =>
|
|
162
|
+
})), ie = m(() => U.value.map((l, u) => ({
|
|
162
163
|
...l,
|
|
163
164
|
plots: l.values.map((t) => ({
|
|
164
|
-
x:
|
|
165
|
-
y:
|
|
165
|
+
x: i.value.left + (t.x + Math.abs(h.value.xMin)) / (h.value.xMax + Math.abs(h.value.xMin)) * i.value.width,
|
|
166
|
+
y: i.value.bottom - (t.y + Math.abs(h.value.yMin)) / (h.value.yMax + Math.abs(h.value.yMin)) * i.value.height,
|
|
166
167
|
v: {
|
|
167
168
|
...t,
|
|
168
169
|
name: t.name || ""
|
|
169
170
|
},
|
|
170
171
|
clusterName: l.name,
|
|
171
|
-
color: l.color ? l.color :
|
|
172
|
+
color: l.color ? l.color : Oe.value[u] || q[u] || q[u % q.length],
|
|
172
173
|
id: `plot_${z.value}_${Math.random()}`,
|
|
173
174
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
174
175
|
}))
|
|
175
176
|
})).filter((l) => !x.value.includes(l.id))), S = m(() => ie.value.map((l) => {
|
|
176
|
-
const
|
|
177
|
-
let s = 0, a = 0,
|
|
177
|
+
const u = l.plots.reduce((g, G) => g + G.x, 0) / l.plots.length, t = l.plots.reduce((g, G) => g + G.y, 0) / l.plots.length;
|
|
178
|
+
let s = 0, a = 0, v = 0;
|
|
178
179
|
for (const g of l.plots)
|
|
179
|
-
s += (g.x -
|
|
180
|
-
const b = s / Math.sqrt(a *
|
|
181
|
-
x1:
|
|
182
|
-
x2:
|
|
183
|
-
y1: E *
|
|
184
|
-
y2: E *
|
|
180
|
+
s += (g.x - u) * (g.y - t), a += (g.x - u) ** 2, v += (g.y - t) ** 2;
|
|
181
|
+
const b = s / Math.sqrt(a * v), E = b * (Math.sqrt(v) / Math.sqrt(a)), K = t - E * u, N = {
|
|
182
|
+
x1: i.value.left,
|
|
183
|
+
x2: i.value.right,
|
|
184
|
+
y1: E * i.value.left + K,
|
|
185
|
+
y2: E * i.value.right + K,
|
|
185
186
|
coefficient: b
|
|
186
|
-
}, w = (N.y2 - N.y1) / (N.x2 - N.x1), T = N.y1 - w * N.x1, F = Math.min(A.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (
|
|
187
|
+
}, w = (N.y2 - N.y1) / (N.x2 - N.x1), T = N.y1 - w * N.x1, F = Math.min(A.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (i.value.top - T) / w)), se = {
|
|
187
188
|
x: F,
|
|
188
|
-
y: w * F + T <= e.value.style.layout.padding.top ?
|
|
189
|
+
y: w * F + T <= e.value.style.layout.padding.top ? i.value.top : w * F + T
|
|
189
190
|
};
|
|
190
191
|
return {
|
|
191
192
|
...l,
|
|
@@ -201,11 +202,11 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
201
202
|
};
|
|
202
203
|
})
|
|
203
204
|
};
|
|
204
|
-
})),
|
|
205
|
-
function
|
|
205
|
+
})), Pe = m(() => Math.max(...S.value.flatMap((l) => l.plots.map((u) => Math.abs(u.deviation)))));
|
|
206
|
+
function Ze() {
|
|
206
207
|
return S.value;
|
|
207
208
|
}
|
|
208
|
-
function
|
|
209
|
+
function We(l, u) {
|
|
209
210
|
const t = Array.isArray(l) ? l.flatMap((k) => k.plots.map((R) => ({
|
|
210
211
|
x: R.x,
|
|
211
212
|
y: R.y
|
|
@@ -213,102 +214,102 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
213
214
|
x: k.x,
|
|
214
215
|
y: k.y
|
|
215
216
|
}));
|
|
216
|
-
let s = 1 / 0, a = -1 / 0,
|
|
217
|
+
let s = 1 / 0, a = -1 / 0, v = 1 / 0, b = -1 / 0;
|
|
217
218
|
t.forEach(({ x: k, y: R }) => {
|
|
218
|
-
s = Math.min(s, k), a = Math.max(a, k),
|
|
219
|
+
s = Math.min(s, k), a = Math.max(a, k), v = Math.min(v, R), b = Math.max(b, R);
|
|
219
220
|
});
|
|
220
|
-
const E = a - s, K = b -
|
|
221
|
+
const E = a - s, K = b - v, N = E / u, w = K / u, T = Array(u).fill(0), F = Array(u).fill(0);
|
|
221
222
|
t.forEach(({ x: k, y: R }) => {
|
|
222
|
-
const ce = Math.floor((k - s) / N), de = Math.floor((R -
|
|
223
|
+
const ce = Math.floor((k - s) / N), de = Math.floor((R - v) / w);
|
|
223
224
|
T[ce] || (T[ce] = 0), F[de] || (F[de] = 0), T[ce] += 1, F[de] += 1;
|
|
224
225
|
});
|
|
225
226
|
const se = [], g = [];
|
|
226
|
-
for (let k = 0; k <
|
|
227
|
-
se.push(s + (k + 0.5) * N), g.push(
|
|
227
|
+
for (let k = 0; k < u; k += 1)
|
|
228
|
+
se.push(s + (k + 0.5) * N), g.push(v + (k + 0.5) * w);
|
|
228
229
|
const G = Math.max(...T), ye = Math.max(...F);
|
|
229
230
|
return { x: T, y: F, avgX: se, avgY: g, maxX: G, maxY: ye };
|
|
230
231
|
}
|
|
231
|
-
const D = m(() => e.value.style.layout.marginalBars.tranches), L = m(() =>
|
|
232
|
-
const l =
|
|
232
|
+
const D = m(() => e.value.style.layout.marginalBars.tranches), L = m(() => We(ie.value, D.value)), et = m(() => {
|
|
233
|
+
const l = i.value.top - e.value.style.layout.marginalBars.offset, u = i.value.right + e.value.style.layout.marginalBars.offset;
|
|
233
234
|
return ie.value.map((t) => {
|
|
234
|
-
const s =
|
|
235
|
+
const s = We(t, D.value);
|
|
235
236
|
return {
|
|
236
237
|
coords: s,
|
|
237
|
-
dX:
|
|
238
|
+
dX: ht(s.avgX.map((a, v) => ({
|
|
238
239
|
x: a,
|
|
239
|
-
y: l - s.x[
|
|
240
|
+
y: l - s.x[v] / s.maxX * e.value.style.layout.marginalBars.size
|
|
240
241
|
}))),
|
|
241
|
-
dY:
|
|
242
|
+
dY: ft(s.avgY.map((a, v) => ({
|
|
242
243
|
y: a,
|
|
243
|
-
x:
|
|
244
|
+
x: u + e.value.style.layout.marginalBars.size * s.y[v] / s.maxY
|
|
244
245
|
}))),
|
|
245
246
|
color: t.color,
|
|
246
247
|
id: t.id
|
|
247
248
|
};
|
|
248
249
|
});
|
|
249
|
-
}), B =
|
|
250
|
-
function
|
|
250
|
+
}), B = p(void 0), y = p(null), ne = p(null);
|
|
251
|
+
function Fe(l, u) {
|
|
251
252
|
B.value = l.id, y.value = l;
|
|
252
253
|
let t = "";
|
|
253
254
|
ne.value = {
|
|
254
255
|
datapoint: l,
|
|
255
|
-
seriesIndex:
|
|
256
|
+
seriesIndex: u,
|
|
256
257
|
series: S.value,
|
|
257
258
|
config: e.value
|
|
258
259
|
};
|
|
259
260
|
const s = e.value.style.tooltip.customFormat;
|
|
260
|
-
|
|
261
|
+
mt(s) && bt(() => s({
|
|
261
262
|
datapoint: l,
|
|
262
|
-
seriesIndex:
|
|
263
|
+
seriesIndex: u,
|
|
263
264
|
series: S.value,
|
|
264
265
|
config: e.value
|
|
265
266
|
})) ? re.value = s({
|
|
266
267
|
datapoint: l,
|
|
267
|
-
seriesIndex:
|
|
268
|
+
seriesIndex: u,
|
|
268
269
|
series: S.value,
|
|
269
270
|
config: e.value
|
|
270
271
|
}) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : j(
|
|
271
272
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
272
273
|
l.v.x,
|
|
273
|
-
|
|
274
|
+
P({
|
|
274
275
|
p: e.value.style.tooltip.prefix,
|
|
275
276
|
v: l.v.x,
|
|
276
277
|
s: e.value.style.tooltip.suffix,
|
|
277
278
|
r: e.value.style.tooltip.roundingValue
|
|
278
279
|
}),
|
|
279
|
-
{ datapoint: l, seriesIndex:
|
|
280
|
+
{ datapoint: l, seriesIndex: u }
|
|
280
281
|
)}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : j(
|
|
281
282
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
282
283
|
l.v.y,
|
|
283
|
-
|
|
284
|
+
P({
|
|
284
285
|
p: e.value.style.tooltip.prefix,
|
|
285
286
|
v: l.v.y,
|
|
286
287
|
s: e.value.style.tooltip.suffix,
|
|
287
288
|
r: e.value.style.tooltip.roundingValue
|
|
288
289
|
}),
|
|
289
|
-
{ datapoint: l, seriesIndex:
|
|
290
|
-
)}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${
|
|
290
|
+
{ datapoint: l, seriesIndex: u }
|
|
291
|
+
)}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${P({
|
|
291
292
|
v: l.deviation,
|
|
292
293
|
r: e.value.style.layout.plots.deviation.roundingValue
|
|
293
294
|
})}</b>`, t += "</div>", re.value = `<div>${t}</div>`), ue.value = !0;
|
|
294
295
|
}
|
|
295
|
-
function
|
|
296
|
+
function Xe() {
|
|
296
297
|
ue.value = !1, B.value = void 0, y.value = null;
|
|
297
298
|
}
|
|
298
|
-
const x =
|
|
299
|
-
function
|
|
300
|
-
x.value.includes(l) ? x.value = x.value.filter((
|
|
299
|
+
const x = p([]);
|
|
300
|
+
function Ie(l) {
|
|
301
|
+
x.value.includes(l) ? x.value = x.value.filter((u) => u !== l) : x.value.length < W.dataset.length - 1 && x.value.push(l);
|
|
301
302
|
}
|
|
302
|
-
function
|
|
303
|
-
|
|
304
|
-
const l = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`],
|
|
303
|
+
function De() {
|
|
304
|
+
rt(() => {
|
|
305
|
+
const l = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], u = S.value.map((a) => [
|
|
305
306
|
a.name,
|
|
306
307
|
a.correlation.coefficient,
|
|
307
308
|
a.plots.length,
|
|
308
|
-
a.plots.map((
|
|
309
|
-
a.plots.map((
|
|
310
|
-
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(
|
|
311
|
-
|
|
309
|
+
a.plots.map((v) => v.v.x).reduce((v, b) => v + b, 0) / a.plots.length,
|
|
310
|
+
a.plots.map((v) => v.v.y).reduce((v, b) => v + b, 0) / a.plots.length
|
|
311
|
+
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(u), s = kt(t);
|
|
312
|
+
_t({ csvContent: s, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
312
313
|
});
|
|
313
314
|
}
|
|
314
315
|
const ae = m(() => {
|
|
@@ -318,7 +319,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
318
319
|
e.value.table.translations.nbrPlots,
|
|
319
320
|
`${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`,
|
|
320
321
|
`${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`
|
|
321
|
-
],
|
|
322
|
+
], u = S.value.map((s) => [
|
|
322
323
|
{
|
|
323
324
|
shape: s.shape,
|
|
324
325
|
content: s.name,
|
|
@@ -326,8 +327,8 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
326
327
|
},
|
|
327
328
|
Number((s.correlation.coefficient ?? 0).toFixed(e.value.table.td.roundingValue)).toLocaleString(),
|
|
328
329
|
s.plots.length.toLocaleString(),
|
|
329
|
-
Number((s.plots.map((a) => a.v.x ?? 0).reduce((a,
|
|
330
|
-
Number((s.plots.map((a) => a.v.y ?? 0).reduce((a,
|
|
330
|
+
Number((s.plots.map((a) => a.v.x ?? 0).reduce((a, v) => a + v, 0) / s.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString(),
|
|
331
|
+
Number((s.plots.map((a) => a.v.y ?? 0).reduce((a, v) => a + v, 0) / s.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString()
|
|
331
332
|
]), t = {
|
|
332
333
|
th: {
|
|
333
334
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -341,37 +342,39 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
341
342
|
},
|
|
342
343
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
343
344
|
};
|
|
344
|
-
return { head: l, body:
|
|
345
|
-
}), J =
|
|
346
|
-
function
|
|
345
|
+
return { head: l, body: u, config: t, colNames: l };
|
|
346
|
+
}), J = p(!1);
|
|
347
|
+
function tt(l) {
|
|
347
348
|
J.value = l, ge.value += 1;
|
|
348
349
|
}
|
|
349
|
-
function
|
|
350
|
+
function Ye() {
|
|
350
351
|
I.value.showTable = !I.value.showTable;
|
|
351
352
|
}
|
|
352
|
-
function
|
|
353
|
+
function Ve() {
|
|
353
354
|
I.value.showTooltip = !I.value.showTooltip;
|
|
354
355
|
}
|
|
355
|
-
const oe =
|
|
356
|
+
const oe = p(!1);
|
|
356
357
|
function ve() {
|
|
357
358
|
oe.value = !oe.value;
|
|
358
359
|
}
|
|
359
|
-
return
|
|
360
|
-
getData:
|
|
361
|
-
generatePdf:
|
|
362
|
-
generateCsv:
|
|
363
|
-
generateImage:
|
|
364
|
-
toggleTable:
|
|
365
|
-
toggleTooltip:
|
|
360
|
+
return qe({
|
|
361
|
+
getData: Ze,
|
|
362
|
+
generatePdf: Be,
|
|
363
|
+
generateCsv: De,
|
|
364
|
+
generateImage: Ne,
|
|
365
|
+
toggleTable: Ye,
|
|
366
|
+
toggleTooltip: Ve,
|
|
366
367
|
toggleAnnotator: ve
|
|
367
|
-
}), (l,
|
|
368
|
-
class:
|
|
368
|
+
}), (l, u) => (o(), r("div", {
|
|
369
|
+
class: je(`vue-ui-scatter ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
369
370
|
ref_key: "scatterChart",
|
|
370
371
|
ref: H,
|
|
371
372
|
id: `vue-ui-scatter_${z.value}`,
|
|
372
|
-
style:
|
|
373
|
+
style: Y(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`),
|
|
374
|
+
onMouseenter: u[2] || (u[2] = () => n(Ce)(!0)),
|
|
375
|
+
onMouseleave: u[3] || (u[3] = () => n(Ce)(!1))
|
|
373
376
|
}, [
|
|
374
|
-
e.value.userOptions.buttons.annotator ? (o(),
|
|
377
|
+
e.value.userOptions.buttons.annotator ? (o(), V(Ot, {
|
|
375
378
|
key: 0,
|
|
376
379
|
parent: H.value,
|
|
377
380
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -379,20 +382,20 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
379
382
|
active: oe.value,
|
|
380
383
|
onClose: ve
|
|
381
384
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
382
|
-
|
|
385
|
+
Ke.value ? (o(), r("div", {
|
|
383
386
|
key: 1,
|
|
384
387
|
ref_key: "noTitle",
|
|
385
388
|
ref: ke,
|
|
386
389
|
class: "vue-data-ui-no-title-space",
|
|
387
390
|
style: "height:36px; width: 100%;background:transparent"
|
|
388
391
|
}, null, 512)) : c("", !0),
|
|
389
|
-
e.value.style.title.text ? (o(),
|
|
392
|
+
e.value.style.title.text ? (o(), r("div", {
|
|
390
393
|
key: 2,
|
|
391
394
|
ref_key: "chartTitle",
|
|
392
395
|
ref: xe,
|
|
393
396
|
style: "width:100%;background:transparent"
|
|
394
397
|
}, [
|
|
395
|
-
(o(),
|
|
398
|
+
(o(), V($t, {
|
|
396
399
|
key: `title_${_e.value}`,
|
|
397
400
|
config: {
|
|
398
401
|
title: {
|
|
@@ -406,14 +409,14 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
406
409
|
}
|
|
407
410
|
}, null, 8, ["config"]))
|
|
408
411
|
], 512)) : c("", !0),
|
|
409
|
-
e.value.userOptions.show && ee.value ? (o(),
|
|
412
|
+
e.value.userOptions.show && ee.value && (n(ze) || n($e)) ? (o(), V(zt, {
|
|
410
413
|
ref_key: "details",
|
|
411
|
-
ref:
|
|
414
|
+
ref: Je,
|
|
412
415
|
key: `user_options_${ge.value}`,
|
|
413
416
|
backgroundColor: e.value.style.backgroundColor,
|
|
414
417
|
color: e.value.style.color,
|
|
415
|
-
isImaging:
|
|
416
|
-
isPrinting:
|
|
418
|
+
isImaging: n(Te),
|
|
419
|
+
isPrinting: n(Le),
|
|
417
420
|
uid: z.value,
|
|
418
421
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
419
422
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -428,14 +431,17 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
428
431
|
position: e.value.userOptions.position,
|
|
429
432
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
430
433
|
isAnnotation: oe.value,
|
|
431
|
-
onToggleFullscreen:
|
|
432
|
-
onGeneratePdf:
|
|
433
|
-
onGenerateCsv:
|
|
434
|
-
onGenerateImage:
|
|
435
|
-
onToggleTable:
|
|
436
|
-
onToggleTooltip:
|
|
437
|
-
onToggleAnnotator: ve
|
|
438
|
-
|
|
434
|
+
onToggleFullscreen: tt,
|
|
435
|
+
onGeneratePdf: n(Be),
|
|
436
|
+
onGenerateCsv: De,
|
|
437
|
+
onGenerateImage: n(Ne),
|
|
438
|
+
onToggleTable: Ye,
|
|
439
|
+
onToggleTooltip: Ve,
|
|
440
|
+
onToggleAnnotator: ve,
|
|
441
|
+
style: Y({
|
|
442
|
+
visibility: n(ze) ? n($e) ? "visible" : "hidden" : "visible"
|
|
443
|
+
})
|
|
444
|
+
}, st({ _: 2 }, [
|
|
439
445
|
l.$slots.optionTooltip ? {
|
|
440
446
|
name: "optionTooltip",
|
|
441
447
|
fn: _(() => [
|
|
@@ -485,77 +491,77 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
485
491
|
]),
|
|
486
492
|
key: "6"
|
|
487
493
|
} : void 0
|
|
488
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
|
|
489
|
-
ee.value ? (o(),
|
|
494
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
495
|
+
ee.value ? (o(), r("svg", {
|
|
490
496
|
key: 4,
|
|
491
|
-
xmlns:
|
|
492
|
-
class:
|
|
497
|
+
xmlns: n(gt),
|
|
498
|
+
class: je({ "vue-data-ui-fullscreen--on": J.value, "vue-data-ui-fulscreen--off": !J.value }),
|
|
493
499
|
viewBox: `0 0 ${A.value.width <= 0 ? 10 : A.value.width} ${A.value.height <= 0 ? 10 : A.value.height}`,
|
|
494
|
-
style:
|
|
500
|
+
style: Y(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
495
501
|
}, [
|
|
496
|
-
|
|
497
|
-
e.value.style.layout.axis.show ? (o(),
|
|
502
|
+
pe(Nt),
|
|
503
|
+
e.value.style.layout.axis.show ? (o(), r("g", It, [
|
|
498
504
|
d("line", {
|
|
499
505
|
x1: f.value.x,
|
|
500
506
|
x2: f.value.x,
|
|
501
|
-
y1:
|
|
502
|
-
y2:
|
|
507
|
+
y1: i.value.top,
|
|
508
|
+
y2: i.value.bottom,
|
|
503
509
|
stroke: e.value.style.layout.axis.stroke,
|
|
504
510
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
505
511
|
"stroke-linecap": "round"
|
|
506
|
-
}, null, 8,
|
|
512
|
+
}, null, 8, Dt),
|
|
507
513
|
d("line", {
|
|
508
|
-
x1:
|
|
509
|
-
x2:
|
|
514
|
+
x1: i.value.left,
|
|
515
|
+
x2: i.value.right,
|
|
510
516
|
y1: f.value.y,
|
|
511
517
|
y2: f.value.y,
|
|
512
518
|
stroke: e.value.style.layout.axis.stroke,
|
|
513
519
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
514
520
|
"stroke-linecap": "round"
|
|
515
|
-
}, null, 8,
|
|
521
|
+
}, null, 8, Yt)
|
|
516
522
|
])) : c("", !0),
|
|
517
|
-
e.value.style.layout.plots.giftWrap.show ? (o(),
|
|
518
|
-
(o(!0),
|
|
519
|
-
t.plots.length > 2 ? (o(),
|
|
523
|
+
e.value.style.layout.plots.giftWrap.show ? (o(), r("g", Vt, [
|
|
524
|
+
(o(!0), r(O, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
525
|
+
t.plots.length > 2 ? (o(), r("polygon", {
|
|
520
526
|
key: 0,
|
|
521
|
-
points:
|
|
522
|
-
fill:
|
|
527
|
+
points: n(xt)({ series: t.plots }),
|
|
528
|
+
fill: n(fe)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
523
529
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
524
530
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
525
531
|
stroke: t.color,
|
|
526
532
|
"stroke-linejoin": "round",
|
|
527
533
|
"stroke-linecap": "round"
|
|
528
|
-
}, null, 8,
|
|
534
|
+
}, null, 8, jt)) : c("", !0)
|
|
529
535
|
]))), 256))
|
|
530
536
|
])) : c("", !0),
|
|
531
|
-
(o(!0),
|
|
532
|
-
!t.shape || t.shape === "circle" ? (o(),
|
|
533
|
-
(o(!0),
|
|
537
|
+
(o(!0), r(O, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
538
|
+
!t.shape || t.shape === "circle" ? (o(), r("g", Ut, [
|
|
539
|
+
(o(!0), r(O, null, X(t.plots, (a, v) => (o(), r("circle", {
|
|
534
540
|
cx: a.x,
|
|
535
541
|
cy: a.y,
|
|
536
542
|
r: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
537
|
-
fill:
|
|
543
|
+
fill: n(fe)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
538
544
|
stroke: e.value.style.layout.plots.stroke,
|
|
539
545
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
540
|
-
onMouseover: (b) =>
|
|
541
|
-
onMouseleave:
|
|
542
|
-
style:
|
|
543
|
-
}, null, 44,
|
|
544
|
-
])) : (o(),
|
|
545
|
-
(o(!0),
|
|
546
|
+
onMouseover: (b) => Fe(a, s),
|
|
547
|
+
onMouseleave: Xe,
|
|
548
|
+
style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Pe.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
|
|
549
|
+
}, null, 44, Et))), 256))
|
|
550
|
+
])) : (o(), r("g", Gt, [
|
|
551
|
+
(o(!0), r(O, null, X(t.plots, (a, v) => (o(), V(Ee, {
|
|
546
552
|
plot: { x: a.x, y: a.y },
|
|
547
553
|
radius: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
548
554
|
shape: t.shape,
|
|
549
|
-
color:
|
|
555
|
+
color: n(fe)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
550
556
|
stroke: e.value.style.layout.plots.stroke,
|
|
551
557
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
552
|
-
onMouseover: (b) =>
|
|
553
|
-
onMouseleave:
|
|
554
|
-
style:
|
|
558
|
+
onMouseover: (b) => Fe(a, s),
|
|
559
|
+
onMouseleave: Xe,
|
|
560
|
+
style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Pe.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
|
|
555
561
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
|
|
556
562
|
]))
|
|
557
563
|
]))), 256)),
|
|
558
|
-
e.value.style.layout.marginalBars.show ? (o(),
|
|
564
|
+
e.value.style.layout.marginalBars.show ? (o(), r("g", Rt, [
|
|
559
565
|
d("defs", null, [
|
|
560
566
|
d("linearGradient", {
|
|
561
567
|
id: `marginal_x_${z.value}`,
|
|
@@ -567,12 +573,12 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
567
573
|
d("stop", {
|
|
568
574
|
offset: "0%",
|
|
569
575
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
570
|
-
}, null, 8,
|
|
576
|
+
}, null, 8, Ht),
|
|
571
577
|
d("stop", {
|
|
572
578
|
offset: "100%",
|
|
573
579
|
"stop-color": e.value.style.backgroundColor
|
|
574
|
-
}, null, 8,
|
|
575
|
-
], 8,
|
|
580
|
+
}, null, 8, Jt)
|
|
581
|
+
], 8, qt),
|
|
576
582
|
d("linearGradient", {
|
|
577
583
|
id: `marginal_y_${z.value}`,
|
|
578
584
|
x1: "0%",
|
|
@@ -583,44 +589,44 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
583
589
|
d("stop", {
|
|
584
590
|
offset: "0%",
|
|
585
591
|
"stop-color": e.value.style.backgroundColor
|
|
586
|
-
}, null, 8,
|
|
592
|
+
}, null, 8, Qt),
|
|
587
593
|
d("stop", {
|
|
588
594
|
offset: "100%",
|
|
589
595
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
590
|
-
}, null, 8,
|
|
591
|
-
], 8,
|
|
596
|
+
}, null, 8, Zt)
|
|
597
|
+
], 8, Kt)
|
|
592
598
|
]),
|
|
593
|
-
(o(!0),
|
|
594
|
-
t && L.value.avgX[s] ? (o(),
|
|
599
|
+
(o(!0), r(O, null, X(L.value.x, (t, s) => (o(), r("g", null, [
|
|
600
|
+
t && L.value.avgX[s] ? (o(), r("rect", {
|
|
595
601
|
key: 0,
|
|
596
|
-
x: L.value.avgX[s] -
|
|
597
|
-
y:
|
|
598
|
-
width:
|
|
602
|
+
x: L.value.avgX[s] - i.value.width / D.value / 2,
|
|
603
|
+
y: i.value.top - e.value.style.layout.marginalBars.offset - t / L.value.maxX * e.value.style.layout.marginalBars.size,
|
|
604
|
+
width: i.value.width / D.value <= 0 ? 1e-4 : i.value.width / D.value,
|
|
599
605
|
height: t / L.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / L.value.maxX * e.value.style.layout.marginalBars.size,
|
|
600
606
|
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${z.value})` : e.value.style.layout.marginalBars.fill,
|
|
601
|
-
style:
|
|
607
|
+
style: Y(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
602
608
|
stroke: e.value.style.backgroundColor,
|
|
603
609
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
604
610
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
605
|
-
}, null, 12,
|
|
611
|
+
}, null, 12, el)) : c("", !0)
|
|
606
612
|
]))), 256)),
|
|
607
|
-
(o(!0),
|
|
608
|
-
t && L.value.avgY[s] ? (o(),
|
|
613
|
+
(o(!0), r(O, null, X(L.value.y, (t, s) => (o(), r("g", null, [
|
|
614
|
+
t && L.value.avgY[s] ? (o(), r("rect", {
|
|
609
615
|
key: 0,
|
|
610
|
-
x:
|
|
611
|
-
y: L.value.avgY[s] -
|
|
612
|
-
height:
|
|
616
|
+
x: i.value.right + e.value.style.layout.marginalBars.offset,
|
|
617
|
+
y: L.value.avgY[s] - i.value.height / D.value / 2,
|
|
618
|
+
height: i.value.height / D.value <= 0 ? 1e-4 : i.value.height / D.value,
|
|
613
619
|
width: t / L.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / L.value.maxY * e.value.style.layout.marginalBars.size,
|
|
614
620
|
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${z.value})` : e.value.style.layout.marginalBars.fill,
|
|
615
|
-
style:
|
|
621
|
+
style: Y(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
616
622
|
stroke: e.value.style.backgroundColor,
|
|
617
623
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
618
624
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
619
|
-
}, null, 12,
|
|
625
|
+
}, null, 12, tl)) : c("", !0)
|
|
620
626
|
]))), 256)),
|
|
621
|
-
e.value.style.layout.marginalBars.showLines ? (o(),
|
|
622
|
-
(o(!0),
|
|
623
|
-
x.value.includes(t.id) ? c("", !0) : (o(),
|
|
627
|
+
e.value.style.layout.marginalBars.showLines ? (o(), r("g", ll, [
|
|
628
|
+
(o(!0), r(O, null, X(et.value, (t) => (o(), r(O, null, [
|
|
629
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
624
630
|
key: 0,
|
|
625
631
|
d: `M ${t.dX}`,
|
|
626
632
|
stroke: e.value.style.backgroundColor,
|
|
@@ -628,8 +634,8 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
628
634
|
"stroke-linecap": "round",
|
|
629
635
|
"stroke-linejoin": "round",
|
|
630
636
|
fill: "none"
|
|
631
|
-
}, null, 8,
|
|
632
|
-
x.value.includes(t.id) ? c("", !0) : (o(),
|
|
637
|
+
}, null, 8, al)),
|
|
638
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
633
639
|
key: 1,
|
|
634
640
|
d: `M ${t.dX}`,
|
|
635
641
|
stroke: t.color,
|
|
@@ -637,8 +643,8 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
637
643
|
"stroke-linecap": "round",
|
|
638
644
|
"stroke-linejoin": "round",
|
|
639
645
|
fill: "none"
|
|
640
|
-
}, null, 8,
|
|
641
|
-
x.value.includes(t.id) ? c("", !0) : (o(),
|
|
646
|
+
}, null, 8, ol)),
|
|
647
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
642
648
|
key: 2,
|
|
643
649
|
d: `M ${t.dY}`,
|
|
644
650
|
stroke: e.value.style.backgroundColor,
|
|
@@ -646,8 +652,8 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
646
652
|
"stroke-linecap": "round",
|
|
647
653
|
"stroke-linejoin": "round",
|
|
648
654
|
fill: "none"
|
|
649
|
-
}, null, 8,
|
|
650
|
-
x.value.includes(t.id) ? c("", !0) : (o(),
|
|
655
|
+
}, null, 8, sl)),
|
|
656
|
+
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
651
657
|
key: 3,
|
|
652
658
|
d: `M ${t.dY}`,
|
|
653
659
|
stroke: t.color,
|
|
@@ -655,11 +661,11 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
655
661
|
"stroke-linecap": "round",
|
|
656
662
|
"stroke-linejoin": "round",
|
|
657
663
|
fill: "none"
|
|
658
|
-
}, null, 8,
|
|
664
|
+
}, null, 8, ul))
|
|
659
665
|
], 64))), 256))
|
|
660
666
|
])) : c("", !0)
|
|
661
667
|
])) : c("", !0),
|
|
662
|
-
y.value && e.value.style.layout.plots.selectors.show ? (o(),
|
|
668
|
+
y.value && e.value.style.layout.plots.selectors.show ? (o(), r("g", rl, [
|
|
663
669
|
d("line", {
|
|
664
670
|
x1: f.value.x,
|
|
665
671
|
x2: y.value.x,
|
|
@@ -670,7 +676,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
670
676
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
671
677
|
"stroke-linecap": "round",
|
|
672
678
|
class: "line-pointer"
|
|
673
|
-
}, null, 8,
|
|
679
|
+
}, null, 8, il),
|
|
674
680
|
d("line", {
|
|
675
681
|
x1: y.value.x,
|
|
676
682
|
x2: y.value.x,
|
|
@@ -681,7 +687,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
681
687
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
682
688
|
"stroke-linecap": "round",
|
|
683
689
|
class: "line-pointer"
|
|
684
|
-
}, null, 8,
|
|
690
|
+
}, null, 8, nl),
|
|
685
691
|
d("text", {
|
|
686
692
|
x: f.value.x + (y.value.x > f.value.x ? -6 : 6),
|
|
687
693
|
y: y.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
@@ -689,17 +695,17 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
689
695
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
690
696
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
691
697
|
"text-anchor": y.value.x > f.value.x ? "end" : "start"
|
|
692
|
-
}, $(
|
|
698
|
+
}, $(n(j)(
|
|
693
699
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
694
|
-
|
|
695
|
-
|
|
700
|
+
n(C)(y.value.v.y),
|
|
701
|
+
n(P)({
|
|
696
702
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
697
|
-
v:
|
|
703
|
+
v: n(C)(y.value.v.y),
|
|
698
704
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
699
705
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
700
706
|
}),
|
|
701
707
|
{ datapoint: y.value }
|
|
702
|
-
)), 9,
|
|
708
|
+
)), 9, vl),
|
|
703
709
|
d("text", {
|
|
704
710
|
x: y.value.x,
|
|
705
711
|
y: f.value.y + (y.value.y > f.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
@@ -707,17 +713,17 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
707
713
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
708
714
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
709
715
|
"text-anchor": "middle"
|
|
710
|
-
}, $(
|
|
716
|
+
}, $(n(j)(
|
|
711
717
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
712
|
-
|
|
713
|
-
|
|
718
|
+
n(C)(y.value.v.x),
|
|
719
|
+
n(P)({
|
|
714
720
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
715
|
-
v:
|
|
721
|
+
v: n(C)(y.value.v.x),
|
|
716
722
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
717
723
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
718
724
|
}),
|
|
719
725
|
{ datapoint: y.value }
|
|
720
|
-
)), 9,
|
|
726
|
+
)), 9, yl),
|
|
721
727
|
d("circle", {
|
|
722
728
|
cx: f.value.x,
|
|
723
729
|
cy: y.value.y,
|
|
@@ -726,7 +732,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
726
732
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
727
733
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
728
734
|
class: "line-pointer"
|
|
729
|
-
}, null, 8,
|
|
735
|
+
}, null, 8, cl),
|
|
730
736
|
d("circle", {
|
|
731
737
|
cx: y.value.x,
|
|
732
738
|
cy: f.value.y,
|
|
@@ -735,113 +741,113 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
735
741
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
736
742
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
737
743
|
class: "line-pointer"
|
|
738
|
-
}, null, 8,
|
|
739
|
-
e.value.style.layout.plots.selectors.labels.showName ? (o(),
|
|
744
|
+
}, null, 8, dl),
|
|
745
|
+
e.value.style.layout.plots.selectors.labels.showName ? (o(), r("text", {
|
|
740
746
|
key: 0,
|
|
741
747
|
x: y.value.x,
|
|
742
748
|
y: y.value.y + (y.value.y < f.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
|
|
743
749
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
744
750
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
745
751
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
746
|
-
"text-anchor": y.value.x <
|
|
747
|
-
}, $(y.value.v.name), 9,
|
|
752
|
+
"text-anchor": y.value.x < i.value.left + 100 ? "start" : y.value.x > i.value.right - 100 ? "end" : y.value.x > f.value.x ? "start" : "end"
|
|
753
|
+
}, $(y.value.v.name), 9, pl)) : c("", !0)
|
|
748
754
|
])) : c("", !0),
|
|
749
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(),
|
|
755
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g", hl, [
|
|
750
756
|
d("text", {
|
|
751
|
-
x:
|
|
757
|
+
x: i.value.left - 5,
|
|
752
758
|
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
753
759
|
"text-anchor": "end",
|
|
754
760
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
755
761
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
756
|
-
}, $(
|
|
762
|
+
}, $(n(j)(
|
|
757
763
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
758
|
-
|
|
759
|
-
|
|
764
|
+
n(C)(h.value.xMin),
|
|
765
|
+
n(P)({
|
|
760
766
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
761
|
-
v:
|
|
767
|
+
v: n(C)(h.value.xMin),
|
|
762
768
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
763
769
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
764
770
|
})
|
|
765
|
-
)), 9,
|
|
771
|
+
)), 9, fl),
|
|
766
772
|
d("text", {
|
|
767
|
-
x:
|
|
773
|
+
x: i.value.right + 3,
|
|
768
774
|
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
769
775
|
"text-anchor": "start",
|
|
770
776
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
771
777
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
772
|
-
}, $(
|
|
778
|
+
}, $(n(j)(
|
|
773
779
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
774
|
-
|
|
775
|
-
|
|
780
|
+
n(C)(h.value.xMax),
|
|
781
|
+
n(P)({
|
|
776
782
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
777
|
-
v:
|
|
783
|
+
v: n(C)(h.value.xMax),
|
|
778
784
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
779
785
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
780
786
|
})
|
|
781
|
-
)), 9,
|
|
787
|
+
)), 9, gl),
|
|
782
788
|
d("text", {
|
|
783
789
|
id: `vue-ui-scatter-xAxis-label-${z.value}`,
|
|
784
|
-
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${
|
|
790
|
+
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${i.value.top + i.value.height / 2}), rotate(-90)`,
|
|
785
791
|
"text-anchor": "middle",
|
|
786
792
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
787
793
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
788
794
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
789
|
-
}, $(e.value.style.layout.dataLabels.xAxis.name), 9,
|
|
795
|
+
}, $(e.value.style.layout.dataLabels.xAxis.name), 9, xl)
|
|
790
796
|
])) : c("", !0),
|
|
791
|
-
e.value.style.layout.dataLabels.yAxis.show ? (o(),
|
|
797
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g", ml, [
|
|
792
798
|
d("text", {
|
|
793
799
|
x: f.value.x,
|
|
794
|
-
y:
|
|
800
|
+
y: i.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
|
|
795
801
|
"text-anchor": "middle",
|
|
796
802
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
797
803
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
798
|
-
}, $(
|
|
804
|
+
}, $(n(j)(
|
|
799
805
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
800
|
-
|
|
801
|
-
|
|
806
|
+
n(C)(h.value.yMin),
|
|
807
|
+
n(P)({
|
|
802
808
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
803
|
-
v:
|
|
809
|
+
v: n(C)(h.value.yMin),
|
|
804
810
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
805
811
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
806
812
|
})
|
|
807
|
-
)), 9,
|
|
813
|
+
)), 9, bl),
|
|
808
814
|
d("text", {
|
|
809
815
|
x: f.value.x,
|
|
810
|
-
y:
|
|
816
|
+
y: i.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
|
|
811
817
|
"text-anchor": "middle",
|
|
812
818
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
813
819
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
814
|
-
}, $(
|
|
820
|
+
}, $(n(j)(
|
|
815
821
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
816
|
-
|
|
817
|
-
|
|
822
|
+
n(C)(h.value.yMax),
|
|
823
|
+
n(P)({
|
|
818
824
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
819
|
-
v:
|
|
825
|
+
v: n(C)(h.value.yMax),
|
|
820
826
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
821
827
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
822
828
|
})
|
|
823
|
-
)), 9,
|
|
829
|
+
)), 9, kl),
|
|
824
830
|
d("text", {
|
|
825
831
|
"text-anchor": "middle",
|
|
826
832
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
827
833
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
|
|
828
834
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
829
|
-
x:
|
|
830
|
-
y:
|
|
831
|
-
}, $(e.value.style.layout.dataLabels.yAxis.name), 9,
|
|
835
|
+
x: i.value.left + i.value.width / 2,
|
|
836
|
+
y: i.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
|
|
837
|
+
}, $(e.value.style.layout.dataLabels.yAxis.name), 9, _l)
|
|
832
838
|
])) : c("", !0),
|
|
833
839
|
d("clipPath", {
|
|
834
840
|
id: `clip_path_${z.value}`
|
|
835
841
|
}, [
|
|
836
842
|
d("rect", {
|
|
837
|
-
x:
|
|
838
|
-
y:
|
|
839
|
-
width:
|
|
840
|
-
height:
|
|
841
|
-
}, null, 8,
|
|
842
|
-
], 8,
|
|
843
|
-
e.value.style.layout.correlation.show ? (o(),
|
|
844
|
-
(o(!0),
|
|
843
|
+
x: i.value.left,
|
|
844
|
+
y: i.value.top,
|
|
845
|
+
width: i.value.width <= 0 ? 1e-4 : i.value.width,
|
|
846
|
+
height: i.value.height <= 0 ? 1e-4 : i.value.height
|
|
847
|
+
}, null, 8, Ml)
|
|
848
|
+
], 8, wl),
|
|
849
|
+
e.value.style.layout.correlation.show ? (o(), r("g", $l, [
|
|
850
|
+
(o(!0), r(O, null, X(S.value, (t, s) => (o(), r("line", {
|
|
845
851
|
x1: t.correlation.x1,
|
|
846
852
|
x2: t.correlation.x2,
|
|
847
853
|
y1: t.correlation.y1,
|
|
@@ -850,27 +856,27 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
850
856
|
stroke: t.color,
|
|
851
857
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
852
858
|
"clip-path": `url(#clip_path_${z.value})`
|
|
853
|
-
}, null, 8,
|
|
854
|
-
(o(!0),
|
|
855
|
-
e.value.style.layout.correlation.label.show ? (o(),
|
|
859
|
+
}, null, 8, Cl))), 256)),
|
|
860
|
+
(o(!0), r(O, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
861
|
+
e.value.style.layout.correlation.label.show ? (o(), r("text", {
|
|
856
862
|
key: 0,
|
|
857
863
|
x: t.label.x,
|
|
858
864
|
y: t.label.y,
|
|
859
865
|
fill: e.value.style.layout.correlation.label.useSerieColor ? t.color : e.value.style.layout.correlation.label.color,
|
|
860
866
|
"font-size": e.value.style.layout.correlation.label.fontSize,
|
|
861
867
|
"font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
862
|
-
}, $(
|
|
863
|
-
v:
|
|
868
|
+
}, $(n(P)({
|
|
869
|
+
v: n(C)(t.correlation.coefficient),
|
|
864
870
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
865
|
-
})), 9,
|
|
871
|
+
})), 9, zl)) : c("", !0)
|
|
866
872
|
]))), 256))
|
|
867
873
|
])) : c("", !0),
|
|
868
874
|
M(l.$slots, "svg", { svg: A.value }, void 0, !0)
|
|
869
|
-
], 14,
|
|
870
|
-
l.$slots.watermark ? (o(),
|
|
871
|
-
M(l.$slots, "watermark", Q(Z({ isPrinting:
|
|
875
|
+
], 14, Xt)) : c("", !0),
|
|
876
|
+
l.$slots.watermark ? (o(), r("div", Al, [
|
|
877
|
+
M(l.$slots, "watermark", Q(Z({ isPrinting: n(Le) || n(Te) })), void 0, !0)
|
|
872
878
|
])) : c("", !0),
|
|
873
|
-
ee.value ? c("", !0) : (o(),
|
|
879
|
+
ee.value ? c("", !0) : (o(), V(Tt, {
|
|
874
880
|
key: 6,
|
|
875
881
|
config: {
|
|
876
882
|
type: "quadrant",
|
|
@@ -892,25 +898,25 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
892
898
|
ref_key: "chartLegend",
|
|
893
899
|
ref: me
|
|
894
900
|
}, [
|
|
895
|
-
e.value.style.legend.show ? (o(),
|
|
901
|
+
e.value.style.legend.show ? (o(), V(St, {
|
|
896
902
|
key: `legend_${Me.value}`,
|
|
897
|
-
legendSet:
|
|
898
|
-
config:
|
|
899
|
-
onClickMarker:
|
|
903
|
+
legendSet: U.value,
|
|
904
|
+
config: Qe.value,
|
|
905
|
+
onClickMarker: u[0] || (u[0] = ({ legend: t }) => Ie(t.id))
|
|
900
906
|
}, {
|
|
901
907
|
item: _(({ legend: t }) => [
|
|
902
908
|
d("div", {
|
|
903
909
|
onClick: (s) => t.segregate(),
|
|
904
|
-
style:
|
|
905
|
-
}, $(t.name), 13,
|
|
910
|
+
style: Y(`opacity:${x.value.includes(t.id) ? 0.5 : 1}`)
|
|
911
|
+
}, $(t.name), 13, Sl)
|
|
906
912
|
]),
|
|
907
913
|
_: 1
|
|
908
914
|
}, 8, ["legendSet", "config"])) : M(l.$slots, "legend", {
|
|
909
915
|
key: 1,
|
|
910
|
-
legend:
|
|
916
|
+
legend: U.value
|
|
911
917
|
}, void 0, !0)
|
|
912
918
|
], 512),
|
|
913
|
-
l.$slots.source ? (o(),
|
|
919
|
+
l.$slots.source ? (o(), r("div", {
|
|
914
920
|
key: 7,
|
|
915
921
|
ref_key: "source",
|
|
916
922
|
ref: be,
|
|
@@ -918,7 +924,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
918
924
|
}, [
|
|
919
925
|
M(l.$slots, "source", {}, void 0, !0)
|
|
920
926
|
], 512)) : c("", !0),
|
|
921
|
-
|
|
927
|
+
pe(At, {
|
|
922
928
|
show: I.value.showTooltip && ue.value,
|
|
923
929
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
924
930
|
color: e.value.style.tooltip.color,
|
|
@@ -941,9 +947,9 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
941
947
|
M(l.$slots, "tooltip-after", Q(Z({ ...ne.value })), void 0, !0)
|
|
942
948
|
]),
|
|
943
949
|
default: _(() => [
|
|
944
|
-
e.value.style.tooltip.showShape ? (o(),
|
|
945
|
-
(o(),
|
|
946
|
-
|
|
950
|
+
e.value.style.tooltip.showShape ? (o(), r("div", Ll, [
|
|
951
|
+
(o(), r("svg", Tl, [
|
|
952
|
+
pe(Ee, {
|
|
947
953
|
shape: y.value.shape,
|
|
948
954
|
color: y.value.color,
|
|
949
955
|
plot: { x: 10, y: 10 },
|
|
@@ -954,7 +960,7 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
954
960
|
]),
|
|
955
961
|
_: 3
|
|
956
962
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
957
|
-
ee.value ? (o(),
|
|
963
|
+
ee.value ? (o(), V(Bt, {
|
|
958
964
|
key: 8,
|
|
959
965
|
hideDetails: "",
|
|
960
966
|
config: {
|
|
@@ -971,34 +977,34 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
971
977
|
}
|
|
972
978
|
}, {
|
|
973
979
|
content: _(() => [
|
|
974
|
-
(o(),
|
|
980
|
+
(o(), V(Lt, {
|
|
975
981
|
key: `table_${we.value}`,
|
|
976
982
|
colNames: ae.value.colNames,
|
|
977
983
|
head: ae.value.head,
|
|
978
984
|
body: ae.value.body,
|
|
979
985
|
config: ae.value.config,
|
|
980
986
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
981
|
-
onClose:
|
|
987
|
+
onClose: u[1] || (u[1] = (t) => I.value.showTable = !1)
|
|
982
988
|
}, {
|
|
983
989
|
th: _(({ th: t }) => [
|
|
984
|
-
|
|
990
|
+
ut($(t), 1)
|
|
985
991
|
]),
|
|
986
992
|
td: _(({ td: t }) => [
|
|
987
|
-
t.shape ? (o(),
|
|
993
|
+
t.shape ? (o(), r("div", Bl, [
|
|
988
994
|
d("span", null, $(t.content), 1)
|
|
989
|
-
])) : (o(),
|
|
995
|
+
])) : (o(), r("div", {
|
|
990
996
|
key: 1,
|
|
991
997
|
innerHTML: t
|
|
992
|
-
}, null, 8,
|
|
998
|
+
}, null, 8, Nl))
|
|
993
999
|
]),
|
|
994
1000
|
_: 1
|
|
995
1001
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
996
1002
|
]),
|
|
997
1003
|
_: 1
|
|
998
1004
|
}, 8, ["config"])) : c("", !0)
|
|
999
|
-
],
|
|
1005
|
+
], 46, Ft));
|
|
1000
1006
|
}
|
|
1001
|
-
},
|
|
1007
|
+
}, Kl = /* @__PURE__ */ Wt(Ol, [["__scopeId", "data-v-96686c8a"]]);
|
|
1002
1008
|
export {
|
|
1003
|
-
|
|
1009
|
+
Kl as default
|
|
1004
1010
|
};
|