@progress/kendo-vue-editor 2.7.2-dev.202201051440 → 2.8.0-dev.202201111325

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 (120) hide show
  1. package/dist/cdn/js/kendo-vue-editor.js +1 -0
  2. package/dist/es/Editor.d.ts +49 -131
  3. package/dist/es/Editor.js +66 -37
  4. package/dist/es/EditorProps.d.ts +11 -5
  5. package/dist/es/additionalTypes.ts +7 -1
  6. package/dist/es/config/toolsSettings.js +2 -2
  7. package/dist/es/dialogs/FindReplace.d.ts +5 -6
  8. package/dist/es/dialogs/FindReplace.js +93 -51
  9. package/dist/es/dialogs/insertImage.d.ts +5 -6
  10. package/dist/es/dialogs/insertImage.js +8 -8
  11. package/dist/es/dialogs/insertLink.d.ts +5 -6
  12. package/dist/es/dialogs/insertLink.js +5 -5
  13. package/dist/es/dialogs/viewHtml.d.ts +5 -6
  14. package/dist/es/dialogs/viewHtml.js +3 -3
  15. package/dist/es/package-metadata.js +1 -1
  16. package/dist/es/tools/align.d.ts +36 -0
  17. package/dist/es/tools/{Align.js → align.js} +3 -3
  18. package/dist/es/tools/applyColor.d.ts +5 -6
  19. package/dist/es/tools/applyColor.js +3 -3
  20. package/dist/es/tools/cleanFormatting.d.ts +5 -6
  21. package/dist/es/tools/cleanFormatting.js +3 -3
  22. package/dist/es/tools/findReplace.d.ts +5 -6
  23. package/dist/es/tools/findReplace.js +3 -3
  24. package/dist/es/tools/fontStyle.d.ts +5 -6
  25. package/dist/es/tools/fontStyle.js +12 -7
  26. package/dist/es/tools/formatBlock.d.ts +5 -6
  27. package/dist/es/tools/formatBlock.js +11 -6
  28. package/dist/es/tools/indent.d.ts +41 -0
  29. package/dist/es/tools/{Indent.js → indent.js} +3 -3
  30. package/dist/{npm/tools/InlineFormat.d.ts → es/tools/inlineFormat.d.ts} +5 -6
  31. package/dist/es/tools/{InlineFormat.js → inlineFormat.js} +3 -3
  32. package/dist/es/tools/insertImage.d.ts +5 -6
  33. package/dist/es/tools/insertImage.js +3 -3
  34. package/dist/es/tools/insertLink.d.ts +5 -6
  35. package/dist/es/tools/insertLink.js +3 -3
  36. package/dist/es/tools/insertTable/popup.d.ts +5 -6
  37. package/dist/es/tools/insertTable/popup.js +3 -3
  38. package/dist/es/tools/insertTable/popupGrid.d.ts +5 -6
  39. package/dist/es/tools/insertTable/popupGrid.js +3 -3
  40. package/dist/es/tools/insertTable/tool.d.ts +5 -6
  41. package/dist/es/tools/insertTable/tool.js +3 -3
  42. package/dist/es/tools/lists.d.ts +5 -6
  43. package/dist/es/tools/lists.js +3 -3
  44. package/dist/es/tools/outdent.d.ts +41 -0
  45. package/dist/es/tools/{Outdent.js → outdent.js} +3 -3
  46. package/dist/es/tools/pdf.d.ts +5 -6
  47. package/dist/es/tools/pdf.js +3 -3
  48. package/dist/es/tools/print.d.ts +5 -6
  49. package/dist/es/tools/print.js +3 -3
  50. package/dist/es/tools/proseMirrorTool.d.ts +5 -6
  51. package/dist/es/tools/proseMirrorTool.js +3 -3
  52. package/dist/es/tools/selectAll.d.ts +5 -6
  53. package/dist/es/tools/selectAll.js +3 -3
  54. package/dist/es/tools/unlink.d.ts +5 -6
  55. package/dist/es/tools/unlink.js +3 -3
  56. package/dist/es/tools/viewHtml.d.ts +5 -6
  57. package/dist/es/tools/viewHtml.js +3 -3
  58. package/dist/npm/Editor.d.ts +49 -131
  59. package/dist/npm/Editor.js +81 -52
  60. package/dist/npm/EditorProps.d.ts +11 -5
  61. package/dist/npm/additionalTypes.ts +7 -1
  62. package/dist/npm/config/toolsSettings.js +1 -1
  63. package/dist/npm/dialogs/FindReplace.d.ts +5 -6
  64. package/dist/npm/dialogs/FindReplace.js +96 -53
  65. package/dist/npm/dialogs/insertImage.d.ts +5 -6
  66. package/dist/npm/dialogs/insertImage.js +10 -10
  67. package/dist/npm/dialogs/insertLink.d.ts +5 -6
  68. package/dist/npm/dialogs/insertLink.js +7 -7
  69. package/dist/npm/dialogs/viewHtml.d.ts +5 -6
  70. package/dist/npm/dialogs/viewHtml.js +5 -5
  71. package/dist/npm/package-metadata.js +1 -1
  72. package/dist/npm/tools/align.d.ts +36 -0
  73. package/dist/npm/tools/{Align.js → align.js} +5 -5
  74. package/dist/npm/tools/applyColor.d.ts +5 -6
  75. package/dist/npm/tools/applyColor.js +5 -5
  76. package/dist/npm/tools/cleanFormatting.d.ts +5 -6
  77. package/dist/npm/tools/cleanFormatting.js +5 -5
  78. package/dist/npm/tools/findReplace.d.ts +5 -6
  79. package/dist/npm/tools/findReplace.js +5 -5
  80. package/dist/npm/tools/fontStyle.d.ts +5 -6
  81. package/dist/npm/tools/fontStyle.js +14 -9
  82. package/dist/npm/tools/formatBlock.d.ts +5 -6
  83. package/dist/npm/tools/formatBlock.js +13 -8
  84. package/dist/npm/tools/indent.d.ts +41 -0
  85. package/dist/npm/tools/{Indent.js → indent.js} +5 -5
  86. package/dist/{es/tools/InlineFormat.d.ts → npm/tools/inlineFormat.d.ts} +5 -6
  87. package/dist/npm/tools/{InlineFormat.js → inlineFormat.js} +5 -5
  88. package/dist/npm/tools/insertImage.d.ts +5 -6
  89. package/dist/npm/tools/insertImage.js +5 -5
  90. package/dist/npm/tools/insertLink.d.ts +5 -6
  91. package/dist/npm/tools/insertLink.js +5 -5
  92. package/dist/npm/tools/insertTable/popup.d.ts +5 -6
  93. package/dist/npm/tools/insertTable/popup.js +5 -5
  94. package/dist/npm/tools/insertTable/popupGrid.d.ts +5 -6
  95. package/dist/npm/tools/insertTable/popupGrid.js +5 -5
  96. package/dist/npm/tools/insertTable/tool.d.ts +5 -6
  97. package/dist/npm/tools/insertTable/tool.js +5 -5
  98. package/dist/npm/tools/lists.d.ts +5 -6
  99. package/dist/npm/tools/lists.js +5 -5
  100. package/dist/npm/tools/outdent.d.ts +41 -0
  101. package/dist/npm/tools/{Outdent.js → outdent.js} +5 -5
  102. package/dist/npm/tools/pdf.d.ts +5 -6
  103. package/dist/npm/tools/pdf.js +5 -5
  104. package/dist/npm/tools/print.d.ts +5 -6
  105. package/dist/npm/tools/print.js +5 -5
  106. package/dist/npm/tools/proseMirrorTool.d.ts +5 -6
  107. package/dist/npm/tools/proseMirrorTool.js +5 -5
  108. package/dist/npm/tools/selectAll.d.ts +5 -6
  109. package/dist/npm/tools/selectAll.js +5 -5
  110. package/dist/npm/tools/unlink.d.ts +5 -6
  111. package/dist/npm/tools/unlink.js +5 -5
  112. package/dist/npm/tools/viewHtml.d.ts +5 -6
  113. package/dist/npm/tools/viewHtml.js +5 -5
  114. package/package.json +12 -12
  115. package/dist/es/tools/Align.d.ts +0 -37
  116. package/dist/es/tools/Indent.d.ts +0 -42
  117. package/dist/es/tools/Outdent.d.ts +0 -42
  118. package/dist/npm/tools/Align.d.ts +0 -37
  119. package/dist/npm/tools/Indent.d.ts +0 -42
  120. package/dist/npm/tools/Outdent.d.ts +0 -42
