@lobehub/ui 4.7.0 → 4.8.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.
Files changed (136) hide show
  1. package/es/Accordion/Accordion.d.mts +2 -2
  2. package/es/Accordion/AccordionItem.d.mts +2 -2
  3. package/es/Alert/Alert.d.mts +2 -2
  4. package/es/AutoComplete/Select.d.mts +2 -2
  5. package/es/Avatar/AvatarGroup/index.d.mts +2 -2
  6. package/es/Burger/Burger.d.mts +2 -2
  7. package/es/CodeEditor/CodeEditor.d.mts +2 -2
  8. package/es/Collapse/Collapse.d.mts +2 -2
  9. package/es/ConfigProvider/index.d.mts +2 -2
  10. package/es/ContextMenu/ContextMenuHost.d.mts +2 -2
  11. package/es/ContextMenu/renderItems.mjs +20 -3
  12. package/es/ContextMenu/renderItems.mjs.map +1 -1
  13. package/es/CopyButton/CopyButton.d.mts +2 -2
  14. package/es/DatePicker/DatePicker.d.mts +2 -2
  15. package/es/DraggablePanel/components/DraggablePanelBody.d.mts +2 -2
  16. package/es/DraggablePanel/components/DraggablePanelContainer.d.mts +2 -2
  17. package/es/DraggablePanel/components/DraggablePanelFooter.d.mts +2 -2
  18. package/es/DraggablePanel/components/DraggablePanelHeader.d.mts +2 -2
  19. package/es/DraggableSideNav/DraggableSideNav.d.mts +2 -2
  20. package/es/Drawer/Drawer.d.mts +2 -2
  21. package/es/Dropdown/Dropdown.d.mts +2 -2
  22. package/es/DropdownMenu/DropdownMenu.d.mts +2 -2
  23. package/es/EditableText/EditableText.d.mts +2 -2
  24. package/es/EmojiPicker/AvatarUploader.mjs +1 -1
  25. package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
  26. package/es/EmojiPicker/EmojiPicker.mjs +1 -1
  27. package/es/Flex/FlexBasic.d.mts +2 -2
  28. package/es/FontLoader/index.d.mts +2 -2
  29. package/es/Footer/Footer.d.mts +2 -2
  30. package/es/Form/components/FormGroup.d.mts +2 -2
  31. package/es/Form/components/FormItem.d.mts +2 -2
  32. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  33. package/es/FormModal/FormModal.d.mts +2 -2
  34. package/es/GuideCard/GuideCard.d.mts +2 -2
  35. package/es/Header/Header.d.mts +2 -2
  36. package/es/Highlighter/Highlighter.d.mts +2 -2
  37. package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
  38. package/es/Hotkey/Hotkey.d.mts +2 -2
  39. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  40. package/es/Icon/Icon.d.mts +2 -2
  41. package/es/Icon/components/IconProvider.d.mts +3 -3
  42. package/es/Image/PreviewGroup.d.mts +2 -2
  43. package/es/Input/Input.d.mts +2 -2
  44. package/es/Input/InputNumber.d.mts +2 -2
  45. package/es/Input/InputOPT.d.mts +2 -2
  46. package/es/Input/InputPassword.d.mts +2 -2
  47. package/es/Input/TextArea.d.mts +2 -2
  48. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  49. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  50. package/es/Layout/components/LayoutMain.d.mts +2 -2
  51. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  52. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  53. package/es/Layout/components/LayoutToc.d.mts +2 -2
  54. package/es/List/ListItem/index.d.mts +2 -2
  55. package/es/Markdown/Markdown.d.mts +2 -2
  56. package/es/Markdown/Typography.d.mts +2 -2
  57. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  58. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  59. package/es/Menu/Menu.d.mts +2 -2
  60. package/es/Menu/sharedStyle.mjs +6 -1
  61. package/es/Menu/sharedStyle.mjs.map +1 -1
  62. package/es/Mermaid/Mermaid.d.mts +2 -2
  63. package/es/Mermaid/SyntaxMermaid/index.d.mts +2 -2
  64. package/es/Modal/Modal.d.mts +2 -2
  65. package/es/Modal/ModalProvider.d.mts +2 -2
  66. package/es/MotionProvider/index.d.mts +2 -2
  67. package/es/SearchBar/SearchBar.d.mts +2 -2
  68. package/es/Segmented/Segmented.d.mts +2 -2
  69. package/es/Select/Select.d.mts +2 -2
  70. package/es/SideNav/SideNav.d.mts +2 -2
  71. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  72. package/es/SortableList/components/DragHandle.d.mts +2 -2
  73. package/es/SortableList/components/SortableItem.d.mts +2 -2
  74. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  75. package/es/ThemeSwitch/ThemeSwitch.mjs +10 -11
  76. package/es/ThemeSwitch/ThemeSwitch.mjs.map +1 -1
  77. package/es/Toc/Toc.d.mts +2 -2
  78. package/es/Video/index.d.mts +2 -2
  79. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  80. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
  81. package/es/awesome/Features/Features.d.mts +2 -2
  82. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  83. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  84. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  85. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  86. package/es/awesome/Hero/Hero.d.mts +2 -2
  87. package/es/awesome/Spline/Spine.d.mts +2 -2
  88. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  89. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  90. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  91. package/es/brand/LobeChat/index.d.mts +2 -2
  92. package/es/brand/LobeHub/index.d.mts +2 -2
  93. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  94. package/es/brand/LogoThree/index.d.mts +2 -2
  95. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  96. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  97. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  98. package/es/chat/ChatList/ChatList.d.mts +2 -2
  99. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  100. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  101. package/es/chat/EditableMessageList/EditableMessageList.mjs +1 -1
  102. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  103. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  104. package/es/chat/MessageModal/MessageModal.mjs +1 -1
  105. package/es/color/ColorScales/index.d.mts +2 -2
  106. package/es/color/CssVar/index.d.mts +2 -2
  107. package/es/i18n/context.d.mts +2 -2
  108. package/es/i18n/resources/en/common.d.mts +1 -0
  109. package/es/i18n/resources/en/common.mjs +2 -1
  110. package/es/i18n/resources/en/common.mjs.map +1 -1
  111. package/es/i18n/resources/en/index.mjs +1 -1
  112. package/es/i18n/resources/zhCn/common.d.mts +1 -0
  113. package/es/i18n/resources/zhCn/common.mjs +2 -1
  114. package/es/i18n/resources/zhCn/common.mjs.map +1 -1
  115. package/es/icons/lucideExtra/BotPromptIcon.d.mts +3 -3
  116. package/es/icons/lucideExtra/CreateBotIcon.d.mts +3 -3
  117. package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
  118. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +3 -3
  119. package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
  120. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
  121. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  122. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
  123. package/es/icons/lucideExtra/McpIcon.d.mts +2 -2
  124. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  125. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  126. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
  127. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
  128. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
  129. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  130. package/es/index.mjs +2 -2
  131. package/es/mdx/Mdx/index.d.mts +2 -2
  132. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  133. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  134. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  135. package/es/storybook/StoryBook/index.d.mts +2 -2
  136. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import { SpotlightProps } from "./type.mjs";
