@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/main.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { d as dt, C as Yn } from "./dayjs.min.js";
|
|
2
|
-
import {
|
|
2
|
+
import { cc as un, cd as Wn, ce as Xn, cf as Kn, cg as Gn, ch as Zn, ci as rt, cj as Qn, ck as Jn } from "./CoachForm.js";
|
|
3
3
|
import { g as yt, k as ln, A as ve, l as er, I as Ie, u as cn, m as tr } from "./redux-toolkit.modern.js";
|
|
4
|
-
import { B as ye,
|
|
4
|
+
import { B as ye, a3 as $e, a4 as He, a5 as nr, a6 as oe, a7 as rr, T as or, $ as ft, X as ir } from "./Stack.js";
|
|
5
5
|
import { j as h, A as dn, e as sr, f as ar, a as ur, d as lr, D as cr, E as dr, c as fr, b as pr } from "./index2.js";
|
|
6
6
|
import * as te from "react";
|
|
7
7
|
import Z, { createContext as _e, useReducer as fn, useCallback as we, useMemo as fe, useContext as be, useLayoutEffect as gr, useEffect as le, useRef as Se, useId as pn, useInsertionEffect as hr, Children as De, isValidElement as vr, useState as re, lazy as mr } from "react";
|
|
8
8
|
import Er, { createPortal as bt } from "react-dom";
|
|
9
|
-
import { u as yr, F as Mt, a as br, A as gn, N as Lt, B as Cr } from "./
|
|
9
|
+
import { u as yr, F as Mt, a as br, A as gn, N as Lt, B as Cr } from "./TagsInput.js";
|
|
10
10
|
import { S as Sr } from "./Switch.js";
|
|
11
11
|
import './main.css';var Ct = /* @__PURE__ */ ((e) => (e.DBT_DOCS = "dbt-docs", e.DOCUMENTATION_EDITOR = "documentation-editor", e.SAAS = "saas", e))(Ct || {});
|
|
12
12
|
const _r = () => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Ac = Object.defineProperty;
|
|
2
2
|
var Ec = (n, e, t) => e in n ? Ac(n, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[e] = t;
|
|
3
3
|
var Ze = (n, e, t) => Ec(n, typeof e != "symbol" ? e + "" : e, t);
|
|
4
|
-
import {
|
|
4
|
+
import { cu as $c, cv as kc, bD as Nl, bY as xc, bH as Sc, bE as ee, bo as Ic, bp as Ea, bO as Cc, bR as wl, bS as Ll, c1 as $a, bP as Nc, br as vt, bs as D, bF as ka, bz as wc } from "./CoachForm.js";
|
|
5
5
|
import { k as qt, j as Hs, g as nn, S as Lc, w as _c, x as bc, c as _l, v as z, y as bl, l as Oc, z as Pc, A as Mc, B as Dc, C as Fc, a as Ol, d as C, i as Ye, r as le, f as ke, D as Y } from "./_baseUniq.js";
|
|
6
6
|
import { j as js, m as x, d as Gc, f as Ne, g as Yt, i as zs, h as N, l as Xt, e as Uc } from "./_basePickBy.js";
|
|
7
7
|
import { c as ne } from "./clone.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { g as le } from "./chunk-55IACEB6.js";
|
|
2
2
|
import { s as he } from "./chunk-QN33PNHL.js";
|
|
3
|
-
import {
|
|
3
|
+
import { $ as l, ab as C, a5 as X, as as j, aa as F, bv as de, ao as ge, ap as ue, aN as pe, aO as fe, aP as ye } from "./CoachForm.js";
|
|
4
4
|
const E = [];
|
|
5
5
|
for (let t = 0; t < 256; ++t)
|
|
6
6
|
E.push((t + 256).toString(16).slice(1));
|
|
@@ -32,7 +32,7 @@ var q = function() {
|
|
|
32
32
|
var t = /* @__PURE__ */ l(function(v, s, i, a) {
|
|
33
33
|
for (i = i || {}, a = v.length; a--; i[v[a]] = s) ;
|
|
34
34
|
return i;
|
|
35
|
-
}, "o"), e = [1, 4], n = [1, 13], c = [1, 12], u = [1, 15], h = [1, 16], p = [1, 20], y = [1, 19], _ = [6, 7, 8], b = [1, 26], m = [1, 24], w = [1, 25],
|
|
35
|
+
}, "o"), e = [1, 4], n = [1, 13], c = [1, 12], u = [1, 15], h = [1, 16], p = [1, 20], y = [1, 19], _ = [6, 7, 8], b = [1, 26], m = [1, 24], w = [1, 25], N = [6, 7, 11], J = [1, 6, 13, 15, 16, 19, 22], K = [1, 33], Q = [1, 34], A = [1, 6, 7, 11, 13, 15, 16, 19, 22], G = {
|
|
36
36
|
trace: /* @__PURE__ */ l(function() {
|
|
37
37
|
}, "trace"),
|
|
38
38
|
yy: {},
|
|
@@ -87,7 +87,7 @@ var q = function() {
|
|
|
87
87
|
break;
|
|
88
88
|
}
|
|
89
89
|
}, "anonymous"),
|
|
90
|
-
table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: e }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: e }, { 6: n, 7: [1, 10], 9: 9, 12: 11, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, t(_, [2, 3]), { 1: [2, 2] }, t(_, [2, 4]), t(_, [2, 5]), { 1: [2, 6], 6: n, 12: 21, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, { 6: n, 9: 22, 12: 11, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, { 6: b, 7: m, 10: 23, 11: w }, t(
|
|
90
|
+
table: [{ 3: 1, 4: 2, 5: 3, 6: [1, 5], 8: e }, { 1: [3] }, { 1: [2, 1] }, { 4: 6, 6: [1, 7], 7: [1, 8], 8: e }, { 6: n, 7: [1, 10], 9: 9, 12: 11, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, t(_, [2, 3]), { 1: [2, 2] }, t(_, [2, 4]), t(_, [2, 5]), { 1: [2, 6], 6: n, 12: 21, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, { 6: n, 9: 22, 12: 11, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, { 6: b, 7: m, 10: 23, 11: w }, t(N, [2, 22], { 17: 17, 18: 18, 14: 27, 15: [1, 28], 16: [1, 29], 19: p, 22: y }), t(N, [2, 18]), t(N, [2, 19]), t(N, [2, 20]), t(N, [2, 21]), t(N, [2, 23]), t(N, [2, 24]), t(N, [2, 26], { 19: [1, 30] }), { 20: [1, 31] }, { 6: b, 7: m, 10: 32, 11: w }, { 1: [2, 7], 6: n, 12: 21, 13: c, 14: 14, 15: u, 16: h, 17: 17, 18: 18, 19: p, 22: y }, t(J, [2, 14], { 7: K, 11: Q }), t(A, [2, 8]), t(A, [2, 9]), t(A, [2, 10]), t(N, [2, 15]), t(N, [2, 16]), t(N, [2, 17]), { 20: [1, 35] }, { 21: [1, 36] }, t(J, [2, 13], { 7: K, 11: Q }), t(A, [2, 11]), t(A, [2, 12]), { 21: [1, 37] }, t(N, [2, 25]), t(N, [2, 27])],
|
|
91
91
|
defaultActions: { 2: [2, 1], 6: [2, 2] },
|
|
92
92
|
parseError: /* @__PURE__ */ l(function(s, i) {
|
|
93
93
|
if (i.recoverable)
|
|
@@ -99,20 +99,20 @@ var q = function() {
|
|
|
99
99
|
}, "parseError"),
|
|
100
100
|
parse: /* @__PURE__ */ l(function(s) {
|
|
101
101
|
var i = this, a = [0], o = [], g = [null], r = [], U = this.table, d = "", M = 0, Z = 0, re = 2, ee = 1, ae = r.slice.call(arguments, 1), f = Object.create(this.lexer), T = { yy: {} };
|
|
102
|
-
for (var
|
|
103
|
-
Object.prototype.hasOwnProperty.call(this.yy,
|
|
102
|
+
for (var $ in this.yy)
|
|
103
|
+
Object.prototype.hasOwnProperty.call(this.yy, $) && (T.yy[$] = this.yy[$]);
|
|
104
104
|
f.setInput(s, T.yy), T.yy.lexer = f, T.yy.parser = this, typeof f.yylloc > "u" && (f.yylloc = {});
|
|
105
|
-
var
|
|
106
|
-
r.push(
|
|
105
|
+
var H = f.yylloc;
|
|
106
|
+
r.push(H);
|
|
107
107
|
var oe = f.options && f.options.ranges;
|
|
108
108
|
typeof T.yy.parseError == "function" ? this.parseError = T.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
109
|
-
function ce(
|
|
110
|
-
a.length = a.length - 2 *
|
|
109
|
+
function ce(D) {
|
|
110
|
+
a.length = a.length - 2 * D, g.length = g.length - D, r.length = r.length - D;
|
|
111
111
|
}
|
|
112
112
|
l(ce, "popStack");
|
|
113
113
|
function te() {
|
|
114
|
-
var
|
|
115
|
-
return
|
|
114
|
+
var D;
|
|
115
|
+
return D = o.pop() || f.lex() || ee, typeof D != "number" && (D instanceof Array && (o = D, D = o.pop()), D = i.symbols_[D] || D), D;
|
|
116
116
|
}
|
|
117
117
|
l(te, "lex");
|
|
118
118
|
for (var S, O, k, z, I = {}, V, L, ie, B; ; ) {
|
|
@@ -127,7 +127,7 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "
|
|
|
127
127
|
text: f.match,
|
|
128
128
|
token: this.terminals_[S] || S,
|
|
129
129
|
line: f.yylineno,
|
|
130
|
-
loc:
|
|
130
|
+
loc: H,
|
|
131
131
|
expected: B
|
|
132
132
|
});
|
|
133
133
|
}
|
|
@@ -135,7 +135,7 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "
|
|
|
135
135
|
throw new Error("Parse Error: multiple actions possible at state: " + O + ", token: " + S);
|
|
136
136
|
switch (k[0]) {
|
|
137
137
|
case 1:
|
|
138
|
-
a.push(S), g.push(f.yytext), r.push(f.yylloc), a.push(k[1]), S = null, Z = f.yyleng, d = f.yytext, M = f.yylineno,
|
|
138
|
+
a.push(S), g.push(f.yytext), r.push(f.yylloc), a.push(k[1]), S = null, Z = f.yyleng, d = f.yytext, M = f.yylineno, H = f.yylloc;
|
|
139
139
|
break;
|
|
140
140
|
case 2:
|
|
141
141
|
if (L = this.productions_[k[1]][1], I.$ = g[g.length - L], I._$ = {
|
|
@@ -432,7 +432,7 @@ Expecting ` + B.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : W = "
|
|
|
432
432
|
return l(P, "Parser"), P.prototype = G, G.Parser = P, new P();
|
|
433
433
|
}();
|
|
434
434
|
q.parser = q;
|
|
435
|
-
var
|
|
435
|
+
var Ne = q, x = {
|
|
436
436
|
DEFAULT: 0,
|
|
437
437
|
NO_BORDER: 0,
|
|
438
438
|
ROUNDED_RECT: 1,
|
|
@@ -441,7 +441,7 @@ var De = q, x = {
|
|
|
441
441
|
CLOUD: 4,
|
|
442
442
|
BANG: 5,
|
|
443
443
|
HEXAGON: 6
|
|
444
|
-
}, R,
|
|
444
|
+
}, R, De = (R = class {
|
|
445
445
|
constructor() {
|
|
446
446
|
this.nodes = [], this.count = 0, this.elements = {}, this.getLogger = this.getLogger.bind(this), this.nodeType = x, this.clear(), this.getType = this.getType.bind(this), this.getElementById = this.getElementById.bind(this), this.getParent = this.getParent.bind(this), this.getMindmap = this.getMindmap.bind(this), this.addNode = this.addNode.bind(this), this.decorateNode = this.decorateNode.bind(this);
|
|
447
447
|
}
|
|
@@ -775,10 +775,10 @@ var De = q, x = {
|
|
|
775
775
|
}
|
|
776
776
|
`, "getStyles"), Te = ve, Re = {
|
|
777
777
|
get db() {
|
|
778
|
-
return new
|
|
778
|
+
return new De();
|
|
779
779
|
},
|
|
780
780
|
renderer: Le,
|
|
781
|
-
parser:
|
|
781
|
+
parser: Ne,
|
|
782
782
|
styles: Te
|
|
783
783
|
};
|
|
784
784
|
export {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a$ as S, aT as z, bu as Z, as as q, ae as H, af as J, a1 as K, a2 as Q, a4 as X, a3 as Y, $ as g, ab as F, al as ee, a5 as te, at as ae, ax as re, aE as ne, ac as ie } from "./CoachForm.js";
|
|
2
2
|
import { p as se } from "./chunk-4BX2VUAB.js";
|
|
3
3
|
import { p as le } from "./mermaid-parser.core.js";
|
|
4
4
|
import "./redux-toolkit.modern.js";
|
|
@@ -144,13 +144,13 @@ var L = q.pie, G = {
|
|
|
144
144
|
label: r,
|
|
145
145
|
value: M
|
|
146
146
|
})), k = p.selectAll(".legend").data(O).enter().append("g").attr("class", "legend").attr("transform", (r, M) => {
|
|
147
|
-
const R = n + c,
|
|
147
|
+
const R = n + c, V = R * O.length / 2, U = 12 * n, j = M * R - V;
|
|
148
148
|
return "translate(" + U + "," + j + ")";
|
|
149
149
|
});
|
|
150
150
|
k.append("rect").attr("width", n).attr("height", n).style("fill", (r) => E(r.label)).style("stroke", (r) => E(r.label)), k.append("text").attr("x", n + c).attr("y", n - c).text((r) => s.getShowData() ? `${r.label} [${r.value}]` : r.label);
|
|
151
|
-
const
|
|
151
|
+
const B = Math.max(
|
|
152
152
|
...k.selectAll("text").nodes().map((r) => (r == null ? void 0 : r.getBoundingClientRect().width) ?? 0)
|
|
153
|
-
), P = y + t + n + c +
|
|
153
|
+
), P = y + t + n + c + B;
|
|
154
154
|
m.attr("viewBox", `0 0 ${P} ${u}`), ie(m, u, P, l.useMaxWidth);
|
|
155
155
|
}, "draw"), $e = { draw: Ce }, Fe = {
|
|
156
156
|
parser: ye,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as o, az as _e, as as D, ab as At, a5 as wt, aa as Ae, af as ie, a1 as ke, a2 as Fe, ae as Pe, a3 as ve, a4 as Ce, al as Le, ac as Ee } from "./CoachForm.js";
|
|
2
2
|
import { s as zt } from "./redux-toolkit.modern.js";
|
|
3
3
|
import { l as ee } from "./linear.js";
|
|
4
4
|
var Vt = function() {
|