@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
@@ -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,
@@ -101,7 +101,7 @@ var FormatBlock = {
101
101
 
102
102
  var value = new Set(formats).size === 1 ? formats[0] : null;
103
103
 
104
- var ddlProps = __assign(__assign(__assign({}, other), settings.props), {
104
+ var ddlProps = __assign(__assign(__assign({}, other), {
105
105
  value: value ? items.find(function (i) {
106
106
  return i.value === value;
107
107
  }) : value,
@@ -111,7 +111,7 @@ var FormatBlock = {
111
111
  textField: 'text',
112
112
  dataItemKey: 'value',
113
113
  leftRightKeysNavigation: false
114
- });
114
+ }), settings.props);
115
115
 
116
116
  var dropdown = h(DropDownList, __assign({
117
117
  onChange: this.onChange,
@@ -151,5 +151,5 @@ var FormatBlock = {
151
151
  }
152
152
  }
153
153
  };
154
- var FormatBlockVue3 = FormatBlock;
155
- export { FormatBlock, FormatBlockVue3 };
154
+ var FormatBlock = FormatBlockVue2;
155
+ export { FormatBlock, FormatBlockVue2 };
@@ -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 };
@@ -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,
@@ -83,10 +83,10 @@ var Indent = {
83
83
  var localization = provideLocalizationService(this);
84
84
  var titleKey = settings.messages.title;
85
85
 
86
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
86
+ var buttonProps = __assign(__assign(__assign({}, other), {
87
87
  disabled: !canIndent,
88
88
  title: localization.toLanguageString(titleKey, messages[titleKey])
89
- });
89
+ }), settings.props);
90
90
 
91
91
  var button = h(kbutton, __assign({
92
92
  onClick: this.handleClick,
@@ -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,
@@ -83,11 +83,11 @@ var InlineFormat = {
83
83
  var localization = provideLocalizationService(this);
84
84
  var titleKey = settings.messages.title;
85
85
 
86
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
86
+ var buttonProps = __assign(__assign(__assign({}, other), {
87
87
  selected: !!state && hasMark(state, options),
88
88
  togglable: true,
89
89
  title: localization.toLanguageString(titleKey, messages[titleKey])
90
- });
90
+ }), settings.props);
91
91
 
92
92
  var button = h(kbutton, __assign({
93
93
  onClick: this.handleClick,
@@ -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,
@@ -82,11 +82,11 @@ var InsertImage = {
82
82
  var localization = provideLocalizationService(this);
83
83
  var insertImage = settings.messages.insertImage;
84
84
 
85
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
85
+ var buttonProps = __assign(__assign(__assign({}, other), {
86
86
  key: 'insertImage',
87
87
  disabled: !nodeType || !state || !canInsert(state, nodeType),
88
88
  title: localization.toLanguageString(insertImage, messages[insertImage])
89
- });
89
+ }), settings.props);
90
90
 
91
91
  var button = h(kbutton, __assign({
92
92
  onClick: this.toggleDialog,
@@ -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,
@@ -82,11 +82,11 @@ var LinkTool = {
82
82
  var localization = provideLocalizationService(this);
83
83
  var insertHyperlink = settings.messages.insertHyperlink;
84
84
 
85
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
85
+ var buttonProps = __assign(__assign(__assign({}, other), {
86
86
  key: 'link',
87
87
  disabled: collapsed && !linkMark,
88
88
  title: localization.toLanguageString(insertHyperlink, messages[insertHyperlink])
89
- });
89
+ }), settings.props);
90
90
 
91
91
  var button = h(kbutton, __assign({
92
92
  onClick: this.toggleDialog,
@@ -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 };
@@ -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 };
@@ -6,7 +6,7 @@ import { formatString } from '../utils';
6
6
  var cellClass = 'k-ct-cell k-state-disabled';
7
7
  var selectedClass = 'k-state-selected'; // tslint:enable:max-line-length
8
8
 
9
- var PopupGrid = {
9
+ var PopupGridVue2 = {
10
10
  name: 'KendoPopupGrid',
11
11
  props: {
12
12
  rows: Number,
@@ -127,5 +127,5 @@ var PopupGrid = {
127
127
  }
128
128
  }
129
129
  };
130
- var PopupGridVue3 = PopupGrid;
131
- export { PopupGrid, PopupGridVue3 };
130
+ var PopupGrid = PopupGridVue2;
131
+ export { PopupGrid, PopupGridVue2 };
@@ -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 };
@@ -38,7 +38,7 @@ import { provideLocalizationService } from '@progress/kendo-vue-intl';
38
38
  import { messages } from './../../messages';
39
39
  import { canInsert, createTable, insertNode } from '@progress/kendo-editor-common'; // tslint:enable:max-line-length
40
40
 
41
- var InsertTable = {
41
+ var InsertTableVue2 = {
42
42
  name: 'KendoInsertTable',
43
43
  props: __assign({
44
44
  view: Object,
@@ -89,11 +89,11 @@ var InsertTable = {
89
89
  var createTableMsg = localization.toLanguageString(createTableMsgKey, messages[createTableMsgKey]);
90
90
  var createTableHintMsg = localization.toLanguageString(createTableHint, messages[createTableHint]);
91
91
 
92
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
92
+ var buttonProps = __assign(__assign(__assign({}, other), {
93
93
  disabled: !state || !canInsert(state, state.schema.nodes.table),
94
94
  key: 'InsertTable',
95
95
  title: createTableMsg
96
- });
96
+ }), settings.props);
97
97
 
98
98
  var button = h(KButton, __assign({
99
99
  ref: this.buttonRef,
@@ -161,5 +161,5 @@ var InsertTable = {
161
161
  }
162
162
  }
163
163
  };
164
- var InsertTableVue3 = InsertTable;
165
- export { InsertTable, InsertTableVue3 };
164
+ var InsertTable = InsertTableVue2;
165
+ export { InsertTable, InsertTableVue2 };
@@ -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 };
@@ -36,7 +36,7 @@ import { hasNode, toggleList } 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 List = {
39
+ var ListVue2 = {
40
40
  name: 'KendoList',
41
41
  props: __assign({
42
42
  view: Object,
@@ -90,11 +90,11 @@ var List = {
90
90
  }
91
91
  }
92
92
 
93
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
93
+ var buttonProps = __assign(__assign(__assign({}, other), {
94
94
  selected: isActive,
95
95
  togglable: true,
96
96
  title: localization.toLanguageString(titleKey, messages[titleKey])
97
- });
97
+ }), settings.props);
98
98
 
99
99
  var button = h(kbutton, __assign({
100
100
  onClick: this.handleClick,
@@ -128,5 +128,5 @@ var List = {
128
128
  }
129
129
  }
130
130
  };
131
- var ListVue3 = List;
132
- export { List, ListVue3 };
131
+ var List = ListVue2;
132
+ export { List, ListVue2 };
@@ -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 OutdentData {
35
34
  /**
36
35
  * @hidden
37
36
  */
38
- export interface OutdentAll extends Vue, OutdentMethods, OutdentData, OutdentComputed, OutdentState {
37
+ export interface OutdentAll extends Vue2type, OutdentMethods, OutdentData, OutdentComputed, OutdentState {
39
38
  }
40
- declare let Outdent: ComponentOptions<OutdentAll, DefaultData<OutdentData>, DefaultMethods<OutdentAll>, OutdentComputed, RecordPropsDefinition<OutdentProps>>;
41
- declare const OutdentVue3: DefineComponent<OutdentProps, any, OutdentData, OutdentComputed, OutdentMethods, {}, {}, {}, string, OutdentProps, OutdentProps, {}>;
42
- export { Outdent, OutdentVue3 };
39
+ declare let OutdentVue2: ComponentOptions<OutdentAll, DefaultData<OutdentData>, DefaultMethods<OutdentAll>, OutdentComputed, RecordPropsDefinition<OutdentProps>>;
40
+ declare const Outdent: DefineComponent<OutdentProps, any, OutdentData, OutdentComputed, OutdentMethods, {}, {}, {}, string, OutdentProps, OutdentProps, {}>;
41
+ export { Outdent, OutdentVue2 };
@@ -36,7 +36,7 @@ import { indentBlocks, isIndented, canOutdentAsListItem, liftListItem } from '@p
36
36
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
37
37
  import { messages } from './../messages'; // tslint:enable:max-line-length
38
38
 
39
- var Outdent = {
39
+ var OutdentVue2 = {
40
40
  name: 'KendoOutdent',
41
41
  props: __assign({
42
42
  view: Object,
@@ -82,10 +82,10 @@ var Outdent = {
82
82
  var localization = provideLocalizationService(this);
83
83
  var titleKey = settings.messages.title;
84
84
 
85
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
85
+ var buttonProps = __assign(__assign(__assign({}, other), {
86
86
  disabled: !canOutdent,
87
87
  title: localization.toLanguageString(titleKey, messages[titleKey])
88
- });
88
+ }), settings.props);
89
89
 
90
90
  var button = h(kbutton, __assign({
91
91
  onClick: this.handleClick,
@@ -125,5 +125,5 @@ var Outdent = {
125
125
  }
126
126
  }
127
127
  };
128
- var OutdentVue3 = Outdent;
129
- export { Outdent, OutdentVue3 };
128
+ var Outdent = OutdentVue2;
129
+ export { Outdent, OutdentVue2 };
@@ -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;
@@ -49,8 +48,8 @@ export interface PdfData {
49
48
  /**
50
49
  * @hidden
51
50
  */
52
- export interface PdfAll extends Vue, PdfMethods, PdfData, PdfComputed, PdfState {
51
+ export interface PdfAll extends Vue2type, PdfMethods, PdfData, PdfComputed, PdfState {
53
52
  }
54
- declare let Pdf: ComponentOptions<PdfAll, DefaultData<PdfData>, DefaultMethods<PdfAll>, PdfComputed, RecordPropsDefinition<PdfProps>>;
55
- declare const PdfVue3: DefineComponent<PdfProps, any, PdfData, PdfComputed, PdfMethods, {}, {}, {}, string, PdfProps, PdfProps, {}>;
56
- export { Pdf, PdfVue3 };
53
+ declare let PdfVue2: ComponentOptions<PdfAll, DefaultData<PdfData>, DefaultMethods<PdfAll>, PdfComputed, RecordPropsDefinition<PdfProps>>;
54
+ declare const Pdf: DefineComponent<PdfProps, any, PdfData, PdfComputed, PdfMethods, {}, {}, {}, string, PdfProps, PdfProps, {}>;
55
+ export { Pdf, PdfVue2 };
@@ -39,7 +39,7 @@ import { EditorToolsSettings } from './../config/toolsSettings';
39
39
  var pdf = EditorToolsSettings.pdf,
40
40
  defaultSavePdfOptions = EditorToolsSettings.savePdfOptions; // tslint:enable:max-line-length
41
41
 
42
- var Pdf = {
42
+ var PdfVue2 = {
43
43
  name: 'KendoPdf',
44
44
  props: __assign({
45
45
  view: Object,
@@ -73,9 +73,9 @@ var Pdf = {
73
73
  var titleKey = settings.messages.title;
74
74
  var localization = provideLocalizationService(this);
75
75
 
76
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
76
+ var buttonProps = __assign(__assign(__assign({}, other), {
77
77
  title: localization.toLanguageString(titleKey, messages[titleKey])
78
- });
78
+ }), settings.props);
79
79
 
80
80
  var button = h(kbutton, __assign({
81
81
  onClick: this.handleClick,
@@ -101,5 +101,5 @@ var Pdf = {
101
101
  }
102
102
  }
103
103
  };
104
- var PdfVue3 = Pdf;
105
- export { Pdf, PdfVue3 };
104
+ var Pdf = PdfVue2;
105
+ export { Pdf, PdfVue2 };
@@ -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 PrintData {
40
39
  /**
41
40
  * @hidden
42
41
  */
43
- export interface PrintAll extends Vue, PrintMethods, PrintData, PrintComputed, PrintState {
42
+ export interface PrintAll extends Vue2type, PrintMethods, PrintData, PrintComputed, PrintState {
44
43
  }
45
- declare let Print: ComponentOptions<PrintAll, DefaultData<PrintData>, DefaultMethods<PrintAll>, PrintComputed, RecordPropsDefinition<PrintProps>>;
46
- declare const PrintVue3: DefineComponent<PrintProps, any, PrintData, PrintComputed, PrintMethods, {}, {}, {}, string, PrintProps, PrintProps, {}>;
47
- export { Print, PrintVue3 };
44
+ declare let PrintVue2: ComponentOptions<PrintAll, DefaultData<PrintData>, DefaultMethods<PrintAll>, PrintComputed, RecordPropsDefinition<PrintProps>>;
45
+ declare const Print: DefineComponent<PrintProps, any, PrintData, PrintComputed, PrintMethods, {}, {}, {}, string, PrintProps, PrintProps, {}>;
46
+ export { Print, PrintVue2 };
@@ -37,7 +37,7 @@ import { messages } from './../messages';
37
37
  import { EditorToolsSettings } from './../config/toolsSettings';
38
38
  var print = EditorToolsSettings.print; // tslint:enable:max-line-length
39
39
 
40
- var Print = {
40
+ var PrintVue2 = {
41
41
  name: 'KendoPrint',
42
42
  props: __assign({
43
43
  view: Object,
@@ -72,10 +72,10 @@ var Print = {
72
72
  var titleKey = settings.messages.title;
73
73
  var localization = provideLocalizationService(this);
74
74
 
75
- var buttonProps = __assign(__assign(__assign({}, other), settings.props), {
75
+ var buttonProps = __assign(__assign(__assign({}, other), {
76
76
  disabled: !editorWindow || editorWindow === window,
77
77
  title: localization.toLanguageString(titleKey, messages[titleKey])
78
- });
78
+ }), settings.props);
79
79
 
80
80
  var button = h(kbutton, __assign({
81
81
  onClick: this.handleClick,
@@ -105,5 +105,5 @@ var Print = {
105
105
  }
106
106
  }
107
107
  };
108
- var PrintVue3 = Print;
109
- export { Print, PrintVue3 };
108
+ var Print = PrintVue2;
109
+ export { Print, PrintVue2 };
@@ -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 ProseMirrorData {
36
35
  /**
37
36
  * @hidden
38
37
  */
39
- export interface ProseMirrorAll extends Vue, ProseMirrorMethods, ProseMirrorData, ProseMirrorComputed, ProseMirrorState {
38
+ export interface ProseMirrorAll extends Vue2type, ProseMirrorMethods, ProseMirrorData, ProseMirrorComputed, ProseMirrorState {
40
39
  }
41
- declare let ProseMirror: ComponentOptions<ProseMirrorAll, DefaultData<ProseMirrorData>, DefaultMethods<ProseMirrorAll>, ProseMirrorComputed, RecordPropsDefinition<ToolProps>>;
42
- declare const ProseMirrorVue3: DefineComponent<ToolProps, any, ProseMirrorData, ProseMirrorComputed, ProseMirrorMethods, {}, {}, {}, string, ToolProps, ToolProps, {}>;
43
- export { ProseMirror, ProseMirrorVue3 };
40
+ declare let ProseMirrorVue2: ComponentOptions<ProseMirrorAll, DefaultData<ProseMirrorData>, DefaultMethods<ProseMirrorAll>, ProseMirrorComputed, RecordPropsDefinition<ToolProps>>;
41
+ declare const ProseMirror: DefineComponent<ToolProps, any, ProseMirrorData, ProseMirrorComputed, ProseMirrorMethods, {}, {}, {}, string, ToolProps, ToolProps, {}>;
42
+ export { ProseMirror, ProseMirrorVue2 };