vue-data-ui 2.6.5 → 2.6.7
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-DfGZcZu4.js → Arrow-BxUmDF04.js} +1 -1
- package/dist/{Arrow-CyeGXbbD.cjs → Arrow-PPbxds1Q.cjs} +1 -1
- package/dist/{BaseIcon-B5DvqSYe.cjs → BaseIcon-BmVwfJg2.cjs} +1 -1
- package/dist/{BaseIcon-BzuvxztF.js → BaseIcon-CDx9pxUG.js} +1 -1
- package/dist/{DataTable-zpYtivMM.cjs → DataTable-Cv_TVAas.cjs} +1 -1
- package/dist/{DataTable-BCCBpyhr.js → DataTable-TjJIVFlL.js} +2 -2
- package/dist/{Legend-CJkkmRNE.cjs → Legend-DunrYGuw.cjs} +1 -1
- package/dist/{Legend-CyJrN721.js → Legend-NKGwxkI7.js} +2 -2
- package/dist/{PackageVersion-Dv25_ZxF.cjs → PackageVersion-DJKkRuOD.cjs} +1 -1
- package/dist/{PackageVersion-PZr4BkQ5.js → PackageVersion-QRvxRYPv.js} +1 -1
- package/dist/{PenAndPaper-Cniu2YEX.js → PenAndPaper-CxC1lWGK.js} +3 -3
- package/dist/{PenAndPaper-Cx3_Liuv.cjs → PenAndPaper-MTTJ3Gd9.cjs} +1 -1
- package/dist/{Shape-BXTmpde5.js → Shape-58uyOuYc.js} +26 -23
- package/dist/Shape-D_1vUjCL.cjs +1 -0
- package/dist/{Slicer-DzKrIvL0.cjs → Slicer-BGEieXKn.cjs} +1 -1
- package/dist/{Slicer-D3tEQT9Z.js → Slicer-C7ormJRw.js} +2 -2
- package/dist/{Title-CXBc1TH6.js → Title-BI8etrRU.js} +1 -1
- package/dist/{Title-DdUtciJN.cjs → Title-Dk92HYMu.cjs} +1 -1
- package/dist/Tooltip-ClMeqejQ.cjs +1 -0
- package/dist/{Tooltip-C9lPh5bN.js → Tooltip-Cxc8c50d.js} +23 -20
- package/dist/{index-DLCyjPV0.js → index-9EeNZMz1.js} +6 -1
- package/dist/index-DEnRHTzk.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +89 -62
- package/dist/types/vue-data-ui.d.ts +89 -62
- package/dist/useChartAccessibility-BWojgys7.js +13 -0
- package/dist/useChartAccessibility-Cm7nkzTG.cjs +1 -0
- package/dist/{useNestedProp-BdTohsDJ.cjs → useNestedProp-BNT60LxO.cjs} +1 -1
- package/dist/{useNestedProp-q86V3_LA.js → useNestedProp-df_bKQEI.js} +1 -1
- package/dist/{usePrinter-CPqTP09H.cjs → usePrinter-dyVny55M.cjs} +1 -1
- package/dist/{usePrinter-CpHZjw3G.js → usePrinter-ngrh00Ym.js} +1 -1
- package/dist/{vue-data-ui-CR9Dof80.cjs → vue-data-ui-BYX-I7HQ.cjs} +1 -1
- package/dist/{vue-data-ui-CzqznXmA.js → vue-data-ui-CDD7JcMs.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DvHdA_uo.js → vue-ui-3d-bar-BArLjlrc.js} +171 -168
- package/dist/vue-ui-3d-bar-DegdXf_S.cjs +19 -0
- package/dist/{vue-ui-accordion-FM16tlk7.cjs → vue-ui-accordion-D2qxHGzp.cjs} +1 -1
- package/dist/{vue-ui-accordion-DR2qjfsa.js → vue-ui-accordion-Qo8JxnIN.js} +3 -3
- package/dist/{vue-ui-age-pyramid-BoXxK9_W.js → vue-ui-age-pyramid-Biz02m7c.js} +85 -82
- package/dist/vue-ui-age-pyramid-kpaaJ2Gx.cjs +1 -0
- package/dist/{vue-ui-annotator-5tI8NuFh.cjs → vue-ui-annotator-By6XNYm0.cjs} +1 -1
- package/dist/{vue-ui-annotator-D4kCCpAK.js → vue-ui-annotator-MXs48Lua.js} +1 -1
- package/dist/{vue-ui-bullet-X3Xa_OZ6.js → vue-ui-bullet-CtBs_r3I.js} +92 -89
- package/dist/vue-ui-bullet-Dkz6vX0T.cjs +34 -0
- package/dist/vue-ui-candlestick-DiEUIuW8.cjs +2 -0
- package/dist/{vue-ui-candlestick-BTW5toA5.js → vue-ui-candlestick-gPztmuJE.js} +155 -152
- package/dist/{vue-ui-carousel-table-Cmnwv9Y3.cjs → vue-ui-carousel-table-CYeXP21y.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-D7s_SrJR.js → vue-ui-carousel-table-D9ckYNKZ.js} +4 -4
- package/dist/{vue-ui-chestnut-DN9EZShg.js → vue-ui-chestnut-DWjn-jcN.js} +186 -183
- package/dist/vue-ui-chestnut-oZtRERnV.cjs +6 -0
- package/dist/{vue-ui-circle-pack-ts3rurGX.js → vue-ui-circle-pack-Bz5yVvAM.js} +99 -96
- package/dist/vue-ui-circle-pack-DCJ6N00S.cjs +1 -0
- package/dist/{vue-ui-cursor-SW96fYT3.js → vue-ui-cursor-BrrVDy1u.js} +2 -2
- package/dist/{vue-ui-cursor-CpWkrHpR.cjs → vue-ui-cursor-DZhRygRy.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BZcfgajg.js → vue-ui-dashboard-DEmGN8Js.js} +2 -2
- package/dist/{vue-ui-dashboard-Buh9xBz-.cjs → vue-ui-dashboard-o8Ju_cXW.cjs} +1 -1
- package/dist/{vue-ui-digits-rB78vJRR.cjs → vue-ui-digits-CgyYdrQ5.cjs} +1 -1
- package/dist/{vue-ui-digits-C00yOT24.js → vue-ui-digits-DbOrROu7.js} +2 -2
- package/dist/vue-ui-donut-9pWaRwf3.cjs +1 -0
- package/dist/{vue-ui-donut-BkGR2Q-_.js → vue-ui-donut-CP5uWglM.js} +158 -156
- package/dist/{vue-ui-donut-evolution-B7WrjiTO.js → vue-ui-donut-evolution-BAMD1wQ5.js} +133 -131
- package/dist/vue-ui-donut-evolution-Ci_gIrkO.cjs +1 -0
- package/dist/{vue-ui-dumbbell-gQadUH53.js → vue-ui-dumbbell-CFYd-Ypn.js} +125 -122
- package/dist/vue-ui-dumbbell-DUNYoZxT.cjs +9 -0
- package/dist/{vue-ui-flow-CqSTZbgP.js → vue-ui-flow-CdvGWFzv.js} +96 -93
- package/dist/vue-ui-flow-W89ofPB-.cjs +1 -0
- package/dist/{vue-ui-funnel-Jr9TMTsq.js → vue-ui-funnel-DYutKyoz.js} +88 -85
- package/dist/vue-ui-funnel-RvdVrhFu.cjs +1 -0
- package/dist/{vue-ui-galaxy-BrQ10tPo.js → vue-ui-galaxy-BCBRlYS1.js} +123 -120
- package/dist/vue-ui-galaxy-Djdx-ca8.cjs +1 -0
- package/dist/{vue-ui-gauge-DOMio6Mv.js → vue-ui-gauge-BNAAZt4F.js} +86 -83
- package/dist/vue-ui-gauge-BVVmf09x.cjs +1 -0
- package/dist/{vue-ui-gizmo-SKS1idHb.js → vue-ui-gizmo-BFQ_KgLX.js} +3 -3
- package/dist/{vue-ui-gizmo-C3NimqVM.cjs → vue-ui-gizmo-Ceh0oFY3.cjs} +1 -1
- package/dist/vue-ui-heatmap-CiZpI-tA.cjs +1 -0
- package/dist/{vue-ui-heatmap-l4vCjb6f.js → vue-ui-heatmap-Ct3qaBv7.js} +109 -106
- package/dist/vue-ui-history-plot-Ci8Y2EFg.cjs +1 -0
- package/dist/{vue-ui-history-plot-B05tJML1.js → vue-ui-history-plot-shn74MJ6.js} +130 -127
- package/dist/{vue-ui-kpi-DF4U5E1w.js → vue-ui-kpi-B_pV-2JJ.js} +3 -3
- package/dist/{vue-ui-kpi-DQJr571M.cjs → vue-ui-kpi-DfYrbxlX.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BMARnOW4.js → vue-ui-mini-loader-BFnWQs5p.js} +2 -2
- package/dist/{vue-ui-mini-loader-BZkVKkqn.cjs → vue-ui-mini-loader-LIqf62jk.cjs} +1 -1
- package/dist/vue-ui-molecule-D8YuYTKv.cjs +1 -0
- package/dist/{vue-ui-molecule-C1ycekVJ.js → vue-ui-molecule-DNz1m8XZ.js} +147 -144
- package/dist/{vue-ui-mood-radar-_Kd-Lhpm.js → vue-ui-mood-radar-DiYB_zhM.js} +97 -94
- package/dist/vue-ui-mood-radar-uvH7qUHy.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-DIwRSn-O.js → vue-ui-nested-donuts-9hn-g4ir.js} +99 -96
- package/dist/vue-ui-nested-donuts-C7ikDjp7.cjs +17 -0
- package/dist/vue-ui-onion-5Rqvd4Fw.cjs +5 -0
- package/dist/{vue-ui-onion-Dqb0gwGl.js → vue-ui-onion-DCWfNTNu.js} +105 -102
- package/dist/{vue-ui-parallel-coordinate-plot-De-tYNNy.js → vue-ui-parallel-coordinate-plot-CaPFL9_1.js} +97 -94
- package/dist/vue-ui-parallel-coordinate-plot-tlgTbaNX.cjs +8 -0
- package/dist/vue-ui-quadrant-B0Sw5NGo.cjs +1 -0
- package/dist/{vue-ui-quadrant-BQ5maxJq.js → vue-ui-quadrant-BoQZ375K.js} +155 -153
- package/dist/vue-ui-quick-chart-D3zV1d7t.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DF_510YT.js → vue-ui-quick-chart-vfMN8F1q.js} +164 -161
- package/dist/{vue-ui-radar-DDHd0AYs.js → vue-ui-radar-CAuu6wkh.js} +129 -127
- package/dist/vue-ui-radar-CNMJCAwo.cjs +1 -0
- package/dist/{vue-ui-rating-Chi3OOtp.js → vue-ui-rating-Bm0HZ3du.js} +2 -2
- package/dist/{vue-ui-rating-D9kQcY2a.cjs → vue-ui-rating-dsRDRL98.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CV1xQOok.js → vue-ui-relation-circle-5OZMN9jR.js} +127 -124
- package/dist/vue-ui-relation-circle-iD7BufNH.cjs +1 -0
- package/dist/{vue-ui-rings-D2ezwyae.js → vue-ui-rings-COefBaQT.js} +114 -112
- package/dist/vue-ui-rings-DC4WG4sK.cjs +2 -0
- package/dist/vue-ui-scatter-5ny76dmi.cjs +1 -0
- package/dist/{vue-ui-scatter-BxbUYPk1.js → vue-ui-scatter-DhO83TZZ.js} +157 -154
- package/dist/{vue-ui-screenshot-Bc7Lv1i8.cjs → vue-ui-screenshot-DABH_phE.cjs} +1 -1
- package/dist/{vue-ui-screenshot-cxDgcXJB.js → vue-ui-screenshot-brillPo5.js} +1 -1
- package/dist/{vue-ui-skeleton-D6ojufhb.js → vue-ui-skeleton-BmJiYGtE.js} +3 -3
- package/dist/{vue-ui-skeleton-DvdPnQbR.cjs → vue-ui-skeleton-_DN0U6W6.cjs} +1 -1
- package/dist/{vue-ui-smiley-DEJ6S-We.cjs → vue-ui-smiley-CW6714mb.cjs} +1 -1
- package/dist/{vue-ui-smiley-9nGRDSn7.js → vue-ui-smiley-D9NRimij.js} +2 -2
- package/dist/{vue-ui-spark-trend-DiNeAGXR.js → vue-ui-spark-trend-BKZj03CQ.js} +5 -5
- package/dist/{vue-ui-spark-trend-BosbwgVe.cjs → vue-ui-spark-trend-expbkxgR.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DNf_Majv.js → vue-ui-sparkbar-CYRORE5i.js} +4 -4
- package/dist/{vue-ui-sparkbar-DGFKrcg0.cjs → vue-ui-sparkbar-Cr9FtevP.cjs} +1 -1
- package/dist/vue-ui-sparkgauge-BHXFhvTv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-D89HjxSK.js → vue-ui-sparkgauge-JV4tYB7P.js} +56 -53
- package/dist/{vue-ui-sparkhistogram-CU1_P6AJ.js → vue-ui-sparkhistogram-DKINHX2q.js} +93 -90
- package/dist/vue-ui-sparkhistogram-T4a3DDck.cjs +1 -0
- package/dist/{vue-ui-sparkline-C2McLmh5.js → vue-ui-sparkline-CbRTHtig.js} +109 -106
- package/dist/vue-ui-sparkline-Dc6Sf3n8.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-Cu4aG9PB.js → vue-ui-sparkstackbar-6u9-2nG4.js} +59 -56
- package/dist/vue-ui-sparkstackbar-CV5SkdsP.cjs +1 -0
- package/dist/{vue-ui-stackbar-6m5CpvNM.js → vue-ui-stackbar-CUppObfj.js} +136 -133
- package/dist/vue-ui-stackbar-CXB-nd71.cjs +6 -0
- package/dist/vue-ui-strip-plot-6IXF_U6-.cjs +1 -0
- package/dist/{vue-ui-strip-plot-DlZ2Eez4.js → vue-ui-strip-plot-doaNZAW4.js} +127 -124
- package/dist/{vue-ui-table-U0_3I0fu.js → vue-ui-table-CZsNuDR5.js} +1 -1
- package/dist/{vue-ui-table-BjhcV9qB.cjs → vue-ui-table-S66UCskD.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-Bfqytiv5.cjs → vue-ui-table-heatmap-BU9UU15H.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BrGkCaOG.js → vue-ui-table-heatmap-CjohHqDV.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CXlnp8E3.cjs → vue-ui-table-sparkline-CHFFTD0a.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-C1wNBDqO.js → vue-ui-table-sparkline-ab2rwdKB.js} +5 -5
- package/dist/{vue-ui-thermometer-Bx2abW1B.js → vue-ui-thermometer-C72mHwUi.js} +84 -81
- package/dist/vue-ui-thermometer-Ccd6RGh8.cjs +1 -0
- package/dist/vue-ui-timer-C8Fn2B0b.cjs +64 -0
- package/dist/{vue-ui-timer-3UkgrtEj.js → vue-ui-timer-D-LNi6lz.js} +183 -180
- package/dist/{vue-ui-tiremarks-C_xuD4De.js → vue-ui-tiremarks-Bo8EWsJ8.js} +59 -56
- package/dist/vue-ui-tiremarks-SOzvMOz4.cjs +1 -0
- package/dist/vue-ui-treemap-BqTTQrVh.cjs +1 -0
- package/dist/{vue-ui-treemap-BjDSR72h.js → vue-ui-treemap-uj94elVB.js} +123 -120
- package/dist/{vue-ui-vertical-bar-DUhOoSNl.js → vue-ui-vertical-bar-BUTOw-DK.js} +108 -106
- package/dist/vue-ui-vertical-bar-C4Sxun4Q.cjs +4 -0
- package/dist/{vue-ui-waffle-Dpox5n5s.js → vue-ui-waffle-CTWA1frT.js} +107 -104
- package/dist/vue-ui-waffle-DYWGRKdT.cjs +1 -0
- package/dist/vue-ui-wheel-8K72ZKda.js +330 -0
- package/dist/vue-ui-wheel-Cz5-0klT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-u5S86-Ft.js → vue-ui-word-cloud-CSwBPDB8.js} +97 -94
- package/dist/vue-ui-word-cloud-D39riLZb.cjs +1 -0
- package/dist/vue-ui-xy-BbWXjajH.cjs +3 -0
- package/dist/{vue-ui-xy-0nBQDwL2.js → vue-ui-xy-DpDKutd7.js} +65 -58
- package/dist/{vue-ui-xy-canvas-yQlThVu7.cjs → vue-ui-xy-canvas-BCj0SCqe.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DI7LiD4U.js → vue-ui-xy-canvas-BQm9gah4.js} +82 -81
- package/package.json +1 -1
- package/dist/Shape-GAZUIBfN.cjs +0 -1
- package/dist/Tooltip-BlGVq6xj.cjs +0 -1
- package/dist/index-DSGAenF3.cjs +0 -9
- package/dist/vue-ui-3d-bar-vvpkf_bv.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CMMnrI3R.cjs +0 -1
- package/dist/vue-ui-bullet-nXPlud-q.cjs +0 -34
- package/dist/vue-ui-candlestick-B6T0LhEG.cjs +0 -2
- package/dist/vue-ui-chestnut-D8Gq_i77.cjs +0 -6
- package/dist/vue-ui-circle-pack-DCz3OWlu.cjs +0 -1
- package/dist/vue-ui-donut-BpgK-I9o.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BVJCDPQ2.cjs +0 -1
- package/dist/vue-ui-dumbbell-DRcemHVG.cjs +0 -9
- package/dist/vue-ui-flow-DdQsK5DR.cjs +0 -1
- package/dist/vue-ui-funnel-Bq4yoTfd.cjs +0 -1
- package/dist/vue-ui-galaxy-ia1UNlpc.cjs +0 -1
- package/dist/vue-ui-gauge-C3FbYOSi.cjs +0 -1
- package/dist/vue-ui-heatmap-BCau2Z3U.cjs +0 -1
- package/dist/vue-ui-history-plot-DL7VjOd0.cjs +0 -1
- package/dist/vue-ui-molecule-B5XDGmLx.cjs +0 -1
- package/dist/vue-ui-mood-radar-DyMCJKFb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-B4Am-r6T.cjs +0 -17
- package/dist/vue-ui-onion-YeBdJrdx.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CoecETlm.cjs +0 -8
- package/dist/vue-ui-quadrant-Btzq3qNJ.cjs +0 -1
- package/dist/vue-ui-quick-chart-5cWjffLJ.cjs +0 -15
- package/dist/vue-ui-radar-t22bqFiQ.cjs +0 -1
- package/dist/vue-ui-relation-circle-CWgGPxDJ.cjs +0 -1
- package/dist/vue-ui-rings-CiLJkRwa.cjs +0 -2
- package/dist/vue-ui-scatter-B24gGA8q.cjs +0 -1
- package/dist/vue-ui-sparkgauge-DwK7dzdJ.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-DKoI6_TT.cjs +0 -1
- package/dist/vue-ui-sparkline-Bp7GMRrA.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-Dayxdcr7.cjs +0 -1
- package/dist/vue-ui-stackbar-C21xTVy9.cjs +0 -6
- package/dist/vue-ui-strip-plot-DAo8FMup.cjs +0 -1
- package/dist/vue-ui-thermometer-CBdAwYdC.cjs +0 -1
- package/dist/vue-ui-timer-CRDQbqJ_.cjs +0 -64
- package/dist/vue-ui-tiremarks-C78mfaBr.cjs +0 -1
- package/dist/vue-ui-treemap-CP__1pdb.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DTB8r4LH.cjs +0 -4
- package/dist/vue-ui-waffle-CrVyCF7k.cjs +0 -1
- package/dist/vue-ui-wheel-DV2zgr4d.cjs +0 -1
- package/dist/vue-ui-wheel-ykD8OULJ.js +0 -319
- package/dist/vue-ui-word-cloud-DBkAo2uX.cjs +0 -1
- package/dist/vue-ui-xy-mEVVQr_U.cjs +0 -3
|
@@ -1,22 +1,23 @@
|
|
|
1
|
-
import { computed as p, ref as n, watch 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 yt } from "./Shape-
|
|
10
|
-
import
|
|
11
|
-
import { u as Ae } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import {
|
|
16
|
-
|
|
1
|
+
import { computed as p, ref as n, watch as Ve, onMounted as Ee, onBeforeUnmount as Re, createElementBlock as u, openBlock as s, unref as v, normalizeStyle as B, normalizeClass as F, createBlock as T, createCommentVNode as c, createVNode as $e, createSlots as He, withCtx as y, renderSlot as f, normalizeProps as M, guardReactiveProps as W, createElementVNode as k, Fragment as g, renderList as w, toDisplayString as L, mergeProps as Be, createTextVNode as Xe, nextTick as je } from "vue";
|
|
2
|
+
import { u as Ye, c as ee, t as qe, p as A, a as Je, o as Ke, e as te, g as _e, b as Qe, d as Te, v as Ze, D as et, f as X, X as tt, i as le, l as lt, h as at, x as Le, F as ot, q as st, r as rt, y as ut } from "./index-9EeNZMz1.js";
|
|
3
|
+
import { t as it, u as nt } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as vt } from "./Title-BI8etrRU.js";
|
|
5
|
+
import { u as ct, U as ht } from "./usePrinter-ngrh00Ym.js";
|
|
6
|
+
import { _ as dt } from "./Tooltip-Cxc8c50d.js";
|
|
7
|
+
import { D as pt } from "./DataTable-TjJIVFlL.js";
|
|
8
|
+
import ft from "./vue-ui-skeleton-BmJiYGtE.js";
|
|
9
|
+
import { _ as yt } from "./Shape-58uyOuYc.js";
|
|
10
|
+
import bt from "./vue-ui-accordion-Qo8JxnIN.js";
|
|
11
|
+
import { u as Ae } from "./useNestedProp-df_bKQEI.js";
|
|
12
|
+
import { _ as mt } from "./PackageVersion-QRvxRYPv.js";
|
|
13
|
+
import { P as gt } from "./PenAndPaper-CxC1lWGK.js";
|
|
14
|
+
import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { u as xt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
+
import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"], Tt = { key: 1 }, Lt = { key: 0 }, At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = { key: 1 }, St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "fill", "font-size"], Ft = ["x", "y", "font-size", "fill"], Mt = ["fill", "font-size", "transform"], Wt = ["fill", "font-size", "x", "y"], It = ["x1", "x2", "y1", "y2", "stroke"], Dt = ["cx", "cy", "fill"], Gt = ["cx", "cy", "fill"], Ut = ["id"], Vt = ["stop-color"], Et = ["stop-color"], Rt = ["stop-color"], Ht = { key: 0 }, Bt = ["x", "y", "font-size", "fill"], Xt = {
|
|
17
18
|
key: 5,
|
|
18
19
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
20
|
+
}, jt = ["innerHTML"], Yt = {
|
|
20
21
|
__name: "vue-ui-strip-plot",
|
|
21
22
|
props: {
|
|
22
23
|
config: {
|
|
@@ -34,7 +35,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
34
35
|
},
|
|
35
36
|
emits: ["selectDatapoint"],
|
|
36
37
|
setup(Pe, { expose: Se, emit: Oe }) {
|
|
37
|
-
const { vue_ui_strip_plot: ze } =
|
|
38
|
+
const { vue_ui_strip_plot: ze } = Ye(), b = Pe, Ne = Oe, C = p({
|
|
38
39
|
get() {
|
|
39
40
|
return !!b.dataset && b.dataset.length;
|
|
40
41
|
},
|
|
@@ -44,7 +45,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
44
45
|
}), 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
46
|
get: () => he(),
|
|
46
47
|
set: (t) => t
|
|
47
|
-
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: ce } =
|
|
48
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: ce } = kt({ config: e.value }), { svgRef: Fe } = xt({ config: e.value.style.chart.title });
|
|
48
49
|
function he() {
|
|
49
50
|
const t = Ae({
|
|
50
51
|
userConfig: b.config,
|
|
@@ -52,21 +53,21 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
52
53
|
});
|
|
53
54
|
return t.theme ? {
|
|
54
55
|
...Ae({
|
|
55
|
-
userConfig:
|
|
56
|
+
userConfig: Je.vue_ui_strip_plot[t.theme] || b.config,
|
|
56
57
|
defaultConfig: t
|
|
57
58
|
}),
|
|
58
|
-
customPalette:
|
|
59
|
+
customPalette: qe[t.theme] || A
|
|
59
60
|
} : t;
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
+
Ve(() => b.config, (t) => {
|
|
62
63
|
e.value = he(), J.value = !e.value.userOptions.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
64
|
}, { deep: !0 });
|
|
64
65
|
const I = n(null);
|
|
65
|
-
|
|
66
|
+
Ee(() => {
|
|
66
67
|
de();
|
|
67
68
|
});
|
|
68
69
|
function de() {
|
|
69
|
-
if (
|
|
70
|
+
if (Ke(b.dataset) ? te({
|
|
70
71
|
componentName: "VueUiStripPlot",
|
|
71
72
|
type: "dataset"
|
|
72
73
|
}) : b.dataset.forEach((t, o) => {
|
|
@@ -94,15 +95,15 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
94
95
|
});
|
|
95
96
|
});
|
|
96
97
|
}), e.value.responsive) {
|
|
97
|
-
const t =
|
|
98
|
-
const { width: o, height: l } =
|
|
98
|
+
const t = it(() => {
|
|
99
|
+
const { width: o, height: l } = nt({
|
|
99
100
|
chart: P.value,
|
|
100
101
|
title: e.value.style.chart.title.text ? oe.value : null,
|
|
101
102
|
source: se.value,
|
|
102
103
|
noTitle: re.value
|
|
103
104
|
});
|
|
104
105
|
requestAnimationFrame(() => {
|
|
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 =
|
|
106
|
+
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 = ot({
|
|
106
107
|
relator: Math.min(l, o),
|
|
107
108
|
adjuster: 600,
|
|
108
109
|
source: e.value.style.chart.plots.radius,
|
|
@@ -115,15 +116,15 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
115
116
|
}
|
|
116
117
|
ue.value = !0, setTimeout(() => {
|
|
117
118
|
z.value = !1;
|
|
118
|
-
},
|
|
119
|
+
}, We.value * 50);
|
|
119
120
|
}
|
|
120
|
-
|
|
121
|
+
Re(() => {
|
|
121
122
|
I.value && I.value.disconnect();
|
|
122
123
|
});
|
|
123
|
-
const { isPrinting: pe, isImaging:
|
|
124
|
+
const { isPrinting: pe, isImaging: fe, generatePdf: ye, generateImage: be } = ct({
|
|
124
125
|
elementId: `strip-plot_${j.value}`,
|
|
125
126
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
126
|
-
}),
|
|
127
|
+
}), Me = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = p(() => Qe(e.value.customPalette)), z = n(e.value.useCssAnimation), d = n({
|
|
127
128
|
showTable: e.value.table.show,
|
|
128
129
|
dataLabels: {
|
|
129
130
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
@@ -158,7 +159,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
158
159
|
color: t.color ? Te(t.color) : me.value[o] || A[o] || A[o % A.length],
|
|
159
160
|
plots: t.plots.map((r) => ({
|
|
160
161
|
...r,
|
|
161
|
-
value:
|
|
162
|
+
value: Ze(r.value),
|
|
162
163
|
parentId: l,
|
|
163
164
|
color: t.color ? Te(t.color) : me.value[o] || A[o] || A[o % A.length],
|
|
164
165
|
id: ee()
|
|
@@ -170,13 +171,13 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
170
171
|
...l,
|
|
171
172
|
x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
|
|
172
173
|
}))
|
|
173
|
-
}))),
|
|
174
|
+
}))), We = p(() => Math.max(...x.value.map((t) => t.plots.length))), K = p(() => {
|
|
174
175
|
const t = x.value.flatMap((o) => o.plots.map((l) => l.value));
|
|
175
176
|
return {
|
|
176
177
|
max: Math.max(...t),
|
|
177
178
|
min: Math.min(...t)
|
|
178
179
|
};
|
|
179
|
-
}), $ = p(() =>
|
|
180
|
+
}), $ = p(() => et(K.value.min < 0 ? K.value.min : 0, K.value.max, e.value.style.chart.grid.scaleSteps)), Ie = p(() => (x.value || []).map((t, o) => ({
|
|
180
181
|
...t,
|
|
181
182
|
plots: t.plots.map((l) => ({
|
|
182
183
|
...l,
|
|
@@ -188,10 +189,10 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
188
189
|
x2: a.value.right,
|
|
189
190
|
value: t
|
|
190
191
|
}))), Q = n(null), h = n(null);
|
|
191
|
-
function
|
|
192
|
+
function De({ datapoint: t, seriesIndex: o }) {
|
|
192
193
|
Q.value = { datapoint: t, seriesIndex: o, config: e.value, series: U.value }, Y.value = !0, h.value = t;
|
|
193
194
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
194
|
-
if (Le(l) &&
|
|
195
|
+
if (Le(l) && ut(() => l({
|
|
195
196
|
seriesIndex: o,
|
|
196
197
|
datapoint: t,
|
|
197
198
|
series: U.value,
|
|
@@ -226,11 +227,11 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
226
227
|
return { head: t, body: o };
|
|
227
228
|
});
|
|
228
229
|
function ke() {
|
|
229
|
-
|
|
230
|
+
je(() => {
|
|
230
231
|
const t = V.value.head.map((r, i) => [[
|
|
231
232
|
r.name
|
|
232
|
-
], [V.value.body[i]]]), o = [[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 =
|
|
233
|
-
|
|
233
|
+
], [V.value.body[i]]]), o = [[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 = st(o);
|
|
234
|
+
rt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
234
235
|
});
|
|
235
236
|
}
|
|
236
237
|
const E = p(() => {
|
|
@@ -238,7 +239,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
238
239
|
e.value.table.columnNames.series,
|
|
239
240
|
e.value.table.columnNames.value
|
|
240
241
|
], o = V.value.head.map((i, _) => {
|
|
241
|
-
const
|
|
242
|
+
const H = X({
|
|
242
243
|
p: e.value.style.chart.labels.prefix,
|
|
243
244
|
v: V.value.body[_],
|
|
244
245
|
s: e.value.style.chart.labels.suffix,
|
|
@@ -249,7 +250,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
249
250
|
color: i.color,
|
|
250
251
|
name: i.name
|
|
251
252
|
},
|
|
252
|
-
|
|
253
|
+
H
|
|
253
254
|
];
|
|
254
255
|
}), l = {
|
|
255
256
|
th: {
|
|
@@ -274,10 +275,10 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
274
275
|
config: l
|
|
275
276
|
};
|
|
276
277
|
}), O = n(!1);
|
|
277
|
-
function
|
|
278
|
+
function Ge(t) {
|
|
278
279
|
O.value = t, ae.value += 1;
|
|
279
280
|
}
|
|
280
|
-
function
|
|
281
|
+
function Ue() {
|
|
281
282
|
return x.value;
|
|
282
283
|
}
|
|
283
284
|
function xe() {
|
|
@@ -289,13 +290,13 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
289
290
|
function Ce() {
|
|
290
291
|
d.value.showTooltip = !d.value.showTooltip;
|
|
291
292
|
}
|
|
292
|
-
const
|
|
293
|
+
const R = n(!1);
|
|
293
294
|
function Z() {
|
|
294
|
-
|
|
295
|
+
R.value = !R.value;
|
|
295
296
|
}
|
|
296
297
|
return Se({
|
|
297
|
-
getData:
|
|
298
|
-
generatePdf:
|
|
298
|
+
getData: Ue,
|
|
299
|
+
generatePdf: ye,
|
|
299
300
|
generateCsv: ke,
|
|
300
301
|
generateImage: be,
|
|
301
302
|
toggleTable: xe,
|
|
@@ -311,15 +312,15 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
311
312
|
onMouseenter: o[2] || (o[2] = () => v(ve)(!0)),
|
|
312
313
|
onMouseleave: o[3] || (o[3] = () => v(ve)(!1))
|
|
313
314
|
}, [
|
|
314
|
-
e.value.userOptions.buttons.annotator ? (s(), T(
|
|
315
|
+
e.value.userOptions.buttons.annotator ? (s(), T(gt, {
|
|
315
316
|
key: 0,
|
|
316
317
|
parent: P.value,
|
|
317
318
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
318
319
|
color: e.value.style.chart.color,
|
|
319
|
-
active:
|
|
320
|
+
active: R.value,
|
|
320
321
|
onClose: Z
|
|
321
322
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
322
|
-
|
|
323
|
+
Me.value ? (s(), u("div", {
|
|
323
324
|
key: 1,
|
|
324
325
|
ref_key: "noTitle",
|
|
325
326
|
ref: re,
|
|
@@ -332,7 +333,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
332
333
|
ref: oe,
|
|
333
334
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
334
335
|
}, [
|
|
335
|
-
(s(), T(
|
|
336
|
+
(s(), T(vt, {
|
|
336
337
|
key: `title_${ie.value}`,
|
|
337
338
|
config: {
|
|
338
339
|
title: {
|
|
@@ -346,13 +347,13 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
346
347
|
}
|
|
347
348
|
}, null, 8, ["config"]))
|
|
348
349
|
], 512)) : c("", !0),
|
|
349
|
-
e.value.userOptions.show && C.value && (v(ce) || v(J)) ? (s(), T(
|
|
350
|
+
e.value.userOptions.show && C.value && (v(ce) || v(J)) ? (s(), T(ht, {
|
|
350
351
|
ref: "details",
|
|
351
352
|
key: `user_option_${ae.value}`,
|
|
352
353
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
353
354
|
color: e.value.style.chart.color,
|
|
354
355
|
isPrinting: v(pe),
|
|
355
|
-
isImaging: v(
|
|
356
|
+
isImaging: v(fe),
|
|
356
357
|
uid: j.value,
|
|
357
358
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
358
359
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -367,9 +368,9 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
367
368
|
chartElement: P.value,
|
|
368
369
|
position: e.value.userOptions.position,
|
|
369
370
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
370
|
-
isAnnotation:
|
|
371
|
-
onToggleFullscreen:
|
|
372
|
-
onGeneratePdf: v(
|
|
371
|
+
isAnnotation: R.value,
|
|
372
|
+
onToggleFullscreen: Ge,
|
|
373
|
+
onGeneratePdf: v(ye),
|
|
373
374
|
onGenerateCsv: ke,
|
|
374
375
|
onGenerateImage: v(be),
|
|
375
376
|
onToggleTable: xe,
|
|
@@ -382,69 +383,71 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
382
383
|
}, He({ _: 2 }, [
|
|
383
384
|
t.$slots.optionTooltip ? {
|
|
384
385
|
name: "optionTooltip",
|
|
385
|
-
fn:
|
|
386
|
-
|
|
386
|
+
fn: y(() => [
|
|
387
|
+
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
387
388
|
]),
|
|
388
389
|
key: "0"
|
|
389
390
|
} : void 0,
|
|
390
391
|
t.$slots.optionPdf ? {
|
|
391
392
|
name: "optionPdf",
|
|
392
|
-
fn:
|
|
393
|
-
|
|
393
|
+
fn: y(() => [
|
|
394
|
+
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
394
395
|
]),
|
|
395
396
|
key: "1"
|
|
396
397
|
} : void 0,
|
|
397
398
|
t.$slots.optionCsv ? {
|
|
398
399
|
name: "optionCsv",
|
|
399
|
-
fn:
|
|
400
|
-
|
|
400
|
+
fn: y(() => [
|
|
401
|
+
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
401
402
|
]),
|
|
402
403
|
key: "2"
|
|
403
404
|
} : void 0,
|
|
404
405
|
t.$slots.optionImg ? {
|
|
405
406
|
name: "optionImg",
|
|
406
|
-
fn:
|
|
407
|
-
|
|
407
|
+
fn: y(() => [
|
|
408
|
+
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
408
409
|
]),
|
|
409
410
|
key: "3"
|
|
410
411
|
} : void 0,
|
|
411
412
|
t.$slots.optionTable ? {
|
|
412
413
|
name: "optionTable",
|
|
413
|
-
fn:
|
|
414
|
-
|
|
414
|
+
fn: y(() => [
|
|
415
|
+
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
415
416
|
]),
|
|
416
417
|
key: "4"
|
|
417
418
|
} : void 0,
|
|
418
419
|
t.$slots.optionLabels ? {
|
|
419
420
|
name: "optionLabels",
|
|
420
|
-
fn:
|
|
421
|
-
|
|
421
|
+
fn: y(() => [
|
|
422
|
+
f(t.$slots, "optionLabels", {}, void 0, !0)
|
|
422
423
|
]),
|
|
423
424
|
key: "5"
|
|
424
425
|
} : void 0,
|
|
425
426
|
t.$slots.optionFullscreen ? {
|
|
426
427
|
name: "optionFullscreen",
|
|
427
|
-
fn:
|
|
428
|
-
|
|
428
|
+
fn: y(({ toggleFullscreen: l, isFullscreen: r }) => [
|
|
429
|
+
f(t.$slots, "optionFullscreen", M(W({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
|
|
429
430
|
]),
|
|
430
431
|
key: "6"
|
|
431
432
|
} : void 0,
|
|
432
433
|
t.$slots.optionAnnotator ? {
|
|
433
434
|
name: "optionAnnotator",
|
|
434
|
-
fn:
|
|
435
|
-
|
|
435
|
+
fn: y(({ toggleAnnotator: l, isAnnotator: r }) => [
|
|
436
|
+
f(t.$slots, "optionAnnotator", M(W({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
|
|
436
437
|
]),
|
|
437
438
|
key: "7"
|
|
438
439
|
} : void 0
|
|
439
440
|
]), 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
441
|
C.value ? (s(), u("svg", {
|
|
441
442
|
key: 4,
|
|
442
|
-
|
|
443
|
+
ref_key: "svgRef",
|
|
444
|
+
ref: Fe,
|
|
445
|
+
xmlns: v(tt),
|
|
443
446
|
class: F({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
444
447
|
viewBox: `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`,
|
|
445
448
|
style: B(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
446
449
|
}, [
|
|
447
|
-
$e(
|
|
450
|
+
$e(mt),
|
|
448
451
|
t.$slots["chart-background"] ? (s(), u("foreignObject", {
|
|
449
452
|
key: 0,
|
|
450
453
|
x: a.value.left,
|
|
@@ -455,10 +458,10 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
455
458
|
pointerEvents: "none"
|
|
456
459
|
}
|
|
457
460
|
}, [
|
|
458
|
-
|
|
459
|
-
], 8,
|
|
460
|
-
e.value.style.chart.grid.show ? (s(), u("g",
|
|
461
|
-
e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g",
|
|
461
|
+
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
462
|
+
], 8, _t)) : c("", !0),
|
|
463
|
+
e.value.style.chart.grid.show ? (s(), u("g", Tt, [
|
|
464
|
+
e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g", Lt, [
|
|
462
465
|
(s(!0), u(g, null, w(ge.value, (l) => (s(), u("line", {
|
|
463
466
|
x1: l.x1,
|
|
464
467
|
x2: l.x2,
|
|
@@ -468,9 +471,9 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
468
471
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
469
472
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
|
|
470
473
|
"stroke-linecap": "round"
|
|
471
|
-
}, null, 8,
|
|
474
|
+
}, null, 8, At))), 256))
|
|
472
475
|
])) : c("", !0),
|
|
473
|
-
e.value.style.chart.grid.verticalGrid.show ? (s(), u("g",
|
|
476
|
+
e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", Pt, [
|
|
474
477
|
(s(!0), u(g, null, w(x.value, (l, r) => (s(), u("line", {
|
|
475
478
|
x1: a.value.left + (r + 1) * a.value.stripWidth,
|
|
476
479
|
x2: a.value.left + (r + 1) * a.value.stripWidth,
|
|
@@ -480,7 +483,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
480
483
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
481
484
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
482
485
|
"stroke-linecap": "round"
|
|
483
|
-
}, null, 8,
|
|
486
|
+
}, null, 8, St))), 256))
|
|
484
487
|
])) : c("", !0),
|
|
485
488
|
k("line", {
|
|
486
489
|
x1: a.value.left,
|
|
@@ -490,7 +493,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
490
493
|
stroke: e.value.style.chart.grid.stroke,
|
|
491
494
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
492
495
|
"stroke-linecap": "round"
|
|
493
|
-
}, null, 8,
|
|
496
|
+
}, null, 8, Ot),
|
|
494
497
|
k("line", {
|
|
495
498
|
x1: a.value.left,
|
|
496
499
|
x2: a.value.right,
|
|
@@ -499,7 +502,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
499
502
|
stroke: e.value.style.chart.grid.stroke,
|
|
500
503
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
501
504
|
"stroke-linecap": "round"
|
|
502
|
-
}, null, 8,
|
|
505
|
+
}, null, 8, zt)
|
|
503
506
|
])) : c("", !0),
|
|
504
507
|
e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, w(ge.value, (l, r) => (s(), u("text", {
|
|
505
508
|
x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
@@ -517,21 +520,21 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
517
520
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
518
521
|
}),
|
|
519
522
|
{ datapoint: l, seriesIndex: r }
|
|
520
|
-
)), 9,
|
|
523
|
+
)), 9, Nt))), 256)) : c("", !0),
|
|
521
524
|
e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 }, w(x.value, (l, r) => (s(), u("text", {
|
|
522
525
|
x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
|
|
523
526
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
524
527
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
525
528
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
526
529
|
"text-anchor": "middle"
|
|
527
|
-
}, L(l.name), 9,
|
|
530
|
+
}, L(l.name), 9, Ft))), 256)) : c("", !0),
|
|
528
531
|
e.value.style.chart.labels.axis.yLabel ? (s(), u("text", {
|
|
529
532
|
key: 4,
|
|
530
533
|
fill: e.value.style.chart.labels.axis.color,
|
|
531
534
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
532
535
|
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
536
|
"text-anchor": "middle"
|
|
534
|
-
}, L(e.value.style.chart.labels.axis.yLabel), 9,
|
|
537
|
+
}, L(e.value.style.chart.labels.axis.yLabel), 9, Mt)) : c("", !0),
|
|
535
538
|
e.value.style.chart.labels.axis.xLabel ? (s(), u("text", {
|
|
536
539
|
key: 5,
|
|
537
540
|
fill: e.value.style.chart.labels.axis.color,
|
|
@@ -539,7 +542,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
539
542
|
x: a.value.left + a.value.width / 2,
|
|
540
543
|
y: a.value.absoluteHeight,
|
|
541
544
|
"text-anchor": "middle"
|
|
542
|
-
}, L(e.value.style.chart.labels.axis.xLabel), 9,
|
|
545
|
+
}, L(e.value.style.chart.labels.axis.xLabel), 9, Wt)) : c("", !0),
|
|
543
546
|
h.value ? (s(), u(g, { key: 6 }, [
|
|
544
547
|
k("line", {
|
|
545
548
|
x1: a.value.left,
|
|
@@ -549,21 +552,21 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
549
552
|
stroke: h.value.color,
|
|
550
553
|
"stroke-width": 1,
|
|
551
554
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
552
|
-
}, null, 10,
|
|
555
|
+
}, null, 10, It),
|
|
553
556
|
k("circle", {
|
|
554
557
|
cx: a.value.left,
|
|
555
558
|
cy: h.value.y,
|
|
556
559
|
r: 3,
|
|
557
560
|
fill: h.value.color,
|
|
558
561
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
559
|
-
}, null, 10,
|
|
562
|
+
}, null, 10, Dt),
|
|
560
563
|
k("circle", {
|
|
561
564
|
cx: a.value.right,
|
|
562
565
|
cy: h.value.y,
|
|
563
566
|
r: 3,
|
|
564
567
|
fill: h.value.color,
|
|
565
568
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
566
|
-
}, null, 10,
|
|
569
|
+
}, null, 10, Gt)
|
|
567
570
|
], 64)) : c("", !0),
|
|
568
571
|
k("defs", null, [
|
|
569
572
|
(s(!0), u(g, null, w(x.value, (l) => (s(), u("radialGradient", {
|
|
@@ -572,36 +575,36 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
572
575
|
}, [
|
|
573
576
|
k("stop", {
|
|
574
577
|
offset: "10%",
|
|
575
|
-
"stop-color": v(
|
|
576
|
-
}, null, 8,
|
|
578
|
+
"stop-color": v(lt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
579
|
+
}, null, 8, Vt),
|
|
577
580
|
k("stop", {
|
|
578
581
|
offset: "90%",
|
|
579
|
-
"stop-color": v(
|
|
580
|
-
}, null, 8,
|
|
582
|
+
"stop-color": v(at)(l.color, 0.1)
|
|
583
|
+
}, null, 8, Et),
|
|
581
584
|
k("stop", {
|
|
582
585
|
offset: "100%",
|
|
583
586
|
"stop-color": l.color
|
|
584
|
-
}, null, 8,
|
|
585
|
-
], 8,
|
|
587
|
+
}, null, 8, Rt)
|
|
588
|
+
], 8, Ut))), 256))
|
|
586
589
|
]),
|
|
587
|
-
(s(!0), u(g, null, w(
|
|
588
|
-
(s(!0), u(g, null, w(l.plots, (i, _) => (s(), T(yt,
|
|
590
|
+
(s(!0), u(g, null, w(Ie.value, (l, r) => (s(), u(g, null, [
|
|
591
|
+
(s(!0), u(g, null, w(l.plots, (i, _) => (s(), T(yt, Be({
|
|
589
592
|
plot: { x: i.x, y: ue.value ? i.y : a.value.top },
|
|
590
593
|
radius: h.value && h.value.id === i.id ? G.value * 1.5 : G.value,
|
|
591
594
|
shape: e.value.style.chart.plots.shape,
|
|
592
595
|
stroke: e.value.style.chart.plots.stroke,
|
|
593
596
|
strokeWidth: e.value.style.chart.plots.strokeWidth,
|
|
594
597
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
595
|
-
onMouseenter: (
|
|
596
|
-
onMouseleave: o[0] || (o[0] = (
|
|
598
|
+
onMouseenter: (H) => De({ datapoint: i, seriesIndex: _ }),
|
|
599
|
+
onMouseleave: o[0] || (o[0] = (H) => {
|
|
597
600
|
Y.value = !1, h.value = null;
|
|
598
601
|
}),
|
|
599
|
-
onClick: (
|
|
602
|
+
onClick: (H) => Ne("selectDatapoint", i),
|
|
600
603
|
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
604
|
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && z.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !z.value },
|
|
602
605
|
ref_for: !0
|
|
603
606
|
}, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
|
|
604
|
-
d.value.dataLabels.show ? (s(), u("g",
|
|
607
|
+
d.value.dataLabels.show ? (s(), u("g", Ht, [
|
|
605
608
|
(s(!0), u(g, null, w(l.plots, (i, _) => (s(), u(g, null, [
|
|
606
609
|
_ === l.plots.length - 1 || h.value && h.value.id === i.id && !d.value.showTooltip ? (s(), u("text", {
|
|
607
610
|
key: 0,
|
|
@@ -621,16 +624,16 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
621
624
|
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
622
625
|
}),
|
|
623
626
|
{ datapoint: i, seriesIndex: _ }
|
|
624
|
-
) : ""), 13,
|
|
627
|
+
) : ""), 13, Bt)) : c("", !0)
|
|
625
628
|
], 64))), 256))
|
|
626
629
|
])) : c("", !0)
|
|
627
630
|
], 64))), 256)),
|
|
628
|
-
|
|
629
|
-
], 14,
|
|
630
|
-
t.$slots.watermark ? (s(), u("div",
|
|
631
|
-
|
|
631
|
+
f(t.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
632
|
+
], 14, $t)) : c("", !0),
|
|
633
|
+
t.$slots.watermark ? (s(), u("div", Xt, [
|
|
634
|
+
f(t.$slots, "watermark", M(W({ isPrinting: v(pe) || v(fe) })), void 0, !0)
|
|
632
635
|
])) : c("", !0),
|
|
633
|
-
C.value ? c("", !0) : (s(), T(
|
|
636
|
+
C.value ? c("", !0) : (s(), T(ft, {
|
|
634
637
|
key: 6,
|
|
635
638
|
config: {
|
|
636
639
|
type: "stripPlot",
|
|
@@ -648,9 +651,9 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
648
651
|
ref: se,
|
|
649
652
|
dir: "auto"
|
|
650
653
|
}, [
|
|
651
|
-
|
|
654
|
+
f(t.$slots, "source", {}, void 0, !0)
|
|
652
655
|
], 512)) : c("", !0),
|
|
653
|
-
$e(
|
|
656
|
+
$e(dt, {
|
|
654
657
|
show: d.value.showTooltip && Y.value,
|
|
655
658
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
656
659
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -666,15 +669,15 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
666
669
|
isFullscreen: O.value,
|
|
667
670
|
isCustom: v(Le)(e.value.style.chart.tooltip.customFormat)
|
|
668
671
|
}, {
|
|
669
|
-
"tooltip-before":
|
|
670
|
-
|
|
672
|
+
"tooltip-before": y(() => [
|
|
673
|
+
f(t.$slots, "tooltip-before", M(W({ ...Q.value })), void 0, !0)
|
|
671
674
|
]),
|
|
672
|
-
"tooltip-after":
|
|
673
|
-
|
|
675
|
+
"tooltip-after": y(() => [
|
|
676
|
+
f(t.$slots, "tooltip-after", M(W({ ...Q.value })), void 0, !0)
|
|
674
677
|
]),
|
|
675
678
|
_: 3
|
|
676
679
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
677
|
-
C.value ? (s(), T(
|
|
680
|
+
C.value ? (s(), T(bt, {
|
|
678
681
|
key: 8,
|
|
679
682
|
hideDetails: "",
|
|
680
683
|
config: {
|
|
@@ -690,8 +693,8 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
690
693
|
}
|
|
691
694
|
}
|
|
692
695
|
}, {
|
|
693
|
-
content:
|
|
694
|
-
(s(), T(
|
|
696
|
+
content: y(() => [
|
|
697
|
+
(s(), T(pt, {
|
|
695
698
|
key: `table_${ne.value}`,
|
|
696
699
|
colNames: E.value.colNames,
|
|
697
700
|
head: E.value.head,
|
|
@@ -700,23 +703,23 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
700
703
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
701
704
|
onClose: o[1] || (o[1] = (l) => d.value.showTable = !1)
|
|
702
705
|
}, {
|
|
703
|
-
th:
|
|
706
|
+
th: y(({ th: l }) => [
|
|
704
707
|
k("div", {
|
|
705
708
|
innerHTML: l,
|
|
706
709
|
style: { display: "flex", "align-items": "center" }
|
|
707
|
-
}, null, 8,
|
|
710
|
+
}, null, 8, jt)
|
|
708
711
|
]),
|
|
709
|
-
td:
|
|
710
|
-
|
|
712
|
+
td: y(({ td: l }) => [
|
|
713
|
+
Xe(L(l.name || l), 1)
|
|
711
714
|
]),
|
|
712
715
|
_: 1
|
|
713
716
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
714
717
|
]),
|
|
715
718
|
_: 1
|
|
716
719
|
}, 8, ["config"])) : c("", !0)
|
|
717
|
-
], 46,
|
|
720
|
+
], 46, Ct));
|
|
718
721
|
}
|
|
719
|
-
},
|
|
722
|
+
}, cl = /* @__PURE__ */ wt(Yt, [["__scopeId", "data-v-a6cdb6b5"]]);
|
|
720
723
|
export {
|
|
721
|
-
|
|
724
|
+
cl as default
|
|
722
725
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a1 as A, r as D, q as x, z as G, d as M, m as T, A as E, u as z, p as B } from "./index-
|
|
1
|
+
import { a1 as A, r as D, q as x, z as G, d as M, m as T, A as E, u as z, p as B } from "./index-9EeNZMz1.js";
|
|
2
2
|
import { createElementBlock as i, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as N, toDisplayString as u, Fragment as b, renderList as C, normalizeClass as f, createTextVNode as F, withDirectives as v, vModelText as p, withKeys as w, withModifiers as S, vModelSelect as H, createStaticVNode as P } from "vue";
|
|
3
3
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const U = {
|