@progress/kendo-vue-editor 3.7.4-dev.202301131104 → 3.7.4-dev.202301161618

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.
@@ -32,6 +32,9 @@ var ViewHtmlDialogVue2 = {
32
32
  },
33
33
  mounted: function mounted() {
34
34
  this.htmlArea = getRef(this, 'htmlArea');
35
+ if (this.htmlArea) {
36
+ this.htmlArea.focus();
37
+ }
35
38
  },
36
39
  // @ts-ignore
37
40
  setup: !isV3 ? undefined : function () {
@@ -58,14 +61,12 @@ var ViewHtmlDialogVue2 = {
58
61
  defaultValue: indentHtml(getHtml(view.state)),
59
62
  attrs: this.v3 ? undefined : {
60
63
  defaultValue: indentHtml(getHtml(view.state)),
61
- autoFocus: true,
62
64
  autoSize: false,
63
65
  value: indentHtml(getHtml(view.state))
64
66
  },
65
67
  style: {
66
68
  height: '275px'
67
69
  },
68
- autoFocus: true,
69
70
  autoSize: false,
70
71
  ref: setRef(this, 'htmlArea'),
71
72
  value: indentHtml(getHtml(view.state))
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-editor',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1673606993,
8
+ publishDate: 1673885083,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -23,6 +23,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
23
23
  exports.EditorToolsSettings = void 0;
24
24
  var main_1 = require("../messages/main");
25
25
  var kendo_editor_common_1 = require("@progress/kendo-editor-common");
26
+ var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
26
27
  var listsTypes = __assign({}, kendo_editor_common_1.indentRules.listsTypes);
27
28
  /**
28
29
  * Represents a wrapping namespace for the tool settings of the Editor.
@@ -38,43 +39,43 @@ var EditorToolsSettings;
38
39
  /**
39
40
  * The object of the Bold tool settings.
40
41
  */
41
- EditorToolsSettings.bold = __assign(__assign({}, kendo_editor_common_1.bold), { props: __assign({ icon: 'bold' }, buttonCommonProps), messages: {
42
+ EditorToolsSettings.bold = __assign(__assign({}, kendo_editor_common_1.bold), { props: __assign({ icon: 'bold', svgIcon: kendo_svg_icons_1.boldIcon }, buttonCommonProps), messages: {
42
43
  title: main_1.keys.bold
43
44
  }, commandName: 'Bold' });
44
45
  /**
45
46
  * The object of the Italic tool settings.
46
47
  */
47
- EditorToolsSettings.italic = __assign(__assign({}, kendo_editor_common_1.italic), { props: __assign({ icon: 'italic' }, buttonCommonProps), messages: {
48
+ EditorToolsSettings.italic = __assign(__assign({}, kendo_editor_common_1.italic), { props: __assign({ icon: 'italic', svgIcon: kendo_svg_icons_1.italicIcon }, buttonCommonProps), messages: {
48
49
  title: main_1.keys.italic
49
50
  }, commandName: 'Italic' });
50
51
  /**
51
52
  * The object of the Underline tool settings.
52
53
  */
53
- EditorToolsSettings.underline = __assign(__assign({}, kendo_editor_common_1.underline), { props: __assign({ icon: 'underline' }, buttonCommonProps), messages: {
54
+ EditorToolsSettings.underline = __assign(__assign({}, kendo_editor_common_1.underline), { props: __assign({ icon: 'underline', svgIcon: kendo_svg_icons_1.underlineIcon }, buttonCommonProps), messages: {
54
55
  title: main_1.keys.underline
55
56
  }, commandName: 'Underline' });
56
57
  /**
57
58
  * The object of the Strikethrough tool settings.
58
59
  */
59
- EditorToolsSettings.strikethrough = __assign(__assign({}, kendo_editor_common_1.strikethrough), { props: __assign({ icon: 'strikethrough' }, buttonCommonProps), messages: {
60
+ EditorToolsSettings.strikethrough = __assign(__assign({}, kendo_editor_common_1.strikethrough), { props: __assign({ icon: 'strikethrough', svgIcon: kendo_svg_icons_1.strikethroughIcon }, buttonCommonProps), messages: {
60
61
  title: main_1.keys.strikethrough
61
62
  }, commandName: 'Strikethrough' });
62
63
  /**
63
64
  * The object of the Subscript tool settings.
64
65
  */
65
- EditorToolsSettings.subscript = __assign(__assign({}, kendo_editor_common_1.subscript), { props: __assign({ icon: 'subscript' }, buttonCommonProps), messages: {
66
+ EditorToolsSettings.subscript = __assign(__assign({}, kendo_editor_common_1.subscript), { props: __assign({ icon: 'subscript', svgIcon: kendo_svg_icons_1.subscriptIcon }, buttonCommonProps), messages: {
66
67
  title: main_1.keys.subscript
67
68
  }, commandName: 'Subscript' });
68
69
  /**
69
70
  * The object of the Superscript tool settings.
70
71
  */
71
- EditorToolsSettings.superscript = __assign(__assign({}, kendo_editor_common_1.superscript), { props: __assign({ icon: 'superscript' }, buttonCommonProps), messages: {
72
+ EditorToolsSettings.superscript = __assign(__assign({}, kendo_editor_common_1.superscript), { props: __assign({ icon: 'supscript', svgIcon: kendo_svg_icons_1.supscriptIcon }, buttonCommonProps), messages: {
72
73
  title: main_1.keys.superscript
73
74
  }, commandName: 'Superscript' });
74
75
  /**
75
76
  * The object of the Link tool settings.
76
77
  */
77
- EditorToolsSettings.link = __assign(__assign({}, kendo_editor_common_1.link), { props: __assign({ icon: 'link-horizontal' }, buttonCommonProps), messages: {
78
+ EditorToolsSettings.link = __assign(__assign({}, kendo_editor_common_1.link), { props: __assign({ icon: 'link', svgIcon: kendo_svg_icons_1.linkIcon }, buttonCommonProps), messages: {
78
79
  insertHyperlink: main_1.keys.insertHyperlink,
79
80
  insertHyperlinkDialogTitle: main_1.keys.insertHyperlinkDialogTitle,
80
81
  insertHyperlinkAddress: main_1.keys.insertHyperlinkAddress,
@@ -86,7 +87,7 @@ var EditorToolsSettings;
86
87
  /**
87
88
  * The object of the Link tool settings.
88
89
  */
89
- EditorToolsSettings.insertFile = __assign(__assign({}, kendo_editor_common_1.link), { props: __assign({ icon: 'file-add' }, buttonCommonProps), messages: {
90
+ EditorToolsSettings.insertFile = __assign(__assign({}, kendo_editor_common_1.link), { props: __assign({ icon: 'file-add', svgIcon: kendo_svg_icons_1.fileAddIcon }, buttonCommonProps), messages: {
90
91
  insertHyperlink: main_1.keys.insertFile,
91
92
  insertHyperlinkDialogTitle: main_1.keys.insertFileDialogTitle,
92
93
  insertHyperlinkAddress: main_1.keys.insertFileAddress,
@@ -99,7 +100,7 @@ var EditorToolsSettings;
99
100
  * The object of the InsertTable tool settings.
100
101
  */
101
102
  EditorToolsSettings.insertTable = {
102
- props: __assign({ icon: 'table-insert' }, buttonCommonProps),
103
+ props: __assign({ icon: 'table-add', svgIcon: kendo_svg_icons_1.tableAddIcon }, buttonCommonProps),
103
104
  messages: {
104
105
  createTable: main_1.keys.createTable,
105
106
  createTableHint: main_1.keys.createTableHint
@@ -111,7 +112,7 @@ var EditorToolsSettings;
111
112
  */
112
113
  EditorToolsSettings.addRowBefore = {
113
114
  command: kendo_editor_common_1.addRowBefore,
114
- props: __assign({ icon: 'table-row-insert-above' }, buttonCommonProps),
115
+ props: __assign({ icon: 'table-row-insert-above', svgIcon: kendo_svg_icons_1.tableRowInsertAboveIcon }, buttonCommonProps),
115
116
  messages: {
116
117
  title: main_1.keys.addRowBefore
117
118
  },
@@ -122,7 +123,7 @@ var EditorToolsSettings;
122
123
  */
123
124
  EditorToolsSettings.addRowAfter = {
124
125
  command: kendo_editor_common_1.addRowAfter,
125
- props: __assign({ icon: 'table-row-insert-below' }, buttonCommonProps),
126
+ props: __assign({ icon: 'table-row-insert-below', svgIcon: kendo_svg_icons_1.tableRowInsertBelowIcon }, buttonCommonProps),
126
127
  messages: {
127
128
  title: main_1.keys.addRowAfter
128
129
  },
@@ -133,7 +134,7 @@ var EditorToolsSettings;
133
134
  */
134
135
  EditorToolsSettings.addColumnBefore = {
135
136
  command: kendo_editor_common_1.addColumnBefore,
136
- props: __assign({ icon: 'table-column-insert-left' }, buttonCommonProps),
137
+ props: __assign({ icon: 'table-column-insert-left', svgIcon: kendo_svg_icons_1.tableColumnInsertLeftIcon }, buttonCommonProps),
137
138
  messages: {
138
139
  title: main_1.keys.addColumnBefore
139
140
  },
@@ -144,7 +145,7 @@ var EditorToolsSettings;
144
145
  */
145
146
  EditorToolsSettings.addColumnAfter = {
146
147
  command: kendo_editor_common_1.addColumnAfter,
147
- props: __assign({ icon: 'table-column-insert-right' }, buttonCommonProps),
148
+ props: __assign({ icon: 'table-column-insert-right', svgIcon: kendo_svg_icons_1.tableColumnInsertRightIcon }, buttonCommonProps),
148
149
  messages: {
149
150
  title: main_1.keys.addColumnAfter
150
151
  },
@@ -155,7 +156,7 @@ var EditorToolsSettings;
155
156
  */
156
157
  EditorToolsSettings.deleteRow = {
157
158
  command: kendo_editor_common_1.deleteRow,
158
- props: __assign({ icon: 'table-row-delete' }, buttonCommonProps),
159
+ props: __assign({ icon: 'table-row-delete', svgIcon: kendo_svg_icons_1.tableRowDeleteIcon }, buttonCommonProps),
159
160
  messages: {
160
161
  title: main_1.keys.deleteRow
161
162
  },
@@ -166,7 +167,7 @@ var EditorToolsSettings;
166
167
  */
167
168
  EditorToolsSettings.deleteColumn = {
168
169
  command: kendo_editor_common_1.deleteColumn,
169
- props: __assign({ icon: 'table-column-delete' }, buttonCommonProps),
170
+ props: __assign({ icon: 'table-column-delete', svgIcon: kendo_svg_icons_1.tableColumnDeleteIcon }, buttonCommonProps),
170
171
  messages: {
171
172
  title: main_1.keys.deleteColumn
172
173
  },
@@ -177,7 +178,7 @@ var EditorToolsSettings;
177
178
  */
178
179
  EditorToolsSettings.deleteTable = {
179
180
  command: kendo_editor_common_1.deleteTable,
180
- props: __assign({ icon: 'table-delete' }, buttonCommonProps),
181
+ props: __assign({ icon: 'table-delete', svgIcon: kendo_svg_icons_1.tableDeleteIcon }, buttonCommonProps),
181
182
  messages: {
182
183
  title: main_1.keys.deleteTable
183
184
  },
@@ -188,7 +189,7 @@ var EditorToolsSettings;
188
189
  */
189
190
  EditorToolsSettings.mergeCells = {
190
191
  command: kendo_editor_common_1.mergeCells,
191
- props: __assign({ icon: 'cells-merge' }, buttonCommonProps),
192
+ props: __assign({ icon: 'cells-merge', svgIcon: kendo_svg_icons_1.cellsMergeIcon }, buttonCommonProps),
192
193
  messages: {
193
194
  title: main_1.keys.mergeCells
194
195
  },
@@ -199,7 +200,7 @@ var EditorToolsSettings;
199
200
  */
200
201
  EditorToolsSettings.splitCell = {
201
202
  command: kendo_editor_common_1.splitCell,
202
- props: __assign({ icon: 'cell-split-horizontally' }, buttonCommonProps),
203
+ props: __assign({ icon: 'cell-split-horizontally', svgIcon: kendo_svg_icons_1.cellSplitHorizontallyIcon }, buttonCommonProps),
203
204
  messages: {
204
205
  title: main_1.keys.splitCell
205
206
  },
@@ -209,7 +210,7 @@ var EditorToolsSettings;
209
210
  * The object of the Print tool settings.
210
211
  */
211
212
  EditorToolsSettings.print = {
212
- props: __assign({ icon: 'print' }, buttonCommonProps),
213
+ props: __assign({ icon: 'print', svgIcon: kendo_svg_icons_1.printIcon }, buttonCommonProps),
213
214
  messages: {
214
215
  title: main_1.keys.print
215
216
  }
@@ -218,7 +219,7 @@ var EditorToolsSettings;
218
219
  * The object of the Print tool settings.
219
220
  */
220
221
  EditorToolsSettings.selectAll = {
221
- props: __assign({ icon: 'select-all' }, buttonCommonProps),
222
+ props: __assign({ icon: 'select-all', svgIcon: kendo_svg_icons_1.selectAllIcon }, buttonCommonProps),
222
223
  messages: {
223
224
  title: main_1.keys.selectAll
224
225
  }
@@ -227,7 +228,7 @@ var EditorToolsSettings;
227
228
  * The object of the Print tool settings.
228
229
  */
229
230
  EditorToolsSettings.pdf = {
230
- props: __assign({ icon: 'pdf' }, buttonCommonProps),
231
+ props: __assign({ icon: 'file-pdf', svgIcon: kendo_svg_icons_1.filePdfIcon }, buttonCommonProps),
231
232
  messages: {
232
233
  title: main_1.keys.pdf
233
234
  }
@@ -250,7 +251,7 @@ var EditorToolsSettings;
250
251
  * The object of the CleanFormatting tool settings.
251
252
  */
252
253
  EditorToolsSettings.cleanFormatting = {
253
- props: __assign({ icon: 'clear-css' }, buttonCommonProps),
254
+ props: __assign({ icon: 'clear-css', svgIcon: kendo_svg_icons_1.clearCssIcon }, buttonCommonProps),
254
255
  messages: {
255
256
  title: main_1.keys.cleanFormatting
256
257
  },
@@ -261,7 +262,7 @@ var EditorToolsSettings;
261
262
  */
262
263
  EditorToolsSettings.image = {
263
264
  node: 'image',
264
- props: __assign({ icon: 'image' }, buttonCommonProps),
265
+ props: __assign({ icon: 'image', svgIcon: kendo_svg_icons_1.imageIcon }, buttonCommonProps),
265
266
  messages: {
266
267
  insertImage: main_1.keys.insertImage,
267
268
  insertImageDialogTitle: main_1.keys.insertImageDialogTitle,
@@ -279,7 +280,7 @@ var EditorToolsSettings;
279
280
  * The object of the ViewHtml tool settings.
280
281
  */
281
282
  EditorToolsSettings.viewHtml = {
282
- props: __assign({ icon: 'html' }, buttonCommonProps),
283
+ props: __assign({ icon: 'code', svgIcon: kendo_svg_icons_1.codeIcon }, buttonCommonProps),
283
284
  messages: {
284
285
  viewHtml: main_1.keys.viewHtml,
285
286
  viewHtmlDialogTitle: main_1.keys.viewHtmlDialogTitle,
@@ -292,7 +293,7 @@ var EditorToolsSettings;
292
293
  * The object of the Find and Replace tool settings.
293
294
  */
294
295
  EditorToolsSettings.findAndReplace = {
295
- props: __assign({ icon: 'find' }, buttonCommonProps),
296
+ props: __assign({ icon: 'search', svgIcon: kendo_svg_icons_1.searchIcon }, buttonCommonProps),
296
297
  messages: {
297
298
  findReplaceToolTitle: main_1.keys.findReplaceToolTitle,
298
299
  findReplaceDialogTitle: main_1.keys.findReplaceDialogTitle,
@@ -314,7 +315,7 @@ var EditorToolsSettings;
314
315
  /**
315
316
  * The object of the Unlink tool settings.
316
317
  */
317
- EditorToolsSettings.unlink = __assign(__assign({}, kendo_editor_common_1.link), { props: __assign({ icon: 'unlink-horizontal' }, buttonCommonProps), messages: {
318
+ EditorToolsSettings.unlink = __assign(__assign({}, kendo_editor_common_1.link), { props: __assign({ icon: 'unlink', svgIcon: kendo_svg_icons_1.unlinkIcon }, buttonCommonProps), messages: {
318
319
  title: main_1.keys.unlink
319
320
  }, commandName: 'Unlink' });
320
321
  /**
@@ -322,7 +323,7 @@ var EditorToolsSettings;
322
323
  */
323
324
  EditorToolsSettings.undo = {
324
325
  command: kendo_editor_common_1.undo,
325
- props: __assign({ icon: 'undo' }, buttonCommonProps),
326
+ props: __assign({ icon: 'undo', svgIcon: kendo_svg_icons_1.undoIcon }, buttonCommonProps),
326
327
  messages: {
327
328
  title: main_1.keys.undo
328
329
  },
@@ -333,7 +334,7 @@ var EditorToolsSettings;
333
334
  */
334
335
  EditorToolsSettings.redo = {
335
336
  command: kendo_editor_common_1.redo,
336
- props: __assign({ icon: 'redo' }, buttonCommonProps),
337
+ props: __assign({ icon: 'redo', svgIcon: kendo_svg_icons_1.redoIcon }, buttonCommonProps),
337
338
  messages: {
338
339
  title: main_1.keys.redo
339
340
  },
@@ -407,6 +408,7 @@ var EditorToolsSettings;
407
408
  color: 'color',
408
409
  colorPickerProps: {
409
410
  icon: 'foreground-color',
411
+ svgIcon: kendo_svg_icons_1.foregroundColorIcon,
410
412
  view: 'palette',
411
413
  title: main_1.keys.foregroundColor
412
414
  },
@@ -418,7 +420,8 @@ var EditorToolsSettings;
418
420
  EditorToolsSettings.backColor = {
419
421
  color: 'background-color',
420
422
  colorPickerProps: {
421
- icon: 'background',
423
+ icon: 'droplet',
424
+ svgIcon: kendo_svg_icons_1.dropletIcon,
422
425
  view: 'palette',
423
426
  title: main_1.keys.backgroundColor
424
427
  },
@@ -429,7 +432,7 @@ var EditorToolsSettings;
429
432
  */
430
433
  EditorToolsSettings.alignLeft = {
431
434
  actions: __spreadArray([], kendo_editor_common_1.alignLeftRules, true),
432
- props: __assign({ icon: 'align-left' }, buttonCommonProps),
435
+ props: __assign({ icon: 'align-left', svgIcon: kendo_svg_icons_1.alignLeftIcon }, buttonCommonProps),
433
436
  messages: {
434
437
  title: main_1.keys.alignLeft
435
438
  },
@@ -440,7 +443,7 @@ var EditorToolsSettings;
440
443
  */
441
444
  EditorToolsSettings.alignRight = {
442
445
  actions: __spreadArray([], kendo_editor_common_1.alignRightRules, true),
443
- props: __assign({ icon: 'align-right' }, buttonCommonProps),
446
+ props: __assign({ icon: 'align-right', svgIcon: kendo_svg_icons_1.alignRightIcon }, buttonCommonProps),
444
447
  messages: {
445
448
  title: main_1.keys.alignRight
446
449
  },
@@ -451,7 +454,7 @@ var EditorToolsSettings;
451
454
  */
452
455
  EditorToolsSettings.alignCenter = {
453
456
  actions: __spreadArray([], kendo_editor_common_1.alignCenterRules, true),
454
- props: __assign({ icon: 'align-center' }, buttonCommonProps),
457
+ props: __assign({ icon: 'align-center', svgIcon: kendo_svg_icons_1.alignCenterIcon }, buttonCommonProps),
455
458
  messages: {
456
459
  title: main_1.keys.alignCenter
457
460
  },
@@ -462,7 +465,7 @@ var EditorToolsSettings;
462
465
  */
463
466
  EditorToolsSettings.alignJustify = {
464
467
  actions: __spreadArray([], kendo_editor_common_1.alignJustifyRules, true),
465
- props: __assign({ icon: 'align-justify' }, buttonCommonProps),
468
+ props: __assign({ icon: 'align-justify', svgIcon: kendo_svg_icons_1.alignJustifyIcon }, buttonCommonProps),
466
469
  messages: {
467
470
  title: main_1.keys.alignJustify
468
471
  },
@@ -473,7 +476,7 @@ var EditorToolsSettings;
473
476
  */
474
477
  EditorToolsSettings.alignRemove = {
475
478
  actions: __spreadArray([], kendo_editor_common_1.alignRemoveRules, true),
476
- props: __assign({ icon: 'align-remove' }, buttonCommonProps),
479
+ props: __assign({ icon: 'align-remove', svgIcon: kendo_svg_icons_1.alignRemoveIcon }, buttonCommonProps),
477
480
  messages: {},
478
481
  commandName: 'AlignRemove'
479
482
  };
@@ -483,7 +486,7 @@ var EditorToolsSettings;
483
486
  EditorToolsSettings.indent = {
484
487
  actions: kendo_editor_common_1.indentRules.nodes,
485
488
  listsTypes: listsTypes,
486
- props: __assign({ icon: 'indent-increase' }, buttonCommonProps),
489
+ props: __assign({ icon: 'indent', svgIcon: kendo_svg_icons_1.indentIcon }, buttonCommonProps),
487
490
  messages: {
488
491
  title: main_1.keys.indent
489
492
  },
@@ -495,7 +498,7 @@ var EditorToolsSettings;
495
498
  EditorToolsSettings.outdent = {
496
499
  actions: kendo_editor_common_1.outdentRules.nodes,
497
500
  listsTypes: listsTypes,
498
- props: __assign({ icon: 'indent-decrease' }, buttonCommonProps),
501
+ props: __assign({ icon: 'outdent', svgIcon: kendo_svg_icons_1.outdentIcon }, buttonCommonProps),
499
502
  messages: {
500
503
  title: main_1.keys.outdent
501
504
  },
@@ -506,7 +509,7 @@ var EditorToolsSettings;
506
509
  */
507
510
  EditorToolsSettings.orderedList = {
508
511
  listType: listsTypes.orderedList,
509
- props: __assign({ icon: 'list-ordered' }, buttonCommonProps),
512
+ props: __assign({ icon: 'list-ordered', svgIcon: kendo_svg_icons_1.listOrderedIcon }, buttonCommonProps),
510
513
  messages: {
511
514
  title: main_1.keys.orderedList
512
515
  },
@@ -518,7 +521,7 @@ var EditorToolsSettings;
518
521
  */
519
522
  EditorToolsSettings.bulletList = {
520
523
  listType: listsTypes.bulletList,
521
- props: __assign({ icon: 'list-unordered' }, buttonCommonProps),
524
+ props: __assign({ icon: 'list-unordered', svgIcon: kendo_svg_icons_1.listUnorderedIcon }, buttonCommonProps),
522
525
  messages: {
523
526
  title: main_1.keys.bulletList
524
527
  },