vue-data-ui 3.25.2 → 3.25.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-CL6s6WpN.js → Arrow-DLn-pcrh.js} +1 -1
- package/dist/{BaseDraggableDialog-Cwj9aGdF.js → BaseDraggableDialog-BM_R41j8.js} +2 -2
- package/dist/{BaseIcon-Oj70ytWI.js → BaseIcon-t83PDe9k.js} +1 -1
- package/dist/{BaseLegendToggle-Cvuc-Mrr.js → BaseLegendToggle-__JnV08B.js} +1 -1
- package/dist/{BaseZoomControls-xstFfEqA.js → BaseZoomControls-Xo16vFa4.js} +2 -2
- package/dist/{ColorPicker-sZV-tVqO.js → ColorPicker-ZJrR3Olp.js} +2 -2
- package/dist/{DataTable-DcDMoMmQ.js → DataTable-COIO9gi4.js} +2 -2
- package/dist/{HillActions-BGA3Up35.js → HillActions-Cl-dNBZR.js} +1 -1
- package/dist/{Legend-BQxAKh7g.js → Legend-X4kF4PvW.js} +2 -2
- package/dist/{NonSvgPenAndPaper-1xl1Xynb.js → NonSvgPenAndPaper-DS84BAOx.js} +12 -12
- package/dist/{PackageVersion-DWq6mo_q.js → PackageVersion-5SWftabm.js} +1 -1
- package/dist/{PenAndPaper-Co2OSRzH.js → PenAndPaper-B_SdRSKH.js} +12 -12
- package/dist/{Shape-26P9pTZH.js → Shape-CIqU-p2F.js} +1 -1
- package/dist/{SlicerPreview-CPhQI1vX.js → SlicerPreview-GvsdvE-h.js} +27 -27
- package/dist/{SparkTooltip-CQDq9mwg.js → SparkTooltip-C-Y-mDrc.js} +1 -1
- package/dist/{Title-BLrnZl5j.js → Title-CPHi-evi.js} +1 -1
- package/dist/{Tooltip-CmmM0DtW.js → Tooltip-hhrkQ3Lk.js} +1 -1
- package/dist/{UserOptions-pq95M7ss.js → UserOptions-f3Q0nqrj.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-C2hxsVHU.js → dom-to-png-C6cQJ5Hq.js} +1 -1
- package/dist/{exposedLib-CHbGXzAI.js → exposedLib-CG3aXJ-v.js} +9 -9
- package/dist/{img-EYBQVkRw.js → img-DhGApYG0.js} +1 -1
- package/dist/{labelUtils-Ba5vMXV8.js → labelUtils-BXX2NzRe.js} +1 -1
- package/dist/{lib-BPg41jWd.js → lib-Dql7cqyA.js} +202 -168
- package/dist/{package-ciWqdXC5.js → package-DmsdiyeS.js} +1 -1
- package/dist/{pdf-BoZtb_Ft.js → pdf-Di5yPEw9.js} +1 -1
- package/dist/{render-common-BEWzwi32.js → render-common-zoPh9a78.js} +2 -2
- 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/{useNestedProp-fNUUtYXm.js → useNestedProp-Chvyfpl-.js} +1 -1
- package/dist/{usePrinter-CsDAx75S.js → usePrinter-DISD7q5m.js} +2 -2
- package/dist/utils.js +2 -2
- package/dist/{vue-data-ui-BHRh3z_-.js → vue-data-ui-DTj71yB7.js} +70 -70
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-CH8SpxS2.js +1829 -0
- package/dist/{vue-ui-accordion-BGxpEtfk.js → vue-ui-accordion-D4zsdacF.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CYHqR2NK.js → vue-ui-age-pyramid-B9MUVi75.js} +214 -214
- package/dist/{vue-ui-annotator-Q5zC15Pp.js → vue-ui-annotator-CmlcWPIm.js} +6 -6
- package/dist/vue-ui-bullet-n8KNnDwh.js +700 -0
- package/dist/{vue-ui-bump-DkntyN9G.js → vue-ui-bump-BkOtQNWe.js} +54 -54
- package/dist/{vue-ui-candlestick-Cz0s9M9a.js → vue-ui-candlestick-Bxlvqk49.js} +450 -446
- package/dist/vue-ui-carousel-table-CRgbs7jR.js +467 -0
- package/dist/{vue-ui-chestnut-iwScoeK0.js → vue-ui-chestnut-ByDKbkG9.js} +273 -273
- package/dist/{vue-ui-chord-Bl_91Sut.js → vue-ui-chord-DQRBgVOx.js} +31 -31
- package/dist/{vue-ui-circle-pack-Dm9BU5Kl.js → vue-ui-circle-pack-CBBc0HOe.js} +28 -28
- package/dist/{vue-ui-cursor-D_bkWVNS.js → vue-ui-cursor-BHyXRadA.js} +3 -3
- package/dist/{vue-ui-dag-CF4YxXqU.js → vue-ui-dag-CyVqaLbF.js} +75 -75
- package/dist/{vue-ui-dashboard-Bwhlqoe4.js → vue-ui-dashboard-7I-7wvCP.js} +69 -69
- package/dist/{vue-ui-digits-CXM0xSi6.js → vue-ui-digits-BBL8uERO.js} +3 -3
- package/dist/{vue-ui-donut-DEn7HF5c.js → vue-ui-donut-DcgUuefk.js} +101 -101
- package/dist/vue-ui-donut-DfiocufT.js +2413 -0
- package/dist/{vue-ui-donut-evolution-Z7fpl7Zf.js → vue-ui-donut-evolution-BoqO8By2.js} +374 -374
- package/dist/{vue-ui-dumbbell-BEFPs0t1.js → vue-ui-dumbbell-7M_oUQdi.js} +137 -137
- package/dist/{vue-ui-flow-DAId7lkh.js → vue-ui-flow-CoylrfnO.js} +40 -40
- package/dist/vue-ui-funnel-DaBYHWIC.js +747 -0
- package/dist/{vue-ui-galaxy-So95hmON.js → vue-ui-galaxy-BIebStQ3.js} +245 -245
- package/dist/vue-ui-gauge-CwdTmiRP.js +932 -0
- package/dist/{vue-ui-geo-MTJoJ3_A.js → vue-ui-geo-jR4P4pbt.js} +36 -36
- package/dist/{vue-ui-gizmo-D9tbjzYe.js → vue-ui-gizmo-D6W86s9o.js} +3 -3
- package/dist/{vue-ui-heatmap-DRdQFkV_.js → vue-ui-heatmap-DXYlGwqR.js} +180 -180
- package/dist/{vue-ui-hill-CdtIsBTO.js → vue-ui-hill-fFq7pm-g.js} +9 -9
- package/dist/vue-ui-history-plot-CgIELoD2.js +1696 -0
- package/dist/vue-ui-horizontal-bar-D3Sft4kp.js +1709 -0
- package/dist/{vue-ui-kpi-DHDy4LcL.js → vue-ui-kpi-fzLsKlyE.js} +3 -3
- package/dist/{vue-ui-label-Bm5iMSie.js → vue-ui-label-BSgLalWD.js} +64 -64
- package/dist/{vue-ui-mini-loader-EK0wtL10.js → vue-ui-mini-loader-BL2odRfu.js} +2 -2
- package/dist/vue-ui-molecule-DeHWkkhy.js +929 -0
- package/dist/{vue-ui-mood-radar-CTiFn6bj.js → vue-ui-mood-radar-bvGx6XgG.js} +201 -201
- package/dist/{vue-ui-nested-donuts-DKzeriUP.js → vue-ui-nested-donuts-CeAV2xPk.js} +124 -124
- package/dist/{vue-ui-onion-C3ZiE1dn.js → vue-ui-onion-B7oFulsQ.js} +119 -119
- package/dist/{vue-ui-parallel-coordinate-plot-D1xAQ_qP.js → vue-ui-parallel-coordinate-plot-B_QJ4N9o.js} +376 -376
- package/dist/{vue-ui-quadrant-B82S1-8b.js → vue-ui-quadrant-DrKnz37q.js} +46 -46
- package/dist/{vue-ui-quick-chart-BeIZ2KVy.js → vue-ui-quick-chart-BFscCR59.js} +185 -185
- package/dist/{vue-ui-radar-Bh7LKVWz.js → vue-ui-radar-Bzx69q8f.js} +311 -311
- package/dist/{vue-ui-rating-AbGGnd-1.js → vue-ui-rating-CimC9FQ9.js} +2 -2
- package/dist/vue-ui-relation-circle-DIQYyDGb.js +903 -0
- package/dist/{vue-ui-ridgeline-BmmcBvtt.js → vue-ui-ridgeline-CPEnM45x.js} +199 -199
- package/dist/{vue-ui-rings-Bx3lTcrM.js → vue-ui-rings-qPL5Iwji.js} +327 -327
- package/dist/vue-ui-scatter-BB0ClTsU.js +2403 -0
- package/dist/{vue-ui-skeleton-GSfVAGm5.js → vue-ui-skeleton-zmbcOVEf.js} +59 -59
- package/dist/{vue-ui-smiley-CVQ85iFx.js → vue-ui-smiley-DzPkCMN-.js} +2 -2
- package/dist/{vue-ui-spark-trend-BVS__UWD.js → vue-ui-spark-trend-Ciq7-k_q.js} +8 -8
- package/dist/{vue-ui-sparkbar-C-xEaUvd.js → vue-ui-sparkbar-D1M7-naP.js} +142 -142
- package/dist/{vue-ui-sparkgauge-_XSE8M-e.js → vue-ui-sparkgauge-rsqaeR_n.js} +33 -33
- package/dist/{vue-ui-sparkhistogram-DUM6ygCM.js → vue-ui-sparkhistogram-C4WXt2Ni.js} +26 -26
- package/dist/{vue-ui-sparkline-Dg9fXwZG.js → vue-ui-sparkline-Dv7XrEzO.js} +253 -253
- package/dist/vue-ui-sparkstackbar-DDOXdeV-.js +738 -0
- package/dist/vue-ui-stackbar-C_hMnOLb.js +2353 -0
- package/dist/vue-ui-stackline-BHGi63lD.js +2467 -0
- package/dist/vue-ui-strip-plot-Cygpn-l8.js +1738 -0
- package/dist/vue-ui-table-BQna1wL6.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DgFFlNnz.js → vue-ui-table-heatmap-Dv_ZKKm3.js} +9 -9
- package/dist/{vue-ui-table-sparkline-BsVOuCvB.js → vue-ui-table-sparkline-BCuimtk6.js} +13 -13
- package/dist/{vue-ui-thermometer-DOECuI2_.js → vue-ui-thermometer-DytlLJ32.js} +28 -28
- package/dist/{vue-ui-timer-B2Cd2bc6.js → vue-ui-timer-CvHP4HoW.js} +5 -5
- package/dist/{vue-ui-tiremarks-CrnFAVS8.js → vue-ui-tiremarks-BvjdZwgh.js} +6 -6
- package/dist/{vue-ui-treemap-DHZ6BvAc.js → vue-ui-treemap-C5OpqzSc.js} +39 -39
- package/dist/vue-ui-waffle-B7T_Zzan.js +1619 -0
- package/dist/{vue-ui-wheel-7U-O7-xN.js → vue-ui-wheel-D1B0k7IW.js} +23 -23
- package/dist/{vue-ui-word-cloud-CVsvKOiI.js → vue-ui-word-cloud-C4pX6jop.js} +27 -27
- package/dist/{vue-ui-world-B9VGieBA.js → vue-ui-world-D0_2upjg.js} +116 -116
- package/dist/{vue-ui-xy-chRPjTTj.js → vue-ui-xy-Ck41KYqF.js} +1493 -1489
- package/dist/{vue-ui-xy-CNy0avUa.js → vue-ui-xy-D_5FfaH-.js} +423 -422
- package/dist/{vue-ui-xy-canvas-B9kzEFnY.js → vue-ui-xy-canvas-B_8Mu19r.js} +77 -77
- package/package.json +1 -1
- package/dist/vue-ui-3d-bar-DUbSp0so.js +0 -1829
- package/dist/vue-ui-bullet-DOF7UCo_.js +0 -700
- package/dist/vue-ui-carousel-table-f3ddW3LA.js +0 -467
- package/dist/vue-ui-donut-BfehCl28.js +0 -2413
- package/dist/vue-ui-funnel-D6Hvhb_C.js +0 -747
- package/dist/vue-ui-gauge-Cs96ssGw.js +0 -932
- package/dist/vue-ui-history-plot-BaVZe6Fy.js +0 -1696
- package/dist/vue-ui-horizontal-bar-DETeVTOn.js +0 -1709
- package/dist/vue-ui-molecule-Dt31r51l.js +0 -929
- package/dist/vue-ui-relation-circle-4ZeUHCx_.js +0 -903
- package/dist/vue-ui-scatter-Vw4JbCjp.js +0 -2403
- package/dist/vue-ui-sparkstackbar-8-iyImVK.js +0 -738
- package/dist/vue-ui-stackbar-zl-GieBs.js +0 -2349
- package/dist/vue-ui-stackline-HcXMSuwS.js +0 -2463
- package/dist/vue-ui-strip-plot-B_q_YQiP.js +0 -1738
- package/dist/vue-ui-table-CftOhYTO.js +0 -1352
- package/dist/vue-ui-waffle-Ca4QSb5z.js +0 -1619
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t,
|
|
2
|
+
import { $ as t, Ct as n, D as r, Lt as i, Pt as a, S as o, X as s, Yt as c, Zt as l, b as u, i as d, n as f, nt as p, q as ee, r as m, t as h, w as g } from "./lib-Dql7cqyA.js";
|
|
3
3
|
import { n as te, t as _ } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as v } from "./useConfig-CyCVHo81.js";
|
|
5
|
-
import { t as y } from "./usePrinter-
|
|
5
|
+
import { t as y } from "./usePrinter-DISD7q5m.js";
|
|
6
6
|
import { n as b, t as x } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
-
import { t as S } from "./useNestedProp-
|
|
7
|
+
import { t as S } from "./useNestedProp-Chvyfpl-.js";
|
|
8
8
|
import { t as ne } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as C } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as re } from "./img-
|
|
11
|
-
import { n as ie } from "./Title-
|
|
10
|
+
import { t as re } from "./img-DhGApYG0.js";
|
|
11
|
+
import { n as ie } from "./Title-CPHi-evi.js";
|
|
12
12
|
import { t as ae } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as oe, t as se } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as ce } from "./A11yDataTable-DdRsVULz.js";
|
|
15
15
|
import { t as le } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
16
|
import { t as ue } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
-
import { t as de } from "./Legend-
|
|
17
|
+
import { t as de } from "./Legend-X4kF4PvW.js";
|
|
18
18
|
import { t as fe } from "./vue_ui_flow-BewZjjKG.js";
|
|
19
19
|
import { Fragment as pe, Teleport as me, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createSlots as he, createTextVNode as ge, createVNode as _e, defineAsyncComponent as k, guardReactiveProps as A, mergeProps as ve, nextTick as ye, normalizeClass as be, normalizeProps as j, normalizeStyle as M, onMounted as xe, openBlock as N, ref as P, renderList as Se, renderSlot as F, resolveDynamicComponent as Ce, toDisplayString as I, toRefs as we, unref as L, watch as Te, withCtx as R } from "vue";
|
|
20
20
|
//#region src/components/vue-ui-flow.vue
|
|
@@ -90,7 +90,7 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
90
90
|
},
|
|
91
91
|
emits: ["copyAlt"],
|
|
92
92
|
setup(e, { expose: ae, emit: Ee }) {
|
|
93
|
-
let qe = k(() => import("./Tooltip-
|
|
93
|
+
let qe = k(() => import("./Tooltip-hhrkQ3Lk.js")), Je = k(() => import("./BaseIcon-t83PDe9k.js").then((e) => e.n)), Ye = k(() => import("./vue-ui-accordion-D4zsdacF.js").then((e) => e.n)), Xe = k(() => import("./DataTable-COIO9gi4.js")), Ze = k(() => import("./PenAndPaper-B_SdRSKH.js").then((e) => e.t)), Qe = k(() => import("./UserOptions-f3Q0nqrj.js").then((e) => e.n)), $e = k(() => import("./PackageVersion-5SWftabm.js").then((e) => e.t)), et = k(() => import("./BaseDraggableDialog-BM_R41j8.js").then((e) => e.n)), { vue_ui_flow: tt } = v(), { isThemeValid: nt, warnInvalidTheme: rt } = ne(), z = e, it = Ee, B = P(ee()), V = P(null), at = P(0), ot = P(0), st = P(!1), ct = P(""), lt = P(null), ut = P(null), dt = P(null), ft = P(null), pt = P(null), mt = P(!1), ht = P(null), gt = P(null), _t = P(null), vt = P(null), H = P(null), yt = P({
|
|
94
94
|
x: 0,
|
|
95
95
|
y: 0
|
|
96
96
|
}), bt = P("pointer"), xt = P(!1), St = w(() => !!z.dataset && z.dataset.length);
|
|
@@ -207,16 +207,16 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
207
207
|
if (n) {
|
|
208
208
|
if (!nt.value(e)) rt(e), t = e;
|
|
209
209
|
else {
|
|
210
|
-
let
|
|
210
|
+
let r = S({
|
|
211
211
|
userConfig: fe[n] || z.config,
|
|
212
212
|
defaultConfig: e
|
|
213
213
|
});
|
|
214
214
|
t = {
|
|
215
215
|
...S({
|
|
216
216
|
userConfig: z.config,
|
|
217
|
-
defaultConfig:
|
|
217
|
+
defaultConfig: r
|
|
218
218
|
}),
|
|
219
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
219
|
+
customPalette: e.customPalette.length ? e.customPalette : c[n] || i
|
|
220
220
|
};
|
|
221
221
|
}
|
|
222
222
|
} else t = e;
|
|
@@ -246,11 +246,11 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
246
246
|
e[0],
|
|
247
247
|
e[1],
|
|
248
248
|
u(e[2]),
|
|
249
|
-
e[3] ? o(e[3]) : Vt.value[t] || Vt.value[t % Vt.value.length] ||
|
|
249
|
+
e[3] ? o(e[3]) : Vt.value[t] || Vt.value[t % Vt.value.length] || i[t] || i[t % i.length]
|
|
250
250
|
]));
|
|
251
251
|
function Wt(e) {
|
|
252
252
|
let t = {}, n = {};
|
|
253
|
-
function
|
|
253
|
+
function r(e, r) {
|
|
254
254
|
t[e] || (t[e] = {
|
|
255
255
|
level: null,
|
|
256
256
|
inflow: 0,
|
|
@@ -260,23 +260,23 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
260
260
|
uid: ee()
|
|
261
261
|
}), t[e].level === null && (t[e].level = r), n[r] || (n[r] = []), n[r].includes(e) || n[r].push(e);
|
|
262
262
|
}
|
|
263
|
-
e.forEach(([e, n,
|
|
263
|
+
e.forEach(([e, n, i]) => {
|
|
264
264
|
let a = t[e]?.level ?? 0, o = a + 1;
|
|
265
|
-
|
|
265
|
+
r(e, a), r(n, o), t[e].children.push({
|
|
266
266
|
target: n,
|
|
267
|
-
value:
|
|
268
|
-
}), t[e].outflow +=
|
|
267
|
+
value: i
|
|
268
|
+
}), t[e].outflow += i, t[n].inflow += i;
|
|
269
269
|
});
|
|
270
270
|
let a = new Set(e.map(([e]) => e)), o = new Set(e.map(([, e]) => e)), s = Array.from(a).filter((e) => !o.has(e)), c = {};
|
|
271
271
|
s.forEach((e, t) => {
|
|
272
|
-
c[e] = Vt.value[t] ||
|
|
272
|
+
c[e] = Vt.value[t] || i[t % i.length];
|
|
273
273
|
});
|
|
274
274
|
let l = {};
|
|
275
275
|
e.forEach(([e, t, n, r]) => {
|
|
276
276
|
r && (l[e] = r, l[t] = r);
|
|
277
277
|
}), Object.keys(t).forEach((e, n) => {
|
|
278
|
-
let
|
|
279
|
-
t[e].color = l[e] || a || (s.includes(e) ? c[e] : null) ||
|
|
278
|
+
let r = W.value.nodeCategories?.[e], a = r ? W.value.nodeCategoryColors?.[r] : null;
|
|
279
|
+
t[e].color = l[e] || a || (s.includes(e) ? c[e] : null) || i[n % i.length];
|
|
280
280
|
}), Object.keys(t).forEach((e) => {
|
|
281
281
|
t[e].value = Math.max(t[e].inflow, t[e].outflow);
|
|
282
282
|
});
|
|
@@ -387,30 +387,30 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
387
387
|
y: n.top + n.height / 2
|
|
388
388
|
};
|
|
389
389
|
}
|
|
390
|
-
function tn(e, t,
|
|
391
|
-
$.value = [], Y.value = Xt(e.name), X.value = e.name, Qt.value = e.id, bt.value =
|
|
392
|
-
let
|
|
390
|
+
function tn(e, t, r = "pointer", i = null) {
|
|
391
|
+
$.value = [], Y.value = Xt(e.name), X.value = e.name, Qt.value = e.id, bt.value = r, vt.value = i, H.value = e.id;
|
|
392
|
+
let a = e.name, o = Ut.value, c = 0, l = 0, u = [], f = [], p = new Set(o.map(([e]) => e)), ee = new Set(o.map(([, e]) => e)), m = Array.from(p).filter((e) => !ee.has(e)), h = o.filter(([e]) => m.includes(e)).reduce((e, [t, n, r]) => e + r, 0), g = {};
|
|
393
393
|
J.value.nodes.forEach((e) => {
|
|
394
394
|
g[e.name] = e.color;
|
|
395
|
-
}),
|
|
396
|
-
t ===
|
|
395
|
+
}), o.forEach(([e, t, n]) => {
|
|
396
|
+
t === a && (c += n, u.push({
|
|
397
397
|
source: e,
|
|
398
398
|
value: n,
|
|
399
399
|
color: g[e]
|
|
400
|
-
})), e ===
|
|
400
|
+
})), e === a && (l += n, f.push({
|
|
401
401
|
target: t,
|
|
402
402
|
value: n,
|
|
403
403
|
color: g[t]
|
|
404
404
|
}));
|
|
405
405
|
});
|
|
406
|
-
let te = h > 0 ? Math.max(
|
|
407
|
-
name:
|
|
408
|
-
inflow:
|
|
406
|
+
let te = h > 0 ? Math.max(c, l) / h * 100 : 0, _ = {
|
|
407
|
+
name: a,
|
|
408
|
+
inflow: c,
|
|
409
409
|
outflow: l,
|
|
410
410
|
from: u,
|
|
411
411
|
to: f,
|
|
412
412
|
percentOfTotal: te,
|
|
413
|
-
color: g[
|
|
413
|
+
color: g[a] || "#000000"
|
|
414
414
|
};
|
|
415
415
|
W.value.events.datapointEnter && W.value.events.datapointEnter({
|
|
416
416
|
datapoint: _,
|
|
@@ -422,7 +422,7 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
422
422
|
series: J.value
|
|
423
423
|
}, st.value = !0;
|
|
424
424
|
let v = "", y = W.value.style.chart.tooltip.customFormat;
|
|
425
|
-
if (Zt.value = !1,
|
|
425
|
+
if (Zt.value = !1, n(y)) try {
|
|
426
426
|
let e = y({
|
|
427
427
|
datapoint: _,
|
|
428
428
|
series: J.value,
|
|
@@ -433,21 +433,21 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
433
433
|
console.warn("Custom format cannot be applied.");
|
|
434
434
|
}
|
|
435
435
|
if (!Zt.value) {
|
|
436
|
-
let e = W.value.style.chart.tooltip.showPercentage ? `<div>${
|
|
436
|
+
let e = W.value.style.chart.tooltip.showPercentage ? `<div>${s({
|
|
437
437
|
p: W.value.style.chart.tooltip.translations.percentOfTotal,
|
|
438
438
|
v: _.percentOfTotal,
|
|
439
439
|
s: "%",
|
|
440
440
|
r: W.value.style.chart.tooltip.roundingPercentage
|
|
441
441
|
})}</div>` : "";
|
|
442
442
|
v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${W.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${_.color}">⏹</span>${_.name}${e}</div>`, _.from.length && (v += `<div>${W.value.style.chart.tooltip.translations.from}</div>`, _.from.forEach((e) => {
|
|
443
|
-
v += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${d(W.value.style.chart.nodes.labels.formatter, e.value,
|
|
443
|
+
v += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${d(W.value.style.chart.nodes.labels.formatter, e.value, s({
|
|
444
444
|
p: W.value.style.chart.nodes.labels.prefix,
|
|
445
445
|
v: e.value,
|
|
446
446
|
s: W.value.style.chart.nodes.labels.suffix,
|
|
447
447
|
r: W.value.style.chart.nodes.labels.rounding
|
|
448
448
|
}))}</div>`;
|
|
449
449
|
})), _.to.length && (v += `<div style="margin-top:6px;">${W.value.style.chart.tooltip.translations.to}</div>`, _.to.forEach((e) => {
|
|
450
|
-
v += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${d(W.value.style.chart.nodes.labels.formatter, e.value,
|
|
450
|
+
v += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${d(W.value.style.chart.nodes.labels.formatter, e.value, s({
|
|
451
451
|
p: W.value.style.chart.nodes.labels.prefix,
|
|
452
452
|
v: e.value,
|
|
453
453
|
s: W.value.style.chart.nodes.labels.suffix,
|
|
@@ -455,7 +455,7 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
455
455
|
}))}</div>`;
|
|
456
456
|
})), ct.value = v;
|
|
457
457
|
}
|
|
458
|
-
|
|
458
|
+
r === "keyboard" && ye(() => {
|
|
459
459
|
en(e.id);
|
|
460
460
|
});
|
|
461
461
|
}
|
|
@@ -482,7 +482,7 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
482
482
|
})));
|
|
483
483
|
function on(e = null) {
|
|
484
484
|
ye(() => {
|
|
485
|
-
let
|
|
485
|
+
let n = an.value.map((e, t) => [
|
|
486
486
|
[e.source],
|
|
487
487
|
[e.target],
|
|
488
488
|
[e.value]
|
|
@@ -494,7 +494,7 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
494
494
|
[W.value.table.columnNames.target],
|
|
495
495
|
[W.value.table.columnNames.value]
|
|
496
496
|
]
|
|
497
|
-
].concat(
|
|
497
|
+
].concat(n), a = r(i);
|
|
498
498
|
e ? e(a) : t({
|
|
499
499
|
csvContent: a,
|
|
500
500
|
title: W.value.style.chart.title.text || "vue-ui-flow"
|
|
@@ -517,7 +517,7 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
517
517
|
name: e.target,
|
|
518
518
|
shape: "square"
|
|
519
519
|
},
|
|
520
|
-
|
|
520
|
+
s({
|
|
521
521
|
p: W.value.style.chart.nodes.labels.prefix,
|
|
522
522
|
v: e.value,
|
|
523
523
|
s: W.value.style.chart.nodes.labels.suffix,
|
|
@@ -588,7 +588,7 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
588
588
|
let e = new Set(J.value.nodes.map((e) => W.value.nodeCategories[e.name] || "__uncategorized__"));
|
|
589
589
|
return Array.from(e).map((e) => ({
|
|
590
590
|
name: e,
|
|
591
|
-
color: W.value.nodeCategoryColors[e] ||
|
|
591
|
+
color: W.value.nodeCategoryColors[e] || i[0],
|
|
592
592
|
shape: "square",
|
|
593
593
|
count: J.value.nodes.filter((t) => (W.value.nodeCategories[t.name] || "__uncategorized__") === e).length
|
|
594
594
|
})).map((e, t) => {
|
|
@@ -1031,7 +1031,7 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
1031
1031
|
opacity: Y.value ? Y.value.includes(e.name) ? 1 : .3 : 1,
|
|
1032
1032
|
outline: Qt.value !== null && Qt.value === e.id ? "2px solid currentColor" : void 0
|
|
1033
1033
|
}),
|
|
1034
|
-
"aria-label": `${e.name}: ${L(d)(W.value.style.chart.nodes.labels.formatter, e.value, L(
|
|
1034
|
+
"aria-label": `${e.name}: ${L(d)(W.value.style.chart.nodes.labels.formatter, e.value, L(s)({
|
|
1035
1035
|
p: W.value.style.chart.nodes.labels.prefix,
|
|
1036
1036
|
v: e.value,
|
|
1037
1037
|
s: W.value.style.chart.nodes.labels.suffix,
|
|
@@ -1058,7 +1058,7 @@ var Ee = /* @__PURE__ */ e({ default: () => qe }), De = ["id"], Oe = ["id"], ke
|
|
|
1058
1058
|
fill: L(m)(e.color),
|
|
1059
1059
|
"text-anchor": "middle",
|
|
1060
1060
|
style: M(`pointer-events: none; opacity:${Y.value ? +!!Y.value.includes(e.name) : 1}`)
|
|
1061
|
-
}, I(L(d)(W.value.style.chart.nodes.labels.formatter, e.value, L(
|
|
1061
|
+
}, I(L(d)(W.value.style.chart.nodes.labels.formatter, e.value, L(s)({
|
|
1062
1062
|
p: W.value.style.chart.nodes.labels.prefix,
|
|
1063
1063
|
v: e.value,
|
|
1064
1064
|
s: W.value.style.chart.nodes.labels.suffix,
|