vue-data-ui 2.4.3 → 2.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
- package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
- package/dist/PenAndPaper-C-KjtyNA.js +308 -0
- package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
- package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
- package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
- package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
- package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
- package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
- package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
- package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
- package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
- package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
- package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
- package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
- package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
- package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
- package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
- package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
- package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
- package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
- package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
- package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
- package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
- package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
- package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
- package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
- package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
- package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
- package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
- package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
- package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
- package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
- package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
- package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
- package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
- package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { _ as
|
|
10
|
-
import
|
|
11
|
-
import { u as $e } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { _ as
|
|
15
|
-
const
|
|
16
|
-
key:
|
|
1
|
+
import { computed as h, ref as i, watch as Ie, onMounted as Me, onBeforeUnmount as De, openBlock as o, createElementBlock as u, normalizeClass as F, normalizeStyle as Q, createBlock as T, createCommentVNode as v, unref as d, createSlots as Ge, withCtx as f, renderSlot as y, normalizeProps as W, guardReactiveProps as I, createVNode as xe, Fragment as g, renderList as C, createElementVNode as k, toDisplayString as L, mergeProps as Ee, createTextVNode as Ve, nextTick as He } from "vue";
|
|
2
|
+
import { u as Re, c as Z, t as Ue, a as Be, p as A, o as Xe, e as ee, g as Ce, b as je, d as we, v as Ye, C as Je, f as B, X as qe, i as te, l as Ke, h as Qe, x as _e, y as Ze, q as et, r as tt, E as lt } from "./index-C1GB0E49.js";
|
|
3
|
+
import { t as at, u as ot } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as st } from "./Title-W7iJGPjg.js";
|
|
5
|
+
import { u as rt, U as ut } from "./usePrinter-y5uHyknw.js";
|
|
6
|
+
import { _ as nt } from "./Tooltip-Pv3Bhir5.js";
|
|
7
|
+
import { D as it } from "./DataTable-rs_YrvMR.js";
|
|
8
|
+
import vt from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
9
|
+
import { _ as ct } from "./Shape-CBrmBvYy.js";
|
|
10
|
+
import ht from "./vue-ui-accordion-DWyRC3-h.js";
|
|
11
|
+
import { u as $e } from "./useNestedProp-CNAPgW6E.js";
|
|
12
|
+
import { _ as dt } from "./PackageVersion-D9rYHrFZ.js";
|
|
13
|
+
import { P as pt } from "./PenAndPaper-C-KjtyNA.js";
|
|
14
|
+
import { _ as ft } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const yt = ["id"], bt = ["xmlns", "viewBox"], mt = { key: 0 }, gt = { key: 0 }, kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], xt = { key: 1 }, Ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $t = ["x", "y", "fill", "font-size"], Tt = ["x", "y", "font-size", "fill"], Lt = ["fill", "font-size", "transform"], At = ["fill", "font-size", "x", "y"], Pt = ["x1", "x2", "y1", "y2", "stroke"], St = ["cx", "cy", "fill"], zt = ["cx", "cy", "fill"], Nt = ["id"], Ot = ["stop-color"], Ft = ["stop-color"], Wt = ["stop-color"], It = { key: 0 }, Mt = ["x", "y", "font-size", "fill"], Dt = {
|
|
16
|
+
key: 5,
|
|
17
17
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
18
|
+
}, Gt = ["innerHTML"], Et = {
|
|
19
19
|
__name: "vue-ui-strip-plot",
|
|
20
20
|
props: {
|
|
21
21
|
config: {
|
|
@@ -32,44 +32,44 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
emits: ["selectDatapoint"],
|
|
35
|
-
setup(
|
|
36
|
-
const b =
|
|
35
|
+
setup(Te, { expose: Le, emit: Ae }) {
|
|
36
|
+
const b = Te, { vue_ui_strip_plot: Pe } = Re(), w = h({
|
|
37
37
|
get() {
|
|
38
38
|
return !!b.dataset && b.dataset.length;
|
|
39
39
|
},
|
|
40
40
|
set(t) {
|
|
41
41
|
return t;
|
|
42
42
|
}
|
|
43
|
-
}), X =
|
|
43
|
+
}), X = i(Z()), le = i(0), j = i(!1), Y = i(""), P = i(null), ae = i(null), oe = i(null), se = i(null), re = i(!1), ue = i(0), ne = i(0), e = h({
|
|
44
44
|
get: () => ie(),
|
|
45
45
|
set: (t) => t
|
|
46
46
|
});
|
|
47
47
|
function ie() {
|
|
48
48
|
const t = $e({
|
|
49
49
|
userConfig: b.config,
|
|
50
|
-
defaultConfig:
|
|
50
|
+
defaultConfig: Pe
|
|
51
51
|
});
|
|
52
52
|
return t.theme ? {
|
|
53
53
|
...$e({
|
|
54
|
-
userConfig:
|
|
54
|
+
userConfig: Ue.vue_ui_strip_plot[t.theme] || b.config,
|
|
55
55
|
defaultConfig: t
|
|
56
56
|
}),
|
|
57
|
-
customPalette:
|
|
57
|
+
customPalette: Be[t.theme] || A
|
|
58
58
|
} : t;
|
|
59
59
|
}
|
|
60
|
-
|
|
61
|
-
e.value = ie(),
|
|
60
|
+
Ie(() => b.config, (t) => {
|
|
61
|
+
e.value = ie(), ve(), ue.value += 1, ne.value += 1;
|
|
62
62
|
}, { deep: !0 });
|
|
63
|
-
const M =
|
|
64
|
-
|
|
65
|
-
|
|
63
|
+
const M = i(null);
|
|
64
|
+
Me(() => {
|
|
65
|
+
ve();
|
|
66
66
|
});
|
|
67
|
-
function
|
|
68
|
-
if (
|
|
67
|
+
function ve() {
|
|
68
|
+
if (Xe(b.dataset) ? ee({
|
|
69
69
|
componentName: "VueUiStripPlot",
|
|
70
70
|
type: "dataset"
|
|
71
71
|
}) : b.dataset.forEach((t, s) => {
|
|
72
|
-
|
|
72
|
+
Ce({
|
|
73
73
|
datasetObject: t,
|
|
74
74
|
requiredAttributes: ["name", "plots"]
|
|
75
75
|
}).forEach((l) => {
|
|
@@ -80,26 +80,27 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
80
80
|
index: s
|
|
81
81
|
});
|
|
82
82
|
}), t.plots && t.plots.forEach((l, r) => {
|
|
83
|
-
|
|
83
|
+
Ce({
|
|
84
84
|
datasetObject: l,
|
|
85
85
|
requiredAttributes: ["name", "value"]
|
|
86
|
-
}).forEach((
|
|
86
|
+
}).forEach((n) => {
|
|
87
87
|
w.value = !1, ee({
|
|
88
88
|
componentName: "VueUiStripPlot",
|
|
89
89
|
type: "datasetSerieAttribute",
|
|
90
|
-
property:
|
|
90
|
+
property: n,
|
|
91
91
|
index: `${s},${r}`
|
|
92
92
|
});
|
|
93
93
|
});
|
|
94
94
|
});
|
|
95
95
|
}), e.value.responsive) {
|
|
96
|
-
const t =
|
|
97
|
-
const { width: s, height: l } =
|
|
96
|
+
const t = at(() => {
|
|
97
|
+
const { width: s, height: l } = ot({
|
|
98
98
|
chart: P.value,
|
|
99
99
|
title: e.value.style.chart.title.text ? ae.value : null,
|
|
100
|
-
source: oe.value
|
|
100
|
+
source: oe.value,
|
|
101
|
+
noTitle: se.value
|
|
101
102
|
});
|
|
102
|
-
D.value = l, S.value.width = s, S.value.height = l, N.value = (s - m.value.left - m.value.right) / b.dataset.length, G.value =
|
|
103
|
+
D.value = l, S.value.width = s, S.value.height = l, N.value = (s - m.value.left - m.value.right) / b.dataset.length, G.value = lt({
|
|
103
104
|
relator: Math.min(l, s),
|
|
104
105
|
adjuster: 600,
|
|
105
106
|
source: e.value.style.chart.plots.radius,
|
|
@@ -109,31 +110,31 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
109
110
|
});
|
|
110
111
|
M.value = new ResizeObserver(t), M.value.observe(P.value.parentNode);
|
|
111
112
|
}
|
|
112
|
-
|
|
113
|
+
re.value = !0, setTimeout(() => {
|
|
113
114
|
z.value = !1;
|
|
114
|
-
},
|
|
115
|
+
}, ze.value * 50);
|
|
115
116
|
}
|
|
116
|
-
|
|
117
|
+
De(() => {
|
|
117
118
|
M.value && M.value.disconnect();
|
|
118
119
|
});
|
|
119
|
-
const { isPrinting:
|
|
120
|
+
const { isPrinting: ce, isImaging: he, generatePdf: de, generateImage: pe } = rt({
|
|
120
121
|
elementId: `strip-plot_${X.value}`,
|
|
121
122
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
122
|
-
}),
|
|
123
|
+
}), Se = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), fe = h(() => je(e.value.customPalette)), z = i(e.value.useCssAnimation), p = i({
|
|
123
124
|
showTable: e.value.table.show,
|
|
124
125
|
dataLabels: {
|
|
125
126
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
126
127
|
},
|
|
127
128
|
showTooltip: e.value.style.chart.tooltip.show
|
|
128
|
-
}), m =
|
|
129
|
+
}), m = i({
|
|
129
130
|
top: e.value.style.chart.padding.top,
|
|
130
131
|
bottom: e.value.style.chart.padding.bottom,
|
|
131
132
|
left: e.value.style.chart.padding.left,
|
|
132
133
|
right: e.value.style.chart.padding.right
|
|
133
|
-
}), N =
|
|
134
|
+
}), N = i(e.value.style.chart.stripWidth), D = i(e.value.style.chart.height), G = i(e.value.style.chart.plots.radius), S = i({
|
|
134
135
|
width: N.value * b.dataset.length + m.value.left + m.value.right,
|
|
135
136
|
height: e.value.style.chart.height
|
|
136
|
-
}), a =
|
|
137
|
+
}), a = h(() => {
|
|
137
138
|
const t = N.value * b.dataset.length + m.value.left + m.value.right;
|
|
138
139
|
return {
|
|
139
140
|
left: m.value.left,
|
|
@@ -146,48 +147,48 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
146
147
|
absoluteHeight: D.value,
|
|
147
148
|
absoluteWidth: t
|
|
148
149
|
};
|
|
149
|
-
}), E =
|
|
150
|
+
}), E = h(() => w.value ? b.dataset.map((t, s) => {
|
|
150
151
|
const l = Z();
|
|
151
152
|
return {
|
|
152
153
|
...t,
|
|
153
154
|
id: l,
|
|
154
|
-
color: t.color ?
|
|
155
|
+
color: t.color ? we(t.color) : fe.value[s] || A[s] || A[s % A.length],
|
|
155
156
|
plots: t.plots.map((r) => ({
|
|
156
157
|
...r,
|
|
157
|
-
value:
|
|
158
|
+
value: Ye(r.value),
|
|
158
159
|
parentId: l,
|
|
159
|
-
color: t.color ?
|
|
160
|
+
color: t.color ? we(t.color) : fe.value[s] || A[s] || A[s % A.length],
|
|
160
161
|
id: Z()
|
|
161
|
-
})).sort((r,
|
|
162
|
+
})).sort((r, n) => r.value - n.value)
|
|
162
163
|
};
|
|
163
|
-
}) : null), x =
|
|
164
|
+
}) : null), x = h(() => (E.value || []).map((t, s) => ({
|
|
164
165
|
...t,
|
|
165
166
|
plots: t.plots.map((l) => ({
|
|
166
167
|
...l,
|
|
167
168
|
x: a.value.left + (s + 1) * a.value.stripWidth - a.value.stripWidth / 2
|
|
168
169
|
}))
|
|
169
|
-
}))),
|
|
170
|
+
}))), ze = h(() => Math.max(...x.value.map((t) => t.plots.length))), J = h(() => {
|
|
170
171
|
const t = x.value.flatMap((s) => s.plots.map((l) => l.value));
|
|
171
172
|
return {
|
|
172
173
|
max: Math.max(...t),
|
|
173
174
|
min: Math.min(...t)
|
|
174
175
|
};
|
|
175
|
-
}),
|
|
176
|
+
}), _ = h(() => Je(J.value.min < 0 ? J.value.min : 0, J.value.max, e.value.style.chart.grid.scaleSteps)), Ne = h(() => (x.value || []).map((t, s) => ({
|
|
176
177
|
...t,
|
|
177
178
|
plots: t.plots.map((l) => ({
|
|
178
179
|
...l,
|
|
179
|
-
y: a.value.bottom - (l.value + Math.abs(
|
|
180
|
+
y: a.value.bottom - (l.value + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min)) * a.value.height
|
|
180
181
|
}))
|
|
181
|
-
}))),
|
|
182
|
-
y: a.value.bottom - a.value.height * ((t + Math.abs(
|
|
182
|
+
}))), ye = h(() => _.value.ticks.map((t) => ({
|
|
183
|
+
y: a.value.bottom - a.value.height * ((t + Math.abs(_.value.min)) / (_.value.max + Math.abs(_.value.min))),
|
|
183
184
|
x1: a.value.left,
|
|
184
185
|
x2: a.value.right,
|
|
185
186
|
value: t
|
|
186
|
-
}))), q =
|
|
187
|
-
function
|
|
188
|
-
q.value = { datapoint: t, seriesIndex: s, config: e.value, series: E.value }, j.value = !0,
|
|
187
|
+
}))), q = i(null), c = i(null);
|
|
188
|
+
function Oe({ datapoint: t, seriesIndex: s }) {
|
|
189
|
+
q.value = { datapoint: t, seriesIndex: s, config: e.value, series: E.value }, j.value = !0, c.value = t;
|
|
189
190
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
190
|
-
if (
|
|
191
|
+
if (_e(l) && Ze(() => l({
|
|
191
192
|
seriesIndex: s,
|
|
192
193
|
datapoint: t,
|
|
193
194
|
series: E.value,
|
|
@@ -214,36 +215,36 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
214
215
|
)}</div>`, Y.value = `<div>${r}</div>`;
|
|
215
216
|
}
|
|
216
217
|
}
|
|
217
|
-
const V =
|
|
218
|
-
const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r,
|
|
218
|
+
const V = h(() => {
|
|
219
|
+
const t = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, n) => n.value - r.value).map((r) => ({
|
|
219
220
|
name: `${l.name} - ${r.name}`,
|
|
220
221
|
color: r.color
|
|
221
|
-
}))), s = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r,
|
|
222
|
+
}))), s = x.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((r, n) => n.value - r.value).map((r) => r.value));
|
|
222
223
|
return { head: t, body: s };
|
|
223
224
|
});
|
|
224
|
-
function
|
|
225
|
-
|
|
226
|
-
const t = V.value.head.map((r,
|
|
225
|
+
function be() {
|
|
226
|
+
He(() => {
|
|
227
|
+
const t = V.value.head.map((r, n) => [[
|
|
227
228
|
r.name
|
|
228
|
-
], [V.value.body[
|
|
229
|
-
|
|
229
|
+
], [V.value.body[n]]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(t), l = et(s);
|
|
230
|
+
tt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
230
231
|
});
|
|
231
232
|
}
|
|
232
|
-
const H =
|
|
233
|
+
const H = h(() => {
|
|
233
234
|
const t = [
|
|
234
235
|
e.value.table.columnNames.series,
|
|
235
236
|
e.value.table.columnNames.value
|
|
236
|
-
], s = V.value.head.map((
|
|
237
|
+
], s = V.value.head.map((n, $) => {
|
|
237
238
|
const U = B({
|
|
238
239
|
p: e.value.style.chart.labels.prefix,
|
|
239
|
-
v: V.value.body[
|
|
240
|
+
v: V.value.body[$],
|
|
240
241
|
s: e.value.style.chart.labels.suffix,
|
|
241
242
|
r: e.value.table.td.roundingValue
|
|
242
243
|
});
|
|
243
244
|
return [
|
|
244
245
|
{
|
|
245
|
-
color:
|
|
246
|
-
name:
|
|
246
|
+
color: n.color,
|
|
247
|
+
name: n.name
|
|
247
248
|
},
|
|
248
249
|
U
|
|
249
250
|
];
|
|
@@ -269,58 +270,65 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
269
270
|
body: s,
|
|
270
271
|
config: l
|
|
271
272
|
};
|
|
272
|
-
}), O =
|
|
273
|
-
function
|
|
273
|
+
}), O = i(!1);
|
|
274
|
+
function Fe(t) {
|
|
274
275
|
O.value = t, le.value += 1;
|
|
275
276
|
}
|
|
276
|
-
function
|
|
277
|
+
function We() {
|
|
277
278
|
return x.value;
|
|
278
279
|
}
|
|
279
|
-
function be() {
|
|
280
|
-
h.value.showTable = !h.value.showTable;
|
|
281
|
-
}
|
|
282
280
|
function me() {
|
|
283
|
-
|
|
281
|
+
p.value.showTable = !p.value.showTable;
|
|
284
282
|
}
|
|
285
283
|
function ge() {
|
|
286
|
-
|
|
284
|
+
p.value.dataLabels.show = !p.value.dataLabels.show;
|
|
287
285
|
}
|
|
288
|
-
|
|
286
|
+
function ke() {
|
|
287
|
+
p.value.showTooltip = !p.value.showTooltip;
|
|
288
|
+
}
|
|
289
|
+
const R = i(!1);
|
|
289
290
|
function K() {
|
|
290
291
|
R.value = !R.value;
|
|
291
292
|
}
|
|
292
|
-
return
|
|
293
|
-
getData:
|
|
293
|
+
return Le({
|
|
294
|
+
getData: We,
|
|
294
295
|
generatePdf: de,
|
|
295
|
-
generateCsv:
|
|
296
|
-
generateImage:
|
|
297
|
-
toggleTable:
|
|
298
|
-
toggleLabels:
|
|
299
|
-
toggleTooltip:
|
|
296
|
+
generateCsv: be,
|
|
297
|
+
generateImage: pe,
|
|
298
|
+
toggleTable: me,
|
|
299
|
+
toggleLabels: ge,
|
|
300
|
+
toggleTooltip: ke,
|
|
300
301
|
toggleAnnotator: K
|
|
301
|
-
}), (t, s) => (o(),
|
|
302
|
+
}), (t, s) => (o(), u("div", {
|
|
302
303
|
ref_key: "stripPlotChart",
|
|
303
304
|
ref: P,
|
|
304
305
|
class: F(`vue-ui-strip-plot ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
305
|
-
style: Q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center
|
|
306
|
+
style: Q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
306
307
|
id: `strip-plot_${X.value}`
|
|
307
308
|
}, [
|
|
308
|
-
e.value.userOptions.buttons.annotator ? (o(), T(
|
|
309
|
+
e.value.userOptions.buttons.annotator ? (o(), T(pt, {
|
|
309
310
|
key: 0,
|
|
310
311
|
parent: P.value,
|
|
311
312
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
312
313
|
color: e.value.style.chart.color,
|
|
313
314
|
active: R.value,
|
|
314
315
|
onClose: K
|
|
315
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
316
|
-
|
|
316
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
|
|
317
|
+
Se.value ? (o(), u("div", {
|
|
317
318
|
key: 1,
|
|
319
|
+
ref_key: "noTitle",
|
|
320
|
+
ref: se,
|
|
321
|
+
class: "vue-data-ui-no-title-space",
|
|
322
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
323
|
+
}, null, 512)) : v("", !0),
|
|
324
|
+
e.value.style.chart.title.text ? (o(), u("div", {
|
|
325
|
+
key: 2,
|
|
318
326
|
ref_key: "chartTitle",
|
|
319
327
|
ref: ae,
|
|
320
328
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
321
329
|
}, [
|
|
322
|
-
(o(), T(
|
|
323
|
-
key: `title_${
|
|
330
|
+
(o(), T(st, {
|
|
331
|
+
key: `title_${ue.value}`,
|
|
324
332
|
config: {
|
|
325
333
|
title: {
|
|
326
334
|
cy: "donut-div-title",
|
|
@@ -332,14 +340,14 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
332
340
|
}
|
|
333
341
|
}
|
|
334
342
|
}, null, 8, ["config"]))
|
|
335
|
-
], 512)) :
|
|
336
|
-
e.value.userOptions.show && w.value ? (o(), T(
|
|
343
|
+
], 512)) : v("", !0),
|
|
344
|
+
e.value.userOptions.show && w.value ? (o(), T(ut, {
|
|
337
345
|
ref: "details",
|
|
338
346
|
key: `user_option_${le.value}`,
|
|
339
347
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
340
348
|
color: e.value.style.chart.color,
|
|
341
|
-
isPrinting: d(
|
|
342
|
-
isImaging: d(
|
|
349
|
+
isPrinting: d(ce),
|
|
350
|
+
isImaging: d(he),
|
|
343
351
|
uid: X.value,
|
|
344
352
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
345
353
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -348,22 +356,22 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
348
356
|
hasTable: e.value.userOptions.buttons.table,
|
|
349
357
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
350
358
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
351
|
-
isTooltip:
|
|
359
|
+
isTooltip: p.value.showTooltip,
|
|
352
360
|
isFullscreen: O.value,
|
|
353
361
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
354
362
|
chartElement: P.value,
|
|
355
363
|
position: e.value.userOptions.position,
|
|
356
364
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
357
365
|
isAnnotation: R.value,
|
|
358
|
-
onToggleFullscreen:
|
|
366
|
+
onToggleFullscreen: Fe,
|
|
359
367
|
onGeneratePdf: d(de),
|
|
360
|
-
onGenerateCsv:
|
|
361
|
-
onGenerateImage: d(
|
|
362
|
-
onToggleTable:
|
|
363
|
-
onToggleLabels:
|
|
364
|
-
onToggleTooltip:
|
|
368
|
+
onGenerateCsv: be,
|
|
369
|
+
onGenerateImage: d(pe),
|
|
370
|
+
onToggleTable: me,
|
|
371
|
+
onToggleLabels: ge,
|
|
372
|
+
onToggleTooltip: ke,
|
|
365
373
|
onToggleAnnotator: K
|
|
366
|
-
},
|
|
374
|
+
}, Ge({ _: 2 }, [
|
|
367
375
|
t.$slots.optionTooltip ? {
|
|
368
376
|
name: "optionTooltip",
|
|
369
377
|
fn: f(() => [
|
|
@@ -420,18 +428,18 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
420
428
|
]),
|
|
421
429
|
key: "7"
|
|
422
430
|
} : void 0
|
|
423
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
424
|
-
w.value ? (o(),
|
|
425
|
-
key:
|
|
426
|
-
xmlns: d(
|
|
431
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
|
|
432
|
+
w.value ? (o(), u("svg", {
|
|
433
|
+
key: 4,
|
|
434
|
+
xmlns: d(qe),
|
|
427
435
|
class: F({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
428
436
|
viewBox: `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`,
|
|
429
437
|
style: Q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
430
438
|
}, [
|
|
431
|
-
|
|
432
|
-
e.value.style.chart.grid.show ? (o(),
|
|
433
|
-
e.value.style.chart.grid.horizontalGrid.show ? (o(),
|
|
434
|
-
(o(!0),
|
|
439
|
+
xe(dt),
|
|
440
|
+
e.value.style.chart.grid.show ? (o(), u("g", mt, [
|
|
441
|
+
e.value.style.chart.grid.horizontalGrid.show ? (o(), u("g", gt, [
|
|
442
|
+
(o(!0), u(g, null, C(ye.value, (l) => (o(), u("line", {
|
|
435
443
|
x1: l.x1,
|
|
436
444
|
x2: l.x2,
|
|
437
445
|
y1: l.y,
|
|
@@ -440,10 +448,10 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
440
448
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
441
449
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
|
|
442
450
|
"stroke-linecap": "round"
|
|
443
|
-
}, null, 8,
|
|
444
|
-
])) :
|
|
445
|
-
e.value.style.chart.grid.verticalGrid.show ? (o(),
|
|
446
|
-
(o(!0),
|
|
451
|
+
}, null, 8, kt))), 256))
|
|
452
|
+
])) : v("", !0),
|
|
453
|
+
e.value.style.chart.grid.verticalGrid.show ? (o(), u("g", xt, [
|
|
454
|
+
(o(!0), u(g, null, C(x.value, (l, r) => (o(), u("line", {
|
|
447
455
|
x1: a.value.left + (r + 1) * a.value.stripWidth,
|
|
448
456
|
x2: a.value.left + (r + 1) * a.value.stripWidth,
|
|
449
457
|
y1: a.value.top,
|
|
@@ -452,8 +460,8 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
452
460
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
453
461
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
454
462
|
"stroke-linecap": "round"
|
|
455
|
-
}, null, 8,
|
|
456
|
-
])) :
|
|
463
|
+
}, null, 8, Ct))), 256))
|
|
464
|
+
])) : v("", !0),
|
|
457
465
|
k("line", {
|
|
458
466
|
x1: a.value.left,
|
|
459
467
|
x2: a.value.left,
|
|
@@ -462,7 +470,7 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
462
470
|
stroke: e.value.style.chart.grid.stroke,
|
|
463
471
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
464
472
|
"stroke-linecap": "round"
|
|
465
|
-
}, null, 8,
|
|
473
|
+
}, null, 8, wt),
|
|
466
474
|
k("line", {
|
|
467
475
|
x1: a.value.left,
|
|
468
476
|
x2: a.value.right,
|
|
@@ -471,9 +479,9 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
471
479
|
stroke: e.value.style.chart.grid.stroke,
|
|
472
480
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
473
481
|
"stroke-linecap": "round"
|
|
474
|
-
}, null, 8,
|
|
475
|
-
])) :
|
|
476
|
-
e.value.style.chart.labels.yAxisLabels.show ? (o(!0),
|
|
482
|
+
}, null, 8, _t)
|
|
483
|
+
])) : v("", !0),
|
|
484
|
+
e.value.style.chart.labels.yAxisLabels.show ? (o(!0), u(g, { key: 1 }, C(ye.value, (l, r) => (o(), u("text", {
|
|
477
485
|
x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
478
486
|
y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
479
487
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
@@ -489,120 +497,120 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
489
497
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
490
498
|
}),
|
|
491
499
|
{ datapoint: l, seriesIndex: r }
|
|
492
|
-
)), 9,
|
|
493
|
-
e.value.style.chart.labels.xAxisLabels.show ? (o(!0),
|
|
500
|
+
)), 9, $t))), 256)) : v("", !0),
|
|
501
|
+
e.value.style.chart.labels.xAxisLabels.show ? (o(!0), u(g, { key: 2 }, C(x.value, (l, r) => (o(), u("text", {
|
|
494
502
|
x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
|
|
495
503
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
496
504
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
497
505
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
498
506
|
"text-anchor": "middle"
|
|
499
|
-
}, L(l.name), 9,
|
|
500
|
-
e.value.style.chart.labels.axis.yLabel ? (o(),
|
|
507
|
+
}, L(l.name), 9, Tt))), 256)) : v("", !0),
|
|
508
|
+
e.value.style.chart.labels.axis.yLabel ? (o(), u("text", {
|
|
501
509
|
key: 3,
|
|
502
510
|
fill: e.value.style.chart.labels.axis.color,
|
|
503
511
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
504
512
|
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)`,
|
|
505
513
|
"text-anchor": "middle"
|
|
506
|
-
}, L(e.value.style.chart.labels.axis.yLabel), 9,
|
|
507
|
-
e.value.style.chart.labels.axis.xLabel ? (o(),
|
|
514
|
+
}, L(e.value.style.chart.labels.axis.yLabel), 9, Lt)) : v("", !0),
|
|
515
|
+
e.value.style.chart.labels.axis.xLabel ? (o(), u("text", {
|
|
508
516
|
key: 4,
|
|
509
517
|
fill: e.value.style.chart.labels.axis.color,
|
|
510
518
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
511
519
|
x: a.value.left + a.value.width / 2,
|
|
512
520
|
y: a.value.absoluteHeight,
|
|
513
521
|
"text-anchor": "middle"
|
|
514
|
-
}, L(e.value.style.chart.labels.axis.xLabel), 9,
|
|
515
|
-
|
|
522
|
+
}, L(e.value.style.chart.labels.axis.xLabel), 9, At)) : v("", !0),
|
|
523
|
+
c.value ? (o(), u(g, { key: 5 }, [
|
|
516
524
|
k("line", {
|
|
517
525
|
x1: a.value.left,
|
|
518
526
|
x2: a.value.right,
|
|
519
|
-
y1:
|
|
520
|
-
y2:
|
|
521
|
-
stroke:
|
|
527
|
+
y1: c.value.y,
|
|
528
|
+
y2: c.value.y,
|
|
529
|
+
stroke: c.value.color,
|
|
522
530
|
"stroke-width": 1,
|
|
523
531
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
524
|
-
}, null, 10,
|
|
532
|
+
}, null, 10, Pt),
|
|
525
533
|
k("circle", {
|
|
526
534
|
cx: a.value.left,
|
|
527
|
-
cy:
|
|
535
|
+
cy: c.value.y,
|
|
528
536
|
r: 3,
|
|
529
|
-
fill:
|
|
537
|
+
fill: c.value.color,
|
|
530
538
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
531
|
-
}, null, 10,
|
|
539
|
+
}, null, 10, St),
|
|
532
540
|
k("circle", {
|
|
533
541
|
cx: a.value.right,
|
|
534
|
-
cy:
|
|
542
|
+
cy: c.value.y,
|
|
535
543
|
r: 3,
|
|
536
|
-
fill:
|
|
544
|
+
fill: c.value.color,
|
|
537
545
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
538
|
-
}, null, 10,
|
|
539
|
-
], 64)) :
|
|
546
|
+
}, null, 10, zt)
|
|
547
|
+
], 64)) : v("", !0),
|
|
540
548
|
k("defs", null, [
|
|
541
|
-
(o(!0),
|
|
549
|
+
(o(!0), u(g, null, C(x.value, (l) => (o(), u("radialGradient", {
|
|
542
550
|
id: l.id,
|
|
543
551
|
fy: "30%"
|
|
544
552
|
}, [
|
|
545
553
|
k("stop", {
|
|
546
554
|
offset: "10%",
|
|
547
|
-
"stop-color": d(
|
|
548
|
-
}, null, 8,
|
|
555
|
+
"stop-color": d(Ke)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
556
|
+
}, null, 8, Ot),
|
|
549
557
|
k("stop", {
|
|
550
558
|
offset: "90%",
|
|
551
|
-
"stop-color": d(
|
|
552
|
-
}, null, 8,
|
|
559
|
+
"stop-color": d(Qe)(l.color, 0.1)
|
|
560
|
+
}, null, 8, Ft),
|
|
553
561
|
k("stop", {
|
|
554
562
|
offset: "100%",
|
|
555
563
|
"stop-color": l.color
|
|
556
|
-
}, null, 8,
|
|
557
|
-
], 8,
|
|
564
|
+
}, null, 8, Wt)
|
|
565
|
+
], 8, Nt))), 256))
|
|
558
566
|
]),
|
|
559
|
-
(o(!0),
|
|
560
|
-
(o(!0),
|
|
561
|
-
plot: { x:
|
|
562
|
-
radius:
|
|
567
|
+
(o(!0), u(g, null, C(Ne.value, (l, r) => (o(), u(g, null, [
|
|
568
|
+
(o(!0), u(g, null, C(l.plots, (n, $) => (o(), T(ct, Ee({
|
|
569
|
+
plot: { x: n.x, y: re.value ? n.y : a.value.top },
|
|
570
|
+
radius: c.value && c.value.id === n.id ? G.value * 1.5 : G.value,
|
|
563
571
|
shape: e.value.style.chart.plots.shape,
|
|
564
572
|
stroke: e.value.style.chart.plots.stroke,
|
|
565
573
|
strokeWidth: e.value.style.chart.plots.strokeWidth,
|
|
566
574
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
567
|
-
onMouseenter: (U) =>
|
|
575
|
+
onMouseenter: (U) => Oe({ datapoint: n, seriesIndex: $ }),
|
|
568
576
|
onMouseleave: s[0] || (s[0] = (U) => {
|
|
569
|
-
j.value = !1,
|
|
577
|
+
j.value = !1, c.value = null;
|
|
570
578
|
}),
|
|
571
|
-
onClick: (U) =>
|
|
572
|
-
style: `transition: all 0.2s ease-in-out; opacity:${
|
|
579
|
+
onClick: (U) => Ae("selectDatapoint", n),
|
|
580
|
+
style: `transition: all 0.2s ease-in-out; opacity:${c.value ? c.value.id === n.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${z.value ? `transition-delay:${$ * 50}ms` : ""}`,
|
|
573
581
|
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && z.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !z.value }
|
|
574
582
|
}, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
|
|
575
|
-
|
|
576
|
-
(o(!0),
|
|
577
|
-
|
|
583
|
+
p.value.dataLabels.show ? (o(), u("g", It, [
|
|
584
|
+
(o(!0), u(g, null, C(l.plots, (n, $) => (o(), u(g, null, [
|
|
585
|
+
$ === l.plots.length - 1 || c.value && c.value.id === n.id && !p.value.showTooltip ? (o(), u("text", {
|
|
578
586
|
key: 0,
|
|
579
|
-
x:
|
|
580
|
-
y:
|
|
587
|
+
x: n.x,
|
|
588
|
+
y: n.y + e.value.style.chart.labels.bestPlotLabel.offsetY - G.value * (c.value && c.value.id === n.id && !p.value.showTooltip ? 2 : 1.5),
|
|
581
589
|
"font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
|
|
582
590
|
fill: e.value.style.chart.labels.bestPlotLabel.color,
|
|
583
591
|
"text-anchor": "middle",
|
|
584
592
|
style: Q(`opacity:${e.value.useCssAnimation && z.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
|
|
585
|
-
}, L(
|
|
593
|
+
}, L(n.name) + " " + L(e.value.style.chart.labels.bestPlotLabel.showValue ? d(te)(
|
|
586
594
|
e.value.style.chart.labels.formatter,
|
|
587
|
-
|
|
595
|
+
n.value,
|
|
588
596
|
d(B)({
|
|
589
597
|
p: `(${e.value.style.chart.labels.prefix}`,
|
|
590
|
-
v:
|
|
598
|
+
v: n.value,
|
|
591
599
|
s: `${e.value.style.chart.labels.suffix})`,
|
|
592
600
|
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
593
601
|
}),
|
|
594
|
-
{ datapoint:
|
|
595
|
-
) : ""), 13,
|
|
602
|
+
{ datapoint: n, seriesIndex: $ }
|
|
603
|
+
) : ""), 13, Mt)) : v("", !0)
|
|
596
604
|
], 64))), 256))
|
|
597
|
-
])) :
|
|
605
|
+
])) : v("", !0)
|
|
598
606
|
], 64))), 256)),
|
|
599
607
|
y(t.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
600
|
-
], 14,
|
|
601
|
-
t.$slots.watermark ? (o(),
|
|
602
|
-
y(t.$slots, "watermark", W(I({ isPrinting: d(
|
|
603
|
-
])) :
|
|
604
|
-
w.value ?
|
|
605
|
-
key:
|
|
608
|
+
], 14, bt)) : v("", !0),
|
|
609
|
+
t.$slots.watermark ? (o(), u("div", Dt, [
|
|
610
|
+
y(t.$slots, "watermark", W(I({ isPrinting: d(ce) || d(he) })), void 0, !0)
|
|
611
|
+
])) : v("", !0),
|
|
612
|
+
w.value ? v("", !0) : (o(), T(vt, {
|
|
613
|
+
key: 6,
|
|
606
614
|
config: {
|
|
607
615
|
type: "stripPlot",
|
|
608
616
|
style: {
|
|
@@ -613,16 +621,16 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
613
621
|
}
|
|
614
622
|
}
|
|
615
623
|
}, null, 8, ["config"])),
|
|
616
|
-
t.$slots.source ? (o(),
|
|
617
|
-
key:
|
|
624
|
+
t.$slots.source ? (o(), u("div", {
|
|
625
|
+
key: 7,
|
|
618
626
|
ref_key: "source",
|
|
619
627
|
ref: oe,
|
|
620
628
|
dir: "auto"
|
|
621
629
|
}, [
|
|
622
630
|
y(t.$slots, "source", {}, void 0, !0)
|
|
623
|
-
], 512)) :
|
|
624
|
-
|
|
625
|
-
show:
|
|
631
|
+
], 512)) : v("", !0),
|
|
632
|
+
xe(nt, {
|
|
633
|
+
show: p.value.showTooltip && j.value,
|
|
626
634
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
627
635
|
color: e.value.style.chart.tooltip.color,
|
|
628
636
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -634,7 +642,7 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
634
642
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
635
643
|
parent: P.value,
|
|
636
644
|
content: Y.value,
|
|
637
|
-
isCustom: d(
|
|
645
|
+
isCustom: d(_e)(e.value.style.chart.tooltip.customFormat)
|
|
638
646
|
}, {
|
|
639
647
|
"tooltip-before": f(() => [
|
|
640
648
|
y(t.$slots, "tooltip-before", W(I({ ...q.value })), void 0, !0)
|
|
@@ -644,11 +652,11 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
644
652
|
]),
|
|
645
653
|
_: 3
|
|
646
654
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
647
|
-
w.value ? (o(), T(
|
|
648
|
-
key:
|
|
655
|
+
w.value ? (o(), T(ht, {
|
|
656
|
+
key: 8,
|
|
649
657
|
hideDetails: "",
|
|
650
658
|
config: {
|
|
651
|
-
open:
|
|
659
|
+
open: p.value.showTable,
|
|
652
660
|
maxHeight: 1e4,
|
|
653
661
|
body: {
|
|
654
662
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -661,32 +669,32 @@ const pt = ["id"], ft = ["xmlns", "viewBox"], yt = { key: 0 }, bt = { key: 0 },
|
|
|
661
669
|
}
|
|
662
670
|
}, {
|
|
663
671
|
content: f(() => [
|
|
664
|
-
(o(), T(
|
|
665
|
-
key: `table_${
|
|
672
|
+
(o(), T(it, {
|
|
673
|
+
key: `table_${ne.value}`,
|
|
666
674
|
colNames: H.value.colNames,
|
|
667
675
|
head: H.value.head,
|
|
668
676
|
body: H.value.body,
|
|
669
677
|
config: H.value.config,
|
|
670
678
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
671
|
-
onClose: s[1] || (s[1] = (l) =>
|
|
679
|
+
onClose: s[1] || (s[1] = (l) => p.value.showTable = !1)
|
|
672
680
|
}, {
|
|
673
681
|
th: f(({ th: l }) => [
|
|
674
682
|
k("div", {
|
|
675
683
|
innerHTML: l,
|
|
676
684
|
style: { display: "flex", "align-items": "center" }
|
|
677
|
-
}, null, 8,
|
|
685
|
+
}, null, 8, Gt)
|
|
678
686
|
]),
|
|
679
687
|
td: f(({ td: l }) => [
|
|
680
|
-
|
|
688
|
+
Ve(L(l.name || l), 1)
|
|
681
689
|
]),
|
|
682
690
|
_: 1
|
|
683
691
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
684
692
|
]),
|
|
685
693
|
_: 1
|
|
686
|
-
}, 8, ["config"])) :
|
|
687
|
-
], 14,
|
|
694
|
+
}, 8, ["config"])) : v("", !0)
|
|
695
|
+
], 14, yt));
|
|
688
696
|
}
|
|
689
|
-
},
|
|
697
|
+
}, tl = /* @__PURE__ */ ft(Et, [["__scopeId", "data-v-1a3e0788"]]);
|
|
690
698
|
export {
|
|
691
|
-
|
|
699
|
+
tl as default
|
|
692
700
|
};
|