vue-data-ui 2.4.85 → 2.4.87
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-Ajt3NMEa.cjs → Arrow-B6C-c2DT.cjs} +1 -1
- package/dist/{Arrow-Qayb_B0s.js → Arrow-C8PrFeHS.js} +1 -1
- package/dist/{BaseIcon-BVrsMbvi.cjs → BaseIcon-CdOKZmHr.cjs} +1 -1
- package/dist/{BaseIcon-B8U62FEj.js → BaseIcon-plElWres.js} +1 -1
- package/dist/{DataTable-1PQD-SFb.cjs → DataTable-BmKl4AAb.cjs} +1 -1
- package/dist/{DataTable-C0tCPQ9i.js → DataTable-CKke7C6w.js} +2 -2
- package/dist/{Legend-BJ2Wbqut.cjs → Legend-CY6wjCYY.cjs} +1 -1
- package/dist/{Legend-BTpe6qQB.js → Legend-DMeEvZOT.js} +2 -2
- package/dist/{PackageVersion-BjfedMsH.cjs → PackageVersion-DvDNPRrJ.cjs} +1 -1
- package/dist/{PackageVersion-CENy3Lm2.js → PackageVersion-Rh3rgo6A.js} +1 -1
- package/dist/{PenAndPaper-nqRtAh6J.cjs → PenAndPaper--xHLJRME.cjs} +1 -1
- package/dist/{PenAndPaper-Dr7ndoP_.js → PenAndPaper-DqVsdeLc.js} +3 -3
- package/dist/{Shape-zFv85Gc2.js → Shape-CL3HglYL.js} +1 -1
- package/dist/{Shape-Boa32JEn.cjs → Shape-DEwnzwRB.cjs} +1 -1
- package/dist/{Slicer-D6QLMg5N.cjs → Slicer-CnNbe-dl.cjs} +1 -1
- package/dist/{Slicer-BUYuk07t.js → Slicer-ZryQKOl5.js} +2 -2
- package/dist/{Title-CaET2xuF.js → Title-BU5Aq1_x.js} +1 -1
- package/dist/{Title-DJUxOiaO.cjs → Title-C10173bN.cjs} +1 -1
- package/dist/{Tooltip-C5QuW94e.cjs → Tooltip-CL7aSMgq.cjs} +1 -1
- package/dist/{Tooltip-Bkc4233T.js → Tooltip-Dm-obTbx.js} +1 -1
- package/dist/{index-COIn1phv.cjs → index-1HOIfTy2.cjs} +1 -1
- package/dist/{index-B7nCQFK0.js → index-BG5J_ybN.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-CbMuGGl3.cjs → useNestedProp-BFNnjpX-.cjs} +1 -1
- package/dist/{useNestedProp-C9rlBRTT.js → useNestedProp-BN1ZmAKT.js} +1 -1
- package/dist/{usePrinter-CQMn1b4E.js → usePrinter-CWeJt84b.js} +1 -1
- package/dist/{usePrinter-CXXfgFFN.cjs → usePrinter-i-j4CdEi.cjs} +1 -1
- package/dist/{vue-data-ui-Bu_VIHgr.cjs → vue-data-ui-549nX1yu.cjs} +1 -1
- package/dist/{vue-data-ui-BnsKGbqb.js → vue-data-ui-B5u9V9lC.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-V5FBS9MA.js → vue-ui-3d-bar-DBtozgXL.js} +38 -38
- package/dist/{vue-ui-3d-bar-D39F2dKF.cjs → vue-ui-3d-bar-J7LkJgTZ.cjs} +11 -11
- package/dist/{vue-ui-accordion-CGlnNTr8.cjs → vue-ui-accordion-Cd6GaDwU.cjs} +1 -1
- package/dist/{vue-ui-accordion-B8ptB5BQ.js → vue-ui-accordion-JBOceVq2.js} +3 -3
- package/dist/{vue-ui-age-pyramid-Bjp1R8Ku.js → vue-ui-age-pyramid-BIkYjL8e.js} +29 -29
- package/dist/vue-ui-age-pyramid-DeryBRqg.cjs +1 -0
- package/dist/{vue-ui-annotator-V9m5fTGG.js → vue-ui-annotator-Bt90Iec6.js} +1 -1
- package/dist/{vue-ui-annotator-BoWZZRPg.cjs → vue-ui-annotator-Dw8cVACs.cjs} +1 -1
- package/dist/{vue-ui-bullet-DLIxlhFF.cjs → vue-ui-bullet-BMAYQESQ.cjs} +1 -1
- package/dist/{vue-ui-bullet-Bqvb5PV-.js → vue-ui-bullet-DzosZUYl.js} +8 -8
- package/dist/{vue-ui-candlestick-D4BD8LyJ.cjs → vue-ui-candlestick-BaLnAKB9.cjs} +2 -2
- package/dist/{vue-ui-candlestick-DHCtmsh3.js → vue-ui-candlestick-dTATEFOU.js} +48 -48
- package/dist/{vue-ui-carousel-table-VIuoh2QI.cjs → vue-ui-carousel-table-CWNI7Ri5.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Cn2RJkSb.js → vue-ui-carousel-table-rMcj65Bo.js} +4 -4
- package/dist/{vue-ui-chestnut-C5qUO1uK.js → vue-ui-chestnut-B_NLFSaY.js} +29 -29
- package/dist/{vue-ui-chestnut-ClG9HZoC.cjs → vue-ui-chestnut-DjOEVM3w.cjs} +2 -2
- package/dist/{vue-ui-cursor-Bo8et-dD.cjs → vue-ui-cursor-CBUwAZd1.cjs} +1 -1
- package/dist/{vue-ui-cursor-eJau3iyr.js → vue-ui-cursor-CTvVj3YO.js} +2 -2
- package/dist/{vue-ui-dashboard-DnaH9bCw.js → vue-ui-dashboard-CG9J3DLT.js} +2 -2
- package/dist/{vue-ui-dashboard-WJqGQ8iR.cjs → vue-ui-dashboard-DcfhPFVi.cjs} +1 -1
- package/dist/{vue-ui-digits-qIckO4-r.cjs → vue-ui-digits-B8lUQcKK.cjs} +1 -1
- package/dist/{vue-ui-digits-Cqjts2eq.js → vue-ui-digits-CF6qbsmO.js} +2 -2
- package/dist/{vue-ui-donut-pprcnbIw.js → vue-ui-donut-Bbkz0M-R.js} +76 -76
- package/dist/vue-ui-donut-CzmOCuxn.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-EzYvP11F.js → vue-ui-donut-evolution-BkE-sAyn.js} +66 -66
- package/dist/vue-ui-donut-evolution-CjFUAKXU.cjs +1 -0
- package/dist/vue-ui-dumbbell-BiHzKPGP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DaxcxmnU.js → vue-ui-dumbbell-D8JuHhzi.js} +28 -28
- package/dist/vue-ui-flow-CR1Qo5Rt.cjs +1 -0
- package/dist/{vue-ui-flow-DbRgaKBu.js → vue-ui-flow-Cie8iHDK.js} +31 -31
- package/dist/vue-ui-funnel-B8uRuzDx.cjs +1 -0
- package/dist/{vue-ui-funnel-B2del8KB.js → vue-ui-funnel-tW6PGqcE.js} +32 -32
- package/dist/vue-ui-galaxy-BfbYEvnO.cjs +1 -0
- package/dist/{vue-ui-galaxy-pUYeASJf.js → vue-ui-galaxy-p4j0h3ZX.js} +81 -81
- package/dist/{vue-ui-gauge-DpsXpEaW.js → vue-ui-gauge-CtVmazzP.js} +7 -7
- package/dist/{vue-ui-gauge-BOXoAgWk.cjs → vue-ui-gauge-DnTOvr4T.cjs} +1 -1
- package/dist/{vue-ui-gizmo-Bq9uAmqd.cjs → vue-ui-gizmo-BdlVxVqD.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BpYrhkon.js → vue-ui-gizmo-wjZJgWPe.js} +3 -3
- package/dist/{vue-ui-heatmap-Cz6_9Veh.js → vue-ui-heatmap-DJXLmzGL.js} +63 -63
- package/dist/vue-ui-heatmap-Gd3nkwzC.cjs +1 -0
- package/dist/vue-ui-history-plot-CevSrT7E.cjs +1 -0
- package/dist/{vue-ui-history-plot-DAotUjSF.js → vue-ui-history-plot-DJQck-9N.js} +69 -69
- package/dist/{vue-ui-kpi-D6mp6EQ2.cjs → vue-ui-kpi-D8NVXEfO.cjs} +1 -1
- package/dist/{vue-ui-kpi-Ch2p7m-i.js → vue-ui-kpi-MK6JH8yi.js} +3 -3
- package/dist/{vue-ui-mini-loader-E13lmwfO.js → vue-ui-mini-loader-UiC0NYsO.js} +2 -2
- package/dist/{vue-ui-mini-loader-CO-KGVlC.cjs → vue-ui-mini-loader-a8JZaxIy.cjs} +1 -1
- package/dist/vue-ui-molecule-CXgKUNCL.cjs +1 -0
- package/dist/{vue-ui-molecule-C69K6EPO.js → vue-ui-molecule-Cz9zZQ95.js} +155 -155
- package/dist/vue-ui-mood-radar-B-PSds5c.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DDtky572.js → vue-ui-mood-radar-BMMCFkEk.js} +33 -33
- package/dist/{vue-ui-nested-donuts-DMCd6DqT.cjs → vue-ui-nested-donuts-Cdx6UQwF.cjs} +5 -5
- package/dist/{vue-ui-nested-donuts-AYPYIRrE.js → vue-ui-nested-donuts-Da9c-H0Y.js} +147 -147
- package/dist/{vue-ui-onion-Bsa88sKK.js → vue-ui-onion-D1wExDGP.js} +44 -44
- package/dist/{vue-ui-onion-BedLvfFe.cjs → vue-ui-onion-HAS4P8nS.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-KCEb4iRs.js → vue-ui-parallel-coordinate-plot-BH0xKZAE.js} +79 -79
- package/dist/{vue-ui-parallel-coordinate-plot-CSOMIABF.cjs → vue-ui-parallel-coordinate-plot-BYeyzJnE.cjs} +3 -3
- package/dist/{vue-ui-quadrant-Bd_88Eht.js → vue-ui-quadrant-BDkbMaNf.js} +108 -108
- package/dist/vue-ui-quadrant-DbWSZWfP.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CXAYKYHa.js → vue-ui-quick-chart-D3b2YwMY.js} +212 -212
- package/dist/vue-ui-quick-chart-qnbmA75J.cjs +15 -0
- package/dist/{vue-ui-radar-De397oTB.js → vue-ui-radar--Bt67L0i.js} +107 -107
- package/dist/vue-ui-radar-DSZpmaIZ.cjs +1 -0
- package/dist/{vue-ui-rating-wK3_ZWE5.js → vue-ui-rating-Bgr7tvIq.js} +2 -2
- package/dist/{vue-ui-rating-BjiMVoyX.cjs → vue-ui-rating-Z_ANkBeZ.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BEGyr1h-.cjs → vue-ui-relation-circle-3cgv8yC-.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BxlK8MVs.js → vue-ui-relation-circle-B22VP_p1.js} +7 -7
- package/dist/{vue-ui-rings-BcNMBXxq.cjs → vue-ui-rings-DZEwaUv5.cjs} +2 -2
- package/dist/{vue-ui-rings-BXrtMSML.js → vue-ui-rings-DgzfAEvJ.js} +66 -66
- package/dist/{vue-ui-scatter-BWZfLJ9P.js → vue-ui-scatter-BwlbShJE.js} +85 -85
- package/dist/vue-ui-scatter-CSI15Dgp.cjs +1 -0
- package/dist/{vue-ui-screenshot-BJgOwFMW.cjs → vue-ui-screenshot-DK2xyINC.cjs} +1 -1
- package/dist/{vue-ui-screenshot-hw4PC9Uu.js → vue-ui-screenshot-Dk0TqQpi.js} +1 -1
- package/dist/{vue-ui-skeleton-BIqMxXV7.cjs → vue-ui-skeleton-CLiDRcQX.cjs} +1 -1
- package/dist/{vue-ui-skeleton-D66ZIUln.js → vue-ui-skeleton-c211TxZ8.js} +3 -3
- package/dist/{vue-ui-smiley-Duy5Xo-j.cjs → vue-ui-smiley-Kr6bQ-7L.cjs} +1 -1
- package/dist/{vue-ui-smiley-DWPYdcDB.js → vue-ui-smiley-hIooew3m.js} +2 -2
- package/dist/{vue-ui-spark-trend-Ce4IaqPz.js → vue-ui-spark-trend-CgpDYM8f.js} +5 -5
- package/dist/{vue-ui-spark-trend-DP5foaNi.cjs → vue-ui-spark-trend-SVqMwS1X.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Bbns4V16.cjs → vue-ui-sparkbar-DY1J0X8K.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-Fa-Kc9Fr.js → vue-ui-sparkbar-D_HgtfBM.js} +4 -4
- package/dist/{vue-ui-sparkgauge-BrLrvNLH.cjs → vue-ui-sparkgauge-C4p0nAHp.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DUWcJ7cM.js → vue-ui-sparkgauge-jO5jKAyz.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-PgC-c-5a.js → vue-ui-sparkhistogram-BpQfz14e.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-B0rhs_UN.cjs → vue-ui-sparkhistogram-gSNvSVcP.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BqNlrKjb.js → vue-ui-sparkline-BTgaJjMj.js} +4 -4
- package/dist/{vue-ui-sparkline-c5Awoj8J.cjs → vue-ui-sparkline-D53BDGCi.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DyJIUulr.js → vue-ui-sparkstackbar-COm1EqFN.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BmYIcpVZ.cjs → vue-ui-sparkstackbar-DcEhBuvP.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BebRtOYL.js → vue-ui-stackbar-BHyysJyj.js} +51 -51
- package/dist/{vue-ui-stackbar-DJ9NH_l1.cjs → vue-ui-stackbar-D4-vrvMz.cjs} +3 -3
- package/dist/{vue-ui-strip-plot-BGHj1BHd.js → vue-ui-strip-plot-BOLWDlTl.js} +118 -118
- package/dist/vue-ui-strip-plot-iUjpocRA.cjs +1 -0
- package/dist/{vue-ui-table-BFdGppRF.cjs → vue-ui-table-DG3-RAEv.cjs} +1 -1
- package/dist/{vue-ui-table-ClPMKcMn.js → vue-ui-table-XThR7HtD.js} +1 -1
- package/dist/{vue-ui-table-heatmap-B7wTjM-H.cjs → vue-ui-table-heatmap-B82Dmfv2.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DVQtPt-M.js → vue-ui-table-heatmap-DxWQ3cdf.js} +4 -4
- package/dist/{vue-ui-table-sparkline-DjxKXWQm.js → vue-ui-table-sparkline-BIQAc-eX.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DaKODjfM.cjs → vue-ui-table-sparkline-C3JrSwmi.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CV_9k37V.js → vue-ui-thermometer-Ci0OBAEN.js} +7 -7
- package/dist/{vue-ui-thermometer-DE9r0emf.cjs → vue-ui-thermometer-t1cul6jD.cjs} +1 -1
- package/dist/{vue-ui-timer-Ct-KYWSX.cjs → vue-ui-timer-BLqulQx5.cjs} +1 -1
- package/dist/{vue-ui-timer-2w5Ayq7G.js → vue-ui-timer-CwJoQApu.js} +5 -5
- package/dist/{vue-ui-tiremarks-BJnh0GBj.js → vue-ui-tiremarks-CFVl_w7d.js} +7 -7
- package/dist/{vue-ui-tiremarks-Cf04zARl.cjs → vue-ui-tiremarks-_d9WOe-N.cjs} +1 -1
- package/dist/vue-ui-treemap-BaQFfbqL.cjs +1 -0
- package/dist/{vue-ui-treemap-BD546LBi.js → vue-ui-treemap-BtjPxOzu.js} +108 -108
- package/dist/{vue-ui-vertical-bar-D3QKHHnS.cjs → vue-ui-vertical-bar-BcjM9qCI.cjs} +3 -3
- package/dist/{vue-ui-vertical-bar-E5CTb1Bd.js → vue-ui-vertical-bar-xnQDjCLE.js} +54 -54
- package/dist/{vue-ui-waffle-BAJIMbZK.js → vue-ui-waffle-BMFtG4mh.js} +99 -99
- package/dist/vue-ui-waffle-DGarEDP5.cjs +1 -0
- package/dist/{vue-ui-wheel-CPPLUSFq.js → vue-ui-wheel-DIr8JQt0.js} +7 -7
- package/dist/{vue-ui-wheel-Dy_B7BTG.cjs → vue-ui-wheel-DLFWUmdm.cjs} +1 -1
- package/dist/vue-ui-word-cloud-CDQ4rkP-.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BVZcDY7m.js → vue-ui-word-cloud-CrSkUMkN.js} +81 -81
- package/dist/{vue-ui-xy-tB-6IP2y.js → vue-ui-xy-DPT3SYuU.js} +815 -818
- package/dist/vue-ui-xy-DfnDyl8o.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-DFUfTZwz.js → vue-ui-xy-canvas-C3iMSkvP.js} +35 -35
- package/dist/{vue-ui-xy-canvas-BSZTrqci.cjs → vue-ui-xy-canvas-DEyhDtC-.cjs} +3 -3
- package/package.json +1 -1
- package/dist/vue-ui-age-pyramid-BdseHKUc.cjs +0 -1
- package/dist/vue-ui-donut-BP7yj2DU.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Cz8uFJp8.cjs +0 -1
- package/dist/vue-ui-dumbbell-CYqHCr2S.cjs +0 -9
- package/dist/vue-ui-flow-HeRCplGL.cjs +0 -1
- package/dist/vue-ui-funnel-DxniWNkD.cjs +0 -1
- package/dist/vue-ui-galaxy-BDA64dud.cjs +0 -1
- package/dist/vue-ui-heatmap-CbKgGLtN.cjs +0 -1
- package/dist/vue-ui-history-plot-BoMdvItE.cjs +0 -1
- package/dist/vue-ui-molecule-CeoDnPXB.cjs +0 -1
- package/dist/vue-ui-mood-radar-BwOqQUuT.cjs +0 -1
- package/dist/vue-ui-quadrant-BXQVOvpY.cjs +0 -1
- package/dist/vue-ui-quick-chart-dLItYwM_.cjs +0 -15
- package/dist/vue-ui-radar-BuNtocmn.cjs +0 -1
- package/dist/vue-ui-scatter-DTy3yPVu.cjs +0 -1
- package/dist/vue-ui-strip-plot-f7vejZht.cjs +0 -1
- package/dist/vue-ui-treemap-D0vi4bv4.cjs +0 -1
- package/dist/vue-ui-waffle-BL0e3Yeq.cjs +0 -1
- package/dist/vue-ui-word-cloud-BPoAoeWZ.cjs +0 -1
- package/dist/vue-ui-xy-D4hRtHAi.cjs +0 -3
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as Xe, c as ee, t as je, a as Ye, p as
|
|
1
|
+
import { computed as p, ref as n, watch as Ge, onMounted as Ue, onBeforeUnmount as Ve, openBlock as s, createElementBlock as u, normalizeClass as F, normalizeStyle as B, unref as v, createBlock as T, createCommentVNode as c, createSlots as Ee, withCtx as f, renderSlot as y, normalizeProps as M, guardReactiveProps as W, createVNode as $e, Fragment as g, renderList as w, createElementVNode as k, toDisplayString as L, mergeProps as He, createTextVNode as Re, nextTick as Be } from "vue";
|
|
2
|
+
import { u as Xe, c as ee, t as je, a as Ye, p as A, o as qe, e as te, g as _e, b as Je, d as Te, v as Ke, D as Qe, f as X, X as Ze, i as le, l as et, h as tt, x as Le, y as lt, q as at, r as ot, F as st } from "./index-BG5J_ybN.js";
|
|
3
3
|
import { t as rt, u as ut } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as it } from "./Title-
|
|
5
|
-
import { u as nt, U as vt } from "./usePrinter-
|
|
6
|
-
import { _ as ct } from "./Tooltip-
|
|
7
|
-
import { D as ht } from "./DataTable-
|
|
8
|
-
import dt from "./vue-ui-skeleton-
|
|
9
|
-
import { _ as pt } from "./Shape-
|
|
10
|
-
import
|
|
11
|
-
import { u as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as bt } from "./PenAndPaper-
|
|
4
|
+
import { _ as it } from "./Title-BU5Aq1_x.js";
|
|
5
|
+
import { u as nt, U as vt } from "./usePrinter-CWeJt84b.js";
|
|
6
|
+
import { _ as ct } from "./Tooltip-Dm-obTbx.js";
|
|
7
|
+
import { D as ht } from "./DataTable-CKke7C6w.js";
|
|
8
|
+
import dt from "./vue-ui-skeleton-c211TxZ8.js";
|
|
9
|
+
import { _ as pt } from "./Shape-CL3HglYL.js";
|
|
10
|
+
import yt from "./vue-ui-accordion-JBOceVq2.js";
|
|
11
|
+
import { u as Ae } from "./useNestedProp-BN1ZmAKT.js";
|
|
12
|
+
import { _ as ft } from "./PackageVersion-Rh3rgo6A.js";
|
|
13
|
+
import { P as bt } from "./PenAndPaper-DqVsdeLc.js";
|
|
14
14
|
import { u as mt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
-
const kt = ["id"], xt = ["xmlns", "viewBox"],
|
|
16
|
+
const kt = ["id"], xt = ["xmlns", "viewBox"], wt = ["x", "y", "width", "height"], Ct = { key: 1 }, $t = { key: 0 }, _t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Tt = { key: 1 }, Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x", "y", "fill", "font-size"], Ot = ["x", "y", "font-size", "fill"], zt = ["fill", "font-size", "transform"], Nt = ["fill", "font-size", "x", "y"], Ft = ["x1", "x2", "y1", "y2", "stroke"], Mt = ["cx", "cy", "fill"], Wt = ["cx", "cy", "fill"], It = ["id"], Dt = ["stop-color"], Gt = ["stop-color"], Ut = ["stop-color"], Vt = { key: 0 }, Et = ["x", "y", "font-size", "fill"], Ht = {
|
|
17
17
|
key: 5,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
19
|
}, Rt = ["innerHTML"], Bt = {
|
|
@@ -33,33 +33,33 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
emits: ["selectDatapoint"],
|
|
36
|
-
setup(
|
|
37
|
-
const b =
|
|
36
|
+
setup(Pe, { expose: Se, emit: Oe }) {
|
|
37
|
+
const b = Pe, { vue_ui_strip_plot: ze } = Xe(), C = p({
|
|
38
38
|
get() {
|
|
39
39
|
return !!b.dataset && b.dataset.length;
|
|
40
40
|
},
|
|
41
41
|
set(t) {
|
|
42
42
|
return t;
|
|
43
43
|
}
|
|
44
|
-
}), j = n(ee()), ae = n(0), Y = n(!1), q = n(""),
|
|
44
|
+
}), j = n(ee()), ae = n(0), Y = n(!1), q = n(""), P = n(null), oe = n(null), se = n(null), re = n(null), ue = n(!1), ie = n(0), ne = n(0), e = p({
|
|
45
45
|
get: () => he(),
|
|
46
46
|
set: (t) => t
|
|
47
47
|
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: ce } = mt({ config: e.value });
|
|
48
48
|
function he() {
|
|
49
|
-
const t =
|
|
49
|
+
const t = Ae({
|
|
50
50
|
userConfig: b.config,
|
|
51
51
|
defaultConfig: ze
|
|
52
52
|
});
|
|
53
53
|
return t.theme ? {
|
|
54
|
-
...
|
|
54
|
+
...Ae({
|
|
55
55
|
userConfig: je.vue_ui_strip_plot[t.theme] || b.config,
|
|
56
56
|
defaultConfig: t
|
|
57
57
|
}),
|
|
58
|
-
customPalette: Ye[t.theme] ||
|
|
58
|
+
customPalette: Ye[t.theme] || A
|
|
59
59
|
} : t;
|
|
60
60
|
}
|
|
61
61
|
Ge(() => b.config, (t) => {
|
|
62
|
-
e.value = he(), J.value = !e.value.showOnChartHover, de(), ie.value += 1, ne.value += 1;
|
|
62
|
+
e.value = he(), J.value = !e.value.showOnChartHover, de(), ie.value += 1, ne.value += 1, d.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, d.value.showTable = e.value.table.show, d.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
63
63
|
}, { deep: !0 });
|
|
64
64
|
const I = n(null);
|
|
65
65
|
Ue(() => {
|
|
@@ -74,7 +74,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
74
74
|
datasetObject: t,
|
|
75
75
|
requiredAttributes: ["name", "plots"]
|
|
76
76
|
}).forEach((l) => {
|
|
77
|
-
|
|
77
|
+
C.value = !1, te({
|
|
78
78
|
componentName: "VueUiStripPlot",
|
|
79
79
|
type: "datasetSerieAttribute",
|
|
80
80
|
property: l,
|
|
@@ -85,7 +85,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
85
85
|
datasetObject: l,
|
|
86
86
|
requiredAttributes: ["name", "value"]
|
|
87
87
|
}).forEach((i) => {
|
|
88
|
-
|
|
88
|
+
C.value = !1, te({
|
|
89
89
|
componentName: "VueUiStripPlot",
|
|
90
90
|
type: "datasetSerieAttribute",
|
|
91
91
|
property: i,
|
|
@@ -96,13 +96,13 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
96
96
|
}), e.value.responsive) {
|
|
97
97
|
const t = rt(() => {
|
|
98
98
|
const { width: o, height: l } = ut({
|
|
99
|
-
chart:
|
|
99
|
+
chart: P.value,
|
|
100
100
|
title: e.value.style.chart.title.text ? oe.value : null,
|
|
101
101
|
source: se.value,
|
|
102
102
|
noTitle: re.value
|
|
103
103
|
});
|
|
104
104
|
requestAnimationFrame(() => {
|
|
105
|
-
D.value = l,
|
|
105
|
+
D.value = l, S.value.width = o, S.value.height = l, N.value = (o - m.value.left - m.value.right) / b.dataset.length, G.value = st({
|
|
106
106
|
relator: Math.min(l, o),
|
|
107
107
|
adjuster: 600,
|
|
108
108
|
source: e.value.style.chart.plots.radius,
|
|
@@ -111,7 +111,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
111
111
|
});
|
|
112
112
|
});
|
|
113
113
|
});
|
|
114
|
-
I.value = new ResizeObserver(t), I.value.observe(
|
|
114
|
+
I.value = new ResizeObserver(t), I.value.observe(P.value.parentNode);
|
|
115
115
|
}
|
|
116
116
|
ue.value = !0, setTimeout(() => {
|
|
117
117
|
z.value = !1;
|
|
@@ -120,10 +120,10 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
120
120
|
Ve(() => {
|
|
121
121
|
I.value && I.value.disconnect();
|
|
122
122
|
});
|
|
123
|
-
const { isPrinting: pe, isImaging:
|
|
123
|
+
const { isPrinting: pe, isImaging: ye, generatePdf: fe, generateImage: be } = nt({
|
|
124
124
|
elementId: `strip-plot_${j.value}`,
|
|
125
125
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
126
|
-
}), Ne =
|
|
126
|
+
}), Ne = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = p(() => Je(e.value.customPalette)), z = n(e.value.useCssAnimation), d = n({
|
|
127
127
|
showTable: e.value.table.show,
|
|
128
128
|
dataLabels: {
|
|
129
129
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
@@ -134,10 +134,10 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
134
134
|
bottom: e.value.style.chart.padding.bottom,
|
|
135
135
|
left: e.value.style.chart.padding.left,
|
|
136
136
|
right: e.value.style.chart.padding.right
|
|
137
|
-
}), N = n(e.value.style.chart.stripWidth), D = n(e.value.style.chart.height), G = n(e.value.style.chart.plots.radius),
|
|
137
|
+
}), N = n(e.value.style.chart.stripWidth), D = n(e.value.style.chart.height), G = n(e.value.style.chart.plots.radius), S = n({
|
|
138
138
|
width: N.value * b.dataset.length + m.value.left + m.value.right,
|
|
139
139
|
height: e.value.style.chart.height
|
|
140
|
-
}), a =
|
|
140
|
+
}), a = p(() => {
|
|
141
141
|
const t = N.value * b.dataset.length + m.value.left + m.value.right;
|
|
142
142
|
return {
|
|
143
143
|
left: m.value.left,
|
|
@@ -150,39 +150,39 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
150
150
|
absoluteHeight: D.value,
|
|
151
151
|
absoluteWidth: t
|
|
152
152
|
};
|
|
153
|
-
}), U =
|
|
153
|
+
}), U = p(() => C.value ? b.dataset.map((t, o) => {
|
|
154
154
|
const l = ee();
|
|
155
155
|
return {
|
|
156
156
|
...t,
|
|
157
157
|
id: l,
|
|
158
|
-
color: t.color ? Te(t.color) : me.value[o] ||
|
|
158
|
+
color: t.color ? Te(t.color) : me.value[o] || A[o] || A[o % A.length],
|
|
159
159
|
plots: t.plots.map((r) => ({
|
|
160
160
|
...r,
|
|
161
161
|
value: Ke(r.value),
|
|
162
162
|
parentId: l,
|
|
163
|
-
color: t.color ? Te(t.color) : me.value[o] ||
|
|
163
|
+
color: t.color ? Te(t.color) : me.value[o] || A[o] || A[o % A.length],
|
|
164
164
|
id: ee()
|
|
165
165
|
})).sort((r, i) => r.value - i.value)
|
|
166
166
|
};
|
|
167
|
-
}) : null), x =
|
|
167
|
+
}) : null), x = p(() => (U.value || []).map((t, o) => ({
|
|
168
168
|
...t,
|
|
169
169
|
plots: t.plots.map((l) => ({
|
|
170
170
|
...l,
|
|
171
171
|
x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
|
|
172
172
|
}))
|
|
173
|
-
}))), Fe =
|
|
173
|
+
}))), Fe = p(() => Math.max(...x.value.map((t) => t.plots.length))), K = p(() => {
|
|
174
174
|
const t = x.value.flatMap((o) => o.plots.map((l) => l.value));
|
|
175
175
|
return {
|
|
176
176
|
max: Math.max(...t),
|
|
177
177
|
min: Math.min(...t)
|
|
178
178
|
};
|
|
179
|
-
}), $ =
|
|
179
|
+
}), $ = p(() => Qe(K.value.min < 0 ? K.value.min : 0, K.value.max, e.value.style.chart.grid.scaleSteps)), Me = p(() => (x.value || []).map((t, o) => ({
|
|
180
180
|
...t,
|
|
181
181
|
plots: t.plots.map((l) => ({
|
|
182
182
|
...l,
|
|
183
183
|
y: a.value.bottom - (l.value + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min)) * a.value.height
|
|
184
184
|
}))
|
|
185
|
-
}))), ge =
|
|
185
|
+
}))), ge = p(() => $.value.ticks.map((t) => ({
|
|
186
186
|
y: a.value.bottom - a.value.height * ((t + Math.abs($.value.min)) / ($.value.max + Math.abs($.value.min))),
|
|
187
187
|
x1: a.value.left,
|
|
188
188
|
x2: a.value.right,
|
|
@@ -191,7 +191,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
191
191
|
function We({ datapoint: t, seriesIndex: o }) {
|
|
192
192
|
Q.value = { datapoint: t, seriesIndex: o, config: e.value, series: U.value }, Y.value = !0, h.value = t;
|
|
193
193
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
194
|
-
if (
|
|
194
|
+
if (Le(l) && lt(() => l({
|
|
195
195
|
seriesIndex: o,
|
|
196
196
|
datapoint: t,
|
|
197
197
|
series: U.value,
|
|
@@ -218,7 +218,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
218
218
|
)}</div>`, q.value = `<div>${r}</div>`;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
const V =
|
|
221
|
+
const V = p(() => {
|
|
222
222
|
const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, i) => i.value - r.value).map((r) => ({
|
|
223
223
|
name: `${l.name} - ${r.name}`,
|
|
224
224
|
color: r.color
|
|
@@ -233,7 +233,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
233
233
|
ot({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
234
234
|
});
|
|
235
235
|
}
|
|
236
|
-
const E =
|
|
236
|
+
const E = p(() => {
|
|
237
237
|
const t = [
|
|
238
238
|
e.value.table.columnNames.series,
|
|
239
239
|
e.value.table.columnNames.value
|
|
@@ -281,30 +281,30 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
281
281
|
return x.value;
|
|
282
282
|
}
|
|
283
283
|
function xe() {
|
|
284
|
-
|
|
285
|
-
}
|
|
286
|
-
function Ce() {
|
|
287
|
-
f.value.dataLabels.show = !f.value.dataLabels.show;
|
|
284
|
+
d.value.showTable = !d.value.showTable;
|
|
288
285
|
}
|
|
289
286
|
function we() {
|
|
290
|
-
|
|
287
|
+
d.value.dataLabels.show = !d.value.dataLabels.show;
|
|
288
|
+
}
|
|
289
|
+
function Ce() {
|
|
290
|
+
d.value.showTooltip = !d.value.showTooltip;
|
|
291
291
|
}
|
|
292
292
|
const H = n(!1);
|
|
293
293
|
function Z() {
|
|
294
294
|
H.value = !H.value;
|
|
295
295
|
}
|
|
296
|
-
return
|
|
296
|
+
return Se({
|
|
297
297
|
getData: De,
|
|
298
|
-
generatePdf:
|
|
298
|
+
generatePdf: fe,
|
|
299
299
|
generateCsv: ke,
|
|
300
300
|
generateImage: be,
|
|
301
301
|
toggleTable: xe,
|
|
302
|
-
toggleLabels:
|
|
303
|
-
toggleTooltip:
|
|
302
|
+
toggleLabels: we,
|
|
303
|
+
toggleTooltip: Ce,
|
|
304
304
|
toggleAnnotator: Z
|
|
305
305
|
}), (t, o) => (s(), u("div", {
|
|
306
306
|
ref_key: "stripPlotChart",
|
|
307
|
-
ref:
|
|
307
|
+
ref: P,
|
|
308
308
|
class: F(`vue-ui-strip-plot ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
309
309
|
style: B(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
310
310
|
id: `strip-plot_${j.value}`,
|
|
@@ -313,7 +313,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
313
313
|
}, [
|
|
314
314
|
e.value.userOptions.buttons.annotator ? (s(), T(bt, {
|
|
315
315
|
key: 0,
|
|
316
|
-
parent:
|
|
316
|
+
parent: P.value,
|
|
317
317
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
318
318
|
color: e.value.style.chart.color,
|
|
319
319
|
active: H.value,
|
|
@@ -346,13 +346,13 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
346
346
|
}
|
|
347
347
|
}, null, 8, ["config"]))
|
|
348
348
|
], 512)) : c("", !0),
|
|
349
|
-
e.value.userOptions.show &&
|
|
349
|
+
e.value.userOptions.show && C.value && (v(ce) || v(J)) ? (s(), T(vt, {
|
|
350
350
|
ref: "details",
|
|
351
351
|
key: `user_option_${ae.value}`,
|
|
352
352
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
353
353
|
color: e.value.style.chart.color,
|
|
354
354
|
isPrinting: v(pe),
|
|
355
|
-
isImaging: v(
|
|
355
|
+
isImaging: v(ye),
|
|
356
356
|
uid: j.value,
|
|
357
357
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
358
358
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -361,20 +361,20 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
361
361
|
hasTable: e.value.userOptions.buttons.table,
|
|
362
362
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
363
363
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
364
|
-
isTooltip:
|
|
364
|
+
isTooltip: d.value.showTooltip,
|
|
365
365
|
isFullscreen: O.value,
|
|
366
366
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
367
|
-
chartElement:
|
|
367
|
+
chartElement: P.value,
|
|
368
368
|
position: e.value.userOptions.position,
|
|
369
369
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
370
370
|
isAnnotation: H.value,
|
|
371
371
|
onToggleFullscreen: Ie,
|
|
372
|
-
onGeneratePdf: v(
|
|
372
|
+
onGeneratePdf: v(fe),
|
|
373
373
|
onGenerateCsv: ke,
|
|
374
374
|
onGenerateImage: v(be),
|
|
375
375
|
onToggleTable: xe,
|
|
376
|
-
onToggleLabels:
|
|
377
|
-
onToggleTooltip:
|
|
376
|
+
onToggleLabels: we,
|
|
377
|
+
onToggleTooltip: Ce,
|
|
378
378
|
onToggleAnnotator: Z,
|
|
379
379
|
style: B({
|
|
380
380
|
visibility: v(ce) ? v(J) ? "visible" : "hidden" : "visible"
|
|
@@ -382,69 +382,69 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
382
382
|
}, Ee({ _: 2 }, [
|
|
383
383
|
t.$slots.optionTooltip ? {
|
|
384
384
|
name: "optionTooltip",
|
|
385
|
-
fn:
|
|
386
|
-
|
|
385
|
+
fn: f(() => [
|
|
386
|
+
y(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
387
387
|
]),
|
|
388
388
|
key: "0"
|
|
389
389
|
} : void 0,
|
|
390
390
|
t.$slots.optionPdf ? {
|
|
391
391
|
name: "optionPdf",
|
|
392
|
-
fn:
|
|
393
|
-
|
|
392
|
+
fn: f(() => [
|
|
393
|
+
y(t.$slots, "optionPdf", {}, void 0, !0)
|
|
394
394
|
]),
|
|
395
395
|
key: "1"
|
|
396
396
|
} : void 0,
|
|
397
397
|
t.$slots.optionCsv ? {
|
|
398
398
|
name: "optionCsv",
|
|
399
|
-
fn:
|
|
400
|
-
|
|
399
|
+
fn: f(() => [
|
|
400
|
+
y(t.$slots, "optionCsv", {}, void 0, !0)
|
|
401
401
|
]),
|
|
402
402
|
key: "2"
|
|
403
403
|
} : void 0,
|
|
404
404
|
t.$slots.optionImg ? {
|
|
405
405
|
name: "optionImg",
|
|
406
|
-
fn:
|
|
407
|
-
|
|
406
|
+
fn: f(() => [
|
|
407
|
+
y(t.$slots, "optionImg", {}, void 0, !0)
|
|
408
408
|
]),
|
|
409
409
|
key: "3"
|
|
410
410
|
} : void 0,
|
|
411
411
|
t.$slots.optionTable ? {
|
|
412
412
|
name: "optionTable",
|
|
413
|
-
fn:
|
|
414
|
-
|
|
413
|
+
fn: f(() => [
|
|
414
|
+
y(t.$slots, "optionTable", {}, void 0, !0)
|
|
415
415
|
]),
|
|
416
416
|
key: "4"
|
|
417
417
|
} : void 0,
|
|
418
418
|
t.$slots.optionLabels ? {
|
|
419
419
|
name: "optionLabels",
|
|
420
|
-
fn:
|
|
421
|
-
|
|
420
|
+
fn: f(() => [
|
|
421
|
+
y(t.$slots, "optionLabels", {}, void 0, !0)
|
|
422
422
|
]),
|
|
423
423
|
key: "5"
|
|
424
424
|
} : void 0,
|
|
425
425
|
t.$slots.optionFullscreen ? {
|
|
426
426
|
name: "optionFullscreen",
|
|
427
|
-
fn:
|
|
428
|
-
|
|
427
|
+
fn: f(({ toggleFullscreen: l, isFullscreen: r }) => [
|
|
428
|
+
y(t.$slots, "optionFullscreen", M(W({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
|
|
429
429
|
]),
|
|
430
430
|
key: "6"
|
|
431
431
|
} : void 0,
|
|
432
432
|
t.$slots.optionAnnotator ? {
|
|
433
433
|
name: "optionAnnotator",
|
|
434
|
-
fn:
|
|
435
|
-
|
|
434
|
+
fn: f(({ toggleAnnotator: l, isAnnotator: r }) => [
|
|
435
|
+
y(t.$slots, "optionAnnotator", M(W({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
|
|
436
436
|
]),
|
|
437
437
|
key: "7"
|
|
438
438
|
} : void 0
|
|
439
439
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
440
|
-
|
|
440
|
+
C.value ? (s(), u("svg", {
|
|
441
441
|
key: 4,
|
|
442
442
|
xmlns: v(Ze),
|
|
443
443
|
class: F({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
444
|
-
viewBox: `0 0 ${
|
|
444
|
+
viewBox: `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`,
|
|
445
445
|
style: B(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
446
446
|
}, [
|
|
447
|
-
$e(
|
|
447
|
+
$e(ft),
|
|
448
448
|
t.$slots["chart-background"] ? (s(), u("foreignObject", {
|
|
449
449
|
key: 0,
|
|
450
450
|
x: a.value.left,
|
|
@@ -455,11 +455,11 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
455
455
|
pointerEvents: "none"
|
|
456
456
|
}
|
|
457
457
|
}, [
|
|
458
|
-
|
|
459
|
-
], 8,
|
|
460
|
-
e.value.style.chart.grid.show ? (s(), u("g",
|
|
458
|
+
y(t.$slots, "chart-background", {}, void 0, !0)
|
|
459
|
+
], 8, wt)) : c("", !0),
|
|
460
|
+
e.value.style.chart.grid.show ? (s(), u("g", Ct, [
|
|
461
461
|
e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g", $t, [
|
|
462
|
-
(s(!0), u(g, null,
|
|
462
|
+
(s(!0), u(g, null, w(ge.value, (l) => (s(), u("line", {
|
|
463
463
|
x1: l.x1,
|
|
464
464
|
x2: l.x2,
|
|
465
465
|
y1: l.y,
|
|
@@ -471,7 +471,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
471
471
|
}, null, 8, _t))), 256))
|
|
472
472
|
])) : c("", !0),
|
|
473
473
|
e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", Tt, [
|
|
474
|
-
(s(!0), u(g, null,
|
|
474
|
+
(s(!0), u(g, null, w(x.value, (l, r) => (s(), u("line", {
|
|
475
475
|
x1: a.value.left + (r + 1) * a.value.stripWidth,
|
|
476
476
|
x2: a.value.left + (r + 1) * a.value.stripWidth,
|
|
477
477
|
y1: a.value.top,
|
|
@@ -480,7 +480,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
480
480
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
481
481
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
482
482
|
"stroke-linecap": "round"
|
|
483
|
-
}, null, 8,
|
|
483
|
+
}, null, 8, Lt))), 256))
|
|
484
484
|
])) : c("", !0),
|
|
485
485
|
k("line", {
|
|
486
486
|
x1: a.value.left,
|
|
@@ -490,7 +490,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
490
490
|
stroke: e.value.style.chart.grid.stroke,
|
|
491
491
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
492
492
|
"stroke-linecap": "round"
|
|
493
|
-
}, null, 8,
|
|
493
|
+
}, null, 8, At),
|
|
494
494
|
k("line", {
|
|
495
495
|
x1: a.value.left,
|
|
496
496
|
x2: a.value.right,
|
|
@@ -499,15 +499,15 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
499
499
|
stroke: e.value.style.chart.grid.stroke,
|
|
500
500
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
501
501
|
"stroke-linecap": "round"
|
|
502
|
-
}, null, 8,
|
|
502
|
+
}, null, 8, Pt)
|
|
503
503
|
])) : c("", !0),
|
|
504
|
-
e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 },
|
|
504
|
+
e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, w(ge.value, (l, r) => (s(), u("text", {
|
|
505
505
|
x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
506
506
|
y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
507
507
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
508
508
|
"font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
|
|
509
509
|
"text-anchor": "end"
|
|
510
|
-
},
|
|
510
|
+
}, L(v(le)(
|
|
511
511
|
e.value.style.chart.labels.formatter,
|
|
512
512
|
l.value,
|
|
513
513
|
v(X)({
|
|
@@ -517,21 +517,21 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
517
517
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
518
518
|
}),
|
|
519
519
|
{ datapoint: l, seriesIndex: r }
|
|
520
|
-
)), 9,
|
|
521
|
-
e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 },
|
|
520
|
+
)), 9, St))), 256)) : c("", !0),
|
|
521
|
+
e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 }, w(x.value, (l, r) => (s(), u("text", {
|
|
522
522
|
x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
|
|
523
523
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
524
524
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
525
525
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
526
526
|
"text-anchor": "middle"
|
|
527
|
-
},
|
|
527
|
+
}, L(l.name), 9, Ot))), 256)) : c("", !0),
|
|
528
528
|
e.value.style.chart.labels.axis.yLabel ? (s(), u("text", {
|
|
529
529
|
key: 4,
|
|
530
530
|
fill: e.value.style.chart.labels.axis.color,
|
|
531
531
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
532
532
|
transform: `translate(${e.value.style.chart.labels.axis.fontSize + e.value.style.chart.labels.axis.yLabelOffsetX}, ${a.value.top + a.value.height / 2}) rotate(-90)`,
|
|
533
533
|
"text-anchor": "middle"
|
|
534
|
-
},
|
|
534
|
+
}, L(e.value.style.chart.labels.axis.yLabel), 9, zt)) : c("", !0),
|
|
535
535
|
e.value.style.chart.labels.axis.xLabel ? (s(), u("text", {
|
|
536
536
|
key: 5,
|
|
537
537
|
fill: e.value.style.chart.labels.axis.color,
|
|
@@ -539,7 +539,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
539
539
|
x: a.value.left + a.value.width / 2,
|
|
540
540
|
y: a.value.absoluteHeight,
|
|
541
541
|
"text-anchor": "middle"
|
|
542
|
-
},
|
|
542
|
+
}, L(e.value.style.chart.labels.axis.xLabel), 9, Nt)) : c("", !0),
|
|
543
543
|
h.value ? (s(), u(g, { key: 6 }, [
|
|
544
544
|
k("line", {
|
|
545
545
|
x1: a.value.left,
|
|
@@ -566,7 +566,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
566
566
|
}, null, 10, Wt)
|
|
567
567
|
], 64)) : c("", !0),
|
|
568
568
|
k("defs", null, [
|
|
569
|
-
(s(!0), u(g, null,
|
|
569
|
+
(s(!0), u(g, null, w(x.value, (l) => (s(), u("radialGradient", {
|
|
570
570
|
id: l.id,
|
|
571
571
|
fy: "30%"
|
|
572
572
|
}, [
|
|
@@ -584,8 +584,8 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
584
584
|
}, null, 8, Ut)
|
|
585
585
|
], 8, It))), 256))
|
|
586
586
|
]),
|
|
587
|
-
(s(!0), u(g, null,
|
|
588
|
-
(s(!0), u(g, null,
|
|
587
|
+
(s(!0), u(g, null, w(Me.value, (l, r) => (s(), u(g, null, [
|
|
588
|
+
(s(!0), u(g, null, w(l.plots, (i, _) => (s(), T(pt, He({
|
|
589
589
|
plot: { x: i.x, y: ue.value ? i.y : a.value.top },
|
|
590
590
|
radius: h.value && h.value.id === i.id ? G.value * 1.5 : G.value,
|
|
591
591
|
shape: e.value.style.chart.plots.shape,
|
|
@@ -600,17 +600,17 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
600
600
|
style: `transition: all 0.2s ease-in-out; opacity:${h.value ? h.value.id === i.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${z.value ? `transition-delay:${_ * 50}ms` : ""}`,
|
|
601
601
|
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && z.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !z.value }
|
|
602
602
|
}, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
|
|
603
|
-
|
|
604
|
-
(s(!0), u(g, null,
|
|
605
|
-
_ === l.plots.length - 1 || h.value && h.value.id === i.id && !
|
|
603
|
+
d.value.dataLabels.show ? (s(), u("g", Vt, [
|
|
604
|
+
(s(!0), u(g, null, w(l.plots, (i, _) => (s(), u(g, null, [
|
|
605
|
+
_ === l.plots.length - 1 || h.value && h.value.id === i.id && !d.value.showTooltip ? (s(), u("text", {
|
|
606
606
|
key: 0,
|
|
607
607
|
x: i.x,
|
|
608
|
-
y: i.y + e.value.style.chart.labels.bestPlotLabel.offsetY - G.value * (h.value && h.value.id === i.id && !
|
|
608
|
+
y: i.y + e.value.style.chart.labels.bestPlotLabel.offsetY - G.value * (h.value && h.value.id === i.id && !d.value.showTooltip ? 2 : 1.5),
|
|
609
609
|
"font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
|
|
610
610
|
fill: e.value.style.chart.labels.bestPlotLabel.color,
|
|
611
611
|
"text-anchor": "middle",
|
|
612
612
|
style: B(`opacity:${e.value.useCssAnimation && z.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
|
|
613
|
-
},
|
|
613
|
+
}, L(i.name) + " " + L(e.value.style.chart.labels.bestPlotLabel.showValue ? v(le)(
|
|
614
614
|
e.value.style.chart.labels.formatter,
|
|
615
615
|
i.value,
|
|
616
616
|
v(X)({
|
|
@@ -624,12 +624,12 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
624
624
|
], 64))), 256))
|
|
625
625
|
])) : c("", !0)
|
|
626
626
|
], 64))), 256)),
|
|
627
|
-
|
|
627
|
+
y(t.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
628
628
|
], 14, xt)) : c("", !0),
|
|
629
629
|
t.$slots.watermark ? (s(), u("div", Ht, [
|
|
630
|
-
|
|
630
|
+
y(t.$slots, "watermark", M(W({ isPrinting: v(pe) || v(ye) })), void 0, !0)
|
|
631
631
|
])) : c("", !0),
|
|
632
|
-
|
|
632
|
+
C.value ? c("", !0) : (s(), T(dt, {
|
|
633
633
|
key: 6,
|
|
634
634
|
config: {
|
|
635
635
|
type: "stripPlot",
|
|
@@ -647,10 +647,10 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
647
647
|
ref: se,
|
|
648
648
|
dir: "auto"
|
|
649
649
|
}, [
|
|
650
|
-
|
|
650
|
+
y(t.$slots, "source", {}, void 0, !0)
|
|
651
651
|
], 512)) : c("", !0),
|
|
652
652
|
$e(ct, {
|
|
653
|
-
show:
|
|
653
|
+
show: d.value.showTooltip && Y.value,
|
|
654
654
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
655
655
|
color: e.value.style.chart.tooltip.color,
|
|
656
656
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -660,24 +660,24 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
660
660
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
661
661
|
position: e.value.style.chart.tooltip.position,
|
|
662
662
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
663
|
-
parent:
|
|
663
|
+
parent: P.value,
|
|
664
664
|
content: q.value,
|
|
665
665
|
isFullscreen: O.value,
|
|
666
|
-
isCustom: v(
|
|
666
|
+
isCustom: v(Le)(e.value.style.chart.tooltip.customFormat)
|
|
667
667
|
}, {
|
|
668
|
-
"tooltip-before":
|
|
669
|
-
|
|
668
|
+
"tooltip-before": f(() => [
|
|
669
|
+
y(t.$slots, "tooltip-before", M(W({ ...Q.value })), void 0, !0)
|
|
670
670
|
]),
|
|
671
|
-
"tooltip-after":
|
|
672
|
-
|
|
671
|
+
"tooltip-after": f(() => [
|
|
672
|
+
y(t.$slots, "tooltip-after", M(W({ ...Q.value })), void 0, !0)
|
|
673
673
|
]),
|
|
674
674
|
_: 3
|
|
675
675
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
676
|
-
|
|
676
|
+
C.value ? (s(), T(yt, {
|
|
677
677
|
key: 8,
|
|
678
678
|
hideDetails: "",
|
|
679
679
|
config: {
|
|
680
|
-
open:
|
|
680
|
+
open: d.value.showTable,
|
|
681
681
|
maxHeight: 1e4,
|
|
682
682
|
body: {
|
|
683
683
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -689,7 +689,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
689
689
|
}
|
|
690
690
|
}
|
|
691
691
|
}, {
|
|
692
|
-
content:
|
|
692
|
+
content: f(() => [
|
|
693
693
|
(s(), T(ht, {
|
|
694
694
|
key: `table_${ne.value}`,
|
|
695
695
|
colNames: E.value.colNames,
|
|
@@ -697,16 +697,16 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
697
697
|
body: E.value.body,
|
|
698
698
|
config: E.value.config,
|
|
699
699
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
700
|
-
onClose: o[1] || (o[1] = (l) =>
|
|
700
|
+
onClose: o[1] || (o[1] = (l) => d.value.showTable = !1)
|
|
701
701
|
}, {
|
|
702
|
-
th:
|
|
702
|
+
th: f(({ th: l }) => [
|
|
703
703
|
k("div", {
|
|
704
704
|
innerHTML: l,
|
|
705
705
|
style: { display: "flex", "align-items": "center" }
|
|
706
706
|
}, null, 8, Rt)
|
|
707
707
|
]),
|
|
708
|
-
td:
|
|
709
|
-
Re(
|
|
708
|
+
td: f(({ td: l }) => [
|
|
709
|
+
Re(L(l.name || l), 1)
|
|
710
710
|
]),
|
|
711
711
|
_: 1
|
|
712
712
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -715,7 +715,7 @@ const kt = ["id"], xt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
715
715
|
}, 8, ["config"])) : c("", !0)
|
|
716
716
|
], 46, kt));
|
|
717
717
|
}
|
|
718
|
-
}, ul = /* @__PURE__ */ gt(Bt, [["__scopeId", "data-v-
|
|
718
|
+
}, ul = /* @__PURE__ */ gt(Bt, [["__scopeId", "data-v-ae8d5bc3"]]);
|
|
719
719
|
export {
|
|
720
720
|
ul as default
|
|
721
721
|
};
|