2
- import * as react128 from "react";
2
+ import * as react136 from "react";
3
3
 
4
4
  //#region src/awesome/Spotlight/Spotlight.d.ts
5
- declare const Spotlight: react128.NamedExoticComponent<SpotlightProps>;
5
+ declare const Spotlight: react136.NamedExoticComponent<SpotlightProps>;
6
6
  //#endregion
7
7
  export { Spotlight };
8
8
  //# sourceMappingURL=Spotlight.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { SpotlightCardProps } from "./type.mjs";
2
- import * as react129 from "react";
2
+ import * as react135 from "react";
3
3
 
4
4
  //#region src/awesome/SpotlightCard/SpotlightCard.d.ts
5
- declare const SpotlightCard: react129.NamedExoticComponent<SpotlightCardProps<any>>;
5
+ declare const SpotlightCard: react135.NamedExoticComponent<SpotlightCardProps<any>>;
6
6
  //#endregion
7
7
  export { SpotlightCard };
8
8
  //# sourceMappingURL=SpotlightCard.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { TypewriterEffectProps } from "./type.mjs";
2
- import * as react110 from "react";
2
+ import * as react138 from "react";
3
3
 
4
4
  //#region src/awesome/TypewriterEffect/TypewriterEffect.d.ts
5
- declare const TypewriterEffect: react110.NamedExoticComponent<TypewriterEffectProps>;
5
+ declare const TypewriterEffect: react138.NamedExoticComponent<TypewriterEffectProps>;
6
6
  //#endregion
