@progress/kendo-vue-editor 2.7.3 → 3.0.0-dev.202201141128
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 -1
- package/dist/es/Editor.d.ts +49 -131
- package/dist/es/Editor.js +51 -25
- package/dist/es/EditorProps.d.ts +11 -5
- package/dist/es/additionalTypes.ts +7 -1
- package/dist/es/config/toolsSettings.d.ts +4 -0
- package/dist/es/dialogs/FindReplace.d.ts +6 -7
- package/dist/es/dialogs/FindReplace.js +203 -131
- package/dist/es/dialogs/insertImage.d.ts +5 -6
- package/dist/es/dialogs/insertImage.js +23 -13
- package/dist/es/dialogs/insertLink.d.ts +5 -6
- package/dist/es/dialogs/insertLink.js +12 -8
- package/dist/es/dialogs/viewHtml.d.ts +5 -6
- package/dist/es/dialogs/viewHtml.js +3 -3
- package/dist/es/main.d.ts +19 -0
- package/dist/es/main.js +19 -0
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/tools/align.d.ts +5 -6
- package/dist/es/tools/align.js +5 -5
- package/dist/es/tools/applyColor.d.ts +5 -6
- package/dist/es/tools/applyColor.js +9 -5
- package/dist/es/tools/cleanFormatting.d.ts +5 -6
- package/dist/es/tools/cleanFormatting.js +5 -5
- package/dist/es/tools/findReplace.d.ts +5 -6
- package/dist/es/tools/findReplace.js +7 -7
- package/dist/es/tools/fontStyle.d.ts +5 -6
- package/dist/es/tools/fontStyle.js +5 -5
- package/dist/es/tools/formatBlock.d.ts +5 -6
- package/dist/es/tools/formatBlock.js +5 -5
- package/dist/es/tools/indent.d.ts +5 -6
- package/dist/es/tools/indent.js +5 -5
- package/dist/es/tools/inlineFormat.d.ts +5 -6
- package/dist/es/tools/inlineFormat.js +5 -5
- package/dist/es/tools/insertImage.d.ts +5 -6
- package/dist/es/tools/insertImage.js +5 -5
- package/dist/es/tools/insertLink.d.ts +5 -6
- package/dist/es/tools/insertLink.js +5 -5
- 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 +5 -5
- package/dist/es/tools/lists.d.ts +5 -6
- package/dist/es/tools/lists.js +5 -5
- package/dist/es/tools/outdent.d.ts +5 -6
- package/dist/es/tools/outdent.js +5 -5
- package/dist/es/tools/pdf.d.ts +5 -6
- package/dist/es/tools/pdf.js +5 -5
- package/dist/es/tools/print.d.ts +5 -6
- package/dist/es/tools/print.js +5 -5
- package/dist/es/tools/proseMirrorTool.d.ts +5 -6
- package/dist/es/tools/proseMirrorTool.js +5 -5
- package/dist/es/tools/selectAll.d.ts +5 -6
- package/dist/es/tools/selectAll.js +5 -5
- package/dist/es/tools/unlink.d.ts +5 -6
- package/dist/es/tools/unlink.js +5 -5
- package/dist/es/tools/viewHtml.d.ts +5 -6
- package/dist/es/tools/viewHtml.js +5 -5
- package/dist/npm/Editor.d.ts +49 -131
- package/dist/npm/Editor.js +52 -26
- package/dist/npm/EditorProps.d.ts +11 -5
- package/dist/npm/additionalTypes.ts +7 -1
- package/dist/npm/config/toolsSettings.d.ts +4 -0
- package/dist/npm/dialogs/FindReplace.d.ts +6 -7
- package/dist/npm/dialogs/FindReplace.js +206 -133
- package/dist/npm/dialogs/insertImage.d.ts +5 -6
- package/dist/npm/dialogs/insertImage.js +25 -15
- package/dist/npm/dialogs/insertLink.d.ts +5 -6
- package/dist/npm/dialogs/insertLink.js +14 -10
- package/dist/npm/dialogs/viewHtml.d.ts +5 -6
- package/dist/npm/dialogs/viewHtml.js +5 -5
- package/dist/npm/main.d.ts +19 -0
- package/dist/npm/main.js +38 -0
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/tools/align.d.ts +5 -6
- package/dist/npm/tools/align.js +7 -7
- package/dist/npm/tools/applyColor.d.ts +5 -6
- package/dist/npm/tools/applyColor.js +11 -7
- package/dist/npm/tools/cleanFormatting.d.ts +5 -6
- package/dist/npm/tools/cleanFormatting.js +7 -7
- package/dist/npm/tools/findReplace.d.ts +5 -6
- package/dist/npm/tools/findReplace.js +9 -9
- package/dist/npm/tools/fontStyle.d.ts +5 -6
- package/dist/npm/tools/fontStyle.js +7 -7
- package/dist/npm/tools/formatBlock.d.ts +5 -6
- package/dist/npm/tools/formatBlock.js +7 -7
- package/dist/npm/tools/indent.d.ts +5 -6
- package/dist/npm/tools/indent.js +7 -7
- package/dist/npm/tools/inlineFormat.d.ts +5 -6
- package/dist/npm/tools/inlineFormat.js +7 -7
- package/dist/npm/tools/insertImage.d.ts +5 -6
- package/dist/npm/tools/insertImage.js +7 -7
- package/dist/npm/tools/insertLink.d.ts +5 -6
- package/dist/npm/tools/insertLink.js +7 -7
- 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 +7 -7
- package/dist/npm/tools/lists.d.ts +5 -6
- package/dist/npm/tools/lists.js +7 -7
- package/dist/npm/tools/outdent.d.ts +5 -6
- package/dist/npm/tools/outdent.js +7 -7
- package/dist/npm/tools/pdf.d.ts +5 -6
- package/dist/npm/tools/pdf.js +7 -7
- package/dist/npm/tools/print.d.ts +5 -6
- package/dist/npm/tools/print.js +7 -7
- package/dist/npm/tools/proseMirrorTool.d.ts +5 -6
- package/dist/npm/tools/proseMirrorTool.js +7 -7
- package/dist/npm/tools/selectAll.d.ts +5 -6
- package/dist/npm/tools/selectAll.js +7 -7
- package/dist/npm/tools/unlink.d.ts +5 -6
- package/dist/npm/tools/unlink.js +7 -7
- package/dist/npm/tools/viewHtml.d.ts +5 -6
- package/dist/npm/tools/viewHtml.js +7 -7
- package/package.json +12 -12
|
@@ -32,7 +32,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
32
32
|
Object.defineProperty(exports, "__esModule", {
|
|
33
33
|
value: true
|
|
34
34
|
});
|
|
35
|
-
exports.
|
|
35
|
+
exports.FindAndReplaceVue2 = exports.FindAndReplace = void 0; // @ts-ignore
|
|
36
36
|
|
|
37
37
|
var Vue = require("vue");
|
|
38
38
|
|
|
@@ -51,7 +51,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
|
51
51
|
|
|
52
52
|
var settings = toolsSettings_1.EditorToolsSettings.findAndReplace; // tslint:enable:max-line-length
|
|
53
53
|
|
|
54
|
-
var
|
|
54
|
+
var FindAndReplaceVue2 = {
|
|
55
55
|
name: 'KendoFindAndReplace',
|
|
56
56
|
props: __assign({
|
|
57
57
|
view: Object
|
|
@@ -84,11 +84,11 @@ var FindAndReplace = {
|
|
|
84
84
|
var localization = kendo_vue_intl_1.provideLocalizationService(this);
|
|
85
85
|
var titleKey = settings.messages.findReplaceToolTitle;
|
|
86
86
|
|
|
87
|
-
var buttonProps = __assign(__assign(__assign({}, other),
|
|
87
|
+
var buttonProps = __assign(__assign(__assign({}, other), {
|
|
88
88
|
key: 'tool',
|
|
89
89
|
disabled: !view,
|
|
90
90
|
title: localization.toLanguageString(titleKey, messages_1.messages[titleKey])
|
|
91
|
-
});
|
|
91
|
+
}), settings.props);
|
|
92
92
|
|
|
93
93
|
var button = h(kendo_vue_buttons_1.Button, __assign({
|
|
94
94
|
onClick: this.onOpen,
|
|
@@ -106,13 +106,13 @@ var FindAndReplace = {
|
|
|
106
106
|
view: view,
|
|
107
107
|
attrs: this.v3 ? undefined : {
|
|
108
108
|
view: view,
|
|
109
|
-
dir:
|
|
109
|
+
dir: this.$props.dir
|
|
110
110
|
},
|
|
111
111
|
onClose: this.onClose,
|
|
112
112
|
on: this.v3 ? undefined : {
|
|
113
113
|
"close": this.onClose
|
|
114
114
|
},
|
|
115
|
-
dir:
|
|
115
|
+
dir: this.$props.dir,
|
|
116
116
|
key: "dialog"
|
|
117
117
|
})]);
|
|
118
118
|
},
|
|
@@ -128,6 +128,6 @@ var FindAndReplace = {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
|
-
exports.
|
|
132
|
-
var
|
|
133
|
-
exports.
|
|
131
|
+
exports.FindAndReplaceVue2 = FindAndReplaceVue2;
|
|
132
|
+
var FindAndReplace = FindAndReplaceVue2;
|
|
133
|
+
exports.FindAndReplace = FindAndReplace;
|
|
@@ -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;
|
|
@@ -46,8 +45,8 @@ export interface FontNameData {
|
|
|
46
45
|
/**
|
|
47
46
|
* @hidden
|
|
48
47
|
*/
|
|
49
|
-
export interface FontNameAll extends
|
|
48
|
+
export interface FontNameAll extends Vue2type, FontNameMethods, FontNameData, FontNameComputed, FontNameState {
|
|
50
49
|
}
|
|
51
|
-
declare let
|
|
52
|
-
declare const
|
|
53
|
-
export { FontName,
|
|
50
|
+
declare let FontNameVue2: ComponentOptions<FontNameAll, DefaultData<FontNameData>, DefaultMethods<FontNameAll>, FontNameComputed, RecordPropsDefinition<FontNameProps>>;
|
|
51
|
+
declare const FontName: DefineComponent<FontNameProps, any, FontNameData, FontNameComputed, FontNameMethods, {}, {}, {}, string, FontNameProps, FontNameProps, {}>;
|
|
52
|
+
export { FontName, FontNameVue2 };
|
|
@@ -46,7 +46,7 @@ var __spreadArrays = undefined && undefined.__spreadArrays || function () {
|
|
|
46
46
|
Object.defineProperty(exports, "__esModule", {
|
|
47
47
|
value: true
|
|
48
48
|
});
|
|
49
|
-
exports.
|
|
49
|
+
exports.FontNameVue2 = exports.FontName = void 0; // @ts-ignore
|
|
50
50
|
|
|
51
51
|
var Vue = require("vue");
|
|
52
52
|
|
|
@@ -64,7 +64,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
|
64
64
|
var messages_1 = require("./../messages"); // tslint:enable:max-line-length
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
var
|
|
67
|
+
var FontNameVue2 = {
|
|
68
68
|
name: 'KendoFontName',
|
|
69
69
|
props: __assign({
|
|
70
70
|
view: Object,
|
|
@@ -117,7 +117,7 @@ var FontName = {
|
|
|
117
117
|
|
|
118
118
|
var value = new Set(styles).size === 1 ? styles[0] : null;
|
|
119
119
|
|
|
120
|
-
var ddlProps = __assign(__assign(__assign({}, other),
|
|
120
|
+
var ddlProps = __assign(__assign(__assign({}, other), {
|
|
121
121
|
value: value ? items.find(function (i) {
|
|
122
122
|
return i.value === value;
|
|
123
123
|
}) : value,
|
|
@@ -127,7 +127,7 @@ var FontName = {
|
|
|
127
127
|
textField: 'text',
|
|
128
128
|
dataItemKey: 'value',
|
|
129
129
|
leftRightKeysNavigation: false
|
|
130
|
-
});
|
|
130
|
+
}), settings.props);
|
|
131
131
|
|
|
132
132
|
var dropdown = h(kendo_vue_dropdowns_1.DropDownList, __assign({
|
|
133
133
|
onChange: this.onChange,
|
|
@@ -172,6 +172,6 @@ var FontName = {
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
|
-
exports.
|
|
176
|
-
var
|
|
177
|
-
exports.
|
|
175
|
+
exports.FontNameVue2 = FontNameVue2;
|
|
176
|
+
var FontName = FontNameVue2;
|
|
177
|
+
exports.FontName = FontName;
|
|
@@ -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 FormatBlockData {
|
|
|
36
35
|
/**
|
|
37
36
|
* @hidden
|
|
38
37
|
*/
|
|
39
|
-
export interface FormatBlockAll extends
|
|
38
|
+
export interface FormatBlockAll extends Vue2type, FormatBlockMethods, FormatBlockData, FormatBlockComputed, FormatBlockState {
|
|
40
39
|
}
|
|
41
|
-
declare let
|
|
42
|
-
declare const
|
|
43
|
-
export { FormatBlock,
|
|
40
|
+
declare let FormatBlockVue2: ComponentOptions<FormatBlockAll, DefaultData<FormatBlockData>, DefaultMethods<FormatBlockAll>, FormatBlockComputed, RecordPropsDefinition<FormatBlockProps>>;
|
|
41
|
+
declare const FormatBlock: DefineComponent<FormatBlockProps, any, FormatBlockData, FormatBlockComputed, FormatBlockMethods, {}, {}, {}, string, FormatBlockProps, FormatBlockProps, {}>;
|
|
42
|
+
export { FormatBlock, FormatBlockVue2 };
|
|
@@ -46,7 +46,7 @@ var __spreadArrays = undefined && undefined.__spreadArrays || function () {
|
|
|
46
46
|
Object.defineProperty(exports, "__esModule", {
|
|
47
47
|
value: true
|
|
48
48
|
});
|
|
49
|
-
exports.
|
|
49
|
+
exports.FormatBlockVue2 = exports.FormatBlock = void 0; // @ts-ignore
|
|
50
50
|
|
|
51
51
|
var Vue = require("vue");
|
|
52
52
|
|
|
@@ -64,7 +64,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
|
64
64
|
var messages_1 = require("./../messages"); // tslint:enable:max-line-length
|
|
65
65
|
|
|
66
66
|
|
|
67
|
-
var
|
|
67
|
+
var FormatBlockVue2 = {
|
|
68
68
|
name: 'KendoFormatBlock',
|
|
69
69
|
props: __assign({
|
|
70
70
|
view: Object,
|
|
@@ -114,7 +114,7 @@ var FormatBlock = {
|
|
|
114
114
|
|
|
115
115
|
var value = new Set(formats).size === 1 ? formats[0] : null;
|
|
116
116
|
|
|
117
|
-
var ddlProps = __assign(__assign(__assign({}, other),
|
|
117
|
+
var ddlProps = __assign(__assign(__assign({}, other), {
|
|
118
118
|
value: value ? items.find(function (i) {
|
|
119
119
|
return i.value === value;
|
|
120
120
|
}) : value,
|
|
@@ -124,7 +124,7 @@ var FormatBlock = {
|
|
|
124
124
|
textField: 'text',
|
|
125
125
|
dataItemKey: 'value',
|
|
126
126
|
leftRightKeysNavigation: false
|
|
127
|
-
});
|
|
127
|
+
}), settings.props);
|
|
128
128
|
|
|
129
129
|
var dropdown = h(kendo_vue_dropdowns_1.DropDownList, __assign({
|
|
130
130
|
onChange: this.onChange,
|
|
@@ -164,6 +164,6 @@ var FormatBlock = {
|
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
|
-
exports.
|
|
168
|
-
var
|
|
169
|
-
exports.
|
|
167
|
+
exports.FormatBlockVue2 = FormatBlockVue2;
|
|
168
|
+
var FormatBlock = FormatBlockVue2;
|
|
169
|
+
exports.FormatBlock = FormatBlock;
|
|
@@ -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 IndentData {
|
|
|
35
34
|
/**
|
|
36
35
|
* @hidden
|
|
37
36
|
*/
|
|
38
|
-
export interface IndentAll extends
|
|
37
|
+
export interface IndentAll extends Vue2type, IndentMethods, IndentData, IndentComputed, IndentState {
|
|
39
38
|
}
|
|
40
|
-
declare let
|
|
41
|
-
declare const
|
|
42
|
-
export { Indent,
|
|
39
|
+
declare let IndentVue2: ComponentOptions<IndentAll, DefaultData<IndentData>, DefaultMethods<IndentAll>, IndentComputed, RecordPropsDefinition<IndentProps>>;
|
|
40
|
+
declare const Indent: DefineComponent<IndentProps, any, IndentData, IndentComputed, IndentMethods, {}, {}, {}, string, IndentProps, IndentProps, {}>;
|
|
41
|
+
export { Indent, IndentVue2 };
|
package/dist/npm/tools/indent.js
CHANGED
|
@@ -32,7 +32,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
32
32
|
Object.defineProperty(exports, "__esModule", {
|
|
33
33
|
value: true
|
|
34
34
|
});
|
|
35
|
-
exports.
|
|
35
|
+
exports.IndentVue2 = exports.Indent = void 0; // @ts-ignore
|
|
36
36
|
|
|
37
37
|
var Vue = require("vue");
|
|
38
38
|
|
|
@@ -48,7 +48,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
|
48
48
|
var messages_1 = require("./../messages"); // tslint:enable:max-line-length
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
var
|
|
51
|
+
var IndentVue2 = {
|
|
52
52
|
name: 'KendoIndent',
|
|
53
53
|
props: __assign({
|
|
54
54
|
view: Object,
|
|
@@ -95,10 +95,10 @@ var Indent = {
|
|
|
95
95
|
var localization = kendo_vue_intl_1.provideLocalizationService(this);
|
|
96
96
|
var titleKey = settings.messages.title;
|
|
97
97
|
|
|
98
|
-
var buttonProps = __assign(__assign(__assign({}, other),
|
|
98
|
+
var buttonProps = __assign(__assign(__assign({}, other), {
|
|
99
99
|
disabled: !canIndent,
|
|
100
100
|
title: localization.toLanguageString(titleKey, messages_1.messages[titleKey])
|
|
101
|
-
});
|
|
101
|
+
}), settings.props);
|
|
102
102
|
|
|
103
103
|
var button = h(kendo_vue_buttons_1.Button, __assign({
|
|
104
104
|
onClick: this.handleClick,
|
|
@@ -135,6 +135,6 @@ var Indent = {
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
|
-
exports.
|
|
139
|
-
var
|
|
140
|
-
exports.
|
|
138
|
+
exports.IndentVue2 = IndentVue2;
|
|
139
|
+
var Indent = IndentVue2;
|
|
140
|
+
exports.Indent = Indent;
|
|
@@ -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;
|
|
@@ -65,8 +64,8 @@ export interface InlineFormatData {
|
|
|
65
64
|
/**
|
|
66
65
|
* @hidden
|
|
67
66
|
*/
|
|
68
|
-
export interface InlineFormatAll extends
|
|
67
|
+
export interface InlineFormatAll extends Vue2type, InlineFormatMethods, InlineFormatData, InlineFormatComputed, InlineFormatState {
|
|
69
68
|
}
|
|
70
|
-
declare let
|
|
71
|
-
declare const
|
|
72
|
-
export { InlineFormat,
|
|
69
|
+
declare let InlineFormatVue2: ComponentOptions<InlineFormatAll, DefaultData<InlineFormatData>, DefaultMethods<InlineFormatAll>, InlineFormatComputed, RecordPropsDefinition<InlineFormatToolProps>>;
|
|
70
|
+
declare const InlineFormat: DefineComponent<InlineFormatToolProps, any, InlineFormatData, InlineFormatComputed, InlineFormatMethods, {}, {}, {}, string, InlineFormatToolProps, InlineFormatToolProps, {}>;
|
|
71
|
+
export { InlineFormat, InlineFormatVue2 };
|
|
@@ -32,7 +32,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
32
32
|
Object.defineProperty(exports, "__esModule", {
|
|
33
33
|
value: true
|
|
34
34
|
});
|
|
35
|
-
exports.
|
|
35
|
+
exports.InlineFormatVue2 = exports.InlineFormat = void 0; // @ts-ignore
|
|
36
36
|
|
|
37
37
|
var Vue = require("vue");
|
|
38
38
|
|
|
@@ -48,7 +48,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
|
48
48
|
var messages_1 = require("../messages"); // tslint:enable:max-line-length
|
|
49
49
|
|
|
50
50
|
|
|
51
|
-
var
|
|
51
|
+
var InlineFormatVue2 = {
|
|
52
52
|
name: 'KendoInlineFormat',
|
|
53
53
|
props: __assign({
|
|
54
54
|
view: Object,
|
|
@@ -95,11 +95,11 @@ var InlineFormat = {
|
|
|
95
95
|
var localization = kendo_vue_intl_1.provideLocalizationService(this);
|
|
96
96
|
var titleKey = settings.messages.title;
|
|
97
97
|
|
|
98
|
-
var buttonProps = __assign(__assign(__assign({}, other),
|
|
98
|
+
var buttonProps = __assign(__assign(__assign({}, other), {
|
|
99
99
|
selected: !!state && kendo_editor_common_1.hasMark(state, options),
|
|
100
100
|
togglable: true,
|
|
101
101
|
title: localization.toLanguageString(titleKey, messages_1.messages[titleKey])
|
|
102
|
-
});
|
|
102
|
+
}), settings.props);
|
|
103
103
|
|
|
104
104
|
var button = h(kendo_vue_buttons_1.Button, __assign({
|
|
105
105
|
onClick: this.handleClick,
|
|
@@ -133,6 +133,6 @@ var InlineFormat = {
|
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
|
-
exports.
|
|
137
|
-
var
|
|
138
|
-
exports.
|
|
136
|
+
exports.InlineFormatVue2 = InlineFormatVue2;
|
|
137
|
+
var InlineFormat = InlineFormatVue2;
|
|
138
|
+
exports.InlineFormat = InlineFormat;
|
|
@@ -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;
|
|
@@ -37,8 +36,8 @@ export interface InsertImageData {
|
|
|
37
36
|
/**
|
|
38
37
|
* @hidden
|
|
39
38
|
*/
|
|
40
|
-
export interface InsertImageAll extends
|
|
39
|
+
export interface InsertImageAll extends Vue2type, InsertImageMethods, InsertImageData, InsertImageComputed, InsertImageState {
|
|
41
40
|
}
|
|
42
|
-
declare let
|
|
43
|
-
declare const
|
|
44
|
-
export { InsertImage,
|
|
41
|
+
declare let InsertImageVue2: ComponentOptions<InsertImageAll, DefaultData<InsertImageData>, DefaultMethods<InsertImageAll>, InsertImageComputed, RecordPropsDefinition<InsertImageProps>>;
|
|
42
|
+
declare const InsertImage: DefineComponent<BasicToolProps, any, InsertImageData, InsertImageComputed, InsertImageMethods, {}, {}, {}, string, BasicToolProps, BasicToolProps, {}>;
|
|
43
|
+
export { InsertImage, InsertImageVue2 };
|
|
@@ -32,7 +32,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
32
32
|
Object.defineProperty(exports, "__esModule", {
|
|
33
33
|
value: true
|
|
34
34
|
});
|
|
35
|
-
exports.
|
|
35
|
+
exports.InsertImageVue2 = exports.InsertImage = void 0; // @ts-ignore
|
|
36
36
|
|
|
37
37
|
var Vue = require("vue");
|
|
38
38
|
|
|
@@ -50,7 +50,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
|
50
50
|
var messages_1 = require("./../messages"); // tslint:enable:max-line-length
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
53
|
+
var InsertImageVue2 = {
|
|
54
54
|
name: 'KendoInsertImage',
|
|
55
55
|
props: __assign({
|
|
56
56
|
view: Object,
|
|
@@ -95,11 +95,11 @@ var InsertImage = {
|
|
|
95
95
|
var localization = kendo_vue_intl_1.provideLocalizationService(this);
|
|
96
96
|
var insertImage = settings.messages.insertImage;
|
|
97
97
|
|
|
98
|
-
var buttonProps = __assign(__assign(__assign({}, other),
|
|
98
|
+
var buttonProps = __assign(__assign(__assign({}, other), {
|
|
99
99
|
key: 'insertImage',
|
|
100
100
|
disabled: !nodeType || !state || !kendo_editor_common_1.canInsert(state, nodeType),
|
|
101
101
|
title: localization.toLanguageString(insertImage, messages_1.messages[insertImage])
|
|
102
|
-
});
|
|
102
|
+
}), settings.props);
|
|
103
103
|
|
|
104
104
|
var button = h(kendo_vue_buttons_1.Button, __assign({
|
|
105
105
|
onClick: this.toggleDialog,
|
|
@@ -139,6 +139,6 @@ var InsertImage = {
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
|
-
exports.
|
|
143
|
-
var
|
|
144
|
-
exports.
|
|
142
|
+
exports.InsertImageVue2 = InsertImageVue2;
|
|
143
|
+
var InsertImage = InsertImageVue2;
|
|
144
|
+
exports.InsertImage = InsertImage;
|
|
@@ -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;
|
|
@@ -37,8 +36,8 @@ export interface LinkToolData {
|
|
|
37
36
|
/**
|
|
38
37
|
* @hidden
|
|
39
38
|
*/
|
|
40
|
-
export interface LinkToolAll extends
|
|
39
|
+
export interface LinkToolAll extends Vue2type, LinkToolMethods, LinkToolData, LinkToolComputed, LinkToolState {
|
|
41
40
|
}
|
|
42
|
-
declare let
|
|
43
|
-
declare const
|
|
44
|
-
export { LinkTool,
|
|
41
|
+
declare let LinkToolVue2: ComponentOptions<LinkToolAll, DefaultData<LinkToolData>, DefaultMethods<LinkToolAll>, LinkToolComputed, RecordPropsDefinition<LinkProps>>;
|
|
42
|
+
declare const LinkTool: DefineComponent<LinkProps, any, LinkToolData, LinkToolComputed, LinkToolMethods, {}, {}, {}, string, LinkProps, LinkProps, {}>;
|
|
43
|
+
export { LinkTool, LinkToolVue2 };
|
|
@@ -32,7 +32,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
32
32
|
Object.defineProperty(exports, "__esModule", {
|
|
33
33
|
value: true
|
|
34
34
|
});
|
|
35
|
-
exports.
|
|
35
|
+
exports.LinkToolVue2 = exports.LinkTool = void 0; // @ts-ignore
|
|
36
36
|
|
|
37
37
|
var Vue = require("vue");
|
|
38
38
|
|
|
@@ -50,7 +50,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
|
|
|
50
50
|
var messages_1 = require("./../messages"); // tslint:enable:max-line-length
|
|
51
51
|
|
|
52
52
|
|
|
53
|
-
var
|
|
53
|
+
var LinkToolVue2 = {
|
|
54
54
|
name: 'KendoLinkTool',
|
|
55
55
|
props: __assign({
|
|
56
56
|
view: Object,
|
|
@@ -95,11 +95,11 @@ var LinkTool = {
|
|
|
95
95
|
var localization = kendo_vue_intl_1.provideLocalizationService(this);
|
|
96
96
|
var insertHyperlink = settings.messages.insertHyperlink;
|
|
97
97
|
|
|
98
|
-
var buttonProps = __assign(__assign(__assign({}, other),
|
|
98
|
+
var buttonProps = __assign(__assign(__assign({}, other), {
|
|
99
99
|
key: 'link',
|
|
100
100
|
disabled: collapsed && !linkMark,
|
|
101
101
|
title: localization.toLanguageString(insertHyperlink, messages_1.messages[insertHyperlink])
|
|
102
|
-
});
|
|
102
|
+
}), settings.props);
|
|
103
103
|
|
|
104
104
|
var button = h(kendo_vue_buttons_1.Button, __assign({
|
|
105
105
|
onClick: this.toggleDialog,
|
|
@@ -139,6 +139,6 @@ var LinkTool = {
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
};
|
|
142
|
-
exports.
|
|
143
|
-
var
|
|
144
|
-
exports.
|
|
142
|
+
exports.LinkToolVue2 = LinkToolVue2;
|
|
143
|
+
var LinkTool = LinkToolVue2;
|
|
144
|
+
exports.LinkTool = LinkTool;
|
|
@@ -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;
|
|
@@ -71,8 +70,8 @@ export interface InsertTablePopupData {
|
|
|
71
70
|
/**
|
|
72
71
|
* @hidden
|
|
73
72
|
*/
|
|
74
|
-
export interface InsertTablePopupAll extends
|
|
73
|
+
export interface InsertTablePopupAll extends Vue2type, InsertTablePopupMethods, InsertTablePopupData, InsertTablePopupComputed, InsertTablePopupState {
|
|
75
74
|
}
|
|
76
|
-
declare let
|
|
77
|
-
declare const
|
|
78
|
-
export { InsertTablePopup,
|
|
75
|
+
declare let InsertTablePopupVue2: ComponentOptions<InsertTablePopupAll, DefaultData<InsertTablePopupData>, DefaultMethods<InsertTablePopupAll>, InsertTablePopupComputed, RecordPropsDefinition<InsertTablePopupProps>>;
|
|
76
|
+
declare const InsertTablePopup: DefineComponent<InsertTablePopupProps, any, InsertTablePopupData, InsertTablePopupComputed, InsertTablePopupMethods, {}, {}, {}, string, InsertTablePopupProps, InsertTablePopupProps, {}>;
|
|
77
|
+
export { InsertTablePopup, InsertTablePopupVue2 };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.InsertTablePopupVue2 = exports.InsertTablePopup = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ var kendo_vue_popup_1 = require("@progress/kendo-vue-popup");
|
|
|
15
15
|
var popupGrid_1 = require("./popupGrid"); // tslint:enable:max-line-length
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var InsertTablePopupVue2 = {
|
|
19
19
|
name: 'KendoInsertTablePopup',
|
|
20
20
|
props: {
|
|
21
21
|
show: {
|
|
@@ -174,6 +174,6 @@ var InsertTablePopup = {
|
|
|
174
174
|
}
|
|
175
175
|
}
|
|
176
176
|
};
|
|
177
|
-
exports.
|
|
178
|
-
var
|
|
179
|
-
exports.
|
|
177
|
+
exports.InsertTablePopupVue2 = InsertTablePopupVue2;
|
|
178
|
+
var InsertTablePopup = InsertTablePopupVue2;
|
|
179
|
+
exports.InsertTablePopup = InsertTablePopup;
|
|
@@ -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 PopupGridData {
|
|
|
42
41
|
/**
|
|
43
42
|
* @hidden
|
|
44
43
|
*/
|
|
45
|
-
export interface PopupGridAll extends
|
|
44
|
+
export interface PopupGridAll extends Vue2type, PopupGridMethods, PopupGridData, PopupGridComputed, PopupGridState {
|
|
46
45
|
}
|
|
47
|
-
declare let
|
|
48
|
-
declare const
|
|
49
|
-
export { PopupGrid,
|
|
46
|
+
declare let PopupGridVue2: ComponentOptions<PopupGridAll, DefaultData<PopupGridData>, DefaultMethods<PopupGridAll>, PopupGridComputed, RecordPropsDefinition<PopupGridProps>>;
|
|
47
|
+
declare const PopupGrid: DefineComponent<PopupGridProps, any, PopupGridData, PopupGridComputed, PopupGridMethods, {}, {}, {}, string, PopupGridProps, PopupGridProps, {}>;
|
|
48
|
+
export { PopupGrid, PopupGridVue2 };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.PopupGridVue2 = exports.PopupGrid = void 0; // @ts-ignore
|
|
7
7
|
|
|
8
8
|
var Vue = require("vue");
|
|
9
9
|
|
|
@@ -15,7 +15,7 @@ var utils_1 = require("../utils");
|
|
|
15
15
|
var cellClass = 'k-ct-cell k-state-disabled';
|
|
16
16
|
var selectedClass = 'k-state-selected'; // tslint:enable:max-line-length
|
|
17
17
|
|
|
18
|
-
var
|
|
18
|
+
var PopupGridVue2 = {
|
|
19
19
|
name: 'KendoPopupGrid',
|
|
20
20
|
props: {
|
|
21
21
|
rows: Number,
|
|
@@ -136,6 +136,6 @@ var PopupGrid = {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
|
-
exports.
|
|
140
|
-
var
|
|
141
|
-
exports.
|
|
139
|
+
exports.PopupGridVue2 = PopupGridVue2;
|
|
140
|
+
var PopupGrid = PopupGridVue2;
|
|
141
|
+
exports.PopupGrid = PopupGrid;
|
|
@@ -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;
|
|
@@ -44,8 +43,8 @@ export interface InsertTableData {
|
|
|
44
43
|
/**
|
|
45
44
|
* @hidden
|
|
46
45
|
*/
|
|
47
|
-
export interface InsertTableAll extends
|
|
46
|
+
export interface InsertTableAll extends Vue2type, InsertTableMethods, InsertTableData, InsertTableComputed, InsertTableState {
|
|
48
47
|
}
|
|
49
|
-
declare let
|
|
50
|
-
declare const
|
|
51
|
-
export { InsertTable,
|
|
48
|
+
declare let InsertTableVue2: ComponentOptions<InsertTableAll, DefaultData<InsertTableData>, DefaultMethods<InsertTableAll>, InsertTableComputed, RecordPropsDefinition<InsertTableProps>>;
|
|
49
|
+
declare const InsertTable: DefineComponent<InsertTableProps, any, InsertTableData, InsertTableComputed, InsertTableMethods, {}, {}, {}, string, InsertTableProps, InsertTableProps, {}>;
|
|
50
|
+
export { InsertTable, InsertTableVue2 };
|
|
@@ -32,7 +32,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
|
|
|
32
32
|
Object.defineProperty(exports, "__esModule", {
|
|
33
33
|
value: true
|
|
34
34
|
});
|
|
35
|
-
exports.
|
|
35
|
+
exports.InsertTableVue2 = exports.InsertTable = void 0; // @ts-ignore
|
|
36
36
|
|
|
37
37
|
var Vue = require("vue");
|
|
38
38
|
|
|
@@ -52,7 +52,7 @@ var messages_1 = require("./../../messages");
|
|
|
52
52
|
var kendo_editor_common_1 = require("@progress/kendo-editor-common"); // tslint:enable:max-line-length
|
|
53
53
|
|
|
54
54
|
|
|
55
|
-
var
|
|
55
|
+
var InsertTableVue2 = {
|
|
56
56
|
name: 'KendoInsertTable',
|
|
57
57
|
props: __assign({
|
|
58
58
|
view: Object,
|
|
@@ -103,11 +103,11 @@ var InsertTable = {
|
|
|
103
103
|
var createTableMsg = localization.toLanguageString(createTableMsgKey, messages_1.messages[createTableMsgKey]);
|
|
104
104
|
var createTableHintMsg = localization.toLanguageString(createTableHint, messages_1.messages[createTableHint]);
|
|
105
105
|
|
|
106
|
-
var buttonProps = __assign(__assign(__assign({}, other),
|
|
106
|
+
var buttonProps = __assign(__assign(__assign({}, other), {
|
|
107
107
|
disabled: !state || !kendo_editor_common_1.canInsert(state, state.schema.nodes.table),
|
|
108
108
|
key: 'InsertTable',
|
|
109
109
|
title: createTableMsg
|
|
110
|
-
});
|
|
110
|
+
}), settings.props);
|
|
111
111
|
|
|
112
112
|
var button = h(kendo_vue_buttons_1.Button, __assign({
|
|
113
113
|
ref: this.buttonRef,
|
|
@@ -175,6 +175,6 @@ var InsertTable = {
|
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
};
|
|
178
|
-
exports.
|
|
179
|
-
var
|
|
180
|
-
exports.
|
|
178
|
+
exports.InsertTableVue2 = InsertTableVue2;
|
|
179
|
+
var InsertTable = InsertTableVue2;
|
|
180
|
+
exports.InsertTable = InsertTable;
|
|
@@ -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;
|
|
@@ -45,8 +44,8 @@ export interface ListData {
|
|
|
45
44
|
/**
|
|
46
45
|
* @hidden
|
|
47
46
|
*/
|
|
48
|
-
export interface ListAll extends
|
|
47
|
+
export interface ListAll extends Vue2type, ListMethods, ListData, ListComputed, ListState {
|
|
49
48
|
}
|
|
50
|
-
declare let
|
|
51
|
-
declare const
|
|
52
|
-
export { List,
|
|
49
|
+
declare let ListVue2: ComponentOptions<ListAll, DefaultData<ListData>, DefaultMethods<ListAll>, ListComputed, RecordPropsDefinition<ListToolProps>>;
|
|
50
|
+
declare const List: DefineComponent<ListToolProps, any, ListData, ListComputed, ListMethods, {}, {}, {}, string, ListToolProps, ListToolProps, {}>;
|
|
51
|
+
export { List, ListVue2 };
|