@ones-editor/editor 2.1.8-beta.2 → 2.1.8-beta.3
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/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/versions/package.json +3 -0
- package/@ones-editor/versions/src/constant/index.d.ts +1 -0
- package/@ones-editor/versions/src/history-tooltip/index.d.ts +6 -2
- package/@ones-editor/versions/src/locale/en-us.d.ts +1 -0
- package/@ones-editor/versions/src/locale/ja-jp.d.ts +1 -0
- package/@ones-editor/versions/src/locale/zh-cn.d.ts +1 -0
- package/dist/index.js +1912 -1638
- package/package.json +2 -1
|
@@ -8,3 +8,4 @@ export declare enum HistoryClass {
|
|
|
8
8
|
export declare const OpColor = "--op-color";
|
|
9
9
|
export declare const OpSelectedColor = "--op-selected-color";
|
|
10
10
|
export declare const HISTORY_TOOLTIP_IDENTIFIER = "data-history-editor-tooltip";
|
|
11
|
+
export declare const HISTORY_MASK_IDENTIFIER = "history-mask-identifier";
|
|
@@ -2,9 +2,13 @@ import { OnesEditor } from '../../../../@ones-editor/core';
|
|
|
2
2
|
import { OnesEditorTooltipCallbacks, EditorTooltipTippyInstance } from '../../../../@ones-editor/ui';
|
|
3
3
|
import './index.scss';
|
|
4
4
|
export declare class OnesEditorHistoryTooltip implements OnesEditorTooltipCallbacks {
|
|
5
|
+
private editor;
|
|
5
6
|
static register(editor: OnesEditor): void;
|
|
6
|
-
private
|
|
7
|
+
private gap;
|
|
8
|
+
private constructor();
|
|
9
|
+
private applyGapToRect;
|
|
10
|
+
private getPseudoMaskRect;
|
|
7
11
|
private getReferenceClientRect;
|
|
8
|
-
private
|
|
12
|
+
private createContent;
|
|
9
13
|
onBeforeShow: (instance: EditorTooltipTippyInstance) => void;
|
|
10
14
|
}
|