vue-data-ui 2.4.1 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -44
- package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
- package/dist/BaseIcon-uALK38Ov.cjs +1 -0
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
- package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
- package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
- package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
- package/dist/index-eFox7weK.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +22 -17
- package/dist/types/vue-data-ui.d.ts +22 -17
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
- package/dist/usePrinter-CSRFnDBU.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
- package/dist/useResponsive-BY8tgM1n.js +188 -0
- package/dist/useResponsive-CodiGUOE.cjs +1 -0
- package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
- package/dist/vue-data-ui-Bduq4f2p.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
- package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
- package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
- package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
- package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
- package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
- package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
- package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
- package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
- package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
- package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
- package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
- package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
- package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
- package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
- package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
- package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
- package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
- package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
- package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
- package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
- package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
- package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
- package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
- package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
- package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
- package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
- package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
- package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
- package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
- package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
- package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
- package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
- package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
- package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/useResponsive-B3TrDDIG.cjs +0 -1
- package/dist/useResponsive-NZB-WLRF.js +0 -187
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
- package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
- package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
- package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -0,0 +1,791 @@
|
|
|
1
|
+
import { computed as d, ref as c, watch as Le, onMounted as Xe, onBeforeUnmount as Ye, openBlock as r, createElementBlock as i, normalizeClass as Ae, normalizeStyle as Z, createBlock as N, createCommentVNode as f, unref as h, createSlots as Ke, withCtx as m, renderSlot as g, normalizeProps as D, guardReactiveProps as G, createVNode as ze, createElementVNode as k, Fragment as T, renderList as R, toDisplayString as S, createTextVNode as Fe, nextTick as Je, pushScopeId as Qe, popScopeId as Ze } from "vue";
|
|
2
|
+
import { u as et, c as tt, t as at, a as lt, p as O, o as ot, e as re, g as ut, b as rt, i as U, f as x, X as st, s as nt, w as it, F as ct, K as vt, d as dt, x as ht, y as pt, q as yt, r as ft } from "./index-Bya_q1J-.js";
|
|
3
|
+
import { t as gt, u as mt } from "./useResponsive-BY8tgM1n.js";
|
|
4
|
+
import { _ as bt } from "./Title-C5pIfQAz.js";
|
|
5
|
+
import { u as wt, U as kt } from "./usePrinter-CiHd1FwD.js";
|
|
6
|
+
import { _ as xt } from "./Tooltip-Cz24YLfw.js";
|
|
7
|
+
import { D as Ct } from "./DataTable-DYqC2pqu.js";
|
|
8
|
+
import { L as _t } from "./Legend-DNgTCgEK.js";
|
|
9
|
+
import $t from "./vue-ui-skeleton-BYssP0K4.js";
|
|
10
|
+
import It from "./vue-ui-accordion-DfUfL2dI.js";
|
|
11
|
+
import { u as Ne } from "./useNestedProp-B33hazbH.js";
|
|
12
|
+
import { _ as Tt } from "./PackageVersion-VkaUzgmt.js";
|
|
13
|
+
import { P as St } from "./PenAndPaper-DAZYA8Ew.js";
|
|
14
|
+
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = ["xmlns", "viewBox"], zt = ["id"], Ft = ["stop-color"], Nt = ["stop-color"], Ot = ["id"], Bt = /* @__PURE__ */ Oe(() => /* @__PURE__ */ k("feGaussianBlur", {
|
|
16
|
+
in: "SourceGraphic",
|
|
17
|
+
stdDeviation: 2
|
|
18
|
+
}, null, -1)), Vt = /* @__PURE__ */ Oe(() => /* @__PURE__ */ k("feColorMatrix", {
|
|
19
|
+
type: "saturate",
|
|
20
|
+
values: "0"
|
|
21
|
+
}, null, -1)), Mt = [
|
|
22
|
+
Bt,
|
|
23
|
+
Vt
|
|
24
|
+
], Dt = ["x", "y", "height", "width"], Gt = ["height", "width"], Rt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Ut = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], jt = ["x", "y", "height", "width", "filter"], Et = { key: 0 }, Wt = { key: 1 }, qt = { key: 2 }, Ht = { key: 3 }, Xt = ["onMouseover", "x", "y", "height", "width"], Yt = {
|
|
25
|
+
key: 4,
|
|
26
|
+
class: "vue-data-ui-watermark"
|
|
27
|
+
}, Kt = ["onClick"], Jt = { key: 0 }, Qt = { key: 1 }, Zt = ["innerHTML"], ea = {
|
|
28
|
+
__name: "vue-ui-waffle",
|
|
29
|
+
props: {
|
|
30
|
+
config: {
|
|
31
|
+
type: Object,
|
|
32
|
+
default() {
|
|
33
|
+
return {};
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
dataset: {
|
|
37
|
+
type: Array,
|
|
38
|
+
default() {
|
|
39
|
+
return [];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
emits: ["selectLegend"],
|
|
44
|
+
setup(j, { expose: Be, emit: Ve }) {
|
|
45
|
+
const b = j, { vue_ui_waffle: Me } = et(), X = d(() => !!b.dataset && b.dataset.length), P = c(tt()), De = c(null), ee = c(!1), te = c(""), B = c(null), se = c(0), V = c(null), ne = c(null), ie = c(null), ce = c(null), ve = c(0), de = c(0), he = c(0), e = d({
|
|
46
|
+
get: () => pe(),
|
|
47
|
+
set: (t) => t
|
|
48
|
+
});
|
|
49
|
+
function pe() {
|
|
50
|
+
const t = Ne({
|
|
51
|
+
userConfig: b.config,
|
|
52
|
+
defaultConfig: Me
|
|
53
|
+
});
|
|
54
|
+
return t.theme ? {
|
|
55
|
+
...Ne({
|
|
56
|
+
userConfig: at.vue_ui_waffle[t.theme] || b.config,
|
|
57
|
+
defaultConfig: t
|
|
58
|
+
}),
|
|
59
|
+
customPalette: lt[t.theme] || O
|
|
60
|
+
} : t;
|
|
61
|
+
}
|
|
62
|
+
Le(() => b.config, (t) => {
|
|
63
|
+
e.value = pe(), ye(), ve.value += 1, de.value += 1, he.value += 1;
|
|
64
|
+
}, { deep: !0 });
|
|
65
|
+
const Y = c(null);
|
|
66
|
+
function ye() {
|
|
67
|
+
if (ot(b.dataset) ? re({
|
|
68
|
+
componentName: "VueUiWaffle",
|
|
69
|
+
type: "dataset"
|
|
70
|
+
}) : b.dataset.forEach((t, o) => {
|
|
71
|
+
ut({
|
|
72
|
+
datasetObject: t,
|
|
73
|
+
requiredAttributes: ["name", "values"]
|
|
74
|
+
}).forEach((a) => {
|
|
75
|
+
re({
|
|
76
|
+
componentName: "VueUiWaffle",
|
|
77
|
+
type: "datasetSerieAttribute",
|
|
78
|
+
property: a,
|
|
79
|
+
index: o
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
}), e.value.responsive) {
|
|
83
|
+
const t = gt(() => {
|
|
84
|
+
const { width: o, height: a } = mt({
|
|
85
|
+
chart: V.value,
|
|
86
|
+
title: e.value.style.chart.title.text ? ne.value : null,
|
|
87
|
+
legend: e.value.style.chart.legend.show ? ie.value : null,
|
|
88
|
+
source: ce.value
|
|
89
|
+
});
|
|
90
|
+
L.value.width = o, L.value.height = a, C.value.width = o, C.value.height = a;
|
|
91
|
+
});
|
|
92
|
+
Y.value = new ResizeObserver(t), Y.value.observe(V.value.parentNode);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
Xe(() => {
|
|
96
|
+
ye();
|
|
97
|
+
}), Ye(() => {
|
|
98
|
+
Y.value && Y.value.disconnect();
|
|
99
|
+
});
|
|
100
|
+
const { isPrinting: fe, isImaging: ge, generatePdf: me, generateImage: be } = wt({
|
|
101
|
+
elementId: `vue-ui-waffle_${P.value}`,
|
|
102
|
+
fileName: e.value.style.chart.title.text || "vue-ui-waffle"
|
|
103
|
+
}), we = d(() => rt(e.value.customPalette)), I = c({
|
|
104
|
+
showTable: e.value.table.show,
|
|
105
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
106
|
+
}), L = c({
|
|
107
|
+
height: 512,
|
|
108
|
+
width: 512
|
|
109
|
+
}), C = c({
|
|
110
|
+
top: 0,
|
|
111
|
+
left: 0,
|
|
112
|
+
height: 512,
|
|
113
|
+
width: 512
|
|
114
|
+
}), A = d(() => (C.value.width - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), z = d(() => (C.value.height - e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.spaceBetween) / e.value.style.chart.layout.grid.size), E = d(() => C.value.width / e.value.style.chart.layout.grid.size), K = d(() => C.value.height / e.value.style.chart.layout.grid.size);
|
|
115
|
+
function ke(t) {
|
|
116
|
+
const o = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, a = t.reduce((w, ue) => w + ue, 0), l = t.map((w) => w / a * o), u = l.map(Math.floor), n = l.map((w) => w % 1);
|
|
117
|
+
let y = o - u.reduce((w, ue) => w + ue, 0);
|
|
118
|
+
for (; y > 0; ) {
|
|
119
|
+
let w = n.indexOf(Math.max(...n));
|
|
120
|
+
u[w] += 1, n[w] = 0, y -= 1;
|
|
121
|
+
}
|
|
122
|
+
return u;
|
|
123
|
+
}
|
|
124
|
+
function xe() {
|
|
125
|
+
return b.dataset.map((t, o) => ({
|
|
126
|
+
...t,
|
|
127
|
+
color: dt(t.color) || we.value[o] || O[o] || O[o % O.length],
|
|
128
|
+
uid: `serie_${o}`,
|
|
129
|
+
absoluteIndex: o
|
|
130
|
+
}));
|
|
131
|
+
}
|
|
132
|
+
const Ce = d(() => xe()), v = c(Ce.value);
|
|
133
|
+
Le(() => b.dataset, (t) => {
|
|
134
|
+
v.value = xe();
|
|
135
|
+
}, { deep: !0 });
|
|
136
|
+
const Ge = d(() => {
|
|
137
|
+
const t = v.value.filter((o, a) => !p.value.includes(o.uid)).map((o, a) => (o.values || []).reduce((l, u) => l + u, 0));
|
|
138
|
+
return ke(t);
|
|
139
|
+
}), Re = d(() => {
|
|
140
|
+
const t = v.value.map((o, a) => (o.values || []).reduce((l, u) => l + u));
|
|
141
|
+
return ke(t);
|
|
142
|
+
}), W = d(() => (b.dataset.forEach((t, o) => {
|
|
143
|
+
[null, void 0].includes(t.values) && re({
|
|
144
|
+
componentName: "VueUiWaffle",
|
|
145
|
+
type: "datasetSerieAttribute",
|
|
146
|
+
property: "values (number[])",
|
|
147
|
+
index: o
|
|
148
|
+
});
|
|
149
|
+
}), v.value.filter((t, o) => !p.value.includes(t.uid)).map((t, o) => ({
|
|
150
|
+
absoluteIndex: t.absoluteIndex,
|
|
151
|
+
uid: t.uid,
|
|
152
|
+
name: t.name,
|
|
153
|
+
color: t.color,
|
|
154
|
+
value: (t.values || []).reduce((a, l) => a + l, 0),
|
|
155
|
+
absoluteValues: t.values || [],
|
|
156
|
+
proportion: Ge.value[o]
|
|
157
|
+
})))), Ue = d(() => v.value.map((t, o) => ({
|
|
158
|
+
absoluteIndex: t.absoluteIndex,
|
|
159
|
+
uid: t.uid,
|
|
160
|
+
name: t.name,
|
|
161
|
+
color: t.color,
|
|
162
|
+
value: (t.values || []).reduce((a, l) => a + l, 0),
|
|
163
|
+
absoluteValues: t.values || [],
|
|
164
|
+
proportion: Re.value[o]
|
|
165
|
+
})));
|
|
166
|
+
function je() {
|
|
167
|
+
return Ue.value.map((t) => ({
|
|
168
|
+
name: t.name,
|
|
169
|
+
color: t.color,
|
|
170
|
+
value: t.value,
|
|
171
|
+
proportion: t.proportion
|
|
172
|
+
}));
|
|
173
|
+
}
|
|
174
|
+
const Ee = d(() => {
|
|
175
|
+
let t = 0;
|
|
176
|
+
return W.value.map((o, a) => {
|
|
177
|
+
const l = t, u = l + o.proportion, n = [];
|
|
178
|
+
for (let y = Math.floor(l); y < Math.floor(u); y += 1)
|
|
179
|
+
n.push(y);
|
|
180
|
+
return t = u, {
|
|
181
|
+
...o,
|
|
182
|
+
start: l,
|
|
183
|
+
rects: n
|
|
184
|
+
};
|
|
185
|
+
});
|
|
186
|
+
}), s = d(() => Ee.value.flatMap((t, o) => t.rects.map((a, l) => ({
|
|
187
|
+
isFirst: l === 0,
|
|
188
|
+
isLongEnough: a.length > 2,
|
|
189
|
+
name: t.name,
|
|
190
|
+
color: t.color,
|
|
191
|
+
value: t.value,
|
|
192
|
+
serieIndex: o,
|
|
193
|
+
absoluteStartIndex: l < 3,
|
|
194
|
+
serieId: t.uid,
|
|
195
|
+
...t
|
|
196
|
+
}))).map((t, o) => ({
|
|
197
|
+
...t,
|
|
198
|
+
isAbsoluteFirst: o % e.value.style.chart.layout.grid.size === 0
|
|
199
|
+
}))), q = d(() => {
|
|
200
|
+
const t = [];
|
|
201
|
+
for (let o = 0; o < e.value.style.chart.layout.grid.size; o += 1)
|
|
202
|
+
for (let a = 0; a < e.value.style.chart.layout.grid.size; a += 1)
|
|
203
|
+
t.push({
|
|
204
|
+
isStartOfLine: a === 0,
|
|
205
|
+
position: e.value.style.chart.layout.grid.vertical ? o : a,
|
|
206
|
+
x: (e.value.style.chart.layout.grid.vertical ? o : a) * (A.value + e.value.style.chart.layout.grid.spaceBetween),
|
|
207
|
+
y: (e.value.style.chart.layout.grid.vertical ? a : o) * (z.value + e.value.style.chart.layout.grid.spaceBetween) + C.value.top
|
|
208
|
+
});
|
|
209
|
+
return t;
|
|
210
|
+
}), p = c([]), F = c(!1), _e = c(null), $e = c(null);
|
|
211
|
+
function Ie(t) {
|
|
212
|
+
if (!e.value.useAnimation) {
|
|
213
|
+
p.value.includes(t) ? p.value = p.value.filter((u) => u !== t) : p.value.length < M.value.length - 1 && M.value.length > 1 && p.value.push(t);
|
|
214
|
+
return;
|
|
215
|
+
}
|
|
216
|
+
const o = Ce.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0);
|
|
217
|
+
let l = v.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0);
|
|
218
|
+
if (p.value.includes(t)) {
|
|
219
|
+
let n = function() {
|
|
220
|
+
l > u ? (cancelAnimationFrame(_e.value), v.value = v.value.map((y, w) => y.uid === t ? {
|
|
221
|
+
...y,
|
|
222
|
+
values: [u]
|
|
223
|
+
} : y), F.value = !1) : (F.value = !0, l += u * 0.025, v.value = v.value.map((y, w) => y.uid === t ? {
|
|
224
|
+
...y,
|
|
225
|
+
values: [l]
|
|
226
|
+
} : y), _e.value = requestAnimationFrame(n));
|
|
227
|
+
};
|
|
228
|
+
p.value = p.value.filter((y) => y !== t);
|
|
229
|
+
const u = o;
|
|
230
|
+
n();
|
|
231
|
+
} else if (p.value.length < M.value.length - 1 && M.value.length > 1) {
|
|
232
|
+
let u = function() {
|
|
233
|
+
l < 0.1 ? (cancelAnimationFrame($e.value), p.value.push(t), v.value = v.value.map((n, y) => n.uid === t ? {
|
|
234
|
+
...n,
|
|
235
|
+
values: [0]
|
|
236
|
+
} : n), F.value = !1) : (F.value = !0, l /= 1.5, v.value = v.value.map((n, y) => n.uid === t ? {
|
|
237
|
+
...n,
|
|
238
|
+
values: [l]
|
|
239
|
+
} : n), $e.value = requestAnimationFrame(u));
|
|
240
|
+
};
|
|
241
|
+
u();
|
|
242
|
+
}
|
|
243
|
+
Ve("selectLegend", W.value.map((u) => ({
|
|
244
|
+
name: u.name,
|
|
245
|
+
color: u.color,
|
|
246
|
+
value: u.value,
|
|
247
|
+
proportion: u.proportion / Math.pow(e.value.style.chart.layout.grid.size, 2)
|
|
248
|
+
})));
|
|
249
|
+
}
|
|
250
|
+
const M = d(() => v.value.map((t, o) => ({
|
|
251
|
+
name: t.name,
|
|
252
|
+
color: t.color || we[o] || O[o] || O[o % O.length],
|
|
253
|
+
value: (t.values || []).reduce((a, l) => a + l, 0),
|
|
254
|
+
uid: t.uid,
|
|
255
|
+
shape: "square"
|
|
256
|
+
})).map((t, o) => ({
|
|
257
|
+
...t,
|
|
258
|
+
proportion: t.value / v.value.map((a) => (a.values || []).reduce((l, u) => l + u, 0)).reduce((a, l) => a + l, 0),
|
|
259
|
+
opacity: p.value.includes(t.uid) ? 0.5 : 1,
|
|
260
|
+
segregate: () => Ie(t.uid),
|
|
261
|
+
isSegregated: p.value.includes(t.uid)
|
|
262
|
+
}))), We = d(() => ({
|
|
263
|
+
cy: "waffle-div-legend",
|
|
264
|
+
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
265
|
+
color: e.value.style.chart.legend.color,
|
|
266
|
+
fontSize: e.value.style.chart.legend.fontSize,
|
|
267
|
+
paddingBottom: 12,
|
|
268
|
+
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
269
|
+
})), _ = d(() => W.value.map((t) => t.value).reduce((t, o) => t + o, 0)), ae = c(null);
|
|
270
|
+
function qe(t) {
|
|
271
|
+
if (p.value.length === b.dataset.length) return;
|
|
272
|
+
const o = s.value[t];
|
|
273
|
+
ae.value = {
|
|
274
|
+
datapoint: o,
|
|
275
|
+
seriesIndex: o.absoluteIndex,
|
|
276
|
+
series: v.value,
|
|
277
|
+
config: e.value
|
|
278
|
+
}, ee.value = !0, B.value = s.value[t].serieIndex;
|
|
279
|
+
const a = e.value.style.chart.tooltip.customFormat;
|
|
280
|
+
if (ht(a) && pt(() => a({
|
|
281
|
+
seriesIndex: s.value[t].absoluteIndex,
|
|
282
|
+
datapoint: o,
|
|
283
|
+
series: v.value,
|
|
284
|
+
config: e.value
|
|
285
|
+
})))
|
|
286
|
+
te.value = a({
|
|
287
|
+
seriesIndex: s.value[t].absoluteIndex,
|
|
288
|
+
datapoint: o,
|
|
289
|
+
series: v.value,
|
|
290
|
+
config: e.value
|
|
291
|
+
});
|
|
292
|
+
else {
|
|
293
|
+
let l = "";
|
|
294
|
+
if (l += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, l += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" height="12" width="12" stroke="none" rx="1" fill="${o.color}" /></svg>`, e.value.style.chart.tooltip.showValue && (l += `<b>${U(
|
|
295
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
296
|
+
o.value,
|
|
297
|
+
x({
|
|
298
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
299
|
+
v: o.value,
|
|
300
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
301
|
+
r: e.value.style.chart.tooltip.roundingValue
|
|
302
|
+
}),
|
|
303
|
+
{
|
|
304
|
+
datapoint: o,
|
|
305
|
+
seriesIndex: s.value[t].absoluteIndex,
|
|
306
|
+
series: v.value
|
|
307
|
+
}
|
|
308
|
+
)}</b>`), e.value.style.chart.tooltip.showPercentage) {
|
|
309
|
+
const u = x({
|
|
310
|
+
v: o.value / _.value * 100,
|
|
311
|
+
s: "%",
|
|
312
|
+
r: e.value.style.chart.tooltip.roundingPercentage
|
|
313
|
+
});
|
|
314
|
+
e.value.style.chart.tooltip.showValue ? l += `<span>(${u})</span></div>` : l += `<b>${u}%</b></div>`;
|
|
315
|
+
}
|
|
316
|
+
te.value = l;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
const $ = d(() => {
|
|
320
|
+
const t = W.value.map((a) => ({
|
|
321
|
+
name: a.name,
|
|
322
|
+
color: a.color
|
|
323
|
+
})), o = W.value.map((a) => a.value);
|
|
324
|
+
return { head: t, body: o };
|
|
325
|
+
});
|
|
326
|
+
function le(t) {
|
|
327
|
+
return e.value.useBlurOnHover && ![null, void 0].includes(B.value) && B.value !== t ? `url(#blur_${P.value})` : "";
|
|
328
|
+
}
|
|
329
|
+
function Te() {
|
|
330
|
+
Je(() => {
|
|
331
|
+
const t = $.value.head.map((l, u) => [[
|
|
332
|
+
l.name
|
|
333
|
+
], [$.value.body[u]], [isNaN($.value.body[u] / _.value) ? "-" : $.value.body[u] / _.value * 100]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = yt(o);
|
|
334
|
+
ft({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-waffle" });
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
const J = d(() => {
|
|
338
|
+
const t = [
|
|
339
|
+
' <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>',
|
|
340
|
+
U(
|
|
341
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
342
|
+
_.value,
|
|
343
|
+
x({
|
|
344
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
345
|
+
v: _.value,
|
|
346
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
347
|
+
r: e.value.table.td.roundingValue
|
|
348
|
+
})
|
|
349
|
+
),
|
|
350
|
+
"100%"
|
|
351
|
+
], o = $.value.head.map((u, n) => [
|
|
352
|
+
{
|
|
353
|
+
color: u.color,
|
|
354
|
+
name: u.name
|
|
355
|
+
},
|
|
356
|
+
U(
|
|
357
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
358
|
+
$.value.body[n],
|
|
359
|
+
x({
|
|
360
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
361
|
+
v: $.value.body[n],
|
|
362
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
363
|
+
r: e.value.table.td.roundingValue
|
|
364
|
+
})
|
|
365
|
+
),
|
|
366
|
+
isNaN($.value.body[n] / _.value) ? "-" : x({
|
|
367
|
+
v: $.value.body[n] / _.value * 100,
|
|
368
|
+
s: "%",
|
|
369
|
+
r: e.value.table.td.roundingPercentage
|
|
370
|
+
})
|
|
371
|
+
]), a = {
|
|
372
|
+
th: {
|
|
373
|
+
backgroundColor: e.value.table.th.backgroundColor,
|
|
374
|
+
color: e.value.table.th.color,
|
|
375
|
+
outline: e.value.table.th.outline
|
|
376
|
+
},
|
|
377
|
+
td: {
|
|
378
|
+
backgroundColor: e.value.table.td.backgroundColor,
|
|
379
|
+
color: e.value.table.td.color,
|
|
380
|
+
outline: e.value.table.td.outline
|
|
381
|
+
},
|
|
382
|
+
shape: "square",
|
|
383
|
+
breakpoint: e.value.table.responsiveBreakpoint
|
|
384
|
+
}, l = [
|
|
385
|
+
e.value.table.columnNames.series,
|
|
386
|
+
e.value.table.columnNames.value,
|
|
387
|
+
e.value.table.columnNames.percentage
|
|
388
|
+
];
|
|
389
|
+
return {
|
|
390
|
+
head: t,
|
|
391
|
+
body: o,
|
|
392
|
+
config: a,
|
|
393
|
+
colNames: l
|
|
394
|
+
};
|
|
395
|
+
}), H = c(!1);
|
|
396
|
+
function He(t) {
|
|
397
|
+
H.value = t, se.value += 1;
|
|
398
|
+
}
|
|
399
|
+
function Se() {
|
|
400
|
+
I.value.showTable = !I.value.showTable;
|
|
401
|
+
}
|
|
402
|
+
function Pe() {
|
|
403
|
+
I.value.showTooltip = !I.value.showTooltip;
|
|
404
|
+
}
|
|
405
|
+
const Q = c(!1);
|
|
406
|
+
function oe() {
|
|
407
|
+
Q.value = !Q.value;
|
|
408
|
+
}
|
|
409
|
+
return Be({
|
|
410
|
+
getData: je,
|
|
411
|
+
generatePdf: me,
|
|
412
|
+
generateCsv: Te,
|
|
413
|
+
generateImage: be,
|
|
414
|
+
toggleTable: Se,
|
|
415
|
+
toggleTooltip: Pe,
|
|
416
|
+
toggleAnnotator: oe
|
|
417
|
+
}), (t, o) => (r(), i("div", {
|
|
418
|
+
class: Ae(`vue-ui-waffle ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
419
|
+
ref_key: "waffleChart",
|
|
420
|
+
ref: V,
|
|
421
|
+
id: `vue-ui-waffle_${P.value}`,
|
|
422
|
+
style: Z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
|
|
423
|
+
}, [
|
|
424
|
+
e.value.userOptions.buttons.annotator ? (r(), N(St, {
|
|
425
|
+
key: 0,
|
|
426
|
+
parent: V.value,
|
|
427
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
428
|
+
color: e.value.style.chart.color,
|
|
429
|
+
active: Q.value,
|
|
430
|
+
onClose: oe
|
|
431
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
432
|
+
e.value.style.chart.title.text ? (r(), i("div", {
|
|
433
|
+
key: 1,
|
|
434
|
+
ref_key: "chartTitle",
|
|
435
|
+
ref: ne,
|
|
436
|
+
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
437
|
+
}, [
|
|
438
|
+
(r(), N(bt, {
|
|
439
|
+
key: `title_${ve.value}`,
|
|
440
|
+
config: {
|
|
441
|
+
title: {
|
|
442
|
+
cy: "waffle-title",
|
|
443
|
+
...e.value.style.chart.title
|
|
444
|
+
},
|
|
445
|
+
subtitle: {
|
|
446
|
+
cy: "waffle-subtitle",
|
|
447
|
+
...e.value.style.chart.title.subtitle
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
}, null, 8, ["config"]))
|
|
451
|
+
], 512)) : f("", !0),
|
|
452
|
+
e.value.userOptions.show && X.value ? (r(), N(kt, {
|
|
453
|
+
ref_key: "details",
|
|
454
|
+
ref: De,
|
|
455
|
+
key: `user_options_${se.value}`,
|
|
456
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
457
|
+
color: e.value.style.chart.color,
|
|
458
|
+
isPrinting: h(fe),
|
|
459
|
+
isImaging: h(ge),
|
|
460
|
+
uid: P.value,
|
|
461
|
+
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
462
|
+
hasPdf: e.value.userOptions.buttons.pdf,
|
|
463
|
+
hasImg: e.value.userOptions.buttons.img,
|
|
464
|
+
hasXls: e.value.userOptions.buttons.csv,
|
|
465
|
+
hasTable: e.value.userOptions.buttons.table,
|
|
466
|
+
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
467
|
+
isFullscreen: H.value,
|
|
468
|
+
isTooltip: I.value.showTooltip,
|
|
469
|
+
titles: { ...e.value.userOptions.buttonTitles },
|
|
470
|
+
chartElement: V.value,
|
|
471
|
+
position: e.value.userOptions.position,
|
|
472
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
473
|
+
isAnnotation: Q.value,
|
|
474
|
+
onToggleFullscreen: He,
|
|
475
|
+
onGeneratePdf: h(me),
|
|
476
|
+
onGenerateCsv: Te,
|
|
477
|
+
onGenerateImage: h(be),
|
|
478
|
+
onToggleTable: Se,
|
|
479
|
+
onToggleTooltip: Pe,
|
|
480
|
+
onToggleAnnotator: oe
|
|
481
|
+
}, Ke({ _: 2 }, [
|
|
482
|
+
t.$slots.optionTooltip ? {
|
|
483
|
+
name: "optionTooltip",
|
|
484
|
+
fn: m(() => [
|
|
485
|
+
g(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
486
|
+
]),
|
|
487
|
+
key: "0"
|
|
488
|
+
} : void 0,
|
|
489
|
+
t.$slots.optionPdf ? {
|
|
490
|
+
name: "optionPdf",
|
|
491
|
+
fn: m(() => [
|
|
492
|
+
g(t.$slots, "optionPdf", {}, void 0, !0)
|
|
493
|
+
]),
|
|
494
|
+
key: "1"
|
|
495
|
+
} : void 0,
|
|
496
|
+
t.$slots.optionCsv ? {
|
|
497
|
+
name: "optionCsv",
|
|
498
|
+
fn: m(() => [
|
|
499
|
+
g(t.$slots, "optionCsv", {}, void 0, !0)
|
|
500
|
+
]),
|
|
501
|
+
key: "2"
|
|
502
|
+
} : void 0,
|
|
503
|
+
t.$slots.optionImg ? {
|
|
504
|
+
name: "optionImg",
|
|
505
|
+
fn: m(() => [
|
|
506
|
+
g(t.$slots, "optionImg", {}, void 0, !0)
|
|
507
|
+
]),
|
|
508
|
+
key: "3"
|
|
509
|
+
} : void 0,
|
|
510
|
+
t.$slots.optionTable ? {
|
|
511
|
+
name: "optionTable",
|
|
512
|
+
fn: m(() => [
|
|
513
|
+
g(t.$slots, "optionTable", {}, void 0, !0)
|
|
514
|
+
]),
|
|
515
|
+
key: "4"
|
|
516
|
+
} : void 0,
|
|
517
|
+
t.$slots.optionFullscreen ? {
|
|
518
|
+
name: "optionFullscreen",
|
|
519
|
+
fn: m(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
520
|
+
g(t.$slots, "optionFullscreen", D(G({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
521
|
+
]),
|
|
522
|
+
key: "5"
|
|
523
|
+
} : void 0,
|
|
524
|
+
t.$slots.optionAnnotator ? {
|
|
525
|
+
name: "optionAnnotator",
|
|
526
|
+
fn: m(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
527
|
+
g(t.$slots, "optionAnnotator", D(G({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
528
|
+
]),
|
|
529
|
+
key: "6"
|
|
530
|
+
} : void 0
|
|
531
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
|
|
532
|
+
X.value ? (r(), i("svg", {
|
|
533
|
+
key: 3,
|
|
534
|
+
xmlns: h(st),
|
|
535
|
+
class: Ae({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
|
|
536
|
+
viewBox: `0 0 ${L.value.width <= 0 ? 10 : L.value.width} ${L.value.height <= 0 ? 10 : L.value.height}`,
|
|
537
|
+
style: Z(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
538
|
+
}, [
|
|
539
|
+
ze(Tt),
|
|
540
|
+
k("defs", null, [
|
|
541
|
+
(r(!0), i(T, null, R(s.value, (a, l) => (r(), i("radialGradient", {
|
|
542
|
+
cx: "50%",
|
|
543
|
+
cy: "50%",
|
|
544
|
+
r: "50%",
|
|
545
|
+
fx: "50%",
|
|
546
|
+
fy: "50%",
|
|
547
|
+
id: `gradient_${P.value}_${l}`
|
|
548
|
+
}, [
|
|
549
|
+
k("stop", {
|
|
550
|
+
offset: "0%",
|
|
551
|
+
"stop-color": h(nt)(h(it)(a.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
|
|
552
|
+
}, null, 8, Ft),
|
|
553
|
+
k("stop", {
|
|
554
|
+
offset: "100%",
|
|
555
|
+
"stop-color": a.color
|
|
556
|
+
}, null, 8, Nt)
|
|
557
|
+
], 8, zt))), 256))
|
|
558
|
+
]),
|
|
559
|
+
k("defs", null, [
|
|
560
|
+
k("filter", {
|
|
561
|
+
id: `blur_${P.value}`,
|
|
562
|
+
x: "-50%",
|
|
563
|
+
y: "-50%",
|
|
564
|
+
width: "200%",
|
|
565
|
+
height: "200%"
|
|
566
|
+
}, Mt, 8, Ot)
|
|
567
|
+
]),
|
|
568
|
+
e.value.useCustomCells && s.value.length ? (r(!0), i(T, { key: 0 }, R(q.value, (a, l) => (r(), i("foreignObject", {
|
|
569
|
+
x: a.x,
|
|
570
|
+
y: a.y,
|
|
571
|
+
height: z.value <= 0 ? 1e-4 : z.value,
|
|
572
|
+
width: A.value <= 0 ? 1e-4 : A.value,
|
|
573
|
+
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
574
|
+
}, [
|
|
575
|
+
g(t.$slots, "cell", D(G({ cell: { ...a, color: s.value[l].color, ...s.value[l] }, isSelected: [null, void 0].includes(B.value) ? !0 : s.value[l].serieIndex === B.value })), void 0, !0)
|
|
576
|
+
], 8, Dt))), 256)) : f("", !0),
|
|
577
|
+
!s.value.length && !e.value.useCustomCells ? (r(), i("rect", {
|
|
578
|
+
key: 1,
|
|
579
|
+
x: 12,
|
|
580
|
+
y: 12,
|
|
581
|
+
height: C.value.height - 24,
|
|
582
|
+
width: C.value.width - 24,
|
|
583
|
+
rx: 3,
|
|
584
|
+
fill: "none",
|
|
585
|
+
stroke: "black"
|
|
586
|
+
}, null, 8, Gt)) : s.value.length && !e.value.useCustomCells ? (r(), i(T, { key: 2 }, [
|
|
587
|
+
(r(!0), i(T, null, R(q.value, (a, l) => (r(), i("rect", {
|
|
588
|
+
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
589
|
+
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
590
|
+
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
591
|
+
height: z.value <= 0 ? 1e-4 : z.value,
|
|
592
|
+
width: A.value <= 0 ? 1e-4 : A.value,
|
|
593
|
+
fill: "white",
|
|
594
|
+
stroke: e.value.style.chart.layout.rect.stroke,
|
|
595
|
+
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
596
|
+
filter: le(s.value[l].serieIndex)
|
|
597
|
+
}, null, 8, Rt))), 256)),
|
|
598
|
+
(r(!0), i(T, null, R(q.value, (a, l) => (r(), i("rect", {
|
|
599
|
+
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
600
|
+
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
601
|
+
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
602
|
+
height: z.value <= 0 ? 1e-4 : z.value,
|
|
603
|
+
width: A.value <= 0 ? 1e-4 : A.value,
|
|
604
|
+
fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${P.value}_${l})` : s.value[l].color,
|
|
605
|
+
stroke: e.value.style.chart.layout.rect.stroke,
|
|
606
|
+
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
607
|
+
filter: le(s.value[l].serieIndex)
|
|
608
|
+
}, null, 8, Ut))), 256))
|
|
609
|
+
], 64)) : f("", !0),
|
|
610
|
+
(r(!0), i(T, null, R(q.value, (a, l) => (r(), i(T, null, [
|
|
611
|
+
s.value.length && !F.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (s.value[l].isFirst && a.position < e.value.style.chart.layout.grid.size - 2 || s.value[l].isAbsoluteFirst && l % e.value.style.chart.layout.grid.size === 0 && s.value[l].absoluteStartIndex) ? (r(), i("foreignObject", {
|
|
612
|
+
key: 0,
|
|
613
|
+
x: a.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
614
|
+
y: a.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
615
|
+
height: K.value <= 0 ? 1e-4 : K.value,
|
|
616
|
+
width: E.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : E.value * e.value.style.chart.layout.grid.size,
|
|
617
|
+
filter: le(s.value[l].serieIndex)
|
|
618
|
+
}, [
|
|
619
|
+
k("div", {
|
|
620
|
+
class: "vue-ui-waffle-caption",
|
|
621
|
+
style: Z(`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 ${E.value / 12}px;color:${h(ct)(s.value[l].color)};gap:2px`)
|
|
622
|
+
}, [
|
|
623
|
+
e.value.style.chart.layout.labels.captions.showSerieName ? (r(), i("span", Et, S(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? h(vt)({ source: s.value[l].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : s.value[l].name) + ": ", 1)) : f("", !0),
|
|
624
|
+
e.value.style.chart.layout.labels.captions.showPercentage ? (r(), i("span", Wt, S(h(x)({ v: s.value[l].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : f("", !0),
|
|
625
|
+
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), i("span", qt, " (" + S(h(U)(
|
|
626
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
627
|
+
s.value[l].value,
|
|
628
|
+
h(x)({
|
|
629
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
630
|
+
v: s.value[l].value,
|
|
631
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
632
|
+
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
633
|
+
}),
|
|
634
|
+
{ datapoint: s.value[l], position: a }
|
|
635
|
+
)) + ") ", 1)) : f("", !0),
|
|
636
|
+
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), i("span", Ht, S(h(U)(
|
|
637
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
638
|
+
s.value[l].value,
|
|
639
|
+
h(x)({
|
|
640
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
641
|
+
v: s.value[l].value,
|
|
642
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
643
|
+
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
644
|
+
}),
|
|
645
|
+
{ datapoint: s.value[l], position: a }
|
|
646
|
+
)), 1)) : f("", !0)
|
|
647
|
+
], 4)
|
|
648
|
+
], 8, jt)) : f("", !0)
|
|
649
|
+
], 64))), 256)),
|
|
650
|
+
(r(!0), i(T, null, R(q.value, (a, l) => (r(), i("rect", {
|
|
651
|
+
onMouseover: (u) => qe(l),
|
|
652
|
+
onMouseleave: o[0] || (o[0] = (u) => {
|
|
653
|
+
ee.value = !1, B.value = null;
|
|
654
|
+
}),
|
|
655
|
+
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
656
|
+
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
657
|
+
height: K.value <= 0 ? 1e-4 : K.value,
|
|
658
|
+
width: E.value <= 0 ? 1e-4 : E.value,
|
|
659
|
+
fill: "transparent",
|
|
660
|
+
stroke: "none"
|
|
661
|
+
}, null, 40, Xt))), 256)),
|
|
662
|
+
g(t.$slots, "svg", { svg: L.value }, void 0, !0)
|
|
663
|
+
], 14, At)) : f("", !0),
|
|
664
|
+
t.$slots.watermark ? (r(), i("div", Yt, [
|
|
665
|
+
g(t.$slots, "watermark", D(G({ isPrinting: h(fe) || h(ge) })), void 0, !0)
|
|
666
|
+
])) : f("", !0),
|
|
667
|
+
X.value ? f("", !0) : (r(), N($t, {
|
|
668
|
+
key: 5,
|
|
669
|
+
config: {
|
|
670
|
+
type: "waffle",
|
|
671
|
+
style: {
|
|
672
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
673
|
+
waffle: {
|
|
674
|
+
color: "#CCCCCC"
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
}, null, 8, ["config"])),
|
|
679
|
+
k("div", {
|
|
680
|
+
ref_key: "chartLegend",
|
|
681
|
+
ref: ie
|
|
682
|
+
}, [
|
|
683
|
+
e.value.style.chart.legend.show ? (r(), N(_t, {
|
|
684
|
+
key: `legend_${he.value}`,
|
|
685
|
+
legendSet: M.value,
|
|
686
|
+
config: We.value,
|
|
687
|
+
onClickMarker: o[1] || (o[1] = ({ legend: a }) => Ie(a.uid))
|
|
688
|
+
}, {
|
|
689
|
+
item: m(({ legend: a }) => [
|
|
690
|
+
k("div", {
|
|
691
|
+
onClick: (l) => a.segregate(),
|
|
692
|
+
style: Z(`opacity:${p.value.includes(a.uid) ? 0.5 : 1}`)
|
|
693
|
+
}, [
|
|
694
|
+
Fe(S(a.name) + ": " + S(h(U)(
|
|
695
|
+
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
696
|
+
a.value,
|
|
697
|
+
h(x)({
|
|
698
|
+
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
699
|
+
v: a.value,
|
|
700
|
+
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
701
|
+
r: e.value.style.chart.legend.roundingValue,
|
|
702
|
+
isAnimating: F.value
|
|
703
|
+
}),
|
|
704
|
+
{ datapoint: a }
|
|
705
|
+
)) + " ", 1),
|
|
706
|
+
p.value.includes(a.uid) ? (r(), i("span", Qt, " ( - % ) ")) : (r(), i("span", Jt, " (" + S(isNaN(a.value / _.value) ? "-" : h(x)({ v: a.value / _.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: F.value })) + ") ", 1))
|
|
707
|
+
], 12, Kt)
|
|
708
|
+
]),
|
|
709
|
+
_: 1
|
|
710
|
+
}, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
|
|
711
|
+
key: 1,
|
|
712
|
+
legend: M.value
|
|
713
|
+
}, void 0, !0)
|
|
714
|
+
], 512),
|
|
715
|
+
t.$slots.source ? (r(), i("div", {
|
|
716
|
+
key: 6,
|
|
717
|
+
ref_key: "source",
|
|
718
|
+
ref: ce,
|
|
719
|
+
dir: "auto"
|
|
720
|
+
}, [
|
|
721
|
+
g(t.$slots, "source", {}, void 0, !0)
|
|
722
|
+
], 512)) : f("", !0),
|
|
723
|
+
ze(xt, {
|
|
724
|
+
show: I.value.showTooltip && ee.value && p.value.length < b.dataset.length,
|
|
725
|
+
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
726
|
+
color: e.value.style.chart.tooltip.color,
|
|
727
|
+
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
728
|
+
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
729
|
+
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
730
|
+
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
731
|
+
position: e.value.style.chart.tooltip.position,
|
|
732
|
+
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
733
|
+
parent: V.value,
|
|
734
|
+
content: te.value,
|
|
735
|
+
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
736
|
+
fontSize: e.value.style.chart.tooltip.fontSize
|
|
737
|
+
}, {
|
|
738
|
+
"tooltip-before": m(() => [
|
|
739
|
+
g(t.$slots, "tooltip-before", D(G({ ...ae.value })), void 0, !0)
|
|
740
|
+
]),
|
|
741
|
+
"tooltip-after": m(() => [
|
|
742
|
+
g(t.$slots, "tooltip-after", D(G({ ...ae.value })), void 0, !0)
|
|
743
|
+
]),
|
|
744
|
+
_: 3
|
|
745
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize"]),
|
|
746
|
+
X.value ? (r(), N(It, {
|
|
747
|
+
key: 7,
|
|
748
|
+
hideDetails: "",
|
|
749
|
+
config: {
|
|
750
|
+
open: I.value.showTable,
|
|
751
|
+
maxHeight: 1e4,
|
|
752
|
+
body: {
|
|
753
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
754
|
+
color: e.value.style.chart.color
|
|
755
|
+
},
|
|
756
|
+
head: {
|
|
757
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
758
|
+
color: e.value.style.chart.color
|
|
759
|
+
}
|
|
760
|
+
}
|
|
761
|
+
}, {
|
|
762
|
+
content: m(() => [
|
|
763
|
+
(r(), N(Ct, {
|
|
764
|
+
key: `table_${de.value}`,
|
|
765
|
+
colNames: J.value.colNames,
|
|
766
|
+
head: J.value.head,
|
|
767
|
+
body: J.value.body,
|
|
768
|
+
config: J.value.config,
|
|
769
|
+
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
770
|
+
onClose: o[2] || (o[2] = (a) => I.value.showTable = !1)
|
|
771
|
+
}, {
|
|
772
|
+
th: m(({ th: a }) => [
|
|
773
|
+
k("div", {
|
|
774
|
+
innerHTML: a,
|
|
775
|
+
style: { display: "flex", "align-items": "center" }
|
|
776
|
+
}, null, 8, Zt)
|
|
777
|
+
]),
|
|
778
|
+
td: m(({ td: a }) => [
|
|
779
|
+
Fe(S(a.name || a), 1)
|
|
780
|
+
]),
|
|
781
|
+
_: 1
|
|
782
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
783
|
+
]),
|
|
784
|
+
_: 1
|
|
785
|
+
}, 8, ["config"])) : f("", !0)
|
|
786
|
+
], 14, Lt));
|
|
787
|
+
}
|
|
788
|
+
}, ya = /* @__PURE__ */ Pt(ea, [["__scopeId", "data-v-89a6ba4c"]]);
|
|
789
|
+
export {
|
|
790
|
+
ya as default
|
|
791
|
+
};
|