vue-data-ui 2.10.8 → 2.10.9
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-aCcBx0NS.js → Arrow-DCEAiiSq.js} +1 -1
- package/dist/{Arrow-NnfTvwbg.cjs → Arrow-kcA0IBBo.cjs} +1 -1
- package/dist/{BaseIcon-DmfPEj6j.cjs → BaseIcon-CmdFxgkp.cjs} +1 -1
- package/dist/{BaseIcon-DTt4YbQE.js → BaseIcon-DPO_4Adb.js} +1 -1
- package/dist/{ColorPicker-DrovFYIL.js → ColorPicker-D0FMoBTo.js} +3 -3
- package/dist/{ColorPicker-DsEujcIN.cjs → ColorPicker-DJn8_rVA.cjs} +1 -1
- package/dist/{DataTable-CX-Ynkp4.js → DataTable-BaAjwD5U.js} +2 -2
- package/dist/{DataTable-zSU-0X__.cjs → DataTable-OM4js4qI.cjs} +1 -1
- package/dist/{Legend-BTvPguV6.js → Legend-DqxOfhbM.js} +2 -2
- package/dist/{Legend-DFQ4iWI3.cjs → Legend-qwuGpvF8.cjs} +1 -1
- package/dist/{PackageVersion-DxR-fKLM.cjs → PackageVersion-Di-ZyR0_.cjs} +1 -1
- package/dist/{PackageVersion-CkUbRQrt.js → PackageVersion-gI4tUgWr.js} +1 -1
- package/dist/{PenAndPaper-CG9o3ymS.cjs → PenAndPaper-CtYhqkG5.cjs} +1 -1
- package/dist/{PenAndPaper-Br3OdauM.js → PenAndPaper-Di3hcmp3.js} +3 -3
- package/dist/{Shape-D9l3WJGO.cjs → Shape-CHiMFkEQ.cjs} +1 -1
- package/dist/{Shape-Y1FgLdPz.js → Shape-DJcgH2ks.js} +1 -1
- package/dist/{Slicer-B7FJCuCB.cjs → Slicer-BrBOWXeJ.cjs} +1 -1
- package/dist/{Slicer-C2GR76As.js → Slicer-DWZhB9e4.js} +2 -2
- package/dist/{Title-tlFeM12I.js → Title-B55VMGbm.js} +1 -1
- package/dist/{Title-CEZO2hzQ.cjs → Title-BiyGREAz.cjs} +1 -1
- package/dist/{Tooltip-BZa-QzER.cjs → Tooltip-C-Kq18lz.cjs} +1 -1
- package/dist/{Tooltip-BCtHh3BT.js → Tooltip-CMiCE06y.js} +1 -1
- package/dist/{dom-to-png-CjxHTZgX.js → dom-to-png-C6TvW1Fi.js} +1 -1
- package/dist/{dom-to-png-fAhFmKHV.cjs → dom-to-png-vuA7iQ84.cjs} +1 -1
- package/dist/{img-Ds_hWTTu.cjs → img-DHHWE-ji.cjs} +1 -1
- package/dist/{img-w_iFTYRY.js → img-z4AasNO4.js} +1 -1
- package/dist/{index-Dy2-pNb6.cjs → index-DlALYfRS.cjs} +1 -1
- package/dist/{index-Co5UfCMK.js → index-bVqxfptX.js} +1 -1
- package/dist/{pdf-BfkOvZWw.js → pdf-Ch5KSecz.js} +1 -1
- package/dist/{pdf-CCdcXY_7.cjs → pdf-D2qvws06.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-DQ8Jt3-Y.cjs → useNestedProp-BZX7zlGv.cjs} +1 -1
- package/dist/{useNestedProp-C22WP03t.js → useNestedProp-DU-vsdTb.js} +1 -1
- package/dist/{usePrinter-D_wgo-7k.js → usePrinter-BbeIGqpA.js} +3 -3
- package/dist/{usePrinter-BQEYwy4a.cjs → usePrinter-n1HzfoSm.cjs} +1 -1
- package/dist/{vue-data-ui-C18HDIa2.js → vue-data-ui-BI_bQ5jM.js} +62 -62
- package/dist/{vue-data-ui-zmg06AF1.cjs → vue-data-ui-DRqEhGYC.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-C_gJuhTV.cjs → vue-ui-3d-bar-BBKU0pAV.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-SB6p5amV.js → vue-ui-3d-bar-MSs9iIHL.js} +9 -9
- package/dist/{vue-ui-accordion-dVGUWjXH.cjs → vue-ui-accordion-CByAeInD.cjs} +1 -1
- package/dist/{vue-ui-accordion-CfB_jW1X.js → vue-ui-accordion-DQKCLM2T.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DZ_ajGY_.cjs → vue-ui-age-pyramid-D05rUuJG.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-G8ggvkGU.js → vue-ui-age-pyramid-pX29qF4-.js} +10 -10
- package/dist/{vue-ui-annotator-DeoWv4A3.js → vue-ui-annotator-BuG8aus2.js} +2 -2
- package/dist/{vue-ui-annotator-BkZat_7T.cjs → vue-ui-annotator-CvcBBO7e.cjs} +1 -1
- package/dist/{vue-ui-bullet-CvjS0_Pz.js → vue-ui-bullet-B9Xg6ifm.js} +8 -8
- package/dist/{vue-ui-bullet-D9jaszdm.cjs → vue-ui-bullet-BdvVX5da.cjs} +1 -1
- package/dist/{vue-ui-candlestick-xBYW3oOn.js → vue-ui-candlestick-B_iC_QzE.js} +11 -11
- package/dist/{vue-ui-candlestick-gnsNiFI3.cjs → vue-ui-candlestick-DPEZe5JP.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BKQIWhzt.js → vue-ui-carousel-table-DGEoBYe-.js} +4 -4
- package/dist/{vue-ui-carousel-table-DNW8HJNv.cjs → vue-ui-carousel-table-DOB6NiBx.cjs} +1 -1
- package/dist/{vue-ui-chestnut-C5RprHfl.js → vue-ui-chestnut-CiWVelvx.js} +8 -8
- package/dist/{vue-ui-chestnut-D9UKh8la.cjs → vue-ui-chestnut-DxF_6jB2.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-Cx4gGG1K.js → vue-ui-circle-pack-CJN2ybvx.js} +9 -9
- package/dist/{vue-ui-circle-pack-OTXbeD89.cjs → vue-ui-circle-pack-XEEX0oEn.cjs} +1 -1
- package/dist/{vue-ui-cursor-BuEDX1kV.cjs → vue-ui-cursor-7loRJMGF.cjs} +1 -1
- package/dist/{vue-ui-cursor-Cdvi-0lD.js → vue-ui-cursor-CqAjc9W_.js} +2 -2
- package/dist/{vue-ui-dashboard-BAPaHtqr.cjs → vue-ui-dashboard-CQn61jnh.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BLHl6FJI.js → vue-ui-dashboard-CdpzgIs_.js} +62 -62
- package/dist/{vue-ui-digits-CCAt8_aJ.js → vue-ui-digits-7ACjmgPM.js} +2 -2
- package/dist/{vue-ui-digits-YV4qxb86.cjs → vue-ui-digits-CuxGcV9M.cjs} +1 -1
- package/dist/{vue-ui-donut-BvjPFjpd.cjs → vue-ui-donut-BtvQmKji.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-DNhwy9qU.js → vue-ui-donut-evolution-BpEJNoJM.js} +11 -11
- package/dist/{vue-ui-donut-evolution-Dxx5Psl4.cjs → vue-ui-donut-evolution-fOc16UtY.cjs} +1 -1
- package/dist/{vue-ui-donut-CNZIha3Z.js → vue-ui-donut-m7KcUt0k.js} +12 -12
- package/dist/{vue-ui-dumbbell-MGMSs7vG.cjs → vue-ui-dumbbell-BTvPq02T.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-BmRkAtBK.js → vue-ui-dumbbell-Sy7rxejU.js} +10 -10
- package/dist/vue-ui-flow-BccWxEzt.cjs +3 -0
- package/dist/{vue-ui-flow-CxhJwDZa.js → vue-ui-flow-CbszU2ms.js} +314 -326
- package/dist/{vue-ui-funnel-CJHKcUDg.js → vue-ui-funnel-D3b6l6X6.js} +9 -9
- package/dist/{vue-ui-funnel-twMmn36_.cjs → vue-ui-funnel-D87BZsNK.cjs} +1 -1
- package/dist/{vue-ui-galaxy-BjBTNZ6j.cjs → vue-ui-galaxy-CDGqzTCy.cjs} +1 -1
- package/dist/{vue-ui-galaxy-CDonLoXv.js → vue-ui-galaxy-CUuzThWx.js} +11 -11
- package/dist/{vue-ui-gauge-C7L0uVvx.js → vue-ui-gauge-24FEcSzr.js} +7 -7
- package/dist/{vue-ui-gauge-DXadxMZn.cjs → vue-ui-gauge-B6RkYKug.cjs} +1 -1
- package/dist/{vue-ui-gizmo-u7ypeW6n.cjs → vue-ui-gizmo-BAsoCXMw.cjs} +1 -1
- package/dist/{vue-ui-gizmo-C9JuTLL-.js → vue-ui-gizmo-DeYTfhQU.js} +3 -3
- package/dist/{vue-ui-heatmap-DaAgigHH.js → vue-ui-heatmap-DpmJyXn-.js} +10 -10
- package/dist/{vue-ui-heatmap-Cjckqsrg.cjs → vue-ui-heatmap-QCkbTog8.cjs} +1 -1
- package/dist/{vue-ui-history-plot-YLMX8PqM.cjs → vue-ui-history-plot-BAW3WchG.cjs} +1 -1
- package/dist/{vue-ui-history-plot-KoGpnC64.js → vue-ui-history-plot-CBeiEcTE.js} +11 -11
- package/dist/{vue-ui-kpi-DNUDGlWM.js → vue-ui-kpi-3gKMDrTH.js} +3 -3
- package/dist/{vue-ui-kpi-GZlFX5zg.cjs → vue-ui-kpi-Pki59wPC.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-D1HhmCbC.cjs → vue-ui-mini-loader-BdSgh6y-.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-9YvdM0_A.js → vue-ui-mini-loader-Bo-F8i3n.js} +2 -2
- package/dist/{vue-ui-molecule-DDsKb9re.cjs → vue-ui-molecule-Bbs_Vy-A.cjs} +1 -1
- package/dist/{vue-ui-molecule-B71fJREj.js → vue-ui-molecule-DkVkHwM_.js} +11 -11
- package/dist/{vue-ui-mood-radar-DH4RYmdT.js → vue-ui-mood-radar-7qs15-ye.js} +11 -11
- package/dist/{vue-ui-mood-radar-BO4yaBxo.cjs → vue-ui-mood-radar-DcyKE-45.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-bOXvQ01U.js → vue-ui-nested-donuts-BYwluLLM.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BlxuqLPb.cjs → vue-ui-nested-donuts-iifvTxeT.cjs} +1 -1
- package/dist/{vue-ui-onion-D7VhEicc.js → vue-ui-onion-B7Asvx4M.js} +11 -11
- package/dist/{vue-ui-onion-BugH4ThJ.cjs → vue-ui-onion-DsS8vdCr.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DjTMM1Zt.cjs → vue-ui-parallel-coordinate-plot-CWyjLwOL.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Bc5Yr0Yr.js → vue-ui-parallel-coordinate-plot-CayH9RQe.js} +12 -12
- package/dist/{vue-ui-quadrant-Dni5Lkhg.cjs → vue-ui-quadrant--6zm3Tkv.cjs} +1 -1
- package/dist/{vue-ui-quadrant-PrjG5beo.js → vue-ui-quadrant-BSjpS3JD.js} +12 -12
- package/dist/{vue-ui-quick-chart-C46V8Ffa.js → vue-ui-quick-chart-DbfWPULd.js} +9 -9
- package/dist/{vue-ui-quick-chart-LuGKbIvU.cjs → vue-ui-quick-chart-DkUGMBfD.cjs} +1 -1
- package/dist/{vue-ui-radar-j2Vgot8p.cjs → vue-ui-radar-BrA-apr-.cjs} +1 -1
- package/dist/{vue-ui-radar-05pd47HM.js → vue-ui-radar-CvK5Nz5U.js} +12 -12
- package/dist/{vue-ui-rating-Bl_q3TYs.js → vue-ui-rating-C5qFRKy9.js} +2 -2
- package/dist/{vue-ui-rating-ClxiMhPq.cjs → vue-ui-rating-ctOiwHRD.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BuoQTWw_.cjs → vue-ui-relation-circle-35rE0_C0.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Bu5eYbEg.js → vue-ui-relation-circle-ChUKc3S5.js} +7 -7
- package/dist/{vue-ui-ridgeline-ESRn_Q1y.cjs → vue-ui-ridgeline-C_LoyQPY.cjs} +1 -1
- package/dist/{vue-ui-ridgeline-D4ot7MF8.js → vue-ui-ridgeline-DDrBrbxq.js} +12 -12
- package/dist/{vue-ui-rings-Dyl5VV9I.js → vue-ui-rings-DGhi_Jcb.js} +12 -12
- package/dist/{vue-ui-rings-D7o_vleu.cjs → vue-ui-rings-IM473vOr.cjs} +1 -1
- package/dist/{vue-ui-scatter-B31kZz0w.cjs → vue-ui-scatter-B7h_hWj7.cjs} +1 -1
- package/dist/{vue-ui-scatter-njuULIsD.js → vue-ui-scatter-DS9rUuE5.js} +12 -12
- package/dist/{vue-ui-skeleton-BSlYUHZA.js → vue-ui-skeleton-BARmXI9_.js} +3 -3
- package/dist/{vue-ui-skeleton-Db7PiDqL.cjs → vue-ui-skeleton-C-I7hIHS.cjs} +1 -1
- package/dist/{vue-ui-smiley-BmNRkSub.js → vue-ui-smiley-Ce4Rju1r.js} +2 -2
- package/dist/{vue-ui-smiley-CfdbRWq6.cjs → vue-ui-smiley-DwI6j0i8.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CwtYlUEX.cjs → vue-ui-spark-trend-BfcDH-Gp.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-B0Xvu1YP.js → vue-ui-spark-trend-CE1USqg6.js} +5 -5
- package/dist/{vue-ui-sparkbar-e2-8wHQH.js → vue-ui-sparkbar-B3NBNGl8.js} +4 -4
- package/dist/{vue-ui-sparkbar-Xy7idkhv.cjs → vue-ui-sparkbar-CdDBwkff.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-vjcDqzGe.cjs → vue-ui-sparkgauge-CPq_DRcO.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-_cMBBl3V.js → vue-ui-sparkgauge-Kgl_vvc7.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-BpD6XxfA.cjs → vue-ui-sparkhistogram-B9Mf4nA9.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-DUyGQgqZ.js → vue-ui-sparkhistogram-DNvaByAm.js} +5 -5
- package/dist/{vue-ui-sparkline-D1wfG3Yw.js → vue-ui-sparkline-6fUsXxoo.js} +4 -4
- package/dist/{vue-ui-sparkline-cPPxz94c.cjs → vue-ui-sparkline-DPFtUR9k.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BCTx016Z.js → vue-ui-sparkstackbar-B_O87Udb.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-iRVpx_xT.cjs → vue-ui-sparkstackbar-D8gErBiD.cjs} +1 -1
- package/dist/{vue-ui-stackbar--QKW68d6.js → vue-ui-stackbar-SQkqb5uZ.js} +13 -13
- package/dist/{vue-ui-stackbar-DCotybpB.cjs → vue-ui-stackbar-a7bzDCRQ.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-CdceC4jP.cjs → vue-ui-strip-plot-BbCMpSG9.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BhLBOV7s.js → vue-ui-strip-plot-Czg_UcLg.js} +11 -11
- package/dist/{vue-ui-table-DjDENKmJ.js → vue-ui-table-B0ANgSAH.js} +3 -3
- package/dist/{vue-ui-table-Cd9UeZXy.cjs → vue-ui-table-DTys0wh5.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CZdiE-l3.js → vue-ui-table-heatmap---afBYht.js} +4 -4
- package/dist/{vue-ui-table-heatmap-gbdWhEG_.cjs → vue-ui-table-heatmap-B46ApT8a.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-BFQ4DQRu.cjs → vue-ui-table-sparkline-CSi_2E82.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-zGotm14D.js → vue-ui-table-sparkline-cuO4BEcb.js} +5 -5
- package/dist/{vue-ui-thermometer-CRhrvWm0.cjs → vue-ui-thermometer-Bco6ThIk.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DA3KgSw1.js → vue-ui-thermometer-Cu3N2aZN.js} +7 -7
- package/dist/{vue-ui-timer-ult9htF3.js → vue-ui-timer-DnQAvYVy.js} +5 -5
- package/dist/{vue-ui-timer-DnXYrfrB.cjs → vue-ui-timer-GkxVjTEC.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-Dht-uT9E.cjs → vue-ui-tiremarks-CNW6BXVF.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CRXtVmEM.js → vue-ui-tiremarks-PX1AQ6u9.js} +7 -7
- package/dist/{vue-ui-treemap-Ck5tHVnE.js → vue-ui-treemap-Drg5MEcW.js} +12 -12
- package/dist/{vue-ui-treemap-pbhS4FfC.cjs → vue-ui-treemap-dm6Ion7A.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-egz76l34.js → vue-ui-vertical-bar-BtkKFF7C.js} +12 -12
- package/dist/{vue-ui-vertical-bar-BZjsolLB.cjs → vue-ui-vertical-bar-eA-iYb9s.cjs} +1 -1
- package/dist/{vue-ui-waffle-CrMkCjJJ.js → vue-ui-waffle-BAFVYzdi.js} +12 -12
- package/dist/{vue-ui-waffle-C7za7d0u.cjs → vue-ui-waffle-Bn77Yd88.cjs} +1 -1
- package/dist/{vue-ui-wheel-DIgPyNrB.cjs → vue-ui-wheel-D4VdCS3n.cjs} +1 -1
- package/dist/{vue-ui-wheel-DzMpr4xY.js → vue-ui-wheel-fMANwaEy.js} +7 -7
- package/dist/{vue-ui-word-cloud-TS3az-LK.js → vue-ui-word-cloud-Du0UUBsh.js} +10 -10
- package/dist/{vue-ui-word-cloud-CNqAz548.cjs → vue-ui-word-cloud-bX4J2Y8V.cjs} +1 -1
- package/dist/{vue-ui-world-D3X01xYB.js → vue-ui-world-B-Guo08O.js} +11 -11
- package/dist/{vue-ui-world-DMdqTY5G.cjs → vue-ui-world-BHNBu5o5.cjs} +1 -1
- package/dist/{vue-ui-xy-tIBPr8r8.js → vue-ui-xy-BN9Lh6Ic.js} +16 -16
- package/dist/{vue-ui-xy-CF87Afh2.cjs → vue-ui-xy-BkQt8l_A.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-BHeV-3t9.js → vue-ui-xy-canvas-D9avmh08.js} +12 -12
- package/dist/{vue-ui-xy-canvas-2IL8lPL4.cjs → vue-ui-xy-canvas-cfQsHd-5.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-flow-B3t_sNr4.cjs +0 -3
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { D as
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import { u as
|
|
9
|
-
import { _ as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { _ as
|
|
14
|
-
import { L as
|
|
15
|
-
import { _ as
|
|
16
|
-
const
|
|
1
|
+
import { computed as g, onMounted as et, ref as b, watch as tt, createElementBlock as m, openBlock as c, unref as d, normalizeStyle as P, normalizeClass as ze, createBlock as Y, createCommentVNode as T, createElementVNode as D, createVNode as ce, createSlots as ot, withCtx as w, renderSlot as k, normalizeProps as B, guardReactiveProps as G, Fragment as U, renderList as V, toDisplayString as W, createTextVNode as lt, nextTick as at } from "vue";
|
|
2
|
+
import { u as nt, o as st, e as rt, c as de, t as ut, p as S, a as it, b as ct, v as $, d as dt, f as j, X as vt, G as Ae, J as ft, i as ve, q as ht, r as pt, x as gt } from "./index-bVqxfptX.js";
|
|
3
|
+
import { _ as mt } from "./Title-B55VMGbm.js";
|
|
4
|
+
import { u as yt, U as bt } from "./usePrinter-BbeIGqpA.js";
|
|
5
|
+
import { D as kt } from "./DataTable-BaAjwD5U.js";
|
|
6
|
+
import Ct from "./vue-ui-accordion-DQKCLM2T.js";
|
|
7
|
+
import wt from "./vue-ui-skeleton-BARmXI9_.js";
|
|
8
|
+
import { u as He } from "./useNestedProp-DU-vsdTb.js";
|
|
9
|
+
import { _ as $t } from "./PackageVersion-gI4tUgWr.js";
|
|
10
|
+
import { _ as _t } from "./PenAndPaper-Di3hcmp3.js";
|
|
11
|
+
import { u as xt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
12
|
+
import { u as Tt } from "./useChartAccessibility-BWojgys7.js";
|
|
13
|
+
import { _ as Nt } from "./Tooltip-CMiCE06y.js";
|
|
14
|
+
import { L as Ot } from "./Legend-DqxOfhbM.js";
|
|
15
|
+
import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const Ft = ["id"], Lt = {
|
|
17
17
|
key: 1,
|
|
18
18
|
ref: "noTitle",
|
|
19
19
|
class: "vue-data-ui-no-title-space",
|
|
20
20
|
style: "height:36px; width: 100%;background:transparent"
|
|
21
|
-
},
|
|
21
|
+
}, Pt = {
|
|
22
22
|
key: 2,
|
|
23
23
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
24
|
-
},
|
|
24
|
+
}, It = ["xmlns", "viewBox"], Mt = ["width", "height"], Et = ["id"], zt = ["stop-color"], At = ["stop-color"], Ht = ["d", "fill", "stroke", "stroke-width"], Yt = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "onMouseenter"], Dt = ["x", "y", "font-size", "fill"], Bt = ["x", "y", "font-size", "fill"], Gt = {
|
|
25
25
|
key: 4,
|
|
26
26
|
class: "vue-data-ui-watermark"
|
|
27
|
-
},
|
|
27
|
+
}, Rt = ["onClick"], Ut = {
|
|
28
28
|
key: 6,
|
|
29
29
|
ref: "source",
|
|
30
30
|
dir: "auto"
|
|
31
|
-
},
|
|
31
|
+
}, Vt = ["innerHTML"], Wt = {
|
|
32
32
|
__name: "vue-ui-flow",
|
|
33
33
|
props: {
|
|
34
34
|
config: {
|
|
@@ -44,67 +44,67 @@ const Pt = ["id"], It = {
|
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
setup(
|
|
48
|
-
const { vue_ui_flow:
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
setup(Ye, { expose: De }) {
|
|
48
|
+
const { vue_ui_flow: Be } = nt(), _ = Ye, Q = g(() => !!_.dataset && _.dataset.length);
|
|
49
|
+
et(() => {
|
|
50
|
+
fe();
|
|
51
51
|
});
|
|
52
|
-
function
|
|
53
|
-
|
|
52
|
+
function fe() {
|
|
53
|
+
st(_.dataset) && rt({
|
|
54
54
|
componentName: "VueUiFlow",
|
|
55
55
|
type: "dataset"
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
|
-
const
|
|
59
|
-
function
|
|
60
|
-
E.value = t,
|
|
58
|
+
const ee = b(de()), te = b(null), he = b(0), pe = b(0), oe = b(!1), le = b(""), Ge = b(null), E = b(!1);
|
|
59
|
+
function Re(t) {
|
|
60
|
+
E.value = t, he.value += 1;
|
|
61
61
|
}
|
|
62
|
-
const e =
|
|
63
|
-
get: () =>
|
|
62
|
+
const e = g({
|
|
63
|
+
get: () => be(),
|
|
64
64
|
set: (t) => t
|
|
65
|
-
}), { userOptionsVisible:
|
|
65
|
+
}), { userOptionsVisible: ae, setUserOptionsVisibility: ge, keepUserOptionState: me } = xt({ config: e.value }), { svgRef: ye } = Tt({
|
|
66
66
|
config: e.value.style.chart.title
|
|
67
67
|
});
|
|
68
|
-
function
|
|
69
|
-
const t =
|
|
70
|
-
userConfig:
|
|
71
|
-
defaultConfig:
|
|
68
|
+
function be() {
|
|
69
|
+
const t = He({
|
|
70
|
+
userConfig: _.config,
|
|
71
|
+
defaultConfig: Be
|
|
72
72
|
});
|
|
73
73
|
let l = t;
|
|
74
74
|
return t.theme ? l = {
|
|
75
|
-
...
|
|
76
|
-
userConfig:
|
|
75
|
+
...He({
|
|
76
|
+
userConfig: it.vue_ui_flow[t.theme] || _.config,
|
|
77
77
|
defaultConfig: t
|
|
78
78
|
}),
|
|
79
|
-
customPalette:
|
|
80
|
-
} : l = t, l.nodeCategories =
|
|
79
|
+
customPalette: ut[t.theme] || S
|
|
80
|
+
} : l = t, l.nodeCategories = _.config.nodeCategories || {}, l.nodeCategoryColors = _.config.nodeCategoryColors || {}, l;
|
|
81
81
|
}
|
|
82
|
-
|
|
83
|
-
() =>
|
|
82
|
+
tt(
|
|
83
|
+
() => _.config,
|
|
84
84
|
(t) => {
|
|
85
|
-
e.value =
|
|
85
|
+
e.value = be(), ae.value = !e.value.userOptions.showOnChartHover, fe(), pe.value += 1, N.value.showTable = e.value.table.show;
|
|
86
86
|
},
|
|
87
87
|
{ deep: !0 }
|
|
88
88
|
);
|
|
89
|
-
const { isPrinting:
|
|
90
|
-
elementId: `flow_${
|
|
89
|
+
const { isPrinting: ke, isImaging: Ce, generatePdf: we, generateImage: $e } = yt({
|
|
90
|
+
elementId: `flow_${ee.value}`,
|
|
91
91
|
fileName: e.value.style.chart.title.text || "vue-ui-flow",
|
|
92
92
|
options: e.value.userOptions.print
|
|
93
|
-
}),
|
|
93
|
+
}), Ue = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), X = g(() => ct(e.value.customPalette)), _e = g(() => e.value.style.chart.nodes.gap), z = g(() => e.value.style.chart.nodes.width), N = b({
|
|
94
94
|
showTable: e.value.table.show,
|
|
95
95
|
showTooltip: e.value.style.chart.tooltip.show
|
|
96
|
-
}),
|
|
96
|
+
}), Ve = g(() => e.value.style.chart.links.width), ne = g(() => !_.dataset || !_.dataset.length ? [] : _.dataset.map((t, l) => [
|
|
97
97
|
t[0],
|
|
98
98
|
t[1],
|
|
99
|
-
|
|
100
|
-
t[3] ?
|
|
101
|
-
])),
|
|
99
|
+
$(t[2]),
|
|
100
|
+
t[3] ? dt(t[3]) : X.value[l] || X.value[l % X.value.length] || S[l] || S[l % S.length]
|
|
101
|
+
])), xe = g(() => {
|
|
102
102
|
const t = {};
|
|
103
103
|
function l(a) {
|
|
104
104
|
t[a] || (t[a] = { inflow: 0, outflow: 0 });
|
|
105
105
|
}
|
|
106
|
-
|
|
107
|
-
l(a), l(s), t[a].outflow +=
|
|
106
|
+
ne.value.forEach(([a, s, h]) => {
|
|
107
|
+
l(a), l(s), t[a].outflow += h, t[s].inflow += h;
|
|
108
108
|
});
|
|
109
109
|
let o = 0;
|
|
110
110
|
for (const a in t) {
|
|
@@ -113,14 +113,14 @@ const Pt = ["id"], It = {
|
|
|
113
113
|
}
|
|
114
114
|
return o;
|
|
115
115
|
});
|
|
116
|
-
function
|
|
117
|
-
return t /
|
|
116
|
+
function We(t) {
|
|
117
|
+
return t / xe.value * 100 + e.value.style.chart.nodes.minHeight;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function je(t) {
|
|
120
120
|
const l = e.value.style.chart.nodes.minHeight;
|
|
121
|
-
return (t - l) / 100 *
|
|
121
|
+
return (t - l) / 100 * xe.value;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Xe(t) {
|
|
124
124
|
const l = {}, o = {};
|
|
125
125
|
function a(n, u) {
|
|
126
126
|
l[n] || (l[n] = {
|
|
@@ -128,76 +128,76 @@ const Pt = ["id"], It = {
|
|
|
128
128
|
level: null,
|
|
129
129
|
inflow: 0,
|
|
130
130
|
outflow: 0,
|
|
131
|
-
uid:
|
|
131
|
+
uid: de()
|
|
132
132
|
}), l[n].level === null && (l[n].level = u), o[u] || (o[u] = []), o[u].includes(n) || o[u].push(n);
|
|
133
133
|
}
|
|
134
134
|
t.forEach(([n, u, i]) => {
|
|
135
135
|
var r;
|
|
136
|
-
const
|
|
137
|
-
a(n,
|
|
136
|
+
const v = ((r = l[n]) == null ? void 0 : r.level) ?? 0, p = v + 1;
|
|
137
|
+
a(n, v), a(u, p), l[n].children || (l[n].children = []), l[n].children.push({ target: u, value: i }), l[n].outflow += i, l[u].inflow += i;
|
|
138
138
|
});
|
|
139
|
-
const s = new Set(t.map(([n]) => n)),
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
const s = new Set(t.map(([n]) => n)), h = new Set(t.map(([, n]) => n)), F = Array.from(s).filter((n) => !h.has(n)), H = {};
|
|
140
|
+
F.forEach((n, u) => {
|
|
141
|
+
H[n] = X.value[u] || S[u % S.length];
|
|
142
142
|
});
|
|
143
|
-
const
|
|
144
|
-
t.forEach(([n, u, i,
|
|
145
|
-
|
|
143
|
+
const x = {};
|
|
144
|
+
t.forEach(([n, u, i, v]) => {
|
|
145
|
+
v && (x[n] = v, x[u] = v);
|
|
146
146
|
}), Object.keys(l).forEach((n, u) => {
|
|
147
|
-
var
|
|
148
|
-
const i = (
|
|
149
|
-
l[n].color =
|
|
150
|
-
|
|
151
|
-
(
|
|
152
|
-
|
|
147
|
+
var p, r;
|
|
148
|
+
const i = (p = e.value.nodeCategories) == null ? void 0 : p[n], v = i ? (r = e.value.nodeCategoryColors) == null ? void 0 : r[i] : null;
|
|
149
|
+
l[n].color = x[n] || // 1) explicit
|
|
150
|
+
v || // 2) category
|
|
151
|
+
(F.includes(n) ? H[n] : null) || // 3) root
|
|
152
|
+
S[u % S.length];
|
|
153
153
|
});
|
|
154
154
|
for (const n in l)
|
|
155
|
-
l[n].height =
|
|
155
|
+
l[n].height = We(
|
|
156
156
|
Math.max(l[n].inflow, l[n].outflow)
|
|
157
157
|
), l[n].name = n;
|
|
158
158
|
const O = {};
|
|
159
159
|
for (const n in o) {
|
|
160
160
|
let u = 0;
|
|
161
|
-
o[n].forEach((i,
|
|
162
|
-
const
|
|
161
|
+
o[n].forEach((i, v) => {
|
|
162
|
+
const p = l[i];
|
|
163
163
|
O[i] = {
|
|
164
|
-
x: parseInt(n, 10) *
|
|
164
|
+
x: parseInt(n, 10) * Ve.value + e.value.style.chart.padding.left,
|
|
165
165
|
y: u,
|
|
166
166
|
absoluteY: u,
|
|
167
|
-
height:
|
|
168
|
-
i:
|
|
169
|
-
color:
|
|
170
|
-
value:
|
|
171
|
-
}, u +=
|
|
167
|
+
height: p.height,
|
|
168
|
+
i: v,
|
|
169
|
+
color: p.color,
|
|
170
|
+
value: je(p.height)
|
|
171
|
+
}, u += p.height + _e.value;
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
|
-
const
|
|
174
|
+
const M = [];
|
|
175
175
|
for (const n of Object.keys(l)) {
|
|
176
176
|
let u = O[n].absoluteY + e.value.style.chart.padding.top;
|
|
177
|
-
const i = l[n],
|
|
178
|
-
i.children && i.children.forEach(({ target:
|
|
179
|
-
const
|
|
180
|
-
u + r / i.outflow *
|
|
181
|
-
),
|
|
182
|
-
|
|
183
|
-
),
|
|
184
|
-
|
|
177
|
+
const i = l[n], v = O[n];
|
|
178
|
+
i.children && i.children.forEach(({ target: p, value: r }) => {
|
|
179
|
+
const f = O[p], L = l[p], K = $(u), Me = $(
|
|
180
|
+
u + r / i.outflow * v.height
|
|
181
|
+
), ie = $(
|
|
182
|
+
f.y + e.value.style.chart.padding.top
|
|
183
|
+
), Ee = $(
|
|
184
|
+
ie + r / L.inflow * f.height
|
|
185
185
|
);
|
|
186
|
-
|
|
187
|
-
id:
|
|
186
|
+
M.push({
|
|
187
|
+
id: de(),
|
|
188
188
|
source: n,
|
|
189
|
-
target:
|
|
190
|
-
path: `M ${
|
|
189
|
+
target: p,
|
|
190
|
+
path: `M ${$(v.x + z.value)} ${K} L ${$(v.x + z.value)} ${Me} L ${$(f.x)} ${Ee} L ${$(f.x)} ${ie} Z`,
|
|
191
191
|
value: r,
|
|
192
192
|
sourceColor: i.color,
|
|
193
|
-
targetColor:
|
|
194
|
-
}), u +=
|
|
193
|
+
targetColor: L.color
|
|
194
|
+
}), u += Me - K, O[p].y += Ee - ie;
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
|
-
return { nodeCoordinates: O, links:
|
|
197
|
+
return { nodeCoordinates: O, links: M };
|
|
198
198
|
}
|
|
199
|
-
const
|
|
200
|
-
const t =
|
|
199
|
+
const y = g(() => {
|
|
200
|
+
const t = Xe(_.dataset);
|
|
201
201
|
return {
|
|
202
202
|
nodes: Object.keys(t.nodeCoordinates).map((l, o) => ({
|
|
203
203
|
...t.nodeCoordinates[l],
|
|
@@ -205,108 +205,96 @@ const Pt = ["id"], It = {
|
|
|
205
205
|
})),
|
|
206
206
|
links: t.links
|
|
207
207
|
};
|
|
208
|
-
})
|
|
209
|
-
|
|
208
|
+
});
|
|
209
|
+
g(() => qe(y.value.nodes));
|
|
210
|
+
function qe(t) {
|
|
210
211
|
const l = {};
|
|
211
212
|
for (const a in t) {
|
|
212
|
-
const { x: s, height:
|
|
213
|
-
l[s] || (l[s] = 0), l[s] +=
|
|
213
|
+
const { x: s, height: h } = t[a];
|
|
214
|
+
l[s] || (l[s] = 0), l[s] += h + _e.value;
|
|
214
215
|
}
|
|
215
216
|
return Math.max(...Object.values(l));
|
|
216
217
|
}
|
|
217
|
-
const
|
|
218
|
-
const {
|
|
219
|
-
|
|
220
|
-
right: l,
|
|
221
|
-
left: o,
|
|
222
|
-
bottom: a
|
|
223
|
-
} = e.value.style.chart.padding, s = q.value.length * xe.value;
|
|
224
|
-
return {
|
|
225
|
-
height: Je.value + t + a,
|
|
226
|
-
width: l + Math.max(...C.value.nodes.map((p) => p.x)) + z.value,
|
|
227
|
-
left: o,
|
|
228
|
-
top: t,
|
|
229
|
-
right: s - l,
|
|
230
|
-
p_top: t,
|
|
231
|
-
p_bottom: a
|
|
232
|
-
};
|
|
218
|
+
const R = g(() => {
|
|
219
|
+
const { left: t, right: l, top: o, bottom: a } = e.value.style.chart.padding, s = Math.max(...y.value.nodes.map((x) => x.x)), h = Math.ceil(s + z.value + l), F = Math.max(...y.value.nodes.map((x) => x.absoluteY + x.height)), H = Math.ceil(F + a);
|
|
220
|
+
return { width: h, height: H, left: t, top: o, right: l, bottom: a };
|
|
233
221
|
});
|
|
234
|
-
function
|
|
222
|
+
function Je(t) {
|
|
235
223
|
const l = {}, o = {}, a = /* @__PURE__ */ new Set();
|
|
236
|
-
return
|
|
237
|
-
l[s] || (l[s] = []), o[
|
|
224
|
+
return ne.value.forEach(([s, h, F]) => {
|
|
225
|
+
l[s] || (l[s] = []), o[h] || (o[h] = []), l[s].push(h), o[h].push(s);
|
|
238
226
|
}), l[t] && l[t].forEach((s) => a.add(s)), o[t] && o[t].forEach((s) => a.add(s)), Array.from(a).concat(t);
|
|
239
227
|
}
|
|
240
|
-
const
|
|
241
|
-
function
|
|
242
|
-
|
|
243
|
-
const l = t.name, o =
|
|
244
|
-
let a = 0, s = 0,
|
|
245
|
-
const
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
}), o.forEach(([r,
|
|
249
|
-
|
|
228
|
+
const C = b(null), A = b(null), se = b(null), q = b(!1);
|
|
229
|
+
function Ze(t) {
|
|
230
|
+
I.value = [], C.value = Je(t.name), A.value = t.name;
|
|
231
|
+
const l = t.name, o = ne.value;
|
|
232
|
+
let a = 0, s = 0, h = [], F = [];
|
|
233
|
+
const H = new Set(o.map(([r]) => r)), x = new Set(o.map(([, r]) => r)), Ie = Array.from(H).filter((r) => !x.has(r)), O = o.filter(([r]) => Ie.includes(r)).reduce((r, [f, L, K]) => r + K, 0), M = {};
|
|
234
|
+
y.value.nodes.forEach((r) => {
|
|
235
|
+
M[r.name] = r.color;
|
|
236
|
+
}), o.forEach(([r, f, L]) => {
|
|
237
|
+
f === l && (a += L, h.push({ source: r, value: L, color: M[r] })), r === l && (s += L, F.push({ target: f, value: L, color: M[f] }));
|
|
250
238
|
});
|
|
251
239
|
const n = Math.max(a, s), u = O > 0 ? n / O * 100 : 0, i = {
|
|
252
240
|
name: l,
|
|
253
241
|
inflow: a,
|
|
254
242
|
outflow: s,
|
|
255
|
-
from:
|
|
256
|
-
to:
|
|
243
|
+
from: h,
|
|
244
|
+
to: F,
|
|
257
245
|
percentOfTotal: u,
|
|
258
|
-
color:
|
|
246
|
+
color: M[l] || "#000000"
|
|
259
247
|
};
|
|
260
|
-
|
|
261
|
-
let
|
|
262
|
-
const
|
|
263
|
-
if (
|
|
248
|
+
se.value = { datapoint: i }, oe.value = !0;
|
|
249
|
+
let v = "";
|
|
250
|
+
const p = e.value.style.chart.tooltip.customFormat;
|
|
251
|
+
if (q.value = !1, gt(p))
|
|
264
252
|
try {
|
|
265
|
-
const r =
|
|
253
|
+
const r = p({
|
|
266
254
|
datapoint: i,
|
|
267
|
-
series:
|
|
255
|
+
series: y.value,
|
|
268
256
|
config: e.value
|
|
269
257
|
});
|
|
270
|
-
typeof r == "string" && (
|
|
258
|
+
typeof r == "string" && (le.value = r, q.value = !0);
|
|
271
259
|
} catch {
|
|
272
260
|
console.warn("Custom format cannot be applied.");
|
|
273
261
|
}
|
|
274
|
-
if (!
|
|
262
|
+
if (!q.value) {
|
|
275
263
|
const r = e.value.style.chart.tooltip.showPercentage ? `<div>${j({
|
|
276
264
|
p: e.value.style.chart.tooltip.translations.percentOfTotal,
|
|
277
265
|
v: i.percentOfTotal,
|
|
278
266
|
s: "%",
|
|
279
267
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
280
268
|
})}</div>` : "";
|
|
281
|
-
|
|
282
|
-
|
|
269
|
+
v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${i.color}">⏹</span>${i.name}${r}</div>`, i.from.length && (v += `<div>${e.value.style.chart.tooltip.translations.from}</div>`, i.from.forEach((f) => {
|
|
270
|
+
v += `<div><span style="color:${f.color}">⏹←</span> ${f.source}: ${ve(
|
|
283
271
|
e.value.style.chart.nodes.labels.formatter,
|
|
284
|
-
|
|
272
|
+
f.value,
|
|
285
273
|
j({
|
|
286
274
|
p: e.value.style.chart.nodes.labels.prefix,
|
|
287
|
-
v:
|
|
275
|
+
v: f.value,
|
|
288
276
|
s: e.value.style.chart.nodes.labels.suffix,
|
|
289
277
|
r: e.value.style.chart.nodes.labels.rounding
|
|
290
278
|
})
|
|
291
279
|
)}</div>`;
|
|
292
|
-
})), i.to.length && (
|
|
293
|
-
|
|
280
|
+
})), i.to.length && (v += `<div style="margin-top:6px;">${e.value.style.chart.tooltip.translations.to}</div>`, i.to.forEach((f) => {
|
|
281
|
+
v += `<div><span style="color:${f.color}">⏹→</span> ${f.target}: ${ve(
|
|
294
282
|
e.value.style.chart.nodes.labels.formatter,
|
|
295
|
-
|
|
283
|
+
f.value,
|
|
296
284
|
j({
|
|
297
285
|
p: e.value.style.chart.nodes.labels.prefix,
|
|
298
|
-
v:
|
|
286
|
+
v: f.value,
|
|
299
287
|
s: e.value.style.chart.nodes.labels.suffix,
|
|
300
288
|
r: e.value.style.chart.nodes.labels.rounding
|
|
301
289
|
})
|
|
302
290
|
)}</div>`;
|
|
303
|
-
})),
|
|
291
|
+
})), le.value = v;
|
|
304
292
|
}
|
|
305
293
|
}
|
|
306
|
-
function
|
|
307
|
-
|
|
294
|
+
function Te() {
|
|
295
|
+
C.value = null, A.value = null, oe.value = !1;
|
|
308
296
|
}
|
|
309
|
-
const
|
|
297
|
+
const Ne = g(() => y.value.links.map(
|
|
310
298
|
({ source: t, target: l, sourceColor: o, targetColor: a, value: s }) => ({
|
|
311
299
|
source: t,
|
|
312
300
|
target: l,
|
|
@@ -315,9 +303,9 @@ const Pt = ["id"], It = {
|
|
|
315
303
|
value: s
|
|
316
304
|
})
|
|
317
305
|
));
|
|
318
|
-
function
|
|
319
|
-
|
|
320
|
-
const t =
|
|
306
|
+
function Oe() {
|
|
307
|
+
at(() => {
|
|
308
|
+
const t = Ne.value.map((a, s) => [[a.source], [a.target], [a.value]]), l = [
|
|
321
309
|
[e.value.style.chart.title.text],
|
|
322
310
|
[e.value.style.chart.title.subtitle.text],
|
|
323
311
|
[
|
|
@@ -325,19 +313,19 @@ const Pt = ["id"], It = {
|
|
|
325
313
|
[e.value.table.columnNames.target],
|
|
326
314
|
[e.value.table.columnNames.value]
|
|
327
315
|
]
|
|
328
|
-
].concat(t), o =
|
|
329
|
-
|
|
316
|
+
].concat(t), o = ht(l);
|
|
317
|
+
pt({
|
|
330
318
|
csvContent: o,
|
|
331
319
|
title: e.value.style.chart.title.text || "vue-ui-flow"
|
|
332
320
|
});
|
|
333
321
|
});
|
|
334
322
|
}
|
|
335
|
-
const
|
|
323
|
+
const J = g(() => {
|
|
336
324
|
const t = [
|
|
337
325
|
e.value.table.columnNames.source,
|
|
338
326
|
e.value.table.columnNames.target,
|
|
339
327
|
e.value.table.columnNames.value
|
|
340
|
-
], l =
|
|
328
|
+
], l = Ne.value.map((s, h) => [
|
|
341
329
|
{
|
|
342
330
|
color: s.sourceColor,
|
|
343
331
|
name: s.source
|
|
@@ -376,52 +364,52 @@ const Pt = ["id"], It = {
|
|
|
376
364
|
config: o
|
|
377
365
|
};
|
|
378
366
|
});
|
|
379
|
-
function
|
|
380
|
-
return
|
|
367
|
+
function Ke() {
|
|
368
|
+
return y.value;
|
|
381
369
|
}
|
|
382
|
-
function
|
|
370
|
+
function Se() {
|
|
383
371
|
N.value.showTable = !N.value.showTable;
|
|
384
372
|
}
|
|
385
|
-
const
|
|
386
|
-
function
|
|
387
|
-
|
|
373
|
+
const Z = b(!1);
|
|
374
|
+
function re() {
|
|
375
|
+
Z.value = !Z.value;
|
|
388
376
|
}
|
|
389
|
-
function
|
|
377
|
+
function Fe() {
|
|
390
378
|
N.value.showTooltip = !N.value.showTooltip;
|
|
391
379
|
}
|
|
392
|
-
const
|
|
380
|
+
const Le = g(() => {
|
|
393
381
|
const t = new Set(
|
|
394
|
-
|
|
382
|
+
y.value.nodes.map(
|
|
395
383
|
(l) => e.value.nodeCategories[l.name] || "__uncategorized__"
|
|
396
384
|
)
|
|
397
385
|
);
|
|
398
386
|
return Array.from(t).map((l) => ({
|
|
399
387
|
name: l,
|
|
400
|
-
color: e.value.nodeCategoryColors[l] ||
|
|
388
|
+
color: e.value.nodeCategoryColors[l] || S[0],
|
|
401
389
|
shape: "square",
|
|
402
|
-
count:
|
|
390
|
+
count: y.value.nodes.filter(
|
|
403
391
|
(o) => (e.value.nodeCategories[o.name] || "__uncategorized__") === l
|
|
404
392
|
).length
|
|
405
393
|
})).map((l, o) => ({
|
|
406
394
|
...l,
|
|
407
|
-
segregate: () =>
|
|
408
|
-
opacity:
|
|
395
|
+
segregate: () => ue({ legend: l, i: o }),
|
|
396
|
+
opacity: I.value.length ? I.value.includes(o) ? 1 : 0.5 : 1
|
|
409
397
|
}));
|
|
410
|
-
}),
|
|
411
|
-
() =>
|
|
412
|
-
),
|
|
413
|
-
function
|
|
398
|
+
}), Pe = g(
|
|
399
|
+
() => Le.value.filter((t) => t.name !== "__uncategorized__")
|
|
400
|
+
), I = b([]);
|
|
401
|
+
function ue({ legend: t, i: l }) {
|
|
414
402
|
var a;
|
|
415
403
|
const o = t.name;
|
|
416
|
-
if ((a =
|
|
404
|
+
if ((a = C.value) != null && a.every(
|
|
417
405
|
(s) => e.value.nodeCategories[s] === o
|
|
418
406
|
)) {
|
|
419
|
-
|
|
407
|
+
C.value = null, A.value = null, I.value = [];
|
|
420
408
|
return;
|
|
421
409
|
}
|
|
422
|
-
|
|
410
|
+
I.value = [l], C.value = y.value.nodes.filter((s) => e.value.nodeCategories[s.name] === o).map((s) => s.name), A.value = null;
|
|
423
411
|
}
|
|
424
|
-
const
|
|
412
|
+
const Qe = g(() => ({
|
|
425
413
|
cy: "flow-legend",
|
|
426
414
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
427
415
|
color: e.value.style.chart.legend.color,
|
|
@@ -429,37 +417,37 @@ const Pt = ["id"], It = {
|
|
|
429
417
|
paddingBottom: e.value.style.chart.legend.paddingBottom,
|
|
430
418
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : "normal"
|
|
431
419
|
}));
|
|
432
|
-
return
|
|
433
|
-
getData:
|
|
434
|
-
generateCsv:
|
|
435
|
-
generateImage:
|
|
436
|
-
generatePdf:
|
|
437
|
-
toggleTable:
|
|
438
|
-
toggleAnnotator:
|
|
439
|
-
toggleTooltip:
|
|
440
|
-
drillCategory:
|
|
441
|
-
unselectNode:
|
|
442
|
-
}), (t, l) => (c(),
|
|
420
|
+
return De({
|
|
421
|
+
getData: Ke,
|
|
422
|
+
generateCsv: Oe,
|
|
423
|
+
generateImage: $e,
|
|
424
|
+
generatePdf: we,
|
|
425
|
+
toggleTable: Se,
|
|
426
|
+
toggleAnnotator: re,
|
|
427
|
+
toggleTooltip: Fe,
|
|
428
|
+
drillCategory: ue,
|
|
429
|
+
unselectNode: Te
|
|
430
|
+
}), (t, l) => (c(), m("div", {
|
|
443
431
|
ref_key: "flowChart",
|
|
444
|
-
ref:
|
|
445
|
-
class:
|
|
446
|
-
style:
|
|
447
|
-
id: `flow_${
|
|
448
|
-
onMouseenter: l[3] || (l[3] = () =>
|
|
449
|
-
onMouseleave: l[4] || (l[4] = () =>
|
|
432
|
+
ref: te,
|
|
433
|
+
class: ze(`vue-ui-flow ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
434
|
+
style: P(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
435
|
+
id: `flow_${ee.value}`,
|
|
436
|
+
onMouseenter: l[3] || (l[3] = () => d(ge)(!0)),
|
|
437
|
+
onMouseleave: l[4] || (l[4] = () => d(ge)(!1))
|
|
450
438
|
}, [
|
|
451
|
-
e.value.userOptions.buttons.annotator ? (c(),
|
|
439
|
+
e.value.userOptions.buttons.annotator ? (c(), Y(_t, {
|
|
452
440
|
key: 0,
|
|
453
|
-
svgRef:
|
|
441
|
+
svgRef: d(ye),
|
|
454
442
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
455
443
|
color: e.value.style.chart.color,
|
|
456
|
-
active:
|
|
457
|
-
onClose:
|
|
458
|
-
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) :
|
|
459
|
-
|
|
460
|
-
e.value.style.chart.title.text ? (c(),
|
|
461
|
-
(c(),
|
|
462
|
-
key: `title_${
|
|
444
|
+
active: Z.value,
|
|
445
|
+
onClose: re
|
|
446
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : T("", !0),
|
|
447
|
+
Ue.value ? (c(), m("div", Lt, null, 512)) : T("", !0),
|
|
448
|
+
e.value.style.chart.title.text ? (c(), m("div", Pt, [
|
|
449
|
+
(c(), Y(mt, {
|
|
450
|
+
key: `title_${pe.value}`,
|
|
463
451
|
config: {
|
|
464
452
|
title: {
|
|
465
453
|
cy: "flow-title",
|
|
@@ -471,15 +459,15 @@ const Pt = ["id"], It = {
|
|
|
471
459
|
}
|
|
472
460
|
}
|
|
473
461
|
}, null, 8, ["config"]))
|
|
474
|
-
])) :
|
|
475
|
-
e.value.userOptions.show &&
|
|
462
|
+
])) : T("", !0),
|
|
463
|
+
e.value.userOptions.show && Q.value && (d(me) || d(ae)) ? (c(), Y(bt, {
|
|
476
464
|
ref: "details",
|
|
477
|
-
key: `user_option_${
|
|
465
|
+
key: `user_option_${he.value}`,
|
|
478
466
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
479
467
|
color: e.value.style.chart.color,
|
|
480
|
-
isPrinting:
|
|
481
|
-
isImaging:
|
|
482
|
-
uid:
|
|
468
|
+
isPrinting: d(ke),
|
|
469
|
+
isImaging: d(Ce),
|
|
470
|
+
uid: ee.value,
|
|
483
471
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
484
472
|
hasXls: e.value.userOptions.buttons.csv,
|
|
485
473
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -487,184 +475,184 @@ const Pt = ["id"], It = {
|
|
|
487
475
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
488
476
|
isFullscreen: E.value,
|
|
489
477
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
490
|
-
chartElement:
|
|
478
|
+
chartElement: te.value,
|
|
491
479
|
position: e.value.userOptions.position,
|
|
492
480
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
493
|
-
isAnnotation:
|
|
481
|
+
isAnnotation: Z.value,
|
|
494
482
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
495
483
|
isTooltip: N.value.showTooltip,
|
|
496
|
-
onToggleTooltip:
|
|
497
|
-
onToggleFullscreen:
|
|
498
|
-
onGeneratePdf:
|
|
499
|
-
onGenerateCsv:
|
|
500
|
-
onGenerateImage:
|
|
501
|
-
onToggleTable:
|
|
502
|
-
onToggleAnnotator:
|
|
503
|
-
style:
|
|
504
|
-
visibility:
|
|
484
|
+
onToggleTooltip: Fe,
|
|
485
|
+
onToggleFullscreen: Re,
|
|
486
|
+
onGeneratePdf: d(we),
|
|
487
|
+
onGenerateCsv: Oe,
|
|
488
|
+
onGenerateImage: d($e),
|
|
489
|
+
onToggleTable: Se,
|
|
490
|
+
onToggleAnnotator: re,
|
|
491
|
+
style: P({
|
|
492
|
+
visibility: d(me) ? d(ae) ? "visible" : "hidden" : "visible"
|
|
505
493
|
})
|
|
506
|
-
},
|
|
494
|
+
}, ot({ _: 2 }, [
|
|
507
495
|
t.$slots.menuIcon ? {
|
|
508
496
|
name: "menuIcon",
|
|
509
|
-
fn:
|
|
510
|
-
k(t.$slots, "menuIcon",
|
|
497
|
+
fn: w(({ isOpen: o, color: a }) => [
|
|
498
|
+
k(t.$slots, "menuIcon", B(G({ isOpen: o, color: a })), void 0, !0)
|
|
511
499
|
]),
|
|
512
500
|
key: "0"
|
|
513
501
|
} : void 0,
|
|
514
502
|
t.$slots.optionTooltip ? {
|
|
515
503
|
name: "optionTooltip",
|
|
516
|
-
fn:
|
|
504
|
+
fn: w(() => [
|
|
517
505
|
k(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
518
506
|
]),
|
|
519
507
|
key: "1"
|
|
520
508
|
} : void 0,
|
|
521
509
|
t.$slots.optionPdf ? {
|
|
522
510
|
name: "optionPdf",
|
|
523
|
-
fn:
|
|
511
|
+
fn: w(() => [
|
|
524
512
|
k(t.$slots, "optionPdf", {}, void 0, !0)
|
|
525
513
|
]),
|
|
526
514
|
key: "2"
|
|
527
515
|
} : void 0,
|
|
528
516
|
t.$slots.optionCsv ? {
|
|
529
517
|
name: "optionCsv",
|
|
530
|
-
fn:
|
|
518
|
+
fn: w(() => [
|
|
531
519
|
k(t.$slots, "optionCsv", {}, void 0, !0)
|
|
532
520
|
]),
|
|
533
521
|
key: "3"
|
|
534
522
|
} : void 0,
|
|
535
523
|
t.$slots.optionImg ? {
|
|
536
524
|
name: "optionImg",
|
|
537
|
-
fn:
|
|
525
|
+
fn: w(() => [
|
|
538
526
|
k(t.$slots, "optionImg", {}, void 0, !0)
|
|
539
527
|
]),
|
|
540
528
|
key: "4"
|
|
541
529
|
} : void 0,
|
|
542
530
|
t.$slots.optionTable ? {
|
|
543
531
|
name: "optionTable",
|
|
544
|
-
fn:
|
|
532
|
+
fn: w(() => [
|
|
545
533
|
k(t.$slots, "optionTable", {}, void 0, !0)
|
|
546
534
|
]),
|
|
547
535
|
key: "5"
|
|
548
536
|
} : void 0,
|
|
549
537
|
t.$slots.optionFullscreen ? {
|
|
550
538
|
name: "optionFullscreen",
|
|
551
|
-
fn:
|
|
552
|
-
k(t.$slots, "optionFullscreen",
|
|
539
|
+
fn: w(({ toggleFullscreen: o, isFullscreen: a }) => [
|
|
540
|
+
k(t.$slots, "optionFullscreen", B(G({ toggleFullscreen: o, isFullscreen: a })), void 0, !0)
|
|
553
541
|
]),
|
|
554
542
|
key: "6"
|
|
555
543
|
} : void 0,
|
|
556
544
|
t.$slots.optionAnnotator ? {
|
|
557
545
|
name: "optionAnnotator",
|
|
558
|
-
fn:
|
|
559
|
-
k(t.$slots, "optionAnnotator",
|
|
546
|
+
fn: w(({ toggleAnnotator: o, isAnnotator: a }) => [
|
|
547
|
+
k(t.$slots, "optionAnnotator", B(G({ toggleAnnotator: o, isAnnotator: a })), void 0, !0)
|
|
560
548
|
]),
|
|
561
549
|
key: "7"
|
|
562
550
|
} : void 0
|
|
563
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "hasTooltip", "isTooltip", "onGeneratePdf", "onGenerateImage", "style"])) :
|
|
564
|
-
(c(),
|
|
551
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "hasTooltip", "isTooltip", "onGeneratePdf", "onGenerateImage", "style"])) : T("", !0),
|
|
552
|
+
(c(), m("svg", {
|
|
565
553
|
ref_key: "svgRef",
|
|
566
|
-
ref:
|
|
567
|
-
xmlns:
|
|
568
|
-
viewBox: `0 0 ${
|
|
569
|
-
class:
|
|
554
|
+
ref: ye,
|
|
555
|
+
xmlns: d(vt),
|
|
556
|
+
viewBox: `0 0 ${R.value.width} ${R.value.height}`,
|
|
557
|
+
class: ze({
|
|
570
558
|
"vue-data-ui-fullscreen--on": E.value,
|
|
571
559
|
"vue-data-ui-fulscreen--off": !E.value
|
|
572
560
|
}),
|
|
573
|
-
style:
|
|
561
|
+
style: P(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
574
562
|
}, [
|
|
575
|
-
|
|
576
|
-
t.$slots["chart-background"] ? (c(),
|
|
563
|
+
ce($t),
|
|
564
|
+
t.$slots["chart-background"] ? (c(), m("foreignObject", {
|
|
577
565
|
key: 0,
|
|
578
566
|
x: 0,
|
|
579
567
|
y: 0,
|
|
580
|
-
width:
|
|
581
|
-
height:
|
|
568
|
+
width: R.value.width,
|
|
569
|
+
height: R.value.height,
|
|
582
570
|
style: {
|
|
583
571
|
pointerEvents: "none"
|
|
584
572
|
}
|
|
585
573
|
}, [
|
|
586
574
|
k(t.$slots, "chart-background", {}, void 0, !0)
|
|
587
|
-
], 8,
|
|
588
|
-
|
|
589
|
-
(c(!0),
|
|
575
|
+
], 8, Mt)) : T("", !0),
|
|
576
|
+
D("defs", null, [
|
|
577
|
+
(c(!0), m(U, null, V(y.value.links, (o, a) => (c(), m("linearGradient", {
|
|
590
578
|
id: o.id,
|
|
591
579
|
x1: "0%",
|
|
592
580
|
y1: "0%",
|
|
593
581
|
x2: "100%",
|
|
594
582
|
y2: "0%"
|
|
595
583
|
}, [
|
|
596
|
-
|
|
584
|
+
D("stop", {
|
|
597
585
|
offset: "0%",
|
|
598
586
|
"stop-color": o.sourceColor
|
|
599
|
-
}, null, 8,
|
|
600
|
-
|
|
587
|
+
}, null, 8, zt),
|
|
588
|
+
D("stop", {
|
|
601
589
|
offset: "100%",
|
|
602
590
|
"stop-color": o.targetColor
|
|
603
|
-
}, null, 8,
|
|
604
|
-
], 8,
|
|
591
|
+
}, null, 8, At)
|
|
592
|
+
], 8, Et))), 256))
|
|
605
593
|
]),
|
|
606
|
-
(c(!0),
|
|
594
|
+
(c(!0), m(U, null, V(y.value.links, (o) => (c(), m("path", {
|
|
607
595
|
class: "vue-ui-flow-link",
|
|
608
596
|
d: o.path,
|
|
609
597
|
fill: `url(#${o.id})`,
|
|
610
598
|
stroke: e.value.style.chart.links.stroke,
|
|
611
599
|
"stroke-width": e.value.style.chart.links.strokeWidth,
|
|
612
|
-
style:
|
|
613
|
-
opacity:${
|
|
600
|
+
style: P(`
|
|
601
|
+
opacity:${C.value ? C.value.includes(o.source) && C.value.includes(o.target) ? 1 : 0.3 : A.value ? [o.target, o.source].includes(A.value) ? 1 : 0.3 : e.value.style.chart.links.opacity}
|
|
614
602
|
`)
|
|
615
|
-
}, null, 12,
|
|
616
|
-
(c(!0),
|
|
603
|
+
}, null, 12, Ht))), 256)),
|
|
604
|
+
(c(!0), m(U, null, V(y.value.nodes, (o, a) => (c(), m("rect", {
|
|
617
605
|
class: "vue-ui-flow-node",
|
|
618
606
|
x: o.x,
|
|
619
|
-
y:
|
|
620
|
-
height:
|
|
607
|
+
y: d($)(o.absoluteY) + e.value.style.chart.padding.top,
|
|
608
|
+
height: d($)(o.height),
|
|
621
609
|
width: z.value,
|
|
622
610
|
fill: o.color,
|
|
623
611
|
stroke: e.value.style.chart.nodes.stroke,
|
|
624
612
|
"stroke-width": e.value.style.chart.nodes.strokeWidth,
|
|
625
|
-
onMouseenter: (s) =>
|
|
626
|
-
onMouseleave: l[0] || (l[0] = (s) =>
|
|
627
|
-
style:
|
|
628
|
-
}, null, 44,
|
|
629
|
-
(c(!0),
|
|
613
|
+
onMouseenter: (s) => Ze(o),
|
|
614
|
+
onMouseleave: l[0] || (l[0] = (s) => Te()),
|
|
615
|
+
style: P(`opacity:${C.value ? C.value.includes(o.name) ? 1 : 0.3 : 1}`)
|
|
616
|
+
}, null, 44, Yt))), 256)),
|
|
617
|
+
(c(!0), m(U, null, V(y.value.nodes, (o, a) => (c(), m("text", {
|
|
630
618
|
x: o.x + z.value / 2,
|
|
631
|
-
y:
|
|
619
|
+
y: d($)(
|
|
632
620
|
o.absoluteY + o.height / 2 - e.value.style.chart.nodes.labels.fontSize / 4
|
|
633
621
|
) + e.value.style.chart.padding.top,
|
|
634
622
|
"font-size": e.value.style.chart.nodes.labels.fontSize,
|
|
635
|
-
fill:
|
|
623
|
+
fill: d(Ae)(o.color),
|
|
636
624
|
"text-anchor": "middle",
|
|
637
|
-
style:
|
|
638
|
-
}, W(e.value.style.chart.nodes.labels.abbreviation.use ?
|
|
625
|
+
style: P(`pointer-events: none; opacity:${C.value ? C.value.includes(o.name) ? 1 : 0 : 1}`)
|
|
626
|
+
}, W(e.value.style.chart.nodes.labels.abbreviation.use ? d(ft)({
|
|
639
627
|
source: o.name,
|
|
640
628
|
length: e.value.style.chart.nodes.labels.abbreviation.length
|
|
641
|
-
}) : o.name), 13,
|
|
642
|
-
(c(!0),
|
|
629
|
+
}) : o.name), 13, Dt))), 256)),
|
|
630
|
+
(c(!0), m(U, null, V(y.value.nodes, (o, a) => (c(), m("text", {
|
|
643
631
|
x: o.x + z.value / 2,
|
|
644
|
-
y:
|
|
632
|
+
y: d($)(
|
|
645
633
|
o.absoluteY + o.height / 2 + e.value.style.chart.nodes.labels.fontSize
|
|
646
634
|
) + e.value.style.chart.padding.top,
|
|
647
635
|
"font-size": e.value.style.chart.nodes.labels.fontSize,
|
|
648
|
-
fill:
|
|
636
|
+
fill: d(Ae)(o.color),
|
|
649
637
|
"text-anchor": "middle",
|
|
650
|
-
style:
|
|
651
|
-
}, W(
|
|
638
|
+
style: P(`pointer-events: none; opacity:${C.value ? C.value.includes(o.name) ? 1 : 0 : 1}`)
|
|
639
|
+
}, W(d(ve)(
|
|
652
640
|
e.value.style.chart.nodes.labels.formatter,
|
|
653
641
|
o.value,
|
|
654
|
-
|
|
642
|
+
d(j)({
|
|
655
643
|
p: e.value.style.chart.nodes.labels.prefix,
|
|
656
644
|
v: o.value,
|
|
657
645
|
s: e.value.style.chart.nodes.labels.suffix,
|
|
658
646
|
r: e.value.style.chart.nodes.labels.rounding
|
|
659
647
|
}),
|
|
660
648
|
{ datapoint: o, seriesIndex: a }
|
|
661
|
-
)), 13,
|
|
662
|
-
k(t.$slots, "svg", { svg:
|
|
663
|
-
], 14,
|
|
664
|
-
t.$slots.watermark ? (c(),
|
|
665
|
-
k(t.$slots, "watermark",
|
|
666
|
-
])) :
|
|
667
|
-
|
|
649
|
+
)), 13, Bt))), 256)),
|
|
650
|
+
k(t.$slots, "svg", { svg: R.value }, void 0, !0)
|
|
651
|
+
], 14, It)),
|
|
652
|
+
t.$slots.watermark ? (c(), m("div", Gt, [
|
|
653
|
+
k(t.$slots, "watermark", B(G({ isPrinting: d(ke) || d(Ce) })), void 0, !0)
|
|
654
|
+
])) : T("", !0),
|
|
655
|
+
Q.value ? T("", !0) : (c(), Y(wt, {
|
|
668
656
|
key: 5,
|
|
669
657
|
config: {
|
|
670
658
|
type: "flow",
|
|
@@ -673,31 +661,31 @@ const Pt = ["id"], It = {
|
|
|
673
661
|
}
|
|
674
662
|
}
|
|
675
663
|
}, null, 8, ["config"])),
|
|
676
|
-
|
|
664
|
+
D("div", {
|
|
677
665
|
ref_key: "chartLegend",
|
|
678
|
-
ref:
|
|
666
|
+
ref: Ge
|
|
679
667
|
}, [
|
|
680
|
-
e.value.style.chart.legend.show &&
|
|
668
|
+
e.value.style.chart.legend.show && Pe.value.length ? (c(), Y(Ot, {
|
|
681
669
|
key: 0,
|
|
682
|
-
legendSet:
|
|
683
|
-
config:
|
|
684
|
-
onClickMarker: l[1] || (l[1] = (o) =>
|
|
670
|
+
legendSet: Pe.value,
|
|
671
|
+
config: Qe.value,
|
|
672
|
+
onClickMarker: l[1] || (l[1] = (o) => ue(o))
|
|
685
673
|
}, {
|
|
686
|
-
item:
|
|
687
|
-
|
|
674
|
+
item: w(({ legend: o, index: a }) => [
|
|
675
|
+
D("div", {
|
|
688
676
|
onClick: (s) => o.segregate(),
|
|
689
|
-
style:
|
|
690
|
-
}, W(o.name) + " (" + W(o.count) + ") ", 13,
|
|
677
|
+
style: P(`opacity:${I.value.length ? I.value.includes(a) ? 1 : 0.5 : 1}`)
|
|
678
|
+
}, W(o.name) + " (" + W(o.count) + ") ", 13, Rt)
|
|
691
679
|
]),
|
|
692
680
|
_: 1
|
|
693
|
-
}, 8, ["legendSet", "config"])) :
|
|
694
|
-
k(t.$slots, "legend", { legend:
|
|
681
|
+
}, 8, ["legendSet", "config"])) : T("", !0),
|
|
682
|
+
k(t.$slots, "legend", { legend: Le.value }, void 0, !0)
|
|
695
683
|
], 512),
|
|
696
|
-
t.$slots.source ? (c(),
|
|
684
|
+
t.$slots.source ? (c(), m("div", Ut, [
|
|
697
685
|
k(t.$slots, "source", {}, void 0, !0)
|
|
698
|
-
], 512)) :
|
|
699
|
-
|
|
700
|
-
show: N.value.showTooltip &&
|
|
686
|
+
], 512)) : T("", !0),
|
|
687
|
+
ce(Nt, {
|
|
688
|
+
show: N.value.showTooltip && oe.value,
|
|
701
689
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
702
690
|
color: e.value.style.chart.tooltip.color,
|
|
703
691
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -707,20 +695,20 @@ const Pt = ["id"], It = {
|
|
|
707
695
|
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
708
696
|
position: e.value.style.chart.tooltip.position,
|
|
709
697
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
710
|
-
parent:
|
|
711
|
-
content:
|
|
712
|
-
isCustom:
|
|
698
|
+
parent: te.value,
|
|
699
|
+
content: le.value,
|
|
700
|
+
isCustom: q.value,
|
|
713
701
|
isFullscreen: E.value
|
|
714
702
|
}, {
|
|
715
|
-
"tooltip-before":
|
|
716
|
-
k(t.$slots, "tooltip-before",
|
|
703
|
+
"tooltip-before": w(() => [
|
|
704
|
+
k(t.$slots, "tooltip-before", B(G({ ...se.value })), void 0, !0)
|
|
717
705
|
]),
|
|
718
|
-
"tooltip-after":
|
|
719
|
-
k(t.$slots, "tooltip-after",
|
|
706
|
+
"tooltip-after": w(() => [
|
|
707
|
+
k(t.$slots, "tooltip-after", B(G({ ...se.value })), void 0, !0)
|
|
720
708
|
]),
|
|
721
709
|
_: 3
|
|
722
710
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
|
|
723
|
-
|
|
711
|
+
Q.value ? (c(), Y(Ct, {
|
|
724
712
|
key: 7,
|
|
725
713
|
hideDetails: "",
|
|
726
714
|
config: {
|
|
@@ -736,32 +724,32 @@ const Pt = ["id"], It = {
|
|
|
736
724
|
}
|
|
737
725
|
}
|
|
738
726
|
}, {
|
|
739
|
-
content:
|
|
740
|
-
|
|
741
|
-
colNames:
|
|
742
|
-
head:
|
|
743
|
-
body:
|
|
744
|
-
config:
|
|
727
|
+
content: w(() => [
|
|
728
|
+
ce(kt, {
|
|
729
|
+
colNames: J.value.colNames,
|
|
730
|
+
head: J.value.head,
|
|
731
|
+
body: J.value.body,
|
|
732
|
+
config: J.value.config,
|
|
745
733
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
746
734
|
onClose: l[2] || (l[2] = (o) => N.value.showTable = !1)
|
|
747
735
|
}, {
|
|
748
|
-
th:
|
|
749
|
-
|
|
736
|
+
th: w(({ th: o }) => [
|
|
737
|
+
D("div", {
|
|
750
738
|
innerHTML: o,
|
|
751
739
|
style: { display: "flex", "align-items": "center" }
|
|
752
|
-
}, null, 8,
|
|
740
|
+
}, null, 8, Vt)
|
|
753
741
|
]),
|
|
754
|
-
td:
|
|
755
|
-
|
|
742
|
+
td: w(({ td: o }) => [
|
|
743
|
+
lt(W(o.name || o), 1)
|
|
756
744
|
]),
|
|
757
745
|
_: 1
|
|
758
746
|
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
759
747
|
]),
|
|
760
748
|
_: 1
|
|
761
|
-
}, 8, ["config"])) :
|
|
762
|
-
], 46,
|
|
749
|
+
}, 8, ["config"])) : T("", !0)
|
|
750
|
+
], 46, Ft));
|
|
763
751
|
}
|
|
764
|
-
},
|
|
752
|
+
}, uo = /* @__PURE__ */ St(Wt, [["__scopeId", "data-v-56e2cfbd"]]);
|
|
765
753
|
export {
|
|
766
|
-
|
|
754
|
+
uo as default
|
|
767
755
|
};
|