@kaitify/vue 0.0.1-beta.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/LICENSE +21 -0
- package/README.md +3 -0
- package/lib/core/button/button.vue.d.ts +22 -0
- package/lib/core/button/index.d.ts +3 -0
- package/lib/core/button/props.d.ts +21 -0
- package/lib/core/checkbox/checkbox.vue.d.ts +10 -0
- package/lib/core/checkbox/index.d.ts +3 -0
- package/lib/core/checkbox/props.d.ts +14 -0
- package/lib/core/divider/divider.vue.d.ts +2 -0
- package/lib/core/divider/index.d.ts +2 -0
- package/lib/core/icon/icon.vue.d.ts +5 -0
- package/lib/core/icon/index.d.ts +3 -0
- package/lib/core/icon/props.d.ts +6 -0
- package/lib/core/popover/index.d.ts +3 -0
- package/lib/core/popover/popover.vue.d.ts +52 -0
- package/lib/core/popover/props.d.ts +49 -0
- package/lib/core/tabs/index.d.ts +3 -0
- package/lib/core/tabs/props.d.ts +9 -0
- package/lib/core/tabs/tabs.vue.d.ts +21 -0
- package/lib/editor/bubble/bubble.vue.d.ts +40 -0
- package/lib/editor/bubble/index.d.ts +3 -0
- package/lib/editor/bubble/props.d.ts +18 -0
- package/lib/editor/menu/built-in/align-center/align-center.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/align-center/index.d.ts +3 -0
- package/lib/editor/menu/built-in/align-center/props.d.ts +10 -0
- package/lib/editor/menu/built-in/align-justify/align-justify.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/align-justify/index.d.ts +3 -0
- package/lib/editor/menu/built-in/align-justify/props.d.ts +10 -0
- package/lib/editor/menu/built-in/align-left/align-left.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/align-left/index.d.ts +3 -0
- package/lib/editor/menu/built-in/align-left/props.d.ts +10 -0
- package/lib/editor/menu/built-in/align-right/align-right.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/align-right/index.d.ts +3 -0
- package/lib/editor/menu/built-in/align-right/props.d.ts +10 -0
- package/lib/editor/menu/built-in/attachment/attachment.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/attachment/index.d.ts +3 -0
- package/lib/editor/menu/built-in/attachment/props.d.ts +19 -0
- package/lib/editor/menu/built-in/back-color/back-color.vue.d.ts +6 -0
- package/lib/editor/menu/built-in/back-color/index.d.ts +3 -0
- package/lib/editor/menu/built-in/back-color/props.d.ts +15 -0
- package/lib/editor/menu/built-in/blockquote/blockquote.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/blockquote/index.d.ts +3 -0
- package/lib/editor/menu/built-in/blockquote/props.d.ts +10 -0
- package/lib/editor/menu/built-in/bold/bold.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/bold/index.d.ts +3 -0
- package/lib/editor/menu/built-in/bold/props.d.ts +10 -0
- package/lib/editor/menu/built-in/clear-format/clear-format.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/clear-format/index.d.ts +3 -0
- package/lib/editor/menu/built-in/clear-format/props.d.ts +10 -0
- package/lib/editor/menu/built-in/code/code.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/code/index.d.ts +3 -0
- package/lib/editor/menu/built-in/code/props.d.ts +10 -0
- package/lib/editor/menu/built-in/code-block/code-block-languages.vue.d.ts +7 -0
- package/lib/editor/menu/built-in/code-block/code-block.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/code-block/index.d.ts +4 -0
- package/lib/editor/menu/built-in/code-block/props.d.ts +32 -0
- package/lib/editor/menu/built-in/color/color.vue.d.ts +6 -0
- package/lib/editor/menu/built-in/color/index.d.ts +3 -0
- package/lib/editor/menu/built-in/color/props.d.ts +15 -0
- package/lib/editor/menu/built-in/decrease-indent/decrease-indent.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/decrease-indent/index.d.ts +3 -0
- package/lib/editor/menu/built-in/decrease-indent/props.d.ts +10 -0
- package/lib/editor/menu/built-in/font-family/font-family.vue.d.ts +7 -0
- package/lib/editor/menu/built-in/font-family/index.d.ts +3 -0
- package/lib/editor/menu/built-in/font-family/props.d.ts +21 -0
- package/lib/editor/menu/built-in/font-size/font-size.vue.d.ts +7 -0
- package/lib/editor/menu/built-in/font-size/index.d.ts +3 -0
- package/lib/editor/menu/built-in/font-size/props.d.ts +21 -0
- package/lib/editor/menu/built-in/heading/heading.vue.d.ts +7 -0
- package/lib/editor/menu/built-in/heading/index.d.ts +3 -0
- package/lib/editor/menu/built-in/heading/props.d.ts +21 -0
- package/lib/editor/menu/built-in/horizontal/horizontal.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/horizontal/index.d.ts +3 -0
- package/lib/editor/menu/built-in/horizontal/props.d.ts +10 -0
- package/lib/editor/menu/built-in/image/image.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/image/index.d.ts +3 -0
- package/lib/editor/menu/built-in/image/props.d.ts +19 -0
- package/lib/editor/menu/built-in/increase-indent/increase-indent.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/increase-indent/index.d.ts +3 -0
- package/lib/editor/menu/built-in/increase-indent/props.d.ts +10 -0
- package/lib/editor/menu/built-in/index.d.ts +36 -0
- package/lib/editor/menu/built-in/italic/index.d.ts +3 -0
- package/lib/editor/menu/built-in/italic/italic.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/italic/props.d.ts +10 -0
- package/lib/editor/menu/built-in/line-height/index.d.ts +3 -0
- package/lib/editor/menu/built-in/line-height/line-height.vue.d.ts +8 -0
- package/lib/editor/menu/built-in/line-height/props.d.ts +25 -0
- package/lib/editor/menu/built-in/link/index.d.ts +4 -0
- package/lib/editor/menu/built-in/link/link-unset.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/link/link.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/link/props.d.ts +21 -0
- package/lib/editor/menu/built-in/math/index.d.ts +3 -0
- package/lib/editor/menu/built-in/math/math.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/math/props.d.ts +11 -0
- package/lib/editor/menu/built-in/ordered-list/index.d.ts +3 -0
- package/lib/editor/menu/built-in/ordered-list/ordered-list.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/ordered-list/props.d.ts +11 -0
- package/lib/editor/menu/built-in/redo/index.d.ts +3 -0
- package/lib/editor/menu/built-in/redo/props.d.ts +6 -0
- package/lib/editor/menu/built-in/redo/redo.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/strikethrough/index.d.ts +3 -0
- package/lib/editor/menu/built-in/strikethrough/props.d.ts +10 -0
- package/lib/editor/menu/built-in/strikethrough/strikethrough.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/subscript/index.d.ts +3 -0
- package/lib/editor/menu/built-in/subscript/props.d.ts +10 -0
- package/lib/editor/menu/built-in/subscript/subscript.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/superscript/index.d.ts +3 -0
- package/lib/editor/menu/built-in/superscript/props.d.ts +10 -0
- package/lib/editor/menu/built-in/superscript/superscript.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/table/index.d.ts +9 -0
- package/lib/editor/menu/built-in/table/props.d.ts +97 -0
- package/lib/editor/menu/built-in/table/table-add-column.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/table/table-add-row.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/table/table-delete-column.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/table/table-delete-row.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/table/table-merge-cell.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/table/table-unset.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/table/table.vue.d.ts +7 -0
- package/lib/editor/menu/built-in/task/index.d.ts +3 -0
- package/lib/editor/menu/built-in/task/props.d.ts +10 -0
- package/lib/editor/menu/built-in/task/task.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/underline/index.d.ts +3 -0
- package/lib/editor/menu/built-in/underline/props.d.ts +10 -0
- package/lib/editor/menu/built-in/underline/underline.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/undo/index.d.ts +3 -0
- package/lib/editor/menu/built-in/undo/props.d.ts +6 -0
- package/lib/editor/menu/built-in/undo/undo.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/unordered-list/index.d.ts +3 -0
- package/lib/editor/menu/built-in/unordered-list/props.d.ts +11 -0
- package/lib/editor/menu/built-in/unordered-list/unordered-list.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/video/index.d.ts +6 -0
- package/lib/editor/menu/built-in/video/props.d.ts +49 -0
- package/lib/editor/menu/built-in/video/video-controls.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/video/video-loop.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/video/video-muted.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/video/video.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/wrap-down/index.d.ts +3 -0
- package/lib/editor/menu/built-in/wrap-down/props.d.ts +15 -0
- package/lib/editor/menu/built-in/wrap-down/wrap-down.vue.d.ts +5 -0
- package/lib/editor/menu/built-in/wrap-up/index.d.ts +3 -0
- package/lib/editor/menu/built-in/wrap-up/props.d.ts +15 -0
- package/lib/editor/menu/built-in/wrap-up/wrap-up.vue.d.ts +5 -0
- package/lib/editor/menu/index.d.ts +4 -0
- package/lib/editor/menu/menu.vue.d.ts +164 -0
- package/lib/editor/menu/props.d.ts +57 -0
- package/lib/editor/wrapper/index.d.ts +3 -0
- package/lib/editor/wrapper/props.d.ts +133 -0
- package/lib/editor/wrapper/render.d.ts +13 -0
- package/lib/editor/wrapper/wrapper.vue.d.ts +79 -0
- package/lib/index.d.ts +4 -0
- package/lib/kaitify-vue.es.js +44470 -0
- package/lib/kaitify-vue.umd.js +2 -0
- package/lib/locale/en-us.d.ts +24 -0
- package/lib/locale/index.d.ts +2 -0
- package/package.json +50 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { HljsLanguageType } from '@kaitify/core';
|
|
2
|
+
import { MenuDataType, MenuPropsType } from '../../props';
|
|
3
|
+
export type CodeBlockMenuPropsType = {
|
|
4
|
+
/**
|
|
5
|
+
* 是否禁用
|
|
6
|
+
*/
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
/**
|
|
9
|
+
* 快捷键设置
|
|
10
|
+
*/
|
|
11
|
+
shortcut?: (e: KeyboardEvent) => boolean;
|
|
12
|
+
};
|
|
13
|
+
export type CodeBlockLanguagesMenuPropsType = {
|
|
14
|
+
/**
|
|
15
|
+
* 是否禁用
|
|
16
|
+
*/
|
|
17
|
+
disabled?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* 语言列表
|
|
20
|
+
*/
|
|
21
|
+
languages?: HljsLanguageType[];
|
|
22
|
+
/**
|
|
23
|
+
* 浮层属性
|
|
24
|
+
*/
|
|
25
|
+
popoverProps?: MenuPropsType['popoverProps'];
|
|
26
|
+
/**
|
|
27
|
+
* 快捷键设置
|
|
28
|
+
*/
|
|
29
|
+
shortcut?: {
|
|
30
|
+
[key: MenuDataType['value']]: (e: KeyboardEvent) => boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ColorMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ColorMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ColorMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
colors: string[];
|
|
5
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { DecreaseIndentMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<DecreaseIndentMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DecreaseIndentMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FontFamilyMenuPropsType } from './props';
|
|
2
|
+
import { MenuDataType } from '../../props';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<FontFamilyMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FontFamilyMenuPropsType> & Readonly<{}>, {
|
|
4
|
+
data: MenuDataType[];
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MenuDataType, MenuPropsType } from '../../props';
|
|
2
|
+
export type FontFamilyMenuPropsType = {
|
|
3
|
+
/**
|
|
4
|
+
* 是否禁用
|
|
5
|
+
*/
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 选项数组
|
|
9
|
+
*/
|
|
10
|
+
data?: MenuDataType[];
|
|
11
|
+
/**
|
|
12
|
+
* 浮层属性
|
|
13
|
+
*/
|
|
14
|
+
popoverProps?: MenuPropsType['popoverProps'];
|
|
15
|
+
/**
|
|
16
|
+
* 快捷键设置
|
|
17
|
+
*/
|
|
18
|
+
shortcut?: {
|
|
19
|
+
[key: MenuDataType['value']]: (e: KeyboardEvent) => boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { FontSizeMenuPropsType } from './props';
|
|
2
|
+
import { MenuDataType } from '../../props';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<FontSizeMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<FontSizeMenuPropsType> & Readonly<{}>, {
|
|
4
|
+
data: MenuDataType[];
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MenuDataType, MenuPropsType } from '../../props';
|
|
2
|
+
export type FontSizeMenuPropsType = {
|
|
3
|
+
/**
|
|
4
|
+
* 是否禁用
|
|
5
|
+
*/
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 选项数组
|
|
9
|
+
*/
|
|
10
|
+
data?: MenuDataType[];
|
|
11
|
+
/**
|
|
12
|
+
* 浮层属性
|
|
13
|
+
*/
|
|
14
|
+
popoverProps?: MenuPropsType['popoverProps'];
|
|
15
|
+
/**
|
|
16
|
+
* 快捷键设置
|
|
17
|
+
*/
|
|
18
|
+
shortcut?: {
|
|
19
|
+
[key: MenuDataType['value']]: (e: KeyboardEvent) => boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HeadingMenuPropsType } from './props';
|
|
2
|
+
import { MenuDataType } from '../../props';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<HeadingMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HeadingMenuPropsType> & Readonly<{}>, {
|
|
4
|
+
data: MenuDataType[];
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MenuDataType, MenuPropsType } from '../../props';
|
|
2
|
+
export type HeadingMenuPropsType = {
|
|
3
|
+
/**
|
|
4
|
+
* 是否禁用
|
|
5
|
+
*/
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 选项数组
|
|
9
|
+
*/
|
|
10
|
+
data?: MenuDataType[];
|
|
11
|
+
/**
|
|
12
|
+
* 浮层属性
|
|
13
|
+
*/
|
|
14
|
+
popoverProps?: MenuPropsType['popoverProps'];
|
|
15
|
+
/**
|
|
16
|
+
* 快捷键设置
|
|
17
|
+
*/
|
|
18
|
+
shortcut?: {
|
|
19
|
+
[key: MenuDataType['value']]: (e: KeyboardEvent) => boolean;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { HorizontalMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<HorizontalMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<HorizontalMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ImageMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ImageMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ImageMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { MenuPropsType } from '../../props';
|
|
2
|
+
export type ImageMenuPropsType = {
|
|
3
|
+
/**
|
|
4
|
+
* 是否禁用
|
|
5
|
+
*/
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 初始图片宽度
|
|
9
|
+
*/
|
|
10
|
+
width?: string | number;
|
|
11
|
+
/**
|
|
12
|
+
* 自定义上传方法
|
|
13
|
+
*/
|
|
14
|
+
customUpload?: (file: File) => string | Promise<string>;
|
|
15
|
+
/**
|
|
16
|
+
* 浮层属性
|
|
17
|
+
*/
|
|
18
|
+
popoverProps?: MenuPropsType['popoverProps'];
|
|
19
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IncreaseIndentMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<IncreaseIndentMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<IncreaseIndentMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export * from './align-left';
|
|
2
|
+
export * from './align-center';
|
|
3
|
+
export * from './align-right';
|
|
4
|
+
export * from './align-justify';
|
|
5
|
+
export * from './attachment';
|
|
6
|
+
export * from './back-color';
|
|
7
|
+
export * from './bold';
|
|
8
|
+
export * from './blockquote';
|
|
9
|
+
export * from './code';
|
|
10
|
+
export * from './code-block';
|
|
11
|
+
export * from './color';
|
|
12
|
+
export * from './font-family';
|
|
13
|
+
export * from './font-size';
|
|
14
|
+
export * from './heading';
|
|
15
|
+
export * from './undo';
|
|
16
|
+
export * from './redo';
|
|
17
|
+
export * from './horizontal';
|
|
18
|
+
export * from './image';
|
|
19
|
+
export * from './increase-indent';
|
|
20
|
+
export * from './decrease-indent';
|
|
21
|
+
export * from './italic';
|
|
22
|
+
export * from './line-height';
|
|
23
|
+
export * from './link';
|
|
24
|
+
export * from './ordered-list';
|
|
25
|
+
export * from './unordered-list';
|
|
26
|
+
export * from './math';
|
|
27
|
+
export * from './strikethrough';
|
|
28
|
+
export * from './subscript';
|
|
29
|
+
export * from './superscript';
|
|
30
|
+
export * from './table';
|
|
31
|
+
export * from './underline';
|
|
32
|
+
export * from './video';
|
|
33
|
+
export * from './task';
|
|
34
|
+
export * from './wrap-up';
|
|
35
|
+
export * from './wrap-down';
|
|
36
|
+
export * from './clear-format';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ItalicMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ItalicMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ItalicMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { LineHeightMenuPropsType } from './props';
|
|
2
|
+
import { MenuDataType } from '../../props';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<LineHeightMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LineHeightMenuPropsType> & Readonly<{}>, {
|
|
4
|
+
data: MenuDataType[];
|
|
5
|
+
disabled: boolean;
|
|
6
|
+
defaultValue: string | number;
|
|
7
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
|
+
export default _default;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { MenuDataType, MenuPropsType } from '../../props';
|
|
2
|
+
export type LineHeightMenuPropsType = {
|
|
3
|
+
/**
|
|
4
|
+
* 是否禁用
|
|
5
|
+
*/
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 选项数组
|
|
9
|
+
*/
|
|
10
|
+
data?: MenuDataType[];
|
|
11
|
+
/**
|
|
12
|
+
* 默认行高数值
|
|
13
|
+
*/
|
|
14
|
+
defaultValue?: string | number;
|
|
15
|
+
/**
|
|
16
|
+
* 浮层属性
|
|
17
|
+
*/
|
|
18
|
+
popoverProps?: MenuPropsType['popoverProps'];
|
|
19
|
+
/**
|
|
20
|
+
* 快捷键设置
|
|
21
|
+
*/
|
|
22
|
+
shortcut?: {
|
|
23
|
+
[key: MenuDataType['value']]: (e: KeyboardEvent) => boolean;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { LinkUnsetMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<LinkUnsetMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LinkUnsetMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { LinkMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<LinkMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<LinkMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { MenuPropsType } from '../../props';
|
|
2
|
+
export type LinkMenuPropsType = {
|
|
3
|
+
/**
|
|
4
|
+
* 是否禁用
|
|
5
|
+
*/
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* 浮层属性
|
|
9
|
+
*/
|
|
10
|
+
popoverProps?: MenuPropsType['popoverProps'];
|
|
11
|
+
};
|
|
12
|
+
export type LinkUnsetMenuPropsType = {
|
|
13
|
+
/**
|
|
14
|
+
* 是否禁用
|
|
15
|
+
*/
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* 快捷键设置
|
|
19
|
+
*/
|
|
20
|
+
shortcut?: (e: KeyboardEvent) => boolean;
|
|
21
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MathMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<MathMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<MathMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { OrderedListMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<OrderedListMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<OrderedListMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { RedoMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<RedoMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<RedoMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { StrikethroughMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<StrikethroughMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<StrikethroughMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SubscriptMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<SubscriptMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SubscriptMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { SuperscriptMenuPropsType } from './props';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<SuperscriptMenuPropsType, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SuperscriptMenuPropsType> & Readonly<{}>, {
|
|
3
|
+
disabled: boolean;
|
|
4
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { default as TableMenu } from './table.vue';
|
|
2
|
+
import { default as TableUnsetMenu } from './table-unset.vue';
|
|
3
|
+
import { default as TableDeleteRowMenu } from './table-delete-row.vue';
|
|
4
|
+
import { default as TableDeleteColumnMenu } from './table-delete-column.vue';
|
|
5
|
+
import { default as TableAddRowMenu } from './table-add-row.vue';
|
|
6
|
+
import { default as TableAddColumnMenu } from './table-add-column.vue';
|
|
7
|
+
import { default as TableMergeCellMenu } from './table-merge-cell.vue';
|
|
8
|
+
export * from './props';
|
|
9
|
+
export { TableMenu, TableUnsetMenu, TableDeleteRowMenu, TableDeleteColumnMenu, TableAddRowMenu, TableAddColumnMenu, TableMergeCellMenu };
|