@progress/kendo-vue-editor 2.7.3 → 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 (112) hide show
  1. package/dist/cdn/js/kendo-vue-editor.js +1 -1
  2. package/dist/es/Editor.d.ts +49 -131
  3. package/dist/es/Editor.js +37 -16
  4. package/dist/es/EditorProps.d.ts +11 -5
  5. package/dist/es/additionalTypes.ts +7 -1
  6. package/dist/es/dialogs/FindReplace.d.ts +5 -6
  7. package/dist/es/dialogs/FindReplace.js +93 -51
  8. package/dist/es/dialogs/insertImage.d.ts +5 -6
  9. package/dist/es/dialogs/insertImage.js +8 -8
  10. package/dist/es/dialogs/insertLink.d.ts +5 -6
  11. package/dist/es/dialogs/insertLink.js +5 -5
  12. package/dist/es/dialogs/viewHtml.d.ts +5 -6
  13. package/dist/es/dialogs/viewHtml.js +3 -3
  14. package/dist/es/package-metadata.js +1 -1
  15. package/dist/es/tools/align.d.ts +5 -6
  16. package/dist/es/tools/align.js +3 -3
  17. package/dist/es/tools/applyColor.d.ts +5 -6
  18. package/dist/es/tools/applyColor.js +3 -3
  19. package/dist/es/tools/cleanFormatting.d.ts +5 -6
  20. package/dist/es/tools/cleanFormatting.js +3 -3
  21. package/dist/es/tools/findReplace.d.ts +5 -6
  22. package/dist/es/tools/findReplace.js +3 -3
  23. package/dist/es/tools/fontStyle.d.ts +5 -6
  24. package/dist/es/tools/fontStyle.js +3 -3
  25. package/dist/es/tools/formatBlock.d.ts +5 -6
  26. package/dist/es/tools/formatBlock.js +3 -3
  27. package/dist/es/tools/indent.d.ts +5 -6
  28. package/dist/es/tools/indent.js +3 -3
  29. package/dist/es/tools/inlineFormat.d.ts +5 -6
  30. package/dist/es/tools/inlineFormat.js +3 -3
  31. package/dist/es/tools/insertImage.d.ts +5 -6
  32. package/dist/es/tools/insertImage.js +3 -3
  33. package/dist/es/tools/insertLink.d.ts +5 -6
  34. package/dist/es/tools/insertLink.js +3 -3
  35. package/dist/es/tools/insertTable/popup.d.ts +5 -6
  36. package/dist/es/tools/insertTable/popup.js +3 -3
  37. package/dist/es/tools/insertTable/popupGrid.d.ts +5 -6
  38. package/dist/es/tools/insertTable/popupGrid.js +3 -3
  39. package/dist/es/tools/insertTable/tool.d.ts +5 -6
  40. package/dist/es/tools/insertTable/tool.js +3 -3
  41. package/dist/es/tools/lists.d.ts +5 -6
  42. package/dist/es/tools/lists.js +3 -3
  43. package/dist/es/tools/outdent.d.ts +5 -6
  44. package/dist/es/tools/outdent.js +3 -3
  45. package/dist/es/tools/pdf.d.ts +5 -6
  46. package/dist/es/tools/pdf.js +3 -3
  47. package/dist/es/tools/print.d.ts +5 -6
  48. package/dist/es/tools/print.js +3 -3
  49. package/dist/es/tools/proseMirrorTool.d.ts +5 -6
  50. package/dist/es/tools/proseMirrorTool.js +3 -3
  51. package/dist/es/tools/selectAll.d.ts +5 -6
  52. package/dist/es/tools/selectAll.js +3 -3
  53. package/dist/es/tools/unlink.d.ts +5 -6
  54. package/dist/es/tools/unlink.js +3 -3
  55. package/dist/es/tools/viewHtml.d.ts +5 -6
  56. package/dist/es/tools/viewHtml.js +3 -3
  57. package/dist/npm/Editor.d.ts +49 -131
  58. package/dist/npm/Editor.js +39 -18
  59. package/dist/npm/EditorProps.d.ts +11 -5
  60. package/dist/npm/additionalTypes.ts +7 -1
  61. package/dist/npm/dialogs/FindReplace.d.ts +5 -6
  62. package/dist/npm/dialogs/FindReplace.js +96 -53
  63. package/dist/npm/dialogs/insertImage.d.ts +5 -6
  64. package/dist/npm/dialogs/insertImage.js +10 -10
  65. package/dist/npm/dialogs/insertLink.d.ts +5 -6
  66. package/dist/npm/dialogs/insertLink.js +7 -7
  67. package/dist/npm/dialogs/viewHtml.d.ts +5 -6
  68. package/dist/npm/dialogs/viewHtml.js +5 -5
  69. package/dist/npm/package-metadata.js +1 -1
  70. package/dist/npm/tools/align.d.ts +5 -6
  71. package/dist/npm/tools/align.js +5 -5
  72. package/dist/npm/tools/applyColor.d.ts +5 -6
  73. package/dist/npm/tools/applyColor.js +5 -5
  74. package/dist/npm/tools/cleanFormatting.d.ts +5 -6
  75. package/dist/npm/tools/cleanFormatting.js +5 -5
  76. package/dist/npm/tools/findReplace.d.ts +5 -6
  77. package/dist/npm/tools/findReplace.js +5 -5
  78. package/dist/npm/tools/fontStyle.d.ts +5 -6
  79. package/dist/npm/tools/fontStyle.js +5 -5
  80. package/dist/npm/tools/formatBlock.d.ts +5 -6
  81. package/dist/npm/tools/formatBlock.js +5 -5
  82. package/dist/npm/tools/indent.d.ts +5 -6
  83. package/dist/npm/tools/indent.js +5 -5
  84. package/dist/npm/tools/inlineFormat.d.ts +5 -6
  85. package/dist/npm/tools/inlineFormat.js +5 -5
  86. package/dist/npm/tools/insertImage.d.ts +5 -6
  87. package/dist/npm/tools/insertImage.js +5 -5
  88. package/dist/npm/tools/insertLink.d.ts +5 -6
  89. package/dist/npm/tools/insertLink.js +5 -5
  90. package/dist/npm/tools/insertTable/popup.d.ts +5 -6
  91. package/dist/npm/tools/insertTable/popup.js +5 -5
  92. package/dist/npm/tools/insertTable/popupGrid.d.ts +5 -6
  93. package/dist/npm/tools/insertTable/popupGrid.js +5 -5
  94. package/dist/npm/tools/insertTable/tool.d.ts +5 -6
  95. package/dist/npm/tools/insertTable/tool.js +5 -5
  96. package/dist/npm/tools/lists.d.ts +5 -6
  97. package/dist/npm/tools/lists.js +5 -5
  98. package/dist/npm/tools/outdent.d.ts +5 -6
  99. package/dist/npm/tools/outdent.js +5 -5
  100. package/dist/npm/tools/pdf.d.ts +5 -6
  101. package/dist/npm/tools/pdf.js +5 -5
  102. package/dist/npm/tools/print.d.ts +5 -6
  103. package/dist/npm/tools/print.js +5 -5
  104. package/dist/npm/tools/proseMirrorTool.d.ts +5 -6
  105. package/dist/npm/tools/proseMirrorTool.js +5 -5
  106. package/dist/npm/tools/selectAll.d.ts +5 -6
  107. package/dist/npm/tools/selectAll.js +5 -5
  108. package/dist/npm/tools/unlink.d.ts +5 -6
  109. package/dist/npm/tools/unlink.js +5 -5
  110. package/dist/npm/tools/viewHtml.d.ts +5 -6
  111. package/dist/npm/tools/viewHtml.js +5 -5
  112. package/package.json +12 -12