7
7
  export { TypewriterEffect };
8
8
  //# sourceMappingURL=TypewriterEffect.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react30 from "react";
2
+ import * as react0 from "react";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/brand/LobeChat/index.d.ts
@@ -8,7 +8,7 @@ interface LobeChatProps extends DivProps {
8
8
  size?: number;
9
9
  type?: '3d' | 'flat' | 'mono' | 'text' | 'combine';
10
10
  }
11
- declare const LobeChat: react30.NamedExoticComponent<LobeChatProps>;
11
+ declare const LobeChat: react0.NamedExoticComponent<LobeChatProps>;
12
12
  //#endregion
13
13
  export { LobeChat, LobeChatProps };
14
14
  //# sourceMappingURL=index.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { DivProps } from "../../types/index.mjs";
2
- import * as react31 from "react";
2
+ import * as react0 from "react";
3
3
  import { ReactNode } from "react";
4
4
 
5
5
  //#region src/brand/LobeHub/index.d.ts
@@ -8,7 +8,7 @@ interface LobeHubProps extends DivProps {
8
8
  size?: number;
9
9
  type?: '3d' | 'flat' | 'mono' | 'text' | 'combine';
10
10
  }
11
- declare const LobeHub: react31.NamedExoticComponent<LobeHubProps>;
11
+ declare const LobeHub: react0.NamedExoticComponent<LobeHubProps>;
12
12
  //#endregion
13
13
  export { LobeHub, LobeHubProps };
14
14
  //# sourceMappingURL=index.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { SplineProps } from "../../awesome/Spline/type.mjs";
2
2
  import "../../awesome/Spline/index.mjs";
3
- import * as react21 from "react";
3
+ import * as react2 from "react";
4
4
  import { CSSProperties } from "react";
5
5
 
6
6
  //#region src/brand/LogoThree/LogoSpline.d.ts
@@ -10,7 +10,7 @@ interface LogoSplineProps extends Partial<SplineProps> {
10
10
  style?: CSSProperties;
11
11
  width?: number | string;
12
12
  }
13
- declare const LogoSpline: react21.NamedExoticComponent<LogoSplineProps>;
13
+ declare const LogoSpline: react2.NamedExoticComponent<LogoSplineProps>;
14
14
  //#endregion
15
15
  export { LogoSpline, LogoSplineProps };
16
16
  //# sourceMappingURL=LogoSpline.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { SplineProps } from "../../awesome/Spline/type.mjs";
2
2
  import "../../awesome/Spline/index.mjs";
3
- import * as react32 from "react";
3
+ import * as react1 from "react";
4
4
  import { CSSProperties } from "react";
5
5
 
6
6
  //#region src/brand/LogoThree/index.d.ts
@@ -9,7 +9,7 @@ interface LogoThreeProps extends Partial<SplineProps> {
9
9
  size?: number;
10
10
  style?: CSSProperties;
11
11
  }
12
- declare const LogoThree: react32.NamedExoticComponent<LogoThreeProps>;
12
+ declare const LogoThree: react1.NamedExoticComponent<LogoThreeProps>;
13
13
  //#endregion
14
14
  export { LogoThree, LogoThreeProps };
15
15
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { BackBottomProps } from "./type.mjs";
2
- import * as react111 from "react";
2
+ import * as react117 from "react";
3
3
 
4
4
  //#region src/chat/BackBottom/BackBottom.d.ts
5
- declare const BackBottom: react111.NamedExoticComponent<BackBottomProps>;
5
+ declare const BackBottom: react117.NamedExoticComponent<BackBottomProps>;
6
6
  //#endregion
7
7
  export { BackBottom };
8
8
  //# sourceMappingURL=BackBottom.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatInputAreaInnerProps } from "../type.mjs";
2
- import * as react113 from "react";
2
+ import * as react120 from "react";
3
3
 
