advanced-chat-kai 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -71,7 +71,6 @@ npm install advanced-chat-kai
71
71
  | `isLoadingMoreRooms` | boolean | false | `false` | Whether more rooms are loading or not |
72
72
  | `isLoadingMoreMessages` | boolean | false | `false` | Whether more messages are loading or not |
73
73
  | `inputMessage` | string | false | `""` | The current message input used for two-way binding |
74
- | `footerOptions` | [FooterOption<ChatActionType>](#footeroption)[] | false | `[]` | The list of options available for the footer selectbox |
75
74
  | `roomActions` | [ChatAction<ChatActionType>](#chataction)[] | false | `[]` | The list of actions available for the rooms |
76
75
  | `myMessageActions` | [ChatAction<ChatActionType>](#chataction)[] | false | `[]` | The list of actions available for the user's messages |
77
76
  | `theirMessageActions` | [ChatAction<ChatActionType>](#chataction)[] | false | `[]` | The list of actions available for other user's messages |
@@ -249,24 +248,6 @@ myMessageActions = [
249
248
  ];
250
249
  ```
251
250
 
252
- ##### FooterOption
253
-
254
- Example:
255
-
256
- ```js
257
- footerOptions = [
258
- {
259
- label: "Insert template",
260
- value: "insert-template",
261
- default: true,
262
- },
263
- {
264
- label: "Assign conversation",
265
- value: "assign-conversation",
266
- },
267
- ];
268
- ```
269
-
270
251
  ##### Dialog
271
252
 
272
253
  Example:
@@ -326,7 +307,6 @@ this.messages.push(newMessage);
326
307
  | `select-room` | `{ room }` | Selected a room in the list |
327
308
  | `load-more-messages` | - | Reached the top of the message list |
328
309
  | `select-message-action` | `{ label, value, messageId }` | Selected an action on the message |
329
- | `select-footer-option` | `{ label, value, roomId }` | Selected an option in the footer selectbox |
330
310
  | `select-suggestion` | `{ suggestion }` | Selected a suggestion in the list |
331
311
  | `select-emoji` | `{ messageId, currentUserId, emoji }` | Selected an emoji reaction in picker for a message |
332
312
  | `reply-to-message` | `{ replyTo }` | Clicked the reply button on a message |
package/README.zh-CN.md CHANGED
@@ -71,7 +71,6 @@ npm install advanced-chat-kai
71
71
  | `isLoadingMoreRooms` | boolean | 否 | `false` | 是否正在加载更多聊天室 |
72
72
  | `isLoadingMoreMessages` | boolean | 否 | `false` | 是否正在加载更多消息 |
73
73
  | `inputMessage` | string | 否 | `""` | 当前消息输入框的值,用于双向绑定 |
74
- | `footerOptions` | [FooterOption<ChatActionType>](#footeroption)[] | 否 | `[]` | 页脚选择框可用的选项列表 |
75
74
  | `roomActions` | [ChatAction<ChatActionType>](#chataction)[] | 否 | `[]` | 聊天室可用的操作列表 |
76
75
  | `myMessageActions` | [ChatAction<ChatActionType>](#chataction)[] | 否 | `[]` | 当前用户消息可用的操作列表 |
77
76
  | `theirMessageActions` | [ChatAction<ChatActionType>](#chataction)[] | 否 | `[]` | 其他用户消息可用的操作列表 |
@@ -249,24 +248,6 @@ myMessageActions = [
249
248
  ];
250
249
  ```
251
250
 
252
- ##### FooterOption
253
-
254
- 示例:
255
-
256
- ```js
257
- footerOptions = [
258
- {
259
- label: "Insert template",
260
- value: "insert-template",
261
- default: true,
262
- },
263
- {
264
- label: "Assign conversation",
265
- value: "assign-conversation",
266
- },
267
- ];
268
- ```
269
-
270
251
  ##### Dialog
271
252
 
272
253
  示例:
@@ -326,7 +307,6 @@ this.messages.push(newMessage);
326
307
  | `select-room` | `{ room }` | 在列表中选择某个房间 |
327
308
  | `load-more-messages` | - | 滚动到消息列表顶部 |
328
309
  | `select-message-action` | `{ label, value, messageId }` | 选择消息上的某个操作 |
329
- | `select-footer-option` | `{ label, value, roomId }` | 选择页脚选择框中的某个选项 |
330
310
  | `select-suggestion` | `{ suggestion }` | 选择建议列表中的某项 |
331
311
  | `select-emoji` | `{ messageId, currentUserId, emoji }` | 在消息的选择器中选择一个 emoji reaction |
332
312
  | `reply-to-message` | `{ replyTo }` | 点击消息上的回复按钮 |