@ones-editor/editor 1.1.8-beta.2 → 1.1.8-beta.3

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.
@@ -8,8 +8,6 @@ export interface IUserOptions {
8
8
  minDuration?: number;
9
9
  speed?: number;
10
10
  verticalOffset?: number;
11
- disableHorizontal?: boolean;
12
- disableVertical?: boolean;
13
11
  }
14
12
  export interface IOptions {
15
13
  cancelOnUserAction: boolean;
@@ -20,8 +18,6 @@ export interface IOptions {
20
18
  minDuration: number;
21
19
  speed: number;
22
20
  verticalOffset: number;
23
- disableHorizontal?: boolean;
24
- disableVertical?: boolean;
25
21
  }
26
22
  declare function animateScrollTo(y: number, userOptions?: IUserOptions): Promise<boolean>;
27
23
  declare function animateScrollTo(coords: TCoords, userOptions?: IUserOptions): Promise<boolean>;
@@ -1,7 +1,7 @@
1
- import TableBlock from './table-block';
1
+ import TableBlock, { includeBigTable } from './table-block';
2
2
  import { TableBlockCommandProvider } from './commands';
3
3
  import './locale';
4
4
  import './table-style.scss';
5
5
  import TableShortcuts from './table-block/table-shortcuts';
6
6
  export * from './types';
7
- export { TableBlock, TableBlockCommandProvider, TableShortcuts };
7
+ export { TableBlock, TableBlockCommandProvider, TableShortcuts, includeBigTable };
@@ -1,3 +1,4 @@
1
1
  import { ComplexKindBlock } from '../../../../@ones-editor/core';
2
+ export { includeBigTable } from './table-dom';
2
3
  declare const TableBlock: ComplexKindBlock;
3
4
  export default TableBlock;
@@ -15,3 +15,4 @@ export declare function getParentTableBlock(block: BlockElement): BlockElement |
15
15
  export declare function getTableCol(table: HTMLTableElement, colIndex: number): HTMLTableColElement;
16
16
  export declare function isValid(tableBlock: BlockElement): boolean;
17
17
  export declare function resetBlockHelperPos(scrollContainer: ScrollContainer): void;
18
+ export declare function includeBigTable(editor: OnesEditor): boolean;
@@ -6,4 +6,5 @@ export interface TableOptions {
6
6
  allowScrollBarFixed?: boolean;
7
7
  hideCellMenu?: boolean;
8
8
  hideToolbar?: boolean;
9
+ bigTableBoundary?: number;
9
10
  }