4
4
  //#region src/chat/ChatInputArea/components/ChatInputAreaInner.d.ts
5
- declare const ChatInputAreaInner: react113.NamedExoticComponent<ChatInputAreaInnerProps>;
5
+ declare const ChatInputAreaInner: react120.NamedExoticComponent<ChatInputAreaInnerProps>;
6
6
  //#endregion
7
7
  export { ChatInputAreaInner };
8
8
  //# sourceMappingURL=ChatInputAreaInner.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatItemProps } from "./type.mjs";
2
- import * as react112 from "react";
2
+ import * as react121 from "react";
3
3
 
4
4
  //#region src/chat/ChatItem/ChatItem.d.ts
5
- declare const ChatItem: react112.NamedExoticComponent<ChatItemProps>;
5
+ declare const ChatItem: react121.NamedExoticComponent<ChatItemProps>;
6
6
  //#endregion
7
7
  export { ChatItem };
8
8
  //# sourceMappingURL=ChatItem.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatListProps } from "./type.mjs";
2
- import * as react114 from "react";
2
+ import * as react116 from "react";
3
3
 
4
4
  //#region src/chat/ChatList/ChatList.d.ts
5
- declare const ChatList: react114.NamedExoticComponent<ChatListProps>;
5
+ declare const ChatList: react116.NamedExoticComponent<ChatListProps>;
6
6
  //#endregion
7
7
  export { ChatList };
8
8
  //# sourceMappingURL=ChatList.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EditableMessageProps } from "./type.mjs";
2
- import * as react116 from "react";
2
+ import * as react118 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessage/EditableMessage.d.ts
5
- declare const EditableMessage: react116.NamedExoticComponent<EditableMessageProps>;
5
+ declare const EditableMessage: react118.NamedExoticComponent<EditableMessageProps>;
6
6
  //#endregion
7
7
  export { EditableMessage };
8
8
  //# sourceMappingURL=EditableMessage.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { EditableMessageListProps } from "./type.mjs";
2
- import * as react115 from "react";
2
+ import * as react119 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessageList/EditableMessageList.d.ts
5
- declare const EditableMessageList: react115.NamedExoticComponent<EditableMessageListProps>;
5
+ declare const EditableMessageList: react119.NamedExoticComponent<EditableMessageListProps>;
6
6
  //#endregion
7
7
  export { EditableMessageList };
8
8
  //# sourceMappingURL=EditableMessageList.d.mts.map
@@ -3,8 +3,8 @@
3
3
  import FlexBasic_default from "../../Flex/FlexBasic.mjs";
4
4
  import ActionIcon_default from "../../ActionIcon/ActionIcon.mjs";
5
5
  import Button_default from "../../Button/Button.mjs";
6
- import ControlInput_default from "../../EditableText/ControlInput.mjs";
7
6
  import { useTranslation } from "../../i18n/useTranslation.mjs";
7
+ import ControlInput_default from "../../EditableText/ControlInput.mjs";
8
8
  import Select_default from "../../Select/Select.mjs";
9
9
  import editableMessage_default from "../../i18n/resources/en/editableMessage.mjs";
10
10
  import { messagesReducer } from "./messageReducer.mjs";
@@ -1,8 +1,8 @@
1
1
  import { MessageInputProps } from "./type.mjs";
2
- import * as react117 from "react";
2
+ import * as react122 from "react";
3
3
 
4
4
  //#region src/chat/MessageInput/MessageInput.d.ts
5
- declare const MessageInput: react117.NamedExoticComponent<MessageInputProps>;
5
+ declare const MessageInput: react122.NamedExoticComponent<MessageInputProps>;
6
6
  //#endregion
7
7
  export { MessageInput };
8
8
  //# sourceMappingURL=MessageInput.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { MessageModalProps } from "./type.mjs";
2
- import * as react118 from "react";
2
+ import * as react123 from "react";
3
3
 
4
4
  //#region src/chat/MessageModal/MessageModal.d.ts
5
- declare const MessageModal: react118.NamedExoticComponent<MessageModalProps>;
5
+ declare const MessageModal: react123.NamedExoticComponent<MessageModalProps>;
6
6
  //#endregion
7
7
  export { MessageModal };
