@lobehub/ui 5.2.1 → 5.3.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 (163) hide show
  1. package/es/Accordion/Accordion.d.mts +2 -2
  2. package/es/Accordion/AccordionItem.d.mts +2 -2
  3. package/es/ActionIcon/ActionIcon.d.mts +2 -2
  4. package/es/Alert/Alert.d.mts +2 -2
  5. package/es/AutoComplete/Select.d.mts +2 -2
  6. package/es/Avatar/AvatarGroup/index.d.mts +2 -2
  7. package/es/Burger/Burger.d.mts +2 -2
  8. package/es/CodeDiff/CodeDiff.d.mts +2 -2
  9. package/es/CodeDiff/PatchDiff.d.mts +2 -2
  10. package/es/CodeEditor/CodeEditor.d.mts +2 -2
  11. package/es/Collapse/Collapse.d.mts +2 -2
  12. package/es/ConfigProvider/index.d.mts +2 -2
  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/EditableText/EditableText.d.mts +2 -2
  23. package/es/EditorSlashMenu/atoms.d.mts +13 -13
  24. package/es/EmojiPicker/EmojiPicker.d.mts +2 -2
  25. package/es/Flex/FlexBasic.d.mts +2 -2
  26. package/es/FontLoader/index.d.mts +2 -2
  27. package/es/Footer/Footer.d.mts +2 -2
  28. package/es/Form/components/FormGroup.d.mts +2 -2
  29. package/es/Form/components/FormItem.d.mts +2 -2
  30. package/es/Form/components/FormSubmitFooter.d.mts +2 -2
  31. package/es/FormModal/FormModal.d.mts +2 -2
  32. package/es/Freeze/Freeze.d.mts +2 -2
  33. package/es/GuideCard/GuideCard.d.mts +2 -2
  34. package/es/Header/Header.d.mts +2 -2
  35. package/es/Highlighter/Highlighter.d.mts +2 -2
  36. package/es/Highlighter/SyntaxHighlighter/index.d.mts +2 -2
  37. package/es/Hotkey/Hotkey.d.mts +2 -2
  38. package/es/HotkeyInput/HotkeyInput.d.mts +2 -2
  39. package/es/Icon/Icon.d.mts +2 -2
  40. package/es/Icon/components/IconProvider.d.mts +3 -3
  41. package/es/Image/Image.mjs +2 -2
  42. package/es/Image/Image.mjs.map +1 -1
  43. package/es/Image/PreviewGroup.d.mts +2 -2
  44. package/es/Image/components/Toolbar.mjs +116 -36
  45. package/es/Image/components/Toolbar.mjs.map +1 -1
  46. package/es/ImageSelect/ImageSelect.d.mts +2 -2
  47. package/es/Input/Input.d.mts +2 -2
  48. package/es/Input/InputNumber.d.mts +2 -2
  49. package/es/Input/InputOPT.d.mts +2 -2
  50. package/es/Input/InputPassword.d.mts +2 -2
  51. package/es/Input/TextArea.d.mts +2 -2
  52. package/es/Layout/components/LayoutFooter.d.mts +2 -2
  53. package/es/Layout/components/LayoutHeader.d.mts +2 -2
  54. package/es/Layout/components/LayoutMain.d.mts +2 -2
  55. package/es/Layout/components/LayoutSidebar.d.mts +2 -2
  56. package/es/Layout/components/LayoutSidebarInner.d.mts +2 -2
  57. package/es/Layout/components/LayoutToc.d.mts +2 -2
  58. package/es/List/ListItem/index.d.mts +2 -2
  59. package/es/Markdown/Markdown.d.mts +2 -2
  60. package/es/Markdown/Typography.d.mts +2 -2
  61. package/es/Markdown/components/SearchResultCards/index.d.mts +2 -2
  62. package/es/MaskShadow/MaskShadow.d.mts +2 -2
  63. package/es/Menu/Menu.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/Modal/imperative.d.mts +2 -2
  67. package/es/MotionProvider/index.d.mts +2 -2
  68. package/es/Popover/ArrowIcon.d.mts +2 -2
  69. package/es/Popover/atoms.d.mts +9 -9
  70. package/es/Popover/context.d.mts +2 -2
  71. package/es/SearchBar/SearchBar.d.mts +2 -2
  72. package/es/Segmented/Segmented.d.mts +2 -2
  73. package/es/Select/Select.d.mts +2 -2
  74. package/es/SideNav/SideNav.d.mts +2 -2
  75. package/es/SliderWithInput/SliderWithInput.d.mts +2 -2
  76. package/es/SortableList/components/DragHandle.d.mts +2 -2
  77. package/es/SortableList/components/SortableItem.d.mts +2 -2
  78. package/es/ThemeProvider/ThemeProvider.d.mts +2 -2
  79. package/es/Toc/Toc.d.mts +2 -2
  80. package/es/Tooltip/TooltipGroup.mjs +4 -3
  81. package/es/Tooltip/TooltipGroup.mjs.map +1 -1
  82. package/es/Tooltip/TooltipStandalone.mjs +18 -5
  83. package/es/Tooltip/TooltipStandalone.mjs.map +1 -1
  84. package/es/Tooltip/type.d.mts +7 -0
  85. package/es/Tooltip/useMergedTooltipProps.mjs +4 -1
  86. package/es/Tooltip/useMergedTooltipProps.mjs.map +1 -1
  87. package/es/Video/index.d.mts +2 -2
  88. package/es/awesome/AuroraBackground/AuroraBackground.d.mts +2 -2
  89. package/es/awesome/BottomGradientButton/BottomGradientButton.d.mts +2 -2
  90. package/es/awesome/Features/Features.d.mts +2 -2
  91. package/es/awesome/Giscus/Giscus.d.mts +2 -2
  92. package/es/awesome/GradientButton/GradientButton.d.mts +2 -2
  93. package/es/awesome/GridBackground/GridBackground.d.mts +2 -2
  94. package/es/awesome/GridBackground/GridShowcase.d.mts +2 -2
  95. package/es/awesome/Hero/Hero.d.mts +2 -2
  96. package/es/awesome/Spline/Spine.d.mts +2 -2
  97. package/es/awesome/Spotlight/Spotlight.d.mts +2 -2
  98. package/es/awesome/SpotlightCard/SpotlightCard.d.mts +2 -2
  99. package/es/awesome/TypewriterEffect/TypewriterEffect.d.mts +2 -2
  100. package/es/base-ui/ContextMenu/ContextMenuHost.mjs +2 -0
  101. package/es/base-ui/ContextMenu/ContextMenuHost.mjs.map +1 -1
  102. package/es/base-ui/ContextMenu/renderItems.mjs.map +1 -1
  103. package/es/base-ui/DropdownMenu/DropdownMenu.d.mts +2 -2
  104. package/es/base-ui/DropdownMenu/atoms.d.mts +18 -18
  105. package/es/base-ui/Modal/atoms.d.mts +12 -12
  106. package/es/base-ui/Modal/context.d.mts +2 -2
  107. package/es/base-ui/Modal/imperative.d.mts +2 -2
  108. package/es/base-ui/ScrollArea/atoms.d.mts +7 -7
  109. package/es/base-ui/Select/Select.d.mts +2 -2
  110. package/es/base-ui/Select/atoms.d.mts +19 -19
  111. package/es/base-ui/Toast/imperative.d.mts +2 -2
  112. package/es/brand/LobeChat/index.d.mts +2 -2
  113. package/es/brand/LobeHub/index.d.mts +2 -2
  114. package/es/brand/LogoThree/LogoSpline.d.mts +2 -2
  115. package/es/brand/LogoThree/index.d.mts +2 -2
  116. package/es/chat/BackBottom/BackBottom.d.mts +2 -2
  117. package/es/chat/ChatInputArea/components/ChatInputAreaInner.d.mts +2 -2
  118. package/es/chat/ChatItem/ChatItem.d.mts +2 -2
  119. package/es/chat/ChatList/ChatList.d.mts +2 -2
  120. package/es/chat/EditableMessage/EditableMessage.d.mts +2 -2
  121. package/es/chat/EditableMessageList/EditableMessageList.d.mts +2 -2
  122. package/es/chat/MessageInput/MessageInput.d.mts +2 -2
  123. package/es/chat/MessageModal/MessageModal.d.mts +2 -2
  124. package/es/color/ColorScales/index.d.mts +2 -2
  125. package/es/color/CssVar/index.d.mts +2 -2
  126. package/es/i18n/context.d.mts +2 -2
  127. package/es/i18n/resources/en/image.d.mts +18 -0
  128. package/es/i18n/resources/en/image.mjs +19 -0
  129. package/es/i18n/resources/en/image.mjs.map +1 -0
  130. package/es/i18n/resources/en/index.d.mts +4 -3
  131. package/es/i18n/resources/en/index.mjs +2 -0
  132. package/es/i18n/resources/en/index.mjs.map +1 -1
  133. package/es/i18n/resources/zhCn/image.d.mts +18 -0
  134. package/es/i18n/resources/zhCn/image.mjs +19 -0
  135. package/es/i18n/resources/zhCn/image.mjs.map +1 -0
  136. package/es/i18n/resources/zhCn/index.d.mts +4 -3
  137. package/es/i18n/resources/zhCn/index.mjs +2 -0
  138. package/es/i18n/resources/zhCn/index.mjs.map +1 -1
  139. package/es/i18n/types.d.mts +4 -3
  140. package/es/icons/lucideExtra/BotPromptIcon.d.mts +2 -2
  141. package/es/icons/lucideExtra/CreateBotIcon.d.mts +2 -2
  142. package/es/icons/lucideExtra/DiscordIcon.d.mts +3 -3
  143. package/es/icons/lucideExtra/GlobeOffIcon.d.mts +3 -3
  144. package/es/icons/lucideExtra/GroupBotIcon.d.mts +3 -3
  145. package/es/icons/lucideExtra/GroupBotSquareIcon.d.mts +3 -3
  146. package/es/icons/lucideExtra/LeftClickIcon.d.mts +3 -3
  147. package/es/icons/lucideExtra/LeftDoubleClickIcon.d.mts +3 -3
  148. package/es/icons/lucideExtra/McpIcon.d.mts +3 -3
  149. package/es/icons/lucideExtra/ProviderIcon.d.mts +3 -3
  150. package/es/icons/lucideExtra/RightClickIcon.d.mts +3 -3
  151. package/es/icons/lucideExtra/RightDoubleClickIcon.d.mts +3 -3
  152. package/es/icons/lucideExtra/ShapesUploadIcon.d.mts +3 -3
  153. package/es/icons/lucideExtra/SkillsIcon.d.mts +3 -3
  154. package/es/icons/lucideExtra/TreeDownRightIcon.d.mts +3 -3
  155. package/es/icons/lucideExtra/TreeUpDownRightIcon.d.mts +3 -3
  156. package/es/mdx/Mdx/index.d.mts +2 -2
  157. package/es/mobile/ChatHeader/ChatHeaderTitle.d.mts +2 -2
  158. package/es/mobile/ChatInputArea/components/ChatSendButton.d.mts +2 -2
  159. package/es/mobile/TabBar/TabBar.d.mts +2 -2
  160. package/es/storybook/StoryBook/index.d.mts +2 -2
  161. package/es/utils/blobToPng.mjs +41 -0
  162. package/es/utils/blobToPng.mjs.map +1 -0
  163. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { SplineProps } from "../../awesome/Spline/type.mjs";
