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,23 +1,24 @@
|
|
|
1
|
-
import { useSlots as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as De } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
import {
|
|
17
|
-
|
|
1
|
+
import { useSlots as at, computed as d, ref as v, watch as ze, onMounted as ot, onBeforeUnmount as ut, createElementBlock as s, openBlock as r, unref as c, normalizeStyle as W, normalizeClass as Ne, createBlock as N, createCommentVNode as y, createElementVNode as x, createVNode as se, createSlots as Be, withCtx as m, renderSlot as g, normalizeProps as q, guardReactiveProps as H, Fragment as $, renderList as L, mergeProps as Ve, toDisplayString as A, createTextVNode as Me, nextTick as rt } from "vue";
|
|
2
|
+
import { u as st, c as nt, t as it, p as B, a as vt, o as ct, e as ne, g as dt, b as ht, i as G, f as _, X as pt, s as yt, w as ft, G as gt, L as mt, d as bt, q as wt, r as kt, x as xt, y as Ct } from "./index-9EeNZMz1.js";
|
|
3
|
+
import { t as $t, u as _t } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as Tt } from "./Title-BI8etrRU.js";
|
|
5
|
+
import { u as It, U as St } from "./usePrinter-ngrh00Ym.js";
|
|
6
|
+
import { _ as Pt } from "./Tooltip-Cxc8c50d.js";
|
|
7
|
+
import { D as Ot } from "./DataTable-TjJIVFlL.js";
|
|
8
|
+
import { L as Lt } from "./Legend-NKGwxkI7.js";
|
|
9
|
+
import At from "./vue-ui-skeleton-BmJiYGtE.js";
|
|
10
|
+
import Ft from "./vue-ui-accordion-Qo8JxnIN.js";
|
|
11
|
+
import { u as De } from "./useNestedProp-df_bKQEI.js";
|
|
12
|
+
import { _ as zt } from "./PackageVersion-QRvxRYPv.js";
|
|
13
|
+
import { P as Nt } from "./PenAndPaper-CxC1lWGK.js";
|
|
14
|
+
import { u as Bt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as Vt } from "./Shape-58uyOuYc.js";
|
|
16
|
+
import { u as Mt } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
+
import { _ as Dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
const Ut = ["id"], Rt = ["xmlns", "viewBox"], Gt = ["id"], jt = ["stop-color"], Et = ["stop-color"], Wt = ["id"], qt = ["x", "y", "height", "width"], Ht = ["height", "width"], Xt = { key: 0 }, Yt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Jt = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Kt = { key: 1 }, Qt = ["rx", "x", "y", "height", "width", "fill", "filter"], Zt = ["x", "y", "height", "width", "filter"], el = { key: 0 }, tl = { key: 1 }, ll = { key: 2 }, al = { key: 3 }, ol = ["onMouseover", "x", "y", "height", "width"], ul = {
|
|
18
19
|
key: 5,
|
|
19
20
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
21
|
+
}, rl = ["onClick"], sl = { key: 0 }, nl = { key: 1 }, il = ["innerHTML"], vl = {
|
|
21
22
|
__name: "vue-ui-waffle",
|
|
22
23
|
props: {
|
|
23
24
|
config: {
|
|
@@ -34,11 +35,11 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
34
35
|
}
|
|
35
36
|
},
|
|
36
37
|
emits: ["selectLegend"],
|
|
37
|
-
setup(Ue, { expose:
|
|
38
|
-
const { vue_ui_waffle: je } =
|
|
38
|
+
setup(Ue, { expose: Re, emit: Ge }) {
|
|
39
|
+
const { vue_ui_waffle: je } = st(), b = Ue, Ee = at(), X = d(() => !!b.dataset && b.dataset.length), k = v(nt()), We = v(null), ee = v(!1), te = v(""), V = v(null), ie = v(0), M = v(null), ve = v(null), ce = v(null), de = v(null), he = v(null), pe = v(0), ye = v(0), fe = v(0), e = d({
|
|
39
40
|
get: () => be(),
|
|
40
41
|
set: (t) => t
|
|
41
|
-
}), { userOptionsVisible: le, setUserOptionsVisibility: ge, keepUserOptionState: me } =
|
|
42
|
+
}), { userOptionsVisible: le, setUserOptionsVisibility: ge, keepUserOptionState: me } = Bt({ config: e.value }), { svgRef: qe } = Mt({ config: e.value.style.chart.title });
|
|
42
43
|
function be() {
|
|
43
44
|
const t = De({
|
|
44
45
|
userConfig: b.config,
|
|
@@ -46,10 +47,10 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
46
47
|
});
|
|
47
48
|
return t.theme ? {
|
|
48
49
|
...De({
|
|
49
|
-
userConfig:
|
|
50
|
+
userConfig: vt.vue_ui_waffle[t.theme] || b.config,
|
|
50
51
|
defaultConfig: t
|
|
51
52
|
}),
|
|
52
|
-
customPalette:
|
|
53
|
+
customPalette: it[t.theme] || B
|
|
53
54
|
} : t;
|
|
54
55
|
}
|
|
55
56
|
ze(() => b.config, (t) => {
|
|
@@ -57,11 +58,11 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
57
58
|
}, { deep: !0 });
|
|
58
59
|
const Y = v(null);
|
|
59
60
|
function we() {
|
|
60
|
-
if (
|
|
61
|
+
if (ct(b.dataset) ? ne({
|
|
61
62
|
componentName: "VueUiWaffle",
|
|
62
63
|
type: "dataset"
|
|
63
64
|
}) : b.dataset.forEach((t, a) => {
|
|
64
|
-
|
|
65
|
+
dt({
|
|
65
66
|
datasetObject: t,
|
|
66
67
|
requiredAttributes: ["name", "values"]
|
|
67
68
|
}).forEach((l) => {
|
|
@@ -73,8 +74,8 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
73
74
|
});
|
|
74
75
|
});
|
|
75
76
|
}), e.value.responsive) {
|
|
76
|
-
const t =
|
|
77
|
-
const { width: a, height: l } =
|
|
77
|
+
const t = $t(() => {
|
|
78
|
+
const { width: a, height: l } = _t({
|
|
78
79
|
chart: M.value,
|
|
79
80
|
title: e.value.style.chart.title.text ? ve.value : null,
|
|
80
81
|
legend: e.value.style.chart.legend.show ? ce.value : null,
|
|
@@ -88,15 +89,15 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
88
89
|
Y.value = new ResizeObserver(t), Y.value.observe(M.value.parentNode);
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
+
ot(() => {
|
|
92
93
|
we();
|
|
93
|
-
}),
|
|
94
|
+
}), ut(() => {
|
|
94
95
|
Y.value && Y.value.disconnect();
|
|
95
96
|
});
|
|
96
|
-
const { isPrinting: ke, isImaging: xe, generatePdf: Ce, generateImage: $e } =
|
|
97
|
+
const { isPrinting: ke, isImaging: xe, generatePdf: Ce, generateImage: $e } = It({
|
|
97
98
|
elementId: `vue-ui-waffle_${k.value}`,
|
|
98
99
|
fileName: e.value.style.chart.title.text || "vue-ui-waffle"
|
|
99
|
-
}),
|
|
100
|
+
}), He = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), _e = d(() => ht(e.value.customPalette)), C = v({
|
|
100
101
|
showTable: e.value.table.show,
|
|
101
102
|
showTooltip: e.value.style.chart.tooltip.show
|
|
102
103
|
}), F = v({
|
|
@@ -120,7 +121,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
120
121
|
function Ie() {
|
|
121
122
|
return b.dataset.map((t, a) => ({
|
|
122
123
|
...t,
|
|
123
|
-
color:
|
|
124
|
+
color: bt(t.color) || _e.value[a] || B[a] || B[a % B.length],
|
|
124
125
|
uid: `serie_${a}`,
|
|
125
126
|
absoluteIndex: a
|
|
126
127
|
}));
|
|
@@ -129,10 +130,10 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
129
130
|
ze(() => b.dataset, (t) => {
|
|
130
131
|
h.value = Ie();
|
|
131
132
|
}, { deep: !0 });
|
|
132
|
-
const
|
|
133
|
+
const Xe = d(() => {
|
|
133
134
|
const t = h.value.filter((a, l) => !p.value.includes(a.uid)).map((a, l) => (a.values || []).reduce((o, u) => o + u, 0));
|
|
134
135
|
return Te(t);
|
|
135
|
-
}),
|
|
136
|
+
}), Ye = d(() => {
|
|
136
137
|
const t = h.value.map((a, l) => (a.values || []).reduce((o, u) => o + u));
|
|
137
138
|
return Te(t);
|
|
138
139
|
}), E = d(() => (b.dataset.forEach((t, a) => {
|
|
@@ -149,25 +150,25 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
149
150
|
color: t.color,
|
|
150
151
|
value: (t.values || []).reduce((l, o) => l + o, 0),
|
|
151
152
|
absoluteValues: t.values || [],
|
|
152
|
-
proportion:
|
|
153
|
-
})))),
|
|
153
|
+
proportion: Xe.value[a]
|
|
154
|
+
})))), Je = d(() => h.value.map((t, a) => ({
|
|
154
155
|
absoluteIndex: t.absoluteIndex,
|
|
155
156
|
uid: t.uid,
|
|
156
157
|
name: t.name,
|
|
157
158
|
color: t.color,
|
|
158
159
|
value: (t.values || []).reduce((l, o) => l + o, 0),
|
|
159
160
|
absoluteValues: t.values || [],
|
|
160
|
-
proportion:
|
|
161
|
+
proportion: Ye.value[a]
|
|
161
162
|
})));
|
|
162
|
-
function
|
|
163
|
-
return
|
|
163
|
+
function Ke() {
|
|
164
|
+
return Je.value.map((t) => ({
|
|
164
165
|
name: t.name,
|
|
165
166
|
color: t.color,
|
|
166
167
|
value: t.value,
|
|
167
168
|
proportion: t.proportion
|
|
168
169
|
}));
|
|
169
170
|
}
|
|
170
|
-
const
|
|
171
|
+
const Qe = d(() => {
|
|
171
172
|
let t = 0;
|
|
172
173
|
return E.value.map((a, l) => {
|
|
173
174
|
const o = t, u = o + a.proportion, i = [];
|
|
@@ -179,7 +180,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
179
180
|
rects: i
|
|
180
181
|
};
|
|
181
182
|
});
|
|
182
|
-
}), n = d(() =>
|
|
183
|
+
}), n = d(() => Qe.value.flatMap((t, a) => t.rects.map((l, o) => ({
|
|
183
184
|
isFirst: o === 0,
|
|
184
185
|
isLongEnough: l.length > 2,
|
|
185
186
|
name: t.name,
|
|
@@ -236,7 +237,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
236
237
|
};
|
|
237
238
|
u();
|
|
238
239
|
}
|
|
239
|
-
|
|
240
|
+
tt("selectLegend", E.value.map((u) => ({
|
|
240
241
|
name: u.name,
|
|
241
242
|
color: u.color,
|
|
242
243
|
value: u.value,
|
|
@@ -255,7 +256,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
255
256
|
opacity: p.value.includes(t.uid) ? 0.5 : 1,
|
|
256
257
|
segregate: () => Oe(t.uid),
|
|
257
258
|
isSegregated: p.value.includes(t.uid)
|
|
258
|
-
}))),
|
|
259
|
+
}))), Ze = d(() => ({
|
|
259
260
|
cy: "waffle-div-legend",
|
|
260
261
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
261
262
|
color: e.value.style.chart.legend.color,
|
|
@@ -263,7 +264,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
263
264
|
paddingBottom: 12,
|
|
264
265
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
265
266
|
})), P = d(() => E.value.map((t) => t.value).reduce((t, a) => t + a, 0)), oe = v(null);
|
|
266
|
-
function
|
|
267
|
+
function et(t) {
|
|
267
268
|
if (p.value.length === b.dataset.length) return;
|
|
268
269
|
const a = n.value[t];
|
|
269
270
|
oe.value = {
|
|
@@ -273,7 +274,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
273
274
|
config: e.value
|
|
274
275
|
}, ee.value = !0, V.value = n.value[t].serieIndex;
|
|
275
276
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
276
|
-
if (
|
|
277
|
+
if (xt(l) && Ct(() => l({
|
|
277
278
|
seriesIndex: n.value[t].absoluteIndex,
|
|
278
279
|
datapoint: a,
|
|
279
280
|
series: h.value,
|
|
@@ -287,7 +288,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
287
288
|
});
|
|
288
289
|
else {
|
|
289
290
|
let o = "";
|
|
290
|
-
if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${a.color}" />${Ee.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${k.value}_${a.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${
|
|
291
|
+
if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${a.color}" />${Ee.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${k.value}_${a.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${G(
|
|
291
292
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
292
293
|
a.value,
|
|
293
294
|
_({
|
|
@@ -312,7 +313,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
312
313
|
te.value = o;
|
|
313
314
|
}
|
|
314
315
|
}
|
|
315
|
-
const
|
|
316
|
+
const tt = Ge, O = d(() => {
|
|
316
317
|
const t = E.value.map((l) => ({
|
|
317
318
|
name: l.name,
|
|
318
319
|
color: l.color
|
|
@@ -323,17 +324,17 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
323
324
|
return e.value.useBlurOnHover && ![null, void 0].includes(V.value) && V.value !== t ? `url(#blur_${k.value})` : "";
|
|
324
325
|
}
|
|
325
326
|
function Le() {
|
|
326
|
-
|
|
327
|
+
rt(() => {
|
|
327
328
|
const t = O.value.head.map((o, u) => [[
|
|
328
329
|
o.name
|
|
329
|
-
], [O.value.body[u]], [isNaN(O.value.body[u] / P.value) ? "-" : O.value.body[u] / P.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l =
|
|
330
|
-
|
|
330
|
+
], [O.value.body[u]], [isNaN(O.value.body[u] / P.value) ? "-" : O.value.body[u] / P.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = wt(a);
|
|
331
|
+
kt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
|
|
331
332
|
});
|
|
332
333
|
}
|
|
333
334
|
const Q = d(() => {
|
|
334
335
|
const t = [
|
|
335
336
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
336
|
-
|
|
337
|
+
G(
|
|
337
338
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
338
339
|
P.value,
|
|
339
340
|
_({
|
|
@@ -349,7 +350,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
349
350
|
color: u.color,
|
|
350
351
|
name: u.name
|
|
351
352
|
},
|
|
352
|
-
|
|
353
|
+
G(
|
|
353
354
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
354
355
|
O.value.body[i],
|
|
355
356
|
_({
|
|
@@ -388,9 +389,9 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
388
389
|
config: l,
|
|
389
390
|
colNames: o
|
|
390
391
|
};
|
|
391
|
-
}),
|
|
392
|
-
function
|
|
393
|
-
|
|
392
|
+
}), R = v(!1);
|
|
393
|
+
function lt(t) {
|
|
394
|
+
R.value = t, ie.value += 1;
|
|
394
395
|
}
|
|
395
396
|
function Ae() {
|
|
396
397
|
C.value.showTable = !C.value.showTable;
|
|
@@ -402,8 +403,8 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
402
403
|
function ue() {
|
|
403
404
|
Z.value = !Z.value;
|
|
404
405
|
}
|
|
405
|
-
return
|
|
406
|
-
getData:
|
|
406
|
+
return Re({
|
|
407
|
+
getData: Ke,
|
|
407
408
|
generatePdf: Ce,
|
|
408
409
|
generateCsv: Le,
|
|
409
410
|
generateImage: $e,
|
|
@@ -411,7 +412,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
411
412
|
toggleTooltip: Fe,
|
|
412
413
|
toggleAnnotator: ue
|
|
413
414
|
}), (t, a) => (r(), s("div", {
|
|
414
|
-
class: Ne(`vue-ui-waffle ${
|
|
415
|
+
class: Ne(`vue-ui-waffle ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
415
416
|
ref_key: "waffleChart",
|
|
416
417
|
ref: M,
|
|
417
418
|
id: `vue-ui-waffle_${k.value}`,
|
|
@@ -419,7 +420,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
419
420
|
onMouseenter: a[3] || (a[3] = () => c(ge)(!0)),
|
|
420
421
|
onMouseleave: a[4] || (a[4] = () => c(ge)(!1))
|
|
421
422
|
}, [
|
|
422
|
-
e.value.userOptions.buttons.annotator ? (r(), N(
|
|
423
|
+
e.value.userOptions.buttons.annotator ? (r(), N(Nt, {
|
|
423
424
|
key: 0,
|
|
424
425
|
parent: M.value,
|
|
425
426
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -427,7 +428,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
427
428
|
active: Z.value,
|
|
428
429
|
onClose: ue
|
|
429
430
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
430
|
-
|
|
431
|
+
He.value ? (r(), s("div", {
|
|
431
432
|
key: 1,
|
|
432
433
|
ref_key: "noTitle",
|
|
433
434
|
ref: he,
|
|
@@ -440,7 +441,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
440
441
|
ref: ve,
|
|
441
442
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
442
443
|
}, [
|
|
443
|
-
(r(), N(
|
|
444
|
+
(r(), N(Tt, {
|
|
444
445
|
key: `title_${pe.value}`,
|
|
445
446
|
config: {
|
|
446
447
|
title: {
|
|
@@ -454,7 +455,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
454
455
|
}
|
|
455
456
|
}, null, 8, ["config"]))
|
|
456
457
|
], 512)) : y("", !0),
|
|
457
|
-
e.value.userOptions.show && X.value && (c(me) || c(le)) ? (r(), N(
|
|
458
|
+
e.value.userOptions.show && X.value && (c(me) || c(le)) ? (r(), N(St, {
|
|
458
459
|
ref_key: "details",
|
|
459
460
|
ref: We,
|
|
460
461
|
key: `user_options_${ie.value}`,
|
|
@@ -469,14 +470,14 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
469
470
|
hasXls: e.value.userOptions.buttons.csv,
|
|
470
471
|
hasTable: e.value.userOptions.buttons.table,
|
|
471
472
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
472
|
-
isFullscreen:
|
|
473
|
+
isFullscreen: R.value,
|
|
473
474
|
isTooltip: C.value.showTooltip,
|
|
474
475
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
475
476
|
chartElement: M.value,
|
|
476
477
|
position: e.value.userOptions.position,
|
|
477
478
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
478
479
|
isAnnotation: Z.value,
|
|
479
|
-
onToggleFullscreen:
|
|
480
|
+
onToggleFullscreen: lt,
|
|
480
481
|
onGeneratePdf: c(Ce),
|
|
481
482
|
onGenerateCsv: Le,
|
|
482
483
|
onGenerateImage: c($e),
|
|
@@ -539,12 +540,14 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
539
540
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
540
541
|
X.value ? (r(), s("svg", {
|
|
541
542
|
key: 4,
|
|
542
|
-
|
|
543
|
-
|
|
543
|
+
ref_key: "svgRef",
|
|
544
|
+
ref: qe,
|
|
545
|
+
xmlns: c(pt),
|
|
546
|
+
class: Ne({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
544
547
|
viewBox: `0 0 ${F.value.width <= 0 ? 10 : F.value.width} ${F.value.height <= 0 ? 10 : F.value.height}`,
|
|
545
548
|
style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
546
549
|
}, [
|
|
547
|
-
se(
|
|
550
|
+
se(zt),
|
|
548
551
|
x("defs", null, [
|
|
549
552
|
(r(!0), s($, null, L(n.value, (l, o) => (r(), s("radialGradient", {
|
|
550
553
|
cx: "50%",
|
|
@@ -556,13 +559,13 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
556
559
|
}, [
|
|
557
560
|
x("stop", {
|
|
558
561
|
offset: "0%",
|
|
559
|
-
"stop-color": c(
|
|
560
|
-
}, null, 8,
|
|
562
|
+
"stop-color": c(yt)(c(ft)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
|
|
563
|
+
}, null, 8, jt),
|
|
561
564
|
x("stop", {
|
|
562
565
|
offset: "100%",
|
|
563
566
|
"stop-color": l.color
|
|
564
|
-
}, null, 8,
|
|
565
|
-
], 8,
|
|
567
|
+
}, null, 8, Et)
|
|
568
|
+
], 8, Gt))), 256))
|
|
566
569
|
]),
|
|
567
570
|
x("defs", null, [
|
|
568
571
|
x("filter", {
|
|
@@ -580,7 +583,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
580
583
|
type: "saturate",
|
|
581
584
|
values: "0"
|
|
582
585
|
}, null, -1)
|
|
583
|
-
]), 8,
|
|
586
|
+
]), 8, Wt)
|
|
584
587
|
]),
|
|
585
588
|
e.value.useCustomCells && n.value.length ? (r(!0), s($, { key: 0 }, L(D.value, (l, o) => (r(), s("foreignObject", {
|
|
586
589
|
x: l.x,
|
|
@@ -590,7 +593,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
590
593
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
591
594
|
}, [
|
|
592
595
|
g(t.$slots, "cell", Ve({ ref_for: !0 }, { cell: { ...l, color: n.value[o].color, ...n.value[o] }, isSelected: [null, void 0].includes(V.value) ? !0 : n.value[o].serieIndex === V.value }), void 0, !0)
|
|
593
|
-
], 8,
|
|
596
|
+
], 8, qt))), 256)) : y("", !0),
|
|
594
597
|
!n.value.length && !e.value.useCustomCells ? (r(), s("rect", {
|
|
595
598
|
key: 1,
|
|
596
599
|
x: 12,
|
|
@@ -600,8 +603,8 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
600
603
|
rx: 3,
|
|
601
604
|
fill: "none",
|
|
602
605
|
stroke: "black"
|
|
603
|
-
}, null, 8,
|
|
604
|
-
t.$slots.pattern ? (r(), s("g",
|
|
606
|
+
}, null, 8, Ht)) : n.value.length && !e.value.useCustomCells ? (r(), s($, { key: 2 }, [
|
|
607
|
+
t.$slots.pattern ? (r(), s("g", Xt, [
|
|
605
608
|
(r(!0), s($, null, L(ae.value, (l) => (r(), s("defs", null, [
|
|
606
609
|
g(t.$slots, "pattern", Ve({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${k.value}_${l.absoluteIndex}` }), void 0, !0)
|
|
607
610
|
]))), 256))
|
|
@@ -616,7 +619,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
616
619
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
617
620
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
618
621
|
filter: K(n.value[o].serieIndex)
|
|
619
|
-
}, null, 8,
|
|
622
|
+
}, null, 8, Yt))), 256)),
|
|
620
623
|
(r(!0), s($, null, L(D.value, (l, o) => (r(), s("rect", {
|
|
621
624
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
622
625
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -627,8 +630,8 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
627
630
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
628
631
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
629
632
|
filter: K(n.value[o].serieIndex)
|
|
630
|
-
}, null, 8,
|
|
631
|
-
t.$slots.pattern ? (r(), s("g",
|
|
633
|
+
}, null, 8, Jt))), 256)),
|
|
634
|
+
t.$slots.pattern ? (r(), s("g", Kt, [
|
|
632
635
|
(r(!0), s($, null, L(D.value, (l, o) => (r(), s("rect", {
|
|
633
636
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
634
637
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -638,7 +641,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
638
641
|
fill: `url(#pattern_${k.value}_${n.value[o].absoluteIndex})`,
|
|
639
642
|
stroke: "none",
|
|
640
643
|
filter: K(n.value[o].serieIndex)
|
|
641
|
-
}, null, 8,
|
|
644
|
+
}, null, 8, Qt))), 256))
|
|
642
645
|
])) : y("", !0)
|
|
643
646
|
], 64)) : y("", !0),
|
|
644
647
|
(r(!0), s($, null, L(D.value, (l, o) => (r(), s($, null, [
|
|
@@ -652,11 +655,11 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
652
655
|
}, [
|
|
653
656
|
x("div", {
|
|
654
657
|
class: "vue-ui-waffle-caption",
|
|
655
|
-
style: W(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${j.value / 12}px;color:${c(
|
|
658
|
+
style: W(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${j.value / 12}px;color:${c(gt)(n.value[o].color)};gap:2px`)
|
|
656
659
|
}, [
|
|
657
|
-
e.value.style.chart.layout.labels.captions.showSerieName ? (r(), s("span",
|
|
658
|
-
e.value.style.chart.layout.labels.captions.showPercentage ? (r(), s("span",
|
|
659
|
-
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), s("span",
|
|
660
|
+
e.value.style.chart.layout.labels.captions.showSerieName ? (r(), s("span", el, A(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? c(mt)({ source: n.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : n.value[o].name) + ": ", 1)) : y("", !0),
|
|
661
|
+
e.value.style.chart.layout.labels.captions.showPercentage ? (r(), s("span", tl, A(c(_)({ v: n.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : y("", !0),
|
|
662
|
+
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), s("span", ll, " (" + A(c(G)(
|
|
660
663
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
661
664
|
n.value[o].value,
|
|
662
665
|
c(_)({
|
|
@@ -667,7 +670,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
667
670
|
}),
|
|
668
671
|
{ datapoint: n.value[o], position: l }
|
|
669
672
|
)) + ") ", 1)) : y("", !0),
|
|
670
|
-
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), s("span",
|
|
673
|
+
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), s("span", al, A(c(G)(
|
|
671
674
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
672
675
|
n.value[o].value,
|
|
673
676
|
c(_)({
|
|
@@ -679,10 +682,10 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
679
682
|
{ datapoint: n.value[o], position: l }
|
|
680
683
|
)), 1)) : y("", !0)
|
|
681
684
|
], 4)
|
|
682
|
-
], 8,
|
|
685
|
+
], 8, Zt)) : y("", !0)
|
|
683
686
|
], 64))), 256)),
|
|
684
687
|
(r(!0), s($, null, L(D.value, (l, o) => (r(), s("rect", {
|
|
685
|
-
onMouseover: (u) =>
|
|
688
|
+
onMouseover: (u) => et(o),
|
|
686
689
|
onMouseleave: a[0] || (a[0] = (u) => {
|
|
687
690
|
ee.value = !1, V.value = null;
|
|
688
691
|
}),
|
|
@@ -692,13 +695,13 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
692
695
|
width: j.value <= 0 ? 1e-4 : j.value,
|
|
693
696
|
fill: "transparent",
|
|
694
697
|
stroke: "none"
|
|
695
|
-
}, null, 40,
|
|
698
|
+
}, null, 40, ol))), 256)),
|
|
696
699
|
g(t.$slots, "svg", { svg: F.value }, void 0, !0)
|
|
697
|
-
], 14,
|
|
698
|
-
t.$slots.watermark ? (r(), s("div",
|
|
700
|
+
], 14, Rt)) : y("", !0),
|
|
701
|
+
t.$slots.watermark ? (r(), s("div", ul, [
|
|
699
702
|
g(t.$slots, "watermark", q(H({ isPrinting: c(ke) || c(xe) })), void 0, !0)
|
|
700
703
|
])) : y("", !0),
|
|
701
|
-
X.value ? y("", !0) : (r(), N(
|
|
704
|
+
X.value ? y("", !0) : (r(), N(At, {
|
|
702
705
|
key: 6,
|
|
703
706
|
config: {
|
|
704
707
|
type: "waffle",
|
|
@@ -714,10 +717,10 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
714
717
|
ref_key: "chartLegend",
|
|
715
718
|
ref: ce
|
|
716
719
|
}, [
|
|
717
|
-
e.value.style.chart.legend.show ? (r(), N(
|
|
720
|
+
e.value.style.chart.legend.show ? (r(), N(Lt, {
|
|
718
721
|
key: `legend_${fe.value}`,
|
|
719
722
|
legendSet: U.value,
|
|
720
|
-
config:
|
|
723
|
+
config: Ze.value,
|
|
721
724
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => Oe(l.uid))
|
|
722
725
|
}, Be({
|
|
723
726
|
item: m(({ legend: l }) => [
|
|
@@ -725,7 +728,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
725
728
|
onClick: (o) => l.segregate(),
|
|
726
729
|
style: W(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
|
|
727
730
|
}, [
|
|
728
|
-
Me(A(l.name) + ": " + A(c(
|
|
731
|
+
Me(A(l.name) + ": " + A(c(G)(
|
|
729
732
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
730
733
|
l.value,
|
|
731
734
|
c(_)({
|
|
@@ -737,15 +740,15 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
737
740
|
}),
|
|
738
741
|
{ datapoint: l }
|
|
739
742
|
)) + " ", 1),
|
|
740
|
-
p.value.includes(l.uid) ? (r(), s("span",
|
|
741
|
-
], 12,
|
|
743
|
+
p.value.includes(l.uid) ? (r(), s("span", nl, " ( - % ) ")) : (r(), s("span", sl, " (" + A(isNaN(l.value / P.value) ? "-" : c(_)({ v: l.value / P.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: z.value })) + ") ", 1))
|
|
744
|
+
], 12, rl)
|
|
742
745
|
]),
|
|
743
746
|
_: 2
|
|
744
747
|
}, [
|
|
745
748
|
t.$slots.pattern ? {
|
|
746
749
|
name: "legend-pattern",
|
|
747
750
|
fn: m(({ legend: l, index: o }) => [
|
|
748
|
-
se(
|
|
751
|
+
se(Vt, {
|
|
749
752
|
shape: l.shape,
|
|
750
753
|
radius: 30,
|
|
751
754
|
stroke: "none",
|
|
@@ -768,7 +771,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
768
771
|
}, [
|
|
769
772
|
g(t.$slots, "source", {}, void 0, !0)
|
|
770
773
|
], 512)) : y("", !0),
|
|
771
|
-
se(
|
|
774
|
+
se(Pt, {
|
|
772
775
|
show: C.value.showTooltip && ee.value && p.value.length < b.dataset.length,
|
|
773
776
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
774
777
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -782,7 +785,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
782
785
|
content: te.value,
|
|
783
786
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
784
787
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
785
|
-
isFullscreen:
|
|
788
|
+
isFullscreen: R.value
|
|
786
789
|
}, {
|
|
787
790
|
"tooltip-before": m(() => [
|
|
788
791
|
g(t.$slots, "tooltip-before", q(H({ ...oe.value })), void 0, !0)
|
|
@@ -792,7 +795,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
792
795
|
]),
|
|
793
796
|
_: 3
|
|
794
797
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen"]),
|
|
795
|
-
X.value ? (r(), N(
|
|
798
|
+
X.value ? (r(), N(Ft, {
|
|
796
799
|
key: 8,
|
|
797
800
|
hideDetails: "",
|
|
798
801
|
config: {
|
|
@@ -809,7 +812,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
809
812
|
}
|
|
810
813
|
}, {
|
|
811
814
|
content: m(() => [
|
|
812
|
-
(r(), N(
|
|
815
|
+
(r(), N(Ot, {
|
|
813
816
|
key: `table_${ye.value}`,
|
|
814
817
|
colNames: Q.value.colNames,
|
|
815
818
|
head: Q.value.head,
|
|
@@ -822,7 +825,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
822
825
|
x("div", {
|
|
823
826
|
innerHTML: l,
|
|
824
827
|
style: { display: "flex", "align-items": "center" }
|
|
825
|
-
}, null, 8,
|
|
828
|
+
}, null, 8, il)
|
|
826
829
|
]),
|
|
827
830
|
td: m(({ td: l }) => [
|
|
828
831
|
Me(A(l.name || l), 1)
|
|
@@ -832,9 +835,9 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
832
835
|
]),
|
|
833
836
|
_: 1
|
|
834
837
|
}, 8, ["config"])) : y("", !0)
|
|
835
|
-
], 46,
|
|
838
|
+
], 46, Ut));
|
|
836
839
|
}
|
|
837
|
-
},
|
|
840
|
+
}, Sl = /* @__PURE__ */ Dt(vl, [["__scopeId", "data-v-059288a6"]]);
|
|
838
841
|
export {
|
|
839
|
-
|
|
842
|
+
Sl as default
|
|
840
843
|
};
|