@altimateai/ui-components 0.0.64-beta7 → 0.0.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CoachForm.js +9748 -9840
- package/dist/Stack.js +10 -10
- package/dist/TagsInput.js +6956 -0
- package/dist/_basePickBy.js +25 -25
- package/dist/_baseUniq.js +57 -57
- package/dist/arc.js +34 -34
- package/dist/architectureDiagram-VXUJARFQ.js +1 -1
- package/dist/assets/icons/index.js +1 -1
- package/dist/blockDiagram-VD42YOAC.js +1 -1
- package/dist/c4Diagram-YG6GDRKO.js +1 -1
- package/dist/channel.js +3 -3
- package/dist/chatbotV2/index.d.ts +13 -30
- package/dist/chatbotV2/index.js +45 -47
- package/dist/chunk-4BX2VUAB.js +1 -1
- package/dist/chunk-55IACEB6.js +2 -2
- package/dist/chunk-B4BG7PRW.js +13 -13
- package/dist/chunk-DI55MBZ5.js +1 -1
- package/dist/chunk-FMBD7UC4.js +1 -1
- package/dist/chunk-QN33PNHL.js +6 -6
- 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 +17 -17
- package/dist/diagram-PSM6KHXK.js +35 -35
- package/dist/diagram-QEK2KX5R.js +10 -10
- package/dist/diagram-S2PKOQOG.js +2 -2
- package/dist/erDiagram-Q2GNP2WA.js +15 -15
- package/dist/flowDiagram-NV44I4VS.js +1 -1
- package/dist/ganttDiagram-LVOFAZNH.js +1 -1
- package/dist/gitGraphDiagram-NY62KEGX.js +1 -1
- package/dist/graph.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +6 -6
- package/dist/index2.css +1 -0
- package/dist/index2.js +22 -22
- package/dist/infoDiagram-F6ZHWCRC.js +7 -7
- package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
- package/dist/kanban-definition-3W4ZIXB7.js +19 -19
- package/dist/layout.js +20 -20
- package/dist/lineage/index.js +615 -608
- package/dist/main.js +3 -3
- package/dist/mermaid-parser.core.js +1 -1
- package/dist/mindmap-definition-VGOIOE7T.js +17 -17
- package/dist/pieDiagram-ADFJNKIX.js +4 -4
- package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
- package/dist/redux-toolkit.modern.js +476 -483
- package/dist/requirementDiagram-UZGBJVZJ.js +76 -76
- package/dist/sankeyDiagram-TZEHDZUN.js +22 -22
- package/dist/sequenceDiagram-WL72ISMW.js +1 -1
- package/dist/shadcn/index.d.ts +3 -38
- package/dist/shadcn/index.js +2805 -3490
- package/dist/stateDiagram-FKZM4ZOC.js +28 -28
- package/dist/stateDiagram-v2-4FDKWEC3.js +4 -4
- package/dist/storybook/TagsInput.stories.tsx +1 -34
- package/dist/timeline-definition-IT6M3QCI.js +12 -12
- package/dist/{types-N2nctlGV.d.ts → types-B4_bdpWO.d.ts} +5 -18
- package/dist/xychartDiagram-PRI3JC2R.js +11 -11
- package/package.json +1 -1
- package/dist/Carousel.js +0 -8540
package/dist/diagram-PSM6KHXK.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as he, a2 as ue, ae as pe, af as fe, a3 as ge, a4 as me, $ as w, au as te, at as ae, bI as ye, al as Se, as as ve, ab as K, ax as xe, ac as be, bJ as P } from "./CoachForm.js";
|
|
2
2
|
import { s as we } from "./chunk-QN33PNHL.js";
|
|
3
3
|
import { p as Ce } from "./chunk-4BX2VUAB.js";
|
|
4
4
|
import { p as Te } from "./mermaid-parser.core.js";
|
|
@@ -48,12 +48,12 @@ function Me(t) {
|
|
|
48
48
|
a.value = l;
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function _e(t) {
|
|
52
52
|
return this.eachBefore(function(a) {
|
|
53
53
|
a.children && a.children.sort(t);
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function ze(t) {
|
|
57
57
|
for (var a = this, l = Ve(a, t), n = [a]; a !== l; )
|
|
58
58
|
a = a.parent, n.push(a);
|
|
59
59
|
for (var o = n.length; t !== l; )
|
|
@@ -97,20 +97,20 @@ function* Ee() {
|
|
|
97
97
|
while (l.length);
|
|
98
98
|
}
|
|
99
99
|
function Q(t, a) {
|
|
100
|
-
t instanceof Map ? (t = [void 0, t], a === void 0 && (a =
|
|
101
|
-
for (var l = new
|
|
100
|
+
t instanceof Map ? (t = [void 0, t], a === void 0 && (a = He)) : a === void 0 && (a = Ie);
|
|
101
|
+
for (var l = new J(t), n, o = [l], s, d, h, g; n = o.pop(); )
|
|
102
102
|
if ((d = a(n.data)) && (g = (d = Array.from(d)).length))
|
|
103
103
|
for (n.children = d, h = g - 1; h >= 0; --h)
|
|
104
|
-
o.push(s = d[h] = new
|
|
104
|
+
o.push(s = d[h] = new J(d[h])), s.parent = n, s.depth = n.depth + 1;
|
|
105
105
|
return l.eachBefore(Ge);
|
|
106
106
|
}
|
|
107
107
|
function We() {
|
|
108
108
|
return Q(this).eachBefore(Oe);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function Ie(t) {
|
|
111
111
|
return t.children;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function He(t) {
|
|
114
114
|
return Array.isArray(t) ? t[1] : null;
|
|
115
115
|
}
|
|
116
116
|
function Oe(t) {
|
|
@@ -122,19 +122,19 @@ function Ge(t) {
|
|
|
122
122
|
t.height = a;
|
|
123
123
|
while ((t = t.parent) && t.height < ++a);
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function J(t) {
|
|
126
126
|
this.data = t, this.depth = this.height = 0, this.parent = null;
|
|
127
127
|
}
|
|
128
|
-
|
|
129
|
-
constructor:
|
|
128
|
+
J.prototype = Q.prototype = {
|
|
129
|
+
constructor: J,
|
|
130
130
|
count: $e,
|
|
131
131
|
each: Ae,
|
|
132
132
|
eachAfter: ke,
|
|
133
133
|
eachBefore: Fe,
|
|
134
134
|
find: Ne,
|
|
135
135
|
sum: Me,
|
|
136
|
-
sort:
|
|
137
|
-
path:
|
|
136
|
+
sort: _e,
|
|
137
|
+
path: ze,
|
|
138
138
|
ancestors: De,
|
|
139
139
|
descendants: Pe,
|
|
140
140
|
leaves: Be,
|
|
@@ -165,7 +165,7 @@ function Ye(t, a, l, n, o) {
|
|
|
165
165
|
for (var s = t.children, d, h = -1, g = s.length, c = t.value && (o - l) / t.value; ++h < g; )
|
|
166
166
|
d = s[h], d.x0 = a, d.x1 = n, d.y0 = l, d.y1 = l += d.value * c;
|
|
167
167
|
}
|
|
168
|
-
var
|
|
168
|
+
var Je = (1 + Math.sqrt(5)) / 2;
|
|
169
169
|
function Ue(t, a, l, n, o, s) {
|
|
170
170
|
for (var d = [], h = a.children, g, c, u = 0, b = 0, r = h.length, x, S, v = a.value, p, m, N, k, V, E, M; u < r; ) {
|
|
171
171
|
x = o - l, S = s - n;
|
|
@@ -190,8 +190,8 @@ const Ze = function t(a) {
|
|
|
190
190
|
return l.ratio = function(n) {
|
|
191
191
|
return t((n = +n) > 1 ? n : 1);
|
|
192
192
|
}, l;
|
|
193
|
-
}(
|
|
194
|
-
function
|
|
193
|
+
}(Je);
|
|
194
|
+
function Ke() {
|
|
195
195
|
var t = Ze, a = !1, l = 1, n = 1, o = [0], s = G, d = G, h = G, g = G, c = G;
|
|
196
196
|
function u(r) {
|
|
197
197
|
return r.x0 = r.y0 = 0, r.x1 = l, r.y1 = n, r.eachBefore(b), o = [0], a && r.eachBefore(Xe), r;
|
|
@@ -311,7 +311,7 @@ var Qe = /* @__PURE__ */ w((t, a) => {
|
|
|
311
311
|
var a;
|
|
312
312
|
try {
|
|
313
313
|
const n = await Te("treemap", t);
|
|
314
|
-
|
|
314
|
+
K.debug("Treemap AST:", n);
|
|
315
315
|
const o = (a = re.parser) == null ? void 0 : a.yy;
|
|
316
316
|
if (!(o instanceof ne))
|
|
317
317
|
throw new Error(
|
|
@@ -319,7 +319,7 @@ var Qe = /* @__PURE__ */ w((t, a) => {
|
|
|
319
319
|
);
|
|
320
320
|
Qe(n, o);
|
|
321
321
|
} catch (l) {
|
|
322
|
-
throw
|
|
322
|
+
throw K.error("Error parsing treemap:", l), l;
|
|
323
323
|
}
|
|
324
324
|
}, "parse")
|
|
325
325
|
}, tt = 10, B = 10, X = 25, at = /* @__PURE__ */ w((t, a, l, n) => {
|
|
@@ -342,7 +342,7 @@ var Qe = /* @__PURE__ */ w((t, a) => {
|
|
|
342
342
|
} else
|
|
343
343
|
p = O(e);
|
|
344
344
|
} catch (e) {
|
|
345
|
-
|
|
345
|
+
K.error("Error creating format function:", e), p = O(",");
|
|
346
346
|
}
|
|
347
347
|
const m = Z().range([
|
|
348
348
|
"transparent",
|
|
@@ -387,7 +387,7 @@ var Qe = /* @__PURE__ */ w((t, a) => {
|
|
|
387
387
|
c.cScaleLabel11
|
|
388
388
|
]);
|
|
389
389
|
h && b.append("text").attr("x", S / 2).attr("y", u / 2).attr("class", "treemapTitle").attr("text-anchor", "middle").attr("dominant-baseline", "middle").text(h);
|
|
390
|
-
const V = b.append("g").attr("transform", `translate(0, ${u})`).attr("class", "treemapContainer"), E = Q(g).sum((e) => e.value ?? 0).sort((e, i) => (i.value ?? 0) - (e.value ?? 0)), ee =
|
|
390
|
+
const V = b.append("g").attr("transform", `translate(0, ${u})`).attr("class", "treemapContainer"), E = Q(g).sum((e) => e.value ?? 0).sort((e, i) => (i.value ?? 0) - (e.value ?? 0)), ee = Ke().size([r, x]).paddingTop(
|
|
391
391
|
(e) => e.children && e.children.length > 0 ? X + B : 0
|
|
392
392
|
).paddingInner(d).paddingLeft((e) => e.children && e.children.length > 0 ? B : 0).paddingRight((e) => e.children && e.children.length > 0 ? B : 0).paddingBottom((e) => e.children && e.children.length > 0 ? B : 0).round(!0)(E), se = ee.descendants().filter((e) => e.children && e.children.length > 0), W = V.selectAll(".treemapSection").data(se).enter().append("g").attr("class", "treemapSection").attr("transform", (e) => `translate(${e.x0},${e.y0})`);
|
|
393
393
|
W.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", X).attr("class", "treemapSectionHeader").attr("fill", "none").attr("fill-opacity", 0.6).attr("stroke-width", 0.6).attr("style", (e) => e.depth === 0 ? "display: none;" : ""), W.append("clipPath").attr("id", (e, i) => `clip-section-${a}-${i}`).append("rect").attr("width", (e) => Math.max(0, e.x1 - e.x0 - 12)).attr("height", X), W.append("rect").attr("width", (e) => e.x1 - e.x0).attr("height", (e) => e.y1 - e.y0).attr("class", (e, i) => `treemapSection section${i}`).attr("fill", (e) => m(e.data.name)).attr("fill-opacity", 0.6).attr("stroke", (e) => N(e.data.name)).attr("stroke-width", 2).attr("stroke-opacity", 0.4).attr("style", (e) => {
|
|
@@ -438,19 +438,19 @@ var Qe = /* @__PURE__ */ w((t, a) => {
|
|
|
438
438
|
return;
|
|
439
439
|
}
|
|
440
440
|
let y = parseInt(i.style("font-size"), 10);
|
|
441
|
-
const
|
|
442
|
-
for (; $.getComputedTextLength() > D && y >
|
|
441
|
+
const _ = 8, T = 28, L = 0.6, z = 6, I = 2;
|
|
442
|
+
for (; $.getComputedTextLength() > D && y > _; )
|
|
443
443
|
y--, i.style("font-size", `${y}px`);
|
|
444
|
-
let
|
|
445
|
-
|
|
444
|
+
let H = Math.max(
|
|
445
|
+
z,
|
|
446
446
|
Math.min(T, Math.round(y * L))
|
|
447
|
-
), U = y +
|
|
448
|
-
for (; U > F && y >
|
|
449
|
-
|
|
447
|
+
), U = y + I + H;
|
|
448
|
+
for (; U > F && y > _ && (y--, H = Math.max(
|
|
449
|
+
z,
|
|
450
450
|
Math.min(T, Math.round(y * L))
|
|
451
|
-
), !(
|
|
452
|
-
i.style("font-size", `${y}px`), U = y +
|
|
453
|
-
i.style("font-size", `${y}px`), ($.getComputedTextLength() > D || y <
|
|
451
|
+
), !(H < z && y === _)); )
|
|
452
|
+
i.style("font-size", `${y}px`), U = y + I + H;
|
|
453
|
+
i.style("font-size", `${y}px`), ($.getComputedTextLength() > D || y < _ || F < y) && i.style("display", "none");
|
|
454
454
|
}), s.showValues !== !1 && j.append("text").attr("class", "treemapValue").attr("x", (i) => (i.x1 - i.x0) / 2).attr("y", function(i) {
|
|
455
455
|
return (i.y1 - i.y0) / 2;
|
|
456
456
|
}).attr("style", (i) => {
|
|
@@ -467,15 +467,15 @@ var Qe = /* @__PURE__ */ w((t, a) => {
|
|
|
467
467
|
f.style("display", "none");
|
|
468
468
|
return;
|
|
469
469
|
}
|
|
470
|
-
const A = parseFloat($.style("font-size")), D = 28, F = 0.6, y = 6,
|
|
470
|
+
const A = parseFloat($.style("font-size")), D = 28, F = 0.6, y = 6, _ = 2, T = Math.max(
|
|
471
471
|
y,
|
|
472
472
|
Math.min(D, Math.round(A * F))
|
|
473
473
|
);
|
|
474
474
|
f.style("font-size", `${T}px`);
|
|
475
|
-
const
|
|
476
|
-
f.attr("y",
|
|
477
|
-
const
|
|
478
|
-
f.node().getComputedTextLength() > de ||
|
|
475
|
+
const z = (i.y1 - i.y0) / 2 + A / 2 + _;
|
|
476
|
+
f.attr("y", z);
|
|
477
|
+
const I = i.x1 - i.x0, ce = i.y1 - i.y0 - 4, de = I - 2 * 4;
|
|
478
|
+
f.node().getComputedTextLength() > de || z + T > ce || T < y ? f.style("display", "none") : f.style("display", null);
|
|
479
479
|
});
|
|
480
480
|
const oe = s.diagramPadding ?? 8;
|
|
481
481
|
we(b, oe, "flowchart", (s == null ? void 0 : s.useMaxWidth) || !1);
|
package/dist/diagram-QEK2KX5R.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { p as
|
|
3
|
-
import { p as
|
|
1
|
+
import { as as k, $ as l, a1 as R, a2 as I, ae as E, af as F, a3 as _, a4 as D, ab as z, at as y, au as C, al as G, ax as P, az as V } from "./CoachForm.js";
|
|
2
|
+
import { p as W } from "./chunk-4BX2VUAB.js";
|
|
3
|
+
import { p as B } from "./mermaid-parser.core.js";
|
|
4
4
|
var x = {
|
|
5
5
|
showLegend: !0,
|
|
6
6
|
ticks: 5,
|
|
7
7
|
max: null,
|
|
8
8
|
min: 0,
|
|
9
9
|
graticule: "circle"
|
|
10
|
-
},
|
|
10
|
+
}, w = {
|
|
11
11
|
axes: [],
|
|
12
12
|
curves: [],
|
|
13
13
|
options: x
|
|
14
|
-
}, h = structuredClone(
|
|
14
|
+
}, h = structuredClone(w), H = k.radar, j = /* @__PURE__ */ l(() => y({
|
|
15
15
|
...H,
|
|
16
|
-
...
|
|
16
|
+
...C().radar
|
|
17
17
|
}), "getConfig"), b = /* @__PURE__ */ l(() => h.axes, "getAxes"), N = /* @__PURE__ */ l(() => h.curves, "getCurves"), U = /* @__PURE__ */ l(() => h.options, "getOptions"), X = /* @__PURE__ */ l((a) => {
|
|
18
18
|
h.axes = a.map((t) => ({
|
|
19
19
|
name: t.name,
|
|
@@ -54,7 +54,7 @@ var x = {
|
|
|
54
54
|
graticule: ((i = t.graticule) == null ? void 0 : i.value) ?? x.graticule
|
|
55
55
|
};
|
|
56
56
|
}, "setOptions"), J = /* @__PURE__ */ l(() => {
|
|
57
|
-
G(), h = structuredClone(
|
|
57
|
+
G(), h = structuredClone(w);
|
|
58
58
|
}, "clear"), $ = {
|
|
59
59
|
getAxes: b,
|
|
60
60
|
getCurves: N,
|
|
@@ -71,12 +71,12 @@ var x = {
|
|
|
71
71
|
getAccDescription: _,
|
|
72
72
|
setAccDescription: D
|
|
73
73
|
}, K = /* @__PURE__ */ l((a) => {
|
|
74
|
-
|
|
74
|
+
W(a, $);
|
|
75
75
|
const { axes: t, curves: e, options: r } = a;
|
|
76
76
|
$.setAxes(t), $.setCurves(e), $.setOptions(r);
|
|
77
77
|
}, "populate"), Q = {
|
|
78
78
|
parse: /* @__PURE__ */ l(async (a) => {
|
|
79
|
-
const t = await
|
|
79
|
+
const t = await B("radar", a);
|
|
80
80
|
z.debug(t), K(t);
|
|
81
81
|
}, "parse")
|
|
82
82
|
}, tt = /* @__PURE__ */ l((a, t, e, r) => {
|
|
@@ -176,7 +176,7 @@ var st = { draw: tt }, nt = /* @__PURE__ */ l((a, t) => {
|
|
|
176
176
|
}
|
|
177
177
|
return e;
|
|
178
178
|
}, "genIndexStyles"), ot = /* @__PURE__ */ l((a) => {
|
|
179
|
-
const t =
|
|
179
|
+
const t = V(), e = C(), r = y(t, e.themeVariables), s = y(r.radar, a);
|
|
180
180
|
return { themeVariables: r, radarOptions: s };
|
|
181
181
|
}, "buildRadarStyleOptions"), it = /* @__PURE__ */ l(({ radar: a } = {}) => {
|
|
182
182
|
const { themeVariables: t, radarOptions: e } = ot(a);
|
package/dist/diagram-S2PKOQOG.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { as as B, a1 as C, a2 as S, ae as D, af as T, a3 as P, a4 as z, $ as b, at as m, au as E, al as F, ab as w, ax as A, ac as W } from "./CoachForm.js";
|
|
2
2
|
import { p as _ } from "./chunk-4BX2VUAB.js";
|
|
3
3
|
import { p as N } from "./mermaid-parser.core.js";
|
|
4
4
|
var L = B.packet, u, v = (u = class {
|
|
5
5
|
constructor() {
|
|
6
|
-
this.packet = [], this.setAccTitle = C, this.getAccTitle = S, this.setDiagramTitle = D, this.getDiagramTitle = T, this.getAccDescription =
|
|
6
|
+
this.packet = [], this.setAccTitle = C, this.getAccTitle = S, this.setDiagramTitle = D, this.getDiagramTitle = T, this.getAccDescription = P, this.setAccDescription = z;
|
|
7
7
|
}
|
|
8
8
|
getConfig() {
|
|
9
9
|
const t = m({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { g as Dt } from "./chunk-55IACEB6.js";
|
|
2
2
|
import { s as wt } from "./chunk-QN33PNHL.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as u, a1 as Vt, a2 as Lt, a4 as Mt, a3 as Bt, ae as Ft, af as Yt, a5 as tt, ab as D, al as Pt, aj as zt, ar as Gt, ao as Kt, ap as Zt, ak as Ut, aq as jt } from "./CoachForm.js";
|
|
4
4
|
import { s as Wt } from "./redux-toolkit.modern.js";
|
|
5
5
|
import { c as Qt } from "./channel.js";
|
|
6
6
|
var dt = function() {
|
|
7
7
|
var s = /* @__PURE__ */ u(function(R, n, a, c) {
|
|
8
8
|
for (a = a || {}, c = R.length; c--; a[R[c]] = n) ;
|
|
9
9
|
return a;
|
|
10
|
-
}, "o"), i = [6, 8, 10, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50], h = [1, 10], d = [1, 11], o = [1, 12], l = [1, 13], f = [1, 20], _ = [1, 21],
|
|
10
|
+
}, "o"), i = [6, 8, 10, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50], h = [1, 10], d = [1, 11], o = [1, 12], l = [1, 13], f = [1, 20], _ = [1, 21], k = [1, 22], V = [1, 23], Z = [1, 24], S = [1, 19], et = [1, 25], U = [1, 26], T = [1, 18], L = [1, 33], st = [1, 34], it = [1, 35], rt = [1, 36], nt = [1, 37], pt = [6, 8, 10, 13, 15, 17, 20, 21, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 43, 44, 50, 63, 64, 65, 66, 67], O = [1, 42], A = [1, 43], M = [1, 52], B = [40, 50, 68, 69], F = [1, 63], Y = [1, 61], N = [1, 58], P = [1, 62], z = [1, 64], j = [6, 8, 10, 13, 17, 22, 24, 26, 28, 33, 34, 35, 36, 37, 40, 41, 42, 43, 44, 48, 49, 50, 63, 64, 65, 66, 67], yt = [63, 64, 65, 66, 67], ft = [1, 81], _t = [1, 80], gt = [1, 78], bt = [1, 79], mt = [6, 10, 42, 47], v = [6, 10, 13, 41, 42, 47, 48, 49], W = [1, 89], Q = [1, 88], X = [1, 87], G = [19, 56], kt = [1, 98], Et = [1, 97], at = [19, 56, 58, 60], ct = {
|
|
11
11
|
trace: /* @__PURE__ */ u(function() {
|
|
12
12
|
}, "trace"),
|
|
13
13
|
yy: {},
|
|
@@ -190,7 +190,7 @@ var dt = function() {
|
|
|
190
190
|
break;
|
|
191
191
|
}
|
|
192
192
|
}, "anonymous"),
|
|
193
|
-
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, s(i, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 22: h, 24: d, 26: o, 28: l, 29: 14, 30: 15, 31: 16, 32: 17, 33: f, 34: _, 35:
|
|
193
|
+
table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, s(i, [2, 2], { 5: 3 }), { 6: [1, 4], 7: 5, 8: [1, 6], 9: 7, 10: [1, 8], 11: 9, 22: h, 24: d, 26: o, 28: l, 29: 14, 30: 15, 31: 16, 32: 17, 33: f, 34: _, 35: k, 36: V, 37: Z, 40: S, 43: et, 44: U, 50: T }, s(i, [2, 7], { 1: [2, 1] }), s(i, [2, 3]), { 9: 27, 11: 9, 22: h, 24: d, 26: o, 28: l, 29: 14, 30: 15, 31: 16, 32: 17, 33: f, 34: _, 35: k, 36: V, 37: Z, 40: S, 43: et, 44: U, 50: T }, s(i, [2, 5]), s(i, [2, 6]), s(i, [2, 16], { 12: 28, 61: 32, 15: [1, 29], 17: [1, 30], 20: [1, 31], 63: L, 64: st, 65: it, 66: rt, 67: nt }), { 23: [1, 38] }, { 25: [1, 39] }, { 27: [1, 40] }, s(i, [2, 27]), s(i, [2, 28]), s(i, [2, 29]), s(i, [2, 30]), s(i, [2, 31]), s(pt, [2, 54]), s(pt, [2, 55]), s(i, [2, 32]), s(i, [2, 33]), s(i, [2, 34]), s(i, [2, 35]), { 16: 41, 40: O, 41: A }, { 16: 44, 40: O, 41: A }, { 16: 45, 40: O, 41: A }, s(i, [2, 4]), { 11: 46, 40: S, 50: T }, { 16: 47, 40: O, 41: A }, { 18: 48, 19: [1, 49], 51: 50, 52: 51, 56: M }, { 11: 53, 40: S, 50: T }, { 62: 54, 68: [1, 55], 69: [1, 56] }, s(B, [2, 69]), s(B, [2, 70]), s(B, [2, 71]), s(B, [2, 72]), s(B, [2, 73]), s(i, [2, 24]), s(i, [2, 25]), s(i, [2, 26]), { 13: F, 38: 57, 41: Y, 42: N, 45: 59, 46: 60, 48: P, 49: z }, s(j, [2, 37]), s(j, [2, 38]), { 16: 65, 40: O, 41: A, 42: N }, { 13: F, 38: 66, 41: Y, 42: N, 45: 59, 46: 60, 48: P, 49: z }, { 13: [1, 67], 15: [1, 68] }, s(i, [2, 17], { 61: 32, 12: 69, 17: [1, 70], 42: N, 63: L, 64: st, 65: it, 66: rt, 67: nt }), { 19: [1, 71] }, s(i, [2, 14]), { 18: 72, 19: [2, 56], 51: 50, 52: 51, 56: M }, { 53: 73, 56: [1, 74] }, { 56: [2, 62] }, { 21: [1, 75] }, { 61: 76, 63: L, 64: st, 65: it, 66: rt, 67: nt }, s(yt, [2, 74]), s(yt, [2, 75]), { 6: ft, 10: _t, 39: 77, 42: gt, 47: bt }, { 40: [1, 82], 41: [1, 83] }, s(mt, [2, 43], { 46: 84, 13: F, 41: Y, 48: P, 49: z }), s(v, [2, 45]), s(v, [2, 50]), s(v, [2, 51]), s(v, [2, 52]), s(v, [2, 53]), s(i, [2, 41], { 42: N }), { 6: ft, 10: _t, 39: 85, 42: gt, 47: bt }, { 14: 86, 40: W, 50: Q, 70: X }, { 16: 90, 40: O, 41: A }, { 11: 91, 40: S, 50: T }, { 18: 92, 19: [1, 93], 51: 50, 52: 51, 56: M }, s(i, [2, 12]), { 19: [2, 57] }, s(G, [2, 58], { 54: 94, 55: 95, 57: 96, 59: kt, 60: Et }), s([19, 56, 59, 60], [2, 63]), s(i, [2, 22], { 15: [1, 100], 17: [1, 99] }), s([40, 50], [2, 68]), s(i, [2, 36]), { 13: F, 41: Y, 45: 101, 46: 60, 48: P, 49: z }, s(i, [2, 47]), s(i, [2, 48]), s(i, [2, 49]), s(j, [2, 39]), s(j, [2, 40]), s(v, [2, 46]), s(i, [2, 42]), s(i, [2, 8]), s(i, [2, 76]), s(i, [2, 77]), s(i, [2, 78]), { 13: [1, 102], 42: N }, { 13: [1, 104], 15: [1, 103] }, { 19: [1, 105] }, s(i, [2, 15]), s(G, [2, 59], { 55: 106, 58: [1, 107], 60: Et }), s(G, [2, 60]), s(at, [2, 64]), s(G, [2, 67]), s(at, [2, 66]), { 18: 108, 19: [1, 109], 51: 50, 52: 51, 56: M }, { 16: 110, 40: O, 41: A }, s(mt, [2, 44], { 46: 84, 13: F, 41: Y, 48: P, 49: z }), { 14: 111, 40: W, 50: Q, 70: X }, { 16: 112, 40: O, 41: A }, { 14: 113, 40: W, 50: Q, 70: X }, s(i, [2, 13]), s(G, [2, 61]), { 57: 114, 59: kt }, { 19: [1, 115] }, s(i, [2, 20]), s(i, [2, 23], { 17: [1, 116], 42: N }), s(i, [2, 11]), { 13: [1, 117], 42: N }, s(i, [2, 10]), s(at, [2, 65]), s(i, [2, 18]), { 18: 118, 19: [1, 119], 51: 50, 52: 51, 56: M }, { 14: 120, 40: W, 50: Q, 70: X }, { 19: [1, 121] }, s(i, [2, 21]), s(i, [2, 9]), s(i, [2, 19])],
|
|
194
194
|
defaultActions: { 52: [2, 62], 72: [2, 57] },
|
|
195
195
|
parseError: /* @__PURE__ */ u(function(n, a) {
|
|
196
196
|
if (a.recoverable)
|
|
@@ -218,7 +218,7 @@ var dt = function() {
|
|
|
218
218
|
return b = r.pop() || y.lex() || Tt, typeof b != "number" && (b instanceof Array && (r = b, b = r.pop()), b = a.symbols_[b] || b), b;
|
|
219
219
|
}
|
|
220
220
|
u(Ot, "lex");
|
|
221
|
-
for (var g, x, m, ht, C = {}, J,
|
|
221
|
+
for (var g, x, m, ht, C = {}, J, E, At, $; ; ) {
|
|
222
222
|
if (x = c[c.length - 1], this.defaultActions[x] ? m = this.defaultActions[x] : ((g === null || typeof g > "u") && (g = Ot()), m = K[x] && K[x][g]), typeof m > "u" || !m.length || !m[0]) {
|
|
223
223
|
var ut = "";
|
|
224
224
|
$ = [];
|
|
@@ -241,13 +241,13 @@ Expecting ` + $.join(", ") + ", got '" + (this.terminals_[g] || g) + "'" : ut =
|
|
|
241
241
|
c.push(g), p.push(y.yytext), t.push(y.yylloc), c.push(m[1]), g = null, St = y.yyleng, e = y.yytext, H = y.yylineno, ot = y.yylloc;
|
|
242
242
|
break;
|
|
243
243
|
case 2:
|
|
244
|
-
if (
|
|
245
|
-
first_line: t[t.length - (
|
|
244
|
+
if (E = this.productions_[m[1]][1], C.$ = p[p.length - E], C._$ = {
|
|
245
|
+
first_line: t[t.length - (E || 1)].first_line,
|
|
246
246
|
last_line: t[t.length - 1].last_line,
|
|
247
|
-
first_column: t[t.length - (
|
|
247
|
+
first_column: t[t.length - (E || 1)].first_column,
|
|
248
248
|
last_column: t[t.length - 1].last_column
|
|
249
249
|
}, vt && (C._$.range = [
|
|
250
|
-
t[t.length - (
|
|
250
|
+
t[t.length - (E || 1)].range[0],
|
|
251
251
|
t[t.length - 1].range[1]
|
|
252
252
|
]), ht = this.performAction.apply(C, [
|
|
253
253
|
e,
|
|
@@ -259,7 +259,7 @@ Expecting ` + $.join(", ") + ", got '" + (this.terminals_[g] || g) + "'" : ut =
|
|
|
259
259
|
t
|
|
260
260
|
].concat(xt)), typeof ht < "u")
|
|
261
261
|
return ht;
|
|
262
|
-
|
|
262
|
+
E && (c = c.slice(0, -1 * E * 2), p = p.slice(0, -1 * E), t = t.slice(0, -1 * E)), c.push(this.productions_[m[1]][0]), p.push(C.$), t.push(C._$), At = K[c[c.length - 2]][c[c.length - 1]], c.push(At);
|
|
263
263
|
break;
|
|
264
264
|
case 3:
|
|
265
265
|
return !0;
|
|
@@ -756,11 +756,11 @@ Gt(Nt, {
|
|
|
756
756
|
});
|
|
757
757
|
var Ht = /* @__PURE__ */ u(async function(s, i, h, d) {
|
|
758
758
|
D.info("REF0:"), D.info("Drawing er diagram (unified)", i);
|
|
759
|
-
const { securityLevel: o, er: l, layout: f } = tt(), _ = d.db.getData(),
|
|
760
|
-
_.type = d.type, _.layoutAlgorithm = Kt(f), _.config.flowchart.nodeSpacing = (l == null ? void 0 : l.nodeSpacing) || 140, _.config.flowchart.rankSpacing = (l == null ? void 0 : l.rankSpacing) || 80, _.direction = d.db.getDirection(), _.markers = ["only_one", "zero_or_one", "one_or_more", "zero_or_more"], _.diagramId = i, await Zt(_,
|
|
761
|
-
const V =
|
|
759
|
+
const { securityLevel: o, er: l, layout: f } = tt(), _ = d.db.getData(), k = Dt(i, o);
|
|
760
|
+
_.type = d.type, _.layoutAlgorithm = Kt(f), _.config.flowchart.nodeSpacing = (l == null ? void 0 : l.nodeSpacing) || 140, _.config.flowchart.rankSpacing = (l == null ? void 0 : l.rankSpacing) || 80, _.direction = d.db.getDirection(), _.markers = ["only_one", "zero_or_one", "one_or_more", "zero_or_more"], _.diagramId = i, await Zt(_, k), _.layoutAlgorithm === "elk" && k.select(".edges").lower();
|
|
761
|
+
const V = k.selectAll('[id*="-background"]');
|
|
762
762
|
Array.from(V).length > 0 && V.each(function() {
|
|
763
|
-
const S = Wt(this), U = S.attr("id").replace("-background", ""), T =
|
|
763
|
+
const S = Wt(this), U = S.attr("id").replace("-background", ""), T = k.select(`#${CSS.escape(U)}`);
|
|
764
764
|
if (!T.empty()) {
|
|
765
765
|
const L = T.attr("transform");
|
|
766
766
|
S.attr("transform", L);
|
|
@@ -768,11 +768,11 @@ var Ht = /* @__PURE__ */ u(async function(s, i, h, d) {
|
|
|
768
768
|
});
|
|
769
769
|
const Z = 8;
|
|
770
770
|
Ut.insertTitle(
|
|
771
|
-
|
|
771
|
+
k,
|
|
772
772
|
"erDiagramTitleText",
|
|
773
773
|
(l == null ? void 0 : l.titleTopMargin) ?? 25,
|
|
774
774
|
d.db.getDiagramTitle()
|
|
775
|
-
), wt(
|
|
775
|
+
), wt(k, Z, "erDiagram", (l == null ? void 0 : l.useMaxWidth) ?? !0);
|
|
776
776
|
}, "draw"), Jt = /* @__PURE__ */ u((s, i) => {
|
|
777
777
|
const h = Qt, d = h(s, "r"), o = h(s, "g"), l = h(s, "b");
|
|
778
778
|
return jt(d, o, l, i);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { g as qt } from "./chunk-FMBD7UC4.js";
|
|
2
|
-
import {
|
|
2
|
+
import { a5 as b1, a1 as Ht, a4 as Xt, ae as Qt, a2 as Jt, a3 as Zt, af as $t, $ as m, a7 as te, ag as ee, ah as se, ai as ie, ab as t1, aj as st, ak as it, al as re, am as ae, an as Ot, ao as ne, ap as ue, aq as oe } from "./CoachForm.js";
|
|
3
3
|
import { g as le } from "./chunk-55IACEB6.js";
|
|
4
4
|
import { s as ce } from "./chunk-QN33PNHL.js";
|
|
5
5
|
import { s as S1 } from "./redux-toolkit.modern.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as h, bK as at, a5 as _t, a1 as Un, a2 as En, ae as Ln, af as An, a4 as In, a3 as Wn, al as On, ad as Hn, ab as Qt, ac as Nn, a7 as Vn, ak as zn } from "./CoachForm.js";
|
|
2
2
|
import { f as $e, h as Je, R as Ke, C as tn, r as Pn, n as re, j as Rn, c as Te, g as be, s as Zt } from "./redux-toolkit.modern.js";
|
|
3
3
|
import { b as Bn, t as Ie, c as Zn, a as Xn, l as qn } from "./linear.js";
|
|
4
4
|
import { i as Gn } from "./init.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { p as Z } from "./chunk-4BX2VUAB.js";
|
|
2
2
|
import { I as F } from "./chunk-QZHKN3VN.js";
|
|
3
|
-
import {
|
|
3
|
+
import { as as U, $ as h, a5 as rr, at as er, au as tr, av as ar, ab as m, a1 as nr, a2 as sr, a3 as or, a4 as cr, ae as ir, af as dr, a7 as B, al as hr, ak as lr, aw as $r } from "./CoachForm.js";
|
|
4
4
|
import { p as fr } from "./mermaid-parser.core.js";
|
|
5
5
|
import { s as gr } from "./redux-toolkit.modern.js";
|
|
6
6
|
var u = {
|
package/dist/graph.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bo as N, bp as j, bq as f, br as b, bs as E } from "./CoachForm.js";
|
|
2
2
|
import { a as v, c as P, k as _, f as g, d, i as l, v as p, r as D } from "./_baseUniq.js";
|
|
3
3
|
var w = N(function(o) {
|
|
4
4
|
return v(P(o, 1, j, !0));
|
package/dist/index.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { B as ButtonProps } from './Button-CVsSwe4f.js';
|
|
|
4
4
|
import { Components } from 'react-markdown';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PlotParams } from 'react-plotly.js';
|
|
7
|
-
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-
|
|
8
|
-
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-
|
|
7
|
+
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-B4_bdpWO.js';
|
|
8
|
+
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-B4_bdpWO.js';
|
|
9
9
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
10
10
|
import { PayloadAction } from '@reduxjs/toolkit';
|
|
11
11
|
import * as immer from 'immer';
|
package/dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { j as e, i as s, h as r, C as t, D as c, L as n, T as i, m, l, k as p } from "./main.js";
|
|
2
2
|
import { C as T, T as v } from "./dayjs.min.js";
|
|
3
|
-
import {
|
|
3
|
+
import { cp as f, ce as h, cc as k, co as M, cn as P, cf as u, cm as g, cd as x, cs as A, ct as S, cr as j, cl as y, cq as b, ci as B, cj as D, ck as F, ch as G } from "./CoachForm.js";
|
|
4
4
|
import { A as I, l as w, I as q } from "./redux-toolkit.modern.js";
|
|
5
|
-
import {
|
|
5
|
+
import { a6 as H } from "./Stack.js";
|
|
6
6
|
export {
|
|
7
7
|
I as ApiHelper,
|
|
8
|
-
|
|
8
|
+
f as CoachForm,
|
|
9
9
|
e as CoachFormButton,
|
|
10
10
|
w as CodeBlock,
|
|
11
11
|
T as Collapse,
|
|
12
|
-
|
|
12
|
+
h as ContentCategory,
|
|
13
13
|
s as ConversationGroupProvider,
|
|
14
14
|
r as ConversationInputForm,
|
|
15
15
|
t as ConversationSources,
|
|
16
16
|
c as DbtDocs,
|
|
17
17
|
q as IconButton,
|
|
18
18
|
n as Learnings,
|
|
19
|
-
|
|
19
|
+
k as LoadingButton,
|
|
20
20
|
M as Markdown,
|
|
21
21
|
P as MermaidDiagram,
|
|
22
|
-
|
|
22
|
+
u as PersonalizationScope,
|
|
23
23
|
g as Plotly,
|
|
24
24
|
x as Popconfirm,
|
|
25
25
|
A as ProjectGovernorAllowedFiles,
|
package/dist/index2.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
div[data-radix-popper-content-wrapper]{z-index:1000!important}
|
package/dist/index2.js
CHANGED
|
@@ -639,26 +639,26 @@ export {
|
|
|
639
639
|
H0 as D,
|
|
640
640
|
s1 as E,
|
|
641
641
|
u1 as F,
|
|
642
|
-
|
|
642
|
+
A0 as G,
|
|
643
643
|
E0 as H,
|
|
644
644
|
o1 as I,
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
645
|
+
T0 as J,
|
|
646
|
+
P0 as K,
|
|
647
|
+
G0 as L,
|
|
648
648
|
a1 as M,
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
649
|
+
W0 as N,
|
|
650
|
+
$0 as O,
|
|
651
|
+
Y0 as P,
|
|
652
|
+
N0 as Q,
|
|
653
653
|
Q0 as R,
|
|
654
654
|
S0 as S,
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
655
|
+
J0 as T,
|
|
656
|
+
z0 as U,
|
|
657
|
+
X0 as V,
|
|
658
|
+
C1 as W,
|
|
659
|
+
f1 as X,
|
|
660
|
+
v0 as Y,
|
|
661
|
+
g0 as Z,
|
|
662
662
|
b0 as _,
|
|
663
663
|
q0 as a,
|
|
664
664
|
r1 as b,
|
|
@@ -679,11 +679,11 @@ export {
|
|
|
679
679
|
j0 as q,
|
|
680
680
|
R0 as r,
|
|
681
681
|
I0 as s,
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
682
|
+
y0 as t,
|
|
683
|
+
L0 as u,
|
|
684
|
+
Z0 as v,
|
|
685
|
+
p1 as w,
|
|
686
|
+
M0 as x,
|
|
687
|
+
k0 as y,
|
|
688
|
+
O0 as z
|
|
689
689
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { p
|
|
3
|
-
var
|
|
1
|
+
import { $ as e, ab as s, ax as o, ac as i, ay as g } from "./CoachForm.js";
|
|
2
|
+
import { p } from "./mermaid-parser.core.js";
|
|
3
|
+
var v = {
|
|
4
4
|
parse: /* @__PURE__ */ e(async (a) => {
|
|
5
|
-
const r = await
|
|
5
|
+
const r = await p("info", a);
|
|
6
6
|
s.debug(r);
|
|
7
7
|
}, "parse")
|
|
8
|
-
},
|
|
8
|
+
}, d = {
|
|
9
9
|
version: g.version + ""
|
|
10
|
-
}, c = /* @__PURE__ */ e(() =>
|
|
10
|
+
}, c = /* @__PURE__ */ e(() => d.version, "getVersion"), m = {
|
|
11
11
|
getVersion: c
|
|
12
12
|
}, f = /* @__PURE__ */ e((a, r, n) => {
|
|
13
13
|
s.debug(`rendering info diagram
|
|
@@ -15,7 +15,7 @@ var p = {
|
|
|
15
15
|
const t = o(r);
|
|
16
16
|
i(t, 100, 400, !0), t.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text(`v${n}`);
|
|
17
17
|
}, "draw"), l = { draw: f }, b = {
|
|
18
|
-
parser:
|
|
18
|
+
parser: v,
|
|
19
19
|
db: m,
|
|
20
20
|
renderer: l
|
|
21
21
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as gt, f as mt, g as lt, b as xt } from "./chunk-TZMSLE5B.js";
|
|
2
2
|
import { g as kt } from "./chunk-FMBD7UC4.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as n, a5 as R, ae as _t, af as vt, a1 as bt, a2 as wt, a4 as Tt, a3 as St, al as $t, ac as Mt } from "./CoachForm.js";
|
|
4
4
|
import { s as G } from "./redux-toolkit.modern.js";
|
|
5
5
|
import { d as et } from "./arc.js";
|
|
6
6
|
var U = function() {
|