@progress/kendo-vue-editor 3.5.0 → 3.5.1-dev.202208150613
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cdn/js/kendo-vue-editor.js +1 -1
- package/dist/es/Editor.d.ts +41 -41
- package/dist/es/Editor.js +7 -11
- package/dist/es/EditorProps.js +1 -0
- package/dist/es/config/pasteSettings.js +1 -0
- package/dist/es/config/toolsSettings.js +13 -11
- package/dist/es/dialogs/EditorDialogProps.js +1 -0
- package/dist/es/dialogs/FindReplace.js +4 -4
- package/dist/es/main.d.ts +0 -1
- package/dist/es/main.js +115 -28
- package/dist/es/messages/index.d.ts +0 -313
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/tools/ToolProps.d.ts +2 -1
- package/dist/es/tools/ToolProps.js +1 -0
- package/dist/es/tools/fontStyle.js +7 -11
- package/dist/es/tools/formatBlock.js +7 -11
- package/dist/es/tools/insertTable/popupGrid.js +1 -1
- package/dist/es/tools/main.js +1 -0
- package/dist/esm/Editor.d.ts +283 -0
- package/dist/esm/Editor.js +813 -0
- package/dist/esm/EditorProps.d.ts +182 -0
- package/dist/esm/EditorProps.js +1 -0
- package/dist/esm/additionalTypes.ts +21 -0
- package/dist/esm/config/defaultStyles.d.ts +12 -0
- package/dist/esm/config/defaultStyles.js +12 -0
- package/dist/esm/config/pasteSettings.d.ts +6 -0
- package/dist/esm/config/pasteSettings.js +1 -0
- package/dist/esm/config/schema.d.ts +8 -0
- package/dist/esm/config/schema.js +51 -0
- package/dist/esm/config/shortcuts.d.ts +22 -0
- package/dist/esm/config/shortcuts.js +70 -0
- package/dist/esm/config/toolsSettings.d.ts +485 -0
- package/dist/esm/config/toolsSettings.js +525 -0
- package/dist/esm/dialogs/EditorDialogProps.d.ts +23 -0
- package/dist/esm/dialogs/EditorDialogProps.js +1 -0
- package/dist/esm/dialogs/FindReplace.d.ts +70 -0
- package/dist/esm/dialogs/FindReplace.js +880 -0
- package/dist/esm/dialogs/insertImage.d.ts +54 -0
- package/dist/esm/dialogs/insertImage.js +299 -0
- package/dist/esm/dialogs/insertLink.d.ts +52 -0
- package/dist/esm/dialogs/insertLink.js +313 -0
- package/dist/esm/dialogs/main.d.ts +1 -0
- package/dist/esm/dialogs/main.js +42 -0
- package/dist/esm/dialogs/viewHtml.d.ts +51 -0
- package/dist/esm/dialogs/viewHtml.js +149 -0
- package/dist/esm/main.d.ts +184 -0
- package/dist/esm/main.js +216 -0
- package/dist/esm/messages/index.d.ts +166 -0
- package/dist/esm/messages/index.js +485 -0
- package/dist/esm/package-metadata.d.ts +5 -0
- package/dist/esm/package-metadata.js +11 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/tools/ToolProps.d.ts +35 -0
- package/dist/esm/tools/ToolProps.js +1 -0
- package/dist/esm/tools/align.d.ts +42 -0
- package/dist/esm/tools/align.js +124 -0
- package/dist/esm/tools/applyColor.d.ts +45 -0
- package/dist/esm/tools/applyColor.js +107 -0
- package/dist/esm/tools/cleanFormatting.d.ts +49 -0
- package/dist/esm/tools/cleanFormatting.js +122 -0
- package/dist/esm/tools/findReplace.d.ts +43 -0
- package/dist/esm/tools/findReplace.js +127 -0
- package/dist/esm/tools/fontStyle.d.ts +55 -0
- package/dist/esm/tools/fontStyle.js +166 -0
- package/dist/esm/tools/formatBlock.d.ts +45 -0
- package/dist/esm/tools/formatBlock.js +161 -0
- package/dist/esm/tools/history.d.ts +18 -0
- package/dist/esm/tools/history.js +5 -0
- package/dist/esm/tools/indent.d.ts +44 -0
- package/dist/esm/tools/indent.js +135 -0
- package/dist/esm/tools/inlineFormat.d.ts +74 -0
- package/dist/esm/tools/inlineFormat.js +133 -0
- package/dist/esm/tools/insertImage.d.ts +46 -0
- package/dist/esm/tools/insertImage.js +138 -0
- package/dist/esm/tools/insertLink.d.ts +46 -0
- package/dist/esm/tools/insertLink.js +138 -0
- package/dist/esm/tools/insertTable/index.d.ts +1 -0
- package/dist/esm/tools/insertTable/index.js +6 -0
- package/dist/esm/tools/insertTable/popup.d.ts +80 -0
- package/dist/esm/tools/insertTable/popup.js +176 -0
- package/dist/esm/tools/insertTable/popupGrid.d.ts +51 -0
- package/dist/esm/tools/insertTable/popupGrid.js +139 -0
- package/dist/esm/tools/insertTable/tool.d.ts +53 -0
- package/dist/esm/tools/insertTable/tool.js +173 -0
- package/dist/esm/tools/lists.d.ts +48 -0
- package/dist/esm/tools/lists.js +140 -0
- package/dist/esm/tools/main.d.ts +95 -0
- package/dist/esm/tools/main.js +1 -0
- package/dist/esm/tools/outdent.d.ts +44 -0
- package/dist/esm/tools/outdent.js +137 -0
- package/dist/esm/tools/pdf.d.ts +58 -0
- package/dist/esm/tools/pdf.js +113 -0
- package/dist/esm/tools/print.d.ts +49 -0
- package/dist/esm/tools/print.js +117 -0
- package/dist/esm/tools/proseMirrorTool.d.ts +48 -0
- package/dist/esm/tools/proseMirrorTool.js +118 -0
- package/dist/esm/tools/selectAll.d.ts +49 -0
- package/dist/esm/tools/selectAll.js +110 -0
- package/dist/esm/tools/tableEdit.d.ts +51 -0
- package/dist/esm/tools/tableEdit.js +43 -0
- package/dist/esm/tools/unlink.d.ts +47 -0
- package/dist/esm/tools/unlink.js +118 -0
- package/dist/esm/tools/utils.d.ts +18 -0
- package/dist/esm/tools/utils.js +36 -0
- package/dist/esm/tools/viewHtml.d.ts +54 -0
- package/dist/esm/tools/viewHtml.js +133 -0
- package/dist/esm/utils/browser-detection.d.ts +4 -0
- package/dist/esm/utils/browser-detection.js +5 -0
- package/dist/esm/utils/controlled-value.d.ts +5 -0
- package/dist/esm/utils/controlled-value.js +31 -0
- package/dist/esm/utils/index.d.ts +358 -0
- package/dist/esm/utils/index.js +422 -0
- package/dist/esm/utils/props-key.d.ts +5 -0
- package/dist/esm/utils/props-key.js +5 -0
- package/dist/npm/Editor.d.ts +41 -41
- package/dist/npm/Editor.js +18 -22
- package/dist/npm/config/schema.js +1 -1
- package/dist/npm/config/shortcuts.js +11 -9
- package/dist/npm/config/toolsSettings.js +13 -11
- package/dist/npm/dialogs/FindReplace.js +11 -11
- package/dist/npm/dialogs/insertImage.js +12 -12
- package/dist/npm/dialogs/insertLink.js +9 -9
- package/dist/npm/dialogs/viewHtml.js +7 -7
- package/dist/npm/main.d.ts +0 -1
- package/dist/npm/main.js +116 -29
- package/dist/npm/messages/index.d.ts +0 -313
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/tools/ToolProps.d.ts +2 -1
- package/dist/npm/tools/align.js +4 -4
- package/dist/npm/tools/applyColor.js +2 -2
- package/dist/npm/tools/cleanFormatting.js +2 -2
- package/dist/npm/tools/findReplace.js +1 -1
- package/dist/npm/tools/fontStyle.js +10 -14
- package/dist/npm/tools/formatBlock.js +10 -14
- package/dist/npm/tools/indent.js +11 -11
- package/dist/npm/tools/inlineFormat.js +3 -3
- package/dist/npm/tools/insertImage.js +2 -2
- package/dist/npm/tools/insertLink.js +2 -2
- package/dist/npm/tools/insertTable/popupGrid.js +2 -2
- package/dist/npm/tools/insertTable/tool.js +5 -5
- package/dist/npm/tools/lists.js +4 -4
- package/dist/npm/tools/outdent.js +7 -7
- package/dist/npm/tools/pdf.js +2 -2
- package/dist/npm/tools/print.js +1 -1
- package/dist/npm/tools/proseMirrorTool.js +1 -1
- package/dist/npm/tools/selectAll.js +2 -2
- package/dist/npm/tools/tableEdit.js +4 -4
- package/dist/npm/tools/unlink.js +3 -3
- package/dist/npm/tools/viewHtml.js +1 -1
- package/dist/npm/utils/controlled-value.js +2 -1
- package/dist/npm/utils/index.js +35 -35
- package/package.json +18 -12
package/dist/npm/utils/index.js
CHANGED
|
@@ -27,7 +27,7 @@ var EditorUtils;
|
|
|
27
27
|
* @returns {boolean} - If alignment is applied to any of the elements, returns `true`.
|
|
28
28
|
*/
|
|
29
29
|
function alignBlocks(view, actions, command) {
|
|
30
|
-
return Boolean(kendo_editor_common_1.alignBlocks(actions, command)(view.state, view.dispatch));
|
|
30
|
+
return Boolean((0, kendo_editor_common_1.alignBlocks)(actions, command)(view.state, view.dispatch));
|
|
31
31
|
}
|
|
32
32
|
EditorUtils.alignBlocks = alignBlocks;
|
|
33
33
|
/**
|
|
@@ -36,7 +36,7 @@ var EditorUtils;
|
|
|
36
36
|
* @returns {boolean} - If a style is applied to any of the elements, returns `true`.
|
|
37
37
|
*/
|
|
38
38
|
function applyInlineStyle(view, options, command) {
|
|
39
|
-
return kendo_editor_common_1.applyInlineStyle(options, command)(view.state, view.dispatch);
|
|
39
|
+
return (0, kendo_editor_common_1.applyInlineStyle)(options, command)(view.state, view.dispatch);
|
|
40
40
|
}
|
|
41
41
|
EditorUtils.applyInlineStyle = applyInlineStyle;
|
|
42
42
|
/**
|
|
@@ -45,7 +45,7 @@ var EditorUtils;
|
|
|
45
45
|
* @returns {boolean} - If the link is applied, returns `true`.
|
|
46
46
|
*/
|
|
47
47
|
function applyLink(view, options, command) {
|
|
48
|
-
return kendo_editor_common_1.applyLink(options, command)(view.state, view.dispatch);
|
|
48
|
+
return (0, kendo_editor_common_1.applyLink)(options, command)(view.state, view.dispatch);
|
|
49
49
|
}
|
|
50
50
|
EditorUtils.applyLink = applyLink;
|
|
51
51
|
/**
|
|
@@ -54,7 +54,7 @@ var EditorUtils;
|
|
|
54
54
|
* @returns {boolean}
|
|
55
55
|
*/
|
|
56
56
|
function canIndentList(state, nodeType) {
|
|
57
|
-
return kendo_editor_common_1.canIndentAsListItem(state, nodeType);
|
|
57
|
+
return (0, kendo_editor_common_1.canIndentAsListItem)(state, nodeType);
|
|
58
58
|
}
|
|
59
59
|
EditorUtils.canIndentList = canIndentList;
|
|
60
60
|
/**
|
|
@@ -65,7 +65,7 @@ var EditorUtils;
|
|
|
65
65
|
* @returns {boolean} - The node of this type can be inserted in the current selection.
|
|
66
66
|
*/
|
|
67
67
|
function canInsert(state, nodeType) {
|
|
68
|
-
return kendo_editor_common_1.canInsert(state, nodeType);
|
|
68
|
+
return (0, kendo_editor_common_1.canInsert)(state, nodeType);
|
|
69
69
|
}
|
|
70
70
|
EditorUtils.canInsert = canInsert;
|
|
71
71
|
/**
|
|
@@ -74,7 +74,7 @@ var EditorUtils;
|
|
|
74
74
|
* @returns {boolean}
|
|
75
75
|
*/
|
|
76
76
|
function canOutdentList(state, listsTypes) {
|
|
77
|
-
return kendo_editor_common_1.canOutdentAsListItem(state, { listsTypes: listsTypes, nodes: [] });
|
|
77
|
+
return (0, kendo_editor_common_1.canOutdentAsListItem)(state, { listsTypes: listsTypes, nodes: [] });
|
|
78
78
|
}
|
|
79
79
|
EditorUtils.canOutdentList = canOutdentList;
|
|
80
80
|
/**
|
|
@@ -84,7 +84,7 @@ var EditorUtils;
|
|
|
84
84
|
* @returns {string} - The result HTML.
|
|
85
85
|
*/
|
|
86
86
|
function convertMsLists(html) {
|
|
87
|
-
return kendo_editor_common_1.convertMsLists(html);
|
|
87
|
+
return (0, kendo_editor_common_1.convertMsLists)(html);
|
|
88
88
|
}
|
|
89
89
|
EditorUtils.convertMsLists = convertMsLists;
|
|
90
90
|
/**
|
|
@@ -96,7 +96,7 @@ var EditorUtils;
|
|
|
96
96
|
* @returns {Node} - The `document` object of the Editor.
|
|
97
97
|
*/
|
|
98
98
|
function createDocument(schema, html, parseOptions) {
|
|
99
|
-
return kendo_editor_common_1.parseContent(kendo_editor_common_1.trimWhitespace(html), schema, parseOptions !== undefined ? parseOptions : { preserveWhitespace: 'full' });
|
|
99
|
+
return (0, kendo_editor_common_1.parseContent)((0, kendo_editor_common_1.trimWhitespace)(html), schema, parseOptions !== undefined ? parseOptions : { preserveWhitespace: 'full' });
|
|
100
100
|
}
|
|
101
101
|
EditorUtils.createDocument = createDocument;
|
|
102
102
|
/**
|
|
@@ -119,7 +119,7 @@ var EditorUtils;
|
|
|
119
119
|
* ```
|
|
120
120
|
*/
|
|
121
121
|
function createTable(tableTypes, rows, columns) {
|
|
122
|
-
return kendo_editor_common_1.createTable(tableTypes, rows, columns);
|
|
122
|
+
return (0, kendo_editor_common_1.createTable)(tableTypes, rows, columns);
|
|
123
123
|
}
|
|
124
124
|
EditorUtils.createTable = createTable;
|
|
125
125
|
/**
|
|
@@ -128,7 +128,7 @@ var EditorUtils;
|
|
|
128
128
|
* @returns {boolean} - If an element is formatted, returns `true`.
|
|
129
129
|
*/
|
|
130
130
|
function formatBlockElements(view, value, commandName) {
|
|
131
|
-
return kendo_editor_common_1.formatBlockElements(value, commandName)(view.state, view.dispatch);
|
|
131
|
+
return (0, kendo_editor_common_1.formatBlockElements)(value, commandName)(view.state, view.dispatch);
|
|
132
132
|
}
|
|
133
133
|
EditorUtils.formatBlockElements = formatBlockElements;
|
|
134
134
|
/**
|
|
@@ -137,7 +137,7 @@ var EditorUtils;
|
|
|
137
137
|
* @returns {string[]}
|
|
138
138
|
*/
|
|
139
139
|
function getBlockFormats(state) {
|
|
140
|
-
return kendo_editor_common_1.getBlockFormats(state);
|
|
140
|
+
return (0, kendo_editor_common_1.getBlockFormats)(state);
|
|
141
141
|
}
|
|
142
142
|
EditorUtils.getBlockFormats = getBlockFormats;
|
|
143
143
|
/**
|
|
@@ -148,14 +148,14 @@ var EditorUtils;
|
|
|
148
148
|
* @returns {string} - The HTML content.
|
|
149
149
|
*/
|
|
150
150
|
function getHtml(state) {
|
|
151
|
-
return kendo_editor_common_1.getHtml(state);
|
|
151
|
+
return (0, kendo_editor_common_1.getHtml)(state);
|
|
152
152
|
}
|
|
153
153
|
EditorUtils.getHtml = getHtml;
|
|
154
154
|
/**
|
|
155
155
|
* @returns {string[]} - An array of matched styles that are found in the selection.
|
|
156
156
|
*/
|
|
157
157
|
function getInlineStyles(state, style) {
|
|
158
|
-
return kendo_editor_common_1.getInlineStyles(state, style);
|
|
158
|
+
return (0, kendo_editor_common_1.getInlineStyles)(state, style);
|
|
159
159
|
}
|
|
160
160
|
EditorUtils.getInlineStyles = getInlineStyles;
|
|
161
161
|
/**
|
|
@@ -164,7 +164,7 @@ var EditorUtils;
|
|
|
164
164
|
* @returns {Mark<any>}
|
|
165
165
|
*/
|
|
166
166
|
function getMark(state, markType) {
|
|
167
|
-
return kendo_editor_common_1.getMark(state, markType);
|
|
167
|
+
return (0, kendo_editor_common_1.getMark)(state, markType);
|
|
168
168
|
}
|
|
169
169
|
EditorUtils.getMark = getMark;
|
|
170
170
|
/**
|
|
@@ -173,7 +173,7 @@ var EditorUtils;
|
|
|
173
173
|
* @returns {boolean}
|
|
174
174
|
*/
|
|
175
175
|
function hasMark(state, options) {
|
|
176
|
-
return kendo_editor_common_1.hasMark(state, options);
|
|
176
|
+
return (0, kendo_editor_common_1.hasMark)(state, options);
|
|
177
177
|
}
|
|
178
178
|
EditorUtils.hasMark = hasMark;
|
|
179
179
|
/**
|
|
@@ -182,7 +182,7 @@ var EditorUtils;
|
|
|
182
182
|
* @returns {boolean}
|
|
183
183
|
*/
|
|
184
184
|
function hasNode(state, nodeType) {
|
|
185
|
-
return kendo_editor_common_1.hasNode(state, nodeType);
|
|
185
|
+
return (0, kendo_editor_common_1.hasNode)(state, nodeType);
|
|
186
186
|
}
|
|
187
187
|
EditorUtils.hasNode = hasNode;
|
|
188
188
|
/**
|
|
@@ -191,7 +191,7 @@ var EditorUtils;
|
|
|
191
191
|
* @returns {boolean} - If indentation is applied to any of the elements, returns `true`.
|
|
192
192
|
*/
|
|
193
193
|
function indentBlocks(view, actions, command, dir) {
|
|
194
|
-
return Boolean(kendo_editor_common_1.indentBlocks(actions, command, dir)(view.state, view.dispatch));
|
|
194
|
+
return Boolean((0, kendo_editor_common_1.indentBlocks)(actions, command, dir)(view.state, view.dispatch));
|
|
195
195
|
}
|
|
196
196
|
EditorUtils.indentBlocks = indentBlocks;
|
|
197
197
|
/**
|
|
@@ -201,7 +201,7 @@ var EditorUtils;
|
|
|
201
201
|
* @returns {string} - The indented HTML.
|
|
202
202
|
*/
|
|
203
203
|
function indentHtml(content) {
|
|
204
|
-
return kendo_editor_common_1.indentHtml(content);
|
|
204
|
+
return (0, kendo_editor_common_1.indentHtml)(content);
|
|
205
205
|
}
|
|
206
206
|
EditorUtils.indentHtml = indentHtml;
|
|
207
207
|
/**
|
|
@@ -213,7 +213,7 @@ var EditorUtils;
|
|
|
213
213
|
* Defines if the content element will be scrolled to the current selection.
|
|
214
214
|
*/
|
|
215
215
|
function insertNode(view, node, scrollIntoView) {
|
|
216
|
-
kendo_editor_common_1.insertNode(node, scrollIntoView)(view.state, view.dispatch);
|
|
216
|
+
(0, kendo_editor_common_1.insertNode)(node, scrollIntoView)(view.state, view.dispatch);
|
|
217
217
|
}
|
|
218
218
|
EditorUtils.insertNode = insertNode;
|
|
219
219
|
/**
|
|
@@ -222,7 +222,7 @@ var EditorUtils;
|
|
|
222
222
|
* @returns {boolean}
|
|
223
223
|
*/
|
|
224
224
|
function isAligned(state, actions) {
|
|
225
|
-
return kendo_editor_common_1.isAligned(state, actions);
|
|
225
|
+
return (0, kendo_editor_common_1.isAligned)(state, actions);
|
|
226
226
|
}
|
|
227
227
|
EditorUtils.isAligned = isAligned;
|
|
228
228
|
/**
|
|
@@ -231,7 +231,7 @@ var EditorUtils;
|
|
|
231
231
|
* @returns {boolean}
|
|
232
232
|
*/
|
|
233
233
|
function isIndented(state, actions, dir) {
|
|
234
|
-
return kendo_editor_common_1.isIndented(state, actions, dir);
|
|
234
|
+
return (0, kendo_editor_common_1.isIndented)(state, actions, dir);
|
|
235
235
|
}
|
|
236
236
|
EditorUtils.isIndented = isIndented;
|
|
237
237
|
/**
|
|
@@ -247,7 +247,7 @@ var EditorUtils;
|
|
|
247
247
|
* ```
|
|
248
248
|
*/
|
|
249
249
|
function removeComments(html) {
|
|
250
|
-
return kendo_editor_common_1.removeComments(html);
|
|
250
|
+
return (0, kendo_editor_common_1.removeComments)(html);
|
|
251
251
|
}
|
|
252
252
|
EditorUtils.removeComments = removeComments;
|
|
253
253
|
/**
|
|
@@ -265,7 +265,7 @@ var EditorUtils;
|
|
|
265
265
|
* ```
|
|
266
266
|
*/
|
|
267
267
|
function removeTag(html, tag) {
|
|
268
|
-
return kendo_editor_common_1.removeTag(html, tag);
|
|
268
|
+
return (0, kendo_editor_common_1.removeTag)(html, tag);
|
|
269
269
|
}
|
|
270
270
|
EditorUtils.removeTag = removeTag;
|
|
271
271
|
/**
|
|
@@ -276,7 +276,7 @@ var EditorUtils;
|
|
|
276
276
|
* @returns {string} - The resulting HTML.
|
|
277
277
|
*/
|
|
278
278
|
function pasteCleanup(html, settings) {
|
|
279
|
-
return kendo_editor_common_1.pasteCleanup(html, settings);
|
|
279
|
+
return (0, kendo_editor_common_1.pasteCleanup)(html, settings);
|
|
280
280
|
}
|
|
281
281
|
EditorUtils.pasteCleanup = pasteCleanup;
|
|
282
282
|
/**
|
|
@@ -287,7 +287,7 @@ var EditorUtils;
|
|
|
287
287
|
* @param {Attr} attr - The DOM class attribute that will be sanitized.
|
|
288
288
|
*/
|
|
289
289
|
function sanitizeClassAttr(attr) {
|
|
290
|
-
kendo_editor_common_1.sanitizeClassAttr(attr);
|
|
290
|
+
(0, kendo_editor_common_1.sanitizeClassAttr)(attr);
|
|
291
291
|
}
|
|
292
292
|
EditorUtils.sanitizeClassAttr = sanitizeClassAttr;
|
|
293
293
|
/**
|
|
@@ -299,7 +299,7 @@ var EditorUtils;
|
|
|
299
299
|
* @param {Attr} attr - The DOM style attribute that will be sanitized.
|
|
300
300
|
*/
|
|
301
301
|
function sanitizeStyleAttr(attr) {
|
|
302
|
-
kendo_editor_common_1.sanitizeStyleAttr(attr);
|
|
302
|
+
(0, kendo_editor_common_1.sanitizeStyleAttr)(attr);
|
|
303
303
|
}
|
|
304
304
|
EditorUtils.sanitizeStyleAttr = sanitizeStyleAttr;
|
|
305
305
|
/**
|
|
@@ -308,7 +308,7 @@ var EditorUtils;
|
|
|
308
308
|
* @param {Attr} attr - The DOM attribute that will be removed.
|
|
309
309
|
*/
|
|
310
310
|
function removeAttribute(attr) {
|
|
311
|
-
kendo_editor_common_1.removeAttribute(attr);
|
|
311
|
+
(0, kendo_editor_common_1.removeAttribute)(attr);
|
|
312
312
|
}
|
|
313
313
|
EditorUtils.removeAttribute = removeAttribute;
|
|
314
314
|
/**
|
|
@@ -324,7 +324,7 @@ var EditorUtils;
|
|
|
324
324
|
* ```
|
|
325
325
|
*/
|
|
326
326
|
function sanitize(html) {
|
|
327
|
-
return kendo_editor_common_1.sanitize(html);
|
|
327
|
+
return (0, kendo_editor_common_1.sanitize)(html);
|
|
328
328
|
}
|
|
329
329
|
EditorUtils.sanitize = sanitize;
|
|
330
330
|
/**
|
|
@@ -336,7 +336,7 @@ var EditorUtils;
|
|
|
336
336
|
* @returns - The html with the replaced images sources.
|
|
337
337
|
*/
|
|
338
338
|
function replaceImageSourcesFromRtf(html, clipboardData) {
|
|
339
|
-
return kendo_editor_common_1.replaceImageSourcesFromRtf(html, clipboardData);
|
|
339
|
+
return (0, kendo_editor_common_1.replaceImageSourcesFromRtf)(html, clipboardData);
|
|
340
340
|
}
|
|
341
341
|
EditorUtils.replaceImageSourcesFromRtf = replaceImageSourcesFromRtf;
|
|
342
342
|
/**
|
|
@@ -346,7 +346,7 @@ var EditorUtils;
|
|
|
346
346
|
* @returns {Plugin} - The text highlight plugin.
|
|
347
347
|
*/
|
|
348
348
|
function textHighlight(key) {
|
|
349
|
-
return kendo_editor_common_1.textHighlight(key);
|
|
349
|
+
return (0, kendo_editor_common_1.textHighlight)(key);
|
|
350
350
|
}
|
|
351
351
|
EditorUtils.textHighlight = textHighlight;
|
|
352
352
|
/**
|
|
@@ -356,7 +356,7 @@ var EditorUtils;
|
|
|
356
356
|
* @returns {Plugin} - The image resizing plugin.
|
|
357
357
|
*/
|
|
358
358
|
function imageResizing(options) {
|
|
359
|
-
return kendo_editor_common_1.imageResizing(options);
|
|
359
|
+
return (0, kendo_editor_common_1.imageResizing)(options);
|
|
360
360
|
}
|
|
361
361
|
EditorUtils.imageResizing = imageResizing;
|
|
362
362
|
/**
|
|
@@ -371,8 +371,8 @@ var EditorUtils;
|
|
|
371
371
|
* Defines the options that will be used for parsing the HTML. Defaults to `{ preserveWhitespace: 'full' }`.
|
|
372
372
|
*/
|
|
373
373
|
function setHtml(view, html, command, parseOptions) {
|
|
374
|
-
var trimmed = kendo_editor_common_1.trimWhitespace(html);
|
|
375
|
-
kendo_editor_common_1.setHtml(trimmed, command, parseOptions)(view.state, view.dispatch);
|
|
374
|
+
var trimmed = (0, kendo_editor_common_1.trimWhitespace)(html);
|
|
375
|
+
(0, kendo_editor_common_1.setHtml)(trimmed, command, parseOptions)(view.state, view.dispatch);
|
|
376
376
|
}
|
|
377
377
|
EditorUtils.setHtml = setHtml;
|
|
378
378
|
/**
|
|
@@ -381,7 +381,7 @@ var EditorUtils;
|
|
|
381
381
|
* @returns {boolean}
|
|
382
382
|
*/
|
|
383
383
|
function toggleInlineFormat(view, options, transaction, markAttrs) {
|
|
384
|
-
return kendo_editor_common_1.toggleInlineFormat(options, transaction, markAttrs)(view.state, view.dispatch);
|
|
384
|
+
return (0, kendo_editor_common_1.toggleInlineFormat)(options, transaction, markAttrs)(view.state, view.dispatch);
|
|
385
385
|
}
|
|
386
386
|
EditorUtils.toggleInlineFormat = toggleInlineFormat;
|
|
387
387
|
/**
|
|
@@ -390,7 +390,7 @@ var EditorUtils;
|
|
|
390
390
|
* @returns {boolean}
|
|
391
391
|
*/
|
|
392
392
|
function toggleList(view, types, command) {
|
|
393
|
-
return kendo_editor_common_1.toggleList(view.state, view.dispatch, view, types, command);
|
|
393
|
+
return (0, kendo_editor_common_1.toggleList)(view.state, view.dispatch, view, types, command);
|
|
394
394
|
}
|
|
395
395
|
EditorUtils.toggleList = toggleList;
|
|
396
396
|
/* eslint-disable max-len */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-editor",
|
|
3
3
|
"description": "Kendo UI for Vue Editor package",
|
|
4
|
-
"version": "3.5.
|
|
4
|
+
"version": "3.5.1-dev.202208150613",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
"types": "dist/npm/main.d.ts",
|
|
11
11
|
"module": "dist/es/main.js",
|
|
12
12
|
"jsnext:main": "dist/es/main.js",
|
|
13
|
+
"exports": {
|
|
14
|
+
"node": "./dist/esm/main.js",
|
|
15
|
+
"import": "./dist/es/main.js",
|
|
16
|
+
"require": "./dist/npm/main.js",
|
|
17
|
+
"default": "./dist/npm/main.js"
|
|
18
|
+
},
|
|
13
19
|
"scripts": {
|
|
14
20
|
"test": "cd ../../ && npm run test -- --testPathPattern=/packages/editor/.*",
|
|
15
21
|
"start": "gulp start",
|
|
@@ -43,21 +49,21 @@
|
|
|
43
49
|
},
|
|
44
50
|
"dependencies": {
|
|
45
51
|
"@progress/kendo-editor-common": "1.8.0",
|
|
46
|
-
"@progress/kendo-vue-common": "3.5.
|
|
52
|
+
"@progress/kendo-vue-common": "3.5.1-dev.202208150613"
|
|
47
53
|
},
|
|
48
54
|
"devDependencies": {
|
|
49
55
|
"@progress/kendo-drawing": "^1.8.0",
|
|
50
56
|
"@progress/kendo-licensing": "^1.0.1",
|
|
51
|
-
"@progress/kendo-vue-buttons": "3.5.
|
|
52
|
-
"@progress/kendo-vue-dialogs": "3.5.
|
|
53
|
-
"@progress/kendo-vue-dropdowns": "3.5.
|
|
54
|
-
"@progress/kendo-vue-form": "3.5.
|
|
55
|
-
"@progress/kendo-vue-inputs": "3.5.
|
|
56
|
-
"@progress/kendo-vue-intl": "3.5.
|
|
57
|
-
"@progress/kendo-vue-layout": "3.5.
|
|
58
|
-
"@progress/kendo-vue-pdf": "3.5.
|
|
59
|
-
"@progress/kendo-vue-popup": "3.5.
|
|
60
|
-
"@progress/kendo-vue-upload": "3.5.
|
|
57
|
+
"@progress/kendo-vue-buttons": "3.5.1-dev.202208150613",
|
|
58
|
+
"@progress/kendo-vue-dialogs": "3.5.1-dev.202208150613",
|
|
59
|
+
"@progress/kendo-vue-dropdowns": "3.5.1-dev.202208150613",
|
|
60
|
+
"@progress/kendo-vue-form": "3.5.1-dev.202208150613",
|
|
61
|
+
"@progress/kendo-vue-inputs": "3.5.1-dev.202208150613",
|
|
62
|
+
"@progress/kendo-vue-intl": "3.5.1-dev.202208150613",
|
|
63
|
+
"@progress/kendo-vue-layout": "3.5.1-dev.202208150613",
|
|
64
|
+
"@progress/kendo-vue-pdf": "3.5.1-dev.202208150613",
|
|
65
|
+
"@progress/kendo-vue-popup": "3.5.1-dev.202208150613",
|
|
66
|
+
"@progress/kendo-vue-upload": "3.5.1-dev.202208150613"
|
|
61
67
|
},
|
|
62
68
|
"@progress": {
|
|
63
69
|
"friendlyName": "Editor",
|