@worktile/theia 13.0.26 → 14.0.0-next.0
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/components/color-select/color-select.component.d.ts +1 -1
- package/components/column-resize/column-resize.directive.d.ts +1 -1
- package/components/column-resize/overlay-handle.component.d.ts +1 -1
- package/components/contextmenu/contextmenu.component.d.ts +1 -1
- package/components/conversion-hint/conversion-hint.component.d.ts +1 -1
- package/components/element/element.component.d.ts +1 -1
- package/components/inline-toolbar/inline-toolbar.component.d.ts +1 -1
- package/components/table-select/table-select.component.d.ts +1 -1
- package/components/template/template.component.d.ts +1 -1
- package/components/text/text.component.d.ts +1 -1
- package/components/toolbar/toolbar.component.d.ts +1 -1
- package/components/toolbar-dropdown/toolbar-dropdown.component.d.ts +1 -1
- package/components/toolbar-dropdown/toolbar-dropdown.component.scss +1 -1
- package/components/toolbar-group/toolbar-group.component.d.ts +1 -1
- package/components/toolbar-item/toolbar-item.component.d.ts +1 -1
- package/core/toolbar-item/base-toolbar-item.d.ts +2 -2
- package/editor.component.d.ts +1 -1
- package/esm2020/components/color-select/color-select.component.mjs +6 -6
- package/esm2020/components/column-resize/column-resize-notifier.mjs +3 -3
- package/esm2020/components/column-resize/column-resize.directive.mjs +3 -3
- package/esm2020/components/column-resize/column-resize.module.mjs +9 -9
- package/esm2020/components/column-resize/event-dispatcher.mjs +3 -3
- package/esm2020/components/column-resize/overlay-handle.component.mjs +3 -3
- package/esm2020/components/column-resize/resizing.store.mjs +3 -3
- package/esm2020/components/contextmenu/contextmenu.component.mjs +8 -8
- package/esm2020/components/conversion-hint/conversion-hint.component.mjs +3 -3
- package/esm2020/components/element/element.component.mjs +3 -3
- package/esm2020/components/inline-toolbar/inline-toolbar.component.mjs +4 -4
- package/esm2020/components/table-select/table-select.component.mjs +3 -3
- package/esm2020/components/template/template.component.mjs +5 -5
- package/esm2020/components/text/text.component.mjs +3 -3
- package/esm2020/components/toolbar/toolbar.component.mjs +3 -3
- package/esm2020/components/toolbar-dropdown/toolbar-dropdown.component.mjs +7 -7
- package/esm2020/components/toolbar-group/toolbar-group.component.mjs +6 -6
- package/esm2020/components/toolbar-item/toolbar-item.component.mjs +7 -7
- package/esm2020/core/toolbar-item/base-toolbar-item.mjs +6 -6
- package/esm2020/editor.component.mjs +12 -12
- package/esm2020/editor.module.mjs +6 -6
- package/esm2020/interfaces/view-base.mjs +3 -3
- package/esm2020/pipes.mjs +6 -6
- package/esm2020/plugins/blockquote/blockquote.component.mjs +3 -3
- package/esm2020/plugins/code/code.component.mjs +13 -13
- package/esm2020/plugins/color/toolbar-item.component.mjs +7 -7
- package/esm2020/plugins/hr/hr.component.mjs +6 -6
- package/esm2020/plugins/image/image.component.mjs +9 -9
- package/esm2020/plugins/inline-code/inline-code.component.mjs +4 -4
- package/esm2020/plugins/link/edit/link-edit.component.mjs +8 -8
- package/esm2020/plugins/link/hover/link-hover.component.mjs +3 -3
- package/esm2020/plugins/link/link.component.mjs +7 -7
- package/esm2020/plugins/list/components/bulleted-list.component.mjs +3 -3
- package/esm2020/plugins/list/components/list-item.component.mjs +3 -3
- package/esm2020/plugins/list/components/numbered-list.component.mjs +3 -3
- package/esm2020/plugins/quick-insert/components/quick-insert.component.mjs +3 -3
- package/esm2020/plugins/quick-insert/components/quick-toolbar/quick-toolbar.component.mjs +7 -7
- package/esm2020/plugins/table/components/insert-mark/insert-mark.component.mjs +5 -5
- package/esm2020/plugins/table/components/row/row.component.mjs +3 -3
- package/esm2020/plugins/table/components/table.component.mjs +25 -13
- package/esm2020/plugins/table/components/td/td.component.mjs +6 -14
- package/esm2020/plugins/table/components/toolbar/table-options.component.mjs +8 -17
- package/esm2020/plugins/table/components/toolbar/table-toolbar.component.mjs +26 -23
- package/esm2020/plugins/table/table.plugin.mjs +1 -2
- package/esm2020/plugins/table/table.service.mjs +16 -16
- package/esm2020/plugins/table/table.store.mjs +4 -10
- package/esm2020/plugins/table/table.types.mjs +1 -1
- package/esm2020/plugins/table/toolbar-item.component.mjs +8 -9
- package/esm2020/plugins/table/utils/set-menu-cell-invisibility.mjs +4 -4
- package/esm2020/plugins/todo-item/todo-item.component.mjs +4 -4
- package/esm2020/plugins/vertical-align/toolbar-item.component.mjs +5 -5
- package/esm2020/services/color-select.service.mjs +3 -3
- package/esm2020/services/context.service.mjs +3 -3
- package/esm2020/services/table-contextmenu.service.mjs +13 -6
- package/esm2020/services/toolbar.service.mjs +3 -3
- package/fesm2015/worktile-theia.mjs +356 -359
- package/fesm2015/worktile-theia.mjs.map +1 -1
- package/fesm2020/worktile-theia.mjs +355 -359
- package/fesm2020/worktile-theia.mjs.map +1 -1
- package/{worktile-theia.d.ts → index.d.ts} +0 -0
- package/interfaces/view-base.d.ts +1 -1
- package/package.json +7 -7
- package/pipes.d.ts +2 -2
- package/plugins/blockquote/blockquote.component.d.ts +1 -1
- package/plugins/code/code.component.d.ts +1 -1
- package/plugins/color/toolbar-item.component.d.ts +1 -1
- package/plugins/hr/hr.component.d.ts +1 -1
- package/plugins/image/image.component.d.ts +1 -1
- package/plugins/inline-code/inline-code.component.d.ts +1 -1
- package/plugins/link/edit/link-edit.component.d.ts +1 -1
- package/plugins/link/hover/link-hover.component.d.ts +1 -1
- package/plugins/link/link.component.d.ts +2 -2
- package/plugins/list/components/bulleted-list.component.d.ts +1 -1
- package/plugins/list/components/list-item.component.d.ts +1 -1
- package/plugins/list/components/numbered-list.component.d.ts +1 -1
- package/plugins/quick-insert/components/quick-insert.component.d.ts +1 -1
- package/plugins/quick-insert/components/quick-toolbar/quick-toolbar.component.d.ts +1 -1
- package/plugins/table/components/insert-mark/insert-mark.component.d.ts +1 -1
- package/plugins/table/components/row/row.component.d.ts +1 -1
- package/plugins/table/components/table.component.d.ts +1 -1
- package/plugins/table/components/td/td.component.d.ts +1 -1
- package/plugins/table/components/toolbar/table-options.component.d.ts +1 -2
- package/plugins/table/components/toolbar/table-toolbar.component.d.ts +4 -4
- package/plugins/table/table.service.d.ts +3 -2
- package/plugins/table/table.store.d.ts +0 -1
- package/plugins/table/table.types.d.ts +1 -1
- package/plugins/table/toolbar-item.component.d.ts +1 -1
- package/plugins/table/utils/set-menu-cell-invisibility.d.ts +1 -1
- package/plugins/todo-item/todo-item.component.d.ts +1 -1
- package/plugins/vertical-align/toolbar-item.component.d.ts +1 -1
|
File without changes
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class TheBaseElementComponent<T extends Element = Element, K extends AngularEditor = Editor> extends BaseElementComponent<T, K> implements OnInit {
|
|
6
6
|
ngOnInit(): void;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheBaseElementComponent<any, any>, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheBaseElementComponent<any, any>, "TheBaseElementComponent", never, {}, {}, never, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheBaseElementComponent<any, any>, "TheBaseElementComponent", never, {}, {}, never, never, false>;
|
|
9
9
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worktile/theia",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "14.0.0-next.0",
|
|
4
4
|
"description": "theia editor",
|
|
5
5
|
"author": "YanDong <nanianqiumo@foxmail.com>",
|
|
6
6
|
"homepage": "https://github.com/atinc/theia#readme",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"exports": {
|
|
13
13
|
".": {
|
|
14
14
|
"sass": "./styles/index.scss",
|
|
15
|
-
"types": "./
|
|
15
|
+
"types": "./index.d.ts",
|
|
16
16
|
"esm2020": "./esm2020/worktile-theia.mjs",
|
|
17
17
|
"es2020": "./fesm2020/worktile-theia.mjs",
|
|
18
18
|
"es2015": "./fesm2015/worktile-theia.mjs",
|
|
@@ -42,18 +42,18 @@
|
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"is-hotkey": "^0.1.6",
|
|
44
44
|
"date-fns": "^2.6.0",
|
|
45
|
-
"slate-angular": "^
|
|
45
|
+
"slate-angular": "^14.0.0",
|
|
46
46
|
"slate": ">= 0.63.0",
|
|
47
|
-
"ngx-tethys": "^
|
|
48
|
-
"ng-codemirror": "^
|
|
47
|
+
"ngx-tethys": "^14.0.0-next.0",
|
|
48
|
+
"ng-codemirror": "^14.0.0-next.0",
|
|
49
49
|
"lodash": "3.10.1",
|
|
50
|
-
"@angular/core": "^
|
|
50
|
+
"@angular/core": "^14.0.0"
|
|
51
51
|
},
|
|
52
52
|
"module": "fesm2015/worktile-theia.mjs",
|
|
53
53
|
"es2020": "fesm2020/worktile-theia.mjs",
|
|
54
54
|
"esm2020": "esm2020/worktile-theia.mjs",
|
|
55
55
|
"fesm2020": "fesm2020/worktile-theia.mjs",
|
|
56
56
|
"fesm2015": "fesm2015/worktile-theia.mjs",
|
|
57
|
-
"typings": "
|
|
57
|
+
"typings": "index.d.ts",
|
|
58
58
|
"sideEffects": false
|
|
59
59
|
}
|
package/pipes.d.ts
CHANGED
|
@@ -7,10 +7,10 @@ export declare class ElementStylePipe implements PipeTransform {
|
|
|
7
7
|
[key: string]: string;
|
|
8
8
|
};
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElementStylePipe, never>;
|
|
10
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ElementStylePipe, "elementStyle">;
|
|
10
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ElementStylePipe, "elementStyle", false>;
|
|
11
11
|
}
|
|
12
12
|
export declare class ElementClassPipe implements PipeTransform {
|
|
13
13
|
transform(element: Element): string;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ElementClassPipe, never>;
|
|
15
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<ElementClassPipe, "elementClass">;
|
|
15
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<ElementClassPipe, "elementClass", false>;
|
|
16
16
|
}
|
|
@@ -7,5 +7,5 @@ export declare class TheBlockquoteComponent extends TheBaseElementComponent<Elem
|
|
|
7
7
|
cdr: ChangeDetectorRef;
|
|
8
8
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheBlockquoteComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheBlockquoteComponent, "blockquote[theBlockquote]", never, {}, {}, never, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheBlockquoteComponent, "blockquote[theBlockquote]", never, {}, {}, never, never, false>;
|
|
11
11
|
}
|
|
@@ -63,5 +63,5 @@ export declare class TheCodeComponent extends TheBaseElementComponent<CodeElemen
|
|
|
63
63
|
onChangeWrap(value: boolean): void;
|
|
64
64
|
ngOnDestroy(): void;
|
|
65
65
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheCodeComponent, never>;
|
|
66
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheCodeComponent, "div[theCode]", never, {}, {}, never, never>;
|
|
66
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheCodeComponent, "div[theCode]", never, {}, {}, never, never, false>;
|
|
67
67
|
}
|
|
@@ -15,5 +15,5 @@ export declare class TheColorToolbarItemComponent extends TheBaseToolbarItem {
|
|
|
15
15
|
toggleColorSelect(event: MouseEvent, type: MarkTypes.color | MarkTypes.backgroundColor): ThyPopoverRef<TheColorSelectComponent, unknown, unknown>;
|
|
16
16
|
close(): void;
|
|
17
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheColorToolbarItemComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheColorToolbarItemComponent, "the-color-toolbar-item", never, {}, {}, never, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheColorToolbarItemComponent, "the-color-toolbar-item", never, {}, {}, never, never, false>;
|
|
19
19
|
}
|
|
@@ -8,5 +8,5 @@ export declare class TheHrComponent extends TheBaseElementComponent<Element, Edi
|
|
|
8
8
|
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
9
9
|
ngAfterViewInit(): void;
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheHrComponent, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheHrComponent, "the-hr, [theHr]", never, {}, {}, never, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheHrComponent, "the-hr, [theHr]", never, {}, {}, never, never, false>;
|
|
12
12
|
}
|
|
@@ -74,5 +74,5 @@ export declare class TheImageComponent extends TheBaseElementComponent<ImageElem
|
|
|
74
74
|
imageLoaded(event: Event): void;
|
|
75
75
|
preventDefault(event: Event): void;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheImageComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheImageComponent, "the-image, [theImage]", never, {}, {}, never, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheImageComponent, "the-image, [theImage]", never, {}, {}, never, never, false>;
|
|
78
78
|
}
|
|
@@ -5,5 +5,5 @@ import * as i0 from "@angular/core";
|
|
|
5
5
|
export declare class TheInlineCodeComponent extends TheBaseElementComponent<InlineCodeElement, Editor> {
|
|
6
6
|
inlineChromiumBugfix: string;
|
|
7
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheInlineCodeComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheInlineCodeComponent, "span[theInlineCode]", never, {}, {}, never, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheInlineCodeComponent, "span[theInlineCode]", never, {}, {}, never, never, false>;
|
|
9
9
|
}
|
|
@@ -32,5 +32,5 @@ export declare class TheLinkEditComponent implements OnInit {
|
|
|
32
32
|
closePopover(type?: string): void;
|
|
33
33
|
applyLink(form: any): void;
|
|
34
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheLinkEditComponent, never>;
|
|
35
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheLinkEditComponent, "the-link-edit", never, { "tag": "tag"; "node": "node"; "link": "link"; "text": "text"; "originSelection": "originSelection"; }, {}, never, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheLinkEditComponent, "the-link-edit", never, { "tag": "tag"; "node": "node"; "link": "link"; "text": "text"; "originSelection": "originSelection"; }, {}, never, never, false>;
|
|
36
36
|
}
|
|
@@ -11,5 +11,5 @@ export declare class TheLinkHoverComponent implements OnInit {
|
|
|
11
11
|
editLink(event: MouseEvent): void;
|
|
12
12
|
removeLink(event: MouseEvent): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheLinkHoverComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheLinkHoverComponent, "the-link-hover", never, { "link": "link"; "dom": "dom"; "editHandle": "editHandle"; "deleteHandle": "deleteHandle"; }, {}, never, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheLinkHoverComponent, "the-link-hover", never, { "link": "link"; "dom": "dom"; "editHandle": "editHandle"; "deleteHandle": "deleteHandle"; }, {}, never, never, false>;
|
|
15
15
|
}
|
|
@@ -30,10 +30,10 @@ export declare class TheBaseLinkComponent extends TheBaseElementComponent<LinkEl
|
|
|
30
30
|
close(type?: string): void;
|
|
31
31
|
ngOnDestroy(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheBaseLinkComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheBaseLinkComponent, "[TheBaseLinkComponent]", never, {}, {}, never, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheBaseLinkComponent, "[TheBaseLinkComponent]", never, {}, {}, never, never, false>;
|
|
34
34
|
}
|
|
35
35
|
export declare class TheLinkComponent extends TheBaseLinkComponent {
|
|
36
36
|
inlineChromiumBugfix: string;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheLinkComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheLinkComponent, "a[theLink]", never, {}, {}, never, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheLinkComponent, "a[theLink]", never, {}, {}, never, never, false>;
|
|
39
39
|
}
|
|
@@ -11,5 +11,5 @@ export declare class TheBulletedListComponent extends TheBaseElementComponent<Bu
|
|
|
11
11
|
ngOnInit(): void;
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheBulletedListComponent, never>;
|
|
14
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheBulletedListComponent, "ul[theUl]", never, {}, {}, never, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheBulletedListComponent, "ul[theUl]", never, {}, {}, never, never, false>;
|
|
15
15
|
}
|
|
@@ -16,5 +16,5 @@ export declare class TheListItemComponent extends TheBaseElementComponent<Elemen
|
|
|
16
16
|
getLiIndex(): number;
|
|
17
17
|
addMultiDigit(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheListItemComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheListItemComponent, "li[theLi]", never, {}, {}, never, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheListItemComponent, "li[theLi]", never, {}, {}, never, never, false>;
|
|
20
20
|
}
|
|
@@ -12,5 +12,5 @@ export declare class TheNumberedListComponent extends TheBaseElementComponent<Nu
|
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
ngOnDestroy(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheNumberedListComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheNumberedListComponent, "ol[theOl]", never, {}, {}, never, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheNumberedListComponent, "ol[theOl]", never, {}, {}, never, never, false>;
|
|
16
16
|
}
|
|
@@ -24,5 +24,5 @@ export declare class TheQuickInsertComponent {
|
|
|
24
24
|
mouseLeave(event: MouseEvent): void;
|
|
25
25
|
handleClick(event: MouseEvent): void;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheQuickInsertComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheQuickInsertComponent, "[theQuickInsert]", never, { "editor": "editor"; "quickToolbarItems": "quickToolbarItems"; "isVisible": "isVisible"; }, {}, never, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheQuickInsertComponent, "[theQuickInsert]", never, { "editor": "editor"; "quickToolbarItems": "quickToolbarItems"; "isVisible": "isVisible"; }, {}, never, never, false>;
|
|
28
28
|
}
|
|
@@ -23,6 +23,6 @@ export declare class TheQuickToolbarComponent extends TheQuickToolbarComponent_b
|
|
|
23
23
|
removeHotKey(): void;
|
|
24
24
|
ngOnDestroy(): void;
|
|
25
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheQuickToolbarComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheQuickToolbarComponent, "the-quick-toolbar", never, { "editor": "editor"; "quickToolbarItems": "quickToolbarItems"; }, {}, never, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheQuickToolbarComponent, "the-quick-toolbar", never, { "editor": "editor"; "quickToolbarItems": "quickToolbarItems"; }, {}, never, never, false>;
|
|
27
27
|
}
|
|
28
28
|
export {};
|
|
@@ -20,5 +20,5 @@ export declare class TheInsertMarkComponent implements OnInit, OnDestroy {
|
|
|
20
20
|
getLength(): string;
|
|
21
21
|
ngOnDestroy(): void;
|
|
22
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheInsertMarkComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheInsertMarkComponent, "the-table-insert-mark", never, { "type": "type"; "at": "at"; "tableStore": "tableStore"; }, {}, never, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheInsertMarkComponent, "the-table-insert-mark", never, { "type": "type"; "at": "at"; "tableStore": "tableStore"; }, {}, never, never, false>;
|
|
24
24
|
}
|
|
@@ -10,5 +10,5 @@ export declare class TheTableRowComponent extends TheBaseElementComponent<TableR
|
|
|
10
10
|
useBackground(): void;
|
|
11
11
|
useHeight(): void;
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheTableRowComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableRowComponent, "tr[theTableRow]", never, {}, {}, never, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableRowComponent, "tr[theTableRow]", never, {}, {}, never, never, false>;
|
|
14
14
|
}
|
|
@@ -73,5 +73,5 @@ export declare class TheTableComponent extends TheBaseElementComponent<TableElem
|
|
|
73
73
|
trackByFnColControls(index: number): number;
|
|
74
74
|
ngOnDestroy(): void;
|
|
75
75
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheTableComponent, never>;
|
|
76
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableComponent, "the-table, [theTable]", never, {}, {}, never, never>;
|
|
76
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableComponent, "the-table, [theTable]", never, {}, {}, never, never, false>;
|
|
77
77
|
}
|
|
@@ -91,5 +91,5 @@ export declare class TheTdComponent extends TheBaseElementComponent<TableCellEle
|
|
|
91
91
|
applyBottomRows(rows: HTMLTableRowElement[], deltaY: number, rowIndex: number): number;
|
|
92
92
|
ngOnDestroy(): void;
|
|
93
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheTdComponent, never>;
|
|
94
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheTdComponent, "td[theTd]", never, {}, {}, never, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheTdComponent, "td[theTd]", never, {}, {}, never, never, false>;
|
|
95
95
|
}
|
|
@@ -10,11 +10,10 @@ export declare class TheTableOptionsComponent implements OnInit {
|
|
|
10
10
|
editor: Editor;
|
|
11
11
|
get table(): import("@worktile/theia").TableElement;
|
|
12
12
|
tableDropdownList: TableDropdownOption[];
|
|
13
|
-
handleDocumentMouseDown(event: MouseEvent): void;
|
|
14
13
|
constructor(popoverRef: ThyPopoverRef<TheTableOptionsComponent>);
|
|
15
14
|
ngOnInit(): void;
|
|
16
15
|
setColumnOptions(): void;
|
|
17
16
|
setTableOptions(event: MouseEvent, option: TableDropdownOption): void;
|
|
18
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheTableOptionsComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableOptionsComponent, "the-table-options", never, { "tableStore": "tableStore"; "editor": "editor"; }, {}, never, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableOptionsComponent, "the-table-options", never, { "tableStore": "tableStore"; "editor": "editor"; }, {}, never, never, false>;
|
|
20
19
|
}
|
|
@@ -12,15 +12,15 @@ export declare class TheTableToolbarComponent implements OnInit, OnDestroy {
|
|
|
12
12
|
private thyPopover;
|
|
13
13
|
private popoverRef;
|
|
14
14
|
selectedColor: string;
|
|
15
|
-
deleteIcon: string;
|
|
16
15
|
iconName: string;
|
|
17
16
|
tableStore: TableStore;
|
|
18
|
-
isActiveSelect: boolean;
|
|
19
17
|
tableElement: TableElement;
|
|
20
18
|
get editor(): Editor;
|
|
21
|
-
get
|
|
19
|
+
get deleteIcon(): string;
|
|
20
|
+
optionsPopoverRef: ThyPopoverRef<any>;
|
|
22
21
|
cellMenuList: MenuEntity[];
|
|
23
22
|
get isShowSplitLine(): boolean;
|
|
23
|
+
get hasSelectedCells(): boolean;
|
|
24
24
|
get tableOptions(): import("../../../../interfaces").ThePluginOption<{}>;
|
|
25
25
|
constructor(ngZone: NgZone, colorSelectService: TheColorSelectService, thyPopover: ThyPopover, popoverRef: ThyPopoverRef<TheTableToolbarComponent>);
|
|
26
26
|
ngOnInit(): void;
|
|
@@ -34,7 +34,7 @@ export declare class TheTableToolbarComponent implements OnInit, OnDestroy {
|
|
|
34
34
|
setFullscreen(event: MouseEvent): void;
|
|
35
35
|
openTableOptionMenu(event: Event): void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheTableToolbarComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableToolbarComponent, "the-table-toolbar", never, { "tableStore": "tableStore"; "
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableToolbarComponent, "the-table-toolbar", never, { "tableStore": "tableStore"; "tableElement": "tableElement"; }, {}, never, never, false>;
|
|
38
38
|
}
|
|
39
39
|
export declare enum DeleteIcon {
|
|
40
40
|
'table-delete-rows' = 0,
|
|
@@ -22,10 +22,11 @@ export declare class TableService {
|
|
|
22
22
|
toolbarRef: ThyPopoverRef<any>;
|
|
23
23
|
get isOpened(): any;
|
|
24
24
|
constructor(thyPopover: ThyPopover, overlay: Overlay, tableStore: TableStore, theTableContextMenuService: TheTableContextMenuService, ngZone: NgZone, theContextService: TheContextService);
|
|
25
|
-
openToolbar(origin: HTMLElement, tableElement: TableElement
|
|
25
|
+
openToolbar(origin: HTMLElement, tableElement: TableElement): void;
|
|
26
26
|
getOrigin(origin: HTMLElement): HTMLElement;
|
|
27
27
|
closeToolbar(): import("rxjs").Observable<unknown>;
|
|
28
|
-
|
|
28
|
+
updateMenu(isActive: boolean): void;
|
|
29
|
+
listenCellClearEvent(): void;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableService, never>;
|
|
30
31
|
static ɵprov: i0.ɵɵInjectableDeclaration<TableService>;
|
|
31
32
|
}
|
|
@@ -27,7 +27,7 @@ export interface MenuEntity {
|
|
|
27
27
|
key: string;
|
|
28
28
|
divider?: boolean;
|
|
29
29
|
extendIcon?: string;
|
|
30
|
-
|
|
30
|
+
visibility?: boolean;
|
|
31
31
|
backgroundColor?: string;
|
|
32
32
|
actionHandle: (entity: MenuEntity) => void;
|
|
33
33
|
activeHandle?: (event: MouseEvent) => void;
|
|
@@ -14,5 +14,5 @@ export declare class TheTableToolbarItemComponent extends TheBaseToolbarItem {
|
|
|
14
14
|
execute(event: MouseEvent): void;
|
|
15
15
|
toggleTableSelect(event: MouseEvent, optionsParam?: TableOptions): ThyPopoverRef<TheTableSelectComponent, unknown, unknown>;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheTableToolbarItemComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableToolbarItemComponent, "the-table-toolbar-item", never, {}, {}, never, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableToolbarItemComponent, "the-table-toolbar-item", never, {}, {}, never, never, false>;
|
|
18
18
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { Editor } from 'slate';
|
|
2
2
|
import { MenuEntity, SelectedCell } from '../table.types';
|
|
3
|
-
export declare function
|
|
3
|
+
export declare function setCellMenuVisibility(editor: Editor, menuList: MenuEntity[], selectedCells: SelectedCell[], isActiveSelect?: boolean): void;
|
|
@@ -17,5 +17,5 @@ export declare class TheTodoItemComponent extends TheBaseElementComponent<TodoIt
|
|
|
17
17
|
ngOnInit(): void;
|
|
18
18
|
onCheck(checked: boolean): boolean;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheTodoItemComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheTodoItemComponent, "div[theTodoItem]", never, {}, {}, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheTodoItemComponent, "div[theTodoItem]", never, {}, {}, never, never, false>;
|
|
21
21
|
}
|
|
@@ -21,5 +21,5 @@ export declare class TheVerticalToolbarItemComponent extends TheBaseToolbarDropd
|
|
|
21
21
|
openPopover(): void;
|
|
22
22
|
close(): void;
|
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheVerticalToolbarItemComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheVerticalToolbarItemComponent, "the-toolbar-vertical-align-item", never, {}, {}, never, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheVerticalToolbarItemComponent, "the-toolbar-vertical-align-item", never, {}, {}, never, never, false>;
|
|
25
25
|
}
|