@foris/ai-agent 0.3.0 → 0.4.1

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.
Files changed (58) hide show
  1. package/dist/ai-agent.es.js +3 -3
  2. package/dist/ai-agent.umd.js +620 -610
  3. package/dist/ai-prompt-code-editor/PromptCodeEditor.d.ts +20 -0
  4. package/dist/ai-prompt-code-editor/index.d.ts +1 -0
  5. package/dist/ai-prompt-code-editor/promptCodeEditor.mock.d.ts +5 -0
  6. package/dist/arc-CONcyq9a.js +85 -0
  7. package/dist/{architectureDiagram-VXUJARFQ-CuFlEJrK.js → architectureDiagram-VXUJARFQ-rKQ4Lyhz.js} +3 -3
  8. package/dist/{blockDiagram-VD42YOAC-Ceho4Zhj.js → blockDiagram-VD42YOAC-q8x-nl-I.js} +46 -46
  9. package/dist/{c4Diagram-YG6GDRKO-zPB3iQJ7.js → c4Diagram-YG6GDRKO-BCtZ1arM.js} +3 -3
  10. package/dist/channel-Bk9jsMES.js +5 -0
  11. package/dist/{chunk-4BX2VUAB-BZlHuf6l.js → chunk-4BX2VUAB-wPZhboqx.js} +1 -1
  12. package/dist/{chunk-55IACEB6-Dr8rgvy_.js → chunk-55IACEB6-BV8ciSb1.js} +1 -1
  13. package/dist/{chunk-B4BG7PRW-Ccllo2e-.js → chunk-B4BG7PRW-DsX0HPSj.js} +11 -11
  14. package/dist/{chunk-DI55MBZ5-DvAROTIr.js → chunk-DI55MBZ5-jq2QyBxN.js} +44 -44
  15. package/dist/{chunk-FMBD7UC4-CVr83prI.js → chunk-FMBD7UC4-YR7nwd5V.js} +1 -1
  16. package/dist/{chunk-QN33PNHL-nSyFq8_s.js → chunk-QN33PNHL-CEVf-TA_.js} +1 -1
  17. package/dist/{chunk-QZHKN3VN-Dg8JYP6e.js → chunk-QZHKN3VN-BjRs8z1O.js} +1 -1
  18. package/dist/{chunk-TZMSLE5B-Bmj6LGNW.js → chunk-TZMSLE5B-C1vaDaHJ.js} +1 -1
  19. package/dist/{classDiagram-2ON5EDUG-DAkxtl6o.js → classDiagram-2ON5EDUG-B4QDlpZ1.js} +6 -6
  20. package/dist/{classDiagram-v2-WZHVMYZB-DAkxtl6o.js → classDiagram-v2-WZHVMYZB-B4QDlpZ1.js} +6 -6
  21. package/dist/code-block-QI2IAROF-CqxV97B3.js +2812 -0
  22. package/dist/{cose-bilkent-S5V4N54A-DwRYWoaW.js → cose-bilkent-S5V4N54A-Ct46NMY7.js} +2 -2
  23. package/dist/{dagre-6UL2VRFP-imN1Fyg8.js → dagre-6UL2VRFP-DmQvQIeM.js} +3 -3
  24. package/dist/{diagram-PSM6KHXK-DAIDeBLn.js → diagram-PSM6KHXK-CkgrbT_2.js} +47 -47
  25. package/dist/{diagram-QEK2KX5R-DQFy-qK9.js → diagram-QEK2KX5R-CC4kNfLh.js} +13 -13
  26. package/dist/{diagram-S2PKOQOG-Hlk0Nx_Y.js → diagram-S2PKOQOG-Bn5_K1zg.js} +16 -16
  27. package/dist/{erDiagram-Q2GNP2WA-C8PZPSaf.js → erDiagram-Q2GNP2WA-DUUsccBq.js} +5 -5
  28. package/dist/{flowDiagram-NV44I4VS-CgTiIFnt.js → flowDiagram-NV44I4VS-BphIgEre.js} +6 -6
  29. package/dist/{ganttDiagram-JELNMOA3-DzYZEAE_.js → ganttDiagram-JELNMOA3-DB4uV-5E.js} +3 -3
  30. package/dist/{gitGraphDiagram-NY62KEGX-CPwI-Uag.js → gitGraphDiagram-NY62KEGX-CsGGzPy-.js} +16 -16
  31. package/dist/hooks/useCodeTransform.d.ts +14 -0
  32. package/dist/{index-C2DJ8qoy.js → index-4odIPslx.js} +18502 -11456
  33. package/dist/index.d.ts +2 -2
  34. package/dist/{infoDiagram-WHAUD3N6-CcN7ZNYI.js → infoDiagram-WHAUD3N6-DumQO9Nk.js} +2 -2
  35. package/dist/{journeyDiagram-XKPGCS4Q-BACao6jz.js → journeyDiagram-XKPGCS4Q-v431C5nB.js} +5 -5
  36. package/dist/{kanban-definition-3W4ZIXB7-Jb7Xwf92.js → kanban-definition-3W4ZIXB7-fvrRkH6c.js} +39 -39
  37. package/dist/{linear-CxGB80S5.js → linear-B5gvsjso.js} +1 -1
  38. package/dist/{mermaid-NA5CF7SZ-DekDSZe_.js → mermaid-NA5CF7SZ-DPw9pyDl.js} +1 -1
  39. package/dist/{mermaid.core-xMGW442o.js → mermaid.core-fgysRC67.js} +87 -87
  40. package/dist/{mindmap-definition-VGOIOE7T-UHZgRHb7.js → mindmap-definition-VGOIOE7T-DYVMZ5_0.js} +69 -69
  41. package/dist/{pieDiagram-ADFJNKIX-CHrTFTbw.js → pieDiagram-ADFJNKIX-ChUQ9M0l.js} +23 -23
  42. package/dist/{quadrantDiagram-AYHSOK5B-CDfhMB18.js → quadrantDiagram-AYHSOK5B-CCuKtq8U.js} +3 -3
  43. package/dist/{requirementDiagram-UZGBJVZJ-C0aeVQh6.js → requirementDiagram-UZGBJVZJ-CX2K4M3c.js} +4 -4
  44. package/dist/{sankeyDiagram-TZEHDZUN-kjxRgXd2.js → sankeyDiagram-TZEHDZUN-DDTggF6e.js} +2 -2
  45. package/dist/{sequenceDiagram-WL72ISMW-Bs0jyVuH.js → sequenceDiagram-WL72ISMW-hLodMsLa.js} +4 -4
  46. package/dist/services/fetch-api/FetchApi.d.ts +1 -0
  47. package/dist/{stateDiagram-FKZM4ZOC-CAWwlh9R.js → stateDiagram-FKZM4ZOC-BsygERhX.js} +12 -12
  48. package/dist/{stateDiagram-v2-4FDKWEC3-9TYlTzc3.js → stateDiagram-v2-4FDKWEC3-D_QAMIGV.js} +5 -5
  49. package/dist/style.css +1 -1
  50. package/dist/tailwind.css +93 -0
  51. package/dist/{timeline-definition-IT6M3QCI-DrPozOxH.js → timeline-definition-IT6M3QCI-DdL3lWtw.js} +47 -47
  52. package/dist/{xychartDiagram-PRI3JC2R-BkO8dJff.js → xychartDiagram-PRI3JC2R-vUb07G9z.js} +35 -35
  53. package/package.json +2 -1
  54. package/dist/ai-input-action/InputAction.d.ts +0 -8
  55. package/dist/ai-input-action/index.d.ts +0 -1
  56. package/dist/arc-DN1xn8kz.js +0 -85
  57. package/dist/channel-BC4mWQQF.js +0 -5
  58. package/dist/code-block-QI2IAROF-DN-BnDmt.js +0 -9263
