@altimateai/ui-components 0.0.78-beta.1 → 0.0.78
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 +23919 -67654
- package/dist/DbtDocsRenderer.js +1 -1
- package/dist/Stack.js +2231 -2829
- package/dist/Switch.js +87 -128
- package/dist/ToggleGroup.js +5100 -6285
- 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 +1309 -1302
- package/dist/linear.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.js +150 -150
- 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 +8 -11
- package/dist/shadcn/index.js +4733 -6547
- package/dist/stateDiagram-FKZM4ZOC.js +33 -33
- package/dist/stateDiagram-v2-4FDKWEC3.js +6 -6
- 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,6 +1,6 @@
|
|
|
1
1
|
import { p as Z } from "./chunk-4BX2VUAB.js";
|
|
2
2
|
import { I as F } from "./chunk-QZHKN3VN.js";
|
|
3
|
-
import {
|
|
3
|
+
import { au as U, a1 as h, a7 as rr, av as er, aw as tr, ax as ar, ad as m, a3 as nr, a4 as sr, a5 as or, a6 as cr, ag as ir, ah as dr, a9 as B, an as hr, am as lr, ay as $r } from "./CoachForm.js";
|
|
4
4
|
import { p as fr } from "./mermaid-parser.core.js";
|
|
5
5
|
import { s as gr } from "./redux-toolkit.modern.js";
|
|
6
6
|
var u = {
|
|
@@ -239,12 +239,12 @@ var xr = /* @__PURE__ */ h(function(t) {
|
|
|
239
239
|
}, r;
|
|
240
240
|
}
|
|
241
241
|
}, "checkout");
|
|
242
|
-
function
|
|
242
|
+
function A(t, r, a) {
|
|
243
243
|
const s = t.indexOf(r);
|
|
244
244
|
s === -1 ? t.push(a) : t.splice(s, 1, a);
|
|
245
245
|
}
|
|
246
|
-
h(
|
|
247
|
-
function
|
|
246
|
+
h(A, "upsert");
|
|
247
|
+
function D(t) {
|
|
248
248
|
const r = t.reduce((e, n) => e.seq > n.seq ? e : n, t[0]);
|
|
249
249
|
let a = "";
|
|
250
250
|
t.forEach(function(e) {
|
|
@@ -255,22 +255,22 @@ function A(t) {
|
|
|
255
255
|
i.records.branches.get(e) === r.id && s.push(e);
|
|
256
256
|
if (m.debug(s.join(" ")), r.parents && r.parents.length == 2 && r.parents[0] && r.parents[1]) {
|
|
257
257
|
const e = i.records.commits.get(r.parents[0]);
|
|
258
|
-
|
|
258
|
+
A(t, r, e), r.parents[1] && t.push(i.records.commits.get(r.parents[1]));
|
|
259
259
|
} else {
|
|
260
260
|
if (r.parents.length == 0)
|
|
261
261
|
return;
|
|
262
262
|
if (r.parents[0]) {
|
|
263
263
|
const e = i.records.commits.get(r.parents[0]);
|
|
264
|
-
|
|
264
|
+
A(t, r, e);
|
|
265
265
|
}
|
|
266
266
|
}
|
|
267
|
-
t = N(t, (e) => e.id),
|
|
267
|
+
t = N(t, (e) => e.id), D(t);
|
|
268
268
|
}
|
|
269
|
-
h(
|
|
269
|
+
h(D, "prettyPrintCommitHistory");
|
|
270
270
|
var Cr = /* @__PURE__ */ h(function() {
|
|
271
271
|
m.debug(i.records.commits);
|
|
272
272
|
const t = V()[0];
|
|
273
|
-
|
|
273
|
+
D([t]);
|
|
274
274
|
}, "prettyPrint"), Er = /* @__PURE__ */ h(function() {
|
|
275
275
|
i.reset(), hr();
|
|
276
276
|
}, "clear"), Br = /* @__PURE__ */ h(function() {
|
|
@@ -380,7 +380,7 @@ var Cr = /* @__PURE__ */ h(function() {
|
|
|
380
380
|
const e = E.get(s).y;
|
|
381
381
|
e <= a && (r = s, a = e);
|
|
382
382
|
}), r || void 0;
|
|
383
|
-
}, "findClosestParentBT"),
|
|
383
|
+
}, "findClosestParentBT"), Ar = /* @__PURE__ */ h((t, r, a) => {
|
|
384
384
|
let s = a, e = a;
|
|
385
385
|
const n = [];
|
|
386
386
|
t.forEach((c) => {
|
|
@@ -399,7 +399,7 @@ var Cr = /* @__PURE__ */ h(function() {
|
|
|
399
399
|
E.set(o.id, { x: l, y: f });
|
|
400
400
|
}
|
|
401
401
|
});
|
|
402
|
-
}, "setParallelBTPos"),
|
|
402
|
+
}, "setParallelBTPos"), Dr = /* @__PURE__ */ h((t) => {
|
|
403
403
|
var s;
|
|
404
404
|
const r = Q(t.parents.filter((e) => e !== null));
|
|
405
405
|
if (!r)
|
|
@@ -408,7 +408,7 @@ var Cr = /* @__PURE__ */ h(function() {
|
|
|
408
408
|
if (a === void 0)
|
|
409
409
|
throw new Error(`Closest parent position not found for commit ${t.id}`);
|
|
410
410
|
return a;
|
|
411
|
-
}, "findClosestParentPos"), Yr = /* @__PURE__ */ h((t) =>
|
|
411
|
+
}, "findClosestParentPos"), Yr = /* @__PURE__ */ h((t) => Dr(t) + I, "calculateCommitPosition"), Kr = /* @__PURE__ */ h((t, r) => {
|
|
412
412
|
const a = C.get(t.branch);
|
|
413
413
|
if (!a)
|
|
414
414
|
throw new Error(`Branch not found for commit ${t.id}`);
|
|
@@ -551,7 +551,7 @@ var Cr = /* @__PURE__ */ h(function() {
|
|
|
551
551
|
return d !== void 0 && y !== void 0 ? d - y : 0;
|
|
552
552
|
}, "sortKeys");
|
|
553
553
|
let l = c.sort($);
|
|
554
|
-
x === "BT" && (o &&
|
|
554
|
+
x === "BT" && (o && Ar(l, r, n), l = l.reverse()), l.forEach((f) => {
|
|
555
555
|
var y;
|
|
556
556
|
const g = r.get(f);
|
|
557
557
|
if (!g)
|
package/dist/graph.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { k as _, f as g,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { bq as N, br as j, bs as f, bt as b, bu as E } from "./CoachForm.js";
|
|
2
|
+
import { a as v, c as P, k as _, f as g, d, i as l, v as p, r as D } from "./_baseUniq.js";
|
|
3
|
+
var w = N(function(o) {
|
|
4
|
+
return v(P(o, 1, j, !0));
|
|
5
|
+
}), F = "\0", a = "\0", O = "";
|
|
6
|
+
class L {
|
|
6
7
|
constructor(e = {}) {
|
|
7
8
|
this._isDirected = Object.prototype.hasOwnProperty.call(e, "directed") ? e.directed : !0, this._isMultigraph = Object.prototype.hasOwnProperty.call(e, "multigraph") ? e.multigraph : !1, this._isCompound = Object.prototype.hasOwnProperty.call(e, "compound") ? e.compound : !1, this._label = void 0, this._defaultNodeLabelFn = f(void 0), this._defaultEdgeLabelFn = f(void 0), this._nodes = {}, this._isCompound && (this._parent = {}, this._children = {}, this._children[a] = {}), this._in = {}, this._preds = {}, this._out = {}, this._sucs = {}, this._edgeObjs = {}, this._edgeLabels = {};
|
|
8
9
|
}
|
|
@@ -117,7 +118,7 @@ class N {
|
|
|
117
118
|
neighbors(e) {
|
|
118
119
|
var t = this.predecessors(e);
|
|
119
120
|
if (t)
|
|
120
|
-
return
|
|
121
|
+
return w(t, this.successors(e));
|
|
121
122
|
}
|
|
122
123
|
isLeaf(e) {
|
|
123
124
|
var t;
|
|
@@ -157,7 +158,7 @@ class N {
|
|
|
157
158
|
}
|
|
158
159
|
setPath(e, t) {
|
|
159
160
|
var s = this, i = arguments;
|
|
160
|
-
return
|
|
161
|
+
return D(e, function(r, n) {
|
|
161
162
|
return i.length > 1 ? s.setEdge(r, n, t) : s.setEdge(r, n), n;
|
|
162
163
|
}), this;
|
|
163
164
|
}
|
|
@@ -174,8 +175,8 @@ class N {
|
|
|
174
175
|
if (!l(s) && !this._isMultigraph)
|
|
175
176
|
throw new Error("Cannot set a named edge when isMultigraph = false");
|
|
176
177
|
this.setNode(e), this.setNode(t), this._edgeLabels[h] = r ? i : this._defaultEdgeLabelFn(e, t, s);
|
|
177
|
-
var u =
|
|
178
|
-
return e = u.v, t = u.w, Object.freeze(u), this._edgeObjs[h] = u,
|
|
178
|
+
var u = M(this._isDirected, e, t, s);
|
|
179
|
+
return e = u.v, t = u.w, Object.freeze(u), this._edgeObjs[h] = u, y(this._preds[t], e), y(this._sucs[e], t), this._in[t][h] = u, this._out[e][h] = u, this._edgeCount++, this;
|
|
179
180
|
}
|
|
180
181
|
edge(e, t, s) {
|
|
181
182
|
var i = arguments.length === 1 ? m(this._isDirected, arguments[0]) : c(this._isDirected, e, t, s);
|
|
@@ -187,7 +188,7 @@ class N {
|
|
|
187
188
|
}
|
|
188
189
|
removeEdge(e, t, s) {
|
|
189
190
|
var i = arguments.length === 1 ? m(this._isDirected, arguments[0]) : c(this._isDirected, e, t, s), r = this._edgeObjs[i];
|
|
190
|
-
return r && (e = r.v, t = r.w, delete this._edgeLabels[i], delete this._edgeObjs[i],
|
|
191
|
+
return r && (e = r.v, t = r.w, delete this._edgeLabels[i], delete this._edgeObjs[i], C(this._preds[t], e), C(this._sucs[e], t), delete this._in[t][i], delete this._out[e][i], this._edgeCount--), this;
|
|
191
192
|
}
|
|
192
193
|
inEdges(e, t) {
|
|
193
194
|
var s = this._in[e];
|
|
@@ -213,12 +214,12 @@ class N {
|
|
|
213
214
|
return s.concat(this.outEdges(e, t));
|
|
214
215
|
}
|
|
215
216
|
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
function
|
|
217
|
+
L.prototype._nodeCount = 0;
|
|
218
|
+
L.prototype._edgeCount = 0;
|
|
219
|
+
function y(o, e) {
|
|
219
220
|
o[e] ? o[e]++ : o[e] = 1;
|
|
220
221
|
}
|
|
221
|
-
function
|
|
222
|
+
function C(o, e) {
|
|
222
223
|
--o[e] || delete o[e];
|
|
223
224
|
}
|
|
224
225
|
function c(o, e, t, s) {
|
|
@@ -227,9 +228,9 @@ function c(o, e, t, s) {
|
|
|
227
228
|
var n = i;
|
|
228
229
|
i = r, r = n;
|
|
229
230
|
}
|
|
230
|
-
return i + O + r + O + (l(s) ?
|
|
231
|
+
return i + O + r + O + (l(s) ? F : s);
|
|
231
232
|
}
|
|
232
|
-
function
|
|
233
|
+
function M(o, e, t, s) {
|
|
233
234
|
var i = "" + e, r = "" + t;
|
|
234
235
|
if (!o && i > r) {
|
|
235
236
|
var n = i;
|
|
@@ -242,5 +243,5 @@ function m(o, e) {
|
|
|
242
243
|
return c(o, e.v, e.w, e.name);
|
|
243
244
|
}
|
|
244
245
|
export {
|
|
245
|
-
|
|
246
|
+
L as G
|
|
246
247
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { HTMLAttributes, ButtonHTMLAttributes, ReactNode, FC, MouseEvent
|
|
2
|
+
import React__default, { HTMLAttributes, ButtonHTMLAttributes, ReactNode, FC, MouseEvent } from 'react';
|
|
3
3
|
import { B as ButtonProps, a as Button } from './Button-42Dj_nRE.js';
|
|
4
4
|
import { Components } from 'react-markdown';
|
|
5
5
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
6
6
|
import { PlotParams } from 'react-plotly.js';
|
|
7
|
-
import {
|
|
8
|
-
export {
|
|
7
|
+
import { T as TaskLabels, a as TeamMateContextProps, b as TeamMateState, c as TeamMateConfig, d as TeamMateActionType, e as TeamMateAvailability } from './types-ByRPUpXR.js';
|
|
8
|
+
export { i as Citation, f as CoachAiConfirmationResponse, C as CoachAiResponse, g as ContentCategory, L as Learning, P as PersonalizationScope, h as TeamMateComponentProps, l as learningSchema } from './types-ByRPUpXR.js';
|
|
9
9
|
import * as _reduxjs_toolkit from '@reduxjs/toolkit';
|
|
10
|
-
import {
|
|
11
|
-
import { z } from 'zod';
|
|
10
|
+
import { PayloadAction } from '@reduxjs/toolkit';
|
|
12
11
|
import * as immer from 'immer';
|
|
12
|
+
import { z } from 'zod';
|
|
13
13
|
import 'class-variance-authority/types';
|
|
14
14
|
import 'class-variance-authority';
|
|
15
15
|
|
|
@@ -199,101 +199,6 @@ interface Props$2 {
|
|
|
199
199
|
}
|
|
200
200
|
declare const ConversationGroupProvider: ({ currentUser, conversationGroup, shareId, onSelect, isSelected, users, onResolve, onReplyAdd, source, }: Props$2) => JSX.Element | null;
|
|
201
201
|
|
|
202
|
-
interface TeamMateState {
|
|
203
|
-
showCoachingForm: boolean;
|
|
204
|
-
}
|
|
205
|
-
interface TeamMateContextProps {
|
|
206
|
-
state: TeamMateState;
|
|
207
|
-
dispatch: Dispatch<UnknownAction>;
|
|
208
|
-
}
|
|
209
|
-
interface CoachAiResponse {
|
|
210
|
-
ai_response: string;
|
|
211
|
-
category: string;
|
|
212
|
-
personalizationScope: string;
|
|
213
|
-
}
|
|
214
|
-
interface CoachAiConfirmationResponse {
|
|
215
|
-
ok: boolean;
|
|
216
|
-
train_doc_uid: string;
|
|
217
|
-
frontend_url: string;
|
|
218
|
-
}
|
|
219
|
-
declare enum ContentCategory {
|
|
220
|
-
TERM_CLARIFICATION = "TermClarification",
|
|
221
|
-
GENERAL_GUIDELINES = "GeneralGuidelines",
|
|
222
|
-
BUSINESS_EXPLANATION = "BusinessExplanation"
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
declare enum PersonalizationScope {
|
|
226
|
-
USER_SPECIFIC = "UserSpecific",
|
|
227
|
-
ALL_USERS = "AllUsers"
|
|
228
|
-
}
|
|
229
|
-
declare const learningSchema: z.ZodObject<{
|
|
230
|
-
train_doc_uid: z.ZodString;
|
|
231
|
-
userId: z.ZodString;
|
|
232
|
-
display_name: z.ZodString;
|
|
233
|
-
taskLabel: z.ZodString;
|
|
234
|
-
category: z.ZodEnum<[string, ...string[]]>;
|
|
235
|
-
personalizationScope: z.ZodDefault<z.ZodEnum<[string, ...string[]]>>;
|
|
236
|
-
createdDate: z.ZodString;
|
|
237
|
-
updatedDate: z.ZodString;
|
|
238
|
-
content: z.ZodString;
|
|
239
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
240
|
-
isActive: z.ZodDefault<z.ZodBoolean>;
|
|
241
|
-
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
content: string;
|
|
243
|
-
isActive: boolean;
|
|
244
|
-
category: string;
|
|
245
|
-
display_name: string;
|
|
246
|
-
userId: string;
|
|
247
|
-
taskLabel: string;
|
|
248
|
-
train_doc_uid: string;
|
|
249
|
-
personalizationScope: string;
|
|
250
|
-
createdDate: string;
|
|
251
|
-
updatedDate: string;
|
|
252
|
-
metadata?: Record<string, unknown> | undefined;
|
|
253
|
-
}, {
|
|
254
|
-
content: string;
|
|
255
|
-
category: string;
|
|
256
|
-
display_name: string;
|
|
257
|
-
userId: string;
|
|
258
|
-
taskLabel: string;
|
|
259
|
-
train_doc_uid: string;
|
|
260
|
-
createdDate: string;
|
|
261
|
-
updatedDate: string;
|
|
262
|
-
metadata?: Record<string, unknown> | undefined;
|
|
263
|
-
isActive?: boolean | undefined;
|
|
264
|
-
personalizationScope?: string | undefined;
|
|
265
|
-
}>;
|
|
266
|
-
interface Learning extends z.infer<typeof learningSchema> {
|
|
267
|
-
}
|
|
268
|
-
declare enum TeamMateAvailability {
|
|
269
|
-
EXTENSION = "VSCode Extension",
|
|
270
|
-
SAAS = "SaaS"
|
|
271
|
-
}
|
|
272
|
-
interface TeamMateComponentProps<T = void> {
|
|
273
|
-
onClose?: (data?: T) => void;
|
|
274
|
-
frontendUrl?: string;
|
|
275
|
-
urls?: ChatbotUrls;
|
|
276
|
-
requestParams?: RequestInit;
|
|
277
|
-
context?: ChatSession["context"];
|
|
278
|
-
contextOptions?: ContextOption[];
|
|
279
|
-
}
|
|
280
|
-
interface TeamMateConfig<T = unknown> {
|
|
281
|
-
name: string;
|
|
282
|
-
avatar: string;
|
|
283
|
-
description: string;
|
|
284
|
-
availability: TeamMateAvailability[];
|
|
285
|
-
key: TaskLabels;
|
|
286
|
-
seeInAction?: boolean;
|
|
287
|
-
comingSoon?: boolean | (() => boolean);
|
|
288
|
-
displayComponent?: ComponentType<TeamMateComponentProps<T>>;
|
|
289
|
-
formComponent?: ComponentType<TeamMateComponentProps<T>>;
|
|
290
|
-
}
|
|
291
|
-
declare enum TeamMateActionType {
|
|
292
|
-
SEE_IN_ACTION = "SEE_IN_ACTION",
|
|
293
|
-
REQUEST_ACCESS = "REQUEST_ACCESS",
|
|
294
|
-
VIEW_DETAILS = "VIEW_DETAILS"
|
|
295
|
-
}
|
|
296
|
-
|
|
297
202
|
declare const TeamMateProvider: ({ children }: {
|
|
298
203
|
children: ReactNode;
|
|
299
204
|
}) => JSX.Element;
|
|
@@ -377,4 +282,4 @@ interface ProjectGovernorCheck extends z.infer<typeof ProjectGovernorCheckSchema
|
|
|
377
282
|
id: string;
|
|
378
283
|
}
|
|
379
284
|
|
|
380
|
-
export { ApiHelper,
|
|
285
|
+
export { ApiHelper, CoachForm, CoachFormButton, CodeBlockComponent as CodeBlock, Collapse, type Conversation, type ConversationGroup, ConversationGroupProvider, ConversationInputForm, ConversationSources, DbtDocs, type DbtDocsShareDetails, IconButton, LearningsPage as Learnings, LoadingButton, Markdown, MermaidDiagram, Plotly, Popconfirm, ProjectGovernorAllowedFiles, type ProjectGovernorCheck, type ProjectGovernorCheckConfirmationResponse, type ProjectGovernorCheckFormValues, ProjectGovernorCheckSchema, ProjectGovernorCheckTypes, type ProjectGovernorCheckValidateResponse, Spinner, Stack, Table, TaskLabels, TeamMateActionType, TeamMateAvailability, TeamMateConfig, TeamMateContextProps, TeamMateProvider, TeamMateState, TeamMates, TeamMatesConfig, TeammateActions, useTeamMateContext };
|
package/dist/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { C as
|
|
3
|
-
import { A,
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { j as e, i as s, h as r, C as t, D as c, L as n, T as i, m, l, k as p } from "./main.js";
|
|
2
|
+
import { C as T, T as v } from "./dayjs.min.js";
|
|
3
|
+
import { cr as h, cg as k, ce as u, cq as M, cp as P, ch as d, co as g, cf as x, cu as A, cv as S, ct as j, cn as y, cs as b, ck as B, cl as D, cm as F, cj as G } from "./CoachForm.js";
|
|
4
|
+
import { A as I, l as w, I as q } from "./redux-toolkit.modern.js";
|
|
5
|
+
import { X as H } from "./Stack.js";
|
|
6
6
|
export {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
7
|
+
I as ApiHelper,
|
|
8
|
+
h as CoachForm,
|
|
9
|
+
e as CoachFormButton,
|
|
10
|
+
w as CodeBlock,
|
|
11
|
+
T as Collapse,
|
|
12
|
+
k as ContentCategory,
|
|
13
|
+
s as ConversationGroupProvider,
|
|
14
|
+
r as ConversationInputForm,
|
|
15
|
+
t as ConversationSources,
|
|
16
|
+
c as DbtDocs,
|
|
17
|
+
q as IconButton,
|
|
18
|
+
n as Learnings,
|
|
19
|
+
u as LoadingButton,
|
|
20
|
+
M as Markdown,
|
|
21
|
+
P as MermaidDiagram,
|
|
22
22
|
d as PersonalizationScope,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
23
|
+
g as Plotly,
|
|
24
|
+
x as Popconfirm,
|
|
25
|
+
A as ProjectGovernorAllowedFiles,
|
|
26
|
+
S as ProjectGovernorCheckSchema,
|
|
27
|
+
j as ProjectGovernorCheckTypes,
|
|
28
|
+
y as Spinner,
|
|
29
|
+
H as Stack,
|
|
30
|
+
v as Table,
|
|
31
|
+
b as TaskLabels,
|
|
32
|
+
B as TeamMateActionType,
|
|
33
|
+
D as TeamMateAvailability,
|
|
34
|
+
i as TeamMateProvider,
|
|
35
|
+
m as TeamMates,
|
|
36
|
+
F as TeamMatesConfig,
|
|
37
|
+
l as TeammateActions,
|
|
38
|
+
G as learningSchema,
|
|
39
|
+
p as useTeamMateContext
|
|
40
40
|
};
|