@progress/kendo-vue-editor 3.6.2 → 3.6.3
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/cdn/js/kendo-vue-editor.js +1 -1
- package/dist/es/Editor.js +7 -9
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/Editor.js +7 -9
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/Editor.js +7 -9
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +12 -12
package/dist/es/Editor.js
CHANGED
|
@@ -294,6 +294,8 @@ var EditorVue2 = {
|
|
|
294
294
|
},
|
|
295
295
|
created: function created() {
|
|
296
296
|
this._view = undefined;
|
|
297
|
+
this.valueisUpdated = false;
|
|
298
|
+
this._prevValue = this.$props.value;
|
|
297
299
|
validatePackage(packageMetadata);
|
|
298
300
|
},
|
|
299
301
|
mounted: function mounted() {
|
|
@@ -306,6 +308,7 @@ var EditorVue2 = {
|
|
|
306
308
|
},
|
|
307
309
|
watch: {
|
|
308
310
|
value: function value(_newNextMatch, oldMatch) {
|
|
311
|
+
this.valueisUpdated = true;
|
|
309
312
|
this._prevValue = oldMatch;
|
|
310
313
|
}
|
|
311
314
|
},
|
|
@@ -313,11 +316,12 @@ var EditorVue2 = {
|
|
|
313
316
|
var value = this.$props.value;
|
|
314
317
|
var view = this.getView();
|
|
315
318
|
|
|
316
|
-
if (value === undefined || !view) {
|
|
319
|
+
if (value === undefined || !this.valueisUpdated || !view) {
|
|
317
320
|
return;
|
|
318
321
|
}
|
|
319
322
|
|
|
320
323
|
updateEditorValue(view, value, this._prevValue, this.trOnChange, this.htmlOnChange);
|
|
324
|
+
this.valueisUpdated = false;
|
|
321
325
|
this.trOnChange = null;
|
|
322
326
|
this.htmlOnChange = null;
|
|
323
327
|
},
|
|
@@ -512,7 +516,7 @@ var EditorVue2 = {
|
|
|
512
516
|
},
|
|
513
517
|
methods: {
|
|
514
518
|
getView: function getView() {
|
|
515
|
-
return this.
|
|
519
|
+
return this.view;
|
|
516
520
|
},
|
|
517
521
|
getHTML: function getHTML() {
|
|
518
522
|
var view = this.getView();
|
|
@@ -674,13 +678,7 @@ var EditorVue2 = {
|
|
|
674
678
|
var view = this.$props.extendView && this.$props.extendView(mountEvent) || new EditorView({
|
|
675
679
|
mount: dom
|
|
676
680
|
}, viewProps);
|
|
677
|
-
|
|
678
|
-
if (this.v3) {
|
|
679
|
-
this.view = markRaw(view);
|
|
680
|
-
} else {
|
|
681
|
-
this._view = view;
|
|
682
|
-
this.$forceUpdate();
|
|
683
|
-
}
|
|
681
|
+
this.view = this.v3 ? markRaw(view) : view;
|
|
684
682
|
},
|
|
685
683
|
filterTransaction: function filterTransaction(transaction, state) {
|
|
686
684
|
var event = {
|
|
@@ -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:
|
|
8
|
+
publishDate: 1663839128,
|
|
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
|
};
|
package/dist/esm/Editor.js
CHANGED
|
@@ -294,6 +294,8 @@ var EditorVue2 = {
|
|
|
294
294
|
},
|
|
295
295
|
created: function created() {
|
|
296
296
|
this._view = undefined;
|
|
297
|
+
this.valueisUpdated = false;
|
|
298
|
+
this._prevValue = this.$props.value;
|
|
297
299
|
validatePackage(packageMetadata);
|
|
298
300
|
},
|
|
299
301
|
mounted: function mounted() {
|
|
@@ -306,6 +308,7 @@ var EditorVue2 = {
|
|
|
306
308
|
},
|
|
307
309
|
watch: {
|
|
308
310
|
value: function value(_newNextMatch, oldMatch) {
|
|
311
|
+
this.valueisUpdated = true;
|
|
309
312
|
this._prevValue = oldMatch;
|
|
310
313
|
}
|
|
311
314
|
},
|
|
@@ -313,11 +316,12 @@ var EditorVue2 = {
|
|
|
313
316
|
var value = this.$props.value;
|
|
314
317
|
var view = this.getView();
|
|
315
318
|
|
|
316
|
-
if (value === undefined || !view) {
|
|
319
|
+
if (value === undefined || !this.valueisUpdated || !view) {
|
|
317
320
|
return;
|
|
318
321
|
}
|
|
319
322
|
|
|
320
323
|
updateEditorValue(view, value, this._prevValue, this.trOnChange, this.htmlOnChange);
|
|
324
|
+
this.valueisUpdated = false;
|
|
321
325
|
this.trOnChange = null;
|
|
322
326
|
this.htmlOnChange = null;
|
|
323
327
|
},
|
|
@@ -512,7 +516,7 @@ var EditorVue2 = {
|
|
|
512
516
|
},
|
|
513
517
|
methods: {
|
|
514
518
|
getView: function getView() {
|
|
515
|
-
return this.
|
|
519
|
+
return this.view;
|
|
516
520
|
},
|
|
517
521
|
getHTML: function getHTML() {
|
|
518
522
|
var view = this.getView();
|
|
@@ -674,13 +678,7 @@ var EditorVue2 = {
|
|
|
674
678
|
var view = this.$props.extendView && this.$props.extendView(mountEvent) || new EditorView({
|
|
675
679
|
mount: dom
|
|
676
680
|
}, viewProps);
|
|
677
|
-
|
|
678
|
-
if (this.v3) {
|
|
679
|
-
this.view = markRaw(view);
|
|
680
|
-
} else {
|
|
681
|
-
this._view = view;
|
|
682
|
-
this.$forceUpdate();
|
|
683
|
-
}
|
|
681
|
+
this.view = this.v3 ? markRaw(view) : view;
|
|
684
682
|
},
|
|
685
683
|
filterTransaction: function filterTransaction(transaction, state) {
|
|
686
684
|
var event = {
|
|
@@ -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:
|
|
8
|
+
publishDate: 1663839128,
|
|
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
|
};
|
package/dist/npm/Editor.js
CHANGED
|
@@ -336,6 +336,8 @@ var EditorVue2 = {
|
|
|
336
336
|
},
|
|
337
337
|
created: function created() {
|
|
338
338
|
this._view = undefined;
|
|
339
|
+
this.valueisUpdated = false;
|
|
340
|
+
this._prevValue = this.$props.value;
|
|
339
341
|
(0, kendo_vue_common_1.validatePackage)(package_metadata_1.packageMetadata);
|
|
340
342
|
},
|
|
341
343
|
mounted: function mounted() {
|
|
@@ -348,6 +350,7 @@ var EditorVue2 = {
|
|
|
348
350
|
},
|
|
349
351
|
watch: {
|
|
350
352
|
value: function value(_newNextMatch, oldMatch) {
|
|
353
|
+
this.valueisUpdated = true;
|
|
351
354
|
this._prevValue = oldMatch;
|
|
352
355
|
}
|
|
353
356
|
},
|
|
@@ -355,11 +358,12 @@ var EditorVue2 = {
|
|
|
355
358
|
var value = this.$props.value;
|
|
356
359
|
var view = this.getView();
|
|
357
360
|
|
|
358
|
-
if (value === undefined || !view) {
|
|
361
|
+
if (value === undefined || !this.valueisUpdated || !view) {
|
|
359
362
|
return;
|
|
360
363
|
}
|
|
361
364
|
|
|
362
365
|
(0, controlled_value_1.updateEditorValue)(view, value, this._prevValue, this.trOnChange, this.htmlOnChange);
|
|
366
|
+
this.valueisUpdated = false;
|
|
363
367
|
this.trOnChange = null;
|
|
364
368
|
this.htmlOnChange = null;
|
|
365
369
|
},
|
|
@@ -554,7 +558,7 @@ var EditorVue2 = {
|
|
|
554
558
|
},
|
|
555
559
|
methods: {
|
|
556
560
|
getView: function getView() {
|
|
557
|
-
return this.
|
|
561
|
+
return this.view;
|
|
558
562
|
},
|
|
559
563
|
getHTML: function getHTML() {
|
|
560
564
|
var view = this.getView();
|
|
@@ -716,13 +720,7 @@ var EditorVue2 = {
|
|
|
716
720
|
var view = this.$props.extendView && this.$props.extendView(mountEvent) || new kendo_editor_common_1.EditorView({
|
|
717
721
|
mount: dom
|
|
718
722
|
}, viewProps);
|
|
719
|
-
|
|
720
|
-
if (this.v3) {
|
|
721
|
-
this.view = markRaw(view);
|
|
722
|
-
} else {
|
|
723
|
-
this._view = view;
|
|
724
|
-
this.$forceUpdate();
|
|
725
|
-
}
|
|
723
|
+
this.view = this.v3 ? markRaw(view) : view;
|
|
726
724
|
},
|
|
727
725
|
filterTransaction: function filterTransaction(transaction, state) {
|
|
728
726
|
var event = {
|
|
@@ -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:
|
|
11
|
+
publishDate: 1663839128,
|
|
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.6.
|
|
4
|
+
"version": "3.6.3",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -49,21 +49,21 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@progress/kendo-editor-common": "1.8.0",
|
|
52
|
-
"@progress/kendo-vue-common": "3.6.
|
|
52
|
+
"@progress/kendo-vue-common": "3.6.3"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@progress/kendo-drawing": "^1.8.0",
|
|
56
56
|
"@progress/kendo-licensing": "^1.0.1",
|
|
57
|
-
"@progress/kendo-vue-buttons": "3.6.
|
|
58
|
-
"@progress/kendo-vue-dialogs": "3.6.
|
|
59
|
-
"@progress/kendo-vue-dropdowns": "3.6.
|
|
60
|
-
"@progress/kendo-vue-form": "3.6.
|
|
61
|
-
"@progress/kendo-vue-inputs": "3.6.
|
|
62
|
-
"@progress/kendo-vue-intl": "3.6.
|
|
63
|
-
"@progress/kendo-vue-layout": "3.6.
|
|
64
|
-
"@progress/kendo-vue-pdf": "3.6.
|
|
65
|
-
"@progress/kendo-vue-popup": "3.6.
|
|
66
|
-
"@progress/kendo-vue-upload": "3.6.
|
|
57
|
+
"@progress/kendo-vue-buttons": "3.6.3",
|
|
58
|
+
"@progress/kendo-vue-dialogs": "3.6.3",
|
|
59
|
+
"@progress/kendo-vue-dropdowns": "3.6.3",
|
|
60
|
+
"@progress/kendo-vue-form": "3.6.3",
|
|
61
|
+
"@progress/kendo-vue-inputs": "3.6.3",
|
|
62
|
+
"@progress/kendo-vue-intl": "3.6.3",
|
|
63
|
+
"@progress/kendo-vue-layout": "3.6.3",
|
|
64
|
+
"@progress/kendo-vue-pdf": "3.6.3",
|
|
65
|
+
"@progress/kendo-vue-popup": "3.6.3",
|
|
66
|
+
"@progress/kendo-vue-upload": "3.6.3"
|
|
67
67
|
},
|
|
68
68
|
"@progress": {
|
|
69
69
|
"friendlyName": "Editor",
|