@4399ywkf/design 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AiConversation/AiConversationEmpty/index.d.ts +10 -0
- package/dist/AiConversation/AiConversationEmpty/index.js +34 -0
- package/dist/AiConversation/AiConversationLayout/index.d.ts +10 -0
- package/dist/AiConversation/AiConversationLayout/index.js +41 -0
- package/dist/AiConversation/AiMessageBubble/index.d.ts +12 -0
- package/dist/AiConversation/AiMessageBubble/index.js +38 -0
- package/dist/AiConversation/AiMessageGroup/index.d.ts +9 -0
- package/dist/AiConversation/AiMessageGroup/index.js +28 -0
- package/dist/AiConversation/AiMessageMeta/index.d.ts +10 -0
- package/dist/AiConversation/AiMessageMeta/index.js +35 -0
- package/dist/AiConversation/AiPromptInput/index.d.ts +13 -0
- package/dist/AiConversation/AiPromptInput/index.js +77 -0
- package/dist/AiConversation/AiReferenceList/index.d.ts +13 -0
- package/dist/AiConversation/AiReferenceList/index.js +28 -0
- package/dist/AiConversation/AiStopGenerateButton/index.d.ts +7 -0
- package/dist/AiConversation/AiStopGenerateButton/index.js +28 -0
- package/dist/AiConversation/AiSuggestionChips/index.d.ts +9 -0
- package/dist/AiConversation/AiSuggestionChips/index.js +35 -0
- package/dist/AiConversation/AiTokenCounter/index.d.ts +10 -0
- package/dist/AiConversation/AiTokenCounter/index.js +20 -0
- package/dist/AiConversation/AiToolCallCard/index.d.ts +11 -0
- package/dist/AiConversation/AiToolCallCard/index.js +47 -0
- package/dist/AiConversation/AiTypingDots/index.d.ts +7 -0
- package/dist/AiConversation/AiTypingDots/index.js +34 -0
- package/dist/AiConversation/ThemeBridge.d.ts +18 -0
- package/dist/AiConversation/ThemeBridge.js +54 -0
- package/dist/AiConversation/_lobe/A/index.d.ts +6 -0
- package/dist/AiConversation/_lobe/A/index.js +26 -0
- package/dist/AiConversation/_lobe/Accordion/Accordion.d.ts +4 -0
- package/dist/AiConversation/_lobe/Accordion/Accordion.js +165 -0
- package/dist/AiConversation/_lobe/Accordion/AccordionItem.d.ts +4 -0
- package/dist/AiConversation/_lobe/Accordion/AccordionItem.js +395 -0
- package/dist/AiConversation/_lobe/Accordion/ArrowIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/Accordion/ArrowIcon.js +36 -0
- package/dist/AiConversation/_lobe/Accordion/context.d.ts +43 -0
- package/dist/AiConversation/_lobe/Accordion/context.js +49 -0
- package/dist/AiConversation/_lobe/Accordion/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/Accordion/index.js +3 -0
- package/dist/AiConversation/_lobe/Accordion/style.d.ts +14 -0
- package/dist/AiConversation/_lobe/Accordion/style.js +21 -0
- package/dist/AiConversation/_lobe/Accordion/type.d.ts +154 -0
- package/dist/AiConversation/_lobe/Accordion/type.js +1 -0
- package/dist/AiConversation/_lobe/ActionIcon/ActionIcon.d.ts +4 -0
- package/dist/AiConversation/_lobe/ActionIcon/ActionIcon.js +104 -0
- package/dist/AiConversation/_lobe/ActionIcon/components/utils.d.ts +5 -0
- package/dist/AiConversation/_lobe/ActionIcon/components/utils.js +47 -0
- package/dist/AiConversation/_lobe/ActionIcon/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/ActionIcon/index.js +1 -0
- package/dist/AiConversation/_lobe/ActionIcon/style.d.ts +22 -0
- package/dist/AiConversation/_lobe/ActionIcon/style.js +73 -0
- package/dist/AiConversation/_lobe/ActionIcon/type.d.ts +25 -0
- package/dist/AiConversation/_lobe/ActionIcon/type.js +1 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/ActionIconGroup.d.ts +4 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/ActionIconGroup.js +115 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/index.js +1 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/style.d.ts +15 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/style.js +45 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/type.d.ts +19 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/type.js +1 -0
- package/dist/AiConversation/_lobe/Alert/Alert.d.ts +4 -0
- package/dist/AiConversation/_lobe/Alert/Alert.js +157 -0
- package/dist/AiConversation/_lobe/Alert/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Alert/index.js +1 -0
- package/dist/AiConversation/_lobe/Alert/style.d.ts +40 -0
- package/dist/AiConversation/_lobe/Alert/style.js +158 -0
- package/dist/AiConversation/_lobe/Alert/type.d.ts +29 -0
- package/dist/AiConversation/_lobe/Alert/type.js +1 -0
- package/dist/AiConversation/_lobe/Avatar/Avatar.d.ts +4 -0
- package/dist/AiConversation/_lobe/Avatar/Avatar.js +133 -0
- package/dist/AiConversation/_lobe/Avatar/AvatarGroup/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Avatar/AvatarGroup/index.js +92 -0
- package/dist/AiConversation/_lobe/Avatar/AvatarGroup/style.d.ts +4 -0
- package/dist/AiConversation/_lobe/Avatar/AvatarGroup/style.js +11 -0
- package/dist/AiConversation/_lobe/Avatar/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/Avatar/index.js +6 -0
- package/dist/AiConversation/_lobe/Avatar/style.d.ts +12 -0
- package/dist/AiConversation/_lobe/Avatar/style.js +34 -0
- package/dist/AiConversation/_lobe/Avatar/type.d.ts +43 -0
- package/dist/AiConversation/_lobe/Avatar/type.js +1 -0
- package/dist/AiConversation/_lobe/Avatar/utils.d.ts +23 -0
- package/dist/AiConversation/_lobe/Avatar/utils.js +54 -0
- package/dist/AiConversation/_lobe/Block/Block.d.ts +4 -0
- package/dist/AiConversation/_lobe/Block/Block.js +39 -0
- package/dist/AiConversation/_lobe/Block/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Block/index.js +1 -0
- package/dist/AiConversation/_lobe/Block/style.d.ts +18 -0
- package/dist/AiConversation/_lobe/Block/style.js +61 -0
- package/dist/AiConversation/_lobe/Block/type.d.ts +9 -0
- package/dist/AiConversation/_lobe/Block/type.js +1 -0
- package/dist/AiConversation/_lobe/Button/Button.d.ts +4 -0
- package/dist/AiConversation/_lobe/Button/Button.js +67 -0
- package/dist/AiConversation/_lobe/Button/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Button/index.js +1 -0
- package/dist/AiConversation/_lobe/Button/style.d.ts +9 -0
- package/dist/AiConversation/_lobe/Button/style.js +30 -0
- package/dist/AiConversation/_lobe/Button/type.d.ts +10 -0
- package/dist/AiConversation/_lobe/Button/type.js +1 -0
- package/dist/AiConversation/_lobe/CodeEditor/CodeEditor.d.ts +4 -0
- package/dist/AiConversation/_lobe/CodeEditor/CodeEditor.js +94 -0
- package/dist/AiConversation/_lobe/CodeEditor/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/CodeEditor/index.js +1 -0
- package/dist/AiConversation/_lobe/CodeEditor/style.d.ts +11 -0
- package/dist/AiConversation/_lobe/CodeEditor/style.js +29 -0
- package/dist/AiConversation/_lobe/CodeEditor/type.d.ts +21 -0
- package/dist/AiConversation/_lobe/CodeEditor/type.js +1 -0
- package/dist/AiConversation/_lobe/ConfigProvider/index.d.ts +26 -0
- package/dist/AiConversation/_lobe/ConfigProvider/index.js +130 -0
- package/dist/AiConversation/_lobe/CopyButton/CopyButton.d.ts +4 -0
- package/dist/AiConversation/_lobe/CopyButton/CopyButton.js +66 -0
- package/dist/AiConversation/_lobe/CopyButton/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/CopyButton/index.js +2 -0
- package/dist/AiConversation/_lobe/CopyButton/type.d.ts +4 -0
- package/dist/AiConversation/_lobe/CopyButton/type.js +1 -0
- package/dist/AiConversation/_lobe/DraggablePanel/DraggablePanel.d.ts +4 -0
- package/dist/AiConversation/_lobe/DraggablePanel/DraggablePanel.js +496 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelBody.d.ts +5 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelBody.js +26 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelContainer.d.ts +5 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelContainer.js +25 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelFooter.d.ts +5 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelFooter.js +30 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelHeader.d.ts +11 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelHeader.js +70 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/style.d.ts +7 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/style.js +14 -0
- package/dist/AiConversation/_lobe/DraggablePanel/index.d.ts +20 -0
- package/dist/AiConversation/_lobe/DraggablePanel/index.js +17 -0
- package/dist/AiConversation/_lobe/DraggablePanel/style.d.ts +45 -0
- package/dist/AiConversation/_lobe/DraggablePanel/style.js +203 -0
- package/dist/AiConversation/_lobe/DraggablePanel/type.d.ts +49 -0
- package/dist/AiConversation/_lobe/DraggablePanel/type.js +1 -0
- package/dist/AiConversation/_lobe/DraggablePanel/utils.d.ts +2 -0
- package/dist/AiConversation/_lobe/DraggablePanel/utils.js +20 -0
- package/dist/AiConversation/_lobe/DropdownMenu/DropdownMenu.d.ts +4 -0
- package/dist/AiConversation/_lobe/DropdownMenu/DropdownMenu.js +118 -0
- package/dist/AiConversation/_lobe/DropdownMenu/atoms.d.ts +114 -0
- package/dist/AiConversation/_lobe/DropdownMenu/atoms.js +311 -0
- package/dist/AiConversation/_lobe/DropdownMenu/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/DropdownMenu/index.js +2 -0
- package/dist/AiConversation/_lobe/DropdownMenu/renderItems.d.ts +5 -0
- package/dist/AiConversation/_lobe/DropdownMenu/renderItems.js +185 -0
- package/dist/AiConversation/_lobe/DropdownMenu/type.d.ts +39 -0
- package/dist/AiConversation/_lobe/DropdownMenu/type.js +1 -0
- package/dist/AiConversation/_lobe/EditableText/ControlInput.d.ts +16 -0
- package/dist/AiConversation/_lobe/EditableText/ControlInput.js +109 -0
- package/dist/AiConversation/_lobe/EditableText/EditableText.d.ts +4 -0
- package/dist/AiConversation/_lobe/EditableText/EditableText.js +126 -0
- package/dist/AiConversation/_lobe/EditableText/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/EditableText/index.js +1 -0
- package/dist/AiConversation/_lobe/EditableText/type.d.ts +19 -0
- package/dist/AiConversation/_lobe/EditableText/type.js +1 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/FileTypeIcon.d.ts +4 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/FileTypeIcon.js +83 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/components/FileIcon.d.ts +12 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/components/FileIcon.js +55 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/components/FolderIcon.d.ts +12 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/components/FolderIcon.js +48 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/index.js +1 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/style.js +11 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/type.d.ts +13 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/type.js +1 -0
- package/dist/AiConversation/_lobe/Flex/Center.d.ts +4 -0
- package/dist/AiConversation/_lobe/Flex/Center.js +23 -0
- package/dist/AiConversation/_lobe/Flex/FlexBasic.d.ts +4 -0
- package/dist/AiConversation/_lobe/Flex/FlexBasic.js +81 -0
- package/dist/AiConversation/_lobe/Flex/Flexbox.d.ts +2 -0
- package/dist/AiConversation/_lobe/Flex/Flexbox.js +2 -0
- package/dist/AiConversation/_lobe/Flex/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Flex/index.js +3 -0
- package/dist/AiConversation/_lobe/Flex/style.css +36 -0
- package/dist/AiConversation/_lobe/Flex/type.d.ts +112 -0
- package/dist/AiConversation/_lobe/Flex/type.js +1 -0
- package/dist/AiConversation/_lobe/Flex/utils.d.ts +7 -0
- package/dist/AiConversation/_lobe/Flex/utils.js +39 -0
- package/dist/AiConversation/_lobe/FluentEmoji/FluentEmoji.d.ts +4 -0
- package/dist/AiConversation/_lobe/FluentEmoji/FluentEmoji.js +76 -0
- package/dist/AiConversation/_lobe/FluentEmoji/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/FluentEmoji/index.js +1 -0
- package/dist/AiConversation/_lobe/FluentEmoji/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/FluentEmoji/style.js +9 -0
- package/dist/AiConversation/_lobe/FluentEmoji/type.d.ts +10 -0
- package/dist/AiConversation/_lobe/FluentEmoji/type.js +1 -0
- package/dist/AiConversation/_lobe/FluentEmoji/utils.d.ts +9 -0
- package/dist/AiConversation/_lobe/FluentEmoji/utils.js +77 -0
- package/dist/AiConversation/_lobe/FontLoader/index.d.ts +6 -0
- package/dist/AiConversation/_lobe/FontLoader/index.js +36 -0
- package/dist/AiConversation/_lobe/Grid/Grid.d.ts +4 -0
- package/dist/AiConversation/_lobe/Grid/Grid.js +49 -0
- package/dist/AiConversation/_lobe/Grid/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Grid/index.js +1 -0
- package/dist/AiConversation/_lobe/Grid/style.d.ts +1 -0
- package/dist/AiConversation/_lobe/Grid/style.js +7 -0
- package/dist/AiConversation/_lobe/Grid/type.d.ts +8 -0
- package/dist/AiConversation/_lobe/Grid/type.js +1 -0
- package/dist/AiConversation/_lobe/Highlighter/FullFeatured.d.ts +10 -0
- package/dist/AiConversation/_lobe/Highlighter/FullFeatured.js +187 -0
- package/dist/AiConversation/_lobe/Highlighter/Highlighter.d.ts +4 -0
- package/dist/AiConversation/_lobe/Highlighter/Highlighter.js +167 -0
- package/dist/AiConversation/_lobe/Highlighter/LangSelect.d.ts +4 -0
- package/dist/AiConversation/_lobe/Highlighter/LangSelect.js +88 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/StaticRenderer.d.ts +17 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/StaticRenderer.js +42 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/StreamRenderer.d.ts +13 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/StreamRenderer.js +127 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/index.js +58 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/style.d.ts +15 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/style.js +45 -0
- package/dist/AiConversation/_lobe/Highlighter/const.d.ts +10 -0
- package/dist/AiConversation/_lobe/Highlighter/const.js +52 -0
- package/dist/AiConversation/_lobe/Highlighter/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Highlighter/index.js +3 -0
- package/dist/AiConversation/_lobe/Highlighter/style.d.ts +33 -0
- package/dist/AiConversation/_lobe/Highlighter/style.js +78 -0
- package/dist/AiConversation/_lobe/Highlighter/theme/lobe-theme.d.ts +57 -0
- package/dist/AiConversation/_lobe/Highlighter/theme/lobe-theme.js +422 -0
- package/dist/AiConversation/_lobe/Highlighter/type.d.ts +54 -0
- package/dist/AiConversation/_lobe/Highlighter/type.js +1 -0
- package/dist/AiConversation/_lobe/Hotkey/Hotkey.d.ts +4 -0
- package/dist/AiConversation/_lobe/Hotkey/Hotkey.js +183 -0
- package/dist/AiConversation/_lobe/Hotkey/const.d.ts +36 -0
- package/dist/AiConversation/_lobe/Hotkey/const.js +50 -0
- package/dist/AiConversation/_lobe/Hotkey/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Hotkey/index.js +3 -0
- package/dist/AiConversation/_lobe/Hotkey/style.d.ts +13 -0
- package/dist/AiConversation/_lobe/Hotkey/style.js +48 -0
- package/dist/AiConversation/_lobe/Hotkey/type.d.ts +15 -0
- package/dist/AiConversation/_lobe/Hotkey/type.js +1 -0
- package/dist/AiConversation/_lobe/Hotkey/utils.d.ts +5 -0
- package/dist/AiConversation/_lobe/Hotkey/utils.js +43 -0
- package/dist/AiConversation/_lobe/Icon/Icon.d.ts +4 -0
- package/dist/AiConversation/_lobe/Icon/Icon.js +68 -0
- package/dist/AiConversation/_lobe/Icon/components/IconProvider.d.ts +9 -0
- package/dist/AiConversation/_lobe/Icon/components/IconProvider.js +17 -0
- package/dist/AiConversation/_lobe/Icon/components/utils.d.ts +8 -0
- package/dist/AiConversation/_lobe/Icon/components/utils.js +45 -0
- package/dist/AiConversation/_lobe/Icon/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/Icon/index.js +2 -0
- package/dist/AiConversation/_lobe/Icon/style.d.ts +6 -0
- package/dist/AiConversation/_lobe/Icon/style.js +22 -0
- package/dist/AiConversation/_lobe/Icon/type.d.ts +15 -0
- package/dist/AiConversation/_lobe/Icon/type.js +1 -0
- package/dist/AiConversation/_lobe/Image/Image.d.ts +4 -0
- package/dist/AiConversation/_lobe/Image/Image.js +97 -0
- package/dist/AiConversation/_lobe/Image/PreviewGroup.d.ts +4 -0
- package/dist/AiConversation/_lobe/Image/PreviewGroup.js +23 -0
- package/dist/AiConversation/_lobe/Image/components/Preview.d.ts +6 -0
- package/dist/AiConversation/_lobe/Image/components/Preview.js +27 -0
- package/dist/AiConversation/_lobe/Image/components/Toolbar.d.ts +10 -0
- package/dist/AiConversation/_lobe/Image/components/Toolbar.js +207 -0
- package/dist/AiConversation/_lobe/Image/components/usePreview.d.ts +4 -0
- package/dist/AiConversation/_lobe/Image/components/usePreview.js +86 -0
- package/dist/AiConversation/_lobe/Image/components/usePreviewGroup.d.ts +4 -0
- package/dist/AiConversation/_lobe/Image/components/usePreviewGroup.js +79 -0
- package/dist/AiConversation/_lobe/Image/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/Image/index.js +6 -0
- package/dist/AiConversation/_lobe/Image/style.d.ts +18 -0
- package/dist/AiConversation/_lobe/Image/style.js +37 -0
- package/dist/AiConversation/_lobe/Image/type.d.ts +39 -0
- package/dist/AiConversation/_lobe/Image/type.js +1 -0
- package/dist/AiConversation/_lobe/Img/index.d.ts +9 -0
- package/dist/AiConversation/_lobe/Img/index.js +33 -0
- package/dist/AiConversation/_lobe/Input/Input.d.ts +4 -0
- package/dist/AiConversation/_lobe/Input/Input.js +35 -0
- package/dist/AiConversation/_lobe/Input/InputNumber.d.ts +4 -0
- package/dist/AiConversation/_lobe/Input/InputNumber.js +35 -0
- package/dist/AiConversation/_lobe/Input/InputOPT.d.ts +4 -0
- package/dist/AiConversation/_lobe/Input/InputOPT.js +35 -0
- package/dist/AiConversation/_lobe/Input/InputPassword.d.ts +4 -0
- package/dist/AiConversation/_lobe/Input/InputPassword.js +35 -0
- package/dist/AiConversation/_lobe/Input/TextArea.d.ts +4 -0
- package/dist/AiConversation/_lobe/Input/TextArea.js +41 -0
- package/dist/AiConversation/_lobe/Input/index.d.ts +6 -0
- package/dist/AiConversation/_lobe/Input/index.js +5 -0
- package/dist/AiConversation/_lobe/Input/style.d.ts +20 -0
- package/dist/AiConversation/_lobe/Input/style.js +55 -0
- package/dist/AiConversation/_lobe/Input/type.d.ts +27 -0
- package/dist/AiConversation/_lobe/Input/type.js +1 -0
- package/dist/AiConversation/_lobe/Markdown/Markdown.d.ts +4 -0
- package/dist/AiConversation/_lobe/Markdown/Markdown.js +123 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/MarkdownRender.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/MarkdownRender.js +32 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/StreamdownRender.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/StreamdownRender.js +341 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/index.js +2 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/streamAnimationMeta.d.ts +13 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/streamAnimationMeta.js +16 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/style.js +10 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/useSmoothStreamContent.d.ts +8 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/useSmoothStreamContent.js +278 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/useStreamQueue.d.ts +11 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/useStreamQueue.js +111 -0
- package/dist/AiConversation/_lobe/Markdown/Typography.d.ts +4 -0
- package/dist/AiConversation/_lobe/Markdown/Typography.js +48 -0
- package/dist/AiConversation/_lobe/Markdown/components/CodeBlock.d.ts +18 -0
- package/dist/AiConversation/_lobe/Markdown/components/CodeBlock.js +66 -0
- package/dist/AiConversation/_lobe/Markdown/components/Footnotes.d.ts +8 -0
- package/dist/AiConversation/_lobe/Markdown/components/Footnotes.js +123 -0
- package/dist/AiConversation/_lobe/Markdown/components/MarkdownProvider.d.ts +6 -0
- package/dist/AiConversation/_lobe/Markdown/components/MarkdownProvider.js +19 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/SearchResultCard.d.ts +10 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/SearchResultCard.js +90 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/index.d.ts +14 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/index.js +43 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/style.d.ts +4 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/style.js +10 -0
- package/dist/AiConversation/_lobe/Markdown/components/useDelayedAnimated.d.ts +1 -0
- package/dist/AiConversation/_lobe/Markdown/components/useDelayedAnimated.js +31 -0
- package/dist/AiConversation/_lobe/Markdown/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/index.js +2 -0
- package/dist/AiConversation/_lobe/Markdown/markdown.style.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/markdown.style.js +30 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeCustomFootnotes.d.ts +1 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeCustomFootnotes.js +56 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeKatexDir.d.ts +2 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeKatexDir.js +15 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeStreamAnimated.d.ts +8 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeStreamAnimated.js +109 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkBr.d.ts +6 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkBr.js +104 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkColor.d.ts +17 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkColor.js +188 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkCustomFootnotes.d.ts +6 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkCustomFootnotes.js +31 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkGfmPlus.d.ts +5 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkGfmPlus.js +141 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkVideo.d.ts +17 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkVideo.js +183 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/StreamdownProfilerPanel.d.ts +7 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/StreamdownProfilerPanel.js +499 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/StreamdownProfilerProvider.d.ts +7 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/StreamdownProfilerProvider.js +18 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/index.js +3 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/profiler.d.ts +128 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/profiler.js +365 -0
- package/dist/AiConversation/_lobe/Markdown/style.d.ts +11 -0
- package/dist/AiConversation/_lobe/Markdown/style.js +35 -0
- package/dist/AiConversation/_lobe/Markdown/type.d.ts +58 -0
- package/dist/AiConversation/_lobe/Markdown/type.js +1 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/MaterialFileTypeIcon.d.ts +4 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/MaterialFileTypeIcon.js +89 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/icon-map.json +4915 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/index.js +1 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/type.d.ts +13 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/type.js +1 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/utils.d.ts +17 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/utils.js +48 -0
- package/dist/AiConversation/_lobe/Menu/Menu.d.ts +4 -0
- package/dist/AiConversation/_lobe/Menu/Menu.js +73 -0
- package/dist/AiConversation/_lobe/Menu/baseItem.d.ts +28 -0
- package/dist/AiConversation/_lobe/Menu/baseItem.js +1 -0
- package/dist/AiConversation/_lobe/Menu/checkboxItem.d.ts +21 -0
- package/dist/AiConversation/_lobe/Menu/checkboxItem.js +1 -0
- package/dist/AiConversation/_lobe/Menu/index.d.ts +7 -0
- package/dist/AiConversation/_lobe/Menu/index.js +3 -0
- package/dist/AiConversation/_lobe/Menu/renderUtils.d.ts +33 -0
- package/dist/AiConversation/_lobe/Menu/renderUtils.js +59 -0
- package/dist/AiConversation/_lobe/Menu/sharedStyle.d.ts +18 -0
- package/dist/AiConversation/_lobe/Menu/sharedStyle.js +25 -0
- package/dist/AiConversation/_lobe/Menu/style.d.ts +13 -0
- package/dist/AiConversation/_lobe/Menu/style.js +39 -0
- package/dist/AiConversation/_lobe/Menu/switchItem.d.ts +21 -0
- package/dist/AiConversation/_lobe/Menu/switchItem.js +1 -0
- package/dist/AiConversation/_lobe/Menu/type.d.ts +41 -0
- package/dist/AiConversation/_lobe/Menu/type.js +1 -0
- package/dist/AiConversation/_lobe/Menu/utils.d.ts +3 -0
- package/dist/AiConversation/_lobe/Menu/utils.js +47 -0
- package/dist/AiConversation/_lobe/Mermaid/FullFeatured.d.ts +8 -0
- package/dist/AiConversation/_lobe/Mermaid/FullFeatured.js +157 -0
- package/dist/AiConversation/_lobe/Mermaid/Mermaid.d.ts +5 -0
- package/dist/AiConversation/_lobe/Mermaid/Mermaid.js +130 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/StaticMermaid.d.ts +13 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/StaticMermaid.js +118 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/StreamMermaid.d.ts +13 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/StreamMermaid.js +123 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/index.js +58 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/style.d.ts +15 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/style.js +45 -0
- package/dist/AiConversation/_lobe/Mermaid/const.d.ts +7 -0
- package/dist/AiConversation/_lobe/Mermaid/const.js +24 -0
- package/dist/AiConversation/_lobe/Mermaid/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Mermaid/index.js +3 -0
- package/dist/AiConversation/_lobe/Mermaid/postProcessMermaidSvg.d.ts +12 -0
- package/dist/AiConversation/_lobe/Mermaid/postProcessMermaidSvg.js +289 -0
- package/dist/AiConversation/_lobe/Mermaid/type.d.ts +48 -0
- package/dist/AiConversation/_lobe/Mermaid/type.js +1 -0
- package/dist/AiConversation/_lobe/Modal/Modal.d.ts +4 -0
- package/dist/AiConversation/_lobe/Modal/Modal.js +167 -0
- package/dist/AiConversation/_lobe/Modal/ModalProvider.d.ts +8 -0
- package/dist/AiConversation/_lobe/Modal/ModalProvider.js +23 -0
- package/dist/AiConversation/_lobe/Modal/ModalStackItem.d.ts +10 -0
- package/dist/AiConversation/_lobe/Modal/ModalStackItem.js +69 -0
- package/dist/AiConversation/_lobe/Modal/RawModalStackItem.d.ts +12 -0
- package/dist/AiConversation/_lobe/Modal/RawModalStackItem.js +47 -0
- package/dist/AiConversation/_lobe/Modal/imperative.d.ts +8 -0
- package/dist/AiConversation/_lobe/Modal/imperative.js +238 -0
- package/dist/AiConversation/_lobe/Modal/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Modal/index.js +3 -0
- package/dist/AiConversation/_lobe/Modal/style.d.ts +7 -0
- package/dist/AiConversation/_lobe/Modal/style.js +14 -0
- package/dist/AiConversation/_lobe/Modal/type.d.ts +38 -0
- package/dist/AiConversation/_lobe/Modal/type.js +1 -0
- package/dist/AiConversation/_lobe/MotionProvider/index.d.ts +9 -0
- package/dist/AiConversation/_lobe/MotionProvider/index.js +20 -0
- package/dist/AiConversation/_lobe/Provider.d.ts +3 -0
- package/dist/AiConversation/_lobe/Provider.js +2 -0
- package/dist/AiConversation/_lobe/ScrollShadow/ScrollShadow.d.ts +4 -0
- package/dist/AiConversation/_lobe/ScrollShadow/ScrollShadow.js +128 -0
- package/dist/AiConversation/_lobe/ScrollShadow/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/ScrollShadow/index.js +1 -0
- package/dist/AiConversation/_lobe/ScrollShadow/style.d.ts +17 -0
- package/dist/AiConversation/_lobe/ScrollShadow/style.js +47 -0
- package/dist/AiConversation/_lobe/ScrollShadow/type.d.ts +17 -0
- package/dist/AiConversation/_lobe/ScrollShadow/type.js +1 -0
- package/dist/AiConversation/_lobe/ScrollShadow/useScrollOverflow.d.ts +21 -0
- package/dist/AiConversation/_lobe/ScrollShadow/useScrollOverflow.js +83 -0
- package/dist/AiConversation/_lobe/Select/Select.d.ts +7 -0
- package/dist/AiConversation/_lobe/Select/Select.js +50 -0
- package/dist/AiConversation/_lobe/Select/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Select/index.js +1 -0
- package/dist/AiConversation/_lobe/Select/style.d.ts +11 -0
- package/dist/AiConversation/_lobe/Select/style.js +33 -0
- package/dist/AiConversation/_lobe/Select/type.d.ts +9 -0
- package/dist/AiConversation/_lobe/Select/type.js +1 -0
- package/dist/AiConversation/_lobe/Snippet/Snippet.d.ts +4 -0
- package/dist/AiConversation/_lobe/Snippet/Snippet.js +57 -0
- package/dist/AiConversation/_lobe/Snippet/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Snippet/index.js +1 -0
- package/dist/AiConversation/_lobe/Snippet/style.d.ts +12 -0
- package/dist/AiConversation/_lobe/Snippet/style.js +34 -0
- package/dist/AiConversation/_lobe/Snippet/type.d.ts +12 -0
- package/dist/AiConversation/_lobe/Snippet/type.js +1 -0
- package/dist/AiConversation/_lobe/Tabs/Tabs.d.ts +4 -0
- package/dist/AiConversation/_lobe/Tabs/Tabs.js +50 -0
- package/dist/AiConversation/_lobe/Tabs/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Tabs/index.js +1 -0
- package/dist/AiConversation/_lobe/Tabs/style.d.ts +14 -0
- package/dist/AiConversation/_lobe/Tabs/style.js +40 -0
- package/dist/AiConversation/_lobe/Tabs/type.d.ts +5 -0
- package/dist/AiConversation/_lobe/Tabs/type.js +1 -0
- package/dist/AiConversation/_lobe/Tag/Tag.d.ts +4 -0
- package/dist/AiConversation/_lobe/Tag/Tag.js +79 -0
- package/dist/AiConversation/_lobe/Tag/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Tag/index.js +1 -0
- package/dist/AiConversation/_lobe/Tag/styles.d.ts +12 -0
- package/dist/AiConversation/_lobe/Tag/styles.js +36 -0
- package/dist/AiConversation/_lobe/Tag/type.d.ts +8 -0
- package/dist/AiConversation/_lobe/Tag/type.js +1 -0
- package/dist/AiConversation/_lobe/Tag/utils.d.ts +4 -0
- package/dist/AiConversation/_lobe/Tag/utils.js +24 -0
- package/dist/AiConversation/_lobe/Text/Text.d.ts +4 -0
- package/dist/AiConversation/_lobe/Text/Text.js +117 -0
- package/dist/AiConversation/_lobe/Text/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Text/index.js +1 -0
- package/dist/AiConversation/_lobe/Text/styles.d.ts +35 -0
- package/dist/AiConversation/_lobe/Text/styles.js +77 -0
- package/dist/AiConversation/_lobe/Text/type.d.ts +41 -0
- package/dist/AiConversation/_lobe/Text/type.js +1 -0
- package/dist/AiConversation/_lobe/ThemeProvider/AppElementContext.d.ts +4 -0
- package/dist/AiConversation/_lobe/ThemeProvider/AppElementContext.js +8 -0
- package/dist/AiConversation/_lobe/ThemeProvider/ConfigProvider.d.ts +5 -0
- package/dist/AiConversation/_lobe/ThemeProvider/ConfigProvider.js +40 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/antdOverride.d.ts +3 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/antdOverride.js +9 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/global.d.ts +3 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/global.js +7 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/index.js +10 -0
- package/dist/AiConversation/_lobe/ThemeProvider/Meta.d.ts +4 -0
- package/dist/AiConversation/_lobe/ThemeProvider/Meta.js +78 -0
- package/dist/AiConversation/_lobe/ThemeProvider/ThemeProvider.d.ts +4 -0
- package/dist/AiConversation/_lobe/ThemeProvider/ThemeProvider.js +138 -0
- package/dist/AiConversation/_lobe/ThemeProvider/constants.d.ts +1 -0
- package/dist/AiConversation/_lobe/ThemeProvider/constants.js +1 -0
- package/dist/AiConversation/_lobe/ThemeProvider/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/ThemeProvider/index.js +4 -0
- package/dist/AiConversation/_lobe/ThemeProvider/type.d.ts +25 -0
- package/dist/AiConversation/_lobe/ThemeProvider/type.js +1 -0
- package/dist/AiConversation/_lobe/Tooltip/ArrowIcon.d.ts +1 -0
- package/dist/AiConversation/_lobe/Tooltip/ArrowIcon.js +17 -0
- package/dist/AiConversation/_lobe/Tooltip/Tooltip.d.ts +4 -0
- package/dist/AiConversation/_lobe/Tooltip/Tooltip.js +19 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipContent.d.ts +9 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipContent.js +30 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipGroup.d.ts +4 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipGroup.js +160 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipInGroup.d.ts +3 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipInGroup.js +138 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipStandalone.d.ts +7 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipStandalone.js +217 -0
- package/dist/AiConversation/_lobe/Tooltip/groupContext.d.ts +14 -0
- package/dist/AiConversation/_lobe/Tooltip/groupContext.js +5 -0
- package/dist/AiConversation/_lobe/Tooltip/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/Tooltip/index.js +2 -0
- package/dist/AiConversation/_lobe/Tooltip/style.d.ts +6 -0
- package/dist/AiConversation/_lobe/Tooltip/style.js +13 -0
- package/dist/AiConversation/_lobe/Tooltip/type.d.ts +175 -0
- package/dist/AiConversation/_lobe/Tooltip/type.js +1 -0
- package/dist/AiConversation/_lobe/Tooltip/useMergedTooltipProps.d.ts +3 -0
- package/dist/AiConversation/_lobe/Tooltip/useMergedTooltipProps.js +91 -0
- package/dist/AiConversation/_lobe/Video/index.d.ts +39 -0
- package/dist/AiConversation/_lobe/Video/index.js +156 -0
- package/dist/AiConversation/_lobe/Video/style.d.ts +12 -0
- package/dist/AiConversation/_lobe/Video/style.js +33 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/AuroraBackground.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/AuroraBackground.js +47 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/style.js +14 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/type.d.ts +13 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/BottomGradientButton.d.ts +3 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/BottomGradientButton.js +37 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/style.d.ts +1 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/style.js +9 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/type.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Features/FeatureItem.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Features/FeatureItem.js +105 -0
- package/dist/AiConversation/_lobe/awesome/Features/Features.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Features/Features.js +41 -0
- package/dist/AiConversation/_lobe/awesome/Features/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Features/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Features/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/awesome/Features/style.js +28 -0
- package/dist/AiConversation/_lobe/awesome/Features/type.d.ts +27 -0
- package/dist/AiConversation/_lobe/awesome/Features/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/Giscus.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/Giscus.js +51 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/style.js +32 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/type.d.ts +6 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/GradientButton.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/GradientButton.js +68 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/style.js +14 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/type.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/GridBackground.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/GridBackground.js +114 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/GridShowcase.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/GridShowcase.js +59 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/components/Grid.d.ts +26 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/components/Grid.js +103 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/index.js +2 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/style.d.ts +7 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/style.js +17 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/type.d.ts +18 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Hero/Hero.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Hero/Hero.js +98 -0
- package/dist/AiConversation/_lobe/awesome/Hero/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Hero/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Hero/style.d.ts +6 -0
- package/dist/AiConversation/_lobe/awesome/Hero/style.js +14 -0
- package/dist/AiConversation/_lobe/awesome/Hero/type.d.ts +14 -0
- package/dist/AiConversation/_lobe/awesome/Hero/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Spline/ParentSize.d.ts +36 -0
- package/dist/AiConversation/_lobe/awesome/Spline/ParentSize.js +119 -0
- package/dist/AiConversation/_lobe/awesome/Spline/Spine.d.ts +6 -0
- package/dist/AiConversation/_lobe/awesome/Spline/Spine.js +148 -0
- package/dist/AiConversation/_lobe/awesome/Spline/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Spline/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Spline/type.d.ts +17 -0
- package/dist/AiConversation/_lobe/awesome/Spline/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/Spotlight.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/Spotlight.js +52 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/style.d.ts +6 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/style.js +13 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/type.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/useMouseOffset.d.ts +1 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/useMouseOffset.js +43 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/SpotlightCard.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/SpotlightCard.js +91 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/SpotlightCardItem.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/SpotlightCardItem.js +45 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/style.d.ts +8 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/style.js +15 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/type.d.ts +16 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/TypewriterEffect.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/TypewriterEffect.js +314 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/style.js +17 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/type.d.ts +126 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/awesome/index.js +11 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/ContextMenuHost.d.ts +2 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/ContextMenuHost.js +72 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/ContextMenuTrigger.d.ts +15 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/ContextMenuTrigger.js +56 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/imperative.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/imperative.js +3 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/index.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/renderItems.d.ts +5 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/renderItems.js +278 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/store.d.ts +28 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/store.js +114 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/style.d.ts +1 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/style.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/type.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/DropdownMenu.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/DropdownMenu.js +118 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/atoms.d.ts +114 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/atoms.js +318 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/index.js +3 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/renderItems.d.ts +5 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/renderItems.js +185 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/type.d.ts +39 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/FloatingSheet.d.ts +2 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/FloatingSheet.js +291 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/FloatingSheetHeader.d.ts +11 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/FloatingSheetHeader.js +34 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/helpers.d.ts +16 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/helpers.js +27 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/index.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/style.d.ts +18 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/style.js +27 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/type.d.ts +21 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/useSheetDrag.d.ts +12 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/useSheetDrag.js +67 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/useSnapPoints.d.ts +29 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/useSnapPoints.js +101 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/Modal.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/Modal.js +329 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/atoms.d.ts +50 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/atoms.js +313 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/constants.d.ts +5 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/constants.js +31 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/context.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/context.js +14 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/imperative.d.ts +20 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/imperative.js +383 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/index.d.ts +6 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/index.js +5 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/style.d.ts +22 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/style.js +29 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/type.d.ts +106 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/zIndexManager.d.ts +1 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/zIndexManager.js +6 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/ArrowIcon.d.ts +1 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/ArrowIcon.js +17 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/Popover.d.ts +5 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/Popover.js +23 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverGroup.d.ts +7 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverGroup.js +155 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverInGroup.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverInGroup.js +91 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverPortal.d.ts +1 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverPortal.js +9 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverStandalone.d.ts +7 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverStandalone.js +203 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/atoms.d.ts +49 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/atoms.js +162 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/context.d.ts +10 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/context.js +23 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/groupContext.d.ts +24 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/groupContext.js +5 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/index.d.ts +8 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/index.js +6 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/style.d.ts +7 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/style.js +14 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/type.d.ts +148 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/useMergedPopoverProps.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/useMergedPopoverProps.js +79 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/ScrollArea.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/ScrollArea.js +38 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/atoms.d.ts +38 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/atoms.js +81 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/globalStyle.d.ts +9 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/globalStyle.js +16 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/index.js +2 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/style.d.ts +9 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/style.js +16 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/type.d.ts +12 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Select/Select.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/Select/Select.js +700 -0
- package/dist/AiConversation/_lobe/base-ui/Select/atoms.d.ts +91 -0
- package/dist/AiConversation/_lobe/base-ui/Select/atoms.js +223 -0
- package/dist/AiConversation/_lobe/base-ui/Select/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/Select/index.js +2 -0
- package/dist/AiConversation/_lobe/base-ui/Select/style.d.ts +37 -0
- package/dist/AiConversation/_lobe/base-ui/Select/style.js +64 -0
- package/dist/AiConversation/_lobe/base-ui/Select/type.d.ts +106 -0
- package/dist/AiConversation/_lobe/base-ui/Select/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/Switch.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/Switch.js +87 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/atoms.d.ts +20 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/atoms.js +201 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/index.js +2 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/style.d.ts +21 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/style.js +45 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/type.d.ts +126 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/Toast.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/Toast.js +155 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/context.d.ts +8 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/context.js +10 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/imperative.d.ts +32 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/imperative.js +297 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/index.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/style.d.ts +37 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/style.js +82 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/type.d.ts +144 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/index.d.ts +12 -0
- package/dist/AiConversation/_lobe/base-ui/index.js +11 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/BackBottom.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/BackBottom.js +61 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/style.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/style.js +11 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/type.d.ts +11 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/Bubble/Bubble.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/Bubble/Bubble.js +36 -0
- package/dist/AiConversation/_lobe/chat/Bubble/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/Bubble/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/Bubble/style.d.ts +11 -0
- package/dist/AiConversation/_lobe/chat/Bubble/style.js +33 -0
- package/dist/AiConversation/_lobe/chat/Bubble/type.d.ts +7 -0
- package/dist/AiConversation/_lobe/chat/Bubble/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/ChatHeader.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/ChatHeader.js +77 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/ChatHeaderTitle.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/ChatHeaderTitle.js +45 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/index.js +6 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/style.d.ts +14 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/style.js +25 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/type.d.ts +28 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/ChatInputArea.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/ChatInputArea.js +70 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatInputActionBar.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatInputActionBar.js +54 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatInputAreaInner.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatInputAreaInner.js +61 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatSendButton.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatSendButton.js +81 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/index.d.ts +17 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/index.js +12 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/style.js +20 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/type.d.ts +50 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/ChatItem.d.ts +5 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/ChatItem.js +199 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Actions.d.ts +11 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Actions.js +28 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Avatar.d.ts +15 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Avatar.js +55 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/BorderSpacing.d.ts +6 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/BorderSpacing.js +12 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/ErrorContent.d.ts +9 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/ErrorContent.js +24 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Loading.d.ts +8 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Loading.js +25 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/MessageContent.d.ts +20 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/MessageContent.js +61 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Title.d.ts +11 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Title.js +23 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/style.d.ts +29 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/style.js +42 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/type.d.ts +89 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/ChatList/ChatList.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatList/ChatList.js +70 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/ChatActionsBar.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/ChatActionsBar.js +29 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/ChatListItem.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/ChatListItem.js +185 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/HistoryDivider.d.ts +7 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/HistoryDivider.js +24 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/useChatListActionsBar.d.ts +17 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/useChatListActionsBar.js +33 -0
- package/dist/AiConversation/_lobe/chat/ChatList/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/chat/ChatList/index.js +2 -0
- package/dist/AiConversation/_lobe/chat/ChatList/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/chat/ChatList/style.js +9 -0
- package/dist/AiConversation/_lobe/chat/ChatList/type.d.ts +94 -0
- package/dist/AiConversation/_lobe/chat/ChatList/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/EditableMessage.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/EditableMessage.js +117 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/type.d.ts +37 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/EditableMessageList.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/EditableMessageList.js +126 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/messageReducer.d.ts +37 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/messageReducer.js +81 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/type.d.ts +15 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/LoadingDots.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/LoadingDots.js +138 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/style.js +24 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/type.d.ts +27 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/MessageInput.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/MessageInput.js +139 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/style.d.ts +1 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/style.js +8 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/type.d.ts +25 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/MessageModal.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/MessageModal.js +138 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/TextArea.d.ts +8 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/TextArea.js +41 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/type.d.ts +23 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/TokenTag.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/TokenTag.js +73 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/type.d.ts +12 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/index.d.ts +12 -0
- package/dist/AiConversation/_lobe/chat/index.js +12 -0
- package/dist/AiConversation/_lobe/chat/types/chatMessage.d.ts +43 -0
- package/dist/AiConversation/_lobe/chat/types/chatMessage.js +1 -0
- package/dist/AiConversation/_lobe/chat/types/error.d.ts +20 -0
- package/dist/AiConversation/_lobe/chat/types/error.js +23 -0
- package/dist/AiConversation/_lobe/chat/types/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/types/index.js +4 -0
- package/dist/AiConversation/_lobe/chat/types/llm.d.ts +47 -0
- package/dist/AiConversation/_lobe/chat/types/llm.js +12 -0
- package/dist/AiConversation/_lobe/chat/types/meta.d.ts +26 -0
- package/dist/AiConversation/_lobe/chat/types/meta.js +1 -0
- package/dist/AiConversation/_lobe/color/ColorScales/ScaleRow.d.ts +8 -0
- package/dist/AiConversation/_lobe/color/ColorScales/ScaleRow.js +85 -0
- package/dist/AiConversation/_lobe/color/ColorScales/index.d.ts +18 -0
- package/dist/AiConversation/_lobe/color/ColorScales/index.js +76 -0
- package/dist/AiConversation/_lobe/color/ColorScales/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/color/ColorScales/style.js +17 -0
- package/dist/AiConversation/_lobe/color/CssVar/ScaleRow.d.ts +8 -0
- package/dist/AiConversation/_lobe/color/CssVar/ScaleRow.js +61 -0
- package/dist/AiConversation/_lobe/color/CssVar/VarRow.d.ts +6 -0
- package/dist/AiConversation/_lobe/color/CssVar/VarRow.js +56 -0
- package/dist/AiConversation/_lobe/color/CssVar/index.d.ts +18 -0
- package/dist/AiConversation/_lobe/color/CssVar/index.js +87 -0
- package/dist/AiConversation/_lobe/color/CssVar/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/color/CssVar/style.js +17 -0
- package/dist/AiConversation/_lobe/color/colors/blue.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/blue.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/cyan.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/cyan.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/geekblue.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/geekblue.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/gold.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/gold.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/gray.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/gray.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/green.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/green.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/index.d.ts +33 -0
- package/dist/AiConversation/_lobe/color/colors/index.js +45 -0
- package/dist/AiConversation/_lobe/color/colors/lime.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/lime.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/magenta.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/magenta.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/orange.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/orange.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/primary.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/primary.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/purple.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/purple.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/red.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/red.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/volcano.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/volcano.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/yellow.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/yellow.js +7 -0
- package/dist/AiConversation/_lobe/color/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/color/index.js +4 -0
- package/dist/AiConversation/_lobe/color/neutrals/index.d.ts +15 -0
- package/dist/AiConversation/_lobe/color/neutrals/index.js +18 -0
- package/dist/AiConversation/_lobe/color/neutrals/mauve.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/neutrals/mauve.js +7 -0
- package/dist/AiConversation/_lobe/color/neutrals/olive.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/neutrals/olive.js +7 -0
- package/dist/AiConversation/_lobe/color/neutrals/sage.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/neutrals/sage.js +7 -0
- package/dist/AiConversation/_lobe/color/neutrals/sand.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/neutrals/sand.js +7 -0
- package/dist/AiConversation/_lobe/color/neutrals/slate.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/neutrals/slate.js +7 -0
- package/dist/AiConversation/_lobe/color/types.d.ts +22 -0
- package/dist/AiConversation/_lobe/color/types.js +1 -0
- package/dist/AiConversation/_lobe/hooks/useCopied.d.ts +4 -0
- package/dist/AiConversation/_lobe/hooks/useCopied.js +33 -0
- package/dist/AiConversation/_lobe/hooks/useEventCallback.d.ts +1 -0
- package/dist/AiConversation/_lobe/hooks/useEventCallback.js +10 -0
- package/dist/AiConversation/_lobe/hooks/useFloatingLayer.d.ts +17 -0
- package/dist/AiConversation/_lobe/hooks/useFloatingLayer.js +24 -0
- package/dist/AiConversation/_lobe/hooks/useHighlight.d.ts +17 -0
- package/dist/AiConversation/_lobe/hooks/useHighlight.js +246 -0
- package/dist/AiConversation/_lobe/hooks/useIsClient.d.ts +1 -0
- package/dist/AiConversation/_lobe/hooks/useIsClient.js +18 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/index.js +4 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/latex.d.ts +179 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/latex.js +529 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownComponents.d.ts +2 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownComponents.js +140 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownContent.d.ts +1 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownContent.js +64 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownRehypePlugins.d.ts +2 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownRehypePlugins.js +32 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownRemarkPlugins.d.ts +2 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownRemarkPlugins.js +40 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/utils.d.ts +30 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/utils.js +137 -0
- package/dist/AiConversation/_lobe/hooks/useMermaid.d.ts +13 -0
- package/dist/AiConversation/_lobe/hooks/useMermaid.js +201 -0
- package/dist/AiConversation/_lobe/hooks/useNativeButton.d.ts +32 -0
- package/dist/AiConversation/_lobe/hooks/useNativeButton.js +121 -0
- package/dist/AiConversation/_lobe/hooks/useStreamHighlight.d.ts +8 -0
- package/dist/AiConversation/_lobe/hooks/useStreamHighlight.js +414 -0
- package/dist/AiConversation/_lobe/hooks/useStreamMermaid.d.ts +9 -0
- package/dist/AiConversation/_lobe/hooks/useStreamMermaid.js +137 -0
- package/dist/AiConversation/_lobe/hooks/useTextOverflow.d.ts +7 -0
- package/dist/AiConversation/_lobe/hooks/useTextOverflow.js +37 -0
- package/dist/AiConversation/_lobe/i18n/context.d.ts +13 -0
- package/dist/AiConversation/_lobe/i18n/context.js +25 -0
- package/dist/AiConversation/_lobe/i18n/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/i18n/index.js +3 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/chat.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/chat.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/common.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/common.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/editableMessage.d.ts +10 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/editableMessage.js +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/emojiPicker.d.ts +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/emojiPicker.js +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/form.d.ts +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/form.js +6 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/hotkey.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/hotkey.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/image.d.ts +15 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/image.js +14 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/index.d.ts +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/index.js +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/messageModal.d.ts +6 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/messageModal.js +5 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/sideNav.d.ts +18 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/sideNav.js +17 -0
- package/dist/AiConversation/_lobe/i18n/resources/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/i18n/resources/index.js +5 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/chat.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/chat.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/common.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/common.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/editableMessage.d.ts +10 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/editableMessage.js +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/emojiPicker.d.ts +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/emojiPicker.js +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/form.d.ts +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/form.js +6 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/hotkey.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/hotkey.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/image.d.ts +15 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/image.js +14 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/index.d.ts +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/index.js +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/messageModal.d.ts +6 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/messageModal.js +5 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/sideNav.d.ts +18 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/sideNav.js +17 -0
- package/dist/AiConversation/_lobe/i18n/types.d.ts +18 -0
- package/dist/AiConversation/_lobe/i18n/types.js +1 -0
- package/dist/AiConversation/_lobe/i18n/useTranslation.d.ts +5 -0
- package/dist/AiConversation/_lobe/i18n/useTranslation.js +19 -0
- package/dist/AiConversation/_lobe/icons/Auth0/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Auth0/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Auth0/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Auth0/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/Auth0/index.d.ts +9 -0
- package/dist/AiConversation/_lobe/icons/Auth0/index.js +10 -0
- package/dist/AiConversation/_lobe/icons/Auth0/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Auth0/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Color.js +132 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Mono.js +48 -0
- package/dist/AiConversation/_lobe/icons/Authelia/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Authelia/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Authelia/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Authelia/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Color.js +41 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Mono.js +41 -0
- package/dist/AiConversation/_lobe/icons/Authentik/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Authentik/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Authentik/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Authentik/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Color.js +98 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Mono.js +44 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Color.js +43 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Mono.js +43 -0
- package/dist/AiConversation/_lobe/icons/Clerk/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Clerk/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Clerk/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Clerk/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/Discord/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Discord/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Discord/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Discord/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Avatar.js +27 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Color.js +86 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Avatar.js +27 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Inner.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Inner.js +40 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/IMessage/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/IMessage/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/IMessage/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/IMessage/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Color.js +45 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Mono.js +41 -0
- package/dist/AiConversation/_lobe/icons/Lark/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Lark/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Lark/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Lark/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/Line/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Line/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Line/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Line/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Color.js +60 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Mono.js +41 -0
- package/dist/AiConversation/_lobe/icons/Logto/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Logto/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Logto/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Logto/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Avatar.js +25 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Color.js +54 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Mono.js +43 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Color.js +52 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Mono.js +45 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Color.js +109 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Mono.js +41 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Color.js +60 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/QQ/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/QQ/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/QQ/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/QQ/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Color.js +48 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Mono.js +46 -0
- package/dist/AiConversation/_lobe/icons/Slack/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Slack/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Slack/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Slack/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Avatar.js +27 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Inner.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Inner.js +40 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/Telegram/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Telegram/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Telegram/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Telegram/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/WeChat/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/WeChat/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/WeChat/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/WeChat/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Avatar.js +27 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Color.js +184 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Mono.js +70 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/index.d.ts +23 -0
- package/dist/AiConversation/_lobe/icons/index.js +23 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AndroidIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AndroidIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AppleIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AppleIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AppstoreIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AppstoreIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/BotPromptIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/BotPromptIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/BrainOffIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/BrainOffIcon.js +19 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ChromeIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ChromeIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CodepenIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CodepenIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CodesandboxIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CodesandboxIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CreateBotIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CreateBotIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/DiscordIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/DiscordIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FacebookIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FacebookIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FigmaIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FigmaIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FramerIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FramerIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GithubIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GithubIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GitlabIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GitlabIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GlobeOffIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GlobeOffIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GooglePlayIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GooglePlayIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GroupBotIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GroupBotIcon.js +13 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GroupBotSquareIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GroupBotSquareIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/InstagramIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/InstagramIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LeftClickIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LeftClickIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LeftDoubleClickIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LeftDoubleClickIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LinkedinIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LinkedinIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/McpIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/McpIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/NotionIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/NotionIcon.js +13 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/PocketIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/PocketIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ProviderIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ProviderIcon.js +16 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RailSymbolIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RailSymbolIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RedditIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RedditIcon.js +16 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RightClickIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RightClickIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RightDoubleClickIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RightDoubleClickIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ShapesUploadIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ShapesUploadIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/SkillsIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/SkillsIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/SlackIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/SlackIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ThinkIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ThinkIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/TreeDownRightIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/TreeDownRightIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/TreeUpDownRightIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/TreeUpDownRightIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/index.d.ts +37 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/index.js +37 -0
- package/dist/AiConversation/_lobe/index.d.ts +61 -0
- package/dist/AiConversation/_lobe/index.js +59 -0
- package/dist/AiConversation/_lobe/mdx/Callout/index.d.ts +7 -0
- package/dist/AiConversation/_lobe/mdx/Callout/index.js +88 -0
- package/dist/AiConversation/_lobe/mdx/Callout/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/Callout/style.js +11 -0
- package/dist/AiConversation/_lobe/mdx/Cards/Card.d.ts +16 -0
- package/dist/AiConversation/_lobe/mdx/Cards/Card.js +105 -0
- package/dist/AiConversation/_lobe/mdx/Cards/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/Cards/index.js +33 -0
- package/dist/AiConversation/_lobe/mdx/Cards/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/mdx/Cards/style.js +9 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/File.d.ts +9 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/File.js +35 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/Folder.d.ts +10 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/Folder.js +57 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/index.js +26 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/style.js +12 -0
- package/dist/AiConversation/_lobe/mdx/Mdx/index.d.ts +18 -0
- package/dist/AiConversation/_lobe/mdx/Mdx/index.js +172 -0
- package/dist/AiConversation/_lobe/mdx/Steps/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/mdx/Steps/index.js +26 -0
- package/dist/AiConversation/_lobe/mdx/Steps/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/mdx/Steps/style.js +10 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/Tab.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/Tab.js +28 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/index.js +63 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/style.js +11 -0
- package/dist/AiConversation/_lobe/mdx/index.d.ts +16 -0
- package/dist/AiConversation/_lobe/mdx/index.js +16 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/PopoverPanel.d.ts +10 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/PopoverPanel.js +80 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/index.d.ts +12 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/index.js +61 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/style.d.ts +6 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/style.js +13 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/CodeBlock.d.ts +10 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/CodeBlock.js +59 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Image.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Image.js +28 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Link.d.ts +13 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Link.js +50 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Pre/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Pre/style.js +9 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Pre.d.ts +9 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Pre.js +97 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Section.d.ts +8 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Section.js +30 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Video.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Video.js +26 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/index.js +23 -0
- package/dist/AiConversation/_lobe/styles/animations.d.ts +1 -0
- package/dist/AiConversation/_lobe/styles/animations.js +4 -0
- package/dist/AiConversation/_lobe/styles/classNames.d.ts +4 -0
- package/dist/AiConversation/_lobe/styles/classNames.js +4 -0
- package/dist/AiConversation/_lobe/styles/customTheme.d.ts +28 -0
- package/dist/AiConversation/_lobe/styles/customTheme.js +32 -0
- package/dist/AiConversation/_lobe/styles/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/styles/index.js +5 -0
- package/dist/AiConversation/_lobe/styles/theme/algorithms/darkAlgorithm.d.ts +2 -0
- package/dist/AiConversation/_lobe/styles/theme/algorithms/darkAlgorithm.js +37 -0
- package/dist/AiConversation/_lobe/styles/theme/algorithms/lightAlgorithm.d.ts +2 -0
- package/dist/AiConversation/_lobe/styles/theme/algorithms/lightAlgorithm.js +33 -0
- package/dist/AiConversation/_lobe/styles/theme/antdTheme.d.ts +15 -0
- package/dist/AiConversation/_lobe/styles/theme/antdTheme.js +54 -0
- package/dist/AiConversation/_lobe/styles/theme/customStylish.d.ts +3 -0
- package/dist/AiConversation/_lobe/styles/theme/customStylish.js +29 -0
- package/dist/AiConversation/_lobe/styles/theme/customStylishStatic.d.ts +2 -0
- package/dist/AiConversation/_lobe/styles/theme/customStylishStatic.js +50 -0
- package/dist/AiConversation/_lobe/styles/theme/customToken.d.ts +4 -0
- package/dist/AiConversation/_lobe/styles/theme/customToken.js +86 -0
- package/dist/AiConversation/_lobe/styles/theme/generateColorPalette.d.ts +11 -0
- package/dist/AiConversation/_lobe/styles/theme/generateColorPalette.js +35 -0
- package/dist/AiConversation/_lobe/styles/theme/token/base.d.ts +2 -0
- package/dist/AiConversation/_lobe/styles/theme/token/base.js +13 -0
- package/dist/AiConversation/_lobe/styles/theme/token/dark.d.ts +3 -0
- package/dist/AiConversation/_lobe/styles/theme/token/dark.js +47 -0
- package/dist/AiConversation/_lobe/styles/theme/token/light.d.ts +3 -0
- package/dist/AiConversation/_lobe/styles/theme/token/light.js +47 -0
- package/dist/AiConversation/_lobe/types/citation.d.ts +6 -0
- package/dist/AiConversation/_lobe/types/citation.js +1 -0
- package/dist/AiConversation/_lobe/types/customStylish.d.ts +20 -0
- package/dist/AiConversation/_lobe/types/customStylish.js +1 -0
- package/dist/AiConversation/_lobe/types/customToken.d.ts +25 -0
- package/dist/AiConversation/_lobe/types/customToken.js +3 -0
- package/dist/AiConversation/_lobe/types/global.d.ts +10 -0
- package/dist/AiConversation/_lobe/types/index.d.ts +12 -0
- package/dist/AiConversation/_lobe/types/index.js +4 -0
- package/dist/AiConversation/_lobe/types/trigger.d.ts +4 -0
- package/dist/AiConversation/_lobe/types/trigger.js +1 -0
- package/dist/AiConversation/_lobe/utils/blobToPng.d.ts +11 -0
- package/dist/AiConversation/_lobe/utils/blobToPng.js +73 -0
- package/dist/AiConversation/_lobe/utils/composeEventHandlers.d.ts +19 -0
- package/dist/AiConversation/_lobe/utils/composeEventHandlers.js +26 -0
- package/dist/AiConversation/_lobe/utils/copyToClipboard.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/copyToClipboard.js +36 -0
- package/dist/AiConversation/_lobe/utils/destroyOnInvalidActiveTriggerElement.d.ts +37 -0
- package/dist/AiConversation/_lobe/utils/destroyOnInvalidActiveTriggerElement.js +95 -0
- package/dist/AiConversation/_lobe/utils/devSingleton.d.ts +6 -0
- package/dist/AiConversation/_lobe/utils/devSingleton.js +69 -0
- package/dist/AiConversation/_lobe/utils/dom.d.ts +11 -0
- package/dist/AiConversation/_lobe/utils/dom.js +12 -0
- package/dist/AiConversation/_lobe/utils/downloadBlob.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/downloadBlob.js +33 -0
- package/dist/AiConversation/_lobe/utils/formatTime.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/formatTime.js +12 -0
- package/dist/AiConversation/_lobe/utils/genCdnUrl.d.ts +11 -0
- package/dist/AiConversation/_lobe/utils/genCdnUrl.js +21 -0
- package/dist/AiConversation/_lobe/utils/parseTrigger.d.ts +8 -0
- package/dist/AiConversation/_lobe/utils/parseTrigger.js +15 -0
- package/dist/AiConversation/_lobe/utils/placement.d.ts +31 -0
- package/dist/AiConversation/_lobe/utils/placement.js +148 -0
- package/dist/AiConversation/_lobe/utils/platform.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/platform.js +1 -0
- package/dist/AiConversation/_lobe/utils/safeParseJSON.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/safeParseJSON.js +10 -0
- package/dist/AiConversation/_lobe/utils/safeReadableColor.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/safeReadableColor.js +9 -0
- package/dist/AiConversation/_lobe/utils/smoothCorners.d.ts +39 -0
- package/dist/AiConversation/_lobe/utils/smoothCorners.js +112 -0
- package/dist/AiConversation/index.d.ts +36 -0
- package/dist/AiConversation/index.js +46 -0
- package/dist/Button/index.js +16 -4
- package/dist/CanvasEditor/index.js +85 -86
- package/dist/CanvasEditor/styles/index.less +6 -5
- package/dist/FormDesigner/Provider.d.ts +3 -0
- package/dist/FormDesigner/Provider.js +278 -0
- package/dist/FormDesigner/card/commonSettings.d.ts +81 -0
- package/dist/FormDesigner/card/commonSettings.js +84 -0
- package/dist/FormDesigner/card/fieldWrapper.d.ts +13 -0
- package/dist/FormDesigner/card/fieldWrapper.js +76 -0
- package/dist/FormDesigner/card/globalSettings.d.ts +49 -0
- package/dist/FormDesigner/card/globalSettings.js +49 -0
- package/dist/FormDesigner/card/index.d.ts +9 -0
- package/dist/FormDesigner/card/index.js +12 -0
- package/dist/FormDesigner/card/settings.d.ts +1789 -0
- package/dist/FormDesigner/card/settings.js +1031 -0
- package/dist/FormDesigner/card/settingsWidgets/iconPicker.d.ts +6 -0
- package/dist/FormDesigner/card/settingsWidgets/iconPicker.js +38 -0
- package/dist/FormDesigner/card/templates/feishuAlertHandled.d.ts +12 -0
- package/dist/FormDesigner/card/templates/feishuAlertHandled.js +263 -0
- package/dist/FormDesigner/card/templates/feishuAlertPending.d.ts +18 -0
- package/dist/FormDesigner/card/templates/feishuAlertPending.js +348 -0
- package/dist/FormDesigner/card/templates/feishuApprovalDashboard.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuApprovalDashboard.js +255 -0
- package/dist/FormDesigner/card/templates/feishuArtistTeaSet.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuArtistTeaSet.js +266 -0
- package/dist/FormDesigner/card/templates/feishuBirthdayWish.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuBirthdayWish.js +284 -0
- package/dist/FormDesigner/card/templates/feishuBotTutorial.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuBotTutorial.js +141 -0
- package/dist/FormDesigner/card/templates/feishuBusinessTrip.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuBusinessTrip.js +505 -0
- package/dist/FormDesigner/card/templates/feishuCompanyMoment.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuCompanyMoment.js +150 -0
- package/dist/FormDesigner/card/templates/feishuDeviceReady.d.ts +13 -0
- package/dist/FormDesigner/card/templates/feishuDeviceReady.js +282 -0
- package/dist/FormDesigner/card/templates/feishuDeviceReview.d.ts +36 -0
- package/dist/FormDesigner/card/templates/feishuDeviceReview.js +398 -0
- package/dist/FormDesigner/card/templates/feishuExpressLocker.d.ts +12 -0
- package/dist/FormDesigner/card/templates/feishuExpressLocker.js +182 -0
- package/dist/FormDesigner/card/templates/feishuJimeng.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuJimeng.js +504 -0
- package/dist/FormDesigner/card/templates/feishuLarkDesign.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuLarkDesign.js +868 -0
- package/dist/FormDesigner/card/templates/feishuLeaveApproval.d.ts +39 -0
- package/dist/FormDesigner/card/templates/feishuLeaveApproval.js +413 -0
- package/dist/FormDesigner/card/templates/feishuLeaveApproved.d.ts +25 -0
- package/dist/FormDesigner/card/templates/feishuLeaveApproved.js +291 -0
- package/dist/FormDesigner/card/templates/feishuLisaWelcome.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuLisaWelcome.js +389 -0
- package/dist/FormDesigner/card/templates/feishuMeetingSchedule.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuMeetingSchedule.js +178 -0
- package/dist/FormDesigner/card/templates/feishuMorningSummary.d.ts +15 -0
- package/dist/FormDesigner/card/templates/feishuMorningSummary.js +288 -0
- package/dist/FormDesigner/card/templates/feishuMusicJournal.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuMusicJournal.js +435 -0
- package/dist/FormDesigner/card/templates/feishuOpenStream.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuOpenStream.js +248 -0
- package/dist/FormDesigner/card/templates/feishuOrderConfirm.d.ts +44 -0
- package/dist/FormDesigner/card/templates/feishuOrderConfirm.js +718 -0
- package/dist/FormDesigner/card/templates/feishuPersonalBirthday.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuPersonalBirthday.js +126 -0
- package/dist/FormDesigner/card/templates/feishuProjectAssistant.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuProjectAssistant.js +486 -0
- package/dist/FormDesigner/card/templates/feishuSalesRanking.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuSalesRanking.js +587 -0
- package/dist/FormDesigner/card/templates/feishuSignedContract.d.ts +12 -0
- package/dist/FormDesigner/card/templates/feishuSignedContract.js +258 -0
- package/dist/FormDesigner/card/templates/feishuStreamingGuide.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuStreamingGuide.js +351 -0
- package/dist/FormDesigner/card/templates/feishuTeamBuilding.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuTeamBuilding.js +229 -0
- package/dist/FormDesigner/card/templates/index.d.ts +48 -0
- package/dist/FormDesigner/card/templates/index.js +222 -0
- package/dist/FormDesigner/components/Canvas/core/EventLogPanel.d.ts +1 -0
- package/dist/FormDesigner/components/Canvas/core/EventLogPanel.js +243 -0
- package/dist/FormDesigner/components/Canvas/core/RenderChildren.d.ts +5 -0
- package/dist/FormDesigner/components/Canvas/core/RenderChildren.js +25 -0
- package/dist/FormDesigner/components/Canvas/core/RenderField.d.ts +10 -0
- package/dist/FormDesigner/components/Canvas/core/RenderField.js +201 -0
- package/dist/FormDesigner/components/Canvas/core/Wrapper.d.ts +9 -0
- package/dist/FormDesigner/components/Canvas/core/Wrapper.js +450 -0
- package/dist/FormDesigner/components/Canvas/core/index.d.ts +6 -0
- package/dist/FormDesigner/components/Canvas/core/index.js +198 -0
- package/dist/FormDesigner/components/Canvas/core/style.d.ts +12 -0
- package/dist/FormDesigner/components/Canvas/core/style.js +24 -0
- package/dist/FormDesigner/components/Canvas/index.d.ts +4 -0
- package/dist/FormDesigner/components/Canvas/index.js +276 -0
- package/dist/FormDesigner/components/Settings/GlobalSettings.d.ts +3 -0
- package/dist/FormDesigner/components/Settings/GlobalSettings.js +71 -0
- package/dist/FormDesigner/components/Settings/ItemSettings.d.ts +33 -0
- package/dist/FormDesigner/components/Settings/ItemSettings.js +2708 -0
- package/dist/FormDesigner/components/Settings/index.d.ts +3 -0
- package/dist/FormDesigner/components/Settings/index.js +224 -0
- package/dist/FormDesigner/components/Settings/style.d.ts +61 -0
- package/dist/FormDesigner/components/Settings/style.js +82 -0
- package/dist/FormDesigner/components/Sidebar/Element.d.ts +9 -0
- package/dist/FormDesigner/components/Sidebar/Element.js +197 -0
- package/dist/FormDesigner/components/Sidebar/index.d.ts +2 -0
- package/dist/FormDesigner/components/Sidebar/index.js +229 -0
- package/dist/FormDesigner/components/Sidebar/style.d.ts +22 -0
- package/dist/FormDesigner/components/Sidebar/style.js +28 -0
- package/dist/FormDesigner/i18next/index.d.ts +2 -0
- package/dist/FormDesigner/i18next/index.js +12 -0
- package/dist/FormDesigner/i18next/locales/enUS.json +51 -0
- package/dist/FormDesigner/i18next/locales/resources.d.ts +53 -0
- package/dist/FormDesigner/i18next/locales/resources.js +54 -0
- package/dist/FormDesigner/i18next/locales/zhCN.json +3 -0
- package/dist/FormDesigner/index.d.ts +7 -0
- package/dist/FormDesigner/index.js +56 -0
- package/dist/FormDesigner/settings/displayHeader.d.ts +142 -0
- package/dist/FormDesigner/settings/displayHeader.js +101 -0
- package/dist/FormDesigner/settings/index.d.ts +5585 -0
- package/dist/FormDesigner/settings/index.js +2399 -0
- package/dist/FormDesigner/styles/index.d.ts +3 -0
- package/dist/FormDesigner/styles/index.js +11 -0
- package/dist/FormDesigner/transformer/form-render.d.ts +2 -0
- package/dist/FormDesigner/transformer/form-render.js +82 -0
- package/dist/FormDesigner/types.d.ts +108 -0
- package/dist/FormDesigner/types.js +1 -0
- package/dist/FormDesigner/utils/context.d.ts +3 -0
- package/dist/FormDesigner/utils/context.js +3 -0
- package/dist/FormDesigner/utils/hooks.d.ts +3 -0
- package/dist/FormDesigner/utils/hooks.js +48 -0
- package/dist/FormDesigner/utils/idUtils.d.ts +2 -0
- package/dist/FormDesigner/utils/idUtils.js +14 -0
- package/dist/FormDesigner/utils/index.d.ts +51 -0
- package/dist/FormDesigner/utils/index.js +706 -0
- package/dist/FormDesigner/utils/mapping.d.ts +1 -0
- package/dist/FormDesigner/utils/mapping.js +31 -0
- package/dist/FormDesigner/utils/serialize.d.ts +21 -0
- package/dist/FormDesigner/utils/serialize.js +278 -0
- package/dist/FormDesigner/utils/settingPath.d.ts +2 -0
- package/dist/FormDesigner/utils/settingPath.js +97 -0
- package/dist/FormDesigner/utils/widgetIcons.d.ts +8 -0
- package/dist/FormDesigner/utils/widgetIcons.js +60 -0
- package/dist/FormDesigner/widgets/cardChartDataEditor.d.ts +14 -0
- package/dist/FormDesigner/widgets/cardChartDataEditor.js +117 -0
- package/dist/FormDesigner/widgets/cardImageListEditor.d.ts +13 -0
- package/dist/FormDesigner/widgets/cardImageListEditor.js +106 -0
- package/dist/FormDesigner/widgets/cardPersonListEditor.d.ts +14 -0
- package/dist/FormDesigner/widgets/cardPersonListEditor.js +114 -0
- package/dist/FormDesigner/widgets/cardStaticOptionsEditor.d.ts +17 -0
- package/dist/FormDesigner/widgets/cardStaticOptionsEditor.js +126 -0
- package/dist/FormDesigner/widgets/cardTableColumnsEditor.d.ts +25 -0
- package/dist/FormDesigner/widgets/cardTableColumnsEditor.js +241 -0
- package/dist/FormDesigner/widgets/cardTableRowsEditor.d.ts +18 -0
- package/dist/FormDesigner/widgets/cardTableRowsEditor.js +180 -0
- package/dist/FormDesigner/widgets/clearableNumberInput.d.ts +18 -0
- package/dist/FormDesigner/widgets/clearableNumberInput.js +62 -0
- package/dist/FormDesigner/widgets/dateDefaultValue.d.ts +10 -0
- package/dist/FormDesigner/widgets/dateDefaultValue.js +70 -0
- package/dist/FormDesigner/widgets/dateRangeDefaultValue.d.ts +10 -0
- package/dist/FormDesigner/widgets/dateRangeDefaultValue.js +60 -0
- package/dist/FormDesigner/widgets/formBtnGroup.d.ts +6 -0
- package/dist/FormDesigner/widgets/formBtnGroup.js +17 -0
- package/dist/FormDesigner/widgets/formContainer.d.ts +13 -0
- package/dist/FormDesigner/widgets/formContainer.js +20 -0
- package/dist/FormDesigner/widgets/formOptionDefaultValue.d.ts +10 -0
- package/dist/FormDesigner/widgets/formOptionDefaultValue.js +76 -0
- package/dist/FormDesigner/widgets/formOptionsEditor.d.ts +14 -0
- package/dist/FormDesigner/widgets/formOptionsEditor.js +135 -0
- package/dist/FormDesigner/widgets/formResetBtn.d.ts +3 -0
- package/dist/FormDesigner/widgets/formResetBtn.js +32 -0
- package/dist/FormDesigner/widgets/formSubmitBtn.d.ts +3 -0
- package/dist/FormDesigner/widgets/formSubmitBtn.js +32 -0
- package/dist/FormDesigner/widgets/htmlInput.d.ts +9 -0
- package/dist/FormDesigner/widgets/htmlInput.js +26 -0
- package/dist/FormDesigner/widgets/idInput.d.ts +9 -0
- package/dist/FormDesigner/widgets/idInput.js +106 -0
- package/dist/FormDesigner/widgets/index.d.ts +20 -0
- package/dist/FormDesigner/widgets/index.js +20 -0
- package/dist/FormDesigner/widgets/jsonInput.d.ts +9 -0
- package/dist/FormDesigner/widgets/jsonInput.js +30 -0
- package/dist/FormDesigner/widgets/list.d.ts +10 -0
- package/dist/FormDesigner/widgets/list.js +31 -0
- package/dist/FormDesigner/widgets/percentSlider.d.ts +20 -0
- package/dist/FormDesigner/widgets/percentSlider.js +93 -0
- package/dist/FormRender/FormPreview.d.ts +7 -0
- package/dist/FormRender/FormPreview.js +315 -0
- package/dist/FormRender/events/eventLog.d.ts +21 -0
- package/dist/FormRender/events/eventLog.js +27 -0
- package/dist/FormRender/events/fieldAssignments.d.ts +3 -0
- package/dist/FormRender/events/fieldAssignments.js +65 -0
- package/dist/FormRender/events/http/auth/config.d.ts +21 -0
- package/dist/FormRender/events/http/auth/config.js +48 -0
- package/dist/FormRender/events/http/auth/index.d.ts +2 -0
- package/dist/FormRender/events/http/auth/index.js +2 -0
- package/dist/FormRender/events/http/auth/oauth2.d.ts +97 -0
- package/dist/FormRender/events/http/auth/oauth2.js +196 -0
- package/dist/FormRender/events/http/clientSource.d.ts +6 -0
- package/dist/FormRender/events/http/clientSource.js +76 -0
- package/dist/FormRender/events/http/createRequest.d.ts +75 -0
- package/dist/FormRender/events/http/createRequest.js +350 -0
- package/dist/FormRender/events/http/jwt/index.d.ts +1 -0
- package/dist/FormRender/events/http/jwt/index.js +1 -0
- package/dist/FormRender/events/http/jwt/jwt.d.ts +53 -0
- package/dist/FormRender/events/http/jwt/jwt.js +129 -0
- package/dist/FormRender/events/http/sentryNoop.d.ts +20 -0
- package/dist/FormRender/events/http/sentryNoop.js +23 -0
- package/dist/FormRender/events/http/tokenRefresh.d.ts +28 -0
- package/dist/FormRender/events/http/tokenRefresh.js +170 -0
- package/dist/FormRender/events/http/types.d.ts +85 -0
- package/dist/FormRender/events/http/types.js +1 -0
- package/dist/FormRender/events/httpService.d.ts +25 -0
- package/dist/FormRender/events/httpService.js +113 -0
- package/dist/FormRender/events/index.d.ts +50 -0
- package/dist/FormRender/events/index.js +94 -0
- package/dist/FormRender/events/initialValue.d.ts +3 -0
- package/dist/FormRender/events/initialValue.js +114 -0
- package/dist/FormRender/events/linkage.d.ts +19 -0
- package/dist/FormRender/events/linkage.js +77 -0
- package/dist/FormRender/events/remoteData.d.ts +7 -0
- package/dist/FormRender/events/remoteData.js +136 -0
- package/dist/FormRender/events/utils.d.ts +13 -0
- package/dist/FormRender/events/utils.js +29 -0
- package/dist/FormRender/form-core/connectForm.d.ts +3 -0
- package/dist/FormRender/form-core/connectForm.js +19 -0
- package/dist/FormRender/form-core/index.d.ts +4 -0
- package/dist/FormRender/form-core/index.js +379 -0
- package/dist/FormRender/form-core/style.d.ts +7 -0
- package/dist/FormRender/form-core/style.js +14 -0
- package/dist/FormRender/index.d.ts +12 -0
- package/dist/FormRender/index.js +11 -0
- package/dist/FormRender/locales/en_US.d.ts +28 -0
- package/dist/FormRender/locales/en_US.js +27 -0
- package/dist/FormRender/locales/index.d.ts +57 -0
- package/dist/FormRender/locales/index.js +6 -0
- package/dist/FormRender/locales/zh_CN.d.ts +28 -0
- package/dist/FormRender/locales/zh_CN.js +27 -0
- package/dist/FormRender/models/bindValues.d.ts +2 -0
- package/dist/FormRender/models/bindValues.js +185 -0
- package/dist/FormRender/models/context.d.ts +3 -0
- package/dist/FormRender/models/context.js +3 -0
- package/dist/FormRender/models/expression.d.ts +7 -0
- package/dist/FormRender/models/expression.js +142 -0
- package/dist/FormRender/models/expressionSafety.d.ts +14 -0
- package/dist/FormRender/models/expressionSafety.js +27 -0
- package/dist/FormRender/models/fieldShouldUpdate.d.ts +2 -0
- package/dist/FormRender/models/fieldShouldUpdate.js +73 -0
- package/dist/FormRender/models/filterValuesByWidgets.d.ts +13 -0
- package/dist/FormRender/models/filterValuesByWidgets.js +51 -0
- package/dist/FormRender/models/filterValuesHidden.d.ts +5 -0
- package/dist/FormRender/models/filterValuesHidden.js +70 -0
- package/dist/FormRender/models/filterValuesUndefined.d.ts +2 -0
- package/dist/FormRender/models/filterValuesUndefined.js +47 -0
- package/dist/FormRender/models/flattenSchema.d.ts +3 -0
- package/dist/FormRender/models/flattenSchema.js +101 -0
- package/dist/FormRender/models/formCoreUtils.d.ts +8 -0
- package/dist/FormRender/models/formCoreUtils.js +199 -0
- package/dist/FormRender/models/formDataSkeleton.d.ts +1 -0
- package/dist/FormRender/models/formDataSkeleton.js +30 -0
- package/dist/FormRender/models/layout.d.ts +4 -0
- package/dist/FormRender/models/layout.js +90 -0
- package/dist/FormRender/models/mapping.d.ts +93 -0
- package/dist/FormRender/models/mapping.js +122 -0
- package/dist/FormRender/models/safeUrl.d.ts +17 -0
- package/dist/FormRender/models/safeUrl.js +44 -0
- package/dist/FormRender/models/sortProperties.d.ts +2 -0
- package/dist/FormRender/models/sortProperties.js +41 -0
- package/dist/FormRender/models/store.d.ts +10 -0
- package/dist/FormRender/models/store.js +28 -0
- package/dist/FormRender/models/transformProps.d.ts +34 -0
- package/dist/FormRender/models/transformProps.js +91 -0
- package/dist/FormRender/models/useForm.d.ts +3 -0
- package/dist/FormRender/models/useForm.js +460 -0
- package/dist/FormRender/models/validateMessage.d.ts +93 -0
- package/dist/FormRender/models/validateMessage.js +95 -0
- package/dist/FormRender/models/validates.d.ts +3 -0
- package/dist/FormRender/models/validates.js +221 -0
- package/dist/FormRender/openPreview.d.ts +2 -0
- package/dist/FormRender/openPreview.js +63 -0
- package/dist/FormRender/previewBridge.d.ts +9 -0
- package/dist/FormRender/previewBridge.js +26 -0
- package/dist/FormRender/previewInspect.d.ts +14 -0
- package/dist/FormRender/previewInspect.js +72 -0
- package/dist/FormRender/render-core/FieldErrorBoundary.d.ts +4 -0
- package/dist/FormRender/render-core/FieldErrorBoundary.js +33 -0
- package/dist/FormRender/render-core/FieldItem/field.d.ts +2 -0
- package/dist/FormRender/render-core/FieldItem/field.js +110 -0
- package/dist/FormRender/render-core/FieldItem/index.d.ts +2 -0
- package/dist/FormRender/render-core/FieldItem/index.js +64 -0
- package/dist/FormRender/render-core/FieldItem/main.d.ts +2 -0
- package/dist/FormRender/render-core/FieldItem/main.js +415 -0
- package/dist/FormRender/render-core/FieldItem/module.d.ts +17 -0
- package/dist/FormRender/render-core/FieldItem/module.js +365 -0
- package/dist/FormRender/render-core/FieldList/field.d.ts +2 -0
- package/dist/FormRender/render-core/FieldList/field.js +318 -0
- package/dist/FormRender/render-core/FieldList/index.d.ts +2 -0
- package/dist/FormRender/render-core/FieldList/index.js +55 -0
- package/dist/FormRender/render-core/FieldList/main.d.ts +2 -0
- package/dist/FormRender/render-core/FieldList/main.js +111 -0
- package/dist/FormRender/render-core/FieldList/modules.d.ts +7 -0
- package/dist/FormRender/render-core/FieldList/modules.js +120 -0
- package/dist/FormRender/render-core/index.d.ts +9 -0
- package/dist/FormRender/render-core/index.js +98 -0
- package/dist/FormRender/render-core/style.d.ts +11 -0
- package/dist/FormRender/render-core/style.js +22 -0
- package/dist/FormRender/types.d.ts +489 -0
- package/dist/FormRender/types.js +1 -0
- package/dist/FormRender/utils/index.d.ts +32 -0
- package/dist/FormRender/utils/index.js +120 -0
- package/dist/FormRender/widgets/advanced/chart.d.ts +2 -0
- package/dist/FormRender/widgets/advanced/chart.js +2 -0
- package/dist/FormRender/widgets/advanced/table.d.ts +2 -0
- package/dist/FormRender/widgets/advanced/table.js +2 -0
- package/dist/FormRender/widgets/card/behaviors.d.ts +47 -0
- package/dist/FormRender/widgets/card/behaviors.js +501 -0
- package/dist/FormRender/widgets/card/cardButton.d.ts +62 -0
- package/dist/FormRender/widgets/card/cardButton.js +249 -0
- package/dist/FormRender/widgets/card/cardHeader.d.ts +29 -0
- package/dist/FormRender/widgets/card/cardHeader.js +170 -0
- package/dist/FormRender/widgets/card/cardRoot.d.ts +21 -0
- package/dist/FormRender/widgets/card/cardRoot.js +124 -0
- package/dist/FormRender/widgets/card/chart.d.ts +26 -0
- package/dist/FormRender/widgets/card/chart.js +277 -0
- package/dist/FormRender/widgets/card/column.d.ts +21 -0
- package/dist/FormRender/widgets/card/column.js +81 -0
- package/dist/FormRender/widgets/card/columnSet.d.ts +18 -0
- package/dist/FormRender/widgets/card/columnSet.js +56 -0
- package/dist/FormRender/widgets/card/div.d.ts +17 -0
- package/dist/FormRender/widgets/card/div.js +57 -0
- package/dist/FormRender/widgets/card/fieldGroup.d.ts +30 -0
- package/dist/FormRender/widgets/card/fieldGroup.js +40 -0
- package/dist/FormRender/widgets/card/formContainer.d.ts +17 -0
- package/dist/FormRender/widgets/card/formContainer.js +30 -0
- package/dist/FormRender/widgets/card/hr.d.ts +1 -0
- package/dist/FormRender/widgets/card/hr.js +17 -0
- package/dist/FormRender/widgets/card/img.d.ts +23 -0
- package/dist/FormRender/widgets/card/img.js +106 -0
- package/dist/FormRender/widgets/card/imgCombination.d.ts +17 -0
- package/dist/FormRender/widgets/card/imgCombination.js +106 -0
- package/dist/FormRender/widgets/card/interactiveContainer.d.ts +37 -0
- package/dist/FormRender/widgets/card/interactiveContainer.js +166 -0
- package/dist/FormRender/widgets/card/loadingOverlay.d.ts +9 -0
- package/dist/FormRender/widgets/card/loadingOverlay.js +37 -0
- package/dist/FormRender/widgets/card/markdown.d.ts +31 -0
- package/dist/FormRender/widgets/card/markdown.js +364 -0
- package/dist/FormRender/widgets/card/personList.d.ts +25 -0
- package/dist/FormRender/widgets/card/personList.js +87 -0
- package/dist/FormRender/widgets/card/plainText.d.ts +2 -0
- package/dist/FormRender/widgets/card/plainText.js +2 -0
- package/dist/FormRender/widgets/card/repeat.d.ts +16 -0
- package/dist/FormRender/widgets/card/repeat.js +14 -0
- package/dist/FormRender/widgets/card/selectPerson.d.ts +22 -0
- package/dist/FormRender/widgets/card/selectPerson.js +51 -0
- package/dist/FormRender/widgets/card/selectStatic.d.ts +37 -0
- package/dist/FormRender/widgets/card/selectStatic.js +290 -0
- package/dist/FormRender/widgets/card/standardIcon.d.ts +16 -0
- package/dist/FormRender/widgets/card/standardIcon.js +146 -0
- package/dist/FormRender/widgets/card/style.d.ts +13 -0
- package/dist/FormRender/widgets/card/style.js +47 -0
- package/dist/FormRender/widgets/card/table.d.ts +21 -0
- package/dist/FormRender/widgets/card/table.js +93 -0
- package/dist/FormRender/widgets/card/textTag.d.ts +15 -0
- package/dist/FormRender/widgets/card/textTag.js +87 -0
- package/dist/FormRender/widgets/components/FButton.d.ts +2 -0
- package/dist/FormRender/widgets/components/FButton.js +32 -0
- package/dist/FormRender/widgets/components/HeaderTitle.d.ts +2 -0
- package/dist/FormRender/widgets/components/HeaderTitle.js +32 -0
- package/dist/FormRender/widgets/components/PanelView.d.ts +2 -0
- package/dist/FormRender/widgets/components/PanelView.js +29 -0
- package/dist/FormRender/widgets/containers/Card.d.ts +2 -0
- package/dist/FormRender/widgets/containers/Card.js +30 -0
- package/dist/FormRender/widgets/containers/Collapse.d.ts +17 -0
- package/dist/FormRender/widgets/containers/Collapse.js +80 -0
- package/dist/FormRender/widgets/containers/LineTitle.d.ts +2 -0
- package/dist/FormRender/widgets/containers/LineTitle.js +34 -0
- package/dist/FormRender/widgets/containers/SubInline.d.ts +2 -0
- package/dist/FormRender/widgets/containers/SubInline.js +64 -0
- package/dist/FormRender/widgets/containers/style.d.ts +24 -0
- package/dist/FormRender/widgets/containers/style.js +54 -0
- package/dist/FormRender/widgets/display/header.d.ts +2 -0
- package/dist/FormRender/widgets/display/header.js +2 -0
- package/dist/FormRender/widgets/display/hr.d.ts +2 -0
- package/dist/FormRender/widgets/display/hr.js +2 -0
- package/dist/FormRender/widgets/display/markdown.d.ts +2 -0
- package/dist/FormRender/widgets/display/markdown.js +2 -0
- package/dist/FormRender/widgets/display/plainText.d.ts +2 -0
- package/dist/FormRender/widgets/display/plainText.js +2 -0
- package/dist/FormRender/widgets/display/textTag.d.ts +2 -0
- package/dist/FormRender/widgets/display/textTag.js +2 -0
- package/dist/FormRender/widgets/fields/button.d.ts +37 -0
- package/dist/FormRender/widgets/fields/button.js +223 -0
- package/dist/FormRender/widgets/fields/checkbox.d.ts +2 -0
- package/dist/FormRender/widgets/fields/checkbox.js +36 -0
- package/dist/FormRender/widgets/fields/checkboxes.d.ts +2 -0
- package/dist/FormRender/widgets/fields/checkboxes.js +66 -0
- package/dist/FormRender/widgets/fields/color.d.ts +2 -0
- package/dist/FormRender/widgets/fields/color.js +98 -0
- package/dist/FormRender/widgets/fields/colorFormat.d.ts +4 -0
- package/dist/FormRender/widgets/fields/colorFormat.js +121 -0
- package/dist/FormRender/widgets/fields/date.d.ts +2 -0
- package/dist/FormRender/widgets/fields/date.js +83 -0
- package/dist/FormRender/widgets/fields/dateRange.d.ts +2 -0
- package/dist/FormRender/widgets/fields/dateRange.js +107 -0
- package/dist/FormRender/widgets/fields/html.d.ts +1 -0
- package/dist/FormRender/widgets/fields/html.js +59 -0
- package/dist/FormRender/widgets/fields/imageInput.d.ts +2 -0
- package/dist/FormRender/widgets/fields/imageInput.js +119 -0
- package/dist/FormRender/widgets/fields/input.d.ts +2 -0
- package/dist/FormRender/widgets/fields/input.js +94 -0
- package/dist/FormRender/widgets/fields/number.d.ts +2 -0
- package/dist/FormRender/widgets/fields/number.js +64 -0
- package/dist/FormRender/widgets/fields/percentSlider.d.ts +17 -0
- package/dist/FormRender/widgets/fields/percentSlider.js +92 -0
- package/dist/FormRender/widgets/fields/radio.d.ts +2 -0
- package/dist/FormRender/widgets/fields/radio.js +65 -0
- package/dist/FormRender/widgets/fields/rate.d.ts +2 -0
- package/dist/FormRender/widgets/fields/rate.js +3 -0
- package/dist/FormRender/widgets/fields/resetBtn.d.ts +7 -0
- package/dist/FormRender/widgets/fields/resetBtn.js +43 -0
- package/dist/FormRender/widgets/fields/select.d.ts +8 -0
- package/dist/FormRender/widgets/fields/select.js +156 -0
- package/dist/FormRender/widgets/fields/slider.d.ts +2 -0
- package/dist/FormRender/widgets/fields/slider.js +94 -0
- package/dist/FormRender/widgets/fields/style.d.ts +150 -0
- package/dist/FormRender/widgets/fields/style.js +137 -0
- package/dist/FormRender/widgets/fields/submitBtn.d.ts +9 -0
- package/dist/FormRender/widgets/fields/submitBtn.js +55 -0
- package/dist/FormRender/widgets/fields/switch.d.ts +2 -0
- package/dist/FormRender/widgets/fields/switch.js +3 -0
- package/dist/FormRender/widgets/fields/textArea.d.ts +2 -0
- package/dist/FormRender/widgets/fields/textArea.js +84 -0
- package/dist/FormRender/widgets/fields/time.d.ts +2 -0
- package/dist/FormRender/widgets/fields/time.js +65 -0
- package/dist/FormRender/widgets/fields/timeRange.d.ts +2 -0
- package/dist/FormRender/widgets/fields/timeRange.js +54 -0
- package/dist/FormRender/widgets/fields/treeSelect.d.ts +2 -0
- package/dist/FormRender/widgets/fields/treeSelect.js +3 -0
- package/dist/FormRender/widgets/fields/upload.d.ts +11 -0
- package/dist/FormRender/widgets/fields/upload.js +64 -0
- package/dist/FormRender/widgets/fields/urlInput.d.ts +2 -0
- package/dist/FormRender/widgets/fields/urlInput.js +73 -0
- package/dist/FormRender/widgets/index.d.ts +67 -0
- package/dist/FormRender/widgets/index.js +93 -0
- package/dist/FormRender/widgets/lists/CardList.d.ts +2 -0
- package/dist/FormRender/widgets/lists/CardList.js +152 -0
- package/dist/FormRender/widgets/lists/DrawerList.d.ts +11 -0
- package/dist/FormRender/widgets/lists/DrawerList.js +325 -0
- package/dist/FormRender/widgets/lists/SimpleList.d.ts +2 -0
- package/dist/FormRender/widgets/lists/SimpleList.js +131 -0
- package/dist/FormRender/widgets/lists/TabList.d.ts +12 -0
- package/dist/FormRender/widgets/lists/TabList.js +129 -0
- package/dist/FormRender/widgets/lists/TableList.d.ts +16 -0
- package/dist/FormRender/widgets/lists/TableList.js +285 -0
- package/dist/FormRender/widgets/lists/VirtualList.d.ts +16 -0
- package/dist/FormRender/widgets/lists/VirtualList.js +270 -0
- package/dist/FormRender/widgets/lists/style.d.ts +24 -0
- package/dist/FormRender/widgets/lists/style.js +51 -0
- package/dist/FormRender/widgets/special/ErrorSchema.d.ts +2 -0
- package/dist/FormRender/widgets/special/ErrorSchema.js +20 -0
- package/dist/FormRender/widgets/special/VoidTitle.d.ts +2 -0
- package/dist/FormRender/widgets/special/VoidTitle.js +23 -0
- package/dist/FormRender/widgets/utils/hooks.d.ts +3 -0
- package/dist/FormRender/widgets/utils/hooks.js +21 -0
- package/dist/FormRender/widgets/utils/index.d.ts +4 -0
- package/dist/FormRender/widgets/utils/index.js +81 -0
- package/dist/FormRender/widgets/utils/withFieldWrap.d.ts +2 -0
- package/dist/FormRender/widgets/utils/withFieldWrap.js +24 -0
- package/dist/FormRender/withProvider.d.ts +3 -0
- package/dist/FormRender/withProvider.js +91 -0
- package/dist/Lottie/CodeLight.d.ts +1 -1
- package/dist/Lottie/CodeLight.js +34 -30
- package/dist/Lottie/index.d.ts +1 -2
- package/dist/Lottie/index.js +10 -7
- package/dist/Lottie/styles/CodeLight.less +1 -1
- package/dist/Lottie/styles/index.css +1 -1
- package/dist/Lottie/styles/index.less +14 -23
- package/dist/MaxTokenSlider/index.js +30 -26
- package/dist/Player/index.js +5 -4
- package/dist/RichText/index.js +105 -83
- package/dist/RichText/style/index.less +7 -1
- package/dist/Rive/CodeLight.d.ts +1 -1
- package/dist/Rive/CodeLight.js +34 -30
- package/dist/Rive/index.d.ts +1 -1
- package/dist/Rive/index.js +12 -9
- package/dist/Rive/styles/CodeLight.less +1 -1
- package/dist/Rive/styles/index.css +1 -1
- package/dist/Rive/styles/index.less +14 -23
- package/dist/Table/components/ColumnSetting/index.d.ts +1 -2
- package/dist/Table/components/ColumnSetting/index.js +39 -30
- package/dist/Table/components/EnumFilter/index.d.ts +1 -1
- package/dist/Table/components/EnumFilter/index.js +72 -54
- package/dist/Table/components/Export/RadioMode.d.ts +1 -2
- package/dist/Table/components/Export/RadioMode.js +14 -11
- package/dist/Table/components/Export/index.d.ts +1 -2
- package/dist/Table/components/Export/index.js +60 -40
- package/dist/Table/components/FilterDropdown/index.d.ts +1 -1
- package/dist/Table/components/FilterDropdown/index.js +23 -16
- package/dist/Table/components/FilterKeys/index.d.ts +1 -2
- package/dist/Table/components/FilterKeys/index.js +34 -28
- package/dist/Table/components/Reload/index.d.ts +1 -2
- package/dist/Table/components/Reload/index.js +9 -7
- package/dist/Table/components/SearchInput/index.d.ts +1 -1
- package/dist/Table/components/SearchInput/index.js +15 -10
- package/dist/Table/components/TableSize/index.d.ts +1 -2
- package/dist/Table/components/TableSize/index.js +8 -5
- package/dist/Table/components/TableTitle/index.d.ts +1 -2
- package/dist/Table/components/TableTitle/index.js +26 -17
- package/dist/Table/index.js +11 -4
- package/dist/Table/table.js +25 -22
- package/dist/Table/utils/getColumnEnumProps.js +11 -9
- package/dist/Table/utils/getDateColumn.js +41 -35
- package/dist/Table/utils/getInputColumn.js +10 -8
- package/dist/WaterfallVirtual/index.d.ts +1 -1
- package/dist/WaterfallVirtual/index.js +12 -8
- package/dist/WaterfallVirtual/styles/test.less +2 -5
- package/dist/WaterfallVirtual/tool.d.ts +1 -1
- package/dist/hooks/useDownloadImage/index.js +82 -84
- package/dist/index.d.ts +19 -1
- package/dist/index.js +34 -3
- package/package.json +73 -18
- package/dist/Table/utils/index.css +0 -0
- package/dist/components/fr-generator/demo/components/PanelView/index.css +0 -1
- package/dist/components/fr-generator/demo/components/boxcard/index.css +0 -1
- package/dist/components/fr-generator/demo/components/imageMask/index.css +0 -1
- package/dist/components/fr-generator/demo/components/imageUpload/index.css +0 -1
- package/dist/components/fr-generator/demo/components/slider/index.css +0 -1
- package/dist/components/fr-generator/demo/components/textarea/index.css +0 -1
|
@@ -0,0 +1,706 @@
|
|
|
1
|
+
var _excluded = ["propsSchema"],
|
|
2
|
+
_excluded2 = ["schema"],
|
|
3
|
+
_excluded3 = ["onChange", "value", "defaultValue", "schema"];
|
|
4
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
5
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
6
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
7
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
8
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
9
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
10
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
11
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
12
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
13
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
17
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
18
|
+
import deepClone from 'clone';
|
|
19
|
+
import { nanoid } from 'nanoid';
|
|
20
|
+
function stringContains(str, text) {
|
|
21
|
+
return str.indexOf(text) > -1;
|
|
22
|
+
}
|
|
23
|
+
export var isObject = function isObject(a) {
|
|
24
|
+
return stringContains(Object.prototype.toString.call(a), 'Object');
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
// '3' => true, 3 => true, undefined => false
|
|
28
|
+
export function isLooselyNumber(num) {
|
|
29
|
+
if (typeof num === 'number') return true;
|
|
30
|
+
if (typeof num === 'string') {
|
|
31
|
+
return !Number.isNaN(Number(num));
|
|
32
|
+
}
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
export function isCssLength(str) {
|
|
36
|
+
if (typeof str !== 'string') return false;
|
|
37
|
+
return str.match(/^([0-9])*(%|px|rem|em)$/i);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
// 深度对比
|
|
41
|
+
export function isDeepEqual(param1, param2) {
|
|
42
|
+
if (param1 === undefined && param2 === undefined) return true;else if (param1 === undefined || param2 === undefined) return false;
|
|
43
|
+
if (param1 === null && param2 === null) return true;else if (param1 === null || param2 === null) return false;else if (param1.constructor !== param2.constructor) return false;
|
|
44
|
+
if (param1.constructor === Array) {
|
|
45
|
+
if (param1.length !== param2.length) return false;
|
|
46
|
+
for (var i = 0; i < param1.length; i++) {
|
|
47
|
+
if (param1[i].constructor === Array || param1[i].constructor === Object) {
|
|
48
|
+
if (!isDeepEqual(param1[i], param2[i])) return false;
|
|
49
|
+
} else if (param1[i] !== param2[i]) return false;
|
|
50
|
+
}
|
|
51
|
+
} else if (param1.constructor === Object) {
|
|
52
|
+
if (Object.keys(param1).length !== Object.keys(param2).length) return false;
|
|
53
|
+
for (var _i = 0; _i < Object.keys(param1).length; _i++) {
|
|
54
|
+
var key = Object.keys(param1)[_i];
|
|
55
|
+
if (param1[key] && typeof param1[key] !== 'number' && (param1[key].constructor === Array || param1[key].constructor === Object)) {
|
|
56
|
+
if (!isDeepEqual(param1[key], param2[key])) return false;
|
|
57
|
+
} else if (param1[key] !== param2[key]) return false;
|
|
58
|
+
}
|
|
59
|
+
} else if (param1.constructor === String || param1.constructor === Number) {
|
|
60
|
+
return param1 === param2;
|
|
61
|
+
}
|
|
62
|
+
return true;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
// ----------------- schema 相关
|
|
66
|
+
|
|
67
|
+
// 合并propsSchema和UISchema。由于两者的逻辑相关性,合并为一个大schema能简化内部处理
|
|
68
|
+
export function combineSchema() {
|
|
69
|
+
var propsSchema = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
70
|
+
var uiSchema = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
71
|
+
var propList = getChildren(propsSchema);
|
|
72
|
+
var newList = propList.map(function (p) {
|
|
73
|
+
var name = p.name;
|
|
74
|
+
var _p$schema = p.schema,
|
|
75
|
+
type = _p$schema.type,
|
|
76
|
+
options = _p$schema.enum,
|
|
77
|
+
properties = _p$schema.properties,
|
|
78
|
+
items = _p$schema.items;
|
|
79
|
+
var isObj = type === 'object' && properties;
|
|
80
|
+
var isArr = type === 'array' && items && !options; // enum + array 代表的多选框,没有sub
|
|
81
|
+
var ui = name && uiSchema[p.name];
|
|
82
|
+
if (!ui) {
|
|
83
|
+
return p;
|
|
84
|
+
}
|
|
85
|
+
// 如果是list,递归合并items
|
|
86
|
+
if (isArr) {
|
|
87
|
+
var newItems = combineSchema(items, ui.items || {});
|
|
88
|
+
return _objectSpread(_objectSpread({}, p), {}, {
|
|
89
|
+
schema: _objectSpread(_objectSpread(_objectSpread({}, p.schema), ui), {}, {
|
|
90
|
+
items: newItems
|
|
91
|
+
})
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
// object递归合并整个schema
|
|
95
|
+
if (isObj) {
|
|
96
|
+
var newSchema = combineSchema(p.schema, ui);
|
|
97
|
+
return _objectSpread(_objectSpread({}, p), {}, {
|
|
98
|
+
schema: newSchema
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
return _objectSpread(_objectSpread({}, p), {}, {
|
|
102
|
+
schema: _objectSpread(_objectSpread({}, p.schema), ui)
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
var newObj = {};
|
|
106
|
+
newList.forEach(function (s) {
|
|
107
|
+
newObj[s.name] = s.schema;
|
|
108
|
+
});
|
|
109
|
+
var topLevelUi = {};
|
|
110
|
+
Object.keys(uiSchema).forEach(function (key) {
|
|
111
|
+
if (typeof key === 'string' && key.substring(0, 3) === 'ui:') {
|
|
112
|
+
topLevelUi[key] = uiSchema[key];
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
if (isEmpty(newObj)) {
|
|
116
|
+
return _objectSpread(_objectSpread({}, propsSchema), topLevelUi);
|
|
117
|
+
}
|
|
118
|
+
return _objectSpread(_objectSpread(_objectSpread({}, propsSchema), topLevelUi), {}, {
|
|
119
|
+
properties: newObj
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
function isEmpty(obj) {
|
|
123
|
+
return Object.keys(obj).length === 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// 获得propsSchema的children
|
|
127
|
+
function getChildren(schema) {
|
|
128
|
+
if (!schema) return [];
|
|
129
|
+
var properties = schema.properties,
|
|
130
|
+
items = schema.items,
|
|
131
|
+
type = schema.type;
|
|
132
|
+
if (!properties && !items) {
|
|
133
|
+
return [];
|
|
134
|
+
}
|
|
135
|
+
var schemaSubs = {};
|
|
136
|
+
if (type === 'object') {
|
|
137
|
+
schemaSubs = properties;
|
|
138
|
+
}
|
|
139
|
+
if (type === 'array') {
|
|
140
|
+
schemaSubs = items;
|
|
141
|
+
}
|
|
142
|
+
return Object.keys(schemaSubs).map(function (name) {
|
|
143
|
+
return {
|
|
144
|
+
schema: schemaSubs[name],
|
|
145
|
+
name: name
|
|
146
|
+
};
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// 判断schema的值是是否是"函数"
|
|
151
|
+
// JSON无法使用函数值的参数,所以使用"{{...}}"来标记为函数,也可使用@标记,不推荐。
|
|
152
|
+
export function isFunction(func) {
|
|
153
|
+
if (typeof func === 'function') {
|
|
154
|
+
return true;
|
|
155
|
+
}
|
|
156
|
+
if (typeof func === 'string' && func.substring(0, 1) === '@') {
|
|
157
|
+
return func.substring(1);
|
|
158
|
+
}
|
|
159
|
+
if (typeof func === 'string' && func.substring(0, 2) === '{{' && func.substring(func.length - 2, func.length) === '}}') {
|
|
160
|
+
return func.substring(2, func.length - 2);
|
|
161
|
+
}
|
|
162
|
+
return false;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// 判断schema中是否有属性值是函数表达式
|
|
166
|
+
export function isFunctionSchema(schema) {
|
|
167
|
+
return Object.keys(schema).some(function (key) {
|
|
168
|
+
if (typeof schema[key] === 'function') {
|
|
169
|
+
return true;
|
|
170
|
+
} else if (typeof schema[key] === 'string') {
|
|
171
|
+
return !!isFunction(schema[key]);
|
|
172
|
+
} else if (_typeof(schema[key]) === 'object') {
|
|
173
|
+
return isFunctionSchema(schema[key]);
|
|
174
|
+
} else {
|
|
175
|
+
return false;
|
|
176
|
+
}
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
// 后面三个参数都是内部递归使用的,将schema的树形结构扁平化成一层, 每个item的结构
|
|
181
|
+
// {
|
|
182
|
+
// parent: '#',
|
|
183
|
+
// schema: ...,
|
|
184
|
+
// children: []
|
|
185
|
+
// }
|
|
186
|
+
export function flattenSchema(schema) {
|
|
187
|
+
var name = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '#';
|
|
188
|
+
var parent = arguments.length > 2 ? arguments[2] : undefined;
|
|
189
|
+
var result = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
190
|
+
var _schema = deepClone(schema);
|
|
191
|
+
if (!_schema.$id) {
|
|
192
|
+
_schema.$id = name; // 给生成的schema添加一个唯一标识,方便从schema中直接读取
|
|
193
|
+
}
|
|
194
|
+
var children = [];
|
|
195
|
+
var isObj = _schema.type === 'object' && _schema.properties;
|
|
196
|
+
var isList = _schema.type === 'array' && _schema.items && _schema.items.properties;
|
|
197
|
+
if (isObj) {
|
|
198
|
+
Object.entries(_schema.properties).forEach(function (_ref) {
|
|
199
|
+
var _ref2 = _slicedToArray(_ref, 2),
|
|
200
|
+
key = _ref2[0],
|
|
201
|
+
value = _ref2[1];
|
|
202
|
+
var uniqueName = name + '/' + key;
|
|
203
|
+
children.push(uniqueName);
|
|
204
|
+
flattenSchema(value, uniqueName, name, result);
|
|
205
|
+
});
|
|
206
|
+
delete _schema.properties;
|
|
207
|
+
}
|
|
208
|
+
if (isList) {
|
|
209
|
+
Object.entries(_schema.items.properties).forEach(function (_ref3) {
|
|
210
|
+
var _ref4 = _slicedToArray(_ref3, 2),
|
|
211
|
+
key = _ref4[0],
|
|
212
|
+
value = _ref4[1];
|
|
213
|
+
var uniqueName = name + '/' + key;
|
|
214
|
+
children.push(uniqueName);
|
|
215
|
+
flattenSchema(value, uniqueName, name, result);
|
|
216
|
+
});
|
|
217
|
+
delete _schema.items.properties;
|
|
218
|
+
}
|
|
219
|
+
if (_schema.type) {
|
|
220
|
+
result[name] = {
|
|
221
|
+
parent: parent,
|
|
222
|
+
schema: _schema,
|
|
223
|
+
children: children
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
return result;
|
|
227
|
+
}
|
|
228
|
+
export var getKeyFromUniqueId = function getKeyFromUniqueId() {
|
|
229
|
+
var uniqueId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '#';
|
|
230
|
+
var arr = uniqueId.split('/');
|
|
231
|
+
return arr[arr.length - 1];
|
|
232
|
+
};
|
|
233
|
+
export var changeKeyFromUniqueId = function changeKeyFromUniqueId() {
|
|
234
|
+
var uniqueId = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : '#';
|
|
235
|
+
var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'something';
|
|
236
|
+
var arr = uniqueId.split('/');
|
|
237
|
+
if (typeof key === 'string' || typeof key === 'number') {
|
|
238
|
+
arr[arr.length - 1] = String(key);
|
|
239
|
+
}
|
|
240
|
+
return arr.join('/');
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
// final = true 用于最终的导出的输出
|
|
244
|
+
// 几种特例:
|
|
245
|
+
// 1. 删除时值删除了item,没有删除和parent的关联,也没有删除children,所以要在解析这步来兜住 (所有的解析都是)
|
|
246
|
+
// 2. 修改$id的情况, 修改的是schema内的$id, 解析的时候要把schema.$id 作为真正的id (final = true的解析)
|
|
247
|
+
export function idToSchema(flatten) {
|
|
248
|
+
var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '#';
|
|
249
|
+
var final = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
250
|
+
var schema = {};
|
|
251
|
+
var _item = flatten[id];
|
|
252
|
+
var item = deepClone(_item);
|
|
253
|
+
if (item) {
|
|
254
|
+
schema = _objectSpread({}, item.schema);
|
|
255
|
+
// 最终输出去掉 $id
|
|
256
|
+
if (final) {
|
|
257
|
+
if (schema.$id) delete schema.$id;
|
|
258
|
+
}
|
|
259
|
+
if (item.children.length > 0) {
|
|
260
|
+
item.children.forEach(function (child) {
|
|
261
|
+
var childId = child;
|
|
262
|
+
// TODO: 这个情况会出现吗?return会有问题吗?
|
|
263
|
+
if (!flatten[child]) {
|
|
264
|
+
return;
|
|
265
|
+
}
|
|
266
|
+
// 最终输出将所有的 key 值改了
|
|
267
|
+
try {
|
|
268
|
+
if (final) {
|
|
269
|
+
childId = flatten[child].schema.$id;
|
|
270
|
+
}
|
|
271
|
+
} catch (error) {
|
|
272
|
+
console.error(error, 'catch');
|
|
273
|
+
}
|
|
274
|
+
var key = getKeyFromUniqueId(childId);
|
|
275
|
+
if (schema.type === 'object') {
|
|
276
|
+
if (!schema.properties) {
|
|
277
|
+
schema.properties = {};
|
|
278
|
+
}
|
|
279
|
+
schema.properties[key] = idToSchema(flatten, child, final);
|
|
280
|
+
}
|
|
281
|
+
if (schema.type === 'array' && schema.items && schema.items.type === 'object') {
|
|
282
|
+
if (!schema.items.properties) {
|
|
283
|
+
schema.items.properties = {};
|
|
284
|
+
}
|
|
285
|
+
schema.items.properties[key] = idToSchema(flatten, child, final);
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
} else {
|
|
289
|
+
if (schema.type === 'object' && !schema.properties) {
|
|
290
|
+
schema.properties = {};
|
|
291
|
+
}
|
|
292
|
+
if (schema.type === 'array' && schema.items && schema.items.type === 'object' && !schema.items.properties) {
|
|
293
|
+
schema.items.properties = {};
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
return schema;
|
|
298
|
+
}
|
|
299
|
+
export var copyItem = function copyItem(flatten, $id, getId) {
|
|
300
|
+
var newFlatten = _objectSpread({}, flatten);
|
|
301
|
+
try {
|
|
302
|
+
var item = flatten[$id];
|
|
303
|
+
var newId = getId($id);
|
|
304
|
+
var siblings = newFlatten[item.parent].children;
|
|
305
|
+
var idx = siblings.findIndex(function (x) {
|
|
306
|
+
return x === $id;
|
|
307
|
+
});
|
|
308
|
+
siblings.splice(idx + 1, 0, newId);
|
|
309
|
+
newFlatten[newId] = deepClone(newFlatten[$id]);
|
|
310
|
+
newFlatten[newId].schema.$id = newId;
|
|
311
|
+
return [newFlatten, newId];
|
|
312
|
+
} catch (error) {
|
|
313
|
+
console.error(error, 'catcherror');
|
|
314
|
+
return [flatten, $id];
|
|
315
|
+
}
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
// Left 点击添加 item
|
|
319
|
+
export var addItem = function addItem(_ref5) {
|
|
320
|
+
var selected = _ref5.selected,
|
|
321
|
+
name = _ref5.name,
|
|
322
|
+
schema = _ref5.schema,
|
|
323
|
+
flatten = _ref5.flatten,
|
|
324
|
+
fixedName = _ref5.fixedName,
|
|
325
|
+
getId = _ref5.getId;
|
|
326
|
+
var _selected = selected || '#';
|
|
327
|
+
var newId;
|
|
328
|
+
// string第一个是0,说明点击了object、list的里侧
|
|
329
|
+
if (_selected && _selected[0] === '0' || _selected === '#') {
|
|
330
|
+
var _newFlatten = _objectSpread({}, flatten);
|
|
331
|
+
try {
|
|
332
|
+
var oldId = _selected.substring(1);
|
|
333
|
+
newId = _selected === '#' ? "#/" : "".concat(oldId, "/");
|
|
334
|
+
if (!fixedName) {
|
|
335
|
+
newId += getId(name);
|
|
336
|
+
} else {
|
|
337
|
+
newId += name;
|
|
338
|
+
}
|
|
339
|
+
if (_selected === '#') {
|
|
340
|
+
oldId = '#';
|
|
341
|
+
}
|
|
342
|
+
var siblings = _newFlatten[oldId].children;
|
|
343
|
+
siblings.push(newId);
|
|
344
|
+
var newItem = {
|
|
345
|
+
parent: oldId,
|
|
346
|
+
schema: _objectSpread(_objectSpread({}, schema), {}, {
|
|
347
|
+
$id: newId
|
|
348
|
+
}),
|
|
349
|
+
data: undefined,
|
|
350
|
+
children: []
|
|
351
|
+
};
|
|
352
|
+
_newFlatten[newId] = newItem;
|
|
353
|
+
} catch (error) {
|
|
354
|
+
console.error(error, 'catch');
|
|
355
|
+
}
|
|
356
|
+
return {
|
|
357
|
+
newId: newId,
|
|
358
|
+
newFlatten: _newFlatten
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
var _name = fixedName ? name : getId(name);
|
|
362
|
+
var idArr = selected.split('/');
|
|
363
|
+
idArr.pop();
|
|
364
|
+
idArr.push(_name);
|
|
365
|
+
newId = idArr.join('/');
|
|
366
|
+
var newFlatten = _objectSpread({}, flatten);
|
|
367
|
+
try {
|
|
368
|
+
var item = newFlatten[selected];
|
|
369
|
+
var _siblings = newFlatten[item.parent].children;
|
|
370
|
+
var idx = _siblings.findIndex(function (x) {
|
|
371
|
+
return x === selected;
|
|
372
|
+
});
|
|
373
|
+
_siblings.splice(idx + 1, 0, newId);
|
|
374
|
+
var _newItem = {
|
|
375
|
+
parent: item.parent,
|
|
376
|
+
schema: _objectSpread(_objectSpread({}, schema), {}, {
|
|
377
|
+
$id: newId
|
|
378
|
+
}),
|
|
379
|
+
data: undefined,
|
|
380
|
+
children: []
|
|
381
|
+
};
|
|
382
|
+
newFlatten[newId] = _newItem;
|
|
383
|
+
} catch (error) {
|
|
384
|
+
console.error(error);
|
|
385
|
+
}
|
|
386
|
+
return {
|
|
387
|
+
newId: newId,
|
|
388
|
+
newFlatten: newFlatten
|
|
389
|
+
};
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
// position 代表 drop 在元素的哪里: 'up' 上 'down' 下 'inside' 内部
|
|
393
|
+
export var dropItem = function dropItem(_ref6) {
|
|
394
|
+
var dragId = _ref6.dragId,
|
|
395
|
+
dragItem = _ref6.dragItem,
|
|
396
|
+
dropId = _ref6.dropId,
|
|
397
|
+
position = _ref6.position,
|
|
398
|
+
flatten = _ref6.flatten;
|
|
399
|
+
var _position = dropId === '#' ? 'inside' : position;
|
|
400
|
+
var newFlatten = _objectSpread({}, flatten);
|
|
401
|
+
// 会动到三块数据,dragItem, dragParent, dropParent. 其中dropParent可能就是dropItem(inside的情况)
|
|
402
|
+
if (dragItem) {
|
|
403
|
+
newFlatten[dragId] = dragItem;
|
|
404
|
+
}
|
|
405
|
+
var _dragItem = dragItem || newFlatten[dragId];
|
|
406
|
+
var dropItemData = newFlatten[dropId];
|
|
407
|
+
var dropParent = dropItemData;
|
|
408
|
+
if (_position !== 'inside') {
|
|
409
|
+
var parentId = dropItemData.parent;
|
|
410
|
+
dropParent = newFlatten[parentId];
|
|
411
|
+
}
|
|
412
|
+
// TODO: 这块的体验,现在这样兜底了,但是drag起一个元素了,应该让原本变空
|
|
413
|
+
if (dropId.indexOf(dragId) > -1) {
|
|
414
|
+
return [newFlatten, dragId];
|
|
415
|
+
}
|
|
416
|
+
var newId = dragId;
|
|
417
|
+
try {
|
|
418
|
+
var newParentId = dropParent.schema.$id;
|
|
419
|
+
newId = newId.replace(_dragItem.parent, newParentId);
|
|
420
|
+
} catch (error) {}
|
|
421
|
+
|
|
422
|
+
// dragParent 的 children 删除 dragId
|
|
423
|
+
try {
|
|
424
|
+
var dragParent = newFlatten[_dragItem.parent];
|
|
425
|
+
var idx = dragParent.children.indexOf(dragId);
|
|
426
|
+
if (idx > -1 && !dragItem) {
|
|
427
|
+
dragParent.children.splice(idx, 1);
|
|
428
|
+
}
|
|
429
|
+
} catch (error) {
|
|
430
|
+
console.error(error);
|
|
431
|
+
}
|
|
432
|
+
try {
|
|
433
|
+
// dropParent 的 children 添加 dragId
|
|
434
|
+
var newChildren = dropParent.children || []; // 要考虑children为空,inside的情况
|
|
435
|
+
var _idx = newChildren.indexOf(dropId);
|
|
436
|
+
switch (_position) {
|
|
437
|
+
case 'up':
|
|
438
|
+
newChildren.splice(_idx, 0, dragId);
|
|
439
|
+
break;
|
|
440
|
+
case 'down':
|
|
441
|
+
newChildren.splice(_idx + 1, 0, dragId);
|
|
442
|
+
break;
|
|
443
|
+
default:
|
|
444
|
+
// inside 作为 default 情况
|
|
445
|
+
newChildren.push(dragId);
|
|
446
|
+
break;
|
|
447
|
+
}
|
|
448
|
+
dropParent.children = newChildren;
|
|
449
|
+
} catch (error) {
|
|
450
|
+
console.error(error);
|
|
451
|
+
}
|
|
452
|
+
_dragItem.parent = dropParent.$id;
|
|
453
|
+
return [newFlatten, newId];
|
|
454
|
+
};
|
|
455
|
+
|
|
456
|
+
// TODO: 没有考虑list的情况
|
|
457
|
+
export var dataToFlatten = function dataToFlatten(flatten, data) {
|
|
458
|
+
// R15: data 为空时不能丢弃 flatten(schema),否则下游 idToSchema('#') 会崩。
|
|
459
|
+
// 仅在 flatten 不存在时短路;data 缺省用 {},照常返回带 schema 的 flatten。
|
|
460
|
+
if (!flatten) return {};
|
|
461
|
+
var _data = data || {};
|
|
462
|
+
Object.entries(flatten).forEach(function (_ref7) {
|
|
463
|
+
var _ref8 = _slicedToArray(_ref7, 1),
|
|
464
|
+
id = _ref8[0];
|
|
465
|
+
flatten[id].data = getDataById(_data, id);
|
|
466
|
+
});
|
|
467
|
+
return flatten;
|
|
468
|
+
};
|
|
469
|
+
export var flattenToData = function flattenToData(flatten) {
|
|
470
|
+
var id = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '#';
|
|
471
|
+
try {
|
|
472
|
+
var result = flatten[id].data;
|
|
473
|
+
var ids = Object.keys(flatten);
|
|
474
|
+
var childrenIds = ids.filter(function (item) {
|
|
475
|
+
var lengthOfId = id.split('/').length;
|
|
476
|
+
var lengthOfChild = item.split('/').length;
|
|
477
|
+
return item.indexOf(id) > -1 && lengthOfChild > lengthOfId;
|
|
478
|
+
});
|
|
479
|
+
if (childrenIds && childrenIds.length > 0) {
|
|
480
|
+
var type = flatten[id].schema.type;
|
|
481
|
+
if (result === undefined) {
|
|
482
|
+
// TODO: 这个是简化的逻辑,在编辑器模型下,list和object都是object结构
|
|
483
|
+
if (type === 'object') {
|
|
484
|
+
result = {};
|
|
485
|
+
} else if (type === 'array') {
|
|
486
|
+
result = [{}];
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
childrenIds.forEach(function (c) {
|
|
490
|
+
var lengthOfId = id.split('/').length;
|
|
491
|
+
var lengthOfChild = c.split('/').length;
|
|
492
|
+
// 只比他长1,是直属的child
|
|
493
|
+
if (lengthOfChild === lengthOfId + 1) {
|
|
494
|
+
var cData = flattenToData(flatten, c);
|
|
495
|
+
var cKey = getKeyFromUniqueId(c);
|
|
496
|
+
if (cData === undefined) return result;
|
|
497
|
+
if (type === 'array') {
|
|
498
|
+
result[0][cKey] = cData;
|
|
499
|
+
} else {
|
|
500
|
+
result[cKey] = cData;
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
});
|
|
504
|
+
}
|
|
505
|
+
return result;
|
|
506
|
+
} catch (error) {
|
|
507
|
+
return undefined;
|
|
508
|
+
}
|
|
509
|
+
};
|
|
510
|
+
|
|
511
|
+
// 例如当前item的id = '#/obj/input' propName: 'labelWidth' 往上一直找,直到找到第一个不是undefined的值
|
|
512
|
+
export var getParentProps = function getParentProps(propName, id, flatten) {
|
|
513
|
+
try {
|
|
514
|
+
var item = flatten[id];
|
|
515
|
+
if (item.schema[propName] !== undefined) return item.schema[propName];
|
|
516
|
+
if (item && item.parent) {
|
|
517
|
+
var parentSchema = flatten[item.parent].schema;
|
|
518
|
+
if (parentSchema[propName] !== undefined) {
|
|
519
|
+
return parentSchema[propName];
|
|
520
|
+
} else {
|
|
521
|
+
return getParentProps(propName, item.parent, flatten);
|
|
522
|
+
}
|
|
523
|
+
}
|
|
524
|
+
} catch (error) {
|
|
525
|
+
return undefined;
|
|
526
|
+
}
|
|
527
|
+
};
|
|
528
|
+
export function looseJsonParse(obj) {
|
|
529
|
+
return Function('"use strict";return (' + obj + ')')();
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
// 获得 propsSchema 的 children
|
|
533
|
+
export function getChildren2(schema) {
|
|
534
|
+
if (!schema) return [];
|
|
535
|
+
var properties = schema.properties,
|
|
536
|
+
items = schema.items,
|
|
537
|
+
type = schema.type;
|
|
538
|
+
if (!properties && !items) {
|
|
539
|
+
return [];
|
|
540
|
+
}
|
|
541
|
+
var schemaSubs = {};
|
|
542
|
+
if (type === 'object') {
|
|
543
|
+
schemaSubs = properties;
|
|
544
|
+
}
|
|
545
|
+
if (type === 'array') {
|
|
546
|
+
schemaSubs = items.properties;
|
|
547
|
+
}
|
|
548
|
+
return Object.keys(schemaSubs).map(function (name) {
|
|
549
|
+
return {
|
|
550
|
+
schema: schemaSubs[name],
|
|
551
|
+
name: name
|
|
552
|
+
};
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
// 解析函数字符串值
|
|
557
|
+
// getDataById(formData, '#/a/b/c')
|
|
558
|
+
export function getDataById(object, path) {
|
|
559
|
+
var parts = castPath(path, object);
|
|
560
|
+
var current = object;
|
|
561
|
+
var index = 0;
|
|
562
|
+
var length = parts.length;
|
|
563
|
+
while (current !== null && current !== undefined && index < length) {
|
|
564
|
+
var key = toKey(parts[index++]);
|
|
565
|
+
if (Array.isArray(current) && _typeof(current[0]) === 'object') {
|
|
566
|
+
current = key ? current[0][key] : current;
|
|
567
|
+
} else {
|
|
568
|
+
current = key ? current[key] : current;
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
return index && index === length ? current : undefined;
|
|
572
|
+
}
|
|
573
|
+
function castPath(value, object) {
|
|
574
|
+
if (Array.isArray(value)) {
|
|
575
|
+
return value;
|
|
576
|
+
}
|
|
577
|
+
return isKey(value, object) ? [value] : value.match(/([^./[\]#"']+)/g);
|
|
578
|
+
}
|
|
579
|
+
function toKey(value) {
|
|
580
|
+
if (typeof value === 'string') {
|
|
581
|
+
return value.replace(/^#\/?/, '');
|
|
582
|
+
}
|
|
583
|
+
var result = "".concat(value);
|
|
584
|
+
return result === '0' && 1 / value === -Infinity ? '-0' : result;
|
|
585
|
+
}
|
|
586
|
+
var reIsDeepProp = /#\/.+\//;
|
|
587
|
+
var reIsPlainProp = /^\w*$/;
|
|
588
|
+
function isKey(value, object) {
|
|
589
|
+
if (Array.isArray(value)) {
|
|
590
|
+
return false;
|
|
591
|
+
}
|
|
592
|
+
var type = _typeof(value);
|
|
593
|
+
if (type === 'number' || type === 'boolean' || value === null || value === undefined) {
|
|
594
|
+
return true;
|
|
595
|
+
}
|
|
596
|
+
return reIsPlainProp.test(value) || !reIsDeepProp.test(value) || object !== null && object !== undefined && value in Object(object);
|
|
597
|
+
}
|
|
598
|
+
export var oldSchemaToNew = function oldSchemaToNew(schema) {
|
|
599
|
+
if (schema && schema.propsSchema) {
|
|
600
|
+
var propsSchema = schema.propsSchema,
|
|
601
|
+
rest = _objectWithoutProperties(schema, _excluded);
|
|
602
|
+
return _objectSpread({
|
|
603
|
+
schema: propsSchema
|
|
604
|
+
}, rest);
|
|
605
|
+
}
|
|
606
|
+
if (schema && schema.schema) {
|
|
607
|
+
return schema.schema;
|
|
608
|
+
}
|
|
609
|
+
if (schema && schema.type === 'object') {
|
|
610
|
+
return schema;
|
|
611
|
+
}
|
|
612
|
+
return _objectSpread({
|
|
613
|
+
type: 'object',
|
|
614
|
+
properties: {}
|
|
615
|
+
}, schema);
|
|
616
|
+
};
|
|
617
|
+
export var newSchemaToOld = function newSchemaToOld(setting) {
|
|
618
|
+
if (setting && setting.schema) {
|
|
619
|
+
var schema = setting.schema,
|
|
620
|
+
rest = _objectWithoutProperties(setting, _excluded2);
|
|
621
|
+
return _objectSpread({
|
|
622
|
+
propsSchema: schema
|
|
623
|
+
}, rest);
|
|
624
|
+
}
|
|
625
|
+
return setting;
|
|
626
|
+
};
|
|
627
|
+
export var schemaToState = function schemaToState(value) {
|
|
628
|
+
var schema = oldSchemaToNew(value);
|
|
629
|
+
var frProps = Object.keys(schema).reduce(function (rst, cur) {
|
|
630
|
+
if (['type', 'properties'].includes(cur)) return rst;
|
|
631
|
+
return _objectSpread(_objectSpread({}, rst), {}, _defineProperty({}, cur, schema[cur]));
|
|
632
|
+
}, {});
|
|
633
|
+
var isNewVersion = !(value && value.propsSchema);
|
|
634
|
+
return {
|
|
635
|
+
schema: schema,
|
|
636
|
+
frProps: frProps,
|
|
637
|
+
formData: schema.formData || {},
|
|
638
|
+
isNewVersion: isNewVersion
|
|
639
|
+
};
|
|
640
|
+
};
|
|
641
|
+
export function defaultGetValueFromEvent(valuePropName) {
|
|
642
|
+
var event = arguments.length <= 1 ? undefined : arguments[1];
|
|
643
|
+
if (event && event.target && valuePropName in event.target) {
|
|
644
|
+
return event.target[valuePropName];
|
|
645
|
+
}
|
|
646
|
+
return event;
|
|
647
|
+
}
|
|
648
|
+
export var transformProps = function transformProps(props) {
|
|
649
|
+
var onChange = props.onChange,
|
|
650
|
+
value = props.value,
|
|
651
|
+
defaultValue = props.defaultValue,
|
|
652
|
+
ownSchema = props.schema,
|
|
653
|
+
rest = _objectWithoutProperties(props, _excluded3);
|
|
654
|
+
var schema = _objectSpread({}, ownSchema);
|
|
655
|
+
var _ref9 = schema || {},
|
|
656
|
+
trigger = _ref9.trigger,
|
|
657
|
+
valuePropName = _ref9.valuePropName;
|
|
658
|
+
var controlProps = {};
|
|
659
|
+
var _valuePropName = 'value';
|
|
660
|
+
var _value = value === undefined ? defaultValue : value;
|
|
661
|
+
if (valuePropName && typeof valuePropName === 'string') {
|
|
662
|
+
_valuePropName = valuePropName;
|
|
663
|
+
controlProps[valuePropName] = _value;
|
|
664
|
+
} else {
|
|
665
|
+
controlProps.value = _value;
|
|
666
|
+
}
|
|
667
|
+
var _onChange = function _onChange() {
|
|
668
|
+
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
669
|
+
args[_key] = arguments[_key];
|
|
670
|
+
}
|
|
671
|
+
var newValue = defaultGetValueFromEvent.apply(void 0, [_valuePropName].concat(args));
|
|
672
|
+
onChange(newValue);
|
|
673
|
+
};
|
|
674
|
+
if (trigger && typeof trigger === 'string') {
|
|
675
|
+
controlProps[trigger] = _onChange;
|
|
676
|
+
} else {
|
|
677
|
+
controlProps.onChange = _onChange;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
// TODO: 之后 ui:xx 会舍去
|
|
681
|
+
var usefulPropsFromSchema = {
|
|
682
|
+
disabled: schema.disabled || schema['ui:disabled'],
|
|
683
|
+
readOnly: schema.readOnly || schema['ui:readonly']
|
|
684
|
+
// hidden: schema.hidden || schema['ui:hidden'],
|
|
685
|
+
// $options: schema.options || schema['ui:options'],
|
|
686
|
+
};
|
|
687
|
+
var _props = _objectSpread(_objectSpread(_objectSpread({}, controlProps), {}, {
|
|
688
|
+
schema: schema
|
|
689
|
+
}, usefulPropsFromSchema), rest);
|
|
690
|
+
return _props;
|
|
691
|
+
};
|
|
692
|
+
export var mergeInOrder = function mergeInOrder() {
|
|
693
|
+
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
694
|
+
args[_key2] = arguments[_key2];
|
|
695
|
+
}
|
|
696
|
+
return args.reduce(function (result, current) {
|
|
697
|
+
if (!current) return result;
|
|
698
|
+
return Object.keys(current).reduce(function (rst, key) {
|
|
699
|
+
if (rst[key]) delete rst[key];
|
|
700
|
+
return _objectSpread(_objectSpread({}, rst), {}, _defineProperty({}, key, current[key]));
|
|
701
|
+
}, result);
|
|
702
|
+
}, {});
|
|
703
|
+
};
|
|
704
|
+
export var defaultGetId = function defaultGetId(name) {
|
|
705
|
+
return "".concat(name, "_").concat(nanoid(6));
|
|
706
|
+
};
|