@worktile/theia 3.0.0-next.6 → 3.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/theia",
3
- "version": "3.0.0-next.6",
3
+ "version": "3.0.0",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -71,8 +71,8 @@ export declare class TheTableComponent extends TheBaseElementComponent<TableElem
71
71
  onRowMouseDown(event: MouseEvent, index: number): void;
72
72
  onSelectTable(event: MouseEvent): void;
73
73
  listenTableContextMenuEvent(): void;
74
- trackByFnRowCotrols(index: number): number;
75
- trackByFnColCotrols(index: number): number;
74
+ trackByFnRowControls(index: number): number;
75
+ trackByFnColControls(index: number): number;
76
76
  ngOnDestroy(): void;
77
77
  static ɵfac: i0.ɵɵFactoryDeclaration<TheTableComponent, never>;
78
78
  static ɵcmp: i0.ɵɵComponentDeclaration<TheTableComponent, "the-table, [theTable]", never, {}, {}, never, never>;
@@ -10,6 +10,7 @@ export declare class TheTodoItemComponent extends TheBaseElementComponent<TodoIt
10
10
  private ctxService;
11
11
  checked: boolean;
12
12
  checkItemClass: boolean;
13
+ get checkItemSelectable(): boolean;
13
14
  get level(): number;
14
15
  get editableWithReadonly(): boolean;
15
16
  constructor(elementRef: ElementRef, cdr: ChangeDetectorRef, ctxService: TheContextService);
@@ -1,4 +1,7 @@
1
1
  import { Path } from 'slate';
2
2
  import { TheEditor } from '../interfaces/editor';
3
- export declare const getInsertElementsPath: (editor: TheEditor, allowParentTypes: string[]) => false | Path;
4
- export declare const findNestedStructureRootType: (editor: TheEditor, type: string, rootKey: string) => string;
3
+ import { CustomElementKinds } from '../custom-types';
4
+ export declare const getInsertElementsPath: (editor: TheEditor, allowParentTypes: CustomElementKinds[]) => false | Path;
5
+ export declare const isAllowParentTypes: (editor: TheEditor, targetType: CustomElementKinds, allowParentTypes: CustomElementKinds[]) => boolean;
6
+ export declare const isNestedStructureParentType: (editor: TheEditor, type: string) => boolean;
7
+ export declare const findNestedStructureLeafType: (editor: TheEditor, target: CustomElementKinds) => import("@worktile/theia").ElementKinds.image | import("@worktile/theia").ElementKinds.paragraph | import("@worktile/theia").ElementKinds.heading_1 | import("@worktile/theia").ElementKinds.heading_2 | import("@worktile/theia").ElementKinds.heading_3 | import("@worktile/theia").ElementKinds.heading_4 | import("@worktile/theia").ElementKinds.heading_5 | import("@worktile/theia").ElementKinds.heading_6 | import("@worktile/theia").ElementKinds.numberedList | import("@worktile/theia").ElementKinds.bulletedList | import("@worktile/theia").ElementKinds.listItem | import("@worktile/theia").ElementKinds.checkItem | import("@worktile/theia").ElementKinds.table | import("@worktile/theia").ElementKinds.tableRow | import("@worktile/theia").ElementKinds.tableCell | import("@worktile/theia").ElementKinds.code | import("@worktile/theia").ElementKinds.blockquote | import("@worktile/theia").ElementKinds.hr | import("@worktile/theia").ElementKinds.link | import("@worktile/theia").ElementKinds.inlineCode;
@@ -39,6 +39,11 @@ $thy-icon-nav-link-margin-right: 5px;
39
39
  border-color: $gray-300;
40
40
  }
41
41
  }
42
+ .the-todo-item-selectable {
43
+ input[type='checkbox']:hover {
44
+ cursor: pointer;
45
+ }
46
+ }
42
47
  }
43
48
 
44
49
  .the-editor-disabled {