vue-data-ui 3.25.11 → 3.25.13
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-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-label.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, $t as n, D as r, Et as i, Rt as a, S as o, Vt as s, X as c, at as l, b as u, et as d, i as f, n as ee, nt as p, r as m, t as h, tn as g, w as te } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as _, t as v } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as re } from "./useNestedProp-
|
|
4
|
+
import { t as y } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as b } from "./usePrinter-BBBooAGP.js";
|
|
6
|
+
import { n as x, t as ne } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
+
import { t as re } from "./useNestedProp-Bux0f4iY.js";
|
|
8
8
|
import { t as S } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as ie } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as ae } from "./img-
|
|
11
|
-
import { n as oe } from "./Title-
|
|
10
|
+
import { t as ae } from "./img-W50sC9SC.js";
|
|
11
|
+
import { n as oe } from "./Title-DeqmC-vN.js";
|
|
12
12
|
import { t as se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as ce, t as le } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as ue } from "./A11yDataTable-DdRsVULz.js";
|
|
15
15
|
import { t as de } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
16
|
import { t as fe } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
-
import { t as pe } from "./Legend-
|
|
17
|
+
import { t as pe } from "./Legend-C0Ln0VNe.js";
|
|
18
18
|
import { t as me } from "./vue_ui_flow-BewZjjKG.js";
|
|
19
19
|
import { Fragment as he, Teleport as ge, computed as C, createBlock as w, createCommentVNode as T, createElementBlock as E, createElementVNode as D, createSlots as _e, createTextVNode as ve, createVNode as ye, defineAsyncComponent as O, guardReactiveProps as k, mergeProps as be, nextTick as xe, normalizeClass as Se, normalizeProps as A, normalizeStyle as j, onMounted as Ce, openBlock as M, ref as N, renderList as we, renderSlot as P, resolveDynamicComponent as Te, toDisplayString as F, toRefs as Ee, unref as I, watch as De, withCtx as L } from "vue";
|
|
20
20
|
//#region src/components/vue-ui-flow.vue
|
|
@@ -90,7 +90,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
90
90
|
},
|
|
91
91
|
emits: ["copyAlt"],
|
|
92
92
|
setup(e, { expose: se, emit: Oe }) {
|
|
93
|
-
let Ye = O(() => import("./Tooltip-
|
|
93
|
+
let Ye = O(() => import("./Tooltip-DZ4a3XJQ.js")), Xe = O(() => import("./BaseIcon-Dlz7gfx0.js").then((e) => e.n)), Ze = O(() => import("./vue-ui-accordion-yHZMJLaY.js").then((e) => e.n)), Qe = O(() => import("./DataTable-BD1eZ0zB.js")), $e = O(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), et = O(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), tt = O(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), nt = O(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), { vue_ui_flow: rt } = y(), { isThemeValid: it, warnInvalidTheme: at } = S(), R = e, ot = Oe, z = N(c()), B = N(null), st = N(0), ct = N(0), lt = N(!1), ut = N(""), dt = N(null), ft = N(null), pt = N(null), mt = N(null), ht = N(null), gt = N(!1), _t = N(null), vt = N(null), yt = N(null), bt = N(null), V = N(null), xt = N({
|
|
94
94
|
x: 0,
|
|
95
95
|
y: 0
|
|
96
96
|
}), St = N("pointer"), Ct = N(!1), wt = C(() => !!R.dataset && R.dataset.length);
|
|
@@ -108,7 +108,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
108
108
|
component: "VueUiFlow",
|
|
109
109
|
rules: [v.emptyArray, v.noHint]
|
|
110
110
|
});
|
|
111
|
-
let Dt = C(() => U.value.userOptions.useCursorPointer), Ot = C(() =>
|
|
111
|
+
let Dt = C(() => U.value.userOptions.useCursorPointer), Ot = C(() => g({
|
|
112
112
|
defaultConfig: {
|
|
113
113
|
userOptions: { show: !1 },
|
|
114
114
|
nodeCategories: {
|
|
@@ -131,7 +131,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
131
131
|
} }
|
|
132
132
|
},
|
|
133
133
|
userConfig: U.value.skeletonConfig ?? {}
|
|
134
|
-
})), { loading: kt, FINAL_DATASET: At, manualLoading: jt } =
|
|
134
|
+
})), { loading: kt, FINAL_DATASET: At, manualLoading: jt } = x({
|
|
135
135
|
...Ee(R),
|
|
136
136
|
FINAL_CONFIG: U,
|
|
137
137
|
prepareConfig: Lt,
|
|
@@ -173,13 +173,13 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
173
173
|
"#AAAAAA"
|
|
174
174
|
]
|
|
175
175
|
],
|
|
176
|
-
skeletonConfig:
|
|
176
|
+
skeletonConfig: g({
|
|
177
177
|
defaultConfig: U.value,
|
|
178
178
|
userConfig: Ot.value
|
|
179
179
|
})
|
|
180
180
|
}), Mt = C(() => U.value.debug);
|
|
181
181
|
function Nt() {
|
|
182
|
-
if (a(R.dataset) && (
|
|
182
|
+
if (a(R.dataset) && (l({
|
|
183
183
|
componentName: "VueUiFlow",
|
|
184
184
|
type: "dataset",
|
|
185
185
|
debug: Mt.value
|
|
@@ -203,20 +203,20 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
203
203
|
let e = re({
|
|
204
204
|
userConfig: R.config,
|
|
205
205
|
defaultConfig: rt
|
|
206
|
-
}), t = e,
|
|
207
|
-
if (
|
|
206
|
+
}), t = e, r = e.theme;
|
|
207
|
+
if (r) {
|
|
208
208
|
if (!it.value(e)) at(e), t = e;
|
|
209
209
|
else {
|
|
210
|
-
let
|
|
211
|
-
userConfig: me[
|
|
210
|
+
let i = re({
|
|
211
|
+
userConfig: me[r] || R.config,
|
|
212
212
|
defaultConfig: e
|
|
213
213
|
});
|
|
214
214
|
t = {
|
|
215
215
|
...re({
|
|
216
216
|
userConfig: R.config,
|
|
217
|
-
defaultConfig:
|
|
217
|
+
defaultConfig: i
|
|
218
218
|
}),
|
|
219
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
219
|
+
customPalette: e.customPalette.length ? e.customPalette : n[r] || s
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
222
|
} else t = e;
|
|
@@ -224,7 +224,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
224
224
|
}
|
|
225
225
|
let Rt = N(K.value.width), zt = N(K.value.height);
|
|
226
226
|
function Bt(e) {
|
|
227
|
-
let t =
|
|
227
|
+
let t = d(e);
|
|
228
228
|
return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
|
|
229
229
|
}
|
|
230
230
|
let Vt = Bt(R.config);
|
|
@@ -240,7 +240,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
240
240
|
}, { deep: !0 }), De(() => R.dataset, (e) => {
|
|
241
241
|
Array.isArray(e) && e.length > 0 && (jt.value = !1);
|
|
242
242
|
}, { deep: !0 });
|
|
243
|
-
let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } =
|
|
243
|
+
let { isPrinting: Ht, isImaging: Ut, generatePdf: Wt, generateImage: Gt } = b({
|
|
244
244
|
elementId: `flow_${z.value}`,
|
|
245
245
|
fileName: K.value.title.text || "vue-ui-flow",
|
|
246
246
|
options: U.value.userOptions.print
|
|
@@ -257,8 +257,8 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
257
257
|
let Yt = C(() => !At.value || !At.value.length ? [] : At.value.map((e, t) => [
|
|
258
258
|
e[0],
|
|
259
259
|
e[1],
|
|
260
|
-
|
|
261
|
-
e[3] ? o(e[3]) : qt.value[t] || qt.value[t % qt.value.length] ||
|
|
260
|
+
u(e[2]),
|
|
261
|
+
e[3] ? o(e[3]) : qt.value[t] || qt.value[t % qt.value.length] || s[t] || s[t % s.length]
|
|
262
262
|
]));
|
|
263
263
|
function Xt(e) {
|
|
264
264
|
let t = {}, n = {};
|
|
@@ -269,7 +269,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
269
269
|
outflow: 0,
|
|
270
270
|
children: [],
|
|
271
271
|
color: null,
|
|
272
|
-
uid:
|
|
272
|
+
uid: c()
|
|
273
273
|
}), t[e].level === null && (t[e].level = r), n[r] || (n[r] = []), n[r].includes(e) || n[r].push(e);
|
|
274
274
|
}
|
|
275
275
|
e.forEach(([e, n, i]) => {
|
|
@@ -279,21 +279,21 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
279
279
|
value: i
|
|
280
280
|
}), t[e].outflow += i, t[n].inflow += i;
|
|
281
281
|
});
|
|
282
|
-
let
|
|
283
|
-
|
|
284
|
-
|
|
282
|
+
let i = new Set(e.map(([e]) => e)), a = new Set(e.map(([, e]) => e)), o = Array.from(i).filter((e) => !a.has(e)), l = {};
|
|
283
|
+
o.forEach((e, t) => {
|
|
284
|
+
l[e] = qt.value[t] || s[t % s.length];
|
|
285
285
|
});
|
|
286
|
-
let
|
|
286
|
+
let d = {};
|
|
287
287
|
e.forEach(([e, t, n, r]) => {
|
|
288
|
-
r && (
|
|
288
|
+
r && (d[e] = r, d[t] = r);
|
|
289
289
|
}), Object.keys(t).forEach((e, n) => {
|
|
290
|
-
let r = U.value.nodeCategories?.[e],
|
|
291
|
-
t[e].color =
|
|
290
|
+
let r = U.value.nodeCategories?.[e], i = r ? U.value.nodeCategoryColors?.[r] : null;
|
|
291
|
+
t[e].color = d[e] || i || (o.includes(e) ? l[e] : null) || s[n % s.length];
|
|
292
292
|
}), Object.keys(t).forEach((e) => {
|
|
293
293
|
t[e].value = Math.max(t[e].inflow, t[e].outflow);
|
|
294
294
|
});
|
|
295
|
-
let
|
|
296
|
-
function
|
|
295
|
+
let f = $t.value, ee = en.value.width, p = en.value.height, m = Object.keys(n).map(Number).sort((e, t) => e - t), h = m.length || 1, g = h > 1 ? ee / (h - 1) : 0, te = Number(Jt.value), _ = Number(G.value.gapPx ?? G.value.gap ?? 8), v = Number(G.value.minHeight || 0);
|
|
296
|
+
function y(e) {
|
|
297
297
|
let r = n[e], i = r.length;
|
|
298
298
|
if (!i) return Infinity;
|
|
299
299
|
let a = Math.max(0, (i - 1) * _), o = Math.max(0, p - a), s = Math.min(v, i ? o / i : 0), c = 0, l = r.map((e) => t[e].value || 0), u = l.reduce((e, t) => e + t, 0);
|
|
@@ -309,12 +309,12 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
309
309
|
}
|
|
310
310
|
return u > 0 ? Math.max(0, (o - c) / u) : 0;
|
|
311
311
|
}
|
|
312
|
-
let
|
|
312
|
+
let b = m.map(y), x = b.length ? Math.min(...b) : 0, ne = {};
|
|
313
313
|
m.forEach((e) => {
|
|
314
|
-
let r = n[e], i = r.length, a = Math.max(0, (i - 1) * _), o = Math.max(0, p - a), s = Math.min(v, i ? o / i : 0),
|
|
314
|
+
let r = n[e], i = r.length, a = Math.max(0, (i - 1) * _), o = Math.max(0, p - a), s = Math.min(v, i ? o / i : 0), l = r.map((e) => Math.max(s, (t[e].value || 0) * x)), u = l.reduce((e, t) => e + t, 0) + a, d = Math.max(0, (p - u) / 2);
|
|
315
315
|
r.forEach((n, r) => {
|
|
316
|
-
let a =
|
|
317
|
-
|
|
316
|
+
let a = l[r], o = f.left + e * g, s = d;
|
|
317
|
+
ne[n] = {
|
|
318
318
|
x: o,
|
|
319
319
|
y: s,
|
|
320
320
|
absoluteY: s,
|
|
@@ -322,33 +322,33 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
322
322
|
i: r,
|
|
323
323
|
color: t[n].color,
|
|
324
324
|
value: t[n].value,
|
|
325
|
-
id:
|
|
325
|
+
id: c()
|
|
326
326
|
}, d += a, r < i - 1 && (d += _);
|
|
327
327
|
});
|
|
328
328
|
});
|
|
329
|
-
let re = [], S =
|
|
329
|
+
let re = [], S = f.top, ie = {}, ae = {};
|
|
330
330
|
Object.keys(t).forEach((e) => {
|
|
331
|
-
ie[e] =
|
|
331
|
+
ie[e] = ne[e]?.y ?? 0, ae[e] = 0;
|
|
332
332
|
});
|
|
333
333
|
let oe = !!Et.value.smooth, se = .5;
|
|
334
334
|
return m.forEach((e) => {
|
|
335
335
|
n[e].forEach((e) => {
|
|
336
|
-
let n = t[e], r =
|
|
336
|
+
let n = t[e], r = ne[e];
|
|
337
337
|
if (!n.children || !n.children.length) return;
|
|
338
338
|
let i = r.y;
|
|
339
339
|
n.children.forEach(({ target: a, value: o }) => {
|
|
340
|
-
let s =
|
|
340
|
+
let s = ne[a], l = t[a], d = n.outflow > 0 ? o / n.outflow : 0, f = l.inflow > 0 ? o / l.inflow : 0, ee = u(i + S), p = u(i + d * r.height + S), m = ie[a], h = m + f * s.height;
|
|
341
341
|
ae[a] += o;
|
|
342
|
-
let g =
|
|
342
|
+
let g = l.inflow > 0 && ae[a] >= l.inflow - 1e-6, _ = s.y + s.height;
|
|
343
343
|
(g || h > _ - .25) && (h = _);
|
|
344
|
-
let v =
|
|
345
|
-
if (!oe ||
|
|
344
|
+
let v = u(m + S), y = u(h + S), b = u(r.x + te), x = u(s.x), ce;
|
|
345
|
+
if (!oe || x <= b) ce = `M ${b} ${ee} L ${b} ${p} L ${x} ${y} L ${x} ${v} Z`;
|
|
346
346
|
else {
|
|
347
|
-
let e =
|
|
348
|
-
ce = `M ${
|
|
347
|
+
let e = x - b, t = u(b + e * se), n = u(x - e * se), r = ee, i = v, a = p, o = y;
|
|
348
|
+
ce = `M ${b} ${r} C ${t} ${r}, ${n} ${i}, ${x} ${i} L ${x} ${o} C ${n} ${o}, ${t} ${a}, ${b} ${a} Z`;
|
|
349
349
|
}
|
|
350
350
|
re.push({
|
|
351
|
-
id:
|
|
351
|
+
id: c(),
|
|
352
352
|
source: e,
|
|
353
353
|
target: a,
|
|
354
354
|
path: ce,
|
|
@@ -359,7 +359,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
359
359
|
});
|
|
360
360
|
});
|
|
361
361
|
}), {
|
|
362
|
-
nodeCoordinates:
|
|
362
|
+
nodeCoordinates: ne,
|
|
363
363
|
links: re
|
|
364
364
|
};
|
|
365
365
|
}
|
|
@@ -399,43 +399,43 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
399
399
|
y: n.top + n.height / 2
|
|
400
400
|
};
|
|
401
401
|
}
|
|
402
|
-
function ln(e,
|
|
403
|
-
$.value = [], X.value = nn(e.name), Z.value = e.name, on.value = e.id, St.value = r, bt.value =
|
|
404
|
-
let
|
|
402
|
+
function ln(e, n, r = "pointer", a = null) {
|
|
403
|
+
$.value = [], X.value = nn(e.name), Z.value = e.name, on.value = e.id, St.value = r, bt.value = a, V.value = e.id;
|
|
404
|
+
let o = e.name, s = Yt.value, c = 0, l = 0, u = [], d = [], ee = new Set(s.map(([e]) => e)), p = new Set(s.map(([, e]) => e)), m = Array.from(ee).filter((e) => !p.has(e)), h = s.filter(([e]) => m.includes(e)).reduce((e, [t, n, r]) => e + r, 0), g = {};
|
|
405
405
|
Y.value.nodes.forEach((e) => {
|
|
406
406
|
g[e.name] = e.color;
|
|
407
|
-
}),
|
|
408
|
-
t ===
|
|
407
|
+
}), s.forEach(([e, t, n]) => {
|
|
408
|
+
t === o && (c += n, u.push({
|
|
409
409
|
source: e,
|
|
410
410
|
value: n,
|
|
411
411
|
color: g[e]
|
|
412
|
-
})), e ===
|
|
412
|
+
})), e === o && (l += n, d.push({
|
|
413
413
|
target: t,
|
|
414
414
|
value: n,
|
|
415
415
|
color: g[t]
|
|
416
416
|
}));
|
|
417
417
|
});
|
|
418
418
|
let te = h > 0 ? Math.max(c, l) / h * 100 : 0, _ = {
|
|
419
|
-
name:
|
|
419
|
+
name: o,
|
|
420
420
|
inflow: c,
|
|
421
421
|
outflow: l,
|
|
422
422
|
from: u,
|
|
423
423
|
to: d,
|
|
424
424
|
percentOfTotal: te,
|
|
425
|
-
color: g[
|
|
425
|
+
color: g[o] || "#000000"
|
|
426
426
|
};
|
|
427
427
|
U.value.events.datapointEnter && U.value.events.datapointEnter({
|
|
428
428
|
datapoint: _,
|
|
429
|
-
seriesIndex:
|
|
429
|
+
seriesIndex: n
|
|
430
430
|
}), rn.value = {
|
|
431
431
|
datapoint: _,
|
|
432
432
|
config: U.value,
|
|
433
|
-
seriesIndex:
|
|
433
|
+
seriesIndex: n,
|
|
434
434
|
series: Y.value
|
|
435
435
|
}, lt.value = !0;
|
|
436
|
-
let v = "",
|
|
437
|
-
if (an.value = !1,
|
|
438
|
-
let e =
|
|
436
|
+
let v = "", y = K.value.tooltip.customFormat;
|
|
437
|
+
if (an.value = !1, i(y)) try {
|
|
438
|
+
let e = y({
|
|
439
439
|
datapoint: _,
|
|
440
440
|
series: Y.value,
|
|
441
441
|
config: U.value
|
|
@@ -445,21 +445,21 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
445
445
|
console.warn("Custom format cannot be applied.");
|
|
446
446
|
}
|
|
447
447
|
if (!an.value) {
|
|
448
|
-
let e = K.value.tooltip.showPercentage ? `<div>${
|
|
448
|
+
let e = K.value.tooltip.showPercentage ? `<div>${t({
|
|
449
449
|
p: K.value.tooltip.translations.percentOfTotal,
|
|
450
450
|
v: _.percentOfTotal,
|
|
451
451
|
s: "%",
|
|
452
452
|
r: K.value.tooltip.roundingPercentage
|
|
453
453
|
})}</div>` : "";
|
|
454
454
|
v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${K.value.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${_.color}">⏹</span>${_.name}${e}</div>`, _.from.length && (v += `<div>${K.value.tooltip.translations.from}</div>`, _.from.forEach((e) => {
|
|
455
|
-
v += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${f(W.value.formatter, e.value,
|
|
455
|
+
v += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${f(W.value.formatter, e.value, t({
|
|
456
456
|
p: W.value.prefix,
|
|
457
457
|
v: e.value,
|
|
458
458
|
s: W.value.suffix,
|
|
459
459
|
r: W.value.rounding
|
|
460
460
|
}))}</div>`;
|
|
461
461
|
})), _.to.length && (v += `<div style="margin-top:6px;">${K.value.tooltip.translations.to}</div>`, _.to.forEach((e) => {
|
|
462
|
-
v += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${f(W.value.formatter, e.value,
|
|
462
|
+
v += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${f(W.value.formatter, e.value, t({
|
|
463
463
|
p: W.value.prefix,
|
|
464
464
|
v: e.value,
|
|
465
465
|
s: W.value.suffix,
|
|
@@ -494,11 +494,11 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
494
494
|
})));
|
|
495
495
|
function pn(e = null) {
|
|
496
496
|
xe(() => {
|
|
497
|
-
let
|
|
497
|
+
let t = fn.value.map((e, t) => [
|
|
498
498
|
[e.source],
|
|
499
499
|
[e.target],
|
|
500
500
|
[e.value]
|
|
501
|
-
]),
|
|
501
|
+
]), n = [
|
|
502
502
|
[K.value.title.text],
|
|
503
503
|
[K.value.title.subtitle.text],
|
|
504
504
|
[
|
|
@@ -506,9 +506,9 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
506
506
|
[U.value.table.columnNames.target],
|
|
507
507
|
[U.value.table.columnNames.value]
|
|
508
508
|
]
|
|
509
|
-
].concat(
|
|
510
|
-
e ? e(
|
|
511
|
-
csvContent:
|
|
509
|
+
].concat(t), i = r(n);
|
|
510
|
+
e ? e(i) : p({
|
|
511
|
+
csvContent: i,
|
|
512
512
|
title: K.value.title.text || "vue-ui-flow"
|
|
513
513
|
});
|
|
514
514
|
});
|
|
@@ -518,7 +518,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
518
518
|
U.value.table.columnNames.source,
|
|
519
519
|
U.value.table.columnNames.target,
|
|
520
520
|
U.value.table.columnNames.value
|
|
521
|
-
],
|
|
521
|
+
], n = fn.value.map((e, n) => [
|
|
522
522
|
{
|
|
523
523
|
color: e.sourceColor,
|
|
524
524
|
name: e.source,
|
|
@@ -529,13 +529,13 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
529
529
|
name: e.target,
|
|
530
530
|
shape: "square"
|
|
531
531
|
},
|
|
532
|
-
|
|
532
|
+
t({
|
|
533
533
|
p: W.value.prefix,
|
|
534
534
|
v: e.value,
|
|
535
535
|
s: W.value.suffix,
|
|
536
536
|
r: W.value.rounding
|
|
537
537
|
})
|
|
538
|
-
]),
|
|
538
|
+
]), r = {
|
|
539
539
|
th: {
|
|
540
540
|
backgroundColor: U.value.table.th.backgroundColor,
|
|
541
541
|
color: U.value.table.th.color,
|
|
@@ -555,8 +555,8 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
555
555
|
U.value.table.columnNames.value
|
|
556
556
|
],
|
|
557
557
|
head: e,
|
|
558
|
-
body:
|
|
559
|
-
config:
|
|
558
|
+
body: n,
|
|
559
|
+
config: r
|
|
560
560
|
};
|
|
561
561
|
}), hn = C(() => ({
|
|
562
562
|
headers: mn.value?.colNames ?? [],
|
|
@@ -565,7 +565,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
565
565
|
...e,
|
|
566
566
|
index: t,
|
|
567
567
|
centerX: e.x + Jt.value / 2,
|
|
568
|
-
centerY:
|
|
568
|
+
centerY: u(e.absoluteY) + K.value.padding.top + e.height / 2
|
|
569
569
|
})).sort((e, t) => e.x === t.x ? e.absoluteY - t.absoluteY : e.x - t.x)), Q = C(() => {
|
|
570
570
|
let e = [];
|
|
571
571
|
return gn.value.forEach((t) => {
|
|
@@ -600,7 +600,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
600
600
|
let e = new Set(Y.value.nodes.map((e) => U.value.nodeCategories[e.name] || "__uncategorized__"));
|
|
601
601
|
return Array.from(e).map((e) => ({
|
|
602
602
|
name: e,
|
|
603
|
-
color: U.value.nodeCategoryColors[e] ||
|
|
603
|
+
color: U.value.nodeCategoryColors[e] || s[0],
|
|
604
604
|
shape: "square",
|
|
605
605
|
count: Y.value.nodes.filter((t) => (U.value.nodeCategories[t.name] || "__uncategorized__") === e).length
|
|
606
606
|
})).map((e, t) => {
|
|
@@ -792,14 +792,14 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
792
792
|
unselectNode: un,
|
|
793
793
|
toggleFullscreen: Tt,
|
|
794
794
|
copyAlt: Rn
|
|
795
|
-
}), (e,
|
|
795
|
+
}), (e, n) => (M(), E("div", {
|
|
796
796
|
ref_key: "flowChart",
|
|
797
797
|
ref: B,
|
|
798
798
|
class: Se(`vue-data-ui-component vue-ui-flow ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
799
799
|
style: j(`font-family:${U.value.style.fontFamily};width:100%; text-align:center;background:${K.value.backgroundColor}`),
|
|
800
800
|
id: `flow_${z.value}`,
|
|
801
|
-
onMouseenter:
|
|
802
|
-
onMouseleave:
|
|
801
|
+
onMouseenter: n[2] ||= () => I(Ft)(!0),
|
|
802
|
+
onMouseleave: n[3] ||= () => {
|
|
803
803
|
I(Ft)(!1), Ct.value || sn();
|
|
804
804
|
}
|
|
805
805
|
}, [
|
|
@@ -978,7 +978,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
978
978
|
D("div", Ne, [(M(), E("svg", {
|
|
979
979
|
ref_key: "svgRef",
|
|
980
980
|
ref: q,
|
|
981
|
-
xmlns: I(
|
|
981
|
+
xmlns: I(h),
|
|
982
982
|
"aria-describedby": `chart-instructions-${z.value}`,
|
|
983
983
|
viewBox: `0 0 ${tn.value.width} ${tn.value.height}`,
|
|
984
984
|
class: Se({
|
|
@@ -1030,12 +1030,12 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
1030
1030
|
opacity:${X.value ? X.value.includes(e.source) && X.value.includes(e.target) ? 1 : .3 : Z.value ? [e.target, e.source].includes(Z.value) ? 1 : .3 : Et.value.opacity}
|
|
1031
1031
|
`)
|
|
1032
1032
|
}, null, 12, ze))), 256)),
|
|
1033
|
-
(M(!0), E(he, null, we(Y.value.nodes, (e,
|
|
1033
|
+
(M(!0), E(he, null, we(Y.value.nodes, (e, n) => (M(), E("rect", {
|
|
1034
1034
|
"data-a11y-node-id": e.id,
|
|
1035
1035
|
class: "vue-ui-flow-node",
|
|
1036
1036
|
x: e.x,
|
|
1037
|
-
y: I(
|
|
1038
|
-
height: I(
|
|
1037
|
+
y: I(u)(e.absoluteY) + K.value.padding.top,
|
|
1038
|
+
height: I(u)(e.height),
|
|
1039
1039
|
width: Jt.value,
|
|
1040
1040
|
fill: e.color,
|
|
1041
1041
|
stroke: G.value.stroke,
|
|
@@ -1045,41 +1045,41 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
1045
1045
|
opacity: X.value ? X.value.includes(e.name) ? 1 : .3 : 1,
|
|
1046
1046
|
outline: on.value !== null && on.value === e.id ? "2px solid currentColor" : void 0
|
|
1047
1047
|
}),
|
|
1048
|
-
"aria-label": `${e.name}: ${I(f)(W.value.formatter, e.value, I(
|
|
1048
|
+
"aria-label": `${e.name}: ${I(f)(W.value.formatter, e.value, I(t)({
|
|
1049
1049
|
p: W.value.prefix,
|
|
1050
1050
|
v: e.value,
|
|
1051
1051
|
s: W.value.suffix,
|
|
1052
1052
|
r: W.value.rounding
|
|
1053
1053
|
}))}`,
|
|
1054
|
-
onMouseenter: (
|
|
1055
|
-
onMouseleave: (e) => un(
|
|
1056
|
-
onClick: (e) => dn(
|
|
1054
|
+
onMouseenter: (t) => ln(e, n, "pointer", _n.value.get(e.id)),
|
|
1055
|
+
onMouseleave: (e) => un(n),
|
|
1056
|
+
onClick: (e) => dn(n)
|
|
1057
1057
|
}, null, 44, Be))), 256)),
|
|
1058
1058
|
W.value.show ? (M(), E("g", Ve, [(M(!0), E(he, null, we(Y.value.nodes, (e, t) => (M(), E("text", {
|
|
1059
1059
|
x: e.x + Jt.value / 2,
|
|
1060
|
-
y: (W.value.showValue ? I(
|
|
1060
|
+
y: (W.value.showValue ? I(u)(e.absoluteY + e.height / 2 - W.value.fontSize / 4) : e.absoluteY + e.height / 2 + W.value.fontSize / 3) + K.value.padding.top,
|
|
1061
1061
|
"font-size": W.value.fontSize,
|
|
1062
|
-
fill: I(
|
|
1062
|
+
fill: I(m)(e.color),
|
|
1063
1063
|
"text-anchor": "middle",
|
|
1064
1064
|
style: j(`pointer-events: none; opacity:${X.value ? +!!X.value.includes(e.name) : 1}`)
|
|
1065
|
-
}, F(W.value.abbreviation.use ? I(
|
|
1065
|
+
}, F(W.value.abbreviation.use ? I(ee)({
|
|
1066
1066
|
source: e.name,
|
|
1067
1067
|
length: G.value.labels.abbreviation.length
|
|
1068
|
-
}) : e.name), 13, He))), 256)), W.value.showValue ? (M(!0), E(he, { key: 0 }, we(Y.value.nodes, (e,
|
|
1068
|
+
}) : e.name), 13, He))), 256)), W.value.showValue ? (M(!0), E(he, { key: 0 }, we(Y.value.nodes, (e, n) => (M(), E("text", {
|
|
1069
1069
|
x: e.x + Jt.value / 2,
|
|
1070
|
-
y: I(
|
|
1070
|
+
y: I(u)(e.absoluteY + e.height / 2 + W.value.fontSize / 1.3) + K.value.padding.top,
|
|
1071
1071
|
"font-size": W.value.fontSize,
|
|
1072
|
-
fill: I(
|
|
1072
|
+
fill: I(m)(e.color),
|
|
1073
1073
|
"text-anchor": "middle",
|
|
1074
1074
|
style: j(`pointer-events: none; opacity:${X.value ? +!!X.value.includes(e.name) : 1}`)
|
|
1075
|
-
}, F(I(f)(W.value.formatter, e.value, I(
|
|
1075
|
+
}, F(I(f)(W.value.formatter, e.value, I(t)({
|
|
1076
1076
|
p: W.value.prefix,
|
|
1077
1077
|
v: e.value,
|
|
1078
1078
|
s: W.value.suffix,
|
|
1079
1079
|
r: W.value.rounding
|
|
1080
1080
|
}), {
|
|
1081
1081
|
datapoint: e,
|
|
1082
|
-
seriesIndex:
|
|
1082
|
+
seriesIndex: n
|
|
1083
1083
|
})), 13, Ue))), 256)) : T("", !0)])) : T("", !0),
|
|
1084
1084
|
P(e.$slots, "svg", { svg: {
|
|
1085
1085
|
...tn.value,
|
|
@@ -1103,7 +1103,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
1103
1103
|
legendSet: wn.value,
|
|
1104
1104
|
config: En.value,
|
|
1105
1105
|
isCursorPointer: Dt.value,
|
|
1106
|
-
onClickMarker:
|
|
1106
|
+
onClickMarker: n[0] ||= (e) => Tn(e)
|
|
1107
1107
|
}, {
|
|
1108
1108
|
item: L(({ legend: e, index: t }) => [I(kt) ? T("", !0) : (M(), E("div", {
|
|
1109
1109
|
key: 0,
|
|
@@ -1213,7 +1213,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
1213
1213
|
fn: L(() => [D("button", {
|
|
1214
1214
|
tabindex: "0",
|
|
1215
1215
|
class: "vue-ui-user-options-button",
|
|
1216
|
-
onClick:
|
|
1216
|
+
onClick: n[1] ||= (e) => pn(U.value.userOptions.callbacks.csv),
|
|
1217
1217
|
style: j({ cursor: Dt.value ? "pointer" : "default" })
|
|
1218
1218
|
}, [ye(I(Xe), {
|
|
1219
1219
|
name: "fileCsv",
|
|
@@ -1221,7 +1221,7 @@ var Oe = /* @__PURE__ */ e({ default: () => Ye }), ke = ["id"], Ae = ["id"], je
|
|
|
1221
1221
|
}, null, 8, ["stroke"])], 4)]),
|
|
1222
1222
|
key: "1"
|
|
1223
1223
|
} : void 0]), 1040)) : T("", !0),
|
|
1224
|
-
P(e.$slots, "skeleton", {}, () => [I(kt) ? (M(), w(
|
|
1224
|
+
P(e.$slots, "skeleton", {}, () => [I(kt) ? (M(), w(ne, { key: 0 })) : T("", !0)], !0)
|
|
1225
1225
|
], 46, ke));
|
|
1226
1226
|
}
|
|
1227
1227
|
}, [["__scopeId", "data-v-040cb62f"]]);
|