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

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 +103 -57
  9. package/dist/es/dialogs/insertImage.d.ts +5 -6
  10. package/dist/es/dialogs/insertImage.js +23 -13
  11. package/dist/es/dialogs/insertLink.d.ts +5 -6
  12. package/dist/es/dialogs/insertLink.js +12 -8
  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 +106 -59
  65. package/dist/npm/dialogs/insertImage.d.ts +5 -6
  66. package/dist/npm/dialogs/insertImage.js +25 -15
  67. package/dist/npm/dialogs/insertLink.d.ts +5 -6
  68. package/dist/npm/dialogs/insertLink.js +14 -10
  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
@@ -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,
@@ -63,6 +63,8 @@ var InsertLinkDialog = {
63
63
  }
64
64
  }, [localization.toLanguageString(insertHyperlinkAddress, messages[insertHyperlinkAddress])])]), h("div", {
65
65
  "class": "k-edit-field"
66
+ }, [h("span", {
67
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
66
68
  }, [h("input", {
67
69
  type: "text",
68
70
  attrs: this.v3 ? undefined : {
@@ -70,7 +72,7 @@ var InsertLinkDialog = {
70
72
  id: "k-editor-link-url",
71
73
  autoFocus: true
72
74
  },
73
- "class": "k-textbox",
75
+ "class": "k-input-inner",
74
76
  ref: this.v3 ? function (el) {
75
77
  _this.hrefRef = el;
76
78
  } : 'href',
@@ -80,7 +82,7 @@ var InsertLinkDialog = {
80
82
  "value": linkMark && linkMark.attrs.href || undefined
81
83
  },
82
84
  autoFocus: true
83
- })]), h("div", {
85
+ })])]), h("div", {
84
86
  "class": "k-edit-label k-editor-link-text-row"
85
87
  }, [h("label", {
86
88
  "for": "k-editor-link-text",
@@ -89,13 +91,15 @@ var InsertLinkDialog = {
89
91
  }
90
92
  }, [localization.toLanguageString(insertHyperlinkTitle, messages[insertHyperlinkTitle])])]), h("div", {
91
93
  "class": "k-edit-field k-editor-link-text-row"
94
+ }, [h("span", {
95
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
92
96
  }, [h("input", {
93
97
  type: "text",
94
98
  attrs: this.v3 ? undefined : {
95
99
  type: "text",
96
100
  id: "k-editor-link-text"
97
101
  },
98
- "class": "k-textbox",
102
+ "class": "k-input-inner",
99
103
  id: "k-editor-link-text",
100
104
  ref: this.v3 ? function (el) {
101
105
  _this.titleRef = el;
@@ -104,7 +108,7 @@ var InsertLinkDialog = {
104
108
  domProps: this.v3 ? undefined : {
105
109
  "value": linkMark && linkMark.attrs.title || undefined
106
110
  }
107
- })]), settings.linkTarget !== false && h("div", {
111
+ })])]), settings.linkTarget !== false && h("div", {
108
112
  "class": "k-edit-field"
109
113
  }, [h("input", {
110
114
  type: "checkbox",
@@ -112,7 +116,7 @@ var InsertLinkDialog = {
112
116
  type: "checkbox",
113
117
  id: "k-editor-link-target"
114
118
  },
115
- "class": "k-checkbox",
119
+ "class": "k-checkbox k-checkbox-md k-rounded-md",
116
120
  id: "k-editor-link-target",
117
121
  ref: this.v3 ? function (el) {
118
122
  _this.targetRef = el;
@@ -282,5 +286,5 @@ var InsertLinkDialog = {
282
286
  }
283
287
  }
284
288
  };
285
- var InsertLinkDialogVue3 = InsertLinkDialog;
286
- export { InsertLinkDialog, InsertLinkDialogVue3 };
289
+ var InsertLinkDialog = InsertLinkDialogVue2;
290
+ 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: 1641396794,
8
+ publishDate: 1641982194,
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
  };
@@ -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 };
@@ -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 };
@@ -39,7 +39,7 @@ import { EditorToolsSettings } from './../config/toolsSettings';
39
39
  var cleanFormatting = EditorToolsSettings.cleanFormatting;
