@wangeditor-next/list-module 3.0.3 → 3.1.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/README.md +56 -0
- package/dist/core/src/config/interface.d.ts +30 -2
- package/dist/core/src/editor/interface.d.ts +16 -3
- package/dist/core/src/index.d.ts +4 -2
- package/dist/core/src/render/helper.d.ts +1 -2
- package/dist/core/src/to-html/index.d.ts +12 -0
- package/dist/css/style.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/list-module/src/locale/en.d.ts +3 -0
- package/dist/list-module/src/locale/zh-CN.d.ts +3 -0
- package/dist/list-module/src/module/custom-types.d.ts +13 -0
- package/dist/list-module/src/module/helpers.d.ts +14 -4
- package/dist/list-module/src/module/html-transform.d.ts +10 -0
- package/dist/list-module/src/module/menu/BaseMenu.d.ts +2 -2
- package/dist/list-module/src/module/outline-actions.d.ts +9 -0
- package/dist/list-module/src/module/parse-elem-html.d.ts +1 -2
- package/dist/list-module/src/module/plugin.d.ts +1 -1
- package/dist/list-module/src/utils/maps.d.ts +2 -1
- package/package.json +2 -2
- package/dist/basic-modules/src/modules/image/custom-types.d.ts +0 -22
- package/dist/table-module/src/utils/has-common.d.ts +0 -7
- package/dist/table-module/src/utils/index.d.ts +0 -5
- package/dist/table-module/src/utils/is-of-type.d.ts +0 -6
- package/dist/table-module/src/utils/matrices.d.ts +0 -9
- package/dist/table-module/src/utils/options.d.ts +0 -25
- package/dist/table-module/src/utils/point.d.ts +0 -7
- package/dist/table-module/src/utils/types.d.ts +0 -19
- package/dist/video-module/src/module/custom-types.d.ts +0 -23
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Element, NodeEntry } from 'slate';
|
|
2
|
-
export type CellElement = WithType<{
|
|
3
|
-
rowSpan?: number;
|
|
4
|
-
colSpan?: number;
|
|
5
|
-
hidden?: boolean;
|
|
6
|
-
} & Element>;
|
|
7
|
-
/** Extends an element with the "type" property */
|
|
8
|
-
export type WithType<T extends Element> = T & Record<'type', unknown>;
|
|
9
|
-
export type NodeEntryWithContext = [
|
|
10
|
-
NodeEntry<CellElement>,
|
|
11
|
-
{
|
|
12
|
-
rtl: number;
|
|
13
|
-
ltr: number;
|
|
14
|
-
ttb: number;
|
|
15
|
-
btt: number;
|
|
16
|
-
}
|
|
17
|
-
];
|
|
18
|
-
export type SelectionMode = 'start' | 'end' | 'all';
|
|
19
|
-
export type Edge = 'start' | 'end' | 'top' | 'bottom';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @description video element
|
|
3
|
-
* @author wangfupeng
|
|
4
|
-
*/
|
|
5
|
-
type EmptyText = {
|
|
6
|
-
text: '';
|
|
7
|
-
};
|
|
8
|
-
export type videoStyle = {
|
|
9
|
-
width?: string;
|
|
10
|
-
height?: string;
|
|
11
|
-
};
|
|
12
|
-
export type VideoElement = {
|
|
13
|
-
type: 'video';
|
|
14
|
-
key?: string;
|
|
15
|
-
src: string;
|
|
16
|
-
poster?: string;
|
|
17
|
-
textAlign?: string;
|
|
18
|
-
width?: string;
|
|
19
|
-
height?: string;
|
|
20
|
-
style?: videoStyle;
|
|
21
|
-
children: EmptyText[];
|
|
22
|
-
};
|
|
23
|
-
export {};
|