vue-data-ui 2.4.71 → 2.4.73
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-N3xFD65D.js → Arrow-BFzy8iU0.js} +1 -1
- package/dist/{Arrow-B4T6F0Q-.cjs → Arrow-DB-kDYKr.cjs} +1 -1
- package/dist/{BaseIcon-D-UKDgjn.js → BaseIcon-CgOl0yXt.js} +1 -1
- package/dist/{BaseIcon-CAsWmn3X.cjs → BaseIcon-Drlv7iCA.cjs} +1 -1
- package/dist/{DataTable-CY8wYhvy.cjs → DataTable-C010-IaF.cjs} +1 -1
- package/dist/{DataTable-DPeuneOh.js → DataTable-DtvVWOjy.js} +2 -2
- package/dist/{Legend-BvGqIXVZ.js → Legend-CUhyETYn.js} +2 -2
- package/dist/{Legend-CYuhb0PP.cjs → Legend-DzWbU4w8.cjs} +1 -1
- package/dist/{PackageVersion-BWyr7kAX.js → PackageVersion-CBKqLhAX.js} +1 -1
- package/dist/{PackageVersion-CEHy6dLD.cjs → PackageVersion-CDIO8v3f.cjs} +1 -1
- package/dist/{PenAndPaper-BFVJi7-v.js → PenAndPaper-DtLD2Sq6.js} +3 -3
- package/dist/{PenAndPaper--vMes7_g.cjs → PenAndPaper-bCXNnqQx.cjs} +1 -1
- package/dist/{Shape-NS_4od1k.cjs → Shape-BWqOjk22.cjs} +1 -1
- package/dist/{Shape-BtwbxjIw.js → Shape-DmSvDf5d.js} +1 -1
- package/dist/{Slicer-C7m6owvG.js → Slicer-D6mP0vjU.js} +158 -151
- package/dist/Slicer-DGe_w6Mr.cjs +1 -0
- package/dist/{Title-Ct1AFzwA.cjs → Title-BlC0Lcua.cjs} +1 -1
- package/dist/{Title-P0Dd2k62.js → Title-C7EOYmwp.js} +1 -1
- package/dist/{Tooltip-kI9lsKQk.js → Tooltip-Bip4kr-u.js} +1 -1
- package/dist/{Tooltip-Bbb_oXZ2.cjs → Tooltip-DLISx9B0.cjs} +1 -1
- package/dist/index-DwCsX1sv.cjs +9 -0
- package/dist/{index-c1hnhYfV.js → index-MWHrTFPq.js} +5 -4
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useNestedProp-BaEkcxlF.cjs → useNestedProp-B618ZN94.cjs} +1 -1
- package/dist/{useNestedProp-CGSgnhXD.js → useNestedProp-CTDeT4KA.js} +1 -1
- package/dist/{usePrinter-VLD0kjns.js → usePrinter-CEEgHfhF.js} +1 -1
- package/dist/{usePrinter-DW-eWQbz.cjs → usePrinter-DTDziYU0.cjs} +1 -1
- package/dist/{vue-data-ui-Dj9mkE8h.js → vue-data-ui-CpZXDp-R.js} +60 -60
- package/dist/{vue-data-ui-CwDPE8Oy.cjs → vue-data-ui-Dpm9x-2I.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-CZ_H_Ort.cjs → vue-ui-3d-bar-Ccb9qG2p.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-BvKbGzct.js → vue-ui-3d-bar-vIP3nCRG.js} +9 -9
- package/dist/{vue-ui-accordion-WE2vM_c9.js → vue-ui-accordion-BnV2tlGp.js} +3 -3
- package/dist/{vue-ui-accordion-cPXglVwE.cjs → vue-ui-accordion-IzKVFSed.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-2_Esdk68.js → vue-ui-age-pyramid-C15VX7G1.js} +10 -10
- package/dist/{vue-ui-age-pyramid-CP3ZYQRg.cjs → vue-ui-age-pyramid-CDTgy9zN.cjs} +1 -1
- package/dist/{vue-ui-annotator-D78gkFCb.cjs → vue-ui-annotator-BhENVGnQ.cjs} +1 -1
- package/dist/{vue-ui-annotator-_DY9i-jv.js → vue-ui-annotator-BhtsSaDR.js} +1 -1
- package/dist/{vue-ui-bullet-La8gwBSn.cjs → vue-ui-bullet-CGlE3ghb.cjs} +1 -1
- package/dist/{vue-ui-bullet-DpGiFwFz.js → vue-ui-bullet-dHDkKetX.js} +8 -8
- package/dist/{vue-ui-candlestick-CjLJ2mSo.js → vue-ui-candlestick-BLWsnTPr.js} +11 -11
- package/dist/{vue-ui-candlestick-9E0cl6YC.cjs → vue-ui-candlestick-DzHbNn0a.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Dds0y3bB.cjs → vue-ui-carousel-table-CUmFG7Yv.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CcLxgNmE.js → vue-ui-carousel-table-xhtSLVVG.js} +4 -4
- package/dist/{vue-ui-chestnut-CYRzvXm4.cjs → vue-ui-chestnut-DY60WQ-p.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BGCKqGeJ.js → vue-ui-chestnut-DZPVlG7z.js} +8 -8
- package/dist/{vue-ui-cursor-CIpRQKNA.js → vue-ui-cursor-DCiuO-e6.js} +2 -2
- package/dist/{vue-ui-cursor-DsGMHjdu.cjs → vue-ui-cursor-DYsuRM6Y.cjs} +1 -1
- package/dist/{vue-ui-dashboard-vzINAFKO.js → vue-ui-dashboard-BJBOz0tQ.js} +2 -2
- package/dist/{vue-ui-dashboard-C9uV8m0l.cjs → vue-ui-dashboard-DnvPLTBU.cjs} +1 -1
- package/dist/{vue-ui-digits-D7L4mVDQ.cjs → vue-ui-digits-BmDSHirU.cjs} +1 -1
- package/dist/{vue-ui-digits-5pKusVfB.js → vue-ui-digits-a0Wd0sll.js} +2 -2
- package/dist/{vue-ui-donut-C3yNTWSD.js → vue-ui-donut-Cm1k9I1a.js} +12 -12
- package/dist/{vue-ui-donut-CfVskBpJ.cjs → vue-ui-donut-De9h9Izs.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CoGIWZla.cjs → vue-ui-donut-evolution-BwDfL-fW.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-BJbckdFI.js → vue-ui-donut-evolution-khk-S3e6.js} +11 -11
- package/dist/{vue-ui-dumbbell-B6zi81dT.cjs → vue-ui-dumbbell-DNHkmkDa.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CR_EOGDj.js → vue-ui-dumbbell-dKD-xCij.js} +10 -10
- package/dist/{vue-ui-flow-bYyrf1gH.js → vue-ui-flow-D5ZIyvku.js} +9 -9
- package/dist/{vue-ui-flow-7Pe2hnO2.cjs → vue-ui-flow-QYq8rVS6.cjs} +1 -1
- package/dist/{vue-ui-funnel-BPbhMvf2.js → vue-ui-funnel-CjcbxEZl.js} +9 -9
- package/dist/{vue-ui-funnel-C1b0_0pJ.cjs → vue-ui-funnel-xNDHpOxd.cjs} +1 -1
- package/dist/{vue-ui-galaxy-D1h1ygAs.cjs → vue-ui-galaxy-Bq1szxYu.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BToN6RNA.js → vue-ui-galaxy-L_b8up-c.js} +11 -11
- package/dist/{vue-ui-gauge-CNxd-r5C.cjs → vue-ui-gauge-BZ_Gnmhv.cjs} +1 -1
- package/dist/{vue-ui-gauge-Ceq5pwk-.js → vue-ui-gauge-i1loUdwb.js} +7 -7
- package/dist/{vue-ui-gizmo-DbElBwkm.js → vue-ui-gizmo-BhADCvS5.js} +3 -3
- package/dist/{vue-ui-gizmo-DWkq62O3.cjs → vue-ui-gizmo-rUiya6Wf.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BXRF06ON.js → vue-ui-heatmap-BMCUahJg.js} +10 -10
- package/dist/{vue-ui-heatmap-BrnLgp5m.cjs → vue-ui-heatmap-Bt3AkFuu.cjs} +1 -1
- package/dist/{vue-ui-history-plot-D-9ukthf.js → vue-ui-history-plot-Bh1B6SDn.js} +11 -11
- package/dist/{vue-ui-history-plot-CDHowMiE.cjs → vue-ui-history-plot-DhHpEPgC.cjs} +1 -1
- package/dist/{vue-ui-kpi-BsgILHej.cjs → vue-ui-kpi-CVwaWBQ4.cjs} +1 -1
- package/dist/{vue-ui-kpi-BlMuQuwt.js → vue-ui-kpi-DG85na3Z.js} +3 -3
- package/dist/{vue-ui-mini-loader-DE4E1rOh.cjs → vue-ui-mini-loader-CW5uljhA.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-B2dATbai.js → vue-ui-mini-loader-g-wfME0o.js} +2 -2
- package/dist/{vue-ui-molecule-BD5g9GDi.js → vue-ui-molecule-C22D7jDQ.js} +11 -11
- package/dist/{vue-ui-molecule-VJdcfXRg.cjs → vue-ui-molecule-xNKSRUYy.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DjK1rd7_.cjs → vue-ui-mood-radar-DB083W53.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CUFTQRHI.js → vue-ui-mood-radar-DHqkzff5.js} +11 -11
- package/dist/{vue-ui-nested-donuts-B1vXjhXt.cjs → vue-ui-nested-donuts-A9V5sFjm.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-Bj0ixTzU.js → vue-ui-nested-donuts-CfvBkvqM.js} +11 -11
- package/dist/{vue-ui-onion-Djvbmccm.js → vue-ui-onion-BFtuRugn.js} +11 -11
- package/dist/{vue-ui-onion-Be3dCMPm.cjs → vue-ui-onion-BR3FYwgu.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Wl0rWNwV.js → vue-ui-parallel-coordinate-plot-BhbIRdY8.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-BZGIlOko.cjs → vue-ui-parallel-coordinate-plot-CPjbY0gB.cjs} +1 -1
- package/dist/{vue-ui-quadrant-5EI0lHH8.js → vue-ui-quadrant-Cd2G90CO.js} +12 -12
- package/dist/{vue-ui-quadrant-OMxtVOol.cjs → vue-ui-quadrant-CtCmnyOq.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-DthUf3zm.js → vue-ui-quick-chart-DjbkyEAn.js} +81 -80
- package/dist/{vue-ui-quick-chart-BWAmjYZk.cjs → vue-ui-quick-chart-acDBigv4.cjs} +3 -3
- package/dist/{vue-ui-radar-kS3kEqr7.js → vue-ui-radar-CtHDktMI.js} +12 -12
- package/dist/{vue-ui-radar-BXp5pJwA.cjs → vue-ui-radar-GyNGG4F_.cjs} +1 -1
- package/dist/{vue-ui-rating-Bb4taywB.cjs → vue-ui-rating-CWItdxSk.cjs} +1 -1
- package/dist/{vue-ui-rating-nXra4COp.js → vue-ui-rating-CYgVuBjo.js} +2 -2
- package/dist/{vue-ui-relation-circle-7y-gznkO.cjs → vue-ui-relation-circle-KJn9wBGu.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-_0tbRheN.js → vue-ui-relation-circle-ejvqhT4b.js} +7 -7
- package/dist/{vue-ui-rings-DL_uxm3k.cjs → vue-ui-rings-DiH0bBai.cjs} +1 -1
- package/dist/{vue-ui-rings-AwK0LT8K.js → vue-ui-rings-KD_QCsYE.js} +12 -12
- package/dist/{vue-ui-scatter-C5ZzNcZo.cjs → vue-ui-scatter-CvElUANS.cjs} +1 -1
- package/dist/{vue-ui-scatter-Cy4oyzSE.js → vue-ui-scatter-DOH1HPw3.js} +12 -12
- package/dist/{vue-ui-screenshot-B94g6UvH.js → vue-ui-screenshot-BITjkBS9.js} +1 -1
- package/dist/{vue-ui-screenshot-CSz2xpyV.cjs → vue-ui-screenshot-C7ol12m8.cjs} +1 -1
- package/dist/{vue-ui-skeleton-BiAyTdIj.js → vue-ui-skeleton-Bo8ydREb.js} +3 -3
- package/dist/{vue-ui-skeleton-DccfcP2M.cjs → vue-ui-skeleton-DZILAxJl.cjs} +1 -1
- package/dist/{vue-ui-smiley-Bo-ByV7s.js → vue-ui-smiley-BqHQ_97X.js} +2 -2
- package/dist/{vue-ui-smiley-6oeUxwkD.cjs → vue-ui-smiley-DZlSDUEh.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CVbl6zbW.js → vue-ui-spark-trend-BRK61Rnt.js} +5 -5
- package/dist/{vue-ui-spark-trend-DPQigxMH.cjs → vue-ui-spark-trend-iuKFcv_t.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CrG_iymk.cjs → vue-ui-sparkbar-CNDwvl9M.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-BRAkYvlb.js → vue-ui-sparkbar-DV71hamO.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DFkJZIpt.cjs → vue-ui-sparkgauge-Bw6Q3ftn.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Dy8Di8Fk.js → vue-ui-sparkgauge-DJxWC0FB.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-kizOE0sI.cjs → vue-ui-sparkhistogram-C0VkDLpC.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-ByYe2ApH.js → vue-ui-sparkhistogram-C_oCdruX.js} +5 -5
- package/dist/{vue-ui-sparkline-CZ54vPZB.cjs → vue-ui-sparkline-D6q5IZbj.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Bx5zBaUb.js → vue-ui-sparkline-famAF3Kt.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-Dnh9Wmwk.cjs → vue-ui-sparkstackbar-BGSXz3Ot.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D1n9ycoR.js → vue-ui-sparkstackbar-BLq5OGLn.js} +5 -5
- package/dist/{vue-ui-stackbar-DAJsmHse.js → vue-ui-stackbar-CI6DowT7.js} +13 -13
- package/dist/{vue-ui-stackbar-Co36xw25.cjs → vue-ui-stackbar-DUsNMktN.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-Q3K-b7VS.cjs → vue-ui-strip-plot-9sHPtfR9.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-D6YFSsPG.js → vue-ui-strip-plot-DsZccTxg.js} +11 -11
- package/dist/{vue-ui-table-DBk8g3Bs.js → vue-ui-table-0jjDpR0j.js} +1 -1
- package/dist/{vue-ui-table-j3Ym9Km1.cjs → vue-ui-table-DA9O6gMs.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-YoQuniKw.cjs → vue-ui-table-heatmap-BXciKv8R.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-De7qDtci.js → vue-ui-table-heatmap-d9ATqjZ8.js} +4 -4
- package/dist/{vue-ui-table-sparkline-BmYjar6g.js → vue-ui-table-sparkline-BJ6dbbuD.js} +5 -5
- package/dist/{vue-ui-table-sparkline-CyBzmpr7.cjs → vue-ui-table-sparkline-DiQT9k1I.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BvUbzXLa.js → vue-ui-thermometer-f0uNNHZ1.js} +7 -7
- package/dist/{vue-ui-thermometer-1SmFY-CI.cjs → vue-ui-thermometer-vMezVlT_.cjs} +1 -1
- package/dist/{vue-ui-timer-BpjUTuOU.cjs → vue-ui-timer-Ba2N3EeH.cjs} +1 -1
- package/dist/{vue-ui-timer-D9uVxF_C.js → vue-ui-timer-CJm3cvYi.js} +5 -5
- package/dist/{vue-ui-tiremarks-BQF3ak_6.cjs → vue-ui-tiremarks-CDGyg1_d.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-V8g_zUaB.js → vue-ui-tiremarks-CqeZ7inu.js} +7 -7
- package/dist/{vue-ui-treemap-FbHFwpPz.cjs → vue-ui-treemap-BgTZ1GXz.cjs} +1 -1
- package/dist/{vue-ui-treemap-BnnAwwYN.js → vue-ui-treemap-DZPMwhAL.js} +11 -11
- package/dist/{vue-ui-vertical-bar-DIA9zb29.cjs → vue-ui-vertical-bar-BSgyIuF3.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-Cvq1Y3mD.js → vue-ui-vertical-bar-BuoDiJN8.js} +12 -12
- package/dist/{vue-ui-waffle-4mqNhUjX.cjs → vue-ui-waffle-C3s0ofJ8.cjs} +1 -1
- package/dist/{vue-ui-waffle-Bcn1ufKm.js → vue-ui-waffle-DhZwKoIz.js} +12 -12
- package/dist/{vue-ui-wheel-Cm5dzB-b.js → vue-ui-wheel-HzkUuTdN.js} +7 -7
- package/dist/{vue-ui-wheel-1xKki40n.cjs → vue-ui-wheel-rayY_1d1.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CIomS4Rm.cjs → vue-ui-word-cloud-BEQkmaGf.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BPlfNdCZ.js → vue-ui-word-cloud-C3W2SptW.js} +41 -41
- package/dist/{vue-ui-xy-CKeq1JdU.js → vue-ui-xy-Br-7q7r_.js} +27 -26
- package/dist/{vue-ui-xy-canvas-B9MvlWhR.js → vue-ui-xy-canvas-BpjQGfiF.js} +11 -11
- package/dist/{vue-ui-xy-canvas-DM7CW018.cjs → vue-ui-xy-canvas-BqLqQpxG.cjs} +1 -1
- package/dist/{vue-ui-xy-Cu1-2Lvl.cjs → vue-ui-xy-u_mB2PaU.cjs} +2 -2
- package/package.json +1 -1
- package/dist/Slicer-Cn_Jhg4Z.cjs +0 -1
- package/dist/index-CDbl3nHi.cjs +0 -9
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { useCssVars as De, computed as g, openBlock as u, createElementBlock as h, createVNode as le, renderSlot as d, createElementVNode as x, normalizeStyle as j, pushScopeId as Ee, popScopeId as Ge, ref as n, watch as ae, onMounted as Le, onBeforeUnmount as Xe, unref as v, createBlock as O, createCommentVNode as y, createSlots as je, withCtx as m, normalizeProps as A, guardReactiveProps as _, normalizeClass as Ce, Fragment as He, renderList as Ye, toDisplayString as ke, createTextVNode as qe, nextTick as we } from "vue";
|
|
2
|
-
import { u as Je, a3 as Ke, v as Qe, c as $e, t as Ze, a as et, p as X, o as tt, e as xe, g as ot, f as at, X as lt, q as st, r as nt, x as rt } from "./index-
|
|
3
|
-
import { _ as ut } from "./Title-
|
|
4
|
-
import { u as it, U as ct } from "./usePrinter-
|
|
2
|
+
import { u as Je, a3 as Ke, v as Qe, c as $e, t as Ze, a as et, p as X, o as tt, e as xe, g as ot, f as at, X as lt, q as st, r as nt, x as rt } from "./index-MWHrTFPq.js";
|
|
3
|
+
import { _ as ut } from "./Title-C7EOYmwp.js";
|
|
4
|
+
import { u as it, U as ct } from "./usePrinter-CEEgHfhF.js";
|
|
5
5
|
import { d as dt, t as vt, u as ht } from "./useResponsive-CoxXLe23.js";
|
|
6
|
-
import mt from "./vue-ui-accordion-
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
6
|
+
import mt from "./vue-ui-accordion-BnV2tlGp.js";
|
|
7
|
+
import { D as pt } from "./DataTable-DtvVWOjy.js";
|
|
8
|
+
import ft from "./BaseIcon-CgOl0yXt.js";
|
|
9
9
|
import { _ as Te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { u as Se } from "./useNestedProp-
|
|
11
|
-
import { _ as gt } from "./PackageVersion-
|
|
12
|
-
import { _ as yt } from "./Tooltip-
|
|
13
|
-
import { P as bt } from "./PenAndPaper-
|
|
10
|
+
import { u as Se } from "./useNestedProp-CTDeT4KA.js";
|
|
11
|
+
import { _ as gt } from "./PackageVersion-CBKqLhAX.js";
|
|
12
|
+
import { _ as yt } from "./Tooltip-Bip4kr-u.js";
|
|
13
|
+
import { P as bt } from "./PenAndPaper-DtLD2Sq6.js";
|
|
14
14
|
import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
-
const kt = (c) => (Ee("data-v-
|
|
15
|
+
const kt = (c) => (Ee("data-v-b4e6aee9"), c = c(), Ge(), c), wt = { "data-html2canvas-ignore": "" }, $t = {
|
|
16
16
|
key: 0,
|
|
17
17
|
class: "reset-wrapper"
|
|
18
18
|
}, xt = {
|
|
@@ -66,11 +66,11 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
66
66
|
setup(c, { emit: U }) {
|
|
67
67
|
const r = c;
|
|
68
68
|
De(($) => ({
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
69
|
+
"782b8172": H.value,
|
|
70
|
+
"102109e6": I.value,
|
|
71
|
+
"642212d7": w.value,
|
|
72
|
+
"1f5369d4": c.selectColor,
|
|
73
|
+
"22b98ab8": S.value
|
|
74
74
|
}));
|
|
75
75
|
const H = g(() => r.inputColor), S = g(() => r.background), w = g(() => `${r.selectColor}33`), I = g(() => r.borderColor);
|
|
76
76
|
function M() {
|
|
@@ -97,7 +97,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
97
97
|
class: "vue-data-ui-refresh-button",
|
|
98
98
|
onClick: M
|
|
99
99
|
}, [
|
|
100
|
-
le(
|
|
100
|
+
le(ft, {
|
|
101
101
|
name: "refresh",
|
|
102
102
|
stroke: c.textColor
|
|
103
103
|
}, null, 8, ["stroke"])
|
|
@@ -119,7 +119,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
119
119
|
])
|
|
120
120
|
]));
|
|
121
121
|
}
|
|
122
|
-
}, Pt = /* @__PURE__ */ Te(Nt, [["__scopeId", "data-v-
|
|
122
|
+
}, Pt = /* @__PURE__ */ Te(Nt, [["__scopeId", "data-v-b4e6aee9"]]), zt = ["id"], Ot = ["xmlns", "viewBox"], At = ["width", "height"], _t = ["transform"], It = ["fill", "font-weight", "x", "y", "font-size", "transform", "onMouseover"], Mt = {
|
|
123
123
|
key: 4,
|
|
124
124
|
class: "vue-data-ui-watermark"
|
|
125
125
|
}, Wt = ["innerHTML"], Rt = {
|
|
@@ -190,7 +190,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
190
190
|
K();
|
|
191
191
|
}, 10);
|
|
192
192
|
function J() {
|
|
193
|
-
F.value =
|
|
193
|
+
F.value = pe.value;
|
|
194
194
|
}
|
|
195
195
|
const V = n(null);
|
|
196
196
|
Le(() => {
|
|
@@ -220,7 +220,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
220
220
|
const { isPrinting: de, isImaging: ve, generatePdf: he, generateImage: me } = it({
|
|
221
221
|
elementId: `wordCloud_${I.value}`,
|
|
222
222
|
fileName: e.value.style.chart.title.text || "vue-ui-word-cloud"
|
|
223
|
-
}),
|
|
223
|
+
}), p = n({
|
|
224
224
|
showTable: e.value.table.show,
|
|
225
225
|
showTooltip: e.value.style.chart.tooltip.show
|
|
226
226
|
});
|
|
@@ -235,21 +235,21 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
235
235
|
return t.x < a.x + a.width && t.x + t.width > a.x && t.y < a.y + a.height && t.y + t.height > a.y;
|
|
236
236
|
}
|
|
237
237
|
function Oe(t, a, o) {
|
|
238
|
-
const i = [], l = { x: -a / 2, y: -o / 2, width: a, height: o },
|
|
238
|
+
const i = [], l = { x: -a / 2, y: -o / 2, width: a, height: o }, f = 0, P = 0;
|
|
239
239
|
return t.forEach((z) => {
|
|
240
240
|
let te = !1;
|
|
241
241
|
for (let L = 0; L < Math.max(a, o) / 2 && !te; L += e.value.style.chart.words.packingWeight)
|
|
242
242
|
for (let oe = 0; oe < 360 && !te; oe += e.value.style.chart.words.packingWeight) {
|
|
243
|
-
const be = oe * Math.PI / 180, We =
|
|
243
|
+
const be = oe * Math.PI / 180, We = f + L * Math.cos(be) - z.width / 2, Re = P + L * Math.sin(be) - z.height / 2, k = { ...z, x: We, y: Re }, Ue = k.x >= l.x && k.y >= l.y && k.x + k.width <= l.x + l.width && k.y + k.height <= l.y + l.height, Ve = i.some((Be) => ze(k, Be));
|
|
244
244
|
Ue && !Ve && (i.push(k), te = !0);
|
|
245
245
|
}
|
|
246
246
|
}), i;
|
|
247
247
|
}
|
|
248
248
|
const W = n([]);
|
|
249
249
|
ae(() => r.dataset, K, { immediate: !0 });
|
|
250
|
-
const
|
|
250
|
+
const pe = g(() => Math.min(...w.value.map((t) => t.value))), Ae = g(() => Math.max(...w.value.map((t) => t.value)));
|
|
251
251
|
function K() {
|
|
252
|
-
const t = [...w.value].filter((l) => l.value >= F.value).map((l) => l.value), a = Math.max(...t), o = Math.min(...t), i = [...w.value].filter((l) => l.value >= F.value).map((l,
|
|
252
|
+
const t = [...w.value].filter((l) => l.value >= F.value).map((l) => l.value), a = Math.max(...t), o = Math.min(...t), i = [...w.value].filter((l) => l.value >= F.value).map((l, f) => {
|
|
253
253
|
const P = (l.value - o) / (a - o) * (s.value.maxFontSize - s.value.minFontSize) + s.value.minFontSize, z = Pe(l.name, P);
|
|
254
254
|
return {
|
|
255
255
|
...l,
|
|
@@ -257,10 +257,10 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
257
257
|
fontSize: P,
|
|
258
258
|
width: z.width,
|
|
259
259
|
height: z.height,
|
|
260
|
-
color: e.value.style.chart.words.usePalette ? e.value.customPalette[
|
|
260
|
+
color: e.value.style.chart.words.usePalette ? e.value.customPalette[f] || e.value.customPalette[f % e.value.customPalette.length] || X[f] || X[f % X.length] : e.value.style.chart.words.color
|
|
261
261
|
};
|
|
262
262
|
});
|
|
263
|
-
W.value = Oe(i, s.value.width, s.value.height).sort((l,
|
|
263
|
+
W.value = Oe(i, s.value.width, s.value.height).sort((l, f) => f.fontSize - l.fontSize);
|
|
264
264
|
}
|
|
265
265
|
const B = g(() => {
|
|
266
266
|
const t = W.value.map((o) => ({
|
|
@@ -269,7 +269,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
269
269
|
})), a = W.value.map((o) => o.value);
|
|
270
270
|
return { head: t, body: a };
|
|
271
271
|
});
|
|
272
|
-
function
|
|
272
|
+
function fe() {
|
|
273
273
|
we(() => {
|
|
274
274
|
const t = B.value.head.map((i, l) => [[
|
|
275
275
|
i.name
|
|
@@ -281,8 +281,8 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
281
281
|
const t = [
|
|
282
282
|
e.value.table.columnNames.series,
|
|
283
283
|
e.value.table.columnNames.value
|
|
284
|
-
], a = B.value.head.map((l,
|
|
285
|
-
const P = at({ p: e.value.table.td.prefix, v: B.value.body[
|
|
284
|
+
], a = B.value.head.map((l, f) => {
|
|
285
|
+
const P = at({ p: e.value.table.td.prefix, v: B.value.body[f], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
|
|
286
286
|
return [
|
|
287
287
|
{
|
|
288
288
|
color: l.color,
|
|
@@ -320,10 +320,10 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
320
320
|
return W.value;
|
|
321
321
|
}
|
|
322
322
|
function ge() {
|
|
323
|
-
|
|
323
|
+
p.value.showTable = !p.value.showTable;
|
|
324
324
|
}
|
|
325
325
|
function ye() {
|
|
326
|
-
|
|
326
|
+
p.value.showTooltip = !p.value.showTooltip;
|
|
327
327
|
}
|
|
328
328
|
const G = n(!1);
|
|
329
329
|
function Q() {
|
|
@@ -331,7 +331,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
331
331
|
}
|
|
332
332
|
U({
|
|
333
333
|
getData: Ie,
|
|
334
|
-
generateCsv:
|
|
334
|
+
generateCsv: fe,
|
|
335
335
|
generatePdf: he,
|
|
336
336
|
generateImage: me,
|
|
337
337
|
toggleTable: ge,
|
|
@@ -340,7 +340,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
340
340
|
});
|
|
341
341
|
const N = n(null), R = n(!1), Z = n(""), ee = n(null);
|
|
342
342
|
function Me(t) {
|
|
343
|
-
if (!
|
|
343
|
+
if (!p.value.showTooltip) return;
|
|
344
344
|
N.value = t.id, ee.value = { datapoint: t, config: e.value };
|
|
345
345
|
const a = e.value.style.chart.tooltip.customFormat;
|
|
346
346
|
if (R.value = !1, rt(a))
|
|
@@ -412,12 +412,12 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
412
412
|
chartElement: b.value,
|
|
413
413
|
position: e.value.userOptions.position,
|
|
414
414
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
415
|
-
isTooltip:
|
|
415
|
+
isTooltip: p.value.showTooltip,
|
|
416
416
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
417
417
|
isAnnotation: G.value,
|
|
418
418
|
onToggleFullscreen: _e,
|
|
419
419
|
onGeneratePdf: v(he),
|
|
420
|
-
onGenerateCsv:
|
|
420
|
+
onGenerateCsv: fe,
|
|
421
421
|
onGenerateImage: v(me),
|
|
422
422
|
onToggleTable: ge,
|
|
423
423
|
onToggleTooltip: ye,
|
|
@@ -501,7 +501,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
501
501
|
y: o.y,
|
|
502
502
|
"font-size": o.fontSize,
|
|
503
503
|
transform: `translate(${o.width / 2}, ${o.height / 2})`,
|
|
504
|
-
class: Ce({ animated: e.value.useCssAnimation, "word-selected": N.value && N.value === o.id &&
|
|
504
|
+
class: Ce({ animated: e.value.useCssAnimation, "word-selected": N.value && N.value === o.id && p.value.showTooltip, "word-not-selected": N.value && N.value !== o.id && p.value.showTooltip }),
|
|
505
505
|
"text-anchor": "middle",
|
|
506
506
|
"dominant-baseline": "central",
|
|
507
507
|
onMouseover: (l) => Me(o),
|
|
@@ -520,7 +520,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
520
520
|
d(t.$slots, "watermark", A(_({ isPrinting: v(de) || v(ve) })), void 0, !0)
|
|
521
521
|
])) : y("", !0),
|
|
522
522
|
le(yt, {
|
|
523
|
-
show:
|
|
523
|
+
show: p.value.showTooltip && Y.value,
|
|
524
524
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
525
525
|
color: e.value.style.chart.tooltip.color,
|
|
526
526
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -552,7 +552,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
552
552
|
key: 0,
|
|
553
553
|
value: F.value,
|
|
554
554
|
"onUpdate:value": a[1] || (a[1] = (o) => F.value = o),
|
|
555
|
-
min:
|
|
555
|
+
min: pe.value,
|
|
556
556
|
max: Ae.value,
|
|
557
557
|
textColor: e.value.style.chart.color,
|
|
558
558
|
inputColor: e.value.style.chart.zoom.color,
|
|
@@ -581,7 +581,7 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
581
581
|
key: 6,
|
|
582
582
|
hideDetails: "",
|
|
583
583
|
config: {
|
|
584
|
-
open:
|
|
584
|
+
open: p.value.showTable,
|
|
585
585
|
maxHeight: 1e4,
|
|
586
586
|
body: {
|
|
587
587
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -594,14 +594,14 @@ const kt = (c) => (Ee("data-v-3fd7d274"), c = c(), Ge(), c), wt = { "data-html2c
|
|
|
594
594
|
}
|
|
595
595
|
}, {
|
|
596
596
|
content: m(() => [
|
|
597
|
-
(u(), O(
|
|
597
|
+
(u(), O(pt, {
|
|
598
598
|
key: `table_${se.value}`,
|
|
599
599
|
colNames: D.value.colNames,
|
|
600
600
|
head: D.value.head,
|
|
601
601
|
body: D.value.body,
|
|
602
602
|
config: D.value.config,
|
|
603
603
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
604
|
-
onClose: a[2] || (a[2] = (o) =>
|
|
604
|
+
onClose: a[2] || (a[2] = (o) => p.value.showTable = !1)
|
|
605
605
|
}, {
|
|
606
606
|
th: m(({ th: o }) => [
|
|
607
607
|
x("div", {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { c as J, a as K, t as Q, z as j, p as $, V as X, O as R, f as U, L as ee, G as te, i as re, a4 as ae, a1 as le, a5 as ie, v as se, a6 as ne, d as he, B as oe, b as ce, q as de, R as ue, a7 as ge, r as fe, e as Ie, a2 as me, y as Ne, C as xe, x as be, a8 as Fe, Z as _e, o as Ae, s as ye, w as Le, F as Ce, A as Se, u as ke } from "./index-
|
|
2
|
-
import { D as we } from "./DataTable-
|
|
3
|
-
import { _ as Oe } from "./Title-
|
|
4
|
-
import { _ as Ge, u as ve } from "./Tooltip-
|
|
5
|
-
import { U as ze } from "./usePrinter-
|
|
6
|
-
import { _ as pe } from "./Shape-
|
|
7
|
-
import Me from "./BaseIcon-
|
|
8
|
-
import Ve from "./vue-ui-table-sparkline-
|
|
9
|
-
import Te from "./vue-ui-skeleton-
|
|
10
|
-
import { S as Pe } from "./Slicer-
|
|
11
|
-
import Re from "./vue-ui-accordion-
|
|
12
|
-
import { u as Z } from "./useNestedProp-
|
|
13
|
-
import { _ as De } from "./PackageVersion-
|
|
14
|
-
import { P as He } from "./PenAndPaper-
|
|
1
|
+
import { c as J, a as K, t as Q, z as j, p as $, V as X, O as R, f as U, L as ee, G as te, i as re, a4 as ae, a1 as le, a5 as ie, v as se, a6 as ne, d as he, B as oe, b as ce, q as de, R as ue, a7 as ge, r as fe, e as Ie, a2 as me, y as Ne, C as xe, x as be, a8 as Fe, Z as _e, o as Ae, s as ye, w as Le, F as Ce, A as Se, u as ke } from "./index-MWHrTFPq.js";
|
|
2
|
+
import { D as we } from "./DataTable-DtvVWOjy.js";
|
|
3
|
+
import { _ as Oe } from "./Title-C7EOYmwp.js";
|
|
4
|
+
import { _ as Ge, u as ve } from "./Tooltip-Bip4kr-u.js";
|
|
5
|
+
import { U as ze } from "./usePrinter-CEEgHfhF.js";
|
|
6
|
+
import { _ as pe } from "./Shape-DmSvDf5d.js";
|
|
7
|
+
import Me from "./BaseIcon-CgOl0yXt.js";
|
|
8
|
+
import Ve from "./vue-ui-table-sparkline-BJ6dbbuD.js";
|
|
9
|
+
import Te from "./vue-ui-skeleton-Bo8ydREb.js";
|
|
10
|
+
import { S as Pe } from "./Slicer-D6mP0vjU.js";
|
|
11
|
+
import Re from "./vue-ui-accordion-BnV2tlGp.js";
|
|
12
|
+
import { u as Z } from "./useNestedProp-CTDeT4KA.js";
|
|
13
|
+
import { _ as De } from "./PackageVersion-CBKqLhAX.js";
|
|
14
|
+
import { P as He } from "./PenAndPaper-DtLD2Sq6.js";
|
|
15
15
|
import { resolveComponent as T, openBlock as l, createElementBlock as i, normalizeClass as P, normalizeStyle as L, createBlock as D, createCommentVNode as c, createSlots as Be, withCtx as M, renderSlot as S, normalizeProps as H, guardReactiveProps as B, createVNode as q, createElementVNode as f, Fragment as I, renderList as m, toDisplayString as k, mergeProps as We, withDirectives as Ee, vModelCheckbox as Ye, createTextVNode as qe } from "vue";
|
|
16
16
|
import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Ue = J(), Ze = {
|
|
@@ -1795,25 +1795,25 @@ function ra(r, s, o, u, t, e) {
|
|
|
1795
1795
|
}, [
|
|
1796
1796
|
a.useArea && a.plots.length > 1 ? (l(), i("g", ir, [
|
|
1797
1797
|
a.smooth ? (l(), i(I, { key: 0 }, [
|
|
1798
|
+
f("path", {
|
|
1799
|
+
d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((n) => !!n).map((n) => n.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} ${a.curve} L ${a.plots.at(-1) ? a.plots.at(-1).x : e.drawingArea.left + e.slot.line * h + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} Z`,
|
|
1800
|
+
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1801
|
+
}, null, 8, sr),
|
|
1798
1802
|
r.$slots.pattern ? (l(), i("path", {
|
|
1799
1803
|
key: 0,
|
|
1800
1804
|
d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((n) => !!n).map((n) => n.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} ${a.curve} L ${a.plots.at(-1) ? a.plots.at(-1).x : e.drawingArea.left + e.slot.line * h + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} Z`,
|
|
1801
1805
|
fill: `url(#pattern_${t.uniqueId}_${a.slotAbsoluteIndex})`
|
|
1802
|
-
}, null, 8,
|
|
1803
|
-
key: 1,
|
|
1804
|
-
d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((n) => !!n).map((n) => n.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} ${a.curve} L ${a.plots.at(-1) ? a.plots.at(-1).x : e.drawingArea.left + e.slot.line * h + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} Z`,
|
|
1805
|
-
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1806
|
-
}, null, 8, nr))
|
|
1806
|
+
}, null, 8, nr)) : c("", !0)
|
|
1807
1807
|
], 64)) : (l(), i(I, { key: 1 }, [
|
|
1808
|
+
f("path", {
|
|
1809
|
+
d: `M${a.area}Z`,
|
|
1810
|
+
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1811
|
+
}, null, 8, hr),
|
|
1808
1812
|
r.$slots.pattern ? (l(), i("path", {
|
|
1809
1813
|
key: 0,
|
|
1810
1814
|
d: `M${a.area}Z`,
|
|
1811
1815
|
fill: `url(#pattern_${t.uniqueId}_${a.slotAbsoluteIndex})`
|
|
1812
|
-
}, null, 8,
|
|
1813
|
-
key: 1,
|
|
1814
|
-
d: `M${a.area}Z`,
|
|
1815
|
-
fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
|
|
1816
|
-
}, null, 8, or))
|
|
1816
|
+
}, null, 8, or)) : c("", !0)
|
|
1817
1817
|
], 64))
|
|
1818
1818
|
])) : c("", !0),
|
|
1819
1819
|
a.smooth && a.plots.length > 1 ? (l(), i("path", {
|
|
@@ -2288,6 +2288,7 @@ function ra(r, s, o, u, t, e) {
|
|
|
2288
2288
|
minimapSelectedColorOpacity: e.FINAL_CONFIG.chart.zoom.minimap.selectedColorOpacity,
|
|
2289
2289
|
minimapSelectedIndex: t.selectedSerieIndex,
|
|
2290
2290
|
minimapIndicatorColor: e.FINAL_CONFIG.chart.zoom.minimap.indicatorColor,
|
|
2291
|
+
verticalHandles: e.FINAL_CONFIG.chart.zoom.minimap.verticalHandles,
|
|
2291
2292
|
max: t.maxX,
|
|
2292
2293
|
min: 0,
|
|
2293
2294
|
valueStart: t.slicer.start,
|
|
@@ -2307,7 +2308,7 @@ function ra(r, s, o, u, t, e) {
|
|
|
2307
2308
|
S(r.$slots, "reset-action", H(B({ reset: a })), void 0, !0)
|
|
2308
2309
|
]),
|
|
2309
2310
|
_: 3
|
|
2310
|
-
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "onReset", "onTrapMouse"])) : c("", !0),
|
|
2311
|
+
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "onReset", "onTrapMouse"])) : c("", !0),
|
|
2311
2312
|
e.FINAL_CONFIG.chart.legend.show ? (l(), i("div", {
|
|
2312
2313
|
key: 8,
|
|
2313
2314
|
ref: "chartLegend",
|
|
@@ -2471,7 +2472,7 @@ function ra(r, s, o, u, t, e) {
|
|
|
2471
2472
|
}, 8, ["config"])) : c("", !0)
|
|
2472
2473
|
], 46, Je);
|
|
2473
2474
|
}
|
|
2474
|
-
const ba = /* @__PURE__ */ Xe(Ze, [["render", ra], ["__scopeId", "data-v-
|
|
2475
|
+
const ba = /* @__PURE__ */ Xe(Ze, [["render", ra], ["__scopeId", "data-v-e67e9b01"]]);
|
|
2475
2476
|
export {
|
|
2476
2477
|
ba as default
|
|
2477
2478
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ref as i, computed as x, useSlots as Ta, onMounted as aa, watch as A, nextTick as ce, onBeforeUnmount as Oa, openBlock as z, createElementBlock as K, normalizeStyle as B, normalizeClass as Ra, unref as S, createBlock as E, createCommentVNode as H, createSlots as Pa, withCtx as b, renderSlot as L, normalizeProps as Y, guardReactiveProps as V, createElementVNode as Q, createVNode as Fa, toDisplayString as la, createTextVNode as Ea } from "vue";
|
|
2
|
-
import { u as Da, c as Na, t as Aa, a as Ha, p as _, C as de, b as _a, D as we, i as ee, f as ae, Z as Ua, J as Wa, d as ta, a4 as Xa, o as Ba, e as Ya, x as oa, y as Va, q as Za, r as Ga, s as le, l as ja } from "./index-
|
|
2
|
+
import { u as Da, c as Na, t as Aa, a as Ha, p as _, C as de, b as _a, D as we, i as ee, f as ae, Z as Ua, J as Wa, d as ta, a4 as Xa, o as Ba, e as Ya, x as oa, y as Va, q as Za, r as Ga, s as le, l as ja } from "./index-MWHrTFPq.js";
|
|
3
3
|
import { d as qa, c as Ja, a as ra, t as Ka, l as k, r as ze, b as D, p as ua, u as Qa } from "./useResponsive-CoxXLe23.js";
|
|
4
|
-
import { _ as el } from "./Tooltip-
|
|
5
|
-
import { L as al } from "./Legend-
|
|
6
|
-
import { _ as ll } from "./Title-
|
|
7
|
-
import { S as tl } from "./Slicer-
|
|
8
|
-
import { u as ol, U as rl } from "./usePrinter-
|
|
9
|
-
import ul from "./vue-ui-accordion-
|
|
10
|
-
import { D as sl } from "./DataTable-
|
|
11
|
-
import nl from "./vue-ui-skeleton-
|
|
12
|
-
import { u as sa } from "./useNestedProp-
|
|
13
|
-
import { P as il } from "./PenAndPaper-
|
|
4
|
+
import { _ as el } from "./Tooltip-Bip4kr-u.js";
|
|
5
|
+
import { L as al } from "./Legend-CUhyETYn.js";
|
|
6
|
+
import { _ as ll } from "./Title-C7EOYmwp.js";
|
|
7
|
+
import { S as tl } from "./Slicer-D6mP0vjU.js";
|
|
8
|
+
import { u as ol, U as rl } from "./usePrinter-CEEgHfhF.js";
|
|
9
|
+
import ul from "./vue-ui-accordion-BnV2tlGp.js";
|
|
10
|
+
import { D as sl } from "./DataTable-DtvVWOjy.js";
|
|
11
|
+
import nl from "./vue-ui-skeleton-Bo8ydREb.js";
|
|
12
|
+
import { u as sa } from "./useNestedProp-CTDeT4KA.js";
|
|
13
|
+
import { P as il } from "./PenAndPaper-DtLD2Sq6.js";
|
|
14
14
|
import { u as vl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
16
|
const dl = ["id"], hl = ["onClick"], yl = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("vue"),u=require("./index-DwCsX1sv.cjs"),c=require("./useResponsive-BJ7DTGpm.cjs"),ot=require("./Tooltip-DLISx9B0.cjs"),rt=require("./Legend-DzWbU4w8.cjs"),nt=require("./Title-BlC0Lcua.cjs"),ut=require("./Slicer-DGe_w6Mr.cjs"),Ee=require("./usePrinter-DTDziYU0.cjs"),st=require("./vue-ui-accordion-IzKVFSed.cjs"),it=require("./DataTable-C010-IaF.cjs"),ct=require("./vue-ui-skeleton-DZILAxJl.cjs"),Ne=require("./useNestedProp-B618ZN94.cjs"),vt=require("./PenAndPaper-bCXNnqQx.cjs"),dt=require("./useUserOptionState-BgepsfED.cjs"),ht=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ft=["id"],yt=["onClick"],gt={key:2,class:"vue-data-ui-watermark"},pt=["innerHTML"],mt={__name:"vue-ui-xy-canvas",props:{dataset:{type:Array,default(){return[]}},config:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(re,{expose:Be,emit:De}){const p=re,{vue_ui_xy_canvas:Fe}=u.useConfig(),Z=l.ref(u.createUid()),N=l.ref(null),S=l.ref(null),B=l.ref(null),i=l.ref(null),g=l.ref(1),T=l.ref(1),H=l.ref(!1),f=l.ref(null),V=l.ref(""),ne=l.ref(null),C=l.ref([]),O=l.ref(1),M=l.ref(!0),z=l.ref(!0),G=l.ref(null),ue=l.ref(0),se=l.ref(0),U=l.ref(!1),ie=l.ref(null),ce=l.ref(null),ve=l.ref(null),de=l.ref(null),j=l.ref(0),J=l.ref(0),K=l.ref(0),Q=l.computed(()=>!!p.dataset&&p.dataset.length),Ae=l.useSlots();l.onMounted(()=>{Ae["chart-background"]&&console.warn("VueUiXyCanvas does not support the #chart-background slot.")});const t=l.computed({get:()=>ye(),set:e=>e}),{userOptionsVisible:ee,setUserOptionsVisibility:he,keepUserOptionState:fe}=dt.useUserOptionState({config:t.value});function ye(){const e=Ne.useNestedProp({userConfig:p.config,defaultConfig:Fe});let a={};return e.theme?a={...Ne.useNestedProp({userConfig:u.themes.vue_ui_xy_canvas[e.theme]||p.config,defaultConfig:e}),customPalette:u.themePalettes[e.theme]||u.palette}:a=e,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.min")?a.style.chart.scale.min=p.config.style.chart.scale.min:a.style.chart.scale.min=null,p.config&&u.hasDeepProperty(p.config,"style.chart.scale.max")?a.style.chart.scale.max=p.config.style.chart.scale.max:a.style.chart.scale.max=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.startIndex")?a.style.chart.zoom.startIndex=p.config.style.chart.zoom.startIndex:a.style.chart.zoom.startIndex=null,p.config&&u.hasDeepProperty(p.config,"style.chart.zoom.endIndex")?a.style.chart.zoom.endIndex=p.config.style.chart.zoom.endIndex:a.style.chart.zoom.endIndex=null,a}l.watch(()=>p.config,e=>{t.value=ye(),ee.value=!t.value.showOnChartHover,le(),j.value+=1,J.value+=1,K.value+=1},{deep:!0}),l.watch(()=>p.dataset,()=>{le(),j.value+=1,J.value+=1,K.value+=1},{deep:!0});const ge=l.ref(t.value.style.chart.aspectRatio),{isPrinting:pe,isImaging:me,generatePdf:be,generateImage:xe}=Ee.usePrinter({elementId:`xy_canvas_${Z.value}`,fileName:t.value.style.chart.title.text||"vue-ui-xy-canvas"}),s=l.ref({showTable:t.value.table.show,showDataLabels:t.value.style.chart.dataLabels.show,stacked:t.value.style.chart.stacked,showTooltip:t.value.style.chart.tooltip.show});function He(e){U.value=e,se.value+=1}const ke=l.computed(()=>u.convertCustomPalette(t.value.customPalette)),w=l.computed(()=>R.value?Math.max(...R.value.filter((e,a)=>!C.value.includes(e.absoluteIndex)).map(e=>e.series.length)):0),o=l.computed(()=>{const e=g.value-g.value*(t.value.style.chart.paddingProportions.left+t.value.style.chart.paddingProportions.right);return{canvasWidth:g.value,canvasHeight:T.value,left:g.value*t.value.style.chart.paddingProportions.left,top:T.value*t.value.style.chart.paddingProportions.top,right:g.value-g.value*t.value.style.chart.paddingProportions.right,bottom:T.value-T.value*t.value.style.chart.paddingProportions.bottom,width:e,height:T.value-T.value*(t.value.style.chart.paddingProportions.top+t.value.style.chart.paddingProportions.bottom),slot:e/(n.value.end-n.value.start)}});function Le(e,a){return e/a}function Ve({hasAutoScale:e,series:a,min:r,max:d,scale:h,yOffset:m,individualHeight:v,stackIndex:b=null}){return a.map((L,oe)=>{const $=h.min<0?Math.abs(h.min):0,I=Le(L+$,$+h.max);let P,D;e&&(P=Math.abs(h.min),D=Le(L+P,h.max+P));let F=0;return b===null?F=o.value.bottom-o.value.height*(e?D:I):F=o.value.bottom-m-v*(e?D:I),{x:o.value.left+o.value.slot*oe+o.value.slot/2,y:F,value:L}})}const x=l.computed(()=>{const e=t.value.style.chart.scale.min!==null?t.value.style.chart.scale.min:Math.min(...R.value.filter((v,b)=>!C.value.includes(v.absoluteIndex)).flatMap(v=>v.series.slice(n.value.start,n.value.end))),a=t.value.style.chart.scale.max!==null?t.value.style.chart.scale.max:Math.max(...R.value.filter((v,b)=>!C.value.includes(v.absoluteIndex)).flatMap(v=>v.series.slice(n.value.start,n.value.end))),r=u.calculateNiceScale(e<0?e:0,a===e?e+1<0?0:e+1:a<0?0:a,t.value.style.chart.scale.ticks),d=r.min<0?Math.abs(r.min):0,h=o.value.bottom-o.value.height*(d/(r.max+d)),m=r.ticks.map(v=>({y:o.value.bottom-o.value.height*((v+d)/(r.max+d)),x:o.value.left-8,value:v}));return{absoluteMin:d,max:a,min:e,scale:r,yLabels:m,zero:h}}),Ue=l.computed(()=>y.value.map(e=>`
|
|
2
2
|
<div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
|
|
3
3
|
<svg viewBox="0 0 10 10" height="12" width="12">
|
|
4
4
|
<circle cx="5" cy="5" r="5" fill="${e.color}"/>
|