@elyracode/web-ui 0.9.2 → 0.9.4
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/CHANGELOG.md +4 -1
- package/README.md +2 -2
- package/dist/ChatPanel.js +1 -1
- package/dist/ChatPanel.js.map +1 -1
- package/dist/app.css +1 -1
- package/dist/components/AttachmentTile.js +1 -1
- package/dist/components/AttachmentTile.js.map +1 -1
- package/dist/components/ConsoleBlock.js +1 -1
- package/dist/components/ConsoleBlock.js.map +1 -1
- package/dist/components/CustomProviderCard.js +2 -2
- package/dist/components/CustomProviderCard.js.map +1 -1
- package/dist/components/ExpandableSection.js +1 -1
- package/dist/components/ExpandableSection.js.map +1 -1
- package/dist/components/Input.d.ts +2 -2
- package/dist/components/Input.d.ts.map +1 -1
- package/dist/components/Input.js +1 -1
- package/dist/components/Input.js.map +1 -1
- package/dist/components/MessageEditor.js +3 -3
- package/dist/components/MessageEditor.js.map +1 -1
- package/dist/components/ProviderKeyInput.js +3 -3
- package/dist/components/ProviderKeyInput.js.map +1 -1
- package/dist/components/ThinkingBlock.js +1 -1
- package/dist/components/ThinkingBlock.js.map +1 -1
- package/dist/dialogs/ApiKeyPromptDialog.d.ts +1 -1
- package/dist/dialogs/ApiKeyPromptDialog.d.ts.map +1 -1
- package/dist/dialogs/ApiKeyPromptDialog.js +2 -2
- package/dist/dialogs/ApiKeyPromptDialog.js.map +1 -1
- package/dist/dialogs/AttachmentOverlay.d.ts +1 -1
- package/dist/dialogs/AttachmentOverlay.d.ts.map +1 -1
- package/dist/dialogs/AttachmentOverlay.js +3 -3
- package/dist/dialogs/AttachmentOverlay.js.map +1 -1
- package/dist/dialogs/CustomProviderDialog.d.ts +1 -1
- package/dist/dialogs/CustomProviderDialog.d.ts.map +1 -1
- package/dist/dialogs/CustomProviderDialog.js +6 -6
- package/dist/dialogs/CustomProviderDialog.js.map +1 -1
- package/dist/dialogs/ModelSelector.d.ts +1 -1
- package/dist/dialogs/ModelSelector.d.ts.map +1 -1
- package/dist/dialogs/ModelSelector.js +5 -5
- package/dist/dialogs/ModelSelector.js.map +1 -1
- package/dist/dialogs/PersistentStorageDialog.d.ts +1 -1
- package/dist/dialogs/PersistentStorageDialog.d.ts.map +1 -1
- package/dist/dialogs/PersistentStorageDialog.js +3 -3
- package/dist/dialogs/PersistentStorageDialog.js.map +1 -1
- package/dist/dialogs/ProvidersModelsTab.js +2 -2
- package/dist/dialogs/ProvidersModelsTab.js.map +1 -1
- package/dist/dialogs/SessionListDialog.d.ts +1 -1
- package/dist/dialogs/SessionListDialog.d.ts.map +1 -1
- package/dist/dialogs/SessionListDialog.js +2 -2
- package/dist/dialogs/SessionListDialog.js.map +1 -1
- package/dist/dialogs/SettingsDialog.js +5 -5
- package/dist/dialogs/SettingsDialog.js.map +1 -1
- package/dist/tools/artifacts/ArtifactPill.js +1 -1
- package/dist/tools/artifacts/ArtifactPill.js.map +1 -1
- package/dist/tools/artifacts/Console.d.ts +1 -1
- package/dist/tools/artifacts/Console.d.ts.map +1 -1
- package/dist/tools/artifacts/Console.js +2 -2
- package/dist/tools/artifacts/Console.js.map +1 -1
- package/dist/tools/artifacts/DocxArtifact.js +1 -1
- package/dist/tools/artifacts/DocxArtifact.js.map +1 -1
- package/dist/tools/artifacts/ExcelArtifact.js +1 -1
- package/dist/tools/artifacts/ExcelArtifact.js.map +1 -1
- package/dist/tools/artifacts/GenericArtifact.js +1 -1
- package/dist/tools/artifacts/GenericArtifact.js.map +1 -1
- package/dist/tools/artifacts/HtmlArtifact.js +5 -5
- package/dist/tools/artifacts/HtmlArtifact.js.map +1 -1
- package/dist/tools/artifacts/ImageArtifact.js +1 -1
- package/dist/tools/artifacts/ImageArtifact.js.map +1 -1
- package/dist/tools/artifacts/MarkdownArtifact.d.ts +1 -1
- package/dist/tools/artifacts/MarkdownArtifact.d.ts.map +1 -1
- package/dist/tools/artifacts/MarkdownArtifact.js +4 -4
- package/dist/tools/artifacts/MarkdownArtifact.js.map +1 -1
- package/dist/tools/artifacts/PdfArtifact.js +1 -1
- package/dist/tools/artifacts/PdfArtifact.js.map +1 -1
- package/dist/tools/artifacts/SvgArtifact.js +3 -3
- package/dist/tools/artifacts/SvgArtifact.js.map +1 -1
- package/dist/tools/artifacts/TextArtifact.js +2 -2
- package/dist/tools/artifacts/TextArtifact.js.map +1 -1
- package/dist/tools/artifacts/artifacts-tool-renderer.d.ts +1 -1
- package/dist/tools/artifacts/artifacts-tool-renderer.d.ts.map +1 -1
- package/dist/tools/artifacts/artifacts-tool-renderer.js +2 -2
- package/dist/tools/artifacts/artifacts-tool-renderer.js.map +1 -1
- package/dist/tools/artifacts/artifacts.d.ts +1 -1
- package/dist/tools/artifacts/artifacts.d.ts.map +1 -1
- package/dist/tools/artifacts/artifacts.js +3 -3
- package/dist/tools/artifacts/artifacts.js.map +1 -1
- package/dist/tools/javascript-repl.js +1 -1
- package/dist/tools/javascript-repl.js.map +1 -1
- package/dist/tools/renderer-registry.js +1 -1
- package/dist/tools/renderer-registry.js.map +1 -1
- package/dist/utils/auth-token.js +1 -1
- package/dist/utils/auth-token.js.map +1 -1
- package/dist/utils/format.js +1 -1
- package/dist/utils/format.js.map +1 -1
- package/dist/utils/i18n.d.ts +3 -3
- package/dist/utils/i18n.d.ts.map +1 -1
- package/dist/utils/i18n.js +2 -2
- package/dist/utils/i18n.js.map +1 -1
- package/example/README.md +1 -1
- package/example/package.json +2 -2
- package/example/src/custom-messages.ts +1 -1
- package/example/src/main.ts +4 -4
- package/package.json +5 -5
- package/src/ChatPanel.ts +1 -1
- package/src/app.css +2 -2
- package/src/components/AttachmentTile.ts +1 -1
- package/src/components/ConsoleBlock.ts +1 -1
- package/src/components/CustomProviderCard.ts +2 -2
- package/src/components/ExpandableSection.ts +1 -1
- package/src/components/Input.ts +1 -1
- package/src/components/MessageEditor.ts +3 -3
- package/src/components/ProviderKeyInput.ts +3 -3
- package/src/components/ThinkingBlock.ts +1 -1
- package/src/dialogs/ApiKeyPromptDialog.ts +2 -2
- package/src/dialogs/AttachmentOverlay.ts +3 -3
- package/src/dialogs/CustomProviderDialog.ts +6 -6
- package/src/dialogs/ModelSelector.ts +5 -5
- package/src/dialogs/PersistentStorageDialog.ts +3 -3
- package/src/dialogs/ProvidersModelsTab.ts +2 -2
- package/src/dialogs/SessionListDialog.ts +2 -2
- package/src/dialogs/SettingsDialog.ts +5 -5
- package/src/tools/artifacts/ArtifactPill.ts +1 -1
- package/src/tools/artifacts/Console.ts +2 -2
- package/src/tools/artifacts/DocxArtifact.ts +1 -1
- package/src/tools/artifacts/ExcelArtifact.ts +1 -1
- package/src/tools/artifacts/GenericArtifact.ts +1 -1
- package/src/tools/artifacts/HtmlArtifact.ts +5 -5
- package/src/tools/artifacts/ImageArtifact.ts +1 -1
- package/src/tools/artifacts/MarkdownArtifact.ts +4 -4
- package/src/tools/artifacts/PdfArtifact.ts +1 -1
- package/src/tools/artifacts/SvgArtifact.ts +3 -3
- package/src/tools/artifacts/TextArtifact.ts +2 -2
- package/src/tools/artifacts/artifacts-tool-renderer.ts +2 -2
- package/src/tools/artifacts/artifacts.ts +3 -3
- package/src/tools/javascript-repl.ts +1 -1
- package/src/tools/renderer-registry.ts +1 -1
- package/src/utils/auth-token.ts +1 -1
- package/src/utils/format.ts +1 -1
- package/src/utils/i18n.ts +3 -3
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { getProviders } from "@elyracode/ai";
|
|
2
|
-
import { i18n } from "@
|
|
3
|
-
import { Dialog, DialogContent, DialogHeader } from "@
|
|
4
|
-
import { Input } from "@
|
|
5
|
-
import { Label } from "@
|
|
6
|
-
import { Switch } from "@
|
|
2
|
+
import { i18n } from "@elyracode/mini-lit";
|
|
3
|
+
import { Dialog, DialogContent, DialogHeader } from "@elyracode/mini-lit/dist/Dialog.js";
|
|
4
|
+
import { Input } from "@elyracode/mini-lit/dist/Input.js";
|
|
5
|
+
import { Label } from "@elyracode/mini-lit/dist/Label.js";
|
|
6
|
+
import { Switch } from "@elyracode/mini-lit/dist/Switch.js";
|
|
7
7
|
import { html, LitElement, type TemplateResult } from "lit";
|
|
8
8
|
import { customElement, property, state } from "lit/decorators.js";
|
|
9
9
|
import "../components/ProviderKeyInput.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { icon } from "@
|
|
2
|
-
import "@
|
|
1
|
+
import { icon } from "@elyracode/mini-lit";
|
|
2
|
+
import "@elyracode/mini-lit/dist/CopyButton.js";
|
|
3
3
|
import { html, LitElement, type TemplateResult } from "lit";
|
|
4
4
|
import { customElement, property, state } from "lit/decorators.js";
|
|
5
5
|
import { createRef, type Ref, ref } from "lit/directives/ref.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DownloadButton } from "@
|
|
1
|
+
import { DownloadButton } from "@elyracode/mini-lit/dist/DownloadButton.js";
|
|
2
2
|
import { renderAsync } from "docx-preview";
|
|
3
3
|
import { html, type TemplateResult } from "lit";
|
|
4
4
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DownloadButton } from "@
|
|
1
|
+
import { DownloadButton } from "@elyracode/mini-lit/dist/DownloadButton.js";
|
|
2
2
|
import { html, type TemplateResult } from "lit";
|
|
3
3
|
import { customElement, property, state } from "lit/decorators.js";
|
|
4
4
|
import * as XLSX from "xlsx";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DownloadButton } from "@
|
|
1
|
+
import { DownloadButton } from "@elyracode/mini-lit/dist/DownloadButton.js";
|
|
2
2
|
import { html, type TemplateResult } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import { i18n } from "../../utils/i18n.js";
|
|
@@ -12,11 +12,11 @@ import "../../components/SandboxedIframe.js";
|
|
|
12
12
|
import { ArtifactElement } from "./ArtifactElement.js";
|
|
13
13
|
import type { Console } from "./Console.js";
|
|
14
14
|
import "./Console.js";
|
|
15
|
-
import { icon } from "@
|
|
16
|
-
import { Button } from "@
|
|
17
|
-
import { CopyButton } from "@
|
|
18
|
-
import { DownloadButton } from "@
|
|
19
|
-
import { PreviewCodeToggle } from "@
|
|
15
|
+
import { icon } from "@elyracode/mini-lit";
|
|
16
|
+
import { Button } from "@elyracode/mini-lit/dist/Button.js";
|
|
17
|
+
import { CopyButton } from "@elyracode/mini-lit/dist/CopyButton.js";
|
|
18
|
+
import { DownloadButton } from "@elyracode/mini-lit/dist/DownloadButton.js";
|
|
19
|
+
import { PreviewCodeToggle } from "@elyracode/mini-lit/dist/PreviewCodeToggle.js";
|
|
20
20
|
|
|
21
21
|
@customElement("html-artifact")
|
|
22
22
|
export class HtmlArtifact extends ArtifactElement {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DownloadButton } from "@
|
|
1
|
+
import { DownloadButton } from "@elyracode/mini-lit/dist/DownloadButton.js";
|
|
2
2
|
import { html, type TemplateResult } from "lit";
|
|
3
3
|
import { customElement, property } from "lit/decorators.js";
|
|
4
4
|
import { i18n } from "../../utils/i18n.js";
|
|
@@ -3,10 +3,10 @@ import { html } from "lit";
|
|
|
3
3
|
import { customElement, property, state } from "lit/decorators.js";
|
|
4
4
|
import { unsafeHTML } from "lit/directives/unsafe-html.js";
|
|
5
5
|
import { i18n } from "../../utils/i18n.js";
|
|
6
|
-
import "@
|
|
7
|
-
import { CopyButton } from "@
|
|
8
|
-
import { DownloadButton } from "@
|
|
9
|
-
import { PreviewCodeToggle } from "@
|
|
6
|
+
import "@elyracode/mini-lit/dist/MarkdownBlock.js";
|
|
7
|
+
import { CopyButton } from "@elyracode/mini-lit/dist/CopyButton.js";
|
|
8
|
+
import { DownloadButton } from "@elyracode/mini-lit/dist/DownloadButton.js";
|
|
9
|
+
import { PreviewCodeToggle } from "@elyracode/mini-lit/dist/PreviewCodeToggle.js";
|
|
10
10
|
import { ArtifactElement } from "./ArtifactElement.js";
|
|
11
11
|
|
|
12
12
|
@customElement("markdown-artifact")
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DownloadButton } from "@
|
|
1
|
+
import { DownloadButton } from "@elyracode/mini-lit/dist/DownloadButton.js";
|
|
2
2
|
import { html, type TemplateResult } from "lit";
|
|
3
3
|
import { customElement, property, state } from "lit/decorators.js";
|
|
4
4
|
import * as pdfjsLib from "pdfjs-dist";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CopyButton } from "@
|
|
2
|
-
import { DownloadButton } from "@
|
|
3
|
-
import { PreviewCodeToggle } from "@
|
|
1
|
+
import { CopyButton } from "@elyracode/mini-lit/dist/CopyButton.js";
|
|
2
|
+
import { DownloadButton } from "@elyracode/mini-lit/dist/DownloadButton.js";
|
|
3
|
+
import { PreviewCodeToggle } from "@elyracode/mini-lit/dist/PreviewCodeToggle.js";
|
|
4
4
|
import hljs from "highlight.js";
|
|
5
5
|
import { html } from "lit";
|
|
6
6
|
import { customElement, property, state } from "lit/decorators.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CopyButton } from "@
|
|
2
|
-
import { DownloadButton } from "@
|
|
1
|
+
import { CopyButton } from "@elyracode/mini-lit/dist/CopyButton.js";
|
|
2
|
+
import { DownloadButton } from "@elyracode/mini-lit/dist/DownloadButton.js";
|
|
3
3
|
import hljs from "highlight.js";
|
|
4
4
|
import { html } from "lit";
|
|
5
5
|
import { customElement, property } from "lit/decorators.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import "@
|
|
1
|
+
import "@elyracode/mini-lit/dist/CodeBlock.js";
|
|
2
2
|
import type { ToolResultMessage } from "@elyracode/ai";
|
|
3
3
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
4
4
|
import { FileCode2 } from "lucide";
|
|
5
5
|
import "../../components/ConsoleBlock.js";
|
|
6
|
-
import { Diff } from "@
|
|
6
|
+
import { Diff } from "@elyracode/mini-lit/dist/Diff.js";
|
|
7
7
|
import { html, type TemplateResult } from "lit";
|
|
8
8
|
import { i18n } from "../../utils/i18n.js";
|
|
9
9
|
import { renderCollapsibleHeader, renderHeader } from "../renderer-registry.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { icon } from "@
|
|
2
|
-
import "@
|
|
1
|
+
import { icon } from "@elyracode/mini-lit";
|
|
2
|
+
import "@elyracode/mini-lit/dist/MarkdownBlock.js";
|
|
3
3
|
import type { Agent, AgentMessage, AgentTool } from "@elyracode/agent-core";
|
|
4
4
|
import { StringEnum, type ToolCall } from "@elyracode/ai";
|
|
5
|
-
import { Button } from "@
|
|
5
|
+
import { Button } from "@elyracode/mini-lit/dist/Button.js";
|
|
6
6
|
import { html, LitElement, type TemplateResult } from "lit";
|
|
7
7
|
import { customElement, property, state } from "lit/decorators.js";
|
|
8
8
|
import { createRef, type Ref, ref } from "lit/directives/ref.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AgentTool } from "@elyracode/agent-core";
|
|
2
2
|
import type { ToolResultMessage } from "@elyracode/ai";
|
|
3
|
-
import { i18n } from "@
|
|
3
|
+
import { i18n } from "@elyracode/mini-lit";
|
|
4
4
|
import { html } from "lit";
|
|
5
5
|
import { createRef, ref } from "lit/directives/ref.js";
|
|
6
6
|
import { Code } from "lucide";
|
package/src/utils/auth-token.ts
CHANGED
package/src/utils/format.ts
CHANGED
package/src/utils/i18n.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defaultEnglish, defaultGerman, type MiniLitRequiredMessages, setTranslations } from "@
|
|
1
|
+
import { defaultEnglish, defaultGerman, type MiniLitRequiredMessages, setTranslations } from "@elyracode/mini-lit";
|
|
2
2
|
|
|
3
|
-
declare module "@
|
|
3
|
+
declare module "@elyracode/mini-lit" {
|
|
4
4
|
interface i18nMessages extends MiniLitRequiredMessages {
|
|
5
5
|
Free: string;
|
|
6
6
|
"Input Required": string;
|
|
@@ -650,4 +650,4 @@ export const translations = {
|
|
|
650
650
|
|
|
651
651
|
setTranslations(translations);
|
|
652
652
|
|
|
653
|
-
export * from "@
|
|
653
|
+
export * from "@elyracode/mini-lit/dist/i18n.js";
|