vue-data-ui 2.4.50 → 2.4.52
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-D1z9KkQN.js → Arrow-BuBoE64l.js} +1 -1
- package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-CFlFdPC5.cjs} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-zmxwsaLW.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-COkA4Nyz.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-CwAdpLng.cjs} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-CR9ydX8N.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-bYlSC7I7.js} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-Dz3KcTL4.js} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-BycdTwSP.js} +3 -3
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-BBp5EwJH.cjs} +1 -1
- package/dist/{Shape-B7Mekpyf.js → Shape-BDJJ38uM.js} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-D_DaIThC.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-B7ruS8yl.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aMb2ETf7.js} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-BRZ3DT4p.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-BqSN71SL.cjs} +1 -1
- package/dist/index-BkXYJDpD.cjs +9 -0
- package/dist/{index-BtL_cLa8.js → index-K5uyh1gA.js} +5 -1
- 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-D_feh7A_.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
- package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-DifqJZAs.js} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-DHv-BwME.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.js → usePrinter-p_ZZlGc9.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-3PlAeIlX.js} +60 -60
- package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-PrijRaoI.js} +355 -349
- package/dist/vue-ui-3d-bar-VQyMytda.cjs +19 -0
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-DFYykOow.js} +260 -254
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
- package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-Ybz4qPWl.js} +147 -141
- package/dist/vue-ui-candlestick-BxcwK8UI.cjs +2 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-DsVBdCz_.js} +231 -225
- package/dist/vue-ui-carousel-table-C2ThrWYt.js +379 -0
- package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
- package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-BacH0ZYK.js} +258 -252
- package/dist/vue-ui-chestnut-Cw8LKuZG.cjs +6 -0
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-CyTjq_oN.js} +2 -2
- package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-BxLlCBhU.js} +402 -396
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +320 -314
- package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
- package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-D0PjpD19.js} +267 -261
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-BuTJcn6b.js} +174 -168
- package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-CxO1aav3.js} +190 -184
- package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
- package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-B2uwYVgz.js} +199 -193
- package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
- package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
- package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-CqhJx__t.js} +213 -207
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
- package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-DLNzJh--.js} +291 -285
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-CH2mN74k.js} +258 -252
- package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-BAwzIU19.js} +300 -295
- package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
- package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-BXOWHB57.js} +202 -196
- package/dist/vue-ui-nested-donuts-D1EF5IEw.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-F1pwFa1Y.js} +298 -292
- package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-C9dEaRbc.js} +214 -208
- package/dist/vue-ui-onion-nA8sXxh-.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +260 -254
- package/dist/vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs +8 -0
- package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-C_hJHr9T.js} +278 -272
- package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
- package/dist/vue-ui-quick-chart-C5v_8Kpw.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-D4k-zSan.js} +474 -466
- package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-WKQ-TavD.js} +265 -259
- package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-BrSnMkzF.js} +2 -2
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
- package/dist/vue-ui-relation-circle-DzZ5H4og.js +498 -0
- package/dist/vue-ui-rings-1qwg2E0O.cjs +2 -0
- package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-43dY-4_7.js} +206 -201
- package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-q6Sfqa4W.js} +330 -324
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BeXW23yH.js} +382 -376
- package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
- package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-CG-wp65N.js} +261 -255
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-BzuWkWse.js} +1 -1
- package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
- package/dist/vue-ui-table-heatmap-obAYC2HB.js +262 -0
- package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-CW0-ubzl.js} +288 -236
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-BmgPuIr6.js} +187 -181
- package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
- package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-6eWSNYld.js} +5 -5
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
- package/dist/vue-ui-tiremarks-DeEI5TAa.js +323 -0
- package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
- package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
- package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-tlPZye6M.js} +261 -255
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-BIst1a32.js} +251 -245
- package/dist/vue-ui-vertical-bar-CCXF79YU.cjs +4 -0
- package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-iJT4g4Ht.js} +333 -327
- package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
- package/dist/vue-ui-wheel-v1_jsNWp.js +305 -0
- package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
- package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-DR8E1ArH.js} +247 -241
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-BZ3lbw6i.js} +708 -697
- package/dist/vue-ui-xy-CvFWhRR-.cjs +3 -0
- package/dist/vue-ui-xy-canvas-BVw3zOIC.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-hPcU2SBK.js} +344 -338
- package/package.json +1 -1
- package/dist/index-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-carousel-table-I1m4HMWf.js +0 -373
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
|
@@ -1,33 +1,34 @@
|
|
|
1
|
-
import { computed as m, ref as h, watch 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 h, 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 N, 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 fe, b as dt, g as Ue, T as ht, R as pt, W as ft, X as gt, U as xt, s as ge, i as j, v as C, f as P, x as mt, y as bt, q as kt, r as _t } from "./index-K5uyh1gA.js";
|
|
3
|
+
import { t as wt, u as Mt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as $t } from "./Title-aMb2ETf7.js";
|
|
5
|
+
import { u as Ct, U as zt } from "./usePrinter-p_ZZlGc9.js";
|
|
6
|
+
import { _ as At } from "./Tooltip-BRZ3DT4p.js";
|
|
7
|
+
import { L as St } from "./Legend-bYlSC7I7.js";
|
|
8
|
+
import { _ as Ee } from "./Shape-BDJJ38uM.js";
|
|
9
|
+
import { D as Lt } from "./DataTable-COkA4Nyz.js";
|
|
10
|
+
import Tt from "./vue-ui-skeleton-BhA2lIT6.js";
|
|
11
|
+
import Bt from "./vue-ui-accordion-CsJT7Az3.js";
|
|
12
|
+
import { u as Ge } from "./useNestedProp-DifqJZAs.js";
|
|
13
|
+
import { _ as Ot } from "./PackageVersion-Dz3KcTL4.js";
|
|
14
|
+
import { P as Nt } from "./PenAndPaper-BycdTwSP.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"], hl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], pl = { 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 }, Ol = ["innerHTML"], Nl = {
|
|
31
32
|
__name: "vue-ui-scatter",
|
|
32
33
|
props: {
|
|
33
34
|
config: {
|
|
@@ -43,62 +44,62 @@ 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 = h(nt()), Je = h(null), ue = h(!1), re = h(""), xe = h(0), H = h(null), me = h(null), be = h(null), ke = h(null), _e = h(null), we = h(0), Me = h(0), $e = h(0), e = m({
|
|
49
|
+
get: () => Ae(),
|
|
49
50
|
set: (l) => l
|
|
50
|
-
});
|
|
51
|
-
function
|
|
52
|
-
const l =
|
|
53
|
-
userConfig:
|
|
54
|
-
defaultConfig:
|
|
51
|
+
}), { userOptionsVisible: ie, 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(), ie.value = !e.value.showOnChartHover, Se(), we.value += 1, Me.value += 1, $e.value += 1;
|
|
66
67
|
}, { deep: !0 });
|
|
67
68
|
const te = h(null);
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
at(() => {
|
|
70
|
+
Se();
|
|
70
71
|
});
|
|
71
|
-
function
|
|
72
|
-
if (
|
|
72
|
+
function Se() {
|
|
73
|
+
if (ct(W.dataset) && fe({
|
|
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
|
-
title: e.value.style.title.text ?
|
|
80
|
-
legend: e.value.style.legend.show ?
|
|
81
|
-
source:
|
|
82
|
-
noTitle:
|
|
80
|
+
title: e.value.style.title.text ? me.value : null,
|
|
81
|
+
legend: e.value.style.legend.show ? be.value : null,
|
|
82
|
+
source: ke.value,
|
|
83
|
+
noTitle: _e.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: Oe } = 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), Ne = m(() => dt(e.value.customPalette)), I = h({
|
|
96
97
|
showTable: e.value.table.show,
|
|
97
98
|
showTooltip: e.value.style.tooltip.show
|
|
98
99
|
}), A = h({
|
|
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,
|
|
@@ -106,93 +107,93 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
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
|
})), p = m(() => {
|
|
109
|
-
|
|
110
|
-
|
|
110
|
+
W.dataset.forEach((a, v) => {
|
|
111
|
+
Ue({
|
|
111
112
|
datasetObject: a,
|
|
112
113
|
requiredAttributes: ["values"]
|
|
113
114
|
}).forEach((b) => {
|
|
114
|
-
|
|
115
|
+
fe({
|
|
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
|
+
fe({
|
|
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(p.value.xMin) / (p.value.xMax + Math.abs(p.value.xMin)) * i.value.width,
|
|
139
|
+
y: i.value.bottom - Math.abs(p.value.yMin) / (p.value.yMax + Math.abs(p.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: ht({
|
|
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 : Ne.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
|
-
})),
|
|
162
|
+
})), ne = 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(p.value.xMin)) / (p.value.xMax + Math.abs(p.value.xMin)) * i.value.width,
|
|
166
|
+
y: i.value.bottom - (t.y + Math.abs(p.value.yMin)) / (p.value.yMax + Math.abs(p.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 : Ne.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
|
-
})).filter((l) => !x.value.includes(l.id))), S = m(() =>
|
|
176
|
-
const
|
|
177
|
-
let s = 0, a = 0,
|
|
176
|
+
})).filter((l) => !x.value.includes(l.id))), S = m(() => ne.value.map((l) => {
|
|
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, O = {
|
|
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 = (
|
|
187
|
+
}, w = (O.y2 - O.y1) / (O.x2 - O.x1), T = O.y1 - w * O.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,
|
|
192
|
-
correlation:
|
|
193
|
+
correlation: O,
|
|
193
194
|
label: se,
|
|
194
195
|
plots: l.plots.map((g) => {
|
|
195
|
-
const G = (g.x + w * g.y - w * T) / (1 + Math.pow(w, 2)),
|
|
196
|
+
const G = (g.x + w * g.y - w * T) / (1 + Math.pow(w, 2)), ce = (w * g.x + Math.pow(w, 2) * g.y + T) / (1 + Math.pow(w, 2)), k = Math.sqrt(Math.pow(g.x - G, 2) + Math.pow(g.y - ce, 2));
|
|
196
197
|
return {
|
|
197
198
|
...g,
|
|
198
199
|
deviation: k,
|
|
@@ -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, O = 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
|
|
223
|
-
T[
|
|
223
|
+
const de = Math.floor((k - s) / O), he = Math.floor((R - v) / w);
|
|
224
|
+
T[de] || (T[de] = 0), F[he] || (F[he] = 0), T[de] += 1, F[he] += 1;
|
|
224
225
|
});
|
|
225
226
|
const se = [], g = [];
|
|
226
|
-
for (let k = 0; k <
|
|
227
|
-
se.push(s + (k + 0.5) *
|
|
228
|
-
const G = Math.max(...T),
|
|
229
|
-
return { x: T, y: F, avgX: se, avgY: g, maxX: G, maxY:
|
|
227
|
+
for (let k = 0; k < u; k += 1)
|
|
228
|
+
se.push(s + (k + 0.5) * O), g.push(v + (k + 0.5) * w);
|
|
229
|
+
const G = Math.max(...T), ce = Math.max(...F);
|
|
230
|
+
return { x: T, y: F, avgX: se, avgY: g, maxX: G, maxY: ce };
|
|
230
231
|
}
|
|
231
|
-
const D = m(() => e.value.style.layout.marginalBars.tranches), L = m(() =>
|
|
232
|
-
const l =
|
|
233
|
-
return
|
|
234
|
-
const s =
|
|
232
|
+
const D = m(() => e.value.style.layout.marginalBars.tranches), L = m(() => We(ne.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;
|
|
234
|
+
return ne.value.map((t) => {
|
|
235
|
+
const s = We(t, D.value);
|
|
235
236
|
return {
|
|
236
237
|
coords: s,
|
|
237
|
-
dX:
|
|
238
|
+
dX: pt(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 = h(void 0), y = h(null),
|
|
250
|
-
function
|
|
250
|
+
}), B = h(void 0), y = h(null), ve = h(null);
|
|
251
|
+
function Fe(l, u) {
|
|
251
252
|
B.value = l.id, y.value = l;
|
|
252
253
|
let t = "";
|
|
253
|
-
|
|
254
|
+
ve.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
299
|
const x = h([]);
|
|
299
|
-
function
|
|
300
|
-
x.value.includes(l) ? x.value = x.value.filter((
|
|
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,59 +342,61 @@ 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
|
+
return { head: l, body: u, config: t, colNames: l };
|
|
345
346
|
}), J = h(!1);
|
|
346
|
-
function
|
|
347
|
-
J.value = l,
|
|
347
|
+
function tt(l) {
|
|
348
|
+
J.value = l, xe.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
356
|
const oe = h(!1);
|
|
356
|
-
function
|
|
357
|
+
function ye() {
|
|
357
358
|
oe.value = !oe.value;
|
|
358
359
|
}
|
|
359
|
-
return
|
|
360
|
-
getData:
|
|
361
|
-
generatePdf:
|
|
362
|
-
generateCsv:
|
|
363
|
-
generateImage:
|
|
364
|
-
toggleTable:
|
|
365
|
-
toggleTooltip:
|
|
366
|
-
toggleAnnotator:
|
|
367
|
-
}), (l,
|
|
368
|
-
class:
|
|
360
|
+
return qe({
|
|
361
|
+
getData: Ze,
|
|
362
|
+
generatePdf: Be,
|
|
363
|
+
generateCsv: De,
|
|
364
|
+
generateImage: Oe,
|
|
365
|
+
toggleTable: Ye,
|
|
366
|
+
toggleTooltip: Ve,
|
|
367
|
+
toggleAnnotator: ye
|
|
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(Nt, {
|
|
375
378
|
key: 0,
|
|
376
379
|
parent: H.value,
|
|
377
380
|
backgroundColor: e.value.style.backgroundColor,
|
|
378
381
|
color: e.value.style.color,
|
|
379
382
|
active: oe.value,
|
|
380
|
-
onClose:
|
|
383
|
+
onClose: ye
|
|
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
|
-
ref:
|
|
388
|
+
ref: _e,
|
|
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
|
-
ref:
|
|
395
|
+
ref: me,
|
|
393
396
|
style: "width:100%;background:transparent"
|
|
394
397
|
}, [
|
|
395
|
-
(o(),
|
|
396
|
-
key: `title_${
|
|
398
|
+
(o(), V($t, {
|
|
399
|
+
key: `title_${we.value}`,
|
|
397
400
|
config: {
|
|
398
401
|
title: {
|
|
399
402
|
cy: "scatter-div-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(ie)) ? (o(), V(zt, {
|
|
410
413
|
ref_key: "details",
|
|
411
|
-
ref:
|
|
412
|
-
key: `user_options_${
|
|
414
|
+
ref: Je,
|
|
415
|
+
key: `user_options_${xe.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:
|
|
438
|
-
|
|
434
|
+
onToggleFullscreen: tt,
|
|
435
|
+
onGeneratePdf: n(Be),
|
|
436
|
+
onGenerateCsv: De,
|
|
437
|
+
onGenerateImage: n(Oe),
|
|
438
|
+
onToggleTable: Ye,
|
|
439
|
+
onToggleTooltip: Ve,
|
|
440
|
+
onToggleAnnotator: ye,
|
|
441
|
+
style: Y({
|
|
442
|
+
visibility: n(ze) ? n(ie) ? "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(Ot),
|
|
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(N, 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(ge)(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(N, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
538
|
+
!t.shape || t.shape === "circle" ? (o(), r("g", Ut, [
|
|
539
|
+
(o(!0), r(N, 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(ge)(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(N, 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(ge)(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(N, 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(N, 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(N, null, X(et.value, (t) => (o(), r(N, 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, hl)) : 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", pl, [
|
|
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)(p.value.xMin),
|
|
765
|
+
n(P)({
|
|
760
766
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
761
|
-
v:
|
|
767
|
+
v: n(C)(p.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)(p.value.xMax),
|
|
781
|
+
n(P)({
|
|
776
782
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
777
|
-
v:
|
|
783
|
+
v: n(C)(p.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)(p.value.yMin),
|
|
807
|
+
n(P)({
|
|
802
808
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
803
|
-
v:
|
|
809
|
+
v: n(C)(p.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)(p.value.yMax),
|
|
823
|
+
n(P)({
|
|
818
824
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
819
|
-
v:
|
|
825
|
+
v: n(C)(p.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(N, 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(N, 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",
|
|
@@ -890,35 +896,35 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
890
896
|
}, null, 8, ["config"])),
|
|
891
897
|
d("div", {
|
|
892
898
|
ref_key: "chartLegend",
|
|
893
|
-
ref:
|
|
899
|
+
ref: be
|
|
894
900
|
}, [
|
|
895
|
-
e.value.style.legend.show ? (o(),
|
|
896
|
-
key: `legend_${
|
|
897
|
-
legendSet:
|
|
898
|
-
config:
|
|
899
|
-
onClickMarker:
|
|
901
|
+
e.value.style.legend.show ? (o(), V(St, {
|
|
902
|
+
key: `legend_${$e.value}`,
|
|
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
|
-
ref:
|
|
922
|
+
ref: ke,
|
|
917
923
|
dir: "auto"
|
|
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,
|
|
@@ -935,15 +941,15 @@ const Nt = ["id"], Pt = ["xmlns", "viewBox"], Wt = { key: 0 }, Ot = ["x1", "x2",
|
|
|
935
941
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
936
942
|
}, {
|
|
937
943
|
"tooltip-before": _(() => [
|
|
938
|
-
M(l.$slots, "tooltip-before", Q(Z({ ...
|
|
944
|
+
M(l.$slots, "tooltip-before", Q(Z({ ...ve.value })), void 0, !0)
|
|
939
945
|
]),
|
|
940
946
|
"tooltip-after": _(() => [
|
|
941
|
-
M(l.$slots, "tooltip-after", Q(Z({ ...
|
|
947
|
+
M(l.$slots, "tooltip-after", Q(Z({ ...ve.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(),
|
|
975
|
-
key: `table_${
|
|
980
|
+
(o(), V(Lt, {
|
|
981
|
+
key: `table_${Me.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, Ol))
|
|
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(Nl, [["__scopeId", "data-v-ba4dc4e0"]]);
|
|
1002
1008
|
export {
|
|
1003
|
-
|
|
1009
|
+
Kl as default
|
|
1004
1010
|
};
|