@solexllc/usx-react 0.11.0 → 0.12.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/README.md +16 -0
- package/dist/Popover-BzDCTuQM.cjs +984 -0
- package/dist/Popover-LToVWsWc.js +985 -0
- package/dist/chat.cjs +1391 -0
- package/dist/chat.js +1391 -0
- package/dist/index.cjs +4428 -5290
- package/dist/index.js +58 -917
- package/package.json +7 -3
- package/src/chat.js +15 -0
- package/src/components/avatar/Avatar.tsx +54 -16
- package/src/components/avatar/avatar.django-snapshot.html +112 -0
- package/src/components/avatar/avatar.django.html +2 -2
- package/src/components/avatar/avatar.html +25 -0
- package/src/components/avatar/avatar.react-snapshot.html +104 -0
- package/src/components/avatar/config.json +13 -15
- package/src/components/avatar-group/AvatarGroup.tsx +17 -15
- package/src/components/avatar-group/avatar-group.django-snapshot.html +22 -0
- package/src/components/avatar-group/avatar-group.django.html +1 -1
- package/src/components/avatar-group/avatar-group.react-snapshot.html +20 -0
- package/src/components/avatar-group/config.json +2 -2
- package/src/components/back-to-top/BackToTop.tsx +21 -57
- package/src/components/back-to-top/back-to-top.django-snapshot.html +101 -202
- package/src/components/back-to-top/back-to-top.django.html +11 -38
- package/src/components/back-to-top/back-to-top.html +22 -106
- package/src/components/back-to-top/back-to-top.react-snapshot.html +94 -148
- package/src/components/back-to-top/config.json +41 -10
- package/src/components/button/Button.tsx +12 -3
- package/src/components/button/button.django-snapshot.html +18 -0
- package/src/components/button/button.django.html +3 -2
- package/src/components/button/button.react-snapshot.html +16 -0
- package/src/components/button/config.json +11 -2
- package/src/components/callout/callout.django.html +1 -1
- package/src/components/callout/config.json +7 -16
- package/src/components/character-count/CharacterCount.tsx +2 -0
- package/src/components/character-count/character-count.react-snapshot.html +7 -0
- package/src/components/chat/Chat.tsx +575 -0
- package/src/components/chat/README.md +174 -0
- package/src/components/chat/avatarProps.ts +32 -0
- package/src/components/chat/chat.django-snapshot.html +23515 -0
- package/src/components/chat/chat.django.html +75 -0
- package/src/components/chat/chat.html +116 -0
- package/src/components/chat/chat.react-snapshot.html +16895 -0
- package/src/components/chat/config.json +1241 -0
- package/src/components/chat-attachment/ChatAttachment.tsx +39 -0
- package/src/components/chat-attachment/chat-attachment.django.html +24 -0
- package/src/components/chat-attachment/chat-attachment.html +10 -0
- package/src/components/chat-attachment/config.json +27 -0
- package/src/components/chat-attachments/ChatAttachments.tsx +17 -0
- package/src/components/chat-attachments/chat-attachments.django-snapshot.html +58 -0
- package/src/components/chat-attachments/chat-attachments.django.html +10 -0
- package/src/components/chat-attachments/chat-attachments.html +14 -0
- package/src/components/chat-attachments/chat-attachments.react-snapshot.html +46 -0
- package/src/components/chat-attachments/config.json +25 -0
- package/src/components/chat-bubble/ChatBubble.tsx +39 -0
- package/src/components/chat-bubble/ChatFormattedText.tsx +138 -0
- package/src/components/chat-bubble/chat-bubble.django-snapshot.html +128 -0
- package/src/components/chat-bubble/chat-bubble.django.html +19 -0
- package/src/components/chat-bubble/chat-bubble.html +1 -0
- package/src/components/chat-bubble/chat-bubble.react-snapshot.html +118 -0
- package/src/components/chat-bubble/config.json +70 -0
- package/src/components/chat-composer/ChatComposer.tsx +210 -0
- package/src/components/chat-composer/README.md +15 -0
- package/src/components/chat-composer/chat-composer.django-snapshot.html +575 -0
- package/src/components/chat-composer/chat-composer.django.html +77 -0
- package/src/components/chat-composer/chat-composer.html +44 -0
- package/src/components/chat-composer/chat-composer.react-snapshot.html +519 -0
- package/src/components/chat-composer/chat-formatting.django.html +59 -0
- package/src/components/chat-composer/config.json +137 -0
- package/src/components/chat-context/ChatContext.tsx +46 -0
- package/src/components/chat-context/chat-context.django-snapshot.html +35 -0
- package/src/components/chat-context/chat-context.django.html +20 -0
- package/src/components/chat-context/chat-context.html +9 -0
- package/src/components/chat-context/chat-context.react-snapshot.html +30 -0
- package/src/components/chat-context/config.json +36 -0
- package/src/components/chat-controls/ChatControls.tsx +67 -0
- package/src/components/chat-controls/chat-controls.django-snapshot.html +114 -0
- package/src/components/chat-controls/chat-controls.django.html +36 -0
- package/src/components/chat-controls/chat-controls.html +11 -0
- package/src/components/chat-controls/chat-controls.react-snapshot.html +107 -0
- package/src/components/chat-controls/config.json +67 -0
- package/src/components/chat-directory/ChatDirectory.tsx +168 -0
- package/src/components/chat-directory/chat-directory.django-snapshot.html +546 -0
- package/src/components/chat-directory/chat-directory.django.html +14 -0
- package/src/components/chat-directory/chat-directory.html +4 -0
- package/src/components/chat-directory/chat-directory.react-snapshot.html +471 -0
- package/src/components/chat-directory/config.json +242 -0
- package/src/components/chat-directory-item/ChatDirectoryItem.tsx +150 -0
- package/src/components/chat-directory-item/chat-directory-item.django-snapshot.html +281 -0
- package/src/components/chat-directory-item/chat-directory-item.django.html +38 -0
- package/src/components/chat-directory-item/chat-directory-item.html +9 -0
- package/src/components/chat-directory-item/chat-directory-item.react-snapshot.html +249 -0
- package/src/components/chat-directory-item/config.json +103 -0
- package/src/components/chat-history/ChatHistory.tsx +30 -0
- package/src/components/chat-history/chat-history.django-snapshot.html +113 -0
- package/src/components/chat-history/chat-history.django.html +20 -0
- package/src/components/chat-history/chat-history.html +9 -0
- package/src/components/chat-history/chat-history.react-snapshot.html +111 -0
- package/src/components/chat-history/config.json +24 -0
- package/src/components/chat-message/ChatMessage.tsx +148 -0
- package/src/components/chat-message/chat-message.django-snapshot.html +758 -0
- package/src/components/chat-message/chat-message.django.html +56 -0
- package/src/components/chat-message/chat-message.html +12 -0
- package/src/components/chat-message/chat-message.react-snapshot.html +627 -0
- package/src/components/chat-message/config.json +278 -0
- package/src/components/chat-message-actions/ChatMessageActions.tsx +133 -0
- package/src/components/chat-message-actions/chat-message-actions.django-snapshot.html +345 -0
- package/src/components/chat-message-actions/chat-message-actions.django.html +29 -0
- package/src/components/chat-message-actions/chat-message-actions.html +53 -0
- package/src/components/chat-message-actions/chat-message-actions.react-snapshot.html +295 -0
- package/src/components/chat-message-actions/config.json +121 -0
- package/src/components/chat-window/ChatWindow.tsx +133 -0
- package/src/components/chat-window/chat-window.django-snapshot.html +448 -0
- package/src/components/chat-window/chat-window.django.html +39 -0
- package/src/components/chat-window/chat-window.html +26 -0
- package/src/components/chat-window/chat-window.react-snapshot.html +286 -0
- package/src/components/chat-window/config.json +123 -0
- package/src/components/clickable/Clickable.tsx +19 -5
- package/src/components/clickable/clickable.django-snapshot.html +11 -2
- package/src/components/clickable/clickable.django.html +2 -0
- package/src/components/clickable/clickable.react-snapshot.html +10 -2
- package/src/components/clickable/config.json +4 -0
- package/src/components/code/code.django-snapshot.html +25 -18
- package/src/components/code/code.react-snapshot.html +41 -4
- package/src/components/copy-to-clipboard/CopyToClipboard.tsx +2 -7
- package/src/components/copy-to-clipboard/copy-to-clipboard.django-snapshot.html +6 -4
- package/src/components/copy-to-clipboard/copy-to-clipboard.django.html +3 -2
- package/src/components/copy-to-clipboard/copy-to-clipboard.react-snapshot.html +14 -2
- package/src/components/file-list/FileList.tsx +3 -2
- package/src/components/file-list/config.json +5 -0
- package/src/components/file-list/file-list.django-snapshot.html +63 -0
- package/src/components/file-list/file-list.django.html +1 -1
- package/src/components/file-list/file-list.react-snapshot.html +53 -0
- package/src/components/footer/footer.django-snapshot.html +0 -3
- package/src/components/header/header.django-snapshot.html +0 -160
- package/src/components/header/header.django.html +2 -2
- package/src/components/hero/hero.django-snapshot.html +0 -20
- package/src/components/hero/hero.django.html +3 -3
- package/src/components/image/image.django.html +4 -4
- package/src/components/input/Input.tsx +1 -1
- package/src/components/input/config.json +2 -3
- package/src/components/input/input.django-snapshot.html +4 -21
- package/src/components/input/input.django.html +2 -2
- package/src/components/link/Link.tsx +7 -4
- package/src/components/link/config.json +2 -3
- package/src/components/link/link.django-snapshot.html +8 -0
- package/src/components/link/link.django.html +2 -2
- package/src/components/link/link.html +4 -1
- package/src/components/link/link.react-snapshot.html +8 -0
- package/src/components/memorable-date/memorable-date.django-snapshot.html +0 -8
- package/src/components/memorable-date/memorable-date.django.html +2 -2
- package/src/components/misc-banner/misc-banner.django-snapshot.html +12 -12
- package/src/components/misc-banner/misc-banner.django.html +4 -2
- package/src/components/popover/Popover.tsx +60 -9
- package/src/components/popover/PopoverMenu.tsx +33 -15
- package/src/components/popover/config.json +88 -14
- package/src/components/popover/popover-menu.django.html +13 -2
- package/src/components/popover/popover.django-snapshot.html +229 -7
- package/src/components/popover/popover.django.html +3 -2
- package/src/components/popover/popover.react-snapshot.html +127 -4
- package/src/components/process-list/config.json +41 -3
- package/src/components/quote/Quote.tsx +9 -2
- package/src/components/search/Search.tsx +1 -1
- package/src/components/search/config.json +3 -4
- package/src/components/search/search.django-snapshot.html +262 -1684
- package/src/components/search/search.django.html +1 -20
- package/src/components/select/select.django-snapshot.html +7 -7
- package/src/components/select/select.react-snapshot.html +7 -7
- package/src/components/summary/Summary.tsx +4 -2
- package/src/components/summary/config.json +4 -0
- package/src/components/summary/summary.django.html +4 -4
- package/src/components/table/Table.tsx +58 -25
- package/src/components/table/config.json +61 -13
- package/src/components/tag/Tag.tsx +40 -7
- package/src/components/tag/config.json +18 -2
- package/src/components/tag/tag.django-snapshot.html +16 -1
- package/src/components/tag/tag.django.html +12 -6
- package/src/components/tag/tag.html +4 -0
- package/src/components/tag/tag.react-snapshot.html +16 -1
- package/src/components/tag-group/TagGroup.tsx +6 -9
- package/src/components/tag-group/config.json +4 -0
- package/src/components/tag-group/tag-group.django.html +1 -1
|
@@ -0,0 +1,1241 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "chat",
|
|
3
|
+
"template": "chat/chat.django.html",
|
|
4
|
+
"version": 2,
|
|
5
|
+
"required": ["id"],
|
|
6
|
+
"default": {
|
|
7
|
+
"id": "chat-default",
|
|
8
|
+
"title": "Support chat",
|
|
9
|
+
"currentUserId": "visitor",
|
|
10
|
+
"participants": [
|
|
11
|
+
{
|
|
12
|
+
"id": "visitor",
|
|
13
|
+
"name": "You",
|
|
14
|
+
"avatarProps": {
|
|
15
|
+
"variant": "initials",
|
|
16
|
+
"value": "YO",
|
|
17
|
+
"alt": "You"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "agent",
|
|
22
|
+
"name": "Morgan",
|
|
23
|
+
"avatarProps": {
|
|
24
|
+
"variant": "initials",
|
|
25
|
+
"value": "MO",
|
|
26
|
+
"alt": "Morgan"
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
],
|
|
30
|
+
"messages": [
|
|
31
|
+
{
|
|
32
|
+
"id": "welcome",
|
|
33
|
+
"senderId": "agent",
|
|
34
|
+
"text": "Hi! How can I help today?",
|
|
35
|
+
"sentAt": "2026-01-01T12:00:00Z",
|
|
36
|
+
"timeLabel": "12:00 PM"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"reactionOptions": [],
|
|
40
|
+
"emojiPack": []
|
|
41
|
+
},
|
|
42
|
+
"props": {
|
|
43
|
+
"id": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"description": "Unique Popover panel ID and prefix for chat controls."
|
|
46
|
+
},
|
|
47
|
+
"title": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"description": "Conversation heading inside the chat panel.",
|
|
50
|
+
"default": "Chat"
|
|
51
|
+
},
|
|
52
|
+
"status": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"description": "Optional status line below the heading."
|
|
55
|
+
},
|
|
56
|
+
"context": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"description": "Optional subject of a standalone conversation; a selected conversation context overrides it. Keep sensitive record details host-controlled.",
|
|
59
|
+
"properties": {
|
|
60
|
+
"label": {
|
|
61
|
+
"type": "string",
|
|
62
|
+
"description": "Short subject category, such as Marketplace listing or Access request."
|
|
63
|
+
},
|
|
64
|
+
"title": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"description": "Name of the item or record being discussed."
|
|
67
|
+
},
|
|
68
|
+
"description": {
|
|
69
|
+
"type": "string",
|
|
70
|
+
"description": "Optional price, status, or other concise detail."
|
|
71
|
+
},
|
|
72
|
+
"imageUrl": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"description": "Optional subject thumbnail rendered through Image."
|
|
75
|
+
},
|
|
76
|
+
"imageAlt": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"description": "Thumbnail description; empty when decorative."
|
|
79
|
+
},
|
|
80
|
+
"href": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"description": "Optional link to the underlying item or record."
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"participants": {
|
|
87
|
+
"type": "array",
|
|
88
|
+
"description": "Participants, including the current user, agents, and bots. Message sender IDs should match participant IDs.",
|
|
89
|
+
"items": {
|
|
90
|
+
"type": "object",
|
|
91
|
+
"description": "One chat participant.",
|
|
92
|
+
"properties": {
|
|
93
|
+
"id": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "Stable participant ID."
|
|
96
|
+
},
|
|
97
|
+
"name": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"description": "Visible sender name and transcript label."
|
|
100
|
+
},
|
|
101
|
+
"avatarProps": {
|
|
102
|
+
"type": "object",
|
|
103
|
+
"component": "avatar",
|
|
104
|
+
"description": "Avatar props. Chat renders avatars without links."
|
|
105
|
+
},
|
|
106
|
+
"presence": {
|
|
107
|
+
"type": "select",
|
|
108
|
+
"options": ["online", "away"],
|
|
109
|
+
"description": "Optional current presence in inbox and contact lists. The host must keep it current; it is not a response-time promise."
|
|
110
|
+
},
|
|
111
|
+
"messageActions": {
|
|
112
|
+
"type": "array",
|
|
113
|
+
"description": "Host-defined message actions. An explicit empty array disables inherited host actions.",
|
|
114
|
+
"items": {
|
|
115
|
+
"type": "object",
|
|
116
|
+
"description": "One message action.",
|
|
117
|
+
"properties": {
|
|
118
|
+
"id": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"description": "Action identifier."
|
|
121
|
+
},
|
|
122
|
+
"label": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"description": "Visible action label."
|
|
125
|
+
},
|
|
126
|
+
"disabled": {
|
|
127
|
+
"type": "boolean",
|
|
128
|
+
"description": "Disable this action."
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"default": []
|
|
136
|
+
},
|
|
137
|
+
"currentUserId": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"description": "Participant ID whose messages align to the outgoing side.",
|
|
140
|
+
"default": "user"
|
|
141
|
+
},
|
|
142
|
+
"messages": {
|
|
143
|
+
"type": "array",
|
|
144
|
+
"description": "Conversation messages in display order. Chat does not fetch or append messages.",
|
|
145
|
+
"items": {
|
|
146
|
+
"type": "object",
|
|
147
|
+
"description": "One message in the transcript.",
|
|
148
|
+
"properties": {
|
|
149
|
+
"id": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"description": "Stable message ID."
|
|
152
|
+
},
|
|
153
|
+
"senderId": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"description": "ID of the sender in participants."
|
|
156
|
+
},
|
|
157
|
+
"text": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"description": "Message text. Chat safely renders **bold**, *italic*, <u>underline</u>, ~~strike~~, numbered and bulleted lines, > quotes, and fenced code blocks. Use content for other rich content."
|
|
160
|
+
},
|
|
161
|
+
"content": {
|
|
162
|
+
"type": "slot",
|
|
163
|
+
"description": "Optional rich message content. Sanitize HTML before passing it to Django; supply exportText for copied transcripts."
|
|
164
|
+
},
|
|
165
|
+
"exportText": {
|
|
166
|
+
"type": "string",
|
|
167
|
+
"description": "Plain text or Markdown used by Copy conversation for rich messages."
|
|
168
|
+
},
|
|
169
|
+
"sentAt": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"description": "ISO calendar timestamp (YYYY-MM-DDTHH:mm[:ss[.fraction]], optionally followed by Z or ±HH:mm). Grouping treats a missing timezone as UTC and truncates fractions to milliseconds; invalid dates remain ungrouped. Rendered datetime attributes and timeLabel strings are unchanged."
|
|
172
|
+
},
|
|
173
|
+
"timeLabel": {
|
|
174
|
+
"type": "string",
|
|
175
|
+
"description": "Localized timestamp label. Visible on the last message in a close group; retained for screen readers on earlier messages."
|
|
176
|
+
},
|
|
177
|
+
"groupPosition": {
|
|
178
|
+
"type": "select",
|
|
179
|
+
"options": ["single", "first", "middle", "last"],
|
|
180
|
+
"description": "Optional explicit grouping position. Both renderers derive it from adjacent sender IDs and sentAt values when omitted."
|
|
181
|
+
},
|
|
182
|
+
"attachments": {
|
|
183
|
+
"type": "array",
|
|
184
|
+
"description": "Files and images included with the message.",
|
|
185
|
+
"items": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"description": "One file or image attachment.",
|
|
188
|
+
"properties": {
|
|
189
|
+
"name": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"description": "Accessible file name."
|
|
192
|
+
},
|
|
193
|
+
"url": {
|
|
194
|
+
"type": "string",
|
|
195
|
+
"description": "Download URL, if available."
|
|
196
|
+
},
|
|
197
|
+
"imageUrl": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"description": "Optional image preview URL rendered through Image."
|
|
200
|
+
},
|
|
201
|
+
"alt": {
|
|
202
|
+
"type": "string",
|
|
203
|
+
"description": "Description of the preview image. Defaults to the file name."
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"replies": {
|
|
209
|
+
"type": "array",
|
|
210
|
+
"description": "Messages displayed in this message's thread.",
|
|
211
|
+
"items": {
|
|
212
|
+
"type": "object",
|
|
213
|
+
"description": "One thread reply."
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"olderReplies": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"description": "Optional older-page state for this message's thread, using the same fields as olderHistory."
|
|
219
|
+
},
|
|
220
|
+
"replyCount": {
|
|
221
|
+
"type": "number",
|
|
222
|
+
"description": "Visible count of replies to this message; a positive count adds a persistent thread link beside message metadata."
|
|
223
|
+
},
|
|
224
|
+
"edited": {
|
|
225
|
+
"type": "boolean",
|
|
226
|
+
"description": "Show an Edited marker."
|
|
227
|
+
},
|
|
228
|
+
"layout": {
|
|
229
|
+
"type": "select",
|
|
230
|
+
"options": ["bubble", "panel"],
|
|
231
|
+
"description": "Use panel for host-supplied editing or confirmation content. It expands to the available row width and uses a neutral surface instead of the sender's bubble color."
|
|
232
|
+
},
|
|
233
|
+
"deliveryStatus": {
|
|
234
|
+
"type": "string",
|
|
235
|
+
"description": "Delivery or read status supplied by the application."
|
|
236
|
+
},
|
|
237
|
+
"actions": {
|
|
238
|
+
"type": "array",
|
|
239
|
+
"description": "Overflow menu items, such as Edit or Delete. The application handles the action.",
|
|
240
|
+
"items": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"description": "One message action.",
|
|
243
|
+
"properties": {
|
|
244
|
+
"id": {
|
|
245
|
+
"type": "string",
|
|
246
|
+
"description": "Action identifier."
|
|
247
|
+
},
|
|
248
|
+
"label": {
|
|
249
|
+
"type": "string",
|
|
250
|
+
"description": "Visible action label."
|
|
251
|
+
},
|
|
252
|
+
"disabled": {
|
|
253
|
+
"type": "boolean",
|
|
254
|
+
"description": "Disable this action."
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"reactions": {
|
|
260
|
+
"type": "array",
|
|
261
|
+
"description": "Current reactions, rendered as toggle buttons in supplied order. Keep an entry in place while its count remains positive.",
|
|
262
|
+
"items": {
|
|
263
|
+
"type": "object",
|
|
264
|
+
"description": "One reaction.",
|
|
265
|
+
"properties": {
|
|
266
|
+
"emoji": {
|
|
267
|
+
"type": "string",
|
|
268
|
+
"description": "Visible emoji."
|
|
269
|
+
},
|
|
270
|
+
"label": {
|
|
271
|
+
"type": "string",
|
|
272
|
+
"description": "Accessible reaction name and event value."
|
|
273
|
+
},
|
|
274
|
+
"count": {
|
|
275
|
+
"type": "number",
|
|
276
|
+
"description": "Number of reactions."
|
|
277
|
+
},
|
|
278
|
+
"selected": {
|
|
279
|
+
"type": "boolean",
|
|
280
|
+
"description": "Whether the current user selected this reaction."
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
"reactionOptions": {
|
|
286
|
+
"type": "array",
|
|
287
|
+
"description": "Emoji choices for adding a reaction to this message; overrides the Chat-level list. An empty array disables new reactions.",
|
|
288
|
+
"items": {
|
|
289
|
+
"type": "object",
|
|
290
|
+
"description": "A reaction choice.",
|
|
291
|
+
"properties": {
|
|
292
|
+
"emoji": {
|
|
293
|
+
"type": "string",
|
|
294
|
+
"description": "Visible emoji."
|
|
295
|
+
},
|
|
296
|
+
"label": {
|
|
297
|
+
"type": "string",
|
|
298
|
+
"description": "Accessible choice name and event value."
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
},
|
|
303
|
+
"clientMessageId": {
|
|
304
|
+
"type": "string",
|
|
305
|
+
"description": "Host-supplied correlation ID for a submitted message."
|
|
306
|
+
},
|
|
307
|
+
"deliveryState": {
|
|
308
|
+
"type": "select",
|
|
309
|
+
"options": ["sending", "failed"],
|
|
310
|
+
"description": "Host-supplied sending or failed state. Failed messages expose a Retry control that emits usx:chat-retry."
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
},
|
|
314
|
+
"default": []
|
|
315
|
+
},
|
|
316
|
+
"firstUnreadMessageId": {
|
|
317
|
+
"type": "string",
|
|
318
|
+
"description": "First unread message ID for a standalone conversation. Show the unread divider before this message. A selected conversation overrides it."
|
|
319
|
+
},
|
|
320
|
+
"olderHistory": {
|
|
321
|
+
"type": "object",
|
|
322
|
+
"description": "Optional older-page state for a standalone conversation. Supplying it enables a top load control; selected conversations use their own state.",
|
|
323
|
+
"properties": {
|
|
324
|
+
"hasMore": {
|
|
325
|
+
"type": "boolean",
|
|
326
|
+
"description": "Whether earlier messages can be requested."
|
|
327
|
+
},
|
|
328
|
+
"cursor": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"description": "Opaque host-owned cursor for the next earlier page. Advance it even if a page is empty."
|
|
331
|
+
},
|
|
332
|
+
"loading": {
|
|
333
|
+
"type": "boolean",
|
|
334
|
+
"description": "Show a loading state and suppress duplicate requests."
|
|
335
|
+
},
|
|
336
|
+
"error": {
|
|
337
|
+
"type": "string",
|
|
338
|
+
"description": "Optional load failure text; the control becomes Try again."
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
},
|
|
342
|
+
"conversations": {
|
|
343
|
+
"type": "array",
|
|
344
|
+
"description": "Optional inbox rows. A row may supply messages for client-side selection or href for server navigation.",
|
|
345
|
+
"items": {
|
|
346
|
+
"type": "object",
|
|
347
|
+
"description": "One conversation.",
|
|
348
|
+
"properties": {
|
|
349
|
+
"id": {
|
|
350
|
+
"type": "string",
|
|
351
|
+
"description": "Stable conversation ID."
|
|
352
|
+
},
|
|
353
|
+
"title": {
|
|
354
|
+
"type": "string",
|
|
355
|
+
"description": "Conversation title."
|
|
356
|
+
},
|
|
357
|
+
"participantIds": {
|
|
358
|
+
"type": "array",
|
|
359
|
+
"description": "Member IDs for this conversation. The current user is omitted from the inbox avatar cluster when present.",
|
|
360
|
+
"items": {
|
|
361
|
+
"type": "string",
|
|
362
|
+
"description": "Participant ID."
|
|
363
|
+
}
|
|
364
|
+
},
|
|
365
|
+
"isGroup": {
|
|
366
|
+
"type": "boolean",
|
|
367
|
+
"description": "Keep group inbox treatment even when only one other member remains. Multiple other members also imply a group."
|
|
368
|
+
},
|
|
369
|
+
"avatarProps": {
|
|
370
|
+
"type": "object",
|
|
371
|
+
"component": "avatar",
|
|
372
|
+
"description": "Optional group Avatar, such as an icon or image, in place of member avatars."
|
|
373
|
+
},
|
|
374
|
+
"preview": {
|
|
375
|
+
"type": "string",
|
|
376
|
+
"description": "Last message preview."
|
|
377
|
+
},
|
|
378
|
+
"previewSenderId": {
|
|
379
|
+
"type": "string",
|
|
380
|
+
"description": "Optional sender ID prefixed to a group conversation preview. Useful when only inbox summaries are loaded."
|
|
381
|
+
},
|
|
382
|
+
"timeLabel": {
|
|
383
|
+
"type": "string",
|
|
384
|
+
"description": "Last activity label."
|
|
385
|
+
},
|
|
386
|
+
"unreadCount": {
|
|
387
|
+
"type": "number",
|
|
388
|
+
"description": "Unread message count shown with Tag."
|
|
389
|
+
},
|
|
390
|
+
"firstUnreadMessageId": {
|
|
391
|
+
"type": "string",
|
|
392
|
+
"description": "Stable ID of the first unread message in this conversation's supplied history. Required for an accurate unread divider."
|
|
393
|
+
},
|
|
394
|
+
"href": {
|
|
395
|
+
"type": "string",
|
|
396
|
+
"description": "Optional server-rendered conversation URL."
|
|
397
|
+
},
|
|
398
|
+
"context": {
|
|
399
|
+
"type": "object",
|
|
400
|
+
"description": "Optional subject of this conversation, using the same fields as Chat.context. Its title appears in the inbox and its details above the transcript."
|
|
401
|
+
},
|
|
402
|
+
"messages": {
|
|
403
|
+
"type": "array",
|
|
404
|
+
"description": "History to show when this conversation is selected.",
|
|
405
|
+
"items": {
|
|
406
|
+
"type": "object",
|
|
407
|
+
"description": "One message."
|
|
408
|
+
}
|
|
409
|
+
},
|
|
410
|
+
"olderHistory": {
|
|
411
|
+
"type": "object",
|
|
412
|
+
"description": "Optional older-page state for this conversation, using the same fields as Chat.olderHistory."
|
|
413
|
+
},
|
|
414
|
+
"allowAttachments": {
|
|
415
|
+
"type": "boolean",
|
|
416
|
+
"description": "Override whether this conversation accepts new file uploads."
|
|
417
|
+
},
|
|
418
|
+
"actions": {
|
|
419
|
+
"type": "array",
|
|
420
|
+
"description": "Host-defined conversation actions shared by the directory row and the open conversation or thread header. Both dispatch usx:chat-directory-action with the same actionId and conversationId. Omit or pass [] for no host actions.",
|
|
421
|
+
"items": {
|
|
422
|
+
"type": "object",
|
|
423
|
+
"description": "One conversation action.",
|
|
424
|
+
"properties": {
|
|
425
|
+
"id": {
|
|
426
|
+
"type": "string",
|
|
427
|
+
"description": "Action identifier."
|
|
428
|
+
},
|
|
429
|
+
"label": {
|
|
430
|
+
"type": "string",
|
|
431
|
+
"description": "Visible action label."
|
|
432
|
+
},
|
|
433
|
+
"disabled": {
|
|
434
|
+
"type": "boolean",
|
|
435
|
+
"description": "Disable this action."
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
"messageActions": {
|
|
441
|
+
"type": "object",
|
|
442
|
+
"description": "Default host actions for sent and received messages. Precedence: message.actions, sender.messageActions, conversation.messageActions side, Chat.messageActions side. Missing sides inherit; [] disables that side. Copy, reply, and reaction controls remain separately configured.",
|
|
443
|
+
"properties": {
|
|
444
|
+
"sent": {
|
|
445
|
+
"type": "array",
|
|
446
|
+
"description": "Actions on the active user\u2019s messages.",
|
|
447
|
+
"items": {
|
|
448
|
+
"type": "object",
|
|
449
|
+
"description": "One message action.",
|
|
450
|
+
"properties": {
|
|
451
|
+
"id": {
|
|
452
|
+
"type": "string",
|
|
453
|
+
"description": "Action identifier."
|
|
454
|
+
},
|
|
455
|
+
"label": {
|
|
456
|
+
"type": "string",
|
|
457
|
+
"description": "Visible action label."
|
|
458
|
+
},
|
|
459
|
+
"disabled": {
|
|
460
|
+
"type": "boolean",
|
|
461
|
+
"description": "Disable this action."
|
|
462
|
+
}
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
},
|
|
466
|
+
"received": {
|
|
467
|
+
"type": "array",
|
|
468
|
+
"description": "Actions on other users\u2019 messages.",
|
|
469
|
+
"items": {
|
|
470
|
+
"type": "object",
|
|
471
|
+
"description": "One message action.",
|
|
472
|
+
"properties": {
|
|
473
|
+
"id": {
|
|
474
|
+
"type": "string",
|
|
475
|
+
"description": "Action identifier."
|
|
476
|
+
},
|
|
477
|
+
"label": {
|
|
478
|
+
"type": "string",
|
|
479
|
+
"description": "Visible action label."
|
|
480
|
+
},
|
|
481
|
+
"disabled": {
|
|
482
|
+
"type": "boolean",
|
|
483
|
+
"description": "Disable this action."
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"allowThreads": {
|
|
491
|
+
"type": "boolean",
|
|
492
|
+
"description": "Override the Chat-level thread setting for every message in this conversation."
|
|
493
|
+
}
|
|
494
|
+
}
|
|
495
|
+
},
|
|
496
|
+
"default": []
|
|
497
|
+
},
|
|
498
|
+
"contacts": {
|
|
499
|
+
"type": "array",
|
|
500
|
+
"description": "Optional people available for a new conversation.",
|
|
501
|
+
"items": {
|
|
502
|
+
"type": "object",
|
|
503
|
+
"description": "One contact.",
|
|
504
|
+
"properties": {
|
|
505
|
+
"participantId": {
|
|
506
|
+
"type": "string",
|
|
507
|
+
"description": "ID from participants."
|
|
508
|
+
},
|
|
509
|
+
"description": {
|
|
510
|
+
"type": "string",
|
|
511
|
+
"description": "Supporting text."
|
|
512
|
+
},
|
|
513
|
+
"conversationId": {
|
|
514
|
+
"type": "string",
|
|
515
|
+
"description": "Existing conversation ID, if any."
|
|
516
|
+
},
|
|
517
|
+
"href": {
|
|
518
|
+
"type": "string",
|
|
519
|
+
"description": "Optional server-rendered contact URL in a non-selectable ChatDirectory. The new-message picker selects recipients instead of following contact links."
|
|
520
|
+
},
|
|
521
|
+
"allowAttachments": {
|
|
522
|
+
"type": "boolean",
|
|
523
|
+
"description": "Override whether a new conversation with this contact accepts uploads."
|
|
524
|
+
},
|
|
525
|
+
"actions": {
|
|
526
|
+
"type": "array",
|
|
527
|
+
"description": "Optional host-defined directory actions. Omit or pass [] to hide the menu. Actions dispatch usx:chat-directory-action; the host controls availability and effects.",
|
|
528
|
+
"items": {
|
|
529
|
+
"type": "object",
|
|
530
|
+
"description": "One message action.",
|
|
531
|
+
"properties": {
|
|
532
|
+
"id": {
|
|
533
|
+
"type": "string",
|
|
534
|
+
"description": "Action identifier."
|
|
535
|
+
},
|
|
536
|
+
"label": {
|
|
537
|
+
"type": "string",
|
|
538
|
+
"description": "Visible action label."
|
|
539
|
+
},
|
|
540
|
+
"disabled": {
|
|
541
|
+
"type": "boolean",
|
|
542
|
+
"description": "Disable this action."
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"default": []
|
|
550
|
+
},
|
|
551
|
+
"view": {
|
|
552
|
+
"type": "select",
|
|
553
|
+
"options": ["inbox", "contacts", "conversation", "thread"],
|
|
554
|
+
"description": "View to render. Defaults to defaultView, then inbox when conversations exist, otherwise conversation."
|
|
555
|
+
},
|
|
556
|
+
"defaultView": {
|
|
557
|
+
"type": "select",
|
|
558
|
+
"options": ["inbox", "contacts", "conversation", "thread"],
|
|
559
|
+
"description": "Initial view. Defaults to inbox when conversations are supplied, otherwise conversation."
|
|
560
|
+
},
|
|
561
|
+
"activeConversationId": {
|
|
562
|
+
"type": "string",
|
|
563
|
+
"description": "Controlled selected conversation ID."
|
|
564
|
+
},
|
|
565
|
+
"defaultConversationId": {
|
|
566
|
+
"type": "string",
|
|
567
|
+
"description": "Initially selected conversation ID."
|
|
568
|
+
},
|
|
569
|
+
"activeThreadId": {
|
|
570
|
+
"type": "string",
|
|
571
|
+
"description": "Thread root message ID when rendering the thread view."
|
|
572
|
+
},
|
|
573
|
+
"recipientId": {
|
|
574
|
+
"type": "string",
|
|
575
|
+
"description": "Participant ID for a new conversation that has no conversation ID yet."
|
|
576
|
+
},
|
|
577
|
+
"emptyText": {
|
|
578
|
+
"type": "string",
|
|
579
|
+
"description": "Text displayed when there are no messages.",
|
|
580
|
+
"default": "No messages yet. Start the conversation."
|
|
581
|
+
},
|
|
582
|
+
"typingIds": {
|
|
583
|
+
"type": "array",
|
|
584
|
+
"description": "Participant IDs currently typing.",
|
|
585
|
+
"items": {
|
|
586
|
+
"type": "string",
|
|
587
|
+
"description": "ID of a participant who is typing."
|
|
588
|
+
},
|
|
589
|
+
"default": []
|
|
590
|
+
},
|
|
591
|
+
"suggestedQuestions": {
|
|
592
|
+
"type": "array",
|
|
593
|
+
"description": "Suggested questions shown above the composer.",
|
|
594
|
+
"items": {
|
|
595
|
+
"type": "object",
|
|
596
|
+
"description": "A suggested question button.",
|
|
597
|
+
"properties": {
|
|
598
|
+
"label": {
|
|
599
|
+
"type": "string",
|
|
600
|
+
"description": "Visible question."
|
|
601
|
+
},
|
|
602
|
+
"value": {
|
|
603
|
+
"type": "string",
|
|
604
|
+
"description": "Value sent to the selection callback."
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
},
|
|
608
|
+
"default": []
|
|
609
|
+
},
|
|
610
|
+
"choices": {
|
|
611
|
+
"type": "array",
|
|
612
|
+
"description": "Answer choices offered by a bot.",
|
|
613
|
+
"items": {
|
|
614
|
+
"type": "object",
|
|
615
|
+
"description": "A bot answer choice button.",
|
|
616
|
+
"properties": {
|
|
617
|
+
"label": {
|
|
618
|
+
"type": "string",
|
|
619
|
+
"description": "Visible answer."
|
|
620
|
+
},
|
|
621
|
+
"value": {
|
|
622
|
+
"type": "string",
|
|
623
|
+
"description": "Value sent to the selection callback."
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
},
|
|
627
|
+
"default": []
|
|
628
|
+
},
|
|
629
|
+
"choicePrompt": {
|
|
630
|
+
"type": "string",
|
|
631
|
+
"description": "Accessible heading for answer choices.",
|
|
632
|
+
"default": "Choose an answer"
|
|
633
|
+
},
|
|
634
|
+
"actions": {
|
|
635
|
+
"type": "slot",
|
|
636
|
+
"description": "Additional controls inside the optional actions menu."
|
|
637
|
+
},
|
|
638
|
+
"showCopyAction": {
|
|
639
|
+
"type": "boolean",
|
|
640
|
+
"default": false,
|
|
641
|
+
"description": "Show Copy conversation in the actions menu. Rich messages should provide exportText."
|
|
642
|
+
},
|
|
643
|
+
"showCopyMessageAction": {
|
|
644
|
+
"type": "boolean",
|
|
645
|
+
"default": true,
|
|
646
|
+
"description": "Show Copy message in each message's More menu when the message has exportable content."
|
|
647
|
+
},
|
|
648
|
+
"reactionOptions": {
|
|
649
|
+
"type": "array",
|
|
650
|
+
"description": "Emoji choices in each message\u2019s Add reaction Popover. Defaults to emojiPack. Pass an empty array to disable adding reactions.",
|
|
651
|
+
"items": {
|
|
652
|
+
"type": "object",
|
|
653
|
+
"description": "A reaction choice.",
|
|
654
|
+
"properties": {
|
|
655
|
+
"emoji": {
|
|
656
|
+
"type": "string",
|
|
657
|
+
"description": "Visible emoji."
|
|
658
|
+
},
|
|
659
|
+
"label": {
|
|
660
|
+
"type": "string",
|
|
661
|
+
"description": "Accessible choice name and event value."
|
|
662
|
+
},
|
|
663
|
+
"name": {
|
|
664
|
+
"type": "string",
|
|
665
|
+
"description": "Optional shortcode name; used for the reaction menu tooltip."
|
|
666
|
+
},
|
|
667
|
+
"aliases": {
|
|
668
|
+
"type": "array",
|
|
669
|
+
"description": "Optional additional shortcodes.",
|
|
670
|
+
"items": {
|
|
671
|
+
"type": "string",
|
|
672
|
+
"description": "Shortcode alias."
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
"default": null
|
|
678
|
+
},
|
|
679
|
+
"children": {
|
|
680
|
+
"type": "slot",
|
|
681
|
+
"description": "Optional custom controls above the composer."
|
|
682
|
+
},
|
|
683
|
+
"side": {
|
|
684
|
+
"type": "select",
|
|
685
|
+
"options": ["top", "right", "bottom", "left"],
|
|
686
|
+
"description": "Popover panel side relative to the host launcher.",
|
|
687
|
+
"default": "bottom"
|
|
688
|
+
},
|
|
689
|
+
"align": {
|
|
690
|
+
"type": "select",
|
|
691
|
+
"options": ["start", "center", "end"],
|
|
692
|
+
"description": "Popover panel alignment relative to the host launcher.",
|
|
693
|
+
"default": "start"
|
|
694
|
+
},
|
|
695
|
+
"defaultOpen": {
|
|
696
|
+
"type": "boolean",
|
|
697
|
+
"default": false,
|
|
698
|
+
"description": "Show the panel on initial render."
|
|
699
|
+
},
|
|
700
|
+
"groupWindowMinutes": {
|
|
701
|
+
"type": "number",
|
|
702
|
+
"default": 5,
|
|
703
|
+
"description": "Maximum gap between adjacent messages from the same sender for automatic bubble grouping."
|
|
704
|
+
},
|
|
705
|
+
"allowAttachments": {
|
|
706
|
+
"type": "boolean",
|
|
707
|
+
"default": false,
|
|
708
|
+
"description": "Enable file uploads in the composer. Conversations and contacts may override this setting."
|
|
709
|
+
},
|
|
710
|
+
"allowFormatting": {
|
|
711
|
+
"type": "boolean",
|
|
712
|
+
"default": false,
|
|
713
|
+
"description": "Show the composer formatting controls and enable formatting shortcuts."
|
|
714
|
+
},
|
|
715
|
+
"accept": {
|
|
716
|
+
"type": "string",
|
|
717
|
+
"description": "File input accept attribute when uploads are enabled. Omit to allow files and images."
|
|
718
|
+
},
|
|
719
|
+
"formAction": {
|
|
720
|
+
"type": "string",
|
|
721
|
+
"description": "Optional native form endpoint. The host may cancel the shared usx:chat-send event to handle submission."
|
|
722
|
+
},
|
|
723
|
+
"disabled": {
|
|
724
|
+
"type": "boolean",
|
|
725
|
+
"default": false,
|
|
726
|
+
"description": "Disable composing and response controls."
|
|
727
|
+
},
|
|
728
|
+
"className": {
|
|
729
|
+
"type": "string",
|
|
730
|
+
"default": "",
|
|
731
|
+
"description": "Additional classes for the Popover root."
|
|
732
|
+
},
|
|
733
|
+
"emojiPack": {
|
|
734
|
+
"type": "array",
|
|
735
|
+
"default": [
|
|
736
|
+
{
|
|
737
|
+
"emoji": "\ud83d\ude02",
|
|
738
|
+
"name": "joy",
|
|
739
|
+
"label": "Face with tears of joy"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"emoji": "\u2764\ufe0f",
|
|
743
|
+
"name": "heart",
|
|
744
|
+
"label": "Red heart"
|
|
745
|
+
},
|
|
746
|
+
{
|
|
747
|
+
"emoji": "\ud83d\ude0d",
|
|
748
|
+
"name": "heart_eyes",
|
|
749
|
+
"label": "Smiling face with heart eyes"
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"emoji": "\ud83e\udd23",
|
|
753
|
+
"name": "rofl",
|
|
754
|
+
"label": "Rolling on the floor laughing"
|
|
755
|
+
},
|
|
756
|
+
{
|
|
757
|
+
"emoji": "\ud83d\ude0a",
|
|
758
|
+
"name": "blush",
|
|
759
|
+
"label": "Smiling face"
|
|
760
|
+
},
|
|
761
|
+
{
|
|
762
|
+
"emoji": "\ud83d\ude4f",
|
|
763
|
+
"name": "pray",
|
|
764
|
+
"label": "Folded hands"
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"emoji": "\ud83d\ude2d",
|
|
768
|
+
"name": "sob",
|
|
769
|
+
"label": "Loudly crying face"
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
"emoji": "\ud83d\udc4d",
|
|
773
|
+
"name": "thumbsup",
|
|
774
|
+
"label": "Thumbs up",
|
|
775
|
+
"aliases": ["thumbs_up", "+1"]
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
"emoji": "\ud83d\udc4e",
|
|
779
|
+
"name": "thumbsdown",
|
|
780
|
+
"label": "Thumbs down",
|
|
781
|
+
"aliases": ["thumbs_down", "-1"]
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"emoji": "\ud83d\ude05",
|
|
785
|
+
"name": "sweat_smile",
|
|
786
|
+
"label": "Grinning face with sweat"
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"emoji": "\ud83d\udc4f",
|
|
790
|
+
"name": "clap",
|
|
791
|
+
"label": "Clapping hands"
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
"emoji": "\ud83d\ude01",
|
|
795
|
+
"name": "grin",
|
|
796
|
+
"label": "Beaming face"
|
|
797
|
+
},
|
|
798
|
+
{
|
|
799
|
+
"emoji": "\ud83d\udd25",
|
|
800
|
+
"name": "fire",
|
|
801
|
+
"label": "Fire"
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"emoji": "\ud83d\udc94",
|
|
805
|
+
"name": "broken_heart",
|
|
806
|
+
"label": "Broken heart"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"emoji": "\ud83d\ude22",
|
|
810
|
+
"name": "cry",
|
|
811
|
+
"label": "Crying face"
|
|
812
|
+
},
|
|
813
|
+
{
|
|
814
|
+
"emoji": "\ud83e\udd14",
|
|
815
|
+
"name": "thinking",
|
|
816
|
+
"label": "Thinking face",
|
|
817
|
+
"aliases": ["thinking_face"]
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
"emoji": "\ud83d\ude06",
|
|
821
|
+
"name": "laughing",
|
|
822
|
+
"label": "Laughing face",
|
|
823
|
+
"aliases": ["laugh"]
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"emoji": "\ud83d\ude44",
|
|
827
|
+
"name": "rolling_eyes",
|
|
828
|
+
"label": "Face with rolling eyes"
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"emoji": "\ud83d\udcaa",
|
|
832
|
+
"name": "muscle",
|
|
833
|
+
"label": "Flexed biceps"
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"emoji": "\ud83d\ude09",
|
|
837
|
+
"name": "wink",
|
|
838
|
+
"label": "Winking face"
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"emoji": "\ud83d\udc4c",
|
|
842
|
+
"name": "ok_hand",
|
|
843
|
+
"label": "OK hand"
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"emoji": "\ud83e\udd17",
|
|
847
|
+
"name": "hug",
|
|
848
|
+
"label": "Hugging face"
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"emoji": "\ud83d\ude0e",
|
|
852
|
+
"name": "sunglasses",
|
|
853
|
+
"label": "Smiling face with sunglasses"
|
|
854
|
+
},
|
|
855
|
+
{
|
|
856
|
+
"emoji": "\ud83d\ude07",
|
|
857
|
+
"name": "innocent",
|
|
858
|
+
"label": "Smiling face with halo"
|
|
859
|
+
},
|
|
860
|
+
{
|
|
861
|
+
"emoji": "\ud83c\udf89",
|
|
862
|
+
"name": "tada",
|
|
863
|
+
"label": "Party popper",
|
|
864
|
+
"aliases": ["party"]
|
|
865
|
+
},
|
|
866
|
+
{
|
|
867
|
+
"emoji": "\u270c\ufe0f",
|
|
868
|
+
"name": "v",
|
|
869
|
+
"label": "Victory hand"
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"emoji": "\u2728",
|
|
873
|
+
"name": "sparkles",
|
|
874
|
+
"label": "Sparkles"
|
|
875
|
+
},
|
|
876
|
+
{
|
|
877
|
+
"emoji": "\ud83d\ude31",
|
|
878
|
+
"name": "scream",
|
|
879
|
+
"label": "Face screaming in fear"
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
"emoji": "\ud83d\ude0c",
|
|
883
|
+
"name": "relieved",
|
|
884
|
+
"label": "Relieved face"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"emoji": "\ud83d\ude4c",
|
|
888
|
+
"name": "raised_hands",
|
|
889
|
+
"label": "Raising hands"
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"emoji": "\ud83d\ude0b",
|
|
893
|
+
"name": "yum",
|
|
894
|
+
"label": "Face savoring food"
|
|
895
|
+
},
|
|
896
|
+
{
|
|
897
|
+
"emoji": "\ud83d\ude42",
|
|
898
|
+
"name": "slightly_smiling_face",
|
|
899
|
+
"label": "Slightly smiling face"
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"emoji": "\ud83e\udd29",
|
|
903
|
+
"name": "star_struck",
|
|
904
|
+
"label": "Star-struck"
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"emoji": "\ud83d\ude00",
|
|
908
|
+
"name": "grinning",
|
|
909
|
+
"label": "Grinning face"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"emoji": "\ud83d\udcaf",
|
|
913
|
+
"name": "100",
|
|
914
|
+
"label": "Hundred points"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"emoji": "\ud83d\udc40",
|
|
918
|
+
"name": "eyes",
|
|
919
|
+
"label": "Eyes"
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
"emoji": "\ud83e\udd2d",
|
|
923
|
+
"name": "hand_over_mouth",
|
|
924
|
+
"label": "Face with hand over mouth"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"emoji": "\ud83d\ude2e",
|
|
928
|
+
"name": "open_mouth",
|
|
929
|
+
"label": "Face with open mouth"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"emoji": "\ud83d\ude10",
|
|
933
|
+
"name": "neutral_face",
|
|
934
|
+
"label": "Neutral face"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"emoji": "\ud83d\ude21",
|
|
938
|
+
"name": "rage",
|
|
939
|
+
"label": "Enraged face"
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"emoji": "\ud83d\ude34",
|
|
943
|
+
"name": "sleeping",
|
|
944
|
+
"label": "Sleeping face"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"emoji": "\ud83e\udd37",
|
|
948
|
+
"name": "shrug",
|
|
949
|
+
"label": "Person shrugging"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"emoji": "\ud83e\udd26",
|
|
953
|
+
"name": "facepalm",
|
|
954
|
+
"label": "Person facepalming"
|
|
955
|
+
},
|
|
956
|
+
{
|
|
957
|
+
"emoji": "\ud83d\udc4b",
|
|
958
|
+
"name": "wave",
|
|
959
|
+
"label": "Waving hand"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"emoji": "\ud83e\udd1d",
|
|
963
|
+
"name": "handshake",
|
|
964
|
+
"label": "Handshake"
|
|
965
|
+
},
|
|
966
|
+
{
|
|
967
|
+
"emoji": "\u2705",
|
|
968
|
+
"name": "check",
|
|
969
|
+
"label": "Check mark",
|
|
970
|
+
"aliases": ["white_check_mark"]
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
"emoji": "\u274c",
|
|
974
|
+
"name": "x",
|
|
975
|
+
"label": "Cross mark"
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
"emoji": "\u2b50",
|
|
979
|
+
"name": "star",
|
|
980
|
+
"label": "Star"
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
"emoji": "\u26a0\ufe0f",
|
|
984
|
+
"name": "warning",
|
|
985
|
+
"label": "Warning"
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
"emoji": "\ud83d\udca1",
|
|
989
|
+
"name": "bulb",
|
|
990
|
+
"label": "Light bulb"
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"emoji": "\ud83d\udccc",
|
|
994
|
+
"name": "pushpin",
|
|
995
|
+
"label": "Pushpin"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
"emoji": "\ud83d\udcdd",
|
|
999
|
+
"name": "memo",
|
|
1000
|
+
"label": "Memo"
|
|
1001
|
+
},
|
|
1002
|
+
{
|
|
1003
|
+
"emoji": "\ud83d\udcc5",
|
|
1004
|
+
"name": "calendar",
|
|
1005
|
+
"label": "Calendar"
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
"emoji": "\u23f0",
|
|
1009
|
+
"name": "alarm_clock",
|
|
1010
|
+
"label": "Alarm clock"
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
"emoji": "\ud83d\udcce",
|
|
1014
|
+
"name": "paperclip",
|
|
1015
|
+
"label": "Paperclip"
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
"emoji": "\ud83d\udcc1",
|
|
1019
|
+
"name": "file_folder",
|
|
1020
|
+
"label": "File folder"
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
"emoji": "\ud83d\udd17",
|
|
1024
|
+
"name": "link",
|
|
1025
|
+
"label": "Link"
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"emoji": "\ud83d\udd12",
|
|
1029
|
+
"name": "lock",
|
|
1030
|
+
"label": "Lock"
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
"emoji": "\ud83d\udd11",
|
|
1034
|
+
"name": "key",
|
|
1035
|
+
"label": "Key"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"emoji": "\ud83d\ude80",
|
|
1039
|
+
"name": "rocket",
|
|
1040
|
+
"label": "Rocket"
|
|
1041
|
+
},
|
|
1042
|
+
{
|
|
1043
|
+
"emoji": "\ud83d\udcac",
|
|
1044
|
+
"name": "speech_balloon",
|
|
1045
|
+
"label": "Speech balloon"
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
"emoji": "\u2753",
|
|
1049
|
+
"name": "question",
|
|
1050
|
+
"label": "Question mark"
|
|
1051
|
+
},
|
|
1052
|
+
{
|
|
1053
|
+
"emoji": "\u2757",
|
|
1054
|
+
"name": "exclamation",
|
|
1055
|
+
"label": "Exclamation mark"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"emoji": "\ud83d\ude04",
|
|
1059
|
+
"name": "smile",
|
|
1060
|
+
"label": "Smiling face with open mouth"
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"emoji": "\ud83d\udc99",
|
|
1064
|
+
"name": "blue_heart",
|
|
1065
|
+
"label": "Blue heart"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"emoji": "\ud83d\udc9a",
|
|
1069
|
+
"name": "green_heart",
|
|
1070
|
+
"label": "Green heart"
|
|
1071
|
+
},
|
|
1072
|
+
{
|
|
1073
|
+
"emoji": "\ud83d\udc9b",
|
|
1074
|
+
"name": "yellow_heart",
|
|
1075
|
+
"label": "Yellow heart"
|
|
1076
|
+
},
|
|
1077
|
+
{
|
|
1078
|
+
"emoji": "\ud83e\udd73",
|
|
1079
|
+
"name": "partying_face",
|
|
1080
|
+
"label": "Partying face"
|
|
1081
|
+
},
|
|
1082
|
+
{
|
|
1083
|
+
"emoji": "\ud83e\udd16",
|
|
1084
|
+
"name": "robot",
|
|
1085
|
+
"label": "Robot"
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"emoji": "\ud83d\udc31",
|
|
1089
|
+
"name": "cat",
|
|
1090
|
+
"label": "Cat"
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"emoji": "\ud83d\udc36",
|
|
1094
|
+
"name": "dog",
|
|
1095
|
+
"label": "Dog"
|
|
1096
|
+
},
|
|
1097
|
+
{
|
|
1098
|
+
"emoji": "\ud83c\udf08",
|
|
1099
|
+
"name": "rainbow",
|
|
1100
|
+
"label": "Rainbow"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"emoji": "\u2600\ufe0f",
|
|
1104
|
+
"name": "sunny",
|
|
1105
|
+
"label": "Sun"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"emoji": "\ud83c\udf19",
|
|
1109
|
+
"name": "crescent_moon",
|
|
1110
|
+
"label": "Crescent moon"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"emoji": "\u2615",
|
|
1114
|
+
"name": "coffee",
|
|
1115
|
+
"label": "Hot beverage"
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
"emoji": "\ud83c\udf55",
|
|
1119
|
+
"name": "pizza",
|
|
1120
|
+
"label": "Pizza"
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"emoji": "\ud83c\udf70",
|
|
1124
|
+
"name": "cake",
|
|
1125
|
+
"label": "Cake"
|
|
1126
|
+
},
|
|
1127
|
+
{
|
|
1128
|
+
"emoji": "\ud83c\udf82",
|
|
1129
|
+
"name": "birthday",
|
|
1130
|
+
"label": "Birthday cake"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"emoji": "\ud83c\udfb5",
|
|
1134
|
+
"name": "musical_note",
|
|
1135
|
+
"label": "Musical note"
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
"emoji": "\ud83c\udfc6",
|
|
1139
|
+
"name": "trophy",
|
|
1140
|
+
"label": "Trophy"
|
|
1141
|
+
}
|
|
1142
|
+
],
|
|
1143
|
+
"description": "Emoji choices in the composer Popover beside attachment and formatting controls, and in :name: shortcodes. Defaults to the included 80-emoji pack. Supply up to 100 entries, or [] to disable emoji input. Reaction choices use this pack unless reactionOptions overrides them.",
|
|
1144
|
+
"items": {
|
|
1145
|
+
"type": "object",
|
|
1146
|
+
"description": "One emoji choice.",
|
|
1147
|
+
"properties": {
|
|
1148
|
+
"emoji": {
|
|
1149
|
+
"type": "string",
|
|
1150
|
+
"description": "Unicode emoji glyph."
|
|
1151
|
+
},
|
|
1152
|
+
"name": {
|
|
1153
|
+
"type": "string",
|
|
1154
|
+
"description": "Lowercase shortcode without colons."
|
|
1155
|
+
},
|
|
1156
|
+
"label": {
|
|
1157
|
+
"type": "string",
|
|
1158
|
+
"description": "Accessible emoji name."
|
|
1159
|
+
},
|
|
1160
|
+
"aliases": {
|
|
1161
|
+
"type": "array",
|
|
1162
|
+
"description": "Optional additional shortcodes.",
|
|
1163
|
+
"items": {
|
|
1164
|
+
"type": "string",
|
|
1165
|
+
"description": "Shortcode alias."
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
},
|
|
1171
|
+
"recipientIds": {
|
|
1172
|
+
"type": "array",
|
|
1173
|
+
"description": "Initially selected participant IDs in the new-message recipient picker.",
|
|
1174
|
+
"default": [],
|
|
1175
|
+
"items": {
|
|
1176
|
+
"type": "string",
|
|
1177
|
+
"description": "Recipient participant ID."
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
"messageActions": {
|
|
1181
|
+
"type": "object",
|
|
1182
|
+
"description": "Default host actions for sent and received messages. Precedence: message.actions, sender.messageActions, conversation.messageActions side, Chat.messageActions side. Missing sides inherit; [] disables that side. Copy, reply, and reaction controls remain separately configured.",
|
|
1183
|
+
"properties": {
|
|
1184
|
+
"sent": {
|
|
1185
|
+
"type": "array",
|
|
1186
|
+
"description": "Actions on the active user\u2019s messages.",
|
|
1187
|
+
"items": {
|
|
1188
|
+
"type": "object",
|
|
1189
|
+
"description": "One message action.",
|
|
1190
|
+
"properties": {
|
|
1191
|
+
"id": {
|
|
1192
|
+
"type": "string",
|
|
1193
|
+
"description": "Action identifier."
|
|
1194
|
+
},
|
|
1195
|
+
"label": {
|
|
1196
|
+
"type": "string",
|
|
1197
|
+
"description": "Visible action label."
|
|
1198
|
+
},
|
|
1199
|
+
"disabled": {
|
|
1200
|
+
"type": "boolean",
|
|
1201
|
+
"description": "Disable this action."
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
},
|
|
1206
|
+
"received": {
|
|
1207
|
+
"type": "array",
|
|
1208
|
+
"description": "Actions on other users\u2019 messages.",
|
|
1209
|
+
"items": {
|
|
1210
|
+
"type": "object",
|
|
1211
|
+
"description": "One message action.",
|
|
1212
|
+
"properties": {
|
|
1213
|
+
"id": {
|
|
1214
|
+
"type": "string",
|
|
1215
|
+
"description": "Action identifier."
|
|
1216
|
+
},
|
|
1217
|
+
"label": {
|
|
1218
|
+
"type": "string",
|
|
1219
|
+
"description": "Visible action label."
|
|
1220
|
+
},
|
|
1221
|
+
"disabled": {
|
|
1222
|
+
"type": "boolean",
|
|
1223
|
+
"description": "Disable this action."
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
},
|
|
1230
|
+
"summaryProps": {
|
|
1231
|
+
"type": "object",
|
|
1232
|
+
"component": "summary",
|
|
1233
|
+
"description": "Host-supplied launcher content, classes, accessible label, and title. Chat adds no launcher styling or positioning. The default label is Open chat."
|
|
1234
|
+
},
|
|
1235
|
+
"allowThreads": {
|
|
1236
|
+
"type": "boolean",
|
|
1237
|
+
"default": false,
|
|
1238
|
+
"description": "Enable thread entry points for every message in the conversation."
|
|
1239
|
+
}
|
|
1240
|
+
}
|
|
1241
|
+
}
|