8
8
  //# sourceMappingURL=MessageModal.d.mts.map
@@ -3,8 +3,8 @@
3
3
  import FlexBasic_default from "../../Flex/FlexBasic.mjs";
4
4
  import Button_default from "../../Button/Button.mjs";
5
5
  import CodeEditor_default from "../../CodeEditor/CodeEditor.mjs";
6
- import TextArea_default from "../../Input/TextArea.mjs";
7
6
  import { useTranslation } from "../../i18n/useTranslation.mjs";
7
+ import TextArea_default from "../../Input/TextArea.mjs";
8
8
  import Modal_default from "../../Modal/Modal.mjs";
9
9
  import Markdown_default from "../../Markdown/Markdown.mjs";
10
10
  import { styles } from "../MessageInput/style.mjs";
@@ -1,5 +1,5 @@
1
1
  import { ColorScaleItem } from "../types.mjs";
2
- import * as react27 from "react";
2
+ import * as react65 from "react";
3
3
 
4
4
  //#region src/color/ColorScales/index.d.ts
5
5
  interface ColorScalesProps {
@@ -16,7 +16,7 @@ interface ColorScalesProps {
16
16
  */
17
17
  scale: ColorScaleItem;
18
18
  }
19
- declare const ColorScales: react27.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react65.NamedExoticComponent<ColorScalesProps>;
20
20
  //#endregion
21
21
  export { ColorScales, ColorScalesProps };
22
22
  //# sourceMappingURL=index.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { ColorScaleItem } from "../types.mjs";
2
- import * as react28 from "react";
2
+ import * as react66 from "react";
3
3
 
4
4
  //#region src/color/CssVar/index.d.ts
5
5
  interface ColorScalesProps {
@@ -16,7 +16,7 @@ interface ColorScalesProps {
16
16
  */
17
17
  scale: ColorScaleItem;
18
18
  }
19
- declare const ColorScales: react28.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react66.NamedExoticComponent<ColorScalesProps>;
20
20
  //#endregion
21
21
  export { ColorScales };
22
22
  //# sourceMappingURL=index.d.mts.map
@@ -1,7 +1,7 @@
1
1
  import { MotionComponentType } from "../MotionProvider/index.mjs";
2
2
  import { I18nContextValue, TranslationKey, TranslationResources, TranslationResourcesInput } from "./types.mjs";
3
3
  import "../ConfigProvider/index.mjs";
4
- import * as react29 from "react";
4
+ import * as react3 from "react";
5
5
  import { ReactNode } from "react";
6
6
 
7
7
  //#region src/i18n/context.d.ts
@@ -11,7 +11,7 @@ interface I18nProviderProps {
11
11
  motion: MotionComponentType;
12
12
  resources?: TranslationResourcesInput;
13
13
  }
14
- declare const I18nProvider: react29.NamedExoticComponent<I18nProviderProps>;
14
+ declare const I18nProvider: react3.NamedExoticComponent<I18nProviderProps>;
15
15
  //#endregion
16
16
  export { I18nProvider, I18nProviderProps };
17
17
  //# sourceMappingURL=context.d.mts.map
@@ -4,6 +4,7 @@ declare const _default: {
4
4
  readonly 'common.confirm': "Confirm";
5
5
  readonly 'common.delete': "Delete";
6
6
  readonly 'common.edit': "Edit";
7
+ readonly 'common.empty': "(empty)";
7
8
  };
8
9
  //#endregion
9
10
  export { _default };
@@ -3,7 +3,8 @@ var common_default = {
3
3
  "common.cancel": "Cancel",
4
4
  "common.confirm": "Confirm",
5
5
  "common.delete": "Delete",
6
- "common.edit": "Edit"
6
+ "common.edit": "Edit",
7
+ "common.empty": "(empty)"
7
8
  };
8
9
 
9
10
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"common.mjs","names":[],"sources":["../../../../src/i18n/resources/en/common.ts"],"sourcesContent":["export default {\n 'common.cancel': 'Cancel',\n 'common.confirm': 'Confirm',\n 'common.delete': 'Delete',\n 'common.edit': 'Edit',\n} as const;\n"],"mappings":";AAAA,qBAAe;CACb,iBAAiB;CACjB,kBAAkB;CAClB,iBAAiB;CACjB,eAAe;CAChB"}
1
+ {"version":3,"file":"common.mjs","names":[],"sources":["../../../../src/i18n/resources/en/common.ts"],"sourcesContent":["export default {\n 'common.cancel': 'Cancel',\n 'common.confirm': 'Confirm',\n 'common.delete': 'Delete',\n 'common.edit': 'Edit',\n 'common.empty': '(empty)',\n} as const;\n"],"mappings":";AAAA,qBAAe;CACb,iBAAiB;CACjB,kBAAkB;CAClB,iBAAiB;CACjB,eAAe;CACf,gBAAgB;CACjB"}
@@ -1,11 +1,11 @@
1
1
  import { __exportAll } from "../../../_virtual/rolldown_runtime.mjs";
2
+ import common_default from "./common.mjs";
2
3
  import emojiPicker_default from "./emojiPicker.mjs";
3
4
  import form_default from "./form.mjs";
4
5
  import hotkey_default from "./hotkey.mjs";
5
6
  import chat_default from "./chat.mjs";
6
7
  import messageModal_default from "./messageModal.mjs";
7
8
  import editableMessage_default from "./editableMessage.mjs";
8
- import common_default from "./common.mjs";
9
9
  import sideNav_default from "./sideNav.mjs";
10
10
 
11
11
  //#region src/i18n/resources/en/index.ts
@@ -4,6 +4,7 @@ declare const _default: {
4
4
  readonly 'common.confirm': "确认";
5
5
  readonly 'common.delete': "删除";
6
6
  readonly 'common.edit': "编辑";
7
+ readonly 'common.empty': "(空)";
7
8
  };
8
9
  //#endregion
9
10
  export { _default };
@@ -3,7 +3,8 @@ var common_default = {
3
3
  "common.cancel": "取消",
4
4
  "common.confirm": "确认",
5
5
  "common.delete": "删除",
6
- "common.edit": "编辑"
6
+ "common.edit": "编辑",
7
+ "common.empty": "(空)"
7
8
  };
8
9
 
9
10
  //#endregion
@@ -1 +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"}
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 'common.empty': '(空)',\n} as const;\n"],"mappings":";AAAA,qBAAe;CACb,iBAAiB;CACjB,kBAAkB;CAClB,iBAAiB;CACjB,eAAe;CACf,gBAAgB;CACjB"}
@@ -1,8 +1,8 @@
1
- import * as react78 from "react";
2
- import * as lucide_react1 from "lucide-react";
1
+ import * as react79 from "react";
2
+ import * as lucide_react0 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/BotPromptIcon.d.ts
5
- declare const BotPromptIcon: react78.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react78.RefAttributes<SVGSVGElement>>;
5
+ declare const BotPromptIcon: react79.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react79.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { BotPromptIcon };
8
8
  //# sourceMappingURL=BotPromptIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react82 from "react";
