@progress/kendo-vue-editor 3.0.0-dev.202201181632 → 3.0.0

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.
package/dist/es/Editor.js CHANGED
@@ -237,6 +237,14 @@ export var allTools = {
237
237
 
238
238
  var EditorVue2 = {
239
239
  name: 'KendoEditor',
240
+ // @ts-ignore
241
+ emits: {
242
+ focus: null,
243
+ blur: null,
244
+ change: null,
245
+ loaded: null,
246
+ execute: null
247
+ },
240
248
  props: {
241
249
  defaultContent: String,
242
250
  value: [Object, String],
@@ -698,26 +706,20 @@ var EditorVue2 = {
698
706
  this.view.updateState(this.view.state.apply(transaction));
699
707
  }
700
708
  },
701
- onFocus: function onFocus(_view, nativeEvent) {
702
- if (this.$props.onFocus) {
703
- var event_3 = {
704
- target: this,
705
- nativeEvent: nativeEvent
706
- };
707
- this.$emit('focus', event_3);
708
- }
709
-
709
+ onFocus: function onFocus(_view, e) {
710
+ var event = {
711
+ target: this,
712
+ event: e
713
+ };
714
+ this.$emit('focus', event);
710
715
  return false;
711
716
  },
712
- onBlur: function onBlur(_view, nativeEvent) {
713
- if (this.$props.onBlur) {
714
- var event_4 = {
715
- target: this,
716
- nativeEvent: nativeEvent
717
- };
718
- this.$emit('focus', event_4);
719
- }
720
-
717
+ onBlur: function onBlur(_view, e) {
718
+ var event = {
719
+ target: this,
720
+ event: e
721
+ };
722
+ this.$emit('blur', event);
721
723
  return false;
722
724
  },
723
725
  onPaste: function onPaste(_view, nativeEvent) {
@@ -88,7 +88,7 @@ export interface EditorFocusEvent extends EditorEvent {
88
88
  /**
89
89
  * The native focus event.
90
90
  */
91
- nativeEvent: FocusEvent;
91
+ event: FocusEvent;
92
92
  }
93
93
  /**
94
94
  * Represents the object of the `onBlur` Editor event.
@@ -97,7 +97,7 @@ export interface EditorBlurEvent extends EditorEvent {
97
97
  /**
98
98
  * The native blur event.
99
99
  */
100
- nativeEvent: FocusEvent;
100
+ event: FocusEvent;
101
101
  }
102
102
  /**
103
103
  * Represents the props of the [Kendo UI for Vue Editor component]({% slug overview_editor %}).
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-editor',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1642522941,
8
+ publishDate: 1642569827,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -277,6 +277,14 @@ exports.allTools = {
277
277
 
278
278
  var EditorVue2 = {
279
279
  name: 'KendoEditor',
280
+ // @ts-ignore
281
+ emits: {
282
+ focus: null,
283
+ blur: null,
284
+ change: null,
285
+ loaded: null,
286
+ execute: null
287
+ },
280
288
  props: {
281
289
  defaultContent: String,
282
290
  value: [Object, String],
@@ -738,26 +746,20 @@ var EditorVue2 = {
738
746
  this.view.updateState(this.view.state.apply(transaction));
739
747
  }
740
748
  },
741
- onFocus: function onFocus(_view, nativeEvent) {
742
- if (this.$props.onFocus) {
743
- var event_3 = {
744
- target: this,
745
- nativeEvent: nativeEvent
746
- };
747
- this.$emit('focus', event_3);
748
- }
749
-
749
+ onFocus: function onFocus(_view, e) {
750
+ var event = {
751
+ target: this,
752
+ event: e
753
+ };
754
+ this.$emit('focus', event);
750
755
  return false;
751
756
  },
752
- onBlur: function onBlur(_view, nativeEvent) {
753
- if (this.$props.onBlur) {
754
- var event_4 = {
755
- target: this,
756
- nativeEvent: nativeEvent
757
- };
758
- this.$emit('focus', event_4);
759
- }
760
-
757
+ onBlur: function onBlur(_view, e) {
758
+ var event = {
759
+ target: this,
760
+ event: e
761
+ };
762
+ this.$emit('blur', event);
761
763
  return false;
762
764
  },
763
765
  onPaste: function onPaste(_view, nativeEvent) {
@@ -88,7 +88,7 @@ export interface EditorFocusEvent extends EditorEvent {
88
88
  /**
89
89
  * The native focus event.
90
90
  */
91
- nativeEvent: FocusEvent;
91
+ event: FocusEvent;
92
92
  }
93
93
  /**
94
94
  * Represents the object of the `onBlur` Editor event.
@@ -97,7 +97,7 @@ export interface EditorBlurEvent extends EditorEvent {
97
97
  /**
98
98
  * The native blur event.
99
99
  */
100
- nativeEvent: FocusEvent;
100
+ event: FocusEvent;
101
101
  }
102
102
  /**
103
103
  * Represents the props of the [Kendo UI for Vue Editor component]({% slug overview_editor %}).
@@ -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: 1642522941,
11
+ publishDate: 1642569827,
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
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@progress/kendo-vue-editor",
3
3
  "description": "Kendo UI for Vue Editor package",
4
- "version": "3.0.0-dev.202201181632",
4
+ "version": "3.0.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/telerik/kendo-vue.git"
@@ -31,33 +31,33 @@
31
31
  "peerDependencies": {
32
32
  "@progress/kendo-drawing": "^1.2.0",
33
33
  "@progress/kendo-licensing": "^1.0.1",
34
- "@progress/kendo-vue-buttons": "^2.7.1",
35
- "@progress/kendo-vue-dialogs": "^2.7.1",
36
- "@progress/kendo-vue-dropdowns": "^2.7.1",
37
- "@progress/kendo-vue-inputs": "^2.7.1",
38
- "@progress/kendo-vue-intl": "^2.7.1",
39
- "@progress/kendo-vue-layout": "^2.7.1",
40
- "@progress/kendo-vue-pdf": "^2.7.1",
41
- "@progress/kendo-vue-popup": "^2.7.1",
34
+ "@progress/kendo-vue-buttons": "^3.0.0",
35
+ "@progress/kendo-vue-dialogs": "^3.0.0",
36
+ "@progress/kendo-vue-dropdowns": "^3.0.0",
37
+ "@progress/kendo-vue-inputs": "^3.0.0",
38
+ "@progress/kendo-vue-intl": "^3.0.0",
39
+ "@progress/kendo-vue-layout": "^3.0.0",
40
+ "@progress/kendo-vue-pdf": "^3.0.0",
41
+ "@progress/kendo-vue-popup": "^3.0.0",
42
42
  "vue": "^2.6.12 || ^3.0.2"
43
43
  },
44
44
  "dependencies": {
45
45
  "@progress/kendo-editor-common": "1.6.0",
46
- "@progress/kendo-vue-common": "3.0.0-dev.202201181632"
46
+ "@progress/kendo-vue-common": "3.0.0"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@progress/kendo-drawing": "^1.8.0",
50
50
  "@progress/kendo-licensing": "^1.0.1",
51
- "@progress/kendo-vue-buttons": "3.0.0-dev.202201181632",
52
- "@progress/kendo-vue-dialogs": "3.0.0-dev.202201181632",
53
- "@progress/kendo-vue-dropdowns": "3.0.0-dev.202201181632",
54
- "@progress/kendo-vue-form": "3.0.0-dev.202201181632",
55
- "@progress/kendo-vue-inputs": "3.0.0-dev.202201181632",
56
- "@progress/kendo-vue-intl": "3.0.0-dev.202201181632",
57
- "@progress/kendo-vue-layout": "3.0.0-dev.202201181632",
58
- "@progress/kendo-vue-pdf": "3.0.0-dev.202201181632",
59
- "@progress/kendo-vue-popup": "3.0.0-dev.202201181632",
60
- "@progress/kendo-vue-upload": "3.0.0-dev.202201181632"
51
+ "@progress/kendo-vue-buttons": "3.0.0",
52
+ "@progress/kendo-vue-dialogs": "3.0.0",
53
+ "@progress/kendo-vue-dropdowns": "3.0.0",
54
+ "@progress/kendo-vue-form": "3.0.0",
55
+ "@progress/kendo-vue-inputs": "3.0.0",
56
+ "@progress/kendo-vue-intl": "3.0.0",
57
+ "@progress/kendo-vue-layout": "3.0.0",
58
+ "@progress/kendo-vue-pdf": "3.0.0",
59
+ "@progress/kendo-vue-popup": "3.0.0",
60
+ "@progress/kendo-vue-upload": "3.0.0"
61
61
  },
62
62
  "@progress": {
63
63
  "friendlyName": "Editor",