@worktile/theia 14.1.8 → 14.2.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/components/listbox/listbox.d.ts +85 -0
- package/components/listbox/listbox.type.d.ts +5 -0
- package/components/plugin-menu/plugin-menu.component.d.ts +39 -0
- package/components/plugin-menu/plugin-menu.component.scss +50 -0
- package/components/table-select/table-select.component.d.ts +2 -2
- package/components/table-select/table-select.component.scss +1 -1
- package/components/toolbar/toolbar.component.d.ts +4 -3
- package/components/toolbar-dropdown/toolbar-dropdown.component.d.ts +5 -1
- package/components/toolbar-dropdown/toolbar-dropdown.component.scss +0 -11
- package/components/toolbar-group/toolbar-group.component.d.ts +1 -1
- package/components/toolbar-group/toolbar-group.component.scss +2 -3
- package/components/toolbar-item/toolbar-item.component.d.ts +2 -7
- package/constants/index.d.ts +1 -0
- package/constants/node-types.d.ts +2 -1
- package/constants/plugin-menu.d.ts +24 -0
- package/constants/toolbar.d.ts +0 -5
- package/core/utils/index.d.ts +1 -0
- package/core/utils/plugin-menu.d.ts +10 -0
- package/editor.component.d.ts +6 -2
- package/editor.module.d.ts +53 -49
- package/esm2020/components/listbox/listbox.mjs +341 -0
- package/esm2020/components/listbox/listbox.type.mjs +5 -0
- package/esm2020/components/plugin-menu/plugin-menu.component.mjs +102 -0
- package/esm2020/components/table-select/table-select.component.mjs +7 -11
- package/esm2020/components/toolbar/toolbar.component.mjs +31 -29
- package/esm2020/components/toolbar-dropdown/toolbar-dropdown.component.mjs +25 -6
- package/esm2020/components/toolbar-group/toolbar-group.component.mjs +5 -5
- package/esm2020/components/toolbar-item/toolbar-item.component.mjs +29 -70
- package/esm2020/constants/index.mjs +2 -1
- package/esm2020/constants/node-types.mjs +2 -1
- package/esm2020/constants/plugin-menu.mjs +272 -0
- package/esm2020/constants/toolbar.mjs +5 -23
- package/esm2020/core/create-toolbar.mjs +5 -6
- package/esm2020/core/utils/index.mjs +2 -1
- package/esm2020/core/utils/plugin-menu.mjs +33 -0
- package/esm2020/editor.component.mjs +26 -23
- package/esm2020/editor.module.mjs +38 -9
- package/esm2020/interfaces/editor.mjs +1 -1
- package/esm2020/interfaces/plugins/index.mjs +2 -1
- package/esm2020/interfaces/plugins/plugin-key.mjs +2 -1
- package/esm2020/interfaces/plugins/plugin-menu.mjs +19 -0
- package/esm2020/interfaces/plugins/plugins.mjs +1 -1
- package/esm2020/interfaces/toolbar.mjs +1 -1
- package/esm2020/plugins/blockquote/blockquote.plugin.mjs +15 -1
- package/esm2020/plugins/code/code.component.mjs +3 -4
- package/esm2020/plugins/code/code.plugin.mjs +15 -1
- package/esm2020/plugins/color/toolbar-item.component.mjs +2 -2
- package/esm2020/plugins/common/common.plugin.mjs +20 -0
- package/esm2020/plugins/deserializers/deserialize-html.plugin.mjs +11 -3
- package/esm2020/plugins/deserializers/deserialize-md.plugin.mjs +11 -3
- package/esm2020/plugins/heading/heading.plugin.mjs +49 -2
- package/esm2020/plugins/hr/hr.plugin.mjs +15 -1
- package/esm2020/plugins/image/image.editor.mjs +17 -1
- package/esm2020/plugins/image/image.plugin.mjs +15 -1
- package/esm2020/plugins/indent/indent.plugin.mjs +3 -2
- package/esm2020/plugins/index.mjs +3 -1
- package/esm2020/plugins/link/link.plugin.mjs +15 -2
- package/esm2020/plugins/list/list.plugin.mjs +26 -2
- package/esm2020/plugins/quick-insert/components/quick-insert.component.mjs +43 -19
- package/esm2020/plugins/quick-insert/quick-insert.editor.mjs +41 -26
- package/esm2020/plugins/quick-insert/quick-insert.plugin.mjs +62 -35
- package/esm2020/plugins/table/table.plugin.mjs +16 -1
- package/esm2020/plugins/table/toolbar-item.component.mjs +4 -3
- package/esm2020/plugins/todo-item/todo-item.plugin.mjs +15 -2
- package/esm2020/public-api.mjs +3 -1
- package/esm2020/services/toolbar.service.mjs +4 -5
- package/esm2020/utils/blob.mjs +16 -0
- package/esm2020/utils/fragment.mjs +9 -1
- package/esm2020/utils/index.mjs +2 -1
- package/esm2020/utils/weak-maps.mjs +2 -2
- package/fesm2015/worktile-theia.mjs +1568 -595
- package/fesm2015/worktile-theia.mjs.map +1 -1
- package/fesm2020/worktile-theia.mjs +1559 -588
- package/fesm2020/worktile-theia.mjs.map +1 -1
- package/interfaces/editor.d.ts +2 -0
- package/interfaces/plugins/index.d.ts +1 -0
- package/interfaces/plugins/plugin-key.d.ts +2 -1
- package/interfaces/plugins/plugin-menu.d.ts +26 -0
- package/interfaces/plugins/plugins.d.ts +6 -1
- package/interfaces/toolbar.d.ts +1 -3
- package/package.json +1 -1
- package/plugins/code/code.component.d.ts +1 -2
- package/plugins/common/common.plugin.d.ts +1 -0
- package/plugins/image/image.editor.d.ts +2 -0
- package/plugins/link/link.component.scss +0 -12
- package/plugins/quick-insert/components/quick-insert.component.d.ts +8 -7
- package/plugins/quick-insert/components/quick-insert.component.scss +0 -4
- package/plugins/quick-insert/quick-insert.editor.d.ts +7 -4
- package/plugins/quick-insert/quick-insert.plugin.d.ts +2 -2
- package/public-api.d.ts +2 -0
- package/services/toolbar.service.d.ts +1 -1
- package/styles/index.scss +1 -1
- package/utils/blob.d.ts +1 -0
- package/utils/fragment.d.ts +1 -0
- package/utils/index.d.ts +1 -0
- package/utils/weak-maps.d.ts +1 -1
- package/esm2020/plugins/quick-insert/components/quick-toolbar/quick-toolbar.component.mjs +0 -80
- package/plugins/quick-insert/components/quick-toolbar/quick-toolbar.component.d.ts +0 -28
- package/plugins/quick-insert/components/quick-toolbar/quick-toolbar.component.scss +0 -23
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
import { AfterContentInit, ElementRef, EventEmitter, OnDestroy, OnInit, QueryList } from '@angular/core';
|
|
3
|
+
import { TheListboxChangeEventType } from './listbox.type';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TheListboxOptionDirective implements OnInit, AfterContentInit {
|
|
6
|
+
parentOption: TheListboxOptionDirective;
|
|
7
|
+
parentGroup: TheListboxGroupDirective;
|
|
8
|
+
private elementRef;
|
|
9
|
+
private _active;
|
|
10
|
+
className: string;
|
|
11
|
+
_options: QueryList<TheListboxOptionDirective>;
|
|
12
|
+
get hasChild(): boolean;
|
|
13
|
+
get firstChild(): TheListboxOptionDirective;
|
|
14
|
+
constructor(parentOption: TheListboxOptionDirective, parentGroup: TheListboxGroupDirective, elementRef: ElementRef<HTMLElement>);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
ngAfterContentInit(): void;
|
|
17
|
+
getGroups(): TheListboxGroupDirective[];
|
|
18
|
+
setActive(active: boolean): void;
|
|
19
|
+
getActive(): boolean;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TheListboxOptionDirective, [{ optional: true; skipSelf: true; }, null, null]>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TheListboxOptionDirective, "[theListboxOpton]", ["theListboxOpton"], {}, {}, ["_options"], never, false>;
|
|
22
|
+
}
|
|
23
|
+
export declare class TheListboxGroupDirective implements OnInit, AfterContentInit {
|
|
24
|
+
parentOption: TheListboxOptionDirective;
|
|
25
|
+
theListBox: TheListboxDirective;
|
|
26
|
+
className: string;
|
|
27
|
+
options: TheListboxOptionDirective[];
|
|
28
|
+
_options: QueryList<TheListboxOptionDirective>;
|
|
29
|
+
/**
|
|
30
|
+
* 大于 1 表示水平分组,小于等于 1 表示垂直分组
|
|
31
|
+
*/
|
|
32
|
+
horizontalColumn: number;
|
|
33
|
+
constructor(parentOption: TheListboxOptionDirective, theListBox: TheListboxDirective);
|
|
34
|
+
ngOnInit(): void;
|
|
35
|
+
ngAfterContentInit(): void;
|
|
36
|
+
filterOptions(): void;
|
|
37
|
+
getSiblingGroups(): TheListboxGroupDirective[];
|
|
38
|
+
getFirst(): TheListboxOptionDirective;
|
|
39
|
+
getLast(): TheListboxOptionDirective;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TheListboxGroupDirective, [{ optional: true; skipSelf: true; }, null]>;
|
|
41
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TheListboxGroupDirective, "[theListboxGroup]", ["theListboxGroup"], { "horizontalColumn": "horizontalColumn"; }, {}, ["_options"], never, false>;
|
|
42
|
+
}
|
|
43
|
+
export declare class TheListboxDirective implements OnInit, AfterContentInit, OnDestroy {
|
|
44
|
+
private ngZone;
|
|
45
|
+
private elementRef;
|
|
46
|
+
className: string;
|
|
47
|
+
private _optionChangesSubscription;
|
|
48
|
+
private _keyboardSubscription;
|
|
49
|
+
activeOption: TheListboxOptionDirective;
|
|
50
|
+
groups: TheListboxGroupDirective[];
|
|
51
|
+
protected _groups: QueryList<TheListboxGroupDirective>;
|
|
52
|
+
keyboardContainer: HTMLElement;
|
|
53
|
+
theActiveOptionChange: EventEmitter<TheListboxChangeEvent>;
|
|
54
|
+
constructor(ngZone: NgZone, elementRef: ElementRef<HTMLElement>);
|
|
55
|
+
ngOnInit(): void;
|
|
56
|
+
ngAfterContentInit(): void;
|
|
57
|
+
filterGroups(): void;
|
|
58
|
+
handleKeydown(event: KeyboardEvent): void;
|
|
59
|
+
/**
|
|
60
|
+
* ←
|
|
61
|
+
*/
|
|
62
|
+
setPreviousItemActive(): void;
|
|
63
|
+
/**
|
|
64
|
+
* ↓ 键
|
|
65
|
+
*/
|
|
66
|
+
setNextLineActive(): void;
|
|
67
|
+
/**
|
|
68
|
+
* → 键
|
|
69
|
+
*/
|
|
70
|
+
setNextItemActive(): void;
|
|
71
|
+
/**
|
|
72
|
+
* ↑ 键
|
|
73
|
+
*/
|
|
74
|
+
setPreviousLineActive(): void;
|
|
75
|
+
enterNextGroup(): void;
|
|
76
|
+
enterPreviousGroup(): void;
|
|
77
|
+
setActiveItem(previous: TheListboxOptionDirective | null, option: TheListboxOptionDirective, type: TheListboxChangeEventType): void;
|
|
78
|
+
ngOnDestroy(): void;
|
|
79
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TheListboxDirective, never>;
|
|
80
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TheListboxDirective, "[theListBox]", ["theListBox"], { "keyboardContainer": "keyboardContainer"; }, { "theActiveOptionChange": "theActiveOptionChange"; }, ["_groups"], never, false>;
|
|
81
|
+
}
|
|
82
|
+
export interface TheListboxChangeEvent {
|
|
83
|
+
option: TheListboxOptionDirective;
|
|
84
|
+
type: TheListboxChangeEventType;
|
|
85
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
export declare const THE_LISTBOX_PARENT_OPTION_TOKEN: InjectionToken<unknown>;
|
|
3
|
+
export declare const THE_LISTBOX_PARENT_GROUP_TOKEN: InjectionToken<unknown>;
|
|
4
|
+
export declare const THE_LISTBOX_TOKEN: InjectionToken<unknown>;
|
|
5
|
+
export declare type TheListboxChangeEventType = 'turn' | 'child' | 'parent' | 'init';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, ElementRef, ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { MixinBase } from 'ngx-tethys/core';
|
|
3
|
+
import { Editor } from 'slate';
|
|
4
|
+
import { ThePluginMenuItemType } from '../../constants/plugin-menu';
|
|
5
|
+
import { ThePluginMenu, ThePluginMenuGroup, ThePluginMenuItem } from '../../interfaces/plugins/plugin-menu';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
declare const ThePluginMenuComponent_base: import("ngx-tethys/core").Constructor<import("ngx-tethys/core").ThyUnsubscribe> & typeof MixinBase;
|
|
8
|
+
export declare class ThePluginMenuComponent extends ThePluginMenuComponent_base implements OnInit, OnDestroy {
|
|
9
|
+
elementRef: ElementRef;
|
|
10
|
+
cdr: ChangeDetectorRef;
|
|
11
|
+
editorElement: HTMLElement;
|
|
12
|
+
ThePluginMenu: {
|
|
13
|
+
isMenuGroup(value: any): value is ThePluginMenuGroup;
|
|
14
|
+
isMenuItem(value: any): value is ThePluginMenuItem;
|
|
15
|
+
};
|
|
16
|
+
pluginMenu: ThePluginMenu;
|
|
17
|
+
groupMenu: ThePluginMenu;
|
|
18
|
+
iconMenu: ThePluginMenu;
|
|
19
|
+
ThePluginMenuItemType: typeof ThePluginMenuItemType;
|
|
20
|
+
keyWords: string;
|
|
21
|
+
thyMessage: string;
|
|
22
|
+
searchGroup: ThePluginMenuGroup;
|
|
23
|
+
expandPopoverOptions: {
|
|
24
|
+
placement: string;
|
|
25
|
+
width: string;
|
|
26
|
+
};
|
|
27
|
+
containerClassName: string;
|
|
28
|
+
editor: Editor;
|
|
29
|
+
constructor(elementRef: ElementRef, cdr: ChangeDetectorRef);
|
|
30
|
+
ngOnInit(): void;
|
|
31
|
+
buildMenus(): void;
|
|
32
|
+
executeItem(event: MouseEvent, menuItem: ThePluginMenuItem): void;
|
|
33
|
+
removeKeywords: () => void;
|
|
34
|
+
updateKeywords(keywords: string): void;
|
|
35
|
+
ngOnDestroy(): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThePluginMenuComponent, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThePluginMenuComponent, "the-plugin-menu", never, { "editor": "editor"; }, {}, never, never, false>;
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
@use 'ngx-tethys/styles/variables.scss';
|
|
2
|
+
|
|
3
|
+
.the-plugin-menu-container {
|
|
4
|
+
width: 260px;
|
|
5
|
+
max-height: 600px;
|
|
6
|
+
overflow: auto;
|
|
7
|
+
display: inline-block;
|
|
8
|
+
.icon-menu {
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
.thy-action {
|
|
11
|
+
margin-right: calc((220px - 32px * 6) / 5);
|
|
12
|
+
&:not(:hover) {
|
|
13
|
+
color: variables.$gray-700;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
:nth-child(6) {
|
|
17
|
+
margin-right: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
.dropdown-menu-group .dropdown-menu-group-title {
|
|
21
|
+
line-height: 32px;
|
|
22
|
+
margin: 4px 0;
|
|
23
|
+
padding: 0 20px;
|
|
24
|
+
color: variables.$gray-600;
|
|
25
|
+
}
|
|
26
|
+
.dropdown-menu-item {
|
|
27
|
+
height: 48px;
|
|
28
|
+
.menu-icon .thy-icon {
|
|
29
|
+
font-size: 36px;
|
|
30
|
+
}
|
|
31
|
+
.menu-content {
|
|
32
|
+
flex: 1;
|
|
33
|
+
flex-flow: wrap;
|
|
34
|
+
.menu-item-title .menu-item-display-key {
|
|
35
|
+
float: right;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
.dropdown-submenu {
|
|
39
|
+
padding: 12px 0 8px 0;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
.empty {
|
|
43
|
+
width: 260px;
|
|
44
|
+
height: 280px;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.plugin-menu-table .table-selector-container {
|
|
49
|
+
padding-left: 5px;
|
|
50
|
+
}
|
|
@@ -7,14 +7,14 @@ export declare class TheTableSelectComponent implements OnInit {
|
|
|
7
7
|
private popoverRef;
|
|
8
8
|
optionsParam: TableOptions;
|
|
9
9
|
editor: TheEditor;
|
|
10
|
+
beforeInsert: () => void;
|
|
10
11
|
tableData: any[];
|
|
11
12
|
maxRowIndex: number;
|
|
12
13
|
maxColIndex: number;
|
|
13
|
-
handleDocumentMouseDown(event: MouseEvent): void;
|
|
14
14
|
constructor(popoverRef: ThyPopoverRef<TheTableSelectComponent>);
|
|
15
15
|
ngOnInit(): void;
|
|
16
16
|
onSelectCells(rowIndex: any, colIndex: any): void;
|
|
17
17
|
executeTable(event: MouseEvent): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheTableSelectComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableSelectComponent, "table-select", never, { "optionsParam": "optionsParam"; "editor": "editor"; }, {}, never, never, false>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheTableSelectComponent, "table-select", never, { "optionsParam": "optionsParam"; "editor": "editor"; "beforeInsert": "beforeInsert"; }, {}, never, never, false>;
|
|
20
20
|
}
|
|
@@ -27,12 +27,13 @@ export declare class TheToolbarComponent implements OnInit, OnChanges, OnDestroy
|
|
|
27
27
|
ngOnDestroy(): void;
|
|
28
28
|
setToolbarClass(): void;
|
|
29
29
|
private resizeElement;
|
|
30
|
+
private isTableActive;
|
|
30
31
|
selectionChange(editor: Editor): void;
|
|
31
32
|
renderToolbarView(): void;
|
|
32
33
|
/**
|
|
33
34
|
* calculation display toolbar and more grouped toolbars
|
|
34
35
|
*
|
|
35
|
-
* ┌────────────────────────────────────────
|
|
36
|
+
* ┌──────────────────────────────────────── GlobalToolbarView ───────────────────────────────────┐
|
|
36
37
|
* | ┌─────────────────────────────────────── #children ─────────────────────────────────────────┐ |
|
|
37
38
|
* | | ┌─────── #itemsView ────────┐ ┌──────────────────────┐ ┌── #groupedItemsDropdown ───┐ | |
|
|
38
39
|
* | | | #ungroupedItems | | ToolbarSeparatorView | | #groupedItems | | |
|
|
@@ -40,8 +41,8 @@ export declare class TheToolbarComponent implements OnInit, OnChanges, OnDestroy
|
|
|
40
41
|
* | | \---------- only when toolbar items overflow --------/ | |
|
|
41
42
|
* | └───────────────────────────────────────────────────────────────────────────────────────────┘ |
|
|
42
43
|
* └───────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
43
|
-
* split width:
|
|
44
|
-
* item width: default item:
|
|
44
|
+
* split width: 13px
|
|
45
|
+
* item width: default item: 32px; dropdown item: 48px
|
|
45
46
|
* default paddingRight: 4px
|
|
46
47
|
* set aside 50px
|
|
47
48
|
*/
|
|
@@ -3,7 +3,7 @@ import { Overlay } from '@angular/cdk/overlay';
|
|
|
3
3
|
import { ThyPopover, ThyPopoverRef } from 'ngx-tethys/popover';
|
|
4
4
|
import { Editor } from 'slate';
|
|
5
5
|
import { DropdownMode } from '../../constants/toolbar';
|
|
6
|
-
import { ToolbarItem } from '../../interfaces/toolbar';
|
|
6
|
+
import { ToolbarItem, ToolbarKey } from '../../interfaces/toolbar';
|
|
7
7
|
import { TheBaseToolbarDropdown } from '../../core/toolbar-item/base-toolbar-item';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class TheToolbarDropdownComponent extends TheBaseToolbarDropdown implements OnInit {
|
|
@@ -14,14 +14,18 @@ export declare class TheToolbarDropdownComponent extends TheBaseToolbarDropdown
|
|
|
14
14
|
className: string;
|
|
15
15
|
itemMousedownHandle: (item: ToolbarItem) => void;
|
|
16
16
|
editor: Editor;
|
|
17
|
+
activeKeys: ToolbarKey[];
|
|
17
18
|
dropdownMode: typeof DropdownMode;
|
|
18
19
|
dropdownPopoverRef: ThyPopoverRef<any>;
|
|
19
20
|
get isOpen(): boolean;
|
|
21
|
+
get activeIcon(): string;
|
|
22
|
+
get activeDropdown(): boolean;
|
|
20
23
|
iconModeTemplate: TemplateRef<any>;
|
|
21
24
|
textModeTemplate: TemplateRef<any>;
|
|
22
25
|
dropdownTemplate: TemplateRef<any>;
|
|
23
26
|
constructor(elementRef: ElementRef, thyPopover: ThyPopover, viewContainerRef: ViewContainerRef, overlay: Overlay);
|
|
24
27
|
ngOnInit(): void;
|
|
28
|
+
selectionChange(editor: Editor): void;
|
|
25
29
|
toggleDropdown(event: MouseEvent): void;
|
|
26
30
|
itemMousedown(event: MouseEvent, item: ToolbarItem): void;
|
|
27
31
|
preventDefault(event: Event): void;
|
|
@@ -25,13 +25,6 @@
|
|
|
25
25
|
transform: translateY(-65%);
|
|
26
26
|
right: 0.438rem;
|
|
27
27
|
}
|
|
28
|
-
.link-with-down {
|
|
29
|
-
margin-right: 0px !important;
|
|
30
|
-
.link-down-icon {
|
|
31
|
-
color: initial;
|
|
32
|
-
position: relative;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
28
|
}
|
|
36
29
|
|
|
37
30
|
.the-toolbar-dropdown-popover {
|
|
@@ -47,10 +40,6 @@
|
|
|
47
40
|
overflow-y: auto;
|
|
48
41
|
background-color: variables.$white;
|
|
49
42
|
z-index: 100;
|
|
50
|
-
|
|
51
|
-
.dropdown-menu-item {
|
|
52
|
-
color: variables.$gray-700;
|
|
53
|
-
}
|
|
54
43
|
}
|
|
55
44
|
|
|
56
45
|
&.heading-list {
|
|
@@ -28,7 +28,7 @@ export declare class TheToolbarGroupComponent implements OnInit, OnDestroy {
|
|
|
28
28
|
menusActive(editor: Editor): DefaultToolbarItem;
|
|
29
29
|
activeChange(): void;
|
|
30
30
|
openGroup(event: MouseEvent): void;
|
|
31
|
-
|
|
31
|
+
closeGroup(): void;
|
|
32
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheToolbarGroupComponent, never>;
|
|
33
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<TheToolbarGroupComponent, "the-toolbar-group", never, { "menus": "menus"; "item": "item"; }, {}, never, never, false>;
|
|
34
34
|
}
|
|
@@ -7,10 +7,9 @@
|
|
|
7
7
|
.group {
|
|
8
8
|
width: auto;
|
|
9
9
|
max-height: 40px;
|
|
10
|
-
padding:
|
|
10
|
+
padding: 4px 8px;
|
|
11
11
|
background-color: variables.$white;
|
|
12
|
-
|
|
13
|
-
border-radius: 4px;
|
|
12
|
+
border-radius: variables.$border-radius;
|
|
14
13
|
|
|
15
14
|
.the-toolbar-item:last-child {
|
|
16
15
|
margin-right: initial;
|
|
@@ -1,19 +1,14 @@
|
|
|
1
|
-
import { NgZone, OnInit
|
|
1
|
+
import { NgZone, OnInit } from '@angular/core';
|
|
2
2
|
import { TheBaseToolbarItem } from '../../core/toolbar-item/base-toolbar-item';
|
|
3
|
-
import { ToolbarItemMode } from '../../constants/toolbar';
|
|
4
3
|
import * as i0 from "@angular/core";
|
|
5
4
|
export declare class TheToolbarItemComponent extends TheBaseToolbarItem implements OnInit {
|
|
6
5
|
private ngZone;
|
|
7
|
-
ToolbarItemMode: typeof ToolbarItemMode;
|
|
8
6
|
className: string;
|
|
9
|
-
itemMode: ToolbarItemMode;
|
|
10
|
-
toolbarContainer: ViewContainerRef;
|
|
11
7
|
toggleDropdown(event: MouseEvent): void;
|
|
12
8
|
constructor(ngZone: NgZone);
|
|
13
9
|
ngOnInit(): void;
|
|
14
10
|
preventDefault(event: Event): void;
|
|
15
11
|
execute(event: MouseEvent): void;
|
|
16
|
-
renderToolbarItem(): void;
|
|
17
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheToolbarItemComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TheToolbarItemComponent, "the-toolbar-item", never, {
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TheToolbarItemComponent, "the-toolbar-item", never, {}, {}, never, never, false>;
|
|
19
14
|
}
|
package/constants/index.d.ts
CHANGED
|
@@ -85,7 +85,8 @@ export declare enum ToolbarActionTypes {
|
|
|
85
85
|
headingList = "heading-list",
|
|
86
86
|
tableRemove = "table-remove",
|
|
87
87
|
tableDeleteRows = "table-delete-rows",
|
|
88
|
-
tableDeleteColumns = "table-delete-columns"
|
|
88
|
+
tableDeleteColumns = "table-delete-columns",
|
|
89
|
+
group = "group"
|
|
89
90
|
}
|
|
90
91
|
export declare const MarkProps: Array<MarkTypes>;
|
|
91
92
|
export declare const THE_INLINE_TOOLBAR_TYPES: Array<ElementKinds>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ThePluginMenuItemConfig } from '../interfaces/plugins/plugin-menu';
|
|
2
|
+
export declare const DefaultPluginMenu: ThePluginMenuItemConfig[];
|
|
3
|
+
export declare enum ThePluginMenuItemType {
|
|
4
|
+
icon = "iconMenu",
|
|
5
|
+
group = "groupMenu"
|
|
6
|
+
}
|
|
7
|
+
export declare enum PluginMenuIcons {
|
|
8
|
+
heading_1 = "the-icon-heading-one",
|
|
9
|
+
heading_2 = "the-icon-heading-two",
|
|
10
|
+
heading_3 = "the-icon-heading-three",
|
|
11
|
+
heading_4 = "the-icon-heading-four",
|
|
12
|
+
numberedList = "the-icon-numbered-list",
|
|
13
|
+
bulletedList = "the-icon-bulleted-list",
|
|
14
|
+
link = "the-icon-link",
|
|
15
|
+
image = "the-icon-image",
|
|
16
|
+
blockquote = "the-icon-block-quote",
|
|
17
|
+
code = "the-icon-code",
|
|
18
|
+
table = "the-icon-table",
|
|
19
|
+
hr = "the-icon-hr"
|
|
20
|
+
}
|
|
21
|
+
export declare const PluginMenuSvgs: {
|
|
22
|
+
key: PluginMenuIcons;
|
|
23
|
+
svg: string;
|
|
24
|
+
}[];
|
package/constants/toolbar.d.ts
CHANGED
|
@@ -7,11 +7,6 @@ export declare enum DropdownMode {
|
|
|
7
7
|
icon = "icon-mode",
|
|
8
8
|
text = "text-mode"
|
|
9
9
|
}
|
|
10
|
-
export declare enum ToolbarItemMode {
|
|
11
|
-
horizontal = 0,
|
|
12
|
-
vertical = 1
|
|
13
|
-
}
|
|
14
10
|
export declare const DefaultGlobalToolbarDefinition: ToolbarKey[];
|
|
15
11
|
export declare const DefaultInlineToolbarDefinition: ToolbarKey[];
|
|
16
|
-
export declare const DefaultQuickToolbarDefinition: ToolbarKey[];
|
|
17
12
|
export declare const ToolbarMoreGroup: ToolbarItem;
|
package/core/utils/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Editor } from 'slate';
|
|
2
|
+
import { ThePluginMenu, ThePluginMenuItem, ThePluginMenuItemConfig, ThePluginMenuItemKey } from '../../interfaces/plugins/plugin-menu';
|
|
3
|
+
/**
|
|
4
|
+
* 构建插入菜单,用于绑定界面
|
|
5
|
+
* @param editor
|
|
6
|
+
* @param items
|
|
7
|
+
* @returns
|
|
8
|
+
*/
|
|
9
|
+
export declare const buildPluginMenu: (menuItemMap: Map<ThePluginMenuItemKey, ThePluginMenuItem>, items: ThePluginMenuItemConfig[]) => ThePluginMenu;
|
|
10
|
+
export declare const buildPluginMenuItemMap: (editor: Editor) => Map<string, ThePluginMenuItem>;
|
package/editor.component.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ import { TheTextComponent } from './components/text/text.component';
|
|
|
9
9
|
import { TheContextService } from './services/context.service';
|
|
10
10
|
import { TheQuickInsertComponent } from './plugins/quick-insert/components/quick-insert.component';
|
|
11
11
|
import { ThePlugin } from './interfaces/plugins/plugins';
|
|
12
|
+
import { ThyIconRegistry } from 'ngx-tethys/icon';
|
|
13
|
+
import { DomSanitizer } from '@angular/platform-browser';
|
|
12
14
|
import * as i0 from "@angular/core";
|
|
13
15
|
declare const TheEditorComponent_base: import("ngx-tethys/core").Constructor<import("ngx-tethys/core").ThyUnsubscribe> & typeof MixinBase;
|
|
14
16
|
export declare class TheEditorComponent extends TheEditorComponent_base implements OnInit, OnChanges, OnDestroy {
|
|
@@ -17,6 +19,8 @@ export declare class TheEditorComponent extends TheEditorComponent_base implemen
|
|
|
17
19
|
private elementRef;
|
|
18
20
|
private ngZone;
|
|
19
21
|
private cdr;
|
|
22
|
+
private iconRegistry;
|
|
23
|
+
private domSanitizer;
|
|
20
24
|
visibleQuickInsertPlus: boolean;
|
|
21
25
|
theOptions: TheOptions;
|
|
22
26
|
thePlugins: ThePlugin[];
|
|
@@ -40,17 +44,17 @@ export declare class TheEditorComponent extends TheEditorComponent_base implemen
|
|
|
40
44
|
decorate: (nodeEntry: NodeEntry) => Range[];
|
|
41
45
|
get theGlobalToolbarInstance(): TheToolbarComponent;
|
|
42
46
|
get maxHeight(): string;
|
|
43
|
-
get quickToolbarItems(): import("./interfaces").ToolbarItem[];
|
|
44
47
|
autoScrollView: ((editor: Editor, scrollContainer: string) => void) & import("lodash").Cancelable;
|
|
45
48
|
elementToHtml: WeakMap<Element, string>;
|
|
46
49
|
private onChangeCallback;
|
|
47
50
|
private onTouchedCallback;
|
|
48
|
-
constructor(theContextService: TheContextService, viewContainerRef: ViewContainerRef, elementRef: ElementRef, ngZone: NgZone, cdr: ChangeDetectorRef);
|
|
51
|
+
constructor(theContextService: TheContextService, viewContainerRef: ViewContainerRef, elementRef: ElementRef, ngZone: NgZone, cdr: ChangeDetectorRef, iconRegistry: ThyIconRegistry, domSanitizer: DomSanitizer);
|
|
49
52
|
ngOnInit(): void;
|
|
50
53
|
ngOnChanges(changes: SimpleChanges): void;
|
|
51
54
|
ngOnDestroy(): void;
|
|
52
55
|
initialize(): void;
|
|
53
56
|
initializeOptions(): void;
|
|
57
|
+
initializeMenuIcon(): void;
|
|
54
58
|
applyAutoFocus(): void;
|
|
55
59
|
toolbarCalculate(): void;
|
|
56
60
|
globalToolbarInit(): void;
|
package/editor.module.d.ts
CHANGED
|
@@ -19,7 +19,6 @@ import { TheLinkEditComponent } from './plugins/link/edit/link-edit.component';
|
|
|
19
19
|
import { TheLinkHoverComponent } from './plugins/link/hover/link-hover.component';
|
|
20
20
|
import { TheLinkComponent } from './plugins/link/link.component';
|
|
21
21
|
import { TheQuickInsertComponent } from './plugins/quick-insert/components/quick-insert.component';
|
|
22
|
-
import { TheQuickToolbarComponent } from './plugins/quick-insert/components/quick-toolbar/quick-toolbar.component';
|
|
23
22
|
import { TheInsertMarkComponent } from './plugins/table/components/insert-mark/insert-mark.component';
|
|
24
23
|
import { TheTableComponent } from './plugins/table/components/table.component';
|
|
25
24
|
import { TheTdComponent } from './plugins/table/components/td/td.component';
|
|
@@ -27,6 +26,8 @@ import { TheTableOptionsComponent } from './plugins/table/components/toolbar/tab
|
|
|
27
26
|
import { TheTableToolbarComponent } from './plugins/table/components/toolbar/table-toolbar.component';
|
|
28
27
|
import { TheTableToolbarItemComponent } from './plugins/table/toolbar-item.component';
|
|
29
28
|
import { TheVerticalToolbarItemComponent } from './plugins/vertical-align/toolbar-item.component';
|
|
29
|
+
import { ThePluginMenuComponent } from './components/plugin-menu/plugin-menu.component';
|
|
30
|
+
import { TheListboxDirective, TheListboxOptionDirective, TheListboxGroupDirective } from './components/listbox/listbox';
|
|
30
31
|
import * as i0 from "@angular/core";
|
|
31
32
|
import * as i1 from "./editor.component";
|
|
32
33
|
import * as i2 from "./pipes";
|
|
@@ -38,7 +39,7 @@ import * as i7 from "./components/inline-toolbar/inline-toolbar.component";
|
|
|
38
39
|
import * as i8 from "./components/text/text.component";
|
|
39
40
|
import * as i9 from "./components/element/element.component";
|
|
40
41
|
import * as i10 from "./plugins/quick-insert/components/quick-insert.component";
|
|
41
|
-
import * as i11 from "./
|
|
42
|
+
import * as i11 from "./components/plugin-menu/plugin-menu.component";
|
|
42
43
|
import * as i12 from "./components/color-select/color-select.component";
|
|
43
44
|
import * as i13 from "./plugins/color/toolbar-item.component";
|
|
44
45
|
import * as i14 from "./components/contextmenu/contextmenu.component";
|
|
@@ -48,54 +49,57 @@ import * as i17 from "./plugins/table/toolbar-item.component";
|
|
|
48
49
|
import * as i18 from "./components/conversion-hint/conversion-hint.component";
|
|
49
50
|
import * as i19 from "./plugins/vertical-align/toolbar-item.component";
|
|
50
51
|
import * as i20 from "./plugins/table/components/toolbar/table-options.component";
|
|
51
|
-
import * as i21 from "./
|
|
52
|
-
import * as i22 from "./
|
|
53
|
-
import * as i23 from "./
|
|
54
|
-
import * as i24 from "./plugins/
|
|
55
|
-
import * as i25 from "./plugins/
|
|
56
|
-
import * as i26 from "./plugins/
|
|
57
|
-
import * as i27 from "./plugins/list/components/
|
|
58
|
-
import * as i28 from "./plugins/list/components/
|
|
59
|
-
import * as i29 from "./plugins/
|
|
60
|
-
import * as i30 from "./plugins/
|
|
61
|
-
import * as i31 from "./plugins/link/
|
|
62
|
-
import * as i32 from "./plugins/link/
|
|
63
|
-
import * as i33 from "./plugins/
|
|
64
|
-
import * as i34 from "./plugins/table/components/table.component";
|
|
65
|
-
import * as i35 from "./plugins/table/components/
|
|
66
|
-
import * as i36 from "./plugins/table/components/
|
|
67
|
-
import * as i37 from "./plugins/
|
|
68
|
-
import * as i38 from "
|
|
69
|
-
import * as i39 from "@angular/
|
|
70
|
-
import * as i40 from "
|
|
71
|
-
import * as i41 from "
|
|
72
|
-
import * as i42 from "
|
|
73
|
-
import * as i43 from "ngx-tethys/
|
|
74
|
-
import * as i44 from "ngx-tethys/
|
|
75
|
-
import * as i45 from "ngx-tethys/
|
|
76
|
-
import * as i46 from "ngx-tethys/
|
|
77
|
-
import * as i47 from "ngx-tethys/
|
|
78
|
-
import * as i48 from "ngx-tethys/
|
|
79
|
-
import * as i49 from "ngx-tethys/
|
|
80
|
-
import * as i50 from "ngx-tethys/
|
|
81
|
-
import * as i51 from "ngx-tethys/
|
|
82
|
-
import * as i52 from "ngx-tethys/
|
|
83
|
-
import * as i53 from "ngx-tethys/
|
|
84
|
-
import * as i54 from "ngx-tethys/
|
|
85
|
-
import * as i55 from "ngx-tethys/
|
|
86
|
-
import * as i56 from "ngx-tethys/
|
|
87
|
-
import * as i57 from "ngx-tethys/
|
|
88
|
-
import * as i58 from "ngx-tethys/
|
|
89
|
-
import * as i59 from "ngx-tethys/
|
|
90
|
-
import * as i60 from "ngx-tethys/
|
|
91
|
-
import * as i61 from "ngx-tethys/
|
|
92
|
-
import * as i62 from "ngx-tethys/
|
|
93
|
-
import * as i63 from "
|
|
94
|
-
import * as i64 from "
|
|
95
|
-
|
|
96
|
-
|
|
52
|
+
import * as i21 from "./components/listbox/listbox";
|
|
53
|
+
import * as i22 from "./plugins/image/image.component";
|
|
54
|
+
import * as i23 from "./components/template/template.component";
|
|
55
|
+
import * as i24 from "./plugins/hr/hr.component";
|
|
56
|
+
import * as i25 from "./plugins/blockquote/blockquote.component";
|
|
57
|
+
import * as i26 from "./plugins/todo-item/todo-item.component";
|
|
58
|
+
import * as i27 from "./plugins/list/components/list-item.component";
|
|
59
|
+
import * as i28 from "./plugins/list/components/bulleted-list.component";
|
|
60
|
+
import * as i29 from "./plugins/list/components/numbered-list.component";
|
|
61
|
+
import * as i30 from "./plugins/code/code.component";
|
|
62
|
+
import * as i31 from "./plugins/link/link.component";
|
|
63
|
+
import * as i32 from "./plugins/link/edit/link-edit.component";
|
|
64
|
+
import * as i33 from "./plugins/link/hover/link-hover.component";
|
|
65
|
+
import * as i34 from "./plugins/table/components/toolbar/table-toolbar.component";
|
|
66
|
+
import * as i35 from "./plugins/table/components/table.component";
|
|
67
|
+
import * as i36 from "./plugins/table/components/row/row.component";
|
|
68
|
+
import * as i37 from "./plugins/table/components/td/td.component";
|
|
69
|
+
import * as i38 from "./plugins/inline-code/inline-code.component";
|
|
70
|
+
import * as i39 from "@angular/common";
|
|
71
|
+
import * as i40 from "@angular/cdk/scrolling";
|
|
72
|
+
import * as i41 from "slate-angular";
|
|
73
|
+
import * as i42 from "@angular/forms";
|
|
74
|
+
import * as i43 from "ngx-tethys/icon";
|
|
75
|
+
import * as i44 from "ngx-tethys/avatar";
|
|
76
|
+
import * as i45 from "ngx-tethys/nav";
|
|
77
|
+
import * as i46 from "ngx-tethys/form";
|
|
78
|
+
import * as i47 from "ngx-tethys/shared";
|
|
79
|
+
import * as i48 from "ngx-tethys/list";
|
|
80
|
+
import * as i49 from "ngx-tethys/tooltip";
|
|
81
|
+
import * as i50 from "ngx-tethys/progress";
|
|
82
|
+
import * as i51 from "ngx-tethys/autocomplete";
|
|
83
|
+
import * as i52 from "ngx-tethys/input";
|
|
84
|
+
import * as i53 from "ngx-tethys/select";
|
|
85
|
+
import * as i54 from "ngx-tethys/button";
|
|
86
|
+
import * as i55 from "ngx-tethys/notify";
|
|
87
|
+
import * as i56 from "ngx-tethys/alert";
|
|
88
|
+
import * as i57 from "ngx-tethys/resizable";
|
|
89
|
+
import * as i58 from "ngx-tethys/switch";
|
|
90
|
+
import * as i59 from "ngx-tethys/image";
|
|
91
|
+
import * as i60 from "ngx-tethys/dialog";
|
|
92
|
+
import * as i61 from "ngx-tethys/action";
|
|
93
|
+
import * as i62 from "ngx-tethys/divider";
|
|
94
|
+
import * as i63 from "ngx-tethys/dropdown";
|
|
95
|
+
import * as i64 from "ngx-tethys/menu";
|
|
96
|
+
import * as i65 from "ngx-tethys/empty";
|
|
97
|
+
import * as i66 from "ng-codemirror";
|
|
98
|
+
import * as i67 from "./components/column-resize/column-resize.module";
|
|
99
|
+
export declare const COMPONENTS: (typeof TheDefaultElementComponent | typeof TheToolbarGroupComponent | typeof TheColorSelectComponent | typeof TheContextMenuComponent | typeof TheTableOptionsComponent | typeof TheTextComponent | typeof TheToolbarDropdownComponent | typeof TheToolbarItemComponent | typeof TheToolbarComponent | typeof ThePluginMenuComponent | typeof TheVerticalToolbarItemComponent | typeof TheQuickInsertComponent | typeof TheColorToolbarItemComponent | typeof TheConversionHintComponent | typeof TheTableSelectComponent | typeof TheTableToolbarItemComponent | typeof TheInlineToolbarComponent | typeof TheInsertMarkComponent | typeof TheListboxOptionDirective | typeof TheListboxGroupDirective | typeof TheListboxDirective)[];
|
|
100
|
+
export declare const PLUGIN_COMPONENTS: (typeof TheTableToolbarComponent | typeof TheTableComponent | typeof TheTemplateComponent | typeof TheLinkHoverComponent | typeof TheLinkEditComponent | typeof TheLinkComponent | typeof TheBlockquoteComponent | typeof TheCodeComponent | typeof TheImageComponent | typeof TheTdComponent | typeof TheTodoItemComponent)[];
|
|
97
101
|
export declare class TheEditorModule {
|
|
98
102
|
static ɵfac: i0.ɵɵFactoryDeclaration<TheEditorModule, never>;
|
|
99
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TheEditorModule, [typeof i1.TheEditorComponent, typeof i2.ElementStylePipe, typeof i2.ElementClassPipe, typeof i3.TheToolbarComponent, typeof i4.TheToolbarDropdownComponent, typeof i5.TheToolbarGroupComponent, typeof i6.TheToolbarItemComponent, typeof i7.TheInlineToolbarComponent, typeof i8.TheTextComponent, typeof i9.TheDefaultElementComponent, typeof i10.TheQuickInsertComponent, typeof i11.
|
|
103
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TheEditorModule, [typeof i1.TheEditorComponent, typeof i2.ElementStylePipe, typeof i2.ElementClassPipe, typeof i3.TheToolbarComponent, typeof i4.TheToolbarDropdownComponent, typeof i5.TheToolbarGroupComponent, typeof i6.TheToolbarItemComponent, typeof i7.TheInlineToolbarComponent, typeof i8.TheTextComponent, typeof i9.TheDefaultElementComponent, typeof i10.TheQuickInsertComponent, typeof i11.ThePluginMenuComponent, typeof i12.TheColorSelectComponent, typeof i13.TheColorToolbarItemComponent, typeof i14.TheContextMenuComponent, typeof i15.TheInsertMarkComponent, typeof i16.TheTableSelectComponent, typeof i17.TheTableToolbarItemComponent, typeof i18.TheConversionHintComponent, typeof i19.TheVerticalToolbarItemComponent, typeof i20.TheTableOptionsComponent, typeof i21.TheListboxOptionDirective, typeof i21.TheListboxGroupDirective, typeof i21.TheListboxDirective, typeof i22.TheImageComponent, typeof i23.TheTemplateComponent, typeof i24.TheHrComponent, typeof i25.TheBlockquoteComponent, typeof i26.TheTodoItemComponent, typeof i27.TheListItemComponent, typeof i28.TheBulletedListComponent, typeof i29.TheNumberedListComponent, typeof i30.TheCodeComponent, typeof i31.TheLinkComponent, typeof i32.TheLinkEditComponent, typeof i33.TheLinkHoverComponent, typeof i34.TheTableToolbarComponent, typeof i35.TheTableComponent, typeof i36.TheTableRowComponent, typeof i37.TheTdComponent, typeof i38.TheInlineCodeComponent], [typeof i39.CommonModule, typeof i40.ScrollingModule, typeof i41.SlateModule, typeof i42.FormsModule, typeof i43.ThyIconModule, typeof i44.ThyAvatarModule, typeof i45.ThyNavModule, typeof i46.ThyFormModule, typeof i47.ThySharedModule, typeof i48.ThyListModule, typeof i49.ThyTooltipModule, typeof i50.ThyProgressModule, typeof i51.ThyAutocompleteModule, typeof i52.ThyInputModule, typeof i53.ThySelectModule, typeof i54.ThyButtonModule, typeof i55.ThyNotifyModule, typeof i56.ThyAlertModule, typeof i57.ThyResizableModule, typeof i58.ThySwitchModule, typeof i59.ThyImageModule, typeof i60.ThyDialogModule, typeof i61.ThyActionModule, typeof i62.ThyDividerModule, typeof i63.ThyDropdownModule, typeof i64.ThyMenuModule, typeof i65.ThyEmptyModule, typeof i66.CodemirrorModule, typeof i67.TheColumnSizeModule], [typeof i1.TheEditorComponent, typeof i3.TheToolbarComponent, typeof i4.TheToolbarDropdownComponent, typeof i6.TheToolbarItemComponent, typeof i9.TheDefaultElementComponent, typeof i21.TheListboxOptionDirective, typeof i21.TheListboxGroupDirective, typeof i21.TheListboxDirective]>;
|
|
100
104
|
static ɵinj: i0.ɵɵInjectorDeclaration<TheEditorModule>;
|
|
101
105
|
}
|