40
40
  var command = cleanFormattingCmd(); // tslint:enable:max-line-length
41
41
 
42
- var CleanFormatting = {
42
+ var CleanFormattingVue2 = {
43
43
  name: 'KendoCleanFormatting',
44
44
  props: __assign({
45
45
  view: Object,
@@ -110,5 +110,5 @@ var CleanFormatting = {
110
110
  }
111
111
  }
112
112
  };
113
- var CleanFormattingVue3 = CleanFormatting;
114
- export { CleanFormatting, CleanFormattingVue3 };
113
+ var CleanFormatting = CleanFormattingVue2;
114
+ export { CleanFormatting, CleanFormattingVue2 };
@@ -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;
@@ -34,8 +33,8 @@ export interface FindAndReplaceData {
34
33
  /**
35
34
  * @hidden
36
35
  */
37
- export interface FindAndReplaceAll extends Vue, FindAndReplaceMethods, FindAndReplaceData, FindAndReplaceComputed, FindAndReplaceState {
36
+ export interface FindAndReplaceAll extends Vue2type, FindAndReplaceMethods, FindAndReplaceData, FindAndReplaceComputed, FindAndReplaceState {
38
37
  }
39
- declare let FindAndReplace: ComponentOptions<FindAndReplaceAll, DefaultData<FindAndReplaceData>, DefaultMethods<FindAndReplaceAll>, FindAndReplaceComputed, RecordPropsDefinition<FindAndReplaceProps>>;
40
- declare const FindAndReplaceVue3: DefineComponent<FindAndReplaceProps, any, FindAndReplaceData, FindAndReplaceComputed, FindAndReplaceMethods, {}, {}, {}, string, FindAndReplaceProps, FindAndReplaceProps, {}>;
41
- export { FindAndReplace, FindAndReplaceVue3 };
38
+ declare let FindAndReplaceVue2: ComponentOptions<FindAndReplaceAll, DefaultData<FindAndReplaceData>, DefaultMethods<FindAndReplaceAll>, FindAndReplaceComputed, RecordPropsDefinition<FindAndReplaceProps>>;
39
+ declare const FindAndReplace: DefineComponent<FindAndReplaceProps, any, FindAndReplaceData, FindAndReplaceComputed, FindAndReplaceMethods, {}, {}, {}, string, FindAndReplaceProps, FindAndReplaceProps, {}>;
40
+ export { FindAndReplace, FindAndReplaceVue2 };
@@ -38,7 +38,7 @@ import { EditorToolsSettings } from './../config/toolsSettings';
38
38
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
39
39
  var settings = EditorToolsSettings.findAndReplace; // tslint:enable:max-line-length
40
40
 
41
- var FindAndReplace = {
41
+ var FindAndReplaceVue2 = {
42
42
  name: 'KendoFindAndReplace',
43
43
  props: __assign({
44
44
  view: Object
@@ -115,5 +115,5 @@ var FindAndReplace = {
115
115
  }
116
116
  }
117
117
  };
118
- var FindAndReplaceVue3 = FindAndReplace;
119
- export { FindAndReplace, FindAndReplaceVue3 };
118
+ var FindAndReplace = FindAndReplaceVue2;
119
+ export { FindAndReplace, FindAndReplaceVue2 };
@@ -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;
@@ -46,8 +45,8 @@ export interface FontNameData {
46
45
  /**
47
46
  * @hidden
48
47
  */
49
- export interface FontNameAll extends Vue, FontNameMethods, FontNameData, FontNameComputed, FontNameState {
48
+ export interface FontNameAll extends Vue2type, FontNameMethods, FontNameData, FontNameComputed, FontNameState {
50
49
  }
51
- declare let FontName: ComponentOptions<FontNameAll, DefaultData<FontNameData>, DefaultMethods<FontNameAll>, FontNameComputed, RecordPropsDefinition<FontNameProps>>;
52
- declare const FontNameVue3: DefineComponent<FontNameProps, any, FontNameData, FontNameComputed, FontNameMethods, {}, {}, {}, string, FontNameProps, FontNameProps, {}>;
53
- export { FontName, FontNameVue3 };
50
+ declare let FontNameVue2: ComponentOptions<FontNameAll, DefaultData<FontNameData>, DefaultMethods<FontNameAll>, FontNameComputed, RecordPropsDefinition<FontNameProps>>;
51
+ declare const FontName: DefineComponent<FontNameProps, any, FontNameData, FontNameComputed, FontNameMethods, {}, {}, {}, string, FontNameProps, FontNameProps, {}>;
52
+ export { FontName, FontNameVue2 };
@@ -51,7 +51,7 @@ import { userSelectNone } from './utils';
51
51
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
52
52
  import { messages } from './../messages'; // tslint:enable:max-line-length
53
53
 
54
- var FontName = {
54
+ var FontNameVue2 = {
55
55
  name: 'KendoFontName',
56
56
  props: __assign({
57
57
  view: Object,
@@ -128,9 +128,14 @@ var FontName = {
128
128
  },
129
129
  methods: {
130
130
  customItemRender: function customItemRender(h, li, itemProps) {
131
- return itemProps.dataItem.style ? h('li', __assign({}, li.data), [h('span', {
132
- style: itemProps.dataItem.style,
133
- onClick: itemProps.onChange
131
+ return itemProps.dataItem.style ? h('li', {
132
+ class: itemProps.itemClass,
133
+ onClick: itemProps.onClick,
134
+ on: {
135
+ click: itemProps.onClick
136
+ }
137
+ }, [h('span', {
138
+ style: itemProps.dataItem.style
134
139
  }, __spreadArrays(li.children))]) : li;
135
140
  },
136
141
  onChange: function onChange(e) {
@@ -140,7 +145,7 @@ var FontName = {
140
145
  settings = _a.settings;
141
146
  var style = settings.style;
142
147
 
143
- if (view) {
148
+ if (view && item) {
144
149
  applyInlineStyle({
145
150
  style: style,
146
151
  value: item.value
@@ -154,5 +159,5 @@ var FontName = {
154
159
  }
155
160
  }
156
161
  };
157
- var FontNameVue3 = FontName;
158
- export { FontName, FontNameVue3 };
162
+ var FontName = FontNameVue2;
163
+ export { FontName, FontNameVue2 };
@@ -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 FormatBlockData {
36
35
  /**
37
36
  * @hidden
38
37
  */
39
- export interface FormatBlockAll extends Vue, FormatBlockMethods, FormatBlockData, FormatBlockComputed, FormatBlockState {
38
+ export interface FormatBlockAll extends Vue2type, FormatBlockMethods, FormatBlockData, FormatBlockComputed, FormatBlockState {
40
39
  }
41
- declare let FormatBlock: ComponentOptions<FormatBlockAll, DefaultData<FormatBlockData>, DefaultMethods<FormatBlockAll>, FormatBlockComputed, RecordPropsDefinition<FormatBlockProps>>;
42
- declare const FormatBlockVue3: DefineComponent<FormatBlockProps, any, FormatBlockData, FormatBlockComputed, FormatBlockMethods, {}, {}, {}, string, FormatBlockProps, FormatBlockProps, {}>;
43
- export { FormatBlock, FormatBlockVue3 };
40
+ declare let FormatBlockVue2: ComponentOptions<FormatBlockAll, DefaultData<FormatBlockData>, DefaultMethods<FormatBlockAll>, FormatBlockComputed, RecordPropsDefinition<FormatBlockProps>>;
41
+ declare const FormatBlock: DefineComponent<FormatBlockProps, any, FormatBlockData, FormatBlockComputed, FormatBlockMethods, {}, {}, {}, string, FormatBlockProps, FormatBlockProps, {}>;
42
+ export { FormatBlock, FormatBlockVue2 };
@@ -51,7 +51,7 @@ import { userSelectNone } from './utils';
51
51
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
52
52
  import { messages } from './../messages'; // tslint:enable:max-line-length
53
53
 
54
- var FormatBlock = {
54
+ var FormatBlockVue2 = {
55
55
  name: 'KendoFormatBlock',
56
56
  props: __assign({
57
57
  view: Object,
@@ -125,9 +125,14 @@ var FormatBlock = {
125
125
  },
126
126
  methods: {
127
127
  customItemRender: function customItemRender(h, li, itemProps) {
128
- return itemProps.dataItem.style ? h('li', __assign({}, li.data), [h('span', {
129
- style: itemProps.dataItem.style,
130
- onClick: itemProps.onChange
128
+ return itemProps.dataItem.style ? h('li', {
129
+ class: itemProps.itemClass,
130
+ onClick: itemProps.onClick,
131
+ on: {
132
+ click: itemProps.onClick
133
+ }
134
+ }, [h('span', {
135
+ style: itemProps.dataItem.style
131
136
  }, __spreadArrays(li.children))]) : li;
132
137
  },
133
138
  onChange: function onChange(e) {
@@ -146,5 +151,5 @@ var FormatBlock = {
146
151
  }
147
152
  }
148
153
  };
149
- var FormatBlockVue3 = FormatBlock;
150
- export { FormatBlock, FormatBlockVue3 };
154
+ var FormatBlock = FormatBlockVue2;
155
+ export { FormatBlock, FormatBlockVue2 };
@@ -0,0 +1,41 @@
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 { ToolProps } from './ToolProps';
7
+ /**
8
+ * @hidden
9
+ */
10
+ export interface IndentProps extends ToolProps {
11
+ }
12
+ /**
13
+ * @hidden
14
+ */
15
+ export interface IndentState {
16
+ }
17
+ /**
18
+ * @hidden
19
+ */
20
+ export interface IndentComputed {
21
+ [key: string]: any;
22
+ }
23
+ /**
24
+ * @hidden
25
+ */
26
+ export interface IndentMethods {
27
+ [key: string]: any;
28
+ }
29
+ /**
30
+ * @hidden
31
+ */
32
+ export interface IndentData {
33
+ }
34
+ /**
35
+ * @hidden
36
+ */
37
+ export interface IndentAll extends Vue2type, IndentMethods, IndentData, IndentComputed, IndentState {
38
+ }
39
+ declare let IndentVue2: ComponentOptions<IndentAll, DefaultData<IndentData>, DefaultMethods<IndentAll>, IndentComputed, RecordPropsDefinition<IndentProps>>;
40
+ declare const Indent: DefineComponent<IndentProps, any, IndentData, IndentComputed, IndentMethods, {}, {}, {}, string, IndentProps, IndentProps, {}>;
41
+ export { Indent, IndentVue2 };
@@ -36,7 +36,7 @@ import { indentBlocks, isIndented, canIndentAsListItem, hasNode, sinkListItem }
36
36
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
37
37
  import { messages } from './../messages'; // tslint:enable:max-line-length
38
38
 
39
- var Indent = {
39
+ var IndentVue2 = {
40
40
  name: 'KendoIndent',
41
41
  props: __assign({
42
42
  view: Object,
@@ -123,5 +123,5 @@ var Indent = {
123
123
  }
124
124
  }
125
125
  };
126
- var IndentVue3 = Indent;
127
- export { Indent, IndentVue3 };
126
+ var Indent = IndentVue2;
127
+ export { Indent, IndentVue2 };
@@ -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;
@@ -65,8 +64,8 @@ export interface InlineFormatData {
65
64
  /**
66
65
  * @hidden
67
66
  */
68
- export interface InlineFormatAll extends Vue, InlineFormatMethods, InlineFormatData, InlineFormatComputed, InlineFormatState {
67
+ export interface InlineFormatAll extends Vue2type, InlineFormatMethods, InlineFormatData, InlineFormatComputed, InlineFormatState {
69
68
  }
70
- declare let InlineFormat: ComponentOptions<InlineFormatAll, DefaultData<InlineFormatData>, DefaultMethods<InlineFormatAll>, InlineFormatComputed, RecordPropsDefinition<InlineFormatToolProps>>;
71
- declare const InlineFormatVue3: DefineComponent<InlineFormatToolProps, any, InlineFormatData, InlineFormatComputed, InlineFormatMethods, {}, {}, {}, string, InlineFormatToolProps, InlineFormatToolProps, {}>;
72
- export { InlineFormat, InlineFormatVue3 };
69
+ declare let InlineFormatVue2: ComponentOptions<InlineFormatAll, DefaultData<InlineFormatData>, DefaultMethods<InlineFormatAll>, InlineFormatComputed, RecordPropsDefinition<InlineFormatToolProps>>;
70
+ declare const InlineFormat: DefineComponent<InlineFormatToolProps, any, InlineFormatData, InlineFormatComputed, InlineFormatMethods, {}, {}, {}, string, InlineFormatToolProps, InlineFormatToolProps, {}>;
71
+ export { InlineFormat, InlineFormatVue2 };
@@ -36,7 +36,7 @@ import { toggleInlineFormat, hasMark } from '@progress/kendo-editor-common';
36
36
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
37
37
  import { messages } from '../messages'; // tslint:enable:max-line-length
38
38
 
39
- var InlineFormat = {
39
+ var InlineFormatVue2 = {
40
40
  name: 'KendoInlineFormat',
41
41
  props: __assign({
42
42
  view: Object,
@@ -121,5 +121,5 @@ var InlineFormat = {
121
121
  }
122
122
  }
123
123
  };
124
- var InlineFormatVue3 = InlineFormat;
125
- export { InlineFormat, InlineFormatVue3 };
124
+ var InlineFormat = InlineFormatVue2;
125
+ export { InlineFormat, InlineFormatVue2 };
@@ -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;
@@ -37,8 +36,8 @@ export interface InsertImageData {
37
36
  /**
38
37
  * @hidden
39
38
  */
40
- export interface InsertImageAll extends Vue, InsertImageMethods, InsertImageData, InsertImageComputed, InsertImageState {
39
+ export interface InsertImageAll extends Vue2type, InsertImageMethods, InsertImageData, InsertImageComputed, InsertImageState {
41
40
  }
42
- declare let InsertImage: ComponentOptions<InsertImageAll, DefaultData<InsertImageData>, DefaultMethods<InsertImageAll>, InsertImageComputed, RecordPropsDefinition<InsertImageProps>>;
43
- declare const InsertImageVue3: DefineComponent<BasicToolProps, any, InsertImageData, InsertImageComputed, InsertImageMethods, {}, {}, {}, string, BasicToolProps, BasicToolProps, {}>;
44
- export { InsertImage, InsertImageVue3 };
41
+ declare let InsertImageVue2: ComponentOptions<InsertImageAll, DefaultData<InsertImageData>, DefaultMethods<InsertImageAll>, InsertImageComputed, RecordPropsDefinition<InsertImageProps>>;
42
+ declare const InsertImage: DefineComponent<BasicToolProps, any, InsertImageData, InsertImageComputed, InsertImageMethods, {}, {}, {}, string, BasicToolProps, BasicToolProps, {}>;
43
+ export { InsertImage, InsertImageVue2 };
@@ -37,7 +37,7 @@ import { InsertImageDialog } from '../dialogs/insertImage';
37
37
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
38
38
  import { messages } from './../messages'; // tslint:enable:max-line-length
39
39
 
40
- var InsertImage = {
40
+ var InsertImageVue2 = {
41
41
  name: 'KendoInsertImage',
42
42
  props: __assign({
43
43
  view: Object,
@@ -126,5 +126,5 @@ var InsertImage = {
126
126
  }
127
127
  }
128
128
  };
129
- var InsertImageVue3 = InsertImage;
130
- export { InsertImage, InsertImageVue3 };
129
+ var InsertImage = InsertImageVue2;
130
+ export { InsertImage, InsertImageVue2 };
@@ -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;
@@ -37,8 +36,8 @@ export interface LinkToolData {
37
36
  /**
38
37
  * @hidden
39
38
  */
40
- export interface LinkToolAll extends Vue, LinkToolMethods, LinkToolData, LinkToolComputed, LinkToolState {
39
+ export interface LinkToolAll extends Vue2type, LinkToolMethods, LinkToolData, LinkToolComputed, LinkToolState {
41
40
  }
42
- declare let LinkTool: ComponentOptions<LinkToolAll, DefaultData<LinkToolData>, DefaultMethods<LinkToolAll>, LinkToolComputed, RecordPropsDefinition<LinkProps>>;
43
- declare const LinkToolVue3: DefineComponent<LinkProps, any, LinkToolData, LinkToolComputed, LinkToolMethods, {}, {}, {}, string, LinkProps, LinkProps, {}>;
44
- export { LinkTool, LinkToolVue3 };
41
+ declare let LinkToolVue2: ComponentOptions<LinkToolAll, DefaultData<LinkToolData>, DefaultMethods<LinkToolAll>, LinkToolComputed, RecordPropsDefinition<LinkProps>>;
42
+ declare const LinkTool: DefineComponent<LinkProps, any, LinkToolData, LinkToolComputed, LinkToolMethods, {}, {}, {}, string, LinkProps, LinkProps, {}>;
43
+ export { LinkTool, LinkToolVue2 };
@@ -37,7 +37,7 @@ import { InsertLinkDialog } from '../dialogs/insertLink';
37
37
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
38
38
  import { messages } from './../messages'; // tslint:enable:max-line-length
39
39
 
40
- var LinkTool = {
40
+ var LinkToolVue2 = {
41
41
  name: 'KendoLinkTool',
42
42
  props: __assign({
43
43
  view: Object,
@@ -126,5 +126,5 @@ var LinkTool = {
126
126
  }
127
127
  }
128
128
  };
129
- var LinkToolVue3 = LinkTool;
130
- export { LinkTool, LinkToolVue3 };
129
+ var LinkTool = LinkToolVue2;
130
+ export { LinkTool, LinkToolVue2 };
@@ -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;
@@ -71,8 +70,8 @@ export interface InsertTablePopupData {
71
70
  /**
72
71
  * @hidden
73
72
  */
74
- export interface InsertTablePopupAll extends Vue, InsertTablePopupMethods, InsertTablePopupData, InsertTablePopupComputed, InsertTablePopupState {
73
+ export interface InsertTablePopupAll extends Vue2type, InsertTablePopupMethods, InsertTablePopupData, InsertTablePopupComputed, InsertTablePopupState {
75
74
  }
76
- declare let InsertTablePopup: ComponentOptions<InsertTablePopupAll, DefaultData<InsertTablePopupData>, DefaultMethods<InsertTablePopupAll>, InsertTablePopupComputed, RecordPropsDefinition<InsertTablePopupProps>>;
77
- declare const InsertTablePopupVue3: DefineComponent<InsertTablePopupProps, any, InsertTablePopupData, InsertTablePopupComputed, InsertTablePopupMethods, {}, {}, {}, string, InsertTablePopupProps, InsertTablePopupProps, {}>;
78
- export { InsertTablePopup, InsertTablePopupVue3 };
75
+ declare let InsertTablePopupVue2: ComponentOptions<InsertTablePopupAll, DefaultData<InsertTablePopupData>, DefaultMethods<InsertTablePopupAll>, InsertTablePopupComputed, RecordPropsDefinition<InsertTablePopupProps>>;
76
+ declare const InsertTablePopup: DefineComponent<InsertTablePopupProps, any, InsertTablePopupData, InsertTablePopupComputed, InsertTablePopupMethods, {}, {}, {}, string, InsertTablePopupProps, InsertTablePopupProps, {}>;
77
+ export { InsertTablePopup, InsertTablePopupVue2 };
@@ -5,7 +5,7 @@ var gh = allVue.h;
5
5
  import { Popup } from '@progress/kendo-vue-popup';
6
6
  import { PopupGrid } from './popupGrid'; // tslint:enable:max-line-length
7
7
 
8
- var InsertTablePopup = {
8
+ var InsertTablePopupVue2 = {
9
9
  name: 'KendoInsertTablePopup',
10
10
  props: {
11
11
  show: {
@@ -164,5 +164,5 @@ var InsertTablePopup = {
164
164
  }
165
165
  }
166
166
  };
167
- var InsertTablePopupVue3 = InsertTablePopup;
168
- export { InsertTablePopup, InsertTablePopupVue3 };
167
+ var InsertTablePopup = InsertTablePopupVue2;
168
+ export { InsertTablePopup, InsertTablePopupVue2 };