@oyehello/chat 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -2
- package/dist/index.cjs +628 -214
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -15
- package/dist/index.d.ts +30 -15
- package/dist/index.global.js +624 -210
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +625 -211
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -145,44 +145,59 @@ declare class OyehelloChatElement extends HTMLElement {
|
|
|
145
145
|
private imagePreviewCache;
|
|
146
146
|
private resolvedUrlCache;
|
|
147
147
|
private mdCache;
|
|
148
|
-
private
|
|
148
|
+
private receivedAt;
|
|
149
|
+
private uiOpen;
|
|
149
150
|
private started;
|
|
150
|
-
private
|
|
151
|
+
private uiMax;
|
|
152
|
+
private emojiOpen;
|
|
153
|
+
private emojiQuery;
|
|
154
|
+
private away;
|
|
151
155
|
private unseen;
|
|
156
|
+
private focused;
|
|
157
|
+
private teaserActive;
|
|
152
158
|
private renderedCount;
|
|
153
|
-
private
|
|
159
|
+
private renderedBotFinal;
|
|
160
|
+
private timers;
|
|
161
|
+
private oc;
|
|
154
162
|
private bodyEl;
|
|
155
163
|
private textareaEl;
|
|
156
|
-
private sendEl;
|
|
157
164
|
private fileEl;
|
|
158
|
-
private
|
|
159
|
-
private badgeEl;
|
|
165
|
+
private titleEl;
|
|
160
166
|
private statusEl;
|
|
161
167
|
private errEl;
|
|
162
|
-
private
|
|
168
|
+
private emojiListEl;
|
|
169
|
+
private emojiSearchEl;
|
|
163
170
|
connectedCallback(): void;
|
|
164
171
|
disconnectedCallback(): void;
|
|
165
172
|
registerTools(handlers: Record<string, ChatToolHandler>): void;
|
|
166
|
-
private
|
|
173
|
+
private key;
|
|
174
|
+
private get suggestions();
|
|
167
175
|
private renderShell;
|
|
168
176
|
private renderError;
|
|
169
|
-
private
|
|
177
|
+
private updateClasses;
|
|
178
|
+
private toggle;
|
|
170
179
|
private openPanel;
|
|
171
180
|
private closePanel;
|
|
181
|
+
private dismissTeaser;
|
|
172
182
|
private onClientEvent;
|
|
173
|
-
private
|
|
183
|
+
private updateHeader;
|
|
174
184
|
private updateStatus;
|
|
175
185
|
private renderMessages;
|
|
176
|
-
private
|
|
186
|
+
private parkLastQuestion;
|
|
187
|
+
private onScroll;
|
|
177
188
|
private scrollToBottom;
|
|
178
|
-
private updatePill;
|
|
179
|
-
private updateBadge;
|
|
180
189
|
private autoGrow;
|
|
181
190
|
private doSend;
|
|
182
|
-
private
|
|
191
|
+
private sendChip;
|
|
192
|
+
private bindChips;
|
|
193
|
+
private toggleEmoji;
|
|
194
|
+
private closeEmoji;
|
|
195
|
+
private renderEmoji;
|
|
196
|
+
private turnHtml;
|
|
197
|
+
private relTime;
|
|
183
198
|
private renderAttachment;
|
|
184
|
-
private renderSource;
|
|
185
199
|
private hydrateAttachmentImages;
|
|
200
|
+
private escapeAttr;
|
|
186
201
|
}
|
|
187
202
|
|
|
188
203
|
export { ChatApiError, type ChatAttachmentDescriptor, type ChatClient, type ChatClientEvent, type ChatClientOptions, type ChatClientState, type ChatEvent, type ChatMessage, type ChatToolHandler, type OpenSessionResponse, OyehelloChatElement, createChatClient };
|