@progress/kendo-vue-editor 2.7.2-dev.202201051440 → 2.8.0-dev.202201111325
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/dist/cdn/js/kendo-vue-editor.js +1 -0
- package/dist/es/Editor.d.ts +49 -131
- package/dist/es/Editor.js +66 -37
- package/dist/es/EditorProps.d.ts +11 -5
- package/dist/es/additionalTypes.ts +7 -1
- package/dist/es/config/toolsSettings.js +2 -2
- package/dist/es/dialogs/FindReplace.d.ts +5 -6
- package/dist/es/dialogs/FindReplace.js +93 -51
- package/dist/es/dialogs/insertImage.d.ts +5 -6
- package/dist/es/dialogs/insertImage.js +8 -8
- package/dist/es/dialogs/insertLink.d.ts +5 -6
- package/dist/es/dialogs/insertLink.js +5 -5
- package/dist/es/dialogs/viewHtml.d.ts +5 -6
- package/dist/es/dialogs/viewHtml.js +3 -3
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/tools/align.d.ts +36 -0
- package/dist/es/tools/{Align.js → align.js} +3 -3
- package/dist/es/tools/applyColor.d.ts +5 -6
- package/dist/es/tools/applyColor.js +3 -3
- package/dist/es/tools/cleanFormatting.d.ts +5 -6
- package/dist/es/tools/cleanFormatting.js +3 -3
- package/dist/es/tools/findReplace.d.ts +5 -6
- package/dist/es/tools/findReplace.js +3 -3
- package/dist/es/tools/fontStyle.d.ts +5 -6
- package/dist/es/tools/fontStyle.js +12 -7
- package/dist/es/tools/formatBlock.d.ts +5 -6
- package/dist/es/tools/formatBlock.js +11 -6
- package/dist/es/tools/indent.d.ts +41 -0
- package/dist/es/tools/{Indent.js → indent.js} +3 -3
- package/dist/{npm/tools/InlineFormat.d.ts → es/tools/inlineFormat.d.ts} +5 -6
- package/dist/es/tools/{InlineFormat.js → inlineFormat.js} +3 -3
- package/dist/es/tools/insertImage.d.ts +5 -6
- package/dist/es/tools/insertImage.js +3 -3
- package/dist/es/tools/insertLink.d.ts +5 -6
- package/dist/es/tools/insertLink.js +3 -3
- package/dist/es/tools/insertTable/popup.d.ts +5 -6
- package/dist/es/tools/insertTable/popup.js +3 -3
- package/dist/es/tools/insertTable/popupGrid.d.ts +5 -6
- package/dist/es/tools/insertTable/popupGrid.js +3 -3
- package/dist/es/tools/insertTable/tool.d.ts +5 -6
- package/dist/es/tools/insertTable/tool.js +3 -3
- package/dist/es/tools/lists.d.ts +5 -6
- package/dist/es/tools/lists.js +3 -3
- package/dist/es/tools/outdent.d.ts +41 -0
- package/dist/es/tools/{Outdent.js → outdent.js} +3 -3
- package/dist/es/tools/pdf.d.ts +5 -6
- package/dist/es/tools/pdf.js +3 -3
- package/dist/es/tools/print.d.ts +5 -6
- package/dist/es/tools/print.js +3 -3
- package/dist/es/tools/proseMirrorTool.d.ts +5 -6
- package/dist/es/tools/proseMirrorTool.js +3 -3
- package/dist/es/tools/selectAll.d.ts +5 -6
- package/dist/es/tools/selectAll.js +3 -3
- package/dist/es/tools/unlink.d.ts +5 -6
- package/dist/es/tools/unlink.js +3 -3
- package/dist/es/tools/viewHtml.d.ts +5 -6
- package/dist/es/tools/viewHtml.js +3 -3
- package/dist/npm/Editor.d.ts +49 -131
- package/dist/npm/Editor.js +81 -52
- package/dist/npm/EditorProps.d.ts +11 -5
- package/dist/npm/additionalTypes.ts +7 -1
- package/dist/npm/config/toolsSettings.js +1 -1
- package/dist/npm/dialogs/FindReplace.d.ts +5 -6
- package/dist/npm/dialogs/FindReplace.js +96 -53
- package/dist/npm/dialogs/insertImage.d.ts +5 -6
- package/dist/npm/dialogs/insertImage.js +10 -10
- package/dist/npm/dialogs/insertLink.d.ts +5 -6
- package/dist/npm/dialogs/insertLink.js +7 -7
- package/dist/npm/dialogs/viewHtml.d.ts +5 -6
- package/dist/npm/dialogs/viewHtml.js +5 -5
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/tools/align.d.ts +36 -0
- package/dist/npm/tools/{Align.js → align.js} +5 -5
- package/dist/npm/tools/applyColor.d.ts +5 -6
- package/dist/npm/tools/applyColor.js +5 -5
- package/dist/npm/tools/cleanFormatting.d.ts +5 -6
- package/dist/npm/tools/cleanFormatting.js +5 -5
- package/dist/npm/tools/findReplace.d.ts +5 -6
- package/dist/npm/tools/findReplace.js +5 -5
- package/dist/npm/tools/fontStyle.d.ts +5 -6
- package/dist/npm/tools/fontStyle.js +14 -9
- package/dist/npm/tools/formatBlock.d.ts +5 -6
- package/dist/npm/tools/formatBlock.js +13 -8
- package/dist/npm/tools/indent.d.ts +41 -0
- package/dist/npm/tools/{Indent.js → indent.js} +5 -5
- package/dist/{es/tools/InlineFormat.d.ts → npm/tools/inlineFormat.d.ts} +5 -6
- package/dist/npm/tools/{InlineFormat.js → inlineFormat.js} +5 -5
- package/dist/npm/tools/insertImage.d.ts +5 -6
- package/dist/npm/tools/insertImage.js +5 -5
- package/dist/npm/tools/insertLink.d.ts +5 -6
- package/dist/npm/tools/insertLink.js +5 -5
- package/dist/npm/tools/insertTable/popup.d.ts +5 -6
- package/dist/npm/tools/insertTable/popup.js +5 -5
- package/dist/npm/tools/insertTable/popupGrid.d.ts +5 -6
- package/dist/npm/tools/insertTable/popupGrid.js +5 -5
- package/dist/npm/tools/insertTable/tool.d.ts +5 -6
- package/dist/npm/tools/insertTable/tool.js +5 -5
- package/dist/npm/tools/lists.d.ts +5 -6
- package/dist/npm/tools/lists.js +5 -5
- package/dist/npm/tools/outdent.d.ts +41 -0
- package/dist/npm/tools/{Outdent.js → outdent.js} +5 -5
- package/dist/npm/tools/pdf.d.ts +5 -6
- package/dist/npm/tools/pdf.js +5 -5
- package/dist/npm/tools/print.d.ts +5 -6
- package/dist/npm/tools/print.js +5 -5
- package/dist/npm/tools/proseMirrorTool.d.ts +5 -6
- package/dist/npm/tools/proseMirrorTool.js +5 -5
- package/dist/npm/tools/selectAll.d.ts +5 -6
- package/dist/npm/tools/selectAll.js +5 -5
- package/dist/npm/tools/unlink.d.ts +5 -6
- package/dist/npm/tools/unlink.js +5 -5
- package/dist/npm/tools/viewHtml.d.ts +5 -6
- package/dist/npm/tools/viewHtml.js +5 -5
- package/package.json +12 -12
- package/dist/es/tools/Align.d.ts +0 -37
- package/dist/es/tools/Indent.d.ts +0 -42
- package/dist/es/tools/Outdent.d.ts +0 -42
- package/dist/npm/tools/Align.d.ts +0 -37
- package/dist/npm/tools/Indent.d.ts +0 -42
- package/dist/npm/tools/Outdent.d.ts +0 -42
package/dist/es/tools/print.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -40,8 +39,8 @@ export interface PrintData {
|
|
|
40
39
|
/**
|
|
41
40
|
* @hidden
|
|
42
41
|
*/
|
|
43
|
-
export interface PrintAll extends
|
|
42
|
+
export interface PrintAll extends Vue2type, PrintMethods, PrintData, PrintComputed, PrintState {
|
|
44
43
|
}
|
|
45
|
-
declare let
|
|
46
|
-
declare const
|
|
47
|
-
export { Print,
|
|
44
|
+
declare let PrintVue2: ComponentOptions<PrintAll, DefaultData<PrintData>, DefaultMethods<PrintAll>, PrintComputed, RecordPropsDefinition<PrintProps>>;
|
|
45
|
+
declare const Print: DefineComponent<PrintProps, any, PrintData, PrintComputed, PrintMethods, {}, {}, {}, string, PrintProps, PrintProps, {}>;
|
|
46
|
+
export { Print, PrintVue2 };
|
package/dist/es/tools/print.js
CHANGED
|
@@ -37,7 +37,7 @@ import { messages } from './../messages';
|
|
|
37
37
|
import { EditorToolsSettings } from './../config/toolsSettings';
|
|
38
38
|
var print = EditorToolsSettings.print; // tslint:enable:max-line-length
|
|
39
39
|
|
|
40
|
-
var
|
|
40
|
+
var PrintVue2 = {
|
|
41
41
|
name: 'KendoPrint',
|
|
42
42
|
props: __assign({
|
|
43
43
|
view: Object,
|
|
@@ -105,5 +105,5 @@ var Print = {
|
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
};
|
|
108
|
-
var
|
|
109
|
-
export { Print,
|
|
108
|
+
var Print = PrintVue2;
|
|
109
|
+
export { Print, PrintVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -36,8 +35,8 @@ export interface ProseMirrorData {
|
|
|
36
35
|
/**
|
|
37
36
|
* @hidden
|
|
38
37
|
*/
|
|
39
|
-
export interface ProseMirrorAll extends
|
|
38
|
+
export interface ProseMirrorAll extends Vue2type, ProseMirrorMethods, ProseMirrorData, ProseMirrorComputed, ProseMirrorState {
|
|
40
39
|
}
|
|
41
|
-
declare let
|
|
42
|
-
declare const
|
|
43
|
-
export { ProseMirror,
|
|
40
|
+
declare let ProseMirrorVue2: ComponentOptions<ProseMirrorAll, DefaultData<ProseMirrorData>, DefaultMethods<ProseMirrorAll>, ProseMirrorComputed, RecordPropsDefinition<ToolProps>>;
|
|
41
|
+
declare const ProseMirror: DefineComponent<ToolProps, any, ProseMirrorData, ProseMirrorComputed, ProseMirrorMethods, {}, {}, {}, string, ToolProps, ToolProps, {}>;
|
|
42
|
+
export { ProseMirror, ProseMirrorVue2 };
|
|
@@ -36,7 +36,7 @@ import { noop } from '@progress/kendo-vue-common';
|
|
|
36
36
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
37
37
|
import { messages } from './../messages'; // tslint:enable:max-line-length
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var ProseMirrorVue2 = {
|
|
40
40
|
name: 'KendoProseMirror',
|
|
41
41
|
props: __assign({
|
|
42
42
|
view: Object,
|
|
@@ -106,5 +106,5 @@ var ProseMirror = {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
|
-
var
|
|
110
|
-
export { ProseMirror,
|
|
109
|
+
var ProseMirror = ProseMirrorVue2;
|
|
110
|
+
export { ProseMirror, ProseMirrorVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -40,8 +39,8 @@ export interface SelectAllData {
|
|
|
40
39
|
/**
|
|
41
40
|
* @hidden
|
|
42
41
|
*/
|
|
43
|
-
export interface SelectAllAll extends
|
|
42
|
+
export interface SelectAllAll extends Vue2type, SelectAllMethods, SelectAllData, SelectAllComputed, SelectAllState {
|
|
44
43
|
}
|
|
45
|
-
declare let
|
|
46
|
-
declare const
|
|
47
|
-
export { SelectAll,
|
|
44
|
+
declare let SelectAllVue2: ComponentOptions<SelectAllAll, DefaultData<SelectAllData>, DefaultMethods<SelectAllAll>, SelectAllComputed, RecordPropsDefinition<SelectAllProps>>;
|
|
45
|
+
declare const SelectAll: DefineComponent<SelectAllProps, any, SelectAllData, SelectAllComputed, SelectAllMethods, {}, {}, {}, string, SelectAllProps, SelectAllProps, {}>;
|
|
46
|
+
export { SelectAll, SelectAllVue2 };
|
|
@@ -38,7 +38,7 @@ import { selectAll as selectAllCommand } from '@progress/kendo-editor-common';
|
|
|
38
38
|
import { EditorToolsSettings } from './../config/toolsSettings';
|
|
39
39
|
var selectAll = EditorToolsSettings.selectAll; // tslint:enable:max-line-length
|
|
40
40
|
|
|
41
|
-
var
|
|
41
|
+
var SelectAllVue2 = {
|
|
42
42
|
name: 'KendoSelectAll',
|
|
43
43
|
props: __assign({
|
|
44
44
|
view: Object,
|
|
@@ -98,5 +98,5 @@ var SelectAll = {
|
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
|
-
var
|
|
102
|
-
export { SelectAll,
|
|
101
|
+
var SelectAll = SelectAllVue2;
|
|
102
|
+
export { SelectAll, SelectAllVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -35,8 +34,8 @@ export interface UnlinkData {
|
|
|
35
34
|
/**
|
|
36
35
|
* @hidden
|
|
37
36
|
*/
|
|
38
|
-
export interface UnlinkAll extends
|
|
37
|
+
export interface UnlinkAll extends Vue2type, UnlinkMethods, UnlinkData, UnlinkComputed, UnlinkState {
|
|
39
38
|
}
|
|
40
|
-
declare let
|
|
41
|
-
declare const
|
|
42
|
-
export { Unlink,
|
|
39
|
+
declare let UnlinkVue2: ComponentOptions<UnlinkAll, DefaultData<UnlinkData>, DefaultMethods<UnlinkAll>, UnlinkComputed, RecordPropsDefinition<UnlinkProps>>;
|
|
40
|
+
declare const Unlink: DefineComponent<UnlinkProps, any, UnlinkData, UnlinkComputed, UnlinkMethods, {}, {}, {}, string, UnlinkProps, UnlinkProps, {}>;
|
|
41
|
+
export { Unlink, UnlinkVue2 };
|
package/dist/es/tools/unlink.js
CHANGED
|
@@ -36,7 +36,7 @@ import { removeLink, hasMark } from '@progress/kendo-editor-common';
|
|
|
36
36
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
37
37
|
import { messages } from './../messages'; // tslint:enable:max-line-length
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var UnlinkVue2 = {
|
|
40
40
|
name: 'KendoUnlink',
|
|
41
41
|
props: __assign({
|
|
42
42
|
view: Object,
|
|
@@ -106,5 +106,5 @@ var Unlink = {
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
};
|
|
109
|
-
var
|
|
110
|
-
export { Unlink,
|
|
109
|
+
var Unlink = UnlinkVue2;
|
|
110
|
+
export { Unlink, UnlinkVue2 };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { DefineComponent } from '../additionalTypes';
|
|
2
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
|
|
3
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
4
3
|
declare type DefaultMethods<V> = {
|
|
5
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -42,8 +41,8 @@ export interface ViewHtmlData {
|
|
|
42
41
|
/**
|
|
43
42
|
* @hidden
|
|
44
43
|
*/
|
|
45
|
-
export interface ViewHtmlAll extends
|
|
44
|
+
export interface ViewHtmlAll extends Vue2type, ViewHtmlMethods, ViewHtmlData, ViewHtmlComputed, ViewHtmlState {
|
|
46
45
|
}
|
|
47
|
-
declare let
|
|
48
|
-
declare const
|
|
49
|
-
export { ViewHtml,
|
|
46
|
+
declare let ViewHtmlVue2: ComponentOptions<ViewHtmlAll, DefaultData<ViewHtmlData>, DefaultMethods<ViewHtmlAll>, ViewHtmlComputed, RecordPropsDefinition<ViewHtmlProps>>;
|
|
47
|
+
declare const ViewHtml: DefineComponent<ViewHtmlProps, any, ViewHtmlData, ViewHtmlComputed, ViewHtmlMethods, {}, {}, {}, string, ViewHtmlProps, ViewHtmlProps, {}>;
|
|
48
|
+
export { ViewHtml, ViewHtmlVue2 };
|
|
@@ -36,7 +36,7 @@ import { ViewHtmlDialog } from '../dialogs/viewHtml';
|
|
|
36
36
|
import { provideLocalizationService } from '@progress/kendo-vue-intl';
|
|
37
37
|
import { messages } from './../messages'; // tslint:enable:max-line-length
|
|
38
38
|
|
|
39
|
-
var
|
|
39
|
+
var ViewHtmlVue2 = {
|
|
40
40
|
name: 'KendoViewHtml',
|
|
41
41
|
props: __assign({
|
|
42
42
|
view: Object,
|
|
@@ -121,5 +121,5 @@ var ViewHtml = {
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
-
var
|
|
125
|
-
export { ViewHtml,
|
|
124
|
+
var ViewHtml = ViewHtmlVue2;
|
|
125
|
+
export { ViewHtml, ViewHtmlVue2 };
|
package/dist/npm/Editor.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { DefineComponent } from './additionalTypes';
|
|
3
|
-
import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
|
|
1
|
+
import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from './additionalTypes';
|
|
4
2
|
declare type DefaultData<V> = object | ((this: V) => {});
|
|
5
3
|
declare type DefaultMethods<V> = {
|
|
6
4
|
[key: string]: (this: V, ...args: any[]) => any;
|
|
@@ -10,249 +8,167 @@ import { EditorToolsSettings } from './config/toolsSettings';
|
|
|
10
8
|
import { EditorProps } from './EditorProps';
|
|
11
9
|
export declare const allTools: {
|
|
12
10
|
Bold: {
|
|
13
|
-
comp:
|
|
14
|
-
[key: string]: (this: import("./tools/InlineFormat").InlineFormatAll, ...args: any[]) => any;
|
|
15
|
-
}, import("./tools/InlineFormat").InlineFormatComputed, RecordPropsDefinition<import("./tools/InlineFormat").InlineFormatToolProps>, Record<string, any>>;
|
|
11
|
+
comp: any;
|
|
16
12
|
props: EditorToolsSettings.InlineFormatSettings;
|
|
17
13
|
};
|
|
18
14
|
Italic: {
|
|
19
|
-
comp:
|
|
20
|
-
[key: string]: (this: import("./tools/InlineFormat").InlineFormatAll, ...args: any[]) => any;
|
|
21
|
-
}, import("./tools/InlineFormat").InlineFormatComputed, RecordPropsDefinition<import("./tools/InlineFormat").InlineFormatToolProps>, Record<string, any>>;
|
|
15
|
+
comp: any;
|
|
22
16
|
props: EditorToolsSettings.InlineFormatSettings;
|
|
23
17
|
};
|
|
24
18
|
Underline: {
|
|
25
|
-
comp:
|
|
26
|
-
[key: string]: (this: import("./tools/InlineFormat").InlineFormatAll, ...args: any[]) => any;
|
|
27
|
-
}, import("./tools/InlineFormat").InlineFormatComputed, RecordPropsDefinition<import("./tools/InlineFormat").InlineFormatToolProps>, Record<string, any>>;
|
|
19
|
+
comp: any;
|
|
28
20
|
props: EditorToolsSettings.InlineFormatSettings;
|
|
29
21
|
};
|
|
30
22
|
Strikethrough: {
|
|
31
|
-
comp:
|
|
32
|
-
[key: string]: (this: import("./tools/InlineFormat").InlineFormatAll, ...args: any[]) => any;
|
|
33
|
-
}, import("./tools/InlineFormat").InlineFormatComputed, RecordPropsDefinition<import("./tools/InlineFormat").InlineFormatToolProps>, Record<string, any>>;
|
|
23
|
+
comp: any;
|
|
34
24
|
props: EditorToolsSettings.InlineFormatSettings;
|
|
35
25
|
};
|
|
36
26
|
Subscript: {
|
|
37
|
-
comp:
|
|
38
|
-
[key: string]: (this: import("./tools/InlineFormat").InlineFormatAll, ...args: any[]) => any;
|
|
39
|
-
}, import("./tools/InlineFormat").InlineFormatComputed, RecordPropsDefinition<import("./tools/InlineFormat").InlineFormatToolProps>, Record<string, any>>;
|
|
27
|
+
comp: any;
|
|
40
28
|
props: EditorToolsSettings.InlineFormatSettings;
|
|
41
29
|
};
|
|
42
30
|
Superscript: {
|
|
43
|
-
comp:
|
|
44
|
-
[key: string]: (this: import("./tools/InlineFormat").InlineFormatAll, ...args: any[]) => any;
|
|
45
|
-
}, import("./tools/InlineFormat").InlineFormatComputed, RecordPropsDefinition<import("./tools/InlineFormat").InlineFormatToolProps>, Record<string, any>>;
|
|
31
|
+
comp: any;
|
|
46
32
|
props: EditorToolsSettings.InlineFormatSettings;
|
|
47
33
|
};
|
|
48
34
|
AlignLeft: {
|
|
49
|
-
comp:
|
|
50
|
-
[key: string]: (this: import("./tools/Align").AlignAll, ...args: any[]) => any;
|
|
51
|
-
}, import("./tools/Align").AlignComputed, RecordPropsDefinition<import("./main").EditorTools.AlignToolProps>, Record<string, any>>;
|
|
35
|
+
comp: any;
|
|
52
36
|
props: EditorToolsSettings.AlignSettings;
|
|
53
37
|
};
|
|
54
38
|
AlignCenter: {
|
|
55
|
-
comp:
|
|
56
|
-
[key: string]: (this: import("./tools/Align").AlignAll, ...args: any[]) => any;
|
|
57
|
-
}, import("./tools/Align").AlignComputed, RecordPropsDefinition<import("./main").EditorTools.AlignToolProps>, Record<string, any>>;
|
|
39
|
+
comp: any;
|
|
58
40
|
props: EditorToolsSettings.AlignSettings;
|
|
59
41
|
};
|
|
60
42
|
AlignRight: {
|
|
61
|
-
comp:
|
|
62
|
-
[key: string]: (this: import("./tools/Align").AlignAll, ...args: any[]) => any;
|
|
63
|
-
}, import("./tools/Align").AlignComputed, RecordPropsDefinition<import("./main").EditorTools.AlignToolProps>, Record<string, any>>;
|
|
43
|
+
comp: any;
|
|
64
44
|
props: EditorToolsSettings.AlignSettings;
|
|
65
45
|
};
|
|
66
46
|
AlignJustify: {
|
|
67
|
-
comp:
|
|
68
|
-
[key: string]: (this: import("./tools/Align").AlignAll, ...args: any[]) => any;
|
|
69
|
-
}, import("./tools/Align").AlignComputed, RecordPropsDefinition<import("./main").EditorTools.AlignToolProps>, Record<string, any>>;
|
|
47
|
+
comp: any;
|
|
70
48
|
props: EditorToolsSettings.AlignSettings;
|
|
71
49
|
};
|
|
72
50
|
Indent: {
|
|
73
|
-
comp:
|
|
74
|
-
[key: string]: (this: import("./tools/Indent").IndentAll, ...args: any[]) => any;
|
|
75
|
-
}, import("./tools/Indent").IndentComputed, RecordPropsDefinition<import("./tools/Indent").IndentProps>, Record<string, any>>;
|
|
51
|
+
comp: any;
|
|
76
52
|
props: EditorToolsSettings.IndentationSettings;
|
|
77
53
|
};
|
|
78
54
|
Outdent: {
|
|
79
|
-
comp:
|
|
80
|
-
[key: string]: (this: import("./tools/Outdent").OutdentAll, ...args: any[]) => any;
|
|
81
|
-
}, import("./tools/Outdent").OutdentComputed, RecordPropsDefinition<import("./tools/Outdent").OutdentProps>, Record<string, any>>;
|
|
55
|
+
comp: any;
|
|
82
56
|
props: EditorToolsSettings.IndentationSettings;
|
|
83
57
|
};
|
|
84
58
|
OrderedList: {
|
|
85
|
-
comp:
|
|
86
|
-
[key: string]: (this: import("./tools/lists").ListAll, ...args: any[]) => any;
|
|
87
|
-
}, import("./tools/lists").ListComputed, RecordPropsDefinition<import("./tools/lists").ListToolProps>, Record<string, any>>;
|
|
59
|
+
comp: any;
|
|
88
60
|
props: EditorToolsSettings.ListSettings;
|
|
89
61
|
};
|
|
90
62
|
UnorderedList: {
|
|
91
|
-
comp:
|
|
92
|
-
[key: string]: (this: import("./tools/lists").ListAll, ...args: any[]) => any;
|
|
93
|
-
}, import("./tools/lists").ListComputed, RecordPropsDefinition<import("./tools/lists").ListToolProps>, Record<string, any>>;
|
|
63
|
+
comp: any;
|
|
94
64
|
props: EditorToolsSettings.ListSettings;
|
|
95
65
|
};
|
|
96
66
|
FontSize: {
|
|
97
|
-
comp:
|
|
98
|
-
[key: string]: (this: import("./tools/fontStyle").FontNameAll, ...args: any[]) => any;
|
|
99
|
-
}, import("./tools/fontStyle").FontNameComputed, RecordPropsDefinition<import("./tools/fontStyle").FontNameProps>, Record<string, any>>;
|
|
67
|
+
comp: any;
|
|
100
68
|
props: EditorToolsSettings.StyleDropDownListSettings;
|
|
101
69
|
};
|
|
102
70
|
FontName: {
|
|
103
|
-
comp:
|
|
104
|
-
[key: string]: (this: import("./tools/fontStyle").FontNameAll, ...args: any[]) => any;
|
|
105
|
-
}, import("./tools/fontStyle").FontNameComputed, RecordPropsDefinition<import("./tools/fontStyle").FontNameProps>, Record<string, any>>;
|
|
71
|
+
comp: any;
|
|
106
72
|
props: EditorToolsSettings.StyleDropDownListSettings;
|
|
107
73
|
};
|
|
108
74
|
FormatBlock: {
|
|
109
|
-
comp:
|
|
110
|
-
[key: string]: (this: import("./tools/formatBlock").FormatBlockAll, ...args: any[]) => any;
|
|
111
|
-
}, import("./tools/formatBlock").FormatBlockComputed, RecordPropsDefinition<import("./tools/formatBlock").FormatBlockProps>, Record<string, any>>;
|
|
75
|
+
comp: any;
|
|
112
76
|
props: EditorToolsSettings.FormatBlockDropDownListSettings;
|
|
113
77
|
};
|
|
114
78
|
Undo: {
|
|
115
|
-
comp:
|
|
116
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
117
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
79
|
+
comp: any;
|
|
118
80
|
props: EditorToolsSettings.ToolSettings;
|
|
119
81
|
};
|
|
120
82
|
Redo: {
|
|
121
|
-
comp:
|
|
122
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
123
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
83
|
+
comp: any;
|
|
124
84
|
props: EditorToolsSettings.ToolSettings;
|
|
125
85
|
};
|
|
126
86
|
Link: {
|
|
127
|
-
comp:
|
|
128
|
-
[key: string]: (this: import("./tools/insertLink").LinkToolAll, ...args: any[]) => any;
|
|
129
|
-
}, import("./tools/insertLink").LinkToolComputed, RecordPropsDefinition<import("./tools/insertLink").LinkProps>, Record<string, any>>;
|
|
87
|
+
comp: any;
|
|
130
88
|
props: EditorToolsSettings.LinkSettings;
|
|
131
89
|
};
|
|
132
90
|
Unlink: {
|
|
133
|
-
comp:
|
|
134
|
-
[key: string]: (this: import("./tools/unlink").UnlinkAll, ...args: any[]) => any;
|
|
135
|
-
}, import("./tools/unlink").UnlinkComputed, RecordPropsDefinition<import("./tools/unlink").UnlinkProps>, Record<string, any>>;
|
|
91
|
+
comp: any;
|
|
136
92
|
props: EditorToolsSettings.UnlinkSettings;
|
|
137
93
|
};
|
|
138
94
|
InsertImage: {
|
|
139
|
-
comp:
|
|
140
|
-
[key: string]: (this: import("./tools/insertImage").InsertImageAll, ...args: any[]) => any;
|
|
141
|
-
}, import("./tools/insertImage").InsertImageComputed, RecordPropsDefinition<import("./tools/insertImage").InsertImageProps>, Record<string, any>>;
|
|
95
|
+
comp: any;
|
|
142
96
|
props: EditorToolsSettings.ImageSettings;
|
|
143
97
|
};
|
|
144
98
|
ViewHtml: {
|
|
145
|
-
comp:
|
|
146
|
-
[key: string]: (this: import("./tools/viewHtml").ViewHtmlAll, ...args: any[]) => any;
|
|
147
|
-
}, import("./tools/viewHtml").ViewHtmlComputed, RecordPropsDefinition<import("./tools/viewHtml").ViewHtmlProps>, Record<string, any>>;
|
|
99
|
+
comp: any;
|
|
148
100
|
props: EditorToolsSettings.ViewHtmlSettings;
|
|
149
101
|
};
|
|
150
102
|
CleanFormatting: {
|
|
151
|
-
comp:
|
|
152
|
-
[key: string]: (this: import("./tools/cleanFormatting").CleanFormattingAll, ...args: any[]) => any;
|
|
153
|
-
}, import("./tools/cleanFormatting").CleanFormattingComputed, RecordPropsDefinition<import("./tools/cleanFormatting").CleanFormattingProps>, Record<string, any>>;
|
|
103
|
+
comp: any;
|
|
154
104
|
props: EditorToolsSettings.CleanFormattingSettings;
|
|
155
105
|
};
|
|
156
106
|
SelectAll: {
|
|
157
|
-
comp:
|
|
158
|
-
[key: string]: (this: import("./tools/selectAll").SelectAllAll, ...args: any[]) => any;
|
|
159
|
-
}, import("./tools/selectAll").SelectAllComputed, RecordPropsDefinition<import("./tools/selectAll").SelectAllProps>, Record<string, any>>;
|
|
107
|
+
comp: any;
|
|
160
108
|
props: EditorToolsSettings.SelectAllSettings;
|
|
161
109
|
};
|
|
162
110
|
InsertTable: {
|
|
163
|
-
comp:
|
|
164
|
-
[key: string]: (this: import("./tools/insertTable/tool").InsertTableAll, ...args: any[]) => any;
|
|
165
|
-
}, import("./tools/insertTable/tool").InsertTableComputed, RecordPropsDefinition<import("./tools/insertTable/tool").InsertTableProps>, Record<string, any>>;
|
|
111
|
+
comp: any;
|
|
166
112
|
props: EditorToolsSettings.InsertTableSettings;
|
|
167
113
|
};
|
|
168
114
|
MergeCells: {
|
|
169
|
-
comp:
|
|
170
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
171
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
115
|
+
comp: any;
|
|
172
116
|
props: EditorToolsSettings.MergeCellsSettings;
|
|
173
117
|
};
|
|
174
118
|
SplitCell: {
|
|
175
|
-
comp:
|
|
176
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
177
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
119
|
+
comp: any;
|
|
178
120
|
props: EditorToolsSettings.SplitCellSettings;
|
|
179
121
|
};
|
|
180
122
|
AddRowBefore: {
|
|
181
|
-
comp:
|
|
182
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
183
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
123
|
+
comp: any;
|
|
184
124
|
props: EditorToolsSettings.AddRowBeforeSettings;
|
|
185
125
|
};
|
|
186
126
|
AddRowAfter: {
|
|
187
|
-
comp:
|
|
188
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
189
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
127
|
+
comp: any;
|
|
190
128
|
props: EditorToolsSettings.AddRowAfterSettings;
|
|
191
129
|
};
|
|
192
130
|
AddColumnBefore: {
|
|
193
|
-
comp:
|
|
194
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
195
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
131
|
+
comp: any;
|
|
196
132
|
props: EditorToolsSettings.AddColumnBeforeSettings;
|
|
197
133
|
};
|
|
198
134
|
AddColumnAfter: {
|
|
199
|
-
comp:
|
|
200
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
201
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
135
|
+
comp: any;
|
|
202
136
|
props: EditorToolsSettings.AddColumnAfterSettings;
|
|
203
137
|
};
|
|
204
138
|
DeleteRow: {
|
|
205
|
-
comp:
|
|
206
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
207
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
139
|
+
comp: any;
|
|
208
140
|
props: EditorToolsSettings.DeleteRowSettings;
|
|
209
141
|
};
|
|
210
142
|
DeleteColumn: {
|
|
211
|
-
comp:
|
|
212
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
213
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
143
|
+
comp: any;
|
|
214
144
|
props: EditorToolsSettings.DeleteColumnSettings;
|
|
215
145
|
};
|
|
216
146
|
DeleteTable: {
|
|
217
|
-
comp:
|
|
218
|
-
[key: string]: (this: import("./tools/proseMirrorTool").ProseMirrorAll, ...args: any[]) => any;
|
|
219
|
-
}, import("./tools/proseMirrorTool").ProseMirrorComputed, RecordPropsDefinition<import("./tools/ToolProps").ToolProps>, Record<string, any>>;
|
|
147
|
+
comp: any;
|
|
220
148
|
props: EditorToolsSettings.DeleteTableSettings;
|
|
221
149
|
};
|
|
222
150
|
Print: {
|
|
223
|
-
comp:
|
|
224
|
-
[key: string]: (this: import("./tools/print").PrintAll, ...args: any[]) => any;
|
|
225
|
-
}, import("./tools/print").PrintComputed, RecordPropsDefinition<import("./tools/print").PrintProps>, Record<string, any>>;
|
|
151
|
+
comp: any;
|
|
226
152
|
props: EditorToolsSettings.PrintSettings;
|
|
227
153
|
};
|
|
228
154
|
Pdf: {
|
|
229
|
-
comp:
|
|
230
|
-
[key: string]: (this: import("./tools/pdf").PdfAll, ...args: any[]) => any;
|
|
231
|
-
}, import("./tools/pdf").PdfComputed, RecordPropsDefinition<import("./tools/pdf").PdfProps>, Record<string, any>>;
|
|
155
|
+
comp: any;
|
|
232
156
|
props: EditorToolsSettings.PdfSettings;
|
|
233
157
|
};
|
|
234
158
|
InsertFile: {
|
|
235
|
-
comp:
|
|
236
|
-
[key: string]: (this: import("./tools/insertLink").LinkToolAll, ...args: any[]) => any;
|
|
237
|
-
}, import("./tools/insertLink").LinkToolComputed, RecordPropsDefinition<import("./tools/insertLink").LinkProps>, Record<string, any>>;
|
|
159
|
+
comp: any;
|
|
238
160
|
props: EditorToolsSettings.InsertFileSettings;
|
|
239
161
|
};
|
|
240
162
|
FindAndReplace: {
|
|
241
|
-
comp:
|
|
242
|
-
[key: string]: (this: import("./tools/findReplace").FindAndReplaceAll, ...args: any[]) => any;
|
|
243
|
-
}, import("./tools/findReplace").FindAndReplaceComputed, RecordPropsDefinition<import("./tools/findReplace").FindAndReplaceProps>, Record<string, any>>;
|
|
163
|
+
comp: any;
|
|
244
164
|
props: EditorToolsSettings.FindReplaceSettings;
|
|
245
165
|
};
|
|
246
166
|
ForeColor: {
|
|
247
|
-
comp:
|
|
248
|
-
[key: string]: (this: import("./tools/applyColor").ApplyColorAll, ...args: any[]) => any;
|
|
249
|
-
}, import("./tools/applyColor").ApplyColorComputed, RecordPropsDefinition<import("./tools/applyColor").ApplyColorToolProps>, Record<string, any>>;
|
|
167
|
+
comp: any;
|
|
250
168
|
props: EditorToolsSettings.ApplyColorSettings;
|
|
251
169
|
};
|
|
252
170
|
BackColor: {
|
|
253
|
-
comp:
|
|
254
|
-
[key: string]: (this: import("./tools/applyColor").ApplyColorAll, ...args: any[]) => any;
|
|
255
|
-
}, import("./tools/applyColor").ApplyColorComputed, RecordPropsDefinition<import("./tools/applyColor").ApplyColorToolProps>, Record<string, any>>;
|
|
171
|
+
comp: any;
|
|
256
172
|
props: EditorToolsSettings.ApplyColorSettings;
|
|
257
173
|
};
|
|
258
174
|
};
|
|
@@ -261,7 +177,7 @@ export declare const allTools: {
|
|
|
261
177
|
*/
|
|
262
178
|
export interface EditorComponentState {
|
|
263
179
|
element: HTMLElement | null;
|
|
264
|
-
|
|
180
|
+
_view?: EditorView;
|
|
265
181
|
contentElement: HTMLDivElement | null;
|
|
266
182
|
iframe: HTMLIFrameElement | null;
|
|
267
183
|
trOnChange: Transaction | null;
|
|
@@ -284,12 +200,14 @@ export interface EditorMethods {
|
|
|
284
200
|
* @hidden
|
|
285
201
|
*/
|
|
286
202
|
export interface EditorData {
|
|
203
|
+
view?: EditorView;
|
|
204
|
+
linkDialog?: boolean;
|
|
287
205
|
}
|
|
288
206
|
/**
|
|
289
207
|
* @hidden
|
|
290
208
|
*/
|
|
291
|
-
export interface EditorAll extends
|
|
209
|
+
export interface EditorAll extends Vue2type, EditorMethods, EditorData, EditorComputed, EditorComponentState {
|
|
292
210
|
}
|
|
293
|
-
declare let
|
|
294
|
-
declare const
|
|
295
|
-
export { Editor,
|
|
211
|
+
declare let EditorVue2: ComponentOptions<EditorAll, DefaultData<EditorData>, DefaultMethods<EditorAll>, EditorComputed, RecordPropsDefinition<EditorProps>>;
|
|
212
|
+
declare const Editor: DefineComponent<EditorProps, any, EditorData, EditorComputed, EditorMethods, {}, {}, {}, string, EditorProps, EditorProps, {}>;
|
|
213
|
+
export { Editor, EditorVue2 };
|