vue-data-ui 2.4.50 → 2.4.51
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 +12 -0
- package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
- package/dist/index-DhDYBLBe.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
- package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
- package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
- package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
- package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
- package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
- package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
- package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
- package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
- package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
- package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
- package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
- package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
- package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
- package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
- package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
- package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
- package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { P as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { t as
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
|
|
1
|
+
import { useCssVars as _e, computed as c, onMounted as Le, ref as i, watch as Te, openBlock as s, createElementBlock as u, normalizeClass as T, normalizeStyle as $, unref as r, createBlock as A, createCommentVNode as b, createSlots as Ae, withCtx as p, renderSlot as k, normalizeProps as X, guardReactiveProps as j, createElementVNode as C, mergeProps as H, Fragment as M, renderList as B, toDisplayString as U, createTextVNode as Ne, nextTick as ze } from "vue";
|
|
2
|
+
import { u as Se, o as Oe, e as fe, g as Pe, c as Fe, d as De, l as Ie, i as V, f as G, X as Me, G as Be, t as Ue, q as Ve, r as Ge, F as Y } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { u as be } from "./useNestedProp-BN8claGG.js";
|
|
4
|
+
import { u as Re, U as Ee } from "./usePrinter-DaybDVqP.js";
|
|
5
|
+
import { _ as Xe } from "./Title-aSAft5dl.js";
|
|
6
|
+
import { P as je } from "./PenAndPaper-ZdZEumki.js";
|
|
7
|
+
import { D as He } from "./DataTable-DGf6RrOJ.js";
|
|
8
|
+
import Ye from "./vue-ui-accordion-5d5iVpr7.js";
|
|
9
|
+
import { t as qe, u as We } from "./useResponsive-CoxXLe23.js";
|
|
10
|
+
import Je from "./vue-ui-skeleton-Bniq21d9.js";
|
|
11
|
+
import { u as Ke } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
|
+
import { _ as Qe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const Ze = ["id"], et = ["xmlns", "viewBox"], tt = ["id"], at = ["stop-color"], lt = ["stop-color"], st = ["stop-color"], ot = ["stroke", "stroke-width"], nt = ["stroke", "stroke-width"], rt = ["x", "y", "font-size", "fill", "font-weight"], ut = ["points", "fill"], it = ["stroke", "stroke-width", "rx"], ct = ["x", "y", "font-size", "fill", "font-weight"], vt = ["x", "y", "font-size", "fill", "font-weight"], dt = {
|
|
13
14
|
key: 5,
|
|
14
15
|
class: "vue-data-ui-watermark"
|
|
15
|
-
},
|
|
16
|
+
}, ht = ["innerHTML"], ft = {
|
|
16
17
|
__name: "vue-ui-funnel",
|
|
17
18
|
props: {
|
|
18
19
|
config: {
|
|
@@ -28,23 +29,23 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
28
29
|
}
|
|
29
30
|
}
|
|
30
31
|
},
|
|
31
|
-
setup(
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
"
|
|
32
|
+
setup(me, { expose: ye }) {
|
|
33
|
+
const m = me;
|
|
34
|
+
_e((a) => ({
|
|
35
|
+
"5fd0b76e": xe.value
|
|
35
36
|
}));
|
|
36
|
-
const { vue_ui_funnel:
|
|
37
|
-
|
|
37
|
+
const { vue_ui_funnel: ge } = Se(), _ = c(() => !!m.dataset && m.dataset.length);
|
|
38
|
+
Le(q);
|
|
38
39
|
function q() {
|
|
39
|
-
if (
|
|
40
|
+
if (Oe(m.dataset) ? fe({
|
|
40
41
|
componentName: "VueUiFunnel",
|
|
41
42
|
type: "dataset"
|
|
42
|
-
}) :
|
|
43
|
-
|
|
43
|
+
}) : m.dataset.forEach((a, l) => {
|
|
44
|
+
Pe({
|
|
44
45
|
datasetObject: a,
|
|
45
46
|
requiredAttributes: ["name", "value"]
|
|
46
47
|
}).forEach((t) => {
|
|
47
|
-
|
|
48
|
+
_.value = !1, fe({
|
|
48
49
|
componentName: "VueUiFunnel",
|
|
49
50
|
type: "datasetSerieAttribute",
|
|
50
51
|
property: t,
|
|
@@ -52,26 +53,26 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
52
53
|
});
|
|
53
54
|
});
|
|
54
55
|
}), e.value.responsive) {
|
|
55
|
-
const a =
|
|
56
|
-
const { width: l, height: t } =
|
|
56
|
+
const a = qe(() => {
|
|
57
|
+
const { width: l, height: t } = We({
|
|
57
58
|
chart: N.value,
|
|
58
59
|
title: e.value.style.chart.title.text ? ee.value : null,
|
|
59
60
|
source: Z.value,
|
|
60
61
|
noTitle: Q.value
|
|
61
62
|
});
|
|
62
|
-
h.value.height = t, h.value.width = l, g.value =
|
|
63
|
+
h.value.height = t, h.value.width = l, g.value = ce(), v.value.circles = Y({
|
|
63
64
|
relator: Math.min(l, t),
|
|
64
65
|
adjuster: 600,
|
|
65
66
|
source: e.value.style.chart.circles.dataLabels.fontSize,
|
|
66
67
|
threshold: 10,
|
|
67
68
|
fallback: 10
|
|
68
|
-
}),
|
|
69
|
+
}), v.value.names = Y({
|
|
69
70
|
relator: Math.min(l, t),
|
|
70
71
|
adjuster: 600,
|
|
71
72
|
source: e.value.style.chart.bars.dataLabels.name.fontSize,
|
|
72
73
|
threshold: 10,
|
|
73
74
|
fallback: 10
|
|
74
|
-
}),
|
|
75
|
+
}), v.value.values = Y({
|
|
75
76
|
relator: Math.min(l, t),
|
|
76
77
|
adjuster: 600,
|
|
77
78
|
source: e.value.style.chart.bars.dataLabels.value.fontSize,
|
|
@@ -82,49 +83,49 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
82
83
|
te.value = new ResizeObserver(a), te.value.observe(N.value.parentNode);
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
|
-
const N =
|
|
86
|
+
const N = i(null), z = i(Fe()), W = i(0), J = i(0), K = i(0), Q = i(null), Z = i(null), ee = i(null), te = i(null), w = i(!1);
|
|
86
87
|
function ae() {
|
|
87
|
-
const a =
|
|
88
|
-
userConfig:
|
|
89
|
-
defaultConfig:
|
|
88
|
+
const a = be({
|
|
89
|
+
userConfig: m.config,
|
|
90
|
+
defaultConfig: ge
|
|
90
91
|
});
|
|
91
92
|
return a.theme ? {
|
|
92
|
-
...
|
|
93
|
-
userConfig:
|
|
93
|
+
...be({
|
|
94
|
+
userConfig: Ue.vue_ui_funnel[a.theme] || m.config,
|
|
94
95
|
defaultConfig: a
|
|
95
96
|
})
|
|
96
97
|
} : a;
|
|
97
98
|
}
|
|
98
|
-
const e =
|
|
99
|
+
const e = c({
|
|
99
100
|
get: () => ae(),
|
|
100
101
|
set: (a) => a
|
|
101
|
-
});
|
|
102
|
-
|
|
103
|
-
e.value = ae(), q(), J.value += 1, K.value += 1,
|
|
102
|
+
}), { userOptionsVisible: le, setUserOptionsVisibility: se, keepUserOptionState: oe } = Ke({ config: e.value });
|
|
103
|
+
Te(() => m.config, (a) => {
|
|
104
|
+
e.value = ae(), q(), J.value += 1, K.value += 1, v.value.circles = e.value.style.chart.circles.dataLabels.fontSize, v.value.names = e.value.style.chart.bars.dataLabels.name.fontSize, v.value.values = e.value.style.chart.bars.dataLabels.value.fontSize;
|
|
104
105
|
}, { deep: !0 });
|
|
105
|
-
const { isPrinting:
|
|
106
|
+
const { isPrinting: ne, isImaging: re, generatePdf: ue, generateImage: ie } = Re({
|
|
106
107
|
elementId: `funnel_${z.value}`,
|
|
107
108
|
fileName: e.value.style.chart.title.text || "vue-ui-funnel"
|
|
108
|
-
}),
|
|
109
|
+
}), pe = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), F = i({
|
|
109
110
|
showTable: e.value.table.show
|
|
110
|
-
}),
|
|
111
|
+
}), v = i({
|
|
111
112
|
circles: e.value.style.chart.circles.dataLabels.fontSize,
|
|
112
113
|
names: e.value.style.chart.bars.dataLabels.name.fontSize,
|
|
113
114
|
values: e.value.style.chart.bars.dataLabels.value.fontSize
|
|
114
|
-
}), h =
|
|
115
|
+
}), h = c({
|
|
115
116
|
get: () => ({
|
|
116
117
|
height: e.value.style.chart.height,
|
|
117
118
|
width: e.value.style.chart.width
|
|
118
119
|
}),
|
|
119
120
|
set: (a) => a
|
|
120
|
-
}), y =
|
|
121
|
+
}), y = c(() => _.value ? m.dataset.map((a, l) => ({
|
|
121
122
|
...a,
|
|
122
|
-
color: a.color ?
|
|
123
|
+
color: a.color ? De(a.color) : Ie(e.value.style.chart.bars.defaultColor, l / m.dataset.length)
|
|
123
124
|
})) : []);
|
|
124
125
|
setTimeout(() => {
|
|
125
126
|
w.value = !0;
|
|
126
127
|
}, y.value.length * 150);
|
|
127
|
-
function
|
|
128
|
+
function ce() {
|
|
128
129
|
const a = e.value.style.chart.padding.left, l = e.value.style.chart.padding.top;
|
|
129
130
|
return {
|
|
130
131
|
left: a,
|
|
@@ -135,8 +136,8 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
135
136
|
height: h.value.height - l - e.value.style.chart.padding.bottom
|
|
136
137
|
};
|
|
137
138
|
}
|
|
138
|
-
const g =
|
|
139
|
-
const t =
|
|
139
|
+
const g = i(ce()), L = c(() => g.value.height / m.dataset.length), x = c(() => L.value * e.value.style.chart.bars.gapRatio), ve = c(() => g.value.width * e.value.style.chart.barCircleSpacingRatio), o = c(() => y.value.map((a, l) => {
|
|
140
|
+
const t = L.value - x.value, n = g.value.top + x.value / 2 * l + (L.value - x.value / 2) * l + x.value / 2, f = a.value / y.value[0].value, d = (g.value.width - t - ve.value) * (a.value / y.value[0].value);
|
|
140
141
|
return {
|
|
141
142
|
...a,
|
|
142
143
|
cx: g.value.left + t / 2,
|
|
@@ -146,65 +147,65 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
146
147
|
height: Math.max(t, 0),
|
|
147
148
|
proportion: f,
|
|
148
149
|
r: Math.max(t / 2, 0),
|
|
149
|
-
width: Math.max(
|
|
150
|
-
x: g.value.left + t +
|
|
150
|
+
width: Math.max(d, 0),
|
|
151
|
+
x: g.value.left + t + ve.value,
|
|
151
152
|
y: n
|
|
152
153
|
};
|
|
153
|
-
})),
|
|
154
|
-
const a = o.value.map((l) => `${l.x + l.width},${l.y + (
|
|
155
|
-
return `${o.value[0].x},${o.value[0].y + (
|
|
156
|
-
}),
|
|
154
|
+
})), ke = c(() => {
|
|
155
|
+
const a = o.value.map((l) => `${l.x + l.width},${l.y + (L.value - x.value) / 2}`);
|
|
156
|
+
return `${o.value[0].x},${o.value[0].y + (L.value - x.value) / 2} ${a.toString()} ${o.value.at(-1).x},${o.value.at(-1).y + (L.value - x.value) / 2}`;
|
|
157
|
+
}), Ce = c(() => ({
|
|
157
158
|
x1: o.value[0].cx,
|
|
158
159
|
y1: o.value[0].cy,
|
|
159
160
|
x2: o.value.at(-1).cx,
|
|
160
161
|
y2: o.value.at(-1).cy
|
|
161
|
-
})),
|
|
162
|
-
function
|
|
163
|
-
|
|
162
|
+
})), S = i(!1);
|
|
163
|
+
function we(a) {
|
|
164
|
+
S.value = a, W.value += 1;
|
|
164
165
|
}
|
|
165
|
-
const
|
|
166
|
-
function
|
|
166
|
+
const xe = c(() => `${y.value.length * 150}ms`), D = i(!1);
|
|
167
|
+
function R() {
|
|
167
168
|
D.value = !D.value;
|
|
168
169
|
}
|
|
169
|
-
function
|
|
170
|
-
|
|
170
|
+
function de() {
|
|
171
|
+
F.value.showTable = !F.value.showTable;
|
|
171
172
|
}
|
|
172
|
-
const
|
|
173
|
+
const O = c(() => {
|
|
173
174
|
const a = y.value.map((t) => ({
|
|
174
175
|
name: t.name,
|
|
175
176
|
color: t.color
|
|
176
177
|
})), l = y.value.map((t) => t.value);
|
|
177
178
|
return { head: a, body: l };
|
|
178
|
-
}), I =
|
|
179
|
+
}), I = c(() => {
|
|
179
180
|
const a = [
|
|
180
181
|
e.value.table.columnNames.series,
|
|
181
182
|
e.value.table.columnNames.value,
|
|
182
183
|
e.value.table.columnNames.percentage
|
|
183
|
-
], l =
|
|
184
|
-
const
|
|
184
|
+
], l = O.value.head.map((f, d) => {
|
|
185
|
+
const P = V(
|
|
185
186
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
186
|
-
|
|
187
|
-
|
|
187
|
+
O.value.body[d],
|
|
188
|
+
G({
|
|
188
189
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
189
|
-
v:
|
|
190
|
+
v: O.value.body[d],
|
|
190
191
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
191
192
|
r: e.value.table.td.roundingValue
|
|
192
193
|
}),
|
|
193
|
-
{ datapoint: o.value[
|
|
194
|
-
),
|
|
194
|
+
{ datapoint: o.value[d] }
|
|
195
|
+
), E = V(
|
|
195
196
|
e.value.style.chart.circles.dataLabels.formatter,
|
|
196
|
-
o.value[
|
|
197
|
-
|
|
198
|
-
v: o.value[
|
|
197
|
+
o.value[d].proportion * 100,
|
|
198
|
+
G({
|
|
199
|
+
v: o.value[d].proportion * 100,
|
|
199
200
|
s: "%",
|
|
200
201
|
r: e.value.table.td.roundingPercentage
|
|
201
202
|
}),
|
|
202
|
-
{ datapoint: o.value[
|
|
203
|
+
{ datapoint: o.value[d] }
|
|
203
204
|
);
|
|
204
205
|
return [
|
|
205
206
|
{ color: f.color, name: f.name },
|
|
206
|
-
|
|
207
|
-
|
|
207
|
+
P,
|
|
208
|
+
E
|
|
208
209
|
];
|
|
209
210
|
}), t = {
|
|
210
211
|
th: {
|
|
@@ -230,53 +231,55 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
230
231
|
config: t
|
|
231
232
|
};
|
|
232
233
|
});
|
|
233
|
-
function
|
|
234
|
-
|
|
235
|
-
const a =
|
|
234
|
+
function he() {
|
|
235
|
+
ze(() => {
|
|
236
|
+
const a = O.value.head.map((n, f) => [[
|
|
236
237
|
n.name
|
|
237
|
-
], [
|
|
238
|
-
|
|
238
|
+
], [O.value.body[f]], [o.value[f].proportion * 100]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value], ["%"]]].concat(a), t = Ve(l);
|
|
239
|
+
Ge({ csvContent: t, title: e.value.style.chart.title.text || "vue-ui-funnel" });
|
|
239
240
|
});
|
|
240
241
|
}
|
|
241
|
-
function
|
|
242
|
+
function $e() {
|
|
242
243
|
return y.value;
|
|
243
244
|
}
|
|
244
|
-
return
|
|
245
|
-
getData:
|
|
246
|
-
generatePdf:
|
|
247
|
-
generateCsv:
|
|
248
|
-
generateImage:
|
|
249
|
-
toggleTable:
|
|
250
|
-
toggleAnnotator:
|
|
251
|
-
}), (a, l) => (s(),
|
|
245
|
+
return ye({
|
|
246
|
+
getData: $e,
|
|
247
|
+
generatePdf: ue,
|
|
248
|
+
generateCsv: he,
|
|
249
|
+
generateImage: ie,
|
|
250
|
+
toggleTable: de,
|
|
251
|
+
toggleAnnotator: R
|
|
252
|
+
}), (a, l) => (s(), u("div", {
|
|
252
253
|
ref_key: "funnelChart",
|
|
253
254
|
ref: N,
|
|
254
|
-
class:
|
|
255
|
-
style:
|
|
256
|
-
id: `funnel_${z.value}
|
|
255
|
+
class: T(`vue-ui-funnel ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
256
|
+
style: $(`font-family:${e.value.style.fontFamily};width:100%; ${e.value.responsive ? "height:100%;" : ""} text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
257
|
+
id: `funnel_${z.value}`,
|
|
258
|
+
onMouseenter: l[1] || (l[1] = () => r(se)(!0)),
|
|
259
|
+
onMouseleave: l[2] || (l[2] = () => r(se)(!1))
|
|
257
260
|
}, [
|
|
258
|
-
e.value.userOptions.buttons.annotator ? (s(), A(
|
|
261
|
+
e.value.userOptions.buttons.annotator ? (s(), A(je, {
|
|
259
262
|
key: 0,
|
|
260
263
|
parent: N.value,
|
|
261
264
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
262
265
|
color: e.value.style.chart.color,
|
|
263
266
|
active: D.value,
|
|
264
|
-
onClose:
|
|
265
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) :
|
|
266
|
-
|
|
267
|
+
onClose: R
|
|
268
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : b("", !0),
|
|
269
|
+
pe.value ? (s(), u("div", {
|
|
267
270
|
key: 1,
|
|
268
271
|
ref_key: "noTitle",
|
|
269
272
|
ref: Q,
|
|
270
273
|
class: "vue-data-ui-no-title-space",
|
|
271
274
|
style: "height:36px; width: 100%;background:transparent"
|
|
272
|
-
}, null, 512)) :
|
|
273
|
-
e.value.style.chart.title.text ? (s(),
|
|
275
|
+
}, null, 512)) : b("", !0),
|
|
276
|
+
e.value.style.chart.title.text ? (s(), u("div", {
|
|
274
277
|
key: 2,
|
|
275
278
|
ref_key: "chartTitle",
|
|
276
279
|
ref: ee,
|
|
277
280
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
278
281
|
}, [
|
|
279
|
-
(s(), A(
|
|
282
|
+
(s(), A(Xe, {
|
|
280
283
|
key: `title_${J.value}`,
|
|
281
284
|
config: {
|
|
282
285
|
title: {
|
|
@@ -289,14 +292,14 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
289
292
|
}
|
|
290
293
|
}
|
|
291
294
|
}, null, 8, ["config"]))
|
|
292
|
-
], 512)) :
|
|
293
|
-
e.value.userOptions.show &&
|
|
295
|
+
], 512)) : b("", !0),
|
|
296
|
+
e.value.userOptions.show && _.value && (r(oe) || r(le)) ? (s(), A(Ee, {
|
|
294
297
|
ref: "details",
|
|
295
298
|
key: `user_option_${W.value}`,
|
|
296
299
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
297
300
|
color: e.value.style.chart.color,
|
|
298
|
-
isPrinting:
|
|
299
|
-
isImaging:
|
|
301
|
+
isPrinting: r(ne),
|
|
302
|
+
isImaging: r(re),
|
|
300
303
|
uid: z.value,
|
|
301
304
|
hasTooltip: !1,
|
|
302
305
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -305,19 +308,22 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
305
308
|
hasTable: e.value.userOptions.buttons.table,
|
|
306
309
|
hasLabel: !1,
|
|
307
310
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
308
|
-
isFullscreen:
|
|
311
|
+
isFullscreen: S.value,
|
|
309
312
|
chartElement: N.value,
|
|
310
313
|
position: e.value.userOptions.position,
|
|
311
314
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
312
315
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
313
316
|
isAnnotation: D.value,
|
|
314
|
-
onToggleAnnotator:
|
|
315
|
-
onToggleFullscreen:
|
|
316
|
-
onGeneratePdf:
|
|
317
|
-
onGenerateImage:
|
|
318
|
-
onToggleTable:
|
|
319
|
-
onGenerateCsv:
|
|
320
|
-
|
|
317
|
+
onToggleAnnotator: R,
|
|
318
|
+
onToggleFullscreen: we,
|
|
319
|
+
onGeneratePdf: r(ue),
|
|
320
|
+
onGenerateImage: r(ie),
|
|
321
|
+
onToggleTable: de,
|
|
322
|
+
onGenerateCsv: he,
|
|
323
|
+
style: $({
|
|
324
|
+
visibility: r(oe) ? r(le) ? "visible" : "hidden" : "visible"
|
|
325
|
+
})
|
|
326
|
+
}, Ae({ _: 2 }, [
|
|
321
327
|
a.$slots.optionPdf ? {
|
|
322
328
|
name: "optionPdf",
|
|
323
329
|
fn: p(() => [
|
|
@@ -360,13 +366,13 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
360
366
|
]),
|
|
361
367
|
key: "5"
|
|
362
368
|
} : void 0
|
|
363
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) :
|
|
364
|
-
|
|
369
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : b("", !0),
|
|
370
|
+
_.value ? (s(), u("svg", {
|
|
365
371
|
key: 4,
|
|
366
|
-
xmlns:
|
|
367
|
-
class:
|
|
372
|
+
xmlns: r(Me),
|
|
373
|
+
class: T({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
|
|
368
374
|
viewBox: `0 0 ${h.value.width <= 0 ? 10 : h.value.width} ${h.value.height <= 0 ? 10 : h.value.height}`,
|
|
369
|
-
style:
|
|
375
|
+
style: $(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
370
376
|
}, [
|
|
371
377
|
C("defs", null, [
|
|
372
378
|
C("linearGradient", {
|
|
@@ -380,18 +386,18 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
380
386
|
offset: "0%",
|
|
381
387
|
"stop-color": e.value.style.chart.backgroundColor,
|
|
382
388
|
"stop-opacity": 0
|
|
383
|
-
}, null, 8,
|
|
389
|
+
}, null, 8, at),
|
|
384
390
|
C("stop", {
|
|
385
391
|
offset: "20%",
|
|
386
392
|
"stop-color": e.value.style.chart.area.color
|
|
387
|
-
}, null, 8,
|
|
393
|
+
}, null, 8, lt),
|
|
388
394
|
C("stop", {
|
|
389
395
|
offset: "100%",
|
|
390
396
|
"stop-color": e.value.style.chart.area.color
|
|
391
|
-
}, null, 8,
|
|
392
|
-
], 8,
|
|
397
|
+
}, null, 8, st)
|
|
398
|
+
], 8, tt)
|
|
393
399
|
]),
|
|
394
|
-
e.value.style.chart.circleLinks.show ? (s(),
|
|
400
|
+
e.value.style.chart.circleLinks.show ? (s(), u("line", H({ key: 0 }, Ce.value, {
|
|
395
401
|
stroke: e.value.style.chart.circleLinks.color,
|
|
396
402
|
"stroke-width": 12 * e.value.style.chart.circleLinks.widthRatio,
|
|
397
403
|
"stroke-linecap": "round",
|
|
@@ -402,52 +408,52 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
402
408
|
strokeDasharray: e.value.useCssAnimation ? g.value.height : 0,
|
|
403
409
|
strokeDashoffset: e.value.useCssAnimation ? g.value.height : 0
|
|
404
410
|
}
|
|
405
|
-
}), null, 16,
|
|
406
|
-
(s(!0),
|
|
411
|
+
}), null, 16, ot)) : b("", !0),
|
|
412
|
+
(s(!0), u(M, null, B(o.value, ({ cx: t, cy: n, r: f, fill: d }, P) => (s(), u("circle", H({ cx: t, cy: n, r: f, fill: d }, {
|
|
407
413
|
stroke: e.value.style.chart.circles.stroke,
|
|
408
414
|
"stroke-width": e.value.style.chart.circles.strokeWidth,
|
|
409
415
|
class: {
|
|
410
416
|
animated: e.value.useCssAnimation && !w.value
|
|
411
417
|
},
|
|
412
418
|
style: {
|
|
413
|
-
animationDelay: `${150 *
|
|
419
|
+
animationDelay: `${150 * P}ms`
|
|
414
420
|
}
|
|
415
|
-
}), null, 16,
|
|
416
|
-
(s(!0),
|
|
421
|
+
}), null, 16, nt))), 256)),
|
|
422
|
+
(s(!0), u(M, null, B(o.value, (t, n) => (s(), u("text", {
|
|
417
423
|
x: t.cx,
|
|
418
|
-
y: t.cy +
|
|
424
|
+
y: t.cy + v.value.circles / 3 + e.value.style.chart.circles.dataLabels.offsetY,
|
|
419
425
|
"text-anchor": "middle",
|
|
420
|
-
"font-size":
|
|
421
|
-
fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ?
|
|
426
|
+
"font-size": v.value.circles,
|
|
427
|
+
fill: e.value.style.chart.circles.dataLabels.adaptColorToBackground ? r(Be)(t.color) : e.value.style.chart.circles.dataLabels.color,
|
|
422
428
|
"font-weight": e.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
|
|
423
|
-
class:
|
|
429
|
+
class: T({
|
|
424
430
|
animated: e.value.useCssAnimation && !w.value
|
|
425
431
|
}),
|
|
426
|
-
style:
|
|
432
|
+
style: $({
|
|
427
433
|
animationDelay: `${150 * n}ms`
|
|
428
434
|
})
|
|
429
|
-
},
|
|
435
|
+
}, U(r(V)(
|
|
430
436
|
e.value.style.chart.circles.dataLabels.formatter,
|
|
431
437
|
t.proportion * 100,
|
|
432
|
-
|
|
438
|
+
r(G)({
|
|
433
439
|
v: t.proportion * 100,
|
|
434
440
|
s: "%",
|
|
435
441
|
r: e.value.style.chart.circles.dataLabels.rounding
|
|
436
442
|
}),
|
|
437
443
|
{ datapoint: t }
|
|
438
|
-
)), 15,
|
|
439
|
-
e.value.style.chart.area.show ? (s(),
|
|
444
|
+
)), 15, rt))), 256)),
|
|
445
|
+
e.value.style.chart.area.show ? (s(), u("polygon", {
|
|
440
446
|
key: 1,
|
|
441
|
-
points:
|
|
447
|
+
points: ke.value,
|
|
442
448
|
fill: `url(#funnel_area_${z.value})`,
|
|
443
|
-
class:
|
|
449
|
+
class: T({
|
|
444
450
|
animated: e.value.useCssAnimation && !w.value
|
|
445
451
|
}),
|
|
446
|
-
style:
|
|
452
|
+
style: $({
|
|
447
453
|
transition: e.value.useCssAnimation ? `all ${150 * y.value.length}ms ease-in` : "none"
|
|
448
454
|
})
|
|
449
|
-
}, null, 14,
|
|
450
|
-
(s(!0),
|
|
455
|
+
}, null, 14, ut)) : b("", !0),
|
|
456
|
+
(s(!0), u(M, null, B(o.value, ({ x: t, y: n, height: f, width: d, fill: P }, E) => (s(), u("rect", H({ x: t, y: n, height: f, width: d, fill: P }, {
|
|
451
457
|
stroke: e.value.style.chart.bars.stroke,
|
|
452
458
|
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
453
459
|
rx: e.value.style.chart.bars.borderRadius,
|
|
@@ -455,55 +461,55 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
455
461
|
animated: e.value.useCssAnimation && !w.value
|
|
456
462
|
},
|
|
457
463
|
style: {
|
|
458
|
-
animationDelay: `${150 *
|
|
464
|
+
animationDelay: `${150 * E}ms`
|
|
459
465
|
}
|
|
460
|
-
}), null, 16,
|
|
461
|
-
(s(!0),
|
|
466
|
+
}), null, 16, it))), 256)),
|
|
467
|
+
(s(!0), u(M, null, B(o.value, (t, n) => (s(), u("g", null, [
|
|
462
468
|
C("text", {
|
|
463
469
|
x: t.x + t.width + e.value.style.chart.bars.dataLabels.name.offsetX + 12,
|
|
464
|
-
y: t.cy -
|
|
470
|
+
y: t.cy - v.value.names / 2 + e.value.style.chart.bars.dataLabels.name.offsetY,
|
|
465
471
|
"text-anchor": "start",
|
|
466
|
-
"font-size":
|
|
472
|
+
"font-size": v.value.names,
|
|
467
473
|
fill: e.value.style.chart.bars.dataLabels.name.color,
|
|
468
474
|
"font-weight": e.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
|
|
469
|
-
class:
|
|
475
|
+
class: T({
|
|
470
476
|
animated: e.value.useCssAnimation && !w.value
|
|
471
477
|
}),
|
|
472
|
-
style:
|
|
478
|
+
style: $({
|
|
473
479
|
animationDelay: `${150 * n}ms`
|
|
474
480
|
})
|
|
475
|
-
},
|
|
481
|
+
}, U(t.name), 15, ct),
|
|
476
482
|
C("text", {
|
|
477
483
|
x: t.x + t.width + e.value.style.chart.bars.dataLabels.value.offsetX + 12,
|
|
478
|
-
y: t.cy +
|
|
484
|
+
y: t.cy + v.value.values + e.value.style.chart.bars.dataLabels.value.offsetY,
|
|
479
485
|
"text-anchor": "start",
|
|
480
|
-
"font-size":
|
|
486
|
+
"font-size": v.value.values,
|
|
481
487
|
fill: e.value.style.chart.bars.dataLabels.value.color,
|
|
482
488
|
"font-weight": e.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
|
|
483
|
-
class:
|
|
489
|
+
class: T({
|
|
484
490
|
animated: e.value.useCssAnimation && !w.value
|
|
485
491
|
}),
|
|
486
|
-
style:
|
|
492
|
+
style: $({
|
|
487
493
|
animationDelay: `${150 * n}ms`
|
|
488
494
|
})
|
|
489
|
-
},
|
|
495
|
+
}, U(r(V)(
|
|
490
496
|
e.value.style.chart.bars.dataLabels.value.formatter,
|
|
491
497
|
t.value,
|
|
492
|
-
|
|
498
|
+
r(G)({
|
|
493
499
|
p: e.value.style.chart.bars.dataLabels.value.prefix,
|
|
494
500
|
v: t.value,
|
|
495
501
|
s: e.value.style.chart.bars.dataLabels.value.suffix,
|
|
496
502
|
r: e.value.style.chart.bars.dataLabels.value.rounding
|
|
497
503
|
}),
|
|
498
504
|
{ datapoint: t }
|
|
499
|
-
)), 15,
|
|
505
|
+
)), 15, vt)
|
|
500
506
|
]))), 256)),
|
|
501
507
|
k(a.$slots, "svg", { svg: h.value }, void 0, !0)
|
|
502
|
-
], 14,
|
|
503
|
-
a.$slots.watermark ? (s(),
|
|
504
|
-
k(a.$slots, "watermark", X(j({ isPrinting:
|
|
505
|
-
])) :
|
|
506
|
-
|
|
508
|
+
], 14, et)) : b("", !0),
|
|
509
|
+
a.$slots.watermark ? (s(), u("div", dt, [
|
|
510
|
+
k(a.$slots, "watermark", X(j({ isPrinting: r(ne) || r(re) })), void 0, !0)
|
|
511
|
+
])) : b("", !0),
|
|
512
|
+
_.value ? b("", !0) : (s(), A(Je, {
|
|
507
513
|
key: 6,
|
|
508
514
|
config: {
|
|
509
515
|
type: "verticalBar",
|
|
@@ -518,19 +524,19 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
518
524
|
}
|
|
519
525
|
}
|
|
520
526
|
}, null, 8, ["config"])),
|
|
521
|
-
a.$slots.source ? (s(),
|
|
527
|
+
a.$slots.source ? (s(), u("div", {
|
|
522
528
|
key: 7,
|
|
523
529
|
ref_key: "source",
|
|
524
530
|
ref: Z,
|
|
525
531
|
dir: "auto"
|
|
526
532
|
}, [
|
|
527
533
|
k(a.$slots, "source", {}, void 0, !0)
|
|
528
|
-
], 512)) :
|
|
529
|
-
|
|
534
|
+
], 512)) : b("", !0),
|
|
535
|
+
_.value ? (s(), A(Ye, {
|
|
530
536
|
key: 8,
|
|
531
537
|
hideDetails: "",
|
|
532
538
|
config: {
|
|
533
|
-
open:
|
|
539
|
+
open: F.value.showTable,
|
|
534
540
|
maxHeight: 1e4,
|
|
535
541
|
body: {
|
|
536
542
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -543,32 +549,32 @@ const We = ["id"], Je = ["xmlns", "viewBox"], Ke = ["id"], Qe = ["stop-color"],
|
|
|
543
549
|
}
|
|
544
550
|
}, {
|
|
545
551
|
content: p(() => [
|
|
546
|
-
(s(), A(
|
|
552
|
+
(s(), A(He, {
|
|
547
553
|
key: `table_${K.value}`,
|
|
548
554
|
colNames: I.value.colNames,
|
|
549
555
|
head: I.value.head,
|
|
550
556
|
body: I.value.body,
|
|
551
557
|
config: I.value.config,
|
|
552
558
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
553
|
-
onClose: l[0] || (l[0] = (t) =>
|
|
559
|
+
onClose: l[0] || (l[0] = (t) => F.value.showTable = !1)
|
|
554
560
|
}, {
|
|
555
561
|
th: p(({ th: t }) => [
|
|
556
562
|
C("div", {
|
|
557
563
|
innerHTML: t,
|
|
558
564
|
style: { display: "flex", "align-items": "center" }
|
|
559
|
-
}, null, 8,
|
|
565
|
+
}, null, 8, ht)
|
|
560
566
|
]),
|
|
561
567
|
td: p(({ td: t }) => [
|
|
562
|
-
|
|
568
|
+
Ne(U(t.name ? t.name : t), 1)
|
|
563
569
|
]),
|
|
564
570
|
_: 1
|
|
565
571
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
566
572
|
]),
|
|
567
573
|
_: 1
|
|
568
|
-
}, 8, ["config"])) :
|
|
569
|
-
],
|
|
574
|
+
}, 8, ["config"])) : b("", !0)
|
|
575
|
+
], 46, Ze));
|
|
570
576
|
}
|
|
571
|
-
},
|
|
577
|
+
}, Tt = /* @__PURE__ */ Qe(ft, [["__scopeId", "data-v-d6b244bd"]]);
|
|
572
578
|
export {
|
|
573
|
-
|
|
579
|
+
Tt as default
|
|
574
580
|
};
|