vue-data-ui 2.7.2 → 2.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-Cuf9zUpa.cjs → Arrow-CwCPcRDq.cjs} +1 -1
- package/dist/{Arrow-SOQeOwmT.js → Arrow-DZ9pNVTr.js} +1 -1
- package/dist/{BaseIcon-C0unoacb.cjs → BaseIcon-BQ6ScTsr.cjs} +1 -1
- package/dist/{BaseIcon-DqYzMisq.js → BaseIcon-CdxldTMn.js} +4 -3
- package/dist/{ColorPicker-DLNc3kpl.cjs → ColorPicker-D6mp4NrH.cjs} +1 -1
- package/dist/{ColorPicker-DyOTLjAA.js → ColorPicker-DF9jbKW-.js} +3 -3
- package/dist/{DataTable-ByOfBGEi.cjs → DataTable-4qcYZrGF.cjs} +1 -1
- package/dist/{DataTable-C_28ZqiP.js → DataTable-BFNGlApm.js} +2 -2
- package/dist/{Legend-CmKaL7xe.js → Legend-B4eIw732.js} +2 -2
- package/dist/{Legend-mrAy7yUC.cjs → Legend-D8qnv865.cjs} +1 -1
- package/dist/{PackageVersion-39l3KkzC.js → PackageVersion-BZ8-AoE_.js} +1 -1
- package/dist/{PackageVersion-By81XV8X.cjs → PackageVersion-sCi6-fwm.cjs} +1 -1
- package/dist/PenAndPaper--_AE7XzJ.js +374 -0
- package/dist/PenAndPaper-DXiYR_ED.cjs +1 -0
- package/dist/{Shape-iIO-95sh.js → Shape-BQd108EW.js} +1 -1
- package/dist/{Shape-x7U3IhoM.cjs → Shape-BjIO2Dd_.cjs} +1 -1
- package/dist/{Slicer-Ct66sqV1.cjs → Slicer-B10GL6W6.cjs} +1 -1
- package/dist/{Slicer-C49MotZz.js → Slicer-BtX8p8CI.js} +2 -2
- package/dist/{Title-BgVFZwZZ.cjs → Title-DWFudmma.cjs} +1 -1
- package/dist/{Title-Co3F59jq.js → Title-ND4kMErl.js} +1 -1
- package/dist/{Tooltip-Cr89wMKa.js → Tooltip-BWe5TPIJ.js} +1 -1
- package/dist/{Tooltip-B8E9uCVm.cjs → Tooltip-DPqJ5wwr.cjs} +1 -1
- package/dist/{dom-to-png-D9eujpXB.cjs → dom-to-png-DBOO7SYL.cjs} +1 -1
- package/dist/{dom-to-png-DtBlqZMR.js → dom-to-png-DOe_fDQ9.js} +1 -1
- package/dist/{img-DgRUFehB.cjs → img-BTldOAS7.cjs} +1 -1
- package/dist/{img-DQDP5JIH.js → img-K80BXoXO.js} +1 -1
- package/dist/{index-gC66Se26.js → index-B_dU_4T8.js} +1 -1
- package/dist/{index-BeJeDy5m.cjs → index-HGCbG8YK.cjs} +1 -1
- package/dist/{pdf-lJiGVhtL.js → pdf-BKSh5KBc.js} +1 -1
- package/dist/{pdf-Bu1ahAX2.cjs → pdf-IEdK_h03.cjs} +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-7s4Pw7x0.js} +1 -1
- package/dist/{useNestedProp-CF-iHhIC.cjs → useNestedProp-O_JTsxQj.cjs} +1 -1
- package/dist/{usePrinter-Bz_kd3vb.cjs → usePrinter-B2PvJuo8.cjs} +1 -1
- package/dist/{usePrinter-KMFl0n0s.js → usePrinter-CLObTJ4a.js} +3 -3
- package/dist/{vue-data-ui-BApY_erH.js → vue-data-ui-Dvy8nai9.js} +60 -60
- package/dist/{vue-data-ui-Bak-lr4I.cjs → vue-data-ui-NmIWCiVH.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-CUG7pspB.cjs +19 -0
- package/dist/{vue-ui-3d-bar-BWjU0K3_.js → vue-ui-3d-bar-Cf-VSMqf.js} +30 -30
- package/dist/{vue-ui-accordion-j2beIma_.js → vue-ui-accordion-C5dj9Voo.js} +3 -3
- package/dist/{vue-ui-accordion-CZBJSHT_.cjs → vue-ui-accordion-CSuxLH7L.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Cmw4WVB4.js → vue-ui-age-pyramid-BYHyKvk4.js} +22 -22
- package/dist/vue-ui-age-pyramid-qT6V3Y8O.cjs +1 -0
- package/dist/{vue-ui-annotator-BVv5XkoE.cjs → vue-ui-annotator-KzRsqSTn.cjs} +1 -1
- package/dist/{vue-ui-annotator-CKmqZjUD.js → vue-ui-annotator-clyvpxxd.js} +2 -2
- package/dist/{vue-ui-bullet-U_yJjO0m.js → vue-ui-bullet-CJL4NBSU.js} +36 -36
- package/dist/vue-ui-bullet-DMuibl8n.cjs +34 -0
- package/dist/{vue-ui-candlestick-DhdlFIQE.js → vue-ui-candlestick-1jHdWerO.js} +11 -11
- package/dist/vue-ui-candlestick-CMsFiP9C.cjs +2 -0
- package/dist/{vue-ui-carousel-table-Ej7qzKkp.js → vue-ui-carousel-table-BCVjpGff.js} +4 -4
- package/dist/{vue-ui-carousel-table-BhC5cEe3.cjs → vue-ui-carousel-table-CtGRQBIN.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BzNHXzDj.cjs → vue-ui-chestnut-CEQFlk-j.cjs} +1 -1
- package/dist/{vue-ui-chestnut-L0bS5jtX.js → vue-ui-chestnut-YX5q5qpY.js} +32 -32
- package/dist/{vue-ui-circle-pack-DwCzeO3L.js → vue-ui-circle-pack-DFhj3arJ.js} +44 -44
- package/dist/vue-ui-circle-pack-cXdePcYh.cjs +1 -0
- package/dist/{vue-ui-cursor-0mZP5nBc.cjs → vue-ui-cursor-DGtZLxpF.cjs} +1 -1
- package/dist/{vue-ui-cursor-DwHdXwLS.js → vue-ui-cursor-DwDTg8Za.js} +2 -2
- package/dist/{vue-ui-dashboard-DILmOchy.js → vue-ui-dashboard-DQ4-1OKY.js} +3 -3
- package/dist/{vue-ui-dashboard-CegApY8_.cjs → vue-ui-dashboard-etx_lWpJ.cjs} +1 -1
- package/dist/{vue-ui-digits-Dbwzk-sl.js → vue-ui-digits-Crcwygqg.js} +2 -2
- package/dist/{vue-ui-digits-me8Nky0A.cjs → vue-ui-digits-lRbvyU_i.cjs} +1 -1
- package/dist/{vue-ui-donut-DwE-iZSV.js → vue-ui-donut-C2h_qoIM.js} +12 -12
- package/dist/vue-ui-donut-DQeJn_KK.cjs +1 -0
- package/dist/vue-ui-donut-evolution-Dbg5HueS.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DhFABvEv.js → vue-ui-donut-evolution-DbzqkGBx.js} +69 -69
- package/dist/{vue-ui-dumbbell-Cqq4iV6-.js → vue-ui-dumbbell-BVuQjSso.js} +52 -52
- package/dist/{vue-ui-dumbbell-CL15d-aQ.cjs → vue-ui-dumbbell-BaYSfxY1.cjs} +1 -1
- package/dist/{vue-ui-flow-CU-orj9I.js → vue-ui-flow-2FOH_Mxn.js} +75 -75
- package/dist/vue-ui-flow-B8NKKaa2.cjs +1 -0
- package/dist/{vue-ui-funnel-DQmQmdNV.js → vue-ui-funnel-CYt4xsc4.js} +28 -28
- package/dist/vue-ui-funnel-Cgm1VcJC.cjs +1 -0
- package/dist/{vue-ui-galaxy-nqyCbQ9j.js → vue-ui-galaxy-CmmTED3N.js} +39 -39
- package/dist/vue-ui-galaxy-D8oPaBdc.cjs +1 -0
- package/dist/vue-ui-gauge-Ushp2qER.cjs +1 -0
- package/dist/{vue-ui-gauge-BV3CJfqe.js → vue-ui-gauge-vlhW2o0y.js} +26 -26
- package/dist/{vue-ui-gizmo-CNRAH2zT.cjs → vue-ui-gizmo-B16t4cjE.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CJwSAsxs.js → vue-ui-gizmo-DtWADzHM.js} +3 -3
- package/dist/{vue-ui-heatmap-B1s7KejC.js → vue-ui-heatmap-BcNWrSYu.js} +10 -10
- package/dist/vue-ui-heatmap-PVrUXZ6f.cjs +1 -0
- package/dist/vue-ui-history-plot-D9hGmpzL.cjs +1 -0
- package/dist/{vue-ui-history-plot-z_KFt5z_.js → vue-ui-history-plot-aqwCckl3.js} +35 -35
- package/dist/{vue-ui-kpi-DabR5K70.js → vue-ui-kpi-fIEea6oo.js} +3 -3
- package/dist/{vue-ui-kpi-FaGp6_XP.cjs → vue-ui-kpi-zRnAot1s.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-_plxZxma.cjs → vue-ui-mini-loader-0TKahM6o.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-w-BmywLJ.js → vue-ui-mini-loader-CnequKa7.js} +2 -2
- package/dist/{vue-ui-molecule-3ClCLk7L.cjs → vue-ui-molecule-C7qRnQk-.cjs} +1 -1
- package/dist/{vue-ui-molecule-aiWG--to.js → vue-ui-molecule-bHqvHzsr.js} +45 -45
- package/dist/vue-ui-mood-radar-BGHGOC3W.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DwxCn06q.js → vue-ui-mood-radar-BLLnwnLw.js} +40 -40
- package/dist/{vue-ui-nested-donuts-ONgAaLY-.js → vue-ui-nested-donuts-C5mqI9Vf.js} +65 -65
- package/dist/vue-ui-nested-donuts-r9LWv_9T.cjs +17 -0
- package/dist/vue-ui-onion-CKJJIQO8.cjs +5 -0
- package/dist/{vue-ui-onion-DjoQuBo8.js → vue-ui-onion-DGU0vHXZ.js} +75 -75
- package/dist/{vue-ui-parallel-coordinate-plot-DWGVzaHE.js → vue-ui-parallel-coordinate-plot-B4tVo343.js} +38 -38
- package/dist/vue-ui-parallel-coordinate-plot-CTF--y5O.cjs +8 -0
- package/dist/{vue-ui-quadrant-CgiD9c7i.js → vue-ui-quadrant-CDZspHBg.js} +54 -54
- package/dist/vue-ui-quadrant-De8bmwz_.cjs +1 -0
- package/dist/vue-ui-quick-chart-Bi7Vdl9I.cjs +15 -0
- package/dist/{vue-ui-quick-chart-5NiRxtpD.js → vue-ui-quick-chart-baWAo-Ln.js} +9 -9
- package/dist/{vue-ui-radar-CfKAy0nI.js → vue-ui-radar-CG8tGSHg.js} +55 -55
- package/dist/vue-ui-radar-DAxiwdD4.cjs +1 -0
- package/dist/{vue-ui-rating-yiM_5H0W.cjs → vue-ui-rating-Bm6BESO1.cjs} +1 -1
- package/dist/{vue-ui-rating-CbZvsZNv.js → vue-ui-rating-CcMWLaSP.js} +2 -2
- package/dist/{vue-ui-relation-circle-RRK2jhHr.js → vue-ui-relation-circle-D4vD3HD_.js} +7 -7
- package/dist/vue-ui-relation-circle-rM2pEsYK.cjs +1 -0
- package/dist/vue-ui-rings-Mt51bBc5.cjs +2 -0
- package/dist/{vue-ui-rings-CiMKMEpp.js → vue-ui-rings-R91Q3vZF.js} +62 -62
- package/dist/{vue-ui-scatter-9PFXuvoo.js → vue-ui-scatter-BKY7zeC_.js} +44 -44
- package/dist/vue-ui-scatter-COs46vAF.cjs +1 -0
- package/dist/{vue-ui-skeleton-KW-jcPRN.cjs → vue-ui-skeleton-BBWwBSGZ.cjs} +1 -1
- package/dist/{vue-ui-skeleton-7Zfds6H1.js → vue-ui-skeleton-CTZKsfWs.js} +3 -3
- package/dist/{vue-ui-smiley-D0jhMBUh.js → vue-ui-smiley-3XabGcpa.js} +2 -2
- package/dist/{vue-ui-smiley-BNQlshyY.cjs → vue-ui-smiley-CZ2XNWEt.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CLm12POW.cjs → vue-ui-spark-trend-CZnUiwhV.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D8nDY0fS.js → vue-ui-spark-trend-Dd_5kNG9.js} +5 -5
- package/dist/{vue-ui-sparkbar-ChEbpWYC.cjs → vue-ui-sparkbar-CZJ8RFMM.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-wKlwMCph.js → vue-ui-sparkbar-DT_G3f_6.js} +4 -4
- package/dist/{vue-ui-sparkgauge-CvhIe_mP.js → vue-ui-sparkgauge-CoGcwj8-.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DG824sGI.cjs → vue-ui-sparkgauge-Cra2_GdA.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B8k8a538.cjs → vue-ui-sparkhistogram-ClJhce64.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CVmbTFTc.js → vue-ui-sparkhistogram-ZI-zkp6j.js} +5 -5
- package/dist/{vue-ui-sparkline-CtqAbSzZ.js → vue-ui-sparkline-C4HvM0A7.js} +4 -4
- package/dist/{vue-ui-sparkline-7wnWuXDQ.cjs → vue-ui-sparkline-Cehnojts.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-57SONMGP.cjs → vue-ui-sparkstackbar-B6su4lbU.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DfwEeUC5.js → vue-ui-sparkstackbar-DbXifSgX.js} +5 -5
- package/dist/vue-ui-stackbar-Dxjx916g.cjs +6 -0
- package/dist/{vue-ui-stackbar-CGSVPiPx.js → vue-ui-stackbar-bBQdWmxo.js} +86 -86
- package/dist/{vue-ui-strip-plot-fJFkn8_0.js → vue-ui-strip-plot-BaAUPB0O.js} +36 -36
- package/dist/vue-ui-strip-plot-D3Mc4jJS.cjs +1 -0
- package/dist/{vue-ui-table-Das3959J.cjs → vue-ui-table-CO12Arh5.cjs} +1 -1
- package/dist/{vue-ui-table-CliL2Wsp.js → vue-ui-table-DyjampQ2.js} +1 -1
- package/dist/{vue-ui-table-heatmap-C28ozf2S.cjs → vue-ui-table-heatmap-BrXBITN7.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-ZsJMMGpG.js → vue-ui-table-heatmap-DC3LbLR1.js} +4 -4
- package/dist/{vue-ui-table-sparkline-0i9FAXug.cjs → vue-ui-table-sparkline-C-L8YXVO.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CrQNShdH.js → vue-ui-table-sparkline-MCUi0UPR.js} +5 -5
- package/dist/{vue-ui-thermometer-BaGL6WSb.js → vue-ui-thermometer-0Jw0Kc3K.js} +50 -50
- package/dist/vue-ui-thermometer-BbAmbpxI.cjs +1 -0
- package/dist/{vue-ui-timer-CFtgJ_Vi.cjs → vue-ui-timer-CgcO44Ga.cjs} +1 -1
- package/dist/{vue-ui-timer-Nk94fV-n.js → vue-ui-timer-D43Y73z-.js} +5 -5
- package/dist/vue-ui-tiremarks-B7GobiRR.cjs +1 -0
- package/dist/{vue-ui-tiremarks-zYgdq_99.js → vue-ui-tiremarks-C2z7LZOy.js} +25 -25
- package/dist/vue-ui-treemap-YuZUqTkv.cjs +1 -0
- package/dist/{vue-ui-treemap-CAxPcxn-.js → vue-ui-treemap-t2jSZWbw.js} +12 -12
- package/dist/{vue-ui-vertical-bar-Di3FBkwJ.js → vue-ui-vertical-bar-CXbzdSDN.js} +80 -80
- package/dist/vue-ui-vertical-bar-RH9oo9ao.cjs +4 -0
- package/dist/vue-ui-waffle-C6PA3aJK.cjs +1 -0
- package/dist/{vue-ui-waffle-DBJAQsEf.js → vue-ui-waffle-Z9KsaCxx.js} +45 -45
- package/dist/{vue-ui-wheel-BTZEr2Vs.js → vue-ui-wheel-BbBHPjUa.js} +27 -27
- package/dist/vue-ui-wheel-BmWfP7V3.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DBCVUkLM.js → vue-ui-word-cloud-CUi3fEZc.js} +72 -72
- package/dist/{vue-ui-word-cloud-BEaRWIu-.cjs → vue-ui-word-cloud-DysEgxAX.cjs} +1 -1
- package/dist/{vue-ui-xy-DbN93Pcf.cjs → vue-ui-xy-B7Q6HDzu.cjs} +2 -2
- package/dist/{vue-ui-xy-aKaGgYGL.js → vue-ui-xy-BWN8izeD.js} +16 -16
- package/dist/vue-ui-xy-canvas-DZB78JsG.cjs +9 -0
- package/dist/vue-ui-xy-canvas-DfhloBZx.js +1672 -0
- 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,18 +1,18 @@
|
|
|
1
|
-
import { toRef as ee, resolveComponent as te, createElementBlock as r, openBlock as l, Fragment as p, renderList as I, createCommentVNode as f, createBlock as O, createElementVNode as U, withModifiers as Ve, renderSlot as y, mergeProps as $e, withCtx as m, toDisplayString as Oe, useCssVars as je, computed as
|
|
2
|
-
import { u as Qe, o as Je, e as Ke, c as Te, t as et, p as Pe, a as tt, b as ot, P as lt, X as st, l as at, Q as rt, d as xe, q as nt, r as it, x as ut, y as ct } from "./index-
|
|
3
|
-
import { _ as dt } from "./Title-
|
|
4
|
-
import { u as vt, U as ht } from "./usePrinter-
|
|
5
|
-
import { D as ft } from "./DataTable-
|
|
6
|
-
import { _ as yt } from "./Tooltip-
|
|
7
|
-
import pt from "./vue-ui-skeleton-
|
|
8
|
-
import gt from "./vue-ui-accordion-
|
|
9
|
-
import { u as Fe } from "./useNestedProp-
|
|
10
|
-
import { _ as mt } from "./PackageVersion-
|
|
11
|
-
import {
|
|
1
|
+
import { toRef as ee, resolveComponent as te, createElementBlock as r, openBlock as l, Fragment as p, renderList as I, createCommentVNode as f, createBlock as O, createElementVNode as U, withModifiers as Ve, renderSlot as y, mergeProps as $e, withCtx as m, toDisplayString as Oe, useCssVars as je, computed as S, onMounted as We, ref as g, watch as Xe, unref as v, normalizeStyle as W, normalizeClass as we, createVNode as G, createSlots as Ye, normalizeProps as D, guardReactiveProps as N, createTextVNode as Ze, nextTick as qe } from "vue";
|
|
2
|
+
import { u as Qe, o as Je, e as Ke, c as Te, t as et, p as Pe, a as tt, b as ot, P as lt, X as st, l as at, Q as rt, d as xe, q as nt, r as it, x as ut, y as ct } from "./index-B_dU_4T8.js";
|
|
3
|
+
import { _ as dt } from "./Title-ND4kMErl.js";
|
|
4
|
+
import { u as vt, U as ht } from "./usePrinter-CLObTJ4a.js";
|
|
5
|
+
import { D as ft } from "./DataTable-BFNGlApm.js";
|
|
6
|
+
import { _ as yt } from "./Tooltip-BWe5TPIJ.js";
|
|
7
|
+
import pt from "./vue-ui-skeleton-CTZKsfWs.js";
|
|
8
|
+
import gt from "./vue-ui-accordion-C5dj9Voo.js";
|
|
9
|
+
import { u as Fe } from "./useNestedProp-7s4Pw7x0.js";
|
|
10
|
+
import { _ as mt } from "./PackageVersion-BZ8-AoE_.js";
|
|
11
|
+
import { _ as bt } from "./PenAndPaper--_AE7XzJ.js";
|
|
12
12
|
import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
13
|
import { u as Ct } from "./useChartAccessibility-BWojgys7.js";
|
|
14
14
|
import { u as $t } from "./usePanZoom-CUkkqW81.js";
|
|
15
|
-
import wt from "./BaseIcon-
|
|
15
|
+
import wt from "./BaseIcon-CdxldTMn.js";
|
|
16
16
|
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMouseover"], xt = ["x", "y", "height", "width", "onClick", "onMouseover"], Ft = {
|
|
18
18
|
__name: "RecursiveCircles",
|
|
@@ -68,9 +68,9 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
68
68
|
stroke: n.hoveredUid && n.hoveredUid === u.uid ? n.strokeHovered : n.stroke,
|
|
69
69
|
"stroke-width": n.hoveredUid && n.hoveredUid === u.uid ? u.circleRadius / 6 : u.circleRadius / 12,
|
|
70
70
|
style: { cursor: "pointer" },
|
|
71
|
-
onClick: (
|
|
72
|
-
onMouseover: (
|
|
73
|
-
onMouseleave: k[0] || (k[0] = (
|
|
71
|
+
onClick: (A) => h(u),
|
|
72
|
+
onMouseover: (A) => w(u),
|
|
73
|
+
onMouseleave: k[0] || (k[0] = (A) => w(null))
|
|
74
74
|
}, null, 40, Pt),
|
|
75
75
|
a.$slots.node ? (l(), r("foreignObject", {
|
|
76
76
|
key: 0,
|
|
@@ -79,9 +79,9 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
79
79
|
height: u.circleRadius * 2,
|
|
80
80
|
width: u.circleRadius * 2,
|
|
81
81
|
style: { overflow: "visible" },
|
|
82
|
-
onClick: Ve((
|
|
83
|
-
onMouseover: (
|
|
84
|
-
onMouseleave: k[1] || (k[1] = (
|
|
82
|
+
onClick: Ve((A) => h(u), ["stop"]),
|
|
83
|
+
onMouseover: (A) => w(u),
|
|
84
|
+
onMouseleave: k[1] || (k[1] = (A) => w(null))
|
|
85
85
|
}, [
|
|
86
86
|
y(a.$slots, "node", $e({ ref_for: !0 }, { node: u }))
|
|
87
87
|
], 40, xt)) : f("", !0)
|
|
@@ -105,7 +105,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
105
105
|
], 64))), 256);
|
|
106
106
|
};
|
|
107
107
|
}
|
|
108
|
-
}, Ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"],
|
|
108
|
+
}, Ot = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], St = {
|
|
109
109
|
__name: "RecursiveLinks",
|
|
110
110
|
props: {
|
|
111
111
|
dataset: {
|
|
@@ -164,7 +164,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
164
164
|
], 64);
|
|
165
165
|
};
|
|
166
166
|
}
|
|
167
|
-
},
|
|
167
|
+
}, At = ["x", "y", "fill", "font-size"], Ut = {
|
|
168
168
|
__name: "RecursiveLabels",
|
|
169
169
|
props: {
|
|
170
170
|
color: {
|
|
@@ -197,7 +197,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
197
197
|
"font-size": a.circleRadius,
|
|
198
198
|
"text-anchor": "middle",
|
|
199
199
|
style: { opacity: "0.8", "pointer-events": "none" }
|
|
200
|
-
}, Oe(a.name), 9,
|
|
200
|
+
}, Oe(a.name), 9, At))), 256)),
|
|
201
201
|
a.nodes && a.nodes.length > 0 ? (l(), O(i, {
|
|
202
202
|
key: 0,
|
|
203
203
|
dataset: a.nodes,
|
|
@@ -216,7 +216,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
216
216
|
}, Nt = {
|
|
217
217
|
key: 2,
|
|
218
218
|
style: "width:100%;background:transparent;"
|
|
219
|
-
},
|
|
219
|
+
}, _t = ["xmlns", "viewBox"], Lt = ["width", "height"], Et = ["id"], Ht = ["stop-color"], Mt = ["stop-color"], Bt = {
|
|
220
220
|
key: 5,
|
|
221
221
|
class: "vue-data-ui-watermark"
|
|
222
222
|
}, zt = {
|
|
@@ -248,7 +248,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
248
248
|
je((t) => ({
|
|
249
249
|
"6c5e8f09": t.slicerColor
|
|
250
250
|
}));
|
|
251
|
-
const { vue_ui_molecule: T } = Qe(), h = n, w = H, i =
|
|
251
|
+
const { vue_ui_molecule: T } = Qe(), h = n, w = H, i = S(() => !!h.dataset && h.dataset.length);
|
|
252
252
|
We(() => {
|
|
253
253
|
a();
|
|
254
254
|
});
|
|
@@ -258,7 +258,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
258
258
|
type: "dataset"
|
|
259
259
|
});
|
|
260
260
|
}
|
|
261
|
-
const k = g(Te()), X = g(null), u = g(!1), P = g(""), V = g(null),
|
|
261
|
+
const k = g(Te()), X = g(null), u = g(!1), P = g(""), V = g(null), A = g(0), oe = g(0), le = g(0), e = S({
|
|
262
262
|
get: () => re(),
|
|
263
263
|
set: (t) => t
|
|
264
264
|
}), { userOptionsVisible: Y, setUserOptionsVisibility: se, keepUserOptionState: ae } = kt({ config: e.value }), { svgRef: Z } = Ct({ config: e.value.style.chart.title });
|
|
@@ -282,7 +282,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
282
282
|
elementId: `cluster_${k.value}`,
|
|
283
283
|
fileName: e.value.style.chart.title.text || "vue-ui-molecule",
|
|
284
284
|
options: e.value.userOptions.print
|
|
285
|
-
}), Re =
|
|
285
|
+
}), Re = S(() => e.value.userOptions.show && !e.value.style.chart.title.text), Se = S(() => ot(e.value.customPalette)), $ = g({
|
|
286
286
|
showTable: e.value.table.show,
|
|
287
287
|
showDataLabels: !0,
|
|
288
288
|
showTooltip: e.value.style.chart.tooltip.show
|
|
@@ -290,7 +290,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
290
290
|
function de(t, s = 0) {
|
|
291
291
|
return Array.isArray(t) && t.length > 0 && t[0].nodes ? de(t[0].nodes, s + 1) : s;
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Ae() {
|
|
294
294
|
const t = de(h.dataset);
|
|
295
295
|
let s = 100, o = s;
|
|
296
296
|
for (let d = 0; d < t; d += 1)
|
|
@@ -300,7 +300,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
300
300
|
width: o
|
|
301
301
|
};
|
|
302
302
|
}
|
|
303
|
-
const C = g(
|
|
303
|
+
const C = g(Ae());
|
|
304
304
|
g(`0 0 ${C.value.width} ${C.value.height}`);
|
|
305
305
|
function ve(t, s = { x: -C.value.width / 2.43, y: C.value.height / 2 }, o = C.value.width / 1.1, d = 24, c = 0, b = 0, x = "#BBBBBB", J = 0) {
|
|
306
306
|
if (!Array.isArray(t) || t.length === 0) return t;
|
|
@@ -315,15 +315,15 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
315
315
|
let K = xe(F.color);
|
|
316
316
|
return K.startsWith("#") ? K : `#${K}`;
|
|
317
317
|
})() : null;
|
|
318
|
-
let
|
|
319
|
-
Ce ?
|
|
318
|
+
let L;
|
|
319
|
+
Ce ? L = Ce : J === 0 ? L = x : J === 1 ? (L = Se.value[b] || Pe[b] || x, b += 1) : L = x, F.polygonPath = { coordinates: [ke] }, F.circleRadius = d, F.color = L, F.uid = Te(), Array.isArray(F.nodes) && F.nodes.length && (F.nodes = ve(
|
|
320
320
|
F.nodes,
|
|
321
321
|
ke,
|
|
322
322
|
o / 2.9,
|
|
323
323
|
d / 2.2,
|
|
324
324
|
c + Math.PI * be / F.nodes.length,
|
|
325
325
|
b,
|
|
326
|
-
|
|
326
|
+
L,
|
|
327
327
|
J + 1
|
|
328
328
|
));
|
|
329
329
|
}), t;
|
|
@@ -344,7 +344,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
344
344
|
d[c] = `gradient_${b}`;
|
|
345
345
|
}), d;
|
|
346
346
|
}
|
|
347
|
-
const Ie =
|
|
347
|
+
const Ie = S(() => Ue(R.value)), R = S(() => {
|
|
348
348
|
const t = lt(h.dataset);
|
|
349
349
|
return ve(t);
|
|
350
350
|
}), q = g(null);
|
|
@@ -378,7 +378,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
378
378
|
function Ne(t) {
|
|
379
379
|
he.value = t, t ? (u.value = !0, De(t), M.value = t.uid) : (u.value = !1, P.value = "", M.value = null);
|
|
380
380
|
}
|
|
381
|
-
function
|
|
381
|
+
function _e(t) {
|
|
382
382
|
const s = [];
|
|
383
383
|
function o(d) {
|
|
384
384
|
d.forEach((c) => {
|
|
@@ -393,12 +393,12 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
393
393
|
}
|
|
394
394
|
return o(t), s;
|
|
395
395
|
}
|
|
396
|
-
const
|
|
396
|
+
const Le = S(() => _e(R.value)), _ = S(() => {
|
|
397
397
|
const t = [
|
|
398
398
|
e.value.table.translations.nodeName,
|
|
399
399
|
e.value.table.translations.details,
|
|
400
400
|
e.value.table.translations.ancestor
|
|
401
|
-
], s =
|
|
401
|
+
], s = Le.value.map((c, b) => [
|
|
402
402
|
{
|
|
403
403
|
color: c.color,
|
|
404
404
|
name: c.name
|
|
@@ -431,7 +431,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
431
431
|
});
|
|
432
432
|
function fe() {
|
|
433
433
|
qe(() => {
|
|
434
|
-
const t =
|
|
434
|
+
const t = _.value.body.map((d, c) => [[d[0].name], [d[1]], [d[2]]]), s = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[..._.value.head]]].concat(t), o = nt(s);
|
|
435
435
|
it({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-molecule" });
|
|
436
436
|
});
|
|
437
437
|
}
|
|
@@ -440,7 +440,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
440
440
|
}
|
|
441
441
|
const B = g(!1);
|
|
442
442
|
function He(t) {
|
|
443
|
-
B.value = t,
|
|
443
|
+
B.value = t, A.value += 1;
|
|
444
444
|
}
|
|
445
445
|
function ye() {
|
|
446
446
|
$.value.showTable = !$.value.showTable;
|
|
@@ -455,7 +455,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
455
455
|
function Q() {
|
|
456
456
|
z.value = !z.value;
|
|
457
457
|
}
|
|
458
|
-
const Me =
|
|
458
|
+
const Me = S(() => !z.value), { viewBox: j, resetZoom: me, isZoom: Be } = $t(Z, {
|
|
459
459
|
x: 0,
|
|
460
460
|
y: 0,
|
|
461
461
|
width: C.value.width <= 0 ? 10 : C.value.width,
|
|
@@ -511,7 +511,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
511
511
|
e.value.userOptions.show && i.value && (v(ae) || v(Y)) ? (l(), O(ht, {
|
|
512
512
|
ref_key: "details",
|
|
513
513
|
ref: X,
|
|
514
|
-
key: `user_options_${
|
|
514
|
+
key: `user_options_${A.value}`,
|
|
515
515
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
516
516
|
color: e.value.style.chart.color,
|
|
517
517
|
isPrinting: v(ne),
|
|
@@ -627,7 +627,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
627
627
|
}
|
|
628
628
|
}, [
|
|
629
629
|
y(t.$slots, "chart-background", {}, void 0, !0)
|
|
630
|
-
], 8,
|
|
630
|
+
], 8, Lt)) : f("", !0),
|
|
631
631
|
U("defs", null, [
|
|
632
632
|
(l(!0), r(p, null, I(Object.keys(Ie.value), (o) => (l(), r("radialGradient", {
|
|
633
633
|
id: `gradient_${o}`,
|
|
@@ -647,7 +647,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
647
647
|
}, null, 8, Mt)
|
|
648
648
|
], 8, Et))), 256))
|
|
649
649
|
]),
|
|
650
|
-
G(
|
|
650
|
+
G(St, {
|
|
651
651
|
dataset: R.value,
|
|
652
652
|
color: e.value.style.chart.links.stroke,
|
|
653
653
|
backgroundColor: e.value.style.chart.backgroundColor
|
|
@@ -672,7 +672,7 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
672
672
|
hoveredUid: M.value
|
|
673
673
|
}, null, 8, ["dataset", "color", "hoveredUid"])) : f("", !0),
|
|
674
674
|
y(t.$slots, "svg", { svg: C.value }, void 0, !0)
|
|
675
|
-
], 14,
|
|
675
|
+
], 14, _t)) : f("", !0),
|
|
676
676
|
t.$slots.watermark ? (l(), r("div", Bt, [
|
|
677
677
|
y(t.$slots, "watermark", D(N({ isPrinting: v(ne) || v(ie) })), void 0, !0)
|
|
678
678
|
])) : f("", !0),
|
|
@@ -753,10 +753,10 @@ const Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
753
753
|
content: m(() => [
|
|
754
754
|
(l(), O(ft, {
|
|
755
755
|
key: `table_${le.value}`,
|
|
756
|
-
colNames:
|
|
757
|
-
head:
|
|
758
|
-
body:
|
|
759
|
-
config:
|
|
756
|
+
colNames: _.value.colNames,
|
|
757
|
+
head: _.value.head,
|
|
758
|
+
body: _.value.body,
|
|
759
|
+
config: _.value.config,
|
|
760
760
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
761
761
|
onClose: s[1] || (s[1] = (o) => $.value.showTable = !1)
|
|
762
762
|
}, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),r=require("./index-HGCbG8YK.cjs"),oe=require("./Title-DWFudmma.cjs"),q=require("./usePrinter-B2PvJuo8.cjs"),le=require("./Legend-D8qnv865.cjs"),g=require("./BaseIcon-BQ6ScTsr.cjs"),ae=require("./DataTable-4qcYZrGF.cjs"),re=require("./vue-ui-skeleton-BBWwBSGZ.cjs"),ne=require("./vue-ui-accordion-CSuxLH7L.cjs"),z=require("./useNestedProp-O_JTsxQj.cjs"),se=require("./PackageVersion-sCi6-fwm.cjs"),ue=require("./PenAndPaper-DXiYR_ED.cjs"),ie=require("./useUserOptionState-BgepsfED.cjs"),ce=require("./useChartAccessibility-Cm7nkzTG.cjs"),de=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),ve=["id"],ye={key:2,style:"width:100%;background:transparent"},me=["xmlns","viewBox"],he=["width","height"],fe=["id"],pe=["stop-color"],ke=["stop-color"],ge=["x1","y1","x2","y2","stroke","stroke-width"],be=["d","stroke","stroke-width"],Ce=["stroke"],Ne=["fill"],we=["stroke"],xe=["fill"],Ve=["stroke"],_e=["fill"],Be=["stroke"],Pe=["fill"],$e=["stroke"],Me=["fill"],Ee=["d","stroke","stroke-width","fill"],Oe=["x1","y1","stroke"],Se=["cx","cy","fill","stroke"],Ae=["fill","stroke"],Te=["y","fill","font-weight"],Le=["y","fill"],Ie={key:5,class:"vue-data-ui-watermark"},Fe=["onClick"],qe={style:{"font-weight":"bold"}},ze={key:8,ref:"source",dir:"auto"},De=["innerHTML"],Re={__name:"vue-ui-mood-radar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},setup(D,{expose:R}){const{vue_ui_mood_radar:j}=r.useConfig(),u=D,m=e.computed(()=>!!u.dataset&&Object.keys(u.dataset).length);e.onMounted(()=>{V()});function V(){r.objectIsEmpty(u.dataset)&&r.error({componentName:"VueUiMoodRadar",type:"dataset"})}const h=e.ref(r.createUid()),_=e.ref(null),U=e.ref(null),n=e.ref(null),W=e.ref(null),G=e.ref(0),H=e.ref(0),B=e.ref(0),t=e.computed({get:()=>E(),set:l=>l}),{userOptionsVisible:N,setUserOptionsVisibility:P,keepUserOptionState:$}=ie.useUserOptionState({config:t.value}),{svgRef:M}=ce.useChartAccessibility({config:t.value.style.chart.title});function E(){const l=z.useNestedProp({userConfig:u.config,defaultConfig:j});return l.theme?{...z.useNestedProp({userConfig:r.themes.vue_ui_mood_radar[l.theme]||u.config,defaultConfig:l})}:l}e.watch(()=>u.config,l=>{t.value=E(),N.value=!t.value.userOptions.showOnChartHover,V(),G.value+=1,H.value+=1,B.value+=1,f.value.showTable=t.value.table.show},{deep:!0});const{isPrinting:O,isImaging:S,generatePdf:A,generateImage:T}=q.usePrinter({elementId:h.value,fileName:t.value.style.chart.title.text||"vue-ui-mood-radar",options:t.value.userOptions.print}),X=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),f=e.ref({showTable:t.value.table.show}),i=e.computed(()=>({height:256,width:256})),w=e.computed(()=>r.createPolygonPath({plot:{x:128,y:i.value.height/2},radius:90,sides:5,rotation:11}));function K({centerX:l,centerY:a,apexX:o,apexY:s,proportion:d,key:k,value:te}){return{x:l+(o-l)*d,y:a+(s-a)*d,key:k,value:te}}const Y=e.computed(()=>Math.max(...Object.values(u.dataset).map(l=>isNaN(l)?0:l))),y=e.computed(()=>Object.values(u.dataset).reduce((l,a)=>(isNaN(l)?0:l)+(isNaN(a)?0:a),0)),c=e.computed(()=>Object.keys(u.dataset).map((l,a)=>{const o=typeof u.dataset[l]!="number"||isNaN(u.dataset[l])?0:u.dataset[l];return{index:a,key:l,value:o,proportion:o/y.value,color:t.value.style.chart.layout.smileys.colors[l]}}).sort((l,a)=>a.key-l.key)),L=e.computed(()=>m.value?(["1","2","3","4","5"].forEach(l=>{[null,void 0].includes(u.dataset[l])&&r.error({componentName:"VueUiMoodRadar",type:"datasetAttribute",property:l})}),w.value.coordinates.map((l,a)=>{const o=K({centerX:i.value.width/2,centerY:i.value.height/2,apexX:l.x,apexY:l.y,proportion:c.value[a].value/Y.value,key:c.value[a].key,value:c.value[a].value});return{...l,plots:o,key:c.value[a].key}})):[]),J=e.computed(()=>({cy:"mood-radar-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""}));function Q(l){l===n.value?n.value=null:n.value=l}const v=e.computed(()=>{const l=c.value.map(o=>({name:o.key,color:o.color})),a=c.value.map(o=>isNaN(o.value)?0:o.value);return{head:l,body:a}});function I(){e.nextTick(()=>{const l=v.value.head.map((s,d)=>[[s.name],[v.value.body[d]],[isNaN(v.value.body[d]/y.value)?"-":v.value.body[d]/y.value*100]]),a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[[""],["val"],["%"]]].concat(l),o=r.createCsvContent(a);r.downloadCsv({csvContent:o,title:t.value.style.chart.title.text||"vue-ui-mood-radar"})})}const b=e.computed(()=>{const l=[' <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>',Number(y.value.toFixed(t.value.table.td.roundingValue)).toLocaleString(),"100%"],a=v.value.head.map((d,k)=>[{color:d.color,name:d.name},v.value.body[k].toFixed(t.value.table.td.roundingValue),isNaN(v.value.body[k]/y.value)?"-":(v.value.body[k]/y.value*100).toFixed(t.value.table.td.roundingPercentage)+"%"]),o={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint},s=[t.value.table.columnNames.series,t.value.table.columnNames.value,t.value.table.columnNames.percentage];return{head:l,body:a,config:o,colNames:s}});function Z(){return c.value}function F(){f.value.showTable=!f.value.showTable}const p=e.ref(!1);function ee(l){p.value=l}const C=e.ref(!1);function x(){C.value=!C.value}return R({getData:Z,generatePdf:A,generateCsv:I,generateImage:T,toggleTable:F,toggleAnnotator:x}),(l,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-mood-radar ${p.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),ref_key:"moodRadarChart",ref:_,id:`${h.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor}`),onMouseenter:a[11]||(a[11]=()=>e.unref(P)(!0)),onMouseleave:a[12]||(a[12]=()=>e.unref(P)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(ue._sfc_main,{key:0,svgRef:e.unref(M),backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:C.value,onClose:x},null,8,["svgRef","backgroundColor","color","active"])):e.createCommentVNode("",!0),X.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:W,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",ye,[e.createVNode(oe._sfc_main,{config:{title:{cy:"mood-radar-title",...t.value.style.chart.title},subtitle:{cy:"mood-radar-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"])])):e.createCommentVNode("",!0),t.value.userOptions.show&&m.value&&(e.unref($)||e.unref(N))?(e.openBlock(),e.createBlock(q.UserOptions,{key:3,ref_key:"details",ref:U,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(O),isImaging:e.unref(S),uid:h.value,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:p.value,titles:{...t.value.userOptions.buttonTitles},chartElement:_.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:C.value,onToggleFullscreen:ee,onGeneratePdf:e.unref(A),onGenerateCsv:I,onGenerateImage:e.unref(T),onToggleTable:F,onToggleAnnotator:x,style:e.normalizeStyle({visibility:e.unref($)?e.unref(N)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.menuIcon?{name:"menuIcon",fn:e.withCtx(({isOpen:o,color:s})=>[e.renderSlot(l.$slots,"menuIcon",e.normalizeProps(e.guardReactiveProps({isOpen:o,color:s})),void 0,!0)]),key:"0"}:void 0,l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:o,isFullscreen:s})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:o,isFullscreen:s})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:o,isAnnotator:s})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:o,isAnnotator:s})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasXls","hasImg","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:M,xmlns:e.unref(r.XMLNS),viewBox:`0 0 ${i.value.width} ${i.value.height}`,class:e.normalizeClass({"vue-data-ui-fullscreen--on":p.value,"vue-data-ui-fulscreen--off":!p.value}),style:e.normalizeStyle(`overflow:visible;background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(se._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:i.value.width,height:i.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,he)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[e.createElementVNode("radialGradient",{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%",id:`mood_radar_gradient_${h.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(r.setOpacity)(t.value.style.chart.layout.dataPolygon.color,t.value.style.chart.layout.dataPolygon.opacity)},null,8,pe),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(r.setOpacity)(e.unref(r.shiftHue)(t.value.style.chart.layout.dataPolygon.color,t.value.style.chart.layout.dataPolygon.gradient.intensity/100),t.value.style.chart.layout.dataPolygon.opacity)},null,8,ke)],8,fe)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value.coordinates,o=>(e.openBlock(),e.createElementBlock("line",{x1:i.value.width/2,y1:i.value.height/2,x2:o.x,y2:o.y,stroke:t.value.style.chart.layout.grid.stroke,"stroke-width":t.value.style.chart.layout.grid.strokeWidth},null,8,ge))),256)),e.createElementVNode("path",{d:w.value.path,fill:"none",stroke:t.value.style.chart.layout.outerPolygon.stroke,"stroke-width":t.value.style.chart.layout.outerPolygon.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,be),e.createElementVNode("path",{fill:"none",stroke:t.value.style.chart.layout.smileys.colors[5],"stroke-width":"1","stroke-linecap":"round",d:"M119 25A1 1 0 00137 25 1 1 0 00119 25M123 26C124 33 132 33 133 26L123 26M123 22A1 1 0 00126 22 1 1 0 00123 22M130 22A1 1 0 00133 22 1 1 0 00130 22"},null,8,Ce),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:a[0]||(a[0]=o=>n.value=5),onMouseleave:a[1]||(a[1]=o=>n.value=null),cx:"128",cy:"25",r:"20",fill:n.value===5?e.unref(r.setOpacity)(t.value.style.chart.layout.smileys.colors[5],20):"transparent"},null,40,Ne),e.createElementVNode("path",{fill:"none",stroke:t.value.style.chart.layout.smileys.colors[4],"stroke-width":"1","stroke-linecap":"round",d:"M218 95A1 1 0 00236 95 1 1 0 00218 95M222 97C225 99 229 99 232 97M222 92A1 1 0 00225 92 1 1 0 00222 92M229 92A1 1 0 00232 92 1 1 0 00229 92"},null,8,we),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:a[2]||(a[2]=o=>n.value=4),onMouseleave:a[3]||(a[3]=o=>n.value=null),cx:"227",cy:"95.5",r:"20",fill:n.value===4?e.unref(r.setOpacity)(t.value.style.chart.layout.smileys.colors[4],20):"transparent"},null,40,xe),e.createElementVNode("path",{fill:"none",stroke:t.value.style.chart.layout.smileys.colors[3],"stroke-width":"1","stroke-linecap":"round",d:"M181 213A1 1 0 00199 213 1 1 0 00181 213M185 210A1 1 0 00188 210 1 1 0 00185 210M192 210A1 1 0 00195 210 1 1 0 00192 210M185 215 195 215"},null,8,Ve),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:a[4]||(a[4]=o=>n.value=3),onMouseleave:a[5]||(a[5]=o=>n.value=null),cx:"190",cy:"213.5",r:"20",fill:n.value===3?e.unref(r.setOpacity)(t.value.style.chart.layout.smileys.colors[3],20):"transparent"},null,40,_e),e.createElementVNode("path",{fill:"none",stroke:t.value.style.chart.layout.smileys.colors[2],"stroke-width":"1","stroke-linecap":"round",d:"M56 213A1 1 0 0074 213 1 1 0 0056 213M60 216C63 214 67 214 70 216M60 210A1 1 0 0063 210 1 1 0 0060 210M67 210A1 1 0 0070 210 1 1 0 0067 210"},null,8,Be),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:a[6]||(a[6]=o=>n.value=2),onMouseleave:a[7]||(a[7]=o=>n.value=null),cx:"65",cy:"213.5",r:"20",fill:n.value===2?e.unref(r.setOpacity)(t.value.style.chart.layout.smileys.colors[2],20):"transparent"},null,40,Pe),e.createElementVNode("path",{fill:"none",stroke:t.value.style.chart.layout.smileys.colors[1],"stroke-width":"1","stroke-linecap":"round",d:"M20 96A1 1 0 0038 96 1 1 0 0020 96M24 100C25 95 33 95 34 100L24 100M24 93A1 1 0 0027 93 1 1 0 0024 93M31 93A1 1 0 0034 93 1 1 0 0031 93"},null,8,$e),e.createElementVNode("circle",{class:"vue-ui-mood-radar-trap",onMouseenter:a[8]||(a[8]=o=>n.value=1),onMouseleave:a[9]||(a[9]=o=>n.value=null),cx:"29",cy:"95.5",r:"20",fill:n.value===1?e.unref(r.setOpacity)(t.value.style.chart.layout.smileys.colors[1],20):"transparent"},null,40,Me),e.createElementVNode("path",{d:e.unref(r.makePath)(L.value.map(o=>o.plots)),stroke:t.value.style.chart.layout.dataPolygon.stroke,"stroke-width":t.value.style.chart.layout.dataPolygon.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round",fill:t.value.style.chart.layout.dataPolygon.gradient.show?`url(#mood_radar_gradient_${h.value})`:e.unref(r.setOpacity)(t.value.style.chart.layout.dataPolygon.color,t.value.style.chart.layout.dataPolygon.opacity)},null,8,Ee),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L.value.map(o=>o.plots),(o,s)=>(e.openBlock(),e.createElementBlock("g",{class:"vue-ui-mood-radar-trap",style:e.normalizeStyle(`opacity:${n.value==o.key?"1":"0"}`)},[e.createElementVNode("line",{x1:o.x,y1:o.y,x2:128,y2:128,stroke:t.value.style.chart.layout.smileys.colors[o.key]},null,8,Oe),e.createElementVNode("circle",{cx:o.x,cy:o.y,fill:t.value.style.chart.layout.smileys.colors[o.key],r:"3",stroke:t.value.style.chart.backgroundColor,"stroke-width":.5},null,8,Se),e.createElementVNode("circle",{cx:128,cy:128,fill:t.value.style.chart.layout.smileys.colors[o.key],r:"3",stroke:t.value.style.chart.backgroundColor,"stroke-width":.5},null,8,Ae),e.createElementVNode("text",{x:128,y:["5",5].includes(o.key)?145:120,fill:t.value.style.chart.layout.dataLabel.color,"font-size":"12","text-anchor":"middle","font-weight":t.value.style.chart.layout.dataLabel.bold?"bold":"normal"},e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.dataLabel.formatter,o.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.dataLabel.prefix,v:o.value,s:t.value.style.chart.layout.dataLabel.suffix,r:t.value.style.chart.layout.dataLabel.roundingValue}),{datapoint:o,seriesIndex:s})),9,Te),e.createElementVNode("text",{x:128,y:["5",5].includes(o.key)?163:102,fill:t.value.style.chart.layout.dataLabel.color,"font-size":"12","text-anchor":"middle"}," ("+e.toDisplayString(e.unref(r.dataLabel)({v:o.value/y.value*100,s:"%",r:t.value.style.chart.layout.dataLabel.roundingPercentage}))+") ",9,Le)],4))),256)),e.renderSlot(l.$slots,"svg",{svg:i.value},void 0,!0)],14,me)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ie,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(O)||e.unref(S)})),void 0,!0)])):e.createCommentVNode("",!0),m.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(re.default,{key:6,config:{type:"radar",style:{backgroundColor:t.value.style.chart.backgroundColor,radar:{grid:{color:"#CCCCCC"},shapes:{color:"#CCCCCC"}}}}},null,8,["config"])),t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(le.Legend,{legendSet:c.value,config:J.value,key:`legend_${B.value}`,style:{display:"flex","row-gap":"6px"}},{item:e.withCtx(({legend:o,index:s})=>[e.createElementVNode("div",{onClick:()=>Q(o.key),style:{display:"flex","flex-direction":"row",gap:"3px","align-items":"center",margin:"3px 0"}},[o.key==1?(e.openBlock(),e.createBlock(g.default,{key:0,strokeWidth:1,name:"moodSad",stroke:t.value.style.chart.layout.smileys.colors[o.key]},null,8,["stroke"])):e.createCommentVNode("",!0),o.key==2?(e.openBlock(),e.createBlock(g.default,{key:1,strokeWidth:1,name:"moodFlat",stroke:t.value.style.chart.layout.smileys.colors[o.key]},null,8,["stroke"])):e.createCommentVNode("",!0),o.key==3?(e.openBlock(),e.createBlock(g.default,{key:2,strokeWidth:1,name:"moodNeutral",stroke:t.value.style.chart.layout.smileys.colors[o.key]},null,8,["stroke"])):e.createCommentVNode("",!0),o.key==4?(e.openBlock(),e.createBlock(g.default,{key:3,strokeWidth:1,name:"smiley",stroke:t.value.style.chart.layout.smileys.colors[o.key]},null,8,["stroke"])):e.createCommentVNode("",!0),o.key==5?(e.openBlock(),e.createBlock(g.default,{key:4,strokeWidth:1,name:"moodHappy",stroke:t.value.style.chart.layout.smileys.colors[o.key]},null,8,["stroke"])):e.createCommentVNode("",!0),e.createElementVNode("span",qe,e.toDisplayString(e.unref(r.applyDataLabel)(t.value.style.chart.layout.dataLabel.formatter,o.value,e.unref(r.dataLabel)({p:t.value.style.chart.layout.dataLabel.prefix,v:o.value,s:t.value.style.chart.layout.dataLabel.suffix,r:t.value.style.chart.layout.dataLabel.roundingValue}),{datapoint:o,seriesIndex:s})),1),e.createTextVNode(" ("+e.toDisplayString(e.unref(r.dataLabel)({v:o.proportion*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1)],8,Fe)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(l.$slots,"legend",{legend:c.value},void 0,!0),l.$slots.source?(e.openBlock(),e.createElementBlock("div",ze,[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),m.value?(e.openBlock(),e.createBlock(ne.default,{key:9,hideDetails:"",config:{open:f.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[e.createVNode(ae.DataTable,{colNames:b.value.colNames,head:b.value.head,body:b.value.body,config:b.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[10]||(a[10]=o=>f.value.showTable=!1)},{th:e.withCtx(({th:o})=>[e.createElementVNode("div",{innerHTML:o,style:{display:"flex","align-items":"center"}},null,8,De)]),td:e.withCtx(({td:o})=>[e.createTextVNode(e.toDisplayString(o.name||o),1)]),_:1},8,["colNames","head","body","config","title"])]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,ve))}},je=de._export_sfc(Re,[["__scopeId","data-v-219c3ecd"]]);exports.default=je;
|
|
@@ -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-B_dU_4T8.js";
|
|
3
|
+
import { _ as Ve } from "./Title-ND4kMErl.js";
|
|
4
|
+
import { u as je, U as Re } from "./usePrinter-CLObTJ4a.js";
|
|
5
|
+
import { L as Ue } from "./Legend-B4eIw732.js";
|
|
6
|
+
import A from "./BaseIcon-CdxldTMn.js";
|
|
7
|
+
import { D as Be } from "./DataTable-BFNGlApm.js";
|
|
8
|
+
import De from "./vue-ui-skeleton-CTZKsfWs.js";
|
|
9
|
+
import We from "./vue-ui-accordion-C5dj9Voo.js";
|
|
10
|
+
import { u as re } from "./useNestedProp-7s4Pw7x0.js";
|
|
11
|
+
import { _ as ze } from "./PackageVersion-BZ8-AoE_.js";
|
|
12
|
+
import { _ as Ee } from "./PenAndPaper--_AE7XzJ.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
|
};
|