@altimateai/ui-components 0.0.37-beta.3 → 0.0.37-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CoachForm.js +230 -223
- package/package.json +1 -1
package/dist/CoachForm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { j as B, E as d8, D as f8, u as p8, v as m8, w as g8, e as y8, d as b8, R as _8, M as x8, x as E8, y as T8, C as Bp, A as Dy, z as k8, G as Pp, J as C8, K as v8, h as A8, L as S8 } from "./index2.js";
|
|
2
|
-
import { c as Tn, S as Ot, aq as w8, a3 as cs, a1 as Je, _ as
|
|
2
|
+
import { c as Tn, S as Ot, aq as w8, a3 as cs, a1 as Je, _ as Er, $ as Lf, ah as Ry, Y as L8, a2 as I8, a0 as N8, a5 as D8, H as Oy, J as My, am as By, ao as Py, X as ec, a6 as R8, ap as O8, N as Fy, Q as Uy, U as Hy, a4 as zy } from "./Stack.js";
|
|
3
3
|
import { aN as Nh, ag as M8, aj as B8, ak as P8, al as F8, an as U8, ao as H8, am as z8, aq as j8, ap as V8, aO as X1, aP as I0, aQ as Y8, u as If, A as Nf, F as Ac, a as K1, N as jy, ad as W8, S as q8, r as G8, c as $8, t as X8, w as K8, B as Vy, a8 as Q8, a9 as Z8, aa as J8, ab as ek, J as Yy, D as tk, E as nk, H as rk, _ as Wy, a0 as qy, a1 as Gy, a2 as $y, aB as ik, a3 as Q1, a4 as Z1, a6 as ak, z as sk, aC as ok, aD as lk, aE as uk } from "./Form.js";
|
|
4
4
|
import { z as Ze } from "zod";
|
|
5
5
|
import { c as _i, g as ko, S as Fp, r as ck, f as hk, h as Xy, j as Ky, R as Qy, k as Zy, l as dk, m as fk, n as J1, o as Up, p as Hp, q as pk, t as N0, v as mk, s as Oe, C as Dh, u as ou, A as vi, I as gk, b as Jy, a as yk } from "./redux-toolkit.modern.js";
|
|
@@ -403,7 +403,7 @@ var nb = { exports: {} };
|
|
|
403
403
|
});
|
|
404
404
|
})(nb);
|
|
405
405
|
var Mk = nb.exports;
|
|
406
|
-
const
|
|
406
|
+
const hr = /* @__PURE__ */ ko(Mk);
|
|
407
407
|
var sa = {};
|
|
408
408
|
(function(e) {
|
|
409
409
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.sanitizeUrl = e.BLANK_URL = void 0;
|
|
@@ -7676,7 +7676,7 @@ const tO = /* @__PURE__ */ ko(eO), Pi = {
|
|
|
7676
7676
|
}, K.error = () => {
|
|
7677
7677
|
}, K.fatal = () => {
|
|
7678
7678
|
}, t <= Pi.fatal && (K.fatal = console.error ? console.error.bind(console, Or("FATAL"), "color: orange") : console.log.bind(console, "\x1B[35m", Or("FATAL"))), t <= Pi.error && (K.error = console.error ? console.error.bind(console, Or("ERROR"), "color: orange") : console.log.bind(console, "\x1B[31m", Or("ERROR"))), t <= Pi.warn && (K.warn = console.warn ? console.warn.bind(console, Or("WARN"), "color: orange") : console.log.bind(console, "\x1B[33m", Or("WARN"))), t <= Pi.info && (K.info = console.info ? console.info.bind(console, Or("INFO"), "color: lightblue") : console.log.bind(console, "\x1B[34m", Or("INFO"))), t <= Pi.debug && (K.debug = console.debug ? console.debug.bind(console, Or("DEBUG"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", Or("DEBUG"))), t <= Pi.trace && (K.trace = console.debug ? console.debug.bind(console, Or("TRACE"), "color: lightgreen") : console.log.bind(console, "\x1B[32m", Or("TRACE")));
|
|
7679
|
-
}, Or = (e) => `%c${
|
|
7679
|
+
}, Or = (e) => `%c${hr().format("ss.SSS")} : ${e} : `, nO = (e) => e ? a5(e).replace(/\\n/g, "#br#").split("#br#") : [""], i5 = (e) => Il.sanitize(e), fg = (e, t) => {
|
|
7680
7680
|
var n;
|
|
7681
7681
|
if (((n = t.flowchart) == null ? void 0 : n.htmlLabels) !== !1) {
|
|
7682
7682
|
const r = t.securityLevel;
|
|
@@ -10375,7 +10375,7 @@ function ki(e) {
|
|
|
10375
10375
|
function Ka(e) {
|
|
10376
10376
|
return e === 9 || e === 32;
|
|
10377
10377
|
}
|
|
10378
|
-
function
|
|
10378
|
+
function dr(e) {
|
|
10379
10379
|
return e === 9 || e === 32 || e === 10 || e === 13;
|
|
10380
10380
|
}
|
|
10381
10381
|
function Bs(e) {
|
|
@@ -10497,7 +10497,7 @@ function mn(e, t, n) {
|
|
|
10497
10497
|
}
|
|
10498
10498
|
function n0(e) {
|
|
10499
10499
|
var t = e.position, n;
|
|
10500
|
-
return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 ||
|
|
10500
|
+
return n = e.input.charCodeAt(t), !!((n === 45 || n === 46) && n === e.input.charCodeAt(t + 1) && n === e.input.charCodeAt(t + 2) && (t += 3, n = e.input.charCodeAt(t), n === 0 || dr(n)));
|
|
10501
10501
|
}
|
|
10502
10502
|
function f2(e, t) {
|
|
10503
10503
|
t === 1 ? e.result += " " : t > 1 && (e.result += Zn.repeat(`
|
|
@@ -10505,14 +10505,14 @@ function f2(e, t) {
|
|
|
10505
10505
|
}
|
|
10506
10506
|
function qM(e, t, n) {
|
|
10507
10507
|
var r, i, a, s, o, l, u, h, d = e.kind, p = e.result, f;
|
|
10508
|
-
if (f = e.input.charCodeAt(e.position),
|
|
10508
|
+
if (f = e.input.charCodeAt(e.position), dr(f) || Bs(f) || f === 35 || f === 38 || f === 42 || f === 33 || f === 124 || f === 62 || f === 39 || f === 34 || f === 37 || f === 64 || f === 96 || (f === 63 || f === 45) && (i = e.input.charCodeAt(e.position + 1), dr(i) || n && Bs(i)))
|
|
10509
10509
|
return !1;
|
|
10510
10510
|
for (e.kind = "scalar", e.result = "", a = s = e.position, o = !1; f !== 0; ) {
|
|
10511
10511
|
if (f === 58) {
|
|
10512
|
-
if (i = e.input.charCodeAt(e.position + 1),
|
|
10512
|
+
if (i = e.input.charCodeAt(e.position + 1), dr(i) || n && Bs(i))
|
|
10513
10513
|
break;
|
|
10514
10514
|
} else if (f === 35) {
|
|
10515
|
-
if (r = e.input.charCodeAt(e.position - 1),
|
|
10515
|
+
if (r = e.input.charCodeAt(e.position - 1), dr(r))
|
|
10516
10516
|
break;
|
|
10517
10517
|
} else {
|
|
10518
10518
|
if (e.position === e.lineStart && n0(e) || n && Bs(f))
|
|
@@ -10577,7 +10577,7 @@ function XM(e, t) {
|
|
|
10577
10577
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = o), E = e.input.charCodeAt(++e.position); E !== 0; ) {
|
|
10578
10578
|
if (mn(e, !0, t), E = e.input.charCodeAt(e.position), E === h)
|
|
10579
10579
|
return e.position++, e.tag = s, e.anchor = l, e.kind = f ? "mapping" : "sequence", e.result = o, !0;
|
|
10580
|
-
n ? E === 44 && it(e, "expected the node content, but found ','") : it(e, "missed comma between flow collection entries"), b = y = _ = null, d = p = !1, E === 63 && (u = e.input.charCodeAt(e.position + 1),
|
|
10580
|
+
n ? E === 44 && it(e, "expected the node content, but found ','") : it(e, "missed comma between flow collection entries"), b = y = _ = null, d = p = !1, E === 63 && (u = e.input.charCodeAt(e.position + 1), dr(u) && (d = p = !0, e.position++, mn(e, !0, t))), r = e.line, i = e.lineStart, a = e.position, co(e, t, Yc, !1, !0), b = e.tag, y = e.result, mn(e, !0, t), E = e.input.charCodeAt(e.position), (p || e.line === r) && E === 58 && (d = !0, E = e.input.charCodeAt(++e.position), mn(e, !0, t), co(e, t, Yc, !1, !0), _ = e.result), f ? Ps(e, o, g, b, y, _, r, i, a) : d ? o.push(Ps(e, null, g, b, y, _, r, i, a)) : o.push(y), mn(e, !0, t), E = e.input.charCodeAt(e.position), E === 44 ? (n = !0, E = e.input.charCodeAt(++e.position)) : n = !1;
|
|
10581
10581
|
}
|
|
10582
10582
|
it(e, "unexpected end of the stream within a flow collection");
|
|
10583
10583
|
}
|
|
@@ -10632,7 +10632,7 @@ function xg(e, t) {
|
|
|
10632
10632
|
var n, r = e.tag, i = e.anchor, a = [], s, o = !1, l;
|
|
10633
10633
|
if (e.firstTabInLine !== -1)
|
|
10634
10634
|
return !1;
|
|
10635
|
-
for (e.anchor !== null && (e.anchorMap[e.anchor] = a), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, it(e, "tab characters must not be used in indentation")), !(l !== 45 || (s = e.input.charCodeAt(e.position + 1), !
|
|
10635
|
+
for (e.anchor !== null && (e.anchorMap[e.anchor] = a), l = e.input.charCodeAt(e.position); l !== 0 && (e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, it(e, "tab characters must not be used in indentation")), !(l !== 45 || (s = e.input.charCodeAt(e.position + 1), !dr(s)))); ) {
|
|
10636
10636
|
if (o = !0, e.position++, mn(e, !0, -1) && e.lineIndent <= t) {
|
|
10637
10637
|
a.push(null), l = e.input.charCodeAt(e.position);
|
|
10638
10638
|
continue;
|
|
@@ -10649,7 +10649,7 @@ function QM(e, t, n) {
|
|
|
10649
10649
|
if (e.firstTabInLine !== -1)
|
|
10650
10650
|
return !1;
|
|
10651
10651
|
for (e.anchor !== null && (e.anchorMap[e.anchor] = d), E = e.input.charCodeAt(e.position); E !== 0; ) {
|
|
10652
|
-
if (!b && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, it(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (E === 63 || E === 58) &&
|
|
10652
|
+
if (!b && e.firstTabInLine !== -1 && (e.position = e.firstTabInLine, it(e, "tab characters must not be used in indentation")), r = e.input.charCodeAt(e.position + 1), a = e.line, (E === 63 || E === 58) && dr(r))
|
|
10653
10653
|
E === 63 ? (b && (Ps(e, d, p, f, g, null, s, o, l), f = g = y = null), _ = !0, b = !0, i = !0) : b ? (b = !1, i = !0) : it(e, "incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"), e.position += 1, E = r;
|
|
10654
10654
|
else {
|
|
10655
10655
|
if (s = e.line, o = e.lineStart, l = e.position, !co(e, n, d5, !1, !0))
|
|
@@ -10658,7 +10658,7 @@ function QM(e, t, n) {
|
|
|
10658
10658
|
for (E = e.input.charCodeAt(e.position); Ka(E); )
|
|
10659
10659
|
E = e.input.charCodeAt(++e.position);
|
|
10660
10660
|
if (E === 58)
|
|
10661
|
-
E = e.input.charCodeAt(++e.position),
|
|
10661
|
+
E = e.input.charCodeAt(++e.position), dr(E) || it(e, "a whitespace character is expected after the key-value separator within a block mapping"), b && (Ps(e, d, p, f, g, null, s, o, l), f = g = y = null), _ = !0, b = !1, i = !1, f = e.tag, g = e.result;
|
|
10662
10662
|
else if (_)
|
|
10663
10663
|
it(e, "can not read an implicit mapping pair; a colon is missed");
|
|
10664
10664
|
else
|
|
@@ -10685,7 +10685,7 @@ function ZM(e) {
|
|
|
10685
10685
|
while (s !== 0 && s !== 62);
|
|
10686
10686
|
e.position < e.length ? (a = e.input.slice(t, e.position), s = e.input.charCodeAt(++e.position)) : it(e, "unexpected end of the stream within a verbatim tag");
|
|
10687
10687
|
} else {
|
|
10688
|
-
for (; s !== 0 && !
|
|
10688
|
+
for (; s !== 0 && !dr(s); )
|
|
10689
10689
|
s === 33 && (r ? it(e, "tag suffix cannot contain exclamation marks") : (i = e.input.slice(t - 1, e.position + 1), p5.test(i) || it(e, "named tag handle cannot contain such characters"), r = !0, t = e.position + 1)), s = e.input.charCodeAt(++e.position);
|
|
10690
10690
|
a = e.input.slice(t, e.position), HM.test(a) && it(e, "tag suffix cannot contain flow indicator characters");
|
|
10691
10691
|
}
|
|
@@ -10701,7 +10701,7 @@ function JM(e) {
|
|
|
10701
10701
|
var t, n;
|
|
10702
10702
|
if (n = e.input.charCodeAt(e.position), n !== 38)
|
|
10703
10703
|
return !1;
|
|
10704
|
-
for (e.anchor !== null && it(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !
|
|
10704
|
+
for (e.anchor !== null && it(e, "duplication of an anchor property"), n = e.input.charCodeAt(++e.position), t = e.position; n !== 0 && !dr(n) && !Bs(n); )
|
|
10705
10705
|
n = e.input.charCodeAt(++e.position);
|
|
10706
10706
|
return e.position === t && it(e, "name of an anchor node must contain at least one character"), e.anchor = e.input.slice(t, e.position), !0;
|
|
10707
10707
|
}
|
|
@@ -10709,7 +10709,7 @@ function eB(e) {
|
|
|
10709
10709
|
var t, n, r;
|
|
10710
10710
|
if (r = e.input.charCodeAt(e.position), r !== 42)
|
|
10711
10711
|
return !1;
|
|
10712
|
-
for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !
|
|
10712
|
+
for (r = e.input.charCodeAt(++e.position), t = e.position; r !== 0 && !dr(r) && !Bs(r); )
|
|
10713
10713
|
r = e.input.charCodeAt(++e.position);
|
|
10714
10714
|
return e.position === t && it(e, "name of an alias node must contain at least one character"), n = e.input.slice(t, e.position), wa.call(e.anchorMap, n) || it(e, 'unidentified alias "' + n + '"'), e.result = e.anchorMap[n], mn(e, !0, -1), !0;
|
|
10715
10715
|
}
|
|
@@ -10742,7 +10742,7 @@ function co(e, t, n, r, i) {
|
|
|
10742
10742
|
function tB(e) {
|
|
10743
10743
|
var t = e.position, n, r, i, a = !1, s;
|
|
10744
10744
|
for (e.version = null, e.checkLineBreaks = e.legacy, e.tagMap = /* @__PURE__ */ Object.create(null), e.anchorMap = /* @__PURE__ */ Object.create(null); (s = e.input.charCodeAt(e.position)) !== 0 && (mn(e, !0, -1), s = e.input.charCodeAt(e.position), !(e.lineIndent > 0 || s !== 37)); ) {
|
|
10745
|
-
for (a = !0, s = e.input.charCodeAt(++e.position), n = e.position; s !== 0 && !
|
|
10745
|
+
for (a = !0, s = e.input.charCodeAt(++e.position), n = e.position; s !== 0 && !dr(s); )
|
|
10746
10746
|
s = e.input.charCodeAt(++e.position);
|
|
10747
10747
|
for (r = e.input.slice(n, e.position), i = [], r.length < 1 && it(e, "directive name must not be less than one character in length"); s !== 0; ) {
|
|
10748
10748
|
for (; Ka(s); )
|
|
@@ -10755,7 +10755,7 @@ function tB(e) {
|
|
|
10755
10755
|
}
|
|
10756
10756
|
if (ki(s))
|
|
10757
10757
|
break;
|
|
10758
|
-
for (n = e.position; s !== 0 && !
|
|
10758
|
+
for (n = e.position; s !== 0 && !dr(s); )
|
|
10759
10759
|
s = e.input.charCodeAt(++e.position);
|
|
10760
10760
|
i.push(e.input.slice(n, e.position));
|
|
10761
10761
|
}
|
|
@@ -11171,7 +11171,7 @@ const IB = (e, t, n, r) => {
|
|
|
11171
11171
|
insertTitle: IB,
|
|
11172
11172
|
parseFontSize: du
|
|
11173
11173
|
}, Xc = "9.4.3", ho = Object.freeze(_O);
|
|
11174
|
-
let
|
|
11174
|
+
let or = Nn({}, ho), S5, fo = [], dl = Nn({}, ho);
|
|
11175
11175
|
const r0 = (e, t) => {
|
|
11176
11176
|
let n = Nn({}, e), r = {};
|
|
11177
11177
|
for (const i of t)
|
|
@@ -11184,10 +11184,10 @@ const r0 = (e, t) => {
|
|
|
11184
11184
|
n.theme && n.theme in ta && (n.themeVariables = ta[n.theme].getThemeVariables(a));
|
|
11185
11185
|
}
|
|
11186
11186
|
return dl = n, D5(dl), dl;
|
|
11187
|
-
}, NB = (e) => (
|
|
11187
|
+
}, NB = (e) => (or = Nn({}, ho), or = Nn(or, e), e.theme && ta[e.theme] && (or.themeVariables = ta[e.theme].getThemeVariables(e.themeVariables)), r0(or, fo), or), DB = (e) => {
|
|
11188
11188
|
S5 = Nn({}, e);
|
|
11189
|
-
}, RB = (e) => (
|
|
11190
|
-
["secure", ...
|
|
11189
|
+
}, RB = (e) => (or = Nn(or, e), r0(or, fo), or), w5 = () => Nn({}, or), L5 = (e) => (D5(e), Nn(dl, e), fe()), fe = () => Nn({}, dl), I5 = (e) => {
|
|
11190
|
+
["secure", ...or.secure ?? []].forEach((t) => {
|
|
11191
11191
|
e[t] !== void 0 && (K.debug(`Denied attempt to modify a secure key ${t}`, e[t]), delete e[t]);
|
|
11192
11192
|
}), Object.keys(e).forEach((t) => {
|
|
11193
11193
|
t.indexOf("__") === 0 && delete e[t];
|
|
@@ -11195,8 +11195,8 @@ const r0 = (e, t) => {
|
|
|
11195
11195
|
typeof e[t] == "string" && (e[t].includes("<") || e[t].includes(">") || e[t].includes("url(data:")) && delete e[t], typeof e[t] == "object" && I5(e[t]);
|
|
11196
11196
|
});
|
|
11197
11197
|
}, y2 = (e) => {
|
|
11198
|
-
e.fontFamily && (e.themeVariables ? e.themeVariables.fontFamily || (e.themeVariables = { fontFamily: e.fontFamily }) : e.themeVariables = { fontFamily: e.fontFamily }), fo.push(e), r0(
|
|
11199
|
-
}, Hl = (e =
|
|
11198
|
+
e.fontFamily && (e.themeVariables ? e.themeVariables.fontFamily || (e.themeVariables = { fontFamily: e.fontFamily }) : e.themeVariables = { fontFamily: e.fontFamily }), fo.push(e), r0(or, fo);
|
|
11199
|
+
}, Hl = (e = or) => {
|
|
11200
11200
|
fo = [], r0(e, fo);
|
|
11201
11201
|
};
|
|
11202
11202
|
var N5 = /* @__PURE__ */ ((e) => (e.LAZY_LOAD_DEPRECATED = "The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.", e))(N5 || {});
|
|
@@ -12357,7 +12357,7 @@ g.stateGroup line {
|
|
|
12357
12357
|
let b2 = "", a0 = "", _2 = "";
|
|
12358
12358
|
const x2 = (e) => Yr(e, fe()), wr = function() {
|
|
12359
12359
|
b2 = "", _2 = "", a0 = "";
|
|
12360
|
-
},
|
|
12360
|
+
}, pr = function(e) {
|
|
12361
12361
|
b2 = x2(e).replace(/^\s+/g, "");
|
|
12362
12362
|
}, Lr = function() {
|
|
12363
12363
|
return b2 || a0;
|
|
@@ -12371,7 +12371,7 @@ const x2 = (e) => Yr(e, fe()), wr = function() {
|
|
|
12371
12371
|
}, ui = function() {
|
|
12372
12372
|
return a0;
|
|
12373
12373
|
}, ZB = {
|
|
12374
|
-
setAccTitle:
|
|
12374
|
+
setAccTitle: pr,
|
|
12375
12375
|
getAccTitle: Lr,
|
|
12376
12376
|
setDiagramTitle: li,
|
|
12377
12377
|
getDiagramTitle: ui,
|
|
@@ -12386,7 +12386,7 @@ const x2 = (e) => Yr(e, fe()), wr = function() {
|
|
|
12386
12386
|
getAccTitle: Lr,
|
|
12387
12387
|
getDiagramTitle: ui,
|
|
12388
12388
|
setAccDescription: Ir,
|
|
12389
|
-
setAccTitle:
|
|
12389
|
+
setAccTitle: pr,
|
|
12390
12390
|
setDiagramTitle: li
|
|
12391
12391
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
12392
12392
|
let Ha = {};
|
|
@@ -13452,7 +13452,7 @@ const bP = function() {
|
|
|
13452
13452
|
getCurrentBranch: kP,
|
|
13453
13453
|
getDirection: CP,
|
|
13454
13454
|
getHead: vP,
|
|
13455
|
-
setAccTitle:
|
|
13455
|
+
setAccTitle: pr,
|
|
13456
13456
|
getAccTitle: Lr,
|
|
13457
13457
|
getAccDescription: Nr,
|
|
13458
13458
|
setAccDescription: Ir,
|
|
@@ -13461,16 +13461,16 @@ const bP = function() {
|
|
|
13461
13461
|
commitType: jl
|
|
13462
13462
|
};
|
|
13463
13463
|
let rl = {};
|
|
13464
|
-
const
|
|
13464
|
+
const gr = {
|
|
13465
13465
|
NORMAL: 0,
|
|
13466
13466
|
REVERSE: 1,
|
|
13467
13467
|
HIGHLIGHT: 2,
|
|
13468
13468
|
MERGE: 3,
|
|
13469
13469
|
CHERRY_PICK: 4
|
|
13470
13470
|
}, Ya = 8;
|
|
13471
|
-
let
|
|
13471
|
+
let lr = {}, eh = {}, th = [], nh = 0;
|
|
13472
13472
|
const SP = () => {
|
|
13473
|
-
|
|
13473
|
+
lr = {}, eh = {}, rl = {}, nh = 0, th = [];
|
|
13474
13474
|
}, wP = (e) => {
|
|
13475
13475
|
const t = document.createElementNS("http://www.w3.org/2000/svg", "text");
|
|
13476
13476
|
let n = [];
|
|
@@ -13484,59 +13484,59 @@ const SP = () => {
|
|
|
13484
13484
|
const r = fu().gitGraph, i = e.append("g").attr("class", "commit-bullets"), a = e.append("g").attr("class", "commit-labels");
|
|
13485
13485
|
let s = 0;
|
|
13486
13486
|
Object.keys(t).sort((u, h) => t[u].seq - t[h].seq).forEach((u) => {
|
|
13487
|
-
const h = t[u], d =
|
|
13487
|
+
const h = t[u], d = lr[h.branch].pos, p = s + 10;
|
|
13488
13488
|
if (n) {
|
|
13489
13489
|
let f, g = h.customType !== void 0 && h.customType !== "" ? h.customType : h.type;
|
|
13490
13490
|
switch (g) {
|
|
13491
|
-
case
|
|
13491
|
+
case gr.NORMAL:
|
|
13492
13492
|
f = "commit-normal";
|
|
13493
13493
|
break;
|
|
13494
|
-
case
|
|
13494
|
+
case gr.REVERSE:
|
|
13495
13495
|
f = "commit-reverse";
|
|
13496
13496
|
break;
|
|
13497
|
-
case
|
|
13497
|
+
case gr.HIGHLIGHT:
|
|
13498
13498
|
f = "commit-highlight";
|
|
13499
13499
|
break;
|
|
13500
|
-
case
|
|
13500
|
+
case gr.MERGE:
|
|
13501
13501
|
f = "commit-merge";
|
|
13502
13502
|
break;
|
|
13503
|
-
case
|
|
13503
|
+
case gr.CHERRY_PICK:
|
|
13504
13504
|
f = "commit-cherry-pick";
|
|
13505
13505
|
break;
|
|
13506
13506
|
default:
|
|
13507
13507
|
f = "commit-normal";
|
|
13508
13508
|
}
|
|
13509
|
-
if (g ===
|
|
13509
|
+
if (g === gr.HIGHLIGHT) {
|
|
13510
13510
|
const y = i.append("rect");
|
|
13511
13511
|
y.attr("x", p - 10), y.attr("y", d - 10), y.attr("height", 20), y.attr("width", 20), y.attr(
|
|
13512
13512
|
"class",
|
|
13513
|
-
`commit ${h.id} commit-highlight${
|
|
13513
|
+
`commit ${h.id} commit-highlight${lr[h.branch].index % Ya} ${f}-outer`
|
|
13514
13514
|
), i.append("rect").attr("x", p - 6).attr("y", d - 6).attr("height", 12).attr("width", 12).attr(
|
|
13515
13515
|
"class",
|
|
13516
|
-
`commit ${h.id} commit${
|
|
13516
|
+
`commit ${h.id} commit${lr[h.branch].index % Ya} ${f}-inner`
|
|
13517
13517
|
);
|
|
13518
|
-
} else if (g ===
|
|
13518
|
+
} else if (g === gr.CHERRY_PICK)
|
|
13519
13519
|
i.append("circle").attr("cx", p).attr("cy", d).attr("r", 10).attr("class", `commit ${h.id} ${f}`), i.append("circle").attr("cx", p - 3).attr("cy", d + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${h.id} ${f}`), i.append("circle").attr("cx", p + 3).attr("cy", d + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", `commit ${h.id} ${f}`), i.append("line").attr("x1", p + 3).attr("y1", d + 1).attr("x2", p).attr("y2", d - 5).attr("stroke", "#fff").attr("class", `commit ${h.id} ${f}`), i.append("line").attr("x1", p - 3).attr("y1", d + 1).attr("x2", p).attr("y2", d - 5).attr("stroke", "#fff").attr("class", `commit ${h.id} ${f}`);
|
|
13520
13520
|
else {
|
|
13521
13521
|
const y = i.append("circle");
|
|
13522
|
-
if (y.attr("cx", p), y.attr("cy", d), y.attr("r", h.type ===
|
|
13522
|
+
if (y.attr("cx", p), y.attr("cy", d), y.attr("r", h.type === gr.MERGE ? 9 : 10), y.attr(
|
|
13523
13523
|
"class",
|
|
13524
|
-
`commit ${h.id} commit${
|
|
13525
|
-
), g ===
|
|
13524
|
+
`commit ${h.id} commit${lr[h.branch].index % Ya}`
|
|
13525
|
+
), g === gr.MERGE) {
|
|
13526
13526
|
const b = i.append("circle");
|
|
13527
13527
|
b.attr("cx", p), b.attr("cy", d), b.attr("r", 6), b.attr(
|
|
13528
13528
|
"class",
|
|
13529
|
-
`commit ${f} ${h.id} commit${
|
|
13529
|
+
`commit ${f} ${h.id} commit${lr[h.branch].index % Ya}`
|
|
13530
13530
|
);
|
|
13531
13531
|
}
|
|
13532
|
-
g ===
|
|
13532
|
+
g === gr.REVERSE && i.append("path").attr("d", `M ${p - 5},${d - 5}L${p + 5},${d + 5}M${p - 5},${d + 5}L${p + 5},${d - 5}`).attr(
|
|
13533
13533
|
"class",
|
|
13534
|
-
`commit ${f} ${h.id} commit${
|
|
13534
|
+
`commit ${f} ${h.id} commit${lr[h.branch].index % Ya}`
|
|
13535
13535
|
);
|
|
13536
13536
|
}
|
|
13537
13537
|
}
|
|
13538
13538
|
if (eh[h.id] = { x: s + 10, y: d }, n) {
|
|
13539
|
-
if (h.type !==
|
|
13539
|
+
if (h.type !== gr.CHERRY_PICK && (h.customId && h.type === gr.MERGE || h.type !== gr.MERGE) && r.showCommitLabel) {
|
|
13540
13540
|
const y = a.append("g"), b = y.insert("rect").attr("class", "commit-label-bkg"), _ = y.append("text").attr("x", s).attr("y", d + 25).attr("class", "commit-label").text(h.id);
|
|
13541
13541
|
let E = _.node().getBBox();
|
|
13542
13542
|
if (b.attr("x", s + 10 - E.width / 2 - 2).attr("y", d + 13.5).attr("width", E.width + 2 * 2).attr("height", E.height + 2 * 2), _.attr("x", s + 10 - E.width / 2), r.rotateCommitLabel) {
|
|
@@ -13576,13 +13576,13 @@ const SP = () => {
|
|
|
13576
13576
|
return Dd(e, t - a / 5, n + 1);
|
|
13577
13577
|
}, IP = (e, t, n, r) => {
|
|
13578
13578
|
const i = eh[t.id], a = eh[n.id], s = LP(t, n, r);
|
|
13579
|
-
let o = "", l = "", u = 0, h = 0, d =
|
|
13579
|
+
let o = "", l = "", u = 0, h = 0, d = lr[n.branch].index, p;
|
|
13580
13580
|
if (s) {
|
|
13581
|
-
o = "A 10 10, 0, 0, 0,", l = "A 10 10, 0, 0, 1,", u = 10, h = 10, d =
|
|
13581
|
+
o = "A 10 10, 0, 0, 0,", l = "A 10 10, 0, 0, 1,", u = 10, h = 10, d = lr[n.branch].index;
|
|
13582
13582
|
const f = i.y < a.y ? Dd(i.y, a.y) : Dd(a.y, i.y);
|
|
13583
13583
|
i.y < a.y ? p = `M ${i.x} ${i.y} L ${i.x} ${f - u} ${o} ${i.x + h} ${f} L ${a.x - u} ${f} ${l} ${a.x} ${f + h} L ${a.x} ${a.y}` : p = `M ${i.x} ${i.y} L ${i.x} ${f + u} ${l} ${i.x + h} ${f} L ${a.x - u} ${f} ${o} ${a.x} ${f - h} L ${a.x} ${a.y}`;
|
|
13584
13584
|
} else
|
|
13585
|
-
i.y < a.y && (o = "A 20 20, 0, 0, 0,", u = 20, h = 20, d =
|
|
13585
|
+
i.y < a.y && (o = "A 20 20, 0, 0, 0,", u = 20, h = 20, d = lr[n.branch].index, p = `M ${i.x} ${i.y} L ${i.x} ${a.y - u} ${o} ${i.x + h} ${a.y} L ${a.x} ${a.y}`), i.y > a.y && (o = "A 20 20, 0, 0, 0,", u = 20, h = 20, d = lr[t.branch].index, p = `M ${i.x} ${i.y} L ${a.x - u} ${i.y} ${o} ${a.x} ${i.y - h} L ${a.x} ${a.y}`), i.y === a.y && (d = lr[t.branch].index, p = `M ${i.x} ${i.y} L ${i.x} ${a.y - u} ${o} ${i.x + h} ${a.y} L ${a.x} ${a.y}`);
|
|
13586
13586
|
e.append("path").attr("d", p).attr("class", "arrow arrow" + d % Ya);
|
|
13587
13587
|
}, NP = (e, t) => {
|
|
13588
13588
|
const n = e.append("g").attr("class", "commit-arrows");
|
|
@@ -13595,7 +13595,7 @@ const SP = () => {
|
|
|
13595
13595
|
}, DP = (e, t) => {
|
|
13596
13596
|
const n = fu().gitGraph, r = e.append("g");
|
|
13597
13597
|
t.forEach((i, a) => {
|
|
13598
|
-
const s = a % Ya, o =
|
|
13598
|
+
const s = a % Ya, o = lr[i.name].pos, l = r.append("line");
|
|
13599
13599
|
l.attr("x1", 0), l.attr("y1", o), l.attr("x2", nh), l.attr("y2", o), l.attr("class", "branch branch" + s), th.push(o);
|
|
13600
13600
|
let u = i.name;
|
|
13601
13601
|
const h = wP(u), d = r.insert("rect"), f = r.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + s);
|
|
@@ -13614,7 +13614,7 @@ const SP = () => {
|
|
|
13614
13614
|
const s = r.db.getBranchesAsObjArray();
|
|
13615
13615
|
let o = 0;
|
|
13616
13616
|
s.forEach((u, h) => {
|
|
13617
|
-
|
|
13617
|
+
lr[u.name] = { pos: o, index: h }, o += 50 + (a.rotateCommitLabel ? 40 : 0);
|
|
13618
13618
|
});
|
|
13619
13619
|
const l = Oe(`[id="${t}"]`);
|
|
13620
13620
|
Cg(l, rl, !1), a.showBranches && DP(l, s), NP(l, rl), Cg(l, rl, !0), dt.insertTitle(
|
|
@@ -14748,7 +14748,7 @@ const UP = function() {
|
|
|
14748
14748
|
getC4Type: UP,
|
|
14749
14749
|
getC4ShapeInRow: JP,
|
|
14750
14750
|
getC4BoundaryInRow: eF,
|
|
14751
|
-
setAccTitle:
|
|
14751
|
+
setAccTitle: pr,
|
|
14752
14752
|
getAccTitle: Lr,
|
|
14753
14753
|
getAccDescription: Nr,
|
|
14754
14754
|
setAccDescription: Ir,
|
|
@@ -16055,7 +16055,7 @@ const QF = () => l_, ZF = (e) => {
|
|
|
16055
16055
|
l_ = e;
|
|
16056
16056
|
}, Fs = {
|
|
16057
16057
|
parseDirective: DF,
|
|
16058
|
-
setAccTitle:
|
|
16058
|
+
setAccTitle: pr,
|
|
16059
16059
|
getAccTitle: Lr,
|
|
16060
16060
|
getAccDescription: Nr,
|
|
16061
16061
|
setAccDescription: Ir,
|
|
@@ -16393,14 +16393,14 @@ const TU = (e, t, n, r) => {
|
|
|
16393
16393
|
}
|
|
16394
16394
|
return a;
|
|
16395
16395
|
}
|
|
16396
|
-
},
|
|
16396
|
+
}, ur = TU, Gn = (e, t, n, r) => {
|
|
16397
16397
|
let i;
|
|
16398
16398
|
n ? i = n : i = "node default";
|
|
16399
16399
|
const a = e.insert("g").attr("class", i).attr("id", t.domId || t.id), s = a.insert("g").attr("class", "label").attr("style", t.labelStyle);
|
|
16400
16400
|
let o;
|
|
16401
16401
|
t.labelText === void 0 ? o = "" : o = typeof t.labelText == "string" ? t.labelText : t.labelText[0];
|
|
16402
16402
|
const l = s.node().appendChild(
|
|
16403
|
-
|
|
16403
|
+
ur(
|
|
16404
16404
|
Yr(ep(o), fe()),
|
|
16405
16405
|
t.labelStyle,
|
|
16406
16406
|
!1,
|
|
@@ -16834,7 +16834,7 @@ const WU = (e, t) => {
|
|
|
16834
16834
|
const r = e.insert("g").attr("class", n).attr("id", t.domId || t.id), i = r.insert("rect", ":first-child"), a = r.insert("line"), s = r.insert("g").attr("class", "label"), o = t.labelText.flat ? t.labelText.flat() : t.labelText;
|
|
16835
16835
|
let l = "";
|
|
16836
16836
|
typeof o == "object" ? l = o[0] : l = o, K.info("Label text abc79", l, o, typeof o == "object");
|
|
16837
|
-
const u = s.node().appendChild(
|
|
16837
|
+
const u = s.node().appendChild(ur(l, t.labelStyle, !0, !0));
|
|
16838
16838
|
let h = { width: 0, height: 0 };
|
|
16839
16839
|
if (Rn(fe().flowchart.htmlLabels)) {
|
|
16840
16840
|
const y = u.children[0], b = Oe(u);
|
|
@@ -16844,7 +16844,7 @@ const WU = (e, t) => {
|
|
|
16844
16844
|
const d = o.slice(1, o.length);
|
|
16845
16845
|
let p = u.getBBox();
|
|
16846
16846
|
const f = s.node().appendChild(
|
|
16847
|
-
|
|
16847
|
+
ur(d.join ? d.join("<br/>") : d, t.labelStyle, !0, !0)
|
|
16848
16848
|
);
|
|
16849
16849
|
if (Rn(fe().flowchart.htmlLabels)) {
|
|
16850
16850
|
const y = f.children[0], b = Oe(f);
|
|
@@ -16922,7 +16922,7 @@ const WU = (e, t) => {
|
|
|
16922
16922
|
let h = 0, d = r;
|
|
16923
16923
|
const p = s.insert("g").attr("class", "label");
|
|
16924
16924
|
let f = 0;
|
|
16925
|
-
const g = t.classData.annotations && t.classData.annotations[0], y = t.classData.annotations[0] ? "«" + t.classData.annotations[0] + "»" : "", b = p.node().appendChild(
|
|
16925
|
+
const g = t.classData.annotations && t.classData.annotations[0], y = t.classData.annotations[0] ? "«" + t.classData.annotations[0] + "»" : "", b = p.node().appendChild(ur(y, t.labelStyle, !0, !0));
|
|
16926
16926
|
let _ = b.getBBox();
|
|
16927
16927
|
if (Rn(fe().flowchart.htmlLabels)) {
|
|
16928
16928
|
const H = b.children[0], L = Oe(b);
|
|
@@ -16931,7 +16931,7 @@ const WU = (e, t) => {
|
|
|
16931
16931
|
t.classData.annotations[0] && (d += _.height + r, h += _.width);
|
|
16932
16932
|
let E = t.classData.id;
|
|
16933
16933
|
t.classData.type !== void 0 && t.classData.type !== "" && (fe().flowchart.htmlLabels ? E += "<" + t.classData.type + ">" : E += "<" + t.classData.type + ">");
|
|
16934
|
-
const k = p.node().appendChild(
|
|
16934
|
+
const k = p.node().appendChild(ur(E, t.labelStyle, !0, !0));
|
|
16935
16935
|
Oe(k).attr("class", "classTitle");
|
|
16936
16936
|
let N = k.getBBox();
|
|
16937
16937
|
if (Rn(fe().flowchart.htmlLabels)) {
|
|
@@ -16945,7 +16945,7 @@ const WU = (e, t) => {
|
|
|
16945
16945
|
let S = L.displayText;
|
|
16946
16946
|
fe().flowchart.htmlLabels && (S = S.replace(/</g, "<").replace(/>/g, ">"));
|
|
16947
16947
|
const D = p.node().appendChild(
|
|
16948
|
-
|
|
16948
|
+
ur(
|
|
16949
16949
|
S,
|
|
16950
16950
|
L.cssStyle ? L.cssStyle : t.labelStyle,
|
|
16951
16951
|
!0,
|
|
@@ -16965,7 +16965,7 @@ const WU = (e, t) => {
|
|
|
16965
16965
|
let S = L.displayText;
|
|
16966
16966
|
fe().flowchart.htmlLabels && (S = S.replace(/</g, "<").replace(/>/g, ">"));
|
|
16967
16967
|
const D = p.node().appendChild(
|
|
16968
|
-
|
|
16968
|
+
ur(
|
|
16969
16969
|
S,
|
|
16970
16970
|
L.cssStyle ? L.cssStyle : t.labelStyle,
|
|
16971
16971
|
!0,
|
|
@@ -17056,7 +17056,7 @@ const JU = (e, t, n) => {
|
|
|
17056
17056
|
) : t.attr("transform", "translate(" + e.x + ", " + e.y + ")"), r;
|
|
17057
17057
|
}, nH = (e, t) => {
|
|
17058
17058
|
K.trace("Creating subgraph rect for ", t.id, t);
|
|
17059
|
-
const n = e.insert("g").attr("class", "cluster" + (t.class ? " " + t.class : "")).attr("id", t.id), r = n.insert("rect", ":first-child"), i = n.insert("g").attr("class", "cluster-label"), a = i.node().appendChild(
|
|
17059
|
+
const n = e.insert("g").attr("class", "cluster" + (t.class ? " " + t.class : "")).attr("id", t.id), r = n.insert("rect", ":first-child"), i = n.insert("g").attr("class", "cluster-label"), a = i.node().appendChild(ur(t.labelText, t.labelStyle, void 0, !0));
|
|
17060
17060
|
let s = a.getBBox();
|
|
17061
17061
|
if (Rn(fe().flowchart.htmlLabels)) {
|
|
17062
17062
|
const d = a.children[0], p = Oe(a);
|
|
@@ -17081,7 +17081,7 @@ const JU = (e, t, n) => {
|
|
|
17081
17081
|
return pu(t, o);
|
|
17082
17082
|
}, n;
|
|
17083
17083
|
}, iH = (e, t) => {
|
|
17084
|
-
const n = e.insert("g").attr("class", t.classes).attr("id", t.id), r = n.insert("rect", ":first-child"), i = n.insert("g").attr("class", "cluster-label"), a = n.append("rect"), s = i.node().appendChild(
|
|
17084
|
+
const n = e.insert("g").attr("class", t.classes).attr("id", t.id), r = n.insert("rect", ":first-child"), i = n.insert("g").attr("class", "cluster-label"), a = n.append("rect"), s = i.node().appendChild(ur(t.labelText, t.labelStyle, void 0, !0));
|
|
17085
17085
|
let o = s.getBBox();
|
|
17086
17086
|
if (Rn(fe().flowchart.htmlLabels)) {
|
|
17087
17087
|
const p = s.children[0], f = Oe(s);
|
|
@@ -17117,7 +17117,7 @@ let hh = {}, Un = {};
|
|
|
17117
17117
|
const uH = () => {
|
|
17118
17118
|
hh = {}, Un = {};
|
|
17119
17119
|
}, cH = (e, t) => {
|
|
17120
|
-
const n =
|
|
17120
|
+
const n = ur(t.label, t.labelStyle), r = e.insert("g").attr("class", "edgeLabel"), i = r.insert("g").attr("class", "label");
|
|
17121
17121
|
i.node().appendChild(n);
|
|
17122
17122
|
let a = n.getBBox();
|
|
17123
17123
|
if (Rn(fe().flowchart.htmlLabels)) {
|
|
@@ -17127,25 +17127,25 @@ const uH = () => {
|
|
|
17127
17127
|
i.attr("transform", "translate(" + -a.width / 2 + ", " + -a.height / 2 + ")"), hh[t.id] = r, t.width = a.width, t.height = a.height;
|
|
17128
17128
|
let s;
|
|
17129
17129
|
if (t.startLabelLeft) {
|
|
17130
|
-
const o =
|
|
17130
|
+
const o = ur(t.startLabelLeft, t.labelStyle), l = e.insert("g").attr("class", "edgeTerminals"), u = l.insert("g").attr("class", "inner");
|
|
17131
17131
|
s = u.node().appendChild(o);
|
|
17132
17132
|
const h = o.getBBox();
|
|
17133
17133
|
u.attr("transform", "translate(" + -h.width / 2 + ", " + -h.height / 2 + ")"), Un[t.id] || (Un[t.id] = {}), Un[t.id].startLeft = l, Vu(s, t.startLabelLeft);
|
|
17134
17134
|
}
|
|
17135
17135
|
if (t.startLabelRight) {
|
|
17136
|
-
const o =
|
|
17136
|
+
const o = ur(t.startLabelRight, t.labelStyle), l = e.insert("g").attr("class", "edgeTerminals"), u = l.insert("g").attr("class", "inner");
|
|
17137
17137
|
s = l.node().appendChild(o), u.node().appendChild(o);
|
|
17138
17138
|
const h = o.getBBox();
|
|
17139
17139
|
u.attr("transform", "translate(" + -h.width / 2 + ", " + -h.height / 2 + ")"), Un[t.id] || (Un[t.id] = {}), Un[t.id].startRight = l, Vu(s, t.startLabelRight);
|
|
17140
17140
|
}
|
|
17141
17141
|
if (t.endLabelLeft) {
|
|
17142
|
-
const o =
|
|
17142
|
+
const o = ur(t.endLabelLeft, t.labelStyle), l = e.insert("g").attr("class", "edgeTerminals"), u = l.insert("g").attr("class", "inner");
|
|
17143
17143
|
s = u.node().appendChild(o);
|
|
17144
17144
|
const h = o.getBBox();
|
|
17145
17145
|
u.attr("transform", "translate(" + -h.width / 2 + ", " + -h.height / 2 + ")"), l.node().appendChild(o), Un[t.id] || (Un[t.id] = {}), Un[t.id].endLeft = l, Vu(s, t.endLabelLeft);
|
|
17146
17146
|
}
|
|
17147
17147
|
if (t.endLabelRight) {
|
|
17148
|
-
const o =
|
|
17148
|
+
const o = ur(t.endLabelRight, t.labelStyle), l = e.insert("g").attr("class", "edgeTerminals"), u = l.insert("g").attr("class", "inner");
|
|
17149
17149
|
s = u.node().appendChild(o);
|
|
17150
17150
|
const h = o.getBBox();
|
|
17151
17151
|
u.attr("transform", "translate(" + -h.width / 2 + ", " + -h.height / 2 + ")"), l.node().appendChild(o), Un[t.id] || (Un[t.id] = {}), Un[t.id].endRight = l, Vu(s, t.endLabelRight);
|
|
@@ -18118,7 +18118,7 @@ const kH = {
|
|
|
18118
18118
|
addRelationship: wH,
|
|
18119
18119
|
getRelationships: LH,
|
|
18120
18120
|
clear: IH,
|
|
18121
|
-
setAccTitle:
|
|
18121
|
+
setAccTitle: pr,
|
|
18122
18122
|
getAccTitle: Lr,
|
|
18123
18123
|
setAccDescription: Ir,
|
|
18124
18124
|
getAccDescription: Nr,
|
|
@@ -19376,7 +19376,7 @@ const V_ = [], Y_ = function(e, t) {
|
|
|
19376
19376
|
}, yi = {
|
|
19377
19377
|
parseDirective: T_,
|
|
19378
19378
|
defaultConfig: () => ho.flowchart,
|
|
19379
|
-
setAccTitle:
|
|
19379
|
+
setAccTitle: pr,
|
|
19380
19380
|
getAccTitle: Lr,
|
|
19381
19381
|
getAccDescription: Nr,
|
|
19382
19382
|
setAccDescription: Ir,
|
|
@@ -20552,9 +20552,9 @@ Expecting ` + Z.join(", ") + ", got '" + (this.terminals_[re] || re) + "'" : A =
|
|
|
20552
20552
|
}();
|
|
20553
20553
|
Hd.parser = Hd;
|
|
20554
20554
|
const uz = Hd, cz = (e) => e.match(/^\s*gantt/) !== null;
|
|
20555
|
-
|
|
20556
|
-
|
|
20557
|
-
|
|
20555
|
+
hr.extend(QR);
|
|
20556
|
+
hr.extend(JR);
|
|
20557
|
+
hr.extend(tO);
|
|
20558
20558
|
let xi = "", R2 = "", O2, M2 = "", gu = [], yu = [], B2 = {}, P2 = [], fh = [], po = "";
|
|
20559
20559
|
const g6 = ["active", "done", "crit", "milestone"];
|
|
20560
20560
|
let F2 = [], bu = !1, U2 = !1, zd = 0;
|
|
@@ -20613,9 +20613,9 @@ const hz = function(e, t, n) {
|
|
|
20613
20613
|
if (!n.length || e.manualEndTime)
|
|
20614
20614
|
return;
|
|
20615
20615
|
let i;
|
|
20616
|
-
e.startTime instanceof Date ? i =
|
|
20616
|
+
e.startTime instanceof Date ? i = hr(e.startTime) : i = hr(e.startTime, t, !0), i = i.add(1, "d");
|
|
20617
20617
|
let a;
|
|
20618
|
-
e.endTime instanceof Date ? a =
|
|
20618
|
+
e.endTime instanceof Date ? a = hr(e.endTime) : a = hr(e.endTime, t, !0);
|
|
20619
20619
|
const [s, o] = Rz(
|
|
20620
20620
|
i,
|
|
20621
20621
|
a,
|
|
@@ -20644,7 +20644,7 @@ const hz = function(e, t, n) {
|
|
|
20644
20644
|
return o.setHours(0, 0, 0, 0), o;
|
|
20645
20645
|
}
|
|
20646
20646
|
}
|
|
20647
|
-
let a =
|
|
20647
|
+
let a = hr(n, t.trim(), !0);
|
|
20648
20648
|
if (a.isValid())
|
|
20649
20649
|
return a.toDate();
|
|
20650
20650
|
{
|
|
@@ -20659,10 +20659,10 @@ const hz = function(e, t, n) {
|
|
|
20659
20659
|
return t !== null ? [Number.parseFloat(t[1]), t[2]] : [NaN, "ms"];
|
|
20660
20660
|
}, x6 = function(e, t, n, r = !1) {
|
|
20661
20661
|
n = n.trim();
|
|
20662
|
-
let i =
|
|
20662
|
+
let i = hr(n, t.trim(), !0);
|
|
20663
20663
|
if (i.isValid())
|
|
20664
20664
|
return r && (i = i.add(1, "d")), i.toDate();
|
|
20665
|
-
let a =
|
|
20665
|
+
let a = hr(e);
|
|
20666
20666
|
const [s, o] = _6(n);
|
|
20667
20667
|
if (!Number.isNaN(s)) {
|
|
20668
20668
|
const l = a.add(s, o);
|
|
@@ -20692,7 +20692,7 @@ const $s = function(e) {
|
|
|
20692
20692
|
i.id = $s(r[0]), i.startTime = jd(void 0, xi, r[1]), a = r[2];
|
|
20693
20693
|
break;
|
|
20694
20694
|
}
|
|
20695
|
-
return a && (i.endTime = x6(i.startTime, xi, a, bu), i.manualEndTime =
|
|
20695
|
+
return a && (i.endTime = x6(i.startTime, xi, a, bu), i.manualEndTime = hr(a, "YYYY-MM-DD", !0).isValid(), b6(i, xi, yu, gu)), i;
|
|
20696
20696
|
}, Mz = function(e, t) {
|
|
20697
20697
|
let n;
|
|
20698
20698
|
t.substr(0, 1) === ":" ? n = t.substr(1, t.length) : n = t;
|
|
@@ -20774,7 +20774,7 @@ const E6 = {}, Bz = function(e, t) {
|
|
|
20774
20774
|
xi,
|
|
20775
20775
|
En[n].raw.endTime.data,
|
|
20776
20776
|
bu
|
|
20777
|
-
), En[n].endTime && (En[n].processed = !0, En[n].manualEndTime =
|
|
20777
|
+
), En[n].endTime && (En[n].processed = !0, En[n].manualEndTime = hr(
|
|
20778
20778
|
En[n].raw.endTime.data,
|
|
20779
20779
|
"YYYY-MM-DD",
|
|
20780
20780
|
!0
|
|
@@ -20849,7 +20849,7 @@ const E6 = {}, Bz = function(e, t) {
|
|
|
20849
20849
|
getTickInterval: gz,
|
|
20850
20850
|
setTodayMarker: yz,
|
|
20851
20851
|
getTodayMarker: bz,
|
|
20852
|
-
setAccTitle:
|
|
20852
|
+
setAccTitle: pr,
|
|
20853
20853
|
getAccTitle: Lr,
|
|
20854
20854
|
setDiagramTitle: li,
|
|
20855
20855
|
getDiagramTitle: ui,
|
|
@@ -21000,7 +21000,7 @@ const Vz = function(e, t, n, r) {
|
|
|
21000
21000
|
if (!ie || !V)
|
|
21001
21001
|
return;
|
|
21002
21002
|
const W = [];
|
|
21003
|
-
let Y = null, U =
|
|
21003
|
+
let Y = null, U = hr(ie);
|
|
21004
21004
|
for (; U.valueOf() <= V; )
|
|
21005
21005
|
r.db.isInvalidDate(U, P, C, z) ? Y ? Y.end = U : Y = {
|
|
21006
21006
|
start: U,
|
|
@@ -21827,7 +21827,7 @@ const nj = function(e, t, n) {
|
|
|
21827
21827
|
getSections: ij,
|
|
21828
21828
|
cleanupValue: oj,
|
|
21829
21829
|
clear: lj,
|
|
21830
|
-
setAccTitle:
|
|
21830
|
+
setAccTitle: pr,
|
|
21831
21831
|
getAccTitle: Lr,
|
|
21832
21832
|
setDiagramTitle: li,
|
|
21833
21833
|
getDiagramTitle: ui,
|
|
@@ -22403,7 +22403,7 @@ Expecting ` + Ye.join(", ") + ", got '" + (this.terminals_[ke] || ke) + "'" : Ae
|
|
|
22403
22403
|
}();
|
|
22404
22404
|
qd.parser = qd;
|
|
22405
22405
|
const dj = qd, fj = (e) => e.match(/^\s*requirement(Diagram)?/) !== null;
|
|
22406
|
-
let j2 = [],
|
|
22406
|
+
let j2 = [], cr = {}, gl = {}, va = {}, yl = {};
|
|
22407
22407
|
const pj = {
|
|
22408
22408
|
REQUIREMENT: "Requirement",
|
|
22409
22409
|
FUNCTIONAL_REQUIREMENT: "Functional Requirement",
|
|
@@ -22433,18 +22433,18 @@ const pj = {
|
|
|
22433
22433
|
}, _j = (e, t) => (gl[e] === void 0 && (gl[e] = {
|
|
22434
22434
|
name: e,
|
|
22435
22435
|
type: t,
|
|
22436
|
-
id:
|
|
22437
|
-
text:
|
|
22438
|
-
risk:
|
|
22439
|
-
verifyMethod:
|
|
22440
|
-
}),
|
|
22441
|
-
|
|
22436
|
+
id: cr.id,
|
|
22437
|
+
text: cr.text,
|
|
22438
|
+
risk: cr.risk,
|
|
22439
|
+
verifyMethod: cr.verifyMethod
|
|
22440
|
+
}), cr = {}, gl[e]), xj = () => gl, Ej = (e) => {
|
|
22441
|
+
cr !== void 0 && (cr.id = e);
|
|
22442
22442
|
}, Tj = (e) => {
|
|
22443
|
-
|
|
22443
|
+
cr !== void 0 && (cr.text = e);
|
|
22444
22444
|
}, kj = (e) => {
|
|
22445
|
-
|
|
22445
|
+
cr !== void 0 && (cr.risk = e);
|
|
22446
22446
|
}, Cj = (e) => {
|
|
22447
|
-
|
|
22447
|
+
cr !== void 0 && (cr.verifyMethod = e);
|
|
22448
22448
|
}, vj = (e) => (yl[e] === void 0 && (yl[e] = {
|
|
22449
22449
|
name: e,
|
|
22450
22450
|
type: va.type,
|
|
@@ -22460,7 +22460,7 @@ const pj = {
|
|
|
22460
22460
|
dst: n
|
|
22461
22461
|
});
|
|
22462
22462
|
}, Ij = () => j2, Nj = () => {
|
|
22463
|
-
j2 = [],
|
|
22463
|
+
j2 = [], cr = {}, gl = {}, va = {}, yl = {}, wr();
|
|
22464
22464
|
}, Dj = {
|
|
22465
22465
|
RequirementType: pj,
|
|
22466
22466
|
RiskLevel: mj,
|
|
@@ -22474,7 +22474,7 @@ const pj = {
|
|
|
22474
22474
|
setNewReqText: Tj,
|
|
22475
22475
|
setNewReqRisk: kj,
|
|
22476
22476
|
setNewReqVerifyMethod: Cj,
|
|
22477
|
-
setAccTitle:
|
|
22477
|
+
setAccTitle: pr,
|
|
22478
22478
|
getAccTitle: Lr,
|
|
22479
22479
|
setAccDescription: Ir,
|
|
22480
22480
|
getAccDescription: Nr,
|
|
@@ -23536,7 +23536,7 @@ const M6 = function(e, t) {
|
|
|
23536
23536
|
tn(void 0, void 0, void 0, e.signalType);
|
|
23537
23537
|
break;
|
|
23538
23538
|
case "setAccTitle":
|
|
23539
|
-
|
|
23539
|
+
pr(e.text);
|
|
23540
23540
|
break;
|
|
23541
23541
|
case "parStart":
|
|
23542
23542
|
tn(void 0, void 0, e.parText, e.signalType);
|
|
@@ -23593,7 +23593,7 @@ const M6 = function(e, t) {
|
|
|
23593
23593
|
ARROWTYPE: oV,
|
|
23594
23594
|
PLACEMENT: lV,
|
|
23595
23595
|
addNote: N6,
|
|
23596
|
-
setAccTitle:
|
|
23596
|
+
setAccTitle: pr,
|
|
23597
23597
|
apply: B6,
|
|
23598
23598
|
setAccDescription: Ir,
|
|
23599
23599
|
getAccDescription: Nr,
|
|
@@ -25377,7 +25377,7 @@ const ex = function(e, t, n) {
|
|
|
25377
25377
|
extract: rY,
|
|
25378
25378
|
trimColon: yY,
|
|
25379
25379
|
getAccTitle: Lr,
|
|
25380
|
-
setAccTitle:
|
|
25380
|
+
setAccTitle: pr,
|
|
25381
25381
|
getAccDescription: Nr,
|
|
25382
25382
|
setAccDescription: Ir,
|
|
25383
25383
|
addStyleClass: tx,
|
|
@@ -25511,12 +25511,12 @@ const SY = function(e, t, n) {
|
|
|
25511
25511
|
}
|
|
25512
25512
|
Zg++;
|
|
25513
25513
|
};
|
|
25514
|
-
let
|
|
25514
|
+
let xr;
|
|
25515
25515
|
const m1 = {}, wY = function() {
|
|
25516
25516
|
}, LY = function(e) {
|
|
25517
25517
|
e.append("defs").append("marker").attr("id", "dependencyEnd").attr("refX", 19).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 19,7 L9,13 L14,7 L9,1 Z");
|
|
25518
25518
|
}, IY = function(e, t, n, r) {
|
|
25519
|
-
|
|
25519
|
+
xr = fe().state;
|
|
25520
25520
|
const i = fe().securityLevel;
|
|
25521
25521
|
let a;
|
|
25522
25522
|
i === "sandbox" && (a = Oe("#i" + t));
|
|
@@ -25534,12 +25534,12 @@ const m1 = {}, wY = function() {
|
|
|
25534
25534
|
});
|
|
25535
25535
|
const h = r.db.getRootDoc();
|
|
25536
25536
|
nx(h, l, void 0, !1, s, o, r);
|
|
25537
|
-
const d =
|
|
25538
|
-
oi(l, g, y,
|
|
25537
|
+
const d = xr.padding, p = l.node().getBBox(), f = p.width + d * 2, g = p.height + d * 2, y = f * 1.75;
|
|
25538
|
+
oi(l, g, y, xr.useMaxWidth), l.attr(
|
|
25539
25539
|
"viewBox",
|
|
25540
|
-
`${p.x -
|
|
25540
|
+
`${p.x - xr.padding} ${p.y - xr.padding} ` + f + " " + g
|
|
25541
25541
|
);
|
|
25542
|
-
}, NY = (e) => e ? e.length *
|
|
25542
|
+
}, NY = (e) => e ? e.length * xr.fontSizeFactor : 1, nx = (e, t, n, r, i, a, s) => {
|
|
25543
25543
|
const o = new bn({
|
|
25544
25544
|
compound: !0,
|
|
25545
25545
|
multigraph: !0
|
|
@@ -25556,7 +25556,7 @@ const m1 = {}, wY = function() {
|
|
|
25556
25556
|
compound: !0,
|
|
25557
25557
|
// acyclicer: 'greedy',
|
|
25558
25558
|
ranker: "tight-tree",
|
|
25559
|
-
ranksep: u ? 1 :
|
|
25559
|
+
ranksep: u ? 1 : xr.edgeLengthFactor,
|
|
25560
25560
|
nodeSep: u ? 1 : 50,
|
|
25561
25561
|
isMultiGraph: !0
|
|
25562
25562
|
// ranksep: 5,
|
|
@@ -25568,7 +25568,7 @@ const m1 = {}, wY = function() {
|
|
|
25568
25568
|
// isCompound: true,
|
|
25569
25569
|
// acyclicer: 'greedy',
|
|
25570
25570
|
// ranker: 'longest-path'
|
|
25571
|
-
ranksep: u ? 1 :
|
|
25571
|
+
ranksep: u ? 1 : xr.edgeLengthFactor,
|
|
25572
25572
|
nodeSep: u ? 1 : 50,
|
|
25573
25573
|
ranker: "tight-tree",
|
|
25574
25574
|
// ranker: 'network-simplex'
|
|
@@ -25587,7 +25587,7 @@ const m1 = {}, wY = function() {
|
|
|
25587
25587
|
{
|
|
25588
25588
|
N = TY(N, E, r);
|
|
25589
25589
|
let R = N.node().getBBox();
|
|
25590
|
-
k.width = R.width, k.height = R.height +
|
|
25590
|
+
k.width = R.width, k.height = R.height + xr.padding / 2, m1[E.id] = { y: xr.compositTitleSize };
|
|
25591
25591
|
}
|
|
25592
25592
|
} else
|
|
25593
25593
|
k = Qg(t, E);
|
|
@@ -25611,7 +25611,7 @@ const m1 = {}, wY = function() {
|
|
|
25611
25611
|
{
|
|
25612
25612
|
relation: _,
|
|
25613
25613
|
width: NY(_.title),
|
|
25614
|
-
height:
|
|
25614
|
+
height: xr.labelHeight * ft.getRows(_.title).length,
|
|
25615
25615
|
labelpos: "c"
|
|
25616
25616
|
},
|
|
25617
25617
|
"id" + f
|
|
@@ -25638,7 +25638,7 @@ const m1 = {}, wY = function() {
|
|
|
25638
25638
|
width: 0,
|
|
25639
25639
|
height: 0
|
|
25640
25640
|
};
|
|
25641
|
-
return b.width = y.width + 2 *
|
|
25641
|
+
return b.width = y.width + 2 * xr.padding, b.height = y.height + 2 * xr.padding, K.debug("Doc rendered", b, o), b;
|
|
25642
25642
|
}, DY = {
|
|
25643
25643
|
setConf: wY,
|
|
25644
25644
|
draw: IY
|
|
@@ -26244,7 +26244,7 @@ const X2 = [], Ql = [], Zl = [], aW = function(e, t, n) {
|
|
|
26244
26244
|
clear: sW,
|
|
26245
26245
|
setDiagramTitle: li,
|
|
26246
26246
|
getDiagramTitle: ui,
|
|
26247
|
-
setAccTitle:
|
|
26247
|
+
setAccTitle: pr,
|
|
26248
26248
|
getAccTitle: Lr,
|
|
26249
26249
|
setAccDescription: Ir,
|
|
26250
26250
|
getAccDescription: Nr,
|
|
@@ -27403,7 +27403,7 @@ Wr.prototype.commaOrSpaceSeparated = !1;
|
|
|
27403
27403
|
Wr.prototype.mustUseProperty = !1;
|
|
27404
27404
|
Wr.prototype.defined = !1;
|
|
27405
27405
|
let gq = 0;
|
|
27406
|
-
const Tt = _s(), cn = _s(), Bx = _s(), He = _s(), Ft = _s(), Xs = _s(),
|
|
27406
|
+
const Tt = _s(), cn = _s(), Bx = _s(), He = _s(), Ft = _s(), Xs = _s(), yr = _s();
|
|
27407
27407
|
function _s() {
|
|
27408
27408
|
return 2 ** ++gq;
|
|
27409
27409
|
}
|
|
@@ -27411,7 +27411,7 @@ const cf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
27411
27411
|
__proto__: null,
|
|
27412
27412
|
boolean: Tt,
|
|
27413
27413
|
booleanish: cn,
|
|
27414
|
-
commaOrSpaceSeparated:
|
|
27414
|
+
commaOrSpaceSeparated: yr,
|
|
27415
27415
|
commaSeparated: Xs,
|
|
27416
27416
|
number: He,
|
|
27417
27417
|
overloadedBoolean: Bx,
|
|
@@ -28081,7 +28081,7 @@ const zx = Do({
|
|
|
28081
28081
|
},
|
|
28082
28082
|
transform: Ux,
|
|
28083
28083
|
properties: {
|
|
28084
|
-
about:
|
|
28084
|
+
about: yr,
|
|
28085
28085
|
accentHeight: He,
|
|
28086
28086
|
accumulate: null,
|
|
28087
28087
|
additive: null,
|
|
@@ -28193,7 +28193,7 @@ const zx = Do({
|
|
|
28193
28193
|
k2: He,
|
|
28194
28194
|
k3: He,
|
|
28195
28195
|
k4: He,
|
|
28196
|
-
kernelMatrix:
|
|
28196
|
+
kernelMatrix: yr,
|
|
28197
28197
|
kernelUnitLength: null,
|
|
28198
28198
|
keyPoints: null,
|
|
28199
28199
|
// SEMI_COLON_SEPARATED
|
|
@@ -28350,21 +28350,21 @@ const zx = Do({
|
|
|
28350
28350
|
preserveAspectRatio: null,
|
|
28351
28351
|
primitiveUnits: null,
|
|
28352
28352
|
propagate: null,
|
|
28353
|
-
property:
|
|
28353
|
+
property: yr,
|
|
28354
28354
|
r: null,
|
|
28355
28355
|
radius: null,
|
|
28356
28356
|
referrerPolicy: null,
|
|
28357
28357
|
refX: null,
|
|
28358
28358
|
refY: null,
|
|
28359
|
-
rel:
|
|
28360
|
-
rev:
|
|
28359
|
+
rel: yr,
|
|
28360
|
+
rev: yr,
|
|
28361
28361
|
renderingIntent: null,
|
|
28362
28362
|
repeatCount: null,
|
|
28363
28363
|
repeatDur: null,
|
|
28364
|
-
requiredExtensions:
|
|
28365
|
-
requiredFeatures:
|
|
28366
|
-
requiredFonts:
|
|
28367
|
-
requiredFormats:
|
|
28364
|
+
requiredExtensions: yr,
|
|
28365
|
+
requiredFeatures: yr,
|
|
28366
|
+
requiredFonts: yr,
|
|
28367
|
+
requiredFormats: yr,
|
|
28368
28368
|
resource: null,
|
|
28369
28369
|
restart: null,
|
|
28370
28370
|
result: null,
|
|
@@ -28392,7 +28392,7 @@ const zx = Do({
|
|
|
28392
28392
|
strikethroughThickness: He,
|
|
28393
28393
|
string: null,
|
|
28394
28394
|
stroke: null,
|
|
28395
|
-
strokeDashArray:
|
|
28395
|
+
strokeDashArray: yr,
|
|
28396
28396
|
strokeDashOffset: null,
|
|
28397
28397
|
strokeLineCap: null,
|
|
28398
28398
|
strokeLineJoin: null,
|
|
@@ -28406,7 +28406,7 @@ const zx = Do({
|
|
|
28406
28406
|
syncMaster: null,
|
|
28407
28407
|
syncTolerance: null,
|
|
28408
28408
|
syncToleranceDefault: null,
|
|
28409
|
-
systemLanguage:
|
|
28409
|
+
systemLanguage: yr,
|
|
28410
28410
|
tabIndex: He,
|
|
28411
28411
|
tableValues: null,
|
|
28412
28412
|
target: null,
|
|
@@ -28420,7 +28420,7 @@ const zx = Do({
|
|
|
28420
28420
|
title: null,
|
|
28421
28421
|
transformBehavior: null,
|
|
28422
28422
|
type: null,
|
|
28423
|
-
typeOf:
|
|
28423
|
+
typeOf: yr,
|
|
28424
28424
|
to: null,
|
|
28425
28425
|
transform: null,
|
|
28426
28426
|
transformOrigin: null,
|
|
@@ -36001,7 +36001,7 @@ function zE(e, t) {
|
|
|
36001
36001
|
function ru(e) {
|
|
36002
36002
|
return e.toLowerCase();
|
|
36003
36003
|
}
|
|
36004
|
-
let
|
|
36004
|
+
let mr = class {
|
|
36005
36005
|
/**
|
|
36006
36006
|
* @param {string} property
|
|
36007
36007
|
* Property.
|
|
@@ -36014,20 +36014,20 @@ let gr = class {
|
|
|
36014
36014
|
this.attribute = n, this.property = t;
|
|
36015
36015
|
}
|
|
36016
36016
|
};
|
|
36017
|
-
|
|
36018
|
-
|
|
36019
|
-
|
|
36020
|
-
|
|
36021
|
-
|
|
36022
|
-
|
|
36023
|
-
|
|
36024
|
-
|
|
36025
|
-
|
|
36026
|
-
|
|
36027
|
-
|
|
36028
|
-
|
|
36017
|
+
mr.prototype.attribute = "";
|
|
36018
|
+
mr.prototype.booleanish = !1;
|
|
36019
|
+
mr.prototype.boolean = !1;
|
|
36020
|
+
mr.prototype.commaOrSpaceSeparated = !1;
|
|
36021
|
+
mr.prototype.commaSeparated = !1;
|
|
36022
|
+
mr.prototype.defined = !1;
|
|
36023
|
+
mr.prototype.mustUseProperty = !1;
|
|
36024
|
+
mr.prototype.number = !1;
|
|
36025
|
+
mr.prototype.overloadedBoolean = !1;
|
|
36026
|
+
mr.prototype.property = "";
|
|
36027
|
+
mr.prototype.spaceSeparated = !1;
|
|
36028
|
+
mr.prototype.space = void 0;
|
|
36029
36029
|
let YZ = 0;
|
|
36030
|
-
const kt = xs(), hn = xs(), jE = xs(), ze = xs(), Ut = xs(), Ks = xs(),
|
|
36030
|
+
const kt = xs(), hn = xs(), jE = xs(), ze = xs(), Ut = xs(), Ks = xs(), br = xs();
|
|
36031
36031
|
function xs() {
|
|
36032
36032
|
return 2 ** ++YZ;
|
|
36033
36033
|
}
|
|
@@ -36035,7 +36035,7 @@ const _f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
36035
36035
|
__proto__: null,
|
|
36036
36036
|
boolean: kt,
|
|
36037
36037
|
booleanish: hn,
|
|
36038
|
-
commaOrSpaceSeparated:
|
|
36038
|
+
commaOrSpaceSeparated: br,
|
|
36039
36039
|
commaSeparated: Ks,
|
|
36040
36040
|
number: ze,
|
|
36041
36041
|
overloadedBoolean: jE,
|
|
@@ -36044,7 +36044,7 @@ const _f = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
36044
36044
|
/** @type {ReadonlyArray<keyof typeof types>} */
|
|
36045
36045
|
Object.keys(_f)
|
|
36046
36046
|
);
|
|
36047
|
-
let yp = class extends
|
|
36047
|
+
let yp = class extends mr {
|
|
36048
36048
|
/**
|
|
36049
36049
|
* @constructor
|
|
36050
36050
|
* @param {string} property
|
|
@@ -36684,7 +36684,7 @@ const WZ = Oo({
|
|
|
36684
36684
|
timelineBegin: "timelinebegin"
|
|
36685
36685
|
},
|
|
36686
36686
|
properties: {
|
|
36687
|
-
about:
|
|
36687
|
+
about: br,
|
|
36688
36688
|
accentHeight: ze,
|
|
36689
36689
|
accumulate: null,
|
|
36690
36690
|
additive: null,
|
|
@@ -36796,7 +36796,7 @@ const WZ = Oo({
|
|
|
36796
36796
|
k2: ze,
|
|
36797
36797
|
k3: ze,
|
|
36798
36798
|
k4: ze,
|
|
36799
|
-
kernelMatrix:
|
|
36799
|
+
kernelMatrix: br,
|
|
36800
36800
|
kernelUnitLength: null,
|
|
36801
36801
|
keyPoints: null,
|
|
36802
36802
|
// SEMI_COLON_SEPARATED
|
|
@@ -36953,21 +36953,21 @@ const WZ = Oo({
|
|
|
36953
36953
|
preserveAspectRatio: null,
|
|
36954
36954
|
primitiveUnits: null,
|
|
36955
36955
|
propagate: null,
|
|
36956
|
-
property:
|
|
36956
|
+
property: br,
|
|
36957
36957
|
r: null,
|
|
36958
36958
|
radius: null,
|
|
36959
36959
|
referrerPolicy: null,
|
|
36960
36960
|
refX: null,
|
|
36961
36961
|
refY: null,
|
|
36962
|
-
rel:
|
|
36963
|
-
rev:
|
|
36962
|
+
rel: br,
|
|
36963
|
+
rev: br,
|
|
36964
36964
|
renderingIntent: null,
|
|
36965
36965
|
repeatCount: null,
|
|
36966
36966
|
repeatDur: null,
|
|
36967
|
-
requiredExtensions:
|
|
36968
|
-
requiredFeatures:
|
|
36969
|
-
requiredFonts:
|
|
36970
|
-
requiredFormats:
|
|
36967
|
+
requiredExtensions: br,
|
|
36968
|
+
requiredFeatures: br,
|
|
36969
|
+
requiredFonts: br,
|
|
36970
|
+
requiredFormats: br,
|
|
36971
36971
|
resource: null,
|
|
36972
36972
|
restart: null,
|
|
36973
36973
|
result: null,
|
|
@@ -36995,7 +36995,7 @@ const WZ = Oo({
|
|
|
36995
36995
|
strikethroughThickness: ze,
|
|
36996
36996
|
string: null,
|
|
36997
36997
|
stroke: null,
|
|
36998
|
-
strokeDashArray:
|
|
36998
|
+
strokeDashArray: br,
|
|
36999
36999
|
strokeDashOffset: null,
|
|
37000
37000
|
strokeLineCap: null,
|
|
37001
37001
|
strokeLineJoin: null,
|
|
@@ -37009,7 +37009,7 @@ const WZ = Oo({
|
|
|
37009
37009
|
syncMaster: null,
|
|
37010
37010
|
syncTolerance: null,
|
|
37011
37011
|
syncToleranceDefault: null,
|
|
37012
|
-
systemLanguage:
|
|
37012
|
+
systemLanguage: br,
|
|
37013
37013
|
tabIndex: ze,
|
|
37014
37014
|
tableValues: null,
|
|
37015
37015
|
target: null,
|
|
@@ -37023,7 +37023,7 @@ const WZ = Oo({
|
|
|
37023
37023
|
title: null,
|
|
37024
37024
|
transformBehavior: null,
|
|
37025
37025
|
type: null,
|
|
37026
|
-
typeOf:
|
|
37026
|
+
typeOf: br,
|
|
37027
37027
|
to: null,
|
|
37028
37028
|
transform: null,
|
|
37029
37029
|
transformOrigin: null,
|
|
@@ -37094,7 +37094,7 @@ const WZ = Oo({
|
|
|
37094
37094
|
}), GZ = /[A-Z]/g, sy = /-[a-z]/g, $Z = /^data[-\w.:]+$/i;
|
|
37095
37095
|
function XE(e, t) {
|
|
37096
37096
|
const n = ru(t);
|
|
37097
|
-
let r = t, i =
|
|
37097
|
+
let r = t, i = mr;
|
|
37098
37098
|
if (n in e.normal)
|
|
37099
37099
|
return e.property[e.normal[n]];
|
|
37100
37100
|
if (n.length > 4 && n.slice(0, 4) === "data" && $Z.test(t)) {
|
|
@@ -37506,7 +37506,7 @@ qr.prototype.commaOrSpaceSeparated = !1;
|
|
|
37506
37506
|
qr.prototype.mustUseProperty = !1;
|
|
37507
37507
|
qr.prototype.defined = !1;
|
|
37508
37508
|
let cJ = 0;
|
|
37509
|
-
const Ct = Es(), dn = Es(), eT = Es(), je = Es(), Ht = Es(), Qs = Es(),
|
|
37509
|
+
const Ct = Es(), dn = Es(), eT = Es(), je = Es(), Ht = Es(), Qs = Es(), _r = Es();
|
|
37510
37510
|
function Es() {
|
|
37511
37511
|
return 2 ** ++cJ;
|
|
37512
37512
|
}
|
|
@@ -37514,7 +37514,7 @@ const Tf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
37514
37514
|
__proto__: null,
|
|
37515
37515
|
boolean: Ct,
|
|
37516
37516
|
booleanish: dn,
|
|
37517
|
-
commaOrSpaceSeparated:
|
|
37517
|
+
commaOrSpaceSeparated: _r,
|
|
37518
37518
|
commaSeparated: Qs,
|
|
37519
37519
|
number: je,
|
|
37520
37520
|
overloadedBoolean: eT,
|
|
@@ -38184,7 +38184,7 @@ const aT = Mo({
|
|
|
38184
38184
|
},
|
|
38185
38185
|
transform: rT,
|
|
38186
38186
|
properties: {
|
|
38187
|
-
about:
|
|
38187
|
+
about: _r,
|
|
38188
38188
|
accentHeight: je,
|
|
38189
38189
|
accumulate: null,
|
|
38190
38190
|
additive: null,
|
|
@@ -38296,7 +38296,7 @@ const aT = Mo({
|
|
|
38296
38296
|
k2: je,
|
|
38297
38297
|
k3: je,
|
|
38298
38298
|
k4: je,
|
|
38299
|
-
kernelMatrix:
|
|
38299
|
+
kernelMatrix: _r,
|
|
38300
38300
|
kernelUnitLength: null,
|
|
38301
38301
|
keyPoints: null,
|
|
38302
38302
|
// SEMI_COLON_SEPARATED
|
|
@@ -38453,21 +38453,21 @@ const aT = Mo({
|
|
|
38453
38453
|
preserveAspectRatio: null,
|
|
38454
38454
|
primitiveUnits: null,
|
|
38455
38455
|
propagate: null,
|
|
38456
|
-
property:
|
|
38456
|
+
property: _r,
|
|
38457
38457
|
r: null,
|
|
38458
38458
|
radius: null,
|
|
38459
38459
|
referrerPolicy: null,
|
|
38460
38460
|
refX: null,
|
|
38461
38461
|
refY: null,
|
|
38462
|
-
rel:
|
|
38463
|
-
rev:
|
|
38462
|
+
rel: _r,
|
|
38463
|
+
rev: _r,
|
|
38464
38464
|
renderingIntent: null,
|
|
38465
38465
|
repeatCount: null,
|
|
38466
38466
|
repeatDur: null,
|
|
38467
|
-
requiredExtensions:
|
|
38468
|
-
requiredFeatures:
|
|
38469
|
-
requiredFonts:
|
|
38470
|
-
requiredFormats:
|
|
38467
|
+
requiredExtensions: _r,
|
|
38468
|
+
requiredFeatures: _r,
|
|
38469
|
+
requiredFonts: _r,
|
|
38470
|
+
requiredFormats: _r,
|
|
38471
38471
|
resource: null,
|
|
38472
38472
|
restart: null,
|
|
38473
38473
|
result: null,
|
|
@@ -38495,7 +38495,7 @@ const aT = Mo({
|
|
|
38495
38495
|
strikethroughThickness: je,
|
|
38496
38496
|
string: null,
|
|
38497
38497
|
stroke: null,
|
|
38498
|
-
strokeDashArray:
|
|
38498
|
+
strokeDashArray: _r,
|
|
38499
38499
|
strokeDashOffset: null,
|
|
38500
38500
|
strokeLineCap: null,
|
|
38501
38501
|
strokeLineJoin: null,
|
|
@@ -38509,7 +38509,7 @@ const aT = Mo({
|
|
|
38509
38509
|
syncMaster: null,
|
|
38510
38510
|
syncTolerance: null,
|
|
38511
38511
|
syncToleranceDefault: null,
|
|
38512
|
-
systemLanguage:
|
|
38512
|
+
systemLanguage: _r,
|
|
38513
38513
|
tabIndex: je,
|
|
38514
38514
|
tableValues: null,
|
|
38515
38515
|
target: null,
|
|
@@ -38523,7 +38523,7 @@ const aT = Mo({
|
|
|
38523
38523
|
title: null,
|
|
38524
38524
|
transformBehavior: null,
|
|
38525
38525
|
type: null,
|
|
38526
|
-
typeOf:
|
|
38526
|
+
typeOf: _r,
|
|
38527
38527
|
to: null,
|
|
38528
38528
|
transform: null,
|
|
38529
38529
|
transformOrigin: null,
|
|
@@ -45794,7 +45794,7 @@ const Tre = ({
|
|
|
45794
45794
|
] }) : /* @__PURE__ */ B.jsxs(Je, { direction: "column", children: [
|
|
45795
45795
|
/* @__PURE__ */ B.jsx("p", { className: "m-0", children: "Here, you can provide instructions in natural language including your terminology, rules or conventions to improve the quality of responses" }),
|
|
45796
45796
|
/* @__PURE__ */ B.jsx(Tre, { taskLabel: e, onSuccess: l, onCancel: n }),
|
|
45797
|
-
i && /* @__PURE__ */ B.jsxs(
|
|
45797
|
+
i && /* @__PURE__ */ B.jsxs(Er, { className: "mt-4", children: [
|
|
45798
45798
|
/* @__PURE__ */ B.jsxs(Lf, { className: "al-pt-4", children: [
|
|
45799
45799
|
/* @__PURE__ */ B.jsx("p", { children: "Below are the learnings by AI based on the entered instructions:" }),
|
|
45800
45800
|
/* @__PURE__ */ B.jsx("div", { children: s ? /* @__PURE__ */ B.jsx(
|
|
@@ -45930,7 +45930,7 @@ const vre = Ze.object({
|
|
|
45930
45930
|
] }) : /* @__PURE__ */ B.jsxs(Je, { direction: "column", children: [
|
|
45931
45931
|
/* @__PURE__ */ B.jsx("p", { className: "al-m-0", children: "Here, you can provide instructions in natural language to create project governance checks" }),
|
|
45932
45932
|
/* @__PURE__ */ B.jsx(Sre, { onSuccess: r, onCancel: e }),
|
|
45933
|
-
t ? /* @__PURE__ */ B.jsxs(
|
|
45933
|
+
t ? /* @__PURE__ */ B.jsxs(Er, { className: "al-mt-4", children: [
|
|
45934
45934
|
/* @__PURE__ */ B.jsxs(Lf, { className: "al-pt-4", children: [
|
|
45935
45935
|
/* @__PURE__ */ B.jsx("p", { children: "Please validate the following check: " }),
|
|
45936
45936
|
/* @__PURE__ */ B.jsx("p", { children: t.name }),
|
|
@@ -45979,7 +45979,7 @@ const vre = Ze.object({
|
|
|
45979
45979
|
}, y = () => {
|
|
45980
45980
|
r(!1), h(e);
|
|
45981
45981
|
};
|
|
45982
|
-
return /* @__PURE__ */ B.jsx(
|
|
45982
|
+
return /* @__PURE__ */ B.jsx(Er, { className: i ? "al-border-primary" : "", style: { borderWidth: 1 }, children: /* @__PURE__ */ B.jsxs("form", { onSubmit: s(d), children: [
|
|
45983
45983
|
/* @__PURE__ */ B.jsx(I8, { children: /* @__PURE__ */ B.jsx(N8, { children: /* @__PURE__ */ B.jsxs(Je, { justify: "between", children: [
|
|
45984
45984
|
n ? /* @__PURE__ */ B.jsxs(Ac, { children: [
|
|
45985
45985
|
/* @__PURE__ */ B.jsx(
|
|
@@ -46083,7 +46083,7 @@ const vre = Ze.object({
|
|
|
46083
46083
|
/* @__PURE__ */ B.jsx(Je, { direction: "column", className: "al-mt-2", children: e != null && e.length ? e.map((i) => /* @__PURE__ */ B.jsx(wre, { check: i, refetch: r }, i.id)) : /* @__PURE__ */ B.jsx("div", { children: "No checks added yet!" }) })
|
|
46084
46084
|
] }) });
|
|
46085
46085
|
};
|
|
46086
|
-
var
|
|
46086
|
+
var fr = /* @__PURE__ */ ((e) => (e.LOADING = "LOADING", e.LOADED = "LOADED", e.ERROR = "ERROR", e.UNINITIALIZED = "UNINITIALIZED", e))(fr || {});
|
|
46087
46087
|
const Ire = Ze.object({
|
|
46088
46088
|
id: Ze.string(),
|
|
46089
46089
|
content: Ze.string(),
|
|
@@ -46179,7 +46179,7 @@ const Pre = (e, t) => {
|
|
|
46179
46179
|
}, Fre = {
|
|
46180
46180
|
sessions: {},
|
|
46181
46181
|
currentSessionId: null,
|
|
46182
|
-
loadingState:
|
|
46182
|
+
loadingState: fr.UNINITIALIZED,
|
|
46183
46183
|
error: null,
|
|
46184
46184
|
abortController: null,
|
|
46185
46185
|
currentActions: [],
|
|
@@ -48874,7 +48874,7 @@ const Zre = /* @__PURE__ */ ko(Qre), t8 = ({ artifacts: e }) => {
|
|
|
48874
48874
|
/* @__PURE__ */ B.jsx(Q8, { type: "single", defaultValue: t ? void 0 : "actions", collapsible: !0, children: /* @__PURE__ */ B.jsxs(Z8, { value: "actions", children: [
|
|
48875
48875
|
/* @__PURE__ */ B.jsx(J8, { className: "al-text-sm al-text-gray-500 al-pt-0 al-no-underline hover:al-no-underline", children: /* @__PURE__ */ B.jsx(Je, { direction: "row", align: "center", children: /* @__PURE__ */ B.jsxs(Je, { direction: "row", align: "center", justify: "between", className: "al-flex-1", children: [
|
|
48876
48876
|
/* @__PURE__ */ B.jsx(ec, { variant: "h4", children: n }),
|
|
48877
|
-
|
|
48877
|
+
/* @__PURE__ */ B.jsx("span", { className: "al-mt-1 al-text-brand", children: t ? "View detailed steps" : "Thinking" })
|
|
48878
48878
|
] }) }) }),
|
|
48879
48879
|
/* @__PURE__ */ B.jsx(ek, { children: /* @__PURE__ */ B.jsx(Je, { direction: "column", role: "list", children: r.map((a, s) => /* @__PURE__ */ B.jsxs(
|
|
48880
48880
|
Je,
|
|
@@ -49192,7 +49192,7 @@ const Iu = () => {
|
|
|
49192
49192
|
...((_ = n[t]) == null ? void 0 : _.context) || {},
|
|
49193
49193
|
...d
|
|
49194
49194
|
}, g = new AbortController();
|
|
49195
|
-
e(su(
|
|
49195
|
+
e(su(fr.LOADING)), e(Ny(g)), e(QT()), e(qre());
|
|
49196
49196
|
const y = n[t], b = h ? {
|
|
49197
49197
|
values: u,
|
|
49198
49198
|
session_id: t
|
|
@@ -49290,7 +49290,7 @@ const Iu = () => {
|
|
|
49290
49290
|
} catch (k) {
|
|
49291
49291
|
throw k instanceof Error && k.name !== "AbortError" && e(KT(k instanceof Error ? k.message : "Failed to send message")), k;
|
|
49292
49292
|
} finally {
|
|
49293
|
-
g.signal.aborted || e(Ny(null)), e(su(
|
|
49293
|
+
g.signal.aborted || e(Ny(null)), e(su(fr.LOADED));
|
|
49294
49294
|
}
|
|
49295
49295
|
};
|
|
49296
49296
|
return { sendMessage: l, updateContextAndSendMessage: o };
|
|
@@ -49427,7 +49427,7 @@ const Iu = () => {
|
|
|
49427
49427
|
const s = i[r];
|
|
49428
49428
|
if (s)
|
|
49429
49429
|
try {
|
|
49430
|
-
n(su(
|
|
49430
|
+
n(su(fr.LOADING));
|
|
49431
49431
|
const o = s.messages, l = o.findIndex((h) => h.id === e);
|
|
49432
49432
|
if (l === -1) return;
|
|
49433
49433
|
const u = o.slice(0, l).filter((h) => h.role === "user").pop();
|
|
@@ -49442,7 +49442,7 @@ const Iu = () => {
|
|
|
49442
49442
|
} catch (o) {
|
|
49443
49443
|
n(KT(o instanceof Error ? o.message : "Failed to regenerate response"));
|
|
49444
49444
|
} finally {
|
|
49445
|
-
n(su(
|
|
49445
|
+
n(su(fr.UNINITIALIZED));
|
|
49446
49446
|
}
|
|
49447
49447
|
};
|
|
49448
49448
|
return /* @__PURE__ */ B.jsxs(Yy, { onClick: a, role: "menuitem", className: "al-cursor-pointer", children: [
|
|
@@ -49558,7 +49558,7 @@ const Iu = () => {
|
|
|
49558
49558
|
return "al-text-gray-700";
|
|
49559
49559
|
}
|
|
49560
49560
|
};
|
|
49561
|
-
return /* @__PURE__ */ B.jsx(
|
|
49561
|
+
return /* @__PURE__ */ B.jsx(Er, { className: "al-p-4 al-mb-3", children: /* @__PURE__ */ B.jsxs(Je, { direction: "column", gap: "sm", children: [
|
|
49562
49562
|
/* @__PURE__ */ B.jsxs(Je, { direction: "row", align: "center", gap: "sm", children: [
|
|
49563
49563
|
/* @__PURE__ */ B.jsx(
|
|
49564
49564
|
"svg",
|
|
@@ -49589,36 +49589,43 @@ const Iu = () => {
|
|
|
49589
49589
|
const n = e.role === "assistant", { currentSessionId: r, loadingState: i, urls: a } = rr();
|
|
49590
49590
|
return /* @__PURE__ */ B.jsxs(B.Fragment, { children: [
|
|
49591
49591
|
/* @__PURE__ */ B.jsx(
|
|
49592
|
-
|
|
49592
|
+
"div",
|
|
49593
49593
|
{
|
|
49594
|
-
className: `al-
|
|
49594
|
+
className: `al-mb-4 ${n ? "" : "al-flex al-justify-end"}`,
|
|
49595
49595
|
role: "article",
|
|
49596
49596
|
"aria-label": `${n ? "Assistant" : "User"} message`,
|
|
49597
|
-
children: /* @__PURE__ */ B.jsx(
|
|
49598
|
-
|
|
49599
|
-
|
|
49600
|
-
|
|
49601
|
-
|
|
49602
|
-
|
|
49603
|
-
|
|
49604
|
-
|
|
49605
|
-
|
|
49606
|
-
|
|
49607
|
-
|
|
49608
|
-
|
|
49609
|
-
|
|
49610
|
-
|
|
49611
|
-
|
|
49612
|
-
|
|
49613
|
-
/* @__PURE__ */ B.jsx(
|
|
49614
|
-
/* @__PURE__ */ B.jsx(
|
|
49615
|
-
|
|
49616
|
-
|
|
49617
|
-
|
|
49618
|
-
|
|
49597
|
+
children: /* @__PURE__ */ B.jsx(
|
|
49598
|
+
Je,
|
|
49599
|
+
{
|
|
49600
|
+
direction: "row",
|
|
49601
|
+
className: `al-p-2 al-mb-2 ${n ? "" : "al-bg-white al-border al-border-stroke-brand-light al-rounded-lg al-rounded-br-none al-max-w-[75%]"}`,
|
|
49602
|
+
children: /* @__PURE__ */ B.jsxs("div", { className: "al-max-w-full al-flex-1", children: [
|
|
49603
|
+
e.role === "assistant" && e.actions && e.actions.length > 0 && /* @__PURE__ */ B.jsx(
|
|
49604
|
+
n8,
|
|
49605
|
+
{
|
|
49606
|
+
actions: e.actions,
|
|
49607
|
+
isComplete: !0,
|
|
49608
|
+
heading: e.heading
|
|
49609
|
+
}
|
|
49610
|
+
),
|
|
49611
|
+
e.role === "assistant" && e.todos && e.todos.length > 0 && /* @__PURE__ */ B.jsx(a8, { todos: e.todos }),
|
|
49612
|
+
/* @__PURE__ */ B.jsx(Lh, { content: e.content || "", id: e.id }),
|
|
49613
|
+
e.artifacts && /* @__PURE__ */ B.jsx(t8, { artifacts: e.artifacts }),
|
|
49614
|
+
e.interaction && /* @__PURE__ */ B.jsx("div", { className: "al-mt-4", children: /* @__PURE__ */ B.jsx(Jre, { interaction: e.interaction }) }),
|
|
49615
|
+
e.citations && e.citations.length > 0 && /* @__PURE__ */ B.jsx("div", { className: "al-mt-4", children: /* @__PURE__ */ B.jsx(aie, { citations: e.citations, frontEndUrl: (a == null ? void 0 : a.frontendUrl) || "" }) }),
|
|
49616
|
+
n && t && /* @__PURE__ */ B.jsxs(Je, { direction: "row", justify: "between", align: "center", className: "al-mt-2", children: [
|
|
49617
|
+
/* @__PURE__ */ B.jsxs(Je, { direction: "row", children: [
|
|
49618
|
+
/* @__PURE__ */ B.jsx(Kre, { messageId: e.id }),
|
|
49619
|
+
/* @__PURE__ */ B.jsx(nie, {})
|
|
49620
|
+
] }),
|
|
49621
|
+
/* @__PURE__ */ B.jsx(tie, { messageId: e.id, content: e.content })
|
|
49622
|
+
] })
|
|
49623
|
+
] })
|
|
49624
|
+
}
|
|
49625
|
+
)
|
|
49619
49626
|
}
|
|
49620
49627
|
),
|
|
49621
|
-
t && r && i ===
|
|
49628
|
+
t && r && i === fr.LOADED && /* @__PURE__ */ B.jsx(oie, {})
|
|
49622
49629
|
] });
|
|
49623
49630
|
}, uie = ({ messages: e }) => /* @__PURE__ */ B.jsx("div", { className: "al-space-y-4", children: e.map((t, n) => /* @__PURE__ */ B.jsx(
|
|
49624
49631
|
lie,
|
|
@@ -49807,7 +49814,7 @@ const Iu = () => {
|
|
|
49807
49814
|
"aria-expanded": l,
|
|
49808
49815
|
"aria-controls": r,
|
|
49809
49816
|
"aria-haspopup": "listbox",
|
|
49810
|
-
disabled: g ===
|
|
49817
|
+
disabled: g === fr.LOADING,
|
|
49811
49818
|
children: [
|
|
49812
49819
|
/* @__PURE__ */ B.jsx(Dy, { className: "al-h-4 al-w-4", "aria-hidden": "true" }),
|
|
49813
49820
|
"Add context"
|
|
@@ -49942,7 +49949,7 @@ const Iu = () => {
|
|
|
49942
49949
|
document.getElementById("selected-contexts-portal")
|
|
49943
49950
|
)
|
|
49944
49951
|
] });
|
|
49945
|
-
}, die = () => /* @__PURE__ */ B.jsx(
|
|
49952
|
+
}, die = () => /* @__PURE__ */ B.jsx(Er, { className: "al-p-4 al-mb-4 al-border-0 al-shadow-none", children: /* @__PURE__ */ B.jsxs(Je, { direction: "row", align: "center", role: "status", "aria-live": "polite", children: [
|
|
49946
49953
|
/* @__PURE__ */ B.jsx(
|
|
49947
49954
|
"div",
|
|
49948
49955
|
{
|
|
@@ -49955,7 +49962,7 @@ const Iu = () => {
|
|
|
49955
49962
|
/* @__PURE__ */ B.jsx("span", { className: "al-sr-only", children: "Loading response" })
|
|
49956
49963
|
] }) }), fie = () => {
|
|
49957
49964
|
const { dispatch: e, abortController: t } = rr(), n = () => {
|
|
49958
|
-
t && (t.abort(), e(su(
|
|
49965
|
+
t && (t.abort(), e(su(fr.LOADED)));
|
|
49959
49966
|
};
|
|
49960
49967
|
return /* @__PURE__ */ B.jsx(
|
|
49961
49968
|
Ot,
|
|
@@ -49976,7 +49983,7 @@ const Iu = () => {
|
|
|
49976
49983
|
}) => {
|
|
49977
49984
|
var p;
|
|
49978
49985
|
const { components: a } = rr(), [s, o] = on(""), l = Sc(), u = Sc(), h = async (f) => {
|
|
49979
|
-
f.preventDefault(), !(!s.trim() || t) && (await e(s)
|
|
49986
|
+
f.preventDefault(), !(!s.trim() || t) && (o(""), await e(s));
|
|
49980
49987
|
}, d = (f) => {
|
|
49981
49988
|
f.key === "Enter" && !f.shiftKey && (f.preventDefault(), h(f));
|
|
49982
49989
|
};
|
|
@@ -50133,7 +50140,7 @@ const Iu = () => {
|
|
|
50133
50140
|
className: "al-gap-2",
|
|
50134
50141
|
"aria-expanded": e,
|
|
50135
50142
|
"aria-label": "Select datamate",
|
|
50136
|
-
disabled: o ===
|
|
50143
|
+
disabled: o === fr.LOADING,
|
|
50137
50144
|
children: [
|
|
50138
50145
|
/* @__PURE__ */ B.jsx(Dy, { "aria-hidden": "true" }),
|
|
50139
50146
|
h ? h.label : "Select Datamate"
|
|
@@ -50243,7 +50250,7 @@ const Iu = () => {
|
|
|
50243
50250
|
var S;
|
|
50244
50251
|
o && (s(Ih({ sessionId: o, context: t || {} })), (S = _ == null ? void 0 : _[0]) != null && S.value && s(wf({ sessionId: o, mode: _[0].value })));
|
|
50245
50252
|
}, [o, s, t, _]), Qn(() => {
|
|
50246
|
-
u ===
|
|
50253
|
+
u === fr.LOADED && s(QT());
|
|
50247
50254
|
}, [u, s]);
|
|
50248
50255
|
const O = o ? l[o] : null, M = () => {
|
|
50249
50256
|
const S = k.current;
|
|
@@ -50264,7 +50271,7 @@ const Iu = () => {
|
|
|
50264
50271
|
});
|
|
50265
50272
|
}
|
|
50266
50273
|
}, [O == null ? void 0 : O.messages, d]), Qn(() => {
|
|
50267
|
-
if (u ===
|
|
50274
|
+
if (u === fr.LOADING || h) {
|
|
50268
50275
|
const S = k.current;
|
|
50269
50276
|
S && R.current && requestAnimationFrame(() => {
|
|
50270
50277
|
S.scrollTop = S.scrollHeight;
|
|
@@ -50277,7 +50284,7 @@ const Iu = () => {
|
|
|
50277
50284
|
o && await E({ message: S });
|
|
50278
50285
|
};
|
|
50279
50286
|
return /* @__PURE__ */ B.jsxs(
|
|
50280
|
-
|
|
50287
|
+
Er,
|
|
50281
50288
|
{
|
|
50282
50289
|
className: Tn("al-w-full al-h-full al-max-w-4xl al-flex al-flex-col", b == null ? void 0 : b.chatbot),
|
|
50283
50290
|
role: "region",
|
|
@@ -50294,7 +50301,7 @@ const Iu = () => {
|
|
|
50294
50301
|
children: [
|
|
50295
50302
|
e && (!(O != null && O.messages) || O.messages.length === 0) && /* @__PURE__ */ B.jsx("div", { className: "al-mb-4", role: "status", children: e }),
|
|
50296
50303
|
/* @__PURE__ */ B.jsx(uie, { messages: (O == null ? void 0 : O.messages) || [] }),
|
|
50297
|
-
u ===
|
|
50304
|
+
u === fr.LOADING && /* @__PURE__ */ B.jsxs(B.Fragment, { children: [
|
|
50298
50305
|
d.length > 0 && /* @__PURE__ */ B.jsx("div", { className: "al-mt-2", children: /* @__PURE__ */ B.jsx(
|
|
50299
50306
|
n8,
|
|
50300
50307
|
{
|
|
@@ -50316,7 +50323,7 @@ const Iu = () => {
|
|
|
50316
50323
|
pie,
|
|
50317
50324
|
{
|
|
50318
50325
|
onSubmit: L,
|
|
50319
|
-
isLoading: u ===
|
|
50326
|
+
isLoading: u === fr.LOADING,
|
|
50320
50327
|
placeholder: i,
|
|
50321
50328
|
autoFocus: a,
|
|
50322
50329
|
components: {
|
|
@@ -50384,7 +50391,7 @@ ${i}
|
|
|
50384
50391
|
}, o = t ? (l = e[t]) == null ? void 0 : l.context : {};
|
|
50385
50392
|
return /* @__PURE__ */ B.jsxs("div", { children: [
|
|
50386
50393
|
"Hello, I am your Teradata to Snowflake migration assistant.",
|
|
50387
|
-
o != null && o.query ? null : /* @__PURE__ */ B.jsxs(
|
|
50394
|
+
o != null && o.query ? null : /* @__PURE__ */ B.jsxs(Er, { className: "al-bg-muted al-p-4 al-rounded-md al-shadow-md al-space-y-2 al-mt-2", children: [
|
|
50388
50395
|
/* @__PURE__ */ B.jsx("p", { children: "Please enter a query below or select a file using Add Context button to start the migration." }),
|
|
50389
50396
|
/* @__PURE__ */ B.jsx(
|
|
50390
50397
|
cs,
|
|
@@ -50414,7 +50421,7 @@ ${i}
|
|
|
50414
50421
|
className: `al-transition-transform al-duration-500 al-ease-in-out ${t ? "al--translate-x-full" : "al-translate-x-0"}`,
|
|
50415
50422
|
children: [
|
|
50416
50423
|
/* @__PURE__ */ B.jsx("div", { className: "al-w-full al-flex-shrink-0", children: /* @__PURE__ */ B.jsxs("div", { className: "al-px-2 al-py-2 al-max-w-4xl", children: [
|
|
50417
|
-
/* @__PURE__ */ B.jsx(
|
|
50424
|
+
/* @__PURE__ */ B.jsx(Er, { className: "al-mb-12 al-overflow-hidden al-relative al-bg-gradient-to-r al-from-primary/10 al-to-primary/5", children: /* @__PURE__ */ B.jsxs(Je, { direction: "column", className: "md:al-flex-row al-items-center al-gap-8 al-p-8", children: [
|
|
50418
50425
|
/* @__PURE__ */ B.jsxs("div", { className: "al-w-48 al-h-48 al-relative", children: [
|
|
50419
50426
|
/* @__PURE__ */ B.jsx("div", { className: "al-absolute al-inset-0 al-bg-primary/20 al-rounded-full al-animate-pulse" }),
|
|
50420
50427
|
/* @__PURE__ */ B.jsx("div", { className: "al-absolute al-inset-4 al-bg-primary/30 al-rounded-full al-animate-pulse [animation-delay:0.2s]" }),
|
|
@@ -50442,7 +50449,7 @@ ${i}
|
|
|
50442
50449
|
/* @__PURE__ */ B.jsx("div", { className: "al-absolute al-left-1/2 al-top-0 al-bottom-0 al-w-0.5 al-bg-primary/20 al-transform al-translate-x-[-50%]" }),
|
|
50443
50450
|
/* @__PURE__ */ B.jsxs("div", { className: "al-space-y-12", children: [
|
|
50444
50451
|
/* @__PURE__ */ B.jsxs(Je, { align: "center", className: "al-gap-8", children: [
|
|
50445
|
-
/* @__PURE__ */ B.jsx("div", { className: "al-flex-1 al-text-right", children: /* @__PURE__ */ B.jsxs(
|
|
50452
|
+
/* @__PURE__ */ B.jsx("div", { className: "al-flex-1 al-text-right", children: /* @__PURE__ */ B.jsxs(Er, { className: "al-inline-block al-p-4", children: [
|
|
50446
50453
|
/* @__PURE__ */ B.jsx("h3", { className: "al-text-xl al-font-semibold al-mb-2", children: /* @__PURE__ */ B.jsx(Je, { align: "center", className: "al-gap-2", children: /* @__PURE__ */ B.jsxs("span", { children: [
|
|
50447
50454
|
/* @__PURE__ */ B.jsx(C8, { className: "al-h-6 al-w-6 al-text-primary" }),
|
|
50448
50455
|
"Schema Migration"
|
|
@@ -50455,7 +50462,7 @@ ${i}
|
|
|
50455
50462
|
/* @__PURE__ */ B.jsxs(Je, { align: "center", className: "al-gap-8", children: [
|
|
50456
50463
|
/* @__PURE__ */ B.jsx("div", { className: "al-flex-1" }),
|
|
50457
50464
|
/* @__PURE__ */ B.jsx(Je, { className: "al-w-12 al-h-12 al-rounded-full al-bg-primary al-items-center al-justify-center al-relative al-z-10", children: /* @__PURE__ */ B.jsx("span", { className: "al-text-white", children: "2" }) }),
|
|
50458
|
-
/* @__PURE__ */ B.jsx("div", { className: "al-flex-1", children: /* @__PURE__ */ B.jsxs(
|
|
50465
|
+
/* @__PURE__ */ B.jsx("div", { className: "al-flex-1", children: /* @__PURE__ */ B.jsxs(Er, { className: "al-inline-block al-p-4", children: [
|
|
50459
50466
|
/* @__PURE__ */ B.jsx("h3", { className: "al-text-xl al-font-semibold al-mb-2", children: /* @__PURE__ */ B.jsx(Je, { align: "center", className: "al-gap-2", children: /* @__PURE__ */ B.jsxs("span", { children: [
|
|
50460
50467
|
/* @__PURE__ */ B.jsx(v8, { className: "al-h-6 al-w-6 al-text-primary" }),
|
|
50461
50468
|
"Data Transfer"
|
|
@@ -50464,7 +50471,7 @@ ${i}
|
|
|
50464
50471
|
] }) })
|
|
50465
50472
|
] }),
|
|
50466
50473
|
/* @__PURE__ */ B.jsxs(Je, { align: "center", className: "al-gap-8", children: [
|
|
50467
|
-
/* @__PURE__ */ B.jsx("div", { className: "al-flex-1 al-text-right", children: /* @__PURE__ */ B.jsxs(
|
|
50474
|
+
/* @__PURE__ */ B.jsx("div", { className: "al-flex-1 al-text-right", children: /* @__PURE__ */ B.jsxs(Er, { className: "al-inline-block al-p-4", children: [
|
|
50468
50475
|
/* @__PURE__ */ B.jsx("h3", { className: "al-text-xl al-font-semibold al-mb-2", children: /* @__PURE__ */ B.jsx(Je, { align: "center", className: "al-gap-2", children: /* @__PURE__ */ B.jsxs("span", { children: [
|
|
50469
50476
|
/* @__PURE__ */ B.jsx(A8, { className: "al-h-6 al-w-6 al-text-primary" }),
|
|
50470
50477
|
"Query Conversion"
|
|
@@ -50476,7 +50483,7 @@ ${i}
|
|
|
50476
50483
|
] })
|
|
50477
50484
|
] })
|
|
50478
50485
|
] }),
|
|
50479
|
-
/* @__PURE__ */ B.jsxs(
|
|
50486
|
+
/* @__PURE__ */ B.jsxs(Er, { className: "al-p-6 al-mb-12 al-bg-gradient-to-b al-from-primary/5", children: [
|
|
50480
50487
|
/* @__PURE__ */ B.jsx(ec, { variant: "h4", className: "al-mb-6 al-text-center", children: "AI-Powered Advantages" }),
|
|
50481
50488
|
/* @__PURE__ */ B.jsxs("div", { className: "al-grid al-grid-cols-2 al-gap-6", children: [
|
|
50482
50489
|
/* @__PURE__ */ B.jsxs(Je, { align: "start", className: "al-gap-3", children: [
|
|
@@ -50509,7 +50516,7 @@ ${i}
|
|
|
50509
50516
|
] })
|
|
50510
50517
|
] })
|
|
50511
50518
|
] }),
|
|
50512
|
-
/* @__PURE__ */ B.jsxs(
|
|
50519
|
+
/* @__PURE__ */ B.jsxs(Er, { className: "al-text-center al-p-8 al-bg-primary/5", children: [
|
|
50513
50520
|
/* @__PURE__ */ B.jsx(ec, { variant: "h4", className: "al-mb-4", children: "Ready to Transform Your Database?" }),
|
|
50514
50521
|
/* @__PURE__ */ B.jsx("p", { className: "al-text-muted-foreground al-mb-6", children: "Start your intelligent migration journey today" }),
|
|
50515
50522
|
/* @__PURE__ */ B.jsxs(Ot, { size: "lg", className: "al-gap-2", onClick: r, children: [
|
|
@@ -50687,7 +50694,7 @@ export {
|
|
|
50687
50694
|
_t as ag,
|
|
50688
50695
|
Yr as ah,
|
|
50689
50696
|
Zs as ai,
|
|
50690
|
-
|
|
50697
|
+
hr as aj,
|
|
50691
50698
|
bre as ak,
|
|
50692
50699
|
s8 as al,
|
|
50693
50700
|
o8 as am,
|
|
@@ -50716,7 +50723,7 @@ export {
|
|
|
50716
50723
|
i8 as k,
|
|
50717
50724
|
Gie as l,
|
|
50718
50725
|
aie as m,
|
|
50719
|
-
|
|
50726
|
+
fr as n,
|
|
50720
50727
|
Vie as o,
|
|
50721
50728
|
r8 as p,
|
|
50722
50729
|
Fre as q,
|