@worktile/theia 16.2.3 → 16.2.4

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.
@@ -53,7 +53,7 @@ export declare const TheEditor: {
53
53
  findEventRange(editor: AngularEditor, event: any): import("slate").BaseRange;
54
54
  isLeafInEditor(editor: AngularEditor, leafNode: globalThis.Element): boolean;
55
55
  toSlatePoint(editor: AngularEditor, domPoint: import("slate-angular").DOMPoint): import("slate").BasePoint;
56
- toSlateRange(editor: AngularEditor, domRange: Selection | globalThis.Range | StaticRange): import("slate").BaseRange;
56
+ toSlateRange(editor: AngularEditor, domRange: globalThis.Range | StaticRange | Selection): import("slate").BaseRange;
57
57
  isLeafBlock(editor: AngularEditor, node: Node): boolean;
58
58
  isBlockCardLeftCursor(editor: AngularEditor): boolean;
59
59
  isBlockCardRightCursor(editor: AngularEditor): boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@worktile/theia",
3
- "version": "16.2.3",
3
+ "version": "16.2.4",
4
4
  "description": "theia editor",
5
5
  "author": "YanDong <nanianqiumo@foxmail.com>",
6
6
  "homepage": "https://github.com/atinc/theia#readme",
@@ -2,7 +2,6 @@ import { Overlay } from '@angular/cdk/overlay';
2
2
  import { NgZone } from '@angular/core';
3
3
  import { ThyPlacement } from 'ngx-tethys/core';
4
4
  import { ThyPopover, ThyPopoverRef } from 'ngx-tethys/popover';
5
- import { TheContextService } from '../..//services/context.service';
6
5
  import { TableElement } from '../../custom-types';
7
6
  import { TableStore } from './table.store';
8
7
  import * as i0 from "@angular/core";
@@ -11,7 +10,6 @@ export declare class TableService {
11
10
  private overlay;
12
11
  private tableStore;
13
12
  private ngZone;
14
- private theContextService;
15
13
  backdropClosable: boolean;
16
14
  hasBackdrop: boolean;
17
15
  insideClosable: boolean;
@@ -19,7 +17,7 @@ export declare class TableService {
19
17
  offset: number;
20
18
  toolbarRef: ThyPopoverRef<any>;
21
19
  get isOpened(): any;
22
- constructor(thyPopover: ThyPopover, overlay: Overlay, tableStore: TableStore, ngZone: NgZone, theContextService: TheContextService);
20
+ constructor(thyPopover: ThyPopover, overlay: Overlay, tableStore: TableStore, ngZone: NgZone);
23
21
  private openToolbar;
24
22
  afterSelectedCells(origin: HTMLElement, element: TableElement, isMobileMode: boolean): void;
25
23
  getOrigin(origin: HTMLElement): HTMLElement;
@@ -56,7 +56,7 @@ export declare class TableStore {
56
56
  dangerousCellsChange(): Observable<CellPosition[]>;
57
57
  setDangerousCells(): void;
58
58
  clearDangerousCells(): void;
59
- dangerousOrSelectedCellsChange(): Observable<TableCellElement[] | CellPosition[]>;
59
+ dangerousOrSelectedCellsChange(): Observable<CellPosition[] | TableCellElement[]>;
60
60
  setDangerousRows(): void;
61
61
  setDangerousColumns(): void;
62
62
  setDangerousTable(): void;
@@ -3,6 +3,6 @@ import { EditorAboveOptions } from '../interfaces';
3
3
  /**
4
4
  * Is the range (default: selection) across blocks.
5
5
  */
6
- export declare const isRangeAcrossBlocks: (editor: Editor, { at, ...options }?: Omit<EditorAboveOptions<import("slate").Ancestor>, "match" | "at"> & {
6
+ export declare const isRangeAcrossBlocks: (editor: Editor, { at, ...options }?: Omit<EditorAboveOptions<import("slate").Ancestor>, "at" | "match"> & {
7
7
  at?: Range | null;
8
8
  }) => boolean;