@progress/kendo-vue-editor 2.7.3 → 3.0.0-dev.202201141128

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 (118) 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 +51 -25
  4. package/dist/es/EditorProps.d.ts +11 -5
  5. package/dist/es/additionalTypes.ts +7 -1
  6. package/dist/es/config/toolsSettings.d.ts +4 -0
  7. package/dist/es/dialogs/FindReplace.d.ts +6 -7
  8. package/dist/es/dialogs/FindReplace.js +203 -131
  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/main.d.ts +19 -0
  16. package/dist/es/main.js +19 -0
  17. package/dist/es/package-metadata.js +1 -1
  18. package/dist/es/tools/align.d.ts +5 -6
  19. package/dist/es/tools/align.js +5 -5
  20. package/dist/es/tools/applyColor.d.ts +5 -6
  21. package/dist/es/tools/applyColor.js +9 -5
  22. package/dist/es/tools/cleanFormatting.d.ts +5 -6
  23. package/dist/es/tools/cleanFormatting.js +5 -5
  24. package/dist/es/tools/findReplace.d.ts +5 -6
  25. package/dist/es/tools/findReplace.js +7 -7
  26. package/dist/es/tools/fontStyle.d.ts +5 -6
  27. package/dist/es/tools/fontStyle.js +5 -5
  28. package/dist/es/tools/formatBlock.d.ts +5 -6
  29. package/dist/es/tools/formatBlock.js +5 -5
  30. package/dist/es/tools/indent.d.ts +5 -6
  31. package/dist/es/tools/indent.js +5 -5
  32. package/dist/es/tools/inlineFormat.d.ts +5 -6
  33. package/dist/es/tools/inlineFormat.js +5 -5
  34. package/dist/es/tools/insertImage.d.ts +5 -6
  35. package/dist/es/tools/insertImage.js +5 -5
  36. package/dist/es/tools/insertLink.d.ts +5 -6
  37. package/dist/es/tools/insertLink.js +5 -5
  38. package/dist/es/tools/insertTable/popup.d.ts +5 -6
  39. package/dist/es/tools/insertTable/popup.js +3 -3
  40. package/dist/es/tools/insertTable/popupGrid.d.ts +5 -6
  41. package/dist/es/tools/insertTable/popupGrid.js +3 -3
  42. package/dist/es/tools/insertTable/tool.d.ts +5 -6
  43. package/dist/es/tools/insertTable/tool.js +5 -5
  44. package/dist/es/tools/lists.d.ts +5 -6
  45. package/dist/es/tools/lists.js +5 -5
  46. package/dist/es/tools/outdent.d.ts +5 -6
  47. package/dist/es/tools/outdent.js +5 -5
  48. package/dist/es/tools/pdf.d.ts +5 -6
  49. package/dist/es/tools/pdf.js +5 -5
  50. package/dist/es/tools/print.d.ts +5 -6
  51. package/dist/es/tools/print.js +5 -5
  52. package/dist/es/tools/proseMirrorTool.d.ts +5 -6
  53. package/dist/es/tools/proseMirrorTool.js +5 -5
  54. package/dist/es/tools/selectAll.d.ts +5 -6
  55. package/dist/es/tools/selectAll.js +5 -5
  56. package/dist/es/tools/unlink.d.ts +5 -6
  57. package/dist/es/tools/unlink.js +5 -5
  58. package/dist/es/tools/viewHtml.d.ts +5 -6
  59. package/dist/es/tools/viewHtml.js +5 -5
  60. package/dist/npm/Editor.d.ts +49 -131
  61. package/dist/npm/Editor.js +52 -26
  62. package/dist/npm/EditorProps.d.ts +11 -5
  63. package/dist/npm/additionalTypes.ts +7 -1
  64. package/dist/npm/config/toolsSettings.d.ts +4 -0
  65. package/dist/npm/dialogs/FindReplace.d.ts +6 -7
  66. package/dist/npm/dialogs/FindReplace.js +206 -133
  67. package/dist/npm/dialogs/insertImage.d.ts +5 -6
  68. package/dist/npm/dialogs/insertImage.js +25 -15
  69. package/dist/npm/dialogs/insertLink.d.ts +5 -6
  70. package/dist/npm/dialogs/insertLink.js +14 -10
  71. package/dist/npm/dialogs/viewHtml.d.ts +5 -6
  72. package/dist/npm/dialogs/viewHtml.js +5 -5
  73. package/dist/npm/main.d.ts +19 -0
  74. package/dist/npm/main.js +38 -0
  75. package/dist/npm/package-metadata.js +1 -1
  76. package/dist/npm/tools/align.d.ts +5 -6
  77. package/dist/npm/tools/align.js +7 -7
  78. package/dist/npm/tools/applyColor.d.ts +5 -6
  79. package/dist/npm/tools/applyColor.js +11 -7
  80. package/dist/npm/tools/cleanFormatting.d.ts +5 -6
  81. package/dist/npm/tools/cleanFormatting.js +7 -7
  82. package/dist/npm/tools/findReplace.d.ts +5 -6
  83. package/dist/npm/tools/findReplace.js +9 -9
  84. package/dist/npm/tools/fontStyle.d.ts +5 -6
  85. package/dist/npm/tools/fontStyle.js +7 -7
  86. package/dist/npm/tools/formatBlock.d.ts +5 -6
  87. package/dist/npm/tools/formatBlock.js +7 -7
  88. package/dist/npm/tools/indent.d.ts +5 -6
  89. package/dist/npm/tools/indent.js +7 -7
  90. package/dist/npm/tools/inlineFormat.d.ts +5 -6
  91. package/dist/npm/tools/inlineFormat.js +7 -7
  92. package/dist/npm/tools/insertImage.d.ts +5 -6
  93. package/dist/npm/tools/insertImage.js +7 -7
  94. package/dist/npm/tools/insertLink.d.ts +5 -6
  95. package/dist/npm/tools/insertLink.js +7 -7
  96. package/dist/npm/tools/insertTable/popup.d.ts +5 -6
  97. package/dist/npm/tools/insertTable/popup.js +5 -5
  98. package/dist/npm/tools/insertTable/popupGrid.d.ts +5 -6
  99. package/dist/npm/tools/insertTable/popupGrid.js +5 -5
  100. package/dist/npm/tools/insertTable/tool.d.ts +5 -6
  101. package/dist/npm/tools/insertTable/tool.js +7 -7
  102. package/dist/npm/tools/lists.d.ts +5 -6
  103. package/dist/npm/tools/lists.js +7 -7
  104. package/dist/npm/tools/outdent.d.ts +5 -6
  105. package/dist/npm/tools/outdent.js +7 -7
  106. package/dist/npm/tools/pdf.d.ts +5 -6
  107. package/dist/npm/tools/pdf.js +7 -7
  108. package/dist/npm/tools/print.d.ts +5 -6
  109. package/dist/npm/tools/print.js +7 -7
  110. package/dist/npm/tools/proseMirrorTool.d.ts +5 -6
  111. package/dist/npm/tools/proseMirrorTool.js +7 -7
  112. package/dist/npm/tools/selectAll.d.ts +5 -6
  113. package/dist/npm/tools/selectAll.js +7 -7
  114. package/dist/npm/tools/unlink.d.ts +5 -6
  115. package/dist/npm/tools/unlink.js +7 -7
  116. package/dist/npm/tools/viewHtml.d.ts +5 -6
  117. package/dist/npm/tools/viewHtml.js +7 -7
  118. package/package.json +12 -12
