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

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.
@@ -20,6 +20,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
20
20
  };
21
21
  import { keys, messages } from '../messages/main';
22
22
  import { bold as boldSettings, italic as italicSettings, underline as underlineSettings, strikethrough as strikethroughSettings, subscript as subscriptSettings, superscript as superscriptSettings, link as linkSettings, alignLeftRules, alignRightRules, alignCenterRules, alignJustifyRules, alignRemoveRules, indentRules, outdentRules, undo as undoCommand, redo as redoCommand, mergeCells as mergeCellsCommand, splitCell as splitCellCommand, addRowBefore as addRowBeforeCommand, addRowAfter as addRowAfterCommand, addColumnBefore as addColumnBeforeCommand, addColumnAfter as addColumnAfterCommand, deleteRow as deleteRowCommand, deleteColumn as deleteColumnCommand, deleteTable as deleteTableCommand } from '@progress/kendo-editor-common';
23
+ import { alignCenterIcon, alignJustifyIcon, alignLeftIcon, alignRemoveIcon, alignRightIcon, boldIcon, cellsMergeIcon, cellSplitHorizontallyIcon, clearCssIcon, codeIcon, dropletIcon, fileAddIcon, filePdfIcon, foregroundColorIcon, imageIcon, indentIcon, italicIcon, linkIcon, listOrderedIcon, listUnorderedIcon, outdentIcon, printIcon, redoIcon, searchIcon, selectAllIcon, strikethroughIcon, subscriptIcon, supscriptIcon, tableAddIcon, tableColumnDeleteIcon, tableColumnInsertLeftIcon, tableColumnInsertRightIcon, tableDeleteIcon, tableRowDeleteIcon, tableRowInsertAboveIcon, tableRowInsertBelowIcon, underlineIcon, undoIcon, unlinkIcon } from '@progress/kendo-svg-icons';
23
24
  var listsTypes = __assign({}, indentRules.listsTypes);
24
25
  /**
25
26
  * Represents a wrapping namespace for the tool settings of the Editor.
@@ -35,43 +36,43 @@ export var EditorToolsSettings;
35
36
  /**
36
37
  * The object of the Bold tool settings.
37
38
  */
