@progress/kendo-vue-editor 8.0.3-develop.1 → 8.0.3-develop.3

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.
Files changed (53) hide show
  1. package/Editor.d.ts +587 -0
  2. package/Editor.mjs +2 -2
  3. package/EditorProps.d.ts +201 -0
  4. package/config/defaultStyles.d.ts +19 -0
  5. package/config/pasteSettings.d.ts +13 -0
  6. package/config/schema.d.ts +15 -0
  7. package/config/schema.mjs +3 -3
  8. package/config/shortcuts.d.ts +31 -0
  9. package/config/shortcuts.mjs +4 -4
  10. package/config/toolsSettings.d.ts +496 -0
  11. package/dialogs/EditorDialogProps.d.ts +30 -0
  12. package/dialogs/FindReplace.d.ts +83 -0
  13. package/dialogs/insertImage.d.ts +46 -0
  14. package/dialogs/insertLink.d.ts +42 -0
  15. package/dialogs/main.d.ts +7 -0
  16. package/dist/cdn/js/kendo-vue-editor.js +1 -1
  17. package/index.d.mts +192 -1920
  18. package/index.d.ts +192 -1920
  19. package/messages/main.d.ts +181 -0
  20. package/package-metadata.d.ts +12 -0
  21. package/package-metadata.js +1 -1
  22. package/package-metadata.mjs +2 -2
  23. package/package.json +20 -14
  24. package/tools/ToolProps.d.ts +42 -0
  25. package/tools/align.d.ts +17 -0
  26. package/tools/cleanFormatting.d.ts +25 -0
  27. package/tools/findReplace.d.ts +24 -0
  28. package/tools/fontStyle.d.ts +31 -0
  29. package/tools/formatBlock.d.ts +21 -0
  30. package/tools/history.d.ts +25 -0
  31. package/tools/indent.d.ts +20 -0
  32. package/tools/inlineFormat.d.ts +50 -0
  33. package/tools/insertImage.d.ts +23 -0
  34. package/tools/insertLink.d.ts +23 -0
  35. package/tools/insertTable/popup.d.ts +112 -0
  36. package/tools/insertTable/popupGrid.d.ts +43 -0
  37. package/tools/insertTable/tool.d.ts +26 -0
  38. package/tools/lists.d.ts +24 -0
  39. package/tools/main.d.ts +102 -0
  40. package/tools/outdent.d.ts +20 -0
  41. package/tools/pdf.d.ts +34 -0
  42. package/tools/print.d.ts +25 -0
  43. package/tools/proseMirrorTool.d.ts +23 -0
  44. package/tools/selectAll.d.ts +25 -0
  45. package/tools/tableEdit.d.ts +58 -0
  46. package/tools/unlink.d.ts +22 -0
  47. package/tools/utils.d.ts +25 -0
  48. package/tools/viewHtml.d.ts +26 -0
  49. package/utils/browser-detection.d.ts +11 -0
  50. package/utils/cleanup.d.ts +38 -0
  51. package/utils/controlled-value.d.ts +12 -0
  52. package/utils/main.d.ts +364 -0
  53. package/utils/props-key.d.ts +12 -0
