@4399ywkf/design 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AiConversation/AiConversationEmpty/index.d.ts +10 -0
- package/dist/AiConversation/AiConversationEmpty/index.js +34 -0
- package/dist/AiConversation/AiConversationLayout/index.d.ts +10 -0
- package/dist/AiConversation/AiConversationLayout/index.js +41 -0
- package/dist/AiConversation/AiMessageBubble/index.d.ts +12 -0
- package/dist/AiConversation/AiMessageBubble/index.js +38 -0
- package/dist/AiConversation/AiMessageGroup/index.d.ts +9 -0
- package/dist/AiConversation/AiMessageGroup/index.js +28 -0
- package/dist/AiConversation/AiMessageMeta/index.d.ts +10 -0
- package/dist/AiConversation/AiMessageMeta/index.js +35 -0
- package/dist/AiConversation/AiPromptInput/index.d.ts +13 -0
- package/dist/AiConversation/AiPromptInput/index.js +77 -0
- package/dist/AiConversation/AiReferenceList/index.d.ts +13 -0
- package/dist/AiConversation/AiReferenceList/index.js +28 -0
- package/dist/AiConversation/AiStopGenerateButton/index.d.ts +7 -0
- package/dist/AiConversation/AiStopGenerateButton/index.js +28 -0
- package/dist/AiConversation/AiSuggestionChips/index.d.ts +9 -0
- package/dist/AiConversation/AiSuggestionChips/index.js +35 -0
- package/dist/AiConversation/AiTokenCounter/index.d.ts +10 -0
- package/dist/AiConversation/AiTokenCounter/index.js +20 -0
- package/dist/AiConversation/AiToolCallCard/index.d.ts +11 -0
- package/dist/AiConversation/AiToolCallCard/index.js +47 -0
- package/dist/AiConversation/AiTypingDots/index.d.ts +7 -0
- package/dist/AiConversation/AiTypingDots/index.js +34 -0
- package/dist/AiConversation/ThemeBridge.d.ts +18 -0
- package/dist/AiConversation/ThemeBridge.js +54 -0
- package/dist/AiConversation/_lobe/A/index.d.ts +6 -0
- package/dist/AiConversation/_lobe/A/index.js +26 -0
- package/dist/AiConversation/_lobe/Accordion/Accordion.d.ts +4 -0
- package/dist/AiConversation/_lobe/Accordion/Accordion.js +165 -0
- package/dist/AiConversation/_lobe/Accordion/AccordionItem.d.ts +4 -0
- package/dist/AiConversation/_lobe/Accordion/AccordionItem.js +395 -0
- package/dist/AiConversation/_lobe/Accordion/ArrowIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/Accordion/ArrowIcon.js +36 -0
- package/dist/AiConversation/_lobe/Accordion/context.d.ts +43 -0
- package/dist/AiConversation/_lobe/Accordion/context.js +49 -0
- package/dist/AiConversation/_lobe/Accordion/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/Accordion/index.js +3 -0
- package/dist/AiConversation/_lobe/Accordion/style.d.ts +14 -0
- package/dist/AiConversation/_lobe/Accordion/style.js +21 -0
- package/dist/AiConversation/_lobe/Accordion/type.d.ts +154 -0
- package/dist/AiConversation/_lobe/Accordion/type.js +1 -0
- package/dist/AiConversation/_lobe/ActionIcon/ActionIcon.d.ts +4 -0
- package/dist/AiConversation/_lobe/ActionIcon/ActionIcon.js +104 -0
- package/dist/AiConversation/_lobe/ActionIcon/components/utils.d.ts +5 -0
- package/dist/AiConversation/_lobe/ActionIcon/components/utils.js +47 -0
- package/dist/AiConversation/_lobe/ActionIcon/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/ActionIcon/index.js +1 -0
- package/dist/AiConversation/_lobe/ActionIcon/style.d.ts +22 -0
- package/dist/AiConversation/_lobe/ActionIcon/style.js +73 -0
- package/dist/AiConversation/_lobe/ActionIcon/type.d.ts +25 -0
- package/dist/AiConversation/_lobe/ActionIcon/type.js +1 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/ActionIconGroup.d.ts +4 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/ActionIconGroup.js +115 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/index.js +1 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/style.d.ts +15 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/style.js +45 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/type.d.ts +19 -0
- package/dist/AiConversation/_lobe/ActionIconGroup/type.js +1 -0
- package/dist/AiConversation/_lobe/Alert/Alert.d.ts +4 -0
- package/dist/AiConversation/_lobe/Alert/Alert.js +157 -0
- package/dist/AiConversation/_lobe/Alert/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Alert/index.js +1 -0
- package/dist/AiConversation/_lobe/Alert/style.d.ts +40 -0
- package/dist/AiConversation/_lobe/Alert/style.js +158 -0
- package/dist/AiConversation/_lobe/Alert/type.d.ts +29 -0
- package/dist/AiConversation/_lobe/Alert/type.js +1 -0
- package/dist/AiConversation/_lobe/Avatar/Avatar.d.ts +4 -0
- package/dist/AiConversation/_lobe/Avatar/Avatar.js +133 -0
- package/dist/AiConversation/_lobe/Avatar/AvatarGroup/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Avatar/AvatarGroup/index.js +92 -0
- package/dist/AiConversation/_lobe/Avatar/AvatarGroup/style.d.ts +4 -0
- package/dist/AiConversation/_lobe/Avatar/AvatarGroup/style.js +11 -0
- package/dist/AiConversation/_lobe/Avatar/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/Avatar/index.js +6 -0
- package/dist/AiConversation/_lobe/Avatar/style.d.ts +12 -0
- package/dist/AiConversation/_lobe/Avatar/style.js +34 -0
- package/dist/AiConversation/_lobe/Avatar/type.d.ts +43 -0
- package/dist/AiConversation/_lobe/Avatar/type.js +1 -0
- package/dist/AiConversation/_lobe/Avatar/utils.d.ts +23 -0
- package/dist/AiConversation/_lobe/Avatar/utils.js +54 -0
- package/dist/AiConversation/_lobe/Block/Block.d.ts +4 -0
- package/dist/AiConversation/_lobe/Block/Block.js +39 -0
- package/dist/AiConversation/_lobe/Block/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Block/index.js +1 -0
- package/dist/AiConversation/_lobe/Block/style.d.ts +18 -0
- package/dist/AiConversation/_lobe/Block/style.js +61 -0
- package/dist/AiConversation/_lobe/Block/type.d.ts +9 -0
- package/dist/AiConversation/_lobe/Block/type.js +1 -0
- package/dist/AiConversation/_lobe/Button/Button.d.ts +4 -0
- package/dist/AiConversation/_lobe/Button/Button.js +67 -0
- package/dist/AiConversation/_lobe/Button/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Button/index.js +1 -0
- package/dist/AiConversation/_lobe/Button/style.d.ts +9 -0
- package/dist/AiConversation/_lobe/Button/style.js +30 -0
- package/dist/AiConversation/_lobe/Button/type.d.ts +10 -0
- package/dist/AiConversation/_lobe/Button/type.js +1 -0
- package/dist/AiConversation/_lobe/CodeEditor/CodeEditor.d.ts +4 -0
- package/dist/AiConversation/_lobe/CodeEditor/CodeEditor.js +94 -0
- package/dist/AiConversation/_lobe/CodeEditor/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/CodeEditor/index.js +1 -0
- package/dist/AiConversation/_lobe/CodeEditor/style.d.ts +11 -0
- package/dist/AiConversation/_lobe/CodeEditor/style.js +29 -0
- package/dist/AiConversation/_lobe/CodeEditor/type.d.ts +21 -0
- package/dist/AiConversation/_lobe/CodeEditor/type.js +1 -0
- package/dist/AiConversation/_lobe/ConfigProvider/index.d.ts +26 -0
- package/dist/AiConversation/_lobe/ConfigProvider/index.js +130 -0
- package/dist/AiConversation/_lobe/CopyButton/CopyButton.d.ts +4 -0
- package/dist/AiConversation/_lobe/CopyButton/CopyButton.js +66 -0
- package/dist/AiConversation/_lobe/CopyButton/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/CopyButton/index.js +2 -0
- package/dist/AiConversation/_lobe/CopyButton/type.d.ts +4 -0
- package/dist/AiConversation/_lobe/CopyButton/type.js +1 -0
- package/dist/AiConversation/_lobe/DraggablePanel/DraggablePanel.d.ts +4 -0
- package/dist/AiConversation/_lobe/DraggablePanel/DraggablePanel.js +496 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelBody.d.ts +5 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelBody.js +26 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelContainer.d.ts +5 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelContainer.js +25 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelFooter.d.ts +5 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelFooter.js +30 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelHeader.d.ts +11 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/DraggablePanelHeader.js +70 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/style.d.ts +7 -0
- package/dist/AiConversation/_lobe/DraggablePanel/components/style.js +14 -0
- package/dist/AiConversation/_lobe/DraggablePanel/index.d.ts +20 -0
- package/dist/AiConversation/_lobe/DraggablePanel/index.js +17 -0
- package/dist/AiConversation/_lobe/DraggablePanel/style.d.ts +45 -0
- package/dist/AiConversation/_lobe/DraggablePanel/style.js +203 -0
- package/dist/AiConversation/_lobe/DraggablePanel/type.d.ts +49 -0
- package/dist/AiConversation/_lobe/DraggablePanel/type.js +1 -0
- package/dist/AiConversation/_lobe/DraggablePanel/utils.d.ts +2 -0
- package/dist/AiConversation/_lobe/DraggablePanel/utils.js +20 -0
- package/dist/AiConversation/_lobe/DropdownMenu/DropdownMenu.d.ts +4 -0
- package/dist/AiConversation/_lobe/DropdownMenu/DropdownMenu.js +118 -0
- package/dist/AiConversation/_lobe/DropdownMenu/atoms.d.ts +114 -0
- package/dist/AiConversation/_lobe/DropdownMenu/atoms.js +311 -0
- package/dist/AiConversation/_lobe/DropdownMenu/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/DropdownMenu/index.js +2 -0
- package/dist/AiConversation/_lobe/DropdownMenu/renderItems.d.ts +5 -0
- package/dist/AiConversation/_lobe/DropdownMenu/renderItems.js +185 -0
- package/dist/AiConversation/_lobe/DropdownMenu/type.d.ts +39 -0
- package/dist/AiConversation/_lobe/DropdownMenu/type.js +1 -0
- package/dist/AiConversation/_lobe/EditableText/ControlInput.d.ts +16 -0
- package/dist/AiConversation/_lobe/EditableText/ControlInput.js +109 -0
- package/dist/AiConversation/_lobe/EditableText/EditableText.d.ts +4 -0
- package/dist/AiConversation/_lobe/EditableText/EditableText.js +126 -0
- package/dist/AiConversation/_lobe/EditableText/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/EditableText/index.js +1 -0
- package/dist/AiConversation/_lobe/EditableText/type.d.ts +19 -0
- package/dist/AiConversation/_lobe/EditableText/type.js +1 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/FileTypeIcon.d.ts +4 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/FileTypeIcon.js +83 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/components/FileIcon.d.ts +12 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/components/FileIcon.js +55 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/components/FolderIcon.d.ts +12 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/components/FolderIcon.js +48 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/index.js +1 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/style.js +11 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/type.d.ts +13 -0
- package/dist/AiConversation/_lobe/FileTypeIcon/type.js +1 -0
- package/dist/AiConversation/_lobe/Flex/Center.d.ts +4 -0
- package/dist/AiConversation/_lobe/Flex/Center.js +23 -0
- package/dist/AiConversation/_lobe/Flex/FlexBasic.d.ts +4 -0
- package/dist/AiConversation/_lobe/Flex/FlexBasic.js +81 -0
- package/dist/AiConversation/_lobe/Flex/Flexbox.d.ts +2 -0
- package/dist/AiConversation/_lobe/Flex/Flexbox.js +2 -0
- package/dist/AiConversation/_lobe/Flex/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Flex/index.js +3 -0
- package/dist/AiConversation/_lobe/Flex/style.css +36 -0
- package/dist/AiConversation/_lobe/Flex/type.d.ts +112 -0
- package/dist/AiConversation/_lobe/Flex/type.js +1 -0
- package/dist/AiConversation/_lobe/Flex/utils.d.ts +7 -0
- package/dist/AiConversation/_lobe/Flex/utils.js +39 -0
- package/dist/AiConversation/_lobe/FluentEmoji/FluentEmoji.d.ts +4 -0
- package/dist/AiConversation/_lobe/FluentEmoji/FluentEmoji.js +76 -0
- package/dist/AiConversation/_lobe/FluentEmoji/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/FluentEmoji/index.js +1 -0
- package/dist/AiConversation/_lobe/FluentEmoji/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/FluentEmoji/style.js +9 -0
- package/dist/AiConversation/_lobe/FluentEmoji/type.d.ts +10 -0
- package/dist/AiConversation/_lobe/FluentEmoji/type.js +1 -0
- package/dist/AiConversation/_lobe/FluentEmoji/utils.d.ts +9 -0
- package/dist/AiConversation/_lobe/FluentEmoji/utils.js +77 -0
- package/dist/AiConversation/_lobe/FontLoader/index.d.ts +6 -0
- package/dist/AiConversation/_lobe/FontLoader/index.js +36 -0
- package/dist/AiConversation/_lobe/Grid/Grid.d.ts +4 -0
- package/dist/AiConversation/_lobe/Grid/Grid.js +49 -0
- package/dist/AiConversation/_lobe/Grid/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Grid/index.js +1 -0
- package/dist/AiConversation/_lobe/Grid/style.d.ts +1 -0
- package/dist/AiConversation/_lobe/Grid/style.js +7 -0
- package/dist/AiConversation/_lobe/Grid/type.d.ts +8 -0
- package/dist/AiConversation/_lobe/Grid/type.js +1 -0
- package/dist/AiConversation/_lobe/Highlighter/FullFeatured.d.ts +10 -0
- package/dist/AiConversation/_lobe/Highlighter/FullFeatured.js +187 -0
- package/dist/AiConversation/_lobe/Highlighter/Highlighter.d.ts +4 -0
- package/dist/AiConversation/_lobe/Highlighter/Highlighter.js +167 -0
- package/dist/AiConversation/_lobe/Highlighter/LangSelect.d.ts +4 -0
- package/dist/AiConversation/_lobe/Highlighter/LangSelect.js +88 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/StaticRenderer.d.ts +17 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/StaticRenderer.js +42 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/StreamRenderer.d.ts +13 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/StreamRenderer.js +127 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/index.js +58 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/style.d.ts +15 -0
- package/dist/AiConversation/_lobe/Highlighter/SyntaxHighlighter/style.js +45 -0
- package/dist/AiConversation/_lobe/Highlighter/const.d.ts +10 -0
- package/dist/AiConversation/_lobe/Highlighter/const.js +52 -0
- package/dist/AiConversation/_lobe/Highlighter/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Highlighter/index.js +3 -0
- package/dist/AiConversation/_lobe/Highlighter/style.d.ts +33 -0
- package/dist/AiConversation/_lobe/Highlighter/style.js +78 -0
- package/dist/AiConversation/_lobe/Highlighter/theme/lobe-theme.d.ts +57 -0
- package/dist/AiConversation/_lobe/Highlighter/theme/lobe-theme.js +422 -0
- package/dist/AiConversation/_lobe/Highlighter/type.d.ts +54 -0
- package/dist/AiConversation/_lobe/Highlighter/type.js +1 -0
- package/dist/AiConversation/_lobe/Hotkey/Hotkey.d.ts +4 -0
- package/dist/AiConversation/_lobe/Hotkey/Hotkey.js +183 -0
- package/dist/AiConversation/_lobe/Hotkey/const.d.ts +36 -0
- package/dist/AiConversation/_lobe/Hotkey/const.js +50 -0
- package/dist/AiConversation/_lobe/Hotkey/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Hotkey/index.js +3 -0
- package/dist/AiConversation/_lobe/Hotkey/style.d.ts +13 -0
- package/dist/AiConversation/_lobe/Hotkey/style.js +48 -0
- package/dist/AiConversation/_lobe/Hotkey/type.d.ts +15 -0
- package/dist/AiConversation/_lobe/Hotkey/type.js +1 -0
- package/dist/AiConversation/_lobe/Hotkey/utils.d.ts +5 -0
- package/dist/AiConversation/_lobe/Hotkey/utils.js +43 -0
- package/dist/AiConversation/_lobe/Icon/Icon.d.ts +4 -0
- package/dist/AiConversation/_lobe/Icon/Icon.js +68 -0
- package/dist/AiConversation/_lobe/Icon/components/IconProvider.d.ts +9 -0
- package/dist/AiConversation/_lobe/Icon/components/IconProvider.js +17 -0
- package/dist/AiConversation/_lobe/Icon/components/utils.d.ts +8 -0
- package/dist/AiConversation/_lobe/Icon/components/utils.js +45 -0
- package/dist/AiConversation/_lobe/Icon/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/Icon/index.js +2 -0
- package/dist/AiConversation/_lobe/Icon/style.d.ts +6 -0
- package/dist/AiConversation/_lobe/Icon/style.js +22 -0
- package/dist/AiConversation/_lobe/Icon/type.d.ts +15 -0
- package/dist/AiConversation/_lobe/Icon/type.js +1 -0
- package/dist/AiConversation/_lobe/Image/Image.d.ts +4 -0
- package/dist/AiConversation/_lobe/Image/Image.js +97 -0
- package/dist/AiConversation/_lobe/Image/PreviewGroup.d.ts +4 -0
- package/dist/AiConversation/_lobe/Image/PreviewGroup.js +23 -0
- package/dist/AiConversation/_lobe/Image/components/Preview.d.ts +6 -0
- package/dist/AiConversation/_lobe/Image/components/Preview.js +27 -0
- package/dist/AiConversation/_lobe/Image/components/Toolbar.d.ts +10 -0
- package/dist/AiConversation/_lobe/Image/components/Toolbar.js +207 -0
- package/dist/AiConversation/_lobe/Image/components/usePreview.d.ts +4 -0
- package/dist/AiConversation/_lobe/Image/components/usePreview.js +86 -0
- package/dist/AiConversation/_lobe/Image/components/usePreviewGroup.d.ts +4 -0
- package/dist/AiConversation/_lobe/Image/components/usePreviewGroup.js +79 -0
- package/dist/AiConversation/_lobe/Image/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/Image/index.js +6 -0
- package/dist/AiConversation/_lobe/Image/style.d.ts +18 -0
- package/dist/AiConversation/_lobe/Image/style.js +37 -0
- package/dist/AiConversation/_lobe/Image/type.d.ts +39 -0
- package/dist/AiConversation/_lobe/Image/type.js +1 -0
- package/dist/AiConversation/_lobe/Img/index.d.ts +9 -0
- package/dist/AiConversation/_lobe/Img/index.js +33 -0
- package/dist/AiConversation/_lobe/Input/Input.d.ts +4 -0
- package/dist/AiConversation/_lobe/Input/Input.js +35 -0
- package/dist/AiConversation/_lobe/Input/InputNumber.d.ts +4 -0
- package/dist/AiConversation/_lobe/Input/InputNumber.js +35 -0
- package/dist/AiConversation/_lobe/Input/InputOPT.d.ts +4 -0
- package/dist/AiConversation/_lobe/Input/InputOPT.js +35 -0
- package/dist/AiConversation/_lobe/Input/InputPassword.d.ts +4 -0
- package/dist/AiConversation/_lobe/Input/InputPassword.js +35 -0
- package/dist/AiConversation/_lobe/Input/TextArea.d.ts +4 -0
- package/dist/AiConversation/_lobe/Input/TextArea.js +41 -0
- package/dist/AiConversation/_lobe/Input/index.d.ts +6 -0
- package/dist/AiConversation/_lobe/Input/index.js +5 -0
- package/dist/AiConversation/_lobe/Input/style.d.ts +20 -0
- package/dist/AiConversation/_lobe/Input/style.js +55 -0
- package/dist/AiConversation/_lobe/Input/type.d.ts +27 -0
- package/dist/AiConversation/_lobe/Input/type.js +1 -0
- package/dist/AiConversation/_lobe/Markdown/Markdown.d.ts +4 -0
- package/dist/AiConversation/_lobe/Markdown/Markdown.js +123 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/MarkdownRender.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/MarkdownRender.js +32 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/StreamdownRender.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/StreamdownRender.js +341 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/index.js +2 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/streamAnimationMeta.d.ts +13 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/streamAnimationMeta.js +16 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/style.js +10 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/useSmoothStreamContent.d.ts +8 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/useSmoothStreamContent.js +278 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/useStreamQueue.d.ts +11 -0
- package/dist/AiConversation/_lobe/Markdown/SyntaxMarkdown/useStreamQueue.js +111 -0
- package/dist/AiConversation/_lobe/Markdown/Typography.d.ts +4 -0
- package/dist/AiConversation/_lobe/Markdown/Typography.js +48 -0
- package/dist/AiConversation/_lobe/Markdown/components/CodeBlock.d.ts +18 -0
- package/dist/AiConversation/_lobe/Markdown/components/CodeBlock.js +66 -0
- package/dist/AiConversation/_lobe/Markdown/components/Footnotes.d.ts +8 -0
- package/dist/AiConversation/_lobe/Markdown/components/Footnotes.js +123 -0
- package/dist/AiConversation/_lobe/Markdown/components/MarkdownProvider.d.ts +6 -0
- package/dist/AiConversation/_lobe/Markdown/components/MarkdownProvider.js +19 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/SearchResultCard.d.ts +10 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/SearchResultCard.js +90 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/index.d.ts +14 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/index.js +43 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/style.d.ts +4 -0
- package/dist/AiConversation/_lobe/Markdown/components/SearchResultCards/style.js +10 -0
- package/dist/AiConversation/_lobe/Markdown/components/useDelayedAnimated.d.ts +1 -0
- package/dist/AiConversation/_lobe/Markdown/components/useDelayedAnimated.js +31 -0
- package/dist/AiConversation/_lobe/Markdown/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/index.js +2 -0
- package/dist/AiConversation/_lobe/Markdown/markdown.style.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/markdown.style.js +30 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeCustomFootnotes.d.ts +1 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeCustomFootnotes.js +56 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeKatexDir.d.ts +2 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeKatexDir.js +15 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeStreamAnimated.d.ts +8 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/rehypeStreamAnimated.js +109 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkBr.d.ts +6 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkBr.js +104 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkColor.d.ts +17 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkColor.js +188 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkCustomFootnotes.d.ts +6 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkCustomFootnotes.js +31 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkGfmPlus.d.ts +5 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkGfmPlus.js +141 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkVideo.d.ts +17 -0
- package/dist/AiConversation/_lobe/Markdown/plugins/remarkVideo.js +183 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/StreamdownProfilerPanel.d.ts +7 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/StreamdownProfilerPanel.js +499 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/StreamdownProfilerProvider.d.ts +7 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/StreamdownProfilerProvider.js +18 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/index.js +3 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/profiler.d.ts +128 -0
- package/dist/AiConversation/_lobe/Markdown/streamProfiler/profiler.js +365 -0
- package/dist/AiConversation/_lobe/Markdown/style.d.ts +11 -0
- package/dist/AiConversation/_lobe/Markdown/style.js +35 -0
- package/dist/AiConversation/_lobe/Markdown/type.d.ts +58 -0
- package/dist/AiConversation/_lobe/Markdown/type.js +1 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/MaterialFileTypeIcon.d.ts +4 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/MaterialFileTypeIcon.js +89 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/icon-map.json +4915 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/index.js +1 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/type.d.ts +13 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/type.js +1 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/utils.d.ts +17 -0
- package/dist/AiConversation/_lobe/MaterialFileTypeIcon/utils.js +48 -0
- package/dist/AiConversation/_lobe/Menu/Menu.d.ts +4 -0
- package/dist/AiConversation/_lobe/Menu/Menu.js +73 -0
- package/dist/AiConversation/_lobe/Menu/baseItem.d.ts +28 -0
- package/dist/AiConversation/_lobe/Menu/baseItem.js +1 -0
- package/dist/AiConversation/_lobe/Menu/checkboxItem.d.ts +21 -0
- package/dist/AiConversation/_lobe/Menu/checkboxItem.js +1 -0
- package/dist/AiConversation/_lobe/Menu/index.d.ts +7 -0
- package/dist/AiConversation/_lobe/Menu/index.js +3 -0
- package/dist/AiConversation/_lobe/Menu/renderUtils.d.ts +33 -0
- package/dist/AiConversation/_lobe/Menu/renderUtils.js +59 -0
- package/dist/AiConversation/_lobe/Menu/sharedStyle.d.ts +18 -0
- package/dist/AiConversation/_lobe/Menu/sharedStyle.js +25 -0
- package/dist/AiConversation/_lobe/Menu/style.d.ts +13 -0
- package/dist/AiConversation/_lobe/Menu/style.js +39 -0
- package/dist/AiConversation/_lobe/Menu/switchItem.d.ts +21 -0
- package/dist/AiConversation/_lobe/Menu/switchItem.js +1 -0
- package/dist/AiConversation/_lobe/Menu/type.d.ts +41 -0
- package/dist/AiConversation/_lobe/Menu/type.js +1 -0
- package/dist/AiConversation/_lobe/Menu/utils.d.ts +3 -0
- package/dist/AiConversation/_lobe/Menu/utils.js +47 -0
- package/dist/AiConversation/_lobe/Mermaid/FullFeatured.d.ts +8 -0
- package/dist/AiConversation/_lobe/Mermaid/FullFeatured.js +157 -0
- package/dist/AiConversation/_lobe/Mermaid/Mermaid.d.ts +5 -0
- package/dist/AiConversation/_lobe/Mermaid/Mermaid.js +130 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/StaticMermaid.d.ts +13 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/StaticMermaid.js +118 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/StreamMermaid.d.ts +13 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/StreamMermaid.js +123 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/index.js +58 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/style.d.ts +15 -0
- package/dist/AiConversation/_lobe/Mermaid/SyntaxMermaid/style.js +45 -0
- package/dist/AiConversation/_lobe/Mermaid/const.d.ts +7 -0
- package/dist/AiConversation/_lobe/Mermaid/const.js +24 -0
- package/dist/AiConversation/_lobe/Mermaid/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Mermaid/index.js +3 -0
- package/dist/AiConversation/_lobe/Mermaid/postProcessMermaidSvg.d.ts +12 -0
- package/dist/AiConversation/_lobe/Mermaid/postProcessMermaidSvg.js +289 -0
- package/dist/AiConversation/_lobe/Mermaid/type.d.ts +48 -0
- package/dist/AiConversation/_lobe/Mermaid/type.js +1 -0
- package/dist/AiConversation/_lobe/Modal/Modal.d.ts +4 -0
- package/dist/AiConversation/_lobe/Modal/Modal.js +167 -0
- package/dist/AiConversation/_lobe/Modal/ModalProvider.d.ts +8 -0
- package/dist/AiConversation/_lobe/Modal/ModalProvider.js +23 -0
- package/dist/AiConversation/_lobe/Modal/ModalStackItem.d.ts +10 -0
- package/dist/AiConversation/_lobe/Modal/ModalStackItem.js +69 -0
- package/dist/AiConversation/_lobe/Modal/RawModalStackItem.d.ts +12 -0
- package/dist/AiConversation/_lobe/Modal/RawModalStackItem.js +47 -0
- package/dist/AiConversation/_lobe/Modal/imperative.d.ts +8 -0
- package/dist/AiConversation/_lobe/Modal/imperative.js +238 -0
- package/dist/AiConversation/_lobe/Modal/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/Modal/index.js +3 -0
- package/dist/AiConversation/_lobe/Modal/style.d.ts +7 -0
- package/dist/AiConversation/_lobe/Modal/style.js +14 -0
- package/dist/AiConversation/_lobe/Modal/type.d.ts +38 -0
- package/dist/AiConversation/_lobe/Modal/type.js +1 -0
- package/dist/AiConversation/_lobe/MotionProvider/index.d.ts +9 -0
- package/dist/AiConversation/_lobe/MotionProvider/index.js +20 -0
- package/dist/AiConversation/_lobe/Provider.d.ts +3 -0
- package/dist/AiConversation/_lobe/Provider.js +2 -0
- package/dist/AiConversation/_lobe/ScrollShadow/ScrollShadow.d.ts +4 -0
- package/dist/AiConversation/_lobe/ScrollShadow/ScrollShadow.js +128 -0
- package/dist/AiConversation/_lobe/ScrollShadow/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/ScrollShadow/index.js +1 -0
- package/dist/AiConversation/_lobe/ScrollShadow/style.d.ts +17 -0
- package/dist/AiConversation/_lobe/ScrollShadow/style.js +47 -0
- package/dist/AiConversation/_lobe/ScrollShadow/type.d.ts +17 -0
- package/dist/AiConversation/_lobe/ScrollShadow/type.js +1 -0
- package/dist/AiConversation/_lobe/ScrollShadow/useScrollOverflow.d.ts +21 -0
- package/dist/AiConversation/_lobe/ScrollShadow/useScrollOverflow.js +83 -0
- package/dist/AiConversation/_lobe/Select/Select.d.ts +7 -0
- package/dist/AiConversation/_lobe/Select/Select.js +50 -0
- package/dist/AiConversation/_lobe/Select/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Select/index.js +1 -0
- package/dist/AiConversation/_lobe/Select/style.d.ts +11 -0
- package/dist/AiConversation/_lobe/Select/style.js +33 -0
- package/dist/AiConversation/_lobe/Select/type.d.ts +9 -0
- package/dist/AiConversation/_lobe/Select/type.js +1 -0
- package/dist/AiConversation/_lobe/Snippet/Snippet.d.ts +4 -0
- package/dist/AiConversation/_lobe/Snippet/Snippet.js +57 -0
- package/dist/AiConversation/_lobe/Snippet/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Snippet/index.js +1 -0
- package/dist/AiConversation/_lobe/Snippet/style.d.ts +12 -0
- package/dist/AiConversation/_lobe/Snippet/style.js +34 -0
- package/dist/AiConversation/_lobe/Snippet/type.d.ts +12 -0
- package/dist/AiConversation/_lobe/Snippet/type.js +1 -0
- package/dist/AiConversation/_lobe/Tabs/Tabs.d.ts +4 -0
- package/dist/AiConversation/_lobe/Tabs/Tabs.js +50 -0
- package/dist/AiConversation/_lobe/Tabs/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Tabs/index.js +1 -0
- package/dist/AiConversation/_lobe/Tabs/style.d.ts +14 -0
- package/dist/AiConversation/_lobe/Tabs/style.js +40 -0
- package/dist/AiConversation/_lobe/Tabs/type.d.ts +5 -0
- package/dist/AiConversation/_lobe/Tabs/type.js +1 -0
- package/dist/AiConversation/_lobe/Tag/Tag.d.ts +4 -0
- package/dist/AiConversation/_lobe/Tag/Tag.js +79 -0
- package/dist/AiConversation/_lobe/Tag/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Tag/index.js +1 -0
- package/dist/AiConversation/_lobe/Tag/styles.d.ts +12 -0
- package/dist/AiConversation/_lobe/Tag/styles.js +36 -0
- package/dist/AiConversation/_lobe/Tag/type.d.ts +8 -0
- package/dist/AiConversation/_lobe/Tag/type.js +1 -0
- package/dist/AiConversation/_lobe/Tag/utils.d.ts +4 -0
- package/dist/AiConversation/_lobe/Tag/utils.js +24 -0
- package/dist/AiConversation/_lobe/Text/Text.d.ts +4 -0
- package/dist/AiConversation/_lobe/Text/Text.js +117 -0
- package/dist/AiConversation/_lobe/Text/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/Text/index.js +1 -0
- package/dist/AiConversation/_lobe/Text/styles.d.ts +35 -0
- package/dist/AiConversation/_lobe/Text/styles.js +77 -0
- package/dist/AiConversation/_lobe/Text/type.d.ts +41 -0
- package/dist/AiConversation/_lobe/Text/type.js +1 -0
- package/dist/AiConversation/_lobe/ThemeProvider/AppElementContext.d.ts +4 -0
- package/dist/AiConversation/_lobe/ThemeProvider/AppElementContext.js +8 -0
- package/dist/AiConversation/_lobe/ThemeProvider/ConfigProvider.d.ts +5 -0
- package/dist/AiConversation/_lobe/ThemeProvider/ConfigProvider.js +40 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/antdOverride.d.ts +3 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/antdOverride.js +9 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/global.d.ts +3 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/global.js +7 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/ThemeProvider/GlobalStyle/index.js +10 -0
- package/dist/AiConversation/_lobe/ThemeProvider/Meta.d.ts +4 -0
- package/dist/AiConversation/_lobe/ThemeProvider/Meta.js +78 -0
- package/dist/AiConversation/_lobe/ThemeProvider/ThemeProvider.d.ts +4 -0
- package/dist/AiConversation/_lobe/ThemeProvider/ThemeProvider.js +138 -0
- package/dist/AiConversation/_lobe/ThemeProvider/constants.d.ts +1 -0
- package/dist/AiConversation/_lobe/ThemeProvider/constants.js +1 -0
- package/dist/AiConversation/_lobe/ThemeProvider/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/ThemeProvider/index.js +4 -0
- package/dist/AiConversation/_lobe/ThemeProvider/type.d.ts +25 -0
- package/dist/AiConversation/_lobe/ThemeProvider/type.js +1 -0
- package/dist/AiConversation/_lobe/Tooltip/ArrowIcon.d.ts +1 -0
- package/dist/AiConversation/_lobe/Tooltip/ArrowIcon.js +17 -0
- package/dist/AiConversation/_lobe/Tooltip/Tooltip.d.ts +4 -0
- package/dist/AiConversation/_lobe/Tooltip/Tooltip.js +19 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipContent.d.ts +9 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipContent.js +30 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipGroup.d.ts +4 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipGroup.js +160 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipInGroup.d.ts +3 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipInGroup.js +138 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipStandalone.d.ts +7 -0
- package/dist/AiConversation/_lobe/Tooltip/TooltipStandalone.js +217 -0
- package/dist/AiConversation/_lobe/Tooltip/groupContext.d.ts +14 -0
- package/dist/AiConversation/_lobe/Tooltip/groupContext.js +5 -0
- package/dist/AiConversation/_lobe/Tooltip/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/Tooltip/index.js +2 -0
- package/dist/AiConversation/_lobe/Tooltip/style.d.ts +6 -0
- package/dist/AiConversation/_lobe/Tooltip/style.js +13 -0
- package/dist/AiConversation/_lobe/Tooltip/type.d.ts +175 -0
- package/dist/AiConversation/_lobe/Tooltip/type.js +1 -0
- package/dist/AiConversation/_lobe/Tooltip/useMergedTooltipProps.d.ts +3 -0
- package/dist/AiConversation/_lobe/Tooltip/useMergedTooltipProps.js +91 -0
- package/dist/AiConversation/_lobe/Video/index.d.ts +39 -0
- package/dist/AiConversation/_lobe/Video/index.js +156 -0
- package/dist/AiConversation/_lobe/Video/style.d.ts +12 -0
- package/dist/AiConversation/_lobe/Video/style.js +33 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/AuroraBackground.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/AuroraBackground.js +47 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/style.js +14 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/type.d.ts +13 -0
- package/dist/AiConversation/_lobe/awesome/AuroraBackground/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/BottomGradientButton.d.ts +3 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/BottomGradientButton.js +37 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/style.d.ts +1 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/style.js +9 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/type.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/BottomGradientButton/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Features/FeatureItem.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Features/FeatureItem.js +105 -0
- package/dist/AiConversation/_lobe/awesome/Features/Features.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Features/Features.js +41 -0
- package/dist/AiConversation/_lobe/awesome/Features/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Features/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Features/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/awesome/Features/style.js +28 -0
- package/dist/AiConversation/_lobe/awesome/Features/type.d.ts +27 -0
- package/dist/AiConversation/_lobe/awesome/Features/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/Giscus.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/Giscus.js +51 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/style.js +32 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/type.d.ts +6 -0
- package/dist/AiConversation/_lobe/awesome/Giscus/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/GradientButton.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/GradientButton.js +68 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/style.js +14 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/type.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/GradientButton/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/GridBackground.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/GridBackground.js +114 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/GridShowcase.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/GridShowcase.js +59 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/components/Grid.d.ts +26 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/components/Grid.js +103 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/index.js +2 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/style.d.ts +7 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/style.js +17 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/type.d.ts +18 -0
- package/dist/AiConversation/_lobe/awesome/GridBackground/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Hero/Hero.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Hero/Hero.js +98 -0
- package/dist/AiConversation/_lobe/awesome/Hero/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Hero/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Hero/style.d.ts +6 -0
- package/dist/AiConversation/_lobe/awesome/Hero/style.js +14 -0
- package/dist/AiConversation/_lobe/awesome/Hero/type.d.ts +14 -0
- package/dist/AiConversation/_lobe/awesome/Hero/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Spline/ParentSize.d.ts +36 -0
- package/dist/AiConversation/_lobe/awesome/Spline/ParentSize.js +119 -0
- package/dist/AiConversation/_lobe/awesome/Spline/Spine.d.ts +6 -0
- package/dist/AiConversation/_lobe/awesome/Spline/Spine.js +148 -0
- package/dist/AiConversation/_lobe/awesome/Spline/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Spline/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Spline/type.d.ts +17 -0
- package/dist/AiConversation/_lobe/awesome/Spline/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/Spotlight.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/Spotlight.js +52 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/style.d.ts +6 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/style.js +13 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/type.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/useMouseOffset.d.ts +1 -0
- package/dist/AiConversation/_lobe/awesome/Spotlight/useMouseOffset.js +43 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/SpotlightCard.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/SpotlightCard.js +91 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/SpotlightCardItem.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/SpotlightCardItem.js +45 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/style.d.ts +8 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/style.js +15 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/type.d.ts +16 -0
- package/dist/AiConversation/_lobe/awesome/SpotlightCard/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/TypewriterEffect.d.ts +4 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/TypewriterEffect.js +314 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/index.js +1 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/style.js +17 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/type.d.ts +126 -0
- package/dist/AiConversation/_lobe/awesome/TypewriterEffect/type.js +1 -0
- package/dist/AiConversation/_lobe/awesome/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/awesome/index.js +11 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/ContextMenuHost.d.ts +2 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/ContextMenuHost.js +72 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/ContextMenuTrigger.d.ts +15 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/ContextMenuTrigger.js +56 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/imperative.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/imperative.js +3 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/index.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/renderItems.d.ts +5 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/renderItems.js +278 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/store.d.ts +28 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/store.js +114 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/style.d.ts +1 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/style.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/type.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/ContextMenu/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/DropdownMenu.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/DropdownMenu.js +118 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/atoms.d.ts +114 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/atoms.js +318 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/index.js +3 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/renderItems.d.ts +5 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/renderItems.js +185 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/type.d.ts +39 -0
- package/dist/AiConversation/_lobe/base-ui/DropdownMenu/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/FloatingSheet.d.ts +2 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/FloatingSheet.js +291 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/FloatingSheetHeader.d.ts +11 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/FloatingSheetHeader.js +34 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/helpers.d.ts +16 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/helpers.js +27 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/index.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/style.d.ts +18 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/style.js +27 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/type.d.ts +21 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/useSheetDrag.d.ts +12 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/useSheetDrag.js +67 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/useSnapPoints.d.ts +29 -0
- package/dist/AiConversation/_lobe/base-ui/FloatingSheet/useSnapPoints.js +101 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/Modal.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/Modal.js +329 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/atoms.d.ts +50 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/atoms.js +313 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/constants.d.ts +5 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/constants.js +31 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/context.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/context.js +14 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/imperative.d.ts +20 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/imperative.js +383 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/index.d.ts +6 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/index.js +5 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/style.d.ts +22 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/style.js +29 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/type.d.ts +106 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/zIndexManager.d.ts +1 -0
- package/dist/AiConversation/_lobe/base-ui/Modal/zIndexManager.js +6 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/ArrowIcon.d.ts +1 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/ArrowIcon.js +17 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/Popover.d.ts +5 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/Popover.js +23 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverGroup.d.ts +7 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverGroup.js +155 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverInGroup.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverInGroup.js +91 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverPortal.d.ts +1 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverPortal.js +9 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverStandalone.d.ts +7 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/PopoverStandalone.js +203 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/atoms.d.ts +49 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/atoms.js +162 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/context.d.ts +10 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/context.js +23 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/groupContext.d.ts +24 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/groupContext.js +5 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/index.d.ts +8 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/index.js +6 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/style.d.ts +7 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/style.js +14 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/type.d.ts +148 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/useMergedPopoverProps.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/Popover/useMergedPopoverProps.js +79 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/ScrollArea.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/ScrollArea.js +38 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/atoms.d.ts +38 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/atoms.js +81 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/globalStyle.d.ts +9 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/globalStyle.js +16 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/index.js +2 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/style.d.ts +9 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/style.js +16 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/type.d.ts +12 -0
- package/dist/AiConversation/_lobe/base-ui/ScrollArea/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Select/Select.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/Select/Select.js +700 -0
- package/dist/AiConversation/_lobe/base-ui/Select/atoms.d.ts +91 -0
- package/dist/AiConversation/_lobe/base-ui/Select/atoms.js +223 -0
- package/dist/AiConversation/_lobe/base-ui/Select/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/Select/index.js +2 -0
- package/dist/AiConversation/_lobe/base-ui/Select/style.d.ts +37 -0
- package/dist/AiConversation/_lobe/base-ui/Select/style.js +64 -0
- package/dist/AiConversation/_lobe/base-ui/Select/type.d.ts +106 -0
- package/dist/AiConversation/_lobe/base-ui/Select/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/Switch.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/Switch.js +87 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/atoms.d.ts +20 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/atoms.js +201 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/index.js +2 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/style.d.ts +21 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/style.js +45 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/type.d.ts +126 -0
- package/dist/AiConversation/_lobe/base-ui/Switch/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/Toast.d.ts +4 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/Toast.js +155 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/context.d.ts +8 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/context.js +10 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/imperative.d.ts +32 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/imperative.js +297 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/index.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/style.d.ts +37 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/style.js +82 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/type.d.ts +144 -0
- package/dist/AiConversation/_lobe/base-ui/Toast/type.js +1 -0
- package/dist/AiConversation/_lobe/base-ui/index.d.ts +12 -0
- package/dist/AiConversation/_lobe/base-ui/index.js +11 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/BackBottom.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/BackBottom.js +61 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/style.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/style.js +11 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/type.d.ts +11 -0
- package/dist/AiConversation/_lobe/chat/BackBottom/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/Bubble/Bubble.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/Bubble/Bubble.js +36 -0
- package/dist/AiConversation/_lobe/chat/Bubble/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/Bubble/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/Bubble/style.d.ts +11 -0
- package/dist/AiConversation/_lobe/chat/Bubble/style.js +33 -0
- package/dist/AiConversation/_lobe/chat/Bubble/type.d.ts +7 -0
- package/dist/AiConversation/_lobe/chat/Bubble/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/ChatHeader.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/ChatHeader.js +77 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/ChatHeaderTitle.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/ChatHeaderTitle.js +45 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/index.js +6 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/style.d.ts +14 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/style.js +25 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/type.d.ts +28 -0
- package/dist/AiConversation/_lobe/chat/ChatHeader/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/ChatInputArea.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/ChatInputArea.js +70 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatInputActionBar.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatInputActionBar.js +54 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatInputAreaInner.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatInputAreaInner.js +61 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatSendButton.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/components/ChatSendButton.js +81 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/index.d.ts +17 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/index.js +12 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/style.js +20 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/type.d.ts +50 -0
- package/dist/AiConversation/_lobe/chat/ChatInputArea/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/ChatItem.d.ts +5 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/ChatItem.js +199 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Actions.d.ts +11 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Actions.js +28 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Avatar.d.ts +15 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Avatar.js +55 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/BorderSpacing.d.ts +6 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/BorderSpacing.js +12 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/ErrorContent.d.ts +9 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/ErrorContent.js +24 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Loading.d.ts +8 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Loading.js +25 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/MessageContent.d.ts +20 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/MessageContent.js +61 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Title.d.ts +11 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/components/Title.js +23 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/style.d.ts +29 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/style.js +42 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/type.d.ts +89 -0
- package/dist/AiConversation/_lobe/chat/ChatItem/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/ChatList/ChatList.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatList/ChatList.js +70 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/ChatActionsBar.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/ChatActionsBar.js +29 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/ChatListItem.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/ChatListItem.js +185 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/HistoryDivider.d.ts +7 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/HistoryDivider.js +24 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/useChatListActionsBar.d.ts +17 -0
- package/dist/AiConversation/_lobe/chat/ChatList/components/useChatListActionsBar.js +33 -0
- package/dist/AiConversation/_lobe/chat/ChatList/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/chat/ChatList/index.js +2 -0
- package/dist/AiConversation/_lobe/chat/ChatList/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/chat/ChatList/style.js +9 -0
- package/dist/AiConversation/_lobe/chat/ChatList/type.d.ts +94 -0
- package/dist/AiConversation/_lobe/chat/ChatList/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/EditableMessage.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/EditableMessage.js +117 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/type.d.ts +37 -0
- package/dist/AiConversation/_lobe/chat/EditableMessage/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/EditableMessageList.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/EditableMessageList.js +126 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/messageReducer.d.ts +37 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/messageReducer.js +81 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/type.d.ts +15 -0
- package/dist/AiConversation/_lobe/chat/EditableMessageList/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/LoadingDots.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/LoadingDots.js +138 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/style.js +24 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/type.d.ts +27 -0
- package/dist/AiConversation/_lobe/chat/LoadingDots/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/MessageInput.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/MessageInput.js +139 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/style.d.ts +1 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/style.js +8 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/type.d.ts +25 -0
- package/dist/AiConversation/_lobe/chat/MessageInput/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/MessageModal.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/MessageModal.js +138 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/TextArea.d.ts +8 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/TextArea.js +41 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/type.d.ts +23 -0
- package/dist/AiConversation/_lobe/chat/MessageModal/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/TokenTag.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/TokenTag.js +73 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/index.js +1 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/type.d.ts +12 -0
- package/dist/AiConversation/_lobe/chat/TokenTag/type.js +1 -0
- package/dist/AiConversation/_lobe/chat/index.d.ts +12 -0
- package/dist/AiConversation/_lobe/chat/index.js +12 -0
- package/dist/AiConversation/_lobe/chat/types/chatMessage.d.ts +43 -0
- package/dist/AiConversation/_lobe/chat/types/chatMessage.js +1 -0
- package/dist/AiConversation/_lobe/chat/types/error.d.ts +20 -0
- package/dist/AiConversation/_lobe/chat/types/error.js +23 -0
- package/dist/AiConversation/_lobe/chat/types/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/chat/types/index.js +4 -0
- package/dist/AiConversation/_lobe/chat/types/llm.d.ts +47 -0
- package/dist/AiConversation/_lobe/chat/types/llm.js +12 -0
- package/dist/AiConversation/_lobe/chat/types/meta.d.ts +26 -0
- package/dist/AiConversation/_lobe/chat/types/meta.js +1 -0
- package/dist/AiConversation/_lobe/color/ColorScales/ScaleRow.d.ts +8 -0
- package/dist/AiConversation/_lobe/color/ColorScales/ScaleRow.js +85 -0
- package/dist/AiConversation/_lobe/color/ColorScales/index.d.ts +18 -0
- package/dist/AiConversation/_lobe/color/ColorScales/index.js +76 -0
- package/dist/AiConversation/_lobe/color/ColorScales/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/color/ColorScales/style.js +17 -0
- package/dist/AiConversation/_lobe/color/CssVar/ScaleRow.d.ts +8 -0
- package/dist/AiConversation/_lobe/color/CssVar/ScaleRow.js +61 -0
- package/dist/AiConversation/_lobe/color/CssVar/VarRow.d.ts +6 -0
- package/dist/AiConversation/_lobe/color/CssVar/VarRow.js +56 -0
- package/dist/AiConversation/_lobe/color/CssVar/index.d.ts +18 -0
- package/dist/AiConversation/_lobe/color/CssVar/index.js +87 -0
- package/dist/AiConversation/_lobe/color/CssVar/style.d.ts +10 -0
- package/dist/AiConversation/_lobe/color/CssVar/style.js +17 -0
- package/dist/AiConversation/_lobe/color/colors/blue.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/blue.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/cyan.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/cyan.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/geekblue.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/geekblue.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/gold.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/gold.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/gray.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/gray.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/green.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/green.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/index.d.ts +33 -0
- package/dist/AiConversation/_lobe/color/colors/index.js +45 -0
- package/dist/AiConversation/_lobe/color/colors/lime.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/lime.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/magenta.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/magenta.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/orange.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/orange.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/primary.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/primary.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/purple.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/purple.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/red.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/red.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/volcano.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/volcano.js +7 -0
- package/dist/AiConversation/_lobe/color/colors/yellow.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/colors/yellow.js +7 -0
- package/dist/AiConversation/_lobe/color/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/color/index.js +4 -0
- package/dist/AiConversation/_lobe/color/neutrals/index.d.ts +15 -0
- package/dist/AiConversation/_lobe/color/neutrals/index.js +18 -0
- package/dist/AiConversation/_lobe/color/neutrals/mauve.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/neutrals/mauve.js +7 -0
- package/dist/AiConversation/_lobe/color/neutrals/olive.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/neutrals/olive.js +7 -0
- package/dist/AiConversation/_lobe/color/neutrals/sage.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/neutrals/sage.js +7 -0
- package/dist/AiConversation/_lobe/color/neutrals/sand.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/neutrals/sand.js +7 -0
- package/dist/AiConversation/_lobe/color/neutrals/slate.d.ts +3 -0
- package/dist/AiConversation/_lobe/color/neutrals/slate.js +7 -0
- package/dist/AiConversation/_lobe/color/types.d.ts +22 -0
- package/dist/AiConversation/_lobe/color/types.js +1 -0
- package/dist/AiConversation/_lobe/hooks/useCopied.d.ts +4 -0
- package/dist/AiConversation/_lobe/hooks/useCopied.js +33 -0
- package/dist/AiConversation/_lobe/hooks/useEventCallback.d.ts +1 -0
- package/dist/AiConversation/_lobe/hooks/useEventCallback.js +10 -0
- package/dist/AiConversation/_lobe/hooks/useFloatingLayer.d.ts +17 -0
- package/dist/AiConversation/_lobe/hooks/useFloatingLayer.js +24 -0
- package/dist/AiConversation/_lobe/hooks/useHighlight.d.ts +17 -0
- package/dist/AiConversation/_lobe/hooks/useHighlight.js +246 -0
- package/dist/AiConversation/_lobe/hooks/useIsClient.d.ts +1 -0
- package/dist/AiConversation/_lobe/hooks/useIsClient.js +18 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/index.js +4 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/latex.d.ts +179 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/latex.js +529 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownComponents.d.ts +2 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownComponents.js +140 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownContent.d.ts +1 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownContent.js +64 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownRehypePlugins.d.ts +2 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownRehypePlugins.js +32 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownRemarkPlugins.d.ts +2 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/useMarkdownRemarkPlugins.js +40 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/utils.d.ts +30 -0
- package/dist/AiConversation/_lobe/hooks/useMarkdown/utils.js +137 -0
- package/dist/AiConversation/_lobe/hooks/useMermaid.d.ts +13 -0
- package/dist/AiConversation/_lobe/hooks/useMermaid.js +201 -0
- package/dist/AiConversation/_lobe/hooks/useNativeButton.d.ts +32 -0
- package/dist/AiConversation/_lobe/hooks/useNativeButton.js +121 -0
- package/dist/AiConversation/_lobe/hooks/useStreamHighlight.d.ts +8 -0
- package/dist/AiConversation/_lobe/hooks/useStreamHighlight.js +414 -0
- package/dist/AiConversation/_lobe/hooks/useStreamMermaid.d.ts +9 -0
- package/dist/AiConversation/_lobe/hooks/useStreamMermaid.js +137 -0
- package/dist/AiConversation/_lobe/hooks/useTextOverflow.d.ts +7 -0
- package/dist/AiConversation/_lobe/hooks/useTextOverflow.js +37 -0
- package/dist/AiConversation/_lobe/i18n/context.d.ts +13 -0
- package/dist/AiConversation/_lobe/i18n/context.js +25 -0
- package/dist/AiConversation/_lobe/i18n/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/i18n/index.js +3 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/chat.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/chat.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/common.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/common.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/editableMessage.d.ts +10 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/editableMessage.js +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/emojiPicker.d.ts +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/emojiPicker.js +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/form.d.ts +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/form.js +6 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/hotkey.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/hotkey.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/image.d.ts +15 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/image.js +14 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/index.d.ts +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/index.js +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/messageModal.d.ts +6 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/messageModal.js +5 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/sideNav.d.ts +18 -0
- package/dist/AiConversation/_lobe/i18n/resources/en/sideNav.js +17 -0
- package/dist/AiConversation/_lobe/i18n/resources/index.d.ts +2 -0
- package/dist/AiConversation/_lobe/i18n/resources/index.js +5 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/chat.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/chat.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/common.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/common.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/editableMessage.d.ts +10 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/editableMessage.js +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/emojiPicker.d.ts +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/emojiPicker.js +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/form.d.ts +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/form.js +6 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/hotkey.d.ts +8 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/hotkey.js +7 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/image.d.ts +15 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/image.js +14 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/index.d.ts +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/index.js +9 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/messageModal.d.ts +6 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/messageModal.js +5 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/sideNav.d.ts +18 -0
- package/dist/AiConversation/_lobe/i18n/resources/zhCn/sideNav.js +17 -0
- package/dist/AiConversation/_lobe/i18n/types.d.ts +18 -0
- package/dist/AiConversation/_lobe/i18n/types.js +1 -0
- package/dist/AiConversation/_lobe/i18n/useTranslation.d.ts +5 -0
- package/dist/AiConversation/_lobe/i18n/useTranslation.js +19 -0
- package/dist/AiConversation/_lobe/icons/Auth0/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Auth0/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Auth0/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Auth0/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/Auth0/index.d.ts +9 -0
- package/dist/AiConversation/_lobe/icons/Auth0/index.js +10 -0
- package/dist/AiConversation/_lobe/icons/Auth0/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Auth0/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Color.js +132 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Authelia/components/Mono.js +48 -0
- package/dist/AiConversation/_lobe/icons/Authelia/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Authelia/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Authelia/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Authelia/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Color.js +41 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Authentik/components/Mono.js +41 -0
- package/dist/AiConversation/_lobe/icons/Authentik/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Authentik/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Authentik/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Authentik/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Color.js +98 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/components/Mono.js +44 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Casdoor/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Color.js +43 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Clerk/components/Mono.js +43 -0
- package/dist/AiConversation/_lobe/icons/Clerk/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Clerk/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Clerk/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Clerk/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/DingTalk/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Discord/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/Discord/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Discord/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Discord/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Discord/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Avatar.js +27 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Color.js +86 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/GoogleChat/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Avatar.js +27 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Inner.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Inner.js +40 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/IMessage/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/IMessage/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/IMessage/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/IMessage/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/IMessage/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Color.js +45 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Lark/components/Mono.js +41 -0
- package/dist/AiConversation/_lobe/icons/Lark/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Lark/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Lark/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Lark/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Line/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/Line/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Line/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Line/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Line/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Color.js +60 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Logto/components/Mono.js +41 -0
- package/dist/AiConversation/_lobe/icons/Logto/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Logto/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Logto/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Logto/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Avatar.js +25 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Color.js +54 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/components/Mono.js +43 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftEntra/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Color.js +52 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/components/Mono.js +45 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/MicrosoftTeams/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Color.js +109 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/components/Mono.js +41 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/NextAuth/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Color.js +60 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/QQ/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/QQ/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/QQ/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/QQ/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/QQ/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Color.js +48 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Slack/components/Mono.js +46 -0
- package/dist/AiConversation/_lobe/icons/Slack/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Slack/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Slack/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Slack/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Avatar.js +27 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Inner.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Inner.js +40 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Telegram/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/Telegram/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Telegram/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Telegram/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Telegram/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/WeChat/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/WeChat/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/WeChat/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/WeChat/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/WeChat/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Avatar.js +27 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Color.js +39 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/components/Mono.js +40 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/WhatsApp/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Avatar.d.ts +5 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Avatar.js +26 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Color.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Color.js +184 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Mono.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/components/Mono.js +70 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/index.js +12 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/style.d.ts +2 -0
- package/dist/AiConversation/_lobe/icons/Zitadel/style.js +2 -0
- package/dist/AiConversation/_lobe/icons/index.d.ts +23 -0
- package/dist/AiConversation/_lobe/icons/index.js +23 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AndroidIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AndroidIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AppleIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AppleIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AppstoreIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/AppstoreIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/BotPromptIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/BotPromptIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/BrainOffIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/BrainOffIcon.js +19 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ChromeIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ChromeIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CodepenIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CodepenIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CodesandboxIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CodesandboxIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CreateBotIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/CreateBotIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/DiscordIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/DiscordIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FacebookIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FacebookIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FigmaIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FigmaIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FramerIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/FramerIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GithubIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GithubIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GitlabIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GitlabIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GlobeOffIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GlobeOffIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GooglePlayIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GooglePlayIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GroupBotIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GroupBotIcon.js +13 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GroupBotSquareIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/GroupBotSquareIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/InstagramIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/InstagramIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LeftClickIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LeftClickIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LeftDoubleClickIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LeftDoubleClickIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LinkedinIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/LinkedinIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/McpIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/McpIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/NotionIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/NotionIcon.js +13 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/PocketIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/PocketIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ProviderIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ProviderIcon.js +16 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RailSymbolIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RailSymbolIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RedditIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RedditIcon.js +16 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RightClickIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RightClickIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RightDoubleClickIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/RightDoubleClickIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ShapesUploadIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ShapesUploadIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/SkillsIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/SkillsIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/SlackIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/SlackIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ThinkIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/ThinkIcon.js +10 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/TreeDownRightIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/TreeDownRightIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/TreeUpDownRightIcon.d.ts +3 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/TreeUpDownRightIcon.js +7 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/index.d.ts +37 -0
- package/dist/AiConversation/_lobe/icons/lucideExtra/index.js +37 -0
- package/dist/AiConversation/_lobe/index.d.ts +61 -0
- package/dist/AiConversation/_lobe/index.js +59 -0
- package/dist/AiConversation/_lobe/mdx/Callout/index.d.ts +7 -0
- package/dist/AiConversation/_lobe/mdx/Callout/index.js +88 -0
- package/dist/AiConversation/_lobe/mdx/Callout/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/Callout/style.js +11 -0
- package/dist/AiConversation/_lobe/mdx/Cards/Card.d.ts +16 -0
- package/dist/AiConversation/_lobe/mdx/Cards/Card.js +105 -0
- package/dist/AiConversation/_lobe/mdx/Cards/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/Cards/index.js +33 -0
- package/dist/AiConversation/_lobe/mdx/Cards/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/mdx/Cards/style.js +9 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/File.d.ts +9 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/File.js +35 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/Folder.d.ts +10 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/Folder.js +57 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/index.js +26 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/FileTree/style.js +12 -0
- package/dist/AiConversation/_lobe/mdx/Mdx/index.d.ts +18 -0
- package/dist/AiConversation/_lobe/mdx/Mdx/index.js +172 -0
- package/dist/AiConversation/_lobe/mdx/Steps/index.d.ts +4 -0
- package/dist/AiConversation/_lobe/mdx/Steps/index.js +26 -0
- package/dist/AiConversation/_lobe/mdx/Steps/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/mdx/Steps/style.js +10 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/Tab.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/Tab.js +28 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/index.d.ts +11 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/index.js +63 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/style.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/Tabs/style.js +11 -0
- package/dist/AiConversation/_lobe/mdx/index.d.ts +16 -0
- package/dist/AiConversation/_lobe/mdx/index.js +16 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/PopoverPanel.d.ts +10 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/PopoverPanel.js +80 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/index.d.ts +12 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/index.js +61 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/style.d.ts +6 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Citation/style.js +13 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/CodeBlock.d.ts +10 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/CodeBlock.js +59 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Image.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Image.js +28 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Link.d.ts +13 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Link.js +50 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Pre/style.d.ts +3 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Pre/style.js +9 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Pre.d.ts +9 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Pre.js +97 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Section.d.ts +8 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Section.js +30 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Video.d.ts +5 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/Video.js +26 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/index.d.ts +3 -0
- package/dist/AiConversation/_lobe/mdx/mdxComponents/index.js +23 -0
- package/dist/AiConversation/_lobe/styles/animations.d.ts +1 -0
- package/dist/AiConversation/_lobe/styles/animations.js +4 -0
- package/dist/AiConversation/_lobe/styles/classNames.d.ts +4 -0
- package/dist/AiConversation/_lobe/styles/classNames.js +4 -0
- package/dist/AiConversation/_lobe/styles/customTheme.d.ts +28 -0
- package/dist/AiConversation/_lobe/styles/customTheme.js +32 -0
- package/dist/AiConversation/_lobe/styles/index.d.ts +5 -0
- package/dist/AiConversation/_lobe/styles/index.js +5 -0
- package/dist/AiConversation/_lobe/styles/theme/algorithms/darkAlgorithm.d.ts +2 -0
- package/dist/AiConversation/_lobe/styles/theme/algorithms/darkAlgorithm.js +37 -0
- package/dist/AiConversation/_lobe/styles/theme/algorithms/lightAlgorithm.d.ts +2 -0
- package/dist/AiConversation/_lobe/styles/theme/algorithms/lightAlgorithm.js +33 -0
- package/dist/AiConversation/_lobe/styles/theme/antdTheme.d.ts +15 -0
- package/dist/AiConversation/_lobe/styles/theme/antdTheme.js +54 -0
- package/dist/AiConversation/_lobe/styles/theme/customStylish.d.ts +3 -0
- package/dist/AiConversation/_lobe/styles/theme/customStylish.js +29 -0
- package/dist/AiConversation/_lobe/styles/theme/customStylishStatic.d.ts +2 -0
- package/dist/AiConversation/_lobe/styles/theme/customStylishStatic.js +50 -0
- package/dist/AiConversation/_lobe/styles/theme/customToken.d.ts +4 -0
- package/dist/AiConversation/_lobe/styles/theme/customToken.js +86 -0
- package/dist/AiConversation/_lobe/styles/theme/generateColorPalette.d.ts +11 -0
- package/dist/AiConversation/_lobe/styles/theme/generateColorPalette.js +35 -0
- package/dist/AiConversation/_lobe/styles/theme/token/base.d.ts +2 -0
- package/dist/AiConversation/_lobe/styles/theme/token/base.js +13 -0
- package/dist/AiConversation/_lobe/styles/theme/token/dark.d.ts +3 -0
- package/dist/AiConversation/_lobe/styles/theme/token/dark.js +47 -0
- package/dist/AiConversation/_lobe/styles/theme/token/light.d.ts +3 -0
- package/dist/AiConversation/_lobe/styles/theme/token/light.js +47 -0
- package/dist/AiConversation/_lobe/types/citation.d.ts +6 -0
- package/dist/AiConversation/_lobe/types/citation.js +1 -0
- package/dist/AiConversation/_lobe/types/customStylish.d.ts +20 -0
- package/dist/AiConversation/_lobe/types/customStylish.js +1 -0
- package/dist/AiConversation/_lobe/types/customToken.d.ts +25 -0
- package/dist/AiConversation/_lobe/types/customToken.js +3 -0
- package/dist/AiConversation/_lobe/types/global.d.ts +10 -0
- package/dist/AiConversation/_lobe/types/index.d.ts +12 -0
- package/dist/AiConversation/_lobe/types/index.js +4 -0
- package/dist/AiConversation/_lobe/types/trigger.d.ts +4 -0
- package/dist/AiConversation/_lobe/types/trigger.js +1 -0
- package/dist/AiConversation/_lobe/utils/blobToPng.d.ts +11 -0
- package/dist/AiConversation/_lobe/utils/blobToPng.js +73 -0
- package/dist/AiConversation/_lobe/utils/composeEventHandlers.d.ts +19 -0
- package/dist/AiConversation/_lobe/utils/composeEventHandlers.js +26 -0
- package/dist/AiConversation/_lobe/utils/copyToClipboard.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/copyToClipboard.js +36 -0
- package/dist/AiConversation/_lobe/utils/destroyOnInvalidActiveTriggerElement.d.ts +37 -0
- package/dist/AiConversation/_lobe/utils/destroyOnInvalidActiveTriggerElement.js +95 -0
- package/dist/AiConversation/_lobe/utils/devSingleton.d.ts +6 -0
- package/dist/AiConversation/_lobe/utils/devSingleton.js +69 -0
- package/dist/AiConversation/_lobe/utils/dom.d.ts +11 -0
- package/dist/AiConversation/_lobe/utils/dom.js +12 -0
- package/dist/AiConversation/_lobe/utils/downloadBlob.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/downloadBlob.js +33 -0
- package/dist/AiConversation/_lobe/utils/formatTime.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/formatTime.js +12 -0
- package/dist/AiConversation/_lobe/utils/genCdnUrl.d.ts +11 -0
- package/dist/AiConversation/_lobe/utils/genCdnUrl.js +21 -0
- package/dist/AiConversation/_lobe/utils/parseTrigger.d.ts +8 -0
- package/dist/AiConversation/_lobe/utils/parseTrigger.js +15 -0
- package/dist/AiConversation/_lobe/utils/placement.d.ts +31 -0
- package/dist/AiConversation/_lobe/utils/placement.js +148 -0
- package/dist/AiConversation/_lobe/utils/platform.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/platform.js +1 -0
- package/dist/AiConversation/_lobe/utils/safeParseJSON.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/safeParseJSON.js +10 -0
- package/dist/AiConversation/_lobe/utils/safeReadableColor.d.ts +1 -0
- package/dist/AiConversation/_lobe/utils/safeReadableColor.js +9 -0
- package/dist/AiConversation/_lobe/utils/smoothCorners.d.ts +39 -0
- package/dist/AiConversation/_lobe/utils/smoothCorners.js +112 -0
- package/dist/AiConversation/index.d.ts +36 -0
- package/dist/AiConversation/index.js +46 -0
- package/dist/Button/index.js +16 -4
- package/dist/CanvasEditor/index.js +85 -86
- package/dist/CanvasEditor/styles/index.less +6 -5
- package/dist/FormDesigner/Provider.d.ts +3 -0
- package/dist/FormDesigner/Provider.js +278 -0
- package/dist/FormDesigner/card/commonSettings.d.ts +81 -0
- package/dist/FormDesigner/card/commonSettings.js +84 -0
- package/dist/FormDesigner/card/fieldWrapper.d.ts +13 -0
- package/dist/FormDesigner/card/fieldWrapper.js +76 -0
- package/dist/FormDesigner/card/globalSettings.d.ts +49 -0
- package/dist/FormDesigner/card/globalSettings.js +49 -0
- package/dist/FormDesigner/card/index.d.ts +9 -0
- package/dist/FormDesigner/card/index.js +12 -0
- package/dist/FormDesigner/card/settings.d.ts +1789 -0
- package/dist/FormDesigner/card/settings.js +1031 -0
- package/dist/FormDesigner/card/settingsWidgets/iconPicker.d.ts +6 -0
- package/dist/FormDesigner/card/settingsWidgets/iconPicker.js +38 -0
- package/dist/FormDesigner/card/templates/feishuAlertHandled.d.ts +12 -0
- package/dist/FormDesigner/card/templates/feishuAlertHandled.js +263 -0
- package/dist/FormDesigner/card/templates/feishuAlertPending.d.ts +18 -0
- package/dist/FormDesigner/card/templates/feishuAlertPending.js +348 -0
- package/dist/FormDesigner/card/templates/feishuApprovalDashboard.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuApprovalDashboard.js +255 -0
- package/dist/FormDesigner/card/templates/feishuArtistTeaSet.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuArtistTeaSet.js +266 -0
- package/dist/FormDesigner/card/templates/feishuBirthdayWish.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuBirthdayWish.js +284 -0
- package/dist/FormDesigner/card/templates/feishuBotTutorial.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuBotTutorial.js +141 -0
- package/dist/FormDesigner/card/templates/feishuBusinessTrip.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuBusinessTrip.js +505 -0
- package/dist/FormDesigner/card/templates/feishuCompanyMoment.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuCompanyMoment.js +150 -0
- package/dist/FormDesigner/card/templates/feishuDeviceReady.d.ts +13 -0
- package/dist/FormDesigner/card/templates/feishuDeviceReady.js +282 -0
- package/dist/FormDesigner/card/templates/feishuDeviceReview.d.ts +36 -0
- package/dist/FormDesigner/card/templates/feishuDeviceReview.js +398 -0
- package/dist/FormDesigner/card/templates/feishuExpressLocker.d.ts +12 -0
- package/dist/FormDesigner/card/templates/feishuExpressLocker.js +182 -0
- package/dist/FormDesigner/card/templates/feishuJimeng.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuJimeng.js +504 -0
- package/dist/FormDesigner/card/templates/feishuLarkDesign.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuLarkDesign.js +868 -0
- package/dist/FormDesigner/card/templates/feishuLeaveApproval.d.ts +39 -0
- package/dist/FormDesigner/card/templates/feishuLeaveApproval.js +413 -0
- package/dist/FormDesigner/card/templates/feishuLeaveApproved.d.ts +25 -0
- package/dist/FormDesigner/card/templates/feishuLeaveApproved.js +291 -0
- package/dist/FormDesigner/card/templates/feishuLisaWelcome.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuLisaWelcome.js +389 -0
- package/dist/FormDesigner/card/templates/feishuMeetingSchedule.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuMeetingSchedule.js +178 -0
- package/dist/FormDesigner/card/templates/feishuMorningSummary.d.ts +15 -0
- package/dist/FormDesigner/card/templates/feishuMorningSummary.js +288 -0
- package/dist/FormDesigner/card/templates/feishuMusicJournal.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuMusicJournal.js +435 -0
- package/dist/FormDesigner/card/templates/feishuOpenStream.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuOpenStream.js +248 -0
- package/dist/FormDesigner/card/templates/feishuOrderConfirm.d.ts +44 -0
- package/dist/FormDesigner/card/templates/feishuOrderConfirm.js +718 -0
- package/dist/FormDesigner/card/templates/feishuPersonalBirthday.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuPersonalBirthday.js +126 -0
- package/dist/FormDesigner/card/templates/feishuProjectAssistant.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuProjectAssistant.js +486 -0
- package/dist/FormDesigner/card/templates/feishuSalesRanking.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuSalesRanking.js +587 -0
- package/dist/FormDesigner/card/templates/feishuSignedContract.d.ts +12 -0
- package/dist/FormDesigner/card/templates/feishuSignedContract.js +258 -0
- package/dist/FormDesigner/card/templates/feishuStreamingGuide.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuStreamingGuide.js +351 -0
- package/dist/FormDesigner/card/templates/feishuTeamBuilding.d.ts +1 -0
- package/dist/FormDesigner/card/templates/feishuTeamBuilding.js +229 -0
- package/dist/FormDesigner/card/templates/index.d.ts +48 -0
- package/dist/FormDesigner/card/templates/index.js +222 -0
- package/dist/FormDesigner/components/Canvas/core/EventLogPanel.d.ts +1 -0
- package/dist/FormDesigner/components/Canvas/core/EventLogPanel.js +243 -0
- package/dist/FormDesigner/components/Canvas/core/RenderChildren.d.ts +5 -0
- package/dist/FormDesigner/components/Canvas/core/RenderChildren.js +25 -0
- package/dist/FormDesigner/components/Canvas/core/RenderField.d.ts +10 -0
- package/dist/FormDesigner/components/Canvas/core/RenderField.js +201 -0
- package/dist/FormDesigner/components/Canvas/core/Wrapper.d.ts +9 -0
- package/dist/FormDesigner/components/Canvas/core/Wrapper.js +450 -0
- package/dist/FormDesigner/components/Canvas/core/index.d.ts +6 -0
- package/dist/FormDesigner/components/Canvas/core/index.js +198 -0
- package/dist/FormDesigner/components/Canvas/core/style.d.ts +12 -0
- package/dist/FormDesigner/components/Canvas/core/style.js +24 -0
- package/dist/FormDesigner/components/Canvas/index.d.ts +4 -0
- package/dist/FormDesigner/components/Canvas/index.js +276 -0
- package/dist/FormDesigner/components/Settings/GlobalSettings.d.ts +3 -0
- package/dist/FormDesigner/components/Settings/GlobalSettings.js +71 -0
- package/dist/FormDesigner/components/Settings/ItemSettings.d.ts +33 -0
- package/dist/FormDesigner/components/Settings/ItemSettings.js +2708 -0
- package/dist/FormDesigner/components/Settings/index.d.ts +3 -0
- package/dist/FormDesigner/components/Settings/index.js +224 -0
- package/dist/FormDesigner/components/Settings/style.d.ts +61 -0
- package/dist/FormDesigner/components/Settings/style.js +82 -0
- package/dist/FormDesigner/components/Sidebar/Element.d.ts +9 -0
- package/dist/FormDesigner/components/Sidebar/Element.js +197 -0
- package/dist/FormDesigner/components/Sidebar/index.d.ts +2 -0
- package/dist/FormDesigner/components/Sidebar/index.js +229 -0
- package/dist/FormDesigner/components/Sidebar/style.d.ts +22 -0
- package/dist/FormDesigner/components/Sidebar/style.js +28 -0
- package/dist/FormDesigner/i18next/index.d.ts +2 -0
- package/dist/FormDesigner/i18next/index.js +12 -0
- package/dist/FormDesigner/i18next/locales/enUS.json +51 -0
- package/dist/FormDesigner/i18next/locales/resources.d.ts +53 -0
- package/dist/FormDesigner/i18next/locales/resources.js +54 -0
- package/dist/FormDesigner/i18next/locales/zhCN.json +3 -0
- package/dist/FormDesigner/index.d.ts +7 -0
- package/dist/FormDesigner/index.js +56 -0
- package/dist/FormDesigner/settings/displayHeader.d.ts +142 -0
- package/dist/FormDesigner/settings/displayHeader.js +101 -0
- package/dist/FormDesigner/settings/index.d.ts +5585 -0
- package/dist/FormDesigner/settings/index.js +2399 -0
- package/dist/FormDesigner/styles/index.d.ts +3 -0
- package/dist/FormDesigner/styles/index.js +11 -0
- package/dist/FormDesigner/transformer/form-render.d.ts +2 -0
- package/dist/FormDesigner/transformer/form-render.js +82 -0
- package/dist/FormDesigner/types.d.ts +108 -0
- package/dist/FormDesigner/types.js +1 -0
- package/dist/FormDesigner/utils/context.d.ts +3 -0
- package/dist/FormDesigner/utils/context.js +3 -0
- package/dist/FormDesigner/utils/hooks.d.ts +3 -0
- package/dist/FormDesigner/utils/hooks.js +48 -0
- package/dist/FormDesigner/utils/idUtils.d.ts +2 -0
- package/dist/FormDesigner/utils/idUtils.js +14 -0
- package/dist/FormDesigner/utils/index.d.ts +51 -0
- package/dist/FormDesigner/utils/index.js +706 -0
- package/dist/FormDesigner/utils/mapping.d.ts +1 -0
- package/dist/FormDesigner/utils/mapping.js +31 -0
- package/dist/FormDesigner/utils/serialize.d.ts +21 -0
- package/dist/FormDesigner/utils/serialize.js +278 -0
- package/dist/FormDesigner/utils/settingPath.d.ts +2 -0
- package/dist/FormDesigner/utils/settingPath.js +97 -0
- package/dist/FormDesigner/utils/widgetIcons.d.ts +8 -0
- package/dist/FormDesigner/utils/widgetIcons.js +60 -0
- package/dist/FormDesigner/widgets/cardChartDataEditor.d.ts +14 -0
- package/dist/FormDesigner/widgets/cardChartDataEditor.js +117 -0
- package/dist/FormDesigner/widgets/cardImageListEditor.d.ts +13 -0
- package/dist/FormDesigner/widgets/cardImageListEditor.js +106 -0
- package/dist/FormDesigner/widgets/cardPersonListEditor.d.ts +14 -0
- package/dist/FormDesigner/widgets/cardPersonListEditor.js +114 -0
- package/dist/FormDesigner/widgets/cardStaticOptionsEditor.d.ts +17 -0
- package/dist/FormDesigner/widgets/cardStaticOptionsEditor.js +126 -0
- package/dist/FormDesigner/widgets/cardTableColumnsEditor.d.ts +25 -0
- package/dist/FormDesigner/widgets/cardTableColumnsEditor.js +241 -0
- package/dist/FormDesigner/widgets/cardTableRowsEditor.d.ts +18 -0
- package/dist/FormDesigner/widgets/cardTableRowsEditor.js +180 -0
- package/dist/FormDesigner/widgets/clearableNumberInput.d.ts +18 -0
- package/dist/FormDesigner/widgets/clearableNumberInput.js +62 -0
- package/dist/FormDesigner/widgets/dateDefaultValue.d.ts +10 -0
- package/dist/FormDesigner/widgets/dateDefaultValue.js +70 -0
- package/dist/FormDesigner/widgets/dateRangeDefaultValue.d.ts +10 -0
- package/dist/FormDesigner/widgets/dateRangeDefaultValue.js +60 -0
- package/dist/FormDesigner/widgets/formBtnGroup.d.ts +6 -0
- package/dist/FormDesigner/widgets/formBtnGroup.js +17 -0
- package/dist/FormDesigner/widgets/formContainer.d.ts +13 -0
- package/dist/FormDesigner/widgets/formContainer.js +20 -0
- package/dist/FormDesigner/widgets/formOptionDefaultValue.d.ts +10 -0
- package/dist/FormDesigner/widgets/formOptionDefaultValue.js +76 -0
- package/dist/FormDesigner/widgets/formOptionsEditor.d.ts +14 -0
- package/dist/FormDesigner/widgets/formOptionsEditor.js +135 -0
- package/dist/FormDesigner/widgets/formResetBtn.d.ts +3 -0
- package/dist/FormDesigner/widgets/formResetBtn.js +32 -0
- package/dist/FormDesigner/widgets/formSubmitBtn.d.ts +3 -0
- package/dist/FormDesigner/widgets/formSubmitBtn.js +32 -0
- package/dist/FormDesigner/widgets/htmlInput.d.ts +9 -0
- package/dist/FormDesigner/widgets/htmlInput.js +26 -0
- package/dist/FormDesigner/widgets/idInput.d.ts +9 -0
- package/dist/FormDesigner/widgets/idInput.js +106 -0
- package/dist/FormDesigner/widgets/index.d.ts +20 -0
- package/dist/FormDesigner/widgets/index.js +20 -0
- package/dist/FormDesigner/widgets/jsonInput.d.ts +9 -0
- package/dist/FormDesigner/widgets/jsonInput.js +30 -0
- package/dist/FormDesigner/widgets/list.d.ts +10 -0
- package/dist/FormDesigner/widgets/list.js +31 -0
- package/dist/FormDesigner/widgets/percentSlider.d.ts +20 -0
- package/dist/FormDesigner/widgets/percentSlider.js +93 -0
- package/dist/FormRender/FormPreview.d.ts +7 -0
- package/dist/FormRender/FormPreview.js +315 -0
- package/dist/FormRender/events/eventLog.d.ts +21 -0
- package/dist/FormRender/events/eventLog.js +27 -0
- package/dist/FormRender/events/fieldAssignments.d.ts +3 -0
- package/dist/FormRender/events/fieldAssignments.js +65 -0
- package/dist/FormRender/events/http/auth/config.d.ts +21 -0
- package/dist/FormRender/events/http/auth/config.js +48 -0
- package/dist/FormRender/events/http/auth/index.d.ts +2 -0
- package/dist/FormRender/events/http/auth/index.js +2 -0
- package/dist/FormRender/events/http/auth/oauth2.d.ts +97 -0
- package/dist/FormRender/events/http/auth/oauth2.js +196 -0
- package/dist/FormRender/events/http/clientSource.d.ts +6 -0
- package/dist/FormRender/events/http/clientSource.js +76 -0
- package/dist/FormRender/events/http/createRequest.d.ts +75 -0
- package/dist/FormRender/events/http/createRequest.js +350 -0
- package/dist/FormRender/events/http/jwt/index.d.ts +1 -0
- package/dist/FormRender/events/http/jwt/index.js +1 -0
- package/dist/FormRender/events/http/jwt/jwt.d.ts +53 -0
- package/dist/FormRender/events/http/jwt/jwt.js +129 -0
- package/dist/FormRender/events/http/sentryNoop.d.ts +20 -0
- package/dist/FormRender/events/http/sentryNoop.js +23 -0
- package/dist/FormRender/events/http/tokenRefresh.d.ts +28 -0
- package/dist/FormRender/events/http/tokenRefresh.js +170 -0
- package/dist/FormRender/events/http/types.d.ts +85 -0
- package/dist/FormRender/events/http/types.js +1 -0
- package/dist/FormRender/events/httpService.d.ts +25 -0
- package/dist/FormRender/events/httpService.js +113 -0
- package/dist/FormRender/events/index.d.ts +50 -0
- package/dist/FormRender/events/index.js +94 -0
- package/dist/FormRender/events/initialValue.d.ts +3 -0
- package/dist/FormRender/events/initialValue.js +114 -0
- package/dist/FormRender/events/linkage.d.ts +19 -0
- package/dist/FormRender/events/linkage.js +77 -0
- package/dist/FormRender/events/remoteData.d.ts +7 -0
- package/dist/FormRender/events/remoteData.js +136 -0
- package/dist/FormRender/events/utils.d.ts +13 -0
- package/dist/FormRender/events/utils.js +29 -0
- package/dist/FormRender/form-core/connectForm.d.ts +3 -0
- package/dist/FormRender/form-core/connectForm.js +19 -0
- package/dist/FormRender/form-core/index.d.ts +4 -0
- package/dist/FormRender/form-core/index.js +379 -0
- package/dist/FormRender/form-core/style.d.ts +7 -0
- package/dist/FormRender/form-core/style.js +14 -0
- package/dist/FormRender/index.d.ts +12 -0
- package/dist/FormRender/index.js +11 -0
- package/dist/FormRender/locales/en_US.d.ts +28 -0
- package/dist/FormRender/locales/en_US.js +27 -0
- package/dist/FormRender/locales/index.d.ts +57 -0
- package/dist/FormRender/locales/index.js +6 -0
- package/dist/FormRender/locales/zh_CN.d.ts +28 -0
- package/dist/FormRender/locales/zh_CN.js +27 -0
- package/dist/FormRender/models/bindValues.d.ts +2 -0
- package/dist/FormRender/models/bindValues.js +185 -0
- package/dist/FormRender/models/context.d.ts +3 -0
- package/dist/FormRender/models/context.js +3 -0
- package/dist/FormRender/models/expression.d.ts +7 -0
- package/dist/FormRender/models/expression.js +142 -0
- package/dist/FormRender/models/expressionSafety.d.ts +14 -0
- package/dist/FormRender/models/expressionSafety.js +27 -0
- package/dist/FormRender/models/fieldShouldUpdate.d.ts +2 -0
- package/dist/FormRender/models/fieldShouldUpdate.js +73 -0
- package/dist/FormRender/models/filterValuesByWidgets.d.ts +13 -0
- package/dist/FormRender/models/filterValuesByWidgets.js +51 -0
- package/dist/FormRender/models/filterValuesHidden.d.ts +5 -0
- package/dist/FormRender/models/filterValuesHidden.js +70 -0
- package/dist/FormRender/models/filterValuesUndefined.d.ts +2 -0
- package/dist/FormRender/models/filterValuesUndefined.js +47 -0
- package/dist/FormRender/models/flattenSchema.d.ts +3 -0
- package/dist/FormRender/models/flattenSchema.js +101 -0
- package/dist/FormRender/models/formCoreUtils.d.ts +8 -0
- package/dist/FormRender/models/formCoreUtils.js +199 -0
- package/dist/FormRender/models/formDataSkeleton.d.ts +1 -0
- package/dist/FormRender/models/formDataSkeleton.js +30 -0
- package/dist/FormRender/models/layout.d.ts +4 -0
- package/dist/FormRender/models/layout.js +90 -0
- package/dist/FormRender/models/mapping.d.ts +93 -0
- package/dist/FormRender/models/mapping.js +122 -0
- package/dist/FormRender/models/safeUrl.d.ts +17 -0
- package/dist/FormRender/models/safeUrl.js +44 -0
- package/dist/FormRender/models/sortProperties.d.ts +2 -0
- package/dist/FormRender/models/sortProperties.js +41 -0
- package/dist/FormRender/models/store.d.ts +10 -0
- package/dist/FormRender/models/store.js +28 -0
- package/dist/FormRender/models/transformProps.d.ts +34 -0
- package/dist/FormRender/models/transformProps.js +91 -0
- package/dist/FormRender/models/useForm.d.ts +3 -0
- package/dist/FormRender/models/useForm.js +460 -0
- package/dist/FormRender/models/validateMessage.d.ts +93 -0
- package/dist/FormRender/models/validateMessage.js +95 -0
- package/dist/FormRender/models/validates.d.ts +3 -0
- package/dist/FormRender/models/validates.js +221 -0
- package/dist/FormRender/openPreview.d.ts +2 -0
- package/dist/FormRender/openPreview.js +63 -0
- package/dist/FormRender/previewBridge.d.ts +9 -0
- package/dist/FormRender/previewBridge.js +26 -0
- package/dist/FormRender/previewInspect.d.ts +14 -0
- package/dist/FormRender/previewInspect.js +72 -0
- package/dist/FormRender/render-core/FieldErrorBoundary.d.ts +4 -0
- package/dist/FormRender/render-core/FieldErrorBoundary.js +33 -0
- package/dist/FormRender/render-core/FieldItem/field.d.ts +2 -0
- package/dist/FormRender/render-core/FieldItem/field.js +110 -0
- package/dist/FormRender/render-core/FieldItem/index.d.ts +2 -0
- package/dist/FormRender/render-core/FieldItem/index.js +64 -0
- package/dist/FormRender/render-core/FieldItem/main.d.ts +2 -0
- package/dist/FormRender/render-core/FieldItem/main.js +415 -0
- package/dist/FormRender/render-core/FieldItem/module.d.ts +17 -0
- package/dist/FormRender/render-core/FieldItem/module.js +365 -0
- package/dist/FormRender/render-core/FieldList/field.d.ts +2 -0
- package/dist/FormRender/render-core/FieldList/field.js +318 -0
- package/dist/FormRender/render-core/FieldList/index.d.ts +2 -0
- package/dist/FormRender/render-core/FieldList/index.js +55 -0
- package/dist/FormRender/render-core/FieldList/main.d.ts +2 -0
- package/dist/FormRender/render-core/FieldList/main.js +111 -0
- package/dist/FormRender/render-core/FieldList/modules.d.ts +7 -0
- package/dist/FormRender/render-core/FieldList/modules.js +120 -0
- package/dist/FormRender/render-core/index.d.ts +9 -0
- package/dist/FormRender/render-core/index.js +98 -0
- package/dist/FormRender/render-core/style.d.ts +11 -0
- package/dist/FormRender/render-core/style.js +22 -0
- package/dist/FormRender/types.d.ts +489 -0
- package/dist/FormRender/types.js +1 -0
- package/dist/FormRender/utils/index.d.ts +32 -0
- package/dist/FormRender/utils/index.js +120 -0
- package/dist/FormRender/widgets/advanced/chart.d.ts +2 -0
- package/dist/FormRender/widgets/advanced/chart.js +2 -0
- package/dist/FormRender/widgets/advanced/table.d.ts +2 -0
- package/dist/FormRender/widgets/advanced/table.js +2 -0
- package/dist/FormRender/widgets/card/behaviors.d.ts +47 -0
- package/dist/FormRender/widgets/card/behaviors.js +501 -0
- package/dist/FormRender/widgets/card/cardButton.d.ts +62 -0
- package/dist/FormRender/widgets/card/cardButton.js +249 -0
- package/dist/FormRender/widgets/card/cardHeader.d.ts +29 -0
- package/dist/FormRender/widgets/card/cardHeader.js +170 -0
- package/dist/FormRender/widgets/card/cardRoot.d.ts +21 -0
- package/dist/FormRender/widgets/card/cardRoot.js +124 -0
- package/dist/FormRender/widgets/card/chart.d.ts +26 -0
- package/dist/FormRender/widgets/card/chart.js +277 -0
- package/dist/FormRender/widgets/card/column.d.ts +21 -0
- package/dist/FormRender/widgets/card/column.js +81 -0
- package/dist/FormRender/widgets/card/columnSet.d.ts +18 -0
- package/dist/FormRender/widgets/card/columnSet.js +56 -0
- package/dist/FormRender/widgets/card/div.d.ts +17 -0
- package/dist/FormRender/widgets/card/div.js +57 -0
- package/dist/FormRender/widgets/card/fieldGroup.d.ts +30 -0
- package/dist/FormRender/widgets/card/fieldGroup.js +40 -0
- package/dist/FormRender/widgets/card/formContainer.d.ts +17 -0
- package/dist/FormRender/widgets/card/formContainer.js +30 -0
- package/dist/FormRender/widgets/card/hr.d.ts +1 -0
- package/dist/FormRender/widgets/card/hr.js +17 -0
- package/dist/FormRender/widgets/card/img.d.ts +23 -0
- package/dist/FormRender/widgets/card/img.js +106 -0
- package/dist/FormRender/widgets/card/imgCombination.d.ts +17 -0
- package/dist/FormRender/widgets/card/imgCombination.js +106 -0
- package/dist/FormRender/widgets/card/interactiveContainer.d.ts +37 -0
- package/dist/FormRender/widgets/card/interactiveContainer.js +166 -0
- package/dist/FormRender/widgets/card/loadingOverlay.d.ts +9 -0
- package/dist/FormRender/widgets/card/loadingOverlay.js +37 -0
- package/dist/FormRender/widgets/card/markdown.d.ts +31 -0
- package/dist/FormRender/widgets/card/markdown.js +364 -0
- package/dist/FormRender/widgets/card/personList.d.ts +25 -0
- package/dist/FormRender/widgets/card/personList.js +87 -0
- package/dist/FormRender/widgets/card/plainText.d.ts +2 -0
- package/dist/FormRender/widgets/card/plainText.js +2 -0
- package/dist/FormRender/widgets/card/repeat.d.ts +16 -0
- package/dist/FormRender/widgets/card/repeat.js +14 -0
- package/dist/FormRender/widgets/card/selectPerson.d.ts +22 -0
- package/dist/FormRender/widgets/card/selectPerson.js +51 -0
- package/dist/FormRender/widgets/card/selectStatic.d.ts +37 -0
- package/dist/FormRender/widgets/card/selectStatic.js +290 -0
- package/dist/FormRender/widgets/card/standardIcon.d.ts +16 -0
- package/dist/FormRender/widgets/card/standardIcon.js +146 -0
- package/dist/FormRender/widgets/card/style.d.ts +13 -0
- package/dist/FormRender/widgets/card/style.js +47 -0
- package/dist/FormRender/widgets/card/table.d.ts +21 -0
- package/dist/FormRender/widgets/card/table.js +93 -0
- package/dist/FormRender/widgets/card/textTag.d.ts +15 -0
- package/dist/FormRender/widgets/card/textTag.js +87 -0
- package/dist/FormRender/widgets/components/FButton.d.ts +2 -0
- package/dist/FormRender/widgets/components/FButton.js +32 -0
- package/dist/FormRender/widgets/components/HeaderTitle.d.ts +2 -0
- package/dist/FormRender/widgets/components/HeaderTitle.js +32 -0
- package/dist/FormRender/widgets/components/PanelView.d.ts +2 -0
- package/dist/FormRender/widgets/components/PanelView.js +29 -0
- package/dist/FormRender/widgets/containers/Card.d.ts +2 -0
- package/dist/FormRender/widgets/containers/Card.js +30 -0
- package/dist/FormRender/widgets/containers/Collapse.d.ts +17 -0
- package/dist/FormRender/widgets/containers/Collapse.js +80 -0
- package/dist/FormRender/widgets/containers/LineTitle.d.ts +2 -0
- package/dist/FormRender/widgets/containers/LineTitle.js +34 -0
- package/dist/FormRender/widgets/containers/SubInline.d.ts +2 -0
- package/dist/FormRender/widgets/containers/SubInline.js +64 -0
- package/dist/FormRender/widgets/containers/style.d.ts +24 -0
- package/dist/FormRender/widgets/containers/style.js +54 -0
- package/dist/FormRender/widgets/display/header.d.ts +2 -0
- package/dist/FormRender/widgets/display/header.js +2 -0
- package/dist/FormRender/widgets/display/hr.d.ts +2 -0
- package/dist/FormRender/widgets/display/hr.js +2 -0
- package/dist/FormRender/widgets/display/markdown.d.ts +2 -0
- package/dist/FormRender/widgets/display/markdown.js +2 -0
- package/dist/FormRender/widgets/display/plainText.d.ts +2 -0
- package/dist/FormRender/widgets/display/plainText.js +2 -0
- package/dist/FormRender/widgets/display/textTag.d.ts +2 -0
- package/dist/FormRender/widgets/display/textTag.js +2 -0
- package/dist/FormRender/widgets/fields/button.d.ts +37 -0
- package/dist/FormRender/widgets/fields/button.js +223 -0
- package/dist/FormRender/widgets/fields/checkbox.d.ts +2 -0
- package/dist/FormRender/widgets/fields/checkbox.js +36 -0
- package/dist/FormRender/widgets/fields/checkboxes.d.ts +2 -0
- package/dist/FormRender/widgets/fields/checkboxes.js +66 -0
- package/dist/FormRender/widgets/fields/color.d.ts +2 -0
- package/dist/FormRender/widgets/fields/color.js +98 -0
- package/dist/FormRender/widgets/fields/colorFormat.d.ts +4 -0
- package/dist/FormRender/widgets/fields/colorFormat.js +121 -0
- package/dist/FormRender/widgets/fields/date.d.ts +2 -0
- package/dist/FormRender/widgets/fields/date.js +83 -0
- package/dist/FormRender/widgets/fields/dateRange.d.ts +2 -0
- package/dist/FormRender/widgets/fields/dateRange.js +107 -0
- package/dist/FormRender/widgets/fields/html.d.ts +1 -0
- package/dist/FormRender/widgets/fields/html.js +59 -0
- package/dist/FormRender/widgets/fields/imageInput.d.ts +2 -0
- package/dist/FormRender/widgets/fields/imageInput.js +119 -0
- package/dist/FormRender/widgets/fields/input.d.ts +2 -0
- package/dist/FormRender/widgets/fields/input.js +94 -0
- package/dist/FormRender/widgets/fields/number.d.ts +2 -0
- package/dist/FormRender/widgets/fields/number.js +64 -0
- package/dist/FormRender/widgets/fields/percentSlider.d.ts +17 -0
- package/dist/FormRender/widgets/fields/percentSlider.js +92 -0
- package/dist/FormRender/widgets/fields/radio.d.ts +2 -0
- package/dist/FormRender/widgets/fields/radio.js +65 -0
- package/dist/FormRender/widgets/fields/rate.d.ts +2 -0
- package/dist/FormRender/widgets/fields/rate.js +3 -0
- package/dist/FormRender/widgets/fields/resetBtn.d.ts +7 -0
- package/dist/FormRender/widgets/fields/resetBtn.js +43 -0
- package/dist/FormRender/widgets/fields/select.d.ts +8 -0
- package/dist/FormRender/widgets/fields/select.js +156 -0
- package/dist/FormRender/widgets/fields/slider.d.ts +2 -0
- package/dist/FormRender/widgets/fields/slider.js +94 -0
- package/dist/FormRender/widgets/fields/style.d.ts +150 -0
- package/dist/FormRender/widgets/fields/style.js +137 -0
- package/dist/FormRender/widgets/fields/submitBtn.d.ts +9 -0
- package/dist/FormRender/widgets/fields/submitBtn.js +55 -0
- package/dist/FormRender/widgets/fields/switch.d.ts +2 -0
- package/dist/FormRender/widgets/fields/switch.js +3 -0
- package/dist/FormRender/widgets/fields/textArea.d.ts +2 -0
- package/dist/FormRender/widgets/fields/textArea.js +84 -0
- package/dist/FormRender/widgets/fields/time.d.ts +2 -0
- package/dist/FormRender/widgets/fields/time.js +65 -0
- package/dist/FormRender/widgets/fields/timeRange.d.ts +2 -0
- package/dist/FormRender/widgets/fields/timeRange.js +54 -0
- package/dist/FormRender/widgets/fields/treeSelect.d.ts +2 -0
- package/dist/FormRender/widgets/fields/treeSelect.js +3 -0
- package/dist/FormRender/widgets/fields/upload.d.ts +11 -0
- package/dist/FormRender/widgets/fields/upload.js +64 -0
- package/dist/FormRender/widgets/fields/urlInput.d.ts +2 -0
- package/dist/FormRender/widgets/fields/urlInput.js +73 -0
- package/dist/FormRender/widgets/index.d.ts +67 -0
- package/dist/FormRender/widgets/index.js +93 -0
- package/dist/FormRender/widgets/lists/CardList.d.ts +2 -0
- package/dist/FormRender/widgets/lists/CardList.js +152 -0
- package/dist/FormRender/widgets/lists/DrawerList.d.ts +11 -0
- package/dist/FormRender/widgets/lists/DrawerList.js +325 -0
- package/dist/FormRender/widgets/lists/SimpleList.d.ts +2 -0
- package/dist/FormRender/widgets/lists/SimpleList.js +131 -0
- package/dist/FormRender/widgets/lists/TabList.d.ts +12 -0
- package/dist/FormRender/widgets/lists/TabList.js +129 -0
- package/dist/FormRender/widgets/lists/TableList.d.ts +16 -0
- package/dist/FormRender/widgets/lists/TableList.js +285 -0
- package/dist/FormRender/widgets/lists/VirtualList.d.ts +16 -0
- package/dist/FormRender/widgets/lists/VirtualList.js +270 -0
- package/dist/FormRender/widgets/lists/style.d.ts +24 -0
- package/dist/FormRender/widgets/lists/style.js +51 -0
- package/dist/FormRender/widgets/special/ErrorSchema.d.ts +2 -0
- package/dist/FormRender/widgets/special/ErrorSchema.js +20 -0
- package/dist/FormRender/widgets/special/VoidTitle.d.ts +2 -0
- package/dist/FormRender/widgets/special/VoidTitle.js +23 -0
- package/dist/FormRender/widgets/utils/hooks.d.ts +3 -0
- package/dist/FormRender/widgets/utils/hooks.js +21 -0
- package/dist/FormRender/widgets/utils/index.d.ts +4 -0
- package/dist/FormRender/widgets/utils/index.js +81 -0
- package/dist/FormRender/widgets/utils/withFieldWrap.d.ts +2 -0
- package/dist/FormRender/widgets/utils/withFieldWrap.js +24 -0
- package/dist/FormRender/withProvider.d.ts +3 -0
- package/dist/FormRender/withProvider.js +91 -0
- package/dist/Lottie/CodeLight.d.ts +1 -1
- package/dist/Lottie/CodeLight.js +34 -30
- package/dist/Lottie/index.d.ts +1 -2
- package/dist/Lottie/index.js +10 -7
- package/dist/Lottie/styles/CodeLight.less +1 -1
- package/dist/Lottie/styles/index.css +1 -1
- package/dist/Lottie/styles/index.less +14 -23
- package/dist/MaxTokenSlider/index.js +30 -26
- package/dist/Player/index.js +5 -4
- package/dist/RichText/index.js +105 -83
- package/dist/RichText/style/index.less +7 -1
- package/dist/Rive/CodeLight.d.ts +1 -1
- package/dist/Rive/CodeLight.js +34 -30
- package/dist/Rive/index.d.ts +1 -1
- package/dist/Rive/index.js +12 -9
- package/dist/Rive/styles/CodeLight.less +1 -1
- package/dist/Rive/styles/index.css +1 -1
- package/dist/Rive/styles/index.less +14 -23
- package/dist/Table/components/ColumnSetting/index.d.ts +1 -2
- package/dist/Table/components/ColumnSetting/index.js +39 -30
- package/dist/Table/components/EnumFilter/index.d.ts +1 -1
- package/dist/Table/components/EnumFilter/index.js +72 -54
- package/dist/Table/components/Export/RadioMode.d.ts +1 -2
- package/dist/Table/components/Export/RadioMode.js +14 -11
- package/dist/Table/components/Export/index.d.ts +1 -2
- package/dist/Table/components/Export/index.js +60 -40
- package/dist/Table/components/FilterDropdown/index.d.ts +1 -1
- package/dist/Table/components/FilterDropdown/index.js +23 -16
- package/dist/Table/components/FilterKeys/index.d.ts +1 -2
- package/dist/Table/components/FilterKeys/index.js +34 -28
- package/dist/Table/components/Reload/index.d.ts +1 -2
- package/dist/Table/components/Reload/index.js +9 -7
- package/dist/Table/components/SearchInput/index.d.ts +1 -1
- package/dist/Table/components/SearchInput/index.js +15 -10
- package/dist/Table/components/TableSize/index.d.ts +1 -2
- package/dist/Table/components/TableSize/index.js +8 -5
- package/dist/Table/components/TableTitle/index.d.ts +1 -2
- package/dist/Table/components/TableTitle/index.js +26 -17
- package/dist/Table/index.js +11 -4
- package/dist/Table/table.js +25 -22
- package/dist/Table/utils/getColumnEnumProps.js +11 -9
- package/dist/Table/utils/getDateColumn.js +41 -35
- package/dist/Table/utils/getInputColumn.js +10 -8
- package/dist/WaterfallVirtual/index.d.ts +1 -1
- package/dist/WaterfallVirtual/index.js +12 -8
- package/dist/WaterfallVirtual/styles/test.less +2 -5
- package/dist/WaterfallVirtual/tool.d.ts +1 -1
- package/dist/hooks/useDownloadImage/index.js +82 -84
- package/dist/index.d.ts +19 -1
- package/dist/index.js +34 -3
- package/package.json +73 -18
- package/dist/Table/utils/index.css +0 -0
- package/dist/components/fr-generator/demo/components/PanelView/index.css +0 -1
- package/dist/components/fr-generator/demo/components/boxcard/index.css +0 -1
- package/dist/components/fr-generator/demo/components/imageMask/index.css +0 -1
- package/dist/components/fr-generator/demo/components/imageUpload/index.css +0 -1
- package/dist/components/fr-generator/demo/components/slider/index.css +0 -1
- package/dist/components/fr-generator/demo/components/textarea/index.css +0 -1
|
@@ -0,0 +1,2399 @@
|
|
|
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 _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
3
|
+
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."); }
|
|
4
|
+
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); }
|
|
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 _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; }
|
|
8
|
+
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; }
|
|
9
|
+
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; }
|
|
10
|
+
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; }
|
|
11
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
12
|
+
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); }
|
|
13
|
+
import { feishuCardTemplates } from "../card/templates";
|
|
14
|
+
import { createHeaderDisplayWidget, hiddenDisplayCommonSettings } from "./displayHeader";
|
|
15
|
+
|
|
16
|
+
// 只需写配置,方便可扩展
|
|
17
|
+
export var baseCommonSettings = {
|
|
18
|
+
type: {
|
|
19
|
+
title: '类型',
|
|
20
|
+
type: 'string',
|
|
21
|
+
hidden: '{{true}}'
|
|
22
|
+
},
|
|
23
|
+
widget: {
|
|
24
|
+
title: '组件',
|
|
25
|
+
type: 'string',
|
|
26
|
+
hidden: '{{true}}'
|
|
27
|
+
},
|
|
28
|
+
format: {
|
|
29
|
+
title: '格式',
|
|
30
|
+
type: 'string',
|
|
31
|
+
hidden: '{{true}}'
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
export var defaultCommonSettings = {
|
|
35
|
+
$id: {
|
|
36
|
+
title: 'ID',
|
|
37
|
+
description: '字段名称/英文',
|
|
38
|
+
type: 'string',
|
|
39
|
+
widget: 'idInput',
|
|
40
|
+
require: true,
|
|
41
|
+
rules: [{
|
|
42
|
+
pattern: '^#/.+$',
|
|
43
|
+
message: 'ID 必填'
|
|
44
|
+
}]
|
|
45
|
+
},
|
|
46
|
+
title: {
|
|
47
|
+
title: '标题',
|
|
48
|
+
type: 'string',
|
|
49
|
+
widget: 'htmlInput'
|
|
50
|
+
},
|
|
51
|
+
displayType: {
|
|
52
|
+
title: '标题展示模式',
|
|
53
|
+
type: 'string',
|
|
54
|
+
enum: ['row', 'column'],
|
|
55
|
+
enumNames: ['同行', '单独一行'],
|
|
56
|
+
widget: 'radio'
|
|
57
|
+
},
|
|
58
|
+
description: {
|
|
59
|
+
title: '说明',
|
|
60
|
+
type: 'string'
|
|
61
|
+
},
|
|
62
|
+
default: {
|
|
63
|
+
title: '默认值',
|
|
64
|
+
type: 'string'
|
|
65
|
+
},
|
|
66
|
+
required: {
|
|
67
|
+
title: '必填',
|
|
68
|
+
type: 'boolean'
|
|
69
|
+
},
|
|
70
|
+
placeholder: {
|
|
71
|
+
title: '占位符',
|
|
72
|
+
type: 'string'
|
|
73
|
+
},
|
|
74
|
+
bind: {
|
|
75
|
+
title: 'Bind',
|
|
76
|
+
type: 'string'
|
|
77
|
+
},
|
|
78
|
+
min: {
|
|
79
|
+
title: '最小值',
|
|
80
|
+
type: 'number'
|
|
81
|
+
},
|
|
82
|
+
max: {
|
|
83
|
+
title: '最大值',
|
|
84
|
+
type: 'number'
|
|
85
|
+
},
|
|
86
|
+
disabled: {
|
|
87
|
+
title: '禁用',
|
|
88
|
+
type: 'boolean'
|
|
89
|
+
},
|
|
90
|
+
readOnly: {
|
|
91
|
+
title: '只读',
|
|
92
|
+
type: 'boolean'
|
|
93
|
+
},
|
|
94
|
+
hidden: {
|
|
95
|
+
title: '隐藏',
|
|
96
|
+
type: 'boolean'
|
|
97
|
+
},
|
|
98
|
+
readOnlyWidget: {
|
|
99
|
+
title: '只读组件',
|
|
100
|
+
type: 'string'
|
|
101
|
+
},
|
|
102
|
+
width: {
|
|
103
|
+
title: '元素宽度',
|
|
104
|
+
type: 'string',
|
|
105
|
+
widget: 'percentSlider'
|
|
106
|
+
},
|
|
107
|
+
labelWidth: {
|
|
108
|
+
title: '标签宽度',
|
|
109
|
+
description: '默认值120',
|
|
110
|
+
type: 'number',
|
|
111
|
+
widget: 'slider',
|
|
112
|
+
max: 400,
|
|
113
|
+
props: {
|
|
114
|
+
hideNumber: true
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
// 远程数据源事件配置(下拉选择类组件共用)
|
|
120
|
+
var remoteDataEventSetting = {
|
|
121
|
+
remoteData: {
|
|
122
|
+
type: 'object',
|
|
123
|
+
theme: 'tile',
|
|
124
|
+
properties: {
|
|
125
|
+
enabled: {
|
|
126
|
+
title: '开启远程数据',
|
|
127
|
+
description: '打开下拉面板时请求后端接口加载选项',
|
|
128
|
+
type: 'boolean',
|
|
129
|
+
widget: 'switch'
|
|
130
|
+
},
|
|
131
|
+
apiUrl: {
|
|
132
|
+
title: '接口地址',
|
|
133
|
+
type: 'string',
|
|
134
|
+
hidden: '{{!formData.remoteData?.enabled}}',
|
|
135
|
+
props: {
|
|
136
|
+
placeholder: 'https://api.example.com/options'
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
method: {
|
|
140
|
+
title: '请求方式',
|
|
141
|
+
type: 'string',
|
|
142
|
+
enum: ['GET', 'POST'],
|
|
143
|
+
enumNames: ['GET', 'POST'],
|
|
144
|
+
widget: 'radio',
|
|
145
|
+
hidden: '{{!formData.remoteData?.enabled}}'
|
|
146
|
+
},
|
|
147
|
+
headers: {
|
|
148
|
+
title: '自定义请求头',
|
|
149
|
+
type: 'string',
|
|
150
|
+
format: 'textarea',
|
|
151
|
+
hidden: '{{!formData.remoteData?.enabled}}',
|
|
152
|
+
description: 'JSON 格式,如 {"Authorization": "Bearer xxx"}',
|
|
153
|
+
props: {
|
|
154
|
+
placeholder: '{"Content-Type": "application/json"}',
|
|
155
|
+
autoSize: {
|
|
156
|
+
minRows: 2,
|
|
157
|
+
maxRows: 4
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
responsePath: {
|
|
162
|
+
title: '数据路径',
|
|
163
|
+
type: 'string',
|
|
164
|
+
hidden: '{{!formData.remoteData?.enabled}}',
|
|
165
|
+
description: '从响应 JSON 中取数组的路径',
|
|
166
|
+
props: {
|
|
167
|
+
placeholder: '如: data.list 或 data.options'
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
valueField: {
|
|
171
|
+
title: '值字段',
|
|
172
|
+
type: 'string',
|
|
173
|
+
hidden: '{{!formData.remoteData?.enabled}}',
|
|
174
|
+
description: '选项值对应的字段名',
|
|
175
|
+
props: {
|
|
176
|
+
placeholder: '如: id 或 value'
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
labelField: {
|
|
180
|
+
title: '标签字段',
|
|
181
|
+
type: 'string',
|
|
182
|
+
hidden: '{{!formData.remoteData?.enabled}}',
|
|
183
|
+
description: '选项显示文本对应的字段名',
|
|
184
|
+
props: {
|
|
185
|
+
placeholder: '如: name 或 label'
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
var defaultChoiceOptions = [{
|
|
192
|
+
value: 'a',
|
|
193
|
+
label: '选项 A'
|
|
194
|
+
}, {
|
|
195
|
+
value: 'b',
|
|
196
|
+
label: '选项 B'
|
|
197
|
+
}, {
|
|
198
|
+
value: 'c',
|
|
199
|
+
label: '选项 C'
|
|
200
|
+
}];
|
|
201
|
+
var optionConfigSetting = {
|
|
202
|
+
title: '选项',
|
|
203
|
+
type: 'array',
|
|
204
|
+
widget: 'formOptionsEditor'
|
|
205
|
+
};
|
|
206
|
+
var singleOptionDefaultSetting = {
|
|
207
|
+
title: '默认值',
|
|
208
|
+
type: 'string',
|
|
209
|
+
widget: 'formOptionDefaultValue'
|
|
210
|
+
};
|
|
211
|
+
var multipleOptionDefaultSetting = {
|
|
212
|
+
title: '默认值',
|
|
213
|
+
type: 'array',
|
|
214
|
+
widget: 'formOptionDefaultValue',
|
|
215
|
+
props: {
|
|
216
|
+
mode: 'multiple'
|
|
217
|
+
}
|
|
218
|
+
};
|
|
219
|
+
|
|
220
|
+
// widget 用于指定 schema 右侧配置对应的 setting
|
|
221
|
+
export var elements = [{
|
|
222
|
+
text: '输入框',
|
|
223
|
+
name: 'input',
|
|
224
|
+
schema: {
|
|
225
|
+
title: '输入框',
|
|
226
|
+
type: 'string',
|
|
227
|
+
default: '',
|
|
228
|
+
placeholder: '请输入',
|
|
229
|
+
disabled: false,
|
|
230
|
+
props: {
|
|
231
|
+
width: 'default',
|
|
232
|
+
showTitle: false,
|
|
233
|
+
titlePosition: 'top',
|
|
234
|
+
maxLengthEnabled: true
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
setting: {
|
|
238
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
239
|
+
title: '组件 ID',
|
|
240
|
+
description: ''
|
|
241
|
+
}),
|
|
242
|
+
placeholder: {
|
|
243
|
+
title: '占位文本',
|
|
244
|
+
type: 'string',
|
|
245
|
+
widget: 'textArea',
|
|
246
|
+
props: {
|
|
247
|
+
autoSize: {
|
|
248
|
+
minRows: 1,
|
|
249
|
+
maxRows: 2
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
},
|
|
253
|
+
default: {
|
|
254
|
+
title: '默认文本',
|
|
255
|
+
type: 'string',
|
|
256
|
+
widget: 'textArea',
|
|
257
|
+
props: {
|
|
258
|
+
autoSize: {
|
|
259
|
+
minRows: 1,
|
|
260
|
+
maxRows: 2
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
'props.width': {
|
|
265
|
+
title: '宽度模式',
|
|
266
|
+
type: 'string',
|
|
267
|
+
widget: 'select',
|
|
268
|
+
enum: ['default', 'fill', 'auto'],
|
|
269
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
270
|
+
},
|
|
271
|
+
'props.showTitle': {
|
|
272
|
+
title: '输入框标题',
|
|
273
|
+
type: 'boolean',
|
|
274
|
+
widget: 'switch'
|
|
275
|
+
},
|
|
276
|
+
title: {
|
|
277
|
+
title: '标题文本',
|
|
278
|
+
type: 'string',
|
|
279
|
+
widget: 'textArea',
|
|
280
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
281
|
+
props: {
|
|
282
|
+
autoSize: {
|
|
283
|
+
minRows: 1,
|
|
284
|
+
maxRows: 2
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
'props.titlePosition': {
|
|
289
|
+
title: '标题位置',
|
|
290
|
+
type: 'string',
|
|
291
|
+
widget: 'radio',
|
|
292
|
+
enum: ['top', 'left'],
|
|
293
|
+
enumNames: ['居上', '居左'],
|
|
294
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
295
|
+
},
|
|
296
|
+
'props.maxLengthEnabled': {
|
|
297
|
+
title: '最大文本输入长度',
|
|
298
|
+
type: 'boolean',
|
|
299
|
+
widget: 'switch'
|
|
300
|
+
},
|
|
301
|
+
maxLength: {
|
|
302
|
+
title: '字符数',
|
|
303
|
+
type: 'number',
|
|
304
|
+
hidden: '{{(formData["props.maxLengthEnabled"] ?? formData.props?.maxLengthEnabled) === false}}',
|
|
305
|
+
props: {
|
|
306
|
+
placeholder: '请输入'
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
disabled: {
|
|
310
|
+
title: '是否禁用',
|
|
311
|
+
type: 'boolean',
|
|
312
|
+
widget: 'switch'
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}, {
|
|
316
|
+
text: '大输入框',
|
|
317
|
+
name: 'textarea',
|
|
318
|
+
schema: {
|
|
319
|
+
title: '大输入框',
|
|
320
|
+
type: 'string',
|
|
321
|
+
format: 'textarea',
|
|
322
|
+
default: '',
|
|
323
|
+
placeholder: '请输入',
|
|
324
|
+
disabled: false,
|
|
325
|
+
props: {
|
|
326
|
+
width: 'default',
|
|
327
|
+
showTitle: false,
|
|
328
|
+
titlePosition: 'top',
|
|
329
|
+
maxLengthEnabled: true
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
setting: {
|
|
333
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
334
|
+
title: '组件 ID',
|
|
335
|
+
description: ''
|
|
336
|
+
}),
|
|
337
|
+
placeholder: {
|
|
338
|
+
title: '占位文本',
|
|
339
|
+
type: 'string',
|
|
340
|
+
widget: 'textArea',
|
|
341
|
+
props: {
|
|
342
|
+
autoSize: {
|
|
343
|
+
minRows: 1,
|
|
344
|
+
maxRows: 2
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
default: {
|
|
349
|
+
title: '默认文本',
|
|
350
|
+
type: 'string',
|
|
351
|
+
widget: 'textArea',
|
|
352
|
+
props: {
|
|
353
|
+
autoSize: {
|
|
354
|
+
minRows: 1,
|
|
355
|
+
maxRows: 2
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
},
|
|
359
|
+
'props.width': {
|
|
360
|
+
title: '宽度模式',
|
|
361
|
+
type: 'string',
|
|
362
|
+
widget: 'select',
|
|
363
|
+
enum: ['default', 'fill', 'auto'],
|
|
364
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
365
|
+
},
|
|
366
|
+
'props.showTitle': {
|
|
367
|
+
title: '输入框标题',
|
|
368
|
+
type: 'boolean',
|
|
369
|
+
widget: 'switch'
|
|
370
|
+
},
|
|
371
|
+
title: {
|
|
372
|
+
title: '标题文本',
|
|
373
|
+
type: 'string',
|
|
374
|
+
widget: 'textArea',
|
|
375
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
376
|
+
props: {
|
|
377
|
+
autoSize: {
|
|
378
|
+
minRows: 1,
|
|
379
|
+
maxRows: 2
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
'props.titlePosition': {
|
|
384
|
+
title: '标题位置',
|
|
385
|
+
type: 'string',
|
|
386
|
+
widget: 'radio',
|
|
387
|
+
enum: ['top', 'left'],
|
|
388
|
+
enumNames: ['居上', '居左'],
|
|
389
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
390
|
+
},
|
|
391
|
+
'props.maxLengthEnabled': {
|
|
392
|
+
title: '最大文本输入长度',
|
|
393
|
+
type: 'boolean',
|
|
394
|
+
widget: 'switch'
|
|
395
|
+
},
|
|
396
|
+
maxLength: {
|
|
397
|
+
title: '字符数',
|
|
398
|
+
type: 'number',
|
|
399
|
+
hidden: '{{(formData["props.maxLengthEnabled"] ?? formData.props?.maxLengthEnabled) === false}}',
|
|
400
|
+
props: {
|
|
401
|
+
placeholder: '请输入'
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
disabled: {
|
|
405
|
+
title: '是否禁用',
|
|
406
|
+
type: 'boolean',
|
|
407
|
+
widget: 'switch'
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
}, {
|
|
411
|
+
text: '日期选择',
|
|
412
|
+
name: 'date',
|
|
413
|
+
schema: {
|
|
414
|
+
title: '日期选择',
|
|
415
|
+
type: 'string',
|
|
416
|
+
format: 'date',
|
|
417
|
+
default: '',
|
|
418
|
+
placeholder: '请选择',
|
|
419
|
+
disabled: false,
|
|
420
|
+
props: {
|
|
421
|
+
width: 'default'
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
setting: {
|
|
425
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
426
|
+
title: '组件 ID',
|
|
427
|
+
description: ''
|
|
428
|
+
}),
|
|
429
|
+
placeholder: {
|
|
430
|
+
title: '占位文本',
|
|
431
|
+
type: 'string',
|
|
432
|
+
widget: 'input',
|
|
433
|
+
props: {
|
|
434
|
+
placeholder: '请输入'
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
format: {
|
|
438
|
+
title: '日期格式',
|
|
439
|
+
type: 'string',
|
|
440
|
+
enum: ['dateTime', 'date', 'time'],
|
|
441
|
+
enumNames: ['日期时间', '日期', '时间']
|
|
442
|
+
},
|
|
443
|
+
default: {
|
|
444
|
+
title: '默认时间',
|
|
445
|
+
type: 'string',
|
|
446
|
+
widget: 'dateDefaultValue',
|
|
447
|
+
dependencies: ['format']
|
|
448
|
+
},
|
|
449
|
+
'props.width': {
|
|
450
|
+
title: '宽度模式',
|
|
451
|
+
type: 'string',
|
|
452
|
+
widget: 'select',
|
|
453
|
+
enum: ['default', 'fill', 'auto'],
|
|
454
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
455
|
+
},
|
|
456
|
+
disabled: {
|
|
457
|
+
title: '是否禁用',
|
|
458
|
+
type: 'boolean',
|
|
459
|
+
widget: 'switch'
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
}, {
|
|
463
|
+
text: '时间选择',
|
|
464
|
+
name: 'time',
|
|
465
|
+
show: false,
|
|
466
|
+
schema: {
|
|
467
|
+
title: '时间选择',
|
|
468
|
+
type: 'string',
|
|
469
|
+
format: 'time',
|
|
470
|
+
default: '',
|
|
471
|
+
placeholder: '请选择',
|
|
472
|
+
disabled: false,
|
|
473
|
+
props: {
|
|
474
|
+
width: 'default'
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
setting: {
|
|
478
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
479
|
+
title: '组件 ID',
|
|
480
|
+
description: ''
|
|
481
|
+
}),
|
|
482
|
+
placeholder: {
|
|
483
|
+
title: '占位文本',
|
|
484
|
+
type: 'string',
|
|
485
|
+
widget: 'input',
|
|
486
|
+
props: {
|
|
487
|
+
placeholder: '请输入'
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
format: {
|
|
491
|
+
title: '日期格式',
|
|
492
|
+
type: 'string',
|
|
493
|
+
enum: ['dateTime', 'date', 'time'],
|
|
494
|
+
enumNames: ['日期时间', '日期', '时间']
|
|
495
|
+
},
|
|
496
|
+
default: {
|
|
497
|
+
title: '默认时间',
|
|
498
|
+
type: 'string',
|
|
499
|
+
widget: 'dateDefaultValue',
|
|
500
|
+
dependencies: ['format']
|
|
501
|
+
},
|
|
502
|
+
'props.width': {
|
|
503
|
+
title: '宽度模式',
|
|
504
|
+
type: 'string',
|
|
505
|
+
widget: 'select',
|
|
506
|
+
enum: ['default', 'fill', 'auto'],
|
|
507
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
508
|
+
},
|
|
509
|
+
disabled: {
|
|
510
|
+
title: '是否禁用',
|
|
511
|
+
type: 'boolean',
|
|
512
|
+
widget: 'switch'
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
}, {
|
|
516
|
+
text: '数字输入框',
|
|
517
|
+
name: 'number',
|
|
518
|
+
schema: {
|
|
519
|
+
title: '数字输入框',
|
|
520
|
+
type: 'number',
|
|
521
|
+
disabled: false,
|
|
522
|
+
props: {
|
|
523
|
+
width: 'default',
|
|
524
|
+
showTitle: false,
|
|
525
|
+
titlePosition: 'top'
|
|
526
|
+
}
|
|
527
|
+
},
|
|
528
|
+
setting: {
|
|
529
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
530
|
+
title: '组件 ID',
|
|
531
|
+
description: ''
|
|
532
|
+
}),
|
|
533
|
+
default: {
|
|
534
|
+
title: '默认值',
|
|
535
|
+
type: 'number'
|
|
536
|
+
},
|
|
537
|
+
'props.width': {
|
|
538
|
+
title: '宽度模式',
|
|
539
|
+
type: 'string',
|
|
540
|
+
widget: 'select',
|
|
541
|
+
enum: ['default', 'fill', 'auto'],
|
|
542
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
543
|
+
},
|
|
544
|
+
'props.showTitle': {
|
|
545
|
+
title: '输入框标题',
|
|
546
|
+
type: 'boolean',
|
|
547
|
+
widget: 'switch'
|
|
548
|
+
},
|
|
549
|
+
title: {
|
|
550
|
+
title: '标题文本',
|
|
551
|
+
type: 'string',
|
|
552
|
+
widget: 'textArea',
|
|
553
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
554
|
+
props: {
|
|
555
|
+
autoSize: {
|
|
556
|
+
minRows: 1,
|
|
557
|
+
maxRows: 2
|
|
558
|
+
}
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
'props.titlePosition': {
|
|
562
|
+
title: '标题位置',
|
|
563
|
+
type: 'string',
|
|
564
|
+
widget: 'radio',
|
|
565
|
+
enum: ['top', 'left'],
|
|
566
|
+
enumNames: ['居上', '居左'],
|
|
567
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
568
|
+
},
|
|
569
|
+
min: {
|
|
570
|
+
title: '最小值',
|
|
571
|
+
type: 'number'
|
|
572
|
+
},
|
|
573
|
+
max: {
|
|
574
|
+
title: '最大值',
|
|
575
|
+
type: 'number'
|
|
576
|
+
},
|
|
577
|
+
disabled: {
|
|
578
|
+
title: '是否禁用',
|
|
579
|
+
type: 'boolean',
|
|
580
|
+
widget: 'switch'
|
|
581
|
+
}
|
|
582
|
+
}
|
|
583
|
+
}, {
|
|
584
|
+
text: '是否选择',
|
|
585
|
+
name: 'checkbox',
|
|
586
|
+
schema: {
|
|
587
|
+
title: '是否选择',
|
|
588
|
+
type: 'boolean',
|
|
589
|
+
widget: 'checkbox',
|
|
590
|
+
disabled: false
|
|
591
|
+
},
|
|
592
|
+
setting: {
|
|
593
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
594
|
+
title: '组件 ID',
|
|
595
|
+
description: ''
|
|
596
|
+
}),
|
|
597
|
+
title: {
|
|
598
|
+
title: '选项文本',
|
|
599
|
+
type: 'string',
|
|
600
|
+
widget: 'input'
|
|
601
|
+
},
|
|
602
|
+
default: {
|
|
603
|
+
title: '是否默认勾选',
|
|
604
|
+
type: 'boolean',
|
|
605
|
+
widget: 'switch'
|
|
606
|
+
},
|
|
607
|
+
disabled: {
|
|
608
|
+
title: '是否禁用',
|
|
609
|
+
type: 'boolean',
|
|
610
|
+
widget: 'switch'
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
}, {
|
|
614
|
+
text: '是否switch',
|
|
615
|
+
name: 'switch',
|
|
616
|
+
schema: {
|
|
617
|
+
title: '是否选择',
|
|
618
|
+
type: 'boolean',
|
|
619
|
+
widget: 'switch',
|
|
620
|
+
disabled: false
|
|
621
|
+
},
|
|
622
|
+
setting: {
|
|
623
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
624
|
+
title: '组件 ID',
|
|
625
|
+
description: ''
|
|
626
|
+
}),
|
|
627
|
+
title: {
|
|
628
|
+
title: '选项文本',
|
|
629
|
+
type: 'string',
|
|
630
|
+
widget: 'input'
|
|
631
|
+
},
|
|
632
|
+
default: {
|
|
633
|
+
title: '是否默认开启',
|
|
634
|
+
type: 'boolean',
|
|
635
|
+
widget: 'switch'
|
|
636
|
+
},
|
|
637
|
+
disabled: {
|
|
638
|
+
title: '是否禁用',
|
|
639
|
+
type: 'boolean',
|
|
640
|
+
widget: 'switch'
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
}, {
|
|
644
|
+
text: '下拉单选',
|
|
645
|
+
name: 'select',
|
|
646
|
+
schema: {
|
|
647
|
+
title: '单选',
|
|
648
|
+
type: 'string',
|
|
649
|
+
widget: 'select',
|
|
650
|
+
disabled: false,
|
|
651
|
+
props: {
|
|
652
|
+
options: defaultChoiceOptions,
|
|
653
|
+
width: 'default',
|
|
654
|
+
showTitle: false,
|
|
655
|
+
titlePosition: 'top'
|
|
656
|
+
}
|
|
657
|
+
},
|
|
658
|
+
setting: _objectSpread({
|
|
659
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
660
|
+
title: '组件 ID',
|
|
661
|
+
description: ''
|
|
662
|
+
}),
|
|
663
|
+
default: _objectSpread({}, singleOptionDefaultSetting),
|
|
664
|
+
'props.options': _objectSpread({}, optionConfigSetting),
|
|
665
|
+
'props.width': {
|
|
666
|
+
title: '宽度模式',
|
|
667
|
+
type: 'string',
|
|
668
|
+
widget: 'select',
|
|
669
|
+
enum: ['default', 'fill', 'auto'],
|
|
670
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
671
|
+
},
|
|
672
|
+
'props.showTitle': {
|
|
673
|
+
title: '输入框标题',
|
|
674
|
+
type: 'boolean',
|
|
675
|
+
widget: 'switch'
|
|
676
|
+
},
|
|
677
|
+
title: {
|
|
678
|
+
title: '标题文本',
|
|
679
|
+
type: 'string',
|
|
680
|
+
widget: 'textArea',
|
|
681
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
682
|
+
props: {
|
|
683
|
+
autoSize: {
|
|
684
|
+
minRows: 1,
|
|
685
|
+
maxRows: 2
|
|
686
|
+
}
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
'props.titlePosition': {
|
|
690
|
+
title: '标题位置',
|
|
691
|
+
type: 'string',
|
|
692
|
+
widget: 'radio',
|
|
693
|
+
enum: ['top', 'left'],
|
|
694
|
+
enumNames: ['居上', '居左'],
|
|
695
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
696
|
+
},
|
|
697
|
+
disabled: {
|
|
698
|
+
title: '是否禁用',
|
|
699
|
+
type: 'boolean',
|
|
700
|
+
widget: 'switch'
|
|
701
|
+
}
|
|
702
|
+
}, remoteDataEventSetting)
|
|
703
|
+
}, {
|
|
704
|
+
text: '点击单选',
|
|
705
|
+
name: 'radio',
|
|
706
|
+
schema: {
|
|
707
|
+
title: '单选',
|
|
708
|
+
type: 'string',
|
|
709
|
+
widget: 'radio',
|
|
710
|
+
disabled: false,
|
|
711
|
+
props: {
|
|
712
|
+
options: defaultChoiceOptions,
|
|
713
|
+
width: 'default',
|
|
714
|
+
showTitle: false,
|
|
715
|
+
titlePosition: 'top'
|
|
716
|
+
}
|
|
717
|
+
},
|
|
718
|
+
setting: {
|
|
719
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
720
|
+
title: '组件 ID',
|
|
721
|
+
description: ''
|
|
722
|
+
}),
|
|
723
|
+
default: _objectSpread({}, singleOptionDefaultSetting),
|
|
724
|
+
'props.options': _objectSpread({}, optionConfigSetting),
|
|
725
|
+
'props.width': {
|
|
726
|
+
title: '宽度模式',
|
|
727
|
+
type: 'string',
|
|
728
|
+
widget: 'select',
|
|
729
|
+
enum: ['default', 'fill', 'auto'],
|
|
730
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
731
|
+
},
|
|
732
|
+
'props.showTitle': {
|
|
733
|
+
title: '输入框标题',
|
|
734
|
+
type: 'boolean',
|
|
735
|
+
widget: 'switch'
|
|
736
|
+
},
|
|
737
|
+
title: {
|
|
738
|
+
title: '标题文本',
|
|
739
|
+
type: 'string',
|
|
740
|
+
widget: 'textArea',
|
|
741
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
742
|
+
props: {
|
|
743
|
+
autoSize: {
|
|
744
|
+
minRows: 1,
|
|
745
|
+
maxRows: 2
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
},
|
|
749
|
+
'props.titlePosition': {
|
|
750
|
+
title: '标题位置',
|
|
751
|
+
type: 'string',
|
|
752
|
+
widget: 'radio',
|
|
753
|
+
enum: ['top', 'left'],
|
|
754
|
+
enumNames: ['居上', '居左'],
|
|
755
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
756
|
+
},
|
|
757
|
+
disabled: {
|
|
758
|
+
title: '是否禁用',
|
|
759
|
+
type: 'boolean',
|
|
760
|
+
widget: 'switch'
|
|
761
|
+
}
|
|
762
|
+
}
|
|
763
|
+
}, {
|
|
764
|
+
text: '下拉多选',
|
|
765
|
+
name: 'multiSelect',
|
|
766
|
+
schema: {
|
|
767
|
+
title: '多选',
|
|
768
|
+
description: '下拉多选',
|
|
769
|
+
type: 'array',
|
|
770
|
+
items: {
|
|
771
|
+
type: 'string'
|
|
772
|
+
},
|
|
773
|
+
widget: 'multiSelect',
|
|
774
|
+
default: [],
|
|
775
|
+
disabled: false,
|
|
776
|
+
props: {
|
|
777
|
+
options: defaultChoiceOptions,
|
|
778
|
+
width: 'default',
|
|
779
|
+
showTitle: false,
|
|
780
|
+
titlePosition: 'top'
|
|
781
|
+
}
|
|
782
|
+
},
|
|
783
|
+
setting: _objectSpread({
|
|
784
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
785
|
+
title: '组件 ID',
|
|
786
|
+
description: ''
|
|
787
|
+
}),
|
|
788
|
+
default: _objectSpread({}, multipleOptionDefaultSetting),
|
|
789
|
+
'props.options': _objectSpread({}, optionConfigSetting),
|
|
790
|
+
'props.width': {
|
|
791
|
+
title: '宽度模式',
|
|
792
|
+
type: 'string',
|
|
793
|
+
widget: 'select',
|
|
794
|
+
enum: ['default', 'fill', 'auto'],
|
|
795
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
796
|
+
},
|
|
797
|
+
'props.showTitle': {
|
|
798
|
+
title: '输入框标题',
|
|
799
|
+
type: 'boolean',
|
|
800
|
+
widget: 'switch'
|
|
801
|
+
},
|
|
802
|
+
title: {
|
|
803
|
+
title: '标题文本',
|
|
804
|
+
type: 'string',
|
|
805
|
+
widget: 'textArea',
|
|
806
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
807
|
+
props: {
|
|
808
|
+
autoSize: {
|
|
809
|
+
minRows: 1,
|
|
810
|
+
maxRows: 2
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
},
|
|
814
|
+
'props.titlePosition': {
|
|
815
|
+
title: '标题位置',
|
|
816
|
+
type: 'string',
|
|
817
|
+
widget: 'radio',
|
|
818
|
+
enum: ['top', 'left'],
|
|
819
|
+
enumNames: ['居上', '居左'],
|
|
820
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
821
|
+
},
|
|
822
|
+
disabled: {
|
|
823
|
+
title: '是否禁用',
|
|
824
|
+
type: 'boolean',
|
|
825
|
+
widget: 'switch'
|
|
826
|
+
}
|
|
827
|
+
}, remoteDataEventSetting)
|
|
828
|
+
}, {
|
|
829
|
+
text: '点击多选',
|
|
830
|
+
name: 'checkboxes',
|
|
831
|
+
schema: {
|
|
832
|
+
title: '多选',
|
|
833
|
+
type: 'array',
|
|
834
|
+
widget: 'checkboxes',
|
|
835
|
+
items: {
|
|
836
|
+
type: 'string'
|
|
837
|
+
},
|
|
838
|
+
default: [],
|
|
839
|
+
disabled: false,
|
|
840
|
+
props: {
|
|
841
|
+
options: defaultChoiceOptions,
|
|
842
|
+
width: 'default',
|
|
843
|
+
showTitle: false,
|
|
844
|
+
titlePosition: 'top'
|
|
845
|
+
}
|
|
846
|
+
},
|
|
847
|
+
setting: {
|
|
848
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
849
|
+
title: '组件 ID',
|
|
850
|
+
description: ''
|
|
851
|
+
}),
|
|
852
|
+
default: _objectSpread({}, multipleOptionDefaultSetting),
|
|
853
|
+
'props.options': _objectSpread({}, optionConfigSetting),
|
|
854
|
+
'props.width': {
|
|
855
|
+
title: '宽度模式',
|
|
856
|
+
type: 'string',
|
|
857
|
+
widget: 'select',
|
|
858
|
+
enum: ['default', 'fill', 'auto'],
|
|
859
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
860
|
+
},
|
|
861
|
+
'props.showTitle': {
|
|
862
|
+
title: '输入框标题',
|
|
863
|
+
type: 'boolean',
|
|
864
|
+
widget: 'switch'
|
|
865
|
+
},
|
|
866
|
+
title: {
|
|
867
|
+
title: '标题文本',
|
|
868
|
+
type: 'string',
|
|
869
|
+
widget: 'textArea',
|
|
870
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
871
|
+
props: {
|
|
872
|
+
autoSize: {
|
|
873
|
+
minRows: 1,
|
|
874
|
+
maxRows: 2
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
'props.titlePosition': {
|
|
879
|
+
title: '标题位置',
|
|
880
|
+
type: 'string',
|
|
881
|
+
widget: 'radio',
|
|
882
|
+
enum: ['top', 'left'],
|
|
883
|
+
enumNames: ['居上', '居左'],
|
|
884
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
885
|
+
},
|
|
886
|
+
disabled: {
|
|
887
|
+
title: '是否禁用',
|
|
888
|
+
type: 'boolean',
|
|
889
|
+
widget: 'switch'
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
// ════ Markdown 字段 ════ widget:'markdown', type:'string' —— 数据绑定版 markdown:
|
|
894
|
+
// 进 formData.{name},可被 onMount 的 api_request → set_values 整串覆盖;schema.title
|
|
895
|
+
// 在 FormRender 卡片模式下渲染为 frCardFieldLabel(12px 灰标签),form 模式下渲染为
|
|
896
|
+
// 普通 Form.Item label。与「Markdown 展示」(displayMarkdown, type:'void') 区别就是它
|
|
897
|
+
// 是 form 字段、有 label、能被回填。
|
|
898
|
+
{
|
|
899
|
+
text: 'Markdown 字段',
|
|
900
|
+
name: 'markdownField',
|
|
901
|
+
schema: {
|
|
902
|
+
title: '标签',
|
|
903
|
+
type: 'string',
|
|
904
|
+
widget: 'markdown',
|
|
905
|
+
props: {
|
|
906
|
+
content: '请编辑内容',
|
|
907
|
+
textAlign: 'left',
|
|
908
|
+
textSize: 'normal_v2'
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
setting: {
|
|
912
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
913
|
+
title: '组件 ID',
|
|
914
|
+
description: '字段名(formData 的数据绑定 key)'
|
|
915
|
+
}),
|
|
916
|
+
title: {
|
|
917
|
+
title: '标签',
|
|
918
|
+
description: 'Form.Item label;卡片模式下渲染为灰色字段标签',
|
|
919
|
+
type: 'string',
|
|
920
|
+
widget: 'htmlInput'
|
|
921
|
+
},
|
|
922
|
+
'props.content': {
|
|
923
|
+
title: '占位内容',
|
|
924
|
+
description: 'form value 为空时显示;onMount/set_values 回填后被覆盖',
|
|
925
|
+
type: 'string',
|
|
926
|
+
widget: 'textArea',
|
|
927
|
+
props: {
|
|
928
|
+
autoSize: {
|
|
929
|
+
minRows: 2,
|
|
930
|
+
maxRows: 10
|
|
931
|
+
}
|
|
932
|
+
}
|
|
933
|
+
},
|
|
934
|
+
default: {
|
|
935
|
+
title: '默认值',
|
|
936
|
+
description: 'form 初始值;formInstance.setValues({[name]:"…"}) 会覆盖',
|
|
937
|
+
type: 'string',
|
|
938
|
+
widget: 'textArea',
|
|
939
|
+
props: {
|
|
940
|
+
autoSize: {
|
|
941
|
+
minRows: 2,
|
|
942
|
+
maxRows: 10
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
},
|
|
946
|
+
'props.textAlign': {
|
|
947
|
+
title: '对齐',
|
|
948
|
+
type: 'string',
|
|
949
|
+
widget: 'radio',
|
|
950
|
+
enum: ['left', 'center', 'right'],
|
|
951
|
+
enumNames: ['左', '中', '右']
|
|
952
|
+
},
|
|
953
|
+
'props.textSize': {
|
|
954
|
+
title: '字号',
|
|
955
|
+
type: 'string',
|
|
956
|
+
widget: 'select',
|
|
957
|
+
enum: ['small', 'normal', 'normal_v2', 'heading'],
|
|
958
|
+
enumNames: ['小', '正常', '响应式', '标题']
|
|
959
|
+
}
|
|
960
|
+
}
|
|
961
|
+
}];
|
|
962
|
+
|
|
963
|
+
// 表单容器内部按钮(不在侧边栏显示,仅用于 settings 面板识别)
|
|
964
|
+
export var formBtnElements = [{
|
|
965
|
+
text: '提交按钮',
|
|
966
|
+
name: 'formSubmitBtn',
|
|
967
|
+
show: false,
|
|
968
|
+
widget: 'formSubmitBtn',
|
|
969
|
+
schema: {
|
|
970
|
+
title: '提交',
|
|
971
|
+
type: 'string',
|
|
972
|
+
widget: 'formSubmitBtn'
|
|
973
|
+
},
|
|
974
|
+
setting: {
|
|
975
|
+
props: {
|
|
976
|
+
type: 'object',
|
|
977
|
+
theme: 'tile',
|
|
978
|
+
properties: {
|
|
979
|
+
submitText: {
|
|
980
|
+
title: '按钮文案',
|
|
981
|
+
type: 'string'
|
|
982
|
+
},
|
|
983
|
+
actionType: {
|
|
984
|
+
title: '点击事件',
|
|
985
|
+
type: 'string',
|
|
986
|
+
enum: ['callback', 'open_url', 'none'],
|
|
987
|
+
enumNames: ['回调请求', '打开链接', '无'],
|
|
988
|
+
widget: 'radio'
|
|
989
|
+
},
|
|
990
|
+
callbackUrl: {
|
|
991
|
+
title: '回调地址',
|
|
992
|
+
type: 'string',
|
|
993
|
+
description: '提交时发送请求到此URL',
|
|
994
|
+
hidden: '{{"callback" !== formData.props?.actionType}}',
|
|
995
|
+
props: {
|
|
996
|
+
placeholder: 'https://example.com/api/submit'
|
|
997
|
+
}
|
|
998
|
+
},
|
|
999
|
+
openUrl: {
|
|
1000
|
+
title: '跳转链接',
|
|
1001
|
+
type: 'string',
|
|
1002
|
+
hidden: '{{"open_url" !== formData.props?.actionType}}',
|
|
1003
|
+
props: {
|
|
1004
|
+
placeholder: 'https://example.com/success'
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
confirmTitle: {
|
|
1008
|
+
title: '二次确认标题',
|
|
1009
|
+
type: 'string',
|
|
1010
|
+
description: '留空则不弹确认框',
|
|
1011
|
+
props: {
|
|
1012
|
+
placeholder: '确认提交此表单?'
|
|
1013
|
+
}
|
|
1014
|
+
}
|
|
1015
|
+
}
|
|
1016
|
+
},
|
|
1017
|
+
style: {
|
|
1018
|
+
type: 'object',
|
|
1019
|
+
theme: 'tile',
|
|
1020
|
+
properties: {
|
|
1021
|
+
btnType: {
|
|
1022
|
+
title: '按钮类型',
|
|
1023
|
+
type: 'string',
|
|
1024
|
+
enum: ['primary', 'default', 'dashed', 'text', 'link'],
|
|
1025
|
+
enumNames: ['主要按钮', '默认按钮', '虚线按钮', '文本按钮', '链接按钮'],
|
|
1026
|
+
widget: 'select'
|
|
1027
|
+
},
|
|
1028
|
+
size: {
|
|
1029
|
+
title: '按钮尺寸',
|
|
1030
|
+
type: 'string',
|
|
1031
|
+
enum: ['large', 'middle', 'small'],
|
|
1032
|
+
enumNames: ['大', '中', '小'],
|
|
1033
|
+
widget: 'radio'
|
|
1034
|
+
},
|
|
1035
|
+
danger: {
|
|
1036
|
+
title: '危险按钮',
|
|
1037
|
+
type: 'boolean',
|
|
1038
|
+
widget: 'switch'
|
|
1039
|
+
},
|
|
1040
|
+
block: {
|
|
1041
|
+
title: '撑满宽度',
|
|
1042
|
+
type: 'boolean',
|
|
1043
|
+
widget: 'switch'
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
}
|
|
1047
|
+
}
|
|
1048
|
+
}, {
|
|
1049
|
+
text: '取消按钮',
|
|
1050
|
+
name: 'formResetBtn',
|
|
1051
|
+
show: false,
|
|
1052
|
+
widget: 'formResetBtn',
|
|
1053
|
+
schema: {
|
|
1054
|
+
title: '取消',
|
|
1055
|
+
type: 'string',
|
|
1056
|
+
widget: 'formResetBtn'
|
|
1057
|
+
},
|
|
1058
|
+
setting: {
|
|
1059
|
+
props: {
|
|
1060
|
+
type: 'object',
|
|
1061
|
+
theme: 'tile',
|
|
1062
|
+
properties: {
|
|
1063
|
+
resetText: {
|
|
1064
|
+
title: '按钮文案',
|
|
1065
|
+
type: 'string'
|
|
1066
|
+
},
|
|
1067
|
+
actionType: {
|
|
1068
|
+
title: '点击事件',
|
|
1069
|
+
type: 'string',
|
|
1070
|
+
enum: ['reset', 'open_url'],
|
|
1071
|
+
enumNames: ['重置表单', '打开链接'],
|
|
1072
|
+
widget: 'radio'
|
|
1073
|
+
},
|
|
1074
|
+
redirectUrl: {
|
|
1075
|
+
title: '跳转链接',
|
|
1076
|
+
type: 'string',
|
|
1077
|
+
hidden: '{{"open_url" !== formData.props?.actionType}}',
|
|
1078
|
+
props: {
|
|
1079
|
+
placeholder: 'https://example.com/cancel'
|
|
1080
|
+
}
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
},
|
|
1084
|
+
style: {
|
|
1085
|
+
type: 'object',
|
|
1086
|
+
theme: 'tile',
|
|
1087
|
+
properties: {
|
|
1088
|
+
btnType: {
|
|
1089
|
+
title: '按钮类型',
|
|
1090
|
+
type: 'string',
|
|
1091
|
+
enum: ['primary', 'default', 'dashed', 'text', 'link'],
|
|
1092
|
+
enumNames: ['主要按钮', '默认按钮', '虚线按钮', '文本按钮', '链接按钮'],
|
|
1093
|
+
widget: 'select'
|
|
1094
|
+
},
|
|
1095
|
+
size: {
|
|
1096
|
+
title: '按钮尺寸',
|
|
1097
|
+
type: 'string',
|
|
1098
|
+
enum: ['large', 'middle', 'small'],
|
|
1099
|
+
enumNames: ['大', '中', '小'],
|
|
1100
|
+
widget: 'radio'
|
|
1101
|
+
},
|
|
1102
|
+
danger: {
|
|
1103
|
+
title: '危险按钮',
|
|
1104
|
+
type: 'boolean',
|
|
1105
|
+
widget: 'switch'
|
|
1106
|
+
},
|
|
1107
|
+
block: {
|
|
1108
|
+
title: '撑满宽度',
|
|
1109
|
+
type: 'boolean',
|
|
1110
|
+
widget: 'switch'
|
|
1111
|
+
}
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
}];
|
|
1116
|
+
var advancedDisplayCommonSettings = _objectSpread(_objectSpread({}, hiddenDisplayCommonSettings), {}, {
|
|
1117
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
1118
|
+
title: '组件 ID',
|
|
1119
|
+
description: ''
|
|
1120
|
+
})
|
|
1121
|
+
});
|
|
1122
|
+
export var advancedElements = [{
|
|
1123
|
+
text: '日期范围',
|
|
1124
|
+
name: 'dateRange',
|
|
1125
|
+
schema: {
|
|
1126
|
+
title: '日期范围',
|
|
1127
|
+
type: 'range',
|
|
1128
|
+
format: 'dateTime',
|
|
1129
|
+
default: [],
|
|
1130
|
+
disabled: false,
|
|
1131
|
+
props: {
|
|
1132
|
+
placeholder: ['开始时间', '结束时间'],
|
|
1133
|
+
width: 'default',
|
|
1134
|
+
showTitle: false,
|
|
1135
|
+
titlePosition: 'top'
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
setting: {
|
|
1139
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
1140
|
+
title: '组件 ID',
|
|
1141
|
+
description: ''
|
|
1142
|
+
}),
|
|
1143
|
+
format: {
|
|
1144
|
+
title: '日期格式',
|
|
1145
|
+
type: 'string',
|
|
1146
|
+
enum: ['dateTime', 'date'],
|
|
1147
|
+
enumNames: ['日期时间', '日期']
|
|
1148
|
+
},
|
|
1149
|
+
default: {
|
|
1150
|
+
title: '默认时间',
|
|
1151
|
+
type: 'array',
|
|
1152
|
+
widget: 'dateRangeDefaultValue',
|
|
1153
|
+
dependencies: ['format']
|
|
1154
|
+
},
|
|
1155
|
+
'props.width': {
|
|
1156
|
+
title: '宽度模式',
|
|
1157
|
+
type: 'string',
|
|
1158
|
+
widget: 'select',
|
|
1159
|
+
enum: ['default', 'fill', 'auto'],
|
|
1160
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
1161
|
+
},
|
|
1162
|
+
'props.showTitle': {
|
|
1163
|
+
title: '输入框标题',
|
|
1164
|
+
type: 'boolean',
|
|
1165
|
+
widget: 'switch'
|
|
1166
|
+
},
|
|
1167
|
+
title: {
|
|
1168
|
+
title: '标题文本',
|
|
1169
|
+
type: 'string',
|
|
1170
|
+
widget: 'textArea',
|
|
1171
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
1172
|
+
props: {
|
|
1173
|
+
autoSize: {
|
|
1174
|
+
minRows: 1,
|
|
1175
|
+
maxRows: 2
|
|
1176
|
+
}
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
'props.titlePosition': {
|
|
1180
|
+
title: '标题位置',
|
|
1181
|
+
type: 'string',
|
|
1182
|
+
widget: 'radio',
|
|
1183
|
+
enum: ['top', 'left'],
|
|
1184
|
+
enumNames: ['居上', '居左'],
|
|
1185
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
1186
|
+
},
|
|
1187
|
+
disabled: {
|
|
1188
|
+
title: '是否禁用',
|
|
1189
|
+
type: 'boolean',
|
|
1190
|
+
widget: 'switch'
|
|
1191
|
+
}
|
|
1192
|
+
}
|
|
1193
|
+
}, {
|
|
1194
|
+
text: '数字(slider)',
|
|
1195
|
+
name: 'slider',
|
|
1196
|
+
schema: {
|
|
1197
|
+
title: '带滑动条',
|
|
1198
|
+
type: 'number',
|
|
1199
|
+
widget: 'slider',
|
|
1200
|
+
disabled: false,
|
|
1201
|
+
props: {
|
|
1202
|
+
width: 'default',
|
|
1203
|
+
showTitle: false,
|
|
1204
|
+
titlePosition: 'top'
|
|
1205
|
+
}
|
|
1206
|
+
},
|
|
1207
|
+
setting: {
|
|
1208
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
1209
|
+
title: '组件 ID',
|
|
1210
|
+
description: ''
|
|
1211
|
+
}),
|
|
1212
|
+
default: {
|
|
1213
|
+
title: '默认值',
|
|
1214
|
+
type: 'number'
|
|
1215
|
+
},
|
|
1216
|
+
'props.width': {
|
|
1217
|
+
title: '宽度模式',
|
|
1218
|
+
type: 'string',
|
|
1219
|
+
widget: 'select',
|
|
1220
|
+
enum: ['default', 'fill', 'auto'],
|
|
1221
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
1222
|
+
},
|
|
1223
|
+
'props.showTitle': {
|
|
1224
|
+
title: '输入框标题',
|
|
1225
|
+
type: 'boolean',
|
|
1226
|
+
widget: 'switch'
|
|
1227
|
+
},
|
|
1228
|
+
title: {
|
|
1229
|
+
title: '标题文本',
|
|
1230
|
+
type: 'string',
|
|
1231
|
+
widget: 'textArea',
|
|
1232
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
1233
|
+
props: {
|
|
1234
|
+
autoSize: {
|
|
1235
|
+
minRows: 1,
|
|
1236
|
+
maxRows: 2
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
},
|
|
1240
|
+
'props.titlePosition': {
|
|
1241
|
+
title: '标题位置',
|
|
1242
|
+
type: 'string',
|
|
1243
|
+
widget: 'radio',
|
|
1244
|
+
enum: ['top', 'left'],
|
|
1245
|
+
enumNames: ['居上', '居左'],
|
|
1246
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
1247
|
+
},
|
|
1248
|
+
min: {
|
|
1249
|
+
title: '最小值',
|
|
1250
|
+
type: 'number'
|
|
1251
|
+
},
|
|
1252
|
+
max: {
|
|
1253
|
+
title: '最大值',
|
|
1254
|
+
type: 'number'
|
|
1255
|
+
},
|
|
1256
|
+
disabled: {
|
|
1257
|
+
title: '是否禁用',
|
|
1258
|
+
type: 'boolean',
|
|
1259
|
+
widget: 'switch'
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
}, {
|
|
1263
|
+
text: '图片展示',
|
|
1264
|
+
name: 'image',
|
|
1265
|
+
schema: {
|
|
1266
|
+
title: '图片展示',
|
|
1267
|
+
type: 'string',
|
|
1268
|
+
format: 'image',
|
|
1269
|
+
default: '',
|
|
1270
|
+
props: {
|
|
1271
|
+
width: 'default',
|
|
1272
|
+
showTitle: false,
|
|
1273
|
+
titlePosition: 'top',
|
|
1274
|
+
aspectRatio: '16 / 9',
|
|
1275
|
+
objectFit: 'cover',
|
|
1276
|
+
borderRadius: 6,
|
|
1277
|
+
preview: true
|
|
1278
|
+
}
|
|
1279
|
+
},
|
|
1280
|
+
setting: {
|
|
1281
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
1282
|
+
title: '组件 ID',
|
|
1283
|
+
description: ''
|
|
1284
|
+
}),
|
|
1285
|
+
default: {
|
|
1286
|
+
title: '图片地址',
|
|
1287
|
+
type: 'string',
|
|
1288
|
+
widget: 'textArea',
|
|
1289
|
+
props: {
|
|
1290
|
+
placeholder: 'https://example.com/image.png',
|
|
1291
|
+
autoSize: {
|
|
1292
|
+
minRows: 2,
|
|
1293
|
+
maxRows: 4
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
},
|
|
1297
|
+
'props.width': {
|
|
1298
|
+
title: '宽度模式',
|
|
1299
|
+
type: 'string',
|
|
1300
|
+
widget: 'select',
|
|
1301
|
+
enum: ['default', 'fill', 'auto'],
|
|
1302
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
1303
|
+
},
|
|
1304
|
+
'props.showTitle': {
|
|
1305
|
+
title: '输入框标题',
|
|
1306
|
+
type: 'boolean',
|
|
1307
|
+
widget: 'switch'
|
|
1308
|
+
},
|
|
1309
|
+
title: {
|
|
1310
|
+
title: '标题文本',
|
|
1311
|
+
type: 'string',
|
|
1312
|
+
widget: 'textArea',
|
|
1313
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
1314
|
+
props: {
|
|
1315
|
+
autoSize: {
|
|
1316
|
+
minRows: 1,
|
|
1317
|
+
maxRows: 2
|
|
1318
|
+
}
|
|
1319
|
+
}
|
|
1320
|
+
},
|
|
1321
|
+
'props.titlePosition': {
|
|
1322
|
+
title: '标题位置',
|
|
1323
|
+
type: 'string',
|
|
1324
|
+
widget: 'radio',
|
|
1325
|
+
enum: ['top', 'left'],
|
|
1326
|
+
enumNames: ['居上', '居左'],
|
|
1327
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
1328
|
+
},
|
|
1329
|
+
'props.aspectRatio': {
|
|
1330
|
+
title: '图片比例',
|
|
1331
|
+
type: 'string',
|
|
1332
|
+
widget: 'select',
|
|
1333
|
+
enum: ['16 / 9', '4 / 3', '1 / 1', 'auto'],
|
|
1334
|
+
enumNames: ['16:9', '4:3', '1:1', '原图比例']
|
|
1335
|
+
},
|
|
1336
|
+
'props.imageHeight': {
|
|
1337
|
+
title: '图片高度',
|
|
1338
|
+
type: 'number',
|
|
1339
|
+
widget: 'clearableNumberInput',
|
|
1340
|
+
description: '未填写时按图片比例自适应',
|
|
1341
|
+
props: {
|
|
1342
|
+
placeholder: '如 180'
|
|
1343
|
+
}
|
|
1344
|
+
},
|
|
1345
|
+
'props.objectFit': {
|
|
1346
|
+
title: '填充方式',
|
|
1347
|
+
type: 'string',
|
|
1348
|
+
widget: 'radio',
|
|
1349
|
+
enum: ['cover', 'contain'],
|
|
1350
|
+
enumNames: ['裁剪填充', '完整显示']
|
|
1351
|
+
},
|
|
1352
|
+
'props.borderRadius': {
|
|
1353
|
+
title: '圆角',
|
|
1354
|
+
type: 'number',
|
|
1355
|
+
props: {
|
|
1356
|
+
placeholder: '如 6'
|
|
1357
|
+
}
|
|
1358
|
+
},
|
|
1359
|
+
'props.preview': {
|
|
1360
|
+
title: '点击预览',
|
|
1361
|
+
type: 'boolean',
|
|
1362
|
+
widget: 'switch'
|
|
1363
|
+
}
|
|
1364
|
+
}
|
|
1365
|
+
}, {
|
|
1366
|
+
text: '颜色选择',
|
|
1367
|
+
name: 'color',
|
|
1368
|
+
schema: {
|
|
1369
|
+
title: '颜色选择',
|
|
1370
|
+
type: 'string',
|
|
1371
|
+
format: 'color',
|
|
1372
|
+
default: '',
|
|
1373
|
+
disabled: false,
|
|
1374
|
+
props: {
|
|
1375
|
+
width: 'default',
|
|
1376
|
+
showTitle: false,
|
|
1377
|
+
titlePosition: 'top',
|
|
1378
|
+
colorFormat: 'hex',
|
|
1379
|
+
allowClear: true,
|
|
1380
|
+
disabledAlpha: false
|
|
1381
|
+
}
|
|
1382
|
+
},
|
|
1383
|
+
setting: {
|
|
1384
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
1385
|
+
title: '组件 ID',
|
|
1386
|
+
description: ''
|
|
1387
|
+
}),
|
|
1388
|
+
default: {
|
|
1389
|
+
title: '默认颜色',
|
|
1390
|
+
type: 'string',
|
|
1391
|
+
props: {
|
|
1392
|
+
placeholder: '#3370ff / rgba(51,112,255,0.6) / transparent'
|
|
1393
|
+
}
|
|
1394
|
+
},
|
|
1395
|
+
'props.width': {
|
|
1396
|
+
title: '宽度模式',
|
|
1397
|
+
type: 'string',
|
|
1398
|
+
widget: 'select',
|
|
1399
|
+
enum: ['default', 'fill', 'auto'],
|
|
1400
|
+
enumNames: ['自适应-default', '撑满', '紧凑']
|
|
1401
|
+
},
|
|
1402
|
+
'props.showTitle': {
|
|
1403
|
+
title: '输入框标题',
|
|
1404
|
+
type: 'boolean',
|
|
1405
|
+
widget: 'switch'
|
|
1406
|
+
},
|
|
1407
|
+
title: {
|
|
1408
|
+
title: '标题文本',
|
|
1409
|
+
type: 'string',
|
|
1410
|
+
widget: 'textArea',
|
|
1411
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}',
|
|
1412
|
+
props: {
|
|
1413
|
+
autoSize: {
|
|
1414
|
+
minRows: 1,
|
|
1415
|
+
maxRows: 2
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
'props.titlePosition': {
|
|
1420
|
+
title: '标题位置',
|
|
1421
|
+
type: 'string',
|
|
1422
|
+
widget: 'radio',
|
|
1423
|
+
enum: ['top', 'left'],
|
|
1424
|
+
enumNames: ['居上', '居左'],
|
|
1425
|
+
hidden: '{{(formData["props.showTitle"] ?? formData.props?.showTitle) === false}}'
|
|
1426
|
+
},
|
|
1427
|
+
'props.colorFormat': {
|
|
1428
|
+
title: '颜色格式',
|
|
1429
|
+
type: 'string',
|
|
1430
|
+
widget: 'radio',
|
|
1431
|
+
enum: ['hex', 'rgb'],
|
|
1432
|
+
enumNames: ['HEX', 'RGB/RGBA']
|
|
1433
|
+
},
|
|
1434
|
+
'props.disabledAlpha': {
|
|
1435
|
+
title: '禁用透明度',
|
|
1436
|
+
type: 'boolean',
|
|
1437
|
+
widget: 'switch'
|
|
1438
|
+
},
|
|
1439
|
+
'props.allowClear': {
|
|
1440
|
+
title: '允许清空',
|
|
1441
|
+
type: 'boolean',
|
|
1442
|
+
widget: 'switch'
|
|
1443
|
+
},
|
|
1444
|
+
disabled: {
|
|
1445
|
+
title: '是否禁用',
|
|
1446
|
+
type: 'boolean',
|
|
1447
|
+
widget: 'switch'
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
}, {
|
|
1451
|
+
text: '柱状图 / 折线图',
|
|
1452
|
+
name: 'advancedChart',
|
|
1453
|
+
schema: {
|
|
1454
|
+
title: '柱状图 / 折线图',
|
|
1455
|
+
type: 'void',
|
|
1456
|
+
widget: 'advancedChart',
|
|
1457
|
+
props: {
|
|
1458
|
+
showTitle: false,
|
|
1459
|
+
chartSpec: {
|
|
1460
|
+
type: 'bar',
|
|
1461
|
+
title: {
|
|
1462
|
+
text: '示例图表'
|
|
1463
|
+
},
|
|
1464
|
+
data: {
|
|
1465
|
+
values: [{
|
|
1466
|
+
type: 'A',
|
|
1467
|
+
value: 30
|
|
1468
|
+
}, {
|
|
1469
|
+
type: 'B',
|
|
1470
|
+
value: 45
|
|
1471
|
+
}, {
|
|
1472
|
+
type: 'C',
|
|
1473
|
+
value: 22
|
|
1474
|
+
}]
|
|
1475
|
+
}
|
|
1476
|
+
},
|
|
1477
|
+
height: '260px'
|
|
1478
|
+
}
|
|
1479
|
+
},
|
|
1480
|
+
setting: _objectSpread(_objectSpread({}, advancedDisplayCommonSettings), {}, {
|
|
1481
|
+
'props.chartSpec.type': {
|
|
1482
|
+
title: '图表类型',
|
|
1483
|
+
type: 'string',
|
|
1484
|
+
widget: 'select',
|
|
1485
|
+
enum: ['bar', 'line', 'area', 'pie', 'scatter'],
|
|
1486
|
+
enumNames: ['柱状图', '折线图', '面积图', '饼图', '散点图']
|
|
1487
|
+
},
|
|
1488
|
+
'props.chartSpec.title.text': {
|
|
1489
|
+
title: '标题',
|
|
1490
|
+
type: 'string',
|
|
1491
|
+
widget: 'input'
|
|
1492
|
+
},
|
|
1493
|
+
'props.chartSpec.data.values': {
|
|
1494
|
+
title: '图表数据',
|
|
1495
|
+
type: 'array',
|
|
1496
|
+
widget: 'cardChartDataEditor'
|
|
1497
|
+
},
|
|
1498
|
+
'props.height': {
|
|
1499
|
+
title: '高度',
|
|
1500
|
+
type: 'string',
|
|
1501
|
+
widget: 'input',
|
|
1502
|
+
placeholder: '260px'
|
|
1503
|
+
}
|
|
1504
|
+
})
|
|
1505
|
+
}, {
|
|
1506
|
+
text: '表格',
|
|
1507
|
+
name: 'advancedTable',
|
|
1508
|
+
schema: {
|
|
1509
|
+
title: '表格',
|
|
1510
|
+
type: 'void',
|
|
1511
|
+
widget: 'advancedTable',
|
|
1512
|
+
props: {
|
|
1513
|
+
showTitle: false,
|
|
1514
|
+
columns: [{
|
|
1515
|
+
dataType: 'text',
|
|
1516
|
+
name: 'col1',
|
|
1517
|
+
displayName: '列 1',
|
|
1518
|
+
horizontalAlign: 'left',
|
|
1519
|
+
width: 'auto'
|
|
1520
|
+
}, {
|
|
1521
|
+
dataType: 'text',
|
|
1522
|
+
name: 'col2',
|
|
1523
|
+
displayName: '列 2',
|
|
1524
|
+
horizontalAlign: 'left',
|
|
1525
|
+
width: 'auto'
|
|
1526
|
+
}],
|
|
1527
|
+
rows: [{
|
|
1528
|
+
col1: '示例 A',
|
|
1529
|
+
col2: '说明 1'
|
|
1530
|
+
}, {
|
|
1531
|
+
col1: '示例 B',
|
|
1532
|
+
col2: '说明 2'
|
|
1533
|
+
}],
|
|
1534
|
+
rowHeight: 'low'
|
|
1535
|
+
}
|
|
1536
|
+
},
|
|
1537
|
+
setting: _objectSpread(_objectSpread({}, advancedDisplayCommonSettings), {}, {
|
|
1538
|
+
'props.columns': {
|
|
1539
|
+
title: '列配置',
|
|
1540
|
+
type: 'array',
|
|
1541
|
+
widget: 'cardTableColumnsEditor'
|
|
1542
|
+
},
|
|
1543
|
+
'props.rows': {
|
|
1544
|
+
title: '行数据',
|
|
1545
|
+
type: 'array',
|
|
1546
|
+
widget: 'cardTableRowsEditor'
|
|
1547
|
+
},
|
|
1548
|
+
'props.rowHeight': {
|
|
1549
|
+
title: '行高',
|
|
1550
|
+
type: 'string',
|
|
1551
|
+
widget: 'select',
|
|
1552
|
+
enum: ['low', 'middle', 'high'],
|
|
1553
|
+
enumNames: ['低', '中', '高']
|
|
1554
|
+
},
|
|
1555
|
+
'props.pageSize': {
|
|
1556
|
+
title: '分页 (每页)',
|
|
1557
|
+
type: 'number'
|
|
1558
|
+
}
|
|
1559
|
+
})
|
|
1560
|
+
}];
|
|
1561
|
+
var displayHeaderElement = createHeaderDisplayWidget({
|
|
1562
|
+
name: 'displayHeader',
|
|
1563
|
+
schemaType: 'void',
|
|
1564
|
+
widget: 'displayHeader'
|
|
1565
|
+
});
|
|
1566
|
+
var displayCommonSettings = _objectSpread(_objectSpread({}, hiddenDisplayCommonSettings), {}, {
|
|
1567
|
+
$id: _objectSpread(_objectSpread({}, defaultCommonSettings.$id), {}, {
|
|
1568
|
+
title: '组件 ID',
|
|
1569
|
+
description: ''
|
|
1570
|
+
})
|
|
1571
|
+
});
|
|
1572
|
+
var htmlDisplayElement = {
|
|
1573
|
+
text: 'HTML',
|
|
1574
|
+
name: 'html',
|
|
1575
|
+
schema: {
|
|
1576
|
+
title: 'HTML',
|
|
1577
|
+
type: 'void',
|
|
1578
|
+
widget: 'html',
|
|
1579
|
+
props: {
|
|
1580
|
+
showTitle: false,
|
|
1581
|
+
value: '<div>HTML 内容</div>'
|
|
1582
|
+
}
|
|
1583
|
+
},
|
|
1584
|
+
setting: _objectSpread(_objectSpread({}, displayCommonSettings), {}, {
|
|
1585
|
+
'props.value': {
|
|
1586
|
+
title: '展示内容',
|
|
1587
|
+
type: 'string',
|
|
1588
|
+
widget: 'textArea',
|
|
1589
|
+
props: {
|
|
1590
|
+
autoSize: {
|
|
1591
|
+
minRows: 3,
|
|
1592
|
+
maxRows: 8
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
}
|
|
1596
|
+
})
|
|
1597
|
+
};
|
|
1598
|
+
|
|
1599
|
+
// Markdown 展示(widget:'displayMarkdown')—— 纯展示组件(type:'void'),不进 formData,
|
|
1600
|
+
// 内容只能写在 props.content 里。与「Markdown 字段」(widget:'markdown', type:'string') 区分:
|
|
1601
|
+
// 字段版才进 form state、才能被 set_values 回填、才有 label(schema.title 渲染为灰色字段标签)。
|
|
1602
|
+
var displayMarkdownElement = {
|
|
1603
|
+
text: 'Markdown 展示',
|
|
1604
|
+
name: 'displayMarkdown',
|
|
1605
|
+
schema: {
|
|
1606
|
+
title: 'Markdown 展示',
|
|
1607
|
+
type: 'void',
|
|
1608
|
+
widget: 'displayMarkdown',
|
|
1609
|
+
props: {
|
|
1610
|
+
showTitle: false,
|
|
1611
|
+
content: '请编辑内容',
|
|
1612
|
+
textAlign: 'left',
|
|
1613
|
+
textSize: 'normal_v2'
|
|
1614
|
+
}
|
|
1615
|
+
},
|
|
1616
|
+
setting: _objectSpread(_objectSpread({}, displayCommonSettings), {}, {
|
|
1617
|
+
'props.content': {
|
|
1618
|
+
title: '展示内容',
|
|
1619
|
+
type: 'string',
|
|
1620
|
+
widget: 'textArea',
|
|
1621
|
+
props: {
|
|
1622
|
+
autoSize: {
|
|
1623
|
+
minRows: 3,
|
|
1624
|
+
maxRows: 10
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
},
|
|
1628
|
+
'props.textAlign': {
|
|
1629
|
+
title: '对齐',
|
|
1630
|
+
type: 'string',
|
|
1631
|
+
widget: 'radio',
|
|
1632
|
+
enum: ['left', 'center', 'right'],
|
|
1633
|
+
enumNames: ['左', '中', '右']
|
|
1634
|
+
},
|
|
1635
|
+
'props.textSize': {
|
|
1636
|
+
title: '字号',
|
|
1637
|
+
type: 'string',
|
|
1638
|
+
widget: 'select',
|
|
1639
|
+
enum: ['small', 'normal', 'normal_v2', 'heading'],
|
|
1640
|
+
enumNames: ['小', '正常', '响应式', '标题']
|
|
1641
|
+
}
|
|
1642
|
+
})
|
|
1643
|
+
};
|
|
1644
|
+
var displayHrElement = {
|
|
1645
|
+
text: '分割线',
|
|
1646
|
+
name: 'displayHr',
|
|
1647
|
+
schema: {
|
|
1648
|
+
title: '分割线',
|
|
1649
|
+
type: 'void',
|
|
1650
|
+
widget: 'displayHr',
|
|
1651
|
+
props: {
|
|
1652
|
+
showTitle: false,
|
|
1653
|
+
margin: '8px 0px'
|
|
1654
|
+
}
|
|
1655
|
+
},
|
|
1656
|
+
setting: _objectSpread(_objectSpread({}, displayCommonSettings), {}, {
|
|
1657
|
+
'props.margin': {
|
|
1658
|
+
title: '外边距',
|
|
1659
|
+
type: 'string',
|
|
1660
|
+
widget: 'input',
|
|
1661
|
+
props: {
|
|
1662
|
+
placeholder: '8px 0px'
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
})
|
|
1666
|
+
};
|
|
1667
|
+
var displayPlainTextElement = {
|
|
1668
|
+
text: '纯文本',
|
|
1669
|
+
name: 'displayPlainText',
|
|
1670
|
+
schema: {
|
|
1671
|
+
title: '纯文本',
|
|
1672
|
+
type: 'void',
|
|
1673
|
+
widget: 'displayPlainText',
|
|
1674
|
+
props: {
|
|
1675
|
+
showTitle: false,
|
|
1676
|
+
text: {
|
|
1677
|
+
tag: 'plain_text',
|
|
1678
|
+
content: '纯文本',
|
|
1679
|
+
text_size: 'normal_v2',
|
|
1680
|
+
text_align: 'left',
|
|
1681
|
+
text_color: 'default'
|
|
1682
|
+
}
|
|
1683
|
+
}
|
|
1684
|
+
},
|
|
1685
|
+
setting: _objectSpread(_objectSpread({}, displayCommonSettings), {}, {
|
|
1686
|
+
'props.text.content': {
|
|
1687
|
+
title: '内容',
|
|
1688
|
+
type: 'string',
|
|
1689
|
+
widget: 'textArea',
|
|
1690
|
+
props: {
|
|
1691
|
+
autoSize: {
|
|
1692
|
+
minRows: 1,
|
|
1693
|
+
maxRows: 4
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
},
|
|
1697
|
+
'props.text.text_size': {
|
|
1698
|
+
title: '字号',
|
|
1699
|
+
type: 'string',
|
|
1700
|
+
widget: 'select',
|
|
1701
|
+
enum: ['notation', 'small', 'normal', 'normal_v2', 'heading', 'heading_0', 'heading_1', 'heading_2', 'heading_3', 'heading_4'],
|
|
1702
|
+
enumNames: ['注释', '小', '正文', '正文 V2', '标题', '标题 0', '标题 1', '标题 2', '标题 3', '标题 4']
|
|
1703
|
+
},
|
|
1704
|
+
'props.text.text_align': {
|
|
1705
|
+
title: '对齐',
|
|
1706
|
+
type: 'string',
|
|
1707
|
+
widget: 'radio',
|
|
1708
|
+
enum: ['left', 'center', 'right'],
|
|
1709
|
+
enumNames: ['左', '中', '右']
|
|
1710
|
+
},
|
|
1711
|
+
'props.text.text_color': {
|
|
1712
|
+
title: '颜色',
|
|
1713
|
+
type: 'string',
|
|
1714
|
+
widget: 'select',
|
|
1715
|
+
enum: ['default', 'grey', 'blue', 'green', 'red', 'orange', 'yellow', 'purple'],
|
|
1716
|
+
enumNames: ['默认', '灰', '蓝', '绿', '红', '橙', '黄', '紫']
|
|
1717
|
+
}
|
|
1718
|
+
})
|
|
1719
|
+
};
|
|
1720
|
+
var displayTextTagElement = {
|
|
1721
|
+
text: '标签',
|
|
1722
|
+
name: 'displayTextTag',
|
|
1723
|
+
schema: {
|
|
1724
|
+
title: '标签',
|
|
1725
|
+
type: 'void',
|
|
1726
|
+
widget: 'displayTextTag',
|
|
1727
|
+
props: {
|
|
1728
|
+
showTitle: false,
|
|
1729
|
+
text: {
|
|
1730
|
+
tag: 'plain_text',
|
|
1731
|
+
content: '标签'
|
|
1732
|
+
},
|
|
1733
|
+
color: 'blue'
|
|
1734
|
+
}
|
|
1735
|
+
},
|
|
1736
|
+
setting: _objectSpread(_objectSpread({}, displayCommonSettings), {}, {
|
|
1737
|
+
'props.text.content': {
|
|
1738
|
+
title: '文案',
|
|
1739
|
+
type: 'string',
|
|
1740
|
+
widget: 'input'
|
|
1741
|
+
},
|
|
1742
|
+
'props.color': {
|
|
1743
|
+
title: '颜色',
|
|
1744
|
+
type: 'string',
|
|
1745
|
+
widget: 'select',
|
|
1746
|
+
enum: ['neutral', 'blue', 'wathet', 'turquoise', 'green', 'yellow', 'orange', 'red', 'carmine', 'violet', 'purple', 'indigo', 'grey', 'lime'],
|
|
1747
|
+
enumNames: ['中性', '蓝', '天蓝', '青', '绿', '黄', '橙', '红', '洋红', '紫罗兰', '紫', '靛', '灰', '柠檬']
|
|
1748
|
+
}
|
|
1749
|
+
})
|
|
1750
|
+
};
|
|
1751
|
+
export var displayElements = [htmlDisplayElement, _objectSpread(_objectSpread({}, displayHeaderElement), {}, {
|
|
1752
|
+
setting: _objectSpread(_objectSpread({}, displayCommonSettings), displayHeaderElement.setting)
|
|
1753
|
+
}), displayMarkdownElement, displayHrElement, displayPlainTextElement, displayTextTagElement];
|
|
1754
|
+
export var layouts = [{
|
|
1755
|
+
text: '表单容器',
|
|
1756
|
+
name: 'formContainer',
|
|
1757
|
+
schema: {
|
|
1758
|
+
type: 'object',
|
|
1759
|
+
widget: 'formContainer',
|
|
1760
|
+
properties: {
|
|
1761
|
+
_btnGroup: {
|
|
1762
|
+
type: 'object',
|
|
1763
|
+
widget: 'formBtnGroup',
|
|
1764
|
+
properties: {
|
|
1765
|
+
_submitBtn: {
|
|
1766
|
+
type: 'string',
|
|
1767
|
+
widget: 'formSubmitBtn',
|
|
1768
|
+
width: 'auto',
|
|
1769
|
+
props: {
|
|
1770
|
+
submitText: '提交',
|
|
1771
|
+
actionType: 'callback',
|
|
1772
|
+
callbackUrl: '',
|
|
1773
|
+
confirmTitle: ''
|
|
1774
|
+
},
|
|
1775
|
+
style: {
|
|
1776
|
+
btnType: 'primary',
|
|
1777
|
+
size: 'small',
|
|
1778
|
+
danger: false,
|
|
1779
|
+
block: false
|
|
1780
|
+
}
|
|
1781
|
+
},
|
|
1782
|
+
_resetBtn: {
|
|
1783
|
+
type: 'string',
|
|
1784
|
+
widget: 'formResetBtn',
|
|
1785
|
+
width: 'auto',
|
|
1786
|
+
props: {
|
|
1787
|
+
resetText: '取消',
|
|
1788
|
+
actionType: 'reset',
|
|
1789
|
+
redirectUrl: ''
|
|
1790
|
+
},
|
|
1791
|
+
style: {
|
|
1792
|
+
btnType: 'default',
|
|
1793
|
+
size: 'small',
|
|
1794
|
+
danger: false,
|
|
1795
|
+
block: false
|
|
1796
|
+
}
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
},
|
|
1802
|
+
setting: {
|
|
1803
|
+
props: {
|
|
1804
|
+
title: '表单设置',
|
|
1805
|
+
type: 'object',
|
|
1806
|
+
theme: 'collapse',
|
|
1807
|
+
properties: {
|
|
1808
|
+
formName: {
|
|
1809
|
+
title: '表单标识',
|
|
1810
|
+
type: 'string',
|
|
1811
|
+
description: '唯一标识,用于识别提交数据来源',
|
|
1812
|
+
props: {
|
|
1813
|
+
placeholder: '如: userForm'
|
|
1814
|
+
}
|
|
1815
|
+
}
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
}
|
|
1819
|
+
}, {
|
|
1820
|
+
text: '对象',
|
|
1821
|
+
name: 'object',
|
|
1822
|
+
schema: {
|
|
1823
|
+
title: '对象',
|
|
1824
|
+
type: 'object',
|
|
1825
|
+
properties: {}
|
|
1826
|
+
},
|
|
1827
|
+
setting: {
|
|
1828
|
+
theme: {
|
|
1829
|
+
title: '主题',
|
|
1830
|
+
type: 'string',
|
|
1831
|
+
enum: ['collapse', 'collapse:pure', 'collapse:ghost', 'card', 'tile', 'flex'],
|
|
1832
|
+
enumNames: ['默认', '无框', '幽灵', '卡片', '平铺', '弹性'],
|
|
1833
|
+
default: 'collapse',
|
|
1834
|
+
widget: 'radio'
|
|
1835
|
+
},
|
|
1836
|
+
props: {
|
|
1837
|
+
title: '弹性布局',
|
|
1838
|
+
hidden: '{{"flex" !== formData.theme}}',
|
|
1839
|
+
type: 'object',
|
|
1840
|
+
theme: 'tile',
|
|
1841
|
+
properties: {
|
|
1842
|
+
style: {
|
|
1843
|
+
title: '布局样式',
|
|
1844
|
+
type: 'object',
|
|
1845
|
+
theme: 'flex',
|
|
1846
|
+
props: {
|
|
1847
|
+
style: {
|
|
1848
|
+
flexDirection: 'column'
|
|
1849
|
+
}
|
|
1850
|
+
},
|
|
1851
|
+
properties: {
|
|
1852
|
+
height: {
|
|
1853
|
+
title: '高度',
|
|
1854
|
+
description: 'height',
|
|
1855
|
+
type: 'string',
|
|
1856
|
+
widget: 'input'
|
|
1857
|
+
},
|
|
1858
|
+
flexDirection: {
|
|
1859
|
+
title: '布局方向',
|
|
1860
|
+
description: 'flex-direction',
|
|
1861
|
+
type: 'string',
|
|
1862
|
+
enum: ['row', 'row-reverse', 'column', 'column-reverse'],
|
|
1863
|
+
enumNames: ['横向', '横向反转', '纵向', '纵向反转'],
|
|
1864
|
+
widget: 'select'
|
|
1865
|
+
},
|
|
1866
|
+
flexWrap: {
|
|
1867
|
+
title: '换行方式',
|
|
1868
|
+
description: 'flex-wrap',
|
|
1869
|
+
type: 'string',
|
|
1870
|
+
enum: ['wrap', 'nowrap', 'wrap-reverse'],
|
|
1871
|
+
enumNames: ['换行', '不换行', '反向换行'],
|
|
1872
|
+
widget: 'select'
|
|
1873
|
+
},
|
|
1874
|
+
justifyContent: {
|
|
1875
|
+
title: '对齐方式',
|
|
1876
|
+
description: 'justify-content',
|
|
1877
|
+
type: 'string',
|
|
1878
|
+
enum: ['flex-start', 'flex-end', 'center', 'space-between', 'space-around'],
|
|
1879
|
+
enumNames: ['起点对齐', '终点对齐', '居中对齐', '两端对齐', '相同间距'],
|
|
1880
|
+
widget: 'select'
|
|
1881
|
+
},
|
|
1882
|
+
alignItems: {
|
|
1883
|
+
title: '轴对齐方式',
|
|
1884
|
+
description: 'align-items',
|
|
1885
|
+
type: 'string',
|
|
1886
|
+
enum: ['flex-start', 'flex-end', 'center', 'baseline', 'stretch'],
|
|
1887
|
+
enumNames: ['起点对齐', '终点对齐', '居中对齐', '基线对齐', '拉伸铺满'],
|
|
1888
|
+
widget: 'select'
|
|
1889
|
+
},
|
|
1890
|
+
alignContent: {
|
|
1891
|
+
title: '多轴线对齐',
|
|
1892
|
+
description: 'align-content',
|
|
1893
|
+
type: 'string',
|
|
1894
|
+
enum: ['flex-start', 'flex-end', 'center', 'space-between', 'space-around', 'stretch'],
|
|
1895
|
+
enumNames: ['起点对齐', '终点对齐', '居中对齐', '两端对齐', '相同间距', '拉伸铺满'],
|
|
1896
|
+
widget: 'select'
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
},
|
|
1902
|
+
style: {
|
|
1903
|
+
title: '元素样式',
|
|
1904
|
+
type: 'object',
|
|
1905
|
+
properties: {
|
|
1906
|
+
background: {
|
|
1907
|
+
title: '背景',
|
|
1908
|
+
description: 'background',
|
|
1909
|
+
type: 'string',
|
|
1910
|
+
widget: 'color'
|
|
1911
|
+
},
|
|
1912
|
+
margin: {
|
|
1913
|
+
title: '外边距',
|
|
1914
|
+
description: 'margin',
|
|
1915
|
+
type: 'string',
|
|
1916
|
+
widget: 'input'
|
|
1917
|
+
},
|
|
1918
|
+
padding: {
|
|
1919
|
+
title: '内边距',
|
|
1920
|
+
description: 'padding',
|
|
1921
|
+
type: 'string',
|
|
1922
|
+
widget: 'input'
|
|
1923
|
+
},
|
|
1924
|
+
borderWidth: {
|
|
1925
|
+
title: '边框宽',
|
|
1926
|
+
description: 'border-width',
|
|
1927
|
+
type: 'string',
|
|
1928
|
+
widget: 'input'
|
|
1929
|
+
},
|
|
1930
|
+
borderStyle: {
|
|
1931
|
+
title: '边框样式',
|
|
1932
|
+
description: 'border-style',
|
|
1933
|
+
type: 'string',
|
|
1934
|
+
widget: 'input'
|
|
1935
|
+
},
|
|
1936
|
+
borderColor: {
|
|
1937
|
+
title: '边框颜色',
|
|
1938
|
+
description: 'border-color',
|
|
1939
|
+
type: 'string',
|
|
1940
|
+
widget: 'color'
|
|
1941
|
+
},
|
|
1942
|
+
borderRadius: {
|
|
1943
|
+
title: '圆角',
|
|
1944
|
+
description: 'border-radius',
|
|
1945
|
+
type: 'string',
|
|
1946
|
+
widget: 'input'
|
|
1947
|
+
},
|
|
1948
|
+
flex: {
|
|
1949
|
+
title: '弹性伸缩',
|
|
1950
|
+
description: 'flex',
|
|
1951
|
+
type: 'string',
|
|
1952
|
+
widget: 'input'
|
|
1953
|
+
},
|
|
1954
|
+
order: {
|
|
1955
|
+
title: '排列顺序',
|
|
1956
|
+
description: 'order',
|
|
1957
|
+
type: 'string',
|
|
1958
|
+
widget: 'input'
|
|
1959
|
+
},
|
|
1960
|
+
alignSelf: {
|
|
1961
|
+
title: '自身对齐',
|
|
1962
|
+
description: 'align-self',
|
|
1963
|
+
type: 'string',
|
|
1964
|
+
widget: 'input'
|
|
1965
|
+
}
|
|
1966
|
+
}
|
|
1967
|
+
}
|
|
1968
|
+
}
|
|
1969
|
+
}, {
|
|
1970
|
+
text: '数据分组',
|
|
1971
|
+
name: 'fieldGroup',
|
|
1972
|
+
schema: {
|
|
1973
|
+
title: '数据分组',
|
|
1974
|
+
type: 'object',
|
|
1975
|
+
widget: 'fieldGroup',
|
|
1976
|
+
props: {
|
|
1977
|
+
direction: 'vertical',
|
|
1978
|
+
verticalSpacing: '12px'
|
|
1979
|
+
},
|
|
1980
|
+
properties: {}
|
|
1981
|
+
},
|
|
1982
|
+
setting: {
|
|
1983
|
+
props: {
|
|
1984
|
+
title: '分组布局',
|
|
1985
|
+
type: 'object',
|
|
1986
|
+
theme: 'tile',
|
|
1987
|
+
properties: {
|
|
1988
|
+
direction: {
|
|
1989
|
+
title: '排列方向',
|
|
1990
|
+
type: 'string',
|
|
1991
|
+
enum: ['vertical', 'horizontal'],
|
|
1992
|
+
enumNames: ['纵向', '横向'],
|
|
1993
|
+
widget: 'radio',
|
|
1994
|
+
default: 'vertical'
|
|
1995
|
+
},
|
|
1996
|
+
verticalSpacing: {
|
|
1997
|
+
title: '纵向间距',
|
|
1998
|
+
description: '纵向排列时子项间距',
|
|
1999
|
+
type: 'string',
|
|
2000
|
+
widget: 'input'
|
|
2001
|
+
},
|
|
2002
|
+
horizontalSpacing: {
|
|
2003
|
+
title: '横向间距',
|
|
2004
|
+
description: '横向排列时子项间距',
|
|
2005
|
+
type: 'string',
|
|
2006
|
+
widget: 'input'
|
|
2007
|
+
}
|
|
2008
|
+
}
|
|
2009
|
+
}
|
|
2010
|
+
}
|
|
2011
|
+
}, {
|
|
2012
|
+
text: '常规列表',
|
|
2013
|
+
name: 'list',
|
|
2014
|
+
schema: {
|
|
2015
|
+
title: '数组',
|
|
2016
|
+
type: 'array',
|
|
2017
|
+
items: {
|
|
2018
|
+
type: 'object',
|
|
2019
|
+
properties: {}
|
|
2020
|
+
}
|
|
2021
|
+
},
|
|
2022
|
+
setting: {
|
|
2023
|
+
default: {
|
|
2024
|
+
title: '默认值',
|
|
2025
|
+
type: 'array',
|
|
2026
|
+
widget: 'jsonInput'
|
|
2027
|
+
},
|
|
2028
|
+
items: {
|
|
2029
|
+
type: 'object',
|
|
2030
|
+
hidden: '{{true}}'
|
|
2031
|
+
},
|
|
2032
|
+
min: {
|
|
2033
|
+
title: '最小长度',
|
|
2034
|
+
type: 'number'
|
|
2035
|
+
},
|
|
2036
|
+
max: {
|
|
2037
|
+
title: '最大长度',
|
|
2038
|
+
type: 'number'
|
|
2039
|
+
},
|
|
2040
|
+
props: {
|
|
2041
|
+
title: '选项',
|
|
2042
|
+
type: 'object',
|
|
2043
|
+
properties: {
|
|
2044
|
+
hideDelete: {
|
|
2045
|
+
title: '隐藏删除按钮',
|
|
2046
|
+
type: 'string'
|
|
2047
|
+
},
|
|
2048
|
+
hideAdd: {
|
|
2049
|
+
title: '隐藏新增/复制按钮',
|
|
2050
|
+
type: 'string'
|
|
2051
|
+
}
|
|
2052
|
+
}
|
|
2053
|
+
}
|
|
2054
|
+
}
|
|
2055
|
+
}, {
|
|
2056
|
+
text: '简单列表',
|
|
2057
|
+
name: 'simpleList',
|
|
2058
|
+
schema: {
|
|
2059
|
+
title: '数组',
|
|
2060
|
+
type: 'array',
|
|
2061
|
+
widget: 'simpleList',
|
|
2062
|
+
items: {
|
|
2063
|
+
type: 'object',
|
|
2064
|
+
properties: {}
|
|
2065
|
+
}
|
|
2066
|
+
},
|
|
2067
|
+
setting: {
|
|
2068
|
+
default: {
|
|
2069
|
+
title: '默认值',
|
|
2070
|
+
type: 'array',
|
|
2071
|
+
widget: 'jsonInput'
|
|
2072
|
+
},
|
|
2073
|
+
items: {
|
|
2074
|
+
type: 'object',
|
|
2075
|
+
hidden: '{{true}}'
|
|
2076
|
+
},
|
|
2077
|
+
min: {
|
|
2078
|
+
title: '最小长度',
|
|
2079
|
+
type: 'number'
|
|
2080
|
+
},
|
|
2081
|
+
max: {
|
|
2082
|
+
title: '最大长度',
|
|
2083
|
+
type: 'number'
|
|
2084
|
+
},
|
|
2085
|
+
props: {
|
|
2086
|
+
title: '选项',
|
|
2087
|
+
type: 'object',
|
|
2088
|
+
properties: {
|
|
2089
|
+
hideTitle: {
|
|
2090
|
+
title: '隐藏标题',
|
|
2091
|
+
type: 'boolean'
|
|
2092
|
+
},
|
|
2093
|
+
hideDelete: {
|
|
2094
|
+
title: '隐藏删除按钮',
|
|
2095
|
+
type: 'string'
|
|
2096
|
+
},
|
|
2097
|
+
hideAdd: {
|
|
2098
|
+
title: '隐藏新增/复制按钮',
|
|
2099
|
+
type: 'string'
|
|
2100
|
+
}
|
|
2101
|
+
}
|
|
2102
|
+
}
|
|
2103
|
+
}
|
|
2104
|
+
}, {
|
|
2105
|
+
text: '表格列表',
|
|
2106
|
+
name: 'list2',
|
|
2107
|
+
schema: {
|
|
2108
|
+
title: '数组',
|
|
2109
|
+
type: 'array',
|
|
2110
|
+
widget: 'list2',
|
|
2111
|
+
items: {
|
|
2112
|
+
type: 'object',
|
|
2113
|
+
properties: {}
|
|
2114
|
+
}
|
|
2115
|
+
},
|
|
2116
|
+
setting: {
|
|
2117
|
+
default: {
|
|
2118
|
+
title: '默认值',
|
|
2119
|
+
type: 'array',
|
|
2120
|
+
widget: 'jsonInput'
|
|
2121
|
+
},
|
|
2122
|
+
items: {
|
|
2123
|
+
type: 'object',
|
|
2124
|
+
hidden: '{{true}}'
|
|
2125
|
+
},
|
|
2126
|
+
min: {
|
|
2127
|
+
title: '最小长度',
|
|
2128
|
+
type: 'number'
|
|
2129
|
+
},
|
|
2130
|
+
max: {
|
|
2131
|
+
title: '最大长度',
|
|
2132
|
+
type: 'number'
|
|
2133
|
+
},
|
|
2134
|
+
props: {
|
|
2135
|
+
title: '选项',
|
|
2136
|
+
type: 'object',
|
|
2137
|
+
properties: {
|
|
2138
|
+
hideDelete: {
|
|
2139
|
+
title: '隐藏删除按钮',
|
|
2140
|
+
type: 'string'
|
|
2141
|
+
},
|
|
2142
|
+
hideAdd: {
|
|
2143
|
+
title: '隐藏新增/复制按钮',
|
|
2144
|
+
type: 'string'
|
|
2145
|
+
},
|
|
2146
|
+
hideCopy: {
|
|
2147
|
+
title: '隐藏复制按钮',
|
|
2148
|
+
type: 'string'
|
|
2149
|
+
},
|
|
2150
|
+
hideMove: {
|
|
2151
|
+
title: '隐藏上下移动按钮',
|
|
2152
|
+
type: 'string'
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2156
|
+
}
|
|
2157
|
+
}, {
|
|
2158
|
+
text: '复杂表格列表',
|
|
2159
|
+
name: 'drawerList',
|
|
2160
|
+
schema: {
|
|
2161
|
+
title: '数组',
|
|
2162
|
+
type: 'array',
|
|
2163
|
+
widget: 'drawerList',
|
|
2164
|
+
items: {
|
|
2165
|
+
type: 'object',
|
|
2166
|
+
properties: {}
|
|
2167
|
+
}
|
|
2168
|
+
},
|
|
2169
|
+
setting: {
|
|
2170
|
+
default: {
|
|
2171
|
+
title: '默认值',
|
|
2172
|
+
type: 'array',
|
|
2173
|
+
widget: 'jsonInput'
|
|
2174
|
+
},
|
|
2175
|
+
items: {
|
|
2176
|
+
type: 'object',
|
|
2177
|
+
hidden: '{{true}}'
|
|
2178
|
+
},
|
|
2179
|
+
min: {
|
|
2180
|
+
title: '最小长度',
|
|
2181
|
+
type: 'number'
|
|
2182
|
+
},
|
|
2183
|
+
max: {
|
|
2184
|
+
title: '最大长度',
|
|
2185
|
+
type: 'number'
|
|
2186
|
+
},
|
|
2187
|
+
props: {
|
|
2188
|
+
title: '选项',
|
|
2189
|
+
type: 'object',
|
|
2190
|
+
properties: {
|
|
2191
|
+
hideDelete: {
|
|
2192
|
+
title: '隐藏删除按钮',
|
|
2193
|
+
type: 'string'
|
|
2194
|
+
},
|
|
2195
|
+
hideAdd: {
|
|
2196
|
+
title: '隐藏新增/复制按钮',
|
|
2197
|
+
type: 'string'
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
}
|
|
2202
|
+
}];
|
|
2203
|
+
|
|
2204
|
+
// 非卡片的内置示例模板,归到「示例」分类
|
|
2205
|
+
var extraTemplates = [{
|
|
2206
|
+
// 普通动态表单模板:报销申请单(员工填报)。
|
|
2207
|
+
// 全部用普通表单组件搭建——下拉/数字/日期/大输入框/输入框,字段可校验、提交产出 formData。
|
|
2208
|
+
// 与「报销申请待审批」卡片的区别:这里每个业务项都是“可填字段”,不是 markdown 展示文本。
|
|
2209
|
+
text: '报销申请单',
|
|
2210
|
+
name: 'expenseApplicationForm',
|
|
2211
|
+
category: '财务',
|
|
2212
|
+
schema: {
|
|
2213
|
+
type: 'object',
|
|
2214
|
+
title: '报销申请单',
|
|
2215
|
+
displayType: 'column',
|
|
2216
|
+
properties: {
|
|
2217
|
+
applicant: {
|
|
2218
|
+
title: '申请人',
|
|
2219
|
+
type: 'string',
|
|
2220
|
+
required: true,
|
|
2221
|
+
placeholder: '请输入申请人姓名'
|
|
2222
|
+
},
|
|
2223
|
+
department: {
|
|
2224
|
+
title: '所属部门',
|
|
2225
|
+
type: 'string',
|
|
2226
|
+
placeholder: '请输入所属部门'
|
|
2227
|
+
},
|
|
2228
|
+
expenseType: {
|
|
2229
|
+
title: '报销类型',
|
|
2230
|
+
type: 'string',
|
|
2231
|
+
widget: 'select',
|
|
2232
|
+
required: true,
|
|
2233
|
+
enum: ['travel', 'office', 'entertain', 'training', 'other'],
|
|
2234
|
+
enumNames: ['差旅费', '办公用品费', '业务招待费', '培训费', '其他'],
|
|
2235
|
+
placeholder: '请选择报销类型'
|
|
2236
|
+
},
|
|
2237
|
+
amount: {
|
|
2238
|
+
title: '报销金额(元)',
|
|
2239
|
+
type: 'number',
|
|
2240
|
+
required: true,
|
|
2241
|
+
min: 0,
|
|
2242
|
+
placeholder: '请输入报销金额'
|
|
2243
|
+
},
|
|
2244
|
+
expenseDate: {
|
|
2245
|
+
title: '费用发生日期',
|
|
2246
|
+
type: 'string',
|
|
2247
|
+
format: 'date',
|
|
2248
|
+
required: true
|
|
2249
|
+
},
|
|
2250
|
+
reason: {
|
|
2251
|
+
title: '报销事由',
|
|
2252
|
+
type: 'string',
|
|
2253
|
+
format: 'textarea',
|
|
2254
|
+
required: true,
|
|
2255
|
+
placeholder: '请简要说明报销事由',
|
|
2256
|
+
props: {
|
|
2257
|
+
rows: 3
|
|
2258
|
+
}
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
}
|
|
2262
|
+
}, {
|
|
2263
|
+
text: '复杂结构样例',
|
|
2264
|
+
name: 'something',
|
|
2265
|
+
category: '示例',
|
|
2266
|
+
schema: {
|
|
2267
|
+
title: '对象',
|
|
2268
|
+
description: '这是一个对象类型',
|
|
2269
|
+
type: 'object',
|
|
2270
|
+
properties: {
|
|
2271
|
+
inputName: {
|
|
2272
|
+
title: '简单输入框',
|
|
2273
|
+
type: 'string'
|
|
2274
|
+
},
|
|
2275
|
+
selectName: {
|
|
2276
|
+
title: '单选',
|
|
2277
|
+
type: 'string',
|
|
2278
|
+
enum: ['a', 'b', 'c'],
|
|
2279
|
+
enumNames: ['早', '中', '晚']
|
|
2280
|
+
},
|
|
2281
|
+
dateName: {
|
|
2282
|
+
title: '时间选择',
|
|
2283
|
+
type: 'string',
|
|
2284
|
+
format: 'date'
|
|
2285
|
+
},
|
|
2286
|
+
listName: {
|
|
2287
|
+
title: '对象数组',
|
|
2288
|
+
description: '对象数组嵌套功能',
|
|
2289
|
+
type: 'array',
|
|
2290
|
+
items: {
|
|
2291
|
+
type: 'object',
|
|
2292
|
+
properties: {
|
|
2293
|
+
rangeName: {
|
|
2294
|
+
title: '日期/时间范围',
|
|
2295
|
+
type: 'range',
|
|
2296
|
+
format: 'date',
|
|
2297
|
+
props: {
|
|
2298
|
+
placeholder: ['开始日期', '结束日期']
|
|
2299
|
+
}
|
|
2300
|
+
}
|
|
2301
|
+
}
|
|
2302
|
+
}
|
|
2303
|
+
}
|
|
2304
|
+
}
|
|
2305
|
+
}
|
|
2306
|
+
}];
|
|
2307
|
+
|
|
2308
|
+
// 把模板按 category 分组成侧栏分组:每个分类一个可折叠分组,标题「模板 · {分类}」。
|
|
2309
|
+
// 顺序按模板首次出现的分类顺序,未标 category 的归到「其他」。
|
|
2310
|
+
// (feishuCardTemplates 上的 category 字段终于在这里被消费,不再是死元数据。)
|
|
2311
|
+
var templateGroups = function () {
|
|
2312
|
+
var all = [].concat(_toConsumableArray(feishuCardTemplates.map(function (_ref) {
|
|
2313
|
+
var text = _ref.text,
|
|
2314
|
+
name = _ref.name,
|
|
2315
|
+
schema = _ref.schema,
|
|
2316
|
+
category = _ref.category;
|
|
2317
|
+
return {
|
|
2318
|
+
text: text,
|
|
2319
|
+
name: name,
|
|
2320
|
+
schema: schema,
|
|
2321
|
+
category: category || '其他'
|
|
2322
|
+
};
|
|
2323
|
+
})), extraTemplates);
|
|
2324
|
+
var order = [];
|
|
2325
|
+
var byCategory = {};
|
|
2326
|
+
all.forEach(function (_ref2) {
|
|
2327
|
+
var text = _ref2.text,
|
|
2328
|
+
name = _ref2.name,
|
|
2329
|
+
schema = _ref2.schema,
|
|
2330
|
+
category = _ref2.category;
|
|
2331
|
+
if (!byCategory[category]) {
|
|
2332
|
+
byCategory[category] = [];
|
|
2333
|
+
order.push(category);
|
|
2334
|
+
}
|
|
2335
|
+
byCategory[category].push({
|
|
2336
|
+
text: text,
|
|
2337
|
+
name: name,
|
|
2338
|
+
schema: schema
|
|
2339
|
+
});
|
|
2340
|
+
});
|
|
2341
|
+
return order.map(function (category) {
|
|
2342
|
+
return {
|
|
2343
|
+
title: "\u6A21\u677F \xB7 ".concat(category),
|
|
2344
|
+
widgets: byCategory[category]
|
|
2345
|
+
};
|
|
2346
|
+
});
|
|
2347
|
+
}();
|
|
2348
|
+
export var defaultSettings = [{
|
|
2349
|
+
title: '基础组件',
|
|
2350
|
+
widgets: elements,
|
|
2351
|
+
show: true,
|
|
2352
|
+
useCommon: true // TODO: 是否将common
|
|
2353
|
+
}, {
|
|
2354
|
+
title: '高级组件',
|
|
2355
|
+
widgets: advancedElements
|
|
2356
|
+
}, {
|
|
2357
|
+
title: '展示组件',
|
|
2358
|
+
widgets: displayElements,
|
|
2359
|
+
useCommon: true
|
|
2360
|
+
}, {
|
|
2361
|
+
title: '布局组件',
|
|
2362
|
+
widgets: layouts
|
|
2363
|
+
}].concat(_toConsumableArray(templateGroups), [{
|
|
2364
|
+
title: '内部组件',
|
|
2365
|
+
show: false,
|
|
2366
|
+
widgets: formBtnElements
|
|
2367
|
+
}]);
|
|
2368
|
+
export var defaultGlobalSettings = {
|
|
2369
|
+
type: 'object',
|
|
2370
|
+
properties: {
|
|
2371
|
+
column: {
|
|
2372
|
+
title: '整体布局',
|
|
2373
|
+
type: 'number',
|
|
2374
|
+
enum: [1, 2, 3],
|
|
2375
|
+
enumNames: ['一行一列', '一行二列', '一行三列'],
|
|
2376
|
+
props: {
|
|
2377
|
+
placeholder: '默认一行一列'
|
|
2378
|
+
}
|
|
2379
|
+
},
|
|
2380
|
+
labelWidth: {
|
|
2381
|
+
title: '标签宽度',
|
|
2382
|
+
type: 'number',
|
|
2383
|
+
widget: 'slider',
|
|
2384
|
+
max: 300,
|
|
2385
|
+
default: 120,
|
|
2386
|
+
props: {
|
|
2387
|
+
hideNumber: true
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
displayType: {
|
|
2391
|
+
title: '标签展示模式',
|
|
2392
|
+
type: 'string',
|
|
2393
|
+
default: 'row',
|
|
2394
|
+
enum: ['row', 'column'],
|
|
2395
|
+
enumNames: ['同行', '单独一行'],
|
|
2396
|
+
widget: 'radio'
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2399
|
+
};
|