vue-data-ui 2.7.2 → 2.7.4
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-Cuf9zUpa.cjs → Arrow-Bslu6In_.cjs} +1 -1
- package/dist/{Arrow-SOQeOwmT.js → Arrow-Kbu7LT-f.js} +1 -1
- package/dist/{BaseIcon-DqYzMisq.js → BaseIcon-BLhJaEYy.js} +4 -3
- package/dist/{BaseIcon-C0unoacb.cjs → BaseIcon-WIhlX3LN.cjs} +1 -1
- package/dist/{ColorPicker-DyOTLjAA.js → ColorPicker-Dlg-p-yo.js} +3 -3
- package/dist/{ColorPicker-DLNc3kpl.cjs → ColorPicker-mXlj2N11.cjs} +1 -1
- package/dist/{DataTable-C_28ZqiP.js → DataTable-DOKlm7k4.js} +2 -2
- package/dist/{DataTable-ByOfBGEi.cjs → DataTable-c3nDhwbO.cjs} +1 -1
- package/dist/{Legend-mrAy7yUC.cjs → Legend-Bhl2d6oj.cjs} +1 -1
- package/dist/{Legend-CmKaL7xe.js → Legend-CIjMjfNk.js} +2 -2
- package/dist/{PackageVersion-39l3KkzC.js → PackageVersion-BCLALL_i.js} +1 -1
- package/dist/{PackageVersion-By81XV8X.cjs → PackageVersion-DFYAej2o.cjs} +1 -1
- package/dist/PenAndPaper-CAqWCUZx.cjs +1 -0
- package/dist/PenAndPaper-CZs431Nx.js +374 -0
- package/dist/{Shape-iIO-95sh.js → Shape-D9MuIPm8.js} +1 -1
- package/dist/{Shape-x7U3IhoM.cjs → Shape-wMij_bxG.cjs} +1 -1
- package/dist/{Slicer-C49MotZz.js → Slicer-CqYLlNlU.js} +2 -2
- package/dist/{Slicer-Ct66sqV1.cjs → Slicer-Duh-nBCD.cjs} +1 -1
- package/dist/{Title-BgVFZwZZ.cjs → Title-C5w8bVlo.cjs} +1 -1
- package/dist/{Title-Co3F59jq.js → Title-UjBqdYyD.js} +1 -1
- package/dist/{Tooltip-Cr89wMKa.js → Tooltip-3NNIdJ6N.js} +1 -1
- package/dist/{Tooltip-B8E9uCVm.cjs → Tooltip-Dbe23pmt.cjs} +1 -1
- package/dist/{dom-to-png-DtBlqZMR.js → dom-to-png-6NoDv4_U.js} +1 -1
- package/dist/{dom-to-png-D9eujpXB.cjs → dom-to-png-C-_IolaZ.cjs} +1 -1
- package/dist/{img-DQDP5JIH.js → img-BxGd_UqS.js} +1 -1
- package/dist/{img-DgRUFehB.cjs → img-DCkGlbCr.cjs} +1 -1
- package/dist/{index-gC66Se26.js → index-D3VntmA9.js} +1 -1
- package/dist/{index-BeJeDy5m.cjs → index-MIJJ8liG.cjs} +1 -1
- package/dist/{pdf-Bu1ahAX2.cjs → pdf-BGp1xMhT.cjs} +1 -1
- package/dist/{pdf-lJiGVhtL.js → pdf-BpVckOt1.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -1
- package/dist/types/vue-data-ui.d.ts +2 -1
- package/dist/{useNestedProp-BusTOV-6.js → useNestedProp-DTlOqz2P.js} +1 -1
- package/dist/{useNestedProp-CF-iHhIC.cjs → useNestedProp-DwR4JSzw.cjs} +1 -1
- package/dist/{usePrinter-KMFl0n0s.js → usePrinter-H3tAjGXs.js} +3 -3
- package/dist/{usePrinter-Bz_kd3vb.cjs → usePrinter-U1x-RAEA.cjs} +1 -1
- package/dist/{vue-data-ui-Bak-lr4I.cjs → vue-data-ui-BuY9ggUz.cjs} +1 -1
- package/dist/{vue-data-ui-BApY_erH.js → vue-data-ui-DFwVHeO8.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-DeTBYGV_.cjs +19 -0
- package/dist/{vue-ui-3d-bar-BWjU0K3_.js → vue-ui-3d-bar-NNib9NTc.js} +30 -30
- package/dist/{vue-ui-accordion-j2beIma_.js → vue-ui-accordion-DGJQIcdB.js} +3 -3
- package/dist/{vue-ui-accordion-CZBJSHT_.cjs → vue-ui-accordion-cBSqrYy3.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Cmw4WVB4.js → vue-ui-age-pyramid-DWG7C-nA.js} +22 -22
- package/dist/vue-ui-age-pyramid-DfGSS3SE.cjs +1 -0
- package/dist/{vue-ui-annotator-BVv5XkoE.cjs → vue-ui-annotator-Bpy0V7AA.cjs} +1 -1
- package/dist/{vue-ui-annotator-CKmqZjUD.js → vue-ui-annotator-D21j4NL0.js} +2 -2
- package/dist/vue-ui-bullet-CrgeKJBE.cjs +34 -0
- package/dist/{vue-ui-bullet-U_yJjO0m.js → vue-ui-bullet-MrNlqcTX.js} +36 -36
- package/dist/vue-ui-candlestick-DfEQ057F.cjs +2 -0
- package/dist/{vue-ui-candlestick-DhdlFIQE.js → vue-ui-candlestick-Dgwjzuq0.js} +11 -11
- package/dist/{vue-ui-carousel-table-BhC5cEe3.cjs → vue-ui-carousel-table-B9AHiJLA.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Ej7qzKkp.js → vue-ui-carousel-table-TOSDOJ0J.js} +4 -4
- package/dist/{vue-ui-chestnut-BzNHXzDj.cjs → vue-ui-chestnut-BQwGKI2l.cjs} +1 -1
- package/dist/{vue-ui-chestnut-L0bS5jtX.js → vue-ui-chestnut-DAlxKIqD.js} +32 -32
- package/dist/vue-ui-circle-pack-B9HW-E4V.cjs +1 -0
- package/dist/{vue-ui-circle-pack-DwCzeO3L.js → vue-ui-circle-pack-BjD7UG4l.js} +44 -44
- package/dist/{vue-ui-cursor-0mZP5nBc.cjs → vue-ui-cursor-Bv_hn_5f.cjs} +1 -1
- package/dist/{vue-ui-cursor-DwHdXwLS.js → vue-ui-cursor-CS0L4MjH.js} +2 -2
- package/dist/{vue-ui-dashboard-DILmOchy.js → vue-ui-dashboard-Cu4QabFb.js} +3 -3
- package/dist/{vue-ui-dashboard-CegApY8_.cjs → vue-ui-dashboard-DGJjS8TM.cjs} +1 -1
- package/dist/{vue-ui-digits-me8Nky0A.cjs → vue-ui-digits-BusMzORo.cjs} +1 -1
- package/dist/{vue-ui-digits-Dbwzk-sl.js → vue-ui-digits-CrqD5QXP.js} +2 -2
- package/dist/{vue-ui-donut-DwE-iZSV.js → vue-ui-donut-CbDkvk9s.js} +12 -12
- package/dist/{vue-ui-donut-evolution-DhFABvEv.js → vue-ui-donut-evolution-DKD_efmP.js} +69 -69
- package/dist/vue-ui-donut-evolution-Dul--Pi_.cjs +1 -0
- package/dist/vue-ui-donut-vqs5auMD.cjs +1 -0
- package/dist/{vue-ui-dumbbell-Cqq4iV6-.js → vue-ui-dumbbell-BGN-Rshy.js} +52 -52
- package/dist/{vue-ui-dumbbell-CL15d-aQ.cjs → vue-ui-dumbbell-CB6lYwMc.cjs} +1 -1
- package/dist/vue-ui-flow-CDPkL02l.cjs +1 -0
- package/dist/{vue-ui-flow-CU-orj9I.js → vue-ui-flow-g93Xo1mO.js} +75 -75
- package/dist/vue-ui-funnel-D1PhFKgP.cjs +1 -0
- package/dist/{vue-ui-funnel-DQmQmdNV.js → vue-ui-funnel-r_WI2IRS.js} +28 -28
- package/dist/{vue-ui-galaxy-nqyCbQ9j.js → vue-ui-galaxy-B4JnwjLW.js} +39 -39
- package/dist/vue-ui-galaxy-DSXcoM3k.cjs +1 -0
- package/dist/{vue-ui-gauge-BV3CJfqe.js → vue-ui-gauge-BPz7mbOb.js} +26 -26
- package/dist/vue-ui-gauge-Ct1Knstr.cjs +1 -0
- package/dist/{vue-ui-gizmo-CJwSAsxs.js → vue-ui-gizmo-BbUqDkQz.js} +3 -3
- package/dist/{vue-ui-gizmo-CNRAH2zT.cjs → vue-ui-gizmo-tet3qRDX.cjs} +1 -1
- package/dist/{vue-ui-heatmap-B1s7KejC.js → vue-ui-heatmap-BbmFxESu.js} +10 -10
- package/dist/vue-ui-heatmap-RHN_eSK2.cjs +1 -0
- package/dist/vue-ui-history-plot-B8_Kig_-.cjs +1 -0
- package/dist/{vue-ui-history-plot-z_KFt5z_.js → vue-ui-history-plot-CJFtY1Rm.js} +35 -35
- package/dist/{vue-ui-kpi-FaGp6_XP.cjs → vue-ui-kpi-C0IWPkaZ.cjs} +1 -1
- package/dist/{vue-ui-kpi-DabR5K70.js → vue-ui-kpi-CQo8VsEv.js} +3 -3
- package/dist/{vue-ui-mini-loader-w-BmywLJ.js → vue-ui-mini-loader-8wZYNxLC.js} +2 -2
- package/dist/{vue-ui-mini-loader-_plxZxma.cjs → vue-ui-mini-loader-DoOFKxep.cjs} +1 -1
- package/dist/{vue-ui-molecule-aiWG--to.js → vue-ui-molecule-DHb8Roml.js} +45 -45
- package/dist/{vue-ui-molecule-3ClCLk7L.cjs → vue-ui-molecule-HnReqNMq.cjs} +1 -1
- package/dist/vue-ui-mood-radar-BjmCUY0q.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DwxCn06q.js → vue-ui-mood-radar-CdBmESCg.js} +40 -40
- package/dist/{vue-ui-nested-donuts-ONgAaLY-.js → vue-ui-nested-donuts-CO7sSeR-.js} +65 -65
- package/dist/vue-ui-nested-donuts-SBaCzHQP.cjs +17 -0
- package/dist/vue-ui-onion-BehdICTa.cjs +5 -0
- package/dist/{vue-ui-onion-DjoQuBo8.js → vue-ui-onion-Ci15BQ0y.js} +75 -75
- package/dist/{vue-ui-parallel-coordinate-plot-DWGVzaHE.js → vue-ui-parallel-coordinate-plot-BJbrb-Mp.js} +38 -38
- package/dist/vue-ui-parallel-coordinate-plot-BLLONfts.cjs +8 -0
- package/dist/{vue-ui-quadrant-CgiD9c7i.js → vue-ui-quadrant-BZTZY3LG.js} +54 -54
- package/dist/vue-ui-quadrant-ntmlYIVx.cjs +1 -0
- package/dist/{vue-ui-quick-chart-5NiRxtpD.js → vue-ui-quick-chart-B2OUF1Pk.js} +9 -9
- package/dist/vue-ui-quick-chart-BCdm0tx2.cjs +15 -0
- package/dist/vue-ui-radar-CUoLdojY.cjs +1 -0
- package/dist/{vue-ui-radar-CfKAy0nI.js → vue-ui-radar-D8DHrSPP.js} +55 -55
- package/dist/{vue-ui-rating-yiM_5H0W.cjs → vue-ui-rating-BWlmz08s.cjs} +1 -1
- package/dist/{vue-ui-rating-CbZvsZNv.js → vue-ui-rating-D4H6cT0d.js} +2 -2
- package/dist/{vue-ui-relation-circle-RRK2jhHr.js → vue-ui-relation-circle-CWvX8cvJ.js} +7 -7
- package/dist/vue-ui-relation-circle-DighSxmd.cjs +1 -0
- package/dist/vue-ui-rings-CPIzjzdm.cjs +2 -0
- package/dist/{vue-ui-rings-CiMKMEpp.js → vue-ui-rings-Dq5YT7h-.js} +62 -62
- package/dist/{vue-ui-scatter-9PFXuvoo.js → vue-ui-scatter-BMuJyp6q.js} +44 -44
- package/dist/vue-ui-scatter-BSgMQLjw.cjs +1 -0
- package/dist/{vue-ui-skeleton-KW-jcPRN.cjs → vue-ui-skeleton-DOE444ST.cjs} +1 -1
- package/dist/{vue-ui-skeleton-7Zfds6H1.js → vue-ui-skeleton-pHcbvN3-.js} +3 -3
- package/dist/{vue-ui-smiley-D0jhMBUh.js → vue-ui-smiley-BsPExuQ7.js} +2 -2
- package/dist/{vue-ui-smiley-BNQlshyY.cjs → vue-ui-smiley-bHv8hVve.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CLm12POW.cjs → vue-ui-spark-trend-S0FbKqDW.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D8nDY0fS.js → vue-ui-spark-trend-eJ5IZSRQ.js} +5 -5
- package/dist/{vue-ui-sparkbar-ChEbpWYC.cjs → vue-ui-sparkbar-B1pwFeeg.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-wKlwMCph.js → vue-ui-sparkbar-B9E03kBf.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DG824sGI.cjs → vue-ui-sparkgauge-BpAFpJN9.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CvhIe_mP.js → vue-ui-sparkgauge-CbtRwF8H.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B8k8a538.cjs → vue-ui-sparkhistogram-4gAnz36n.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CVmbTFTc.js → vue-ui-sparkhistogram-BJfFPQ-X.js} +5 -5
- package/dist/{vue-ui-sparkline-7wnWuXDQ.cjs → vue-ui-sparkline-CJ8rlJiI.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CtqAbSzZ.js → vue-ui-sparkline-CLz-PMi0.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DfwEeUC5.js → vue-ui-sparkstackbar-C5ZzOhRM.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-57SONMGP.cjs → vue-ui-sparkstackbar-ja3t34Mt.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CGSVPiPx.js → vue-ui-stackbar-BnuJOk6L.js} +86 -86
- package/dist/vue-ui-stackbar-DSWEq3Pa.cjs +6 -0
- package/dist/{vue-ui-strip-plot-fJFkn8_0.js → vue-ui-strip-plot-Cbr3Dkmd.js} +36 -36
- package/dist/vue-ui-strip-plot-CyiaXAxw.cjs +1 -0
- package/dist/{vue-ui-table-Das3959J.cjs → vue-ui-table-CPJeRMDV.cjs} +1 -1
- package/dist/{vue-ui-table-CliL2Wsp.js → vue-ui-table-Cr6jEi4z.js} +1 -1
- package/dist/{vue-ui-table-heatmap-C28ozf2S.cjs → vue-ui-table-heatmap-BfKruH6W.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-ZsJMMGpG.js → vue-ui-table-heatmap-C0J52xWN.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CrQNShdH.js → vue-ui-table-sparkline-C9PHXjbW.js} +5 -5
- package/dist/{vue-ui-table-sparkline-0i9FAXug.cjs → vue-ui-table-sparkline-CGUs_6Ij.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BaGL6WSb.js → vue-ui-thermometer-Cs8Xt7tQ.js} +50 -50
- package/dist/vue-ui-thermometer-DWC--OtD.cjs +1 -0
- package/dist/{vue-ui-timer-CFtgJ_Vi.cjs → vue-ui-timer-DD0VvMEs.cjs} +1 -1
- package/dist/{vue-ui-timer-Nk94fV-n.js → vue-ui-timer-DDZHmPLV.js} +5 -5
- package/dist/vue-ui-tiremarks-B_koqVkj.cjs +1 -0
- package/dist/{vue-ui-tiremarks-zYgdq_99.js → vue-ui-tiremarks-DHAdNbAA.js} +25 -25
- package/dist/vue-ui-treemap-C_yhbpyF.cjs +1 -0
- package/dist/{vue-ui-treemap-CAxPcxn-.js → vue-ui-treemap-CfH-P5Oh.js} +12 -12
- package/dist/vue-ui-vertical-bar-BRplGFjj.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-Di3FBkwJ.js → vue-ui-vertical-bar-oBdc4YQS.js} +80 -80
- package/dist/vue-ui-waffle-Bg5T7RVn.cjs +1 -0
- package/dist/{vue-ui-waffle-DBJAQsEf.js → vue-ui-waffle-DZ2zIujl.js} +45 -45
- package/dist/{vue-ui-wheel-BTZEr2Vs.js → vue-ui-wheel-BerXCO4A.js} +27 -27
- package/dist/vue-ui-wheel-Bj3Z92nh.cjs +1 -0
- package/dist/{vue-ui-word-cloud-BEaRWIu-.cjs → vue-ui-word-cloud-BWQ1ogz9.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-DBCVUkLM.js → vue-ui-word-cloud-U5KISxTe.js} +72 -72
- package/dist/{vue-ui-xy-DbN93Pcf.cjs → vue-ui-xy-C078AHoi.cjs} +2 -2
- package/dist/vue-ui-xy-canvas-BpblELcE.js +1672 -0
- package/dist/vue-ui-xy-canvas-C76OoGNJ.cjs +9 -0
- package/dist/{vue-ui-xy-aKaGgYGL.js → vue-ui-xy-y9zEQYMK.js} +16 -16
- package/package.json +1 -1
- package/dist/PenAndPaper-CmcfpltX.js +0 -243
- package/dist/PenAndPaper-DNbX5hR8.cjs +0 -1
- package/dist/vue-ui-3d-bar-CmbTiJVx.cjs +0 -19
- package/dist/vue-ui-age-pyramid-Sv-HbbDJ.cjs +0 -1
- package/dist/vue-ui-bullet-vcmTY4AX.cjs +0 -34
- package/dist/vue-ui-candlestick-DQT-8PRz.cjs +0 -2
- package/dist/vue-ui-circle-pack-CVLJs0XP.cjs +0 -1
- package/dist/vue-ui-donut-FoRYusUX.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BIK2yfIJ.cjs +0 -1
- package/dist/vue-ui-flow-N825fjRf.cjs +0 -1
- package/dist/vue-ui-funnel-B6XMYl89.cjs +0 -1
- package/dist/vue-ui-galaxy-p-sbDnSY.cjs +0 -1
- package/dist/vue-ui-gauge-DsZFk8T_.cjs +0 -1
- package/dist/vue-ui-heatmap-VXgeMOwT.cjs +0 -1
- package/dist/vue-ui-history-plot-JmeGiR--.cjs +0 -1
- package/dist/vue-ui-mood-radar-CO5sPVVG.cjs +0 -1
- package/dist/vue-ui-nested-donuts-D0nALasd.cjs +0 -17
- package/dist/vue-ui-onion-CBqx4q4k.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-uNCmnSvz.cjs +0 -8
- package/dist/vue-ui-quadrant-BOkyMgCm.cjs +0 -1
- package/dist/vue-ui-quick-chart-BRp_bNso.cjs +0 -15
- package/dist/vue-ui-radar-BpicgiWF.cjs +0 -1
- package/dist/vue-ui-relation-circle-Dg6rdyGP.cjs +0 -1
- package/dist/vue-ui-rings-A49lyv-J.cjs +0 -2
- package/dist/vue-ui-scatter-C_jHsy8M.cjs +0 -1
- package/dist/vue-ui-stackbar--0FZ_eBi.cjs +0 -6
- package/dist/vue-ui-strip-plot-C_ggDAQ-.cjs +0 -1
- package/dist/vue-ui-thermometer-h0rymM2v.cjs +0 -1
- package/dist/vue-ui-tiremarks-Cj8-XGcp.cjs +0 -1
- package/dist/vue-ui-treemap-CybL6mVf.cjs +0 -1
- package/dist/vue-ui-vertical-bar-D4IkwvAB.cjs +0 -4
- package/dist/vue-ui-waffle-7otLUrER.cjs +0 -1
- package/dist/vue-ui-wheel-BUJXtmeP.cjs +0 -1
- package/dist/vue-ui-xy-canvas-CF_lqLg-.cjs +0 -9
- package/dist/vue-ui-xy-canvas-CVQ__d4u.js +0 -1500
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as c, onMounted as we, ref as y, watch as
|
|
2
|
-
import { u as Me, o as
|
|
3
|
-
import { _ as Ve } from "./Title-
|
|
4
|
-
import { u as je, U as Re } from "./usePrinter-
|
|
5
|
-
import { L as Ue } from "./Legend-
|
|
6
|
-
import A from "./BaseIcon-
|
|
7
|
-
import { D as Be } from "./DataTable-
|
|
8
|
-
import De from "./vue-ui-skeleton-
|
|
9
|
-
import We from "./vue-ui-accordion-
|
|
10
|
-
import { u as re } from "./useNestedProp-
|
|
11
|
-
import { _ as ze } from "./PackageVersion-
|
|
12
|
-
import {
|
|
1
|
+
import { computed as c, onMounted as we, ref as y, watch as _e, createElementBlock as h, openBlock as r, unref as a, normalizeStyle as L, normalizeClass as ee, createBlock as p, createCommentVNode as u, renderSlot as v, createVNode as U, createSlots as xe, withCtx as f, normalizeProps as I, guardReactiveProps as F, createElementVNode as s, Fragment as te, renderList as oe, toDisplayString as P, createTextVNode as le, nextTick as $e } from "vue";
|
|
2
|
+
import { u as Me, o as Ne, e as ae, c as Pe, a as Ae, Q as Oe, X as Te, s as C, w as Le, R as Ie, i as se, f as S, q as Fe, r as Se } from "./index-D3VntmA9.js";
|
|
3
|
+
import { _ as Ve } from "./Title-UjBqdYyD.js";
|
|
4
|
+
import { u as je, U as Re } from "./usePrinter-H3tAjGXs.js";
|
|
5
|
+
import { L as Ue } from "./Legend-CIjMjfNk.js";
|
|
6
|
+
import A from "./BaseIcon-BLhJaEYy.js";
|
|
7
|
+
import { D as Be } from "./DataTable-DOKlm7k4.js";
|
|
8
|
+
import De from "./vue-ui-skeleton-pHcbvN3-.js";
|
|
9
|
+
import We from "./vue-ui-accordion-DGJQIcdB.js";
|
|
10
|
+
import { u as re } from "./useNestedProp-DTlOqz2P.js";
|
|
11
|
+
import { _ as ze } from "./PackageVersion-BCLALL_i.js";
|
|
12
|
+
import { _ as Ee } from "./PenAndPaper-CZs431Nx.js";
|
|
13
13
|
import { u as Ge } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as He } from "./useChartAccessibility-BWojgys7.js";
|
|
15
15
|
import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -23,7 +23,7 @@ const Ke = ["id"], qe = {
|
|
|
23
23
|
key: 8,
|
|
24
24
|
ref: "source",
|
|
25
25
|
dir: "auto"
|
|
26
|
-
},
|
|
26
|
+
}, _t = ["innerHTML"], xt = {
|
|
27
27
|
__name: "vue-ui-mood-radar",
|
|
28
28
|
props: {
|
|
29
29
|
config: {
|
|
@@ -40,17 +40,17 @@ const Ke = ["id"], qe = {
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
setup(ne, { expose: ue }) {
|
|
43
|
-
const { vue_ui_mood_radar: ie } = Me(), d = ne,
|
|
43
|
+
const { vue_ui_mood_radar: ie } = Me(), d = ne, _ = c(() => !!d.dataset && Object.keys(d.dataset).length);
|
|
44
44
|
we(() => {
|
|
45
45
|
B();
|
|
46
46
|
});
|
|
47
47
|
function B() {
|
|
48
|
-
|
|
48
|
+
Ne(d.dataset) && ae({
|
|
49
49
|
componentName: "VueUiMoodRadar",
|
|
50
50
|
type: "dataset"
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
const
|
|
53
|
+
const x = y(Pe()), D = y(null), de = y(null), n = y(null), ce = y(null), ve = y(0), ye = y(0), W = y(0), e = c({
|
|
54
54
|
get: () => H(),
|
|
55
55
|
set: (o) => o
|
|
56
56
|
}), { userOptionsVisible: V, setUserOptionsVisibility: z, keepUserOptionState: E } = Ge({ config: e.value }), { svgRef: G } = He({ config: e.value.style.chart.title });
|
|
@@ -66,11 +66,11 @@ const Ke = ["id"], qe = {
|
|
|
66
66
|
})
|
|
67
67
|
} : o;
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
_e(() => d.config, (o) => {
|
|
70
70
|
e.value = H(), V.value = !e.value.userOptions.showOnChartHover, B(), ve.value += 1, ye.value += 1, W.value += 1, $.value.showTable = e.value.table.show;
|
|
71
71
|
}, { deep: !0 });
|
|
72
72
|
const { isPrinting: X, isImaging: K, generatePdf: q, generateImage: Q } = je({
|
|
73
|
-
elementId:
|
|
73
|
+
elementId: x.value,
|
|
74
74
|
fileName: e.value.style.chart.title.text || "vue-ui-mood-radar",
|
|
75
75
|
options: e.value.userOptions.print
|
|
76
76
|
}), he = c(() => e.value.userOptions.show && !e.value.style.chart.title.text), $ = y({
|
|
@@ -84,11 +84,11 @@ const Ke = ["id"], qe = {
|
|
|
84
84
|
sides: 5,
|
|
85
85
|
rotation: 11
|
|
86
86
|
}));
|
|
87
|
-
function fe({ centerX: o, centerY: l, apexX: t, apexY: i, proportion: k, key:
|
|
87
|
+
function fe({ centerX: o, centerY: l, apexX: t, apexY: i, proportion: k, key: N, value: Ce }) {
|
|
88
88
|
return {
|
|
89
89
|
x: o + (t - o) * k,
|
|
90
90
|
y: l + (i - l) * k,
|
|
91
|
-
key:
|
|
91
|
+
key: N,
|
|
92
92
|
value: Ce
|
|
93
93
|
};
|
|
94
94
|
}
|
|
@@ -101,7 +101,7 @@ const Ke = ["id"], qe = {
|
|
|
101
101
|
proportion: t / w.value,
|
|
102
102
|
color: e.value.style.chart.layout.smileys.colors[o]
|
|
103
103
|
};
|
|
104
|
-
}).sort((o, l) => l.key - o.key)), Y = c(() =>
|
|
104
|
+
}).sort((o, l) => l.key - o.key)), Y = c(() => _.value ? (["1", "2", "3", "4", "5"].forEach((o) => {
|
|
105
105
|
[null, void 0].includes(d.dataset[o]) && ae({
|
|
106
106
|
componentName: "VueUiMoodRadar",
|
|
107
107
|
type: "datasetAttribute",
|
|
@@ -153,13 +153,13 @@ const Ke = ["id"], qe = {
|
|
|
153
153
|
' <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>',
|
|
154
154
|
Number(w.value.toFixed(e.value.table.td.roundingValue)).toLocaleString(),
|
|
155
155
|
"100%"
|
|
156
|
-
], l = b.value.head.map((k,
|
|
156
|
+
], l = b.value.head.map((k, N) => [
|
|
157
157
|
{
|
|
158
158
|
color: k.color,
|
|
159
159
|
name: k.name
|
|
160
160
|
},
|
|
161
|
-
b.value.body[
|
|
162
|
-
isNaN(b.value.body[
|
|
161
|
+
b.value.body[N].toFixed(e.value.table.td.roundingValue),
|
|
162
|
+
isNaN(b.value.body[N] / w.value) ? "-" : (b.value.body[N] / w.value * 100).toFixed(e.value.table.td.roundingPercentage) + "%"
|
|
163
163
|
]), t = {
|
|
164
164
|
th: {
|
|
165
165
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -209,7 +209,7 @@ const Ke = ["id"], qe = {
|
|
|
209
209
|
class: ee(`vue-ui-mood-radar ${M.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
210
210
|
ref_key: "moodRadarChart",
|
|
211
211
|
ref: D,
|
|
212
|
-
id: `${
|
|
212
|
+
id: `${x.value}`,
|
|
213
213
|
style: L(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
214
214
|
onMouseenter: l[11] || (l[11] = () => a(z)(!0)),
|
|
215
215
|
onMouseleave: l[12] || (l[12] = () => a(z)(!1))
|
|
@@ -243,7 +243,7 @@ const Ke = ["id"], qe = {
|
|
|
243
243
|
}
|
|
244
244
|
}, null, 8, ["config"])
|
|
245
245
|
])) : u("", !0),
|
|
246
|
-
e.value.userOptions.show &&
|
|
246
|
+
e.value.userOptions.show && _.value && (a(E) || a(V)) ? (r(), p(Re, {
|
|
247
247
|
key: 3,
|
|
248
248
|
ref_key: "details",
|
|
249
249
|
ref: de,
|
|
@@ -251,7 +251,7 @@ const Ke = ["id"], qe = {
|
|
|
251
251
|
color: e.value.style.chart.color,
|
|
252
252
|
isPrinting: a(X),
|
|
253
253
|
isImaging: a(K),
|
|
254
|
-
uid:
|
|
254
|
+
uid: x.value,
|
|
255
255
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
256
256
|
hasXls: e.value.userOptions.buttons.csv,
|
|
257
257
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -272,7 +272,7 @@ const Ke = ["id"], qe = {
|
|
|
272
272
|
style: L({
|
|
273
273
|
visibility: a(E) ? a(V) ? "visible" : "hidden" : "visible"
|
|
274
274
|
})
|
|
275
|
-
},
|
|
275
|
+
}, xe({ _: 2 }, [
|
|
276
276
|
o.$slots.menuIcon ? {
|
|
277
277
|
name: "menuIcon",
|
|
278
278
|
fn: f(({ isOpen: t, color: i }) => [
|
|
@@ -323,7 +323,7 @@ const Ke = ["id"], qe = {
|
|
|
323
323
|
key: "6"
|
|
324
324
|
} : void 0
|
|
325
325
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : u("", !0),
|
|
326
|
-
|
|
326
|
+
_.value ? (r(), h("svg", {
|
|
327
327
|
key: 4,
|
|
328
328
|
ref_key: "svgRef",
|
|
329
329
|
ref: G,
|
|
@@ -352,7 +352,7 @@ const Ke = ["id"], qe = {
|
|
|
352
352
|
r: "50%",
|
|
353
353
|
fx: "50%",
|
|
354
354
|
fy: "50%",
|
|
355
|
-
id: `mood_radar_gradient_${
|
|
355
|
+
id: `mood_radar_gradient_${x.value}`
|
|
356
356
|
}, [
|
|
357
357
|
s("stop", {
|
|
358
358
|
offset: "0%",
|
|
@@ -466,7 +466,7 @@ const Ke = ["id"], qe = {
|
|
|
466
466
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
467
467
|
"stroke-linecap": "round",
|
|
468
468
|
"stroke-linejoin": "round",
|
|
469
|
-
fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${
|
|
469
|
+
fill: e.value.style.chart.layout.dataPolygon.gradient.show ? `url(#mood_radar_gradient_${x.value})` : a(C)(e.value.style.chart.layout.dataPolygon.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
470
470
|
}, null, 8, yt),
|
|
471
471
|
(r(!0), h(te, null, oe(Y.value.map((t) => t.plots), (t, i) => (r(), h("g", {
|
|
472
472
|
class: "vue-ui-mood-radar-trap",
|
|
@@ -502,7 +502,7 @@ const Ke = ["id"], qe = {
|
|
|
502
502
|
"font-size": "12",
|
|
503
503
|
"text-anchor": "middle",
|
|
504
504
|
"font-weight": e.value.style.chart.layout.dataLabel.bold ? "bold" : "normal"
|
|
505
|
-
},
|
|
505
|
+
}, P(a(se)(
|
|
506
506
|
e.value.style.chart.layout.dataLabel.formatter,
|
|
507
507
|
t.value,
|
|
508
508
|
a(S)({
|
|
@@ -519,7 +519,7 @@ const Ke = ["id"], qe = {
|
|
|
519
519
|
fill: e.value.style.chart.layout.dataLabel.color,
|
|
520
520
|
"font-size": "12",
|
|
521
521
|
"text-anchor": "middle"
|
|
522
|
-
}, " (" +
|
|
522
|
+
}, " (" + P(a(S)({
|
|
523
523
|
v: t.value / w.value * 100,
|
|
524
524
|
s: "%",
|
|
525
525
|
r: e.value.style.chart.layout.dataLabel.roundingPercentage
|
|
@@ -530,7 +530,7 @@ const Ke = ["id"], qe = {
|
|
|
530
530
|
o.$slots.watermark ? (r(), h("div", kt, [
|
|
531
531
|
v(o.$slots, "watermark", I(F({ isPrinting: a(X) || a(K) })), void 0, !0)
|
|
532
532
|
])) : u("", !0),
|
|
533
|
-
|
|
533
|
+
_.value ? u("", !0) : (r(), p(De, {
|
|
534
534
|
key: 6,
|
|
535
535
|
config: {
|
|
536
536
|
type: "radar",
|
|
@@ -588,7 +588,7 @@ const Ke = ["id"], qe = {
|
|
|
588
588
|
name: "moodHappy",
|
|
589
589
|
stroke: e.value.style.chart.layout.smileys.colors[t.key]
|
|
590
590
|
}, null, 8, ["stroke"])) : u("", !0),
|
|
591
|
-
s("span", Ct,
|
|
591
|
+
s("span", Ct, P(a(se)(
|
|
592
592
|
e.value.style.chart.layout.dataLabel.formatter,
|
|
593
593
|
t.value,
|
|
594
594
|
a(S)({
|
|
@@ -599,7 +599,7 @@ const Ke = ["id"], qe = {
|
|
|
599
599
|
}),
|
|
600
600
|
{ datapoint: t, seriesIndex: i }
|
|
601
601
|
)), 1),
|
|
602
|
-
le(" (" +
|
|
602
|
+
le(" (" + P(a(S)({
|
|
603
603
|
v: t.proportion * 100,
|
|
604
604
|
s: "%",
|
|
605
605
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -612,7 +612,7 @@ const Ke = ["id"], qe = {
|
|
|
612
612
|
o.$slots.source ? (r(), h("div", wt, [
|
|
613
613
|
v(o.$slots, "source", {}, void 0, !0)
|
|
614
614
|
], 512)) : u("", !0),
|
|
615
|
-
|
|
615
|
+
_.value ? (r(), p(We, {
|
|
616
616
|
key: 9,
|
|
617
617
|
hideDetails: "",
|
|
618
618
|
config: {
|
|
@@ -641,10 +641,10 @@ const Ke = ["id"], qe = {
|
|
|
641
641
|
s("div", {
|
|
642
642
|
innerHTML: t,
|
|
643
643
|
style: { display: "flex", "align-items": "center" }
|
|
644
|
-
}, null, 8,
|
|
644
|
+
}, null, 8, _t)
|
|
645
645
|
]),
|
|
646
646
|
td: f(({ td: t }) => [
|
|
647
|
-
le(
|
|
647
|
+
le(P(t.name || t), 1)
|
|
648
648
|
]),
|
|
649
649
|
_: 1
|
|
650
650
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
@@ -653,7 +653,7 @@ const Ke = ["id"], qe = {
|
|
|
653
653
|
}, 8, ["config"])) : u("", !0)
|
|
654
654
|
], 46, Ke));
|
|
655
655
|
}
|
|
656
|
-
}, Bt = /* @__PURE__ */ Xe(
|
|
656
|
+
}, Bt = /* @__PURE__ */ Xe(xt, [["__scopeId", "data-v-219c3ecd"]]);
|
|
657
657
|
export {
|
|
658
658
|
Bt as default
|
|
659
659
|
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { computed as b, ref as i, watch as Ue, onMounted as st, onBeforeUnmount as ut, createElementBlock as n, openBlock as u, unref as r, normalizeStyle as K, normalizeClass as
|
|
2
|
-
import { u as it, c as dt, t as vt, p as Z, a as ct, o as ft, e as U, b as ht, J as Be, d as yt, m as Ee, f as x, X as pt, s as Ge, L as bt, k as ie, n as R, i as E, x as Ye, q as gt, r as mt, y as kt } from "./index-
|
|
1
|
+
import { computed as b, ref as i, watch as Ue, onMounted as st, onBeforeUnmount as ut, createElementBlock as n, openBlock as u, unref as r, normalizeStyle as K, normalizeClass as D, createBlock as z, createCommentVNode as f, createVNode as Re, createSlots as nt, withCtx as g, renderSlot as m, normalizeProps as V, guardReactiveProps as M, createElementVNode as k, Fragment as C, renderList as F, toDisplayString as S, createTextVNode as Q, nextTick as rt } from "vue";
|
|
2
|
+
import { u as it, c as dt, t as vt, p as Z, a as ct, o as ft, e as U, b as ht, J as Be, d as yt, m as Ee, f as x, X as pt, s as Ge, L as bt, k as ie, n as R, i as E, x as Ye, q as gt, r as mt, y as kt } from "./index-D3VntmA9.js";
|
|
3
3
|
import { t as wt, u as $t } from "./useResponsive-Cw4oZ8sQ.js";
|
|
4
|
-
import { _ as Lt } from "./Title-
|
|
5
|
-
import { u as Ct, U as xt } from "./usePrinter-
|
|
6
|
-
import { D as _t } from "./DataTable-
|
|
7
|
-
import { _ as Tt } from "./Tooltip-
|
|
8
|
-
import { L as Ft } from "./Legend-
|
|
9
|
-
import Nt from "./vue-ui-skeleton-
|
|
10
|
-
import St from "./vue-ui-accordion-
|
|
11
|
-
import { u as Xe } from "./useNestedProp-
|
|
12
|
-
import { _ as Ot } from "./PackageVersion-
|
|
13
|
-
import {
|
|
14
|
-
import { u as
|
|
15
|
-
import { u as
|
|
16
|
-
import { _ as
|
|
17
|
-
const
|
|
4
|
+
import { _ as Lt } from "./Title-UjBqdYyD.js";
|
|
5
|
+
import { u as Ct, U as xt } from "./usePrinter-H3tAjGXs.js";
|
|
6
|
+
import { D as _t } from "./DataTable-DOKlm7k4.js";
|
|
7
|
+
import { _ as Tt } from "./Tooltip-3NNIdJ6N.js";
|
|
8
|
+
import { L as Ft } from "./Legend-CIjMjfNk.js";
|
|
9
|
+
import Nt from "./vue-ui-skeleton-pHcbvN3-.js";
|
|
10
|
+
import St from "./vue-ui-accordion-DGJQIcdB.js";
|
|
11
|
+
import { u as Xe } from "./useNestedProp-DTlOqz2P.js";
|
|
12
|
+
import { _ as Ot } from "./PackageVersion-BCLALL_i.js";
|
|
13
|
+
import { _ as It } from "./PenAndPaper-CZs431Nx.js";
|
|
14
|
+
import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { u as Dt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
+
import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const Pt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["id"], Rt = ["offset", "stop-color"], Bt = ["offset", "stop-opacity"], Et = ["id"], Gt = ["id"], Yt = ["id"], Xt = ["flood-color"], Ht = ["d", "fill", "stroke", "stroke-width", "filter"], Wt = { key: 1 }, qt = ["d", "fill"], Jt = { key: 2 }, Kt = ["x", "y", "font-size", "font-weight", "fill"], Qt = { key: 3 }, Zt = ["filter"], jt = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], el = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], tl = ["text-anchor", "x", "y", "fill", "font-size", "font-weight"], ll = ["d", "fill", "onMouseenter", "onClick"], al = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, ol = {
|
|
@@ -38,14 +38,14 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["selectLegend", "selectDatapoint"],
|
|
40
40
|
setup(He, { expose: We, emit: qe }) {
|
|
41
|
-
const { vue_ui_nested_donuts: Je } = it(), O = He, G = b(() => !!O.dataset && O.dataset.length), $ = i(dt()), j = i(!1), ee = i(""), Ke = i(null), de = i(0), B = i(null), ve = i(null), te = i(null), ce = i(null), fe = i(null), he = i(0), ye = i(0), pe = i(0),
|
|
41
|
+
const { vue_ui_nested_donuts: Je } = it(), O = He, G = b(() => !!O.dataset && O.dataset.length), $ = i(dt()), j = i(!1), ee = i(""), Ke = i(null), de = i(0), B = i(null), ve = i(null), te = i(null), ce = i(null), fe = i(null), he = i(0), ye = i(0), pe = i(0), P = i(!1);
|
|
42
42
|
function Qe(t) {
|
|
43
|
-
|
|
43
|
+
P.value = t, de.value += 1;
|
|
44
44
|
}
|
|
45
45
|
const e = b({
|
|
46
46
|
get: () => ke(),
|
|
47
47
|
set: (t) => t
|
|
48
|
-
}), { userOptionsVisible: le, setUserOptionsVisibility: be, keepUserOptionState: ge } =
|
|
48
|
+
}), { userOptionsVisible: le, setUserOptionsVisibility: be, keepUserOptionState: ge } = At({ config: e.value }), { svgRef: me } = Dt({ config: e.value.style.chart.title });
|
|
49
49
|
function ke() {
|
|
50
50
|
const t = Xe({
|
|
51
51
|
userConfig: O.config,
|
|
@@ -208,16 +208,16 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
208
208
|
let v = function() {
|
|
209
209
|
l < 0.1 ? (cancelAnimationFrame(Se.value), p.value.push(t.id), h.value = h.value.map((L, N) => ({
|
|
210
210
|
...L,
|
|
211
|
-
series: L.series.map((
|
|
212
|
-
...
|
|
211
|
+
series: L.series.map((A) => A.id === t.id ? {
|
|
212
|
+
...A,
|
|
213
213
|
value: 0
|
|
214
|
-
} :
|
|
214
|
+
} : A)
|
|
215
215
|
}))) : (l /= 1.1, h.value = h.value.map((L, N) => ({
|
|
216
216
|
...L,
|
|
217
|
-
series: L.series.map((
|
|
218
|
-
...
|
|
217
|
+
series: L.series.map((A) => A.id === t.id ? {
|
|
218
|
+
...A,
|
|
219
219
|
value: l
|
|
220
|
-
} :
|
|
220
|
+
} : A)
|
|
221
221
|
})), Se.value = requestAnimationFrame(v));
|
|
222
222
|
};
|
|
223
223
|
v();
|
|
@@ -242,7 +242,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
242
242
|
oe.value
|
|
243
243
|
)
|
|
244
244
|
};
|
|
245
|
-
})),
|
|
245
|
+
})), Ie = b(() => [..._.value].map((t, s) => {
|
|
246
246
|
const a = s * T.value / _.value.length;
|
|
247
247
|
return {
|
|
248
248
|
sizeRatio: a,
|
|
@@ -260,9 +260,9 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
260
260
|
T.value / _.value.length * e.value.style.chart.layout.donut.spacingRatio
|
|
261
261
|
)[0]
|
|
262
262
|
};
|
|
263
|
-
})),
|
|
263
|
+
})), Ae = i(null), H = i(null), W = i(null), se = i(null);
|
|
264
264
|
function lt({ datapoint: t, _relativeIndex: s, seriesIndex: a }) {
|
|
265
|
-
|
|
265
|
+
Ae.value = t.arcOfId, H.value = t.id, W.value = a, se.value = {
|
|
266
266
|
datapoint: t,
|
|
267
267
|
seriesIndex: a,
|
|
268
268
|
series: h.value,
|
|
@@ -346,7 +346,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
346
346
|
function ue(t) {
|
|
347
347
|
return t.proportion * 100 > e.value.style.chart.layout.labels.dataLabels.hideUnderValue;
|
|
348
348
|
}
|
|
349
|
-
function
|
|
349
|
+
function De(t, s) {
|
|
350
350
|
if (!e.value.useBlurOnHover)
|
|
351
351
|
return "";
|
|
352
352
|
if (e.value.style.chart.tooltip.showAllItemsAtIndex && p.value.length === 0)
|
|
@@ -376,7 +376,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
376
376
|
fontSize: e.value.style.chart.legend.fontSize,
|
|
377
377
|
paddingBottom: 12,
|
|
378
378
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
379
|
-
})),
|
|
379
|
+
})), I = b(() => {
|
|
380
380
|
const t = h.value.flatMap((a) => a.series.map((o) => ({
|
|
381
381
|
name: `${a.name} - ${o.name}`,
|
|
382
382
|
color: o.color,
|
|
@@ -384,11 +384,11 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
384
384
|
}))), s = h.value.flatMap((a) => a.series.map((o) => o.value));
|
|
385
385
|
return { head: t, body: s };
|
|
386
386
|
});
|
|
387
|
-
function
|
|
387
|
+
function ze() {
|
|
388
388
|
rt(() => {
|
|
389
|
-
const t =
|
|
389
|
+
const t = I.value.head.map((o, l) => [[
|
|
390
390
|
o.name
|
|
391
|
-
], [
|
|
391
|
+
], [I.value.body[l]], [isNaN(I.value.body[l] / o.total) ? "-" : I.value.body[l] / o.total * 100]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), a = gt(s);
|
|
392
392
|
mt({ csvContent: a, title: e.value.style.chart.title.text || "vue-ui-nested-donuts" });
|
|
393
393
|
});
|
|
394
394
|
}
|
|
@@ -397,16 +397,16 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
397
397
|
e.value.table.columnNames.series,
|
|
398
398
|
e.value.table.columnNames.value,
|
|
399
399
|
e.value.table.columnNames.percentage
|
|
400
|
-
], s =
|
|
401
|
-
const w = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v:
|
|
400
|
+
], s = I.value.head.map((l, d) => {
|
|
401
|
+
const w = x({ p: e.value.style.chart.layout.labels.dataLabels.prefix, v: I.value.body[d], s: e.value.style.chart.layout.labels.dataLabels.suffix, r: e.value.table.td.roundingValue });
|
|
402
402
|
return [
|
|
403
403
|
{
|
|
404
404
|
color: l.color,
|
|
405
405
|
name: l.name
|
|
406
406
|
},
|
|
407
407
|
w,
|
|
408
|
-
isNaN(
|
|
409
|
-
v:
|
|
408
|
+
isNaN(I.value.body[d] / l.total) ? "-" : x({
|
|
409
|
+
v: I.value.body[d] / l.total * 100,
|
|
410
410
|
s: "%",
|
|
411
411
|
r: e.value.table.td.roundingPercentage
|
|
412
412
|
})
|
|
@@ -438,7 +438,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
438
438
|
function ot() {
|
|
439
439
|
return _.value;
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function Pe() {
|
|
442
442
|
y.value.showTable = !y.value.showTable;
|
|
443
443
|
}
|
|
444
444
|
function Ve() {
|
|
@@ -454,22 +454,22 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
454
454
|
return We({
|
|
455
455
|
getData: ot,
|
|
456
456
|
generatePdf: xe,
|
|
457
|
-
generateCsv:
|
|
457
|
+
generateCsv: ze,
|
|
458
458
|
generateImage: _e,
|
|
459
|
-
toggleTable:
|
|
459
|
+
toggleTable: Pe,
|
|
460
460
|
toggleLabels: Ve,
|
|
461
461
|
toggleTooltip: Me,
|
|
462
462
|
toggleAnnotator: re
|
|
463
463
|
}), (t, s) => (u(), n("div", {
|
|
464
464
|
ref_key: "nestedDonutsChart",
|
|
465
465
|
ref: B,
|
|
466
|
-
class:
|
|
466
|
+
class: D(`vue-ui-nested-donuts ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
467
467
|
style: K(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
468
468
|
id: `nested_donuts_${$.value}`,
|
|
469
469
|
onMouseenter: s[3] || (s[3] = () => r(be)(!0)),
|
|
470
470
|
onMouseleave: s[4] || (s[4] = () => r(be)(!1))
|
|
471
471
|
}, [
|
|
472
|
-
e.value.userOptions.buttons.annotator ? (u(),
|
|
472
|
+
e.value.userOptions.buttons.annotator ? (u(), z(It, {
|
|
473
473
|
key: 0,
|
|
474
474
|
svgRef: r(me),
|
|
475
475
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -489,7 +489,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
489
489
|
ref_key: "chartTitle",
|
|
490
490
|
ref: ve
|
|
491
491
|
}, [
|
|
492
|
-
(u(),
|
|
492
|
+
(u(), z(Lt, {
|
|
493
493
|
key: `title_${he.value}`,
|
|
494
494
|
config: {
|
|
495
495
|
title: {
|
|
@@ -503,7 +503,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
503
503
|
}
|
|
504
504
|
}, null, 8, ["config"]))
|
|
505
505
|
], 512)) : f("", !0),
|
|
506
|
-
e.value.userOptions.show && G.value && (r(ge) || r(le)) ? (u(),
|
|
506
|
+
e.value.userOptions.show && G.value && (r(ge) || r(le)) ? (u(), z(xt, {
|
|
507
507
|
ref: "details",
|
|
508
508
|
key: `user_option_${de.value}`,
|
|
509
509
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -518,7 +518,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
518
518
|
hasTable: e.value.userOptions.buttons.table,
|
|
519
519
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
520
520
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
521
|
-
isFullscreen:
|
|
521
|
+
isFullscreen: P.value,
|
|
522
522
|
isTooltip: y.value.showTooltip,
|
|
523
523
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
524
524
|
chartElement: B.value,
|
|
@@ -527,9 +527,9 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
527
527
|
isAnnotation: J.value,
|
|
528
528
|
onToggleFullscreen: Qe,
|
|
529
529
|
onGeneratePdf: r(xe),
|
|
530
|
-
onGenerateCsv:
|
|
530
|
+
onGenerateCsv: ze,
|
|
531
531
|
onGenerateImage: r(_e),
|
|
532
|
-
onToggleTable:
|
|
532
|
+
onToggleTable: Pe,
|
|
533
533
|
onToggleLabels: Ve,
|
|
534
534
|
onToggleTooltip: Me,
|
|
535
535
|
onToggleAnnotator: re,
|
|
@@ -606,7 +606,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
606
606
|
ref_key: "svgRef",
|
|
607
607
|
ref: me,
|
|
608
608
|
xmlns: r(pt),
|
|
609
|
-
class:
|
|
609
|
+
class: D({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
610
610
|
viewBox: `0 0 ${c.value.width <= 0 ? 1e-3 : c.value.width} ${c.value.height < 0 ? 1e-3 : c.value.height}`,
|
|
611
611
|
style: K(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${we.value.css}`)
|
|
612
612
|
}, [
|
|
@@ -624,7 +624,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
624
624
|
m(t.$slots, "chart-background", {}, void 0, !0)
|
|
625
625
|
], 8, Mt)) : f("", !0),
|
|
626
626
|
k("defs", null, [
|
|
627
|
-
(u(!0), n(C, null, F(
|
|
627
|
+
(u(!0), n(C, null, F(Ie.value, (a, o) => (u(), n("radialGradient", {
|
|
628
628
|
id: `radial_${$.value}_${o}`
|
|
629
629
|
}, [
|
|
630
630
|
s[5] || (s[5] = k("stop", {
|
|
@@ -688,12 +688,12 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
688
688
|
fill: r(Ge)(l.color, 80),
|
|
689
689
|
stroke: e.value.style.chart.backgroundColor,
|
|
690
690
|
"stroke-width": e.value.style.chart.layout.donut.borderWidth,
|
|
691
|
-
filter:
|
|
691
|
+
filter: De(l, d)
|
|
692
692
|
}, null, 8, Ht)
|
|
693
693
|
]))), 256))
|
|
694
694
|
]))), 256)),
|
|
695
695
|
e.value.style.chart.useGradient ? (u(), n("g", Wt, [
|
|
696
|
-
(u(!0), n(C, null, F(
|
|
696
|
+
(u(!0), n(C, null, F(Ie.value, (a, o) => (u(), n("g", null, [
|
|
697
697
|
k("path", {
|
|
698
698
|
d: a.donut.arcSlice,
|
|
699
699
|
fill: `url(#radial_${$.value}_${o})`,
|
|
@@ -707,7 +707,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
707
707
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", null, [
|
|
708
708
|
d === 0 && c.value.width && c.value.height ? (u(), n("text", {
|
|
709
709
|
key: 0,
|
|
710
|
-
class:
|
|
710
|
+
class: D({ animated: e.value.useCssAnimation }),
|
|
711
711
|
x: c.value.width / 2,
|
|
712
712
|
y: l.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
|
|
713
713
|
"text-anchor": "middle",
|
|
@@ -721,11 +721,11 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
721
721
|
e.value.style.chart.layout.labels.dataLabels.show ? (u(), n("g", Qt, [
|
|
722
722
|
(u(!0), n(C, null, F(X.value, (a, o) => (u(), n("g", null, [
|
|
723
723
|
(u(!0), n(C, null, F(a.donut, (l, d) => (u(), n("g", {
|
|
724
|
-
filter:
|
|
724
|
+
filter: De(l, d)
|
|
725
725
|
}, [
|
|
726
726
|
ue(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage ? (u(), n("text", {
|
|
727
727
|
key: 0,
|
|
728
|
-
class:
|
|
728
|
+
class: D({ animated: e.value.useCssAnimation }),
|
|
729
729
|
"text-anchor": r(R)(l, !0).anchor,
|
|
730
730
|
x: r(R)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
731
731
|
y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
|
|
@@ -735,7 +735,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
735
735
|
}, S(r(x)({ v: l.proportion * 100, s: "%", r: e.value.style.chart.layout.labels.dataLabels.roundingPercentage })), 11, jt)) : f("", !0),
|
|
736
736
|
ue(l) && y.value.dataLabels.show && e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
737
737
|
key: 1,
|
|
738
|
-
class:
|
|
738
|
+
class: D({ animated: e.value.useCssAnimation }),
|
|
739
739
|
"text-anchor": r(R)(l, !0).anchor,
|
|
740
740
|
x: r(R)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
741
741
|
y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY) + e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
@@ -755,7 +755,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
755
755
|
)) + ") ", 11, el)) : f("", !0),
|
|
756
756
|
ue(l) && y.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (u(), n("text", {
|
|
757
757
|
key: 2,
|
|
758
|
-
class:
|
|
758
|
+
class: D({ animated: e.value.useCssAnimation }),
|
|
759
759
|
"text-anchor": r(R)(l, !0).anchor,
|
|
760
760
|
x: r(R)(l, !1, e.value.style.chart.layout.labels.dataLabels.offsetX).x || 0,
|
|
761
761
|
y: r(ie)(l, e.value.style.chart.layout.labels.dataLabels.offsetY, e.value.style.chart.layout.labels.dataLabels.offsetY),
|
|
@@ -787,7 +787,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
787
787
|
}),
|
|
788
788
|
onClick: (w) => et({ datapoint: l, index: d }),
|
|
789
789
|
onMouseleave: s[0] || (s[0] = (w) => {
|
|
790
|
-
j.value = !1,
|
|
790
|
+
j.value = !1, Ae.value = null, H.value = null, W.value = null;
|
|
791
791
|
})
|
|
792
792
|
}, null, 40, ll)
|
|
793
793
|
]))), 256))
|
|
@@ -797,7 +797,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
797
797
|
t.$slots.watermark ? (u(), n("div", al, [
|
|
798
798
|
m(t.$slots, "watermark", V(M({ isPrinting: r(Le) || r(Ce) })), void 0, !0)
|
|
799
799
|
])) : f("", !0),
|
|
800
|
-
G.value ? f("", !0) : (u(),
|
|
800
|
+
G.value ? f("", !0) : (u(), z(Nt, {
|
|
801
801
|
key: 6,
|
|
802
802
|
config: {
|
|
803
803
|
type: "donut",
|
|
@@ -822,7 +822,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
822
822
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
823
823
|
parent: B.value,
|
|
824
824
|
content: ee.value,
|
|
825
|
-
isFullscreen:
|
|
825
|
+
isFullscreen: P.value,
|
|
826
826
|
isCustom: r(Ye)(e.value.style.chart.tooltip.customFormat)
|
|
827
827
|
}, {
|
|
828
828
|
"tooltip-before": g(() => [
|
|
@@ -837,9 +837,9 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
837
837
|
key: 7,
|
|
838
838
|
ref_key: "chartLegend",
|
|
839
839
|
ref: te,
|
|
840
|
-
class:
|
|
840
|
+
class: D({ "vue-ui-nested-donuts-legend": ne.value.length > 1 })
|
|
841
841
|
}, [
|
|
842
|
-
(u(!0), n(C, null, F(ne.value, (a, o) => (u(),
|
|
842
|
+
(u(!0), n(C, null, F(ne.value, (a, o) => (u(), z(Ft, {
|
|
843
843
|
key: `legend_${o}_${pe.value}`,
|
|
844
844
|
legendSet: a,
|
|
845
845
|
config: at.value,
|
|
@@ -889,7 +889,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
889
889
|
}, [
|
|
890
890
|
m(t.$slots, "source", {}, void 0, !0)
|
|
891
891
|
], 512)) : f("", !0),
|
|
892
|
-
G.value ? (u(),
|
|
892
|
+
G.value ? (u(), z(St, {
|
|
893
893
|
key: 10,
|
|
894
894
|
hideDetails: "",
|
|
895
895
|
config: {
|
|
@@ -906,7 +906,7 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
906
906
|
}
|
|
907
907
|
}, {
|
|
908
908
|
content: g(() => [
|
|
909
|
-
(u(),
|
|
909
|
+
(u(), z(_t, {
|
|
910
910
|
key: `table_${ye.value}`,
|
|
911
911
|
colNames: q.value.colNames,
|
|
912
912
|
head: q.value.head,
|
|
@@ -929,9 +929,9 @@ const zt = ["id"], Vt = ["xmlns", "viewBox"], Mt = ["width", "height"], Ut = ["i
|
|
|
929
929
|
]),
|
|
930
930
|
_: 1
|
|
931
931
|
}, 8, ["config"])) : f("", !0)
|
|
932
|
-
], 46,
|
|
932
|
+
], 46, Pt));
|
|
933
933
|
}
|
|
934
|
-
}, Cl = /* @__PURE__ */
|
|
934
|
+
}, Cl = /* @__PURE__ */ zt(nl, [["__scopeId", "data-v-23284122"]]);
|
|
935
935
|
export {
|
|
936
936
|
Cl as default
|
|
937
937
|
};
|