@ones-editor/editor 2.0.8-beta.1 → 10.0.8-beta.1
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/doc/doc.d.ts +1 -1
- package/@ones-editor/core/src/core/editor-doc/editor-doc.d.ts +1 -1
- package/@ones-editor/core/src/core/undo-manager/undo-manager.d.ts +2 -0
- package/@ones-editor/core/src/utils/clipboard.d.ts +6 -4
- package/@ones-editor/misc/src/re-auth/index.d.ts +7 -2
- package/@ones-editor/misc/src/re-auth/locale/en-us.d.ts +1 -0
- package/@ones-editor/misc/src/re-auth/locale/ja-jp.d.ts +1 -0
- package/@ones-editor/misc/src/re-auth/locale/zh-cn.d.ts +1 -0
- package/@ones-editor/misc/src/re-auth/ui/toolbar.d.ts +2 -0
- package/@ones-editor/sharedb-doc/src/doc/auth-connection.d.ts +2 -0
- package/@ones-editor/sharedb-doc/src/doc/sharedb-client.d.ts +1 -1
- package/@ones-editor/sharedb-doc/src/doc/sharedb-doc.d.ts +1 -1
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui-base/src/command-bar/command-bar.d.ts +2 -2
- package/@ones-editor/ui-base/src/command-bar/types.d.ts +1 -0
- package/dist/index.js +201 -201
- package/dist/types.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypedEmitter } from 'tiny-typed-emitter';
|
|
2
2
|
import { CloseReason, CommandItem, Closeable } from '../../../../@ones-editor/core';
|
|
3
|
-
import { AbstractManualCommandBar, AbstractCommandBar, CommandBarEvents, CommandBarOptions, CommandItemElement, CreateManualCommandBarFunction, ManualShowCommandBarOptions } from './types';
|
|
3
|
+
import { AbstractManualCommandBar, AbstractCommandBar, CommandBarEvents, CommandBarOptions, CommandItemElement, CreateManualCommandBarFunction, ManualShowCommandBarOptions, SelectItemFrom } from './types';
|
|
4
4
|
import 'tippy.js/dist/tippy.css';
|
|
5
5
|
export default abstract class CommandBar extends TypedEmitter<CommandBarEvents> implements AbstractCommandBar {
|
|
6
6
|
content: HTMLElement;
|
|
@@ -30,7 +30,7 @@ export default abstract class CommandBar extends TypedEmitter<CommandBarEvents>
|
|
|
30
30
|
private getPrevItemIndex;
|
|
31
31
|
private getNextItemIndex;
|
|
32
32
|
protected clearSelectedItem(): void;
|
|
33
|
-
selectItem(id: string): void;
|
|
33
|
+
selectItem(id: string, from?: SelectItemFrom): void;
|
|
34
34
|
private lastEnterPauseTime;
|
|
35
35
|
private startPauseMouseEnter;
|
|
36
36
|
private handleItemMouseEnter;
|