vue-data-ui 2.3.73 → 2.3.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-B9ZuNkP-.js → Arrow-BTG7M25z.js} +1 -1
- package/dist/{Arrow-B8nZeqNJ.cjs → Arrow-CZK77NmC.cjs} +1 -1
- package/dist/{BaseIcon-CXbZK6D-.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
- package/dist/{BaseIcon-_V_BEdy8.js → BaseIcon-BAOfPaXs.js} +1 -1
- package/dist/{DataTable-BOdJVZzF.js → DataTable-CQANRZju.js} +2 -2
- package/dist/{DataTable-wmKwMbsJ.cjs → DataTable-DjQzrklZ.cjs} +1 -1
- package/dist/{Legend-DdndVhHV.cjs → Legend-CtbPB0Bo.cjs} +1 -1
- package/dist/{Legend-CHd5QFPM.js → Legend-DX1kv21U.js} +1 -1
- package/dist/{Shape-CLRxBhyM.cjs → Shape-CadGs1Am.cjs} +1 -1
- package/dist/{Shape-DNbJlwSU.js → Shape-kqcyauhC.js} +1 -1
- package/dist/{Slicer-Dts-BToH.cjs → Slicer-i_oECHxH.cjs} +1 -1
- package/dist/{Slicer-8Gg45iGX.js → Slicer-yaJs-izT.js} +2 -2
- package/dist/{Title-Ngy9HNqO.js → Title-C26I_HC3.js} +1 -1
- package/dist/{Title-CujodUjt.cjs → Title-XBiDFYKD.cjs} +1 -1
- package/dist/{Tooltip-BCtg7xYX.js → Tooltip-CH8GmDCG.js} +1 -1
- package/dist/{Tooltip-DsmWz8gF.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
- package/dist/{index-Dvs5Ra-u.js → index-Cm4Iry5c.js} +1 -1
- package/dist/{index-sFjJ2dIj.cjs → index-DYUBiaGS.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-UohhCyBz.js → useNestedProp-CurQIHTa.js} +1 -1
- package/dist/{useNestedProp-ir0jEo5M.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
- package/dist/{usePrinter-B8-keRMa.js → usePrinter-B8RnF8_q.js} +1 -1
- package/dist/{usePrinter-DSMMs1w9.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
- package/dist/{vue-data-ui-NvV5qa--.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
- package/dist/{vue-data-ui-Bgo6YUhl.js → vue-data-ui-Bj6kEIpq.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
- package/dist/{vue-ui-3d-bar-DckNIYgA.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
- package/dist/{vue-ui-accordion-RuCkf_li.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
- package/dist/{vue-ui-accordion-C-qAry7P.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CamjaXUw.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
- package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
- package/dist/{vue-ui-annotator-D0kYZ56C.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
- package/dist/{vue-ui-annotator-DMmdqorj.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
- package/dist/{vue-ui-candlestick-DRi8lDTn.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
- package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
- package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
- package/dist/{vue-ui-carousel-table-u5OoOMr1.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
- package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
- package/dist/{vue-ui-chestnut-D5a4OH1D.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
- package/dist/{vue-ui-cursor-Bp_PHbz4.js → vue-ui-cursor-BP04_XbB.js} +2 -2
- package/dist/{vue-ui-cursor-DpBsZNEE.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BwBYH8V_.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
- package/dist/{vue-ui-dashboard--kjU0uMc.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
- package/dist/{vue-ui-digits-CIV9J3SW.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
- package/dist/{vue-ui-digits-t2G4B6uD.js → vue-ui-digits-DUhkLcmd.js} +2 -2
- package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
- package/dist/{vue-ui-donut-BTug2gsP.js → vue-ui-donut-DRPSwmGr.js} +376 -362
- package/dist/{vue-ui-donut-evolution-DTD0Hfgh.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
- package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BZw7lntE.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
- package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
- package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
- package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
- package/dist/{vue-ui-galaxy-Bjlm3WtB.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
- package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
- package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
- package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
- package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
- package/dist/{vue-ui-gizmo-CiutQM-A.js → vue-ui-gizmo-bV148qAf.js} +66 -53
- package/dist/{vue-ui-heatmap-C933pQPU.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
- package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
- package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
- package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
- package/dist/{vue-ui-mini-loader-B5XG2gKd.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
- package/dist/{vue-ui-mini-loader-C67Z1C6r.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
- package/dist/{vue-ui-molecule-DzIeuL8t.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
- package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
- package/dist/{vue-ui-mood-radar-02L4M-n_.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
- package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BY50trfJ.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
- package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
- package/dist/{vue-ui-onion-BmQ7B9xY.js → vue-ui-onion-CFa4VD-w.js} +191 -177
- package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BdfcqlfT.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
- package/dist/{vue-ui-quadrant-CLimyRoA.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
- package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CX8Kas-o.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
- package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
- package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
- package/dist/{vue-ui-radar-CK0PB5oY.js → vue-ui-radar-CW8EKW4o.js} +202 -189
- package/dist/{vue-ui-rating-Ceu3pXmF.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
- package/dist/{vue-ui-rating-BnqWN2ui.js → vue-ui-rating-eSWsmJUU.js} +2 -2
- package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
- package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
- package/dist/{vue-ui-rings-CYthauSM.js → vue-ui-rings-BxhLbyG0.js} +203 -189
- package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
- package/dist/{vue-ui-scatter-Cxr9eymz.js → vue-ui-scatter-DQchX_mM.js} +284 -270
- package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
- package/dist/{vue-ui-screenshot-CVWC5rbJ.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
- package/dist/{vue-ui-screenshot-sBd8-Oyh.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CAvlIcgk.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
- package/dist/{vue-ui-skeleton-CqF0NJ4g.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
- package/dist/{vue-ui-smiley-CXbipVsb.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
- package/dist/{vue-ui-smiley-c_I60YOy.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
- package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
- package/dist/{vue-ui-sparkbar-Dm-2_5Ef.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
- package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
- package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
- package/dist/{vue-ui-sparkhistogram-qf87TXA-.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
- package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
- package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
- package/dist/{vue-ui-sparkline-CZBgvY1A.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
- package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-GtkDZDXZ.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
- package/dist/{vue-ui-stackbar-D_Ui7xec.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
- package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
- package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
- package/dist/{vue-ui-strip-plot--VJ3f5UV.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
- package/dist/{vue-ui-table-BCQ7voEV.js → vue-ui-table-BSi_cHh7.js} +1 -1
- package/dist/{vue-ui-table-B_6N0VOD.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
- package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-UwpQQMHB.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
- package/dist/{vue-ui-table-sparkline-Bzqs2Hcp.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
- package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
- package/dist/{vue-ui-thermometer-BQbYzsSV.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
- package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
- package/dist/{vue-ui-timer-KGEswANF.js → vue-ui-timer-CkB7eZaE.js} +191 -176
- package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
- package/dist/{vue-ui-tiremarks-BSkMCIu1.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
- package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
- package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
- package/dist/{vue-ui-treemap-DIWveOrq.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
- package/dist/{vue-ui-vertical-bar-Dx6wReOw.js → vue-ui-vertical-bar-BA43_uHV.js} +374 -358
- package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
- package/dist/{vue-ui-waffle-D3jMPOd3.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
- package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
- package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
- package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
- package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
- package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
- package/dist/{vue-ui-xy-9_2IHEOX.js → vue-ui-xy-BMBYAC4z.js} +300 -274
- package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
- package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-DGuGy69l.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DhzN0gd4.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CfUUEeKt.cjs +0 -1
- package/dist/vue-ui-candlestick-DJIJnnI_.cjs +0 -2
- package/dist/vue-ui-carousel-table-uYt1zVjx.cjs +0 -1
- package/dist/vue-ui-chestnut-CG5krVO-.cjs +0 -6
- package/dist/vue-ui-donut-D6SrEIEJ.cjs +0 -1
- package/dist/vue-ui-donut-evolution-Cb45erSA.cjs +0 -1
- package/dist/vue-ui-dumbbell-DVabaAYH.cjs +0 -9
- package/dist/vue-ui-flow-Bn1EP9Z1.cjs +0 -1
- package/dist/vue-ui-flow-Cz_xaLAs.js +0 -469
- package/dist/vue-ui-galaxy-Drnhlmmw.cjs +0 -1
- package/dist/vue-ui-gauge-CxIVYnG2.js +0 -488
- package/dist/vue-ui-gauge-D2reVZ-b.cjs +0 -1
- package/dist/vue-ui-gizmo-B6ZwXwFY.cjs +0 -1
- package/dist/vue-ui-heatmap-ClFm7qUu.cjs +0 -1
- package/dist/vue-ui-kpi-CdPFWSHA.cjs +0 -1
- package/dist/vue-ui-kpi-ClreiT4V.js +0 -84
- package/dist/vue-ui-molecule-JJQ3af-R.cjs +0 -1
- package/dist/vue-ui-mood-radar-DT4JU_6B.cjs +0 -1
- package/dist/vue-ui-nested-donuts-D6Dihmne.cjs +0 -17
- package/dist/vue-ui-onion-DoNDCpth.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CJMjEDXR.cjs +0 -8
- package/dist/vue-ui-quadrant-DWqmU3-5.cjs +0 -1
- package/dist/vue-ui-quick-chart-CB5VelG0.cjs +0 -15
- package/dist/vue-ui-radar-aTceo-HQ.cjs +0 -1
- package/dist/vue-ui-relation-circle-D1z8MBVH.js +0 -310
- package/dist/vue-ui-relation-circle-DWGtziD_.cjs +0 -1
- package/dist/vue-ui-rings-gp0sEMy6.cjs +0 -2
- package/dist/vue-ui-scatter-BKl2fUIR.cjs +0 -1
- package/dist/vue-ui-spark-trend-C3sBXu8D.js +0 -251
- package/dist/vue-ui-spark-trend-CXkkMK6N.cjs +0 -1
- package/dist/vue-ui-sparkbar-BkN5iTUq.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D4EqU3x3.cjs +0 -1
- package/dist/vue-ui-sparkgauge-FKTXvE7e.js +0 -167
- package/dist/vue-ui-sparkhistogram-BkJz2dBD.cjs +0 -1
- package/dist/vue-ui-sparkline-TPkuvKtA.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-CzzfnPDS.cjs +0 -1
- package/dist/vue-ui-stackbar-NHgsl2-Z.cjs +0 -6
- package/dist/vue-ui-strip-plot-CU6OtKt7.cjs +0 -1
- package/dist/vue-ui-table-heatmap-DFMF1RZ0.cjs +0 -1
- package/dist/vue-ui-table-sparkline-DWvOKdPb.cjs +0 -1
- package/dist/vue-ui-thermometer-BOuuVWuf.cjs +0 -1
- package/dist/vue-ui-timer-BCiMjXdm.cjs +0 -64
- package/dist/vue-ui-tiremarks-DuEz8cO5.cjs +0 -1
- package/dist/vue-ui-treemap-BO8gKQ4O.cjs +0 -1
- package/dist/vue-ui-vertical-bar-Dpzyha_P.cjs +0 -4
- package/dist/vue-ui-waffle-C0-IVDjk.cjs +0 -1
- package/dist/vue-ui-wheel-B10kCoLD.js +0 -242
- package/dist/vue-ui-wheel-mWdIHlXV.cjs +0 -1
- package/dist/vue-ui-word-cloud-CYtRxpdV.cjs +0 -1
- package/dist/vue-ui-word-cloud-rhrsHes4.js +0 -498
- package/dist/vue-ui-xy-CFqs5rtd.cjs +0 -3
- package/dist/vue-ui-xy-canvas-sLH0pM-i.cjs +0 -9
|
@@ -1,28 +1,28 @@
|
|
|
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
|
-
const
|
|
1
|
+
import { computed as d, ref as c, watch as Te, onMounted as je, onBeforeUnmount as We, openBlock as s, createElementBlock as i, normalizeClass as Se, normalizeStyle as q, createBlock as V, createCommentVNode as f, unref as h, createSlots as qe, withCtx as b, renderSlot as w, normalizeProps as H, guardReactiveProps as X, createElementVNode as k, Fragment as T, renderList as M, toDisplayString as S, createTextVNode as Le, createVNode as He, nextTick as Xe, pushScopeId as Ye, popScopeId as Je } from "vue";
|
|
2
|
+
import { u as Ke, c as Qe, t as Ze, a as et, p as B, o as tt, e as oe, g as lt, b as at, i as D, f as x, X as ot, v as ut, w as st, E as rt, H as nt, d as it, x as ct, y as vt, q as dt, r as ht } from "./index-Cm4Iry5c.js";
|
|
3
|
+
import { t as yt, u as pt } from "./useResponsive-NZB-WLRF.js";
|
|
4
|
+
import { _ as ft } from "./Title-C26I_HC3.js";
|
|
5
|
+
import { u as gt, U as mt } from "./usePrinter-B8RnF8_q.js";
|
|
6
|
+
import { _ as bt } from "./Tooltip-CH8GmDCG.js";
|
|
7
|
+
import { D as wt } from "./DataTable-CQANRZju.js";
|
|
8
|
+
import { L as kt } from "./Legend-DX1kv21U.js";
|
|
9
|
+
import xt from "./vue-ui-skeleton-C1oUnz7R.js";
|
|
10
|
+
import Ct from "./vue-ui-accordion-Cb6XBCbu.js";
|
|
11
|
+
import { u as Pe } from "./useNestedProp-CurQIHTa.js";
|
|
12
|
+
import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const ze = (E) => (Ye("data-v-eaa613a1"), E = E(), Je(), E), $t = ["id"], It = ["xmlns", "viewBox"], Tt = ["id"], St = ["stop-color"], Lt = ["stop-color"], Pt = ["id"], zt = /* @__PURE__ */ ze(() => /* @__PURE__ */ k("feGaussianBlur", {
|
|
14
14
|
in: "SourceGraphic",
|
|
15
15
|
stdDeviation: 2
|
|
16
|
-
}, null, -1)),
|
|
16
|
+
}, null, -1)), Ft = /* @__PURE__ */ ze(() => /* @__PURE__ */ k("feColorMatrix", {
|
|
17
17
|
type: "saturate",
|
|
18
18
|
values: "0"
|
|
19
|
-
}, null, -1)),
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
],
|
|
19
|
+
}, null, -1)), Nt = [
|
|
20
|
+
zt,
|
|
21
|
+
Ft
|
|
22
|
+
], Bt = ["x", "y", "height", "width"], Ot = ["height", "width"], At = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Vt = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Mt = ["x", "y", "height", "width", "filter"], Dt = { key: 0 }, Et = { key: 1 }, Gt = { key: 2 }, Rt = { key: 3 }, Ut = ["onMouseover", "x", "y", "height", "width"], jt = {
|
|
23
23
|
key: 3,
|
|
24
24
|
class: "vue-data-ui-watermark"
|
|
25
|
-
},
|
|
25
|
+
}, Wt = ["onClick"], qt = { key: 0 }, Ht = { key: 1 }, Xt = ["innerHTML"], Yt = {
|
|
26
26
|
__name: "vue-ui-waffle",
|
|
27
27
|
props: {
|
|
28
28
|
config: {
|
|
@@ -39,30 +39,38 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
emits: ["selectLegend"],
|
|
42
|
-
setup(
|
|
43
|
-
const
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
42
|
+
setup(E, { expose: Fe, emit: Ne }) {
|
|
43
|
+
const g = E, { vue_ui_waffle: Be } = Ke(), Y = d(() => !!g.dataset && g.dataset.length), L = c(Qe()), Oe = c(null), Z = c(!1), ee = c(""), O = c(null), ue = c(0), G = c(null), se = c(null), re = c(null), ne = c(0), ie = c(0), ce = c(0), e = d({
|
|
44
|
+
get: () => ve(),
|
|
45
|
+
set: (t) => t
|
|
46
|
+
});
|
|
47
|
+
function ve() {
|
|
48
|
+
const t = Pe({
|
|
49
|
+
userConfig: g.config,
|
|
50
|
+
defaultConfig: Be
|
|
47
51
|
});
|
|
48
52
|
return t.theme ? {
|
|
49
|
-
...
|
|
50
|
-
userConfig:
|
|
53
|
+
...Pe({
|
|
54
|
+
userConfig: Ze.vue_ui_waffle[t.theme] || g.config,
|
|
51
55
|
defaultConfig: t
|
|
52
56
|
}),
|
|
53
|
-
customPalette:
|
|
57
|
+
customPalette: et[t.theme] || B
|
|
54
58
|
} : t;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
|
|
59
|
+
}
|
|
60
|
+
Te(() => g.config, (t) => {
|
|
61
|
+
e.value = ve(), de(), ne.value += 1, ie.value += 1, ce.value += 1;
|
|
62
|
+
}, { deep: !0 });
|
|
63
|
+
const J = c(null);
|
|
64
|
+
function de() {
|
|
65
|
+
if (tt(g.dataset) ? oe({
|
|
58
66
|
componentName: "VueUiWaffle",
|
|
59
67
|
type: "dataset"
|
|
60
|
-
}) :
|
|
61
|
-
|
|
68
|
+
}) : g.dataset.forEach((t, o) => {
|
|
69
|
+
lt({
|
|
62
70
|
datasetObject: t,
|
|
63
71
|
requiredAttributes: ["name", "values"]
|
|
64
72
|
}).forEach((l) => {
|
|
65
|
-
|
|
73
|
+
oe({
|
|
66
74
|
componentName: "VueUiWaffle",
|
|
67
75
|
type: "datasetSerieAttribute",
|
|
68
76
|
property: l,
|
|
@@ -70,99 +78,109 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
70
78
|
});
|
|
71
79
|
});
|
|
72
80
|
}), e.value.responsive) {
|
|
73
|
-
const t =
|
|
74
|
-
const { width: o, height: l } =
|
|
75
|
-
chart:
|
|
76
|
-
title: e.value.style.chart.title.text ?
|
|
77
|
-
legend: e.value.style.chart.legend.show ?
|
|
81
|
+
const t = yt(() => {
|
|
82
|
+
const { width: o, height: l } = pt({
|
|
83
|
+
chart: G.value,
|
|
84
|
+
title: e.value.style.chart.title.text ? se.value : null,
|
|
85
|
+
legend: e.value.style.chart.legend.show ? re.value : null
|
|
78
86
|
});
|
|
79
87
|
P.value.width = o, P.value.height = l, C.value.width = o, C.value.height = l;
|
|
80
88
|
});
|
|
81
|
-
|
|
89
|
+
J.value = new ResizeObserver(t), J.value.observe(G.value.parentNode);
|
|
82
90
|
}
|
|
83
|
-
}
|
|
84
|
-
|
|
91
|
+
}
|
|
92
|
+
je(() => {
|
|
93
|
+
de();
|
|
94
|
+
}), We(() => {
|
|
95
|
+
J.value && J.value.disconnect();
|
|
85
96
|
});
|
|
86
|
-
const { isPrinting:
|
|
97
|
+
const { isPrinting: he, isImaging: ye, generatePdf: pe, generateImage: fe } = gt({
|
|
87
98
|
elementId: `vue-ui-waffle_${L.value}`,
|
|
88
99
|
fileName: e.value.style.chart.title.text || "vue-ui-waffle"
|
|
89
|
-
}),
|
|
100
|
+
}), ge = d(() => at(e.value.customPalette)), I = c({
|
|
90
101
|
showTable: e.value.table.show,
|
|
91
102
|
showTooltip: e.value.style.chart.tooltip.show
|
|
92
|
-
}), P =
|
|
103
|
+
}), P = c({
|
|
93
104
|
height: 512,
|
|
94
105
|
width: 512
|
|
95
|
-
}), C =
|
|
106
|
+
}), C = c({
|
|
96
107
|
top: 0,
|
|
97
108
|
left: 0,
|
|
98
109
|
height: 512,
|
|
99
110
|
width: 512
|
|
100
|
-
}), z =
|
|
101
|
-
function
|
|
102
|
-
const o = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((
|
|
103
|
-
let
|
|
104
|
-
for (;
|
|
105
|
-
let
|
|
106
|
-
u[
|
|
111
|
+
}), z = 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), F = 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), R = d(() => C.value.width / e.value.style.chart.layout.grid.size), K = d(() => C.value.height / e.value.style.chart.layout.grid.size);
|
|
112
|
+
function me(t) {
|
|
113
|
+
const o = e.value.style.chart.layout.grid.size * e.value.style.chart.layout.grid.size, l = t.reduce((m, ae) => m + ae, 0), a = t.map((m) => m / l * o), u = a.map(Math.floor), n = a.map((m) => m % 1);
|
|
114
|
+
let p = o - u.reduce((m, ae) => m + ae, 0);
|
|
115
|
+
for (; p > 0; ) {
|
|
116
|
+
let m = n.indexOf(Math.max(...n));
|
|
117
|
+
u[m] += 1, n[m] = 0, p -= 1;
|
|
107
118
|
}
|
|
108
119
|
return u;
|
|
109
120
|
}
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
|
|
121
|
+
function be() {
|
|
122
|
+
return g.dataset.map((t, o) => ({
|
|
123
|
+
...t,
|
|
124
|
+
color: it(t.color) || ge.value[o] || B[o] || B[o % B.length],
|
|
125
|
+
uid: `serie_${o}`,
|
|
126
|
+
absoluteIndex: o
|
|
127
|
+
}));
|
|
128
|
+
}
|
|
129
|
+
const we = d(() => be()), v = c(we.value);
|
|
130
|
+
Te(() => g.dataset, (t) => {
|
|
131
|
+
v.value = be();
|
|
132
|
+
}, { deep: !0 });
|
|
133
|
+
const Ae = d(() => {
|
|
134
|
+
const t = v.value.filter((o, l) => !y.value.includes(o.uid)).map((o, l) => (o.values || []).reduce((a, u) => a + u, 0));
|
|
135
|
+
return me(t);
|
|
136
|
+
}), Ve = d(() => {
|
|
137
|
+
const t = v.value.map((o, l) => (o.values || []).reduce((a, u) => a + u));
|
|
138
|
+
return me(t);
|
|
139
|
+
}), U = d(() => (g.dataset.forEach((t, o) => {
|
|
140
|
+
[null, void 0].includes(t.values) && oe({
|
|
123
141
|
componentName: "VueUiWaffle",
|
|
124
142
|
type: "datasetSerieAttribute",
|
|
125
143
|
property: "values (number[])",
|
|
126
144
|
index: o
|
|
127
145
|
});
|
|
128
|
-
}),
|
|
146
|
+
}), v.value.filter((t, o) => !y.value.includes(t.uid)).map((t, o) => ({
|
|
129
147
|
absoluteIndex: t.absoluteIndex,
|
|
130
148
|
uid: t.uid,
|
|
131
149
|
name: t.name,
|
|
132
150
|
color: t.color,
|
|
133
151
|
value: (t.values || []).reduce((l, a) => l + a, 0),
|
|
134
152
|
absoluteValues: t.values || [],
|
|
135
|
-
proportion:
|
|
136
|
-
})))),
|
|
153
|
+
proportion: Ae.value[o]
|
|
154
|
+
})))), Me = d(() => v.value.map((t, o) => ({
|
|
137
155
|
absoluteIndex: t.absoluteIndex,
|
|
138
156
|
uid: t.uid,
|
|
139
157
|
name: t.name,
|
|
140
158
|
color: t.color,
|
|
141
159
|
value: (t.values || []).reduce((l, a) => l + a, 0),
|
|
142
160
|
absoluteValues: t.values || [],
|
|
143
|
-
proportion:
|
|
161
|
+
proportion: Ve.value[o]
|
|
144
162
|
})));
|
|
145
|
-
function
|
|
146
|
-
return
|
|
163
|
+
function De() {
|
|
164
|
+
return Me.value.map((t) => ({
|
|
147
165
|
name: t.name,
|
|
148
166
|
color: t.color,
|
|
149
167
|
value: t.value,
|
|
150
168
|
proportion: t.proportion
|
|
151
169
|
}));
|
|
152
170
|
}
|
|
153
|
-
const
|
|
171
|
+
const Ee = d(() => {
|
|
154
172
|
let t = 0;
|
|
155
|
-
return
|
|
173
|
+
return U.value.map((o, l) => {
|
|
156
174
|
const a = t, u = a + o.proportion, n = [];
|
|
157
|
-
for (let
|
|
158
|
-
n.push(
|
|
175
|
+
for (let p = Math.floor(a); p < Math.floor(u); p += 1)
|
|
176
|
+
n.push(p);
|
|
159
177
|
return t = u, {
|
|
160
178
|
...o,
|
|
161
179
|
start: a,
|
|
162
180
|
rects: n
|
|
163
181
|
};
|
|
164
182
|
});
|
|
165
|
-
}),
|
|
183
|
+
}), r = d(() => Ee.value.flatMap((t, o) => t.rects.map((l, a) => ({
|
|
166
184
|
isFirst: a === 0,
|
|
167
185
|
isLongEnough: l.length > 2,
|
|
168
186
|
name: t.name,
|
|
@@ -175,7 +193,7 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
175
193
|
}))).map((t, o) => ({
|
|
176
194
|
...t,
|
|
177
195
|
isAbsoluteFirst: o % e.value.style.chart.layout.grid.size === 0
|
|
178
|
-
}))),
|
|
196
|
+
}))), j = d(() => {
|
|
179
197
|
const t = [];
|
|
180
198
|
for (let o = 0; o < e.value.style.chart.layout.grid.size; o += 1)
|
|
181
199
|
for (let l = 0; l < e.value.style.chart.layout.grid.size; l += 1)
|
|
@@ -186,91 +204,91 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
186
204
|
y: (e.value.style.chart.layout.grid.vertical ? l : o) * (F.value + e.value.style.chart.layout.grid.spaceBetween) + C.value.top
|
|
187
205
|
});
|
|
188
206
|
return t;
|
|
189
|
-
}), y =
|
|
190
|
-
function
|
|
207
|
+
}), y = c([]), N = c(!1), ke = c(null), xe = c(null);
|
|
208
|
+
function Ce(t) {
|
|
191
209
|
if (!e.value.useAnimation) {
|
|
192
210
|
y.value.includes(t) ? y.value = y.value.filter((u) => u !== t) : y.value.length < A.value.length - 1 && A.value.length > 1 && y.value.push(t);
|
|
193
211
|
return;
|
|
194
212
|
}
|
|
195
|
-
const o =
|
|
196
|
-
let a =
|
|
213
|
+
const o = we.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0);
|
|
214
|
+
let a = v.value.find((u) => u.uid === t).values.reduce((u, n) => u + n, 0);
|
|
197
215
|
if (y.value.includes(t)) {
|
|
198
216
|
let n = function() {
|
|
199
|
-
a > u ? (cancelAnimationFrame(
|
|
200
|
-
...
|
|
217
|
+
a > u ? (cancelAnimationFrame(ke.value), v.value = v.value.map((p, m) => p.uid === t ? {
|
|
218
|
+
...p,
|
|
201
219
|
values: [u]
|
|
202
|
-
} :
|
|
203
|
-
...
|
|
220
|
+
} : p), N.value = !1) : (N.value = !0, a += u * 0.025, v.value = v.value.map((p, m) => p.uid === t ? {
|
|
221
|
+
...p,
|
|
204
222
|
values: [a]
|
|
205
|
-
} :
|
|
223
|
+
} : p), ke.value = requestAnimationFrame(n));
|
|
206
224
|
};
|
|
207
|
-
y.value = y.value.filter((
|
|
225
|
+
y.value = y.value.filter((p) => p !== t);
|
|
208
226
|
const u = o;
|
|
209
227
|
n();
|
|
210
228
|
} else if (y.value.length < A.value.length - 1 && A.value.length > 1) {
|
|
211
229
|
let u = function() {
|
|
212
|
-
a < 0.1 ? (cancelAnimationFrame(
|
|
230
|
+
a < 0.1 ? (cancelAnimationFrame(xe.value), y.value.push(t), v.value = v.value.map((n, p) => n.uid === t ? {
|
|
213
231
|
...n,
|
|
214
232
|
values: [0]
|
|
215
|
-
} : n), N.value = !1) : (N.value = !0, a /= 1.5,
|
|
233
|
+
} : n), N.value = !1) : (N.value = !0, a /= 1.5, v.value = v.value.map((n, p) => n.uid === t ? {
|
|
216
234
|
...n,
|
|
217
235
|
values: [a]
|
|
218
|
-
} : n),
|
|
236
|
+
} : n), xe.value = requestAnimationFrame(u));
|
|
219
237
|
};
|
|
220
238
|
u();
|
|
221
239
|
}
|
|
222
|
-
|
|
240
|
+
Ne("selectLegend", U.value.map((u) => ({
|
|
223
241
|
name: u.name,
|
|
224
242
|
color: u.color,
|
|
225
243
|
value: u.value,
|
|
226
244
|
proportion: u.proportion / Math.pow(e.value.style.chart.layout.grid.size, 2)
|
|
227
245
|
})));
|
|
228
246
|
}
|
|
229
|
-
const A =
|
|
247
|
+
const A = d(() => v.value.map((t, o) => ({
|
|
230
248
|
name: t.name,
|
|
231
|
-
color: t.color ||
|
|
249
|
+
color: t.color || ge[o] || B[o] || B[o % B.length],
|
|
232
250
|
value: (t.values || []).reduce((l, a) => l + a, 0),
|
|
233
251
|
uid: t.uid,
|
|
234
252
|
shape: "square"
|
|
235
253
|
})).map((t, o) => ({
|
|
236
254
|
...t,
|
|
237
|
-
proportion: t.value /
|
|
255
|
+
proportion: t.value / v.value.map((l) => (l.values || []).reduce((a, u) => a + u, 0)).reduce((l, a) => l + a, 0),
|
|
238
256
|
opacity: y.value.includes(t.uid) ? 0.5 : 1,
|
|
239
|
-
segregate: () =>
|
|
257
|
+
segregate: () => Ce(t.uid),
|
|
240
258
|
isSegregated: y.value.includes(t.uid)
|
|
241
|
-
}))),
|
|
259
|
+
}))), Ge = d(() => ({
|
|
242
260
|
cy: "waffle-div-legend",
|
|
243
261
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
244
262
|
color: e.value.style.chart.legend.color,
|
|
245
263
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
246
264
|
paddingBottom: 12,
|
|
247
265
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
248
|
-
})), _ =
|
|
249
|
-
function
|
|
250
|
-
if (y.value.length ===
|
|
251
|
-
const o =
|
|
266
|
+
})), _ = d(() => U.value.map((t) => t.value).reduce((t, o) => t + o, 0)), te = c(null);
|
|
267
|
+
function Re(t) {
|
|
268
|
+
if (y.value.length === g.dataset.length) return;
|
|
269
|
+
const o = r.value[t];
|
|
252
270
|
te.value = {
|
|
253
271
|
datapoint: o,
|
|
254
272
|
seriesIndex: o.absoluteIndex,
|
|
255
|
-
series:
|
|
273
|
+
series: v.value,
|
|
256
274
|
config: e.value
|
|
257
|
-
}, Z.value = !0, O.value =
|
|
275
|
+
}, Z.value = !0, O.value = r.value[t].serieIndex;
|
|
258
276
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
259
|
-
if (
|
|
260
|
-
seriesIndex:
|
|
277
|
+
if (ct(l) && vt(() => l({
|
|
278
|
+
seriesIndex: r.value[t].absoluteIndex,
|
|
261
279
|
datapoint: o,
|
|
262
|
-
series:
|
|
280
|
+
series: v.value,
|
|
263
281
|
config: e.value
|
|
264
282
|
})))
|
|
265
283
|
ee.value = l({
|
|
266
|
-
seriesIndex:
|
|
284
|
+
seriesIndex: r.value[t].absoluteIndex,
|
|
267
285
|
datapoint: o,
|
|
268
|
-
series:
|
|
286
|
+
series: v.value,
|
|
269
287
|
config: e.value
|
|
270
288
|
});
|
|
271
289
|
else {
|
|
272
290
|
let a = "";
|
|
273
|
-
if (a += `<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>`, a += `<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 && (a += `<b>${
|
|
291
|
+
if (a += `<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>`, a += `<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 && (a += `<b>${D(
|
|
274
292
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
275
293
|
o.value,
|
|
276
294
|
x({
|
|
@@ -281,8 +299,8 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
281
299
|
}),
|
|
282
300
|
{
|
|
283
301
|
datapoint: o,
|
|
284
|
-
seriesIndex:
|
|
285
|
-
series:
|
|
302
|
+
seriesIndex: r.value[t].absoluteIndex,
|
|
303
|
+
series: v.value
|
|
286
304
|
}
|
|
287
305
|
)}</b>`), e.value.style.chart.tooltip.showPercentage) {
|
|
288
306
|
const u = x({
|
|
@@ -295,28 +313,28 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
295
313
|
ee.value = a;
|
|
296
314
|
}
|
|
297
315
|
}
|
|
298
|
-
const $ =
|
|
299
|
-
const t =
|
|
316
|
+
const $ = d(() => {
|
|
317
|
+
const t = U.value.map((l) => ({
|
|
300
318
|
name: l.name,
|
|
301
319
|
color: l.color
|
|
302
|
-
})), o =
|
|
320
|
+
})), o = U.value.map((l) => l.value);
|
|
303
321
|
return { head: t, body: o };
|
|
304
322
|
});
|
|
305
323
|
function le(t) {
|
|
306
324
|
return e.value.useBlurOnHover && ![null, void 0].includes(O.value) && O.value !== t ? `url(#blur_${L.value})` : "";
|
|
307
325
|
}
|
|
308
|
-
function
|
|
309
|
-
|
|
326
|
+
function _e() {
|
|
327
|
+
Xe(() => {
|
|
310
328
|
const t = $.value.head.map((a, u) => [[
|
|
311
329
|
a.name
|
|
312
|
-
], [$.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), l =
|
|
313
|
-
|
|
330
|
+
], [$.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), l = dt(o);
|
|
331
|
+
ht({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
|
|
314
332
|
});
|
|
315
333
|
}
|
|
316
|
-
const
|
|
334
|
+
const Q = d(() => {
|
|
317
335
|
const t = [
|
|
318
336
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
319
|
-
|
|
337
|
+
D(
|
|
320
338
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
321
339
|
_.value,
|
|
322
340
|
x({
|
|
@@ -332,7 +350,7 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
332
350
|
color: u.color,
|
|
333
351
|
name: u.name
|
|
334
352
|
},
|
|
335
|
-
|
|
353
|
+
D(
|
|
336
354
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
337
355
|
$.value.body[n],
|
|
338
356
|
x({
|
|
@@ -371,37 +389,38 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
371
389
|
config: l,
|
|
372
390
|
colNames: a
|
|
373
391
|
};
|
|
374
|
-
}),
|
|
375
|
-
function
|
|
376
|
-
|
|
392
|
+
}), W = c(!1);
|
|
393
|
+
function Ue(t) {
|
|
394
|
+
W.value = t, ue.value += 1;
|
|
377
395
|
}
|
|
378
|
-
function
|
|
396
|
+
function $e() {
|
|
379
397
|
I.value.showTable = !I.value.showTable;
|
|
380
398
|
}
|
|
381
|
-
function
|
|
399
|
+
function Ie() {
|
|
382
400
|
I.value.showTooltip = !I.value.showTooltip;
|
|
383
401
|
}
|
|
384
|
-
return
|
|
385
|
-
getData:
|
|
386
|
-
generatePdf:
|
|
387
|
-
generateCsv:
|
|
388
|
-
generateImage:
|
|
389
|
-
toggleTable:
|
|
390
|
-
toggleTooltip:
|
|
391
|
-
}), (t, o) => (
|
|
392
|
-
class:
|
|
402
|
+
return Fe({
|
|
403
|
+
getData: De,
|
|
404
|
+
generatePdf: pe,
|
|
405
|
+
generateCsv: _e,
|
|
406
|
+
generateImage: fe,
|
|
407
|
+
toggleTable: $e,
|
|
408
|
+
toggleTooltip: Ie
|
|
409
|
+
}), (t, o) => (s(), i("div", {
|
|
410
|
+
class: Se(`vue-ui-waffle ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
393
411
|
ref_key: "waffleChart",
|
|
394
|
-
ref:
|
|
412
|
+
ref: G,
|
|
395
413
|
id: `vue-ui-waffle_${L.value}`,
|
|
396
|
-
style:
|
|
414
|
+
style: q(`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%" : ""}`)
|
|
397
415
|
}, [
|
|
398
|
-
e.value.style.chart.title.text ? (
|
|
416
|
+
e.value.style.chart.title.text ? (s(), i("div", {
|
|
399
417
|
key: 0,
|
|
400
418
|
ref_key: "chartTitle",
|
|
401
|
-
ref:
|
|
402
|
-
style:
|
|
419
|
+
ref: se,
|
|
420
|
+
style: q(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:12px`)
|
|
403
421
|
}, [
|
|
404
|
-
|
|
422
|
+
(s(), V(ft, {
|
|
423
|
+
key: `title_${ne.value}`,
|
|
405
424
|
config: {
|
|
406
425
|
title: {
|
|
407
426
|
cy: "waffle-title",
|
|
@@ -412,16 +431,16 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
412
431
|
...e.value.style.chart.title.subtitle
|
|
413
432
|
}
|
|
414
433
|
}
|
|
415
|
-
}, null, 8, ["config"])
|
|
416
|
-
], 4)) :
|
|
417
|
-
e.value.userOptions.show &&
|
|
434
|
+
}, null, 8, ["config"]))
|
|
435
|
+
], 4)) : f("", !0),
|
|
436
|
+
e.value.userOptions.show && Y.value ? (s(), V(mt, {
|
|
418
437
|
ref_key: "details",
|
|
419
|
-
ref:
|
|
420
|
-
key: `user_options_${
|
|
438
|
+
ref: Oe,
|
|
439
|
+
key: `user_options_${ue.value}`,
|
|
421
440
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
422
441
|
color: e.value.style.chart.color,
|
|
423
|
-
isPrinting: h(
|
|
424
|
-
isImaging: h(
|
|
442
|
+
isPrinting: h(he),
|
|
443
|
+
isImaging: h(ye),
|
|
425
444
|
uid: L.value,
|
|
426
445
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
427
446
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -429,69 +448,69 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
429
448
|
hasXls: e.value.userOptions.buttons.csv,
|
|
430
449
|
hasTable: e.value.userOptions.buttons.table,
|
|
431
450
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
432
|
-
isFullscreen:
|
|
451
|
+
isFullscreen: W.value,
|
|
433
452
|
isTooltip: I.value.showTooltip,
|
|
434
453
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
435
|
-
chartElement:
|
|
436
|
-
onToggleFullscreen:
|
|
437
|
-
onGeneratePdf: h(
|
|
438
|
-
onGenerateCsv:
|
|
439
|
-
onGenerateImage: h(
|
|
440
|
-
onToggleTable:
|
|
441
|
-
onToggleTooltip:
|
|
442
|
-
},
|
|
454
|
+
chartElement: G.value,
|
|
455
|
+
onToggleFullscreen: Ue,
|
|
456
|
+
onGeneratePdf: h(pe),
|
|
457
|
+
onGenerateCsv: _e,
|
|
458
|
+
onGenerateImage: h(fe),
|
|
459
|
+
onToggleTable: $e,
|
|
460
|
+
onToggleTooltip: Ie
|
|
461
|
+
}, qe({ _: 2 }, [
|
|
443
462
|
t.$slots.optionTooltip ? {
|
|
444
463
|
name: "optionTooltip",
|
|
445
|
-
fn:
|
|
446
|
-
|
|
464
|
+
fn: b(() => [
|
|
465
|
+
w(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
447
466
|
]),
|
|
448
467
|
key: "0"
|
|
449
468
|
} : void 0,
|
|
450
469
|
t.$slots.optionPdf ? {
|
|
451
470
|
name: "optionPdf",
|
|
452
|
-
fn:
|
|
453
|
-
|
|
471
|
+
fn: b(() => [
|
|
472
|
+
w(t.$slots, "optionPdf", {}, void 0, !0)
|
|
454
473
|
]),
|
|
455
474
|
key: "1"
|
|
456
475
|
} : void 0,
|
|
457
476
|
t.$slots.optionCsv ? {
|
|
458
477
|
name: "optionCsv",
|
|
459
|
-
fn:
|
|
460
|
-
|
|
478
|
+
fn: b(() => [
|
|
479
|
+
w(t.$slots, "optionCsv", {}, void 0, !0)
|
|
461
480
|
]),
|
|
462
481
|
key: "2"
|
|
463
482
|
} : void 0,
|
|
464
483
|
t.$slots.optionImg ? {
|
|
465
484
|
name: "optionImg",
|
|
466
|
-
fn:
|
|
467
|
-
|
|
485
|
+
fn: b(() => [
|
|
486
|
+
w(t.$slots, "optionImg", {}, void 0, !0)
|
|
468
487
|
]),
|
|
469
488
|
key: "3"
|
|
470
489
|
} : void 0,
|
|
471
490
|
t.$slots.optionTable ? {
|
|
472
491
|
name: "optionTable",
|
|
473
|
-
fn:
|
|
474
|
-
|
|
492
|
+
fn: b(() => [
|
|
493
|
+
w(t.$slots, "optionTable", {}, void 0, !0)
|
|
475
494
|
]),
|
|
476
495
|
key: "4"
|
|
477
496
|
} : void 0,
|
|
478
497
|
t.$slots.optionFullscreen ? {
|
|
479
498
|
name: "optionFullscreen",
|
|
480
|
-
fn:
|
|
481
|
-
|
|
499
|
+
fn: b(({ toggleFullscreen: l, isFullscreen: a }) => [
|
|
500
|
+
w(t.$slots, "optionFullscreen", H(X({ toggleFullscreen: l, isFullscreen: a })), void 0, !0)
|
|
482
501
|
]),
|
|
483
502
|
key: "5"
|
|
484
503
|
} : void 0
|
|
485
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) :
|
|
486
|
-
|
|
504
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
|
|
505
|
+
Y.value ? (s(), i("svg", {
|
|
487
506
|
key: 2,
|
|
488
|
-
xmlns: h(
|
|
489
|
-
class:
|
|
507
|
+
xmlns: h(ot),
|
|
508
|
+
class: Se({ "vue-data-ui-fullscreen--on": W.value, "vue-data-ui-fulscreen--off": !W.value }),
|
|
490
509
|
viewBox: `0 0 ${P.value.width <= 0 ? 10 : P.value.width} ${P.value.height <= 0 ? 10 : P.value.height}`,
|
|
491
|
-
style:
|
|
510
|
+
style: q(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
492
511
|
}, [
|
|
493
|
-
|
|
494
|
-
(
|
|
512
|
+
k("defs", null, [
|
|
513
|
+
(s(!0), i(T, null, M(r.value, (l, a) => (s(), i("radialGradient", {
|
|
495
514
|
cx: "50%",
|
|
496
515
|
cy: "50%",
|
|
497
516
|
r: "50%",
|
|
@@ -499,35 +518,35 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
499
518
|
fy: "50%",
|
|
500
519
|
id: `gradient_${L.value}_${a}`
|
|
501
520
|
}, [
|
|
502
|
-
|
|
521
|
+
k("stop", {
|
|
503
522
|
offset: "0%",
|
|
504
|
-
"stop-color": `${h(
|
|
505
|
-
}, null, 8,
|
|
506
|
-
|
|
523
|
+
"stop-color": `${h(ut)(l.color, 0.05)}${h(st)[100 - e.value.style.chart.layout.rect.gradientIntensity]}`
|
|
524
|
+
}, null, 8, St),
|
|
525
|
+
k("stop", {
|
|
507
526
|
offset: "100%",
|
|
508
527
|
"stop-color": l.color
|
|
509
|
-
}, null, 8,
|
|
510
|
-
], 8,
|
|
528
|
+
}, null, 8, Lt)
|
|
529
|
+
], 8, Tt))), 256))
|
|
511
530
|
]),
|
|
512
|
-
|
|
513
|
-
|
|
531
|
+
k("defs", null, [
|
|
532
|
+
k("filter", {
|
|
514
533
|
id: `blur_${L.value}`,
|
|
515
534
|
x: "-50%",
|
|
516
535
|
y: "-50%",
|
|
517
536
|
width: "200%",
|
|
518
537
|
height: "200%"
|
|
519
|
-
},
|
|
538
|
+
}, Nt, 8, Pt)
|
|
520
539
|
]),
|
|
521
|
-
e.value.useCustomCells &&
|
|
540
|
+
e.value.useCustomCells && r.value.length ? (s(!0), i(T, { key: 0 }, M(j.value, (l, a) => (s(), i("foreignObject", {
|
|
522
541
|
x: l.x,
|
|
523
542
|
y: l.y,
|
|
524
543
|
height: F.value <= 0 ? 1e-4 : F.value,
|
|
525
544
|
width: z.value <= 0 ? 1e-4 : z.value,
|
|
526
545
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
527
546
|
}, [
|
|
528
|
-
|
|
529
|
-
], 8,
|
|
530
|
-
!
|
|
547
|
+
w(t.$slots, "cell", H(X({ cell: { ...l, color: r.value[a].color, ...r.value[a] }, isSelected: [null, void 0].includes(O.value) ? !0 : r.value[a].serieIndex === O.value })), void 0, !0)
|
|
548
|
+
], 8, Bt))), 256)) : f("", !0),
|
|
549
|
+
!r.value.length && !e.value.useCustomCells ? (s(), i("rect", {
|
|
531
550
|
key: 1,
|
|
532
551
|
x: 12,
|
|
533
552
|
y: 12,
|
|
@@ -536,8 +555,8 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
536
555
|
rx: 3,
|
|
537
556
|
fill: "none",
|
|
538
557
|
stroke: "black"
|
|
539
|
-
}, null, 8,
|
|
540
|
-
(
|
|
558
|
+
}, null, 8, Ot)) : r.value.length && !e.value.useCustomCells ? (s(), i(T, { key: 2 }, [
|
|
559
|
+
(s(!0), i(T, null, M(j.value, (l, a) => (s(), i("rect", {
|
|
541
560
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
542
561
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
543
562
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -546,78 +565,78 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
546
565
|
fill: "white",
|
|
547
566
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
548
567
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
549
|
-
filter: le(
|
|
550
|
-
}, null, 8,
|
|
551
|
-
(
|
|
568
|
+
filter: le(r.value[a].serieIndex)
|
|
569
|
+
}, null, 8, At))), 256)),
|
|
570
|
+
(s(!0), i(T, null, M(j.value, (l, a) => (s(), i("rect", {
|
|
552
571
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
553
572
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
554
573
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
555
574
|
height: F.value <= 0 ? 1e-4 : F.value,
|
|
556
575
|
width: z.value <= 0 ? 1e-4 : z.value,
|
|
557
|
-
fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${L.value}_${a})` :
|
|
576
|
+
fill: e.value.style.chart.layout.rect.useGradient && e.value.style.chart.layout.rect.gradientIntensity > 0 ? `url(#gradient_${L.value}_${a})` : r.value[a].color,
|
|
558
577
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
559
578
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
560
|
-
filter: le(
|
|
561
|
-
}, null, 8,
|
|
562
|
-
], 64)) :
|
|
563
|
-
(
|
|
564
|
-
|
|
579
|
+
filter: le(r.value[a].serieIndex)
|
|
580
|
+
}, null, 8, Vt))), 256))
|
|
581
|
+
], 64)) : f("", !0),
|
|
582
|
+
(s(!0), i(T, null, M(j.value, (l, a) => (s(), i(T, null, [
|
|
583
|
+
r.value.length && !N.value && !e.value.style.chart.layout.grid.vertical && e.value.style.chart.layout.labels.captions.show && (r.value[a].isFirst && l.position < e.value.style.chart.layout.grid.size - 2 || r.value[a].isAbsoluteFirst && a % e.value.style.chart.layout.grid.size === 0 && r.value[a].absoluteStartIndex) ? (s(), i("foreignObject", {
|
|
565
584
|
key: 0,
|
|
566
585
|
x: l.x + e.value.style.chart.layout.labels.captions.offsetX + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
567
586
|
y: l.y + e.value.style.chart.layout.labels.captions.offsetY + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
568
|
-
height:
|
|
569
|
-
width:
|
|
570
|
-
filter: le(
|
|
587
|
+
height: K.value <= 0 ? 1e-4 : K.value,
|
|
588
|
+
width: R.value * e.value.style.chart.layout.grid.size <= 0 ? 1e-4 : R.value * e.value.style.chart.layout.grid.size,
|
|
589
|
+
filter: le(r.value[a].serieIndex)
|
|
571
590
|
}, [
|
|
572
|
-
|
|
591
|
+
k("div", {
|
|
573
592
|
class: "vue-ui-waffle-caption",
|
|
574
|
-
style:
|
|
593
|
+
style: q(`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 ${R.value / 12}px;color:${h(rt)(r.value[a].color)};gap:2px`)
|
|
575
594
|
}, [
|
|
576
|
-
e.value.style.chart.layout.labels.captions.showSerieName ? (
|
|
577
|
-
e.value.style.chart.layout.labels.captions.showPercentage ? (
|
|
578
|
-
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (
|
|
595
|
+
e.value.style.chart.layout.labels.captions.showSerieName ? (s(), i("span", Dt, S(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? h(nt)({ source: r.value[a].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : r.value[a].name) + ": ", 1)) : f("", !0),
|
|
596
|
+
e.value.style.chart.layout.labels.captions.showPercentage ? (s(), i("span", Et, S(h(x)({ v: r.value[a].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : f("", !0),
|
|
597
|
+
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), i("span", Gt, " (" + S(h(D)(
|
|
579
598
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
580
|
-
|
|
599
|
+
r.value[a].value,
|
|
581
600
|
h(x)({
|
|
582
601
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
583
|
-
v:
|
|
602
|
+
v: r.value[a].value,
|
|
584
603
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
585
604
|
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
586
605
|
}),
|
|
587
|
-
{ datapoint:
|
|
588
|
-
)) + ") ", 1)) :
|
|
589
|
-
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (
|
|
606
|
+
{ datapoint: r.value[a], position: l }
|
|
607
|
+
)) + ") ", 1)) : f("", !0),
|
|
608
|
+
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (s(), i("span", Rt, S(h(D)(
|
|
590
609
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
591
|
-
|
|
610
|
+
r.value[a].value,
|
|
592
611
|
h(x)({
|
|
593
612
|
p: e.value.style.chart.layout.labels.dataLabels.prefix,
|
|
594
|
-
v:
|
|
613
|
+
v: r.value[a].value,
|
|
595
614
|
s: e.value.style.chart.layout.labels.dataLabels.suffix,
|
|
596
615
|
r: e.value.style.chart.layout.labels.captions.roundingValue
|
|
597
616
|
}),
|
|
598
|
-
{ datapoint:
|
|
599
|
-
)), 1)) :
|
|
617
|
+
{ datapoint: r.value[a], position: l }
|
|
618
|
+
)), 1)) : f("", !0)
|
|
600
619
|
], 4)
|
|
601
|
-
], 8,
|
|
620
|
+
], 8, Mt)) : f("", !0)
|
|
602
621
|
], 64))), 256)),
|
|
603
|
-
(
|
|
604
|
-
onMouseover: (u) =>
|
|
622
|
+
(s(!0), i(T, null, M(j.value, (l, a) => (s(), i("rect", {
|
|
623
|
+
onMouseover: (u) => Re(a),
|
|
605
624
|
onMouseleave: o[0] || (o[0] = (u) => {
|
|
606
625
|
Z.value = !1, O.value = null;
|
|
607
626
|
}),
|
|
608
627
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
609
628
|
y: l.y + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
610
|
-
height:
|
|
611
|
-
width:
|
|
629
|
+
height: K.value <= 0 ? 1e-4 : K.value,
|
|
630
|
+
width: R.value <= 0 ? 1e-4 : R.value,
|
|
612
631
|
fill: "transparent",
|
|
613
632
|
stroke: "none"
|
|
614
|
-
}, null, 40,
|
|
615
|
-
|
|
616
|
-
], 14,
|
|
617
|
-
t.$slots.watermark ? (
|
|
618
|
-
|
|
619
|
-
])) :
|
|
620
|
-
|
|
633
|
+
}, null, 40, Ut))), 256)),
|
|
634
|
+
w(t.$slots, "svg", { svg: P.value }, void 0, !0)
|
|
635
|
+
], 14, It)) : f("", !0),
|
|
636
|
+
t.$slots.watermark ? (s(), i("div", jt, [
|
|
637
|
+
w(t.$slots, "watermark", H(X({ isPrinting: h(he) || h(ye) })), void 0, !0)
|
|
638
|
+
])) : f("", !0),
|
|
639
|
+
Y.value ? f("", !0) : (s(), V(xt, {
|
|
621
640
|
key: 4,
|
|
622
641
|
config: {
|
|
623
642
|
type: "waffle",
|
|
@@ -629,22 +648,22 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
629
648
|
}
|
|
630
649
|
}
|
|
631
650
|
}, null, 8, ["config"])),
|
|
632
|
-
|
|
651
|
+
k("div", {
|
|
633
652
|
ref_key: "chartLegend",
|
|
634
|
-
ref:
|
|
653
|
+
ref: re
|
|
635
654
|
}, [
|
|
636
|
-
e.value.style.chart.legend.show ? (
|
|
637
|
-
key:
|
|
655
|
+
e.value.style.chart.legend.show ? (s(), V(kt, {
|
|
656
|
+
key: `legend_${ce.value}`,
|
|
638
657
|
legendSet: A.value,
|
|
639
|
-
config:
|
|
640
|
-
onClickMarker: o[1] || (o[1] = ({ legend: l }) =>
|
|
658
|
+
config: Ge.value,
|
|
659
|
+
onClickMarker: o[1] || (o[1] = ({ legend: l }) => Ce(l.uid))
|
|
641
660
|
}, {
|
|
642
|
-
item:
|
|
643
|
-
|
|
661
|
+
item: b(({ legend: l }) => [
|
|
662
|
+
k("div", {
|
|
644
663
|
onClick: (a) => l.segregate(),
|
|
645
|
-
style:
|
|
664
|
+
style: q(`opacity:${y.value.includes(l.uid) ? 0.5 : 1}`)
|
|
646
665
|
}, [
|
|
647
|
-
|
|
666
|
+
Le(S(l.name) + ": " + S(h(D)(
|
|
648
667
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
649
668
|
l.value,
|
|
650
669
|
h(x)({
|
|
@@ -656,17 +675,17 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
656
675
|
}),
|
|
657
676
|
{ datapoint: l }
|
|
658
677
|
)) + " ", 1),
|
|
659
|
-
y.value.includes(l.uid) ? (
|
|
660
|
-
], 12,
|
|
678
|
+
y.value.includes(l.uid) ? (s(), i("span", Ht, " ( - % ) ")) : (s(), i("span", qt, " (" + S(isNaN(l.value / _.value) ? "-" : h(x)({ v: l.value / _.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: N.value })) + ") ", 1))
|
|
679
|
+
], 12, Wt)
|
|
661
680
|
]),
|
|
662
681
|
_: 1
|
|
663
|
-
}, 8, ["legendSet", "config"])) :
|
|
682
|
+
}, 8, ["legendSet", "config"])) : w(t.$slots, "legend", {
|
|
664
683
|
key: 1,
|
|
665
684
|
legend: A.value
|
|
666
685
|
}, void 0, !0)
|
|
667
686
|
], 512),
|
|
668
|
-
|
|
669
|
-
show: I.value.showTooltip && Z.value && y.value.length <
|
|
687
|
+
He(bt, {
|
|
688
|
+
show: I.value.showTooltip && Z.value && y.value.length < g.dataset.length,
|
|
670
689
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
671
690
|
color: e.value.style.chart.tooltip.color,
|
|
672
691
|
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
@@ -675,20 +694,20 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
675
694
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
676
695
|
position: e.value.style.chart.tooltip.position,
|
|
677
696
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
678
|
-
parent:
|
|
697
|
+
parent: G.value,
|
|
679
698
|
content: ee.value,
|
|
680
699
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
681
700
|
fontSize: e.value.style.chart.tooltip.fontSize
|
|
682
701
|
}, {
|
|
683
|
-
"tooltip-before":
|
|
684
|
-
|
|
702
|
+
"tooltip-before": b(() => [
|
|
703
|
+
w(t.$slots, "tooltip-before", H(X({ ...te.value })), void 0, !0)
|
|
685
704
|
]),
|
|
686
|
-
"tooltip-after":
|
|
687
|
-
|
|
705
|
+
"tooltip-after": b(() => [
|
|
706
|
+
w(t.$slots, "tooltip-after", H(X({ ...te.value })), void 0, !0)
|
|
688
707
|
]),
|
|
689
708
|
_: 3
|
|
690
709
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize"]),
|
|
691
|
-
|
|
710
|
+
Y.value ? (s(), V(Ct, {
|
|
692
711
|
key: 5,
|
|
693
712
|
hideDetails: "",
|
|
694
713
|
config: {
|
|
@@ -704,32 +723,33 @@ const $e = (D) => (Re("data-v-876ae247"), D = D(), Ue(), D), mt = ["id"], bt = [
|
|
|
704
723
|
}
|
|
705
724
|
}
|
|
706
725
|
}, {
|
|
707
|
-
content:
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
726
|
+
content: b(() => [
|
|
727
|
+
(s(), V(wt, {
|
|
728
|
+
key: `table_${ie.value}`,
|
|
729
|
+
colNames: Q.value.colNames,
|
|
730
|
+
head: Q.value.head,
|
|
731
|
+
body: Q.value.body,
|
|
732
|
+
config: Q.value.config,
|
|
713
733
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
714
734
|
onClose: o[2] || (o[2] = (l) => I.value.showTable = !1)
|
|
715
735
|
}, {
|
|
716
|
-
th:
|
|
717
|
-
|
|
736
|
+
th: b(({ th: l }) => [
|
|
737
|
+
k("div", {
|
|
718
738
|
innerHTML: l,
|
|
719
739
|
style: { display: "flex", "align-items": "center" }
|
|
720
|
-
}, null, 8,
|
|
740
|
+
}, null, 8, Xt)
|
|
721
741
|
]),
|
|
722
|
-
td:
|
|
723
|
-
|
|
742
|
+
td: b(({ td: l }) => [
|
|
743
|
+
Le(S(l.name || l), 1)
|
|
724
744
|
]),
|
|
725
745
|
_: 1
|
|
726
|
-
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
746
|
+
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
727
747
|
]),
|
|
728
748
|
_: 1
|
|
729
|
-
}, 8, ["config"])) :
|
|
730
|
-
], 14,
|
|
749
|
+
}, 8, ["config"])) : f("", !0)
|
|
750
|
+
], 14, $t));
|
|
731
751
|
}
|
|
732
|
-
},
|
|
752
|
+
}, nl = /* @__PURE__ */ _t(Yt, [["__scopeId", "data-v-eaa613a1"]]);
|
|
733
753
|
export {
|
|
734
|
-
|
|
754
|
+
nl as default
|
|
735
755
|
};
|