vue-data-ui 3.22.2 → 3.22.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-BGhJI-qh.js → Arrow-CgzmXCW_.js} +1 -1
- package/dist/{BaseDraggableDialog-a9xCKjW-.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
- package/dist/{BaseIcon-DEtwcvEH.js → BaseIcon-xBuW2jjI.js} +1 -1
- package/dist/{BaseLegendToggle-B-lM0iV1.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
- package/dist/{BaseZoomControls-BjjT6vtB.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
- package/dist/{ColorPicker-DMLahA2S.js → ColorPicker-Usv7badH.js} +2 -2
- package/dist/{DataTable-DJZgdnIn.js → DataTable-PidUPOit.js} +2 -2
- package/dist/Legend-DXOzbXb-.js +156 -0
- package/dist/{NonSvgPenAndPaper-Dwq_M6Bz.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
- package/dist/{PackageVersion-Dx81ZIAL.js → PackageVersion-Cm-3hwIF.js} +1 -1
- package/dist/{PenAndPaper-DJIIG6dv.js → PenAndPaper-ISUbDKXq.js} +11 -11
- package/dist/{Shape-C5OvuwII.js → Shape-BnF9aMPX.js} +3 -3
- package/dist/Slicer-hEvKOLw3.js +1145 -0
- package/dist/{SlicerPreview-CAhqG_ZQ.js → SlicerPreview-BDI-aCXE.js} +36 -35
- package/dist/{SparkTooltip-DTzo8Sah.js → SparkTooltip-DaWSTzfA.js} +1 -1
- package/dist/{Title-CVYf1f8m.js → Title-DDEEO-Nr.js} +1 -1
- package/dist/{Tooltip-BmGCBJuU.js → Tooltip-BhKov422.js} +1 -1
- package/dist/{UserOptions-xqbNpHi2.js → UserOptions-BxT1XHzN.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-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-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-rjAIVHxa.js → dom-to-png-ZOysoMwu.js} +1 -1
- package/dist/exposedLib-C2U48XK7.js +19 -0
- package/dist/img-B29J8tV5.js +129 -0
- package/dist/{labelUtils-C0D1tjig.js → labelUtils-BFcL_t-A.js} +1 -1
- package/dist/{lib-CXicicWN.js → lib-CuwHGt1j.js} +143 -124
- package/dist/{package-CILLITOI.js → package-CRlwXCDr.js} +1 -1
- package/dist/{pdf-ChYv2jb6.js → pdf-ymYt9Lee.js} +1 -1
- package/dist/{render-common-bMAFQ_qf.js → render-common-D6ny-Fwu.js} +22 -22
- 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 +69 -2
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-B4-0yo3K.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
- package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
- package/dist/{useNestedProp-APyFoLCQ.js → useNestedProp-BjkuFaz1.js} +1 -1
- package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
- package/dist/{usePrinter-Dng0UK-G.js → usePrinter-C0wAS8yc.js} +3 -3
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-DD-txoS1.js → vue-data-ui-DTWqd0R2.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
- package/dist/{vue-ui-accordion-Di_givzQ.js → vue-ui-accordion-B64IJyPU.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CTwMfsqS.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
- package/dist/{vue-ui-annotator-tRkLFMQ9.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
- package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
- package/dist/{vue-ui-bump-BJ5O8Mps.js → vue-ui-bump-BD0Uq3As.js} +259 -259
- package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
- package/dist/{vue-ui-carousel-table-8s8BSy-K.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
- package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
- package/dist/{vue-ui-chord-1BitQtEw.js → vue-ui-chord-BZhXsZXp.js} +53 -53
- package/dist/{vue-ui-circle-pack-DVMhDFKU.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
- package/dist/{vue-ui-cursor-D7yh10hX.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
- package/dist/{vue-ui-dag--LFEAAf_.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
- package/dist/{vue-ui-dashboard-COeO878g.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
- package/dist/{vue-ui-digits-C50FVr7C.js → vue-ui-digits-07IxTlNO.js} +4 -4
- package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
- package/dist/{vue-ui-donut-BzKXqQA2.js → vue-ui-donut-C5oRCxAO.js} +193 -193
- package/dist/{vue-ui-donut-evolution-lPkwit2C.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
- package/dist/{vue-ui-dumbbell-hlEfvbbf.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
- package/dist/{vue-ui-flow-Bg_OSszc.js → vue-ui-flow-R_dLE1WS.js} +72 -72
- package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
- package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
- package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
- package/dist/{vue-ui-geo-DtzXRvmx.js → vue-ui-geo-DVT9XEC3.js} +18 -18
- package/dist/{vue-ui-gizmo-hIFd7qck.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
- package/dist/{vue-ui-heatmap-yPlwc3l_.js → vue-ui-heatmap-BCFId15K.js} +293 -293
- package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
- package/dist/{vue-ui-horizontal-bar-CJciNHpT.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
- package/dist/{vue-ui-kpi-DmSe1QGb.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
- package/dist/{vue-ui-mini-loader-CqxI6DwN.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
- package/dist/{vue-ui-molecule-w-94Uktn.js → vue-ui-molecule-2pfoR63d.js} +213 -213
- package/dist/{vue-ui-mood-radar-B3OGWGHR.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
- package/dist/{vue-ui-nested-donuts-Dv_yE5EV.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
- package/dist/{vue-ui-onion-BQbI0Vxd.js → vue-ui-onion-CzXx3Rme.js} +293 -293
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
- package/dist/{vue-ui-quadrant-BB7qdXK0.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
- package/dist/{vue-ui-quick-chart-CGDeo3Fx.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
- package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
- package/dist/{vue-ui-rating-ChDwpol2.js → vue-ui-rating-CRziryE2.js} +22 -22
- package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
- package/dist/{vue-ui-ridgeline-Cq8z57xB.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
- package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
- package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
- package/dist/{vue-ui-skeleton-DJ5KAbfV.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
- package/dist/{vue-ui-smiley-fFrNX-Gl.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
- package/dist/{vue-ui-spark-trend-D6OBWxmg.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
- package/dist/{vue-ui-sparkbar-CtCP8O44.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
- package/dist/{vue-ui-sparkgauge-CZDkyViI.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
- package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
- package/dist/{vue-ui-sparkline-CJKE7Xcl.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
- package/dist/{vue-ui-sparkstackbar-BSV0M-2u.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
- package/dist/vue-ui-stackbar-Dqs7_g8D.js +2329 -0
- package/dist/{vue-ui-stackline-DS_MPmc1.js → vue-ui-stackline-IRjugedp.js} +406 -388
- package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
- package/dist/{vue-ui-table-c1FPEwLM.js → vue-ui-table-Bqi9XNvY.js} +64 -64
- package/dist/{vue-ui-table-heatmap-CMQJXnP8.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
- package/dist/{vue-ui-table-sparkline-CAS9Pk60.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
- package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
- package/dist/{vue-ui-timer-CSP48eS-.js → vue-ui-timer-9CDcd-gP.js} +6 -6
- package/dist/{vue-ui-tiremarks-DJvXj1P3.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
- package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
- package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
- package/dist/{vue-ui-wheel-CbL52G-w.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
- package/dist/{vue-ui-word-cloud-BqOCyp7c.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
- package/dist/{vue-ui-world-BkjzCcVh.js → vue-ui-world-vrGT5g1H.js} +127 -127
- package/dist/{vue-ui-xy-CVDNhnDY.js → vue-ui-xy-Cb7u46JN.js} +410 -410
- package/dist/{vue-ui-xy-DuwLRfr4.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
- package/dist/{vue-ui-xy-canvas-CXqGVMeQ.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
- package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
- package/package.json +1 -1
- package/dist/Legend-BVDhEEsC.js +0 -115
- package/dist/Slicer-ClR833cP.js +0 -1144
- package/dist/exposedLib-CffbQxjN.js +0 -19
- package/dist/img-BCAOkqfM.js +0 -74
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +0 -1757
- package/dist/vue-ui-bullet-9gtGJaGb.js +0 -710
- package/dist/vue-ui-candlestick-CJ_VVYbJ.js +0 -1826
- package/dist/vue-ui-chestnut-D3-ck2h2.js +0 -2010
- package/dist/vue-ui-donut-NHjQzFO5.js +0 -2410
- package/dist/vue-ui-funnel-B_bK0jJB.js +0 -777
- package/dist/vue-ui-galaxy-WVCUzcYc.js +0 -1077
- package/dist/vue-ui-gauge-Cqeko0wA.js +0 -920
- package/dist/vue-ui-history-plot-BGmcDg2w.js +0 -1554
- package/dist/vue-ui-parallel-coordinate-plot-ColST3Jj.js +0 -1416
- package/dist/vue-ui-radar-DqDn14DL.js +0 -1281
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +0 -924
- package/dist/vue-ui-rings-Ds-sgNPK.js +0 -1246
- package/dist/vue-ui-scatter-BgOVUzQ3.js +0 -2413
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +0 -560
- package/dist/vue-ui-stackbar-pnlYCnTj.js +0 -2270
- package/dist/vue-ui-strip-plot-DSKOrJZX.js +0 -1340
- package/dist/vue-ui-thermometer-w3eeJv9s.js +0 -763
- package/dist/vue-ui-treemap-BaOMXTR1.js +0 -1587
- package/dist/vue-ui-waffle-Bo22Ph8n.js +0 -1362
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ee } from "./useConfig-
|
|
4
|
-
import { t as v } from "./usePrinter-
|
|
2
|
+
import { Gt as t, Ot as n, Q as r, S as i, Ut as a, W as o, X as s, b as c, i as l, jt as u, n as d, q as f, r as p, t as m, v as h, vt as g, w as _ } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as ee } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as v } from "./usePrinter-C0wAS8yc.js";
|
|
5
5
|
import { n as y, t as b } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as x } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as S } from "./useNestedProp-
|
|
7
|
+
import { t as S } from "./useNestedProp-BjkuFaz1.js";
|
|
8
8
|
import { t as te } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as ne } from "./img-
|
|
10
|
-
import { n as C } from "./Title-
|
|
9
|
+
import { t as ne } from "./img-B29J8tV5.js";
|
|
10
|
+
import { n as C } from "./Title-DDEEO-Nr.js";
|
|
11
11
|
import { t as re } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as ie } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ae } from "./useResponsive-BfnK0KxU.js";
|
|
14
14
|
import { t as oe } from "./A11yDataTable-DdRsVULz.js";
|
|
15
15
|
import { t as se } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
16
|
import { t as ce } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
|
-
import { t as le } from "./Legend-
|
|
17
|
+
import { t as le } from "./Legend-DXOzbXb-.js";
|
|
18
18
|
import { t as ue } from "./vue_ui_flow-BewZjjKG.js";
|
|
19
19
|
import { Fragment as de, Teleport as fe, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as O, createSlots as pe, createTextVNode as me, createVNode as he, defineAsyncComponent as k, guardReactiveProps as A, mergeProps as ge, nextTick as _e, normalizeClass as ve, normalizeProps as j, normalizeStyle as M, onMounted as ye, openBlock as N, ref as P, renderList as be, renderSlot as F, resolveDynamicComponent as xe, toDisplayString as Se, toRefs as Ce, unref as I, watch as we, withCtx as L } from "vue";
|
|
20
20
|
//#region src/components/vue-ui-flow.vue
|
|
@@ -87,7 +87,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
87
87
|
},
|
|
88
88
|
emits: ["copyAlt"],
|
|
89
89
|
setup(e, { expose: re, emit: Te }) {
|
|
90
|
-
let Ke = k(() => import("./Tooltip-
|
|
90
|
+
let Ke = k(() => import("./Tooltip-BhKov422.js")), qe = k(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), Je = k(() => import("./vue-ui-accordion-B64IJyPU.js").then((e) => e.n)), Ye = k(() => import("./DataTable-PidUPOit.js")), Xe = k(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), Ze = k(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), Qe = k(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), $e = k(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), { vue_ui_flow: et } = ee(), { isThemeValid: tt, warnInvalidTheme: nt } = te(), R = e, rt = Te, z = P(o()), B = P(null), it = P(0), at = P(0), ot = P(!1), st = P(""), ct = P(null), lt = P(null), ut = P(null), dt = P(null), ft = P(null), pt = P(!1), mt = P(null), ht = P(null), gt = P(null), _t = P(!1), vt = P(!1), yt = P(null), V = P(null), bt = P({
|
|
91
91
|
x: 0,
|
|
92
92
|
y: 0
|
|
93
93
|
}), xt = P("pointer"), St = P(!1), Ct = w(() => !!R.dataset && R.dataset.length);
|
|
@@ -98,7 +98,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
98
98
|
function wt(e) {
|
|
99
99
|
H.value = e, it.value += 1;
|
|
100
100
|
}
|
|
101
|
-
let U = P(Pt()), W = w(() => U.value.userOptions.useCursorPointer), Tt = w(() =>
|
|
101
|
+
let U = P(Pt()), W = w(() => U.value.userOptions.useCursorPointer), Tt = w(() => t({
|
|
102
102
|
defaultConfig: {
|
|
103
103
|
userOptions: { show: !1 },
|
|
104
104
|
nodeCategories: {
|
|
@@ -163,17 +163,17 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
163
163
|
"#AAAAAA"
|
|
164
164
|
]
|
|
165
165
|
],
|
|
166
|
-
skeletonConfig:
|
|
166
|
+
skeletonConfig: t({
|
|
167
167
|
defaultConfig: U.value,
|
|
168
168
|
userConfig: Tt.value
|
|
169
169
|
})
|
|
170
170
|
}), kt = w(() => !!U.value.debug);
|
|
171
171
|
function At() {
|
|
172
|
-
if (
|
|
172
|
+
if (n(R.dataset) && (r({
|
|
173
173
|
componentName: "VueUiFlow",
|
|
174
174
|
type: "dataset",
|
|
175
175
|
debug: kt.value
|
|
176
|
-
}), Ot.value = !0),
|
|
176
|
+
}), Ot.value = !0), n(R.dataset) || (Ot.value = U.value.loading), U.value.responsive) {
|
|
177
177
|
let e = ie(() => {
|
|
178
178
|
let { width: e, height: t } = ae({
|
|
179
179
|
chart: B.value,
|
|
@@ -205,7 +205,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
205
205
|
userConfig: R.config,
|
|
206
206
|
defaultConfig: r
|
|
207
207
|
}),
|
|
208
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
208
|
+
customPalette: e.customPalette.length ? e.customPalette : a[n] || u
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
211
|
else t = e;
|
|
@@ -221,7 +221,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
221
221
|
elementId: `flow_${z.value}`,
|
|
222
222
|
fileName: U.value.style.chart.title.text || "vue-ui-flow",
|
|
223
223
|
options: U.value.userOptions.print
|
|
224
|
-
}), Vt = w(() => U.value.userOptions.show && !U.value.style.chart.title.text), Ht = w(() =>
|
|
224
|
+
}), Vt = w(() => U.value.userOptions.show && !U.value.style.chart.title.text), Ht = w(() => i(U.value.customPalette)), Ut = w(() => U.value.style.chart.nodes.width), K = P({
|
|
225
225
|
showTable: U.value.table.show,
|
|
226
226
|
showTooltip: U.value.style.chart.tooltip.show
|
|
227
227
|
});
|
|
@@ -235,41 +235,41 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
235
235
|
e[0],
|
|
236
236
|
e[1],
|
|
237
237
|
h(e[2]),
|
|
238
|
-
e[3] ?
|
|
238
|
+
e[3] ? c(e[3]) : Ht.value[t] || Ht.value[t % Ht.value.length] || u[t] || u[t % u.length]
|
|
239
239
|
]));
|
|
240
240
|
function Gt(e) {
|
|
241
241
|
let t = {}, n = {};
|
|
242
|
-
function
|
|
242
|
+
function r(e, r) {
|
|
243
243
|
t[e] || (t[e] = {
|
|
244
244
|
level: null,
|
|
245
245
|
inflow: 0,
|
|
246
246
|
outflow: 0,
|
|
247
247
|
children: [],
|
|
248
248
|
color: null,
|
|
249
|
-
uid:
|
|
250
|
-
}), t[e].level === null && (t[e].level =
|
|
249
|
+
uid: o()
|
|
250
|
+
}), t[e].level === null && (t[e].level = r), n[r] || (n[r] = []), n[r].includes(e) || n[r].push(e);
|
|
251
251
|
}
|
|
252
|
-
e.forEach(([e, n,
|
|
252
|
+
e.forEach(([e, n, i]) => {
|
|
253
253
|
let a = t[e]?.level ?? 0, o = a + 1;
|
|
254
|
-
|
|
254
|
+
r(e, a), r(n, o), t[e].children.push({
|
|
255
255
|
target: n,
|
|
256
|
-
value:
|
|
257
|
-
}), t[e].outflow +=
|
|
256
|
+
value: i
|
|
257
|
+
}), t[e].outflow += i, t[n].inflow += i;
|
|
258
258
|
});
|
|
259
|
-
let
|
|
259
|
+
let i = new Set(e.map(([e]) => e)), a = new Set(e.map(([, e]) => e)), s = Array.from(i).filter((e) => !a.has(e)), c = {};
|
|
260
260
|
s.forEach((e, t) => {
|
|
261
|
-
c[e] = Ht.value[t] ||
|
|
261
|
+
c[e] = Ht.value[t] || u[t % u.length];
|
|
262
262
|
});
|
|
263
263
|
let l = {};
|
|
264
264
|
e.forEach(([e, t, n, r]) => {
|
|
265
265
|
r && (l[e] = r, l[t] = r);
|
|
266
266
|
}), Object.keys(t).forEach((e, n) => {
|
|
267
267
|
let r = U.value.nodeCategories?.[e], i = r ? U.value.nodeCategoryColors?.[r] : null;
|
|
268
|
-
t[e].color = l[e] || i || (s.includes(e) ? c[e] : null) ||
|
|
268
|
+
t[e].color = l[e] || i || (s.includes(e) ? c[e] : null) || u[n % u.length];
|
|
269
269
|
}), Object.keys(t).forEach((e) => {
|
|
270
270
|
t[e].value = Math.max(t[e].inflow, t[e].outflow);
|
|
271
271
|
});
|
|
272
|
-
let
|
|
272
|
+
let d = Jt.value, f = Yt.value.width, p = Yt.value.height, m = Object.keys(n).map(Number).sort((e, t) => e - t), g = m.length || 1, _ = g > 1 ? f / (g - 1) : 0, ee = Number(Ut.value), v = Number(U.value.style.chart.nodes.gapPx ?? U.value.style.chart.nodes.gap ?? 8), y = Number(U.value.style.chart.nodes.minHeight || 0);
|
|
273
273
|
function b(e) {
|
|
274
274
|
let r = n[e], i = r.length;
|
|
275
275
|
if (!i) return Infinity;
|
|
@@ -288,51 +288,51 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
288
288
|
}
|
|
289
289
|
let x = m.map(b), S = x.length ? Math.min(...x) : 0, te = {};
|
|
290
290
|
m.forEach((e) => {
|
|
291
|
-
let
|
|
292
|
-
|
|
293
|
-
let
|
|
291
|
+
let r = n[e], i = r.length, a = Math.max(0, (i - 1) * v), s = Math.max(0, p - a), c = Math.min(y, i ? s / i : 0), l = r.map((e) => Math.max(c, (t[e].value || 0) * S)), u = l.reduce((e, t) => e + t, 0) + a, f = Math.max(0, (p - u) / 2);
|
|
292
|
+
r.forEach((n, r) => {
|
|
293
|
+
let a = l[r], s = d.left + e * _, c = f;
|
|
294
294
|
te[n] = {
|
|
295
295
|
x: s,
|
|
296
296
|
y: c,
|
|
297
297
|
absoluteY: c,
|
|
298
|
-
height:
|
|
299
|
-
i,
|
|
298
|
+
height: a,
|
|
299
|
+
i: r,
|
|
300
300
|
color: t[n].color,
|
|
301
301
|
value: t[n].value,
|
|
302
|
-
id:
|
|
303
|
-
}, f +=
|
|
302
|
+
id: o()
|
|
303
|
+
}, f += a, r < i - 1 && (f += v);
|
|
304
304
|
});
|
|
305
305
|
});
|
|
306
|
-
let ne = [], C =
|
|
306
|
+
let ne = [], C = d.top, re = {}, ie = {};
|
|
307
307
|
Object.keys(t).forEach((e) => {
|
|
308
308
|
re[e] = te[e]?.y ?? 0, ie[e] = 0;
|
|
309
309
|
});
|
|
310
310
|
let ae = !!U.value.style.chart.links.smooth, oe = .5;
|
|
311
311
|
return m.forEach((e) => {
|
|
312
312
|
n[e].forEach((e) => {
|
|
313
|
-
let n = t[e],
|
|
313
|
+
let n = t[e], r = te[e];
|
|
314
314
|
if (!n.children || !n.children.length) return;
|
|
315
|
-
let
|
|
316
|
-
n.children.forEach(({ target:
|
|
317
|
-
let c = te[
|
|
318
|
-
ie[
|
|
319
|
-
let _ = l.inflow > 0 && ie[
|
|
315
|
+
let i = r.y;
|
|
316
|
+
n.children.forEach(({ target: a, value: s }) => {
|
|
317
|
+
let c = te[a], l = t[a], u = n.outflow > 0 ? s / n.outflow : 0, d = l.inflow > 0 ? s / l.inflow : 0, f = h(i + C), p = h(i + u * r.height + C), m = re[a], g = m + d * c.height;
|
|
318
|
+
ie[a] += s;
|
|
319
|
+
let _ = l.inflow > 0 && ie[a] >= l.inflow - 1e-6, v = c.y + c.height;
|
|
320
320
|
(_ || g > v - .25) && (g = v);
|
|
321
|
-
let y = h(m + C), b = h(g + C), x = h(
|
|
321
|
+
let y = h(m + C), b = h(g + C), x = h(r.x + ee), S = h(c.x), se;
|
|
322
322
|
if (!ae || S <= x) se = `M ${x} ${f} L ${x} ${p} L ${S} ${b} L ${S} ${y} Z`;
|
|
323
323
|
else {
|
|
324
324
|
let e = S - x, t = h(x + e * oe), n = h(S - e * oe), r = f, i = y, a = p, o = b;
|
|
325
325
|
se = `M ${x} ${r} C ${t} ${r}, ${n} ${i}, ${S} ${i} L ${S} ${o} C ${n} ${o}, ${t} ${a}, ${x} ${a} Z`;
|
|
326
326
|
}
|
|
327
327
|
ne.push({
|
|
328
|
-
id:
|
|
328
|
+
id: o(),
|
|
329
329
|
source: e,
|
|
330
|
-
target:
|
|
330
|
+
target: a,
|
|
331
331
|
path: se,
|
|
332
332
|
value: s,
|
|
333
333
|
sourceColor: n.color,
|
|
334
|
-
targetColor: t[
|
|
335
|
-
}),
|
|
334
|
+
targetColor: t[a].color
|
|
335
|
+
}), i = p - C, re[a] = g;
|
|
336
336
|
});
|
|
337
337
|
});
|
|
338
338
|
}), {
|
|
@@ -376,30 +376,30 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
376
376
|
y: n.top + n.height / 2
|
|
377
377
|
};
|
|
378
378
|
}
|
|
379
|
-
function nn(e, t,
|
|
380
|
-
$.value = [], J.value = Zt(e.name), Y.value = e.name, $t.value = e.id, xt.value =
|
|
381
|
-
let
|
|
379
|
+
function nn(e, t, n = "pointer", r = null) {
|
|
380
|
+
$.value = [], J.value = Zt(e.name), Y.value = e.name, $t.value = e.id, xt.value = n, yt.value = r, V.value = e.id;
|
|
381
|
+
let i = e.name, a = Wt.value, o = 0, s = 0, c = [], u = [], d = new Set(a.map(([e]) => e)), p = new Set(a.map(([, e]) => e)), m = Array.from(d).filter((e) => !p.has(e)), h = a.filter(([e]) => m.includes(e)).reduce((e, [t, n, r]) => e + r, 0), _ = {};
|
|
382
382
|
q.value.nodes.forEach((e) => {
|
|
383
383
|
_[e.name] = e.color;
|
|
384
|
-
}),
|
|
385
|
-
t ===
|
|
384
|
+
}), a.forEach(([e, t, n]) => {
|
|
385
|
+
t === i && (o += n, c.push({
|
|
386
386
|
source: e,
|
|
387
387
|
value: n,
|
|
388
388
|
color: _[e]
|
|
389
|
-
})), e ===
|
|
389
|
+
})), e === i && (s += n, u.push({
|
|
390
390
|
target: t,
|
|
391
391
|
value: n,
|
|
392
392
|
color: _[t]
|
|
393
393
|
}));
|
|
394
394
|
});
|
|
395
|
-
let ee =
|
|
396
|
-
name:
|
|
397
|
-
inflow:
|
|
398
|
-
outflow:
|
|
399
|
-
from:
|
|
400
|
-
to:
|
|
395
|
+
let ee = h > 0 ? Math.max(o, s) / h * 100 : 0, v = {
|
|
396
|
+
name: i,
|
|
397
|
+
inflow: o,
|
|
398
|
+
outflow: s,
|
|
399
|
+
from: c,
|
|
400
|
+
to: u,
|
|
401
401
|
percentOfTotal: ee,
|
|
402
|
-
color: _[
|
|
402
|
+
color: _[i] || "#000000"
|
|
403
403
|
};
|
|
404
404
|
U.value.events.datapointEnter && U.value.events.datapointEnter({
|
|
405
405
|
datapoint: v,
|
|
@@ -411,7 +411,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
411
411
|
series: q.value
|
|
412
412
|
}, ot.value = !0;
|
|
413
413
|
let y = "", b = U.value.style.chart.tooltip.customFormat;
|
|
414
|
-
if (Qt.value = !1,
|
|
414
|
+
if (Qt.value = !1, g(b)) try {
|
|
415
415
|
let e = b({
|
|
416
416
|
datapoint: v,
|
|
417
417
|
series: q.value,
|
|
@@ -422,21 +422,21 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
422
422
|
console.warn("Custom format cannot be applied.");
|
|
423
423
|
}
|
|
424
424
|
if (!Qt.value) {
|
|
425
|
-
let e = U.value.style.chart.tooltip.showPercentage ? `<div>${
|
|
425
|
+
let e = U.value.style.chart.tooltip.showPercentage ? `<div>${f({
|
|
426
426
|
p: U.value.style.chart.tooltip.translations.percentOfTotal,
|
|
427
427
|
v: v.percentOfTotal,
|
|
428
428
|
s: "%",
|
|
429
429
|
r: U.value.style.chart.tooltip.roundingPercentage
|
|
430
430
|
})}</div>` : "";
|
|
431
431
|
y += `<div style="width:100%;text-align:center;border-bottom:1px solid ${U.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${v.color}">⏹</span>${v.name}${e}</div>`, v.from.length && (y += `<div>${U.value.style.chart.tooltip.translations.from}</div>`, v.from.forEach((e) => {
|
|
432
|
-
y += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${
|
|
432
|
+
y += `<div><span style="color:${e.color}">⏹←</span> ${e.source}: ${l(U.value.style.chart.nodes.labels.formatter, e.value, f({
|
|
433
433
|
p: U.value.style.chart.nodes.labels.prefix,
|
|
434
434
|
v: e.value,
|
|
435
435
|
s: U.value.style.chart.nodes.labels.suffix,
|
|
436
436
|
r: U.value.style.chart.nodes.labels.rounding
|
|
437
437
|
}))}</div>`;
|
|
438
438
|
})), v.to.length && (y += `<div style="margin-top:6px;">${U.value.style.chart.tooltip.translations.to}</div>`, v.to.forEach((e) => {
|
|
439
|
-
y += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${
|
|
439
|
+
y += `<div><span style="color:${e.color}">⏹→</span> ${e.target}: ${l(U.value.style.chart.nodes.labels.formatter, e.value, f({
|
|
440
440
|
p: U.value.style.chart.nodes.labels.prefix,
|
|
441
441
|
v: e.value,
|
|
442
442
|
s: U.value.style.chart.nodes.labels.suffix,
|
|
@@ -444,7 +444,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
444
444
|
}))}</div>`;
|
|
445
445
|
})), st.value = y;
|
|
446
446
|
}
|
|
447
|
-
|
|
447
|
+
n === "keyboard" && _e(() => {
|
|
448
448
|
tn(e.id);
|
|
449
449
|
});
|
|
450
450
|
}
|
|
@@ -475,7 +475,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
475
475
|
[e.source],
|
|
476
476
|
[e.target],
|
|
477
477
|
[e.value]
|
|
478
|
-
]), n =
|
|
478
|
+
]), n = _([
|
|
479
479
|
[U.value.style.chart.title.text],
|
|
480
480
|
[U.value.style.chart.title.subtitle.text],
|
|
481
481
|
[
|
|
@@ -484,7 +484,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
484
484
|
[U.value.table.columnNames.value]
|
|
485
485
|
]
|
|
486
486
|
].concat(t));
|
|
487
|
-
e ? e(n) :
|
|
487
|
+
e ? e(n) : s({
|
|
488
488
|
csvContent: n,
|
|
489
489
|
title: U.value.style.chart.title.text || "vue-ui-flow"
|
|
490
490
|
});
|
|
@@ -506,13 +506,13 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
506
506
|
name: e.target,
|
|
507
507
|
shape: "square"
|
|
508
508
|
},
|
|
509
|
-
|
|
509
|
+
f({
|
|
510
510
|
p: U.value.style.chart.nodes.labels.prefix,
|
|
511
511
|
v: e.value,
|
|
512
512
|
s: U.value.style.chart.nodes.labels.suffix,
|
|
513
513
|
r: U.value.style.chart.nodes.labels.rounding
|
|
514
514
|
})
|
|
515
|
-
]),
|
|
515
|
+
]), n = {
|
|
516
516
|
th: {
|
|
517
517
|
backgroundColor: U.value.table.th.backgroundColor,
|
|
518
518
|
color: U.value.table.th.color,
|
|
@@ -533,7 +533,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
533
533
|
],
|
|
534
534
|
head: e,
|
|
535
535
|
body: t,
|
|
536
|
-
config:
|
|
536
|
+
config: n
|
|
537
537
|
};
|
|
538
538
|
}), cn = w(() => ({
|
|
539
539
|
headers: Z.value?.colNames ?? [],
|
|
@@ -577,7 +577,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
577
577
|
let e = new Set(q.value.nodes.map((e) => U.value.nodeCategories[e.name] || "__uncategorized__"));
|
|
578
578
|
return Array.from(e).map((e) => ({
|
|
579
579
|
name: e,
|
|
580
|
-
color: U.value.nodeCategoryColors[e] ||
|
|
580
|
+
color: U.value.nodeCategoryColors[e] || u[0],
|
|
581
581
|
shape: "square",
|
|
582
582
|
count: q.value.nodes.filter((t) => (U.value.nodeCategories[t.name] || "__uncategorized__") === e).length
|
|
583
583
|
})).map((e, t) => {
|
|
@@ -1045,7 +1045,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
1045
1045
|
opacity: J.value ? J.value.includes(e.name) ? 1 : .3 : 1,
|
|
1046
1046
|
outline: $t.value !== null && $t.value === e.id ? "2px solid currentColor" : void 0
|
|
1047
1047
|
}),
|
|
1048
|
-
"aria-label": `${e.name}: ${I(
|
|
1048
|
+
"aria-label": `${e.name}: ${I(l)(U.value.style.chart.nodes.labels.formatter, e.value, I(f)({
|
|
1049
1049
|
p: U.value.style.chart.nodes.labels.prefix,
|
|
1050
1050
|
v: e.value,
|
|
1051
1051
|
s: U.value.style.chart.nodes.labels.suffix,
|
|
@@ -1062,7 +1062,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
1062
1062
|
fill: I(p)(e.color),
|
|
1063
1063
|
"text-anchor": "middle",
|
|
1064
1064
|
style: M(`pointer-events: none; opacity:${J.value ? +!!J.value.includes(e.name) : 1}`)
|
|
1065
|
-
}, Se(U.value.style.chart.nodes.labels.abbreviation.use ? I(
|
|
1065
|
+
}, Se(U.value.style.chart.nodes.labels.abbreviation.use ? I(d)({
|
|
1066
1066
|
source: e.name,
|
|
1067
1067
|
length: U.value.style.chart.nodes.labels.abbreviation.length
|
|
1068
1068
|
}) : e.name), 13, ze))), 256)), U.value.style.chart.nodes.labels.showValue ? (N(!0), D(de, { key: 0 }, be(q.value.nodes, (e, t) => (N(), D("text", {
|
|
@@ -1072,7 +1072,7 @@ var Te = /* @__PURE__ */ e({ default: () => Ke }), Ee = ["id"], De = ["id"], Oe
|
|
|
1072
1072
|
fill: I(p)(e.color),
|
|
1073
1073
|
"text-anchor": "middle",
|
|
1074
1074
|
style: M(`pointer-events: none; opacity:${J.value ? +!!J.value.includes(e.name) : 1}`)
|
|
1075
|
-
}, Se(I(
|
|
1075
|
+
}, Se(I(l)(U.value.style.chart.nodes.labels.formatter, e.value, I(f)({
|
|
1076
1076
|
p: U.value.style.chart.nodes.labels.prefix,
|
|
1077
1077
|
v: e.value,
|
|
1078
1078
|
s: U.value.style.chart.nodes.labels.suffix,
|