@@ -3,13 +3,15 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.FindAndReplaceDialogVue3 = exports.FindAndReplaceDialog = void 0; // @ts-ignore
6
+ exports.FindAndReplaceDialogVue2 = exports.FindAndReplaceDialog = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
10
10
  var allVue = Vue;
11
11
  var gh = allVue.h;
12
12
 
13
+ var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
14
+
13
15
  var kendo_vue_dialogs_1 = require("@progress/kendo-vue-dialogs");
14
16
 
15
17
  var kendo_vue_layout_1 = require("@progress/kendo-vue-layout");
@@ -28,7 +30,7 @@ var enter = 13,
28
30
  esc = 27;
29
31
  var settings = toolsSettings_1.EditorToolsSettings.findAndReplace; // tslint:enable:max-line-length
30
32
 
31
- var FindAndReplaceDialog = {
33
+ var FindAndReplaceDialogVue2 = {
32
34
  name: 'KendoFindAndReplaceDialog',
33
35
  props: {
34
36
  view: Object,
@@ -45,6 +47,9 @@ var FindAndReplaceDialog = {
45
47
  default: null
46
48
  }
47
49
  },
50
+ created: function created() {
51
+ this.matches = undefined;
52
+ },
48
53
  data: function data() {
49
54
  return {
50
55
  selectedTab: 0,
@@ -239,21 +244,41 @@ var FindAndReplaceDialog = {
239
244
  }, [localization.toLanguageString(findReplaceUseRegExp, messages_1.messages[findReplaceUseRegExp])])])]);