2
- import * as lucide_react3 from "lucide-react";
1
+ import * as react77 from "react";
2
+ import * as lucide_react0 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/CreateBotIcon.d.ts
5
- declare const CreateBotIcon: react82.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react82.RefAttributes<SVGSVGElement>>;
5
+ declare const CreateBotIcon: react77.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react77.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { CreateBotIcon };
8
8
  //# sourceMappingURL=CreateBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react86 from "react";
2
- import * as lucide_react5 from "lucide-react";
1
+ import * as react83 from "react";
2
+ import * as lucide_react2 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/DiscordIcon.d.ts
5
- declare const DiscordIcon: react86.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react86.RefAttributes<SVGSVGElement>>;
5
+ declare const DiscordIcon: react83.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react83.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { DiscordIcon };
8
8
  //# sourceMappingURL=DiscordIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react102 from "react";
2
- import * as lucide_react13 from "lucide-react";
1
+ import * as react85 from "react";
2
+ import * as lucide_react3 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GlobeOffIcon.d.ts
5
- declare const GlobeOffIcon: react102.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react102.RefAttributes<SVGSVGElement>>;
5
+ declare const GlobeOffIcon: react85.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react85.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GlobeOffIcon };
8
8
  //# sourceMappingURL=GlobeOffIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react74 from "react";