2
2
  import "../../awesome/Spline/index.mjs";
3
- import * as react41 from "react";
3
+ import * as react40 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: react41.NamedExoticComponent<LogoThreeProps>;
12
+ declare const LogoThree: react40.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 react119 from "react";
2
+ import * as react130 from "react";
3
3
 
4
4
  //#region src/chat/BackBottom/BackBottom.d.ts
5
- declare const BackBottom: react119.NamedExoticComponent<BackBottomProps>;
5
+ declare const BackBottom: react130.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 react121 from "react";
2
+ import * as react131 from "react";
3
3
 
4
4
  //#region src/chat/ChatInputArea/components/ChatInputAreaInner.d.ts
5
- declare const ChatInputAreaInner: react121.NamedExoticComponent<ChatInputAreaInnerProps>;
5
+ declare const ChatInputAreaInner: react131.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 react123 from "react";
2
+ import * as react129 from "react";
3
3
 
4
4
  //#region src/chat/ChatItem/ChatItem.d.ts
5
- declare const ChatItem: react123.NamedExoticComponent<ChatItemProps>;
5
+ declare const ChatItem: react129.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 react124 from "react";
2
+ import * as react133 from "react";
3
3
 
4
4
  //#region src/chat/ChatList/ChatList.d.ts
5
- declare const ChatList: react124.NamedExoticComponent<ChatListProps>;
5
+ declare const ChatList: react133.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 react122 from "react";
2
+ import * as react132 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessage/EditableMessage.d.ts
5
- declare const EditableMessage: react122.NamedExoticComponent<EditableMessageProps>;
5
+ declare const EditableMessage: react132.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 react120 from "react";
2
+ import * as react134 from "react";
3
3
 