240
245
  var navigation = h("div", {
241
246
  "class": "k-matches-container"
242
- }, [h("button", {
243
- "class": "k-button k-flat k-primary",
247
+ }, [// @ts-ignore function children
248
+ h(kendo_vue_buttons_1.Button, {
249
+ fillMode: 'flat',
250
+ attrs: this.v3 ? undefined : {
251
+ fillMode: 'flat',
252
+ themeColor: 'primary'
253
+ },
254
+ themeColor: 'primary',
244
255
  onClick: this.onFindPrev,
245
256
  on: this.v3 ? undefined : {
246
257
  "click": this.onFindPrev
247
258
  }
248
- }, [h("span", {
259
+ }, this.v3 ? function () {
260
+ return [h("span", {
261
+ "class": "k-icon k-i-arrow-chevron-left"
262
+ }), localization.toLanguageString(findReplacePrevMatch, messages_1.messages[findReplacePrevMatch])];
263
+ } : [h("span", {
249
264
  "class": "k-icon k-i-arrow-chevron-left"
250
- }), localization.toLanguageString(findReplacePrevMatch, messages_1.messages[findReplacePrevMatch])]), h("span", [this.matchesMessage(localization.toLanguageString(findReplaceMatches, messages_1.messages[findReplaceMatches]))]), h("button", {
251
- "class": "k-button k-flat k-primary",
265
+ }), localization.toLanguageString(findReplacePrevMatch, messages_1.messages[findReplacePrevMatch])]), h("span", [this.matchesMessage(localization.toLanguageString(findReplaceMatches, messages_1.messages[findReplaceMatches]))]), // @ts-ignore function children
266
+ h(kendo_vue_buttons_1.Button, {
267
+ fillMode: 'flat',
268
+ attrs: this.v3 ? undefined : {
269
+ fillMode: 'flat',
270
+ themeColor: 'primary'
271
+ },
272
+ themeColor: 'primary',
252
273
  onClick: this.onFindNext,
253
274
  on: this.v3 ? undefined : {
254
275
  "click": this.onFindNext
255
276
  }
256
- }, [localization.toLanguageString(findReplaceNextMatch, messages_1.messages[findReplaceNextMatch]), h("span", {
277
+ }, this.v3 ? function () {
278
+ return [localization.toLanguageString(findReplaceNextMatch, messages_1.messages[findReplaceNextMatch]), h("span", {
279
+ "class": "k-icon k-i-arrow-chevron-right"
280
+ })];
281
+ } : [localization.toLanguageString(findReplaceNextMatch, messages_1.messages[findReplaceNextMatch]), h("span", {
257
282
  "class": "k-icon k-i-arrow-chevron-right"
258
283
  })])]);
259
284
  var findWhatLabel = h("div", {
@@ -274,7 +299,7 @@ var FindAndReplaceDialog = {
274
299
  autoFocus: true
275
300
  },
276
301
  type: "text",
277
- "class": "k-textbox",
302
+ "class": "k-input",
278
303
  value: this.v3 ? searchText : null,
279
304
  domProps: this.v3 ? undefined : {
280
305
  "value": searchText
@@ -305,7 +330,7 @@ var FindAndReplaceDialog = {
305
330
  id: "replaceWith",
306
331
  type: "text"
307
332
  },
308
- "class": "k-textbox",
333
+ "class": "k-input",
309
334
  type: "text",
310
335
  value: this.v3 ? replaceText : null,
311
336
  domProps: this.v3 ? undefined : {
@@ -388,8 +413,8 @@ var FindAndReplaceDialog = {
388
413
  "class": "k-edit-form-container"
389
414
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
390
415
  "class": "k-actions k-hstack k-justify-content-end"
391
- }, [h("button", {
392
- "class": "k-button",
416
+ }, [// @ts-ignore function children
417
+ h(kendo_vue_buttons_1.Button, {
393
418
  disabled: !Boolean(nextMatch),
394
419
  attrs: _this.v3 ? undefined : {
395
420
  disabled: !Boolean(nextMatch)
@@ -398,8 +423,10 @@ var FindAndReplaceDialog = {
398
423
  on: _this.v3 ? undefined : {
399
424
  "click": _this.onReplace
400
425
  }
401
- }, [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h("button", {
402
- "class": "k-button",
426
+ }, _this.v3 ? function () {
427
+ return [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])];
428
+ } : [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), // @ts-ignore function children
429
+ h(kendo_vue_buttons_1.Button, {
403
430
  disabled: !Boolean(nextMatch),
404
431
  attrs: _this.v3 ? undefined : {
405
432
  disabled: !Boolean(nextMatch)
@@ -408,13 +435,14 @@ var FindAndReplaceDialog = {
408
435
  on: _this.v3 ? undefined : {
409
436
  "click": _this.onReplaceAll
410
437
  }
411
- }, [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation];
438
+ }, _this.v3 ? function () {
439
+ return [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])];
440
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation];
412
441
  } : [h("div", {
413
442
  "class": "k-edit-form-container"
414
443
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
415
444
  "class": "k-actions k-hstack k-justify-content-end"
416
- }, [h("button", {
417
- "class": "k-button",
445
+ }, [h(kendo_vue_buttons_1.Button, {
418
446
  disabled: !Boolean(nextMatch),
419
447
  attrs: _this.v3 ? undefined : {
420
448
  disabled: !Boolean(nextMatch)
@@ -423,8 +451,9 @@ var FindAndReplaceDialog = {
423
451
  on: _this.v3 ? undefined : {
424
452
  "click": _this.onReplace
425
453
  }
426
- }, [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h("button", {
427
- "class": "k-button",
454
+ }, _this.v3 ? function () {
455
+ return [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])];
456
+ } : [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
428
457
  disabled: !Boolean(nextMatch),
429
458
  attrs: _this.v3 ? undefined : {
430
459
  disabled: !Boolean(nextMatch)
@@ -433,7 +462,9 @@ var FindAndReplaceDialog = {
433
462
  on: _this.v3 ? undefined : {
434
463
  "click": _this.onReplaceAll
435
464
  }
436
- }, [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
465
+ }, _this.v3 ? function () {
466
+ return [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])];
467
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
437
468
  } : [h(kendo_vue_layout_1.TabStripTab, {
438
469
  title: localization.toLanguageString(findReplaceTabFind, messages_1.messages[findReplaceTabFind]),
439
470
  attrs: _this.v3 ? undefined : {
@@ -455,8 +486,7 @@ var FindAndReplaceDialog = {
455
486
  "class": "k-edit-form-container"
456
487
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
457
488
  "class": "k-actions k-hstack k-justify-content-end"
458
- }, [h("button", {
459
- "class": "k-button",
489
+ }, [h(kendo_vue_buttons_1.Button, {
460
490
  disabled: !Boolean(nextMatch),
461
491
  attrs: _this.v3 ? undefined : {
462
492
  disabled: !Boolean(nextMatch)
@@ -465,8 +495,9 @@ var FindAndReplaceDialog = {
465
495
  on: _this.v3 ? undefined : {
466
496
  "click": _this.onReplace
467
497
  }
468
- }, [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h("button", {
469
- "class": "k-button",
498
+ }, _this.v3 ? function () {
499
+ return [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])];
500
+ } : [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
470
501
  disabled: !Boolean(nextMatch),
471
502
  attrs: _this.v3 ? undefined : {
472
503
  disabled: !Boolean(nextMatch)
@@ -475,13 +506,14 @@ var FindAndReplaceDialog = {
475
506
  on: _this.v3 ? undefined : {
476
507
  "click": _this.onReplaceAll
477
508
  }
478
- }, [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation];
509
+ }, _this.v3 ? function () {
510
+ return [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])];
511
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation];
479
512
  } : [h("div", {
480
513
  "class": "k-edit-form-container"
481
514
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
482
515
  "class": "k-actions k-hstack k-justify-content-end"
483
- }, [h("button", {
484
- "class": "k-button",
516
+ }, [h(kendo_vue_buttons_1.Button, {
485
517
  disabled: !Boolean(nextMatch),
486
518
  attrs: _this.v3 ? undefined : {
487
519
  disabled: !Boolean(nextMatch)
@@ -490,8 +522,9 @@ var FindAndReplaceDialog = {
490
522
  on: _this.v3 ? undefined : {
491
523
  "click": _this.onReplace
492
524
  }
493
- }, [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h("button", {
494
- "class": "k-button",
525
+ }, _this.v3 ? function () {
526
+ return [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])];
527
+ } : [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
495
528
  disabled: !Boolean(nextMatch),
496
529
  attrs: _this.v3 ? undefined : {
497
530
  disabled: !Boolean(nextMatch)
@@ -500,7 +533,9 @@ var FindAndReplaceDialog = {
500
533
  on: _this.v3 ? undefined : {
501
534
  "click": _this.onReplaceAll
502
535
  }
503
- }, [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation])])];
536
+ }, _this.v3 ? function () {
537
+ return [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])];
538
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation])])];
504
539
  } : [h(kendo_vue_layout_1.TabStrip, {
505
540
  selected: _this.selectedTab,
506
541
  attrs: _this.v3 ? undefined : {
@@ -535,8 +570,7 @@ var FindAndReplaceDialog = {
535
570
  "class": "k-edit-form-container"
536
571
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
537
572
  "class": "k-actions k-hstack k-justify-content-end"
538
- }, [h("button", {
539
- "class": "k-button",
573
+ }, [h(kendo_vue_buttons_1.Button, {
540
574
  disabled: !Boolean(nextMatch),
541
575
  attrs: _this.v3 ? undefined : {
542
576
  disabled: !Boolean(nextMatch)
@@ -545,8 +579,9 @@ var FindAndReplaceDialog = {
545
579
  on: _this.v3 ? undefined : {
546
580
  "click": _this.onReplace
547
581
  }
548
- }, [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h("button", {
549
- "class": "k-button",
582
+ }, _this.v3 ? function () {
583
+ return [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])];
584
+ } : [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
550
585
  disabled: !Boolean(nextMatch),
551
586
  attrs: _this.v3 ? undefined : {
552
587
  disabled: !Boolean(nextMatch)
@@ -555,13 +590,14 @@ var FindAndReplaceDialog = {
555
590
  on: _this.v3 ? undefined : {
556
591
  "click": _this.onReplaceAll
557
592
  }
558
- }, [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation];
593
+ }, _this.v3 ? function () {
594
+ return [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])];
595
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation];
559
596
  } : [h("div", {
560
597
  "class": "k-edit-form-container"
561
598
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
562
599
  "class": "k-actions k-hstack k-justify-content-end"
563
- }, [h("button", {
564
- "class": "k-button",
600
+ }, [h(kendo_vue_buttons_1.Button, {
565
601
  disabled: !Boolean(nextMatch),
566
602
  attrs: _this.v3 ? undefined : {
567
603
  disabled: !Boolean(nextMatch)
@@ -570,8 +606,9 @@ var FindAndReplaceDialog = {
570
606
  on: _this.v3 ? undefined : {
571
607
  "click": _this.onReplace
572
608
  }
573
- }, [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h("button", {
574
- "class": "k-button",
609
+ }, _this.v3 ? function () {
610
+ return [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])];
611
+ } : [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
575
612
  disabled: !Boolean(nextMatch),
576
613
  attrs: _this.v3 ? undefined : {
577
614
  disabled: !Boolean(nextMatch)
@@ -580,7 +617,9 @@ var FindAndReplaceDialog = {
580
617
  on: _this.v3 ? undefined : {
581
618
  "click": _this.onReplaceAll
582
619
  }
583
- }, [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
620
+ }, _this.v3 ? function () {
621
+ return [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])];
622
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
584
623
  } : [h(kendo_vue_layout_1.TabStripTab, {
585
624
  title: localization.toLanguageString(findReplaceTabFind, messages_1.messages[findReplaceTabFind]),
586
625
  attrs: _this.v3 ? undefined : {
@@ -602,8 +641,7 @@ var FindAndReplaceDialog = {
602
641
  "class": "k-edit-form-container"
603
642
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
604
643
  "class": "k-actions k-hstack k-justify-content-end"
605
- }, [h("button", {
606
- "class": "k-button",
644
+ }, [h(kendo_vue_buttons_1.Button, {
607
645
  disabled: !Boolean(nextMatch),
608
646
  attrs: _this.v3 ? undefined : {
609
647
  disabled: !Boolean(nextMatch)
@@ -612,8 +650,9 @@ var FindAndReplaceDialog = {
612
650
  on: _this.v3 ? undefined : {
613
651
  "click": _this.onReplace
614
652
  }
615
- }, [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h("button", {
616
- "class": "k-button",
653
+ }, _this.v3 ? function () {
654
+ return [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])];
655
+ } : [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
617
656
  disabled: !Boolean(nextMatch),
618
657
  attrs: _this.v3 ? undefined : {
619
658
  disabled: !Boolean(nextMatch)
@@ -622,13 +661,14 @@ var FindAndReplaceDialog = {
622
661
  on: _this.v3 ? undefined : {
623
662
  "click": _this.onReplaceAll
624
663
  }
625
- }, [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation];
664
+ }, _this.v3 ? function () {
665
+ return [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])];
666
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation];
626
667
  } : [h("div", {
627
668
  "class": "k-edit-form-container"
628
669
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
629
670
  "class": "k-actions k-hstack k-justify-content-end"
630
- }, [h("button", {
631
- "class": "k-button",
671
+ }, [h(kendo_vue_buttons_1.Button, {
632
672
  disabled: !Boolean(nextMatch),
633
673
  attrs: _this.v3 ? undefined : {
634
674
  disabled: !Boolean(nextMatch)
@@ -637,8 +677,9 @@ var FindAndReplaceDialog = {
637
677
  on: _this.v3 ? undefined : {
638
678
  "click": _this.onReplace
639
679
  }
640
- }, [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h("button", {
641
- "class": "k-button",
680
+ }, _this.v3 ? function () {
681
+ return [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])];
682
+ } : [localization.toLanguageString(findReplaceReplace, messages_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
642
683
  disabled: !Boolean(nextMatch),
643
684
  attrs: _this.v3 ? undefined : {
644
685
  disabled: !Boolean(nextMatch)
@@ -647,7 +688,9 @@ var FindAndReplaceDialog = {
647
688
  on: _this.v3 ? undefined : {
648
689
  "click": _this.onReplaceAll
649
690
  }
650
- }, [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation])])])
691
+ }, _this.v3 ? function () {
692
+ return [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])];
693
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation])])])
651
694
  ); // document.body);
652
695
  },
653
696
  methods: {
@@ -800,6 +843,6 @@ var FindAndReplaceDialog = {
800
843
  }
801
844
  }
802
845
  };
803
- exports.FindAndReplaceDialog = FindAndReplaceDialog;
804
- var FindAndReplaceDialogVue3 = FindAndReplaceDialog;
805
- exports.FindAndReplaceDialogVue3 = FindAndReplaceDialogVue3;
846
+ exports.FindAndReplaceDialogVue2 = FindAndReplaceDialogVue2;
847
+ var FindAndReplaceDialog = FindAndReplaceDialogVue2;
848
+ exports.FindAndReplaceDialog = FindAndReplaceDialog;
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -45,8 +44,8 @@ export interface InsertImageDialogData {
45
44
  /**
46
45
  * @hidden
47
46
  */
48
- export interface InsertImageDialogAll extends Vue, InsertImageDialogMethods, InsertImageDialogData, InsertImageDialogComputed, InsertImageDialogState {
47
+ export interface InsertImageDialogAll extends Vue2type, InsertImageDialogMethods, InsertImageDialogData, InsertImageDialogComputed, InsertImageDialogState {
49
48
  }
50
- declare let InsertImageDialog: ComponentOptions<InsertImageDialogAll, DefaultData<InsertImageDialogData>, DefaultMethods<InsertImageDialogAll>, InsertImageDialogComputed, RecordPropsDefinition<InsertImageDialogProps>>;
51
- declare const InsertImageDialogVue3: DefineComponent<InsertImageDialogProps, any, InsertImageDialogData, InsertImageDialogComputed, InsertImageDialogMethods, {}, {}, {}, string, InsertImageDialogProps, InsertImageDialogProps, {}>;
52
- export { InsertImageDialog, InsertImageDialogVue3 };
49
+ declare let InsertImageDialogVue2: ComponentOptions<InsertImageDialogAll, DefaultData<InsertImageDialogData>, DefaultMethods<InsertImageDialogAll>, InsertImageDialogComputed, RecordPropsDefinition<InsertImageDialogProps>>;
50
+ declare const InsertImageDialog: DefineComponent<InsertImageDialogProps, any, InsertImageDialogData, InsertImageDialogComputed, InsertImageDialogMethods, {}, {}, {}, string, InsertImageDialogProps, InsertImageDialogProps, {}>;
51
+ export { InsertImageDialog, InsertImageDialogVue2 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.InsertImageDialogVue3 = exports.InsertImageDialog = void 0; // @ts-ignore
6
+ exports.InsertImageDialogVue2 = exports.InsertImageDialog = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -21,7 +21,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
21
21
  var messages_1 = require("./../messages"); // tslint:enable:max-line-length
22
22
 
23
23
 
24
- var InsertImageDialog = {
24
+ var InsertImageDialogVue2 = {
25
25
  name: 'KendoInsertImageDialog',
26
26
  props: {
27
27
  view: Object,
@@ -93,7 +93,7 @@ var InsertImageDialog = {
93
93
  id: "k-editor-image-url",
94
94
  autoFocus: true
95
95
  },
96
- "class": "k-textbox",
96
+ "class": "k-input",
97
97
  id: "k-editor-image-url",
98
98
  value: this.v3 ? attrs.src : null,
99
99
  domProps: this.v3 ? undefined : {
@@ -118,7 +118,7 @@ var InsertImageDialog = {
118
118
  type: "text",
119
119
  id: "k-editor-image-alt"
120
120
  },
121
- "class": "k-textbox",
121
+ "class": "k-input",
122
122
  id: "k-editor-image-alt",
123
123
  value: this.v3 ? attrs.alt : null,
124
124
  domProps: this.v3 ? undefined : {
@@ -142,7 +142,7 @@ var InsertImageDialog = {
142
142
  type: "text",
143
143
  id: "k-editor-image-title"
144
144
  },
145
- "class": "k-textbox",
145
+ "class": "k-input",
146
146
  id: "k-editor-image-title",
147
147
  value: this.v3 ? attrs.title : null,
148
148
  domProps: this.v3 ? undefined : {
@@ -166,7 +166,7 @@ var InsertImageDialog = {
166
166
  type: "text",
167
167
  id: "k-editor-image-width"
168
168
  },
169
- "class": "k-textbox",
169
+ "class": "k-input",
170
170
  id: "k-editor-image-width",
171
171
  value: this.v3 ? attrs.width : null,
172
172
  domProps: this.v3 ? undefined : {
@@ -190,7 +190,7 @@ var InsertImageDialog = {
190
190
  type: "text",
191
191
  id: "k-editor-image-height"
192
192
  },
193
- "class": "k-textbox",
193
+ "class": "k-input",
194
194
  id: "k-editor-image-height",
195
195
  value: this.v3 ? attrs.height : null,
196
196
  domProps: this.v3 ? undefined : {
@@ -291,6 +291,6 @@ var InsertImageDialog = {
291
291
  }
292
292
  }
293
293
  };
294
- exports.InsertImageDialog = InsertImageDialog;
295
- var InsertImageDialogVue3 = InsertImageDialog;
296
- exports.InsertImageDialogVue3 = InsertImageDialogVue3;
294
+ exports.InsertImageDialogVue2 = InsertImageDialogVue2;
295
+ var InsertImageDialog = InsertImageDialogVue2;
296
+ exports.InsertImageDialog = InsertImageDialog;
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -43,8 +42,8 @@ export interface InsertLinkDialogData {
43
42
  /**
44
43
  * @hidden
45
44
  */
46
- export interface InsertLinkDialogAll extends Vue, InsertLinkDialogMethods, InsertLinkDialogData, InsertLinkDialogComputed, InsertLinkDialogState {
45
+ export interface InsertLinkDialogAll extends Vue2type, InsertLinkDialogMethods, InsertLinkDialogData, InsertLinkDialogComputed, InsertLinkDialogState {
47
46
  }
48
- declare let InsertLinkDialog: ComponentOptions<InsertLinkDialogAll, DefaultData<InsertLinkDialogData>, DefaultMethods<InsertLinkDialogAll>, InsertLinkDialogComputed, RecordPropsDefinition<InsertLinkDialogProps>>;
49
- declare const InsertLinkDialogVue3: DefineComponent<InsertLinkDialogProps, any, InsertLinkDialogData, InsertLinkDialogComputed, InsertLinkDialogMethods, {}, {}, {}, string, InsertLinkDialogProps, InsertLinkDialogProps, {}>;
50
- export { InsertLinkDialog, InsertLinkDialogVue3 };
47
+ declare let InsertLinkDialogVue2: ComponentOptions<InsertLinkDialogAll, DefaultData<InsertLinkDialogData>, DefaultMethods<InsertLinkDialogAll>, InsertLinkDialogComputed, RecordPropsDefinition<InsertLinkDialogProps>>;
48
+ declare const InsertLinkDialog: DefineComponent<InsertLinkDialogProps, any, InsertLinkDialogData, InsertLinkDialogComputed, InsertLinkDialogMethods, {}, {}, {}, string, InsertLinkDialogProps, InsertLinkDialogProps, {}>;
49
+ export { InsertLinkDialog, InsertLinkDialogVue2 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.InsertLinkDialogVue3 = exports.InsertLinkDialog = void 0; // @ts-ignore
6
+ exports.InsertLinkDialogVue2 = exports.InsertLinkDialog = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -21,7 +21,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
21
21
  var messages_1 = require("./../messages"); // tslint:enable:max-line-length
22
22
 
23
23
 
24
- var InsertLinkDialog = {
24
+ var InsertLinkDialogVue2 = {
25
25
  name: 'KendoInsertLinkDialog',
26
26
  props: {
27
27
  view: Object,
@@ -83,7 +83,7 @@ var InsertLinkDialog = {
83
83
  id: "k-editor-link-url",
84
84
  autoFocus: true
85
85
  },
86
- "class": "k-textbox",
86
+ "class": "k-input",
87
87
  ref: this.v3 ? function (el) {
88
88
  _this.hrefRef = el;
89
89
  } : 'href',
@@ -108,7 +108,7 @@ var InsertLinkDialog = {
108
108
  type: "text",
109
109
  id: "k-editor-link-text"
110
110
  },
111
- "class": "k-textbox",
111
+ "class": "k-input",
112
112
  id: "k-editor-link-text",
113
113
  ref: this.v3 ? function (el) {
114
114
  _this.titleRef = el;
@@ -295,6 +295,6 @@ var InsertLinkDialog = {
295
295
  }
296
296
  }
297
297
  };
298
- exports.InsertLinkDialog = InsertLinkDialog;
299
- var InsertLinkDialogVue3 = InsertLinkDialog;
300
- exports.InsertLinkDialogVue3 = InsertLinkDialogVue3;
298
+ exports.InsertLinkDialogVue2 = InsertLinkDialogVue2;
299
+ var InsertLinkDialog = InsertLinkDialogVue2;
300
+ exports.InsertLinkDialog = InsertLinkDialog;
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -42,8 +41,8 @@ export interface ViewHtmlDialogData {
42
41
  /**
43
42
  * @hidden
44
43
  */
45
- export interface ViewHtmlDialogAll extends Vue, ViewHtmlDialogMethods, ViewHtmlDialogData, ViewHtmlDialogComputed, ViewHtmlDialogState {
44
+ export interface ViewHtmlDialogAll extends Vue2type, ViewHtmlDialogMethods, ViewHtmlDialogData, ViewHtmlDialogComputed, ViewHtmlDialogState {
46
45
  }
47
- declare let ViewHtmlDialog: ComponentOptions<ViewHtmlDialogAll, DefaultData<ViewHtmlDialogData>, DefaultMethods<ViewHtmlDialogAll>, ViewHtmlDialogComputed, RecordPropsDefinition<ViewHtmlDialogProps>>;
48
- declare const ViewHtmlDialogVue3: DefineComponent<ViewHtmlDialogProps, any, ViewHtmlDialogData, ViewHtmlDialogComputed, ViewHtmlDialogMethods, {}, {}, {}, string, ViewHtmlDialogProps, ViewHtmlDialogProps, {}>;
49
- export { ViewHtmlDialog, ViewHtmlDialogVue3 };
46
+ declare let ViewHtmlDialogVue2: ComponentOptions<ViewHtmlDialogAll, DefaultData<ViewHtmlDialogData>, DefaultMethods<ViewHtmlDialogAll>, ViewHtmlDialogComputed, RecordPropsDefinition<ViewHtmlDialogProps>>;
47
+ declare const ViewHtmlDialog: DefineComponent<ViewHtmlDialogProps, any, ViewHtmlDialogData, ViewHtmlDialogComputed, ViewHtmlDialogMethods, {}, {}, {}, string, ViewHtmlDialogProps, ViewHtmlDialogProps, {}>;
48
+ export { ViewHtmlDialog, ViewHtmlDialogVue2 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.ViewHtmlDialogVue3 = exports.ViewHtmlDialog = void 0; // @ts-ignore
6
+ exports.ViewHtmlDialogVue2 = exports.ViewHtmlDialog = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -23,7 +23,7 @@ var messages_1 = require("./../messages");
23
23
  var props_key_1 = require("./../utils/props-key"); // tslint:enable:max-line-length
24
24
 
25
25
 
26
- var ViewHtmlDialog = {
26
+ var ViewHtmlDialogVue2 = {
27
27
  name: 'KendoViewHtmlDialog',
28
28
  props: {
29
29
  view: Object,
@@ -154,6 +154,6 @@ var ViewHtmlDialog = {
154
154
  }
155
155
  }
156
156
  };
157
- exports.ViewHtmlDialog = ViewHtmlDialog;
158
- var ViewHtmlDialogVue3 = ViewHtmlDialog;
159
- exports.ViewHtmlDialogVue3 = ViewHtmlDialogVue3;
157
+ exports.ViewHtmlDialogVue2 = ViewHtmlDialogVue2;
158
+ var ViewHtmlDialog = ViewHtmlDialogVue2;
159
+ exports.ViewHtmlDialog = ViewHtmlDialog;
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-editor',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1641393037,
11
+ publishDate: 1641906930,
12
12
  version: '',
13
13
  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'
14
14
  };
@@ -0,0 +1,36 @@
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
2
+ declare type DefaultData<V> = object | ((this: V) => {});
3
+ declare type DefaultMethods<V> = {
4
+ [key: string]: (this: V, ...args: any[]) => any;
5
+ };
6
+ import { EditorTools } from '../main';
7
+ /**
8
+ * @hidden
9
+ */
10
+ export interface AlignState {
11
+ }
12
+ /**
13
+ * @hidden
14
+ */
15
+ export interface AlignComputed {
16
+ [key: string]: any;
17
+ }
18
+ /**
19
+ * @hidden
20
+ */
21
+ export interface AlignMethods {
22
+ [key: string]: any;
23
+ }
24
+ /**
25
+ * @hidden
26
+ */
27
+ export interface AlignData {
28
+ }
29
+ /**
30
+ * @hidden
31
+ */
32
+ export interface AlignAll extends Vue2type, AlignMethods, AlignData, AlignComputed, AlignState {
33
+ }
34
+ declare let AlignVue2: ComponentOptions<AlignAll, DefaultData<AlignData>, DefaultMethods<AlignAll>, AlignComputed, RecordPropsDefinition<EditorTools.AlignToolProps>>;
35
+ declare const Align: DefineComponent<EditorTools.AlignToolProps, any, AlignData, AlignComputed, AlignMethods, {}, {}, {}, string, EditorTools.AlignToolProps, EditorTools.AlignToolProps, {}>;
36
+ export { Align, AlignVue2 };
@@ -32,7 +32,7 @@ var __rest = undefined && undefined.__rest || function (s, e) {
32
32
  Object.defineProperty(exports, "__esModule", {
33
33
  value: true
34
34
  });
35
- exports.AlignVue3 = exports.Align = void 0; // @ts-ignore
35
+ exports.AlignVue2 = exports.Align = void 0; // @ts-ignore
36
36
 
37
37
  var Vue = require("vue");
38
38
 
@@ -51,7 +51,7 @@ var messages_1 = require("./../messages");
51
51
 
52
52
  var alignRemove = toolsSettings_1.EditorToolsSettings.alignRemove; // tslint:enable:max-line-length
53
53
 
54
- var Align = {
54
+ var AlignVue2 = {
55
55
  name: 'KendoAlign',
56
56
  props: __assign({
57
57
  view: Object,
@@ -125,6 +125,6 @@ var Align = {
125
125
  }
126
126
  }
127
127
  };
128
- exports.Align = Align;
129
- var AlignVue3 = Align;
130
- exports.AlignVue3 = AlignVue3;
128
+ exports.AlignVue2 = AlignVue2;
129
+ var Align = AlignVue2;
130
+ exports.Align = Align;