@altimateai/ui-components 0.0.77-beta.7 → 0.0.77
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.css +1 -1
- package/dist/CoachForm.js +24114 -67797
- package/dist/DbtDocsRenderer.js +1 -1
- package/dist/Stack.js +2274 -2824
- package/dist/Switch.js +87 -128
- package/dist/ToggleGroup.js +4788 -5963
- package/dist/_basePickBy.js +60 -60
- package/dist/_baseUniq.js +152 -152
- package/dist/arc.js +53 -53
- package/dist/architectureDiagram-VXUJARFQ.js +4315 -480
- package/dist/assets/icons/index.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.d.ts +19 -57
- package/dist/chatbotV2/index.js +56 -91
- 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 +14 -14
- 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 +2535 -160
- package/dist/dagre-6UL2VRFP.js +101 -101
- package/dist/dayjs.min.js +2 -2
- package/dist/defaultLocale.js +3 -3
- package/dist/diagram-PSM6KHXK.js +414 -198
- package/dist/diagram-QEK2KX5R.js +26 -26
- package/dist/diagram-S2PKOQOG.js +12 -12
- package/dist/erDiagram-Q2GNP2WA.js +1 -1
- package/dist/flowDiagram-NV44I4VS.js +6 -6
- package/dist/ganttDiagram-LVOFAZNH.js +1718 -843
- package/dist/gitGraphDiagram-NY62KEGX.js +13 -13
- package/dist/graph.js +18 -17
- package/dist/index.d.ts +6 -101
- package/dist/index.js +37 -37
- package/dist/index2.js +684 -216
- package/dist/infoDiagram-F6ZHWCRC.js +14 -14
- package/dist/journeyDiagram-XKPGCS4Q.js +1 -1
- package/dist/kanban-definition-3W4ZIXB7.js +42 -42
- package/dist/layout.js +678 -567
- package/dist/lineage/index.js +1315 -1308
- package/dist/linear.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.js +151 -151
- package/dist/mermaid-parser.core.js +155 -155
- package/dist/mindmap-definition-VGOIOE7T.js +28 -28
- package/dist/pieDiagram-ADFJNKIX.js +108 -68
- package/dist/quadrantDiagram-AYHSOK5B.js +1 -1
- package/dist/redux-toolkit.modern.js +555 -563
- package/dist/requirementDiagram-UZGBJVZJ.js +14 -14
- package/dist/sankeyDiagram-TZEHDZUN.js +622 -229
- package/dist/sequenceDiagram-WL72ISMW.js +1 -1
- package/dist/shadcn/index.d.ts +40 -24
- package/dist/shadcn/index.js +4733 -6547
- package/dist/stateDiagram-FKZM4ZOC.js +33 -33
- package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
- package/dist/storybook/Typography.stories.tsx +120 -93
- package/dist/timeline-definition-IT6M3QCI.js +63 -63
- package/dist/{types-UHJCpYj0.d.ts → types-ByRPUpXR.d.ts} +116 -25
- package/dist/xychartDiagram-PRI3JC2R.js +491 -449
- package/package.json +1 -1
- package/dist/abap.js +0 -6
- package/dist/actionscript-3.js +0 -6
- package/dist/ada.js +0 -6
- package/dist/andromeeda.js +0 -4
- package/dist/angular-html.js +0 -32
- package/dist/angular-ts.js +0 -21
- package/dist/apache.js +0 -6
- package/dist/apex.js +0 -6
- package/dist/apl.js +0 -16
- package/dist/applescript.js +0 -6
- package/dist/ara.js +0 -6
- package/dist/architectureDiagram-VXUJARFQ2.js +0 -831
- package/dist/asciidoc.js +0 -6
- package/dist/asm.js +0 -6
- package/dist/astro.js +0 -18
- package/dist/aurora-x.js +0 -4
- package/dist/awk.js +0 -6
- package/dist/ayu-dark.js +0 -4
- package/dist/ballerina.js +0 -6
- package/dist/band.js +0 -46
- package/dist/bat.js +0 -6
- package/dist/beancount.js +0 -6
- package/dist/berry.js +0 -6
- package/dist/bibtex.js +0 -6
- package/dist/bicep.js +0 -6
- package/dist/blade.js +0 -20
- package/dist/blockDiagram-VD42YOAC2.js +0 -2266
- package/dist/bsl.js +0 -8
- package/dist/c.js +0 -6
- package/dist/c3.js +0 -6
- package/dist/c4Diagram-YG6GDRKO2.js +0 -1582
- package/dist/cadence.js +0 -6
- package/dist/cairo.js +0 -8
- package/dist/catppuccin-frappe.js +0 -4
- package/dist/catppuccin-latte.js +0 -4
- package/dist/catppuccin-macchiato.js +0 -4
- package/dist/catppuccin-mocha.js +0 -4
- package/dist/chunk-4BX2VUAB2.js +0 -9
- package/dist/chunk-55IACEB62.js +0 -9
- package/dist/chunk-B4BG7PRW2.js +0 -1377
- package/dist/chunk-DI55MBZ52.js +0 -1382
- package/dist/chunk-FMBD7UC42.js +0 -19
- package/dist/chunk-QN33PNHL2.js +0 -20
- package/dist/chunk-QZHKN3VN2.js +0 -15
- package/dist/chunk-TZMSLE5B2.js +0 -64
- package/dist/clarity.js +0 -6
- package/dist/classDiagram-2ON5EDUG2.js +0 -17
- package/dist/classDiagram-v2-WZHVMYZB2.js +0 -17
- package/dist/clojure.js +0 -6
- package/dist/cmake.js +0 -6
- package/dist/cobol.js +0 -10
- package/dist/code-block-37QAKDTI.js +0 -27
- package/dist/codeowners.js +0 -6
- package/dist/codeql.js +0 -6
- package/dist/coffee.js +0 -8
- package/dist/common-lisp.js +0 -6
- package/dist/coq.js +0 -6
- package/dist/cose-bilkent-S5V4N54A2.js +0 -231
- package/dist/cpp.js +0 -18
- package/dist/crystal.js +0 -18
- package/dist/csharp.js +0 -6
- package/dist/css.js +0 -6
- package/dist/csv.js +0 -6
- package/dist/cue.js +0 -6
- package/dist/cypher.js +0 -6
- package/dist/cytoscape-cose-bilkent.js +0 -2380
- package/dist/cytoscape-fcose.js +0 -3840
- package/dist/d.js +0 -6
- package/dist/dagre-6UL2VRFP2.js +0 -447
- package/dist/dark-plus.js +0 -4
- package/dist/dart.js +0 -6
- package/dist/dax.js +0 -6
- package/dist/desktop.js +0 -6
- package/dist/diagram-PSM6KHXK2.js +0 -319
- package/dist/diagram-QEK2KX5R2.js +0 -221
- package/dist/diagram-S2PKOQOG2.js +0 -143
- package/dist/diff.js +0 -6
- package/dist/docker.js +0 -6
- package/dist/dotenv.js +0 -6
- package/dist/dracula-soft.js +0 -4
- package/dist/dracula.js +0 -4
- package/dist/dream-maker.js +0 -6
- package/dist/edge.js +0 -12
- package/dist/elixir.js +0 -8
- package/dist/elm.js +0 -8
- package/dist/emacs-lisp.js +0 -6
- package/dist/erDiagram-Q2GNP2WA2.js +0 -843
- package/dist/erb.js +0 -10
- package/dist/erlang.js +0 -8
- package/dist/everforest-dark.js +0 -4
- package/dist/everforest-light.js +0 -4
- package/dist/fennel.js +0 -6
- package/dist/fish.js +0 -6
- package/dist/flowDiagram-NV44I4VS2.js +0 -1628
- package/dist/fluent.js +0 -6
- package/dist/fortran-fixed-form.js +0 -8
- package/dist/fortran-free-form.js +0 -6
- package/dist/fsharp.js +0 -8
- package/dist/ganttDiagram-JELNMOA3.js +0 -1788
- package/dist/gdresource.js +0 -10
- package/dist/gdscript.js +0 -6
- package/dist/gdshader.js +0 -6
- package/dist/genie.js +0 -6
- package/dist/gherkin.js +0 -6
- package/dist/git-commit.js +0 -8
- package/dist/git-rebase.js +0 -8
- package/dist/gitGraphDiagram-NY62KEGX2.js +0 -713
- package/dist/github-dark-default.js +0 -4
- package/dist/github-dark-dimmed.js +0 -4
- package/dist/github-dark-high-contrast.js +0 -4
- package/dist/github-dark.js +0 -4
- package/dist/github-light-default.js +0 -4
- package/dist/github-light-high-contrast.js +0 -4
- package/dist/github-light.js +0 -4
- package/dist/gleam.js +0 -6
- package/dist/glimmer-js.js +0 -14
- package/dist/glimmer-ts.js +0 -14
- package/dist/glsl.js +0 -8
- package/dist/gn.js +0 -6
- package/dist/gnuplot.js +0 -6
- package/dist/go.js +0 -6
- package/dist/graph2.js +0 -246
- package/dist/graphql.js +0 -14
- package/dist/groovy.js +0 -6
- package/dist/gruvbox-dark-hard.js +0 -4
- package/dist/gruvbox-dark-medium.js +0 -4
- package/dist/gruvbox-dark-soft.js +0 -4
- package/dist/gruvbox-light-hard.js +0 -4
- package/dist/gruvbox-light-medium.js +0 -4
- package/dist/gruvbox-light-soft.js +0 -4
- package/dist/hack.js +0 -10
- package/dist/haml.js +0 -10
- package/dist/handlebars.js +0 -14
- package/dist/haskell.js +0 -6
- package/dist/haxe.js +0 -6
- package/dist/hcl.js +0 -6
- package/dist/hjson.js +0 -6
- package/dist/hlsl.js +0 -6
- package/dist/houston.js +0 -4
- package/dist/html-derivative.js +0 -8
- package/dist/html.js +0 -10
- package/dist/http.js +0 -14
- package/dist/hurl.js +0 -12
- package/dist/hxml.js +0 -8
- package/dist/hy.js +0 -6
- package/dist/imba.js +0 -6
- package/dist/index3.js +0 -689
- package/dist/infoDiagram-WHAUD3N6.js +0 -24
- package/dist/ini.js +0 -6
- package/dist/java.js +0 -6
- package/dist/javascript.js +0 -6
- package/dist/jinja.js +0 -11
- package/dist/jison.js +0 -8
- package/dist/journeyDiagram-XKPGCS4Q2.js +0 -837
- package/dist/json.js +0 -6
- package/dist/json5.js +0 -6
- package/dist/jsonc.js +0 -6
- package/dist/jsonl.js +0 -6
- package/dist/jsonnet.js +0 -6
- package/dist/jssm.js +0 -6
- package/dist/jsx.js +0 -6
- package/dist/julia.js +0 -16
- package/dist/kanagawa-dragon.js +0 -4
- package/dist/kanagawa-lotus.js +0 -4
- package/dist/kanagawa-wave.js +0 -4
- package/dist/kanban-definition-3W4ZIXB72.js +0 -720
- package/dist/katex2.js +0 -11691
- package/dist/kdl.js +0 -6
- package/dist/kotlin.js +0 -6
- package/dist/kusto.js +0 -6
- package/dist/laserwave.js +0 -4
- package/dist/latex.js +0 -8
- package/dist/layout2.js +0 -1224
- package/dist/lean.js +0 -6
- package/dist/less.js +0 -6
- package/dist/light-plus.js +0 -4
- package/dist/liquid.js +0 -14
- package/dist/llvm.js +0 -6
- package/dist/log.js +0 -6
- package/dist/logo.js +0 -6
- package/dist/lua.js +0 -8
- package/dist/luau.js +0 -6
- package/dist/make.js +0 -6
- package/dist/markdown.js +0 -6
- package/dist/marko.js +0 -14
- package/dist/material-theme-darker.js +0 -4
- package/dist/material-theme-lighter.js +0 -4
- package/dist/material-theme-ocean.js +0 -4
- package/dist/material-theme-palenight.js +0 -4
- package/dist/material-theme.js +0 -4
- package/dist/matlab.js +0 -6
- package/dist/mdc.js +0 -12
- package/dist/mdx.js +0 -6
- package/dist/mermaid-4DMBBIKO.js +0 -4
- package/dist/mermaid.js +0 -6
- package/dist/min-dark.js +0 -4
- package/dist/min-light.js +0 -4
- package/dist/mindmap-definition-VGOIOE7T2.js +0 -786
- package/dist/mipsasm.js +0 -6
- package/dist/mojo.js +0 -6
- package/dist/monokai.js +0 -4
- package/dist/moonbit.js +0 -6
- package/dist/move.js +0 -6
- package/dist/narrat.js +0 -6
- package/dist/nextflow.js +0 -6
- package/dist/nginx.js +0 -8
- package/dist/night-owl.js +0 -4
- package/dist/nim.js +0 -20
- package/dist/nix.js +0 -9
- package/dist/nord.js +0 -4
- package/dist/nushell.js +0 -6
- package/dist/objective-c.js +0 -6
- package/dist/objective-cpp.js +0 -6
- package/dist/ocaml.js +0 -6
- package/dist/one-dark-pro.js +0 -4
- package/dist/one-light.js +0 -4
- package/dist/openscad.js +0 -6
- package/dist/pascal.js +0 -6
- package/dist/perl.js +0 -16
- package/dist/php.js +0 -18
- package/dist/pie.js +0 -45
- package/dist/pieDiagram-ADFJNKIX2.js +0 -123
- package/dist/pkl.js +0 -6
- package/dist/plastic.js +0 -4
- package/dist/plsql.js +0 -6
- package/dist/po.js +0 -6
- package/dist/poimandres.js +0 -4
- package/dist/polar.js +0 -6
- package/dist/postcss.js +0 -6
- package/dist/powerquery.js +0 -6
- package/dist/powershell.js +0 -6
- package/dist/prisma.js +0 -6
- package/dist/prolog.js +0 -6
- package/dist/proto.js +0 -6
- package/dist/pug.js +0 -12
- package/dist/puppet.js +0 -6
- package/dist/purescript.js +0 -6
- package/dist/python.js +0 -6
- package/dist/qml.js +0 -8
- package/dist/qmldir.js +0 -6
- package/dist/qss.js +0 -6
- package/dist/quadrantDiagram-AYHSOK5B2.js +0 -1025
- package/dist/r.js +0 -6
- package/dist/racket.js +0 -6
- package/dist/raku.js +0 -6
- package/dist/razor.js +0 -10
- package/dist/red.js +0 -4
- package/dist/reg.js +0 -6
- package/dist/regexp.js +0 -6
- package/dist/rel.js +0 -6
- package/dist/requirementDiagram-UZGBJVZJ2.js +0 -852
- package/dist/riscv.js +0 -6
- package/dist/rose-pine-dawn.js +0 -4
- package/dist/rose-pine-moon.js +0 -4
- package/dist/rose-pine.js +0 -4
- package/dist/rosmsg.js +0 -6
- package/dist/rst.js +0 -22
- package/dist/ruby.js +0 -30
- package/dist/rust.js +0 -6
- package/dist/sankeyDiagram-TZEHDZUN2.js +0 -418
- package/dist/sankeyLinkHorizontal.js +0 -403
- package/dist/sas.js +0 -8
- package/dist/sass.js +0 -6
- package/dist/scala.js +0 -6
- package/dist/scheme.js +0 -6
- package/dist/scss.js +0 -8
- package/dist/sdbl.js +0 -6
- package/dist/sequenceDiagram-WL72ISMW2.js +0 -2523
- package/dist/shaderlab.js +0 -8
- package/dist/shellscript.js +0 -6
- package/dist/shellsession.js +0 -8
- package/dist/slack-dark.js +0 -4
- package/dist/slack-ochin.js +0 -4
- package/dist/smalltalk.js +0 -6
- package/dist/snazzy-light.js +0 -4
- package/dist/solarized-dark.js +0 -4
- package/dist/solarized-light.js +0 -4
- package/dist/solidity.js +0 -6
- package/dist/soy.js +0 -8
- package/dist/sparql.js +0 -8
- package/dist/splunk.js +0 -6
- package/dist/sql.js +0 -6
- package/dist/ssh-config.js +0 -6
- package/dist/stata.js +0 -8
- package/dist/stateDiagram-FKZM4ZOC2.js +0 -264
- package/dist/stateDiagram-v2-4FDKWEC32.js +0 -17
- package/dist/stylus.js +0 -6
- package/dist/svelte.js +0 -14
- package/dist/swift.js +0 -6
- package/dist/synthwave-84.js +0 -4
- package/dist/system-verilog.js +0 -6
- package/dist/systemd.js +0 -6
- package/dist/talonscript.js +0 -6
- package/dist/tasl.js +0 -6
- package/dist/tcl.js +0 -6
- package/dist/templ.js +0 -12
- package/dist/terraform.js +0 -6
- package/dist/tex.js +0 -8
- package/dist/time.js +0 -900
- package/dist/timeline-definition-IT6M3QCI2.js +0 -802
- package/dist/tokyo-night.js +0 -4
- package/dist/toml.js +0 -6
- package/dist/ts-tags.js +0 -41
- package/dist/tsv.js +0 -6
- package/dist/tsx.js +0 -6
- package/dist/turtle.js +0 -6
- package/dist/twig.js +0 -18
- package/dist/typescript.js +0 -6
- package/dist/typespec.js +0 -6
- package/dist/typst.js +0 -6
- package/dist/union.js +0 -8
- package/dist/v.js +0 -6
- package/dist/vala.js +0 -6
- package/dist/vb.js +0 -6
- package/dist/verilog.js +0 -6
- package/dist/vesper.js +0 -4
- package/dist/vhdl.js +0 -6
- package/dist/viml.js +0 -6
- package/dist/vitesse-black.js +0 -4
- package/dist/vitesse-dark.js +0 -4
- package/dist/vitesse-light.js +0 -4
- package/dist/vue-html.js +0 -8
- package/dist/vue-vine.js +0 -18
- package/dist/vue.js +0 -31
- package/dist/vyper.js +0 -6
- package/dist/wasm.js +0 -7
- package/dist/wasm2.js +0 -6
- package/dist/wenyan.js +0 -6
- package/dist/wgsl.js +0 -6
- package/dist/wikitext.js +0 -6
- package/dist/wit.js +0 -6
- package/dist/wolfram.js +0 -6
- package/dist/xml.js +0 -8
- package/dist/xsl.js +0 -8
- package/dist/xychartDiagram-PRI3JC2R2.js +0 -1299
- package/dist/yaml.js +0 -6
- package/dist/zenscript.js +0 -6
- package/dist/zig.js +0 -6
- package/dist/zipObject.js +0 -128
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a1 as s, at as xt, aN as kt, an as vt, a7 as _t, ad as E, aO as bt, aP as wt, aQ as St, aR as Et } from "./CoachForm.js";
|
|
2
2
|
import { s as q } from "./redux-toolkit.modern.js";
|
|
3
3
|
import { d as nt } from "./arc.js";
|
|
4
4
|
var X = function() {
|
|
@@ -63,13 +63,13 @@ var X = function() {
|
|
|
63
63
|
}
|
|
64
64
|
}, "parseError"),
|
|
65
65
|
parse: /* @__PURE__ */ s(function(i) {
|
|
66
|
-
var a = this, h = [0], u = [], y = [null], o = [], S = this.table, k = "",
|
|
66
|
+
var a = this, h = [0], u = [], y = [null], o = [], S = this.table, k = "", M = 0, C = 0, B = 2, Q = 1, O = o.slice.call(arguments, 1), v = Object.create(this.lexer), N = { yy: {} };
|
|
67
67
|
for (var L in this.yy)
|
|
68
68
|
Object.prototype.hasOwnProperty.call(this.yy, L) && (N.yy[L] = this.yy[L]);
|
|
69
69
|
v.setInput(i, N.yy), N.yy.lexer = v, N.yy.parser = this, typeof v.yylloc > "u" && (v.yylloc = {});
|
|
70
70
|
var b = v.yylloc;
|
|
71
71
|
o.push(b);
|
|
72
|
-
var
|
|
72
|
+
var $ = v.options && v.options.ranges;
|
|
73
73
|
typeof N.yy.parseError == "function" ? this.parseError = N.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
74
74
|
function R(T) {
|
|
75
75
|
h.length = h.length - 2 * T, y.length = y.length - T, o.length = o.length - T;
|
|
@@ -77,18 +77,18 @@ var X = function() {
|
|
|
77
77
|
s(R, "popStack");
|
|
78
78
|
function A() {
|
|
79
79
|
var T;
|
|
80
|
-
return T = u.pop() || v.lex() ||
|
|
80
|
+
return T = u.pop() || v.lex() || Q, typeof T != "number" && (T instanceof Array && (u = T, T = u.pop()), T = a.symbols_[T] || T), T;
|
|
81
81
|
}
|
|
82
82
|
s(A, "lex");
|
|
83
|
-
for (var w,
|
|
84
|
-
if (
|
|
85
|
-
var
|
|
83
|
+
for (var w, P, I, J, z = {}, j, H, et, G; ; ) {
|
|
84
|
+
if (P = h[h.length - 1], this.defaultActions[P] ? I = this.defaultActions[P] : ((w === null || typeof w > "u") && (w = A()), I = S[P] && S[P][w]), typeof I > "u" || !I.length || !I[0]) {
|
|
85
|
+
var K = "";
|
|
86
86
|
G = [];
|
|
87
|
-
for (j in S[
|
|
87
|
+
for (j in S[P])
|
|
88
88
|
this.terminals_[j] && j > B && G.push("'" + this.terminals_[j] + "'");
|
|
89
|
-
v.showPosition ?
|
|
89
|
+
v.showPosition ? K = "Parse error on line " + (M + 1) + `:
|
|
90
90
|
` + v.showPosition() + `
|
|
91
|
-
Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" :
|
|
91
|
+
Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : K = "Parse error on line " + (M + 1) + ": Unexpected " + (w == Q ? "end of input" : "'" + (this.terminals_[w] || w) + "'"), this.parseError(K, {
|
|
92
92
|
text: v.match,
|
|
93
93
|
token: this.terminals_[w] || w,
|
|
94
94
|
line: v.yylineno,
|
|
@@ -97,31 +97,31 @@ Expecting ` + G.join(", ") + ", got '" + (this.terminals_[w] || w) + "'" : Q = "
|
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
99
|
if (I[0] instanceof Array && I.length > 1)
|
|
100
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
100
|
+
throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + w);
|
|
101
101
|
switch (I[0]) {
|
|
102
102
|
case 1:
|
|
103
|
-
h.push(w), y.push(v.yytext), o.push(v.yylloc), h.push(I[1]), w = null, C = v.yyleng, k = v.yytext,
|
|
103
|
+
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;
|
|
104
104
|
break;
|
|
105
105
|
case 2:
|
|
106
|
-
if (
|
|
107
|
-
first_line: o[o.length - (
|
|
106
|
+
if (H = this.productions_[I[1]][1], z.$ = y[y.length - H], z._$ = {
|
|
107
|
+
first_line: o[o.length - (H || 1)].first_line,
|
|
108
108
|
last_line: o[o.length - 1].last_line,
|
|
109
|
-
first_column: o[o.length - (
|
|
109
|
+
first_column: o[o.length - (H || 1)].first_column,
|
|
110
110
|
last_column: o[o.length - 1].last_column
|
|
111
|
-
},
|
|
112
|
-
o[o.length - (
|
|
111
|
+
}, $ && (z._$.range = [
|
|
112
|
+
o[o.length - (H || 1)].range[0],
|
|
113
113
|
o[o.length - 1].range[1]
|
|
114
|
-
]),
|
|
114
|
+
]), J = this.performAction.apply(z, [
|
|
115
115
|
k,
|
|
116
116
|
C,
|
|
117
|
-
|
|
117
|
+
M,
|
|
118
118
|
N.yy,
|
|
119
119
|
I[1],
|
|
120
120
|
y,
|
|
121
121
|
o
|
|
122
|
-
].concat(O)), typeof
|
|
123
|
-
return
|
|
124
|
-
|
|
122
|
+
].concat(O)), typeof J < "u")
|
|
123
|
+
return J;
|
|
124
|
+
H && (h = h.slice(0, -1 * H * 2), y = y.slice(0, -1 * H), o = o.slice(0, -1 * H)), 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);
|
|
125
125
|
break;
|
|
126
126
|
case 3:
|
|
127
127
|
return !0;
|
|
@@ -367,10 +367,10 @@ xt(at, {
|
|
|
367
367
|
getSections: () => dt,
|
|
368
368
|
getTasks: () => ut
|
|
369
369
|
});
|
|
370
|
-
var
|
|
371
|
-
Y.length = 0, U.length = 0,
|
|
370
|
+
var V = "", lt = 0, Y = [], U = [], W = [], ot = /* @__PURE__ */ s(() => kt, "getCommonDb"), ct = /* @__PURE__ */ s(function() {
|
|
371
|
+
Y.length = 0, U.length = 0, V = "", W.length = 0, vt();
|
|
372
372
|
}, "clear"), ht = /* @__PURE__ */ s(function(n) {
|
|
373
|
-
|
|
373
|
+
V = n, Y.push(n);
|
|
374
374
|
}, "addSection"), dt = /* @__PURE__ */ s(function() {
|
|
375
375
|
return Y;
|
|
376
376
|
}, "getSections"), ut = /* @__PURE__ */ s(function() {
|
|
@@ -379,24 +379,24 @@ var z = "", lt = 0, Y = [], U = [], V = [], ot = /* @__PURE__ */ s(() => kt, "ge
|
|
|
379
379
|
let e = 0;
|
|
380
380
|
for (; !n && e < t; )
|
|
381
381
|
n = rt(), e++;
|
|
382
|
-
return U.push(...
|
|
382
|
+
return U.push(...W), U;
|
|
383
383
|
}, "getTasks"), pt = /* @__PURE__ */ s(function(n, t, e) {
|
|
384
384
|
const l = {
|
|
385
385
|
id: lt++,
|
|
386
|
-
section:
|
|
387
|
-
type:
|
|
386
|
+
section: V,
|
|
387
|
+
type: V,
|
|
388
388
|
task: n,
|
|
389
389
|
score: t || 0,
|
|
390
390
|
//if event is defined, then add it the events array
|
|
391
391
|
events: e ? [e] : []
|
|
392
392
|
};
|
|
393
|
-
|
|
393
|
+
W.push(l);
|
|
394
394
|
}, "addTask"), yt = /* @__PURE__ */ s(function(n) {
|
|
395
|
-
|
|
395
|
+
W.find((e) => e.id === lt - 1).events.push(n);
|
|
396
396
|
}, "addEvent"), gt = /* @__PURE__ */ s(function(n) {
|
|
397
397
|
const t = {
|
|
398
|
-
section:
|
|
399
|
-
type:
|
|
398
|
+
section: V,
|
|
399
|
+
type: V,
|
|
400
400
|
description: n,
|
|
401
401
|
task: n,
|
|
402
402
|
classes: []
|
|
@@ -404,10 +404,10 @@ var z = "", lt = 0, Y = [], U = [], V = [], ot = /* @__PURE__ */ s(() => kt, "ge
|
|
|
404
404
|
U.push(t);
|
|
405
405
|
}, "addTaskOrg"), rt = /* @__PURE__ */ s(function() {
|
|
406
406
|
const n = /* @__PURE__ */ s(function(e) {
|
|
407
|
-
return
|
|
407
|
+
return W[e].processed;
|
|
408
408
|
}, "compileTask");
|
|
409
409
|
let t = !0;
|
|
410
|
-
for (const [e, l] of
|
|
410
|
+
for (const [e, l] of W.entries())
|
|
411
411
|
n(e), t = t && l.processed;
|
|
412
412
|
return t;
|
|
413
413
|
}, "compileTasks"), It = {
|
|
@@ -439,7 +439,7 @@ var z = "", lt = 0, Y = [], U = [], V = [], ot = /* @__PURE__ */ s(() => kt, "ge
|
|
|
439
439
|
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");
|
|
440
440
|
}
|
|
441
441
|
return s(g, "ambivalent"), t.score > 3 ? d(r) : t.score < 3 ? c(r) : g(r), l;
|
|
442
|
-
}, "drawFace"),
|
|
442
|
+
}, "drawFace"), Mt = /* @__PURE__ */ s(function(n, t) {
|
|
443
443
|
const e = n.append("circle");
|
|
444
444
|
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;
|
|
445
445
|
}, "drawCircle"), ft = /* @__PURE__ */ s(function(n, t) {
|
|
@@ -447,14 +447,14 @@ var z = "", lt = 0, Y = [], U = [], V = [], ot = /* @__PURE__ */ s(() => kt, "ge
|
|
|
447
447
|
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);
|
|
448
448
|
const r = l.append("tspan");
|
|
449
449
|
return r.attr("x", t.x + t.textMargin * 2), r.text(e), l;
|
|
450
|
-
}, "drawText"),
|
|
450
|
+
}, "drawText"), $t = /* @__PURE__ */ s(function(n, t) {
|
|
451
451
|
function e(r, d, c, g, m) {
|
|
452
452
|
return r + "," + d + " " + (r + c) + "," + d + " " + (r + c) + "," + (d + g - m) + " " + (r + c - m * 1.2) + "," + (d + g) + " " + r + "," + (d + g);
|
|
453
453
|
}
|
|
454
454
|
s(e, "genPoints");
|
|
455
455
|
const l = n.append("polygon");
|
|
456
456
|
l.attr("points", e(t.x, t.y, 50, 20, 7)), l.attr("class", "labelBox"), t.y = t.y + t.labelMargin, t.x = t.x + 0.5 * t.labelMargin, ft(n, t);
|
|
457
|
-
}, "drawLabel"),
|
|
457
|
+
}, "drawLabel"), Pt = /* @__PURE__ */ s(function(n, t, e) {
|
|
458
458
|
const l = n.append("g"), r = D();
|
|
459
459
|
r.x = t.x, r.y = t.y, r.fill = t.fill, r.width = e.width, r.height = e.height, r.class = "journey-section section-type-" + t.num, r.rx = 3, r.ry = 3, Z(l, r), mt(e)(
|
|
460
460
|
t.text,
|
|
@@ -467,7 +467,7 @@ var z = "", lt = 0, Y = [], U = [], V = [], ot = /* @__PURE__ */ s(() => kt, "ge
|
|
|
467
467
|
e,
|
|
468
468
|
t.colour
|
|
469
469
|
);
|
|
470
|
-
}, "drawSection"), it = -1,
|
|
470
|
+
}, "drawSection"), it = -1, Ht = /* @__PURE__ */ s(function(n, t, e) {
|
|
471
471
|
const l = t.x + e.width / 2, r = n.append("g");
|
|
472
472
|
it++;
|
|
473
473
|
const d = 300 + 5 * 30;
|
|
@@ -564,30 +564,30 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
564
564
|
(t.class ? t.class + " " : "") + "timeline-node " + ("section-" + r)
|
|
565
565
|
);
|
|
566
566
|
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;
|
|
567
|
-
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 + ")"),
|
|
568
|
-
}, "drawNode"),
|
|
567
|
+
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, r, l), t;
|
|
568
|
+
}, "drawNode"), zt = /* @__PURE__ */ s(function(n, t, e) {
|
|
569
569
|
var g;
|
|
570
570
|
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;
|
|
571
571
|
return l.remove(), d.height + c * 1.1 * 0.5 + t.padding;
|
|
572
|
-
}, "getVirtualNodeHeight"),
|
|
572
|
+
}, "getVirtualNodeHeight"), Vt = /* @__PURE__ */ s(function(n, t, e) {
|
|
573
573
|
n.append("path").attr("id", "node-" + t.id).attr("class", "node-bkg node-" + t.type).attr(
|
|
574
574
|
"d",
|
|
575
575
|
`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`
|
|
576
576
|
), n.append("line").attr("class", "node-line-" + e).attr("x1", 0).attr("y1", t.height).attr("x2", t.width).attr("y2", t.height);
|
|
577
577
|
}, "defaultBkg"), F = {
|
|
578
578
|
drawRect: Z,
|
|
579
|
-
drawCircle:
|
|
580
|
-
drawSection:
|
|
579
|
+
drawCircle: Mt,
|
|
580
|
+
drawSection: Pt,
|
|
581
581
|
drawText: ft,
|
|
582
|
-
drawLabel:
|
|
583
|
-
drawTask:
|
|
582
|
+
drawLabel: $t,
|
|
583
|
+
drawTask: Ht,
|
|
584
584
|
drawBackgroundRect: At,
|
|
585
585
|
getTextObj: Ct,
|
|
586
586
|
getNoteRect: D,
|
|
587
587
|
initGraphics: Rt,
|
|
588
588
|
drawNode: Ft,
|
|
589
|
-
getVirtualNodeHeight:
|
|
590
|
-
},
|
|
589
|
+
getVirtualNodeHeight: zt
|
|
590
|
+
}, Wt = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
591
591
|
var O, v, N;
|
|
592
592
|
const r = _t(), d = ((O = r.timeline) == null ? void 0 : O.leftMargin) ?? 50;
|
|
593
593
|
E.debug("timeline", l.db);
|
|
@@ -611,24 +611,24 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
611
611
|
width: 150,
|
|
612
612
|
padding: 20,
|
|
613
613
|
maxHeight: i
|
|
614
|
-
},
|
|
615
|
-
E.debug("sectionHeight before draw",
|
|
614
|
+
}, $ = F.getVirtualNodeHeight(p, b, r);
|
|
615
|
+
E.debug("sectionHeight before draw", $), i = Math.max(i, $ + 20);
|
|
616
616
|
});
|
|
617
|
-
let
|
|
617
|
+
let M = 0, C = 0;
|
|
618
618
|
E.debug("tasks.length", x.length);
|
|
619
619
|
for (const [L, b] of x.entries()) {
|
|
620
|
-
const
|
|
620
|
+
const $ = {
|
|
621
621
|
number: L,
|
|
622
622
|
descr: b,
|
|
623
623
|
section: b.section,
|
|
624
624
|
width: 150,
|
|
625
625
|
padding: 20,
|
|
626
626
|
maxHeight: a
|
|
627
|
-
}, R = F.getVirtualNodeHeight(p,
|
|
628
|
-
E.debug("taskHeight before draw", R), a = Math.max(a, R + 20),
|
|
627
|
+
}, R = F.getVirtualNodeHeight(p, $, r);
|
|
628
|
+
E.debug("taskHeight before draw", R), a = Math.max(a, R + 20), M = Math.max(M, b.events.length);
|
|
629
629
|
let A = 0;
|
|
630
630
|
for (const w of b.events) {
|
|
631
|
-
const
|
|
631
|
+
const P = {
|
|
632
632
|
descr: w,
|
|
633
633
|
section: b.section,
|
|
634
634
|
number: b.section,
|
|
@@ -636,12 +636,12 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
636
636
|
padding: 20,
|
|
637
637
|
maxHeight: 50
|
|
638
638
|
};
|
|
639
|
-
A += F.getVirtualNodeHeight(p,
|
|
639
|
+
A += F.getVirtualNodeHeight(p, P, r);
|
|
640
640
|
}
|
|
641
641
|
b.events.length > 0 && (A += (b.events.length - 1) * 10), C = Math.max(C, A);
|
|
642
642
|
}
|
|
643
643
|
E.debug("maxSectionHeight before draw", i), E.debug("maxTaskHeight before draw", a), f && f.length > 0 ? f.forEach((L) => {
|
|
644
|
-
const b = x.filter((w) => w.section === L),
|
|
644
|
+
const b = x.filter((w) => w.section === L), $ = {
|
|
645
645
|
number: S,
|
|
646
646
|
descr: L,
|
|
647
647
|
section: S,
|
|
@@ -649,8 +649,8 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
649
649
|
padding: 20,
|
|
650
650
|
maxHeight: i
|
|
651
651
|
};
|
|
652
|
-
E.debug("sectionNode",
|
|
653
|
-
const R = p.append("g"), A = F.drawNode(R,
|
|
652
|
+
E.debug("sectionNode", $);
|
|
653
|
+
const R = p.append("g"), A = F.drawNode(R, $, S, r);
|
|
654
654
|
E.debug("sectionNode output", A), R.attr("transform", `translate(${y}, ${u})`), o += i + 50, b.length > 0 && st(
|
|
655
655
|
p,
|
|
656
656
|
b,
|
|
@@ -659,7 +659,7 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
659
659
|
o,
|
|
660
660
|
a,
|
|
661
661
|
r,
|
|
662
|
-
|
|
662
|
+
M,
|
|
663
663
|
C,
|
|
664
664
|
i,
|
|
665
665
|
!1
|
|
@@ -672,7 +672,7 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
672
672
|
o,
|
|
673
673
|
a,
|
|
674
674
|
r,
|
|
675
|
-
|
|
675
|
+
M,
|
|
676
676
|
C,
|
|
677
677
|
i,
|
|
678
678
|
!0
|
|
@@ -726,7 +726,7 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
726
726
|
}, "drawEvents"), Ot = {
|
|
727
727
|
setConf: /* @__PURE__ */ s(() => {
|
|
728
728
|
}, "setConf"),
|
|
729
|
-
draw:
|
|
729
|
+
draw: Wt
|
|
730
730
|
}, jt = /* @__PURE__ */ s((n) => {
|
|
731
731
|
let t = "";
|
|
732
732
|
for (let e = 0; e < n.THEME_COLOR_LIMIT; e++)
|
|
@@ -791,12 +791,12 @@ var Ft = /* @__PURE__ */ s(function(n, t, e, l) {
|
|
|
791
791
|
.eventWrapper {
|
|
792
792
|
filter: brightness(120%);
|
|
793
793
|
}
|
|
794
|
-
`, "getStyles"), qt = Gt,
|
|
794
|
+
`, "getStyles"), qt = Gt, Jt = {
|
|
795
795
|
db: at,
|
|
796
796
|
renderer: Ot,
|
|
797
797
|
parser: Tt,
|
|
798
798
|
styles: qt
|
|
799
799
|
};
|
|
800
800
|
export {
|
|
801
|
-
|
|
801
|
+
Jt as diagram
|
|
802
802
|
};
|
|
@@ -1,24 +1,7 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
1
|
+
import { ReactNode, Dispatch, ComponentType } from 'react';
|
|
2
|
+
import { UnknownAction } from '@reduxjs/toolkit';
|
|
2
3
|
import { z } from 'zod';
|
|
3
4
|
|
|
4
|
-
/**
|
|
5
|
-
* Shared types used across multiple components to avoid circular dependencies
|
|
6
|
-
*/
|
|
7
|
-
declare enum TaskLabels {
|
|
8
|
-
DocGen = "DocGen",
|
|
9
|
-
ChartBot = "ChartBot",
|
|
10
|
-
SqlBot = "SqlExpert",
|
|
11
|
-
OpportunitiesBot = "OpportunitiesBot",
|
|
12
|
-
ProjectGovernor = "ProjectGovernor",
|
|
13
|
-
TeradataToSnowflakeMigrator = "TeradataToSnowflakeMigrator",
|
|
14
|
-
AlertManager = "AlertManager"
|
|
15
|
-
}
|
|
16
|
-
interface Citation {
|
|
17
|
-
id: string;
|
|
18
|
-
content: string;
|
|
19
|
-
taskLabel: TaskLabels;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
5
|
type ChatEventStatus = "idle" | "pending" | "streaming" | "complete" | "error" | "cancelled";
|
|
23
6
|
type ChatEvent = {
|
|
24
7
|
type: "session_created";
|
|
@@ -77,6 +60,7 @@ interface ChatSession {
|
|
|
77
60
|
mode?: string;
|
|
78
61
|
datamates?: string[];
|
|
79
62
|
status?: SessionStatusEnum;
|
|
63
|
+
userInput?: string;
|
|
80
64
|
}
|
|
81
65
|
interface FileUploadProps {
|
|
82
66
|
allowedFiles: string;
|
|
@@ -266,7 +250,6 @@ interface ChatState {
|
|
|
266
250
|
chatbot?: string;
|
|
267
251
|
chatMessages?: string;
|
|
268
252
|
messageItem?: string;
|
|
269
|
-
questionForm?: string;
|
|
270
253
|
};
|
|
271
254
|
}
|
|
272
255
|
declare const todoItemSchema: z.ZodObject<{
|
|
@@ -419,7 +402,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
419
402
|
}>, "many">>;
|
|
420
403
|
confidence_str: z.ZodOptional<z.ZodString>;
|
|
421
404
|
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
type: "text" | "info" | "error" | "custom" | "
|
|
405
|
+
type: "text" | "info" | "error" | "custom" | "analysis" | "complete" | "agent_outcome" | "require_user_action" | "citations" | "tool_use" | "final_response" | "stream_complete";
|
|
423
406
|
id?: string | undefined;
|
|
424
407
|
content?: string | undefined;
|
|
425
408
|
heading?: string | undefined;
|
|
@@ -429,13 +412,13 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
429
412
|
tool: string;
|
|
430
413
|
}[] | undefined;
|
|
431
414
|
} | undefined;
|
|
432
|
-
tool?: string | undefined;
|
|
433
415
|
citations?: {
|
|
434
416
|
content: string;
|
|
435
417
|
name: string;
|
|
436
418
|
type: string;
|
|
437
419
|
entity: string;
|
|
438
420
|
}[] | undefined;
|
|
421
|
+
tool?: string | undefined;
|
|
439
422
|
todos?: {
|
|
440
423
|
id: string;
|
|
441
424
|
content: string;
|
|
@@ -462,7 +445,7 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
462
445
|
}[] | undefined;
|
|
463
446
|
confidence_str?: string | undefined;
|
|
464
447
|
}, {
|
|
465
|
-
type: "text" | "info" | "error" | "custom" | "
|
|
448
|
+
type: "text" | "info" | "error" | "custom" | "analysis" | "complete" | "agent_outcome" | "require_user_action" | "citations" | "tool_use" | "final_response" | "stream_complete";
|
|
466
449
|
id?: string | undefined;
|
|
467
450
|
content?: string | undefined;
|
|
468
451
|
heading?: string | undefined;
|
|
@@ -472,13 +455,13 @@ declare const agentStreamResponseSchema: z.ZodObject<{
|
|
|
472
455
|
tool: string;
|
|
473
456
|
}[] | undefined;
|
|
474
457
|
} | undefined;
|
|
475
|
-
tool?: string | undefined;
|
|
476
458
|
citations?: {
|
|
477
459
|
content: string;
|
|
478
460
|
name: string;
|
|
479
461
|
type: string;
|
|
480
462
|
entity: string;
|
|
481
463
|
}[] | undefined;
|
|
464
|
+
tool?: string | undefined;
|
|
482
465
|
todos?: {
|
|
483
466
|
id: string;
|
|
484
467
|
content: string;
|
|
@@ -530,4 +513,112 @@ interface AgentStreamResponse {
|
|
|
530
513
|
confidence_str?: string;
|
|
531
514
|
}
|
|
532
515
|
|
|
533
|
-
|
|
516
|
+
interface TeamMateState {
|
|
517
|
+
showCoachingForm: boolean;
|
|
518
|
+
}
|
|
519
|
+
interface TeamMateContextProps {
|
|
520
|
+
state: TeamMateState;
|
|
521
|
+
dispatch: Dispatch<UnknownAction>;
|
|
522
|
+
}
|
|
523
|
+
interface CoachAiResponse {
|
|
524
|
+
ai_response: string;
|
|
525
|
+
category: string;
|
|
526
|
+
personalizationScope: string;
|
|
527
|
+
}
|
|
528
|
+
interface CoachAiConfirmationResponse {
|
|
529
|
+
ok: boolean;
|
|
530
|
+
train_doc_uid: string;
|
|
531
|
+
frontend_url: string;
|
|
532
|
+
}
|
|
533
|
+
declare enum ContentCategory {
|
|
534
|
+
TERM_CLARIFICATION = "TermClarification",
|
|
535
|
+
GENERAL_GUIDELINES = "GeneralGuidelines",
|
|
536
|
+
BUSINESS_EXPLANATION = "BusinessExplanation"
|
|
537
|
+
}
|
|
538
|
+
declare enum TaskLabels {
|
|
539
|
+
DocGen = "DocGen",
|
|
540
|
+
ChartBot = "ChartBot",
|
|
541
|
+
SqlBot = "SqlExpert",
|
|
542
|
+
OpportunitiesBot = "OpportunitiesBot",
|
|
543
|
+
ProjectGovernor = "ProjectGovernor",
|
|
544
|
+
TeradataToSnowflakeMigrator = "TeradataToSnowflakeMigrator",
|
|
545
|
+
AlertManager = "AlertManager"
|
|
546
|
+
}
|
|
547
|
+
declare enum PersonalizationScope {
|
|
548
|
+
USER_SPECIFIC = "UserSpecific",
|
|
549
|
+
ALL_USERS = "AllUsers"
|
|
550
|
+
}
|
|
551
|
+
declare const learningSchema: z.ZodObject<{
|
|
552
|
+
train_doc_uid: z.ZodString;
|
|
553
|
+
userId: z.ZodString;
|
|
554
|
+
display_name: z.ZodString;
|
|
555
|
+
taskLabel: z.ZodString;
|
|
556
|
+
category: z.ZodEnum<[string, ...string[]]>;
|
|
557
|
+
personalizationScope: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
|
|
558
|
+
createdDate: z.ZodString;
|
|
559
|
+
updatedDate: z.ZodString;
|
|
560
|
+
content: z.ZodString;
|
|
561
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
562
|
+
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
563
|
+
}, "strip", z.ZodTypeAny, {
|
|
564
|
+
content: string;
|
|
565
|
+
isActive: boolean;
|
|
566
|
+
category: string;
|
|
567
|
+
display_name: string;
|
|
568
|
+
userId: string;
|
|
569
|
+
taskLabel: string;
|
|
570
|
+
personalizationScope: string;
|
|
571
|
+
train_doc_uid: string;
|
|
572
|
+
createdDate: string;
|
|
573
|
+
updatedDate: string;
|
|
574
|
+
metadata?: Record<string, unknown> | undefined;
|
|
575
|
+
}, {
|
|
576
|
+
content: string;
|
|
577
|
+
category: string;
|
|
578
|
+
display_name: string;
|
|
579
|
+
userId: string;
|
|
580
|
+
taskLabel: string;
|
|
581
|
+
train_doc_uid: string;
|
|
582
|
+
createdDate: string;
|
|
583
|
+
updatedDate: string;
|
|
584
|
+
metadata?: Record<string, unknown> | undefined;
|
|
585
|
+
isActive?: boolean | undefined;
|
|
586
|
+
personalizationScope?: string | undefined;
|
|
587
|
+
}>;
|
|
588
|
+
interface Learning extends z.infer<typeof learningSchema> {
|
|
589
|
+
}
|
|
590
|
+
declare enum TeamMateAvailability {
|
|
591
|
+
EXTENSION = "VSCode Extension",
|
|
592
|
+
SAAS = "SaaS"
|
|
593
|
+
}
|
|
594
|
+
interface TeamMateComponentProps<T = void> {
|
|
595
|
+
onClose?: (data?: T) => void;
|
|
596
|
+
frontendUrl?: string;
|
|
597
|
+
urls?: ChatbotUrls;
|
|
598
|
+
requestParams?: RequestInit;
|
|
599
|
+
context?: ChatSession["context"];
|
|
600
|
+
contextOptions?: ContextOption[];
|
|
601
|
+
}
|
|
602
|
+
interface TeamMateConfig<T = unknown> {
|
|
603
|
+
name: string;
|
|
604
|
+
avatar: string;
|
|
605
|
+
description: string;
|
|
606
|
+
availability: TeamMateAvailability[];
|
|
607
|
+
key: TaskLabels;
|
|
608
|
+
seeInAction?: boolean;
|
|
609
|
+
comingSoon?: boolean | (() => boolean);
|
|
610
|
+
displayComponent?: ComponentType<TeamMateComponentProps<T>>;
|
|
611
|
+
formComponent?: ComponentType<TeamMateComponentProps<T>>;
|
|
612
|
+
}
|
|
613
|
+
declare enum TeamMateActionType {
|
|
614
|
+
SEE_IN_ACTION = "SEE_IN_ACTION",
|
|
615
|
+
REQUEST_ACCESS = "REQUEST_ACCESS",
|
|
616
|
+
VIEW_DETAILS = "VIEW_DETAILS"
|
|
617
|
+
}
|
|
618
|
+
interface Citation {
|
|
619
|
+
id: string;
|
|
620
|
+
content: string;
|
|
621
|
+
taskLabel: TaskLabels;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
export { type Artifact as A, type Datamate as B, type CoachAiResponse as C, type DetectedEntity as D, EntityType as E, type Feedback as F, type EntityDetectionRequest as G, type EntityDetectionResponse as H, type InteractionRequest as I, type Mode as J, type InteractionType as K, type Learning as L, type MessageAttachment as M, type InteractionChoice as N, sessionStatusSchema as O, PersonalizationScope as P, todoItemSchema as Q, type ToolUsageData as R, type SessionStatusEnum as S, TaskLabels as T, type UploadedFile as U, type ProgressUpdate as V, type FinalResponseData as W, agentStreamResponseSchema as X, type TeamMateContextProps as a, type TeamMateState as b, type TeamMateConfig as c, TeamMateActionType as d, TeamMateAvailability as e, type CoachAiConfirmationResponse as f, ContentCategory as g, type TeamMateComponentProps as h, type Citation as i, type ChatbotProps as j, type ChatSession as k, learningSchema as l, type ChatbotProviderProps as m, type ChatState as n, type ContextOption as o, type ChatMessage as p, type AgentAction as q, type TodoItem as r, type ChatResponse as s, LoadingState as t, type AgentStreamResponse as u, type ChatEventStatus as v, type ChatEvent as w, type AssistantMeta as x, type FileUploadProps as y, type ChatbotUrls as z };
|