4
4
  //#region src/chat/EditableMessageList/EditableMessageList.d.ts
5
- declare const EditableMessageList: react120.NamedExoticComponent<EditableMessageListProps>;
5
+ declare const EditableMessageList: react134.NamedExoticComponent<EditableMessageListProps>;
6
6
  //#endregion
7
7
  export { EditableMessageList };
8
8
  //# sourceMappingURL=EditableMessageList.d.mts.map
@@ -1,8 +1,8 @@
1
1
  import { MessageInputProps } from "./type.mjs";
2
- import * as react126 from "react";
2
+ import * as react135 from "react";
3
3
 
4
4
  //#region src/chat/MessageInput/MessageInput.d.ts
5
- declare const MessageInput: react126.NamedExoticComponent<MessageInputProps>;
5
+ declare const MessageInput: react135.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 react125 from "react";
2
+ import * as react136 from "react";
3
3
 
4
4
  //#region src/chat/MessageModal/MessageModal.d.ts
5
- declare const MessageModal: react125.NamedExoticComponent<MessageModalProps>;
5
+ declare const MessageModal: react136.NamedExoticComponent<MessageModalProps>;
6
6
  //#endregion
7
7
  export { MessageModal };
8
8
  //# sourceMappingURL=MessageModal.d.mts.map
