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,10 +1,10 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { Teleport as o, computed as s, createBlock as
|
|
2
|
+
import { X as t, qt as n, t as r } from "./lib-DOpaUOQx.js";
|
|
3
|
+
import { t as ee } from "./useConfig-C2uy4ltq.js";
|
|
4
|
+
import { t as te } from "./useNestedProp-Bux0f4iY.js";
|
|
5
|
+
import { t as i } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
|
+
import { n as a } from "./PackageVersion-D5QkTJQU.js";
|
|
7
|
+
import { Teleport as o, computed as s, createBlock as ne, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, nextTick as f, normalizeClass as p, normalizeStyle as m, onBeforeUnmount as h, onMounted as g, openBlock as _, ref as v, toDisplayString as y, unref as b } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-cursor.vue
|
|
9
9
|
var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
10
10
|
"xmlns",
|
|
@@ -20,66 +20,66 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
20
20
|
"stroke",
|
|
21
21
|
"stroke-width",
|
|
22
22
|
"stroke-dasharray"
|
|
23
|
-
], se = ["r"],
|
|
23
|
+
], se = ["r"], S = {
|
|
24
24
|
key: 2,
|
|
25
25
|
class: "wave"
|
|
26
|
-
},
|
|
26
|
+
}, C = ["id"], w = ["id"], T = ["filter", "stroke"], E = {
|
|
27
27
|
key: 3,
|
|
28
28
|
class: "crosshair"
|
|
29
|
-
},
|
|
29
|
+
}, D = [
|
|
30
30
|
"x1",
|
|
31
31
|
"stroke",
|
|
32
32
|
"stroke-width",
|
|
33
33
|
"stroke-dasharray"
|
|
34
|
-
],
|
|
34
|
+
], O = [
|
|
35
35
|
"x1",
|
|
36
36
|
"stroke",
|
|
37
37
|
"stroke-width",
|
|
38
38
|
"stroke-dasharray"
|
|
39
|
-
],
|
|
39
|
+
], k = [
|
|
40
40
|
"y1",
|
|
41
41
|
"stroke",
|
|
42
42
|
"stroke-width",
|
|
43
43
|
"stroke-dasharray"
|
|
44
|
-
],
|
|
44
|
+
], A = [
|
|
45
45
|
"y1",
|
|
46
46
|
"stroke",
|
|
47
47
|
"stroke-width",
|
|
48
48
|
"stroke-dasharray"
|
|
49
|
-
],
|
|
49
|
+
], j = [
|
|
50
50
|
"cy",
|
|
51
51
|
"r",
|
|
52
52
|
"fill"
|
|
53
|
-
],
|
|
53
|
+
], M = [
|
|
54
54
|
"cy",
|
|
55
55
|
"r",
|
|
56
56
|
"fill"
|
|
57
|
-
],
|
|
57
|
+
], N = [
|
|
58
58
|
"cx",
|
|
59
59
|
"r",
|
|
60
60
|
"fill"
|
|
61
|
-
],
|
|
61
|
+
], P = [
|
|
62
62
|
"cx",
|
|
63
63
|
"r",
|
|
64
64
|
"fill"
|
|
65
|
-
],
|
|
65
|
+
], F = {
|
|
66
66
|
key: 5,
|
|
67
67
|
class: "coordinates"
|
|
68
|
-
},
|
|
68
|
+
}, I = [
|
|
69
69
|
"x",
|
|
70
70
|
"y",
|
|
71
71
|
"font-size",
|
|
72
72
|
"fill"
|
|
73
|
-
],
|
|
73
|
+
], L = ["transform"], ce = ["font-size", "fill"], R = /*#__PURE__*/ i({
|
|
74
74
|
__name: "vue-ui-cursor",
|
|
75
75
|
props: { config: {
|
|
76
76
|
type: Object,
|
|
77
77
|
default: {}
|
|
78
78
|
} },
|
|
79
79
|
setup(e) {
|
|
80
|
-
let { vue_ui_cursor:
|
|
80
|
+
let { vue_ui_cursor: i } = ee(), x = e, R = v(t()), z = s(() => te({
|
|
81
81
|
userConfig: x.config,
|
|
82
|
-
defaultConfig:
|
|
82
|
+
defaultConfig: i
|
|
83
83
|
})), B = v({
|
|
84
84
|
x: -100,
|
|
85
85
|
y: -100
|
|
@@ -96,7 +96,7 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
96
96
|
}
|
|
97
97
|
let q = v(!1), J = v(null);
|
|
98
98
|
function Y() {
|
|
99
|
-
q.value = !1, J.value && clearTimeout(J.value),
|
|
99
|
+
q.value = !1, J.value && clearTimeout(J.value), f(() => {
|
|
100
100
|
q.value = !0, J.value = setTimeout(() => {
|
|
101
101
|
q.value = !1;
|
|
102
102
|
}, 1e3);
|
|
@@ -129,56 +129,56 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
129
129
|
}), Z.value = t;
|
|
130
130
|
}), h(() => {
|
|
131
131
|
Z.value &&= (Z.value.disconnect(), null), X.value &&= (le(X.value), null);
|
|
132
|
-
}), (e,
|
|
132
|
+
}), (e, t) => (_(), ne(o, { to: "body" }, [G.value ? (_(), l("svg", {
|
|
133
133
|
key: 0,
|
|
134
134
|
"data-dom-to-png-ignore": "",
|
|
135
|
-
xmlns: b(
|
|
135
|
+
xmlns: b(r),
|
|
136
136
|
style: m(`z-index: 2147483647; overflow: visible; pointer-events: none;background: transparent; position:fixed; top:${B.value.y}px; left:${B.value.x}px;`),
|
|
137
137
|
viewBox: "0 0 100 100",
|
|
138
138
|
height: V.value * 2,
|
|
139
139
|
width: V.value * 2
|
|
140
140
|
}, [
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
d(a),
|
|
142
|
+
u("defs", null, [u("radialGradient", ie, [u("stop", {
|
|
143
143
|
offset: "10%",
|
|
144
144
|
"stop-color": z.value.bubbleEffectColor,
|
|
145
145
|
"stop-opacity": z.value.bubbleEffectOpacity
|
|
146
|
-
}, null, 8, ae),
|
|
146
|
+
}, null, 8, ae), t[0] ||= u("stop", {
|
|
147
147
|
offset: "95%",
|
|
148
148
|
"stop-color": "transparent"
|
|
149
149
|
}, null, -1)])]),
|
|
150
|
-
z.value.showCenterCircle ? (_(),
|
|
150
|
+
z.value.showCenterCircle ? (_(), l("circle", {
|
|
151
151
|
key: 0,
|
|
152
152
|
cx: 50,
|
|
153
153
|
cy: 50,
|
|
154
154
|
r: V.value,
|
|
155
|
-
fill: b(
|
|
155
|
+
fill: b(n)(z.value.centerCircleColor, z.value.centerCircleOpacity * 100),
|
|
156
156
|
stroke: z.value.centerCircleStroke,
|
|
157
157
|
"stroke-width": z.value.centerCircleStrokeWidth,
|
|
158
158
|
"stroke-dasharray": z.value.centerCircleDasharray
|
|
159
|
-
}, null, 8, oe)) :
|
|
160
|
-
z.value.bubbleEffect ? (_(),
|
|
159
|
+
}, null, 8, oe)) : c("", !0),
|
|
160
|
+
z.value.bubbleEffect ? (_(), l("circle", {
|
|
161
161
|
key: 1,
|
|
162
162
|
cx: 50,
|
|
163
163
|
cy: 50,
|
|
164
164
|
r: V.value,
|
|
165
165
|
fill: "url(#follower)",
|
|
166
166
|
stroke: "none"
|
|
167
|
-
}, null, 8, se)) :
|
|
168
|
-
z.value.useWaveOnClick ? (_(),
|
|
167
|
+
}, null, 8, se)) : c("", !0),
|
|
168
|
+
z.value.useWaveOnClick ? (_(), l("g", S, [u("defs", null, [u("filter", {
|
|
169
169
|
id: `blur_${R.value}`,
|
|
170
170
|
x: "-50%",
|
|
171
171
|
y: "-50%",
|
|
172
172
|
width: "200%",
|
|
173
173
|
height: "200%"
|
|
174
|
-
}, [
|
|
174
|
+
}, [u("feGaussianBlur", {
|
|
175
175
|
in: "SourceGraphic",
|
|
176
176
|
stdDeviation: 4,
|
|
177
177
|
id: `blur_std_${R.value}`
|
|
178
|
-
}, null, 8,
|
|
178
|
+
}, null, 8, w), t[1] ||= u("feColorMatrix", {
|
|
179
179
|
type: "saturate",
|
|
180
180
|
values: "0"
|
|
181
|
-
}, null, -1)], 8,
|
|
181
|
+
}, null, -1)], 8, C)]), q.value ? (_(), l("circle", {
|
|
182
182
|
key: 0,
|
|
183
183
|
class: p({ "circle-wave": q.value }),
|
|
184
184
|
cx: 50,
|
|
@@ -188,9 +188,9 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
188
188
|
stroke: z.value.centerCircleStroke,
|
|
189
189
|
fill: "none",
|
|
190
190
|
"stroke-width": "3"
|
|
191
|
-
}, null, 10,
|
|
192
|
-
z.value.showCrosshair ? (_(),
|
|
193
|
-
|
|
191
|
+
}, null, 10, T)) : c("", !0)])) : c("", !0),
|
|
192
|
+
z.value.showCrosshair ? (_(), l("g", E, [
|
|
193
|
+
u("line", {
|
|
194
194
|
x1: -V.value + 50,
|
|
195
195
|
x2: -5e3,
|
|
196
196
|
y1: 50,
|
|
@@ -199,8 +199,8 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
199
199
|
"stroke-width": z.value.crosshairStrokeWidth,
|
|
200
200
|
"stroke-dasharray": z.value.crosshairDasharray,
|
|
201
201
|
"stroke-linecap": "round"
|
|
202
|
-
}, null, 8,
|
|
203
|
-
|
|
202
|
+
}, null, 8, D),
|
|
203
|
+
u("line", {
|
|
204
204
|
x1: 50 + V.value,
|
|
205
205
|
x2: 5e3,
|
|
206
206
|
y1: 50,
|
|
@@ -209,8 +209,8 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
209
209
|
"stroke-width": z.value.crosshairStrokeWidth,
|
|
210
210
|
"stroke-dasharray": z.value.crosshairDasharray,
|
|
211
211
|
"stroke-linecap": "round"
|
|
212
|
-
}, null, 8,
|
|
213
|
-
|
|
212
|
+
}, null, 8, O),
|
|
213
|
+
u("line", {
|
|
214
214
|
x1: 50,
|
|
215
215
|
x2: 50,
|
|
216
216
|
y1: -V.value + 50,
|
|
@@ -219,8 +219,8 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
219
219
|
"stroke-width": z.value.crosshairStrokeWidth,
|
|
220
220
|
"stroke-dasharray": z.value.crosshairDasharray,
|
|
221
221
|
"stroke-linecap": "round"
|
|
222
|
-
}, null, 8,
|
|
223
|
-
|
|
222
|
+
}, null, 8, k),
|
|
223
|
+
u("line", {
|
|
224
224
|
x1: 50,
|
|
225
225
|
x2: 50,
|
|
226
226
|
y1: V.value + 50,
|
|
@@ -229,38 +229,38 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
229
229
|
"stroke-width": z.value.crosshairStrokeWidth,
|
|
230
230
|
"stroke-dasharray": z.value.crosshairDasharray,
|
|
231
231
|
"stroke-linecap": "round"
|
|
232
|
-
}, null, 8,
|
|
233
|
-
])) :
|
|
234
|
-
z.value.showIntersectCircles ? (_(),
|
|
232
|
+
}, null, 8, A)
|
|
233
|
+
])) : c("", !0),
|
|
234
|
+
z.value.showIntersectCircles ? (_(), l("g", {
|
|
235
235
|
key: 4,
|
|
236
236
|
class: p({ "rotating-circles": z.value.isLoading })
|
|
237
237
|
}, [
|
|
238
|
-
|
|
238
|
+
u("circle", {
|
|
239
239
|
cx: 50,
|
|
240
240
|
cy: V.value + 50,
|
|
241
241
|
r: z.value.intersectCirclesRadius,
|
|
242
242
|
fill: z.value.intersectCirclesFill
|
|
243
|
-
}, null, 8,
|
|
244
|
-
|
|
243
|
+
}, null, 8, j),
|
|
244
|
+
u("circle", {
|
|
245
245
|
cx: 50,
|
|
246
246
|
cy: -V.value + 50,
|
|
247
247
|
r: z.value.intersectCirclesRadius,
|
|
248
248
|
fill: z.value.intersectCirclesFill
|
|
249
|
-
}, null, 8,
|
|
250
|
-
|
|
249
|
+
}, null, 8, M),
|
|
250
|
+
u("circle", {
|
|
251
251
|
cx: -V.value + 50,
|
|
252
252
|
cy: 50,
|
|
253
253
|
r: z.value.intersectCirclesRadius,
|
|
254
254
|
fill: z.value.intersectCirclesFill
|
|
255
|
-
}, null, 8,
|
|
256
|
-
|
|
255
|
+
}, null, 8, N),
|
|
256
|
+
u("circle", {
|
|
257
257
|
cx: V.value + 50,
|
|
258
258
|
cy: 50,
|
|
259
259
|
r: z.value.intersectCirclesRadius,
|
|
260
260
|
fill: z.value.intersectCirclesFill
|
|
261
|
-
}, null, 8,
|
|
262
|
-
], 2)) :
|
|
263
|
-
z.value.showCoordinates ? (_(),
|
|
261
|
+
}, null, 8, P)
|
|
262
|
+
], 2)) : c("", !0),
|
|
263
|
+
z.value.showCoordinates ? (_(), l("g", F, [u("text", {
|
|
264
264
|
"text-anchor": "end",
|
|
265
265
|
x: -V.value + 50 - z.value.coordinatesFontSize / 2 + H.value,
|
|
266
266
|
y: 50 - z.value.coordinatesFontSize / 2 + H.value,
|
|
@@ -268,15 +268,15 @@ var x = /* @__PURE__ */ e({ default: () => R }), re = [
|
|
|
268
268
|
fill: z.value.coordinatesColor,
|
|
269
269
|
style: { "font-variant-numeric": "tabular-nums" },
|
|
270
270
|
"font-family": "Arial"
|
|
271
|
-
}, y(B.value.x.toFixed(0)), 9,
|
|
271
|
+
}, y(B.value.x.toFixed(0)), 9, I), u("g", { transform: `translate(${50 - z.value.coordinatesFontSize / 2 + H.value}, ${-V.value + 50 - z.value.coordinatesFontSize / 2 + H.value})` }, [u("text", {
|
|
272
272
|
"text-anchor": "start",
|
|
273
273
|
"font-size": z.value.coordinatesFontSize,
|
|
274
274
|
fill: z.value.coordinatesColor,
|
|
275
275
|
style: { "font-variant-numeric": "tabular-nums" },
|
|
276
276
|
transform: "rotate(-90)",
|
|
277
277
|
"font-family": "Arial"
|
|
278
|
-
}, y(B.value.y.toFixed(0)), 9,
|
|
279
|
-
], 12, re)) :
|
|
278
|
+
}, y(B.value.y.toFixed(0)), 9, ce)], 8, L)])) : c("", !0)
|
|
279
|
+
], 12, re)) : c("", !0)]));
|
|
280
280
|
}
|
|
281
281
|
}, [["__scopeId", "data-v-4b1f566e"]]);
|
|
282
282
|
//#endregion
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Nt as t, Rt as n, S as r, X as i, Y as a, at as o, rt as s, t as c, tn as l, xt as u } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as d, t as f } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as p } from "./useConfig-
|
|
5
|
-
import { t as m } from "./usePrinter-
|
|
4
|
+
import { t as p } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as m } from "./usePrinter-BBBooAGP.js";
|
|
6
6
|
import { n as h, t as g } from "./BaseScanner-Dzc8VT3j.js";
|
|
7
|
-
import { t as _ } from "./useNestedProp-
|
|
7
|
+
import { t as _ } from "./useNestedProp-Bux0f4iY.js";
|
|
8
8
|
import { t as ee } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
9
|
import { t as te } from "./useChartExport-iwOqiIWX.js";
|
|
10
|
-
import { t as ne } from "./img-
|
|
11
|
-
import { n as re } from "./Title-
|
|
10
|
+
import { t as ne } from "./img-W50sC9SC.js";
|
|
11
|
+
import { n as re } from "./Title-DeqmC-vN.js";
|
|
12
12
|
import { t as ie } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
13
13
|
import { l as ae, t as oe } from "./useResponsive-ZtArZtUf.js";
|
|
14
14
|
import { t as se } from "./A11yDataTable-DdRsVULz.js";
|
|
15
15
|
import { t as ce } from "./useUserOptionState-DK-_1ddE.js";
|
|
16
16
|
import { t as le } from "./useChartAccessibility-DYqac8yF.js";
|
|
17
17
|
import { t as ue } from "./usePanZoom-CYU3B4T3.js";
|
|
18
|
-
import { t as de } from "./BaseZoomControls-
|
|
18
|
+
import { t as de } from "./BaseZoomControls-BK0PxEa8.js";
|
|
19
19
|
import { t as fe } from "./vue_ui_dag-TsJ_azQq.js";
|
|
20
20
|
import { Fragment as pe, Teleport as me, Transition as he, computed as v, createBlock as ge, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as _e, createTextVNode as ve, createVNode as ye, defineAsyncComponent as be, guardReactiveProps as S, mergeProps as xe, nextTick as Se, normalizeClass as Ce, normalizeProps as C, normalizeStyle as we, onBeforeUnmount as Te, onMounted as Ee, openBlock as w, ref as T, renderList as De, renderSlot as E, toDisplayString as Oe, toRefs as ke, unref as D, watch as Ae, watchEffect as je, withCtx as O, withModifiers as Me } from "vue";
|
|
21
21
|
//#region src/DAG/graph.js
|
|
@@ -1598,37 +1598,37 @@ function Zn(e) {
|
|
|
1598
1598
|
return n += ` L ${r.x} ${r.y}`, n;
|
|
1599
1599
|
}
|
|
1600
1600
|
function Qn(e) {
|
|
1601
|
-
let { nodes: t, edges: n, configuration: r } = e,
|
|
1602
|
-
function
|
|
1603
|
-
|
|
1601
|
+
let { nodes: t, edges: n, configuration: r } = e, a = T(null), o = T(null), s = `dag-arrow-${i()}`;
|
|
1602
|
+
function c(e, t, n) {
|
|
1603
|
+
o.value = null, a.value = null;
|
|
1604
1604
|
let r = {
|
|
1605
1605
|
...Yn,
|
|
1606
1606
|
...n
|
|
1607
|
-
},
|
|
1607
|
+
}, c = new Ie({
|
|
1608
1608
|
multigraph: !0,
|
|
1609
1609
|
compound: !0
|
|
1610
1610
|
});
|
|
1611
|
-
|
|
1611
|
+
c.setGraph({
|
|
1612
1612
|
rankdir: r.rankDirection,
|
|
1613
1613
|
nodesep: r.nodeSeparation,
|
|
1614
1614
|
ranksep: r.rankSeparation,
|
|
1615
1615
|
edgesep: r.edgeSeparation,
|
|
1616
1616
|
align: r.align
|
|
1617
1617
|
}), e.forEach((e) => {
|
|
1618
|
-
|
|
1618
|
+
c.setNode(e.id, {
|
|
1619
1619
|
label: e.label,
|
|
1620
1620
|
width: e.width ?? r.nodeWidth,
|
|
1621
1621
|
height: e.height ?? r.nodeHeight
|
|
1622
1622
|
});
|
|
1623
1623
|
}), t.forEach((e) => {
|
|
1624
|
-
|
|
1624
|
+
c.setEdge(e.from, e.to, {
|
|
1625
1625
|
weight: e.weight ?? 1,
|
|
1626
1626
|
minlen: e.minLength ?? 1,
|
|
1627
1627
|
arrowShape: r.arrowShape ?? "normal"
|
|
1628
1628
|
});
|
|
1629
|
-
}), Cn(
|
|
1629
|
+
}), Cn(c);
|
|
1630
1630
|
let l = e.map((e) => {
|
|
1631
|
-
let t =
|
|
1631
|
+
let t = c.node(e.id);
|
|
1632
1632
|
return {
|
|
1633
1633
|
id: e.id,
|
|
1634
1634
|
label: e.label,
|
|
@@ -1638,16 +1638,16 @@ function Qn(e) {
|
|
|
1638
1638
|
height: t.height,
|
|
1639
1639
|
original: e
|
|
1640
1640
|
};
|
|
1641
|
-
}), d =
|
|
1642
|
-
let n =
|
|
1643
|
-
if (!
|
|
1644
|
-
let
|
|
1641
|
+
}), d = c.edges().map((e) => {
|
|
1642
|
+
let n = c.edge(e), a = n.points || [];
|
|
1643
|
+
if (!a.length) return null;
|
|
1644
|
+
let o = r.curvedEdges ? Zn(a) : Xn(a), l = r.arrowShape === "undirected" ? null : `url(#${s})`, u = t.find((t) => t?.from === e.v && t?.to === e.w);
|
|
1645
1645
|
return {
|
|
1646
|
-
id: `${e.v}->${e.w}->${
|
|
1646
|
+
id: `${e.v}->${e.w}->${i()}`,
|
|
1647
1647
|
from: e.v,
|
|
1648
1648
|
to: e.w,
|
|
1649
|
-
points:
|
|
1650
|
-
pathData:
|
|
1649
|
+
points: a,
|
|
1650
|
+
pathData: o,
|
|
1651
1651
|
markerEnd: l,
|
|
1652
1652
|
original: {
|
|
1653
1653
|
...u,
|
|
@@ -1656,7 +1656,7 @@ function Qn(e) {
|
|
|
1656
1656
|
};
|
|
1657
1657
|
}).filter(Boolean), f = r.padding;
|
|
1658
1658
|
if (!l.length) {
|
|
1659
|
-
|
|
1659
|
+
a.value = {
|
|
1660
1660
|
nodes: [],
|
|
1661
1661
|
edges: d,
|
|
1662
1662
|
viewBox: "0 0 0 0",
|
|
@@ -1666,7 +1666,7 @@ function Qn(e) {
|
|
|
1666
1666
|
return;
|
|
1667
1667
|
}
|
|
1668
1668
|
let p = l.flatMap((e) => [e.x - e.width / 2, e.x + e.width / 2]), m = l.flatMap((e) => [e.y - e.height / 2, e.y + e.height / 2]), h = Math.min(...p) - f, g = Math.max(...p) + f, _ = Math.min(...m) - f, ee = Math.max(...m) + f;
|
|
1669
|
-
|
|
1669
|
+
a.value = {
|
|
1670
1670
|
nodes: l,
|
|
1671
1671
|
edges: d.map((e) => ({
|
|
1672
1672
|
...e,
|
|
@@ -1682,16 +1682,16 @@ function Qn(e) {
|
|
|
1682
1682
|
}
|
|
1683
1683
|
return je(() => {
|
|
1684
1684
|
try {
|
|
1685
|
-
|
|
1685
|
+
c(D(t) || [], D(n) || [], D(r) || {});
|
|
1686
1686
|
} catch (e) {
|
|
1687
|
-
console.error("[useDag] layout error:", e),
|
|
1687
|
+
console.error("[useDag] layout error:", e), o.value = e, a.value = null;
|
|
1688
1688
|
}
|
|
1689
1689
|
}), {
|
|
1690
|
-
layoutData:
|
|
1691
|
-
lastError:
|
|
1692
|
-
arrowMarkerIdentifier:
|
|
1690
|
+
layoutData: a,
|
|
1691
|
+
lastError: o,
|
|
1692
|
+
arrowMarkerIdentifier: s,
|
|
1693
1693
|
recomputeLayout: () => {
|
|
1694
|
-
|
|
1694
|
+
c(D(t) || [], D(n) || [], D(r) || {});
|
|
1695
1695
|
}
|
|
1696
1696
|
};
|
|
1697
1697
|
}
|
|
@@ -1807,7 +1807,7 @@ var $n = /* @__PURE__ */ e({ default: () => Nr }), er = ["id"], tr = ["id"], nr
|
|
|
1807
1807
|
"rotate"
|
|
1808
1808
|
],
|
|
1809
1809
|
setup(e, { expose: u, emit: ie }) {
|
|
1810
|
-
let je = be(() => import("./PenAndPaper-
|
|
1810
|
+
let je = be(() => import("./PenAndPaper-XdUD8uB3.js").then((e) => e.t)), Ne = be(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), Pe = be(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), { vue_ui_dag: Fe } = p(), { isThemeValid: Ie, warnInvalidTheme: Le } = ee(), k = e, A = ie, j = T(null), M = T(i()), Re = T(null), ze = T(null), Be = T(null), Ve = T(0), He = T(0), Ue = T(!1), We = T(!1), N = T(null), P = T(null), F = T(null), I = T(null), Ge = T(null), Ke = T("pointer"), qe = T(!1), L = T(mt()), R = v(() => L.value.style.chart.nodes), z = v(() => L.value.style.chart.edges), B = v(() => L.value.style.chart.midpoints), V = v(() => L.value.style.chart);
|
|
1811
1811
|
d({
|
|
1812
1812
|
config: () => L.value,
|
|
1813
1813
|
dataset: () => k.dataset,
|
|
@@ -1829,7 +1829,7 @@ var $n = /* @__PURE__ */ e({ default: () => Nr }), er = ["id"], tr = ["id"], nr
|
|
|
1829
1829
|
}), G = T(null), nt = T(null), rt = T({
|
|
1830
1830
|
left: "0px",
|
|
1831
1831
|
top: "0px"
|
|
1832
|
-
}), it = T("top"), at = T(!1), ot = T(!1), { svgRef: K } = le({ config: V.value.title }), { userOptionsVisible: st, setUserOptionsVisibility: ct, keepUserOptionState: lt } = ce({ config: L.value }), q = T(L.value.style.chart.layout.rankDirection), ut = v(() =>
|
|
1832
|
+
}), it = T("top"), at = T(!1), ot = T(!1), { svgRef: K } = le({ config: V.value.title }), { userOptionsVisible: st, setUserOptionsVisibility: ct, keepUserOptionState: lt } = ce({ config: L.value }), q = T(L.value.style.chart.layout.rankDirection), ut = v(() => l({
|
|
1833
1833
|
defaultConfig: {
|
|
1834
1834
|
userOptions: { show: !1 },
|
|
1835
1835
|
style: { chart: {
|
|
@@ -1873,7 +1873,7 @@ var $n = /* @__PURE__ */ e({ default: () => Nr }), er = ["id"], tr = ["id"], nr
|
|
|
1873
1873
|
to: "C"
|
|
1874
1874
|
}]
|
|
1875
1875
|
},
|
|
1876
|
-
skeletonConfig:
|
|
1876
|
+
skeletonConfig: l({
|
|
1877
1877
|
defaultConfig: L.value,
|
|
1878
1878
|
userConfig: ut.value
|
|
1879
1879
|
})
|
|
@@ -1896,11 +1896,11 @@ var $n = /* @__PURE__ */ e({ default: () => Nr }), er = ["id"], tr = ["id"], nr
|
|
|
1896
1896
|
}
|
|
1897
1897
|
let ht = v(() => L.value.debug);
|
|
1898
1898
|
Ee(async () => {
|
|
1899
|
-
|
|
1899
|
+
n(k.dataset) && (o({
|
|
1900
1900
|
componentName: "VueUiDag",
|
|
1901
1901
|
type: "dataset",
|
|
1902
1902
|
debug: ht.value
|
|
1903
|
-
}), We.value = !1, pt.value = !0), (!k.dataset.nodes || k.dataset.nodes.length === 0) && (
|
|
1903
|
+
}), We.value = !1, pt.value = !0), (!k.dataset.nodes || k.dataset.nodes.length === 0) && (o({
|
|
1904
1904
|
componentName: "VueUiDag",
|
|
1905
1905
|
type: "datasetAttributeEmpty",
|
|
1906
1906
|
property: "nodes",
|
|
@@ -1953,8 +1953,8 @@ var $n = /* @__PURE__ */ e({ default: () => Nr }), er = ["id"], tr = ["id"], nr
|
|
|
1953
1953
|
let { layoutData: J, lastError: kt, arrowMarkerIdentifier: At } = Qn({
|
|
1954
1954
|
nodes: v(() => ft.value.nodes.map((e) => ({
|
|
1955
1955
|
...e,
|
|
1956
|
-
backgroundColor: e.backgroundColor ?
|
|
1957
|
-
color: e.color ?
|
|
1956
|
+
backgroundColor: e.backgroundColor ? r(e.backgroundColor) : R.value.backgroundColor,
|
|
1957
|
+
color: e.color ? r(e.color) : R.value.labels.color
|
|
1958
1958
|
}))),
|
|
1959
1959
|
edges: v(() => ft.value.edges),
|
|
1960
1960
|
configuration: v(() => ({
|
|
@@ -1992,8 +1992,8 @@ var $n = /* @__PURE__ */ e({ default: () => Nr }), er = ["id"], tr = ["id"], nr
|
|
|
1992
1992
|
W.value = !1;
|
|
1993
1993
|
}), Lt = null;
|
|
1994
1994
|
async function Rt(e, { smooth: n = !0, duration: r = 300, zoomReset: i = !1, zoom: a = null } = {}) {
|
|
1995
|
-
let
|
|
1996
|
-
if (!
|
|
1995
|
+
let o = Y(e);
|
|
1996
|
+
if (!o) return !1;
|
|
1997
1997
|
let c = X.value;
|
|
1998
1998
|
if (!c) return !1;
|
|
1999
1999
|
let l = {
|
|
@@ -2007,7 +2007,7 @@ var $n = /* @__PURE__ */ e({ default: () => Nr }), er = ["id"], tr = ["id"], nr
|
|
|
2007
2007
|
let e = X.value, t = Number.isFinite(a) && a > 0 ? a / 100 : 1;
|
|
2008
2008
|
d = Number(e.width) / t, f = Number(e.height) / t, p = t, X.value = { ...l }, Ft.value = u;
|
|
2009
2009
|
}
|
|
2010
|
-
let m = Number(
|
|
2010
|
+
let m = Number(o.x), h = Number(o.y);
|
|
2011
2011
|
if (!Number.isFinite(l.x) || !Number.isFinite(l.y) || !Number.isFinite(l.width) || !Number.isFinite(l.height) || !Number.isFinite(d) || !Number.isFinite(f) || !Number.isFinite(m) || !Number.isFinite(h)) return !1;
|
|
2012
2012
|
let g = {
|
|
2013
2013
|
x: m - d / 2,
|
|
@@ -2018,7 +2018,7 @@ var $n = /* @__PURE__ */ e({ default: () => Nr }), er = ["id"], tr = ["id"], nr
|
|
|
2018
2018
|
if (Lt !== null && (cancelAnimationFrame(Lt), Lt = null), W.value = !1, !n || r <= 0) return X.value = g, Ft.value = p, !0;
|
|
2019
2019
|
let _ = performance.now();
|
|
2020
2020
|
function ee(e) {
|
|
2021
|
-
let n = Math.min((e - _) / r, 1), i =
|
|
2021
|
+
let n = Math.min((e - _) / r, 1), i = s(n);
|
|
2022
2022
|
X.value = {
|
|
2023
2023
|
x: t(l.x, g.x, i),
|
|
2024
2024
|
y: t(l.y, g.y, i),
|
|
@@ -2679,7 +2679,7 @@ var $n = /* @__PURE__ */ e({ default: () => Nr }), er = ["id"], tr = ["id"], nr
|
|
|
2679
2679
|
"vue-data-ui-loading": D(dt)
|
|
2680
2680
|
}),
|
|
2681
2681
|
viewBox: Vt.value,
|
|
2682
|
-
xmlns: D(
|
|
2682
|
+
xmlns: D(c),
|
|
2683
2683
|
style: we({
|
|
2684
2684
|
backgroundColor: V.value.backgroundColor,
|
|
2685
2685
|
height: "100%",
|
|
@@ -2829,7 +2829,7 @@ var $n = /* @__PURE__ */ e({ default: () => Nr }), er = ["id"], tr = ["id"], nr
|
|
|
2829
2829
|
fill: (Q.value === t.id || xn(t.id)) && R.value.selected.labelColor != null ? R.value.selected.labelColor : t.original.color,
|
|
2830
2830
|
"font-weight": R.value.labels.bold ? "bold" : "normal",
|
|
2831
2831
|
style: { transition: "fill 0.2s ease-in-out" },
|
|
2832
|
-
innerHTML: D(
|
|
2832
|
+
innerHTML: D(a)({
|
|
2833
2833
|
content: t.label,
|
|
2834
2834
|
fontSize: R.value.labels.fontSize,
|
|
2835
2835
|
fontWeight: V.value.nodes.labels.bold ? "bold" : "normal",
|