@ones-editor/editor 2.1.1-beta.74 → 2.1.1-beta.75
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/@ones-editor/core/src/core/editor/index.d.ts +1 -1
- package/@ones-editor/core/src/utils/dom.d.ts +1 -0
- package/@ones-editor/mobile-helper/src/fixed-toolbar/index.d.ts +1 -0
- package/@ones-editor/mobile-helper/src/index.d.ts +1 -0
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui/src/locale/en-us.d.ts +1 -0
- package/@ones-editor/ui/src/locale/ja-jp.d.ts +1 -0
- package/@ones-editor/ui/src/locale/zh-cn.d.ts +1 -0
- package/@ones-editor/ui/src/providers/mobile-link-provider.d.ts +4 -1
- package/@ones-editor/ui/src/providers/selection-provider.d.ts +9 -0
- package/dist/index.js +116 -40
- package/package.json +1 -1
|
@@ -40,4 +40,5 @@ export declare function getElementFromPoint(x: number, y: number, options?: {
|
|
|
40
40
|
export declare function createMouseEventFromTouchEvent(event: TouchEvent, type: 'mousedown' | 'mousemove' | 'mouseup' | 'click'): MouseEvent;
|
|
41
41
|
export declare function ensureIsMobileEvent(events: MouseEvent | TouchEvent): events is TouchEvent;
|
|
42
42
|
export declare function bindDbClick(elem: HTMLElement, handler: (event: MouseEvent) => void): () => void;
|
|
43
|
+
export declare const getVisualViewportHeightOffset: () => number;
|
|
43
44
|
export {};
|
|
@@ -10,6 +10,7 @@ export declare class MobileCommandHandler {
|
|
|
10
10
|
private get virtualViewportHeight();
|
|
11
11
|
private get clientHeight();
|
|
12
12
|
private toggleDelay;
|
|
13
|
+
private preHeight;
|
|
13
14
|
layoutBar: import("lodash").DebouncedFunc<() => void>;
|
|
14
15
|
handScroll: import("lodash").DebouncedFunc<() => void>;
|
|
15
16
|
destroy(): void;
|
|
@@ -18,5 +18,6 @@ export declare class OnesEditorMobileHelper implements OnesEditorCustom {
|
|
|
18
18
|
handleLongPress: (event: TouchEvent) => boolean;
|
|
19
19
|
handleTouchMove: (event: TouchEvent) => void;
|
|
20
20
|
handleTouchStart: (event: TouchEvent) => void;
|
|
21
|
+
debounceShowCursorToolbar: import("lodash").DebouncedFunc<() => void>;
|
|
21
22
|
handleTouchEnd: (event: TouchEvent) => void;
|
|
22
23
|
}
|