package/Editor.d.ts ADDED
@@ -0,0 +1,587 @@
1
+ /**
2
+ * @license
3
+ *-------------------------------------------------------------------------------------------
4
+ * Copyright © 2026 Progress Software Corporation. All rights reserved.
5
+ * Licensed under commercial license. See LICENSE.md in the package root for more information
6
+ *-------------------------------------------------------------------------------------------
7
+ */
8
+ import { EditorState, Transaction, EditorView, Node } from '@progress/kendo-editor-common';
9
+ import { EditorToolsSettings } from './config/toolsSettings';
10
+ import { EditorMountEvent, EditorPasteEvent } from './EditorProps';
11
+ import { PropType } from 'vue';
12
+ /** @hidden */
13
+ export declare const allTools: {
14
+ Bold: {
15
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
16
+ handleClick(): boolean;
17
+ preventDefault(e: any): void;
18
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
19
+ [x: string]: any;
20
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
21
+ props: EditorToolsSettings.InlineFormatSettings;
22
+ };
23
+ Italic: {
24
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
25
+ handleClick(): boolean;
26
+ preventDefault(e: any): void;
27
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
28
+ [x: string]: any;
29
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
30
+ props: EditorToolsSettings.InlineFormatSettings;
31
+ };
32
+ Underline: {
33
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
34
+ handleClick(): boolean;
35
+ preventDefault(e: any): void;
36
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
37
+ [x: string]: any;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
39
+ props: EditorToolsSettings.InlineFormatSettings;
40
+ };
41
+ Strikethrough: {
42
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
43
+ handleClick(): boolean;
44
+ preventDefault(e: any): void;
45
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
46
+ [x: string]: any;
47
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
48
+ props: EditorToolsSettings.InlineFormatSettings;
49
+ };
50
+ Subscript: {
51
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
52
+ handleClick(): boolean;
53
+ preventDefault(e: any): void;
54
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
55
+ [x: string]: any;
56
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
57
+ props: EditorToolsSettings.InlineFormatSettings;
58
+ };
59
+ Superscript: {
60
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
61
+ handleClick(): boolean;
62
+ preventDefault(e: any): void;
63
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
64
+ [x: string]: any;
65
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
66
+ props: EditorToolsSettings.InlineFormatSettings;
67
+ };
68
+ AlignLeft: {
69
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
70
+ handleClick(): boolean | void;
71
+ preventDefault(e: any): void;
72
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
73
+ [x: string]: any;
74
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
75
+ props: EditorToolsSettings.AlignSettings;
76
+ };
77
+ AlignCenter: {
78
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
79
+ handleClick(): boolean | void;
80
+ preventDefault(e: any): void;
81
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
82
+ [x: string]: any;
83
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
84
+ props: EditorToolsSettings.AlignSettings;
85
+ };
86
+ AlignRight: {
87
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
88
+ handleClick(): boolean | void;
89
+ preventDefault(e: any): void;
90
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
91
+ [x: string]: any;
92
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
93
+ props: EditorToolsSettings.AlignSettings;
94
+ };
95
+ AlignJustify: {
96
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
97
+ handleClick(): boolean | void;
98
+ preventDefault(e: any): void;
99
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
100
+ [x: string]: any;
101
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
102
+ props: EditorToolsSettings.AlignSettings;
103
+ };
104
+ Indent: {
105
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
106
+ handleClick(): void;
107
+ preventDefault(e: any): void;
108
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
109
+ [x: string]: any;
110
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
111
+ props: EditorToolsSettings.IndentationSettings;
112
+ };
113
+ Outdent: {
114
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
115
+ handleClick(): void;
116
+ preventDefault(e: any): void;
117
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
118
+ [x: string]: any;
119
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
120
+ props: EditorToolsSettings.IndentationSettings;
121
+ };
122
+ OrderedList: {
123
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
124
+ handleClick(): void;
125
+ preventDefault(e: any): void;
126
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
127
+ [x: string]: any;
128
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
129
+ props: EditorToolsSettings.ListSettings;
130
+ };
131
+ UnorderedList: {
132
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
133
+ handleClick(): void;
134
+ preventDefault(e: any): void;
135
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
136
+ [x: string]: any;
137
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
138
+ props: EditorToolsSettings.ListSettings;
139
+ };
140
+ FontSize: {
141
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
142
+ customItemRender(h: any, li: any, itemProps: any): any;
143
+ onFontNameChange(e: import('@progress/kendo-vue-dropdowns').DropDownListChangeEvent): void;
144
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
145
+ [x: string]: any;
146
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
147
+ props: EditorToolsSettings.StyleDropDownListSettings;
148
+ };
149
+ FontName: {
150
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
151
+ customItemRender(h: any, li: any, itemProps: any): any;
152
+ onFontNameChange(e: import('@progress/kendo-vue-dropdowns').DropDownListChangeEvent): void;
153
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
154
+ [x: string]: any;
155
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
156
+ props: EditorToolsSettings.StyleDropDownListSettings;
157
+ };
158
+ FormatBlock: {
159
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
160
+ customItemRender(hRender: any, li: any, itemProps: any): any;
161
+ onFormatBlockChange(e: import('@progress/kendo-vue-dropdowns').DropDownListChangeEvent): void;
162
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
163
+ [x: string]: any;
164
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
165
+ props: EditorToolsSettings.FormatBlockDropDownListSettings;
166
+ };
167
+ Undo: {
168
+ comp: import('vue').DefineComponent<{}, {}, {}, {
169
+ command(): any;
170
+ }, {
171
+ handleClick(): void;
172
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
173
+ [x: string]: any;
174
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
175
+ props: EditorToolsSettings.ToolSettings;
176
+ };
177
+ Redo: {
178
+ comp: import('vue').DefineComponent<{}, {}, {}, {
179
+ command(): any;
180
+ }, {
181
+ handleClick(): void;
182
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
183
+ [x: string]: any;
184
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
185
+ props: EditorToolsSettings.ToolSettings;
186
+ };
187
+ Link: {
188
+ comp: import('vue').DefineComponent<{}, {}, {
189
+ openedDialog: boolean;
190
+ }, {}, {
191
+ toggleDialog(): void;
192
+ preventDefault(e: any): void;
193
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
194
+ [x: string]: any;
195
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
196
+ props: EditorToolsSettings.LinkSettings;
197
+ };
198
+ Unlink: {
199
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
200
+ handleClick(): void;
201
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
202
+ [x: string]: any;
203
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
204
+ props: EditorToolsSettings.UnlinkSettings;
205
+ };
206
+ InsertImage: {
207
+ comp: import('vue').DefineComponent<{}, {}, {
208
+ openedDialog: boolean;
209
+ }, {}, {
210
+ toggleDialog(): void;
211
+ preventDefault(e: any): void;
212
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
213
+ [x: string]: any;
214
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
215
+ props: EditorToolsSettings.ImageSettings;
216
+ };
217
+ ViewHtml: {
218
+ comp: import('vue').DefineComponent<{}, {}, {
219
+ openedDialog: boolean;
220
+ }, {}, {
221
+ toggleDialog(): void;
222
+ preventDefault(e: any): void;
223
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
224
+ [x: string]: any;
225
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
226
+ props: EditorToolsSettings.ViewHtmlSettings;
227
+ };
228
+ CleanFormatting: {
229
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
230
+ handleClick(): void;
231
+ preventDefault(e: any): void;
232
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
233
+ [x: string]: any;
234
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
235
+ props: EditorToolsSettings.CleanFormattingSettings;
236
+ };
237
+ SelectAll: {
238
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
239
+ handleClick(): void;
240
+ preventDefault(e: any): void;
241
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
242
+ [x: string]: any;
243
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
244
+ props: EditorToolsSettings.SelectAllSettings;
245
+ };
246
+ InsertTable: {
247
+ comp: import('vue').DefineComponent<{}, {}, {
248
+ openedPopup: boolean;
249
+ }, {}, {
250
+ togglePopup(): void;
251
+ closePopup(): void;
252
+ onTableInsert(row: number, col: number): void;
253
+ preventDefault(e: any): void;
254
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
255
+ [x: string]: any;
256
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
257
+ props: EditorToolsSettings.InsertTableSettings;
258
+ };
259
+ MergeCells: {
260
+ comp: import('vue').DefineComponent<{}, {}, {}, {
261
+ command(): any;
262
+ }, {
263
+ handleClick(): void;
264
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
265
+ [x: string]: any;
266
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
267
+ props: EditorToolsSettings.MergeCellsSettings;
268
+ };
269
+ SplitCell: {
270
+ comp: import('vue').DefineComponent<{}, {}, {}, {
271
+ command(): any;
272
+ }, {
273
+ handleClick(): void;
274
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
275
+ [x: string]: any;
276
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
277
+ props: EditorToolsSettings.SplitCellSettings;
278
+ };
279
+ AddRowBefore: {
280
+ comp: import('vue').DefineComponent<{}, {}, {}, {
281
+ command(): any;
282
+ }, {
283
+ handleClick(): void;
284
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
285
+ [x: string]: any;
286
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
287
+ props: EditorToolsSettings.AddRowBeforeSettings;
288
+ };
289
+ AddRowAfter: {
290
+ comp: import('vue').DefineComponent<{}, {}, {}, {
291
+ command(): any;
292
+ }, {
293
+ handleClick(): void;
294
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
295
+ [x: string]: any;
296
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
297
+ props: EditorToolsSettings.AddRowAfterSettings;
298
+ };
299
+ AddColumnBefore: {
300
+ comp: import('vue').DefineComponent<{}, {}, {}, {
301
+ command(): any;
302
+ }, {
303
+ handleClick(): void;
304
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
305
+ [x: string]: any;
306
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
307
+ props: EditorToolsSettings.AddColumnBeforeSettings;
308
+ };
309
+ AddColumnAfter: {
310
+ comp: import('vue').DefineComponent<{}, {}, {}, {
311
+ command(): any;
312
+ }, {
313
+ handleClick(): void;
314
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
315
+ [x: string]: any;
316
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
317
+ props: EditorToolsSettings.AddColumnAfterSettings;
318
+ };
319
+ DeleteRow: {
320
+ comp: import('vue').DefineComponent<{}, {}, {}, {
321
+ command(): any;
322
+ }, {
323
+ handleClick(): void;
324
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
325
+ [x: string]: any;
326
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
327
+ props: EditorToolsSettings.DeleteRowSettings;
328
+ };
329
+ DeleteColumn: {
330
+ comp: import('vue').DefineComponent<{}, {}, {}, {
331
+ command(): any;
332
+ }, {
333
+ handleClick(): void;
334
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
335
+ [x: string]: any;
336
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
337
+ props: EditorToolsSettings.DeleteColumnSettings;
338
+ };
339
+ DeleteTable: {
340
+ comp: import('vue').DefineComponent<{}, {}, {}, {
341
+ command(): any;
342
+ }, {
343
+ handleClick(): void;
344
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
345
+ [x: string]: any;
346
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
347
+ props: EditorToolsSettings.DeleteTableSettings;
348
+ };
349
+ Print: {
350
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
351
+ handleClick(): void;
352
+ preventDefault(e: any): void;
353
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
354
+ [x: string]: any;
355
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
356
+ props: EditorToolsSettings.PrintSettings;
357
+ };
358
+ Pdf: {
359
+ comp: import('vue').DefineComponent<{}, {}, {}, {}, {
360
+ handleClick(): void;
361
+ preventDefault(e: any): void;
362
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
363
+ [x: string]: any;
364
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
365
+ props: EditorToolsSettings.PdfSettings;
366
+ };
367
+ InsertFile: {
368
+ comp: import('vue').DefineComponent<{}, {}, {
369
+ openedDialog: boolean;
370
+ }, {}, {
371
+ toggleDialog(): void;
372
+ preventDefault(e: any): void;
373
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
374
+ [x: string]: any;
375
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
376
+ props: EditorToolsSettings.InsertFileSettings;
377
+ };
378
+ FindAndReplace: {
379
+ comp: import('vue').DefineComponent<{}, {}, {
380
+ showDialog: boolean;
381
+ }, {}, {
382
+ onClose(): void;
383
+ onOpen(): void;
384
+ preventDefault(e: any): void;
385
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {} | {
386
+ [x: string]: any;
387
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
388
+ props: EditorToolsSettings.FindReplaceSettings;
389
+ };
390
+ ForeColor: {
391
+ comp: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
392
+ view: PropType<EditorView>;
393
+ color: PropType<string>;
394
+ colorPickerProps: PropType<any>;
395
+ commandName: PropType<string>;
396
+ dir: PropType<String>;
397
+ ariaLabel: PropType<String>;
398
+ }>, {}, {}, {}, {
399
+ onChange(event: import('@progress/kendo-vue-inputs').ColorPickerChangeEvent): void;
400
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
401
+ view: PropType<EditorView>;
402
+ color: PropType<string>;
403
+ colorPickerProps: PropType<any>;
404
+ commandName: PropType<string>;
405
+ dir: PropType<String>;
406
+ ariaLabel: PropType<String>;
407
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
408
+ props: EditorToolsSettings.ApplyColorSettings;
409
+ };
410
+ BackColor: {
411
+ comp: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
412
+ view: PropType<EditorView>;
413
+ color: PropType<string>;
414
+ colorPickerProps: PropType<any>;
415
+ commandName: PropType<string>;
416
+ dir: PropType<String>;
417
+ ariaLabel: PropType<String>;
418
+ }>, {}, {}, {}, {
419
+ onChange(event: import('@progress/kendo-vue-inputs').ColorPickerChangeEvent): void;
420
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
421
+ view: PropType<EditorView>;
422
+ color: PropType<string>;
423
+ colorPickerProps: PropType<any>;
424
+ commandName: PropType<string>;
425
+ dir: PropType<String>;
426
+ ariaLabel: PropType<String>;
427
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
428
+ props: EditorToolsSettings.ApplyColorSettings;
429
+ };
430
+ };
431
+ /**
432
+ * Represents the [Kendo UI for Vue Editor component]({% slug overview_editor %}).
433
+ *
434
+ * ```jsx
435
+ * <template>
436
+ * <div>
437
+ * <Editor
438
+ * :tools="tools"
439
+ * :content-style="{
440
+ * height: '690px',
441
+ * }"
442
+ * :default-content="content"
443
+ * />
444
+ * </div>
445
+ * </template>
446
+ *
447
+ * <script>
448
+ * import { Editor } from "@progress/kendo-vue-editor";
449
+ * import content from "./content-overview";
450
+ *
451
+ * export default {
452
+ * components: {
453
+ * Editor,
454
+ * },
455
+ * data() {
456
+ * return {
457
+ * tools: [
458
+ * ["Bold", "Italic", "Underline", "Strikethrough"],
459
+ * ["Subscript", "Superscript"],
460
+ * ["AlignLeft", "AlignCenter", "AlignRight", "AlignJustify"],
461
+ * ["Indent", "Outdent"],
462
+ * ["OrderedList", "UnorderedList"],
463
+ * "FontSize",
464
+ * "FontName",
465
+ * "FormatBlock",
466
+ * ["Undo", "Redo"],
467
+ * ["Link", "Unlink", "InsertImage", "ViewHtml"],
468
+ * ["InsertTable"],
469
+ * ["AddRowBefore", "AddRowAfter", "AddColumnBefore", "AddColumnAfter"],
470
+ * ["DeleteRow", "DeleteColumn", "DeleteTable"],
471
+ * ["MergeCells", "SplitCell"],
472
+ * ],
473
+ * content: content,
474
+ * };
475
+ * },
476
+ * };
477
+ * </script>
478
+ * ```
479
+ *
480
+ *
481
+ *
482
+ * ### props <span class='code'>Readonly&lt;[EditorProps]({% slug api_editor_editorprops %})</span>
483
+ * The props of the Editor component.
484
+ *
485
+ * ### contentElement <span class='code'>HTMLDivElement</span>
486
+ * Returns the content-editable DOM element of the Editor.
487
+ *
488
+ * ### element <span class='code'>HTMLElement</span>
489
+ * Returns the DOM element of the Editor.
490
+ *
491
+ * ### value <span class='code'>Node | string</span>
492
+ * The value of the Editor.
493
+ *
494
+ * ### view <span class='code'>EditorView&lt;any&gt;</span>
495
+ * Returns the `view` object of the Editor.
496
+ */
497
+ declare const Editor: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
498
+ defaultContent: PropType<string>;
499
+ value: PropType<string | Node>;
500
+ defaultEditMode: {
501
+ type: PropType<string>;
502
+ default: string;
503
+ validator: (value: string) => any;
504
+ };
505
+ contentStyle: PropType<object>;
506
+ dir: PropType<string>;
507
+ tools: PropType<any[]>;
508
+ keyboardNavigation: {
509
+ type: PropType<boolean>;
510
+ default: boolean;
511
+ };
512
+ resizable: PropType<boolean>;
513
+ preserveWhitespace: {
514
+ type: PropType<string | boolean>;
515
+ default: string;
516
+ validator: (value: any) => any;
517
+ };
518
+ pasteHtml: PropType<(event: EditorPasteEvent) => string | void>;
519
+ extendView: PropType<(event: EditorMountEvent) => void | EditorView>;
520
+ ariaDescribedBy: PropType<string>;
521
+ ariaLabelledBy: PropType<string>;
522
+ ariaLabel: PropType<string>;
523
+ }>, {}, {
524
+ updateGuid: any;
525
+ view: any;
526
+ linkDialog: boolean;
527
+ showLicenseWatermark: boolean;
528
+ licenseMessage: any;
529
+ }, {}, {
530
+ getView(): any;
531
+ getHTML(): string;
532
+ setHTML(value: string): void;
533
+ focus(): void;
534
+ updateTools(view: any): void;
535
+ initialize(): void;
536
+ filterTransaction(transaction: Transaction, state: EditorState): true;
537
+ onPasteHtml(html: string): string;
538
+ dispatchTransaction(transaction: Transaction): void;
539
+ onFocus(_view: any, e: FocusEvent): false;
540
+ onBlur(_view: any, e: FocusEvent): false;
541
+ onPaste(_view: any, nativeEvent: any): false;
542
+ handleClose(): void;
543
+ computedValue(): any;
544
+ }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
545
+ focus: any;
546
+ blur: any;
547
+ change: any;
548
+ loaded: any;
549
+ execute: any;
550
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
551
+ defaultContent: PropType<string>;
552
+ value: PropType<string | Node>;
553
+ defaultEditMode: {
554
+ type: PropType<string>;
555
+ default: string;
556
+ validator: (value: string) => any;
557
+ };
558
+ contentStyle: PropType<object>;
559
+ dir: PropType<string>;
560
+ tools: PropType<any[]>;
561
+ keyboardNavigation: {
562
+ type: PropType<boolean>;
563
+ default: boolean;
564
+ };
565
+ resizable: PropType<boolean>;
566
+ preserveWhitespace: {
567
+ type: PropType<string | boolean>;
568
+ default: string;
569
+ validator: (value: any) => any;
570
+ };
571
+ pasteHtml: PropType<(event: EditorPasteEvent) => string | void>;
572
+ extendView: PropType<(event: EditorMountEvent) => void | EditorView>;
573
+ ariaDescribedBy: PropType<string>;
574
+ ariaLabelledBy: PropType<string>;
575
+ ariaLabel: PropType<string>;
576
+ }>> & Readonly<{
577
+ onBlur?: (...args: any[] | unknown[]) => any;
578
+ onChange?: (...args: any[] | unknown[]) => any;
579
+ onFocus?: (...args: any[] | unknown[]) => any;
580
+ onLoaded?: (...args: any[] | unknown[]) => any;
581
+ onExecute?: (...args: any[] | unknown[]) => any;
582
+ }>, {
583
+ keyboardNavigation: boolean;
584
+ preserveWhitespace: string | boolean;
585
+ defaultEditMode: string;
586
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
587
+ export { Editor };
package/Editor.mjs CHANGED
@@ -5,10 +5,10 @@
5
5
  * Licensed under commercial license. See LICENSE.md in the package root for more information
6
6
  *-------------------------------------------------------------------------------------------
7
7
  */
8
- import { defineComponent as G, toRaw as j, markRaw as P, createVNode as h, h as T, isVNode as K } from "vue";
8
+ import { defineComponent as G, toRaw as j, markRaw as P, createVNode as h, isVNode as K, h as T } from "vue";
9
9
  import { ButtonGroup as J, Toolbar as q, ToolbarSeparator as Q } from "@progress/kendo-vue-buttons";
10
10
  import { guid as L, WatermarkOverlay as X, classNames as Y, setRef as M, getRef as R, validatePackage as Z, shouldShowValidationUI as ee, getLicenseMessage as te, templateRendering as ie, getListeners as oe, getTemplate as se } from "@progress/kendo-vue-common";
11
- import { Plugin as $, spacesFix as ne, history as re, dropCursor as ae, gapCursor as le, tableEditing as pe, PluginKey as H, Schema as de, marks as ce, EditorState as me, keymap as _, baseKeymap as ue, EditorView as he, getMark as fe } from "@progress/kendo-editor-common";
11
+ import { Plugin as $, PluginKey as H, spacesFix as ne, history as re, dropCursor as ae, gapCursor as le, tableEditing as pe, Schema as de, marks as ce, EditorState as me, keymap as _, baseKeymap as ue, EditorView as he, getMark as fe } from "@progress/kendo-editor-common";
12
12
  import { nodes as ge } from "./config/schema.mjs";
13
13
  import { defaultStyle as ve, tablesStyles as we, rtlStyles as be } from "./config/defaultStyles.mjs";
14
14
  import { EditorToolsSettings as t } from "./config/toolsSettings.mjs";