@@ -1,5 +1,5 @@
1
1
  import { ColorScaleItem } from "../types.mjs";
2
- import * as react44 from "react";
2
+ import * as react35 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: react44.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react35.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 react45 from "react";
2
+ import * as react36 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: react45.NamedExoticComponent<ColorScalesProps>;
19
+ declare const ColorScales: react36.NamedExoticComponent<ColorScalesProps>;
20
20
  //#endregion
21
21
  export { ColorScales };
22
22
  //# sourceMappingURL=index.d.mts.map
@@ -1,7 +1,7 @@
1
1
  import { I18nContextValue, TranslationKey, TranslationResources, TranslationResourcesInput } from "./types.mjs";
2
2
  import { MotionComponentType } from "../MotionProvider/index.mjs";
3
3
  import "../ConfigProvider/index.mjs";
4
- import * as react43 from "react";
4
+ import * as react34 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: react43.NamedExoticComponent<I18nProviderProps>;
14
+ declare const I18nProvider: react34.NamedExoticComponent<I18nProviderProps>;
15
15
  //#endregion
16
16
  export { I18nProvider, I18nProviderProps };
17
17
  //# sourceMappingURL=context.d.mts.map
@@ -0,0 +1,18 @@
1
+ //#region src/i18n/resources/en/image.d.ts
2
+ declare const _default: {
3
+ readonly 'image.copy': "Copy";
4
+ readonly 'image.copyFailed': "Copy Failed";
5
+ readonly 'image.copySuccess': "Copy Success";
6
+ readonly 'image.download': "Download";
7
+ readonly 'image.downloadFailed': "Download Failed";
8
+ readonly 'image.downloadSuccess': "Download Success";
9
+ readonly 'image.flipHorizontal': "Flip Horizontal";
10
+ readonly 'image.flipVertical': "Flip Vertical";
11
+ readonly 'image.rotateLeft': "Rotate Left";
12
+ readonly 'image.rotateRight': "Rotate Right";
13
+ readonly 'image.zoomIn': "Zoom In";
14
+ readonly 'image.zoomOut': "Zoom Out";
15
+ };
16
+ //#endregion
17
+ export { _default };
18
+ //# sourceMappingURL=image.d.mts.map
@@ -0,0 +1,19 @@
1
+ //#region src/i18n/resources/en/image.ts
2
+ var image_default = {
3
+ "image.copy": "Copy",
4
+ "image.copyFailed": "Copy Failed",
5
+ "image.copySuccess": "Copy Success",
6
+ "image.download": "Download",
7
+ "image.downloadFailed": "Download Failed",
8
+ "image.downloadSuccess": "Download Success",
9
+ "image.flipHorizontal": "Flip Horizontal",
10
+ "image.flipVertical": "Flip Vertical",
11
+ "image.rotateLeft": "Rotate Left",
12
+ "image.rotateRight": "Rotate Right",
13
+ "image.zoomIn": "Zoom In",
14
+ "image.zoomOut": "Zoom Out"
15
+ };
16
+
17
+ //#endregion
18
+ export { image_default as default };
19
+ //# sourceMappingURL=image.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.mjs","names":[],"sources":["../../../../src/i18n/resources/en/image.ts"],"sourcesContent":["export default {\n 'image.copy': 'Copy',\n 'image.copyFailed': 'Copy Failed',\n 'image.copySuccess': 'Copy Success',\n 'image.download': 'Download',\n 'image.downloadFailed': 'Download Failed',\n 'image.downloadSuccess': 'Download Success',\n 'image.flipHorizontal': 'Flip Horizontal',\n 'image.flipVertical': 'Flip Vertical',\n 'image.rotateLeft': 'Rotate Left',\n 'image.rotateRight': 'Rotate Right',\n 'image.zoomIn': 'Zoom In',\n 'image.zoomOut': 'Zoom Out',\n} as const;\n"],"mappings":";AAAA,oBAAe;CACb,cAAc;CACd,oBAAoB;CACpB,qBAAqB;CACrB,kBAAkB;CAClB,wBAAwB;CACxB,yBAAyB;CACzB,wBAAwB;CACxB,sBAAsB;CACtB,oBAAoB;CACpB,qBAAqB;CACrB,gBAAgB;CAChB,iBAAiB;CAClB"}
@@ -4,12 +4,13 @@ import { _default as _default$2 } from "./editableMessage.mjs";
4
4
  import { _default as _default$3 } from "./emojiPicker.mjs";