@@ -2,6 +2,7 @@
2
2
  import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
+ import { Button } from '@progress/kendo-vue-buttons';
5
6
  import { Window } from '@progress/kendo-vue-dialogs';
6
7
  import { TabStrip, TabStripTab } from '@progress/kendo-vue-layout';
7
8
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -13,7 +14,7 @@ var enter = 13,
13
14
  esc = 27;
14
15
  var settings = EditorToolsSettings.findAndReplace; // tslint:enable:max-line-length
15
16
 
16
- var FindAndReplaceDialog = {
17
+ var FindAndReplaceDialogVue2 = {
17
18
  name: 'KendoFindAndReplaceDialog',
18
19
  props: {
19
20
  view: Object,
@@ -30,6 +31,9 @@ var FindAndReplaceDialog = {
30
31
  default: null
31
32
  }
32
33
  },
34
+ created: function created() {
35
+ this.matches = undefined;
36
+ },
33
37
  data: function data() {
34
38
  return {
35
39
  selectedTab: 0,
@@ -224,21 +228,41 @@ var FindAndReplaceDialog = {
224
228
  }, [localization.toLanguageString(findReplaceUseRegExp, messages[findReplaceUseRegExp])])])]);
225
229
  var navigation = h("div", {
226
230
  "class": "k-matches-container"
227
- }, [h("button", {
228
- "class": "k-button k-flat k-primary",
231
+ }, [// @ts-ignore function children
232
+ h(Button, {
233
+ fillMode: 'flat',
234
+ attrs: this.v3 ? undefined : {
235
+ fillMode: 'flat',
236
+ themeColor: 'primary'
237
+ },
238
+ themeColor: 'primary',
229
239
  onClick: this.onFindPrev,
230
240
  on: this.v3 ? undefined : {
231
241
  "click": this.onFindPrev
232
242
  }
233
- }, [h("span", {
243
+ }, this.v3 ? function () {
244
+ return [h("span", {
245
+ "class": "k-icon k-i-arrow-chevron-left"
246
+ }), localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])];
247
+ } : [h("span", {
234
248
  "class": "k-icon k-i-arrow-chevron-left"
235
- }), localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])]), h("span", [this.matchesMessage(localization.toLanguageString(findReplaceMatches, messages[findReplaceMatches]))]), h("button", {
236
- "class": "k-button k-flat k-primary",
249
+ }), localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])]), h("span", [this.matchesMessage(localization.toLanguageString(findReplaceMatches, messages[findReplaceMatches]))]), // @ts-ignore function children
250
+ h(Button, {
251
+ fillMode: 'flat',
252
+ attrs: this.v3 ? undefined : {
253
+ fillMode: 'flat',
254
+ themeColor: 'primary'
255
+ },
256
+ themeColor: 'primary',
237
257
  onClick: this.onFindNext,
238
258
  on: this.v3 ? undefined : {
239
259
  "click": this.onFindNext
240
260
  }
241
- }, [localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]), h("span", {
261
+ }, this.v3 ? function () {
262
+ return [localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]), h("span", {
263
+ "class": "k-icon k-i-arrow-chevron-right"
264
+ })];
265
+ } : [localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]), h("span", {
242
266
  "class": "k-icon k-i-arrow-chevron-right"
243
267
  })])]);
