@ones-editor/editor 0.0.3-beta.138 → 0.0.3-beta.139

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.
@@ -1,4 +1,3 @@
1
- /// <reference types="lodash" />
2
1
  import { CommandItem } from '../../../../@ones-editor/core';
3
2
  import { AbstractCommandBar, ManualMenu } from '../command-bar';
4
3
  export interface AutoSuggestMenuOptions {
@@ -32,7 +31,7 @@ export default class AutoSuggestMenu {
32
31
  get isVisible(): boolean;
33
32
  destroy(): void;
34
33
  handleSearchText(text: string): Promise<void>;
35
- handleClick: import("lodash").DebouncedFuncLeading<(menu: AbstractCommandBar, item: CommandItem) => void>;
34
+ handleClick: (menu: AbstractCommandBar, item: CommandItem) => void;
36
35
  handleShow: (menu: AbstractCommandBar) => void;
37
36
  handleClose: () => void;
38
37
  handleKeydown: (event: KeyboardEvent) => void;
@@ -10,6 +10,7 @@ export type DropdownOptions = {
10
10
  onClose?: () => void;
11
11
  onClickItem?: (item: CommandItem) => void;
12
12
  onClear?: () => void;
13
+ highlight?: boolean;
13
14
  };
14
15
  export declare class Dropdown {
15
16
  private options?;
@@ -7,6 +7,7 @@ export declare class OnesEditorVersionsDialog implements OnesEditorCustom {
7
7
  private versionOptions?;
8
8
  private versionList;
9
9
  private provider;
10
+ private versions;
10
11
  private components;
11
12
  get versionHelper(): import("@ones-editor/core").OnesEditorDocVersionHelper;
12
13
  get editor(): OnesEditor | null;
@@ -16,6 +17,7 @@ export declare class OnesEditorVersionsDialog implements OnesEditorCustom {
16
17
  private handleCompareWithVersion;
17
18
  private handleHelp;
18
19
  private viewVersion;
20
+ private onMemoChanged;
19
21
  private renderContent;
20
22
  private initViewVersion;
21
23
  show(options: VersionDialogOptions): Promise<void>;
@@ -35,6 +35,7 @@ export declare class VersionList {
35
35
  private editItemMemo;
36
36
  private handleEndEditItemMemo;
37
37
  private handleRevert;
38
+ private updateHeaderCount;
38
39
  private handleFilterClick;
39
40
  getVersionItemByVersionNum(version: VersionNum): VersionElement | null;
40
41
  selectVersionByVersionNum(version: VersionNum): DocVersion | null;
@@ -18,6 +18,7 @@ export default class VersionsDropdown {
18
18
  setVersions(versions: DocVersion[]): void;
19
19
  setCurrentVersion(ver: DocVersion, compareWithVersion?: DocVersion): void;
20
20
  resetItems(): void;
21
+ private keywords;
21
22
  filterItems: (item: CommandItem, keywords: string) => boolean;
22
23
  handleClose: () => void;
23
24
  handleClear: () => void;