@4399ywkf/design 2.0.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.d.ts +25 -0
- package/dist/MaxTokenSlider/index.js +152 -0
- package/dist/MaxTokenSlider/style.d.ts +6 -0
- package/dist/MaxTokenSlider/style.js +14 -0
- 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/WaterfallVirtual/types.d.ts +2 -1
- package/dist/hooks/useDownloadImage/index.js +82 -84
- package/dist/index.d.ts +21 -1
- package/dist/index.js +37 -3
- package/package.json +76 -21
- 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,318 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
var _excluded = ["props", "removeBtn", "rules"],
|
|
3
|
+
_excluded2 = ["addBtnProps", "delConfirmProps", "actionColumnProps", "hideAdd", "hideCopy", "hideMove", "hideDelete", "onAdd", "onRemove", "onMove", "onCopy"];
|
|
4
|
+
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; }
|
|
5
|
+
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; }
|
|
6
|
+
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; }
|
|
7
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
8
|
+
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); }
|
|
9
|
+
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
10
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
11
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
12
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
13
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
14
|
+
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); }
|
|
15
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
16
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
17
|
+
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; }
|
|
18
|
+
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; }
|
|
19
|
+
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; }
|
|
20
|
+
import React, { useContext, useEffect, useMemo } from 'react';
|
|
21
|
+
import { Form, message, ConfigProvider, Button } from 'antd';
|
|
22
|
+
import { isFunction, translation } from "../../utils";
|
|
23
|
+
import { getWidget } from "../../models/mapping";
|
|
24
|
+
import { transformRules } from "../../models/validates";
|
|
25
|
+
import { getParamValue } from "./modules";
|
|
26
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
27
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
28
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
29
|
+
export default (function (props) {
|
|
30
|
+
var _globalConfig$listOpe, _globalConfig$listOpe2;
|
|
31
|
+
var form = props.form,
|
|
32
|
+
schema = props.schema,
|
|
33
|
+
path = props.path,
|
|
34
|
+
parentLitPath = props.parentLitPath,
|
|
35
|
+
renderCore = props.renderCore,
|
|
36
|
+
rootPath = props.rootPath,
|
|
37
|
+
methods = props.methods,
|
|
38
|
+
upperCtx = props.upperCtx,
|
|
39
|
+
formCtx = props.formCtx,
|
|
40
|
+
configContext = props.configContext,
|
|
41
|
+
setListData = props.setListData;
|
|
42
|
+
var widgets = configContext.widgets,
|
|
43
|
+
globalConfig = configContext.globalConfig;
|
|
44
|
+
var configCtx = useContext(ConfigProvider.ConfigContext);
|
|
45
|
+
var t = translation(configCtx);
|
|
46
|
+
var defaultAddBtnProps = {
|
|
47
|
+
type: 'dashed',
|
|
48
|
+
block: true,
|
|
49
|
+
children: t('add_item')
|
|
50
|
+
};
|
|
51
|
+
var defaultDelConfirmProps = {
|
|
52
|
+
title: t('confirm_delete'),
|
|
53
|
+
okText: t('confirm'),
|
|
54
|
+
cancelText: t('cancel')
|
|
55
|
+
};
|
|
56
|
+
var defaultActionColumnProps = {
|
|
57
|
+
colHeaderText: t('operate')
|
|
58
|
+
};
|
|
59
|
+
var widgetName = schema.widget || 'cardList';
|
|
60
|
+
var Widget = getWidget(widgetName, widgets);
|
|
61
|
+
var listProps = schema.props,
|
|
62
|
+
removeBtn = schema.removeBtn,
|
|
63
|
+
_schema$rules = schema.rules,
|
|
64
|
+
rules = _schema$rules === void 0 ? [] : _schema$rules,
|
|
65
|
+
otherSchema = _objectWithoutProperties(schema, _excluded);
|
|
66
|
+
var _ref = listProps || {},
|
|
67
|
+
addBtnProps = _ref.addBtnProps,
|
|
68
|
+
delConfirmProps = _ref.delConfirmProps,
|
|
69
|
+
actionColumnProps = _ref.actionColumnProps,
|
|
70
|
+
hideAdd = _ref.hideAdd,
|
|
71
|
+
hideCopy = _ref.hideCopy,
|
|
72
|
+
hideMove = _ref.hideMove,
|
|
73
|
+
hideDelete = _ref.hideDelete,
|
|
74
|
+
onAdd = _ref.onAdd,
|
|
75
|
+
onRemove = _ref.onRemove,
|
|
76
|
+
onMove = _ref.onMove,
|
|
77
|
+
onCopy = _ref.onCopy,
|
|
78
|
+
otherListProps = _objectWithoutProperties(_ref, _excluded2);
|
|
79
|
+
var getValueFromKey = getParamValue(formCtx, upperCtx, schema);
|
|
80
|
+
var readOnly = getValueFromKey('readOnly');
|
|
81
|
+
var preRootPath = _toConsumableArray(rootPath || []).splice(0, rootPath.length - 1);
|
|
82
|
+
var displayType = getValueFromKey('displayType');
|
|
83
|
+
if (hideMove === undefined && globalConfig !== null && globalConfig !== void 0 && (_globalConfig$listOpe = globalConfig.listOperate) !== null && _globalConfig$listOpe !== void 0 && _globalConfig$listOpe.hideMove) {
|
|
84
|
+
hideMove = globalConfig === null || globalConfig === void 0 ? void 0 : globalConfig.listOperate.hideMove;
|
|
85
|
+
}
|
|
86
|
+
var listData = form.getFieldValue([].concat(_toConsumableArray(preRootPath), _toConsumableArray(path))) || [];
|
|
87
|
+
if ((otherSchema === null || otherSchema === void 0 ? void 0 : otherSchema.min) > 0 && listData.length <= (otherSchema === null || otherSchema === void 0 ? void 0 : otherSchema.min)) {
|
|
88
|
+
hideDelete = true;
|
|
89
|
+
}
|
|
90
|
+
if ((otherSchema === null || otherSchema === void 0 ? void 0 : otherSchema.max) > 0 && (otherSchema === null || otherSchema === void 0 ? void 0 : otherSchema.max) <= listData.length) {
|
|
91
|
+
hideAdd = true;
|
|
92
|
+
}
|
|
93
|
+
if (hideAdd) {
|
|
94
|
+
hideCopy = true;
|
|
95
|
+
}
|
|
96
|
+
if (readOnly) {
|
|
97
|
+
hideAdd = true;
|
|
98
|
+
hideCopy = true;
|
|
99
|
+
hideDelete = true;
|
|
100
|
+
hideMove = true;
|
|
101
|
+
}
|
|
102
|
+
var defaultValue = useMemo(function () {
|
|
103
|
+
var _schema$default;
|
|
104
|
+
var result = (_schema$default = schema.default) !== null && _schema$default !== void 0 ? _schema$default : schema.defaultValue;
|
|
105
|
+
if (result === undefined) {
|
|
106
|
+
result = form.getFieldValue([].concat(_toConsumableArray(preRootPath), _toConsumableArray(path)));
|
|
107
|
+
if (!result && !['drawerList', 'list1'].includes(widgetName)) {
|
|
108
|
+
result = [{}];
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return result;
|
|
112
|
+
}, []);
|
|
113
|
+
useEffect(function () {
|
|
114
|
+
setListData(defaultValue || []);
|
|
115
|
+
}, []);
|
|
116
|
+
var handleAdd = function handleAdd(add) {
|
|
117
|
+
return function (data) {
|
|
118
|
+
var addFunc = onAdd;
|
|
119
|
+
if (typeof onAdd === 'string') {
|
|
120
|
+
addFunc = methods[onAdd];
|
|
121
|
+
}
|
|
122
|
+
if (isFunction(addFunc)) {
|
|
123
|
+
addFunc(function (funData) {
|
|
124
|
+
return add(funData || data);
|
|
125
|
+
}, {
|
|
126
|
+
schema: schema,
|
|
127
|
+
data: data
|
|
128
|
+
});
|
|
129
|
+
return;
|
|
130
|
+
}
|
|
131
|
+
add(data);
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
var handleRemove = function handleRemove(remove) {
|
|
135
|
+
return function (index) {
|
|
136
|
+
var removeFunc = onRemove;
|
|
137
|
+
if (typeof onRemove === 'string') {
|
|
138
|
+
removeFunc = methods[onRemove];
|
|
139
|
+
}
|
|
140
|
+
if (isFunction(removeFunc)) {
|
|
141
|
+
var data = form.getFieldValue([].concat(_toConsumableArray(preRootPath), _toConsumableArray(path), [index]));
|
|
142
|
+
removeFunc(function () {
|
|
143
|
+
return remove(index);
|
|
144
|
+
}, {
|
|
145
|
+
schema: schema,
|
|
146
|
+
index: index,
|
|
147
|
+
data: data
|
|
148
|
+
});
|
|
149
|
+
return;
|
|
150
|
+
}
|
|
151
|
+
remove(index);
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
var handleMove = function handleMove(move) {
|
|
155
|
+
return function (from, to) {
|
|
156
|
+
var moveFunc = onMove;
|
|
157
|
+
if (typeof moveFunc === 'string') {
|
|
158
|
+
moveFunc = methods[onMove];
|
|
159
|
+
}
|
|
160
|
+
if (isFunction(moveFunc)) {
|
|
161
|
+
moveFunc(function () {
|
|
162
|
+
return move(from, to);
|
|
163
|
+
}, {
|
|
164
|
+
schema: schema,
|
|
165
|
+
from: from,
|
|
166
|
+
to: to
|
|
167
|
+
});
|
|
168
|
+
return;
|
|
169
|
+
}
|
|
170
|
+
move(from, to);
|
|
171
|
+
};
|
|
172
|
+
};
|
|
173
|
+
var handleCopy = function handleCopy(add, fields) {
|
|
174
|
+
return function (data, copyIndex) {
|
|
175
|
+
if (schema.max && fields.length === schema.max) {
|
|
176
|
+
return message.warning(t('copy_max_tip'));
|
|
177
|
+
}
|
|
178
|
+
var copyFunc = onCopy;
|
|
179
|
+
if (typeof onCopy === 'string') {
|
|
180
|
+
copyFunc = methods[onCopy];
|
|
181
|
+
}
|
|
182
|
+
if (isFunction(copyFunc)) {
|
|
183
|
+
console.log(copyIndex, 'copyIndex');
|
|
184
|
+
copyFunc(function (funData) {
|
|
185
|
+
return add(funData || data);
|
|
186
|
+
}, {
|
|
187
|
+
schema: schema,
|
|
188
|
+
data: data,
|
|
189
|
+
copyIndex: copyIndex
|
|
190
|
+
});
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
add(data);
|
|
194
|
+
};
|
|
195
|
+
};
|
|
196
|
+
var handleDelete = function handleDelete() {
|
|
197
|
+
if (isFunction(removeBtn === null || removeBtn === void 0 ? void 0 : removeBtn.onClick)) {
|
|
198
|
+
removeBtn.onClick(function () {
|
|
199
|
+
form.setSchemaByPath(path, {
|
|
200
|
+
hidden: true
|
|
201
|
+
});
|
|
202
|
+
});
|
|
203
|
+
return;
|
|
204
|
+
}
|
|
205
|
+
form.setSchemaByPath(path, {
|
|
206
|
+
hidden: true
|
|
207
|
+
});
|
|
208
|
+
};
|
|
209
|
+
var operateBtnType = globalConfig === null || globalConfig === void 0 || (_globalConfig$listOpe2 = globalConfig.listOperate) === null || _globalConfig$listOpe2 === void 0 ? void 0 : _globalConfig$listOpe2.btnType;
|
|
210
|
+
var ruleList = [];
|
|
211
|
+
if (!readOnly) {
|
|
212
|
+
ruleList = [{
|
|
213
|
+
validator: function () {
|
|
214
|
+
var _validator = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_, data) {
|
|
215
|
+
var _otherSchema$message;
|
|
216
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
217
|
+
while (1) switch (_context.prev = _context.next) {
|
|
218
|
+
case 0:
|
|
219
|
+
setListData(data);
|
|
220
|
+
if (otherSchema !== null && otherSchema !== void 0 && otherSchema.min) {
|
|
221
|
+
_context.next = 3;
|
|
222
|
+
break;
|
|
223
|
+
}
|
|
224
|
+
return _context.abrupt("return");
|
|
225
|
+
case 3:
|
|
226
|
+
if (!(!data || data.length < otherSchema.min)) {
|
|
227
|
+
_context.next = 5;
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
return _context.abrupt("return", Promise.reject(new Error((otherSchema === null || otherSchema === void 0 || (_otherSchema$message = otherSchema.message) === null || _otherSchema$message === void 0 ? void 0 : _otherSchema$message.min) || "\u6570\u636E\u957F\u5EA6\u5FC5\u987B\u5927\u4E8E\u7B49\u4E8E".concat(otherSchema.min))));
|
|
231
|
+
case 5:
|
|
232
|
+
case "end":
|
|
233
|
+
return _context.stop();
|
|
234
|
+
}
|
|
235
|
+
}, _callee);
|
|
236
|
+
}));
|
|
237
|
+
function validator(_x, _x2) {
|
|
238
|
+
return _validator.apply(this, arguments);
|
|
239
|
+
}
|
|
240
|
+
return validator;
|
|
241
|
+
}()
|
|
242
|
+
}].concat(_toConsumableArray(transformRules(rules || [], methods, form)));
|
|
243
|
+
}
|
|
244
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
245
|
+
children: [/*#__PURE__*/_jsx(Form.List, {
|
|
246
|
+
name: path,
|
|
247
|
+
initialValue: defaultValue,
|
|
248
|
+
rules: ruleList,
|
|
249
|
+
children: function children(fields, operation, _ref2) {
|
|
250
|
+
var errors = _ref2.errors;
|
|
251
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
252
|
+
children: [/*#__PURE__*/_jsx(Widget, _objectSpread(_objectSpread({}, otherListProps), {}, {
|
|
253
|
+
configContext: configContext,
|
|
254
|
+
form: form,
|
|
255
|
+
schema: otherSchema,
|
|
256
|
+
fields: fields,
|
|
257
|
+
operation: operation,
|
|
258
|
+
path: path,
|
|
259
|
+
listName: path,
|
|
260
|
+
parentLitPath: parentLitPath,
|
|
261
|
+
rootPath: [].concat(_toConsumableArray(preRootPath), _toConsumableArray(path)),
|
|
262
|
+
readOnly: readOnly,
|
|
263
|
+
methods: methods,
|
|
264
|
+
renderCore: renderCore,
|
|
265
|
+
widgets: widgets,
|
|
266
|
+
hideAdd: hideAdd,
|
|
267
|
+
hideCopy: hideCopy,
|
|
268
|
+
hideDelete: hideDelete,
|
|
269
|
+
hideMove: hideMove,
|
|
270
|
+
addItem: handleAdd(operation.add),
|
|
271
|
+
removeItem: handleRemove(operation.remove),
|
|
272
|
+
moveItem: handleMove(operation.move),
|
|
273
|
+
copyItem: handleCopy(operation.add, fields),
|
|
274
|
+
temporary: {
|
|
275
|
+
displayType: displayType
|
|
276
|
+
},
|
|
277
|
+
addBtnProps: _objectSpread(_objectSpread({}, defaultAddBtnProps), addBtnProps),
|
|
278
|
+
delConfirmProps: _objectSpread(_objectSpread({}, defaultDelConfirmProps), delConfirmProps),
|
|
279
|
+
actionColumnProps: _objectSpread(_objectSpread({}, defaultActionColumnProps), actionColumnProps),
|
|
280
|
+
copyBtnProps: {
|
|
281
|
+
children: t('copy'),
|
|
282
|
+
btnType: operateBtnType
|
|
283
|
+
},
|
|
284
|
+
editorBtnProps: {
|
|
285
|
+
children: t('edit'),
|
|
286
|
+
btnType: operateBtnType
|
|
287
|
+
},
|
|
288
|
+
deleteBtnProps: {
|
|
289
|
+
children: t('delete'),
|
|
290
|
+
btnType: operateBtnType
|
|
291
|
+
},
|
|
292
|
+
moveUpBtnProps: {
|
|
293
|
+
children: t('moveUp'),
|
|
294
|
+
btnType: operateBtnType
|
|
295
|
+
},
|
|
296
|
+
moveDownBtnProps: {
|
|
297
|
+
children: t('moveDown'),
|
|
298
|
+
btnType: operateBtnType
|
|
299
|
+
}
|
|
300
|
+
})), (errors === null || errors === void 0 ? void 0 : errors.length) !== 0 && /*#__PURE__*/_jsx("div", {
|
|
301
|
+
style: {
|
|
302
|
+
marginBottom: '12px'
|
|
303
|
+
},
|
|
304
|
+
children: /*#__PURE__*/_jsx(Form.ErrorList, {
|
|
305
|
+
errors: errors
|
|
306
|
+
})
|
|
307
|
+
})]
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
}), removeBtn && /*#__PURE__*/_jsx(Button, _objectSpread(_objectSpread({
|
|
311
|
+
type: "link",
|
|
312
|
+
danger: true
|
|
313
|
+
}, removeBtn), {}, {
|
|
314
|
+
onClick: handleDelete,
|
|
315
|
+
children: (removeBtn === null || removeBtn === void 0 ? void 0 : removeBtn.text) || t('delete')
|
|
316
|
+
}))]
|
|
317
|
+
});
|
|
318
|
+
});
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
var _excluded = ["items"];
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
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; }
|
|
6
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
7
|
+
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); }
|
|
8
|
+
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; }
|
|
9
|
+
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; }
|
|
10
|
+
import React, { useContext } from 'react';
|
|
11
|
+
import { Form } from 'antd';
|
|
12
|
+
import { FRContext, ConfigContext } from "../../models/context";
|
|
13
|
+
import { isHasExpression, parseAllExpression } from "../../models/expression";
|
|
14
|
+
import fieldShouldUpdate from "../../models/fieldShouldUpdate";
|
|
15
|
+
import Main from "./main";
|
|
16
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
17
|
+
export default (function (props) {
|
|
18
|
+
var _configCtx$globalConf;
|
|
19
|
+
var schema = props.schema,
|
|
20
|
+
rootPath = props.rootPath;
|
|
21
|
+
var _ref = schema || {},
|
|
22
|
+
items = _ref.items,
|
|
23
|
+
listSchema = _objectWithoutProperties(_ref, _excluded);
|
|
24
|
+
var store = useContext(FRContext);
|
|
25
|
+
var _store$getState = store.getState(),
|
|
26
|
+
formSchema = _store$getState.schema;
|
|
27
|
+
var configCtx = useContext(ConfigContext);
|
|
28
|
+
var mustacheDisabled = configCtx === null || configCtx === void 0 || (_configCtx$globalConf = configCtx.globalConfig) === null || _configCtx$globalConf === void 0 ? void 0 : _configCtx$globalConf.mustacheDisabled;
|
|
29
|
+
var dependencies = schema === null || schema === void 0 ? void 0 : schema.dependencies;
|
|
30
|
+
|
|
31
|
+
// No function expressions exist
|
|
32
|
+
if (!isHasExpression(schema) && !mustacheDisabled && (!dependencies || !(dependencies !== null && dependencies !== void 0 && dependencies.length))) {
|
|
33
|
+
return /*#__PURE__*/_jsx(Main, _objectSpread({
|
|
34
|
+
configContext: configCtx
|
|
35
|
+
}, props));
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
// Need to listen to form values for dynamic rendering
|
|
39
|
+
return /*#__PURE__*/_jsx(Form.Item, {
|
|
40
|
+
noStyle: true,
|
|
41
|
+
shouldUpdate: fieldShouldUpdate(JSON.stringify(listSchema || {}), rootPath, dependencies, true),
|
|
42
|
+
children: function children(form) {
|
|
43
|
+
var formData = form.getFieldsValue(true);
|
|
44
|
+
var newListSchema = mustacheDisabled ? schema : parseAllExpression(listSchema, formData, rootPath, formSchema);
|
|
45
|
+
return /*#__PURE__*/_jsx(Main, _objectSpread(_objectSpread({
|
|
46
|
+
configContext: configCtx
|
|
47
|
+
}, props), {}, {
|
|
48
|
+
schema: _objectSpread({
|
|
49
|
+
items: items
|
|
50
|
+
}, newListSchema),
|
|
51
|
+
rootPath: rootPath
|
|
52
|
+
}));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
});
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
var _excluded = ["items", "className"];
|
|
3
|
+
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
4
|
+
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
5
|
+
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
6
|
+
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
7
|
+
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; }
|
|
8
|
+
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; }
|
|
9
|
+
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; }
|
|
10
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
11
|
+
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); }
|
|
12
|
+
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; }
|
|
13
|
+
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; }
|
|
14
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
15
|
+
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."); }
|
|
16
|
+
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); }
|
|
17
|
+
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; }
|
|
18
|
+
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; } }
|
|
19
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
20
|
+
import React, { createContext, useContext, useState } from 'react';
|
|
21
|
+
import { Form, Col } from 'antd';
|
|
22
|
+
import { useStore } from 'zustand';
|
|
23
|
+
import { FRContext } from "../../models/context";
|
|
24
|
+
import { parseAllExpression } from "../../models/expression";
|
|
25
|
+
import { getFormListLayout, getParamValue, getLabel, getTooltip } from "./modules";
|
|
26
|
+
import { useRenderCoreStyles } from "../style";
|
|
27
|
+
import Main from "./field";
|
|
28
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
29
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
30
|
+
var UpperContext = /*#__PURE__*/createContext(function () {});
|
|
31
|
+
export default (function (props) {
|
|
32
|
+
var _useState = useState([]),
|
|
33
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
34
|
+
_ = _useState2[0],
|
|
35
|
+
setListData = _useState2[1];
|
|
36
|
+
var configContext = props.configContext;
|
|
37
|
+
var _useRenderCoreStyles = useRenderCoreStyles(),
|
|
38
|
+
styles = _useRenderCoreStyles.styles;
|
|
39
|
+
var store = useContext(FRContext);
|
|
40
|
+
var formCtx = useStore(store, function (state) {
|
|
41
|
+
return state.context;
|
|
42
|
+
});
|
|
43
|
+
var upperCtx = useContext(UpperContext);
|
|
44
|
+
var form = configContext.form,
|
|
45
|
+
widgets = configContext.widgets,
|
|
46
|
+
methods = configContext.methods,
|
|
47
|
+
globalConfig = configContext.globalConfig;
|
|
48
|
+
var displayType = formCtx.displayType;
|
|
49
|
+
var isDisplayColumn = displayType === 'column';
|
|
50
|
+
var _schema = props.schema;
|
|
51
|
+
var formData = form.getFieldsValue(true);
|
|
52
|
+
var _store$getState = store.getState(),
|
|
53
|
+
formSchema = _store$getState.schema;
|
|
54
|
+
var items = _schema.items,
|
|
55
|
+
className = _schema.className,
|
|
56
|
+
otherSchema = _objectWithoutProperties(_schema, _excluded);
|
|
57
|
+
var schema = globalConfig !== null && globalConfig !== void 0 && globalConfig.mustacheDisabled ? _schema : _objectSpread({
|
|
58
|
+
items: items
|
|
59
|
+
}, parseAllExpression(otherSchema, formData, props.rootPath, formSchema));
|
|
60
|
+
var widget = schema.widget;
|
|
61
|
+
var widgetName = widget || 'list1';
|
|
62
|
+
var getValueFromKey = getParamValue(formCtx, upperCtx, schema);
|
|
63
|
+
var label = getLabel(schema, displayType, widgets);
|
|
64
|
+
var tooltip = getTooltip(schema, displayType);
|
|
65
|
+
var _getFormListLayout = getFormListLayout(getValueFromKey, displayType),
|
|
66
|
+
labelCol = _getFormListLayout.labelCol,
|
|
67
|
+
fieldCol = _getFormListLayout.fieldCol;
|
|
68
|
+
var isInline = schema.display === 'inline';
|
|
69
|
+
var preRootPath = _toConsumableArray(props.rootPath || []).splice(0, props.rootPath.length - 1);
|
|
70
|
+
var listData = form.getFieldValue([].concat(_toConsumableArray(preRootPath), _toConsumableArray(props.path)));
|
|
71
|
+
if (!(listData !== null && listData !== void 0 && listData.length) && widgetName !== 'drawerList') {
|
|
72
|
+
isInline = true;
|
|
73
|
+
}
|
|
74
|
+
if (schema.hidden) {
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
return /*#__PURE__*/_jsxs(Col, {
|
|
78
|
+
span: 24,
|
|
79
|
+
className: className,
|
|
80
|
+
children: [!isInline && !isDisplayColumn && label && /*#__PURE__*/_jsx(Form.Item, {
|
|
81
|
+
className: styles.antFormItemOptionalHide,
|
|
82
|
+
label: label,
|
|
83
|
+
labelAlign: 'left',
|
|
84
|
+
colon: false,
|
|
85
|
+
tooltip: tooltip,
|
|
86
|
+
style: {
|
|
87
|
+
marginBottom: 0
|
|
88
|
+
},
|
|
89
|
+
labelCol: {
|
|
90
|
+
span: 24
|
|
91
|
+
}
|
|
92
|
+
}), /*#__PURE__*/_jsx(Form.Item, {
|
|
93
|
+
label: label,
|
|
94
|
+
labelCol: isDisplayColumn ? {
|
|
95
|
+
span: 24
|
|
96
|
+
} : labelCol,
|
|
97
|
+
wrapperCol: fieldCol,
|
|
98
|
+
noStyle: !isInline && !isDisplayColumn,
|
|
99
|
+
tooltip: tooltip,
|
|
100
|
+
children: /*#__PURE__*/_jsx(Main, _objectSpread(_objectSpread({}, props), {}, {
|
|
101
|
+
form: form,
|
|
102
|
+
methods: methods,
|
|
103
|
+
formCtx: formCtx,
|
|
104
|
+
upperCtx: upperCtx,
|
|
105
|
+
widgets: widgets,
|
|
106
|
+
configContext: configContext,
|
|
107
|
+
setListData: setListData
|
|
108
|
+
}))
|
|
109
|
+
})]
|
|
110
|
+
});
|
|
111
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const getParamValue: (formCtx: any, upperCtx: any, schema: any) => (valueKey: string) => any;
|
|
2
|
+
export declare const getFormListLayout: (getValueFromKey: any, displayType: string) => {
|
|
3
|
+
labelCol: any;
|
|
4
|
+
fieldCol: any;
|
|
5
|
+
};
|
|
6
|
+
export declare const getLabel: (schema: any, displayType: string, widgets: any) => any;
|
|
7
|
+
export declare const getTooltip: (schema: any, displayType: string) => any;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
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); }
|
|
2
|
+
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; }
|
|
3
|
+
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; }
|
|
4
|
+
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; }
|
|
5
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
|
+
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); }
|
|
7
|
+
import React from "react";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
11
|
+
export var getParamValue = function getParamValue(formCtx, upperCtx, schema) {
|
|
12
|
+
return function (valueKey) {
|
|
13
|
+
var _ref, _schema$valueKey;
|
|
14
|
+
return (_ref = (_schema$valueKey = schema[valueKey]) !== null && _schema$valueKey !== void 0 ? _schema$valueKey : upperCtx[valueKey]) !== null && _ref !== void 0 ? _ref : formCtx[valueKey];
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
export var getFormListLayout = function getFormListLayout(getValueFromKey, displayType) {
|
|
18
|
+
var _labelCol = getValueFromKey('labelCol');
|
|
19
|
+
var _fieldCol = getValueFromKey('fieldCol');
|
|
20
|
+
var labelWidth = getValueFromKey('labelWidth');
|
|
21
|
+
var labelCol = {
|
|
22
|
+
span: 5
|
|
23
|
+
};
|
|
24
|
+
var fieldCol = {
|
|
25
|
+
flex: 1
|
|
26
|
+
};
|
|
27
|
+
if (labelWidth && displayType !== 'column') {
|
|
28
|
+
labelCol = {
|
|
29
|
+
flex: labelWidth + 'px'
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
if (_labelCol) {
|
|
33
|
+
labelCol = _labelCol;
|
|
34
|
+
}
|
|
35
|
+
if (_fieldCol) {
|
|
36
|
+
fieldCol = _fieldCol;
|
|
37
|
+
}
|
|
38
|
+
if (typeof _labelCol === 'number') {
|
|
39
|
+
labelCol = {
|
|
40
|
+
span: _labelCol
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
if (typeof _fieldCol === 'number') {
|
|
44
|
+
fieldCol = {
|
|
45
|
+
span: _fieldCol
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
labelCol: labelCol,
|
|
50
|
+
fieldCol: fieldCol
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
export var getLabel = function getLabel(schema, displayType, widgets) {
|
|
54
|
+
var title = schema.title,
|
|
55
|
+
description = schema.description,
|
|
56
|
+
descWidget = schema.descWidget,
|
|
57
|
+
labelWidget = schema.labelWidget;
|
|
58
|
+
var LabelNode = widgets[labelWidget];
|
|
59
|
+
if (LabelNode) {
|
|
60
|
+
return /*#__PURE__*/_jsx(LabelNode, {
|
|
61
|
+
schema: schema
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
if (!description && !descWidget) {
|
|
65
|
+
return title;
|
|
66
|
+
}
|
|
67
|
+
var RenderDesc = function RenderDesc() {
|
|
68
|
+
var Widget = widgets[descWidget];
|
|
69
|
+
if (Widget) {
|
|
70
|
+
return /*#__PURE__*/_jsx(Widget, {
|
|
71
|
+
schema: schema
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
if (description) {
|
|
75
|
+
return /*#__PURE__*/_jsxs("span", {
|
|
76
|
+
className: "fr-desc",
|
|
77
|
+
children: ["(", description, ")"]
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
return null;
|
|
81
|
+
};
|
|
82
|
+
if (displayType === 'inline') {
|
|
83
|
+
return title;
|
|
84
|
+
}
|
|
85
|
+
return /*#__PURE__*/_jsxs(_Fragment, {
|
|
86
|
+
children: [title, /*#__PURE__*/_jsx(RenderDesc, {})]
|
|
87
|
+
});
|
|
88
|
+
};
|
|
89
|
+
export var getTooltip = function getTooltip(schema, displayType) {
|
|
90
|
+
var descType = schema.descType,
|
|
91
|
+
description = schema.description,
|
|
92
|
+
tooltip = schema.tooltip;
|
|
93
|
+
if (tooltip) {
|
|
94
|
+
if (typeof tooltip === 'string') {
|
|
95
|
+
return {
|
|
96
|
+
title: /*#__PURE__*/_jsx("span", {
|
|
97
|
+
dangerouslySetInnerHTML: {
|
|
98
|
+
__html: tooltip
|
|
99
|
+
}
|
|
100
|
+
})
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
return _objectSpread(_objectSpread({}, tooltip), {}, {
|
|
104
|
+
title: /*#__PURE__*/_jsx("span", {
|
|
105
|
+
dangerouslySetInnerHTML: {
|
|
106
|
+
__html: tooltip.title
|
|
107
|
+
}
|
|
108
|
+
})
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
if (descType === 'widget' || !description) {
|
|
112
|
+
return null;
|
|
113
|
+
}
|
|
114
|
+
if (displayType === 'column' && descType === 'icon') {
|
|
115
|
+
return {
|
|
116
|
+
title: description
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
return null;
|
|
120
|
+
};
|