vue-data-ui 2.3.61 → 2.3.63
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-B5nYwPUt.js → Arrow-CBx1Hj4I.js} +1 -1
- package/dist/{Arrow-Dv_tprAO.cjs → Arrow-fP0md3L3.cjs} +1 -1
- package/dist/{BaseIcon-DUPLRuLO.js → BaseIcon-CS18qRiy.js} +1 -1
- package/dist/{BaseIcon-aPcCSO_Z.cjs → BaseIcon-O8jJvy48.cjs} +1 -1
- package/dist/{DataTable-NUzEZXWt.js → DataTable-BGJ2mVxG.js} +2 -2
- package/dist/{DataTable-B6xCb-DR.cjs → DataTable-CSEiZDAb.cjs} +1 -1
- package/dist/{Legend-ePmJ_YIA.cjs → Legend-DuuSl2rJ.cjs} +1 -1
- package/dist/{Legend-C3tseguI.js → Legend-UWyvC57K.js} +1 -1
- package/dist/{Shape-DAe5uqIA.cjs → Shape-Dsx4SQVn.cjs} +1 -1
- package/dist/{Shape-BPcWPP9D.js → Shape-HfEpP-Tk.js} +1 -1
- package/dist/{Slicer-CmHwU6if.js → Slicer-Bk3Rt85L.js} +9 -9
- package/dist/{Slicer-BJs52Jle.cjs → Slicer-Cf74aFVz.cjs} +1 -1
- package/dist/{Title-BAQrVaNA.js → Title-CPZstF2C.js} +1 -1
- package/dist/{Title-B_p983os.cjs → Title-PZ6S96pU.cjs} +1 -1
- package/dist/{Tooltip-C2dhDgoh.cjs → Tooltip-BoIYPSX3.cjs} +1 -1
- package/dist/{Tooltip-B73tTE2v.js → Tooltip-CBmmiqKr.js} +5 -5
- package/dist/{index-CwG--L4Z.js → index-C_05i_JG.js} +578 -526
- package/dist/{index-nPEJmXmf.cjs → index-NNZeHOBS.cjs} +4 -4
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-TbnnNrH2.cjs → useNestedProp-CPsbJAGj.cjs} +1 -1
- package/dist/{useNestedProp-BqwYEJGM.js → useNestedProp-DLnT0Wtg.js} +1 -1
- package/dist/{usePrinter-D012Olnq.cjs → usePrinter-BLbY8qGZ.cjs} +1 -1
- package/dist/{usePrinter-Do9tGYem.js → usePrinter-DOhlzlnx.js} +1 -1
- package/dist/{vue-data-ui-DQAJDvpX.cjs → vue-data-ui-D5aG0WkE.cjs} +1 -1
- package/dist/{vue-data-ui-ORLyt-v3.js → vue-data-ui-vqnxkVKv.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +7 -7
- package/dist/{vue-ui-3d-bar-BRbooRg3.cjs → vue-ui-3d-bar-Cez69HMH.cjs} +1 -1
- package/dist/{vue-ui-3d-bar--ztApFzW.js → vue-ui-3d-bar-b7Pu7sfL.js} +7 -7
- package/dist/{vue-ui-accordion-CHL4xuW4.cjs → vue-ui-accordion-CcdyvXrp.cjs} +1 -1
- package/dist/{vue-ui-accordion-Be_wWB1T.js → vue-ui-accordion-rGJVvi_V.js} +3 -3
- package/dist/vue-ui-age-pyramid-B6LKyKjc.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-DLIladXC.js → vue-ui-age-pyramid-CH1Vj2R6.js} +226 -226
- package/dist/{vue-ui-annotator-CS2d8F8x.cjs → vue-ui-annotator-BfmMNM_X.cjs} +1 -1
- package/dist/{vue-ui-annotator-Bxrjl1nz.js → vue-ui-annotator-CTio5IiK.js} +1 -1
- package/dist/{vue-ui-candlestick-BppLVU6c.js → vue-ui-candlestick-C4kT9W0j.js} +158 -158
- package/dist/{vue-ui-candlestick-tumv-lhv.cjs → vue-ui-candlestick-DvX9Jxoi.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BsFNypM6.cjs → vue-ui-carousel-table-CMs7scX3.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BnOsmGVc.js → vue-ui-carousel-table-Df2HHk0v.js} +4 -4
- package/dist/{vue-ui-chestnut-DFb7M_SC.js → vue-ui-chestnut-BKTnDElg.js} +65 -64
- package/dist/{vue-ui-chestnut-tK8ebPQM.cjs → vue-ui-chestnut-CCw8h0_m.cjs} +3 -3
- package/dist/{vue-ui-cursor-D-eRMlWI.cjs → vue-ui-cursor-C-8bpiuy.cjs} +1 -1
- package/dist/{vue-ui-cursor-CYk61ZVK.js → vue-ui-cursor-DOOlFN5D.js} +2 -2
- package/dist/{vue-ui-dashboard-Cbk74q7K.cjs → vue-ui-dashboard-B_h8KxOx.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BomFWtsP.js → vue-ui-dashboard-D7U1UkAh.js} +2 -2
- package/dist/{vue-ui-digits-Ch9quA4D.js → vue-ui-digits-DmxQgABv.js} +2 -2
- package/dist/{vue-ui-digits-DWJOvgi2.cjs → vue-ui-digits-DoQoNGGx.cjs} +1 -1
- package/dist/{vue-ui-donut-BIMgi_Qw.cjs → vue-ui-donut-DdnwGXq6.cjs} +1 -1
- package/dist/vue-ui-donut-evolution-DsRAZLMN.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-ClNciLi2.js → vue-ui-donut-evolution-uPCTV6E6.js} +95 -95
- package/dist/{vue-ui-donut-Ctzc7e6_.js → vue-ui-donut-t5zf9Lm5.js} +42 -42
- package/dist/{vue-ui-dumbbell-IBrAHdlc.js → vue-ui-dumbbell-BCdxqHVR.js} +109 -107
- package/dist/vue-ui-dumbbell-D1Ak2pEE.cjs +9 -0
- package/dist/vue-ui-flow-CLqm5nkx.cjs +1 -0
- package/dist/vue-ui-flow-J1SmdKkh.js +469 -0
- package/dist/vue-ui-galaxy-CSXbhXBe.cjs +1 -0
- package/dist/{vue-ui-galaxy-BBKU6WqV.js → vue-ui-galaxy-DNMbyKNg.js} +91 -91
- package/dist/{vue-ui-gauge-CDpN6D_X.js → vue-ui-gauge-CC_9cSwj.js} +84 -84
- package/dist/vue-ui-gauge-O3ntKI31.cjs +1 -0
- package/dist/{vue-ui-gizmo-BS-olrbu.js → vue-ui-gizmo-C5vGMHUU.js} +2 -2
- package/dist/{vue-ui-gizmo-Dyi4DWSA.cjs → vue-ui-gizmo-qrJt0nH6.cjs} +1 -1
- package/dist/vue-ui-heatmap-BjimHnMb.cjs +1 -0
- package/dist/{vue-ui-heatmap-Bonl3GBj.js → vue-ui-heatmap-ByxLZuR5.js} +257 -239
- package/dist/{vue-ui-kpi-MeC195T8.js → vue-ui-kpi-DdNQlVCe.js} +3 -3
- package/dist/{vue-ui-kpi-ChD3Gh4P.cjs → vue-ui-kpi-eyxMedig.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-NiTij5XQ.cjs → vue-ui-mini-loader-B5ykH9BF.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-l2G4D7lJ.js → vue-ui-mini-loader-C05VGcNr.js} +2 -2
- package/dist/{vue-ui-molecule-C1dO-Ony.js → vue-ui-molecule-DI0oHPT5.js} +20 -20
- package/dist/{vue-ui-molecule-pXZ3aWlr.cjs → vue-ui-molecule-LZ1SRkgK.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-C3Gv4iYr.cjs → vue-ui-mood-radar-BJqk2oK_.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-BVpJ3O4m.js → vue-ui-mood-radar-DIDqiVMf.js} +9 -9
- package/dist/{vue-ui-nested-donuts-Dmeqsml8.js → vue-ui-nested-donuts-BkSiryoB.js} +120 -120
- package/dist/{vue-ui-nested-donuts-Cwk0M7SE.cjs → vue-ui-nested-donuts-Nggnu_iK.cjs} +2 -2
- package/dist/{vue-ui-onion-BmJO696O.cjs → vue-ui-onion-B29Cxru2.cjs} +1 -1
- package/dist/{vue-ui-onion-Ogj_rMlX.js → vue-ui-onion-xiubSG3j.js} +9 -9
- package/dist/{vue-ui-parallel-coordinate-plot-BBBuJdGN.js → vue-ui-parallel-coordinate-plot-DjmOGHVx.js} +69 -69
- package/dist/{vue-ui-parallel-coordinate-plot-Cqm7uMBs.cjs → vue-ui-parallel-coordinate-plot-DqrkSOo6.cjs} +1 -1
- package/dist/{vue-ui-quadrant-BJtgJ_lu.js → vue-ui-quadrant-Cc79ggIy.js} +36 -36
- package/dist/{vue-ui-quadrant-DcqQwIsD.cjs → vue-ui-quadrant-Df_2X-ca.cjs} +1 -1
- package/dist/vue-ui-quick-chart-BnBGXd4d.cjs +15 -0
- package/dist/{vue-ui-quick-chart-D7dCfDSL.js → vue-ui-quick-chart-t_cPx4OT.js} +549 -515
- package/dist/{vue-ui-radar-BMxzhMFJ.js → vue-ui-radar-C3qEonKT.js} +59 -59
- package/dist/vue-ui-radar-D3W9B9JE.cjs +1 -0
- package/dist/{vue-ui-rating-DSgHml7s.js → vue-ui-rating-DffL7w-I.js} +9 -9
- package/dist/{vue-ui-rating-buop0ul0.cjs → vue-ui-rating-aOa6zIr5.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BACMnvv8.cjs → vue-ui-relation-circle-BZ7r7Unx.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CdHbZK0u.js → vue-ui-relation-circle-D0zUfd3f.js} +5 -5
- package/dist/vue-ui-rings-BjWAtE4x.cjs +2 -0
- package/dist/{vue-ui-rings-BBnzxfo2.js → vue-ui-rings-PHbuqfoT.js} +188 -185
- package/dist/{vue-ui-scatter-sF3c5eqM.cjs → vue-ui-scatter-DMJ77QYr.cjs} +1 -1
- package/dist/{vue-ui-scatter-DYXhTzch.js → vue-ui-scatter-DuCnr2yB.js} +378 -375
- package/dist/{vue-ui-screenshot-D-6YvKkW.cjs → vue-ui-screenshot-DBuA631a.cjs} +1 -1
- package/dist/{vue-ui-screenshot-B4WOalT6.js → vue-ui-screenshot-DbwRrmHv.js} +6 -6
- package/dist/{vue-ui-skeleton-D6wHGzmu.cjs → vue-ui-skeleton-CI4t8LHn.cjs} +1 -1
- package/dist/{vue-ui-skeleton-ClzVF3vm.js → vue-ui-skeleton-CcJR2m18.js} +23 -23
- package/dist/{vue-ui-smiley-B1cqwAN5.js → vue-ui-smiley-2rJFSSZS.js} +2 -2
- package/dist/{vue-ui-smiley-CoVnFdkD.cjs → vue-ui-smiley-C7KBm0fz.cjs} +1 -1
- package/dist/vue-ui-spark-trend-DY_sfo6o.js +251 -0
- package/dist/vue-ui-spark-trend-VH2nwGJf.cjs +1 -0
- package/dist/{vue-ui-sparkbar-BOzSGZak.js → vue-ui-sparkbar-B0O77PcV.js} +3 -3
- package/dist/{vue-ui-sparkbar-CpIfPtyd.cjs → vue-ui-sparkbar-Bs8ZQem1.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-4hk6ZJwJ.js → vue-ui-sparkgauge-B5KqrHQZ.js} +64 -64
- package/dist/vue-ui-sparkgauge-Cd7b4u0z.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-VCAQZfgG.cjs → vue-ui-sparkhistogram-CEWCLohQ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-8degKlMU.js → vue-ui-sparkhistogram-DwRPeG7H.js} +4 -4
- package/dist/{vue-ui-sparkline-DsUwWV4z.cjs → vue-ui-sparkline-CuFtIMpq.cjs} +1 -1
- package/dist/{vue-ui-sparkline-uBkd9kR2.js → vue-ui-sparkline-W5bZnpQo.js} +25 -25
- package/dist/{vue-ui-sparkstackbar-Cpq2lHcl.js → vue-ui-sparkstackbar-9hBQZ0lZ.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-DyNfMGkM.cjs → vue-ui-sparkstackbar-TyVFUMtT.cjs} +1 -1
- package/dist/{vue-ui-stackbar-lr_qudpY.js → vue-ui-stackbar-BlkgM0nD.js} +35 -35
- package/dist/{vue-ui-stackbar-jQe7BneA.cjs → vue-ui-stackbar-CwVcupxt.cjs} +1 -1
- package/dist/vue-ui-strip-plot-C1GfRjXJ.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DwvlcnHB.js → vue-ui-strip-plot-CBfqkkY6.js} +76 -75
- package/dist/{vue-ui-table-Dhj4_z9d.js → vue-ui-table-B8cvvLk8.js} +1 -1
- package/dist/{vue-ui-table-D5ybohqp.cjs → vue-ui-table-CmguTt4I.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CChLZdxj.cjs → vue-ui-table-heatmap-DMnh8-b1.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BY65DeiH.js → vue-ui-table-heatmap-wVWltZ2x.js} +26 -26
- package/dist/{vue-ui-table-sparkline-CvMETVJ1.js → vue-ui-table-sparkline-_POawNEL.js} +13 -13
- package/dist/{vue-ui-table-sparkline-Cmy6PcPI.cjs → vue-ui-table-sparkline-wtIFAc20.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BIN2ofrh.js → vue-ui-thermometer-CFJqd-VY.js} +116 -116
- package/dist/vue-ui-thermometer-D6SnFJb1.cjs +1 -0
- package/dist/{vue-ui-timer-DBcOT10h.cjs → vue-ui-timer-194y0LUC.cjs} +1 -1
- package/dist/{vue-ui-timer-DoSqphvk.js → vue-ui-timer-D8dgDAfe.js} +4 -4
- package/dist/vue-ui-tiremarks-BM28JsxE.cjs +1 -0
- package/dist/{vue-ui-tiremarks-DRTLsMWt.js → vue-ui-tiremarks-CH1BFqbO.js} +71 -71
- package/dist/vue-ui-treemap-BIpIg3Qa.cjs +1 -0
- package/dist/{vue-ui-treemap-D8-D_wfq.js → vue-ui-treemap-DHsoVY5n.js} +89 -82
- package/dist/{vue-ui-vertical-bar-zUaXmUpB.js → vue-ui-vertical-bar-DNODBoSo.js} +246 -242
- package/dist/vue-ui-vertical-bar-Du8ikoWM.cjs +4 -0
- package/dist/{vue-ui-waffle-CztGir7e.js → vue-ui-waffle-C8hMAeMl.js} +44 -44
- package/dist/{vue-ui-waffle-RCqpPcSF.cjs → vue-ui-waffle-_Bi9MRx8.cjs} +1 -1
- package/dist/{vue-ui-wheel-CBqL8FKG.cjs → vue-ui-wheel-BZxcRGJX.cjs} +1 -1
- package/dist/{vue-ui-wheel-BQ2a-ZyV.js → vue-ui-wheel-CmZKsfKj.js} +5 -5
- package/dist/{vue-ui-word-cloud-CKUGIGnW.js → vue-ui-word-cloud-fLf-x06l.js} +68 -65
- package/dist/vue-ui-word-cloud-nHVG2yid.cjs +1 -0
- package/dist/{vue-ui-xy-Dsa2tfKS.js → vue-ui-xy-CPln5bGQ.js} +82 -82
- package/dist/vue-ui-xy-canvas-Z1tJJV5-.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-JeNqaB_p.js → vue-ui-xy-canvas-k30CEsKi.js} +122 -121
- package/dist/vue-ui-xy-qxQy2sOl.cjs +3 -0
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-BILMRRi1.cjs +0 -1
- package/dist/vue-ui-donut-evolution-K7LUkN6q.cjs +0 -1
- package/dist/vue-ui-dumbbell-HVpK20XO.cjs +0 -9
- package/dist/vue-ui-flow-CiXnGdNb.js +0 -465
- package/dist/vue-ui-flow-ClV2yd8Y.cjs +0 -1
- package/dist/vue-ui-galaxy-CMCXCWDA.cjs +0 -1
- package/dist/vue-ui-gauge-DwCGaX1h.cjs +0 -1
- package/dist/vue-ui-heatmap-WFNo-GFX.cjs +0 -1
- package/dist/vue-ui-quick-chart-D9zFHA0L.cjs +0 -15
- package/dist/vue-ui-radar-D8ik0Fqr.cjs +0 -1
- package/dist/vue-ui-rings-Dn5opKNy.cjs +0 -2
- package/dist/vue-ui-spark-trend-DnO4DW0n.cjs +0 -1
- package/dist/vue-ui-spark-trend-HioE2zeC.js +0 -251
- package/dist/vue-ui-sparkgauge-C2_I0tyO.cjs +0 -1
- package/dist/vue-ui-strip-plot-BMKaWqD4.cjs +0 -1
- package/dist/vue-ui-thermometer-Bfp-FwRE.cjs +0 -1
- package/dist/vue-ui-tiremarks-BeBJHz2R.cjs +0 -1
- package/dist/vue-ui-treemap-DqBukSj6.cjs +0 -1
- package/dist/vue-ui-vertical-bar-BM3aaSuB.cjs +0 -4
- package/dist/vue-ui-word-cloud-BbnU0d3E.cjs +0 -1
- package/dist/vue-ui-xy-BU0fCkSk.cjs +0 -3
- package/dist/vue-ui-xy-canvas-IaIARWWS.cjs +0 -9
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { computed as b, ref as k, onMounted 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 b, ref as k, onMounted as Ve, onBeforeUnmount as Ge, openBlock as s, createElementBlock as r, normalizeClass as Te, normalizeStyle as Y, createVNode as ae, createCommentVNode as d, createBlock as K, unref as y, createSlots as Re, withCtx as w, renderSlot as T, normalizeProps as oe, guardReactiveProps as se, createElementVNode as c, Fragment as P, renderList as O, toDisplayString as $, createTextVNode as qe, nextTick as Ue } from "vue";
|
|
2
|
+
import { u as He, c as Je, t as Ke, a as Qe, p as q, o as Ze, e as de, b as et, g as Be, P as Ne, X as tt, R as lt, w as he, i as j, s as M, f as W, x as at, y as ot, q as st, r as ut } from "./index-C_05i_JG.js";
|
|
3
|
+
import { t as rt, u as it } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as nt } from "./Title-CPZstF2C.js";
|
|
5
|
+
import { u as yt, U as vt } from "./usePrinter-DOhlzlnx.js";
|
|
6
|
+
import { _ as ct } from "./Tooltip-CBmmiqKr.js";
|
|
7
|
+
import { L as dt } from "./Legend-UWyvC57K.js";
|
|
8
|
+
import { _ as Pe } from "./Shape-HfEpP-Tk.js";
|
|
9
|
+
import { D as ht } from "./DataTable-BGJ2mVxG.js";
|
|
10
|
+
import pt from "./vue-ui-skeleton-CcJR2m18.js";
|
|
11
|
+
import ft from "./vue-ui-accordion-rGJVvi_V.js";
|
|
12
|
+
import { u as We } from "./useNestedProp-DLnT0Wtg.js";
|
|
13
|
+
import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const xt = ["id"], mt = ["xmlns", "viewBox"], bt = { key: 0 }, kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wt = { key: 1 }, $t = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Mt = { key: 0 }, Ct = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], zt = { key: 1 }, St = { key: 2 }, At = ["id"], Lt = ["stop-color"], Tt = ["stop-color"], Bt = ["id"], Nt = ["stop-color"], Pt = ["stop-color"], Wt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], Ft = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ot = { key: 0 }, Xt = ["d", "stroke", "stroke-width"], It = ["d", "stroke", "stroke-width"], Dt = ["d", "stroke", "stroke-width"], Yt = ["d", "stroke", "stroke-width"], jt = {
|
|
15
15
|
key: 3,
|
|
16
16
|
style: { "pointer-events": "none !important" }
|
|
17
|
-
},
|
|
17
|
+
}, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Gt = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Rt = ["x", "y", "font-size", "fill", "font-weight"], qt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ut = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ht = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], Jt = { key: 4 }, Kt = ["x", "y", "font-size", "fill"], Qt = ["x", "y", "font-size", "fill"], Zt = ["id", "transform", "font-size", "font-weight", "fill"], el = { key: 5 }, tl = ["x", "y", "font-size", "fill"], ll = ["x", "y", "font-size", "fill"], al = ["font-size", "font-weight", "fill", "x", "y"], ol = ["id"], sl = ["x", "y", "width", "height"], ul = { key: 6 }, rl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], il = ["x", "y", "fill", "font-size", "font-weight"], nl = {
|
|
18
18
|
key: 3,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
20
|
+
}, yl = ["onClick"], vl = {
|
|
21
21
|
key: 0,
|
|
22
22
|
style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
23
|
-
},
|
|
23
|
+
}, cl = {
|
|
24
24
|
viewBox: "0 0 20 20",
|
|
25
25
|
height: "20",
|
|
26
26
|
width: "20",
|
|
27
27
|
style: { overflow: "hidden", background: "transparent" }
|
|
28
|
-
},
|
|
28
|
+
}, dl = { key: 0 }, hl = ["innerHTML"], pl = {
|
|
29
29
|
__name: "vue-ui-scatter",
|
|
30
30
|
props: {
|
|
31
31
|
config: {
|
|
@@ -41,104 +41,104 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
|
-
setup(
|
|
45
|
-
const
|
|
46
|
-
const l =
|
|
47
|
-
userConfig:
|
|
48
|
-
defaultConfig:
|
|
44
|
+
setup(Fe, { expose: Oe }) {
|
|
45
|
+
const X = Fe, { vue_ui_scatter: Xe } = He(), Q = b(() => !!X.dataset && X.dataset.length), C = k(Je()), Ie = k(null), ue = k(!1), re = k(""), pe = k(0), H = k(null), fe = k(null), ge = k(null), e = b(() => {
|
|
46
|
+
const l = We({
|
|
47
|
+
userConfig: X.config,
|
|
48
|
+
defaultConfig: Xe
|
|
49
49
|
});
|
|
50
50
|
return l.theme ? {
|
|
51
|
-
...
|
|
52
|
-
userConfig:
|
|
51
|
+
...We({
|
|
52
|
+
userConfig: Ke.vue_ui_scatter[l.theme] || X.config,
|
|
53
53
|
defaultConfig: l
|
|
54
54
|
}),
|
|
55
|
-
customPalette:
|
|
55
|
+
customPalette: Qe[l.theme] || q
|
|
56
56
|
} : l;
|
|
57
|
-
}),
|
|
58
|
-
|
|
59
|
-
if (
|
|
57
|
+
}), Z = k(null);
|
|
58
|
+
Ve(() => {
|
|
59
|
+
if (Ze(X.dataset) && de({
|
|
60
60
|
componentName: "VueUiScatter",
|
|
61
61
|
type: "dataset"
|
|
62
62
|
}), 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 ?
|
|
63
|
+
const l = rt(() => {
|
|
64
|
+
const { width: i, height: t } = it({
|
|
65
|
+
chart: H.value,
|
|
66
|
+
title: e.value.style.title.text ? fe.value : null,
|
|
67
|
+
legend: e.value.style.legend.show ? ge.value : null
|
|
68
68
|
});
|
|
69
|
-
|
|
69
|
+
z.value.width = i, z.value.height = t;
|
|
70
70
|
});
|
|
71
|
-
|
|
71
|
+
Z.value = new ResizeObserver(l), Z.value.observe(H.value.parentNode);
|
|
72
72
|
}
|
|
73
|
-
}),
|
|
74
|
-
|
|
73
|
+
}), Ge(() => {
|
|
74
|
+
Z.value && Z.value.disconnect();
|
|
75
75
|
});
|
|
76
|
-
const { isPrinting:
|
|
77
|
-
elementId: `vue-ui-scatter_${
|
|
76
|
+
const { isPrinting: xe, isImaging: me, generatePdf: be, generateImage: ke } = yt({
|
|
77
|
+
elementId: `vue-ui-scatter_${C.value}`,
|
|
78
78
|
fileName: e.value.style.title.text || "vue-ui-scatter"
|
|
79
|
-
}),
|
|
79
|
+
}), _e = b(() => et(e.value.customPalette)), I = k({
|
|
80
80
|
showTable: e.value.table.show,
|
|
81
81
|
showTooltip: e.value.style.tooltip.show
|
|
82
|
-
}),
|
|
82
|
+
}), z = k({
|
|
83
83
|
height: e.value.style.layout.height,
|
|
84
84
|
width: e.value.style.layout.width
|
|
85
|
-
}),
|
|
86
|
-
top: e.value.style.layout.padding.top +
|
|
87
|
-
right:
|
|
88
|
-
bottom:
|
|
85
|
+
}), ee = b(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), u = b(() => ({
|
|
86
|
+
top: e.value.style.layout.padding.top + ee.value,
|
|
87
|
+
right: z.value.width - e.value.style.layout.padding.right - ee.value,
|
|
88
|
+
bottom: z.value.height - e.value.style.layout.padding.bottom,
|
|
89
89
|
left: e.value.style.layout.padding.left,
|
|
90
|
-
height:
|
|
91
|
-
width:
|
|
90
|
+
height: z.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - ee.value,
|
|
91
|
+
width: z.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - ee.value
|
|
92
92
|
})), h = b(() => {
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
X.dataset.forEach((a, n) => {
|
|
94
|
+
Be({
|
|
95
95
|
datasetObject: a,
|
|
96
96
|
requiredAttributes: ["values"]
|
|
97
97
|
}).forEach((x) => {
|
|
98
|
-
|
|
98
|
+
de({
|
|
99
99
|
componentName: "VueUiScatter",
|
|
100
100
|
type: "datasetSerieAttribute",
|
|
101
101
|
property: x,
|
|
102
102
|
index: n
|
|
103
103
|
});
|
|
104
|
-
}), a.values && a.values.forEach((x,
|
|
105
|
-
|
|
104
|
+
}), a.values && a.values.forEach((x, V) => {
|
|
105
|
+
Be({
|
|
106
106
|
datasetObject: x,
|
|
107
107
|
requiredAttributes: ["x", "y"]
|
|
108
|
-
}).forEach((
|
|
109
|
-
|
|
108
|
+
}).forEach((U) => {
|
|
109
|
+
de({
|
|
110
110
|
componentName: "VueUiScatter",
|
|
111
111
|
type: "datasetSerieAttribute",
|
|
112
|
-
property: `values.${
|
|
113
|
-
index: `${n} - ${
|
|
112
|
+
property: `values.${U}`,
|
|
113
|
+
index: `${n} - ${V}`
|
|
114
114
|
});
|
|
115
115
|
});
|
|
116
116
|
});
|
|
117
117
|
});
|
|
118
|
-
const l = Math.min(...
|
|
118
|
+
const l = Math.min(...E.value.filter((a) => !g.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), i = Math.max(...E.value.filter((a) => !g.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), t = Math.min(...E.value.filter((a) => !g.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y))), o = Math.max(...E.value.filter((a) => !g.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y)));
|
|
119
119
|
return { xMin: l >= 0 ? 0 : l, xMax: i, yMin: t >= 0 ? 0 : t, yMax: o };
|
|
120
120
|
}), p = b(() => ({
|
|
121
121
|
x: u.value.left + Math.abs(h.value.xMin) / (h.value.xMax + Math.abs(h.value.xMin)) * u.value.width,
|
|
122
122
|
y: u.value.bottom - Math.abs(h.value.yMin) / (h.value.yMax + Math.abs(h.value.yMin)) * u.value.height
|
|
123
|
-
})),
|
|
124
|
-
const t = `cluster_${
|
|
123
|
+
})), E = b(() => X.dataset.map((l, i) => {
|
|
124
|
+
const t = `cluster_${C.value}_${i}`;
|
|
125
125
|
return {
|
|
126
126
|
...l,
|
|
127
127
|
id: t,
|
|
128
|
-
color: l.color ? l.color :
|
|
128
|
+
color: l.color ? l.color : _e.value[i] || q[i] || q[i % q.length],
|
|
129
129
|
opacity: g.value.includes(t) ? 0.5 : 1,
|
|
130
130
|
shape: l.shape ?? "circle",
|
|
131
|
-
segregate: () =>
|
|
131
|
+
segregate: () => ze(t),
|
|
132
132
|
isSegregated: g.value.includes(t)
|
|
133
133
|
};
|
|
134
|
-
})),
|
|
134
|
+
})), De = b(() => ({
|
|
135
135
|
cy: "scatter-div-legend",
|
|
136
136
|
backgroundColor: e.value.style.legend.backgroundColor,
|
|
137
137
|
color: e.value.style.legend.color,
|
|
138
138
|
fontSize: e.value.style.legend.fontSize,
|
|
139
139
|
paddingBottom: 12,
|
|
140
140
|
fontWeight: e.value.style.legend.bold ? "bold" : ""
|
|
141
|
-
})),
|
|
141
|
+
})), ie = b(() => E.value.map((l, i) => ({
|
|
142
142
|
...l,
|
|
143
143
|
plots: l.values.map((t) => ({
|
|
144
144
|
x: u.value.left + (t.x + Math.abs(h.value.xMin)) / (h.value.xMax + Math.abs(h.value.xMin)) * u.value.width,
|
|
@@ -148,31 +148,31 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
148
148
|
name: t.name || ""
|
|
149
149
|
},
|
|
150
150
|
clusterName: l.name,
|
|
151
|
-
color: l.color ? l.color :
|
|
152
|
-
id: `plot_${
|
|
151
|
+
color: l.color ? l.color : _e.value[i] || q[i] || q[i % q.length],
|
|
152
|
+
id: `plot_${C.value}_${Math.random()}`,
|
|
153
153
|
weight: t.weight ?? e.value.style.layout.plots.radius
|
|
154
154
|
}))
|
|
155
|
-
})).filter((l) => !g.value.includes(l.id))),
|
|
156
|
-
const i = l.plots.reduce((f,
|
|
155
|
+
})).filter((l) => !g.value.includes(l.id))), S = b(() => ie.value.map((l) => {
|
|
156
|
+
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
157
|
let o = 0, a = 0, n = 0;
|
|
158
158
|
for (const f of l.plots)
|
|
159
159
|
o += (f.x - i) * (f.y - t), a += (f.x - i) ** 2, n += (f.y - t) ** 2;
|
|
160
|
-
const x = o / Math.sqrt(a * n),
|
|
160
|
+
const x = o / Math.sqrt(a * n), V = x * (Math.sqrt(n) / Math.sqrt(a)), U = t - V * i, N = {
|
|
161
161
|
x1: u.value.left,
|
|
162
162
|
x2: u.value.right,
|
|
163
|
-
y1:
|
|
164
|
-
y2:
|
|
163
|
+
y1: V * u.value.left + U,
|
|
164
|
+
y2: V * u.value.right + U,
|
|
165
165
|
coefficient: x
|
|
166
|
-
}, _ = (
|
|
167
|
-
x:
|
|
168
|
-
y: _ *
|
|
166
|
+
}, _ = (N.y2 - N.y1) / (N.x2 - N.x1), L = N.y1 - _ * 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 - L) / _)), le = {
|
|
167
|
+
x: F,
|
|
168
|
+
y: _ * F + L <= e.value.style.layout.padding.top ? u.value.top : _ * F + L
|
|
169
169
|
};
|
|
170
170
|
return {
|
|
171
171
|
...l,
|
|
172
|
-
correlation:
|
|
173
|
-
label:
|
|
172
|
+
correlation: N,
|
|
173
|
+
label: le,
|
|
174
174
|
plots: l.plots.map((f) => {
|
|
175
|
-
const
|
|
175
|
+
const G = (f.x + _ * f.y - _ * L) / (1 + Math.pow(_, 2)), ye = (_ * f.x + Math.pow(_, 2) * f.y + L) / (1 + Math.pow(_, 2)), m = Math.sqrt(Math.pow(f.x - G, 2) + Math.pow(f.y - ye, 2));
|
|
176
176
|
return {
|
|
177
177
|
...f,
|
|
178
178
|
deviation: m,
|
|
@@ -181,44 +181,44 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
181
181
|
};
|
|
182
182
|
})
|
|
183
183
|
};
|
|
184
|
-
})),
|
|
185
|
-
function
|
|
186
|
-
return
|
|
184
|
+
})), we = b(() => Math.max(...S.value.flatMap((l) => l.plots.map((i) => Math.abs(i.deviation)))));
|
|
185
|
+
function Ye() {
|
|
186
|
+
return S.value;
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
const t = Array.isArray(l) ? l.flatMap((m) => m.plots.map((
|
|
190
|
-
x:
|
|
191
|
-
y:
|
|
188
|
+
function $e(l, i) {
|
|
189
|
+
const t = Array.isArray(l) ? l.flatMap((m) => m.plots.map((R) => ({
|
|
190
|
+
x: R.x,
|
|
191
|
+
y: R.y
|
|
192
192
|
}))) : l.plots.map((m) => ({
|
|
193
193
|
x: m.x,
|
|
194
194
|
y: m.y
|
|
195
195
|
}));
|
|
196
196
|
let o = 1 / 0, a = -1 / 0, n = 1 / 0, x = -1 / 0;
|
|
197
|
-
t.forEach(({ x: m, y:
|
|
198
|
-
o = Math.min(o, m), a = Math.max(a, m), n = Math.min(n,
|
|
197
|
+
t.forEach(({ x: m, y: R }) => {
|
|
198
|
+
o = Math.min(o, m), a = Math.max(a, m), n = Math.min(n, R), x = Math.max(x, R);
|
|
199
199
|
});
|
|
200
|
-
const
|
|
201
|
-
t.forEach(({ x: m, y:
|
|
202
|
-
const
|
|
203
|
-
L[
|
|
200
|
+
const V = a - o, U = x - n, N = V / i, _ = U / i, L = Array(i).fill(0), F = Array(i).fill(0);
|
|
201
|
+
t.forEach(({ x: m, y: R }) => {
|
|
202
|
+
const ve = Math.floor((m - o) / N), ce = Math.floor((R - n) / _);
|
|
203
|
+
L[ve] || (L[ve] = 0), F[ce] || (F[ce] = 0), L[ve] += 1, F[ce] += 1;
|
|
204
204
|
});
|
|
205
|
-
const
|
|
205
|
+
const le = [], f = [];
|
|
206
206
|
for (let m = 0; m < i; m += 1)
|
|
207
|
-
|
|
208
|
-
const
|
|
209
|
-
return { x: L, y:
|
|
207
|
+
le.push(o + (m + 0.5) * N), f.push(n + (m + 0.5) * _);
|
|
208
|
+
const G = Math.max(...L), ye = Math.max(...F);
|
|
209
|
+
return { x: L, y: F, avgX: le, avgY: f, maxX: G, maxY: ye };
|
|
210
210
|
}
|
|
211
|
-
const
|
|
211
|
+
const D = b(() => e.value.style.layout.marginalBars.tranches), A = b(() => $e(ie.value, D.value)), je = b(() => {
|
|
212
212
|
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 o =
|
|
213
|
+
return ie.value.map((t) => {
|
|
214
|
+
const o = $e(t, D.value);
|
|
215
215
|
return {
|
|
216
216
|
coords: o,
|
|
217
|
-
dX:
|
|
217
|
+
dX: Ne(o.avgX.map((a, n) => ({
|
|
218
218
|
x: a,
|
|
219
219
|
y: l - o.x[n] / o.maxX * e.value.style.layout.marginalBars.size
|
|
220
220
|
}))),
|
|
221
|
-
dY:
|
|
221
|
+
dY: Ne(o.avgY.map((a, n) => ({
|
|
222
222
|
y: a,
|
|
223
223
|
x: i + e.value.style.layout.marginalBars.size * o.y[n] / o.maxY
|
|
224
224
|
}))),
|
|
@@ -226,79 +226,79 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
226
226
|
id: t.id
|
|
227
227
|
};
|
|
228
228
|
});
|
|
229
|
-
}),
|
|
230
|
-
function
|
|
231
|
-
|
|
229
|
+
}), B = k(void 0), v = k(null), ne = k(null);
|
|
230
|
+
function Me(l, i) {
|
|
231
|
+
B.value = l.id, v.value = l;
|
|
232
232
|
let t = "";
|
|
233
|
-
|
|
233
|
+
ne.value = {
|
|
234
234
|
datapoint: l,
|
|
235
235
|
seriesIndex: i,
|
|
236
|
-
series:
|
|
236
|
+
series: S.value,
|
|
237
237
|
config: e.value
|
|
238
238
|
};
|
|
239
239
|
const o = e.value.style.tooltip.customFormat;
|
|
240
|
-
|
|
240
|
+
at(o) && ot(() => o({
|
|
241
241
|
datapoint: l,
|
|
242
242
|
seriesIndex: i,
|
|
243
|
-
series:
|
|
243
|
+
series: S.value,
|
|
244
244
|
config: e.value
|
|
245
|
-
})) ?
|
|
245
|
+
})) ? re.value = o({
|
|
246
246
|
datapoint: l,
|
|
247
247
|
seriesIndex: i,
|
|
248
|
-
series:
|
|
248
|
+
series: S.value,
|
|
249
249
|
config: e.value
|
|
250
|
-
}) : (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) ? "-" :
|
|
250
|
+
}) : (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(
|
|
251
251
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
252
252
|
l.v.x,
|
|
253
|
-
|
|
253
|
+
W({
|
|
254
254
|
p: e.value.style.tooltip.prefix,
|
|
255
255
|
v: l.v.x,
|
|
256
256
|
s: e.value.style.tooltip.suffix,
|
|
257
257
|
r: e.value.style.tooltip.roundingValue
|
|
258
258
|
}),
|
|
259
259
|
{ datapoint: l, seriesIndex: i }
|
|
260
|
-
)}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" :
|
|
260
|
+
)}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : j(
|
|
261
261
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
262
262
|
l.v.y,
|
|
263
|
-
|
|
263
|
+
W({
|
|
264
264
|
p: e.value.style.tooltip.prefix,
|
|
265
265
|
v: l.v.y,
|
|
266
266
|
s: e.value.style.tooltip.suffix,
|
|
267
267
|
r: e.value.style.tooltip.roundingValue
|
|
268
268
|
}),
|
|
269
269
|
{ datapoint: l, seriesIndex: i }
|
|
270
|
-
)}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${
|
|
270
|
+
)}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${W({
|
|
271
271
|
v: l.deviation,
|
|
272
272
|
r: e.value.style.layout.plots.deviation.roundingValue
|
|
273
|
-
})}</b>`, t += "</div>",
|
|
273
|
+
})}</b>`, t += "</div>", re.value = `<div>${t}</div>`), ue.value = !0;
|
|
274
274
|
}
|
|
275
|
-
function
|
|
276
|
-
|
|
275
|
+
function Ce() {
|
|
276
|
+
ue.value = !1, B.value = void 0, v.value = null;
|
|
277
277
|
}
|
|
278
278
|
const g = k([]);
|
|
279
|
-
function
|
|
280
|
-
g.value.includes(l) ? g.value = g.value.filter((i) => i !== l) : g.value.length <
|
|
279
|
+
function ze(l) {
|
|
280
|
+
g.value.includes(l) ? g.value = g.value.filter((i) => i !== l) : g.value.length < X.dataset.length - 1 && g.value.push(l);
|
|
281
281
|
}
|
|
282
|
-
function
|
|
283
|
-
|
|
284
|
-
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 =
|
|
282
|
+
function Se() {
|
|
283
|
+
Ue(() => {
|
|
284
|
+
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
285
|
a.name,
|
|
286
286
|
a.correlation.coefficient,
|
|
287
287
|
a.plots.length,
|
|
288
288
|
a.plots.map((n) => n.v.x).reduce((n, x) => n + x, 0) / a.plots.length,
|
|
289
289
|
a.plots.map((n) => n.v.y).reduce((n, x) => n + x, 0) / a.plots.length
|
|
290
|
-
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i), o =
|
|
291
|
-
|
|
290
|
+
]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i), o = st(t);
|
|
291
|
+
ut({ csvContent: o, title: e.value.style.title.text || "vue-ui-heatmap" });
|
|
292
292
|
});
|
|
293
293
|
}
|
|
294
|
-
const
|
|
294
|
+
const te = b(() => {
|
|
295
295
|
const l = [
|
|
296
296
|
e.value.table.translations.series,
|
|
297
297
|
e.value.table.translations.correlationCoefficient,
|
|
298
298
|
e.value.table.translations.nbrPlots,
|
|
299
299
|
`${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`,
|
|
300
300
|
`${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`
|
|
301
|
-
], i =
|
|
301
|
+
], i = S.value.map((o) => [
|
|
302
302
|
{
|
|
303
303
|
shape: o.shape,
|
|
304
304
|
content: o.name,
|
|
@@ -322,37 +322,37 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
322
322
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
323
323
|
};
|
|
324
324
|
return { head: l, body: i, config: t, colNames: l };
|
|
325
|
-
}),
|
|
326
|
-
function
|
|
327
|
-
|
|
325
|
+
}), J = k(!1);
|
|
326
|
+
function Ee(l) {
|
|
327
|
+
J.value = l, pe.value += 1;
|
|
328
328
|
}
|
|
329
|
-
function
|
|
330
|
-
|
|
329
|
+
function Ae() {
|
|
330
|
+
I.value.showTable = !I.value.showTable;
|
|
331
331
|
}
|
|
332
332
|
function Le() {
|
|
333
|
-
|
|
333
|
+
I.value.showTooltip = !I.value.showTooltip;
|
|
334
334
|
}
|
|
335
|
-
return
|
|
336
|
-
getData:
|
|
337
|
-
generatePdf:
|
|
338
|
-
generateCsv:
|
|
339
|
-
generateImage:
|
|
340
|
-
toggleTable:
|
|
335
|
+
return Oe({
|
|
336
|
+
getData: Ye,
|
|
337
|
+
generatePdf: be,
|
|
338
|
+
generateCsv: Se,
|
|
339
|
+
generateImage: ke,
|
|
340
|
+
toggleTable: Ae,
|
|
341
341
|
toggleTooltip: Le
|
|
342
342
|
}), (l, i) => (s(), r("div", {
|
|
343
|
-
class:
|
|
343
|
+
class: Te(`vue-ui-scatter ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
344
344
|
ref_key: "scatterChart",
|
|
345
|
-
ref:
|
|
346
|
-
id: `vue-ui-scatter_${
|
|
347
|
-
style:
|
|
345
|
+
ref: H,
|
|
346
|
+
id: `vue-ui-scatter_${C.value}`,
|
|
347
|
+
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
348
|
}, [
|
|
349
349
|
e.value.style.title.text ? (s(), r("div", {
|
|
350
350
|
key: 0,
|
|
351
351
|
ref_key: "chartTitle",
|
|
352
|
-
ref:
|
|
353
|
-
style:
|
|
352
|
+
ref: fe,
|
|
353
|
+
style: Y(`width:100%;background:${e.value.style.backgroundColor}`)
|
|
354
354
|
}, [
|
|
355
|
-
|
|
355
|
+
ae(nt, {
|
|
356
356
|
config: {
|
|
357
357
|
title: {
|
|
358
358
|
cy: "scatter-div-title",
|
|
@@ -364,85 +364,85 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
364
364
|
}
|
|
365
365
|
}
|
|
366
366
|
}, null, 8, ["config"])
|
|
367
|
-
], 4)) :
|
|
368
|
-
e.value.userOptions.show &&
|
|
367
|
+
], 4)) : d("", !0),
|
|
368
|
+
e.value.userOptions.show && Q.value ? (s(), K(vt, {
|
|
369
369
|
ref_key: "details",
|
|
370
|
-
ref:
|
|
371
|
-
key: `user_options_${
|
|
370
|
+
ref: Ie,
|
|
371
|
+
key: `user_options_${pe.value}`,
|
|
372
372
|
backgroundColor: e.value.style.backgroundColor,
|
|
373
373
|
color: e.value.style.color,
|
|
374
|
-
isImaging:
|
|
375
|
-
isPrinting:
|
|
376
|
-
uid:
|
|
374
|
+
isImaging: y(me),
|
|
375
|
+
isPrinting: y(xe),
|
|
376
|
+
uid: C.value,
|
|
377
377
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
|
|
378
378
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
379
379
|
hasImg: e.value.userOptions.buttons.img,
|
|
380
380
|
hasXls: e.value.userOptions.buttons.csv,
|
|
381
381
|
hasTable: e.value.userOptions.buttons.table,
|
|
382
382
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
383
|
-
isTooltip:
|
|
384
|
-
isFullscreen:
|
|
383
|
+
isTooltip: I.value.showTooltip,
|
|
384
|
+
isFullscreen: J.value,
|
|
385
385
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
386
|
-
chartElement:
|
|
387
|
-
onToggleFullscreen:
|
|
388
|
-
onGeneratePdf:
|
|
389
|
-
onGenerateCsv:
|
|
390
|
-
onGenerateImage:
|
|
391
|
-
onToggleTable:
|
|
386
|
+
chartElement: H.value,
|
|
387
|
+
onToggleFullscreen: Ee,
|
|
388
|
+
onGeneratePdf: y(be),
|
|
389
|
+
onGenerateCsv: Se,
|
|
390
|
+
onGenerateImage: y(ke),
|
|
391
|
+
onToggleTable: Ae,
|
|
392
392
|
onToggleTooltip: Le
|
|
393
|
-
},
|
|
393
|
+
}, Re({ _: 2 }, [
|
|
394
394
|
l.$slots.optionTooltip ? {
|
|
395
395
|
name: "optionTooltip",
|
|
396
396
|
fn: w(() => [
|
|
397
|
-
|
|
397
|
+
T(l.$slots, "optionTooltip", {}, void 0, !0)
|
|
398
398
|
]),
|
|
399
399
|
key: "0"
|
|
400
400
|
} : void 0,
|
|
401
401
|
l.$slots.optionPdf ? {
|
|
402
402
|
name: "optionPdf",
|
|
403
403
|
fn: w(() => [
|
|
404
|
-
|
|
404
|
+
T(l.$slots, "optionPdf", {}, void 0, !0)
|
|
405
405
|
]),
|
|
406
406
|
key: "1"
|
|
407
407
|
} : void 0,
|
|
408
408
|
l.$slots.optionCsv ? {
|
|
409
409
|
name: "optionCsv",
|
|
410
410
|
fn: w(() => [
|
|
411
|
-
|
|
411
|
+
T(l.$slots, "optionCsv", {}, void 0, !0)
|
|
412
412
|
]),
|
|
413
413
|
key: "2"
|
|
414
414
|
} : void 0,
|
|
415
415
|
l.$slots.optionImg ? {
|
|
416
416
|
name: "optionImg",
|
|
417
417
|
fn: w(() => [
|
|
418
|
-
|
|
418
|
+
T(l.$slots, "optionImg", {}, void 0, !0)
|
|
419
419
|
]),
|
|
420
420
|
key: "3"
|
|
421
421
|
} : void 0,
|
|
422
422
|
l.$slots.optionTable ? {
|
|
423
423
|
name: "optionTable",
|
|
424
424
|
fn: w(() => [
|
|
425
|
-
|
|
425
|
+
T(l.$slots, "optionTable", {}, void 0, !0)
|
|
426
426
|
]),
|
|
427
427
|
key: "4"
|
|
428
428
|
} : void 0,
|
|
429
429
|
l.$slots.optionFullscreen ? {
|
|
430
430
|
name: "optionFullscreen",
|
|
431
431
|
fn: w(({ toggleFullscreen: t, isFullscreen: o }) => [
|
|
432
|
-
|
|
432
|
+
T(l.$slots, "optionFullscreen", oe(se({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
|
|
433
433
|
]),
|
|
434
434
|
key: "5"
|
|
435
435
|
} : void 0
|
|
436
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
437
|
-
|
|
436
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
437
|
+
Q.value ? (s(), r("svg", {
|
|
438
438
|
key: 2,
|
|
439
|
-
xmlns:
|
|
440
|
-
class:
|
|
441
|
-
viewBox: `0 0 ${
|
|
442
|
-
style:
|
|
439
|
+
xmlns: y(tt),
|
|
440
|
+
class: Te({ "vue-data-ui-fullscreen--on": J.value, "vue-data-ui-fulscreen--off": !J.value }),
|
|
441
|
+
viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
|
|
442
|
+
style: Y(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
|
|
443
443
|
}, [
|
|
444
|
-
e.value.style.layout.axis.show ? (s(), r("g",
|
|
445
|
-
|
|
444
|
+
e.value.style.layout.axis.show ? (s(), r("g", bt, [
|
|
445
|
+
c("line", {
|
|
446
446
|
x1: p.value.x,
|
|
447
447
|
x2: p.value.x,
|
|
448
448
|
y1: u.value.top,
|
|
@@ -450,8 +450,8 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
450
450
|
stroke: e.value.style.layout.axis.stroke,
|
|
451
451
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
452
452
|
"stroke-linecap": "round"
|
|
453
|
-
}, null, 8,
|
|
454
|
-
|
|
453
|
+
}, null, 8, kt),
|
|
454
|
+
c("line", {
|
|
455
455
|
x1: u.value.left,
|
|
456
456
|
x2: u.value.right,
|
|
457
457
|
y1: p.value.y,
|
|
@@ -459,115 +459,115 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
459
459
|
stroke: e.value.style.layout.axis.stroke,
|
|
460
460
|
"stroke-width": e.value.style.layout.axis.strokeWidth,
|
|
461
461
|
"stroke-linecap": "round"
|
|
462
|
-
}, null, 8,
|
|
463
|
-
])) :
|
|
464
|
-
e.value.style.layout.plots.giftWrap.show ? (s(), r("g",
|
|
465
|
-
(s(!0), r(
|
|
462
|
+
}, null, 8, _t)
|
|
463
|
+
])) : d("", !0),
|
|
464
|
+
e.value.style.layout.plots.giftWrap.show ? (s(), r("g", wt, [
|
|
465
|
+
(s(!0), r(P, null, O(S.value, (t, o) => (s(), r("g", null, [
|
|
466
466
|
t.plots.length > 2 ? (s(), r("polygon", {
|
|
467
467
|
key: 0,
|
|
468
|
-
points:
|
|
469
|
-
fill: `${t.color}${
|
|
468
|
+
points: y(lt)({ series: t.plots }),
|
|
469
|
+
fill: `${t.color}${y(he)[e.value.style.layout.plots.giftWrap.fillOpacity * 100]}`,
|
|
470
470
|
"stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
|
|
471
471
|
"stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
|
|
472
472
|
stroke: t.color,
|
|
473
473
|
"stroke-linejoin": "round",
|
|
474
474
|
"stroke-linecap": "round"
|
|
475
|
-
}, null, 8,
|
|
475
|
+
}, null, 8, $t)) : d("", !0)
|
|
476
476
|
]))), 256))
|
|
477
|
-
])) :
|
|
478
|
-
(s(!0), r(
|
|
479
|
-
!t.shape || t.shape === "circle" ? (s(), r("g",
|
|
480
|
-
(s(!0), r(
|
|
477
|
+
])) : d("", !0),
|
|
478
|
+
(s(!0), r(P, null, O(S.value, (t, o) => (s(), r("g", null, [
|
|
479
|
+
!t.shape || t.shape === "circle" ? (s(), r("g", Mt, [
|
|
480
|
+
(s(!0), r(P, null, O(t.plots, (a, n) => (s(), r("circle", {
|
|
481
481
|
cx: a.x,
|
|
482
482
|
cy: a.y,
|
|
483
|
-
r:
|
|
484
|
-
fill: `${t.color}${
|
|
483
|
+
r: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
484
|
+
fill: `${t.color}${y(he)[e.value.style.layout.plots.opacity * 100]}`,
|
|
485
485
|
stroke: e.value.style.layout.plots.stroke,
|
|
486
486
|
"stroke-width": e.value.style.layout.plots.strokeWidth,
|
|
487
|
-
onMouseover: (x) =>
|
|
488
|
-
onMouseleave:
|
|
489
|
-
style:
|
|
490
|
-
}, null, 44,
|
|
491
|
-
])) : (s(), r("g",
|
|
492
|
-
(s(!0), r(
|
|
487
|
+
onMouseover: (x) => Me(a, o),
|
|
488
|
+
onMouseleave: Ce,
|
|
489
|
+
style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / we.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}`)
|
|
490
|
+
}, null, 44, Ct))), 256))
|
|
491
|
+
])) : (s(), r("g", zt, [
|
|
492
|
+
(s(!0), r(P, null, O(t.plots, (a, n) => (s(), K(Pe, {
|
|
493
493
|
plot: { x: a.x, y: a.y },
|
|
494
|
-
radius:
|
|
494
|
+
radius: B.value && B.value === a.id ? a.weight * 2 : a.weight,
|
|
495
495
|
shape: t.shape,
|
|
496
|
-
color: `${t.color}${
|
|
496
|
+
color: `${t.color}${y(he)[e.value.style.layout.plots.opacity * 100]}`,
|
|
497
497
|
stroke: e.value.style.layout.plots.stroke,
|
|
498
498
|
strokeWidth: e.value.style.layout.plots.strokeWidth,
|
|
499
|
-
onMouseover: (x) =>
|
|
500
|
-
onMouseleave:
|
|
501
|
-
style:
|
|
499
|
+
onMouseover: (x) => Me(a, o),
|
|
500
|
+
onMouseleave: Ce,
|
|
501
|
+
style: Y(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / we.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
502
|
}, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
|
|
503
503
|
]))
|
|
504
504
|
]))), 256)),
|
|
505
|
-
e.value.style.layout.marginalBars.show ? (s(), r("g",
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
id: `marginal_x_${
|
|
505
|
+
e.value.style.layout.marginalBars.show ? (s(), r("g", St, [
|
|
506
|
+
c("defs", null, [
|
|
507
|
+
c("linearGradient", {
|
|
508
|
+
id: `marginal_x_${C.value}`,
|
|
509
509
|
x1: "0%",
|
|
510
510
|
y1: "0%",
|
|
511
511
|
x2: "0%",
|
|
512
512
|
y2: "100%"
|
|
513
513
|
}, [
|
|
514
|
-
|
|
514
|
+
c("stop", {
|
|
515
515
|
offset: "0%",
|
|
516
516
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
517
517
|
}, null, 8, Lt),
|
|
518
|
-
|
|
518
|
+
c("stop", {
|
|
519
519
|
offset: "100%",
|
|
520
520
|
"stop-color": e.value.style.backgroundColor
|
|
521
|
-
}, null, 8,
|
|
522
|
-
], 8,
|
|
523
|
-
|
|
524
|
-
id: `marginal_y_${
|
|
521
|
+
}, null, 8, Tt)
|
|
522
|
+
], 8, At),
|
|
523
|
+
c("linearGradient", {
|
|
524
|
+
id: `marginal_y_${C.value}`,
|
|
525
525
|
x1: "0%",
|
|
526
526
|
x2: "100%",
|
|
527
527
|
y1: "0%",
|
|
528
528
|
y2: "0%"
|
|
529
529
|
}, [
|
|
530
|
-
|
|
530
|
+
c("stop", {
|
|
531
531
|
offset: "0%",
|
|
532
532
|
"stop-color": e.value.style.backgroundColor
|
|
533
|
-
}, null, 8,
|
|
534
|
-
|
|
533
|
+
}, null, 8, Nt),
|
|
534
|
+
c("stop", {
|
|
535
535
|
offset: "100%",
|
|
536
536
|
"stop-color": e.value.style.layout.marginalBars.fill
|
|
537
|
-
}, null, 8,
|
|
538
|
-
], 8,
|
|
537
|
+
}, null, 8, Pt)
|
|
538
|
+
], 8, Bt)
|
|
539
539
|
]),
|
|
540
|
-
(s(!0), r(
|
|
541
|
-
t &&
|
|
540
|
+
(s(!0), r(P, null, O(A.value.x, (t, o) => (s(), r("g", null, [
|
|
541
|
+
t && A.value.avgX[o] ? (s(), r("rect", {
|
|
542
542
|
key: 0,
|
|
543
|
-
x:
|
|
544
|
-
y: u.value.top - e.value.style.layout.marginalBars.offset - t /
|
|
545
|
-
width: u.value.width /
|
|
546
|
-
height: t /
|
|
547
|
-
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${
|
|
548
|
-
style:
|
|
543
|
+
x: A.value.avgX[o] - u.value.width / D.value / 2,
|
|
544
|
+
y: u.value.top - e.value.style.layout.marginalBars.offset - t / A.value.maxX * e.value.style.layout.marginalBars.size,
|
|
545
|
+
width: u.value.width / D.value <= 0 ? 1e-4 : u.value.width / D.value,
|
|
546
|
+
height: t / A.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / A.value.maxX * e.value.style.layout.marginalBars.size,
|
|
547
|
+
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${C.value})` : e.value.style.layout.marginalBars.fill,
|
|
548
|
+
style: Y(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
549
549
|
stroke: e.value.style.backgroundColor,
|
|
550
550
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
551
551
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
552
|
-
}, null, 12,
|
|
552
|
+
}, null, 12, Wt)) : d("", !0)
|
|
553
553
|
]))), 256)),
|
|
554
|
-
(s(!0), r(
|
|
555
|
-
t &&
|
|
554
|
+
(s(!0), r(P, null, O(A.value.y, (t, o) => (s(), r("g", null, [
|
|
555
|
+
t && A.value.avgY[o] ? (s(), r("rect", {
|
|
556
556
|
key: 0,
|
|
557
557
|
x: u.value.right + e.value.style.layout.marginalBars.offset,
|
|
558
|
-
y:
|
|
559
|
-
height: u.value.height /
|
|
560
|
-
width: t /
|
|
561
|
-
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${
|
|
562
|
-
style:
|
|
558
|
+
y: A.value.avgY[o] - u.value.height / D.value / 2,
|
|
559
|
+
height: u.value.height / D.value <= 0 ? 1e-4 : u.value.height / D.value,
|
|
560
|
+
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
|
+
fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${C.value})` : e.value.style.layout.marginalBars.fill,
|
|
562
|
+
style: Y(`opacity:${e.value.style.layout.marginalBars.opacity}`),
|
|
563
563
|
stroke: e.value.style.backgroundColor,
|
|
564
564
|
"stroke-width": e.value.style.layout.marginalBars.strokeWidth,
|
|
565
565
|
rx: e.value.style.layout.marginalBars.borderRadius
|
|
566
|
-
}, null, 12,
|
|
566
|
+
}, null, 12, Ft)) : d("", !0)
|
|
567
567
|
]))), 256)),
|
|
568
|
-
e.value.style.layout.marginalBars.showLines ? (s(), r("g",
|
|
569
|
-
(s(!0), r(
|
|
570
|
-
g.value.includes(t.id) ?
|
|
568
|
+
e.value.style.layout.marginalBars.showLines ? (s(), r("g", Ot, [
|
|
569
|
+
(s(!0), r(P, null, O(je.value, (t) => (s(), r(P, null, [
|
|
570
|
+
g.value.includes(t.id) ? d("", !0) : (s(), r("path", {
|
|
571
571
|
key: 0,
|
|
572
572
|
d: `M ${t.dX}`,
|
|
573
573
|
stroke: e.value.style.backgroundColor,
|
|
@@ -575,8 +575,8 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
575
575
|
"stroke-linecap": "round",
|
|
576
576
|
"stroke-linejoin": "round",
|
|
577
577
|
fill: "none"
|
|
578
|
-
}, null, 8,
|
|
579
|
-
g.value.includes(t.id) ?
|
|
578
|
+
}, null, 8, Xt)),
|
|
579
|
+
g.value.includes(t.id) ? d("", !0) : (s(), r("path", {
|
|
580
580
|
key: 1,
|
|
581
581
|
d: `M ${t.dX}`,
|
|
582
582
|
stroke: t.color,
|
|
@@ -584,8 +584,8 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
584
584
|
"stroke-linecap": "round",
|
|
585
585
|
"stroke-linejoin": "round",
|
|
586
586
|
fill: "none"
|
|
587
|
-
}, null, 8,
|
|
588
|
-
g.value.includes(t.id) ?
|
|
587
|
+
}, null, 8, It)),
|
|
588
|
+
g.value.includes(t.id) ? d("", !0) : (s(), r("path", {
|
|
589
589
|
key: 2,
|
|
590
590
|
d: `M ${t.dY}`,
|
|
591
591
|
stroke: e.value.style.backgroundColor,
|
|
@@ -593,8 +593,8 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
593
593
|
"stroke-linecap": "round",
|
|
594
594
|
"stroke-linejoin": "round",
|
|
595
595
|
fill: "none"
|
|
596
|
-
}, null, 8,
|
|
597
|
-
g.value.includes(t.id) ?
|
|
596
|
+
}, null, 8, Dt)),
|
|
597
|
+
g.value.includes(t.id) ? d("", !0) : (s(), r("path", {
|
|
598
598
|
key: 3,
|
|
599
599
|
d: `M ${t.dY}`,
|
|
600
600
|
stroke: t.color,
|
|
@@ -602,193 +602,193 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
602
602
|
"stroke-linecap": "round",
|
|
603
603
|
"stroke-linejoin": "round",
|
|
604
604
|
fill: "none"
|
|
605
|
-
}, null, 8,
|
|
605
|
+
}, null, 8, Yt))
|
|
606
606
|
], 64))), 256))
|
|
607
|
-
])) :
|
|
608
|
-
])) :
|
|
609
|
-
|
|
610
|
-
|
|
607
|
+
])) : d("", !0)
|
|
608
|
+
])) : d("", !0),
|
|
609
|
+
v.value && e.value.style.layout.plots.selectors.show ? (s(), r("g", jt, [
|
|
610
|
+
c("line", {
|
|
611
611
|
x1: p.value.x,
|
|
612
|
-
x2:
|
|
613
|
-
y1:
|
|
614
|
-
y2:
|
|
612
|
+
x2: v.value.x,
|
|
613
|
+
y1: v.value.y,
|
|
614
|
+
y2: v.value.y,
|
|
615
615
|
stroke: e.value.style.layout.plots.selectors.stroke,
|
|
616
616
|
"stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
|
|
617
617
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
618
618
|
"stroke-linecap": "round",
|
|
619
619
|
class: "line-pointer"
|
|
620
|
-
}, null, 8,
|
|
621
|
-
|
|
622
|
-
x1:
|
|
623
|
-
x2:
|
|
620
|
+
}, null, 8, Et),
|
|
621
|
+
c("line", {
|
|
622
|
+
x1: v.value.x,
|
|
623
|
+
x2: v.value.x,
|
|
624
624
|
y1: p.value.y,
|
|
625
|
-
y2:
|
|
625
|
+
y2: v.value.y,
|
|
626
626
|
stroke: e.value.style.layout.plots.selectors.stroke,
|
|
627
627
|
"stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
|
|
628
628
|
"stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
|
|
629
629
|
"stroke-linecap": "round",
|
|
630
630
|
class: "line-pointer"
|
|
631
|
-
}, null, 8,
|
|
632
|
-
|
|
633
|
-
x: p.value.x + (
|
|
634
|
-
y:
|
|
631
|
+
}, null, 8, Vt),
|
|
632
|
+
c("text", {
|
|
633
|
+
x: p.value.x + (v.value.x > p.value.x ? -6 : 6),
|
|
634
|
+
y: v.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
|
|
635
635
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
636
636
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
637
637
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
638
|
-
"text-anchor":
|
|
639
|
-
}, $(
|
|
638
|
+
"text-anchor": v.value.x > p.value.x ? "end" : "start"
|
|
639
|
+
}, $(y(j)(
|
|
640
640
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
641
|
-
y.value.v.y,
|
|
642
|
-
|
|
641
|
+
y(M)(v.value.v.y),
|
|
642
|
+
y(W)({
|
|
643
643
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
644
|
-
v: y.value.v.y,
|
|
644
|
+
v: y(M)(v.value.v.y),
|
|
645
645
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
646
646
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
647
647
|
}),
|
|
648
|
-
{ datapoint:
|
|
649
|
-
)), 9,
|
|
650
|
-
|
|
651
|
-
x:
|
|
652
|
-
y: p.value.y + (
|
|
648
|
+
{ datapoint: v.value }
|
|
649
|
+
)), 9, Gt),
|
|
650
|
+
c("text", {
|
|
651
|
+
x: v.value.x,
|
|
652
|
+
y: p.value.y + (v.value.y > p.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
|
|
653
653
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
654
654
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
655
655
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
656
656
|
"text-anchor": "middle"
|
|
657
|
-
}, $(
|
|
657
|
+
}, $(y(j)(
|
|
658
658
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
659
|
-
y.value.v.x,
|
|
660
|
-
|
|
659
|
+
y(M)(v.value.v.x),
|
|
660
|
+
y(W)({
|
|
661
661
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
662
|
-
v: y.value.v.x,
|
|
662
|
+
v: y(M)(v.value.v.x),
|
|
663
663
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
664
664
|
r: e.value.style.layout.plots.selectors.labels.rounding
|
|
665
665
|
}),
|
|
666
|
-
{ datapoint:
|
|
667
|
-
)), 9,
|
|
668
|
-
|
|
666
|
+
{ datapoint: v.value }
|
|
667
|
+
)), 9, Rt),
|
|
668
|
+
c("circle", {
|
|
669
669
|
cx: p.value.x,
|
|
670
|
-
cy:
|
|
670
|
+
cy: v.value.y,
|
|
671
671
|
r: e.value.style.layout.plots.selectors.markers.radius,
|
|
672
672
|
fill: e.value.style.layout.plots.selectors.markers.fill,
|
|
673
673
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
674
674
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
675
675
|
class: "line-pointer"
|
|
676
|
-
}, null, 8,
|
|
677
|
-
|
|
678
|
-
cx:
|
|
676
|
+
}, null, 8, qt),
|
|
677
|
+
c("circle", {
|
|
678
|
+
cx: v.value.x,
|
|
679
679
|
cy: p.value.y,
|
|
680
680
|
r: e.value.style.layout.plots.selectors.markers.radius,
|
|
681
681
|
fill: e.value.style.layout.plots.selectors.markers.fill,
|
|
682
682
|
stroke: e.value.style.layout.plots.selectors.markers.stroke,
|
|
683
683
|
"stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
|
|
684
684
|
class: "line-pointer"
|
|
685
|
-
}, null, 8,
|
|
685
|
+
}, null, 8, Ut),
|
|
686
686
|
e.value.style.layout.plots.selectors.labels.showName ? (s(), r("text", {
|
|
687
687
|
key: 0,
|
|
688
|
-
x:
|
|
689
|
-
y:
|
|
688
|
+
x: v.value.x,
|
|
689
|
+
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),
|
|
690
690
|
"font-size": e.value.style.layout.plots.selectors.labels.fontSize,
|
|
691
691
|
fill: e.value.style.layout.plots.selectors.labels.color,
|
|
692
692
|
"font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
|
|
693
|
-
"text-anchor":
|
|
694
|
-
}, $(
|
|
695
|
-
])) :
|
|
696
|
-
e.value.style.layout.dataLabels.xAxis.show ? (s(), r("g",
|
|
697
|
-
|
|
693
|
+
"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, Ht)) : d("", !0)
|
|
695
|
+
])) : d("", !0),
|
|
696
|
+
e.value.style.layout.dataLabels.xAxis.show ? (s(), r("g", Jt, [
|
|
697
|
+
c("text", {
|
|
698
698
|
x: u.value.left - 5,
|
|
699
699
|
y: p.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
700
700
|
"text-anchor": "end",
|
|
701
701
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
702
702
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
703
|
-
}, $(
|
|
703
|
+
}, $(y(j)(
|
|
704
704
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
705
|
-
h.value.xMin,
|
|
706
|
-
|
|
705
|
+
y(M)(h.value.xMin),
|
|
706
|
+
y(W)({
|
|
707
707
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
708
|
-
v: h.value.xMin,
|
|
708
|
+
v: y(M)(h.value.xMin),
|
|
709
709
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
710
710
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
711
711
|
})
|
|
712
|
-
)), 9,
|
|
713
|
-
|
|
712
|
+
)), 9, Kt),
|
|
713
|
+
c("text", {
|
|
714
714
|
x: u.value.right + 3,
|
|
715
715
|
y: p.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
|
|
716
716
|
"text-anchor": "start",
|
|
717
717
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
718
718
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
719
|
-
}, $(
|
|
719
|
+
}, $(y(j)(
|
|
720
720
|
e.value.style.layout.plots.selectors.labels.x.formatter,
|
|
721
|
-
h.value.xMax,
|
|
722
|
-
|
|
721
|
+
y(M)(h.value.xMax),
|
|
722
|
+
y(W)({
|
|
723
723
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
724
|
-
v: h.value.xMax,
|
|
724
|
+
v: y(M)(h.value.xMax),
|
|
725
725
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
726
726
|
r: e.value.style.layout.dataLabels.xAxis.rounding
|
|
727
727
|
})
|
|
728
|
-
)), 9,
|
|
729
|
-
|
|
730
|
-
id: `vue-ui-scatter-xAxis-label-${
|
|
728
|
+
)), 9, Qt),
|
|
729
|
+
c("text", {
|
|
730
|
+
id: `vue-ui-scatter-xAxis-label-${C.value}`,
|
|
731
731
|
transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${u.value.top + u.value.height / 2}), rotate(-90)`,
|
|
732
732
|
"text-anchor": "middle",
|
|
733
733
|
"font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
|
|
734
734
|
"font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
|
|
735
735
|
fill: e.value.style.layout.dataLabels.xAxis.color
|
|
736
|
-
}, $(e.value.style.layout.dataLabels.xAxis.name), 9,
|
|
737
|
-
])) :
|
|
738
|
-
e.value.style.layout.dataLabels.yAxis.show ? (s(), r("g",
|
|
739
|
-
|
|
736
|
+
}, $(e.value.style.layout.dataLabels.xAxis.name), 9, Zt)
|
|
737
|
+
])) : d("", !0),
|
|
738
|
+
e.value.style.layout.dataLabels.yAxis.show ? (s(), r("g", el, [
|
|
739
|
+
c("text", {
|
|
740
740
|
x: p.value.x,
|
|
741
741
|
y: u.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
|
|
742
742
|
"text-anchor": "middle",
|
|
743
743
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
744
744
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
745
|
-
}, $(
|
|
745
|
+
}, $(y(j)(
|
|
746
746
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
747
|
-
h.value.yMin,
|
|
748
|
-
|
|
747
|
+
y(M)(h.value.yMin),
|
|
748
|
+
y(W)({
|
|
749
749
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
750
|
-
v: h.value.yMin,
|
|
750
|
+
v: y(M)(h.value.yMin),
|
|
751
751
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
752
752
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
753
753
|
})
|
|
754
|
-
)), 9,
|
|
755
|
-
|
|
754
|
+
)), 9, tl),
|
|
755
|
+
c("text", {
|
|
756
756
|
x: p.value.x,
|
|
757
757
|
y: u.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
|
|
758
758
|
"text-anchor": "middle",
|
|
759
759
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
760
760
|
fill: e.value.style.layout.dataLabels.yAxis.color
|
|
761
|
-
}, $(
|
|
761
|
+
}, $(y(j)(
|
|
762
762
|
e.value.style.layout.plots.selectors.labels.y.formatter,
|
|
763
|
-
h.value.yMax,
|
|
764
|
-
|
|
763
|
+
y(M)(h.value.yMax),
|
|
764
|
+
y(W)({
|
|
765
765
|
p: e.value.style.layout.plots.selectors.labels.prefix,
|
|
766
|
-
v: h.value.yMax,
|
|
766
|
+
v: y(M)(h.value.yMax),
|
|
767
767
|
s: e.value.style.layout.plots.selectors.labels.suffix,
|
|
768
768
|
r: e.value.style.layout.dataLabels.yAxis.rounding
|
|
769
769
|
})
|
|
770
|
-
)), 9,
|
|
771
|
-
|
|
770
|
+
)), 9, ll),
|
|
771
|
+
c("text", {
|
|
772
772
|
"text-anchor": "middle",
|
|
773
773
|
"font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
|
|
774
774
|
"font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
|
|
775
775
|
fill: e.value.style.layout.dataLabels.yAxis.color,
|
|
776
776
|
x: u.value.left + u.value.width / 2,
|
|
777
777
|
y: u.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
|
|
778
|
-
}, $(e.value.style.layout.dataLabels.yAxis.name), 9,
|
|
779
|
-
])) :
|
|
780
|
-
|
|
781
|
-
id: `clip_path_${
|
|
778
|
+
}, $(e.value.style.layout.dataLabels.yAxis.name), 9, al)
|
|
779
|
+
])) : d("", !0),
|
|
780
|
+
c("clipPath", {
|
|
781
|
+
id: `clip_path_${C.value}`
|
|
782
782
|
}, [
|
|
783
|
-
|
|
783
|
+
c("rect", {
|
|
784
784
|
x: u.value.left,
|
|
785
785
|
y: u.value.top,
|
|
786
786
|
width: u.value.width <= 0 ? 1e-4 : u.value.width,
|
|
787
787
|
height: u.value.height <= 0 ? 1e-4 : u.value.height
|
|
788
|
-
}, null, 8,
|
|
789
|
-
], 8,
|
|
790
|
-
e.value.style.layout.correlation.show ? (s(), r("g",
|
|
791
|
-
(s(!0), r(
|
|
788
|
+
}, null, 8, sl)
|
|
789
|
+
], 8, ol),
|
|
790
|
+
e.value.style.layout.correlation.show ? (s(), r("g", ul, [
|
|
791
|
+
(s(!0), r(P, null, O(S.value, (t, o) => (s(), r("line", {
|
|
792
792
|
x1: t.correlation.x1,
|
|
793
793
|
x2: t.correlation.x2,
|
|
794
794
|
y1: t.correlation.y1,
|
|
@@ -796,9 +796,9 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
796
796
|
"stroke-dasharray": e.value.style.layout.correlation.strokeDasharray,
|
|
797
797
|
stroke: t.color,
|
|
798
798
|
"stroke-width": e.value.style.layout.correlation.strokeWidth,
|
|
799
|
-
"clip-path": `url(#clip_path_${
|
|
800
|
-
}, null, 8,
|
|
801
|
-
(s(!0), r(
|
|
799
|
+
"clip-path": `url(#clip_path_${C.value})`
|
|
800
|
+
}, null, 8, rl))), 256)),
|
|
801
|
+
(s(!0), r(P, null, O(S.value, (t, o) => (s(), r("g", null, [
|
|
802
802
|
e.value.style.layout.correlation.label.show ? (s(), r("text", {
|
|
803
803
|
key: 0,
|
|
804
804
|
x: t.label.x,
|
|
@@ -806,15 +806,18 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
806
806
|
fill: e.value.style.layout.correlation.label.useSerieColor ? t.color : e.value.style.layout.correlation.label.color,
|
|
807
807
|
"font-size": e.value.style.layout.correlation.label.fontSize,
|
|
808
808
|
"font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
|
|
809
|
-
}, $(
|
|
809
|
+
}, $(y(W)({
|
|
810
|
+
v: y(M)(t.correlation.coefficient),
|
|
811
|
+
r: e.value.style.layout.correlation.label.roundingValue
|
|
812
|
+
})), 9, il)) : d("", !0)
|
|
810
813
|
]))), 256))
|
|
811
|
-
])) :
|
|
812
|
-
|
|
813
|
-
], 14,
|
|
814
|
-
l.$slots.watermark ? (s(), r("div",
|
|
815
|
-
|
|
816
|
-
])) :
|
|
817
|
-
|
|
814
|
+
])) : d("", !0),
|
|
815
|
+
T(l.$slots, "svg", { svg: z.value }, void 0, !0)
|
|
816
|
+
], 14, mt)) : d("", !0),
|
|
817
|
+
l.$slots.watermark ? (s(), r("div", nl, [
|
|
818
|
+
T(l.$slots, "watermark", oe(se({ isPrinting: y(xe) || y(me) })), void 0, !0)
|
|
819
|
+
])) : d("", !0),
|
|
820
|
+
Q.value ? d("", !0) : (s(), K(pt, {
|
|
818
821
|
key: 4,
|
|
819
822
|
config: {
|
|
820
823
|
type: "quadrant",
|
|
@@ -832,30 +835,30 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
832
835
|
}
|
|
833
836
|
}
|
|
834
837
|
}, null, 8, ["config"])),
|
|
835
|
-
|
|
838
|
+
c("div", {
|
|
836
839
|
ref_key: "chartLegend",
|
|
837
|
-
ref:
|
|
840
|
+
ref: ge
|
|
838
841
|
}, [
|
|
839
|
-
e.value.style.legend.show ? (s(),
|
|
842
|
+
e.value.style.legend.show ? (s(), K(dt, {
|
|
840
843
|
key: 0,
|
|
841
|
-
legendSet:
|
|
842
|
-
config:
|
|
843
|
-
onClickMarker: i[0] || (i[0] = ({ legend: t }) =>
|
|
844
|
+
legendSet: E.value,
|
|
845
|
+
config: De.value,
|
|
846
|
+
onClickMarker: i[0] || (i[0] = ({ legend: t }) => ze(t.id))
|
|
844
847
|
}, {
|
|
845
848
|
item: w(({ legend: t }) => [
|
|
846
|
-
|
|
849
|
+
c("div", {
|
|
847
850
|
onClick: (o) => t.segregate(),
|
|
848
|
-
style:
|
|
849
|
-
}, $(t.name), 13,
|
|
851
|
+
style: Y(`opacity:${g.value.includes(t.id) ? 0.5 : 1}`)
|
|
852
|
+
}, $(t.name), 13, yl)
|
|
850
853
|
]),
|
|
851
854
|
_: 1
|
|
852
|
-
}, 8, ["legendSet", "config"])) :
|
|
855
|
+
}, 8, ["legendSet", "config"])) : T(l.$slots, "legend", {
|
|
853
856
|
key: 1,
|
|
854
|
-
legend:
|
|
857
|
+
legend: E.value
|
|
855
858
|
}, void 0, !0)
|
|
856
859
|
], 512),
|
|
857
|
-
|
|
858
|
-
show:
|
|
860
|
+
ae(ct, {
|
|
861
|
+
show: I.value.showTooltip && ue.value,
|
|
859
862
|
backgroundColor: e.value.style.tooltip.backgroundColor,
|
|
860
863
|
color: e.value.style.tooltip.color,
|
|
861
864
|
borderRadius: e.value.style.tooltip.borderRadius,
|
|
@@ -865,35 +868,35 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
865
868
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
|
|
866
869
|
position: e.value.style.tooltip.position,
|
|
867
870
|
offsetY: e.value.style.tooltip.offsetY,
|
|
868
|
-
parent:
|
|
869
|
-
content:
|
|
871
|
+
parent: H.value,
|
|
872
|
+
content: re.value,
|
|
870
873
|
isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
|
|
871
874
|
}, {
|
|
872
875
|
"tooltip-before": w(() => [
|
|
873
|
-
|
|
876
|
+
T(l.$slots, "tooltip-before", oe(se({ ...ne.value })), void 0, !0)
|
|
874
877
|
]),
|
|
875
878
|
"tooltip-after": w(() => [
|
|
876
|
-
|
|
879
|
+
T(l.$slots, "tooltip-after", oe(se({ ...ne.value })), void 0, !0)
|
|
877
880
|
]),
|
|
878
881
|
default: w(() => [
|
|
879
|
-
e.value.style.tooltip.showShape ? (s(), r("div",
|
|
880
|
-
(s(), r("svg",
|
|
881
|
-
|
|
882
|
-
shape:
|
|
883
|
-
color:
|
|
882
|
+
e.value.style.tooltip.showShape ? (s(), r("div", vl, [
|
|
883
|
+
(s(), r("svg", cl, [
|
|
884
|
+
ae(Pe, {
|
|
885
|
+
shape: v.value.shape,
|
|
886
|
+
color: v.value.color,
|
|
884
887
|
plot: { x: 10, y: 10 },
|
|
885
888
|
radius: 7
|
|
886
889
|
}, null, 8, ["shape", "color"])
|
|
887
890
|
]))
|
|
888
|
-
])) :
|
|
891
|
+
])) : d("", !0)
|
|
889
892
|
]),
|
|
890
893
|
_: 3
|
|
891
894
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
892
|
-
|
|
895
|
+
Q.value ? (s(), K(ft, {
|
|
893
896
|
key: 5,
|
|
894
897
|
hideDetails: "",
|
|
895
898
|
config: {
|
|
896
|
-
open:
|
|
899
|
+
open: I.value.showTable,
|
|
897
900
|
maxHeight: 1e4,
|
|
898
901
|
body: {
|
|
899
902
|
backgroundColor: e.value.style.backgroundColor,
|
|
@@ -906,33 +909,33 @@ const gt = ["id"], xt = ["xmlns", "viewBox"], mt = { key: 0 }, bt = ["x1", "x2",
|
|
|
906
909
|
}
|
|
907
910
|
}, {
|
|
908
911
|
content: w(() => [
|
|
909
|
-
|
|
910
|
-
colNames:
|
|
911
|
-
head:
|
|
912
|
-
body:
|
|
913
|
-
config:
|
|
912
|
+
ae(ht, {
|
|
913
|
+
colNames: te.value.colNames,
|
|
914
|
+
head: te.value.head,
|
|
915
|
+
body: te.value.body,
|
|
916
|
+
config: te.value.config,
|
|
914
917
|
title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
|
|
915
|
-
onClose: i[1] || (i[1] = (t) =>
|
|
918
|
+
onClose: i[1] || (i[1] = (t) => I.value.showTable = !1)
|
|
916
919
|
}, {
|
|
917
920
|
th: w(({ th: t }) => [
|
|
918
|
-
|
|
921
|
+
qe($(t), 1)
|
|
919
922
|
]),
|
|
920
923
|
td: w(({ td: t }) => [
|
|
921
|
-
t.shape ? (s(), r("div",
|
|
922
|
-
|
|
924
|
+
t.shape ? (s(), r("div", dl, [
|
|
925
|
+
c("span", null, $(t.content), 1)
|
|
923
926
|
])) : (s(), r("div", {
|
|
924
927
|
key: 1,
|
|
925
928
|
innerHTML: t
|
|
926
|
-
}, null, 8,
|
|
929
|
+
}, null, 8, hl))
|
|
927
930
|
]),
|
|
928
931
|
_: 1
|
|
929
932
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
930
933
|
]),
|
|
931
934
|
_: 1
|
|
932
|
-
}, 8, ["config"])) :
|
|
933
|
-
], 14,
|
|
935
|
+
}, 8, ["config"])) : d("", !0)
|
|
936
|
+
], 14, xt));
|
|
934
937
|
}
|
|
935
|
-
},
|
|
938
|
+
}, Al = /* @__PURE__ */ gt(pl, [["__scopeId", "data-v-37e61ef6"]]);
|
|
936
939
|
export {
|
|
937
|
-
|
|
940
|
+
Al as default
|
|
938
941
|
};
|