@altimateai/ui-components 0.0.64-beta6 → 0.0.64
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 +8858 -8910
- package/dist/Stack.js +10 -10
- package/dist/TagsInput.js +6956 -0
- package/dist/_basePickBy.js +18 -18
- package/dist/_baseUniq.js +28 -28
- package/dist/arc.js +32 -32
- package/dist/architectureDiagram-VXUJARFQ.js +125 -125
- package/dist/assets/icons/index.js +1 -1
- package/dist/blockDiagram-VD42YOAC.js +1 -1
- package/dist/c4Diagram-YG6GDRKO.js +1 -1
- package/dist/channel.js +1 -1
- package/dist/chatbotV2/index.d.ts +5 -16
- package/dist/chatbotV2/index.js +23 -24
- package/dist/chunk-4BX2VUAB.js +1 -1
- package/dist/chunk-55IACEB6.js +2 -2
- package/dist/chunk-B4BG7PRW.js +9 -9
- 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 +3 -3
- package/dist/diagram-PSM6KHXK.js +24 -24
- package/dist/diagram-QEK2KX5R.js +16 -16
- package/dist/diagram-S2PKOQOG.js +1 -1
- package/dist/erDiagram-Q2GNP2WA.js +1 -1
- package/dist/flowDiagram-NV44I4VS.js +1 -1
- package/dist/ganttDiagram-LVOFAZNH.js +1 -1
- package/dist/gitGraphDiagram-NY62KEGX.js +1 -1
- package/dist/graph.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/index2.css +1 -0
- package/dist/index2.js +6 -6
- package/dist/infoDiagram-F6ZHWCRC.js +9 -9
- package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
- package/dist/kanban-definition-3W4ZIXB7.js +9 -9
- package/dist/layout.js +34 -34
- package/dist/lineage/index.js +1 -1
- package/dist/main.js +3 -3
- package/dist/mermaid-parser.core.js +1 -1
- package/dist/mindmap-definition-VGOIOE7T.js +17 -17
- package/dist/pieDiagram-ADFJNKIX.js +21 -21
- package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
- package/dist/redux-toolkit.modern.js +1 -1
- package/dist/requirementDiagram-UZGBJVZJ.js +1 -1
- package/dist/sankeyDiagram-TZEHDZUN.js +22 -22
- package/dist/sequenceDiagram-WL72ISMW.js +1 -1
- package/dist/shadcn/index.d.ts +3 -38
- package/dist/shadcn/index.js +2805 -3490
- package/dist/stateDiagram-FKZM4ZOC.js +10 -10
- package/dist/stateDiagram-v2-4FDKWEC3.js +4 -4
- package/dist/storybook/TagsInput.stories.tsx +1 -34
- package/dist/timeline-definition-IT6M3QCI.js +12 -12
- package/dist/{types-N2nctlGV.d.ts → types-B4_bdpWO.d.ts} +5 -18
- package/dist/xychartDiagram-PRI3JC2R.js +1 -1
- package/package.json +1 -1
- package/dist/Carousel.js +0 -8540
package/dist/diagram-QEK2KX5R.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { as as k, $ as l, a1 as R, a2 as I, ae as E, af as F, a3 as _, a4 as D, ab as z, at as y, au as C, al as G, ax as P, az as V } from "./CoachForm.js";
|
|
2
2
|
import { p as W } from "./chunk-4BX2VUAB.js";
|
|
3
3
|
import { p as B } from "./mermaid-parser.core.js";
|
|
4
|
-
var
|
|
4
|
+
var x = {
|
|
5
5
|
showLegend: !0,
|
|
6
6
|
ticks: 5,
|
|
7
7
|
max: null,
|
|
@@ -10,7 +10,7 @@ var m = {
|
|
|
10
10
|
}, w = {
|
|
11
11
|
axes: [],
|
|
12
12
|
curves: [],
|
|
13
|
-
options:
|
|
13
|
+
options: x
|
|
14
14
|
}, h = structuredClone(w), H = k.radar, j = /* @__PURE__ */ l(() => y({
|
|
15
15
|
...H,
|
|
16
16
|
...C().radar
|
|
@@ -47,14 +47,14 @@ var m = {
|
|
|
47
47
|
{}
|
|
48
48
|
);
|
|
49
49
|
h.options = {
|
|
50
|
-
showLegend: ((e = t.showLegend) == null ? void 0 : e.value) ??
|
|
51
|
-
ticks: ((r = t.ticks) == null ? void 0 : r.value) ??
|
|
52
|
-
max: ((s = t.max) == null ? void 0 : s.value) ??
|
|
53
|
-
min: ((o = t.min) == null ? void 0 : o.value) ??
|
|
54
|
-
graticule: ((i = t.graticule) == null ? void 0 : i.value) ??
|
|
50
|
+
showLegend: ((e = t.showLegend) == null ? void 0 : e.value) ?? x.showLegend,
|
|
51
|
+
ticks: ((r = t.ticks) == null ? void 0 : r.value) ?? x.ticks,
|
|
52
|
+
max: ((s = t.max) == null ? void 0 : s.value) ?? x.max,
|
|
53
|
+
min: ((o = t.min) == null ? void 0 : o.value) ?? x.min,
|
|
54
|
+
graticule: ((i = t.graticule) == null ? void 0 : i.value) ?? x.graticule
|
|
55
55
|
};
|
|
56
56
|
}, "setOptions"), J = /* @__PURE__ */ l(() => {
|
|
57
|
-
|
|
57
|
+
G(), h = structuredClone(w);
|
|
58
58
|
}, "clear"), $ = {
|
|
59
59
|
getAxes: b,
|
|
60
60
|
getCurves: N,
|
|
@@ -77,11 +77,11 @@ var m = {
|
|
|
77
77
|
}, "populate"), Q = {
|
|
78
78
|
parse: /* @__PURE__ */ l(async (a) => {
|
|
79
79
|
const t = await B("radar", a);
|
|
80
|
-
|
|
80
|
+
z.debug(t), K(t);
|
|
81
81
|
}, "parse")
|
|
82
82
|
}, tt = /* @__PURE__ */ l((a, t, e, r) => {
|
|
83
|
-
const s = r.db, o = s.getAxes(), i = s.getCurves(), n = s.getOptions(), c = s.getConfig(), d = s.getDiagramTitle(), p =
|
|
84
|
-
at(u, o, v, n.ticks, n.graticule), rt(u, o, v, c), M(u, o, i,
|
|
83
|
+
const s = r.db, o = s.getAxes(), i = s.getCurves(), n = s.getOptions(), c = s.getConfig(), d = s.getDiagramTitle(), p = P(t), u = et(p, c), g = n.max ?? Math.max(...i.map((f) => Math.max(...f.entries))), m = n.min, v = Math.min(c.width, c.height) / 2;
|
|
84
|
+
at(u, o, v, n.ticks, n.graticule), rt(u, o, v, c), M(u, o, i, m, g, n.graticule, c), T(u, i, n.showLegend, c), u.append("text").attr("class", "radarTitle").text(d).attr("x", 0).attr("y", -c.height / 2 - c.marginTop);
|
|
85
85
|
}, "draw"), et = /* @__PURE__ */ l((a, t) => {
|
|
86
86
|
const e = t.width + t.marginLeft + t.marginRight, r = t.height + t.marginTop + t.marginBottom, s = {
|
|
87
87
|
x: t.marginLeft + t.width / 2,
|
|
@@ -98,8 +98,8 @@ var m = {
|
|
|
98
98
|
const o = t.length;
|
|
99
99
|
for (let i = 0; i < r; i++) {
|
|
100
100
|
const n = e * (i + 1) / r, c = t.map((d, p) => {
|
|
101
|
-
const u = 2 * p * Math.PI / o - Math.PI / 2, g = n * Math.cos(u),
|
|
102
|
-
return `${g},${
|
|
101
|
+
const u = 2 * p * Math.PI / o - Math.PI / 2, g = n * Math.cos(u), m = n * Math.sin(u);
|
|
102
|
+
return `${g},${m}`;
|
|
103
103
|
}).join(" ");
|
|
104
104
|
a.append("polygon").attr("points", c).attr("class", "radarGraticule");
|
|
105
105
|
}
|
|
@@ -116,8 +116,8 @@ function M(a, t, e, r, s, o, i) {
|
|
|
116
116
|
e.forEach((d, p) => {
|
|
117
117
|
if (d.entries.length !== n)
|
|
118
118
|
return;
|
|
119
|
-
const u = d.entries.map((g,
|
|
120
|
-
const v = 2 * Math.PI *
|
|
119
|
+
const u = d.entries.map((g, m) => {
|
|
120
|
+
const v = 2 * Math.PI * m / n - Math.PI / 2, f = A(g, r, s, c), O = f * Math.cos(v), S = f * Math.sin(v);
|
|
121
121
|
return { x: O, y: S };
|
|
122
122
|
});
|
|
123
123
|
o === "circle" ? a.append("path").attr("d", L(u, i.curveTension)).attr("class", `radarCurve-${p}`) : o === "polygon" && a.append("polygon").attr("points", u.map((g) => `${g.x},${g.y}`).join(" ")).attr("class", `radarCurve-${p}`);
|
package/dist/diagram-S2PKOQOG.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { as as B, a1 as C, a2 as S, ae as D, af as T, a3 as P, a4 as z, $ as b, at as m, au as E, al as F, ab as w, ax as A, ac as W } from "./CoachForm.js";
|
|
2
2
|
import { p as _ } from "./chunk-4BX2VUAB.js";
|
|
3
3
|
import { p as N } from "./mermaid-parser.core.js";
|
|
4
4
|
var L = B.packet, u, v = (u = class {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as Dt } from "./chunk-55IACEB6.js";
|
|
2
2
|
import { s as wt } from "./chunk-QN33PNHL.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as u, a1 as Vt, a2 as Lt, a4 as Mt, a3 as Bt, ae as Ft, af as Yt, a5 as tt, ab as D, al as Pt, aj as zt, ar as Gt, ao as Kt, ap as Zt, ak as Ut, aq as jt } from "./CoachForm.js";
|
|
4
4
|
import { s as Wt } from "./redux-toolkit.modern.js";
|
|
5
5
|
import { c as Qt } from "./channel.js";
|
|
6
6
|
var dt = function() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as qt } from "./chunk-FMBD7UC4.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a5 as b1, a1 as Ht, a4 as Xt, ae as Qt, a2 as Jt, a3 as Zt, af as $t, $ as m, a7 as te, ag as ee, ah as se, ai as ie, ab as t1, aj as st, ak as it, al as re, am as ae, an as Ot, ao as ne, ap as ue, aq as oe } from "./CoachForm.js";
|
|
3
3
|
import { g as le } from "./chunk-55IACEB6.js";
|
|
4
4
|
import { s as ce } from "./chunk-QN33PNHL.js";
|
|
5
5
|
import { s as S1 } from "./redux-toolkit.modern.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as h, bK as at, a5 as _t, a1 as Un, a2 as En, ae as Ln, af as An, a4 as In, a3 as Wn, al as On, ad as Hn, ab as Qt, ac as Nn, a7 as Vn, ak as zn } from "./CoachForm.js";
|
|
2
2
|
import { f as $e, h as Je, R as Ke, C as tn, r as Pn, n as re, j as Rn, c as Te, g as be, s as Zt } from "./redux-toolkit.modern.js";
|
|
3
3
|
import { b as Bn, t as Ie, c as Zn, a as Xn, l as qn } from "./linear.js";
|
|
4
4
|
import { i as Gn } from "./init.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as Z } from "./chunk-4BX2VUAB.js";
|
|
2
2
|
import { I as F } from "./chunk-QZHKN3VN.js";
|
|
3
|
-
import {
|
|
3
|
+
import { as as U, $ as h, a5 as rr, at as er, au as tr, av as ar, ab as m, a1 as nr, a2 as sr, a3 as or, a4 as cr, ae as ir, af as dr, a7 as B, al as hr, ak as lr, aw as $r } from "./CoachForm.js";
|
|
4
4
|
import { p as fr } from "./mermaid-parser.core.js";
|
|
5
5
|
import { s as gr } from "./redux-toolkit.modern.js";
|
|
6
6
|
var u = {
|
package/dist/graph.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bo as N, bp as j, bq as f, br as b, bs as E } from "./CoachForm.js";
|
|
2
2
|
import { a as v, c as P, k as _, f as g, d, i as l, v as p, r as D } from "./_baseUniq.js";
|
|
3
3
|
var w = N(function(o) {
|
|
4
4
|
return v(P(o, 1, j, !0));
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { B as ButtonProps } from './Button-CVsSwe4f.js';
|
|
|
4
4
|
import { Components } from 'react-markdown';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PlotParams } from 'react-plotly.js';
|
|
7
|
-
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-
|
|
8
|
-
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-
|
|
7
|
+
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-B4_bdpWO.js';
|
|
8
|
+
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-B4_bdpWO.js';
|
|
9
9
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
10
10
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
11
11
|
import * as immer from 'immer';
|
package/dist/index.js
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { j as e, i as s, h as r, C as t, D as c, L as n, T as i, m, l, k as p } from "./main.js";
|
|
2
2
|
import { C as T, T as v } from "./dayjs.min.js";
|
|
3
|
-
import {
|
|
3
|
+
import { cp as f, ce as h, cc as k, co as M, cn as P, cf as u, cm as g, cd as x, cs as A, ct as S, cr as j, cl as y, cq as b, ci as B, cj as D, ck as F, ch as G } from "./CoachForm.js";
|
|
4
4
|
import { A as I, l as w, I as q } from "./redux-toolkit.modern.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a6 as H } from "./Stack.js";
|
|
6
6
|
export {
|
|
7
7
|
I as ApiHelper,
|
|
8
8
|
f as CoachForm,
|
|
9
9
|
e as CoachFormButton,
|
|
10
10
|
w as CodeBlock,
|
|
11
11
|
T as Collapse,
|
|
12
|
-
|
|
12
|
+
h as ContentCategory,
|
|
13
13
|
s as ConversationGroupProvider,
|
|
14
14
|
r as ConversationInputForm,
|
|
15
15
|
t as ConversationSources,
|
|
16
16
|
c as DbtDocs,
|
|
17
17
|
q as IconButton,
|
|
18
18
|
n as Learnings,
|
|
19
|
-
|
|
19
|
+
k as LoadingButton,
|
|
20
20
|
M as Markdown,
|
|
21
21
|
P as MermaidDiagram,
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
u as PersonalizationScope,
|
|
23
|
+
g as Plotly,
|
|
24
24
|
x as Popconfirm,
|
|
25
25
|
A as ProjectGovernorAllowedFiles,
|
|
26
26
|
S as ProjectGovernorCheckSchema,
|
package/dist/index2.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div[data-radix-popper-content-wrapper]{z-index:1000!important}
|
package/dist/index2.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { p
|
|
3
|
-
var
|
|
1
|
+
import { $ as e, ab as s, ax as o, ac as i, ay as g } from "./CoachForm.js";
|
|
2
|
+
import { p } from "./mermaid-parser.core.js";
|
|
3
|
+
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (a) => {
|
|
5
|
-
const r = await
|
|
5
|
+
const r = await p("info", a);
|
|
6
6
|
s.debug(r);
|
|
7
7
|
}, "parse")
|
|
8
|
-
},
|
|
8
|
+
}, d = {
|
|
9
9
|
version: g.version + ""
|
|
10
|
-
}, c = /* @__PURE__ */ e(() =>
|
|
10
|
+
}, c = /* @__PURE__ */ e(() => d.version, "getVersion"), m = {
|
|
11
11
|
getVersion: c
|
|
12
12
|
}, f = /* @__PURE__ */ e((a, r, n) => {
|
|
13
13
|
s.debug(`rendering info diagram
|
|
14
14
|
` + a);
|
|
15
15
|
const t = o(r);
|
|
16
16
|
i(t, 100, 400, !0), t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${n}`);
|
|
17
|
-
}, "draw"), l = { draw: f },
|
|
18
|
-
parser:
|
|
17
|
+
}, "draw"), l = { draw: f }, b = {
|
|
18
|
+
parser: v,
|
|
19
19
|
db: m,
|
|
20
20
|
renderer: l
|
|
21
21
|
};
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
b as diagram
|
|
24
24
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as gt, f as mt, g as lt, b as xt } from "./chunk-TZMSLE5B.js";
|
|
2
2
|
import { g as kt } from "./chunk-FMBD7UC4.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as n, a5 as R, ae as _t, af as vt, a1 as bt, a2 as wt, a4 as Tt, a3 as St, al as $t, ac as Mt } from "./CoachForm.js";
|
|
4
4
|
import { s as G } from "./redux-toolkit.modern.js";
|
|
5
5
|
import { d as et } from "./arc.js";
|
|
6
6
|
var U = function() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as c, ab as te, a5 as W, ax as fe, b3 as ye, b4 as be, b5 as me, aM as Ee, as as Y, aa as G, ag as _e, ah as ke, aN as Se, aO as le, aP as ce } from "./CoachForm.js";
|
|
2
2
|
import { g as Ne } from "./chunk-FMBD7UC4.js";
|
|
3
3
|
var $ = function() {
|
|
4
4
|
var t = /* @__PURE__ */ c(function(E, s, n, a) {
|
|
@@ -86,8 +86,8 @@ var $ = function() {
|
|
|
86
86
|
for (var J in this.yy)
|
|
87
87
|
Object.prototype.hasOwnProperty.call(this.yy, J) && (T.yy[J] = this.yy[J]);
|
|
88
88
|
b.setInput(s, T.yy), T.yy.lexer = b, T.yy.parser = this, typeof b.yylloc > "u" && (b.yylloc = {});
|
|
89
|
-
var
|
|
90
|
-
e.push(
|
|
89
|
+
var q = b.yylloc;
|
|
90
|
+
e.push(q);
|
|
91
91
|
var de = b.options && b.options.ranges;
|
|
92
92
|
typeof T.yy.parseError == "function" ? this.parseError = T.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
93
93
|
function pe(S) {
|
|
@@ -99,7 +99,7 @@ var $ = function() {
|
|
|
99
99
|
return S = o.pop() || b.lex() || re, typeof S != "number" && (S instanceof Array && (o = S, S = o.pop()), S = n.symbols_[S] || S), S;
|
|
100
100
|
}
|
|
101
101
|
c(ae, "lex");
|
|
102
|
-
for (var k, R, v,
|
|
102
|
+
for (var k, R, v, Q, F = {}, X, I, oe, K; ; ) {
|
|
103
103
|
if (R = a[a.length - 1], this.defaultActions[R] ? v = this.defaultActions[R] : ((k === null || typeof k > "u") && (k = ae()), v = B[R] && B[R][k]), typeof v > "u" || !v.length || !v[0]) {
|
|
104
104
|
var Z = "";
|
|
105
105
|
K = [];
|
|
@@ -111,7 +111,7 @@ Expecting ` + K.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
111
111
|
text: b.match,
|
|
112
112
|
token: this.terminals_[k] || k,
|
|
113
113
|
line: b.yylineno,
|
|
114
|
-
loc:
|
|
114
|
+
loc: q,
|
|
115
115
|
expected: K
|
|
116
116
|
});
|
|
117
117
|
}
|
|
@@ -119,7 +119,7 @@ Expecting ` + K.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
119
119
|
throw new Error("Parse Error: multiple actions possible at state: " + R + ", token: " + k);
|
|
120
120
|
switch (v[0]) {
|
|
121
121
|
case 1:
|
|
122
|
-
a.push(k), u.push(b.yytext), e.push(b.yylloc), a.push(v[1]), k = null, ie = b.yyleng, l = b.yytext, z = b.yylineno,
|
|
122
|
+
a.push(k), u.push(b.yytext), e.push(b.yylloc), a.push(v[1]), k = null, ie = b.yyleng, l = b.yytext, z = b.yylineno, q = b.yylloc;
|
|
123
123
|
break;
|
|
124
124
|
case 2:
|
|
125
125
|
if (I = this.productions_[v[1]][1], F.$ = u[u.length - I], F._$ = {
|
|
@@ -130,7 +130,7 @@ Expecting ` + K.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
130
130
|
}, de && (F._$.range = [
|
|
131
131
|
e[e.length - (I || 1)].range[0],
|
|
132
132
|
e[e.length - 1].range[1]
|
|
133
|
-
]),
|
|
133
|
+
]), Q = this.performAction.apply(F, [
|
|
134
134
|
l,
|
|
135
135
|
ie,
|
|
136
136
|
z,
|
|
@@ -138,8 +138,8 @@ Expecting ` + K.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Z = "
|
|
|
138
138
|
v[1],
|
|
139
139
|
u,
|
|
140
140
|
e
|
|
141
|
-
].concat(ge)), typeof
|
|
142
|
-
return
|
|
141
|
+
].concat(ge)), typeof Q < "u")
|
|
142
|
+
return Q;
|
|
143
143
|
I && (a = a.slice(0, -1 * I * 2), u = u.slice(0, -1 * I), e = e.slice(0, -1 * I)), a.push(this.productions_[v[1]][0]), u.push(F.$), e.push(F._$), oe = B[a[a.length - 2]][a[a.length - 1]], a.push(oe);
|
|
144
144
|
break;
|
|
145
145
|
case 3:
|
package/dist/layout.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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 Ae, t as V, m as w, e as P, h as ve, g as X, l as T, i as Be } from "./_basePickBy.js";
|
|
4
|
+
import { bL as Ge, bM as Ye, bN as De, bB as qe, bO as $e, bF as pe, bE as we, bP as We, bA as q, bo as ze, bH as Xe, bq as Ue, bQ as $ } from "./CoachForm.js";
|
|
5
5
|
function He(e) {
|
|
6
6
|
return Ge(Ye(e, void 0, O), e + "");
|
|
7
7
|
}
|
|
@@ -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 Ae(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) {
|
|
@@ -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
|
+
A(e, n, r, o);
|
|
159
159
|
for (; o = a.dequeue(); )
|
|
160
|
-
|
|
160
|
+
A(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(A(e, n, r, o, !0));
|
|
165
165
|
break;
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
return t;
|
|
170
170
|
}
|
|
171
|
-
function
|
|
171
|
+
function A(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
|
+
B(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, B), Object.prototype.hasOwnProperty.call(r, "y") && B(r);
|
|
366
366
|
});
|
|
367
367
|
}
|
|
368
|
-
function
|
|
368
|
+
function B(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) {
|
|
@@ -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 = An(n, e), i = n.hasNode(a.v) ? C(e, a) : -C(e, a), Bn(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 An(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 Bn(e, n, r) {
|
|
455
455
|
f(e.nodes(), function(t) {
|
|
456
456
|
n.node(t).rank += r;
|
|
457
457
|
});
|
|
@@ -626,7 +626,7 @@ function Jn(e) {
|
|
|
626
626
|
}), n;
|
|
627
627
|
}
|
|
628
628
|
function Qn(e) {
|
|
629
|
-
return
|
|
629
|
+
return I(
|
|
630
630
|
e.edges(),
|
|
631
631
|
function(n, r) {
|
|
632
632
|
return n + e.edge(r).weight;
|
|
@@ -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
|
}
|
|
@@ -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)
|
|
@@ -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(
|
|
@@ -1139,10 +1139,10 @@ function ot(e, n) {
|
|
|
1139
1139
|
var r = Cn;
|
|
1140
1140
|
r("layout", () => {
|
|
1141
1141
|
var t = r(" buildLayoutGraph", () => qr(e));
|
|
1142
|
-
r(" runLayout", () =>
|
|
1142
|
+
r(" runLayout", () => Ir(t, r)), r(" updateInputGraph", () => Sr(e, t));
|
|
1143
1143
|
});
|
|
1144
1144
|
}
|
|
1145
|
-
function
|
|
1145
|
+
function Ir(e, n) {
|
|
1146
1146
|
n(" makeSpaceForEdgeLabels", () => $r(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", () => Zn(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", () => Zr(e)), n(" normalize.undo", () => jn(e)), n(" fixupEdgeLabelCoords", () => Jr(e)), n(" undoCoordinateSystem", () => Tn(e)), n(" translateGraph", () => Ur(e)), n(" assignNodeIntersects", () => Hr(e)), n(" reversePoints", () => Qr(e)), n(" acyclic.undo", () => En(e));
|
|
1147
1147
|
}
|
|
1148
1148
|
function Sr(e, n) {
|
|
@@ -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"], Ar = ["width", "height"], Br = { width: 0, height: 0 }, Gr = ["minlen", "weight", "width", "height", "labeloffset"], Yr = {
|
|
1158
1158
|
minlen: 1,
|
|
1159
1159
|
weight: 1,
|
|
1160
1160
|
width: 0,
|
|
@@ -1165,15 +1165,15 @@ var Fr = ["nodesep", "edgesep", "ranksep", "marginx", "marginy"], jr = { ranksep
|
|
|
1165
1165
|
function qr(e) {
|
|
1166
1166
|
var n = new g({ multigraph: !0, compound: !0 }), r = D(e.graph());
|
|
1167
1167
|
return n.setGraph(
|
|
1168
|
-
$({}, jr, Y(r, Fr),
|
|
1168
|
+
$({}, 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, Be(Y(a, Ar), Br)), 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
|
-
$({}, Yr, Y(a, Gr),
|
|
1176
|
+
$({}, Yr, Y(a, Gr), M(a, Dr))
|
|
1177
1177
|
);
|
|
1178
1178
|
}), n;
|
|
1179
1179
|
}
|
|
@@ -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 Ve, useState as se, useCallback as re, useReducer as Gr, useImperativeHandle as qr } from "react";
|
|
7
7
|
import { s as Ze, o as ws, p as e1, T as qt, q as Jt, k as Jr, g as ys, A as ue, l as Dt, I as Es, u as Qr, m as ea } from "../redux-toolkit.modern.js";
|
|
8
|
-
import { h as Ne,
|
|
8
|
+
import { h as Ne, X as Xe, Y as vs, Z as bs, B as xe, _ as _s, a6 as R, $ as Se, f as Ss, I as m2, T as ta, a3 as V2, a4 as Ns, a1 as yt, a8 as na, M as sa, a9 as oa, aa as ra, N as aa } from "../Stack.js";
|
|
9
9
|
import { createPortal as ot } from "react-dom";
|
|
10
10
|
import { d as ia, C as la, T as ca } from "../dayjs.min.js";
|
|
11
11
|
/**
|
package/dist/main.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as dt, C as Yn } from "./dayjs.min.js";
|
|
2
|
-
import {
|
|
2
|
+
import { cc as un, cd as Wn, ce as Xn, cf as Kn, cg as Gn, ch as Zn, ci as rt, cj as Qn, ck 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,
|
|
4
|
+
import { B as ye, a3 as $e, a4 as He, a5 as nr, a6 as oe, a7 as rr, T as or, $ as ft, X 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";
|
|
8
8
|
import Er, { createPortal as bt } from "react-dom";
|
|
9
|
-
import { u as yr, F as Mt, a as br, A as gn, N as Lt, B as Cr } from "./
|
|
9
|
+
import { u as yr, F as Mt, a as br, A as gn, N as Lt, B as Cr } from "./TagsInput.js";
|
|
10
10
|
import { S as Sr } from "./Switch.js";
|
|
11
11
|
import './main.css';var Ct = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(Ct || {});
|
|
12
12
|
const _r = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ac = Object.defineProperty;
|
|
2
2
|
var Ec = (n, e, t) => e in n ? Ac(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var Ze = (n, e, t) => Ec(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import {
|
|
4
|
+
import { cu as $c, cv as kc, bD as Nl, bY as xc, bH as Sc, bE as ee, bo as Ic, bp as Ea, bO as Cc, bR as wl, bS as Ll, c1 as $a, bP as Nc, br as vt, bs as D, bF as ka, bz as wc } from "./CoachForm.js";
|
|
5
5
|
import { k as qt, j as Hs, g as nn, S as Lc, w as _c, x as bc, c as _l, v as z, y as bl, l as Oc, z as Pc, A as Mc, B as Dc, C as Fc, a as Ol, d as C, i as Ye, r as le, f as ke, D as Y } from "./_baseUniq.js";
|
|
6
6
|
import { j as js, m as x, d as Gc, f as Ne, g as Yt, i as zs, h as N, l as Xt, e as Uc } from "./_basePickBy.js";
|
|
7
7
|
import { c as ne } from "./clone.js";
|