38
- EditorToolsSettings.bold = __assign(__assign({}, boldSettings), { props: __assign({ icon: 'bold' }, buttonCommonProps), messages: {
39
+ EditorToolsSettings.bold = __assign(__assign({}, boldSettings), { props: __assign({ icon: 'bold', svgIcon: boldIcon }, buttonCommonProps), messages: {
39
40
  title: keys.bold
40
41
  }, commandName: 'Bold' });
41
42
  /**
42
43
  * The object of the Italic tool settings.
43
44
  */
44
- EditorToolsSettings.italic = __assign(__assign({}, italicSettings), { props: __assign({ icon: 'italic' }, buttonCommonProps), messages: {
45
+ EditorToolsSettings.italic = __assign(__assign({}, italicSettings), { props: __assign({ icon: 'italic', svgIcon: italicIcon }, buttonCommonProps), messages: {
45
46
  title: keys.italic
46
47
  }, commandName: 'Italic' });
47
48
  /**
48
49
  * The object of the Underline tool settings.
49
50
  */
50
- EditorToolsSettings.underline = __assign(__assign({}, underlineSettings), { props: __assign({ icon: 'underline' }, buttonCommonProps), messages: {
51
+ EditorToolsSettings.underline = __assign(__assign({}, underlineSettings), { props: __assign({ icon: 'underline', svgIcon: underlineIcon }, buttonCommonProps), messages: {
51
52
  title: keys.underline
52
53
  }, commandName: 'Underline' });
53
54
  /**
54
55
  * The object of the Strikethrough tool settings.
55
56
  */
56
- EditorToolsSettings.strikethrough = __assign(__assign({}, strikethroughSettings), { props: __assign({ icon: 'strikethrough' }, buttonCommonProps), messages: {
57
+ EditorToolsSettings.strikethrough = __assign(__assign({}, strikethroughSettings), { props: __assign({ icon: 'strikethrough', svgIcon: strikethroughIcon }, buttonCommonProps), messages: {
57
58
  title: keys.strikethrough
58
59
  }, commandName: 'Strikethrough' });
59
60
  /**
60
61
  * The object of the Subscript tool settings.
61
62
  */
62
- EditorToolsSettings.subscript = __assign(__assign({}, subscriptSettings), { props: __assign({ icon: 'subscript' }, buttonCommonProps), messages: {
63
+ EditorToolsSettings.subscript = __assign(__assign({}, subscriptSettings), { props: __assign({ icon: 'subscript', svgIcon: subscriptIcon }, buttonCommonProps), messages: {
63
64
  title: keys.subscript
64
65
  }, commandName: 'Subscript' });
65
66
  /**
66
67
  * The object of the Superscript tool settings.
67
68
  */
68
- EditorToolsSettings.superscript = __assign(__assign({}, superscriptSettings), { props: __assign({ icon: 'superscript' }, buttonCommonProps), messages: {
69
+ EditorToolsSettings.superscript = __assign(__assign({}, superscriptSettings), { props: __assign({ icon: 'supscript', svgIcon: supscriptIcon }, buttonCommonProps), messages: {
69
70
  title: keys.superscript
70
71
  }, commandName: 'Superscript' });
71
72
  /**
72
73
  * The object of the Link tool settings.
73
74
  */
74
- EditorToolsSettings.link = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'link-horizontal' }, buttonCommonProps), messages: {
75
+ EditorToolsSettings.link = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'link', svgIcon: linkIcon }, buttonCommonProps), messages: {
75
76
  insertHyperlink: keys.insertHyperlink,
76
77
  insertHyperlinkDialogTitle: keys.insertHyperlinkDialogTitle,
77
78
  insertHyperlinkAddress: keys.insertHyperlinkAddress,
@@ -83,7 +84,7 @@ export var EditorToolsSettings;
83
84
  /**
84
85
  * The object of the Link tool settings.
85
86
  */
86
- EditorToolsSettings.insertFile = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'file-add' }, buttonCommonProps), messages: {
87
+ EditorToolsSettings.insertFile = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'file-add', svgIcon: fileAddIcon }, buttonCommonProps), messages: {
87
88
  insertHyperlink: keys.insertFile,
88
89
  insertHyperlinkDialogTitle: keys.insertFileDialogTitle,
89
90
  insertHyperlinkAddress: keys.insertFileAddress,
@@ -96,7 +97,7 @@ export var EditorToolsSettings;
96
97
  * The object of the InsertTable tool settings.
97
98
  */
98
99
  EditorToolsSettings.insertTable = {
99
- props: __assign({ icon: 'table-insert' }, buttonCommonProps),
100
+ props: __assign({ icon: 'table-add', svgIcon: tableAddIcon }, buttonCommonProps),
100
101
  messages: {
101
102
  createTable: keys.createTable,
102
103
  createTableHint: keys.createTableHint
@@ -108,7 +109,7 @@ export var EditorToolsSettings;
108
109
  */
109
110
  EditorToolsSettings.addRowBefore = {
110
111
  command: addRowBeforeCommand,
111
- props: __assign({ icon: 'table-row-insert-above' }, buttonCommonProps),
112
+ props: __assign({ icon: 'table-row-insert-above', svgIcon: tableRowInsertAboveIcon }, buttonCommonProps),
112
113
  messages: {
113
114
  title: keys.addRowBefore
114
115
  },
@@ -119,7 +120,7 @@ export var EditorToolsSettings;
119
120
  */
120
121
  EditorToolsSettings.addRowAfter = {
121
122
  command: addRowAfterCommand,
122
- props: __assign({ icon: 'table-row-insert-below' }, buttonCommonProps),
123
+ props: __assign({ icon: 'table-row-insert-below', svgIcon: tableRowInsertBelowIcon }, buttonCommonProps),
123
124
  messages: {
124
125
  title: keys.addRowAfter
125
126
  },
@@ -130,7 +131,7 @@ export var EditorToolsSettings;
130
131
  */
131
132
  EditorToolsSettings.addColumnBefore = {
132
133
  command: addColumnBeforeCommand,
133
- props: __assign({ icon: 'table-column-insert-left' }, buttonCommonProps),
134
+ props: __assign({ icon: 'table-column-insert-left', svgIcon: tableColumnInsertLeftIcon }, buttonCommonProps),
134
135
  messages: {
135
136
  title: keys.addColumnBefore
136
137
  },
@@ -141,7 +142,7 @@ export var EditorToolsSettings;
141
142
  */
142
143
  EditorToolsSettings.addColumnAfter = {
143
144
  command: addColumnAfterCommand,
144
- props: __assign({ icon: 'table-column-insert-right' }, buttonCommonProps),
145
+ props: __assign({ icon: 'table-column-insert-right', svgIcon: tableColumnInsertRightIcon }, buttonCommonProps),
145
146
  messages: {
146
147
  title: keys.addColumnAfter
147
148
  },
@@ -152,7 +153,7 @@ export var EditorToolsSettings;
152
153
  */
153
154
  EditorToolsSettings.deleteRow = {
154
155
  command: deleteRowCommand,
155
- props: __assign({ icon: 'table-row-delete' }, buttonCommonProps),
156
+ props: __assign({ icon: 'table-row-delete', svgIcon: tableRowDeleteIcon }, buttonCommonProps),
156
157
  messages: {
157
158
  title: keys.deleteRow
158
159
  },
@@ -163,7 +164,7 @@ export var EditorToolsSettings;
163
164
  */
164
165
  EditorToolsSettings.deleteColumn = {
165
166
  command: deleteColumnCommand,
166
- props: __assign({ icon: 'table-column-delete' }, buttonCommonProps),
167
+ props: __assign({ icon: 'table-column-delete', svgIcon: tableColumnDeleteIcon }, buttonCommonProps),
167
168
  messages: {
168
169
  title: keys.deleteColumn
169
170
  },
@@ -174,7 +175,7 @@ export var EditorToolsSettings;
174
175
  */
175
176
  EditorToolsSettings.deleteTable = {
176
177
  command: deleteTableCommand,
177
- props: __assign({ icon: 'table-delete' }, buttonCommonProps),
178
+ props: __assign({ icon: 'table-delete', svgIcon: tableDeleteIcon }, buttonCommonProps),
178
179
  messages: {
179
180
  title: keys.deleteTable
180
181
  },
@@ -185,7 +186,7 @@ export var EditorToolsSettings;
185
186
  */
186
187
  EditorToolsSettings.mergeCells = {
187
188
  command: mergeCellsCommand,
188
- props: __assign({ icon: 'cells-merge' }, buttonCommonProps),
189
+ props: __assign({ icon: 'cells-merge', svgIcon: cellsMergeIcon }, buttonCommonProps),
189
190
  messages: {
190
191
  title: keys.mergeCells
191
192
  },
@@ -196,7 +197,7 @@ export var EditorToolsSettings;
196
197
  */
197
198
  EditorToolsSettings.splitCell = {
198
199
  command: splitCellCommand,
199
- props: __assign({ icon: 'cell-split-horizontally' }, buttonCommonProps),
200
+ props: __assign({ icon: 'cell-split-horizontally', svgIcon: cellSplitHorizontallyIcon }, buttonCommonProps),
200
201
  messages: {
201
202
  title: keys.splitCell
202
203
  },
@@ -206,7 +207,7 @@ export var EditorToolsSettings;
206
207
  * The object of the Print tool settings.
207
208
  */
208
209
  EditorToolsSettings.print = {
209
- props: __assign({ icon: 'print' }, buttonCommonProps),
210
+ props: __assign({ icon: 'print', svgIcon: printIcon }, buttonCommonProps),
210
211
  messages: {
211
212
  title: keys.print
212
213
  }
@@ -215,7 +216,7 @@ export var EditorToolsSettings;
215
216
  * The object of the Print tool settings.
216
217
  */
217
218
  EditorToolsSettings.selectAll = {
218
- props: __assign({ icon: 'select-all' }, buttonCommonProps),
219
+ props: __assign({ icon: 'select-all', svgIcon: selectAllIcon }, buttonCommonProps),
219
220
  messages: {
220
221
  title: keys.selectAll
221
222
  }
@@ -224,7 +225,7 @@ export var EditorToolsSettings;
224
225
  * The object of the Print tool settings.
225
226
  */
226
227
  EditorToolsSettings.pdf = {
227
- props: __assign({ icon: 'pdf' }, buttonCommonProps),
228
+ props: __assign({ icon: 'file-pdf', svgIcon: filePdfIcon }, buttonCommonProps),
228
229
  messages: {
229
230
  title: keys.pdf
230
231
  }
@@ -247,7 +248,7 @@ export var EditorToolsSettings;
247
248
  * The object of the CleanFormatting tool settings.
248
249
  */
249
250
  EditorToolsSettings.cleanFormatting = {
250
- props: __assign({ icon: 'clear-css' }, buttonCommonProps),
251
+ props: __assign({ icon: 'clear-css', svgIcon: clearCssIcon }, buttonCommonProps),
251
252
  messages: {
252
253
  title: keys.cleanFormatting
253
254
  },
@@ -258,7 +259,7 @@ export var EditorToolsSettings;
258
259
  */
259
260
  EditorToolsSettings.image = {
260
261
  node: 'image',
261
- props: __assign({ icon: 'image' }, buttonCommonProps),
262
+ props: __assign({ icon: 'image', svgIcon: imageIcon }, buttonCommonProps),
262
263
  messages: {
263
264
  insertImage: keys.insertImage,
264
265
  insertImageDialogTitle: keys.insertImageDialogTitle,
@@ -276,7 +277,7 @@ export var EditorToolsSettings;
276
277
  * The object of the ViewHtml tool settings.
277
278
  */
278
279
  EditorToolsSettings.viewHtml = {
279
- props: __assign({ icon: 'html' }, buttonCommonProps),
280
+ props: __assign({ icon: 'code', svgIcon: codeIcon }, buttonCommonProps),
280
281
  messages: {
281
282
  viewHtml: keys.viewHtml,
282
283
  viewHtmlDialogTitle: keys.viewHtmlDialogTitle,
@@ -289,7 +290,7 @@ export var EditorToolsSettings;
289
290
  * The object of the Find and Replace tool settings.
290
291
  */
291
292
  EditorToolsSettings.findAndReplace = {
292
- props: __assign({ icon: 'find' }, buttonCommonProps),
293
+ props: __assign({ icon: 'search', svgIcon: searchIcon }, buttonCommonProps),
293
294
  messages: {
294
295
  findReplaceToolTitle: keys.findReplaceToolTitle,
295
296
  findReplaceDialogTitle: keys.findReplaceDialogTitle,
@@ -311,7 +312,7 @@ export var EditorToolsSettings;
311
312
  /**
312
313
  * The object of the Unlink tool settings.
313
314
  */
314
- EditorToolsSettings.unlink = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'unlink-horizontal' }, buttonCommonProps), messages: {
315
+ EditorToolsSettings.unlink = __assign(__assign({}, linkSettings), { props: __assign({ icon: 'unlink', svgIcon: unlinkIcon }, buttonCommonProps), messages: {
315
316
  title: keys.unlink
316
317
  }, commandName: 'Unlink' });
317
318
  /**
@@ -319,7 +320,7 @@ export var EditorToolsSettings;
319
320
  */
320
321
  EditorToolsSettings.undo = {
321
322
  command: undoCommand,
322
- props: __assign({ icon: 'undo' }, buttonCommonProps),
323
+ props: __assign({ icon: 'undo', svgIcon: undoIcon }, buttonCommonProps),
323
324
  messages: {
324
325
  title: keys.undo
325
326
  },
@@ -330,7 +331,7 @@ export var EditorToolsSettings;
330
331
  */
331
332
  EditorToolsSettings.redo = {
332
333
  command: redoCommand,
333
- props: __assign({ icon: 'redo' }, buttonCommonProps),
334
+ props: __assign({ icon: 'redo', svgIcon: redoIcon }, buttonCommonProps),
334
335
  messages: {
335
336
  title: keys.redo
336
337
  },
@@ -404,6 +405,7 @@ export var EditorToolsSettings;
404
405
  color: 'color',
405
406
  colorPickerProps: {
406
407
  icon: 'foreground-color',
408
+ svgIcon: foregroundColorIcon,
407
409
  view: 'palette',
408
410
  title: keys.foregroundColor
409
411
  },
@@ -415,7 +417,8 @@ export var EditorToolsSettings;
415
417
  EditorToolsSettings.backColor = {
416
418
  color: 'background-color',
417
419
  colorPickerProps: {
418
- icon: 'background',
420
+ icon: 'droplet',
421
+ svgIcon: dropletIcon,
419
422
  view: 'palette',
420
423
  title: keys.backgroundColor
421
424
  },
@@ -426,7 +429,7 @@ export var EditorToolsSettings;
426
429
  */
427
430
  EditorToolsSettings.alignLeft = {
428
431
  actions: __spreadArray([], alignLeftRules, true),
429
- props: __assign({ icon: 'align-left' }, buttonCommonProps),
432
+ props: __assign({ icon: 'align-left', svgIcon: alignLeftIcon }, buttonCommonProps),
430
433
  messages: {
431
434
  title: keys.alignLeft
432
435
  },
@@ -437,7 +440,7 @@ export var EditorToolsSettings;
437
440
  */
438
441
  EditorToolsSettings.alignRight = {
439
442
  actions: __spreadArray([], alignRightRules, true),
440
- props: __assign({ icon: 'align-right' }, buttonCommonProps),
443
+ props: __assign({ icon: 'align-right', svgIcon: alignRightIcon }, buttonCommonProps),
441
444
  messages: {
442
445
  title: keys.alignRight
443
446
  },
@@ -448,7 +451,7 @@ export var EditorToolsSettings;
448
451
  */
449
452
  EditorToolsSettings.alignCenter = {
450
453
  actions: __spreadArray([], alignCenterRules, true),
451
- props: __assign({ icon: 'align-center' }, buttonCommonProps),
454
+ props: __assign({ icon: 'align-center', svgIcon: alignCenterIcon }, buttonCommonProps),
452
455
  messages: {
453
456
  title: keys.alignCenter
454
457
  },
@@ -459,7 +462,7 @@ export var EditorToolsSettings;
459
462
  */
460
463
  EditorToolsSettings.alignJustify = {
461
464
  actions: __spreadArray([], alignJustifyRules, true),
462
- props: __assign({ icon: 'align-justify' }, buttonCommonProps),
465
+ props: __assign({ icon: 'align-justify', svgIcon: alignJustifyIcon }, buttonCommonProps),
463
466
  messages: {
464
467
  title: keys.alignJustify
465
468
  },
@@ -470,7 +473,7 @@ export var EditorToolsSettings;
470
473
  */
471
474
  EditorToolsSettings.alignRemove = {
472
475
  actions: __spreadArray([], alignRemoveRules, true),
473
- props: __assign({ icon: 'align-remove' }, buttonCommonProps),
476
+ props: __assign({ icon: 'align-remove', svgIcon: alignRemoveIcon }, buttonCommonProps),
474
477
  messages: {},
475
478
  commandName: 'AlignRemove'
476
479
  };
@@ -480,7 +483,7 @@ export var EditorToolsSettings;
480
483
  EditorToolsSettings.indent = {
481
484
  actions: indentRules.nodes,
482
485
  listsTypes: listsTypes,
483
- props: __assign({ icon: 'indent-increase' }, buttonCommonProps),
486
+ props: __assign({ icon: 'indent', svgIcon: indentIcon }, buttonCommonProps),
484
487
  messages: {
485
488
  title: keys.indent
486
489
  },
@@ -492,7 +495,7 @@ export var EditorToolsSettings;
492
495
  EditorToolsSettings.outdent = {
493
496
  actions: outdentRules.nodes,
494
497
  listsTypes: listsTypes,
495
- props: __assign({ icon: 'indent-decrease' }, buttonCommonProps),
498
+ props: __assign({ icon: 'outdent', svgIcon: outdentIcon }, buttonCommonProps),
496
499
  messages: {
497
500
  title: keys.outdent
498
501
  },
@@ -503,7 +506,7 @@ export var EditorToolsSettings;
503
506
  */
504
507
  EditorToolsSettings.orderedList = {
505
508
  listType: listsTypes.orderedList,
506
- props: __assign({ icon: 'list-ordered' }, buttonCommonProps),
509
+ props: __assign({ icon: 'list-ordered', svgIcon: listOrderedIcon }, buttonCommonProps),
507
510
  messages: {
508
511
  title: keys.orderedList
509
512
  },
@@ -515,7 +518,7 @@ export var EditorToolsSettings;
515
518
  */
516
519
  EditorToolsSettings.bulletList = {
517
520
  listType: listsTypes.bulletList,
518
- props: __assign({ icon: 'list-unordered' }, buttonCommonProps),
521
+ props: __assign({ icon: 'list-unordered', svgIcon: listUnorderedIcon }, buttonCommonProps),
519
522
  messages: {
520
523
  title: keys.bulletList
521
524
  },
@@ -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: 1673797735,
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
  };