244
268
  var findWhatLabel = h("div", {
@@ -259,7 +283,7 @@ var FindAndReplaceDialog = {
259
283
  autoFocus: true
260
284
  },
261
285
  type: "text",
262
- "class": "k-textbox",
286
+ "class": "k-input",
263
287
  value: this.v3 ? searchText : null,
264
288
  domProps: this.v3 ? undefined : {
265
289
  "value": searchText
@@ -290,7 +314,7 @@ var FindAndReplaceDialog = {
290
314
  id: "replaceWith",
291
315
  type: "text"
292
316
  },
293
- "class": "k-textbox",
317
+ "class": "k-input",
294
318
  type: "text",
295
319
  value: this.v3 ? replaceText : null,
296
320
  domProps: this.v3 ? undefined : {
@@ -373,8 +397,8 @@ var FindAndReplaceDialog = {
373
397
  "class": "k-edit-form-container"
374
398
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
375
399
  "class": "k-actions k-hstack k-justify-content-end"
376
- }, [h("button", {
377
- "class": "k-button",
400
+ }, [// @ts-ignore function children
401
+ h(Button, {
378
402
  disabled: !Boolean(nextMatch),
379
403
  attrs: _this.v3 ? undefined : {
380
404
  disabled: !Boolean(nextMatch)
@@ -383,8 +407,10 @@ var FindAndReplaceDialog = {
383
407
  on: _this.v3 ? undefined : {
384
408
  "click": _this.onReplace
385
409
  }
386
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
387
- "class": "k-button",
410
+ }, _this.v3 ? function () {
411
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
412
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), // @ts-ignore function children
413
+ h(Button, {
388
414
  disabled: !Boolean(nextMatch),
389
415
  attrs: _this.v3 ? undefined : {
390
416
  disabled: !Boolean(nextMatch)
@@ -393,13 +419,14 @@ var FindAndReplaceDialog = {
393
419
  on: _this.v3 ? undefined : {
394
420
  "click": _this.onReplaceAll
395
421
  }
396
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
422
+ }, _this.v3 ? function () {
423
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
424
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
397
425
  } : [h("div", {
398
426
  "class": "k-edit-form-container"
399
427
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
400
428
  "class": "k-actions k-hstack k-justify-content-end"
401
- }, [h("button", {
402
- "class": "k-button",
429
+ }, [h(Button, {
403
430
  disabled: !Boolean(nextMatch),
404
431
  attrs: _this.v3 ? undefined : {
405
432
  disabled: !Boolean(nextMatch)
@@ -408,8 +435,9 @@ var FindAndReplaceDialog = {
408
435
  on: _this.v3 ? undefined : {
409
436
  "click": _this.onReplace
410
437
  }
411
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
412
- "class": "k-button",
438
+ }, _this.v3 ? function () {
439
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
440
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
413
441
  disabled: !Boolean(nextMatch),
414
442
  attrs: _this.v3 ? undefined : {
415
443
  disabled: !Boolean(nextMatch)
@@ -418,7 +446,9 @@ var FindAndReplaceDialog = {
418
446
  on: _this.v3 ? undefined : {
419
447
  "click": _this.onReplaceAll
420
448
  }
421
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
449
+ }, _this.v3 ? function () {
450
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
451
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
422
452
  } : [h(TabStripTab, {
423
453
  title: localization.toLanguageString(findReplaceTabFind, messages[findReplaceTabFind]),
424
454
  attrs: _this.v3 ? undefined : {
@@ -440,8 +470,7 @@ var FindAndReplaceDialog = {
440
470
  "class": "k-edit-form-container"
441
471
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
442
472
  "class": "k-actions k-hstack k-justify-content-end"
443
- }, [h("button", {
444
- "class": "k-button",
473
+ }, [h(Button, {
445
474
  disabled: !Boolean(nextMatch),
446
475
  attrs: _this.v3 ? undefined : {
447
476
  disabled: !Boolean(nextMatch)
@@ -450,8 +479,9 @@ var FindAndReplaceDialog = {
450
479
  on: _this.v3 ? undefined : {
451
480
  "click": _this.onReplace
452
481
  }
453
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
454
- "class": "k-button",
482
+ }, _this.v3 ? function () {
483
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
484
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
455
485
  disabled: !Boolean(nextMatch),
456
486
  attrs: _this.v3 ? undefined : {
457
487
  disabled: !Boolean(nextMatch)
@@ -460,13 +490,14 @@ var FindAndReplaceDialog = {
460
490
  on: _this.v3 ? undefined : {
461
491
  "click": _this.onReplaceAll
462
492
  }
463
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
493
+ }, _this.v3 ? function () {
494
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
495
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
464
496
  } : [h("div", {
465
497
  "class": "k-edit-form-container"
466
498
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
467
499
  "class": "k-actions k-hstack k-justify-content-end"
468
- }, [h("button", {
469
- "class": "k-button",
500
+ }, [h(Button, {
470
501
  disabled: !Boolean(nextMatch),
471
502
  attrs: _this.v3 ? undefined : {
472
503
  disabled: !Boolean(nextMatch)
@@ -475,8 +506,9 @@ var FindAndReplaceDialog = {
475
506
  on: _this.v3 ? undefined : {
476
507
  "click": _this.onReplace
477
508
  }
478
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
479
- "class": "k-button",
509
+ }, _this.v3 ? function () {
510
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
511
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
480
512
  disabled: !Boolean(nextMatch),
481
513
  attrs: _this.v3 ? undefined : {
482
514
  disabled: !Boolean(nextMatch)
@@ -485,7 +517,9 @@ var FindAndReplaceDialog = {
485
517
  on: _this.v3 ? undefined : {
486
518
  "click": _this.onReplaceAll
487
519
  }
488
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])])];
520
+ }, _this.v3 ? function () {
521
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
522
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])])];
489
523
  } : [h(TabStrip, {
490
524
  selected: _this.selectedTab,
491
525
  attrs: _this.v3 ? undefined : {
@@ -520,8 +554,7 @@ var FindAndReplaceDialog = {
520
554
  "class": "k-edit-form-container"
521
555
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
522
556
  "class": "k-actions k-hstack k-justify-content-end"
523
- }, [h("button", {
524
- "class": "k-button",
557
+ }, [h(Button, {
525
558
  disabled: !Boolean(nextMatch),
526
559
  attrs: _this.v3 ? undefined : {
527
560
  disabled: !Boolean(nextMatch)
@@ -530,8 +563,9 @@ var FindAndReplaceDialog = {
530
563
  on: _this.v3 ? undefined : {
531
564
  "click": _this.onReplace
532
565
  }
533
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
534
- "class": "k-button",
566
+ }, _this.v3 ? function () {
567
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
568
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
535
569
  disabled: !Boolean(nextMatch),
536
570
  attrs: _this.v3 ? undefined : {
537
571
  disabled: !Boolean(nextMatch)
@@ -540,13 +574,14 @@ var FindAndReplaceDialog = {
540
574
  on: _this.v3 ? undefined : {
541
575
  "click": _this.onReplaceAll
542
576
  }
543
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
577
+ }, _this.v3 ? function () {
578
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
579
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
544
580
  } : [h("div", {
545
581
  "class": "k-edit-form-container"
546
582
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
547
583
  "class": "k-actions k-hstack k-justify-content-end"
548
- }, [h("button", {
549
- "class": "k-button",
584
+ }, [h(Button, {
550
585
  disabled: !Boolean(nextMatch),
551
586
  attrs: _this.v3 ? undefined : {
552
587
  disabled: !Boolean(nextMatch)
@@ -555,8 +590,9 @@ var FindAndReplaceDialog = {
555
590
  on: _this.v3 ? undefined : {
556
591
  "click": _this.onReplace
557
592
  }
558
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
559
- "class": "k-button",
593
+ }, _this.v3 ? function () {
594
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
595
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
560
596
  disabled: !Boolean(nextMatch),
561
597
  attrs: _this.v3 ? undefined : {
562
598
  disabled: !Boolean(nextMatch)
@@ -565,7 +601,9 @@ var FindAndReplaceDialog = {
565
601
  on: _this.v3 ? undefined : {
566
602
  "click": _this.onReplaceAll
567
603
  }
568
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
604
+ }, _this.v3 ? function () {
605
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
606
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
569
607
  } : [h(TabStripTab, {
570
608
  title: localization.toLanguageString(findReplaceTabFind, messages[findReplaceTabFind]),
571
609
  attrs: _this.v3 ? undefined : {
@@ -587,8 +625,7 @@ var FindAndReplaceDialog = {
587
625
  "class": "k-edit-form-container"
588
626
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
589
627
  "class": "k-actions k-hstack k-justify-content-end"
590
- }, [h("button", {
591
- "class": "k-button",
628
+ }, [h(Button, {
592
629
  disabled: !Boolean(nextMatch),
593
630
  attrs: _this.v3 ? undefined : {
594
631
  disabled: !Boolean(nextMatch)
@@ -597,8 +634,9 @@ var FindAndReplaceDialog = {
597
634
  on: _this.v3 ? undefined : {
598
635
  "click": _this.onReplace
599
636
  }
600
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
601
- "class": "k-button",
637
+ }, _this.v3 ? function () {
638
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
639
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
602
640
  disabled: !Boolean(nextMatch),
603
641
  attrs: _this.v3 ? undefined : {
604
642
  disabled: !Boolean(nextMatch)
@@ -607,13 +645,14 @@ var FindAndReplaceDialog = {
607
645
  on: _this.v3 ? undefined : {
608
646
  "click": _this.onReplaceAll
609
647
  }
610
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
648
+ }, _this.v3 ? function () {
649
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
650
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
611
651
  } : [h("div", {
612
652
  "class": "k-edit-form-container"
613
653
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
614
654
  "class": "k-actions k-hstack k-justify-content-end"
615
- }, [h("button", {
616
- "class": "k-button",
655
+ }, [h(Button, {
617
656
  disabled: !Boolean(nextMatch),
618
657
  attrs: _this.v3 ? undefined : {
619
658
  disabled: !Boolean(nextMatch)
@@ -622,8 +661,9 @@ var FindAndReplaceDialog = {
622
661
  on: _this.v3 ? undefined : {
623
662
  "click": _this.onReplace
624
663
  }
625
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
626
- "class": "k-button",
664
+ }, _this.v3 ? function () {
665
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
666
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
627
667
  disabled: !Boolean(nextMatch),
628
668
  attrs: _this.v3 ? undefined : {
629
669
  disabled: !Boolean(nextMatch)
@@ -632,7 +672,9 @@ var FindAndReplaceDialog = {
632
672
  on: _this.v3 ? undefined : {
633
673
  "click": _this.onReplaceAll
634
674
  }
635
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])])])
675
+ }, _this.v3 ? function () {
676
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
677
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])])])
636
678
  ); // document.body);
637
679
  },
638
680
  methods: {
@@ -785,5 +827,5 @@ var FindAndReplaceDialog = {
785
827
  }
786
828
  }
787
829
  };
788
- var FindAndReplaceDialogVue3 = FindAndReplaceDialog;
789
- export { FindAndReplaceDialog, FindAndReplaceDialogVue3 };
830
+ var FindAndReplaceDialog = FindAndReplaceDialogVue2;
831
+ export { FindAndReplaceDialog, FindAndReplaceDialogVue2 };
@@ -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 };
@@ -8,7 +8,7 @@ import { NodeSelection, insertNode } from '@progress/kendo-editor-common';
8
8
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
9
9
  import { messages } from './../messages'; // tslint:enable:max-line-length
10
10
 
11
- var InsertImageDialog = {
11
+ var InsertImageDialogVue2 = {
12
12
  name: 'KendoInsertImageDialog',
13
13
  props: {
14
14
  view: Object,
@@ -80,7 +80,7 @@ var InsertImageDialog = {
80
80
  id: "k-editor-image-url",
81
81
  autoFocus: true
82
82
  },
83
- "class": "k-textbox",
83
+ "class": "k-input",
84
84
  id: "k-editor-image-url",
85
85
  value: this.v3 ? attrs.src : null,
86
86
  domProps: this.v3 ? undefined : {
@@ -105,7 +105,7 @@ var InsertImageDialog = {
105
105
  type: "text",
106
106
  id: "k-editor-image-alt"
107
107
  },
108
- "class": "k-textbox",
108
+ "class": "k-input",
109
109
  id: "k-editor-image-alt",
110
110
  value: this.v3 ? attrs.alt : null,
111
111
  domProps: this.v3 ? undefined : {
@@ -129,7 +129,7 @@ var InsertImageDialog = {
129
129
  type: "text",
130
130
  id: "k-editor-image-title"
131
131
  },
132
- "class": "k-textbox",
132
+ "class": "k-input",
133
133
  id: "k-editor-image-title",
134
134
  value: this.v3 ? attrs.title : null,
135
135
  domProps: this.v3 ? undefined : {
@@ -153,7 +153,7 @@ var InsertImageDialog = {
153
153
  type: "text",
154
154
  id: "k-editor-image-width"
155
155
  },
156
- "class": "k-textbox",
156
+ "class": "k-input",
157
157
  id: "k-editor-image-width",
158
158
  value: this.v3 ? attrs.width : null,
159
159
  domProps: this.v3 ? undefined : {
@@ -177,7 +177,7 @@ var InsertImageDialog = {
177
177
  type: "text",
178
178
  id: "k-editor-image-height"
179
179
  },
180
- "class": "k-textbox",
180
+ "class": "k-input",
181
181
  id: "k-editor-image-height",
182
182
  value: this.v3 ? attrs.height : null,
183
183
  domProps: this.v3 ? undefined : {
@@ -278,5 +278,5 @@ var InsertImageDialog = {
278
278
  }
279
279
  }
280
280
  };
281
- var InsertImageDialogVue3 = InsertImageDialog;
282
- export { InsertImageDialog, InsertImageDialogVue3 };
281
+ var InsertImageDialog = InsertImageDialogVue2;
282
+ export { InsertImageDialog, InsertImageDialogVue2 };
@@ -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 };
@@ -8,7 +8,7 @@ import { getMark, applyLink } from '@progress/kendo-editor-common';
8
8
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
9
9
  import { messages } from './../messages'; // tslint:enable:max-line-length
10
10
 
11
- var InsertLinkDialog = {
11
+ var InsertLinkDialogVue2 = {
12
12
  name: 'KendoInsertLinkDialog',
13
13
  props: {
14
14
  view: Object,
@@ -70,7 +70,7 @@ var InsertLinkDialog = {
70
70
  id: "k-editor-link-url",
71
71
  autoFocus: true
72
72
  },
73
- "class": "k-textbox",
73
+ "class": "k-input",
74
74
  ref: this.v3 ? function (el) {
75
75
  _this.hrefRef = el;
76
76
  } : 'href',
@@ -95,7 +95,7 @@ var InsertLinkDialog = {
95
95
  type: "text",
96
96
  id: "k-editor-link-text"
97
97
  },
98
- "class": "k-textbox",
98
+ "class": "k-input",
99
99
  id: "k-editor-link-text",
100
100
  ref: this.v3 ? function (el) {
101
101
  _this.titleRef = el;
@@ -282,5 +282,5 @@ var InsertLinkDialog = {
282
282
  }
283
283
  }
284
284
  };
285
- var InsertLinkDialogVue3 = InsertLinkDialog;
286
- export { InsertLinkDialog, InsertLinkDialogVue3 };
285
+ var InsertLinkDialog = InsertLinkDialogVue2;
286
+ export { InsertLinkDialog, InsertLinkDialogVue2 };
@@ -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 };
@@ -9,7 +9,7 @@ import { provideLocalizationService } from '@progress/kendo-vue-intl';
9
9
  import { messages } from './../messages';
10
10
  import { editorPropsKey } from './../utils/props-key'; // tslint:enable:max-line-length
11
11
 
12
- var ViewHtmlDialog = {
12
+ var ViewHtmlDialogVue2 = {
13
13
  name: 'KendoViewHtmlDialog',
14
14
  props: {
15
15
  view: Object,
@@ -140,5 +140,5 @@ var ViewHtmlDialog = {
140
140
  }
141
141
  }
142
142
  };
143
- var ViewHtmlDialogVue3 = ViewHtmlDialog;
144
- export { ViewHtmlDialog, ViewHtmlDialogVue3 };
143
+ var ViewHtmlDialog = ViewHtmlDialogVue2;
144
+ export { ViewHtmlDialog, ViewHtmlDialogVue2 };
@@ -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: 1641561315,
8
+ publishDate: 1641906930,
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
  };
@@ -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;
@@ -30,8 +29,8 @@ export interface AlignData {
30
29
  /**
31
30
  * @hidden
32
31
  */
33
- export interface AlignAll extends Vue, AlignMethods, AlignData, AlignComputed, AlignState {
32
+ export interface AlignAll extends Vue2type, AlignMethods, AlignData, AlignComputed, AlignState {
34
33
  }
35
- declare let Align: ComponentOptions<AlignAll, DefaultData<AlignData>, DefaultMethods<AlignAll>, AlignComputed, RecordPropsDefinition<EditorTools.AlignToolProps>>;
36
- declare const AlignVue3: DefineComponent<EditorTools.AlignToolProps, any, AlignData, AlignComputed, AlignMethods, {}, {}, {}, string, EditorTools.AlignToolProps, EditorTools.AlignToolProps, {}>;
37
- export { Align, AlignVue3 };
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 };
@@ -38,7 +38,7 @@ import { provideLocalizationService } from '@progress/kendo-vue-intl';
38
38
  import { messages } from './../messages';
39
39
  var alignRemove = EditorToolsSettings.alignRemove; // tslint:enable:max-line-length
40
40
 
41
- var Align = {
41
+ var AlignVue2 = {
42
42
  name: 'KendoAlign',
43
43
  props: __assign({
44
44
  view: Object,
@@ -112,5 +112,5 @@ var Align = {
112
112
  }
113
113
  }
114
114
  };
115
- var AlignVue3 = Align;
116
- export { Align, AlignVue3 };
115
+ var Align = AlignVue2;
116
+ export { Align, AlignVue2 };
@@ -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;
@@ -36,8 +35,8 @@ export interface ApplyColorData {
36
35
  /**
37
36
  * @hidden
38
37
  */
39
- export interface ApplyColorAll extends Vue, ApplyColorMethods, ApplyColorData, ApplyColorComputed, ApplyColorState {
38
+ export interface ApplyColorAll extends Vue2type, ApplyColorMethods, ApplyColorData, ApplyColorComputed, ApplyColorState {
40
39
  }
41
- declare let ApplyColor: ComponentOptions<ApplyColorAll, DefaultData<ApplyColorData>, DefaultMethods<ApplyColorAll>, ApplyColorComputed, RecordPropsDefinition<ApplyColorToolProps>>;
42
- declare const ApplyColorVue3: DefineComponent<ApplyColorToolProps, any, ApplyColorData, ApplyColorComputed, ApplyColorMethods, {}, {}, {}, string, ApplyColorToolProps, ApplyColorToolProps, {}>;
43
- export { ApplyColor, ApplyColorVue3 };
40
+ declare let ApplyColorVue2: ComponentOptions<ApplyColorAll, DefaultData<ApplyColorData>, DefaultMethods<ApplyColorAll>, ApplyColorComputed, RecordPropsDefinition<ApplyColorToolProps>>;
41
+ declare const ApplyColor: DefineComponent<ApplyColorToolProps, any, ApplyColorData, ApplyColorComputed, ApplyColorMethods, {}, {}, {}, string, ApplyColorToolProps, ApplyColorToolProps, {}>;
42
+ export { ApplyColor, ApplyColorVue2 };
@@ -23,7 +23,7 @@ import { applyInlineStyle } from '@progress/kendo-editor-common';
23
23
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
24
24
  import { messages } from '../messages'; // tslint:enable:max-line-length
25
25
 
26
- var ApplyColor = {
26
+ var ApplyColorVue2 = {
27
27
  name: 'KendoApplyColor',
28
28
  props: {
29
29
  view: Object,
@@ -88,5 +88,5 @@ var ApplyColor = {
88
88
  }
89
89
  }
90
90
  };
91
- var ApplyColorVue3 = ApplyColor;
92
- export { ApplyColor, ApplyColorVue3 };
91
+ var ApplyColor = ApplyColorVue2;
92
+ export { ApplyColor, ApplyColorVue2 };
@@ -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;
@@ -40,8 +39,8 @@ export interface CleanFormattingData {
40
39
  /**
41
40
  * @hidden
42
41
  */
43
- export interface CleanFormattingAll extends Vue, CleanFormattingMethods, CleanFormattingData, CleanFormattingComputed, CleanFormattingState {
42
+ export interface CleanFormattingAll extends Vue2type, CleanFormattingMethods, CleanFormattingData, CleanFormattingComputed, CleanFormattingState {
44
43
  }
45
- declare let CleanFormatting: ComponentOptions<CleanFormattingAll, DefaultData<CleanFormattingData>, DefaultMethods<CleanFormattingAll>, CleanFormattingComputed, RecordPropsDefinition<CleanFormattingProps>>;
46
- declare const CleanFormattingVue3: DefineComponent<CleanFormattingProps, any, CleanFormattingData, CleanFormattingComputed, CleanFormattingMethods, {}, {}, {}, string, CleanFormattingProps, CleanFormattingProps, {}>;
47
- export { CleanFormatting, CleanFormattingVue3 };
44
+ declare let CleanFormattingVue2: ComponentOptions<CleanFormattingAll, DefaultData<CleanFormattingData>, DefaultMethods<CleanFormattingAll>, CleanFormattingComputed, RecordPropsDefinition<CleanFormattingProps>>;
45
+ declare const CleanFormatting: DefineComponent<CleanFormattingProps, any, CleanFormattingData, CleanFormattingComputed, CleanFormattingMethods, {}, {}, {}, string, CleanFormattingProps, CleanFormattingProps, {}>;
46
+ export { CleanFormatting, CleanFormattingVue2 };