5
5
  import { _default as _default$4 } from "./form.mjs";
6
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";
7
+ import { _default as _default$6 } from "./image.mjs";
8
+ import { _default as _default$7 } from "./messageModal.mjs";
9
+ import { _default as _default$8 } from "./sideNav.mjs";
9
10
 
10
11
  //#region src/i18n/resources/en/index.d.ts
11
12
  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
+ 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 image, _default$7 as messageModal, _default$8 as sideNav };
13
14
  }
14
15
  //#endregion
15
16
  export { index_d_exports };
@@ -3,6 +3,7 @@ import common_default from "./common.mjs";
3
3
  import emojiPicker_default from "./emojiPicker.mjs";
4
4
  import form_default from "./form.mjs";
5
5
  import hotkey_default from "./hotkey.mjs";
6
+ import image_default from "./image.mjs";
6
7
  import chat_default from "./chat.mjs";
7
8
  import messageModal_default from "./messageModal.mjs";
8
9
  import editableMessage_default from "./editableMessage.mjs";
@@ -16,6 +17,7 @@ var en_exports = /* @__PURE__ */ __exportAll({
16
17
  emojiPicker: () => emojiPicker_default,
17
18
  form: () => form_default,
18
19
  hotkey: () => hotkey_default,
20
+ image: () => image_default,
19
21
  messageModal: () => messageModal_default,
20
22
  sideNav: () => sideNav_default
21
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/i18n/resources/en/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":""}
1
+ {"version":3,"file":"index.mjs","names":[],"sources":["../../../../src/i18n/resources/en/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 image } from './image';\nexport { default as messageModal } from './messageModal';\nexport { default as sideNav } from './sideNav';\n"],"mappings":""}
@@ -0,0 +1,18 @@
1
+ //#region src/i18n/resources/zhCn/image.d.ts
2
+ declare const _default: {
3
+ readonly 'image.copy': "复制";
4
+ readonly 'image.copyFailed': "复制失败";
5
+ readonly 'image.copySuccess': "复制成功";
6
+ readonly 'image.download': "下载";
7
+ readonly 'image.downloadFailed': "下载失败";
8
+ readonly 'image.downloadSuccess': "下载成功";
9
+ readonly 'image.flipHorizontal': "水平翻转";
10
+ readonly 'image.flipVertical': "垂直翻转";
11
+ readonly 'image.rotateLeft': "向左旋转";
12
+ readonly 'image.rotateRight': "向右旋转";
13
+ readonly 'image.zoomIn': "放大";
14
+ readonly 'image.zoomOut': "缩小";
15
+ };
16
+ //#endregion
17
+ export { _default };
18
+ //# sourceMappingURL=image.d.mts.map
@@ -0,0 +1,19 @@
1
+ //#region src/i18n/resources/zhCn/image.ts
2
+ var image_default = {
3
+ "image.copy": "复制",
4
+ "image.copyFailed": "复制失败",
5
+ "image.copySuccess": "复制成功",
6
+ "image.download": "下载",
7
+ "image.downloadFailed": "下载失败",
8
+ "image.downloadSuccess": "下载成功",
9
+ "image.flipHorizontal": "水平翻转",
10
+ "image.flipVertical": "垂直翻转",
11
+ "image.rotateLeft": "向左旋转",
12
+ "image.rotateRight": "向右旋转",
13
+ "image.zoomIn": "放大",
14
+ "image.zoomOut": "缩小"
15
+ };
16
+
17
+ //#endregion
18
+ export { image_default as default };
19
+ //# sourceMappingURL=image.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.mjs","names":[],"sources":["../../../../src/i18n/resources/zhCn/image.ts"],"sourcesContent":["export default {\n 'image.copy': '复制',\n 'image.copyFailed': '复制失败',\n 'image.copySuccess': '复制成功',\n 'image.download': '下载',\n 'image.downloadFailed': '下载失败',\n 'image.downloadSuccess': '下载成功',\n 'image.flipHorizontal': '水平翻转',\n 'image.flipVertical': '垂直翻转',\n 'image.rotateLeft': '向左旋转',\n 'image.rotateRight': '向右旋转',\n 'image.zoomIn': '放大',\n 'image.zoomOut': '缩小',\n} as const;\n"],"mappings":";AAAA,oBAAe;CACb,cAAc;CACd,oBAAoB;CACpB,qBAAqB;CACrB,kBAAkB;CAClB,wBAAwB;CACxB,yBAAyB;CACzB,wBAAwB;CACxB,sBAAsB;CACtB,oBAAoB;CACpB,qBAAqB;CACrB,gBAAgB;CAChB,iBAAiB;CAClB"}
@@ -4,12 +4,13 @@ import { _default as _default$2 } from "./editableMessage.mjs";
4
4
  import { _default as _default$3 } from "./emojiPicker.mjs";
5
5
  import { _default as _default$4 } from "./form.mjs";
6
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";
7
+ import { _default as _default$6 } from "./image.mjs";
8
+ import { _default as _default$7 } from "./messageModal.mjs";
9
+ import { _default as _default$8 } from "./sideNav.mjs";
9
10
 
10
11
  //#region src/i18n/resources/zhCn/index.d.ts
11
12
  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
+ 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 image, _default$7 as messageModal, _default$8 as sideNav };
13
14
  }
