@altimateai/ui-components 0.0.72-beta2 → 0.0.72-beta4
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/CoachForm.js +625 -601
- package/dist/Stack.js +3 -3
- package/dist/_basePickBy.js +76 -76
- package/dist/_baseUniq.js +197 -197
- package/dist/arc.js +36 -36
- package/dist/architectureDiagram-VXUJARFQ.js +1 -1
- package/dist/blockDiagram-VD42YOAC.js +1 -1
- package/dist/c4Diagram-YG6GDRKO.js +22 -22
- package/dist/channel.js +2 -2
- package/dist/chatbotV2/index.js +48 -48
- package/dist/chunk-4BX2VUAB.js +1 -1
- package/dist/chunk-55IACEB6.js +2 -2
- package/dist/chunk-B4BG7PRW.js +1 -1
- package/dist/chunk-DI55MBZ5.js +1 -1
- package/dist/chunk-FMBD7UC4.js +1 -1
- package/dist/chunk-QN33PNHL.js +5 -5
- package/dist/chunk-QZHKN3VN.js +1 -1
- package/dist/chunk-TZMSLE5B.js +1 -1
- package/dist/classDiagram-2ON5EDUG.js +1 -1
- package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
- package/dist/cose-bilkent-S5V4N54A.js +1 -1
- package/dist/dagre-6UL2VRFP.js +58 -58
- package/dist/diagram-PSM6KHXK.js +69 -69
- package/dist/diagram-QEK2KX5R.js +26 -26
- package/dist/diagram-S2PKOQOG.js +9 -9
- package/dist/erDiagram-Q2GNP2WA.js +12 -12
- package/dist/flowDiagram-NV44I4VS.js +6 -6
- package/dist/ganttDiagram-LVOFAZNH.js +322 -322
- package/dist/gitGraphDiagram-NY62KEGX.js +13 -13
- package/dist/graph.js +5 -5
- package/dist/index.js +30 -30
- package/dist/infoDiagram-F6ZHWCRC.js +14 -14
- package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
- package/dist/kanban-definition-3W4ZIXB7.js +54 -54
- package/dist/layout.js +68 -68
- package/dist/lineage/index.js +1 -1
- package/dist/main.js +2 -2
- package/dist/mermaid-parser.core.js +155 -155
- package/dist/mindmap-definition-VGOIOE7T.js +16 -16
- package/dist/pieDiagram-ADFJNKIX.js +25 -25
- package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
- package/dist/redux-toolkit.modern.js +2185 -11288
- package/dist/requirementDiagram-UZGBJVZJ.js +1 -1
- package/dist/sankeyDiagram-TZEHDZUN.js +16 -16
- package/dist/sequenceDiagram-WL72ISMW.js +28 -28
- package/dist/shadcn/index.js +2 -2
- package/dist/stateDiagram-FKZM4ZOC.js +34 -34
- package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
- package/dist/timeline-definition-IT6M3QCI.js +54 -54
- package/dist/xychartDiagram-PRI3JC2R.js +32 -32
- package/package.json +1 -1
package/dist/layout.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { G as g } from "./graph.js";
|
|
2
|
-
import { b as Te, p as ce, q as le, g as z, e as ee, l as j, o as
|
|
3
|
-
import { f as O, b as he, a as je, c as Ve, d as
|
|
4
|
-
import {
|
|
2
|
+
import { b as Te, p as ce, q as le, g as z, e as ee, l as j, o as Me, s as Ie, c as Se, u as Fe, d as f, i as m, f as _, v as x, r as I } from "./_baseUniq.js";
|
|
3
|
+
import { f as O, b as he, a as je, c as Ve, d as Be, t as V, m as w, e as P, h as ve, g as X, l as T, i as Ae } from "./_basePickBy.js";
|
|
4
|
+
import { aW as Ge, aX as Ye, aY as De, aM as $e, aZ as qe, aQ as pe, aP as we, a_ as We, aL as $, az as ze, aS as Xe, aB as Ue, a$ as q } from "./CoachForm.js";
|
|
5
5
|
function He(e) {
|
|
6
6
|
return Ge(Ye(e, void 0, O), e + "");
|
|
7
7
|
}
|
|
8
|
-
var
|
|
9
|
-
function
|
|
10
|
-
return Te(e,
|
|
8
|
+
var Ze = 1, Je = 4;
|
|
9
|
+
function Qe(e) {
|
|
10
|
+
return Te(e, Ze | Je);
|
|
11
11
|
}
|
|
12
12
|
function Ke(e, n) {
|
|
13
|
-
return e == null ? e : De(e, ce(n),
|
|
13
|
+
return e == null ? e : De(e, ce(n), $e);
|
|
14
14
|
}
|
|
15
15
|
function en(e, n) {
|
|
16
16
|
return e && le(e, ce(n));
|
|
@@ -21,7 +21,7 @@ function nn(e, n) {
|
|
|
21
21
|
function S(e, n) {
|
|
22
22
|
var r = {};
|
|
23
23
|
return n = z(n), le(e, function(t, a, i) {
|
|
24
|
-
|
|
24
|
+
qe(r, a, n(t, a, i));
|
|
25
25
|
}), r;
|
|
26
26
|
}
|
|
27
27
|
function y(e) {
|
|
@@ -61,7 +61,7 @@ function an(e, n, r) {
|
|
|
61
61
|
function on(e, n, r) {
|
|
62
62
|
n.length ? n = j(n, function(i) {
|
|
63
63
|
return we(i) ? function(o) {
|
|
64
|
-
return
|
|
64
|
+
return Me(o, i.length === 1 ? i[0] : i);
|
|
65
65
|
} : i;
|
|
66
66
|
}) : n = [pe];
|
|
67
67
|
var t = -1;
|
|
@@ -77,11 +77,11 @@ function on(e, n, r) {
|
|
|
77
77
|
});
|
|
78
78
|
}
|
|
79
79
|
function un(e, n) {
|
|
80
|
-
return
|
|
81
|
-
return
|
|
80
|
+
return Be(e, n, function(r, t) {
|
|
81
|
+
return Ie(e, t);
|
|
82
82
|
});
|
|
83
83
|
}
|
|
84
|
-
var
|
|
84
|
+
var M = He(function(e, n) {
|
|
85
85
|
return e == null ? {} : un(e, n);
|
|
86
86
|
}), dn = Math.ceil, sn = Math.max;
|
|
87
87
|
function fn(e, n, r, t) {
|
|
@@ -91,14 +91,14 @@ function fn(e, n, r, t) {
|
|
|
91
91
|
}
|
|
92
92
|
function cn(e) {
|
|
93
93
|
return function(n, r, t) {
|
|
94
|
-
return t && typeof t != "number" &&
|
|
94
|
+
return t && typeof t != "number" && $(n, r, t) && (r = t = void 0), n = V(n), r === void 0 ? (r = n, n = 0) : r = V(r), t = t === void 0 ? n < r ? 1 : -1 : V(t), fn(n, r, t);
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
var E = cn(), R = ze(function(e, n) {
|
|
98
98
|
if (e == null)
|
|
99
99
|
return [];
|
|
100
100
|
var r = n.length;
|
|
101
|
-
return r > 1 &&
|
|
101
|
+
return r > 1 && $(e, n[0], n[1]) ? n = [] : r > 2 && $(n[0], n[1], n[2]) && (n = [n[0]]), on(e, Se(n), []);
|
|
102
102
|
}), ln = 0;
|
|
103
103
|
function H(e) {
|
|
104
104
|
var n = ++ln;
|
|
@@ -155,20 +155,20 @@ function mn(e, n) {
|
|
|
155
155
|
function gn(e, n, r) {
|
|
156
156
|
for (var t = [], a = n[n.length - 1], i = n[0], o; e.nodeCount(); ) {
|
|
157
157
|
for (; o = i.dequeue(); )
|
|
158
|
-
|
|
158
|
+
B(e, n, r, o);
|
|
159
159
|
for (; o = a.dequeue(); )
|
|
160
|
-
|
|
160
|
+
B(e, n, r, o);
|
|
161
161
|
if (e.nodeCount()) {
|
|
162
162
|
for (var u = n.length - 2; u > 0; --u)
|
|
163
163
|
if (o = n[u].dequeue(), o) {
|
|
164
|
-
t = t.concat(
|
|
164
|
+
t = t.concat(B(e, n, r, o, !0));
|
|
165
165
|
break;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
return t;
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function B(e, n, r, t, a) {
|
|
172
172
|
var i = a ? [] : void 0;
|
|
173
173
|
return f(e.inEdges(t.v), function(o) {
|
|
174
174
|
var u = e.edge(o), d = e.node(o.v);
|
|
@@ -344,7 +344,7 @@ function Rn(e) {
|
|
|
344
344
|
}
|
|
345
345
|
function Tn(e) {
|
|
346
346
|
var n = e.graph().rankdir.toLowerCase();
|
|
347
|
-
(n === "bt" || n === "rl") &&
|
|
347
|
+
(n === "bt" || n === "rl") && Mn(e), (n === "lr" || n === "rl") && (In(e), ge(e));
|
|
348
348
|
}
|
|
349
349
|
function ge(e) {
|
|
350
350
|
f(e.nodes(), function(n) {
|
|
@@ -357,18 +357,18 @@ function ie(e) {
|
|
|
357
357
|
var n = e.width;
|
|
358
358
|
e.width = e.height, e.height = n;
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function Mn(e) {
|
|
361
361
|
f(e.nodes(), function(n) {
|
|
362
|
-
|
|
362
|
+
A(e.node(n));
|
|
363
363
|
}), f(e.edges(), function(n) {
|
|
364
364
|
var r = e.edge(n);
|
|
365
|
-
f(r.points,
|
|
365
|
+
f(r.points, A), Object.prototype.hasOwnProperty.call(r, "y") && A(r);
|
|
366
366
|
});
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function A(e) {
|
|
369
369
|
e.y = -e.y;
|
|
370
370
|
}
|
|
371
|
-
function
|
|
371
|
+
function In(e) {
|
|
372
372
|
f(e.nodes(), function(n) {
|
|
373
373
|
G(e.node(n));
|
|
374
374
|
}), f(e.edges(), function(n) {
|
|
@@ -408,7 +408,7 @@ function jn(e) {
|
|
|
408
408
|
a = e.successors(n)[0], e.removeNode(n), t.points.push({ x: r.x, y: r.y }), r.dummy === "edge-label" && (t.x = r.x, t.y = r.y, t.width = r.width, t.height = r.height), n = a, r = e.node(n);
|
|
409
409
|
});
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function Z(e) {
|
|
412
412
|
var n = {};
|
|
413
413
|
function r(t) {
|
|
414
414
|
var a = e.node(t);
|
|
@@ -433,7 +433,7 @@ function ye(e) {
|
|
|
433
433
|
var n = new g({ directed: !1 }), r = e.nodes()[0], t = e.nodeCount();
|
|
434
434
|
n.setNode(r, {});
|
|
435
435
|
for (var a, i; Vn(n, e) < t; )
|
|
436
|
-
a =
|
|
436
|
+
a = Bn(n, e), i = n.hasNode(a.v) ? C(e, a) : -C(e, a), An(n, e, i);
|
|
437
437
|
return n;
|
|
438
438
|
}
|
|
439
439
|
function Vn(e, n) {
|
|
@@ -445,13 +445,13 @@ function Vn(e, n) {
|
|
|
445
445
|
}
|
|
446
446
|
return f(e.nodes(), r), e.nodeCount();
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function Bn(e, n) {
|
|
449
449
|
return U(n.edges(), function(r) {
|
|
450
450
|
if (e.hasNode(r.v) !== e.hasNode(r.w))
|
|
451
451
|
return C(n, r);
|
|
452
452
|
});
|
|
453
453
|
}
|
|
454
|
-
function
|
|
454
|
+
function An(e, n, r) {
|
|
455
455
|
f(e.nodes(), function(t) {
|
|
456
456
|
n.node(t).rank += r;
|
|
457
457
|
});
|
|
@@ -479,26 +479,26 @@ function Yn(e, n) {
|
|
|
479
479
|
function Dn(e, n) {
|
|
480
480
|
return ke(e, n, "pre");
|
|
481
481
|
}
|
|
482
|
-
k.initLowLimValues =
|
|
483
|
-
k.initCutValues =
|
|
482
|
+
k.initLowLimValues = Q;
|
|
483
|
+
k.initCutValues = J;
|
|
484
484
|
k.calcCutValue = Ee;
|
|
485
485
|
k.leaveEdge = Le;
|
|
486
486
|
k.enterEdge = Ne;
|
|
487
487
|
k.exchangeEdges = Pe;
|
|
488
488
|
function k(e) {
|
|
489
|
-
e = On(e),
|
|
489
|
+
e = On(e), Z(e);
|
|
490
490
|
var n = ye(e);
|
|
491
|
-
|
|
491
|
+
Q(n), J(n, e);
|
|
492
492
|
for (var r, t; r = Le(n); )
|
|
493
493
|
t = Ne(n, e, r), Pe(n, e, r, t);
|
|
494
494
|
}
|
|
495
|
-
function
|
|
495
|
+
function J(e, n) {
|
|
496
496
|
var r = Yn(e, e.nodes());
|
|
497
497
|
r = r.slice(0, r.length - 1), f(r, function(t) {
|
|
498
|
-
|
|
498
|
+
$n(e, n, t);
|
|
499
499
|
});
|
|
500
500
|
}
|
|
501
|
-
function
|
|
501
|
+
function $n(e, n, r) {
|
|
502
502
|
var t = e.node(r), a = t.parent;
|
|
503
503
|
e.edge(r, a).cutvalue = Ee(e, n, r);
|
|
504
504
|
}
|
|
@@ -515,7 +515,7 @@ function Ee(e, n, r) {
|
|
|
515
515
|
}
|
|
516
516
|
}), u;
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function Q(e, n) {
|
|
519
519
|
arguments.length < 2 && (n = e.nodes()[0]), Oe(e, {}, 1, n);
|
|
520
520
|
}
|
|
521
521
|
function Oe(e, n, r, t, a) {
|
|
@@ -543,9 +543,9 @@ function Ne(e, n, r) {
|
|
|
543
543
|
}
|
|
544
544
|
function Pe(e, n, r, t) {
|
|
545
545
|
var a = r.v, i = r.w;
|
|
546
|
-
e.removeEdge(a, i), e.setEdge(t.v, t.w, {}),
|
|
546
|
+
e.removeEdge(a, i), e.setEdge(t.v, t.w, {}), Q(e), J(e, n), qn(e, n);
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function qn(e, n) {
|
|
549
549
|
var r = X(e.nodes(), function(a) {
|
|
550
550
|
return !n.node(a).parent;
|
|
551
551
|
}), t = Dn(e, r);
|
|
@@ -575,19 +575,19 @@ function zn(e) {
|
|
|
575
575
|
ue(e);
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
var Xn =
|
|
578
|
+
var Xn = Z;
|
|
579
579
|
function Un(e) {
|
|
580
|
-
|
|
580
|
+
Z(e), ye(e);
|
|
581
581
|
}
|
|
582
582
|
function ue(e) {
|
|
583
583
|
k(e);
|
|
584
584
|
}
|
|
585
585
|
function Hn(e) {
|
|
586
|
-
var n = L(e, "root", {}, "_root"), r =
|
|
586
|
+
var n = L(e, "root", {}, "_root"), r = Zn(e), t = y(x(r)) - 1, a = 2 * t + 1;
|
|
587
587
|
e.graph().nestingRoot = n, f(e.edges(), function(o) {
|
|
588
588
|
e.edge(o).minlen *= a;
|
|
589
589
|
});
|
|
590
|
-
var i =
|
|
590
|
+
var i = Jn(e) + 1;
|
|
591
591
|
f(e.children(), function(o) {
|
|
592
592
|
Ce(e, n, a, i, t, r, o);
|
|
593
593
|
}), e.graph().nodeRankFactor = a;
|
|
@@ -613,7 +613,7 @@ function Ce(e, n, r, t, a, i, o) {
|
|
|
613
613
|
});
|
|
614
614
|
}), e.parent(o) || e.setEdge(n, d, { weight: 0, minlen: a + i[o] });
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function Zn(e) {
|
|
617
617
|
var n = {};
|
|
618
618
|
function r(t, a) {
|
|
619
619
|
var i = e.children(t);
|
|
@@ -625,8 +625,8 @@ function Jn(e) {
|
|
|
625
625
|
r(t, 1);
|
|
626
626
|
}), n;
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
return
|
|
628
|
+
function Jn(e) {
|
|
629
|
+
return I(
|
|
630
630
|
e.edges(),
|
|
631
631
|
function(n, r) {
|
|
632
632
|
return n + e.edge(r).weight;
|
|
@@ -634,7 +634,7 @@ function Qn(e) {
|
|
|
634
634
|
0
|
|
635
635
|
);
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function Qn(e) {
|
|
638
638
|
var n = e.graph();
|
|
639
639
|
e.removeNode(n.nestingRoot), delete n.nestingRoot, f(e.edges(), function(r) {
|
|
640
640
|
var t = e.edge(r);
|
|
@@ -735,7 +735,7 @@ function ir(e, n) {
|
|
|
735
735
|
return w(n, function(r) {
|
|
736
736
|
var t = e.inEdges(r);
|
|
737
737
|
if (t.length) {
|
|
738
|
-
var a =
|
|
738
|
+
var a = I(
|
|
739
739
|
t,
|
|
740
740
|
function(i, o) {
|
|
741
741
|
var u = e.edge(o), d = e.node(o.v);
|
|
@@ -796,7 +796,7 @@ function ur(e) {
|
|
|
796
796
|
return !i.merged;
|
|
797
797
|
}),
|
|
798
798
|
function(i) {
|
|
799
|
-
return
|
|
799
|
+
return M(i, ["vs", "i", "barycenter", "weight"]);
|
|
800
800
|
}
|
|
801
801
|
);
|
|
802
802
|
}
|
|
@@ -865,7 +865,7 @@ function hr(e) {
|
|
|
865
865
|
for (var i = Number.POSITIVE_INFINITY, o, u = 0, d = 0; d < 4; ++u, ++d) {
|
|
866
866
|
vr(u % 2 ? r : t, u % 4 >= 2), a = F(e);
|
|
867
867
|
var s = rr(e, a);
|
|
868
|
-
s < i && (d = 0, o =
|
|
868
|
+
s < i && (d = 0, o = Qe(a), i = s);
|
|
869
869
|
}
|
|
870
870
|
fe(e, o);
|
|
871
871
|
}
|
|
@@ -940,7 +940,7 @@ function mr(e, n) {
|
|
|
940
940
|
}), u = l + 1, o = v);
|
|
941
941
|
}), i;
|
|
942
942
|
}
|
|
943
|
-
return
|
|
943
|
+
return I(n, t), r;
|
|
944
944
|
}
|
|
945
945
|
function gr(e, n) {
|
|
946
946
|
var r = {};
|
|
@@ -963,7 +963,7 @@ function gr(e, n) {
|
|
|
963
963
|
t(o, s, o.length, d, i.length);
|
|
964
964
|
}), o;
|
|
965
965
|
}
|
|
966
|
-
return
|
|
966
|
+
return I(n, a), r;
|
|
967
967
|
}
|
|
968
968
|
function yr(e, n) {
|
|
969
969
|
if (e.node(n).dummy)
|
|
@@ -1075,7 +1075,7 @@ function Pr(e, n) {
|
|
|
1075
1075
|
});
|
|
1076
1076
|
}
|
|
1077
1077
|
function Cr(e) {
|
|
1078
|
-
var n = F(e), r =
|
|
1078
|
+
var n = F(e), r = q(mr(e, n), gr(e, n)), t = {}, a;
|
|
1079
1079
|
f(["u", "d"], function(o) {
|
|
1080
1080
|
a = o === "u" ? n : x(n).reverse(), f(["l", "r"], function(u) {
|
|
1081
1081
|
u === "r" && (a = w(a, function(l) {
|
|
@@ -1118,11 +1118,11 @@ function Rr(e, n) {
|
|
|
1118
1118
|
return e.node(n).width;
|
|
1119
1119
|
}
|
|
1120
1120
|
function Tr(e) {
|
|
1121
|
-
e = be(e),
|
|
1121
|
+
e = be(e), Mr(e), en(Cr(e), function(n, r) {
|
|
1122
1122
|
e.node(r).x = n;
|
|
1123
1123
|
});
|
|
1124
1124
|
}
|
|
1125
|
-
function
|
|
1125
|
+
function Mr(e) {
|
|
1126
1126
|
var n = F(e), r = e.graph().ranksep, t = 0;
|
|
1127
1127
|
f(n, function(a) {
|
|
1128
1128
|
var i = y(
|
|
@@ -1138,12 +1138,12 @@ function Ir(e) {
|
|
|
1138
1138
|
function ot(e, n) {
|
|
1139
1139
|
var r = Cn;
|
|
1140
1140
|
r("layout", () => {
|
|
1141
|
-
var t = r(" buildLayoutGraph", () =>
|
|
1142
|
-
r(" runLayout", () =>
|
|
1141
|
+
var t = r(" buildLayoutGraph", () => $r(e));
|
|
1142
|
+
r(" runLayout", () => Ir(t, r)), r(" updateInputGraph", () => Sr(e, t));
|
|
1143
1143
|
});
|
|
1144
1144
|
}
|
|
1145
|
-
function
|
|
1146
|
-
n(" makeSpaceForEdgeLabels", () =>
|
|
1145
|
+
function Ir(e, n) {
|
|
1146
|
+
n(" makeSpaceForEdgeLabels", () => qr(e)), n(" removeSelfEdges", () => Kr(e)), n(" acyclic", () => kn(e)), n(" nestingGraph.run", () => Hn(e)), n(" rank", () => zn(be(e))), n(" injectEdgeLabelProxies", () => Wr(e)), n(" removeEmptyRanks", () => Nn(e)), n(" nestingGraph.cleanup", () => Qn(e)), n(" normalizeRanks", () => Ln(e)), n(" assignRankMinMax", () => zr(e)), n(" removeEdgeLabelProxies", () => Xr(e)), n(" normalize.run", () => Sn(e)), n(" parentDummyChains", () => pr(e)), n(" addBorderSegments", () => _n(e)), n(" order", () => hr(e)), n(" insertSelfEdges", () => et(e)), n(" adjustCoordinateSystem", () => Rn(e)), n(" position", () => Tr(e)), n(" positionSelfEdges", () => nt(e)), n(" removeBorderNodes", () => Qr(e)), n(" normalize.undo", () => jn(e)), n(" fixupEdgeLabelCoords", () => Zr(e)), n(" undoCoordinateSystem", () => Tn(e)), n(" translateGraph", () => Ur(e)), n(" assignNodeIntersects", () => Hr(e)), n(" reversePoints", () => Jr(e)), n(" acyclic.undo", () => En(e));
|
|
1147
1147
|
}
|
|
1148
1148
|
function Sr(e, n) {
|
|
1149
1149
|
f(e.nodes(), function(r) {
|
|
@@ -1154,7 +1154,7 @@ function Sr(e, n) {
|
|
|
1154
1154
|
t.points = a.points, Object.prototype.hasOwnProperty.call(a, "x") && (t.x = a.x, t.y = a.y);
|
|
1155
1155
|
}), e.graph().width = n.graph().width, e.graph().height = n.graph().height;
|
|
1156
1156
|
}
|
|
1157
|
-
var Fr = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"], jr = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: "tb" }, Vr = ["acyclicer", "ranker", "rankdir", "align"],
|
|
1157
|
+
var Fr = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"], jr = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: "tb" }, Vr = ["acyclicer", "ranker", "rankdir", "align"], Br = ["width", "height"], Ar = { width: 0, height: 0 }, Gr = ["minlen", "weight", "width", "height", "labeloffset"], Yr = {
|
|
1158
1158
|
minlen: 1,
|
|
1159
1159
|
weight: 1,
|
|
1160
1160
|
width: 0,
|
|
@@ -1162,22 +1162,22 @@ var Fr = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"], jr = { ranksep
|
|
|
1162
1162
|
labeloffset: 10,
|
|
1163
1163
|
labelpos: "r"
|
|
1164
1164
|
}, Dr = ["labelpos"];
|
|
1165
|
-
function
|
|
1165
|
+
function $r(e) {
|
|
1166
1166
|
var n = new g({ multigraph: !0, compound: !0 }), r = D(e.graph());
|
|
1167
1167
|
return n.setGraph(
|
|
1168
|
-
|
|
1168
|
+
q({}, jr, Y(r, Fr), M(r, Vr))
|
|
1169
1169
|
), f(e.nodes(), function(t) {
|
|
1170
1170
|
var a = D(e.node(t));
|
|
1171
|
-
n.setNode(t,
|
|
1171
|
+
n.setNode(t, Ae(Y(a, Br), Ar)), n.setParent(t, e.parent(t));
|
|
1172
1172
|
}), f(e.edges(), function(t) {
|
|
1173
1173
|
var a = D(e.edge(t));
|
|
1174
1174
|
n.setEdge(
|
|
1175
1175
|
t,
|
|
1176
|
-
|
|
1176
|
+
q({}, Yr, Y(a, Gr), M(a, Dr))
|
|
1177
1177
|
);
|
|
1178
1178
|
}), n;
|
|
1179
1179
|
}
|
|
1180
|
-
function
|
|
1180
|
+
function qr(e) {
|
|
1181
1181
|
var n = e.graph();
|
|
1182
1182
|
n.ranksep /= 2, f(e.edges(), function(r) {
|
|
1183
1183
|
var t = e.edge(r);
|
|
@@ -1233,7 +1233,7 @@ function Hr(e) {
|
|
|
1233
1233
|
r.points ? (i = r.points[0], o = r.points[r.points.length - 1]) : (r.points = [], i = a, o = t), r.points.unshift(re(t, i)), r.points.push(re(a, o));
|
|
1234
1234
|
});
|
|
1235
1235
|
}
|
|
1236
|
-
function
|
|
1236
|
+
function Zr(e) {
|
|
1237
1237
|
f(e.edges(), function(n) {
|
|
1238
1238
|
var r = e.edge(n);
|
|
1239
1239
|
if (Object.prototype.hasOwnProperty.call(r, "x"))
|
|
@@ -1247,13 +1247,13 @@ function Jr(e) {
|
|
|
1247
1247
|
}
|
|
1248
1248
|
});
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1250
|
+
function Jr(e) {
|
|
1251
1251
|
f(e.edges(), function(n) {
|
|
1252
1252
|
var r = e.edge(n);
|
|
1253
1253
|
r.reversed && r.points.reverse();
|
|
1254
1254
|
});
|
|
1255
1255
|
}
|
|
1256
|
-
function
|
|
1256
|
+
function Qr(e) {
|
|
1257
1257
|
f(e.nodes(), function(n) {
|
|
1258
1258
|
if (e.children(n).length) {
|
|
1259
1259
|
var r = e.node(n), t = e.node(r.borderTop), a = e.node(r.borderBottom), i = e.node(T(r.borderLeft)), o = e.node(T(r.borderRight));
|
|
@@ -1311,7 +1311,7 @@ function nt(e) {
|
|
|
1311
1311
|
});
|
|
1312
1312
|
}
|
|
1313
1313
|
function Y(e, n) {
|
|
1314
|
-
return S(
|
|
1314
|
+
return S(M(e, n), Number);
|
|
1315
1315
|
}
|
|
1316
1316
|
function D(e) {
|
|
1317
1317
|
var n = {};
|
package/dist/lineage/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { j as r, g as Cs, h as zr, i as $r, k as g2, c as Wr, b as Ur, l as gs,
|
|
|
5
5
|
import * as g from "react";
|
|
6
6
|
import T, { createContext as It, memo as ce, useMemo as we, forwardRef as A2, useEffect as X, useRef as J, useContext as Ae, useState as se, useCallback as re, useReducer as Gr, useImperativeHandle as qr } from "react";
|
|
7
7
|
import { s as De, o as ws, p as Qe, T as qt, q as Jt, k as Jr, g as ys, A as ue, l as Dt, I as Es, t as Qr, u as ea, m as ta } from "../redux-toolkit.modern.js";
|
|
8
|
-
import { c as Be, Y as t1, Z as vs, _ as bs, B as xe, $ as _s, X as R, a0 as Se, g as Ss, I as m2, T as na, a4 as V2,
|
|
8
|
+
import { c as Be, Y as t1, Z as vs, _ as bs, B as xe, $ as _s, X as R, a0 as Se, g as Ss, I as m2, T as na, a4 as V2, a6 as Ls, a1 as yt, a8 as sa, M as oa, a9 as ra, aa, N as ia } from "../Stack.js";
|
|
9
9
|
import { createPortal as ot } from "react-dom";
|
|
10
10
|
import { d as la, C as ca, T as da } from "../dayjs.min.js";
|
|
11
11
|
import { I as ua } from "../IconEye.js";
|
package/dist/main.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { d as dt, C as Yn } from "./dayjs.min.js";
|
|
2
|
-
import {
|
|
2
|
+
import { bn as un, bo as Wn, bp as Xn, bq as Kn, br as Gn, bs as Zn, bt as rt, bu as Qn, bv as Jn } from "./CoachForm.js";
|
|
3
3
|
import { g as yt, k as ln, A as ve, l as er, I as Ie, u as cn, m as tr } from "./redux-toolkit.modern.js";
|
|
4
|
-
import { B as ye, a4 as $e,
|
|
4
|
+
import { B as ye, a4 as $e, a6 as He, a7 as nr, X as oe, a5 as rr, T as or, a0 as ft, Y as ir } from "./Stack.js";
|
|
5
5
|
import { j as h, A as dn, e as sr, f as ar, a as ur, d as lr, D as cr, E as dr, c as fr, b as pr } from "./index2.js";
|
|
6
6
|
import * as te from "react";
|
|
7
7
|
import Z, { createContext as _e, useReducer as fn, useCallback as we, useMemo as fe, useContext as be, useLayoutEffect as gr, useEffect as le, useRef as Se, useId as pn, useInsertionEffect as hr, Children as De, isValidElement as vr, useState as re, lazy as mr } from "react";
|