@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,85 @@
|
|
|
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 _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
3
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
|
+
import { message, Space } from 'antd';
|
|
6
|
+
import { memo } from 'react';
|
|
7
|
+
import { Flexbox } from "../../Flex";
|
|
8
|
+
import { copyToClipboard } from "../../utils/copyToClipboard";
|
|
9
|
+
import { alphaBg, styles } from "./style";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
var ScaleRow = /*#__PURE__*/memo(function (_ref) {
|
|
13
|
+
var name = _ref.name,
|
|
14
|
+
title = _ref.title,
|
|
15
|
+
scale = _ref.scale;
|
|
16
|
+
var style = {};
|
|
17
|
+
var isAlpha = false;
|
|
18
|
+
switch (title) {
|
|
19
|
+
case 'lightA':
|
|
20
|
+
{
|
|
21
|
+
style = {
|
|
22
|
+
background: alphaBg.light,
|
|
23
|
+
backgroundColor: '#fff'
|
|
24
|
+
};
|
|
25
|
+
isAlpha = true;
|
|
26
|
+
break;
|
|
27
|
+
}
|
|
28
|
+
case 'darkA':
|
|
29
|
+
{
|
|
30
|
+
style = {
|
|
31
|
+
background: alphaBg.dark,
|
|
32
|
+
backgroundColor: '#000'
|
|
33
|
+
};
|
|
34
|
+
isAlpha = true;
|
|
35
|
+
break;
|
|
36
|
+
}
|
|
37
|
+
default:
|
|
38
|
+
{
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return /*#__PURE__*/_jsxs(Space, {
|
|
43
|
+
size: 2,
|
|
44
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
45
|
+
className: styles.scaleRowTitle,
|
|
46
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
47
|
+
className: styles.text,
|
|
48
|
+
children: title
|
|
49
|
+
})
|
|
50
|
+
}, title), scale.map(function (color, index) {
|
|
51
|
+
if (index === 0 || index === 12) return false;
|
|
52
|
+
return /*#__PURE__*/_jsx("div", {
|
|
53
|
+
className: styles.scaleBox,
|
|
54
|
+
style: style,
|
|
55
|
+
title: color,
|
|
56
|
+
onClick: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
57
|
+
var content;
|
|
58
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
59
|
+
while (1) switch (_context.prev = _context.next) {
|
|
60
|
+
case 0:
|
|
61
|
+
content = "token.".concat(name).concat(index).concat(isAlpha ? 'A' : '', " /* ").concat(color, " */");
|
|
62
|
+
_context.next = 3;
|
|
63
|
+
return copyToClipboard(content);
|
|
64
|
+
case 3:
|
|
65
|
+
message.success(content);
|
|
66
|
+
case 4:
|
|
67
|
+
case "end":
|
|
68
|
+
return _context.stop();
|
|
69
|
+
}
|
|
70
|
+
}, _callee);
|
|
71
|
+
})),
|
|
72
|
+
children: /*#__PURE__*/_jsx(Flexbox, {
|
|
73
|
+
horizontal: true,
|
|
74
|
+
align: 'center',
|
|
75
|
+
className: styles.scaleItem,
|
|
76
|
+
justify: 'center',
|
|
77
|
+
style: {
|
|
78
|
+
backgroundColor: color
|
|
79
|
+
}
|
|
80
|
+
})
|
|
81
|
+
}, index);
|
|
82
|
+
})]
|
|
83
|
+
});
|
|
84
|
+
});
|
|
85
|
+
export default ScaleRow;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ColorScaleItem } from '../types';
|
|
3
|
+
export interface ColorScalesProps {
|
|
4
|
+
/**
|
|
5
|
+
* @description Index of the mid highlight color in the scale
|
|
6
|
+
*/
|
|
7
|
+
midHighLight: number;
|
|
8
|
+
/**
|
|
9
|
+
* @description Name of the color scale
|
|
10
|
+
*/
|
|
11
|
+
name: string;
|
|
12
|
+
/**
|
|
13
|
+
* @description Color scale item object
|
|
14
|
+
*/
|
|
15
|
+
scale: ColorScaleItem;
|
|
16
|
+
}
|
|
17
|
+
declare const ColorScales: import("react").NamedExoticComponent<ColorScalesProps>;
|
|
18
|
+
export default ColorScales;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { Space } from 'antd';
|
|
4
|
+
import { memo } from 'react';
|
|
5
|
+
import { Flexbox } from "../../Flex";
|
|
6
|
+
import ScaleRow from "./ScaleRow";
|
|
7
|
+
import { styles } from "./style";
|
|
8
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
9
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
10
|
+
var ColorScales = /*#__PURE__*/memo(function (_ref) {
|
|
11
|
+
var name = _ref.name,
|
|
12
|
+
scale = _ref.scale,
|
|
13
|
+
midHighLight = _ref.midHighLight;
|
|
14
|
+
return /*#__PURE__*/_jsx(Flexbox, {
|
|
15
|
+
horizontal: true,
|
|
16
|
+
align: 'center',
|
|
17
|
+
flex: 1,
|
|
18
|
+
justify: 'center',
|
|
19
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
20
|
+
style: {
|
|
21
|
+
padding: '8px 16px 32px 0'
|
|
22
|
+
},
|
|
23
|
+
children: /*#__PURE__*/_jsxs(Space, {
|
|
24
|
+
direction: 'vertical',
|
|
25
|
+
size: 2,
|
|
26
|
+
children: [/*#__PURE__*/_jsxs(Space, {
|
|
27
|
+
size: 2,
|
|
28
|
+
children: [/*#__PURE__*/_jsx(Flexbox, {
|
|
29
|
+
horizontal: true,
|
|
30
|
+
align: 'center',
|
|
31
|
+
className: styles.scaleRowTitle
|
|
32
|
+
}, "scale-num"), Array.from({
|
|
33
|
+
length: scale.light.length
|
|
34
|
+
}).fill('').map(function (_, index) {
|
|
35
|
+
if (index === 0 || index === 12) return false;
|
|
36
|
+
var isMidHighlight = midHighLight === index;
|
|
37
|
+
return /*#__PURE__*/_jsx("div", {
|
|
38
|
+
className: styles.scaleBox,
|
|
39
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
40
|
+
className: styles.scaleBox,
|
|
41
|
+
children: /*#__PURE__*/_jsx(Flexbox, {
|
|
42
|
+
horizontal: true,
|
|
43
|
+
align: 'center',
|
|
44
|
+
className: styles.scaleItem,
|
|
45
|
+
justify: 'center',
|
|
46
|
+
style: {
|
|
47
|
+
fontWeight: isMidHighlight ? 700 : 400,
|
|
48
|
+
opacity: 0.5
|
|
49
|
+
},
|
|
50
|
+
children: index
|
|
51
|
+
})
|
|
52
|
+
})
|
|
53
|
+
}, "num".concat(index));
|
|
54
|
+
})]
|
|
55
|
+
}, "scale-title"), /*#__PURE__*/_jsx(ScaleRow, {
|
|
56
|
+
name: name,
|
|
57
|
+
scale: scale.light,
|
|
58
|
+
title: "light"
|
|
59
|
+
}, "light"), /*#__PURE__*/_jsx(ScaleRow, {
|
|
60
|
+
name: name,
|
|
61
|
+
scale: scale.lightA,
|
|
62
|
+
title: "lightA"
|
|
63
|
+
}, "lightA"), /*#__PURE__*/_jsx(ScaleRow, {
|
|
64
|
+
name: name,
|
|
65
|
+
scale: scale.dark,
|
|
66
|
+
title: "dark"
|
|
67
|
+
}, "dark"), /*#__PURE__*/_jsx(ScaleRow, {
|
|
68
|
+
name: name,
|
|
69
|
+
scale: scale.darkA,
|
|
70
|
+
title: "darkA"
|
|
71
|
+
}, "darkA")]
|
|
72
|
+
})
|
|
73
|
+
})
|
|
74
|
+
});
|
|
75
|
+
});
|
|
76
|
+
export default ColorScales;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
2
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
3
|
+
import { createStaticStyles } from 'antd-style';
|
|
4
|
+
export var alphaBg = {
|
|
5
|
+
dark: 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAAAZUlEQVRIDe2VMQoAMAgDa9/g/1/oIzrpZBCh2dLFkkoDF0Fz99OdiOjks+2/7S8fRRmMMIVoRGSoYzvvqF8ZIMKlC1GhQBc6IkPzq32QmdAzkEGihpWOSPsAss8HegYySNSw0hE9WQ4StafZFqkAAAAASUVORK5CYII=) 0% 0% / 26px',
|
|
6
|
+
light: 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAFpJREFUWAntljEKADAIA23p6v//qQ+wfUEcCu1yriEgp0FHRJSJcnehmmWm1Dv/lO4HIg1AAAKjTqm03ea88zMCCEDgO4HV5bS757f+7wRoAAIQ4B9gByAAgQ3pfiDmXmAeEwAAAABJRU5ErkJggg==) 0% 0% / 26px'
|
|
7
|
+
};
|
|
8
|
+
export var styles = createStaticStyles(function (_ref) {
|
|
9
|
+
var css = _ref.css,
|
|
10
|
+
cssVar = _ref.cssVar;
|
|
11
|
+
return {
|
|
12
|
+
scaleBox: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n cursor: pointer;\n\n position: relative;\n\n width: 48px;\n height: 32px;\n\n background-position:\n 0 0,\n 0 8px,\n 8px -8px,\n -8px 0;\n background-size: 16px 16px;\n\n transition: scale 400ms ", ";\n\n &:active {\n scale: 0.8;\n }\n "])), cssVar.motionEaseOut),
|
|
13
|
+
scaleItem: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n "]))),
|
|
14
|
+
scaleRowTitle: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 64px;\n height: 32px;\n "]))),
|
|
15
|
+
text: css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n opacity: 0.5;\n "])))
|
|
16
|
+
};
|
|
17
|
+
});
|
|
@@ -0,0 +1,61 @@
|
|
|
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 _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
3
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
|
+
import { message, Space } from 'antd';
|
|
6
|
+
import { memo } from 'react';
|
|
7
|
+
import { Flexbox } from "../../Flex";
|
|
8
|
+
import { copyToClipboard } from "../../utils/copyToClipboard";
|
|
9
|
+
import { styles } from "./style";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
var ScaleRow = /*#__PURE__*/memo(function (_ref) {
|
|
13
|
+
var name = _ref.name,
|
|
14
|
+
title = _ref.title,
|
|
15
|
+
scale = _ref.scale;
|
|
16
|
+
var style = {};
|
|
17
|
+
var isAlpha = false;
|
|
18
|
+
return /*#__PURE__*/_jsxs(Space, {
|
|
19
|
+
size: 2,
|
|
20
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
21
|
+
className: styles.scaleRowTitle,
|
|
22
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
23
|
+
className: styles.text,
|
|
24
|
+
children: title
|
|
25
|
+
})
|
|
26
|
+
}, title), scale.map(function (color, index) {
|
|
27
|
+
if (index === 0 || index === 12) return false;
|
|
28
|
+
return /*#__PURE__*/_jsx("div", {
|
|
29
|
+
className: styles.scaleBox,
|
|
30
|
+
style: style,
|
|
31
|
+
title: color,
|
|
32
|
+
onClick: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
33
|
+
var content;
|
|
34
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
35
|
+
while (1) switch (_context.prev = _context.next) {
|
|
36
|
+
case 0:
|
|
37
|
+
content = "token.".concat(name).concat(index).concat(isAlpha ? 'A' : '', " /* ").concat(color, " */");
|
|
38
|
+
_context.next = 3;
|
|
39
|
+
return copyToClipboard(content);
|
|
40
|
+
case 3:
|
|
41
|
+
message.success(content);
|
|
42
|
+
case 4:
|
|
43
|
+
case "end":
|
|
44
|
+
return _context.stop();
|
|
45
|
+
}
|
|
46
|
+
}, _callee);
|
|
47
|
+
})),
|
|
48
|
+
children: /*#__PURE__*/_jsx(Flexbox, {
|
|
49
|
+
horizontal: true,
|
|
50
|
+
align: 'center',
|
|
51
|
+
className: styles.scaleItem,
|
|
52
|
+
justify: 'center',
|
|
53
|
+
style: {
|
|
54
|
+
backgroundColor: color
|
|
55
|
+
}
|
|
56
|
+
})
|
|
57
|
+
}, index);
|
|
58
|
+
})]
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
export default ScaleRow;
|
|
@@ -0,0 +1,56 @@
|
|
|
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 _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return e; }; var t, e = {}, r = Object.prototype, n = r.hasOwnProperty, o = Object.defineProperty || function (t, e, r) { t[e] = r.value; }, i = "function" == typeof Symbol ? Symbol : {}, a = i.iterator || "@@iterator", c = i.asyncIterator || "@@asyncIterator", u = i.toStringTag || "@@toStringTag"; function define(t, e, r) { return Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }), t[e]; } try { define({}, ""); } catch (t) { define = function define(t, e, r) { return t[e] = r; }; } function wrap(t, e, r, n) { var i = e && e.prototype instanceof Generator ? e : Generator, a = Object.create(i.prototype), c = new Context(n || []); return o(a, "_invoke", { value: makeInvokeMethod(t, r, c) }), a; } function tryCatch(t, e, r) { try { return { type: "normal", arg: t.call(e, r) }; } catch (t) { return { type: "throw", arg: t }; } } e.wrap = wrap; var h = "suspendedStart", l = "suspendedYield", f = "executing", s = "completed", y = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var p = {}; define(p, a, function () { return this; }); var d = Object.getPrototypeOf, v = d && d(d(values([]))); v && v !== r && n.call(v, a) && (p = v); var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p); function defineIteratorMethods(t) { ["next", "throw", "return"].forEach(function (e) { define(t, e, function (t) { return this._invoke(e, t); }); }); } function AsyncIterator(t, e) { function invoke(r, o, i, a) { var c = tryCatch(t[r], t, o); if ("throw" !== c.type) { var u = c.arg, h = u.value; return h && "object" == _typeof(h) && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) { invoke("next", t, i, a); }, function (t) { invoke("throw", t, i, a); }) : e.resolve(h).then(function (t) { u.value = t, i(u); }, function (t) { return invoke("throw", t, i, a); }); } a(c.arg); } var r; o(this, "_invoke", { value: function value(t, n) { function callInvokeWithMethodAndArg() { return new e(function (e, r) { invoke(t, n, e, r); }); } return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(e, r, n) { var o = h; return function (i, a) { if (o === f) throw new Error("Generator is already running"); if (o === s) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var c = n.delegate; if (c) { var u = maybeInvokeDelegate(c, n); if (u) { if (u === y) continue; return u; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (o === h) throw o = s, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = f; var p = tryCatch(e, r, n); if ("normal" === p.type) { if (o = n.done ? s : l, p.arg === y) continue; return { value: p.arg, done: n.done }; } "throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg); } }; } function maybeInvokeDelegate(e, r) { var n = r.method, o = e.iterator[n]; if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y; var i = tryCatch(o, e.iterator, r.arg); if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y; var a = i.arg; return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y); } function pushTryEntry(t) { var e = { tryLoc: t[0] }; 1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e); } function resetTryEntry(t) { var e = t.completion || {}; e.type = "normal", delete e.arg, t.completion = e; } function Context(t) { this.tryEntries = [{ tryLoc: "root" }], t.forEach(pushTryEntry, this), this.reset(!0); } function values(e) { if (e || "" === e) { var r = e[a]; if (r) return r.call(e); if ("function" == typeof e.next) return e; if (!isNaN(e.length)) { var o = -1, i = function next() { for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next; return next.value = t, next.done = !0, next; }; return i.next = i; } } throw new TypeError(_typeof(e) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), o(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) { var e = "function" == typeof t && t.constructor; return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name)); }, e.mark = function (t) { return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t; }, e.awrap = function (t) { return { __await: t }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () { return this; }), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) { void 0 === i && (i = Promise); var a = new AsyncIterator(wrap(t, r, n, o), i); return e.isGeneratorFunction(r) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () { return this; }), define(g, "toString", function () { return "[object Generator]"; }), e.keys = function (t) { var e = Object(t), r = []; for (var n in e) r.push(n); return r.reverse(), function next() { for (; r.length;) { var t = r.pop(); if (t in e) return next.value = t, next.done = !1, next; } return next.done = !0, next; }; }, e.values = values, Context.prototype = { constructor: Context, reset: function reset(e) { if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0].completion; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(e) { if (this.done) throw e; var r = this; function handle(n, o) { return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o; } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i.completion; if ("root" === i.tryLoc) return handle("end"); if (i.tryLoc <= this.prev) { var c = n.call(i, "catchLoc"), u = n.call(i, "finallyLoc"); if (c && u) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } else if (c) { if (this.prev < i.catchLoc) return handle(i.catchLoc, !0); } else { if (!u) throw new Error("try statement without catch or finally"); if (this.prev < i.finallyLoc) return handle(i.finallyLoc); } } } }, abrupt: function abrupt(t, e) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var o = this.tryEntries[r]; if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) { var i = o; break; } } i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null); var a = i ? i.completion : {}; return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a); }, complete: function complete(t, e) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y; }, finish: function finish(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y; } }, catch: function _catch(t) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var r = this.tryEntries[e]; if (r.tryLoc === t) { var n = r.completion; if ("throw" === n.type) { var o = n.arg; resetTryEntry(r); } return o; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(e, r, n) { return this.delegate = { iterator: values(e), resultName: r, nextLoc: n }, "next" === this.method && (this.arg = t), y; } }, e; }
|
|
3
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
|
+
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
|
+
import { message, Space } from 'antd';
|
|
6
|
+
import { cssVar } from 'antd-style';
|
|
7
|
+
import { memo } from 'react';
|
|
8
|
+
import { Flexbox } from "../../Flex";
|
|
9
|
+
import { copyToClipboard } from "../../utils/copyToClipboard";
|
|
10
|
+
import { styles } from "./style";
|
|
11
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
var ScaleRow = /*#__PURE__*/memo(function (_ref) {
|
|
14
|
+
var name = _ref.name;
|
|
15
|
+
return /*#__PURE__*/_jsxs(Space, {
|
|
16
|
+
size: 2,
|
|
17
|
+
children: [/*#__PURE__*/_jsx("div", {
|
|
18
|
+
className: styles.scaleRowTitle,
|
|
19
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
20
|
+
className: styles.text,
|
|
21
|
+
children: "cssVar"
|
|
22
|
+
})
|
|
23
|
+
}, name), [1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(function (color) {
|
|
24
|
+
return /*#__PURE__*/_jsx("div", {
|
|
25
|
+
className: styles.scaleBox,
|
|
26
|
+
title: cssVar["".concat(name).concat(color)],
|
|
27
|
+
onClick: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
28
|
+
var content;
|
|
29
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
30
|
+
while (1) switch (_context.prev = _context.next) {
|
|
31
|
+
case 0:
|
|
32
|
+
content = cssVar["".concat(name).concat(color)];
|
|
33
|
+
_context.next = 3;
|
|
34
|
+
return copyToClipboard(content);
|
|
35
|
+
case 3:
|
|
36
|
+
message.success(content);
|
|
37
|
+
case 4:
|
|
38
|
+
case "end":
|
|
39
|
+
return _context.stop();
|
|
40
|
+
}
|
|
41
|
+
}, _callee);
|
|
42
|
+
})),
|
|
43
|
+
children: /*#__PURE__*/_jsx(Flexbox, {
|
|
44
|
+
horizontal: true,
|
|
45
|
+
align: 'center',
|
|
46
|
+
className: styles.scaleItem,
|
|
47
|
+
justify: 'center',
|
|
48
|
+
style: {
|
|
49
|
+
backgroundColor: cssVar["".concat(name).concat(color)]
|
|
50
|
+
}
|
|
51
|
+
})
|
|
52
|
+
}, color);
|
|
53
|
+
})]
|
|
54
|
+
});
|
|
55
|
+
});
|
|
56
|
+
export default ScaleRow;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { type ColorScaleItem } from '../types';
|
|
3
|
+
export interface ColorScalesProps {
|
|
4
|
+
/**
|
|
5
|
+
* @description Index of the mid highlight color in the scale
|
|
6
|
+
*/
|
|
7
|
+
midHighLight: number;
|
|
8
|
+
/**
|
|
9
|
+
* @description Name of the color scale
|
|
10
|
+
*/
|
|
11
|
+
name: string;
|
|
12
|
+
/**
|
|
13
|
+
* @description Color scale item object
|
|
14
|
+
*/
|
|
15
|
+
scale: ColorScaleItem;
|
|
16
|
+
}
|
|
17
|
+
declare const ColorScales: import("react").NamedExoticComponent<ColorScalesProps>;
|
|
18
|
+
export default ColorScales;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { Space } from 'antd';
|
|
4
|
+
import { useThemeMode } from 'antd-style';
|
|
5
|
+
import { memo } from 'react';
|
|
6
|
+
import { Flexbox } from "../../Flex";
|
|
7
|
+
import ScaleRow from "./ScaleRow";
|
|
8
|
+
import { styles } from "./style";
|
|
9
|
+
import VarRow from "./VarRow";
|
|
10
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
11
|
+
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
12
|
+
import { Fragment as _Fragment } from "react/jsx-runtime";
|
|
13
|
+
var ColorScales = /*#__PURE__*/memo(function (_ref) {
|
|
14
|
+
var name = _ref.name,
|
|
15
|
+
scale = _ref.scale,
|
|
16
|
+
midHighLight = _ref.midHighLight;
|
|
17
|
+
var _useThemeMode = useThemeMode(),
|
|
18
|
+
isDarkMode = _useThemeMode.isDarkMode;
|
|
19
|
+
return /*#__PURE__*/_jsx(Flexbox, {
|
|
20
|
+
horizontal: true,
|
|
21
|
+
align: 'center',
|
|
22
|
+
flex: 1,
|
|
23
|
+
justify: 'center',
|
|
24
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
25
|
+
style: {
|
|
26
|
+
padding: '8px 16px 32px 0'
|
|
27
|
+
},
|
|
28
|
+
children: /*#__PURE__*/_jsxs(Space, {
|
|
29
|
+
direction: 'vertical',
|
|
30
|
+
size: 2,
|
|
31
|
+
children: [/*#__PURE__*/_jsxs(Space, {
|
|
32
|
+
size: 2,
|
|
33
|
+
children: [/*#__PURE__*/_jsx(Flexbox, {
|
|
34
|
+
horizontal: true,
|
|
35
|
+
align: 'center',
|
|
36
|
+
className: styles.scaleRowTitle
|
|
37
|
+
}, "scale-num"), Array.from({
|
|
38
|
+
length: scale.light.length
|
|
39
|
+
}).fill('').map(function (_, index) {
|
|
40
|
+
if (index === 0 || index === 12) return false;
|
|
41
|
+
var isMidHighlight = midHighLight === index;
|
|
42
|
+
return /*#__PURE__*/_jsx("div", {
|
|
43
|
+
className: styles.scaleBox,
|
|
44
|
+
children: /*#__PURE__*/_jsx("div", {
|
|
45
|
+
className: styles.scaleBox,
|
|
46
|
+
children: /*#__PURE__*/_jsx(Flexbox, {
|
|
47
|
+
horizontal: true,
|
|
48
|
+
align: 'center',
|
|
49
|
+
className: styles.scaleItem,
|
|
50
|
+
justify: 'center',
|
|
51
|
+
style: {
|
|
52
|
+
fontWeight: isMidHighlight ? 700 : 400,
|
|
53
|
+
opacity: 0.5
|
|
54
|
+
},
|
|
55
|
+
children: index
|
|
56
|
+
})
|
|
57
|
+
})
|
|
58
|
+
}, "num".concat(index));
|
|
59
|
+
})]
|
|
60
|
+
}, "scale-title"), /*#__PURE__*/_jsx(VarRow, {
|
|
61
|
+
name: name
|
|
62
|
+
}), isDarkMode ? /*#__PURE__*/_jsxs(_Fragment, {
|
|
63
|
+
children: [/*#__PURE__*/_jsx(ScaleRow, {
|
|
64
|
+
name: name,
|
|
65
|
+
scale: scale.dark,
|
|
66
|
+
title: "dark"
|
|
67
|
+
}, "dark"), /*#__PURE__*/_jsx(ScaleRow, {
|
|
68
|
+
name: name,
|
|
69
|
+
scale: scale.light,
|
|
70
|
+
title: "light"
|
|
71
|
+
}, "light")]
|
|
72
|
+
}) : /*#__PURE__*/_jsxs(_Fragment, {
|
|
73
|
+
children: [' ', /*#__PURE__*/_jsx(ScaleRow, {
|
|
74
|
+
name: name,
|
|
75
|
+
scale: scale.light,
|
|
76
|
+
title: "light"
|
|
77
|
+
}, "light"), /*#__PURE__*/_jsx(ScaleRow, {
|
|
78
|
+
name: name,
|
|
79
|
+
scale: scale.dark,
|
|
80
|
+
title: "dark"
|
|
81
|
+
}, "dark")]
|
|
82
|
+
})]
|
|
83
|
+
})
|
|
84
|
+
})
|
|
85
|
+
});
|
|
86
|
+
});
|
|
87
|
+
export default ColorScales;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
var _templateObject, _templateObject2, _templateObject3, _templateObject4;
|
|
2
|
+
function _taggedTemplateLiteral(strings, raw) { if (!raw) { raw = strings.slice(0); } return Object.freeze(Object.defineProperties(strings, { raw: { value: Object.freeze(raw) } })); }
|
|
3
|
+
import { createStaticStyles } from 'antd-style';
|
|
4
|
+
export var alphaBg = {
|
|
5
|
+
dark: 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAIKADAAQAAAABAAAAIAAAAACPTkDJAAAAZUlEQVRIDe2VMQoAMAgDa9/g/1/oIzrpZBCh2dLFkkoDF0Fz99OdiOjks+2/7S8fRRmMMIVoRGSoYzvvqF8ZIMKlC1GhQBc6IkPzq32QmdAzkEGihpWOSPsAss8HegYySNSw0hE9WQ4StafZFqkAAAAASUVORK5CYII=) 0% 0% / 26px',
|
|
6
|
+
light: 'url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/xhBQAAAFpJREFUWAntljEKADAIA23p6v//qQ+wfUEcCu1yriEgp0FHRJSJcnehmmWm1Dv/lO4HIg1AAAKjTqm03ea88zMCCEDgO4HV5bS757f+7wRoAAIQ4B9gByAAgQ3pfiDmXmAeEwAAAABJRU5ErkJggg==) 0% 0% / 26px'
|
|
7
|
+
};
|
|
8
|
+
export var styles = createStaticStyles(function (_ref) {
|
|
9
|
+
var css = _ref.css,
|
|
10
|
+
cssVar = _ref.cssVar;
|
|
11
|
+
return {
|
|
12
|
+
scaleBox: css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n cursor: pointer;\n\n position: relative;\n\n width: 48px;\n height: 32px;\n\n background-position:\n 0 0,\n 0 8px,\n 8px -8px,\n -8px 0;\n background-size: 16px 16px;\n\n transition: scale 400ms ", ";\n\n &:active {\n scale: 0.8;\n }\n "])), cssVar.motionEaseOut),
|
|
13
|
+
scaleItem: css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 100%;\n height: 100%;\n "]))),
|
|
14
|
+
scaleRowTitle: css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n width: 64px;\n height: 32px;\n "]))),
|
|
15
|
+
text: css(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n opacity: 0.5;\n "])))
|
|
16
|
+
};
|
|
17
|
+
});
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var blue = {
|
|
2
|
+
dark: ['#000506', '#002126', '#00363f', '#004e59', '#006675', '#008093', '#159ab0', '#47b3ca', '#6acde4', '#8ae8ff', '#b8f0ff', '#def7ff', '#ffffff'],
|
|
3
|
+
darkA: ['rgba(0, 167, 200, 0.03)', 'rgba(0, 220, 253, 0.15)', 'rgba(0, 216, 252, 0.25)', 'rgba(0, 223, 254, 0.35)', 'rgba(0, 222, 254, 0.46)', 'rgba(0, 221, 253, 0.58)', 'rgba(30, 223, 255, 0.69)', 'rgba(89, 224, 252, 0.8)', 'rgba(118, 228, 253, 0.9)', '#8ae8ff', '#b8f0ff', '#def7ff', '#ffffff'],
|
|
4
|
+
light: ['#ffffff', '#fbfeff', '#f4fcff', '#eafaff', '#dff7ff', '#d3f5ff', '#c4f2ff', '#b4efff', '#a1ecff', '#8ae8ff', '#159ab0', '#004e59', '#000506'],
|
|
5
|
+
lightA: ['rgba(255, 255, 255, 0.01)', 'rgba(55, 205, 255, 0.02)', 'rgba(35, 195, 255, 0.05)', 'rgba(22, 199, 255, 0.09)', 'rgba(9, 193, 255, 0.13)', 'rgba(11, 199, 255, 0.18)', 'rgba(9, 201, 255, 0.24)', 'rgba(5, 202, 255, 0.3)', 'rgba(1, 204, 255, 0.37)', 'rgba(1, 205, 255, 0.46)', 'rgba(1, 145, 169, 0.92)', '#004e59', '#000506']
|
|
6
|
+
};
|
|
7
|
+
export default blue;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var cyan = {
|
|
2
|
+
dark: ['#000503', '#00221c', '#003930', '#005245', '#006c5b', '#008772', '#2fa28a', '#55bca4', '#75d7be', '#95f3d9', '#bdf7e4', '#dffcf0', '#ffffff'],
|
|
3
|
+
darkA: ['rgba(0, 250, 150, 0.02)', 'rgba(0, 243, 200, 0.14)', 'rgba(0, 248, 209, 0.23)', 'rgba(0, 248, 209, 0.33)', 'rgba(0, 251, 212, 0.43)', 'rgba(0, 255, 215, 0.53)', 'rgba(73, 253, 216, 0.64)', 'rgba(115, 254, 222, 0.74)', 'rgba(138, 253, 224, 0.85)', 'rgba(155, 253, 226, 0.96)', 'rgba(195, 255, 235, 0.97)', 'rgba(225, 255, 242, 0.99)', '#ffffff'],
|
|
4
|
+
light: ['#ffffff', '#f9fffb', '#effff8', '#e3fff4', '#d8fef0', '#ccfcec', '#c0fae8', '#b3f8e3', '#a5f6de', '#95f3d9', '#2fa28a', '#005245', '#000503'],
|
|
5
|
+
lightA: ['rgba(255, 255, 255, 0.01)', 'rgba(55, 255, 122, 0.03)', 'rgba(26, 255, 155, 0.07)', 'rgba(0, 255, 155, 0.11)', 'rgba(11, 249, 161, 0.16)', 'rgba(0, 240, 160, 0.2)', 'rgba(3, 235, 163, 0.25)', 'rgba(2, 232, 162, 0.3)', 'rgba(5, 230, 163, 0.36)', 'rgba(3, 226, 165, 0.42)', 'rgba(1, 142, 112, 0.82)', '#005245', '#000503']
|
|
6
|
+
};
|
|
7
|
+
export default cyan;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var geekblue = {
|
|
2
|
+
dark: ['#00021b', '#000d4c', '#001a69', '#002a8a', '#003bac', '#004cca', '#005ae0', '#0065ed', '#006cf3', '#0072f5', '#9abeff', '#e2ebff', '#ffffff'],
|
|
3
|
+
darkA: ['rgba(0, 18, 245, 0.11)', 'rgba(0, 43, 253, 0.3)', 'rgba(0, 62, 250, 0.42)', 'rgba(0, 76, 251, 0.55)', 'rgba(0, 87, 253, 0.68)', 'rgba(0, 95, 252, 0.8)', 'rgba(0, 102, 255, 0.88)', 'rgba(0, 109, 255, 0.93)', 'rgba(0, 112, 253, 0.96)', 'rgba(0, 119, 255, 0.96)', '#9abeff', '#e2ebff', '#ffffff'],
|
|
4
|
+
light: ['#ffffff', '#fcfbff', '#f1f5ff', '#e2ebff', '#cedfff', '#b6d0ff', '#9abeff', '#78a9ff', '#4c90ff', '#0072f5', '#005ae0', '#002a8a', '#00021b'],
|
|
5
|
+
lightA: ['rgba(255, 255, 255, 0.01)', 'rgba(105, 55, 255, 0.02)', 'rgba(22, 88, 255, 0.06)', 'rgba(13, 88, 255, 0.12)', 'rgba(10, 95, 255, 0.2)', 'rgba(3, 93, 255, 0.29)', 'rgba(3, 93, 255, 0.4)', 'rgba(0, 93, 255, 0.53)', 'rgba(3, 99, 255, 0.71)', '#0072f5', '#005ae0', '#002a8a', '#00021b']
|
|
6
|
+
};
|
|
7
|
+
export default geekblue;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var gold = {
|
|
2
|
+
dark: ['#070300', '#2a1b00', '#483000', '#6a4900', '#916400', '#b77e00', '#d59300', '#eaa100', '#f8aa00', '#ffb224', '#ffdcaf', '#fff4eb', '#ffffff'],
|
|
3
|
+
darkA: ['rgba(233, 100, 0, 0.03)', 'rgba(247, 159, 0, 0.17)', 'rgba(248, 166, 0, 0.29)', 'rgba(252, 174, 0, 0.42)', 'rgba(254, 175, 0, 0.57)', 'rgba(254, 175, 0, 0.72)', 'rgba(254, 175, 0, 0.84)', 'rgba(254, 175, 0, 0.92)', 'rgba(253, 173, 0, 0.98)', '#ffb224', '#ffdcaf', '#fff4eb', '#ffffff'],
|
|
4
|
+
light: ['#ffffff', '#fffdff', '#fff9f7', '#fff4eb', '#ffeedc', '#ffe6c8', '#ffdcaf', '#ffd190', '#ffc368', '#ee9e0b', '#d59300', '#6a4900', '#070300'],
|
|
5
|
+
lightA: ['rgba(255, 255, 255, 0.02)', 'rgba(255,145,55,0.04)', 'rgba(255,155,55,0.08)', 'rgba(255, 117, 5, 0.16)', 'rgba(255, 134, 5, 0.20)', 'rgba(255, 141, 5, 0.26)', 'rgba(255, 146, 5, 0.32)', 'rgba(255, 150, 3, 0.44)', 'rgba(255, 155, 3, 0.6)', 'rgba(255, 165, 0, 0.86)', '#d59300', '#6a4900', '#070300']
|
|
6
|
+
};
|
|
7
|
+
export default gold;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var gray = {
|
|
2
|
+
dark: ['#000000', '#0d0d0d', '#1a1a1a', '#202020', '#2d2d2d', '#444444', '#555555', '#666666', '#6f6f6f', '#777777', '#aaaaaa', '#dddddd', '#ffffff'],
|
|
3
|
+
darkA: ['rgba(255, 255, 255, 0.02)', 'rgba(255, 255, 255, 0.06)', 'rgba(255, 255, 255, 0.10)', 'rgba(255, 255, 255, 0.16)', 'rgba(255, 255, 255, 0.24)', 'rgba(255, 255, 255, 0.28)', 'rgba(255, 255, 255, 0.32)', 'rgba(255, 255, 255, 0.38)', 'rgba(255, 255, 255, 0.44)', 'rgba(255, 255, 255, 0.5)', 'rgba(255, 255, 255, 0.66)', 'rgba(255, 255, 255, 0.84)', '#ffffff'],
|
|
4
|
+
light: ['#ffffff', '#f8f8f8', '#eeeeee', '#e3e3e3', '#dddddd', '#cccccc', '#bbbbbb', '#aaaaaa', '#999999', '#888888', '#666666', '#333333', '#080808'],
|
|
5
|
+
lightA: ['rgba(0, 0, 0, 0.015)', 'rgba(0, 0, 0, 0.03)', 'rgba(0, 0, 0, 0.06)', 'rgba(0, 0, 0, 0.12)', 'rgba(0, 0, 0, 0.18)', 'rgba(0, 0, 0, 0.24)', 'rgba(0, 0, 0, 0.32)', 'rgba(0, 0, 0, 0.38)', 'rgba(0, 0, 0, 0.44)', 'rgba(0, 0, 0, 0.5)', 'rgba(0, 0, 0, 0.68)', 'rgba(0, 0, 0, 0.84)', 'rgba(0, 0, 0, 0.98)']
|
|
6
|
+
};
|
|
7
|
+
export default gray;
|