@ones-editor/editor 2.1.7-beta.9 → 2.1.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/{ui → block-menu}/src/block-menu/index.d.ts +1 -3
- package/@ones-editor/block-menu/src/block-menu/items/block-command-items.d.ts +3 -0
- package/@ones-editor/block-menu/src/block-menu/items/index.d.ts +5 -0
- package/@ones-editor/block-menu/src/block-menu/items/insert-block-items/index.d.ts +5 -0
- package/@ones-editor/block-menu/src/block-menu/items/text-styles/text-style-item.d.ts +30 -0
- package/@ones-editor/block-menu/src/block-menu/items/types.d.ts +5 -0
- package/@ones-editor/block-menu/src/block-menu-button/menu-button/index.d.ts +1 -1
- package/@ones-editor/block-padding/src/index.d.ts +1 -1
- package/@ones-editor/callout-block/src/callout-block/callout-quick-menu-item-filter.d.ts +4 -3
- package/@ones-editor/callout-block/src/index.d.ts +0 -1
- package/@ones-editor/comments/src/index.d.ts +1 -5
- package/@ones-editor/comments/src/text-comments/comments-command-provider.d.ts +3 -4
- package/@ones-editor/core/src/core/blocks/common/block-properties.d.ts +9 -9
- package/@ones-editor/core/src/core/blocks/common/execute-block-command.d.ts +2 -2
- package/@ones-editor/core/src/core/blocks/complex-blocks/child-blocks.d.ts +1 -2
- package/@ones-editor/core/src/core/blocks/complex-blocks/complex-block-helper.d.ts +1 -2
- package/@ones-editor/core/src/core/blocks/text-blocks/base/child.d.ts +7 -2
- package/@ones-editor/core/src/core/command-providers/commands/index.d.ts +0 -2
- package/@ones-editor/core/src/core/command-providers/commands/range-commands.d.ts +5 -2
- package/@ones-editor/core/src/core/command-providers/editor-command-providers.d.ts +14 -5
- package/@ones-editor/core/src/core/command-providers/index.d.ts +1 -3
- package/@ones-editor/core/src/core/composition/editor-input.d.ts +1 -1
- package/@ones-editor/core/src/core/containers/root-container.d.ts +2 -2
- package/@ones-editor/core/src/core/doc/doc.d.ts +0 -3
- package/@ones-editor/core/src/core/doc/rich-text/text-style.d.ts +0 -2
- package/@ones-editor/core/src/core/editor/actions/clear-selected-contents.d.ts +2 -2
- package/@ones-editor/core/src/core/selection/actions/index.d.ts +1 -2
- package/@ones-editor/core/src/core/selection/index.d.ts +0 -1
- package/@ones-editor/core/src/core/selection/select-handler.d.ts +3 -3
- package/@ones-editor/core/src/core/types.d.ts +28 -40
- package/@ones-editor/core/src/helper/hovering-block.d.ts +2 -2
- package/@ones-editor/core/src/utils/dom.d.ts +0 -3
- package/@ones-editor/core/src/utils/drag-drop.d.ts +3 -8
- package/@ones-editor/embed-block-helper/src/block-properties/embed-block-properties.d.ts +5 -6
- package/@ones-editor/file/src/locale/en-us.d.ts +0 -1
- package/@ones-editor/file/src/locale/ja-jp.d.ts +0 -1
- package/@ones-editor/file/src/locale/zh-cn.d.ts +0 -1
- package/@ones-editor/graph-embed/src/helper/graph-block-commands.d.ts +19 -5
- package/@ones-editor/image-embed/src/hovering-toolbar/index.d.ts +1 -12
- package/@ones-editor/image-embed/src/splitter-resizer/index.d.ts +3 -3
- package/@ones-editor/input-handlers/src/i18n/en-us.d.ts +0 -1
- package/@ones-editor/input-handlers/src/i18n/ja-jp.d.ts +0 -1
- package/@ones-editor/input-handlers/src/i18n/zh-cn.d.ts +0 -1
- package/@ones-editor/layout-block/src/index.d.ts +0 -1
- package/@ones-editor/list-block/src/index.d.ts +1 -2
- package/@ones-editor/media-embed/src/core/hovering-toolbar/index.d.ts +1 -12
- package/@ones-editor/mention/src/locale/en-us.d.ts +0 -3
- package/@ones-editor/mention/src/locale/ja-jp.d.ts +0 -3
- package/@ones-editor/mention/src/locale/zh-cn.d.ts +0 -3
- package/@ones-editor/mention/src/mention.d.ts +0 -15
- package/@ones-editor/mobile-helper/src/index.d.ts +1 -10
- package/@ones-editor/sharedb-doc/src/doc/sharedb-client.d.ts +1 -4
- package/@ones-editor/sharedb-doc/src/index.d.ts +1 -8
- package/@ones-editor/table-block/src/commands/index.d.ts +0 -2
- package/@ones-editor/table-block/src/commands/table-block-commands.d.ts +3 -4
- package/@ones-editor/table-block/src/index.d.ts +2 -6
- package/@ones-editor/table-block/src/locale/en-us.d.ts +0 -5
- package/@ones-editor/table-block/src/locale/ja-jp.d.ts +0 -5
- package/@ones-editor/table-block/src/locale/zh-cn.d.ts +0 -5
- package/@ones-editor/table-block/src/table-block/cell-menu/table-cell-dom.d.ts +0 -6
- package/@ones-editor/table-block/src/table-block/table-resize/resize-drag-drop.d.ts +4 -4
- package/@ones-editor/text-commands/src/index.d.ts +2 -1
- package/@ones-editor/text-commands/src/text-command-provider.d.ts +24 -0
- package/@ones-editor/text-commands/src/text-commands.d.ts +4 -0
- package/@ones-editor/{ui/src/providers/utils → text-commands/src}/text-styles.d.ts +1 -3
- package/@ones-editor/tsconfig.tsbuildinfo +1 -1
- package/@ones-editor/ui/src/index.d.ts +9 -33
- package/@ones-editor/ui/src/locale/en-us.d.ts +0 -5
- package/@ones-editor/ui/src/locale/ja-jp.d.ts +0 -5
- package/@ones-editor/ui/src/locale/zh-cn.d.ts +0 -5
- package/@ones-editor/ui/src/{providers/utils → quick-menu}/basic-commands.d.ts +2 -1
- package/@ones-editor/ui/src/quick-menu/basic-menu-items.d.ts +16 -0
- package/@ones-editor/ui/src/quick-menu/index.d.ts +19 -7
- package/@ones-editor/ui/src/quick-menu/inline-box-items.d.ts +8 -0
- package/@ones-editor/ui/src/quick-menu/insert-empty-block.d.ts +4 -0
- package/@ones-editor/ui/src/quick-menu/order.d.ts +1 -0
- package/@ones-editor/ui/src/quick-menu/quick-menu-items.d.ts +9 -0
- package/@ones-editor/ui/src/quick-menu/types.d.ts +5 -2
- package/@ones-editor/{ui-base → ui}/src/text-button/index.d.ts +1 -1
- package/@ones-editor/ui/src/toolbar/commands/align.d.ts +10 -0
- package/@ones-editor/ui/src/toolbar/commands/paragraph.d.ts +11 -0
- package/@ones-editor/ui/src/toolbar/commands/turn-into.d.ts +10 -0
- package/@ones-editor/ui/src/toolbar/merge-commands.d.ts +2 -0
- package/@ones-editor/ui/src/toolbar/text-commands.d.ts +2 -2
- package/@ones-editor/ui/src/toolbar/toolbar-handler.d.ts +0 -3
- package/@ones-editor/ui/src/tooltips/index.d.ts +21 -9
- package/@ones-editor/ui-base/src/auto-suggest/auto-suggest-menu.d.ts +1 -2
- package/@ones-editor/ui-base/src/auto-suggest/auto-suggest.d.ts +1 -1
- package/@ones-editor/ui-base/src/color-button/color-button.d.ts +0 -1
- package/@ones-editor/ui-base/src/color-button/text-color-item.d.ts +2 -9
- package/@ones-editor/ui-base/src/color-palette/color-palette.d.ts +1 -1
- package/@ones-editor/ui-base/src/command-bar/command-bar.d.ts +2 -3
- package/@ones-editor/ui-base/src/command-bar/fixed-toolbar.d.ts +1 -3
- package/@ones-editor/ui-base/src/command-bar/init-toolbar-item.d.ts +0 -1
- package/@ones-editor/ui-base/src/command-bar/types.d.ts +1 -4
- package/@ones-editor/ui-base/src/icons/index.d.ts +1 -5
- package/@ones-editor/ui-base/src/index.d.ts +0 -2
- package/@ones-editor/ui-base/src/input/create-input.d.ts +3 -23
- package/@ones-editor/ui-base/src/locale/en-us.d.ts +0 -1
- package/@ones-editor/ui-base/src/locale/ja-jp.d.ts +0 -1
- package/@ones-editor/ui-base/src/locale/zh-cn.d.ts +0 -1
- package/@ones-editor/ui-base/src/popup/popup.d.ts +1 -1
- package/@ones-editor/versions/src/constant/index.d.ts +1 -0
- package/@ones-editor/versions/src/history-render/index.d.ts +1 -1
- package/@ones-editor/versions/src/history-tooltip/index.d.ts +10 -0
- package/@ones-editor/versions/src/version-dialog/index.d.ts +1 -0
- package/dist/comments/local-doc-comments-provider.d.ts +1 -2
- package/dist/index.d.ts +4 -65
- package/dist/index.js +26170 -30610
- package/dist/types.d.ts +1 -11
- package/package.json +1 -1
- package/@ones-editor/comments/src/comments-helper/old-version-comment.d.ts +0 -16
- package/@ones-editor/core/src/core/command-providers/abstract-providers.d.ts +0 -25
- package/@ones-editor/core/src/core/command-providers/block-attributes.d.ts +0 -14
- package/@ones-editor/core/src/core/command-providers/commands/inject-source.d.ts +0 -3
- package/@ones-editor/core/src/core/command-providers/commands/merge-commands.d.ts +0 -4
- package/@ones-editor/layout-block/src/command-filter.d.ts +0 -6
- package/@ones-editor/main-toolbar/package.json +0 -7
- package/@ones-editor/main-toolbar/src/index.d.ts +0 -18
- package/@ones-editor/main-toolbar/src/items/comment.d.ts +0 -8
- package/@ones-editor/main-toolbar/src/items/find.d.ts +0 -8
- package/@ones-editor/main-toolbar/src/items/font-style.d.ts +0 -40
- package/@ones-editor/main-toolbar/src/items/image.d.ts +0 -8
- package/@ones-editor/main-toolbar/src/items/index.d.ts +0 -16
- package/@ones-editor/main-toolbar/src/items/insert.d.ts +0 -12
- package/@ones-editor/main-toolbar/src/items/link.d.ts +0 -11
- package/@ones-editor/main-toolbar/src/items/list.d.ts +0 -29
- package/@ones-editor/main-toolbar/src/items/paragraph.d.ts +0 -14
- package/@ones-editor/main-toolbar/src/items/quote.d.ts +0 -11
- package/@ones-editor/main-toolbar/src/items/separator.d.ts +0 -7
- package/@ones-editor/main-toolbar/src/items/text-align.d.ts +0 -21
- package/@ones-editor/main-toolbar/src/items/text-color.d.ts +0 -48
- package/@ones-editor/main-toolbar/src/items/undo.d.ts +0 -18
- package/@ones-editor/main-toolbar/src/locale/en-us.d.ts +0 -9
- package/@ones-editor/main-toolbar/src/locale/index.d.ts +0 -1
- package/@ones-editor/main-toolbar/src/locale/ja-jp.d.ts +0 -9
- package/@ones-editor/main-toolbar/src/locale/zh-cn.d.ts +0 -9
- package/@ones-editor/main-toolbar/src/types.d.ts +0 -5
- package/@ones-editor/media-embed/src/utils/dom.d.ts +0 -2
- package/@ones-editor/mobile-helper/src/cursor-toolbar.d.ts +0 -14
- package/@ones-editor/mobile-helper/src/fixed-toolbar/active-observer.d.ts +0 -11
- package/@ones-editor/mobile-helper/src/fixed-toolbar/fixed-providers.d.ts +0 -6
- package/@ones-editor/mobile-helper/src/fixed-toolbar/index.d.ts +0 -21
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/align-dropdown.d.ts +0 -9
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/group.d.ts +0 -7
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/insert-menu.d.ts +0 -15
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/insert.d.ts +0 -8
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/paragraph.d.ts +0 -9
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/tab-provider.d.ts +0 -10
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/text-dropdown.d.ts +0 -9
- package/@ones-editor/mobile-helper/src/fixed-toolbar/providers/turn-into.d.ts +0 -8
- package/@ones-editor/mobile-helper/src/fixed-toolbar/toolbar-handler.d.ts +0 -11
- package/@ones-editor/mobile-helper/src/locale/en-us.d.ts +0 -9
- package/@ones-editor/mobile-helper/src/locale/index.d.ts +0 -1
- package/@ones-editor/mobile-helper/src/locale/ja-jp.d.ts +0 -9
- package/@ones-editor/mobile-helper/src/locale/zh-cn.d.ts +0 -9
- package/@ones-editor/mobile-helper/src/selection-gripper/index.d.ts +0 -19
- package/@ones-editor/mobile-helper/src/selection-gripper/select-handle.d.ts +0 -3
- package/@ones-editor/sharedb-doc/src/doc/sharedb-client-base.d.ts +0 -24
- package/@ones-editor/sharedb-doc/src/doc/sharedb-local-doc.d.ts +0 -17
- package/@ones-editor/table-block/src/commands/table-command-provider.d.ts +0 -12
- package/@ones-editor/ui/src/block-menu/block-command-providers.d.ts +0 -8
- package/@ones-editor/ui/src/box-helper/standard-box-commands.d.ts +0 -10
- package/@ones-editor/ui/src/box-helper/standard-box-provider.d.ts +0 -9
- package/@ones-editor/ui/src/providers/align-dropdown.d.ts +0 -10
- package/@ones-editor/ui/src/providers/align.d.ts +0 -11
- package/@ones-editor/ui/src/providers/block-hook-provider.d.ts +0 -16
- package/@ones-editor/ui/src/providers/clipboard-provider.d.ts +0 -19
- package/@ones-editor/ui/src/providers/color-provider.d.ts +0 -18
- package/@ones-editor/ui/src/providers/edit-link-provider.d.ts +0 -6
- package/@ones-editor/ui/src/providers/heading.d.ts +0 -13
- package/@ones-editor/ui/src/providers/inline-code-provider.d.ts +0 -10
- package/@ones-editor/ui/src/providers/inline-style-provider.d.ts +0 -10
- package/@ones-editor/ui/src/providers/insert-above.d.ts +0 -9
- package/@ones-editor/ui/src/providers/insert-after.d.ts +0 -9
- package/@ones-editor/ui/src/providers/insert-box-provider.d.ts +0 -12
- package/@ones-editor/ui/src/providers/insert-group.d.ts +0 -7
- package/@ones-editor/ui/src/providers/insert-menu.d.ts +0 -16
- package/@ones-editor/ui/src/providers/link.d.ts +0 -12
- package/@ones-editor/ui/src/providers/list.d.ts +0 -13
- package/@ones-editor/ui/src/providers/mobile-link-provider.d.ts +0 -10
- package/@ones-editor/ui/src/providers/paragraph.d.ts +0 -9
- package/@ones-editor/ui/src/providers/proxy-provider.d.ts +0 -9
- package/@ones-editor/ui/src/providers/quoted.d.ts +0 -10
- package/@ones-editor/ui/src/providers/script-with-dropdown.d.ts +0 -9
- package/@ones-editor/ui/src/providers/text-command-provider.d.ts +0 -16
- package/@ones-editor/ui/src/providers/text-fixed-provider.d.ts +0 -16
- package/@ones-editor/ui/src/providers/text-script-provider.d.ts +0 -10
- package/@ones-editor/ui/src/providers/text-styles.d.ts +0 -9
- package/@ones-editor/ui/src/providers/turn-into.d.ts +0 -9
- package/@ones-editor/ui/src/providers/utils/add-section.d.ts +0 -2
- package/@ones-editor/ui/src/providers/utils/clipboard.d.ts +0 -6
- package/@ones-editor/ui/src/providers/utils/index.d.ts +0 -2
- package/@ones-editor/ui/src/providers/utils/inject-block-options.d.ts +0 -8
- package/@ones-editor/ui/src/providers/utils/text-commands.d.ts +0 -3
- package/@ones-editor/ui/src/quick-menu/quick-command-providers.d.ts +0 -8
- package/@ones-editor/ui/src/readonly-toolbar/add-comment-to-old-doc.d.ts +0 -23
- package/@ones-editor/ui/src/readonly-toolbar/index.d.ts +0 -29
- package/@ones-editor/ui/src/readonly-toolbar/types.d.ts +0 -12
- package/@ones-editor/ui/src/toolbar/link-commands.d.ts +0 -11
- package/@ones-editor/ui/src/utils/hide-toolbar.d.ts +0 -2
- package/@ones-editor/ui-base/src/mobile-command-bar/init-menu-item.d.ts +0 -3
- package/@ones-editor/ui-base/src/mobile-command-bar/mobile-bottom-menu.d.ts +0 -23
- package/dist/auto-new-line.d.ts +0 -7
- /package/@ones-editor/{ui → block-menu}/src/block-menu/standard-block-actions/hook.d.ts +0 -0
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BlockElement, CommandItem, OnesEditor, SelectionRange, TextBlockContentChild } from '../../../../@ones-editor/core';
|
|
2
|
-
import { CommandBar } from '../../../../@ones-editor/ui-base';
|
|
3
|
-
export interface ReadonlyCommandOptions {
|
|
4
|
-
hoveringBlock: BlockElement | null;
|
|
5
|
-
hoveringTextChild: TextBlockContentChild | null;
|
|
6
|
-
bar: CommandBar;
|
|
7
|
-
}
|
|
8
|
-
export interface ReadonlyToolbarCommandProvider {
|
|
9
|
-
getTextCommands?: (editor: OnesEditor, range: SelectionRange) => CommandItem[];
|
|
10
|
-
destroy?: () => void;
|
|
11
|
-
executeCommand: (editor: OnesEditor, command: CommandItem, options: ReadonlyCommandOptions) => void;
|
|
12
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BlockCommands, BlockElement, CommandItem, OnesEditor, OnesEditorBlockHook, TextBlockContentChild } from '../../../../@ones-editor/core';
|
|
2
|
-
import { EditLinkProvider } from '../providers/edit-link-provider';
|
|
3
|
-
import ClipboardProvider from '../providers/clipboard-provider';
|
|
4
|
-
export declare class LinkCommands implements OnesEditorBlockHook {
|
|
5
|
-
private editor;
|
|
6
|
-
provider: EditLinkProvider;
|
|
7
|
-
clipboardProvider: ClipboardProvider;
|
|
8
|
-
constructor(editor: OnesEditor);
|
|
9
|
-
commands(editor: OnesEditor, block: BlockElement, child: TextBlockContentChild | null): BlockCommands | undefined;
|
|
10
|
-
executeCommand: (editor: OnesEditor, block: BlockElement, item: CommandItem, child: TextBlockContentChild | null) => void;
|
|
11
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Closeable, CloseReason, CommandItem } from '../../../../@ones-editor/core';
|
|
2
|
-
import { Instance } from 'tippy.js';
|
|
3
|
-
import './mobile-bottom-menu.scss';
|
|
4
|
-
import { AbstractManualCommandBar, CommandBar, CommandBarContentElement, CommandBarOptions, CommandItemElement, ManualShowCommandBarOptions } from '../command-bar';
|
|
5
|
-
declare class MobileBottomMenu extends CommandBar implements AbstractManualCommandBar {
|
|
6
|
-
tippyInstance: Instance | null;
|
|
7
|
-
constructor(items: CommandItem[], closeable?: Closeable, options?: CommandBarOptions);
|
|
8
|
-
createContentWithHeader: () => HTMLDivElement;
|
|
9
|
-
handleClose: () => void;
|
|
10
|
-
oldActiveElement: HTMLElement | null;
|
|
11
|
-
handleShown: () => void;
|
|
12
|
-
manualShow: (target: HTMLElement, options?: ManualShowCommandBarOptions) => void;
|
|
13
|
-
close(reason: CloseReason): void;
|
|
14
|
-
destroy(): void;
|
|
15
|
-
get isVisible(): boolean;
|
|
16
|
-
get popper(): Element | null;
|
|
17
|
-
getSubBarOptions: (item: CommandItem) => ManualShowCommandBarOptions;
|
|
18
|
-
protected initCommandBarElement(elem: CommandBarContentElement): void;
|
|
19
|
-
protected getCommandBarRoot(): HTMLElement | null;
|
|
20
|
-
protected initItemElement(item: CommandItem, elem: CommandItemElement): void;
|
|
21
|
-
}
|
|
22
|
-
declare function createMobileBottomMenu(): void;
|
|
23
|
-
export { createMobileBottomMenu, MobileBottomMenu, };
|
package/dist/auto-new-line.d.ts
DELETED
|
File without changes
|