whyuzeim 1.1.136 → 1.1.138

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 (171) hide show
  1. package/cjs/IM/context.d.ts +1 -4
  2. package/cjs/IM/index.d.ts +1 -4
  3. package/cjs/index.css +1 -0
  4. package/cjs/index.d.ts +0 -2
  5. package/cjs/index.js +7225 -41
  6. package/cjs/type.d.ts +0 -6
  7. package/es/IM/context.d.ts +1 -4
  8. package/es/IM/index.d.ts +1 -4
  9. package/es/index.css +1 -0
  10. package/es/index.d.ts +0 -2
  11. package/es/index.js +7209 -21
  12. package/es/type.d.ts +0 -6
  13. package/package.json +1 -1
  14. package/cjs/AddMember/image/ic_close.svg.js +0 -5
  15. package/cjs/AddMember/index.js +0 -171
  16. package/cjs/ChatBox/JoinGroupDialog/index.js +0 -102
  17. package/cjs/ChatBox/image/ic_chat_back.svg.js +0 -5
  18. package/cjs/ChatBox/image/ic_chat_back_light.svg.js +0 -5
  19. package/cjs/ChatBox/image/ic_more.svg.js +0 -5
  20. package/cjs/ChatBox/index.js +0 -589
  21. package/cjs/ContactList/index.js +0 -106
  22. package/cjs/CustomChatView/image/set.svg.js +0 -5
  23. package/cjs/CustomChatView/index.js +0 -397
  24. package/cjs/Exit/index.js +0 -17
  25. package/cjs/GroupDetail/GroupDetailEditView/index.js +0 -268
  26. package/cjs/GroupDetail/GroupShareView/index.js +0 -156
  27. package/cjs/GroupDetail/image/ic_close.svg.js +0 -5
  28. package/cjs/GroupDetail/image/ic_group_edit.svg.js +0 -5
  29. package/cjs/GroupDetail/image/ic_messages.svg.js +0 -5
  30. package/cjs/GroupDetail/image/ic_share.svg.js +0 -5
  31. package/cjs/GroupDetail/index.js +0 -264
  32. package/cjs/HighlyCustomChat/ ShareMsg/index.js +0 -191
  33. package/cjs/HighlyCustomChat/AIReportMsg/index.js +0 -102
  34. package/cjs/HighlyCustomChat/CodeMsg/index.js +0 -136
  35. package/cjs/HighlyCustomChat/QuestionButton/index.js +0 -63
  36. package/cjs/HighlyCustomChat/TokenMsg/image/copy_link.svg.js +0 -5
  37. package/cjs/HighlyCustomChat/TokenMsg/image/token_chart.svg.js +0 -5
  38. package/cjs/HighlyCustomChat/TokenMsg/index.js +0 -276
  39. package/cjs/HighlyCustomChat/index.js +0 -741
  40. package/cjs/IM/DefaultIMLayout/index.js +0 -29
  41. package/cjs/IM/MainContent/index.js +0 -89
  42. package/cjs/IM/context.js +0 -14
  43. package/cjs/IM/encryption.js +0 -38
  44. package/cjs/IM/hooks/useGetAgoraToken.js +0 -73
  45. package/cjs/IM/index.js +0 -243
  46. package/cjs/Icon/avatar_default.svg.js +0 -5
  47. package/cjs/Icon/im_notlogin_dark.svg.js +0 -5
  48. package/cjs/Icon/im_notlogin_light.svg.js +0 -5
  49. package/cjs/NoData/image/no-data.svg.js +0 -5
  50. package/cjs/NoData/index.js +0 -27
  51. package/cjs/Sharebox/index.js +0 -14
  52. package/cjs/Sidebar/CreateGroup/index.js +0 -259
  53. package/cjs/Sidebar/CustomConversationItem/OperateBtn/image/delete.svg.js +0 -5
  54. package/cjs/Sidebar/CustomConversationItem/OperateBtn/image/logout.svg.js +0 -5
  55. package/cjs/Sidebar/CustomConversationItem/OperateBtn/image/more.svg.js +0 -5
  56. package/cjs/Sidebar/CustomConversationItem/OperateBtn/image/muted.svg.js +0 -5
  57. package/cjs/Sidebar/CustomConversationItem/OperateBtn/index.js +0 -238
  58. package/cjs/Sidebar/CustomConversationItem/index.js +0 -215
  59. package/cjs/Sidebar/GroupList/OperateBtn/image/delete.svg.js +0 -5
  60. package/cjs/Sidebar/GroupList/OperateBtn/image/logout.svg.js +0 -5
  61. package/cjs/Sidebar/GroupList/OperateBtn/image/more.svg.js +0 -5
  62. package/cjs/Sidebar/GroupList/OperateBtn/image/muted.svg.js +0 -5
  63. package/cjs/Sidebar/GroupList/OperateBtn/index.js +0 -246
  64. package/cjs/Sidebar/GroupList/index.js +0 -148
  65. package/cjs/Sidebar/MobileCreateGroup/index.js +0 -225
  66. package/cjs/Sidebar/Searchbox/image/ic_messages.svg.js +0 -5
  67. package/cjs/Sidebar/Searchbox/index.js +0 -199
  68. package/cjs/Sidebar/image/ic_close.svg.js +0 -5
  69. package/cjs/Sidebar/image/ic_close_light.svg.js +0 -5
  70. package/cjs/Sidebar/image/ic_search.svg.js +0 -5
  71. package/cjs/Sidebar/image/ic_search_light.svg.js +0 -5
  72. package/cjs/Sidebar/image/message.svg.js +0 -5
  73. package/cjs/Sidebar/index.js +0 -231
  74. package/cjs/TypeItem/OperateBtn/image/ban.svg.js +0 -5
  75. package/cjs/TypeItem/OperateBtn/image/block.svg.js +0 -5
  76. package/cjs/TypeItem/OperateBtn/image/logout.svg.js +0 -5
  77. package/cjs/TypeItem/OperateBtn/image/more.svg.js +0 -5
  78. package/cjs/TypeItem/OperateBtn/index.js +0 -169
  79. package/cjs/TypeItem/index.js +0 -86
  80. package/cjs/UserProfile/image/ic_close.svg.js +0 -5
  81. package/cjs/UserProfile/image/ic_share.svg.js +0 -5
  82. package/cjs/UserProfile/image/icon_translation.svg.js +0 -5
  83. package/cjs/UserProfile/index.js +0 -182
  84. package/cjs/contexts/LocaleContext.js +0 -163
  85. package/cjs/locales/en.js +0 -160
  86. package/cjs/locales/ja.js +0 -160
  87. package/cjs/locales/ko.js +0 -160
  88. package/cjs/locales/ru.js +0 -160
  89. package/cjs/locales/vi.js +0 -160
  90. package/cjs/locales/zh-TW.js +0 -160
  91. package/cjs/tools.js +0 -81
  92. package/cjs/type.js +0 -86
  93. package/es/AddMember/image/ic_close.svg.js +0 -3
  94. package/es/AddMember/index.js +0 -169
  95. package/es/ChatBox/JoinGroupDialog/index.js +0 -100
  96. package/es/ChatBox/image/ic_chat_back.svg.js +0 -3
  97. package/es/ChatBox/image/ic_chat_back_light.svg.js +0 -3
  98. package/es/ChatBox/image/ic_more.svg.js +0 -3
  99. package/es/ChatBox/index.js +0 -587
  100. package/es/ContactList/index.js +0 -104
  101. package/es/CustomChatView/image/set.svg.js +0 -3
  102. package/es/CustomChatView/index.js +0 -395
  103. package/es/Exit/index.js +0 -15
  104. package/es/GroupDetail/GroupDetailEditView/index.js +0 -266
  105. package/es/GroupDetail/GroupShareView/index.js +0 -154
  106. package/es/GroupDetail/image/ic_close.svg.js +0 -3
  107. package/es/GroupDetail/image/ic_group_edit.svg.js +0 -3
  108. package/es/GroupDetail/image/ic_messages.svg.js +0 -3
  109. package/es/GroupDetail/image/ic_share.svg.js +0 -3
  110. package/es/GroupDetail/index.js +0 -262
  111. package/es/HighlyCustomChat/ ShareMsg/index.js +0 -189
  112. package/es/HighlyCustomChat/AIReportMsg/index.js +0 -100
  113. package/es/HighlyCustomChat/CodeMsg/index.js +0 -134
  114. package/es/HighlyCustomChat/QuestionButton/index.js +0 -61
  115. package/es/HighlyCustomChat/TokenMsg/image/copy_link.svg.js +0 -3
  116. package/es/HighlyCustomChat/TokenMsg/image/token_chart.svg.js +0 -3
  117. package/es/HighlyCustomChat/TokenMsg/index.js +0 -274
  118. package/es/HighlyCustomChat/index.js +0 -739
  119. package/es/IM/DefaultIMLayout/index.js +0 -27
  120. package/es/IM/MainContent/index.js +0 -87
  121. package/es/IM/context.js +0 -12
  122. package/es/IM/encryption.js +0 -34
  123. package/es/IM/hooks/useGetAgoraToken.js +0 -71
  124. package/es/IM/index.js +0 -241
  125. package/es/Icon/avatar_default.svg.js +0 -3
  126. package/es/Icon/im_notlogin_dark.svg.js +0 -3
  127. package/es/Icon/im_notlogin_light.svg.js +0 -3
  128. package/es/NoData/image/no-data.svg.js +0 -3
  129. package/es/NoData/index.js +0 -25
  130. package/es/Sharebox/index.js +0 -12
  131. package/es/Sidebar/CreateGroup/index.js +0 -257
  132. package/es/Sidebar/CustomConversationItem/OperateBtn/image/delete.svg.js +0 -3
  133. package/es/Sidebar/CustomConversationItem/OperateBtn/image/logout.svg.js +0 -3
  134. package/es/Sidebar/CustomConversationItem/OperateBtn/image/more.svg.js +0 -3
  135. package/es/Sidebar/CustomConversationItem/OperateBtn/image/muted.svg.js +0 -3
  136. package/es/Sidebar/CustomConversationItem/OperateBtn/index.js +0 -236
  137. package/es/Sidebar/CustomConversationItem/index.js +0 -213
  138. package/es/Sidebar/GroupList/OperateBtn/image/delete.svg.js +0 -3
  139. package/es/Sidebar/GroupList/OperateBtn/image/logout.svg.js +0 -3
  140. package/es/Sidebar/GroupList/OperateBtn/image/more.svg.js +0 -3
  141. package/es/Sidebar/GroupList/OperateBtn/image/muted.svg.js +0 -3
  142. package/es/Sidebar/GroupList/OperateBtn/index.js +0 -244
  143. package/es/Sidebar/GroupList/index.js +0 -146
  144. package/es/Sidebar/MobileCreateGroup/index.js +0 -223
  145. package/es/Sidebar/Searchbox/image/ic_messages.svg.js +0 -3
  146. package/es/Sidebar/Searchbox/index.js +0 -197
  147. package/es/Sidebar/image/ic_close.svg.js +0 -3
  148. package/es/Sidebar/image/ic_close_light.svg.js +0 -3
  149. package/es/Sidebar/image/ic_search.svg.js +0 -3
  150. package/es/Sidebar/image/ic_search_light.svg.js +0 -3
  151. package/es/Sidebar/image/message.svg.js +0 -3
  152. package/es/Sidebar/index.js +0 -229
  153. package/es/TypeItem/OperateBtn/image/ban.svg.js +0 -3
  154. package/es/TypeItem/OperateBtn/image/block.svg.js +0 -3
  155. package/es/TypeItem/OperateBtn/image/logout.svg.js +0 -3
  156. package/es/TypeItem/OperateBtn/image/more.svg.js +0 -3
  157. package/es/TypeItem/OperateBtn/index.js +0 -167
  158. package/es/TypeItem/index.js +0 -84
  159. package/es/UserProfile/image/ic_close.svg.js +0 -3
  160. package/es/UserProfile/image/ic_share.svg.js +0 -3
  161. package/es/UserProfile/image/icon_translation.svg.js +0 -3
  162. package/es/UserProfile/index.js +0 -180
  163. package/es/contexts/LocaleContext.js +0 -157
  164. package/es/locales/en.js +0 -158
  165. package/es/locales/ja.js +0 -158
  166. package/es/locales/ko.js +0 -158
  167. package/es/locales/ru.js +0 -158
  168. package/es/locales/vi.js +0 -158
  169. package/es/locales/zh-TW.js +0 -158
  170. package/es/tools.js +0 -78
  171. package/es/type.js +0 -80
