vue-data-ui 2.4.0 → 2.4.2
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 +56 -54
- package/dist/{Arrow-CbntjQjr.cjs → Arrow-DLTRnzcG.cjs} +1 -1
- package/dist/{Arrow-NcE21Ngm.js → Arrow-JuK2z9IB.js} +1 -1
- package/dist/BaseIcon-BGExhz6v.cjs +1 -0
- package/dist/{BaseIcon-BUTpMnXi.js → BaseIcon-rRli6Sfv.js} +8 -4
- package/dist/{DataTable-BwH-MU-S.cjs → DataTable-DJzhv96s.cjs} +1 -1
- package/dist/{DataTable-DAgyf9zN.js → DataTable-DTk7C4Pr.js} +2 -2
- package/dist/{Legend-DBhpIX2x.js → Legend-CYF2gpXG.js} +23 -17
- package/dist/Legend-YZ7Hz3o1.cjs +1 -0
- package/dist/{PackageVersion-wB6dCDZw.js → PackageVersion-CvCRsT5_.js} +1 -1
- package/dist/{PackageVersion-Djty0wb2.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
- package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
- package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
- package/dist/{Shape-CQVJz33T.js → Shape-BpPn4eWR.js} +1 -1
- package/dist/{Shape-DQ0Hh2Gg.cjs → Shape-X2F-QV_B.cjs} +1 -1
- package/dist/{Slicer-CiSmaE0_.cjs → Slicer-CL0tP5a5.cjs} +1 -1
- package/dist/{Slicer-DXw23eOC.js → Slicer-CU7dRZR0.js} +2 -2
- package/dist/{Title-DlVZnHjs.js → Title-5VmBwT4i.js} +21 -17
- package/dist/Title-Co5jI5ed.cjs +1 -0
- package/dist/{Tooltip-DBzXz806.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
- package/dist/{Tooltip-CveCRFgK.js → Tooltip-Cj4EF7v1.js} +1 -1
- package/dist/documentation/installation.md +10 -9
- package/dist/{index-B0CpCD8z.js → index-DnVHQ2xI.js} +1138 -907
- package/dist/index-FfZRtJ6A.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +101 -20
- package/dist/types/vue-data-ui.d.ts +101 -20
- package/dist/{useNestedProp-DGWP4D-K.js → useNestedProp-Cox0K0Y5.js} +1 -1
- package/dist/{useNestedProp-iuDCMc2p.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
- package/dist/usePrinter-BCAFeO_J.cjs +1 -0
- package/dist/{usePrinter-Dr30K4cu.js → usePrinter-BEeNAqS5.js} +230 -185
- package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
- package/dist/vue-data-ui-W7nnqn0v.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +52 -51
- package/dist/{vue-ui-3d-bar-C3hYrYTV.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
- package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
- package/dist/{vue-ui-accordion-CmENcGVW.js → vue-ui-accordion-DspS4q3f.js} +3 -3
- package/dist/{vue-ui-accordion-Deyo7jw7.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-C075Lvfe.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
- package/dist/{vue-ui-annotator-Bb6fUz4x.js → vue-ui-annotator-BOofWpzv.js} +1 -1
- package/dist/{vue-ui-annotator-DslXalSQ.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
- package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
- package/dist/{vue-ui-candlestick-C4VEOmY_.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
- package/dist/{vue-ui-carousel-table-Coq4gg_P.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DZfMMpZ7.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
- package/dist/{vue-ui-chestnut-CUnbj-Zb.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
- package/dist/{vue-ui-cursor-CtuPho-s.js → vue-ui-cursor-BM74l93B.js} +2 -2
- package/dist/{vue-ui-cursor-B9UvQwLp.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
- package/dist/{vue-ui-dashboard-8gQ1bGCn.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
- package/dist/{vue-ui-dashboard-KMTRqXzR.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
- package/dist/{vue-ui-digits-DSMNN4z_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
- package/dist/{vue-ui-digits-DuEyX8op.js → vue-ui-digits-DioaBnkB.js} +2 -2
- package/dist/vue-ui-donut-CplNylps.cjs +1 -0
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DbojarYN.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
- package/dist/{vue-ui-donut-0xdYBc41.js → vue-ui-donut-ldqSm_JV.js} +345 -321
- package/dist/{vue-ui-dumbbell-BxhWjCvR.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
- package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
- package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
- package/dist/{vue-ui-galaxy-BddgLpP-.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
- package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
- package/dist/{vue-ui-gizmo-hXBWaB0c.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
- package/dist/{vue-ui-gizmo-DRASsqlp.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
- package/dist/{vue-ui-heatmap-B43q8UHu.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
- package/dist/{vue-ui-kpi-_GVnhxEd.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
- package/dist/{vue-ui-kpi-BiJnqtGR.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DVZtFcHw.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-qvtu5jtI.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
- package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
- package/dist/{vue-ui-mood-radar-iZJ0B1Wf.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
- package/dist/{vue-ui-nested-donuts-CovQfZ81.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
- package/dist/{vue-ui-onion-CJb2Pg0t.js → vue-ui-onion-LsEhBe4x.js} +226 -202
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CUA_fFC3.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
- package/dist/{vue-ui-quadrant-IAIp5IZq.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
- package/dist/{vue-ui-quick-chart-Bb2RQ6qI.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
- package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
- package/dist/{vue-ui-radar-mIQMBRHx.js → vue-ui-radar-20QhOUer.js} +255 -231
- package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
- package/dist/{vue-ui-rating-BGRWSTGr.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
- package/dist/{vue-ui-rating-DcJb7_bV.js → vue-ui-rating-DRWJsve1.js} +2 -2
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
- package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
- package/dist/{vue-ui-scatter-DiQJtMz1.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
- package/dist/{vue-ui-screenshot-BdnW3WFN.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
- package/dist/{vue-ui-screenshot-QRt5bT48.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
- package/dist/{vue-ui-skeleton-fqwO2mHD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DEv_1TFa.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
- package/dist/{vue-ui-smiley-D-zRYR9g.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
- package/dist/{vue-ui-smiley-BAr3XuJG.js → vue-ui-smiley-ChNvxygm.js} +2 -2
- package/dist/{vue-ui-spark-trend-Br0GTMx_.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CS6jl2aN.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
- package/dist/{vue-ui-sparkbar-tgfbnVYO.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
- package/dist/{vue-ui-sparkbar-N8aFbuJv.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge--hgbxLQS.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CqH25hj7.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-vVRA6Z_l.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Cry2PFGH.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
- package/dist/{vue-ui-sparkline-DXwqMlzQ.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
- package/dist/{vue-ui-sparkline-BZir7JxD.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-Dc6tZvej.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-CQjpberv.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
- package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
- package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
- package/dist/{vue-ui-strip-plot-C8dme7tS.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
- package/dist/{vue-ui-table-DGmUNjR_.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
- package/dist/{vue-ui-table-BvbXppa1.js → vue-ui-table-DQORPCDJ.js} +1 -1
- package/dist/{vue-ui-table-heatmap-ccoLJyce.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Ch2UwsIw.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DT5a8gHs.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BZ8faxdR.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
- package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
- package/dist/{vue-ui-timer-CNpKGbIg.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
- package/dist/{vue-ui-timer-DE_m5wxu.js → vue-ui-timer-pi1SazTU.js} +5 -5
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
- package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
- package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CVZI3v1Y.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
- package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
- package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
- package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
- package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
- package/dist/{vue-ui-xy-D3TaTkPR.js → vue-ui-xy-CqlRuFMc.js} +775 -751
- package/dist/{vue-ui-xy-canvas-ClETpddw.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
- package/package.json +1 -1
- package/dist/BaseIcon-7IlvRUX2.cjs +0 -1
- package/dist/Legend-CHQgjBuK.cjs +0 -1
- package/dist/Title-BHmTg9iK.cjs +0 -1
- package/dist/index-Dfhvf8hT.cjs +0 -9
- package/dist/usePrinter-BQQasUin.cjs +0 -1
- package/dist/vue-data-ui-BdSFeW_X.js +0 -256
- package/dist/vue-data-ui-BgVPGbxq.cjs +0 -9
- package/dist/vue-ui-3d-bar-DhHuwXZ1.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DaenyRp2.cjs +0 -1
- package/dist/vue-ui-candlestick-CnVzd826.cjs +0 -2
- package/dist/vue-ui-chestnut-CLnJ0jmo.cjs +0 -6
- package/dist/vue-ui-donut-C4ek9m3R.cjs +0 -1
- package/dist/vue-ui-donut-evolution-B4TkwvNq.cjs +0 -1
- package/dist/vue-ui-dumbbell-Cn3spRSv.cjs +0 -9
- package/dist/vue-ui-flow-D00VdtGU.cjs +0 -1
- package/dist/vue-ui-flow-DreN8go4.js +0 -484
- package/dist/vue-ui-galaxy-DVN-S67V.cjs +0 -1
- package/dist/vue-ui-gauge-DYZYFzHP.cjs +0 -1
- package/dist/vue-ui-gauge-DoTctAHq.js +0 -494
- package/dist/vue-ui-heatmap-ldCySJFf.cjs +0 -1
- package/dist/vue-ui-molecule-DP9jhODZ.cjs +0 -1
- package/dist/vue-ui-molecule-Dpu7Xmu5.js +0 -774
- package/dist/vue-ui-mood-radar-BR0INhYL.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CwIsGnyH.cjs +0 -17
- package/dist/vue-ui-onion-DjEChSmi.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-B8Kl6AMk.cjs +0 -8
- package/dist/vue-ui-quadrant-CmdbW8yZ.cjs +0 -1
- package/dist/vue-ui-quick-chart-DcEk6Ho7.cjs +0 -15
- package/dist/vue-ui-radar-TjgO9_LA.cjs +0 -1
- package/dist/vue-ui-relation-circle-f0fKvSSw.js +0 -325
- package/dist/vue-ui-relation-circle-x4sKnxbi.cjs +0 -1
- package/dist/vue-ui-rings-B3mUyyQ9.cjs +0 -2
- package/dist/vue-ui-rings-M1PUv5Wu.js +0 -569
- package/dist/vue-ui-scatter-DF_nobsG.cjs +0 -1
- package/dist/vue-ui-stackbar-BF0M1KJf.js +0 -915
- package/dist/vue-ui-stackbar-BGmTwxvv.cjs +0 -6
- package/dist/vue-ui-strip-plot-DT9Od_To.cjs +0 -1
- package/dist/vue-ui-thermometer-BOs1_H4X.js +0 -416
- package/dist/vue-ui-thermometer-Biv2CIsy.cjs +0 -1
- package/dist/vue-ui-tiremarks-CTMS_E0z.js +0 -279
- package/dist/vue-ui-tiremarks-YU4wuZl3.cjs +0 -1
- package/dist/vue-ui-treemap-5Dm82baA.js +0 -792
- package/dist/vue-ui-treemap-C0E1_DGA.cjs +0 -1
- package/dist/vue-ui-vertical-bar-CVZHDENz.cjs +0 -4
- package/dist/vue-ui-waffle-Bf4epEaH.js +0 -758
- package/dist/vue-ui-waffle-DD09_Fdb.cjs +0 -1
- package/dist/vue-ui-wheel-BybAQ0bR.cjs +0 -1
- package/dist/vue-ui-wheel-DMvZZCzi.js +0 -258
- package/dist/vue-ui-word-cloud-B8hdGDYI.js +0 -574
- package/dist/vue-ui-word-cloud-MQ0kgdPw.cjs +0 -1
- package/dist/vue-ui-xy-B4C0WR56.cjs +0 -3
- package/dist/vue-ui-xy-canvas-qbn0PHMN.cjs +0 -9
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import { computed as k, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { L as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { D as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { computed as k, ref as p, watch as Je, onMounted as Ke, onBeforeUnmount as Qe, openBlock as o, createElementBlock as r, normalizeClass as Xe, normalizeStyle as q, createBlock as Y, createCommentVNode as d, unref as v, createSlots as Ze, withCtx as _, renderSlot as A, normalizeProps as Q, guardReactiveProps as Z, createVNode as he, createElementVNode as c, Fragment as P, renderList as X, toDisplayString as M, createTextVNode as et, nextTick as tt } from "vue";
|
|
2
|
+
import { u as lt, c as at, t as ot, a as st, p as U, o as ut, e as pe, b as rt, g as Ie, R as it, V as nt, X as vt, T as yt, s as fe, i as j, v as $, f as W, x as ct, y as dt, q as ht, r as pt } from "./index-DnVHQ2xI.js";
|
|
3
|
+
import { t as ft, u as gt } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as xt } from "./Title-5VmBwT4i.js";
|
|
5
|
+
import { u as mt, U as bt } from "./usePrinter-BEeNAqS5.js";
|
|
6
|
+
import { _ as kt } from "./Tooltip-Cj4EF7v1.js";
|
|
7
|
+
import { L as _t } from "./Legend-CYF2gpXG.js";
|
|
8
|
+
import { _ as De } from "./Shape-BpPn4eWR.js";
|
|
9
|
+
import { D as wt } from "./DataTable-DTk7C4Pr.js";
|
|
10
|
+
import Mt from "./vue-ui-skeleton-aZmkNzAe.js";
|
|
11
|
+
import $t from "./vue-ui-accordion-DspS4q3f.js";
|
|
12
|
+
import { u as Ye } from "./useNestedProp-Cox0K0Y5.js";
|
|
13
|
+
import { _ as Ct } from "./PackageVersion-CvCRsT5_.js";
|
|
14
|
+
import { P as zt } from "./PenAndPaper-Jb0pLt3G.js";
|
|
15
|
+
import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const St = ["id"], Lt = ["xmlns", "viewBox"], Tt = { key: 0 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = { key: 1 }, Wt = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Ot = { key: 0 }, Ft = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Xt = { key: 1 }, It = { key: 2 }, Dt = ["id"], Yt = ["stop-color"], jt = ["stop-color"], Vt = ["id"], Et = ["stop-color"], Gt = ["stop-color"], Rt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], qt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ut = { key: 0 }, Ht = ["d", "stroke", "stroke-width"], Jt = ["d", "stroke", "stroke-width"], Kt = ["d", "stroke", "stroke-width"], Qt = ["d", "stroke", "stroke-width"], Zt = {
|
|
16
17
|
key: 3,
|
|
17
18
|
style: { "pointer-events": "none !important" }
|
|
18
|
-
},
|
|
19
|
-
key:
|
|
19
|
+
}, el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ll = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], al = ["x", "y", "font-size", "fill", "font-weight"], ol = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ul = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], rl = { key: 4 }, il = ["x", "y", "font-size", "fill"], nl = ["x", "y", "font-size", "fill"], vl = ["id", "transform", "font-size", "font-weight", "fill"], yl = { key: 5 }, cl = ["x", "y", "font-size", "fill"], dl = ["x", "y", "font-size", "fill"], hl = ["font-size", "font-weight", "fill", "x", "y"], pl = ["id"], fl = ["x", "y", "width", "height"], gl = { key: 6 }, xl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], ml = ["x", "y", "fill", "font-size", "font-weight"], bl = {
|
|
20
|
+
key: 4,
|
|
20
21
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
22
|
+
}, kl = ["onClick"], _l = {
|
|
22
23
|
key: 0,
|
|
23
24
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
24
|
-
},
|
|
25
|
+
}, wl = {
|
|
25
26
|
viewBox: "0 0 20 20",
|
|
26
27
|
height: "20",
|
|
27
28
|
width: "20",
|
|
28
29
|
style: { overflow: "hidden", background: "transparent" }
|
|
29
|
-
},
|
|
30
|
+
}, Ml = { key: 0 }, $l = ["innerHTML"], Cl = {
|
|
30
31
|
__name: "vue-ui-scatter",
|
|
31
32
|
props: {
|
|
32
33
|
config: {
|
|
@@ -42,116 +43,116 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
42
43
|
}
|
|
43
44
|
}
|
|
44
45
|
},
|
|
45
|
-
setup(
|
|
46
|
-
const
|
|
47
|
-
get: () =>
|
|
46
|
+
setup(je, { expose: Ve }) {
|
|
47
|
+
const O = je, { vue_ui_scatter: Ee } = lt(), ee = k(() => !!O.dataset && O.dataset.length), C = p(at()), Ge = p(null), ue = p(!1), re = p(""), ge = p(0), H = p(null), xe = p(null), me = p(null), be = p(0), ke = p(0), _e = p(0), e = k({
|
|
48
|
+
get: () => we(),
|
|
48
49
|
set: (l) => l
|
|
49
50
|
});
|
|
50
|
-
function
|
|
51
|
-
const l =
|
|
52
|
-
userConfig:
|
|
53
|
-
defaultConfig:
|
|
51
|
+
function we() {
|
|
52
|
+
const l = Ye({
|
|
53
|
+
userConfig: O.config,
|
|
54
|
+
defaultConfig: Ee
|
|
54
55
|
});
|
|
55
56
|
return l.theme ? {
|
|
56
|
-
...
|
|
57
|
-
userConfig:
|
|
57
|
+
...Ye({
|
|
58
|
+
userConfig: ot.vue_ui_scatter[l.theme] || O.config,
|
|
58
59
|
defaultConfig: l
|
|
59
60
|
}),
|
|
60
|
-
customPalette:
|
|
61
|
+
customPalette: st[l.theme] || U
|
|
61
62
|
} : l;
|
|
62
63
|
}
|
|
63
|
-
|
|
64
|
-
e.value =
|
|
64
|
+
Je(() => O.config, (l) => {
|
|
65
|
+
e.value = we(), Me(), be.value += 1, ke.value += 1, _e.value += 1;
|
|
65
66
|
}, { deep: !0 });
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
const te = p(null);
|
|
68
|
+
Ke(() => {
|
|
69
|
+
Me();
|
|
69
70
|
});
|
|
70
|
-
function
|
|
71
|
-
if (
|
|
71
|
+
function Me() {
|
|
72
|
+
if (ut(O.dataset) && pe({
|
|
72
73
|
componentName: "VueUiScatter",
|
|
73
74
|
type: "dataset"
|
|
74
75
|
}), e.value.responsive) {
|
|
75
|
-
const l =
|
|
76
|
-
const { width: i, height: t } =
|
|
77
|
-
chart:
|
|
78
|
-
title: e.value.style.title.text ?
|
|
79
|
-
legend: e.value.style.legend.show ?
|
|
76
|
+
const l = ft(() => {
|
|
77
|
+
const { width: i, height: t } = gt({
|
|
78
|
+
chart: H.value,
|
|
79
|
+
title: e.value.style.title.text ? xe.value : null,
|
|
80
|
+
legend: e.value.style.legend.show ? me.value : null
|
|
80
81
|
});
|
|
81
82
|
z.value.width = i, z.value.height = t;
|
|
82
83
|
});
|
|
83
|
-
|
|
84
|
+
te.value = new ResizeObserver(l), te.value.observe(H.value.parentNode);
|
|
84
85
|
}
|
|
85
86
|
}
|
|
86
|
-
|
|
87
|
-
|
|
87
|
+
Qe(() => {
|
|
88
|
+
te.value && te.value.disconnect();
|
|
88
89
|
});
|
|
89
|
-
const { isPrinting:
|
|
90
|
+
const { isPrinting: $e, isImaging: Ce, generatePdf: ze, generateImage: Ae } = mt({
|
|
90
91
|
elementId: `vue-ui-scatter_${C.value}`,
|
|
91
92
|
fileName: e.value.style.title.text || "vue-ui-scatter"
|
|
92
|
-
}),
|
|
93
|
+
}), Se = k(() => rt(e.value.customPalette)), I = p({
|
|
93
94
|
showTable: e.value.table.show,
|
|
94
95
|
showTooltip: e.value.style.tooltip.show
|
|
95
|
-
}), z =
|
|
96
|
+
}), z = p({
|
|
96
97
|
height: e.value.style.layout.height,
|
|
97
98
|
width: e.value.style.layout.width
|
|
98
|
-
}),
|
|
99
|
-
top: e.value.style.layout.padding.top +
|
|
100
|
-
right: z.value.width - e.value.style.layout.padding.right -
|
|
99
|
+
}), le = k(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), u = k(() => ({
|
|
100
|
+
top: e.value.style.layout.padding.top + le.value,
|
|
101
|
+
right: z.value.width - e.value.style.layout.padding.right - le.value,
|
|
101
102
|
bottom: z.value.height - e.value.style.layout.padding.bottom,
|
|
102
103
|
left: e.value.style.layout.padding.left,
|
|
103
|
-
height: z.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom -
|
|
104
|
-
width: z.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right -
|
|
104
|
+
height: z.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - le.value,
|
|
105
|
+
width: z.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - le.value
|
|
105
106
|
})), h = k(() => {
|
|
106
|
-
|
|
107
|
-
|
|
107
|
+
O.dataset.forEach((a, n) => {
|
|
108
|
+
Ie({
|
|
108
109
|
datasetObject: a,
|
|
109
110
|
requiredAttributes: ["values"]
|
|
110
111
|
}).forEach((m) => {
|
|
111
|
-
|
|
112
|
+
pe({
|
|
112
113
|
componentName: "VueUiScatter",
|
|
113
114
|
type: "datasetSerieAttribute",
|
|
114
115
|
property: m,
|
|
115
116
|
index: n
|
|
116
117
|
});
|
|
117
|
-
}), a.values && a.values.forEach((m,
|
|
118
|
-
|
|
118
|
+
}), a.values && a.values.forEach((m, E) => {
|
|
119
|
+
Ie({
|
|
119
120
|
datasetObject: m,
|
|
120
121
|
requiredAttributes: ["x", "y"]
|
|
121
|
-
}).forEach((
|
|
122
|
-
|
|
122
|
+
}).forEach((J) => {
|
|
123
|
+
pe({
|
|
123
124
|
componentName: "VueUiScatter",
|
|
124
125
|
type: "datasetSerieAttribute",
|
|
125
|
-
property: `values.${
|
|
126
|
-
index: `${n} - ${
|
|
126
|
+
property: `values.${J}`,
|
|
127
|
+
index: `${n} - ${E}`
|
|
127
128
|
});
|
|
128
129
|
});
|
|
129
130
|
});
|
|
130
131
|
});
|
|
131
|
-
const l = Math.min(...
|
|
132
|
+
const l = Math.min(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), i = Math.max(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), t = Math.min(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y))), s = Math.max(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y)));
|
|
132
133
|
return { xMin: l >= 0 ? 0 : l, xMax: i, yMin: t >= 0 ? 0 : t, yMax: s };
|
|
133
|
-
}),
|
|
134
|
+
}), f = k(() => ({
|
|
134
135
|
x: u.value.left + Math.abs(h.value.xMin) / (h.value.xMax + Math.abs(h.value.xMin)) * u.value.width,
|
|
135
136
|
y: u.value.bottom - Math.abs(h.value.yMin) / (h.value.yMax + Math.abs(h.value.yMin)) * u.value.height
|
|
136
|
-
})),
|
|
137
|
+
})), V = k(() => O.dataset.map((l, i) => {
|
|
137
138
|
const t = `cluster_${C.value}_${i}`;
|
|
138
139
|
return {
|
|
139
140
|
...l,
|
|
140
141
|
id: t,
|
|
141
|
-
color: l.color ? l.color :
|
|
142
|
+
color: l.color ? l.color : Se.value[i] || U[i] || U[i % U.length],
|
|
142
143
|
opacity: x.value.includes(t) ? 0.5 : 1,
|
|
143
144
|
shape: l.shape ?? "circle",
|
|
144
|
-
segregate: () =>
|
|
145
|
+
segregate: () => Pe(t),
|
|
145
146
|
isSegregated: x.value.includes(t)
|
|
146
147
|
};
|
|
147
|
-
})),
|
|
148
|
+
})), Re = k(() => ({
|
|
148
149
|
cy: "scatter-div-legend",
|
|
149
150
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
150
151
|
color: e.value.style.legend.color,
|
|
151
152
|
fontSize: e.value.style.legend.fontSize,
|
|
152
153
|
paddingBottom: 12,
|
|
153
154
|
fontWeight: e.value.style.legend.bold ? "bold" : ""
|
|
154
|
-
})),
|
|
155
|
+
})), ie = k(() => V.value.map((l, i) => ({
|
|
155
156
|
...l,
|
|
156
157
|
plots: l.values.map((t) => ({
|
|
157
158
|
x: u.value.left + (t.x + Math.abs(h.value.xMin)) / (h.value.xMax + Math.abs(h.value.xMin)) * u.value.width,
|
|
@@ -161,77 +162,77 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
161
162
|
name: t.name || ""
|
|
162
163
|
},
|
|
163
164
|
clusterName: l.name,
|
|
164
|
-
color: l.color ? l.color :
|
|
165
|
+
color: l.color ? l.color : Se.value[i] || U[i] || U[i % U.length],
|
|
165
166
|
id: `plot_${C.value}_${Math.random()}`,
|
|
166
167
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
167
168
|
}))
|
|
168
|
-
})).filter((l) => !x.value.includes(l.id))), S = k(() =>
|
|
169
|
-
const i = l.plots.reduce((
|
|
169
|
+
})).filter((l) => !x.value.includes(l.id))), S = k(() => ie.value.map((l) => {
|
|
170
|
+
const i = 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;
|
|
170
171
|
let s = 0, a = 0, n = 0;
|
|
171
|
-
for (const
|
|
172
|
-
s += (
|
|
173
|
-
const m = s / Math.sqrt(a * n),
|
|
172
|
+
for (const g of l.plots)
|
|
173
|
+
s += (g.x - i) * (g.y - t), a += (g.x - i) ** 2, n += (g.y - t) ** 2;
|
|
174
|
+
const m = s / Math.sqrt(a * n), E = m * (Math.sqrt(n) / Math.sqrt(a)), J = t - E * i, N = {
|
|
174
175
|
x1: u.value.left,
|
|
175
176
|
x2: u.value.right,
|
|
176
|
-
y1:
|
|
177
|
-
y2:
|
|
177
|
+
y1: E * u.value.left + J,
|
|
178
|
+
y2: E * u.value.right + J,
|
|
178
179
|
coefficient: m
|
|
179
|
-
},
|
|
180
|
-
x:
|
|
181
|
-
y:
|
|
180
|
+
}, w = (N.y2 - N.y1) / (N.x2 - N.x1), T = N.y1 - w * N.x1, F = Math.min(z.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (u.value.top - T) / w)), se = {
|
|
181
|
+
x: F,
|
|
182
|
+
y: w * F + T <= e.value.style.layout.padding.top ? u.value.top : w * F + T
|
|
182
183
|
};
|
|
183
184
|
return {
|
|
184
185
|
...l,
|
|
185
186
|
correlation: N,
|
|
186
|
-
label:
|
|
187
|
-
plots: l.plots.map((
|
|
188
|
-
const
|
|
187
|
+
label: se,
|
|
188
|
+
plots: l.plots.map((g) => {
|
|
189
|
+
const G = (g.x + w * g.y - w * T) / (1 + Math.pow(w, 2)), ye = (w * g.x + Math.pow(w, 2) * g.y + T) / (1 + Math.pow(w, 2)), b = Math.sqrt(Math.pow(g.x - G, 2) + Math.pow(g.y - ye, 2));
|
|
189
190
|
return {
|
|
190
|
-
...
|
|
191
|
+
...g,
|
|
191
192
|
deviation: b,
|
|
192
193
|
shape: l.shape,
|
|
193
194
|
color: l.color
|
|
194
195
|
};
|
|
195
196
|
})
|
|
196
197
|
};
|
|
197
|
-
})),
|
|
198
|
-
function
|
|
198
|
+
})), Le = k(() => Math.max(...S.value.flatMap((l) => l.plots.map((i) => Math.abs(i.deviation)))));
|
|
199
|
+
function qe() {
|
|
199
200
|
return S.value;
|
|
200
201
|
}
|
|
201
|
-
function
|
|
202
|
-
const t = Array.isArray(l) ? l.flatMap((b) => b.plots.map((
|
|
203
|
-
x:
|
|
204
|
-
y:
|
|
202
|
+
function Te(l, i) {
|
|
203
|
+
const t = Array.isArray(l) ? l.flatMap((b) => b.plots.map((R) => ({
|
|
204
|
+
x: R.x,
|
|
205
|
+
y: R.y
|
|
205
206
|
}))) : l.plots.map((b) => ({
|
|
206
207
|
x: b.x,
|
|
207
208
|
y: b.y
|
|
208
209
|
}));
|
|
209
210
|
let s = 1 / 0, a = -1 / 0, n = 1 / 0, m = -1 / 0;
|
|
210
|
-
t.forEach(({ x: b, y:
|
|
211
|
-
s = Math.min(s, b), a = Math.max(a, b), n = Math.min(n,
|
|
211
|
+
t.forEach(({ x: b, y: R }) => {
|
|
212
|
+
s = Math.min(s, b), a = Math.max(a, b), n = Math.min(n, R), m = Math.max(m, R);
|
|
212
213
|
});
|
|
213
|
-
const
|
|
214
|
-
t.forEach(({ x: b, y:
|
|
215
|
-
const
|
|
216
|
-
|
|
214
|
+
const E = a - s, J = m - n, N = E / i, w = J / i, T = Array(i).fill(0), F = Array(i).fill(0);
|
|
215
|
+
t.forEach(({ x: b, y: R }) => {
|
|
216
|
+
const ce = Math.floor((b - s) / N), de = Math.floor((R - n) / w);
|
|
217
|
+
T[ce] || (T[ce] = 0), F[de] || (F[de] = 0), T[ce] += 1, F[de] += 1;
|
|
217
218
|
});
|
|
218
|
-
const
|
|
219
|
+
const se = [], g = [];
|
|
219
220
|
for (let b = 0; b < i; b += 1)
|
|
220
|
-
|
|
221
|
-
const
|
|
222
|
-
return { x:
|
|
221
|
+
se.push(s + (b + 0.5) * N), g.push(n + (b + 0.5) * w);
|
|
222
|
+
const G = Math.max(...T), ye = Math.max(...F);
|
|
223
|
+
return { x: T, y: F, avgX: se, avgY: g, maxX: G, maxY: ye };
|
|
223
224
|
}
|
|
224
|
-
const D = k(() => e.value.style.layout.marginalBars.tranches),
|
|
225
|
+
const D = k(() => e.value.style.layout.marginalBars.tranches), L = k(() => Te(ie.value, D.value)), Ue = k(() => {
|
|
225
226
|
const l = u.value.top - e.value.style.layout.marginalBars.offset, i = u.value.right + e.value.style.layout.marginalBars.offset;
|
|
226
|
-
return
|
|
227
|
-
const s =
|
|
227
|
+
return ie.value.map((t) => {
|
|
228
|
+
const s = Te(t, D.value);
|
|
228
229
|
return {
|
|
229
230
|
coords: s,
|
|
230
|
-
dX:
|
|
231
|
+
dX: it(s.avgX.map((a, n) => ({
|
|
231
232
|
x: a,
|
|
232
233
|
y: l - s.x[n] / s.maxX * e.value.style.layout.marginalBars.size
|
|
233
234
|
}))),
|
|
234
|
-
dY:
|
|
235
|
+
dY: nt(s.avgY.map((a, n) => ({
|
|
235
236
|
y: a,
|
|
236
237
|
x: i + e.value.style.layout.marginalBars.size * s.y[n] / s.maxY
|
|
237
238
|
}))),
|
|
@@ -239,28 +240,28 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
239
240
|
id: t.id
|
|
240
241
|
};
|
|
241
242
|
});
|
|
242
|
-
}), B =
|
|
243
|
-
function
|
|
244
|
-
B.value = l.id,
|
|
243
|
+
}), B = p(void 0), y = p(null), ne = p(null);
|
|
244
|
+
function Be(l, i) {
|
|
245
|
+
B.value = l.id, y.value = l;
|
|
245
246
|
let t = "";
|
|
246
|
-
|
|
247
|
+
ne.value = {
|
|
247
248
|
datapoint: l,
|
|
248
249
|
seriesIndex: i,
|
|
249
250
|
series: S.value,
|
|
250
251
|
config: e.value
|
|
251
252
|
};
|
|
252
253
|
const s = e.value.style.tooltip.customFormat;
|
|
253
|
-
|
|
254
|
+
ct(s) && dt(() => s({
|
|
254
255
|
datapoint: l,
|
|
255
256
|
seriesIndex: i,
|
|
256
257
|
series: S.value,
|
|
257
258
|
config: e.value
|
|
258
|
-
})) ?
|
|
259
|
+
})) ? re.value = s({
|
|
259
260
|
datapoint: l,
|
|
260
261
|
seriesIndex: i,
|
|
261
262
|
series: S.value,
|
|
262
263
|
config: e.value
|
|
263
|
-
}) : (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) ? "-" :
|
|
264
|
+
}) : (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(
|
|
264
265
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
265
266
|
l.v.x,
|
|
266
267
|
W({
|
|
@@ -270,7 +271,7 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
270
271
|
r: e.value.style.tooltip.roundingValue
|
|
271
272
|
}),
|
|
272
273
|
{ datapoint: l, seriesIndex: i }
|
|
273
|
-
)}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" :
|
|
274
|
+
)}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : j(
|
|
274
275
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
275
276
|
l.v.y,
|
|
276
277
|
W({
|
|
@@ -283,28 +284,28 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
283
284
|
)}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${W({
|
|
284
285
|
v: l.deviation,
|
|
285
286
|
r: e.value.style.layout.plots.deviation.roundingValue
|
|
286
|
-
})}</b>`, t += "</div>",
|
|
287
|
+
})}</b>`, t += "</div>", re.value = `<div>${t}</div>`), ue.value = !0;
|
|
287
288
|
}
|
|
288
|
-
function
|
|
289
|
-
|
|
289
|
+
function Ne() {
|
|
290
|
+
ue.value = !1, B.value = void 0, y.value = null;
|
|
290
291
|
}
|
|
291
|
-
const x =
|
|
292
|
-
function
|
|
293
|
-
x.value.includes(l) ? x.value = x.value.filter((i) => i !== l) : x.value.length <
|
|
292
|
+
const x = p([]);
|
|
293
|
+
function Pe(l) {
|
|
294
|
+
x.value.includes(l) ? x.value = x.value.filter((i) => i !== l) : x.value.length < O.dataset.length - 1 && x.value.push(l);
|
|
294
295
|
}
|
|
295
|
-
function
|
|
296
|
-
|
|
296
|
+
function We() {
|
|
297
|
+
tt(() => {
|
|
297
298
|
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}`], i = S.value.map((a) => [
|
|
298
299
|
a.name,
|
|
299
300
|
a.correlation.coefficient,
|
|
300
301
|
a.plots.length,
|
|
301
302
|
a.plots.map((n) => n.v.x).reduce((n, m) => n + m, 0) / a.plots.length,
|
|
302
303
|
a.plots.map((n) => n.v.y).reduce((n, m) => n + m, 0) / a.plots.length
|
|
303
|
-
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i), s =
|
|
304
|
-
|
|
304
|
+
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i), s = ht(t);
|
|
305
|
+
pt({ csvContent: s, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
305
306
|
});
|
|
306
307
|
}
|
|
307
|
-
const
|
|
308
|
+
const ae = k(() => {
|
|
308
309
|
const l = [
|
|
309
310
|
e.value.table.translations.series,
|
|
310
311
|
e.value.table.translations.correlationCoefficient,
|
|
@@ -335,38 +336,51 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
335
336
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
336
337
|
};
|
|
337
338
|
return { head: l, body: i, config: t, colNames: l };
|
|
338
|
-
}), K =
|
|
339
|
-
function
|
|
340
|
-
K.value = l,
|
|
339
|
+
}), K = p(!1);
|
|
340
|
+
function He(l) {
|
|
341
|
+
K.value = l, ge.value += 1;
|
|
341
342
|
}
|
|
342
|
-
function
|
|
343
|
+
function Oe() {
|
|
343
344
|
I.value.showTable = !I.value.showTable;
|
|
344
345
|
}
|
|
345
|
-
function
|
|
346
|
+
function Fe() {
|
|
346
347
|
I.value.showTooltip = !I.value.showTooltip;
|
|
347
348
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
349
|
+
const oe = p(!1);
|
|
350
|
+
function ve() {
|
|
351
|
+
oe.value = !oe.value;
|
|
352
|
+
}
|
|
353
|
+
return Ve({
|
|
354
|
+
getData: qe,
|
|
355
|
+
generatePdf: ze,
|
|
356
|
+
generateCsv: We,
|
|
357
|
+
generateImage: Ae,
|
|
358
|
+
toggleTable: Oe,
|
|
359
|
+
toggleTooltip: Fe,
|
|
360
|
+
toggleAnnotator: ve
|
|
355
361
|
}), (l, i) => (o(), r("div", {
|
|
356
|
-
class:
|
|
362
|
+
class: Xe(`vue-ui-scatter ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
357
363
|
ref_key: "scatterChart",
|
|
358
|
-
ref:
|
|
364
|
+
ref: H,
|
|
359
365
|
id: `vue-ui-scatter_${C.value}`,
|
|
360
|
-
style:
|
|
366
|
+
style: q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
|
|
361
367
|
}, [
|
|
362
|
-
e.value.
|
|
368
|
+
e.value.userOptions.buttons.annotator ? (o(), Y(zt, {
|
|
363
369
|
key: 0,
|
|
370
|
+
parent: H.value,
|
|
371
|
+
backgroundColor: e.value.style.backgroundColor,
|
|
372
|
+
color: e.value.style.color,
|
|
373
|
+
active: oe.value,
|
|
374
|
+
onClose: ve
|
|
375
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
|
|
376
|
+
e.value.style.title.text ? (o(), r("div", {
|
|
377
|
+
key: 1,
|
|
364
378
|
ref_key: "chartTitle",
|
|
365
|
-
ref:
|
|
379
|
+
ref: xe,
|
|
366
380
|
style: "width:100%;background:transparent"
|
|
367
381
|
}, [
|
|
368
|
-
(o(),
|
|
369
|
-
key: `title_${
|
|
382
|
+
(o(), Y(xt, {
|
|
383
|
+
key: `title_${be.value}`,
|
|
370
384
|
config: {
|
|
371
385
|
title: {
|
|
372
386
|
cy: "scatter-div-title",
|
|
@@ -379,14 +393,14 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
379
393
|
}
|
|
380
394
|
}, null, 8, ["config"]))
|
|
381
395
|
], 512)) : d("", !0),
|
|
382
|
-
e.value.userOptions.show &&
|
|
396
|
+
e.value.userOptions.show && ee.value ? (o(), Y(bt, {
|
|
383
397
|
ref_key: "details",
|
|
384
|
-
ref:
|
|
385
|
-
key: `user_options_${
|
|
398
|
+
ref: Ge,
|
|
399
|
+
key: `user_options_${ge.value}`,
|
|
386
400
|
backgroundColor: e.value.style.backgroundColor,
|
|
387
401
|
color: e.value.style.color,
|
|
388
|
-
isImaging:
|
|
389
|
-
isPrinting:
|
|
402
|
+
isImaging: v(Ce),
|
|
403
|
+
isPrinting: v($e),
|
|
390
404
|
uid: C.value,
|
|
391
405
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
392
406
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -397,128 +411,138 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
397
411
|
isTooltip: I.value.showTooltip,
|
|
398
412
|
isFullscreen: K.value,
|
|
399
413
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
400
|
-
chartElement:
|
|
414
|
+
chartElement: H.value,
|
|
401
415
|
position: e.value.userOptions.position,
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
416
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
417
|
+
isAnnotation: oe.value,
|
|
418
|
+
onToggleFullscreen: He,
|
|
419
|
+
onGeneratePdf: v(ze),
|
|
420
|
+
onGenerateCsv: We,
|
|
421
|
+
onGenerateImage: v(Ae),
|
|
422
|
+
onToggleTable: Oe,
|
|
423
|
+
onToggleTooltip: Fe,
|
|
424
|
+
onToggleAnnotator: ve
|
|
425
|
+
}, Ze({ _: 2 }, [
|
|
409
426
|
l.$slots.optionTooltip ? {
|
|
410
427
|
name: "optionTooltip",
|
|
411
|
-
fn:
|
|
412
|
-
|
|
428
|
+
fn: _(() => [
|
|
429
|
+
A(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
413
430
|
]),
|
|
414
431
|
key: "0"
|
|
415
432
|
} : void 0,
|
|
416
433
|
l.$slots.optionPdf ? {
|
|
417
434
|
name: "optionPdf",
|
|
418
|
-
fn:
|
|
419
|
-
|
|
435
|
+
fn: _(() => [
|
|
436
|
+
A(l.$slots, "optionPdf", {}, void 0, !0)
|
|
420
437
|
]),
|
|
421
438
|
key: "1"
|
|
422
439
|
} : void 0,
|
|
423
440
|
l.$slots.optionCsv ? {
|
|
424
441
|
name: "optionCsv",
|
|
425
|
-
fn:
|
|
426
|
-
|
|
442
|
+
fn: _(() => [
|
|
443
|
+
A(l.$slots, "optionCsv", {}, void 0, !0)
|
|
427
444
|
]),
|
|
428
445
|
key: "2"
|
|
429
446
|
} : void 0,
|
|
430
447
|
l.$slots.optionImg ? {
|
|
431
448
|
name: "optionImg",
|
|
432
|
-
fn:
|
|
433
|
-
|
|
449
|
+
fn: _(() => [
|
|
450
|
+
A(l.$slots, "optionImg", {}, void 0, !0)
|
|
434
451
|
]),
|
|
435
452
|
key: "3"
|
|
436
453
|
} : void 0,
|
|
437
454
|
l.$slots.optionTable ? {
|
|
438
455
|
name: "optionTable",
|
|
439
|
-
fn:
|
|
440
|
-
|
|
456
|
+
fn: _(() => [
|
|
457
|
+
A(l.$slots, "optionTable", {}, void 0, !0)
|
|
441
458
|
]),
|
|
442
459
|
key: "4"
|
|
443
460
|
} : void 0,
|
|
444
461
|
l.$slots.optionFullscreen ? {
|
|
445
462
|
name: "optionFullscreen",
|
|
446
|
-
fn:
|
|
447
|
-
|
|
463
|
+
fn: _(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
464
|
+
A(l.$slots, "optionFullscreen", Q(Z({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
448
465
|
]),
|
|
449
466
|
key: "5"
|
|
467
|
+
} : void 0,
|
|
468
|
+
l.$slots.optionAnnotator ? {
|
|
469
|
+
name: "optionAnnotator",
|
|
470
|
+
fn: _(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
471
|
+
A(l.$slots, "optionAnnotator", Q(Z({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
472
|
+
]),
|
|
473
|
+
key: "6"
|
|
450
474
|
} : void 0
|
|
451
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
452
|
-
|
|
453
|
-
key:
|
|
454
|
-
xmlns:
|
|
455
|
-
class:
|
|
475
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
476
|
+
ee.value ? (o(), r("svg", {
|
|
477
|
+
key: 3,
|
|
478
|
+
xmlns: v(vt),
|
|
479
|
+
class: Xe({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
|
|
456
480
|
viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
|
|
457
|
-
style:
|
|
481
|
+
style: q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
|
|
458
482
|
}, [
|
|
459
|
-
|
|
460
|
-
e.value.style.layout.axis.show ? (o(), r("g",
|
|
483
|
+
he(Ct),
|
|
484
|
+
e.value.style.layout.axis.show ? (o(), r("g", Tt, [
|
|
461
485
|
c("line", {
|
|
462
|
-
x1:
|
|
463
|
-
x2:
|
|
486
|
+
x1: f.value.x,
|
|
487
|
+
x2: f.value.x,
|
|
464
488
|
y1: u.value.top,
|
|
465
489
|
y2: u.value.bottom,
|
|
466
490
|
stroke: e.value.style.layout.axis.stroke,
|
|
467
491
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
468
492
|
"stroke-linecap": "round"
|
|
469
|
-
}, null, 8,
|
|
493
|
+
}, null, 8, Bt),
|
|
470
494
|
c("line", {
|
|
471
495
|
x1: u.value.left,
|
|
472
496
|
x2: u.value.right,
|
|
473
|
-
y1:
|
|
474
|
-
y2:
|
|
497
|
+
y1: f.value.y,
|
|
498
|
+
y2: f.value.y,
|
|
475
499
|
stroke: e.value.style.layout.axis.stroke,
|
|
476
500
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
477
501
|
"stroke-linecap": "round"
|
|
478
|
-
}, null, 8,
|
|
502
|
+
}, null, 8, Nt)
|
|
479
503
|
])) : d("", !0),
|
|
480
|
-
e.value.style.layout.plots.giftWrap.show ? (o(), r("g",
|
|
504
|
+
e.value.style.layout.plots.giftWrap.show ? (o(), r("g", Pt, [
|
|
481
505
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
482
506
|
t.plots.length > 2 ? (o(), r("polygon", {
|
|
483
507
|
key: 0,
|
|
484
|
-
points:
|
|
485
|
-
fill:
|
|
508
|
+
points: v(yt)({ series: t.plots }),
|
|
509
|
+
fill: v(fe)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
|
|
486
510
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
487
511
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
488
512
|
stroke: t.color,
|
|
489
513
|
"stroke-linejoin": "round",
|
|
490
514
|
"stroke-linecap": "round"
|
|
491
|
-
}, null, 8,
|
|
515
|
+
}, null, 8, Wt)) : d("", !0)
|
|
492
516
|
]))), 256))
|
|
493
517
|
])) : d("", !0),
|
|
494
518
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
495
|
-
!t.shape || t.shape === "circle" ? (o(), r("g",
|
|
519
|
+
!t.shape || t.shape === "circle" ? (o(), r("g", Ot, [
|
|
496
520
|
(o(!0), r(P, null, X(t.plots, (a, n) => (o(), r("circle", {
|
|
497
521
|
cx: a.x,
|
|
498
522
|
cy: a.y,
|
|
499
523
|
r: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
500
|
-
fill:
|
|
524
|
+
fill: v(fe)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
501
525
|
stroke: e.value.style.layout.plots.stroke,
|
|
502
526
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
503
|
-
onMouseover: (m) =>
|
|
504
|
-
onMouseleave:
|
|
505
|
-
style:
|
|
506
|
-
}, null, 44,
|
|
507
|
-
])) : (o(), r("g",
|
|
508
|
-
(o(!0), r(P, null, X(t.plots, (a, n) => (o(),
|
|
527
|
+
onMouseover: (m) => Be(a, s),
|
|
528
|
+
onMouseleave: Ne,
|
|
529
|
+
style: q(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Le.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}`)
|
|
530
|
+
}, null, 44, Ft))), 256))
|
|
531
|
+
])) : (o(), r("g", Xt, [
|
|
532
|
+
(o(!0), r(P, null, X(t.plots, (a, n) => (o(), Y(De, {
|
|
509
533
|
plot: { x: a.x, y: a.y },
|
|
510
534
|
radius: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
511
535
|
shape: t.shape,
|
|
512
|
-
color:
|
|
536
|
+
color: v(fe)(t.color, e.value.style.layout.plots.opacity * 100),
|
|
513
537
|
stroke: e.value.style.layout.plots.stroke,
|
|
514
538
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
515
|
-
onMouseover: (m) =>
|
|
516
|
-
onMouseleave:
|
|
517
|
-
style:
|
|
539
|
+
onMouseover: (m) => Be(a, s),
|
|
540
|
+
onMouseleave: Ne,
|
|
541
|
+
style: q(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Le.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}`)
|
|
518
542
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
|
|
519
543
|
]))
|
|
520
544
|
]))), 256)),
|
|
521
|
-
e.value.style.layout.marginalBars.show ? (o(), r("g",
|
|
545
|
+
e.value.style.layout.marginalBars.show ? (o(), r("g", It, [
|
|
522
546
|
c("defs", null, [
|
|
523
547
|
c("linearGradient", {
|
|
524
548
|
id: `marginal_x_${C.value}`,
|
|
@@ -530,12 +554,12 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
530
554
|
c("stop", {
|
|
531
555
|
offset: "0%",
|
|
532
556
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
533
|
-
}, null, 8,
|
|
557
|
+
}, null, 8, Yt),
|
|
534
558
|
c("stop", {
|
|
535
559
|
offset: "100%",
|
|
536
560
|
"stop-color": e.value.style.backgroundColor
|
|
537
|
-
}, null, 8,
|
|
538
|
-
], 8,
|
|
561
|
+
}, null, 8, jt)
|
|
562
|
+
], 8, Dt),
|
|
539
563
|
c("linearGradient", {
|
|
540
564
|
id: `marginal_y_${C.value}`,
|
|
541
565
|
x1: "0%",
|
|
@@ -546,43 +570,43 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
546
570
|
c("stop", {
|
|
547
571
|
offset: "0%",
|
|
548
572
|
"stop-color": e.value.style.backgroundColor
|
|
549
|
-
}, null, 8,
|
|
573
|
+
}, null, 8, Et),
|
|
550
574
|
c("stop", {
|
|
551
575
|
offset: "100%",
|
|
552
576
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
553
|
-
}, null, 8,
|
|
554
|
-
], 8,
|
|
577
|
+
}, null, 8, Gt)
|
|
578
|
+
], 8, Vt)
|
|
555
579
|
]),
|
|
556
|
-
(o(!0), r(P, null, X(
|
|
557
|
-
t &&
|
|
580
|
+
(o(!0), r(P, null, X(L.value.x, (t, s) => (o(), r("g", null, [
|
|
581
|
+
t && L.value.avgX[s] ? (o(), r("rect", {
|
|
558
582
|
key: 0,
|
|
559
|
-
x:
|
|
560
|
-
y: u.value.top - e.value.style.layout.marginalBars.offset - t /
|
|
583
|
+
x: L.value.avgX[s] - u.value.width / D.value / 2,
|
|
584
|
+
y: u.value.top - e.value.style.layout.marginalBars.offset - t / L.value.maxX * e.value.style.layout.marginalBars.size,
|
|
561
585
|
width: u.value.width / D.value <= 0 ? 1e-4 : u.value.width / D.value,
|
|
562
|
-
height: t /
|
|
586
|
+
height: t / L.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / L.value.maxX * e.value.style.layout.marginalBars.size,
|
|
563
587
|
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${C.value})` : e.value.style.layout.marginalBars.fill,
|
|
564
|
-
style:
|
|
588
|
+
style: q(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
565
589
|
stroke: e.value.style.backgroundColor,
|
|
566
590
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
567
591
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
568
|
-
}, null, 12,
|
|
592
|
+
}, null, 12, Rt)) : d("", !0)
|
|
569
593
|
]))), 256)),
|
|
570
|
-
(o(!0), r(P, null, X(
|
|
571
|
-
t &&
|
|
594
|
+
(o(!0), r(P, null, X(L.value.y, (t, s) => (o(), r("g", null, [
|
|
595
|
+
t && L.value.avgY[s] ? (o(), r("rect", {
|
|
572
596
|
key: 0,
|
|
573
597
|
x: u.value.right + e.value.style.layout.marginalBars.offset,
|
|
574
|
-
y:
|
|
598
|
+
y: L.value.avgY[s] - u.value.height / D.value / 2,
|
|
575
599
|
height: u.value.height / D.value <= 0 ? 1e-4 : u.value.height / D.value,
|
|
576
|
-
width: t /
|
|
600
|
+
width: t / L.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / L.value.maxY * e.value.style.layout.marginalBars.size,
|
|
577
601
|
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${C.value})` : e.value.style.layout.marginalBars.fill,
|
|
578
|
-
style:
|
|
602
|
+
style: q(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
579
603
|
stroke: e.value.style.backgroundColor,
|
|
580
604
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
581
605
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
582
|
-
}, null, 12,
|
|
606
|
+
}, null, 12, qt)) : d("", !0)
|
|
583
607
|
]))), 256)),
|
|
584
|
-
e.value.style.layout.marginalBars.showLines ? (o(), r("g",
|
|
585
|
-
(o(!0), r(P, null, X(
|
|
608
|
+
e.value.style.layout.marginalBars.showLines ? (o(), r("g", Ut, [
|
|
609
|
+
(o(!0), r(P, null, X(Ue.value, (t) => (o(), r(P, null, [
|
|
586
610
|
x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
|
|
587
611
|
key: 0,
|
|
588
612
|
d: `M ${t.dX}`,
|
|
@@ -591,7 +615,7 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
591
615
|
"stroke-linecap": "round",
|
|
592
616
|
"stroke-linejoin": "round",
|
|
593
617
|
fill: "none"
|
|
594
|
-
}, null, 8,
|
|
618
|
+
}, null, 8, Ht)),
|
|
595
619
|
x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
|
|
596
620
|
key: 1,
|
|
597
621
|
d: `M ${t.dX}`,
|
|
@@ -600,7 +624,7 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
600
624
|
"stroke-linecap": "round",
|
|
601
625
|
"stroke-linejoin": "round",
|
|
602
626
|
fill: "none"
|
|
603
|
-
}, null, 8,
|
|
627
|
+
}, null, 8, Jt)),
|
|
604
628
|
x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
|
|
605
629
|
key: 2,
|
|
606
630
|
d: `M ${t.dY}`,
|
|
@@ -609,7 +633,7 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
609
633
|
"stroke-linecap": "round",
|
|
610
634
|
"stroke-linejoin": "round",
|
|
611
635
|
fill: "none"
|
|
612
|
-
}, null, 8,
|
|
636
|
+
}, null, 8, Kt)),
|
|
613
637
|
x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
|
|
614
638
|
key: 3,
|
|
615
639
|
d: `M ${t.dY}`,
|
|
@@ -618,130 +642,130 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
618
642
|
"stroke-linecap": "round",
|
|
619
643
|
"stroke-linejoin": "round",
|
|
620
644
|
fill: "none"
|
|
621
|
-
}, null, 8,
|
|
645
|
+
}, null, 8, Qt))
|
|
622
646
|
], 64))), 256))
|
|
623
647
|
])) : d("", !0)
|
|
624
648
|
])) : d("", !0),
|
|
625
|
-
|
|
649
|
+
y.value && e.value.style.layout.plots.selectors.show ? (o(), r("g", Zt, [
|
|
626
650
|
c("line", {
|
|
627
|
-
x1:
|
|
628
|
-
x2:
|
|
629
|
-
y1:
|
|
630
|
-
y2:
|
|
651
|
+
x1: f.value.x,
|
|
652
|
+
x2: y.value.x,
|
|
653
|
+
y1: y.value.y,
|
|
654
|
+
y2: y.value.y,
|
|
631
655
|
stroke: e.value.style.layout.plots.selectors.stroke,
|
|
632
656
|
"stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
|
|
633
657
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
634
658
|
"stroke-linecap": "round",
|
|
635
659
|
class: "line-pointer"
|
|
636
|
-
}, null, 8,
|
|
660
|
+
}, null, 8, el),
|
|
637
661
|
c("line", {
|
|
638
|
-
x1:
|
|
639
|
-
x2:
|
|
640
|
-
y1:
|
|
641
|
-
y2:
|
|
662
|
+
x1: y.value.x,
|
|
663
|
+
x2: y.value.x,
|
|
664
|
+
y1: f.value.y,
|
|
665
|
+
y2: y.value.y,
|
|
642
666
|
stroke: e.value.style.layout.plots.selectors.stroke,
|
|
643
667
|
"stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
|
|
644
668
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
645
669
|
"stroke-linecap": "round",
|
|
646
670
|
class: "line-pointer"
|
|
647
|
-
}, null, 8,
|
|
671
|
+
}, null, 8, tl),
|
|
648
672
|
c("text", {
|
|
649
|
-
x:
|
|
650
|
-
y:
|
|
673
|
+
x: f.value.x + (y.value.x > f.value.x ? -6 : 6),
|
|
674
|
+
y: y.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
651
675
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
652
676
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
653
677
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
654
|
-
"text-anchor":
|
|
655
|
-
}, M(
|
|
678
|
+
"text-anchor": y.value.x > f.value.x ? "end" : "start"
|
|
679
|
+
}, M(v(j)(
|
|
656
680
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
657
|
-
|
|
658
|
-
|
|
681
|
+
v($)(y.value.v.y),
|
|
682
|
+
v(W)({
|
|
659
683
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
660
|
-
v:
|
|
684
|
+
v: v($)(y.value.v.y),
|
|
661
685
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
662
686
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
663
687
|
}),
|
|
664
|
-
{ datapoint:
|
|
665
|
-
)), 9,
|
|
688
|
+
{ datapoint: y.value }
|
|
689
|
+
)), 9, ll),
|
|
666
690
|
c("text", {
|
|
667
|
-
x:
|
|
668
|
-
y:
|
|
691
|
+
x: y.value.x,
|
|
692
|
+
y: f.value.y + (y.value.y > f.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
669
693
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
670
694
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
671
695
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
672
696
|
"text-anchor": "middle"
|
|
673
|
-
}, M(
|
|
697
|
+
}, M(v(j)(
|
|
674
698
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
675
|
-
|
|
676
|
-
|
|
699
|
+
v($)(y.value.v.x),
|
|
700
|
+
v(W)({
|
|
677
701
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
678
|
-
v:
|
|
702
|
+
v: v($)(y.value.v.x),
|
|
679
703
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
680
704
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
681
705
|
}),
|
|
682
|
-
{ datapoint:
|
|
683
|
-
)), 9,
|
|
706
|
+
{ datapoint: y.value }
|
|
707
|
+
)), 9, al),
|
|
684
708
|
c("circle", {
|
|
685
|
-
cx:
|
|
686
|
-
cy:
|
|
709
|
+
cx: f.value.x,
|
|
710
|
+
cy: y.value.y,
|
|
687
711
|
r: e.value.style.layout.plots.selectors.markers.radius,
|
|
688
712
|
fill: e.value.style.layout.plots.selectors.markers.fill,
|
|
689
713
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
690
714
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
691
715
|
class: "line-pointer"
|
|
692
|
-
}, null, 8,
|
|
716
|
+
}, null, 8, ol),
|
|
693
717
|
c("circle", {
|
|
694
|
-
cx:
|
|
695
|
-
cy:
|
|
718
|
+
cx: y.value.x,
|
|
719
|
+
cy: f.value.y,
|
|
696
720
|
r: e.value.style.layout.plots.selectors.markers.radius,
|
|
697
721
|
fill: e.value.style.layout.plots.selectors.markers.fill,
|
|
698
722
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
699
723
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
700
724
|
class: "line-pointer"
|
|
701
|
-
}, null, 8,
|
|
725
|
+
}, null, 8, sl),
|
|
702
726
|
e.value.style.layout.plots.selectors.labels.showName ? (o(), r("text", {
|
|
703
727
|
key: 0,
|
|
704
|
-
x:
|
|
705
|
-
y:
|
|
728
|
+
x: y.value.x,
|
|
729
|
+
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),
|
|
706
730
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
707
731
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
708
732
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
709
|
-
"text-anchor":
|
|
710
|
-
}, M(
|
|
733
|
+
"text-anchor": y.value.x < u.value.left + 100 ? "start" : y.value.x > u.value.right - 100 ? "end" : y.value.x > f.value.x ? "start" : "end"
|
|
734
|
+
}, M(y.value.v.name), 9, ul)) : d("", !0)
|
|
711
735
|
])) : d("", !0),
|
|
712
|
-
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g",
|
|
736
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g", rl, [
|
|
713
737
|
c("text", {
|
|
714
738
|
x: u.value.left - 5,
|
|
715
|
-
y:
|
|
739
|
+
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
716
740
|
"text-anchor": "end",
|
|
717
741
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
718
742
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
719
|
-
}, M(
|
|
743
|
+
}, M(v(j)(
|
|
720
744
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
721
|
-
|
|
722
|
-
|
|
745
|
+
v($)(h.value.xMin),
|
|
746
|
+
v(W)({
|
|
723
747
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
724
|
-
v:
|
|
748
|
+
v: v($)(h.value.xMin),
|
|
725
749
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
726
750
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
727
751
|
})
|
|
728
|
-
)), 9,
|
|
752
|
+
)), 9, il),
|
|
729
753
|
c("text", {
|
|
730
754
|
x: u.value.right + 3,
|
|
731
|
-
y:
|
|
755
|
+
y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
732
756
|
"text-anchor": "start",
|
|
733
757
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
734
758
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
735
|
-
}, M(
|
|
759
|
+
}, M(v(j)(
|
|
736
760
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
737
|
-
|
|
738
|
-
|
|
761
|
+
v($)(h.value.xMax),
|
|
762
|
+
v(W)({
|
|
739
763
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
740
|
-
v:
|
|
764
|
+
v: v($)(h.value.xMax),
|
|
741
765
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
742
766
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
743
767
|
})
|
|
744
|
-
)), 9,
|
|
768
|
+
)), 9, nl),
|
|
745
769
|
c("text", {
|
|
746
770
|
id: `vue-ui-scatter-xAxis-label-${C.value}`,
|
|
747
771
|
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${u.value.top + u.value.height / 2}), rotate(-90)`,
|
|
@@ -749,41 +773,41 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
749
773
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
750
774
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
751
775
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
752
|
-
}, M(e.value.style.layout.dataLabels.xAxis.name), 9,
|
|
776
|
+
}, M(e.value.style.layout.dataLabels.xAxis.name), 9, vl)
|
|
753
777
|
])) : d("", !0),
|
|
754
|
-
e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g",
|
|
778
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g", yl, [
|
|
755
779
|
c("text", {
|
|
756
|
-
x:
|
|
780
|
+
x: f.value.x,
|
|
757
781
|
y: u.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
|
|
758
782
|
"text-anchor": "middle",
|
|
759
783
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
760
784
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
761
|
-
}, M(
|
|
785
|
+
}, M(v(j)(
|
|
762
786
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
763
|
-
|
|
764
|
-
|
|
787
|
+
v($)(h.value.yMin),
|
|
788
|
+
v(W)({
|
|
765
789
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
766
|
-
v:
|
|
790
|
+
v: v($)(h.value.yMin),
|
|
767
791
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
768
792
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
769
793
|
})
|
|
770
|
-
)), 9,
|
|
794
|
+
)), 9, cl),
|
|
771
795
|
c("text", {
|
|
772
|
-
x:
|
|
796
|
+
x: f.value.x,
|
|
773
797
|
y: u.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
|
|
774
798
|
"text-anchor": "middle",
|
|
775
799
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
776
800
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
777
|
-
}, M(
|
|
801
|
+
}, M(v(j)(
|
|
778
802
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
779
|
-
|
|
780
|
-
|
|
803
|
+
v($)(h.value.yMax),
|
|
804
|
+
v(W)({
|
|
781
805
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
782
|
-
v:
|
|
806
|
+
v: v($)(h.value.yMax),
|
|
783
807
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
784
808
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
785
809
|
})
|
|
786
|
-
)), 9,
|
|
810
|
+
)), 9, dl),
|
|
787
811
|
c("text", {
|
|
788
812
|
"text-anchor": "middle",
|
|
789
813
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
@@ -791,7 +815,7 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
791
815
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
792
816
|
x: u.value.left + u.value.width / 2,
|
|
793
817
|
y: u.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
|
|
794
|
-
}, M(e.value.style.layout.dataLabels.yAxis.name), 9,
|
|
818
|
+
}, M(e.value.style.layout.dataLabels.yAxis.name), 9, hl)
|
|
795
819
|
])) : d("", !0),
|
|
796
820
|
c("clipPath", {
|
|
797
821
|
id: `clip_path_${C.value}`
|
|
@@ -801,9 +825,9 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
801
825
|
y: u.value.top,
|
|
802
826
|
width: u.value.width <= 0 ? 1e-4 : u.value.width,
|
|
803
827
|
height: u.value.height <= 0 ? 1e-4 : u.value.height
|
|
804
|
-
}, null, 8,
|
|
805
|
-
], 8,
|
|
806
|
-
e.value.style.layout.correlation.show ? (o(), r("g",
|
|
828
|
+
}, null, 8, fl)
|
|
829
|
+
], 8, pl),
|
|
830
|
+
e.value.style.layout.correlation.show ? (o(), r("g", gl, [
|
|
807
831
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("line", {
|
|
808
832
|
x1: t.correlation.x1,
|
|
809
833
|
x2: t.correlation.x2,
|
|
@@ -813,7 +837,7 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
813
837
|
stroke: t.color,
|
|
814
838
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
815
839
|
"clip-path": `url(#clip_path_${C.value})`
|
|
816
|
-
}, null, 8,
|
|
840
|
+
}, null, 8, xl))), 256)),
|
|
817
841
|
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
818
842
|
e.value.style.layout.correlation.label.show ? (o(), r("text", {
|
|
819
843
|
key: 0,
|
|
@@ -822,19 +846,19 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
822
846
|
fill: e.value.style.layout.correlation.label.useSerieColor ? t.color : e.value.style.layout.correlation.label.color,
|
|
823
847
|
"font-size": e.value.style.layout.correlation.label.fontSize,
|
|
824
848
|
"font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
825
|
-
}, M(
|
|
826
|
-
v:
|
|
849
|
+
}, M(v(W)({
|
|
850
|
+
v: v($)(t.correlation.coefficient),
|
|
827
851
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
828
|
-
})), 9,
|
|
852
|
+
})), 9, ml)) : d("", !0)
|
|
829
853
|
]))), 256))
|
|
830
854
|
])) : d("", !0),
|
|
831
|
-
|
|
832
|
-
], 14,
|
|
833
|
-
l.$slots.watermark ? (o(), r("div",
|
|
834
|
-
|
|
855
|
+
A(l.$slots, "svg", { svg: z.value }, void 0, !0)
|
|
856
|
+
], 14, Lt)) : d("", !0),
|
|
857
|
+
l.$slots.watermark ? (o(), r("div", bl, [
|
|
858
|
+
A(l.$slots, "watermark", Q(Z({ isPrinting: v($e) || v(Ce) })), void 0, !0)
|
|
835
859
|
])) : d("", !0),
|
|
836
|
-
|
|
837
|
-
key:
|
|
860
|
+
ee.value ? d("", !0) : (o(), Y(Mt, {
|
|
861
|
+
key: 5,
|
|
838
862
|
config: {
|
|
839
863
|
type: "quadrant",
|
|
840
864
|
style: {
|
|
@@ -853,28 +877,28 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
853
877
|
}, null, 8, ["config"])),
|
|
854
878
|
c("div", {
|
|
855
879
|
ref_key: "chartLegend",
|
|
856
|
-
ref:
|
|
880
|
+
ref: me
|
|
857
881
|
}, [
|
|
858
|
-
e.value.style.legend.show ? (o(),
|
|
859
|
-
key: `legend_${
|
|
860
|
-
legendSet:
|
|
861
|
-
config:
|
|
862
|
-
onClickMarker: i[0] || (i[0] = ({ legend: t }) =>
|
|
882
|
+
e.value.style.legend.show ? (o(), Y(_t, {
|
|
883
|
+
key: `legend_${_e.value}`,
|
|
884
|
+
legendSet: V.value,
|
|
885
|
+
config: Re.value,
|
|
886
|
+
onClickMarker: i[0] || (i[0] = ({ legend: t }) => Pe(t.id))
|
|
863
887
|
}, {
|
|
864
|
-
item:
|
|
888
|
+
item: _(({ legend: t }) => [
|
|
865
889
|
c("div", {
|
|
866
890
|
onClick: (s) => t.segregate(),
|
|
867
|
-
style:
|
|
868
|
-
}, M(t.name), 13,
|
|
891
|
+
style: q(`opacity:${x.value.includes(t.id) ? 0.5 : 1}`)
|
|
892
|
+
}, M(t.name), 13, kl)
|
|
869
893
|
]),
|
|
870
894
|
_: 1
|
|
871
|
-
}, 8, ["legendSet", "config"])) :
|
|
895
|
+
}, 8, ["legendSet", "config"])) : A(l.$slots, "legend", {
|
|
872
896
|
key: 1,
|
|
873
|
-
legend:
|
|
897
|
+
legend: V.value
|
|
874
898
|
}, void 0, !0)
|
|
875
899
|
], 512),
|
|
876
|
-
|
|
877
|
-
show: I.value.showTooltip &&
|
|
900
|
+
he(kt, {
|
|
901
|
+
show: I.value.showTooltip && ue.value,
|
|
878
902
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
879
903
|
color: e.value.style.tooltip.color,
|
|
880
904
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -884,22 +908,22 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
884
908
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
885
909
|
position: e.value.style.tooltip.position,
|
|
886
910
|
offsetY: e.value.style.tooltip.offsetY,
|
|
887
|
-
parent:
|
|
888
|
-
content:
|
|
911
|
+
parent: H.value,
|
|
912
|
+
content: re.value,
|
|
889
913
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
890
914
|
}, {
|
|
891
|
-
"tooltip-before":
|
|
892
|
-
|
|
915
|
+
"tooltip-before": _(() => [
|
|
916
|
+
A(l.$slots, "tooltip-before", Q(Z({ ...ne.value })), void 0, !0)
|
|
893
917
|
]),
|
|
894
|
-
"tooltip-after":
|
|
895
|
-
|
|
918
|
+
"tooltip-after": _(() => [
|
|
919
|
+
A(l.$slots, "tooltip-after", Q(Z({ ...ne.value })), void 0, !0)
|
|
896
920
|
]),
|
|
897
|
-
default:
|
|
898
|
-
e.value.style.tooltip.showShape ? (o(), r("div",
|
|
899
|
-
(o(), r("svg",
|
|
900
|
-
|
|
901
|
-
shape:
|
|
902
|
-
color:
|
|
921
|
+
default: _(() => [
|
|
922
|
+
e.value.style.tooltip.showShape ? (o(), r("div", _l, [
|
|
923
|
+
(o(), r("svg", wl, [
|
|
924
|
+
he(De, {
|
|
925
|
+
shape: y.value.shape,
|
|
926
|
+
color: y.value.color,
|
|
903
927
|
plot: { x: 10, y: 10 },
|
|
904
928
|
radius: 7
|
|
905
929
|
}, null, 8, ["shape", "color"])
|
|
@@ -908,8 +932,8 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
908
932
|
]),
|
|
909
933
|
_: 3
|
|
910
934
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
911
|
-
|
|
912
|
-
key:
|
|
935
|
+
ee.value ? (o(), Y($t, {
|
|
936
|
+
key: 6,
|
|
913
937
|
hideDetails: "",
|
|
914
938
|
config: {
|
|
915
939
|
open: I.value.showTable,
|
|
@@ -924,35 +948,35 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
|
|
|
924
948
|
}
|
|
925
949
|
}
|
|
926
950
|
}, {
|
|
927
|
-
content:
|
|
928
|
-
(o(),
|
|
929
|
-
key: `table_${
|
|
930
|
-
colNames:
|
|
931
|
-
head:
|
|
932
|
-
body:
|
|
933
|
-
config:
|
|
951
|
+
content: _(() => [
|
|
952
|
+
(o(), Y(wt, {
|
|
953
|
+
key: `table_${ke.value}`,
|
|
954
|
+
colNames: ae.value.colNames,
|
|
955
|
+
head: ae.value.head,
|
|
956
|
+
body: ae.value.body,
|
|
957
|
+
config: ae.value.config,
|
|
934
958
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
935
959
|
onClose: i[1] || (i[1] = (t) => I.value.showTable = !1)
|
|
936
960
|
}, {
|
|
937
|
-
th:
|
|
938
|
-
|
|
961
|
+
th: _(({ th: t }) => [
|
|
962
|
+
et(M(t), 1)
|
|
939
963
|
]),
|
|
940
|
-
td:
|
|
941
|
-
t.shape ? (o(), r("div",
|
|
964
|
+
td: _(({ td: t }) => [
|
|
965
|
+
t.shape ? (o(), r("div", Ml, [
|
|
942
966
|
c("span", null, M(t.content), 1)
|
|
943
967
|
])) : (o(), r("div", {
|
|
944
968
|
key: 1,
|
|
945
969
|
innerHTML: t
|
|
946
|
-
}, null, 8,
|
|
970
|
+
}, null, 8, $l))
|
|
947
971
|
]),
|
|
948
972
|
_: 1
|
|
949
973
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
950
974
|
]),
|
|
951
975
|
_: 1
|
|
952
976
|
}, 8, ["config"])) : d("", !0)
|
|
953
|
-
], 14,
|
|
977
|
+
], 14, St));
|
|
954
978
|
}
|
|
955
|
-
},
|
|
979
|
+
}, jl = /* @__PURE__ */ At(Cl, [["__scopeId", "data-v-53b514cf"]]);
|
|
956
980
|
export {
|
|
957
|
-
|
|
981
|
+
jl as default
|
|
958
982
|
};
|