package/dist/tailwind.css CHANGED
@@ -124,3 +124,96 @@
124
124
  @apply bg-background text-foreground;
125
125
  }
126
126
  }
127
+
128
+ /* Shiki Notation Diff Styles */
129
+ .line.diff {
130
+ transition: background-color 0.5s;
131
+ margin: 0 -16px;
132
+ padding: 0 16px;
133
+ width: calc(100% + 32px);
134
+ display: inline-block;
135
+ position: relative;
136
+ vertical-align: baseline;
137
+ line-height: 1.5;
138
+ }
139
+
140
+ .line.diff.add {
141
+ background-color: rgba(34, 197, 94, 0.15);
142
+ }
143
+
144
+ .line.diff.add::before {
145
+ content: '+';
146
+ position: absolute;
147
+ left: 7px;
148
+ color: rgba(34, 197, 94, 0.8);
149
+ font-weight: 600;
150
+ font-size: 0.875rem;
151
+ line-height: 1.5;
152
+ top: 0;
153
+ pointer-events: none;
154
+ }
155
+
156
+ .line.diff.remove {
157
+ background-color: rgba(239, 68, 68, 0.15);
158
+ opacity: 0.7;
159
+ }
160
+
161
+ .line.diff.remove::before {
162
+ content: '-';
163
+ position: absolute;
164
+ left: 7px;
165
+ color: rgba(239, 68, 68, 0.8);
166
+ font-weight: 600;
167
+ font-size: 0.875rem;
168
+ line-height: 1.5;
169
+ top: 0;
170
+ pointer-events: none;
171
+ }
172
+
173
+ .line.highlighted {
174
+ background-color: rgba(59, 130, 246, 0.15);
175
+ position: relative;
176
+ display: inline-block;
177
+ margin: 0 -16px;
178
+ padding: 0 16px;
179
+ width: calc(100% + 32px);
180
+ vertical-align: baseline;
181
+ line-height: 1.5;
182
+ }
183
+
184
+ .line.highlighted.error {
185
+ background-color: rgba(239, 68, 68, 0.2);
186
+ }
187
+
188
+ .line.highlighted.warning {
189
+ background-color: rgba(234, 179, 8, 0.2);
190
+ }
191
+
192
+ /* Dark mode styles */
193
+ .dark .line.diff.add {
194
+ background-color: rgba(34, 197, 94, 0.25);
195
+ }
196
+
197
+ .dark .line.diff.add::before {
198
+ color: rgba(34, 197, 94, 0.9);
199
+ }
200
+
201
+ .dark .line.diff.remove {
202
+ background-color: rgba(239, 68, 68, 0.25);
203
+ }
204
+
205
+ .dark .line.diff.remove::before {
206
+ color: rgba(239, 68, 68, 0.9);
207
+ }
208
+
209
+ .dark .line.highlighted {
210
+ background-color: rgba(59, 130, 246, 0.25);
211
+ }
212
+
213
+ .dark .line.highlighted.error {
214
+ background-color: rgba(239, 68, 68, 0.3);
215
+ }
216
+
217
+ .dark .line.highlighted.warning {
218
+ background-color: rgba(234, 179, 8, 0.3);
219
+ }
@@ -1,6 +1,6 @@
1
- import { _ as s, B as xt, V as kt, t as vt, j as q, d as _t, l as E, W as bt, X as wt, Y as St, $ as Et } from "./mermaid.core-xMGW442o.js";
2
- import { d as nt } from "./arc-DN1xn8kz.js";
3
- import "./index-C2DJ8qoy.js";
1
+ import { _ as s, D as xt, ac as kt, v as vt, j as q, d as _t, l as E, ad as bt, ae as wt, af as St, ag as Et } from "./mermaid.core-fgysRC67.js";
2
+ import { d as nt } from "./arc-CONcyq9a.js";
3
+ import "./index-4odIPslx.js";
4
4
  import "react";
