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,24 +1,25 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { d as
|
|
6
|
-
import
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
1
|
+
import { useCssVars as Ee, computed as y, createElementBlock as v, openBlock as r, createElementVNode as S, renderSlot as i, createVNode as ne, normalizeStyle as q, ref as n, watch as se, onMounted as Ge, onBeforeUnmount as Le, unref as d, createBlock as P, createCommentVNode as w, createSlots as Xe, withCtx as m, normalizeProps as M, guardReactiveProps as _, normalizeClass as ke, Fragment as je, renderList as qe, toDisplayString as we, createTextVNode as He, nextTick as $e } from "vue";
|
|
2
|
+
import { u as Ye, a4 as Je, v as Ke, c as xe, t as Qe, p as j, a as Ze, o as et, e as Te, g as tt, f as ot, X as at, q as lt, r as st, x as nt } from "./index-9EeNZMz1.js";
|
|
3
|
+
import { _ as rt } from "./Title-BI8etrRU.js";
|
|
4
|
+
import { u as ut, U as it } from "./usePrinter-ngrh00Ym.js";
|
|
5
|
+
import { d as ct, t as dt, u as vt } from "./useResponsive-BWapHhVH.js";
|
|
6
|
+
import ht from "./vue-ui-accordion-Qo8JxnIN.js";
|
|
7
|
+
import { D as mt } from "./DataTable-TjJIVFlL.js";
|
|
8
|
+
import ft from "./BaseIcon-CDx9pxUG.js";
|
|
9
9
|
import { _ as Fe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
import { u as Se } from "./useNestedProp-
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
|
|
10
|
+
import { u as Se } from "./useNestedProp-df_bKQEI.js";
|
|
11
|
+
import { _ as pt } from "./PackageVersion-QRvxRYPv.js";
|
|
12
|
+
import { _ as gt } from "./Tooltip-Cxc8c50d.js";
|
|
13
|
+
import { P as yt } from "./PenAndPaper-CxC1lWGK.js";
|
|
14
|
+
import { u as bt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { u as Ct } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
+
const kt = { "data-html2canvas-ignore": "" }, wt = {
|
|
16
17
|
key: 0,
|
|
17
18
|
class: "reset-wrapper"
|
|
18
|
-
},
|
|
19
|
+
}, $t = {
|
|
19
20
|
key: 1,
|
|
20
21
|
class: "reset-wrapper"
|
|
21
|
-
},
|
|
22
|
+
}, xt = { class: "mono-slicer" }, Tt = ["min", "max", "value"], St = {
|
|
22
23
|
__name: "MonoSlicer",
|
|
23
24
|
props: {
|
|
24
25
|
min: {
|
|
@@ -64,16 +65,16 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
64
65
|
},
|
|
65
66
|
emits: ["update:value", "reset"],
|
|
66
67
|
setup(f, { emit: H }) {
|
|
67
|
-
|
|
68
|
+
Ee((T) => ({
|
|
68
69
|
"782b8172": h.value,
|
|
69
70
|
"102109e6": I.value,
|
|
70
71
|
"642212d7": x.value,
|
|
71
72
|
"1f5369d4": f.selectColor,
|
|
72
73
|
"22b98ab8": F.value
|
|
73
74
|
}));
|
|
74
|
-
const p = f, h = y(() => p.inputColor), F = y(() => p.background), x = y(() => `${p.selectColor}33`), I = y(() => p.borderColor),
|
|
75
|
+
const p = f, h = y(() => p.inputColor), F = y(() => p.background), x = y(() => `${p.selectColor}33`), I = y(() => p.borderColor), R = H;
|
|
75
76
|
function C() {
|
|
76
|
-
|
|
77
|
+
R("reset");
|
|
77
78
|
}
|
|
78
79
|
const V = y(() => {
|
|
79
80
|
const T = p.max - p.min, b = 0, N = (p.value - p.min) / T * 100;
|
|
@@ -83,8 +84,8 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
83
84
|
background: p.selectColor
|
|
84
85
|
};
|
|
85
86
|
});
|
|
86
|
-
return (T, b) => (r(), v("div",
|
|
87
|
-
f.value !== f.source ? (r(), v("div",
|
|
87
|
+
return (T, b) => (r(), v("div", kt, [
|
|
88
|
+
f.value !== f.source ? (r(), v("div", wt, [
|
|
88
89
|
f.useResetSlot ? i(T.$slots, "reset-action", {
|
|
89
90
|
key: 1,
|
|
90
91
|
reset: C
|
|
@@ -96,13 +97,13 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
96
97
|
class: "vue-data-ui-refresh-button",
|
|
97
98
|
onClick: C
|
|
98
99
|
}, [
|
|
99
|
-
ne(
|
|
100
|
+
ne(ft, {
|
|
100
101
|
name: "refresh",
|
|
101
102
|
stroke: f.textColor
|
|
102
103
|
}, null, 8, ["stroke"])
|
|
103
104
|
]))
|
|
104
|
-
])) : (r(), v("div",
|
|
105
|
-
S("div",
|
|
105
|
+
])) : (r(), v("div", $t)),
|
|
106
|
+
S("div", xt, [
|
|
106
107
|
b[1] || (b[1] = S("div", { class: "slider-track" }, null, -1)),
|
|
107
108
|
S("div", {
|
|
108
109
|
class: "range-highlight",
|
|
@@ -113,15 +114,15 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
113
114
|
min: f.min,
|
|
114
115
|
max: f.max,
|
|
115
116
|
value: Number(f.value),
|
|
116
|
-
onInput: b[0] || (b[0] = (N) =>
|
|
117
|
-
}, null, 40,
|
|
117
|
+
onInput: b[0] || (b[0] = (N) => R("update:value", Number(N.target.value)))
|
|
118
|
+
}, null, 40, Tt)
|
|
118
119
|
])
|
|
119
120
|
]));
|
|
120
121
|
}
|
|
121
|
-
},
|
|
122
|
+
}, Ft = /* @__PURE__ */ Fe(St, [["__scopeId", "data-v-b4e6aee9"]]), Nt = ["id"], zt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["transform"], Pt = ["fill", "font-weight", "x", "y", "font-size", "transform", "onMouseover"], Mt = {
|
|
122
123
|
key: 4,
|
|
123
124
|
class: "vue-data-ui-watermark"
|
|
124
|
-
},
|
|
125
|
+
}, _t = ["innerHTML"], It = {
|
|
125
126
|
__name: "vue-ui-word-cloud",
|
|
126
127
|
props: {
|
|
127
128
|
config: {
|
|
@@ -138,20 +139,20 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
138
139
|
}
|
|
139
140
|
},
|
|
140
141
|
setup(f, { expose: H }) {
|
|
141
|
-
const { vue_ui_word_cloud: p } =
|
|
142
|
+
const { vue_ui_word_cloud: p } = Ye(), h = f, F = y({
|
|
142
143
|
get() {
|
|
143
144
|
return !!h.dataset && h.dataset.length;
|
|
144
145
|
},
|
|
145
146
|
set(t) {
|
|
146
147
|
return t;
|
|
147
148
|
}
|
|
148
|
-
}), x = n(typeof h.dataset == "string" ?
|
|
149
|
+
}), x = n(typeof h.dataset == "string" ? Je(h.dataset) : h.dataset.map((t, a) => ({
|
|
149
150
|
...t,
|
|
150
|
-
value:
|
|
151
|
-
}))), I = n(xe()),
|
|
151
|
+
value: Ke(t.value)
|
|
152
|
+
}))), I = n(xe()), R = n(0), C = n(null), V = n(null), T = n(null), b = n(0), N = n(0), Y = n(!1), e = y({
|
|
152
153
|
get: () => ie(),
|
|
153
154
|
set: (t) => t
|
|
154
|
-
}), { userOptionsVisible: J, setUserOptionsVisibility: re, keepUserOptionState: ue } =
|
|
155
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: re, keepUserOptionState: ue } = bt({ config: e.value }), { svgRef: Ne } = Ct({ config: e.value.style.chart.title });
|
|
155
156
|
function ie() {
|
|
156
157
|
const t = Se({
|
|
157
158
|
userConfig: h.config,
|
|
@@ -159,10 +160,10 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
159
160
|
});
|
|
160
161
|
return t.theme ? {
|
|
161
162
|
...Se({
|
|
162
|
-
userConfig:
|
|
163
|
+
userConfig: Ze.vue_ui_word_cloud[t.theme] || h.config,
|
|
163
164
|
defaultConfig: t
|
|
164
165
|
}),
|
|
165
|
-
customPalette:
|
|
166
|
+
customPalette: Qe[t.theme] || j
|
|
166
167
|
} : t;
|
|
167
168
|
}
|
|
168
169
|
se(() => h.config, (t) => {
|
|
@@ -173,8 +174,8 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
173
174
|
height: e.value.style.chart.height,
|
|
174
175
|
maxFontSize: e.value.style.chart.words.maxFontSize,
|
|
175
176
|
minFontSize: e.value.style.chart.words.minFontSize
|
|
176
|
-
}),
|
|
177
|
-
const { width: t, height: a } =
|
|
177
|
+
}), ze = dt(() => {
|
|
178
|
+
const { width: t, height: a } = vt({
|
|
178
179
|
chart: C.value,
|
|
179
180
|
title: e.value.style.chart.title.text ? V.value : null,
|
|
180
181
|
slicer: e.value.style.chart.zoom.show && ce.value,
|
|
@@ -185,24 +186,24 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
185
186
|
});
|
|
186
187
|
});
|
|
187
188
|
se(() => z.value, () => {
|
|
188
|
-
|
|
189
|
+
Ae();
|
|
189
190
|
});
|
|
190
|
-
const
|
|
191
|
+
const Ae = ct(() => {
|
|
191
192
|
Z();
|
|
192
193
|
}, 10);
|
|
193
194
|
function K() {
|
|
194
195
|
z.value = Q.value;
|
|
195
196
|
}
|
|
196
197
|
const B = n(null);
|
|
197
|
-
|
|
198
|
+
Ge(() => {
|
|
198
199
|
de(), K();
|
|
199
200
|
});
|
|
200
201
|
function de() {
|
|
201
|
-
|
|
202
|
+
et(h.dataset) ? Te({
|
|
202
203
|
componentName: "VueUiWordCloud",
|
|
203
204
|
type: "dataset"
|
|
204
205
|
}) : x.value.forEach((t, a) => {
|
|
205
|
-
|
|
206
|
+
tt({
|
|
206
207
|
datasetObject: t,
|
|
207
208
|
requiredAttributes: ["name", "value"]
|
|
208
209
|
}).forEach((o) => {
|
|
@@ -213,12 +214,12 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
213
214
|
index: a
|
|
214
215
|
});
|
|
215
216
|
});
|
|
216
|
-
}), e.value.responsive && (B.value = new ResizeObserver(
|
|
217
|
+
}), e.value.responsive && (B.value = new ResizeObserver(ze), B.value.observe(C.value.parentNode));
|
|
217
218
|
}
|
|
218
|
-
|
|
219
|
+
Le(() => {
|
|
219
220
|
B.value && B.value.disconnect();
|
|
220
221
|
});
|
|
221
|
-
const { isPrinting: ve, isImaging: he, generatePdf: me, generateImage: fe } =
|
|
222
|
+
const { isPrinting: ve, isImaging: he, generatePdf: me, generateImage: fe } = ut({
|
|
222
223
|
elementId: `wordCloud_${I.value}`,
|
|
223
224
|
fileName: e.value.style.chart.title.text || "vue-ui-word-cloud"
|
|
224
225
|
}), c = n({
|
|
@@ -235,49 +236,49 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
235
236
|
function Pe(t, a) {
|
|
236
237
|
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;
|
|
237
238
|
}
|
|
238
|
-
function
|
|
239
|
+
function Me(t, a, o) {
|
|
239
240
|
const u = [], l = { x: -a / 2, y: -o / 2, width: a, height: o }, g = 0, k = 0;
|
|
240
|
-
return t.forEach((
|
|
241
|
+
return t.forEach((O) => {
|
|
241
242
|
let ae = !1;
|
|
242
243
|
for (let X = 0; X < Math.max(a, o) / 2 && !ae; X += e.value.style.chart.words.packingWeight)
|
|
243
244
|
for (let le = 0; le < 360 && !ae; le += e.value.style.chart.words.packingWeight) {
|
|
244
|
-
const Ce = le * Math.PI / 180, We = g + X * Math.cos(Ce) -
|
|
245
|
-
|
|
245
|
+
const Ce = le * Math.PI / 180, We = g + X * Math.cos(Ce) - O.width / 2, Ue = k + X * Math.sin(Ce) - O.height / 2, $ = { ...O, x: We, y: Ue }, Ve = $.x >= l.x && $.y >= l.y && $.x + $.width <= l.x + l.width && $.y + $.height <= l.y + l.height, Be = u.some((De) => Pe($, De));
|
|
246
|
+
Ve && !Be && (u.push($), ae = !0);
|
|
246
247
|
}
|
|
247
248
|
}), u;
|
|
248
249
|
}
|
|
249
|
-
const
|
|
250
|
+
const W = n([]);
|
|
250
251
|
se(() => h.dataset, Z, { immediate: !0 });
|
|
251
252
|
const Q = y(() => Math.round(Math.min(...x.value.map((t) => t.value)))), pe = y(() => Math.round(Math.max(...x.value.map((t) => t.value))));
|
|
252
253
|
function Z() {
|
|
253
254
|
const t = [...x.value].filter((l) => l.value >= z.value).map((l) => l.value), a = Math.max(...t), o = Math.min(...t), u = [...x.value].filter((l) => l.value >= z.value).map((l, g) => {
|
|
254
255
|
let k = (l.value - o) / (a - o) * (s.value.maxFontSize - s.value.minFontSize) + s.value.minFontSize;
|
|
255
256
|
k = isNaN(k) ? s.value.minFontSize : k;
|
|
256
|
-
const
|
|
257
|
+
const O = Oe(l.name, k);
|
|
257
258
|
return {
|
|
258
259
|
...l,
|
|
259
260
|
id: xe(),
|
|
260
261
|
fontSize: k,
|
|
261
|
-
width:
|
|
262
|
-
height:
|
|
262
|
+
width: O.width,
|
|
263
|
+
height: O.height,
|
|
263
264
|
color: e.value.style.chart.words.usePalette ? e.value.customPalette[g] || e.value.customPalette[g % e.value.customPalette.length] || j[g] || j[g % j.length] : e.value.style.chart.words.color
|
|
264
265
|
};
|
|
265
266
|
});
|
|
266
|
-
|
|
267
|
+
W.value = Me(u, s.value.width, s.value.height).sort((l, g) => g.fontSize - l.fontSize);
|
|
267
268
|
}
|
|
268
269
|
const D = y(() => {
|
|
269
|
-
const t =
|
|
270
|
+
const t = W.value.map((o) => ({
|
|
270
271
|
name: o.name,
|
|
271
272
|
color: o.color
|
|
272
|
-
})), a =
|
|
273
|
+
})), a = W.value.map((o) => o.value);
|
|
273
274
|
return { head: t, body: a };
|
|
274
275
|
});
|
|
275
276
|
function ge() {
|
|
276
277
|
$e(() => {
|
|
277
278
|
const t = D.value.head.map((u, l) => [[
|
|
278
279
|
u.name
|
|
279
|
-
], [D.value.body[l]]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), o =
|
|
280
|
-
|
|
280
|
+
], [D.value.body[l]]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], [e.value.table.columnNames.value]]].concat(t), o = lt(a);
|
|
281
|
+
st({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-word-cloud" });
|
|
281
282
|
});
|
|
282
283
|
}
|
|
283
284
|
const E = y(() => {
|
|
@@ -285,7 +286,7 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
285
286
|
e.value.table.columnNames.series,
|
|
286
287
|
e.value.table.columnNames.value
|
|
287
288
|
], a = D.value.head.map((l, g) => {
|
|
288
|
-
const k =
|
|
289
|
+
const k = ot({ p: e.value.table.td.prefix, v: D.value.body[g], s: e.value.table.td.suffix, r: e.value.table.td.roundingValue });
|
|
289
290
|
return [
|
|
290
291
|
{
|
|
291
292
|
color: l.color,
|
|
@@ -316,11 +317,11 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
316
317
|
config: o
|
|
317
318
|
};
|
|
318
319
|
}), G = n(!1);
|
|
319
|
-
function
|
|
320
|
-
G.value = t,
|
|
320
|
+
function _e(t) {
|
|
321
|
+
G.value = t, R.value += 1;
|
|
321
322
|
}
|
|
322
|
-
function
|
|
323
|
-
return
|
|
323
|
+
function Ie() {
|
|
324
|
+
return W.value;
|
|
324
325
|
}
|
|
325
326
|
function ye() {
|
|
326
327
|
c.value.showTable = !c.value.showTable;
|
|
@@ -333,7 +334,7 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
333
334
|
L.value = !L.value;
|
|
334
335
|
}
|
|
335
336
|
H({
|
|
336
|
-
getData:
|
|
337
|
+
getData: Ie,
|
|
337
338
|
generateCsv: ge,
|
|
338
339
|
generatePdf: me,
|
|
339
340
|
generateImage: fe,
|
|
@@ -341,12 +342,12 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
341
342
|
toggleTooltip: be,
|
|
342
343
|
toggleAnnotator: ee
|
|
343
344
|
});
|
|
344
|
-
const
|
|
345
|
-
function
|
|
345
|
+
const A = n(null), U = n(!1), te = n(""), oe = n(null);
|
|
346
|
+
function Re(t) {
|
|
346
347
|
if (!c.value.showTooltip) return;
|
|
347
|
-
|
|
348
|
+
A.value = t.id, oe.value = { datapoint: t, config: e.value };
|
|
348
349
|
const a = e.value.style.chart.tooltip.customFormat;
|
|
349
|
-
if (U.value = !1,
|
|
350
|
+
if (U.value = !1, nt(a))
|
|
350
351
|
try {
|
|
351
352
|
const o = a({
|
|
352
353
|
datapoint: t,
|
|
@@ -371,7 +372,7 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
371
372
|
onMouseenter: a[3] || (a[3] = () => d(re)(!0)),
|
|
372
373
|
onMouseleave: a[4] || (a[4] = () => d(re)(!1))
|
|
373
374
|
}, [
|
|
374
|
-
e.value.userOptions.buttons.annotator ? (r(),
|
|
375
|
+
e.value.userOptions.buttons.annotator ? (r(), P(yt, {
|
|
375
376
|
key: 0,
|
|
376
377
|
parent: C.value,
|
|
377
378
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -385,7 +386,7 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
385
386
|
ref: V,
|
|
386
387
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
387
388
|
}, [
|
|
388
|
-
(r(),
|
|
389
|
+
(r(), P(rt, {
|
|
389
390
|
key: `title_${b.value}`,
|
|
390
391
|
config: {
|
|
391
392
|
title: {
|
|
@@ -397,9 +398,9 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
397
398
|
}
|
|
398
399
|
}, null, 8, ["config"]))
|
|
399
400
|
], 512)) : w("", !0),
|
|
400
|
-
e.value.userOptions.show && F.value && (d(ue) || d(J)) ? (r(),
|
|
401
|
+
e.value.userOptions.show && F.value && (d(ue) || d(J)) ? (r(), P(it, {
|
|
401
402
|
ref: "details",
|
|
402
|
-
key: `user_option_${
|
|
403
|
+
key: `user_option_${R.value}`,
|
|
403
404
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
404
405
|
color: e.value.style.chart.color,
|
|
405
406
|
isPrinting: d(ve),
|
|
@@ -418,7 +419,7 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
418
419
|
isTooltip: c.value.showTooltip,
|
|
419
420
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
420
421
|
isAnnotation: L.value,
|
|
421
|
-
onToggleFullscreen:
|
|
422
|
+
onToggleFullscreen: _e,
|
|
422
423
|
onGeneratePdf: d(me),
|
|
423
424
|
onGenerateCsv: ge,
|
|
424
425
|
onGenerateImage: d(fe),
|
|
@@ -428,7 +429,7 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
428
429
|
style: q({
|
|
429
430
|
visibility: d(ue) ? d(J) ? "visible" : "hidden" : "visible"
|
|
430
431
|
})
|
|
431
|
-
},
|
|
432
|
+
}, Xe({ _: 2 }, [
|
|
432
433
|
t.$slots.optionPdf ? {
|
|
433
434
|
name: "optionPdf",
|
|
434
435
|
fn: m(() => [
|
|
@@ -474,12 +475,14 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
474
475
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasTooltip", "isTooltip", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : w("", !0),
|
|
475
476
|
F.value ? (r(), v("svg", {
|
|
476
477
|
key: 3,
|
|
478
|
+
ref_key: "svgRef",
|
|
479
|
+
ref: Ne,
|
|
477
480
|
class: ke({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
|
|
478
|
-
xmlns: d(
|
|
481
|
+
xmlns: d(at),
|
|
479
482
|
viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
|
|
480
483
|
style: "overflow:visible;background:transparent;"
|
|
481
484
|
}, [
|
|
482
|
-
ne(
|
|
485
|
+
ne(pt),
|
|
483
486
|
t.$slots["chart-background"] ? (r(), v("foreignObject", {
|
|
484
487
|
key: 0,
|
|
485
488
|
x: 0,
|
|
@@ -491,11 +494,11 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
491
494
|
}
|
|
492
495
|
}, [
|
|
493
496
|
i(t.$slots, "chart-background", {}, void 0, !0)
|
|
494
|
-
], 8,
|
|
497
|
+
], 8, At)) : w("", !0),
|
|
495
498
|
S("g", {
|
|
496
499
|
transform: `translate(${(s.value.width <= 0 ? 10 : s.value.width) / 2}, ${(s.value.height <= 0 ? 10 : s.value.height) / 2})`
|
|
497
500
|
}, [
|
|
498
|
-
(r(!0), v(
|
|
501
|
+
(r(!0), v(je, null, qe(W.value, (o, u) => (r(), v("g", null, [
|
|
499
502
|
(r(), v("text", {
|
|
500
503
|
fill: o.color,
|
|
501
504
|
"font-weight": e.value.style.chart.words.bold ? "bold" : "normal",
|
|
@@ -504,25 +507,25 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
504
507
|
y: o.y,
|
|
505
508
|
"font-size": o.fontSize,
|
|
506
509
|
transform: `translate(${o.width / 2}, ${o.height / 2})`,
|
|
507
|
-
class: ke({ animated: e.value.useCssAnimation, "word-selected":
|
|
510
|
+
class: ke({ animated: e.value.useCssAnimation, "word-selected": A.value && A.value === o.id && c.value.showTooltip, "word-not-selected": A.value && A.value !== o.id && c.value.showTooltip }),
|
|
508
511
|
"text-anchor": "middle",
|
|
509
512
|
"dominant-baseline": "central",
|
|
510
|
-
onMouseover: (l) =>
|
|
513
|
+
onMouseover: (l) => Re(o),
|
|
511
514
|
onMouseleave: a[0] || (a[0] = (l) => {
|
|
512
|
-
|
|
515
|
+
A.value = null, Y.value = !1;
|
|
513
516
|
}),
|
|
514
517
|
style: q(`animation-delay:${u * e.value.animationDelayMs}ms !important;`)
|
|
515
|
-
}, we(o.name), 47,
|
|
518
|
+
}, we(o.name), 47, Pt))
|
|
516
519
|
]))), 256))
|
|
517
|
-
], 8,
|
|
520
|
+
], 8, Ot),
|
|
518
521
|
i(t.$slots, "svg", {
|
|
519
522
|
svg: { height: s.value.height, width: s.value.width }
|
|
520
523
|
}, void 0, !0)
|
|
521
|
-
], 10,
|
|
522
|
-
t.$slots.watermark ? (r(), v("div",
|
|
524
|
+
], 10, zt)) : w("", !0),
|
|
525
|
+
t.$slots.watermark ? (r(), v("div", Mt, [
|
|
523
526
|
i(t.$slots, "watermark", M(_({ isPrinting: d(ve) || d(he) })), void 0, !0)
|
|
524
527
|
])) : w("", !0),
|
|
525
|
-
ne(
|
|
528
|
+
ne(gt, {
|
|
526
529
|
show: c.value.showTooltip && Y.value,
|
|
527
530
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
528
531
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -551,7 +554,7 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
551
554
|
style: "width:100%;background:transparent",
|
|
552
555
|
"data-html2canvas-ignore": ""
|
|
553
556
|
}, [
|
|
554
|
-
e.value.style.chart.zoom.show && Q.value < pe.value ? (r(),
|
|
557
|
+
e.value.style.chart.zoom.show && Q.value < pe.value ? (r(), P(Ft, {
|
|
555
558
|
key: 0,
|
|
556
559
|
value: z.value,
|
|
557
560
|
"onUpdate:value": a[1] || (a[1] = (o) => z.value = o),
|
|
@@ -580,7 +583,7 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
580
583
|
}, [
|
|
581
584
|
i(t.$slots, "source", {}, void 0, !0)
|
|
582
585
|
], 512)) : w("", !0),
|
|
583
|
-
F.value ? (r(),
|
|
586
|
+
F.value ? (r(), P(ht, {
|
|
584
587
|
key: 6,
|
|
585
588
|
hideDetails: "",
|
|
586
589
|
config: {
|
|
@@ -597,7 +600,7 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
597
600
|
}
|
|
598
601
|
}, {
|
|
599
602
|
content: m(() => [
|
|
600
|
-
(r(),
|
|
603
|
+
(r(), P(mt, {
|
|
601
604
|
key: `table_${N.value}`,
|
|
602
605
|
colNames: E.value.colNames,
|
|
603
606
|
head: E.value.head,
|
|
@@ -610,19 +613,19 @@ const bt = { "data-html2canvas-ignore": "" }, Ct = {
|
|
|
610
613
|
S("div", {
|
|
611
614
|
innerHTML: o,
|
|
612
615
|
style: { display: "flex", "align-items": "center" }
|
|
613
|
-
}, null, 8,
|
|
616
|
+
}, null, 8, _t)
|
|
614
617
|
]),
|
|
615
618
|
td: m(({ td: o }) => [
|
|
616
|
-
|
|
619
|
+
He(we(o.name || o), 1)
|
|
617
620
|
]),
|
|
618
621
|
_: 1
|
|
619
622
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
620
623
|
]),
|
|
621
624
|
_: 1
|
|
622
625
|
}, 8, ["config"])) : w("", !0)
|
|
623
|
-
], 44,
|
|
626
|
+
], 44, Nt));
|
|
624
627
|
}
|
|
625
|
-
},
|
|
628
|
+
}, Kt = /* @__PURE__ */ Fe(It, [["__scopeId", "data-v-09b6d459"]]);
|
|
626
629
|
export {
|
|
627
|
-
|
|
630
|
+
Kt as default
|
|
628
631
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),s=require("./index-DEnRHTzk.cjs"),$e=require("./Title-Dk92HYMu.cjs"),ue=require("./usePrinter-dyVny55M.cjs"),H=require("./useResponsive-YQYQrAZ_.cjs"),Te=require("./vue-ui-accordion-D2qxHGzp.cjs"),Ne=require("./DataTable-Cv_TVAas.cjs"),Pe=require("./BaseIcon-BmVwfJg2.cjs"),ce=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ie=require("./useNestedProp-BNT60LxO.cjs"),Be=require("./PackageVersion-DJKkRuOD.cjs"),Fe=require("./Tooltip-ClMeqejQ.cjs"),ze=require("./PenAndPaper-MTTJ3Gd9.cjs"),Ae=require("./useUserOptionState-BgepsfED.cjs"),Oe=require("./useChartAccessibility-Cm7nkzTG.cjs"),Ve={"data-html2canvas-ignore":""},Ee={key:0,class:"reset-wrapper"},Me={key:1,class:"reset-wrapper"},_e={class:"mono-slicer"},Ie=["min","max","value"],Re={__name:"MonoSlicer",props:{min:{type:Number,default:0},max:{type:Number,default:0},inputColor:{type:String,default:"#1A1A1A"},background:{type:String,default:"#FFFFFF"},borderColor:{type:String,default:"#FFFFFF"},selectColor:{type:String,default:"#4A4A4A"},textColor:{type:String,default:"#1A1A1A"},useResetSlot:{type:Boolean,default:!1},value:{type:Number,default:0},source:{type:Number,default:0}},emits:["update:value","reset"],setup(d,{emit:M}){e.useCssVars(b=>({"782b8172":c.value,"102109e6":$.value,"642212d7":y.value,"1f5369d4":d.selectColor,"22b98ab8":k.value}));const v=d,c=e.computed(()=>v.inputColor),k=e.computed(()=>v.background),y=e.computed(()=>`${v.selectColor}33`),$=e.computed(()=>v.borderColor),T=M;function p(){T("reset")}const B=e.computed(()=>{const b=v.max-v.min,m=0,C=(v.value-v.min)/b*100;return{left:`${m}%`,width:`${C-m}%`,background:v.selectColor}});return(b,m)=>(e.openBlock(),e.createElementBlock("div",Ve,[d.value!==d.source?(e.openBlock(),e.createElementBlock("div",Ee,[d.useResetSlot?e.renderSlot(b.$slots,"reset-action",{key:1,reset:p},void 0,!0):(e.openBlock(),e.createElementBlock("button",{key:0,"data-cy-reset":"",tabindex:"0",role:"button",class:"vue-data-ui-refresh-button",onClick:p},[e.createVNode(Pe.default,{name:"refresh",stroke:d.textColor},null,8,["stroke"])]))])):(e.openBlock(),e.createElementBlock("div",Me)),e.createElementVNode("div",_e,[m[1]||(m[1]=e.createElementVNode("div",{class:"slider-track"},null,-1)),e.createElementVNode("div",{class:"range-highlight",style:e.normalizeStyle(B.value)},null,4),e.createElementVNode("input",{type:"range",min:d.min,max:d.max,value:Number(d.value),onInput:m[0]||(m[0]=C=>T("update:value",Number(C.target.value)))},null,40,Ie)])]))}},qe=ce._export_sfc(Re,[["__scopeId","data-v-b4e6aee9"]]),Ue=["id"],We=["xmlns","viewBox"],De=["width","height"],Ge=["transform"],Le=["fill","font-weight","x","y","font-size","transform","onMouseover"],je={key:4,class:"vue-data-ui-watermark"},He=["innerHTML"],Xe={__name:"vue-ui-word-cloud",props:{config:{type:Object,default(){return{}}},dataset:{type:[Array,String],default(){return[]}}},setup(d,{expose:M}){const{vue_ui_word_cloud:v}=s.useConfig(),c=d,k=e.computed({get(){return!!c.dataset&&c.dataset.length},set(o){return o}}),y=e.ref(typeof c.dataset=="string"?s.createWordCloudDatasetFromPlainText(c.dataset):c.dataset.map((o,a)=>({...o,value:s.checkNaN(o.value)}))),$=e.ref(s.createUid()),T=e.ref(0),p=e.ref(null),B=e.ref(null),b=e.ref(null),m=e.ref(0),C=e.ref(0),_=e.ref(!1),t=e.computed({get:()=>J(),set:o=>o}),{userOptionsVisible:I,setUserOptionsVisibility:X,keepUserOptionState:Y}=Ae.useUserOptionState({config:t.value}),{svgRef:de}=Oe.useChartAccessibility({config:t.value.style.chart.title});function J(){const o=ie.useNestedProp({userConfig:c.config,defaultConfig:v});return o.theme?{...ie.useNestedProp({userConfig:s.themes.vue_ui_word_cloud[o.theme]||c.config,defaultConfig:o}),customPalette:s.themePalettes[o.theme]||s.palette}:o}e.watch(()=>c.config,o=>{t.value=J(),I.value=!t.value.userOptions.showOnChartHover,Q(),m.value+=1,C.value+=1,R(),i.value.showTable=t.value.table.show,i.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const K=e.ref(null),w=e.ref(0),r=e.ref({width:t.value.style.chart.width,height:t.value.style.chart.height,maxFontSize:t.value.style.chart.words.maxFontSize,minFontSize:t.value.style.chart.words.minFontSize}),ve=H.throttle(()=>{const{width:o,height:a}=H.useResponsive({chart:p.value,title:t.value.style.chart.title.text?B.value:null,slicer:t.value.style.chart.zoom.show&&K.value,source:b.value});requestAnimationFrame(()=>{r.value.width=o,r.value.height=a,e.nextTick(U)})});e.watch(()=>w.value,()=>{he()});const he=H.debounce(()=>{U()},10);function R(){w.value=q.value}const F=e.ref(null);e.onMounted(()=>{Q(),R()});function Q(){s.objectIsEmpty(c.dataset)?s.error({componentName:"VueUiWordCloud",type:"dataset"}):y.value.forEach((o,a)=>{s.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","value"]}).forEach(l=>{k.value=!1,s.error({componentName:"VueUiWordCloud",type:"datasetSerieAttribute",property:l,index:a})})}),t.value.responsive&&(F.value=new ResizeObserver(ve),F.value.observe(p.value.parentNode))}e.onBeforeUnmount(()=>{F.value&&F.value.disconnect()});const{isPrinting:Z,isImaging:ee,generatePdf:te,generateImage:oe}=ue.usePrinter({elementId:`wordCloud_${$.value}`,fileName:t.value.style.chart.title.text||"vue-ui-word-cloud"}),i=e.ref({showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show});function me(o,a,l="Arial"){const n=document.createElement("canvas").getContext("2d");return n.font=`${a}px ${t.value.style.chart.words.bold?"bold":"normal"} ${l}`,{width:n.measureText(o).width+t.value.style.chart.words.proximity,height:a}}function pe(o,a){return o.x<a.x+a.width&&o.x+o.width>a.x&&o.y<a.y+a.height&&o.y+o.height>a.y}function fe(o,a,l){const u=[],n={x:-a/2,y:-l/2,width:a,height:l},h=0,f=0;return o.forEach(S=>{let L=!1;for(let E=0;E<Math.max(a,l)/2&&!L;E+=t.value.style.chart.words.packingWeight)for(let j=0;j<360&&!L;j+=t.value.style.chart.words.packingWeight){const se=j*Math.PI/180,ke=h+E*Math.cos(se)-S.width/2,Ce=f+E*Math.sin(se)-S.height/2,g={...S,x:ke,y:Ce},we=g.x>=n.x&&g.y>=n.y&&g.x+g.width<=n.x+n.width&&g.y+g.height<=n.y+n.height,xe=u.some(Se=>pe(g,Se));we&&!xe&&(u.push(g),L=!0)}}),u}const N=e.ref([]);e.watch(()=>c.dataset,U,{immediate:!0});const q=e.computed(()=>Math.round(Math.min(...y.value.map(o=>o.value)))),le=e.computed(()=>Math.round(Math.max(...y.value.map(o=>o.value))));function U(){const o=[...y.value].filter(n=>n.value>=w.value).map(n=>n.value),a=Math.max(...o),l=Math.min(...o),u=[...y.value].filter(n=>n.value>=w.value).map((n,h)=>{let f=(n.value-l)/(a-l)*(r.value.maxFontSize-r.value.minFontSize)+r.value.minFontSize;f=isNaN(f)?r.value.minFontSize:f;const S=me(n.name,f);return{...n,id:s.createUid(),fontSize:f,width:S.width,height:S.height,color:t.value.style.chart.words.usePalette?t.value.customPalette[h]||t.value.customPalette[h%t.value.customPalette.length]||s.palette[h]||s.palette[h%s.palette.length]:t.value.style.chart.words.color}});N.value=fe(u,r.value.width,r.value.height).sort((n,h)=>h.fontSize-n.fontSize)}const z=e.computed(()=>{const o=N.value.map(l=>({name:l.name,color:l.color})),a=N.value.map(l=>l.value);return{head:o,body:a}});function ae(){e.nextTick(()=>{const o=z.value.head.map((u,n)=>[[u.name],[z.value.body[n]]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],[t.value.table.columnNames.value]]].concat(o),l=s.createCsvContent(a);s.downloadCsv({csvContent:l,title:t.value.style.chart.title.text||"vue-ui-word-cloud"})})}const A=e.computed(()=>{const o=[t.value.table.columnNames.series,t.value.table.columnNames.value],a=z.value.head.map((n,h)=>{const f=s.dataLabel({p:t.value.table.td.prefix,v:z.value.body[h],s:t.value.table.td.suffix,r:t.value.table.td.roundingValue});return[{color:n.color,name:n.name},f]}),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{colNames:[t.value.table.columnNames.series,t.value.table.columnNames.value],head:o,body:a,config:l}}),O=e.ref(!1);function ge(o){O.value=o,T.value+=1}function ye(){return N.value}function ne(){i.value.showTable=!i.value.showTable}function re(){i.value.showTooltip=!i.value.showTooltip}const V=e.ref(!1);function W(){V.value=!V.value}M({getData:ye,generateCsv:ae,generatePdf:te,generateImage:oe,toggleTable:ne,toggleTooltip:re,toggleAnnotator:W});const x=e.ref(null),P=e.ref(!1),D=e.ref(""),G=e.ref(null);function be(o){if(!i.value.showTooltip)return;x.value=o.id,G.value={datapoint:o,config:t.value};const a=t.value.style.chart.tooltip.customFormat;if(P.value=!1,s.isFunction(a))try{const l=a({datapoint:o,config:t.value});typeof l=="string"&&(D.value=l,P.value=!0)}catch{console.warn("Custom format cannot be applied."),P.value=!1}if(!P.value){let l=`<svg viewBox="0 0 10 10" height="${t.value.style.chart.tooltip.fontSize}"><circle cx="5" cy="5" r="5" fill="${o.color}"/></svg><span>${o.name}:</span><b>${(o.value||0).toFixed(t.value.style.chart.tooltip.roundingValue)}</b>`;D.value=`<div dir="auto" style="display:flex; gap:4px; align-items:center; jsutify-content:center;">${l}</div>`}_.value=!0}return(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:"vue-ui-word-cloud",ref_key:"wordCloudChart",ref:p,id:`wordCloud_${$.value}`,style:e.normalizeStyle(`width: 100%; font-family:${t.value.style.fontFamily};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),onMouseenter:a[3]||(a[3]=()=>e.unref(X)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(X)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ze.PenAndPaper,{key:0,parent:p.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:V.value,onClose:W},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"chartTitle",ref:B,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock($e._sfc_main,{key:`title_${m.value}`,config:{title:{...t.value.style.chart.title},subtitle:{...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&k.value&&(e.unref(Y)||e.unref(I))?(e.openBlock(),e.createBlock(ue.UserOptions,{ref:"details",key:`user_option_${T.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(Z),isImaging:e.unref(ee),uid:$.value,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:O.value,titles:{...t.value.userOptions.buttonTitles},chartElement:p.value,position:t.value.userOptions.position,hasTooltip:t.value.style.chart.tooltip.show&&t.value.userOptions.buttons.tooltip,isTooltip:i.value.showTooltip,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:V.value,onToggleFullscreen:ge,onGeneratePdf:e.unref(te),onGenerateCsv:ae,onGenerateImage:e.unref(oe),onToggleTable:ne,onToggleTooltip:re,onToggleAnnotator:W,style:e.normalizeStyle({visibility:e.unref(Y)?e.unref(I)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:u})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:u})),void 0,!0)]),key:"4"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:u})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:u})),void 0,!0)]),key:"5"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","hasTooltip","isTooltip","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createElementBlock("svg",{key:3,ref_key:"svgRef",ref:de,class:e.normalizeClass({"vue-data-ui-fullscreen--on":O.value,"vue-data-ui-fulscreen--off":!O.value}),xmlns:e.unref(s.XMLNS),viewBox:`0 0 ${r.value.width<=0?10:r.value.width} ${r.value.height<=0?10:r.value.height}`,style:"overflow:visible;background:transparent;"},[e.createVNode(Be._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:r.value.width<=0?10:r.value.width,height:r.value.height<=0?10:r.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,De)):e.createCommentVNode("",!0),e.createElementVNode("g",{transform:`translate(${(r.value.width<=0?10:r.value.width)/2}, ${(r.value.height<=0?10:r.value.height)/2})`},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(N.value,(l,u)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(),e.createElementBlock("text",{fill:l.color,"font-weight":t.value.style.chart.words.bold?"bold":"normal",key:u,x:l.x,y:l.y,"font-size":l.fontSize,transform:`translate(${l.width/2}, ${l.height/2})`,class:e.normalizeClass({animated:t.value.useCssAnimation,"word-selected":x.value&&x.value===l.id&&i.value.showTooltip,"word-not-selected":x.value&&x.value!==l.id&&i.value.showTooltip}),"text-anchor":"middle","dominant-baseline":"central",onMouseover:n=>be(l),onMouseleave:a[0]||(a[0]=n=>{x.value=null,_.value=!1}),style:e.normalizeStyle(`animation-delay:${u*t.value.animationDelayMs}ms !important;`)},e.toDisplayString(l.name),47,Le))]))),256))],8,Ge),e.renderSlot(o.$slots,"svg",{svg:{height:r.value.height,width:r.value.width}},void 0,!0)],10,We)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",je,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(Z)||e.unref(ee)})),void 0,!0)])):e.createCommentVNode("",!0),e.createVNode(Fe._sfc_main,{show:i.value.showTooltip&&_.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:p.value,content:D.value,isCustom:P.value},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...G.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...G.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom"]),e.createElementVNode("div",{ref_key:"chartSlicer",ref:K,style:"width:100%;background:transparent","data-html2canvas-ignore":""},[t.value.style.chart.zoom.show&&q.value<le.value?(e.openBlock(),e.createBlock(qe,{key:0,value:w.value,"onUpdate:value":a[1]||(a[1]=l=>w.value=l),min:q.value,max:le.value,textColor:t.value.style.chart.color,inputColor:t.value.style.chart.zoom.color,selectColor:t.value.style.chart.zoom.highlightColor,useResetSlot:t.value.style.chart.zoom.useResetSlot,background:t.value.style.chart.zoom.color,borderColor:t.value.style.chart.backgroundColor,source:t.value.style.chart.width,onReset:R},{"reset-action":e.withCtx(({reset:l})=>[e.renderSlot(o.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:l})),void 0,!0)]),_:3},8,["value","min","max","textColor","inputColor","selectColor","useResetSlot","background","borderColor","source"])):e.createCommentVNode("",!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:5,ref_key:"source",ref:b,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),k.value?(e.openBlock(),e.createBlock(Te.default,{key:6,hideDetails:"",config:{open:i.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Ne.DataTable,{key:`table_${C.value}`,colNames:A.value.colNames,head:A.value.head,body:A.value.body,config:A.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=l=>i.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createElementVNode("div",{innerHTML:l,style:{display:"flex","align-items":"center"}},null,8,He)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l.name||l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],44,Ue))}},Ye=ce._export_sfc(Xe,[["__scopeId","data-v-09b6d459"]]);exports.default=Ye;
|