@@ -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
@@ -84,11 +84,11 @@ var FindAndReplace = {
84
84
  var localization = kendo_vue_intl_1.provideLocalizationService(this);
85
85
  var titleKey = settings.messages.findReplaceToolTitle;
86
86
 
87
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
87
+ var buttonProps = __assign(__assign(__assign({}, other), {
88
88
  key: 'tool',
89
89
  disabled: !view,
90
90
  title: localization.toLanguageString(titleKey, messages_1.messages[titleKey])
91
- });
91
+ }), settings.props);
92
92
 
93
93
  var button = h(kendo_vue_buttons_1.Button, __assign({
94
94
  onClick: this.onOpen,
@@ -106,13 +106,13 @@ var FindAndReplace = {
106
106
  view: view,
107
107
  attrs: this.v3 ? undefined : {
108
108
  view: view,
109
- dir: buttonProps.dir
109
+ dir: this.$props.dir
110
110
  },
111
111
  onClose: this.onClose,
112
112
  on: this.v3 ? undefined : {
113
113
  "close": this.onClose
114
114
  },
115
- dir: buttonProps.dir,
115
+ dir: this.$props.dir,
116
116
  key: "dialog"
117
117
  })]);
118
118
  },
@@ -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,
@@ -117,7 +117,7 @@ var FontName = {
117
117
 
118
118
  var value = new Set(styles).size === 1 ? styles[0] : null;
119
119
 
120
- var ddlProps = __assign(__assign(__assign({}, other), settings.props), {
120
+ var ddlProps = __assign(__assign(__assign({}, other), {
121
121
  value: value ? items.find(function (i) {
122
122
  return i.value === value;
123
123
  }) : value,
@@ -127,7 +127,7 @@ var FontName = {
127
127
  textField: 'text',
128
128
  dataItemKey: 'value',
129
129
  leftRightKeysNavigation: false
130
- });
130
+ }), settings.props);
131
131
 
132
132
  var dropdown = h(kendo_vue_dropdowns_1.DropDownList, __assign({
133
133
  onChange: this.onChange,
@@ -172,6 +172,6 @@ var FontName = {
172
172
  }
173
173
  }
174
174
  };
175
- exports.FontName = FontName;
176
- var FontNameVue3 = FontName;
177
- 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,
@@ -114,7 +114,7 @@ var FormatBlock = {
114
114
 
115
115
  var value = new Set(formats).size === 1 ? formats[0] : null;
116
116
 
117
- var ddlProps = __assign(__assign(__assign({}, other), settings.props), {
117
+ var ddlProps = __assign(__assign(__assign({}, other), {
118
118
  value: value ? items.find(function (i) {
119
119
  return i.value === value;
120
120
  }) : value,
@@ -124,7 +124,7 @@ var FormatBlock = {
124
124
  textField: 'text',
125
125
  dataItemKey: 'value',
126
126
  leftRightKeysNavigation: false
127
- });
127
+ }), settings.props);
128
128
 
129
129
  var dropdown = h(kendo_vue_dropdowns_1.DropDownList, __assign({
130
130
  onChange: this.onChange,
@@ -164,6 +164,6 @@ var FormatBlock = {
164
164
  }
165
165
  }
166
166
  };
167
- exports.FormatBlock = FormatBlock;
168
- var FormatBlockVue3 = FormatBlock;
169
- exports.FormatBlockVue3 = FormatBlockVue3;
167
+ exports.FormatBlockVue2 = FormatBlockVue2;
168
+ var FormatBlock = FormatBlockVue2;
169
+ exports.FormatBlock = FormatBlock;
@@ -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;
@@ -35,8 +34,8 @@ export interface IndentData {
35
34
  /**
36
35
  * @hidden
37
36
  */
38
- export interface IndentAll extends Vue, IndentMethods, IndentData, IndentComputed, IndentState {
37
+ export interface IndentAll extends Vue2type, IndentMethods, IndentData, IndentComputed, IndentState {
39
38
  }
40
- declare let Indent: ComponentOptions<IndentAll, DefaultData<IndentData>, DefaultMethods<IndentAll>, IndentComputed, RecordPropsDefinition<IndentProps>>;
41
- declare const IndentVue3: DefineComponent<IndentProps, any, IndentData, IndentComputed, IndentMethods, {}, {}, {}, string, IndentProps, IndentProps, {}>;
42
- export { Indent, IndentVue3 };
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,
@@ -95,10 +95,10 @@ var Indent = {
95
95
  var localization = kendo_vue_intl_1.provideLocalizationService(this);
96
96
  var titleKey = settings.messages.title;
97
97
 
98
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
98
+ var buttonProps = __assign(__assign(__assign({}, other), {
99
99
  disabled: !canIndent,
100
100
  title: localization.toLanguageString(titleKey, messages_1.messages[titleKey])
101
- });
101
+ }), settings.props);
102
102
 
103
103
  var button = h(kendo_vue_buttons_1.Button, __assign({
104
104
  onClick: this.handleClick,
@@ -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,
@@ -95,11 +95,11 @@ var InlineFormat = {
95
95
  var localization = kendo_vue_intl_1.provideLocalizationService(this);
96
96
  var titleKey = settings.messages.title;
97
97
 
98
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
98
+ var buttonProps = __assign(__assign(__assign({}, other), {
99
99
  selected: !!state && kendo_editor_common_1.hasMark(state, options),
100
100
  togglable: true,
101
101
  title: localization.toLanguageString(titleKey, messages_1.messages[titleKey])
102
- });
102
+ }), settings.props);
103
103
 
104
104
  var button = h(kendo_vue_buttons_1.Button, __assign({
105
105
  onClick: this.handleClick,
@@ -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 };
@@ -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.InsertImageVue3 = exports.InsertImage = void 0; // @ts-ignore
35
+ exports.InsertImageVue2 = exports.InsertImage = void 0; // @ts-ignore
36
36
 
37
37
  var Vue = require("vue");
38
38
 
@@ -50,7 +50,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
50
50
  var messages_1 = require("./../messages"); // tslint:enable:max-line-length
51
51
 
52
52
 
53
- var InsertImage = {
53
+ var InsertImageVue2 = {
54
54
  name: 'KendoInsertImage',
55
55
  props: __assign({
56
56
  view: Object,
@@ -95,11 +95,11 @@ var InsertImage = {
95
95
  var localization = kendo_vue_intl_1.provideLocalizationService(this);
96
96
  var insertImage = settings.messages.insertImage;
97
97
 
98
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
98
+ var buttonProps = __assign(__assign(__assign({}, other), {
99
99
  key: 'insertImage',
100
100
  disabled: !nodeType || !state || !kendo_editor_common_1.canInsert(state, nodeType),
101
101
  title: localization.toLanguageString(insertImage, messages_1.messages[insertImage])
102
- });
102
+ }), settings.props);
103
103
 
104
104
  var button = h(kendo_vue_buttons_1.Button, __assign({
105
105
  onClick: this.toggleDialog,
@@ -139,6 +139,6 @@ var InsertImage = {
139
139
  }
140
140
  }
141
141
  };
142
- exports.InsertImage = InsertImage;
143
- var InsertImageVue3 = InsertImage;
144
- exports.InsertImageVue3 = InsertImageVue3;
142
+ exports.InsertImageVue2 = InsertImageVue2;
143
+ var InsertImage = InsertImageVue2;
144
+ exports.InsertImage = InsertImage;
@@ -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 };
@@ -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.LinkToolVue3 = exports.LinkTool = void 0; // @ts-ignore
35
+ exports.LinkToolVue2 = exports.LinkTool = void 0; // @ts-ignore
36
36
 
37
37
  var Vue = require("vue");
38
38
 
@@ -50,7 +50,7 @@ var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
50
50
  var messages_1 = require("./../messages"); // tslint:enable:max-line-length
51
51
 
52
52
 
53
- var LinkTool = {
53
+ var LinkToolVue2 = {
54
54
  name: 'KendoLinkTool',
55
55
  props: __assign({
56
56
  view: Object,
@@ -95,11 +95,11 @@ var LinkTool = {
95
95
  var localization = kendo_vue_intl_1.provideLocalizationService(this);
96
96
  var insertHyperlink = settings.messages.insertHyperlink;
97
97
 
98
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
98
+ var buttonProps = __assign(__assign(__assign({}, other), {
99
99
  key: 'link',
100
100
  disabled: collapsed && !linkMark,
101
101
  title: localization.toLanguageString(insertHyperlink, messages_1.messages[insertHyperlink])
102
- });
102
+ }), settings.props);
103
103
 
104
104
  var button = h(kendo_vue_buttons_1.Button, __assign({
105
105
  onClick: this.toggleDialog,
@@ -139,6 +139,6 @@ var LinkTool = {
139
139
  }
140
140
  }
141
141
  };
142
- exports.LinkTool = LinkTool;
143
- var LinkToolVue3 = LinkTool;
144
- exports.LinkToolVue3 = LinkToolVue3;
142
+ exports.LinkToolVue2 = LinkToolVue2;
143
+ var LinkTool = LinkToolVue2;
144
+ exports.LinkTool = LinkTool;
@@ -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 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.InsertTablePopupVue3 = exports.InsertTablePopup = void 0; // @ts-ignore
6
+ exports.InsertTablePopupVue2 = exports.InsertTablePopup = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -15,7 +15,7 @@ var kendo_vue_popup_1 = require("@progress/kendo-vue-popup");
15
15
  var popupGrid_1 = require("./popupGrid"); // tslint:enable:max-line-length
16
16
 
17
17
 
18
- var InsertTablePopup = {
18
+ var InsertTablePopupVue2 = {
19
19
  name: 'KendoInsertTablePopup',
20
20
  props: {
21
21
  show: {
@@ -174,6 +174,6 @@ var InsertTablePopup = {
174
174
  }
175
175
  }
176
176
  };
177
- exports.InsertTablePopup = InsertTablePopup;
178
- var InsertTablePopupVue3 = InsertTablePopup;
179
- exports.InsertTablePopupVue3 = InsertTablePopupVue3;
177
+ exports.InsertTablePopupVue2 = InsertTablePopupVue2;
178
+ var InsertTablePopup = InsertTablePopupVue2;
179
+ exports.InsertTablePopup = InsertTablePopup;
@@ -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 PopupGridData {
42
41
  /**
43
42
  * @hidden
44
43
  */
45
- export interface PopupGridAll extends Vue, PopupGridMethods, PopupGridData, PopupGridComputed, PopupGridState {
44
+ export interface PopupGridAll extends Vue2type, PopupGridMethods, PopupGridData, PopupGridComputed, PopupGridState {
46
45
  }
47
- declare let PopupGrid: ComponentOptions<PopupGridAll, DefaultData<PopupGridData>, DefaultMethods<PopupGridAll>, PopupGridComputed, RecordPropsDefinition<PopupGridProps>>;
48
- declare const PopupGridVue3: DefineComponent<PopupGridProps, any, PopupGridData, PopupGridComputed, PopupGridMethods, {}, {}, {}, string, PopupGridProps, PopupGridProps, {}>;
49
- export { PopupGrid, PopupGridVue3 };
46
+ declare let PopupGridVue2: ComponentOptions<PopupGridAll, DefaultData<PopupGridData>, DefaultMethods<PopupGridAll>, PopupGridComputed, RecordPropsDefinition<PopupGridProps>>;
47
+ declare const PopupGrid: DefineComponent<PopupGridProps, any, PopupGridData, PopupGridComputed, PopupGridMethods, {}, {}, {}, string, PopupGridProps, PopupGridProps, {}>;
48
+ export { PopupGrid, PopupGridVue2 };
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.PopupGridVue3 = exports.PopupGrid = void 0; // @ts-ignore
6
+ exports.PopupGridVue2 = exports.PopupGrid = void 0; // @ts-ignore
7
7
 
8
8
  var Vue = require("vue");
9
9
 
@@ -15,7 +15,7 @@ var utils_1 = require("../utils");
15
15
  var cellClass = 'k-ct-cell k-state-disabled';
16
16
  var selectedClass = 'k-state-selected'; // tslint:enable:max-line-length
17
17
 
18
- var PopupGrid = {
18
+ var PopupGridVue2 = {
19
19
  name: 'KendoPopupGrid',
20
20
  props: {
21
21
  rows: Number,
@@ -136,6 +136,6 @@ var PopupGrid = {
136
136
  }
137
137
  }
138
138
  };
139
- exports.PopupGrid = PopupGrid;
140
- var PopupGridVue3 = PopupGrid;
141
- exports.PopupGridVue3 = PopupGridVue3;
139
+ exports.PopupGridVue2 = PopupGridVue2;
140
+ var PopupGrid = PopupGridVue2;
141
+ exports.PopupGrid = PopupGrid;
@@ -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;
@@ -44,8 +43,8 @@ export interface InsertTableData {
44
43
  /**
45
44
  * @hidden
46
45
  */
47
- export interface InsertTableAll extends Vue, InsertTableMethods, InsertTableData, InsertTableComputed, InsertTableState {
46
+ export interface InsertTableAll extends Vue2type, InsertTableMethods, InsertTableData, InsertTableComputed, InsertTableState {
48
47
  }
49
- declare let InsertTable: ComponentOptions<InsertTableAll, DefaultData<InsertTableData>, DefaultMethods<InsertTableAll>, InsertTableComputed, RecordPropsDefinition<InsertTableProps>>;
50
- declare const InsertTableVue3: DefineComponent<InsertTableProps, any, InsertTableData, InsertTableComputed, InsertTableMethods, {}, {}, {}, string, InsertTableProps, InsertTableProps, {}>;
51
- export { InsertTable, InsertTableVue3 };
48
+ declare let InsertTableVue2: ComponentOptions<InsertTableAll, DefaultData<InsertTableData>, DefaultMethods<InsertTableAll>, InsertTableComputed, RecordPropsDefinition<InsertTableProps>>;
49
+ declare const InsertTable: DefineComponent<InsertTableProps, any, InsertTableData, InsertTableComputed, InsertTableMethods, {}, {}, {}, string, InsertTableProps, InsertTableProps, {}>;
50
+ export { InsertTable, InsertTableVue2 };
@@ -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.InsertTableVue3 = exports.InsertTable = void 0; // @ts-ignore
35
+ exports.InsertTableVue2 = exports.InsertTable = void 0; // @ts-ignore
36
36
 
37
37
  var Vue = require("vue");
38
38
 
@@ -52,7 +52,7 @@ var messages_1 = require("./../../messages");
52
52
  var kendo_editor_common_1 = require("@progress/kendo-editor-common"); // tslint:enable:max-line-length
53
53
 
54
54
 
55
- var InsertTable = {
55
+ var InsertTableVue2 = {
56
56
  name: 'KendoInsertTable',
57
57
  props: __assign({
58
58
  view: Object,
@@ -103,11 +103,11 @@ var InsertTable = {
103
103
  var createTableMsg = localization.toLanguageString(createTableMsgKey, messages_1.messages[createTableMsgKey]);
104
104
  var createTableHintMsg = localization.toLanguageString(createTableHint, messages_1.messages[createTableHint]);
105
105
 
106
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
106
+ var buttonProps = __assign(__assign(__assign({}, other), {
107
107
  disabled: !state || !kendo_editor_common_1.canInsert(state, state.schema.nodes.table),
108
108
  key: 'InsertTable',
109
109
  title: createTableMsg
110
- });
110
+ }), settings.props);
111
111
 
112
112
  var button = h(kendo_vue_buttons_1.Button, __assign({
113
113
  ref: this.buttonRef,
@@ -175,6 +175,6 @@ var InsertTable = {
175
175
  }
176
176
  }
177
177
  };
178
- exports.InsertTable = InsertTable;
179
- var InsertTableVue3 = InsertTable;
180
- exports.InsertTableVue3 = InsertTableVue3;
178
+ exports.InsertTableVue2 = InsertTableVue2;
179
+ var InsertTable = InsertTableVue2;
180
+ exports.InsertTable = InsertTable;
@@ -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 ListData {
45
44
  /**
46
45
  * @hidden
47
46
  */
48
- export interface ListAll extends Vue, ListMethods, ListData, ListComputed, ListState {
47
+ export interface ListAll extends Vue2type, ListMethods, ListData, ListComputed, ListState {
49
48
  }
50
- declare let List: ComponentOptions<ListAll, DefaultData<ListData>, DefaultMethods<ListAll>, ListComputed, RecordPropsDefinition<ListToolProps>>;
51
- declare const ListVue3: DefineComponent<ListToolProps, any, ListData, ListComputed, ListMethods, {}, {}, {}, string, ListToolProps, ListToolProps, {}>;
52
- export { List, ListVue3 };
49
+ declare let ListVue2: ComponentOptions<ListAll, DefaultData<ListData>, DefaultMethods<ListAll>, ListComputed, RecordPropsDefinition<ListToolProps>>;
50
+ declare const List: DefineComponent<ListToolProps, any, ListData, ListComputed, ListMethods, {}, {}, {}, string, ListToolProps, ListToolProps, {}>;
51
+ export { List, ListVue2 };