14
15
  //#endregion
15
16
  export { index_d_exports };
@@ -5,6 +5,7 @@ import editableMessage_default from "./editableMessage.mjs";
5
5
  import emojiPicker_default from "./emojiPicker.mjs";
6
6
  import form_default from "./form.mjs";
7
7
  import hotkey_default from "./hotkey.mjs";
8
+ import image_default from "./image.mjs";
8
9
  import messageModal_default from "./messageModal.mjs";
9
10
  import sideNav_default from "./sideNav.mjs";
10
11
 
@@ -16,6 +17,7 @@ var zhCn_exports = /* @__PURE__ */ __exportAll({
16
17
  emojiPicker: () => emojiPicker_default,
17
18
  form: () => form_default,
18
19
  hotkey: () => hotkey_default,
20
+ image: () => image_default,
19
21
  messageModal: () => messageModal_default,
20
22
  sideNav: () => sideNav_default
21
23
  });
@@ -1 +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":""}
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 image } from './image';\nexport { default as messageModal } from './messageModal';\nexport { default as sideNav } from './sideNav';\n"],"mappings":""}
@@ -4,12 +4,13 @@ import { _default as _default$2 } from "./resources/en/editableMessage.mjs";
4
4
  import { _default as _default$3 } from "./resources/en/emojiPicker.mjs";
5
5
  import { _default as _default$4 } from "./resources/en/form.mjs";
6
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";
7
+ import { _default as _default$6 } from "./resources/en/image.mjs";
8
+ import { _default as _default$7 } from "./resources/en/messageModal.mjs";
9
+ import { _default as _default$8 } from "./resources/en/sideNav.mjs";
9
10
 
10
11
  //#region src/i18n/types.d.ts
11
12
  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 BuiltinTranslationResources = typeof _default & typeof _default$1 & typeof _default$2 & typeof _default$3 & typeof _default$4 & typeof _default$5 & typeof _default$6 & typeof _default$7 & typeof _default$8;
13
14
  type TranslationKey = keyof BuiltinTranslationResources;
14
15
  type TranslationValue = string;
