@worktile/theia 16.1.4 → 16.1.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/interfaces/plugins/plugin-menu.mjs +1 -1
- package/esm2020/plugins/quick-insert/components/quick-insert.component.mjs +18 -9
- package/fesm2015/worktile-theia.mjs +17 -8
- package/fesm2015/worktile-theia.mjs.map +1 -1
- package/fesm2020/worktile-theia.mjs +17 -8
- package/fesm2020/worktile-theia.mjs.map +1 -1
- package/interfaces/plugins/plugin-menu.d.ts +1 -0
- package/package.json +1 -1
- package/plugins/quick-insert/components/quick-insert.component.d.ts +4 -2
|
@@ -18,6 +18,7 @@ export interface ThePluginMenuItem {
|
|
|
18
18
|
}
|
|
19
19
|
export interface ThePluginMenuGroup {
|
|
20
20
|
groupName: string;
|
|
21
|
+
isHidden?: (editor: Editor) => boolean;
|
|
21
22
|
}
|
|
22
23
|
export type ThePluginMenuItemConfig = ThePluginMenuGroup | ThePluginMenuItemKey;
|
|
23
24
|
export type ThePluginMenu = (ThePluginMenuGroup | ThePluginMenuItem)[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ElementRef, Renderer2, ChangeDetectorRef, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, Renderer2, ChangeDetectorRef, OnInit, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { Editor } from 'slate';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TheQuickInsertComponent implements OnInit {
|
|
4
|
+
export declare class TheQuickInsertComponent implements OnInit, OnChanges {
|
|
5
5
|
private renderer;
|
|
6
6
|
private elementRef;
|
|
7
7
|
private cdr;
|
|
@@ -11,10 +11,12 @@ export declare class TheQuickInsertComponent implements OnInit {
|
|
|
11
11
|
defaultIconName: string;
|
|
12
12
|
iconNameFill: string;
|
|
13
13
|
displayIconName: string;
|
|
14
|
+
showPlusIcon: boolean;
|
|
14
15
|
iconElement: ElementRef<any>;
|
|
15
16
|
handleMousedownNativeElement(event: any): void;
|
|
16
17
|
constructor(renderer: Renderer2, elementRef: ElementRef<HTMLElement>, cdr: ChangeDetectorRef);
|
|
17
18
|
ngOnInit(): void;
|
|
19
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
18
20
|
checkStatus(): void;
|
|
19
21
|
private addHiddenClass;
|
|
20
22
|
private removeHiddenClass;
|