vue-data-ui 2.4.51 → 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/dist/{Arrow-BUz63pb2.js → Arrow-BuBoE64l.js} +1 -1
- package/dist/{Arrow-2a_SwBgz.cjs → Arrow-CFlFdPC5.cjs} +1 -1
- package/dist/{BaseIcon-BASl_NFX.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
- package/dist/{BaseIcon-CmiukQBl.js → BaseIcon-zmxwsaLW.js} +1 -1
- package/dist/{DataTable-DGf6RrOJ.js → DataTable-COkA4Nyz.js} +2 -2
- package/dist/{DataTable-G3ICK-5h.cjs → DataTable-CwAdpLng.cjs} +1 -1
- package/dist/{Legend-BiuPlEMg.cjs → Legend-CR9ydX8N.cjs} +1 -1
- package/dist/{Legend-BLaZxMge.js → Legend-bYlSC7I7.js} +1 -1
- package/dist/{PackageVersion-Bj34UNnQ.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
- package/dist/{PackageVersion-CxJghxYD.js → PackageVersion-Dz3KcTL4.js} +1 -1
- package/dist/{PenAndPaper-ZdZEumki.js → PenAndPaper-BycdTwSP.js} +3 -3
- package/dist/{PenAndPaper-D9yQnc0e.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
- package/dist/{Shape-yducHWd0.cjs → Shape-BBp5EwJH.cjs} +1 -1
- package/dist/{Shape-DIKzzpFm.js → Shape-BDJJ38uM.js} +1 -1
- package/dist/{Slicer-BHS9W4MJ.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
- package/dist/{Slicer-Cxdl3cDt.js → Slicer-D_DaIThC.js} +2 -2
- package/dist/{Title-Bk_55doC.cjs → Title-B7ruS8yl.cjs} +1 -1
- package/dist/{Title-aSAft5dl.js → Title-aMb2ETf7.js} +1 -1
- package/dist/{Tooltip-smutPF--.js → Tooltip-BRZ3DT4p.js} +1 -1
- package/dist/{Tooltip-G7ENx87_.cjs → Tooltip-BqSN71SL.cjs} +1 -1
- package/dist/{index-DhDYBLBe.cjs → index-BkXYJDpD.cjs} +1 -1
- package/dist/{index-BbPeL8Gp.js → index-K5uyh1gA.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BphUExEh.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
- package/dist/{useNestedProp-BN8claGG.js → useNestedProp-DifqJZAs.js} +1 -1
- package/dist/{usePrinter-2_QjJFdH.cjs → usePrinter-DHv-BwME.cjs} +1 -1
- package/dist/{usePrinter-DaybDVqP.js → usePrinter-p_ZZlGc9.js} +1 -1
- package/dist/{vue-data-ui-Ckbp-yIf.js → vue-data-ui-3PlAeIlX.js} +60 -60
- package/dist/{vue-data-ui-C5vsHRHD.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-wDYs3sVe.js → vue-ui-3d-bar-PrijRaoI.js} +30 -30
- package/dist/{vue-ui-3d-bar-DUgumRsg.cjs → vue-ui-3d-bar-VQyMytda.cjs} +2 -2
- package/dist/{vue-ui-accordion-5d5iVpr7.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
- package/dist/{vue-ui-accordion-B7tNzRWB.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-BH1khaaq.js → vue-ui-age-pyramid-DFYykOow.js} +42 -42
- package/dist/{vue-ui-annotator-B9VKE_qz.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
- package/dist/{vue-ui-annotator-jXkB5XnD.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
- package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
- package/dist/{vue-ui-bullet-BLi9CSZw.js → vue-ui-bullet-Ybz4qPWl.js} +41 -41
- package/dist/{vue-ui-candlestick-Da4ygGXR.cjs → vue-ui-candlestick-BxcwK8UI.cjs} +2 -2
- package/dist/{vue-ui-candlestick-Bjz1uFbv.js → vue-ui-candlestick-DsVBdCz_.js} +61 -61
- package/dist/{vue-ui-carousel-table-B6zgTL-W.js → vue-ui-carousel-table-C2ThrWYt.js} +50 -50
- package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
- package/dist/{vue-ui-chestnut-D5HpkuIa.js → vue-ui-chestnut-BacH0ZYK.js} +66 -66
- package/dist/{vue-ui-chestnut-C_N7EbjQ.cjs → vue-ui-chestnut-Cw8LKuZG.cjs} +3 -3
- package/dist/{vue-ui-cursor-DZNIbvR2.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
- package/dist/{vue-ui-cursor-A_siHYBc.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DCqe4BZg.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
- package/dist/{vue-ui-dashboard-BfPJyiY9.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
- package/dist/{vue-ui-digits-BEhLa3jI.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
- package/dist/{vue-ui-digits-BEWCnojc.js → vue-ui-digits-CyTjq_oN.js} +2 -2
- package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
- package/dist/{vue-ui-donut-g5ZLhYPx.js → vue-ui-donut-BxLlCBhU.js} +57 -57
- package/dist/{vue-ui-donut-evolution-Cu6dmlT2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +66 -66
- package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
- package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
- package/dist/{vue-ui-dumbbell-bb4-Ep6o.js → vue-ui-dumbbell-D0PjpD19.js} +46 -46
- package/dist/{vue-ui-flow-hD0F6mTK.js → vue-ui-flow-BuTJcn6b.js} +43 -43
- package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
- package/dist/{vue-ui-funnel-hcbE4yky.js → vue-ui-funnel-CxO1aav3.js} +59 -59
- package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
- package/dist/{vue-ui-galaxy-ByKjxVWV.js → vue-ui-galaxy-B2uwYVgz.js} +54 -54
- package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
- package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
- package/dist/{vue-ui-gauge-PGirbe6O.js → vue-ui-gauge-CqhJx__t.js} +70 -70
- package/dist/{vue-ui-gizmo-ChSfBYZ_.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
- package/dist/{vue-ui-gizmo-CHMApil6.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
- package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
- package/dist/{vue-ui-heatmap-CK3FIWpo.js → vue-ui-heatmap-DLNzJh--.js} +87 -87
- package/dist/{vue-ui-history-plot-EmQ-Byiz.js → vue-ui-history-plot-CH2mN74k.js} +75 -75
- package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
- package/dist/{vue-ui-kpi-DjC68pSz.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
- package/dist/{vue-ui-kpi-BdungaO2.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CzrblCCD.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
- package/dist/{vue-ui-mini-loader-jwL_pZjb.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
- package/dist/{vue-ui-molecule-DBQJQs4Y.js → vue-ui-molecule-BAwzIU19.js} +52 -52
- 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-Ca9wPZpJ.js → vue-ui-mood-radar-BXOWHB57.js} +35 -35
- package/dist/{vue-ui-nested-donuts-DEdS6dpj.cjs → vue-ui-nested-donuts-D1EF5IEw.cjs} +2 -2
- package/dist/{vue-ui-nested-donuts-C8at93dN.js → vue-ui-nested-donuts-F1pwFa1Y.js} +90 -90
- package/dist/{vue-ui-onion-B-PXxNu6.js → vue-ui-onion-C9dEaRbc.js} +52 -52
- package/dist/{vue-ui-onion-B2ioudP5.cjs → vue-ui-onion-nA8sXxh-.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-ByM3So9k.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +62 -62
- package/dist/{vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs → vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs} +2 -2
- package/dist/{vue-ui-quadrant-BqOJBcsI.js → vue-ui-quadrant-C_hJHr9T.js} +50 -50
- package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
- package/dist/{vue-ui-quick-chart-Bt9KA82P.cjs → vue-ui-quick-chart-C5v_8Kpw.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BfXxT3KM.js → vue-ui-quick-chart-D4k-zSan.js} +9 -9
- package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
- package/dist/{vue-ui-radar-BKpD9xDr.js → vue-ui-radar-WKQ-TavD.js} +59 -59
- package/dist/{vue-ui-rating-DQRuqev5.js → vue-ui-rating-BrSnMkzF.js} +2 -2
- package/dist/{vue-ui-rating-BE545aI4.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-nZ2nBpWX.js → vue-ui-relation-circle-DzZ5H4og.js} +56 -56
- package/dist/{vue-ui-rings-B7JzZ3ub.cjs → vue-ui-rings-1qwg2E0O.cjs} +2 -2
- package/dist/{vue-ui-rings-C1PV0873.js → vue-ui-rings-43dY-4_7.js} +65 -65
- package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
- package/dist/{vue-ui-scatter-dgs1m3-2.js → vue-ui-scatter-q6Sfqa4W.js} +102 -102
- package/dist/{vue-ui-screenshot-Dxj0l8Jg.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
- package/dist/{vue-ui-screenshot--cHV0jG3.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
- package/dist/{vue-ui-skeleton-lkPDknHn.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
- package/dist/{vue-ui-skeleton-Bniq21d9.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
- package/dist/{vue-ui-smiley-D4DAZIpA.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
- package/dist/{vue-ui-smiley-CozXoiti.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-ZqrwhwqS.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
- package/dist/{vue-ui-spark-trend-CSqyvI_K.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bph8KIjk.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-q0G4GvFm.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
- package/dist/{vue-ui-sparkgauge-nSAW83dN.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DA_h9jcN.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-BLYhRNpt.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B1WyBiq_.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
- package/dist/{vue-ui-sparkline-PNix1-R9.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
- package/dist/{vue-ui-sparkline-ccfl0s3m.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DpuvEumy.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-PNKwVRu8.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
- package/dist/{vue-ui-stackbar-BBYnF8qm.js → vue-ui-stackbar-BeXW23yH.js} +43 -43
- 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-TVlnzXFq.js → vue-ui-strip-plot-CG-wp65N.js} +78 -78
- package/dist/{vue-ui-table-CHdv3KuM.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
- package/dist/{vue-ui-table-CsEajH9S.js → vue-ui-table-BzuWkWse.js} +1 -1
- package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-CubRipoB.js → vue-ui-table-heatmap-obAYC2HB.js} +38 -38
- package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-YV8DUOqh.js → vue-ui-table-sparkline-CW0-ubzl.js} +293 -247
- package/dist/{vue-ui-thermometer-DmMjSLc1.js → vue-ui-thermometer-BmgPuIr6.js} +74 -74
- package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
- package/dist/{vue-ui-timer-DvE_nqd9.js → vue-ui-timer-6eWSNYld.js} +5 -5
- package/dist/{vue-ui-timer-DteYgv9y.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CCrkDgjX.js → vue-ui-tiremarks-DeEI5TAa.js} +46 -46
- package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
- package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
- package/dist/{vue-ui-treemap-C4A4spvg.js → vue-ui-treemap-tlPZye6M.js} +91 -91
- package/dist/{vue-ui-vertical-bar-8iL1xiaz.js → vue-ui-vertical-bar-BIst1a32.js} +67 -67
- package/dist/{vue-ui-vertical-bar-B60lSXNq.cjs → vue-ui-vertical-bar-CCXF79YU.cjs} +2 -2
- package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
- package/dist/{vue-ui-waffle-CaYNz-Kd.js → vue-ui-waffle-iJT4g4Ht.js} +48 -48
- package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
- package/dist/{vue-ui-wheel-BRR2rGou.js → vue-ui-wheel-v1_jsNWp.js} +36 -36
- package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
- package/dist/{vue-ui-word-cloud-y2GGxwoq.js → vue-ui-word-cloud-DR8E1ArH.js} +66 -66
- package/dist/{vue-ui-xy-CXoWP8bh.js → vue-ui-xy-BZ3lbw6i.js} +14 -14
- package/dist/{vue-ui-xy-CbM75yXK.cjs → vue-ui-xy-CvFWhRR-.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-DWvIvSry.cjs → vue-ui-xy-canvas-BVw3zOIC.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-D7MrUJj7.js → vue-ui-xy-canvas-hPcU2SBK.js} +53 -53
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +0 -1
- package/dist/vue-ui-bullet-QrXtipbT.cjs +0 -34
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +0 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +0 -1
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +0 -9
- package/dist/vue-ui-flow-CCvTnu7z.cjs +0 -1
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +0 -1
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +0 -1
- package/dist/vue-ui-gauge-BFA_unjg.cjs +0 -1
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +0 -1
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +0 -1
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +0 -1
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +0 -1
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +0 -1
- package/dist/vue-ui-radar-Czmsd_uv.cjs +0 -1
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +0 -1
- package/dist/vue-ui-scatter-CTI943ks.cjs +0 -1
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +0 -6
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +0 -1
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +0 -1
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +0 -1
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +0 -1
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +0 -1
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +0 -1
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +0 -1
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { computed as m, ref as
|
|
2
|
-
import { u as it, c as nt, t as vt, a as yt, p as q, o as ct, e as
|
|
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
3
|
import { t as wt, u as Mt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as $t } from "./Title-
|
|
5
|
-
import { u as Ct, U as zt } from "./usePrinter-
|
|
6
|
-
import { _ as At } from "./Tooltip-
|
|
7
|
-
import { L as St } from "./Legend-
|
|
8
|
-
import { _ as Ee } from "./Shape-
|
|
9
|
-
import { D as Lt } from "./DataTable-
|
|
10
|
-
import Tt from "./vue-ui-skeleton-
|
|
11
|
-
import Bt from "./vue-ui-accordion-
|
|
12
|
-
import { u as Ge } from "./useNestedProp-
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
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
15
|
import { u as Pt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
16
|
import { _ as Wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
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 = {
|
|
18
18
|
key: 3,
|
|
19
19
|
style: { "pointer-events": "none !important" }
|
|
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"],
|
|
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 = {
|
|
21
21
|
key: 5,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
23
|
}, Sl = ["onClick"], Ll = {
|
|
@@ -28,7 +28,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
28
28
|
height: "20",
|
|
29
29
|
width: "20",
|
|
30
30
|
style: { overflow: "hidden", background: "transparent" }
|
|
31
|
-
}, Bl = { key: 0 },
|
|
31
|
+
}, Bl = { key: 0 }, Ol = ["innerHTML"], Nl = {
|
|
32
32
|
__name: "vue-ui-scatter",
|
|
33
33
|
props: {
|
|
34
34
|
config: {
|
|
@@ -45,10 +45,10 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
setup(Re, { expose: qe }) {
|
|
48
|
-
const W = Re, { vue_ui_scatter: He } = it(), ee = m(() => !!W.dataset && W.dataset.length), z =
|
|
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
49
|
get: () => Ae(),
|
|
50
50
|
set: (l) => l
|
|
51
|
-
}), { userOptionsVisible:
|
|
51
|
+
}), { userOptionsVisible: ie, setUserOptionsVisibility: Ce, keepUserOptionState: ze } = Pt({ config: e.value });
|
|
52
52
|
function Ae() {
|
|
53
53
|
const l = Ge({
|
|
54
54
|
userConfig: W.config,
|
|
@@ -63,24 +63,24 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
63
63
|
} : l;
|
|
64
64
|
}
|
|
65
65
|
lt(() => W.config, (l) => {
|
|
66
|
-
e.value = Ae(), Se(),
|
|
66
|
+
e.value = Ae(), ie.value = !e.value.showOnChartHover, Se(), we.value += 1, Me.value += 1, $e.value += 1;
|
|
67
67
|
}, { deep: !0 });
|
|
68
|
-
const te =
|
|
68
|
+
const te = h(null);
|
|
69
69
|
at(() => {
|
|
70
70
|
Se();
|
|
71
71
|
});
|
|
72
72
|
function Se() {
|
|
73
|
-
if (ct(W.dataset) &&
|
|
73
|
+
if (ct(W.dataset) && fe({
|
|
74
74
|
componentName: "VueUiScatter",
|
|
75
75
|
type: "dataset"
|
|
76
76
|
}), e.value.responsive) {
|
|
77
77
|
const l = wt(() => {
|
|
78
78
|
const { width: u, height: t } = Mt({
|
|
79
79
|
chart: H.value,
|
|
80
|
-
title: e.value.style.title.text ?
|
|
81
|
-
legend: e.value.style.legend.show ?
|
|
82
|
-
source:
|
|
83
|
-
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
|
|
84
84
|
});
|
|
85
85
|
A.value.width = u, A.value.height = t;
|
|
86
86
|
});
|
|
@@ -90,13 +90,13 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
90
90
|
ot(() => {
|
|
91
91
|
te.value && te.value.disconnect();
|
|
92
92
|
});
|
|
93
|
-
const { isPrinting: Le, isImaging: Te, generatePdf: Be, generateImage:
|
|
93
|
+
const { isPrinting: Le, isImaging: Te, generatePdf: Be, generateImage: Oe } = Ct({
|
|
94
94
|
elementId: `vue-ui-scatter_${z.value}`,
|
|
95
95
|
fileName: e.value.style.title.text || "vue-ui-scatter"
|
|
96
|
-
}), Ke = m(() => e.value.userOptions.show && !e.value.style.title.text),
|
|
96
|
+
}), Ke = m(() => e.value.userOptions.show && !e.value.style.title.text), Ne = m(() => dt(e.value.customPalette)), I = h({
|
|
97
97
|
showTable: e.value.table.show,
|
|
98
98
|
showTooltip: e.value.style.tooltip.show
|
|
99
|
-
}), A =
|
|
99
|
+
}), A = h({
|
|
100
100
|
height: e.value.style.layout.height,
|
|
101
101
|
width: e.value.style.layout.width
|
|
102
102
|
}), le = m(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), i = m(() => ({
|
|
@@ -106,13 +106,13 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
106
106
|
left: e.value.style.layout.padding.left,
|
|
107
107
|
height: A.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - le.value,
|
|
108
108
|
width: A.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - le.value
|
|
109
|
-
})),
|
|
109
|
+
})), p = m(() => {
|
|
110
110
|
W.dataset.forEach((a, v) => {
|
|
111
111
|
Ue({
|
|
112
112
|
datasetObject: a,
|
|
113
113
|
requiredAttributes: ["values"]
|
|
114
114
|
}).forEach((b) => {
|
|
115
|
-
|
|
115
|
+
fe({
|
|
116
116
|
componentName: "VueUiScatter",
|
|
117
117
|
type: "datasetSerieAttribute",
|
|
118
118
|
property: b,
|
|
@@ -123,7 +123,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
123
123
|
datasetObject: b,
|
|
124
124
|
requiredAttributes: ["x", "y"]
|
|
125
125
|
}).forEach((K) => {
|
|
126
|
-
|
|
126
|
+
fe({
|
|
127
127
|
componentName: "VueUiScatter",
|
|
128
128
|
type: "datasetSerieAttribute",
|
|
129
129
|
property: `values.${K}`,
|
|
@@ -135,18 +135,18 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
135
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
136
|
return { xMin: l >= 0 ? 0 : l, xMax: u, yMin: t >= 0 ? 0 : t, yMax: s };
|
|
137
137
|
}), f = m(() => ({
|
|
138
|
-
x: i.value.left + Math.abs(
|
|
139
|
-
y: i.value.bottom - Math.abs(
|
|
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
140
|
})), U = m(() => W.dataset.map((l, u) => {
|
|
141
141
|
const t = `cluster_${z.value}_${u}`;
|
|
142
142
|
return {
|
|
143
143
|
...l,
|
|
144
|
-
values:
|
|
144
|
+
values: ht({
|
|
145
145
|
data: l.values,
|
|
146
146
|
threshold: e.value.downsample.threshold
|
|
147
147
|
}),
|
|
148
148
|
id: t,
|
|
149
|
-
color: l.color ? l.color :
|
|
149
|
+
color: l.color ? l.color : Ne.value[u] || q[u] || q[u % q.length],
|
|
150
150
|
opacity: x.value.includes(t) ? 0.5 : 1,
|
|
151
151
|
shape: l.shape ?? "circle",
|
|
152
152
|
segregate: () => Ie(t),
|
|
@@ -159,41 +159,41 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
159
159
|
fontSize: e.value.style.legend.fontSize,
|
|
160
160
|
paddingBottom: 12,
|
|
161
161
|
fontWeight: e.value.style.legend.bold ? "bold" : ""
|
|
162
|
-
})),
|
|
162
|
+
})), ne = m(() => U.value.map((l, u) => ({
|
|
163
163
|
...l,
|
|
164
164
|
plots: l.values.map((t) => ({
|
|
165
|
-
x: i.value.left + (t.x + Math.abs(
|
|
166
|
-
y: i.value.bottom - (t.y + Math.abs(
|
|
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,
|
|
167
167
|
v: {
|
|
168
168
|
...t,
|
|
169
169
|
name: t.name || ""
|
|
170
170
|
},
|
|
171
171
|
clusterName: l.name,
|
|
172
|
-
color: l.color ? l.color :
|
|
172
|
+
color: l.color ? l.color : Ne.value[u] || q[u] || q[u % q.length],
|
|
173
173
|
id: `plot_${z.value}_${Math.random()}`,
|
|
174
174
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
175
175
|
}))
|
|
176
|
-
})).filter((l) => !x.value.includes(l.id))), S = m(() =>
|
|
176
|
+
})).filter((l) => !x.value.includes(l.id))), S = m(() => ne.value.map((l) => {
|
|
177
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
178
|
let s = 0, a = 0, v = 0;
|
|
179
179
|
for (const g of l.plots)
|
|
180
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,
|
|
181
|
+
const b = s / Math.sqrt(a * v), E = b * (Math.sqrt(v) / Math.sqrt(a)), K = t - E * u, O = {
|
|
182
182
|
x1: i.value.left,
|
|
183
183
|
x2: i.value.right,
|
|
184
184
|
y1: E * i.value.left + K,
|
|
185
185
|
y2: E * i.value.right + K,
|
|
186
186
|
coefficient: b
|
|
187
|
-
}, 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 = {
|
|
188
188
|
x: F,
|
|
189
189
|
y: w * F + T <= e.value.style.layout.padding.top ? i.value.top : w * F + T
|
|
190
190
|
};
|
|
191
191
|
return {
|
|
192
192
|
...l,
|
|
193
|
-
correlation:
|
|
193
|
+
correlation: O,
|
|
194
194
|
label: se,
|
|
195
195
|
plots: l.plots.map((g) => {
|
|
196
|
-
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));
|
|
197
197
|
return {
|
|
198
198
|
...g,
|
|
199
199
|
deviation: k,
|
|
@@ -218,24 +218,24 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
218
218
|
t.forEach(({ x: k, y: R }) => {
|
|
219
219
|
s = Math.min(s, k), a = Math.max(a, k), v = Math.min(v, R), b = Math.max(b, R);
|
|
220
220
|
});
|
|
221
|
-
const E = a - s, K = b - v,
|
|
221
|
+
const E = a - s, K = b - v, O = E / u, w = K / u, T = Array(u).fill(0), F = Array(u).fill(0);
|
|
222
222
|
t.forEach(({ x: k, y: R }) => {
|
|
223
|
-
const
|
|
224
|
-
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;
|
|
225
225
|
});
|
|
226
226
|
const se = [], g = [];
|
|
227
227
|
for (let k = 0; k < u; k += 1)
|
|
228
|
-
se.push(s + (k + 0.5) *
|
|
229
|
-
const G = Math.max(...T),
|
|
230
|
-
return { x: T, y: F, avgX: se, avgY: g, maxX: G, maxY:
|
|
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 };
|
|
231
231
|
}
|
|
232
|
-
const D = m(() => e.value.style.layout.marginalBars.tranches), L = m(() => We(
|
|
232
|
+
const D = m(() => e.value.style.layout.marginalBars.tranches), L = m(() => We(ne.value, D.value)), et = m(() => {
|
|
233
233
|
const l = i.value.top - e.value.style.layout.marginalBars.offset, u = i.value.right + e.value.style.layout.marginalBars.offset;
|
|
234
|
-
return
|
|
234
|
+
return ne.value.map((t) => {
|
|
235
235
|
const s = We(t, D.value);
|
|
236
236
|
return {
|
|
237
237
|
coords: s,
|
|
238
|
-
dX:
|
|
238
|
+
dX: pt(s.avgX.map((a, v) => ({
|
|
239
239
|
x: a,
|
|
240
240
|
y: l - s.x[v] / s.maxX * e.value.style.layout.marginalBars.size
|
|
241
241
|
}))),
|
|
@@ -247,11 +247,11 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
247
247
|
id: t.id
|
|
248
248
|
};
|
|
249
249
|
});
|
|
250
|
-
}), B =
|
|
250
|
+
}), B = h(void 0), y = h(null), ve = h(null);
|
|
251
251
|
function Fe(l, u) {
|
|
252
252
|
B.value = l.id, y.value = l;
|
|
253
253
|
let t = "";
|
|
254
|
-
|
|
254
|
+
ve.value = {
|
|
255
255
|
datapoint: l,
|
|
256
256
|
seriesIndex: u,
|
|
257
257
|
series: S.value,
|
|
@@ -296,7 +296,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
296
296
|
function Xe() {
|
|
297
297
|
ue.value = !1, B.value = void 0, y.value = null;
|
|
298
298
|
}
|
|
299
|
-
const x =
|
|
299
|
+
const x = h([]);
|
|
300
300
|
function Ie(l) {
|
|
301
301
|
x.value.includes(l) ? x.value = x.value.filter((u) => u !== l) : x.value.length < W.dataset.length - 1 && x.value.push(l);
|
|
302
302
|
}
|
|
@@ -343,9 +343,9 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
343
343
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
344
344
|
};
|
|
345
345
|
return { head: l, body: u, config: t, colNames: l };
|
|
346
|
-
}), J =
|
|
346
|
+
}), J = h(!1);
|
|
347
347
|
function tt(l) {
|
|
348
|
-
J.value = l,
|
|
348
|
+
J.value = l, xe.value += 1;
|
|
349
349
|
}
|
|
350
350
|
function Ye() {
|
|
351
351
|
I.value.showTable = !I.value.showTable;
|
|
@@ -353,18 +353,18 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
353
353
|
function Ve() {
|
|
354
354
|
I.value.showTooltip = !I.value.showTooltip;
|
|
355
355
|
}
|
|
356
|
-
const oe =
|
|
357
|
-
function
|
|
356
|
+
const oe = h(!1);
|
|
357
|
+
function ye() {
|
|
358
358
|
oe.value = !oe.value;
|
|
359
359
|
}
|
|
360
360
|
return qe({
|
|
361
361
|
getData: Ze,
|
|
362
362
|
generatePdf: Be,
|
|
363
363
|
generateCsv: De,
|
|
364
|
-
generateImage:
|
|
364
|
+
generateImage: Oe,
|
|
365
365
|
toggleTable: Ye,
|
|
366
366
|
toggleTooltip: Ve,
|
|
367
|
-
toggleAnnotator:
|
|
367
|
+
toggleAnnotator: ye
|
|
368
368
|
}), (l, u) => (o(), r("div", {
|
|
369
369
|
class: je(`vue-ui-scatter ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
370
370
|
ref_key: "scatterChart",
|
|
@@ -374,29 +374,29 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
374
374
|
onMouseenter: u[2] || (u[2] = () => n(Ce)(!0)),
|
|
375
375
|
onMouseleave: u[3] || (u[3] = () => n(Ce)(!1))
|
|
376
376
|
}, [
|
|
377
|
-
e.value.userOptions.buttons.annotator ? (o(), V(
|
|
377
|
+
e.value.userOptions.buttons.annotator ? (o(), V(Nt, {
|
|
378
378
|
key: 0,
|
|
379
379
|
parent: H.value,
|
|
380
380
|
backgroundColor: e.value.style.backgroundColor,
|
|
381
381
|
color: e.value.style.color,
|
|
382
382
|
active: oe.value,
|
|
383
|
-
onClose:
|
|
383
|
+
onClose: ye
|
|
384
384
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
385
385
|
Ke.value ? (o(), r("div", {
|
|
386
386
|
key: 1,
|
|
387
387
|
ref_key: "noTitle",
|
|
388
|
-
ref:
|
|
388
|
+
ref: _e,
|
|
389
389
|
class: "vue-data-ui-no-title-space",
|
|
390
390
|
style: "height:36px; width: 100%;background:transparent"
|
|
391
391
|
}, null, 512)) : c("", !0),
|
|
392
392
|
e.value.style.title.text ? (o(), r("div", {
|
|
393
393
|
key: 2,
|
|
394
394
|
ref_key: "chartTitle",
|
|
395
|
-
ref:
|
|
395
|
+
ref: me,
|
|
396
396
|
style: "width:100%;background:transparent"
|
|
397
397
|
}, [
|
|
398
398
|
(o(), V($t, {
|
|
399
|
-
key: `title_${
|
|
399
|
+
key: `title_${we.value}`,
|
|
400
400
|
config: {
|
|
401
401
|
title: {
|
|
402
402
|
cy: "scatter-div-title",
|
|
@@ -409,10 +409,10 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
409
409
|
}
|
|
410
410
|
}, null, 8, ["config"]))
|
|
411
411
|
], 512)) : c("", !0),
|
|
412
|
-
e.value.userOptions.show && ee.value && (n(ze) || n(
|
|
412
|
+
e.value.userOptions.show && ee.value && (n(ze) || n(ie)) ? (o(), V(zt, {
|
|
413
413
|
ref_key: "details",
|
|
414
414
|
ref: Je,
|
|
415
|
-
key: `user_options_${
|
|
415
|
+
key: `user_options_${xe.value}`,
|
|
416
416
|
backgroundColor: e.value.style.backgroundColor,
|
|
417
417
|
color: e.value.style.color,
|
|
418
418
|
isImaging: n(Te),
|
|
@@ -434,12 +434,12 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
434
434
|
onToggleFullscreen: tt,
|
|
435
435
|
onGeneratePdf: n(Be),
|
|
436
436
|
onGenerateCsv: De,
|
|
437
|
-
onGenerateImage: n(
|
|
437
|
+
onGenerateImage: n(Oe),
|
|
438
438
|
onToggleTable: Ye,
|
|
439
439
|
onToggleTooltip: Ve,
|
|
440
|
-
onToggleAnnotator:
|
|
440
|
+
onToggleAnnotator: ye,
|
|
441
441
|
style: Y({
|
|
442
|
-
visibility: n(ze) ? n(
|
|
442
|
+
visibility: n(ze) ? n(ie) ? "visible" : "hidden" : "visible"
|
|
443
443
|
})
|
|
444
444
|
}, st({ _: 2 }, [
|
|
445
445
|
l.$slots.optionTooltip ? {
|
|
@@ -499,7 +499,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
499
499
|
viewBox: `0 0 ${A.value.width <= 0 ? 10 : A.value.width} ${A.value.height <= 0 ? 10 : A.value.height}`,
|
|
500
500
|
style: Y(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
501
501
|
}, [
|
|
502
|
-
pe(
|
|
502
|
+
pe(Ot),
|
|
503
503
|
e.value.style.layout.axis.show ? (o(), r("g", It, [
|
|
504
504
|
d("line", {
|
|
505
505
|
x1: f.value.x,
|
|
@@ -521,11 +521,11 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
521
521
|
}, null, 8, Yt)
|
|
522
522
|
])) : c("", !0),
|
|
523
523
|
e.value.style.layout.plots.giftWrap.show ? (o(), r("g", Vt, [
|
|
524
|
-
(o(!0), r(
|
|
524
|
+
(o(!0), r(N, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
525
525
|
t.plots.length > 2 ? (o(), r("polygon", {
|
|
526
526
|
key: 0,
|
|
527
527
|
points: n(xt)({ series: t.plots }),
|
|
528
|
-
fill: n(
|
|
528
|
+
fill: n(ge)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
529
529
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
530
530
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
531
531
|
stroke: t.color,
|
|
@@ -534,13 +534,13 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
534
534
|
}, null, 8, jt)) : c("", !0)
|
|
535
535
|
]))), 256))
|
|
536
536
|
])) : c("", !0),
|
|
537
|
-
(o(!0), r(
|
|
537
|
+
(o(!0), r(N, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
538
538
|
!t.shape || t.shape === "circle" ? (o(), r("g", Ut, [
|
|
539
|
-
(o(!0), r(
|
|
539
|
+
(o(!0), r(N, null, X(t.plots, (a, v) => (o(), r("circle", {
|
|
540
540
|
cx: a.x,
|
|
541
541
|
cy: a.y,
|
|
542
542
|
r: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
543
|
-
fill: n(
|
|
543
|
+
fill: n(ge)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
544
544
|
stroke: e.value.style.layout.plots.stroke,
|
|
545
545
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
546
546
|
onMouseover: (b) => Fe(a, s),
|
|
@@ -548,11 +548,11 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
548
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
549
|
}, null, 44, Et))), 256))
|
|
550
550
|
])) : (o(), r("g", Gt, [
|
|
551
|
-
(o(!0), r(
|
|
551
|
+
(o(!0), r(N, null, X(t.plots, (a, v) => (o(), V(Ee, {
|
|
552
552
|
plot: { x: a.x, y: a.y },
|
|
553
553
|
radius: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
554
554
|
shape: t.shape,
|
|
555
|
-
color: n(
|
|
555
|
+
color: n(ge)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
556
556
|
stroke: e.value.style.layout.plots.stroke,
|
|
557
557
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
558
558
|
onMouseover: (b) => Fe(a, s),
|
|
@@ -596,7 +596,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
596
596
|
}, null, 8, Zt)
|
|
597
597
|
], 8, Kt)
|
|
598
598
|
]),
|
|
599
|
-
(o(!0), r(
|
|
599
|
+
(o(!0), r(N, null, X(L.value.x, (t, s) => (o(), r("g", null, [
|
|
600
600
|
t && L.value.avgX[s] ? (o(), r("rect", {
|
|
601
601
|
key: 0,
|
|
602
602
|
x: L.value.avgX[s] - i.value.width / D.value / 2,
|
|
@@ -610,7 +610,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
610
610
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
611
611
|
}, null, 12, el)) : c("", !0)
|
|
612
612
|
]))), 256)),
|
|
613
|
-
(o(!0), r(
|
|
613
|
+
(o(!0), r(N, null, X(L.value.y, (t, s) => (o(), r("g", null, [
|
|
614
614
|
t && L.value.avgY[s] ? (o(), r("rect", {
|
|
615
615
|
key: 0,
|
|
616
616
|
x: i.value.right + e.value.style.layout.marginalBars.offset,
|
|
@@ -625,7 +625,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
625
625
|
}, null, 12, tl)) : c("", !0)
|
|
626
626
|
]))), 256)),
|
|
627
627
|
e.value.style.layout.marginalBars.showLines ? (o(), r("g", ll, [
|
|
628
|
-
(o(!0), r(
|
|
628
|
+
(o(!0), r(N, null, X(et.value, (t) => (o(), r(N, null, [
|
|
629
629
|
x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
|
|
630
630
|
key: 0,
|
|
631
631
|
d: `M ${t.dX}`,
|
|
@@ -750,9 +750,9 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
750
750
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
751
751
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
752
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,
|
|
753
|
+
}, $(y.value.v.name), 9, hl)) : c("", !0)
|
|
754
754
|
])) : c("", !0),
|
|
755
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g",
|
|
755
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g", pl, [
|
|
756
756
|
d("text", {
|
|
757
757
|
x: i.value.left - 5,
|
|
758
758
|
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
@@ -761,10 +761,10 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
761
761
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
762
762
|
}, $(n(j)(
|
|
763
763
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
764
|
-
n(C)(
|
|
764
|
+
n(C)(p.value.xMin),
|
|
765
765
|
n(P)({
|
|
766
766
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
767
|
-
v: n(C)(
|
|
767
|
+
v: n(C)(p.value.xMin),
|
|
768
768
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
769
769
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
770
770
|
})
|
|
@@ -777,10 +777,10 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
777
777
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
778
778
|
}, $(n(j)(
|
|
779
779
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
780
|
-
n(C)(
|
|
780
|
+
n(C)(p.value.xMax),
|
|
781
781
|
n(P)({
|
|
782
782
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
783
|
-
v: n(C)(
|
|
783
|
+
v: n(C)(p.value.xMax),
|
|
784
784
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
785
785
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
786
786
|
})
|
|
@@ -803,10 +803,10 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
803
803
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
804
804
|
}, $(n(j)(
|
|
805
805
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
806
|
-
n(C)(
|
|
806
|
+
n(C)(p.value.yMin),
|
|
807
807
|
n(P)({
|
|
808
808
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
809
|
-
v: n(C)(
|
|
809
|
+
v: n(C)(p.value.yMin),
|
|
810
810
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
811
811
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
812
812
|
})
|
|
@@ -819,10 +819,10 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
819
819
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
820
820
|
}, $(n(j)(
|
|
821
821
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
822
|
-
n(C)(
|
|
822
|
+
n(C)(p.value.yMax),
|
|
823
823
|
n(P)({
|
|
824
824
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
825
|
-
v: n(C)(
|
|
825
|
+
v: n(C)(p.value.yMax),
|
|
826
826
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
827
827
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
828
828
|
})
|
|
@@ -847,7 +847,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
847
847
|
}, null, 8, Ml)
|
|
848
848
|
], 8, wl),
|
|
849
849
|
e.value.style.layout.correlation.show ? (o(), r("g", $l, [
|
|
850
|
-
(o(!0), r(
|
|
850
|
+
(o(!0), r(N, null, X(S.value, (t, s) => (o(), r("line", {
|
|
851
851
|
x1: t.correlation.x1,
|
|
852
852
|
x2: t.correlation.x2,
|
|
853
853
|
y1: t.correlation.y1,
|
|
@@ -857,7 +857,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
857
857
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
858
858
|
"clip-path": `url(#clip_path_${z.value})`
|
|
859
859
|
}, null, 8, Cl))), 256)),
|
|
860
|
-
(o(!0), r(
|
|
860
|
+
(o(!0), r(N, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
861
861
|
e.value.style.layout.correlation.label.show ? (o(), r("text", {
|
|
862
862
|
key: 0,
|
|
863
863
|
x: t.label.x,
|
|
@@ -896,10 +896,10 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
896
896
|
}, null, 8, ["config"])),
|
|
897
897
|
d("div", {
|
|
898
898
|
ref_key: "chartLegend",
|
|
899
|
-
ref:
|
|
899
|
+
ref: be
|
|
900
900
|
}, [
|
|
901
901
|
e.value.style.legend.show ? (o(), V(St, {
|
|
902
|
-
key: `legend_${
|
|
902
|
+
key: `legend_${$e.value}`,
|
|
903
903
|
legendSet: U.value,
|
|
904
904
|
config: Qe.value,
|
|
905
905
|
onClickMarker: u[0] || (u[0] = ({ legend: t }) => Ie(t.id))
|
|
@@ -919,7 +919,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
919
919
|
l.$slots.source ? (o(), r("div", {
|
|
920
920
|
key: 7,
|
|
921
921
|
ref_key: "source",
|
|
922
|
-
ref:
|
|
922
|
+
ref: ke,
|
|
923
923
|
dir: "auto"
|
|
924
924
|
}, [
|
|
925
925
|
M(l.$slots, "source", {}, void 0, !0)
|
|
@@ -941,10 +941,10 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
941
941
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
942
942
|
}, {
|
|
943
943
|
"tooltip-before": _(() => [
|
|
944
|
-
M(l.$slots, "tooltip-before", Q(Z({ ...
|
|
944
|
+
M(l.$slots, "tooltip-before", Q(Z({ ...ve.value })), void 0, !0)
|
|
945
945
|
]),
|
|
946
946
|
"tooltip-after": _(() => [
|
|
947
|
-
M(l.$slots, "tooltip-after", Q(Z({ ...
|
|
947
|
+
M(l.$slots, "tooltip-after", Q(Z({ ...ve.value })), void 0, !0)
|
|
948
948
|
]),
|
|
949
949
|
default: _(() => [
|
|
950
950
|
e.value.style.tooltip.showShape ? (o(), r("div", Ll, [
|
|
@@ -978,7 +978,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
978
978
|
}, {
|
|
979
979
|
content: _(() => [
|
|
980
980
|
(o(), V(Lt, {
|
|
981
|
-
key: `table_${
|
|
981
|
+
key: `table_${Me.value}`,
|
|
982
982
|
colNames: ae.value.colNames,
|
|
983
983
|
head: ae.value.head,
|
|
984
984
|
body: ae.value.body,
|
|
@@ -995,7 +995,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
995
995
|
])) : (o(), r("div", {
|
|
996
996
|
key: 1,
|
|
997
997
|
innerHTML: t
|
|
998
|
-
}, null, 8,
|
|
998
|
+
}, null, 8, Ol))
|
|
999
999
|
]),
|
|
1000
1000
|
_: 1
|
|
1001
1001
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -1004,7 +1004,7 @@ const Ft = ["id"], Xt = ["xmlns", "viewBox"], It = { key: 0 }, Dt = ["x1", "x2",
|
|
|
1004
1004
|
}, 8, ["config"])) : c("", !0)
|
|
1005
1005
|
], 46, Ft));
|
|
1006
1006
|
}
|
|
1007
|
-
}, Kl = /* @__PURE__ */ Wt(
|
|
1007
|
+
}, Kl = /* @__PURE__ */ Wt(Nl, [["__scopeId", "data-v-ba4dc4e0"]]);
|
|
1008
1008
|
export {
|
|
1009
1009
|
Kl as default
|
|
1010
1010
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref as i, computed as N, openBlock as V, createElementBlock as U, nextTick as G } from "vue";
|
|
2
|
-
import { u as K, A as P, B as q } from "./index-
|
|
2
|
+
import { u as K, A as P, B as q } from "./index-K5uyh1gA.js";
|
|
3
3
|
import J from "./html2canvas.esm-d2sM-0Wm.js";
|
|
4
4
|
const te = {
|
|
5
5
|
__name: "vue-ui-screenshot",
|