@altimateai/ui-components 0.0.64-beta3 → 0.0.64-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/Carousel.js +3 -2
- package/dist/CoachForm.js +4439 -4406
- 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/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 -5
- package/dist/chatbotV2/index.js +24 -23
- 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 +5 -5
- 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/main.js +1 -1
- 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/requirementDiagram-UZGBJVZJ.js +1 -1
- package/dist/sankeyDiagram-TZEHDZUN.js +22 -22
- package/dist/sequenceDiagram-WL72ISMW.js +1 -1
- package/dist/stateDiagram-FKZM4ZOC.js +10 -10
- package/dist/stateDiagram-v2-4FDKWEC3.js +4 -4
- package/dist/timeline-definition-IT6M3QCI.js +12 -12
- package/dist/{types-CiyozQU3.d.ts → types-N2nctlGV.d.ts} +22 -12
- package/dist/xychartDiagram-PRI3JC2R.js +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as Ge } from "./chunk-55IACEB6.js";
|
|
2
2
|
import { s as ze } from "./chunk-QN33PNHL.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a0 as f, a2 as Xe, a3 as Je, a5 as Ze, a4 as et, af as tt, ag as st, a6 as Ne, ac as qe, am as it, as as rt, ap as nt, aq as at, al as lt } from "./CoachForm.js";
|
|
4
4
|
var Ae = function() {
|
|
5
5
|
var e = /* @__PURE__ */ f(function(P, i, r, l) {
|
|
6
6
|
for (r = r || {}, l = P.length; l--; r[P[l]] = i) ;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a0 as p, a6 as lt, a3 as _t, a2 as xt, a4 as vt, a5 as bt, ag as wt, af as St, am as Lt, a8 as Et, an as At, aN as Tt } from "./CoachForm.js";
|
|
2
2
|
import { s as X } from "./redux-toolkit.modern.js";
|
|
3
3
|
import { o as Mt } from "./ordinal.js";
|
|
4
4
|
function Nt(t) {
|
|
@@ -54,7 +54,7 @@ function Ot(t, e) {
|
|
|
54
54
|
function mt(t, e) {
|
|
55
55
|
return t.sourceLinks.length ? t.depth : e - 1;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Dt(t) {
|
|
58
58
|
return t.targetLinks.length ? t.depth : t.sourceLinks.length ? pt(t.sourceLinks, Pt) - 1 : 0;
|
|
59
59
|
}
|
|
60
60
|
function q(t) {
|
|
@@ -74,7 +74,7 @@ function Q(t, e) {
|
|
|
74
74
|
function it(t) {
|
|
75
75
|
return t.value;
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function $t(t) {
|
|
78
78
|
return t.index;
|
|
79
79
|
}
|
|
80
80
|
function zt(t) {
|
|
@@ -98,7 +98,7 @@ function yt({ nodes: t }) {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
function Bt() {
|
|
101
|
-
let t = 0, e = 0, i = 1, a = 1, h = 24, d = 8, m, _ =
|
|
101
|
+
let t = 0, e = 0, i = 1, a = 1, h = 24, d = 8, m, _ = $t, s = mt, o, l, x = zt, v = jt, y = 6;
|
|
102
102
|
function b() {
|
|
103
103
|
const n = { nodes: x.apply(null, arguments), links: v.apply(null, arguments) };
|
|
104
104
|
return M(n), T(n), N(n), C(n), S(n), yt(n), n;
|
|
@@ -171,7 +171,7 @@ function Bt() {
|
|
|
171
171
|
u = c, c = /* @__PURE__ */ new Set();
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function $({ nodes: n }) {
|
|
175
175
|
const f = ct(n, (r) => r.depth) + 1, u = (i - t - h) / (f - 1), c = new Array(f);
|
|
176
176
|
for (const r of n) {
|
|
177
177
|
const k = Math.max(0, Math.min(f - 1, Math.floor(s.call(null, r, f))));
|
|
@@ -199,7 +199,7 @@ function Bt() {
|
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
function S(n) {
|
|
202
|
-
const f =
|
|
202
|
+
const f = $(n);
|
|
203
203
|
m = Math.min(d, (a - e) / (ct(f, (u) => u.length) - 1)), R(f);
|
|
204
204
|
for (let u = 0; u < y; ++u) {
|
|
205
205
|
const c = Math.pow(0.99, u), r = Math.max(1 - c, (u + 1) / y);
|
|
@@ -240,9 +240,9 @@ function Bt() {
|
|
|
240
240
|
}
|
|
241
241
|
function O(n, f) {
|
|
242
242
|
const u = n.length >> 1, c = n[u];
|
|
243
|
-
g(n, c.y0 - m, u - 1, f),
|
|
243
|
+
g(n, c.y0 - m, u - 1, f), D(n, c.y1 + m, u + 1, f), g(n, a, n.length - 1, f), D(n, e, 0, f);
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function D(n, f, u, c) {
|
|
246
246
|
for (; u < n.length; ++u) {
|
|
247
247
|
const r = n[u], k = (f - r.y0) * c;
|
|
248
248
|
k > 1e-6 && (r.y0 += k, r.y1 += k), f = r.y1 + m;
|
|
@@ -327,8 +327,8 @@ ot.prototype = kt.prototype = {
|
|
|
327
327
|
else if (x > V) if (!(Math.abs(l * _ - s * o) > V) || !h)
|
|
328
328
|
this._ += "L" + (this._x1 = t) + "," + (this._y1 = e);
|
|
329
329
|
else {
|
|
330
|
-
var v = i - d, y = a - m, b = _ * _ + s * s, M = v * v + y * y, T = Math.sqrt(b), N = Math.sqrt(x), C = h * Math.tan((st - Math.acos((b + x - M) / (2 * T * N))) / 2),
|
|
331
|
-
Math.abs(
|
|
330
|
+
var v = i - d, y = a - m, b = _ * _ + s * s, M = v * v + y * y, T = Math.sqrt(b), N = Math.sqrt(x), C = h * Math.tan((st - Math.acos((b + x - M) / (2 * T * N))) / 2), $ = C / N, R = C / T;
|
|
331
|
+
Math.abs($ - 1) > V && (this._ += "L" + (t + $ * o) + "," + (e + $ * l)), this._ += "A" + h + "," + h + ",0,0," + +(l * v > o * y) + "," + (this._x1 = t + R * _) + "," + (this._y1 = e + R * s);
|
|
332
332
|
}
|
|
333
333
|
},
|
|
334
334
|
arc: function(t, e, i, a, h, d) {
|
|
@@ -434,13 +434,13 @@ var at = function() {
|
|
|
434
434
|
}
|
|
435
435
|
}, "parseError"),
|
|
436
436
|
parse: /* @__PURE__ */ p(function(s) {
|
|
437
|
-
var o = this, l = [0], x = [], v = [null], y = [], b = this.table, M = "", T = 0, N = 0, C = 2,
|
|
437
|
+
var o = this, l = [0], x = [], v = [null], y = [], b = this.table, M = "", T = 0, N = 0, C = 2, $ = 1, R = y.slice.call(arguments, 1), S = Object.create(this.lexer), P = { yy: {} };
|
|
438
438
|
for (var B in this.yy)
|
|
439
439
|
Object.prototype.hasOwnProperty.call(this.yy, B) && (P.yy[B] = this.yy[B]);
|
|
440
440
|
S.setInput(s, P.yy), P.yy.lexer = S, P.yy.parser = this, typeof S.yylloc > "u" && (S.yylloc = {});
|
|
441
441
|
var O = S.yylloc;
|
|
442
442
|
y.push(O);
|
|
443
|
-
var
|
|
443
|
+
var D = S.options && S.options.ranges;
|
|
444
444
|
typeof P.yy.parseError == "function" ? this.parseError = P.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
445
445
|
function g(L) {
|
|
446
446
|
l.length = l.length - 2 * L, v.length = v.length - L, y.length = y.length - L;
|
|
@@ -448,7 +448,7 @@ var at = function() {
|
|
|
448
448
|
p(g, "popStack");
|
|
449
449
|
function E() {
|
|
450
450
|
var L;
|
|
451
|
-
return L = x.pop() || S.lex() ||
|
|
451
|
+
return L = x.pop() || S.lex() || $, typeof L != "number" && (L instanceof Array && (x = L, L = x.pop()), L = o.symbols_[L] || L), L;
|
|
452
452
|
}
|
|
453
453
|
p(E, "lex");
|
|
454
454
|
for (var A, z, I, n, f = {}, u, c, r, k; ; ) {
|
|
@@ -459,7 +459,7 @@ var at = function() {
|
|
|
459
459
|
this.terminals_[u] && u > C && k.push("'" + this.terminals_[u] + "'");
|
|
460
460
|
S.showPosition ? w = "Parse error on line " + (T + 1) + `:
|
|
461
461
|
` + S.showPosition() + `
|
|
462
|
-
Expecting ` + k.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : w = "Parse error on line " + (T + 1) + ": Unexpected " + (A ==
|
|
462
|
+
Expecting ` + k.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : w = "Parse error on line " + (T + 1) + ": Unexpected " + (A == $ ? "end of input" : "'" + (this.terminals_[A] || A) + "'"), this.parseError(w, {
|
|
463
463
|
text: S.match,
|
|
464
464
|
token: this.terminals_[A] || A,
|
|
465
465
|
line: S.yylineno,
|
|
@@ -479,7 +479,7 @@ Expecting ` + k.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : w = "
|
|
|
479
479
|
last_line: y[y.length - 1].last_line,
|
|
480
480
|
first_column: y[y.length - (c || 1)].first_column,
|
|
481
481
|
last_column: y[y.length - 1].last_column
|
|
482
|
-
},
|
|
482
|
+
}, D && (f._$.range = [
|
|
483
483
|
y[y.length - (c || 1)].range[0],
|
|
484
484
|
y[y.length - 1].range[1]
|
|
485
485
|
]), n = this.performAction.apply(f, [
|
|
@@ -755,7 +755,7 @@ var K = at, J = [], tt = [], Z = /* @__PURE__ */ new Map(), Zt = /* @__PURE__ */
|
|
|
755
755
|
}, p(j, "Uid"), j.count = 0, j), ae = {
|
|
756
756
|
left: Ct,
|
|
757
757
|
right: Ot,
|
|
758
|
-
center:
|
|
758
|
+
center: Dt,
|
|
759
759
|
justify: mt
|
|
760
760
|
}, le = /* @__PURE__ */ p(function(t, e, i, a) {
|
|
761
761
|
const { securityLevel: h, sankey: d } = lt(), m = At.sankey;
|
|
@@ -778,21 +778,21 @@ ${b}${Math.round(E * 100) / 100}${M}` : g, "getText");
|
|
|
778
778
|
const g = B.append("linearGradient").attr("id", (E) => (E.uid = gt.next("linearGradient-")).id).attr("gradientUnits", "userSpaceOnUse").attr("x1", (E) => E.source.x1).attr("x2", (E) => E.target.x0);
|
|
779
779
|
g.append("stop").attr("offset", "0%").attr("stop-color", (E) => S(E.source.id)), g.append("stop").attr("offset", "100%").attr("stop-color", (E) => S(E.target.id));
|
|
780
780
|
}
|
|
781
|
-
let
|
|
781
|
+
let D;
|
|
782
782
|
switch (O) {
|
|
783
783
|
case "gradient":
|
|
784
|
-
|
|
784
|
+
D = /* @__PURE__ */ p((g) => g.uid, "coloring");
|
|
785
785
|
break;
|
|
786
786
|
case "source":
|
|
787
|
-
|
|
787
|
+
D = /* @__PURE__ */ p((g) => S(g.source.id), "coloring");
|
|
788
788
|
break;
|
|
789
789
|
case "target":
|
|
790
|
-
|
|
790
|
+
D = /* @__PURE__ */ p((g) => S(g.target.id), "coloring");
|
|
791
791
|
break;
|
|
792
792
|
default:
|
|
793
|
-
|
|
793
|
+
D = O;
|
|
794
794
|
}
|
|
795
|
-
B.append("path").attr("d", Kt()).attr("stroke",
|
|
795
|
+
B.append("path").attr("d", Kt()).attr("stroke", D).attr("stroke-width", (g) => Math.max(1, g.width)), Tt(void 0, o, 0, v);
|
|
796
796
|
}, "draw"), ce = {
|
|
797
797
|
draw: le
|
|
798
798
|
}, ue = /* @__PURE__ */ p((t) => t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g, "").replaceAll(/([\n\r])+/g, `
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as ct, a as Xt, d as we, b as ve, c as Qt, e as Jt } from "./chunk-TZMSLE5B.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a0 as f, a2 as se, a5 as Ie, af as Le, a3 as Ae, a4 as _e, ag as ke, a6 as st, ah as Pe, ai as Ne, am as Se, ac as J, ab as St, ao as Me, a8 as I, aB as z, aC as At, al as F, a1 as Re, ad as De, ae as re, aD as Ce, aE as ie, av as Ht, aF as ne, aG as Oe } from "./CoachForm.js";
|
|
3
3
|
import { I as Be } from "./chunk-QZHKN3VN.js";
|
|
4
4
|
import { s as Mt } from "./redux-toolkit.modern.js";
|
|
5
5
|
var Ut = function() {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { s as R, S as N, a as W } from "./chunk-DI55MBZ5.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a0 as f, a6 as t, ac as S, ad as P, a8 as z, aI as U, aJ as _, aD as C, al as F } from "./CoachForm.js";
|
|
3
3
|
import { s as H } from "./redux-toolkit.modern.js";
|
|
4
|
-
import { G as
|
|
5
|
-
import { l as
|
|
6
|
-
var
|
|
4
|
+
import { G as J } from "./graph.js";
|
|
5
|
+
import { l as O } from "./layout.js";
|
|
6
|
+
var D = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state").attr("r", t().state.sizeUnit).attr("cx", t().state.padding + t().state.sizeUnit).attr("cy", t().state.padding + t().state.sizeUnit), "drawStartState"), X = /* @__PURE__ */ f((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", t().state.textHeight).attr("class", "divider").attr("x2", t().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), I = /* @__PURE__ */ f((e, i) => {
|
|
7
7
|
const d = e.append("text").attr("x", 2 * t().state.padding).attr("y", t().state.textHeight + 2 * t().state.padding).attr("font-size", t().state.fontSize).attr("class", "state-title").text(i.id), c = d.node().getBBox();
|
|
8
8
|
return e.insert("rect", ":first-child").attr("x", t().state.padding).attr("y", t().state.padding).attr("width", c.width + 2 * t().state.padding).attr("height", c.height + 2 * t().state.padding).attr("rx", t().state.radius), d;
|
|
9
9
|
}, "drawSimpleState"), Y = /* @__PURE__ */ f((e, i) => {
|
|
@@ -82,7 +82,7 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
82
82
|
width: 0,
|
|
83
83
|
height: 0
|
|
84
84
|
}, n = e.append("g").attr("id", d).attr("class", "stateGroup");
|
|
85
|
-
i.type === "start" &&
|
|
85
|
+
i.type === "start" && D(n), i.type === "end" && q(n), (i.type === "fork" || i.type === "join") && Z(n, i), i.type === "note" && K(i.note.text, n), i.type === "divider" && X(n), i.type === "default" && i.descriptions.length === 0 && I(n, i), i.type === "default" && i.descriptions.length > 0 && Y(n, i);
|
|
86
86
|
const l = n.node().getBBox();
|
|
87
87
|
return c.width = l.width + 2 * t().state.padding, c.height = l.height + 2 * t().state.padding, c;
|
|
88
88
|
}, "drawState"), A = 0, Q = /* @__PURE__ */ f(function(e, i, d) {
|
|
@@ -99,13 +99,13 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
99
99
|
}
|
|
100
100
|
}, "getRelationType");
|
|
101
101
|
i.points = i.points.filter((s) => !Number.isNaN(s.y));
|
|
102
|
-
const n = i.points, l =
|
|
102
|
+
const n = i.points, l = U().x(function(s) {
|
|
103
103
|
return s.x;
|
|
104
104
|
}).y(function(s) {
|
|
105
105
|
return s.y;
|
|
106
|
-
}).curve(
|
|
106
|
+
}).curve(_), x = e.append("path").attr("d", l(n)).attr("id", "edge" + A).attr("class", "transition");
|
|
107
107
|
let a = "";
|
|
108
|
-
if (t().state.arrowMarkerAbsolute && (a =
|
|
108
|
+
if (t().state.arrowMarkerAbsolute && (a = C(!0)), x.attr(
|
|
109
109
|
"marker-end",
|
|
110
110
|
"url(" + a + "#" + c(N.relationType.DEPENDENCY) + "End)"
|
|
111
111
|
), d.title !== void 0) {
|
|
@@ -146,7 +146,7 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
146
146
|
`${o.x - b.padding} ${o.y - b.padding} ` + g + " " + B
|
|
147
147
|
);
|
|
148
148
|
}, "draw"), at = /* @__PURE__ */ f((e) => e ? e.length * b.fontSizeFactor : 1, "getLabelWidth"), G = /* @__PURE__ */ f((e, i, d, c, n, l, x) => {
|
|
149
|
-
const a = new
|
|
149
|
+
const a = new J({
|
|
150
150
|
compound: !0,
|
|
151
151
|
multigraph: !0
|
|
152
152
|
});
|
|
@@ -222,7 +222,7 @@ var X = /* @__PURE__ */ f((e) => e.append("circle").attr("class", "start-state")
|
|
|
222
222
|
},
|
|
223
223
|
"id" + B
|
|
224
224
|
);
|
|
225
|
-
}),
|
|
225
|
+
}), O(a), S.debug("Graph after layout", a.nodes());
|
|
226
226
|
const m = i.node();
|
|
227
227
|
a.nodes().forEach(function(r) {
|
|
228
228
|
r !== void 0 && a.node(r) !== void 0 ? (S.warn("Node " + r + ": " + JSON.stringify(a.node(r))), n.select("#" + m.id + " #" + r).attr(
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { s as
|
|
2
|
-
import {
|
|
1
|
+
import { s as a, S as t, b as r, a as s } from "./chunk-DI55MBZ5.js";
|
|
2
|
+
import { a0 as i } from "./CoachForm.js";
|
|
3
3
|
import "./redux-toolkit.modern.js";
|
|
4
4
|
var l = {
|
|
5
|
-
parser:
|
|
5
|
+
parser: a,
|
|
6
6
|
get db() {
|
|
7
|
-
return new
|
|
7
|
+
return new t(2);
|
|
8
8
|
},
|
|
9
9
|
renderer: r,
|
|
10
10
|
styles: s,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a0 as s, as as xt, aM as kt, am as vt, a6 as _t, ac as E, aN as bt, aO as wt, aP as St, aQ as Et } from "./CoachForm.js";
|
|
2
2
|
import { s as q } from "./redux-toolkit.modern.js";
|
|
3
3
|
import { d as nt } from "./arc.js";
|
|
4
4
|
var X = function() {
|
|
@@ -63,7 +63,7 @@ var X = function() {
|
|
|
63
63
|
}
|
|
64
64
|
}, "parseError"),
|
|
65
65
|
parse: /* @__PURE__ */ s(function(i) {
|
|
66
|
-
var a = this, h = [0], u = [], y = [null], o = [], S = this.table, k = "", M = 0, C = 0, B = 2,
|
|
66
|
+
var a = this, h = [0], u = [], y = [null], o = [], S = this.table, k = "", M = 0, C = 0, B = 2, Q = 1, O = o.slice.call(arguments, 1), v = Object.create(this.lexer), N = { yy: {} };
|
|
67
67
|
for (var L in this.yy)
|
|
68
68
|
Object.prototype.hasOwnProperty.call(this.yy, L) && (N.yy[L] = this.yy[L]);
|
|
69
69
|
v.setInput(i, N.yy), N.yy.lexer = v, N.yy.parser = this, typeof v.yylloc > "u" && (v.yylloc = {});
|
|
@@ -77,18 +77,18 @@ var X = function() {
|
|
|
77
77
|
s(R, "popStack");
|
|
78
78
|
function A() {
|
|
79
79
|
var T;
|
|
80
|
-
return T = u.pop() || v.lex() ||
|
|
80
|
+
return T = u.pop() || v.lex() || Q, typeof T != "number" && (T instanceof Array && (u = T, T = u.pop()), T = a.symbols_[T] || T), T;
|
|
81
81
|
}
|
|
82
82
|
s(A, "lex");
|
|
83
|
-
for (var w, P, I,
|
|
83
|
+
for (var w, P, I, J, z = {}, j, H, et, G; ; ) {
|
|
84
84
|
if (P = h[h.length - 1], this.defaultActions[P] ? I = this.defaultActions[P] : ((w === null || typeof w > "u") && (w = A()), I = S[P] && S[P][w]), typeof I > "u" || !I.length || !I[0]) {
|
|
85
|
-
var
|
|
85
|
+
var K = "";
|
|
86
86
|
G = [];
|
|
87
87
|
for (j in S[P])
|
|
88
88
|
this.terminals_[j] && j > B && G.push("'" + this.terminals_[j] + "'");
|
|
89
|
-
v.showPosition ?
|
|
89
|
+
v.showPosition ? K = "Parse error on line " + (M + 1) + `:
|
|
90
90
|
` + v.showPosition() + `
|
|
91
|
-
Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" :
|
|
91
|
+
Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : K = "Parse error on line " + (M + 1) + ": Unexpected " + (w == Q ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(K, {
|
|
92
92
|
text: v.match,
|
|
93
93
|
token: this.terminals_[w] || w,
|
|
94
94
|
line: v.yylineno,
|
|
@@ -111,7 +111,7 @@ Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Q = "
|
|
|
111
111
|
}, $ && (z._$.range = [
|
|
112
112
|
o[o.length - (H || 1)].range[0],
|
|
113
113
|
o[o.length - 1].range[1]
|
|
114
|
-
]),
|
|
114
|
+
]), J = this.performAction.apply(z, [
|
|
115
115
|
k,
|
|
116
116
|
C,
|
|
117
117
|
M,
|
|
@@ -119,8 +119,8 @@ Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Q = "
|
|
|
119
119
|
I[1],
|
|
120
120
|
y,
|
|
121
121
|
o
|
|
122
|
-
].concat(O)), typeof
|
|
123
|
-
return
|
|
122
|
+
].concat(O)), typeof J < "u")
|
|
123
|
+
return J;
|
|
124
124
|
H && (h = h.slice(0, -1 * H * 2), y = y.slice(0, -1 * H), o = o.slice(0, -1 * H)), h.push(this.productions_[I[1]][0]), y.push(z.$), o.push(z._$), et = S[h[h.length - 2]][h[h.length - 1]], h.push(et);
|
|
125
125
|
break;
|
|
126
126
|
case 3:
|
|
@@ -791,12 +791,12 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
791
791
|
.eventWrapper {
|
|
792
792
|
filter: brightness(120%);
|
|
793
793
|
}
|
|
794
|
-
`, "getStyles"), qt = Gt,
|
|
794
|
+
`, "getStyles"), qt = Gt, Jt = {
|
|
795
795
|
db: at,
|
|
796
796
|
renderer: Ot,
|
|
797
797
|
parser: Tt,
|
|
798
798
|
styles: qt
|
|
799
799
|
};
|
|
800
800
|
export {
|
|
801
|
-
|
|
801
|
+
Jt as diagram
|
|
802
802
|
};
|
|
@@ -23,15 +23,22 @@ interface Feedback {
|
|
|
23
23
|
rating?: "up" | "down";
|
|
24
24
|
comment?: string;
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
type ContextOption = {
|
|
27
27
|
label: string;
|
|
28
28
|
key: string;
|
|
29
|
-
|
|
29
|
+
type: "submenu";
|
|
30
|
+
options: {
|
|
30
31
|
id: string;
|
|
31
32
|
label: string;
|
|
32
33
|
}[];
|
|
33
|
-
|
|
34
|
-
}
|
|
34
|
+
icon?: ReactNode;
|
|
35
|
+
} | {
|
|
36
|
+
label: string;
|
|
37
|
+
key: string;
|
|
38
|
+
type: "trigger";
|
|
39
|
+
handler?: () => void;
|
|
40
|
+
icon?: ReactNode;
|
|
41
|
+
};
|
|
35
42
|
interface ChatSession {
|
|
36
43
|
id: string;
|
|
37
44
|
messages: ChatMessage[];
|
|
@@ -42,6 +49,7 @@ interface ChatSession {
|
|
|
42
49
|
selectedModel?: string | null;
|
|
43
50
|
mode?: string;
|
|
44
51
|
datamates?: string[];
|
|
52
|
+
status?: SessionStatusEnum;
|
|
45
53
|
userInput?: string;
|
|
46
54
|
}
|
|
47
55
|
interface FileUploadProps {
|
|
@@ -104,7 +112,7 @@ interface ChatbotProps {
|
|
|
104
112
|
};
|
|
105
113
|
initialMessage?: string;
|
|
106
114
|
questionFormLeftActions?: ReactNode[];
|
|
107
|
-
|
|
115
|
+
refetchSession?: () => Promise<unknown>;
|
|
108
116
|
chatboxStartPosition?: "middle" | "bottom";
|
|
109
117
|
helloMessageFooter?: ReactNode;
|
|
110
118
|
handleSavePrompt?: (message: ChatMessage) => void;
|
|
@@ -198,6 +206,8 @@ interface ChatResponse {
|
|
|
198
206
|
heading: string;
|
|
199
207
|
todos?: TodoItem[];
|
|
200
208
|
}
|
|
209
|
+
declare const sessionStatusSchema: z.ZodEnum<["failed", "completed", "pending", "cancelled"]>;
|
|
210
|
+
type SessionStatusEnum = z.infer<typeof sessionStatusSchema>;
|
|
201
211
|
interface ChatState {
|
|
202
212
|
sessions: Record<string, ChatSession>;
|
|
203
213
|
currentSessionId: string | null;
|
|
@@ -236,12 +246,12 @@ declare const todoItemSchema: z.ZodObject<{
|
|
|
236
246
|
}, "strip", z.ZodTypeAny, {
|
|
237
247
|
id: string;
|
|
238
248
|
content: string;
|
|
239
|
-
status: "
|
|
249
|
+
status: "completed" | "pending" | "in_progress";
|
|
240
250
|
priority: "high" | "low" | "medium";
|
|
241
251
|
}, {
|
|
242
252
|
id: string;
|
|
243
253
|
content: string;
|
|
244
|
-
status: "
|
|
254
|
+
status: "completed" | "pending" | "in_progress";
|
|
245
255
|
priority: "high" | "low" | "medium";
|
|
246
256
|
}>;
|
|
247
257
|
type TodoItem = z.infer<typeof todoItemSchema>;
|
|
@@ -274,12 +284,12 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
274
284
|
}, "strip", z.ZodTypeAny, {
|
|
275
285
|
id: string;
|
|
276
286
|
content: string;
|
|
277
|
-
status: "
|
|
287
|
+
status: "completed" | "pending" | "in_progress";
|
|
278
288
|
priority: "high" | "low" | "medium";
|
|
279
289
|
}, {
|
|
280
290
|
id: string;
|
|
281
291
|
content: string;
|
|
282
|
-
status: "
|
|
292
|
+
status: "completed" | "pending" | "in_progress";
|
|
283
293
|
priority: "high" | "low" | "medium";
|
|
284
294
|
}>, "many">>;
|
|
285
295
|
response: z.ZodOptional<z.ZodString>;
|
|
@@ -398,7 +408,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
398
408
|
todos?: {
|
|
399
409
|
id: string;
|
|
400
410
|
content: string;
|
|
401
|
-
status: "
|
|
411
|
+
status: "completed" | "pending" | "in_progress";
|
|
402
412
|
priority: "high" | "low" | "medium";
|
|
403
413
|
}[] | undefined;
|
|
404
414
|
response?: string | undefined;
|
|
@@ -441,7 +451,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
441
451
|
todos?: {
|
|
442
452
|
id: string;
|
|
443
453
|
content: string;
|
|
444
|
-
status: "
|
|
454
|
+
status: "completed" | "pending" | "in_progress";
|
|
445
455
|
priority: "high" | "low" | "medium";
|
|
446
456
|
}[] | undefined;
|
|
447
457
|
response?: string | undefined;
|
|
@@ -597,4 +607,4 @@ interface Citation {
|
|
|
597
607
|
taskLabel: TaskLabels;
|
|
598
608
|
}
|
|
599
609
|
|
|
600
|
-
export { type Artifact as A, type EntityDetectionResponse as B, type CoachAiResponse as C, type DetectedEntity as D, EntityType as E, type Feedback as F, type Mode as G, type InteractionType as H, type InteractionRequest as I, type InteractionChoice as J,
|
|
610
|
+
export { type Artifact as A, type EntityDetectionResponse as B, type CoachAiResponse as C, type DetectedEntity as D, EntityType as E, type Feedback as F, type Mode as G, type InteractionType as H, type InteractionRequest as I, type InteractionChoice as J, sessionStatusSchema as K, type Learning as L, type MessageAttachment as M, todoItemSchema as N, type ToolUsageData as O, PersonalizationScope as P, type ProgressUpdate as Q, type FinalResponseData as R, type SessionStatusEnum as S, TaskLabels as T, type UploadedFile as U, agentStreamResponseSchema as V, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, type TeamMateComponentProps as h, type Citation as i, type ChatbotProps as j, type ChatbotProviderProps as k, learningSchema as l, type ChatState as m, type ContextOption as n, type ChatMessage as o, type AgentAction as p, type ChatResponse as q, LoadingState as r, type ChatSession as s, type TodoItem as t, type AgentStreamResponse as u, type AssistantMeta as v, type FileUploadProps as w, type ChatbotUrls as x, type Datamate as y, type EntityDetectionRequest as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a0 as a, bu as gi, ac as Xt, aI as Wt, aA as xi, av as St, au as Nt, at as di, ab as fi, ag as Yt, a2 as pi, a3 as mi, af as yi, a4 as bi, a5 as Ai, am as wi, ay as Ci, ad as Si } from "./CoachForm.js";
|
|
2
2
|
import "./redux-toolkit.modern.js";
|
|
3
3
|
import { i as _i } from "./init.js";
|
|
4
4
|
import { o as ki } from "./ordinal.js";
|