vue-data-ui 2.3.74 → 2.3.76
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-DK6F5Fq3.cjs → Arrow-D7M4-bW7.cjs} +1 -1
- package/dist/{Arrow-CYCrAySW.js → Arrow-DY9RKUmG.js} +1 -1
- package/dist/{BaseIcon-DBHVtm3A.cjs → BaseIcon-DB7Apwv_.cjs} +1 -1
- package/dist/{BaseIcon-kBIAYqUO.js → BaseIcon-rwm-10Hu.js} +1 -1
- package/dist/{DataTable-BNFSPjhv.cjs → DataTable-CsNozyz7.cjs} +1 -1
- package/dist/{DataTable-CKdV-L0e.js → DataTable-e2fnfjXV.js} +2 -2
- package/dist/{Legend-Cj7T-DqJ.js → Legend-5cQ0xZjK.js} +1 -1
- package/dist/{Legend-Do2kcWFT.cjs → Legend-DgFd-O0m.cjs} +1 -1
- package/dist/{Shape-Bo8ZjViG.js → Shape-CiTElr_0.js} +1 -1
- package/dist/{Shape-DRDUAe_o.cjs → Shape-yPECDLiP.cjs} +1 -1
- package/dist/{Slicer-D8jHSP7U.cjs → Slicer-DaZgCKV7.cjs} +1 -1
- package/dist/{Slicer-4nGKvUYF.js → Slicer-DwBBu3kB.js} +2 -2
- package/dist/{Title-D5cATWsL.cjs → Title-3EduyW4p.cjs} +1 -1
- package/dist/{Title-DZjnxQdN.js → Title-gUz6GDA3.js} +1 -1
- package/dist/{Tooltip-B8yLaegk.cjs → Tooltip-DScSrYXJ.cjs} +1 -1
- package/dist/{Tooltip--kgFEVZs.js → Tooltip-DfSM1mNP.js} +1 -1
- package/dist/{index-D_32ZGWd.cjs → index-BTgtr0F8.cjs} +1 -1
- package/dist/{index-C8SH0f2u.js → index-CaV1s-yZ.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BvvH633N.cjs → useNestedProp-CisbRRo_.cjs} +1 -1
- package/dist/{useNestedProp-lS_T5lM3.js → useNestedProp-tWCzZrLx.js} +1 -1
- package/dist/{usePrinter-BouFNHWR.cjs → usePrinter-DzTaA1eh.cjs} +1 -1
- package/dist/{usePrinter-Dj50NAxo.js → usePrinter-rvJyT65A.js} +1 -1
- package/dist/{vue-data-ui-v_BbbLtJ.cjs → vue-data-ui-BGkWRPUY.cjs} +1 -1
- package/dist/{vue-data-ui-DoXqU7xC.js → vue-data-ui-BO89gTtq.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CnoPOJHm.js → vue-ui-3d-bar-CcTMIHiB.js} +499 -486
- package/dist/vue-ui-3d-bar-DzmcGuqh.cjs +19 -0
- package/dist/{vue-ui-accordion-Cka6b_Up.cjs → vue-ui-accordion-7e4Myhcg.cjs} +1 -1
- package/dist/{vue-ui-accordion-YHleIgkV.js → vue-ui-accordion-CpzGQ63y.js} +3 -3
- package/dist/vue-ui-age-pyramid-C7qr9EwB.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CENg8fDg.js → vue-ui-age-pyramid-D71ZLkVV.js} +182 -169
- package/dist/{vue-ui-annotator-VJOLUkqJ.js → vue-ui-annotator-B8Iu6cYt.js} +1 -1
- package/dist/{vue-ui-annotator-ByYg6QMs.cjs → vue-ui-annotator-BKQrweqm.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CHsGD3bx.js → vue-ui-candlestick-Bx4QVkY0.js} +295 -279
- package/dist/vue-ui-candlestick-DAc1FQ-i.cjs +2 -0
- package/dist/vue-ui-carousel-table-uFRqkghO.cjs +1 -0
- package/dist/{vue-ui-carousel-table-RAtX3VBu.js → vue-ui-carousel-table-xuQG6bcH.js} +146 -129
- package/dist/{vue-ui-chestnut-B5GQX0J_.js → vue-ui-chestnut-Bo6rDcU7.js} +215 -204
- package/dist/vue-ui-chestnut-DJkm72oD.cjs +6 -0
- package/dist/{vue-ui-cursor-DnZqLj21.cjs → vue-ui-cursor-BQbeuW-k.cjs} +1 -1
- package/dist/{vue-ui-cursor-CMm7XSSG.js → vue-ui-cursor-C0KOqEOq.js} +2 -2
- package/dist/{vue-ui-dashboard-DgEQJnLr.cjs → vue-ui-dashboard-0Hsjx-bO.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Ck_5L3eu.js → vue-ui-dashboard-BT71xS7P.js} +2 -2
- package/dist/{vue-ui-digits--ULH35um.js → vue-ui-digits-BRqpKYvD.js} +2 -2
- package/dist/{vue-ui-digits-UvwUdi6U.cjs → vue-ui-digits-C2ReH6w0.cjs} +1 -1
- package/dist/{vue-ui-donut-QQ1fWWvc.js → vue-ui-donut-NQW-3prf.js} +376 -362
- package/dist/vue-ui-donut-evolution-DOe-cwLi.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Cx8kBB_7.js → vue-ui-donut-evolution-jbXQQGTc.js} +270 -255
- package/dist/vue-ui-donut-v81suIOX.cjs +1 -0
- package/dist/vue-ui-dumbbell-DXQSg6wa.cjs +9 -0
- package/dist/{vue-ui-dumbbell-BYvwHpU8.js → vue-ui-dumbbell-Dyz8xdtC.js} +232 -213
- package/dist/vue-ui-flow-BL3JWW1m.js +481 -0
- package/dist/vue-ui-flow-UqSNwH9d.cjs +1 -0
- package/dist/vue-ui-galaxy-DTQWGvRH.cjs +1 -0
- package/dist/{vue-ui-galaxy-B0L57aec.js → vue-ui-galaxy-Dx9nsOuM.js} +175 -162
- package/dist/vue-ui-gauge-BUB7H0qA.cjs +1 -0
- package/dist/vue-ui-gauge-CLaKGi0-.js +500 -0
- package/dist/vue-ui-gizmo-Kitfqu0J.cjs +1 -0
- package/dist/{vue-ui-gizmo-D2RfM55X.js → vue-ui-gizmo-of-4s5HG.js} +66 -53
- package/dist/{vue-ui-heatmap-DKM0DH41.js → vue-ui-heatmap-BIzjOMXO.js} +157 -143
- package/dist/vue-ui-heatmap-DUw2350O.cjs +1 -0
- package/dist/vue-ui-kpi-By3YPwgo.js +98 -0
- package/dist/vue-ui-kpi-DyL2Hcz-.cjs +1 -0
- package/dist/{vue-ui-mini-loader-CLP19Txv.cjs → vue-ui-mini-loader-C048-8Kd.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-MywnWlYI.js → vue-ui-mini-loader-DnK3V2z2.js} +2 -2
- package/dist/{vue-ui-molecule-CLI9iTRE.js → vue-ui-molecule-BfhbIqa5.js} +177 -167
- package/dist/vue-ui-molecule-D-ahly6R.cjs +1 -0
- package/dist/vue-ui-mood-radar-DD8R9BpJ.cjs +1 -0
- package/dist/{vue-ui-mood-radar-O30wZo9a.js → vue-ui-mood-radar-DXxEKr3x.js} +172 -161
- package/dist/{vue-ui-nested-donuts-D8o4TqTt.js → vue-ui-nested-donuts-BdUdHFd-.js} +377 -364
- package/dist/vue-ui-nested-donuts-C7qM_FRw.cjs +17 -0
- package/dist/{vue-ui-onion-Hmcke6xB.js → vue-ui-onion-D0vF5jBt.js} +191 -177
- package/dist/vue-ui-onion-DX3gofXZ.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-CyChE3NP.js → vue-ui-parallel-coordinate-plot-CTZY-pY8.js} +298 -284
- package/dist/vue-ui-parallel-coordinate-plot-DEx5kFYd.cjs +8 -0
- package/dist/{vue-ui-quadrant-DimTQdAj.js → vue-ui-quadrant-ByY8GP3y.js} +347 -334
- package/dist/vue-ui-quadrant-CgApzie6.cjs +1 -0
- package/dist/{vue-ui-quick-chart-DxJvENid.js → vue-ui-quick-chart-DTxJ__7j.js} +483 -469
- package/dist/vue-ui-quick-chart-DWZEgUJF.cjs +15 -0
- package/dist/{vue-ui-radar-D_FieunT.js → vue-ui-radar-5UBmAU6W.js} +202 -189
- package/dist/vue-ui-radar-DEED0rTz.cjs +1 -0
- package/dist/{vue-ui-rating-BHW2Onru.cjs → vue-ui-rating-Ce_Ewqtl.cjs} +1 -1
- package/dist/{vue-ui-rating-DF1BpH4E.js → vue-ui-rating-Dr6jquxh.js} +2 -2
- package/dist/vue-ui-relation-circle-BU8i2miI.js +322 -0
- package/dist/vue-ui-relation-circle-CRcQ6Zcy.cjs +1 -0
- package/dist/{vue-ui-rings-BqS-iece.js → vue-ui-rings-Ctl3Jywh.js} +203 -189
- package/dist/vue-ui-rings-OQ8a1Ruw.cjs +2 -0
- package/dist/vue-ui-scatter-B8StSjt8.cjs +1 -0
- package/dist/{vue-ui-scatter-Dns49Nht.js → vue-ui-scatter-BwJ_koWT.js} +284 -270
- package/dist/{vue-ui-screenshot-5Gsnd0Wr.js → vue-ui-screenshot-BS3L5vhN.js} +1 -1
- package/dist/{vue-ui-screenshot---q062Kd.cjs → vue-ui-screenshot-bAVk3EPl.cjs} +1 -1
- package/dist/{vue-ui-skeleton-fVPw-oIR.cjs → vue-ui-skeleton-CMQzFTs9.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B4eWLjH3.js → vue-ui-skeleton-CvFX_ExX.js} +2 -2
- package/dist/{vue-ui-smiley-B8Tyunn3.js → vue-ui-smiley-CGYZpNt9.js} +2 -2
- package/dist/{vue-ui-smiley-YfHmv0rQ.cjs → vue-ui-smiley-sF8QIso1.cjs} +1 -1
- package/dist/vue-ui-spark-trend-B4XSSKl9.js +263 -0
- package/dist/vue-ui-spark-trend-CdIoxaqb.cjs +1 -0
- package/dist/{vue-ui-sparkbar-9DBvdYn7.js → vue-ui-sparkbar-BbsJGDMZ.js} +95 -87
- package/dist/vue-ui-sparkbar-C3i1K7hi.cjs +1 -0
- package/dist/vue-ui-sparkgauge-BKyQoI7C.cjs +1 -0
- package/dist/vue-ui-sparkgauge-D4w_i_QJ.js +178 -0
- package/dist/{vue-ui-sparkhistogram-BBUVmco4.js → vue-ui-sparkhistogram-CYybrW-6.js} +79 -68
- package/dist/vue-ui-sparkhistogram-CvTYEmbz.cjs +1 -0
- package/dist/vue-ui-sparkline-CDowaDRS.cjs +1 -0
- package/dist/{vue-ui-sparkline-CeqNV6Re.js → vue-ui-sparkline-DjN1SVdO.js} +142 -123
- package/dist/{vue-ui-sparkstackbar-C3GMC1eW.js → vue-ui-sparkstackbar-BLMhJxaN.js} +120 -104
- package/dist/vue-ui-sparkstackbar-BZ2bESBi.cjs +1 -0
- package/dist/{vue-ui-stackbar-DyGPrFxi.js → vue-ui-stackbar-BTKOHUYc.js} +235 -222
- package/dist/vue-ui-stackbar-DRHaJFR8.cjs +6 -0
- package/dist/vue-ui-strip-plot-DxQxFbWg.cjs +1 -0
- package/dist/{vue-ui-strip-plot-y1AnVJmq.js → vue-ui-strip-plot-o6GTsGAT.js} +246 -232
- package/dist/{vue-ui-table-xWvAQS-s.cjs → vue-ui-table-BFIj1Rgh.cjs} +1 -1
- package/dist/{vue-ui-table-B4kfykAO.js → vue-ui-table-CnquiTpr.js} +1 -1
- package/dist/vue-ui-table-heatmap-CCGK12Fa.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-YZRSzwRM.js → vue-ui-table-heatmap-CZRIwv-Q.js} +106 -95
- package/dist/{vue-ui-table-sparkline-C0v2r4Kf.js → vue-ui-table-sparkline-B3zEeq6Z.js} +151 -138
- package/dist/vue-ui-table-sparkline-DYmgfHz4.cjs +1 -0
- package/dist/{vue-ui-thermometer-D5qurIy7.js → vue-ui-thermometer-BopiohUh.js} +116 -104
- package/dist/vue-ui-thermometer-CzPRBt6c.cjs +1 -0
- package/dist/vue-ui-timer-Bonw69Lt.cjs +64 -0
- package/dist/{vue-ui-timer-VWjovnKL.js → vue-ui-timer-C7WkW8hK.js} +191 -176
- package/dist/{vue-ui-tiremarks-jH6cdQOJ.js → vue-ui-tiremarks-BurRtFv4.js} +115 -103
- package/dist/vue-ui-tiremarks-DkIGfq8t.cjs +1 -0
- package/dist/vue-ui-treemap-CalhJmnp.cjs +1 -0
- package/dist/{vue-ui-treemap-BCc5sQLB.js → vue-ui-treemap-DWy4voIr.js} +251 -237
- package/dist/{vue-ui-vertical-bar-2In_g5iC.js → vue-ui-vertical-bar-CJW1YhtY.js} +314 -299
- package/dist/vue-ui-vertical-bar-rwWp-sai.cjs +4 -0
- package/dist/{vue-ui-waffle-OzU830VX.js → vue-ui-waffle-DB7X6nTS.js} +285 -265
- package/dist/vue-ui-waffle-faQMBYNx.cjs +1 -0
- package/dist/vue-ui-wheel-BzjbGP6a.cjs +1 -0
- package/dist/vue-ui-wheel-CryKap2E.js +255 -0
- package/dist/vue-ui-word-cloud-COqUkvei.js +512 -0
- package/dist/vue-ui-word-cloud-DJN9I4q4.cjs +1 -0
- package/dist/vue-ui-xy-BmA0tspd.cjs +3 -0
- package/dist/{vue-ui-xy-DuJtYXKl.js → vue-ui-xy-b1Z_HPsx.js} +300 -274
- package/dist/{vue-ui-xy-canvas-CKibMJHh.js → vue-ui-xy-canvas-BgbLnY5B.js} +345 -327
- package/dist/vue-ui-xy-canvas-DOM2Kq_s.cjs +9 -0
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-CwCEoPX-.cjs +0 -19
- package/dist/vue-ui-age-pyramid-GqCNpd_h.cjs +0 -1
- package/dist/vue-ui-candlestick-TdNVq_FX.cjs +0 -2
- package/dist/vue-ui-carousel-table-yXUSFk2u.cjs +0 -1
- package/dist/vue-ui-chestnut-EJj-dQSY.cjs +0 -6
- package/dist/vue-ui-donut-BqUBysA_.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BXtEnop4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CjIh7KTm.cjs +0 -9
- package/dist/vue-ui-flow-hp0Hpuhn.js +0 -469
- package/dist/vue-ui-flow-u29zqSQj.cjs +0 -1
- package/dist/vue-ui-galaxy-DE1HbBi-.cjs +0 -1
- package/dist/vue-ui-gauge-B_IZrsfj.cjs +0 -1
- package/dist/vue-ui-gauge-CPyyn7cL.js +0 -488
- package/dist/vue-ui-gizmo-DR4gacOL.cjs +0 -1
- package/dist/vue-ui-heatmap-DMB_eUpA.cjs +0 -1
- package/dist/vue-ui-kpi-BAxAY13T.js +0 -84
- package/dist/vue-ui-kpi-BD21xshi.cjs +0 -1
- package/dist/vue-ui-molecule-BNsWckH-.cjs +0 -1
- package/dist/vue-ui-mood-radar-BsWE1f8R.cjs +0 -1
- package/dist/vue-ui-nested-donuts-CYyUtXs2.cjs +0 -17
- package/dist/vue-ui-onion-D7TXJu5w.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BqZB7xKn.cjs +0 -8
- package/dist/vue-ui-quadrant-BPDTvxlT.cjs +0 -1
- package/dist/vue-ui-quick-chart-C_-ut0if.cjs +0 -15
- package/dist/vue-ui-radar-C5Kq19hg.cjs +0 -1
- package/dist/vue-ui-relation-circle-4kIYttRI.js +0 -310
- package/dist/vue-ui-relation-circle-DHMHHsqY.cjs +0 -1
- package/dist/vue-ui-rings-BqPS8NKl.cjs +0 -2
- package/dist/vue-ui-scatter-BLVcdf3d.cjs +0 -1
- package/dist/vue-ui-spark-trend-Dpv6am0Z.cjs +0 -1
- package/dist/vue-ui-spark-trend-Em9OqYyG.js +0 -251
- package/dist/vue-ui-sparkbar-BuSuwQYl.cjs +0 -1
- package/dist/vue-ui-sparkgauge-BN5feBzp.js +0 -167
- package/dist/vue-ui-sparkgauge-DKtUZMv1.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BmuusW02.cjs +0 -1
- package/dist/vue-ui-sparkline-Blzv-tIQ.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-D__WDEMv.cjs +0 -1
- package/dist/vue-ui-stackbar-DFqJ5K_q.cjs +0 -6
- package/dist/vue-ui-strip-plot-z9fjJ6Dj.cjs +0 -1
- package/dist/vue-ui-table-heatmap-CGKecjtm.cjs +0 -1
- package/dist/vue-ui-table-sparkline-CHFZG3Tg.cjs +0 -1
- package/dist/vue-ui-thermometer-DoOxxVW1.cjs +0 -1
- package/dist/vue-ui-timer-D63zHe-I.cjs +0 -64
- package/dist/vue-ui-tiremarks-Cp8YEmXh.cjs +0 -1
- package/dist/vue-ui-treemap-DJrdEFW5.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BfJJqN_z.cjs +0 -4
- package/dist/vue-ui-waffle-A2gmRbq0.cjs +0 -1
- package/dist/vue-ui-wheel-C9QXzWu1.js +0 -242
- package/dist/vue-ui-wheel-DGSh9VKq.cjs +0 -1
- package/dist/vue-ui-word-cloud-C2ZaVlfO.js +0 -498
- package/dist/vue-ui-word-cloud-DPFB1MYk.cjs +0 -1
- package/dist/vue-ui-xy-C-2-aijE.cjs +0 -3
- package/dist/vue-ui-xy-canvas-D7wf3xab.cjs +0 -9
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { computed 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
|
-
const
|
|
1
|
+
import { computed as k, ref as g, watch as He, onMounted as Je, onBeforeUnmount as Ke, openBlock as o, createElementBlock as r, normalizeClass as We, normalizeStyle as Y, createBlock as q, createCommentVNode as d, unref as y, createSlots as Qe, withCtx as w, renderSlot as T, normalizeProps as ae, guardReactiveProps as oe, createElementVNode as c, Fragment as P, renderList as X, toDisplayString as $, createVNode as Fe, createTextVNode as Ze, nextTick as et } from "vue";
|
|
2
|
+
import { u as tt, c as lt, t as at, a as ot, p as U, o as st, e as ce, b as ut, g as Oe, P as Xe, X as rt, R as it, w as de, i as j, s as M, f as W, x as nt, y as yt, q as vt, r as ct } from "./index-CaV1s-yZ.js";
|
|
3
|
+
import { t as dt, u as ht } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as pt } from "./Title-gUz6GDA3.js";
|
|
5
|
+
import { u as ft, U as gt } from "./usePrinter-rvJyT65A.js";
|
|
6
|
+
import { _ as xt } from "./Tooltip-DfSM1mNP.js";
|
|
7
|
+
import { L as mt } from "./Legend-5cQ0xZjK.js";
|
|
8
|
+
import { _ as Ie } from "./Shape-CiTElr_0.js";
|
|
9
|
+
import { D as bt } from "./DataTable-e2fnfjXV.js";
|
|
10
|
+
import kt from "./vue-ui-skeleton-CvFX_ExX.js";
|
|
11
|
+
import _t from "./vue-ui-accordion-CpzGQ63y.js";
|
|
12
|
+
import { u as De } from "./useNestedProp-tWCzZrLx.js";
|
|
13
|
+
import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const $t = ["id"], Mt = ["xmlns", "viewBox"], Ct = { key: 0 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = { key: 1 }, Lt = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Tt = { key: 0 }, Bt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Nt = { key: 1 }, Pt = { key: 2 }, Wt = ["id"], Ft = ["stop-color"], Ot = ["stop-color"], Xt = ["id"], It = ["stop-color"], Dt = ["stop-color"], Yt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], jt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Et = { key: 0 }, Vt = ["d", "stroke", "stroke-width"], Gt = ["d", "stroke", "stroke-width"], Rt = ["d", "stroke", "stroke-width"], qt = ["d", "stroke", "stroke-width"], Ut = {
|
|
15
15
|
key: 3,
|
|
16
16
|
style: { "pointer-events": "none !important" }
|
|
17
|
-
},
|
|
17
|
+
}, Ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Kt = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Qt = ["x", "y", "font-size", "fill", "font-weight"], Zt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], el = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], tl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], ll = { key: 4 }, al = ["x", "y", "font-size", "fill"], ol = ["x", "y", "font-size", "fill"], sl = ["id", "transform", "font-size", "font-weight", "fill"], ul = { key: 5 }, rl = ["x", "y", "font-size", "fill"], il = ["x", "y", "font-size", "fill"], nl = ["font-size", "font-weight", "fill", "x", "y"], yl = ["id"], vl = ["x", "y", "width", "height"], cl = { key: 6 }, dl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], hl = ["x", "y", "fill", "font-size", "font-weight"], pl = {
|
|
18
18
|
key: 3,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, fl = ["onClick"], gl = {
|
|
21
21
|
key: 0,
|
|
22
22
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
23
|
-
},
|
|
23
|
+
}, xl = {
|
|
24
24
|
viewBox: "0 0 20 20",
|
|
25
25
|
height: "20",
|
|
26
26
|
width: "20",
|
|
27
27
|
style: { overflow: "hidden", background: "transparent" }
|
|
28
|
-
},
|
|
28
|
+
}, ml = { key: 0 }, bl = ["innerHTML"], kl = {
|
|
29
29
|
__name: "vue-ui-scatter",
|
|
30
30
|
props: {
|
|
31
31
|
config: {
|
|
@@ -41,104 +41,116 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
setup(
|
|
45
|
-
const
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
44
|
+
setup(Ye, { expose: je }) {
|
|
45
|
+
const F = Ye, { vue_ui_scatter: Ee } = tt(), Q = k(() => !!F.dataset && F.dataset.length), C = g(lt()), Ve = g(null), se = g(!1), ue = g(""), he = g(0), J = g(null), pe = g(null), fe = g(null), ge = g(0), xe = g(0), me = g(0), e = k({
|
|
46
|
+
get: () => be(),
|
|
47
|
+
set: (l) => l
|
|
48
|
+
});
|
|
49
|
+
function be() {
|
|
50
|
+
const l = De({
|
|
51
|
+
userConfig: F.config,
|
|
52
|
+
defaultConfig: Ee
|
|
49
53
|
});
|
|
50
54
|
return l.theme ? {
|
|
51
|
-
...
|
|
52
|
-
userConfig:
|
|
55
|
+
...De({
|
|
56
|
+
userConfig: at.vue_ui_scatter[l.theme] || F.config,
|
|
53
57
|
defaultConfig: l
|
|
54
58
|
}),
|
|
55
|
-
customPalette:
|
|
59
|
+
customPalette: ot[l.theme] || U
|
|
56
60
|
} : l;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
|
|
61
|
+
}
|
|
62
|
+
He(() => F.config, (l) => {
|
|
63
|
+
e.value = be(), ke(), ge.value += 1, xe.value += 1, me.value += 1;
|
|
64
|
+
}, { deep: !0 });
|
|
65
|
+
const Z = g(null);
|
|
66
|
+
Je(() => {
|
|
67
|
+
ke();
|
|
68
|
+
});
|
|
69
|
+
function ke() {
|
|
70
|
+
if (st(F.dataset) && ce({
|
|
60
71
|
componentName: "VueUiScatter",
|
|
61
72
|
type: "dataset"
|
|
62
73
|
}), e.value.responsive) {
|
|
63
|
-
const l =
|
|
64
|
-
const { width: i, height: t } =
|
|
65
|
-
chart:
|
|
66
|
-
title: e.value.style.title.text ?
|
|
67
|
-
legend: e.value.style.legend.show ?
|
|
74
|
+
const l = dt(() => {
|
|
75
|
+
const { width: i, height: t } = ht({
|
|
76
|
+
chart: J.value,
|
|
77
|
+
title: e.value.style.title.text ? pe.value : null,
|
|
78
|
+
legend: e.value.style.legend.show ? fe.value : null
|
|
68
79
|
});
|
|
69
80
|
z.value.width = i, z.value.height = t;
|
|
70
81
|
});
|
|
71
|
-
Z.value = new ResizeObserver(l), Z.value.observe(
|
|
82
|
+
Z.value = new ResizeObserver(l), Z.value.observe(J.value.parentNode);
|
|
72
83
|
}
|
|
73
|
-
}
|
|
84
|
+
}
|
|
85
|
+
Ke(() => {
|
|
74
86
|
Z.value && Z.value.disconnect();
|
|
75
87
|
});
|
|
76
|
-
const { isPrinting:
|
|
88
|
+
const { isPrinting: _e, isImaging: we, generatePdf: $e, generateImage: Me } = ft({
|
|
77
89
|
elementId: `vue-ui-scatter_${C.value}`,
|
|
78
90
|
fileName: e.value.style.title.text || "vue-ui-scatter"
|
|
79
|
-
}),
|
|
91
|
+
}), Ce = k(() => ut(e.value.customPalette)), I = g({
|
|
80
92
|
showTable: e.value.table.show,
|
|
81
93
|
showTooltip: e.value.style.tooltip.show
|
|
82
|
-
}), z =
|
|
94
|
+
}), z = g({
|
|
83
95
|
height: e.value.style.layout.height,
|
|
84
96
|
width: e.value.style.layout.width
|
|
85
|
-
}), ee =
|
|
97
|
+
}), ee = k(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), u = k(() => ({
|
|
86
98
|
top: e.value.style.layout.padding.top + ee.value,
|
|
87
99
|
right: z.value.width - e.value.style.layout.padding.right - ee.value,
|
|
88
100
|
bottom: z.value.height - e.value.style.layout.padding.bottom,
|
|
89
101
|
left: e.value.style.layout.padding.left,
|
|
90
102
|
height: z.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - ee.value,
|
|
91
103
|
width: z.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - ee.value
|
|
92
|
-
})), h =
|
|
93
|
-
|
|
94
|
-
|
|
104
|
+
})), h = k(() => {
|
|
105
|
+
F.dataset.forEach((a, n) => {
|
|
106
|
+
Oe({
|
|
95
107
|
datasetObject: a,
|
|
96
108
|
requiredAttributes: ["values"]
|
|
97
|
-
}).forEach((
|
|
98
|
-
|
|
109
|
+
}).forEach((m) => {
|
|
110
|
+
ce({
|
|
99
111
|
componentName: "VueUiScatter",
|
|
100
112
|
type: "datasetSerieAttribute",
|
|
101
|
-
property:
|
|
113
|
+
property: m,
|
|
102
114
|
index: n
|
|
103
115
|
});
|
|
104
|
-
}), a.values && a.values.forEach((
|
|
105
|
-
|
|
106
|
-
datasetObject:
|
|
116
|
+
}), a.values && a.values.forEach((m, V) => {
|
|
117
|
+
Oe({
|
|
118
|
+
datasetObject: m,
|
|
107
119
|
requiredAttributes: ["x", "y"]
|
|
108
|
-
}).forEach((
|
|
109
|
-
|
|
120
|
+
}).forEach((H) => {
|
|
121
|
+
ce({
|
|
110
122
|
componentName: "VueUiScatter",
|
|
111
123
|
type: "datasetSerieAttribute",
|
|
112
|
-
property: `values.${
|
|
124
|
+
property: `values.${H}`,
|
|
113
125
|
index: `${n} - ${V}`
|
|
114
126
|
});
|
|
115
127
|
});
|
|
116
128
|
});
|
|
117
129
|
});
|
|
118
|
-
const l = Math.min(...E.value.filter((a) => !
|
|
119
|
-
return { xMin: l >= 0 ? 0 : l, xMax: i, yMin: t >= 0 ? 0 : t, yMax:
|
|
120
|
-
}), p =
|
|
130
|
+
const l = Math.min(...E.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), i = Math.max(...E.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), t = Math.min(...E.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y))), s = Math.max(...E.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y)));
|
|
131
|
+
return { xMin: l >= 0 ? 0 : l, xMax: i, yMin: t >= 0 ? 0 : t, yMax: s };
|
|
132
|
+
}), p = k(() => ({
|
|
121
133
|
x: u.value.left + Math.abs(h.value.xMin) / (h.value.xMax + Math.abs(h.value.xMin)) * u.value.width,
|
|
122
134
|
y: u.value.bottom - Math.abs(h.value.yMin) / (h.value.yMax + Math.abs(h.value.yMin)) * u.value.height
|
|
123
|
-
})), E =
|
|
135
|
+
})), E = k(() => F.dataset.map((l, i) => {
|
|
124
136
|
const t = `cluster_${C.value}_${i}`;
|
|
125
137
|
return {
|
|
126
138
|
...l,
|
|
127
139
|
id: t,
|
|
128
|
-
color: l.color ? l.color :
|
|
129
|
-
opacity:
|
|
140
|
+
color: l.color ? l.color : Ce.value[i] || U[i] || U[i % U.length],
|
|
141
|
+
opacity: x.value.includes(t) ? 0.5 : 1,
|
|
130
142
|
shape: l.shape ?? "circle",
|
|
131
|
-
segregate: () =>
|
|
132
|
-
isSegregated:
|
|
143
|
+
segregate: () => Te(t),
|
|
144
|
+
isSegregated: x.value.includes(t)
|
|
133
145
|
};
|
|
134
|
-
})),
|
|
146
|
+
})), Ge = k(() => ({
|
|
135
147
|
cy: "scatter-div-legend",
|
|
136
148
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
137
149
|
color: e.value.style.legend.color,
|
|
138
150
|
fontSize: e.value.style.legend.fontSize,
|
|
139
151
|
paddingBottom: 12,
|
|
140
152
|
fontWeight: e.value.style.legend.bold ? "bold" : ""
|
|
141
|
-
})),
|
|
153
|
+
})), re = k(() => E.value.map((l, i) => ({
|
|
142
154
|
...l,
|
|
143
155
|
plots: l.values.map((t) => ({
|
|
144
156
|
x: u.value.left + (t.x + Math.abs(h.value.xMin)) / (h.value.xMax + Math.abs(h.value.xMin)) * u.value.width,
|
|
@@ -148,101 +160,101 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
148
160
|
name: t.name || ""
|
|
149
161
|
},
|
|
150
162
|
clusterName: l.name,
|
|
151
|
-
color: l.color ? l.color :
|
|
163
|
+
color: l.color ? l.color : Ce.value[i] || U[i] || U[i % U.length],
|
|
152
164
|
id: `plot_${C.value}_${Math.random()}`,
|
|
153
165
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
154
166
|
}))
|
|
155
|
-
})).filter((l) => !
|
|
167
|
+
})).filter((l) => !x.value.includes(l.id))), S = k(() => re.value.map((l) => {
|
|
156
168
|
const i = l.plots.reduce((f, G) => f + G.x, 0) / l.plots.length, t = l.plots.reduce((f, G) => f + G.y, 0) / l.plots.length;
|
|
157
|
-
let
|
|
169
|
+
let s = 0, a = 0, n = 0;
|
|
158
170
|
for (const f of l.plots)
|
|
159
|
-
|
|
160
|
-
const
|
|
171
|
+
s += (f.x - i) * (f.y - t), a += (f.x - i) ** 2, n += (f.y - t) ** 2;
|
|
172
|
+
const m = s / Math.sqrt(a * n), V = m * (Math.sqrt(n) / Math.sqrt(a)), H = t - V * i, N = {
|
|
161
173
|
x1: u.value.left,
|
|
162
174
|
x2: u.value.right,
|
|
163
|
-
y1: V * u.value.left +
|
|
164
|
-
y2: V * u.value.right +
|
|
165
|
-
coefficient:
|
|
166
|
-
}, _ = (N.y2 - N.y1) / (N.x2 - N.x1), L = N.y1 - _ * N.x1,
|
|
167
|
-
x:
|
|
168
|
-
y: _ *
|
|
175
|
+
y1: V * u.value.left + H,
|
|
176
|
+
y2: V * u.value.right + H,
|
|
177
|
+
coefficient: m
|
|
178
|
+
}, _ = (N.y2 - N.y1) / (N.x2 - N.x1), L = N.y1 - _ * N.x1, O = Math.min(z.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (u.value.top - L) / _)), le = {
|
|
179
|
+
x: O,
|
|
180
|
+
y: _ * O + L <= e.value.style.layout.padding.top ? u.value.top : _ * O + L
|
|
169
181
|
};
|
|
170
182
|
return {
|
|
171
183
|
...l,
|
|
172
184
|
correlation: N,
|
|
173
185
|
label: le,
|
|
174
186
|
plots: l.plots.map((f) => {
|
|
175
|
-
const G = (f.x + _ * f.y - _ * L) / (1 + Math.pow(_, 2)),
|
|
187
|
+
const G = (f.x + _ * f.y - _ * L) / (1 + Math.pow(_, 2)), ne = (_ * f.x + Math.pow(_, 2) * f.y + L) / (1 + Math.pow(_, 2)), b = Math.sqrt(Math.pow(f.x - G, 2) + Math.pow(f.y - ne, 2));
|
|
176
188
|
return {
|
|
177
189
|
...f,
|
|
178
|
-
deviation:
|
|
190
|
+
deviation: b,
|
|
179
191
|
shape: l.shape,
|
|
180
192
|
color: l.color
|
|
181
193
|
};
|
|
182
194
|
})
|
|
183
195
|
};
|
|
184
|
-
})),
|
|
185
|
-
function
|
|
196
|
+
})), ze = k(() => Math.max(...S.value.flatMap((l) => l.plots.map((i) => Math.abs(i.deviation)))));
|
|
197
|
+
function Re() {
|
|
186
198
|
return S.value;
|
|
187
199
|
}
|
|
188
|
-
function
|
|
189
|
-
const t = Array.isArray(l) ? l.flatMap((
|
|
200
|
+
function Se(l, i) {
|
|
201
|
+
const t = Array.isArray(l) ? l.flatMap((b) => b.plots.map((R) => ({
|
|
190
202
|
x: R.x,
|
|
191
203
|
y: R.y
|
|
192
|
-
}))) : l.plots.map((
|
|
193
|
-
x:
|
|
194
|
-
y:
|
|
204
|
+
}))) : l.plots.map((b) => ({
|
|
205
|
+
x: b.x,
|
|
206
|
+
y: b.y
|
|
195
207
|
}));
|
|
196
|
-
let
|
|
197
|
-
t.forEach(({ x:
|
|
198
|
-
|
|
208
|
+
let s = 1 / 0, a = -1 / 0, n = 1 / 0, m = -1 / 0;
|
|
209
|
+
t.forEach(({ x: b, y: R }) => {
|
|
210
|
+
s = Math.min(s, b), a = Math.max(a, b), n = Math.min(n, R), m = Math.max(m, R);
|
|
199
211
|
});
|
|
200
|
-
const V = a -
|
|
201
|
-
t.forEach(({ x:
|
|
202
|
-
const
|
|
203
|
-
L[
|
|
212
|
+
const V = a - s, H = m - n, N = V / i, _ = H / i, L = Array(i).fill(0), O = Array(i).fill(0);
|
|
213
|
+
t.forEach(({ x: b, y: R }) => {
|
|
214
|
+
const ye = Math.floor((b - s) / N), ve = Math.floor((R - n) / _);
|
|
215
|
+
L[ye] || (L[ye] = 0), O[ve] || (O[ve] = 0), L[ye] += 1, O[ve] += 1;
|
|
204
216
|
});
|
|
205
217
|
const le = [], f = [];
|
|
206
|
-
for (let
|
|
207
|
-
le.push(
|
|
208
|
-
const G = Math.max(...L),
|
|
209
|
-
return { x: L, y:
|
|
218
|
+
for (let b = 0; b < i; b += 1)
|
|
219
|
+
le.push(s + (b + 0.5) * N), f.push(n + (b + 0.5) * _);
|
|
220
|
+
const G = Math.max(...L), ne = Math.max(...O);
|
|
221
|
+
return { x: L, y: O, avgX: le, avgY: f, maxX: G, maxY: ne };
|
|
210
222
|
}
|
|
211
|
-
const D =
|
|
223
|
+
const D = k(() => e.value.style.layout.marginalBars.tranches), A = k(() => Se(re.value, D.value)), qe = k(() => {
|
|
212
224
|
const l = u.value.top - e.value.style.layout.marginalBars.offset, i = u.value.right + e.value.style.layout.marginalBars.offset;
|
|
213
|
-
return
|
|
214
|
-
const
|
|
225
|
+
return re.value.map((t) => {
|
|
226
|
+
const s = Se(t, D.value);
|
|
215
227
|
return {
|
|
216
|
-
coords:
|
|
217
|
-
dX:
|
|
228
|
+
coords: s,
|
|
229
|
+
dX: Xe(s.avgX.map((a, n) => ({
|
|
218
230
|
x: a,
|
|
219
|
-
y: l -
|
|
231
|
+
y: l - s.x[n] / s.maxX * e.value.style.layout.marginalBars.size
|
|
220
232
|
}))),
|
|
221
|
-
dY:
|
|
233
|
+
dY: Xe(s.avgY.map((a, n) => ({
|
|
222
234
|
y: a,
|
|
223
|
-
x: i + e.value.style.layout.marginalBars.size *
|
|
235
|
+
x: i + e.value.style.layout.marginalBars.size * s.y[n] / s.maxY
|
|
224
236
|
}))),
|
|
225
237
|
color: t.color,
|
|
226
238
|
id: t.id
|
|
227
239
|
};
|
|
228
240
|
});
|
|
229
|
-
}), B =
|
|
230
|
-
function
|
|
241
|
+
}), B = g(void 0), v = g(null), ie = g(null);
|
|
242
|
+
function Ae(l, i) {
|
|
231
243
|
B.value = l.id, v.value = l;
|
|
232
244
|
let t = "";
|
|
233
|
-
|
|
245
|
+
ie.value = {
|
|
234
246
|
datapoint: l,
|
|
235
247
|
seriesIndex: i,
|
|
236
248
|
series: S.value,
|
|
237
249
|
config: e.value
|
|
238
250
|
};
|
|
239
|
-
const
|
|
240
|
-
|
|
251
|
+
const s = e.value.style.tooltip.customFormat;
|
|
252
|
+
nt(s) && yt(() => s({
|
|
241
253
|
datapoint: l,
|
|
242
254
|
seriesIndex: i,
|
|
243
255
|
series: S.value,
|
|
244
256
|
config: e.value
|
|
245
|
-
})) ?
|
|
257
|
+
})) ? ue.value = s({
|
|
246
258
|
datapoint: l,
|
|
247
259
|
seriesIndex: i,
|
|
248
260
|
series: S.value,
|
|
@@ -270,44 +282,44 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
270
282
|
)}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${W({
|
|
271
283
|
v: l.deviation,
|
|
272
284
|
r: e.value.style.layout.plots.deviation.roundingValue
|
|
273
|
-
})}</b>`, t += "</div>",
|
|
285
|
+
})}</b>`, t += "</div>", ue.value = `<div>${t}</div>`), se.value = !0;
|
|
274
286
|
}
|
|
275
|
-
function
|
|
276
|
-
|
|
287
|
+
function Le() {
|
|
288
|
+
se.value = !1, B.value = void 0, v.value = null;
|
|
277
289
|
}
|
|
278
|
-
const
|
|
279
|
-
function
|
|
280
|
-
|
|
290
|
+
const x = g([]);
|
|
291
|
+
function Te(l) {
|
|
292
|
+
x.value.includes(l) ? x.value = x.value.filter((i) => i !== l) : x.value.length < F.dataset.length - 1 && x.value.push(l);
|
|
281
293
|
}
|
|
282
|
-
function
|
|
283
|
-
|
|
294
|
+
function Be() {
|
|
295
|
+
et(() => {
|
|
284
296
|
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) => [
|
|
285
297
|
a.name,
|
|
286
298
|
a.correlation.coefficient,
|
|
287
299
|
a.plots.length,
|
|
288
|
-
a.plots.map((n) => n.v.x).reduce((n,
|
|
289
|
-
a.plots.map((n) => n.v.y).reduce((n,
|
|
290
|
-
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i),
|
|
291
|
-
|
|
300
|
+
a.plots.map((n) => n.v.x).reduce((n, m) => n + m, 0) / a.plots.length,
|
|
301
|
+
a.plots.map((n) => n.v.y).reduce((n, m) => n + m, 0) / a.plots.length
|
|
302
|
+
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i), s = vt(t);
|
|
303
|
+
ct({ csvContent: s, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
292
304
|
});
|
|
293
305
|
}
|
|
294
|
-
const te =
|
|
306
|
+
const te = k(() => {
|
|
295
307
|
const l = [
|
|
296
308
|
e.value.table.translations.series,
|
|
297
309
|
e.value.table.translations.correlationCoefficient,
|
|
298
310
|
e.value.table.translations.nbrPlots,
|
|
299
311
|
`${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`,
|
|
300
312
|
`${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`
|
|
301
|
-
], i = S.value.map((
|
|
313
|
+
], i = S.value.map((s) => [
|
|
302
314
|
{
|
|
303
|
-
shape:
|
|
304
|
-
content:
|
|
305
|
-
color:
|
|
315
|
+
shape: s.shape,
|
|
316
|
+
content: s.name,
|
|
317
|
+
color: s.color
|
|
306
318
|
},
|
|
307
|
-
Number((
|
|
308
|
-
|
|
309
|
-
Number((
|
|
310
|
-
Number((
|
|
319
|
+
Number((s.correlation.coefficient ?? 0).toFixed(e.value.table.td.roundingValue)).toLocaleString(),
|
|
320
|
+
s.plots.length.toLocaleString(),
|
|
321
|
+
Number((s.plots.map((a) => a.v.x ?? 0).reduce((a, n) => a + n, 0) / s.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString(),
|
|
322
|
+
Number((s.plots.map((a) => a.v.y ?? 0).reduce((a, n) => a + n, 0) / s.plots.length).toFixed(e.value.table.td.roundingAverage)).toLocaleString()
|
|
311
323
|
]), t = {
|
|
312
324
|
th: {
|
|
313
325
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -322,37 +334,38 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
322
334
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
323
335
|
};
|
|
324
336
|
return { head: l, body: i, config: t, colNames: l };
|
|
325
|
-
}),
|
|
326
|
-
function
|
|
327
|
-
|
|
337
|
+
}), K = g(!1);
|
|
338
|
+
function Ue(l) {
|
|
339
|
+
K.value = l, he.value += 1;
|
|
328
340
|
}
|
|
329
|
-
function
|
|
341
|
+
function Ne() {
|
|
330
342
|
I.value.showTable = !I.value.showTable;
|
|
331
343
|
}
|
|
332
|
-
function
|
|
344
|
+
function Pe() {
|
|
333
345
|
I.value.showTooltip = !I.value.showTooltip;
|
|
334
346
|
}
|
|
335
|
-
return
|
|
336
|
-
getData:
|
|
337
|
-
generatePdf:
|
|
338
|
-
generateCsv:
|
|
339
|
-
generateImage:
|
|
340
|
-
toggleTable:
|
|
341
|
-
toggleTooltip:
|
|
342
|
-
}), (l, i) => (
|
|
343
|
-
class:
|
|
347
|
+
return je({
|
|
348
|
+
getData: Re,
|
|
349
|
+
generatePdf: $e,
|
|
350
|
+
generateCsv: Be,
|
|
351
|
+
generateImage: Me,
|
|
352
|
+
toggleTable: Ne,
|
|
353
|
+
toggleTooltip: Pe
|
|
354
|
+
}), (l, i) => (o(), r("div", {
|
|
355
|
+
class: We(`vue-ui-scatter ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
344
356
|
ref_key: "scatterChart",
|
|
345
|
-
ref:
|
|
357
|
+
ref: J,
|
|
346
358
|
id: `vue-ui-scatter_${C.value}`,
|
|
347
359
|
style: Y(`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%" : ""}`)
|
|
348
360
|
}, [
|
|
349
|
-
e.value.style.title.text ? (
|
|
361
|
+
e.value.style.title.text ? (o(), r("div", {
|
|
350
362
|
key: 0,
|
|
351
363
|
ref_key: "chartTitle",
|
|
352
|
-
ref:
|
|
364
|
+
ref: pe,
|
|
353
365
|
style: Y(`width:100%;background:${e.value.style.backgroundColor}`)
|
|
354
366
|
}, [
|
|
355
|
-
|
|
367
|
+
(o(), q(pt, {
|
|
368
|
+
key: `title_${ge.value}`,
|
|
356
369
|
config: {
|
|
357
370
|
title: {
|
|
358
371
|
cy: "scatter-div-title",
|
|
@@ -363,16 +376,16 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
363
376
|
...e.value.style.title.subtitle
|
|
364
377
|
}
|
|
365
378
|
}
|
|
366
|
-
}, null, 8, ["config"])
|
|
379
|
+
}, null, 8, ["config"]))
|
|
367
380
|
], 4)) : d("", !0),
|
|
368
|
-
e.value.userOptions.show && Q.value ? (
|
|
381
|
+
e.value.userOptions.show && Q.value ? (o(), q(gt, {
|
|
369
382
|
ref_key: "details",
|
|
370
|
-
ref:
|
|
371
|
-
key: `user_options_${
|
|
383
|
+
ref: Ve,
|
|
384
|
+
key: `user_options_${he.value}`,
|
|
372
385
|
backgroundColor: e.value.style.backgroundColor,
|
|
373
386
|
color: e.value.style.color,
|
|
374
|
-
isImaging: y(
|
|
375
|
-
isPrinting: y(
|
|
387
|
+
isImaging: y(we),
|
|
388
|
+
isPrinting: y(_e),
|
|
376
389
|
uid: C.value,
|
|
377
390
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
378
391
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -381,16 +394,16 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
381
394
|
hasTable: e.value.userOptions.buttons.table,
|
|
382
395
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
383
396
|
isTooltip: I.value.showTooltip,
|
|
384
|
-
isFullscreen:
|
|
397
|
+
isFullscreen: K.value,
|
|
385
398
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
386
|
-
chartElement:
|
|
387
|
-
onToggleFullscreen:
|
|
388
|
-
onGeneratePdf: y(
|
|
389
|
-
onGenerateCsv:
|
|
390
|
-
onGenerateImage: y(
|
|
391
|
-
onToggleTable:
|
|
392
|
-
onToggleTooltip:
|
|
393
|
-
},
|
|
399
|
+
chartElement: J.value,
|
|
400
|
+
onToggleFullscreen: Ue,
|
|
401
|
+
onGeneratePdf: y($e),
|
|
402
|
+
onGenerateCsv: Be,
|
|
403
|
+
onGenerateImage: y(Me),
|
|
404
|
+
onToggleTable: Ne,
|
|
405
|
+
onToggleTooltip: Pe
|
|
406
|
+
}, Qe({ _: 2 }, [
|
|
394
407
|
l.$slots.optionTooltip ? {
|
|
395
408
|
name: "optionTooltip",
|
|
396
409
|
fn: w(() => [
|
|
@@ -428,20 +441,20 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
428
441
|
} : void 0,
|
|
429
442
|
l.$slots.optionFullscreen ? {
|
|
430
443
|
name: "optionFullscreen",
|
|
431
|
-
fn: w(({ toggleFullscreen: t, isFullscreen:
|
|
432
|
-
T(l.$slots, "optionFullscreen", oe(
|
|
444
|
+
fn: w(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
445
|
+
T(l.$slots, "optionFullscreen", ae(oe({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
433
446
|
]),
|
|
434
447
|
key: "5"
|
|
435
448
|
} : void 0
|
|
436
449
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
437
|
-
Q.value ? (
|
|
450
|
+
Q.value ? (o(), r("svg", {
|
|
438
451
|
key: 2,
|
|
439
|
-
xmlns: y(
|
|
440
|
-
class:
|
|
452
|
+
xmlns: y(rt),
|
|
453
|
+
class: We({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
|
|
441
454
|
viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
|
|
442
455
|
style: Y(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
|
|
443
456
|
}, [
|
|
444
|
-
e.value.style.layout.axis.show ? (
|
|
457
|
+
e.value.style.layout.axis.show ? (o(), r("g", Ct, [
|
|
445
458
|
c("line", {
|
|
446
459
|
x1: p.value.x,
|
|
447
460
|
x2: p.value.x,
|
|
@@ -450,7 +463,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
450
463
|
stroke: e.value.style.layout.axis.stroke,
|
|
451
464
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
452
465
|
"stroke-linecap": "round"
|
|
453
|
-
}, null, 8,
|
|
466
|
+
}, null, 8, zt),
|
|
454
467
|
c("line", {
|
|
455
468
|
x1: u.value.left,
|
|
456
469
|
x2: u.value.right,
|
|
@@ -459,50 +472,50 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
459
472
|
stroke: e.value.style.layout.axis.stroke,
|
|
460
473
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
461
474
|
"stroke-linecap": "round"
|
|
462
|
-
}, null, 8,
|
|
475
|
+
}, null, 8, St)
|
|
463
476
|
])) : d("", !0),
|
|
464
|
-
e.value.style.layout.plots.giftWrap.show ? (
|
|
465
|
-
(
|
|
466
|
-
t.plots.length > 2 ? (
|
|
477
|
+
e.value.style.layout.plots.giftWrap.show ? (o(), r("g", At, [
|
|
478
|
+
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
479
|
+
t.plots.length > 2 ? (o(), r("polygon", {
|
|
467
480
|
key: 0,
|
|
468
|
-
points: y(
|
|
469
|
-
fill: `${t.color}${y(
|
|
481
|
+
points: y(it)({ series: t.plots }),
|
|
482
|
+
fill: `${t.color}${y(de)[e.value.style.layout.plots.giftWrap.fillOpacity * 100]}`,
|
|
470
483
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
471
484
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
472
485
|
stroke: t.color,
|
|
473
486
|
"stroke-linejoin": "round",
|
|
474
487
|
"stroke-linecap": "round"
|
|
475
|
-
}, null, 8,
|
|
488
|
+
}, null, 8, Lt)) : d("", !0)
|
|
476
489
|
]))), 256))
|
|
477
490
|
])) : d("", !0),
|
|
478
|
-
(
|
|
479
|
-
!t.shape || t.shape === "circle" ? (
|
|
480
|
-
(
|
|
491
|
+
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
492
|
+
!t.shape || t.shape === "circle" ? (o(), r("g", Tt, [
|
|
493
|
+
(o(!0), r(P, null, X(t.plots, (a, n) => (o(), r("circle", {
|
|
481
494
|
cx: a.x,
|
|
482
495
|
cy: a.y,
|
|
483
496
|
r: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
484
|
-
fill: `${t.color}${y(
|
|
497
|
+
fill: `${t.color}${y(de)[e.value.style.layout.plots.opacity * 100]}`,
|
|
485
498
|
stroke: e.value.style.layout.plots.stroke,
|
|
486
499
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
487
|
-
onMouseover: (
|
|
488
|
-
onMouseleave:
|
|
489
|
-
style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) /
|
|
490
|
-
}, null, 44,
|
|
491
|
-
])) : (
|
|
492
|
-
(
|
|
500
|
+
onMouseover: (m) => Ae(a, s),
|
|
501
|
+
onMouseleave: Le,
|
|
502
|
+
style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / ze.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}`)
|
|
503
|
+
}, null, 44, Bt))), 256))
|
|
504
|
+
])) : (o(), r("g", Nt, [
|
|
505
|
+
(o(!0), r(P, null, X(t.plots, (a, n) => (o(), q(Ie, {
|
|
493
506
|
plot: { x: a.x, y: a.y },
|
|
494
507
|
radius: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
495
508
|
shape: t.shape,
|
|
496
|
-
color: `${t.color}${y(
|
|
509
|
+
color: `${t.color}${y(de)[e.value.style.layout.plots.opacity * 100]}`,
|
|
497
510
|
stroke: e.value.style.layout.plots.stroke,
|
|
498
511
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
499
|
-
onMouseover: (
|
|
500
|
-
onMouseleave:
|
|
501
|
-
style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) /
|
|
512
|
+
onMouseover: (m) => Ae(a, s),
|
|
513
|
+
onMouseleave: Le,
|
|
514
|
+
style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / ze.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}`)
|
|
502
515
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
|
|
503
516
|
]))
|
|
504
517
|
]))), 256)),
|
|
505
|
-
e.value.style.layout.marginalBars.show ? (
|
|
518
|
+
e.value.style.layout.marginalBars.show ? (o(), r("g", Pt, [
|
|
506
519
|
c("defs", null, [
|
|
507
520
|
c("linearGradient", {
|
|
508
521
|
id: `marginal_x_${C.value}`,
|
|
@@ -514,12 +527,12 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
514
527
|
c("stop", {
|
|
515
528
|
offset: "0%",
|
|
516
529
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
517
|
-
}, null, 8,
|
|
530
|
+
}, null, 8, Ft),
|
|
518
531
|
c("stop", {
|
|
519
532
|
offset: "100%",
|
|
520
533
|
"stop-color": e.value.style.backgroundColor
|
|
521
|
-
}, null, 8,
|
|
522
|
-
], 8,
|
|
534
|
+
}, null, 8, Ot)
|
|
535
|
+
], 8, Wt),
|
|
523
536
|
c("linearGradient", {
|
|
524
537
|
id: `marginal_y_${C.value}`,
|
|
525
538
|
x1: "0%",
|
|
@@ -530,17 +543,17 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
530
543
|
c("stop", {
|
|
531
544
|
offset: "0%",
|
|
532
545
|
"stop-color": e.value.style.backgroundColor
|
|
533
|
-
}, null, 8,
|
|
546
|
+
}, null, 8, It),
|
|
534
547
|
c("stop", {
|
|
535
548
|
offset: "100%",
|
|
536
549
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
537
|
-
}, null, 8,
|
|
538
|
-
], 8,
|
|
550
|
+
}, null, 8, Dt)
|
|
551
|
+
], 8, Xt)
|
|
539
552
|
]),
|
|
540
|
-
(
|
|
541
|
-
t && A.value.avgX[
|
|
553
|
+
(o(!0), r(P, null, X(A.value.x, (t, s) => (o(), r("g", null, [
|
|
554
|
+
t && A.value.avgX[s] ? (o(), r("rect", {
|
|
542
555
|
key: 0,
|
|
543
|
-
x: A.value.avgX[
|
|
556
|
+
x: A.value.avgX[s] - u.value.width / D.value / 2,
|
|
544
557
|
y: u.value.top - e.value.style.layout.marginalBars.offset - t / A.value.maxX * e.value.style.layout.marginalBars.size,
|
|
545
558
|
width: u.value.width / D.value <= 0 ? 1e-4 : u.value.width / D.value,
|
|
546
559
|
height: t / A.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / A.value.maxX * e.value.style.layout.marginalBars.size,
|
|
@@ -549,13 +562,13 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
549
562
|
stroke: e.value.style.backgroundColor,
|
|
550
563
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
551
564
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
552
|
-
}, null, 12,
|
|
565
|
+
}, null, 12, Yt)) : d("", !0)
|
|
553
566
|
]))), 256)),
|
|
554
|
-
(
|
|
555
|
-
t && A.value.avgY[
|
|
567
|
+
(o(!0), r(P, null, X(A.value.y, (t, s) => (o(), r("g", null, [
|
|
568
|
+
t && A.value.avgY[s] ? (o(), r("rect", {
|
|
556
569
|
key: 0,
|
|
557
570
|
x: u.value.right + e.value.style.layout.marginalBars.offset,
|
|
558
|
-
y: A.value.avgY[
|
|
571
|
+
y: A.value.avgY[s] - u.value.height / D.value / 2,
|
|
559
572
|
height: u.value.height / D.value <= 0 ? 1e-4 : u.value.height / D.value,
|
|
560
573
|
width: t / A.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / A.value.maxY * e.value.style.layout.marginalBars.size,
|
|
561
574
|
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${C.value})` : e.value.style.layout.marginalBars.fill,
|
|
@@ -563,11 +576,11 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
563
576
|
stroke: e.value.style.backgroundColor,
|
|
564
577
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
565
578
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
566
|
-
}, null, 12,
|
|
579
|
+
}, null, 12, jt)) : d("", !0)
|
|
567
580
|
]))), 256)),
|
|
568
|
-
e.value.style.layout.marginalBars.showLines ? (
|
|
569
|
-
(
|
|
570
|
-
|
|
581
|
+
e.value.style.layout.marginalBars.showLines ? (o(), r("g", Et, [
|
|
582
|
+
(o(!0), r(P, null, X(qe.value, (t) => (o(), r(P, null, [
|
|
583
|
+
x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
|
|
571
584
|
key: 0,
|
|
572
585
|
d: `M ${t.dX}`,
|
|
573
586
|
stroke: e.value.style.backgroundColor,
|
|
@@ -575,8 +588,8 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
575
588
|
"stroke-linecap": "round",
|
|
576
589
|
"stroke-linejoin": "round",
|
|
577
590
|
fill: "none"
|
|
578
|
-
}, null, 8,
|
|
579
|
-
|
|
591
|
+
}, null, 8, Vt)),
|
|
592
|
+
x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
|
|
580
593
|
key: 1,
|
|
581
594
|
d: `M ${t.dX}`,
|
|
582
595
|
stroke: t.color,
|
|
@@ -584,8 +597,8 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
584
597
|
"stroke-linecap": "round",
|
|
585
598
|
"stroke-linejoin": "round",
|
|
586
599
|
fill: "none"
|
|
587
|
-
}, null, 8,
|
|
588
|
-
|
|
600
|
+
}, null, 8, Gt)),
|
|
601
|
+
x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
|
|
589
602
|
key: 2,
|
|
590
603
|
d: `M ${t.dY}`,
|
|
591
604
|
stroke: e.value.style.backgroundColor,
|
|
@@ -593,8 +606,8 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
593
606
|
"stroke-linecap": "round",
|
|
594
607
|
"stroke-linejoin": "round",
|
|
595
608
|
fill: "none"
|
|
596
|
-
}, null, 8,
|
|
597
|
-
|
|
609
|
+
}, null, 8, Rt)),
|
|
610
|
+
x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
|
|
598
611
|
key: 3,
|
|
599
612
|
d: `M ${t.dY}`,
|
|
600
613
|
stroke: t.color,
|
|
@@ -602,11 +615,11 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
602
615
|
"stroke-linecap": "round",
|
|
603
616
|
"stroke-linejoin": "round",
|
|
604
617
|
fill: "none"
|
|
605
|
-
}, null, 8,
|
|
618
|
+
}, null, 8, qt))
|
|
606
619
|
], 64))), 256))
|
|
607
620
|
])) : d("", !0)
|
|
608
621
|
])) : d("", !0),
|
|
609
|
-
v.value && e.value.style.layout.plots.selectors.show ? (
|
|
622
|
+
v.value && e.value.style.layout.plots.selectors.show ? (o(), r("g", Ut, [
|
|
610
623
|
c("line", {
|
|
611
624
|
x1: p.value.x,
|
|
612
625
|
x2: v.value.x,
|
|
@@ -617,7 +630,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
617
630
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
618
631
|
"stroke-linecap": "round",
|
|
619
632
|
class: "line-pointer"
|
|
620
|
-
}, null, 8,
|
|
633
|
+
}, null, 8, Ht),
|
|
621
634
|
c("line", {
|
|
622
635
|
x1: v.value.x,
|
|
623
636
|
x2: v.value.x,
|
|
@@ -628,7 +641,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
628
641
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
629
642
|
"stroke-linecap": "round",
|
|
630
643
|
class: "line-pointer"
|
|
631
|
-
}, null, 8,
|
|
644
|
+
}, null, 8, Jt),
|
|
632
645
|
c("text", {
|
|
633
646
|
x: p.value.x + (v.value.x > p.value.x ? -6 : 6),
|
|
634
647
|
y: v.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
@@ -646,7 +659,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
646
659
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
647
660
|
}),
|
|
648
661
|
{ datapoint: v.value }
|
|
649
|
-
)), 9,
|
|
662
|
+
)), 9, Kt),
|
|
650
663
|
c("text", {
|
|
651
664
|
x: v.value.x,
|
|
652
665
|
y: p.value.y + (v.value.y > p.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
@@ -664,7 +677,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
664
677
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
665
678
|
}),
|
|
666
679
|
{ datapoint: v.value }
|
|
667
|
-
)), 9,
|
|
680
|
+
)), 9, Qt),
|
|
668
681
|
c("circle", {
|
|
669
682
|
cx: p.value.x,
|
|
670
683
|
cy: v.value.y,
|
|
@@ -673,7 +686,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
673
686
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
674
687
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
675
688
|
class: "line-pointer"
|
|
676
|
-
}, null, 8,
|
|
689
|
+
}, null, 8, Zt),
|
|
677
690
|
c("circle", {
|
|
678
691
|
cx: v.value.x,
|
|
679
692
|
cy: p.value.y,
|
|
@@ -682,8 +695,8 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
682
695
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
683
696
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
684
697
|
class: "line-pointer"
|
|
685
|
-
}, null, 8,
|
|
686
|
-
e.value.style.layout.plots.selectors.labels.showName ? (
|
|
698
|
+
}, null, 8, el),
|
|
699
|
+
e.value.style.layout.plots.selectors.labels.showName ? (o(), r("text", {
|
|
687
700
|
key: 0,
|
|
688
701
|
x: v.value.x,
|
|
689
702
|
y: v.value.y + (v.value.y < p.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
|
|
@@ -691,9 +704,9 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
691
704
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
692
705
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
693
706
|
"text-anchor": v.value.x < u.value.left + 100 ? "start" : v.value.x > u.value.right - 100 ? "end" : v.value.x > p.value.x ? "start" : "end"
|
|
694
|
-
}, $(v.value.v.name), 9,
|
|
707
|
+
}, $(v.value.v.name), 9, tl)) : d("", !0)
|
|
695
708
|
])) : d("", !0),
|
|
696
|
-
e.value.style.layout.dataLabels.xAxis.show ? (
|
|
709
|
+
e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g", ll, [
|
|
697
710
|
c("text", {
|
|
698
711
|
x: u.value.left - 5,
|
|
699
712
|
y: p.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
@@ -709,7 +722,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
709
722
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
710
723
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
711
724
|
})
|
|
712
|
-
)), 9,
|
|
725
|
+
)), 9, al),
|
|
713
726
|
c("text", {
|
|
714
727
|
x: u.value.right + 3,
|
|
715
728
|
y: p.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
@@ -725,7 +738,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
725
738
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
726
739
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
727
740
|
})
|
|
728
|
-
)), 9,
|
|
741
|
+
)), 9, ol),
|
|
729
742
|
c("text", {
|
|
730
743
|
id: `vue-ui-scatter-xAxis-label-${C.value}`,
|
|
731
744
|
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${u.value.top + u.value.height / 2}), rotate(-90)`,
|
|
@@ -733,9 +746,9 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
733
746
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
734
747
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
735
748
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
736
|
-
}, $(e.value.style.layout.dataLabels.xAxis.name), 9,
|
|
749
|
+
}, $(e.value.style.layout.dataLabels.xAxis.name), 9, sl)
|
|
737
750
|
])) : d("", !0),
|
|
738
|
-
e.value.style.layout.dataLabels.yAxis.show ? (
|
|
751
|
+
e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g", ul, [
|
|
739
752
|
c("text", {
|
|
740
753
|
x: p.value.x,
|
|
741
754
|
y: u.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
|
|
@@ -751,7 +764,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
751
764
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
752
765
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
753
766
|
})
|
|
754
|
-
)), 9,
|
|
767
|
+
)), 9, rl),
|
|
755
768
|
c("text", {
|
|
756
769
|
x: p.value.x,
|
|
757
770
|
y: u.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
|
|
@@ -767,7 +780,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
767
780
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
768
781
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
769
782
|
})
|
|
770
|
-
)), 9,
|
|
783
|
+
)), 9, il),
|
|
771
784
|
c("text", {
|
|
772
785
|
"text-anchor": "middle",
|
|
773
786
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
@@ -775,7 +788,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
775
788
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
776
789
|
x: u.value.left + u.value.width / 2,
|
|
777
790
|
y: u.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
|
|
778
|
-
}, $(e.value.style.layout.dataLabels.yAxis.name), 9,
|
|
791
|
+
}, $(e.value.style.layout.dataLabels.yAxis.name), 9, nl)
|
|
779
792
|
])) : d("", !0),
|
|
780
793
|
c("clipPath", {
|
|
781
794
|
id: `clip_path_${C.value}`
|
|
@@ -785,10 +798,10 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
785
798
|
y: u.value.top,
|
|
786
799
|
width: u.value.width <= 0 ? 1e-4 : u.value.width,
|
|
787
800
|
height: u.value.height <= 0 ? 1e-4 : u.value.height
|
|
788
|
-
}, null, 8,
|
|
789
|
-
], 8,
|
|
790
|
-
e.value.style.layout.correlation.show ? (
|
|
791
|
-
(
|
|
801
|
+
}, null, 8, vl)
|
|
802
|
+
], 8, yl),
|
|
803
|
+
e.value.style.layout.correlation.show ? (o(), r("g", cl, [
|
|
804
|
+
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("line", {
|
|
792
805
|
x1: t.correlation.x1,
|
|
793
806
|
x2: t.correlation.x2,
|
|
794
807
|
y1: t.correlation.y1,
|
|
@@ -797,9 +810,9 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
797
810
|
stroke: t.color,
|
|
798
811
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
799
812
|
"clip-path": `url(#clip_path_${C.value})`
|
|
800
|
-
}, null, 8,
|
|
801
|
-
(
|
|
802
|
-
e.value.style.layout.correlation.label.show ? (
|
|
813
|
+
}, null, 8, dl))), 256)),
|
|
814
|
+
(o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
|
|
815
|
+
e.value.style.layout.correlation.label.show ? (o(), r("text", {
|
|
803
816
|
key: 0,
|
|
804
817
|
x: t.label.x,
|
|
805
818
|
y: t.label.y,
|
|
@@ -809,15 +822,15 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
809
822
|
}, $(y(W)({
|
|
810
823
|
v: y(M)(t.correlation.coefficient),
|
|
811
824
|
r: e.value.style.layout.correlation.label.roundingValue
|
|
812
|
-
})), 9,
|
|
825
|
+
})), 9, hl)) : d("", !0)
|
|
813
826
|
]))), 256))
|
|
814
827
|
])) : d("", !0),
|
|
815
828
|
T(l.$slots, "svg", { svg: z.value }, void 0, !0)
|
|
816
|
-
], 14,
|
|
817
|
-
l.$slots.watermark ? (
|
|
818
|
-
T(l.$slots, "watermark", oe(
|
|
829
|
+
], 14, Mt)) : d("", !0),
|
|
830
|
+
l.$slots.watermark ? (o(), r("div", pl, [
|
|
831
|
+
T(l.$slots, "watermark", ae(oe({ isPrinting: y(_e) || y(we) })), void 0, !0)
|
|
819
832
|
])) : d("", !0),
|
|
820
|
-
Q.value ? d("", !0) : (
|
|
833
|
+
Q.value ? d("", !0) : (o(), q(kt, {
|
|
821
834
|
key: 4,
|
|
822
835
|
config: {
|
|
823
836
|
type: "quadrant",
|
|
@@ -837,19 +850,19 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
837
850
|
}, null, 8, ["config"])),
|
|
838
851
|
c("div", {
|
|
839
852
|
ref_key: "chartLegend",
|
|
840
|
-
ref:
|
|
853
|
+
ref: fe
|
|
841
854
|
}, [
|
|
842
|
-
e.value.style.legend.show ? (
|
|
843
|
-
key:
|
|
855
|
+
e.value.style.legend.show ? (o(), q(mt, {
|
|
856
|
+
key: `legend_${me.value}`,
|
|
844
857
|
legendSet: E.value,
|
|
845
|
-
config:
|
|
846
|
-
onClickMarker: i[0] || (i[0] = ({ legend: t }) =>
|
|
858
|
+
config: Ge.value,
|
|
859
|
+
onClickMarker: i[0] || (i[0] = ({ legend: t }) => Te(t.id))
|
|
847
860
|
}, {
|
|
848
861
|
item: w(({ legend: t }) => [
|
|
849
862
|
c("div", {
|
|
850
|
-
onClick: (
|
|
851
|
-
style: Y(`opacity:${
|
|
852
|
-
}, $(t.name), 13,
|
|
863
|
+
onClick: (s) => t.segregate(),
|
|
864
|
+
style: Y(`opacity:${x.value.includes(t.id) ? 0.5 : 1}`)
|
|
865
|
+
}, $(t.name), 13, fl)
|
|
853
866
|
]),
|
|
854
867
|
_: 1
|
|
855
868
|
}, 8, ["legendSet", "config"])) : T(l.$slots, "legend", {
|
|
@@ -857,8 +870,8 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
857
870
|
legend: E.value
|
|
858
871
|
}, void 0, !0)
|
|
859
872
|
], 512),
|
|
860
|
-
|
|
861
|
-
show: I.value.showTooltip &&
|
|
873
|
+
Fe(xt, {
|
|
874
|
+
show: I.value.showTooltip && se.value,
|
|
862
875
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
863
876
|
color: e.value.style.tooltip.color,
|
|
864
877
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -868,20 +881,20 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
868
881
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
869
882
|
position: e.value.style.tooltip.position,
|
|
870
883
|
offsetY: e.value.style.tooltip.offsetY,
|
|
871
|
-
parent:
|
|
872
|
-
content:
|
|
884
|
+
parent: J.value,
|
|
885
|
+
content: ue.value,
|
|
873
886
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
874
887
|
}, {
|
|
875
888
|
"tooltip-before": w(() => [
|
|
876
|
-
T(l.$slots, "tooltip-before", oe(
|
|
889
|
+
T(l.$slots, "tooltip-before", ae(oe({ ...ie.value })), void 0, !0)
|
|
877
890
|
]),
|
|
878
891
|
"tooltip-after": w(() => [
|
|
879
|
-
T(l.$slots, "tooltip-after", oe(
|
|
892
|
+
T(l.$slots, "tooltip-after", ae(oe({ ...ie.value })), void 0, !0)
|
|
880
893
|
]),
|
|
881
894
|
default: w(() => [
|
|
882
|
-
e.value.style.tooltip.showShape ? (
|
|
883
|
-
(
|
|
884
|
-
|
|
895
|
+
e.value.style.tooltip.showShape ? (o(), r("div", gl, [
|
|
896
|
+
(o(), r("svg", xl, [
|
|
897
|
+
Fe(Ie, {
|
|
885
898
|
shape: v.value.shape,
|
|
886
899
|
color: v.value.color,
|
|
887
900
|
plot: { x: 10, y: 10 },
|
|
@@ -892,7 +905,7 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
892
905
|
]),
|
|
893
906
|
_: 3
|
|
894
907
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
895
|
-
Q.value ? (
|
|
908
|
+
Q.value ? (o(), q(_t, {
|
|
896
909
|
key: 5,
|
|
897
910
|
hideDetails: "",
|
|
898
911
|
config: {
|
|
@@ -909,7 +922,8 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
909
922
|
}
|
|
910
923
|
}, {
|
|
911
924
|
content: w(() => [
|
|
912
|
-
|
|
925
|
+
(o(), q(bt, {
|
|
926
|
+
key: `table_${xe.value}`,
|
|
913
927
|
colNames: te.value.colNames,
|
|
914
928
|
head: te.value.head,
|
|
915
929
|
body: te.value.body,
|
|
@@ -918,24 +932,24 @@ const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2",
|
|
|
918
932
|
onClose: i[1] || (i[1] = (t) => I.value.showTable = !1)
|
|
919
933
|
}, {
|
|
920
934
|
th: w(({ th: t }) => [
|
|
921
|
-
|
|
935
|
+
Ze($(t), 1)
|
|
922
936
|
]),
|
|
923
937
|
td: w(({ td: t }) => [
|
|
924
|
-
t.shape ? (
|
|
938
|
+
t.shape ? (o(), r("div", ml, [
|
|
925
939
|
c("span", null, $(t.content), 1)
|
|
926
|
-
])) : (
|
|
940
|
+
])) : (o(), r("div", {
|
|
927
941
|
key: 1,
|
|
928
942
|
innerHTML: t
|
|
929
|
-
}, null, 8,
|
|
943
|
+
}, null, 8, bl))
|
|
930
944
|
]),
|
|
931
945
|
_: 1
|
|
932
|
-
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
946
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
933
947
|
]),
|
|
934
948
|
_: 1
|
|
935
949
|
}, 8, ["config"])) : d("", !0)
|
|
936
|
-
], 14,
|
|
950
|
+
], 14, $t));
|
|
937
951
|
}
|
|
938
|
-
},
|
|
952
|
+
}, Wl = /* @__PURE__ */ wt(kl, [["__scopeId", "data-v-88ab605a"]]);
|
|
939
953
|
export {
|
|
940
|
-
|
|
954
|
+
Wl as default
|
|
941
955
|
};
|