@progress/kendo-vue-editor 3.7.4-dev.202301120847 → 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.
package/dist/es/Editor.js CHANGED
@@ -449,8 +449,8 @@ var EditorVue2 = {
449
449
  } : [renderTools.call(_this2, item, index)]) : renderTool.call(this, item, index);
450
450
  }, this);
451
451
  return h("div", {
452
- "class": classNames('k-widget k-editor', {
453
- 'k-resizable': this.$props.resizable
452
+ "class": classNames('k-editor', {
453
+ 'k-editor-resizable': this.$props.resizable
454
454
  }),
455
455
  dir: this.$props.dir,
456
456
  attrs: this.v3 ? undefined : {
@@ -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
  },
@@ -435,10 +435,14 @@ var FindAndReplaceDialogVue2 = {
435
435
  }, _this2.v3 ? function () {
436
436
  return [h("div", {
437
437
  "class": "k-edit-form-container"
438
- }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
438
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), h("div", {
439
+ "class": "k-actions k-hstack k-justify-content-end"
440
+ }), checkboxes, navigation.call(_this2, 'findWhatFind')];
439
441
  } : [h("div", {
440
442
  "class": "k-edit-form-container"
441
- }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]),
443
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), h("div", {
444
+ "class": "k-actions k-hstack k-justify-content-end"
445
+ }), checkboxes, navigation.call(_this2, 'findWhatFind')]),
442
446
  // @ts-ignore function children
443
447
  h(TabStripTab, {
444
448
  title: localization.toLanguageString(findReplaceTabReplace, messages[findReplaceTabReplace]),
@@ -512,10 +516,14 @@ var FindAndReplaceDialogVue2 = {
512
516
  }, _this2.v3 ? function () {
513
517
  return [h("div", {
514
518
  "class": "k-edit-form-container"
515
- }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
519
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), h("div", {
520
+ "class": "k-actions k-hstack k-justify-content-end"
521
+ }), checkboxes, navigation.call(_this2, 'findWhatFind')];
516
522
  } : [h("div", {
517
523
  "class": "k-edit-form-container"
518
- }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(TabStripTab, {
524
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), h("div", {
525
+ "class": "k-actions k-hstack k-justify-content-end"
526
+ }), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(TabStripTab, {
519
527
  title: localization.toLanguageString(findReplaceTabReplace, messages[findReplaceTabReplace]),
520
528
  attrs: _this2.v3 ? undefined : {
521
529
  title: localization.toLanguageString(findReplaceTabReplace, messages[findReplaceTabReplace])
@@ -598,10 +606,14 @@ var FindAndReplaceDialogVue2 = {
598
606
  }, _this2.v3 ? function () {
599
607
  return [h("div", {
600
608
  "class": "k-edit-form-container"
601
- }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
609
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), h("div", {
610
+ "class": "k-actions k-hstack k-justify-content-end"
611
+ }), checkboxes, navigation.call(_this2, 'findWhatFind')];
602
612
  } : [h("div", {
603
613
  "class": "k-edit-form-container"
604
- }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(TabStripTab, {
614
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), h("div", {
615
+ "class": "k-actions k-hstack k-justify-content-end"
616
+ }), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(TabStripTab, {
605
617
  title: localization.toLanguageString(findReplaceTabReplace, messages[findReplaceTabReplace]),
606
618
  attrs: _this2.v3 ? undefined : {
607
619
  title: localization.toLanguageString(findReplaceTabReplace, messages[findReplaceTabReplace])
@@ -669,10 +681,14 @@ var FindAndReplaceDialogVue2 = {
669
681
  }, _this2.v3 ? function () {
670
682
  return [h("div", {
671
683
  "class": "k-edit-form-container"
672
- }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
684
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), h("div", {
685
+ "class": "k-actions k-hstack k-justify-content-end"
686
+ }), checkboxes, navigation.call(_this2, 'findWhatFind')];
673
687
  } : [h("div", {
674
688
  "class": "k-edit-form-container"
675
- }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(TabStripTab, {
689
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), h("div", {
690
+ "class": "k-actions k-hstack k-justify-content-end"
691
+ }), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(TabStripTab, {
676
692
  title: localization.toLanguageString(findReplaceTabReplace, messages[findReplaceTabReplace]),
677
693
  attrs: _this2.v3 ? undefined : {
678
694
  title: localization.toLanguageString(findReplaceTabReplace, messages[findReplaceTabReplace])
@@ -3,7 +3,7 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { Dialog, DialogActionsBar } from '@progress/kendo-vue-dialogs';
6
+ import { Window, DialogActionsBar } from '@progress/kendo-vue-dialogs';
7
7
  import { Button as KButton } from '@progress/kendo-vue-buttons';
8
8
  import { NodeSelection, insertNode } from '@progress/kendo-editor-common';
9
9
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -239,23 +239,43 @@ var InsertImageDialogVue2 = {
239
239
  } : [localization.toLanguageString(insertImageInsert, messages[insertImageInsert])])];
240
240
  var dialog =
241
241
  // @ts-ignore function children
242
- h(Dialog, {
243
- title: localization.toLanguageString(insertImageDialogTitle, messages[insertImageDialogTitle]),
242
+ h(Window, {
243
+ initialWidth: 500,
244
244
  attrs: this.v3 ? undefined : {
245
+ initialWidth: 500,
246
+ initialHeight: 360,
247
+ windowClass: 'k-editor-window',
245
248
  title: localization.toLanguageString(insertImageDialogTitle, messages[insertImageDialogTitle]),
246
- closeIcon: true,
247
- dir: dir
249
+ dir: dir,
250
+ modal: true,
251
+ minimizeButton: function minimizeButton() {
252
+ return null;
253
+ },
254
+ maximizeButton: function maximizeButton() {
255
+ return null;
256
+ },
257
+ resizable: false
248
258
  },
259
+ initialHeight: 360,
260
+ windowClass: 'k-editor-window',
261
+ title: localization.toLanguageString(insertImageDialogTitle, messages[insertImageDialogTitle]),
249
262
  onClose: this.onClose,
250
263
  on: this.v3 ? undefined : {
251
264
  "close": this.onClose
252
265
  },
253
266
  key: "dialog",
254
- closeIcon: true,
255
267
  dir: dir,
256
268
  style: dir === 'rtl' ? {
257
269
  textAlign: 'right'
258
- } : undefined
270
+ } : undefined,
271
+ modal: true,
272
+ minimizeButton: function minimizeButton() {
273
+ return null;
274
+ },
275
+ maximizeButton: function maximizeButton() {
276
+ return null;
277
+ },
278
+ resizable: false
259
279
  }, this.v3 ? function () {
260
280
  return [content,
261
281
  // @ts-ignore function children
@@ -3,7 +3,7 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { Dialog, DialogActionsBar } from '@progress/kendo-vue-dialogs';
6
+ import { Window, DialogActionsBar } from '@progress/kendo-vue-dialogs';
7
7
  import { Button as KButton } from '@progress/kendo-vue-buttons';
8
8
  import { getMark, applyLink } from '@progress/kendo-editor-common';
9
9
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -134,22 +134,39 @@ var InsertLinkDialogVue2 = {
134
134
  }, [localization.toLanguageString(insertHyperlinkNewWindow, messages[insertHyperlinkNewWindow])])])]);
135
135
  var dialog =
136
136
  // @ts-ignore function children
137
- h(Dialog, {
138
- title: localization.toLanguageString(insertHyperlinkDialogTitle, messages[insertHyperlinkDialogTitle]),
137
+ h(Window, {
138
+ initialWidth: 450,
139
139
  attrs: this.v3 ? undefined : {
140
+ initialWidth: 450,
141
+ initialHeight: 250,
142
+ windowClass: 'k-editor-window',
140
143
  title: localization.toLanguageString(insertHyperlinkDialogTitle, messages[insertHyperlinkDialogTitle]),
141
- closeIcon: true,
142
- dir: dir
144
+ dir: dir,
145
+ modal: true,
146
+ minimizeButton: function minimizeButton() {
147
+ return null;
148
+ },
149
+ maximizeButton: function maximizeButton() {
150
+ return null;
151
+ },
152
+ resizable: false
143
153
  },
154
+ initialHeight: 250,
155
+ windowClass: 'k-editor-window',
156
+ title: localization.toLanguageString(insertHyperlinkDialogTitle, messages[insertHyperlinkDialogTitle]),
144
157
  onClose: this.onClose,
145
158
  on: this.v3 ? undefined : {
146
159
  "close": this.onClose
147
160
  },
148
- closeIcon: true,
149
161
  dir: dir,
150
- style: dir === 'rtl' ? {
151
- textAlign: 'right'
152
- } : undefined
162
+ modal: true,
163
+ minimizeButton: function minimizeButton() {
164
+ return null;
165
+ },
166
+ maximizeButton: function maximizeButton() {
167
+ return null;
168
+ },
169
+ resizable: false
153
170
  }, this.v3 ? function () {
154
171
  return [content,
155
172
  // @ts-ignore function children
@@ -3,8 +3,9 @@ import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
- import { Dialog, DialogActionsBar } from '@progress/kendo-vue-dialogs';
6
+ import { Window, DialogActionsBar } from '@progress/kendo-vue-dialogs';
7
7
  import { Button as KButton } from '@progress/kendo-vue-buttons';
8
+ import { TextArea } from '@progress/kendo-vue-inputs';
8
9
  import { getHtml, setHtml, indentHtml, trimWhitespace } from '@progress/kendo-editor-common';
9
10
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
10
11
  import { messages } from '../messages/main';
@@ -52,17 +53,22 @@ var ViewHtmlDialogVue2 = {
52
53
  viewHtmlDialogTitle = _b.viewHtmlDialogTitle,
53
54
  viewHtmlCancel = _b.viewHtmlCancel,
54
55
  viewHtmlUpdate = _b.viewHtmlUpdate;
55
- var content = h("textarea", {
56
- "class": "k-textarea k-editor-textarea",
56
+ var content = h(TextArea, {
57
+ "class": "k-editor-textarea",
58
+ defaultValue: indentHtml(getHtml(view.state)),
59
+ attrs: this.v3 ? undefined : {
60
+ defaultValue: indentHtml(getHtml(view.state)),
61
+ autoFocus: true,
62
+ autoSize: false,
63
+ value: indentHtml(getHtml(view.state))
64
+ },
57
65
  style: {
58
- height: '280px',
59
- width: '490px'
66
+ height: '275px'
60
67
  },
68
+ autoFocus: true,
69
+ autoSize: false,
61
70
  ref: setRef(this, 'htmlArea'),
62
- value: this.v3 ? indentHtml(getHtml(view.state)) : null,
63
- domProps: this.v3 ? undefined : {
64
- "value": indentHtml(getHtml(view.state))
65
- }
71
+ value: indentHtml(getHtml(view.state))
66
72
  });
67
73
  var actionButtons = [
68
74
  // @ts-ignore function children
@@ -101,23 +107,43 @@ var ViewHtmlDialogVue2 = {
101
107
  } : [localization.toLanguageString(viewHtmlUpdate, messages[viewHtmlUpdate])])];
102
108
  var dialog =
103
109
  // @ts-ignore function children
104
- h(Dialog, {
105
- title: localization.toLanguageString(viewHtmlDialogTitle, messages[viewHtmlDialogTitle]),
110
+ h(Window, {
111
+ initialHeight: 400,
106
112
  attrs: this.v3 ? undefined : {
113
+ initialHeight: 400,
114
+ initialWidth: 500,
115
+ windowClass: 'k-editor-window',
107
116
  title: localization.toLanguageString(viewHtmlDialogTitle, messages[viewHtmlDialogTitle]),
108
- closeIcon: true,
109
- dir: dir
117
+ dir: dir,
118
+ modal: true,
119
+ minimizeButton: function minimizeButton() {
120
+ return null;
121
+ },
122
+ maximizeButton: function maximizeButton() {
123
+ return null;
124
+ },
125
+ resizable: false
110
126
  },
127
+ initialWidth: 500,
128
+ windowClass: 'k-editor-window',
129
+ title: localization.toLanguageString(viewHtmlDialogTitle, messages[viewHtmlDialogTitle]),
111
130
  onClose: this.onClose,
112
131
  on: this.v3 ? undefined : {
113
132
  "close": this.onClose
114
133
  },
115
134
  key: "dialog",
116
- closeIcon: true,
117
135
  dir: dir,
118
136
  style: dir === 'rtl' ? {
119
137
  textAlign: 'right'
120
- } : undefined
138
+ } : undefined,
139
+ modal: true,
140
+ minimizeButton: function minimizeButton() {
141
+ return null;
142
+ },
143
+ maximizeButton: function maximizeButton() {
144
+ return null;
145
+ },
146
+ resizable: false
121
147
  }, this.v3 ? function () {
122
148
  return [content,
123
149
  // @ts-ignore function children
@@ -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: 1673512324,
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
  };
@@ -449,8 +449,8 @@ var EditorVue2 = {
449
449
  } : [renderTools.call(_this2, item, index)]) : renderTool.call(this, item, index);
450
450
  }, this);
451
451
  return h("div", {
452
- "class": classNames('k-widget k-editor', {
453
- 'k-resizable': this.$props.resizable
452
+ "class": classNames('k-editor', {
453
+ 'k-editor-resizable': this.$props.resizable
454
454
  }),
455
455
  dir: this.$props.dir,
456
456
  attrs: this.v3 ? undefined : {