@@ -1,5 +1,4 @@
1
- import { SpeicalConversation } from "@components/type";
2
- import { Conversation, Message } from "agora-chat-uikit";
1
+ import { Conversation } from "agora-chat-uikit";
3
2
  import { AxiosInstance } from "axios";
4
3
  import React from "react";
5
4
  export interface IUserInfo {
@@ -25,7 +24,5 @@ export type ConfigConsumerProps = {
25
24
  onAdditionalConversationClick?: (conversation: Conversation) => Promise<boolean>;
26
25
  onRenderConversationItem?: (cvs: Conversation, defaultConversationItemClick: (conversation: Conversation) => void) => React.ReactElement | undefined;
27
26
  onCustomMessageAction?: (messagetype: string, cus?: any) => void;
28
- specialConversations?: SpeicalConversation[];
29
- onNewMessage?: (unreadCount: number, newMessage?: Message) => void;
30
27
  };
31
28
  export declare const Context: React.Context<ConfigConsumerProps>;
package/cjs/IM/index.d.ts CHANGED
@@ -1,11 +1,10 @@
1
1
  import React from "react";
2
2
  import { AxiosInstance } from "axios";
3
- import { Conversation, Message } from "agora-chat-uikit";
3
+ import { Conversation } from "agora-chat-uikit";
4
4
  import { IUserInfo } from "./context";
5
5
  import { Locale } from "../contexts/LocaleContext";
6
6
  import "agora-chat-uikit/style.css";
7
7
  import "./style/index.scss";
8
- import { SpeicalConversation } from "@components/type";
9
8
  export type IIMProps = {
10
9
  children?: React.ReactNode;
11
10
  theme?: "dark" | "light" | "custom";
@@ -25,8 +24,6 @@ export type IIMProps = {
25
24
  onAdditionalConversationClick?: (conversation: Conversation) => Promise<boolean>;
26
25
  onRenderConversationItem?: (cvs: Conversation, defaultConversationItemClick: (conversation: Conversation) => void) => React.ReactElement | undefined;
27
26
  onCustomMessageAction?: (messagetype: string, cus?: any) => void;
28
- specialConversations?: SpeicalConversation[];
29
- onNewMessage?: (unreadCount: number, newMessage?: Message) => void;
30
27
  };
31
28
  declare const IM: React.FC<IIMProps>;
32
29
  export default IM;
package/cjs/index.css ADDED
@@ -0,0 +1 @@
1
+ @tailwind base;@tailwind components;@tailwind utilities;.im-light{--im-test-color:green;--im-main-backgroundColor:#fff;--im-main-fontColor:#000;--im-second-fontColor:rgba(0,0,0,.55);--im-third-fontColor:rgba(0,0,0,.4);--im-four-fontColor:rgba(0,0,0,.22);--im-five-fontColor:rgba(0,0,0,.9);--im-six-fontColor:hsla(0,0%,100%,.9);--im-seven-fontColor:rgba(0,0,0,.6);--im-group-edit-input-bg:hsla(0,0%,100%,.1);--im-group-edit-placeholder:hsla(0,0%,100%,.4);--im-green:#9cff1e;--im-main-bg-five:rgba(0,0,0,.05);--im-main-bg-ten:rgba(0,0,0,.1);--im-group-join-cancel-line:rgba(0,0,0 0.9);--im-msg-bubble-color-left:rgba(89,191,249,.2);--im-msg-bubble-color-right:rgba(0,0,0,.05);--im-msg-bubble-font-color:rgba(0,0,0,.9);--im-msg-bubble-right-font-color:rgba(0,0,0,.9);--im-border-10:rgba(0,0,0,.1);--im-member-remark-fontColor:hsla(0,0%,100%,.9);--im-member-remark-owner-backgroundColor:rgba(0,0,0,.9);--im-member-remark-admin-backgroundColor:rgba(0,0,0,.6);--im-highlight-blue-color:#fff;--im-conversation-active:#fff;--im-conversationlist-back-color:#f6f6f6}.im-light .cui-textarea-input{background-color:var(--im-main-bg-five)}.im-light .ant-select-single .ant-select-selector .ant-select-selection-item,.im-light .cui-textarea-input{color:var(--im-five-fontColor)}.im-light .ant-select-dropdown,.im-light .yuze-header-more{background-color:var(--im-main-backgroundColor)}.im-light .yuze-header-more{display:flex;flex-direction:column;font-size:15px;gap:10px}.im-light .yuze-header-more .yuze-li{background-color:transparent;color:var(--im-main-fontColor)}.im-dark{--im-main-backgroundColor:#1e2329;--im-message-backgroundColor:#00540a;--im-notice-backgorund:#f5222d;--im-modal-backgroundColor:#1e2329;--im-checkbox-backgroundColor:#e1342c;--im-delete-fontColor:#e94359;--im-conversationItem-noticeColor:#f5222d;--im-mainContent-left-borderColor:#2c2b2b;--im-conversation-active:hsla(0,0%,100%,.1);--im-main-fontColor:#fff;--im-second-fontColor:hsla(0,0%,100%,.55);--im-third-fontColor:hsla(0,0%,100%,.4);--im-four-fontColor:hsla(0,0%,100%,.22);--im-five-fontColor:hsla(0,0%,100%,.9);--im-six-fontColor:rgba(0,0,0,.9);--im-seven-fontColor:hsla(0,0%,100%,.6);--im-tab-active-fontColor:green;--im-member-remark-fontColor:rgba(0,0,0,.9);--im-member-remark-owner-backgroundColor:#9cff1e;--im-member-remark-admin-backgroundColor:#f67c24;--im-group-edit-input-bg:rgba(0,0,0 0.1);--im-group-edit-placeholder:hsla(0,0%,100%,.4);--im-green:#9cff1e;--im-main-bg-five:hsla(0,0%,100%,.05);--im-main-bg-ten:hsla(0,0%,100%,.1);--im-group-join-cancel-line:#595959;--im-msg-bubble-color-left:hsla(0,0%,100%,.05);--im-msg-bubble-color-right:#91caff;--im-msg-bubble-font-color:#fff;--im-msg-bubble-right-font-color:rgba(0,0,0,.9);--im-main-buttonColor:#9cff1e;--im-main-switchColor:#00c805;--im-conversationlist-back-color:#1e2329;--im-border-10:hsla(0,0%,100%,.1)}.im-dark .cui-chat-dark,.im-dark .yuze-header-more{background-color:var(--im-main-backgroundColor)}.im-dark .yuze-header-more{display:flex;flex-direction:column;font-size:15px;gap:10px}.im-dark .yuze-header-more .yuze-li{background-color:transparent;color:var(--im-main-fontColor)}.im-dark .cui-message-text-translation-text{color:var(--im-seven-fontColor)}.cui-message-base-right .cui-avatar{display:none}.cui-message-base-nickname{color:var(--im-third-fontColor)}.cui-message-base{align-items:flex-start}.cui-avatar{height:40px!important;width:40px!important}.cui-avatar img{height:100%;object-fit:cover;width:100%}.cui-message-base-square .cui-message-base-body{margin-left:12px;margin-top:4px}@layer utilities{.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ant-modal-confirm .ant-modal-content{background-color:#fff!important;border:1px solid rgba(0,0,0,.1)!important}.ant-modal-confirm .ant-modal-content .anticon-exclamation-circle{color:#faad14!important;font-size:50px;margin-bottom:20px}.ant-modal-confirm .ant-modal-content .ant-modal-confirm-body{align-items:center;display:flex;flex-direction:column}.ant-modal-confirm .ant-modal-content .ant-modal-confirm-body .ant-modal-confirm-title{display:none}.ant-modal-confirm .ant-modal-content .ant-modal-confirm-body .ant-modal-confirm-content span{color:rgba(0,0,0,.75)!important}.ant-modal-confirm .ant-modal-content .yuze-confirm-footer button:first-child{background-color:#f5f5f5!important;border:1px solid #d9d9d9!important;color:rgba(0,0,0,.85)!important}.ant-modal-confirm .ant-modal-content .yuze-confirm-footer button:nth-child(2){background-color:#1890ff!important;border:1px solid #1890ff!important;color:#fff!important}.ant-tooltip .ant-tooltip-inner{background-color:#fff!important;border:1px solid rgba(0,0,0,.1)!important;border-radius:8px!important;box-shadow:0 4px 12px rgba(0,0,0,.15)!important;color:rgba(0,0,0,.85)!important;min-width:120px!important;padding:4px!important}.ant-tooltip .ant-tooltip-inner .yuze-conversationList-header-right-tooltip-item{color:rgba(0,0,0,.85)!important;margin:2px 0}.ant-tooltip .ant-tooltip-inner .yuze-conversationList-header-right-tooltip-item:hover{background-color:rgba(0,0,0,.06)!important}.ant-tooltip .ant-tooltip-inner .yuze-conversationList-header-right-tooltip-item:active{background-color:rgba(0,0,0,.1)!important}.ant-tooltip .ant-tooltip-inner .yuze-conversationList-header-right-tooltip-item .delete{color:#ff4d4f!important;font-weight:500!important}.ant-tooltip .ant-tooltip-inner .yuze-conversationList-header-right-tooltip-item .yuze-conversationItem-action-img{filter:brightness(.2) contrast(2) saturate(0)!important}.ant-tooltip .ant-tooltip-inner .yuze-conversationList-header-right-tooltip-item .yuze-conversationItem-action-img:hover{filter:brightness(.1) contrast(2.5) saturate(0)!important}.ant-tooltip .ant-tooltip-inner .yuze-conversationList-header-right-tooltip-item span{font-size:14px!important;line-height:1.4!important}.ant-tooltip .ant-tooltip-arrow:before{background-color:#fff!important;border:1px solid rgba(0,0,0,.1)!important}.yuze-header-more,.yuze_chat_container .cui-chat-dark{background-color:var(--im-main-backgroundColor)}.yuze-header-more .yuze-li{background-color:transparent;color:var(--im-main-fontColor)}.yuze-contactList::-webkit-scrollbar{display:none}.yuze-typeItem{height:72px}.yuze-typeItem:hover{background-color:hsla(0,0%,100%,.05)}.yuze-typeItem-right{height:32px;width:32px}.yuze-typeItem-right img{height:24px;width:24px}.yuze-typeItem-left-checkbox .cui-checkbox--mark{align-items:center;background-color:transparent;border-radius:10px;box-shadow:none!important;display:flex;height:20px;justify-content:center;width:20px}.yuze-typeItem-left-checkbox .cui-checkbox--mark:after{left:0;position:relative;right:0}.yuze-typeItem-left-checkbox input:checked~.cui-checkbox--mark{background-color:var(--im-checkbox-backgroundColor);border:none}.yuze-typeItem-left-information span{display:block;width:100%}.yuze-typeItem-left-information span:first-child{color:var(--im-main-fontColor)}.yuze-typeItem-left-information span:nth-child(2){color:var(--im-third-fontColor)}.yuze-typeItem-left-avatar{height:48px;width:48px}.yuze-typeItem-left-remark{border-radius:5px;color:var(--im-member-remark-fontColor);font-size:12px;height:24px;text-align:center;width:60px}.yuze-typeItem-left-remark.owner{background-color:var(--im-member-remark-owner-backgroundColor)}.yuze-typeItem-left-remark.admin{background-color:var(--im-member-remark-admin-backgroundColor)}.yuze-addMember{background-color:var(--im-main-backgroundColor)}.yuze-addMember .yuze-addMember-header{box-sizing:border-box;height:64px;padding:0 10px}.yuze-addMember .yuze-addMember-header>span{color:var(--im-main-fontColor)}.yuze-addMember .yuze-addMember-member{height:calc(100% - 64px)}.yuze-addMember .yuze-addMember-member>span{border-bottom:1px solid #fff;color:var(--im-main-fontColor);height:34px}.yuze-addMember-confirm{background-color:var(--im-main-buttonColor)!important;color:var(--im-five-fontColor)!important;width:70px}.yuze-addMember-checkbox .cui-checkbox--mark{align-items:center;background-color:transparent;border-radius:10px;box-shadow:none!important;display:flex;height:20px;justify-content:center;width:20px}.yuze-addMember-checkbox .cui-checkbox--mark:after{height:10px;left:0;position:relative;right:0;width:5px}.yuze-addMember-checkbox input:checked~.cui-checkbox--mark{background-color:var(--im-checkbox-backgroundColor);border:none}.code-scroll-container,.hljs,code,pre{background:transparent!important;border:none!important;box-shadow:none!important;outline:none!important}.hljs,code,pre{word-wrap:break-word!important;overflow:visible!important;overflow-wrap:break-word!important;white-space:pre-wrap!important;width:100%!important;word-break:break-word!important}code{background:transparent!important;font-family:Monaco,Consolas,Courier New,monospace!important;font-size:14px!important;line-height:1.5!important;margin:0!important;padding:0!important}.hljs-title.class_{color:#dcdcaa}.generating-loader{animation:l5 1s linear infinite alternate;aspect-ratio:1;border-radius:50%;width:4px}@keyframes l5{0%{background:#000;box-shadow:8px 0 #000,-8px 0 rgba(0,0,0,.133)}33%{background:rgba(0,0,0,.133);box-shadow:8px 0 #000,-8px 0 rgba(0,0,0,.133)}88%{background:rgba(0,0,0,.133);box-shadow:8px 0 rgba(0,0,0,.133),-8px 0 #000}to{background:#000;box-shadow:8px 0 rgba(0,0,0,.133),-8px 0 #000}}.generating-loader-wrap{margin:0 12px 0 8px}.isMySelf .hljs,.isMySelf code,.isMySelf strong{color:var(--im-msg-bubble-font-color)}.isMySelf .hljs-title.class_{color:#dcdcaa}.customModal .ant-modal-content{background-color:var(--im-main-backgroundColor)!important;padding:32px!important}.yuze-groupDetail{background-color:var(--im-main-backgroundColor)}.yuze-groupDetail .yuze-groupDetail-header{box-sizing:border-box;height:64px;padding:0 10px}.yuze-groupDetail .yuze-groupDetail-header .yuze-groupDetail-header-left span{color:var(--im-main-fontColor)}.yuze-groupDetail .yuze-groupDetail-header-right{align-items:center;display:flex;flex-direction:row;gap:8px}.yuze-groupDetail .yuze-groupDetail-content-wrap{height:calc(100% - 64px)}.yuze-groupDetail .yuze-groupDetail-content .yuze-groupDetail-content-avatar img{height:80px;object-fit:cover;width:80px}.yuze-groupDetail .yuze-groupDetail-content .yuze-groupDetail-content-avatar span{color:var(--im-main-fontColor)}.yuze-groupDetail .yuze-groupDetail-content .yuze-groupDetail-content-username img{height:20px;width:20px}.yuze-groupDetail .yuze-groupDetail-content .yuze-groupDetail-content-username span{color:var(--im-main-fontColor)}.yuze-groupDetail .yuze-groupDetail-content .yuze-groupDetail-content-username span:nth-child(2){color:#707579}.yuze-groupDetail .yuze-groupDetail-content .yuze-groupDetail-content-translation img{height:20px;width:20px}.yuze-groupDetail .yuze-groupDetail-content .yuze-groupDetail-content-translation span{color:var(--im-main-fontColor)}.yuze-groupDetail .yuze-groupDetail-content .yuze-groupDetail-content-translation .cui-switch .cui-switch-container-checked{background-color:var(--im-main-switchColor)}.yuze-groupDetail .yuze-groupDetail-member>span{border-bottom:1px solid #fff;color:var(--im-main-fontColor);height:34px}.yuze-userProfile{background-color:var(--im-main-backgroundColor)}.yuze-userProfile .yuze-userProfile-header{box-sizing:border-box;height:64px;padding:0 10px}.yuze-userProfile .yuze-userProfile-header .yuze-userProfile-header-left span{color:var(--im-main-fontColor)}.yuze-userProfile .yuze-userProfile-content .yuze-userProfile-content-avatar img{height:80px;object-fit:cover;width:80px}.yuze-userProfile .yuze-userProfile-content .yuze-userProfile-content-avatar span{color:var(--im-main-fontColor)}.yuze-userProfile .yuze-userProfile-content .yuze-userProfile-content-username img{height:20px;width:20px}.yuze-userProfile .yuze-userProfile-content .yuze-userProfile-content-username span{color:var(--im-main-fontColor)}.yuze-userProfile .yuze-userProfile-content .yuze-userProfile-content-username span:nth-child(2){color:#707579}.yuze-userProfile .yuze-userProfile-content .yuze-userProfile-content-translation img{height:20px;width:20px}.yuze-userProfile .yuze-userProfile-content .yuze-userProfile-content-translation span{color:var(--im-main-fontColor)}.yuze-userProfile .yuze-userProfile-content .yuze-userProfile-content-translation .cui-switch .cui-switch-container-checked{background-color:var(--im-main-switchColor)}.flex-1\.8{flex:1.8}.flex-2\.8{flex:2.8}.yuze-mainContent .yuze-mainContent-left{border-right:1px solid var(--im-mainContent-left-borderColor);transition:all .2s}.yuze-mainContent.yuze-mainContent-folder .yuze-mainContent-left{width:80px}.yuze-mainContent.yuze-mainContent-folder .yuze-mainContent-left .cui-conversationItem-info{right:-50px}.yuze-searchBox{background-color:var(--im-main-backgroundColor)}.yuze-searchBox-list{height:calc(100% - 68px)}.yuze-searchBox-list-tabs{height:50px;width:60%}.yuze-searchBox-list-tabs-indictor{background-color:#fff;border-radius:2px;height:2px;width:10%}.yuze-searchBox-list-tabs-item span{color:var(--im-second-fontColor)}.yuze-searchBox-list-tabs-item.active span{color:var(--im-main-fontColor)}.yuze-searchBox-list-content{height:calc(100% - 50px)}.im-light .yuze-searchBox{background-color:var(--im-conversationlist-back-color)}.im-light .cui-input-input{background-color:#fff;color:var(--im-main-fontColor)}.yuze-createGroup .cui-modal-content{background-color:var(--im-modal-backgroundColor);border-radius:20px;height:520px}.yuze-createGroup .cui-modal-content .cui-modal-close,.yuze-createGroup .cui-modal-content .cui-modal-footer{display:none}.yuze-createGroup .cui-modal-content .cui-modal-body{display:flex}.yuze-createGroup-left-title span{color:var(--im-main-fontColor)}.yuze-createGroup-left-list{height:380px}.yuze-createGroup-left-list::-webkit-scrollbar{display:none}.yuze-createGroup-right-title span{color:var(--im-third-fontColor)}.yuze-createGroup-right-list{height:450px}.yuze-createGroup-right-list::-webkit-scrollbar{display:none}.yuze-createGroup-right-list-member-close{align-items:center;background-color:#a4a6a8;border-radius:100%;display:flex;height:20px;justify-content:center;right:-5px;top:0;width:20px}.yuze-createGroup-right-list-member-close img{height:15px;width:15px}.yuze-createGroup-right-button button:first-child{background-color:transparent!important;border:1px solid #fff!important;color:var(--im-main-fontColor)!important;font-size:14px}.yuze-createGroup-right-button button:nth-child(2){background-color:var(--im-main-buttonColor)!important;color:var(--im-five-fontColor)!important;font-size:14px}.yuze-createGroup-list{height:calc(100% - 60px)}.yuze-createGroup-list::-webkit-scrollbar,.yuze-createGroup-scroll::-webkit-scrollbar{display:none}.yuze-groupList{background-color:var(--im-main-backgroundColor)}.yuze-groupList .ant-tabs .ant-tabs-tab{color:var(--im-main-fontColor)}.yuze-groupList .ant-tabs .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--im-tab-active-fontColor)}.yuze-groupList .ant-tabs,.yuze-groupList .ant-tabs-content,.yuze-groupList .ant-tabs-tabpane{height:100%}.yuze-groupList-tabs{height:calc(100% - 68px)}.yuze-groupList-tabs .ant-tabs-nav:before{border:none}.yuze-groupList-tabs .ant-tabs-nav .ant-tabs-ink-bar{background-color:#fff}.yuze-groupList-tabs .ant-tabs-nav .ant-tabs-tab{color:var(--im-second-fontColor)}.yuze-groupList-tabs .ant-tabs-nav .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn{color:var(--im-main-fontColor)}.yuze-groupList-tabs-content{height:100%}.yuze-groupList-tabs-content::-webkit-scrollbar{display:none}.yuze-conversationList-header-right-tooltip-item .delete{color:#e94359}.yuze-conversationList{background-color:var(--im-main-backgroundColor)}.yuze-conversationList-header{border-bottom:1px solid var(--im-mainContent-left-borderColor);box-sizing:border-box;height:64px}.yuze-conversationList-header-left span{color:var(--im-main-fontColor)}.yuze-conversationList-header-left-icon{background-color:#2c2b2b;border-radius:8px;height:52px;width:52px}.yuze-conversationList-header-left-icon img{height:32px;width:32px}.yuze-conversationList-header-item{background-color:#292e23;border-radius:50%;height:40px;width:40px}.yuze-conversationList-header>span{color:var(--im-main-fontColor)}.yuze-conversationList-header-right-tooltip-item{height:40px}.yuze-conversationList-header-right-tooltip-item img{height:20px;width:20px}.yuze-conversationList .cui-conversationList{background-color:var(--im-conversationlist-back-color)}.yuze-conversationList .cui-conversationList .cui-conversationItem{border-radius:8px;height:64px;margin:8px 0;padding:0 8px}.yuze-conversationList .cui-conversationList .cui-conversationItem .cui-avatar{border-radius:8px}.yuze-conversationList .cui-conversationList .cui-conversationItem:hover{background-color:var(--im-conversation-active)}.yuze-conversationList .cui-conversationList .cui-conversationItem.cui-conversationItem-selected{background-color:var(--im-conversation-active)!important}.yuze-conversationList .cui-conversationList .cui-conversationItem .cui-conversationItem-info .cui-badge{display:none}.yuze-conversationList .cui-conversationList .cui-conversationItem .cui-conversationItem-content{max-width:unset;width:280px}.yuze-conversationList .cui-conversationList .cui-conversationItem .cui-conversationItem-content .cui-conversationItem-nickname{color:var(--im-main-fontColor);font-size:14px;font-weight:600;margin-left:8px;max-width:unset;width:90%}.yuze-conversationList .cui-conversationList .cui-conversationItem .cui-conversationItem-content .cui-conversationItem-message{color:var(--im-third-fontColor);font-size:10px;margin-left:8px}.yuze-conversationList .cui-conversationList .cui-conversationItem .cui-conversationItem-time{color:var(--im-third-fontColor);font-size:10px}.yuze-conversationList-content{height:calc(100% - 64px)}.mobile-createGroup-btn{background-color:#9cff1e!important;color:hsla(0,0%,100%,.9)!important}.yuze-conversationItem .cui-conversationItem-nickname-silent{right:20px;top:2px}.yuze-conversationItem .yuze-conversationItem-avatar .yuze-conversationItem-avatar-notice{background-color:var(--im-conversationItem-noticeColor);border-radius:20px;padding:1px 7px;right:-9px;top:-5px}.yuze-conversationItem-action-img{filter:brightness(.2) contrast(2) saturate(0);height:16px;width:16px}.yuze-conversationList-header-right-tooltip-item{align-items:center;border-radius:6px;color:rgba(0,0,0,.85);cursor:pointer;display:flex;font-weight:400;gap:8px;padding:10px 12px;transition:all .2s ease}.yuze-conversationList-header-right-tooltip-item:hover{background-color:rgba(0,0,0,.06)}.yuze-conversationList-header-right-tooltip-item:hover .yuze-conversationItem-action-img{filter:brightness(.1) contrast(2.5) saturate(0)}.yuze-conversationList-header-right-tooltip-item:active{background-color:rgba(0,0,0,.1);transform:scale(.98)}.yuze-conversationList-header-right-tooltip-item .delete{color:#ff4d4f!important;font-weight:500}.yuze-conversationList-header-right-tooltip-item .yuze-conversationItem-action-img{height:16px;transition:filter .2s ease;width:16px}.yuze-conversationList-header-right-tooltip-item span{color:inherit;line-height:1.4}:global(.im-light) .yuze-conversationItem-action-img{filter:brightness(.2) contrast(2) saturate(0)}.agent-select .ant-select-selector{background:transparent!important;border:none!important;box-shadow:none!important}.im-agent-mid .cui-message-base{padding-left:16px;padding-right:16px}.im-agent-mid .cui-message-base-content{max-width:100%}.im-agent-mid .cui-message-editor{padding-left:16px;padding-right:16px}
package/cjs/index.d.ts CHANGED
@@ -19,8 +19,6 @@ export type { ICustomChatbox } from './CustomChatView';
19
19
  export { default as HighlyCustomChat } from './HighlyCustomChat';
20
20
  export type { IHighlyCustomChat } from './HighlyCustomChat';
21
21
  export { default as TokenMsg } from './HighlyCustomChat/TokenMsg';
22
- import * as IMType from './type';
23
- export { IMType };
24
22
  export { LocaleProvider, useLocale, useTranslation } from './contexts/LocaleContext';
25
23
  export type { Locale } from './contexts/LocaleContext';
26
24
  export * from './locales';