@deepdesk/deepdesk-sdk 11.1.1-beta.3 → 11.1.1-beta.5
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/dist/index.cjs.js +2 -2
- package/dist/index.d.mts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.esm.js +2 -2
- package/dist/index.iife.js +2 -2
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -266,7 +266,9 @@ declare abstract class InputMediator<HTMLElementType extends HTMLElement> {
|
|
|
266
266
|
protected handleKeyDown(event: KeyboardEvent): void;
|
|
267
267
|
protected handleCut(): void;
|
|
268
268
|
protected handlePaste(event: ClipboardEvent): void;
|
|
269
|
-
protected listen(
|
|
269
|
+
protected listen(options?: {
|
|
270
|
+
shouldObserve?: boolean;
|
|
271
|
+
}): void;
|
|
270
272
|
abstract getText(): string;
|
|
271
273
|
abstract getHTML(): string | null;
|
|
272
274
|
abstract getSelection(): SelectionRange;
|
|
@@ -2195,7 +2197,9 @@ declare class ContentEditableInput extends InputMediator<HTMLDivElement> {
|
|
|
2195
2197
|
getSelection(): SelectionRange;
|
|
2196
2198
|
getSelectedText(): string;
|
|
2197
2199
|
applyChanges(callback: (element: HTMLDivElement) => void | Promise<void>): void | Promise<void>;
|
|
2198
|
-
listen(
|
|
2200
|
+
listen(options?: {
|
|
2201
|
+
shouldObserve?: boolean;
|
|
2202
|
+
}): void;
|
|
2199
2203
|
dispose(): void;
|
|
2200
2204
|
}
|
|
2201
2205
|
|
package/dist/index.d.ts
CHANGED
|
@@ -266,7 +266,9 @@ declare abstract class InputMediator<HTMLElementType extends HTMLElement> {
|
|
|
266
266
|
protected handleKeyDown(event: KeyboardEvent): void;
|
|
267
267
|
protected handleCut(): void;
|
|
268
268
|
protected handlePaste(event: ClipboardEvent): void;
|
|
269
|
-
protected listen(
|
|
269
|
+
protected listen(options?: {
|
|
270
|
+
shouldObserve?: boolean;
|
|
271
|
+
}): void;
|
|
270
272
|
abstract getText(): string;
|
|
271
273
|
abstract getHTML(): string | null;
|
|
272
274
|
abstract getSelection(): SelectionRange;
|
|
@@ -2195,7 +2197,9 @@ declare class ContentEditableInput extends InputMediator<HTMLDivElement> {
|
|
|
2195
2197
|
getSelection(): SelectionRange;
|
|
2196
2198
|
getSelectedText(): string;
|
|
2197
2199
|
applyChanges(callback: (element: HTMLDivElement) => void | Promise<void>): void | Promise<void>;
|
|
2198
|
-
listen(
|
|
2200
|
+
listen(options?: {
|
|
2201
|
+
shouldObserve?: boolean;
|
|
2202
|
+
}): void;
|
|
2199
2203
|
dispose(): void;
|
|
2200
2204
|
}
|
|
2201
2205
|
|