easemob-chat-uikit 1.0.0-beta4 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ChatUI.esm.js CHANGED
@@ -86597,7 +86597,6 @@ let UserItem$1 = (props) => {
86597
86597
  }));
86598
86598
  }
86599
86599
  const handleCheckboxChange = (e) => {
86600
- console.log("handleCheckboxChange", e.target.checked);
86601
86600
  onCheckboxChange == null ? void 0 : onCheckboxChange(e.target.checked, data2);
86602
86601
  };
86603
86602
  return /* @__PURE__ */ React__default$1.createElement("div", {
@@ -136649,7 +136648,6 @@ const useChatroomMember = (chatroomId) => {
136649
136648
  const { client: client2 } = rootStore2;
136650
136649
  let next = true;
136651
136650
  const getConversationList = () => {
136652
- console.log("\u83B7\u53D6\u6210\u5458");
136653
136651
  client2.listChatRoomMembers({
136654
136652
  chatRoomId: chatroomId,
136655
136653
  pageSize,
@@ -136671,7 +136669,6 @@ const useChatroomMember = (chatroomId) => {
136671
136669
  });
136672
136670
  rootStore2.addressStore.setChatroomMemberIds(chatroomId, members2);
136673
136671
  if (getInfoMembers.length > 0) {
136674
- console.log("\u53BB\u83B7\u53D6\u4E2A\u4EBA\u4FE1\u606F", getInfoMembers);
136675
136672
  getUsersInfo({ userIdList: getInfoMembers, withPresence: false });
136676
136673
  }
136677
136674
  }).catch((err) => {
@@ -136708,7 +136705,6 @@ function Tabs(props) {
136708
136705
  }, [activeTabKey]);
136709
136706
  const activeTabIndex = props.tabs.findIndex((tab) => tab.key === activeTabKey);
136710
136707
  const activeTab = props.tabs[activeTabIndex];
136711
- console.log("activeTab", activeTab, activeTabIndex, activeTabKey);
136712
136708
  return /* @__PURE__ */ React__default$1.createElement("div", {
136713
136709
  className: classString,
136714
136710
  style: { ...style2 }
package/ChatUI.js CHANGED
@@ -86620,7 +86620,6 @@ let UserItem$1 = (props) => {
86620
86620
  }));
86621
86621
  }
86622
86622
  const handleCheckboxChange = (e) => {
86623
- console.log("handleCheckboxChange", e.target.checked);
86624
86623
  onCheckboxChange == null ? void 0 : onCheckboxChange(e.target.checked, data2);
86625
86624
  };
86626
86625
  return /* @__PURE__ */ React__default$1.default.createElement("div", {
@@ -136672,7 +136671,6 @@ const useChatroomMember = (chatroomId) => {
136672
136671
  const { client: client2 } = rootStore2;
136673
136672
  let next = true;
136674
136673
  const getConversationList = () => {
136675
- console.log("\u83B7\u53D6\u6210\u5458");
136676
136674
  client2.listChatRoomMembers({
136677
136675
  chatRoomId: chatroomId,
136678
136676
  pageSize,
@@ -136694,7 +136692,6 @@ const useChatroomMember = (chatroomId) => {
136694
136692
  });
136695
136693
  rootStore2.addressStore.setChatroomMemberIds(chatroomId, members2);
136696
136694
  if (getInfoMembers.length > 0) {
136697
- console.log("\u53BB\u83B7\u53D6\u4E2A\u4EBA\u4FE1\u606F", getInfoMembers);
136698
136695
  getUsersInfo({ userIdList: getInfoMembers, withPresence: false });
136699
136696
  }
136700
136697
  }).catch((err) => {
@@ -136731,7 +136728,6 @@ function Tabs(props) {
136731
136728
  }, [activeTabKey]);
136732
136729
  const activeTabIndex = props.tabs.findIndex((tab) => tab.key === activeTabKey);
136733
136730
  const activeTab = props.tabs[activeTabIndex];
136734
- console.log("activeTab", activeTab, activeTabIndex, activeTabKey);
136735
136731
  return /* @__PURE__ */ React__default$1.default.createElement("div", {
136736
136732
  className: classString,
136737
136733
  style: { ...style2 }
package/ChatUI.umd.js CHANGED
@@ -86620,7 +86620,6 @@
86620
86620
  }));
86621
86621
  }
86622
86622
  const handleCheckboxChange = (e) => {
86623
- console.log("handleCheckboxChange", e.target.checked);
86624
86623
  onCheckboxChange == null ? void 0 : onCheckboxChange(e.target.checked, data2);
86625
86624
  };
86626
86625
  return /* @__PURE__ */ React__default$1.default.createElement("div", {
@@ -136672,7 +136671,6 @@
136672
136671
  const { client: client2 } = rootStore2;
136673
136672
  let next = true;
136674
136673
  const getConversationList = () => {
136675
- console.log("\u83B7\u53D6\u6210\u5458");
136676
136674
  client2.listChatRoomMembers({
136677
136675
  chatRoomId: chatroomId,
136678
136676
  pageSize,
@@ -136694,7 +136692,6 @@
136694
136692
  });
136695
136693
  rootStore2.addressStore.setChatroomMemberIds(chatroomId, members2);
136696
136694
  if (getInfoMembers.length > 0) {
136697
- console.log("\u53BB\u83B7\u53D6\u4E2A\u4EBA\u4FE1\u606F", getInfoMembers);
136698
136695
  getUsersInfo({ userIdList: getInfoMembers, withPresence: false });
136699
136696
  }
136700
136697
  }).catch((err) => {
@@ -136731,7 +136728,6 @@
136731
136728
  }, [activeTabKey]);
136732
136729
  const activeTabIndex = props.tabs.findIndex((tab) => tab.key === activeTabKey);
136733
136730
  const activeTab = props.tabs[activeTabIndex];
136734
- console.log("activeTab", activeTab, activeTabIndex, activeTabKey);
136735
136731
  return /* @__PURE__ */ React__default$1.default.createElement("div", {
136736
136732
  className: classString,
136737
136733
  style: { ...style2 }
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## 简介
4
4
 
5
- easemob-chat-uikit 是基于环信 Chat SDK 的一款 UI 组件库,提供通用的 UI 组件,和包含聊天业务逻辑的 module 组件,以及可以完整使用的容器组件, 容器组件允许用户使用 renderX 方法来进行自定义。agora-chat-uikit 提供 provider 来管理数据,provider 自动监听 SDK 事件,来更新数据,并驱动 UI 更新。开发者可根据实际业务需求利用该库快速搭建自定义 IM 应用。
5
+ easemob-chat-uikit 是基于环信 Chat SDK 的一款 UI 组件库,提供通用的 UI 组件,和包含聊天业务逻辑的 module 组件,以及可以完整使用的容器组件, 容器组件允许用户使用 renderX 方法来进行自定义。easemob-chat-uikit 提供 provider 来管理数据,provider 自动监听 SDK 事件,来更新数据,并驱动 UI 更新。开发者可根据实际业务需求利用该库快速搭建自定义 IM 应用。
6
6
 
7
7
  ## 技术原理
8
8
 
@@ -35,11 +35,11 @@ UIKIt 由三部分组成:UI 组件,管理数据的 mobx store, chat SDK。UI
35
35
  <td style=font-size:10px>将会话从会话列表中删除</td>
36
36
  </tr>
37
37
  <tr>
38
- <td>免打扰(开发中)</td>
38
+ <td>免打扰</td>
39
39
  <td style=font-size:10px>开启消息免打扰或关闭消息免打扰</td>
40
40
  </tr>
41
41
  <tr>
42
- <td>置顶(开发中)</td>
42
+ <td>置顶</td>
43
43
  <td style=font-size:10px>将会话固定在列表顶部</td>
44
44
  </tr>
45
45
  <tr>
@@ -543,7 +543,9 @@ module.exports = {
543
543
 
544
544
  [集成文档](https://docs-im-beta.easemob.com/document/web/quickstart.html);
545
545
 
546
- [git](https://github.com/easemob/Easemob-UIKit-web/tree/main);
546
+ [chatroom demo 源码地址](https://github.com/easemob/ChatroomDemo/tree/dev/WEB/ChatroomDemo)
547
+
548
+ [chatroom demo](https://livestream-hsb.oss-cn-beijing.aliyuncs.com/index.html)
547
549
 
548
550
  ## 代码许可
549
551
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "easemob-chat-uikit",
3
- "version": "1.0.0-beta4",
3
+ "version": "1.0.0",
4
4
  "description": "",
5
- "main": "chat-ui.umd.js",
6
- "type": "commonjs",
7
- "module": "chat-ui.esm.js",
8
- "types": "chat-ui.d.ts",
5
+ "main": "ChatUI.umd.js",
6
+ "type": "module",
7
+ "module": "ChatUI.esm.js",
8
+ "types": "types/ChatUI.d.ts",
9
9
  "scripts": {
10
10
  "dev": "vite --host",
11
11
  "build": "pnpm build:components",
@@ -34,73 +34,6 @@
34
34
  ],
35
35
  "author": "",
36
36
  "license": "ISC",
37
- "devDependencies": {
38
- "@babel/core": "^7.20.2",
39
- "@babel/preset-env": "^7.20.2",
40
- "@babel/preset-react": "^7.18.6",
41
- "@storybook/addon-actions": "^6.5.13",
42
- "@storybook/addon-essentials": "^6.5.13",
43
- "@storybook/addon-interactions": "^6.5.13",
44
- "@storybook/addon-links": "^6.5.13",
45
- "@storybook/builder-vite": "^0.2.5",
46
- "@storybook/react": "^6.5.13",
47
- "@storybook/testing-library": "^0.0.13",
48
- "@testing-library/react": "^13.4.0",
49
- "@types/react-sticky": "^6.0.4",
50
- "@types/react-window": "^1.8.5",
51
- "@types/testing-library__jest-dom": "^5.14.5",
52
- "@vitest/coverage-c8": "^0.25.1",
53
- "acorn-jsx": "^5.3.2",
54
- "agora-chat": "^1.2.0",
55
- "axios": "^1.5.0",
56
- "babel-loader": "^8.3.0",
57
- "eslint": "^8.23.1",
58
- "eslint-plugin-storybook": "^0.6.7",
59
- "esno": "^0.16.3",
60
- "handlebars": "^4.7.7",
61
- "happy-dom": "^7.6.7",
62
- "prettier": "^2.7.1",
63
- "react-styleguidist": "^13.0.0",
64
- "storybook-addon-sass-postcss": "^0.1.3",
65
- "vite": "3.0.7",
66
- "vite-plugin-dts": "^1.7.0",
67
- "vitepress": "0.22.4",
68
- "vitest": "^0.25.1"
69
- },
70
- "dependencies": {
71
- "@rollup/plugin-typescript": "^9.0.2",
72
- "@storybook/cli": "^6.5.13",
73
- "@testing-library/jest-dom": "^5.16.5",
74
- "@types/react": "^18.0.25",
75
- "ahooks": "^3.7.5",
76
- "chat-callkit": "1.2.0",
77
- "chatuim2": "1.1.0",
78
- "classnames": "^2.3.2",
79
- "core-js": "3",
80
- "easemob-websdk": "^4.3.0",
81
- "i18next": "^22.4.14",
82
- "js-audio-recorder": "^1.0.7",
83
- "link-preview-js": "^3.0.4",
84
- "mobx": "^6.8.0",
85
- "mobx-react-lite": "^3.4.3",
86
- "pinyin-pro": "^3.18.2",
87
- "prop-types": "^15.8.1",
88
- "rc-motion": "^2.6.2",
89
- "rc-tooltip": "5.1.1",
90
- "rc-trigger": "^5.3.4",
91
- "rc-util": "^5.27.1",
92
- "react": "^18.2.0",
93
- "react-dom": "^18.2.0",
94
- "react-fast-marquee": "^1.6.2",
95
- "react-i18next": "^12.2.0",
96
- "react-string-replace": "^1.1.0",
97
- "react-window": "^1.8.8",
98
- "react-window-infinite-loader": "^1.0.8",
99
- "recorder-js": "^1.0.7",
100
- "sass": "^1.56.1",
101
- "tsconfig-paths-webpack-plugin": "^4.0.1",
102
- "tslib": "^2.4.1",
103
- "typescript": "^4.8.4",
104
- "vite-plugin-svgr": "^2.4.0"
105
- }
37
+ "devDependencies": {},
38
+ "dependencies": {}
106
39
  }