15
16
  /**
@@ -1,8 +1,8 @@
1
- import * as react82 from "react";
1
+ import * as react84 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: react82.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react82.RefAttributes<SVGSVGElement>>;
5
+ declare const BotPromptIcon: react84.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react84.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { BotPromptIcon };
8
8
  //# sourceMappingURL=BotPromptIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react84 from "react";
1
+ import * as react86 from "react";
2
2
  import * as lucide_react1 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/CreateBotIcon.d.ts
5
- declare const CreateBotIcon: react84.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react84.RefAttributes<SVGSVGElement>>;
5
+ declare const CreateBotIcon: react86.ForwardRefExoticComponent<Omit<lucide_react1.LucideProps, "ref"> & react86.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { CreateBotIcon };
8
8
  //# sourceMappingURL=CreateBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react80 from "react";
2
- import * as lucide_react0 from "lucide-react";
1
+ import * as react88 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: react80.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react80.RefAttributes<SVGSVGElement>>;
5
+ declare const DiscordIcon: react88.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react88.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { DiscordIcon };
8
8
  //# sourceMappingURL=DiscordIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react92 from "react";
2
- import * as lucide_react5 from "lucide-react";
1
+ import * as react90 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: react92.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react92.RefAttributes<SVGSVGElement>>;
5
+ declare const GlobeOffIcon: react90.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react90.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GlobeOffIcon };
8
8
  //# sourceMappingURL=GlobeOffIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react100 from "react";
2
- import * as lucide_react9 from "lucide-react";
1
+ import * as react92 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: react100.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react100.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotIcon: react92.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react92.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotIcon };
8
8
  //# sourceMappingURL=GroupBotIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react106 from "react";
2
- import * as lucide_react12 from "lucide-react";
1
+ import * as react94 from "react";
2
+ import * as lucide_react5 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/GroupBotSquareIcon.d.ts
5
- declare const GroupBotSquareIcon: react106.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react106.RefAttributes<SVGSVGElement>>;
5
+ declare const GroupBotSquareIcon: react94.ForwardRefExoticComponent<Omit<lucide_react5.LucideProps, "ref"> & react94.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { GroupBotSquareIcon };
8
8
  //# sourceMappingURL=GroupBotSquareIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react110 from "react";
2
- import * as lucide_react14 from "lucide-react";
1
+ import * as react96 from "react";
2
+ import * as lucide_react6 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/LeftClickIcon.d.ts
5
- declare const LeftClickIcon: react110.ForwardRefExoticComponent<Omit<lucide_react14.LucideProps, "ref"> & react110.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftClickIcon: react96.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react96.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftClickIcon };
8
8
  //# sourceMappingURL=LeftClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react108 from "react";
2
- import * as lucide_react13 from "lucide-react";
1
+ import * as react98 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: react108.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react108.RefAttributes<SVGSVGElement>>;
5
+ declare const LeftDoubleClickIcon: react98.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react98.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { LeftDoubleClickIcon };
8
8
  //# sourceMappingURL=LeftDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react88 from "react";
2
- import * as lucide_react3 from "lucide-react";
1
+ import * as react100 from "react";
2
+ import * as lucide_react8 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/McpIcon.d.ts
5
- declare const McpIcon: react88.ForwardRefExoticComponent<Omit<lucide_react3.LucideProps, "ref"> & react88.RefAttributes<SVGSVGElement>>;
5
+ declare const McpIcon: react100.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react100.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { McpIcon };
8
8
  //# sourceMappingURL=McpIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react90 from "react";
2
- import * as lucide_react4 from "lucide-react";
1
+ import * as react102 from "react";
2
+ import * as lucide_react9 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ProviderIcon.d.ts
5
- declare const ProviderIcon: react90.ForwardRefExoticComponent<Omit<lucide_react4.LucideProps, "ref"> & react90.RefAttributes<SVGSVGElement>>;
5
+ declare const ProviderIcon: react102.ForwardRefExoticComponent<Omit<lucide_react9.LucideProps, "ref"> & react102.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ProviderIcon };
8
8
  //# sourceMappingURL=ProviderIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react94 from "react";
2
- import * as lucide_react6 from "lucide-react";
1
+ import * as react104 from "react";
2
+ import * as lucide_react10 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightClickIcon.d.ts
5
- declare const RightClickIcon: react94.ForwardRefExoticComponent<Omit<lucide_react6.LucideProps, "ref"> & react94.RefAttributes<SVGSVGElement>>;
5
+ declare const RightClickIcon: react104.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react104.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightClickIcon };
8
8
  //# sourceMappingURL=RightClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react96 from "react";
2
- import * as lucide_react7 from "lucide-react";
1
+ import * as react106 from "react";
2
+ import * as lucide_react11 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/RightDoubleClickIcon.d.ts
5
- declare const RightDoubleClickIcon: react96.ForwardRefExoticComponent<Omit<lucide_react7.LucideProps, "ref"> & react96.RefAttributes<SVGSVGElement>>;
5
+ declare const RightDoubleClickIcon: react106.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react106.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { RightDoubleClickIcon };
8
8
  //# sourceMappingURL=RightDoubleClickIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react98 from "react";
2
- import * as lucide_react8 from "lucide-react";
1
+ import * as react108 from "react";
2
+ import * as lucide_react12 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/ShapesUploadIcon.d.ts
5
- declare const ShapesUploadIcon: react98.ForwardRefExoticComponent<Omit<lucide_react8.LucideProps, "ref"> & react98.RefAttributes<SVGSVGElement>>;
5
+ declare const ShapesUploadIcon: react108.ForwardRefExoticComponent<Omit<lucide_react12.LucideProps, "ref"> & react108.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { ShapesUploadIcon };
8
8
  //# sourceMappingURL=ShapesUploadIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react102 from "react";
2
- import * as lucide_react10 from "lucide-react";
1
+ import * as react110 from "react";
2
+ import * as lucide_react13 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/SkillsIcon.d.ts
5
- declare const SkillsIcon: react102.ForwardRefExoticComponent<Omit<lucide_react10.LucideProps, "ref"> & react102.RefAttributes<SVGSVGElement>>;
5
+ declare const SkillsIcon: react110.ForwardRefExoticComponent<Omit<lucide_react13.LucideProps, "ref"> & react110.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { SkillsIcon };
8
8
  //# sourceMappingURL=SkillsIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react104 from "react";
2
- import * as lucide_react11 from "lucide-react";
1
+ import * as react112 from "react";
2
+ import * as lucide_react14 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeDownRightIcon.d.ts
5
- declare const TreeDownRightIcon: react104.ForwardRefExoticComponent<Omit<lucide_react11.LucideProps, "ref"> & react104.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeDownRightIcon: react112.ForwardRefExoticComponent<Omit<lucide_react14.LucideProps, "ref"> & react112.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { TreeDownRightIcon };
8
8
  //# sourceMappingURL=TreeDownRightIcon.d.mts.map
@@ -1,8 +1,8 @@
1
- import * as react86 from "react";
2
- import * as lucide_react2 from "lucide-react";
1
+ import * as react82 from "react";
2
+ import * as lucide_react0 from "lucide-react";
3
3
 
4
4
  //#region src/icons/lucideExtra/TreeUpDownRightIcon.d.ts
5
- declare const TreeUpDownRightIcon: react86.ForwardRefExoticComponent<Omit<lucide_react2.LucideProps, "ref"> & react86.RefAttributes<SVGSVGElement>>;
5
+ declare const TreeUpDownRightIcon: react82.ForwardRefExoticComponent<Omit<lucide_react0.LucideProps, "ref"> & react82.RefAttributes<SVGSVGElement>>;
6
6
  //#endregion
7
7
  export { TreeUpDownRightIcon };
8
8
  //# sourceMappingURL=TreeUpDownRightIcon.d.mts.map
@@ -1,6 +1,6 @@
1
1
  import { TypographyProps } from "../../Markdown/type.mjs";
2
2
  import "../../Markdown/index.mjs";
3
- import * as react38 from "react";
3
+ import * as react33 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: react38.NamedExoticComponent<MdxProps>;
21
+ declare const Mdx: react33.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 react128 from "react";
2
+ import * as react127 from "react";
3
3
 
4
4
  //#region src/mobile/ChatHeader/ChatHeaderTitle.d.ts
5
- declare const ChatHeaderTitle: react128.NamedExoticComponent<ChatHeaderTitleProps>;
5
+ declare const ChatHeaderTitle: react127.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 react129 from "react";
2
+ import * as react128 from "react";
3
3
 
4
4
  //#region src/mobile/ChatInputArea/components/ChatSendButton.d.ts
5
- declare const ChatSendButton: react129.NamedExoticComponent<ChatSendButtonProps>;
5
+ declare const ChatSendButton: react128.NamedExoticComponent<ChatSendButtonProps>;
6
6
  //#endregion
7
7
  export { ChatSendButton };
8
8
  //# sourceMappingURL=ChatSendButton.d.mts.map