From 7c94312a638d63a1238ae6603700d98369f33f59 Mon Sep 17 00:00:00 2001 From: Ovidijus Parsiunas Date: Mon, 30 Dec 2024 04:47:03 +0900 Subject: [PATCH] 2.1.0 release --- README.md | 17 +- component/custom-elements.json | 23848 +++++++++------- component/package-lock.json | 2031 +- component/package.json | 2 +- .../nextjs/app-router/package-lock.json | 1047 +- .../nextjs/app-router/package.json | 2 +- .../nextjs/pages-router/package-lock.json | 16 +- .../nextjs/pages-router/package.json | 2 +- example-servers/sveltekit/package-lock.json | 8 +- example-servers/sveltekit/package.json | 2 +- example-servers/ui/package-lock.json | 16 +- example-servers/ui/package.json | 2 +- other-packages/react/package-lock.json | 65 +- other-packages/react/package.json | 4 +- website/docs/docs/demo.mdx | 87 +- website/docs/docs/directConnection/Azure.mdx | 71 +- website/docs/docs/directConnection/OpenAI.mdx | 12 +- website/docs/docs/installation.mdx | 2 +- website/docs/docs/interceptors.mdx | 65 + website/docs/docs/introPanel.mdx | 6 +- website/docs/docs/messages/HTML.mdx | 14 +- website/docs/docs/messages/messages.mdx | 2 +- website/docs/docs/messages/styles.mdx | 496 +- website/docs/docs/methods.mdx | 50 +- website/docs/docs/styles.mdx | 7 +- website/docs/examples/design.mdx | 96 + website/package-lock.json | 16 +- website/package.json | 2 +- .../table/componentContainerInterceptors.js | 26 +- .../table/componentContainerMethods.js | 8 +- 30 files changed, 16478 insertions(+), 11544 deletions(-) diff --git a/README.md b/README.md index aa79cedc9..c19fa6f60 100644 --- a/README.md +++ b/README.md @@ -21,14 +21,25 @@ - Host a model on the browser - Everything is customizable! -### :tada: :tada: 2.0 is now available :tada: :tada: +### :tada: Latest Updates -Announcing Deep Chat 2.0! We have redesigned and improved Deep Chat based on all of your generous feedback. It is now much easier to implement into any website and configure to provide the best possible chat experience for your users. Check out the [release notes](https://github.com/OvidijusParsiunas/deep-chat/releases/tag/2.0.0) for more information. +Deep Chat version `2.1.0` brings a ton of new features into the Deep Chat ecosystem: + +- [Azure OpenAI API](https://deepchat.dev/docs/directConnection/Azure#OpenAI) +- [`loadHistory`](https://deepchat.dev/docs/interceptors#loadHistory) interceptor to asynchronously load history and pagination +- [`updateMessage`](https://deepchat.dev/docs/methods#updateMessage) method to dynamically update messages +- Custom configuration for message text [MarkDown](https://deepchat.dev/docs/messages/styles#remarkable) rendering +- Ability to [group messages](https://deepchat.dev/docs/messages/styles#groupedMessages) +- See [release notes](https://github.com/OvidijusParsiunas/deep-chat/releases/tag/2.1.0) for more!

- version 2.0 + version 2.0

+### :construction_worker: Note from developer + +https://github.com/user-attachments/assets/7ba01414-ca4d-4e17-b31b-403782d9d950 + ### :computer: Getting started ``` diff --git a/component/custom-elements.json b/component/custom-elements.json index fe4ee3305..c8d22bfb0 100644 --- a/component/custom-elements.json +++ b/component/custom-elements.json @@ -127,7 +127,7 @@ "kind": "field", "name": "introMessage", "type": { - "text": "IntroMessage | undefined" + "text": "IntroMessage | IntroMessage[] | undefined" } }, { @@ -242,6 +242,13 @@ "text": "HTMLClassUtilities | undefined" } }, + { + "kind": "field", + "name": "remarkable", + "type": { + "text": "RemarkableOptions | undefined" + } + }, { "kind": "field", "name": "getMessages", @@ -265,23 +272,30 @@ }, { "kind": "field", - "name": "focusInput", + "name": "updateMessage", "type": { - "text": "() => void" + "text": "(messageBody: MessageBody, index: number) => void" } }, { "kind": "field", - "name": "refreshMessages", + "name": "clearMessages", + "type": { + "text": "(isReset?: boolean) => void" + } + }, + { + "kind": "field", + "name": "focusInput", "type": { "text": "() => void" } }, { "kind": "field", - "name": "clearMessages", + "name": "refreshMessages", "type": { - "text": "(isReset?: boolean) => void" + "text": "() => void" } }, { @@ -1130,7 +1144,7 @@ "name": "customIntroMessage", "optional": true, "type": { - "text": "IntroMessage" + "text": "IntroMessage | IntroMessage[]" } } ] @@ -2295,6 +2309,12 @@ "declarations": [], "exports": [] }, + { + "kind": "javascript-module", + "path": "src/types/remarkable.ts", + "declarations": [], + "exports": [] + }, { "kind": "javascript-module", "path": "src/types/response.ts", @@ -3624,54 +3644,51 @@ }, { "kind": "javascript-module", - "path": "src/services/azure/azureSpeechIO.ts", + "path": "src/services/azure/azureOpenAIAssistantIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "AzureSpeechIO", + "name": "AzureOpenAIAssistantIO", "members": [ { "kind": "field", - "name": "insertKeyPlaceholderText", - "type": { - "text": "string" - }, - "default": "'Azure Speech Subscription Key'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } + "name": "THREAD_RESOURCE", + "privacy": "private", + "static": true, + "readonly": true, + "default": "`threads`" }, { "kind": "field", - "name": "keyHelpUrl", + "name": "NEW_ASSISTANT_RESOURCE", "type": { "text": "string" }, - "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } + "privacy": "private", + "static": true, + "readonly": true, + "default": "'assistants'" }, { "kind": "field", - "name": "key", + "name": "permittedErrorPrefixes", "type": { - "text": "string | undefined" + "text": "array" }, + "default": "[AzureOpenAIUtils.URL_DETAILS_ERROR_MESSAGE]", "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "sessionId", + "name": "insertKeyPlaceholderText", "type": { - "text": "string | undefined" + "text": "string" }, + "default": "'Azure OpenAI API Key'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -3679,13 +3696,11 @@ }, { "kind": "field", - "name": "keyVerificationDetails", + "name": "keyHelpUrl", "type": { - "text": "KeyVerificationDetails" + "text": "string" }, - "privacy": "private", - "readonly": true, - "default": "keyVerificationDetails", + "default": "'https://learn.microsoft.com/en-us/answers/questions/1193991/how-to-get-the-value-of-openai-api-key'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -3693,384 +3708,289 @@ }, { "kind": "field", - "name": "buildHeadersFunc", + "name": "isTextInputDisabled", "type": { - "text": "BuildHeadersFunc" + "text": "boolean" }, - "privacy": "private", - "readonly": true, - "default": "buildHeadersFunc", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } - }, - { - "kind": "method", - "name": "setApiKeyProperties", - "privacy": "private", - "parameters": [ - { - "name": "apiKey", - "type": { - "text": "APIKey" - } - } - ], - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } - }, - { - "kind": "method", - "name": "buildConnectSettings", - "privacy": "private", - "parameters": [ - { - "name": "key", - "type": { - "text": "string" - } - }, - { - "name": "connectSettings", - "optional": true, - "type": { - "text": "Connect" - } - } - ], - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } - }, - { - "kind": "method", - "name": "keyAuthenticated", - "privacy": "private", - "parameters": [ - { - "name": "onSuccess", - "type": { - "text": "() => void" - } - }, - { - "name": "key", - "type": { - "text": "string" - } - } - ], - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } - }, - { - "kind": "method", - "name": "verifyKey", - "parameters": [ - { - "name": "key", - "type": { - "text": "string" - } - }, - { - "name": "keyVerificationHandlers", - "type": { - "text": "KeyVerificationHandlers" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } + "default": "false" }, { - "kind": "method", - "name": "isDirectConnection", - "privacy": "public", + "kind": "field", + "name": "url", + "type": { + "text": "string" + }, + "default": "''", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "connectSettings", + "name": "POLLING_TIMEOUT_MS", "type": { - "text": "Connect" + "text": "number" }, - "default": "{}", + "privacy": "private", + "static": true, + "readonly": true, + "default": "800", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "rawBody", + "name": "functionHandler", "type": { - "text": "any" + "text": "AssistantFunctionHandler | undefined" }, - "readonly": true, - "default": "{}", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "deepChat", + "name": "filesToolType", "type": { - "text": "DeepChat" + "text": "OpenAIAssistant['files_tool_type']" }, - "default": "deepChat", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "validateKeyProperty", + "name": "shouldFetchHistory", "type": { "text": "boolean" }, + "readonly": true, "default": "false", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, - "type": { - "text": "boolean" - } - } - ], + "name": "messages", "type": { - "text": "ValidateInput" + "text": "Messages | undefined" }, + "privacy": "private", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "fileTypes", + "name": "run_id", "type": { - "text": "ServiceFileTypes" + "text": "string | undefined" }, - "default": "{}", + "privacy": "private", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "camera", + "name": "searchedForThreadId", "type": { - "text": "CameraFilesServiceConfig | undefined" + "text": "boolean" }, + "privacy": "private", + "default": "false", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "recordAudio", + "name": "config", "type": { - "text": "MicrophoneFilesServiceConfig | undefined" + "text": "OpenAIAssistant" }, + "privacy": "private", + "readonly": true, + "default": "{}", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "totalMessagesMaxCharLength", + "name": "newAssistantDetails", "type": { - "text": "number | undefined" + "text": "OpenAINewAssistant" }, + "privacy": "private", + "readonly": true, + "default": "{model: 'gpt-4'}", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "maxMessages", + "name": "waitingForStreamResponse", "type": { - "text": "number | undefined" + "text": "boolean" }, + "privacy": "private", + "default": "false", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "demo", + "name": "isSSEStream", "type": { - "text": "DemoT | undefined" + "text": "boolean" }, - "default": "demo", + "privacy": "private", + "readonly": true, + "default": "false", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "stream", + "name": "urlSegments", "type": { - "text": "StreamI | undefined" + "text": "URLSegments" }, + "privacy": "private", + "readonly": true, + "default": "urlSegments", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "completionsHandlers", + "name": "messageStream", "type": { - "text": "CompletionsHandlers" + "text": "MessageStream | undefined" }, - "default": "{}", + "privacy": "private", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { - "kind": "field", - "name": "streamHandlers", - "type": { - "text": "StreamHandlers" - }, - "default": "{}", + "kind": "method", + "name": "fetchHistoryFunc", + "privacy": "public", "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "method", - "name": "createCustomFormDataBody", + "name": "processImageMessage", "privacy": "private", "static": true, "parameters": [ { - "name": "body", - "type": { - "text": "any" - } - }, - { - "name": "messages", + "name": "processedMessage", "type": { - "text": "MessageContentI[]" + "text": "MessageContentI" } }, { - "name": "files", + "name": "uploadedFiles", + "optional": true, "type": { - "text": "File[]" + "text": "UploadedFile[]" } } ], "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "method", - "name": "getServiceIOByType", + "name": "processAttachmentsMessage", "privacy": "private", + "static": true, "parameters": [ { - "name": "file", + "name": "processedMessage", "type": { - "text": "File" + "text": "MessageContentI" + } + }, + { + "name": "uploadedFiles", + "type": { + "text": "UploadedFile[]" + } + }, + { + "name": "toolType", + "type": { + "text": "OpenAIAssistant['files_tool_type']" } } ], "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "method", - "name": "request", + "name": "processMessage", "privacy": "private", "parameters": [ { - "name": "body", + "name": "pMessages", "type": { - "text": "any" + "text": "MessageContentI[]" } }, { - "name": "messages", + "name": "uploadedFiles", + "optional": true, "type": { - "text": "Messages" + "text": "UploadedFile[]" } - }, - { - "name": "stringifyBody", - "default": "true" } ], "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "method", - "name": "callAPIWithText", + "name": "createNewThreadMessages", "privacy": "private", "parameters": [ { - "name": "messages", + "name": "body", "type": { - "text": "Messages" + "text": "OpenAIConverseBodyInternal" } }, { @@ -4078,16 +3998,23 @@ "type": { "text": "MessageContentI[]" } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "UploadedFile[]" + } } ], "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "method", - "name": "callApiWithFiles", + "name": "callService", "privacy": "private", "parameters": [ { @@ -4103,15 +4030,16 @@ } }, { - "name": "files", + "name": "uploadedFiles", + "optional": true, "type": { - "text": "File[]" + "text": "UploadedFile[]" } } ], "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { @@ -4145,24 +4073,28 @@ }, { "kind": "method", - "name": "callAPI", + "name": "createNewAssistant", + "privacy": "private", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "searchPreviousMessagesForThreadId", + "privacy": "private", "parameters": [ { - "name": "requestContents", + "name": "messageToElements", "type": { - "text": "RequestContents" - } - }, - { - "name": "messages", - "type": { - "text": "Messages" + "text": "MessageToElements" } } ], "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { @@ -4170,14 +4102,14 @@ "name": "extractResultData", "return": { "type": { - "text": "Promise" + "text": "Promise" } }, "parameters": [ { "name": "result", "type": { - "text": "any | Response" + "text": "OpenAIAssistantInitReqResult" } } ], @@ -4188,222 +4120,146 @@ }, { "kind": "method", - "name": "isWebModel", - "privacy": "public", + "name": "assignThreadAndRun", + "privacy": "private", + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIAssistantInitReqResult" + } + } + ], "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } - } - ], - "superclass": { - "name": "DirectServiceIO", - "module": "/src/services/utils/directServiceIO" - } - } - ], - "exports": [ - { - "kind": "js", - "name": "AzureSpeechIO", - "declaration": { - "name": "AzureSpeechIO", - "module": "src/services/azure/azureSpeechIO.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/services/azure/azureSpeechToTextIO.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "AzureSpeechToTextIO", - "members": [ - { - "kind": "field", - "name": "HELP_LINK", - "type": { - "text": "string" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'" - }, - { - "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
Azure Speech To Text
\n

Upload a .wav or .ogg audio file to transcribe it into text.\n

\n Click here for more info.\n

`" - }, - { - "kind": "field", - "name": "url", - "type": { - "text": "string" - }, - "default": "`https://${config.region}.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=${lang}&format=detailed`" - }, - { - "kind": "field", - "name": "isTextInputDisabled", - "type": { - "text": "boolean" - }, - "default": "true" - }, - { - "kind": "field", - "name": "textInputPlaceholderText", - "type": { - "text": "string" - }, - "default": "'Upload an audio file'" }, { "kind": "method", - "name": "canFileSendMessage", + "name": "getThreadMessages", "privacy": "private", - "static": true, "parameters": [ { - "name": "_", - "optional": true, + "name": "thread_id", "type": { "text": "string" } }, { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } + "name": "isHistory", + "default": "false" } - ] + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } }, { "kind": "method", - "name": "callServiceAPI", + "name": "extractPollResultData", + "return": { + "type": { + "text": "PollResult" + } + }, "parameters": [ { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "_", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "files", - "optional": true, + "name": "result", "type": { - "text": "File[]" + "text": "OpenAIRunResult" } } ], "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "method", - "name": "extractResultData", + "name": "handleTools", + "privacy": "private", "return": { "type": { - "text": "Promise" + "text": "PollResult" } }, "parameters": [ { - "name": "result", + "name": "toolCalls", "type": { - "text": "AzureSpeechToTextResult" + "text": "ToolCalls" } } ], "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { - "kind": "field", - "name": "canSendMessage", + "kind": "method", + "name": "handleStream", "privacy": "private", - "static": true, "parameters": [ { - "name": "text", - "optional": true, + "name": "result", "type": { - "text": "string" + "text": "OpenAIAssistantInitReqResult" } - }, + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "parseStreamResult", + "privacy": "private", + "parameters": [ { - "name": "files", - "optional": true, + "name": "result", "type": { - "text": "File[]" + "text": "OpenAIAssistantInitReqResult" } - }, + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "createStreamRun", + "privacy": "private", + "parameters": [ { - "name": "isProgrammatic", - "optional": true, + "name": "body", "type": { - "text": "boolean" + "text": "any" } } ], - "type": { - "text": "ValidateInput" - }, "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" } }, { "kind": "field", - "name": "recordAudio", + "name": "maxMessages", "type": { - "text": "MicrophoneFilesServiceConfig | undefined" + "text": "number | undefined" }, + "default": "1", "inheritedFrom": { "name": "BaseServiceIO", "module": "src/services/utils/baseServiceIO.ts" - }, - "default": "undefined" - }, - { - "kind": "field", - "name": "insertKeyPlaceholderText", - "type": { - "text": "string" - }, - "default": "'Azure Speech Subscription Key'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } - }, - { - "kind": "field", - "name": "keyHelpUrl", - "type": { - "text": "string" - }, - "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" } }, { @@ -4600,6 +4456,42 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "fileTypes", @@ -4625,9 +4517,9 @@ }, { "kind": "field", - "name": "totalMessagesMaxCharLength", + "name": "recordAudio", "type": { - "text": "number | undefined" + "text": "MicrophoneFilesServiceConfig | undefined" }, "inheritedFrom": { "name": "BaseServiceIO", @@ -4636,7 +4528,7 @@ }, { "kind": "field", - "name": "maxMessages", + "name": "totalMessagesMaxCharLength", "type": { "text": "number | undefined" }, @@ -4851,72 +4743,229 @@ } ], "superclass": { - "name": "AzureSpeechIO", - "module": "/src/services/azure/azureSpeechIO" + "name": "OpenAIAssistantIOI", + "module": "/src/services/openAI/assistant/openAIAssistantIOI" } } ], "exports": [ { "kind": "js", - "name": "AzureSpeechToTextIO", + "name": "AzureOpenAIAssistantIO", "declaration": { - "name": "AzureSpeechToTextIO", - "module": "src/services/azure/azureSpeechToTextIO.ts" + "name": "AzureOpenAIAssistantIO", + "module": "src/services/azure/azureOpenAIAssistantIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/azure/azureSummarizationIO.ts", + "path": "src/services/azure/azureOpenAIChatIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "AzureSummarizationIO", + "name": "AzureOpenAIChatIO", "members": [ { "kind": "field", - "name": "url", + "name": "permittedErrorPrefixes", + "type": { + "text": "array" + }, + "default": "[AzureOpenAIUtils.URL_DETAILS_ERROR_MESSAGE]", + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } + }, + { + "kind": "field", + "name": "isTextInputDisabled", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "method", + "name": "buildURL", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "urlDetails", + "type": { + "text": "AzureOpenAI['urlDetails']" + } + } + ] + }, + { + "kind": "field", + "name": "insertKeyPlaceholderText", "type": { "text": "string" }, - "default": "`${config.endpoint}/language/analyze-text/jobs?api-version=2022-10-01-preview`" + "default": "'OpenAI API Key'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "field", - "name": "textInputPlaceholderText", + "name": "keyHelpUrl", "type": { "text": "string" }, - "default": "'Insert text to summarize'" + "default": "'https://platform.openai.com/account/api-keys'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "field", - "name": "messages", + "name": "url", "type": { - "text": "Messages | undefined" + "text": "string" }, - "privacy": "private" + "default": "'https://api.openai.com/v1/chat/completions'", + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } + }, + { + "kind": "field", + "name": "_functionHandler", + "type": { + "text": "ChatFunctionHandler | undefined" + }, + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } + }, + { + "kind": "field", + "name": "_streamToolCalls", + "type": { + "text": "ToolCalls | undefined" + }, + "privacy": "private", + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } + }, + { + "kind": "field", + "name": "asyncCallInProgress", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } + }, + { + "kind": "field", + "name": "_systemMessage", + "type": { + "text": "SystemMessageInternal" + }, + "privacy": "private", + "readonly": true, + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } + }, + { + "kind": "method", + "name": "generateSystemMessage", + "privacy": "private", + "static": true, + "return": { + "type": { + "text": "SystemMessageInternal" + } + }, + "parameters": [ + { + "name": "system_prompt", + "type": { + "text": "string" + } + } + ], + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } + }, + { + "kind": "method", + "name": "cleanConfig", + "privacy": "private", + "parameters": [ + { + "name": "config", + "type": { + "text": "OpenAIChat" + } + } + ], + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } + }, + { + "kind": "method", + "name": "getContent", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "message", + "type": { + "text": "MessageContentI" + } + } + ], + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } }, { "kind": "method", "name": "preprocessBody", + "privacy": "private", "parameters": [ { "name": "body", "type": { - "text": "RawBody" + "text": "OpenAIConverseBodyInternal" } }, { - "name": "messages", + "name": "pMessages", "type": { "text": "MessageContentI[]" } } - ] + ], + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } }, { "kind": "method", @@ -4945,14 +4994,28 @@ "name": "extractResultData", "return": { "type": { - "text": "Promise<{makingAnotherRequest: true}>" + "text": "Promise" } }, "parameters": [ { "name": "result", "type": { - "text": "Response & AzureAuthenticationError" + "text": "OpenAIConverseResult" + } + }, + { + "name": "fetchFunc", + "optional": true, + "type": { + "text": "FetchFunc" + } + }, + { + "name": "prevBody", + "optional": true, + "type": { + "text": "OpenAIChat" } } ], @@ -4963,63 +5026,93 @@ }, { "kind": "method", - "name": "extractPollResultData", + "name": "extractStreamResult", + "privacy": "private", + "parameters": [ + { + "name": "choice", + "type": { + "text": "ResultChoice" + } + }, + { + "name": "fetchFunc", + "optional": true, + "type": { + "text": "FetchFunc" + } + }, + { + "name": "prevBody", + "optional": true, + "type": { + "text": "OpenAIChat" + } + } + ], + "inheritedFrom": { + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" + } + }, + { + "kind": "method", + "name": "handleTools", + "privacy": "private", "return": { "type": { - "text": "PollResult" + "text": "Promise" } }, "parameters": [ { - "name": "result", + "name": "tools", "type": { - "text": "AzureSummarizationResult" + "text": "ToolAPI" + } + }, + { + "name": "fetchFunc", + "optional": true, + "type": { + "text": "FetchFunc" + } + }, + { + "name": "prevBody", + "optional": true, + "type": { + "text": "OpenAIChat" } } - ] - }, - { - "kind": "field", - "name": "language", - "type": { - "text": "string" - }, - "default": "'en'" - }, - { - "kind": "field", - "name": "insertKeyPlaceholderText", - "type": { - "text": "string" - }, - "default": "'Azure Language Subscription Key'", + ], "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" } }, { "kind": "field", - "name": "keyHelpUrl", + "name": "maxMessages", "type": { - "text": "string" + "text": "number | undefined" }, - "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'", + "default": "-1", "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" } }, { "kind": "field", - "name": "permittedErrorPrefixes", + "name": "model", "type": { - "text": "array" + "text": "string" }, - "default": "['Access']", + "default": "'gpt-4o'", "inheritedFrom": { - "name": "AzureLanguageIO", - "module": "src/services/azure/azureLanguageIO.ts" + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" } }, { @@ -5297,17 +5390,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "maxMessages", - "type": { - "text": "number | undefined" - }, - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "demo", @@ -5514,140 +5596,31 @@ } ], "superclass": { - "name": "AzureLanguageIO", - "module": "/src/services/azure/azureLanguageIO" + "name": "OpenAIChatIO", + "module": "/src/services/openAI/openAIChatIO" } } ], "exports": [ { "kind": "js", - "name": "AzureSummarizationIO", + "name": "AzureOpenAIChatIO", "declaration": { - "name": "AzureSummarizationIO", - "module": "src/services/azure/azureSummarizationIO.ts" + "name": "AzureOpenAIChatIO", + "module": "src/services/azure/azureOpenAIChatIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/azure/azureTextToSpeechIO.ts", + "path": "src/services/azure/azureSpeechIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "AzureTextToSpeechIO", + "name": "AzureSpeechIO", "members": [ - { - "kind": "field", - "name": "HELP_LINK", - "type": { - "text": "string" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'" - }, - { - "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
Azure Text To Speech
\n

Insert text to synthesize it to audio.\n

\n Click here for more info.\n

`" - }, - { - "kind": "field", - "name": "url", - "type": { - "text": "string" - }, - "default": "`https://${config.region}.tts.speech.microsoft.com/cognitiveservices/v1`" - }, - { - "kind": "method", - "name": "preprocessBody", - "parameters": [ - { - "name": "body", - "type": { - "text": "AzureTextToSpeechConfig" - } - }, - { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - } - ] - }, - { - "kind": "method", - "name": "callServiceAPI", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "AzureTextToSpeechResult" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "field", - "name": "lang", - "type": { - "text": "string" - }, - "default": "'en-US'" - }, - { - "kind": "field", - "name": "name", - "type": { - "text": "string" - }, - "default": "'en-US-JennyNeural'" - }, - { - "kind": "field", - "name": "gender", - "type": { - "text": "string" - }, - "default": "'Female'" - }, { "kind": "field", "name": "insertKeyPlaceholderText", @@ -6131,6 +6104,35 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "method", + "name": "callServiceAPI", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "method", "name": "callAPI", @@ -6153,6 +6155,27 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "any | Response" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "method", "name": "isWebModel", @@ -6164,54 +6187,65 @@ } ], "superclass": { - "name": "AzureSpeechIO", - "module": "/src/services/azure/azureSpeechIO" + "name": "DirectServiceIO", + "module": "/src/services/utils/directServiceIO" } } ], "exports": [ { "kind": "js", - "name": "AzureTextToSpeechIO", + "name": "AzureSpeechIO", "declaration": { - "name": "AzureTextToSpeechIO", - "module": "src/services/azure/azureTextToSpeechIO.ts" + "name": "AzureSpeechIO", + "module": "src/services/azure/azureSpeechIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/azure/azureTranslationIO.ts", + "path": "src/services/azure/azureSpeechToTextIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "AzureTranslationIO", + "name": "AzureSpeechToTextIO", "members": [ { "kind": "field", - "name": "insertKeyPlaceholderText", + "name": "HELP_LINK", "type": { "text": "string" }, - "default": "'Azure Translate Subscription Key'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } + "privacy": "private", + "static": true, + "readonly": true, + "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'" }, { "kind": "field", - "name": "keyHelpUrl", + "name": "REGION_ERROR_MESSAGE", "type": { "text": "string" }, - "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } + "privacy": "private", + "static": true, + "readonly": true, + "default": "'Please define a region config property. [More Information](https://deepchat.dev/docs/directConnection/Azure#SpeechToText)'" + }, + { + "kind": "field", + "name": "permittedErrorPrefixes", + "type": { + "text": "string[]" + }, + "default": "[AzureSpeechToTextIO.REGION_ERROR_MESSAGE]" + }, + { + "kind": "field", + "name": "introPanelMarkUp", + "default": "`\n
Azure Speech To Text
\n

Upload a .wav or .ogg audio file to transcribe it into text.\n

\n Click here for more info.\n

`" }, { "kind": "field", @@ -6219,16 +6253,42 @@ "type": { "text": "string" }, - "default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`" + "default": "''" + }, + { + "kind": "field", + "name": "isTextInputDisabled", + "type": { + "text": "boolean" + }, + "default": "true" + }, + { + "kind": "field", + "name": "textInputPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Upload an audio file'" }, { "kind": "method", - "name": "preprocessBody", + "name": "canFileSendMessage", + "privacy": "private", + "static": true, "parameters": [ { - "name": "messages", + "name": "_", + "optional": true, "type": { - "text": "MessageContentI[]" + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" } } ] @@ -6244,10 +6304,17 @@ } }, { - "name": "pMessages", + "name": "_", "type": { "text": "MessageContentI[]" } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } } ], "inheritedFrom": { @@ -6267,7 +6334,7 @@ { "name": "result", "type": { - "text": "AzureTranslationResult" + "text": "AzureSpeechToTextResult" } } ], @@ -6276,6 +6343,30 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "insertKeyPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Azure Speech Subscription Key'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyHelpUrl", + "type": { + "text": "string" + }, + "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, { "kind": "field", "name": "key", @@ -6768,44 +6859,98 @@ } ], "superclass": { - "name": "DirectServiceIO", - "module": "/src/services/utils/directServiceIO" + "name": "AzureSpeechIO", + "module": "/src/services/azure/azureSpeechIO" } } ], "exports": [ { "kind": "js", - "name": "AzureTranslationIO", + "name": "AzureSpeechToTextIO", "declaration": { - "name": "AzureTranslationIO", - "module": "src/services/azure/azureTranslationIO.ts" + "name": "AzureSpeechToTextIO", + "module": "src/services/azure/azureSpeechToTextIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/cohere/cohereChatIO.ts", + "path": "src/services/azure/azureSummarizationIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "CohereChatIO", + "name": "AzureSummarizationIO", "members": [ + { + "kind": "field", + "name": "ENDPOINT_ERROR_MESSAGE", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'Please define the azure endpoint. [More Information](https://deepchat.dev/docs/directConnection/Azure#Summarization)'" + }, + { + "kind": "field", + "name": "permittedErrorPrefixes", + "type": { + "text": "array" + }, + "default": "[AzureSummarizationIO.ENDPOINT_ERROR_MESSAGE]", + "inheritedFrom": { + "name": "AzureLanguageIO", + "module": "src/services/azure/azureLanguageIO.ts" + } + }, + { + "kind": "field", + "name": "url", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "textInputPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Insert text to summarize'" + }, + { + "kind": "field", + "name": "isTextInputDisabled", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "messages", + "type": { + "text": "Messages | undefined" + }, + "privacy": "private" + }, { "kind": "method", "name": "preprocessBody", - "privacy": "private", "parameters": [ { "name": "body", "type": { - "text": "CohereChatConfig" + "text": "RawBody" } }, { - "name": "pMessages", + "name": "messages", "type": { "text": "MessageContentI[]" } @@ -6839,14 +6984,14 @@ "name": "extractResultData", "return": { "type": { - "text": "Promise" + "text": "Promise<{makingAnotherRequest: true}>" } }, "parameters": [ { "name": "result", "type": { - "text": "CohereChatResult" + "text": "Response & AzureAuthenticationError" } } ], @@ -6856,16 +7001,21 @@ } }, { - "kind": "field", - "name": "maxMessages", - "type": { - "text": "number | undefined" + "kind": "method", + "name": "extractPollResultData", + "return": { + "type": { + "text": "PollResult" + } }, - "default": "-1", - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } + "parameters": [ + { + "name": "result", + "type": { + "text": "AzureSummarizationResult" + } + } + ] }, { "kind": "field", @@ -6873,7 +7023,7 @@ "type": { "text": "string" }, - "default": "'Cohere API Key'", + "default": "'Azure Language Subscription Key'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -6885,48 +7035,12 @@ "type": { "text": "string" }, - "default": "'https://dashboard.cohere.ai/api-keys'", + "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" } }, - { - "kind": "field", - "name": "textInputPlaceholderText", - "type": { - "text": "string" - }, - "default": "inputPlaceholder", - "inheritedFrom": { - "name": "CohereIO", - "module": "src/services/cohere/cohereIO.ts" - } - }, - { - "kind": "field", - "name": "permittedErrorPrefixes", - "type": { - "text": "array" - }, - "default": "['invalid']", - "inheritedFrom": { - "name": "CohereIO", - "module": "src/services/cohere/cohereIO.ts" - } - }, - { - "kind": "field", - "name": "url", - "type": { - "text": "string" - }, - "default": "url", - "inheritedFrom": { - "name": "CohereIO", - "module": "src/services/cohere/cohereIO.ts" - } - }, { "kind": "field", "name": "key", @@ -7202,6 +7316,17 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "demo", @@ -7408,70 +7533,73 @@ } ], "superclass": { - "name": "CohereIO", - "module": "/src/services/cohere/cohereIO" + "name": "AzureLanguageIO", + "module": "/src/services/azure/azureLanguageIO" } } ], "exports": [ { "kind": "js", - "name": "CohereChatIO", + "name": "AzureSummarizationIO", "declaration": { - "name": "CohereChatIO", - "module": "src/services/cohere/cohereChatIO.ts" + "name": "AzureSummarizationIO", + "module": "src/services/azure/azureSummarizationIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/cohere/cohereIO.ts", + "path": "src/services/azure/azureTextToSpeechIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "CohereIO", + "name": "AzureTextToSpeechIO", "members": [ { "kind": "field", - "name": "insertKeyPlaceholderText", + "name": "HELP_LINK", "type": { "text": "string" }, - "default": "'Cohere API Key'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } + "privacy": "private", + "static": true, + "readonly": true, + "default": "'https://learn.microsoft.com/en-GB/azure/cognitive-services/speech-service/get-started-text-to-speech?tabs=windows%2Cterminal&pivots=programming-language-rest'" }, { "kind": "field", - "name": "keyHelpUrl", + "name": "REGION_ERROR_MESSAGE", "type": { "text": "string" }, - "default": "'https://dashboard.cohere.ai/api-keys'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } + "privacy": "private", + "static": true, + "readonly": true, + "default": "'Please define a region config property. [More Information](https://deepchat.dev/docs/directConnection/Azure#TextToSpeech)'" }, { "kind": "field", - "name": "textInputPlaceholderText", + "name": "permittedErrorPrefixes", "type": { - "text": "string" + "text": "string[]" }, - "default": "inputPlaceholder" + "default": "[AzureTextToSpeechIO.REGION_ERROR_MESSAGE]" }, { "kind": "field", - "name": "permittedErrorPrefixes", + "name": "introPanelMarkUp", + "default": "`\n
Azure Text To Speech
\n

Insert text to synthesize it to audio.\n

\n Click here for more info.\n

`" + }, + { + "kind": "field", + "name": "isTextInputDisabled", "type": { - "text": "array" + "text": "boolean" }, - "default": "['invalid']" + "default": "false" }, { "kind": "field", @@ -7479,7 +7607,92 @@ "type": { "text": "string" }, - "default": "url" + "default": "''" + }, + { + "kind": "method", + "name": "preprocessBody", + "parameters": [ + { + "name": "body", + "type": { + "text": "AzureTextToSpeechConfig" + } + }, + { + "name": "messages", + "type": { + "text": "MessageContentI[]" + } + } + ] + }, + { + "kind": "method", + "name": "callServiceAPI", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "AzureTextToSpeechResult" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "insertKeyPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Azure Speech Subscription Key'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyHelpUrl", + "type": { + "text": "string" + }, + "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "field", @@ -7940,35 +8153,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "method", - "name": "callServiceAPI", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "method", "name": "callAPI", @@ -7991,27 +8175,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "any | Response" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "method", "name": "isWebModel", @@ -8023,41 +8186,67 @@ } ], "superclass": { - "name": "DirectServiceIO", - "module": "/src/services/utils/directServiceIO" + "name": "AzureSpeechIO", + "module": "/src/services/azure/azureSpeechIO" } } ], "exports": [ { "kind": "js", - "name": "CohereIO", + "name": "AzureTextToSpeechIO", "declaration": { - "name": "CohereIO", - "module": "src/services/cohere/cohereIO.ts" + "name": "AzureTextToSpeechIO", + "module": "src/services/azure/azureTextToSpeechIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/cohere/cohereSummarizationIO.ts", + "path": "src/services/azure/azureTranslationIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "CohereSummarizationIO", + "name": "AzureTranslationIO", "members": [ + { + "kind": "field", + "name": "insertKeyPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Azure Translate Subscription Key'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyHelpUrl", + "type": { + "text": "string" + }, + "default": "'https://learn.microsoft.com/en-us/azure/api-management/api-management-subscriptions#create-and-manage-subscriptions-in-azure-portal'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "url", + "type": { + "text": "string" + }, + "default": "`https://api.cognitive.microsofttranslator.com/translate?api-version=3.0&to=${config.language || 'es'}`" + }, { "kind": "method", "name": "preprocessBody", "parameters": [ - { - "name": "body", - "type": { - "text": "CohereSummarizationConfig" - } - }, { "name": "messages", "type": { @@ -8100,7 +8289,7 @@ { "name": "result", "type": { - "text": "CohereSummarizationResult" + "text": "AzureTranslationResult" } } ], @@ -8109,66 +8298,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "insertKeyPlaceholderText", - "type": { - "text": "string" - }, - "default": "'Cohere API Key'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } - }, - { - "kind": "field", - "name": "keyHelpUrl", - "type": { - "text": "string" - }, - "default": "'https://dashboard.cohere.ai/api-keys'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } - }, - { - "kind": "field", - "name": "textInputPlaceholderText", - "type": { - "text": "string" - }, - "default": "inputPlaceholder", - "inheritedFrom": { - "name": "CohereIO", - "module": "src/services/cohere/cohereIO.ts" - } - }, - { - "kind": "field", - "name": "permittedErrorPrefixes", - "type": { - "text": "array" - }, - "default": "['invalid']", - "inheritedFrom": { - "name": "CohereIO", - "module": "src/services/cohere/cohereIO.ts" - } - }, - { - "kind": "field", - "name": "url", - "type": { - "text": "string" - }, - "default": "url", - "inheritedFrom": { - "name": "CohereIO", - "module": "src/services/cohere/cohereIO.ts" - } - }, { "kind": "field", "name": "key", @@ -8661,43 +8790,44 @@ } ], "superclass": { - "name": "CohereIO", - "module": "/src/services/cohere/cohereIO" + "name": "DirectServiceIO", + "module": "/src/services/utils/directServiceIO" } } ], "exports": [ { "kind": "js", - "name": "CohereSummarizationIO", + "name": "AzureTranslationIO", "declaration": { - "name": "CohereSummarizationIO", - "module": "src/services/cohere/cohereSummarizationIO.ts" + "name": "AzureTranslationIO", + "module": "src/services/azure/azureTranslationIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/cohere/cohereTextGenerationIO.ts", + "path": "src/services/cohere/cohereChatIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "CohereTextGenerationIO", + "name": "CohereChatIO", "members": [ { "kind": "method", "name": "preprocessBody", + "privacy": "private", "parameters": [ { "name": "body", "type": { - "text": "CohereGenerateConfig" + "text": "CohereChatConfig" } }, { - "name": "messages", + "name": "pMessages", "type": { "text": "MessageContentI[]" } @@ -8738,7 +8868,7 @@ { "name": "result", "type": { - "text": "CohereCompletionsResult" + "text": "CohereChatResult" } } ], @@ -8747,6 +8877,18 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "default": "-1", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "insertKeyPlaceholderText", @@ -9082,17 +9224,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "maxMessages", - "type": { - "text": "number | undefined" - }, - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "demo", @@ -9307,22 +9438,22 @@ "exports": [ { "kind": "js", - "name": "CohereTextGenerationIO", + "name": "CohereChatIO", "declaration": { - "name": "CohereTextGenerationIO", - "module": "src/services/cohere/cohereTextGenerationIO.ts" + "name": "CohereChatIO", + "module": "src/services/cohere/cohereChatIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/gemini/gemini.ts", + "path": "src/services/cohere/cohereIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "GeminiIO", + "name": "CohereIO", "members": [ { "kind": "field", @@ -9330,7 +9461,7 @@ "type": { "text": "string" }, - "default": "'OpenAI API Key'", + "default": "'Cohere API Key'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -9342,7 +9473,7 @@ "type": { "text": "string" }, - "default": "'https://platform.openai.com/account/api-keys'", + "default": "'https://dashboard.cohere.ai/api-keys'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -9350,11 +9481,11 @@ }, { "kind": "field", - "name": "url", + "name": "textInputPlaceholderText", "type": { "text": "string" }, - "default": "'https://api.openai.com/v1/chat/completions'" + "default": "inputPlaceholder" }, { "kind": "field", @@ -9362,242 +9493,15 @@ "type": { "text": "array" }, - "default": "['Incorrect']" - }, - { - "kind": "field", - "name": "_functionHandler", - "type": { - "text": "ChatFunctionHandler | undefined" - }, - "privacy": "private", - "readonly": true - }, - { - "kind": "field", - "name": "_streamToolCalls", - "type": { - "text": "ToolCalls | undefined" - }, - "privacy": "private" - }, - { - "kind": "field", - "name": "asyncCallInProgress", - "type": { - "text": "boolean" - }, - "default": "false" - }, - { - "kind": "field", - "name": "_systemMessage", - "type": { - "text": "SystemMessageInternal" - }, - "privacy": "private", - "readonly": true - }, - { - "kind": "method", - "name": "generateSystemMessage", - "privacy": "private", - "static": true, - "return": { - "type": { - "text": "SystemMessageInternal" - } - }, - "parameters": [ - { - "name": "system_prompt", - "type": { - "text": "string" - } - } - ] - }, - { - "kind": "method", - "name": "cleanConfig", - "privacy": "private", - "parameters": [ - { - "name": "config", - "type": { - "text": "OpenAIChat" - } - } - ] - }, - { - "kind": "method", - "name": "getContent", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "message", - "type": { - "text": "MessageContentI" - } - } - ] - }, - { - "kind": "method", - "name": "preprocessBody", - "privacy": "private", - "parameters": [ - { - "name": "body", - "type": { - "text": "OpenAIConverseBodyInternal" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - } - ] - }, - { - "kind": "method", - "name": "callServiceAPI", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "OpenAIConverseResult" - } - }, - { - "name": "fetchFunc", - "optional": true, - "type": { - "text": "FetchFunc" - } - }, - { - "name": "prevBody", - "optional": true, - "type": { - "text": "OpenAIChat" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "method", - "name": "extractStreamResult", - "privacy": "private", - "parameters": [ - { - "name": "choice", - "type": { - "text": "ResultChoice" - } - }, - { - "name": "fetchFunc", - "optional": true, - "type": { - "text": "FetchFunc" - } - }, - { - "name": "prevBody", - "optional": true, - "type": { - "text": "OpenAIChat" - } - } - ] - }, - { - "kind": "method", - "name": "handleTools", - "privacy": "private", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "tools", - "type": { - "text": "ToolAPI" - } - }, - { - "name": "fetchFunc", - "optional": true, - "type": { - "text": "FetchFunc" - } - }, - { - "name": "prevBody", - "optional": true, - "type": { - "text": "OpenAIChat" - } - } - ] - }, - { - "kind": "field", - "name": "maxMessages", - "type": { - "text": "number | undefined" - }, - "default": "-1", - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } + "default": "['invalid']" }, { "kind": "field", - "name": "model", + "name": "url", "type": { "text": "string" }, - "default": "'gpt-4o'" + "default": "url" }, { "kind": "field", @@ -9874,6 +9778,17 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "demo", @@ -10047,6 +9962,35 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "method", + "name": "callServiceAPI", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "method", "name": "callAPI", @@ -10069,6 +10013,27 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "any | Response" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "method", "name": "isWebModel", @@ -10088,105 +10053,40 @@ "exports": [ { "kind": "js", - "name": "GeminiIO", + "name": "CohereIO", "declaration": { - "name": "GeminiIO", - "module": "src/services/gemini/gemini.ts" + "name": "CohereIO", + "module": "src/services/cohere/cohereIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceAudioClassificationIO.ts", + "path": "src/services/cohere/cohereSummarizationIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceAudioClassificationIO", + "name": "CohereSummarizationIO", "members": [ - { - "kind": "method", - "name": "extractPollResultData", - "return": { - "type": { - "text": "PollResult" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "HuggingFaceClassificationResult" - } - } - ] - }, - { - "kind": "field", - "name": "isTextInputDisabled", - "type": { - "text": "boolean" - }, - "default": "true", - "inheritedFrom": { - "name": "HuggingFaceFileIO", - "module": "src/services/huggingFace/huggingFaceFileIO.ts" - } - }, - { - "kind": "method", - "name": "canSendFile", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "_", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ], - "inheritedFrom": { - "name": "HuggingFaceFileIO", - "module": "src/services/huggingFace/huggingFaceFileIO.ts" - } - }, { "kind": "method", "name": "preprocessBody", "parameters": [ { - "name": "_", + "name": "body", "type": { - "text": "{}" + "text": "CohereSummarizationConfig" } }, { - "name": "__", + "name": "messages", "type": { "text": "MessageContentI[]" } - }, - { - "name": "files", - "type": { - "text": "File[]" - } } - ], - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } + ] }, { "kind": "method", @@ -10199,17 +10099,10 @@ } }, { - "name": "_", + "name": "pMessages", "type": { "text": "MessageContentI[]" } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } } ], "inheritedFrom": { @@ -10218,36 +10111,21 @@ } }, { - "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, "parameters": [ { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, + "name": "result", "type": { - "text": "boolean" + "text": "CohereSummarizationResult" } } ], - "type": { - "text": "ValidateInput" - }, "inheritedFrom": { "name": "BaseServiceIO", "module": "src/services/utils/baseServiceIO.ts" @@ -10259,7 +10137,7 @@ "type": { "text": "string" }, - "default": "'Hugging Face Token'", + "default": "'Cohere API Key'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -10271,7 +10149,7 @@ "type": { "text": "string" }, - "default": "'https://huggingface.co/settings/tokens'", + "default": "'https://dashboard.cohere.ai/api-keys'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -10279,26 +10157,14 @@ }, { "kind": "field", - "name": "URL_PREFIX", + "name": "textInputPlaceholderText", "type": { "text": "string" }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://api-inference.huggingface.co/models/'", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", + "default": "inputPlaceholder", "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" + "name": "CohereIO", + "module": "src/services/cohere/cohereIO.ts" } }, { @@ -10307,10 +10173,10 @@ "type": { "text": "array" }, - "default": "['Authorization header']", + "default": "['invalid']", "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" + "name": "CohereIO", + "module": "src/services/cohere/cohereIO.ts" } }, { @@ -10319,22 +10185,10 @@ "type": { "text": "string" }, - "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "textInputPlaceholderText", - "type": { - "text": "string" - }, - "default": "textInputPlaceholderText", + "default": "url", "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" + "name": "CohereIO", + "module": "src/services/cohere/cohereIO.ts" } }, { @@ -10531,6 +10385,42 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "fileTypes", @@ -10782,27 +10672,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "any | Response" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "method", "name": "isWebModel", @@ -10814,113 +10683,48 @@ } ], "superclass": { - "name": "HuggingFaceFileIO", - "module": "/src/services/huggingFace/huggingFaceFileIO" + "name": "CohereIO", + "module": "/src/services/cohere/cohereIO" } } ], "exports": [ { "kind": "js", - "name": "HuggingFaceAudioClassificationIO", + "name": "CohereSummarizationIO", "declaration": { - "name": "HuggingFaceAudioClassificationIO", - "module": "src/services/huggingFace/huggingFaceAudioClassificationIO.ts" + "name": "CohereSummarizationIO", + "module": "src/services/cohere/cohereSummarizationIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceAudioRecognitionIO.ts", + "path": "src/services/cohere/cohereTextGenerationIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceAudioRecognitionIO", + "name": "CohereTextGenerationIO", "members": [ - { - "kind": "method", - "name": "extractPollResultData", - "return": { - "type": { - "text": "PollResult" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "HuggingFaceAudioRecognitionResult" - } - } - ] - }, - { - "kind": "field", - "name": "isTextInputDisabled", - "type": { - "text": "boolean" - }, - "default": "true", - "inheritedFrom": { - "name": "HuggingFaceFileIO", - "module": "src/services/huggingFace/huggingFaceFileIO.ts" - } - }, - { - "kind": "method", - "name": "canSendFile", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "_", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ], - "inheritedFrom": { - "name": "HuggingFaceFileIO", - "module": "src/services/huggingFace/huggingFaceFileIO.ts" - } - }, { "kind": "method", "name": "preprocessBody", "parameters": [ { - "name": "_", + "name": "body", "type": { - "text": "{}" + "text": "CohereGenerateConfig" } }, { - "name": "__", + "name": "messages", "type": { "text": "MessageContentI[]" } - }, - { - "name": "files", - "type": { - "text": "File[]" - } } - ], - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } + ] }, { "kind": "method", @@ -10933,17 +10737,10 @@ } }, { - "name": "_", + "name": "pMessages", "type": { "text": "MessageContentI[]" } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } } ], "inheritedFrom": { @@ -10952,36 +10749,21 @@ } }, { - "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, "parameters": [ { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, + "name": "result", "type": { - "text": "boolean" + "text": "CohereCompletionsResult" } } ], - "type": { - "text": "ValidateInput" - }, "inheritedFrom": { "name": "BaseServiceIO", "module": "src/services/utils/baseServiceIO.ts" @@ -10993,7 +10775,7 @@ "type": { "text": "string" }, - "default": "'Hugging Face Token'", + "default": "'Cohere API Key'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -11005,7 +10787,7 @@ "type": { "text": "string" }, - "default": "'https://huggingface.co/settings/tokens'", + "default": "'https://dashboard.cohere.ai/api-keys'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -11013,26 +10795,14 @@ }, { "kind": "field", - "name": "URL_PREFIX", + "name": "textInputPlaceholderText", "type": { "text": "string" }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://api-inference.huggingface.co/models/'", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", + "default": "inputPlaceholder", "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" + "name": "CohereIO", + "module": "src/services/cohere/cohereIO.ts" } }, { @@ -11041,10 +10811,10 @@ "type": { "text": "array" }, - "default": "['Authorization header']", + "default": "['invalid']", "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" + "name": "CohereIO", + "module": "src/services/cohere/cohereIO.ts" } }, { @@ -11053,22 +10823,10 @@ "type": { "text": "string" }, - "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "textInputPlaceholderText", - "type": { - "text": "string" - }, - "default": "textInputPlaceholderText", + "default": "url", "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" + "name": "CohereIO", + "module": "src/services/cohere/cohereIO.ts" } }, { @@ -11265,6 +11023,42 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "fileTypes", @@ -11516,27 +11310,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "any | Response" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "method", "name": "isWebModel", @@ -11548,40 +11321,130 @@ } ], "superclass": { - "name": "HuggingFaceFileIO", - "module": "/src/services/huggingFace/huggingFaceFileIO" + "name": "CohereIO", + "module": "/src/services/cohere/cohereIO" } } ], "exports": [ { "kind": "js", - "name": "HuggingFaceAudioRecognitionIO", + "name": "CohereTextGenerationIO", "declaration": { - "name": "HuggingFaceAudioRecognitionIO", - "module": "src/services/huggingFace/huggingFaceAudioRecognitionIO.ts" + "name": "CohereTextGenerationIO", + "module": "src/services/cohere/cohereTextGenerationIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceConversationIO.ts", + "path": "src/services/gemini/gemini.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceConversationIO", + "name": "GeminiIO", "members": [ + { + "kind": "field", + "name": "insertKeyPlaceholderText", + "type": { + "text": "string" + }, + "default": "'OpenAI API Key'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyHelpUrl", + "type": { + "text": "string" + }, + "default": "'https://platform.openai.com/account/api-keys'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "url", + "type": { + "text": "string" + }, + "default": "'https://api.openai.com/v1/chat/completions'" + }, + { + "kind": "field", + "name": "permittedErrorPrefixes", + "type": { + "text": "array" + }, + "default": "['Incorrect']" + }, + { + "kind": "field", + "name": "asyncCallInProgress", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "_systemMessage", + "type": { + "text": "SystemMessageInternal" + }, + "privacy": "private", + "readonly": true + }, { "kind": "method", - "name": "processMessages", + "name": "generateSystemMessage", "privacy": "private", + "static": true, + "return": { + "type": { + "text": "SystemMessageInternal" + } + }, "parameters": [ { - "name": "messages", + "name": "system_prompt", "type": { - "text": "MessageContentI[]" + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "cleanConfig", + "privacy": "private", + "parameters": [ + { + "name": "config", + "type": { + "text": "OpenAIChat" + } + } + ] + }, + { + "kind": "method", + "name": "getContent", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "message", + "type": { + "text": "MessageContentI" } } ] @@ -11589,38 +11452,36 @@ { "kind": "method", "name": "preprocessBody", + "privacy": "private", "parameters": [ { "name": "body", "type": { - "text": "HuggingFaceQuestionAnswerConfig" + "text": "OpenAIConverseBodyInternal" } }, { - "name": "messages", + "name": "pMessages", "type": { "text": "MessageContentI[]" } } - ], - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } + ] }, { "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, + "name": "callServiceAPI", "parameters": [ { - "name": "result", + "name": "messages", "type": { - "text": "HuggingFaceConversationResult" + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" } } ], @@ -11643,116 +11504,11 @@ }, { "kind": "field", - "name": "insertKeyPlaceholderText", - "type": { - "text": "string" - }, - "default": "'Hugging Face Token'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } - }, - { - "kind": "field", - "name": "keyHelpUrl", - "type": { - "text": "string" - }, - "default": "'https://huggingface.co/settings/tokens'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } - }, - { - "kind": "field", - "name": "URL_PREFIX", - "type": { - "text": "string" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://api-inference.huggingface.co/models/'", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "permittedErrorPrefixes", - "type": { - "text": "array" - }, - "default": "['Authorization header']", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "url", - "type": { - "text": "string" - }, - "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "textInputPlaceholderText", + "name": "model", "type": { "text": "string" }, - "default": "textInputPlaceholderText", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "method", - "name": "callServiceAPI", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } + "default": "'gpt-4o'" }, { "kind": "field", @@ -12224,6 +11980,27 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "any | Response" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "method", "name": "isWebModel", @@ -12235,38 +12012,59 @@ } ], "superclass": { - "name": "HuggingFaceIO", - "module": "/src/services/huggingFace/huggingFaceIO" + "name": "DirectServiceIO", + "module": "/src/services/utils/directServiceIO" } } ], "exports": [ { "kind": "js", - "name": "HuggingFaceConversationIO", + "name": "GeminiIO", "declaration": { - "name": "HuggingFaceConversationIO", - "module": "src/services/huggingFace/huggingFaceConversationIO.ts" + "name": "GeminiIO", + "module": "src/services/gemini/gemini.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceFileIO.ts", + "path": "src/services/huggingFace/huggingFaceAudioClassificationIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceFileIO", + "name": "HuggingFaceAudioClassificationIO", "members": [ + { + "kind": "method", + "name": "extractPollResultData", + "return": { + "type": { + "text": "PollResult" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "HuggingFaceClassificationResult" + } + } + ] + }, { "kind": "field", "name": "isTextInputDisabled", "type": { "text": "boolean" }, - "default": "true" + "default": "true", + "inheritedFrom": { + "name": "HuggingFaceFileIO", + "module": "src/services/huggingFace/huggingFaceFileIO.ts" + } }, { "kind": "method", @@ -12288,7 +12086,11 @@ "text": "File[]" } } - ] + ], + "inheritedFrom": { + "name": "HuggingFaceFileIO", + "module": "src/services/huggingFace/huggingFaceFileIO.ts" + } }, { "kind": "method", @@ -12944,134 +12746,84 @@ } ], "superclass": { - "name": "HuggingFaceIO", - "module": "/src/services/huggingFace/huggingFaceIO" + "name": "HuggingFaceFileIO", + "module": "/src/services/huggingFace/huggingFaceFileIO" } } ], "exports": [ { "kind": "js", - "name": "HuggingFaceFileIO", + "name": "HuggingFaceAudioClassificationIO", "declaration": { - "name": "HuggingFaceFileIO", - "module": "src/services/huggingFace/huggingFaceFileIO.ts" + "name": "HuggingFaceAudioClassificationIO", + "module": "src/services/huggingFace/huggingFaceAudioClassificationIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceFillMaskIO.ts", + "path": "src/services/huggingFace/huggingFaceAudioRecognitionIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceFillMaskIO", + "name": "HuggingFaceAudioRecognitionIO", "members": [ - { - "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
Hugging Face
\n

Insert a sentence with the word [MASK] and the model will try to fill it for you. E.g. I want [MASK].

\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "permittedErrorPrefixes", - "type": { - "text": "array" - }, - "default": "['Authorization header', 'No mask_token']", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, { "kind": "method", - "name": "extractResultData", + "name": "extractPollResultData", "return": { "type": { - "text": "Promise" + "text": "PollResult" } }, "parameters": [ { "name": "result", "type": { - "text": "HuggingFaceFillMaskResult" + "text": "HuggingFaceAudioRecognitionResult" } } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "field", - "name": "insertKeyPlaceholderText", - "type": { - "text": "string" - }, - "default": "'Hugging Face Token'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } + ] }, { "kind": "field", - "name": "keyHelpUrl", + "name": "isTextInputDisabled", "type": { - "text": "string" + "text": "boolean" }, - "default": "'https://huggingface.co/settings/tokens'", + "default": "true", "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" + "name": "HuggingFaceFileIO", + "module": "src/services/huggingFace/huggingFaceFileIO.ts" } }, { - "kind": "field", - "name": "URL_PREFIX", - "type": { - "text": "string" - }, + "kind": "method", + "name": "canSendFile", "privacy": "private", "static": true, - "readonly": true, - "default": "'https://api-inference.huggingface.co/models/'", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "url", - "type": { - "text": "string" - }, - "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "field", - "name": "textInputPlaceholderText", - "type": { - "text": "string" - }, - "default": "textInputPlaceholderText", + "parameters": [ + { + "name": "_", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ], "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" + "name": "HuggingFaceFileIO", + "module": "src/services/huggingFace/huggingFaceFileIO.ts" } }, { @@ -13079,20 +12831,19 @@ "name": "preprocessBody", "parameters": [ { - "name": "body", + "name": "_", "type": { - "text": "HuggingFaceServiceConfigObj" + "text": "{}" } }, { - "name": "messages", + "name": "__", "type": { "text": "MessageContentI[]" } }, { - "name": "_", - "optional": true, + "name": "files", "type": { "text": "File[]" } @@ -13114,7 +12865,7 @@ } }, { - "name": "pMessages", + "name": "_", "type": { "text": "MessageContentI[]" } @@ -13132,6 +12883,126 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "insertKeyPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Hugging Face Token'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyHelpUrl", + "type": { + "text": "string" + }, + "default": "'https://huggingface.co/settings/tokens'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "URL_PREFIX", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'https://api-inference.huggingface.co/models/'", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, + { + "kind": "field", + "name": "introPanelMarkUp", + "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, + { + "kind": "field", + "name": "permittedErrorPrefixes", + "type": { + "text": "array" + }, + "default": "['Authorization header']", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, + { + "kind": "field", + "name": "url", + "type": { + "text": "string" + }, + "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, + { + "kind": "field", + "name": "textInputPlaceholderText", + "type": { + "text": "string" + }, + "default": "textInputPlaceholderText", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, { "kind": "field", "name": "key", @@ -13326,42 +13197,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, - "type": { - "text": "boolean" - } - } - ], - "type": { - "text": "ValidateInput" - }, - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "fileTypes", @@ -13613,6 +13448,27 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "any | Response" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "method", "name": "isWebModel", @@ -13624,31 +13480,99 @@ } ], "superclass": { - "name": "HuggingFaceIO", - "module": "/src/services/huggingFace/huggingFaceIO" + "name": "HuggingFaceFileIO", + "module": "/src/services/huggingFace/huggingFaceFileIO" } } ], "exports": [ { "kind": "js", - "name": "HuggingFaceFillMaskIO", + "name": "HuggingFaceAudioRecognitionIO", "declaration": { - "name": "HuggingFaceFillMaskIO", - "module": "src/services/huggingFace/huggingFaceFillMaskIO.ts" + "name": "HuggingFaceAudioRecognitionIO", + "module": "src/services/huggingFace/huggingFaceAudioRecognitionIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceIO.ts", + "path": "src/services/huggingFace/huggingFaceConversationIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceIO", + "name": "HuggingFaceConversationIO", "members": [ + { + "kind": "method", + "name": "processMessages", + "privacy": "private", + "parameters": [ + { + "name": "messages", + "type": { + "text": "MessageContentI[]" + } + } + ] + }, + { + "kind": "method", + "name": "preprocessBody", + "parameters": [ + { + "name": "body", + "type": { + "text": "HuggingFaceQuestionAnswerConfig" + } + }, + { + "name": "messages", + "type": { + "text": "MessageContentI[]" + } + } + ], + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "HuggingFaceConversationResult" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "default": "-1", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "insertKeyPlaceholderText", @@ -13682,12 +13606,20 @@ "privacy": "private", "static": true, "readonly": true, - "default": "'https://api-inference.huggingface.co/models/'" + "default": "'https://api-inference.huggingface.co/models/'", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", "name": "introPanelMarkUp", - "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`" + "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", @@ -13695,7 +13627,11 @@ "type": { "text": "array" }, - "default": "['Authorization header']" + "default": "['Authorization header']", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", @@ -13703,7 +13639,11 @@ "type": { "text": "string" }, - "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`" + "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", @@ -13711,32 +13651,11 @@ "type": { "text": "string" }, - "default": "textInputPlaceholderText" - }, - { - "kind": "method", - "name": "preprocessBody", - "parameters": [ - { - "name": "body", - "type": { - "text": "HuggingFaceServiceConfigObj" - } - }, - { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "_", - "optional": true, - "type": { - "text": "File[]" - } - } - ] + "default": "textInputPlaceholderText", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "method", @@ -14042,17 +13961,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "maxMessages", - "type": { - "text": "number | undefined" - }, - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "demo", @@ -14248,27 +14156,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "any | Response" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "method", "name": "isWebModel", @@ -14280,59 +14167,38 @@ } ], "superclass": { - "name": "DirectServiceIO", - "module": "/src/services/utils/directServiceIO" + "name": "HuggingFaceIO", + "module": "/src/services/huggingFace/huggingFaceIO" } } ], "exports": [ { "kind": "js", - "name": "HuggingFaceIO", + "name": "HuggingFaceConversationIO", "declaration": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" + "name": "HuggingFaceConversationIO", + "module": "src/services/huggingFace/huggingFaceConversationIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceImageClassificationIO.ts", + "path": "src/services/huggingFace/huggingFaceFileIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceImageClassificationIO", + "name": "HuggingFaceFileIO", "members": [ - { - "kind": "method", - "name": "extractPollResultData", - "return": { - "type": { - "text": "PollResult" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "HuggingFaceClassificationResult" - } - } - ] - }, { "kind": "field", "name": "isTextInputDisabled", "type": { "text": "boolean" }, - "default": "true", - "inheritedFrom": { - "name": "HuggingFaceFileIO", - "module": "src/services/huggingFace/huggingFaceFileIO.ts" - } + "default": "true" }, { "kind": "method", @@ -14354,11 +14220,7 @@ "text": "File[]" } } - ], - "inheritedFrom": { - "name": "HuggingFaceFileIO", - "module": "src/services/huggingFace/huggingFaceFileIO.ts" - } + ] }, { "kind": "method", @@ -15014,38 +14876,35 @@ } ], "superclass": { - "name": "HuggingFaceFileIO", - "module": "/src/services/huggingFace/huggingFaceFileIO" + "name": "HuggingFaceIO", + "module": "/src/services/huggingFace/huggingFaceIO" } } ], "exports": [ { "kind": "js", - "name": "HuggingFaceImageClassificationIO", + "name": "HuggingFaceFileIO", "declaration": { - "name": "HuggingFaceImageClassificationIO", - "module": "src/services/huggingFace/huggingFaceImageClassificationIO.ts" + "name": "HuggingFaceFileIO", + "module": "src/services/huggingFace/huggingFaceFileIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceQuestionAnswerIO.ts", + "path": "src/services/huggingFace/huggingFaceFillMaskIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceQuestionAnswerIO", + "name": "HuggingFaceFillMaskIO", "members": [ { "kind": "field", - "name": "permittedErrorPrefixes", - "type": { - "text": "array" - }, - "default": "['Authorization header', 'Error in']", + "name": "introPanelMarkUp", + "default": "`\n
Hugging Face
\n

Insert a sentence with the word [MASK] and the model will try to fill it for you. E.g. I want [MASK].

\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", "inheritedFrom": { "name": "HuggingFaceIO", "module": "src/services/huggingFace/huggingFaceIO.ts" @@ -15053,30 +14912,11 @@ }, { "kind": "field", - "name": "context", + "name": "permittedErrorPrefixes", "type": { - "text": "string" + "text": "array" }, - "privacy": "private", - "readonly": true - }, - { - "kind": "method", - "name": "preprocessBody", - "parameters": [ - { - "name": "_", - "type": { - "text": "HuggingFaceQuestionAnswerConfig" - } - }, - { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - } - ], + "default": "['Authorization header', 'No mask_token']", "inheritedFrom": { "name": "HuggingFaceIO", "module": "src/services/huggingFace/huggingFaceIO.ts" @@ -15094,7 +14934,7 @@ { "name": "result", "type": { - "text": "HuggingFaceQuestionAnswerResult" + "text": "HuggingFaceFillMaskResult" } } ], @@ -15142,15 +14982,6 @@ "module": "src/services/huggingFace/huggingFaceIO.ts" } }, - { - "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, { "kind": "field", "name": "url", @@ -15175,6 +15006,35 @@ "module": "src/services/huggingFace/huggingFaceIO.ts" } }, + { + "kind": "method", + "name": "preprocessBody", + "parameters": [ + { + "name": "body", + "type": { + "text": "HuggingFaceServiceConfigObj" + } + }, + { + "name": "messages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "_", + "optional": true, + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, { "kind": "method", "name": "callServiceAPI", @@ -15704,44 +15564,23 @@ "exports": [ { "kind": "js", - "name": "HuggingFaceQuestionAnswerIO", + "name": "HuggingFaceFillMaskIO", "declaration": { - "name": "HuggingFaceQuestionAnswerIO", - "module": "src/services/huggingFace/huggingFaceQuestionAnswerIO.ts" + "name": "HuggingFaceFillMaskIO", + "module": "src/services/huggingFace/huggingFaceFillMaskIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceSummarizationIO.ts", + "path": "src/services/huggingFace/huggingFaceIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceSummarizationIO", + "name": "HuggingFaceIO", "members": [ - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "HuggingFaceSummarizationResult" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "insertKeyPlaceholderText", @@ -15775,20 +15614,12 @@ "privacy": "private", "static": true, "readonly": true, - "default": "'https://api-inference.huggingface.co/models/'", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } + "default": "'https://api-inference.huggingface.co/models/'" }, { "kind": "field", "name": "introPanelMarkUp", - "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } + "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`" }, { "kind": "field", @@ -15796,11 +15627,7 @@ "type": { "text": "array" }, - "default": "['Authorization header']", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } + "default": "['Authorization header']" }, { "kind": "field", @@ -15808,11 +15635,7 @@ "type": { "text": "string" }, - "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } + "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`" }, { "kind": "field", @@ -15820,11 +15643,7 @@ "type": { "text": "string" }, - "default": "textInputPlaceholderText", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } + "default": "textInputPlaceholderText" }, { "kind": "method", @@ -15849,11 +15668,7 @@ "text": "File[]" } } - ], - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } + ] }, { "kind": "method", @@ -16365,6 +16180,27 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "any | Response" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "method", "name": "isWebModel", @@ -16376,44 +16212,135 @@ } ], "superclass": { - "name": "HuggingFaceIO", - "module": "/src/services/huggingFace/huggingFaceIO" + "name": "DirectServiceIO", + "module": "/src/services/utils/directServiceIO" } } ], "exports": [ { "kind": "js", - "name": "HuggingFaceSummarizationIO", + "name": "HuggingFaceIO", "declaration": { - "name": "HuggingFaceSummarizationIO", - "module": "src/services/huggingFace/huggingFaceSummarizationIO.ts" + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceTextGenerationIO.ts", + "path": "src/services/huggingFace/huggingFaceImageClassificationIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceTextGenerationIO", + "name": "HuggingFaceImageClassificationIO", "members": [ { "kind": "method", - "name": "extractResultData", + "name": "extractPollResultData", "return": { "type": { - "text": "Promise" + "text": "PollResult" } }, "parameters": [ { "name": "result", "type": { - "text": "HuggingFaceTextGenerationResult" + "text": "HuggingFaceClassificationResult" + } + } + ] + }, + { + "kind": "field", + "name": "isTextInputDisabled", + "type": { + "text": "boolean" + }, + "default": "true", + "inheritedFrom": { + "name": "HuggingFaceFileIO", + "module": "src/services/huggingFace/huggingFaceFileIO.ts" + } + }, + { + "kind": "method", + "name": "canSendFile", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "_", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "HuggingFaceFileIO", + "module": "src/services/huggingFace/huggingFaceFileIO.ts" + } + }, + { + "kind": "method", + "name": "preprocessBody", + "parameters": [ + { + "name": "_", + "type": { + "text": "{}" + } + }, + { + "name": "__", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, + { + "kind": "method", + "name": "callServiceAPI", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "_", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" } } ], @@ -16422,6 +16349,42 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "insertKeyPlaceholderText", @@ -16506,64 +16469,6 @@ "module": "src/services/huggingFace/huggingFaceIO.ts" } }, - { - "kind": "method", - "name": "preprocessBody", - "parameters": [ - { - "name": "body", - "type": { - "text": "HuggingFaceServiceConfigObj" - } - }, - { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "_", - "optional": true, - "type": { - "text": "File[]" - } - } - ], - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, - { - "kind": "method", - "name": "callServiceAPI", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "key", @@ -16758,42 +16663,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, - "type": { - "text": "boolean" - } - } - ], - "type": { - "text": "ValidateInput" - }, - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "fileTypes", @@ -17045,6 +16914,27 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "any | Response" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "method", "name": "isWebModel", @@ -17056,31 +16946,74 @@ } ], "superclass": { - "name": "HuggingFaceIO", - "module": "/src/services/huggingFace/huggingFaceIO" + "name": "HuggingFaceFileIO", + "module": "/src/services/huggingFace/huggingFaceFileIO" } } ], "exports": [ { "kind": "js", - "name": "HuggingFaceTextGenerationIO", + "name": "HuggingFaceImageClassificationIO", "declaration": { - "name": "HuggingFaceTextGenerationIO", - "module": "src/services/huggingFace/huggingFaceTextGenerationIO.ts" + "name": "HuggingFaceImageClassificationIO", + "module": "src/services/huggingFace/huggingFaceImageClassificationIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/huggingFace/huggingFaceTranslationIO.ts", + "path": "src/services/huggingFace/huggingFaceQuestionAnswerIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HuggingFaceTranslationIO", + "name": "HuggingFaceQuestionAnswerIO", "members": [ + { + "kind": "field", + "name": "permittedErrorPrefixes", + "type": { + "text": "array" + }, + "default": "['Authorization header', 'Error in']", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, + { + "kind": "field", + "name": "context", + "type": { + "text": "string" + }, + "privacy": "private", + "readonly": true + }, + { + "kind": "method", + "name": "preprocessBody", + "parameters": [ + { + "name": "_", + "type": { + "text": "HuggingFaceQuestionAnswerConfig" + } + }, + { + "name": "messages", + "type": { + "text": "MessageContentI[]" + } + } + ], + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, { "kind": "method", "name": "extractResultData", @@ -17093,7 +17026,7 @@ { "name": "result", "type": { - "text": "HuggingFaceTranslationResult" + "text": "HuggingFaceQuestionAnswerResult" } } ], @@ -17150,18 +17083,6 @@ "module": "src/services/huggingFace/huggingFaceIO.ts" } }, - { - "kind": "field", - "name": "permittedErrorPrefixes", - "type": { - "text": "array" - }, - "default": "['Authorization header']", - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, { "kind": "field", "name": "url", @@ -17186,35 +17107,6 @@ "module": "src/services/huggingFace/huggingFaceIO.ts" } }, - { - "kind": "method", - "name": "preprocessBody", - "parameters": [ - { - "name": "body", - "type": { - "text": "HuggingFaceServiceConfigObj" - } - }, - { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "_", - "optional": true, - "type": { - "text": "File[]" - } - } - ], - "inheritedFrom": { - "name": "HuggingFaceIO", - "module": "src/services/huggingFace/huggingFaceIO.ts" - } - }, { "kind": "method", "name": "callServiceAPI", @@ -17744,30 +17636,51 @@ "exports": [ { "kind": "js", - "name": "HuggingFaceTranslationIO", + "name": "HuggingFaceQuestionAnswerIO", "declaration": { - "name": "HuggingFaceTranslationIO", - "module": "src/services/huggingFace/huggingFaceTranslationIO.ts" + "name": "HuggingFaceQuestionAnswerIO", + "module": "src/services/huggingFace/huggingFaceQuestionAnswerIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/mistral/mistralO.ts", + "path": "src/services/huggingFace/huggingFaceSummarizationIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "MistralIO", + "name": "HuggingFaceSummarizationIO", "members": [ + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "HuggingFaceSummarizationResult" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "insertKeyPlaceholderText", "type": { "text": "string" }, - "default": "'Mistral API Key'", + "default": "'Hugging Face Token'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -17779,7 +17692,7 @@ "type": { "text": "string" }, - "default": "'https://console.mistral.ai/api-keys/'", + "default": "'https://huggingface.co/settings/tokens'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -17787,11 +17700,27 @@ }, { "kind": "field", - "name": "url", + "name": "URL_PREFIX", "type": { "text": "string" }, - "default": "'https://api.mistral.ai/v1/chat/completions'" + "privacy": "private", + "static": true, + "readonly": true, + "default": "'https://api-inference.huggingface.co/models/'", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, + { + "kind": "field", + "name": "introPanelMarkUp", + "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", @@ -17799,39 +17728,64 @@ "type": { "text": "array" }, - "default": "['invalid']" + "default": "['Authorization header']", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { - "kind": "method", - "name": "cleanConfig", - "privacy": "private", - "parameters": [ - { - "name": "config", - "type": { - "text": "Mistral & APIKey" - } - } - ] + "kind": "field", + "name": "url", + "type": { + "text": "string" + }, + "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } + }, + { + "kind": "field", + "name": "textInputPlaceholderText", + "type": { + "text": "string" + }, + "default": "textInputPlaceholderText", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "method", "name": "preprocessBody", - "privacy": "private", "parameters": [ { "name": "body", "type": { - "text": "CohereChatConfig" + "text": "HuggingFaceServiceConfigObj" } }, { - "name": "pMessages", + "name": "messages", "type": { "text": "MessageContentI[]" } + }, + { + "name": "_", + "optional": true, + "type": { + "text": "File[]" + } } - ] + ], + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "method", @@ -17848,26 +17802,12 @@ "type": { "text": "MessageContentI[]" } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ + }, { - "name": "result", + "name": "files", + "optional": true, "type": { - "text": "CohereChatResult" + "text": "File[]" } } ], @@ -17876,26 +17816,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "maxMessages", - "type": { - "text": "number | undefined" - }, - "default": "-1", - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "field", - "name": "model", - "type": { - "text": "string" - }, - "default": "'open-mistral-7b'" - }, { "kind": "field", "name": "key", @@ -18171,6 +18091,17 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "demo", @@ -18377,38 +18308,59 @@ } ], "superclass": { - "name": "DirectServiceIO", - "module": "/src/services/utils/directServiceIO" + "name": "HuggingFaceIO", + "module": "/src/services/huggingFace/huggingFaceIO" } } ], "exports": [ { "kind": "js", - "name": "MistralIO", + "name": "HuggingFaceSummarizationIO", "declaration": { - "name": "MistralIO", - "module": "src/services/mistral/mistralO.ts" + "name": "HuggingFaceSummarizationIO", + "module": "src/services/huggingFace/huggingFaceSummarizationIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/openAI/openAIAssistantIO.ts", + "path": "src/services/huggingFace/huggingFaceTextGenerationIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "OpenAIAssistantIO", + "name": "HuggingFaceTextGenerationIO", "members": [ + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "HuggingFaceTextGenerationResult" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "insertKeyPlaceholderText", "type": { "text": "string" }, - "default": "'OpenAI API Key'", + "default": "'Hugging Face Token'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -18420,7 +18372,7 @@ "type": { "text": "string" }, - "default": "'https://platform.openai.com/account/api-keys'", + "default": "'https://huggingface.co/settings/tokens'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -18428,53 +18380,27 @@ }, { "kind": "field", - "name": "url", - "type": { - "text": "string" - }, - "default": "''" - }, - { - "kind": "field", - "name": "THREAD_PREFIX", - "type": { - "text": "string" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://api.openai.com/v1/threads'" - }, - { - "kind": "field", - "name": "NEW_ASSISTANT_URL", + "name": "URL_PREFIX", "type": { "text": "string" }, "privacy": "private", "static": true, "readonly": true, - "default": "'https://api.openai.com/v1/assistants'" - }, - { - "kind": "field", - "name": "POLLING_TIMEOUT_MS", - "type": { - "text": "number" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "800" + "default": "'https://api-inference.huggingface.co/models/'", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", - "name": "_functionHandler", - "type": { - "text": "AssistantFunctionHandler | undefined" - }, - "privacy": "private", - "readonly": true + "name": "introPanelMarkUp", + "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", @@ -18482,229 +18408,64 @@ "type": { "text": "array" }, - "default": "['Incorrect', 'Please send text']" - }, - { - "kind": "field", - "name": "messages", - "type": { - "text": "Messages | undefined" - }, - "privacy": "private" - }, - { - "kind": "field", - "name": "run_id", - "type": { - "text": "string | undefined" - }, - "privacy": "private" - }, - { - "kind": "field", - "name": "searchedForThreadId", - "type": { - "text": "boolean" - }, - "privacy": "private", - "default": "false" - }, - { - "kind": "field", - "name": "config", - "type": { - "text": "OpenAIAssistant" - }, - "privacy": "private", - "readonly": true, - "default": "{}" - }, - { - "kind": "field", - "name": "newAssistantDetails", - "type": { - "text": "OpenAINewAssistant" - }, - "privacy": "private", - "readonly": true, - "default": "{model: 'gpt-4'}" - }, - { - "kind": "field", - "name": "shouldFetchHistory", - "type": { - "text": "boolean" - }, - "privacy": "private", - "readonly": true, - "default": "false" - }, - { - "kind": "field", - "name": "waitingForStreamResponse", - "type": { - "text": "boolean" - }, - "privacy": "private", - "default": "false" - }, - { - "kind": "field", - "name": "isSSEStream", - "type": { - "text": "boolean" - }, - "privacy": "private", - "readonly": true, - "default": "false" + "default": "['Authorization header']", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", - "name": "messageStream", + "name": "url", "type": { - "text": "MessageStream | undefined" + "text": "string" }, - "privacy": "private" + "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", - "name": "filesToolType", + "name": "textInputPlaceholderText", "type": { - "text": "OpenAIAssistant['files_tool_type']" + "text": "string" }, - "privacy": "private", - "readonly": true - }, - { - "kind": "field", - "name": "fetchHistory", - "type": { - "text": "() => Promise | undefined" + "default": "textInputPlaceholderText", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" } }, { "kind": "method", - "name": "fetchHistoryFunc", - "privacy": "private" - }, - { - "kind": "method", - "name": "processImageMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "processedMessage", - "type": { - "text": "MessageContentI" - } - }, - { - "name": "uploadedFiles", - "optional": true, - "type": { - "text": "UploadedFile[]" - } - } - ] - }, - { - "kind": "method", - "name": "processAttachmentsMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "processedMessage", - "type": { - "text": "MessageContentI" - } - }, - { - "name": "uploadedFiles", - "type": { - "text": "UploadedFile[]" - } - }, - { - "name": "toolType", - "type": { - "text": "OpenAIAssistant['files_tool_type']" - } - } - ] - }, - { - "kind": "method", - "name": "processMessage", - "privacy": "private", - "parameters": [ - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "uploadedFiles", - "optional": true, - "type": { - "text": "UploadedFile[]" - } - } - ] - }, - { - "kind": "method", - "name": "createNewThreadMessages", - "privacy": "private", + "name": "preprocessBody", "parameters": [ { "name": "body", "type": { - "text": "OpenAIConverseBodyInternal" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" + "text": "HuggingFaceServiceConfigObj" } }, - { - "name": "files", - "optional": true, - "type": { - "text": "UploadedFile[]" - } - } - ] - }, - { - "kind": "method", - "name": "callService", - "privacy": "private", - "parameters": [ { "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", "type": { "text": "MessageContentI[]" } }, { - "name": "uploadedFiles", + "name": "_", "optional": true, "type": { - "text": "UploadedFile[]" + "text": "File[]" } } - ] + ], + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "method", @@ -18735,176 +18496,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "method", - "name": "createNewAssistant", - "privacy": "private" - }, - { - "kind": "method", - "name": "searchPreviousMessagesForThreadId", - "privacy": "private", - "parameters": [ - { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - } - ] - }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "OpenAIAssistantInitReqResult" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "method", - "name": "assignThreadAndRun", - "privacy": "private", - "parameters": [ - { - "name": "result", - "type": { - "text": "OpenAIAssistantInitReqResult" - } - } - ] - }, - { - "kind": "method", - "name": "getThreadMessages", - "privacy": "private", - "parameters": [ - { - "name": "thread_id", - "type": { - "text": "string" - } - }, - { - "name": "isHistory", - "default": "false" - } - ] - }, - { - "kind": "method", - "name": "extractPollResultData", - "return": { - "type": { - "text": "PollResult" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "OpenAIRunResult" - } - } - ] - }, - { - "kind": "method", - "name": "handleTools", - "privacy": "private", - "return": { - "type": { - "text": "PollResult" - } - }, - "parameters": [ - { - "name": "toolCalls", - "type": { - "text": "ToolCalls" - } - } - ] - }, - { - "kind": "method", - "name": "handleStream", - "privacy": "private", - "parameters": [ - { - "name": "result", - "type": { - "text": "OpenAIAssistantInitReqResult" - } - } - ] - }, - { - "kind": "method", - "name": "parseStreamResult", - "privacy": "private", - "parameters": [ - { - "name": "result", - "type": { - "text": "OpenAIAssistantInitReqResult" - } - } - ] - }, - { - "kind": "method", - "name": "createStreamRun", - "privacy": "private", - "parameters": [ - { - "name": "body", - "type": { - "text": "any" - } - } - ] - }, - { - "kind": "field", - "name": "headers", - "type": { - "text": "object" - }, - "default": "{}" - }, - { - "kind": "field", - "type": { - "text": "string" - }, - "default": "'assistants=v2'" - }, - { - "kind": "field", - "name": "maxMessages", - "type": { - "text": "number | undefined" - }, - "default": "1", - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "key", @@ -19180,6 +18771,17 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "demo", @@ -19386,50 +18988,59 @@ } ], "superclass": { - "name": "DirectServiceIO", - "module": "/src/services/utils/directServiceIO" + "name": "HuggingFaceIO", + "module": "/src/services/huggingFace/huggingFaceIO" } } ], "exports": [ { "kind": "js", - "name": "OpenAIAssistantIO", + "name": "HuggingFaceTextGenerationIO", "declaration": { - "name": "OpenAIAssistantIO", - "module": "src/services/openAI/openAIAssistantIO.ts" + "name": "HuggingFaceTextGenerationIO", + "module": "src/services/huggingFace/huggingFaceTextGenerationIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/openAI/openAIChatIO.ts", + "path": "src/services/huggingFace/huggingFaceTranslationIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "OpenAIChatIO", + "name": "HuggingFaceTranslationIO", "members": [ { - "kind": "field", - "name": "insertKeyPlaceholderText", - "type": { - "text": "string" - }, - "default": "'OpenAI API Key'", + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "HuggingFaceTranslationResult" + } + } + ], "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" } }, { "kind": "field", - "name": "keyHelpUrl", + "name": "insertKeyPlaceholderText", "type": { "text": "string" }, - "default": "'https://platform.openai.com/account/api-keys'", + "default": "'Hugging Face Token'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -19437,255 +19048,134 @@ }, { "kind": "field", - "name": "url", + "name": "keyHelpUrl", "type": { "text": "string" }, - "default": "'https://api.openai.com/v1/chat/completions'" + "default": "'https://huggingface.co/settings/tokens'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "field", - "name": "permittedErrorPrefixes", + "name": "URL_PREFIX", "type": { - "text": "array" + "text": "string" }, - "default": "['Incorrect']" + "privacy": "private", + "static": true, + "readonly": true, + "default": "'https://api-inference.huggingface.co/models/'", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", - "name": "_functionHandler", - "type": { - "text": "ChatFunctionHandler | undefined" - }, - "privacy": "private", - "readonly": true + "name": "introPanelMarkUp", + "default": "`\n
Hugging Face
\n

First message may take an extented amount of time to complete as the model needs to be initialized.

`", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", - "name": "_streamToolCalls", + "name": "permittedErrorPrefixes", "type": { - "text": "ToolCalls | undefined" + "text": "array" }, - "privacy": "private" + "default": "['Authorization header']", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", - "name": "asyncCallInProgress", + "name": "url", "type": { - "text": "boolean" + "text": "string" }, - "default": "false" + "default": "`${HuggingFaceIO.URL_PREFIX}${defaultModel}`", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "field", - "name": "_systemMessage", + "name": "textInputPlaceholderText", "type": { - "text": "SystemMessageInternal" - }, - "privacy": "private", - "readonly": true - }, - { - "kind": "method", - "name": "generateSystemMessage", - "privacy": "private", - "static": true, - "return": { - "type": { - "text": "SystemMessageInternal" - } + "text": "string" }, - "parameters": [ - { - "name": "system_prompt", - "type": { - "text": "string" - } - } - ] - }, - { - "kind": "method", - "name": "cleanConfig", - "privacy": "private", - "parameters": [ - { - "name": "config", - "type": { - "text": "OpenAIChat" - } - } - ] - }, - { - "kind": "method", - "name": "getContent", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "message", - "type": { - "text": "MessageContentI" - } - } - ] + "default": "textInputPlaceholderText", + "inheritedFrom": { + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" + } }, { "kind": "method", "name": "preprocessBody", - "privacy": "private", "parameters": [ { "name": "body", "type": { - "text": "OpenAIConverseBodyInternal" + "text": "HuggingFaceServiceConfigObj" } }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - } - ] - }, - { - "kind": "method", - "name": "callServiceAPI", - "parameters": [ { "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", "type": { "text": "MessageContentI[]" } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "OpenAIConverseResult" - } }, { - "name": "fetchFunc", - "optional": true, - "type": { - "text": "FetchFunc" - } - }, - { - "name": "prevBody", + "name": "_", "optional": true, "type": { - "text": "OpenAIChat" + "text": "File[]" } } ], "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" + "name": "HuggingFaceIO", + "module": "src/services/huggingFace/huggingFaceIO.ts" } }, { "kind": "method", - "name": "extractStreamResult", - "privacy": "private", - "parameters": [ - { - "name": "choice", - "type": { - "text": "ResultChoice" - } - }, - { - "name": "fetchFunc", - "optional": true, - "type": { - "text": "FetchFunc" - } - }, - { - "name": "prevBody", - "optional": true, - "type": { - "text": "OpenAIChat" - } - } - ] - }, - { - "kind": "method", - "name": "handleTools", - "privacy": "private", - "return": { - "type": { - "text": "Promise" - } - }, + "name": "callServiceAPI", "parameters": [ { - "name": "tools", + "name": "messages", "type": { - "text": "ToolAPI" + "text": "Messages" } }, { - "name": "fetchFunc", - "optional": true, + "name": "pMessages", "type": { - "text": "FetchFunc" + "text": "MessageContentI[]" } }, { - "name": "prevBody", + "name": "files", "optional": true, "type": { - "text": "OpenAIChat" + "text": "File[]" } } - ] - }, - { - "kind": "field", - "name": "maxMessages", - "type": { - "text": "number | undefined" - }, - "default": "-1", + ], "inheritedFrom": { "name": "BaseServiceIO", "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "model", - "type": { - "text": "string" - }, - "default": "'gpt-4o'" - }, { "kind": "field", "name": "key", @@ -19961,6 +19451,17 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "demo", @@ -20167,30 +19668,30 @@ } ], "superclass": { - "name": "DirectServiceIO", - "module": "/src/services/utils/directServiceIO" + "name": "HuggingFaceIO", + "module": "/src/services/huggingFace/huggingFaceIO" } } ], "exports": [ { "kind": "js", - "name": "OpenAIChatIO", + "name": "HuggingFaceTranslationIO", "declaration": { - "name": "OpenAIChatIO", - "module": "src/services/openAI/openAIChatIO.ts" + "name": "HuggingFaceTranslationIO", + "module": "src/services/huggingFace/huggingFaceTranslationIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/openAI/openAIImagesIO.ts", + "path": "src/services/mistral/mistralO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "OpenAIImagesIO", + "name": "MistralIO", "members": [ { "kind": "field", @@ -20198,7 +19699,7 @@ "type": { "text": "string" }, - "default": "'OpenAI API Key'", + "default": "'Mistral API Key'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -20210,57 +19711,19 @@ "type": { "text": "string" }, - "default": "'https://platform.openai.com/account/api-keys'", + "default": "'https://console.mistral.ai/api-keys/'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" } }, - { - "kind": "field", - "name": "IMAGE_GENERATION_URL", - "type": { - "text": "string" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://api.openai.com/v1/images/generations'" - }, - { - "kind": "field", - "name": "IMAGE_VARIATIONS_URL", - "type": { - "text": "string" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://api.openai.com/v1/images/variations'" - }, - { - "kind": "field", - "name": "IMAGE_EDIT_URL", - "type": { - "text": "string" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://api.openai.com/v1/images/edits'" - }, - { - "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
OpenAI DALL·E
\n

Insert text to generate an image.

\n

Upload 1 PNG image to generate its variation and optionally insert text to specify the change.

\n

Upload 2 PNG images where the second is a copy of the first with a transparent area where the edit should\n take place and text to specify the edit.

\n

Click here for more info.

`" - }, { "kind": "field", "name": "url", "type": { "text": "string" }, - "default": "''" + "default": "'https://api.mistral.ai/v1/chat/completions'" }, { "kind": "field", @@ -20268,53 +19731,17 @@ "type": { "text": "array" }, - "default": "['Incorrect', 'Invalid input image']" - }, - { - "kind": "method", - "name": "canFileSendMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ] + "default": "['invalid']" }, { "kind": "method", - "name": "createFormDataBody", + "name": "cleanConfig", "privacy": "private", - "static": true, "parameters": [ { - "name": "body", - "type": { - "text": "OpenAIImagesDalle" - } - }, - { - "name": "image", - "type": { - "text": "File" - } - }, - { - "name": "mask", - "optional": true, + "name": "config", "type": { - "text": "File" + "text": "Mistral & APIKey" } } ] @@ -20327,27 +19754,7 @@ { "name": "body", "type": { - "text": "OpenAIImagesDalle" - } - }, - { - "name": "lastMessage", - "optional": true, - "type": { - "text": "string" - } - } - ] - }, - { - "kind": "method", - "name": "callApiWithImage", - "privacy": "private", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" + "text": "CohereChatConfig" } }, { @@ -20355,12 +19762,6 @@ "type": { "text": "MessageContentI[]" } - }, - { - "name": "files", - "type": { - "text": "File[]" - } } ] }, @@ -20379,13 +19780,6 @@ "type": { "text": "MessageContentI[]" } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } } ], "inheritedFrom": { @@ -20405,7 +19799,7 @@ { "name": "result", "type": { - "text": "OpenAIImageResult" + "text": "CohereChatResult" } } ], @@ -20416,40 +19810,24 @@ }, { "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, - "type": { - "text": "boolean" - } - } - ], + "name": "maxMessages", "type": { - "text": "ValidateInput" + "text": "number | undefined" }, + "default": "-1", "inheritedFrom": { "name": "BaseServiceIO", "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "model", + "type": { + "text": "string" + }, + "default": "'open-mistral-7b'" + }, { "kind": "field", "name": "key", @@ -20646,11 +20024,35 @@ }, { "kind": "field", - "name": "fileTypes", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], "type": { - "text": "ServiceFileTypes" + "text": "ValidateInput" }, - "default": "{}", "inheritedFrom": { "name": "BaseServiceIO", "module": "src/services/utils/baseServiceIO.ts" @@ -20658,10 +20060,11 @@ }, { "kind": "field", - "name": "camera", + "name": "fileTypes", "type": { - "text": "CameraFilesServiceConfig | undefined" + "text": "ServiceFileTypes" }, + "default": "{}", "inheritedFrom": { "name": "BaseServiceIO", "module": "src/services/utils/baseServiceIO.ts" @@ -20669,9 +20072,9 @@ }, { "kind": "field", - "name": "recordAudio", + "name": "camera", "type": { - "text": "MicrophoneFilesServiceConfig | undefined" + "text": "CameraFilesServiceConfig | undefined" }, "inheritedFrom": { "name": "BaseServiceIO", @@ -20680,9 +20083,9 @@ }, { "kind": "field", - "name": "totalMessagesMaxCharLength", + "name": "recordAudio", "type": { - "text": "number | undefined" + "text": "MicrophoneFilesServiceConfig | undefined" }, "inheritedFrom": { "name": "BaseServiceIO", @@ -20691,7 +20094,7 @@ }, { "kind": "field", - "name": "maxMessages", + "name": "totalMessagesMaxCharLength", "type": { "text": "number | undefined" }, @@ -20914,22 +20317,22 @@ "exports": [ { "kind": "js", - "name": "OpenAIImagesIO", + "name": "MistralIO", "declaration": { - "name": "OpenAIImagesIO", - "module": "src/services/openAI/openAIImagesIO.ts" + "name": "MistralIO", + "module": "src/services/mistral/mistralO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/openAI/openAISpeechToTextIO.ts", + "path": "src/services/openAI/openAIChatIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "OpenAISpeechToTextIO", + "name": "OpenAIChatIO", "members": [ { "kind": "field", @@ -20957,106 +20360,67 @@ }, { "kind": "field", - "name": "AUDIO_TRANSCRIPTIONS_URL", - "type": { - "text": "string" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://api.openai.com/v1/audio/transcriptions'" - }, - { - "kind": "field", - "name": "AUDIO_TRANSLATIONS_URL", + "name": "url", "type": { "text": "string" }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'https://api.openai.com/v1/audio/translations'" + "default": "'https://api.openai.com/v1/chat/completions'" }, { "kind": "field", - "name": "DEFAULT_MODEL", + "name": "permittedErrorPrefixes", "type": { - "text": "string" + "text": "array" }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'whisper-1'" - }, - { - "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
OpenAI : Speech To Text
\n

Upload an audio file to transcribe it into text. You can optionally provide text to guide the audio\n processing.\n

Click here for more info.

`" + "default": "['Incorrect']" }, { "kind": "field", - "name": "url", + "name": "_functionHandler", "type": { - "text": "string" - }, - "default": "''" + "text": "ChatFunctionHandler | undefined" + } }, { "kind": "field", - "name": "permittedErrorPrefixes", + "name": "_streamToolCalls", "type": { - "text": "array" + "text": "ToolCalls | undefined" }, - "default": "['Invalid']" + "privacy": "private" }, { "kind": "field", - "name": "textInputPlaceholderText", + "name": "asyncCallInProgress", "type": { - "text": "string" + "text": "boolean" }, - "default": "'Upload an audio file'" + "default": "false" }, { "kind": "field", - "name": "_service_url", + "name": "_systemMessage", "type": { - "text": "string" + "text": "SystemMessageInternal" }, - "privacy": "private" + "privacy": "private", + "readonly": true }, { "kind": "method", - "name": "canSendFileMessage", + "name": "generateSystemMessage", "privacy": "private", "static": true, - "parameters": [ - { - "name": "_", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } + "return": { + "type": { + "text": "SystemMessageInternal" } - ] - }, - { - "kind": "method", - "name": "processConfig", - "privacy": "private", + }, "parameters": [ { - "name": "config", - "optional": true, + "name": "system_prompt", "type": { - "text": "OpenAISpeechToText" + "text": "string" } } ] @@ -21065,32 +20429,25 @@ "kind": "method", "name": "cleanConfig", "privacy": "private", - "static": true, "parameters": [ { "name": "config", "type": { - "text": "OpenAISpeechToText" + "text": "OpenAIChat" } } ] }, { "kind": "method", - "name": "createFormDataBody", + "name": "getContent", "privacy": "private", "static": true, "parameters": [ { - "name": "body", - "type": { - "text": "OpenAISpeechToText" - } - }, - { - "name": "audio", + "name": "message", "type": { - "text": "File" + "text": "MessageContentI" } } ] @@ -21103,11 +20460,11 @@ { "name": "body", "type": { - "text": "OpenAISpeechToText" + "text": "OpenAIConverseBodyInternal" } }, { - "name": "messages", + "name": "pMessages", "type": { "text": "MessageContentI[]" } @@ -21129,13 +20486,6 @@ "type": { "text": "MessageContentI[]" } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } } ], "inheritedFrom": { @@ -21148,14 +20498,28 @@ "name": "extractResultData", "return": { "type": { - "text": "Promise" + "text": "Promise" } }, "parameters": [ { "name": "result", "type": { - "text": "OpenAIAudioResult" + "text": "OpenAIConverseResult" + } + }, + { + "name": "fetchFunc", + "optional": true, + "type": { + "text": "FetchFunc" + } + }, + { + "name": "prevBody", + "optional": true, + "type": { + "text": "OpenAIChat" } } ], @@ -21165,53 +20529,84 @@ } }, { - "kind": "field", - "name": "model" - }, - { - "kind": "field", - "name": "response_format", - "type": { - "text": "string" - }, - "default": "'json'" + "kind": "method", + "name": "extractStreamResult", + "privacy": "private", + "parameters": [ + { + "name": "choice", + "type": { + "text": "ResultChoice" + } + }, + { + "name": "fetchFunc", + "optional": true, + "type": { + "text": "FetchFunc" + } + }, + { + "name": "prevBody", + "optional": true, + "type": { + "text": "OpenAIChat" + } + } + ] }, { - "kind": "field", - "name": "canSendMessage", + "kind": "method", + "name": "handleTools", "privacy": "private", - "static": true, + "return": { + "type": { + "text": "Promise" + } + }, "parameters": [ { - "name": "text", - "optional": true, + "name": "tools", "type": { - "text": "string" + "text": "ToolAPI" } }, { - "name": "files", + "name": "fetchFunc", "optional": true, "type": { - "text": "File[]" + "text": "FetchFunc" } }, { - "name": "isProgrammatic", + "name": "prevBody", "optional": true, "type": { - "text": "boolean" + "text": "OpenAIChat" } } - ], + ] + }, + { + "kind": "field", + "name": "maxMessages", "type": { - "text": "ValidateInput" + "text": "number | undefined" }, + "default": "-1", "inheritedFrom": { "name": "BaseServiceIO", "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "model", + "type": { + "text": "string" + }, + "default": "'gpt-4o'" + }, { "kind": "field", "name": "key", @@ -21408,11 +20803,35 @@ }, { "kind": "field", - "name": "fileTypes", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], "type": { - "text": "ServiceFileTypes" + "text": "ValidateInput" }, - "default": "{}", "inheritedFrom": { "name": "BaseServiceIO", "module": "src/services/utils/baseServiceIO.ts" @@ -21420,10 +20839,11 @@ }, { "kind": "field", - "name": "camera", + "name": "fileTypes", "type": { - "text": "CameraFilesServiceConfig | undefined" + "text": "ServiceFileTypes" }, + "default": "{}", "inheritedFrom": { "name": "BaseServiceIO", "module": "src/services/utils/baseServiceIO.ts" @@ -21431,9 +20851,9 @@ }, { "kind": "field", - "name": "recordAudio", + "name": "camera", "type": { - "text": "MicrophoneFilesServiceConfig | undefined" + "text": "CameraFilesServiceConfig | undefined" }, "inheritedFrom": { "name": "BaseServiceIO", @@ -21442,9 +20862,9 @@ }, { "kind": "field", - "name": "totalMessagesMaxCharLength", + "name": "recordAudio", "type": { - "text": "number | undefined" + "text": "MicrophoneFilesServiceConfig | undefined" }, "inheritedFrom": { "name": "BaseServiceIO", @@ -21453,7 +20873,7 @@ }, { "kind": "field", - "name": "maxMessages", + "name": "totalMessagesMaxCharLength", "type": { "text": "number | undefined" }, @@ -21676,22 +21096,22 @@ "exports": [ { "kind": "js", - "name": "OpenAISpeechToTextIO", + "name": "OpenAIChatIO", "declaration": { - "name": "OpenAISpeechToTextIO", - "module": "src/services/openAI/openAISpeechToTextIO.ts" + "name": "OpenAIChatIO", + "module": "src/services/openAI/openAIChatIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/openAI/openAITextToSpeechIO.ts", + "path": "src/services/openAI/openAIImagesIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "OpenAITextToSpeechIO", + "name": "OpenAIImagesIO", "members": [ { "kind": "field", @@ -21719,54 +21139,106 @@ }, { "kind": "field", - "name": "url", + "name": "IMAGE_GENERATION_URL", "type": { "text": "string" }, - "default": "'https://api.openai.com/v1/audio/speech'" - }, - { - "kind": "field", - "name": "permittedErrorPrefixes", - "type": { - "text": "array" - }, - "default": "['Invalid']" + "privacy": "private", + "static": true, + "readonly": true, + "default": "'https://api.openai.com/v1/images/generations'" }, { "kind": "field", - "name": "DEFAULT_MODEL", + "name": "IMAGE_VARIATIONS_URL", "type": { "text": "string" }, "privacy": "private", "static": true, "readonly": true, - "default": "'tts-1'" + "default": "'https://api.openai.com/v1/images/variations'" }, { "kind": "field", - "name": "DEFAULT_VOIDE", + "name": "IMAGE_EDIT_URL", "type": { "text": "string" }, "privacy": "private", "static": true, "readonly": true, - "default": "'alloy'" + "default": "'https://api.openai.com/v1/images/edits'" }, { "kind": "field", - "name": "textInputPlaceholderText", + "name": "introPanelMarkUp", + "default": "`\n
OpenAI DALL·E
\n

Insert text to generate an image.

\n

Upload 1 PNG image to generate its variation and optionally insert text to specify the change.

\n

Upload 2 PNG images where the second is a copy of the first with a transparent area where the edit should\n take place and text to specify the edit.

\n

Click here for more info.

`" + }, + { + "kind": "field", + "name": "url", "type": { "text": "string" }, - "default": "'Insert text to generate audio'" + "default": "''" }, { "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
OpenAI : Text To Speech
\n

Generate an audio file based on your text input.

\n

Click here for more information.

`" + "name": "permittedErrorPrefixes", + "type": { + "text": "array" + }, + "default": "['Incorrect', 'Invalid input image']" + }, + { + "kind": "method", + "name": "canFileSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ] + }, + { + "kind": "method", + "name": "createFormDataBody", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "body", + "type": { + "text": "OpenAIImagesDalle" + } + }, + { + "name": "image", + "type": { + "text": "File" + } + }, + { + "name": "mask", + "optional": true, + "type": { + "text": "File" + } + } + ] }, { "kind": "method", @@ -21776,14 +21248,40 @@ { "name": "body", "type": { - "text": "OpenAITextToSpeech" + "text": "OpenAIImagesDalle" } }, + { + "name": "lastMessage", + "optional": true, + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "callApiWithImage", + "privacy": "private", + "parameters": [ { "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", "type": { "text": "MessageContentI[]" } + }, + { + "name": "files", + "type": { + "text": "File[]" + } } ] }, @@ -21802,6 +21300,13 @@ "type": { "text": "MessageContentI[]" } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } } ], "inheritedFrom": { @@ -21821,7 +21326,7 @@ { "name": "result", "type": { - "text": "OpenAITextToSpeechResult" + "text": "OpenAIImageResult" } } ], @@ -21832,19 +21337,39 @@ }, { "kind": "field", - "name": "model" - }, - { - "kind": "field", - "name": "voice" - }, - { - "kind": "field", - "name": "response_format", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], "type": { - "text": "string" + "text": "ValidateInput" }, - "default": "'mp3'" + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { "kind": "field", @@ -22040,42 +21565,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, - "type": { - "text": "boolean" - } - } - ], - "type": { - "text": "ValidateInput" - }, - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "fileTypes", @@ -22346,22 +21835,22 @@ "exports": [ { "kind": "js", - "name": "OpenAITextToSpeechIO", + "name": "OpenAIImagesIO", "declaration": { - "name": "OpenAITextToSpeechIO", - "module": "src/services/openAI/openAITextToSpeechIO.ts" + "name": "OpenAIImagesIO", + "module": "src/services/openAI/openAIImagesIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/stabilityAI/stabilityAIIO.ts", + "path": "src/services/openAI/openAISpeechToTextIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "StabilityAIIO", + "name": "OpenAISpeechToTextIO", "members": [ { "kind": "field", @@ -22369,7 +21858,7 @@ "type": { "text": "string" }, - "default": "'Stability AI API Key'", + "default": "'OpenAI API Key'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" @@ -22381,19 +21870,268 @@ "type": { "text": "string" }, - "default": "'https://platform.stability.ai/docs/getting-started/authentication'", + "default": "'https://platform.openai.com/account/api-keys'", "inheritedFrom": { "name": "DirectServiceIO", "module": "src/services/utils/directServiceIO.ts" } }, + { + "kind": "field", + "name": "AUDIO_TRANSCRIPTIONS_URL", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'https://api.openai.com/v1/audio/transcriptions'" + }, + { + "kind": "field", + "name": "AUDIO_TRANSLATIONS_URL", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'https://api.openai.com/v1/audio/translations'" + }, + { + "kind": "field", + "name": "DEFAULT_MODEL", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'whisper-1'" + }, + { + "kind": "field", + "name": "introPanelMarkUp", + "default": "`\n
OpenAI : Speech To Text
\n

Upload an audio file to transcribe it into text. You can optionally provide text to guide the audio\n processing.\n

Click here for more info.

`" + }, + { + "kind": "field", + "name": "url", + "type": { + "text": "string" + }, + "default": "''" + }, { "kind": "field", "name": "permittedErrorPrefixes", "type": { "text": "array" }, - "default": "['Incorrect', 'invalid_']" + "default": "['Invalid']" + }, + { + "kind": "field", + "name": "textInputPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Upload an audio file'" + }, + { + "kind": "field", + "name": "_service_url", + "type": { + "text": "string" + }, + "privacy": "private" + }, + { + "kind": "method", + "name": "canSendFileMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "_", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ] + }, + { + "kind": "method", + "name": "processConfig", + "privacy": "private", + "parameters": [ + { + "name": "config", + "optional": true, + "type": { + "text": "OpenAISpeechToText" + } + } + ] + }, + { + "kind": "method", + "name": "cleanConfig", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "config", + "type": { + "text": "OpenAISpeechToText" + } + } + ] + }, + { + "kind": "method", + "name": "createFormDataBody", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "body", + "type": { + "text": "OpenAISpeechToText" + } + }, + { + "name": "audio", + "type": { + "text": "File" + } + } + ] + }, + { + "kind": "method", + "name": "preprocessBody", + "privacy": "private", + "parameters": [ + { + "name": "body", + "type": { + "text": "OpenAISpeechToText" + } + }, + { + "name": "messages", + "type": { + "text": "MessageContentI[]" + } + } + ] + }, + { + "kind": "method", + "name": "callServiceAPI", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIAudioResult" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "model" + }, + { + "kind": "field", + "name": "response_format", + "type": { + "text": "string" + }, + "default": "'json'" + }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { "kind": "field", @@ -22589,42 +22327,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, - "type": { - "text": "boolean" - } - } - ], - "type": { - "text": "ValidateInput" - }, - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "fileTypes", @@ -22854,35 +22556,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "method", - "name": "callServiceAPI", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "method", "name": "callAPI", @@ -22905,27 +22578,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "any | Response" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "method", "name": "isWebModel", @@ -22945,111 +22597,113 @@ "exports": [ { "kind": "js", - "name": "StabilityAIIO", + "name": "OpenAISpeechToTextIO", "declaration": { - "name": "StabilityAIIO", - "module": "src/services/stabilityAI/stabilityAIIO.ts" + "name": "OpenAISpeechToTextIO", + "module": "src/services/openAI/openAISpeechToTextIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/stabilityAI/stabilityAIImageToImageIO.ts", + "path": "src/services/openAI/openAITextToSpeechIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "StabilityAIImageToImageIO", + "name": "OpenAITextToSpeechIO", "members": [ { "kind": "field", - "name": "url", + "name": "insertKeyPlaceholderText", "type": { "text": "string" }, - "default": "'https://api.stability.ai/v1/generation/stable-diffusion-v1-6/image-to-image'" + "default": "'OpenAI API Key'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "field", - "name": "_imageWeight", + "name": "keyHelpUrl", "type": { - "text": "number | undefined" + "text": "string" }, - "privacy": "private", - "readonly": true + "default": "'https://platform.openai.com/account/api-keys'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "field", - "name": "textInputPlaceholderText", + "name": "url", "type": { "text": "string" }, - "default": "'Describe image changes'" + "default": "'https://api.openai.com/v1/audio/speech'" }, { "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
Stability AI: Image to Image
\n

Upload an image to create a new one with the changes you have described.

\n

Click here for more info.

`" + "name": "permittedErrorPrefixes", + "type": { + "text": "array" + }, + "default": "['Invalid']" }, { - "kind": "method", - "name": "cleanConfig", + "kind": "field", + "name": "DEFAULT_MODEL", + "type": { + "text": "string" + }, "privacy": "private", "static": true, - "parameters": [ - { - "name": "config", - "type": { - "text": "StabilityAIImageToImage" - } - } - ] + "readonly": true, + "default": "'tts-1'" }, { - "kind": "method", - "name": "canSendFileTextMessage", + "kind": "field", + "name": "DEFAULT_VOIDE", + "type": { + "text": "string" + }, "privacy": "private", "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ] + "readonly": true, + "default": "'alloy'" + }, + { + "kind": "field", + "name": "textInputPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Insert text to generate audio'" + }, + { + "kind": "field", + "name": "introPanelMarkUp", + "default": "`\n
OpenAI : Text To Speech
\n

Generate an audio file based on your text input.

\n

Click here for more information.

`" }, { "kind": "method", - "name": "createFormDataBody", + "name": "preprocessBody", "privacy": "private", "parameters": [ { "name": "body", "type": { - "text": "StabilityAIImageToImage" - } - }, - { - "name": "image", - "type": { - "text": "File" + "text": "OpenAITextToSpeech" } }, { - "name": "text", - "optional": true, + "name": "messages", "type": { - "text": "string" + "text": "MessageContentI[]" } } ] @@ -23069,13 +22723,6 @@ "type": { "text": "MessageContentI[]" } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } } ], "inheritedFrom": { @@ -23095,7 +22742,7 @@ { "name": "result", "type": { - "text": "StabilityAITextToImageResult" + "text": "OpenAITextToSpeechResult" } } ], @@ -23106,75 +22753,19 @@ }, { "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, - "type": { - "text": "boolean" - } - } - ], - "type": { - "text": "ValidateInput" - }, - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } + "name": "model" }, { "kind": "field", - "name": "insertKeyPlaceholderText", - "type": { - "text": "string" - }, - "default": "'Stability AI API Key'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } + "name": "voice" }, { "kind": "field", - "name": "keyHelpUrl", + "name": "response_format", "type": { "text": "string" }, - "default": "'https://platform.stability.ai/docs/getting-started/authentication'", - "inheritedFrom": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" - } - }, - { - "kind": "field", - "name": "permittedErrorPrefixes", - "type": { - "text": "array" - }, - "default": "['Incorrect', 'invalid_']", - "inheritedFrom": { - "name": "StabilityAIIO", - "module": "src/services/stabilityAI/stabilityAIIO.ts" - } + "default": "'mp3'" }, { "kind": "field", @@ -23370,6 +22961,42 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "fileTypes", @@ -23632,225 +23259,31 @@ } ], "superclass": { - "name": "StabilityAIIO", - "module": "/src/services/stabilityAI/stabilityAIIO" + "name": "DirectServiceIO", + "module": "/src/services/utils/directServiceIO" } } ], "exports": [ { "kind": "js", - "name": "StabilityAIImageToImageIO", + "name": "OpenAITextToSpeechIO", "declaration": { - "name": "StabilityAIImageToImageIO", - "module": "src/services/stabilityAI/stabilityAIImageToImageIO.ts" + "name": "OpenAITextToSpeechIO", + "module": "src/services/openAI/openAITextToSpeechIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/stabilityAI/stabilityAIImageToImageMaskingIO.ts", + "path": "src/services/stabilityAI/stabilityAIIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "StabilityAIImageToImageMaskingIO", + "name": "StabilityAIIO", "members": [ - { - "kind": "field", - "name": "url", - "type": { - "text": "string" - }, - "default": "'https://api.stability.ai/v1/generation/stable-diffusion-xl-1024-v1-0/image-to-image/masking'" - }, - { - "kind": "field", - "name": "_imageWeight", - "type": { - "text": "number | undefined" - }, - "privacy": "private", - "readonly": true - }, - { - "kind": "field", - "name": "_maskSource", - "type": { - "text": "StabilityAIImageToImageMasking['mask_source']" - }, - "privacy": "private", - "readonly": true, - "default": "'MASK_IMAGE_WHITE'" - }, - { - "kind": "field", - "name": "textInputPlaceholderText", - "type": { - "text": "string" - }, - "default": "'Describe image changes'" - }, - { - "kind": "field", - "name": "introPanelMarkUp", - "default": "`\n
Stability AI
\n
Image to Image Masking
\n

Upload an image, its mask image to create a new one based on the changes you have described for the mask area.

\n

Click here for more info.

`" - }, - { - "kind": "method", - "name": "cleanConfig", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "config", - "type": { - "text": "StabilityAIImageToImageMasking" - } - } - ] - }, - { - "kind": "method", - "name": "canSendFileTextMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ] - }, - { - "kind": "method", - "name": "createFormDataBody", - "privacy": "private", - "parameters": [ - { - "name": "body", - "type": { - "text": "StabilityAIImageToImageMasking" - } - }, - { - "name": "image", - "type": { - "text": "File" - } - }, - { - "name": "mask", - "type": { - "text": "File" - } - }, - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - } - ] - }, - { - "kind": "method", - "name": "callServiceAPI", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "StabilityAITextToImageResult" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, - { - "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, - "type": { - "text": "boolean" - } - } - ], - "type": { - "text": "ValidateInput" - }, - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "insertKeyPlaceholderText", @@ -23881,11 +23314,7 @@ "type": { "text": "array" }, - "default": "['Incorrect', 'invalid_']", - "inheritedFrom": { - "name": "StabilityAIIO", - "module": "src/services/stabilityAI/stabilityAIIO.ts" - } + "default": "['Incorrect', 'invalid_']" }, { "kind": "field", @@ -24081,6 +23510,42 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", "name": "fileTypes", @@ -24310,6 +23775,35 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "method", + "name": "callServiceAPI", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "method", "name": "callAPI", @@ -24332,6 +23826,27 @@ "module": "src/services/utils/baseServiceIO.ts" } }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "any | Response" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "method", "name": "isWebModel", @@ -24343,30 +23858,30 @@ } ], "superclass": { - "name": "StabilityAIIO", - "module": "/src/services/stabilityAI/stabilityAIIO" + "name": "DirectServiceIO", + "module": "/src/services/utils/directServiceIO" } } ], "exports": [ { "kind": "js", - "name": "StabilityAIImageToImageMaskingIO", + "name": "StabilityAIIO", "declaration": { - "name": "StabilityAIImageToImageMaskingIO", - "module": "src/services/stabilityAI/stabilityAIImageToImageMaskingIO.ts" + "name": "StabilityAIIO", + "module": "src/services/stabilityAI/stabilityAIIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/stabilityAI/stabilityAIImageToImageUpscaleIO.ts", + "path": "src/services/stabilityAI/stabilityAIImageToImageIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "StabilityAIImageToImageUpscaleIO", + "name": "StabilityAIImageToImageIO", "members": [ { "kind": "field", @@ -24374,7 +23889,16 @@ "type": { "text": "string" }, - "default": "'https://api.stability.ai/v1/generation/esrgan-v1-x2plus/image-to-image/upscale'" + "default": "'https://api.stability.ai/v1/generation/stable-diffusion-v1-6/image-to-image'" + }, + { + "kind": "field", + "name": "_imageWeight", + "type": { + "text": "number | undefined" + }, + "privacy": "private", + "readonly": true }, { "kind": "field", @@ -24387,7 +23911,7 @@ { "kind": "field", "name": "introPanelMarkUp", - "default": "`\n
Stability AI
\n
Image to Image Upscale
\n

Upload an image to generate a new one with higher resolution.

\n

Click here for more info.

`" + "default": "`\n
Stability AI: Image to Image
\n

Upload an image to create a new one with the changes you have described.

\n

Click here for more info.

`" }, { "kind": "method", @@ -24398,19 +23922,19 @@ { "name": "config", "type": { - "text": "StabilityAIImageToImageUpscale" + "text": "StabilityAIImageToImage" } } ] }, { "kind": "method", - "name": "canSendFileMessage", + "name": "canSendFileTextMessage", "privacy": "private", "static": true, "parameters": [ { - "name": "_", + "name": "text", "optional": true, "type": { "text": "string" @@ -24433,7 +23957,7 @@ { "name": "body", "type": { - "text": "StabilityAIImageToImageUpscale" + "text": "StabilityAIImageToImage" } }, { @@ -24441,6 +23965,13 @@ "type": { "text": "File" } + }, + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } } ] }, @@ -24455,7 +23986,7 @@ } }, { - "name": "_", + "name": "pMessages", "type": { "text": "MessageContentI[]" } @@ -25030,22 +24561,22 @@ "exports": [ { "kind": "js", - "name": "StabilityAIImageToImageUpscaleIO", + "name": "StabilityAIImageToImageIO", "declaration": { - "name": "StabilityAIImageToImageUpscaleIO", - "module": "src/services/stabilityAI/stabilityAIImageToImageUpscaleIO.ts" + "name": "StabilityAIImageToImageIO", + "module": "src/services/stabilityAI/stabilityAIImageToImageIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/stabilityAI/stabilityAITextToImageIO.ts", + "path": "src/services/stabilityAI/stabilityAIImageToImageMaskingIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "StabilityAITextToImageIO", + "name": "StabilityAIImageToImageMaskingIO", "members": [ { "kind": "field", @@ -25053,7 +24584,7 @@ "type": { "text": "string" }, - "default": "'https://api.stability.ai/v1/generation/stable-diffusion-v1-6/text-to-image'" + "default": "'https://api.stability.ai/v1/generation/stable-diffusion-xl-1024-v1-0/image-to-image/masking'" }, { "kind": "field", @@ -25064,18 +24595,28 @@ "privacy": "private", "readonly": true }, + { + "kind": "field", + "name": "_maskSource", + "type": { + "text": "StabilityAIImageToImageMasking['mask_source']" + }, + "privacy": "private", + "readonly": true, + "default": "'MASK_IMAGE_WHITE'" + }, { "kind": "field", "name": "textInputPlaceholderText", "type": { "text": "string" }, - "default": "'Describe an image'" + "default": "'Describe image changes'" }, { "kind": "field", "name": "introPanelMarkUp", - "default": "`\n
Stability AI: Text to Image
\n

Insert text to generate an image.

\n

Click here for more info.

`" + "default": "`\n
Stability AI
\n
Image to Image Masking
\n

Upload an image, its mask image to create a new one based on the changes you have described for the mask area.

\n

Click here for more info.

`" }, { "kind": "method", @@ -25086,14 +24627,14 @@ { "name": "config", "type": { - "text": "StabilityAITextToImage" + "text": "StabilityAIImageToImageMasking" } } ] }, { "kind": "method", - "name": "canSendTextMessage", + "name": "canSendFileTextMessage", "privacy": "private", "static": true, "parameters": [ @@ -25103,22 +24644,41 @@ "type": { "text": "string" } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } } ] }, { "kind": "method", - "name": "preprocessBody", + "name": "createFormDataBody", "privacy": "private", "parameters": [ { "name": "body", "type": { - "text": "StabilityAITextToImage" + "text": "StabilityAIImageToImageMasking" } }, { - "name": "lastMessage", + "name": "image", + "type": { + "text": "File" + } + }, + { + "name": "mask", + "type": { + "text": "File" + } + }, + { + "name": "text", "optional": true, "type": { "text": "string" @@ -25141,6 +24701,13 @@ "type": { "text": "MessageContentI[]" } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } } ], "inheritedFrom": { @@ -25705,132 +25272,151 @@ "exports": [ { "kind": "js", - "name": "StabilityAITextToImageIO", + "name": "StabilityAIImageToImageMaskingIO", "declaration": { - "name": "StabilityAITextToImageIO", - "module": "src/services/stabilityAI/stabilityAITextToImageIO.ts" + "name": "StabilityAIImageToImageMaskingIO", + "module": "src/services/stabilityAI/stabilityAIImageToImageMaskingIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/utils/baseServiceIO.ts", + "path": "src/services/stabilityAI/stabilityAIImageToImageUpscaleIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "BaseServiceIO", + "name": "StabilityAIImageToImageUpscaleIO", "members": [ { "kind": "field", - "name": "rawBody", - "type": { - "text": "any" - }, - "readonly": true, - "default": "{}" - }, - { - "kind": "field", - "name": "deepChat", - "type": { - "text": "DeepChat" - }, - "default": "deepChat" - }, - { - "kind": "field", - "name": "validateKeyProperty", + "name": "url", "type": { - "text": "boolean" + "text": "string" }, - "default": "false" - }, - { - "kind": "field", - "name": "canSendMessage", - "type": { - "text": "ValidateInput" - } + "default": "'https://api.stability.ai/v1/generation/esrgan-v1-x2plus/image-to-image/upscale'" }, { "kind": "field", - "name": "connectSettings", + "name": "textInputPlaceholderText", "type": { - "text": "Connect" + "text": "string" }, - "default": "{}" + "default": "'Describe image changes'" }, { "kind": "field", - "name": "fileTypes", - "type": { - "text": "ServiceFileTypes" - }, - "default": "{}" + "name": "introPanelMarkUp", + "default": "`\n
Stability AI
\n
Image to Image Upscale
\n

Upload an image to generate a new one with higher resolution.

\n

Click here for more info.

`" }, { - "kind": "field", - "name": "camera", - "type": { - "text": "CameraFilesServiceConfig | undefined" - } + "kind": "method", + "name": "cleanConfig", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "config", + "type": { + "text": "StabilityAIImageToImageUpscale" + } + } + ] }, { - "kind": "field", - "name": "recordAudio", - "type": { - "text": "MicrophoneFilesServiceConfig | undefined" - } + "kind": "method", + "name": "canSendFileMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "_", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ] }, { - "kind": "field", - "name": "totalMessagesMaxCharLength", - "type": { - "text": "number | undefined" - } + "kind": "method", + "name": "createFormDataBody", + "privacy": "private", + "parameters": [ + { + "name": "body", + "type": { + "text": "StabilityAIImageToImageUpscale" + } + }, + { + "name": "image", + "type": { + "text": "File" + } + } + ] }, { - "kind": "field", - "name": "maxMessages", - "type": { - "text": "number | undefined" + "kind": "method", + "name": "callServiceAPI", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "_", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" } }, { - "kind": "field", - "name": "demo", - "type": { - "text": "DemoT | undefined" + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } }, - "default": "demo" - }, - { - "kind": "field", - "name": "stream", - "type": { - "text": "StreamI | undefined" + "parameters": [ + { + "name": "result", + "type": { + "text": "StabilityAITextToImageResult" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" } }, { "kind": "field", - "name": "completionsHandlers", - "type": { - "text": "CompletionsHandlers" - }, - "default": "{}" - }, - { - "kind": "field", - "name": "streamHandlers", - "type": { - "text": "StreamHandlers" - }, - "default": "{}" - }, - { - "kind": "method", "name": "canSendMessage", "privacy": "private", "static": true, @@ -25856,253 +25442,71 @@ "text": "boolean" } } - ] - }, - { - "kind": "method", - "name": "verifyKey", - "parameters": [ - { - "name": "_key", - "type": { - "text": "string" - } - }, - { - "name": "_keyVerificationHandlers", - "type": { - "text": "KeyVerificationHandlers" - } - } - ] - }, - { - "kind": "method", - "name": "createCustomFormDataBody", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "body", - "type": { - "text": "any" - } - }, - { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "files", - "type": { - "text": "File[]" - } - } - ] - }, - { - "kind": "method", - "name": "getServiceIOByType", - "privacy": "private", - "parameters": [ - { - "name": "file", - "type": { - "text": "File" - } - } - ] - }, - { - "kind": "method", - "name": "request", - "privacy": "private", - "parameters": [ - { - "name": "body", - "type": { - "text": "any" - } - }, - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "stringifyBody", - "default": "true" - } - ] - }, - { - "kind": "method", - "name": "callAPIWithText", - "privacy": "private", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - } - ] - }, - { - "kind": "method", - "name": "callApiWithFiles", - "privacy": "private", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "files", - "type": { - "text": "File[]" - } - } - ] - }, - { - "kind": "method", - "name": "callServiceAPI", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ] - }, - { - "kind": "method", - "name": "callAPI", - "parameters": [ - { - "name": "requestContents", - "type": { - "text": "RequestContents" - } - }, - { - "name": "messages", - "type": { - "text": "Messages" - } - } - ] - }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } + ], + "type": { + "text": "ValidateInput" }, - "parameters": [ - { - "name": "result", - "type": { - "text": "any | Response" - } - } - ] + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { - "kind": "method", - "name": "isDirectConnection", - "privacy": "public" + "kind": "field", + "name": "insertKeyPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Stability AI API Key'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, - { - "kind": "method", - "name": "isWebModel", - "privacy": "public" - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "BaseServiceIO", - "declaration": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/services/utils/directServiceIO.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "DirectServiceIO", - "members": [ { "kind": "field", - "name": "key", + "name": "keyHelpUrl", "type": { - "text": "string | undefined" + "text": "string" + }, + "default": "'https://platform.stability.ai/docs/getting-started/authentication'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" } }, { "kind": "field", - "name": "insertKeyPlaceholderText", + "name": "permittedErrorPrefixes", "type": { - "text": "string" + "text": "array" }, - "default": "'API Key'" + "default": "['Incorrect', 'invalid_']", + "inheritedFrom": { + "name": "StabilityAIIO", + "module": "src/services/stabilityAI/stabilityAIIO.ts" + } }, { "kind": "field", - "name": "keyHelpUrl", + "name": "key", "type": { - "text": "string" + "text": "string | undefined" }, - "default": "''" + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "field", "name": "sessionId", "type": { "text": "string | undefined" + }, + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" } }, { @@ -26113,7 +25517,11 @@ }, "privacy": "private", "readonly": true, - "default": "keyVerificationDetails" + "default": "keyVerificationDetails", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "field", @@ -26123,7 +25531,11 @@ }, "privacy": "private", "readonly": true, - "default": "buildHeadersFunc" + "default": "buildHeadersFunc", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "method", @@ -26136,7 +25548,11 @@ "text": "APIKey" } } - ] + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "method", @@ -26156,7 +25572,11 @@ "text": "Connect" } } - ] + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "method", @@ -26175,7 +25595,11 @@ "text": "string" } } - ] + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "method", @@ -26257,42 +25681,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "field", - "name": "canSendMessage", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, - "type": { - "text": "boolean" - } - } - ], - "type": { - "text": "ValidateInput" - }, - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "field", "name": "fileTypes", @@ -26522,35 +25910,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "method", - "name": "callServiceAPI", - "parameters": [ - { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "pMessages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "method", "name": "callAPI", @@ -26573,27 +25932,6 @@ "module": "src/services/utils/baseServiceIO.ts" } }, - { - "kind": "method", - "name": "extractResultData", - "return": { - "type": { - "text": "Promise" - } - }, - "parameters": [ - { - "name": "result", - "type": { - "text": "any | Response" - } - } - ], - "inheritedFrom": { - "name": "BaseServiceIO", - "module": "src/services/utils/baseServiceIO.ts" - } - }, { "kind": "method", "name": "isWebModel", @@ -26605,968 +25943,1678 @@ } ], "superclass": { - "name": "BaseServiceIO", - "module": "/src/services/utils/baseServiceIO" + "name": "StabilityAIIO", + "module": "/src/services/stabilityAI/stabilityAIIO" } } ], "exports": [ { "kind": "js", - "name": "DirectServiceIO", + "name": "StabilityAIImageToImageUpscaleIO", "declaration": { - "name": "DirectServiceIO", - "module": "src/services/utils/directServiceIO.ts" + "name": "StabilityAIImageToImageUpscaleIO", + "module": "src/services/stabilityAI/stabilityAIImageToImageUpscaleIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/utils/messageLimitUtils.ts", + "path": "src/services/stabilityAI/stabilityAITextToImageIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "MessageLimitUtils", + "name": "StabilityAITextToImageIO", "members": [ + { + "kind": "field", + "name": "url", + "type": { + "text": "string" + }, + "default": "'https://api.stability.ai/v1/generation/stable-diffusion-v1-6/text-to-image'" + }, + { + "kind": "field", + "name": "_imageWeight", + "type": { + "text": "number | undefined" + }, + "privacy": "private", + "readonly": true + }, + { + "kind": "field", + "name": "textInputPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Describe an image'" + }, + { + "kind": "field", + "name": "introPanelMarkUp", + "default": "`\n
Stability AI: Text to Image
\n

Insert text to generate an image.

\n

Click here for more info.

`" + }, { "kind": "method", - "name": "getCharacterLimitMessages", - "privacy": "public", + "name": "cleanConfig", + "privacy": "private", "static": true, "parameters": [ { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "limit", + "name": "config", "type": { - "text": "number" + "text": "StabilityAITextToImage" } } ] }, { "kind": "method", - "name": "getMaxMessages", + "name": "canSendTextMessage", "privacy": "private", "static": true, "parameters": [ { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "maxMessages", + "name": "text", + "optional": true, "type": { - "text": "number" + "text": "string" } } ] }, { "kind": "method", - "name": "processMessages", - "privacy": "public", - "static": true, + "name": "preprocessBody", + "privacy": "private", "parameters": [ { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "maxMessages", - "optional": true, + "name": "body", "type": { - "text": "number" + "text": "StabilityAITextToImage" } }, { - "name": "totalMessagesMaxCharLength", + "name": "lastMessage", "optional": true, "type": { - "text": "number" + "text": "string" } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "MessageLimitUtils", - "declaration": { - "name": "MessageLimitUtils", - "module": "src/services/utils/messageLimitUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/services/utils/setFileTypes.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "SetFileTypes", - "members": [ + }, { "kind": "method", - "name": "parseConfig", - "privacy": "private", - "static": true, + "name": "callServiceAPI", "parameters": [ { - "name": "connectSettings", + "name": "messages", "type": { - "text": "Connect" + "text": "Messages" } }, { - "name": "defFiles", + "name": "pMessages", "type": { - "text": "FileAttachments" + "text": "MessageContentI[]" } - }, - { - "name": "remark", - "type": { - "text": "Remarkable" - } - }, + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ { - "name": "fileType", - "optional": true, + "name": "result", "type": { - "text": "boolean | FilesServiceConfig" + "text": "StabilityAITextToImageResult" } } - ] + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { - "kind": "method", - "name": "processMixedFiles", + "kind": "field", + "name": "canSendMessage", "privacy": "private", "static": true, "parameters": [ { - "name": "serviceIO", + "name": "text", + "optional": true, "type": { - "text": "ServiceIO" + "text": "string" } }, { - "name": "remark", + "name": "files", + "optional": true, "type": { - "text": "Remarkable" + "text": "File[]" } }, { - "name": "mixedFiles", + "name": "isProgrammatic", + "optional": true, "type": { - "text": "DeepChat['mixedFiles']" + "text": "boolean" } } - ] + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "insertKeyPlaceholderText", + "type": { + "text": "string" + }, + "default": "'Stability AI API Key'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyHelpUrl", + "type": { + "text": "string" + }, + "default": "'https://platform.stability.ai/docs/getting-started/authentication'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "permittedErrorPrefixes", + "type": { + "text": "array" + }, + "default": "['Incorrect', 'invalid_']", + "inheritedFrom": { + "name": "StabilityAIIO", + "module": "src/services/stabilityAI/stabilityAIIO.ts" + } + }, + { + "kind": "field", + "name": "key", + "type": { + "text": "string | undefined" + }, + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "sessionId", + "type": { + "text": "string | undefined" + }, + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyVerificationDetails", + "type": { + "text": "KeyVerificationDetails" + }, + "privacy": "private", + "readonly": true, + "default": "keyVerificationDetails", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "buildHeadersFunc", + "type": { + "text": "BuildHeadersFunc" + }, + "privacy": "private", + "readonly": true, + "default": "buildHeadersFunc", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "method", - "name": "processMicrophone", + "name": "setApiKeyProperties", "privacy": "private", - "static": true, "parameters": [ { - "name": "serviceIO", - "type": { - "text": "ServiceIO" - } - }, - { - "name": "remark", + "name": "apiKey", "type": { - "text": "Remarkable" + "text": "APIKey" } - }, + } + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "method", + "name": "buildConnectSettings", + "privacy": "private", + "parameters": [ { - "name": "microphone", + "name": "key", "type": { - "text": "DeepChat['microphone']" + "text": "string" } }, { - "name": "audio", + "name": "connectSettings", + "optional": true, "type": { - "text": "DeepChat['audio']" + "text": "Connect" } } - ] + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } }, { "kind": "method", - "name": "processAudioConfig", + "name": "keyAuthenticated", "privacy": "private", - "static": true, "parameters": [ { - "name": "serviceIO", + "name": "onSuccess", "type": { - "text": "ServiceIO" + "text": "() => void" } }, { - "name": "remark", + "name": "key", "type": { - "text": "Remarkable" + "text": "string" } - }, + } + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "method", + "name": "verifyKey", + "parameters": [ { - "name": "audio", + "name": "key", "type": { - "text": "DeepChat['audio']" + "text": "string" } }, { - "name": "fileIO", - "optional": true, + "name": "keyVerificationHandlers", "type": { - "text": "FileServiceIO" + "text": "KeyVerificationHandlers" } } - ] + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { "kind": "method", - "name": "processGifConfig", + "name": "isDirectConnection", + "privacy": "public", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "connectSettings", + "type": { + "text": "Connect" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "rawBody", + "type": { + "text": "any" + }, + "readonly": true, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "deepChat", + "type": { + "text": "DeepChat" + }, + "default": "deepChat", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "validateKeyProperty", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "fileTypes", + "type": { + "text": "ServiceFileTypes" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "camera", + "type": { + "text": "CameraFilesServiceConfig | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "recordAudio", + "type": { + "text": "MicrophoneFilesServiceConfig | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "totalMessagesMaxCharLength", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "demo", + "type": { + "text": "DemoT | undefined" + }, + "default": "demo", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "stream", + "type": { + "text": "StreamI | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "completionsHandlers", + "type": { + "text": "CompletionsHandlers" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "streamHandlers", + "type": { + "text": "StreamHandlers" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "createCustomFormDataBody", "privacy": "private", "static": true, "parameters": [ { - "name": "serviceIO", + "name": "body", "type": { - "text": "ServiceIO" + "text": "any" } }, { - "name": "remark", + "name": "messages", "type": { - "text": "Remarkable" + "text": "MessageContentI[]" } }, { - "name": "gifs", + "name": "files", "type": { - "text": "DeepChat['gifs']" + "text": "File[]" } - }, + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "getServiceIOByType", + "privacy": "private", + "parameters": [ { - "name": "fileIO", - "optional": true, + "name": "file", "type": { - "text": "FileServiceIO" + "text": "File" } } - ] + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { "kind": "method", - "name": "processCamera", + "name": "request", "privacy": "private", - "static": true, "parameters": [ { - "name": "serviceIO", + "name": "body", "type": { - "text": "ServiceIO" + "text": "any" } }, { - "name": "remark", + "name": "messages", "type": { - "text": "Remarkable" + "text": "Messages" } }, { - "name": "camera", + "name": "stringifyBody", + "default": "true" + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "callAPIWithText", + "privacy": "private", + "parameters": [ + { + "name": "messages", "type": { - "text": "DeepChat['camera']" + "text": "Messages" } }, { - "name": "images", - "optional": true, + "name": "pMessages", "type": { - "text": "DeepChat['images']" + "text": "MessageContentI[]" } } - ] + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { "kind": "method", - "name": "processImagesConfig", + "name": "callApiWithFiles", "privacy": "private", - "static": true, "parameters": [ { - "name": "serviceIO", - "type": { - "text": "ServiceIO" - } - }, - { - "name": "remark", + "name": "messages", "type": { - "text": "Remarkable" + "text": "Messages" } }, { - "name": "images", + "name": "pMessages", "type": { - "text": "DeepChat['images']" + "text": "MessageContentI[]" } }, { - "name": "fileIO", - "optional": true, + "name": "files", "type": { - "text": "FileServiceIO" + "text": "File[]" } } - ] + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { "kind": "method", - "name": "populateDefaultFileIO", - "privacy": "private", - "static": true, + "name": "callAPI", "parameters": [ { - "name": "fileIO", + "name": "requestContents", "type": { - "text": "FileServiceIO | undefined" + "text": "RequestContents" } }, { - "name": "acceptedFormats", + "name": "messages", "type": { - "text": "string" + "text": "Messages" } } - ] + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { "kind": "method", - "name": "set", + "name": "isWebModel", "privacy": "public", - "static": true, - "parameters": [ - { - "name": "deepChat", - "type": { - "text": "DeepChat" - } - }, - { - "name": "serviceIO", - "type": { - "text": "ServiceIO" - } - }, - { - "name": "existingFileTypes", - "optional": true, - "type": { - "text": "ServiceFileTypes" - } - } - ] + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } } - ] + ], + "superclass": { + "name": "StabilityAIIO", + "module": "/src/services/stabilityAI/stabilityAIIO" + } } ], "exports": [ { "kind": "js", - "name": "SetFileTypes", + "name": "StabilityAITextToImageIO", "declaration": { - "name": "SetFileTypes", - "module": "src/services/utils/setFileTypes.ts" + "name": "StabilityAITextToImageIO", + "module": "src/services/stabilityAI/stabilityAITextToImageIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/chatView.ts", + "path": "src/services/utils/baseServiceIO.ts", "declarations": [ { "kind": "class", "description": "", - "name": "ChatView", + "name": "BaseServiceIO", "members": [ + { + "kind": "field", + "name": "rawBody", + "type": { + "text": "any" + }, + "readonly": true, + "default": "{}" + }, + { + "kind": "field", + "name": "deepChat", + "type": { + "text": "DeepChat" + }, + "default": "deepChat" + }, + { + "kind": "field", + "name": "validateKeyProperty", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "canSendMessage", + "type": { + "text": "ValidateInput" + } + }, + { + "kind": "field", + "name": "connectSettings", + "type": { + "text": "Connect" + }, + "default": "{}" + }, + { + "kind": "field", + "name": "fileTypes", + "type": { + "text": "ServiceFileTypes" + }, + "default": "{}" + }, + { + "kind": "field", + "name": "camera", + "type": { + "text": "CameraFilesServiceConfig | undefined" + } + }, + { + "kind": "field", + "name": "recordAudio", + "type": { + "text": "MicrophoneFilesServiceConfig | undefined" + } + }, + { + "kind": "field", + "name": "totalMessagesMaxCharLength", + "type": { + "text": "number | undefined" + } + }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + } + }, + { + "kind": "field", + "name": "demo", + "type": { + "text": "DemoT | undefined" + }, + "default": "demo" + }, + { + "kind": "field", + "name": "stream", + "type": { + "text": "StreamI | undefined" + } + }, + { + "kind": "field", + "name": "completionsHandlers", + "type": { + "text": "CompletionsHandlers" + }, + "default": "{}" + }, + { + "kind": "field", + "name": "streamHandlers", + "type": { + "text": "StreamHandlers" + }, + "default": "{}" + }, { "kind": "method", - "name": "createElements", + "name": "canSendMessage", "privacy": "private", "static": true, "parameters": [ { - "name": "deepChat", + "name": "text", + "optional": true, "type": { - "text": "DeepChat" + "text": "string" } }, { - "name": "serviceIO", + "name": "files", + "optional": true, "type": { - "text": "ServiceIO" + "text": "File[]" } }, { - "name": "panel", + "name": "isProgrammatic", "optional": true, "type": { - "text": "HTMLElement" + "text": "boolean" } } ] }, { "kind": "method", - "name": "render", - "privacy": "public", - "static": true, + "name": "verifyKey", "parameters": [ { - "name": "deepChat", - "type": { - "text": "DeepChat" - } - }, - { - "name": "containerRef", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "serviceIO", + "name": "_key", "type": { - "text": "ServiceIO" + "text": "string" } }, { - "name": "panel", - "optional": true, + "name": "_keyVerificationHandlers", "type": { - "text": "HTMLElement" + "text": "KeyVerificationHandlers" } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "ChatView", - "declaration": { - "name": "ChatView", - "module": "src/views/chat/chatView.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/error/errorView.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "ErrorView", - "members": [ + }, { "kind": "method", - "name": "render", - "privacy": "public", + "name": "createCustomFormDataBody", + "privacy": "private", "static": true, "parameters": [ { - "name": "containerElement", + "name": "body", "type": { - "text": "HTMLElement" + "text": "any" } }, { - "name": "text", + "name": "messages", "type": { - "text": "string" + "text": "MessageContentI[]" } - } - ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "ErrorView", - "declaration": { - "name": "ErrorView", - "module": "src/views/error/errorView.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/insertKey/insertKeyView.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "InsertKeyView", - "members": [ - { - "kind": "method", - "name": "createCautionText", - "privacy": "private", - "static": true - }, - { - "kind": "method", - "name": "createHelpLink", - "privacy": "private", - "static": true, - "parameters": [ + }, { - "name": "keyHelpUrl", + "name": "files", "type": { - "text": "string" + "text": "File[]" } } ] }, { "kind": "method", - "name": "createFailText", - "privacy": "private", - "static": true - }, - { - "kind": "method", - "name": "createHelpTextContainer", + "name": "getServiceIOByType", "privacy": "private", - "static": true, "parameters": [ { - "name": "keyHelpUrl", - "optional": true, + "name": "file", "type": { - "text": "string" + "text": "File" } - }, - { - "name": "displayCaution", - "default": "true" } ] }, { "kind": "method", - "name": "onFail", + "name": "request", "privacy": "private", - "static": true, "parameters": [ { - "name": "inputEl", - "type": { - "text": "HTMLInputElement" - } - }, - { - "name": "startEl", + "name": "body", "type": { - "text": "HTMLElement" + "text": "any" } }, { - "name": "failTextEl", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "Messages" } }, { - "name": "message", - "type": { - "text": "string" - } + "name": "stringifyBody", + "default": "true" } ] }, { "kind": "method", - "name": "onLoad", + "name": "callAPIWithText", "privacy": "private", - "static": true, "parameters": [ { - "name": "inputEl", + "name": "messages", "type": { - "text": "HTMLInputElement" + "text": "Messages" } }, { - "name": "startEl", + "name": "pMessages", "type": { - "text": "HTMLElement" + "text": "MessageContentI[]" } } ] }, { "kind": "method", - "name": "verifyKey", + "name": "callApiWithFiles", "privacy": "private", - "static": true, "parameters": [ { - "name": "inputElement", + "name": "messages", "type": { - "text": "HTMLInputElement" + "text": "Messages" } }, { - "name": "keyVerificationHandlers", + "name": "pMessages", "type": { - "text": "KeyVerificationHandlers" + "text": "MessageContentI[]" } }, { - "name": "serviceIO", + "name": "files", "type": { - "text": "ServiceIO" + "text": "File[]" } } ] }, { "kind": "method", - "name": "addVerificationEvents", - "privacy": "private", - "static": true, + "name": "callServiceAPI", "parameters": [ { - "name": "inputEl", + "name": "messages", "type": { - "text": "HTMLInputElement" + "text": "Messages" } }, { - "name": "startEl", + "name": "pMessages", "type": { - "text": "HTMLElement" + "text": "MessageContentI[]" } }, { - "name": "failTextEl", + "name": "files", + "optional": true, "type": { - "text": "HTMLElement" + "text": "File[]" } - }, + } + ] + }, + { + "kind": "method", + "name": "callAPI", + "parameters": [ { - "name": "changeToChat", + "name": "requestContents", "type": { - "text": "() => void" + "text": "RequestContents" } }, { - "name": "serviceIO", + "name": "messages", "type": { - "text": "ServiceIO" + "text": "Messages" } } ] }, { "kind": "method", - "name": "createStartButton", - "privacy": "private", - "static": true - }, - { - "kind": "method", - "name": "onInputFocus", - "privacy": "private", - "static": true, + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, "parameters": [ { - "name": "event", + "name": "result", "type": { - "text": "FocusEvent" + "text": "any | Response" } } ] }, { "kind": "method", - "name": "createInput", + "name": "isDirectConnection", + "privacy": "public" + }, + { + "kind": "method", + "name": "isWebModel", + "privacy": "public" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "BaseServiceIO", + "declaration": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/utils/directServiceIO.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "DirectServiceIO", + "members": [ + { + "kind": "field", + "name": "key", + "type": { + "text": "string | undefined" + } + }, + { + "kind": "field", + "name": "insertKeyPlaceholderText", + "type": { + "text": "string" + }, + "default": "'API Key'" + }, + { + "kind": "field", + "name": "keyHelpUrl", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "sessionId", + "type": { + "text": "string | undefined" + } + }, + { + "kind": "field", + "name": "keyVerificationDetails", + "type": { + "text": "KeyVerificationDetails" + }, + "privacy": "private", + "readonly": true, + "default": "keyVerificationDetails" + }, + { + "kind": "field", + "name": "buildHeadersFunc", + "type": { + "text": "BuildHeadersFunc" + }, + "privacy": "private", + "readonly": true, + "default": "buildHeadersFunc" + }, + { + "kind": "method", + "name": "setApiKeyProperties", "privacy": "private", - "static": true, "parameters": [ { - "name": "placeholderText", - "optional": true, + "name": "apiKey", "type": { - "text": "string" + "text": "APIKey" } } ] }, { "kind": "method", - "name": "createContents", + "name": "buildConnectSettings", "privacy": "private", - "static": true, "parameters": [ { - "name": "changeToChat", + "name": "key", "type": { - "text": "() => void" + "text": "string" } }, { - "name": "serviceIO", + "name": "connectSettings", + "optional": true, "type": { - "text": "ServiceIO" + "text": "Connect" } } ] }, { "kind": "method", - "name": "createElements", + "name": "keyAuthenticated", "privacy": "private", - "static": true, "parameters": [ { - "name": "changeToChat", + "name": "onSuccess", "type": { "text": "() => void" } }, { - "name": "serviceIO", + "name": "key", "type": { - "text": "ServiceIO" + "text": "string" } } ] }, { "kind": "method", - "name": "render", - "privacy": "public", - "static": true, + "name": "verifyKey", "parameters": [ { - "name": "containerRef", + "name": "key", "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "changeToChat", + "name": "keyVerificationHandlers", "type": { - "text": "() => void" + "text": "KeyVerificationHandlers" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "isDirectConnection", + "privacy": "public", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "connectSettings", + "type": { + "text": "Connect" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "rawBody", + "type": { + "text": "any" + }, + "readonly": true, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "deepChat", + "type": { + "text": "DeepChat" + }, + "default": "deepChat", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "validateKeyProperty", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" } }, { - "name": "serviceIO", + "name": "files", + "optional": true, "type": { - "text": "ServiceIO" + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" } } - ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "InsertKeyView", - "declaration": { - "name": "InsertKeyView", - "module": "src/views/insertKey/insertKeyView.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/insertKey/visibilityIcon.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "VisibilityIcon", - "members": [ + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, { "kind": "field", - "name": "VISIBLE_ICON_ID", + "name": "fileTypes", "type": { - "text": "string" + "text": "ServiceFileTypes" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "camera", + "type": { + "text": "CameraFilesServiceConfig | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "recordAudio", + "type": { + "text": "MicrophoneFilesServiceConfig | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "totalMessagesMaxCharLength", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "demo", + "type": { + "text": "DemoT | undefined" + }, + "default": "demo", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "stream", + "type": { + "text": "StreamI | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "completionsHandlers", + "type": { + "text": "CompletionsHandlers" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "streamHandlers", + "type": { + "text": "StreamHandlers" }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "createCustomFormDataBody", "privacy": "private", "static": true, - "readonly": true, - "default": "'visible-icon'" + "parameters": [ + { + "name": "body", + "type": { + "text": "any" + } + }, + { + "name": "messages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { "kind": "method", - "name": "changeVisibility", + "name": "getServiceIOByType", "privacy": "private", - "static": true, "parameters": [ { - "name": "inputElement", + "name": "file", "type": { - "text": "HTMLInputElement" + "text": "File" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "request", + "privacy": "private", + "parameters": [ + { + "name": "body", + "type": { + "text": "any" } }, { - "name": "visibleIcon", + "name": "messages", "type": { - "text": "SVGGraphicsElement" + "text": "Messages" } }, { - "name": "notVisibleIcon", + "name": "stringifyBody", + "default": "true" + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "callAPIWithText", + "privacy": "private", + "parameters": [ + { + "name": "messages", "type": { - "text": "SVGGraphicsElement" + "text": "Messages" } }, { - "name": "event", + "name": "pMessages", "type": { - "text": "MouseEvent" + "text": "MessageContentI[]" } } - ] + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { "kind": "method", - "name": "createIconElement", + "name": "callApiWithFiles", "privacy": "private", - "static": true, "parameters": [ { - "name": "iconString", + "name": "messages", "type": { - "text": "string" + "text": "Messages" } }, { - "name": "id", + "name": "pMessages", "type": { - "text": "string" + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "type": { + "text": "File[]" } } - ] + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } }, { "kind": "method", - "name": "create", - "privacy": "public", - "static": true, + "name": "callServiceAPI", "parameters": [ { - "name": "inputElement", + "name": "messages", "type": { - "text": "HTMLInputElement" + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" } } - ] + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "callAPI", + "parameters": [ + { + "name": "requestContents", + "type": { + "text": "RequestContents" + } + }, + { + "name": "messages", + "type": { + "text": "Messages" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "any | Response" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "isWebModel", + "privacy": "public", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } } - ] + ], + "superclass": { + "name": "BaseServiceIO", + "module": "/src/services/utils/baseServiceIO" + } } ], "exports": [ { "kind": "js", - "name": "VisibilityIcon", + "name": "DirectServiceIO", "declaration": { - "name": "VisibilityIcon", - "module": "src/views/insertKey/visibilityIcon.ts" + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/validateKeyProperty/validateKeyPropertyView.ts", + "path": "src/services/utils/messageLimitUtils.ts", "declarations": [ { "kind": "class", "description": "", - "name": "ValidateKeyPropertyView", + "name": "MessageLimitUtils", "members": [ { "kind": "method", - "name": "onLoad", - "privacy": "private", + "name": "getCharacterLimitMessages", + "privacy": "public", "static": true, "parameters": [ { - "name": "startElement", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "MessageContentI[]" + } + }, + { + "name": "limit", + "type": { + "text": "number" } } ] }, { "kind": "method", - "name": "createElements", + "name": "getMaxMessages", "privacy": "private", - "static": true + "static": true, + "parameters": [ + { + "name": "messages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "maxMessages", + "type": { + "text": "number" + } + } + ] }, { "kind": "method", - "name": "render", + "name": "processMessages", "privacy": "public", "static": true, "parameters": [ { - "name": "containerRef", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "MessageContentI[]" } }, { - "name": "changeToChat", + "name": "maxMessages", + "optional": true, "type": { - "text": "() => void" + "text": "number" } }, { - "name": "serviceIO", + "name": "totalMessagesMaxCharLength", + "optional": true, "type": { - "text": "ServiceIO" + "text": "number" } } ] @@ -27577,298 +27625,292 @@ "exports": [ { "kind": "js", - "name": "ValidateKeyPropertyView", + "name": "MessageLimitUtils", "declaration": { - "name": "ValidateKeyPropertyView", - "module": "src/views/validateKeyProperty/validateKeyPropertyView.ts" + "name": "MessageLimitUtils", + "module": "src/services/utils/messageLimitUtils.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/HTTP/HTTPRequest.ts", + "path": "src/services/utils/setFileTypes.ts", "declarations": [ { "kind": "class", "description": "", - "name": "HTTPRequest", + "name": "SetFileTypes", "members": [ { "kind": "method", - "name": "request", - "privacy": "public", + "name": "parseConfig", + "privacy": "private", "static": true, "parameters": [ { - "name": "io", + "name": "connectSettings", "type": { - "text": "ServiceIO" + "text": "Connect" } }, { - "name": "body", + "name": "defFiles", "type": { - "text": "object" + "text": "FileAttachments" } }, { - "name": "messages", + "name": "remark", "type": { - "text": "Messages" + "text": "Remarkable" } }, { - "name": "stringifyBody", - "default": "true" + "name": "fileType", + "optional": true, + "type": { + "text": "boolean | FilesServiceConfig" + } } ] }, { "kind": "method", - "name": "executePollRequest", - "privacy": "public", - "static": true, + "name": "processMixedFiles", + "privacy": "private", + "static": true, "parameters": [ { - "name": "io", + "name": "serviceIO", "type": { "text": "ServiceIO" } }, { - "name": "url", - "type": { - "text": "string" - } - }, - { - "name": "requestInit", + "name": "remark", "type": { - "text": "RequestInit" + "text": "Remarkable" } }, { - "name": "messages", + "name": "mixedFiles", "type": { - "text": "Messages" + "text": "DeepChat['mixedFiles']" } } ] }, { "kind": "method", - "name": "poll", - "privacy": "public", + "name": "processMicrophone", + "privacy": "private", "static": true, "parameters": [ { - "name": "io", + "name": "serviceIO", "type": { "text": "ServiceIO" } }, { - "name": "body", + "name": "remark", "type": { - "text": "object" + "text": "Remarkable" } }, { - "name": "messages", + "name": "microphone", "type": { - "text": "Messages" + "text": "DeepChat['microphone']" } }, { - "name": "stringifyBody", - "default": "true" + "name": "audio", + "type": { + "text": "DeepChat['audio']" + } } ] }, { "kind": "method", - "name": "verifyKey", - "privacy": "public", + "name": "processAudioConfig", + "privacy": "private", "static": true, "parameters": [ { - "name": "key", - "type": { - "text": "string" - } - }, - { - "name": "url", + "name": "serviceIO", "type": { - "text": "string" + "text": "ServiceIO" } }, { - "name": "headers", + "name": "remark", "type": { - "text": "HeadersInit" + "text": "Remarkable" } }, { - "name": "method", + "name": "audio", "type": { - "text": "string" + "text": "DeepChat['audio']" } }, { - "name": "onSuccess", + "name": "fileIO", + "optional": true, "type": { - "text": "(key: string) => void" + "text": "FileServiceIO" } - }, + } + ] + }, + { + "kind": "method", + "name": "processGifConfig", + "privacy": "private", + "static": true, + "parameters": [ { - "name": "onFail", + "name": "serviceIO", "type": { - "text": "(message: string) => void" + "text": "ServiceIO" } }, { - "name": "onLoad", + "name": "remark", "type": { - "text": "() => void" + "text": "Remarkable" } }, { - "name": "handleVerificationResult", + "name": "gifs", "type": { - "text": "HandleVerificationResult" + "text": "DeepChat['gifs']" } }, { - "name": "body", + "name": "fileIO", "optional": true, "type": { - "text": "string" + "text": "FileServiceIO" } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "HTTPRequest", - "declaration": { - "name": "HTTPRequest", - "module": "src/utils/HTTP/HTTPRequest.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/utils/HTTP/customHandler.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "CustomHandler", - "members": [ + }, { "kind": "method", - "name": "request", - "privacy": "public", + "name": "processCamera", + "privacy": "private", "static": true, "parameters": [ { - "name": "io", + "name": "serviceIO", "type": { "text": "ServiceIO" } }, { - "name": "body", + "name": "remark", "type": { - "text": "RequestDetails['body']" + "text": "Remarkable" } }, { - "name": "messages", + "name": "camera", "type": { - "text": "Messages" + "text": "DeepChat['camera']" + } + }, + { + "name": "images", + "optional": true, + "type": { + "text": "DeepChat['images']" } } ] }, { "kind": "method", - "name": "attemptToFinaliseStream", + "name": "processImagesConfig", "privacy": "private", "static": true, "parameters": [ { - "name": "stream", + "name": "serviceIO", "type": { - "text": "MessageStream" + "text": "ServiceIO" } }, { - "name": "messages", + "name": "remark", "type": { - "text": "Messages" + "text": "Remarkable" + } + }, + { + "name": "images", + "type": { + "text": "DeepChat['images']" + } + }, + { + "name": "fileIO", + "optional": true, + "type": { + "text": "FileServiceIO" } } ] }, { "kind": "method", - "name": "stream", - "privacy": "public", + "name": "populateDefaultFileIO", + "privacy": "private", "static": true, "parameters": [ { - "name": "io", - "type": { - "text": "ServiceIO" - } - }, - { - "name": "body", + "name": "fileIO", "type": { - "text": "RequestDetails['body']" + "text": "FileServiceIO | undefined" } }, { - "name": "messages", + "name": "acceptedFormats", "type": { - "text": "Messages" + "text": "string" } } ] }, { "kind": "method", - "name": "websocket", + "name": "set", "privacy": "public", "static": true, "parameters": [ { - "name": "io", + "name": "deepChat", + "type": { + "text": "DeepChat" + } + }, + { + "name": "serviceIO", "type": { "text": "ServiceIO" } }, { - "name": "messages", + "name": "existingFileTypes", + "optional": true, "type": { - "text": "Messages" + "text": "ServiceFileTypes" } } ] - }, - { - "kind": "method", - "name": "generateOptionalSignals", - "privacy": "private", - "static": true } ] } @@ -27876,408 +27918,407 @@ "exports": [ { "kind": "js", - "name": "CustomHandler", + "name": "SetFileTypes", "declaration": { - "name": "CustomHandler", - "module": "src/utils/HTTP/customHandler.ts" + "name": "SetFileTypes", + "module": "src/services/utils/setFileTypes.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/HTTP/requestUtils.ts", + "path": "src/views/chat/chatView.ts", "declarations": [ { "kind": "class", "description": "", - "name": "RequestUtils", + "name": "ChatView", "members": [ - { - "kind": "field", - "name": "CONTENT_TYPE", - "type": { - "text": "string" - }, - "privacy": "public", - "static": true, - "readonly": true, - "default": "'Content-Type'" - }, { "kind": "method", - "name": "tempRemoveContentHeader", - "privacy": "public", + "name": "createElements", + "privacy": "private", "static": true, "parameters": [ { - "name": "connectSettings", + "name": "deepChat", "type": { - "text": "Connect | undefined" + "text": "DeepChat" } }, { - "name": "request", + "name": "serviceIO", "type": { - "text": "(stringifyBody?: boolean) => Promise" + "text": "ServiceIO" } }, { - "name": "stringifyBody", + "name": "panel", + "optional": true, "type": { - "text": "boolean" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "displayError", + "name": "render", "privacy": "public", "static": true, "parameters": [ { - "name": "messages", + "name": "deepChat", "type": { - "text": "Messages" + "text": "DeepChat" } }, { - "name": "err", + "name": "containerRef", "type": { - "text": "ErrorResp" + "text": "HTMLElement" } }, { - "name": "defMessage", - "default": "'Service error, please try again.'" - } - ] - }, - { - "kind": "method", - "name": "fetch", - "privacy": "public", - "static": true, - "parameters": [ - { - "name": "io", + "name": "serviceIO", "type": { "text": "ServiceIO" } }, { - "name": "headers", + "name": "panel", + "optional": true, "type": { - "text": "GenericObject | undefined" + "text": "HTMLElement" } - }, + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "ChatView", + "declaration": { + "name": "ChatView", + "module": "src/views/chat/chatView.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/error/errorView.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "ErrorView", + "members": [ + { + "kind": "method", + "name": "render", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "stringifyBody", + "name": "containerElement", "type": { - "text": "boolean" + "text": "HTMLElement" } }, { - "name": "body", + "name": "text", "type": { - "text": "any" + "text": "string" } } ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "ErrorView", + "declaration": { + "name": "ErrorView", + "module": "src/views/error/errorView.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/insertKey/insertKeyView.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "InsertKeyView", + "members": [ + { + "kind": "method", + "name": "createCautionText", + "privacy": "private", + "static": true }, { "kind": "method", - "name": "processResponseByType", - "privacy": "public", + "name": "createHelpLink", + "privacy": "private", "static": true, "parameters": [ { - "name": "response", + "name": "keyHelpUrl", "type": { - "text": "Response" + "text": "string" } } ] }, { "kind": "method", - "name": "processRequestInterceptor", - "privacy": "public", + "name": "createFailText", + "privacy": "private", + "static": true + }, + { + "kind": "method", + "name": "createHelpTextContainer", + "privacy": "private", "static": true, - "return": { - "type": { - "text": "InterceptorResultP" - } - }, "parameters": [ { - "name": "deepChat", + "name": "keyHelpUrl", + "optional": true, "type": { - "text": "DeepChat" + "text": "string" } }, { - "name": "requestDetails", - "type": { - "text": "RequestDetails" - } + "name": "displayCaution", + "default": "true" } ] }, { "kind": "method", - "name": "validateResponseFormat", - "privacy": "public", + "name": "onFail", + "privacy": "private", "static": true, "parameters": [ { - "name": "response", + "name": "inputEl", "type": { - "text": "ResponseI" + "text": "HTMLInputElement" } - } - ] - }, - { - "kind": "method", - "name": "onInterceptorError", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "messages", + "name": "startEl", "type": { - "text": "Messages" + "text": "HTMLElement" } }, { - "name": "error", + "name": "failTextEl", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "onFinish", - "optional": true, + "name": "message", "type": { - "text": "() => void" + "text": "string" } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "RequestUtils", - "declaration": { - "name": "RequestUtils", - "module": "src/utils/HTTP/requestUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/utils/HTTP/stream.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "Stream", - "members": [ + }, { "kind": "method", - "name": "request", - "privacy": "public", + "name": "onLoad", + "privacy": "private", "static": true, "parameters": [ { - "name": "io", - "type": { - "text": "ServiceIO" - } - }, - { - "name": "body", + "name": "inputEl", "type": { - "text": "object" + "text": "HTMLInputElement" } }, { - "name": "messages", + "name": "startEl", "type": { - "text": "Messages" + "text": "HTMLElement" } - }, - { - "name": "stringifyBody", - "default": "true" - }, - { - "name": "canBeEmpty", - "default": "false" } ] }, { "kind": "method", - "name": "simulate", - "privacy": "public", + "name": "verifyKey", + "privacy": "private", "static": true, "parameters": [ { - "name": "messages", + "name": "inputElement", "type": { - "text": "Messages" + "text": "HTMLInputElement" } }, { - "name": "sh", + "name": "keyVerificationHandlers", "type": { - "text": "StreamHandlers" + "text": "KeyVerificationHandlers" } }, { - "name": "result", + "name": "serviceIO", "type": { - "text": "ResponseI" + "text": "ServiceIO" } } ] }, { "kind": "method", - "name": "populateMessages", + "name": "addVerificationEvents", "privacy": "private", "static": true, "parameters": [ { - "name": "responseStrings", + "name": "inputEl", "type": { - "text": "string[]" + "text": "HTMLInputElement" } }, { - "name": "stream", + "name": "startEl", "type": { - "text": "MessageStream" + "text": "HTMLElement" } }, { - "name": "sh", + "name": "failTextEl", "type": { - "text": "SimulationSH" + "text": "HTMLElement" } }, { - "name": "type", + "name": "changeToChat", "type": { - "text": "'text'|'html'" + "text": "() => void" } }, { - "name": "charIndex", - "default": "0" + "name": "serviceIO", + "type": { + "text": "ServiceIO" + } } ] }, { "kind": "method", - "name": "isSimulation", - "privacy": "public", + "name": "createStartButton", + "privacy": "private", + "static": true + }, + { + "kind": "method", + "name": "onInputFocus", + "privacy": "private", "static": true, "parameters": [ { - "name": "stream", - "optional": true, + "name": "event", "type": { - "text": "StreamI" + "text": "FocusEvent" } } ] }, { "kind": "method", - "name": "isSimulatable", - "privacy": "public", + "name": "createInput", + "privacy": "private", "static": true, "parameters": [ { - "name": "stream", - "optional": true, - "type": { - "text": "StreamI" - } - }, - { - "name": "respone", + "name": "placeholderText", "optional": true, "type": { - "text": "ResponseI" + "text": "string" } } ] }, { "kind": "method", - "name": "abort", + "name": "createContents", "privacy": "private", "static": true, "parameters": [ { - "name": "timeout", + "name": "changeToChat", "type": { - "text": "number" + "text": "() => void" } }, { - "name": "stream", + "name": "serviceIO", "type": { - "text": "MessageStream" + "text": "ServiceIO" } - }, + } + ] + }, + { + "kind": "method", + "name": "createElements", + "privacy": "private", + "static": true, + "parameters": [ { - "name": "onClose", + "name": "changeToChat", "type": { "text": "() => void" } + }, + { + "name": "serviceIO", + "type": { + "text": "ServiceIO" + } } ] }, { "kind": "method", - "name": "upsertWFiles", + "name": "render", "privacy": "public", "static": true, "parameters": [ { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "upsert", + "name": "containerRef", "type": { - "text": "UpsertFunc" + "text": "HTMLElement" } }, { - "name": "stream", - "optional": true, + "name": "changeToChat", "type": { - "text": "MessageStream" + "text": "() => void" } }, { - "name": "response", - "optional": true, + "name": "serviceIO", "type": { - "text": "ResponseI" + "text": "ServiceIO" } } ] @@ -28288,75 +28329,196 @@ "exports": [ { "kind": "js", - "name": "Stream", + "name": "InsertKeyView", "declaration": { - "name": "Stream", - "module": "src/utils/HTTP/stream.ts" + "name": "InsertKeyView", + "module": "src/views/insertKey/insertKeyView.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/HTTP/websocket.ts", + "path": "src/views/insertKey/visibilityIcon.ts", "declarations": [ { "kind": "class", "description": "", - "name": "Websocket", + "name": "VisibilityIcon", "members": [ + { + "kind": "field", + "name": "VISIBLE_ICON_ID", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'visible-icon'" + }, { "kind": "method", - "name": "setup", - "privacy": "public", + "name": "changeVisibility", + "privacy": "private", "static": true, "parameters": [ { - "name": "io", + "name": "inputElement", "type": { - "text": "ServiceIO" + "text": "HTMLInputElement" + } + }, + { + "name": "visibleIcon", + "type": { + "text": "SVGGraphicsElement" + } + }, + { + "name": "notVisibleIcon", + "type": { + "text": "SVGGraphicsElement" + } + }, + { + "name": "event", + "type": { + "text": "MouseEvent" } } ] }, { "kind": "method", - "name": "isElementPresentInDOM", + "name": "createIconElement", "privacy": "private", "static": true, "parameters": [ { - "name": "deepChat", + "name": "iconString", "type": { - "text": "DeepChat" + "text": "string" + } + }, + { + "name": "id", + "type": { + "text": "string" } } ] }, { "kind": "method", - "name": "createConnection", + "name": "create", "privacy": "public", "static": true, "parameters": [ { - "name": "io", + "name": "inputElement", "type": { - "text": "ServiceIO" + "text": "HTMLInputElement" } - }, + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "VisibilityIcon", + "declaration": { + "name": "VisibilityIcon", + "module": "src/views/insertKey/visibilityIcon.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/validateKeyProperty/validateKeyPropertyView.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "ValidateKeyPropertyView", + "members": [ + { + "kind": "method", + "name": "onLoad", + "privacy": "private", + "static": true, + "parameters": [ { - "name": "messages", + "name": "startElement", "type": { - "text": "Messages" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "retryConnection", + "name": "createElements", "privacy": "private", + "static": true + }, + { + "kind": "method", + "name": "render", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "containerRef", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "changeToChat", + "type": { + "text": "() => void" + } + }, + { + "name": "serviceIO", + "type": { + "text": "ServiceIO" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "ValidateKeyPropertyView", + "declaration": { + "name": "ValidateKeyPropertyView", + "module": "src/views/validateKeyProperty/validateKeyPropertyView.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/HTTP/HTTPRequest.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "HTTPRequest", + "members": [ + { + "kind": "method", + "name": "request", + "privacy": "public", "static": true, "parameters": [ { @@ -28365,18 +28527,28 @@ "text": "ServiceIO" } }, + { + "name": "body", + "type": { + "text": "object" + } + }, { "name": "messages", "type": { "text": "Messages" } + }, + { + "name": "stringifyBody", + "default": "true" } ] }, { "kind": "method", - "name": "assignListeners", - "privacy": "private", + "name": "executePollRequest", + "privacy": "public", "static": true, "parameters": [ { @@ -28386,9 +28558,15 @@ } }, { - "name": "ws", + "name": "url", "type": { - "text": "WebSocket" + "text": "string" + } + }, + { + "name": "requestInit", + "type": { + "text": "RequestInit" } }, { @@ -28401,7 +28579,7 @@ }, { "kind": "method", - "name": "sendWebsocket", + "name": "poll", "privacy": "public", "static": true, "parameters": [ @@ -28431,66 +28609,63 @@ }, { "kind": "method", - "name": "canSendMessage", + "name": "verifyKey", "privacy": "public", "static": true, "parameters": [ { - "name": "websocket", + "name": "key", "type": { - "text": "ServiceIO['websocket']" + "text": "string" } - } - ] - }, - { - "kind": "method", - "name": "isWebSocket", - "privacy": "private", - "static": true, - "return": { - "type": { - "text": "websocket is WebSocket" - } - }, - "parameters": [ + }, { - "name": "websocket", + "name": "url", "type": { - "text": "WebSocket | IWebsocketHandler" + "text": "string" } - } - ] - }, - { - "kind": "method", - "name": "stream", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "io", + "name": "headers", "type": { - "text": "ServiceIO" + "text": "HeadersInit" } }, { - "name": "messages", + "name": "method", "type": { - "text": "Messages" + "text": "string" } }, { - "name": "roleToStream", + "name": "onSuccess", "type": { - "text": "RoleToStream" + "text": "(key: string) => void" } }, { - "name": "result", + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + }, + { + "name": "onLoad", + "type": { + "text": "() => void" + } + }, + { + "name": "handleVerificationResult", + "type": { + "text": "HandleVerificationResult" + } + }, + { + "name": "body", "optional": true, "type": { - "text": "Response" + "text": "string" } } ] @@ -28501,220 +28676,120 @@ "exports": [ { "kind": "js", - "name": "Websocket", - "declaration": { - "name": "Websocket", - "module": "src/utils/HTTP/websocket.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/utils/browser/browser.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "Browser", - "members": [ - { - "kind": "field", - "name": "IS_SAFARI", - "privacy": "public", - "static": true, - "readonly": true - }, - { - "kind": "field", - "name": "IS_CHROMIUM", - "privacy": "public", - "static": true, - "readonly": true - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "Browser", - "declaration": { - "name": "Browser", - "module": "src/utils/browser/browser.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/utils/buttons/inputButtons.ts", - "declarations": [ - { - "kind": "variable", - "name": "BUTTON_ORDER", - "type": { - "text": "readonly BUTTON_TYPES[]" - }, - "default": "[\n 'camera',\n 'gifs',\n 'images',\n 'audio',\n 'mixedFiles',\n 'submit',\n 'microphone',\n]" - } - ], - "exports": [ - { - "kind": "js", - "name": "BUTTON_ORDER", + "name": "HTTPRequest", "declaration": { - "name": "BUTTON_ORDER", - "module": "src/utils/buttons/inputButtons.ts" + "name": "HTTPRequest", + "module": "src/utils/HTTP/HTTPRequest.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/buttons/keyboardKeys.ts", - "declarations": [], - "exports": [] - }, - { - "kind": "javascript-module", - "path": "src/utils/data/objectUtils.ts", + "path": "src/utils/HTTP/customHandler.ts", "declarations": [ { "kind": "class", "description": "", - "name": "ObjectUtils", + "name": "CustomHandler", "members": [ { "kind": "method", - "name": "setPropertyValueIfDoesNotExist", + "name": "request", "privacy": "public", "static": true, "parameters": [ { - "name": "object", + "name": "io", "type": { - "text": "T" + "text": "ServiceIO" } }, { - "name": "nestedKeys", + "name": "body", "type": { - "text": "string[]" + "text": "RequestDetails['body']" } }, { - "name": "value", + "name": "messages", "type": { - "text": "unknown" + "text": "Messages" } } ] }, { "kind": "method", - "name": "setPropertyValue", - "privacy": "public", + "name": "attemptToFinaliseStream", + "privacy": "private", "static": true, "parameters": [ { - "name": "object", - "type": { - "text": "T" - } - }, - { - "name": "nestedKeys", + "name": "stream", "type": { - "text": "string[]" + "text": "MessageStream" } }, { - "name": "value", + "name": "messages", "type": { - "text": "unknown" + "text": "Messages" } } ] }, { "kind": "method", - "name": "getObjectValue", + "name": "stream", "privacy": "public", "static": true, - "return": { - "type": { - "text": "object | undefined" - } - }, "parameters": [ { - "name": "object", + "name": "io", "type": { - "text": "T" + "text": "ServiceIO" } }, { - "name": "nestedKeys", + "name": "body", "type": { - "text": "string[]" + "text": "RequestDetails['body']" + } + }, + { + "name": "messages", + "type": { + "text": "Messages" } } ] }, { "kind": "method", - "name": "overwritePropertyObjectFromAnother", + "name": "websocket", "privacy": "public", "static": true, "parameters": [ { - "name": "target", - "type": { - "text": "T" - } - }, - { - "name": "source", + "name": "io", "type": { - "text": "T" + "text": "ServiceIO" } }, { - "name": "nestedKeys", + "name": "messages", "type": { - "text": "string[]" + "text": "Messages" } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "ObjectUtils", - "declaration": { - "name": "ObjectUtils", - "module": "src/utils/data/objectUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/utils/decorators/property.ts", - "declarations": [ - { - "kind": "function", - "name": "Property", - "parameters": [ + }, { - "name": "type", - "type": { - "text": "AvailableTypes" - } + "kind": "method", + "name": "generateOptionalSignals", + "privacy": "private", + "static": true } ] } @@ -28722,123 +28797,64 @@ "exports": [ { "kind": "js", - "name": "Property", + "name": "CustomHandler", "declaration": { - "name": "Property", - "module": "src/utils/decorators/property.ts" + "name": "CustomHandler", + "module": "src/utils/HTTP/customHandler.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/decorators/renderControl.ts", + "path": "src/utils/HTTP/requestUtils.ts", "declarations": [ { "kind": "class", "description": "", - "name": "RenderControl", + "name": "RequestUtils", "members": [ { - "kind": "method", - "name": "waitForPropertiesToBeUpdatedBeforeRender", - "privacy": "private", + "kind": "field", + "name": "CONTENT_TYPE", + "type": { + "text": "string" + }, + "privacy": "public", "static": true, - "parameters": [ - { - "name": "deepChat", - "type": { - "text": "InternalHTML" - } - } - ] + "readonly": true, + "default": "'Content-Type'" }, { "kind": "method", - "name": "attemptRender", + "name": "tempRemoveContentHeader", "privacy": "public", "static": true, "parameters": [ { - "name": "deepChat", + "name": "connectSettings", "type": { - "text": "InternalHTML" + "text": "Connect | undefined" + } + }, + { + "name": "request", + "type": { + "text": "(stringifyBody?: boolean) => Promise" + } + }, + { + "name": "stringifyBody", + "type": { + "text": "boolean" } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "RenderControl", - "declaration": { - "name": "RenderControl", - "module": "src/utils/decorators/renderControl.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/utils/decorators/typeConverters.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "TypeConverters", - "members": [ - { - "kind": "field", - "name": "attibutes", - "type": { - "text": "AttributeTypeConverters" - }, - "privacy": "public", - "static": true, - "readonly": true, - "default": "{\n string: (value: string) => value,\n number: (value: string) => parseFloat(value),\n boolean: (value: string) => value === 'true',\n object: (value: string) => JSON.parse(value),\n array: (value: string) => JSON.parse(value),\n function: (value: string) => new Function(`return ${value}`)(),\n }" - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "TypeConverters", - "declaration": { - "name": "TypeConverters", - "module": "src/utils/decorators/typeConverters.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/utils/demo/demo.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "Demo", - "members": [ - { - "kind": "field", - "name": "URL", - "type": { - "text": "string" - }, - "privacy": "public", - "static": true, - "readonly": true, - "default": "'deep-chat-demo'" }, { "kind": "method", - "name": "generateResponse", - "privacy": "private", + "name": "displayError", + "privacy": "public", "static": true, "parameters": [ { @@ -28846,71 +28862,107 @@ "type": { "text": "Messages" } + }, + { + "name": "err", + "type": { + "text": "ErrorResp" + } + }, + { + "name": "defMessage", + "default": "'Service error, please try again.'" } ] }, { "kind": "method", - "name": "getCustomResponse", - "privacy": "private", + "name": "fetch", + "privacy": "public", "static": true, "parameters": [ { - "name": "customResponse", + "name": "io", "type": { - "text": "DemoResponse" + "text": "ServiceIO" } }, { - "name": "requestMessage", + "name": "headers", "type": { - "text": "MessageContentI" + "text": "GenericObject | undefined" + } + }, + { + "name": "stringifyBody", + "type": { + "text": "boolean" + } + }, + { + "name": "body", + "type": { + "text": "any" } } ] }, { "kind": "method", - "name": "getResponse", - "privacy": "private", + "name": "processResponseByType", + "privacy": "public", "static": true, - "return": { - "type": { - "text": "Response" - } - }, "parameters": [ { - "name": "messages", + "name": "response", "type": { - "text": "Messages" + "text": "Response" } } ] }, { "kind": "method", - "name": "request", + "name": "processRequestInterceptor", "privacy": "public", "static": true, + "return": { + "type": { + "text": "InterceptorResultP" + } + }, "parameters": [ { - "name": "io", + "name": "deepChat", "type": { - "text": "ServiceIO" + "text": "DeepChat" } }, { - "name": "messages", + "name": "requestDetails", "type": { - "text": "Messages" + "text": "RequestDetails" } } ] }, { "kind": "method", - "name": "requestStream", + "name": "validateResponseFormat", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "response", + "type": { + "text": "ResponseI" + } + } + ] + }, + { + "kind": "method", + "name": "onInterceptorError", "privacy": "public", "static": true, "parameters": [ @@ -28921,9 +28973,16 @@ } }, { - "name": "sh", + "name": "error", "type": { - "text": "StreamHandlers" + "text": "string" + } + }, + { + "name": "onFinish", + "optional": true, + "type": { + "text": "() => void" } } ] @@ -28934,253 +28993,212 @@ "exports": [ { "kind": "js", - "name": "Demo", + "name": "RequestUtils", "declaration": { - "name": "Demo", - "module": "src/utils/demo/demo.ts" + "name": "RequestUtils", + "module": "src/utils/HTTP/requestUtils.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/element/elementUtils.ts", + "path": "src/utils/HTTP/stream.ts", "declarations": [ { "kind": "class", "description": "", - "name": "ElementUtils", + "name": "Stream", "members": [ - { - "kind": "field", - "name": "CODE_SNIPPET_GENERATION_JUMP", - "type": { - "text": "number" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "0.5" - }, { "kind": "method", - "name": "addElements", + "name": "request", "privacy": "public", "static": true, "parameters": [ { - "name": "parent", + "name": "io", "type": { - "text": "HTMLElement" + "text": "ServiceIO" } }, { - "name": "elements", + "name": "body", "type": { - "text": "HTMLElement[]" + "text": "object" } - } - ] - }, - { - "kind": "method", - "name": "isScrollbarAtBottomOfElement", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "element", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "Messages" } + }, + { + "name": "stringifyBody", + "default": "true" + }, + { + "name": "canBeEmpty", + "default": "false" } ] }, { "kind": "method", - "name": "cloneElement", + "name": "simulate", "privacy": "public", "static": true, "parameters": [ { - "name": "element", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "Messages" } - } - ] - }, - { - "kind": "method", - "name": "scrollToBottom", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "element", + "name": "sh", "type": { - "text": "HTMLElement" + "text": "StreamHandlers" } - } - ] - }, - { - "kind": "method", - "name": "scrollToTop", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "element", + "name": "result", "type": { - "text": "HTMLElement" + "text": "ResponseI" } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "ElementUtils", - "declaration": { - "name": "ElementUtils", - "module": "src/utils/element/elementUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/utils/element/imageUtils.ts", - "declarations": [ - { - "kind": "variable", - "name": "BASE_64_PREFIX", - "type": { - "text": "string" - }, - "default": "'data:image/png;base64,'" - } - ], - "exports": [ - { - "kind": "js", - "name": "BASE_64_PREFIX", - "declaration": { - "name": "BASE_64_PREFIX", - "module": "src/utils/element/imageUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/utils/element/statefulEvents.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "StatefulEvents", - "members": [ + }, { "kind": "method", - "name": "mouseUp", + "name": "populateMessages", "privacy": "private", "static": true, "parameters": [ { - "name": "element", + "name": "responseStrings", "type": { - "text": "HTMLElement" + "text": "string[]" } }, { - "name": "styles", + "name": "stream", "type": { - "text": "StatefulStyles" + "text": "MessageStream" + } + }, + { + "name": "sh", + "type": { + "text": "SimulationSH" + } + }, + { + "name": "type", + "type": { + "text": "'text'|'html'" } + }, + { + "name": "charIndex", + "default": "0" } ] }, { "kind": "method", - "name": "mouseDown", - "privacy": "private", + "name": "isSimulation", + "privacy": "public", "static": true, "parameters": [ { - "name": "element", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "styles", + "name": "stream", + "optional": true, "type": { - "text": "StatefulStyles" + "text": "StreamI" } } ] }, { "kind": "method", - "name": "mouseLeave", - "privacy": "private", + "name": "isSimulatable", + "privacy": "public", "static": true, "parameters": [ { - "name": "element", + "name": "stream", + "optional": true, "type": { - "text": "HTMLElement" + "text": "StreamI" } }, { - "name": "styles", + "name": "respone", + "optional": true, "type": { - "text": "StatefulStyles" + "text": "ResponseI" } } ] }, { "kind": "method", - "name": "mouseEnter", + "name": "abort", "privacy": "private", "static": true, "parameters": [ { - "name": "element", + "name": "timeout", "type": { - "text": "HTMLElement" + "text": "number" } }, { - "name": "styles", + "name": "stream", "type": { - "text": "StatefulStyles" + "text": "MessageStream" + } + }, + { + "name": "onClose", + "type": { + "text": "() => void" } } ] }, { "kind": "method", - "name": "add", + "name": "upsertWFiles", "privacy": "public", "static": true, "parameters": [ { - "name": "element", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "Messages" } }, { - "name": "styles", + "name": "upsert", "type": { - "text": "StatefulStyles" + "text": "UpsertFunc" + } + }, + { + "name": "stream", + "optional": true, + "type": { + "text": "MessageStream" + } + }, + { + "name": "response", + "optional": true, + "type": { + "text": "ResponseI" } } ] @@ -29191,169 +29209,209 @@ "exports": [ { "kind": "js", - "name": "StatefulEvents", + "name": "Stream", "declaration": { - "name": "StatefulEvents", - "module": "src/utils/element/statefulEvents.ts" + "name": "Stream", + "module": "src/utils/HTTP/stream.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/element/styleUtils.ts", + "path": "src/utils/HTTP/websocket.ts", "declarations": [ { "kind": "class", "description": "", - "name": "StyleUtils", + "name": "Websocket", "members": [ { "kind": "method", - "name": "unsetStyle", + "name": "setup", "privacy": "public", "static": true, "parameters": [ { - "name": "element", + "name": "io", "type": { - "text": "HTMLElement" + "text": "ServiceIO" } - }, + } + ] + }, + { + "kind": "method", + "name": "isElementPresentInDOM", + "privacy": "private", + "static": true, + "parameters": [ { - "name": "style", + "name": "deepChat", "type": { - "text": "CustomStyle" + "text": "DeepChat" } } ] }, { "kind": "method", - "name": "unsetActivityCSSMouseStates", + "name": "createConnection", "privacy": "public", "static": true, "parameters": [ { - "name": "element", + "name": "io", "type": { - "text": "HTMLElement" + "text": "ServiceIO" } }, { - "name": "statefulStyle", + "name": "messages", "type": { - "text": "StatefulStyles" + "text": "Messages" } } ] }, { "kind": "method", - "name": "unsetAllCSSMouseStates", - "privacy": "public", + "name": "retryConnection", + "privacy": "private", "static": true, "parameters": [ { - "name": "element", + "name": "io", "type": { - "text": "HTMLElement" + "text": "ServiceIO" } }, { - "name": "statefulStyle", + "name": "messages", "type": { - "text": "StatefulStyles" + "text": "Messages" } } ] }, { "kind": "method", - "name": "processStateful", - "privacy": "public", + "name": "assignListeners", + "privacy": "private", "static": true, - "return": { - "type": { - "text": "StatefulStyles" - } - }, "parameters": [ { - "name": "styles", + "name": "io", "type": { - "text": "StatefulStyles" + "text": "ServiceIO" } }, { - "name": "defHover", + "name": "ws", "type": { - "text": "CustomStyle" + "text": "WebSocket" } }, { - "name": "defClick", + "name": "messages", "type": { - "text": "CustomStyle" + "text": "Messages" } } ] }, { "kind": "method", - "name": "mergeStatefulStyles", + "name": "sendWebsocket", "privacy": "public", "static": true, - "return": { - "type": { - "text": "StatefulStyles" - } - }, "parameters": [ { - "name": "stylesArr", + "name": "io", "type": { - "text": "StatefulStyles[]" + "text": "ServiceIO" } - } - ] - }, - { - "kind": "method", - "name": "overwriteDefaultWithAlreadyApplied", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "styles", + "name": "body", "type": { - "text": "StatefulStyles" + "text": "object" } }, { - "name": "element", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "Messages" } + }, + { + "name": "stringifyBody", + "default": "true" } ] }, { "kind": "method", - "name": "applyToStyleIfNotDefined", + "name": "canSendMessage", "privacy": "public", "static": true, "parameters": [ { - "name": "cssDeclaration", + "name": "websocket", "type": { - "text": "CSSStyleDeclaration" + "text": "ServiceIO['websocket']" + } + } + ] + }, + { + "kind": "method", + "name": "isWebSocket", + "privacy": "private", + "static": true, + "return": { + "type": { + "text": "websocket is WebSocket" + } + }, + "parameters": [ + { + "name": "websocket", + "type": { + "text": "WebSocket | IWebsocketHandler" + } + } + ] + }, + { + "kind": "method", + "name": "stream", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "io", + "type": { + "text": "ServiceIO" } }, { - "name": "source", + "name": "messages", "type": { - "text": "CustomStyle" + "text": "Messages" + } + }, + { + "name": "roleToStream", + "type": { + "text": "RoleToStream" + } + }, + { + "name": "result", + "optional": true, + "type": { + "text": "Response" } } ] @@ -29364,117 +29422,189 @@ "exports": [ { "kind": "js", - "name": "StyleUtils", + "name": "Websocket", "declaration": { - "name": "StyleUtils", - "module": "src/utils/element/styleUtils.ts" + "name": "Websocket", + "module": "src/utils/HTTP/websocket.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/errorMessages/errorMessages.ts", + "path": "src/utils/browser/browser.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "Browser", + "members": [ + { + "kind": "field", + "name": "IS_SAFARI", + "privacy": "public", + "static": true, + "readonly": true + }, + { + "kind": "field", + "name": "IS_CHROMIUM", + "privacy": "public", + "static": true, + "readonly": true + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Browser", + "declaration": { + "name": "Browser", + "module": "src/utils/browser/browser.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/buttons/inputButtons.ts", "declarations": [ { "kind": "variable", - "name": "ErrorMessages", + "name": "BUTTON_ORDER", "type": { - "text": "object" + "text": "readonly BUTTON_TYPE[]" }, - "default": "{\n INVALID_KEY: 'Invalid API Key',\n CONNECTION_FAILED: 'Failed to connect',\n INVALID_RESPONSE: getInvalidResponseMessage,\n INVALID_MODEL_REQUEST: getModelRequestMessage,\n INVALID_MODEL_RESPONSE: getModelResponseMessage,\n INVALID_STREAM_EVENT,\n INVALID_STREAM_EVENT_MIX: 'Cannot mix {text: string} and {html: string} responses.',\n NO_VALID_STREAM_EVENTS_SENT: `No valid stream events were sent.\\n${INVALID_STREAM_EVENT}`,\n}" + "default": "[\n 'camera',\n 'gifs',\n 'images',\n 'audio',\n 'mixedFiles',\n 'submit',\n 'microphone',\n]" } ], "exports": [ { "kind": "js", - "name": "ErrorMessages", + "name": "BUTTON_ORDER", "declaration": { - "name": "ErrorMessages", - "module": "src/utils/errorMessages/errorMessages.ts" + "name": "BUTTON_ORDER", + "module": "src/utils/buttons/inputButtons.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/events/fireEvents.ts", + "path": "src/utils/buttons/keyboardKeys.ts", + "declarations": [], + "exports": [] + }, + { + "kind": "javascript-module", + "path": "src/utils/data/objectUtils.ts", "declarations": [ { "kind": "class", "description": "", - "name": "FireEvents", + "name": "ObjectUtils", "members": [ { "kind": "method", - "name": "onMessage", + "name": "setPropertyValueIfDoesNotExist", "privacy": "public", "static": true, "parameters": [ { - "name": "deepChat", + "name": "object", "type": { - "text": "DeepChat" + "text": "T" } }, { - "name": "message", + "name": "nestedKeys", "type": { - "text": "MessageContentI" + "text": "string[]" } }, { - "name": "isHistory", + "name": "value", "type": { - "text": "boolean" + "text": "unknown" } } ] }, { "kind": "method", - "name": "onClearMessages", + "name": "setPropertyValue", "privacy": "public", "static": true, "parameters": [ { - "name": "deepChat", + "name": "object", "type": { - "text": "DeepChat" + "text": "T" + } + }, + { + "name": "nestedKeys", + "type": { + "text": "string[]" + } + }, + { + "name": "value", + "type": { + "text": "unknown" } } ] }, { "kind": "method", - "name": "onRender", + "name": "getObjectValue", "privacy": "public", "static": true, + "return": { + "type": { + "text": "object | undefined" + } + }, "parameters": [ { - "name": "deepChat", + "name": "object", "type": { - "text": "DeepChat" + "text": "T" + } + }, + { + "name": "nestedKeys", + "type": { + "text": "string[]" } } ] }, { "kind": "method", - "name": "onError", + "name": "overwritePropertyObjectFromAnother", "privacy": "public", "static": true, "parameters": [ { - "name": "deepChat", + "name": "target", "type": { - "text": "DeepChat" + "text": "T" } }, { - "name": "error", + "name": "source", "type": { - "text": "string" + "text": "T" + } + }, + { + "name": "nestedKeys", + "type": { + "text": "string[]" } } ] @@ -29485,209 +29615,346 @@ "exports": [ { "kind": "js", - "name": "FireEvents", + "name": "ObjectUtils", "declaration": { - "name": "FireEvents", - "module": "src/utils/events/fireEvents.ts" + "name": "ObjectUtils", + "module": "src/utils/data/objectUtils.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/files/fileTypeButtonIcons.ts", + "path": "src/utils/decorators/property.ts", "declarations": [ { - "kind": "variable", - "name": "FILE_TYPE_BUTTON_ICONS", - "type": { - "text": "ServiceFileTypes" - }, - "default": "{\n images: {id: 'upload-images-icon', svgString: IMAGE_ICON_STRING, dropupText: 'Image'},\n gifs: {id: 'upload-gifs-icon', svgString: GIF_ICON_STRING, dropupText: 'GIF'},\n audio: {id: 'upload-audio-icon', svgString: AUDIO_ICON_STRING, dropupText: 'Audio'},\n mixedFiles: {id: 'upload-mixed-files-icon', svgString: MIXED_FILES_ICON_STRING, dropupText: 'File'},\n}" + "kind": "function", + "name": "Property", + "parameters": [ + { + "name": "type", + "type": { + "text": "AvailableTypes" + } + } + ] } ], "exports": [ { "kind": "js", - "name": "FILE_TYPE_BUTTON_ICONS", + "name": "Property", "declaration": { - "name": "FILE_TYPE_BUTTON_ICONS", - "module": "src/utils/files/fileTypeButtonIcons.ts" + "name": "Property", + "module": "src/utils/decorators/property.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/legacy/legacy.ts", + "path": "src/utils/decorators/renderControl.ts", "declarations": [ { "kind": "class", "description": "", - "name": "Legacy", + "name": "RenderControl", "members": [ { "kind": "method", - "name": "checkForContainerStyles", - "privacy": "public", + "name": "waitForPropertiesToBeUpdatedBeforeRender", + "privacy": "private", "static": true, "parameters": [ { "name": "deepChat", "type": { - "text": "DeepChat" + "text": "InternalHTML" } - }, + } + ] + }, + { + "kind": "method", + "name": "attemptRender", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "containerRef", + "name": "deepChat", "type": { - "text": "HTMLElement" + "text": "InternalHTML" } } ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "RenderControl", + "declaration": { + "name": "RenderControl", + "module": "src/utils/decorators/renderControl.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/decorators/typeConverters.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "TypeConverters", + "members": [ + { + "kind": "field", + "name": "attibutes", + "type": { + "text": "AttributeTypeConverters" + }, + "privacy": "public", + "static": true, + "readonly": true, + "default": "{\n string: (value: string) => value,\n number: (value: string) => parseFloat(value),\n boolean: (value: string) => value === 'true',\n object: (value: string) => JSON.parse(value),\n array: (value: string) => JSON.parse(value),\n function: (value: string) => new Function(`return ${value}`)(),\n }" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "TypeConverters", + "declaration": { + "name": "TypeConverters", + "module": "src/utils/decorators/typeConverters.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/demo/demo.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "Demo", + "members": [ + { + "kind": "field", + "name": "URL", + "type": { + "text": "string" + }, + "privacy": "public", + "static": true, + "readonly": true, + "default": "'deep-chat-demo'" }, { "kind": "method", - "name": "handleResponseProperty", - "privacy": "public", + "name": "generateResponse", + "privacy": "private", "static": true, "parameters": [ { - "name": "result", + "name": "messageToElements", "type": { - "text": "any | Response" + "text": "MessageToElements" } } ] }, { "kind": "method", - "name": "processHistory", - "privacy": "public", + "name": "getCustomResponse", + "privacy": "private", "static": true, "parameters": [ { - "name": "deepChat", + "name": "customResponse", "type": { - "text": "DeepChat" + "text": "DemoResponse" + } + }, + { + "name": "requestMessage", + "type": { + "text": "MessageContentI" } } ] }, { "kind": "method", - "name": "processHistoryFile", - "privacy": "public", + "name": "getResponse", + "privacy": "private", "static": true, + "return": { + "type": { + "text": "Response" + } + }, "parameters": [ { - "name": "message", + "name": "{customDemoResponse, messageToElements}", "type": { - "text": "MessageContent" + "text": "Messages" } } ] }, { "kind": "method", - "name": "processValidateInput", + "name": "request", "privacy": "public", "static": true, "parameters": [ { - "name": "deepChat", + "name": "io", "type": { - "text": "DeepChat" + "text": "ServiceIO" + } + }, + { + "name": "messages", + "type": { + "text": "Messages" } } ] }, { "kind": "method", - "name": "processSubmitUserMessage", + "name": "requestStream", "privacy": "public", "static": true, "parameters": [ { - "name": "content", + "name": "messages", "type": { - "text": "string" + "text": "Messages" + } + }, + { + "name": "sh", + "type": { + "text": "StreamHandlers" } } ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Demo", + "declaration": { + "name": "Demo", + "module": "src/utils/demo/demo.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/element/elementUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "ElementUtils", + "members": [ + { + "kind": "field", + "name": "CODE_SNIPPET_GENERATION_JUMP", + "type": { + "text": "number" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "0.5" }, { "kind": "method", - "name": "flagHTMLUpdateClass", + "name": "addElements", "privacy": "public", "static": true, "parameters": [ { - "name": "bubbleElement", + "name": "parent", "type": { "text": "HTMLElement" } + }, + { + "name": "elements", + "type": { + "text": "HTMLElement[]" + } } ] }, { "kind": "method", - "name": "processConnect", + "name": "isScrollbarAtBottomOfElement", "privacy": "public", "static": true, "parameters": [ { - "name": "deepChat", + "name": "element", "type": { - "text": "DeepChat" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "checkForStream", + "name": "cloneElement", "privacy": "public", "static": true, "parameters": [ { - "name": "deepChat", + "name": "element", "type": { - "text": "DeepChat" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "fireOnNewMessage", + "name": "scrollToBottom", "privacy": "public", "static": true, "parameters": [ { - "name": "deepChat", - "type": { - "text": "DeepChat" - } - }, - { - "name": "updateBody", + "name": "element", "type": { - "text": "{message: MessageContent; isHistory: boolean}" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "processFileConfigConnect", + "name": "scrollToTop", "privacy": "public", "static": true, "parameters": [ { - "name": "config", + "name": "element", "type": { - "text": "FilesServiceConfig" + "text": "HTMLElement" } } ] @@ -29698,94 +29965,143 @@ "exports": [ { "kind": "js", - "name": "Legacy", + "name": "ElementUtils", "declaration": { - "name": "Legacy", - "module": "src/utils/legacy/legacy.ts" + "name": "ElementUtils", + "module": "src/utils/element/elementUtils.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/svg/svgIconUtils.ts", + "path": "src/utils/element/imageUtils.ts", "declarations": [ { - "kind": "class", - "description": "", - "name": "SVGIconUtils", - "members": [ - { - "kind": "method", - "name": "createSVGElement", - "privacy": "public", - "static": true, - "return": { - "type": { - "text": "SVGGraphicsElement" - } - }, - "parameters": [ - { - "name": "svgString", - "type": { - "text": "string" - } - } - ] - } - ] + "kind": "variable", + "name": "BASE_64_PREFIX", + "type": { + "text": "string" + }, + "default": "'data:image/png;base64,'" } ], "exports": [ { "kind": "js", - "name": "SVGIconUtils", + "name": "BASE_64_PREFIX", "declaration": { - "name": "SVGIconUtils", - "module": "src/utils/svg/svgIconUtils.ts" + "name": "BASE_64_PREFIX", + "module": "src/utils/element/imageUtils.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/webComponent/googleFont.ts", + "path": "src/utils/element/statefulEvents.ts", "declarations": [ { "kind": "class", "description": "", - "name": "GoogleFont", + "name": "StatefulEvents", "members": [ { - "kind": "field", - "name": "FONT_URL", - "type": { - "text": "string" - }, + "kind": "method", + "name": "mouseUp", "privacy": "private", "static": true, - "readonly": true, - "default": "'https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap'" - }, - { - "kind": "field", - "name": "DEFAULT_FONT_FAMILY", - "privacy": "public", + "parameters": [ + { + "name": "element", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "styles", + "type": { + "text": "StatefulStyles" + } + } + ] + }, + { + "kind": "method", + "name": "mouseDown", + "privacy": "private", "static": true, - "readonly": true, - "default": "`'Inter', sans-serif, Avenir, Helvetica, Arial`" + "parameters": [ + { + "name": "element", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "styles", + "type": { + "text": "StatefulStyles" + } + } + ] }, { "kind": "method", - "name": "attemptAppendStyleSheetToHead", + "name": "mouseLeave", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "element", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "styles", + "type": { + "text": "StatefulStyles" + } + } + ] + }, + { + "kind": "method", + "name": "mouseEnter", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "element", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "styles", + "type": { + "text": "StatefulStyles" + } + } + ] + }, + { + "kind": "method", + "name": "add", "privacy": "public", "static": true, "parameters": [ { - "name": "cssStyle", + "name": "element", "type": { - "text": "CSSStyleDeclaration" + "text": "HTMLElement" + } + }, + { + "name": "styles", + "type": { + "text": "StatefulStyles" } } ] @@ -29796,196 +30112,290 @@ "exports": [ { "kind": "js", - "name": "GoogleFont", + "name": "StatefulEvents", "declaration": { - "name": "GoogleFont", - "module": "src/utils/webComponent/googleFont.ts" + "name": "StatefulEvents", + "module": "src/utils/element/statefulEvents.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/webComponent/internalHTML.ts", + "path": "src/utils/element/styleUtils.ts", "declarations": [ { "kind": "class", "description": "", - "name": "InternalHTML", + "name": "StyleUtils", "members": [ { - "kind": "field", - "name": "_waitingToRender_", - "type": { - "text": "boolean" - }, - "default": "false" + "kind": "method", + "name": "unsetStyle", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "element", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "style", + "type": { + "text": "CustomStyle" + } + } + ] }, { - "kind": "field", - "name": "_propUpdated_", - "type": { - "text": "boolean" - }, - "default": "false" + "kind": "method", + "name": "unsetActivityCSSMouseStates", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "element", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "statefulStyle", + "type": { + "text": "StatefulStyles" + } + } + ] }, { - "kind": "field", - "name": "_attributes_", - "type": { - "text": "GenericObject" - }, + "kind": "method", + "name": "unsetAllCSSMouseStates", + "privacy": "public", "static": true, - "default": "{}" + "parameters": [ + { + "name": "element", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "statefulStyle", + "type": { + "text": "StatefulStyles" + } + } + ] }, { - "kind": "field", - "name": "_attributeToProperty_", - "type": { - "text": "GenericObject" + "kind": "method", + "name": "processStateful", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "StatefulStyles" + } }, + "parameters": [ + { + "name": "styles", + "type": { + "text": "StatefulStyles" + } + }, + { + "name": "defHover", + "type": { + "text": "CustomStyle" + } + }, + { + "name": "defClick", + "type": { + "text": "CustomStyle" + } + } + ] + }, + { + "kind": "method", + "name": "mergeStatefulStyles", + "privacy": "public", "static": true, - "default": "{}" + "return": { + "type": { + "text": "StatefulStyles" + } + }, + "parameters": [ + { + "name": "stylesArr", + "type": { + "text": "StatefulStyles[]" + } + } + ] }, { "kind": "method", - "name": "constructPropertyAccessors", - "privacy": "private", + "name": "overwriteDefaultWithAlreadyApplied", + "privacy": "public", + "static": true, "parameters": [ { - "name": "propertyKey", + "name": "styles", "type": { - "text": "string" + "text": "StatefulStyles" } }, { - "name": "attributeName", - "optional": true, + "name": "element", "type": { - "text": "string" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "onRender" + "name": "applyToStyleIfNotDefined", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "cssDeclaration", + "type": { + "text": "CSSStyleDeclaration" + } + }, + { + "name": "source", + "type": { + "text": "CustomStyle" + } + } + ] } - ], - "superclass": { - "name": "HTMLElement" + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "StyleUtils", + "declaration": { + "name": "StyleUtils", + "module": "src/utils/element/styleUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/errorMessages/errorMessages.ts", + "declarations": [ + { + "kind": "variable", + "name": "ErrorMessages", + "type": { + "text": "object" }, - "customElement": true + "default": "{\n INVALID_KEY: 'Invalid API Key',\n CONNECTION_FAILED: 'Failed to connect',\n INVALID_RESPONSE: getInvalidResponseMessage,\n INVALID_MODEL_REQUEST: getModelRequestMessage,\n INVALID_MODEL_RESPONSE: getModelResponseMessage,\n INVALID_STREAM_EVENT,\n INVALID_STREAM_EVENT_MIX: 'Cannot mix {text: string} and {html: string} responses.',\n NO_VALID_STREAM_EVENTS_SENT: `No valid stream events were sent.\\n${INVALID_STREAM_EVENT}`,\n}" } ], "exports": [ { "kind": "js", - "name": "InternalHTML", + "name": "ErrorMessages", "declaration": { - "name": "InternalHTML", - "module": "src/utils/webComponent/internalHTML.ts" + "name": "ErrorMessages", + "module": "src/utils/errorMessages/errorMessages.ts" } } ] }, { "kind": "javascript-module", - "path": "src/utils/webComponent/webComponentStyleUtils.ts", + "path": "src/utils/events/fireEvents.ts", "declarations": [ { "kind": "class", "description": "", - "name": "WebComponentStyleUtils", + "name": "FireEvents", "members": [ - { - "kind": "field", - "name": "DEFAULT_COMPONENT_STYLE", - "type": { - "text": "Partial" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "{\n height: '350px',\n width: '320px',\n border: '1px solid #cacaca',\n fontFamily: GoogleFont.DEFAULT_FONT_FAMILY,\n fontSize: '0.9rem',\n backgroundColor: 'white',\n position: 'relative',\n // this is used to prevent inputAreaStyle background color from going beyond the container's rounded border\n // it will cause issues if there are elements that are meant to be outside of the chat component and in\n // that instance they should overwrite this\n // this is also causing the chat to squeeze when there is no space\n overflow: 'hidden',\n }" - }, { "kind": "method", - "name": "apply", + "name": "onMessage", "privacy": "public", "static": true, "parameters": [ { - "name": "style", + "name": "deepChat", "type": { - "text": "string" + "text": "DeepChat" } }, { - "name": "shadowRoot", + "name": "message", "type": { - "text": "ShadowRoot | null" + "text": "MessageContentI" + } + }, + { + "name": "isHistory", + "type": { + "text": "boolean" } } ] }, { "kind": "method", - "name": "applyStyleSheet", - "privacy": "private", + "name": "onClearMessages", + "privacy": "public", "static": true, "parameters": [ { - "name": "style", - "type": { - "text": "string" - } - }, - { - "name": "shadowRoot", + "name": "deepChat", "type": { - "text": "ShadowRoot" + "text": "DeepChat" } } ] }, { "kind": "method", - "name": "addStyleElement", - "privacy": "private", + "name": "onRender", + "privacy": "public", "static": true, "parameters": [ { - "name": "style", - "type": { - "text": "string" - } - }, - { - "name": "shadowRoot", + "name": "deepChat", "type": { - "text": "ShadowRoot" + "text": "DeepChat" } } ] }, { "kind": "method", - "name": "applyDefaultStyleToComponent", + "name": "onError", "privacy": "public", "static": true, "parameters": [ { - "name": "style", + "name": "deepChat", "type": { - "text": "CSSStyleDeclaration" + "text": "DeepChat" } }, { - "name": "chatStyle", - "optional": true, + "name": "error", "type": { - "text": "CustomStyle" + "text": "string" } } ] @@ -29996,43 +30406,131 @@ "exports": [ { "kind": "js", - "name": "WebComponentStyleUtils", + "name": "FireEvents", "declaration": { - "name": "WebComponentStyleUtils", - "module": "src/utils/webComponent/webComponentStyleUtils.ts" + "name": "FireEvents", + "module": "src/utils/events/fireEvents.ts" } } ] }, { "kind": "javascript-module", - "path": "src/types/webModel/webModel.ts", - "declarations": [], - "exports": [] + "path": "src/utils/files/fileTypeButtonIcons.ts", + "declarations": [ + { + "kind": "variable", + "name": "FILE_TYPE_BUTTON_ICONS", + "type": { + "text": "ServiceFileTypes" + }, + "default": "{\n images: {id: 'upload-images-icon', svgString: IMAGE_ICON_STRING, dropupText: 'Image'},\n gifs: {id: 'upload-gifs-icon', svgString: GIF_ICON_STRING, dropupText: 'GIF'},\n audio: {id: 'upload-audio-icon', svgString: AUDIO_ICON_STRING, dropupText: 'Audio'},\n mixedFiles: {id: 'upload-mixed-files-icon', svgString: MIXED_FILES_ICON_STRING, dropupText: 'File'},\n}" + } + ], + "exports": [ + { + "kind": "js", + "name": "FILE_TYPE_BUTTON_ICONS", + "declaration": { + "name": "FILE_TYPE_BUTTON_ICONS", + "module": "src/utils/files/fileTypeButtonIcons.ts" + } + } + ] }, { "kind": "javascript-module", - "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts", + "path": "src/utils/legacy/legacy.ts", "declarations": [ { "kind": "class", "description": "", - "name": "AssemblyAIUtils", + "name": "Legacy", "members": [ { "kind": "method", - "name": "poll", + "name": "checkForContainerStyles", "privacy": "public", "static": true, "parameters": [ { - "name": "api_token", + "name": "deepChat", "type": { - "text": "string" + "text": "DeepChat" } }, { - "name": "audio_url", + "name": "containerRef", + "type": { + "text": "HTMLElement" + } + } + ] + }, + { + "kind": "method", + "name": "handleResponseProperty", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "any | Response" + } + } + ] + }, + { + "kind": "method", + "name": "processHistory", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" + } + } + ] + }, + { + "kind": "method", + "name": "processHistoryFile", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "message", + "type": { + "text": "MessageContent" + } + } + ] + }, + { + "kind": "method", + "name": "processValidateInput", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" + } + } + ] + }, + { + "kind": "method", + "name": "processSubmitUserMessage", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "content", "type": { "text": "string" } @@ -30040,777 +30538,5596 @@ ] }, { - "kind": "method", - "name": "buildHeaders", + "kind": "method", + "name": "flagHTMLUpdateClass", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "bubbleElement", + "type": { + "text": "HTMLElement" + } + } + ] + }, + { + "kind": "method", + "name": "processConnect", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" + } + } + ] + }, + { + "kind": "method", + "name": "checkForStream", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" + } + } + ] + }, + { + "kind": "method", + "name": "fireOnNewMessage", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" + } + }, + { + "name": "updateBody", + "type": { + "text": "{message: MessageContent; isHistory: boolean}" + } + } + ] + }, + { + "kind": "method", + "name": "processFileConfigConnect", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "config", + "type": { + "text": "FilesServiceConfig" + } + } + ] + }, + { + "kind": "method", + "name": "processMessageStyles", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "messageStyles", + "optional": true, + "type": { + "text": "MessageStyles" + } + } + ] + }, + { + "kind": "method", + "name": "processDemo", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "demo", + "type": { + "text": "Demo" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Legacy", + "declaration": { + "name": "Legacy", + "module": "src/utils/legacy/legacy.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/loading/loadingStyle.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "LoadingStyle", + "members": [ + { + "kind": "field", + "name": "BUBBLE_CLASS", + "type": { + "text": "string" + }, + "privacy": "public", + "static": true, + "readonly": true, + "default": "'deep-chat-loading-message-bubble'" + }, + { + "kind": "field", + "name": "DOTS_CONTAINER_CLASS", + "type": { + "text": "string" + }, + "privacy": "public", + "static": true, + "readonly": true, + "default": "'deep-chat-loading-message-dots-container'" + }, + { + "kind": "method", + "name": "colorToHex", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "color", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "setDots", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "bubbleElement", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "messageStyles", + "optional": true, + "type": { + "text": "MessageStyles" + } + } + ] + }, + { + "kind": "method", + "name": "setRing", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "bubbleElement", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "style", + "optional": true, + "type": { + "text": "CustomStyle" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "LoadingStyle", + "declaration": { + "name": "LoadingStyle", + "module": "src/utils/loading/loadingStyle.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/svg/svgIconUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "SVGIconUtils", + "members": [ + { + "kind": "method", + "name": "createSVGElement", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "SVGGraphicsElement" + } + }, + "parameters": [ + { + "name": "svgString", + "type": { + "text": "string" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "SVGIconUtils", + "declaration": { + "name": "SVGIconUtils", + "module": "src/utils/svg/svgIconUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/webComponent/googleFont.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "GoogleFont", + "members": [ + { + "kind": "field", + "name": "FONT_URL", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap'" + }, + { + "kind": "field", + "name": "DEFAULT_FONT_FAMILY", + "privacy": "public", + "static": true, + "readonly": true, + "default": "`'Inter', sans-serif, Avenir, Helvetica, Arial`" + }, + { + "kind": "method", + "name": "attemptAppendStyleSheetToHead", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "cssStyle", + "type": { + "text": "CSSStyleDeclaration" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "GoogleFont", + "declaration": { + "name": "GoogleFont", + "module": "src/utils/webComponent/googleFont.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/webComponent/internalHTML.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "InternalHTML", + "members": [ + { + "kind": "field", + "name": "_waitingToRender_", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "_propUpdated_", + "type": { + "text": "boolean" + }, + "default": "false" + }, + { + "kind": "field", + "name": "_attributes_", + "type": { + "text": "GenericObject" + }, + "static": true, + "default": "{}" + }, + { + "kind": "field", + "name": "_attributeToProperty_", + "type": { + "text": "GenericObject" + }, + "static": true, + "default": "{}" + }, + { + "kind": "method", + "name": "constructPropertyAccessors", + "privacy": "private", + "parameters": [ + { + "name": "propertyKey", + "type": { + "text": "string" + } + }, + { + "name": "attributeName", + "optional": true, + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "onRender" + } + ], + "superclass": { + "name": "HTMLElement" + }, + "customElement": true + } + ], + "exports": [ + { + "kind": "js", + "name": "InternalHTML", + "declaration": { + "name": "InternalHTML", + "module": "src/utils/webComponent/internalHTML.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/utils/webComponent/webComponentStyleUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "WebComponentStyleUtils", + "members": [ + { + "kind": "field", + "name": "DEFAULT_COMPONENT_STYLE", + "type": { + "text": "Partial" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "{\n height: '350px',\n width: '320px',\n borderTop: '1px solid #cacaca',\n borderRight: '1px solid #cacaca',\n borderLeft: '1px solid #cacaca',\n borderBottom: '1px solid #cacaca',\n fontFamily: GoogleFont.DEFAULT_FONT_FAMILY,\n fontSize: '0.9rem',\n backgroundColor: 'white',\n position: 'relative',\n // this is used to prevent inputAreaStyle background color from going beyond the container's rounded border\n // it will cause issues if there are elements that are meant to be outside of the chat component and in\n // that instance they should overwrite this\n // this is also causing the chat to squeeze when there is no space\n overflow: 'hidden',\n }" + }, + { + "kind": "method", + "name": "apply", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "style", + "type": { + "text": "string" + } + }, + { + "name": "shadowRoot", + "type": { + "text": "ShadowRoot | null" + } + } + ] + }, + { + "kind": "method", + "name": "applyStyleSheet", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "style", + "type": { + "text": "string" + } + }, + { + "name": "shadowRoot", + "type": { + "text": "ShadowRoot" + } + } + ] + }, + { + "kind": "method", + "name": "addStyleElement", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "style", + "type": { + "text": "string" + } + }, + { + "name": "shadowRoot", + "type": { + "text": "ShadowRoot" + } + } + ] + }, + { + "kind": "method", + "name": "applyDefaultStyleToComponent", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "style", + "type": { + "text": "CSSStyleDeclaration" + } + }, + { + "name": "chatStyle", + "optional": true, + "type": { + "text": "CustomStyle" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "WebComponentStyleUtils", + "declaration": { + "name": "WebComponentStyleUtils", + "module": "src/utils/webComponent/webComponentStyleUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/types/webModel/webModel.ts", + "declarations": [], + "exports": [] + }, + { + "kind": "javascript-module", + "path": "src/services/assemblyAI/utils/assemblyAIUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "AssemblyAIUtils", + "members": [ + { + "kind": "method", + "name": "poll", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "api_token", + "type": { + "text": "string" + } + }, + { + "name": "audio_url", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "buildHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "handleVerificationResult", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "object" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "onSuccess", + "type": { + "text": "(key: string) => void" + } + }, + { + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + } + ] + }, + { + "kind": "method", + "name": "buildKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "AssemblyAIUtils", + "declaration": { + "name": "AssemblyAIUtils", + "module": "src/services/assemblyAI/utils/assemblyAIUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/azure/utils/azureOpenAIUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "AzureOpenAIUtils", + "members": [ + { + "kind": "field", + "name": "URL_DETAILS_ERROR_MESSAGE", + "type": { + "text": "string" + }, + "privacy": "public", + "static": true, + "readonly": true, + "default": "'Please define the Azure URL Details. [More Information](https://deepchat.dev/docs/directConnection/Azure)'" + }, + { + "kind": "method", + "name": "buildHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "apiKey", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "buildKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + }, + "parameters": [ + { + "name": "urlDetails", + "type": { + "text": "AzureOpenAI['urlDetails']" + } + } + ] + }, + { + "kind": "method", + "name": "validateURLDetails", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "urlDetails", + "type": { + "text": "AzureOpenAI['urlDetails']" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "AzureOpenAIUtils", + "declaration": { + "name": "AzureOpenAIUtils", + "module": "src/services/azure/utils/azureOpenAIUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/azure/utils/azureUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "AzureUtils", + "members": [ + { + "kind": "method", + "name": "buildTextToSpeechHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "outputFormat", + "type": { + "text": "string" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "buildSpeechToTextHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "handleSpeechVerificationResult", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "object" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "onSuccess", + "type": { + "text": "(key: string) => void" + } + }, + { + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + } + ] + }, + { + "kind": "method", + "name": "buildSpeechKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + }, + "parameters": [ + { + "name": "region", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "buildSummarizationHeader", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "handleLanguageVerificationResult", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "object" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "onSuccess", + "type": { + "text": "(key: string) => void" + } + }, + { + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + } + ] + }, + { + "kind": "method", + "name": "buildLanguageKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + }, + "parameters": [ + { + "name": "endpoint", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "handleTranslationVerificationResult", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "object" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "onSuccess", + "type": { + "text": "(key: string) => void" + } + }, + { + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + } + ] + }, + { + "kind": "method", + "name": "buildTranslationKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + }, + "parameters": [ + { + "name": "region", + "optional": true, + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "buildTranslationHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "region", + "type": { + "text": "string | undefined" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "AzureUtils", + "declaration": { + "name": "AzureUtils", + "module": "src/services/azure/utils/azureUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/cohere/utils/cohereUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "CohereUtils", + "members": [ + { + "kind": "method", + "name": "buildHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "handleVerificationResult", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "object" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "onSuccess", + "type": { + "text": "(key: string) => void" + } + }, + { + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + } + ] + }, + { + "kind": "method", + "name": "buildKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "CohereUtils", + "declaration": { + "name": "CohereUtils", + "module": "src/services/cohere/utils/cohereUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/gemini/utils/geminiUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "GeminiUtils", + "members": [ + { + "kind": "method", + "name": "buildHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "handleVerificationResult", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "object" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "onSuccess", + "type": { + "text": "(key: string) => void" + } + }, + { + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + } + ] + }, + { + "kind": "method", + "name": "buildKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + } + }, + { + "kind": "method", + "name": "directFetch", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "serviceIO", + "type": { + "text": "ServiceIO" + } + }, + { + "name": "body", + "type": { + "text": "any" + } + }, + { + "name": "method", + "type": { + "text": "'POST' | 'GET'" + } + }, + { + "name": "stringify", + "default": "true" + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "GeminiUtils", + "declaration": { + "name": "GeminiUtils", + "module": "src/services/gemini/utils/geminiUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/huggingFace/utils/huggingFaceUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "HuggingFaceUtils", + "members": [ + { + "kind": "method", + "name": "buildHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "handleVerificationResult", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "object" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "onSuccess", + "type": { + "text": "(key: string) => void" + } + }, + { + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + } + ] + }, + { + "kind": "method", + "name": "buildKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "HuggingFaceUtils", + "declaration": { + "name": "HuggingFaceUtils", + "module": "src/services/huggingFace/utils/huggingFaceUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/mistral/utils/mistralUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "MistralUtils", + "members": [ + { + "kind": "method", + "name": "buildHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "handleVerificationResult", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "object" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "onSuccess", + "type": { + "text": "(key: string) => void" + } + }, + { + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + } + ] + }, + { + "kind": "method", + "name": "buildKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "MistralUtils", + "declaration": { + "name": "MistralUtils", + "module": "src/services/mistral/utils/mistralUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/openAI/assistant/openAIAssistantIO.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "OpenAIAssistantIO", + "members": [ + { + "kind": "field", + "name": "fetchHistory", + "type": { + "text": "() => Promise | undefined" + } + }, + { + "kind": "field", + "name": "URL_SEGMENTS", + "type": { + "text": "object" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "{\n threadsPrefix: 'https://api.openai.com/v1/threads',\n threadsPosfix: '',\n newAssistantUrl: 'https://api.openai.com/v1/assistants',\n createMessagePostfix: '',\n listMessagesPostfix: 'order=desc',\n storeFiles: 'https://api.openai.com/v1/files',\n getFilesPrefix: 'https://api.openai.com/v1/files/',\n getFilesPostfix: '/content',\n }" + }, + { + "kind": "field", + "name": "headers", + "type": { + "text": "object" + }, + "default": "{}" + }, + { + "kind": "field", + "type": { + "text": "string" + }, + "default": "'assistants=v2'" + }, + { + "kind": "field", + "name": "insertKeyPlaceholderText", + "type": { + "text": "string" + }, + "default": "'OpenAI API Key'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyHelpUrl", + "type": { + "text": "string" + }, + "default": "'https://platform.openai.com/account/api-keys'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "url", + "type": { + "text": "string" + }, + "default": "''", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "POLLING_TIMEOUT_MS", + "type": { + "text": "number" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "800", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "permittedErrorPrefixes", + "type": { + "text": "array" + }, + "default": "['Incorrect', 'Please send text', History.FAILED_ERROR_MESSAGE]", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "functionHandler", + "type": { + "text": "AssistantFunctionHandler | undefined" + }, + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "filesToolType", + "type": { + "text": "OpenAIAssistant['files_tool_type']" + }, + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "shouldFetchHistory", + "type": { + "text": "boolean" + }, + "readonly": true, + "default": "false", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "messages", + "type": { + "text": "Messages | undefined" + }, + "privacy": "private", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "run_id", + "type": { + "text": "string | undefined" + }, + "privacy": "private", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "searchedForThreadId", + "type": { + "text": "boolean" + }, + "privacy": "private", + "default": "false", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "config", + "type": { + "text": "OpenAIAssistant" + }, + "privacy": "private", + "readonly": true, + "default": "{}", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "newAssistantDetails", + "type": { + "text": "OpenAINewAssistant" + }, + "privacy": "private", + "readonly": true, + "default": "{model: 'gpt-4'}", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "waitingForStreamResponse", + "type": { + "text": "boolean" + }, + "privacy": "private", + "default": "false", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "isSSEStream", + "type": { + "text": "boolean" + }, + "privacy": "private", + "readonly": true, + "default": "false", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "urlSegments", + "type": { + "text": "URLSegments" + }, + "privacy": "private", + "readonly": true, + "default": "urlSegments", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "messageStream", + "type": { + "text": "MessageStream | undefined" + }, + "privacy": "private", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "fetchHistoryFunc", + "privacy": "public", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "processImageMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "processedMessage", + "type": { + "text": "MessageContentI" + } + }, + { + "name": "uploadedFiles", + "optional": true, + "type": { + "text": "UploadedFile[]" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "processAttachmentsMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "processedMessage", + "type": { + "text": "MessageContentI" + } + }, + { + "name": "uploadedFiles", + "type": { + "text": "UploadedFile[]" + } + }, + { + "name": "toolType", + "type": { + "text": "OpenAIAssistant['files_tool_type']" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "processMessage", + "privacy": "private", + "parameters": [ + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "uploadedFiles", + "optional": true, + "type": { + "text": "UploadedFile[]" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "createNewThreadMessages", + "privacy": "private", + "parameters": [ + { + "name": "body", + "type": { + "text": "OpenAIConverseBodyInternal" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "UploadedFile[]" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "callService", + "privacy": "private", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "uploadedFiles", + "optional": true, + "type": { + "text": "UploadedFile[]" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "callServiceAPI", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "createNewAssistant", + "privacy": "private", + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "searchPreviousMessagesForThreadId", + "privacy": "private", + "parameters": [ + { + "name": "messageToElements", + "type": { + "text": "MessageToElements" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIAssistantInitReqResult" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "assignThreadAndRun", + "privacy": "private", + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIAssistantInitReqResult" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "getThreadMessages", + "privacy": "private", + "parameters": [ + { + "name": "thread_id", + "type": { + "text": "string" + } + }, + { + "name": "isHistory", + "default": "false" + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "extractPollResultData", + "return": { + "type": { + "text": "PollResult" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIRunResult" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "handleTools", + "privacy": "private", + "return": { + "type": { + "text": "PollResult" + } + }, + "parameters": [ + { + "name": "toolCalls", + "type": { + "text": "ToolCalls" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "handleStream", + "privacy": "private", + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIAssistantInitReqResult" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "parseStreamResult", + "privacy": "private", + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIAssistantInitReqResult" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "method", + "name": "createStreamRun", + "privacy": "private", + "parameters": [ + { + "name": "body", + "type": { + "text": "any" + } + } + ], + "inheritedFrom": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + }, + "default": "1" + }, + { + "kind": "field", + "name": "key", + "type": { + "text": "string | undefined" + }, + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "sessionId", + "type": { + "text": "string | undefined" + }, + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyVerificationDetails", + "type": { + "text": "KeyVerificationDetails" + }, + "privacy": "private", + "readonly": true, + "default": "keyVerificationDetails", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "buildHeadersFunc", + "type": { + "text": "BuildHeadersFunc" + }, + "privacy": "private", + "readonly": true, + "default": "buildHeadersFunc", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "method", + "name": "setApiKeyProperties", + "privacy": "private", + "parameters": [ + { + "name": "apiKey", + "type": { + "text": "APIKey" + } + } + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "method", + "name": "buildConnectSettings", + "privacy": "private", + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "connectSettings", + "optional": true, + "type": { + "text": "Connect" + } + } + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "method", + "name": "keyAuthenticated", + "privacy": "private", + "parameters": [ + { + "name": "onSuccess", + "type": { + "text": "() => void" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + } + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "method", + "name": "verifyKey", + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "keyVerificationHandlers", + "type": { + "text": "KeyVerificationHandlers" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "isDirectConnection", + "privacy": "public", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "connectSettings", + "type": { + "text": "Connect" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "rawBody", + "type": { + "text": "any" + }, + "readonly": true, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "deepChat", + "type": { + "text": "DeepChat" + }, + "default": "deepChat", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "validateKeyProperty", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "fileTypes", + "type": { + "text": "ServiceFileTypes" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "camera", + "type": { + "text": "CameraFilesServiceConfig | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "recordAudio", + "type": { + "text": "MicrophoneFilesServiceConfig | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "totalMessagesMaxCharLength", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "demo", + "type": { + "text": "DemoT | undefined" + }, + "default": "demo", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "stream", + "type": { + "text": "StreamI | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "completionsHandlers", + "type": { + "text": "CompletionsHandlers" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "streamHandlers", + "type": { + "text": "StreamHandlers" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "createCustomFormDataBody", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "body", + "type": { + "text": "any" + } + }, + { + "name": "messages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "getServiceIOByType", + "privacy": "private", + "parameters": [ + { + "name": "file", + "type": { + "text": "File" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "request", + "privacy": "private", + "parameters": [ + { + "name": "body", + "type": { + "text": "any" + } + }, + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "stringifyBody", + "default": "true" + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "callAPIWithText", + "privacy": "private", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "callApiWithFiles", + "privacy": "private", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "callAPI", + "parameters": [ + { + "name": "requestContents", + "type": { + "text": "RequestContents" + } + }, + { + "name": "messages", + "type": { + "text": "Messages" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "isWebModel", + "privacy": "public", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + } + ], + "superclass": { + "name": "OpenAIAssistantIOI", + "module": "/src/services/openAI/assistant/openAIAssistantIOI" + } + } + ], + "exports": [ + { + "kind": "js", + "name": "OpenAIAssistantIO", + "declaration": { + "name": "OpenAIAssistantIO", + "module": "src/services/openAI/assistant/openAIAssistantIO.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/openAI/assistant/openAIAssistantIOI.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "OpenAIAssistantIOI", + "members": [ + { + "kind": "field", + "name": "insertKeyPlaceholderText", + "type": { + "text": "string" + }, + "default": "'OpenAI API Key'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyHelpUrl", + "type": { + "text": "string" + }, + "default": "'https://platform.openai.com/account/api-keys'", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "url", + "type": { + "text": "string" + }, + "default": "''" + }, + { + "kind": "field", + "name": "POLLING_TIMEOUT_MS", + "type": { + "text": "number" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "800" + }, + { + "kind": "field", + "name": "permittedErrorPrefixes", + "type": { + "text": "array" + }, + "default": "['Incorrect', 'Please send text', History.FAILED_ERROR_MESSAGE]" + }, + { + "kind": "field", + "name": "functionHandler", + "type": { + "text": "AssistantFunctionHandler | undefined" + } + }, + { + "kind": "field", + "name": "filesToolType", + "type": { + "text": "OpenAIAssistant['files_tool_type']" + } + }, + { + "kind": "field", + "name": "shouldFetchHistory", + "type": { + "text": "boolean" + }, + "readonly": true, + "default": "false" + }, + { + "kind": "field", + "name": "messages", + "type": { + "text": "Messages | undefined" + }, + "privacy": "private" + }, + { + "kind": "field", + "name": "run_id", + "type": { + "text": "string | undefined" + }, + "privacy": "private" + }, + { + "kind": "field", + "name": "searchedForThreadId", + "type": { + "text": "boolean" + }, + "privacy": "private", + "default": "false" + }, + { + "kind": "field", + "name": "config", + "type": { + "text": "OpenAIAssistant" + }, + "privacy": "private", + "readonly": true, + "default": "{}" + }, + { + "kind": "field", + "name": "newAssistantDetails", + "type": { + "text": "OpenAINewAssistant" + }, + "privacy": "private", + "readonly": true, + "default": "{model: 'gpt-4'}" + }, + { + "kind": "field", + "name": "waitingForStreamResponse", + "type": { + "text": "boolean" + }, + "privacy": "private", + "default": "false" + }, + { + "kind": "field", + "name": "isSSEStream", + "type": { + "text": "boolean" + }, + "privacy": "private", + "readonly": true, + "default": "false" + }, + { + "kind": "field", + "name": "urlSegments", + "type": { + "text": "URLSegments" + }, + "privacy": "private", + "readonly": true, + "default": "urlSegments" + }, + { + "kind": "field", + "name": "messageStream", + "type": { + "text": "MessageStream | undefined" + }, + "privacy": "private" + }, + { + "kind": "method", + "name": "fetchHistoryFunc", + "privacy": "public" + }, + { + "kind": "method", + "name": "processImageMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "processedMessage", + "type": { + "text": "MessageContentI" + } + }, + { + "name": "uploadedFiles", + "optional": true, + "type": { + "text": "UploadedFile[]" + } + } + ] + }, + { + "kind": "method", + "name": "processAttachmentsMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "processedMessage", + "type": { + "text": "MessageContentI" + } + }, + { + "name": "uploadedFiles", + "type": { + "text": "UploadedFile[]" + } + }, + { + "name": "toolType", + "type": { + "text": "OpenAIAssistant['files_tool_type']" + } + } + ] + }, + { + "kind": "method", + "name": "processMessage", + "privacy": "private", + "parameters": [ + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "uploadedFiles", + "optional": true, + "type": { + "text": "UploadedFile[]" + } + } + ] + }, + { + "kind": "method", + "name": "createNewThreadMessages", + "privacy": "private", + "parameters": [ + { + "name": "body", + "type": { + "text": "OpenAIConverseBodyInternal" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "UploadedFile[]" + } + } + ] + }, + { + "kind": "method", + "name": "callService", + "privacy": "private", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "uploadedFiles", + "optional": true, + "type": { + "text": "UploadedFile[]" + } + } + ] + }, + { + "kind": "method", + "name": "callServiceAPI", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "createNewAssistant", + "privacy": "private" + }, + { + "kind": "method", + "name": "searchPreviousMessagesForThreadId", + "privacy": "private", + "parameters": [ + { + "name": "messageToElements", + "type": { + "text": "MessageToElements" + } + } + ] + }, + { + "kind": "method", + "name": "extractResultData", + "return": { + "type": { + "text": "Promise" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIAssistantInitReqResult" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "assignThreadAndRun", + "privacy": "private", + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIAssistantInitReqResult" + } + } + ] + }, + { + "kind": "method", + "name": "getThreadMessages", + "privacy": "private", + "parameters": [ + { + "name": "thread_id", + "type": { + "text": "string" + } + }, + { + "name": "isHistory", + "default": "false" + } + ] + }, + { + "kind": "method", + "name": "extractPollResultData", + "return": { + "type": { + "text": "PollResult" + } + }, + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIRunResult" + } + } + ] + }, + { + "kind": "method", + "name": "handleTools", + "privacy": "private", + "return": { + "type": { + "text": "PollResult" + } + }, + "parameters": [ + { + "name": "toolCalls", + "type": { + "text": "ToolCalls" + } + } + ] + }, + { + "kind": "method", + "name": "handleStream", + "privacy": "private", + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIAssistantInitReqResult" + } + } + ] + }, + { + "kind": "method", + "name": "parseStreamResult", + "privacy": "private", + "parameters": [ + { + "name": "result", + "type": { + "text": "OpenAIAssistantInitReqResult" + } + } + ] + }, + { + "kind": "method", + "name": "createStreamRun", + "privacy": "private", + "parameters": [ + { + "name": "body", + "type": { + "text": "any" + } + } + ] + }, + { + "kind": "field", + "name": "maxMessages", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + }, + "default": "1" + }, + { + "kind": "field", + "name": "key", + "type": { + "text": "string | undefined" + }, + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "sessionId", + "type": { + "text": "string | undefined" + }, + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "keyVerificationDetails", + "type": { + "text": "KeyVerificationDetails" + }, + "privacy": "private", + "readonly": true, + "default": "keyVerificationDetails", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "field", + "name": "buildHeadersFunc", + "type": { + "text": "BuildHeadersFunc" + }, + "privacy": "private", + "readonly": true, + "default": "buildHeadersFunc", + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "method", + "name": "setApiKeyProperties", + "privacy": "private", + "parameters": [ + { + "name": "apiKey", + "type": { + "text": "APIKey" + } + } + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "method", + "name": "buildConnectSettings", + "privacy": "private", + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "connectSettings", + "optional": true, + "type": { + "text": "Connect" + } + } + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "method", + "name": "keyAuthenticated", + "privacy": "private", + "parameters": [ + { + "name": "onSuccess", + "type": { + "text": "() => void" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + } + ], + "inheritedFrom": { + "name": "DirectServiceIO", + "module": "src/services/utils/directServiceIO.ts" + } + }, + { + "kind": "method", + "name": "verifyKey", + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "keyVerificationHandlers", + "type": { + "text": "KeyVerificationHandlers" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "isDirectConnection", + "privacy": "public", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "connectSettings", + "type": { + "text": "Connect" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "rawBody", + "type": { + "text": "any" + }, + "readonly": true, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "deepChat", + "type": { + "text": "DeepChat" + }, + "default": "deepChat", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "validateKeyProperty", + "type": { + "text": "boolean" + }, + "default": "false", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "canSendMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "text", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "files", + "optional": true, + "type": { + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" + } + } + ], + "type": { + "text": "ValidateInput" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "fileTypes", + "type": { + "text": "ServiceFileTypes" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "camera", + "type": { + "text": "CameraFilesServiceConfig | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "recordAudio", + "type": { + "text": "MicrophoneFilesServiceConfig | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "totalMessagesMaxCharLength", + "type": { + "text": "number | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "demo", + "type": { + "text": "DemoT | undefined" + }, + "default": "demo", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "stream", + "type": { + "text": "StreamI | undefined" + }, + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "completionsHandlers", + "type": { + "text": "CompletionsHandlers" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "field", + "name": "streamHandlers", + "type": { + "text": "StreamHandlers" + }, + "default": "{}", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "createCustomFormDataBody", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "body", + "type": { + "text": "any" + } + }, + { + "name": "messages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "getServiceIOByType", + "privacy": "private", + "parameters": [ + { + "name": "file", + "type": { + "text": "File" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "request", + "privacy": "private", + "parameters": [ + { + "name": "body", + "type": { + "text": "any" + } + }, + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "stringifyBody", + "default": "true" + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "callAPIWithText", + "privacy": "private", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "callApiWithFiles", + "privacy": "private", + "parameters": [ + { + "name": "messages", + "type": { + "text": "Messages" + } + }, + { + "name": "pMessages", + "type": { + "text": "MessageContentI[]" + } + }, + { + "name": "files", + "type": { + "text": "File[]" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "callAPI", + "parameters": [ + { + "name": "requestContents", + "type": { + "text": "RequestContents" + } + }, + { + "name": "messages", + "type": { + "text": "Messages" + } + } + ], + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + }, + { + "kind": "method", + "name": "isWebModel", + "privacy": "public", + "inheritedFrom": { + "name": "BaseServiceIO", + "module": "src/services/utils/baseServiceIO.ts" + } + } + ], + "superclass": { + "name": "DirectServiceIO", + "module": "/src/services/utils/directServiceIO" + } + } + ], + "exports": [ + { + "kind": "js", + "name": "OpenAIAssistantIOI", + "declaration": { + "name": "OpenAIAssistantIOI", + "module": "src/services/openAI/assistant/openAIAssistantIOI.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/openAI/utils/openAIUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "OpenAIUtils", + "members": [ + { + "kind": "field", + "name": "FUNCTION_TOOL_RESP_ERROR", + "privacy": "public", + "static": true, + "readonly": true + }, + { + "kind": "method", + "name": "buildHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "handleVerificationResult", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "object" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "onSuccess", + "type": { + "text": "(key: string) => void" + } + }, + { + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + } + ] + }, + { + "kind": "method", + "name": "buildKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + } + }, + { + "kind": "method", + "name": "directFetch", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "serviceIO", + "type": { + "text": "ServiceIO" + } + }, + { + "name": "body", + "type": { + "text": "any" + } + }, + { + "name": "method", + "type": { + "text": "'POST' | 'GET'" + } + }, + { + "name": "stringify", + "default": "true" + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "OpenAIUtils", + "declaration": { + "name": "OpenAIUtils", + "module": "src/services/openAI/utils/openAIUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/services/stabilityAI/utils/stabilityAIUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "StabilityAIUtils", + "members": [ + { + "kind": "method", + "name": "buildHeaders", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "key", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "handleVerificationResult", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "result", + "type": { + "text": "object" + } + }, + { + "name": "key", + "type": { + "text": "string" + } + }, + { + "name": "onSuccess", + "type": { + "text": "(key: string) => void" + } + }, + { + "name": "onFail", + "type": { + "text": "(message: string) => void" + } + } + ] + }, + { + "kind": "method", + "name": "buildKeyVerificationDetails", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "KeyVerificationDetails" + } + } + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "StabilityAIUtils", + "declaration": { + "name": "StabilityAIUtils", + "module": "src/services/stabilityAI/utils/stabilityAIUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/input/input.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "Input", + "members": [ + { + "kind": "field", + "name": "elementRef", + "type": { + "text": "HTMLElement" + }, + "readonly": true + }, + { + "kind": "method", + "name": "createPanelElement", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "customStyle", + "optional": true, + "type": { + "text": "CustomStyle" + } + } + ] + }, + { + "kind": "method", + "name": "createFileUploadComponents", + "privacy": "private", + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" + } + }, + { + "name": "serviceIO", + "type": { + "text": "ServiceIO" + } + }, + { + "name": "containerElement", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "buttons", + "type": { + "text": "Buttons" + } + } + ] + }, + { + "kind": "method", + "name": "createUploadButtons", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" + } + }, + { + "name": "fileTypes", + "type": { + "text": "ServiceFileTypes" + } + }, + { + "name": "fileAtt", + "type": { + "text": "FileAttachments" + } + }, + { + "name": "containerEl", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "buttons", + "type": { + "text": "Buttons" + } + } + ] + }, + { + "kind": "method", + "name": "addElements", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "panel", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "textInput", + "type": { + "text": "TextInputEl" + } + }, + { + "name": "buttons", + "type": { + "text": "Buttons" + } + }, + { + "name": "container", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "fileAttachments", + "type": { + "text": "FileAttachments" + } + }, + { + "name": "dropupStyles", + "optional": true, + "type": { + "text": "DropupStyles" + } + } + ] + }, + { + "kind": "field", + "name": "submit", + "type": { + "text": "object" + }, + "default": "{button: submitButton}" + }, + { + "kind": "field", + "name": "submitUserMessage" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Input", + "declaration": { + "name": "Input", + "module": "src/views/chat/input/input.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/messages/avatar.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "Avatar", + "members": [ + { + "kind": "field", + "name": "CONTAINER_CLASS", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'avatar-container'" + }, + { + "kind": "method", + "name": "hide", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "innerContainer", + "type": { + "text": "HTMLElement" + } + } + ] + }, + { + "kind": "method", + "name": "reveal", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "innerContainer", + "type": { + "text": "HTMLElement" + } + } + ] + }, + { + "kind": "method", + "name": "applyCustomStylesToElements", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "container", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "avatar", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "style", + "type": { + "text": "AvatarStyles" + } + } + ] + }, + { + "kind": "method", + "name": "applyCustomStyles", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "container", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "avatar", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "avatars", + "type": { + "text": "CustomAvatars" + } + }, + { + "name": "role", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "createAvatar", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "role", + "type": { + "text": "string" + } + }, + { + "name": "avatars", + "optional": true, + "type": { + "text": "CustomAvatars" + } + } + ] + }, + { + "kind": "method", + "name": "getPosition", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "role", + "type": { + "text": "string" + } + }, + { + "name": "avatars", + "optional": true, + "type": { + "text": "CustomAvatars" + } + } + ] + }, + { + "kind": "method", + "name": "add", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "messageText", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "role", + "type": { + "text": "string" + } + }, + { + "name": "avatars", + "type": { + "text": "Avatars" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Avatar", + "declaration": { + "name": "Avatar", + "module": "src/views/chat/messages/avatar.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/messages/fileMessages.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "FileMessages", + "members": [ + { + "kind": "field", + "name": "IMAGE_BUBBLE_CLASS", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'image-message'" + }, + { + "kind": "field", + "name": "AUDIO_BUBBLE_CLASS", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'audio-message'" + }, + { + "kind": "field", + "name": "ANY_FILE_BUBBLE_CLASS", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'any-file-message'" + }, + { + "kind": "method", + "name": "createImage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "imageData", + "type": { + "text": "MessageFile" + } + }, + { + "name": "messagesContainerEl", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "isTop", + "type": { + "text": "boolean" + } + }, + { + "name": "scroll", + "default": "true" + } + ] + }, + { + "kind": "method", + "name": "createImageMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "msg", + "type": { + "text": "MessagesBase" + } + }, + { + "name": "imageD", + "type": { + "text": "MessageFile" + } + }, + { + "name": "role", + "type": { + "text": "string" + } + }, + { + "name": "isTop", + "type": { + "text": "boolean" + } + }, + { + "name": "scroll", + "default": "true" + } + ] + }, + { + "kind": "method", + "name": "createAudioElement", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "audioData", + "type": { + "text": "MessageFile" + } + }, + { + "name": "role", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "createNewAudioMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "messages", + "type": { + "text": "MessagesBase" + } + }, + { + "name": "audioData", + "type": { + "text": "MessageFile" + } + }, + { + "name": "role", + "type": { + "text": "string" + } + }, + { + "name": "isTop", + "type": { + "text": "boolean" + } + } + ] + }, + { + "kind": "method", + "name": "createAnyFile", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "imageData", + "type": { + "text": "MessageFile" + } + } + ] + }, + { + "kind": "method", + "name": "createNewAnyFileMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "messages", + "type": { + "text": "MessagesBase" + } + }, + { + "name": "data", + "type": { + "text": "MessageFile" + } + }, + { + "name": "role", + "type": { + "text": "string" + } + }, + { + "name": "isTop", + "type": { + "text": "boolean" + } + } + ] + }, + { + "kind": "method", + "name": "createMessages", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "msg", + "type": { + "text": "MessagesBase" + } + }, + { + "name": "files", + "type": { + "text": "MessageFiles" + } + }, + { + "name": "role", + "type": { + "text": "string" + } + }, + { + "name": "isTop", + "default": "false" + }, + { + "name": "scroll", + "default": "true" + } + ] + }, + { + "kind": "method", + "name": "addMessages", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "messages", + "type": { + "text": "MessagesBase" + } + }, + { + "name": "files", + "type": { + "text": "MessageFiles" + } + }, + { + "name": "role", + "type": { + "text": "string" + } + }, + { + "name": "isTop", + "type": { + "text": "boolean" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "FileMessages", + "declaration": { + "name": "FileMessages", + "module": "src/views/chat/messages/fileMessages.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/messages/messages.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "Messages", + "members": [ + { + "kind": "field", + "name": "_errorMessageOverrides", + "type": { + "text": "ErrorMessageOverrides | undefined" + }, + "privacy": "private", + "readonly": true + }, + { + "kind": "field", + "name": "_onClearMessages", + "type": { + "text": "() => void | undefined" + }, + "privacy": "private", + "readonly": true + }, + { + "kind": "field", + "name": "_onError", + "type": { + "text": "(error: string) => void | undefined" + }, + "privacy": "private", + "readonly": true + }, + { + "kind": "field", + "name": "_displayLoadingMessage", + "type": { + "text": "boolean | undefined" + }, + "privacy": "private", + "readonly": true + }, + { + "kind": "field", + "name": "_permittedErrorPrefixes", + "type": { + "text": "CustomErrors | undefined" + }, + "privacy": "private", + "readonly": true, + "default": "permittedErrorPrefixes" + }, + { + "kind": "field", + "name": "_displayServiceErrorMessages", + "type": { + "text": "boolean | undefined" + }, + "privacy": "private", + "readonly": true + }, + { + "kind": "field", + "name": "_introMessage", + "type": { + "text": "IntroMessage | IntroMessage[] | undefined" + }, + "privacy": "private" + }, + { + "kind": "field", + "name": "customDemoResponse", + "type": { + "text": "DemoResponse | undefined" + } + }, + { + "kind": "method", + "name": "getDisplayLoadingMessage", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" + } + }, + { + "name": "serviceIO", + "type": { + "text": "ServiceIO" + } + } + ] + }, + { + "kind": "method", + "name": "prepareDemo", + "privacy": "private", + "return": { + "type": { + "text": "void" + } + }, + "parameters": [ + { + "name": "demo", + "type": { + "text": "Demo" + } + } + ] + }, + { + "kind": "method", + "name": "addSetupMessageIfNeeded", + "privacy": "private", + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" + } + }, + { + "name": "serviceIO", + "type": { + "text": "ServiceIO" + } + } + ] + }, + { + "kind": "method", + "name": "addIntroductoryMessages", + "privacy": "private", + "parameters": [ + { + "name": "deepChat", + "optional": true, + "type": { + "text": "DeepChat" + } + }, + { + "name": "serviceIO", + "optional": true, + "type": { + "text": "ServiceIO" + } + } + ] + }, + { + "kind": "method", + "name": "addIntroductoryMessage", + "privacy": "private", + "parameters": [ + { + "name": "introMessage", + "type": { + "text": "IntroMessage" + } + } + ] + }, + { + "kind": "method", + "name": "removeIntroductoryMessage", + "privacy": "public" + }, + { + "kind": "method", + "name": "addAnyMessage", + "privacy": "public", + "parameters": [ + { + "name": "message", + "type": { + "text": "ResponseI" + } + }, + { + "name": "isHistory", + "default": "false" + }, + { + "name": "isTop", + "default": "false" + } + ] + }, + { + "kind": "method", + "name": "addNewMessage", + "privacy": "public", + "parameters": [ + { + "name": "data", + "type": { + "text": "ResponseI" + } + }, + { + "name": "isHistory", + "default": "false" + }, + { + "name": "isTop", + "default": "false" + } + ] + }, + { + "kind": "method", + "name": "isValidMessageContent", + "privacy": "private", + "parameters": [ + { + "name": "messageContent", + "type": { + "text": "MessageContentI" + } + } + ] + }, + { + "kind": "method", + "name": "updateStateOnMessage", + "privacy": "private", + "parameters": [ + { + "name": "messageContent", + "type": { + "text": "MessageContentI" + } + }, + { + "name": "overwritten", + "optional": true, + "type": { + "text": "boolean" + } + }, + { + "name": "update", + "default": "true" + }, + { + "name": "isHistory", + "default": "false" + } + ] + }, + { + "kind": "method", + "name": "removeMessageOnError", + "privacy": "private" + }, + { + "kind": "method", + "name": "addNewErrorMessage", + "privacy": "public", + "parameters": [ + { + "name": "type", + "type": { + "text": "keyof Omit" + } + }, + { + "name": "message", + "optional": true, + "type": { + "text": "ErrorResp" + } + }, + { + "name": "isTop", + "default": "false" + } + ] + }, + { + "kind": "method", + "name": "checkPermittedErrorPrefixes", + "privacy": "private", + "static": true, + "return": { + "type": { + "text": "string | undefined" + } + }, + "parameters": [ + { + "name": "errorPrefixes", + "type": { + "text": "string[]" + } + }, + { + "name": "message", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "extractErrorMessages", + "privacy": "private", + "static": true, + "return": { + "type": { + "text": "string[]" + } + }, + "parameters": [ + { + "name": "message", + "type": { + "text": "ErrorResp" + } + } + ] + }, + { + "kind": "method", + "name": "getPermittedMessage", + "privacy": "private", + "return": { + "type": { + "text": "string | undefined" + } + }, + "parameters": [ + { + "name": "message", + "optional": true, + "type": { + "text": "ErrorResp" + } + } + ] + }, + { + "kind": "method", + "name": "removeError", + "privacy": "public" + }, + { + "kind": "method", + "name": "addDefaultLoadingMessage", + "privacy": "private" + }, + { + "kind": "method", + "name": "addLoadingMessage", + "privacy": "public" + }, + { + "kind": "method", + "name": "populateIntroPanel", + "privacy": "private", + "parameters": [ + { + "name": "childElement", + "optional": true, + "type": { + "text": "HTMLElement" + } + }, + { + "name": "introPanelMarkUp", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "introPanelStyle", + "optional": true, + "type": { + "text": "CustomStyle" + } + } + ] + }, + { + "kind": "method", + "name": "addMultipleFiles", + "privacy": "public", + "parameters": [ + { + "name": "filesData", + "type": { + "text": "{file: File; type: MessageFileType}[]" + } + } + ] + }, + { + "kind": "method", + "name": "isActiveElement", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "bubbleClasslist", + "optional": true, + "type": { + "text": "DOMTokenList" + } + } + ] + }, + { + "kind": "method", + "name": "clearMessages", + "privacy": "private", + "parameters": [ + { + "name": "serviceIO", + "type": { + "text": "ServiceIO" + } + }, + { + "name": "isReset", + "optional": true, + "type": { + "text": "boolean" + } + } + ] + }, + { + "kind": "field", + "name": "getMessages" + }, + { + "kind": "field", + "name": "refreshMessages" + }, + { + "kind": "field", + "name": "addMessage" + }, + { + "kind": "field", + "name": "updateMessage" + }, + { + "kind": "field", + "name": "messageElementRefs", + "type": { + "text": "MessageElements[]" + }, + "default": "[]", + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "textToSpeech", + "type": { + "text": "ProcessedTextToSpeechConfig | undefined" + }, + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "submitUserMessage", + "type": { + "text": "(content: UserContent) => void | undefined" + }, + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "elementRef", + "type": { + "text": "HTMLElement" + }, + "readonly": true, + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "messageStyles", + "type": { + "text": "MessageStyles | undefined" + }, + "readonly": true, + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "htmlClassUtilities", + "type": { + "text": "HTMLClassUtilities" + }, + "readonly": true, + "default": "{}", + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "messageToElements", + "type": { + "text": "MessageToElements" + }, + "readonly": true, + "default": "[]", + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "_introPanel", + "type": { + "text": "IntroPanel | undefined" + }, + "privacy": "protected", + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "_avatars", + "type": { + "text": "Avatars | undefined" + }, + "privacy": "protected", + "readonly": true, + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "_names", + "type": { + "text": "Names | undefined" + }, + "privacy": "protected", + "readonly": true, + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "_remarkable", + "type": { + "text": "Remarkable" + }, + "privacy": "private", + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "_onMessage", + "type": { + "text": "(message: MessageContentI, isHistory: boolean) => void | undefined" + }, + "privacy": "private", + "readonly": true, + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "field", + "name": "TEXT_BUBBLE_CLASS", + "type": { + "text": "string" + }, "privacy": "public", "static": true, - "parameters": [ - { - "name": "key", - "type": { - "text": "string" - } - } - ] + "readonly": true, + "default": "'text-message'", + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { - "kind": "method", - "name": "handleVerificationResult", - "privacy": "private", + "kind": "field", + "name": "INTRO_CLASS", + "type": { + "text": "string" + }, + "privacy": "public", "static": true, - "parameters": [ - { - "name": "result", - "type": { - "text": "object" - } - }, - { - "name": "key", - "type": { - "text": "string" - } - }, - { - "name": "onSuccess", - "type": { - "text": "(key: string) => void" - } - }, - { - "name": "onFail", - "type": { - "text": "(message: string) => void" - } - } - ] + "readonly": true, + "default": "'deep-chat-intro'", + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "buildKeyVerificationDetails", - "privacy": "public", + "name": "createContainerElement", + "privacy": "private", "static": true, - "return": { - "type": { - "text": "KeyVerificationDetails" - } + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" } - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "AssemblyAIUtils", - "declaration": { - "name": "AssemblyAIUtils", - "module": "src/services/assemblyAI/utils/assemblyAIUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/services/azure/utils/azureUtils.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "AzureUtils", - "members": [ + }, { "kind": "method", - "name": "buildTextToSpeechHeaders", + "name": "addNewTextMessage", "privacy": "public", - "static": true, "parameters": [ { - "name": "outputFormat", + "name": "text", "type": { "text": "string" } }, { - "name": "key", + "name": "role", "type": { "text": "string" } - } - ] - }, - { - "kind": "method", - "name": "buildSpeechToTextHeaders", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "key", + "name": "overwrite", + "optional": true, "type": { - "text": "string" + "text": "Overwrite" } + }, + { + "name": "isTop", + "default": "false" } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "handleSpeechVerificationResult", + "name": "overwriteText", "privacy": "private", - "static": true, "parameters": [ { - "name": "result", - "type": { - "text": "object" - } - }, - { - "name": "key", + "name": "role", "type": { "text": "string" } }, { - "name": "onSuccess", + "name": "text", "type": { - "text": "(key: string) => void" + "text": "string" } }, { - "name": "onFail", + "name": "elementRefs", "type": { - "text": "(message: string) => void" + "text": "MessageElements[]" } } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "buildSpeechKeyVerificationDetails", - "privacy": "public", - "static": true, - "return": { - "type": { - "text": "KeyVerificationDetails" - } - }, + "name": "createAndAppendNewMessageElement", + "privacy": "protected", "parameters": [ { - "name": "region", + "name": "text", "type": { "text": "string" } - } - ] - }, - { - "kind": "method", - "name": "buildSummarizationHeader", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "key", + "name": "role", "type": { "text": "string" } } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "handleLanguageVerificationResult", + "name": "createAndPrependNewMessageElement", "privacy": "private", - "static": true, "parameters": [ { - "name": "result", - "type": { - "text": "object" - } - }, - { - "name": "key", + "name": "text", "type": { "text": "string" } }, { - "name": "onSuccess", + "name": "role", "type": { - "text": "(key: string) => void" + "text": "string" } }, { - "name": "onFail", + "name": "isTop", "type": { - "text": "(message: string) => void" + "text": "boolean" } } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "buildLanguageKeyVerificationDetails", + "name": "createMessageElementsOnOrientation", "privacy": "public", - "static": true, - "return": { - "type": { - "text": "KeyVerificationDetails" - } - }, "parameters": [ { - "name": "endpoint", + "name": "text", "type": { "text": "string" } - } - ] - }, - { - "kind": "method", - "name": "handleTranslationVerificationResult", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "result", - "type": { - "text": "object" - } }, { - "name": "key", + "name": "role", "type": { "text": "string" } }, { - "name": "onSuccess", - "type": { - "text": "(key: string) => void" - } - }, - { - "name": "onFail", + "name": "isTop", "type": { - "text": "(message: string) => void" + "text": "boolean" } } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "buildTranslationKeyVerificationDetails", + "name": "createNewMessageElement", "privacy": "public", - "static": true, - "return": { - "type": { - "text": "KeyVerificationDetails" - } - }, "parameters": [ { - "name": "region", - "optional": true, + "name": "text", + "type": { + "text": "string" + } + }, + { + "name": "role", "type": { "text": "string" } + }, + { + "name": "isTop", + "default": "false" } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "buildTranslationHeaders", - "privacy": "public", - "static": true, + "name": "revealRoleElementsIfTempRemoved", + "privacy": "private", "parameters": [ { - "name": "region", + "name": "tempElements", "type": { - "text": "string | undefined" + "text": "MessageElements" } }, { - "name": "key", + "name": "newRole", "type": { "text": "string" } } - ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "AzureUtils", - "declaration": { - "name": "AzureUtils", - "module": "src/services/azure/utils/azureUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/services/cohere/utils/cohereUtils.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "CohereUtils", - "members": [ + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, { "kind": "method", - "name": "buildHeaders", - "privacy": "public", + "name": "isTemporaryElement", + "privacy": "protected", "static": true, "parameters": [ { - "name": "key", + "name": "elements", "type": { - "text": "string" + "text": "MessageElements" } } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "handleVerificationResult", - "privacy": "private", - "static": true, + "name": "createElements", + "privacy": "public", "parameters": [ { - "name": "result", - "type": { - "text": "object" - } - }, - { - "name": "key", + "name": "text", "type": { "text": "string" } }, { - "name": "onSuccess", - "type": { - "text": "(key: string) => void" - } - }, - { - "name": "onFail", + "name": "role", "type": { - "text": "(message: string) => void" + "text": "string" } } - ] - }, - { - "kind": "method", - "name": "buildKeyVerificationDetails", - "privacy": "public", - "static": true, - "return": { - "type": { - "text": "KeyVerificationDetails" - } + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" } - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "CohereUtils", - "declaration": { - "name": "CohereUtils", - "module": "src/services/cohere/utils/cohereUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/services/gemini/utils/geminiUtils.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "GeminiUtils", - "members": [ + }, { "kind": "method", - "name": "buildHeaders", + "name": "createMessageElements", "privacy": "public", - "static": true, "parameters": [ { - "name": "key", + "name": "text", "type": { "text": "string" } - } - ] - }, - { - "kind": "method", - "name": "handleVerificationResult", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "result", - "type": { - "text": "object" - } }, { - "name": "key", + "name": "role", "type": { "text": "string" } }, { - "name": "onSuccess", - "type": { - "text": "(key: string) => void" - } - }, - { - "name": "onFail", - "type": { - "text": "(message: string) => void" - } + "name": "isTop", + "default": "false" } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "buildKeyVerificationDetails", - "privacy": "public", + "name": "createBaseElements", + "privacy": "protected", "static": true, "return": { "type": { - "text": "KeyVerificationDetails" + "text": "MessageElements" } - } - }, - { - "kind": "method", - "name": "directFetch", - "privacy": "public", - "static": true, + }, "parameters": [ { - "name": "serviceIO", - "type": { - "text": "ServiceIO" - } - }, - { - "name": "body", - "type": { - "text": "any" - } - }, - { - "name": "method", + "name": "role", "type": { - "text": "'POST' | 'GET'" + "text": "string" } - }, - { - "name": "stringify", - "default": "true" } - ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "GeminiUtils", - "declaration": { - "name": "GeminiUtils", - "module": "src/services/gemini/utils/geminiUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/services/mistral/utils/mistralUtils.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "MistralUtils", - "members": [ + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, { "kind": "method", - "name": "buildHeaders", - "privacy": "public", - "static": true, + "name": "addInnerContainerElements", + "privacy": "private", "parameters": [ { - "name": "key", + "name": "bubbleElement", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "text", + "type": { + "text": "string" + } + }, + { + "name": "role", "type": { "text": "string" } } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "handleVerificationResult", - "privacy": "private", - "static": true, + "name": "applyCustomStyles", + "privacy": "public", "parameters": [ { - "name": "result", + "name": "elements", "type": { - "text": "object" + "text": "MessageElements | undefined" } }, { - "name": "key", + "name": "role", "type": { "text": "string" } }, { - "name": "onSuccess", + "name": "media", "type": { - "text": "(key: string) => void" + "text": "boolean" } }, { - "name": "onFail", + "name": "otherStyles", + "optional": true, "type": { - "text": "(message: string) => void" + "text": "MessageRoleStyles | MessageElementsStyles" } } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "buildKeyVerificationDetails", + "name": "createMessageContent", "privacy": "public", "static": true, "return": { "type": { - "text": "KeyVerificationDetails" + "text": "MessageContentI" + } + }, + "parameters": [ + { + "name": "content", + "type": { + "text": "Response" + } } + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" } - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "MistralUtils", - "declaration": { - "name": "MistralUtils", - "module": "src/services/mistral/utils/mistralUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/services/huggingFace/utils/huggingFaceUtils.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "HuggingFaceUtils", - "members": [ + }, { "kind": "method", - "name": "buildHeaders", + "name": "removeMessage", "privacy": "public", - "static": true, "parameters": [ { - "name": "key", + "name": "messageElements", "type": { - "text": "string" + "text": "MessageElements" } } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "handleVerificationResult", - "privacy": "private", + "name": "removeLastMessage", + "privacy": "public", + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "method", + "name": "isLastMessageError", + "privacy": "public", + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "method", + "name": "isLoadingMessage", + "privacy": "public", "static": true, "parameters": [ { - "name": "result", + "name": "elements", + "optional": true, "type": { - "text": "object" + "text": "MessageElements" } - }, + } + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "method", + "name": "sendClientUpdate", + "privacy": "public", + "parameters": [ { - "name": "key", + "name": "message", "type": { - "text": "string" + "text": "MessageContentI" } }, { - "name": "onSuccess", + "name": "isHistory", + "default": "false" + } + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } + }, + { + "kind": "method", + "name": "renderText", + "privacy": "public", + "parameters": [ + { + "name": "bubbleElement", "type": { - "text": "(key: string) => void" + "text": "HTMLElement" } }, { - "name": "onFail", + "name": "text", "type": { - "text": "(message: string) => void" + "text": "string" } } - ] + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" + } }, { "kind": "method", - "name": "buildKeyVerificationDetails", - "privacy": "public", - "static": true, - "return": { - "type": { - "text": "KeyVerificationDetails" + "name": "refreshTextMessages", + "privacy": "protected", + "parameters": [ + { + "name": "customConfig", + "optional": true, + "type": { + "text": "RemarkableOptions" + } } + ], + "inheritedFrom": { + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" } } - ] + ], + "superclass": { + "name": "MessagesBase", + "module": "/src/views/chat/messages/messagesBase" + } } ], "exports": [ { "kind": "js", - "name": "HuggingFaceUtils", + "name": "Messages", "declaration": { - "name": "HuggingFaceUtils", - "module": "src/services/huggingFace/utils/huggingFaceUtils.ts" + "name": "Messages", + "module": "src/views/chat/messages/messages.ts" } } ] }, { "kind": "javascript-module", - "path": "src/services/openAI/utils/openAIAssistantUtils.ts", + "path": "src/views/chat/messages/messagesBase.ts", "declarations": [ { "kind": "class", "description": "", - "name": "OpenAIAssistantUtils", + "name": "MessagesBase", "members": [ { "kind": "field", - "name": "FILES_WITH_TEXT_ERROR", + "name": "messageElementRefs", + "type": { + "text": "MessageElements[]" + }, + "default": "[]" + }, + { + "kind": "field", + "name": "textToSpeech", + "type": { + "text": "ProcessedTextToSpeechConfig | undefined" + } + }, + { + "kind": "field", + "name": "submitUserMessage", + "type": { + "text": "(content: UserContent) => void | undefined" + } + }, + { + "kind": "field", + "name": "elementRef", + "type": { + "text": "HTMLElement" + }, + "readonly": true + }, + { + "kind": "field", + "name": "messageStyles", + "type": { + "text": "MessageStyles | undefined" + }, + "readonly": true + }, + { + "kind": "field", + "name": "htmlClassUtilities", + "type": { + "text": "HTMLClassUtilities" + }, + "readonly": true, + "default": "{}" + }, + { + "kind": "field", + "name": "messageToElements", + "type": { + "text": "MessageToElements" + }, + "readonly": true, + "default": "[]" + }, + { + "kind": "field", + "name": "_introPanel", + "type": { + "text": "IntroPanel | undefined" + }, + "privacy": "protected" + }, + { + "kind": "field", + "name": "_avatars", + "type": { + "text": "Avatars | undefined" + }, + "privacy": "protected", + "readonly": true + }, + { + "kind": "field", + "name": "_names", + "type": { + "text": "Names | undefined" + }, + "privacy": "protected", + "readonly": true + }, + { + "kind": "field", + "name": "_remarkable", + "type": { + "text": "Remarkable" + }, + "privacy": "private" + }, + { + "kind": "field", + "name": "_onMessage", + "type": { + "text": "(message: MessageContentI, isHistory: boolean) => void | undefined" + }, + "privacy": "private", + "readonly": true + }, + { + "kind": "field", + "name": "TEXT_BUBBLE_CLASS", "type": { "text": "string" }, "privacy": "public", "static": true, "readonly": true, - "default": "'content with type `text` must have `text` values'" + "default": "'text-message'" }, { "kind": "field", - "name": "FUNCTION_TOOL_RESP_ERROR", + "name": "INTRO_CLASS", + "type": { + "text": "string" + }, "privacy": "public", "static": true, - "readonly": true + "readonly": true, + "default": "'deep-chat-intro'" }, { "kind": "method", - "name": "storeFiles", + "name": "createContainerElement", + "privacy": "private", + "static": true + }, + { + "kind": "method", + "name": "addNewTextMessage", "privacy": "public", - "static": true, "parameters": [ { - "name": "serviceIO", + "name": "text", "type": { - "text": "ServiceIO" + "text": "string" } }, { - "name": "messages", + "name": "role", "type": { - "text": "Messages" + "text": "string" } }, { - "name": "files", + "name": "overwrite", + "optional": true, "type": { - "text": "File[]" + "text": "Overwrite" } + }, + { + "name": "isTop", + "default": "false" } ] }, { "kind": "method", - "name": "getType", + "name": "overwriteText", "privacy": "private", - "static": true, - "return": { - "type": { - "text": "MessageFileType" - } - }, "parameters": [ { - "name": "fileDetails", + "name": "role", "type": { - "text": "FileDetails" + "text": "string" } }, { - "name": "index", - "type": { - "text": "number" - } - } - ] - }, - { - "kind": "method", - "name": "getFiles", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "serviceIO", + "name": "text", "type": { - "text": "ServiceIO" + "text": "string" } }, { - "name": "fileDetails", + "name": "elementRefs", "type": { - "text": "FileDetails" + "text": "MessageElements[]" } } ] }, { "kind": "method", - "name": "getFileName", - "privacy": "private", - "static": true, + "name": "createAndAppendNewMessageElement", + "privacy": "protected", "parameters": [ { - "name": "path", + "name": "text", + "type": { + "text": "string" + } + }, + { + "name": "role", "type": { "text": "string" } @@ -30819,203 +36136,165 @@ }, { "kind": "method", - "name": "getFilesAndNewText", + "name": "createAndPrependNewMessageElement", "privacy": "private", - "static": true, "parameters": [ { - "name": "io", - "type": { - "text": "ServiceIO" - } - }, - { - "name": "fileDetails", + "name": "text", "type": { - "text": "FileDetails" + "text": "string" } }, { "name": "role", - "optional": true, "type": { "text": "string" } }, { - "name": "content", - "optional": true, + "name": "isTop", "type": { - "text": "OpenAIAssistantContent" + "text": "boolean" } } ] }, { "kind": "method", - "name": "getFileDetails", - "privacy": "private", - "static": true, + "name": "createMessageElementsOnOrientation", + "privacy": "public", "parameters": [ { - "name": "lastMessage", + "name": "text", "type": { - "text": "OpenAIAssistantData" + "text": "string" } }, { - "name": "content", - "optional": true, + "name": "role", "type": { - "text": "OpenAIAssistantContent" + "text": "string" + } + }, + { + "name": "isTop", + "type": { + "text": "boolean" } } ] }, { "kind": "method", - "name": "getFilesAndText", + "name": "createNewMessageElement", "privacy": "public", - "static": true, "parameters": [ { - "name": "io", + "name": "text", "type": { - "text": "ServiceIO" + "text": "string" } }, { - "name": "message", + "name": "role", "type": { - "text": "OpenAIAssistantData" + "text": "string" } }, { - "name": "content", - "optional": true, - "type": { - "text": "OpenAIAssistantContent" - } + "name": "isTop", + "default": "false" } ] }, { "kind": "method", - "name": "parseResult", + "name": "revealRoleElementsIfTempRemoved", "privacy": "private", - "static": true, "parameters": [ { - "name": "result", + "name": "tempElements", "type": { - "text": "OpenAIAssistantMessagesResult" + "text": "MessageElements" } }, { - "name": "isHistory", + "name": "newRole", "type": { - "text": "boolean" + "text": "string" } } ] }, { "kind": "method", - "name": "parseMessages", - "privacy": "private", + "name": "isTemporaryElement", + "privacy": "protected", "static": true, "parameters": [ { - "name": "io", - "type": { - "text": "DirectServiceIO" - } - }, - { - "name": "messages", + "name": "elements", "type": { - "text": "OpenAIAssistantData[]" + "text": "MessageElements" } } ] }, { "kind": "method", - "name": "processStreamMessages", + "name": "createElements", "privacy": "public", - "static": true, "parameters": [ { - "name": "io", + "name": "text", "type": { - "text": "DirectServiceIO" + "text": "string" } }, { - "name": "content", + "name": "role", "type": { - "text": "OpenAIAssistantContent[]" + "text": "string" } } ] }, { "kind": "method", - "name": "processAPIMessages", + "name": "createMessageElements", "privacy": "public", - "static": true, "parameters": [ { - "name": "io", + "name": "text", "type": { - "text": "DirectServiceIO" + "text": "string" } }, { - "name": "result", + "name": "role", "type": { - "text": "OpenAIAssistantMessagesResult" + "text": "string" } }, { - "name": "isHistory", - "type": { - "text": "boolean" - } + "name": "isTop", + "default": "false" } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "OpenAIAssistantUtils", - "declaration": { - "name": "OpenAIAssistantUtils", - "module": "src/services/openAI/utils/openAIAssistantUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/services/openAI/utils/openAIUtils.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "OpenAIUtils", - "members": [ + }, { - "kind": "method", - "name": "buildHeaders", - "privacy": "public", + "kind": "method", + "name": "createBaseElements", + "privacy": "protected", "static": true, + "return": { + "type": { + "text": "MessageElements" + } + }, "parameters": [ { - "name": "key", + "name": "role", "type": { "text": "string" } @@ -31024,261 +36303,167 @@ }, { "kind": "method", - "name": "handleVerificationResult", + "name": "addInnerContainerElements", "privacy": "private", - "static": true, "parameters": [ { - "name": "result", + "name": "bubbleElement", "type": { - "text": "object" + "text": "HTMLElement" } }, { - "name": "key", + "name": "text", "type": { "text": "string" } }, { - "name": "onSuccess", - "type": { - "text": "(key: string) => void" - } - }, - { - "name": "onFail", + "name": "role", "type": { - "text": "(message: string) => void" + "text": "string" } } ] }, { "kind": "method", - "name": "buildKeyVerificationDetails", - "privacy": "public", - "static": true, - "return": { - "type": { - "text": "KeyVerificationDetails" - } - } - }, - { - "kind": "method", - "name": "directFetch", + "name": "applyCustomStyles", "privacy": "public", - "static": true, "parameters": [ { - "name": "serviceIO", + "name": "elements", "type": { - "text": "ServiceIO" + "text": "MessageElements | undefined" } }, { - "name": "body", + "name": "role", "type": { - "text": "any" + "text": "string" } }, { - "name": "method", + "name": "media", "type": { - "text": "'POST' | 'GET'" + "text": "boolean" } }, { - "name": "stringify", - "default": "true" + "name": "otherStyles", + "optional": true, + "type": { + "text": "MessageRoleStyles | MessageElementsStyles" + } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "OpenAIUtils", - "declaration": { - "name": "OpenAIUtils", - "module": "src/services/openAI/utils/openAIUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/services/stabilityAI/utils/stabilityAIUtils.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "StabilityAIUtils", - "members": [ + }, { "kind": "method", - "name": "buildHeaders", + "name": "createMessageContent", "privacy": "public", "static": true, + "return": { + "type": { + "text": "MessageContentI" + } + }, "parameters": [ { - "name": "key", + "name": "content", "type": { - "text": "string" + "text": "Response" } } ] }, { "kind": "method", - "name": "handleVerificationResult", - "privacy": "private", - "static": true, + "name": "removeMessage", + "privacy": "public", "parameters": [ { - "name": "result", - "type": { - "text": "object" - } - }, - { - "name": "key", - "type": { - "text": "string" - } - }, - { - "name": "onSuccess", - "type": { - "text": "(key: string) => void" - } - }, - { - "name": "onFail", + "name": "messageElements", "type": { - "text": "(message: string) => void" + "text": "MessageElements" } } ] }, { "kind": "method", - "name": "buildKeyVerificationDetails", - "privacy": "public", - "static": true, - "return": { - "type": { - "text": "KeyVerificationDetails" - } - } - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "StabilityAIUtils", - "declaration": { - "name": "StabilityAIUtils", - "module": "src/services/stabilityAI/utils/stabilityAIUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/introPanel/introPanel.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "IntroPanel", - "members": [ - { - "kind": "field", - "name": "_elementRef", - "type": { - "text": "HTMLElement | undefined" - }, - "readonly": true + "name": "removeLastMessage", + "privacy": "public" }, { - "kind": "field", - "name": "_isDisplayed", - "type": { - "text": "boolean" - }, - "privacy": "private", - "default": "false" + "kind": "method", + "name": "isLastMessageError", + "privacy": "public" }, { "kind": "method", - "name": "createIntroPanel", - "privacy": "private", + "name": "isLoadingMessage", + "privacy": "public", "static": true, "parameters": [ { - "name": "introPanelStyle", + "name": "elements", "optional": true, "type": { - "text": "CustomStyle" + "text": "MessageElements" } } ] }, { "kind": "method", - "name": "createIntroPanelWithChild", - "privacy": "private", + "name": "sendClientUpdate", + "privacy": "public", "parameters": [ { - "name": "childElement", + "name": "message", "type": { - "text": "HTMLElement" + "text": "MessageContentI" } }, { - "name": "introPanelStyle", - "optional": true, - "type": { - "text": "CustomStyle" - } + "name": "isHistory", + "default": "false" } ] }, { "kind": "method", - "name": "createInternalIntroPanel", - "privacy": "private", + "name": "renderText", + "privacy": "public", "parameters": [ { - "name": "introPanelMarkUp", + "name": "bubbleElement", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "introPanelStyle", - "optional": true, + "name": "text", "type": { - "text": "CustomStyle" + "text": "string" } } ] }, { "kind": "method", - "name": "hide", - "privacy": "public" - }, - { - "kind": "method", - "name": "display", - "privacy": "public" + "name": "refreshTextMessages", + "privacy": "protected", + "parameters": [ + { + "name": "customConfig", + "optional": true, + "type": { + "text": "RemarkableOptions" + } + } + ] } ] } @@ -31286,171 +36471,216 @@ "exports": [ { "kind": "js", - "name": "IntroPanel", + "name": "MessagesBase", "declaration": { - "name": "IntroPanel", - "module": "src/views/chat/introPanel/introPanel.ts" + "name": "MessagesBase", + "module": "src/views/chat/messages/messagesBase.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/input/input.ts", + "path": "src/views/chat/messages/name.ts", "declarations": [ { "kind": "class", "description": "", - "name": "Input", + "name": "Name", "members": [ { "kind": "field", - "name": "elementRef", + "name": "NAME_CLASS", "type": { - "text": "HTMLElement" + "text": "string" }, - "readonly": true + "privacy": "private", + "static": true, + "readonly": true, + "default": "'name'" }, { "kind": "method", - "name": "createPanelElement", - "privacy": "private", + "name": "hide", + "privacy": "public", "static": true, "parameters": [ { - "name": "customStyle", - "optional": true, + "name": "innerContainer", "type": { - "text": "CustomStyle" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "createFileUploadComponents", - "privacy": "private", + "name": "reveal", + "privacy": "public", + "static": true, "parameters": [ { - "name": "deepChat", - "type": { - "text": "DeepChat" - } - }, - { - "name": "serviceIO", + "name": "innerContainer", "type": { - "text": "ServiceIO" + "text": "HTMLElement" } - }, + } + ] + }, + { + "kind": "method", + "name": "getPosition", + "privacy": "private", + "static": true, + "parameters": [ { - "name": "containerElement", + "name": "role", "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "buttons", + "name": "names", "type": { - "text": "Buttons" + "text": "CustomNames" } } ] }, { "kind": "method", - "name": "createUploadButtons", + "name": "applyStyle", "privacy": "private", "static": true, "parameters": [ { - "name": "deepChat", + "name": "element", "type": { - "text": "DeepChat" + "text": "HTMLElement" } }, { - "name": "fileTypes", + "name": "role", "type": { - "text": "ServiceFileTypes" + "text": "string" } }, { - "name": "fileAtt", + "name": "names", "type": { - "text": "FileAttachments" + "text": "CustomNames" } - }, + } + ] + }, + { + "kind": "method", + "name": "getNameText", + "privacy": "private", + "static": true, + "parameters": [ { - "name": "containerEl", + "name": "role", "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "buttons", + "name": "names", "type": { - "text": "Buttons" + "text": "CustomNames" } } ] }, { "kind": "method", - "name": "addElements", + "name": "createName", "privacy": "private", "static": true, "parameters": [ { - "name": "panel", + "name": "role", "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "textInput", + "name": "names", "type": { - "text": "TextInputEl" + "text": "CustomNames" } - }, + } + ] + }, + { + "kind": "method", + "name": "add", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "buttons", + "name": "messageText", "type": { - "text": "Buttons" + "text": "HTMLElement" } }, { - "name": "container", + "name": "role", "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "fileAttachments", + "name": "names", "type": { - "text": "FileAttachments" + "text": "Names" + } + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "Name", + "declaration": { + "name": "Name", + "module": "src/views/chat/messages/name.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/messages/setupMessages.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "SetupMessages", + "members": [ + { + "kind": "method", + "name": "getText", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" } }, { - "name": "dropupStyles", - "optional": true, + "name": "serviceIO", "type": { - "text": "DropupStyles" + "text": "ServiceIO" } } ] - }, - { - "kind": "field", - "name": "submit", - "type": { - "text": "object" - }, - "default": "{button: submitButton}" - }, - { - "kind": "field", - "name": "submitUserMessage" } ] } @@ -31458,10 +36688,10 @@ "exports": [ { "kind": "js", - "name": "Input", + "name": "SetupMessages", "declaration": { - "name": "Input", - "module": "src/views/chat/input/input.ts" + "name": "SetupMessages", + "module": "src/views/chat/messages/setupMessages.ts" } } ] @@ -31987,163 +37217,94 @@ }, { "kind": "javascript-module", - "path": "src/views/chat/messages/avatar.ts", + "path": "src/views/chat/introPanel/introPanel.ts", "declarations": [ { "kind": "class", "description": "", - "name": "Avatar", + "name": "IntroPanel", "members": [ { "kind": "field", - "name": "CONTAINER_CLASS", + "name": "_elementRef", "type": { - "text": "string" + "text": "HTMLElement | undefined" }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'avatar-container'" - }, - { - "kind": "method", - "name": "hide", - "privacy": "public", - "static": true, - "parameters": [ - { - "name": "innerContainer", - "type": { - "text": "HTMLElement" - } - } - ] - }, - { - "kind": "method", - "name": "applyCustomStylesToElements", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "container", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "avatar", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "style", - "type": { - "text": "AvatarStyles" - } - } - ] + "readonly": true }, { - "kind": "method", - "name": "applyCustomStyles", + "kind": "field", + "name": "_isDisplayed", + "type": { + "text": "boolean" + }, "privacy": "private", - "static": true, - "parameters": [ - { - "name": "container", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "avatar", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "avatars", - "type": { - "text": "CustomAvatars" - } - }, - { - "name": "role", - "type": { - "text": "string" - } - } - ] + "default": "false" }, { "kind": "method", - "name": "createAvatar", + "name": "createIntroPanel", "privacy": "private", "static": true, "parameters": [ { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "avatars", + "name": "introPanelStyle", "optional": true, "type": { - "text": "CustomAvatars" + "text": "CustomStyle" } } ] }, { "kind": "method", - "name": "getPosition", + "name": "createIntroPanelWithChild", "privacy": "private", - "static": true, "parameters": [ { - "name": "role", + "name": "childElement", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "avatars", + "name": "introPanelStyle", "optional": true, "type": { - "text": "CustomAvatars" + "text": "CustomStyle" } } ] }, { "kind": "method", - "name": "add", - "privacy": "public", - "static": true, + "name": "createInternalIntroPanel", + "privacy": "private", "parameters": [ { - "name": "messageText", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "role", + "name": "introPanelMarkUp", "type": { "text": "string" } }, { - "name": "avatars", + "name": "introPanelStyle", + "optional": true, "type": { - "text": "Avatars" + "text": "CustomStyle" } } ] + }, + { + "kind": "method", + "name": "hide", + "privacy": "public" + }, + { + "kind": "method", + "name": "display", + "privacy": "public" } ] } @@ -32151,147 +37312,124 @@ "exports": [ { "kind": "js", - "name": "Avatar", + "name": "IntroPanel", "declaration": { - "name": "Avatar", - "module": "src/views/chat/messages/avatar.ts" + "name": "IntroPanel", + "module": "src/views/chat/introPanel/introPanel.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/messages/fileMessageUtils.ts", + "path": "src/services/openAI/assistant/utils/openAIAssistantUtils.ts", "declarations": [ { "kind": "class", "description": "", - "name": "FileMessageUtils", + "name": "OpenAIAssistantUtils", "members": [ { "kind": "field", - "name": "DEFAULT_FILE_NAME", + "name": "FILES_WITH_TEXT_ERROR", "type": { "text": "string" }, "privacy": "public", "static": true, "readonly": true, - "default": "'file'" + "default": "'content with type `text` must have `text` values'" + }, + { + "kind": "field", + "name": "FUNCTION_TOOL_RESP_ERROR", + "privacy": "public", + "static": true, + "readonly": true }, { "kind": "method", - "name": "addMessage", + "name": "storeFiles", "privacy": "public", "static": true, "parameters": [ { - "name": "messages", + "name": "serviceIO", "type": { - "text": "MessagesBase" + "text": "ServiceIO" } }, { - "name": "elements", + "name": "messages", "type": { - "text": "MessageElements" + "text": "Messages" } }, { - "name": "styles", + "name": "files", "type": { - "text": "keyof MessageStyles" + "text": "File[]" } }, { - "name": "role", + "name": "storeFilesUrl", "type": { "text": "string" } - }, - { - "name": "isTop", - "type": { - "text": "boolean" - } } ] }, { "kind": "method", - "name": "wrapInLink", + "name": "getType", "privacy": "private", "static": true, - "parameters": [ - { - "name": "element", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "url", - "type": { - "text": "string" - } - }, - { - "name": "name", - "optional": true, - "type": { - "text": "string" - } + "return": { + "type": { + "text": "MessageFileType" } - ] - }, - { - "kind": "method", - "name": "isNonLinkableDataUrl", - "privacy": "private", - "static": true, + }, "parameters": [ { - "name": "type", + "name": "fileDetails", "type": { - "text": "MessageFileType" + "text": "FileDetails" } }, { - "name": "url", + "name": "index", "type": { - "text": "string" + "text": "number" } } ] }, { "kind": "method", - "name": "processContent", - "privacy": "public", + "name": "getFiles", + "privacy": "private", "static": true, "parameters": [ { - "name": "type", + "name": "serviceIO", "type": { - "text": "MessageFileType" + "text": "ServiceIO" } }, { - "name": "contentEl", + "name": "fileDetails", "type": { - "text": "HTMLElement" + "text": "FileDetails" } }, { - "name": "url", - "optional": true, + "name": "urlPrefix", "type": { "text": "string" } }, { - "name": "name", - "optional": true, + "name": "urlPosfix", "type": { "text": "string" } @@ -32300,326 +37438,212 @@ }, { "kind": "method", - "name": "waitToLoadThenScroll", + "name": "getFileName", "privacy": "private", "static": true, "parameters": [ { - "name": "messagesContainerEl", - "type": { - "text": "HTMLElement" - } - } - ] - }, - { - "kind": "method", - "name": "scrollDownOnImageLoad", - "privacy": "public", - "static": true, - "parameters": [ - { - "name": "url", + "name": "path", "type": { "text": "string" } - }, - { - "name": "messagesContainerEl", - "type": { - "text": "HTMLElement" - } } ] }, { "kind": "method", - "name": "reAddFileRefToObject", - "privacy": "public", + "name": "getFilesAndNewText", + "privacy": "private", "static": true, "parameters": [ { - "name": "message", + "name": "io", "type": { - "text": "MessageContent" + "text": "ServiceIO" } }, { - "name": "body", + "name": "fileDetails", "type": { - "text": "{message: MessageContent; isHistory: boolean}" + "text": "FileDetails" } - } - ] - }, - { - "kind": "method", - "name": "removeFileRef", - "privacy": "public", - "static": true, - "return": { - "type": { - "text": "Omit" - } - }, - "parameters": [ + }, { - "name": "messageFile", + "name": "urls", "type": { - "text": "MessageFile" + "text": "URLSegments" } - } - ] - }, - { - "kind": "method", - "name": "isAudioFile", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "fileData", + "name": "role", + "optional": true, "type": { - "text": "MessageFile" + "text": "string" } - } - ] - }, - { - "kind": "method", - "name": "isImageFile", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "fileData", + "name": "content", + "optional": true, "type": { - "text": "MessageFile" + "text": "OpenAIAssistantContent" } } ] }, { "kind": "method", - "name": "isImageFileExtension", - "privacy": "public", - "static": true, - "parameters": [ - { - "name": "fileName", - "type": { - "text": "string" - } - } - ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "FileMessageUtils", - "declaration": { - "name": "FileMessageUtils", - "module": "src/views/chat/messages/fileMessageUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/messages/fileMessages.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "FileMessages", - "members": [ - { - "kind": "method", - "name": "createImage", + "name": "getFileDetails", "privacy": "private", "static": true, "parameters": [ { - "name": "imageData", - "type": { - "text": "MessageFile" - } - }, - { - "name": "messagesContainerEl", + "name": "lastMessage", "type": { - "text": "HTMLElement" + "text": "OpenAIAssistantData" } }, { - "name": "isTop", + "name": "content", + "optional": true, "type": { - "text": "boolean" + "text": "OpenAIAssistantContent" } } ] }, { "kind": "method", - "name": "addNewImageMessage", - "privacy": "private", + "name": "getFilesAndText", + "privacy": "public", "static": true, "parameters": [ { - "name": "messages", + "name": "io", "type": { - "text": "Messages" + "text": "ServiceIO" } }, { - "name": "imageData", + "name": "message", "type": { - "text": "MessageFile" + "text": "OpenAIAssistantData" } }, { - "name": "role", + "name": "urls", "type": { - "text": "string" + "text": "URLSegments" } }, { - "name": "isTop", + "name": "content", + "optional": true, "type": { - "text": "boolean" + "text": "OpenAIAssistantContent" } } ] }, { "kind": "method", - "name": "createAudioElement", + "name": "parseResult", "privacy": "private", "static": true, "parameters": [ { - "name": "audioData", + "name": "result", "type": { - "text": "MessageFile" + "text": "OpenAIAssistantMessagesResult" } }, { - "name": "role", + "name": "isHistory", "type": { - "text": "string" + "text": "boolean" } } ] }, { "kind": "method", - "name": "addNewAudioMessage", + "name": "parseMessages", "privacy": "private", "static": true, "parameters": [ { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "audioData", + "name": "io", "type": { - "text": "MessageFile" + "text": "DirectServiceIO" } }, { - "name": "role", + "name": "messages", "type": { - "text": "string" + "text": "OpenAIAssistantData[]" } }, { - "name": "isTop", - "type": { - "text": "boolean" - } - } - ] - }, - { - "kind": "method", - "name": "createAnyFile", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "imageData", + "name": "urls", "type": { - "text": "MessageFile" + "text": "URLSegments" } } ] }, { "kind": "method", - "name": "addNewAnyFileMessage", - "privacy": "private", + "name": "processStreamMessages", + "privacy": "public", "static": true, "parameters": [ { - "name": "messages", - "type": { - "text": "Messages" - } - }, - { - "name": "data", + "name": "io", "type": { - "text": "MessageFile" + "text": "DirectServiceIO" } }, { - "name": "role", + "name": "content", "type": { - "text": "string" + "text": "OpenAIAssistantContent[]" } }, { - "name": "isTop", + "name": "urls", "type": { - "text": "boolean" + "text": "URLSegments" } } ] }, { "kind": "method", - "name": "addMessages", + "name": "processAPIMessages", "privacy": "public", "static": true, "parameters": [ { - "name": "messages", + "name": "io", "type": { - "text": "Messages" + "text": "DirectServiceIO" } }, { - "name": "files", + "name": "result", "type": { - "text": "MessageFiles" + "text": "OpenAIAssistantMessagesResult" } }, { - "name": "role", + "name": "isHistory", "type": { - "text": "string" + "text": "boolean" } }, { - "name": "isTop", + "name": "urls", "type": { - "text": "boolean" + "text": "URLSegments" } } ] @@ -32630,54 +37654,85 @@ "exports": [ { "kind": "js", - "name": "FileMessages", + "name": "OpenAIAssistantUtils", "declaration": { - "name": "FileMessages", - "module": "src/views/chat/messages/fileMessages.ts" + "name": "OpenAIAssistantUtils", + "module": "src/services/openAI/assistant/utils/openAIAssistantUtils.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/messages/loadingMessageDotsStyle.ts", + "path": "src/views/chat/input/buttonContainers/buttonContainers.ts", "declarations": [ { "kind": "class", "description": "", - "name": "LoadingMessageDotsStyle", + "name": "ButtonContainers", "members": [ { "kind": "method", - "name": "colorToHex", + "name": "create", + "privacy": "public", + "static": true + }, + { + "kind": "method", + "name": "add", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "inputContainer", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "buttonContainers", + "type": { + "text": "ButtonContainersT" + } + } + ] + }, + { + "kind": "method", + "name": "getContainerIndex", "privacy": "private", "static": true, "parameters": [ { - "name": "color", + "name": "position", "type": { - "text": "string" + "text": "ButtonPosition" } } ] }, { "kind": "method", - "name": "set", + "name": "addButton", "privacy": "public", "static": true, "parameters": [ { - "name": "bubbleElement", + "name": "buttonContainers", + "type": { + "text": "ButtonContainersT" + } + }, + { + "name": "elementRef", "type": { "text": "HTMLElement" } }, { - "name": "messageStyles", - "optional": true, + "name": "position", "type": { - "text": "MessageStyles" + "text": "ButtonPosition" } } ] @@ -32688,163 +37743,103 @@ "exports": [ { "kind": "js", - "name": "LoadingMessageDotsStyle", + "name": "ButtonContainers", "declaration": { - "name": "LoadingMessageDotsStyle", - "module": "src/views/chat/messages/loadingMessageDotsStyle.ts" + "name": "ButtonContainers", + "module": "src/views/chat/input/buttonContainers/buttonContainers.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/messages/messageStyleUtils.ts", + "path": "src/views/chat/input/buttons/buttonAccessility.ts", "declarations": [ { "kind": "class", "description": "", - "name": "MessageStyleUtils", + "name": "ButtonAccessibility", "members": [ { "kind": "method", - "name": "applyCustomStylesToElements", + "name": "addAttributes", "privacy": "public", "static": true, "parameters": [ { - "name": "elements", - "type": { - "text": "MessageElements" - } - }, - { - "name": "isMedia", - "type": { - "text": "boolean" - } - }, - { - "name": "styles", - "optional": true, + "name": "button", "type": { - "text": "MessageElementsStyles" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "applySideStyles", - "privacy": "private", + "name": "addAriaBusy", + "privacy": "public", "static": true, "parameters": [ { - "name": "elements", - "type": { - "text": "MessageElements" - } - }, - { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "media", - "type": { - "text": "boolean" - } - }, - { - "name": "styles", - "optional": true, + "name": "button", "type": { - "text": "MessageRoleStyles" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "isElementsStyles", - "privacy": "private", + "name": "removeAriaBusy", + "privacy": "public", "static": true, - "return": { - "type": { - "text": "styles is MessageElementsStyles" - } - }, "parameters": [ { - "name": "styles", + "name": "button", "type": { - "text": "MessageRoleStyles | MessageElementsStyles" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "applyCustomStyles", + "name": "addAriaDisabled", "privacy": "public", "static": true, "parameters": [ { - "name": "messageStyles", - "type": { - "text": "MessageStyles" - } - }, - { - "name": "elements", - "type": { - "text": "MessageElements" - } - }, - { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "media", + "name": "button", "type": { - "text": "boolean" + "text": "HTMLElement" } - }, - { - "name": "otherStyles", - "optional": true, + } + ] + }, + { + "kind": "method", + "name": "removeAriaDisabled", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "button", "type": { - "text": "MessageRoleStyles | MessageElementsStyles" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "extractParticularSharedStyles", + "name": "removeAriaAttributes", "privacy": "public", "static": true, - "return": { - "type": { - "text": "MessageElementsStyles | undefined" - } - }, "parameters": [ { - "name": "specificStyles", - "type": { - "text": "(keyof CustomStyle)[]" - } - }, - { - "name": "otherStyles", - "optional": true, + "name": "button", "type": { - "text": "MessageRoleStyles" + "text": "HTMLElement" } } ] @@ -32855,182 +37850,146 @@ "exports": [ { "kind": "js", - "name": "MessageStyleUtils", + "name": "ButtonAccessibility", "declaration": { - "name": "MessageStyleUtils", - "module": "src/views/chat/messages/messageStyleUtils.ts" + "name": "ButtonAccessibility", + "module": "src/views/chat/input/buttons/buttonAccessility.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/messages/messageUtils.ts", + "path": "src/views/chat/input/buttons/buttonCSS.ts", "declarations": [ { "kind": "class", "description": "", - "name": "MessageUtils", + "name": "ButtonCSS", "members": [ - { - "kind": "field", - "name": "AI_ROLE", - "type": { - "text": "string" - }, - "privacy": "public", - "static": true, - "readonly": true, - "default": "'ai'" - }, - { - "kind": "field", - "name": "USER_ROLE", - "type": { - "text": "string" - }, - "privacy": "public", - "static": true, - "readonly": true, - "default": "'user'" - }, - { - "kind": "field", - "name": "EMPTY_MESSAGE_CLASS", - "type": { - "text": "string" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "'empty-message'" - }, { "kind": "method", - "name": "getLastElementsByClass", + "name": "unsetAllCSS", "privacy": "public", "static": true, "parameters": [ { - "name": "messagesElements", - "type": { - "text": "MessageElements[]" - } - }, - { - "name": "classes", + "name": "button", "type": { - "text": "string[]" + "text": "HTMLElement" } }, { - "name": "avoidedClasses", - "optional": true, + "name": "styles", "type": { - "text": "string[]" + "text": "ButtonStyles" } } ] }, { "kind": "method", - "name": "getLastMessage", + "name": "unsetActionCSS", "privacy": "public", "static": true, "parameters": [ { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "role", + "name": "button", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "content", - "optional": true, + "name": "styles", "type": { - "text": "keyof Omit" + "text": "ButtonStyles" } } ] }, { "kind": "method", - "name": "getLastTextToElement", + "name": "setElementsCSS", "privacy": "public", "static": true, "parameters": [ { - "name": "elemsToText", + "name": "button", "type": { - "text": "[MessageElements, string][]" + "text": "HTMLElement" } }, { - "name": "elems", + "name": "styles", "type": { - "text": "MessageElements" + "text": "ButtonStyles" + } + }, + { + "name": "style", + "type": { + "text": "keyof StatefulStyles" } } ] }, { "kind": "method", - "name": "overwriteMessage", + "name": "setElementCssUpToState", "privacy": "public", "static": true, "parameters": [ { - "name": "messages", - "type": { - "text": "MessageContentI[]" - } - }, - { - "name": "messagesElements", - "type": { - "text": "MessageElements[]" - } - }, - { - "name": "content", - "type": { - "text": "string" - } - }, - { - "name": "role", + "name": "button", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "contentType", + "name": "styles", "type": { - "text": "'text' | 'html'" + "text": "ButtonStyles" } }, { - "name": "className", + "name": "style", "type": { - "text": "string" + "text": "keyof StatefulStyles" } } ] - }, + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "ButtonCSS", + "declaration": { + "name": "ButtonCSS", + "module": "src/views/chat/input/buttons/buttonCSS.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/input/buttons/customButtonInnerElements.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "CustomButtonInnerElements", + "members": [ { "kind": "method", - "name": "getRoleClass", - "privacy": "public", + "name": "createTextElement", + "privacy": "private", "static": true, "parameters": [ { - "name": "role", + "name": "text", "type": { "text": "string" } @@ -33039,155 +37998,127 @@ }, { "kind": "method", - "name": "fillEmptyMessageElement", - "privacy": "public", + "name": "createElement", + "privacy": "private", "static": true, "parameters": [ { - "name": "bubbleElement", + "name": "string", "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "content", + "name": "isText", "type": { - "text": "string" + "text": "boolean" } } ] }, { "kind": "method", - "name": "unfillEmptyMessageElement", + "name": "createCustomElement", "privacy": "public", "static": true, "parameters": [ { - "name": "bubbleElement", + "name": "state", "type": { - "text": "HTMLElement" + "text": "keyof T" } }, { - "name": "newContent", + "name": "customStyles", + "optional": true, "type": { - "text": "string" + "text": "ButtonStateStyles" } } ] }, { "kind": "method", - "name": "getLastMessageBubbleElement", - "privacy": "public", + "name": "processElement", + "privacy": "private", "static": true, "parameters": [ { - "name": "messagesEl", + "name": "parentEl", "type": { "text": "HTMLElement" } - } - ] - }, - { - "kind": "method", - "name": "getLastMessageElement", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "messagesEl", + "name": "element", + "optional": true, "type": { - "text": "HTMLElement" + "text": "Element" } } ] }, { "kind": "method", - "name": "addRoleElements", + "name": "createSpecificStateElement", "privacy": "public", "static": true, "parameters": [ { - "name": "bubbleElement", + "name": "parentEl", "type": { "text": "HTMLElement" } }, { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "avatars", - "optional": true, + "name": "state", "type": { - "text": "Avatars" + "text": "keyof T" } }, { - "name": "names", + "name": "customStyles", "optional": true, "type": { - "text": "Names" + "text": "ButtonStateStyles" } } ] }, { "kind": "method", - "name": "hideRoleElements", + "name": "createInnerElement", "privacy": "public", "static": true, "parameters": [ { - "name": "messageElementRefs", + "name": "parentEl", "type": { - "text": "MessageElements[]" + "text": "HTMLElement" } }, { - "name": "avatars", + "name": "baseButton", "type": { - "text": "boolean" + "text": "SVGGraphicsElement" } }, { - "name": "names", - "type": { - "text": "boolean" - } - } - ] - }, - { - "kind": "method", - "name": "updateRefArr", - "privacy": "public", - "static": true, - "parameters": [ - { - "name": "arr", + "name": "state", "type": { - "text": "Array" + "text": "keyof T" } }, { - "name": "item", + "name": "customStyles", + "optional": true, "type": { - "text": "T" + "text": "ButtonStateStyles" } }, { - "name": "isTop", - "type": { - "text": "boolean" - } + "name": "isDropup", + "default": "false" } ] } @@ -33197,458 +38128,329 @@ "exports": [ { "kind": "js", - "name": "MessageUtils", + "name": "CustomButtonInnerElements", "declaration": { - "name": "MessageUtils", - "module": "src/views/chat/messages/messageUtils.ts" + "name": "CustomButtonInnerElements", + "module": "src/views/chat/input/buttons/customButtonInnerElements.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/messages/messages.ts", + "path": "src/views/chat/input/buttons/inputButton.ts", "declarations": [ { "kind": "class", "description": "", - "name": "Messages", + "name": "InputButton", "members": [ { "kind": "field", - "name": "_errorMessageOverrides", - "type": { - "text": "ErrorMessageOverrides | undefined" - }, - "privacy": "private", - "readonly": true - }, - { - "kind": "field", - "name": "_onClearMessages", - "type": { - "text": "() => void | undefined" - }, - "privacy": "private", - "readonly": true - }, - { - "kind": "field", - "name": "_onError", + "name": "elementRef", "type": { - "text": "(error: string) => void | undefined" + "text": "HTMLElement" }, - "privacy": "private", - "readonly": true + "readonly": true, + "default": "buttonElement" }, { "kind": "field", - "name": "_displayLoadingMessage", + "name": "_mouseState", "type": { - "text": "boolean | undefined" + "text": "MouseState" }, - "privacy": "private", - "readonly": true + "privacy": "protected", + "readonly": true, + "default": "{state: 'default'}" }, { "kind": "field", - "name": "_permittedErrorPrefixes", + "name": "_customStyles", "type": { - "text": "CustomErrors | undefined" + "text": "T | undefined" }, - "privacy": "private", + "privacy": "protected", "readonly": true, - "default": "permittedErrorPrefixes" + "default": "customStyles" }, { "kind": "field", - "name": "_displayServiceErrorMessages", + "name": "position", "type": { - "text": "boolean | undefined" + "text": "ButtonPositionT | undefined" }, - "privacy": "private", - "readonly": true + "readonly": true, + "default": "position" }, { "kind": "field", - "name": "_introMessage", + "name": "dropupText", "type": { - "text": "IntroMessage | undefined" + "text": "string | undefined" }, - "privacy": "private" - }, - { - "kind": "field", - "name": "customDemoResponse", - "type": { - "text": "DemoResponse | undefined" - } + "readonly": true, + "default": "dropupText" }, { "kind": "method", - "name": "getDisplayLoadingMessage", + "name": "buttonMouseLeave", "privacy": "private", - "static": true, "parameters": [ { - "name": "deepChat", - "type": { - "text": "DeepChat" - } - }, - { - "name": "serviceIO", + "name": "customStyles", + "optional": true, "type": { - "text": "ServiceIO" + "text": "ButtonStyles" } } ] }, { "kind": "method", - "name": "prepareDemo", + "name": "buttonMouseEnter", "privacy": "private", "parameters": [ { - "name": "demo", + "name": "customStyles", + "optional": true, "type": { - "text": "Demo" + "text": "ButtonStyles" } } ] }, { "kind": "method", - "name": "addSetupMessageIfNeeded", + "name": "buttonMouseUp", "privacy": "private", "parameters": [ { - "name": "deepChat", - "type": { - "text": "DeepChat" - } - }, - { - "name": "serviceIO", + "name": "customStyles", + "optional": true, "type": { - "text": "ServiceIO" + "text": "ButtonStyles" } } ] }, { "kind": "method", - "name": "addIntroductoryMessage", + "name": "buttonMouseDown", "privacy": "private", "parameters": [ { - "name": "deepChat", - "optional": true, - "type": { - "text": "DeepChat" - } - }, - { - "name": "serviceIO", + "name": "customStyles", "optional": true, "type": { - "text": "ServiceIO" + "text": "ButtonStyles" } } ] }, { "kind": "method", - "name": "removeIntroductoryMessage", - "privacy": "public" - }, - { - "kind": "method", - "name": "addAnyMessage", - "privacy": "public", + "name": "setEvents", + "privacy": "private", "parameters": [ { - "name": "message", + "name": "customStyles", + "optional": true, "type": { - "text": "ResponseI" + "text": "ButtonStyles" } - }, - { - "name": "isHistory", - "default": "false" - }, - { - "name": "isTop", - "default": "false" } ] }, { "kind": "method", - "name": "addNewMessage", + "name": "unsetCustomStateStyles", "privacy": "public", "parameters": [ { - "name": "data", - "type": { - "text": "ResponseI" - } - }, - { - "name": "isHistory", - "default": "false" - }, - { - "name": "isTop", - "default": "false" - } - ] - }, - { - "kind": "method", - "name": "isValidMessageContent", - "privacy": "private", - "parameters": [ - { - "name": "messageContent", + "name": "unsetTypes", "type": { - "text": "MessageContentI" + "text": "(keyof T)[]" } } ] }, { "kind": "method", - "name": "updateStateOnMessage", - "privacy": "private", + "name": "reapplyStateStyle", + "privacy": "public", "parameters": [ { - "name": "messageContent", + "name": "setType", "type": { - "text": "MessageContentI" + "text": "keyof T" } }, { - "name": "overwritten", + "name": "unsetTypes", "optional": true, "type": { - "text": "boolean" + "text": "(keyof T)[]" } - }, - { - "name": "update", - "default": "true" - }, - { - "name": "isHistory", - "default": "false" } ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "InputButton", + "declaration": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/input/dropup/dropup.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "Dropup", + "members": [ + { + "kind": "field", + "name": "_menu", + "type": { + "text": "DropupMenu" + }, + "privacy": "private", + "readonly": true, + "default": "new DropupMenu(containerElement, styles?.menu)" }, { - "kind": "method", - "name": "removeMessageOnError", - "privacy": "private" + "kind": "field", + "name": "buttonContainer", + "type": { + "text": "HTMLElement" + }, + "readonly": true }, { "kind": "method", - "name": "addNewErrorMessage", - "privacy": "public", + "name": "createButtonElement", + "privacy": "private", + "static": true + }, + { + "kind": "method", + "name": "createInnerElements", + "privacy": "private", "parameters": [ { - "name": "type", - "type": { - "text": "keyof Omit" - } - }, - { - "name": "message", + "name": "customStyles", "optional": true, "type": { - "text": "ErrorResp" + "text": "Styles" } } ] }, { "kind": "method", - "name": "checkPermittedErrorPrefixes", + "name": "createInnerElement", "privacy": "private", - "static": true, - "return": { - "type": { - "text": "string | undefined" - } - }, "parameters": [ { - "name": "errorPrefixes", + "name": "baseButton", "type": { - "text": "string[]" + "text": "SVGGraphicsElement" } }, { - "name": "message", + "name": "state", "type": { - "text": "string" + "text": "'styles'" } - } - ] - }, - { - "kind": "method", - "name": "extractErrorMessages", - "privacy": "private", - "static": true, - "return": { - "type": { - "text": "string[]" - } - }, - "parameters": [ + }, { - "name": "message", + "name": "customStyles", + "optional": true, "type": { - "text": "ErrorResp" + "text": "Styles" } } ] }, { "kind": "method", - "name": "getPermittedMessage", + "name": "createSVGIconElement", "privacy": "private", - "return": { - "type": { - "text": "string | undefined" - } - }, - "parameters": [ - { - "name": "message", - "optional": true, - "type": { - "text": "ErrorResp" - } - } - ] + "static": true }, { "kind": "method", - "name": "removeError", - "privacy": "public" + "name": "addClickEvent", + "privacy": "private" }, { "kind": "method", - "name": "addLoadingMessage", - "privacy": "public" + "name": "createButtonContainer", + "privacy": "private", + "static": true }, { "kind": "method", - "name": "populateIntroPanel", - "privacy": "private", + "name": "addItem", "parameters": [ { - "name": "childElement", - "optional": true, - "type": { - "text": "HTMLElement" - } - }, - { - "name": "introPanelMarkUp", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "introPanelStyle", - "optional": true, + "name": "buttonProps", "type": { - "text": "CustomStyle" + "text": "InputButton" } } ] }, { "kind": "method", - "name": "addMultipleFiles", - "privacy": "public", + "name": "addContainerEvents", + "privacy": "private", "parameters": [ { - "name": "filesData", + "name": "containerElement", "type": { - "text": "{file: File; type: MessageFileType}[]" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "clearMessages", - "privacy": "private", + "name": "getPosition", + "static": true, "parameters": [ { - "name": "serviceIO", + "name": "positions", "type": { - "text": "ServiceIO" + "text": "Positions" } }, { - "name": "isReset", + "name": "dropupStyles", "optional": true, "type": { - "text": "boolean" + "text": "DropupStyles" } } ] }, { "kind": "field", - "name": "getMessages" - }, - { - "kind": "field", - "name": "refreshMessages" - }, - { - "kind": "field", - "name": "addMessage" - }, - { - "kind": "field", - "name": "messageElementRefs", - "type": { - "text": "MessageElements[]" - }, - "default": "[]", - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "field", - "name": "textToSpeech", - "type": { - "text": "ProcessedTextToSpeechConfig | undefined" - }, - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "field", - "name": "submitUserMessage", + "name": "id", "type": { - "text": "(content: UserContent) => void | undefined" + "text": "string" }, - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } + "default": "'dropup-icon'" }, { "kind": "field", @@ -33657,574 +38459,461 @@ "text": "HTMLElement" }, "readonly": true, + "default": "buttonElement", "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "field", - "name": "messageStyles", - "type": { - "text": "MessageStyles | undefined" - }, - "readonly": true, - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "field", - "name": "messages", - "type": { - "text": "MessageContentI[]" - }, - "readonly": true, - "default": "[]", - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "field", - "name": "htmlClassUtilities", - "type": { - "text": "HTMLClassUtilities" - }, - "readonly": true, - "default": "{}", - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "field", - "name": "textElementsToText", - "type": { - "text": "[MessageElements, string][]" - }, - "readonly": true, - "default": "[]", - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "field", - "name": "_introPanel", - "type": { - "text": "IntroPanel | undefined" - }, - "privacy": "protected", - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "field", - "name": "_avatars", + "name": "_mouseState", "type": { - "text": "Avatars | undefined" + "text": "MouseState" }, "privacy": "protected", "readonly": true, + "default": "{state: 'default'}", "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "field", - "name": "_names", + "name": "_customStyles", "type": { - "text": "Names | undefined" + "text": "T | undefined" }, "privacy": "protected", "readonly": true, + "default": "customStyles", "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "field", - "name": "_remarkable", + "name": "position", "type": { - "text": "Remarkable" + "text": "ButtonPositionT | undefined" }, - "privacy": "private", + "readonly": true, + "default": "position", "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "field", - "name": "_onMessage", + "name": "dropupText", "type": { - "text": "(message: MessageContentI, isHistory: boolean) => void | undefined" + "text": "string | undefined" }, - "privacy": "private", "readonly": true, + "default": "dropupText", "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "method", - "name": "createContainerElement", + "name": "buttonMouseLeave", "privacy": "private", - "static": true, + "parameters": [ + { + "name": "customStyles", + "optional": true, + "type": { + "text": "ButtonStyles" + } + } + ], "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "method", - "name": "addNewTextMessage", - "privacy": "public", + "name": "buttonMouseEnter", + "privacy": "private", "parameters": [ { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "overwrite", + "name": "customStyles", "optional": true, "type": { - "text": "Overwrite" + "text": "ButtonStyles" } - }, - { - "name": "isTop", - "default": "false" } ], "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "method", - "name": "overwriteText", + "name": "buttonMouseUp", "privacy": "private", "parameters": [ { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "elementRefs", + "name": "customStyles", + "optional": true, "type": { - "text": "MessageElements[]" + "text": "ButtonStyles" } } ], "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "method", - "name": "createAndAppendNewMessageElement", - "privacy": "protected", + "name": "buttonMouseDown", + "privacy": "private", "parameters": [ { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "role", + "name": "customStyles", + "optional": true, "type": { - "text": "string" + "text": "ButtonStyles" } } ], "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "method", - "name": "createAndPrependNewMessageElement", + "name": "setEvents", "privacy": "private", "parameters": [ { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "isTop", + "name": "customStyles", + "optional": true, "type": { - "text": "boolean" + "text": "ButtonStyles" } } ], "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "method", - "name": "createMessageElementsOnOrientation", + "name": "unsetCustomStateStyles", "privacy": "public", "parameters": [ { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "isTop", + "name": "unsetTypes", "type": { - "text": "boolean" + "text": "(keyof T)[]" } } ], "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } }, { "kind": "method", - "name": "createNewMessageElement", + "name": "reapplyStateStyle", "privacy": "public", "parameters": [ { - "name": "text", + "name": "setType", "type": { - "text": "string" + "text": "keyof T" } }, { - "name": "role", + "name": "unsetTypes", + "optional": true, "type": { - "text": "string" + "text": "(keyof T)[]" } - }, - { - "name": "isTop", - "default": "false" } ], "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" } - }, + } + ], + "superclass": { + "name": "InputButton", + "module": "/src/views/chat/input/buttons/inputButton" + } + } + ], + "exports": [ + { + "kind": "js", + "name": "Dropup", + "declaration": { + "name": "Dropup", + "module": "src/views/chat/input/dropup/dropup.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/input/dropup/dropupItem.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "DropupItem", + "members": [ { "kind": "method", - "name": "isTemporaryElement", - "privacy": "protected", + "name": "addItemEvents", + "privacy": "private", "static": true, "parameters": [ { - "name": "elements", + "name": "menu", "type": { - "text": "MessageElements" + "text": "DropupMenu" } - } - ], - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "method", - "name": "createMessageElements", - "privacy": "protected", - "parameters": [ + }, { - "name": "text", + "name": "item", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "role", + "name": "inputButton", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "isTop", - "default": "false" + "name": "styles", + "type": { + "text": "StatefulStyles" + } } - ], - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } + ] }, { "kind": "method", - "name": "createBaseElements", - "privacy": "protected", + "name": "createItemText", + "privacy": "private", "static": true, - "return": { - "type": { - "text": "MessageElements" - } - }, - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } + "parameters": [ + { + "name": "dropupText", + "optional": true, + "type": { + "text": "string" + } + }, + { + "name": "textStyle", + "optional": true, + "type": { + "text": "CustomStyle" + } + } + ] }, { "kind": "method", - "name": "addInnerContainerElements", + "name": "createItemIcon", "privacy": "private", + "static": true, "parameters": [ { - "name": "bubbleElement", + "name": "inputButtonElement", "type": { "text": "HTMLElement" } }, { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "role", + "name": "iconContainerStyle", + "optional": true, "type": { - "text": "string" + "text": "CustomStyle" } } - ], - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } + ] }, { "kind": "method", - "name": "applyCustomStyles", - "privacy": "public", + "name": "populateItem", + "privacy": "private", + "static": true, "parameters": [ { - "name": "elements", + "name": "elementRef", "type": { - "text": "MessageElements | undefined" + "text": "HTMLElement" } }, { - "name": "role", + "name": "item", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "media", + "name": "dropupText", + "optional": true, "type": { - "text": "boolean" + "text": "string" } }, { - "name": "otherStyles", + "name": "styles", "optional": true, "type": { - "text": "MessageRoleStyles | MessageElementsStyles" + "text": "DropupMenuStyles" } } - ], - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } + ] }, { "kind": "method", - "name": "createMessageContent", + "name": "createItem", "privacy": "public", "static": true, - "return": { - "type": { - "text": "MessageContentI" - } - }, "parameters": [ { - "name": "content", + "name": "menu", "type": { - "text": "Response" + "text": "DropupMenu" + } + }, + { + "name": "inputButton", + "type": { + "text": "InputButton" + } + }, + { + "name": "styles", + "optional": true, + "type": { + "text": "DropupMenuStyles" } } - ], - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "method", - "name": "removeLastMessage", - "privacy": "public", - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "method", - "name": "isLastMessageError", - "privacy": "public", - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "DropupItem", + "declaration": { + "name": "DropupItem", + "module": "src/views/chat/input/dropup/dropupItem.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/input/dropup/dropupItemNavigation.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "DropupItemNavigation", + "members": [ { "kind": "method", - "name": "sendClientUpdate", - "privacy": "public", + "name": "focusItemWhenOnEdge", + "privacy": "private", + "static": true, "parameters": [ { - "name": "message", + "name": "dropupElement", "type": { - "text": "MessageContentI" + "text": "HTMLElement" } }, { - "name": "isHistory", - "default": "false" + "name": "isNext", + "type": { + "text": "boolean" + } } - ], - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } + ] }, { "kind": "method", - "name": "renderText", + "name": "focusSiblingItem", "privacy": "public", + "static": true, + "return": { + "type": { + "text": "void" + } + }, "parameters": [ { - "name": "bubbleElement", + "name": "focusedItem", "type": { "text": "HTMLElement" } }, { - "name": "text", + "name": "dropupElement", "type": { - "text": "string" + "text": "HTMLElement" } + }, + { + "name": "isNext", + "type": { + "text": "boolean" + } + }, + { + "name": "isEdgeItem", + "default": "false" } - ], - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } - }, - { - "kind": "method", - "name": "refreshTextMessages", - "privacy": "protected", - "inheritedFrom": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" - } + ] } - ], - "superclass": { - "name": "MessagesBase", - "module": "/src/views/chat/messages/messagesBase" - } + ] } ], "exports": [ { "kind": "js", - "name": "Messages", + "name": "DropupItemNavigation", "declaration": { - "name": "Messages", - "module": "src/views/chat/messages/messages.ts" + "name": "DropupItemNavigation", + "module": "src/views/chat/input/dropup/dropupItemNavigation.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/messages/messagesBase.ts", + "path": "src/views/chat/input/dropup/dropupMenu.ts", "declarations": [ { "kind": "class", "description": "", - "name": "MessagesBase", + "name": "DropupMenu", "members": [ - { - "kind": "field", - "name": "messageElementRefs", - "type": { - "text": "MessageElements[]" - }, - "default": "[]" - }, - { - "kind": "field", - "name": "textToSpeech", - "type": { - "text": "ProcessedTextToSpeechConfig | undefined" - } - }, - { - "kind": "field", - "name": "submitUserMessage", - "type": { - "text": "(content: UserContent) => void | undefined" - } - }, { "kind": "field", "name": "elementRef", @@ -34235,409 +38924,398 @@ }, { "kind": "field", - "name": "messageStyles", - "type": { - "text": "MessageStyles | undefined" - }, - "readonly": true - }, - { - "kind": "field", - "name": "messages", + "name": "_isOpen", "type": { - "text": "MessageContentI[]" + "text": "boolean" }, - "readonly": true, - "default": "[]" + "privacy": "private", + "default": "true" }, { "kind": "field", - "name": "htmlClassUtilities", + "name": "highlightedItem", "type": { - "text": "HTMLClassUtilities" - }, - "readonly": true, - "default": "{}" + "text": "HTMLElement | undefined" + } }, { "kind": "field", - "name": "textElementsToText", + "name": "_styles", "type": { - "text": "[MessageElements, string][]" + "text": "DropupMenuStyles | undefined" }, + "privacy": "private", "readonly": true, - "default": "[]" - }, - { - "kind": "field", - "name": "_introPanel", - "type": { - "text": "IntroPanel | undefined" - }, - "privacy": "protected" - }, - { - "kind": "field", - "name": "_avatars", - "type": { - "text": "Avatars | undefined" - }, - "privacy": "protected", - "readonly": true - }, - { - "kind": "field", - "name": "_names", - "type": { - "text": "Names | undefined" - }, - "privacy": "protected", - "readonly": true + "default": "styles" }, { "kind": "field", - "name": "_remarkable", + "name": "clickEvent", "type": { - "text": "Remarkable" + "text": "(event: MouseEvent) => void | undefined" }, "privacy": "private" }, { "kind": "field", - "name": "_onMessage", + "name": "keyDownEvent", "type": { - "text": "(message: MessageContentI, isHistory: boolean) => void | undefined" + "text": "(event: KeyboardEvent) => void | undefined" }, - "privacy": "private", - "readonly": true + "privacy": "private" }, { "kind": "method", - "name": "createContainerElement", + "name": "createElement", "privacy": "private", - "static": true - }, - { - "kind": "method", - "name": "addNewTextMessage", - "privacy": "public", + "static": true, "parameters": [ { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "overwrite", + "name": "containerStyle", "optional": true, "type": { - "text": "Overwrite" + "text": "CustomStyle" } - }, - { - "name": "isTop", - "default": "false" } ] }, { "kind": "method", - "name": "overwriteText", - "privacy": "private", - "parameters": [ - { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "elementRefs", - "type": { - "text": "MessageElements[]" - } - } - ] + "name": "open", + "privacy": "private" }, { "kind": "method", - "name": "createAndAppendNewMessageElement", - "privacy": "protected", + "name": "close" + }, + { + "kind": "method", + "name": "toggle" + }, + { + "kind": "method", + "name": "addItem", "parameters": [ { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "role", + "name": "inputButton", "type": { - "text": "string" + "text": "InputButton" } } ] }, { "kind": "method", - "name": "createAndPrependNewMessageElement", + "name": "addWindowEvents", "privacy": "private", "parameters": [ { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "isTop", + "name": "containerElement", "type": { - "text": "boolean" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "createMessageElementsOnOrientation", - "privacy": "public", + "name": "windowClick", + "privacy": "private", "parameters": [ { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "role", + "name": "containerElement", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "isTop", + "name": "event", "type": { - "text": "boolean" + "text": "MouseEvent" } } ] }, { "kind": "method", - "name": "createNewMessageElement", - "privacy": "public", + "name": "windowKeyDown", + "privacy": "private", "parameters": [ { - "name": "text", + "name": "containerElement", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "role", + "name": "event", "type": { - "text": "string" + "text": "KeyboardEvent" } - }, - { - "name": "isTop", - "default": "false" } ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "DropupMenu", + "declaration": { + "name": "DropupMenu", + "module": "src/views/chat/input/dropup/dropupMenu.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/input/fileAttachments/fileAttachments.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "FileAttachments", + "members": [ + { + "kind": "field", + "name": "_fileAttachmentsTypes", + "type": { + "text": "FileAttachmentsType[]" + }, + "privacy": "private", + "readonly": true, + "default": "[]" }, { - "kind": "method", - "name": "isTemporaryElement", - "privacy": "protected", - "static": true, - "parameters": [ - { - "name": "elements", - "type": { - "text": "MessageElements" - } - } - ] + "kind": "field", + "name": "elementRef", + "type": { + "text": "HTMLElement" + }, + "readonly": true }, { "kind": "method", - "name": "createMessageElements", - "privacy": "protected", + "name": "addType", "parameters": [ { - "name": "text", + "name": "deepChat", "type": { - "text": "string" + "text": "DeepChat" } }, { - "name": "role", + "name": "files", "type": { - "text": "string" + "text": "FileAttachmentsT" } }, { - "name": "isTop", - "default": "false" + "name": "type", + "type": { + "text": "keyof ServiceFileTypes" + } } ] }, { "kind": "method", - "name": "createBaseElements", - "privacy": "protected", - "static": true, - "return": { - "type": { - "text": "MessageElements" - } - } + "name": "createAttachmentContainer", + "privacy": "private" }, { "kind": "method", - "name": "addInnerContainerElements", + "name": "toggleContainerDisplay", "privacy": "private", "parameters": [ { - "name": "bubbleElement", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "role", + "name": "display", "type": { - "text": "string" + "text": "boolean" } } ] }, { "kind": "method", - "name": "applyCustomStyles", + "name": "getAllFileData" + }, + { + "kind": "method", + "name": "completePlaceholders" + }, + { + "kind": "method", + "name": "addFilesToType", "privacy": "public", + "static": true, "parameters": [ { - "name": "elements", - "type": { - "text": "MessageElements | undefined" - } - }, - { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "media", + "name": "files", "type": { - "text": "boolean" + "text": "File[]" } }, { - "name": "otherStyles", - "optional": true, + "name": "fileAttachmentTypes", "type": { - "text": "MessageRoleStyles | MessageElementsStyles" + "text": "FileAttachmentsType[]" } } ] }, { "kind": "method", - "name": "createMessageContent", - "privacy": "public", - "static": true, - "return": { - "type": { - "text": "MessageContentI" - } - }, + "name": "addFilesToAnyType", "parameters": [ { - "name": "content", + "name": "files", "type": { - "text": "Response" + "text": "File[]" } } ] }, { "kind": "method", - "name": "removeLastMessage", - "privacy": "public" + "name": "removeAllFiles" }, { "kind": "method", - "name": "isLastMessageError", - "privacy": "public" - }, + "name": "getNumberOfTypes" + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "FileAttachments", + "declaration": { + "name": "FileAttachments", + "module": "src/views/chat/input/fileAttachments/fileAttachments.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/input/fileAttachments/newFileName.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "NewFileName", + "members": [ { "kind": "method", - "name": "sendClientUpdate", + "name": "getFileName", "privacy": "public", + "static": true, "parameters": [ { - "name": "message", + "name": "prefix", "type": { - "text": "MessageContentI" + "text": "string" } }, { - "name": "isHistory", - "default": "false" + "name": "extension", + "type": { + "text": "string" + } } ] - }, + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "NewFileName", + "declaration": { + "name": "NewFileName", + "module": "src/views/chat/input/fileAttachments/newFileName.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/input/textInput/focusUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "FocusUtils", + "members": [ { "kind": "method", - "name": "renderText", + "name": "focusEndOfInput", "privacy": "public", + "static": true, "parameters": [ { - "name": "bubbleElement", + "name": "inputElement", "type": { "text": "HTMLElement" } - }, + } + ] + }, + { + "kind": "method", + "name": "focusFromParentElement", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "text", + "name": "parentElement", "type": { - "text": "string" + "text": "HTMLElement" } } ] - }, + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "FocusUtils", + "declaration": { + "name": "FocusUtils", + "module": "src/views/chat/input/textInput/focusUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/input/textInput/pasteUtils.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "PasteUtils", + "members": [ { "kind": "method", - "name": "refreshTextMessages", - "privacy": "protected" + "name": "sanitizePastedTextContent", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "event", + "type": { + "text": "ClipboardEvent" + } + } + ] } ] } @@ -34645,134 +39323,199 @@ "exports": [ { "kind": "js", - "name": "MessagesBase", + "name": "PasteUtils", "declaration": { - "name": "MessagesBase", - "module": "src/views/chat/messages/messagesBase.ts" + "name": "PasteUtils", + "module": "src/views/chat/input/textInput/pasteUtils.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/messages/messagesHistory.ts", + "path": "src/views/chat/input/textInput/textInput.ts", "declarations": [ { "kind": "class", "description": "", - "name": "MessagesHistory", + "name": "TextInputEl", "members": [ { "kind": "field", - "name": "_messages", + "name": "TEXT_INPUT_ID", "type": { - "text": "Messages" + "text": "string" }, - "privacy": "private", - "readonly": true, - "default": "await loadHistory(0)" + "privacy": "public", + "static": true, + "default": "'text-input'" }, { "kind": "field", - "name": "_isLoading", + "name": "elementRef", "type": { - "text": "boolean" + "text": "HTMLElement" }, - "privacy": "private", - "default": "false" + "readonly": true }, { "kind": "field", - "name": "_isComplete", + "name": "inputElementRef", "type": { - "text": "boolean" + "text": "HTMLElement" + }, + "readonly": true + }, + { + "kind": "field", + "name": "_config", + "type": { + "text": "TextInput" }, "privacy": "private", - "default": "false" + "readonly": true, + "default": "processedConfig" + }, + { + "kind": "field", + "name": "submit", + "type": { + "text": "() => void | undefined" + } }, { "kind": "method", - "name": "loadInitialHistory", + "name": "processConfig", "privacy": "private", + "static": true, "parameters": [ { - "name": "deepChat", + "name": "serviceIO", "type": { - "text": "DeepChat" + "text": "ServiceIO" } }, { - "name": "loadHistory", + "name": "textInput", + "optional": true, "type": { - "text": "LoadHistory" + "text": "TextInput" } } ] }, { "kind": "method", - "name": "processLoadedHistory", + "name": "createContainerElement", "privacy": "private", + "static": true, "parameters": [ { - "name": "historyMessages", + "name": "containerStyle", + "optional": true, "type": { - "text": "HistoryMessage[]" + "text": "CustomStyle" } } ] }, { "kind": "method", - "name": "setupLoadHistory", + "name": "preventAutomaticScrollUpOnNewLine", "privacy": "private", + "static": true, "parameters": [ { - "name": "deepChat", + "name": "inputElement", "type": { - "text": "DeepChat" + "text": "HTMLDivElement" } - }, + } + ] + }, + { + "kind": "method", + "name": "clear", + "privacy": "public" + }, + { + "kind": "method", + "name": "createInputElement", + "privacy": "private" + }, + { + "kind": "method", + "name": "removePlaceholderStyle", + "privacy": "public" + }, + { + "kind": "method", + "name": "addEventListeners", + "privacy": "private", + "parameters": [ { - "name": "loadHistory", + "name": "inputElement", "type": { - "text": "LoadHistory" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "populateHistory", + "name": "onBlur", "privacy": "private", "parameters": [ { - "name": "deepChat", + "name": "focusStyle", "type": { - "text": "DeepChat" + "text": "CustomStyle" } }, { - "name": "historyArg", + "name": "containerStyle", "optional": true, "type": { - "text": "MessageContent[]" + "text": "CustomStyle" } } ] }, { "kind": "method", - "name": "fetchHistory", + "name": "onKeydown", "privacy": "private", "parameters": [ { - "name": "ioFetchHistory", + "name": "event", "type": { - "text": "Required['fetchHistory']" + "text": "KeyboardEvent" + } + } + ] + }, + { + "kind": "method", + "name": "onInput", + "privacy": "private" + }, + { + "kind": "method", + "name": "setPlaceholderText", + "privacy": "private", + "parameters": [ + { + "name": "text", + "type": { + "text": "string" } } ] + }, + { + "kind": "method", + "name": "isTextInputEmpty", + "privacy": "public" } ] } @@ -34780,156 +39523,121 @@ "exports": [ { "kind": "js", - "name": "MessagesHistory", + "name": "TextInputEl", "declaration": { - "name": "MessagesHistory", - "module": "src/views/chat/messages/messagesHistory.ts" + "name": "TextInputEl", + "module": "src/views/chat/input/textInput/textInput.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/messages/name.ts", + "path": "src/views/chat/input/textInput/textInputEvents.ts", "declarations": [ { "kind": "class", "description": "", - "name": "Name", + "name": "TextInputEvents", "members": [ { "kind": "field", - "name": "NAME_CLASS", - "type": { - "text": "string" - }, + "name": "PERMITTED_KEYS", "privacy": "private", "static": true, "readonly": true, - "default": "'name'" + "default": "new Set([\n KEYBOARD_KEY.BACKSPACE, KEYBOARD_KEY.DELETE, KEYBOARD_KEY.ARROW_RIGHT, KEYBOARD_KEY.ARROW_LEFT,\n KEYBOARD_KEY.ARROW_DOWN, KEYBOARD_KEY.ARROW_UP, KEYBOARD_KEY.META, KEYBOARD_KEY.CONTROL, KEYBOARD_KEY.ENTER\n ])" }, { "kind": "method", - "name": "hide", + "name": "add", "privacy": "public", "static": true, "parameters": [ { - "name": "innerContainer", + "name": "inputElement", "type": { "text": "HTMLElement" } - } - ] - }, - { - "kind": "method", - "name": "getPosition", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "role", - "type": { - "text": "string" - } }, { - "name": "names", - "type": { - "text": "CustomNames" - } - } - ] - }, - { - "kind": "method", - "name": "applyStyle", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "element", + "name": "fileAts", "type": { - "text": "HTMLElement" + "text": "FileAttachments" } }, { - "name": "role", + "name": "characterLimit", + "optional": true, "type": { - "text": "string" + "text": "number" } }, { - "name": "names", + "name": "validationHandler", + "optional": true, "type": { - "text": "CustomNames" + "text": "ValidationHandler" } } ] }, { "kind": "method", - "name": "getNameText", + "name": "onKeyDown", "privacy": "private", "static": true, "parameters": [ { - "name": "role", + "name": "characterLimit", "type": { - "text": "string" + "text": "number" } }, { - "name": "names", + "name": "event", "type": { - "text": "CustomNames" + "text": "KeyboardEvent" } } ] }, { "kind": "method", - "name": "createName", + "name": "isKeyCombinationPermitted", "privacy": "private", "static": true, "parameters": [ { - "name": "role", - "type": { - "text": "string" - } - }, - { - "name": "names", + "name": "event", "type": { - "text": "CustomNames" + "text": "KeyboardEvent" } } ] }, { "kind": "method", - "name": "add", - "privacy": "public", + "name": "onInput", + "privacy": "private", "static": true, "parameters": [ { - "name": "messageText", + "name": "characterLimit", "type": { - "text": "HTMLElement" + "text": "number | undefined" } }, { - "name": "role", + "name": "validate", "type": { - "text": "string" + "text": "ValidationHandler | undefined" } }, { - "name": "names", + "name": "event", "type": { - "text": "Names" + "text": "Event" } } ] @@ -34940,216 +39648,176 @@ "exports": [ { "kind": "js", - "name": "Name", + "name": "TextInputEvents", "declaration": { - "name": "Name", - "module": "src/views/chat/messages/name.ts" + "name": "TextInputEvents", + "module": "src/views/chat/input/textInput/textInputEvents.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/messages/setupMessages.ts", + "path": "src/views/chat/input/validation/validationHandler.ts", "declarations": [ { "kind": "class", "description": "", - "name": "SetupMessages", + "name": "ValidationHandler", "members": [ { "kind": "method", - "name": "getText", - "privacy": "public", + "name": "validate", + "privacy": "private", "static": true, "parameters": [ { - "name": "deepChat", + "name": "validation", "type": { - "text": "DeepChat" + "text": "ValidateFunc" } }, { - "name": "serviceIO", + "name": "submitButton", "type": { - "text": "ServiceIO" + "text": "SubmitButton" } - } - ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "SetupMessages", - "declaration": { - "name": "SetupMessages", - "module": "src/views/chat/messages/setupMessages.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/input/buttonContainers/buttonContainers.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "ButtonContainers", - "members": [ - { - "kind": "method", - "name": "create", - "privacy": "public", - "static": true - }, - { - "kind": "method", - "name": "add", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "inputContainer", + "name": "text", + "optional": true, "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "buttonContainers", + "name": "files", + "optional": true, "type": { - "text": "ButtonContainersT" + "text": "File[]" + } + }, + { + "name": "isProgrammatic", + "optional": true, + "type": { + "text": "boolean" } } ] }, { "kind": "method", - "name": "getContainerIndex", + "name": "useValidationFunc", "privacy": "private", "static": true, "parameters": [ { - "name": "position", + "name": "validation", "type": { - "text": "ButtonPosition" + "text": "ValidateFunc" + } + }, + { + "name": "textInput", + "type": { + "text": "TextInputEl" + } + }, + { + "name": "fileAttachments", + "type": { + "text": "FileAttachments" + } + }, + { + "name": "submitButton", + "type": { + "text": "SubmitButton" } } ] }, { "kind": "method", - "name": "addButton", - "privacy": "public", + "name": "useValidationFuncProgrammatic", + "privacy": "private", "static": true, "parameters": [ { - "name": "buttonContainers", + "name": "validation", "type": { - "text": "ButtonContainersT" + "text": "ValidateFunc" } }, { - "name": "elementRef", + "name": "programmatic", "type": { - "text": "HTMLElement" + "text": "UserContentI" } }, { - "name": "position", + "name": "submitButton", "type": { - "text": "ButtonPosition" + "text": "SubmitButton" } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "ButtonContainers", - "declaration": { - "name": "ButtonContainers", - "module": "src/views/chat/input/buttonContainers/buttonContainers.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/input/textInput/focusUtils.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "FocusUtils", - "members": [ + }, { "kind": "method", - "name": "focusEndOfInput", - "privacy": "public", + "name": "validateWebsocket", + "privacy": "private", "static": true, "parameters": [ { - "name": "inputElement", + "name": "serviceIO", "type": { - "text": "HTMLElement" + "text": "ServiceIO" + } + }, + { + "name": "submitButton", + "type": { + "text": "SubmitButton" } } ] }, { "kind": "method", - "name": "focusFromParentElement", + "name": "attach", "privacy": "public", "static": true, "parameters": [ { - "name": "parentElement", + "name": "deepChat", "type": { - "text": "HTMLElement" + "text": "DeepChat" } - } - ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "FocusUtils", - "declaration": { - "name": "FocusUtils", - "module": "src/views/chat/input/textInput/focusUtils.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/input/textInput/pasteUtils.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "PasteUtils", - "members": [ - { - "kind": "method", - "name": "sanitizePastedTextContent", - "privacy": "public", - "static": true, - "parameters": [ + }, { - "name": "event", + "name": "serviceIO", "type": { - "text": "ClipboardEvent" + "text": "ServiceIO" + } + }, + { + "name": "textInput", + "type": { + "text": "TextInputEl" + } + }, + { + "name": "fileAttachments", + "type": { + "text": "FileAttachments" + } + }, + { + "name": "submitButton", + "type": { + "text": "SubmitButton" } } ] @@ -35160,261 +39828,358 @@ "exports": [ { "kind": "js", - "name": "PasteUtils", + "name": "ValidationHandler", "declaration": { - "name": "PasteUtils", - "module": "src/views/chat/input/textInput/pasteUtils.ts" + "name": "ValidationHandler", + "module": "src/views/chat/input/validation/validationHandler.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/input/textInput/textInput.ts", + "path": "src/views/chat/messages/history/history.ts", "declarations": [ { "kind": "class", "description": "", - "name": "TextInputEl", + "name": "History", "members": [ { "kind": "field", - "name": "TEXT_INPUT_ID", + "name": "_messages", "type": { - "text": "string" + "text": "Messages" }, - "privacy": "public", - "static": true, - "default": "'text-input'" + "privacy": "private", + "readonly": true, + "default": "await loadHistory(this._index++)" }, { "kind": "field", - "name": "PLACEHOLDER_TEXT_CLASS", + "name": "FAILED_ERROR_MESSAGE", "type": { "text": "string" }, "privacy": "public", "static": true, - "default": "'text-input-placeholder'" + "readonly": true, + "default": "'Failed to load history'" }, { "kind": "field", - "name": "elementRef", + "name": "_isLoading", "type": { - "text": "HTMLElement" + "text": "boolean" }, - "readonly": true + "privacy": "private", + "default": "false" }, { "kind": "field", - "name": "inputElementRef", + "name": "_isPaginationComplete", "type": { - "text": "HTMLElement" + "text": "boolean" }, - "readonly": true + "privacy": "private", + "default": "false" }, { "kind": "field", - "name": "_config", + "name": "_index", "type": { - "text": "TextInput" + "text": "number" }, "privacy": "private", - "readonly": true, - "default": "processedConfig" + "default": "0" }, { - "kind": "field", - "name": "submit", - "type": { - "text": "() => void | undefined" - } + "kind": "method", + "name": "fetchHistory", + "privacy": "private", + "parameters": [ + { + "name": "ioFetchHistory", + "type": { + "text": "Required['fetchHistory']" + } + } + ] }, { "kind": "method", - "name": "processConfig", + "name": "processLoadedHistory", "privacy": "private", - "static": true, "parameters": [ { - "name": "serviceIO", + "name": "historyMessages", "type": { - "text": "ServiceIO" + "text": "HistoryMessage[]" + } + } + ] + }, + { + "kind": "method", + "name": "populateMessages", + "privacy": "private", + "parameters": [ + { + "name": "loadingElements", + "type": { + "text": "MessageElements" } }, { - "name": "textInput", - "optional": true, + "name": "messages", "type": { - "text": "TextInput" + "text": "HistoryMessage[]" } } ] }, { "kind": "method", - "name": "preventAutomaticScrollUpOnNewLine", + "name": "setupLoadHistoryOnScroll", "privacy": "private", - "static": true, "parameters": [ { - "name": "inputElement", + "name": "loadHistory", "type": { - "text": "HTMLDivElement" + "text": "LoadHistory" } } ] }, { "kind": "method", - "name": "clear", - "privacy": "public", - "static": true, + "name": "populateInitialHistory", + "privacy": "private", "parameters": [ { - "name": "inputElement", + "name": "history", "type": { - "text": "HTMLElement" + "text": "MessageContent[]" } } ] }, { "kind": "method", - "name": "createInputElement", + "name": "loadInitialHistory", "privacy": "private", "parameters": [ { - "name": "textInput", - "optional": true, + "name": "loadHistory", "type": { - "text": "TextInput" + "text": "LoadHistory" } } ] }, { "kind": "method", - "name": "removeTextIfPlaceholder", - "privacy": "public" + "name": "setupInitialHistory", + "privacy": "private", + "parameters": [ + { + "name": "deepChat", + "type": { + "text": "DeepChat" + } + } + ] }, { "kind": "method", - "name": "toggleEditability", + "name": "addErrorPrefix", "privacy": "public", "static": true, "parameters": [ { - "name": "inputElement", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "isEditable", + "name": "io", "type": { - "text": "boolean" + "text": "ServiceIO" } } ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "History", + "declaration": { + "name": "History", + "module": "src/views/chat/messages/history/history.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/messages/history/loadingHistory.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "LoadingHistory", + "members": [ + { + "kind": "field", + "name": "CLASS", + "type": { + "text": "string" + }, + "privacy": "public", + "static": true, + "readonly": true, + "default": "'loading-history-message'" + }, + { + "kind": "field", + "name": "FULL_VIEW_CLASS", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'loading-history-message-full-view'" + }, + { + "kind": "field", + "name": "SMALL_CLASS", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'loading-history-message-small'" }, { "kind": "method", - "name": "addEventListeners", + "name": "generateLoadingRingElement", + "privacy": "private", + "static": true + }, + { + "kind": "method", + "name": "apply", "privacy": "private", + "static": true, "parameters": [ { - "name": "inputElement", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "MessagesBase" } }, { - "name": "textInput", - "optional": true, + "name": "messageElements", "type": { - "text": "TextInput" + "text": "MessageElements" } - } - ] - }, - { - "kind": "method", - "name": "onFocus", - "privacy": "private", - "parameters": [ + }, { - "name": "focusStyle", + "name": "styles", "optional": true, "type": { - "text": "CustomStyle" + "text": "MessageElementsStyles" } } ] }, { "kind": "method", - "name": "onBlur", + "name": "addLoadHistoryMessage", "privacy": "private", + "static": true, "parameters": [ { - "name": "focusStyle", + "name": "messageElements", "type": { - "text": "CustomStyle" + "text": "MessageElements" } }, { - "name": "containerStyle", - "optional": true, + "name": "messages", "type": { - "text": "CustomStyle" + "text": "Messages" } + }, + { + "name": "isInitial", + "default": "true" } ] }, { "kind": "method", - "name": "createContainerElement", - "privacy": "private", + "name": "createDefaultElements", + "privacy": "public", "static": true, "parameters": [ { - "name": "containerStyle", - "optional": true, + "name": "messages", "type": { - "text": "CustomStyle" + "text": "Messages" } } ] }, { "kind": "method", - "name": "onKeydown", - "privacy": "private", + "name": "addMessage", + "privacy": "public", + "static": true, "parameters": [ { - "name": "event", + "name": "messages", "type": { - "text": "KeyboardEvent" + "text": "Messages" } + }, + { + "name": "isInitial", + "default": "true" } ] }, { "kind": "method", - "name": "setPlaceholderText", + "name": "tryChangeViewToSmall", "privacy": "private", + "static": true, "parameters": [ { - "name": "deepChat", + "name": "messages", "type": { - "text": "DeepChat" + "text": "MessagesBase" } }, { - "name": "text", + "name": "messageElements", + "optional": true, "type": { - "text": "string" + "text": "MessageElements" + } + } + ] + }, + { + "kind": "method", + "name": "changeFullViewToSmall", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "messages", + "type": { + "text": "MessagesBase" } } ] @@ -35425,121 +40190,140 @@ "exports": [ { "kind": "js", - "name": "TextInputEl", + "name": "LoadingHistory", "declaration": { - "name": "TextInputEl", - "module": "src/views/chat/input/textInput/textInput.ts" + "name": "LoadingHistory", + "module": "src/views/chat/messages/history/loadingHistory.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/input/textInput/textInputEvents.ts", + "path": "src/views/chat/messages/html/htmlDeepChatElements.ts", "declarations": [ { "kind": "class", "description": "", - "name": "TextInputEvents", + "name": "HTMLDeepChatElements", "members": [ - { - "kind": "field", - "name": "PERMITTED_KEYS", - "privacy": "private", - "static": true, - "readonly": true, - "default": "new Set([\n KEYBOARD_KEY.BACKSPACE, KEYBOARD_KEY.DELETE, KEYBOARD_KEY.ARROW_RIGHT, KEYBOARD_KEY.ARROW_LEFT,\n KEYBOARD_KEY.ARROW_DOWN, KEYBOARD_KEY.ARROW_UP, KEYBOARD_KEY.META, KEYBOARD_KEY.CONTROL, KEYBOARD_KEY.ENTER\n ])" - }, { "kind": "method", - "name": "add", - "privacy": "public", + "name": "applySuggestionEvent", + "privacy": "private", "static": true, "parameters": [ { - "name": "inputElement", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "MessagesBase" } }, { - "name": "fileAts", + "name": "element", "type": { - "text": "FileAttachments" + "text": "Element" } - }, + } + ] + }, + { + "kind": "method", + "name": "isElementTemporary", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "characterLimit", + "name": "messageElements", "optional": true, "type": { - "text": "number" + "text": "MessageElements" } - }, + } + ] + }, + { + "kind": "method", + "name": "doesElementContainDeepChatClass", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "validationHandler", - "optional": true, + "name": "element", "type": { - "text": "ValidationHandler" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "onKeyDown", + "name": "applyEvents", "privacy": "private", "static": true, "parameters": [ { - "name": "characterLimit", + "name": "element", "type": { - "text": "number" + "text": "Element" } }, { - "name": "event", + "name": "className", "type": { - "text": "KeyboardEvent" + "text": "string" } } ] }, { "kind": "method", - "name": "isKeyCombinationPermitted", + "name": "getProcessedStyles", "privacy": "private", "static": true, "parameters": [ { - "name": "event", + "name": "utilities", "type": { - "text": "KeyboardEvent" + "text": "HTMLClassUtilities" + } + }, + { + "name": "element", + "type": { + "text": "Element" + } + }, + { + "name": "className", + "type": { + "text": "string" } } ] }, { "kind": "method", - "name": "onInput", - "privacy": "private", + "name": "applyDeepChatUtilities", + "privacy": "public", "static": true, "parameters": [ { - "name": "characterLimit", + "name": "messages", "type": { - "text": "number | undefined" + "text": "MessagesBase" } }, { - "name": "validate", + "name": "utilities", "type": { - "text": "ValidationHandler | undefined" + "text": "HTMLClassUtilities" } }, { - "name": "event", + "name": "element", "type": { - "text": "Event" + "text": "HTMLElement" } } ] @@ -35550,112 +40334,214 @@ "exports": [ { "kind": "js", - "name": "TextInputEvents", + "name": "HTMLDeepChatElements", "declaration": { - "name": "TextInputEvents", - "module": "src/views/chat/input/textInput/textInputEvents.ts" + "name": "HTMLDeepChatElements", + "module": "src/views/chat/messages/html/htmlDeepChatElements.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/input/buttons/buttonCSS.ts", + "path": "src/views/chat/messages/html/htmlMessages.ts", "declarations": [ { "kind": "class", "description": "", - "name": "ButtonCSS", + "name": "HTMLMessages", "members": [ + { + "kind": "field", + "name": "HTML_BUBBLE_CLASS", + "type": { + "text": "string" + }, + "privacy": "public", + "static": true, + "readonly": true, + "default": "'html-message'" + }, + { + "kind": "method", + "name": "addElement", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "messages", + "type": { + "text": "MessagesBase" + } + }, + { + "name": "outerElement", + "type": { + "text": "HTMLElement" + } + } + ] + }, + { + "kind": "method", + "name": "createElements", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "messages", + "type": { + "text": "MessagesBase" + } + }, + { + "name": "html", + "type": { + "text": "string" + } + }, + { + "name": "role", + "type": { + "text": "string" + } + }, + { + "name": "isTop", + "type": { + "text": "boolean" + } + } + ] + }, { "kind": "method", - "name": "unsetAllCSS", + "name": "overwriteElements", "privacy": "public", "static": true, "parameters": [ { - "name": "button", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "MessagesBase" } }, { - "name": "styles", + "name": "html", "type": { - "text": "ButtonStyles" + "text": "string" + } + }, + { + "name": "overwrittenElements", + "type": { + "text": "MessageElements" } } ] }, { "kind": "method", - "name": "unsetActionCSS", - "privacy": "public", + "name": "overwrite", + "privacy": "private", "static": true, "parameters": [ { - "name": "button", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "MessagesBase" } }, { - "name": "styles", + "name": "html", "type": { - "text": "ButtonStyles" + "text": "string" + } + }, + { + "name": "role", + "type": { + "text": "string" + } + }, + { + "name": "messagesEls", + "type": { + "text": "MessageElements[]" } } ] }, { "kind": "method", - "name": "setElementsCSS", + "name": "create", "privacy": "public", "static": true, "parameters": [ { - "name": "button", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "MessagesBase" } }, { - "name": "styles", + "name": "html", "type": { - "text": "ButtonStyles" + "text": "string" } }, { - "name": "style", + "name": "role", "type": { - "text": "keyof StatefulStyles" + "text": "string" } + }, + { + "name": "isTop", + "default": "false" } ] }, { "kind": "method", - "name": "setElementCssUpToState", + "name": "add", "privacy": "public", "static": true, "parameters": [ { - "name": "button", + "name": "messages", "type": { - "text": "HTMLElement" + "text": "MessagesBase" } }, { - "name": "styles", + "name": "html", "type": { - "text": "ButtonStyles" + "text": "string" } }, { - "name": "style", + "name": "role", "type": { - "text": "keyof StatefulStyles" + "text": "string" + } + }, + { + "name": "messagesEls", + "type": { + "text": "MessageElements[]" + } + }, + { + "name": "overwrite", + "optional": true, + "type": { + "text": "Overwrite" } + }, + { + "name": "isTop", + "default": "false" } ] } @@ -35665,160 +40551,218 @@ "exports": [ { "kind": "js", - "name": "ButtonCSS", + "name": "HTMLMessages", "declaration": { - "name": "ButtonCSS", - "module": "src/views/chat/input/buttons/buttonCSS.ts" + "name": "HTMLMessages", + "module": "src/views/chat/messages/html/htmlMessages.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/input/buttons/customButtonInnerElements.ts", + "path": "src/views/chat/messages/html/htmlUtils.ts", "declarations": [ { "kind": "class", "description": "", - "name": "CustomButtonInnerElements", + "name": "HTMLUtils", "members": [ { "kind": "method", - "name": "createTextElement", - "privacy": "private", + "name": "applyStylesToElement", + "privacy": "public", "static": true, "parameters": [ { - "name": "text", + "name": "element", "type": { - "text": "string" + "text": "HTMLElement" + } + }, + { + "name": "styles", + "type": { + "text": "StatefulStyles" } } ] }, { "kind": "method", - "name": "createElement", + "name": "applyEventsToElement", "privacy": "private", "static": true, "parameters": [ { - "name": "string", + "name": "element", "type": { - "text": "string" + "text": "HTMLElement" } }, { - "name": "isText", + "name": "events", "type": { - "text": "boolean" + "text": "EventToFunction" } } ] }, { "kind": "method", - "name": "createCustomElement", - "privacy": "public", + "name": "applyClassUtilitiesToElement", + "privacy": "private", "static": true, "parameters": [ { - "name": "state", + "name": "element", "type": { - "text": "keyof T" + "text": "HTMLElement" } }, { - "name": "customStyles", - "optional": true, + "name": "classUtility", "type": { - "text": "ButtonStateStyles" + "text": "HTMLClassUtility" } } ] }, { "kind": "method", - "name": "processElement", + "name": "applyCustomClassUtilities", "privacy": "private", "static": true, "parameters": [ { - "name": "parentEl", + "name": "utilities", "type": { - "text": "HTMLElement" + "text": "HTMLClassUtilities" } }, { "name": "element", - "optional": true, "type": { - "text": "Element" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "createSpecificStateElement", + "name": "apply", "privacy": "public", "static": true, "parameters": [ { - "name": "parentEl", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "state", + "name": "messages", "type": { - "text": "keyof T" + "text": "MessagesBase" } }, { - "name": "customStyles", - "optional": true, + "name": "outmostElement", "type": { - "text": "ButtonStateStyles" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "createInnerElement", - "privacy": "public", + "name": "traverseNodes", + "privacy": "private", "static": true, "parameters": [ { - "name": "parentEl", + "name": "node", "type": { - "text": "HTMLElement" + "text": "ChildNode" } }, { - "name": "baseButton", + "name": "topLevelElements", "type": { - "text": "SVGGraphicsElement" + "text": "string[]" } - }, + } + ] + }, + { + "kind": "method", + "name": "splitHTML", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "state", + "name": "htmlString", "type": { - "text": "keyof T" + "text": "string" } - }, + } + ] + } + ] + } + ], + "exports": [ + { + "kind": "js", + "name": "HTMLUtils", + "declaration": { + "name": "HTMLUtils", + "module": "src/views/chat/messages/html/htmlUtils.ts" + } + } + ] + }, + { + "kind": "javascript-module", + "path": "src/views/chat/messages/remarkable/remarkableConfig.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "RemarkableConfig", + "members": [ + { + "kind": "field", + "name": "DEFAULT_PROPERTIES", + "type": { + "text": "object" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "{\n breaks: true,\n linkTarget: '_blank', // set target to open in a new tab\n }" + }, + { + "kind": "method", + "name": "instantiate", + "privacy": "private", + "static": true, + "parameters": [ { - "name": "customStyles", + "name": "customConfig", "optional": true, "type": { - "text": "ButtonStateStyles" + "text": "RemarkableOptions" } - }, + } + ] + }, + { + "kind": "method", + "name": "createNew", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "isDropup", - "default": "false" + "name": "customConfig", + "optional": true, + "type": { + "text": "RemarkableOptions" + } } ] } @@ -35828,250 +40772,215 @@ "exports": [ { "kind": "js", - "name": "CustomButtonInnerElements", + "name": "RemarkableConfig", "declaration": { - "name": "CustomButtonInnerElements", - "module": "src/views/chat/input/buttons/customButtonInnerElements.ts" + "name": "RemarkableConfig", + "module": "src/views/chat/messages/remarkable/remarkableConfig.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/input/buttons/inputButton.ts", + "path": "src/views/chat/messages/stream/messageStream.ts", "declarations": [ { "kind": "class", "description": "", - "name": "InputButton", + "name": "MessageStream", "members": [ { "kind": "field", - "name": "elementRef", + "name": "MESSAGE_CLASS", "type": { - "text": "HTMLElement" + "text": "string" }, + "static": true, "readonly": true, - "default": "buttonElement" + "default": "'streamed-message'" }, { "kind": "field", - "name": "_mouseState", + "name": "_fileAdded", "type": { - "text": "MouseState" + "text": "boolean" }, - "privacy": "protected", - "readonly": true, - "default": "{state: 'default'}" + "privacy": "private", + "default": "false" }, { "kind": "field", - "name": "_customStyles", + "name": "_streamType", "type": { - "text": "T | undefined" + "text": "'text' | 'html' | ''" }, - "privacy": "protected", - "readonly": true, - "default": "customStyles" + "privacy": "private", + "default": "''" }, { "kind": "field", - "name": "position", + "name": "_elements", "type": { - "text": "ButtonPositionT | undefined" + "text": "MessageElements | undefined" }, - "readonly": true, - "default": "position" + "privacy": "private" }, { "kind": "field", - "name": "dropupText", + "name": "_hasStreamEnded", + "type": { + "text": "boolean" + }, + "privacy": "private", + "default": "false" + }, + { + "kind": "field", + "name": "_activeMessageRole", "type": { "text": "string | undefined" }, - "readonly": true, - "default": "dropupText" + "privacy": "private" }, { - "kind": "method", - "name": "buttonMouseLeave", + "kind": "field", + "name": "_message", + "type": { + "text": "MessageContentI | undefined" + }, + "privacy": "private" + }, + { + "kind": "field", + "name": "_messages", + "type": { + "text": "MessagesBase" + }, "privacy": "private", - "parameters": [ - { - "name": "customStyles", - "optional": true, - "type": { - "text": "ButtonStyles" - } - } - ] + "readonly": true, + "default": "messages" + }, + { + "kind": "field", + "name": "_endStreamAfterOperation", + "type": { + "text": "boolean | undefined" + }, + "privacy": "private" }, { "kind": "method", - "name": "buttonMouseEnter", - "privacy": "private", + "name": "upsertStreamedMessage", + "privacy": "public", "parameters": [ { - "name": "customStyles", + "name": "response", "optional": true, "type": { - "text": "ButtonStyles" + "text": "Response" } } ] }, { "kind": "method", - "name": "buttonMouseUp", + "name": "setInitialState", "privacy": "private", "parameters": [ { - "name": "customStyles", - "optional": true, + "name": "streamType", "type": { - "text": "ButtonStyles" + "text": "'text' | 'html'" } - } - ] - }, - { - "kind": "method", - "name": "buttonMouseDown", - "privacy": "private", - "parameters": [ + }, { - "name": "customStyles", - "optional": true, + "name": "content", "type": { - "text": "ButtonStyles" + "text": "string" } - } - ] - }, - { - "kind": "method", - "name": "setEvents", - "privacy": "private", - "parameters": [ + }, { - "name": "customStyles", + "name": "role", "optional": true, "type": { - "text": "ButtonStyles" + "text": "string" } } ] }, { "kind": "method", - "name": "unsetCustomStateStyles", - "privacy": "public", + "name": "updateBasedOnType", + "privacy": "private", "parameters": [ { - "name": "unsetTypes", + "name": "content", "type": { - "text": "(keyof T)[]" + "text": "string" } - } - ] - }, - { - "kind": "method", - "name": "reapplyStateStyle", - "privacy": "public", - "parameters": [ + }, { - "name": "setType", + "name": "expectedType", "type": { - "text": "keyof T" + "text": "string" } }, { - "name": "unsetTypes", - "optional": true, + "name": "bubbleElement", "type": { - "text": "(keyof T)[]" + "text": "HTMLElement" } + }, + { + "name": "isOverwrite", + "default": "false" } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "InputButton", - "declaration": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/input/fileAttachments/fileAttachments.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "FileAttachments", - "members": [ - { - "kind": "field", - "name": "_fileAttachmentsTypes", - "type": { - "text": "FileAttachmentsType[]" - }, - "privacy": "private", - "readonly": true, - "default": "[]" - }, - { - "kind": "field", - "name": "elementRef", - "type": { - "text": "HTMLElement" - }, - "readonly": true }, { "kind": "method", - "name": "addType", + "name": "updateText", + "privacy": "private", "parameters": [ { - "name": "deepChat", + "name": "text", "type": { - "text": "DeepChat" + "text": "string" } }, { - "name": "files", + "name": "bubbleElement", "type": { - "text": "FileAttachmentsT" + "text": "HTMLElement" } }, { - "name": "type", + "name": "isOverwrite", "type": { - "text": "keyof ServiceFileTypes" + "text": "boolean" } } ] }, { "kind": "method", - "name": "createAttachmentContainer", - "privacy": "private" - }, - { - "kind": "method", - "name": "toggleContainerDisplay", + "name": "updateHTML", "privacy": "private", "parameters": [ { - "name": "display", + "name": "html", + "type": { + "text": "string" + } + }, + { + "name": "bubbleElement", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "isOverwrite", "type": { "text": "boolean" } @@ -36080,51 +40989,37 @@ }, { "kind": "method", - "name": "getAllFileData" + "name": "finaliseStreamedMessage", + "privacy": "public" }, { "kind": "method", - "name": "completePlaceholders" + "name": "markFileAdded", + "privacy": "public" }, { "kind": "method", - "name": "addFilesToType", + "name": "newMessage", + "privacy": "public" + }, + { + "kind": "method", + "name": "endStreamAfterFileDownloaded", "privacy": "public", - "static": true, "parameters": [ { - "name": "files", + "name": "messages", "type": { - "text": "File[]" + "text": "Messages" } }, { - "name": "fileAttachmentTypes", - "type": { - "text": "FileAttachmentsType[]" - } - } - ] - }, - { - "kind": "method", - "name": "addFilesToAnyType", - "parameters": [ - { - "name": "files", + "name": "downloadCb", "type": { - "text": "File[]" + "text": "() => Promise<{files?: MessageFile[]; text?: string}>" } } ] - }, - { - "kind": "method", - "name": "removeAllFiles" - }, - { - "kind": "method", - "name": "getNumberOfTypes" } ] } @@ -36132,39 +41027,70 @@ "exports": [ { "kind": "js", - "name": "FileAttachments", + "name": "MessageStream", "declaration": { - "name": "FileAttachments", - "module": "src/views/chat/input/fileAttachments/fileAttachments.ts" + "name": "MessageStream", + "module": "src/views/chat/messages/stream/messageStream.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/input/fileAttachments/newFileName.ts", + "path": "src/views/chat/messages/textToSpeech/textToSpeech.ts", "declarations": [ { "kind": "class", "description": "", - "name": "NewFileName", + "name": "TextToSpeech", "members": [ + { + "kind": "field", + "name": "LOAD_VOICES_MS", + "type": { + "text": "number" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "200" + }, { "kind": "method", - "name": "getFileName", + "name": "speak", "privacy": "public", "static": true, "parameters": [ { - "name": "prefix", + "name": "text", "type": { "text": "string" } }, { - "name": "extension", + "name": "config", "type": { - "text": "string" + "text": "ProcessedTextToSpeechConfig" + } + } + ] + }, + { + "kind": "method", + "name": "processConfig", + "privacy": "public", + "static": true, + "parameters": [ + { + "name": "config", + "type": { + "text": "boolean | TextToSpeechConfig" + } + }, + { + "name": "set", + "type": { + "text": "(config: ProcessedTextToSpeechConfig) => void" } } ] @@ -36175,514 +41101,307 @@ "exports": [ { "kind": "js", - "name": "NewFileName", + "name": "TextToSpeech", "declaration": { - "name": "NewFileName", - "module": "src/views/chat/input/fileAttachments/newFileName.ts" + "name": "TextToSpeech", + "module": "src/views/chat/messages/textToSpeech/textToSpeech.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/input/dropup/dropup.ts", + "path": "src/views/chat/messages/utils/fileMessageUtils.ts", "declarations": [ { "kind": "class", "description": "", - "name": "Dropup", + "name": "FileMessageUtils", "members": [ { "kind": "field", - "name": "_menu", + "name": "DEFAULT_FILE_NAME", "type": { - "text": "DropupMenu" + "text": "string" }, - "privacy": "private", + "privacy": "public", + "static": true, "readonly": true, - "default": "new DropupMenu(containerElement, styles?.menu)" + "default": "'file'" }, { "kind": "field", - "name": "buttonContainer", + "name": "FILE_BUBBLE_CLASS", "type": { - "text": "HTMLElement" + "text": "string" }, - "readonly": true - }, - { - "kind": "method", - "name": "createButtonElement", - "privacy": "private", - "static": true + "privacy": "public", + "static": true, + "readonly": true, + "default": "'file-message'" }, { "kind": "method", - "name": "createInnerElements", - "privacy": "private", + "name": "setElementProps", + "privacy": "public", + "static": true, "parameters": [ { - "name": "customStyles", - "optional": true, + "name": "messages", "type": { - "text": "Styles" + "text": "MessagesBase" } - } - ] - }, - { - "kind": "method", - "name": "createInnerElement", - "privacy": "private", - "parameters": [ + }, { - "name": "baseButton", + "name": "elements", "type": { - "text": "SVGGraphicsElement" + "text": "MessageElements" } }, { - "name": "state", + "name": "styles", "type": { - "text": "'styles'" + "text": "keyof MessageStyles" } }, { - "name": "customStyles", - "optional": true, + "name": "role", "type": { - "text": "Styles" + "text": "string" } } ] }, { "kind": "method", - "name": "createSVGIconElement", - "privacy": "private", - "static": true - }, - { - "kind": "method", - "name": "addClickEvent", - "privacy": "private" - }, - { - "kind": "method", - "name": "createButtonContainer", - "privacy": "private", - "static": true - }, - { - "kind": "method", - "name": "addItem", + "name": "addMessage", + "privacy": "public", + "static": true, "parameters": [ { - "name": "buttonProps", + "name": "messages", "type": { - "text": "InputButton" + "text": "MessagesBase" } - } - ] - }, - { - "kind": "method", - "name": "addContainerEvents", - "privacy": "private", - "parameters": [ + }, { - "name": "containerElement", + "name": "elements", "type": { - "text": "HTMLElement" + "text": "MessageElements" } - } - ] - }, - { - "kind": "method", - "name": "getPosition", - "static": true, - "parameters": [ + }, { - "name": "positions", + "name": "styles", "type": { - "text": "Positions" + "text": "keyof MessageStyles" } }, { - "name": "dropupStyles", - "optional": true, + "name": "role", "type": { - "text": "DropupStyles" + "text": "string" } - } - ] - }, - { - "kind": "field", - "name": "id", - "type": { - "text": "string" - }, - "default": "'dropup-icon'" - }, - { - "kind": "field", - "name": "elementRef", - "type": { - "text": "HTMLElement" - }, - "readonly": true, - "default": "buttonElement", - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "field", - "name": "_mouseState", - "type": { - "text": "MouseState" - }, - "privacy": "protected", - "readonly": true, - "default": "{state: 'default'}", - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "field", - "name": "_customStyles", - "type": { - "text": "T | undefined" - }, - "privacy": "protected", - "readonly": true, - "default": "customStyles", - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "field", - "name": "position", - "type": { - "text": "ButtonPositionT | undefined" - }, - "readonly": true, - "default": "position", - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "field", - "name": "dropupText", - "type": { - "text": "string | undefined" - }, - "readonly": true, - "default": "dropupText", - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "buttonMouseLeave", - "privacy": "private", - "parameters": [ + }, { - "name": "customStyles", - "optional": true, + "name": "isTop", "type": { - "text": "ButtonStyles" + "text": "boolean" } } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } + ] }, { "kind": "method", - "name": "buttonMouseEnter", + "name": "wrapInLink", "privacy": "private", + "static": true, "parameters": [ { - "name": "customStyles", - "optional": true, + "name": "element", "type": { - "text": "ButtonStyles" + "text": "HTMLElement" } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "buttonMouseUp", - "privacy": "private", - "parameters": [ + }, { - "name": "customStyles", - "optional": true, + "name": "url", "type": { - "text": "ButtonStyles" + "text": "string" } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "buttonMouseDown", - "privacy": "private", - "parameters": [ + }, { - "name": "customStyles", + "name": "name", "optional": true, "type": { - "text": "ButtonStyles" + "text": "string" } } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } + ] }, { "kind": "method", - "name": "setEvents", + "name": "isNonLinkableDataUrl", "privacy": "private", + "static": true, "parameters": [ { - "name": "customStyles", - "optional": true, + "name": "type", "type": { - "text": "ButtonStyles" + "text": "MessageFileType" } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "unsetCustomStateStyles", - "privacy": "public", - "parameters": [ + }, { - "name": "unsetTypes", + "name": "url", "type": { - "text": "(keyof T)[]" + "text": "string" } } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } + ] }, { "kind": "method", - "name": "reapplyStateStyle", + "name": "processContent", "privacy": "public", - "parameters": [ - { - "name": "setType", - "type": { - "text": "keyof T" - } - }, - { - "name": "unsetTypes", - "optional": true, - "type": { - "text": "(keyof T)[]" - } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - } - ], - "superclass": { - "name": "InputButton", - "module": "/src/views/chat/input/buttons/inputButton" - } - } - ], - "exports": [ - { - "kind": "js", - "name": "Dropup", - "declaration": { - "name": "Dropup", - "module": "src/views/chat/input/dropup/dropup.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/input/dropup/dropupItem.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "DropupItem", - "members": [ - { - "kind": "method", - "name": "addItemEvents", - "privacy": "private", "static": true, "parameters": [ { - "name": "menu", + "name": "type", "type": { - "text": "DropupMenu" + "text": "MessageFileType" } }, { - "name": "item", + "name": "contentEl", "type": { "text": "HTMLElement" } }, { - "name": "inputButton", + "name": "url", + "optional": true, "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "styles", + "name": "name", + "optional": true, "type": { - "text": "StatefulStyles" + "text": "string" } } ] }, { "kind": "method", - "name": "createItemText", + "name": "waitToLoadThenScroll", "privacy": "private", "static": true, "parameters": [ { - "name": "dropupText", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "textStyle", - "optional": true, + "name": "messagesContainerEl", "type": { - "text": "CustomStyle" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "createItemIcon", - "privacy": "private", + "name": "scrollDownOnImageLoad", + "privacy": "public", "static": true, "parameters": [ { - "name": "inputButtonElement", + "name": "url", "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "iconContainerStyle", - "optional": true, + "name": "messagesContainerEl", "type": { - "text": "CustomStyle" + "text": "HTMLElement" } } ] }, { "kind": "method", - "name": "populateItem", - "privacy": "private", + "name": "reAddFileRefToObject", + "privacy": "public", "static": true, "parameters": [ { - "name": "elementRef", + "name": "message", "type": { - "text": "HTMLElement" + "text": "MessageContent" } }, { - "name": "item", + "name": "body", "type": { - "text": "HTMLElement" + "text": "{message: MessageContent; isHistory: boolean}" } - }, + } + ] + }, + { + "kind": "method", + "name": "removeFileRef", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "Omit" + } + }, + "parameters": [ { - "name": "dropupText", - "optional": true, + "name": "messageFile", "type": { - "text": "string" + "text": "MessageFile" } - }, + } + ] + }, + { + "kind": "method", + "name": "isAudioFile", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "styles", - "optional": true, + "name": "fileData", "type": { - "text": "DropupMenuStyles" + "text": "MessageFile" } } ] }, { "kind": "method", - "name": "createItem", + "name": "isImageFile", "privacy": "public", "static": true, "parameters": [ { - "name": "menu", - "type": { - "text": "DropupMenu" - } - }, - { - "name": "inputButton", + "name": "fileData", "type": { - "text": "InputButton" + "text": "MessageFile" } - }, + } + ] + }, + { + "kind": "method", + "name": "isImageFileExtension", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "styles", - "optional": true, + "name": "fileName", "type": { - "text": "DropupMenuStyles" + "text": "string" } } ] @@ -36693,238 +41412,163 @@ "exports": [ { "kind": "js", - "name": "DropupItem", + "name": "FileMessageUtils", "declaration": { - "name": "DropupItem", - "module": "src/views/chat/input/dropup/dropupItem.ts" + "name": "FileMessageUtils", + "module": "src/views/chat/messages/utils/fileMessageUtils.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/input/dropup/dropupItemNavigation.ts", + "path": "src/views/chat/messages/utils/messageStyleUtils.ts", "declarations": [ { "kind": "class", "description": "", - "name": "DropupItemNavigation", + "name": "MessageStyleUtils", "members": [ { "kind": "method", - "name": "focusItemWhenOnEdge", - "privacy": "private", + "name": "applyCustomStylesToElements", + "privacy": "public", "static": true, "parameters": [ { - "name": "dropupElement", + "name": "elements", "type": { - "text": "HTMLElement" + "text": "MessageElements" } }, { - "name": "isNext", + "name": "isMedia", "type": { "text": "boolean" } + }, + { + "name": "styles", + "optional": true, + "type": { + "text": "MessageElementsStyles" + } } ] }, { "kind": "method", - "name": "focusSiblingItem", - "privacy": "public", + "name": "applySideStyles", + "privacy": "private", "static": true, - "return": { - "type": { - "text": "void" - } - }, "parameters": [ { - "name": "focusedItem", + "name": "elements", "type": { - "text": "HTMLElement" + "text": "MessageElements" } }, { - "name": "dropupElement", + "name": "role", "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "isNext", + "name": "media", "type": { "text": "boolean" } }, { - "name": "isEdgeItem", - "default": "false" + "name": "styles", + "optional": true, + "type": { + "text": "MessageRoleStyles" + } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "DropupItemNavigation", - "declaration": { - "name": "DropupItemNavigation", - "module": "src/views/chat/input/dropup/dropupItemNavigation.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/input/dropup/dropupMenu.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "DropupMenu", - "members": [ - { - "kind": "field", - "name": "elementRef", - "type": { - "text": "HTMLElement" - }, - "readonly": true - }, - { - "kind": "field", - "name": "_isOpen", - "type": { - "text": "boolean" - }, - "privacy": "private", - "default": "true" - }, - { - "kind": "field", - "name": "highlightedItem", - "type": { - "text": "HTMLElement | undefined" - } - }, - { - "kind": "field", - "name": "_styles", - "type": { - "text": "DropupMenuStyles | undefined" - }, - "privacy": "private", - "readonly": true, - "default": "styles" - }, - { - "kind": "field", - "name": "clickEvent", - "type": { - "text": "(event: MouseEvent) => void | undefined" - }, - "privacy": "private" - }, - { - "kind": "field", - "name": "keyDownEvent", - "type": { - "text": "(event: KeyboardEvent) => void | undefined" - }, - "privacy": "private" }, { "kind": "method", - "name": "createElement", + "name": "isElementsStyles", "privacy": "private", "static": true, + "return": { + "type": { + "text": "styles is MessageElementsStyles" + } + }, "parameters": [ { - "name": "containerStyle", - "optional": true, + "name": "styles", "type": { - "text": "CustomStyle" + "text": "MessageRoleStyles | MessageElementsStyles" } } ] }, { "kind": "method", - "name": "open", - "privacy": "private" - }, - { - "kind": "method", - "name": "close" - }, - { - "kind": "method", - "name": "toggle" - }, - { - "kind": "method", - "name": "addItem", + "name": "applyCustomStyles", + "privacy": "public", + "static": true, "parameters": [ { - "name": "inputButton", + "name": "messageStyles", "type": { - "text": "InputButton" + "text": "MessageStyles" } - } - ] - }, - { - "kind": "method", - "name": "addWindowEvents", - "privacy": "private", - "parameters": [ + }, { - "name": "containerElement", + "name": "elements", "type": { - "text": "HTMLElement" + "text": "MessageElements" } - } - ] - }, - { - "kind": "method", - "name": "windowClick", - "privacy": "private", - "parameters": [ + }, { - "name": "containerElement", + "name": "role", "type": { - "text": "HTMLElement" + "text": "string" } }, { - "name": "event", + "name": "media", "type": { - "text": "MouseEvent" + "text": "boolean" + } + }, + { + "name": "otherStyles", + "optional": true, + "type": { + "text": "MessageRoleStyles | MessageElementsStyles" } } ] }, { "kind": "method", - "name": "windowKeyDown", - "privacy": "private", + "name": "extractParticularSharedStyles", + "privacy": "public", + "static": true, + "return": { + "type": { + "text": "MessageElementsStyles | undefined" + } + }, "parameters": [ { - "name": "containerElement", + "name": "specificStyles", "type": { - "text": "HTMLElement" + "text": "(keyof CustomStyle)[]" } }, { - "name": "event", + "name": "otherStyles", + "optional": true, "type": { - "text": "KeyboardEvent" + "text": "MessageRoleStyles" } } ] @@ -36935,301 +41579,235 @@ "exports": [ { "kind": "js", - "name": "DropupMenu", + "name": "MessageStyleUtils", "declaration": { - "name": "DropupMenu", - "module": "src/views/chat/input/dropup/dropupMenu.ts" + "name": "MessageStyleUtils", + "module": "src/views/chat/messages/utils/messageStyleUtils.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/input/validation/validationHandler.ts", + "path": "src/views/chat/messages/utils/messageUtils.ts", "declarations": [ { "kind": "class", "description": "", - "name": "ValidationHandler", + "name": "MessageUtils", "members": [ { - "kind": "method", - "name": "validate", + "kind": "field", + "name": "AI_ROLE", + "type": { + "text": "string" + }, + "privacy": "public", + "static": true, + "readonly": true, + "default": "'ai'" + }, + { + "kind": "field", + "name": "USER_ROLE", + "type": { + "text": "string" + }, + "privacy": "public", + "static": true, + "readonly": true, + "default": "'user'" + }, + { + "kind": "field", + "name": "EMPTY_MESSAGE_CLASS", + "type": { + "text": "string" + }, "privacy": "private", "static": true, - "parameters": [ - { - "name": "validation", - "type": { - "text": "ValidateFunc" - } - }, - { - "name": "submitButton", - "type": { - "text": "SubmitButton" - } - }, - { - "name": "text", - "optional": true, - "type": { - "text": "string" - } - }, - { - "name": "files", - "optional": true, - "type": { - "text": "File[]" - } - }, - { - "name": "isProgrammatic", - "optional": true, - "type": { - "text": "boolean" - } - } - ] + "readonly": true, + "default": "'empty-message'" }, { - "kind": "method", - "name": "useValidationFunc", + "kind": "field", + "name": "POSITION_TOP_MESSAGE_CLASS", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'deep-chat-top-message'" + }, + { + "kind": "field", + "name": "POSITION_MIDDLE_MESSAGE_CLASS", + "type": { + "text": "string" + }, + "privacy": "private", + "static": true, + "readonly": true, + "default": "'deep-chat-middle-message'" + }, + { + "kind": "field", + "name": "POSITION_BOTTOM_MESSAGE_CLASS", + "type": { + "text": "string" + }, "privacy": "private", "static": true, + "readonly": true, + "default": "'deep-chat-bottom-message'" + }, + { + "kind": "method", + "name": "getLastElementsByClass", + "privacy": "public", + "static": true, "parameters": [ { - "name": "validation", - "type": { - "text": "ValidateFunc" - } - }, - { - "name": "textInput", + "name": "messagesElements", "type": { - "text": "TextInputEl" + "text": "MessageElements[]" } }, { - "name": "fileAttachments", + "name": "classes", "type": { - "text": "FileAttachments" + "text": "string[]" } }, { - "name": "submitButton", + "name": "avoidedClasses", + "optional": true, "type": { - "text": "SubmitButton" + "text": "string[]" } } ] }, { "kind": "method", - "name": "useValidationFuncProgrammatic", - "privacy": "private", + "name": "getLastMessage", + "privacy": "public", "static": true, "parameters": [ { - "name": "validation", + "name": "msgToEls", "type": { - "text": "ValidateFunc" + "text": "MessageToElements" } }, { - "name": "programmatic", + "name": "role", "type": { - "text": "UserContentI" + "text": "string" } }, { - "name": "submitButton", + "name": "content", + "optional": true, "type": { - "text": "SubmitButton" + "text": "keyof Omit" } } ] }, { "kind": "method", - "name": "validateWebsocket", - "privacy": "private", + "name": "getLastTextToElement", + "privacy": "public", "static": true, "parameters": [ { - "name": "serviceIO", + "name": "elemsToText", "type": { - "text": "ServiceIO" + "text": "[MessageElements, string][]" } }, { - "name": "submitButton", + "name": "elems", "type": { - "text": "SubmitButton" + "text": "MessageElements" } } ] }, { "kind": "method", - "name": "attach", + "name": "overwriteMessage", "privacy": "public", "static": true, "parameters": [ { - "name": "deepChat", + "name": "messageToElements", "type": { - "text": "DeepChat" + "text": "MessageToElements" } }, { - "name": "serviceIO", + "name": "messagesElements", "type": { - "text": "ServiceIO" + "text": "MessageElements[]" } }, { - "name": "textInput", + "name": "content", "type": { - "text": "TextInputEl" + "text": "string" } }, { - "name": "fileAttachments", + "name": "role", "type": { - "text": "FileAttachments" + "text": "string" } }, { - "name": "submitButton", - "type": { - "text": "SubmitButton" - } - } - ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "ValidationHandler", - "declaration": { - "name": "ValidationHandler", - "module": "src/views/chat/input/validation/validationHandler.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/messages/remarkable/remarkableConfig.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "RemarkableConfig", - "members": [ - { - "kind": "method", - "name": "instantiate", - "privacy": "private", - "static": true - }, - { - "kind": "method", - "name": "createNew", - "privacy": "public", - "static": true - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "RemarkableConfig", - "declaration": { - "name": "RemarkableConfig", - "module": "src/views/chat/messages/remarkable/remarkableConfig.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/messages/html/htmlDeepChatElements.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "HTMLDeepChatElements", - "members": [ - { - "kind": "method", - "name": "applySuggestionEvent", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "messages", + "name": "contentType", "type": { - "text": "MessagesBase" + "text": "'text' | 'html'" } }, { - "name": "element", + "name": "className", "type": { - "text": "Element" + "text": "string" } } ] }, { "kind": "method", - "name": "isElementTemporary", + "name": "getRoleClass", "privacy": "public", "static": true, "parameters": [ { - "name": "messageElements", - "optional": true, + "name": "role", "type": { - "text": "MessageElements" + "text": "string" } } ] }, { "kind": "method", - "name": "doesElementContainDeepChatClass", + "name": "fillEmptyMessageElement", "privacy": "public", "static": true, "parameters": [ { - "name": "element", - "type": { - "text": "HTMLElement" - } - } - ] - }, - { - "kind": "method", - "name": "applyEvents", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "element", + "name": "bubbleElement", "type": { - "text": "Element" + "text": "HTMLElement" } }, { - "name": "className", + "name": "content", "type": { "text": "string" } @@ -37238,24 +41816,18 @@ }, { "kind": "method", - "name": "getProcessedStyles", - "privacy": "private", + "name": "unfillEmptyMessageElement", + "privacy": "public", "static": true, "parameters": [ { - "name": "utilities", - "type": { - "text": "HTMLClassUtilities" - } - }, - { - "name": "element", + "name": "bubbleElement", "type": { - "text": "Element" + "text": "HTMLElement" } }, { - "name": "className", + "name": "newContent", "type": { "text": "string" } @@ -37264,67 +41836,26 @@ }, { "kind": "method", - "name": "applyDeepChatUtilities", + "name": "getLastMessageBubbleElement", "privacy": "public", "static": true, "parameters": [ { - "name": "messages", - "type": { - "text": "MessagesBase" - } - }, - { - "name": "utilities", - "type": { - "text": "HTMLClassUtilities" - } - }, - { - "name": "element", + "name": "messagesEl", "type": { "text": "HTMLElement" } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "HTMLDeepChatElements", - "declaration": { - "name": "HTMLDeepChatElements", - "module": "src/views/chat/messages/html/htmlDeepChatElements.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/messages/html/htmlMessages.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "HTMLMessages", - "members": [ + }, { "kind": "method", - "name": "addElement", - "privacy": "private", + "name": "getLastMessageElement", + "privacy": "public", "static": true, "parameters": [ { - "name": "messages", - "type": { - "text": "MessagesBase" - } - }, - { - "name": "outerElement", + "name": "messagesEl", "type": { "text": "HTMLElement" } @@ -37333,265 +41864,263 @@ }, { "kind": "method", - "name": "createElements", - "privacy": "private", + "name": "addRoleElements", + "privacy": "public", "static": true, "parameters": [ { - "name": "messages", + "name": "bubbleElement", "type": { - "text": "MessagesBase" + "text": "HTMLElement" } }, { - "name": "html", + "name": "role", "type": { "text": "string" } }, { - "name": "role", + "name": "avatars", + "optional": true, "type": { - "text": "string" + "text": "Avatars" } }, { - "name": "isTop", + "name": "names", + "optional": true, "type": { - "text": "boolean" + "text": "Names" } } ] }, { "kind": "method", - "name": "overwrite", - "privacy": "private", + "name": "hideRoleElements", + "privacy": "public", "static": true, "parameters": [ { - "name": "messages", - "type": { - "text": "MessagesBase" - } - }, - { - "name": "html", + "name": "messageElementRefs", "type": { - "text": "string" + "text": "MessageElements[]" } }, { - "name": "role", + "name": "avatars", "type": { - "text": "string" + "text": "boolean" } }, { - "name": "messagesEls", + "name": "names", "type": { - "text": "MessageElements[]" + "text": "boolean" } } ] }, { "kind": "method", - "name": "add", + "name": "revealRoleElements", "privacy": "public", "static": true, "parameters": [ { - "name": "messages", + "name": "innerContainer", "type": { - "text": "MessagesBase" + "text": "HTMLElement" } }, { - "name": "html", + "name": "avatars", + "optional": true, "type": { - "text": "string" + "text": "Avatars" } }, { - "name": "role", + "name": "names", + "optional": true, "type": { - "text": "string" + "text": "Names" } - }, + } + ] + }, + { + "kind": "method", + "name": "updateRefArr", + "privacy": "public", + "static": true, + "parameters": [ { - "name": "messagesEls", + "name": "arr", "type": { - "text": "MessageElements[]" + "text": "Array" } }, { - "name": "overwrite", - "optional": true, + "name": "item", "type": { - "text": "Overwrite" + "text": "T" } }, { "name": "isTop", - "default": "false" + "type": { + "text": "boolean" + } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "HTMLMessages", - "declaration": { - "name": "HTMLMessages", - "module": "src/views/chat/messages/html/htmlMessages.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/messages/html/htmlUtils.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "HTMLUtils", - "members": [ + }, { "kind": "method", - "name": "applyStylesToElement", + "name": "buildRoleContainerClass", "privacy": "public", "static": true, "parameters": [ { - "name": "element", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "styles", + "name": "role", "type": { - "text": "StatefulStyles" + "text": "string" } } ] }, { "kind": "method", - "name": "applyEventsToElement", + "name": "addNewPositionClasses", "privacy": "private", "static": true, "parameters": [ { - "name": "element", + "name": "messageEls", "type": { - "text": "HTMLElement" + "text": "MessageElements" } }, { - "name": "events", + "name": "classes", "type": { - "text": "EventToFunction" + "text": "string[]" } } ] }, { "kind": "method", - "name": "applyClassUtilitiesToElement", + "name": "getNumberOfElements", "privacy": "private", "static": true, "parameters": [ { - "name": "element", + "name": "messageContent", "type": { - "text": "HTMLElement" + "text": "MessageContentI" + } + } + ] + }, + { + "kind": "method", + "name": "filterdMessageElements", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "elements", + "type": { + "text": "MessageElements[]" } }, { - "name": "classUtility", + "name": "className", "type": { - "text": "HTMLClassUtility" + "text": "string" } } ] }, { "kind": "method", - "name": "applyCustomClassUtilities", + "name": "findMessageElements", "privacy": "private", "static": true, "parameters": [ { - "name": "utilities", + "name": "elements", "type": { - "text": "HTMLClassUtilities" + "text": "MessageElements[]" } }, { - "name": "element", + "name": "className", "type": { - "text": "HTMLElement" + "text": "string" } } ] }, { "kind": "method", - "name": "apply", - "privacy": "public", + "name": "generateMessageBodyElements", + "privacy": "private", "static": true, "parameters": [ { - "name": "messages", + "name": "messageContent", "type": { - "text": "MessagesBase" + "text": "MessageContentI" } }, { - "name": "outmostElement", + "name": "elements", "type": { - "text": "HTMLElement" + "text": "MessageElements[]" } } ] }, { "kind": "method", - "name": "traverseNodes", - "privacy": "private", + "name": "generateMessageBody", + "privacy": "public", "static": true, "parameters": [ { - "name": "node", + "name": "messageContent", "type": { - "text": "ChildNode" + "text": "MessageContentI" } }, { - "name": "topLevelElements", + "name": "messageElementRefs", "type": { - "text": "string[]" + "text": "MessageElements[]" } } ] }, { "kind": "method", - "name": "splitHTML", + "name": "classifyMessages", "privacy": "public", "static": true, "parameters": [ { - "name": "htmlString", + "name": "role", "type": { "text": "string" } + }, + { + "name": "messageElementRefs", + "type": { + "text": "MessageElements[]" + } } ] } @@ -37601,345 +42130,204 @@ "exports": [ { "kind": "js", - "name": "HTMLUtils", + "name": "MessageUtils", "declaration": { - "name": "HTMLUtils", - "module": "src/views/chat/messages/html/htmlUtils.ts" + "name": "MessageUtils", + "module": "src/views/chat/messages/utils/messageUtils.ts" } } ] }, { "kind": "javascript-module", - "path": "src/views/chat/messages/stream/messageStream.ts", + "path": "src/views/chat/messages/utils/updateMessage.ts", "declarations": [ { "kind": "class", "description": "", - "name": "MessageStream", + "name": "UpdateMessage", "members": [ { - "kind": "field", - "name": "MESSAGE_CLASS", - "type": { - "text": "string" - }, - "static": true, - "readonly": true, - "default": "'streamed-message'" - }, - { - "kind": "field", - "name": "_fileAdded", - "type": { - "text": "boolean" - }, - "privacy": "private", - "default": "false" - }, - { - "kind": "field", - "name": "_streamedContent", - "type": { - "text": "string" - }, - "privacy": "private", - "default": "''" - }, - { - "kind": "field", - "name": "_streamType", - "type": { - "text": "'text' | 'html' | ''" - }, - "privacy": "private", - "default": "''" - }, - { - "kind": "field", - "name": "_elements", - "type": { - "text": "MessageElements | undefined" - }, - "privacy": "private" - }, - { - "kind": "field", - "name": "_hasStreamEnded", - "type": { - "text": "boolean" - }, - "privacy": "private", - "default": "false" - }, - { - "kind": "field", - "name": "_activeMessageRole", - "type": { - "text": "string | undefined" - }, - "privacy": "private" - }, - { - "kind": "field", - "name": "_message", - "type": { - "text": "MessageContentI | undefined" - }, - "privacy": "private" - }, - { - "kind": "field", - "name": "_messages", - "type": { - "text": "MessagesBase" - }, - "privacy": "private", - "readonly": true, - "default": "messages" - }, - { - "kind": "field", - "name": "_endStreamAfterOperation", - "type": { - "text": "boolean | undefined" - }, - "privacy": "private" - }, - { - "kind": "field", - "name": "HTML_CONTENT_PLACEHOLDER", - "type": { - "text": "string" - }, + "kind": "method", + "name": "removeElements", "privacy": "private", "static": true, - "readonly": true, - "default": "'htmlplaceholder'" - }, - { - "kind": "method", - "name": "upsertStreamedMessage", - "privacy": "public", "parameters": [ { - "name": "response", + "name": "messageElementRefs", + "type": { + "text": "MessageElements[]" + } + }, + { + "name": "elemsToRemove", "optional": true, "type": { - "text": "Response" + "text": "MessageElements" } } ] }, { "kind": "method", - "name": "setInitialState", + "name": "removeFilesMessages", "privacy": "private", + "static": true, "parameters": [ { - "name": "streamType", - "type": { - "text": "'text' | 'html'" - } - }, - { - "name": "content", + "name": "msg", "type": { - "text": "string" + "text": "MessagesBase" } }, { - "name": "role", - "optional": true, + "name": "messageToEls", "type": { - "text": "string" + "text": "MessageToElements[0]" } } ] }, { "kind": "method", - "name": "updateBasedOnType", + "name": "removeTextHTMLMessage", "privacy": "private", + "static": true, "parameters": [ { - "name": "content", + "name": "msg", "type": { - "text": "string" + "text": "MessagesBase" } }, { - "name": "expectedType", + "name": "messageToEls", "type": { - "text": "string" + "text": "MessageToElements[0]" } }, { - "name": "bubbleElement", + "name": "type", "type": { - "text": "HTMLElement" + "text": "'text' | 'html'" } - }, - { - "name": "isOverwrite", - "default": "false" } ] }, { "kind": "method", - "name": "updateText", + "name": "updateHTMLMessage", "privacy": "private", + "static": true, "parameters": [ { - "name": "text", + "name": "msg", "type": { - "text": "string" + "text": "MessagesBase" } }, { - "name": "bubbleElement", + "name": "messageToEls", "type": { - "text": "HTMLElement" + "text": "MessageToElements[0]" } }, { - "name": "isOverwrite", + "name": "newHTML", "type": { - "text": "boolean" + "text": "string" } } ] }, { "kind": "method", - "name": "updateHTML", + "name": "updateFileMessages", "privacy": "private", + "static": true, "parameters": [ { - "name": "html", + "name": "msg", "type": { - "text": "string" + "text": "MessagesBase" } }, { - "name": "bubbleElement", + "name": "messageToEls", "type": { - "text": "HTMLElement" + "text": "MessageToElements[0]" } }, { - "name": "isOverwrite", + "name": "newFiles", "type": { - "text": "boolean" + "text": "MessageFile[]" } } ] }, { "kind": "method", - "name": "finaliseStreamedMessage", - "privacy": "public" - }, - { - "kind": "method", - "name": "markFileAdded", - "privacy": "public" - }, - { - "kind": "method", - "name": "newMessage", - "privacy": "public" - }, - { - "kind": "method", - "name": "endStreamAfterFileDownloaded", - "privacy": "public", + "name": "updateTextMessage", + "privacy": "private", + "static": true, "parameters": [ { - "name": "messages", + "name": "msg", "type": { - "text": "Messages" + "text": "MessagesBase" } }, { - "name": "downloadCb", + "name": "messageToEls", "type": { - "text": "() => Promise<{files?: MessageFile[]; text?: string}>" + "text": "MessageToElements[0]" + } + }, + { + "name": "newText", + "type": { + "text": "string" } } ] - } - ] - } - ], - "exports": [ - { - "kind": "js", - "name": "MessageStream", - "declaration": { - "name": "MessageStream", - "module": "src/views/chat/messages/stream/messageStream.ts" - } - } - ] - }, - { - "kind": "javascript-module", - "path": "src/views/chat/messages/textToSpeech/textToSpeech.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "TextToSpeech", - "members": [ - { - "kind": "field", - "name": "LOAD_VOICES_MS", - "type": { - "text": "number" - }, - "privacy": "private", - "static": true, - "readonly": true, - "default": "200" }, { "kind": "method", - "name": "speak", - "privacy": "public", + "name": "isElementActive", + "privacy": "private", "static": true, "parameters": [ { - "name": "text", - "type": { - "text": "string" - } - }, - { - "name": "config", + "name": "elements", "type": { - "text": "ProcessedTextToSpeechConfig" + "text": "MessageBodyElements" } } ] }, { "kind": "method", - "name": "processConfig", + "name": "update", "privacy": "public", "static": true, "parameters": [ { - "name": "config", + "name": "msg", "type": { - "text": "boolean | TextToSpeechConfig" + "text": "MessagesBase" } }, { - "name": "set", + "name": "messageBody", "type": { - "text": "(config: ProcessedTextToSpeechConfig) => void" + "text": "MessageBody" + } + }, + { + "name": "index", + "type": { + "text": "number" } } ] @@ -37950,10 +42338,10 @@ "exports": [ { "kind": "js", - "name": "TextToSpeech", + "name": "UpdateMessage", "declaration": { - "name": "TextToSpeech", - "module": "src/views/chat/messages/textToSpeech/textToSpeech.ts" + "name": "UpdateMessage", + "module": "src/views/chat/messages/utils/updateMessage.ts" } } ] @@ -39379,388 +43767,6 @@ } ] }, - { - "kind": "javascript-module", - "path": "src/views/chat/input/buttons/uploadFile/uploadFileButton.ts", - "declarations": [ - { - "kind": "class", - "description": "", - "name": "UploadFileButton", - "members": [ - { - "kind": "field", - "name": "_inputElement", - "type": { - "text": "HTMLInputElement" - }, - "privacy": "private", - "readonly": true - }, - { - "kind": "field", - "name": "_fileAttachmentsType", - "type": { - "text": "FileAttachmentsType" - }, - "privacy": "private", - "readonly": true, - "default": "fileAttachmentsType" - }, - { - "kind": "field", - "name": "_openModalOnce", - "type": { - "text": "boolean | undefined | undefined" - }, - "privacy": "private" - }, - { - "kind": "method", - "name": "createInnerElements", - "privacy": "private", - "parameters": [ - { - "name": "iconId", - "type": { - "text": "string" - } - }, - { - "name": "iconSVGString", - "type": { - "text": "string" - } - }, - { - "name": "customStyles", - "optional": true, - "type": { - "text": "Styles" - } - }, - { - "name": "isDropup", - "default": "false" - } - ] - }, - { - "kind": "method", - "name": "triggerImportPrompt", - "privacy": "private", - "parameters": [ - { - "name": "inputElement", - "type": { - "text": "HTMLInputElement" - } - } - ] - }, - { - "kind": "method", - "name": "import", - "privacy": "private", - "parameters": [ - { - "name": "inputElement", - "type": { - "text": "HTMLInputElement" - } - } - ] - }, - { - "kind": "method", - "name": "createInputElement", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "acceptedFormats", - "optional": true, - "type": { - "text": "string" - } - } - ] - }, - { - "kind": "method", - "name": "createButtonElement", - "privacy": "private", - "static": true - }, - { - "kind": "method", - "name": "createSVGIconElement", - "privacy": "private", - "static": true, - "parameters": [ - { - "name": "iconId", - "type": { - "text": "string" - } - }, - { - "name": "iconSVGString", - "type": { - "text": "string" - } - } - ] - }, - { - "kind": "method", - "name": "addClickEvent", - "privacy": "private", - "parameters": [ - { - "name": "containerElement", - "type": { - "text": "HTMLElement" - } - }, - { - "name": "fileService", - "type": { - "text": "FileServiceIO" - } - } - ] - }, - { - "kind": "method", - "name": "click", - "privacy": "private", - "parameters": [ - { - "name": "openModalFunc", - "optional": true, - "type": { - "text": "() => void" - } - } - ] - }, - { - "kind": "field", - "name": "elementRef", - "type": { - "text": "HTMLElement" - }, - "readonly": true, - "default": "buttonElement", - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "field", - "name": "_mouseState", - "type": { - "text": "MouseState" - }, - "privacy": "protected", - "readonly": true, - "default": "{state: 'default'}", - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "field", - "name": "_customStyles", - "type": { - "text": "T | undefined" - }, - "privacy": "protected", - "readonly": true, - "default": "customStyles", - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "field", - "name": "position", - "type": { - "text": "ButtonPositionT | undefined" - }, - "readonly": true, - "default": "position", - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "field", - "name": "dropupText", - "type": { - "text": "string | undefined" - }, - "readonly": true, - "default": "dropupText", - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "buttonMouseLeave", - "privacy": "private", - "parameters": [ - { - "name": "customStyles", - "optional": true, - "type": { - "text": "ButtonStyles" - } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "buttonMouseEnter", - "privacy": "private", - "parameters": [ - { - "name": "customStyles", - "optional": true, - "type": { - "text": "ButtonStyles" - } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "buttonMouseUp", - "privacy": "private", - "parameters": [ - { - "name": "customStyles", - "optional": true, - "type": { - "text": "ButtonStyles" - } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "buttonMouseDown", - "privacy": "private", - "parameters": [ - { - "name": "customStyles", - "optional": true, - "type": { - "text": "ButtonStyles" - } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "setEvents", - "privacy": "private", - "parameters": [ - { - "name": "customStyles", - "optional": true, - "type": { - "text": "ButtonStyles" - } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "unsetCustomStateStyles", - "privacy": "public", - "parameters": [ - { - "name": "unsetTypes", - "type": { - "text": "(keyof T)[]" - } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - }, - { - "kind": "method", - "name": "reapplyStateStyle", - "privacy": "public", - "parameters": [ - { - "name": "setType", - "type": { - "text": "keyof T" - } - }, - { - "name": "unsetTypes", - "optional": true, - "type": { - "text": "(keyof T)[]" - } - } - ], - "inheritedFrom": { - "name": "InputButton", - "module": "src/views/chat/input/buttons/inputButton.ts" - } - } - ], - "superclass": { - "name": "InputButton", - "module": "/src/views/chat/input/buttons/inputButton" - } - } - ], - "exports": [ - { - "kind": "js", - "name": "UploadFileButton", - "declaration": { - "name": "UploadFileButton", - "module": "src/views/chat/input/buttons/uploadFile/uploadFileButton.ts" - } - } - ] - }, { "kind": "javascript-module", "path": "src/views/chat/input/buttons/submit/submitButton.ts", @@ -39825,13 +43831,13 @@ }, { "kind": "field", - "name": "_inputElementRef", + "name": "_textInput", "type": { - "text": "HTMLElement" + "text": "TextInputEl" }, "privacy": "private", "readonly": true, - "default": "inputElementRef" + "default": "textInput" }, { "kind": "field", @@ -40436,6 +44442,388 @@ } ] }, + { + "kind": "javascript-module", + "path": "src/views/chat/input/buttons/uploadFile/uploadFileButton.ts", + "declarations": [ + { + "kind": "class", + "description": "", + "name": "UploadFileButton", + "members": [ + { + "kind": "field", + "name": "_inputElement", + "type": { + "text": "HTMLInputElement" + }, + "privacy": "private", + "readonly": true + }, + { + "kind": "field", + "name": "_fileAttachmentsType", + "type": { + "text": "FileAttachmentsType" + }, + "privacy": "private", + "readonly": true, + "default": "fileAttachmentsType" + }, + { + "kind": "field", + "name": "_openModalOnce", + "type": { + "text": "boolean | undefined | undefined" + }, + "privacy": "private" + }, + { + "kind": "method", + "name": "createInnerElements", + "privacy": "private", + "parameters": [ + { + "name": "iconId", + "type": { + "text": "string" + } + }, + { + "name": "iconSVGString", + "type": { + "text": "string" + } + }, + { + "name": "customStyles", + "optional": true, + "type": { + "text": "Styles" + } + }, + { + "name": "isDropup", + "default": "false" + } + ] + }, + { + "kind": "method", + "name": "triggerImportPrompt", + "privacy": "private", + "parameters": [ + { + "name": "inputElement", + "type": { + "text": "HTMLInputElement" + } + } + ] + }, + { + "kind": "method", + "name": "import", + "privacy": "private", + "parameters": [ + { + "name": "inputElement", + "type": { + "text": "HTMLInputElement" + } + } + ] + }, + { + "kind": "method", + "name": "createInputElement", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "acceptedFormats", + "optional": true, + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "createButtonElement", + "privacy": "private", + "static": true + }, + { + "kind": "method", + "name": "createSVGIconElement", + "privacy": "private", + "static": true, + "parameters": [ + { + "name": "iconId", + "type": { + "text": "string" + } + }, + { + "name": "iconSVGString", + "type": { + "text": "string" + } + } + ] + }, + { + "kind": "method", + "name": "addClickEvent", + "privacy": "private", + "parameters": [ + { + "name": "containerElement", + "type": { + "text": "HTMLElement" + } + }, + { + "name": "fileService", + "type": { + "text": "FileServiceIO" + } + } + ] + }, + { + "kind": "method", + "name": "click", + "privacy": "private", + "parameters": [ + { + "name": "openModalFunc", + "optional": true, + "type": { + "text": "() => void" + } + } + ] + }, + { + "kind": "field", + "name": "elementRef", + "type": { + "text": "HTMLElement" + }, + "readonly": true, + "default": "buttonElement", + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "field", + "name": "_mouseState", + "type": { + "text": "MouseState" + }, + "privacy": "protected", + "readonly": true, + "default": "{state: 'default'}", + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "field", + "name": "_customStyles", + "type": { + "text": "T | undefined" + }, + "privacy": "protected", + "readonly": true, + "default": "customStyles", + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "field", + "name": "position", + "type": { + "text": "ButtonPositionT | undefined" + }, + "readonly": true, + "default": "position", + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "field", + "name": "dropupText", + "type": { + "text": "string | undefined" + }, + "readonly": true, + "default": "dropupText", + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "method", + "name": "buttonMouseLeave", + "privacy": "private", + "parameters": [ + { + "name": "customStyles", + "optional": true, + "type": { + "text": "ButtonStyles" + } + } + ], + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "method", + "name": "buttonMouseEnter", + "privacy": "private", + "parameters": [ + { + "name": "customStyles", + "optional": true, + "type": { + "text": "ButtonStyles" + } + } + ], + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "method", + "name": "buttonMouseUp", + "privacy": "private", + "parameters": [ + { + "name": "customStyles", + "optional": true, + "type": { + "text": "ButtonStyles" + } + } + ], + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "method", + "name": "buttonMouseDown", + "privacy": "private", + "parameters": [ + { + "name": "customStyles", + "optional": true, + "type": { + "text": "ButtonStyles" + } + } + ], + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "method", + "name": "setEvents", + "privacy": "private", + "parameters": [ + { + "name": "customStyles", + "optional": true, + "type": { + "text": "ButtonStyles" + } + } + ], + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "method", + "name": "unsetCustomStateStyles", + "privacy": "public", + "parameters": [ + { + "name": "unsetTypes", + "type": { + "text": "(keyof T)[]" + } + } + ], + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + }, + { + "kind": "method", + "name": "reapplyStateStyle", + "privacy": "public", + "parameters": [ + { + "name": "setType", + "type": { + "text": "keyof T" + } + }, + { + "name": "unsetTypes", + "optional": true, + "type": { + "text": "(keyof T)[]" + } + } + ], + "inheritedFrom": { + "name": "InputButton", + "module": "src/views/chat/input/buttons/inputButton.ts" + } + } + ], + "superclass": { + "name": "InputButton", + "module": "/src/views/chat/input/buttons/inputButton" + } + } + ], + "exports": [ + { + "kind": "js", + "name": "UploadFileButton", + "declaration": { + "name": "UploadFileButton", + "module": "src/views/chat/input/buttons/uploadFile/uploadFileButton.ts" + } + } + ] + }, { "kind": "javascript-module", "path": "src/views/chat/input/fileAttachments/dragAndDrop/dragAndDrop.ts", @@ -41891,6 +46279,7 @@ { "kind": "method", "name": "addButtons", + "privacy": "public", "parameters": [ { "name": "buttons", @@ -42239,6 +46628,7 @@ { "kind": "method", "name": "addButtons", + "privacy": "public", "parameters": [ { "name": "buttons", diff --git a/component/package-lock.json b/component/package-lock.json index bf41a36fc..c1e5746f0 100644 --- a/component/package-lock.json +++ b/component/package-lock.json @@ -1,12 +1,12 @@ { "name": "deep-chat", - "version": "2.0.1", + "version": "2.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "deep-chat", - "version": "2.0.1", + "version": "2.1.0", "license": "MIT", "dependencies": { "@microsoft/fetch-event-source": "^2.0.1", @@ -49,9 +49,9 @@ } }, "node_modules/@babel/cli": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.25.6.tgz", - "integrity": "sha512-Z+Doemr4VtvSD2SNHTrkiFZ1LX+JI6tyRXAAOb4N9khIuPyoEPmTPJarPm8ljJV1D6bnMQjyHMWTT9NeKbQuXA==", + "version": "7.26.4", + "resolved": "https://registry.npmjs.org/@babel/cli/-/cli-7.26.4.tgz", + "integrity": "sha512-+mORf3ezU3p3qr+82WvJSnQNE1GAYeoCfEv4fik6B5/2cvKZ75AX8oawWQdXtM9MmndooQj15Jr9kelRFWsuRw==", "dev": true, "dependencies": { "@jridgewell/trace-mapping": "^0.3.25", @@ -78,12 +78,13 @@ } }, "node_modules/@babel/code-frame": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.24.7.tgz", - "integrity": "sha512-BcYH1CVJBO9tvyIZ2jVeXgSIMvGZ2FDRvDdOIVQyuklNKSsx+eppDEBq/g47Ayw+RqNFE+URvOShmf+f/qwAlA==", + "version": "7.26.2", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", + "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", "dev": true, "dependencies": { - "@babel/highlight": "^7.24.7", + "@babel/helper-validator-identifier": "^7.25.9", + "js-tokens": "^4.0.0", "picocolors": "^1.0.0" }, "engines": { @@ -91,30 +92,30 @@ } }, "node_modules/@babel/compat-data": { - "version": "7.25.4", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.25.4.tgz", - "integrity": "sha512-+LGRog6RAsCJrrrg/IO6LGmpphNe5DiK30dGjCoxxeGv49B10/3XYGxPsAwrDlMFcFEvdAUavDT8r9k/hSyQqQ==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.3.tgz", + "integrity": "sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.25.2.tgz", - "integrity": "sha512-BBt3opiCOxUr9euZ5/ro/Xv8/V7yJ5bjYMqG/C1YAo8MIKAnumZalCN+msbci3Pigy4lIQfPUpfMM27HMGaYEA==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.0.tgz", + "integrity": "sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==", "dev": true, "dependencies": { "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.25.0", - "@babel/helper-compilation-targets": "^7.25.2", - "@babel/helper-module-transforms": "^7.25.2", - "@babel/helpers": "^7.25.0", - "@babel/parser": "^7.25.0", - "@babel/template": "^7.25.0", - "@babel/traverse": "^7.25.2", - "@babel/types": "^7.25.2", + "@babel/code-frame": "^7.26.0", + "@babel/generator": "^7.26.0", + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helpers": "^7.26.0", + "@babel/parser": "^7.26.0", + "@babel/template": "^7.25.9", + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.26.0", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -130,54 +131,42 @@ } }, "node_modules/@babel/generator": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.25.6.tgz", - "integrity": "sha512-VPC82gr1seXOpkjAAKoLhP50vx4vGNlF4msF64dSFq1P8RfB+QAuJWGHPXXPc8QyfVWwwB/TNNU4+ayZmHNbZw==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.3.tgz", + "integrity": "sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==", "dev": true, "dependencies": { - "@babel/types": "^7.25.6", + "@babel/parser": "^7.26.3", + "@babel/types": "^7.26.3", "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.25", - "jsesc": "^2.5.1" + "jsesc": "^3.0.2" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.24.7.tgz", - "integrity": "sha512-BaDeOonYvhdKw+JoMVkAixAAJzG2jVPIwWoKBPdYuY9b452e2rPuI9QPYh3KpofZ3pW2akOmwZLOiOsHMiqRAg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.24.7.tgz", - "integrity": "sha512-xZeCVVdwb4MsDBkkyZ64tReWYrLRHlMN72vP7Bdm3OUOuyFZExhsHUUnuWnm2/XOlAJzR0LfPpB56WXZn0X/lA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.25.9.tgz", + "integrity": "sha512-gv7320KBUFJz1RnylIg5WWYPRXKZ884AGkYpgpWW02TH66Dl+HaC1t1CKd0z3R4b6hdYEcmrNZHUmfCP+1u3/g==", "dev": true, "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.2.tgz", - "integrity": "sha512-U2U5LsSaZ7TAt3cfaymQ8WHh0pxvdHoEk6HVpaexxixjyEquMh0L0YNJNM6CTGKMXV1iksi0iZkGw4AcFkPaaw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz", + "integrity": "sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==", "dev": true, "dependencies": { - "@babel/compat-data": "^7.25.2", - "@babel/helper-validator-option": "^7.24.8", - "browserslist": "^4.23.1", + "@babel/compat-data": "^7.25.9", + "@babel/helper-validator-option": "^7.25.9", + "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" }, @@ -186,17 +175,17 @@ } }, "node_modules/@babel/helper-create-class-features-plugin": { - "version": "7.25.4", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.4.tgz", - "integrity": "sha512-ro/bFs3/84MDgDmMwbcHgDa8/E6J3QKNTk4xJJnVeFtGE+tL0K26E3pNxhYz2b67fJpt7Aphw5XcploKXuCvCQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.25.9.tgz", + "integrity": "sha512-UTZQMvt0d/rSz6KI+qdu7GQze5TIajwTS++GUozlw8VBJDEOAqSXwm1WvmYEZwqdqSGQshRocPDqrt4HBZB3fQ==", "dev": true, "dependencies": { - "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-member-expression-to-functions": "^7.24.8", - "@babel/helper-optimise-call-expression": "^7.24.7", - "@babel/helper-replace-supers": "^7.25.0", - "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", - "@babel/traverse": "^7.25.4", + "@babel/helper-annotate-as-pure": "^7.25.9", + "@babel/helper-member-expression-to-functions": "^7.25.9", + "@babel/helper-optimise-call-expression": "^7.25.9", + "@babel/helper-replace-supers": "^7.25.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9", + "@babel/traverse": "^7.25.9", "semver": "^6.3.1" }, "engines": { @@ -207,13 +196,13 @@ } }, "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.25.2.tgz", - "integrity": "sha512-+wqVGP+DFmqwFD3EH6TMTfUNeqDehV3E/dl+Sd54eaXqm17tEUNbEIn4sVivVowbvUpOtIGxdo3GoXyDH9N/9g==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.26.3.tgz", + "integrity": "sha512-G7ZRb40uUgdKOQqPLjfD12ZmGA54PzqDFUv2BKImnC9QIfGhIHKvVML0oN8IUiDq4iRqpq74ABpvOaerfWdong==", "dev": true, "dependencies": { - "@babel/helper-annotate-as-pure": "^7.24.7", - "regexpu-core": "^5.3.1", + "@babel/helper-annotate-as-pure": "^7.25.9", + "regexpu-core": "^6.2.0", "semver": "^6.3.1" }, "engines": { @@ -224,9 +213,9 @@ } }, "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.2.tgz", - "integrity": "sha512-LV76g+C502biUK6AyZ3LK10vDpDyCzZnhZFXkH1L75zHPj68+qc8Zfpx2th+gzwA2MzyK+1g/3EPl62yFnVttQ==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.6.3.tgz", + "integrity": "sha512-HK7Bi+Hj6H+VTHA3ZvBis7V/6hu9QuTrnMXNybfUf2iiuU/N97I8VjB+KbhFF8Rld/Lx5MzoCwPCpPjfK+n8Cg==", "dev": true, "dependencies": { "@babel/helper-compilation-targets": "^7.22.6", @@ -240,41 +229,40 @@ } }, "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.24.8.tgz", - "integrity": "sha512-LABppdt+Lp/RlBxqrh4qgf1oEH/WxdzQNDJIu5gC/W1GyvPVrOBiItmmM8wan2fm4oYqFuFfkXmlGpLQhPY8CA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.25.9.tgz", + "integrity": "sha512-wbfdZ9w5vk0C0oyHqAJbc62+vet5prjj01jjJ8sKn3j9h3MQQlflEdXYvuqRWjHnM12coDEqiC1IRCi0U/EKwQ==", "dev": true, "dependencies": { - "@babel/traverse": "^7.24.8", - "@babel/types": "^7.24.8" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-imports": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.24.7.tgz", - "integrity": "sha512-8AyH3C+74cgCVVXow/myrynrAGv+nTVg5vKu2nZph9x7RcRwzmh0VFallJuFTZ9mx6u4eSdXZfcOzSqTUm0HCA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", + "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", "dev": true, "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.25.2.tgz", - "integrity": "sha512-BjyRAbix6j/wv83ftcVJmBt72QtHI56C7JXZoG2xATiLpmoC7dpd8WnkikExHDVPpi/3qCmO6WY1EaXOluiecQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", + "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", "dev": true, "dependencies": { - "@babel/helper-module-imports": "^7.24.7", - "@babel/helper-simple-access": "^7.24.7", - "@babel/helper-validator-identifier": "^7.24.7", - "@babel/traverse": "^7.25.2" + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -284,35 +272,35 @@ } }, "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.24.7.tgz", - "integrity": "sha512-jKiTsW2xmWwxT1ixIdfXUZp+P5yURx2suzLZr5Hi64rURpDYdMW0pv+Uf17EYk2Rd428Lx4tLsnjGJzYKDM/6A==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.25.9.tgz", + "integrity": "sha512-FIpuNaz5ow8VyrYcnXQTDRGvV6tTjkNtCK/RYNDXGSLlUD6cBuQTSw43CShGxjvfBTfcUA/r6UhUCbtYqkhcuQ==", "dev": true, "dependencies": { - "@babel/types": "^7.24.7" + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.24.8.tgz", - "integrity": "sha512-FFWx5142D8h2Mgr/iPVGH5G7w6jDn4jUSpZTyDnQO0Yn7Ks2Kuz6Pci8H6MPCoUJegd/UZQ3tAvfLCxQSnWWwg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz", + "integrity": "sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.0.tgz", - "integrity": "sha512-NhavI2eWEIz/H9dbrG0TuOicDhNexze43i5z7lEqwYm0WEZVTwnPpA0EafUTP7+6/W79HWIP2cTe3Z5NiSTVpw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.25.9.tgz", + "integrity": "sha512-IZtukuUeBbhgOcaW2s06OXTzVNJR0ybm4W5xC1opWFFJMZbwRj5LCk+ByYH7WdZPZTt8KnFwA8pvjN2yqcPlgw==", "dev": true, "dependencies": { - "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-wrap-function": "^7.25.0", - "@babel/traverse": "^7.25.0" + "@babel/helper-annotate-as-pure": "^7.25.9", + "@babel/helper-wrap-function": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -322,14 +310,14 @@ } }, "node_modules/@babel/helper-replace-supers": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.25.0.tgz", - "integrity": "sha512-q688zIvQVYtZu+i2PsdIu/uWGRpfxzr5WESsfpShfZECkO+d2o+WROWezCi/Q6kJ0tfPa5+pUGUlfx2HhrA3Bg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.25.9.tgz", + "integrity": "sha512-IiDqTOTBQy0sWyeXyGSC5TBJpGFXBkRynjBeXsvbhQFKj2viwJC76Epz35YLU1fpe/Am6Vppb7W7zM4fPQzLsQ==", "dev": true, "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.24.8", - "@babel/helper-optimise-call-expression": "^7.24.7", - "@babel/traverse": "^7.25.0" + "@babel/helper-member-expression-to-functions": "^7.25.9", + "@babel/helper-optimise-call-expression": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -338,108 +326,80 @@ "@babel/core": "^7.0.0" } }, - "node_modules/@babel/helper-simple-access": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.24.7.tgz", - "integrity": "sha512-zBAIvbCMh5Ts+b86r/CjU+4XGYIs+R1j951gxI3KmmxBMhCg4oQMsv6ZXQ64XOm/cvzfU1FmoCyt6+owc5QMYg==", - "dev": true, - "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" - }, - "engines": { - "node": ">=6.9.0" - } - }, "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.24.7.tgz", - "integrity": "sha512-IO+DLT3LQUElMbpzlatRASEyQtfhSE0+m465v++3jyyXeBTBUjtVZg28/gHeV5mrTJqvEKhKroBGAvhW+qPHiQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.25.9.tgz", + "integrity": "sha512-K4Du3BFa3gvyhzgPcntrkDgZzQaq6uozzcpGbOO1OEJaI+EJdqWIMTLgFgQf6lrfiDFo5FU+BxKepI9RmZqahA==", "dev": true, "dependencies": { - "@babel/traverse": "^7.24.7", - "@babel/types": "^7.24.7" + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.24.8.tgz", - "integrity": "sha512-pO9KhhRcuUyGnJWwyEgnRJTSIZHiT+vMD0kPeD+so0l7mxkMT19g3pjY9GTnHySck/hDzq+dtW/4VgnMkippsQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", + "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.24.7.tgz", - "integrity": "sha512-rR+PBcQ1SMQDDyF6X0wxtG8QyLCgUB0eRAGguqRLfkCA87l7yAP7ehq8SNj96OOGTO8OBV70KhuFYcIkHXOg0w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", + "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.24.8.tgz", - "integrity": "sha512-xb8t9tD1MHLungh/AIoWYN+gVHaB9kwlu8gffXGSt3FFEIT7RjS+xWbc2vUD1UTZdIpKj/ab3rdqJ7ufngyi2Q==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", + "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", "dev": true, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-wrap-function": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.25.0.tgz", - "integrity": "sha512-s6Q1ebqutSiZnEjaofc/UKDyC4SbzV5n5SrA2Gq8UawLycr3i04f1dX4OzoQVnexm6aOCh37SQNYlJ/8Ku+PMQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.25.9.tgz", + "integrity": "sha512-ETzz9UTjQSTmw39GboatdymDq4XIQbR8ySgVrylRhPOFpsd+JrKHIuF0de7GCWmem+T4uC5z7EZguod7Wj4A4g==", "dev": true, "dependencies": { - "@babel/template": "^7.25.0", - "@babel/traverse": "^7.25.0", - "@babel/types": "^7.25.0" + "@babel/template": "^7.25.9", + "@babel/traverse": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.25.6.tgz", - "integrity": "sha512-Xg0tn4HcfTijTwfDwYlvVCl43V6h4KyVVX2aEm4qdO/PC6L2YvzLHFdmxhoeSA3eslcE6+ZVXHgWwopXYLNq4Q==", - "dev": true, - "dependencies": { - "@babel/template": "^7.25.0", - "@babel/types": "^7.25.6" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.24.7.tgz", - "integrity": "sha512-EStJpq4OuY8xYfhGVXngigBJRWxftKX9ksiGDnmlY3o7B/V7KIAc9X4oiK87uPJSc/vs5L869bem5fhZa8caZw==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.0.tgz", + "integrity": "sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==", "dev": true, "dependencies": { - "@babel/helper-validator-identifier": "^7.24.7", - "chalk": "^2.4.2", - "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" + "@babel/template": "^7.25.9", + "@babel/types": "^7.26.0" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.25.6.tgz", - "integrity": "sha512-trGdfBdbD0l1ZPmcJ83eNxB9rbEax4ALFTF7fN386TMYbeCQbyme5cOEXQhbGXKebwGaB/J52w1mrklMcbgy6Q==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.3.tgz", + "integrity": "sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==", "dev": true, "dependencies": { - "@babel/types": "^7.25.6" + "@babel/types": "^7.26.3" }, "bin": { "parser": "bin/babel-parser.js" @@ -449,13 +409,13 @@ } }, "node_modules/@babel/plugin-bugfix-firefox-class-in-computed-class-key": { - "version": "7.25.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.3.tgz", - "integrity": "sha512-wUrcsxZg6rqBXG05HG1FPYgsP6EvwF4WpBbxIpWIIYnH8wG0gzx3yZY3dtEHas4sTAOGkbTsc9EGPxwff8lRoA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-firefox-class-in-computed-class-key/-/plugin-bugfix-firefox-class-in-computed-class-key-7.25.9.tgz", + "integrity": "sha512-ZkRyVkThtxQ/J6nv3JFYv1RYY+JT5BvU0y3k5bWrmuG4woXypRa4PXmm9RhOwodRkYFWqC0C0cqcJ4OqR7kW+g==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8", - "@babel/traverse": "^7.25.3" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -465,12 +425,12 @@ } }, "node_modules/@babel/plugin-bugfix-safari-class-field-initializer-scope": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.0.tgz", - "integrity": "sha512-Bm4bH2qsX880b/3ziJ8KD711LT7z4u8CFudmjqle65AZj/HNUFhEf90dqYv6O86buWvSBmeQDjv0Tn2aF/bIBA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-class-field-initializer-scope/-/plugin-bugfix-safari-class-field-initializer-scope-7.25.9.tgz", + "integrity": "sha512-MrGRLZxLD/Zjj0gdU15dfs+HH/OXvnw/U4jJD8vpcP2CJQapPEv1IWwjc/qMg7ItBlPwSv1hRBbb7LeuANdcnw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -480,12 +440,12 @@ } }, "node_modules/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.0.tgz", - "integrity": "sha512-lXwdNZtTmeVOOFtwM/WDe7yg1PL8sYhRk/XH0FzbR2HDQ0xC+EnQ/JHeoMYSavtU115tnUk0q9CDyq8si+LMAA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression/-/plugin-bugfix-safari-id-destructuring-collision-in-function-expression-7.25.9.tgz", + "integrity": "sha512-2qUwwfAFpJLZqxd02YW9btUCZHl+RFvdDkNfZwaIJrvB8Tesjsk8pEQkTvGwZXLqXUx/2oyY3ySRhm6HOXuCug==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -495,14 +455,14 @@ } }, "node_modules/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.24.7.tgz", - "integrity": "sha512-+izXIbke1T33mY4MSNnrqhPXDz01WYhEf3yF5NbnUtkiNnm+XBZJl3kNfoK6NKmYlz/D07+l2GWVK/QfDkNCuQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.25.9.tgz", + "integrity": "sha512-6xWgLZTJXwilVjlnV7ospI3xi+sl8lN8rXXbBD6vYn3UYDlGsag8wrZkKcSI8G6KgqKP7vNFaDgeDnfAABq61g==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", - "@babel/plugin-transform-optional-chaining": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9", + "@babel/plugin-transform-optional-chaining": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -512,13 +472,13 @@ } }, "node_modules/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.0.tgz", - "integrity": "sha512-tggFrk1AIShG/RUQbEwt2Tr/E+ObkfwrPjR6BjbRvsx24+PSjK8zrq0GWPNCjo8qpRx4DuJzlcvWJqlm+0h3kw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.25.9.tgz", + "integrity": "sha512-aLnMXYPnzwwqhYSCyXfKkIkYgJ8zv9RK+roo9DkTXz38ynIhd9XCbN08s3MGvqL2MYGVUGdRQLL/JqBIeJhJBg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8", - "@babel/traverse": "^7.25.0" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -539,76 +499,13 @@ "@babel/core": "^7.0.0-0" } }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, "node_modules/@babel/plugin-syntax-import-assertions": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.25.6.tgz", - "integrity": "sha512-aABl0jHw9bZ2karQ/uUD6XP4u0SG22SJrOHFoL6XB1R7dTovOP4TzTlsxOYC5yQ1pdscVK2JTUnF6QL3ARoAiQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-assertions/-/plugin-syntax-import-assertions-7.26.0.tgz", + "integrity": "sha512-QCWT5Hh830hK5EQa7XzuqIkQU9tT/whqbDz7kuaZMHFl1inRRg7JnuAEOQ0Ur0QUl0NufCk1msK2BeY79Aj/eg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -618,138 +515,12 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.25.6.tgz", - "integrity": "sha512-sXaDXaJN9SNLymBdlWFA+bjzBhFD617ZaFiY13dGt7TVslVvVgA6fkZOP7Ki3IGElC45lwHdOTrCtKZGVAWeLQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", + "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -775,12 +546,12 @@ } }, "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.24.7.tgz", - "integrity": "sha512-Dt9LQs6iEY++gXUwY03DNFat5C2NbO48jj+j/bSAz6b3HgPs39qcPiYt77fDObIcFwj3/C2ICX9YMwGflUoSHQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.25.9.tgz", + "integrity": "sha512-6jmooXYIwn9ca5/RylZADJ+EnSxVUS5sjeJ9UPk6RWRzXCmOJCy6dqItPJFpw2cuCangPK4OYr5uhGKcmrm5Qg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -790,15 +561,14 @@ } }, "node_modules/@babel/plugin-transform-async-generator-functions": { - "version": "7.25.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.4.tgz", - "integrity": "sha512-jz8cV2XDDTqjKPwVPJBIjORVEmSGYhdRa8e5k5+vN+uwcjSrSxUaebBRa4ko1jqNF2uxyg8G6XYk30Jv285xzg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.25.9.tgz", + "integrity": "sha512-RXV6QAzTBbhDMO9fWwOmwwTuYaiPbggWQ9INdZqAYeSHyG7FzQ+nOZaUUjNwKv9pV3aE4WFqFm1Hnbci5tBCAw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8", - "@babel/helper-remap-async-to-generator": "^7.25.0", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/traverse": "^7.25.4" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-remap-async-to-generator": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -808,14 +578,14 @@ } }, "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.24.7.tgz", - "integrity": "sha512-SQY01PcJfmQ+4Ash7NE+rpbLFbmqA2GPIgqzxfFTL4t1FKRq4zTms/7htKpoCUI9OcFYgzqfmCdH53s6/jn5fA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.25.9.tgz", + "integrity": "sha512-NT7Ejn7Z/LjUH0Gv5KsBCxh7BH3fbLTV0ptHvpeMvrt3cPThHfJfst9Wrb7S8EvJ7vRTFI7z+VAvFVEQn/m5zQ==", "dev": true, "dependencies": { - "@babel/helper-module-imports": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-remap-async-to-generator": "^7.24.7" + "@babel/helper-module-imports": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-remap-async-to-generator": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -825,12 +595,12 @@ } }, "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.24.7.tgz", - "integrity": "sha512-yO7RAz6EsVQDaBH18IDJcMB1HnrUn2FJ/Jslc/WtPPWcjhpUJXU/rjbwmluzp7v/ZzWcEhTMXELnnsz8djWDwQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.25.9.tgz", + "integrity": "sha512-toHc9fzab0ZfenFpsyYinOX0J/5dgJVA2fm64xPewu7CoYHWEivIWKxkK2rMi4r3yQqLnVmheMXRdG+k239CgA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -840,12 +610,12 @@ } }, "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.0.tgz", - "integrity": "sha512-yBQjYoOjXlFv9nlXb3f1casSHOZkWr29NX+zChVanLg5Nc157CrbEX9D7hxxtTpuFy7Q0YzmmWfJxzvps4kXrQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.25.9.tgz", + "integrity": "sha512-1F05O7AYjymAtqbsFETboN1NvBdcnzMerO+zlMyJBEz6WkMdejvGWw9p05iTSjC85RLlBseHHQpYaM4gzJkBGg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -855,13 +625,13 @@ } }, "node_modules/@babel/plugin-transform-class-properties": { - "version": "7.25.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.4.tgz", - "integrity": "sha512-nZeZHyCWPfjkdU5pA/uHiTaDAFUEqkpzf1YoQT2NeSynCGYq9rxfyI3XpQbfx/a0hSnFH6TGlEXvae5Vi7GD8g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-properties/-/plugin-transform-class-properties-7.25.9.tgz", + "integrity": "sha512-bbMAII8GRSkcd0h0b4X+36GksxuheLFjP65ul9w6C3KgAamI3JqErNgSrosX6ZPj+Mpim5VvEbawXxJCyEUV3Q==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.25.4", - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-create-class-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -871,14 +641,13 @@ } }, "node_modules/@babel/plugin-transform-class-static-block": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.24.7.tgz", - "integrity": "sha512-HMXK3WbBPpZQufbMG4B46A90PkuuhN9vBCb5T8+VAHqvAqvcLi+2cKoukcpmUYkszLhScU3l1iudhrks3DggRQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-class-static-block/-/plugin-transform-class-static-block-7.26.0.tgz", + "integrity": "sha512-6J2APTs7BDDm+UMqP1useWqhcRAXo0WIoVj26N7kPFB6S73Lgvyka4KTZYIxtgYXiN5HTyRObA72N2iu628iTQ==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-class-static-block": "^7.14.5" + "@babel/helper-create-class-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -888,16 +657,16 @@ } }, "node_modules/@babel/plugin-transform-classes": { - "version": "7.25.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.4.tgz", - "integrity": "sha512-oexUfaQle2pF/b6E0dwsxQtAol9TLSO88kQvym6HHBWFliV2lGdrPieX+WgMRLSJDVzdYywk7jXbLPuO2KLTLg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.25.9.tgz", + "integrity": "sha512-mD8APIXmseE7oZvZgGABDyM34GUmK45Um2TXiBUt7PnuAxrgoSVf123qUzPxEr/+/BHrRn5NMZCdE2m/1F8DGg==", "dev": true, "dependencies": { - "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-compilation-targets": "^7.25.2", - "@babel/helper-plugin-utils": "^7.24.8", - "@babel/helper-replace-supers": "^7.25.0", - "@babel/traverse": "^7.25.4", + "@babel/helper-annotate-as-pure": "^7.25.9", + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-replace-supers": "^7.25.9", + "@babel/traverse": "^7.25.9", "globals": "^11.1.0" }, "engines": { @@ -908,13 +677,13 @@ } }, "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.24.7.tgz", - "integrity": "sha512-25cS7v+707Gu6Ds2oY6tCkUwsJ9YIDbggd9+cu9jzzDgiNq7hR/8dkzxWfKWnTic26vsI3EsCXNd4iEB6e8esQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.25.9.tgz", + "integrity": "sha512-HnBegGqXZR12xbcTHlJ9HGxw1OniltT26J5YpfruGqtUHlz/xKf/G2ak9e+t0rVqrjXa9WOhvYPz1ERfMj23AA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/template": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/template": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -924,12 +693,12 @@ } }, "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.24.8.tgz", - "integrity": "sha512-36e87mfY8TnRxc7yc6M9g9gOB7rKgSahqkIKwLpz4Ppk2+zC2Cy1is0uwtuSG6AE4zlTOUa+7JGz9jCJGLqQFQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.25.9.tgz", + "integrity": "sha512-WkCGb/3ZxXepmMiX101nnGiU+1CAdut8oHyEOHxkKuS1qKpU2SMXE2uSvfz8PBuLd49V6LEsbtyPhWC7fnkgvQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -939,13 +708,13 @@ } }, "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.24.7.tgz", - "integrity": "sha512-ZOA3W+1RRTSWvyqcMJDLqbchh7U4NRGqwRfFSVbOLS/ePIP4vHB5e8T8eXcuqyN1QkgKyj5wuW0lcS85v4CrSw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.25.9.tgz", + "integrity": "sha512-t7ZQ7g5trIgSRYhI9pIJtRl64KHotutUJsh4Eze5l7olJv+mRSg4/MmbZ0tv1eeqRbdvo/+trvJD/Oc5DmW2cA==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -955,12 +724,12 @@ } }, "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.24.7.tgz", - "integrity": "sha512-JdYfXyCRihAe46jUIliuL2/s0x0wObgwwiGxw/UbgJBr20gQBThrokO4nYKgWkD7uBaqM7+9x5TU7NkExZJyzw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.25.9.tgz", + "integrity": "sha512-LZxhJ6dvBb/f3x8xwWIuyiAHy56nrRG3PeYTpBkkzkYRRQ6tJLu68lEF5VIqMUZiAV7a8+Tb78nEoMCMcqjXBw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -970,13 +739,13 @@ } }, "node_modules/@babel/plugin-transform-duplicate-named-capturing-groups-regex": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.0.tgz", - "integrity": "sha512-YLpb4LlYSc3sCUa35un84poXoraOiQucUTTu8X1j18JV+gNa8E0nyUf/CjZ171IRGr4jEguF+vzJU66QZhn29g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-named-capturing-groups-regex/-/plugin-transform-duplicate-named-capturing-groups-regex-7.25.9.tgz", + "integrity": "sha512-0UfuJS0EsXbRvKnwcLjFtJy/Sxc5J5jhLHnFhy7u4zih97Hz6tJkLU+O+FMMrNZrosUPxDi6sYxJ/EA8jDiAog==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.0", - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -986,13 +755,12 @@ } }, "node_modules/@babel/plugin-transform-dynamic-import": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.24.7.tgz", - "integrity": "sha512-sc3X26PhZQDb3JhORmakcbvkeInvxz+A8oda99lj7J60QRuPZvNAk9wQlTBS1ZynelDrDmTU4pw1tyc5d5ZMUg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dynamic-import/-/plugin-transform-dynamic-import-7.25.9.tgz", + "integrity": "sha512-GCggjexbmSLaFhqsojeugBpeaRIgWNTcgKVq/0qIteFEqY2A+b9QidYadrWlnbWQUrW5fn+mCvf3tr7OeBFTyg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1002,13 +770,12 @@ } }, "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.24.7.tgz", - "integrity": "sha512-Rqe/vSc9OYgDajNIK35u7ot+KeCoetqQYFXM4Epf7M7ez3lWlOjrDjrwMei6caCVhfdw+mIKD4cgdGNy5JQotQ==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.26.3.tgz", + "integrity": "sha512-7CAHcQ58z2chuXPWblnn1K6rLDnDWieghSOEmqQsrBenH0P9InCUtOJYD89pvngljmZlJcz3fcmgYsXFNGa1ZQ==", "dev": true, "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1018,13 +785,12 @@ } }, "node_modules/@babel/plugin-transform-export-namespace-from": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.24.7.tgz", - "integrity": "sha512-v0K9uNYsPL3oXZ/7F9NNIbAj2jv1whUEtyA6aujhekLs56R++JDQuzRcP2/z4WX5Vg/c5lE9uWZA0/iUoFhLTA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-export-namespace-from/-/plugin-transform-export-namespace-from-7.25.9.tgz", + "integrity": "sha512-2NsEz+CxzJIVOPx2o9UsW1rXLqtChtLoVnwYHHiB04wS5sgn7mrV45fWMBX0Kk+ub9uXytVYfNP2HjbVbCB3Ww==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1034,13 +800,13 @@ } }, "node_modules/@babel/plugin-transform-for-of": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.24.7.tgz", - "integrity": "sha512-wo9ogrDG1ITTTBsy46oGiN1dS9A7MROBTcYsfS8DtsImMkHk9JXJ3EWQM6X2SUw4x80uGPlwj0o00Uoc6nEE3g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.25.9.tgz", + "integrity": "sha512-LqHxduHoaGELJl2uhImHwRQudhCM50pT46rIBNvtT/Oql3nqiS3wOwP+5ten7NpYSXrrVLgtZU3DZmPtWZo16A==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1050,14 +816,14 @@ } }, "node_modules/@babel/plugin-transform-function-name": { - "version": "7.25.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.1.tgz", - "integrity": "sha512-TVVJVdW9RKMNgJJlLtHsKDTydjZAbwIsn6ySBPQaEAUU5+gVvlJt/9nRmqVbsV/IBanRjzWoaAQKLoamWVOUuA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.25.9.tgz", + "integrity": "sha512-8lP+Yxjv14Vc5MuWBpJsoUCd3hD6V9DgBon2FVYL4jJgbnVQ9fTgYmonchzZJOVNgzEgbxp4OwAf6xz6M/14XA==", "dev": true, "dependencies": { - "@babel/helper-compilation-targets": "^7.24.8", - "@babel/helper-plugin-utils": "^7.24.8", - "@babel/traverse": "^7.25.1" + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1067,13 +833,12 @@ } }, "node_modules/@babel/plugin-transform-json-strings": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.24.7.tgz", - "integrity": "sha512-2yFnBGDvRuxAaE/f0vfBKvtnvvqU8tGpMHqMNpTN2oWMKIR3NqFkjaAgGwawhqK/pIN2T3XdjGPdaG0vDhOBGw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-json-strings/-/plugin-transform-json-strings-7.25.9.tgz", + "integrity": "sha512-xoTMk0WXceiiIvsaquQQUaLLXSW1KJ159KP87VilruQm0LNNGxWzahxSS6T6i4Zg3ezp4vA4zuwiNUR53qmQAw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-json-strings": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1083,12 +848,12 @@ } }, "node_modules/@babel/plugin-transform-literals": { - "version": "7.25.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.25.2.tgz", - "integrity": "sha512-HQI+HcTbm9ur3Z2DkO+jgESMAMcYLuN/A7NRw9juzxAezN9AvqvUTnpKP/9kkYANz6u7dFlAyOu44ejuGySlfw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.25.9.tgz", + "integrity": "sha512-9N7+2lFziW8W9pBl2TzaNht3+pgMIRP74zizeCSrtnSKVdUl8mAjjOP2OOVQAfZ881P2cNjDj1uAMEdeD50nuQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1098,13 +863,12 @@ } }, "node_modules/@babel/plugin-transform-logical-assignment-operators": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.24.7.tgz", - "integrity": "sha512-4D2tpwlQ1odXmTEIFWy9ELJcZHqrStlzK/dAOWYyxX3zT0iXQB6banjgeOJQXzEc4S0E0a5A+hahxPaEFYftsw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-logical-assignment-operators/-/plugin-transform-logical-assignment-operators-7.25.9.tgz", + "integrity": "sha512-wI4wRAzGko551Y8eVf6iOY9EouIDTtPb0ByZx+ktDGHwv6bHFimrgJM/2T021txPZ2s4c7bqvHbd+vXG6K948Q==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1114,12 +878,12 @@ } }, "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.24.7.tgz", - "integrity": "sha512-T/hRC1uqrzXMKLQ6UCwMT85S3EvqaBXDGf0FaMf4446Qx9vKwlghvee0+uuZcDUCZU5RuNi4781UQ7R308zzBw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.25.9.tgz", + "integrity": "sha512-PYazBVfofCQkkMzh2P6IdIUaCEWni3iYEerAsRWuVd8+jlM1S9S9cz1dF9hIzyoZ8IA3+OwVYIp9v9e+GbgZhA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1129,13 +893,13 @@ } }, "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.24.7.tgz", - "integrity": "sha512-9+pB1qxV3vs/8Hdmz/CulFB8w2tuu6EB94JZFsjdqxQokwGa9Unap7Bo2gGBGIvPmDIVvQrom7r5m/TCDMURhg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.25.9.tgz", + "integrity": "sha512-g5T11tnI36jVClQlMlt4qKDLlWnG5pP9CSM4GhdRciTNMRgkfpo5cR6b4rGIOYPgRRuFAvwjPQ/Yk+ql4dyhbw==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-module-transforms": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1145,14 +909,13 @@ } }, "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.24.8.tgz", - "integrity": "sha512-WHsk9H8XxRs3JXKWFiqtQebdh9b/pTk4EgueygFzYlTKAg0Ud985mSevdNjdXdFBATSKVJGQXP1tv6aGbssLKA==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.26.3.tgz", + "integrity": "sha512-MgR55l4q9KddUDITEzEFYn5ZsGDXMSsU9E+kh7fjRXTIC3RHqfCo8RPRbyReYJh44HQ/yomFkqbOFohXvDCiIQ==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.24.8", - "@babel/helper-plugin-utils": "^7.24.8", - "@babel/helper-simple-access": "^7.24.7" + "@babel/helper-module-transforms": "^7.26.0", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1162,15 +925,15 @@ } }, "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.0.tgz", - "integrity": "sha512-YPJfjQPDXxyQWg/0+jHKj1llnY5f/R6a0p/vP4lPymxLu7Lvl4k2WMitqi08yxwQcCVUUdG9LCUj4TNEgAp3Jw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.25.9.tgz", + "integrity": "sha512-hyss7iIlH/zLHaehT+xwiymtPOpsiwIIRlCAOwBB04ta5Tt+lNItADdlXw3jAWZ96VJ2jlhl/c+PNIQPKNfvcA==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.25.0", - "@babel/helper-plugin-utils": "^7.24.8", - "@babel/helper-validator-identifier": "^7.24.7", - "@babel/traverse": "^7.25.0" + "@babel/helper-module-transforms": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9", + "@babel/traverse": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1180,13 +943,13 @@ } }, "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.24.7.tgz", - "integrity": "sha512-3aytQvqJ/h9z4g8AsKPLvD4Zqi2qT+L3j7XoFFu1XBlZWEl2/1kWnhmAbxpLgPrHSY0M6UA02jyTiwUVtiKR6A==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.25.9.tgz", + "integrity": "sha512-bS9MVObUgE7ww36HEfwe6g9WakQ0KF07mQF74uuXdkoziUPfKyu/nIm663kz//e5O1nPInPFx36z7WJmJ4yNEw==", "dev": true, "dependencies": { - "@babel/helper-module-transforms": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-module-transforms": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1196,13 +959,13 @@ } }, "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.24.7.tgz", - "integrity": "sha512-/jr7h/EWeJtk1U/uz2jlsCioHkZk1JJZVcc8oQsJ1dUlaJD83f4/6Zeh2aHt9BIFokHIsSeDfhUmju0+1GPd6g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.25.9.tgz", + "integrity": "sha512-oqB6WHdKTGl3q/ItQhpLSnWWOpjUJLsOCLVyeFgeTktkBSCiurvPOsyt93gibI9CmuKvTUEtWmG5VhZD+5T/KA==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1212,12 +975,12 @@ } }, "node_modules/@babel/plugin-transform-new-target": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.24.7.tgz", - "integrity": "sha512-RNKwfRIXg4Ls/8mMTza5oPF5RkOW8Wy/WgMAp1/F1yZ8mMbtwXW+HDoJiOsagWrAhI5f57Vncrmr9XeT4CVapA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.25.9.tgz", + "integrity": "sha512-U/3p8X1yCSoKyUj2eOBIx3FOn6pElFOKvAAGf8HTtItuPyB+ZeOqfn+mvTtg9ZlOAjsPdK3ayQEjqHjU/yLeVQ==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1227,13 +990,12 @@ } }, "node_modules/@babel/plugin-transform-nullish-coalescing-operator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.24.7.tgz", - "integrity": "sha512-Ts7xQVk1OEocqzm8rHMXHlxvsfZ0cEF2yomUqpKENHWMF4zKk175Y4q8H5knJes6PgYad50uuRmt3UJuhBw8pQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-nullish-coalescing-operator/-/plugin-transform-nullish-coalescing-operator-7.25.9.tgz", + "integrity": "sha512-ENfftpLZw5EItALAD4WsY/KUWvhUlZndm5GC7G3evUsVeSJB6p0pBeLQUnRnBCBx7zV0RKQjR9kCuwrsIrjWog==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1243,13 +1005,12 @@ } }, "node_modules/@babel/plugin-transform-numeric-separator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.24.7.tgz", - "integrity": "sha512-e6q1TiVUzvH9KRvicuxdBTUj4AdKSRwzIyFFnfnezpCfP2/7Qmbb8qbU2j7GODbl4JMkblitCQjKYUaX/qkkwA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-numeric-separator/-/plugin-transform-numeric-separator-7.25.9.tgz", + "integrity": "sha512-TlprrJ1GBZ3r6s96Yq8gEQv82s8/5HnCVHtEJScUj90thHQbwe+E5MLhi2bbNHBEJuzrvltXSru+BUxHDoog7Q==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1259,15 +1020,14 @@ } }, "node_modules/@babel/plugin-transform-object-rest-spread": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.24.7.tgz", - "integrity": "sha512-4QrHAr0aXQCEFni2q4DqKLD31n2DL+RxcwnNjDFkSG0eNQ/xCavnRkfCUjsyqGC2OviNJvZOF/mQqZBw7i2C5Q==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-rest-spread/-/plugin-transform-object-rest-spread-7.25.9.tgz", + "integrity": "sha512-fSaXafEE9CVHPweLYw4J0emp1t8zYTXyzN3UuG+lylqkvYd7RMrsOQ8TYx5RF231be0vqtFC6jnx3UmpJmKBYg==", "dev": true, "dependencies": { - "@babel/helper-compilation-targets": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.24.7" + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/plugin-transform-parameters": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1277,13 +1037,13 @@ } }, "node_modules/@babel/plugin-transform-object-super": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.24.7.tgz", - "integrity": "sha512-A/vVLwN6lBrMFmMDmPPz0jnE6ZGx7Jq7d6sT/Ev4H65RER6pZ+kczlf1DthF5N0qaPHBsI7UXiE8Zy66nmAovg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.25.9.tgz", + "integrity": "sha512-Kj/Gh+Rw2RNLbCK1VAWj2U48yxxqL2x0k10nPtSdRa0O2xnHXalD0s+o1A6a0W43gJ00ANo38jxkQreckOzv5A==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-replace-supers": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-replace-supers": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1293,13 +1053,12 @@ } }, "node_modules/@babel/plugin-transform-optional-catch-binding": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.24.7.tgz", - "integrity": "sha512-uLEndKqP5BfBbC/5jTwPxLh9kqPWWgzN/f8w6UwAIirAEqiIVJWWY312X72Eub09g5KF9+Zn7+hT7sDxmhRuKA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-catch-binding/-/plugin-transform-optional-catch-binding-7.25.9.tgz", + "integrity": "sha512-qM/6m6hQZzDcZF3onzIhZeDHDO43bkNNlOX0i8n3lR6zLbu0GN2d8qfM/IERJZYauhAHSLHy39NF0Ctdvcid7g==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1309,14 +1068,13 @@ } }, "node_modules/@babel/plugin-transform-optional-chaining": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.24.8.tgz", - "integrity": "sha512-5cTOLSMs9eypEy8JUVvIKOu6NgvbJMnpG62VpIHrTmROdQ+L5mDAaI40g25k5vXti55JWNX5jCkq3HZxXBQANw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-optional-chaining/-/plugin-transform-optional-chaining-7.25.9.tgz", + "integrity": "sha512-6AvV0FsLULbpnXeBjrY4dmWF8F7gf8QnvTEoO/wX/5xm/xE1Xo8oPuD3MPS+KS9f9XBEAWN7X1aWr4z9HdOr7A==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8", - "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1326,12 +1084,12 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.24.7.tgz", - "integrity": "sha512-yGWW5Rr+sQOhK0Ot8hjDJuxU3XLRQGflvT4lhlSY0DFvdb3TwKaY26CJzHtYllU0vT9j58hc37ndFPsqT1SrzA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.25.9.tgz", + "integrity": "sha512-wzz6MKwpnshBAiRmn4jR8LYz/g8Ksg0o80XmwZDlordjwEk9SxBzTWC7F5ef1jhbrbOW2DJ5J6ayRukrJmnr0g==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1341,13 +1099,13 @@ } }, "node_modules/@babel/plugin-transform-private-methods": { - "version": "7.25.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.4.tgz", - "integrity": "sha512-ao8BG7E2b/URaUQGqN3Tlsg+M3KlHY6rJ1O1gXAEUnZoyNQnvKyH87Kfg+FoxSeyWUB8ISZZsC91C44ZuBFytw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-methods/-/plugin-transform-private-methods-7.25.9.tgz", + "integrity": "sha512-D/JUozNpQLAPUVusvqMxyvjzllRaF8/nSrP1s2YGQT/W4LHK4xxsMcHjhOGTS01mp9Hda8nswb+FblLdJornQw==", "dev": true, "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.25.4", - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-create-class-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1357,15 +1115,14 @@ } }, "node_modules/@babel/plugin-transform-private-property-in-object": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.24.7.tgz", - "integrity": "sha512-9z76mxwnwFxMyxZWEgdgECQglF2Q7cFLm0kMf8pGwt+GSJsY0cONKj/UuO4bOH0w/uAel3ekS4ra5CEAyJRmDA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-private-property-in-object/-/plugin-transform-private-property-in-object-7.25.9.tgz", + "integrity": "sha512-Evf3kcMqzXA3xfYJmZ9Pg1OvKdtqsDMSWBDzZOPLvHiTt36E75jLDQo5w1gtRU95Q4E5PDttrTf25Fw8d/uWLw==", "dev": true, "dependencies": { - "@babel/helper-annotate-as-pure": "^7.24.7", - "@babel/helper-create-class-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5" + "@babel/helper-annotate-as-pure": "^7.25.9", + "@babel/helper-create-class-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1375,12 +1132,12 @@ } }, "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.24.7.tgz", - "integrity": "sha512-EMi4MLQSHfd2nrCqQEWxFdha2gBCqU4ZcCng4WBGZ5CJL4bBRW0ptdqqDdeirGZcpALazVVNJqRmsO8/+oNCBA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.25.9.tgz", + "integrity": "sha512-IvIUeV5KrS/VPavfSM/Iu+RE6llrHrYIKY1yfCzyO/lMXHQ+p7uGhonmGVisv6tSBSVgWzMBohTcvkC9vQcQFA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1390,12 +1147,12 @@ } }, "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.24.7.tgz", - "integrity": "sha512-lq3fvXPdimDrlg6LWBoqj+r/DEWgONuwjuOuQCSYgRroXDH/IdM1C0IZf59fL5cHLpjEH/O6opIRBbqv7ELnuA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.25.9.tgz", + "integrity": "sha512-vwDcDNsgMPDGP0nMqzahDWE5/MLcX8sv96+wfX7as7LoF/kr97Bo/7fI00lXY4wUXYfVmwIIyG80fGZ1uvt2qg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", + "@babel/helper-plugin-utils": "^7.25.9", "regenerator-transform": "^0.15.2" }, "engines": { @@ -1405,13 +1162,29 @@ "@babel/core": "^7.0.0-0" } }, + "node_modules/@babel/plugin-transform-regexp-modifiers": { + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regexp-modifiers/-/plugin-transform-regexp-modifiers-7.26.0.tgz", + "integrity": "sha512-vN6saax7lrA2yA/Pak3sCxuD6F5InBjn9IcrIKQPjpsLvuHYLVroTxjdlVRHjjBWxKOqIwpTXDkOssYT4BFdRw==", + "dev": true, + "dependencies": { + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.24.7.tgz", - "integrity": "sha512-0DUq0pHcPKbjFZCfTss/pGkYMfy3vFWydkUBd9r0GHpIyfs2eCDENvqadMycRS9wZCXR41wucAfJHJmwA0UmoQ==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.25.9.tgz", + "integrity": "sha512-7DL7DKYjn5Su++4RXu8puKZm2XBPHyjWLUidaPEkCUBbE7IPcsrkRHggAOOKydH1dASWdcUBxrkOGNxUv5P3Jg==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1421,12 +1194,12 @@ } }, "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.24.7.tgz", - "integrity": "sha512-KsDsevZMDsigzbA09+vacnLpmPH4aWjcZjXdyFKGzpplxhbeB4wYtury3vglQkg6KM/xEPKt73eCjPPf1PgXBA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.25.9.tgz", + "integrity": "sha512-MUv6t0FhO5qHnS/W8XCbHmiRWOphNufpE1IVxhK5kuN3Td9FT1x4rx4K42s3RYdMXCXpfWkGSbCSd0Z64xA7Ng==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1436,13 +1209,13 @@ } }, "node_modules/@babel/plugin-transform-spread": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.24.7.tgz", - "integrity": "sha512-x96oO0I09dgMDxJaANcRyD4ellXFLLiWhuwDxKZX5g2rWP1bTPkBSwCYv96VDXVT1bD9aPj8tppr5ITIh8hBng==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.25.9.tgz", + "integrity": "sha512-oNknIB0TbURU5pqJFVbOOFspVlrpVwo2H1+HUIsVDvp5VauGGDP1ZEvO8Nn5xyMEs3dakajOxlmkNW7kNgSm6A==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7", - "@babel/helper-skip-transparent-expression-wrappers": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-skip-transparent-expression-wrappers": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1452,12 +1225,12 @@ } }, "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.24.7.tgz", - "integrity": "sha512-kHPSIJc9v24zEml5geKg9Mjx5ULpfncj0wRpYtxbvKyTtHCYDkVE3aHQ03FrpEo4gEe2vrJJS1Y9CJTaThA52g==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.25.9.tgz", + "integrity": "sha512-WqBUSgeVwucYDP9U/xNRQam7xV8W5Zf+6Eo7T2SRVUFlhRiMNFdFz58u0KZmCVVqs2i7SHgpRnAhzRNmKfi2uA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1467,12 +1240,12 @@ } }, "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.24.7.tgz", - "integrity": "sha512-AfDTQmClklHCOLxtGoP7HkeMw56k1/bTQjwsfhL6pppo/M4TOBSq+jjBUBLmV/4oeFg4GWMavIl44ZeCtmmZTw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.25.9.tgz", + "integrity": "sha512-o97AE4syN71M/lxrCtQByzphAdlYluKPDBzDVzMmfCobUjjhAryZV0AIpRPrxN0eAkxXO6ZLEScmt+PNhj2OTw==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1482,12 +1255,12 @@ } }, "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.24.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.24.8.tgz", - "integrity": "sha512-adNTUpDCVnmAE58VEqKlAA6ZBlNkMnWD0ZcW76lyNFN3MJniyGFZfNwERVk8Ap56MCnXztmDr19T4mPTztcuaw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.25.9.tgz", + "integrity": "sha512-v61XqUMiueJROUv66BVIOi0Fv/CUuZuZMl5NkRoCVxLAnMexZ0A3kMe7vvZ0nulxMuMp0Mk6S5hNh48yki08ZA==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1497,12 +1270,12 @@ } }, "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.24.7.tgz", - "integrity": "sha512-U3ap1gm5+4edc2Q/P+9VrBNhGkfnf+8ZqppY71Bo/pzZmXhhLdqgaUl6cuB07O1+AQJtCLfaOmswiNbSQ9ivhw==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.25.9.tgz", + "integrity": "sha512-s5EDrE6bW97LtxOcGj1Khcx5AaXwiMmi4toFWRDP9/y0Woo6pXC+iyPu/KuhKtfSrNFd7jJB+/fkOtZy6aIC6Q==", "dev": true, "dependencies": { - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1512,13 +1285,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-property-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.24.7.tgz", - "integrity": "sha512-uH2O4OV5M9FZYQrwc7NdVmMxQJOCCzFeYudlZSzUAHRFeOujQefa92E74TQDVskNHCzOXoigEuoyzHDhaEaK5w==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-property-regex/-/plugin-transform-unicode-property-regex-7.25.9.tgz", + "integrity": "sha512-Jt2d8Ga+QwRluxRQ307Vlxa6dMrYEMZCgGxoPR8V52rxPyldHu3hdlHspxaqYmE7oID5+kB+UKUB/eWS+DkkWg==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1528,13 +1301,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.24.7", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.24.7.tgz", - "integrity": "sha512-hlQ96MBZSAXUq7ltkjtu3FJCCSMx/j629ns3hA3pXnBXjanNP0LHi+JpPeA81zaWgVK1VGH95Xuy7u0RyQ8kMg==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.25.9.tgz", + "integrity": "sha512-yoxstj7Rg9dlNn9UQxzk4fcNivwv4nUYz7fYXBaKxvw/lnmPuOm/ikoELygbYq68Bls3D/D+NBPHiLwZdZZ4HA==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.24.7", - "@babel/helper-plugin-utils": "^7.24.7" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1544,13 +1317,13 @@ } }, "node_modules/@babel/plugin-transform-unicode-sets-regex": { - "version": "7.25.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.4.tgz", - "integrity": "sha512-qesBxiWkgN1Q+31xUE9RcMk79eOXXDCv6tfyGMRSs4RGlioSg2WVyQAm07k726cSE56pa+Kb0y9epX2qaXzTvA==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-sets-regex/-/plugin-transform-unicode-sets-regex-7.25.9.tgz", + "integrity": "sha512-8BYqO3GeVNHtx69fdPshN3fnzUNLrWdHhk/icSwigksJGczKSizZ+Z6SBCxTs723Fr5VSNorTIK7a+R2tISvwQ==", "dev": true, "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.25.2", - "@babel/helper-plugin-utils": "^7.24.8" + "@babel/helper-create-regexp-features-plugin": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -1560,93 +1333,79 @@ } }, "node_modules/@babel/preset-env": { - "version": "7.25.4", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.25.4.tgz", - "integrity": "sha512-W9Gyo+KmcxjGahtt3t9fb14vFRWvPpu5pT6GBlovAK6BTBcxgjfVMSQCfJl4oi35ODrxP6xx2Wr8LNST57Mraw==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.25.4", - "@babel/helper-compilation-targets": "^7.25.2", - "@babel/helper-plugin-utils": "^7.24.8", - "@babel/helper-validator-option": "^7.24.8", - "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.3", - "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.0", - "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.0", - "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.24.7", - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.0", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.26.0.tgz", + "integrity": "sha512-H84Fxq0CQJNdPFT2DrfnylZ3cf5K43rGfWK4LJGPpjKHiZlk0/RzwEus3PDDZZg+/Er7lCA03MVacueUuXdzfw==", + "dev": true, + "dependencies": { + "@babel/compat-data": "^7.26.0", + "@babel/helper-compilation-targets": "^7.25.9", + "@babel/helper-plugin-utils": "^7.25.9", + "@babel/helper-validator-option": "^7.25.9", + "@babel/plugin-bugfix-firefox-class-in-computed-class-key": "^7.25.9", + "@babel/plugin-bugfix-safari-class-field-initializer-scope": "^7.25.9", + "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": "^7.25.9", + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining": "^7.25.9", + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly": "^7.25.9", "@babel/plugin-proposal-private-property-in-object": "7.21.0-placeholder-for-preset-env.2", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-import-assertions": "^7.24.7", - "@babel/plugin-syntax-import-attributes": "^7.24.7", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5", + "@babel/plugin-syntax-import-assertions": "^7.26.0", + "@babel/plugin-syntax-import-attributes": "^7.26.0", "@babel/plugin-syntax-unicode-sets-regex": "^7.18.6", - "@babel/plugin-transform-arrow-functions": "^7.24.7", - "@babel/plugin-transform-async-generator-functions": "^7.25.4", - "@babel/plugin-transform-async-to-generator": "^7.24.7", - "@babel/plugin-transform-block-scoped-functions": "^7.24.7", - "@babel/plugin-transform-block-scoping": "^7.25.0", - "@babel/plugin-transform-class-properties": "^7.25.4", - "@babel/plugin-transform-class-static-block": "^7.24.7", - "@babel/plugin-transform-classes": "^7.25.4", - "@babel/plugin-transform-computed-properties": "^7.24.7", - "@babel/plugin-transform-destructuring": "^7.24.8", - "@babel/plugin-transform-dotall-regex": "^7.24.7", - "@babel/plugin-transform-duplicate-keys": "^7.24.7", - "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.0", - "@babel/plugin-transform-dynamic-import": "^7.24.7", - "@babel/plugin-transform-exponentiation-operator": "^7.24.7", - "@babel/plugin-transform-export-namespace-from": "^7.24.7", - "@babel/plugin-transform-for-of": "^7.24.7", - "@babel/plugin-transform-function-name": "^7.25.1", - "@babel/plugin-transform-json-strings": "^7.24.7", - "@babel/plugin-transform-literals": "^7.25.2", - "@babel/plugin-transform-logical-assignment-operators": "^7.24.7", - "@babel/plugin-transform-member-expression-literals": "^7.24.7", - "@babel/plugin-transform-modules-amd": "^7.24.7", - "@babel/plugin-transform-modules-commonjs": "^7.24.8", - "@babel/plugin-transform-modules-systemjs": "^7.25.0", - "@babel/plugin-transform-modules-umd": "^7.24.7", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.24.7", - "@babel/plugin-transform-new-target": "^7.24.7", - "@babel/plugin-transform-nullish-coalescing-operator": "^7.24.7", - "@babel/plugin-transform-numeric-separator": "^7.24.7", - "@babel/plugin-transform-object-rest-spread": "^7.24.7", - "@babel/plugin-transform-object-super": "^7.24.7", - "@babel/plugin-transform-optional-catch-binding": "^7.24.7", - "@babel/plugin-transform-optional-chaining": "^7.24.8", - "@babel/plugin-transform-parameters": "^7.24.7", - "@babel/plugin-transform-private-methods": "^7.25.4", - "@babel/plugin-transform-private-property-in-object": "^7.24.7", - "@babel/plugin-transform-property-literals": "^7.24.7", - "@babel/plugin-transform-regenerator": "^7.24.7", - "@babel/plugin-transform-reserved-words": "^7.24.7", - "@babel/plugin-transform-shorthand-properties": "^7.24.7", - "@babel/plugin-transform-spread": "^7.24.7", - "@babel/plugin-transform-sticky-regex": "^7.24.7", - "@babel/plugin-transform-template-literals": "^7.24.7", - "@babel/plugin-transform-typeof-symbol": "^7.24.8", - "@babel/plugin-transform-unicode-escapes": "^7.24.7", - "@babel/plugin-transform-unicode-property-regex": "^7.24.7", - "@babel/plugin-transform-unicode-regex": "^7.24.7", - "@babel/plugin-transform-unicode-sets-regex": "^7.25.4", + "@babel/plugin-transform-arrow-functions": "^7.25.9", + "@babel/plugin-transform-async-generator-functions": "^7.25.9", + "@babel/plugin-transform-async-to-generator": "^7.25.9", + "@babel/plugin-transform-block-scoped-functions": "^7.25.9", + "@babel/plugin-transform-block-scoping": "^7.25.9", + "@babel/plugin-transform-class-properties": "^7.25.9", + "@babel/plugin-transform-class-static-block": "^7.26.0", + "@babel/plugin-transform-classes": "^7.25.9", + "@babel/plugin-transform-computed-properties": "^7.25.9", + "@babel/plugin-transform-destructuring": "^7.25.9", + "@babel/plugin-transform-dotall-regex": "^7.25.9", + "@babel/plugin-transform-duplicate-keys": "^7.25.9", + "@babel/plugin-transform-duplicate-named-capturing-groups-regex": "^7.25.9", + "@babel/plugin-transform-dynamic-import": "^7.25.9", + "@babel/plugin-transform-exponentiation-operator": "^7.25.9", + "@babel/plugin-transform-export-namespace-from": "^7.25.9", + "@babel/plugin-transform-for-of": "^7.25.9", + "@babel/plugin-transform-function-name": "^7.25.9", + "@babel/plugin-transform-json-strings": "^7.25.9", + "@babel/plugin-transform-literals": "^7.25.9", + "@babel/plugin-transform-logical-assignment-operators": "^7.25.9", + "@babel/plugin-transform-member-expression-literals": "^7.25.9", + "@babel/plugin-transform-modules-amd": "^7.25.9", + "@babel/plugin-transform-modules-commonjs": "^7.25.9", + "@babel/plugin-transform-modules-systemjs": "^7.25.9", + "@babel/plugin-transform-modules-umd": "^7.25.9", + "@babel/plugin-transform-named-capturing-groups-regex": "^7.25.9", + "@babel/plugin-transform-new-target": "^7.25.9", + "@babel/plugin-transform-nullish-coalescing-operator": "^7.25.9", + "@babel/plugin-transform-numeric-separator": "^7.25.9", + "@babel/plugin-transform-object-rest-spread": "^7.25.9", + "@babel/plugin-transform-object-super": "^7.25.9", + "@babel/plugin-transform-optional-catch-binding": "^7.25.9", + "@babel/plugin-transform-optional-chaining": "^7.25.9", + "@babel/plugin-transform-parameters": "^7.25.9", + "@babel/plugin-transform-private-methods": "^7.25.9", + "@babel/plugin-transform-private-property-in-object": "^7.25.9", + "@babel/plugin-transform-property-literals": "^7.25.9", + "@babel/plugin-transform-regenerator": "^7.25.9", + "@babel/plugin-transform-regexp-modifiers": "^7.26.0", + "@babel/plugin-transform-reserved-words": "^7.25.9", + "@babel/plugin-transform-shorthand-properties": "^7.25.9", + "@babel/plugin-transform-spread": "^7.25.9", + "@babel/plugin-transform-sticky-regex": "^7.25.9", + "@babel/plugin-transform-template-literals": "^7.25.9", + "@babel/plugin-transform-typeof-symbol": "^7.25.9", + "@babel/plugin-transform-unicode-escapes": "^7.25.9", + "@babel/plugin-transform-unicode-property-regex": "^7.25.9", + "@babel/plugin-transform-unicode-regex": "^7.25.9", + "@babel/plugin-transform-unicode-sets-regex": "^7.25.9", "@babel/preset-modules": "0.1.6-no-external-plugins", "babel-plugin-polyfill-corejs2": "^0.4.10", "babel-plugin-polyfill-corejs3": "^0.10.6", "babel-plugin-polyfill-regenerator": "^0.6.1", - "core-js-compat": "^3.37.1", + "core-js-compat": "^3.38.1", "semver": "^6.3.1" }, "engines": { @@ -1670,16 +1429,10 @@ "@babel/core": "^7.0.0-0 || ^8.0.0-0 <8.0.0" } }, - "node_modules/@babel/regjsgen": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/@babel/regjsgen/-/regjsgen-0.8.0.tgz", - "integrity": "sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==", - "dev": true - }, "node_modules/@babel/runtime": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.25.6.tgz", - "integrity": "sha512-VBj9MYyDb9tuLq7yzqjgzt6Q+IBQLrGZfdjOekyEirZPHxXWoTSGUTMrpsfi58Up73d13NfYLv8HT9vmznjzhQ==", + "version": "7.26.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.26.0.tgz", + "integrity": "sha512-FDSOghenHTiToteC/QRlv2q3DhPZ/oOXTBoirfWNx1Cx3TMVcGWQtMMmQcSvb/JjpNeGzx8Pq/b4fKEJuWm1sw==", "dev": true, "dependencies": { "regenerator-runtime": "^0.14.0" @@ -1689,30 +1442,30 @@ } }, "node_modules/@babel/template": { - "version": "7.25.0", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.0.tgz", - "integrity": "sha512-aOOgh1/5XzKvg1jvVz7AVrx2piJ2XBi227DHmbY6y+bM9H2FlN+IfecYu4Xl0cNiiVejlsCri89LUsbj8vJD9Q==", + "version": "7.25.9", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz", + "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.24.7", - "@babel/parser": "^7.25.0", - "@babel/types": "^7.25.0" + "@babel/code-frame": "^7.25.9", + "@babel/parser": "^7.25.9", + "@babel/types": "^7.25.9" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.25.6.tgz", - "integrity": "sha512-9Vrcx5ZW6UwK5tvqsj0nGpp/XzqthkT0dqIc9g1AdtygFToNtTF67XzYS//dm+SAK9cp3B9R4ZO/46p63SCjlQ==", + "version": "7.26.4", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.4.tgz", + "integrity": "sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w==", "dev": true, "dependencies": { - "@babel/code-frame": "^7.24.7", - "@babel/generator": "^7.25.6", - "@babel/parser": "^7.25.6", - "@babel/template": "^7.25.0", - "@babel/types": "^7.25.6", + "@babel/code-frame": "^7.26.2", + "@babel/generator": "^7.26.3", + "@babel/parser": "^7.26.3", + "@babel/template": "^7.25.9", + "@babel/types": "^7.26.3", "debug": "^4.3.1", "globals": "^11.1.0" }, @@ -1721,14 +1474,13 @@ } }, "node_modules/@babel/types": { - "version": "7.25.6", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.25.6.tgz", - "integrity": "sha512-/l42B1qxpG6RdfYf343Uw1vmDjeNhneUXtzhojE7pDgfpEypmRhI6j1kr17XCVv4Cgl9HdAiQY2x0GwKm7rWCw==", + "version": "7.26.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", + "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", "dev": true, "dependencies": { - "@babel/helper-string-parser": "^7.24.8", - "@babel/helper-validator-identifier": "^7.24.7", - "to-fast-properties": "^2.0.0" + "@babel/helper-string-parser": "^7.25.9", + "@babel/helper-validator-identifier": "^7.25.9" }, "engines": { "node": ">=6.9.0" @@ -2178,24 +1930,27 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", + "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", "dev": true, "dependencies": { - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.3" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, + "funding": { + "url": "https://opencollective.com/eslint" + }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.1.tgz", - "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -2271,9 +2026,9 @@ } }, "node_modules/@github/catalyst": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/@github/catalyst/-/catalyst-1.6.0.tgz", - "integrity": "sha512-u8A+DameixqpeyHzvnJWTGj+wfiskQOYHzSiJscCWVfMkIT3rxnbHMtGh3lMthaRY21nbUOK71WcsCnCrXhBJQ==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/@github/catalyst/-/catalyst-1.7.0.tgz", + "integrity": "sha512-qOAxrDdRZz9+v4y2WoAfh11rpRY/x4FRofPNmJyZFzAjubtzE3sCa/tAycWWufmQGoYiwwzL/qJBBgyg7avxPw==", "dev": true }, "node_modules/@humanwhocodes/config-array": { @@ -2401,9 +2156,9 @@ } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "version": "0.3.8", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.8.tgz", + "integrity": "sha512-imAbBGkb+ebQyxKgzv5Hu2nmROxoDOXHh80evxdoXNOrvAnVx7zimzc1Oo5h9RlfV4vPXaE2iM5pOFbvOCClWA==", "dev": true, "dependencies": { "@jridgewell/set-array": "^1.2.1", @@ -2459,18 +2214,18 @@ } }, "node_modules/@microsoft/api-extractor": { - "version": "7.47.9", - "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.47.9.tgz", - "integrity": "sha512-TTq30M1rikVsO5wZVToQT/dGyJY7UXJmjiRtkHPLb74Prx3Etw8+bX7Bv7iLuby6ysb7fuu1NFWqma+csym8Jw==", + "version": "7.48.1", + "resolved": "https://registry.npmjs.org/@microsoft/api-extractor/-/api-extractor-7.48.1.tgz", + "integrity": "sha512-HN9Osa1WxqLM66RaqB5nPAadx+nTIQmY/XtkFdaJvusjG8Tus++QqZtD7KPZDSkhEMGHsYeSyeU8qUzCDUXPjg==", "dev": true, "dependencies": { - "@microsoft/api-extractor-model": "7.29.8", - "@microsoft/tsdoc": "~0.15.0", - "@microsoft/tsdoc-config": "~0.17.0", - "@rushstack/node-core-library": "5.9.0", + "@microsoft/api-extractor-model": "7.30.1", + "@microsoft/tsdoc": "~0.15.1", + "@microsoft/tsdoc-config": "~0.17.1", + "@rushstack/node-core-library": "5.10.1", "@rushstack/rig-package": "0.5.3", - "@rushstack/terminal": "0.14.2", - "@rushstack/ts-command-line": "4.22.8", + "@rushstack/terminal": "0.14.4", + "@rushstack/ts-command-line": "4.23.2", "lodash": "~4.17.15", "minimatch": "~3.0.3", "resolve": "~1.22.1", @@ -2483,20 +2238,20 @@ } }, "node_modules/@microsoft/api-extractor-model": { - "version": "7.29.8", - "resolved": "https://registry.npmjs.org/@microsoft/api-extractor-model/-/api-extractor-model-7.29.8.tgz", - "integrity": "sha512-t3Z/xcO6TRbMcnKGVMs4uMzv/gd5j0NhMiJIGjD4cJMeFJ1Hf8wnLSx37vxlRlL0GWlGJhnFgxvnaL6JlS+73g==", + "version": "7.30.1", + "resolved": "https://registry.npmjs.org/@microsoft/api-extractor-model/-/api-extractor-model-7.30.1.tgz", + "integrity": "sha512-CTS2PlASJHxVY8hqHORVb1HdECWOEMcMnM6/kDkPr0RZapAFSIHhg9D4jxuE8g+OWYHtPc10LCpmde5pylTRlA==", "dev": true, "dependencies": { - "@microsoft/tsdoc": "~0.15.0", - "@microsoft/tsdoc-config": "~0.17.0", - "@rushstack/node-core-library": "5.9.0" + "@microsoft/tsdoc": "~0.15.1", + "@microsoft/tsdoc-config": "~0.17.1", + "@rushstack/node-core-library": "5.10.1" } }, "node_modules/@microsoft/api-extractor-model/node_modules/@rushstack/node-core-library": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.9.0.tgz", - "integrity": "sha512-MMsshEWkTbXqxqFxD4gcIUWQOCeBChlGczdZbHfqmNZQFLHB3yWxDFSMHFUdu2/OB9NUk7Awn5qRL+rws4HQNg==", + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.10.1.tgz", + "integrity": "sha512-BSb/KcyBHmUQwINrgtzo6jiH0HlGFmrUy33vO6unmceuVKTEyL2q+P0fQq2oB5hvXVWOEUhxB2QvlkZluvUEmg==", "dev": true, "dependencies": { "ajv": "~8.13.0", @@ -2619,9 +2374,9 @@ "dev": true }, "node_modules/@microsoft/api-extractor/node_modules/@rushstack/node-core-library": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.9.0.tgz", - "integrity": "sha512-MMsshEWkTbXqxqFxD4gcIUWQOCeBChlGczdZbHfqmNZQFLHB3yWxDFSMHFUdu2/OB9NUk7Awn5qRL+rws4HQNg==", + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.10.1.tgz", + "integrity": "sha512-BSb/KcyBHmUQwINrgtzo6jiH0HlGFmrUy33vO6unmceuVKTEyL2q+P0fQq2oB5hvXVWOEUhxB2QvlkZluvUEmg==", "dev": true, "dependencies": { "ajv": "~8.13.0", @@ -2784,18 +2539,18 @@ "integrity": "sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA==" }, "node_modules/@microsoft/tsdoc": { - "version": "0.15.0", - "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.15.0.tgz", - "integrity": "sha512-HZpPoABogPvjeJOdzCOSJsXeL/SMCBgBZMVC3X3d7YYp2gf31MfxhUoYUNwf1ERPJOnQc0wkFn9trqI6ZEdZuA==", + "version": "0.15.1", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.15.1.tgz", + "integrity": "sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==", "dev": true }, "node_modules/@microsoft/tsdoc-config": { - "version": "0.17.0", - "resolved": "https://registry.npmjs.org/@microsoft/tsdoc-config/-/tsdoc-config-0.17.0.tgz", - "integrity": "sha512-v/EYRXnCAIHxOHW+Plb6OWuUoMotxTN0GLatnpOb1xq0KuTNw/WI3pamJx/UbsoJP5k9MCw1QxvvhPcF9pH3Zg==", + "version": "0.17.1", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc-config/-/tsdoc-config-0.17.1.tgz", + "integrity": "sha512-UtjIFe0C6oYgTnad4q1QP4qXwLhe6tIpNTRStJ2RZEPIkqQPREAwE5spzVxsdn9UaEMUqhh0AqSx3X4nWAKXWw==", "dev": true, "dependencies": { - "@microsoft/tsdoc": "0.15.0", + "@microsoft/tsdoc": "0.15.1", "ajv": "~8.12.0", "jju": "~1.4.0", "resolve": "~1.22.2" @@ -2876,9 +2631,9 @@ } }, "node_modules/@rollup/plugin-node-resolve": { - "version": "15.3.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.3.0.tgz", - "integrity": "sha512-9eO5McEICxMzJpDW9OnMYSv4Sta3hmt7VtBFz5zR9273suNOydOyq/FrGeGy+KsTRFm8w0SLVhzig2ILFT63Ag==", + "version": "15.3.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.3.1.tgz", + "integrity": "sha512-tgg6b91pAybXHJQMAAwW9VuWBO6Thi+q7BCNARLwSqlmsHz0XYURtGvh/AuwSADXSI4h/2uHbs7s4FzlZDGSGA==", "dev": true, "dependencies": { "@rollup/pluginutils": "^5.0.1", @@ -2921,14 +2676,14 @@ } }, "node_modules/@rollup/pluginutils": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.2.tgz", - "integrity": "sha512-/FIdS3PyZ39bjZlwqFnWqCOVnW7o963LtKMwQOD0NhQqw22gSr2YY1afu3FxRip4ZCZNsD5jq6Aaz6QV3D/Njw==", + "version": "5.1.4", + "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.1.4.tgz", + "integrity": "sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==", "dev": true, "dependencies": { "@types/estree": "^1.0.0", "estree-walker": "^2.0.2", - "picomatch": "^2.3.1" + "picomatch": "^4.0.2" }, "engines": { "node": ">=14.0.0" @@ -2943,9 +2698,9 @@ } }, "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.22.5.tgz", - "integrity": "sha512-SU5cvamg0Eyu/F+kLeMXS7GoahL+OoizlclVFX3l5Ql6yNlywJJ0OuqTzUx0v+aHhPHEB/56CT06GQrRrGNYww==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.29.1.tgz", + "integrity": "sha512-ssKhA8RNltTZLpG6/QNkCSge+7mBQGUqJRisZ2MDQcEGaK93QESEgWK2iOpIDZ7k9zPVkG5AS3ksvD5ZWxmItw==", "cpu": [ "arm" ], @@ -2956,9 +2711,9 @@ ] }, "node_modules/@rollup/rollup-android-arm64": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.22.5.tgz", - "integrity": "sha512-S4pit5BP6E5R5C8S6tgU/drvgjtYW76FBuG6+ibG3tMvlD1h9LHVF9KmlmaUBQ8Obou7hEyS+0w+IR/VtxwNMQ==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.29.1.tgz", + "integrity": "sha512-CaRfrV0cd+NIIcVVN/jx+hVLN+VRqnuzLRmfmlzpOzB87ajixsN/+9L5xNmkaUUvEbI5BmIKS+XTwXsHEb65Ew==", "cpu": [ "arm64" ], @@ -2969,9 +2724,9 @@ ] }, "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.22.5.tgz", - "integrity": "sha512-250ZGg4ipTL0TGvLlfACkIxS9+KLtIbn7BCZjsZj88zSg2Lvu3Xdw6dhAhfe/FjjXPVNCtcSp+WZjVsD3a/Zlw==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.29.1.tgz", + "integrity": "sha512-2ORr7T31Y0Mnk6qNuwtyNmy14MunTAMx06VAPI6/Ju52W10zk1i7i5U3vlDRWjhOI5quBcrvhkCHyF76bI7kEw==", "cpu": [ "arm64" ], @@ -2982,9 +2737,9 @@ ] }, "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.22.5.tgz", - "integrity": "sha512-D8brJEFg5D+QxFcW6jYANu+Rr9SlKtTenmsX5hOSzNYVrK5oLAEMTUgKWYJP+wdKyCdeSwnapLsn+OVRFycuQg==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.29.1.tgz", + "integrity": "sha512-j/Ej1oanzPjmN0tirRd5K2/nncAhS9W6ICzgxV+9Y5ZsP0hiGhHJXZ2JQ53iSSjj8m6cRY6oB1GMzNn2EUt6Ng==", "cpu": [ "x64" ], @@ -2994,10 +2749,36 @@ "darwin" ] }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.29.1.tgz", + "integrity": "sha512-91C//G6Dm/cv724tpt7nTyP+JdN12iqeXGFM1SqnljCmi5yTXriH7B1r8AD9dAZByHpKAumqP1Qy2vVNIdLZqw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.29.1.tgz", + "integrity": "sha512-hEioiEQ9Dec2nIRoeHUP6hr1PSkXzQaCUyqBDQ9I9ik4gCXQZjJMIVzoNLBRGet+hIUb3CISMh9KXuCcWVW/8w==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ] + }, "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.22.5.tgz", - "integrity": "sha512-PNqXYmdNFyWNg0ma5LdY8wP+eQfdvyaBAojAXgO7/gs0Q/6TQJVXAXe8gwW9URjbS0YAammur0fynYGiWsKlXw==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.29.1.tgz", + "integrity": "sha512-Py5vFd5HWYN9zxBv3WMrLAXY3yYJ6Q/aVERoeUFwiDGiMOWsMs7FokXihSOaT/PMWUty/Pj60XDQndK3eAfE6A==", "cpu": [ "arm" ], @@ -3008,9 +2789,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.22.5.tgz", - "integrity": "sha512-kSSCZOKz3HqlrEuwKd9TYv7vxPYD77vHSUvM2y0YaTGnFc8AdI5TTQRrM1yIp3tXCKrSL9A7JLoILjtad5t8pQ==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.29.1.tgz", + "integrity": "sha512-RiWpGgbayf7LUcuSNIbahr0ys2YnEERD4gYdISA06wa0i8RALrnzflh9Wxii7zQJEB2/Eh74dX4y/sHKLWp5uQ==", "cpu": [ "arm" ], @@ -3021,9 +2802,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.22.5.tgz", - "integrity": "sha512-oTXQeJHRbOnwRnRffb6bmqmUugz0glXaPyspp4gbQOPVApdpRrY/j7KP3lr7M8kTfQTyrBUzFjj5EuHAhqH4/w==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.29.1.tgz", + "integrity": "sha512-Z80O+taYxTQITWMjm/YqNoe9d10OX6kDh8X5/rFCMuPqsKsSyDilvfg+vd3iXIqtfmp+cnfL1UrYirkaF8SBZA==", "cpu": [ "arm64" ], @@ -3034,9 +2815,9 @@ ] }, "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.22.5.tgz", - "integrity": "sha512-qnOTIIs6tIGFKCHdhYitgC2XQ2X25InIbZFor5wh+mALH84qnFHvc+vmWUpyX97B0hNvwNUL4B+MB8vJvH65Fw==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.29.1.tgz", + "integrity": "sha512-fOHRtF9gahwJk3QVp01a/GqS4hBEZCV1oKglVVq13kcK3NeVlS4BwIFzOHDbmKzt3i0OuHG4zfRP0YoG5OF/rA==", "cpu": [ "arm64" ], @@ -3046,10 +2827,23 @@ "linux" ] }, + "node_modules/@rollup/rollup-linux-loongarch64-gnu": { + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.29.1.tgz", + "integrity": "sha512-5a7q3tnlbcg0OodyxcAdrrCxFi0DgXJSoOuidFUzHZ2GixZXQs6Tc3CHmlvqKAmOs5eRde+JJxeIf9DonkmYkw==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ] + }, "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.22.5.tgz", - "integrity": "sha512-TMYu+DUdNlgBXING13rHSfUc3Ky5nLPbWs4bFnT+R6Vu3OvXkTkixvvBKk8uO4MT5Ab6lC3U7x8S8El2q5o56w==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.29.1.tgz", + "integrity": "sha512-9b4Mg5Yfz6mRnlSPIdROcfw1BU22FQxmfjlp/CShWwO3LilKQuMISMTtAu/bxmmrE6A902W2cZJuzx8+gJ8e9w==", "cpu": [ "ppc64" ], @@ -3060,9 +2854,9 @@ ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.22.5.tgz", - "integrity": "sha512-PTQq1Kz22ZRvuhr3uURH+U/Q/a0pbxJoICGSprNLAoBEkyD3Sh9qP5I0Asn0y0wejXQBbsVMRZRxlbGFD9OK4A==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.29.1.tgz", + "integrity": "sha512-G5pn0NChlbRM8OJWpJFMX4/i8OEU538uiSv0P6roZcbpe/WfhEO+AT8SHVKfp8qhDQzaz7Q+1/ixMy7hBRidnQ==", "cpu": [ "riscv64" ], @@ -3073,9 +2867,9 @@ ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.22.5.tgz", - "integrity": "sha512-bR5nCojtpuMss6TDEmf/jnBnzlo+6n1UhgwqUvRoe4VIotC7FG1IKkyJbwsT7JDsF2jxR+NTnuOwiGv0hLyDoQ==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.29.1.tgz", + "integrity": "sha512-WM9lIkNdkhVwiArmLxFXpWndFGuOka4oJOZh8EP3Vb8q5lzdSCBuhjavJsw68Q9AKDGeOOIHYzYm4ZFvmWez5g==", "cpu": [ "s390x" ], @@ -3086,9 +2880,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.22.5.tgz", - "integrity": "sha512-N0jPPhHjGShcB9/XXZQWuWBKZQnC1F36Ce3sDqWpujsGjDz/CQtOL9LgTrJ+rJC8MJeesMWrMWVLKKNR/tMOCA==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.29.1.tgz", + "integrity": "sha512-87xYCwb0cPGZFoGiErT1eDcssByaLX4fc0z2nRM6eMtV9njAfEE6OW3UniAoDhX4Iq5xQVpE6qO9aJbCFumKYQ==", "cpu": [ "x64" ], @@ -3099,9 +2893,9 @@ ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.22.5.tgz", - "integrity": "sha512-uBa2e28ohzNNwjr6Uxm4XyaA1M/8aTgfF2T7UIlElLaeXkgpmIJ2EitVNQxjO9xLLLy60YqAgKn/AqSpCUkE9g==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.29.1.tgz", + "integrity": "sha512-xufkSNppNOdVRCEC4WKvlR1FBDyqCSCpQeMMgv9ZyXqqtKBfkw1yfGMTUTs9Qsl6WQbJnsGboWCp7pJGkeMhKA==", "cpu": [ "x64" ], @@ -3112,9 +2906,9 @@ ] }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.22.5.tgz", - "integrity": "sha512-RXT8S1HP8AFN/Kr3tg4fuYrNxZ/pZf1HemC5Tsddc6HzgGnJm0+Lh5rAHJkDuW3StI0ynNXukidROMXYl6ew8w==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.29.1.tgz", + "integrity": "sha512-F2OiJ42m77lSkizZQLuC+jiZ2cgueWQL5YC9tjo3AgaEw+KJmVxHGSyQfDUoYR9cci0lAywv2Clmckzulcq6ig==", "cpu": [ "arm64" ], @@ -3125,9 +2919,9 @@ ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.22.5.tgz", - "integrity": "sha512-ElTYOh50InL8kzyUD6XsnPit7jYCKrphmddKAe1/Ytt74apOxDq5YEcbsiKs0fR3vff3jEneMM+3I7jbqaMyBg==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.29.1.tgz", + "integrity": "sha512-rYRe5S0FcjlOBZQHgbTKNrqxCBUmgDJem/VQTCcTnA2KCabYSWQDrytOzX7avb79cAAweNmMUb/Zw18RNd4mng==", "cpu": [ "ia32" ], @@ -3138,9 +2932,9 @@ ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.22.5.tgz", - "integrity": "sha512-+lvL/4mQxSV8MukpkKyyvfwhH266COcWlXE/1qxwN08ajovta3459zrjLghYMgDerlzNwLAcFpvU+WWE5y6nAQ==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.29.1.tgz", + "integrity": "sha512-+10CMg9vt1MoHj6x1pxyjPSMjHTIlqs8/tBztXvPAx24SKs9jwVnKqHJumlH/IzhaPUaj3T6T6wfZr8okdXaIg==", "cpu": [ "x64" ], @@ -3249,12 +3043,12 @@ } }, "node_modules/@rushstack/terminal": { - "version": "0.14.2", - "resolved": "https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.14.2.tgz", - "integrity": "sha512-2fC1wqu1VCExKC0/L+0noVcFQEXEnoBOtCIex1TOjBzEDWcw8KzJjjj7aTP6mLxepG0XIyn9OufeFb6SFsa+sg==", + "version": "0.14.4", + "resolved": "https://registry.npmjs.org/@rushstack/terminal/-/terminal-0.14.4.tgz", + "integrity": "sha512-NxACqERW0PHq8Rpq1V6v5iTHEwkRGxenjEW+VWqRYQ8T9puUzgmGHmEZUaUEDHAe9Qyvp0/Ew04sAiQw9XjhJg==", "dev": true, "dependencies": { - "@rushstack/node-core-library": "5.9.0", + "@rushstack/node-core-library": "5.10.1", "supports-color": "~8.1.1" }, "peerDependencies": { @@ -3267,9 +3061,9 @@ } }, "node_modules/@rushstack/terminal/node_modules/@rushstack/node-core-library": { - "version": "5.9.0", - "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.9.0.tgz", - "integrity": "sha512-MMsshEWkTbXqxqFxD4gcIUWQOCeBChlGczdZbHfqmNZQFLHB3yWxDFSMHFUdu2/OB9NUk7Awn5qRL+rws4HQNg==", + "version": "5.10.1", + "resolved": "https://registry.npmjs.org/@rushstack/node-core-library/-/node-core-library-5.10.1.tgz", + "integrity": "sha512-BSb/KcyBHmUQwINrgtzo6jiH0HlGFmrUy33vO6unmceuVKTEyL2q+P0fQq2oB5hvXVWOEUhxB2QvlkZluvUEmg==", "dev": true, "dependencies": { "ajv": "~8.13.0", @@ -3334,15 +3128,6 @@ "node": ">=6 <7 || >=8" } }, - "node_modules/@rushstack/terminal/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/@rushstack/terminal/node_modules/json-schema-traverse": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", @@ -3416,12 +3201,12 @@ "dev": true }, "node_modules/@rushstack/ts-command-line": { - "version": "4.22.8", - "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-4.22.8.tgz", - "integrity": "sha512-XbFjOoV7qZHJnSuFUHv0pKaFA4ixyCuki+xMjsMfDwfvQjs5MYG0IK5COal3tRnG7KCDe2l/G+9LrzYE/RJhgg==", + "version": "4.23.2", + "resolved": "https://registry.npmjs.org/@rushstack/ts-command-line/-/ts-command-line-4.23.2.tgz", + "integrity": "sha512-JJ7XZX5K3ThBBva38aomgsPv1L7FV6XmSOcR6HtM7HDFZJkepqT65imw26h9ggGqMjsY0R9jcl30tzKcVj9aOQ==", "dev": true, "dependencies": { - "@rushstack/terminal": "0.14.2", + "@rushstack/terminal": "0.14.4", "@types/argparse": "1.0.38", "argparse": "~1.0.9", "string-argv": "~0.3.1" @@ -3482,12 +3267,12 @@ "dev": true }, "node_modules/@types/node": { - "version": "22.7.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.4.tgz", - "integrity": "sha512-y+NPi1rFzDs1NdQHHToqeiX2TIS79SWEAw9GYhkkx8bD0ChpfqC+n2j5OXOCpzfojBEBt6DnEnnG9MY0zk1XLg==", + "version": "22.10.2", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.2.tgz", + "integrity": "sha512-Xxr6BBRCAOQixvonOye19wnzyDiUtTeqldOOmj3CkeblonbccA12PFwlufvRdrpjXxqnmUaeiU5EOA+7s5diUQ==", "dev": true, "dependencies": { - "undici-types": "~6.19.2" + "undici-types": "~6.20.0" } }, "node_modules/@types/resolve": { @@ -3723,9 +3508,9 @@ } }, "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.1.tgz", + "integrity": "sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==", "dev": true }, "node_modules/@web/config-loader": { @@ -3753,9 +3538,9 @@ } }, "node_modules/acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -3838,15 +3623,18 @@ } }, "node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", "dev": true, "dependencies": { - "color-convert": "^1.9.0" + "color-convert": "^2.0.1" }, "engines": { - "node": ">=4" + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, "node_modules/anymatch": { @@ -3862,6 +3650,18 @@ "node": ">= 8" } }, + "node_modules/anymatch/node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/argparse": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", @@ -3895,13 +3695,13 @@ } }, "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.4.11", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.11.tgz", - "integrity": "sha512-sMEJ27L0gRHShOh5G54uAAPaiCOygY/5ratXuiyb2G46FmlSpc9eFCzYVyDiPxfNbwzA7mYahmjQc5q+CZQ09Q==", + "version": "0.4.12", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.12.tgz", + "integrity": "sha512-CPWT6BwvhrTO2d8QVorhTCQw9Y43zOu7G9HigcfxvepOU6b8o3tcWad6oVgZIsZCTt42FFv97aA7ZJsbM4+8og==", "dev": true, "dependencies": { "@babel/compat-data": "^7.22.6", - "@babel/helper-define-polyfill-provider": "^0.6.2", + "@babel/helper-define-polyfill-provider": "^0.6.3", "semver": "^6.3.1" }, "peerDependencies": { @@ -3922,12 +3722,12 @@ } }, "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.2.tgz", - "integrity": "sha512-2R25rQZWP63nGwaAswvDazbPXfrM3HwVoBXK6HcqeKrSrL/JqcC/rDcf95l4r7LXLyxDXc8uQDa064GubtCABg==", + "version": "0.6.3", + "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.6.3.tgz", + "integrity": "sha512-LiWSbl4CRSIa5x/JAU6jZiG9eit9w6mz+yVMFwDE83LAWvt0AfGBoZ7HS/mkhrKuh2ZlzfVZYKoLjXdqw6Yt7Q==", "dev": true, "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.6.2" + "@babel/helper-define-polyfill-provider": "^0.6.3" }, "peerDependencies": { "@babel/core": "^7.4.0 || ^8.0.0-0 <8.0.0" @@ -3985,9 +3785,9 @@ } }, "node_modules/browserslist": { - "version": "4.24.0", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.0.tgz", - "integrity": "sha512-Rmb62sR1Zpjql25eSanFGEhAxcFwfA1K0GuQcLoaJBAcENegrQut3hYdhXFF1obQfiDyqIW/cLM5HSJ/9k884A==", + "version": "4.24.3", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.3.tgz", + "integrity": "sha512-1CPmv8iobE2fyRMV97dAcMVegvvWKxmq94hkLiAkUGwKVTyDLw33K+ZxiFrREKmmps4rIw6grcCFCnTMSZ/YiA==", "dev": true, "funding": [ { @@ -4004,10 +3804,10 @@ } ], "dependencies": { - "caniuse-lite": "^1.0.30001663", - "electron-to-chromium": "^1.5.28", - "node-releases": "^2.0.18", - "update-browserslist-db": "^1.1.0" + "caniuse-lite": "^1.0.30001688", + "electron-to-chromium": "^1.5.73", + "node-releases": "^2.0.19", + "update-browserslist-db": "^1.1.1" }, "bin": { "browserslist": "cli.js" @@ -4032,9 +3832,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001664", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001664.tgz", - "integrity": "sha512-AmE7k4dXiNKQipgn7a2xg558IRqPN3jMQY/rOsbxDhrd0tyChwbITBfiwtnqz8bi2M5mIWbxAYBvk7W7QBUS2g==", + "version": "1.0.30001690", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001690.tgz", + "integrity": "sha512-5ExiE3qQN6oF8Clf8ifIDcMRCRE/dMGcETG/XGMD8/XiXm6HXQgQTh1yZYLXXpSOsEUlJm1Xr7kGULZTuGtP/w==", "dev": true, "funding": [ { @@ -4052,17 +3852,19 @@ ] }, "node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", "dev": true, "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">=4" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/chokidar": { @@ -4112,18 +3914,21 @@ "dev": true }, "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", "dev": true, "dependencies": { - "color-name": "1.1.3" + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" } }, "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", "dev": true }, "node_modules/colors": { @@ -4181,12 +3986,12 @@ "dev": true }, "node_modules/core-js-compat": { - "version": "3.38.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.38.1.tgz", - "integrity": "sha512-JRH6gfXxGmrzF3tZ57lFx97YARxCXPaMzPo6jELZhv88pBH5VXpQ+y0znKGlFnzuaihqhLbefxSJxWJMPtfDzw==", + "version": "3.39.0", + "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.39.0.tgz", + "integrity": "sha512-VgEUx3VwlExr5no0tXlBt+silBvhTryPwCXRI2Id1PN8WTKu7MreethvddqOubrYxkFdv/RnYrqlv1sFNAUelw==", "dev": true, "dependencies": { - "browserslist": "^4.23.3" + "browserslist": "^4.24.2" }, "funding": { "type": "opencollective", @@ -4194,9 +3999,9 @@ } }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -4220,9 +4025,9 @@ "dev": true }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, "dependencies": { "ms": "^2.1.3" @@ -4288,9 +4093,9 @@ "dev": true }, "node_modules/electron-to-chromium": { - "version": "1.5.29", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.29.tgz", - "integrity": "sha512-PF8n2AlIhCKXQ+gTpiJi0VhcHDb69kYX4MtCiivctc2QD3XuNZ/XIOlbGzt7WAjjEev0TtaH6Cu3arZExm5DOw==", + "version": "1.5.76", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.76.tgz", + "integrity": "sha512-CjVQyG7n7Sr+eBXE86HIulnL5N8xZY1sgmOPGuq/F0Rr0FJq63lg0kEtOIDfZBk44FnDLf6FUJ+dsJcuiUDdDQ==", "dev": true }, "node_modules/emoji-regex": { @@ -4353,18 +4158,22 @@ } }, "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, "engines": { - "node": ">=0.8.0" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/eslint": { "version": "8.57.1", "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", @@ -4444,21 +4253,6 @@ "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, "node_modules/eslint/node_modules/brace-expansion": { "version": "1.1.11", "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", @@ -4469,52 +4263,6 @@ "concat-map": "0.0.1" } }, - "node_modules/eslint/node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/eslint/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/eslint/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/eslint/node_modules/glob-parent": { "version": "6.0.2", "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", @@ -4542,15 +4290,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, "node_modules/eslint/node_modules/minimatch": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", @@ -4563,18 +4302,6 @@ "node": "*" } }, - "node_modules/eslint/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/espree": { "version": "9.6.1", "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", @@ -4675,15 +4402,15 @@ "dev": true }, "node_modules/fast-uri": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.2.tgz", - "integrity": "sha512-GR6f0hD7XXyNJa25Tb9BuIdN0tdr+0BMi6/CJPH3wJO1JjNG3n/VsSw38AwRdKZABm8lGbPfakLRkYzx2V9row==", + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.0.3.tgz", + "integrity": "sha512-aLrHthzCjH5He4Z2H9YZ+v6Ujb9ocRuW6ZzkJQOrTxleEijANq4v1TsaPaVG1PZcuurEzrLcWRyYBYXD5cEiaw==", "dev": true }, "node_modules/fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "version": "1.18.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.18.0.tgz", + "integrity": "sha512-QKHXPW0hD8g4UET03SdOdunzSouc9N4AuHdsX8XNcTsuz+yYFILVNIX4l9yHABMhiEI9Db0JTTIpu0wB+Y1QQw==", "dev": true, "dependencies": { "reusify": "^1.0.4" @@ -4790,9 +4517,9 @@ } }, "node_modules/flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", + "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", "dev": true }, "node_modules/foreground-child": { @@ -4996,12 +4723,12 @@ "dev": true }, "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", "dev": true, "engines": { - "node": ">=4" + "node": ">=8" } }, "node_modules/hasown": { @@ -5017,9 +4744,9 @@ } }, "node_modules/highlight.js": { - "version": "11.10.0", - "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.10.0.tgz", - "integrity": "sha512-SYVnVFswQER+zu1laSya563s+F8VDGt7o35d4utbamowvUNLLMovFqwCLSocpZTz3MgaSRA1IbqRWZv97dtErQ==", + "version": "11.11.1", + "resolved": "https://registry.npmjs.org/highlight.js/-/highlight.js-11.11.1.tgz", + "integrity": "sha512-Xwwo44whKBVCYoliBQwaPvtd/2tYFkRQtXDWj1nackaV2JPXx3L0+Jvd8/qCJ2p+ML0/XVkJ2q+Mr+UVdpJK5w==", "dev": true, "engines": { "node": ">=12.0.0" @@ -5098,9 +4825,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", - "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "version": "2.16.1", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.1.tgz", + "integrity": "sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==", "dev": true, "dependencies": { "hasown": "^2.0.2" @@ -5201,27 +4928,6 @@ "node": ">= 10.13.0" } }, - "node_modules/jest-worker/node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/jju": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/jju/-/jju-1.4.0.tgz", @@ -5247,15 +4953,15 @@ } }, "node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", "dev": true, "bin": { "jsesc": "bin/jsesc" }, "engines": { - "node": ">=4" + "node": ">=6" } }, "node_modules/json-buffer": { @@ -5389,9 +5095,9 @@ } }, "node_modules/magic-string": { - "version": "0.30.11", - "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.11.tgz", - "integrity": "sha512-+Wri9p0QHMy+545hKww7YAu5NyzF8iomPL/RQazugQ9+Ez4Ic3mERMd8ZTX5rfK944j+560ZJi8iAwgak1Ac7A==", + "version": "0.30.17", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.17.tgz", + "integrity": "sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==", "dev": true, "dependencies": { "@jridgewell/sourcemap-codec": "^1.5.0" @@ -5447,6 +5153,18 @@ "node": ">=8.6" } }, + "node_modules/micromatch/node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/minimatch": { "version": "9.0.5", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", @@ -5493,9 +5211,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "dev": true, "funding": [ { @@ -5517,9 +5235,9 @@ "dev": true }, "node_modules/node-releases": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", + "version": "2.0.19", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.19.tgz", + "integrity": "sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==", "dev": true }, "node_modules/normalize-path": { @@ -5676,18 +5394,18 @@ } }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true }, "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", + "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", "dev": true, "engines": { - "node": ">=8.6" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" @@ -5703,9 +5421,9 @@ } }, "node_modules/postcss": { - "version": "8.4.47", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz", - "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==", + "version": "8.4.49", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz", + "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==", "dev": true, "funding": [ { @@ -5723,7 +5441,7 @@ ], "dependencies": { "nanoid": "^3.3.7", - "picocolors": "^1.1.0", + "picocolors": "^1.1.1", "source-map-js": "^1.2.1" }, "engines": { @@ -5740,9 +5458,9 @@ } }, "node_modules/prettier": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", - "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", + "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" @@ -5804,6 +5522,18 @@ "node": ">=8.10.0" } }, + "node_modules/readdirp/node_modules/picomatch": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", + "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "dev": true, + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/regenerate": { "version": "1.4.2", "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", @@ -5838,15 +5568,15 @@ } }, "node_modules/regexpu-core": { - "version": "5.3.2", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.3.2.tgz", - "integrity": "sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-6.2.0.tgz", + "integrity": "sha512-H66BPQMrv+V16t8xtmq+UC0CBpiTBA60V8ibS1QVReIp8T1z8hwFxqcGzm9K6lgsN7sB5edVH8a+ze6Fqm4weA==", "dev": true, "dependencies": { - "@babel/regjsgen": "^0.8.0", "regenerate": "^1.4.2", - "regenerate-unicode-properties": "^10.1.0", - "regjsparser": "^0.9.1", + "regenerate-unicode-properties": "^10.2.0", + "regjsgen": "^0.8.0", + "regjsparser": "^0.12.0", "unicode-match-property-ecmascript": "^2.0.0", "unicode-match-property-value-ecmascript": "^2.1.0" }, @@ -5854,25 +5584,34 @@ "node": ">=4" } }, + "node_modules/regjsgen": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.8.0.tgz", + "integrity": "sha512-RvwtGe3d7LvWiDQXeQw8p5asZUmfU1G/l6WbUXeHta7Y2PEIvBTwH6E2EfmYUK8pxcxEdEmaomqyp0vZZ7C+3Q==", + "dev": true + }, "node_modules/regjsparser": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.9.1.tgz", - "integrity": "sha512-dQUtn90WanSNl+7mQKcXAgZxvUe7Z0SqXlgzv0za4LwiUhyzBC58yQO3liFoUgu8GiJVInAhJjkj1N0EtQ5nkQ==", + "version": "0.12.0", + "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.12.0.tgz", + "integrity": "sha512-cnE+y8bz4NhMjISKbgeVJtqNbtf5QpjZP+Bslo+UqkIt9QPnX9q095eiRRASJG1/tz6dlNr6Z5NsBiWYokp6EQ==", "dev": true, "dependencies": { - "jsesc": "~0.5.0" + "jsesc": "~3.0.2" }, "bin": { "regjsparser": "bin/parser" } }, "node_modules/regjsparser/node_modules/jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha512-uZz5UnB7u4T9LvwmFqXii7pZSouaRPorGs5who1Ip7VO0wxanFvBL7GkM6dTHlgX+jhBApRetaWpnDabOeTcnA==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", + "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", "dev": true, "bin": { "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" } }, "node_modules/remarkable": { @@ -5908,18 +5647,21 @@ } }, "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.10", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.10.tgz", + "integrity": "sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==", "dev": true, "dependencies": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": { "resolve": "bin/resolve" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -6245,15 +5987,15 @@ } }, "node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "dependencies": { - "has-flag": "^3.0.0" + "has-flag": "^4.0.0" }, "engines": { - "node": ">=4" + "node": ">=8" } }, "node_modules/supports-preserve-symlinks-flag": { @@ -6269,9 +6011,9 @@ } }, "node_modules/terser": { - "version": "5.34.1", - "resolved": "https://registry.npmjs.org/terser/-/terser-5.34.1.tgz", - "integrity": "sha512-FsJZ7iZLd/BXkz+4xrRTGJ26o/6VTjQytUk8b8OxkwcD2I+79VPJlz7qss1+zE7h8GNIScFqXcDyJ/KqBYZFVA==", + "version": "5.37.0", + "resolved": "https://registry.npmjs.org/terser/-/terser-5.37.0.tgz", + "integrity": "sha512-B8wRRkmre4ERucLM/uXx4MOV5cbnOlVAqUst+1+iLKPI0dOgFO28f84ptoQt9HEI537PMzfYa/d+GEPKTRXmYA==", "dev": true, "dependencies": { "@jridgewell/source-map": "^0.3.3", @@ -6298,15 +6040,6 @@ "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", "dev": true }, - "node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", @@ -6320,9 +6053,9 @@ } }, "node_modules/ts-api-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", - "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", + "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==", "dev": true, "engines": { "node": ">=16" @@ -6342,9 +6075,9 @@ } }, "node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" }, "node_modules/type-check": { "version": "0.4.0", @@ -6393,9 +6126,9 @@ } }, "node_modules/undici-types": { - "version": "6.19.8", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", - "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==", + "version": "6.20.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", + "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", "dev": true }, "node_modules/unicode-canonical-property-names-ecmascript": { @@ -6496,9 +6229,9 @@ } }, "node_modules/vite": { - "version": "5.4.8", - "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.8.tgz", - "integrity": "sha512-FqrItQ4DT1NC4zCUqMB4c4AZORMKIa0m8/URVCZ77OZ/QSNeJ54bU1vrFADbDsuwfIPcgknRkmqakQcgnL4GiQ==", + "version": "5.4.11", + "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.11.tgz", + "integrity": "sha512-c7jFQRklXua0mTzneGW9QVyxFjUgwcihC4bXEtujIo2ouWCe1Ajt/amn2PCxYnhYfd5k09JX3SB7OYWFKYqj8Q==", "dev": true, "dependencies": { "esbuild": "^0.21.3", @@ -6591,9 +6324,9 @@ } }, "node_modules/vite/node_modules/rollup": { - "version": "4.22.5", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.22.5.tgz", - "integrity": "sha512-WoinX7GeQOFMGznEcWA1WrTQCd/tpEbMkc3nuMs9BT0CPjMdSjPMTVClwWd4pgSQwJdP65SK9mTCNvItlr5o7w==", + "version": "4.29.1", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.29.1.tgz", + "integrity": "sha512-RaJ45M/kmJUzSWDs1Nnd5DdV4eerC98idtUOVr6FfKcgxqvjwHmxc5upLF9qZU9EpsVzzhleFahrT3shLuJzIw==", "dev": true, "dependencies": { "@types/estree": "1.0.6" @@ -6606,22 +6339,25 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.22.5", - "@rollup/rollup-android-arm64": "4.22.5", - "@rollup/rollup-darwin-arm64": "4.22.5", - "@rollup/rollup-darwin-x64": "4.22.5", - "@rollup/rollup-linux-arm-gnueabihf": "4.22.5", - "@rollup/rollup-linux-arm-musleabihf": "4.22.5", - "@rollup/rollup-linux-arm64-gnu": "4.22.5", - "@rollup/rollup-linux-arm64-musl": "4.22.5", - "@rollup/rollup-linux-powerpc64le-gnu": "4.22.5", - "@rollup/rollup-linux-riscv64-gnu": "4.22.5", - "@rollup/rollup-linux-s390x-gnu": "4.22.5", - "@rollup/rollup-linux-x64-gnu": "4.22.5", - "@rollup/rollup-linux-x64-musl": "4.22.5", - "@rollup/rollup-win32-arm64-msvc": "4.22.5", - "@rollup/rollup-win32-ia32-msvc": "4.22.5", - "@rollup/rollup-win32-x64-msvc": "4.22.5", + "@rollup/rollup-android-arm-eabi": "4.29.1", + "@rollup/rollup-android-arm64": "4.29.1", + "@rollup/rollup-darwin-arm64": "4.29.1", + "@rollup/rollup-darwin-x64": "4.29.1", + "@rollup/rollup-freebsd-arm64": "4.29.1", + "@rollup/rollup-freebsd-x64": "4.29.1", + "@rollup/rollup-linux-arm-gnueabihf": "4.29.1", + "@rollup/rollup-linux-arm-musleabihf": "4.29.1", + "@rollup/rollup-linux-arm64-gnu": "4.29.1", + "@rollup/rollup-linux-arm64-musl": "4.29.1", + "@rollup/rollup-linux-loongarch64-gnu": "4.29.1", + "@rollup/rollup-linux-powerpc64le-gnu": "4.29.1", + "@rollup/rollup-linux-riscv64-gnu": "4.29.1", + "@rollup/rollup-linux-s390x-gnu": "4.29.1", + "@rollup/rollup-linux-x64-gnu": "4.29.1", + "@rollup/rollup-linux-x64-musl": "4.29.1", + "@rollup/rollup-win32-arm64-msvc": "4.29.1", + "@rollup/rollup-win32-ia32-msvc": "4.29.1", + "@rollup/rollup-win32-x64-msvc": "4.29.1", "fsevents": "~2.3.2" } }, @@ -6684,39 +6420,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/wrap-ansi-cjs/node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, "node_modules/wrap-ansi/node_modules/ansi-regex": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", diff --git a/component/package.json b/component/package.json index 429212d9d..071362978 100644 --- a/component/package.json +++ b/component/package.json @@ -1,6 +1,6 @@ { "name": "deep-chat", - "version": "2.0.1", + "version": "2.1.0", "description": "Customizable chat component for AI APIs", "main": "./dist/deepChat.js", "module": "./dist/deepChat.js", diff --git a/example-servers/nextjs/app-router/package-lock.json b/example-servers/nextjs/app-router/package-lock.json index 5022340cf..7e34f8f61 100644 --- a/example-servers/nextjs/app-router/package-lock.json +++ b/example-servers/nextjs/app-router/package-lock.json @@ -7,7 +7,7 @@ "": { "version": "0.1.0", "dependencies": { - "deep-chat-react": "^2.0.1", + "deep-chat-react": "^2.1.0", "eventsource-parser": "^1.1.2", "next": "^14.2.14", "react": "^18", @@ -23,24 +23,27 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz", - "integrity": "sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==", + "version": "4.4.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", + "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", "dev": true, "dependencies": { - "eslint-visitor-keys": "^3.3.0" + "eslint-visitor-keys": "^3.4.3" }, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" }, + "funding": { + "url": "https://opencollective.com/eslint" + }, "peerDependencies": { "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, "node_modules/@eslint-community/regexpp": { - "version": "4.11.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.11.1.tgz", - "integrity": "sha512-m4DVN9ZqskZoLU5GlWZadwDnYo3vAEydiUayB9widCl9ffWx2IvPnp6n3on5rJmziJSw9Bv+Z3ChDVdMwXCY8Q==", + "version": "4.12.1", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", + "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", "dev": true, "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -165,10 +168,10 @@ "@lit/react": "^1.0.3" } }, - "node_modules/@lit/react": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@lit/react/-/react-1.0.5.tgz", - "integrity": "sha512-RSHhrcuSMa4vzhqiTenzXvtQ6QDq3hSPsnHHO3jaPmmvVFeoNNm4DHoQ0zLdKAUvY3wP3tTENSUf7xpyVfrDEA==", + "node_modules/@lit-labs/react/node_modules/@lit/react": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@lit/react/-/react-1.0.6.tgz", + "integrity": "sha512-QIss8MPh6qUoFJmuaF4dSHts3qCsA36S3HcOLiNPShxhgYPr4XJRnCBKPipk85sR9xr6TQrOcDMfexwbNdJHYA==", "peerDependencies": { "@types/react": "17 || 18" } @@ -179,9 +182,9 @@ "integrity": "sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA==" }, "node_modules/@next/env": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.14.tgz", - "integrity": "sha512-/0hWQfiaD5//LvGNgc8PjvyqV50vGK0cADYzaoOOGN8fxzBn3iAiaq3S0tCRnFBldq0LVveLcxCTi41ZoYgAgg==" + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/@next/env/-/env-14.2.20.tgz", + "integrity": "sha512-JfDpuOCB0UBKlEgEy/H6qcBSzHimn/YWjUHzKl1jMeUO+QVRdzmTTl8gFJaNO87c8DXmVKhFCtwxQ9acqB3+Pw==" }, "node_modules/@next/eslint-plugin-next": { "version": "14.1.4", @@ -193,9 +196,9 @@ } }, "node_modules/@next/swc-darwin-arm64": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.14.tgz", - "integrity": "sha512-bsxbSAUodM1cjYeA4o6y7sp9wslvwjSkWw57t8DtC8Zig8aG8V6r+Yc05/9mDzLKcybb6EN85k1rJDnMKBd9Gw==", + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-14.2.20.tgz", + "integrity": "sha512-WDfq7bmROa5cIlk6ZNonNdVhKmbCv38XteVFYsxea1vDJt3SnYGgxLGMTXQNfs5OkFvAhmfKKrwe7Y0Hs+rWOg==", "cpu": [ "arm64" ], @@ -208,9 +211,9 @@ } }, "node_modules/@next/swc-darwin-x64": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.14.tgz", - "integrity": "sha512-cC9/I+0+SK5L1k9J8CInahduTVWGMXhQoXFeNvF0uNs3Bt1Ub0Azb8JzTU9vNCr0hnaMqiWu/Z0S1hfKc3+dww==", + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-14.2.20.tgz", + "integrity": "sha512-XIQlC+NAmJPfa2hruLvr1H1QJJeqOTDV+v7tl/jIdoFvqhoihvSNykLU/G6NMgoeo+e/H7p/VeWSOvMUHKtTIg==", "cpu": [ "x64" ], @@ -223,9 +226,9 @@ } }, "node_modules/@next/swc-linux-arm64-gnu": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.14.tgz", - "integrity": "sha512-RMLOdA2NU4O7w1PQ3Z9ft3PxD6Htl4uB2TJpocm+4jcllHySPkFaUIFacQ3Jekcg6w+LBaFvjSPthZHiPmiAUg==", + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-14.2.20.tgz", + "integrity": "sha512-pnzBrHTPXIMm5QX3QC8XeMkpVuoAYOmyfsO4VlPn+0NrHraNuWjdhe+3xLq01xR++iCvX+uoeZmJDKcOxI201Q==", "cpu": [ "arm64" ], @@ -238,9 +241,9 @@ } }, "node_modules/@next/swc-linux-arm64-musl": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.14.tgz", - "integrity": "sha512-WgLOA4hT9EIP7jhlkPnvz49iSOMdZgDJVvbpb8WWzJv5wBD07M2wdJXLkDYIpZmCFfo/wPqFsFR4JS4V9KkQ2A==", + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-14.2.20.tgz", + "integrity": "sha512-WhJJAFpi6yqmUx1momewSdcm/iRXFQS0HU2qlUGlGE/+98eu7JWLD5AAaP/tkK1mudS/rH2f9E3WCEF2iYDydQ==", "cpu": [ "arm64" ], @@ -253,9 +256,9 @@ } }, "node_modules/@next/swc-linux-x64-gnu": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.14.tgz", - "integrity": "sha512-lbn7svjUps1kmCettV/R9oAvEW+eUI0lo0LJNFOXoQM5NGNxloAyFRNByYeZKL3+1bF5YE0h0irIJfzXBq9Y6w==", + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-14.2.20.tgz", + "integrity": "sha512-ao5HCbw9+iG1Kxm8XsGa3X174Ahn17mSYBQlY6VGsdsYDAbz/ZP13wSLfvlYoIDn1Ger6uYA+yt/3Y9KTIupRg==", "cpu": [ "x64" ], @@ -268,9 +271,9 @@ } }, "node_modules/@next/swc-linux-x64-musl": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.14.tgz", - "integrity": "sha512-7TcQCvLQ/hKfQRgjxMN4TZ2BRB0P7HwrGAYL+p+m3u3XcKTraUFerVbV3jkNZNwDeQDa8zdxkKkw2els/S5onQ==", + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-14.2.20.tgz", + "integrity": "sha512-CXm/kpnltKTT7945np6Td3w7shj/92TMRPyI/VvveFe8+YE+/YOJ5hyAWK5rpx711XO1jBCgXl211TWaxOtkaA==", "cpu": [ "x64" ], @@ -283,9 +286,9 @@ } }, "node_modules/@next/swc-win32-arm64-msvc": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.14.tgz", - "integrity": "sha512-8i0Ou5XjTLEje0oj0JiI0Xo9L/93ghFtAUYZ24jARSeTMXLUx8yFIdhS55mTExq5Tj4/dC2fJuaT4e3ySvXU1A==", + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-14.2.20.tgz", + "integrity": "sha512-upJn2HGQgKNDbXVfIgmqT2BN8f3z/mX8ddoyi1I565FHbfowVK5pnMEwauvLvaJf4iijvuKq3kw/b6E9oIVRWA==", "cpu": [ "arm64" ], @@ -298,9 +301,9 @@ } }, "node_modules/@next/swc-win32-ia32-msvc": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.14.tgz", - "integrity": "sha512-2u2XcSaDEOj+96eXpyjHjtVPLhkAFw2nlaz83EPeuK4obF+HmtDJHqgR1dZB7Gb6V/d55FL26/lYVd0TwMgcOQ==", + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-14.2.20.tgz", + "integrity": "sha512-igQW/JWciTGJwj3G1ipalD2V20Xfx3ywQy17IV0ciOUBbFhNfyU1DILWsTi32c8KmqgIDviUEulW/yPb2FF90w==", "cpu": [ "ia32" ], @@ -313,9 +316,9 @@ } }, "node_modules/@next/swc-win32-x64-msvc": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.14.tgz", - "integrity": "sha512-MZom+OvZ1NZxuRovKt1ApevjiUJTcU2PmdJKL66xUPaJeRywnbGGRWUlaAOwunD6dX+pm83vj979NTC8QXjGWg==", + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-14.2.20.tgz", + "integrity": "sha512-AFmqeLW6LtxeFTuoB+MXFeM5fm5052i3MU6xD0WzJDOwku6SkZaxb1bxjBaRC8uNqTRTSPl0yMFtjNowIVI67w==", "cpu": [ "x64" ], @@ -414,35 +417,35 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.16.10", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.16.10.tgz", - "integrity": "sha512-vQUKgWTjEIRFCvK6CyriPH3MZYiYlNy0fKiEYHWbcoWLEgs4opurGGKlebrTLqdSMIbXImH6XExNiIyNUv3WpA==", + "version": "20.17.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.17.10.tgz", + "integrity": "sha512-/jrvh5h6NXhEauFFexRin69nA0uHJ5gwk4iDivp/DeoEua3uwCUto6PC86IpRITBOs4+6i2I56K5x5b6WYGXHA==", "dev": true, "dependencies": { "undici-types": "~6.19.2" } }, "node_modules/@types/prop-types": { - "version": "15.7.13", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz", - "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==" + "version": "15.7.14", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz", + "integrity": "sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==" }, "node_modules/@types/react": { - "version": "18.3.10", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.10.tgz", - "integrity": "sha512-02sAAlBnP39JgXwkAq3PeU9DVaaGpZyF3MGcC0MKgQVkZor5IiiDAipVaxQHtDJAmO4GIy/rVBy/LzVj76Cyqg==", + "version": "18.3.17", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.17.tgz", + "integrity": "sha512-opAQ5no6LqJNo9TqnxBKsgnkIYHozW9KSTlFVoSUJYh1Fl/sswkEoqIugRSm7tbh6pABtYjGAjW+GOS23j8qbw==", "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" } }, "node_modules/@types/react-dom": { - "version": "18.3.0", - "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.0.tgz", - "integrity": "sha512-EhwApuTmMBmXuFOikhQLIBUn6uFg81SwLMOAUgodJF14SOBOCMdU04gDoYi0WOJJHD144TL32z4yDqCW3dnkQg==", + "version": "18.3.5", + "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-18.3.5.tgz", + "integrity": "sha512-P4t6saawp+b/dFrUr2cvkVsfvPguwsxtH6dNIYRllMsefqFzkZk5UIjzyDOv5g1dXIPdG4Sp1yCR4Z6RCUsG/Q==", "dev": true, - "dependencies": { - "@types/react": "*" + "peerDependencies": { + "@types/react": "^18.0.0" } }, "node_modules/@typescript-eslint/parser": { @@ -573,15 +576,15 @@ } }, "node_modules/@ungap/structured-clone": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz", - "integrity": "sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.1.tgz", + "integrity": "sha512-fEzPV3hSkSMltkw152tJKNARhOupqbH96MZWyRjNaYZOMIzbrTeQDG+MTc6Mr2pgzFQzFxAfmhGDNP5QK++2ZA==", "dev": true }, "node_modules/acorn": { - "version": "8.12.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.12.1.tgz", - "integrity": "sha512-tcpGyI9zbizT9JbV6oYE477V6mTlXvvi0T0G3SNIYE2apm/G5huBa1+K89VGeovbg+jycCrfhl3ADxErOuO6Jg==", + "version": "8.14.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", + "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -646,12 +649,12 @@ "dev": true }, "node_modules/aria-query": { - "version": "5.1.3", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.1.3.tgz", - "integrity": "sha512-R5iJ5lkuHybztUfuOAznmboyjWq8O6sqNqtK7CLOqdydi54VNbORp49mb14KbWgG1QD3JFO9hJdZ+y4KutfdOQ==", + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz", + "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==", "dev": true, - "dependencies": { - "deep-equal": "^2.0.5" + "engines": { + "node": ">= 0.4" } }, "node_modules/array-buffer-byte-length": { @@ -740,15 +743,15 @@ } }, "node_modules/array.prototype.flat": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.2.tgz", - "integrity": "sha512-djYB+Zx2vLewY8RWlNCUdHjDXs2XOgm602S9E7P/UpHgfeHL00cRiIF+IN/G/aUJ7kGPb6yO/ErDI5V2s8iycA==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.3.tgz", + "integrity": "sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -758,15 +761,15 @@ } }, "node_modules/array.prototype.flatmap": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.2.tgz", - "integrity": "sha512-Ewyx0c9PmpcsByhSW4r+9zDU7sGjFc86qf/kKtuSCRdhfbk0SNLLkaT5qvcHnRGgc5NP/ly/y+qkXkqONX54CQ==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.3.tgz", + "integrity": "sha512-Y7Wt51eKJSyi80hFrJCePGGNo5ktJCslFuboqJsbf57CCPcm5zztluPlc4/aD8sWsKvlwatezpV4U1efk8kpjg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "es-shim-unscopables": "^1.0.0" + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.5", + "es-shim-unscopables": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -792,19 +795,18 @@ } }, "node_modules/arraybuffer.prototype.slice": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz", - "integrity": "sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.4.tgz", + "integrity": "sha512-BNoCY6SXXPQ7gF2opIP4GBE+Xw7U+pHMYKuzjgCN3GwiaIR09UUeKfheyIry77QtrCBlC0KK0q5/TER/tYh3PQ==", "dev": true, "dependencies": { "array-buffer-byte-length": "^1.0.1", - "call-bind": "^1.0.5", + "call-bind": "^1.0.8", "define-properties": "^1.2.1", - "es-abstract": "^1.22.3", - "es-errors": "^1.2.1", - "get-intrinsic": "^1.2.3", - "is-array-buffer": "^3.0.4", - "is-shared-array-buffer": "^1.0.2" + "es-abstract": "^1.23.5", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.6", + "is-array-buffer": "^3.0.4" }, "engines": { "node": ">= 0.4" @@ -843,9 +845,9 @@ } }, "node_modules/axe-core": { - "version": "4.10.0", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.0.tgz", - "integrity": "sha512-Mr2ZakwQ7XUAjp7pAwQWRhhK8mQQ6JAaNWSjmjxil0R8BPioMtQsTLOolGYkji1rcL++3dCqZA3zWqpT+9Ew6g==", + "version": "4.10.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.10.2.tgz", + "integrity": "sha512-RE3mdQ7P3FRSe7eqCWoeQ/Z9QXrtniSjp1wUjt5nRC3WIpz5rSCve6o3fsZ2aCpJtrZjSZgjwXAoTO5k4tEI0w==", "dev": true, "engines": { "node": ">=4" @@ -900,16 +902,44 @@ } }, "node_modules/call-bind": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", - "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.8.tgz", + "integrity": "sha512-oKlSFMcMwpUg2ednkhQ454wfWiU/ul3CkJe/PEHcTKuiX6RpbehUiFMXu13HalGZxfUwCQzZG747YXBn1im9ww==", "dev": true, "dependencies": { + "call-bind-apply-helpers": "^1.0.0", "es-define-property": "^1.0.0", - "es-errors": "^1.3.0", - "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", - "set-function-length": "^1.2.1" + "set-function-length": "^1.2.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/call-bind-apply-helpers": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/call-bind-apply-helpers/-/call-bind-apply-helpers-1.0.1.tgz", + "integrity": "sha512-BhYE+WDaywFg2TBWYNXAE+8B1ATnThNBqXHP5nQu0jWJdVvY2hvkpyB3qOmtmDePiS5/BDQ8wASEWGMWRG148g==", + "dev": true, + "dependencies": { + "es-errors": "^1.3.0", + "function-bind": "^1.1.2" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/call-bound": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/call-bound/-/call-bound-1.0.3.tgz", + "integrity": "sha512-YTd+6wGlNlPxSuri7Y6X8tY2dmm12UMH66RpKMhiX6rsk5wXXnYgbUcOt8kiS31/AjfoTOvCsE+w8nZQLQnzHA==", + "dev": true, + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "get-intrinsic": "^1.2.6" }, "engines": { "node": ">= 0.4" @@ -928,9 +958,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001666", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001666.tgz", - "integrity": "sha512-gD14ICmoV5ZZM1OdzPWmpx+q4GyefaK06zi8hmfHV5xe4/2nOQX3+Dw5o+fSqOws2xVwL9j+anOPFwHzdEdV4g==", + "version": "1.0.30001689", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001689.tgz", + "integrity": "sha512-CmeR2VBycfa+5/jOfnp/NpWPGd06nf1XYiefUvhXFfZE4GkRc9jv+eGPS4nT558WS/8lYCzV8SlANCIPvbWP1g==", "funding": [ { "type": "opencollective", @@ -992,9 +1022,9 @@ "dev": true }, "node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -1068,9 +1098,9 @@ } }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", + "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", "dev": true, "dependencies": { "ms": "^2.1.3" @@ -1085,9 +1115,9 @@ } }, "node_modules/deep-chat": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.0.1.tgz", - "integrity": "sha512-dLzEvRah+lr+Z6MZq/XSkuIJu2jyd38QVdqMeXGy2WKJQGmBnFZOK/m+F+hsLm9nz2MSfnMYXxGitQI4SNzBcQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.1.0.tgz", + "integrity": "sha512-NcmAfGw6selVjqrKThpDT2F5awb+Wsbpu7LHNIozBOctLkNtEbTfGkUEdBz/IUkaoLUBYTh3R4KTg0NY2Z333g==", "dependencies": { "@microsoft/fetch-event-source": "^2.0.1", "remarkable": "^2.0.1", @@ -1095,49 +1125,17 @@ } }, "node_modules/deep-chat-react": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-chat-react/-/deep-chat-react-2.0.1.tgz", - "integrity": "sha512-oq3ztyhwgPemvJ+LAP2Zbb8rBFty41TlxtCE6bpzGx60mv3tEXd9DvmcI+CQWPDcYRonJLu0tMNxKVwTlY3Ybg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/deep-chat-react/-/deep-chat-react-2.1.0.tgz", + "integrity": "sha512-ndbpwkhb6Qac2NB3sMxNSLoGCpwu/M/HoQddNEhL9jGm2lry8FLj4c73xE8g0JYGbDiuAZN/mzyGZHcCuxX0Wg==", "dependencies": { "@lit-labs/react": "^2.1.3", - "deep-chat": "2.0.1" + "deep-chat": "2.1.0" }, "peerDependencies": { "react": ">=16.8.0 || >=17.0.0 || >=18.0.0" } }, - "node_modules/deep-equal": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-2.2.3.tgz", - "integrity": "sha512-ZIwpnevOurS8bpT4192sqAowWM76JDKSHYzMLty3BZGSswgq6pBaH3DhCSW5xVAZICZyKdOBPjwww5wfgT/6PA==", - "dev": true, - "dependencies": { - "array-buffer-byte-length": "^1.0.0", - "call-bind": "^1.0.5", - "es-get-iterator": "^1.1.3", - "get-intrinsic": "^1.2.2", - "is-arguments": "^1.1.1", - "is-array-buffer": "^3.0.2", - "is-date-object": "^1.0.5", - "is-regex": "^1.1.4", - "is-shared-array-buffer": "^1.0.2", - "isarray": "^2.0.5", - "object-is": "^1.1.5", - "object-keys": "^1.1.1", - "object.assign": "^4.1.4", - "regexp.prototype.flags": "^1.5.1", - "side-channel": "^1.0.4", - "which-boxed-primitive": "^1.0.2", - "which-collection": "^1.0.1", - "which-typed-array": "^1.1.13" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/deep-is": { "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", @@ -1202,6 +1200,20 @@ "node": ">=6.0.0" } }, + "node_modules/dunder-proto": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz", + "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==", + "dev": true, + "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "es-errors": "^1.3.0", + "gopd": "^1.2.0" + }, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", @@ -1228,57 +1240,59 @@ } }, "node_modules/es-abstract": { - "version": "1.23.3", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.3.tgz", - "integrity": "sha512-e+HfNH61Bj1X9/jLc5v1owaLYuHdeHHSQlkhCBiTK8rBvKaULl/beGMxwrMXjpYrv4pz22BlY570vVePA2ho4A==", + "version": "1.23.6", + "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.23.6.tgz", + "integrity": "sha512-Ifco6n3yj2tMZDWNLyloZrytt9lqqlwvS83P3HtaETR0NUOYnIULGGHpktqYGObGy+8wc1okO25p8TjemhImvA==", "dev": true, "dependencies": { "array-buffer-byte-length": "^1.0.1", - "arraybuffer.prototype.slice": "^1.0.3", + "arraybuffer.prototype.slice": "^1.0.4", "available-typed-arrays": "^1.0.7", - "call-bind": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", "data-view-buffer": "^1.0.1", "data-view-byte-length": "^1.0.1", "data-view-byte-offset": "^1.0.0", - "es-define-property": "^1.0.0", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.0.0", "es-set-tostringtag": "^2.0.3", - "es-to-primitive": "^1.2.1", - "function.prototype.name": "^1.1.6", - "get-intrinsic": "^1.2.4", + "es-to-primitive": "^1.3.0", + "function.prototype.name": "^1.1.7", + "get-intrinsic": "^1.2.6", "get-symbol-description": "^1.0.2", - "globalthis": "^1.0.3", - "gopd": "^1.0.1", + "globalthis": "^1.0.4", + "gopd": "^1.2.0", "has-property-descriptors": "^1.0.2", - "has-proto": "^1.0.3", - "has-symbols": "^1.0.3", + "has-proto": "^1.2.0", + "has-symbols": "^1.1.0", "hasown": "^2.0.2", - "internal-slot": "^1.0.7", + "internal-slot": "^1.1.0", "is-array-buffer": "^3.0.4", "is-callable": "^1.2.7", - "is-data-view": "^1.0.1", + "is-data-view": "^1.0.2", "is-negative-zero": "^2.0.3", - "is-regex": "^1.1.4", + "is-regex": "^1.2.1", "is-shared-array-buffer": "^1.0.3", - "is-string": "^1.0.7", + "is-string": "^1.1.1", "is-typed-array": "^1.1.13", - "is-weakref": "^1.0.2", - "object-inspect": "^1.13.1", + "is-weakref": "^1.1.0", + "math-intrinsics": "^1.0.0", + "object-inspect": "^1.13.3", "object-keys": "^1.1.1", "object.assign": "^4.1.5", - "regexp.prototype.flags": "^1.5.2", - "safe-array-concat": "^1.1.2", - "safe-regex-test": "^1.0.3", - "string.prototype.trim": "^1.2.9", - "string.prototype.trimend": "^1.0.8", + "regexp.prototype.flags": "^1.5.3", + "safe-array-concat": "^1.1.3", + "safe-regex-test": "^1.1.0", + "string.prototype.trim": "^1.2.10", + "string.prototype.trimend": "^1.0.9", "string.prototype.trimstart": "^1.0.8", "typed-array-buffer": "^1.0.2", "typed-array-byte-length": "^1.0.1", - "typed-array-byte-offset": "^1.0.2", - "typed-array-length": "^1.0.6", + "typed-array-byte-offset": "^1.0.3", + "typed-array-length": "^1.0.7", "unbox-primitive": "^1.0.2", - "which-typed-array": "^1.1.15" + "which-typed-array": "^1.1.16" }, "engines": { "node": ">= 0.4" @@ -1288,13 +1302,10 @@ } }, "node_modules/es-define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", - "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.1.tgz", + "integrity": "sha512-e3nRfgfUZ4rNGL232gUgX06QNyyez04KdjFrF+LTRoOXmrOgFKDg4BCdsjW8EnT69eqdYGmRpJwiPVYNrCaW3g==", "dev": true, - "dependencies": { - "get-intrinsic": "^1.2.4" - }, "engines": { "node": ">= 0.4" } @@ -1308,30 +1319,10 @@ "node": ">= 0.4" } }, - "node_modules/es-get-iterator": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/es-get-iterator/-/es-get-iterator-1.1.3.tgz", - "integrity": "sha512-sPZmqHBe6JIiTfN5q2pEi//TwxmAFHwj/XEuYjTuse78i8KxaqMTTzxPoFKuzRpDpTJ+0NAbpfenkmH2rePtuw==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.1.3", - "has-symbols": "^1.0.3", - "is-arguments": "^1.1.1", - "is-map": "^2.0.2", - "is-set": "^2.0.2", - "is-string": "^1.0.7", - "isarray": "^2.0.5", - "stop-iteration-iterator": "^1.0.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/es-iterator-helpers": { - "version": "1.0.19", - "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.0.19.tgz", - "integrity": "sha512-zoMwbCcH5hwUkKJkT8kDIBZSz9I6mVG//+lDCinLCGov4+r7NIy0ld8o03M0cJxl2spVf6ESYVS6/gpIfq1FFw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/es-iterator-helpers/-/es-iterator-helpers-1.2.0.tgz", + "integrity": "sha512-tpxqxncxnpw3c93u8n3VOzACmRFoVmWJqbWXvX/JfKbkhBw1oslgPrUfeSt2psuqyEJFD6N/9lg5i7bsKpoq+Q==", "dev": true, "dependencies": { "call-bind": "^1.0.7", @@ -1341,12 +1332,13 @@ "es-set-tostringtag": "^2.0.3", "function-bind": "^1.1.2", "get-intrinsic": "^1.2.4", - "globalthis": "^1.0.3", + "globalthis": "^1.0.4", + "gopd": "^1.0.1", "has-property-descriptors": "^1.0.2", "has-proto": "^1.0.3", "has-symbols": "^1.0.3", "internal-slot": "^1.0.7", - "iterator.prototype": "^1.1.2", + "iterator.prototype": "^1.1.3", "safe-array-concat": "^1.1.2" }, "engines": { @@ -1389,14 +1381,14 @@ } }, "node_modules/es-to-primitive": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", - "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.3.0.tgz", + "integrity": "sha512-w+5mJ3GuFL+NjVtJlvydShqE1eN3h3PbI7/5LAsYJP/2qtuMXjfL2LpHSRqo4b4eSF5K/DH1JXKUAHSB2UW50g==", "dev": true, "dependencies": { - "is-callable": "^1.1.4", - "is-date-object": "^1.0.1", - "is-symbol": "^1.0.2" + "is-callable": "^1.2.7", + "is-date-object": "^1.0.5", + "is-symbol": "^1.0.4" }, "engines": { "node": ">= 0.4" @@ -1421,6 +1413,7 @@ "version": "8.57.1", "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.57.1.tgz", "integrity": "sha512-ypowyDxpVSYpkXr9WPv2PAZCtNip1Mv5KTW0SCurXv/9iOpcrH9PaqUElksqEB6pChqHGDRCFTyrZlGhnLNGiA==", + "deprecated": "This version is no longer supported. Please see https://eslint.org/version-support for other options.", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", @@ -1519,19 +1512,19 @@ } }, "node_modules/eslint-import-resolver-typescript": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.6.3.tgz", - "integrity": "sha512-ud9aw4szY9cCT1EWWdGv1L1XR6hh2PaRWif0j2QjQ0pgTY/69iw+W0Z4qZv5wHahOl8isEr+k/JnyAqNQkLkIA==", + "version": "3.7.0", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-typescript/-/eslint-import-resolver-typescript-3.7.0.tgz", + "integrity": "sha512-Vrwyi8HHxY97K5ebydMtffsWAn1SCR9eol49eCd5fJS4O1WV7PaAjbcjmbfJJSMz/t4Mal212Uz/fQZrOB8mow==", "dev": true, "dependencies": { "@nolyfill/is-core-module": "1.0.39", - "debug": "^4.3.5", + "debug": "^4.3.7", "enhanced-resolve": "^5.15.0", - "eslint-module-utils": "^2.8.1", "fast-glob": "^3.3.2", "get-tsconfig": "^4.7.5", "is-bun-module": "^1.0.2", - "is-glob": "^4.0.3" + "is-glob": "^4.0.3", + "stable-hash": "^0.0.4" }, "engines": { "node": "^14.18.0 || >=16.0.0" @@ -1580,9 +1573,9 @@ } }, "node_modules/eslint-plugin-import": { - "version": "2.30.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.30.0.tgz", - "integrity": "sha512-/mHNE9jINJfiD2EKkg1BKyPyUk4zdnT54YgbOgfjSakWT5oyX/qQLVNTkehyfpcMxZXMy1zyonZ2v7hZTX43Yw==", + "version": "2.31.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.31.0.tgz", + "integrity": "sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==", "dev": true, "dependencies": { "@rtsao/scc": "^1.1.0", @@ -1593,7 +1586,7 @@ "debug": "^3.2.7", "doctrine": "^2.1.0", "eslint-import-resolver-node": "^0.3.9", - "eslint-module-utils": "^2.9.0", + "eslint-module-utils": "^2.12.0", "hasown": "^2.0.2", "is-core-module": "^2.15.1", "is-glob": "^4.0.3", @@ -1602,13 +1595,14 @@ "object.groupby": "^1.0.3", "object.values": "^1.2.0", "semver": "^6.3.1", + "string.prototype.trimend": "^1.0.8", "tsconfig-paths": "^3.15.0" }, "engines": { "node": ">=4" }, "peerDependencies": { - "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9" } }, "node_modules/eslint-plugin-import/node_modules/debug": { @@ -1642,12 +1636,12 @@ } }, "node_modules/eslint-plugin-jsx-a11y": { - "version": "6.10.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.0.tgz", - "integrity": "sha512-ySOHvXX8eSN6zz8Bywacm7CvGNhUtdjvqfQDVe6020TUK34Cywkw7m0KsCCk1Qtm9G1FayfTN1/7mMYnYO2Bhg==", + "version": "6.10.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.10.2.tgz", + "integrity": "sha512-scB3nz4WmG75pV8+3eRUQOHZlNSUhFNq37xnpgRkCCELU3XMvXAxLk1eqWWyE22Ki4Q01Fnsw9BA3cJHDPgn2Q==", "dev": true, "dependencies": { - "aria-query": "~5.1.3", + "aria-query": "^5.3.2", "array-includes": "^3.1.8", "array.prototype.flatmap": "^1.3.2", "ast-types-flow": "^0.0.8", @@ -1655,14 +1649,13 @@ "axobject-query": "^4.1.0", "damerau-levenshtein": "^1.0.8", "emoji-regex": "^9.2.2", - "es-iterator-helpers": "^1.0.19", "hasown": "^2.0.2", "jsx-ast-utils": "^3.3.5", "language-tags": "^1.0.9", "minimatch": "^3.1.2", "object.fromentries": "^2.0.8", "safe-regex-test": "^1.0.3", - "string.prototype.includes": "^2.0.0" + "string.prototype.includes": "^2.0.1" }, "engines": { "node": ">=4.0" @@ -1672,9 +1665,9 @@ } }, "node_modules/eslint-plugin-react": { - "version": "7.37.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.1.tgz", - "integrity": "sha512-xwTnwDqzbDRA8uJ7BMxPs/EXRB3i8ZfnOIp8BsxEQkT0nHPp+WWceqGgo6rKb9ctNi8GJLDT4Go5HAWELa/WMg==", + "version": "7.37.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.37.2.tgz", + "integrity": "sha512-EsTAnj9fLVr/GZleBLFbj/sSuXeWmp1eXIN60ceYnZveqEaUCyW4X+Vh4WTdUhCkW4xutXYqTXCUSyqD4rB75w==", "dev": true, "dependencies": { "array-includes": "^3.1.8", @@ -1682,7 +1675,7 @@ "array.prototype.flatmap": "^1.3.2", "array.prototype.tosorted": "^1.1.4", "doctrine": "^2.1.0", - "es-iterator-helpers": "^1.0.19", + "es-iterator-helpers": "^1.1.0", "estraverse": "^5.3.0", "hasown": "^2.0.2", "jsx-ast-utils": "^2.4.1 || ^3.0.0", @@ -1704,9 +1697,9 @@ } }, "node_modules/eslint-plugin-react-hooks": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-4.6.2.tgz", - "integrity": "sha512-QzliNJq4GinDBcD8gPB5v0wh6g8q3SUi6EFF0x8N/BL9PoVs0atuGc47ozMRyOWAKdwaZ5OnbOEa3WR+dSGKuQ==", + "version": "5.0.0-canary-7118f5dd7-20230705", + "resolved": "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-5.0.0-canary-7118f5dd7-20230705.tgz", + "integrity": "sha512-AZYbMo/NW9chdL7vk6HQzQhT+PvTAEVqWk9ziruUoW2kAOcN5qNyelv70e0F1VNQAbvutOC9oc+xfWycI9FxDw==", "dev": true, "engines": { "node": ">=10" @@ -1958,9 +1951,9 @@ } }, "node_modules/flatted": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.1.tgz", - "integrity": "sha512-X8cqMLLie7KsNUDSdzeN8FYK9rEt4Dt67OsG/DNGnYTSDBG4uFAJFBnUeiV+zCVAvwFy56IjM9sH51jVaEhNxw==", + "version": "3.3.2", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", + "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", "dev": true }, "node_modules/for-each": { @@ -2004,15 +1997,16 @@ } }, "node_modules/function.prototype.name": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", - "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.7.tgz", + "integrity": "sha512-2g4x+HqTJKM9zcJqBSpjoRmdcPFtJM60J3xJisTQSXBWka5XqyBN/2tNUgma1mztTXyDuUsEtYe5qcs7xYzYQA==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.2.0", - "es-abstract": "^1.22.1", - "functions-have-names": "^1.2.3" + "call-bind": "^1.0.8", + "define-properties": "^1.2.1", + "functions-have-names": "^1.2.3", + "hasown": "^2.0.2", + "is-callable": "^1.2.7" }, "engines": { "node": ">= 0.4" @@ -2031,16 +2025,21 @@ } }, "node_modules/get-intrinsic": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", - "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "version": "1.2.6", + "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.6.tgz", + "integrity": "sha512-qxsEs+9A+u85HhllWJJFicJfPDhRmjzoYdl64aMWW9yRIJmSyxdn8IEkuIM530/7T+lv0TIHd8L6Q/ra0tEoeA==", "dev": true, "dependencies": { + "call-bind-apply-helpers": "^1.0.1", + "dunder-proto": "^1.0.0", + "es-define-property": "^1.0.1", "es-errors": "^1.3.0", + "es-object-atoms": "^1.0.0", "function-bind": "^1.1.2", - "has-proto": "^1.0.1", - "has-symbols": "^1.0.3", - "hasown": "^2.0.0" + "gopd": "^1.2.0", + "has-symbols": "^1.1.0", + "hasown": "^2.0.2", + "math-intrinsics": "^1.0.0" }, "engines": { "node": ">= 0.4" @@ -2188,12 +2187,12 @@ } }, "node_modules/gopd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", - "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", + "integrity": "sha512-ZUKRh6/kUFoAiTAtTYPZJ3hw9wNxx+BIBOijnlG9PnrJsCcSjs1wyyD6vJpaYtgnzDrKYRSqf3OO6Rfa93xsRg==", "dev": true, - "dependencies": { - "get-intrinsic": "^1.1.3" + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2241,10 +2240,13 @@ } }, "node_modules/has-proto": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", - "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.2.0.tgz", + "integrity": "sha512-KIL7eQPfHQRC8+XluaIw7BHUwwqL19bQn4hzNgdr+1wXoU0KKj6rufu47lhY7KbJR2C6T6+PfyN0Ea7wkSS+qQ==", "dev": true, + "dependencies": { + "dunder-proto": "^1.0.0" + }, "engines": { "node": ">= 0.4" }, @@ -2253,9 +2255,9 @@ } }, "node_modules/has-symbols": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", - "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.1.0.tgz", + "integrity": "sha512-1cDNdwJ2Jaohmb3sg4OmKaMBwuC48sYni5HUw2DvsC8LjGTLK9h+eb1X6RyuOHe4hT0ULCW68iomhjUoKUqlPQ==", "dev": true, "engines": { "node": ">= 0.4" @@ -2343,43 +2345,28 @@ "dev": true }, "node_modules/internal-slot": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.7.tgz", - "integrity": "sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.1.0.tgz", + "integrity": "sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==", "dev": true, "dependencies": { "es-errors": "^1.3.0", - "hasown": "^2.0.0", - "side-channel": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "hasown": "^2.0.2", + "side-channel": "^1.1.0" }, "engines": { "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-array-buffer": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.4.tgz", - "integrity": "sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.5.tgz", + "integrity": "sha512-DDfANUiiG2wC1qawP66qlTugJeL5HyzMpfr8lLK+jMQirGzNod0B12cFB/9q838Ru27sBwfw78/rdoU7RERz6A==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "get-intrinsic": "^1.2.1" + "call-bind": "^1.0.8", + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" }, "engines": { "node": ">= 0.4" @@ -2404,25 +2391,28 @@ } }, "node_modules/is-bigint": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", - "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.1.0.tgz", + "integrity": "sha512-n4ZT37wG78iz03xPRKJrHTdZbe3IicyucEtdRsV5yglwc3GyUfbAfpSeD0FJ41NbUNSt5wbhqfp1fS+BgnvDFQ==", "dev": true, "dependencies": { - "has-bigints": "^1.0.1" + "has-bigints": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-boolean-object": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", - "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.2.1.tgz", + "integrity": "sha512-l9qO6eFlUETHtuihLcYOaLKByJ1f+N4kthcU9YjHy3N+B3hWv0y/2Nd0mu/7lTFnRQHTrSdXF50HQ3bl5fEnng==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "call-bound": "^1.0.2", + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -2432,9 +2422,9 @@ } }, "node_modules/is-bun-module": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.2.1.tgz", - "integrity": "sha512-AmidtEM6D6NmUiLOvvU7+IePxjEjOzra2h0pSrsfSAcXwl/83zLLXDByafUJy9k/rKK0pvXMLdwKwGHlX2Ke6Q==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/is-bun-module/-/is-bun-module-1.3.0.tgz", + "integrity": "sha512-DgXeu5UWI0IsMQundYb5UAOzm6G2eVnarJ0byP6Tm55iZNKceD59LNPA2L4VvsScTtHcw0yEkVwSf7PC+QoLSA==", "dev": true, "dependencies": { "semver": "^7.6.3" @@ -2453,9 +2443,9 @@ } }, "node_modules/is-core-module": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", - "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "version": "2.16.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.16.0.tgz", + "integrity": "sha512-urTSINYfAYgcbLb0yDQ6egFm6h3Mo1DcF9EkyXSRjjzdHbsulg01qhwWuXdOoUBuTkbQ80KDboXa0vFJ+BDH+g==", "dev": true, "dependencies": { "hasown": "^2.0.2" @@ -2468,11 +2458,13 @@ } }, "node_modules/is-data-view": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.1.tgz", - "integrity": "sha512-AHkaJrsUVW6wq6JS8y3JnM/GJF/9cf+k20+iDzlSaJrinEo5+7vRiteOSwBhHRiAyQATN1AmY4hwzxJKPmYf+w==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/is-data-view/-/is-data-view-1.0.2.tgz", + "integrity": "sha512-RKtWF8pGmS87i2D6gqQu/l7EYRlVdfzemCJN/P3UOs//x1QE7mfhvzHIApBTRf7axvT6DMGwSwBXYCT0nfB9xw==", "dev": true, "dependencies": { + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", "is-typed-array": "^1.1.13" }, "engines": { @@ -2483,12 +2475,13 @@ } }, "node_modules/is-date-object": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", - "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.1.0.tgz", + "integrity": "sha512-PwwhEakHVKTdRNVOw+/Gyh0+MzlCl4R6qKvkhuvLtPMggI1WAHt9sOwZxQLSGpUaDnrdyDsomoRgNnCfKNSXXg==", "dev": true, "dependencies": { - "has-tostringtag": "^1.0.0" + "call-bound": "^1.0.2", + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -2507,12 +2500,15 @@ } }, "node_modules/is-finalizationregistry": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.0.2.tgz", - "integrity": "sha512-0by5vtUJs8iFQb5TYUHHPudOR+qXYIMKtiUzvLIZITZUjknFmziyBJuLhVRc+Ds0dREFlskDNJKYIdIzu/9pfw==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-finalizationregistry/-/is-finalizationregistry-1.1.1.tgz", + "integrity": "sha512-1pC6N8qWJbWoPtEjgcL2xyhQOP491EQjeUo3qTKcmV8YSDDJrOepfG8pcC7h/QgnQHYSv0mJ3Z/ZWxmatVrysg==", "dev": true, "dependencies": { - "call-bind": "^1.0.2" + "call-bound": "^1.0.3" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -2588,12 +2584,13 @@ } }, "node_modules/is-number-object": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", - "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.1.1.tgz", + "integrity": "sha512-lZhclumE1G6VYD8VHe35wFaIif+CTy5SJIi5+3y4psDgWu4wPDoBhF8NxUOinEc7pHgiTsT6MaBb92rKhhD+Xw==", "dev": true, "dependencies": { - "has-tostringtag": "^1.0.0" + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -2612,13 +2609,15 @@ } }, "node_modules/is-regex": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", - "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.2.1.tgz", + "integrity": "sha512-MjYsKHO5O7mCsmRGxWcLWheFqN9DJ/2TmngvjKXihe6efViPqc274+Fx/4fYj/r03+ESvBdTXK0V6tA3rgez1g==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" + "call-bound": "^1.0.2", + "gopd": "^1.2.0", + "has-tostringtag": "^1.0.2", + "hasown": "^2.0.2" }, "engines": { "node": ">= 0.4" @@ -2655,12 +2654,13 @@ } }, "node_modules/is-string": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", - "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.1.1.tgz", + "integrity": "sha512-BtEeSsoaQjlSPBemMQIrY1MY0uM6vnS1g5fmufYOtnxLGUZM2178PKbhsk7Ffv58IX+ZtcvoGwccYsh0PglkAA==", "dev": true, "dependencies": { - "has-tostringtag": "^1.0.0" + "call-bound": "^1.0.3", + "has-tostringtag": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -2670,12 +2670,14 @@ } }, "node_modules/is-symbol": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", - "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.1.1.tgz", + "integrity": "sha512-9gGx6GTtCQM73BgmHQXfDmLtfjjTUDSyoxTCbp5WtoixAhfgsDirWIcVQ/IHpvI5Vgd5i/J5F7B9cN/WlVbC/w==", "dev": true, "dependencies": { - "has-symbols": "^1.0.2" + "call-bound": "^1.0.2", + "has-symbols": "^1.1.0", + "safe-regex-test": "^1.1.0" }, "engines": { "node": ">= 0.4" @@ -2712,25 +2714,28 @@ } }, "node_modules/is-weakref": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", - "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.1.0.tgz", + "integrity": "sha512-SXM8Nwyys6nT5WP6pltOwKytLV7FqQ4UiibxVmW+EIosHcmCqkkjViTb5SNssDlkCiEYRP1/pdWUKVvZBmsR2Q==", "dev": true, "dependencies": { - "call-bind": "^1.0.2" + "call-bound": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/is-weakset": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.3.tgz", - "integrity": "sha512-LvIm3/KWzS9oRFHugab7d+M/GcBXuXX5xZkzPmN+NxihdQlZUQ4dWuSV1xR/sq6upL1TJEDrfBgRepHFdBtSNQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/is-weakset/-/is-weakset-2.0.4.tgz", + "integrity": "sha512-mfcwb6IzQyOKTs84CQMrOwW4gQcaTOAWJ0zzJCl2WSPDrWk/OzDaImWFH3djXhb24g4eudZfLRozAvPGw4d9hQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.7", - "get-intrinsic": "^1.2.4" + "call-bound": "^1.0.3", + "get-intrinsic": "^1.2.6" }, "engines": { "node": ">= 0.4" @@ -2752,16 +2757,20 @@ "dev": true }, "node_modules/iterator.prototype": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz", - "integrity": "sha512-DR33HMMr8EzwuRL8Y9D3u2BMj8+RqSE850jfGu59kS7tbmPLzGkZmVSfyCFSDxuZiEY6Rzt3T2NA/qU+NwVj1w==", + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.4.tgz", + "integrity": "sha512-x4WH0BWmrMmg4oHHl+duwubhrvczGlyuGAZu3nvrf0UXOfPu8IhZObFEr7DE/iv01YgVZrsOiRcqw2srkKEDIA==", "dev": true, "dependencies": { - "define-properties": "^1.2.1", - "get-intrinsic": "^1.2.1", - "has-symbols": "^1.0.3", - "reflect.getprototypeof": "^1.0.4", - "set-function-name": "^2.0.1" + "define-data-property": "^1.1.4", + "es-object-atoms": "^1.0.0", + "get-intrinsic": "^1.2.6", + "has-symbols": "^1.1.0", + "reflect.getprototypeof": "^1.0.8", + "set-function-name": "^2.0.2" + }, + "engines": { + "node": ">= 0.4" } }, "node_modules/jackspeak": { @@ -2922,6 +2931,15 @@ "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "dev": true }, + "node_modules/math-intrinsics": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.0.0.tgz", + "integrity": "sha512-4MqMiKP90ybymYvsut0CH2g4XWbfLtmlCkXmtmdcDCxNB+mQcu1w/1+L/VD7vi/PSv7X2JYV7SCcR+jiPXnQtA==", + "dev": true, + "engines": { + "node": ">= 0.4" + } + }, "node_modules/merge2": { "version": "1.4.1", "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", @@ -2981,9 +2999,9 @@ "dev": true }, "node_modules/nanoid": { - "version": "3.3.7", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz", - "integrity": "sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==", + "version": "3.3.8", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.8.tgz", + "integrity": "sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==", "funding": [ { "type": "github", @@ -3004,11 +3022,11 @@ "dev": true }, "node_modules/next": { - "version": "14.2.14", - "resolved": "https://registry.npmjs.org/next/-/next-14.2.14.tgz", - "integrity": "sha512-Q1coZG17MW0Ly5x76shJ4dkC23woLAhhnDnw+DfTc7EpZSGuWrlsZ3bZaO8t6u1Yu8FVfhkqJE+U8GC7E0GLPQ==", + "version": "14.2.20", + "resolved": "https://registry.npmjs.org/next/-/next-14.2.20.tgz", + "integrity": "sha512-yPvIiWsiyVYqJlSQxwmzMIReXn5HxFNq4+tlVQ812N1FbvhmE+fDpIAD7bcS2mGYQwPJ5vAsQouyme2eKsxaug==", "dependencies": { - "@next/env": "14.2.14", + "@next/env": "14.2.20", "@swc/helpers": "0.5.5", "busboy": "1.6.0", "caniuse-lite": "^1.0.30001579", @@ -3023,15 +3041,15 @@ "node": ">=18.17.0" }, "optionalDependencies": { - "@next/swc-darwin-arm64": "14.2.14", - "@next/swc-darwin-x64": "14.2.14", - "@next/swc-linux-arm64-gnu": "14.2.14", - "@next/swc-linux-arm64-musl": "14.2.14", - "@next/swc-linux-x64-gnu": "14.2.14", - "@next/swc-linux-x64-musl": "14.2.14", - "@next/swc-win32-arm64-msvc": "14.2.14", - "@next/swc-win32-ia32-msvc": "14.2.14", - "@next/swc-win32-x64-msvc": "14.2.14" + "@next/swc-darwin-arm64": "14.2.20", + "@next/swc-darwin-x64": "14.2.20", + "@next/swc-linux-arm64-gnu": "14.2.20", + "@next/swc-linux-arm64-musl": "14.2.20", + "@next/swc-linux-x64-gnu": "14.2.20", + "@next/swc-linux-x64-musl": "14.2.20", + "@next/swc-win32-arm64-msvc": "14.2.20", + "@next/swc-win32-ia32-msvc": "14.2.20", + "@next/swc-win32-x64-msvc": "14.2.20" }, "peerDependencies": { "@opentelemetry/api": "^1.1.0", @@ -3062,9 +3080,9 @@ } }, "node_modules/object-inspect": { - "version": "1.13.2", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", - "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "version": "1.13.3", + "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.3.tgz", + "integrity": "sha512-kDCGIbxkDSXE3euJZZXzc6to7fCrKHNI/hSRQnRuQ+BWjFNzZwiFF8fj/6o2t2G9/jTj8PSIYTfCLelLZEeRpA==", "dev": true, "engines": { "node": ">= 0.4" @@ -3073,22 +3091,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-is": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.6.tgz", - "integrity": "sha512-F8cZ+KfGlSGi09lJT7/Nd6KJZ9ygtvYC0/UYYLI9nmQKLMnydpB9yvbv9K1uSkEu7FU9vYPmVwLg328tX+ot3Q==", - "dev": true, - "dependencies": { - "call-bind": "^1.0.7", - "define-properties": "^1.2.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", @@ -3306,9 +3308,9 @@ } }, "node_modules/picocolors": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.0.tgz", - "integrity": "sha512-TQ92mBOW0l3LeMeyLV6mzy/kWr8lkd/hp3mTg7wYK7zJhuBStmGMBG0BdeDZS/dZx1IukaX6Bk11zcln25o1Aw==" + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==" }, "node_modules/picomatch": { "version": "2.3.1", @@ -3437,18 +3439,19 @@ "dev": true }, "node_modules/reflect.getprototypeof": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.6.tgz", - "integrity": "sha512-fmfw4XgoDke3kdI6h4xcUz1dG8uaiv5q9gcEwLS4Pnth2kxT+GZ7YehS1JTMGBQmtV7Y4GFGbs2re2NqhdozUg==", + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/reflect.getprototypeof/-/reflect.getprototypeof-1.0.8.tgz", + "integrity": "sha512-B5dj6usc5dkk8uFliwjwDHM8To5/QwdKz9JcBZ8Ic4G1f0YmeeJTtE/ZTdgRFPAfxZFiUaPhZ1Jcs4qeagItGQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.7", + "call-bind": "^1.0.8", "define-properties": "^1.2.1", - "es-abstract": "^1.23.1", + "dunder-proto": "^1.0.0", + "es-abstract": "^1.23.5", "es-errors": "^1.3.0", "get-intrinsic": "^1.2.4", - "globalthis": "^1.0.3", - "which-builtin-type": "^1.1.3" + "gopd": "^1.2.0", + "which-builtin-type": "^1.2.0" }, "engines": { "node": ">= 0.4" @@ -3458,15 +3461,15 @@ } }, "node_modules/regexp.prototype.flags": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.2.tgz", - "integrity": "sha512-NcDiDkTLuPR+++OCKB0nWafEmhg/Da8aUPLPMQbK+bxKKCm1/S5he+AqYa4PlMCVBalb4/yxIRub6qkEx5yJbw==", + "version": "1.5.3", + "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.3.tgz", + "integrity": "sha512-vqlC04+RQoFalODCbCumG2xIOvapzVMHwsyIGM/SIE8fRhFFsXeH8/QQ+s0T0kDAhKc4k30s73/0ydkHQz6HlQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.6", + "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-errors": "^1.3.0", - "set-function-name": "^2.0.1" + "set-function-name": "^2.0.2" }, "engines": { "node": ">= 0.4" @@ -3499,12 +3502,12 @@ } }, "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.9", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.9.tgz", + "integrity": "sha512-QxrmX1DzraFIi9PxdG5VkRfRwIgjwyud+z/iBwfRRrVmHc+P9Q7u2lSSpQ6bjr2gy5lrqIiU9vb6iAeGf2400A==", "dev": true, "dependencies": { - "is-core-module": "^2.13.0", + "is-core-module": "^2.16.0", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, @@ -3604,14 +3607,15 @@ } }, "node_modules/safe-array-concat": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", - "integrity": "sha512-vj6RsCsWBCf19jIeHEfkRMw8DPiBb+DMXklQ/1SGDHOMlHdPUkZXFQ2YdplS23zESTijAcurb1aSgJA3AgMu1Q==", + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.3.tgz", + "integrity": "sha512-AURm5f0jYEOydBj7VQlVvDrjeFgthDdEF5H1dP+6mNpoXOMo1quQqJ4wvJDyRZ9+pO3kGWoOdmV08cSv2aJV6Q==", "dev": true, "dependencies": { - "call-bind": "^1.0.7", - "get-intrinsic": "^1.2.4", - "has-symbols": "^1.0.3", + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "get-intrinsic": "^1.2.6", + "has-symbols": "^1.1.0", "isarray": "^2.0.5" }, "engines": { @@ -3622,14 +3626,14 @@ } }, "node_modules/safe-regex-test": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.3.tgz", - "integrity": "sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.1.0.tgz", + "integrity": "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw==", "dev": true, "dependencies": { - "call-bind": "^1.0.6", + "call-bound": "^1.0.2", "es-errors": "^1.3.0", - "is-regex": "^1.1.4" + "is-regex": "^1.2.1" }, "engines": { "node": ">= 0.4" @@ -3712,15 +3716,69 @@ } }, "node_modules/side-channel": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", - "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz", + "integrity": "sha512-ZX99e6tRweoUXqR+VBrslhda51Nh5MTQwou5tnUDgbtyM0dBgmhEDtWGP/xbKn6hqfPRHujUNwz5fy/wbbhnpw==", "dev": true, "dependencies": { - "call-bind": "^1.0.7", "es-errors": "^1.3.0", - "get-intrinsic": "^1.2.4", - "object-inspect": "^1.13.1" + "object-inspect": "^1.13.3", + "side-channel-list": "^1.0.0", + "side-channel-map": "^1.0.1", + "side-channel-weakmap": "^1.0.2" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-list": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/side-channel-list/-/side-channel-list-1.0.0.tgz", + "integrity": "sha512-FCLHtRD/gnpCiCHEiJLOwdmFP+wzCmDEkc9y7NsYxeF4u7Btsn1ZuwgwJGxImImHicJArLP4R0yX4c2KCrMrTA==", + "dev": true, + "dependencies": { + "es-errors": "^1.3.0", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-map": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/side-channel-map/-/side-channel-map-1.0.1.tgz", + "integrity": "sha512-VCjCNfgMsby3tTdo02nbjtM/ewra6jPHmpThenkTYh8pG9ucZ/1P8So4u4FGBek/BjpOVsDCMoLA/iuBKIFXRA==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/side-channel-weakmap": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/side-channel-weakmap/-/side-channel-weakmap-1.0.2.tgz", + "integrity": "sha512-WPS/HvHQTYnHisLo9McqBHOJk2FkHO/tlpvldyrnem4aeQp4hai3gythswg6p01oSoTl58rcpiFAjF2br2Ak2A==", + "dev": true, + "dependencies": { + "call-bound": "^1.0.2", + "es-errors": "^1.3.0", + "get-intrinsic": "^1.2.5", + "object-inspect": "^1.13.3", + "side-channel-map": "^1.0.1" }, "engines": { "node": ">= 0.4" @@ -3768,17 +3826,11 @@ "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" }, - "node_modules/stop-iteration-iterator": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/stop-iteration-iterator/-/stop-iteration-iterator-1.0.0.tgz", - "integrity": "sha512-iCGQj+0l0HOdZ2AEeBADlsRC+vsnDsZsbdSiH1yNSjcfKM7fdpCMfqAL/dwF5BLiw/XhRft/Wax6zQbhq2BcjQ==", - "dev": true, - "dependencies": { - "internal-slot": "^1.0.4" - }, - "engines": { - "node": ">= 0.4" - } + "node_modules/stable-hash": { + "version": "0.0.4", + "resolved": "https://registry.npmjs.org/stable-hash/-/stable-hash-0.0.4.tgz", + "integrity": "sha512-LjdcbuBeLcdETCrPn9i8AYAZ1eCtu4ECAWtP7UleOiZ9LzVxRzzUZEoZ8zB24nhkQnDWyET0I+3sWokSDS3E7g==", + "dev": true }, "node_modules/streamsearch": { "version": "1.1.0", @@ -3854,13 +3906,17 @@ } }, "node_modules/string.prototype.includes": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.0.tgz", - "integrity": "sha512-E34CkBgyeqNDcrbU76cDjL5JLcVrtSdYq0MEh/B10r17pRP4ciHLwTgnuLV8Ay6cgEMLkcBkFCKyFZ43YldYzg==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/string.prototype.includes/-/string.prototype.includes-2.0.1.tgz", + "integrity": "sha512-o7+c9bW6zpAdJHTtujeePODAhkuicdAryFsfVKwA+wGw89wJ4GTY484WTucM9hLtDEOpOvI+aHnzqnC5lHp4Rg==", "dev": true, "dependencies": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.5" + "call-bind": "^1.0.7", + "define-properties": "^1.2.1", + "es-abstract": "^1.23.3" + }, + "engines": { + "node": ">= 0.4" } }, "node_modules/string.prototype.matchall": { @@ -3900,15 +3956,18 @@ } }, "node_modules/string.prototype.trim": { - "version": "1.2.9", - "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.9.tgz", - "integrity": "sha512-klHuCNxiMZ8MlsOihJhJEBJAiMVqU3Z2nEXWfWnIqjN0gEFS9J9+IxKozWWtQGcgoa1WUZzLjKPTr4ZHNFTFxw==", + "version": "1.2.10", + "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.10.tgz", + "integrity": "sha512-Rs66F0P/1kedk5lyYyH9uBzuiI/kNRmwJAR9quK6VOtIpZ2G+hMZd+HQbbv25MgCA6gEffoMZYxlTod4WcdrKA==", "dev": true, "dependencies": { - "call-bind": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", + "define-data-property": "^1.1.4", "define-properties": "^1.2.1", - "es-abstract": "^1.23.0", - "es-object-atoms": "^1.0.0" + "es-abstract": "^1.23.5", + "es-object-atoms": "^1.0.0", + "has-property-descriptors": "^1.0.2" }, "engines": { "node": ">= 0.4" @@ -3918,15 +3977,19 @@ } }, "node_modules/string.prototype.trimend": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.8.tgz", - "integrity": "sha512-p73uL5VCHCO2BZZ6krwwQE3kCzM7NKmis8S//xEC6fQonchbum4eP6kR4DLEjQFO3Wnj3Fuo8NM0kOSjVdHjZQ==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.9.tgz", + "integrity": "sha512-G7Ok5C6E/j4SGfyLCloXTrngQIQU3PWtXGst3yM7Bea9FRURf1S42ZHlZZtsNque2FN2PoUhfZXYLNWwEr4dLQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.7", + "call-bind": "^1.0.8", + "call-bound": "^1.0.2", "define-properties": "^1.2.1", "es-object-atoms": "^1.0.0" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -4068,9 +4131,9 @@ } }, "node_modules/ts-api-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.3.0.tgz", - "integrity": "sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==", + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", + "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==", "dev": true, "engines": { "node": ">=16" @@ -4092,9 +4155,9 @@ } }, "node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" }, "node_modules/type-check": { "version": "0.4.0", @@ -4154,9 +4217,9 @@ } }, "node_modules/typed-array-byte-offset": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.2.tgz", - "integrity": "sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.3.tgz", + "integrity": "sha512-GsvTyUHTriq6o/bHcTd0vM7OQ9JEdlvluu9YISaA7+KzDzPaIzEeDFNkTfhdE3MYcNhNi0vq/LlegYgIs5yPAw==", "dev": true, "dependencies": { "available-typed-arrays": "^1.0.7", @@ -4164,7 +4227,8 @@ "for-each": "^0.3.3", "gopd": "^1.0.1", "has-proto": "^1.0.3", - "is-typed-array": "^1.1.13" + "is-typed-array": "^1.1.13", + "reflect.getprototypeof": "^1.0.6" }, "engines": { "node": ">= 0.4" @@ -4174,17 +4238,17 @@ } }, "node_modules/typed-array-length": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.6.tgz", - "integrity": "sha512-/OxDN6OtAk5KBpGb28T+HZc2M+ADtvRxXrKKbUwtsLgdoxgX13hyy7ek6bFRl5+aBs2yZzB0c4CnQfAtVypW/g==", + "version": "1.0.7", + "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.7.tgz", + "integrity": "sha512-3KS2b+kL7fsuk/eJZ7EQdnEmQoaho/r6KUef7hxvltNA5DR8NAUM+8wJMbJyZ4G9/7i3v5zPBIMN5aybAh2/Jg==", "dev": true, "dependencies": { "call-bind": "^1.0.7", "for-each": "^0.3.3", "gopd": "^1.0.1", - "has-proto": "^1.0.3", "is-typed-array": "^1.1.13", - "possible-typed-array-names": "^1.0.0" + "possible-typed-array-names": "^1.0.0", + "reflect.getprototypeof": "^1.0.6" }, "engines": { "node": ">= 0.4" @@ -4194,9 +4258,9 @@ } }, "node_modules/typescript": { - "version": "5.6.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.6.2.tgz", - "integrity": "sha512-NW8ByodCSNCwZeghjN3o+JX5OFH0Ojg6sadjEKY4huZ52TqbJTJnDo5+Tw98lSy63NZvi4n+ez5m2u5d4PkZyw==", + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", + "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -4207,15 +4271,18 @@ } }, "node_modules/unbox-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", - "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.1.0.tgz", + "integrity": "sha512-nWJ91DjeOkej/TA8pXQ3myruKpKEYgqvpw9lz4OPHj/NWFNluYrjbz9j01CJ8yKQd2g4jFoOkINCTW2I5LEEyw==", "dev": true, "dependencies": { - "call-bind": "^1.0.2", + "call-bound": "^1.0.3", "has-bigints": "^1.0.2", - "has-symbols": "^1.0.3", - "which-boxed-primitive": "^1.0.2" + "has-symbols": "^1.1.0", + "which-boxed-primitive": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" @@ -4252,39 +4319,43 @@ } }, "node_modules/which-boxed-primitive": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", - "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.1.1.tgz", + "integrity": "sha512-TbX3mj8n0odCBFVlY8AxkqcHASw3L60jIuF8jFP78az3C2YhmGvqbHBpAjTRH2/xqYunrJ9g1jSyjCjpoWzIAA==", "dev": true, "dependencies": { - "is-bigint": "^1.0.1", - "is-boolean-object": "^1.1.0", - "is-number-object": "^1.0.4", - "is-string": "^1.0.5", - "is-symbol": "^1.0.3" + "is-bigint": "^1.1.0", + "is-boolean-object": "^1.2.1", + "is-number-object": "^1.1.1", + "is-string": "^1.1.1", + "is-symbol": "^1.1.1" + }, + "engines": { + "node": ">= 0.4" }, "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/which-builtin-type": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.1.4.tgz", - "integrity": "sha512-bppkmBSsHFmIMSl8BO9TbsyzsvGjVoppt8xUiGzwiu/bhDCGxnpOKCxgqj6GuyHE0mINMDecBFPlOm2hzY084w==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/which-builtin-type/-/which-builtin-type-1.2.1.tgz", + "integrity": "sha512-6iBczoX+kDQ7a3+YJBnh3T+KZRxM/iYNPXicqk66/Qfm1b93iu+yOImkg0zHbj5LNOcNv1TEADiZ0xa34B4q6Q==", "dev": true, "dependencies": { + "call-bound": "^1.0.2", "function.prototype.name": "^1.1.6", "has-tostringtag": "^1.0.2", "is-async-function": "^2.0.0", - "is-date-object": "^1.0.5", - "is-finalizationregistry": "^1.0.2", + "is-date-object": "^1.1.0", + "is-finalizationregistry": "^1.1.0", "is-generator-function": "^1.0.10", - "is-regex": "^1.1.4", + "is-regex": "^1.2.1", "is-weakref": "^1.0.2", "isarray": "^2.0.5", - "which-boxed-primitive": "^1.0.2", + "which-boxed-primitive": "^1.1.0", "which-collection": "^1.0.2", - "which-typed-array": "^1.1.15" + "which-typed-array": "^1.1.16" }, "engines": { "node": ">= 0.4" @@ -4312,9 +4383,9 @@ } }, "node_modules/which-typed-array": { - "version": "1.1.15", - "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.15.tgz", - "integrity": "sha512-oV0jmFtUky6CXfkqehVvBP/LSWJ2sy4vWMioiENyJLePrBO/yKyV9OyJySfAKosh+RYkIl5zJCNZ8/4JncrpdA==", + "version": "1.1.16", + "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.16.tgz", + "integrity": "sha512-g+N+GAWiRj66DngFwHvISJd+ITsyphZvD1vChfVg6cEdnzy53GzB3oy0fUNlvhz7H7+MiqhYr26qxQShCpKTTQ==", "dev": true, "dependencies": { "available-typed-arrays": "^1.0.7", diff --git a/example-servers/nextjs/app-router/package.json b/example-servers/nextjs/app-router/package.json index 30af1dd12..58e36fc07 100644 --- a/example-servers/nextjs/app-router/package.json +++ b/example-servers/nextjs/app-router/package.json @@ -8,7 +8,7 @@ "lint": "next lint" }, "dependencies": { - "deep-chat-react": "^2.0.1", + "deep-chat-react": "^2.1.0", "eventsource-parser": "^1.1.2", "next": "^14.2.14", "react": "^18", diff --git a/example-servers/nextjs/pages-router/package-lock.json b/example-servers/nextjs/pages-router/package-lock.json index f8eff6172..e5cdf155a 100644 --- a/example-servers/nextjs/pages-router/package-lock.json +++ b/example-servers/nextjs/pages-router/package-lock.json @@ -6,7 +6,7 @@ "": { "dependencies": { "axios": "^1.6.7", - "deep-chat-react": "^2.0.1", + "deep-chat-react": "^2.1.0", "eventsource-parser": "^1.1.2", "next": "14.1.3", "react": "^18.2.0", @@ -303,9 +303,9 @@ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" }, "node_modules/deep-chat": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.0.1.tgz", - "integrity": "sha512-dLzEvRah+lr+Z6MZq/XSkuIJu2jyd38QVdqMeXGy2WKJQGmBnFZOK/m+F+hsLm9nz2MSfnMYXxGitQI4SNzBcQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.1.0.tgz", + "integrity": "sha512-NcmAfGw6selVjqrKThpDT2F5awb+Wsbpu7LHNIozBOctLkNtEbTfGkUEdBz/IUkaoLUBYTh3R4KTg0NY2Z333g==", "dependencies": { "@microsoft/fetch-event-source": "^2.0.1", "remarkable": "^2.0.1", @@ -313,12 +313,12 @@ } }, "node_modules/deep-chat-react": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-chat-react/-/deep-chat-react-2.0.1.tgz", - "integrity": "sha512-oq3ztyhwgPemvJ+LAP2Zbb8rBFty41TlxtCE6bpzGx60mv3tEXd9DvmcI+CQWPDcYRonJLu0tMNxKVwTlY3Ybg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/deep-chat-react/-/deep-chat-react-2.1.0.tgz", + "integrity": "sha512-ndbpwkhb6Qac2NB3sMxNSLoGCpwu/M/HoQddNEhL9jGm2lry8FLj4c73xE8g0JYGbDiuAZN/mzyGZHcCuxX0Wg==", "dependencies": { "@lit-labs/react": "^2.1.3", - "deep-chat": "2.0.1" + "deep-chat": "2.1.0" }, "peerDependencies": { "react": ">=16.8.0 || >=17.0.0 || >=18.0.0" diff --git a/example-servers/nextjs/pages-router/package.json b/example-servers/nextjs/pages-router/package.json index 5b6c864c6..3a8dd4fd6 100644 --- a/example-servers/nextjs/pages-router/package.json +++ b/example-servers/nextjs/pages-router/package.json @@ -7,7 +7,7 @@ }, "dependencies": { "axios": "^1.6.7", - "deep-chat-react": "^2.0.1", + "deep-chat-react": "^2.1.0", "eventsource-parser": "^1.1.2", "next": "14.1.3", "react": "^18.2.0", diff --git a/example-servers/sveltekit/package-lock.json b/example-servers/sveltekit/package-lock.json index ff6f5f55c..a667325b3 100644 --- a/example-servers/sveltekit/package-lock.json +++ b/example-servers/sveltekit/package-lock.json @@ -8,7 +8,7 @@ "name": "deep-chat-sveltekit", "version": "0.0.1", "dependencies": { - "deep-chat": "^2.0.1", + "deep-chat": "^2.1.0", "eventsource-parser": "^1.1.2" }, "devDependencies": { @@ -1141,9 +1141,9 @@ } }, "node_modules/deep-chat": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.0.1.tgz", - "integrity": "sha512-dLzEvRah+lr+Z6MZq/XSkuIJu2jyd38QVdqMeXGy2WKJQGmBnFZOK/m+F+hsLm9nz2MSfnMYXxGitQI4SNzBcQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.1.0.tgz", + "integrity": "sha512-NcmAfGw6selVjqrKThpDT2F5awb+Wsbpu7LHNIozBOctLkNtEbTfGkUEdBz/IUkaoLUBYTh3R4KTg0NY2Z333g==", "dependencies": { "@microsoft/fetch-event-source": "^2.0.1", "remarkable": "^2.0.1", diff --git a/example-servers/sveltekit/package.json b/example-servers/sveltekit/package.json index 74608f9c7..ef7359dcf 100644 --- a/example-servers/sveltekit/package.json +++ b/example-servers/sveltekit/package.json @@ -21,7 +21,7 @@ }, "type": "module", "dependencies": { - "deep-chat": "^2.0.1", + "deep-chat": "^2.1.0", "eventsource-parser": "^1.1.2" } } diff --git a/example-servers/ui/package-lock.json b/example-servers/ui/package-lock.json index da08535e7..f9c17482e 100644 --- a/example-servers/ui/package-lock.json +++ b/example-servers/ui/package-lock.json @@ -15,7 +15,7 @@ "@types/node": "^20.11.26", "@types/react": "^18.2.65", "@types/react-dom": "^18.2.21", - "deep-chat-react": "^2.0.1", + "deep-chat-react": "^2.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", @@ -7365,9 +7365,9 @@ } }, "node_modules/deep-chat": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.0.1.tgz", - "integrity": "sha512-dLzEvRah+lr+Z6MZq/XSkuIJu2jyd38QVdqMeXGy2WKJQGmBnFZOK/m+F+hsLm9nz2MSfnMYXxGitQI4SNzBcQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.1.0.tgz", + "integrity": "sha512-NcmAfGw6selVjqrKThpDT2F5awb+Wsbpu7LHNIozBOctLkNtEbTfGkUEdBz/IUkaoLUBYTh3R4KTg0NY2Z333g==", "dependencies": { "@microsoft/fetch-event-source": "^2.0.1", "remarkable": "^2.0.1", @@ -7375,12 +7375,12 @@ } }, "node_modules/deep-chat-react": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-chat-react/-/deep-chat-react-2.0.1.tgz", - "integrity": "sha512-oq3ztyhwgPemvJ+LAP2Zbb8rBFty41TlxtCE6bpzGx60mv3tEXd9DvmcI+CQWPDcYRonJLu0tMNxKVwTlY3Ybg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/deep-chat-react/-/deep-chat-react-2.1.0.tgz", + "integrity": "sha512-ndbpwkhb6Qac2NB3sMxNSLoGCpwu/M/HoQddNEhL9jGm2lry8FLj4c73xE8g0JYGbDiuAZN/mzyGZHcCuxX0Wg==", "dependencies": { "@lit-labs/react": "^2.1.3", - "deep-chat": "2.0.1" + "deep-chat": "2.1.0" }, "peerDependencies": { "react": ">=16.8.0 || >=17.0.0 || >=18.0.0" diff --git a/example-servers/ui/package.json b/example-servers/ui/package.json index 6e10c45dd..a8cb5e576 100644 --- a/example-servers/ui/package.json +++ b/example-servers/ui/package.json @@ -10,7 +10,7 @@ "@types/node": "^20.11.26", "@types/react": "^18.2.65", "@types/react-dom": "^18.2.21", - "deep-chat-react": "^2.0.1", + "deep-chat-react": "^2.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-scripts": "5.0.1", diff --git a/other-packages/react/package-lock.json b/other-packages/react/package-lock.json index 28eff7660..0fc1a35e9 100644 --- a/other-packages/react/package-lock.json +++ b/other-packages/react/package-lock.json @@ -1,16 +1,16 @@ { "name": "deep-chat-react", - "version": "2.0.1", + "version": "2.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "deep-chat-react", - "version": "2.0.1", + "version": "2.1.0", "license": "MIT", "dependencies": { "@lit-labs/react": "^2.1.3", - "deep-chat": "2.0.1" + "deep-chat": "2.1.0" }, "devDependencies": { "@types/react": "^18.2.64", @@ -28,10 +28,10 @@ "@lit/react": "^1.0.3" } }, - "node_modules/@lit/react": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/@lit/react/-/react-1.0.5.tgz", - "integrity": "sha512-RSHhrcuSMa4vzhqiTenzXvtQ6QDq3hSPsnHHO3jaPmmvVFeoNNm4DHoQ0zLdKAUvY3wP3tTENSUf7xpyVfrDEA==", + "node_modules/@lit-labs/react/node_modules/@lit/react": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/@lit/react/-/react-1.0.6.tgz", + "integrity": "sha512-QIss8MPh6qUoFJmuaF4dSHts3qCsA36S3HcOLiNPShxhgYPr4XJRnCBKPipk85sR9xr6TQrOcDMfexwbNdJHYA==", "peerDependencies": { "@types/react": "17 || 18" } @@ -42,14 +42,14 @@ "integrity": "sha512-W6CLUJ2eBMw3Rec70qrsEW0jOm/3twwJv21mrmj2yORiaVmVYGS4sSS5yUwvQc1ZlDLYGPnClVWmUUMagKNsfA==" }, "node_modules/@types/prop-types": { - "version": "15.7.13", - "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.13.tgz", - "integrity": "sha512-hCZTSvwbzWGvhqxp/RqVqwU999pBf2vp7hzIjiYOsl8wqOmUxkQ6ddw1cV3l8811+kdUFus/q4d1Y3E3SyEifA==" + "version": "15.7.14", + "resolved": "https://registry.npmjs.org/@types/prop-types/-/prop-types-15.7.14.tgz", + "integrity": "sha512-gNMvNH49DJ7OJYv+KAKn0Xp45p8PLl6zo2YnvDIbTd4J6MER2BmWN49TG7n9LvkyihINxeKW8+3bfS2yDC9dzQ==" }, "node_modules/@types/react": { - "version": "18.3.9", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.9.tgz", - "integrity": "sha512-+BpAVyTpJkNWWSSnaLBk6ePpHLOGJKnEQNbINNovPWzvEUyAe3e+/d494QdEh71RekM/qV7lw6jzf1HGrJyAtQ==", + "version": "18.3.17", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.3.17.tgz", + "integrity": "sha512-opAQ5no6LqJNo9TqnxBKsgnkIYHozW9KSTlFVoSUJYh1Fl/sswkEoqIugRSm7tbh6pABtYjGAjW+GOS23j8qbw==", "dependencies": { "@types/prop-types": "*", "csstype": "^3.0.2" @@ -77,41 +77,20 @@ "integrity": "sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==" }, "node_modules/deep-chat": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.0.1.tgz", - "integrity": "sha512-dLzEvRah+lr+Z6MZq/XSkuIJu2jyd38QVdqMeXGy2WKJQGmBnFZOK/m+F+hsLm9nz2MSfnMYXxGitQI4SNzBcQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.1.0.tgz", + "integrity": "sha512-NcmAfGw6selVjqrKThpDT2F5awb+Wsbpu7LHNIozBOctLkNtEbTfGkUEdBz/IUkaoLUBYTh3R4KTg0NY2Z333g==", "dependencies": { "@microsoft/fetch-event-source": "^2.0.1", "remarkable": "^2.0.1", "speech-to-element": "^0.1.66" } }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "peer": true - }, - "node_modules/loose-envify": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", - "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", - "peer": true, - "dependencies": { - "js-tokens": "^3.0.0 || ^4.0.0" - }, - "bin": { - "loose-envify": "cli.js" - } - }, "node_modules/react": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react/-/react-18.3.1.tgz", - "integrity": "sha512-wS+hAgJShR0KhEvPJArfuPVN1+Hz1t0Y6n5jLrGQbkb4urgPE/0Rve+1kMB1v/oWgHgm4WIcV+i7F2pTVj+2iQ==", + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/react/-/react-19.0.0.tgz", + "integrity": "sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==", "peer": true, - "dependencies": { - "loose-envify": "^1.1.0" - }, "engines": { "node": ">=0.10.0" } @@ -142,9 +121,9 @@ "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==" }, "node_modules/tslib": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", - "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" }, "node_modules/typescript": { "version": "5.3.3", diff --git a/other-packages/react/package.json b/other-packages/react/package.json index fc010c94d..e123e2121 100644 --- a/other-packages/react/package.json +++ b/other-packages/react/package.json @@ -1,6 +1,6 @@ { "name": "deep-chat-react", - "version": "2.0.1", + "version": "2.1.0", "description": "Customizable chat component for AI APIs", "main": "./dist/deepChat.js", "module": "./dist/deepChat.js", @@ -32,7 +32,7 @@ "license": "MIT", "dependencies": { "@lit-labs/react": "^2.1.3", - "deep-chat": "2.0.1" + "deep-chat": "2.1.0" }, "devDependencies": { "@types/react": "^18.2.64", diff --git a/website/docs/docs/demo.mdx b/website/docs/docs/demo.mdx index 4804af4f1..cf831bce1 100644 --- a/website/docs/docs/demo.mdx +++ b/website/docs/docs/demo.mdx @@ -10,22 +10,18 @@ This is used by default to demonstrate the component's capabilities without conn - Type: `true` | \{
     `response?:` [`Response`](/docs/connect#Response) | ([`message: MessageContent`](/docs/messages/#MessageContent)) => [`Response`](/docs/connect#Response),
-      `displayLoadingBubble?: boolean`,
-      `displayFileAttachmentContainer?: boolean`,
-      `displayErrors?: {`
-          `default?: boolean`,
-          `service?: boolean`,
-          `speechToText?: boolean`
+      [`displayErrors?: DisplayErrors`](#DisplayErrors),
+      [`displayLoading?: DemoLoading`](#DemoLoading),
+      `displayFileAttachmentContainer?: boolean`
}\} Set this to _true_ or define an object with properties to remove the initial setup guidance message.
`response` is used to override the default demo response with a custom one. It can either be a [`Response`](/docs/connect#Response) object or a function that returns a [`Response`](/docs/connect#Response) object.
The following properties are used to toggle elements to showcase their design without making any user actions:
-`displayLoadingBubble` is used to display the loading bubble.
+`displayErrors` is used to display error messages.
+`displayLoading` is used to display various loading spinners.
`displayFileAttachmentContainer` is used to display the element that encapsulates all of the files to be sent on the next message.
-`displayErrors` is used to display error messages; for the component via `default`, an API error via `service` and a speech to text issue via `speechToText`. -This is mainly used to showcase the override capabilities in [`errorMessages`](/docs/messages#errorMessages).
import ContainersKeyToggle from '@site/src/components/table/containersKeyToggle'; import ComponentContainer from '@site/src/components/table/componentContainer'; @@ -143,16 +139,60 @@ chatElementRef.demo = { -#### Elements Example +## Types + +### `DemoErrors` {#DemoErrors} + +- Type: \{`default?: boolean`, `service?: boolean`, `speechToText?: boolean`\} + +Display various error messages. This is mainly used to showcase the override capabilities in [`errorMessages`](/docs/messages#errorMessages).
+`default` displays a default component error.
+`service` is an API error.
+`speechToText` is a speech to text issue error. + + + + + + + + +```html + +``` + + + + +```html + + + +``` + + + + + + +### `DemoLoading` {#DemoLoading} + +- Type: \{
+      `message?: boolean`,
+      `history?:` \{`full?: boolean`, `small?: boolean`}
+ \} + +Display various loading spinners.
+`message` is a loading spinner inside a message bubble.
+`history` is a loading spinner that is displayed when messages are being loading via [`loadHistory`](/docs/interceptors#loadHistory). +`full` is a spinner that covers the entire chat message window on the initial load. `small` is displayed when there are messages +already present inside the chat. If `full` is set to _true_ and messages are added, the chat will automatically display the `small` +spinner.
@@ -160,13 +200,7 @@ chatElementRef.demo = { ```html - + ``` @@ -175,14 +209,7 @@ chatElementRef.demo = { ```html - + ``` diff --git a/website/docs/docs/directConnection/Azure.mdx b/website/docs/docs/directConnection/Azure.mdx index f15d967d2..dc0762e59 100644 --- a/website/docs/docs/directConnection/Azure.mdx +++ b/website/docs/docs/directConnection/Azure.mdx @@ -16,7 +16,8 @@ Properties used to connect to [Azure Cognitive Services](https://learn.microsoft      [`textToSpeech?: TextToSpeech`](#TextToSpeech),
     [`speechToText?: SpeechToText`](#SpeechToText),
     [`summarization?: Summarization`](#Summarization),
-      [`translation?: Translation`](#Translation)
+      [`translation?: Translation`](#Translation),
+      [`openAI?: OpenAI`](#OpenAI)
\} import ContainersKeyToggle from '@site/src/components/table/containersKeyToggle'; @@ -316,3 +317,71 @@ Connect to Azure's [`translation`](https://learn.microsoft.com/en-gb/azure/cogni + +### `OpenAI` {#OpenAI} + +- Type: \{
+      `urlDetails:` \{`endpoint: string`, `version: string`, `deploymentId: string`\},
+      [`chat?: OpenAIChat`](/docs/directConnection/OpenAI/#Chat),
+      [`assistant?: OpenAIAssistant`](/docs/directConnection/OpenAI/#Assistant)
+ \} + +Connect to the [`Azure OpenAI's`](https://platform.openai.com/docs/api-reference/chat) API:
+`urlDetails` is used to define the [_url parameters_](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#uri-parameters) that will be used to connect to Azure. +`endpoint` is a _url_ string for your OpenAI resource, `version` is the API version to be used and `deploymentId` is the deployment id of the model.
+`chat` defines whether to connect to the [Chat Completions](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/chatgpt) API. +It uses the same type as the [OpenAI Chat](/docs/directConnection/OpenAI/#Chat) property.
+`assistant` defines whether to connect to the [Assistant](https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/assistant) API. +It uses the same type as the [OpenAI Assistant](/docs/directConnection/OpenAI/#Assistant) property.
+ +#### Basic Example + + + + +```html + +``` + + + + +```html + + + +``` + + + + + diff --git a/website/docs/docs/directConnection/OpenAI.mdx b/website/docs/docs/directConnection/OpenAI.mdx index 1e1419b69..9fd37e947 100644 --- a/website/docs/docs/directConnection/OpenAI.mdx +++ b/website/docs/docs/directConnection/OpenAI.mdx @@ -46,7 +46,7 @@ import Tabs from '@theme/Tabs'; \} - Default: _\{system_prompt: "You are a helpful assistant.", model: "gpt-4o"\}_ -Connect to Open AI's [`chat`](https://platform.openai.com/docs/api-reference/chat) API. You can set this property to _true_ or configure it using an object:
+Connect to OpenAI's [`chat`](https://platform.openai.com/docs/api-reference/chat) API. You can set this property to _true_ or configure it using an object:
`system_prompt` is used to set the [_"system"_](https://platform.openai.com/docs/api-reference/chat/create) message for the conversation context.
`model` is the name of the model to be used by the API. Check [/v1/chat/completions](https://platform.openai.com/docs/models/model-endpoint-compatibility) for more.
`max_tokens` the maximum number of tokens to generate in the chat. Check [tokenizer](https://platform.openai.com/tokenizer) for more info.
@@ -201,7 +201,7 @@ If `max_tokens` is not set, the component sets it to _300_ as otherwise the API      [`function_handler?: AssistantFunctionHandler`](#assistant-functions)
\} -Connect to your Open AI [`assistant`](https://platform.openai.com/docs/assistants/overview). +Connect to your OpenAI [`assistant`](https://platform.openai.com/docs/assistants/overview). When set to `true` or the `assistant_id` is not defined, Deep Chat will automatically create a new assistant when the user sends the first message.
`assistant_id` is the id of your assistant.
`thread_id` allows you to communicate in the context of an already existing conversation/[thread](https://platform.openai.com/docs/api-reference/threads).
@@ -294,7 +294,7 @@ stores the thread id and allows conversation to continue on a new session. - Default: _\{model: "gpt-4"\}_ When `assistant_id` is not used, this object is used to define the details of the new assistant that will be created by Deep Chat when -the user sends a new message. This object follows the [Open AI Create Asssistant API](https://platform.openai.com/docs/api-reference/assistants/createAssistant).
+the user sends a new message. This object follows the [OpenAI Create Asssistant API](https://platform.openai.com/docs/api-reference/assistants/createAssistant).
`model` is the name of the model to be used by the API. Check the [model overview](https://platform.openai.com/docs/models/overview) for more.
`name` and `description` are used to describe the new assistant.
`instructions` direct the assistant's behaviour.
@@ -489,7 +489,7 @@ technically not a tool but a way to indicate that image files will be sent direc - Type: `true` | [`Dall-e-2`](#dall-e-2) | [`Dall-e-3`](#dall-e-3) - Default: _Dall-e-2_ -Connect to Open AI's [`Images`](https://platform.openai.com/docs/api-reference/images) API. +Connect to OpenAI's [`Images`](https://platform.openai.com/docs/api-reference/images) API. Set this property to _true_ or use either of the [`Dall-e-2`](#dall-e-2) or [`Dall-e-3`](#dall-e-3) objects.
You can automatically call any of the following three APIs by combining different inputs: @@ -601,7 +601,7 @@ You can automatically call any of the following three APIs by combining differen \} - Default: _\{model: "tts-1", voice: "alloy", speed: 1\}_ -Connect to Open AI's [`Text To Speech`](https://platform.openai.com/docs/guides/text-to-speech) API. +Connect to OpenAI's [`Text To Speech`](https://platform.openai.com/docs/guides/text-to-speech) API. You can set this property to _true_ or [configure](https://platform.openai.com/docs/api-reference/audio/createSpeech) it using an object:
`model` defines the target model used by the API. Check [/v1/audio/speech](https://platform.openai.com/docs/models/model-endpoint-compatibility) for more.
`voice` is the name of the voice used in the generated audio.
@@ -679,7 +679,7 @@ You can set this property to _true_ or [configure](https://platform.openai.com/d \} - Default: _\{model: "whisper-1", type: "transcription"\}_ -Connect to Open AI's [`Speech To Text`](https://platform.openai.com/docs/guides/speech-to-text) API. +Connect to OpenAI's [`Speech To Text`](https://platform.openai.com/docs/guides/speech-to-text) API. You can set this property to _true_ or [configure](https://platform.openai.com/docs/api-reference/audio/createTranscription) it using an object:
`model` is the name of the model to use. _"whisper-1"_ is currently the only one available.
`temperature` is used for sampling; between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused.
diff --git a/website/docs/docs/installation.mdx b/website/docs/docs/installation.mdx index 2df9c35db..ffe703958 100644 --- a/website/docs/docs/installation.mdx +++ b/website/docs/docs/installation.mdx @@ -19,5 +19,5 @@ npm install deep-chat-react Access the component via CDN: ``` -https://unpkg.com/deep-chat@2.0.1/dist/deepChat.bundle.js +https://unpkg.com/deep-chat@2.1.0/dist/deepChat.bundle.js ``` diff --git a/website/docs/docs/interceptors.mdx b/website/docs/docs/interceptors.mdx index 8afc06c70..da849bd3d 100644 --- a/website/docs/docs/interceptors.mdx +++ b/website/docs/docs/interceptors.mdx @@ -151,6 +151,71 @@ chatElementRef.responseInterceptor = (response) => { +### `loadHistory` {#loadHistory} + +- Type: (`index: number`) => [`HistoryMessage[]`](#HistoryMessage) | [`Promise`](#HistoryMessage) + +This method accepts an array of messages (optionally async) that are used to populate the chat.
+It is triggered when the component is first rendered, however if the _last_ value in the returned array is `false`, it is also triggered +when the user scrolls to the top of the chat which will prepend the new loaded messages.
+The `index` parameter is used to indicate the amount of times this method has been triggered to help load correct messages for pagination. + +#### Example: Refresh Browser if already loaded (5s) + + + + + + + + +```js +chatElementRef.loadHistory = (index) => { + return [ + {text: "AI, help! My code's broken.", role: 'user'}, + {text: 'Did you forget the brackets?', role: 'ai'}, + {text: 'I didn’t! It’s something else!', role: 'user'}, + {text: 'Try reinstalling your OS.', role: 'ai'}, + {text: 'I’m not doing that again!', role: 'user'}, + {text: 'Have you tried yelling at it?', role: 'ai'}, + {text: 'What? That’s ridiculous!', role: 'user'}, + {text: 'It works in movies, right?', role: 'ai'}, + false, + ]; +}; +``` + + + + + + +#### `HistoryMessage` {#HistoryMessage} + +- Type: [`MessageContent`](/docs/messages#MessageContent) | `false` + + + +:::tip +Use to style the loading spinner. +::: + + + ### `validateInput` {#validateInput} - Type: (`text?: string`, `files?: File[]`) => `boolean` diff --git a/website/docs/docs/introPanel.mdx b/website/docs/docs/introPanel.mdx index c11251a52..08476077a 100644 --- a/website/docs/docs/introPanel.mdx +++ b/website/docs/docs/introPanel.mdx @@ -227,7 +227,7 @@ services in the [`directConnection`](/docs/directConnection) property. @@ -237,7 +237,7 @@ services in the [`directConnection`](/docs/directConnection) property. ```html ``` @@ -250,7 +250,7 @@ services in the [`directConnection`](/docs/directConnection) property. ``` diff --git a/website/docs/docs/messages/HTML.mdx b/website/docs/docs/messages/HTML.mdx index bfb4386b7..3099d0aa2 100644 --- a/website/docs/docs/messages/HTML.mdx +++ b/website/docs/docs/messages/HTML.mdx @@ -70,15 +70,15 @@ import Tabs from '@theme/Tabs'; - Type: \{
  [`className: string`]: \{
-      [`events?: {[eventType: string]?: (event) => void}`](https://microsoft.github.io/PowerBI-JavaScript/interfaces/_node_modules_typedoc_node_modules_typescript_lib_lib_dom_d_.globaleventhandlerseventmap.html),
+      [`events?: {[eventType: string]?: (event) => void}`](https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-app-configuration/1.1.0/interfaces/globaleventhandlerseventmap.html),
     [`styles?: StatefulStyles`](/docs/styles/#StatefulStyles)
\}\} Because Deep Chat is a [shadow element](https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM) and your html is rendered inside it - the resulting elements will not be able to access the CSS and JavaScript in your app. To help with this, you can use this object to declare reusable styling and bind your app's functions to the elements via their class names.
-`events` is an object that accepts properties with keys from [GlobalEventHandlersEventMap](https://microsoft.github.io/PowerBI-JavaScript/interfaces/_node_modules_typedoc_node_modules_typescript_lib_lib_dom_d_.globaleventhandlerseventmap.html) (same as the string +`events` is an object that accepts properties with keys from [GlobalEventHandlersEventMap](https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-app-configuration/1.1.0/interfaces/globaleventhandlerseventmap.html) (same as the string used for _addEventListener(HERE)_, e.g. _"mousedown"_) or any custom event name and accepts a function as the value.
-`styles` defines the styles applied to the element for different mouse states.
+`styles` defines the styles applied to the element for different mouse states. You can alternatively define CSS styles using the [`auxiliaryStyle`](/docs/styles#auxiliaryStyle) property.
#### Example @@ -579,7 +579,11 @@ Add feedback buttons to response messages. shared: {bubble: {maxWidth: '95%', width: '100%', marginTop: '10px'}}, }, loading: { - bubble: {width: '1em'}, + message: { + styles: { + bubble: {width: '1em'}, + }, + }, }, }} htmlClassUtilities={{ @@ -696,7 +700,7 @@ chatElementRef.history = [ chatElementRef.messageStyles = { default: {shared: {bubble: {maxWidth: '95%', width: '100%', marginTop: '10px'}}}, - loading: {bubble: {width: '1em'}}, + loading: {message: {styles: {bubble: {width: '1em'}}}}, }; chatElementRef.htmlClassUtilities = { diff --git a/website/docs/docs/messages/messages.mdx b/website/docs/docs/messages/messages.mdx index 13d882d25..e2c3adb8b 100644 --- a/website/docs/docs/messages/messages.mdx +++ b/website/docs/docs/messages/messages.mdx @@ -10,7 +10,7 @@ Properties related to messages. - Type: [`MessageContent[]`](#MessageContent) -Messages that are pre-populated when the chat loads up.
+Messages that are pre-populated when the chat loads up. Use [`loadHistory`](/docs/interceptors#loadHistory) to load messages asynchronously.
import ComponentContainer from '@site/src/components/table/componentContainer'; import DeepChatBrowser from '@site/src/components/table/deepChatBrowser'; diff --git a/website/docs/docs/messages/styles.mdx b/website/docs/docs/messages/styles.mdx index 76d2b41a4..02017a16c 100644 --- a/website/docs/docs/messages/styles.mdx +++ b/website/docs/docs/messages/styles.mdx @@ -24,8 +24,8 @@ import Tabs from '@theme/Tabs';      [`file?: MessageRoleStyles`](#MessageRoleStyles),
     [`html?: MessageRoleStyles`](#MessageRoleStyles),
     [`intro?: MessageElementsStyles`](#MessageElementsStyles),
-      [`loading?: MessageElementsStyles`](#MessageElementsStyles),
-      [`error?: MessageElementsStyles`](#MessageElementsStyles)
+      [`error?: MessageElementsStyles`](#MessageElementsStyles),
+      [`loading?: LoadingMessageStyles`](#LoadingMessageStyles)
\} Object defining the styling for various message types.
@@ -35,8 +35,84 @@ Object defining the styling for various message types.
`file` is applied to messages that contain a file attachment.
`html` is applied to messages that contain custom elements - [more info](/docs/messages/HTML).
`intro` is applied to the [`introMessage`](/docs/messages#introMessage).
-`loading` is applied to the loading bubble.
`error` is applied to error messages.
+`loading` is applied to messages with loading elements.
+ + + +### `remarkable` {#remarkable} + +- Type: \{
+      `xhtmlOut?: boolean`,
+      `html?: boolean`,
+      `breaks?: boolean`,
+      `linkify?: boolean`,
+      `langPrefix?: "language-${string}"`,
+      `linkTarget?: string`,
+      `typographer?: boolean`,
+      `quotes?: string`,
+      `highlight?: (str: string, lang: string) => void`
+ \} + +- Default: _\{ breaks: true, linkTarget: "\_blank" \}_ + +Deep Chat uses the [remarkable](https://github.com/jonschlinkert/remarkable) library to render markdown for its `text` messages. +Use this object to change its configuration.
+`xhtmlOut` uses '/' to close single tags via \
\.
+`html` enables HTML tags in source.
+`breaks` converts '\n' in paragraphs into \
\.
+`linkify` auto converts URL-like text to links.
+`langPrefix` is a CSS language prefix for fenced blocks.
+`linkTarget` sets the target to open links in. `"\_blank"` is used to open links in a new tab.
+`typographer` enables some language-neutral replacement + quotes beautification.
+`quotes` is double + single quotes replacement pairs.
+`highlight` is a function that should return escaped HTML or '' if the source string is not changed. This is mostly used with [highlight.js](https://deepchat.dev/examples/externalModules). See [here](https://github.com/OvidijusParsiunas/deep-chat/blob/35ad0574ddcf45341585aeadf10e6cb4b9cf7eda/component/src/views/chat/messages/remarkable/remarkableConfig.ts#L16) on how you can set up this configuration.
+ +:::tip +Use [this playground](https://jonschlinkert.github.io/remarkable/demo) to find the configuration that suits you. +::: + + + html', role: 'user'}, + {text: 'Typographic text: (c)', role: 'user'}, + ]} + demo={true} + > + + + + + +```html + +``` + + + + +```html + + + +``` + + + @@ -232,9 +308,274 @@ to display the file contents.
+### `LoadingMessageStyles` {#LoadingMessageStyles} + +- Type: \{
+      [`message?: LoadingStyles`](/docs/styles#LoadingStyles),
+      `history?:` \{[`full?: LoadingStyles`](/docs/styles#LoadingStyles), [`small?: LoadingStyles`](/docs/styles#LoadingStyles)\}
+ \} + +Object defining the styling for various message loading elements.
+`message` is the default loading element that is displayed when waiting for a response to a message request.
+`history` is composed of two types of loading elements that are displayed when loading history via [`loadHistory`](/docs/interceptors#loadHistory): +`full` is displayed when the initial chat history is being loaded on component render and `small` is displayed when user scrolls to the top of the chat to load more history.
+ + + + + + + + +```html + +``` + + + + +```html + + + +``` + + + + + + +### `LoadingStyles` {#LoadingStyles} + +- Type: \{[`styles?: MessageElementsStyles`](#MessageElementsStyles), `html?: string`} + +Object defining the styling for elements that contain a loading animation.
+`styles` is applied to the various elements of a loading message.
+`html` can be used to define your own loading animation via custom markdown.
+ + +
', + }, + small: { + styles: {outerContainer: {marginTop: '-10px', marginBottom: '50px'}}, + }, + }, + }, + }} + auxiliaryStyle={`.lds-ripple { + color: #1c4c5b + } + .lds-ripple, + .lds-ripple div { + box-sizing: border-box; + } + .lds-ripple { + display: inline-block; + position: relative; + width: 80px; + height: 80px; + } + .lds-ripple div { + position: absolute; + border: 4px solid currentColor; + opacity: 1; + border-radius: 50%; + animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite; + } + .lds-ripple div:nth-child(2) { + animation-delay: -0.5s; + } + @keyframes lds-ripple { + 0% { + top: 36px; + left: 36px; + width: 8px; + height: 8px; + opacity: 0; + } + 4.9% { + top: 36px; + left: 36px; + width: 8px; + height: 8px; + opacity: 0; + } + 5% { + top: 36px; + left: 36px; + width: 8px; + height: 8px; + opacity: 1; + } + 100% { + top: 0; + left: 0; + width: 80px; + height: 80px; + opacity: 0; + } + }`} + demo={{displayLoading: {history: {full: true}}}} + >
+
+ + + + +```html + +``` + + + + +```html + + + +``` + + + + + + ## More Examples -

Files

+### Files -

Intro message

+### Grouped messages {#groupedMessages} + +Message elements have the following classes depending on their position in respect to their role: `deep-chat-top-message`, `deep-chat-middle-message` and `deep-chat-bottom-message`. +You can use these classes to add custom grouping styling via the [`auxiliaryStyle`](/docs/styles#auxiliaryStyle) property. + + + + + + + + + +```html + +``` + + + + +```html + + + +``` + + + + +:::tip +If you are using [`avatars`](/docs/messages/#avatars), add the following css to the [`auxiliaryStyle`](/docs/styles#auxiliaryStyle): + +``` +.deep-chat-top-message.deep-chat-bottom-message .avatar-container { + margin-top: 10px; +} +.avatar-container { + margin-top: 0px; +} +``` + +::: + + + +### Intro message -

Loading bubble

+### Loading bubble @@ -426,7 +902,7 @@ In the Safari browser, the _"audio"_ media player can be expanded by setting the } }' style="border-radius: 8px" - demo='{"displayLoadingBubble": true}' + demo='{"displayLoading": {"message": true}}' > ``` @@ -435,7 +911,7 @@ In the Safari browser, the _"audio"_ media player can be expanded by setting the -

Error messages

+### Error messages + @@ -144,14 +144,7 @@ and [`textToSpeech`](/docs/speech#textToSpeech) be triggered. #### Example -What is your name?`, - role: 'user', - }} -> + @@ -159,10 +152,7 @@ and [`textToSpeech`](/docs/speech#textToSpeech) be triggered. ```javascript -chatElementRef.addMessage({ - html: ``, - role: 'user', -}); +chatElementRef.addMessage({text: `New message`, role: 'user'}); ``` @@ -176,6 +166,40 @@ This can be used to add [suggestion buttons](/docs/messages/HTML#moreExamples) a +### `updateMessage` {#updateMessage} + +- Type: ([`message: MessageContent`](/docs/messages#MessageContent), `index: number`) => `void` + +Updates an existing message in the chat.
+`message` is an object containing new message details. If the previous version of message contains multiple properties such as `text` and `html`, this will overwrite them both.
+`index` is the index number of the message to be updated from the top. If you are not sure about the index, use [`getMessages`](#getMessages) to find the index of your target message. + +#### Example + + + + + + + + +```javascript +chatElementRef.updateMessage({text: `New text.`}, 0); +``` + + + + + + ### `scrollToBottom` {#scrollToBottom} - Type: `() => void` diff --git a/website/docs/docs/styles.mdx b/website/docs/docs/styles.mdx index 2f3d1ba49..454c73563 100644 --- a/website/docs/docs/styles.mdx +++ b/website/docs/docs/styles.mdx @@ -699,8 +699,11 @@ however `hover` and `submit` need to be defined. - Type: `string` -This string is primarily used to configure [`Webkit CSS`](https://developer.mozilla.org/en-US/docs/Web/CSS/WebKit_Extensions) which cannot be added through component's style properties. A great -example of this is the [`::-webkit-scrollbar`](https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar) pseudo element which affects the style of the component's scrollbar. +This value uses [CSS syntax](https://www.w3schools.com/css/css_syntax.ASP) as an alternative way to define styling in Deep Chat.
+It can be used to configure [`Webkit CSS`](https://developer.mozilla.org/en-US/docs/Web/CSS/WebKit_Extensions) +which cannot be added through component's [`style`](/docs/styles#style) properties. A great example of this is the [`::-webkit-scrollbar`](https://developer.mozilla.org/en-US/docs/Web/CSS/::-webkit-scrollbar) +pseudo element which affects the style of the component's scrollbar.
+It can also be used to add custom styling to [`html`](/docs/messages/#MessageContent) messages and override Deep Chat CSS. #### Example diff --git a/website/docs/examples/design.mdx b/website/docs/examples/design.mdx index a3ce826b5..c55f7977d 100644 --- a/website/docs/examples/design.mdx +++ b/website/docs/examples/design.mdx @@ -1669,6 +1669,102 @@ Dark orange color variation that is suitable for a dark screen mode. +### Grouped messages {#groupedMessages} + +Messages are grouped by the role their role. The styling is set via the `deep-chat-top-message`, `deep-chat-middle-message` and `deep-chat-bottom-message` classes +using the [`auxiliaryStyle`](/docs/styles#auxiliaryStyle) property. + + + + + + + + + +```html + + + +``` + + + + + + ### Full width input {#fullWidthInput} A simple text input area that covers the full width of the chat component. diff --git a/website/package-lock.json b/website/package-lock.json index 9f1a45085..e92ec47fb 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -16,7 +16,7 @@ "@mdx-js/react": "^3.0.0", "active-table-react": "latest", "clsx": "^2.1.0", - "deep-chat-react": "2.0.1", + "deep-chat-react": "2.1.0", "deep-chat-web-llm": "^0.0.27", "highlight.js": "^11.9.0", "microsoft-cognitiveservices-speech-sdk": "^1.36.0", @@ -6082,9 +6082,9 @@ } }, "node_modules/deep-chat": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.0.1.tgz", - "integrity": "sha512-dLzEvRah+lr+Z6MZq/XSkuIJu2jyd38QVdqMeXGy2WKJQGmBnFZOK/m+F+hsLm9nz2MSfnMYXxGitQI4SNzBcQ==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/deep-chat/-/deep-chat-2.1.0.tgz", + "integrity": "sha512-NcmAfGw6selVjqrKThpDT2F5awb+Wsbpu7LHNIozBOctLkNtEbTfGkUEdBz/IUkaoLUBYTh3R4KTg0NY2Z333g==", "dependencies": { "@microsoft/fetch-event-source": "^2.0.1", "remarkable": "^2.0.1", @@ -6092,12 +6092,12 @@ } }, "node_modules/deep-chat-react": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/deep-chat-react/-/deep-chat-react-2.0.1.tgz", - "integrity": "sha512-oq3ztyhwgPemvJ+LAP2Zbb8rBFty41TlxtCE6bpzGx60mv3tEXd9DvmcI+CQWPDcYRonJLu0tMNxKVwTlY3Ybg==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/deep-chat-react/-/deep-chat-react-2.1.0.tgz", + "integrity": "sha512-ndbpwkhb6Qac2NB3sMxNSLoGCpwu/M/HoQddNEhL9jGm2lry8FLj4c73xE8g0JYGbDiuAZN/mzyGZHcCuxX0Wg==", "dependencies": { "@lit-labs/react": "^2.1.3", - "deep-chat": "2.0.1" + "deep-chat": "2.1.0" }, "peerDependencies": { "react": ">=16.8.0 || >=17.0.0 || >=18.0.0" diff --git a/website/package.json b/website/package.json index 681b973dd..cf4ae3601 100644 --- a/website/package.json +++ b/website/package.json @@ -22,7 +22,7 @@ "@mdx-js/react": "^3.0.0", "active-table-react": "latest", "clsx": "^2.1.0", - "deep-chat-react": "2.0.1", + "deep-chat-react": "2.1.0", "deep-chat-web-llm": "^0.0.27", "highlight.js": "^11.9.0", "microsoft-cognitiveservices-speech-sdk": "^1.36.0", diff --git a/website/src/components/table/componentContainerInterceptors.js b/website/src/components/table/componentContainerInterceptors.js index 7d5dec073..3499bf64e 100644 --- a/website/src/components/table/componentContainerInterceptors.js +++ b/website/src/components/table/componentContainerInterceptors.js @@ -32,7 +32,13 @@ const EventText = React.forwardRef(({displayConsole}, ref) => { ); }); -export default function ComponentContainerInterceptors({children, propertyName, displayConsole}) { +export default function ComponentContainerInterceptors({ + children, + propertyName, + displayConsole, + customResponse, + timeoutMS, +}) { const containerRef = React.useRef(null); const eventTextRef = React.useRef(null); @@ -42,11 +48,21 @@ export default function ComponentContainerInterceptors({children, propertyName, const syncReference = containerRef.current; if (containerRef.current && eventTextRef.current) { const deepChatReference = extractChildChatElement(containerRef.current.children[0]); - deepChatReference[propertyName] = eventTextRef.current?.updateText; - } else { - const deepChatReference = extractChildChatElement(syncReference.children[0]); - deepChatReference[propertyName] = () => {}; + if (customResponse) { + if (timeoutMS) { + return (deepChatReference[propertyName] = () => + new Promise((resolve) => + setTimeout(() => { + resolve(customResponse); + }, timeoutMS) + )); + } + return (deepChatReference[propertyName] = () => customResponse); + } + return (deepChatReference[propertyName] = eventTextRef.current?.updateText); } + const deepChatReference = extractChildChatElement(syncReference.children[0]); + deepChatReference[propertyName] = () => {}; } }, 10); // in a timeout as containerRef.current not always set on start }, []); diff --git a/website/src/components/table/componentContainerMethods.js b/website/src/components/table/componentContainerMethods.js index 6a65dcd09..b75b30a09 100644 --- a/website/src/components/table/componentContainerMethods.js +++ b/website/src/components/table/componentContainerMethods.js @@ -11,9 +11,9 @@ function ResultText(props) { ); } -function click(table, resultText, setResultText, propertyName, displayResults, argument) { +function click(table, resultText, setResultText, propertyName, displayResults, args) { const deepChatReference = extractChildChatElement(table); - const content = deepChatReference[propertyName](argument); + const content = deepChatReference[propertyName](...(args || [])); if (displayResults ?? true) { let newResultTextArr = [...resultText]; if (newResultTextArr.length === 1 && newResultTextArr[0] === '') newResultTextArr = []; @@ -23,7 +23,7 @@ function click(table, resultText, setResultText, propertyName, displayResults, a } } -export default function ComponentContainerMethods({children, propertyName, displayResults, argument, withEvent}) { +export default function ComponentContainerMethods({children, propertyName, displayResults, args, withEvent}) { const containerRef = React.useRef(null); const [resultText, setResultText] = React.useState(['']); @@ -39,7 +39,7 @@ export default function ComponentContainerMethods({children, propertyName, displ