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,20 +1,20 @@
|
|
|
1
|
-
import { computed as h, ref as r, watch as we, onMounted as Xe, onBeforeUnmount as Ge, createElementBlock as u, openBlock as
|
|
2
|
-
import { u as je, c as qe, t as Je, p as Ce, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as xe, q as at, r as lt, y as ot } from "./index-
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as rt } from "./Title-
|
|
5
|
-
import { u as ut, U as it } from "./usePrinter-
|
|
6
|
-
import { L as ct } from "./Legend-
|
|
7
|
-
import { D as dt } from "./DataTable-
|
|
8
|
-
import { _ as vt } from "./Tooltip-
|
|
9
|
-
import ht from "./vue-ui-skeleton-
|
|
10
|
-
import ft from "./vue-ui-accordion-
|
|
11
|
-
import { u as Te } from "./useNestedProp-
|
|
12
|
-
import { _ as gt } from "./PackageVersion-
|
|
13
|
-
import {
|
|
1
|
+
import { computed as h, ref as r, watch as we, onMounted as Xe, onBeforeUnmount as Ge, createElementBlock as u, openBlock as n, unref as i, normalizeStyle as B, normalizeClass as U, createBlock as C, createCommentVNode as g, createElementVNode as _, createVNode as $e, createSlots as Ee, withCtx as f, renderSlot as d, normalizeProps as O, guardReactiveProps as P, Fragment as M, renderList as N, toDisplayString as I, createTextVNode as He, nextTick as We } from "vue";
|
|
2
|
+
import { u as je, c as qe, t as Je, p as Ce, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as xe, q as at, r as lt, y as ot } from "./index-B_dU_4T8.js";
|
|
3
|
+
import { t as st, u as nt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
4
|
+
import { _ as rt } from "./Title-ND4kMErl.js";
|
|
5
|
+
import { u as ut, U as it } from "./usePrinter-CLObTJ4a.js";
|
|
6
|
+
import { L as ct } from "./Legend-B4eIw732.js";
|
|
7
|
+
import { D as dt } from "./DataTable-BFNGlApm.js";
|
|
8
|
+
import { _ as vt } from "./Tooltip-BWe5TPIJ.js";
|
|
9
|
+
import ht from "./vue-ui-skeleton-CTZKsfWs.js";
|
|
10
|
+
import ft from "./vue-ui-accordion-C5dj9Voo.js";
|
|
11
|
+
import { u as Te } from "./useNestedProp-7s4Pw7x0.js";
|
|
12
|
+
import { _ as gt } from "./PackageVersion-BZ8-AoE_.js";
|
|
13
|
+
import { _ as pt } from "./PenAndPaper--_AE7XzJ.js";
|
|
14
14
|
import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as mt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
16
|
import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
-
const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], xt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = ["id"],
|
|
17
|
+
const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], xt = ["cx", "cy", "r", "stroke", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], Tt = ["id"], _t = ["stdDeviation"], Ot = ["filter"], Pt = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], It = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset", "onMouseenter"], At = { key: 2 }, St = ["onMouseenter"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Mt = {
|
|
18
18
|
key: 5,
|
|
19
19
|
class: "vue-data-ui-watermark"
|
|
20
20
|
}, Nt = ["onClick"], Rt = ["innerHTML"], Dt = {
|
|
@@ -34,8 +34,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
emits: ["selectLegend"],
|
|
37
|
-
setup(
|
|
38
|
-
const { vue_ui_onion: Ie } = je(), w =
|
|
37
|
+
setup(_e, { expose: Oe, emit: Pe }) {
|
|
38
|
+
const { vue_ui_onion: Ie } = je(), w = _e, D = h(() => !!w.dataset && w.dataset.length), x = r(qe()), Ae = r(null), Z = r(0), L = r(!1), X = r(""), y = r([]), A = r(null), ee = r(null), te = r(null), ae = r(null), le = r(null), oe = r(0), se = r(0), ne = r(0), e = h({
|
|
39
39
|
get: () => ce(),
|
|
40
40
|
set: (t) => t
|
|
41
41
|
}), { userOptionsVisible: G, setUserOptionsVisibility: re, keepUserOptionState: ue } = yt({ config: e.value }), { svgRef: ie } = mt({ config: e.value.style.chart.title });
|
|
@@ -53,7 +53,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
53
53
|
} : t;
|
|
54
54
|
}
|
|
55
55
|
we(() => w.config, (t) => {
|
|
56
|
-
e.value = ce(), G.value = !e.value.userOptions.showOnChartHover, ge(), oe.value += 1,
|
|
56
|
+
e.value = ce(), G.value = !e.value.userOptions.showOnChartHover, ge(), oe.value += 1, se.value += 1, ne.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
57
57
|
}, { deep: !0 });
|
|
58
58
|
const { isPrinting: de, isImaging: ve, generatePdf: he, generateImage: fe } = ut({
|
|
59
59
|
elementId: `vue-ui-onion_${x.value}`,
|
|
@@ -62,7 +62,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
62
62
|
}), Se = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Fe = h(() => Qe(e.value.customPalette)), m = r({
|
|
63
63
|
showTable: e.value.table.show,
|
|
64
64
|
showTooltip: e.value.style.chart.tooltip.show
|
|
65
|
-
}),
|
|
65
|
+
}), s = r({
|
|
66
66
|
height: 512,
|
|
67
67
|
width: 512,
|
|
68
68
|
padding: {
|
|
@@ -81,8 +81,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
81
81
|
componentName: "VueUiOnion",
|
|
82
82
|
type: "dataset"
|
|
83
83
|
}), e.value.responsive) {
|
|
84
|
-
const o =
|
|
85
|
-
const { width: a, height: l } =
|
|
84
|
+
const o = st(() => {
|
|
85
|
+
const { width: a, height: l } = nt({
|
|
86
86
|
chart: A.value,
|
|
87
87
|
title: e.value.style.chart.title.text ? ee.value : null,
|
|
88
88
|
legend: e.value.style.chart.legend.show ? te.value : null,
|
|
@@ -90,7 +90,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
90
90
|
noTitle: le.value
|
|
91
91
|
});
|
|
92
92
|
requestAnimationFrame(() => {
|
|
93
|
-
|
|
93
|
+
s.value.width = a, s.value.height = l, s.value.padding.top = Math.max(a, l) * 0.125, s.value.padding.right = Math.max(a, l) * 0.125, s.value.padding.bottom = Math.max(a, l) * 0.125, s.value.padding.left = Math.max(a, l) * 0.125, s.value.minRadius = Math.min(a, l) * 0.125;
|
|
94
94
|
});
|
|
95
95
|
});
|
|
96
96
|
V.value = new ResizeObserver(o), V.value.observe(A.value.parentNode);
|
|
@@ -100,16 +100,16 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
100
100
|
V.value && V.value.disconnect();
|
|
101
101
|
});
|
|
102
102
|
const c = h(() => ({
|
|
103
|
-
top:
|
|
104
|
-
left:
|
|
105
|
-
right:
|
|
106
|
-
bottom:
|
|
107
|
-
centerX:
|
|
108
|
-
centerY:
|
|
109
|
-
width:
|
|
110
|
-
height:
|
|
111
|
-
minRadius:
|
|
112
|
-
maxRadius: Math.min(
|
|
103
|
+
top: s.value.padding.top,
|
|
104
|
+
left: s.value.padding.left,
|
|
105
|
+
right: s.value.width - s.value.padding.right,
|
|
106
|
+
bottom: s.value.height - s.value.padding.bottom,
|
|
107
|
+
centerX: s.value.width / 2,
|
|
108
|
+
centerY: s.value.height / 2,
|
|
109
|
+
width: s.value.width - s.value.padding.right - s.value.padding.left,
|
|
110
|
+
height: s.value.height - s.value.padding.bottom - s.value.padding.top,
|
|
111
|
+
minRadius: s.value.minRadius,
|
|
112
|
+
maxRadius: Math.min(s.value.width, s.value.height) - s.value.padding.top * 2
|
|
113
113
|
})), v = h(() => (w.dataset.forEach((t, o) => {
|
|
114
114
|
[null, void 0].includes(t.name) && K({
|
|
115
115
|
componentName: "VueUiOnion",
|
|
@@ -285,7 +285,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
285
285
|
function j() {
|
|
286
286
|
Y.value = !Y.value;
|
|
287
287
|
}
|
|
288
|
-
return
|
|
288
|
+
return Oe({
|
|
289
289
|
getData: Be,
|
|
290
290
|
generatePdf: he,
|
|
291
291
|
generateCsv: ye,
|
|
@@ -293,7 +293,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
293
293
|
toggleTable: be,
|
|
294
294
|
toggleTooltip: ke,
|
|
295
295
|
toggleAnnotator: j
|
|
296
|
-
}), (t, o) => (
|
|
296
|
+
}), (t, o) => (n(), u("div", {
|
|
297
297
|
class: U(`vue-ui-onion ${T.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
298
298
|
ref_key: "onionChart",
|
|
299
299
|
ref: A,
|
|
@@ -302,7 +302,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
302
302
|
onMouseenter: o[4] || (o[4] = () => i(re)(!0)),
|
|
303
303
|
onMouseleave: o[5] || (o[5] = () => i(re)(!1))
|
|
304
304
|
}, [
|
|
305
|
-
e.value.userOptions.buttons.annotator ? (
|
|
305
|
+
e.value.userOptions.buttons.annotator ? (n(), C(pt, {
|
|
306
306
|
key: 0,
|
|
307
307
|
svgRef: i(ie),
|
|
308
308
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -310,20 +310,20 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
310
310
|
active: Y.value,
|
|
311
311
|
onClose: j
|
|
312
312
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
|
|
313
|
-
Se.value ? (
|
|
313
|
+
Se.value ? (n(), u("div", {
|
|
314
314
|
key: 1,
|
|
315
315
|
ref_key: "noTitle",
|
|
316
316
|
ref: le,
|
|
317
317
|
class: "vue-data-ui-no-title-space",
|
|
318
318
|
style: "height:36px; width: 100%;background:transparent"
|
|
319
319
|
}, null, 512)) : g("", !0),
|
|
320
|
-
e.value.style.chart.title.text ? (
|
|
320
|
+
e.value.style.chart.title.text ? (n(), u("div", {
|
|
321
321
|
key: 2,
|
|
322
322
|
ref_key: "chartTitle",
|
|
323
323
|
ref: ee,
|
|
324
324
|
style: "width:100%;background:transparent"
|
|
325
325
|
}, [
|
|
326
|
-
(
|
|
326
|
+
(n(), C(rt, {
|
|
327
327
|
key: `title_${oe.value}`,
|
|
328
328
|
config: {
|
|
329
329
|
title: {
|
|
@@ -337,7 +337,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
337
337
|
}
|
|
338
338
|
}, null, 8, ["config"]))
|
|
339
339
|
], 512)) : g("", !0),
|
|
340
|
-
e.value.userOptions.show && D.value && (i(ue) || i(G)) ? (
|
|
340
|
+
e.value.userOptions.show && D.value && (i(ue) || i(G)) ? (n(), C(it, {
|
|
341
341
|
ref_key: "details",
|
|
342
342
|
ref: Ae,
|
|
343
343
|
key: `user_options${Z.value}`,
|
|
@@ -373,7 +373,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
373
373
|
t.$slots.menuIcon ? {
|
|
374
374
|
name: "menuIcon",
|
|
375
375
|
fn: f(({ isOpen: a, color: l }) => [
|
|
376
|
-
d(t.$slots, "menuIcon",
|
|
376
|
+
d(t.$slots, "menuIcon", O(P({ isOpen: a, color: l })), void 0, !0)
|
|
377
377
|
]),
|
|
378
378
|
key: "0"
|
|
379
379
|
} : void 0,
|
|
@@ -415,41 +415,41 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
415
415
|
t.$slots.optionFullscreen ? {
|
|
416
416
|
name: "optionFullscreen",
|
|
417
417
|
fn: f(({ toggleFullscreen: a, isFullscreen: l }) => [
|
|
418
|
-
d(t.$slots, "optionFullscreen",
|
|
418
|
+
d(t.$slots, "optionFullscreen", O(P({ toggleFullscreen: a, isFullscreen: l })), void 0, !0)
|
|
419
419
|
]),
|
|
420
420
|
key: "6"
|
|
421
421
|
} : void 0,
|
|
422
422
|
t.$slots.optionAnnotator ? {
|
|
423
423
|
name: "optionAnnotator",
|
|
424
424
|
fn: f(({ toggleAnnotator: a, isAnnotator: l }) => [
|
|
425
|
-
d(t.$slots, "optionAnnotator",
|
|
425
|
+
d(t.$slots, "optionAnnotator", O(P({ toggleAnnotator: a, isAnnotator: l })), void 0, !0)
|
|
426
426
|
]),
|
|
427
427
|
key: "7"
|
|
428
428
|
} : void 0
|
|
429
429
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
430
|
-
D.value ? (
|
|
430
|
+
D.value ? (n(), u("svg", {
|
|
431
431
|
key: 4,
|
|
432
432
|
ref_key: "svgRef",
|
|
433
433
|
ref: ie,
|
|
434
434
|
xmlns: i(tt),
|
|
435
435
|
class: U({ "vue-data-ui-fullscreen--on": T.value, "vue-data-ui-fulscreen--off": !T.value }),
|
|
436
|
-
viewBox: `0 0 ${
|
|
436
|
+
viewBox: `0 0 ${s.value.width <= 0 ? 10 : s.value.width} ${s.value.height <= 0 ? 10 : s.value.height}`,
|
|
437
437
|
style: B(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
438
438
|
}, [
|
|
439
439
|
$e(gt),
|
|
440
|
-
t.$slots["chart-background"] ? (
|
|
440
|
+
t.$slots["chart-background"] ? (n(), u("foreignObject", {
|
|
441
441
|
key: 0,
|
|
442
442
|
x: 0,
|
|
443
443
|
y: 0,
|
|
444
|
-
width:
|
|
445
|
-
height:
|
|
444
|
+
width: s.value.width <= 0 ? 10 : s.value.width,
|
|
445
|
+
height: s.value.height <= 0 ? 10 : s.value.height,
|
|
446
446
|
style: {
|
|
447
447
|
pointerEvents: "none"
|
|
448
448
|
}
|
|
449
449
|
}, [
|
|
450
450
|
d(t.$slots, "chart-background", {}, void 0, !0)
|
|
451
451
|
], 8, $t)) : g("", !0),
|
|
452
|
-
(
|
|
452
|
+
(n(!0), u(M, null, N(b.value, (a, l) => (n(), u("circle", {
|
|
453
453
|
cx: c.value.centerX,
|
|
454
454
|
cy: c.value.centerY,
|
|
455
455
|
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
@@ -462,7 +462,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
462
462
|
class: U({ "vue-ui-onion-path": !0, "vue-ui-onion-blur": e.value.useBlurOnHover && ![null, void 0].includes(k.value) && k.value !== l }),
|
|
463
463
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
464
464
|
}, null, 10, Ct))), 256)),
|
|
465
|
-
(
|
|
465
|
+
(n(!0), u(M, null, N(b.value, (a, l) => (n(), u("circle", {
|
|
466
466
|
cx: c.value.centerX,
|
|
467
467
|
cy: c.value.centerY,
|
|
468
468
|
r: a.radius < 0 ? 1e-4 : a.radius,
|
|
@@ -475,25 +475,25 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
475
475
|
"stroke-linecap": "round",
|
|
476
476
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
477
477
|
}, null, 10, xt))), 256)),
|
|
478
|
-
|
|
479
|
-
|
|
478
|
+
_("defs", null, [
|
|
479
|
+
_("filter", {
|
|
480
480
|
id: `blur_${x.value}`,
|
|
481
481
|
x: "-50%",
|
|
482
482
|
y: "-50%",
|
|
483
483
|
width: "200%",
|
|
484
484
|
height: "200%"
|
|
485
485
|
}, [
|
|
486
|
-
|
|
486
|
+
_("feGaussianBlur", {
|
|
487
487
|
in: "SourceGraphic",
|
|
488
488
|
stdDeviation: 100 / e.value.style.chart.gradientIntensity
|
|
489
|
-
}, null, 8,
|
|
489
|
+
}, null, 8, _t)
|
|
490
490
|
], 8, Tt)
|
|
491
491
|
]),
|
|
492
|
-
e.value.style.chart.useGradient ? (
|
|
492
|
+
e.value.style.chart.useGradient ? (n(), u("g", {
|
|
493
493
|
key: 1,
|
|
494
494
|
filter: `url(#blur_${x.value})`
|
|
495
495
|
}, [
|
|
496
|
-
(
|
|
496
|
+
(n(!0), u(M, null, N(b.value, (a, l) => (n(), u("circle", {
|
|
497
497
|
cx: c.value.centerX,
|
|
498
498
|
cy: c.value.centerY,
|
|
499
499
|
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
@@ -505,8 +505,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
505
505
|
"stroke-dashoffset": a.path.dashOffset,
|
|
506
506
|
style: { transform: "rotate(-90deg)", "transform-origin": "50% 50%" }
|
|
507
507
|
}, null, 8, Pt))), 256))
|
|
508
|
-
], 8,
|
|
509
|
-
(
|
|
508
|
+
], 8, Ot)) : g("", !0),
|
|
509
|
+
(n(!0), u(M, null, N(b.value, (a, l) => (n(), u("circle", {
|
|
510
510
|
cx: c.value.centerX,
|
|
511
511
|
cy: c.value.centerY,
|
|
512
512
|
r: a.radius <= 0 ? 1e-4 : a.radius,
|
|
@@ -527,8 +527,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
527
527
|
k.value = void 0, L.value = !1;
|
|
528
528
|
})
|
|
529
529
|
}, null, 40, It))), 256)),
|
|
530
|
-
e.value.style.chart.layout.labels.show ? (
|
|
531
|
-
(
|
|
530
|
+
e.value.style.chart.layout.labels.show ? (n(), u("g", At, [
|
|
531
|
+
(n(!0), u(M, null, N(b.value, (a, l) => (n(), u("g", {
|
|
532
532
|
onMouseenter: (p) => me({
|
|
533
533
|
datapoint: a,
|
|
534
534
|
show: !0,
|
|
@@ -538,9 +538,9 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
538
538
|
k.value = void 0, L.value = !1;
|
|
539
539
|
})
|
|
540
540
|
}, [
|
|
541
|
-
y.value.includes(a.id) ? g("", !0) : (
|
|
541
|
+
y.value.includes(a.id) ? g("", !0) : (n(), u("text", {
|
|
542
542
|
key: 0,
|
|
543
|
-
x:
|
|
543
|
+
x: s.value.width / 2 - $.value.gutter * 0.8 + e.value.style.chart.layout.labels.offsetX,
|
|
544
544
|
y: a.labelY + e.value.style.chart.layout.labels.offsetY,
|
|
545
545
|
"text-anchor": "end",
|
|
546
546
|
"font-size": e.value.style.chart.layout.labels.fontSize,
|
|
@@ -573,12 +573,12 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
573
573
|
)})` : ""}`), 9, Ft))
|
|
574
574
|
], 40, St))), 256))
|
|
575
575
|
])) : g("", !0),
|
|
576
|
-
d(t.$slots, "svg", { svg:
|
|
576
|
+
d(t.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
577
577
|
], 14, wt)) : g("", !0),
|
|
578
|
-
t.$slots.watermark ? (
|
|
579
|
-
d(t.$slots, "watermark",
|
|
578
|
+
t.$slots.watermark ? (n(), u("div", Mt, [
|
|
579
|
+
d(t.$slots, "watermark", O(P({ isPrinting: i(de) || i(ve) })), void 0, !0)
|
|
580
580
|
])) : g("", !0),
|
|
581
|
-
D.value ? g("", !0) : (
|
|
581
|
+
D.value ? g("", !0) : (n(), C(ht, {
|
|
582
582
|
key: 6,
|
|
583
583
|
config: {
|
|
584
584
|
type: "onion",
|
|
@@ -590,18 +590,18 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
590
590
|
}
|
|
591
591
|
}
|
|
592
592
|
}, null, 8, ["config"])),
|
|
593
|
-
|
|
593
|
+
_("div", {
|
|
594
594
|
ref_key: "chartLegend",
|
|
595
595
|
ref: te
|
|
596
596
|
}, [
|
|
597
|
-
e.value.style.chart.legend.show ? (
|
|
598
|
-
key: `legend_${
|
|
597
|
+
e.value.style.chart.legend.show ? (n(), C(ct, {
|
|
598
|
+
key: `legend_${ne.value}`,
|
|
599
599
|
legendSet: v.value,
|
|
600
600
|
config: Le.value,
|
|
601
601
|
onClickMarker: o[2] || (o[2] = ({ legend: a }) => pe(a.id))
|
|
602
602
|
}, {
|
|
603
603
|
item: f(({ legend: a }) => [
|
|
604
|
-
|
|
604
|
+
_("div", {
|
|
605
605
|
"data-cy-legend-item": "",
|
|
606
606
|
onClick: (l) => a.segregate(),
|
|
607
607
|
style: B(`opacity:${y.value.includes(a.id) ? 0.5 : 1}`)
|
|
@@ -613,7 +613,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
613
613
|
legend: v.value
|
|
614
614
|
}, void 0, !0)
|
|
615
615
|
], 512),
|
|
616
|
-
t.$slots.source ? (
|
|
616
|
+
t.$slots.source ? (n(), u("div", {
|
|
617
617
|
key: 7,
|
|
618
618
|
ref_key: "source",
|
|
619
619
|
ref: ae,
|
|
@@ -638,14 +638,14 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
638
638
|
isCustom: i(xe)(e.value.style.chart.tooltip.customFormat)
|
|
639
639
|
}, {
|
|
640
640
|
"tooltip-before": f(() => [
|
|
641
|
-
d(t.$slots, "tooltip-before",
|
|
641
|
+
d(t.$slots, "tooltip-before", O(P({ ...W.value })), void 0, !0)
|
|
642
642
|
]),
|
|
643
643
|
"tooltip-after": f(() => [
|
|
644
|
-
d(t.$slots, "tooltip-after",
|
|
644
|
+
d(t.$slots, "tooltip-after", O(P({ ...W.value })), void 0, !0)
|
|
645
645
|
]),
|
|
646
646
|
_: 3
|
|
647
647
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
648
|
-
D.value ? (
|
|
648
|
+
D.value ? (n(), C(ft, {
|
|
649
649
|
key: 8,
|
|
650
650
|
hideDetails: "",
|
|
651
651
|
config: {
|
|
@@ -662,8 +662,8 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
662
662
|
}
|
|
663
663
|
}, {
|
|
664
664
|
content: f(() => [
|
|
665
|
-
(
|
|
666
|
-
key: `table_${
|
|
665
|
+
(n(), C(dt, {
|
|
666
|
+
key: `table_${se.value}`,
|
|
667
667
|
colNames: z.value.colNames,
|
|
668
668
|
head: z.value.head,
|
|
669
669
|
body: z.value.body,
|
|
@@ -675,7 +675,7 @@ const kt = ["id"], wt = ["xmlns", "viewBox"], $t = ["width", "height"], Ct = ["c
|
|
|
675
675
|
He(I(a), 1)
|
|
676
676
|
]),
|
|
677
677
|
td: f(({ td: a }) => [
|
|
678
|
-
|
|
678
|
+
_("div", { innerHTML: a }, null, 8, Rt)
|
|
679
679
|
]),
|
|
680
680
|
_: 1
|
|
681
681
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { computed as b, ref as v, watch as Xe, onMounted as Ye, onBeforeUnmount as qe, createElementBlock as i, openBlock as u, unref as x, normalizeStyle as T, normalizeClass as W, createBlock as z, createCommentVNode as m, createElementVNode as F, createVNode as Me, createSlots as Je, withCtx as k, renderSlot as f, normalizeProps as S, guardReactiveProps as D, Fragment as
|
|
2
|
-
import { u as Qe, c as ee, t as Ze, p as H, a as et, o as tt, e as ze, g as at, b as lt, d as ot, D as st, S as nt, T as ut, U as it, X as rt, x as Ie, F as G, q as ct, r as vt, i as Fe, f as Pe, y as dt } from "./index-
|
|
1
|
+
import { computed as b, ref as v, watch as Xe, onMounted as Ye, onBeforeUnmount as qe, createElementBlock as i, openBlock as u, unref as x, normalizeStyle as T, normalizeClass as W, createBlock as z, createCommentVNode as m, createElementVNode as F, createVNode as Me, createSlots as Je, withCtx as k, renderSlot as f, normalizeProps as S, guardReactiveProps as D, Fragment as $, renderList as I, toDisplayString as R, createTextVNode as Ke } from "vue";
|
|
2
|
+
import { u as Qe, c as ee, t as Ze, p as H, a as et, o as tt, e as ze, g as at, b as lt, d as ot, D as st, S as nt, T as ut, U as it, X as rt, x as Ie, F as G, q as ct, r as vt, i as Fe, f as Pe, y as dt } from "./index-B_dU_4T8.js";
|
|
3
3
|
import { t as ht, u as pt } from "./useResponsive-Cw4oZ8sQ.js";
|
|
4
|
-
import { _ as mt } from "./Title-
|
|
5
|
-
import { L as yt } from "./Legend-
|
|
6
|
-
import { _ as ft } from "./Tooltip-
|
|
7
|
-
import { _ as gt } from "./Shape-
|
|
8
|
-
import { u as bt, U as xt } from "./usePrinter-
|
|
9
|
-
import { D as kt } from "./DataTable-
|
|
10
|
-
import wt from "./vue-ui-accordion-
|
|
11
|
-
import
|
|
12
|
-
import { u as Ne } from "./useNestedProp-
|
|
13
|
-
import { _ as
|
|
14
|
-
import {
|
|
4
|
+
import { _ as mt } from "./Title-ND4kMErl.js";
|
|
5
|
+
import { L as yt } from "./Legend-B4eIw732.js";
|
|
6
|
+
import { _ as ft } from "./Tooltip-BWe5TPIJ.js";
|
|
7
|
+
import { _ as gt } from "./Shape-BQd108EW.js";
|
|
8
|
+
import { u as bt, U as xt } from "./usePrinter-CLObTJ4a.js";
|
|
9
|
+
import { D as kt } from "./DataTable-BFNGlApm.js";
|
|
10
|
+
import wt from "./vue-ui-accordion-C5dj9Voo.js";
|
|
11
|
+
import $t from "./vue-ui-skeleton-CTZKsfWs.js";
|
|
12
|
+
import { u as Ne } from "./useNestedProp-7s4Pw7x0.js";
|
|
13
|
+
import { _ as Ct } from "./PackageVersion-BZ8-AoE_.js";
|
|
14
|
+
import { _ as At } from "./PenAndPaper--_AE7XzJ.js";
|
|
15
15
|
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
16
|
import { u as _t } from "./useChartAccessibility-BWojgys7.js";
|
|
17
17
|
import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -161,9 +161,9 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
161
161
|
},
|
|
162
162
|
showTable: e.value.table.show,
|
|
163
163
|
showTooltip: e.value.style.chart.tooltip.show
|
|
164
|
-
}),
|
|
164
|
+
}), C = v([]);
|
|
165
165
|
function ge(t) {
|
|
166
|
-
|
|
166
|
+
C.value.includes(t) ? C.value = C.value.filter((l) => l !== t) : C.value.push(t);
|
|
167
167
|
}
|
|
168
168
|
const M = b(() => _.dataset.map((t, l) => {
|
|
169
169
|
const a = ot(t.color) || We.value[l] || H[l] || H[l % H.length];
|
|
@@ -181,9 +181,9 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
181
181
|
};
|
|
182
182
|
})), Ee = b(() => M.value.map((t) => ({
|
|
183
183
|
...t,
|
|
184
|
-
opacity:
|
|
184
|
+
opacity: C.value.includes(t.id) ? 0.5 : 1,
|
|
185
185
|
segregate: () => ge(t.id),
|
|
186
|
-
isSegregated:
|
|
186
|
+
isSegregated: C.value.includes(t.id)
|
|
187
187
|
}))), Ve = b(() => ({
|
|
188
188
|
cy: "pcp-div-legend",
|
|
189
189
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
@@ -192,8 +192,8 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
192
192
|
paddingBottom: 12,
|
|
193
193
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
194
194
|
})), be = b(() => Math.max(
|
|
195
|
-
...M.value.filter((t) =>
|
|
196
|
-
)), w = b(() => c.value.width / be.value), q = b(() => M.value.filter((t) =>
|
|
195
|
+
...M.value.filter((t) => !C.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
|
|
196
|
+
)), w = b(() => c.value.width / be.value), q = b(() => M.value.filter((t) => !C.value.includes(t.id))), g = b(() => {
|
|
197
197
|
let t = [];
|
|
198
198
|
for (let l = 0; l < be.value; l += 1) {
|
|
199
199
|
const a = Math.min(...q.value.flatMap((p) => p.series.map((B) => B.values[l] || 0) || 0)), o = Math.max(...q.value.flatMap((p) => p.series.map((B) => B.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, r = st(n, s, e.value.style.chart.yAxis.scaleTicks), A = r.ticks.map((p, B) => {
|
|
@@ -324,12 +324,12 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
324
324
|
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ke.value.head, a = ke.value.body, o = t.concat([l]).concat(a), n = ct(o);
|
|
325
325
|
vt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
|
|
326
326
|
}
|
|
327
|
-
const
|
|
327
|
+
const $e = Se;
|
|
328
328
|
function Be(t) {
|
|
329
|
-
|
|
329
|
+
$e("selectDatapoint", t);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
332
|
-
|
|
331
|
+
function Ce(t) {
|
|
332
|
+
$e("selectLegend", {
|
|
333
333
|
...t,
|
|
334
334
|
isSegregated: !t.isSegregated,
|
|
335
335
|
opacity: t.isSegregated ? 1 : 0.5
|
|
@@ -501,7 +501,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
501
501
|
viewBox: `0 0 ${c.value.chartWidth <= 0 ? 10 : c.value.chartWidth} ${c.value.chartHeight <= 0 ? 10 : c.value.chartHeight}`,
|
|
502
502
|
style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
503
503
|
}, [
|
|
504
|
-
Me(
|
|
504
|
+
Me(Ct),
|
|
505
505
|
t.$slots["chart-background"] ? (u(), i("foreignObject", {
|
|
506
506
|
key: 0,
|
|
507
507
|
x: c.value.left,
|
|
@@ -514,7 +514,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
514
514
|
}, [
|
|
515
515
|
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
516
516
|
], 8, Ft)) : m("", !0),
|
|
517
|
-
(u(!0), i(
|
|
517
|
+
(u(!0), i($, null, I(g.value, (a, o) => (u(), i("g", Pt, [
|
|
518
518
|
F("line", {
|
|
519
519
|
x1: c.value.left + w.value * o + w.value / 2,
|
|
520
520
|
x2: c.value.left + w.value * o + w.value / 2,
|
|
@@ -531,8 +531,8 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
531
531
|
"font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
|
|
532
532
|
"text-anchor": "middle"
|
|
533
533
|
}, R(a.name), 9, Ot),
|
|
534
|
-
e.value.style.chart.yAxis.labels.ticks.show ? (u(), i(
|
|
535
|
-
(u(!0), i(
|
|
534
|
+
e.value.style.chart.yAxis.labels.ticks.show ? (u(), i($, { key: 0 }, [
|
|
535
|
+
(u(!0), i($, null, I(a.ticks, (n) => (u(), i("line", {
|
|
536
536
|
x1: n.x,
|
|
537
537
|
x2: n.x - 10,
|
|
538
538
|
y1: n.y,
|
|
@@ -541,7 +541,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
541
541
|
"stroke-width": e.value.style.chart.yAxis.strokeWidth,
|
|
542
542
|
style: T(`opacity:${y.value && !h.value.showTooltip ? 0.2 : 1}`)
|
|
543
543
|
}, null, 12, Lt))), 256)),
|
|
544
|
-
(u(!0), i(
|
|
544
|
+
(u(!0), i($, null, I(a.ticks, (n) => (u(), i("text", {
|
|
545
545
|
x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
546
546
|
y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + d.value.ticksFontSize / 3,
|
|
547
547
|
fill: e.value.style.chart.yAxis.labels.ticks.color,
|
|
@@ -552,10 +552,10 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
552
552
|
}, R(xe({ value: n.value, index: o, datapoint: n })), 13, St))), 256))
|
|
553
553
|
], 64)) : m("", !0)
|
|
554
554
|
]))), 256)),
|
|
555
|
-
(u(!0), i(
|
|
556
|
-
(u(!0), i(
|
|
555
|
+
(u(!0), i($, null, I(J.value, (a) => (u(), i("g", null, [
|
|
556
|
+
(u(!0), i($, null, I(a.series, (o, n) => (u(), i("g", null, [
|
|
557
557
|
e.value.style.chart.plots.show ? (u(), i("g", Dt, [
|
|
558
|
-
(u(!0), i(
|
|
558
|
+
(u(!0), i($, null, I(o.datapoints, (s) => (u(), z(gt, {
|
|
559
559
|
plot: { x: s.x, y: s.y },
|
|
560
560
|
color: a.color,
|
|
561
561
|
shape: a.shape,
|
|
@@ -575,7 +575,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
575
575
|
style: T(`opacity:${y.value ? y.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
|
|
576
576
|
onClick: () => Be(s)
|
|
577
577
|
}, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
|
|
578
|
-
h.value.showTooltip ? m("", !0) : (u(), i(
|
|
578
|
+
h.value.showTooltip ? m("", !0) : (u(), i($, { key: 0 }, [
|
|
579
579
|
y.value && y.value === o.id && o.datapoints.length ? (u(), i("text", {
|
|
580
580
|
key: 0,
|
|
581
581
|
x: o.datapoints[0].x - d.value.ticksFontSize,
|
|
@@ -586,7 +586,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
586
586
|
"font-weight": "bold"
|
|
587
587
|
}, R(o.name), 9, Rt)) : m("", !0)
|
|
588
588
|
], 64)),
|
|
589
|
-
e.value.style.chart.comments.show ? (u(!0), i(
|
|
589
|
+
e.value.style.chart.comments.show ? (u(!0), i($, { key: 1 }, I(o.datapoints, (s) => (u(), i("g", null, [
|
|
590
590
|
s.comment ? (u(), i("foreignObject", {
|
|
591
591
|
key: 0,
|
|
592
592
|
style: { overflow: "visible" },
|
|
@@ -603,7 +603,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
603
603
|
], 8, Ut)) : m("", !0)
|
|
604
604
|
]))), 256)) : m("", !0)
|
|
605
605
|
])) : m("", !0),
|
|
606
|
-
h.value.dataLabels.show || y.value && y.value === o.id ? (u(!0), i(
|
|
606
|
+
h.value.dataLabels.show || y.value && y.value === o.id ? (u(!0), i($, { key: 1 }, I(o.datapoints, (s, r) => (u(), i("text", {
|
|
607
607
|
x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
608
608
|
y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + d.value.datapointFontSize / 3,
|
|
609
609
|
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
@@ -667,7 +667,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
667
667
|
t.$slots.watermark ? (u(), i("div", Bt, [
|
|
668
668
|
f(t.$slots, "watermark", S(D({ isPrinting: x(pe) || x(me) })), void 0, !0)
|
|
669
669
|
])) : m("", !0),
|
|
670
|
-
P.value ? m("", !0) : (u(), z(
|
|
670
|
+
P.value ? m("", !0) : (u(), z($t, {
|
|
671
671
|
key: 6,
|
|
672
672
|
config: {
|
|
673
673
|
type: "parallelCoordinatePlot",
|
|
@@ -685,15 +685,15 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
685
685
|
legendSet: Ee.value,
|
|
686
686
|
config: Ve.value,
|
|
687
687
|
onClickMarker: l[4] || (l[4] = ({ legend: a }) => {
|
|
688
|
-
ge(a.id),
|
|
688
|
+
ge(a.id), Ce(a);
|
|
689
689
|
})
|
|
690
690
|
}, {
|
|
691
691
|
item: k(({ legend: a, index: o }) => [
|
|
692
692
|
F("div", {
|
|
693
693
|
onClick: (n) => {
|
|
694
|
-
a.segregate(),
|
|
694
|
+
a.segregate(), Ce(a);
|
|
695
695
|
},
|
|
696
|
-
style: T(`opacity:${
|
|
696
|
+
style: T(`opacity:${C.value.includes(a.id) ? 0.5 : 1}`)
|
|
697
697
|
}, R(a.name), 13, Ht)
|
|
698
698
|
]),
|
|
699
699
|
_: 1
|