5
5
  import "react-dom";
6
6
  var X = function() {
@@ -66,13 +66,13 @@ var X = function() {
66
66
  }
67
67
  }, "parseError"),
68
68
  parse: /* @__PURE__ */ s(function(r) {
69
- var a = this, h = [0], u = [], y = [null], o = [], S = this.table, k = "", $ = 0, C = 0, B = 2, J = 1, O = o.slice.call(arguments, 1), v = Object.create(this.lexer), N = { yy: {} };
69
+ var a = this, h = [0], u = [], y = [null], o = [], S = this.table, k = "", M = 0, C = 0, B = 2, J = 1, O = o.slice.call(arguments, 1), v = Object.create(this.lexer), N = { yy: {} };
70
70
  for (var L in this.yy)
71
71
  Object.prototype.hasOwnProperty.call(this.yy, L) && (N.yy[L] = this.yy[L]);
72
72
  v.setInput(r, N.yy), N.yy.lexer = v, N.yy.parser = this, typeof v.yylloc > "u" && (v.yylloc = {});
73
73
  var b = v.yylloc;
74
74
  o.push(b);
75
- var M = v.options && v.options.ranges;
75
+ var $ = v.options && v.options.ranges;
76
76
  typeof N.yy.parseError == "function" ? this.parseError = N.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
77
77
  function R(T) {
78
78
  h.length = h.length - 2 * T, y.length = y.length - T, o.length = o.length - T;
@@ -83,15 +83,15 @@ var X = function() {
83
83
  return T = u.pop() || v.lex() || J, typeof T != "number" && (T instanceof Array && (u = T, T = u.pop()), T = a.symbols_[T] || T), T;
84
84
  }
85
85
  s(A, "lex");
86
- for (var w, H, I, K, V = {}, j, P, et, G; ; ) {
86
+ for (var w, H, I, K, z = {}, j, P, et, G; ; ) {
87
87
  if (H = h[h.length - 1], this.defaultActions[H] ? I = this.defaultActions[H] : ((w === null || typeof w > "u") && (w = A()), I = S[H] && S[H][w]), typeof I > "u" || !I.length || !I[0]) {
88
88
  var Q = "";
89
89
  G = [];
90
90
  for (j in S[H])
91
91
  this.terminals_[j] && j > B && G.push("'" + this.terminals_[j] + "'");
92
- v.showPosition ? Q = "Parse error on line " + ($ + 1) + `:
92
+ v.showPosition ? Q = "Parse error on line " + (M + 1) + `:
93
93
  ` + v.showPosition() + `
94
- Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Q = "Parse error on line " + ($ + 1) + ": Unexpected " + (w == J ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(Q, {
94
+ Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Q = "Parse error on line " + (M + 1) + ": Unexpected " + (w == J ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(Q, {
95
95
  text: v.match,
96
96
  token: this.terminals_[w] || w,
97
97
  line: v.yylineno,
@@ -103,28 +103,28 @@ Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Q = "
103
103
  throw new Error("Parse Error: multiple actions possible at state: " + H + ", token: " + w);
104
104
  switch (I[0]) {
105
105
  case 1:
106
- h.push(w), y.push(v.yytext), o.push(v.yylloc), h.push(I[1]), w = null, C = v.yyleng, k = v.yytext, $ = v.yylineno, b = v.yylloc;
106
+ h.push(w), y.push(v.yytext), o.push(v.yylloc), h.push(I[1]), w = null, C = v.yyleng, k = v.yytext, M = v.yylineno, b = v.yylloc;
107
107
  break;
108
108
  case 2:
109
- if (P = this.productions_[I[1]][1], V.$ = y[y.length - P], V._$ = {
109
+ if (P = this.productions_[I[1]][1], z.$ = y[y.length - P], z._$ = {
110
110
  first_line: o[o.length - (P || 1)].first_line,
111
111
  last_line: o[o.length - 1].last_line,
112
112
  first_column: o[o.length - (P || 1)].first_column,
113
113
  last_column: o[o.length - 1].last_column
114
- }, M && (V._$.range = [
114
+ }, $ && (z._$.range = [
115
115
  o[o.length - (P || 1)].range[0],
116
116
  o[o.length - 1].range[1]
117
- ]), K = this.performAction.apply(V, [
117
+ ]), K = this.performAction.apply(z, [
118
118
  k,
119
119
  C,
120
- $,
120
+ M,
121
121
  N.yy,
122
122
  I[1],
123
123
  y,
124
124
  o
125
125
  ].concat(O)), typeof K < "u")
126
126
  return K;
127
- P && (h = h.slice(0, -1 * P * 2), y = y.slice(0, -1 * P), o = o.slice(0, -1 * P)), h.push(this.productions_[I[1]][0]), y.push(V.$), o.push(V._$), et = S[h[h.length - 2]][h[h.length - 1]], h.push(et);
127
+ P && (h = h.slice(0, -1 * P * 2), y = y.slice(0, -1 * P), o = o.slice(0, -1 * P)), h.push(this.productions_[I[1]][0]), y.push(z.$), o.push(z._$), et = S[h[h.length - 2]][h[h.length - 1]], h.push(et);
128
128
  break;
129
129
  case 3:
130
130
  return !0;
@@ -370,10 +370,10 @@ xt(at, {
370
370
  getSections: () => dt,
371
371
  getTasks: () => ut
372
372
  });
373
- var W = "", lt = 0, Y = [], U = [], z = [], ot = /* @__PURE__ */ s(() => kt, "getCommonDb"), ct = /* @__PURE__ */ s(function() {
374
- Y.length = 0, U.length = 0, W = "", z.length = 0, vt();
373
+ var V = "", lt = 0, Y = [], U = [], W = [], ot = /* @__PURE__ */ s(() => kt, "getCommonDb"), ct = /* @__PURE__ */ s(function() {
374
+ Y.length = 0, U.length = 0, V = "", W.length = 0, vt();
375
375
  }, "clear"), ht = /* @__PURE__ */ s(function(n) {
376
- W = n, Y.push(n);
376
+ V = n, Y.push(n);
377
377
  }, "addSection"), dt = /* @__PURE__ */ s(function() {
378
378
  return Y;
379
379
  }, "getSections"), ut = /* @__PURE__ */ s(function() {
@@ -382,24 +382,24 @@ var W = "", lt = 0, Y = [], U = [], z = [], ot = /* @__PURE__ */ s(() => kt, "ge
382
382
  let e = 0;
383
383
  for (; !n && e < t; )
384
384
  n = it(), e++;
385
- return U.push(...z), U;
385
+ return U.push(...W), U;
386
386
  }, "getTasks"), pt = /* @__PURE__ */ s(function(n, t, e) {
387
387
  const l = {
388
388
  id: lt++,
389
- section: W,
390
- type: W,
389
+ section: V,
390
+ type: V,
391
391
  task: n,
392
392
  score: t || 0,
393
393
  //if event is defined, then add it the events array
394
394
  events: e ? [e] : []
395
395
  };
396
- z.push(l);
396
+ W.push(l);
397
397
  }, "addTask"), yt = /* @__PURE__ */ s(function(n) {
398
- z.find((e) => e.id === lt - 1).events.push(n);
398
+ W.find((e) => e.id === lt - 1).events.push(n);
399
399
  }, "addEvent"), gt = /* @__PURE__ */ s(function(n) {
400
400
  const t = {
401
- section: W,
402
- type: W,
401
+ section: V,
402
+ type: V,
403
403
  description: n,
404
404
  task: n,
405
405
  classes: []
@@ -407,10 +407,10 @@ var W = "", lt = 0, Y = [], U = [], z = [], ot = /* @__PURE__ */ s(() => kt, "ge
407
407
  U.push(t);
408
408
  }, "addTaskOrg"), it = /* @__PURE__ */ s(function() {
409
409
  const n = /* @__PURE__ */ s(function(e) {
410
- return z[e].processed;
410
+ return W[e].processed;
411
411
  }, "compileTask");
412
412
  let t = !0;
413
- for (const [e, l] of z.entries())
413
+ for (const [e, l] of W.entries())
414
414
  n(e), t = t && l.processed;
415
415
  return t;
416
416
  }, "compileTasks"), It = {
@@ -442,7 +442,7 @@ var W = "", lt = 0, Y = [], U = [], z = [], ot = /* @__PURE__ */ s(() => kt, "ge
442
442
  m.append("line").attr("class", "mouth").attr("stroke", 2).attr("x1", t.cx - 5).attr("y1", t.cy + 7).attr("x2", t.cx + 5).attr("y2", t.cy + 7).attr("class", "mouth").attr("stroke-width", "1px").attr("stroke", "#666");
443
443
  }
444
444
  return s(g, "ambivalent"), t.score > 3 ? d(i) : t.score < 3 ? c(i) : g(i), l;
445
- }, "drawFace"), $t = /* @__PURE__ */ s(function(n, t) {
445
+ }, "drawFace"), Mt = /* @__PURE__ */ s(function(n, t) {
446
446
  const e = n.append("circle");
447
447
  return e.attr("cx", t.cx), e.attr("cy", t.cy), e.attr("class", "actor-" + t.pos), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("r", t.r), e.class !== void 0 && e.attr("class", e.class), t.title !== void 0 && e.append("title").text(t.title), e;
448
448
  }, "drawCircle"), ft = /* @__PURE__ */ s(function(n, t) {
@@ -450,7 +450,7 @@ var W = "", lt = 0, Y = [], U = [], z = [], ot = /* @__PURE__ */ s(() => kt, "ge
450
450
  l.attr("x", t.x), l.attr("y", t.y), l.attr("class", "legend"), l.style("text-anchor", t.anchor), t.class !== void 0 && l.attr("class", t.class);
451
451
  const i = l.append("tspan");
452
452
  return i.attr("x", t.x + t.textMargin * 2), i.text(e), l;
453
- }, "drawText"), Mt = /* @__PURE__ */ s(function(n, t) {
453
+ }, "drawText"), $t = /* @__PURE__ */ s(function(n, t) {
454
454
  function e(i, d, c, g, m) {
455
455
  return i + "," + d + " " + (i + c) + "," + d + " " + (i + c) + "," + (d + g - m) + " " + (i + c - m * 1.2) + "," + (d + g) + " " + i + "," + (d + g);
456
456
  }
@@ -567,30 +567,30 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
567
567
  (t.class ? t.class + " " : "") + "timeline-node " + ("section-" + i)
568
568
  );
569
569
  const c = d.append("g"), g = d.append("g"), p = g.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(tt, t.width).node().getBBox(), x = (_ = l.fontSize) != null && _.replace ? l.fontSize.replace("px", "") : l.fontSize;
570
- return t.height = p.height + x * 1.1 * 0.5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width = t.width + 2 * t.padding, g.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), Wt(c, t, i, l), t;
571
- }, "drawNode"), Vt = /* @__PURE__ */ s(function(n, t, e) {
570
+ return t.height = p.height + x * 1.1 * 0.5 + t.padding, t.height = Math.max(t.height, t.maxHeight), t.width = t.width + 2 * t.padding, g.attr("transform", "translate(" + t.width / 2 + ", " + t.padding / 2 + ")"), Vt(c, t, i, l), t;
571
+ }, "drawNode"), zt = /* @__PURE__ */ s(function(n, t, e) {
572
572
  var g;
573
573
  const l = n.append("g"), d = l.append("text").text(t.descr).attr("dy", "1em").attr("alignment-baseline", "middle").attr("dominant-baseline", "middle").attr("text-anchor", "middle").call(tt, t.width).node().getBBox(), c = (g = e.fontSize) != null && g.replace ? e.fontSize.replace("px", "") : e.fontSize;
574
574
  return l.remove(), d.height + c * 1.1 * 0.5 + t.padding;
575
- }, "getVirtualNodeHeight"), Wt = /* @__PURE__ */ s(function(n, t, e) {
575
+ }, "getVirtualNodeHeight"), Vt = /* @__PURE__ */ s(function(n, t, e) {
576
576
  n.append("path").attr("id", "node-" + t.id).attr("class", "node-bkg node-" + t.type).attr(
577
577
  "d",
578
578
  `M0 ${t.height - 5} v${-t.height + 2 * 5} q0,-5 5,-5 h${t.width - 2 * 5} q5,0 5,5 v${t.height - 5} H0 Z`
579
579
  ), n.append("line").attr("class", "node-line-" + e).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
580
580
  }, "defaultBkg"), F = {
581
581
  drawRect: Z,
582
- drawCircle: $t,
582
+ drawCircle: Mt,
583
583
  drawSection: Ht,
584
584
  drawText: ft,
585
- drawLabel: Mt,
585
+ drawLabel: $t,
586
586
  drawTask: Pt,
587
587
  drawBackgroundRect: At,
588
588
  getTextObj: Ct,
589
589
  getNoteRect: D,
590
590
  initGraphics: Rt,
591
591
  drawNode: Ft,
592
- getVirtualNodeHeight: Vt
593
- }, zt = /* @__PURE__ */ s(function(n, t, e, l) {
592
+ getVirtualNodeHeight: zt
593
+ }, Wt = /* @__PURE__ */ s(function(n, t, e, l) {
594
594
  var O, v, N;
595
595
  const i = _t(), d = ((O = i.timeline) == null ? void 0 : O.leftMargin) ?? 50;
596
596
  E.debug("timeline", l.db);
@@ -614,21 +614,21 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
614
614
  width: 150,
615
615
  padding: 20,
616
616
  maxHeight: r
617
- }, M = F.getVirtualNodeHeight(p, b, i);
618
- E.debug("sectionHeight before draw", M), r = Math.max(r, M + 20);
617
+ }, $ = F.getVirtualNodeHeight(p, b, i);
618
+ E.debug("sectionHeight before draw", $), r = Math.max(r, $ + 20);
619
619
  });
620
- let $ = 0, C = 0;
620
+ let M = 0, C = 0;
621
621
  E.debug("tasks.length", x.length);
622
622
  for (const [L, b] of x.entries()) {
623
- const M = {
623
+ const $ = {
624
624
  number: L,
625
625
  descr: b,
626
626
  section: b.section,
627
627
  width: 150,
628
628
  padding: 20,
629
629
  maxHeight: a
630
- }, R = F.getVirtualNodeHeight(p, M, i);
631
- E.debug("taskHeight before draw", R), a = Math.max(a, R + 20), $ = Math.max($, b.events.length);
630
+ }, R = F.getVirtualNodeHeight(p, $, i);
631
+ E.debug("taskHeight before draw", R), a = Math.max(a, R + 20), M = Math.max(M, b.events.length);
632
632
  let A = 0;
633
633
  for (const w of b.events) {
634
634
  const H = {
@@ -644,7 +644,7 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
644
644
  b.events.length > 0 && (A += (b.events.length - 1) * 10), C = Math.max(C, A);
645
645
  }
646
646
  E.debug("maxSectionHeight before draw", r), E.debug("maxTaskHeight before draw", a), f && f.length > 0 ? f.forEach((L) => {
647
- const b = x.filter((w) => w.section === L), M = {
647
+ const b = x.filter((w) => w.section === L), $ = {
648
648
  number: S,
649
649
  descr: L,
650
650
  section: S,
@@ -652,8 +652,8 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
652
652
  padding: 20,
653
653
  maxHeight: r
654
654
  };
655
- E.debug("sectionNode", M);
656
- const R = p.append("g"), A = F.drawNode(R, M, S, i);
655
+ E.debug("sectionNode", $);
656
+ const R = p.append("g"), A = F.drawNode(R, $, S, i);
657
657
  E.debug("sectionNode output", A), R.attr("transform", `translate(${y}, ${u})`), o += r + 50, b.length > 0 && st(
658
658
  p,
659
659
  b,
@@ -662,7 +662,7 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
662
662
  o,
663
663
  a,
664
664
  i,
665
- $,
665
+ M,
666
666
  C,
667
667
  r,
668
668
  !1
@@ -675,7 +675,7 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
675
675
  o,
676
676
  a,
677
677
  i,
678
- $,
678
+ M,
679
679
  C,
680
680
  r,
681
681
  !0
@@ -729,7 +729,7 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
729
729
  }, "drawEvents"), Ot = {
730
730
  setConf: /* @__PURE__ */ s(() => {
731
731
  }, "setConf"),
732
- draw: zt
732
+ draw: Wt
733
733
  }, jt = /* @__PURE__ */ s((n) => {
734
734
  let t = "";
735
735
  for (let e = 0; e < n.THEME_COLOR_LIMIT; e++)
@@ -1,8 +1,8 @@
1
- import { _ as a, ak as gi, l as Xt, R as Wt, K as xi, E as St, D as Nt, C as di, i as fi, o as Yt, s as pi, g as mi, n as yi, b as bi, c as Ai, t as wi, H as Ci, k as Si } from "./mermaid.core-xMGW442o.js";
1
+ import { _ as a, ak as gi, l as Xt, a9 as Wt, a1 as xi, G as St, F as Nt, E as di, i as fi, p as Yt, s as pi, g as mi, o as yi, b as bi, c as Ai, v as wi, K as Ci, k as Si } from "./mermaid.core-fgysRC67.js";
2
2
  import { i as _i } from "./init-DjUOC4st.js";
3
3
  import { o as ki } from "./ordinal-MUacOSdK.js";
4
- import { l as zt } from "./linear-CxGB80S5.js";
5
- import "./index-C2DJ8qoy.js";
4
+ import { l as zt } from "./linear-B5gvsjso.js";
5
+ import "./index-4odIPslx.js";
6
6
  import "react";
7
7
  import "react-dom";
8
8
  import "./defaultLocale-DcQU6Vee.js";
@@ -48,8 +48,8 @@ function yt() {
48
48
  }, _i.apply(C(), arguments);
49
49
  }
50
50
  var bt = function() {
51
- var e = /* @__PURE__ */ a(function(O, h, u, x) {
52
- for (u = u || {}, x = O.length; x--; u[O[x]] = h)
51
+ var e = /* @__PURE__ */ a(function(F, h, u, x) {
52
+ for (u = u || {}, x = F.length; x--; u[F[x]] = h)
53
53
  ;
54
54
  return u;
55
55
  }, "o"), t = [1, 10, 12, 14, 16, 18, 19, 21, 23], i = [2, 6], s = [1, 3], n = [1, 5], o = [1, 6], g = [1, 7], m = [1, 5, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], p = [1, 25], k = [1, 26], v = [1, 28], C = [1, 29], b = [1, 30], E = [1, 31], D = [1, 32], P = [1, 33], I = [1, 34], y = [1, 35], _ = [1, 36], c = [1, 37], W = [1, 43], z = [1, 42], U = [1, 47], X = [1, 50], l = [1, 10, 12, 14, 16, 18, 19, 21, 23, 34, 35, 36], L = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36], S = [1, 10, 12, 14, 16, 18, 19, 21, 23, 24, 26, 27, 28, 34, 35, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50], R = [1, 64], $ = {
@@ -177,7 +177,7 @@ var bt = function() {
177
177
  return V = d.pop() || T.lex() || Mt, typeof V != "number" && (V instanceof Array && (d = V, V = d.pop()), V = u.symbols_[V] || V), V;
178
178
  }
179
179
  a(Vt, "lex");
180
- for (var M, H, B, pt, q = {}, ct, F, Bt, ut; ; ) {
180
+ for (var M, H, B, pt, G = {}, ct, O, Bt, ut; ; ) {
181
181
  if (H = x[x.length - 1], this.defaultActions[H] ? B = this.defaultActions[H] : ((M === null || typeof M > "u") && (M = Vt()), B = j[H] && j[H][M]), typeof B > "u" || !B.length || !B[0]) {
182
182
  var mt = "";
183
183
  ut = [];
@@ -200,15 +200,15 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : mt =
200
200
  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;
201
201
  break;
202
202
  case 2:
203
- if (F = this.productions_[B[1]][1], q.$ = w[w.length - F], q._$ = {
204
- first_line: r[r.length - (F || 1)].first_line,
203
+ if (O = this.productions_[B[1]][1], G.$ = w[w.length - O], G._$ = {
204
+ first_line: r[r.length - (O || 1)].first_line,
205
205
  last_line: r[r.length - 1].last_line,
206
- first_column: r[r.length - (F || 1)].first_column,
206
+ first_column: r[r.length - (O || 1)].first_column,
207
207
  last_column: r[r.length - 1].last_column
208
- }, ci && (q._$.range = [
209
- r[r.length - (F || 1)].range[0],
208
+ }, ci && (G._$.range = [
209
+ r[r.length - (O || 1)].range[0],
210
210
  r[r.length - 1].range[1]
211
- ]), pt = this.performAction.apply(q, [
211
+ ]), pt = this.performAction.apply(G, [
212
212
  f,
213
213
  It,
214
214
  lt,
@@ -218,7 +218,7 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : mt =
218
218
  r
219
219
  ].concat(li)), typeof pt < "u")
220
220
  return pt;
221
- 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 = j[x[x.length - 2]][x[x.length - 1]], x.push(Bt);
221
+ O && (x = x.slice(0, -1 * O * 2), w = w.slice(0, -1 * O), r = r.slice(0, -1 * O)), x.push(this.productions_[B[1]][0]), w.push(G.$), r.push(G._$), Bt = j[x[x.length - 2]][x[x.length - 1]], x.push(Bt);
222
222
  break;
223
223
  case 3:
224
224
  return !0;
@@ -227,7 +227,7 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : mt =
227
227
  return !0;
228
228
  }, "parse")
229
229
  }, Et = /* @__PURE__ */ function() {
230
- var O = {
230
+ var F = {
231
231
  EOF: 1,
232
232
  parseError: /* @__PURE__ */ a(function(u, x) {
233
233
  if (this.yy.parser)
@@ -502,7 +502,7 @@ Expecting ` + ut.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : mt =
502
502
  rules: [/^(?:%%(?!\{)[^\n]*)/i, /^(?:[^\}]%%[^\n]*)/i, /^(?:(\r?\n))/i, /^(?:(\r?\n))/i, /^(?:[\n\r]+)/i, /^(?:%%[^\n]*)/i, /^(?:title\b)/i, /^(?:accTitle\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*:\s*)/i, /^(?:(?!\n||)*[^\n]*)/i, /^(?:accDescr\s*\{\s*)/i, /^(?:\{)/i, /^(?:[^\}]*)/i, /^(?:xychart-beta\b)/i, /^(?:xychart\b)/i, /^(?:(?:vertical|horizontal))/i, /^(?:x-axis\b)/i, /^(?:y-axis\b)/i, /^(?:\[)/i, /^(?:-->)/i, /^(?:line\b)/i, /^(?:bar\b)/i, /^(?:\[)/i, /^(?:[+-]?(?:\d+(?:\.\d+)?|\.\d+))/i, /^(?:\])/i, /^(?:(?:`\) \{ this\.pushState\(md_string\); \}\n<md_string>\(\?:\(\?!`"\)\.\)\+ \{ return MD_STR; \}\n<md_string>\(\?:`))/i, /^(?:["])/i, /^(?:["])/i, /^(?:[^"]*)/i, /^(?:\[)/i, /^(?:\])/i, /^(?:[A-Za-z]+)/i, /^(?::)/i, /^(?:\+)/i, /^(?:,)/i, /^(?:=)/i, /^(?:\*)/i, /^(?:#)/i, /^(?:[\_])/i, /^(?:\.)/i, /^(?:&)/i, /^(?:-)/i, /^(?:[0-9]+)/i, /^(?:\s+)/i, /^(?:;)/i, /^(?:$)/i],
503
503
  conditions: { data_inner: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 24, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, data: { rules: [0, 1, 3, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 23, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, axis_band_data: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 25, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, axis_data: { rules: [0, 1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 19, 20, 21, 22, 24, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 }, acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, title: { rules: [], inclusive: !1 }, md_string: { rules: [], inclusive: !1 }, string: { rules: [28, 29], inclusive: !1 }, INITIAL: { rules: [0, 1, 4, 5, 6, 7, 9, 11, 14, 15, 16, 17, 18, 21, 22, 26, 27, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46], inclusive: !0 } }
504
504
  };
505
- return O;
505
+ return F;
506
506
  }();
507
507
  $.lexer = Et;
508
508
  function N() {
@@ -520,10 +520,10 @@ function _t(e) {
520
520
  return e.type === "band";
521
521
  }
522
522
  a(_t, "isBandAxisData");
523
- function G(e) {
523
+ function q(e) {
524
524
  return e.type === "linear";
525
525
  }
526
- a(G, "isLinearAxisData");
526
+ a(q, "isLinearAxisData");
527
527
  var J, Ht = (J = class {
528
528
  constructor(t) {
529
529
  this.parentGroup = t;
@@ -544,7 +544,7 @@ var J, Ht = (J = class {
544
544
  }
545
545
  return n.remove(), s;
546
546
  }
547
- }, a(J, "TextDimensionCalculatorWithFont"), J), Ot = 0.7, Ft = 0.2, tt, Ut = (tt = class {
547
+ }, a(J, "TextDimensionCalculatorWithFont"), J), Ft = 0.7, Ot = 0.2, tt, Ut = (tt = class {
548
548
  constructor(t, i, s, n) {
549
549
  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";
550
550
  }
@@ -571,12 +571,12 @@ var J, Ht = (J = class {
571
571
  );
572
572
  }
573
573
  recalculateOuterPaddingToDrawBar() {
574
- Ot * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(Ot * this.getTickDistance() / 2)), this.recalculateScale();
574
+ Ft * this.getTickDistance() > this.outerPadding * 2 && (this.outerPadding = Math.floor(Ft * this.getTickDistance() / 2)), this.recalculateScale();
575
575
  }
576
576
  calculateSpaceIfDrawnHorizontally(t) {
577
577
  let i = t.height;
578
578
  if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
579
- const s = this.getLabelDimension(), n = Ft * t.width;
579
+ const s = this.getLabelDimension(), n = Ot * t.width;
580
580
  this.outerPadding = Math.min(s.width / 2, n);
581
581
  const o = s.height + this.axisConfig.labelPadding * 2;
582
582
  this.labelTextHeight = s.height, o <= i && (i -= o, this.showLabel = !0);
@@ -593,7 +593,7 @@ var J, Ht = (J = class {
593
593
  calculateSpaceIfDrawnVertical(t) {
594
594
  let i = t.width;
595
595
  if (this.axisConfig.showAxisLine && i > this.axisConfig.axisLineWidth && (i -= this.axisConfig.axisLineWidth, this.showAxisLine = !0), this.axisConfig.showLabel) {
596
- const s = this.getLabelDimension(), n = Ft * t.height;
596
+ const s = this.getLabelDimension(), n = Ot * t.height;
597
597
  this.outerPadding = Math.min(s.height / 2, n);
598
598
  const o = s.width + this.axisConfig.labelPadding * 2;
599
599
  o <= i && (i -= o, this.showLabel = !0);
@@ -1011,15 +1011,15 @@ var nt, Li = (nt = class {
1011
1011
  return t;
1012
1012
  }
1013
1013
  }, a(rt, "BasePlot"), rt);
1014
- function qt(e, t, i) {
1014
+ function Gt(e, t, i) {
1015
1015
  return new Ii(e, t, i);
1016
1016
  }
1017
- a(qt, "getPlotComponent");
1017
+ a(Gt, "getPlotComponent");
1018
1018
  var ot, Mi = (ot = class {
1019
1019
  constructor(t, i, s, n) {
1020
1020
  this.chartConfig = t, this.chartData = i, this.componentStore = {
1021
1021
  title: $t(t, i, s, n),
1022
- plot: qt(t, i, s),
1022
+ plot: Gt(t, i, s),
1023
1023
  xAxis: wt(
1024
1024
  i.xAxis,
1025
1025
  t.xAxis,
@@ -1101,7 +1101,7 @@ var ot, Mi = (ot = class {
1101
1101
  static build(t, i, s, n) {
1102
1102
  return new Mi(t, i, s, n).getDrawableElement();
1103
1103
  }
1104
- }, a(ht, "XYChartBuilder"), ht), Q = 0, Gt, K = Tt(), Z = Rt(), A = Dt(), Ct = Z.plotColorPalette.split(",").map((e) => e.trim()), gt = !1, kt = !1;
1104
+ }, a(ht, "XYChartBuilder"), ht), Q = 0, qt, K = Tt(), Z = Rt(), A = Dt(), Ct = Z.plotColorPalette.split(",").map((e) => e.trim()), gt = !1, kt = !1;
1105
1105
  function Rt() {
1106
1106
  const e = xi(), t = St();
1107
1107
  return Nt(e.xyChart, t.themeVariables.xyChart);
@@ -1139,7 +1139,7 @@ function xt(e) {
1139
1139
  }
1140
1140
  a(xt, "textSanitizer");
1141
1141
  function jt(e) {
1142
- Gt = e;
1142
+ qt = e;
1143
1143
  }
1144
1144
  a(jt, "setTmpSVGG");
1145
1145
  function Qt(e) {
@@ -1171,7 +1171,7 @@ function ti(e, t) {
1171
1171
  }
1172
1172
  a(ti, "setYAxisRangeData");
1173
1173
  function ii(e) {
1174
- 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;
1174
+ const t = Math.min(...e), i = Math.max(...e), s = q(A.yAxis) ? A.yAxis.min : 1 / 0, n = q(A.yAxis) ? A.yAxis.max : -1 / 0;
1175
1175
  A.yAxis = {
1176
1176
  type: "linear",
1177
1177
  title: A.yAxis.title,
@@ -1185,10 +1185,10 @@ function Pt(e) {
1185
1185
  if (e.length === 0)
1186
1186
  return t;
1187
1187
  if (!gt) {
1188
- const i = G(A.xAxis) ? A.xAxis.min : 1 / 0, s = G(A.xAxis) ? A.xAxis.max : -1 / 0;
1188
+ const i = q(A.xAxis) ? A.xAxis.min : 1 / 0, s = q(A.xAxis) ? A.xAxis.max : -1 / 0;
1189
1189
  vt(Math.min(i, 1), Math.max(s, e.length));
1190
1190
  }
1191
- if (kt || ii(e), _t(A.xAxis) && (t = A.xAxis.categories.map((i, s) => [i, e[s]])), G(A.xAxis)) {
1191
+ if (kt || ii(e), _t(A.xAxis) && (t = A.xAxis.categories.map((i, s) => [i, e[s]])), q(A.xAxis)) {
1192
1192
  const i = A.xAxis.min, s = A.xAxis.max, n = (s - i) / (e.length - 1), o = [];
1193
1193
  for (let g = i; g <= s; g += n)
1194
1194
  o.push(`${g}`);
@@ -1223,7 +1223,7 @@ a(si, "setBarData");
1223
1223
  function ni() {
1224
1224
  if (A.plots.length === 0)
1225
1225
  throw Error("No Plot to render, please provide a plot with some data");
1226
- return A.title = Yt(), Vi.build(K, A, Z, Gt);
1226
+ return A.title = Yt(), Vi.build(K, A, Z, qt);
1227
1227
  }
1228
1228
  a(ni, "getDrawableElem");
1229
1229
  function ai() {
@@ -1311,7 +1311,7 @@ var Bi = /* @__PURE__ */ a(function() {
1311
1311
  _.selectAll("text").data(z).enter().append("text").attr("x", (l) => l.data.x + l.data.width - 10).attr("y", (l) => l.data.y + l.data.height / 2).attr("text-anchor", "end").attr("dominant-baseline", "middle").attr("fill", "black").attr("font-size", `${X}px`).text((l) => l.label);
1312
1312
  } else {
1313
1313
  let c = function(l, L, S) {
1314
- const { data: R, label: $ } = l, N = L * $.length * 0.7, O = R.x + R.width / 2, h = O - N / 2, u = O + N / 2, x = h >= R.x && u <= R.x + R.width, d = R.y + S + L <= R.y + R.height;
1314
+ const { data: R, label: $ } = l, N = L * $.length * 0.7, F = R.x + R.width / 2, h = F - N / 2, u = F + N / 2, x = h >= R.x && u <= R.x + R.width, d = R.y + S + L <= R.y + R.height;
1315
1315
  return x && d;
1316
1316
  };
1317
1317
  a(c, "fitsInBar");
@@ -1333,13 +1333,13 @@ var Bi = /* @__PURE__ */ a(function() {
1333
1333
  break;
1334
1334
  }
1335
1335
  }
1336
- }, "draw"), Oi = {
1336
+ }, "draw"), Fi = {
1337
1337
  draw: zi
1338
- }, Gi = {
1338
+ }, qi = {
1339
1339
  parser: Ti,
1340
1340
  db: Wi,
1341
- renderer: Oi
1341
+ renderer: Fi
1342
1342
  };
1343
1343
  export {
1344
- Gi as diagram
1344
+ qi as diagram
1345
1345
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foris/ai-agent",
3
- "version": "0.3.0",
3
+ "version": "0.4.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -52,6 +52,7 @@
52
52
  "use-stick-to-bottom": "1.1.1"
53
53
  },
54
54
  "devDependencies": {
55
+ "@shikijs/transformers": "3.20.0",
55
56
  "@testing-library/jest-dom": "6.4.0",
56
57
  "@testing-library/react": "14.2.0",
57
58
  "@testing-library/user-event": "14.5.2",
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- interface Props {
3
- onApply?: (value: string) => void;
4
- disabled?: boolean;
5
- initialValue?: string;
6
- }
7
- export declare const InputAction: React.FC<Props>;
8
- export {};
@@ -1 +0,0 @@
1
- export { InputAction } from './InputAction';