@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
@@ -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,
@@ -76,6 +76,8 @@ var InsertLinkDialog = {
76
76
  }
77
77
  }, [localization.toLanguageString(insertHyperlinkAddress, messages_1.messages[insertHyperlinkAddress])])]), h("div", {
78
78
  "class": "k-edit-field"
79
+ }, [h("span", {
80
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
79
81
  }, [h("input", {
80
82
  type: "text",
81
83
  attrs: this.v3 ? undefined : {
@@ -83,7 +85,7 @@ var InsertLinkDialog = {
83
85
  id: "k-editor-link-url",
84
86
  autoFocus: true
85
87
  },
86
- "class": "k-textbox",
88
+ "class": "k-input-inner",
87
89
  ref: this.v3 ? function (el) {
88
90
  _this.hrefRef = el;
89
91
  } : 'href',
@@ -93,7 +95,7 @@ var InsertLinkDialog = {
93
95
  "value": linkMark && linkMark.attrs.href || undefined
94
96
  },
95
97
  autoFocus: true
96
- })]), h("div", {
98
+ })])]), h("div", {
97
99
  "class": "k-edit-label k-editor-link-text-row"
98
100
  }, [h("label", {
99
101
  "for": "k-editor-link-text",
@@ -102,13 +104,15 @@ var InsertLinkDialog = {
102
104
  }
103
105
  }, [localization.toLanguageString(insertHyperlinkTitle, messages_1.messages[insertHyperlinkTitle])])]), h("div", {
104
106
  "class": "k-edit-field k-editor-link-text-row"
107
+ }, [h("span", {
108
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
105
109
  }, [h("input", {
106
110
  type: "text",
107
111
  attrs: this.v3 ? undefined : {
108
112
  type: "text",
109
113
  id: "k-editor-link-text"
110
114
  },
111
- "class": "k-textbox",
115
+ "class": "k-input-inner",
112
116
  id: "k-editor-link-text",
113
117
  ref: this.v3 ? function (el) {
114
118
  _this.titleRef = el;
@@ -117,7 +121,7 @@ var InsertLinkDialog = {
117
121
  domProps: this.v3 ? undefined : {
118
122
  "value": linkMark && linkMark.attrs.title || undefined
119
123
  }
120
- })]), settings.linkTarget !== false && h("div", {
124
+ })])]), settings.linkTarget !== false && h("div", {
121
125
  "class": "k-edit-field"
122
126
  }, [h("input", {
123
127
  type: "checkbox",
@@ -125,7 +129,7 @@ var InsertLinkDialog = {
125
129
  type: "checkbox",
126
130
  id: "k-editor-link-target"
127
131
  },
128
- "class": "k-checkbox",
132
+ "class": "k-checkbox k-checkbox-md k-rounded-md",
129
133
  id: "k-editor-link-target",
130
134
  ref: this.v3 ? function (el) {
131
135
  _this.targetRef = el;
@@ -295,6 +299,6 @@ var InsertLinkDialog = {
295
299
  }
296
300
  }
297
301
  };
298
- exports.InsertLinkDialog = InsertLinkDialog;
299
- var InsertLinkDialogVue3 = InsertLinkDialog;
300
- exports.InsertLinkDialogVue3 = InsertLinkDialogVue3;
302
+ exports.InsertLinkDialogVue2 = InsertLinkDialogVue2;
303
+ var InsertLinkDialog = InsertLinkDialogVue2;
304
+ 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: 1641396794,
11
+ publishDate: 1641982194,
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;
@@ -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 };
@@ -19,7 +19,7 @@ var __assign = undefined && undefined.__assign || function () {
19
19
  Object.defineProperty(exports, "__esModule", {
20
20
  value: true
21
21
  });
22
- exports.ApplyColorVue3 = exports.ApplyColor = void 0; // @ts-ignore
22
+ exports.ApplyColorVue2 = exports.ApplyColor = void 0; // @ts-ignore
23
23
 
24
24
  var Vue = require("vue");
25
25
 
@@ -35,7 +35,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
35
35
  var messages_1 = require("../messages"); // tslint:enable:max-line-length
36
36
 
37
37
 
38
- var ApplyColor = {
38
+ var ApplyColorVue2 = {
39
39
  name: 'KendoApplyColor',
40
40
  props: {
41
41
  view: Object,
@@ -100,6 +100,6 @@ var ApplyColor = {
100
100
  }
101
101
  }
102
102
  };
103
- exports.ApplyColor = ApplyColor;
104
- var ApplyColorVue3 = ApplyColor;
105
- exports.ApplyColorVue3 = ApplyColorVue3;
103
+ exports.ApplyColorVue2 = ApplyColorVue2;
104
+ var ApplyColor = ApplyColorVue2;
105
+ exports.ApplyColor = ApplyColor;
@@ -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 };
@@ -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.CleanFormattingVue3 = exports.CleanFormatting = void 0; // @ts-ignore
35
+ exports.CleanFormattingVue2 = exports.CleanFormatting = void 0; // @ts-ignore
36
36
 
37
37
  var Vue = require("vue");
38
38
 
@@ -52,7 +52,7 @@ var toolsSettings_1 = require("./../config/toolsSettings");
52
52
  var cleanFormatting = toolsSettings_1.EditorToolsSettings.cleanFormatting;
53
53
  var command = kendo_editor_common_1.cleanFormatting(); // tslint:enable:max-line-length
54
54
 
55
- var CleanFormatting = {
55
+ var CleanFormattingVue2 = {
56
56
  name: 'KendoCleanFormatting',
57
57
  props: __assign({
58
58
  view: Object,
@@ -123,6 +123,6 @@ var CleanFormatting = {
123
123
  }
124
124
  }
125
125
  };
126
- exports.CleanFormatting = CleanFormatting;
127
- var CleanFormattingVue3 = CleanFormatting;
128
- exports.CleanFormattingVue3 = CleanFormattingVue3;
126
+ exports.CleanFormattingVue2 = CleanFormattingVue2;
127
+ var CleanFormatting = CleanFormattingVue2;
128
+ exports.CleanFormatting = CleanFormatting;
@@ -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 };
@@ -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.FindAndReplaceVue3 = exports.FindAndReplace = void 0; // @ts-ignore
35
+ exports.FindAndReplaceVue2 = exports.FindAndReplace = void 0; // @ts-ignore
36
36
 
37
37
  var Vue = require("vue");
38
38
 
@@ -51,7 +51,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
51
51
 
52
52
  var settings = toolsSettings_1.EditorToolsSettings.findAndReplace; // tslint:enable:max-line-length
53
53
 
54
- var FindAndReplace = {
54
+ var FindAndReplaceVue2 = {
55
55
  name: 'KendoFindAndReplace',
56
56
  props: __assign({
57
57
  view: Object
@@ -128,6 +128,6 @@ var FindAndReplace = {
128
128
  }
129
129
  }
130
130
  };
131
- exports.FindAndReplace = FindAndReplace;
132
- var FindAndReplaceVue3 = FindAndReplace;
133
- exports.FindAndReplaceVue3 = FindAndReplaceVue3;
131
+ exports.FindAndReplaceVue2 = FindAndReplaceVue2;
132
+ var FindAndReplace = FindAndReplaceVue2;
133
+ exports.FindAndReplace = FindAndReplace;
@@ -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 };
@@ -46,7 +46,7 @@ var __spreadArrays = undefined && undefined.__spreadArrays || function () {
46
46
  Object.defineProperty(exports, "__esModule", {
47
47
  value: true
48
48
  });
49
- exports.FontNameVue3 = exports.FontName = void 0; // @ts-ignore
49
+ exports.FontNameVue2 = exports.FontName = void 0; // @ts-ignore
50
50
 
51
51
  var Vue = require("vue");
52
52
 
@@ -64,7 +64,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
64
64
  var messages_1 = require("./../messages"); // tslint:enable:max-line-length
65
65
 
66
66
 
67
- var FontName = {
67
+ var FontNameVue2 = {
68
68
  name: 'KendoFontName',
69
69
  props: __assign({
70
70
  view: Object,
@@ -141,9 +141,14 @@ var FontName = {
141
141
  },
142
142
  methods: {
143
143
  customItemRender: function customItemRender(h, li, itemProps) {
144
- return itemProps.dataItem.style ? h('li', __assign({}, li.data), [h('span', {
145
- style: itemProps.dataItem.style,
146
- onClick: itemProps.onChange
144
+ return itemProps.dataItem.style ? h('li', {
145
+ class: itemProps.itemClass,
146
+ onClick: itemProps.onClick,
147
+ on: {
148
+ click: itemProps.onClick
149
+ }
150
+ }, [h('span', {
151
+ style: itemProps.dataItem.style
147
152
  }, __spreadArrays(li.children))]) : li;
148
153
  },
149
154
  onChange: function onChange(e) {
@@ -153,7 +158,7 @@ var FontName = {
153
158
  settings = _a.settings;
154
159
  var style = settings.style;
155
160
 
156
- if (view) {
161
+ if (view && item) {
157
162
  kendo_editor_common_1.applyInlineStyle({
158
163
  style: style,
159
164
  value: item.value
@@ -167,6 +172,6 @@ var FontName = {
167
172
  }
168
173
  }
169
174
  };
170
- exports.FontName = FontName;
171
- var FontNameVue3 = FontName;
172
- exports.FontNameVue3 = FontNameVue3;
175
+ exports.FontNameVue2 = FontNameVue2;
176
+ var FontName = FontNameVue2;
177
+ exports.FontName = FontName;
@@ -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 };
@@ -46,7 +46,7 @@ var __spreadArrays = undefined && undefined.__spreadArrays || function () {
46
46
  Object.defineProperty(exports, "__esModule", {
47
47
  value: true
48
48
  });
49
- exports.FormatBlockVue3 = exports.FormatBlock = void 0; // @ts-ignore
49
+ exports.FormatBlockVue2 = exports.FormatBlock = void 0; // @ts-ignore
50
50
 
51
51
  var Vue = require("vue");
52
52
 
@@ -64,7 +64,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
64
64
  var messages_1 = require("./../messages"); // tslint:enable:max-line-length
65
65
 
66
66
 
67
- var FormatBlock = {
67
+ var FormatBlockVue2 = {
68
68
  name: 'KendoFormatBlock',
69
69
  props: __assign({
70
70
  view: Object,
@@ -138,9 +138,14 @@ var FormatBlock = {
138
138
  },
139
139
  methods: {
140
140
  customItemRender: function customItemRender(h, li, itemProps) {
141
- return itemProps.dataItem.style ? h('li', __assign({}, li.data), [h('span', {
142
- style: itemProps.dataItem.style,
143
- onClick: itemProps.onChange
141
+ return itemProps.dataItem.style ? h('li', {
142
+ class: itemProps.itemClass,
143
+ onClick: itemProps.onClick,
144
+ on: {
145
+ click: itemProps.onClick
146
+ }
147
+ }, [h('span', {
148
+ style: itemProps.dataItem.style
144
149
  }, __spreadArrays(li.children))]) : li;
145
150
  },
146
151
  onChange: function onChange(e) {
@@ -159,6 +164,6 @@ var FormatBlock = {
159
164
  }
160
165
  }
161
166
  };
162
- exports.FormatBlock = FormatBlock;
163
- var FormatBlockVue3 = FormatBlock;
164
- exports.FormatBlockVue3 = FormatBlockVue3;
167
+ exports.FormatBlockVue2 = FormatBlockVue2;
168
+ var FormatBlock = FormatBlockVue2;
169
+ exports.FormatBlock = FormatBlock;
@@ -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 };
@@ -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.IndentVue3 = exports.Indent = void 0; // @ts-ignore
35
+ exports.IndentVue2 = exports.Indent = void 0; // @ts-ignore
36
36
 
37
37
  var Vue = require("vue");
38
38
 
@@ -48,7 +48,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
48
48
  var messages_1 = require("./../messages"); // tslint:enable:max-line-length
49
49
 
50
50
 
51
- var Indent = {
51
+ var IndentVue2 = {
52
52
  name: 'KendoIndent',
53
53
  props: __assign({
54
54
  view: Object,
@@ -135,6 +135,6 @@ var Indent = {
135
135
  }
136
136
  }
137
137
  };
138
- exports.Indent = Indent;
139
- var IndentVue3 = Indent;
140
- exports.IndentVue3 = IndentVue3;
138
+ exports.IndentVue2 = IndentVue2;
139
+ var Indent = IndentVue2;
140
+ exports.Indent = Indent;
@@ -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 };
@@ -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.InlineFormatVue3 = exports.InlineFormat = void 0; // @ts-ignore
35
+ exports.InlineFormatVue2 = exports.InlineFormat = void 0; // @ts-ignore
36
36
 
37
37
  var Vue = require("vue");
38
38
 
@@ -48,7 +48,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
48
48
  var messages_1 = require("../messages"); // tslint:enable:max-line-length
49
49
 
50
50
 
51
- var InlineFormat = {
51
+ var InlineFormatVue2 = {
52
52
  name: 'KendoInlineFormat',
53
53
  props: __assign({
54
54
  view: Object,
@@ -133,6 +133,6 @@ var InlineFormat = {
133
133
  }
134
134
  }
135
135
  };
136
- exports.InlineFormat = InlineFormat;
137
- var InlineFormatVue3 = InlineFormat;
138
- exports.InlineFormatVue3 = InlineFormatVue3;
136
+ exports.InlineFormatVue2 = InlineFormatVue2;
137
+ var InlineFormat = InlineFormatVue2;
138
+ exports.InlineFormat = InlineFormat;
@@ -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 };