2
- import * as lucide_react0 from "lucide-react";
1
+ import * as react81 from "react";
2
+ import * as lucide_react1 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotIcon.d.ts
5
- declare const GroupBotIcon: react74.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react74.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotIcon: react81.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react81.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotIcon };
8
8
  //# sourceMappingURL=GroupBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react80 from "react";
2
- import * as lucide_react2 from "lucide-react";
1
+ import * as react87 from "react";
2
+ import * as lucide_react4 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotSquareIcon.d.ts
5
- declare const GroupBotSquareIcon: react80.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react80.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotSquareIcon: react87.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react87.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotSquareIcon };
8
8
  //# sourceMappingURL=GroupBotSquareIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react84 from "react";
2
- import * as lucide_react4 from "lucide-react";
1
+ import * as react89 from "react";
2
+ import * as lucide_react5 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftClickIcon.d.ts
5
- declare const LeftClickIcon: react84.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react84.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftClickIcon: react89.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react89.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftClickIcon };
8
8
  //# sourceMappingURL=LeftClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react88 from "react";
2
- import * as lucide_react6 from "lucide-react";
1
+ import * as react93 from "react";
2
+ import * as lucide_react7 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftDoubleClickIcon.d.ts
5
- declare const LeftDoubleClickIcon: react88.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react88.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftDoubleClickIcon: react93.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react93.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftDoubleClickIcon };
8
8
  //# sourceMappingURL=LeftDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react96 from "react";
1
+ import * as react99 from "react";
2
2
  import * as lucide_react10 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/McpIcon.d.ts
5
- declare const McpIcon: react96.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react96.RefAttributes<SVGSVGElement>>;
5
+ declare const McpIcon: react99.ForwardRefExoticComponent<Omit<lucide_react10.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 react100 from "react";
2
- import * as lucide_react12 from "lucide-react";
1
+ import * as react91 from "react";
2
+ import * as lucide_react6 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ProviderIcon.d.ts
5
- declare const ProviderIcon: react100.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react100.RefAttributes<SVGSVGElement>>;
5
+ declare const ProviderIcon: react91.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react91.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ProviderIcon };
8
8
  //# sourceMappingURL=ProviderIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react92 from "react";
2
- import * as lucide_react8 from "lucide-react";
1
+ import * as react97 from "react";
2
+ import * as lucide_react9 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightClickIcon.d.ts
5
- declare const RightClickIcon: react92.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react92.RefAttributes<SVGSVGElement>>;
5
+ declare const RightClickIcon: react97.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react97.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightClickIcon };
8
8
  //# sourceMappingURL=RightClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react90 from "react";
2
- import * as lucide_react7 from "lucide-react";
1
+ import * as react95 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: react90.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react90.RefAttributes<SVGSVGElement>>;
5
+ declare const RightDoubleClickIcon: react95.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react95.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightDoubleClickIcon };
8
8
  //# sourceMappingURL=RightDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react94 from "react";
2
- import * as lucide_react9 from "lucide-react";
1
+ import * as react105 from "react";
2
+ import * as lucide_react13 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ShapesUploadIcon.d.ts
5
- declare const ShapesUploadIcon: react94.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react94.RefAttributes<SVGSVGElement>>;
5
+ declare const ShapesUploadIcon: react105.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react105.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ShapesUploadIcon };
8
8
  //# sourceMappingURL=ShapesUploadIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react98 from "react";
2
- import * as lucide_react11 from "lucide-react";
1
+ import * as react103 from "react";
2
+ import * as lucide_react12 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeDownRightIcon.d.ts
5
- declare const TreeDownRightIcon: react98.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react98.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeDownRightIcon: react103.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react103.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { TreeDownRightIcon };
8
8
  //# sourceMappingURL=TreeDownRightIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react76 from "react";
2
- import * as lucide_react0 from "lucide-react";
1
+ import * as react101 from "react";
2
+ import * as lucide_react11 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeUpDownRightIcon.d.ts
5
- declare const TreeUpDownRightIcon: react76.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react76.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeUpDownRightIcon: react101.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react101.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { TreeUpDownRightIcon };
8
8
  //# sourceMappingURL=TreeUpDownRightIcon.d.mts.map
