@lobehub/ui 3.4.5 → 4.0.0
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/README.md +48 -0
- package/es/Accordion/Accordion.d.mts +2 -2
- package/es/Accordion/AccordionItem.d.mts +2 -2
- package/es/Accordion/AccordionItem.mjs +5 -5
- package/es/Accordion/AccordionItem.mjs.map +1 -1
- package/es/ActionIcon/ActionIcon.d.mts +2 -2
- package/es/Alert/Alert.d.mts +2 -2
- package/es/AutoComplete/Select.d.mts +2 -2
- package/es/Avatar/AvatarGroup/index.d.mts +2 -2
- package/es/Burger/Burger.d.mts +2 -2
- package/es/CodeEditor/CodeEditor.d.mts +2 -2
- package/es/Collapse/Collapse.d.mts +2 -2
- package/es/ConfigProvider/index.d.mts +10 -4
- package/es/ConfigProvider/index.mjs +28 -6
- package/es/ConfigProvider/index.mjs.map +1 -1
- package/es/CopyButton/CopyButton.d.mts +2 -2
- package/es/DatePicker/DatePicker.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
- package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
- package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
- package/es/Drawer/Drawer.d.mts +2 -2
- package/es/Dropdown/Dropdown.d.mts +2 -2
- package/es/EditableText/EditableText.d.mts +2 -2
- package/es/EmojiPicker/AvatarUploader.mjs +10 -4
- package/es/EmojiPicker/AvatarUploader.mjs.map +1 -1
- package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
- package/es/EmojiPicker/EmojiPicker.mjs +9 -3
- package/es/EmojiPicker/EmojiPicker.mjs.map +1 -1
- package/es/Flex/FlexBasic.d.mts +2 -2
- package/es/Footer/Footer.d.mts +2 -2
- package/es/Form/components/FormGroup.d.mts +2 -2
- package/es/Form/components/FormItem.d.mts +2 -2
- package/es/Form/components/FormSubmitFooter.d.mts +2 -2
- package/es/Form/components/FormSubmitFooter.mjs +20 -8
- package/es/Form/components/FormSubmitFooter.mjs.map +1 -1
- package/es/FormModal/FormModal.d.mts +2 -2
- package/es/GuideCard/GuideCard.d.mts +2 -2
- package/es/Header/Header.d.mts +2 -2
- package/es/Highlighter/Highlighter.d.mts +2 -2
- package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
- package/es/Hotkey/Hotkey.d.mts +2 -2
- package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
- package/es/HotkeyInput/HotkeyInput.mjs +13 -6
- package/es/HotkeyInput/HotkeyInput.mjs.map +1 -1
- package/es/Icon/Icon.d.mts +2 -2
- package/es/Icon/components/IconProvider.d.mts +3 -3
- package/es/Image/PreviewGroup.d.mts +2 -2
- package/es/ImageSelect/ImageSelect.d.mts +2 -2
- package/es/Input/Input.d.mts +2 -2
- package/es/Input/InputNumber.d.mts +2 -2
- package/es/Input/InputOPT.d.mts +2 -2
- package/es/Input/InputPassword.d.mts +2 -2
- package/es/Input/TextArea.d.mts +2 -2
- package/es/Layout/components/LayoutFooter.d.mts +2 -2
- package/es/Layout/components/LayoutHeader.d.mts +2 -2
- package/es/Layout/components/LayoutMain.d.mts +2 -2
- package/es/Layout/components/LayoutSidebar.d.mts +2 -2
- package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
- package/es/Layout/components/LayoutToc.d.mts +2 -2
- package/es/List/ListItem/index.d.mts +2 -2
- package/es/Markdown/Markdown.d.mts +2 -2
- package/es/Markdown/Typography.d.mts +2 -2
- package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
- package/es/MaskShadow/MaskShadow.d.mts +2 -2
- package/es/Menu/Menu.d.mts +2 -2
- package/es/Mermaid/Mermaid.d.mts +2 -2
- package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
- package/es/Modal/Modal.d.mts +2 -2
- package/es/MotionProvider/index.d.mts +15 -0
- package/es/MotionProvider/index.d.ts +1 -0
- package/es/MotionProvider/index.js +1 -0
- package/es/MotionProvider/index.mjs +22 -0
- package/es/MotionProvider/index.mjs.map +1 -0
- package/es/Provider.d.mts +2 -0
- package/es/Segmented/Segmented.d.mts +2 -2
- package/es/Select/Select.d.mts +2 -2
- package/es/SideNav/SideNav.d.mts +2 -2
- package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
- package/es/SortableList/components/DragHandle.d.mts +2 -2
- package/es/SortableList/components/SortableItem.d.mts +2 -2
- package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
- package/es/ThemeProvider/ThemeProvider.mjs +11 -4
- package/es/ThemeProvider/ThemeProvider.mjs.map +1 -1
- package/es/ThemeProvider/type.d.mts +4 -0
- package/es/Toc/Toc.d.mts +2 -2
- package/es/Tooltip/Tooltip.mjs +1 -1
- package/es/Tooltip/Tooltip.mjs.map +1 -1
- package/es/Tooltip/TooltipFloating.mjs.map +1 -1
- package/es/Video/index.d.mts +2 -2
- package/es/_virtual/rolldown_runtime.mjs +18 -0
- package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
- package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
- package/es/awesome/Features/Features.d.mts +2 -2
- package/es/awesome/Giscus/Giscus.d.mts +2 -2
- package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
- package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
- package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
- package/es/awesome/Hero/Hero.d.mts +2 -2
- package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
- package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
- package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
- package/es/awesome/TypewriterEffect/TypewriterEffect.mjs +5 -4
- package/es/awesome/TypewriterEffect/TypewriterEffect.mjs.map +1 -1
- package/es/brand/BrandLoading/{style-CB0aumHV.css → style-Cof4dJBw.css} +1 -1
- package/es/brand/BrandLoading/{style-CB0aumHV.css.map → style-Cof4dJBw.css.map} +1 -1
- package/es/brand/LobeChat/index.d.mts +2 -2
- package/es/brand/LobeHub/index.d.mts +2 -2
- package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
- package/es/brand/LogoThree/index.d.mts +2 -2
- package/es/chat/BackBottom/BackBottom.d.mts +2 -2
- package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
- package/es/chat/ChatItem/ChatItem.d.mts +2 -2
- package/es/chat/ChatItem/ChatItem.mjs +8 -3
- package/es/chat/ChatItem/ChatItem.mjs.map +1 -1
- package/es/chat/ChatList/ChatList.d.mts +2 -2
- package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
- package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
- package/es/chat/EditableMessageList/EditableMessageList.mjs +17 -7
- package/es/chat/EditableMessageList/EditableMessageList.mjs.map +1 -1
- package/es/chat/EditableMessageList/type.d.mts +9 -0
- package/es/chat/MessageInput/MessageInput.d.mts +2 -2
- package/es/chat/MessageModal/MessageModal.d.mts +2 -2
- package/es/chat/MessageModal/MessageModal.mjs +27 -22
- package/es/chat/MessageModal/MessageModal.mjs.map +1 -1
- package/es/chat/TokenTag/TokenTag.mjs +7 -1
- package/es/chat/TokenTag/TokenTag.mjs.map +1 -1
- package/es/color/ColorScales/index.d.mts +2 -2
- package/es/i18n/context.d.mts +17 -0
- package/es/i18n/context.mjs +18 -0
- package/es/i18n/context.mjs.map +1 -0
- package/es/i18n/index.d.mts +6 -0
- package/es/i18n/index.d.ts +1 -0
- package/es/i18n/index.js +1 -0
- package/es/i18n/index.mjs +6 -0
- package/es/i18n/resources/en/chat.d.mts +11 -0
- package/es/i18n/resources/en/chat.mjs +12 -0
- package/es/i18n/resources/en/chat.mjs.map +1 -0
- package/es/i18n/resources/en/common.d.mts +10 -0
- package/es/i18n/resources/en/common.mjs +11 -0
- package/es/i18n/resources/en/common.mjs.map +1 -0
- package/es/i18n/resources/en/editableMessage.d.mts +13 -0
- package/es/i18n/resources/en/editableMessage.mjs +14 -0
- package/es/i18n/resources/en/editableMessage.mjs.map +1 -0
- package/es/i18n/resources/en/emojiPicker.d.mts +12 -0
- package/es/i18n/resources/en/emojiPicker.mjs +13 -0
- package/es/i18n/resources/en/emojiPicker.mjs.map +1 -0
- package/es/i18n/resources/en/form.d.mts +10 -0
- package/es/i18n/resources/en/form.mjs +11 -0
- package/es/i18n/resources/en/form.mjs.map +1 -0
- package/es/i18n/resources/en/hotkey.d.mts +10 -0
- package/es/i18n/resources/en/hotkey.mjs +11 -0
- package/es/i18n/resources/en/hotkey.mjs.map +1 -0
- package/es/i18n/resources/en/index.d.mts +16 -0
- package/es/i18n/resources/en/index.mjs +25 -0
- package/es/i18n/resources/en/index.mjs.map +1 -0
- package/es/i18n/resources/en/messageModal.d.mts +9 -0
- package/es/i18n/resources/en/messageModal.mjs +10 -0
- package/es/i18n/resources/en/messageModal.mjs.map +1 -0
- package/es/i18n/resources/en/sideNav.d.mts +21 -0
- package/es/i18n/resources/en/sideNav.mjs +22 -0
- package/es/i18n/resources/en/sideNav.mjs.map +1 -0
- package/es/i18n/resources/index.d.mts +3 -0
- package/es/i18n/resources/index.mjs +4 -0
- package/es/i18n/resources/zhCn/chat.d.mts +11 -0
- package/es/i18n/resources/zhCn/chat.mjs +12 -0
- package/es/i18n/resources/zhCn/chat.mjs.map +1 -0
- package/es/i18n/resources/zhCn/common.d.mts +10 -0
- package/es/i18n/resources/zhCn/common.mjs +11 -0
- package/es/i18n/resources/zhCn/common.mjs.map +1 -0
- package/es/i18n/resources/zhCn/editableMessage.d.mts +13 -0
- package/es/i18n/resources/zhCn/editableMessage.mjs +14 -0
- package/es/i18n/resources/zhCn/editableMessage.mjs.map +1 -0
- package/es/i18n/resources/zhCn/emojiPicker.d.mts +12 -0
- package/es/i18n/resources/zhCn/emojiPicker.mjs +13 -0
- package/es/i18n/resources/zhCn/emojiPicker.mjs.map +1 -0
- package/es/i18n/resources/zhCn/form.d.mts +10 -0
- package/es/i18n/resources/zhCn/form.mjs +11 -0
- package/es/i18n/resources/zhCn/form.mjs.map +1 -0
- package/es/i18n/resources/zhCn/hotkey.d.mts +10 -0
- package/es/i18n/resources/zhCn/hotkey.mjs +11 -0
- package/es/i18n/resources/zhCn/hotkey.mjs.map +1 -0
- package/es/i18n/resources/zhCn/index.d.mts +16 -0
- package/es/i18n/resources/zhCn/index.mjs +25 -0
- package/es/i18n/resources/zhCn/index.mjs.map +1 -0
- package/es/i18n/resources/zhCn/messageModal.d.mts +9 -0
- package/es/i18n/resources/zhCn/messageModal.mjs +10 -0
- package/es/i18n/resources/zhCn/messageModal.mjs.map +1 -0
- package/es/i18n/resources/zhCn/sideNav.d.mts +21 -0
- package/es/i18n/resources/zhCn/sideNav.mjs +22 -0
- package/es/i18n/resources/zhCn/sideNav.mjs.map +1 -0
- package/es/i18n/types.d.mts +28 -0
- package/es/i18n/useTranslation.d.mts +10 -0
- package/es/i18n/useTranslation.mjs +22 -0
- package/es/i18n/useTranslation.mjs.map +1 -0
- package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
- package/es/icons/lucideExtra/CreateBotIcon.d.mts +3 -3
- package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GlobeOffIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
- package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
- package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
- package/es/icons/lucideExtra/RightClickIcon.d.mts +2 -2
- package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
- package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
- package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
- package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
- package/es/index.d.mts +5 -1
- package/es/index.mjs +4 -1
- package/es/mdx/Mdx/index.d.mts +2 -2
- package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
- package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
- package/es/mobile/TabBar/TabBar.d.mts +2 -2
- package/es/motion/LazyMotion.d.mts +2 -2
- package/es/storybook/StoryBook/index.d.mts +2 -2
- package/package.json +27 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/common.ts
|
|
2
|
+
var common_default = {
|
|
3
|
+
"common.cancel": "取消",
|
|
4
|
+
"common.confirm": "确认",
|
|
5
|
+
"common.delete": "删除",
|
|
6
|
+
"common.edit": "编辑"
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { common_default as default };
|
|
11
|
+
//# sourceMappingURL=common.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/common.ts"],"sourcesContent":["export default {\n 'common.cancel': '取消',\n 'common.confirm': '确认',\n 'common.delete': '删除',\n 'common.edit': '编辑',\n} as const;\n"],"mappings":";AAAA,qBAAe;CACb,iBAAiB;CACjB,kBAAkB;CAClB,iBAAiB;CACjB,eAAe;CAChB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/editableMessage.d.ts
|
|
2
|
+
declare const _default: {
|
|
3
|
+
readonly 'editableMessage.addProps': "添加属性";
|
|
4
|
+
readonly 'editableMessage.delete': "删除";
|
|
5
|
+
readonly 'editableMessage.input': "输入";
|
|
6
|
+
readonly 'editableMessage.inputPlaceholder': "请输入示例输入内容";
|
|
7
|
+
readonly 'editableMessage.output': "输出";
|
|
8
|
+
readonly 'editableMessage.outputPlaceholder': "请输入示例输出内容";
|
|
9
|
+
readonly 'editableMessage.system': "系统";
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { _default };
|
|
13
|
+
//# sourceMappingURL=editableMessage.d.mts.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/editableMessage.ts
|
|
2
|
+
var editableMessage_default = {
|
|
3
|
+
"editableMessage.addProps": "添加属性",
|
|
4
|
+
"editableMessage.delete": "删除",
|
|
5
|
+
"editableMessage.input": "输入",
|
|
6
|
+
"editableMessage.inputPlaceholder": "请输入示例输入内容",
|
|
7
|
+
"editableMessage.output": "输出",
|
|
8
|
+
"editableMessage.outputPlaceholder": "请输入示例输出内容",
|
|
9
|
+
"editableMessage.system": "系统"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { editableMessage_default as default };
|
|
14
|
+
//# sourceMappingURL=editableMessage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"editableMessage.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/editableMessage.ts"],"sourcesContent":["export default {\n 'editableMessage.addProps': '添加属性',\n 'editableMessage.delete': '删除',\n 'editableMessage.input': '输入',\n 'editableMessage.inputPlaceholder': '请输入示例输入内容',\n 'editableMessage.output': '输出',\n 'editableMessage.outputPlaceholder': '请输入示例输出内容',\n 'editableMessage.system': '系统',\n} as const;\n"],"mappings":";AAAA,8BAAe;CACb,4BAA4B;CAC5B,0BAA0B;CAC1B,yBAAyB;CACzB,oCAAoC;CACpC,0BAA0B;CAC1B,qCAAqC;CACrC,0BAA0B;CAC3B"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/emojiPicker.d.ts
|
|
2
|
+
declare const _default: {
|
|
3
|
+
readonly 'emojiPicker.delete': "删除";
|
|
4
|
+
readonly 'emojiPicker.draggerDesc': "点击或拖动图片到此处上传";
|
|
5
|
+
readonly 'emojiPicker.emoji': "表情";
|
|
6
|
+
readonly 'emojiPicker.fileTypeError': "只能上传图片文件!";
|
|
7
|
+
readonly 'emojiPicker.upload': "上传";
|
|
8
|
+
readonly 'emojiPicker.uploadBtn': "裁剪并上传";
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { _default };
|
|
12
|
+
//# sourceMappingURL=emojiPicker.d.mts.map
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/emojiPicker.ts
|
|
2
|
+
var emojiPicker_default = {
|
|
3
|
+
"emojiPicker.delete": "删除",
|
|
4
|
+
"emojiPicker.draggerDesc": "点击或拖动图片到此处上传",
|
|
5
|
+
"emojiPicker.emoji": "表情",
|
|
6
|
+
"emojiPicker.fileTypeError": "只能上传图片文件!",
|
|
7
|
+
"emojiPicker.upload": "上传",
|
|
8
|
+
"emojiPicker.uploadBtn": "裁剪并上传"
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
//#endregion
|
|
12
|
+
export { emojiPicker_default as default };
|
|
13
|
+
//# sourceMappingURL=emojiPicker.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emojiPicker.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/emojiPicker.ts"],"sourcesContent":["export default {\n 'emojiPicker.delete': '删除',\n 'emojiPicker.draggerDesc': '点击或拖动图片到此处上传',\n 'emojiPicker.emoji': '表情',\n 'emojiPicker.fileTypeError': '只能上传图片文件!',\n 'emojiPicker.upload': '上传',\n 'emojiPicker.uploadBtn': '裁剪并上传',\n} as const;\n"],"mappings":";AAAA,0BAAe;CACb,sBAAsB;CACtB,2BAA2B;CAC3B,qBAAqB;CACrB,6BAA6B;CAC7B,sBAAsB;CACtB,yBAAyB;CAC1B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/form.d.ts
|
|
2
|
+
declare const _default: {
|
|
3
|
+
readonly 'form.reset': "重置";
|
|
4
|
+
readonly 'form.submit': "提交";
|
|
5
|
+
readonly 'form.unsavedChanges': "未保存的更改";
|
|
6
|
+
readonly 'form.unsavedWarning': "您有未保存的更改。确定要离开吗?";
|
|
7
|
+
};
|
|
8
|
+
//#endregion
|
|
9
|
+
export { _default };
|
|
10
|
+
//# sourceMappingURL=form.d.mts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/form.ts
|
|
2
|
+
var form_default = {
|
|
3
|
+
"form.reset": "重置",
|
|
4
|
+
"form.submit": "提交",
|
|
5
|
+
"form.unsavedChanges": "未保存的更改",
|
|
6
|
+
"form.unsavedWarning": "您有未保存的更改。确定要离开吗?"
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { form_default as default };
|
|
11
|
+
//# sourceMappingURL=form.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/form.ts"],"sourcesContent":["export default {\n 'form.reset': '重置',\n 'form.submit': '提交',\n 'form.unsavedChanges': '未保存的更改',\n 'form.unsavedWarning': '您有未保存的更改。确定要离开吗?',\n} as const;\n"],"mappings":";AAAA,mBAAe;CACb,cAAc;CACd,eAAe;CACf,uBAAuB;CACvB,uBAAuB;CACxB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/hotkey.d.ts
|
|
2
|
+
declare const _default: {
|
|
3
|
+
readonly 'hotkey.conflict': "此快捷键与现有快捷键冲突。";
|
|
4
|
+
readonly 'hotkey.invalidCombination': "快捷键必须包含修饰键(Ctrl、Alt、Shift)且只能有一个常规键。";
|
|
5
|
+
readonly 'hotkey.placeholder': "按键录制快捷键";
|
|
6
|
+
readonly 'hotkey.reset': "重置为默认";
|
|
7
|
+
};
|
|
8
|
+
//#endregion
|
|
9
|
+
export { _default };
|
|
10
|
+
//# sourceMappingURL=hotkey.d.mts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/hotkey.ts
|
|
2
|
+
var hotkey_default = {
|
|
3
|
+
"hotkey.conflict": "此快捷键与现有快捷键冲突。",
|
|
4
|
+
"hotkey.invalidCombination": "快捷键必须包含修饰键(Ctrl、Alt、Shift)且只能有一个常规键。",
|
|
5
|
+
"hotkey.placeholder": "按键录制快捷键",
|
|
6
|
+
"hotkey.reset": "重置为默认"
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
export { hotkey_default as default };
|
|
11
|
+
//# sourceMappingURL=hotkey.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hotkey.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/hotkey.ts"],"sourcesContent":["export default {\n 'hotkey.conflict': '此快捷键与现有快捷键冲突。',\n 'hotkey.invalidCombination': '快捷键必须包含修饰键(Ctrl、Alt、Shift)且只能有一个常规键。',\n 'hotkey.placeholder': '按键录制快捷键',\n 'hotkey.reset': '重置为默认',\n} as const;\n"],"mappings":";AAAA,qBAAe;CACb,mBAAmB;CACnB,6BAA6B;CAC7B,sBAAsB;CACtB,gBAAgB;CACjB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { _default } from "./chat.mjs";
|
|
2
|
+
import { _default as _default$1 } from "./common.mjs";
|
|
3
|
+
import { _default as _default$2 } from "./editableMessage.mjs";
|
|
4
|
+
import { _default as _default$3 } from "./emojiPicker.mjs";
|
|
5
|
+
import { _default as _default$4 } from "./form.mjs";
|
|
6
|
+
import { _default as _default$5 } from "./hotkey.mjs";
|
|
7
|
+
import { _default as _default$6 } from "./messageModal.mjs";
|
|
8
|
+
import { _default as _default$7 } from "./sideNav.mjs";
|
|
9
|
+
|
|
10
|
+
//#region src/i18n/resources/zhCn/index.d.ts
|
|
11
|
+
declare namespace index_d_exports {
|
|
12
|
+
export { _default as chat, _default$1 as common, _default$2 as editableMessage, _default$3 as emojiPicker, _default$4 as form, _default$5 as hotkey, _default$6 as messageModal, _default$7 as sideNav };
|
|
13
|
+
}
|
|
14
|
+
//#endregion
|
|
15
|
+
export { index_d_exports };
|
|
16
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { __export } from "../../../_virtual/rolldown_runtime.mjs";
|
|
2
|
+
import chat_default from "./chat.mjs";
|
|
3
|
+
import common_default from "./common.mjs";
|
|
4
|
+
import editableMessage_default from "./editableMessage.mjs";
|
|
5
|
+
import emojiPicker_default from "./emojiPicker.mjs";
|
|
6
|
+
import form_default from "./form.mjs";
|
|
7
|
+
import hotkey_default from "./hotkey.mjs";
|
|
8
|
+
import messageModal_default from "./messageModal.mjs";
|
|
9
|
+
import sideNav_default from "./sideNav.mjs";
|
|
10
|
+
|
|
11
|
+
//#region src/i18n/resources/zhCn/index.ts
|
|
12
|
+
var zhCn_exports = /* @__PURE__ */ __export({
|
|
13
|
+
chat: () => chat_default,
|
|
14
|
+
common: () => common_default,
|
|
15
|
+
editableMessage: () => editableMessage_default,
|
|
16
|
+
emojiPicker: () => emojiPicker_default,
|
|
17
|
+
form: () => form_default,
|
|
18
|
+
hotkey: () => hotkey_default,
|
|
19
|
+
messageModal: () => messageModal_default,
|
|
20
|
+
sideNav: () => sideNav_default
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { zhCn_exports };
|
|
25
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/index.ts"],"sourcesContent":["export { default as chat } from './chat';\nexport { default as common } from './common';\nexport { default as editableMessage } from './editableMessage';\nexport { default as emojiPicker } from './emojiPicker';\nexport { default as form } from './form';\nexport { default as hotkey } from './hotkey';\nexport { default as messageModal } from './messageModal';\nexport { default as sideNav } from './sideNav';\n"],"mappings":""}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/messageModal.d.ts
|
|
2
|
+
declare const _default: {
|
|
3
|
+
readonly 'messageModal.cancel': "取消";
|
|
4
|
+
readonly 'messageModal.confirm': "确认";
|
|
5
|
+
readonly 'messageModal.edit': "编辑";
|
|
6
|
+
};
|
|
7
|
+
//#endregion
|
|
8
|
+
export { _default };
|
|
9
|
+
//# sourceMappingURL=messageModal.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/messageModal.ts
|
|
2
|
+
var messageModal_default = {
|
|
3
|
+
"messageModal.cancel": "取消",
|
|
4
|
+
"messageModal.confirm": "确认",
|
|
5
|
+
"messageModal.edit": "编辑"
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
//#endregion
|
|
9
|
+
export { messageModal_default as default };
|
|
10
|
+
//# sourceMappingURL=messageModal.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"messageModal.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/messageModal.ts"],"sourcesContent":["export default {\n 'messageModal.cancel': '取消',\n 'messageModal.confirm': '确认',\n 'messageModal.edit': '编辑',\n} as const;\n"],"mappings":";AAAA,2BAAe;CACb,uBAAuB;CACvB,wBAAwB;CACxB,qBAAqB;CACtB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/sideNav.d.ts
|
|
2
|
+
declare const _default: {
|
|
3
|
+
readonly 'sideNav.collapse': "折叠侧边栏";
|
|
4
|
+
readonly 'sideNav.demoActiveLabel': "激活";
|
|
5
|
+
readonly 'sideNav.demoFeatureAutoCollapseDesc': "拖动到阈值以下智能折叠";
|
|
6
|
+
readonly 'sideNav.demoFeatureAutoCollapseTitle': "自动折叠";
|
|
7
|
+
readonly 'sideNav.demoFeaturePerformanceDesc': "无动画开销,性能更佳";
|
|
8
|
+
readonly 'sideNav.demoFeaturePerformanceTitle': "性能优化";
|
|
9
|
+
readonly 'sideNav.demoFeatureResizeDesc': "拖动调整面板宽度";
|
|
10
|
+
readonly 'sideNav.demoFeatureResizeTitle': "灵活调整";
|
|
11
|
+
readonly 'sideNav.demoFeatureSmartHandleDesc': "悬停显示切换按钮";
|
|
12
|
+
readonly 'sideNav.demoFeatureSmartHandleTitle': "智能手柄";
|
|
13
|
+
readonly 'sideNav.demoFeaturesTitle': "功能特性";
|
|
14
|
+
readonly 'sideNav.demoHint': "尝试拖动面板边缘并使用切换按钮 ->";
|
|
15
|
+
readonly 'sideNav.demoSubtitle': "可拖动调整的工作区风格侧边面板";
|
|
16
|
+
readonly 'sideNav.demoTitle': "DraggableSideNav 演示";
|
|
17
|
+
readonly 'sideNav.expand': "展开侧边栏";
|
|
18
|
+
};
|
|
19
|
+
//#endregion
|
|
20
|
+
export { _default };
|
|
21
|
+
//# sourceMappingURL=sideNav.d.mts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
//#region src/i18n/resources/zhCn/sideNav.ts
|
|
2
|
+
var sideNav_default = {
|
|
3
|
+
"sideNav.collapse": "折叠侧边栏",
|
|
4
|
+
"sideNav.demoActiveLabel": "激活",
|
|
5
|
+
"sideNav.demoFeatureAutoCollapseDesc": "拖动到阈值以下智能折叠",
|
|
6
|
+
"sideNav.demoFeatureAutoCollapseTitle": "自动折叠",
|
|
7
|
+
"sideNav.demoFeaturePerformanceDesc": "无动画开销,性能更佳",
|
|
8
|
+
"sideNav.demoFeaturePerformanceTitle": "性能优化",
|
|
9
|
+
"sideNav.demoFeatureResizeDesc": "拖动调整面板宽度",
|
|
10
|
+
"sideNav.demoFeatureResizeTitle": "灵活调整",
|
|
11
|
+
"sideNav.demoFeatureSmartHandleDesc": "悬停显示切换按钮",
|
|
12
|
+
"sideNav.demoFeatureSmartHandleTitle": "智能手柄",
|
|
13
|
+
"sideNav.demoFeaturesTitle": "功能特性",
|
|
14
|
+
"sideNav.demoHint": "尝试拖动面板边缘并使用切换按钮 ->",
|
|
15
|
+
"sideNav.demoSubtitle": "可拖动调整的工作区风格侧边面板",
|
|
16
|
+
"sideNav.demoTitle": "DraggableSideNav 演示",
|
|
17
|
+
"sideNav.expand": "展开侧边栏"
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { sideNav_default as default };
|
|
22
|
+
//# sourceMappingURL=sideNav.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sideNav.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/sideNav.ts"],"sourcesContent":["export default {\n 'sideNav.collapse': '折叠侧边栏',\n 'sideNav.demoActiveLabel': '激活',\n 'sideNav.demoFeatureAutoCollapseDesc': '拖动到阈值以下智能折叠',\n 'sideNav.demoFeatureAutoCollapseTitle': '自动折叠',\n 'sideNav.demoFeaturePerformanceDesc': '无动画开销,性能更佳',\n 'sideNav.demoFeaturePerformanceTitle': '性能优化',\n 'sideNav.demoFeatureResizeDesc': '拖动调整面板宽度',\n 'sideNav.demoFeatureResizeTitle': '灵活调整',\n 'sideNav.demoFeatureSmartHandleDesc': '悬停显示切换按钮',\n 'sideNav.demoFeatureSmartHandleTitle': '智能手柄',\n 'sideNav.demoFeaturesTitle': '功能特性',\n 'sideNav.demoHint': '尝试拖动面板边缘并使用切换按钮 ->',\n 'sideNav.demoSubtitle': '可拖动调整的工作区风格侧边面板',\n 'sideNav.demoTitle': 'DraggableSideNav 演示',\n 'sideNav.expand': '展开侧边栏',\n} as const;\n"],"mappings":";AAAA,sBAAe;CACb,oBAAoB;CACpB,2BAA2B;CAC3B,uCAAuC;CACvC,wCAAwC;CACxC,sCAAsC;CACtC,uCAAuC;CACvC,iCAAiC;CACjC,kCAAkC;CAClC,sCAAsC;CACtC,uCAAuC;CACvC,6BAA6B;CAC7B,oBAAoB;CACpB,wBAAwB;CACxB,qBAAqB;CACrB,kBAAkB;CACnB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { _default } from "./resources/en/chat.mjs";
|
|
2
|
+
import { _default as _default$1 } from "./resources/en/common.mjs";
|
|
3
|
+
import { _default as _default$2 } from "./resources/en/editableMessage.mjs";
|
|
4
|
+
import { _default as _default$3 } from "./resources/en/emojiPicker.mjs";
|
|
5
|
+
import { _default as _default$4 } from "./resources/en/form.mjs";
|
|
6
|
+
import { _default as _default$5 } from "./resources/en/hotkey.mjs";
|
|
7
|
+
import { _default as _default$6 } from "./resources/en/messageModal.mjs";
|
|
8
|
+
import { _default as _default$7 } from "./resources/en/sideNav.mjs";
|
|
9
|
+
|
|
10
|
+
//#region src/i18n/types.d.ts
|
|
11
|
+
type Locale = string;
|
|
12
|
+
type BuiltinTranslationResources = typeof _default & typeof _default$1 & typeof _default$2 & typeof _default$3 & typeof _default$4 & typeof _default$5 & typeof _default$6 & typeof _default$7;
|
|
13
|
+
type TranslationKey = keyof BuiltinTranslationResources;
|
|
14
|
+
type TranslationValue = string;
|
|
15
|
+
/**
|
|
16
|
+
* A (partial) dictionary of translations.
|
|
17
|
+
*
|
|
18
|
+
* Note: it's intentionally Partial so feature-level modules can pass only their own keys as
|
|
19
|
+
* fallback resources (e.g. `useTranslation(editableMessageMessages)`).
|
|
20
|
+
*/
|
|
21
|
+
type TranslationResources = Partial<Record<TranslationKey, TranslationValue>>;
|
|
22
|
+
type I18nContextValue = {
|
|
23
|
+
locale: Locale;
|
|
24
|
+
t: (key: TranslationKey) => string;
|
|
25
|
+
};
|
|
26
|
+
//#endregion
|
|
27
|
+
export { I18nContextValue, Locale, TranslationKey, TranslationResources, TranslationValue };
|
|
28
|
+
//# sourceMappingURL=types.d.mts.map
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TranslationKey, TranslationResources } from "./types.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/i18n/useTranslation.d.ts
|
|
4
|
+
declare const useTranslation: (fallbackResources?: TranslationResources) => {
|
|
5
|
+
locale: string;
|
|
6
|
+
t: (key: TranslationKey) => string;
|
|
7
|
+
};
|
|
8
|
+
//#endregion
|
|
9
|
+
export { useTranslation };
|
|
10
|
+
//# sourceMappingURL=useTranslation.d.mts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { useI18n } from "../ConfigProvider/index.mjs";
|
|
2
|
+
import { useMemo } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/i18n/useTranslation.ts
|
|
5
|
+
const useTranslation = (fallbackResources) => {
|
|
6
|
+
const { t, locale } = useI18n();
|
|
7
|
+
return {
|
|
8
|
+
locale,
|
|
9
|
+
t: useMemo(() => {
|
|
10
|
+
if (!fallbackResources) return t;
|
|
11
|
+
return (key) => {
|
|
12
|
+
const value = t(key);
|
|
13
|
+
const fallback = fallbackResources[key];
|
|
14
|
+
return value === key && fallback ? fallback : value;
|
|
15
|
+
};
|
|
16
|
+
}, [t, fallbackResources])
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
//#endregion
|
|
21
|
+
export { useTranslation };
|
|
22
|
+
//# sourceMappingURL=useTranslation.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useTranslation.mjs","names":[],"sources":["../../src/i18n/useTranslation.ts"],"sourcesContent":["import { useMemo } from 'react';\n\nimport { useI18n } from './context';\nimport type { TranslationKey, TranslationResources } from './types';\n\nexport const useTranslation = (fallbackResources?: TranslationResources) => {\n const { t, locale } = useI18n();\n\n const translate = useMemo((): ((key: TranslationKey) => string) => {\n if (!fallbackResources) return t;\n\n return (key: TranslationKey): string => {\n const value = t(key);\n const fallback = fallbackResources[key];\n return value === key && fallback ? fallback : value;\n };\n }, [t, fallbackResources]);\n\n return { locale, t: translate };\n};\n"],"mappings":";;;;AAKA,MAAa,kBAAkB,sBAA6C;CAC1E,MAAM,EAAE,GAAG,WAAW,SAAS;AAY/B,QAAO;EAAE;EAAQ,GAVC,cAAiD;AACjE,OAAI,CAAC,kBAAmB,QAAO;AAE/B,WAAQ,QAAgC;IACtC,MAAM,QAAQ,EAAE,IAAI;IACpB,MAAM,WAAW,kBAAkB;AACnC,WAAO,UAAU,OAAO,WAAW,WAAW;;KAE/C,CAAC,GAAG,kBAAkB,CAAC;EAEK"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react75 from "react";
|
|
2
2
|
import * as lucide_react0 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/BotPromptIcon.d.ts
|
|
5
|
-
declare const BotPromptIcon:
|
|
5
|
+
declare const BotPromptIcon: react75.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react75.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { BotPromptIcon };
|
|
8
8
|
//# sourceMappingURL=BotPromptIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react81 from "react";
|
|
2
|
+
import * as lucide_react3 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/CreateBotIcon.d.ts
|
|
5
|
-
declare const CreateBotIcon:
|
|
5
|
+
declare const CreateBotIcon: react81.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react81.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { CreateBotIcon };
|
|
8
8
|
//# sourceMappingURL=CreateBotIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react73 from "react";
|
|
2
|
+
import * as lucide_react0 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/DiscordIcon.d.ts
|
|
5
|
-
declare const DiscordIcon:
|
|
5
|
+
declare const DiscordIcon: react73.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react73.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DiscordIcon };
|
|
8
8
|
//# sourceMappingURL=DiscordIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react79 from "react";
|
|
2
|
+
import * as lucide_react2 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/GlobeOffIcon.d.ts
|
|
5
|
-
declare const GlobeOffIcon:
|
|
5
|
+
declare const GlobeOffIcon: react79.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react79.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { GlobeOffIcon };
|
|
8
8
|
//# sourceMappingURL=GlobeOffIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react83 from "react";
|
|
2
|
+
import * as lucide_react4 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/GroupBotIcon.d.ts
|
|
5
|
-
declare const GroupBotIcon:
|
|
5
|
+
declare const GroupBotIcon: react83.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react83.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { GroupBotIcon };
|
|
8
8
|
//# sourceMappingURL=GroupBotIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react89 from "react";
|
|
2
|
+
import * as lucide_react7 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/GroupBotSquareIcon.d.ts
|
|
5
|
-
declare const GroupBotSquareIcon:
|
|
5
|
+
declare const GroupBotSquareIcon: react89.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react89.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { GroupBotSquareIcon };
|
|
8
8
|
//# sourceMappingURL=GroupBotSquareIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react95 from "react";
|
|
2
|
+
import * as lucide_react10 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/LeftClickIcon.d.ts
|
|
5
|
-
declare const LeftClickIcon:
|
|
5
|
+
declare const LeftClickIcon: react95.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react95.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { LeftClickIcon };
|
|
8
8
|
//# sourceMappingURL=LeftClickIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react97 from "react";
|
|
2
|
+
import * as lucide_react11 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/LeftDoubleClickIcon.d.ts
|
|
5
|
-
declare const LeftDoubleClickIcon:
|
|
5
|
+
declare const LeftDoubleClickIcon: react97.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react97.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { LeftDoubleClickIcon };
|
|
8
8
|
//# sourceMappingURL=LeftDoubleClickIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react99 from "react";
|
|
2
|
+
import * as lucide_react12 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/McpIcon.d.ts
|
|
5
|
-
declare const McpIcon:
|
|
5
|
+
declare const McpIcon: react99.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react99.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { McpIcon };
|
|
8
8
|
//# sourceMappingURL=McpIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react85 from "react";
|
|
2
|
+
import * as lucide_react5 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/ProviderIcon.d.ts
|
|
5
|
-
declare const ProviderIcon:
|
|
5
|
+
declare const ProviderIcon: react85.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react85.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ProviderIcon };
|
|
8
8
|
//# sourceMappingURL=ProviderIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react87 from "react";
|
|
2
2
|
import * as lucide_react6 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/RightClickIcon.d.ts
|
|
5
|
-
declare const RightClickIcon:
|
|
5
|
+
declare const RightClickIcon: react87.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react87.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { RightClickIcon };
|
|
8
8
|
//# sourceMappingURL=RightClickIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react91 from "react";
|
|
2
|
+
import * as lucide_react8 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/RightDoubleClickIcon.d.ts
|
|
5
|
-
declare const RightDoubleClickIcon:
|
|
5
|
+
declare const RightDoubleClickIcon: react91.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react91.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { RightDoubleClickIcon };
|
|
8
8
|
//# sourceMappingURL=RightDoubleClickIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react93 from "react";
|
|
2
|
+
import * as lucide_react9 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/ShapesUploadIcon.d.ts
|
|
5
|
-
declare const ShapesUploadIcon:
|
|
5
|
+
declare const ShapesUploadIcon: react93.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react93.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { ShapesUploadIcon };
|
|
8
8
|
//# sourceMappingURL=ShapesUploadIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react101 from "react";
|
|
2
|
+
import * as lucide_react13 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/TreeDownRightIcon.d.ts
|
|
5
|
-
declare const TreeDownRightIcon:
|
|
5
|
+
declare const TreeDownRightIcon: react101.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react101.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { TreeDownRightIcon };
|
|
8
8
|
//# sourceMappingURL=TreeDownRightIcon.d.mts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react77 from "react";
|
|
2
|
+
import * as lucide_react1 from "lucide-react";
|
|
3
3
|
|
|
4
4
|
//#region src/icons/lucideExtra/TreeUpDownRightIcon.d.ts
|
|
5
|
-
declare const TreeUpDownRightIcon:
|
|
5
|
+
declare const TreeUpDownRightIcon: react77.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react77.RefAttributes<SVGSVGElement>>;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { TreeUpDownRightIcon };
|
|
8
8
|
//# sourceMappingURL=TreeUpDownRightIcon.d.mts.map
|
package/es/index.d.mts
CHANGED
|
@@ -146,6 +146,7 @@ import { ImageProps, PreviewGroupProps } from "./Image/type.mjs";
|
|
|
146
146
|
import { PreviewGroup } from "./Image/PreviewGroup.mjs";
|
|
147
147
|
import Image from "./Image/index.mjs";
|
|
148
148
|
import { A } from "./A/index.mjs";
|
|
149
|
+
import { MotionComponent, MotionComponentType, MotionProvider, useMotionComponent } from "./MotionProvider/index.mjs";
|
|
149
150
|
import { CDN, genCdnUrl } from "./utils/genCdnUrl.mjs";
|
|
150
151
|
import { Config, ConfigProvider, useCdnFn } from "./ConfigProvider/index.mjs";
|
|
151
152
|
import { FontLoader, FontLoaderProps } from "./FontLoader/index.mjs";
|
|
@@ -190,6 +191,9 @@ import "./MaskShadow/index.mjs";
|
|
|
190
191
|
import { MaterialFileTypeIconProps } from "./MaterialFileTypeIcon/type.mjs";
|
|
191
192
|
import { MaterialFileTypeIcon } from "./MaterialFileTypeIcon/MaterialFileTypeIcon.mjs";
|
|
192
193
|
import "./MaterialFileTypeIcon/index.mjs";
|
|
194
|
+
import { I18nProvider, I18nProviderProps } from "./i18n/context.mjs";
|
|
195
|
+
import { useTranslation } from "./i18n/useTranslation.mjs";
|
|
196
|
+
import "./Provider.mjs";
|
|
193
197
|
import { ScrollShadowProps } from "./ScrollShadow/type.mjs";
|
|
194
198
|
import { ScrollShadow } from "./ScrollShadow/ScrollShadow.mjs";
|
|
195
199
|
import "./ScrollShadow/index.mjs";
|
|
@@ -244,4 +248,4 @@ import { LayoutSidebarInner } from "./Layout/components/LayoutSidebarInner.mjs";
|
|
|
244
248
|
import { LayoutToc } from "./Layout/components/LayoutToc.mjs";
|
|
245
249
|
import Layout from "./Layout/index.mjs";
|
|
246
250
|
import { ErrorBoundary, ErrorBoundaryProps } from "react-error-boundary";
|
|
247
|
-
export { A, AProps, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionIcon, ActionIconGroup, type ActionIconGroupEvent, type MenuItemType as ActionIconGroupItemType, type ActionIconGroupProps, type ActionIconProps, type ActionIconSize, Alert, type AlertProps, AutoComplete, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Block, type BlockProps, Burger, type BurgerProps, Button, type ButtonProps, type CDN, Center, type CenterProps, CodeEditor, type CodeEditorProps, Collapse, type CollapseItemType, type CollapseProps, ColorPalettes, ColorPalettesAlpha, ColorSwatches, type ColorSwatchesProps, ColorToken, type Config, ConfigProvider, CopyButton, type CopyButtonProps, DatePicker, type DatePickerProps, DivProps, DownloadButton, type DownloadButtonProps, DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelProps, DraggableSideNav, type DraggableSideNavProps, Drawer, type DrawerProps, Dropdown, type MenuItemType as DropdownMenuItemType, type DropdownProps, EditableText, type EditableTextProps, EmojiPicker, type EmojiPickerProps, Empty, type EmptyProps, ErrorBoundary, type ErrorBoundaryProps, FileTypeIcon, type FileTypeIconProps, _default as FlexBasic, type FlexBasicProps, _default as Flexbox, type FlexboxProps, FluentEmoji, type FluentEmojiProps, FontLoader, type FontLoaderProps, Footer, type FooterProps, Form, FormGroup, type FormGroupItemType, type FormGroupProps, type FormInstance, FormItem, type FormItemProps, FormModal, type FormModalProps, type FormProps, FormSubmitFooter, type FormSubmitFooterProps, FormTitle, type FormTitleProps, Grid, type GridProps, GroupAvatar, type GroupAvatarProps, GuideCard, type GuideCardProps, Header, type HeaderProps, Highlighter, type HighlighterProps, Hotkey, HotkeyInput, type HotkeyInputProps, type HotkeyProps, Icon, type IconProps, IconProvider, type IconSize, Image, type ImageProps, ImageSelect, type ImageSelectItem, type ImageSelectProps, ImgProps, Input, InputNumber, type InputNumberProps, InputOPT, type InputOPTProps, InputPassword, type InputPasswordProps, type InputProps, type ItemType, KeyMapEnum, Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, List, ListItem, type ListItemProps, type ListProps, LobeCustomStylish, LobeCustomToken, Markdown, type MarkdownProps, MaskShadow, type MaskShadowProps, MaterialFileTypeIcon, type MaterialFileTypeIconProps, Menu, type MenuInfo, type MenuItemType, type MenuProps, Mermaid, type MermaidProps, Meta, type MetaProps, Modal, type ModalProps, NeutralColors, NeutralColorsObj, PresetColorKey, PresetColorType, PresetSystemColorKey, PresetSystemColorType, PreviewGroup, type PreviewGroupProps, PrimaryColors, PrimaryColorsObj, ScrollShadow, type ScrollShadowProps, SearchBar, type SearchBarProps, SearchResultCards, type SearchResultCardsProps, Segmented, type SegmentedProps, Input$1 as Select, type SelectProps, SideNav, type SideNavProps, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonBlock, type SkeletonBlockProps, SkeletonButton, type SkeletonButtonProps, SkeletonParagraph, type SkeletonParagraphProps, type SkeletonProps, SkeletonTags, type SkeletonTagsProps, SkeletonTitle, type SkeletonTitleProps, SliderWithInput, type SliderWithInputProps, Snippet, type SnippetProps, SortableList, type SortableListProps, SpanProps, SvgProps, SyntaxHighlighter, type SyntaxHighlighterProps, SyntaxMermaid, type SyntaxMermaidProps, SystemColorToken, Tabs, type TabsProps, Tag, type TagProps, Text, TextArea, type TextAreaProps, type TextProps, ThemeProvider, type ThemeProviderProps, ThemeSwitch, type ThemeSwitchProps, Toc, type TocProps, Tooltip, TooltipGroup, type TooltipProps, Typography, type TypographyProps, Video, type VideoProps, combineKeys, copyToClipboard, findCustomThemeName, genCdnUrl, generateColorNeutralPalette, generateColorPalette, highlighterThemes, generateCustomStylish as lobeCustomStylish, generateCustomToken as lobeCustomToken, mermaidThemes, neutralColors, neutralColorsSwatches, preprocessMarkdownContent, primaryColors, primaryColorsSwatches, rehypeCustomFootnotes, rehypeKatexDir, rehypeStreamAnimated, remarkBr, remarkColor, remarkCustomFootnotes, remarkGfmPlus, remarkVideo, useCdnFn };
|
|
251
|
+
export { A, AProps, Accordion, AccordionItem, type AccordionItemProps, type AccordionProps, ActionIcon, ActionIconGroup, type ActionIconGroupEvent, type MenuItemType as ActionIconGroupItemType, type ActionIconGroupProps, type ActionIconProps, type ActionIconSize, Alert, type AlertProps, AutoComplete, type AutoCompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Block, type BlockProps, Burger, type BurgerProps, Button, type ButtonProps, type CDN, Center, type CenterProps, CodeEditor, type CodeEditorProps, Collapse, type CollapseItemType, type CollapseProps, ColorPalettes, ColorPalettesAlpha, ColorSwatches, type ColorSwatchesProps, ColorToken, type Config, ConfigProvider, CopyButton, type CopyButtonProps, DatePicker, type DatePickerProps, DivProps, DownloadButton, type DownloadButtonProps, DraggablePanel, DraggablePanelBody, type DraggablePanelBodyProps, DraggablePanelContainer, type DraggablePanelContainerProps, DraggablePanelFooter, type DraggablePanelFooterProps, DraggablePanelHeader, type DraggablePanelHeaderProps, type DraggablePanelProps, DraggableSideNav, type DraggableSideNavProps, Drawer, type DrawerProps, Dropdown, type MenuItemType as DropdownMenuItemType, type DropdownProps, EditableText, type EditableTextProps, EmojiPicker, type EmojiPickerProps, Empty, type EmptyProps, ErrorBoundary, type ErrorBoundaryProps, FileTypeIcon, type FileTypeIconProps, _default as FlexBasic, type FlexBasicProps, _default as Flexbox, type FlexboxProps, FluentEmoji, type FluentEmojiProps, FontLoader, type FontLoaderProps, Footer, type FooterProps, Form, FormGroup, type FormGroupItemType, type FormGroupProps, type FormInstance, FormItem, type FormItemProps, FormModal, type FormModalProps, type FormProps, FormSubmitFooter, type FormSubmitFooterProps, FormTitle, type FormTitleProps, Grid, type GridProps, GroupAvatar, type GroupAvatarProps, GuideCard, type GuideCardProps, Header, type HeaderProps, Highlighter, type HighlighterProps, Hotkey, HotkeyInput, type HotkeyInputProps, type HotkeyProps, I18nProvider, type I18nProviderProps, Icon, type IconProps, IconProvider, type IconSize, Image, type ImageProps, ImageSelect, type ImageSelectItem, type ImageSelectProps, ImgProps, Input, InputNumber, type InputNumberProps, InputOPT, type InputOPTProps, InputPassword, type InputPasswordProps, type InputProps, type ItemType, KeyMapEnum, Layout, LayoutFooter, type LayoutFooterProps, LayoutHeader, type LayoutHeaderProps, LayoutMain, type LayoutMainProps, type LayoutProps, LayoutSidebar, LayoutSidebarInner, type LayoutSidebarInnerProps, type LayoutSidebarProps, LayoutToc, type LayoutTocProps, List, ListItem, type ListItemProps, type ListProps, LobeCustomStylish, LobeCustomToken, I18nProvider as LobeUIProvider, Markdown, type MarkdownProps, MaskShadow, type MaskShadowProps, MaterialFileTypeIcon, type MaterialFileTypeIconProps, Menu, type MenuInfo, type MenuItemType, type MenuProps, Mermaid, type MermaidProps, Meta, type MetaProps, Modal, type ModalProps, MotionComponent, type MotionComponentType, MotionProvider, NeutralColors, NeutralColorsObj, PresetColorKey, PresetColorType, PresetSystemColorKey, PresetSystemColorType, PreviewGroup, type PreviewGroupProps, PrimaryColors, PrimaryColorsObj, ScrollShadow, type ScrollShadowProps, SearchBar, type SearchBarProps, SearchResultCards, type SearchResultCardsProps, Segmented, type SegmentedProps, Input$1 as Select, type SelectProps, SideNav, type SideNavProps, Skeleton, SkeletonAvatar, type SkeletonAvatarProps, SkeletonBlock, type SkeletonBlockProps, SkeletonButton, type SkeletonButtonProps, SkeletonParagraph, type SkeletonParagraphProps, type SkeletonProps, SkeletonTags, type SkeletonTagsProps, SkeletonTitle, type SkeletonTitleProps, SliderWithInput, type SliderWithInputProps, Snippet, type SnippetProps, SortableList, type SortableListProps, SpanProps, SvgProps, SyntaxHighlighter, type SyntaxHighlighterProps, SyntaxMermaid, type SyntaxMermaidProps, SystemColorToken, Tabs, type TabsProps, Tag, type TagProps, Text, TextArea, type TextAreaProps, type TextProps, ThemeProvider, type ThemeProviderProps, ThemeSwitch, type ThemeSwitchProps, Toc, type TocProps, Tooltip, TooltipGroup, type TooltipProps, Typography, type TypographyProps, Video, type VideoProps, combineKeys, copyToClipboard, findCustomThemeName, genCdnUrl, generateColorNeutralPalette, generateColorPalette, highlighterThemes, generateCustomStylish as lobeCustomStylish, generateCustomToken as lobeCustomToken, mermaidThemes, neutralColors, neutralColorsSwatches, preprocessMarkdownContent, primaryColors, primaryColorsSwatches, rehypeCustomFootnotes, rehypeKatexDir, rehypeStreamAnimated, remarkBr, remarkColor, remarkCustomFootnotes, remarkGfmPlus, remarkVideo, useCdnFn, useMotionComponent, useTranslation };
|