@loopstack/loopstack-studio 0.21.0-rc.0 → 0.21.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.
- package/dist/components/LoadingCentered.js +28 -0
- package/dist/components/ai-elements/code-block.js +96 -0
- package/dist/components/ai-elements/message.js +87 -0
- package/dist/components/ai-elements/prompt-input.js +321 -0
- package/dist/components/ai-elements/reasoning.js +124 -0
- package/dist/components/ai-elements/shimmer.js +37 -0
- package/dist/components/ai-elements/sources.js +65 -0
- package/dist/components/ai-elements/tool.js +158 -0
- package/dist/components/content/ErrorAlert.js +17 -0
- package/dist/components/data-table/DataList.js +102 -102
- package/dist/components/data-table/DataTable.js +102 -99
- package/dist/components/dynamic-form/CodeContent.js +2 -2
- package/dist/components/dynamic-form/FormElement.js +3 -3
- package/dist/components/dynamic-form/FormElementHeader.js +2 -2
- package/dist/components/dynamic-form/ObjectController.js +2 -2
- package/dist/components/dynamic-form/fields/RadioField.js +3 -3
- package/dist/components/dynamic-form/fields/SliderField.js +13 -13
- package/dist/components/dynamic-form/fields/SwitchField.js +1 -1
- package/dist/components/dynamic-form/fields/TextareaField.js +4 -4
- package/dist/components/index.js +45 -0
- package/dist/components/layout/MainLayout.js +0 -1
- package/dist/components/lists/ListView.js +62 -59
- package/dist/components/loopstack-elements/link.js +115 -0
- package/dist/components/messages/CompletionMessagePaper.js +110 -0
- package/dist/components/snackbars/ErrorSnackbar.js +1 -1
- package/dist/components/ui/DiscordLogo.js +31 -0
- package/dist/components/ui/GoogleLogo.js +44 -0
- package/dist/components/ui/accordion.js +64 -0
- package/dist/components/ui/alert-dialog.js +91 -82
- package/dist/components/ui/alert.js +50 -0
- package/dist/components/ui/avatar.js +42 -0
- package/dist/components/ui/badge.js +1 -1
- package/dist/components/ui/breadcrumb.js +76 -56
- package/dist/components/ui/button-group.js +13 -0
- package/dist/components/ui/card.js +79 -19
- package/dist/components/ui/command.js +7 -0
- package/dist/components/ui/context-menu.js +63 -0
- package/dist/components/ui/dialog.js +89 -47
- package/dist/components/ui/drawer.js +122 -0
- package/dist/components/ui/dropdown-menu.js +190 -0
- package/dist/components/ui/hover-card.js +6 -0
- package/dist/components/ui/input-group.js +85 -0
- package/dist/components/ui/popover.js +47 -0
- package/dist/components/ui/scroll-area.js +50 -0
- package/dist/components/ui/select.js +115 -82
- package/dist/components/ui/separator.js +20 -0
- package/dist/components/ui/sheet.js +87 -57
- package/dist/components/ui/sidebar.js +557 -0
- package/dist/components/ui/skeleton.js +16 -0
- package/dist/components/ui/table.js +85 -61
- package/dist/components/ui/tabs.js +54 -0
- package/dist/components/ui-widgets/UiActions.js +24 -0
- package/dist/components/ui-widgets/UiWidget.js +43 -0
- package/dist/components/ui-widgets/widgets/AiPromptInput.js +43 -0
- package/dist/components/ui-widgets/widgets/ButtonFullWidth.js +23 -0
- package/dist/components/ui-widgets/widgets/SubmitButton.js +23 -0
- package/dist/features/code-explorer/CodeExplorer.js +69 -0
- package/dist/features/code-explorer/components/CodeExplorerTree.js +43 -0
- package/dist/features/code-explorer/components/CodeExplorerTreeNode.js +82 -0
- package/dist/features/code-explorer/components/FileContentViewer.js +237 -0
- package/dist/features/code-explorer/components/FileTabsBar.js +191 -0
- package/dist/features/code-explorer/providers/CodeExplorerProvider.js +165 -0
- package/dist/features/code-explorer/utils/fileIcons.js +42 -0
- package/dist/features/dashboard/Dashboard.js +125 -0
- package/dist/features/dashboard/RunItem.js +76 -0
- package/dist/features/dashboard/RunList.js +32 -0
- package/dist/features/debug/components/ConfigFlowViewer.js +79 -0
- package/dist/features/debug/components/PipelineDebugHeader.js +48 -0
- package/dist/features/debug/components/PipelineDebugLegend.js +68 -0
- package/dist/features/debug/components/PipelineFlowViewer.js +109 -0
- package/dist/features/debug/components/pipeline-flow/StateNode.js +111 -0
- package/dist/features/debug/components/pipeline-flow/WorkflowGraph.js +41 -0
- package/dist/features/debug/components/pipeline-flow/WorkflowTransitionEdge.js +97 -0
- package/dist/features/debug/lib/edge-paths.js +47 -0
- package/dist/features/debug/lib/flow-utils.js +247 -0
- package/dist/features/health/LocalHealthCheck.js +2 -2
- package/dist/features/oauth/OAuthCallbackPage.js +2 -0
- package/dist/features/oauth/OAuthPromptRenderer.js +223 -0
- package/dist/features/oauth/index.js +3 -0
- package/dist/features/oauth/useOAuthPopup.js +83 -0
- package/dist/features/workbench/NavigationItems.js +52 -0
- package/dist/features/workbench/Workbench.js +101 -0
- package/dist/features/workbench/WorkbenchNavigation.js +38 -0
- package/dist/features/workbench/WorkflowItem.js +67 -0
- package/dist/features/workbench/WorkflowList.js +110 -0
- package/dist/features/workbench/components/DocumentItem.js +27 -0
- package/dist/features/workbench/components/DocumentList.js +40 -0
- package/dist/features/workbench/components/DocumentMetadataPills.js +63 -0
- package/dist/features/workbench/components/DocumentRenderer.js +54 -0
- package/dist/features/workbench/components/NavigationItem.js +68 -0
- package/dist/features/workbench/components/PipelineHistoryList.js +56 -0
- package/dist/features/workbench/components/WorkbenchSettingsModal.js +89 -0
- package/dist/features/workbench/components/WorkbenchSidebar.js +109 -0
- package/dist/features/workbench/components/WorkflowForms.js +22 -0
- package/dist/features/workbench/components/WorkflowHistoryItem.js +144 -0
- package/dist/features/workbench/components/buttons/WorkflowButtons.js +85 -0
- package/dist/features/workbench/components/document-details/DocumentDetails.js +425 -0
- package/dist/features/workbench/components/document-details/PromptDetails.js +146 -0
- package/dist/features/workbench/components/document-renderer/AiMessage.js +56 -0
- package/dist/features/workbench/components/document-renderer/AiMessageContent.js +174 -0
- package/dist/features/workbench/components/document-renderer/DocumentDebugRenderer.js +30 -0
- package/dist/features/workbench/components/document-renderer/DocumentFormRenderer.js +79 -0
- package/dist/features/workbench/components/document-renderer/DocumentMessageRenderer.js +10 -0
- package/dist/features/workbench/components/document-renderer/ErrorMessageRenderer.js +13 -0
- package/dist/features/workbench/components/document-renderer/LinkMessageRenderer.js +17 -0
- package/dist/features/workbench/components/document-renderer/MarkdownMessageRenderer.js +10 -0
- package/dist/features/workbench/components/document-renderer/PlainMessageRenderer.js +9 -0
- package/dist/features/workbench/hooks/useAutoScrollBottom.js +29 -0
- package/dist/features/workbench/hooks/useIntersectionObserver.js +44 -0
- package/dist/features/workbench/hooks/useScrollToListItem.js +23 -0
- package/dist/features/workbench/providers/ScrollProvider.js +22 -0
- package/dist/features/workbench/providers/WorkbenchContextProvider.js +3 -0
- package/dist/features/workspaces/Workspaces.js +157 -90
- package/dist/features/workspaces/components/CreateWorkspace.js +104 -81
- package/dist/features/workspaces/components/ExecutionTimeline.js +2 -2
- package/dist/features/workspaces/components/PipelineForm.js +2 -2
- package/dist/hooks/index.js +1 -0
- package/dist/hooks/useApi.js +1 -1
- package/dist/hooks/useDashboard.js +23 -0
- package/dist/hooks/useDocuments.js +45 -0
- package/dist/hooks/useFiles.js +63 -0
- package/dist/hooks/useNamespaceTree.js +27 -0
- package/dist/hooks/useNamespaces.js +34 -0
- package/dist/hooks/usePipelines.js +83 -6
- package/dist/hooks/useWorkflows.js +122 -0
- package/dist/hooks/useWorkspaces.js +49 -29
- package/dist/index.d.ts +817 -9
- package/dist/index.js +55 -1
- package/dist/lib/requireParam.js +6 -0
- package/dist/loopstack-studio.css +1 -1
- package/dist/node_modules/@ai-sdk/provider/dist/index.js +65 -0
- package/dist/node_modules/@ai-sdk/provider-utils/dist/index.js +1008 -0
- package/dist/node_modules/@dagrejs/dagre/dist/dagre.esm.js +1968 -0
- package/dist/node_modules/@shikijs/core/dist/index.js +1420 -0
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/index.js +236 -0
- package/dist/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/abap.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/actionscript-3.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ada.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-expression.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-html.js +14 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-style.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-inline-template.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-let-declaration.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-template-blocks.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-template.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/angular-ts.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/apache.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/apex.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/apl.js +14 -0
- package/dist/node_modules/@shikijs/langs/dist/applescript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ara.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/asciidoc.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/asm.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/astro.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/awk.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ballerina.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/bat.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/beancount.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/berry.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/bibtex.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/bicep.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/bird2.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/blade.js +18 -0
- package/dist/node_modules/@shikijs/langs/dist/bsl.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/c.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/c3.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cadence.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cairo.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/clarity.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/clojure.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cmake.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cobol.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/codeowners.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/codeql.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/coffee.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/common-lisp.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/coq.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cpp-macro.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/cpp.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/crystal.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/csharp.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/css.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/csv.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cue.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/cypher.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/d.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/dart.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/dax.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/desktop.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/diff.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/docker.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/dotenv.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/dream-maker.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/edge.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/elixir.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/elm.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/emacs-lisp.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/erb.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/erlang.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/es-tag-css.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/es-tag-glsl.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/es-tag-html.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/es-tag-sql.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/es-tag-xml.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/fennel.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/fish.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/fluent.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/fortran-fixed-form.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/fortran-free-form.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/fsharp.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/gdresource.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/gdscript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/gdshader.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/genie.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/gherkin.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/git-commit.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/git-rebase.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/gleam.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/glimmer-js.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/glimmer-ts.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/glsl.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/gn.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/gnuplot.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/go.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/graphql.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/groovy.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/hack.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/haml.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/handlebars.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/haskell.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/haxe.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/hcl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/hjson.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/hlsl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/html-derivative.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/html.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/http.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/hurl.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/hxml.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/hy.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/imba.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ini.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/java.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/javascript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jinja-html.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/jinja.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/jison.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/json.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/json5.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jsonc.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jsonl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jsonnet.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jssm.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/jsx.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/julia.js +14 -0
- package/dist/node_modules/@shikijs/langs/dist/just.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/kdl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/kotlin.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/kusto.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/latex.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/lean.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/less.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/liquid.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/llvm.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/log.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/logo.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/lua.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/luau.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/make.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/markdown-nix.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/markdown-vue.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/markdown.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/marko.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/matlab.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/mdc.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/mdx.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/mermaid.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/mipsasm.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/mojo.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/moonbit.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/move.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/narrat.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/nextflow-groovy.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/nextflow.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/nginx.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/nim.js +18 -0
- package/dist/node_modules/@shikijs/langs/dist/nix.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/nushell.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/objective-c.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/objective-cpp.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ocaml.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/odin.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/openscad.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/pascal.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/perl.js +14 -0
- package/dist/node_modules/@shikijs/langs/dist/php.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/pkl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/plsql.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/po.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/polar.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/postcss.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/powerquery.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/powershell.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/prisma.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/prolog.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/proto.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/pug.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/puppet.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/purescript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/python.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/qml.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/qmldir.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/qss.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/r.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/racket.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/raku.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/razor.js +8 -0
- package/dist/node_modules/@shikijs/langs/dist/reg.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/regexp.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/rel.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/riscv.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ron.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/rosmsg.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/rst.js +20 -0
- package/dist/node_modules/@shikijs/langs/dist/ruby.js +28 -0
- package/dist/node_modules/@shikijs/langs/dist/rust.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/sas.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/sass.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/scala.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/scheme.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/scss.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/sdbl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/shaderlab.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/shellscript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/shellsession.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/smalltalk.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/solidity.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/soy.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/sparql.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/splunk.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/sql.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ssh-config.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/stata.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/stylus.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/surrealql.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/svelte.js +12 -0
- package/dist/node_modules/@shikijs/langs/dist/swift.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/system-verilog.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/systemd.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/talonscript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/tasl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/tcl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/templ.js +10 -0
- package/dist/node_modules/@shikijs/langs/dist/terraform.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/tex.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/toml.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/ts-tags.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/tsv.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/tsx.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/turtle.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/twig.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/typescript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/typespec.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/typst.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/v.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vala.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vb.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/verilog.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vhdl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/viml.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vue-directives.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vue-html.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/vue-interpolations.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/vue-vine.js +16 -0
- package/dist/node_modules/@shikijs/langs/dist/vue.js +24 -0
- package/dist/node_modules/@shikijs/langs/dist/vyper.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wasm.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wenyan.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wgsl.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wikitext.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wit.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/wolfram.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/xml.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/xsl.js +3 -0
- package/dist/node_modules/@shikijs/langs/dist/yaml.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/zenscript.js +2 -0
- package/dist/node_modules/@shikijs/langs/dist/zig.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/andromeeda.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/aurora-x.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/ayu-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/ayu-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/ayu-mirage.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-frappe.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-latte.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-macchiato.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/catppuccin-mocha.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/dark-plus.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/dracula-soft.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/dracula.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/everforest-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/everforest-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-dark-default.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-dark-dimmed.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-dark-high-contrast.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-light-default.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-light-high-contrast.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/github-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-hard.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-medium.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/gruvbox-light-soft.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/horizon-bright.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/horizon.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/houston.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-dragon.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-lotus.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/kanagawa-wave.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/laserwave.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/light-plus.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/material-theme-darker.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/material-theme-lighter.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/material-theme-ocean.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/material-theme-palenight.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/material-theme.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/min-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/min-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/monokai.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/night-owl-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/night-owl.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/nord.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/one-dark-pro.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/one-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/plastic.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/poimandres.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/red.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-dawn.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/rose-pine-moon.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/rose-pine.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/slack-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/slack-ochin.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/snazzy-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/solarized-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/solarized-light.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/synthwave-84.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/tokyo-night.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/vesper.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/vitesse-black.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/vitesse-dark.js +2 -0
- package/dist/node_modules/@shikijs/themes/dist/vitesse-light.js +2 -0
- package/dist/node_modules/@shikijs/types/dist/index.js +6 -0
- package/dist/node_modules/@shikijs/vscode-textmate/dist/index.js +1580 -0
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +51 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +4 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +91 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +2 -0
- package/dist/node_modules/@xyflow/react/dist/esm/index.js +3280 -0
- package/dist/node_modules/@xyflow/system/dist/esm/index.js +1839 -0
- package/dist/node_modules/ai/dist/index.js +1083 -0
- package/dist/node_modules/bail/index.js +4 -0
- package/dist/node_modules/character-entities-html4/index.js +255 -0
- package/dist/node_modules/character-entities-legacy/index.js +2 -0
- package/dist/node_modules/chevrotain/lib/src/parse/errors_public.js +6 -1
- package/dist/node_modules/chevrotain/lib/src/scan/lexer.js +4 -10
- package/dist/node_modules/chevrotain/lib/src/scan/lexer_public.js +56 -65
- package/dist/node_modules/classcat/index.js +8 -0
- package/dist/node_modules/comma-separated-tokens/index.js +5 -1
- package/dist/node_modules/d3/src/index.js +5 -0
- package/dist/node_modules/d3-drag/src/constant.js +2 -0
- package/dist/node_modules/d3-drag/src/drag.js +112 -0
- package/dist/node_modules/d3-drag/src/event.js +60 -0
- package/dist/node_modules/d3-drag/src/nodrag.js +13 -0
- package/dist/node_modules/d3-drag/src/noevent.js +11 -0
- package/dist/node_modules/d3-interpolate/src/zoom.js +39 -0
- package/dist/node_modules/d3-selection/src/pointer.js +16 -0
- package/dist/node_modules/d3-selection/src/sourceEvent.js +6 -0
- package/dist/node_modules/d3-zoom/src/constant.js +2 -0
- package/dist/node_modules/d3-zoom/src/event.js +26 -0
- package/dist/node_modules/d3-zoom/src/index.js +1 -1
- package/dist/node_modules/d3-zoom/src/noevent.js +7 -0
- package/dist/node_modules/d3-zoom/src/zoom.js +214 -1
- package/dist/node_modules/decode-named-character-reference/index.dom.js +8 -0
- package/dist/node_modules/entities/dist/esm/decode-codepoint.js +35 -0
- package/dist/node_modules/entities/dist/esm/decode.js +129 -0
- package/dist/node_modules/entities/dist/esm/generated/decode-data-html.js +2 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +5 -0
- package/dist/node_modules/extend/index.js +37 -0
- package/dist/node_modules/hast-util-from-parse5/lib/index.js +121 -0
- package/dist/node_modules/hast-util-raw/lib/index.js +204 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/doctype.js +34 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/error-codes.js +5 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/foreign-content.js +150 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/html.js +267 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/token.js +9 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/common/unicode.js +65 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/index.js +8 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/formatting-element-list.js +69 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/index.js +1936 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/parser/open-element-stack.js +239 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/serializer/index.js +22 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/index.js +1451 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tokenizer/preprocessor.js +75 -0
- package/dist/node_modules/hast-util-raw/node_modules/parse5/dist/tree-adapters/default.js +155 -0
- package/dist/node_modules/hast-util-sanitize/lib/index.js +159 -0
- package/dist/node_modules/hast-util-sanitize/lib/schema.js +73 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/comment.js +9 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/doctype.js +4 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/element.js +47 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/index.js +27 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/raw.js +5 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/root.js +4 -0
- package/dist/node_modules/hast-util-to-html/lib/handle/text.js +6 -0
- package/dist/node_modules/hast-util-to-html/lib/index.js +46 -0
- package/dist/node_modules/hast-util-to-html/lib/omission/closing.js +84 -0
- package/dist/node_modules/hast-util-to-html/lib/omission/omission.js +8 -0
- package/dist/node_modules/hast-util-to-html/lib/omission/opening.js +37 -0
- package/dist/node_modules/hast-util-to-html/lib/omission/util/siblings.js +12 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +251 -0
- package/dist/node_modules/hast-util-to-parse5/lib/index.js +113 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +8 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +34 -0
- package/dist/node_modules/html-void-elements/index.js +23 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +88 -0
- package/dist/node_modules/katex/dist/katex.js +717 -861
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +555 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +101 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +20 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +19 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +54 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +16 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +57 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +18 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +22 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +33 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +9 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +17 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +18 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +106 -0
- package/dist/node_modules/micromark/lib/constructs.js +79 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +175 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +32 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +101 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +23 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +84 -0
- package/dist/node_modules/micromark/lib/parse.js +27 -0
- package/dist/node_modules/micromark/lib/postprocess.js +6 -0
- package/dist/node_modules/micromark/lib/preprocess.js +30 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +112 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +41 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +36 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +15 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +27 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +88 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +42 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +41 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +46 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +59 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +15 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +65 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +140 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +98 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +157 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +21 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +18 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +12 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +77 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +57 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +23 -0
- package/dist/node_modules/micromark-factory-destination/index.js +24 -0
- package/dist/node_modules/micromark-factory-label/index.js +18 -0
- package/dist/node_modules/micromark-factory-title/index.js +22 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +10 -0
- package/dist/node_modules/micromark-util-character/index.js +6 -5
- package/dist/node_modules/micromark-util-chunked/index.js +4 -1
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +5 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +15 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +7 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +16 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +33 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +55 -0
- package/dist/node_modules/motion/dist/es/react.js +3 -0
- package/dist/node_modules/nanoid/index.browser.js +7 -0
- package/dist/node_modules/nanoid/url-alphabet/index.js +2 -0
- package/dist/node_modules/property-information/index.js +1 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +20 -0
- package/dist/node_modules/rehype-harden/dist/index.js +168 -0
- package/dist/node_modules/rehype-raw/lib/index.js +10 -0
- package/dist/node_modules/rehype-sanitize/lib/index.js +7 -0
- package/dist/node_modules/remark-parse/lib/index.js +14 -0
- package/dist/node_modules/remark-rehype/lib/index.js +16 -0
- package/dist/node_modules/remend/dist/index.js +459 -0
- package/dist/node_modules/shiki/dist/bundle-full.js +11 -0
- package/dist/node_modules/shiki/dist/langs.js +1278 -0
- package/dist/node_modules/shiki/dist/themes.js +393 -0
- package/dist/node_modules/shiki/dist/wasm.js +2 -0
- package/dist/node_modules/space-separated-tokens/index.js +4 -1
- package/dist/node_modules/streamdown/dist/chunk-RLXIAIE6.js +2189 -0
- package/dist/node_modules/streamdown/dist/highlighted-body-B3W2YXNL.js +33 -0
- package/dist/node_modules/streamdown/dist/index.js +2 -0
- package/dist/node_modules/streamdown/dist/mermaid-3ZIDBTTL.js +3 -0
- package/dist/node_modules/streamdown/node_modules/marked/lib/marked.esm.js +1421 -0
- package/dist/node_modules/stringify-entities/lib/constant/dangerous.js +11 -0
- package/dist/node_modules/stringify-entities/lib/core.js +21 -0
- package/dist/node_modules/stringify-entities/lib/index.js +6 -0
- package/dist/node_modules/stringify-entities/lib/util/format-smart.js +12 -0
- package/dist/node_modules/stringify-entities/lib/util/to-decimal.js +6 -0
- package/dist/node_modules/stringify-entities/lib/util/to-hexadecimal.js +6 -0
- package/dist/node_modules/stringify-entities/lib/util/to-named.js +15 -0
- package/dist/node_modules/style-to-js/cjs/index.js +17 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +16 -0
- package/dist/node_modules/style-to-object/cjs/index.js +21 -0
- package/dist/node_modules/trim-lines/index.js +19 -0
- package/dist/node_modules/trough/lib/index.js +48 -0
- package/dist/node_modules/unified/lib/callable-instance.js +7 -0
- package/dist/node_modules/unified/lib/index.js +160 -0
- package/dist/node_modules/unified/node_modules/is-plain-obj/index.js +6 -0
- package/dist/node_modules/unist-util-position/lib/index.js +20 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +13 -0
- package/dist/node_modules/vaul/dist/index.js +912 -0
- package/dist/node_modules/vfile/lib/index.js +87 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +97 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +5 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +29 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +4 -0
- package/dist/node_modules/vfile-location/lib/index.js +41 -0
- package/dist/node_modules/vfile-message/lib/index.js +22 -0
- package/dist/node_modules/zod/v3/ZodError.js +79 -0
- package/dist/node_modules/zod/v3/errors.js +6 -0
- package/dist/node_modules/zod/v3/helpers/errorUtil.js +5 -0
- package/dist/node_modules/zod/v3/helpers/parseUtil.js +90 -0
- package/dist/node_modules/zod/v3/helpers/util.js +72 -0
- package/dist/node_modules/zod/v3/locales/en.js +58 -0
- package/dist/node_modules/zod/v3/types.js +2425 -0
- package/dist/node_modules/zod/v4/classic/errors.js +21 -0
- package/dist/node_modules/zod/v4/classic/iso.js +29 -0
- package/dist/node_modules/zod/v4/classic/parse.js +4 -0
- package/dist/node_modules/zod/v4/classic/schemas.js +392 -0
- package/dist/node_modules/zod/v4/core/api.js +532 -0
- package/dist/node_modules/zod/v4/core/checks.js +283 -0
- package/dist/node_modules/zod/v4/core/core.js +44 -0
- package/dist/node_modules/zod/v4/core/doc.js +21 -0
- package/dist/node_modules/zod/v4/core/errors.js +40 -0
- package/dist/node_modules/zod/v4/core/json-schema-processors.js +305 -0
- package/dist/node_modules/zod/v4/core/parse.js +66 -0
- package/dist/node_modules/zod/v4/core/regexes.js +28 -0
- package/dist/node_modules/zod/v4/core/registries.js +38 -0
- package/dist/node_modules/zod/v4/core/schemas.js +863 -0
- package/dist/node_modules/zod/v4/core/to-json-schema.js +220 -0
- package/dist/node_modules/zod/v4/core/util.js +267 -0
- package/dist/node_modules/zod/v4/core/versions.js +6 -0
- package/dist/node_modules/zwitch/index.js +14 -0
- package/dist/pages/DashboardPage.js +58 -0
- package/dist/pages/DebugWorkflowDetailsPage.js +121 -0
- package/dist/pages/DebugWorkflowsPage.js +130 -0
- package/dist/pages/EmbedWorkbenchPage.js +73 -0
- package/dist/pages/PipelineDebugPage.js +114 -0
- package/dist/pages/WorkbenchPage.js +67 -0
- package/dist/pages/WorkspacePage.js +1 -1
- package/dist/providers/ComponentOverridesProvider.js +12 -0
- package/dist/routing/LocalRouter.js +3 -0
- package/package.json +16 -16
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { useApiClient } from "./useApi.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { useQuery } from "@tanstack/react-query";
|
|
4
|
+
function getDocumentsCacheKey(e, i) {
|
|
5
|
+
return [
|
|
6
|
+
"documents",
|
|
7
|
+
e,
|
|
8
|
+
i
|
|
9
|
+
];
|
|
10
|
+
}
|
|
11
|
+
function useFilterDocuments(a) {
|
|
12
|
+
let o = c(15), { envKey: s, api: l } = useApiClient(), u;
|
|
13
|
+
o[0] === a ? u = o[1] : (u = JSON.stringify({
|
|
14
|
+
workflowId: a,
|
|
15
|
+
isInvalidated: !1
|
|
16
|
+
}), o[0] = a, o[1] = u);
|
|
17
|
+
let d;
|
|
18
|
+
o[2] === Symbol.for("react.memo_cache_sentinel") ? (d = JSON.stringify([{
|
|
19
|
+
field: "index",
|
|
20
|
+
order: "ASC"
|
|
21
|
+
}]), o[2] = d) : d = o[2];
|
|
22
|
+
let f;
|
|
23
|
+
o[3] === u ? f = o[4] : (f = {
|
|
24
|
+
filter: u,
|
|
25
|
+
sortBy: d
|
|
26
|
+
}, o[3] = u, o[4] = f);
|
|
27
|
+
let p = f, m;
|
|
28
|
+
o[5] !== s || o[6] !== a ? (m = getDocumentsCacheKey(s, a), o[5] = s, o[6] = a, o[7] = m) : m = o[7];
|
|
29
|
+
let h;
|
|
30
|
+
o[8] !== l || o[9] !== p ? (h = () => {
|
|
31
|
+
if (!l) throw Error("API not available");
|
|
32
|
+
return l.ApiV1DocumentsApi.documentControllerGetDocuments(p);
|
|
33
|
+
}, o[8] = l, o[9] = p, o[10] = h) : h = o[10];
|
|
34
|
+
let g = !!a, _;
|
|
35
|
+
return o[11] !== m || o[12] !== h || o[13] !== g ? (_ = {
|
|
36
|
+
queryKey: m,
|
|
37
|
+
queryFn: h,
|
|
38
|
+
enabled: g,
|
|
39
|
+
select: _temp2
|
|
40
|
+
}, o[11] = m, o[12] = h, o[13] = g, o[14] = _) : _ = o[14], useQuery(_);
|
|
41
|
+
}
|
|
42
|
+
function _temp2(e) {
|
|
43
|
+
return e.data.data;
|
|
44
|
+
}
|
|
45
|
+
export { useFilterDocuments };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { useApiClient } from "./useApi.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { useQuery } from "@tanstack/react-query";
|
|
4
|
+
function useFileTree(r, o) {
|
|
5
|
+
let s = c(10), l = o === void 0 ? !0 : o, { envKey: u, api: d } = useApiClient(), f;
|
|
6
|
+
s[0] !== u || s[1] !== r ? (f = [
|
|
7
|
+
"fileTree",
|
|
8
|
+
r,
|
|
9
|
+
u
|
|
10
|
+
], s[0] = u, s[1] = r, s[2] = f) : f = s[2];
|
|
11
|
+
let p;
|
|
12
|
+
s[3] !== d || s[4] !== r ? (p = () => {
|
|
13
|
+
if (!d) throw Error("API not available");
|
|
14
|
+
if (!r) throw Error("Pipeline ID is required");
|
|
15
|
+
return d.ApiV1PipelinesApi.fileControllerGetFileTree({ pipelineId: r });
|
|
16
|
+
}, s[3] = d, s[4] = r, s[5] = p) : p = s[5];
|
|
17
|
+
let m = !!r && l, h;
|
|
18
|
+
return s[6] !== f || s[7] !== p || s[8] !== m ? (h = {
|
|
19
|
+
queryKey: f,
|
|
20
|
+
queryFn: p,
|
|
21
|
+
enabled: m,
|
|
22
|
+
select: _temp,
|
|
23
|
+
staleTime: 3e5,
|
|
24
|
+
refetchOnMount: !1,
|
|
25
|
+
refetchOnWindowFocus: !1,
|
|
26
|
+
placeholderData: _temp2
|
|
27
|
+
}, s[6] = f, s[7] = p, s[8] = m, s[9] = h) : h = s[9], useQuery(h);
|
|
28
|
+
}
|
|
29
|
+
function _temp2(e) {
|
|
30
|
+
return e;
|
|
31
|
+
}
|
|
32
|
+
function _temp(e) {
|
|
33
|
+
return e.data;
|
|
34
|
+
}
|
|
35
|
+
function useFileContent(r, i, a) {
|
|
36
|
+
let o = c(12), l = a === void 0 ? !0 : a, { envKey: u, api: d } = useApiClient(), f;
|
|
37
|
+
o[0] !== u || o[1] !== i || o[2] !== r ? (f = [
|
|
38
|
+
"fileContent",
|
|
39
|
+
r,
|
|
40
|
+
i,
|
|
41
|
+
u
|
|
42
|
+
], o[0] = u, o[1] = i, o[2] = r, o[3] = f) : f = o[3];
|
|
43
|
+
let p;
|
|
44
|
+
o[4] !== d || o[5] !== i || o[6] !== r ? (p = () => {
|
|
45
|
+
if (!d) throw Error("API not available");
|
|
46
|
+
if (!r || !i) throw Error("Pipeline ID and file path are required");
|
|
47
|
+
return d.ApiV1PipelinesApi.fileControllerGetFileContent({
|
|
48
|
+
pipelineId: r,
|
|
49
|
+
filePath: i
|
|
50
|
+
});
|
|
51
|
+
}, o[4] = d, o[5] = i, o[6] = r, o[7] = p) : p = o[7];
|
|
52
|
+
let m = !!r && !!i && l, h;
|
|
53
|
+
return o[8] !== f || o[9] !== p || o[10] !== m ? (h = {
|
|
54
|
+
queryKey: f,
|
|
55
|
+
queryFn: p,
|
|
56
|
+
enabled: m,
|
|
57
|
+
select: _temp3
|
|
58
|
+
}, o[8] = f, o[9] = p, o[10] = m, o[11] = h) : h = o[11], useQuery(h);
|
|
59
|
+
}
|
|
60
|
+
function _temp3(e) {
|
|
61
|
+
return e.data;
|
|
62
|
+
}
|
|
63
|
+
export { useFileContent, useFileTree };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { useFilterNamespaces } from "./useNamespaces.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
|
+
function buildNamespaceTree(e) {
|
|
5
|
+
let t = /* @__PURE__ */ new Map();
|
|
6
|
+
e.forEach((e) => {
|
|
7
|
+
t.set(e.id, {
|
|
8
|
+
...e,
|
|
9
|
+
childNodes: []
|
|
10
|
+
});
|
|
11
|
+
});
|
|
12
|
+
let n = [];
|
|
13
|
+
return e.forEach((e) => {
|
|
14
|
+
let r = t.get(e.id);
|
|
15
|
+
if (e.parentId) {
|
|
16
|
+
let i = t.get(e.parentId);
|
|
17
|
+
i ? i.childNodes.push(r) : (console.warn(`Parent namespace with ID ${e.parentId} not found for ${e.id}`), n.push(r));
|
|
18
|
+
} else n.push(r);
|
|
19
|
+
}), n;
|
|
20
|
+
}
|
|
21
|
+
function useNamespaceTree(n) {
|
|
22
|
+
let i = c(4), a = useFilterNamespaces(n), o;
|
|
23
|
+
i[0] === a.data ? o = i[1] : (o = a.data ?? [], i[0] = a.data, i[1] = o);
|
|
24
|
+
let s = o, l;
|
|
25
|
+
return i[2] === s ? l = i[3] : (l = s.length ? buildNamespaceTree(s) : [], i[2] = s, i[3] = l), l;
|
|
26
|
+
}
|
|
27
|
+
export { useNamespaceTree };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { useApiClient } from "./useApi.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { useQuery } from "@tanstack/react-query";
|
|
4
|
+
function getNamespacesByPipelineCacheKey(e, i) {
|
|
5
|
+
return [
|
|
6
|
+
"namespaces",
|
|
7
|
+
e,
|
|
8
|
+
i
|
|
9
|
+
];
|
|
10
|
+
}
|
|
11
|
+
function useFilterNamespaces(a) {
|
|
12
|
+
let o = c(14), { envKey: s, api: l } = useApiClient(), u;
|
|
13
|
+
o[0] === a ? u = o[1] : (u = JSON.stringify({ pipelineId: a }), o[0] = a, o[1] = u);
|
|
14
|
+
let d;
|
|
15
|
+
o[2] === u ? d = o[3] : (d = { filter: u }, o[2] = u, o[3] = d);
|
|
16
|
+
let f = d, p;
|
|
17
|
+
o[4] !== s || o[5] !== a ? (p = getNamespacesByPipelineCacheKey(s, a), o[4] = s, o[5] = a, o[6] = p) : p = o[6];
|
|
18
|
+
let m;
|
|
19
|
+
o[7] !== l || o[8] !== f ? (m = () => {
|
|
20
|
+
if (!l) throw Error("API not available");
|
|
21
|
+
return l.ApiV1NamespacesApi.namespaceControllerGetWorkflows(f);
|
|
22
|
+
}, o[7] = l, o[8] = f, o[9] = m) : m = o[9];
|
|
23
|
+
let h = !!a, g;
|
|
24
|
+
return o[10] !== p || o[11] !== m || o[12] !== h ? (g = {
|
|
25
|
+
queryKey: p,
|
|
26
|
+
queryFn: m,
|
|
27
|
+
enabled: h,
|
|
28
|
+
select: _temp2
|
|
29
|
+
}, o[10] = p, o[11] = m, o[12] = h, o[13] = g) : g = o[13], useQuery(g);
|
|
30
|
+
}
|
|
31
|
+
function _temp2(e) {
|
|
32
|
+
return e.data.data;
|
|
33
|
+
}
|
|
34
|
+
export { useFilterNamespaces };
|
|
@@ -1,8 +1,31 @@
|
|
|
1
1
|
import { useApiClient } from "./useApi.js";
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
4
|
-
function
|
|
5
|
-
let
|
|
4
|
+
function usePipeline(n) {
|
|
5
|
+
let i = c(10), { envKey: a, api: s } = useApiClient(), l;
|
|
6
|
+
i[0] !== a || i[1] !== n ? (l = [
|
|
7
|
+
"pipeline",
|
|
8
|
+
n,
|
|
9
|
+
a
|
|
10
|
+
], i[0] = a, i[1] = n, i[2] = l) : l = i[2];
|
|
11
|
+
let u;
|
|
12
|
+
i[3] !== s || i[4] !== n ? (u = () => {
|
|
13
|
+
if (!s) throw Error("API not available");
|
|
14
|
+
return s.ApiV1PipelinesApi.pipelineControllerGetPipelineById({ id: n });
|
|
15
|
+
}, i[3] = s, i[4] = n, i[5] = u) : u = i[5];
|
|
16
|
+
let d = !!n, f;
|
|
17
|
+
return i[6] !== l || i[7] !== u || i[8] !== d ? (f = {
|
|
18
|
+
queryKey: l,
|
|
19
|
+
queryFn: u,
|
|
20
|
+
enabled: d,
|
|
21
|
+
select: _temp
|
|
22
|
+
}, i[6] = l, i[7] = u, i[8] = d, i[9] = f) : f = i[9], useQuery(f);
|
|
23
|
+
}
|
|
24
|
+
function _temp(e) {
|
|
25
|
+
return e.data;
|
|
26
|
+
}
|
|
27
|
+
function useFilterPipelines(n, i, a, o, s, d) {
|
|
28
|
+
let f = c(23), p = a === void 0 ? "id" : a, m = o === void 0 ? "DESC" : o, h = s === void 0 ? 0 : s, g = d === void 0 ? 10 : d, { envKey: _, api: v } = useApiClient(), y = Object.values(i).some(_temp2), b;
|
|
6
29
|
f[0] !== i || f[1] !== y ? (b = y && { filter: JSON.stringify(i) }, f[0] = i, f[1] = y, f[2] = b) : b = f[2];
|
|
7
30
|
let x;
|
|
8
31
|
f[3] !== m || f[4] !== p ? (x = JSON.stringify([{
|
|
@@ -63,6 +86,33 @@ function useCreatePipeline() {
|
|
|
63
86
|
onSuccess: u
|
|
64
87
|
}, r[5] = l, r[6] = u, r[7] = d) : d = r[7], useMutation(d);
|
|
65
88
|
}
|
|
89
|
+
function usePipelineConfig(n, i) {
|
|
90
|
+
let a = c(12), { envKey: o, api: s } = useApiClient(), l;
|
|
91
|
+
a[0] !== o || a[1] !== i || a[2] !== n ? (l = [
|
|
92
|
+
"pipelineConfig",
|
|
93
|
+
n,
|
|
94
|
+
i,
|
|
95
|
+
o
|
|
96
|
+
], a[0] = o, a[1] = i, a[2] = n, a[3] = l) : l = a[3];
|
|
97
|
+
let u;
|
|
98
|
+
a[4] !== s || a[5] !== i || a[6] !== n ? (u = () => {
|
|
99
|
+
if (!s) throw Error("API not available");
|
|
100
|
+
return s.ApiV1ConfigApi.configControllerGetPipelineConfigByName({
|
|
101
|
+
workspaceBlockName: n,
|
|
102
|
+
pipelineName: i
|
|
103
|
+
});
|
|
104
|
+
}, a[4] = s, a[5] = i, a[6] = n, a[7] = u) : u = a[7];
|
|
105
|
+
let d = !!n && !!i, f;
|
|
106
|
+
return a[8] !== l || a[9] !== u || a[10] !== d ? (f = {
|
|
107
|
+
queryKey: l,
|
|
108
|
+
queryFn: u,
|
|
109
|
+
enabled: d,
|
|
110
|
+
select: _temp4
|
|
111
|
+
}, a[8] = l, a[9] = u, a[10] = d, a[11] = f) : f = a[11], useQuery(f);
|
|
112
|
+
}
|
|
113
|
+
function _temp4(e) {
|
|
114
|
+
return e.data;
|
|
115
|
+
}
|
|
66
116
|
function useBatchDeletePipeline() {
|
|
67
117
|
let r = c(7), { api: a } = useApiClient(), o = useQueryClient(), s;
|
|
68
118
|
r[0] === a ? s = r[1] : (s = (e) => {
|
|
@@ -103,15 +153,42 @@ function useChildPipelines(n, i) {
|
|
|
103
153
|
limit: 100
|
|
104
154
|
});
|
|
105
155
|
}, a[3] = s, a[4] = n, a[5] = u) : u = a[5];
|
|
106
|
-
let d = i && !!n,
|
|
107
|
-
return a[6] !== l || a[7] !== u || a[8] !== d ? (
|
|
156
|
+
let d = i && !!n, f;
|
|
157
|
+
return a[6] !== l || a[7] !== u || a[8] !== d ? (f = {
|
|
108
158
|
queryKey: l,
|
|
109
159
|
queryFn: u,
|
|
110
160
|
enabled: d,
|
|
111
161
|
select: _temp5
|
|
112
|
-
}, a[6] = l, a[7] = u, a[8] = d, a[9] =
|
|
162
|
+
}, a[6] = l, a[7] = u, a[8] = d, a[9] = f) : f = a[9], useQuery(f);
|
|
113
163
|
}
|
|
114
164
|
function _temp5(e) {
|
|
115
165
|
return e.data;
|
|
116
166
|
}
|
|
117
|
-
|
|
167
|
+
function usePipelineSource(n, i) {
|
|
168
|
+
let a = c(12), { envKey: o, api: s } = useApiClient(), l;
|
|
169
|
+
a[0] !== o || a[1] !== i || a[2] !== n ? (l = [
|
|
170
|
+
"pipelineSource",
|
|
171
|
+
n,
|
|
172
|
+
i,
|
|
173
|
+
o
|
|
174
|
+
], a[0] = o, a[1] = i, a[2] = n, a[3] = l) : l = a[3];
|
|
175
|
+
let u;
|
|
176
|
+
a[4] !== s || a[5] !== i || a[6] !== n ? (u = () => {
|
|
177
|
+
if (!s) throw Error("API not available");
|
|
178
|
+
return s.ApiV1ConfigApi.configControllerGetPipelineSourceByName({
|
|
179
|
+
workspaceBlockName: n,
|
|
180
|
+
pipelineName: i
|
|
181
|
+
});
|
|
182
|
+
}, a[4] = s, a[5] = i, a[6] = n, a[7] = u) : u = a[7];
|
|
183
|
+
let d = !!n && !!i, f;
|
|
184
|
+
return a[8] !== l || a[9] !== u || a[10] !== d ? (f = {
|
|
185
|
+
queryKey: l,
|
|
186
|
+
queryFn: u,
|
|
187
|
+
enabled: d,
|
|
188
|
+
select: _temp6
|
|
189
|
+
}, a[8] = l, a[9] = u, a[10] = d, a[11] = f) : f = a[11], useQuery(f);
|
|
190
|
+
}
|
|
191
|
+
function _temp6(e) {
|
|
192
|
+
return e.data;
|
|
193
|
+
}
|
|
194
|
+
export { useBatchDeletePipeline, useChildPipelines, useCreatePipeline, useFilterPipelines, usePipeline, usePipelineConfig, usePipelineSource };
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { useApiClient } from "./useApi.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
4
|
+
function getWorkflowsCacheKey(e, t) {
|
|
5
|
+
return [
|
|
6
|
+
"workflows",
|
|
7
|
+
e,
|
|
8
|
+
t
|
|
9
|
+
];
|
|
10
|
+
}
|
|
11
|
+
function getWorkflowCacheKey(e, t) {
|
|
12
|
+
return [
|
|
13
|
+
"workflow",
|
|
14
|
+
e,
|
|
15
|
+
t
|
|
16
|
+
];
|
|
17
|
+
}
|
|
18
|
+
function getWorkflowsByPipelineCacheKey(e, t) {
|
|
19
|
+
return [
|
|
20
|
+
"workflows-by-pipeline",
|
|
21
|
+
e,
|
|
22
|
+
t
|
|
23
|
+
];
|
|
24
|
+
}
|
|
25
|
+
function useWorkflow(n) {
|
|
26
|
+
let i = c(10), { envKey: a, api: s } = useApiClient(), l;
|
|
27
|
+
i[0] !== a || i[1] !== n ? (l = getWorkflowCacheKey(a, n), i[0] = a, i[1] = n, i[2] = l) : l = i[2];
|
|
28
|
+
let d;
|
|
29
|
+
i[3] !== s || i[4] !== n ? (d = () => {
|
|
30
|
+
if (!s) throw Error("API not available");
|
|
31
|
+
return s.ApiV1WorkflowsApi.workflowControllerGetWorkflowById({ id: n });
|
|
32
|
+
}, i[3] = s, i[4] = n, i[5] = d) : d = i[5];
|
|
33
|
+
let f = !!n, p;
|
|
34
|
+
return i[6] !== l || i[7] !== d || i[8] !== f ? (p = {
|
|
35
|
+
queryKey: l,
|
|
36
|
+
queryFn: d,
|
|
37
|
+
enabled: f,
|
|
38
|
+
select: _temp
|
|
39
|
+
}, i[6] = l, i[7] = d, i[8] = f, i[9] = p) : p = i[9], useQuery(p);
|
|
40
|
+
}
|
|
41
|
+
function _temp(e) {
|
|
42
|
+
return e.data;
|
|
43
|
+
}
|
|
44
|
+
function useFetchWorkflowsByPipeline(n) {
|
|
45
|
+
let i = c(14), { envKey: a, api: o } = useApiClient(), l;
|
|
46
|
+
i[0] === n ? l = i[1] : (l = JSON.stringify({ pipelineId: n }), i[0] = n, i[1] = l);
|
|
47
|
+
let u;
|
|
48
|
+
i[2] === Symbol.for("react.memo_cache_sentinel") ? (u = JSON.stringify([{
|
|
49
|
+
field: "index",
|
|
50
|
+
order: "ASC"
|
|
51
|
+
}]), i[2] = u) : u = i[2];
|
|
52
|
+
let d;
|
|
53
|
+
i[3] === l ? d = i[4] : (d = {
|
|
54
|
+
filter: l,
|
|
55
|
+
sortBy: u
|
|
56
|
+
}, i[3] = l, i[4] = d);
|
|
57
|
+
let p = d, m;
|
|
58
|
+
i[5] !== a || i[6] !== n ? (m = getWorkflowsByPipelineCacheKey(a, n), i[5] = a, i[6] = n, i[7] = m) : m = i[7];
|
|
59
|
+
let h;
|
|
60
|
+
i[8] !== o || i[9] !== p ? (h = () => {
|
|
61
|
+
if (!o) throw Error("API not available");
|
|
62
|
+
return o.ApiV1WorkflowsApi.workflowControllerGetWorkflows(p);
|
|
63
|
+
}, i[8] = o, i[9] = p, i[10] = h) : h = i[10];
|
|
64
|
+
let g;
|
|
65
|
+
return i[11] !== m || i[12] !== h ? (g = {
|
|
66
|
+
queryKey: m,
|
|
67
|
+
queryFn: h,
|
|
68
|
+
select: _temp2,
|
|
69
|
+
enabled: !0
|
|
70
|
+
}, i[11] = m, i[12] = h, i[13] = g) : g = i[13], useQuery(g);
|
|
71
|
+
}
|
|
72
|
+
function _temp2(e) {
|
|
73
|
+
return e.data.data;
|
|
74
|
+
}
|
|
75
|
+
function useFetchWorkflowsByNamespace(n) {
|
|
76
|
+
let i = c(14), { envKey: o, api: s } = useApiClient(), l;
|
|
77
|
+
i[0] === n ? l = i[1] : (l = JSON.stringify({ namespaceId: n }), i[0] = n, i[1] = l);
|
|
78
|
+
let u;
|
|
79
|
+
i[2] === Symbol.for("react.memo_cache_sentinel") ? (u = JSON.stringify([{
|
|
80
|
+
field: "index",
|
|
81
|
+
order: "ASC"
|
|
82
|
+
}]), i[2] = u) : u = i[2];
|
|
83
|
+
let d;
|
|
84
|
+
i[3] === l ? d = i[4] : (d = {
|
|
85
|
+
filter: l,
|
|
86
|
+
sortBy: u
|
|
87
|
+
}, i[3] = l, i[4] = d);
|
|
88
|
+
let f = d, p;
|
|
89
|
+
i[5] !== o || i[6] !== n ? (p = getWorkflowsCacheKey(o, n), i[5] = o, i[6] = n, i[7] = p) : p = i[7];
|
|
90
|
+
let h;
|
|
91
|
+
i[8] !== s || i[9] !== f ? (h = () => {
|
|
92
|
+
if (!s) throw Error("API not available");
|
|
93
|
+
return s.ApiV1WorkflowsApi.workflowControllerGetWorkflows(f);
|
|
94
|
+
}, i[8] = s, i[9] = f, i[10] = h) : h = i[10];
|
|
95
|
+
let g;
|
|
96
|
+
return i[11] !== p || i[12] !== h ? (g = {
|
|
97
|
+
queryKey: p,
|
|
98
|
+
queryFn: h,
|
|
99
|
+
select: _temp3,
|
|
100
|
+
enabled: !0
|
|
101
|
+
}, i[11] = p, i[12] = h, i[13] = g) : g = i[13], useQuery(g);
|
|
102
|
+
}
|
|
103
|
+
function _temp3(e) {
|
|
104
|
+
return e.data.data;
|
|
105
|
+
}
|
|
106
|
+
function useDeleteWorkflow() {
|
|
107
|
+
let r = c(8), { envKey: l, api: u } = useApiClient(), d = useQueryClient(), f;
|
|
108
|
+
r[0] === u ? f = r[1] : (f = (e) => {
|
|
109
|
+
if (!u) throw Error("API not available");
|
|
110
|
+
return u.ApiV1WorkflowsApi.workflowControllerDeleteWorkflow({ id: e.id });
|
|
111
|
+
}, r[0] = u, r[1] = f);
|
|
112
|
+
let p;
|
|
113
|
+
r[2] !== l || r[3] !== d ? (p = (e, t) => {
|
|
114
|
+
d.removeQueries({ queryKey: getWorkflowCacheKey(l, t.id) }), d.invalidateQueries({ queryKey: getWorkflowsCacheKey(l, t.namespaceId) }), d.invalidateQueries({ queryKey: getWorkflowsByPipelineCacheKey(l, t.pipelineId) });
|
|
115
|
+
}, r[2] = l, r[3] = d, r[4] = p) : p = r[4];
|
|
116
|
+
let m;
|
|
117
|
+
return r[5] !== f || r[6] !== p ? (m = {
|
|
118
|
+
mutationFn: f,
|
|
119
|
+
onSuccess: p
|
|
120
|
+
}, r[5] = f, r[6] = p, r[7] = m) : m = r[7], useMutation(m);
|
|
121
|
+
}
|
|
122
|
+
export { useDeleteWorkflow, useFetchWorkflowsByNamespace, useFetchWorkflowsByPipeline, useWorkflow };
|
|
@@ -48,8 +48,8 @@ function useFilterWorkspaces(n, i, a, o, s, u) {
|
|
|
48
48
|
let C = S, w;
|
|
49
49
|
d[14] !== g || d[15] !== C ? (w = [
|
|
50
50
|
"workspaces",
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
g,
|
|
52
|
+
C
|
|
53
53
|
], d[14] = g, d[15] = C, d[16] = w) : w = d[16];
|
|
54
54
|
let T;
|
|
55
55
|
d[17] !== _ || d[18] !== C ? (T = () => {
|
|
@@ -68,20 +68,20 @@ function _temp2(e) {
|
|
|
68
68
|
return e.data;
|
|
69
69
|
}
|
|
70
70
|
function useCreateWorkspace() {
|
|
71
|
-
let r = c(
|
|
72
|
-
r[0] ===
|
|
73
|
-
if (!
|
|
74
|
-
return
|
|
75
|
-
}, r[0] =
|
|
76
|
-
let l;
|
|
77
|
-
r[2] === o ? l = r[3] : (l = () => {
|
|
78
|
-
o.invalidateQueries({ queryKey: ["workspaces"] });
|
|
79
|
-
}, r[2] = o, r[3] = l);
|
|
71
|
+
let r = c(8), { envKey: a, api: o } = useApiClient(), s = useQueryClient(), l;
|
|
72
|
+
r[0] === o ? l = r[1] : (l = (e) => {
|
|
73
|
+
if (!o) throw Error("API not available");
|
|
74
|
+
return o.ApiV1WorkspacesApi.workspaceControllerCreateWorkspace(e);
|
|
75
|
+
}, r[0] = o, r[1] = l);
|
|
80
76
|
let u;
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
77
|
+
r[2] !== a || r[3] !== s ? (u = () => {
|
|
78
|
+
s.invalidateQueries({ queryKey: ["workspaces", a] });
|
|
79
|
+
}, r[2] = a, r[3] = s, r[4] = u) : u = r[4];
|
|
80
|
+
let d;
|
|
81
|
+
return r[5] !== l || r[6] !== u ? (d = {
|
|
82
|
+
mutationFn: l,
|
|
83
|
+
onSuccess: u
|
|
84
|
+
}, r[5] = l, r[6] = u, r[7] = d) : d = r[7], useMutation(d);
|
|
85
85
|
}
|
|
86
86
|
function useUpdateWorkspace() {
|
|
87
87
|
let r = c(8), { envKey: a, api: o } = useApiClient(), s = useQueryClient(), l;
|
|
@@ -123,20 +123,40 @@ function useDeleteWorkspace() {
|
|
|
123
123
|
onSuccess: u
|
|
124
124
|
}, r[5] = l, r[6] = u, r[7] = d) : d = r[7], useMutation(d);
|
|
125
125
|
}
|
|
126
|
+
function useSetFavouriteWorkspace() {
|
|
127
|
+
let r = c(8), { envKey: a, api: o } = useApiClient(), s = useQueryClient(), l;
|
|
128
|
+
r[0] === o ? l = r[1] : (l = (e) => {
|
|
129
|
+
let { id: t, isFavourite: n } = e;
|
|
130
|
+
if (!o) throw Error("API not available");
|
|
131
|
+
return o.ApiV1WorkspacesApi.workspaceControllerSetFavourite({
|
|
132
|
+
id: t,
|
|
133
|
+
workspaceFavouriteDto: { isFavourite: n }
|
|
134
|
+
});
|
|
135
|
+
}, r[0] = o, r[1] = l);
|
|
136
|
+
let u;
|
|
137
|
+
r[2] !== a || r[3] !== s ? (u = () => {
|
|
138
|
+
s.invalidateQueries({ queryKey: ["workspaces", a] });
|
|
139
|
+
}, r[2] = a, r[3] = s, r[4] = u) : u = r[4];
|
|
140
|
+
let d;
|
|
141
|
+
return r[5] !== l || r[6] !== u ? (d = {
|
|
142
|
+
mutationFn: l,
|
|
143
|
+
onSuccess: u
|
|
144
|
+
}, r[5] = l, r[6] = u, r[7] = d) : d = r[7], useMutation(d);
|
|
145
|
+
}
|
|
126
146
|
function useBatchDeleteWorkspaces() {
|
|
127
|
-
let r = c(
|
|
128
|
-
r[0] ===
|
|
129
|
-
if (!
|
|
130
|
-
return
|
|
131
|
-
}, r[0] =
|
|
132
|
-
let l;
|
|
133
|
-
r[2] === o ? l = r[3] : (l = () => {
|
|
134
|
-
o.invalidateQueries({ queryKey: ["workspaces"] });
|
|
135
|
-
}, r[2] = o, r[3] = l);
|
|
147
|
+
let r = c(8), { envKey: a, api: o } = useApiClient(), s = useQueryClient(), l;
|
|
148
|
+
r[0] === o ? l = r[1] : (l = (e) => {
|
|
149
|
+
if (!o) throw Error("API not available");
|
|
150
|
+
return o.ApiV1WorkspacesApi.workspaceControllerBatchDeleteWorkspaces({ workspaceControllerBatchDeleteWorkspacesRequest: { ids: e } });
|
|
151
|
+
}, r[0] = o, r[1] = l);
|
|
136
152
|
let u;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
153
|
+
r[2] !== a || r[3] !== s ? (u = () => {
|
|
154
|
+
s.invalidateQueries({ queryKey: ["workspaces", a] });
|
|
155
|
+
}, r[2] = a, r[3] = s, r[4] = u) : u = r[4];
|
|
156
|
+
let d;
|
|
157
|
+
return r[5] !== l || r[6] !== u ? (d = {
|
|
158
|
+
mutationFn: l,
|
|
159
|
+
onSuccess: u
|
|
160
|
+
}, r[5] = l, r[6] = u, r[7] = d) : d = r[7], useMutation(d);
|
|
141
161
|
}
|
|
142
|
-
export { useBatchDeleteWorkspaces, useCreateWorkspace, useDeleteWorkspace, useFilterWorkspaces, useUpdateWorkspace, useWorkspace };
|
|
162
|
+
export { useBatchDeleteWorkspaces, useCreateWorkspace, useDeleteWorkspace, useFilterWorkspaces, useSetFavouriteWorkspace, useUpdateWorkspace, useWorkspace };
|