package/es/index.mjs CHANGED
@@ -43,6 +43,8 @@ import SyntaxHighlighter_default from "./Highlighter/SyntaxHighlighter/index.mjs
43
43
  import CodeEditor_default from "./CodeEditor/CodeEditor.mjs";
44
44
  import Collapse_default from "./Collapse/Collapse.mjs";
45
45
  import ColorSwatches_default from "./ColorSwatches/ColorSwatches.mjs";
46
+ import { I18nProvider } from "./i18n/context.mjs";
47
+ import { useTranslation } from "./i18n/useTranslation.mjs";
46
48
  import { showContextMenu } from "./ContextMenu/store.mjs";
47
49
  import { ContextMenuHost } from "./ContextMenu/ContextMenuHost.mjs";
48
50
  import { ContextMenuTrigger } from "./ContextMenu/ContextMenuTrigger.mjs";
@@ -66,8 +68,6 @@ import InputPassword_default from "./Input/InputPassword.mjs";
66
68
  import TextArea_default from "./Input/TextArea.mjs";
67
69
  import EditableText_default from "./EditableText/EditableText.mjs";
68
70
  import Tabs_default from "./Tabs/Tabs.mjs";
69
- import { I18nProvider } from "./i18n/context.mjs";
70
- import { useTranslation } from "./i18n/useTranslation.mjs";
71
71
  import Tag_default from "./Tag/Tag.mjs";
72
72
  import EmojiPicker_default from "./EmojiPicker/EmojiPicker.mjs";
73
73
  import Empty_default from "./Empty/Empty.mjs";
@@ -1,6 +1,6 @@
1
1
  import { TypographyProps } from "../../Markdown/type.mjs";
2
2
  import "../../Markdown/index.mjs";
3
- import * as react35 from "react";
3
+ import * as react64 from "react";
4
4
  import { ReactNode } from "react";
5
5
  import { Pluggable } from "unified";
6
6
 
@@ -18,7 +18,7 @@ interface MdxProps extends Omit<TypographyProps, 'children'> {
18
18
  remarkPlugins?: Pluggable[];
19
19
  variant?: 'normal' | 'chat';
20
20
  }
21
- declare const Mdx: react35.NamedExoticComponent<MdxProps>;
21
+ declare const Mdx: react64.NamedExoticComponent<MdxProps>;
22
22
  //#endregion
23
23
  export { Mdx, MdxProps };
24
24
  //# sourceMappingURL=index.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatHeaderTitleProps } from "./type.mjs";
2
- import * as react131 from "react";
2
+ import * as react125 from "react";
3
3
 
4
4
  //#region src/mobile/ChatHeader/ChatHeaderTitle.d.ts
5
- declare const ChatHeaderTitle: react131.NamedExoticComponent<ChatHeaderTitleProps>;
5
+ declare const ChatHeaderTitle: react125.NamedExoticComponent<ChatHeaderTitleProps>;
6
6
  //#endregion
7
7
  export { ChatHeaderTitle };
8
8
  //# sourceMappingURL=ChatHeaderTitle.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { ChatSendButtonProps } from "../type.mjs";
2
- import * as react132 from "react";
2
+ import * as react126 from "react";
3
3
 
4
4
  //#region src/mobile/ChatInputArea/components/ChatSendButton.d.ts
5
- declare const ChatSendButton: react132.NamedExoticComponent<ChatSendButtonProps>;
5
+ declare const ChatSendButton: react126.NamedExoticComponent<ChatSendButtonProps>;
6
6
  //#endregion
7
7
  export { ChatSendButton };
8
8
  //# sourceMappingURL=ChatSendButton.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { TabBarProps } from "./type.mjs";
2
- import * as react130 from "react";
2
+ import * as react124 from "react";
3
3
 
4
4
  //#region src/mobile/TabBar/TabBar.d.ts
5
- declare const TabBar: react130.NamedExoticComponent<TabBarProps>;
5
+ declare const TabBar: react124.NamedExoticComponent<TabBarProps>;
6
6
  //#endregion
7
7
  export { TabBar };
8
8
  //# sourceMappingURL=TabBar.d.mts.map