vue-data-ui 2.4.3 → 2.4.5
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 +3 -1
- package/dist/{Arrow-Dz6AomGr.cjs → Arrow-BeQLfJqp.cjs} +1 -1
- package/dist/{Arrow-C7lNL7sY.js → Arrow-Dvaq-qLp.js} +1 -1
- package/dist/{BaseIcon-uALK38Ov.cjs → BaseIcon-BQM6PtJu.cjs} +1 -1
- package/dist/{BaseIcon-BbvG1AlW.js → BaseIcon-D9DRVW03.js} +1 -1
- package/dist/{DataTable-DTzynbND.cjs → DataTable-DO2GAcBm.cjs} +1 -1
- package/dist/{DataTable-DYqC2pqu.js → DataTable-rs_YrvMR.js} +2 -2
- package/dist/{Legend-Cgw4lO2O.cjs → Legend-BoBvZGqQ.cjs} +1 -1
- package/dist/{Legend-DNgTCgEK.js → Legend-DrmUpnIK.js} +1 -1
- package/dist/{PackageVersion-VkaUzgmt.js → PackageVersion-D9rYHrFZ.js} +1 -1
- package/dist/{PackageVersion-DwI-KhXH.cjs → PackageVersion-DdLmDkTt.cjs} +1 -1
- package/dist/PenAndPaper-C-KjtyNA.js +308 -0
- package/dist/PenAndPaper-DyMNuRla.cjs +1 -0
- package/dist/{Shape-D2Dpshg1.cjs → Shape-BGqIhzPX.cjs} +1 -1
- package/dist/{Shape-Bwon0l0g.js → Shape-CBrmBvYy.js} +1 -1
- package/dist/{Slicer-TfpN2Cr4.js → Slicer-4R6np1wa.js} +3 -3
- package/dist/{Slicer-uSjfNJjG.cjs → Slicer-BLkkkNUl.cjs} +1 -1
- package/dist/{Title-0Tp4hZ4u.cjs → Title-Dn00hErp.cjs} +1 -1
- package/dist/{Title-C5pIfQAz.js → Title-W7iJGPjg.js} +1 -1
- package/dist/{Tooltip-9Tp2Yrd1.cjs → Tooltip-DJiwKA4y.cjs} +1 -1
- package/dist/{Tooltip-Cz24YLfw.js → Tooltip-Pv3Bhir5.js} +1 -1
- package/dist/{index-Bya_q1J-.js → index-C1GB0E49.js} +1 -1
- package/dist/{index-eFox7weK.cjs → index-C9HllqQA.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-B33hazbH.js → useNestedProp-CNAPgW6E.js} +1 -1
- package/dist/{useNestedProp-BkgEhTQY.cjs → useNestedProp-DOr0hj4s.cjs} +1 -1
- package/dist/{usePrinter-CSRFnDBU.cjs → usePrinter-FSAw5pod.cjs} +1 -1
- package/dist/{usePrinter-CiHd1FwD.js → usePrinter-y5uHyknw.js} +1 -1
- package/dist/useResponsive-BJ7DTGpm.cjs +1 -0
- package/dist/{useResponsive-BY8tgM1n.js → useResponsive-CoxXLe23.js} +8 -7
- package/dist/{vue-data-ui-Bduq4f2p.js → vue-data-ui-Bg5KOKEX.js} +58 -58
- package/dist/{vue-data-ui-BTtxyUc3.cjs → vue-data-ui-Bnkz3Xmu.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BUEq_VdY.js → vue-ui-3d-bar-mUrcbG6J.js} +9 -9
- package/dist/{vue-ui-3d-bar-B-P7PMHs.cjs → vue-ui-3d-bar-sjkBzHFn.cjs} +1 -1
- package/dist/{vue-ui-accordion-TEMpM1hO.cjs → vue-ui-accordion-BkUGNe2H.cjs} +1 -1
- package/dist/{vue-ui-accordion-DfUfL2dI.js → vue-ui-accordion-DWyRC3-h.js} +3 -3
- package/dist/vue-ui-age-pyramid-CKQ8OHuS.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-CH72tAMb.js → vue-ui-age-pyramid-CVktvXpY.js} +145 -137
- package/dist/{vue-ui-annotator-DPeJ2its.js → vue-ui-annotator-Cp8KDkuP.js} +1 -1
- package/dist/{vue-ui-annotator-DU_DJKCw.cjs → vue-ui-annotator-DSJ25l4s.cjs} +1 -1
- package/dist/vue-ui-bullet-Bg3TPFgV.cjs +34 -0
- package/dist/{vue-ui-bullet-CtP3MlUT.js → vue-ui-bullet-D4atsFQx.js} +75 -69
- package/dist/vue-ui-candlestick-BhdG9CY1.cjs +2 -0
- package/dist/{vue-ui-candlestick-DDil13a0.js → vue-ui-candlestick-DUNyCQ6Z.js} +240 -232
- package/dist/{vue-ui-carousel-table-BaeIxyc0.js → vue-ui-carousel-table-BRrYpr-2.js} +4 -4
- package/dist/{vue-ui-carousel-table-C7SJIOG-.cjs → vue-ui-carousel-table-DF4FhrBd.cjs} +1 -1
- package/dist/vue-ui-chestnut-BLBS9QO2.cjs +6 -0
- package/dist/{vue-ui-chestnut-BczSJF6S.js → vue-ui-chestnut-CjS4qC_J.js} +262 -256
- package/dist/{vue-ui-cursor-Dg_Dmww-.js → vue-ui-cursor-C3SpabMF.js} +2 -2
- package/dist/{vue-ui-cursor-C2Pj_CI_.cjs → vue-ui-cursor-DzVt5_py.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Bul9dqx1.js → vue-ui-dashboard-BCOKtsyJ.js} +2 -2
- package/dist/{vue-ui-dashboard-Cg020NiT.cjs → vue-ui-dashboard-CIv7W8Yn.cjs} +1 -1
- package/dist/{vue-ui-digits-B8iAa4YZ.js → vue-ui-digits-DaMKAZkt.js} +2 -2
- package/dist/{vue-ui-digits-Ctgd84JR.cjs → vue-ui-digits-yNfQgOLZ.cjs} +1 -1
- package/dist/{vue-ui-donut-DUcp-fat.js → vue-ui-donut-B_-VAqBw.js} +338 -330
- package/dist/vue-ui-donut-Bo4SbdEe.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-C_YMbTwq.js → vue-ui-donut-evolution-C9TXFzCm.js} +163 -156
- package/dist/vue-ui-donut-evolution-DOPY3I3Q.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Buwngz_V.js → vue-ui-dumbbell-BP_Vf_u2.js} +208 -200
- package/dist/vue-ui-dumbbell-Cgwng71s.cjs +9 -0
- package/dist/vue-ui-flow-BiQj4v8i.cjs +1 -0
- package/dist/{vue-ui-flow-Bz3c0K5P.js → vue-ui-flow-DHoxK4t1.js} +130 -124
- package/dist/vue-ui-galaxy-C5ZaT8pw.cjs +1 -0
- package/dist/{vue-ui-galaxy-Cjh0XGTX.js → vue-ui-galaxy-DuLPsC4Q.js} +125 -119
- package/dist/vue-ui-gauge-26eHgOjR.cjs +1 -0
- package/dist/{vue-ui-gauge-B1UvGkQa.js → vue-ui-gauge-BhrXiD4S.js} +167 -159
- package/dist/{vue-ui-gizmo-DFW6HnHp.cjs → vue-ui-gizmo-Bb_SWCsE.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DUQ4t-At.js → vue-ui-gizmo-D3kBYI1G.js} +3 -3
- package/dist/vue-ui-heatmap-Bc4HvgMk.cjs +1 -0
- package/dist/{vue-ui-heatmap-C-poazUw.js → vue-ui-heatmap-wjsvn1_e.js} +156 -149
- package/dist/{vue-ui-kpi-Z4Oi4raz.cjs → vue-ui-kpi-BbvfVZn0.cjs} +1 -1
- package/dist/{vue-ui-kpi-DXe-vxAk.js → vue-ui-kpi-DLJuo47I.js} +3 -3
- package/dist/{vue-ui-mini-loader-MMvpm9pz.cjs → vue-ui-mini-loader-BaxwhF7o.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BVtHTqxS.js → vue-ui-mini-loader-D4aLvv-D.js} +2 -2
- package/dist/{vue-ui-molecule-BaJpDZND.js → vue-ui-molecule-DXpMMgdW.js} +109 -103
- package/dist/vue-ui-molecule-ZqAJHh6x.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BUNDwsEI.js → vue-ui-mood-radar-B_uWY92C.js} +173 -166
- package/dist/vue-ui-mood-radar-BhteAPWH.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-mDy2hXa6.js → vue-ui-nested-donuts-By32x0Y7.js} +311 -303
- package/dist/vue-ui-nested-donuts-ClgkX1-p.cjs +17 -0
- package/dist/vue-ui-onion-BdIxJpfA.cjs +5 -0
- package/dist/{vue-ui-onion-DwFG3HAI.js → vue-ui-onion-dQTXKNju.js} +149 -141
- package/dist/{vue-ui-parallel-coordinate-plot-ImET_zeo.js → vue-ui-parallel-coordinate-plot-CTF9Ujab.js} +186 -178
- package/dist/vue-ui-parallel-coordinate-plot-D6MUp-5W.cjs +8 -0
- package/dist/vue-ui-quadrant-CArA4Vmm.cjs +1 -0
- package/dist/{vue-ui-quadrant-BeveRihK.js → vue-ui-quadrant-Coqh0pYO.js} +225 -217
- package/dist/vue-ui-quick-chart-6Av74TTC.cjs +15 -0
- package/dist/{vue-ui-quick-chart-DAhllTfa.js → vue-ui-quick-chart-Bfdddr_B.js} +386 -378
- package/dist/{vue-ui-radar-BllatzRa.js → vue-ui-radar-BpdGMVHw.js} +172 -164
- package/dist/vue-ui-radar-CLr-gu1X.cjs +1 -0
- package/dist/{vue-ui-rating-D1ykV4xO.js → vue-ui-rating-B-YedcK0.js} +2 -2
- package/dist/{vue-ui-rating-BoZo7caL.cjs → vue-ui-rating-KFJoH-JV.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BLVThOqT.js +366 -0
- package/dist/vue-ui-relation-circle-DuGQKFor.cjs +1 -0
- package/dist/{vue-ui-rings-B-ZcX6y1.js → vue-ui-rings-BGeYkj-O.js} +196 -188
- package/dist/vue-ui-rings-DzgehQZ5.cjs +2 -0
- package/dist/{vue-ui-scatter-DG43ck1g.js → vue-ui-scatter-CsBPCCco.js} +288 -280
- package/dist/vue-ui-scatter-jPnr8qI0.cjs +1 -0
- package/dist/{vue-ui-screenshot-C1JBP_N0.cjs → vue-ui-screenshot-1nXVH-hp.cjs} +1 -1
- package/dist/{vue-ui-screenshot-p3ca8cAl.js → vue-ui-screenshot-B2FTnuxH.js} +1 -1
- package/dist/{vue-ui-skeleton-BYssP0K4.js → vue-ui-skeleton-CE6ibl1T.js} +3 -3
- package/dist/{vue-ui-skeleton-BqKzuhkB.cjs → vue-ui-skeleton-CPwED1As.cjs} +1 -1
- package/dist/{vue-ui-smiley-D7dDCdpq.js → vue-ui-smiley-2H9hMFZ_.js} +2 -2
- package/dist/{vue-ui-smiley-BXKVpHl2.cjs → vue-ui-smiley-DqOZwhT4.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-9V60hM3Z.cjs → vue-ui-spark-trend-CLW85O32.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-GWFrO_0z.js → vue-ui-spark-trend-Dx9xVq9a.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bgn6AY0q.cjs → vue-ui-sparkbar-DJDXrRyp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CwqlyAyv.js → vue-ui-sparkbar-zafUIv1n.js} +4 -4
- package/dist/{vue-ui-sparkgauge-F2XbiXyA.js → vue-ui-sparkgauge-CFAdhTLk.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dqntz2Zv.cjs → vue-ui-sparkgauge-CPNAXUyl.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DRIKK6Ym.js → vue-ui-sparkhistogram-B3DIjpaE.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DnY4-Sdn.cjs → vue-ui-sparkhistogram-CHc3_xRE.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Cxtzdlhi.js → vue-ui-sparkline-C-LE7J9H.js} +5 -5
- package/dist/{vue-ui-sparkline-CAEs-gtK.cjs → vue-ui-sparkline-U22Yhwy7.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-0A1klq9s.js → vue-ui-sparkstackbar-BzLoGC-y.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-D37ms1rx.cjs → vue-ui-sparkstackbar-nx-Lt8sX.cjs} +1 -1
- package/dist/{vue-ui-stackbar-wun4S3C0.cjs → vue-ui-stackbar-BwgHLhj2.cjs} +1 -1
- package/dist/{vue-ui-stackbar-ByOuJSdM.js → vue-ui-stackbar-C5xNRXnW.js} +13 -13
- package/dist/{vue-ui-strip-plot-CMD0MSqY.js → vue-ui-strip-plot-6khUDDeA.js} +204 -196
- package/dist/vue-ui-strip-plot-BFUtZW4b.cjs +1 -0
- package/dist/{vue-ui-table-aj0XZ7T5.cjs → vue-ui-table-B3Eng0fH.cjs} +1 -1
- package/dist/{vue-ui-table-B75DJ39t.js → vue-ui-table-DsBM7Osw.js} +1 -1
- package/dist/{vue-ui-table-heatmap-Ce93TyBF.cjs → vue-ui-table-heatmap-DwCdS68z.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-BO2ugWqD.js → vue-ui-table-heatmap-ccQKInFD.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CbjfAaj2.js → vue-ui-table-sparkline-BU-hOCZ7.js} +5 -5
- package/dist/{vue-ui-table-sparkline-D6KJjDnU.cjs → vue-ui-table-sparkline-CDmrQFKv.cjs} +1 -1
- package/dist/vue-ui-thermometer-BhHYcxmT.cjs +1 -0
- package/dist/{vue-ui-thermometer-Pq4PvSIP.js → vue-ui-thermometer-DuI3uDCZ.js} +171 -165
- package/dist/{vue-ui-timer-B6IB6yS6.cjs → vue-ui-timer-D7EKaAqa.cjs} +1 -1
- package/dist/{vue-ui-timer-Bk3BvB-B.js → vue-ui-timer-Gk3bl_em.js} +6 -6
- package/dist/{vue-ui-tiremarks-CU9HJIqf.js → vue-ui-tiremarks-AcEjMpJH.js} +119 -112
- package/dist/vue-ui-tiremarks-UX2FbnyG.cjs +1 -0
- package/dist/{vue-ui-treemap-DY-lRAhC.js → vue-ui-treemap-CFTpzgX5.js} +266 -258
- package/dist/vue-ui-treemap-D6CTMfsm.cjs +1 -0
- package/dist/vue-ui-vertical-bar-BzY2H3UC.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CtnIKsM1.js → vue-ui-vertical-bar-CuBJx5l1.js} +245 -237
- package/dist/vue-ui-waffle-CZxR13EG.cjs +1 -0
- package/dist/{vue-ui-waffle-reOsx-gJ.js → vue-ui-waffle-rDfZLxvH.js} +224 -216
- package/dist/{vue-ui-wheel-kYxny3vn.js → vue-ui-wheel-BFt2o4yO.js} +125 -117
- package/dist/vue-ui-wheel-BM-St3xT.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DwLY4QdB.cjs → vue-ui-word-cloud-DjKyKUbA.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DbMqrHAf.js → vue-ui-word-cloud-pNPIrJ-g.js} +11 -11
- package/dist/vue-ui-xy-CBZUMMlP.cjs +3 -0
- package/dist/{vue-ui-xy-rbACig0h.js → vue-ui-xy-DwkEc4Np.js} +302 -291
- package/dist/{vue-ui-xy-canvas-B0HTR7OV.js → vue-ui-xy-canvas-CW90CROL.js} +12 -12
- package/dist/{vue-ui-xy-canvas-CgJd5FiT.cjs → vue-ui-xy-canvas-DWGGLom_.cjs} +1 -1
- package/package.json +1 -1
- package/dist/PenAndPaper-CDFVOo7X.cjs +0 -1
- package/dist/PenAndPaper-DAZYA8Ew.js +0 -269
- package/dist/useResponsive-CodiGUOE.cjs +0 -1
- package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +0 -1
- package/dist/vue-ui-bullet-D8ks_rKr.cjs +0 -34
- package/dist/vue-ui-candlestick-D1jdr0bv.cjs +0 -2
- package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +0 -6
- package/dist/vue-ui-donut-D7KT9EAp.cjs +0 -1
- package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +0 -1
- package/dist/vue-ui-dumbbell-B0dikuqO.cjs +0 -9
- package/dist/vue-ui-flow-D6rc8J-8.cjs +0 -1
- package/dist/vue-ui-galaxy-CmTt0vBf.cjs +0 -1
- package/dist/vue-ui-gauge-B_TKuyM7.cjs +0 -1
- package/dist/vue-ui-heatmap-C2HlnqzO.cjs +0 -1
- package/dist/vue-ui-molecule-BiYIcOKN.cjs +0 -1
- package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +0 -17
- package/dist/vue-ui-onion-GWNoZRhw.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +0 -8
- package/dist/vue-ui-quadrant-yuFAxV-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +0 -15
- package/dist/vue-ui-radar-BJH5SE6-.cjs +0 -1
- package/dist/vue-ui-relation-circle-CKmjOle7.cjs +0 -1
- package/dist/vue-ui-relation-circle-xv2l5Be9.js +0 -358
- package/dist/vue-ui-rings-DjH3CK23.cjs +0 -2
- package/dist/vue-ui-scatter-SBCXAl7q.cjs +0 -1
- package/dist/vue-ui-strip-plot-IQrypGvz.cjs +0 -1
- package/dist/vue-ui-thermometer-swmi4FmH.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +0 -1
- package/dist/vue-ui-treemap-BEMuKV7x.cjs +0 -1
- package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +0 -4
- package/dist/vue-ui-waffle-BqP7Okgu.cjs +0 -1
- package/dist/vue-ui-wheel-BuWUGnkC.cjs +0 -1
- package/dist/vue-ui-xy-CGWzriYn.cjs +0 -3
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { computed 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
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { _ as
|
|
15
|
-
const
|
|
1
|
+
import { computed as v, ref as c, watch as Ae, onMounted as Ke, onBeforeUnmount as Je, openBlock as s, createElementBlock as n, normalizeClass as ze, normalizeStyle as Z, createBlock as N, createCommentVNode as f, unref as h, createSlots as Qe, withCtx as m, renderSlot as g, normalizeProps as D, guardReactiveProps as G, createVNode as Fe, createElementVNode as k, Fragment as I, renderList as R, toDisplayString as S, createTextVNode as Ne, nextTick as Ze, pushScopeId as et, popScopeId as tt } from "vue";
|
|
2
|
+
import { u as at, c as lt, t as ot, a as ut, p as O, o as st, e as se, g as rt, b as nt, i as U, f as x, X as it, s as ct, w as vt, F as dt, K as ht, d as pt, x as yt, y as ft, q as gt, r as mt } from "./index-C1GB0E49.js";
|
|
3
|
+
import { t as bt, u as wt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import { _ as kt } from "./Title-W7iJGPjg.js";
|
|
5
|
+
import { u as xt, U as Ct } from "./usePrinter-y5uHyknw.js";
|
|
6
|
+
import { _ as _t } from "./Tooltip-Pv3Bhir5.js";
|
|
7
|
+
import { D as $t } from "./DataTable-rs_YrvMR.js";
|
|
8
|
+
import { L as Tt } from "./Legend-DrmUpnIK.js";
|
|
9
|
+
import It from "./vue-ui-skeleton-CE6ibl1T.js";
|
|
10
|
+
import St from "./vue-ui-accordion-DWyRC3-h.js";
|
|
11
|
+
import { u as Oe } from "./useNestedProp-CNAPgW6E.js";
|
|
12
|
+
import { _ as Pt } from "./PackageVersion-D9rYHrFZ.js";
|
|
13
|
+
import { P as Lt } from "./PenAndPaper-C-KjtyNA.js";
|
|
14
|
+
import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Be = (j) => (et("data-v-b51c7605"), j = j(), tt(), j), zt = ["id"], Ft = ["xmlns", "viewBox"], Nt = ["id"], Ot = ["stop-color"], Bt = ["stop-color"], Vt = ["id"], Mt = /* @__PURE__ */ Be(() => /* @__PURE__ */ k("feGaussianBlur", {
|
|
16
16
|
in: "SourceGraphic",
|
|
17
17
|
stdDeviation: 2
|
|
18
|
-
}, null, -1)),
|
|
18
|
+
}, null, -1)), Dt = /* @__PURE__ */ Be(() => /* @__PURE__ */ k("feColorMatrix", {
|
|
19
19
|
type: "saturate",
|
|
20
20
|
values: "0"
|
|
21
|
-
}, null, -1)),
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
],
|
|
25
|
-
key:
|
|
21
|
+
}, null, -1)), Gt = [
|
|
22
|
+
Mt,
|
|
23
|
+
Dt
|
|
24
|
+
], Rt = ["x", "y", "height", "width"], Ut = ["height", "width"], jt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Et = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Wt = ["x", "y", "height", "width", "filter"], qt = { key: 0 }, Ht = { key: 1 }, Xt = { key: 2 }, Yt = { key: 3 }, Kt = ["onMouseover", "x", "y", "height", "width"], Jt = {
|
|
25
|
+
key: 5,
|
|
26
26
|
class: "vue-data-ui-watermark"
|
|
27
|
-
},
|
|
27
|
+
}, Qt = ["onClick"], Zt = { key: 0 }, ea = { key: 1 }, ta = ["innerHTML"], aa = {
|
|
28
28
|
__name: "vue-ui-waffle",
|
|
29
29
|
props: {
|
|
30
30
|
config: {
|
|
@@ -41,38 +41,38 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
emits: ["selectLegend"],
|
|
44
|
-
setup(j, { expose:
|
|
45
|
-
const b = j, { vue_ui_waffle:
|
|
46
|
-
get: () =>
|
|
44
|
+
setup(j, { expose: Ve, emit: Me }) {
|
|
45
|
+
const b = j, { vue_ui_waffle: De } = at(), X = v(() => !!b.dataset && b.dataset.length), P = c(lt()), Ge = c(null), ee = c(!1), te = c(""), B = c(null), re = c(0), V = c(null), ne = c(null), ie = c(null), ce = c(null), ve = c(null), de = c(0), he = c(0), pe = c(0), e = v({
|
|
46
|
+
get: () => ye(),
|
|
47
47
|
set: (t) => t
|
|
48
48
|
});
|
|
49
|
-
function
|
|
50
|
-
const t =
|
|
49
|
+
function ye() {
|
|
50
|
+
const t = Oe({
|
|
51
51
|
userConfig: b.config,
|
|
52
|
-
defaultConfig:
|
|
52
|
+
defaultConfig: De
|
|
53
53
|
});
|
|
54
54
|
return t.theme ? {
|
|
55
|
-
...
|
|
56
|
-
userConfig:
|
|
55
|
+
...Oe({
|
|
56
|
+
userConfig: ot.vue_ui_waffle[t.theme] || b.config,
|
|
57
57
|
defaultConfig: t
|
|
58
58
|
}),
|
|
59
|
-
customPalette:
|
|
59
|
+
customPalette: ut[t.theme] || O
|
|
60
60
|
} : t;
|
|
61
61
|
}
|
|
62
|
-
|
|
63
|
-
e.value =
|
|
62
|
+
Ae(() => b.config, (t) => {
|
|
63
|
+
e.value = ye(), fe(), de.value += 1, he.value += 1, pe.value += 1;
|
|
64
64
|
}, { deep: !0 });
|
|
65
65
|
const Y = c(null);
|
|
66
|
-
function
|
|
67
|
-
if (
|
|
66
|
+
function fe() {
|
|
67
|
+
if (st(b.dataset) ? se({
|
|
68
68
|
componentName: "VueUiWaffle",
|
|
69
69
|
type: "dataset"
|
|
70
70
|
}) : b.dataset.forEach((t, o) => {
|
|
71
|
-
|
|
71
|
+
rt({
|
|
72
72
|
datasetObject: t,
|
|
73
73
|
requiredAttributes: ["name", "values"]
|
|
74
74
|
}).forEach((a) => {
|
|
75
|
-
|
|
75
|
+
se({
|
|
76
76
|
componentName: "VueUiWaffle",
|
|
77
77
|
type: "datasetSerieAttribute",
|
|
78
78
|
property: a,
|
|
@@ -80,27 +80,28 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
80
80
|
});
|
|
81
81
|
});
|
|
82
82
|
}), e.value.responsive) {
|
|
83
|
-
const t =
|
|
84
|
-
const { width: o, height: a } =
|
|
83
|
+
const t = bt(() => {
|
|
84
|
+
const { width: o, height: a } = wt({
|
|
85
85
|
chart: V.value,
|
|
86
86
|
title: e.value.style.chart.title.text ? ne.value : null,
|
|
87
87
|
legend: e.value.style.chart.legend.show ? ie.value : null,
|
|
88
|
-
source: ce.value
|
|
88
|
+
source: ce.value,
|
|
89
|
+
noTitle: ve.value
|
|
89
90
|
});
|
|
90
91
|
L.value.width = o, L.value.height = a, C.value.width = o, C.value.height = a;
|
|
91
92
|
});
|
|
92
93
|
Y.value = new ResizeObserver(t), Y.value.observe(V.value.parentNode);
|
|
93
94
|
}
|
|
94
95
|
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}),
|
|
96
|
+
Ke(() => {
|
|
97
|
+
fe();
|
|
98
|
+
}), Je(() => {
|
|
98
99
|
Y.value && Y.value.disconnect();
|
|
99
100
|
});
|
|
100
|
-
const { isPrinting:
|
|
101
|
+
const { isPrinting: ge, isImaging: me, generatePdf: be, generateImage: we } = xt({
|
|
101
102
|
elementId: `vue-ui-waffle_${P.value}`,
|
|
102
103
|
fileName: e.value.style.chart.title.text || "vue-ui-waffle"
|
|
103
|
-
}),
|
|
104
|
+
}), Re = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), ke = v(() => nt(e.value.customPalette)), T = c({
|
|
104
105
|
showTable: e.value.table.show,
|
|
105
106
|
showTooltip: e.value.style.chart.tooltip.show
|
|
106
107
|
}), L = c({
|
|
@@ -111,79 +112,79 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
111
112
|
left: 0,
|
|
112
113
|
height: 512,
|
|
113
114
|
width: 512
|
|
114
|
-
}), A =
|
|
115
|
-
function
|
|
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),
|
|
115
|
+
}), A = v(() => (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 = v(() => (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 = v(() => C.value.width / e.value.style.chart.layout.grid.size), K = v(() => C.value.height / e.value.style.chart.layout.grid.size);
|
|
116
|
+
function xe(t) {
|
|
117
|
+
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), i = l.map((w) => w % 1);
|
|
117
118
|
let y = o - u.reduce((w, ue) => w + ue, 0);
|
|
118
119
|
for (; y > 0; ) {
|
|
119
|
-
let w =
|
|
120
|
-
u[w] += 1,
|
|
120
|
+
let w = i.indexOf(Math.max(...i));
|
|
121
|
+
u[w] += 1, i[w] = 0, y -= 1;
|
|
121
122
|
}
|
|
122
123
|
return u;
|
|
123
124
|
}
|
|
124
|
-
function
|
|
125
|
+
function Ce() {
|
|
125
126
|
return b.dataset.map((t, o) => ({
|
|
126
127
|
...t,
|
|
127
|
-
color:
|
|
128
|
+
color: pt(t.color) || ke.value[o] || O[o] || O[o % O.length],
|
|
128
129
|
uid: `serie_${o}`,
|
|
129
130
|
absoluteIndex: o
|
|
130
131
|
}));
|
|
131
132
|
}
|
|
132
|
-
const
|
|
133
|
-
|
|
134
|
-
|
|
133
|
+
const _e = v(() => Ce()), d = c(_e.value);
|
|
134
|
+
Ae(() => b.dataset, (t) => {
|
|
135
|
+
d.value = Ce();
|
|
135
136
|
}, { deep: !0 });
|
|
136
|
-
const
|
|
137
|
-
const t =
|
|
138
|
-
return
|
|
139
|
-
}),
|
|
140
|
-
const t =
|
|
141
|
-
return
|
|
142
|
-
}), W =
|
|
143
|
-
[null, void 0].includes(t.values) &&
|
|
137
|
+
const Ue = v(() => {
|
|
138
|
+
const t = d.value.filter((o, a) => !p.value.includes(o.uid)).map((o, a) => (o.values || []).reduce((l, u) => l + u, 0));
|
|
139
|
+
return xe(t);
|
|
140
|
+
}), je = v(() => {
|
|
141
|
+
const t = d.value.map((o, a) => (o.values || []).reduce((l, u) => l + u));
|
|
142
|
+
return xe(t);
|
|
143
|
+
}), W = v(() => (b.dataset.forEach((t, o) => {
|
|
144
|
+
[null, void 0].includes(t.values) && se({
|
|
144
145
|
componentName: "VueUiWaffle",
|
|
145
146
|
type: "datasetSerieAttribute",
|
|
146
147
|
property: "values (number[])",
|
|
147
148
|
index: o
|
|
148
149
|
});
|
|
149
|
-
}),
|
|
150
|
+
}), d.value.filter((t, o) => !p.value.includes(t.uid)).map((t, o) => ({
|
|
150
151
|
absoluteIndex: t.absoluteIndex,
|
|
151
152
|
uid: t.uid,
|
|
152
153
|
name: t.name,
|
|
153
154
|
color: t.color,
|
|
154
155
|
value: (t.values || []).reduce((a, l) => a + l, 0),
|
|
155
156
|
absoluteValues: t.values || [],
|
|
156
|
-
proportion:
|
|
157
|
-
})))),
|
|
157
|
+
proportion: Ue.value[o]
|
|
158
|
+
})))), Ee = v(() => d.value.map((t, o) => ({
|
|
158
159
|
absoluteIndex: t.absoluteIndex,
|
|
159
160
|
uid: t.uid,
|
|
160
161
|
name: t.name,
|
|
161
162
|
color: t.color,
|
|
162
163
|
value: (t.values || []).reduce((a, l) => a + l, 0),
|
|
163
164
|
absoluteValues: t.values || [],
|
|
164
|
-
proportion:
|
|
165
|
+
proportion: je.value[o]
|
|
165
166
|
})));
|
|
166
|
-
function
|
|
167
|
-
return
|
|
167
|
+
function We() {
|
|
168
|
+
return Ee.value.map((t) => ({
|
|
168
169
|
name: t.name,
|
|
169
170
|
color: t.color,
|
|
170
171
|
value: t.value,
|
|
171
172
|
proportion: t.proportion
|
|
172
173
|
}));
|
|
173
174
|
}
|
|
174
|
-
const
|
|
175
|
+
const qe = v(() => {
|
|
175
176
|
let t = 0;
|
|
176
177
|
return W.value.map((o, a) => {
|
|
177
|
-
const l = t, u = l + o.proportion,
|
|
178
|
+
const l = t, u = l + o.proportion, i = [];
|
|
178
179
|
for (let y = Math.floor(l); y < Math.floor(u); y += 1)
|
|
179
|
-
|
|
180
|
+
i.push(y);
|
|
180
181
|
return t = u, {
|
|
181
182
|
...o,
|
|
182
183
|
start: l,
|
|
183
|
-
rects:
|
|
184
|
+
rects: i
|
|
184
185
|
};
|
|
185
186
|
});
|
|
186
|
-
}),
|
|
187
|
+
}), r = v(() => qe.value.flatMap((t, o) => t.rects.map((a, l) => ({
|
|
187
188
|
isFirst: l === 0,
|
|
188
189
|
isLongEnough: a.length > 2,
|
|
189
190
|
name: t.name,
|
|
@@ -196,7 +197,7 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
196
197
|
}))).map((t, o) => ({
|
|
197
198
|
...t,
|
|
198
199
|
isAbsoluteFirst: o % e.value.style.chart.layout.grid.size === 0
|
|
199
|
-
}))), q =
|
|
200
|
+
}))), q = v(() => {
|
|
200
201
|
const t = [];
|
|
201
202
|
for (let o = 0; o < e.value.style.chart.layout.grid.size; o += 1)
|
|
202
203
|
for (let a = 0; a < e.value.style.chart.layout.grid.size; a += 1)
|
|
@@ -207,86 +208,86 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
207
208
|
y: (e.value.style.chart.layout.grid.vertical ? a : o) * (z.value + e.value.style.chart.layout.grid.spaceBetween) + C.value.top
|
|
208
209
|
});
|
|
209
210
|
return t;
|
|
210
|
-
}), p = c([]), F = c(!1),
|
|
211
|
+
}), p = c([]), F = c(!1), $e = c(null), Te = c(null);
|
|
211
212
|
function Ie(t) {
|
|
212
213
|
if (!e.value.useAnimation) {
|
|
213
214
|
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
215
|
return;
|
|
215
216
|
}
|
|
216
|
-
const o =
|
|
217
|
-
let l =
|
|
217
|
+
const o = _e.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0);
|
|
218
|
+
let l = d.value.find((u) => u.uid === t).values.reduce((u, i) => u + i, 0);
|
|
218
219
|
if (p.value.includes(t)) {
|
|
219
|
-
let
|
|
220
|
-
l > u ? (cancelAnimationFrame(
|
|
220
|
+
let i = function() {
|
|
221
|
+
l > u ? (cancelAnimationFrame($e.value), d.value = d.value.map((y, w) => y.uid === t ? {
|
|
221
222
|
...y,
|
|
222
223
|
values: [u]
|
|
223
|
-
} : y), F.value = !1) : (F.value = !0, l += u * 0.025,
|
|
224
|
+
} : y), F.value = !1) : (F.value = !0, l += u * 0.025, d.value = d.value.map((y, w) => y.uid === t ? {
|
|
224
225
|
...y,
|
|
225
226
|
values: [l]
|
|
226
|
-
} : y),
|
|
227
|
+
} : y), $e.value = requestAnimationFrame(i));
|
|
227
228
|
};
|
|
228
229
|
p.value = p.value.filter((y) => y !== t);
|
|
229
230
|
const u = o;
|
|
230
|
-
|
|
231
|
+
i();
|
|
231
232
|
} else if (p.value.length < M.value.length - 1 && M.value.length > 1) {
|
|
232
233
|
let u = function() {
|
|
233
|
-
l < 0.1 ? (cancelAnimationFrame(
|
|
234
|
-
...
|
|
234
|
+
l < 0.1 ? (cancelAnimationFrame(Te.value), p.value.push(t), d.value = d.value.map((i, y) => i.uid === t ? {
|
|
235
|
+
...i,
|
|
235
236
|
values: [0]
|
|
236
|
-
} :
|
|
237
|
-
...
|
|
237
|
+
} : i), F.value = !1) : (F.value = !0, l /= 1.5, d.value = d.value.map((i, y) => i.uid === t ? {
|
|
238
|
+
...i,
|
|
238
239
|
values: [l]
|
|
239
|
-
} :
|
|
240
|
+
} : i), Te.value = requestAnimationFrame(u));
|
|
240
241
|
};
|
|
241
242
|
u();
|
|
242
243
|
}
|
|
243
|
-
|
|
244
|
+
Me("selectLegend", W.value.map((u) => ({
|
|
244
245
|
name: u.name,
|
|
245
246
|
color: u.color,
|
|
246
247
|
value: u.value,
|
|
247
248
|
proportion: u.proportion / Math.pow(e.value.style.chart.layout.grid.size, 2)
|
|
248
249
|
})));
|
|
249
250
|
}
|
|
250
|
-
const M =
|
|
251
|
+
const M = v(() => d.value.map((t, o) => ({
|
|
251
252
|
name: t.name,
|
|
252
|
-
color: t.color ||
|
|
253
|
+
color: t.color || ke[o] || O[o] || O[o % O.length],
|
|
253
254
|
value: (t.values || []).reduce((a, l) => a + l, 0),
|
|
254
255
|
uid: t.uid,
|
|
255
256
|
shape: "square"
|
|
256
257
|
})).map((t, o) => ({
|
|
257
258
|
...t,
|
|
258
|
-
proportion: t.value /
|
|
259
|
+
proportion: t.value / d.value.map((a) => (a.values || []).reduce((l, u) => l + u, 0)).reduce((a, l) => a + l, 0),
|
|
259
260
|
opacity: p.value.includes(t.uid) ? 0.5 : 1,
|
|
260
261
|
segregate: () => Ie(t.uid),
|
|
261
262
|
isSegregated: p.value.includes(t.uid)
|
|
262
|
-
}))),
|
|
263
|
+
}))), He = v(() => ({
|
|
263
264
|
cy: "waffle-div-legend",
|
|
264
265
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
265
266
|
color: e.value.style.chart.legend.color,
|
|
266
267
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
267
268
|
paddingBottom: 12,
|
|
268
269
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
269
|
-
})), _ =
|
|
270
|
-
function
|
|
270
|
+
})), _ = v(() => W.value.map((t) => t.value).reduce((t, o) => t + o, 0)), ae = c(null);
|
|
271
|
+
function Xe(t) {
|
|
271
272
|
if (p.value.length === b.dataset.length) return;
|
|
272
|
-
const o =
|
|
273
|
+
const o = r.value[t];
|
|
273
274
|
ae.value = {
|
|
274
275
|
datapoint: o,
|
|
275
276
|
seriesIndex: o.absoluteIndex,
|
|
276
|
-
series:
|
|
277
|
+
series: d.value,
|
|
277
278
|
config: e.value
|
|
278
|
-
}, ee.value = !0, B.value =
|
|
279
|
+
}, ee.value = !0, B.value = r.value[t].serieIndex;
|
|
279
280
|
const a = e.value.style.chart.tooltip.customFormat;
|
|
280
|
-
if (
|
|
281
|
-
seriesIndex:
|
|
281
|
+
if (yt(a) && ft(() => a({
|
|
282
|
+
seriesIndex: r.value[t].absoluteIndex,
|
|
282
283
|
datapoint: o,
|
|
283
|
-
series:
|
|
284
|
+
series: d.value,
|
|
284
285
|
config: e.value
|
|
285
286
|
})))
|
|
286
287
|
te.value = a({
|
|
287
|
-
seriesIndex:
|
|
288
|
+
seriesIndex: r.value[t].absoluteIndex,
|
|
288
289
|
datapoint: o,
|
|
289
|
-
series:
|
|
290
|
+
series: d.value,
|
|
290
291
|
config: e.value
|
|
291
292
|
});
|
|
292
293
|
else {
|
|
@@ -302,8 +303,8 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
302
303
|
}),
|
|
303
304
|
{
|
|
304
305
|
datapoint: o,
|
|
305
|
-
seriesIndex:
|
|
306
|
-
series:
|
|
306
|
+
seriesIndex: r.value[t].absoluteIndex,
|
|
307
|
+
series: d.value
|
|
307
308
|
}
|
|
308
309
|
)}</b>`), e.value.style.chart.tooltip.showPercentage) {
|
|
309
310
|
const u = x({
|
|
@@ -316,7 +317,7 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
316
317
|
te.value = l;
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
|
-
const $ =
|
|
320
|
+
const $ = v(() => {
|
|
320
321
|
const t = W.value.map((a) => ({
|
|
321
322
|
name: a.name,
|
|
322
323
|
color: a.color
|
|
@@ -326,15 +327,15 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
326
327
|
function le(t) {
|
|
327
328
|
return e.value.useBlurOnHover && ![null, void 0].includes(B.value) && B.value !== t ? `url(#blur_${P.value})` : "";
|
|
328
329
|
}
|
|
329
|
-
function
|
|
330
|
-
|
|
330
|
+
function Se() {
|
|
331
|
+
Ze(() => {
|
|
331
332
|
const t = $.value.head.map((l, u) => [[
|
|
332
333
|
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 =
|
|
334
|
-
|
|
334
|
+
], [$.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 = gt(o);
|
|
335
|
+
mt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-waffle" });
|
|
335
336
|
});
|
|
336
337
|
}
|
|
337
|
-
const J =
|
|
338
|
+
const J = v(() => {
|
|
338
339
|
const t = [
|
|
339
340
|
' <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
341
|
U(
|
|
@@ -348,23 +349,23 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
348
349
|
})
|
|
349
350
|
),
|
|
350
351
|
"100%"
|
|
351
|
-
], o = $.value.head.map((u,
|
|
352
|
+
], o = $.value.head.map((u, i) => [
|
|
352
353
|
{
|
|
353
354
|
color: u.color,
|
|
354
355
|
name: u.name
|
|
355
356
|
},
|
|
356
357
|
U(
|
|
357
358
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
358
|
-
$.value.body[
|
|
359
|
+
$.value.body[i],
|
|
359
360
|
x({
|
|
360
361
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
361
|
-
v: $.value.body[
|
|
362
|
+
v: $.value.body[i],
|
|
362
363
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
363
364
|
r: e.value.table.td.roundingValue
|
|
364
365
|
})
|
|
365
366
|
),
|
|
366
|
-
isNaN($.value.body[
|
|
367
|
-
v: $.value.body[
|
|
367
|
+
isNaN($.value.body[i] / _.value) ? "-" : x({
|
|
368
|
+
v: $.value.body[i] / _.value * 100,
|
|
368
369
|
s: "%",
|
|
369
370
|
r: e.value.table.td.roundingPercentage
|
|
370
371
|
})
|
|
@@ -393,35 +394,35 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
393
394
|
colNames: l
|
|
394
395
|
};
|
|
395
396
|
}), H = c(!1);
|
|
396
|
-
function
|
|
397
|
-
H.value = t,
|
|
398
|
-
}
|
|
399
|
-
function Se() {
|
|
400
|
-
I.value.showTable = !I.value.showTable;
|
|
397
|
+
function Ye(t) {
|
|
398
|
+
H.value = t, re.value += 1;
|
|
401
399
|
}
|
|
402
400
|
function Pe() {
|
|
403
|
-
|
|
401
|
+
T.value.showTable = !T.value.showTable;
|
|
402
|
+
}
|
|
403
|
+
function Le() {
|
|
404
|
+
T.value.showTooltip = !T.value.showTooltip;
|
|
404
405
|
}
|
|
405
406
|
const Q = c(!1);
|
|
406
407
|
function oe() {
|
|
407
408
|
Q.value = !Q.value;
|
|
408
409
|
}
|
|
409
|
-
return
|
|
410
|
-
getData:
|
|
411
|
-
generatePdf:
|
|
412
|
-
generateCsv:
|
|
413
|
-
generateImage:
|
|
414
|
-
toggleTable:
|
|
415
|
-
toggleTooltip:
|
|
410
|
+
return Ve({
|
|
411
|
+
getData: We,
|
|
412
|
+
generatePdf: be,
|
|
413
|
+
generateCsv: Se,
|
|
414
|
+
generateImage: we,
|
|
415
|
+
toggleTable: Pe,
|
|
416
|
+
toggleTooltip: Le,
|
|
416
417
|
toggleAnnotator: oe
|
|
417
|
-
}), (t, o) => (
|
|
418
|
-
class:
|
|
418
|
+
}), (t, o) => (s(), n("div", {
|
|
419
|
+
class: ze(`vue-ui-waffle ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
419
420
|
ref_key: "waffleChart",
|
|
420
421
|
ref: V,
|
|
421
422
|
id: `vue-ui-waffle_${P.value}`,
|
|
422
|
-
style: Z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center
|
|
423
|
+
style: Z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
|
|
423
424
|
}, [
|
|
424
|
-
e.value.userOptions.buttons.annotator ? (
|
|
425
|
+
e.value.userOptions.buttons.annotator ? (s(), N(Lt, {
|
|
425
426
|
key: 0,
|
|
426
427
|
parent: V.value,
|
|
427
428
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -429,14 +430,21 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
429
430
|
active: Q.value,
|
|
430
431
|
onClose: oe
|
|
431
432
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
432
|
-
|
|
433
|
+
Re.value ? (s(), n("div", {
|
|
433
434
|
key: 1,
|
|
435
|
+
ref_key: "noTitle",
|
|
436
|
+
ref: ve,
|
|
437
|
+
class: "vue-data-ui-no-title-space",
|
|
438
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
439
|
+
}, null, 512)) : f("", !0),
|
|
440
|
+
e.value.style.chart.title.text ? (s(), n("div", {
|
|
441
|
+
key: 2,
|
|
434
442
|
ref_key: "chartTitle",
|
|
435
443
|
ref: ne,
|
|
436
444
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
437
445
|
}, [
|
|
438
|
-
(
|
|
439
|
-
key: `title_${
|
|
446
|
+
(s(), N(kt, {
|
|
447
|
+
key: `title_${de.value}`,
|
|
440
448
|
config: {
|
|
441
449
|
title: {
|
|
442
450
|
cy: "waffle-title",
|
|
@@ -449,14 +457,14 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
449
457
|
}
|
|
450
458
|
}, null, 8, ["config"]))
|
|
451
459
|
], 512)) : f("", !0),
|
|
452
|
-
e.value.userOptions.show && X.value ? (
|
|
460
|
+
e.value.userOptions.show && X.value ? (s(), N(Ct, {
|
|
453
461
|
ref_key: "details",
|
|
454
|
-
ref:
|
|
455
|
-
key: `user_options_${
|
|
462
|
+
ref: Ge,
|
|
463
|
+
key: `user_options_${re.value}`,
|
|
456
464
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
457
465
|
color: e.value.style.chart.color,
|
|
458
|
-
isPrinting: h(
|
|
459
|
-
isImaging: h(
|
|
466
|
+
isPrinting: h(ge),
|
|
467
|
+
isImaging: h(me),
|
|
460
468
|
uid: P.value,
|
|
461
469
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
462
470
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -465,20 +473,20 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
465
473
|
hasTable: e.value.userOptions.buttons.table,
|
|
466
474
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
467
475
|
isFullscreen: H.value,
|
|
468
|
-
isTooltip:
|
|
476
|
+
isTooltip: T.value.showTooltip,
|
|
469
477
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
470
478
|
chartElement: V.value,
|
|
471
479
|
position: e.value.userOptions.position,
|
|
472
480
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
473
481
|
isAnnotation: Q.value,
|
|
474
|
-
onToggleFullscreen:
|
|
475
|
-
onGeneratePdf: h(
|
|
476
|
-
onGenerateCsv:
|
|
477
|
-
onGenerateImage: h(
|
|
478
|
-
onToggleTable:
|
|
479
|
-
onToggleTooltip:
|
|
482
|
+
onToggleFullscreen: Ye,
|
|
483
|
+
onGeneratePdf: h(be),
|
|
484
|
+
onGenerateCsv: Se,
|
|
485
|
+
onGenerateImage: h(we),
|
|
486
|
+
onToggleTable: Pe,
|
|
487
|
+
onToggleTooltip: Le,
|
|
480
488
|
onToggleAnnotator: oe
|
|
481
|
-
},
|
|
489
|
+
}, Qe({ _: 2 }, [
|
|
482
490
|
t.$slots.optionTooltip ? {
|
|
483
491
|
name: "optionTooltip",
|
|
484
492
|
fn: m(() => [
|
|
@@ -529,16 +537,16 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
529
537
|
key: "6"
|
|
530
538
|
} : void 0
|
|
531
539
|
]), 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 ? (
|
|
533
|
-
key:
|
|
534
|
-
xmlns: h(
|
|
535
|
-
class:
|
|
540
|
+
X.value ? (s(), n("svg", {
|
|
541
|
+
key: 4,
|
|
542
|
+
xmlns: h(it),
|
|
543
|
+
class: ze({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
|
|
536
544
|
viewBox: `0 0 ${L.value.width <= 0 ? 10 : L.value.width} ${L.value.height <= 0 ? 10 : L.value.height}`,
|
|
537
545
|
style: Z(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
538
546
|
}, [
|
|
539
|
-
|
|
547
|
+
Fe(Pt),
|
|
540
548
|
k("defs", null, [
|
|
541
|
-
(
|
|
549
|
+
(s(!0), n(I, null, R(r.value, (a, l) => (s(), n("radialGradient", {
|
|
542
550
|
cx: "50%",
|
|
543
551
|
cy: "50%",
|
|
544
552
|
r: "50%",
|
|
@@ -548,13 +556,13 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
548
556
|
}, [
|
|
549
557
|
k("stop", {
|
|
550
558
|
offset: "0%",
|
|
551
|
-
"stop-color": h(
|
|
552
|
-
}, null, 8,
|
|
559
|
+
"stop-color": h(ct)(h(vt)(a.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
|
|
560
|
+
}, null, 8, Ot),
|
|
553
561
|
k("stop", {
|
|
554
562
|
offset: "100%",
|
|
555
563
|
"stop-color": a.color
|
|
556
|
-
}, null, 8,
|
|
557
|
-
], 8,
|
|
564
|
+
}, null, 8, Bt)
|
|
565
|
+
], 8, Nt))), 256))
|
|
558
566
|
]),
|
|
559
567
|
k("defs", null, [
|
|
560
568
|
k("filter", {
|
|
@@ -563,18 +571,18 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
563
571
|
y: "-50%",
|
|
564
572
|
width: "200%",
|
|
565
573
|
height: "200%"
|
|
566
|
-
},
|
|
574
|
+
}, Gt, 8, Vt)
|
|
567
575
|
]),
|
|
568
|
-
e.value.useCustomCells &&
|
|
576
|
+
e.value.useCustomCells && r.value.length ? (s(!0), n(I, { key: 0 }, R(q.value, (a, l) => (s(), n("foreignObject", {
|
|
569
577
|
x: a.x,
|
|
570
578
|
y: a.y,
|
|
571
579
|
height: z.value <= 0 ? 1e-4 : z.value,
|
|
572
580
|
width: A.value <= 0 ? 1e-4 : A.value,
|
|
573
581
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
574
582
|
}, [
|
|
575
|
-
g(t.$slots, "cell", D(G({ cell: { ...a, color:
|
|
576
|
-
], 8,
|
|
577
|
-
!
|
|
583
|
+
g(t.$slots, "cell", D(G({ cell: { ...a, color: r.value[l].color, ...r.value[l] }, isSelected: [null, void 0].includes(B.value) ? !0 : r.value[l].serieIndex === B.value })), void 0, !0)
|
|
584
|
+
], 8, Rt))), 256)) : f("", !0),
|
|
585
|
+
!r.value.length && !e.value.useCustomCells ? (s(), n("rect", {
|
|
578
586
|
key: 1,
|
|
579
587
|
x: 12,
|
|
580
588
|
y: 12,
|
|
@@ -583,8 +591,8 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
583
591
|
rx: 3,
|
|
584
592
|
fill: "none",
|
|
585
593
|
stroke: "black"
|
|
586
|
-
}, null, 8,
|
|
587
|
-
(
|
|
594
|
+
}, null, 8, Ut)) : r.value.length && !e.value.useCustomCells ? (s(), n(I, { key: 2 }, [
|
|
595
|
+
(s(!0), n(I, null, R(q.value, (a, l) => (s(), n("rect", {
|
|
588
596
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
589
597
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
590
598
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -593,62 +601,62 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
593
601
|
fill: "white",
|
|
594
602
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
595
603
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
596
|
-
filter: le(
|
|
597
|
-
}, null, 8,
|
|
598
|
-
(
|
|
604
|
+
filter: le(r.value[l].serieIndex)
|
|
605
|
+
}, null, 8, jt))), 256)),
|
|
606
|
+
(s(!0), n(I, null, R(q.value, (a, l) => (s(), n("rect", {
|
|
599
607
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
600
608
|
x: a.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
601
609
|
y: a.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
602
610
|
height: z.value <= 0 ? 1e-4 : z.value,
|
|
603
611
|
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})` :
|
|
612
|
+
fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${P.value}_${l})` : r.value[l].color,
|
|
605
613
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
606
614
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
607
|
-
filter: le(
|
|
608
|
-
}, null, 8,
|
|
615
|
+
filter: le(r.value[l].serieIndex)
|
|
616
|
+
}, null, 8, Et))), 256))
|
|
609
617
|
], 64)) : f("", !0),
|
|
610
|
-
(
|
|
611
|
-
|
|
618
|
+
(s(!0), n(I, null, R(q.value, (a, l) => (s(), n(I, null, [
|
|
619
|
+
r.value.length && !F.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (r.value[l].isFirst && a.position < e.value.style.chart.layout.grid.size - 2 || r.value[l].isAbsoluteFirst && l % e.value.style.chart.layout.grid.size === 0 && r.value[l].absoluteStartIndex) ? (s(), n("foreignObject", {
|
|
612
620
|
key: 0,
|
|
613
621
|
x: a.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
614
622
|
y: a.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
615
623
|
height: K.value <= 0 ? 1e-4 : K.value,
|
|
616
624
|
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(
|
|
625
|
+
filter: le(r.value[l].serieIndex)
|
|
618
626
|
}, [
|
|
619
627
|
k("div", {
|
|
620
628
|
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(
|
|
629
|
+
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(dt)(r.value[l].color)};gap:2px`)
|
|
622
630
|
}, [
|
|
623
|
-
e.value.style.chart.layout.labels.captions.showSerieName ? (
|
|
624
|
-
e.value.style.chart.layout.labels.captions.showPercentage ? (
|
|
625
|
-
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (
|
|
631
|
+
e.value.style.chart.layout.labels.captions.showSerieName ? (s(), n("span", qt, S(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? h(ht)({ source: r.value[l].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : r.value[l].name) + ": ", 1)) : f("", !0),
|
|
632
|
+
e.value.style.chart.layout.labels.captions.showPercentage ? (s(), n("span", Ht, S(h(x)({ v: r.value[l].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : f("", !0),
|
|
633
|
+
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", Xt, " (" + S(h(U)(
|
|
626
634
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
627
|
-
|
|
635
|
+
r.value[l].value,
|
|
628
636
|
h(x)({
|
|
629
637
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
630
|
-
v:
|
|
638
|
+
v: r.value[l].value,
|
|
631
639
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
632
640
|
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
633
641
|
}),
|
|
634
|
-
{ datapoint:
|
|
642
|
+
{ datapoint: r.value[l], position: a }
|
|
635
643
|
)) + ") ", 1)) : f("", !0),
|
|
636
|
-
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (
|
|
644
|
+
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), n("span", Yt, S(h(U)(
|
|
637
645
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
638
|
-
|
|
646
|
+
r.value[l].value,
|
|
639
647
|
h(x)({
|
|
640
648
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
641
|
-
v:
|
|
649
|
+
v: r.value[l].value,
|
|
642
650
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
643
651
|
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
644
652
|
}),
|
|
645
|
-
{ datapoint:
|
|
653
|
+
{ datapoint: r.value[l], position: a }
|
|
646
654
|
)), 1)) : f("", !0)
|
|
647
655
|
], 4)
|
|
648
|
-
], 8,
|
|
656
|
+
], 8, Wt)) : f("", !0)
|
|
649
657
|
], 64))), 256)),
|
|
650
|
-
(
|
|
651
|
-
onMouseover: (u) =>
|
|
658
|
+
(s(!0), n(I, null, R(q.value, (a, l) => (s(), n("rect", {
|
|
659
|
+
onMouseover: (u) => Xe(l),
|
|
652
660
|
onMouseleave: o[0] || (o[0] = (u) => {
|
|
653
661
|
ee.value = !1, B.value = null;
|
|
654
662
|
}),
|
|
@@ -658,14 +666,14 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
658
666
|
width: E.value <= 0 ? 1e-4 : E.value,
|
|
659
667
|
fill: "transparent",
|
|
660
668
|
stroke: "none"
|
|
661
|
-
}, null, 40,
|
|
669
|
+
}, null, 40, Kt))), 256)),
|
|
662
670
|
g(t.$slots, "svg", { svg: L.value }, void 0, !0)
|
|
663
|
-
], 14,
|
|
664
|
-
t.$slots.watermark ? (
|
|
665
|
-
g(t.$slots, "watermark", D(G({ isPrinting: h(
|
|
671
|
+
], 14, Ft)) : f("", !0),
|
|
672
|
+
t.$slots.watermark ? (s(), n("div", Jt, [
|
|
673
|
+
g(t.$slots, "watermark", D(G({ isPrinting: h(ge) || h(me) })), void 0, !0)
|
|
666
674
|
])) : f("", !0),
|
|
667
|
-
X.value ? f("", !0) : (
|
|
668
|
-
key:
|
|
675
|
+
X.value ? f("", !0) : (s(), N(It, {
|
|
676
|
+
key: 6,
|
|
669
677
|
config: {
|
|
670
678
|
type: "waffle",
|
|
671
679
|
style: {
|
|
@@ -680,10 +688,10 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
680
688
|
ref_key: "chartLegend",
|
|
681
689
|
ref: ie
|
|
682
690
|
}, [
|
|
683
|
-
e.value.style.chart.legend.show ? (
|
|
684
|
-
key: `legend_${
|
|
691
|
+
e.value.style.chart.legend.show ? (s(), N(Tt, {
|
|
692
|
+
key: `legend_${pe.value}`,
|
|
685
693
|
legendSet: M.value,
|
|
686
|
-
config:
|
|
694
|
+
config: He.value,
|
|
687
695
|
onClickMarker: o[1] || (o[1] = ({ legend: a }) => Ie(a.uid))
|
|
688
696
|
}, {
|
|
689
697
|
item: m(({ legend: a }) => [
|
|
@@ -691,7 +699,7 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
691
699
|
onClick: (l) => a.segregate(),
|
|
692
700
|
style: Z(`opacity:${p.value.includes(a.uid) ? 0.5 : 1}`)
|
|
693
701
|
}, [
|
|
694
|
-
|
|
702
|
+
Ne(S(a.name) + ": " + S(h(U)(
|
|
695
703
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
696
704
|
a.value,
|
|
697
705
|
h(x)({
|
|
@@ -703,8 +711,8 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
703
711
|
}),
|
|
704
712
|
{ datapoint: a }
|
|
705
713
|
)) + " ", 1),
|
|
706
|
-
p.value.includes(a.uid) ? (
|
|
707
|
-
], 12,
|
|
714
|
+
p.value.includes(a.uid) ? (s(), n("span", ea, " ( - % ) ")) : (s(), n("span", Zt, " (" + S(isNaN(a.value / _.value) ? "-" : h(x)({ v: a.value / _.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: F.value })) + ") ", 1))
|
|
715
|
+
], 12, Qt)
|
|
708
716
|
]),
|
|
709
717
|
_: 1
|
|
710
718
|
}, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
|
|
@@ -712,16 +720,16 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
712
720
|
legend: M.value
|
|
713
721
|
}, void 0, !0)
|
|
714
722
|
], 512),
|
|
715
|
-
t.$slots.source ? (
|
|
716
|
-
key:
|
|
723
|
+
t.$slots.source ? (s(), n("div", {
|
|
724
|
+
key: 7,
|
|
717
725
|
ref_key: "source",
|
|
718
726
|
ref: ce,
|
|
719
727
|
dir: "auto"
|
|
720
728
|
}, [
|
|
721
729
|
g(t.$slots, "source", {}, void 0, !0)
|
|
722
730
|
], 512)) : f("", !0),
|
|
723
|
-
|
|
724
|
-
show:
|
|
731
|
+
Fe(_t, {
|
|
732
|
+
show: T.value.showTooltip && ee.value && p.value.length < b.dataset.length,
|
|
725
733
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
726
734
|
color: e.value.style.chart.tooltip.color,
|
|
727
735
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -743,11 +751,11 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
743
751
|
]),
|
|
744
752
|
_: 3
|
|
745
753
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize"]),
|
|
746
|
-
X.value ? (
|
|
747
|
-
key:
|
|
754
|
+
X.value ? (s(), N(St, {
|
|
755
|
+
key: 8,
|
|
748
756
|
hideDetails: "",
|
|
749
757
|
config: {
|
|
750
|
-
open:
|
|
758
|
+
open: T.value.showTable,
|
|
751
759
|
maxHeight: 1e4,
|
|
752
760
|
body: {
|
|
753
761
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -760,32 +768,32 @@ const Oe = (j) => (Qe("data-v-89a6ba4c"), j = j(), Ze(), j), Lt = ["id"], At = [
|
|
|
760
768
|
}
|
|
761
769
|
}, {
|
|
762
770
|
content: m(() => [
|
|
763
|
-
(
|
|
764
|
-
key: `table_${
|
|
771
|
+
(s(), N($t, {
|
|
772
|
+
key: `table_${he.value}`,
|
|
765
773
|
colNames: J.value.colNames,
|
|
766
774
|
head: J.value.head,
|
|
767
775
|
body: J.value.body,
|
|
768
776
|
config: J.value.config,
|
|
769
777
|
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) =>
|
|
778
|
+
onClose: o[2] || (o[2] = (a) => T.value.showTable = !1)
|
|
771
779
|
}, {
|
|
772
780
|
th: m(({ th: a }) => [
|
|
773
781
|
k("div", {
|
|
774
782
|
innerHTML: a,
|
|
775
783
|
style: { display: "flex", "align-items": "center" }
|
|
776
|
-
}, null, 8,
|
|
784
|
+
}, null, 8, ta)
|
|
777
785
|
]),
|
|
778
786
|
td: m(({ td: a }) => [
|
|
779
|
-
|
|
787
|
+
Ne(S(a.name || a), 1)
|
|
780
788
|
]),
|
|
781
789
|
_: 1
|
|
782
790
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
783
791
|
]),
|
|
784
792
|
_: 1
|
|
785
793
|
}, 8, ["config"])) : f("", !0)
|
|
786
|
-
], 14,
|
|
794
|
+
], 14, zt));
|
|
787
795
|
}
|
|
788
|
-
},
|
|
796
|
+
}, ga = /* @__PURE__ */ At(aa, [["__scopeId", "data-v-b51c7605"]]);
|
|
789
797
|
export {
|
|
790
|
-
|
|
798
|
+
ga as default
|
|
791
799
|
};
|