@worktile/theia 14.3.4 → 14.3.6
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/esm2020/components/action/prevent-default.mjs +4 -4
- package/esm2020/components/color-select/color-select.component.mjs +4 -4
- package/esm2020/components/column-resize/column-resize-notifier.mjs +4 -4
- package/esm2020/components/column-resize/column-resize.directive.mjs +4 -4
- package/esm2020/components/column-resize/column-resize.module.mjs +9 -9
- package/esm2020/components/column-resize/event-dispatcher.mjs +4 -4
- package/esm2020/components/column-resize/overlay-handle.component.mjs +4 -4
- package/esm2020/components/column-resize/resizing.store.mjs +4 -4
- package/esm2020/components/contextmenu/contextmenu.component.mjs +4 -4
- package/esm2020/components/conversion-hint/conversion-hint.component.mjs +4 -4
- package/esm2020/components/element/element.component.mjs +4 -4
- package/esm2020/components/inline-toolbar/inline-toolbar.component.mjs +4 -4
- package/esm2020/components/listbox/listbox.mjs +10 -10
- package/esm2020/components/plugin-menu/plugin-menu.component.mjs +22 -32
- package/esm2020/components/table-select/table-select.component.mjs +4 -4
- package/esm2020/components/template/template.component.mjs +4 -4
- package/esm2020/components/text/text.component.mjs +4 -4
- package/esm2020/components/toolbar/toolbar.component.mjs +6 -8
- package/esm2020/components/toolbar-dropdown/toolbar-dropdown.component.mjs +4 -4
- package/esm2020/components/toolbar-group/toolbar-group.component.mjs +4 -4
- package/esm2020/components/toolbar-item/toolbar-item.component.mjs +4 -4
- package/esm2020/core/toolbar-item/base-toolbar-item.mjs +7 -7
- package/esm2020/editor.component.mjs +4 -4
- package/esm2020/editor.module.mjs +5 -5
- package/esm2020/interfaces/plugins/plugin-menu.mjs +1 -1
- package/esm2020/interfaces/plugins/plugins.mjs +1 -1
- package/esm2020/interfaces/view-base.mjs +4 -4
- package/esm2020/pipes.mjs +7 -7
- package/esm2020/plugins/blockquote/blockquote.component.mjs +4 -4
- package/esm2020/plugins/code/code.component.mjs +4 -4
- package/esm2020/plugins/color/toolbar-item.component.mjs +4 -4
- package/esm2020/plugins/hr/hr.component.mjs +4 -4
- package/esm2020/plugins/image/image.component.mjs +4 -4
- package/esm2020/plugins/inline-code/inline-code.component.mjs +4 -4
- package/esm2020/plugins/link/edit/link-edit.component.mjs +4 -4
- package/esm2020/plugins/link/hover/link-hover.component.mjs +4 -4
- package/esm2020/plugins/link/link.component.mjs +7 -7
- package/esm2020/plugins/list/components/bulleted-list.component.mjs +4 -4
- package/esm2020/plugins/list/components/list-item.component.mjs +4 -4
- package/esm2020/plugins/list/components/numbered-list.component.mjs +4 -4
- package/esm2020/plugins/mention/suggestion.component.mjs +4 -4
- package/esm2020/plugins/quick-insert/components/quick-insert.component.mjs +4 -4
- package/esm2020/plugins/table/components/insert-mark/insert-mark.component.mjs +4 -4
- package/esm2020/plugins/table/components/row/row.component.mjs +4 -4
- package/esm2020/plugins/table/components/table.component.mjs +15 -4
- package/esm2020/plugins/table/components/td/td.component.mjs +4 -4
- package/esm2020/plugins/table/components/toolbar/table-options.component.mjs +4 -4
- package/esm2020/plugins/table/components/toolbar/table-toolbar.component.mjs +5 -5
- package/esm2020/plugins/table/table.service.mjs +4 -4
- package/esm2020/plugins/table/table.store.mjs +4 -4
- package/esm2020/plugins/table/toolbar-item.component.mjs +4 -4
- package/esm2020/plugins/todo-item/todo-item.component.mjs +4 -4
- package/esm2020/plugins/vertical-align/toolbar-item.component.mjs +4 -4
- package/esm2020/services/color-select.service.mjs +4 -4
- package/esm2020/services/context.service.mjs +4 -4
- package/esm2020/services/table-contextmenu.service.mjs +4 -4
- package/esm2020/services/toolbar.service.mjs +4 -4
- package/fesm2015/worktile-theia.mjs +220 -224
- package/fesm2015/worktile-theia.mjs.map +1 -1
- package/fesm2020/worktile-theia.mjs +217 -220
- package/fesm2020/worktile-theia.mjs.map +1 -1
- package/interfaces/plugins/plugin-menu.d.ts +3 -2
- package/interfaces/plugins/plugins.d.ts +2 -0
- package/package.json +1 -1
- package/plugins/table/table.store.d.ts +1 -0
|
@@ -4,8 +4,6 @@ export declare type ThePluginMenuItemKey = string;
|
|
|
4
4
|
export interface ThePluginMenuItem {
|
|
5
5
|
key: ThePluginMenuItemKey;
|
|
6
6
|
name: string;
|
|
7
|
-
execute?: (editor: Editor) => void;
|
|
8
|
-
active?: (editor: Editor) => boolean | string;
|
|
9
7
|
type: ThePluginMenuItemType;
|
|
10
8
|
description?: string;
|
|
11
9
|
icon?: string;
|
|
@@ -13,7 +11,10 @@ export interface ThePluginMenuItem {
|
|
|
13
11
|
keywords?: string;
|
|
14
12
|
children?: ThePluginMenuItem[];
|
|
15
13
|
displayKey?: string;
|
|
14
|
+
execute?: (editor: Editor) => void;
|
|
15
|
+
active?: (editor: Editor) => boolean | string;
|
|
16
16
|
isDisabled?: (editor: Editor) => boolean;
|
|
17
|
+
isHidden?: (editor: Editor) => boolean;
|
|
17
18
|
}
|
|
18
19
|
export interface ThePluginMenuGroup {
|
|
19
20
|
groupName: string;
|
|
@@ -7,12 +7,14 @@ import { ThePluginMenuItem } from './plugin-menu';
|
|
|
7
7
|
import { NoInfer } from './no-infer';
|
|
8
8
|
import { PluginKey, TheiaPluginKey } from './plugin-key';
|
|
9
9
|
import { WithOverride } from './with-override';
|
|
10
|
+
import { Observable } from 'rxjs';
|
|
10
11
|
export declare type ThePluginBaseOption = {
|
|
11
12
|
allowParentTypes?: (CustomElementKinds | string)[];
|
|
12
13
|
disabledOperateTypes?: CustomElementKinds[];
|
|
13
14
|
disabled?: boolean;
|
|
14
15
|
showFullscreen?: boolean;
|
|
15
16
|
setFullscreen?: (editor: Editor, event: MouseEvent, element: Element) => void;
|
|
17
|
+
fullscreenAction?: (editor: Editor) => Observable<boolean>;
|
|
16
18
|
};
|
|
17
19
|
export declare type ThePluginOption<P> = NoInfer<{
|
|
18
20
|
[key: string]: any;
|
package/package.json
CHANGED