@wzh-/ai-chat-example 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.vue.d.ts +2 -0
- package/dist/components/ChatConversation/ChatConversation.vue.d.ts +7 -0
- package/dist/components/ChatConversation/index.d.ts +1 -0
- package/dist/components/ChatPromptInputProvider/ChatPromptInputProvider.vue.d.ts +17 -0
- package/dist/components/ChatPromptInputProvider/index.d.ts +1 -0
- package/dist/components/ai-elements/artifact/Artifact.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/ArtifactAction.vue.d.ts +32 -0
- package/dist/components/ai-elements/artifact/ArtifactActions.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/ArtifactClose.vue.d.ts +27 -0
- package/dist/components/ai-elements/artifact/ArtifactContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/ArtifactDescription.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/ArtifactHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/ArtifactTitle.vue.d.ts +21 -0
- package/dist/components/ai-elements/artifact/index.d.ts +8 -0
- package/dist/components/ai-elements/canvas/index.d.ts +1 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThought.vue.d.ts +30 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtImage.vue.d.ts +22 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResult.vue.d.ts +21 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtSearchResults.vue.d.ts +21 -0
- package/dist/components/ai-elements/chain-of-thought/ChainOfThoughtStep.vue.d.ts +28 -0
- package/dist/components/ai-elements/chain-of-thought/context.d.ts +6 -0
- package/dist/components/ai-elements/chain-of-thought/index.d.ts +7 -0
- package/dist/components/ai-elements/checkpoint/Checkpoint.vue.d.ts +21 -0
- package/dist/components/ai-elements/checkpoint/CheckpointIcon.vue.d.ts +21 -0
- package/dist/components/ai-elements/checkpoint/CheckpointTrigger.vue.d.ts +27 -0
- package/dist/components/ai-elements/checkpoint/index.d.ts +3 -0
- package/dist/components/ai-elements/code-block/CodeBlock.vue.d.ts +27 -0
- package/dist/components/ai-elements/code-block/CodeBlockCopyButton.vue.d.ts +30 -0
- package/dist/components/ai-elements/code-block/context.d.ts +5 -0
- package/dist/components/ai-elements/code-block/index.d.ts +2 -0
- package/dist/components/ai-elements/code-block/utils.d.ts +2 -0
- package/dist/components/ai-elements/confirmation/Confirmation.vue.d.ts +25 -0
- package/dist/components/ai-elements/confirmation/ConfirmationAccepted.vue.d.ts +17 -0
- package/dist/components/ai-elements/confirmation/ConfirmationAction.vue.d.ts +17 -0
- package/dist/components/ai-elements/confirmation/ConfirmationActions.vue.d.ts +21 -0
- package/dist/components/ai-elements/confirmation/ConfirmationRejected.vue.d.ts +17 -0
- package/dist/components/ai-elements/confirmation/ConfirmationRequest.vue.d.ts +17 -0
- package/dist/components/ai-elements/confirmation/ConfirmationTitle.vue.d.ts +21 -0
- package/dist/components/ai-elements/confirmation/context.d.ts +29 -0
- package/dist/components/ai-elements/confirmation/index.d.ts +7 -0
- package/dist/components/ai-elements/connection/Connection.vue.d.ts +3 -0
- package/dist/components/ai-elements/connection/index.d.ts +1 -0
- package/dist/components/ai-elements/context/Context.vue.d.ts +25 -0
- package/dist/components/ai-elements/context/ContextCacheUsage.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextContentBody.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextContentFooter.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextContentHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextIcon.vue.d.ts +2 -0
- package/dist/components/ai-elements/context/ContextInputUsage.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextOutputUsage.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextReasoningUsage.vue.d.ts +21 -0
- package/dist/components/ai-elements/context/ContextTrigger.vue.d.ts +17 -0
- package/dist/components/ai-elements/context/TokensWithCost.vue.d.ts +6 -0
- package/dist/components/ai-elements/context/context.d.ts +11 -0
- package/dist/components/ai-elements/context/index.d.ts +12 -0
- package/dist/components/ai-elements/controls/Controls.vue.d.ts +6 -0
- package/dist/components/ai-elements/controls/index.d.ts +1 -0
- package/dist/components/ai-elements/conversation/Conversation.vue.d.ts +47 -0
- package/dist/components/ai-elements/conversation/ConversationContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/conversation/ConversationEmptyState.vue.d.ts +27 -0
- package/dist/components/ai-elements/conversation/ConversationScrollButton.vue.d.ts +6 -0
- package/dist/components/ai-elements/conversation/index.d.ts +4 -0
- package/dist/components/ai-elements/edge/Animated.vue.d.ts +4 -0
- package/dist/components/ai-elements/edge/Temporary.vue.d.ts +4 -0
- package/dist/components/ai-elements/edge/index.d.ts +2 -0
- package/dist/components/ai-elements/image/Image.vue.d.ts +8 -0
- package/dist/components/ai-elements/image/index.d.ts +1 -0
- package/dist/components/ai-elements/inline-citation/InlineCitation.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCard.vue.d.ts +24 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCardBody.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCardTrigger.vue.d.ts +7 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarousel.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselContent.vue.d.ts +17 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselIndex.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselItem.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselNext.vue.d.ts +6 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationCarouselPrev.vue.d.ts +6 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationQuote.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationSource.vue.d.ts +24 -0
- package/dist/components/ai-elements/inline-citation/InlineCitationText.vue.d.ts +21 -0
- package/dist/components/ai-elements/inline-citation/index.d.ts +14 -0
- package/dist/components/ai-elements/loader/Loader.vue.d.ts +9 -0
- package/dist/components/ai-elements/loader/LoaderIcon.vue.d.ts +7 -0
- package/dist/components/ai-elements/loader/index.d.ts +2 -0
- package/dist/components/ai-elements/message/Message.vue.d.ts +23 -0
- package/dist/components/ai-elements/message/MessageAction.vue.d.ts +28 -0
- package/dist/components/ai-elements/message/MessageActions.vue.d.ts +21 -0
- package/dist/components/ai-elements/message/MessageAttachment.vue.d.ts +12 -0
- package/dist/components/ai-elements/message/MessageAttachments.vue.d.ts +21 -0
- package/dist/components/ai-elements/message/MessageAvatar.vue.d.ts +8 -0
- package/dist/components/ai-elements/message/MessageBranch.vue.d.ts +28 -0
- package/dist/components/ai-elements/message/MessageBranchContent.vue.d.ts +6 -0
- package/dist/components/ai-elements/message/MessageBranchNext.vue.d.ts +17 -0
- package/dist/components/ai-elements/message/MessageBranchPage.vue.d.ts +6 -0
- package/dist/components/ai-elements/message/MessageBranchPrevious.vue.d.ts +17 -0
- package/dist/components/ai-elements/message/MessageBranchSelector.vue.d.ts +21 -0
- package/dist/components/ai-elements/message/MessageContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/message/MessageResponse.vue.d.ts +7 -0
- package/dist/components/ai-elements/message/MessageToolbar.vue.d.ts +21 -0
- package/dist/components/ai-elements/message/context.d.ts +11 -0
- package/dist/components/ai-elements/message/index.d.ts +15 -0
- package/dist/components/ai-elements/model-selector/ModelSelector.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorContent.vue.d.ts +24 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorDialog.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorEmpty.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorGroup.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorInput.vue.d.ts +6 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorItem.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorList.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorLogo.vue.d.ts +7 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorLogoGroup.vue.d.ts +21 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorName.vue.d.ts +21 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorSeparator.vue.d.ts +2 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorShortcut.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/ModelSelectorTrigger.vue.d.ts +17 -0
- package/dist/components/ai-elements/model-selector/index.d.ts +14 -0
- package/dist/components/ai-elements/node/Node.vue.d.ts +26 -0
- package/dist/components/ai-elements/node/NodeAction.vue.d.ts +17 -0
- package/dist/components/ai-elements/node/NodeContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/node/NodeDescription.vue.d.ts +17 -0
- package/dist/components/ai-elements/node/NodeFooter.vue.d.ts +21 -0
- package/dist/components/ai-elements/node/NodeHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/node/NodeTitle.vue.d.ts +17 -0
- package/dist/components/ai-elements/node/index.d.ts +7 -0
- package/dist/components/ai-elements/open-in-chat/OpenIn.vue.d.ts +20 -0
- package/dist/components/ai-elements/open-in-chat/OpenInContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/open-in-chat/OpenInItemLink.vue.d.ts +8 -0
- package/dist/components/ai-elements/open-in-chat/OpenInTrigger.vue.d.ts +17 -0
- package/dist/components/ai-elements/open-in-chat/context.d.ts +7 -0
- package/dist/components/ai-elements/open-in-chat/index.d.ts +9 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/ChatGPT.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/Claude.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/Cursor.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/Github.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/Scira.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/V0.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/icons/index.d.ts +6 -0
- package/dist/components/ai-elements/open-in-chat/providers/index.d.ts +38 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInChatGPT.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInClaude.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInCursor.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInScira.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInT3.vue.d.ts +2 -0
- package/dist/components/ai-elements/open-in-chat/providers/items/OpenInv0.vue.d.ts +2 -0
- package/dist/components/ai-elements/panel/Panel.vue.d.ts +25 -0
- package/dist/components/ai-elements/panel/index.d.ts +1 -0
- package/dist/components/ai-elements/plan/Plan.vue.d.ts +24 -0
- package/dist/components/ai-elements/plan/PlanAction.vue.d.ts +17 -0
- package/dist/components/ai-elements/plan/PlanContent.vue.d.ts +17 -0
- package/dist/components/ai-elements/plan/PlanDescription.vue.d.ts +22 -0
- package/dist/components/ai-elements/plan/PlanFooter.vue.d.ts +17 -0
- package/dist/components/ai-elements/plan/PlanHeader.vue.d.ts +21 -0
- package/dist/components/ai-elements/plan/PlanTitle.vue.d.ts +18 -0
- package/dist/components/ai-elements/plan/PlanTrigger.vue.d.ts +6 -0
- package/dist/components/ai-elements/plan/context.d.ts +7 -0
- package/dist/components/ai-elements/plan/index.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInput.vue.d.ts +46 -0
- package/dist/components/ai-elements/prompt-input/PromptInputActionAddAttachments.vue.d.ts +7 -0
- package/dist/components/ai-elements/prompt-input/PromptInputActionMenu.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputActionMenuContent.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputActionMenuItem.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputActionMenuTrigger.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputAttachment.vue.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInputAttachments.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputBody.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputButton.vue.d.ts +20 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommand.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandEmpty.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandGroup.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandInput.vue.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandItem.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandList.vue.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInputCommandSeparator.vue.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInputFooter.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputHeader.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputHoverCard.vue.d.ts +26 -0
- package/dist/components/ai-elements/prompt-input/PromptInputHoverCardContent.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputHoverCardTrigger.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputProvider.vue.d.ts +43 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSelect.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSelectContent.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSelectItem.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSelectTrigger.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSelectValue.vue.d.ts +23 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSpeechButton.vue.d.ts +51 -0
- package/dist/components/ai-elements/prompt-input/PromptInputSubmit.vue.d.ts +30 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTab.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTabBody.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTabItem.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTabLabel.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTabsList.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTextarea.vue.d.ts +8 -0
- package/dist/components/ai-elements/prompt-input/PromptInputTools.vue.d.ts +21 -0
- package/dist/components/ai-elements/prompt-input/context.d.ts +22 -0
- package/dist/components/ai-elements/prompt-input/index.d.ts +39 -0
- package/dist/components/ai-elements/prompt-input/types.d.ts +24 -0
- package/dist/components/ai-elements/queue/Queue.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItem.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItemAction.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItemActions.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItemAttachment.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItemContent.vue.d.ts +24 -0
- package/dist/components/ai-elements/queue/QueueItemDescription.vue.d.ts +24 -0
- package/dist/components/ai-elements/queue/QueueItemFile.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueItemImage.vue.d.ts +6 -0
- package/dist/components/ai-elements/queue/QueueItemIndicator.vue.d.ts +9 -0
- package/dist/components/ai-elements/queue/QueueList.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueSection.vue.d.ts +24 -0
- package/dist/components/ai-elements/queue/QueueSectionContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/QueueSectionLabel.vue.d.ts +23 -0
- package/dist/components/ai-elements/queue/QueueSectionTrigger.vue.d.ts +21 -0
- package/dist/components/ai-elements/queue/index.d.ts +15 -0
- package/dist/components/ai-elements/reasoning/Reasoning.vue.d.ts +35 -0
- package/dist/components/ai-elements/reasoning/ReasoningContent.vue.d.ts +7 -0
- package/dist/components/ai-elements/reasoning/ReasoningTrigger.vue.d.ts +21 -0
- package/dist/components/ai-elements/reasoning/context.d.ts +9 -0
- package/dist/components/ai-elements/reasoning/index.d.ts +3 -0
- package/dist/components/ai-elements/shimmer/Shimmer.vue.d.ts +28 -0
- package/dist/components/ai-elements/shimmer/index.d.ts +1 -0
- package/dist/components/ai-elements/sources/Source.vue.d.ts +23 -0
- package/dist/components/ai-elements/sources/Sources.vue.d.ts +21 -0
- package/dist/components/ai-elements/sources/SourcesContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/sources/SourcesTrigger.vue.d.ts +22 -0
- package/dist/components/ai-elements/sources/index.d.ts +4 -0
- package/dist/components/ai-elements/suggestion/Suggestion.vue.d.ts +31 -0
- package/dist/components/ai-elements/suggestion/Suggestions.vue.d.ts +21 -0
- package/dist/components/ai-elements/suggestion/index.d.ts +2 -0
- package/dist/components/ai-elements/task/Task.vue.d.ts +28 -0
- package/dist/components/ai-elements/task/TaskContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/task/TaskItem.vue.d.ts +21 -0
- package/dist/components/ai-elements/task/TaskItemFile.vue.d.ts +21 -0
- package/dist/components/ai-elements/task/TaskTrigger.vue.d.ts +22 -0
- package/dist/components/ai-elements/task/index.d.ts +5 -0
- package/dist/components/ai-elements/tool/Tool.vue.d.ts +21 -0
- package/dist/components/ai-elements/tool/ToolContent.vue.d.ts +21 -0
- package/dist/components/ai-elements/tool/ToolHeader.vue.d.ts +10 -0
- package/dist/components/ai-elements/tool/ToolInput.vue.d.ts +8 -0
- package/dist/components/ai-elements/tool/ToolOutput.vue.d.ts +9 -0
- package/dist/components/ai-elements/tool/ToolStatusBadge.vue.d.ts +6 -0
- package/dist/components/ai-elements/tool/index.d.ts +5 -0
- package/dist/components/ai-elements/toolbar/Toolbar.vue.d.ts +25 -0
- package/dist/components/ai-elements/toolbar/index.d.ts +1 -0
- package/dist/components/ai-elements/web-preview/WebPreview.vue.d.ts +34 -0
- package/dist/components/ai-elements/web-preview/WebPreviewBody.vue.d.ts +24 -0
- package/dist/components/ai-elements/web-preview/WebPreviewConsole.vue.d.ts +30 -0
- package/dist/components/ai-elements/web-preview/WebPreviewNavigation.vue.d.ts +21 -0
- package/dist/components/ai-elements/web-preview/WebPreviewNavigationButton.vue.d.ts +30 -0
- package/dist/components/ai-elements/web-preview/WebPreviewUrl.vue.d.ts +9 -0
- package/dist/components/ai-elements/web-preview/context.d.ts +9 -0
- package/dist/components/ai-elements/web-preview/index.d.ts +7 -0
- package/dist/components/ui/alert/Alert.vue.d.ts +23 -0
- package/dist/components/ui/alert/AlertDescription.vue.d.ts +21 -0
- package/dist/components/ui/alert/AlertTitle.vue.d.ts +21 -0
- package/dist/components/ui/alert/index.d.ts +8 -0
- package/dist/components/ui/avatar/Avatar.vue.d.ts +21 -0
- package/dist/components/ui/avatar/AvatarFallback.vue.d.ts +22 -0
- package/dist/components/ui/avatar/AvatarImage.vue.d.ts +18 -0
- package/dist/components/ui/avatar/index.d.ts +3 -0
- package/dist/components/ui/badge/Badge.vue.d.ts +24 -0
- package/dist/components/ui/badge/index.d.ts +6 -0
- package/dist/components/ui/button/Button.vue.d.ts +27 -0
- package/dist/components/ui/button/index.d.ts +7 -0
- package/dist/components/ui/button-group/ButtonGroup.vue.d.ts +23 -0
- package/dist/components/ui/button-group/ButtonGroupSeparator.vue.d.ts +9 -0
- package/dist/components/ui/button-group/ButtonGroupText.vue.d.ts +26 -0
- package/dist/components/ui/button-group/index.d.ts +8 -0
- package/dist/components/ui/card/Card.vue.d.ts +21 -0
- package/dist/components/ui/card/CardAction.vue.d.ts +21 -0
- package/dist/components/ui/card/CardContent.vue.d.ts +21 -0
- package/dist/components/ui/card/CardDescription.vue.d.ts +21 -0
- package/dist/components/ui/card/CardFooter.vue.d.ts +21 -0
- package/dist/components/ui/card/CardHeader.vue.d.ts +21 -0
- package/dist/components/ui/card/CardTitle.vue.d.ts +21 -0
- package/dist/components/ui/card/index.d.ts +7 -0
- package/dist/components/ui/carousel/CarouselContent.vue.d.ts +22 -0
- package/dist/components/ui/carousel/CarouselItem.vue.d.ts +18 -0
- package/dist/components/ui/carousel/CarouselNext.vue.d.ts +26 -0
- package/dist/components/ui/carousel/CarouselPrevious.vue.d.ts +26 -0
- package/dist/components/ui/carousel/index.d.ts +7 -0
- package/dist/components/ui/carousel/interface.d.ts +19 -0
- package/dist/components/ui/collapsible/Collapsible.vue.d.ts +24 -0
- package/dist/components/ui/collapsible/CollapsibleContent.vue.d.ts +18 -0
- package/dist/components/ui/collapsible/CollapsibleTrigger.vue.d.ts +18 -0
- package/dist/components/ui/collapsible/index.d.ts +3 -0
- package/dist/components/ui/command/Command.vue.d.ts +40 -0
- package/dist/components/ui/command/CommandDialog.vue.d.ts +32 -0
- package/dist/components/ui/command/CommandEmpty.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandGroup.vue.d.ts +23 -0
- package/dist/components/ui/command/CommandInput.vue.d.ts +7 -0
- package/dist/components/ui/command/CommandItem.vue.d.ts +30 -0
- package/dist/components/ui/command/CommandList.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandSeparator.vue.d.ts +22 -0
- package/dist/components/ui/command/CommandShortcut.vue.d.ts +21 -0
- package/dist/components/ui/command/index.d.ts +90 -0
- package/dist/components/ui/dialog/Dialog.vue.d.ts +25 -0
- package/dist/components/ui/dialog/DialogClose.vue.d.ts +18 -0
- package/dist/components/ui/dialog/DialogContent.vue.d.ts +39 -0
- package/dist/components/ui/dialog/DialogDescription.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogFooter.vue.d.ts +21 -0
- package/dist/components/ui/dialog/DialogHeader.vue.d.ts +21 -0
- package/dist/components/ui/dialog/DialogOverlay.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogScrollContent.vue.d.ts +36 -0
- package/dist/components/ui/dialog/DialogTitle.vue.d.ts +22 -0
- package/dist/components/ui/dialog/DialogTrigger.vue.d.ts +18 -0
- package/dist/components/ui/dialog/index.d.ts +10 -0
- package/dist/components/ui/dropdown-menu/DropdownMenu.vue.d.ts +24 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuCheckboxItem.vue.d.ts +29 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuContent.vue.d.ts +36 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuGroup.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuItem.vue.d.ts +26 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuLabel.vue.d.ts +23 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioGroup.vue.d.ts +22 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuRadioItem.vue.d.ts +27 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSeparator.vue.d.ts +7 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuShortcut.vue.d.ts +21 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSub.vue.d.ts +22 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubContent.vue.d.ts +38 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +23 -0
- package/dist/components/ui/dropdown-menu/DropdownMenuTrigger.vue.d.ts +18 -0
- package/dist/components/ui/dropdown-menu/index.d.ts +15 -0
- package/dist/components/ui/hover-card/HoverCard.vue.d.ts +24 -0
- package/dist/components/ui/hover-card/HoverCardContent.vue.d.ts +24 -0
- package/dist/components/ui/hover-card/HoverCardTrigger.vue.d.ts +18 -0
- package/dist/components/ui/hover-card/index.d.ts +3 -0
- package/dist/components/ui/input/Input.vue.d.ts +12 -0
- package/dist/components/ui/input/index.d.ts +1 -0
- package/dist/components/ui/input-group/InputGroup.vue.d.ts +21 -0
- package/dist/components/ui/input-group/InputGroupAddon.vue.d.ts +25 -0
- package/dist/components/ui/input-group/InputGroupButton.vue.d.ts +21 -0
- package/dist/components/ui/input-group/InputGroupInput.vue.d.ts +6 -0
- package/dist/components/ui/input-group/InputGroupText.vue.d.ts +21 -0
- package/dist/components/ui/input-group/InputGroupTextarea.vue.d.ts +6 -0
- package/dist/components/ui/input-group/index.d.ts +22 -0
- package/dist/components/ui/progress/Progress.vue.d.ts +9 -0
- package/dist/components/ui/progress/index.d.ts +1 -0
- package/dist/components/ui/scroll-area/ScrollArea.vue.d.ts +22 -0
- package/dist/components/ui/scroll-area/ScrollBar.vue.d.ts +9 -0
- package/dist/components/ui/scroll-area/index.d.ts +2 -0
- package/dist/components/ui/select/Select.vue.d.ts +28 -0
- package/dist/components/ui/select/SelectContent.vue.d.ts +32 -0
- package/dist/components/ui/select/SelectGroup.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectItem.vue.d.ts +23 -0
- package/dist/components/ui/select/SelectItemText.vue.d.ts +18 -0
- package/dist/components/ui/select/SelectLabel.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectScrollDownButton.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectScrollUpButton.vue.d.ts +22 -0
- package/dist/components/ui/select/SelectSeparator.vue.d.ts +7 -0
- package/dist/components/ui/select/SelectTrigger.vue.d.ts +25 -0
- package/dist/components/ui/select/SelectValue.vue.d.ts +18 -0
- package/dist/components/ui/select/index.d.ts +11 -0
- package/dist/components/ui/separator/Separator.vue.d.ts +10 -0
- package/dist/components/ui/separator/index.d.ts +1 -0
- package/dist/components/ui/textarea/Textarea.vue.d.ts +12 -0
- package/dist/components/ui/textarea/index.d.ts +1 -0
- package/dist/components/ui/tooltip/Tooltip.vue.d.ts +24 -0
- package/dist/components/ui/tooltip/TooltipContent.vue.d.ts +30 -0
- package/dist/components/ui/tooltip/TooltipProvider.vue.d.ts +20 -0
- package/dist/components/ui/tooltip/TooltipTrigger.vue.d.ts +18 -0
- package/dist/components/ui/tooltip/index.d.ts +4 -0
- package/dist/composables/useChat.d.ts +8 -0
- package/dist/css/style.css +2 -0
- package/dist/index.d.ts +3 -0
- package/dist/js/_basePickBy.js +135 -0
- package/dist/js/_baseUniq.js +573 -0
- package/dist/js/angular-html.js +14 -0
- package/dist/js/angular-html2.js +5 -0
- package/dist/js/angular-ts.js +19 -0
- package/dist/js/apl.js +15 -0
- package/dist/js/arc.js +78 -0
- package/dist/js/architecture-U656AL7Q.js +8 -0
- package/dist/js/architectureDiagram-VXUJARFQ.js +4053 -0
- package/dist/js/astro.js +16 -0
- package/dist/js/bash.js +2 -0
- package/dist/js/blade.js +19 -0
- package/dist/js/blockDiagram-VD42YOAC.js +3013 -0
- package/dist/js/bsl.js +3 -0
- package/dist/js/c.js +2 -0
- package/dist/js/c4Diagram-YG6GDRKO.js +2955 -0
- package/dist/js/cairo.js +3 -0
- package/dist/js/channel.js +3 -0
- package/dist/js/chunk-4BX2VUAB.js +6 -0
- package/dist/js/chunk-55IACEB6.js +6 -0
- package/dist/js/chunk-76Q3JFCE.js +19 -0
- package/dist/js/chunk-ABZYJK2D.js +2515 -0
- package/dist/js/chunk-ATLVNIR6.js +65 -0
- package/dist/js/chunk-B4BG7PRW.js +3108 -0
- package/dist/js/chunk-CVBHYZKI.js +10 -0
- package/dist/js/chunk-DI55MBZ5.js +1994 -0
- package/dist/js/chunk-EXTU4WIE.js +7 -0
- package/dist/js/chunk-FMBD7UC4.js +3 -0
- package/dist/js/chunk-FPAJGGOC.js +12252 -0
- package/dist/js/chunk-FWNWRKHM.js +56 -0
- package/dist/js/chunk-HN2XXSSU.js +74 -0
- package/dist/js/chunk-JA3XYJ7Z.js +463 -0
- package/dist/js/chunk-JZLCHNYA.js +4861 -0
- package/dist/js/chunk-LBM3YZW2.js +19 -0
- package/dist/js/chunk-LHMN2FUI.js +19 -0
- package/dist/js/chunk-MI3HLSF2.js +1140 -0
- package/dist/js/chunk-N4CR4FBY.js +39 -0
- package/dist/js/chunk-O7ZBX7Z2.js +26 -0
- package/dist/js/chunk-QN33PNHL.js +23 -0
- package/dist/js/chunk-QXUST7PY.js +486 -0
- package/dist/js/chunk-QZHKN3VN.js +11 -0
- package/dist/js/chunk-S3R3BYOJ.js +1074 -0
- package/dist/js/chunk-S6J4BHB3.js +19 -0
- package/dist/js/chunk-T53DSG4Q.js +24 -0
- package/dist/js/chunk-TZMSLE5B.js +55 -0
- package/dist/js/classDiagram-2ON5EDUG.js +33 -0
- package/dist/js/classDiagram-v2-WZHVMYZB.js +33 -0
- package/dist/js/clone.js +7 -0
- package/dist/js/cmake.js +2 -0
- package/dist/js/cobol.js +10 -0
- package/dist/js/coffee.js +3 -0
- package/dist/js/cose-bilkent-S5V4N54A.js +2250 -0
- package/dist/js/cpp.js +16 -0
- package/dist/js/cpp2.js +6 -0
- package/dist/js/crystal.js +16 -0
- package/dist/js/csharp.js +2 -0
- package/dist/js/css.js +2 -0
- package/dist/js/csv.js +2 -0
- package/dist/js/dagre-6UL2VRFP.js +298 -0
- package/dist/js/dagre.js +1395 -0
- package/dist/js/diagram-PSM6KHXK.js +497 -0
- package/dist/js/diagram-QEK2KX5R.js +226 -0
- package/dist/js/diagram-S2PKOQOG.js +144 -0
- package/dist/js/diff.js +2 -0
- package/dist/js/dist.js +49 -0
- package/dist/js/edge.js +12 -0
- package/dist/js/elixir.js +5 -0
- package/dist/js/elm.js +4 -0
- package/dist/js/erDiagram-Q2GNP2WA.js +1603 -0
- package/dist/js/erb.js +25 -0
- package/dist/js/erlang.js +3 -0
- package/dist/js/flowDiagram-NV44I4VS.js +4132 -0
- package/dist/js/fortran-fixed-form.js +3 -0
- package/dist/js/fortran-free-form.js +2 -0
- package/dist/js/fsharp.js +3 -0
- package/dist/js/ganttDiagram-JELNMOA3.js +3009 -0
- package/dist/js/gdresource.js +8 -0
- package/dist/js/gdscript.js +2 -0
- package/dist/js/gdshader.js +2 -0
- package/dist/js/git-commit.js +3 -0
- package/dist/js/git-rebase.js +3 -0
- package/dist/js/gitGraph-F6HP7TQM.js +8 -0
- package/dist/js/gitGraphDiagram-NY62KEGX.js +634 -0
- package/dist/js/github-dark.js +2 -0
- package/dist/js/github-light.js +2 -0
- package/dist/js/glimmer-js.js +12 -0
- package/dist/js/glimmer-ts.js +12 -0
- package/dist/js/glsl.js +3 -0
- package/dist/js/glsl2.js +3 -0
- package/dist/js/go.js +2 -0
- package/dist/js/graphlib.js +223 -0
- package/dist/js/graphql.js +6 -0
- package/dist/js/graphql2.js +12 -0
- package/dist/js/hack.js +10 -0
- package/dist/js/haml.js +4 -0
- package/dist/js/haml2.js +8 -0
- package/dist/js/handlebars.js +12 -0
- package/dist/js/haxe.js +2 -0
- package/dist/js/hlsl.js +2 -0
- package/dist/js/html-derivative.js +5 -0
- package/dist/js/html-derivative2.js +3 -0
- package/dist/js/html.js +4 -0
- package/dist/js/html2.js +8 -0
- package/dist/js/http.js +17 -0
- package/dist/js/hurl.js +15 -0
- package/dist/js/hxml.js +3 -0
- package/dist/js/index.js +37693 -0
- package/dist/js/info-NVLQJR56.js +8 -0
- package/dist/js/infoDiagram-WHAUD3N6.js +31 -0
- package/dist/js/isEmpty.js +32 -0
- package/dist/js/java.js +2 -0
- package/dist/js/javascript.js +2 -0
- package/dist/js/jinja.js +5 -0
- package/dist/js/jison.js +3 -0
- package/dist/js/journeyDiagram-XKPGCS4Q.js +884 -0
- package/dist/js/json.js +2 -0
- package/dist/js/jsx.js +2 -0
- package/dist/js/julia.js +17 -0
- package/dist/js/kanban-definition-3W4ZIXB7.js +971 -0
- package/dist/js/katex.js +2 -0
- package/dist/js/latex.js +4 -0
- package/dist/js/less.js +2 -0
- package/dist/js/line.js +30 -0
- package/dist/js/linear.js +250 -0
- package/dist/js/liquid.js +12 -0
- package/dist/js/lua.js +3 -0
- package/dist/js/lua2.js +3 -0
- package/dist/js/markdown.js +2 -0
- package/dist/js/marko.js +12 -0
- package/dist/js/mdc.js +13 -0
- package/dist/js/mermaid-parser.core.js +48 -0
- package/dist/js/mermaid.core.js +895 -0
- package/dist/js/mindmap-definition-VGOIOE7T.js +960 -0
- package/dist/js/nginx.js +4 -0
- package/dist/js/nim.js +19 -0
- package/dist/js/ordinal.js +61 -0
- package/dist/js/packet-BFZMPI3H.js +8 -0
- package/dist/js/perl.js +15 -0
- package/dist/js/php.js +9 -0
- package/dist/js/php2.js +16 -0
- package/dist/js/pie-7BOR55EZ.js +8 -0
- package/dist/js/pieDiagram-ADFJNKIX.js +172 -0
- package/dist/js/postcss.js +2 -0
- package/dist/js/pug.js +10 -0
- package/dist/js/python.js +2 -0
- package/dist/js/qml.js +3 -0
- package/dist/js/quadrantDiagram-AYHSOK5B.js +1970 -0
- package/dist/js/r.js +2 -0
- package/dist/js/radar-NHE76QYJ.js +8 -0
- package/dist/js/razor.js +10 -0
- package/dist/js/regexp.js +2 -0
- package/dist/js/requirementDiagram-UZGBJVZJ.js +2194 -0
- package/dist/js/rst.js +34 -0
- package/dist/js/ruby.js +20 -0
- package/dist/js/ruby2.js +28 -0
- package/dist/js/sankeyDiagram-TZEHDZUN.js +884 -0
- package/dist/js/sas.js +3 -0
- package/dist/js/scss.js +3 -0
- package/dist/js/scss2.js +3 -0
- package/dist/js/sdbl.js +2 -0
- package/dist/js/sequenceDiagram-WL72ISMW.js +3560 -0
- package/dist/js/shaderlab.js +3 -0
- package/dist/js/shellscript.js +2 -0
- package/dist/js/shellsession.js +3 -0
- package/dist/js/soy.js +5 -0
- package/dist/js/sparql.js +3 -0
- package/dist/js/sql.js +2 -0
- package/dist/js/src.js +1975 -0
- package/dist/js/stata.js +3 -0
- package/dist/js/stateDiagram-FKZM4ZOC.js +224 -0
- package/dist/js/stateDiagram-v2-4FDKWEC3.js +32 -0
- package/dist/js/stylus.js +2 -0
- package/dist/js/svelte.js +12 -0
- package/dist/js/templ.js +10 -0
- package/dist/js/tex.js +3 -0
- package/dist/js/tex2.js +3 -0
- package/dist/js/timeline-definition-IT6M3QCI.js +830 -0
- package/dist/js/treemap-KMMF4GRG.js +8 -0
- package/dist/js/ts-tags.js +38 -0
- package/dist/js/tsx.js +2 -0
- package/dist/js/turtle.js +2 -0
- package/dist/js/twig.js +33 -0
- package/dist/js/typescript.js +2 -0
- package/dist/js/vue-html.js +13 -0
- package/dist/js/vue-vine.js +22 -0
- package/dist/js/vue.js +20 -0
- package/dist/js/vue2.js +8 -0
- package/dist/js/xml.js +3 -0
- package/dist/js/xml2.js +3 -0
- package/dist/js/xsl.js +4 -0
- package/dist/js/xychartDiagram-PRI3JC2R.js +2022 -0
- package/dist/js/yaml.js +2 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/main.d.ts +0 -0
- package/dist/request/index.d.ts +6 -0
- package/package.json +66 -64
- package/dist/_basePickBy-CkZky1V-.js +0 -135
- package/dist/_baseUniq-f11MNaXe.js +0 -573
- package/dist/ai-chat-example.css +0 -3
- package/dist/angular-html-C5vmpet2.js +0 -14
- package/dist/angular-html-CLTv4jM9.js +0 -5
- package/dist/angular-ts-BKqJWrwt.js +0 -19
- package/dist/apl-BcJs32yU.js +0 -15
- package/dist/arc-Dh_0vvHo.js +0 -78
- package/dist/architecture-U656AL7Q-BqUSHYp0.js +0 -8
- package/dist/architectureDiagram-VXUJARFQ-BQvEdgpc.js +0 -4053
- package/dist/astro-q-huTQEP.js +0 -16
- package/dist/bash-DI_p7w58.js +0 -2
- package/dist/blade-Ckff5WJQ.js +0 -19
- package/dist/blockDiagram-VD42YOAC-DKkDshq3.js +0 -3013
- package/dist/bsl-BTNab0FD.js +0 -3
- package/dist/c-BYDGkYzS.js +0 -2
- package/dist/c4Diagram-YG6GDRKO-KsGqOrVB.js +0 -2955
- package/dist/cairo-DUZgbTPW.js +0 -3
- package/dist/channel-BrxVk5HC.js +0 -3
- package/dist/chunk-4BX2VUAB-BGxl5VGr.js +0 -6
- package/dist/chunk-55IACEB6-CDMD5yu1.js +0 -6
- package/dist/chunk-76Q3JFCE-Db4Lkmow.js +0 -19
- package/dist/chunk-ABZYJK2D-BZvlc6Ej.js +0 -2515
- package/dist/chunk-ATLVNIR6-C3g7rsIT.js +0 -65
- package/dist/chunk-B4BG7PRW-Dx-bGI1r.js +0 -3108
- package/dist/chunk-CVBHYZKI-DxEBlSK7.js +0 -10
- package/dist/chunk-DI55MBZ5-CCWuZnfW.js +0 -1994
- package/dist/chunk-EXTU4WIE-BjMX7pAs.js +0 -7
- package/dist/chunk-FMBD7UC4-Dj3Ok4Bk.js +0 -3
- package/dist/chunk-FPAJGGOC-nWbO3e1v.js +0 -12252
- package/dist/chunk-FWNWRKHM-CjcwRw2u.js +0 -56
- package/dist/chunk-HN2XXSSU-Lv4Ef0co.js +0 -74
- package/dist/chunk-JA3XYJ7Z-Dhh1_u_p.js +0 -463
- package/dist/chunk-JZLCHNYA-vrb_Ucuc.js +0 -4861
- package/dist/chunk-LBM3YZW2-D8lrIfGo.js +0 -19
- package/dist/chunk-LHMN2FUI-DLQ0i8hl.js +0 -19
- package/dist/chunk-MI3HLSF2-Dy6F9XgR.js +0 -1140
- package/dist/chunk-N4CR4FBY-BdaGxHlZ.js +0 -39
- package/dist/chunk-O7ZBX7Z2-D8Yaukr5.js +0 -26
- package/dist/chunk-QN33PNHL-DnPw7tni.js +0 -23
- package/dist/chunk-QXUST7PY-D9mGQ-UP.js +0 -486
- package/dist/chunk-QZHKN3VN-ClanGuXA.js +0 -11
- package/dist/chunk-S3R3BYOJ-DHTsHczu.js +0 -1074
- package/dist/chunk-S6J4BHB3-8RrHs9bD.js +0 -19
- package/dist/chunk-T53DSG4Q-C2BDA_QX.js +0 -24
- package/dist/chunk-TZMSLE5B-F4nHm7N1.js +0 -55
- package/dist/classDiagram-2ON5EDUG-C_ZEMlKu.js +0 -33
- package/dist/classDiagram-v2-WZHVMYZB-BHb5nZOM.js +0 -33
- package/dist/clone-BRioDvRr.js +0 -7
- package/dist/cmake-CA3Lfsq7.js +0 -2
- package/dist/cobol-DhzLzJib.js +0 -10
- package/dist/coffee-P21KTKMu.js +0 -3
- package/dist/cose-bilkent-S5V4N54A-Dy-do3hl.js +0 -2250
- package/dist/cpp-C6JyDxZu.js +0 -16
- package/dist/cpp-GAIEvywS.js +0 -6
- package/dist/crystal-BJfcoGS4.js +0 -16
- package/dist/csharp-JE-9ns6W.js +0 -2
- package/dist/css-Cy-fypCV.js +0 -2
- package/dist/csv-DJ7xG4PY.js +0 -2
- package/dist/dagre-6UL2VRFP-B38_sZWh.js +0 -298
- package/dist/dagre-DtvXp3zQ.js +0 -1395
- package/dist/diagram-PSM6KHXK-D6swsG-y.js +0 -497
- package/dist/diagram-QEK2KX5R-B7Hi0LAL.js +0 -226
- package/dist/diagram-S2PKOQOG-DLx7PlpM.js +0 -144
- package/dist/diff-COB48_rb.js +0 -2
- package/dist/dist-CrnZo_23.js +0 -49
- package/dist/edge-Dm7HQa9N.js +0 -12
- package/dist/elixir-BkvHyCNd.js +0 -5
- package/dist/elm-rz9wTSrn.js +0 -4
- package/dist/erDiagram-Q2GNP2WA-B67FD8rh.js +0 -1603
- package/dist/erb-DyrwQYVz.js +0 -25
- package/dist/erlang-DLFKZs5N.js +0 -3
- package/dist/flowDiagram-NV44I4VS-DHXgrdJY.js +0 -4132
- package/dist/fortran-fixed-form-SzB0QY3n.js +0 -3
- package/dist/fortran-free-form-Js8JrQQE.js +0 -2
- package/dist/fsharp-CtWO0jvL.js +0 -3
- package/dist/ganttDiagram-JELNMOA3-CGIqBt1P.js +0 -3009
- package/dist/gdresource-CgyXKpe4.js +0 -8
- package/dist/gdscript-STdmRKv-.js +0 -2
- package/dist/gdshader-Bs2s6cSB.js +0 -2
- package/dist/git-commit--0GGwZNa.js +0 -3
- package/dist/git-rebase-orw-bSIZ.js +0 -3
- package/dist/gitGraph-F6HP7TQM-CH5XLm5Z.js +0 -8
- package/dist/gitGraphDiagram-NY62KEGX-Cq8AbOhM.js +0 -634
- package/dist/github-dark-CMN1tZPn.js +0 -2
- package/dist/github-light-Y8g-VxKq.js +0 -2
- package/dist/glimmer-js-C6E6wJv0.js +0 -12
- package/dist/glimmer-ts-C6GgTGNO.js +0 -12
- package/dist/glsl-D8_YBRKT.js +0 -3
- package/dist/glsl-rwn_QCp2.js +0 -3
- package/dist/go-BhDDN9y4.js +0 -2
- package/dist/graphlib-BZdVmxO6.js +0 -223
- package/dist/graphql-DQHhbQm2.js +0 -6
- package/dist/graphql-DoBLseH6.js +0 -12
- package/dist/hack-DEAxoi73.js +0 -10
- package/dist/haml-BG2d3iX4.js +0 -4
- package/dist/haml-mA656Lm7.js +0 -8
- package/dist/handlebars-CO5xAxJ3.js +0 -12
- package/dist/haxe-BJVSeYxy.js +0 -2
- package/dist/hlsl-Dt9-unql.js +0 -2
- package/dist/html-DFCxtjnd.js +0 -4
- package/dist/html-DKSj3FeM.js +0 -8
- package/dist/html-derivative-BCRkrTcD.js +0 -5
- package/dist/html-derivative-C-vidKoA.js +0 -3
- package/dist/http-CYP1tEDW.js +0 -17
- package/dist/hurl-BJexUSKz.js +0 -15
- package/dist/hxml-XfuSEjM-.js +0 -3
- package/dist/info-NVLQJR56-hEN1y0nS.js +0 -8
- package/dist/infoDiagram-WHAUD3N6-btPwHXxp.js +0 -31
- package/dist/isEmpty-CCym_WUL.js +0 -32
- package/dist/java-DIOGgqAD.js +0 -2
- package/dist/javascript-9-JPeKdm.js +0 -2
- package/dist/jinja-CVFxFRh6.js +0 -5
- package/dist/jison-0X6LppGq.js +0 -3
- package/dist/journeyDiagram-XKPGCS4Q-3OxtBx3I.js +0 -884
- package/dist/js/chat-example.es.js +0 -39220
- package/dist/js/chat-example.umd.js +0 -2989
- package/dist/json-DJtYdWQK.js +0 -2
- package/dist/jsx-qo0JNHpZ.js +0 -2
- package/dist/julia-ChGs-n_c.js +0 -17
- package/dist/kanban-definition-3W4ZIXB7-zdtnJaXz.js +0 -971
- package/dist/katex-K1dsczyg.js +0 -2
- package/dist/latex-BnWZlY4q.js +0 -4
- package/dist/less-B4ybD-7s.js +0 -2
- package/dist/line-EpckC7pZ.js +0 -30
- package/dist/linear-DjVN4o4U.js +0 -250
- package/dist/liquid-pc5Mduds.js +0 -12
- package/dist/lua-0TqNbT8C.js +0 -3
- package/dist/lua-6pXga3HV.js +0 -3
- package/dist/markdown-LaaQ4Eua.js +0 -2
- package/dist/marko-D8uDUUEs.js +0 -12
- package/dist/mdc-Ki3KnB5U.js +0 -13
- package/dist/mermaid-parser.core-DVXSGppp.js +0 -48
- package/dist/mermaid.core-Ra1JFCui.js +0 -895
- package/dist/mindmap-definition-VGOIOE7T-CRPO52xV.js +0 -960
- package/dist/nginx-B46vdQ9n.js +0 -4
- package/dist/nim-BxQNx10D.js +0 -19
- package/dist/ordinal-CYQpsShT.js +0 -61
- package/dist/packet-BFZMPI3H-Bnlch4JI.js +0 -8
- package/dist/perl-D1bDaADZ.js +0 -15
- package/dist/php-BX51InqL.js +0 -9
- package/dist/php-D5tmU8Cr.js +0 -16
- package/dist/pie-7BOR55EZ-B9egLHl5.js +0 -8
- package/dist/pieDiagram-ADFJNKIX-CKSgB7fx.js +0 -172
- package/dist/postcss-ainQkoyY.js +0 -2
- package/dist/pug-BcLlS7Yb.js +0 -10
- package/dist/python-CuBu5pyY.js +0 -2
- package/dist/qml-MD0NqqIl.js +0 -3
- package/dist/quadrantDiagram-AYHSOK5B-BHzqivzD.js +0 -1970
- package/dist/r-CQeHOO4c.js +0 -2
- package/dist/radar-NHE76QYJ-DdALhlvV.js +0 -8
- package/dist/razor-eRwFWsjJ.js +0 -10
- package/dist/regexp-Ca0eDBa2.js +0 -2
- package/dist/requirementDiagram-UZGBJVZJ-Darhwvir.js +0 -2194
- package/dist/rst-DFmSdXGd.js +0 -34
- package/dist/ruby-BAEFomR0.js +0 -20
- package/dist/ruby-DDMUvAvC.js +0 -28
- package/dist/sankeyDiagram-TZEHDZUN-KiSvBN_C.js +0 -884
- package/dist/sas-TjtLSnOp.js +0 -3
- package/dist/scss-C-bthdG1.js +0 -3
- package/dist/scss-D-6-mg-f.js +0 -3
- package/dist/sdbl-gc7zIVWR.js +0 -2
- package/dist/sequenceDiagram-WL72ISMW-D2Mo7Vtj.js +0 -3560
- package/dist/shaderlab-BRlB5fpk.js +0 -3
- package/dist/shellscript-DZa_4vvb.js +0 -2
- package/dist/shellsession-CIlmlgbR.js +0 -3
- package/dist/soy-DwSCrzEF.js +0 -5
- package/dist/sparql-D9kVSpEx.js +0 -3
- package/dist/sql-Bi3LyNPb.js +0 -2
- package/dist/src-B-SBGd0A.js +0 -1975
- package/dist/stata-DkEObyNb.js +0 -3
- package/dist/stateDiagram-FKZM4ZOC-BRQN2Npg.js +0 -224
- package/dist/stateDiagram-v2-4FDKWEC3-CeeIKiFG.js +0 -32
- package/dist/stylus-DEHALDNh.js +0 -2
- package/dist/svelte-KFuclcR6.js +0 -12
- package/dist/templ-C5mtYbb_.js +0 -10
- package/dist/tex-B4uYy1vC.js +0 -3
- package/dist/tex-BoVFa1ir.js +0 -3
- package/dist/timeline-definition-IT6M3QCI-CSwH0Pnx.js +0 -830
- package/dist/treemap-KMMF4GRG-COjpj6-C.js +0 -8
- package/dist/ts-tags-DRdTXGhb.js +0 -38
- package/dist/tsx-BaaPsUbd.js +0 -2
- package/dist/turtle-BRmolh-6.js +0 -2
- package/dist/twig-cEhAbahS.js +0 -33
- package/dist/typescript-CmJ8D0yY.js +0 -2
- package/dist/vue-B3C4YeUK.js +0 -8
- package/dist/vue-DMpjAWNv.js +0 -20
- package/dist/vue-html-BIZN50ug.js +0 -13
- package/dist/vue-vine-DxezWcjL.js +0 -22
- package/dist/xml-BglBgo29.js +0 -3
- package/dist/xml-BxRdgEAX.js +0 -3
- package/dist/xsl-Cni90e0k.js +0 -4
- package/dist/xychartDiagram-PRI3JC2R-CGXFYn39.js +0 -2022
- package/dist/yaml-DQRfaSRo.js +0 -2
- /package/dist/{abap--jVlqvLx.js → js/abap.js} +0 -0
- /package/dist/{actionscript-3-N1AoJtTA.js → js/actionscript-3.js} +0 -0
- /package/dist/{ada-CYGINLea.js → js/ada.js} +0 -0
- /package/dist/{andromeeda-CvsZnG9k.js → js/andromeeda.js} +0 -0
- /package/dist/{apache-D6X-_dyJ.js → js/apache.js} +0 -0
- /package/dist/{apex-C7VgAgAE.js → js/apex.js} +0 -0
- /package/dist/{applescript-DN64Su6U.js → js/applescript.js} +0 -0
- /package/dist/{ara-Dm1jHrgg.js → js/ara.js} +0 -0
- /package/dist/{array-CkdOJbdT.js → js/array.js} +0 -0
- /package/dist/{asciidoc-BpqtqRF5.js → js/asciidoc.js} +0 -0
- /package/dist/{asm-DUGlKYIq.js → js/asm.js} +0 -0
- /package/dist/{aurora-x-DwOih-un.js → js/aurora-x.js} +0 -0
- /package/dist/{awk-DcnVbJrN.js → js/awk.js} +0 -0
- /package/dist/{ayu-dark-Bd-89MKE.js → js/ayu-dark.js} +0 -0
- /package/dist/{ballerina-BQVdQd9X.js → js/ballerina.js} +0 -0
- /package/dist/{bat-juB1J52r.js → js/bat.js} +0 -0
- /package/dist/{beancount-ThxIlRc3.js → js/beancount.js} +0 -0
- /package/dist/{berry-qC18BfC_.js → js/berry.js} +0 -0
- /package/dist/{bibtex-CahMDY_0.js → js/bibtex.js} +0 -0
- /package/dist/{bicep-CHLBKS47.js → js/bicep.js} +0 -0
- /package/dist/{c-CX6yudYR.js → js/c2.js} +0 -0
- /package/dist/{cadence-DA5J9-Di.js → js/cadence.js} +0 -0
- /package/dist/{catppuccin-frappe-CE3kxG1f.js → js/catppuccin-frappe.js} +0 -0
- /package/dist/{catppuccin-latte-DW2FXeIv.js → js/catppuccin-latte.js} +0 -0
- /package/dist/{catppuccin-macchiato-CD5qjRSF.js → js/catppuccin-macchiato.js} +0 -0
- /package/dist/{catppuccin-mocha-BYwVJvjI.js → js/catppuccin-mocha.js} +0 -0
- /package/dist/{chunk-XAJISQIX-Bz7ki7DY.js → js/chunk-XAJISQIX.js} +0 -0
- /package/dist/{chunk-DNh5sLlG.js → js/chunk.js} +0 -0
- /package/dist/{clarity-CsFOkG3c.js → js/clarity.js} +0 -0
- /package/dist/{clojure-u1TZmmdQ.js → js/clojure.js} +0 -0
- /package/dist/{cmake-K1k8HMYR.js → js/cmake2.js} +0 -0
- /package/dist/{codeowners-l4eSxhtA.js → js/codeowners.js} +0 -0
- /package/dist/{codeql-5CeQaktT.js → js/codeql.js} +0 -0
- /package/dist/{common-lisp-BVttGbYJ.js → js/common-lisp.js} +0 -0
- /package/dist/{coq-CZjzQDnb.js → js/coq.js} +0 -0
- /package/dist/{csharp-BbUwciq4.js → js/csharp2.js} +0 -0
- /package/dist/{css-Crp0iO_o.js → js/css2.js} +0 -0
- /package/dist/{csv-DtT8LmMi.js → js/csv2.js} +0 -0
- /package/dist/{cue-BwjaQTCz.js → js/cue.js} +0 -0
- /package/dist/{cypher-B7e06enY.js → js/cypher.js} +0 -0
- /package/dist/{cytoscape.esm-CWqS6puh.js → js/cytoscape.esm.js} +0 -0
- /package/dist/{d-q60wkid4.js → js/d.js} +0 -0
- /package/dist/{dark-plus-D_fA88xf.js → js/dark-plus.js} +0 -0
- /package/dist/{dart-DjkWvBgr.js → js/dart.js} +0 -0
- /package/dist/{dax-lueLIZQI.js → js/dax.js} +0 -0
- /package/dist/{defaultLocale-CoJOMwPq.js → js/defaultLocale.js} +0 -0
- /package/dist/{desktop-DaphHKD5.js → js/desktop.js} +0 -0
- /package/dist/{diff-DlXnqUMK.js → js/diff2.js} +0 -0
- /package/dist/{docker-DZKmuwpA.js → js/docker.js} +0 -0
- /package/dist/{dotenv-hmNahw-8.js → js/dotenv.js} +0 -0
- /package/dist/{dracula-soft-vfA-TA_S.js → js/dracula-soft.js} +0 -0
- /package/dist/{dracula-ddM3a7au.js → js/dracula.js} +0 -0
- /package/dist/{dream-maker-Cxa2a8FY.js → js/dream-maker.js} +0 -0
- /package/dist/{emacs-lisp-w5URnZPZ.js → js/emacs-lisp.js} +0 -0
- /package/dist/{everforest-dark-DAPtv4yI.js → js/everforest-dark.js} +0 -0
- /package/dist/{everforest-light-nQzYm8GO.js → js/everforest-light.js} +0 -0
- /package/dist/{fennel-CJDNJZTU.js → js/fennel.js} +0 -0
- /package/dist/{fish-BkYaLI4-.js → js/fish.js} +0 -0
- /package/dist/{fluent-DShra35H.js → js/fluent.js} +0 -0
- /package/dist/{fortran-free-form-CgbOAJnm.js → js/fortran-free-form2.js} +0 -0
- /package/dist/{gdscript-DnurdQnh.js → js/gdscript2.js} +0 -0
- /package/dist/{gdshader-YiVaPq6D.js → js/gdshader2.js} +0 -0
- /package/dist/{genie-BppkvzZC.js → js/genie.js} +0 -0
- /package/dist/{gherkin-Bp4zdWMb.js → js/gherkin.js} +0 -0
- /package/dist/{github-dark-default-DVCJut02.js → js/github-dark-default.js} +0 -0
- /package/dist/{github-dark-dimmed-DXu9oDqW.js → js/github-dark-dimmed.js} +0 -0
- /package/dist/{github-dark-high-contrast-BBZdE-mX.js → js/github-dark-high-contrast.js} +0 -0
- /package/dist/{github-dark-DxCf_Qaz.js → js/github-dark2.js} +0 -0
- /package/dist/{github-light-default-BNGkGE--.js → js/github-light-default.js} +0 -0
- /package/dist/{github-light-high-contrast-DiSIc-nG.js → js/github-light-high-contrast.js} +0 -0
- /package/dist/{github-light-CfdX7txK.js → js/github-light2.js} +0 -0
- /package/dist/{gleam-Lw0tKp8T.js → js/gleam.js} +0 -0
- /package/dist/{gnuplot-BeA3etmO.js → js/gnuplot.js} +0 -0
- /package/dist/{go-xfE7BrfS.js → js/go2.js} +0 -0
- /package/dist/{groovy-C5-mv4io.js → js/groovy.js} +0 -0
- /package/dist/{gruvbox-dark-hard-CULu6kVy.js → js/gruvbox-dark-hard.js} +0 -0
- /package/dist/{gruvbox-dark-medium-BJM4uQXO.js → js/gruvbox-dark-medium.js} +0 -0
- /package/dist/{gruvbox-dark-soft-CVaORUwa.js → js/gruvbox-dark-soft.js} +0 -0
- /package/dist/{gruvbox-light-hard-B-WJAGLa.js → js/gruvbox-light-hard.js} +0 -0
- /package/dist/{gruvbox-light-medium-jc8FWnuC.js → js/gruvbox-light-medium.js} +0 -0
- /package/dist/{gruvbox-light-soft-CmvYQK92.js → js/gruvbox-light-soft.js} +0 -0
- /package/dist/{haskell-Hsexh2aP.js → js/haskell.js} +0 -0
- /package/dist/{haxe-CD_Rs3P5.js → js/haxe2.js} +0 -0
- /package/dist/{hcl-D098sJ_J.js → js/hcl.js} +0 -0
- /package/dist/{hjson-BwXHX5r6.js → js/hjson.js} +0 -0
- /package/dist/{hlsl-B0pnUVYG.js → js/hlsl2.js} +0 -0
- /package/dist/{houston-C7hMWO_I.js → js/houston.js} +0 -0
- /package/dist/{hy-DPQ04rHt.js → js/hy.js} +0 -0
- /package/dist/{imba-Bgu2n5Mo.js → js/imba.js} +0 -0
- /package/dist/{ini-g9mZnyrk.js → js/ini.js} +0 -0
- /package/dist/{init-CBay3kgM.js → js/init.js} +0 -0
- /package/dist/{isArrayLikeObject-Dz_TDfw0.js → js/isArrayLikeObject.js} +0 -0
- /package/dist/{java-CUbPyze1.js → js/java2.js} +0 -0
- /package/dist/{javascript-De1qhUaI.js → js/javascript2.js} +0 -0
- /package/dist/{json-fcFpRaf3.js → js/json2.js} +0 -0
- /package/dist/{json5-CPTZJOmf.js → js/json5.js} +0 -0
- /package/dist/{jsonc-CYrayg0k.js → js/jsonc.js} +0 -0
- /package/dist/{jsonl-Bsv7LjJ3.js → js/jsonl.js} +0 -0
- /package/dist/{jsonnet-B7LkHJxg.js → js/jsonnet.js} +0 -0
- /package/dist/{jssm-BopKGZKg.js → js/jssm.js} +0 -0
- /package/dist/{jsx-Bf3Nk9Di.js → js/jsx2.js} +0 -0
- /package/dist/{kanagawa-dragon-CSqqi78I.js → js/kanagawa-dragon.js} +0 -0
- /package/dist/{kanagawa-lotus-l2vgoxpH.js → js/kanagawa-lotus.js} +0 -0
- /package/dist/{kanagawa-wave-BWhFcnLj.js → js/kanagawa-wave.js} +0 -0
- /package/dist/{katex-BcWXJDMd.js → js/katex2.js} +0 -0
- /package/dist/{kdl-BbokxoZ9.js → js/kdl.js} +0 -0
- /package/dist/{kotlin-3dXKmwyJ.js → js/kotlin.js} +0 -0
- /package/dist/{kusto-Os6_yHEz.js → js/kusto.js} +0 -0
- /package/dist/{laserwave-8RcN1zf8.js → js/laserwave.js} +0 -0
- /package/dist/{lean--0Wr4Cy4.js → js/lean.js} +0 -0
- /package/dist/{less-Cb54jO7u.js → js/less2.js} +0 -0
- /package/dist/{light-plus-CP_iZQDF.js → js/light-plus.js} +0 -0
- /package/dist/{llvm-ILH_SX7E.js → js/llvm.js} +0 -0
- /package/dist/{log-DwO_GzA0.js → js/log.js} +0 -0
- /package/dist/{logo-B4FeRowR.js → js/logo.js} +0 -0
- /package/dist/{luau-DsUEyLJN.js → js/luau.js} +0 -0
- /package/dist/{make-p6NYc19I.js → js/make.js} +0 -0
- /package/dist/{markdown-CCRtgC0b.js → js/markdown2.js} +0 -0
- /package/dist/{marked.esm-D9xINNve.js → js/marked.esm.js} +0 -0
- /package/dist/{material-theme-darker-CWC5BoMv.js → js/material-theme-darker.js} +0 -0
- /package/dist/{material-theme-lighter-BJrV5b2o.js → js/material-theme-lighter.js} +0 -0
- /package/dist/{material-theme-ocean-DYpMfDiX.js → js/material-theme-ocean.js} +0 -0
- /package/dist/{material-theme-palenight-3Ix3iI7Q.js → js/material-theme-palenight.js} +0 -0
- /package/dist/{material-theme-D__z84-n.js → js/material-theme.js} +0 -0
- /package/dist/{math-CJAnbPum.js → js/math.js} +0 -0
- /package/dist/{matlab-CL0oMGfq.js → js/matlab.js} +0 -0
- /package/dist/{mdx-BTufVkNP.js → js/mdx.js} +0 -0
- /package/dist/{mermaid-FCjIh1A7.js → js/mermaid.js} +0 -0
- /package/dist/{min-dark-B4KRMcN3.js → js/min-dark.js} +0 -0
- /package/dist/{min-light-BQVJODr0.js → js/min-light.js} +0 -0
- /package/dist/{mipsasm-Cn6AQ4lM.js → js/mipsasm.js} +0 -0
- /package/dist/{mojo-C9IiQhp4.js → js/mojo.js} +0 -0
- /package/dist/{monokai-vDwMMRi4.js → js/monokai.js} +0 -0
- /package/dist/{move-BdizQ4_I.js → js/move.js} +0 -0
- /package/dist/{narrat-BP2kx-u2.js → js/narrat.js} +0 -0
- /package/dist/{nextflow-CyRmCGOe.js → js/nextflow.js} +0 -0
- /package/dist/{night-owl-DmjkOa5g.js → js/night-owl.js} +0 -0
- /package/dist/{nix-qPhlsqZI.js → js/nix.js} +0 -0
- /package/dist/{nord-sjxbvIbg.js → js/nord.js} +0 -0
- /package/dist/{nushell-puA-1bCW.js → js/nushell.js} +0 -0
- /package/dist/{objective-c-D-qDLNy5.js → js/objective-c.js} +0 -0
- /package/dist/{objective-cpp-CFxSAM6p.js → js/objective-cpp.js} +0 -0
- /package/dist/{ocaml-CsLB7SWJ.js → js/ocaml.js} +0 -0
- /package/dist/{one-dark-pro-BHH-VjFD.js → js/one-dark-pro.js} +0 -0
- /package/dist/{one-light-BqE6erWk.js → js/one-light.js} +0 -0
- /package/dist/{openscad-DJCIQfnJ.js → js/openscad.js} +0 -0
- /package/dist/{pascal-CPg9_ZFN.js → js/pascal.js} +0 -0
- /package/dist/{path-esxOUfAH.js → js/path.js} +0 -0
- /package/dist/{pkl-BQQ96hvn.js → js/pkl.js} +0 -0
- /package/dist/{plastic-BrNUBdSC.js → js/plastic.js} +0 -0
- /package/dist/{plsql-Co7Bxe7U.js → js/plsql.js} +0 -0
- /package/dist/{po-BqzJCro7.js → js/po.js} +0 -0
- /package/dist/{poimandres-C_AK8TlO.js → js/poimandres.js} +0 -0
- /package/dist/{polar-CtdYIPEe.js → js/polar.js} +0 -0
- /package/dist/{postcss-ChqFKb46.js → js/postcss2.js} +0 -0
- /package/dist/{powerquery-CDugc1w-.js → js/powerquery.js} +0 -0
- /package/dist/{powershell-j5X-IA59.js → js/powershell.js} +0 -0
- /package/dist/{prisma-Cyl7YhUw.js → js/prisma.js} +0 -0
- /package/dist/{prolog-DELKnUYf.js → js/prolog.js} +0 -0
- /package/dist/{proto-C4A_gDBY.js → js/proto.js} +0 -0
- /package/dist/{puppet-DFC9LyFj.js → js/puppet.js} +0 -0
- /package/dist/{purescript-eECq7_n2.js → js/purescript.js} +0 -0
- /package/dist/{python-BhdCuCld.js → js/python2.js} +0 -0
- /package/dist/{qmldir-BpJII-Ze.js → js/qmldir.js} +0 -0
- /package/dist/{qss-CpMcemMc.js → js/qss.js} +0 -0
- /package/dist/{r-D90zdkbN.js → js/r2.js} +0 -0
- /package/dist/{racket-COTs6Zfi.js → js/racket.js} +0 -0
- /package/dist/{raku-DfOtwMUC.js → js/raku.js} +0 -0
- /package/dist/{red-CWGFZsim.js → js/red.js} +0 -0
- /package/dist/{reg-BX5DwoEA.js → js/reg.js} +0 -0
- /package/dist/{regexp-Cap8fK_2.js → js/regexp2.js} +0 -0
- /package/dist/{rel-CzXuLSk3.js → js/rel.js} +0 -0
- /package/dist/{riscv-DnFIiqh3.js → js/riscv.js} +0 -0
- /package/dist/{rose-pine-dawn-D5sdDB-J.js → js/rose-pine-dawn.js} +0 -0
- /package/dist/{rose-pine-moon-2Vb7bLLO.js → js/rose-pine-moon.js} +0 -0
- /package/dist/{rose-pine-C4v2iQVe.js → js/rose-pine.js} +0 -0
- /package/dist/{rosmsg-D02ul3fM.js → js/rosmsg.js} +0 -0
- /package/dist/{rust-s3hBbfQg.js → js/rust.js} +0 -0
- /package/dist/{sass-v3HeJ9Fl.js → js/sass.js} +0 -0
- /package/dist/{scala-BTIBM_Vn.js → js/scala.js} +0 -0
- /package/dist/{scheme-C4NQMf7a.js → js/scheme.js} +0 -0
- /package/dist/{sdbl-BA3l-JrH.js → js/sdbl2.js} +0 -0
- /package/dist/{shellscript-BQ8mKDAF.js → js/shellscript2.js} +0 -0
- /package/dist/{slack-dark-DhXO5DWr.js → js/slack-dark.js} +0 -0
- /package/dist/{slack-ochin-aAGl4PPH.js → js/slack-ochin.js} +0 -0
- /package/dist/{smalltalk-DbwVUw_i.js → js/smalltalk.js} +0 -0
- /package/dist/{snazzy-light-B4S5mk83.js → js/snazzy-light.js} +0 -0
- /package/dist/{solarized-dark-Dexkq3Fm.js → js/solarized-dark.js} +0 -0
- /package/dist/{solarized-light-I-Bzy8UC.js → js/solarized-light.js} +0 -0
- /package/dist/{solidity-SMk0TJDc.js → js/solidity.js} +0 -0
- /package/dist/{splunk-DXXu2r7r.js → js/splunk.js} +0 -0
- /package/dist/{sql-D0eLHBiZ.js → js/sql2.js} +0 -0
- /package/dist/{ssh-config-DyVcFTfI.js → js/ssh-config.js} +0 -0
- /package/dist/{stylus-BKTuFHcX.js → js/stylus2.js} +0 -0
- /package/dist/{swift-Cenptrnf.js → js/swift.js} +0 -0
- /package/dist/{synthwave-84-BRkDuVE-.js → js/synthwave-84.js} +0 -0
- /package/dist/{system-verilog-Cvgukx4v.js → js/system-verilog.js} +0 -0
- /package/dist/{systemd-BepdslJQ.js → js/systemd.js} +0 -0
- /package/dist/{talonscript-Q98m-VXh.js → js/talonscript.js} +0 -0
- /package/dist/{tasl-uebrX98X.js → js/tasl.js} +0 -0
- /package/dist/{tcl-B1Ny4XFf.js → js/tcl.js} +0 -0
- /package/dist/{terraform-0mA5ERTe.js → js/terraform.js} +0 -0
- /package/dist/{tokyo-night-D0mU3-u8.js → js/tokyo-night.js} +0 -0
- /package/dist/{toml-vMAjra5M.js → js/toml.js} +0 -0
- /package/dist/{tsv-BnmbkntZ.js → js/tsv.js} +0 -0
- /package/dist/{tsx-C0w0w5St.js → js/tsx2.js} +0 -0
- /package/dist/{turtle-4UWi_qX6.js → js/turtle2.js} +0 -0
- /package/dist/{typescript-4YtK2JL4.js → js/typescript2.js} +0 -0
- /package/dist/{typespec-CILw3zvZ.js → js/typespec.js} +0 -0
- /package/dist/{typst-CLajFw6q.js → js/typst.js} +0 -0
- /package/dist/{v-MJV2RQvK.js → js/v.js} +0 -0
- /package/dist/{vala-Dc1TiHw1.js → js/vala.js} +0 -0
- /package/dist/{vb-CoJdNmGs.js → js/vb.js} +0 -0
- /package/dist/{verilog-C7aVmiO0.js → js/verilog.js} +0 -0
- /package/dist/{vesper-Cvcqyrim.js → js/vesper.js} +0 -0
- /package/dist/{vhdl-CYQvzAG1.js → js/vhdl.js} +0 -0
- /package/dist/{viml-DOyjiDI8.js → js/viml.js} +0 -0
- /package/dist/{vitesse-black-CUYJaB5b.js → js/vitesse-black.js} +0 -0
- /package/dist/{vitesse-dark-BNlzDJ1Z.js → js/vitesse-dark.js} +0 -0
- /package/dist/{vitesse-light-JU98KqVa.js → js/vitesse-light.js} +0 -0
- /package/dist/{vyper-JU_r7Ch6.js → js/vyper.js} +0 -0
- /package/dist/{wasm-DJ1S--fN.js → js/wasm.js} +0 -0
- /package/dist/{wasm-eLFiAU8u.js → js/wasm2.js} +0 -0
- /package/dist/{wenyan-CqkzmyWz.js → js/wenyan.js} +0 -0
- /package/dist/{wgsl-gV62iTnF.js → js/wgsl.js} +0 -0
- /package/dist/{wikitext-BfUl8La4.js → js/wikitext.js} +0 -0
- /package/dist/{wit-kp_bCf2U.js → js/wit.js} +0 -0
- /package/dist/{wolfram-aPsN9AKt.js → js/wolfram.js} +0 -0
- /package/dist/{yaml-P2kjOPvW.js → js/yaml2.js} +0 -0
- /package/dist/{zenscript-BuY4FX-t.js → js/zenscript.js} +0 -0
- /package/dist/{zig-CGDGjytz.js → js/zig.js} +0 -0
|
@@ -0,0 +1,895 @@
|
|
|
1
|
+
import "./marked.esm.js";
|
|
2
|
+
import "./isArrayLikeObject.js";
|
|
3
|
+
import { t as isEmpty_default } from "./isEmpty.js";
|
|
4
|
+
import { a as decodeEntities, f as isDetailedError, g as utils_default, h as removeDirectives, i as cleanAndMerge, o as encodeEntities } from "./chunk-S3R3BYOJ.js";
|
|
5
|
+
import { _ as setLogLevel, g as log, h as __name, p as select_default } from "./src.js";
|
|
6
|
+
import { J as themes_default, M as registerLazyLoadedDiagrams, P as reset, R as saveConfigFromInitialize, S as getDiagramLoader, V as setConfig, W as setSiteConfig, X as purify, Y as updateSiteConfig, c as configureSvgSize, f as detectType, g as frontMatterRegex, h as evaluate, j as registerDiagram, l as defaultConfig, n as addDirective, p as detectors, q as styles_default, r as assignWithDepth_default, t as UnknownDiagramError, w as getSiteConfig, x as getDiagram, y as getConfig } from "./chunk-ABZYJK2D.js";
|
|
7
|
+
import "./path.js";
|
|
8
|
+
import "./math.js";
|
|
9
|
+
import "./array.js";
|
|
10
|
+
import "./line.js";
|
|
11
|
+
import { t as selectSvgElement } from "./chunk-EXTU4WIE.js";
|
|
12
|
+
import "./dist.js";
|
|
13
|
+
import { i as registerIconPacks, s as dedent } from "./chunk-JA3XYJ7Z.js";
|
|
14
|
+
import "./chunk-HN2XXSSU.js";
|
|
15
|
+
import "./chunk-CVBHYZKI.js";
|
|
16
|
+
import "./chunk-ATLVNIR6.js";
|
|
17
|
+
import "./chunk-JZLCHNYA.js";
|
|
18
|
+
import "./chunk-QXUST7PY.js";
|
|
19
|
+
import { n as registerLayoutLoaders } from "./chunk-N4CR4FBY.js";
|
|
20
|
+
import { n as load, t as JSON_SCHEMA } from "./chunk-MI3HLSF2.js";
|
|
21
|
+
import { t as package_default } from "./chunk-XAJISQIX.js";
|
|
22
|
+
var COMMENT = "comm", RULESET = "rule", DECLARATION = "decl", IMPORT = "@import", NAMESPACE = "@namespace", KEYFRAMES = "@keyframes", LAYER = "@layer", abs = Math.abs, from = String.fromCharCode;
|
|
23
|
+
function trim(e) {
|
|
24
|
+
return e.trim();
|
|
25
|
+
}
|
|
26
|
+
function replace(e, S, C) {
|
|
27
|
+
return e.replace(S, C);
|
|
28
|
+
}
|
|
29
|
+
function indexof(e, S, C) {
|
|
30
|
+
return e.indexOf(S, C);
|
|
31
|
+
}
|
|
32
|
+
function charat(e, S) {
|
|
33
|
+
return e.charCodeAt(S) | 0;
|
|
34
|
+
}
|
|
35
|
+
function substr(e, S, C) {
|
|
36
|
+
return e.slice(S, C);
|
|
37
|
+
}
|
|
38
|
+
function strlen(e) {
|
|
39
|
+
return e.length;
|
|
40
|
+
}
|
|
41
|
+
function sizeof(e) {
|
|
42
|
+
return e.length;
|
|
43
|
+
}
|
|
44
|
+
function append(e, S) {
|
|
45
|
+
return S.push(e), e;
|
|
46
|
+
}
|
|
47
|
+
var line = 1, column = 1, length = 0, position = 0, character = 0, characters = "";
|
|
48
|
+
function node(e, S, C, w, T, E, D, O) {
|
|
49
|
+
return {
|
|
50
|
+
value: e,
|
|
51
|
+
root: S,
|
|
52
|
+
parent: C,
|
|
53
|
+
type: w,
|
|
54
|
+
props: T,
|
|
55
|
+
children: E,
|
|
56
|
+
line,
|
|
57
|
+
column,
|
|
58
|
+
length: D,
|
|
59
|
+
return: "",
|
|
60
|
+
siblings: O
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function char() {
|
|
64
|
+
return character;
|
|
65
|
+
}
|
|
66
|
+
function prev() {
|
|
67
|
+
return character = position > 0 ? charat(characters, --position) : 0, column--, character === 10 && (column = 1, line--), character;
|
|
68
|
+
}
|
|
69
|
+
function next() {
|
|
70
|
+
return character = position < length ? charat(characters, position++) : 0, column++, character === 10 && (column = 1, line++), character;
|
|
71
|
+
}
|
|
72
|
+
function peek() {
|
|
73
|
+
return charat(characters, position);
|
|
74
|
+
}
|
|
75
|
+
function caret() {
|
|
76
|
+
return position;
|
|
77
|
+
}
|
|
78
|
+
function slice(e, S) {
|
|
79
|
+
return substr(characters, e, S);
|
|
80
|
+
}
|
|
81
|
+
function token(e) {
|
|
82
|
+
switch (e) {
|
|
83
|
+
case 0:
|
|
84
|
+
case 9:
|
|
85
|
+
case 10:
|
|
86
|
+
case 13:
|
|
87
|
+
case 32: return 5;
|
|
88
|
+
case 33:
|
|
89
|
+
case 43:
|
|
90
|
+
case 44:
|
|
91
|
+
case 47:
|
|
92
|
+
case 62:
|
|
93
|
+
case 64:
|
|
94
|
+
case 126:
|
|
95
|
+
case 59:
|
|
96
|
+
case 123:
|
|
97
|
+
case 125: return 4;
|
|
98
|
+
case 58: return 3;
|
|
99
|
+
case 34:
|
|
100
|
+
case 39:
|
|
101
|
+
case 40:
|
|
102
|
+
case 91: return 2;
|
|
103
|
+
case 41:
|
|
104
|
+
case 93: return 1;
|
|
105
|
+
}
|
|
106
|
+
return 0;
|
|
107
|
+
}
|
|
108
|
+
function alloc(e) {
|
|
109
|
+
return line = column = 1, length = strlen(characters = e), position = 0, [];
|
|
110
|
+
}
|
|
111
|
+
function dealloc(e) {
|
|
112
|
+
return characters = "", e;
|
|
113
|
+
}
|
|
114
|
+
function delimit(e) {
|
|
115
|
+
return trim(slice(position - 1, delimiter(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
116
|
+
}
|
|
117
|
+
function whitespace(e) {
|
|
118
|
+
for (; (character = peek()) && character < 33;) next();
|
|
119
|
+
return token(e) > 2 || token(character) > 3 ? "" : " ";
|
|
120
|
+
}
|
|
121
|
+
function escaping(e, S) {
|
|
122
|
+
for (; --S && next() && !(character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97););
|
|
123
|
+
return slice(e, caret() + (S < 6 && peek() == 32 && next() == 32));
|
|
124
|
+
}
|
|
125
|
+
function delimiter(e) {
|
|
126
|
+
for (; next();) switch (character) {
|
|
127
|
+
case e: return position;
|
|
128
|
+
case 34:
|
|
129
|
+
case 39:
|
|
130
|
+
e !== 34 && e !== 39 && delimiter(character);
|
|
131
|
+
break;
|
|
132
|
+
case 40:
|
|
133
|
+
e === 41 && delimiter(e);
|
|
134
|
+
break;
|
|
135
|
+
case 92:
|
|
136
|
+
next();
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
return position;
|
|
140
|
+
}
|
|
141
|
+
function commenter(e, S) {
|
|
142
|
+
for (; next() && e + character !== 57 && !(e + character === 84 && peek() === 47););
|
|
143
|
+
return "/*" + slice(S, position - 1) + "*" + from(e === 47 ? e : next());
|
|
144
|
+
}
|
|
145
|
+
function identifier(e) {
|
|
146
|
+
for (; !token(peek());) next();
|
|
147
|
+
return slice(e, position);
|
|
148
|
+
}
|
|
149
|
+
function compile(e) {
|
|
150
|
+
return dealloc(parse$1("", null, null, null, [""], e = alloc(e), 0, [0], e));
|
|
151
|
+
}
|
|
152
|
+
function parse$1(e, S, C, w, T, E, D, O, k) {
|
|
153
|
+
for (var A = 0, j = 0, M = D, N = 0, P = 0, F = 0, I = 1, L = 1, R = 1, z = 0, B = "", V = T, H = E, U = w, W = B; L;) switch (F = z, z = next()) {
|
|
154
|
+
case 40: if (F != 108 && charat(W, M - 1) == 58) {
|
|
155
|
+
indexof(W += replace(delimit(z), "&", "&\f"), "&\f", abs(A ? O[A - 1] : 0)) != -1 && (R = -1);
|
|
156
|
+
break;
|
|
157
|
+
}
|
|
158
|
+
case 34:
|
|
159
|
+
case 39:
|
|
160
|
+
case 91:
|
|
161
|
+
W += delimit(z);
|
|
162
|
+
break;
|
|
163
|
+
case 9:
|
|
164
|
+
case 10:
|
|
165
|
+
case 13:
|
|
166
|
+
case 32:
|
|
167
|
+
W += whitespace(F);
|
|
168
|
+
break;
|
|
169
|
+
case 92:
|
|
170
|
+
W += escaping(caret() - 1, 7);
|
|
171
|
+
continue;
|
|
172
|
+
case 47:
|
|
173
|
+
switch (peek()) {
|
|
174
|
+
case 42:
|
|
175
|
+
case 47:
|
|
176
|
+
append(comment(commenter(next(), caret()), S, C, k), k), (token(F || 1) == 5 || token(peek() || 1) == 5) && strlen(W) && substr(W, -1, void 0) !== " " && (W += " ");
|
|
177
|
+
break;
|
|
178
|
+
default: W += "/";
|
|
179
|
+
}
|
|
180
|
+
break;
|
|
181
|
+
case 123 * I: O[A++] = strlen(W) * R;
|
|
182
|
+
case 125 * I:
|
|
183
|
+
case 59:
|
|
184
|
+
case 0:
|
|
185
|
+
switch (z) {
|
|
186
|
+
case 0:
|
|
187
|
+
case 125: L = 0;
|
|
188
|
+
case 59 + j:
|
|
189
|
+
R == -1 && (W = replace(W, /\f/g, "")), P > 0 && (strlen(W) - M || I === 0 && F === 47) && append(P > 32 ? declaration(W + ";", w, C, M - 1, k) : declaration(replace(W, " ", "") + ";", w, C, M - 2, k), k);
|
|
190
|
+
break;
|
|
191
|
+
case 59: W += ";";
|
|
192
|
+
default: if (append(U = ruleset(W, S, C, A, j, T, O, B, V = [], H = [], M, E), E), z === 123) if (j === 0) parse$1(W, S, U, U, V, E, M, O, H);
|
|
193
|
+
else {
|
|
194
|
+
switch (N) {
|
|
195
|
+
case 99: if (charat(W, 3) === 110) break;
|
|
196
|
+
case 108: if (charat(W, 2) === 97) break;
|
|
197
|
+
default: j = 0;
|
|
198
|
+
case 100:
|
|
199
|
+
case 109:
|
|
200
|
+
case 115:
|
|
201
|
+
}
|
|
202
|
+
j ? parse$1(e, U, U, w && append(ruleset(e, U, U, 0, 0, T, O, B, T, V = [], M, H), H), T, H, M, O, w ? V : H) : parse$1(W, U, U, U, [""], H, 0, O, H);
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
A = j = P = 0, I = R = 1, B = W = "", M = D;
|
|
206
|
+
break;
|
|
207
|
+
case 58: M = 1 + strlen(W), P = F;
|
|
208
|
+
default:
|
|
209
|
+
if (I < 1) {
|
|
210
|
+
if (z == 123) --I;
|
|
211
|
+
else if (z == 125 && I++ == 0 && prev() == 125) continue;
|
|
212
|
+
}
|
|
213
|
+
switch (W += from(z), z * I) {
|
|
214
|
+
case 38:
|
|
215
|
+
R = j > 0 ? 1 : (W += "\f", -1);
|
|
216
|
+
break;
|
|
217
|
+
case 44:
|
|
218
|
+
O[A++] = (strlen(W) - 1) * R, R = 1;
|
|
219
|
+
break;
|
|
220
|
+
case 64:
|
|
221
|
+
peek() === 45 && (W += delimit(next())), N = peek(), j = M = strlen(B = W += identifier(caret())), z++;
|
|
222
|
+
break;
|
|
223
|
+
case 45: F === 45 && strlen(W) == 2 && (I = 0);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
return E;
|
|
227
|
+
}
|
|
228
|
+
function ruleset(e, S, C, w, T, E, D, O, k, A, j, M) {
|
|
229
|
+
for (var N = T - 1, P = T === 0 ? E : [""], F = sizeof(P), I = 0, L = 0, R = 0; I < w; ++I) for (var z = 0, B = substr(e, N + 1, N = abs(L = D[I])), V = e; z < F; ++z) (V = trim(L > 0 ? P[z] + " " + B : replace(B, /&\f/g, P[z]))) && (k[R++] = V);
|
|
230
|
+
return node(e, S, C, T === 0 ? RULESET : O, k, A, j, M);
|
|
231
|
+
}
|
|
232
|
+
function comment(e, S, C, w) {
|
|
233
|
+
return node(e, S, C, COMMENT, from(char()), substr(e, 2, -2), 0, w);
|
|
234
|
+
}
|
|
235
|
+
function declaration(e, S, C, w, T) {
|
|
236
|
+
return node(e, S, C, DECLARATION, substr(e, 0, w), substr(e, w + 1, -1), w, T);
|
|
237
|
+
}
|
|
238
|
+
function serialize(e, S) {
|
|
239
|
+
for (var C = "", w = 0; w < e.length; w++) C += S(e[w], w, e, S) || "";
|
|
240
|
+
return C;
|
|
241
|
+
}
|
|
242
|
+
function stringify(e, S, C, w) {
|
|
243
|
+
switch (e.type) {
|
|
244
|
+
case LAYER: if (e.children.length) break;
|
|
245
|
+
case IMPORT:
|
|
246
|
+
case NAMESPACE:
|
|
247
|
+
case DECLARATION: return e.return = e.return || e.value;
|
|
248
|
+
case COMMENT: return "";
|
|
249
|
+
case KEYFRAMES: return e.return = e.value + "{" + serialize(e.children, w) + "}";
|
|
250
|
+
case RULESET: if (!strlen(e.value = e.props.join(","))) return "";
|
|
251
|
+
}
|
|
252
|
+
return strlen(C = serialize(e.children, w)) ? e.return = e.value + "{" + C + "}" : "";
|
|
253
|
+
}
|
|
254
|
+
var id = "c4", c4Detector_default = {
|
|
255
|
+
id,
|
|
256
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e), "detector"),
|
|
257
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
258
|
+
let { diagram: e } = await import("./c4Diagram-YG6GDRKO.js");
|
|
259
|
+
return {
|
|
260
|
+
id,
|
|
261
|
+
diagram: e
|
|
262
|
+
};
|
|
263
|
+
}, "loader")
|
|
264
|
+
}, id2 = "flowchart", flowDetector_default = {
|
|
265
|
+
id: id2,
|
|
266
|
+
detector: /* @__PURE__ */ __name((e, S) => S?.flowchart?.defaultRenderer === "dagre-wrapper" || S?.flowchart?.defaultRenderer === "elk" ? !1 : /^\s*graph/.test(e), "detector"),
|
|
267
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
268
|
+
let { diagram: e } = await import("./flowDiagram-NV44I4VS.js");
|
|
269
|
+
return {
|
|
270
|
+
id: id2,
|
|
271
|
+
diagram: e
|
|
272
|
+
};
|
|
273
|
+
}, "loader")
|
|
274
|
+
}, id3 = "flowchart-v2", flowDetector_v2_default = {
|
|
275
|
+
id: id3,
|
|
276
|
+
detector: /* @__PURE__ */ __name((e, S) => S?.flowchart?.defaultRenderer === "dagre-d3" ? !1 : (S?.flowchart?.defaultRenderer === "elk" && (S.layout = "elk"), /^\s*graph/.test(e) && S?.flowchart?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(e)), "detector"),
|
|
277
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
278
|
+
let { diagram: e } = await import("./flowDiagram-NV44I4VS.js");
|
|
279
|
+
return {
|
|
280
|
+
id: id3,
|
|
281
|
+
diagram: e
|
|
282
|
+
};
|
|
283
|
+
}, "loader")
|
|
284
|
+
}, id4 = "er", erDetector_default = {
|
|
285
|
+
id: id4,
|
|
286
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*erDiagram/.test(e), "detector"),
|
|
287
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
288
|
+
let { diagram: e } = await import("./erDiagram-Q2GNP2WA.js");
|
|
289
|
+
return {
|
|
290
|
+
id: id4,
|
|
291
|
+
diagram: e
|
|
292
|
+
};
|
|
293
|
+
}, "loader")
|
|
294
|
+
}, id5 = "gitGraph", gitGraphDetector_default = {
|
|
295
|
+
id: id5,
|
|
296
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*gitGraph/.test(e), "detector"),
|
|
297
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
298
|
+
let { diagram: e } = await import("./gitGraphDiagram-NY62KEGX.js");
|
|
299
|
+
return {
|
|
300
|
+
id: id5,
|
|
301
|
+
diagram: e
|
|
302
|
+
};
|
|
303
|
+
}, "loader")
|
|
304
|
+
}, id6 = "gantt", ganttDetector_default = {
|
|
305
|
+
id: id6,
|
|
306
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*gantt/.test(e), "detector"),
|
|
307
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
308
|
+
let { diagram: e } = await import("./ganttDiagram-JELNMOA3.js");
|
|
309
|
+
return {
|
|
310
|
+
id: id6,
|
|
311
|
+
diagram: e
|
|
312
|
+
};
|
|
313
|
+
}, "loader")
|
|
314
|
+
}, id7 = "info", info = {
|
|
315
|
+
id: id7,
|
|
316
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*info/.test(e), "detector"),
|
|
317
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
318
|
+
let { diagram: e } = await import("./infoDiagram-WHAUD3N6.js");
|
|
319
|
+
return {
|
|
320
|
+
id: id7,
|
|
321
|
+
diagram: e
|
|
322
|
+
};
|
|
323
|
+
}, "loader")
|
|
324
|
+
}, id8 = "pie", pie = {
|
|
325
|
+
id: id8,
|
|
326
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*pie/.test(e), "detector"),
|
|
327
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
328
|
+
let { diagram: e } = await import("./pieDiagram-ADFJNKIX.js");
|
|
329
|
+
return {
|
|
330
|
+
id: id8,
|
|
331
|
+
diagram: e
|
|
332
|
+
};
|
|
333
|
+
}, "loader")
|
|
334
|
+
}, id9 = "quadrantChart", quadrantDetector_default = {
|
|
335
|
+
id: id9,
|
|
336
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*quadrantChart/.test(e), "detector"),
|
|
337
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
338
|
+
let { diagram: e } = await import("./quadrantDiagram-AYHSOK5B.js");
|
|
339
|
+
return {
|
|
340
|
+
id: id9,
|
|
341
|
+
diagram: e
|
|
342
|
+
};
|
|
343
|
+
}, "loader")
|
|
344
|
+
}, id10 = "xychart", xychartDetector_default = {
|
|
345
|
+
id: id10,
|
|
346
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*xychart(-beta)?/.test(e), "detector"),
|
|
347
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
348
|
+
let { diagram: e } = await import("./xychartDiagram-PRI3JC2R.js");
|
|
349
|
+
return {
|
|
350
|
+
id: id10,
|
|
351
|
+
diagram: e
|
|
352
|
+
};
|
|
353
|
+
}, "loader")
|
|
354
|
+
}, id11 = "requirement", requirementDetector_default = {
|
|
355
|
+
id: id11,
|
|
356
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*requirement(Diagram)?/.test(e), "detector"),
|
|
357
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
358
|
+
let { diagram: e } = await import("./requirementDiagram-UZGBJVZJ.js");
|
|
359
|
+
return {
|
|
360
|
+
id: id11,
|
|
361
|
+
diagram: e
|
|
362
|
+
};
|
|
363
|
+
}, "loader")
|
|
364
|
+
}, id12 = "sequence", sequenceDetector_default = {
|
|
365
|
+
id: id12,
|
|
366
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*sequenceDiagram/.test(e), "detector"),
|
|
367
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
368
|
+
let { diagram: e } = await import("./sequenceDiagram-WL72ISMW.js");
|
|
369
|
+
return {
|
|
370
|
+
id: id12,
|
|
371
|
+
diagram: e
|
|
372
|
+
};
|
|
373
|
+
}, "loader")
|
|
374
|
+
}, id13 = "class", classDetector_default = {
|
|
375
|
+
id: id13,
|
|
376
|
+
detector: /* @__PURE__ */ __name((e, S) => S?.class?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(e), "detector"),
|
|
377
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
378
|
+
let { diagram: e } = await import("./classDiagram-2ON5EDUG.js");
|
|
379
|
+
return {
|
|
380
|
+
id: id13,
|
|
381
|
+
diagram: e
|
|
382
|
+
};
|
|
383
|
+
}, "loader")
|
|
384
|
+
}, id14 = "classDiagram", classDetector_V2_default = {
|
|
385
|
+
id: id14,
|
|
386
|
+
detector: /* @__PURE__ */ __name((e, S) => /^\s*classDiagram/.test(e) && S?.class?.defaultRenderer === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(e), "detector"),
|
|
387
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
388
|
+
let { diagram: e } = await import("./classDiagram-v2-WZHVMYZB.js");
|
|
389
|
+
return {
|
|
390
|
+
id: id14,
|
|
391
|
+
diagram: e
|
|
392
|
+
};
|
|
393
|
+
}, "loader")
|
|
394
|
+
}, id15 = "state", stateDetector_default = {
|
|
395
|
+
id: id15,
|
|
396
|
+
detector: /* @__PURE__ */ __name((e, S) => S?.state?.defaultRenderer === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(e), "detector"),
|
|
397
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
398
|
+
let { diagram: e } = await import("./stateDiagram-FKZM4ZOC.js");
|
|
399
|
+
return {
|
|
400
|
+
id: id15,
|
|
401
|
+
diagram: e
|
|
402
|
+
};
|
|
403
|
+
}, "loader")
|
|
404
|
+
}, id16 = "stateDiagram", stateDetector_V2_default = {
|
|
405
|
+
id: id16,
|
|
406
|
+
detector: /* @__PURE__ */ __name((e, S) => !!(/^\s*stateDiagram-v2/.test(e) || /^\s*stateDiagram/.test(e) && S?.state?.defaultRenderer === "dagre-wrapper"), "detector"),
|
|
407
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
408
|
+
let { diagram: e } = await import("./stateDiagram-v2-4FDKWEC3.js");
|
|
409
|
+
return {
|
|
410
|
+
id: id16,
|
|
411
|
+
diagram: e
|
|
412
|
+
};
|
|
413
|
+
}, "loader")
|
|
414
|
+
}, id17 = "journey", journeyDetector_default = {
|
|
415
|
+
id: id17,
|
|
416
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*journey/.test(e), "detector"),
|
|
417
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
418
|
+
let { diagram: e } = await import("./journeyDiagram-XKPGCS4Q.js");
|
|
419
|
+
return {
|
|
420
|
+
id: id17,
|
|
421
|
+
diagram: e
|
|
422
|
+
};
|
|
423
|
+
}, "loader")
|
|
424
|
+
}, renderer = { draw: /* @__PURE__ */ __name((e, S, C) => {
|
|
425
|
+
log.debug("rendering svg for syntax error\n");
|
|
426
|
+
let w = selectSvgElement(S), T = w.append("g");
|
|
427
|
+
w.attr("viewBox", "0 0 2412 512"), configureSvgSize(w, 100, 512, !0), T.append("path").attr("class", "error-icon").attr("d", "m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"), T.append("path").attr("class", "error-icon").attr("d", "m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"), T.append("path").attr("class", "error-icon").attr("d", "m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"), T.append("path").attr("class", "error-icon").attr("d", "m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"), T.append("path").attr("class", "error-icon").attr("d", "m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"), T.append("path").attr("class", "error-icon").attr("d", "m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"), T.append("text").attr("class", "error-text").attr("x", 1440).attr("y", 250).attr("font-size", "150px").style("text-anchor", "middle").text("Syntax error in text"), T.append("text").attr("class", "error-text").attr("x", 1250).attr("y", 400).attr("font-size", "100px").style("text-anchor", "middle").text(`mermaid version ${C}`);
|
|
428
|
+
}, "draw") }, errorRenderer_default = renderer, errorDiagram_default = {
|
|
429
|
+
db: {},
|
|
430
|
+
renderer,
|
|
431
|
+
parser: { parse: /* @__PURE__ */ __name(() => {}, "parse") }
|
|
432
|
+
}, id18 = "flowchart-elk", detector_default = {
|
|
433
|
+
id: id18,
|
|
434
|
+
detector: /* @__PURE__ */ __name((e, S = {}) => /^\s*flowchart-elk/.test(e) || /^\s*(flowchart|graph)/.test(e) && S?.flowchart?.defaultRenderer === "elk" ? (S.layout = "elk", !0) : !1, "detector"),
|
|
435
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
436
|
+
let { diagram: e } = await import("./flowDiagram-NV44I4VS.js");
|
|
437
|
+
return {
|
|
438
|
+
id: id18,
|
|
439
|
+
diagram: e
|
|
440
|
+
};
|
|
441
|
+
}, "loader")
|
|
442
|
+
}, id19 = "timeline", detector_default2 = {
|
|
443
|
+
id: id19,
|
|
444
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*timeline/.test(e), "detector"),
|
|
445
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
446
|
+
let { diagram: e } = await import("./timeline-definition-IT6M3QCI.js");
|
|
447
|
+
return {
|
|
448
|
+
id: id19,
|
|
449
|
+
diagram: e
|
|
450
|
+
};
|
|
451
|
+
}, "loader")
|
|
452
|
+
}, id20 = "mindmap", detector_default3 = {
|
|
453
|
+
id: id20,
|
|
454
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*mindmap/.test(e), "detector"),
|
|
455
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
456
|
+
let { diagram: e } = await import("./mindmap-definition-VGOIOE7T.js");
|
|
457
|
+
return {
|
|
458
|
+
id: id20,
|
|
459
|
+
diagram: e
|
|
460
|
+
};
|
|
461
|
+
}, "loader")
|
|
462
|
+
}, id21 = "kanban", detector_default4 = {
|
|
463
|
+
id: id21,
|
|
464
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*kanban/.test(e), "detector"),
|
|
465
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
466
|
+
let { diagram: e } = await import("./kanban-definition-3W4ZIXB7.js");
|
|
467
|
+
return {
|
|
468
|
+
id: id21,
|
|
469
|
+
diagram: e
|
|
470
|
+
};
|
|
471
|
+
}, "loader")
|
|
472
|
+
}, id22 = "sankey", sankeyDetector_default = {
|
|
473
|
+
id: id22,
|
|
474
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*sankey(-beta)?/.test(e), "detector"),
|
|
475
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
476
|
+
let { diagram: e } = await import("./sankeyDiagram-TZEHDZUN.js");
|
|
477
|
+
return {
|
|
478
|
+
id: id22,
|
|
479
|
+
diagram: e
|
|
480
|
+
};
|
|
481
|
+
}, "loader")
|
|
482
|
+
}, id23 = "packet", packet = {
|
|
483
|
+
id: id23,
|
|
484
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*packet(-beta)?/.test(e), "detector"),
|
|
485
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
486
|
+
let { diagram: e } = await import("./diagram-S2PKOQOG.js");
|
|
487
|
+
return {
|
|
488
|
+
id: id23,
|
|
489
|
+
diagram: e
|
|
490
|
+
};
|
|
491
|
+
}, "loader")
|
|
492
|
+
}, id24 = "radar", radar = {
|
|
493
|
+
id: id24,
|
|
494
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*radar-beta/.test(e), "detector"),
|
|
495
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
496
|
+
let { diagram: e } = await import("./diagram-QEK2KX5R.js");
|
|
497
|
+
return {
|
|
498
|
+
id: id24,
|
|
499
|
+
diagram: e
|
|
500
|
+
};
|
|
501
|
+
}, "loader")
|
|
502
|
+
}, id25 = "block", blockDetector_default = {
|
|
503
|
+
id: id25,
|
|
504
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*block(-beta)?/.test(e), "detector"),
|
|
505
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
506
|
+
let { diagram: e } = await import("./blockDiagram-VD42YOAC.js");
|
|
507
|
+
return {
|
|
508
|
+
id: id25,
|
|
509
|
+
diagram: e
|
|
510
|
+
};
|
|
511
|
+
}, "loader")
|
|
512
|
+
}, id26 = "architecture", architectureDetector_default = {
|
|
513
|
+
id: id26,
|
|
514
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*architecture/.test(e), "detector"),
|
|
515
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
516
|
+
let { diagram: e } = await import("./architectureDiagram-VXUJARFQ.js");
|
|
517
|
+
return {
|
|
518
|
+
id: id26,
|
|
519
|
+
diagram: e
|
|
520
|
+
};
|
|
521
|
+
}, "loader")
|
|
522
|
+
}, id27 = "treemap", treemap = {
|
|
523
|
+
id: id27,
|
|
524
|
+
detector: /* @__PURE__ */ __name((e) => /^\s*treemap/.test(e), "detector"),
|
|
525
|
+
loader: /* @__PURE__ */ __name(async () => {
|
|
526
|
+
let { diagram: e } = await import("./diagram-PSM6KHXK.js");
|
|
527
|
+
return {
|
|
528
|
+
id: id27,
|
|
529
|
+
diagram: e
|
|
530
|
+
};
|
|
531
|
+
}, "loader")
|
|
532
|
+
}, hasLoadedDiagrams = !1, addDiagrams = /* @__PURE__ */ __name(() => {
|
|
533
|
+
hasLoadedDiagrams || (hasLoadedDiagrams = !0, registerDiagram("error", errorDiagram_default, (e) => e.toLowerCase().trim() === "error"), registerDiagram("---", {
|
|
534
|
+
db: { clear: /* @__PURE__ */ __name(() => {}, "clear") },
|
|
535
|
+
styles: {},
|
|
536
|
+
renderer: { draw: /* @__PURE__ */ __name(() => {}, "draw") },
|
|
537
|
+
parser: { parse: /* @__PURE__ */ __name(() => {
|
|
538
|
+
throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks");
|
|
539
|
+
}, "parse") },
|
|
540
|
+
init: /* @__PURE__ */ __name(() => null, "init")
|
|
541
|
+
}, (e) => e.toLowerCase().trimStart().startsWith("---")), registerLazyLoadedDiagrams(detector_default, detector_default3, architectureDetector_default), registerLazyLoadedDiagrams(c4Detector_default, detector_default4, classDetector_V2_default, classDetector_default, erDetector_default, ganttDetector_default, info, pie, requirementDetector_default, sequenceDetector_default, flowDetector_v2_default, flowDetector_default, detector_default2, gitGraphDetector_default, stateDetector_V2_default, stateDetector_default, journeyDetector_default, quadrantDetector_default, sankeyDetector_default, packet, xychartDetector_default, blockDetector_default, radar, treemap));
|
|
542
|
+
}, "addDiagrams"), loadRegisteredDiagrams = /* @__PURE__ */ __name(async () => {
|
|
543
|
+
log.debug("Loading registered diagrams");
|
|
544
|
+
let e = (await Promise.allSettled(Object.entries(detectors).map(async ([e, { detector: S, loader: C }]) => {
|
|
545
|
+
if (C) try {
|
|
546
|
+
getDiagram(e);
|
|
547
|
+
} catch {
|
|
548
|
+
try {
|
|
549
|
+
let { diagram: e, id: w } = await C();
|
|
550
|
+
registerDiagram(w, e, S);
|
|
551
|
+
} catch (S) {
|
|
552
|
+
throw log.error(`Failed to load external diagram with key ${e}. Removing from detectors.`), delete detectors[e], S;
|
|
553
|
+
}
|
|
554
|
+
}
|
|
555
|
+
}))).filter((e) => e.status === "rejected");
|
|
556
|
+
if (e.length > 0) {
|
|
557
|
+
log.error(`Failed to load ${e.length} external diagrams`);
|
|
558
|
+
for (let S of e) log.error(S);
|
|
559
|
+
throw Error(`Failed to load ${e.length} external diagrams`);
|
|
560
|
+
}
|
|
561
|
+
}, "loadRegisteredDiagrams"), SVG_ROLE = "graphics-document document";
|
|
562
|
+
function setA11yDiagramInfo(e, S) {
|
|
563
|
+
e.attr("role", SVG_ROLE), S !== "" && e.attr("aria-roledescription", S);
|
|
564
|
+
}
|
|
565
|
+
__name(setA11yDiagramInfo, "setA11yDiagramInfo");
|
|
566
|
+
function addSVGa11yTitleDescription(e, S, C, w) {
|
|
567
|
+
if (e.insert !== void 0) {
|
|
568
|
+
if (C) {
|
|
569
|
+
let S = `chart-desc-${w}`;
|
|
570
|
+
e.attr("aria-describedby", S), e.insert("desc", ":first-child").attr("id", S).text(C);
|
|
571
|
+
}
|
|
572
|
+
if (S) {
|
|
573
|
+
let C = `chart-title-${w}`;
|
|
574
|
+
e.attr("aria-labelledby", C), e.insert("title", ":first-child").attr("id", C).text(S);
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
__name(addSVGa11yTitleDescription, "addSVGa11yTitleDescription");
|
|
579
|
+
var Diagram = class e {
|
|
580
|
+
constructor(e, S, C, w, T) {
|
|
581
|
+
this.type = e, this.text = S, this.db = C, this.parser = w, this.renderer = T;
|
|
582
|
+
}
|
|
583
|
+
static #e = __name(this, "Diagram");
|
|
584
|
+
static async fromText(S, C = {}) {
|
|
585
|
+
let w = getConfig(), T = detectType(S, w);
|
|
586
|
+
S = encodeEntities(S) + "\n";
|
|
587
|
+
try {
|
|
588
|
+
getDiagram(T);
|
|
589
|
+
} catch {
|
|
590
|
+
let e = getDiagramLoader(T);
|
|
591
|
+
if (!e) throw new UnknownDiagramError(`Diagram ${T} not found.`);
|
|
592
|
+
let { id: S, diagram: C } = await e();
|
|
593
|
+
registerDiagram(S, C);
|
|
594
|
+
}
|
|
595
|
+
let { db: E, parser: O, renderer: k, init: A } = getDiagram(T);
|
|
596
|
+
return O.parser && (O.parser.yy = E), E.clear?.(), A?.(w), C.title && E.setDiagramTitle?.(C.title), await O.parse(S), new e(T, S, E, O, k);
|
|
597
|
+
}
|
|
598
|
+
async render(e, S) {
|
|
599
|
+
await this.renderer.draw(this.text, e, S, this);
|
|
600
|
+
}
|
|
601
|
+
getParser() {
|
|
602
|
+
return this.parser;
|
|
603
|
+
}
|
|
604
|
+
getType() {
|
|
605
|
+
return this.type;
|
|
606
|
+
}
|
|
607
|
+
}, interactionFunctions = [], attachFunctions = /* @__PURE__ */ __name(() => {
|
|
608
|
+
interactionFunctions.forEach((e) => {
|
|
609
|
+
e();
|
|
610
|
+
}), interactionFunctions = [];
|
|
611
|
+
}, "attachFunctions"), cleanupComments = /* @__PURE__ */ __name((e) => e.replace(/^\s*%%(?!{)[^\n]+\n?/gm, "").trimStart(), "cleanupComments");
|
|
612
|
+
function extractFrontMatter(e) {
|
|
613
|
+
let S = e.match(frontMatterRegex);
|
|
614
|
+
if (!S) return {
|
|
615
|
+
text: e,
|
|
616
|
+
metadata: {}
|
|
617
|
+
};
|
|
618
|
+
let C = load(S[1], { schema: JSON_SCHEMA }) ?? {};
|
|
619
|
+
C = typeof C == "object" && !Array.isArray(C) ? C : {};
|
|
620
|
+
let w = {};
|
|
621
|
+
return C.displayMode && (w.displayMode = C.displayMode.toString()), C.title && (w.title = C.title.toString()), C.config && (w.config = C.config), {
|
|
622
|
+
text: e.slice(S[0].length),
|
|
623
|
+
metadata: w
|
|
624
|
+
};
|
|
625
|
+
}
|
|
626
|
+
__name(extractFrontMatter, "extractFrontMatter");
|
|
627
|
+
var cleanupText = /* @__PURE__ */ __name((e) => e.replace(/\r\n?/g, "\n").replace(/<(\w+)([^>]*)>/g, (e, S, C) => "<" + S + C.replace(/="([^"]*)"/g, "='$1'") + ">"), "cleanupText"), processFrontmatter = /* @__PURE__ */ __name((e) => {
|
|
628
|
+
let { text: S, metadata: C } = extractFrontMatter(e), { displayMode: w, title: T, config: E = {} } = C;
|
|
629
|
+
return w && (E.gantt ||= {}, E.gantt.displayMode = w), {
|
|
630
|
+
title: T,
|
|
631
|
+
config: E,
|
|
632
|
+
text: S
|
|
633
|
+
};
|
|
634
|
+
}, "processFrontmatter"), processDirectives = /* @__PURE__ */ __name((e) => {
|
|
635
|
+
let S = utils_default.detectInit(e) ?? {}, C = utils_default.detectDirective(e, "wrap");
|
|
636
|
+
return Array.isArray(C) ? S.wrap = C.some(({ type: e }) => e === "wrap") : C?.type === "wrap" && (S.wrap = !0), {
|
|
637
|
+
text: removeDirectives(e),
|
|
638
|
+
directive: S
|
|
639
|
+
};
|
|
640
|
+
}, "processDirectives");
|
|
641
|
+
function preprocessDiagram(e) {
|
|
642
|
+
let S = processFrontmatter(cleanupText(e)), C = processDirectives(S.text), w = cleanAndMerge(S.config, C.directive);
|
|
643
|
+
return e = cleanupComments(C.text), {
|
|
644
|
+
code: e,
|
|
645
|
+
title: S.title,
|
|
646
|
+
config: w
|
|
647
|
+
};
|
|
648
|
+
}
|
|
649
|
+
__name(preprocessDiagram, "preprocessDiagram");
|
|
650
|
+
function toBase64(e) {
|
|
651
|
+
let S = new TextEncoder().encode(e), C = Array.from(S, (e) => String.fromCodePoint(e)).join("");
|
|
652
|
+
return btoa(C);
|
|
653
|
+
}
|
|
654
|
+
__name(toBase64, "toBase64");
|
|
655
|
+
var MAX_TEXTLENGTH = 5e4, MAX_TEXTLENGTH_EXCEEDED_MSG = "graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa", SECURITY_LVL_SANDBOX = "sandbox", SECURITY_LVL_LOOSE = "loose", XMLNS_SVG_STD = "http://www.w3.org/2000/svg", XMLNS_XLINK_STD = "http://www.w3.org/1999/xlink", XMLNS_XHTML_STD = "http://www.w3.org/1999/xhtml", IFRAME_WIDTH = "100%", IFRAME_HEIGHT = "100%", IFRAME_STYLES = "border:0;margin:0;", IFRAME_BODY_STYLE = "margin:0", IFRAME_SANDBOX_OPTS = "allow-top-navigation-by-user-activation allow-popups", IFRAME_NOT_SUPPORTED_MSG = "The \"iframe\" tag is not supported by your browser.", DOMPURIFY_TAGS = ["foreignobject"], DOMPURIFY_ATTR = ["dominant-baseline"];
|
|
656
|
+
function processAndSetConfigs(e) {
|
|
657
|
+
let S = preprocessDiagram(e);
|
|
658
|
+
return reset(), addDirective(S.config ?? {}), S;
|
|
659
|
+
}
|
|
660
|
+
__name(processAndSetConfigs, "processAndSetConfigs");
|
|
661
|
+
async function parse(e, S) {
|
|
662
|
+
addDiagrams();
|
|
663
|
+
try {
|
|
664
|
+
let { code: S, config: C } = processAndSetConfigs(e);
|
|
665
|
+
return {
|
|
666
|
+
diagramType: (await getDiagramFromText(S)).type,
|
|
667
|
+
config: C
|
|
668
|
+
};
|
|
669
|
+
} catch (e) {
|
|
670
|
+
if (S?.suppressErrors) return !1;
|
|
671
|
+
throw e;
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
__name(parse, "parse");
|
|
675
|
+
var cssImportantStyles = /* @__PURE__ */ __name((e, S, C = []) => `
|
|
676
|
+
.${e} ${S} { ${C.join(" !important; ")} !important; }`, "cssImportantStyles"), createCssStyles = /* @__PURE__ */ __name((S, C = /* @__PURE__ */ new Map()) => {
|
|
677
|
+
let w = "";
|
|
678
|
+
if (S.themeCSS !== void 0 && (w += `
|
|
679
|
+
${S.themeCSS}`), S.fontFamily !== void 0 && (w += `
|
|
680
|
+
:root { --mermaid-font-family: ${S.fontFamily}}`), S.altFontFamily !== void 0 && (w += `
|
|
681
|
+
:root { --mermaid-alt-font-family: ${S.altFontFamily}}`), C instanceof Map) {
|
|
682
|
+
let T = S.htmlLabels ?? S.flowchart?.htmlLabels ? ["> *", "span"] : [
|
|
683
|
+
"rect",
|
|
684
|
+
"polygon",
|
|
685
|
+
"ellipse",
|
|
686
|
+
"circle",
|
|
687
|
+
"path"
|
|
688
|
+
];
|
|
689
|
+
C.forEach((S) => {
|
|
690
|
+
isEmpty_default(S.styles) || T.forEach((e) => {
|
|
691
|
+
w += cssImportantStyles(S.id, e, S.styles);
|
|
692
|
+
}), isEmpty_default(S.textStyles) || (w += cssImportantStyles(S.id, "tspan", (S?.textStyles || []).map((e) => e.replace("color", "fill"))));
|
|
693
|
+
});
|
|
694
|
+
}
|
|
695
|
+
return w;
|
|
696
|
+
}, "createCssStyles"), createUserStyles = /* @__PURE__ */ __name((e, S, C, w) => serialize(compile(`${w}{${styles_default(S, createCssStyles(e, C), e.themeVariables)}}`), stringify), "createUserStyles"), cleanUpSvgCode = /* @__PURE__ */ __name((e = "", C, w) => {
|
|
697
|
+
let T = e;
|
|
698
|
+
return !w && !C && (T = T.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g, "marker-end=\"url(#")), T = decodeEntities(T), T = T.replace(/<br>/g, "<br/>"), T;
|
|
699
|
+
}, "cleanUpSvgCode"), putIntoIFrame = /* @__PURE__ */ __name((e = "", S) => `<iframe style="width:${IFRAME_WIDTH};height:${S?.viewBox?.baseVal?.height ? S.viewBox.baseVal.height + "px" : IFRAME_HEIGHT};${IFRAME_STYLES}" src="data:text/html;charset=UTF-8;base64,${toBase64(`<body style="${IFRAME_BODY_STYLE}">${e}</body>`)}" sandbox="${IFRAME_SANDBOX_OPTS}">
|
|
700
|
+
${IFRAME_NOT_SUPPORTED_MSG}
|
|
701
|
+
</iframe>`, "putIntoIFrame"), appendDivSvgG = /* @__PURE__ */ __name((e, S, C, w, T) => {
|
|
702
|
+
let E = e.append("div");
|
|
703
|
+
E.attr("id", C), w && E.attr("style", w);
|
|
704
|
+
let D = E.append("svg").attr("id", S).attr("width", "100%").attr("xmlns", XMLNS_SVG_STD);
|
|
705
|
+
return T && D.attr("xmlns:xlink", T), D.append("g"), e;
|
|
706
|
+
}, "appendDivSvgG");
|
|
707
|
+
function sandboxedIframe(e, S) {
|
|
708
|
+
return e.append("iframe").attr("id", S).attr("style", "width: 100%; height: 100%;").attr("sandbox", "");
|
|
709
|
+
}
|
|
710
|
+
__name(sandboxedIframe, "sandboxedIframe");
|
|
711
|
+
var removeExistingElements = /* @__PURE__ */ __name((e, S, C, w) => {
|
|
712
|
+
e.getElementById(S)?.remove(), e.getElementById(C)?.remove(), e.getElementById(w)?.remove();
|
|
713
|
+
}, "removeExistingElements"), render = /* @__PURE__ */ __name(async function(e, S, C) {
|
|
714
|
+
addDiagrams();
|
|
715
|
+
let w = processAndSetConfigs(S);
|
|
716
|
+
S = w.code;
|
|
717
|
+
let T = getConfig();
|
|
718
|
+
log.debug(T), S.length > (T?.maxTextSize ?? MAX_TEXTLENGTH) && (S = MAX_TEXTLENGTH_EXCEEDED_MSG);
|
|
719
|
+
let E = "#" + e, D = "i" + e, O = "#" + D, M = "d" + e, N = "#" + M, P = /* @__PURE__ */ __name(() => {
|
|
720
|
+
let e = select_default(I ? O : N).node();
|
|
721
|
+
e && "remove" in e && e.remove();
|
|
722
|
+
}, "removeTempElements"), F = select_default("body"), I = T.securityLevel === SECURITY_LVL_SANDBOX, L = T.securityLevel === SECURITY_LVL_LOOSE, R = T.fontFamily;
|
|
723
|
+
C === void 0 ? (removeExistingElements(document, e, M, D), I ? (F = select_default(sandboxedIframe(select_default("body"), D).nodes()[0].contentDocument.body), F.node().style.margin = 0) : F = select_default("body"), appendDivSvgG(F, e, M)) : (C && (C.innerHTML = ""), I ? (F = select_default(sandboxedIframe(select_default(C), D).nodes()[0].contentDocument.body), F.node().style.margin = 0) : F = select_default(C), appendDivSvgG(F, e, M, `font-family: ${R}`, XMLNS_XLINK_STD));
|
|
724
|
+
let B, V;
|
|
725
|
+
try {
|
|
726
|
+
B = await Diagram.fromText(S, { title: w.title });
|
|
727
|
+
} catch (e) {
|
|
728
|
+
if (T.suppressErrorRendering) throw P(), e;
|
|
729
|
+
B = await Diagram.fromText("error"), V = e;
|
|
730
|
+
}
|
|
731
|
+
let H = F.select(N).node(), U = B.type, G = H.firstChild, K = G.firstChild, q = B.renderer.getClasses?.(S, B), J = createUserStyles(T, U, q, E), Y = document.createElement("style");
|
|
732
|
+
Y.innerHTML = J, G.insertBefore(Y, K);
|
|
733
|
+
try {
|
|
734
|
+
await B.renderer.draw(S, e, package_default.version, B);
|
|
735
|
+
} catch (C) {
|
|
736
|
+
throw T.suppressErrorRendering ? P() : errorRenderer_default.draw(S, e, package_default.version), C;
|
|
737
|
+
}
|
|
738
|
+
let X = F.select(`${N} svg`), Z = B.db.getAccTitle?.(), Q = B.db.getAccDescription?.();
|
|
739
|
+
addA11yInfo(U, X, Z, Q), F.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns", XMLNS_XHTML_STD);
|
|
740
|
+
let $ = F.select(N).node().innerHTML;
|
|
741
|
+
if (log.debug("config.arrowMarkerAbsolute", T.arrowMarkerAbsolute), $ = cleanUpSvgCode($, I, evaluate(T.arrowMarkerAbsolute)), I) {
|
|
742
|
+
let e = F.select(N + " svg").node();
|
|
743
|
+
$ = putIntoIFrame($, e);
|
|
744
|
+
} else L || ($ = purify.sanitize($, {
|
|
745
|
+
ADD_TAGS: DOMPURIFY_TAGS,
|
|
746
|
+
ADD_ATTR: DOMPURIFY_ATTR,
|
|
747
|
+
HTML_INTEGRATION_POINTS: { foreignobject: !0 }
|
|
748
|
+
}));
|
|
749
|
+
if (attachFunctions(), V) throw V;
|
|
750
|
+
return P(), {
|
|
751
|
+
diagramType: U,
|
|
752
|
+
svg: $,
|
|
753
|
+
bindFunctions: B.db.bindFunctions
|
|
754
|
+
};
|
|
755
|
+
}, "render");
|
|
756
|
+
function initialize(e = {}) {
|
|
757
|
+
let S = assignWithDepth_default({}, e);
|
|
758
|
+
S?.fontFamily && !S.themeVariables?.fontFamily && (S.themeVariables ||= {}, S.themeVariables.fontFamily = S.fontFamily), saveConfigFromInitialize(S), S?.theme && S.theme in themes_default ? S.themeVariables = themes_default[S.theme].getThemeVariables(S.themeVariables) : S && (S.themeVariables = themes_default.default.getThemeVariables(S.themeVariables)), setLogLevel((typeof S == "object" ? setSiteConfig(S) : getSiteConfig()).logLevel), addDiagrams();
|
|
759
|
+
}
|
|
760
|
+
__name(initialize, "initialize");
|
|
761
|
+
var getDiagramFromText = /* @__PURE__ */ __name((e, S = {}) => {
|
|
762
|
+
let { code: C } = preprocessDiagram(e);
|
|
763
|
+
return Diagram.fromText(C, S);
|
|
764
|
+
}, "getDiagramFromText");
|
|
765
|
+
function addA11yInfo(e, S, C, w) {
|
|
766
|
+
setA11yDiagramInfo(S, e), addSVGa11yTitleDescription(S, C, w, S.attr("id"));
|
|
767
|
+
}
|
|
768
|
+
__name(addA11yInfo, "addA11yInfo");
|
|
769
|
+
var mermaidAPI = Object.freeze({
|
|
770
|
+
render,
|
|
771
|
+
parse,
|
|
772
|
+
getDiagramFromText,
|
|
773
|
+
initialize,
|
|
774
|
+
getConfig,
|
|
775
|
+
setConfig,
|
|
776
|
+
getSiteConfig,
|
|
777
|
+
updateSiteConfig,
|
|
778
|
+
reset: /* @__PURE__ */ __name(() => {
|
|
779
|
+
reset();
|
|
780
|
+
}, "reset"),
|
|
781
|
+
globalReset: /* @__PURE__ */ __name(() => {
|
|
782
|
+
reset(defaultConfig);
|
|
783
|
+
}, "globalReset"),
|
|
784
|
+
defaultConfig
|
|
785
|
+
});
|
|
786
|
+
setLogLevel(getConfig().logLevel), reset(getConfig());
|
|
787
|
+
var handleError = /* @__PURE__ */ __name((e, S, w) => {
|
|
788
|
+
log.warn(e), isDetailedError(e) ? (w && w(e.str, e.hash), S.push({
|
|
789
|
+
...e,
|
|
790
|
+
message: e.str,
|
|
791
|
+
error: e
|
|
792
|
+
})) : (w && w(e), e instanceof Error && S.push({
|
|
793
|
+
str: e.message,
|
|
794
|
+
message: e.message,
|
|
795
|
+
hash: e.name,
|
|
796
|
+
error: e
|
|
797
|
+
}));
|
|
798
|
+
}, "handleError"), run = /* @__PURE__ */ __name(async function(e = { querySelector: ".mermaid" }) {
|
|
799
|
+
try {
|
|
800
|
+
await runThrowsErrors(e);
|
|
801
|
+
} catch (S) {
|
|
802
|
+
if (isDetailedError(S) && log.error(S.str), mermaid.parseError && mermaid.parseError(S), !e.suppressErrors) throw log.error("Use the suppressErrors option to suppress these errors"), S;
|
|
803
|
+
}
|
|
804
|
+
}, "run"), runThrowsErrors = /* @__PURE__ */ __name(async function({ postRenderCallback: e, querySelector: S, nodes: C } = { querySelector: ".mermaid" }) {
|
|
805
|
+
let T = mermaidAPI.getConfig();
|
|
806
|
+
log.debug(`${e ? "" : "No "}Callback function found`);
|
|
807
|
+
let E;
|
|
808
|
+
if (C) E = C;
|
|
809
|
+
else if (S) E = document.querySelectorAll(S);
|
|
810
|
+
else throw Error("Nodes and querySelector are both undefined");
|
|
811
|
+
log.debug(`Found ${E.length} diagrams`), T?.startOnLoad !== void 0 && (log.debug("Start On Load: " + T?.startOnLoad), mermaidAPI.updateSiteConfig({ startOnLoad: T?.startOnLoad }));
|
|
812
|
+
let D = new utils_default.InitIDGenerator(T.deterministicIds, T.deterministicIDSeed), O, A = [];
|
|
813
|
+
for (let S of Array.from(E)) {
|
|
814
|
+
if (log.info("Rendering diagram: " + S.id), S.getAttribute("data-processed")) continue;
|
|
815
|
+
S.setAttribute("data-processed", "true");
|
|
816
|
+
let C = `mermaid-${D.next()}`;
|
|
817
|
+
O = S.innerHTML, O = dedent(utils_default.entityDecode(O)).trim().replace(/<br\s*\/?>/gi, "<br/>");
|
|
818
|
+
let T = utils_default.detectInit(O);
|
|
819
|
+
T && log.debug("Detected early reinit: ", T);
|
|
820
|
+
try {
|
|
821
|
+
let { svg: w, bindFunctions: T } = await render2(C, O, S);
|
|
822
|
+
S.innerHTML = w, e && await e(C), T && T(S);
|
|
823
|
+
} catch (e) {
|
|
824
|
+
handleError(e, A, mermaid.parseError);
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
if (A.length > 0) throw A[0];
|
|
828
|
+
}, "runThrowsErrors"), initialize2 = /* @__PURE__ */ __name(function(e) {
|
|
829
|
+
mermaidAPI.initialize(e);
|
|
830
|
+
}, "initialize"), init = /* @__PURE__ */ __name(async function(e, S, C) {
|
|
831
|
+
log.warn("mermaid.init is deprecated. Please use run instead."), e && initialize2(e);
|
|
832
|
+
let w = {
|
|
833
|
+
postRenderCallback: C,
|
|
834
|
+
querySelector: ".mermaid"
|
|
835
|
+
};
|
|
836
|
+
typeof S == "string" ? w.querySelector = S : S && (S instanceof HTMLElement ? w.nodes = [S] : w.nodes = S), await run(w);
|
|
837
|
+
}, "init"), registerExternalDiagrams = /* @__PURE__ */ __name(async (e, { lazyLoad: S = !0 } = {}) => {
|
|
838
|
+
addDiagrams(), registerLazyLoadedDiagrams(...e), S === !1 && await loadRegisteredDiagrams();
|
|
839
|
+
}, "registerExternalDiagrams"), contentLoaded = /* @__PURE__ */ __name(function() {
|
|
840
|
+
if (mermaid.startOnLoad) {
|
|
841
|
+
let { startOnLoad: e } = mermaidAPI.getConfig();
|
|
842
|
+
e && mermaid.run().catch((e) => log.error("Mermaid failed to initialize", e));
|
|
843
|
+
}
|
|
844
|
+
}, "contentLoaded");
|
|
845
|
+
typeof document < "u" && window.addEventListener("load", contentLoaded, !1);
|
|
846
|
+
var setParseErrorHandler = /* @__PURE__ */ __name(function(e) {
|
|
847
|
+
mermaid.parseError = e;
|
|
848
|
+
}, "setParseErrorHandler"), executionQueue = [], executionQueueRunning = !1, executeQueue = /* @__PURE__ */ __name(async () => {
|
|
849
|
+
if (!executionQueueRunning) {
|
|
850
|
+
for (executionQueueRunning = !0; executionQueue.length > 0;) {
|
|
851
|
+
let e = executionQueue.shift();
|
|
852
|
+
if (e) try {
|
|
853
|
+
await e();
|
|
854
|
+
} catch (e) {
|
|
855
|
+
log.error("Error executing queue", e);
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
executionQueueRunning = !1;
|
|
859
|
+
}
|
|
860
|
+
}, "executeQueue"), parse2 = /* @__PURE__ */ __name(async (e, S) => new Promise((C, w) => {
|
|
861
|
+
let T = /* @__PURE__ */ __name(() => new Promise((T, E) => {
|
|
862
|
+
mermaidAPI.parse(e, S).then((e) => {
|
|
863
|
+
T(e), C(e);
|
|
864
|
+
}, (e) => {
|
|
865
|
+
log.error("Error parsing", e), mermaid.parseError?.(e), E(e), w(e);
|
|
866
|
+
});
|
|
867
|
+
}), "performCall");
|
|
868
|
+
executionQueue.push(T), executeQueue().catch(w);
|
|
869
|
+
}), "parse"), render2 = /* @__PURE__ */ __name((e, S, C) => new Promise((w, T) => {
|
|
870
|
+
let E = /* @__PURE__ */ __name(() => new Promise((E, D) => {
|
|
871
|
+
mermaidAPI.render(e, S, C).then((e) => {
|
|
872
|
+
E(e), w(e);
|
|
873
|
+
}, (e) => {
|
|
874
|
+
log.error("Error parsing", e), mermaid.parseError?.(e), D(e), T(e);
|
|
875
|
+
});
|
|
876
|
+
}), "performCall");
|
|
877
|
+
executionQueue.push(E), executeQueue().catch(T);
|
|
878
|
+
}), "render"), mermaid = {
|
|
879
|
+
startOnLoad: !0,
|
|
880
|
+
mermaidAPI,
|
|
881
|
+
parse: parse2,
|
|
882
|
+
render: render2,
|
|
883
|
+
init,
|
|
884
|
+
run,
|
|
885
|
+
registerExternalDiagrams,
|
|
886
|
+
registerLayoutLoaders,
|
|
887
|
+
initialize: initialize2,
|
|
888
|
+
parseError: void 0,
|
|
889
|
+
contentLoaded,
|
|
890
|
+
setParseErrorHandler,
|
|
891
|
+
detectType,
|
|
892
|
+
registerIconPacks,
|
|
893
|
+
getRegisteredDiagramsMetadata: /* @__PURE__ */ __name(() => Object.keys(detectors).map((e) => ({ id: e })), "getRegisteredDiagramsMetadata")
|
|
894
|
+
}, mermaid_default = mermaid;
|
|
895
|
+
export { mermaid_default as default };
|