@ant-design/agentic-ui 2.29.19 → 2.29.21
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/AILabel/index.js +2 -2
- package/dist/AILabel/style.js +1 -1
- package/dist/AgentRunBar/Robot.js +1 -1
- package/dist/AgentRunBar/index.js +2 -2
- package/dist/AgentRunBar/style.js +1 -1
- package/dist/AgenticLayout/index.js +2 -2
- package/dist/AgenticLayout/style.js +2 -2
- package/dist/AnswerAlert/components/ErrorIcon.js +1 -1
- package/dist/AnswerAlert/components/InfoIcon.js +1 -1
- package/dist/AnswerAlert/components/SuccessIcon.js +1 -1
- package/dist/AnswerAlert/components/WarningIcon.js +1 -1
- package/dist/AnswerAlert/index.js +1 -1
- package/dist/AnswerAlert/style.js +1 -1
- package/dist/BackTo/BackTop.js +1 -1
- package/dist/BackTo/ScrollVisibleButton.js +4 -4
- package/dist/BackTo/hooks/useScrollVisible.js +1 -1
- package/dist/BackTo/icons/BottomIcon.js +1 -1
- package/dist/BackTo/icons/TopIcon.js +1 -1
- package/dist/BackTo/style.js +1 -1
- package/dist/Bubble/AIBubble.js +5 -5
- package/dist/Bubble/Avatar/index.js +1 -1
- package/dist/Bubble/Avatar/isEmoji.js +1 -1
- package/dist/Bubble/Bubble.js +1 -1
- package/dist/Bubble/BubbleBeforeNode.js +3 -3
- package/dist/Bubble/FileView.js +6 -6
- package/dist/Bubble/List/PureBubbleList.js +3 -3
- package/dist/Bubble/List/index.js +3 -3
- package/dist/Bubble/List/style.js +1 -1
- package/dist/Bubble/MessagesContent/BubbleContext.js +2 -2
- package/dist/Bubble/MessagesContent/BubbleExtra.js +9 -11
- package/dist/Bubble/MessagesContent/CopyButton/index.js +2 -2
- package/dist/Bubble/MessagesContent/DocInfo.js +7 -7
- package/dist/Bubble/MessagesContent/EXCEPTION.js +1 -1
- package/dist/Bubble/MessagesContent/MarkdownPreview.js +1 -1
- package/dist/Bubble/MessagesContent/VoiceButton/index.js +8 -8
- package/dist/Bubble/MessagesContent/VoiceButton/style.js +1 -1
- package/dist/Bubble/MessagesContent/docInfoStyle.js +1 -1
- package/dist/Bubble/MessagesContent/icons.js +2 -2
- package/dist/Bubble/MessagesContent/index.js +10 -10
- package/dist/Bubble/MessagesContent/style.js +15 -8
- package/dist/Bubble/PureBubble.js +1 -1
- package/dist/Bubble/Title.js +4 -4
- package/dist/Bubble/UserBubble.js +4 -4
- package/dist/Bubble/schema-editor/SchemaEditorBridgeManager.js +3 -3
- package/dist/Bubble/schema-editor/useSchemaEditorBridge.js +1 -1
- package/dist/Bubble/style.js +1 -1
- package/dist/ChatBootPage/ButtonTab.js +1 -1
- package/dist/ChatBootPage/ButtonTabGroup.js +2 -2
- package/dist/ChatBootPage/ButtonTabGroupStyle.js +2 -2
- package/dist/ChatBootPage/ButtonTabStyle.js +2 -2
- package/dist/ChatBootPage/CaseReply.js +2 -2
- package/dist/ChatBootPage/CaseReplyStyle.js +2 -2
- package/dist/ChatBootPage/Title.js +1 -1
- package/dist/ChatBootPage/style.js +2 -2
- package/dist/ChatLayout/components/FooterBackground/index.js +1 -1
- package/dist/ChatLayout/index.js +1 -1
- package/dist/ChatLayout/style.js +1 -1
- package/dist/Components/ActionIconBox/index.js +12 -12
- package/dist/Components/ActionIconBox/style.js +1 -1
- package/dist/Components/ActionItemBox/ActionItemBox.js +1 -1
- package/dist/Components/ActionItemBox/style.js +1 -1
- package/dist/Components/Button/IconButton/index.js +1 -1
- package/dist/Components/Button/IconButton/style.js +1 -1
- package/dist/Components/Button/SwitchButton/index.js +3 -3
- package/dist/Components/Button/SwitchButton/style.js +1 -1
- package/dist/Components/Button/ToggleButton/index.js +1 -1
- package/dist/Components/Button/ToggleButton/style.js +1 -1
- package/dist/Components/GradientText/style.js +2 -2
- package/dist/Components/ImageList.js +2 -2
- package/dist/Components/LayoutHeader/index.js +4 -4
- package/dist/Components/LayoutHeader/style.js +2 -2
- package/dist/Components/Loading/CreativeRecommendationLoading.js +1 -1
- package/dist/Components/Loading/CreativeSparkLoading.js +1 -1
- package/dist/Components/Loading/Loading.js +1 -1
- package/dist/Components/Loading/style.js +1 -1
- package/dist/Components/Robot/index.js +1 -1
- package/dist/Components/Robot/lotties/BlowingWindLottie/index.js +1 -1
- package/dist/Components/Robot/lotties/BouncingLottie/index.js +1 -1
- package/dist/Components/Robot/lotties/DazingLottie/index.js +1 -1
- package/dist/Components/Robot/lotties/PeekLottie/index.js +1 -1
- package/dist/Components/Robot/lotties/ThinkingLottie/index.js +1 -1
- package/dist/Components/SuggestionList/index.js +4 -4
- package/dist/Components/SuggestionList/style.js +1 -1
- package/dist/Components/TextAnimate/index.js +2 -2
- package/dist/Components/TextAnimate/style.js +2 -2
- package/dist/Components/TypingAnimation/index.js +1 -1
- package/dist/Components/TypingAnimation/style.js +2 -2
- package/dist/Components/VisualList/index.js +3 -3
- package/dist/Components/VisualList/style.js +1 -1
- package/dist/Components/effects/CreativeRecommendationEffect/index.js +1 -1
- package/dist/Components/effects/LoadingEffect/index.js +1 -1
- package/dist/Components/icons/LoadingSpinnerIcon.js +1 -1
- package/dist/Components/lotties/CreativeSparkLottie/index.js +1 -1
- package/dist/Components/lotties/DazingLottie/index.js +1 -1
- package/dist/Components/lotties/LoadingLottie/index.js +1 -1
- package/dist/Components/lotties/TextLoading/index.js +1 -1
- package/dist/Components/lotties/TextLoading/style.js +1 -1
- package/dist/Components/lotties/ThinkingLottie/index.js +1 -1
- package/dist/Components/lotties/bubble-actions/Abstract/index.js +1 -1
- package/dist/Components/lotties/bubble-actions/Abstract/style.js +1 -1
- package/dist/Components/lotties/bubble-actions/Copy/index.js +1 -1
- package/dist/Components/lotties/bubble-actions/Dislike/index.js +1 -1
- package/dist/Components/lotties/bubble-actions/Like/index.js +1 -1
- package/dist/Components/lotties/bubble-actions/More/index.js +1 -1
- package/dist/Components/lotties/bubble-actions/Play/index.js +1 -1
- package/dist/Components/lotties/bubble-actions/Quote/index.js +1 -1
- package/dist/Components/lotties/bubble-actions/Refresh/index.js +1 -1
- package/dist/Components/lotties/bubble-actions/Share/index.js +1 -1
- package/dist/History/components/HistoryActionsBox.js +9 -9
- package/dist/History/components/HistoryEmpty.js +1 -1
- package/dist/History/components/HistoryEmptyIcon.js +1 -1
- package/dist/History/components/HistoryItem.js +4 -4
- package/dist/History/components/HistoryList.js +2 -2
- package/dist/History/components/LoadMoreComponent.js +2 -2
- package/dist/History/components/NewChatComponent.js +1 -1
- package/dist/History/components/NewChatComponent.style.js +2 -2
- package/dist/History/components/SearchComponent.js +6 -6
- package/dist/History/hooks/useHistory.js +1 -1
- package/dist/History/index.js +3 -3
- package/dist/History/menu.js +2 -2
- package/dist/History/style.js +1 -1
- package/dist/History/utils/index.js +2 -2
- package/dist/Hooks/useAutoScroll.js +3 -3
- package/dist/Hooks/useClickAway.js +2 -2
- package/dist/Hooks/useCopied.js +1 -1
- package/dist/Hooks/useElementSize.js +1 -1
- package/dist/Hooks/useIntersectionOnce.js +1 -1
- package/dist/Hooks/useRefFunction/index.js +1 -1
- package/dist/Hooks/useSpeechSynthesis.js +1 -1
- package/dist/Hooks/useStyle/index.js +2 -2
- package/dist/I18n/index.js +1 -1
- package/dist/Icons/animated/VoicePlayLottie/index.js +1 -1
- package/dist/Icons/animated/VoicingLottie/index.js +1 -1
- package/dist/MarkdownEditor/BaseMarkdownEditor.js +7 -7
- package/dist/MarkdownEditor/editor/Editor.js +18 -18
- package/dist/MarkdownEditor/editor/components/CommentList/index.js +6 -6
- package/dist/MarkdownEditor/editor/components/CommentList/style.js +1 -1
- package/dist/MarkdownEditor/editor/components/ContributorAvatar/index.js +2 -2
- package/dist/MarkdownEditor/editor/components/ContributorAvatar/style.js +1 -1
- package/dist/MarkdownEditor/editor/components/LazyElement/index.js +1 -1
- package/dist/MarkdownEditor/editor/components/LazyElement/style.js +2 -2
- package/dist/MarkdownEditor/editor/components/MediaErrorLink.js +2 -2
- package/dist/MarkdownEditor/editor/components/fntTag/index.js +1 -1
- package/dist/MarkdownEditor/editor/components/fntTag/style.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Blockquote/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Break/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Card/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Code/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Comment/index.js +3 -3
- package/dist/MarkdownEditor/editor/elements/CommentLeaf/index.js +2 -2
- package/dist/MarkdownEditor/editor/elements/FncLeaf/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/FootnoteDefinition/index.js +2 -2
- package/dist/MarkdownEditor/editor/elements/FootnoteReference/index.js +2 -2
- package/dist/MarkdownEditor/editor/elements/Head/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Hr/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Image/index.js +17 -17
- package/dist/MarkdownEditor/editor/elements/InlineKatex/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Katex/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/LinkCard/ReadonlyLinkCard.js +2 -2
- package/dist/MarkdownEditor/editor/elements/LinkCard/index.js +4 -4
- package/dist/MarkdownEditor/editor/elements/List/List.js +2 -2
- package/dist/MarkdownEditor/editor/elements/List/ListItem.js +9 -9
- package/dist/MarkdownEditor/editor/elements/Media/ReadonlyMedia.js +2 -2
- package/dist/MarkdownEditor/editor/elements/Media/index.js +15 -15
- package/dist/MarkdownEditor/editor/elements/Mermaid/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Paragraph/index.js +2 -2
- package/dist/MarkdownEditor/editor/elements/Schema/index.js +4 -4
- package/dist/MarkdownEditor/editor/elements/Table/ReadonlyTableComponent.js +5 -5
- package/dist/MarkdownEditor/editor/elements/Table/SimpleTable.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/Table.js +5 -5
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndex/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/TableCellIndexSpacer/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/TableContext.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/TableRowIndex/index.js +1 -1
- package/dist/MarkdownEditor/editor/elements/Table/Td/index.js +2 -2
- package/dist/MarkdownEditor/editor/elements/Table/index.js +5 -5
- package/dist/MarkdownEditor/editor/elements/Table/useScrollShadow.js +2 -2
- package/dist/MarkdownEditor/editor/elements/TagPopup/index.js +18 -18
- package/dist/MarkdownEditor/editor/elements/index.js +9 -9
- package/dist/MarkdownEditor/editor/parser/parse/applyContextPropsAndConfig.js +2 -2
- package/dist/MarkdownEditor/editor/parser/parse/parseBlockElements.js +9 -9
- package/dist/MarkdownEditor/editor/parser/parse/parseCode.js +5 -5
- package/dist/MarkdownEditor/editor/parser/parse/parseElements.js +3 -3
- package/dist/MarkdownEditor/editor/parser/parse/parseEmptyLines.js +1 -1
- package/dist/MarkdownEditor/editor/parser/parse/parseFootnote.js +1 -1
- package/dist/MarkdownEditor/editor/parser/parse/parseHtml.js +18 -18
- package/dist/MarkdownEditor/editor/parser/parse/parseMath.js +3 -3
- package/dist/MarkdownEditor/editor/parser/parse/parseMedia.js +3 -3
- package/dist/MarkdownEditor/editor/parser/parse/parseTable.js +10 -10
- package/dist/MarkdownEditor/editor/parser/parse/parseText.js +5 -5
- package/dist/MarkdownEditor/editor/parser/parserMarkdownToSlateNode.js +24 -24
- package/dist/MarkdownEditor/editor/parser/parserMdToSchema.js +2 -2
- package/dist/MarkdownEditor/editor/parser/parserSlateNodeToMarkdown.js +41 -41
- package/dist/MarkdownEditor/editor/plugins/catchError.js +2 -2
- package/dist/MarkdownEditor/editor/plugins/elements.js +21 -21
- package/dist/MarkdownEditor/editor/plugins/handlePaste.js +9 -9
- package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/arrow.js +4 -4
- package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/backspace.js +1 -1
- package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/enter.js +1 -1
- package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/match.js +1 -1
- package/dist/MarkdownEditor/editor/plugins/hotKeyCommands/tab.js +4 -4
- package/dist/MarkdownEditor/editor/plugins/insertParsedHtmlNodes.js +44 -44
- package/dist/MarkdownEditor/editor/plugins/parseMarkdownToNodesAndInsert.js +1 -1
- package/dist/MarkdownEditor/editor/plugins/useHighlight.js +5 -5
- package/dist/MarkdownEditor/editor/plugins/useKeyboard.js +5 -5
- package/dist/MarkdownEditor/editor/plugins/useOnchange.js +1 -1
- package/dist/MarkdownEditor/editor/plugins/utils.js +2 -2
- package/dist/MarkdownEditor/editor/plugins/withCardPlugin.js +2 -2
- package/dist/MarkdownEditor/editor/plugins/withCodeTagPlugin.js +2 -2
- package/dist/MarkdownEditor/editor/plugins/withInlineNodes.js +1 -1
- package/dist/MarkdownEditor/editor/plugins/withLinkAndMediaPlugin.js +2 -2
- package/dist/MarkdownEditor/editor/plugins/withListsPlugin.js +3 -3
- package/dist/MarkdownEditor/editor/plugins/withMarkdown.js +1 -1
- package/dist/MarkdownEditor/editor/plugins/withSchemaPlugin.js +2 -2
- package/dist/MarkdownEditor/editor/plugins/withVoidNodes.js +1 -1
- package/dist/MarkdownEditor/editor/store.js +6 -6
- package/dist/MarkdownEditor/editor/style.js +2 -2
- package/dist/MarkdownEditor/editor/tools/DragHandle.js +2 -2
- package/dist/MarkdownEditor/editor/tools/InsertAutocomplete.js +22 -22
- package/dist/MarkdownEditor/editor/tools/InsertLink.js +7 -7
- package/dist/MarkdownEditor/editor/tools/Leading.js +8 -8
- package/dist/MarkdownEditor/editor/tools/ToolBar/BaseBar.js +6 -6
- package/dist/MarkdownEditor/editor/tools/ToolBar/FloatBar.js +5 -5
- package/dist/MarkdownEditor/editor/tools/ToolBar/ReadonlyBaseBar.js +7 -7
- package/dist/MarkdownEditor/editor/tools/ToolBar/ToolBar.js +2 -2
- package/dist/MarkdownEditor/editor/tools/ToolBar/components/ColorPickerButton.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/components/FormattingTools.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/components/HeadingDropdown.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/config/toolsConfig.js +9 -9
- package/dist/MarkdownEditor/editor/tools/ToolBar/floatBarStyle.js +1 -1
- package/dist/MarkdownEditor/editor/tools/ToolBar/hooks/useToolBarLogic.js +4 -4
- package/dist/MarkdownEditor/editor/tools/ToolBar/toolBarStyle.js +1 -1
- package/dist/MarkdownEditor/editor/tools/insertAutocompleteStyle.js +1 -1
- package/dist/MarkdownEditor/editor/utils/ace.js +3 -3
- package/dist/MarkdownEditor/editor/utils/docx/docxDeserializer.js +2 -2
- package/dist/MarkdownEditor/editor/utils/docx/module.js +9 -9
- package/dist/MarkdownEditor/editor/utils/docx/utils.js +5 -5
- package/dist/MarkdownEditor/editor/utils/dom.js +5 -5
- package/dist/MarkdownEditor/editor/utils/editorCommands.js +5 -5
- package/dist/MarkdownEditor/editor/utils/editorUtils.js +17 -17
- package/dist/MarkdownEditor/editor/utils/index.js +9 -9
- package/dist/MarkdownEditor/editor/utils/keyboard.js +4 -4
- package/dist/MarkdownEditor/editor/utils/markdownToHtml.js +6 -6
- package/dist/MarkdownEditor/editor/utils/media.js +2 -2
- package/dist/MarkdownEditor/editor/utils/path.js +3 -3
- package/dist/MarkdownEditor/editor/utils/performanceMonitor.js +2 -2
- package/dist/MarkdownEditor/editor/utils/useLocalState.js +1 -1
- package/dist/MarkdownEditor/hooks/editor.js +2 -2
- package/dist/MarkdownEditor/hooks/subscribe.js +1 -1
- package/dist/MarkdownEditor/index.js +1 -1
- package/dist/MarkdownEditor/style.js +1 -1
- package/dist/MarkdownEditor/utils/exportHtml.js +2 -2
- package/dist/MarkdownEditor/utils/native-table/native-table-editor.js +4 -4
- package/dist/MarkdownInputField/AttachmentButton/AttachmentButtonPopover.js +8 -8
- package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/AttachmentFileIcon.js +1 -1
- package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/AttachmentFileListItem.js +10 -10
- package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/index.js +10 -10
- package/dist/MarkdownInputField/AttachmentButton/AttachmentFileList/style.js +1 -1
- package/dist/MarkdownInputField/AttachmentButton/index.js +18 -18
- package/dist/MarkdownInputField/AttachmentButton/style.js +1 -1
- package/dist/MarkdownInputField/AttachmentButton/utils.js +8 -8
- package/dist/MarkdownInputField/BeforeToolContainer/BeforeToolContainer.js +4 -4
- package/dist/MarkdownInputField/BorderBeamAnimation.js +1 -1
- package/dist/MarkdownInputField/Enlargement/index.js +1 -1
- package/dist/MarkdownInputField/FileMapView/FileMapViewItem.js +8 -8
- package/dist/MarkdownInputField/FileMapView/index.js +2 -2
- package/dist/MarkdownInputField/FileMapView/style.js +1 -1
- package/dist/MarkdownInputField/FilePaste/index.js +2 -2
- package/dist/MarkdownInputField/FileUploadManager/index.js +2 -2
- package/dist/MarkdownInputField/MarkdownInputField.js +10 -10
- package/dist/MarkdownInputField/QuickActions/index.js +5 -5
- package/dist/MarkdownInputField/RefinePromptButton/index.js +3 -3
- package/dist/MarkdownInputField/RefinePromptButton/style.js +1 -1
- package/dist/MarkdownInputField/SendActions/index.js +6 -6
- package/dist/MarkdownInputField/SendButton/index.js +3 -3
- package/dist/MarkdownInputField/SendButton/style.js +1 -1
- package/dist/MarkdownInputField/SkillModeBar/index.js +3 -3
- package/dist/MarkdownInputField/SkillModeBar/style.js +1 -1
- package/dist/MarkdownInputField/Suggestion/index.js +8 -8
- package/dist/MarkdownInputField/TopOperatingArea/index.js +2 -2
- package/dist/MarkdownInputField/TopOperatingArea/style.js +2 -2
- package/dist/MarkdownInputField/VoiceInput/index.js +2 -2
- package/dist/MarkdownInputField/VoiceInput/style.js +1 -1
- package/dist/MarkdownInputField/VoiceInputManager/index.js +3 -3
- package/dist/MarkdownInputField/hooks/useMarkdownInputFieldActions.js +1 -1
- package/dist/MarkdownInputField/hooks/useMarkdownInputFieldHandlers.js +1 -1
- package/dist/MarkdownInputField/hooks/useMarkdownInputFieldLayout.js +2 -2
- package/dist/MarkdownInputField/hooks/useMarkdownInputFieldRefs.js +1 -1
- package/dist/MarkdownInputField/hooks/useMarkdownInputFieldState.js +1 -1
- package/dist/MarkdownInputField/hooks/useMarkdownInputFieldStyles.js +1 -1
- package/dist/MarkdownInputField/style.js +2 -2
- package/dist/MarkdownInputField/utils/renderHelpers.js +5 -5
- package/dist/Plugins/chart/AreaChart/index.js +4 -4
- package/dist/Plugins/chart/AreaChart/style.js +1 -1
- package/dist/Plugins/chart/BarChart/index.js +11 -11
- package/dist/Plugins/chart/BarChart/style.js +1 -1
- package/dist/Plugins/chart/ChartAttrToolBar/ChartAttrToolBarStyle.js +1 -1
- package/dist/Plugins/chart/ChartAttrToolBar/index.js +3 -3
- package/dist/Plugins/chart/ChartMark/Area.js +2 -2
- package/dist/Plugins/chart/ChartMark/Bar.js +2 -2
- package/dist/Plugins/chart/ChartMark/Column.js +2 -2
- package/dist/Plugins/chart/ChartMark/Container.js +1 -1
- package/dist/Plugins/chart/ChartMark/Line.js +2 -2
- package/dist/Plugins/chart/ChartMark/Pie.js +2 -2
- package/dist/Plugins/chart/ChartRender.js +19 -19
- package/dist/Plugins/chart/ChartStatistic/index.js +3 -3
- package/dist/Plugins/chart/ChartStatistic/style.js +1 -1
- package/dist/Plugins/chart/ChartStatistic/utils.js +2 -2
- package/dist/Plugins/chart/DonutChart/Legend.js +3 -3
- package/dist/Plugins/chart/DonutChart/hooks.js +5 -5
- package/dist/Plugins/chart/DonutChart/index.js +11 -11
- package/dist/Plugins/chart/DonutChart/plugins.js +3 -3
- package/dist/Plugins/chart/DonutChart/style.js +1 -1
- package/dist/Plugins/chart/FunnelChart/index.js +14 -14
- package/dist/Plugins/chart/FunnelChart/style.js +1 -1
- package/dist/Plugins/chart/LineChart/index.js +3 -3
- package/dist/Plugins/chart/LineChart/style.js +1 -1
- package/dist/Plugins/chart/RadarChart/index.js +7 -7
- package/dist/Plugins/chart/RadarChart/style.js +1 -1
- package/dist/Plugins/chart/ScatterChart/index.js +7 -7
- package/dist/Plugins/chart/ScatterChart/style.js +1 -1
- package/dist/Plugins/chart/components/ChartContainer/ChartContainer.js +1 -1
- package/dist/Plugins/chart/components/ChartContainer/style.js +2 -2
- package/dist/Plugins/chart/components/ChartFilter/ChartFilter.js +6 -6
- package/dist/Plugins/chart/components/ChartFilter/style.js +1 -1
- package/dist/Plugins/chart/components/ChartToolBar/ChartToolBar.js +2 -2
- package/dist/Plugins/chart/components/ChartToolBar/style.js +1 -1
- package/dist/Plugins/chart/components/icons/TimeIcon.js +1 -1
- package/dist/Plugins/chart/components/index.js +1 -1
- package/dist/Plugins/chart/hooks/useChartDataFilter.js +1 -1
- package/dist/Plugins/chart/hooks/useChartStatistics.js +1 -1
- package/dist/Plugins/chart/hooks/useChartTheme.js +1 -1
- package/dist/Plugins/chart/hooks/useResponsiveSize.js +2 -2
- package/dist/Plugins/chart/index.js +8 -8
- package/dist/Plugins/chart/loadChartRuntime.js +1 -1
- package/dist/Plugins/chart/utils/registerChart.js +3 -3
- package/dist/Plugins/chart/utils.js +12 -12
- package/dist/Plugins/code/CodeUI/Katex/Katex.js +1 -1
- package/dist/Plugins/code/components/AceEditor.js +2 -2
- package/dist/Plugins/code/components/CodeContainer.js +3 -3
- package/dist/Plugins/code/components/CodeRenderer.js +2 -2
- package/dist/Plugins/code/components/CodeToolbar.js +5 -5
- package/dist/Plugins/code/components/LanguageSelector.js +7 -7
- package/dist/Plugins/code/components/LoadImage.js +3 -3
- package/dist/Plugins/code/components/ThinkBlock.js +2 -2
- package/dist/Plugins/code/index.js +1 -1
- package/dist/Plugins/code/langIcons/AbapIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ActionscriptIcon.js +1 -1
- package/dist/Plugins/code/langIcons/AdaIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ApacheIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ApexIcon.js +1 -1
- package/dist/Plugins/code/langIcons/AplIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ApplescriptIcon.js +1 -1
- package/dist/Plugins/code/langIcons/AstroIcon.js +1 -1
- package/dist/Plugins/code/langIcons/AwkIcon.js +1 -1
- package/dist/Plugins/code/langIcons/BallerinaIcon.js +1 -1
- package/dist/Plugins/code/langIcons/BatIcon.js +1 -1
- package/dist/Plugins/code/langIcons/BicepIcon.js +1 -1
- package/dist/Plugins/code/langIcons/BladeIcon.js +1 -1
- package/dist/Plugins/code/langIcons/CIcon.js +1 -1
- package/dist/Plugins/code/langIcons/CadenceIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ClojureIcon.js +1 -1
- package/dist/Plugins/code/langIcons/CmakeIcon.js +1 -1
- package/dist/Plugins/code/langIcons/CobolIcon.js +1 -1
- package/dist/Plugins/code/langIcons/CodeqlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/CoffeeIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ConsoleIcon.js +1 -1
- package/dist/Plugins/code/langIcons/CppIcon.js +1 -1
- package/dist/Plugins/code/langIcons/CrystalIcon.js +1 -1
- package/dist/Plugins/code/langIcons/CsharpIcon.js +1 -1
- package/dist/Plugins/code/langIcons/CssIcon.js +1 -1
- package/dist/Plugins/code/langIcons/DIcon.js +1 -1
- package/dist/Plugins/code/langIcons/DartIcon.js +1 -1
- package/dist/Plugins/code/langIcons/DatabaseIcon.js +1 -1
- package/dist/Plugins/code/langIcons/DiffIcon.js +1 -1
- package/dist/Plugins/code/langIcons/DockerIcon.js +1 -1
- package/dist/Plugins/code/langIcons/DotenvIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ElixirIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ElmIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ErbIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ErlangIcon.js +1 -1
- package/dist/Plugins/code/langIcons/FsharpIcon.js +1 -1
- package/dist/Plugins/code/langIcons/GdscriptIcon.js +1 -1
- package/dist/Plugins/code/langIcons/GlslIcon.js +1 -1
- package/dist/Plugins/code/langIcons/GnuplotIcon.js +1 -1
- package/dist/Plugins/code/langIcons/GoIcon.js +1 -1
- package/dist/Plugins/code/langIcons/GraphqlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/GroovyIcon.js +1 -1
- package/dist/Plugins/code/langIcons/HackIcon.js +1 -1
- package/dist/Plugins/code/langIcons/HamlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/HandlebarsIcon.js +1 -1
- package/dist/Plugins/code/langIcons/HaskellIcon.js +1 -1
- package/dist/Plugins/code/langIcons/HclIcon.js +1 -1
- package/dist/Plugins/code/langIcons/HclLightIcon.js +1 -1
- package/dist/Plugins/code/langIcons/HjsonIcon.js +1 -1
- package/dist/Plugins/code/langIcons/HlslIcon.js +1 -1
- package/dist/Plugins/code/langIcons/HtmlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/HttpIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ImbaIcon.js +1 -1
- package/dist/Plugins/code/langIcons/IniIcon.js +1 -1
- package/dist/Plugins/code/langIcons/JavaIcon.js +1 -1
- package/dist/Plugins/code/langIcons/JavascriptIcon.js +1 -1
- package/dist/Plugins/code/langIcons/JinjaIcon.js +1 -1
- package/dist/Plugins/code/langIcons/Json5Icon.js +1 -1
- package/dist/Plugins/code/langIcons/JsonIcon.js +1 -1
- package/dist/Plugins/code/langIcons/JsonnetIcon.js +1 -1
- package/dist/Plugins/code/langIcons/JuliaIcon.js +1 -1
- package/dist/Plugins/code/langIcons/KotlinIcon.js +1 -1
- package/dist/Plugins/code/langIcons/KustoIcon.js +1 -1
- package/dist/Plugins/code/langIcons/LessIcon.js +1 -1
- package/dist/Plugins/code/langIcons/LiquidIcon.js +1 -1
- package/dist/Plugins/code/langIcons/LispIcon.js +1 -1
- package/dist/Plugins/code/langIcons/LuaIcon.js +1 -1
- package/dist/Plugins/code/langIcons/MakefileIcon.js +1 -1
- package/dist/Plugins/code/langIcons/MarkdownIcon.js +1 -1
- package/dist/Plugins/code/langIcons/MarkojsIcon.js +1 -1
- package/dist/Plugins/code/langIcons/MatlabIcon.js +1 -1
- package/dist/Plugins/code/langIcons/MdxIcon.js +1 -1
- package/dist/Plugins/code/langIcons/MermaidIcon.js +1 -1
- package/dist/Plugins/code/langIcons/MojoIcon.js +1 -1
- package/dist/Plugins/code/langIcons/NginxIcon.js +1 -1
- package/dist/Plugins/code/langIcons/NimIcon.js +1 -1
- package/dist/Plugins/code/langIcons/NixIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ObjectiveCIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ObjectiveCppIcon.js +1 -1
- package/dist/Plugins/code/langIcons/OcamlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/PascalIcon.js +1 -1
- package/dist/Plugins/code/langIcons/Perl6Icon.js +1 -1
- package/dist/Plugins/code/langIcons/PerlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/PhpIcon.js +1 -1
- package/dist/Plugins/code/langIcons/PostcssIcon.js +1 -1
- package/dist/Plugins/code/langIcons/PowershellIcon.js +1 -1
- package/dist/Plugins/code/langIcons/PrismaIcon.js +1 -1
- package/dist/Plugins/code/langIcons/PrologIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ProtoIcon.js +1 -1
- package/dist/Plugins/code/langIcons/PugIcon.js +1 -1
- package/dist/Plugins/code/langIcons/PuppetIcon.js +1 -1
- package/dist/Plugins/code/langIcons/PurescriptIcon.js +1 -1
- package/dist/Plugins/code/langIcons/PythonIcon.js +1 -1
- package/dist/Plugins/code/langIcons/RIcon.js +1 -1
- package/dist/Plugins/code/langIcons/RazorIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ReactIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ReactTsIcon.js +1 -1
- package/dist/Plugins/code/langIcons/RubyIcon.js +1 -1
- package/dist/Plugins/code/langIcons/RustIcon.js +1 -1
- package/dist/Plugins/code/langIcons/SasIcon.js +1 -1
- package/dist/Plugins/code/langIcons/SassIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ScalaIcon.js +1 -1
- package/dist/Plugins/code/langIcons/SchemeIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ShaderlabIcon.js +1 -1
- package/dist/Plugins/code/langIcons/SolidityIcon.js +1 -1
- package/dist/Plugins/code/langIcons/SparqlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/StataIcon.js +1 -1
- package/dist/Plugins/code/langIcons/StylusIcon.js +1 -1
- package/dist/Plugins/code/langIcons/SvelteIcon.js +1 -1
- package/dist/Plugins/code/langIcons/SwiftIcon.js +1 -1
- package/dist/Plugins/code/langIcons/SystemverilogIcon.js +1 -1
- package/dist/Plugins/code/langIcons/TclIcon.js +1 -1
- package/dist/Plugins/code/langIcons/TexIcon.js +1 -1
- package/dist/Plugins/code/langIcons/TomlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/TwigIcon.js +1 -1
- package/dist/Plugins/code/langIcons/TypescriptIcon.js +1 -1
- package/dist/Plugins/code/langIcons/VerilogIcon.js +1 -1
- package/dist/Plugins/code/langIcons/VhdlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/VimIcon.js +1 -1
- package/dist/Plugins/code/langIcons/VueIcon.js +1 -1
- package/dist/Plugins/code/langIcons/WebassemblyIcon.js +1 -1
- package/dist/Plugins/code/langIcons/WenyanIcon.js +1 -1
- package/dist/Plugins/code/langIcons/WgslIcon.js +1 -1
- package/dist/Plugins/code/langIcons/WolframlanguageIcon.js +1 -1
- package/dist/Plugins/code/langIcons/XmlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/XslIcon.js +1 -1
- package/dist/Plugins/code/langIcons/YamlIcon.js +1 -1
- package/dist/Plugins/code/langIcons/ZigIcon.js +1 -1
- package/dist/Plugins/code/loadAceEditor.js +3 -3
- package/dist/Plugins/katex/InlineKatex.js +2 -2
- package/dist/Plugins/katex/Katex.js +1 -1
- package/dist/Plugins/katex/index.js +2 -2
- package/dist/Plugins/katex/loadKatex.js +2 -2
- package/dist/Plugins/mermaid/Mermaid.js +1 -1
- package/dist/Plugins/mermaid/MermaidFallback.js +1 -1
- package/dist/Plugins/mermaid/MermaidRendererImpl.js +1 -1
- package/dist/Plugins/mermaid/index.js +5 -5
- package/dist/Plugins/mermaid/style.js +1 -1
- package/dist/Plugins/mermaid/useMermaidRender.js +1 -1
- package/dist/Plugins/mermaid/utils.js +3 -3
- package/dist/Quote/index.js +2 -2
- package/dist/Quote/style.js +1 -1
- package/dist/Schema/SchemaEditor/AceEditorWrapper.js +1 -1
- package/dist/Schema/SchemaEditor/index.js +6 -6
- package/dist/Schema/SchemaEditor/style.js +1 -1
- package/dist/Schema/SchemaForm/index.js +4 -4
- package/dist/Schema/SchemaRenderer/index.js +8 -8
- package/dist/TaskList/index.js +4 -4
- package/dist/TaskList/style.js +1 -1
- package/dist/ThoughtChainList/CostMillis.js +2 -2
- package/dist/ThoughtChainList/DeepThink.js +1 -1
- package/dist/ThoughtChainList/DotAni/index.js +1 -1
- package/dist/ThoughtChainList/DotAni/style.js +1 -1
- package/dist/ThoughtChainList/MarkdownEditor.js +2 -2
- package/dist/ThoughtChainList/RagRetrievalInfo.js +2 -2
- package/dist/ThoughtChainList/TableSql.js +8 -8
- package/dist/ThoughtChainList/TitleInfo.js +3 -3
- package/dist/ThoughtChainList/ToolCall.js +7 -7
- package/dist/ThoughtChainList/WebSearch.js +1 -1
- package/dist/ThoughtChainList/style.js +1 -1
- package/dist/ToolUseBar/BarItem/Content.js +5 -5
- package/dist/ToolUseBar/BarItem/index.js +1 -1
- package/dist/ToolUseBar/index.js +1 -1
- package/dist/ToolUseBar/style.js +1 -1
- package/dist/ToolUseBarThink/index.js +10 -10
- package/dist/ToolUseBarThink/style.js +1 -1
- package/dist/Types/message.d.ts +1 -0
- package/dist/Utils/debugUtils.js +1 -1
- package/dist/Utils/formatTime.js +1 -1
- package/dist/Utils/getScroll.js +2 -2
- package/dist/Utils/loadCSS.js +2 -2
- package/dist/Utils/proxySandbox/ProxySandbox.js +37 -37
- package/dist/Utils/proxySandbox/SecurityContextManager.js +6 -6
- package/dist/Utils/scrollTo.js +1 -1
- package/dist/Utils/throttleByAnimationFrame.js +2 -2
- package/dist/WelcomeMessage/index.js +1 -1
- package/dist/WelcomeMessage/style.js +1 -1
- package/dist/Workspace/Browser/index.js +13 -13
- package/dist/Workspace/Browser/style.js +1 -1
- package/dist/Workspace/File/FileComponent.js +38 -38
- package/dist/Workspace/File/FileTypeProcessor.js +8 -8
- package/dist/Workspace/File/PreviewComponent.js +14 -14
- package/dist/Workspace/File/style.js +1 -1
- package/dist/Workspace/File/utils.js +3 -3
- package/dist/Workspace/HtmlPreview/index.js +5 -5
- package/dist/Workspace/HtmlPreview/style.js +1 -1
- package/dist/Workspace/RealtimeFollow/index.js +18 -18
- package/dist/Workspace/RealtimeFollow/style.js +1 -1
- package/dist/Workspace/Task/index.js +3 -3
- package/dist/Workspace/Task/style.js +1 -1
- package/dist/Workspace/index.js +9 -9
- package/dist/Workspace/style.js +1 -1
- package/dist/Workspace/types.js +3 -3
- package/dist/Workspace/utils/codeLanguageUtils.js +3 -3
- package/dist/Workspace/utils.js +2 -2
- package/package.json +4 -3
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var PythonIcon = function(_0) {
|
|
90
|
+
export var PythonIcon = function PythonIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var RIcon = function(_0) {
|
|
90
|
+
export var RIcon = function RIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var RazorIcon = function(_0) {
|
|
90
|
+
export var RazorIcon = function RazorIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var ReactIcon = function(_0) {
|
|
90
|
+
export var ReactIcon = function ReactIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var ReactTsIcon = function(_0) {
|
|
90
|
+
export var ReactTsIcon = function ReactTsIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var RubyIcon = function(_0) {
|
|
90
|
+
export var RubyIcon = function RubyIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var RustIcon = function(_0) {
|
|
90
|
+
export var RustIcon = function RustIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var SasIcon = function(_0) {
|
|
90
|
+
export var SasIcon = function SasIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var SassIcon = function(_0) {
|
|
90
|
+
export var SassIcon = function SassIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var ScalaIcon = function(_0) {
|
|
90
|
+
export var ScalaIcon = function ScalaIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var SchemeIcon = function(_0) {
|
|
90
|
+
export var SchemeIcon = function SchemeIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var ShaderlabIcon = function(_0) {
|
|
90
|
+
export var ShaderlabIcon = function ShaderlabIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var SolidityIcon = function(_0) {
|
|
90
|
+
export var SolidityIcon = function SolidityIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var SparqlIcon = function(_0) {
|
|
90
|
+
export var SparqlIcon = function SparqlIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var StataIcon = function(_0) {
|
|
90
|
+
export var StataIcon = function StataIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var StylusIcon = function(_0) {
|
|
90
|
+
export var StylusIcon = function StylusIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var SvelteIcon = function(_0) {
|
|
90
|
+
export var SvelteIcon = function SvelteIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var SwiftIcon = function(_0) {
|
|
90
|
+
export var SwiftIcon = function SwiftIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var SystemverilogIcon = function(_0) {
|
|
90
|
+
export var SystemverilogIcon = function SystemverilogIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var TclIcon = function(_0) {
|
|
90
|
+
export var TclIcon = function TclIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var TexIcon = function(_0) {
|
|
90
|
+
export var TexIcon = function TexIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var TomlIcon = function(_0) {
|
|
90
|
+
export var TomlIcon = function TomlIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var TwigIcon = function(_0) {
|
|
90
|
+
export var TwigIcon = function TwigIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var TypescriptIcon = function(_0) {
|
|
90
|
+
export var TypescriptIcon = function TypescriptIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var VerilogIcon = function(_0) {
|
|
90
|
+
export var VerilogIcon = function VerilogIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var VhdlIcon = function(_0) {
|
|
90
|
+
export var VhdlIcon = function VhdlIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var VimIcon = function(_0) {
|
|
90
|
+
export var VimIcon = function VimIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var VueIcon = function(_0) {
|
|
90
|
+
export var VueIcon = function VueIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var WebassemblyIcon = function(_0) {
|
|
90
|
+
export var WebassemblyIcon = function WebassemblyIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var WenyanIcon = function(_0) {
|
|
90
|
+
export var WenyanIcon = function WenyanIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var WgslIcon = function(_0) {
|
|
90
|
+
export var WgslIcon = function WgslIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var WolframlanguageIcon = function(_0) {
|
|
90
|
+
export var WolframlanguageIcon = function WolframlanguageIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? 24 : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var XmlIcon = function(_0) {
|
|
90
|
+
export var XmlIcon = function XmlIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var XslIcon = function(_0) {
|
|
90
|
+
export var XslIcon = function XslIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var YamlIcon = function(_0) {
|
|
90
|
+
export var YamlIcon = function YamlIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -87,7 +87,7 @@ function _object_without_properties_loose(source, excluded) {
|
|
|
87
87
|
return target;
|
|
88
88
|
}
|
|
89
89
|
import React from "react";
|
|
90
|
-
export var ZigIcon = function(_0) {
|
|
90
|
+
export var ZigIcon = function ZigIcon(_0) {
|
|
91
91
|
var _0_size = _0.size, size = _0_size === void 0 ? '1em' : _0_size, props = _object_without_properties(_0, [
|
|
92
92
|
"size"
|
|
93
93
|
]);
|
|
@@ -136,7 +136,7 @@ var aceEditorLoader = null;
|
|
|
136
136
|
/**
|
|
137
137
|
* 加载 Ace Editor 核心库
|
|
138
138
|
* 使用单例模式确保只加载一次
|
|
139
|
-
*/ export var loadAceEditor = function() {
|
|
139
|
+
*/ export var loadAceEditor = function loadAceEditor() {
|
|
140
140
|
return _async_to_generator(function() {
|
|
141
141
|
return _ts_generator(this, function(_state) {
|
|
142
142
|
if (typeof window === 'undefined') {
|
|
@@ -161,7 +161,7 @@ var aceEditorLoader = null;
|
|
|
161
161
|
/**
|
|
162
162
|
* 加载 Ace Editor 主题
|
|
163
163
|
* 支持按需加载主题和对应的 CSS,减少初始 bundle 大小
|
|
164
|
-
*/ export var loadAceTheme = function(themeName) {
|
|
164
|
+
*/ export var loadAceTheme = function loadAceTheme(themeName) {
|
|
165
165
|
return _async_to_generator(function() {
|
|
166
166
|
var error;
|
|
167
167
|
return _ts_generator(this, function(_state) {
|
|
@@ -251,7 +251,7 @@ var aceEditorLoader = null;
|
|
|
251
251
|
* 预加载 Ace Editor 资源
|
|
252
252
|
* 使用动态 import 提前开始加载,但不阻塞当前执行
|
|
253
253
|
* 可以在用户可能使用代码编辑器之前调用此函数
|
|
254
|
-
*/ export var preloadAceEditor = function() {
|
|
254
|
+
*/ export var preloadAceEditor = function preloadAceEditor() {
|
|
255
255
|
if (typeof window === 'undefined') return;
|
|
256
256
|
// 使用动态 import 预加载,不等待结果
|
|
257
257
|
// 浏览器会自动缓存已加载的模块
|
|
@@ -266,7 +266,7 @@ import { loadKatex } from "./loadKatex";
|
|
|
266
266
|
* - 支持自定义样式
|
|
267
267
|
* - 在测试环境下简化显示
|
|
268
268
|
* - 提供响应式布局
|
|
269
|
-
*/ export var InlineKatex = function(param) {
|
|
269
|
+
*/ export var InlineKatex = function InlineKatex(param) {
|
|
270
270
|
var children = param.children, element = param.element, attributes = param.attributes, style = param.style;
|
|
271
271
|
var renderEl = useRef(null);
|
|
272
272
|
var _useEditorStore = useEditorStore(), markdownEditorRef = _useEditorStore.markdownEditorRef, readonly = _useEditorStore.readonly;
|
|
@@ -380,7 +380,7 @@ import { loadKatex } from "./loadKatex";
|
|
|
380
380
|
className: "katex",
|
|
381
381
|
contentEditable: false,
|
|
382
382
|
ref: renderEl,
|
|
383
|
-
onClick: function() {
|
|
383
|
+
onClick: function onClick() {
|
|
384
384
|
Transforms.select(markdownEditorRef.current, Editor.end(markdownEditorRef.current, path));
|
|
385
385
|
},
|
|
386
386
|
style: {
|
|
@@ -209,7 +209,7 @@ import { loadKatex } from "./loadKatex";
|
|
|
209
209
|
* - 提供美观的样式设计
|
|
210
210
|
* - 禁用文本选择
|
|
211
211
|
* - 居中显示公式
|
|
212
|
-
*/ export var Katex = function(props) {
|
|
212
|
+
*/ export var Katex = function Katex(props) {
|
|
213
213
|
var _useGetSetState = _sliced_to_array(useGetSetState({
|
|
214
214
|
code: '',
|
|
215
215
|
error: ''
|
|
@@ -136,10 +136,10 @@ import { Katex } from "./Katex";
|
|
|
136
136
|
margin: '1em 0',
|
|
137
137
|
userSelect: 'none'
|
|
138
138
|
},
|
|
139
|
-
onBlur: function(e) {
|
|
139
|
+
onBlur: function onBlur(e) {
|
|
140
140
|
e.stopPropagation();
|
|
141
141
|
},
|
|
142
|
-
onClick: function(e) {
|
|
142
|
+
onClick: function onClick(e) {
|
|
143
143
|
e.stopPropagation();
|
|
144
144
|
}
|
|
145
145
|
}), /*#__PURE__*/ React.createElement(DragHandle, null), /*#__PURE__*/ React.createElement("div", {
|
|
@@ -135,7 +135,7 @@ var katexLoader = null;
|
|
|
135
135
|
/**
|
|
136
136
|
* 加载 Katex 核心库
|
|
137
137
|
* 使用单例模式确保只加载一次
|
|
138
|
-
*/ export var loadKatex = function() {
|
|
138
|
+
*/ export var loadKatex = function loadKatex() {
|
|
139
139
|
return _async_to_generator(function() {
|
|
140
140
|
return _ts_generator(this, function(_state) {
|
|
141
141
|
if (typeof window === 'undefined') {
|
|
@@ -168,7 +168,7 @@ var katexLoader = null;
|
|
|
168
168
|
/**
|
|
169
169
|
* 预加载 Katex 资源
|
|
170
170
|
* 使用动态 import 提前开始加载,但不阻塞当前执行
|
|
171
|
-
*/ export var preloadKatex = function() {
|
|
171
|
+
*/ export var preloadKatex = function preloadKatex() {
|
|
172
172
|
if (typeof window === 'undefined') return;
|
|
173
173
|
// 使用动态 import 预加载,不等待结果
|
|
174
174
|
if (!katexLoader) {
|
|
@@ -189,7 +189,7 @@ import { loadMermaid } from "./utils";
|
|
|
189
189
|
* - 禁用文本选择
|
|
190
190
|
* - 居中显示图表
|
|
191
191
|
* - 自动生成唯一ID
|
|
192
|
-
*/ export var Mermaid = function(props) {
|
|
192
|
+
*/ export var Mermaid = function Mermaid(props) {
|
|
193
193
|
var isBrowser = typeof window !== 'undefined';
|
|
194
194
|
if (!isBrowser) {
|
|
195
195
|
return null;
|
|
@@ -4,7 +4,7 @@ import React, { useContext } from "react";
|
|
|
4
4
|
import { useStyle } from "./style";
|
|
5
5
|
/**
|
|
6
6
|
* 加载中的占位组件
|
|
7
|
-
*/ export var MermaidFallback = function() {
|
|
7
|
+
*/ export var MermaidFallback = function MermaidFallback() {
|
|
8
8
|
var context = useContext(ConfigProvider.ConfigContext);
|
|
9
9
|
var baseCls = (context === null || context === void 0 ? void 0 : context.getPrefixCls('agentic-plugin-mermaid')) || 'agentic-plugin-mermaid';
|
|
10
10
|
var _useStyle = useStyle(baseCls), wrapSSR = _useStyle.wrapSSR, hashId = _useStyle.hashId;
|
|
@@ -7,7 +7,7 @@ import { useMermaidRender } from "./useMermaidRender";
|
|
|
7
7
|
/**
|
|
8
8
|
* Mermaid 渲染器组件实现
|
|
9
9
|
* 负责实际的图表渲染逻辑
|
|
10
|
-
*/ export var MermaidRendererImpl = function(props) {
|
|
10
|
+
*/ export var MermaidRendererImpl = function MermaidRendererImpl(props) {
|
|
11
11
|
var context = useContext(ConfigProvider.ConfigContext);
|
|
12
12
|
var baseCls = (context === null || context === void 0 ? void 0 : context.getPrefixCls('agentic-plugin-mermaid')) || 'plugin-mermaid';
|
|
13
13
|
var _useStyle = useStyle(baseCls), wrapSSR = _useStyle.wrapSSR, hashId = _useStyle.hashId;
|
|
@@ -182,10 +182,10 @@ import { Mermaid } from "./Mermaid";
|
|
|
182
182
|
className: 'ace-el drag-el',
|
|
183
183
|
"data-be": 'mermaid',
|
|
184
184
|
tabIndex: -1,
|
|
185
|
-
onBlur: function() {},
|
|
185
|
+
onBlur: function onBlur() {},
|
|
186
186
|
"data-lang": props.element.language
|
|
187
187
|
}), !props.element.frontmatter && /*#__PURE__*/ React.createElement(DragHandle, null), /*#__PURE__*/ React.createElement("div", {
|
|
188
|
-
onClick: function(e) {
|
|
188
|
+
onClick: function onClick(e) {
|
|
189
189
|
var _editorRef_current;
|
|
190
190
|
e.stopPropagation();
|
|
191
191
|
(_editorRef_current = editorRef.current) === null || _editorRef_current === void 0 ? void 0 : _editorRef_current.focus();
|
|
@@ -203,7 +203,7 @@ import { Mermaid } from "./Mermaid";
|
|
|
203
203
|
}
|
|
204
204
|
}, !props.element.frontmatter && /*#__PURE__*/ React.createElement("div", {
|
|
205
205
|
contentEditable: false,
|
|
206
|
-
onClick: function(e) {
|
|
206
|
+
onClick: function onClick(e) {
|
|
207
207
|
e.stopPropagation();
|
|
208
208
|
},
|
|
209
209
|
style: {
|
|
@@ -231,7 +231,7 @@ import { Mermaid } from "./Mermaid";
|
|
|
231
231
|
}
|
|
232
232
|
}, /*#__PURE__*/ React.createElement(ActionIconBox, {
|
|
233
233
|
title: "关闭",
|
|
234
|
-
onClick: function() {
|
|
234
|
+
onClick: function onClick() {
|
|
235
235
|
setState({
|
|
236
236
|
hide: props.element.language === 'mermaid'
|
|
237
237
|
});
|
|
@@ -243,7 +243,7 @@ import { Mermaid } from "./Mermaid";
|
|
|
243
243
|
lineHeight: '1.75em',
|
|
244
244
|
marginLeft: '0.125em'
|
|
245
245
|
},
|
|
246
|
-
onClick: function(e) {
|
|
246
|
+
onClick: function onClick(e) {
|
|
247
247
|
e.stopPropagation();
|
|
248
248
|
try {
|
|
249
249
|
var _i18n_locale;
|
|
@@ -51,7 +51,7 @@ function _object_spread_props(target, source) {
|
|
|
51
51
|
return target;
|
|
52
52
|
}
|
|
53
53
|
import { useEditorStyleRegister } from "../../Hooks/useStyle";
|
|
54
|
-
var genStyle = function(token) {
|
|
54
|
+
var genStyle = function genStyle(token) {
|
|
55
55
|
return _define_property({}, token.componentCls, {
|
|
56
56
|
// 主容器样式
|
|
57
57
|
marginBottom: '0.75em',
|
|
@@ -176,7 +176,7 @@ import { useEffect, useRef, useState } from "react";
|
|
|
176
176
|
import { cleanupTempElement, loadMermaid, renderSvgToContainer } from "./utils";
|
|
177
177
|
/**
|
|
178
178
|
* Mermaid 渲染 Hook
|
|
179
|
-
*/ export var useMermaidRender = function(code, divRef, id, isVisible) {
|
|
179
|
+
*/ export var useMermaidRender = function useMermaidRender(code, divRef, id, isVisible) {
|
|
180
180
|
var timer = useRef(null);
|
|
181
181
|
var mermaidRef = useRef(null);
|
|
182
182
|
var renderedCodeRef = useRef('');
|
|
@@ -137,7 +137,7 @@ var mermaidLoader = null;
|
|
|
137
137
|
/**
|
|
138
138
|
* 加载 Mermaid 库
|
|
139
139
|
* 使用单例模式确保只加载一次,并初始化配置
|
|
140
|
-
*/ export var loadMermaid = function() {
|
|
140
|
+
*/ export var loadMermaid = function loadMermaid() {
|
|
141
141
|
return _async_to_generator(function() {
|
|
142
142
|
return _ts_generator(this, function(_state) {
|
|
143
143
|
if (typeof window === 'undefined') {
|
|
@@ -168,7 +168,7 @@ var mermaidLoader = null;
|
|
|
168
168
|
};
|
|
169
169
|
/**
|
|
170
170
|
* 渲染 SVG 到容器
|
|
171
|
-
*/ export var renderSvgToContainer = function(svg, container) {
|
|
171
|
+
*/ export var renderSvgToContainer = function renderSvgToContainer(svg, container) {
|
|
172
172
|
container.innerHTML = '';
|
|
173
173
|
var wrapper = document.createElement('div');
|
|
174
174
|
wrapper.setAttribute('data-mermaid-wrapper', 'true');
|
|
@@ -205,7 +205,7 @@ var mermaidLoader = null;
|
|
|
205
205
|
};
|
|
206
206
|
/**
|
|
207
207
|
* 清理 Mermaid 生成的临时元素
|
|
208
|
-
*/ export var cleanupTempElement = function(id) {
|
|
208
|
+
*/ export var cleanupTempElement = function cleanupTempElement(id) {
|
|
209
209
|
var tempElement = document.querySelector('#d' + id);
|
|
210
210
|
if (tempElement) {
|
|
211
211
|
tempElement.classList.add('hidden');
|
package/dist/Quote/index.js
CHANGED
|
@@ -59,13 +59,13 @@ import { useStyle } from "./style";
|
|
|
59
59
|
* - 提供自定义样式和类名
|
|
60
60
|
* - 集成图标和动画效果
|
|
61
61
|
* - 支持响应式布局
|
|
62
|
-
*/ export var Quote = function(param) {
|
|
62
|
+
*/ export var Quote = function Quote(param) {
|
|
63
63
|
var fileName = param.fileName, lineRange = param.lineRange, quoteDescription = param.quoteDescription, popupDetail = param.popupDetail, _param_popupDirection = param.popupDirection, popupDirection = _param_popupDirection === void 0 ? 'left' : _param_popupDirection, _param_closable = param.closable, closable = _param_closable === void 0 ? false : _param_closable, onClose = param.onClose, className = param.className, style = param.style, onFileClick = param.onFileClick;
|
|
64
64
|
var getPrefixCls = useContext(ConfigProvider.ConfigContext).getPrefixCls;
|
|
65
65
|
var prefixCls = getPrefixCls('agentic-quote');
|
|
66
66
|
var _useStyle = useStyle(prefixCls), wrapSSR = _useStyle.wrapSSR, hashId = _useStyle.hashId;
|
|
67
67
|
// 处理文件名点击
|
|
68
|
-
var handleFileClick = function() {
|
|
68
|
+
var handleFileClick = function handleFileClick() {
|
|
69
69
|
if (onFileClick && fileName) {
|
|
70
70
|
onFileClick(fileName, lineRange);
|
|
71
71
|
}
|
package/dist/Quote/style.js
CHANGED
|
@@ -51,7 +51,7 @@ function _object_spread_props(target, source) {
|
|
|
51
51
|
return target;
|
|
52
52
|
}
|
|
53
53
|
import { useEditorStyleRegister } from "../Hooks/useStyle";
|
|
54
|
-
var genQuoteStyle = function(token) {
|
|
54
|
+
var genQuoteStyle = function genQuoteStyle(token) {
|
|
55
55
|
return _define_property({}, token.componentCls, {
|
|
56
56
|
'&-container': {
|
|
57
57
|
width: 'fit-content',
|
|
@@ -253,7 +253,7 @@ if (typeof window !== 'undefined' && !window.ResizeObserver) {
|
|
|
253
253
|
*
|
|
254
254
|
* 完全独立的AceEditor实现,不依赖其他组件
|
|
255
255
|
* 提供基础的代码编辑功能,支持语法高亮、只读模式等
|
|
256
|
-
*/ export var AceEditorWrapper = function(param) {
|
|
256
|
+
*/ export var AceEditorWrapper = function AceEditorWrapper(param) {
|
|
257
257
|
var value = param.value, _param_language = param.language, language = _param_language === void 0 ? 'text' : _param_language, onChange = param.onChange, _param_readonly = param.readonly, readonly = _param_readonly === void 0 ? false : _param_readonly, _param_className = param.className, className = _param_className === void 0 ? '' : _param_className, _param_height = param.height, height = _param_height === void 0 ? '100%' : _param_height, _param_options = param.options, options = _param_options === void 0 ? {} : _param_options;
|
|
258
258
|
var containerRef = useRef(null);
|
|
259
259
|
var editorRef = useRef();
|