@altimateai/ui-components 0.0.72-beta4 → 0.0.72-beta6
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 +3406 -3431
- package/dist/_basePickBy.js +76 -76
- package/dist/_baseUniq.js +197 -197
- package/dist/arc.js +36 -36
- package/dist/architectureDiagram-VXUJARFQ.js +1 -1
- package/dist/blockDiagram-VD42YOAC.js +1 -1
- package/dist/c4Diagram-YG6GDRKO.js +22 -22
- package/dist/channel.js +2 -2
- package/dist/chatbotV2/index.js +48 -48
- package/dist/chunk-4BX2VUAB.js +1 -1
- package/dist/chunk-55IACEB6.js +2 -2
- package/dist/chunk-B4BG7PRW.js +1 -1
- package/dist/chunk-DI55MBZ5.js +1 -1
- package/dist/chunk-FMBD7UC4.js +1 -1
- package/dist/chunk-QN33PNHL.js +5 -5
- package/dist/chunk-QZHKN3VN.js +1 -1
- package/dist/chunk-TZMSLE5B.js +1 -1
- package/dist/classDiagram-2ON5EDUG.js +1 -1
- package/dist/classDiagram-v2-WZHVMYZB.js +1 -1
- package/dist/cose-bilkent-S5V4N54A.js +1 -1
- package/dist/dagre-6UL2VRFP.js +58 -58
- package/dist/diagram-PSM6KHXK.js +69 -69
- package/dist/diagram-QEK2KX5R.js +26 -26
- package/dist/diagram-S2PKOQOG.js +9 -9
- package/dist/erDiagram-Q2GNP2WA.js +12 -12
- package/dist/flowDiagram-NV44I4VS.js +6 -6
- package/dist/ganttDiagram-LVOFAZNH.js +322 -322
- package/dist/gitGraphDiagram-NY62KEGX.js +13 -13
- package/dist/graph.js +5 -5
- package/dist/index.js +30 -30
- package/dist/infoDiagram-F6ZHWCRC.js +14 -14
- package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
- package/dist/kanban-definition-3W4ZIXB7.js +54 -54
- package/dist/layout.js +68 -68
- package/dist/main.js +1 -1
- package/dist/mermaid-parser.core.js +155 -155
- package/dist/mindmap-definition-VGOIOE7T.js +16 -16
- package/dist/pieDiagram-ADFJNKIX.js +25 -25
- package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
- package/dist/requirementDiagram-UZGBJVZJ.js +1 -1
- package/dist/sankeyDiagram-TZEHDZUN.js +16 -16
- package/dist/sequenceDiagram-WL72ISMW.js +28 -28
- package/dist/stateDiagram-FKZM4ZOC.js +34 -34
- package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
- package/dist/timeline-definition-IT6M3QCI.js +54 -54
- package/dist/xychartDiagram-PRI3JC2R.js +32 -32
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as a, bv as gi, ad as Xt, aJ as Wt, aB as xi, aw as St, av as Nt, au as di, ac as fi, ah as Yt, a3 as pi, a4 as mi, ag as yi, a5 as bi, a6 as Ai, an as wi, az as Ci, ae as Si } from "./CoachForm.js";
|
|
2
2
|
import "./redux-toolkit.modern.js";
|
|
3
3
|
import { i as _i } from "./init.js";
|
|
4
4
|
import { o as ki } from "./ordinal.js";
|
|
@@ -173,7 +173,7 @@ var bt = function() {
|
|
|
173
173
|
return V = d.pop() || T.lex() || Mt, typeof V != "number" && (V instanceof Array && (d = V, V = d.pop()), V = u.symbols_[V] || V), V;
|
|
174
174
|
}
|
|
175
175
|
a(Vt, "lex");
|
|
176
|
-
for (var M, H, B, pt,
|
|
176
|
+
for (var M, H, B, pt, q = {}, ct, F, Bt, ut; ; ) {
|
|
177
177
|
if (H = x[x.length - 1], this.defaultActions[H] ? B = this.defaultActions[H] : ((M === null || typeof M > "u") && (M = Vt()), B = at[H] && at[H][M]), typeof B > "u" || !B.length || !B[0]) {
|
|
178
178
|
var mt = "";
|
|
179
179
|
ut = [];
|
|
@@ -196,15 +196,15 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : mt =
|
|
|
196
196
|
x.push(M), w.push(T.yytext), r.push(T.yylloc), x.push(B[1]), M = null, It = T.yyleng, f = T.yytext, lt = T.yylineno, ft = T.yylloc;
|
|
197
197
|
break;
|
|
198
198
|
case 2:
|
|
199
|
-
if (F = this.productions_[B[1]][1],
|
|
199
|
+
if (F = this.productions_[B[1]][1], q.$ = w[w.length - F], q._$ = {
|
|
200
200
|
first_line: r[r.length - (F || 1)].first_line,
|
|
201
201
|
last_line: r[r.length - 1].last_line,
|
|
202
202
|
first_column: r[r.length - (F || 1)].first_column,
|
|
203
203
|
last_column: r[r.length - 1].last_column
|
|
204
|
-
}, ci && (
|
|
204
|
+
}, ci && (q._$.range = [
|
|
205
205
|
r[r.length - (F || 1)].range[0],
|
|
206
206
|
r[r.length - 1].range[1]
|
|
207
|
-
]), pt = this.performAction.apply(
|
|
207
|
+
]), pt = this.performAction.apply(q, [
|
|
208
208
|
f,
|
|
209
209
|
It,
|
|
210
210
|
lt,
|
|
@@ -214,7 +214,7 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : mt =
|
|
|
214
214
|
r
|
|
215
215
|
].concat(li)), typeof pt < "u")
|
|
216
216
|
return pt;
|
|
217
|
-
F && (x = x.slice(0, -1 * F * 2), w = w.slice(0, -1 * F), r = r.slice(0, -1 * F)), x.push(this.productions_[B[1]][0]), w.push(
|
|
217
|
+
F && (x = x.slice(0, -1 * F * 2), w = w.slice(0, -1 * F), r = r.slice(0, -1 * F)), x.push(this.productions_[B[1]][0]), w.push(q.$), r.push(q._$), Bt = at[x[x.length - 2]][x[x.length - 1]], x.push(Bt);
|
|
218
218
|
break;
|
|
219
219
|
case 3:
|
|
220
220
|
return !0;
|
|
@@ -516,11 +516,11 @@ function _t(e) {
|
|
|
516
516
|
return e.type === "band";
|
|
517
517
|
}
|
|
518
518
|
a(_t, "isBandAxisData");
|
|
519
|
-
function
|
|
519
|
+
function G(e) {
|
|
520
520
|
return e.type === "linear";
|
|
521
521
|
}
|
|
522
|
-
a(
|
|
523
|
-
var
|
|
522
|
+
a(G, "isLinearAxisData");
|
|
523
|
+
var j, Ht = (j = class {
|
|
524
524
|
constructor(t) {
|
|
525
525
|
this.parentGroup = t;
|
|
526
526
|
}
|
|
@@ -540,7 +540,7 @@ var q, Ht = (q = class {
|
|
|
540
540
|
}
|
|
541
541
|
return n.remove(), s;
|
|
542
542
|
}
|
|
543
|
-
}, a(
|
|
543
|
+
}, a(j, "TextDimensionCalculatorWithFont"), j), Ot = 0.7, Ft = 0.2, Q, Ut = (Q = class {
|
|
544
544
|
constructor(t, i, s, n) {
|
|
545
545
|
this.axisConfig = t, this.title = i, this.textDimensionCalculator = s, this.axisThemeConfig = n, this.boundingRect = { x: 0, y: 0, width: 0, height: 0 }, this.axisPosition = "left", this.showTitle = !1, this.showLabel = !1, this.showTick = !1, this.showAxisLine = !1, this.outerPadding = 0, this.titleTextHeight = 0, this.labelTextHeight = 0, this.range = [0, 10], this.boundingRect = { x: 0, y: 0, width: 0, height: 0 }, this.axisPosition = "left";
|
|
546
546
|
}
|
|
@@ -809,7 +809,7 @@ var q, Ht = (q = class {
|
|
|
809
809
|
getScaleValue(t) {
|
|
810
810
|
return this.scale(t) ?? this.getRange()[0];
|
|
811
811
|
}
|
|
812
|
-
}, a(K, "BandAxis"), K),
|
|
812
|
+
}, a(K, "BandAxis"), K), J, vi = (J = class extends Ut {
|
|
813
813
|
constructor(t, i, s, n, o) {
|
|
814
814
|
super(t, n, o, i), this.domain = s, this.scale = zt().domain(this.domain).range(this.getRange());
|
|
815
815
|
}
|
|
@@ -823,7 +823,7 @@ var q, Ht = (q = class {
|
|
|
823
823
|
getScaleValue(t) {
|
|
824
824
|
return this.scale(t);
|
|
825
825
|
}
|
|
826
|
-
}, a(
|
|
826
|
+
}, a(J, "LinearAxis"), J);
|
|
827
827
|
function wt(e, t, i, s) {
|
|
828
828
|
const n = new Ht(s);
|
|
829
829
|
return _t(e) ? new Di(
|
|
@@ -841,7 +841,7 @@ function wt(e, t, i, s) {
|
|
|
841
841
|
);
|
|
842
842
|
}
|
|
843
843
|
a(wt, "getAxis");
|
|
844
|
-
var
|
|
844
|
+
var Z, Pi = (Z = class {
|
|
845
845
|
constructor(t, i, s, n) {
|
|
846
846
|
this.textDimensionCalculator = t, this.chartConfig = i, this.chartData = s, this.chartThemeConfig = n, this.boundingRect = {
|
|
847
847
|
x: 0,
|
|
@@ -882,7 +882,7 @@ var J, Pi = (J = class {
|
|
|
882
882
|
]
|
|
883
883
|
}), t;
|
|
884
884
|
}
|
|
885
|
-
}, a(
|
|
885
|
+
}, a(Z, "ChartTitle"), Z);
|
|
886
886
|
function $t(e, t, i, s) {
|
|
887
887
|
const n = new Ht(s);
|
|
888
888
|
return new Pi(n, e, t, i);
|
|
@@ -1007,15 +1007,15 @@ var tt, Li = (tt = class {
|
|
|
1007
1007
|
return t;
|
|
1008
1008
|
}
|
|
1009
1009
|
}, a(et, "BasePlot"), et);
|
|
1010
|
-
function
|
|
1010
|
+
function qt(e, t, i) {
|
|
1011
1011
|
return new Ii(e, t, i);
|
|
1012
1012
|
}
|
|
1013
|
-
a(
|
|
1013
|
+
a(qt, "getPlotComponent");
|
|
1014
1014
|
var st, Mi = (st = class {
|
|
1015
1015
|
constructor(t, i, s, n) {
|
|
1016
1016
|
this.chartConfig = t, this.chartData = i, this.componentStore = {
|
|
1017
1017
|
title: $t(t, i, s, n),
|
|
1018
|
-
plot:
|
|
1018
|
+
plot: qt(t, i, s),
|
|
1019
1019
|
xAxis: wt(
|
|
1020
1020
|
i.xAxis,
|
|
1021
1021
|
t.xAxis,
|
|
@@ -1097,7 +1097,7 @@ var st, Mi = (st = class {
|
|
|
1097
1097
|
static build(t, i, s, n) {
|
|
1098
1098
|
return new Mi(t, i, s, n).getDrawableElement();
|
|
1099
1099
|
}
|
|
1100
|
-
}, a(nt, "XYChartBuilder"), nt), rt = 0,
|
|
1100
|
+
}, a(nt, "XYChartBuilder"), nt), rt = 0, Gt, ot = Tt(), ht = Rt(), A = Dt(), Ct = ht.plotColorPalette.split(",").map((e) => e.trim()), gt = !1, kt = !1;
|
|
1101
1101
|
function Rt() {
|
|
1102
1102
|
const e = xi(), t = St();
|
|
1103
1103
|
return Nt(e.xyChart, t.themeVariables.xyChart);
|
|
@@ -1134,10 +1134,10 @@ function xt(e) {
|
|
|
1134
1134
|
return fi(e.trim(), t);
|
|
1135
1135
|
}
|
|
1136
1136
|
a(xt, "textSanitizer");
|
|
1137
|
-
function
|
|
1138
|
-
|
|
1137
|
+
function jt(e) {
|
|
1138
|
+
Gt = e;
|
|
1139
1139
|
}
|
|
1140
|
-
a(
|
|
1140
|
+
a(jt, "setTmpSVGG");
|
|
1141
1141
|
function Qt(e) {
|
|
1142
1142
|
e === "horizontal" ? ot.chartOrientation = "horizontal" : ot.chartOrientation = "vertical";
|
|
1143
1143
|
}
|
|
@@ -1150,24 +1150,24 @@ function vt(e, t) {
|
|
|
1150
1150
|
A.xAxis = { type: "linear", title: A.xAxis.title, min: e, max: t }, gt = !0;
|
|
1151
1151
|
}
|
|
1152
1152
|
a(vt, "setXAxisRangeData");
|
|
1153
|
-
function
|
|
1153
|
+
function Jt(e) {
|
|
1154
1154
|
A.xAxis = {
|
|
1155
1155
|
type: "band",
|
|
1156
1156
|
title: A.xAxis.title,
|
|
1157
1157
|
categories: e.map((t) => xt(t.text))
|
|
1158
1158
|
}, gt = !0;
|
|
1159
1159
|
}
|
|
1160
|
-
a(
|
|
1161
|
-
function
|
|
1160
|
+
a(Jt, "setXAxisBand");
|
|
1161
|
+
function Zt(e) {
|
|
1162
1162
|
A.yAxis.title = xt(e.text);
|
|
1163
1163
|
}
|
|
1164
|
-
a(
|
|
1164
|
+
a(Zt, "setYAxisTitle");
|
|
1165
1165
|
function ti(e, t) {
|
|
1166
1166
|
A.yAxis = { type: "linear", title: A.yAxis.title, min: e, max: t }, kt = !0;
|
|
1167
1167
|
}
|
|
1168
1168
|
a(ti, "setYAxisRangeData");
|
|
1169
1169
|
function ii(e) {
|
|
1170
|
-
const t = Math.min(...e), i = Math.max(...e), s =
|
|
1170
|
+
const t = Math.min(...e), i = Math.max(...e), s = G(A.yAxis) ? A.yAxis.min : 1 / 0, n = G(A.yAxis) ? A.yAxis.max : -1 / 0;
|
|
1171
1171
|
A.yAxis = {
|
|
1172
1172
|
type: "linear",
|
|
1173
1173
|
title: A.yAxis.title,
|
|
@@ -1181,10 +1181,10 @@ function Pt(e) {
|
|
|
1181
1181
|
if (e.length === 0)
|
|
1182
1182
|
return t;
|
|
1183
1183
|
if (!gt) {
|
|
1184
|
-
const i =
|
|
1184
|
+
const i = G(A.xAxis) ? A.xAxis.min : 1 / 0, s = G(A.xAxis) ? A.xAxis.max : -1 / 0;
|
|
1185
1185
|
vt(Math.min(i, 1), Math.max(s, e.length));
|
|
1186
1186
|
}
|
|
1187
|
-
if (kt || ii(e), _t(A.xAxis) && (t = A.xAxis.categories.map((i, s) => [i, e[s]])),
|
|
1187
|
+
if (kt || ii(e), _t(A.xAxis) && (t = A.xAxis.categories.map((i, s) => [i, e[s]])), G(A.xAxis)) {
|
|
1188
1188
|
const i = A.xAxis.min, s = A.xAxis.max, n = (s - i) / (e.length - 1), o = [];
|
|
1189
1189
|
for (let g = i; g <= s; g += n)
|
|
1190
1190
|
o.push(`${g}`);
|
|
@@ -1219,7 +1219,7 @@ a(si, "setBarData");
|
|
|
1219
1219
|
function ni() {
|
|
1220
1220
|
if (A.plots.length === 0)
|
|
1221
1221
|
throw Error("No Plot to render, please provide a plot with some data");
|
|
1222
|
-
return A.title = Yt(), Vi.build(ot, A, ht,
|
|
1222
|
+
return A.title = Yt(), Vi.build(ot, A, ht, Gt);
|
|
1223
1223
|
}
|
|
1224
1224
|
a(ni, "getDrawableElem");
|
|
1225
1225
|
function ai() {
|
|
@@ -1248,12 +1248,12 @@ var Bi = /* @__PURE__ */ a(function() {
|
|
|
1248
1248
|
setOrientation: Qt,
|
|
1249
1249
|
setXAxisTitle: Kt,
|
|
1250
1250
|
setXAxisRangeData: vt,
|
|
1251
|
-
setXAxisBand:
|
|
1252
|
-
setYAxisTitle:
|
|
1251
|
+
setXAxisBand: Jt,
|
|
1252
|
+
setYAxisTitle: Zt,
|
|
1253
1253
|
setYAxisRangeData: ti,
|
|
1254
1254
|
setLineData: ei,
|
|
1255
1255
|
setBarData: si,
|
|
1256
|
-
setTmpSVGG:
|
|
1256
|
+
setTmpSVGG: jt,
|
|
1257
1257
|
getChartThemeConfig: ai,
|
|
1258
1258
|
getChartConfig: ri,
|
|
1259
1259
|
getXYChartData: oi
|