@progress/kendo-vue-editor 3.7.3-dev.202211021251 → 3.7.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/dialogs/insertImage.js +17 -3
- package/dist/es/package-metadata.js +1 -1
- package/dist/esm/dialogs/insertImage.js +17 -3
- package/dist/esm/package-metadata.js +1 -1
- package/dist/npm/dialogs/insertImage.js +17 -3
- package/dist/npm/package-metadata.js +1 -1
- package/package.json +12 -12
|
@@ -28,6 +28,11 @@ var InsertImageDialogVue2 = {
|
|
|
28
28
|
default: null
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
+
data: function data() {
|
|
32
|
+
return {
|
|
33
|
+
srcValue: ''
|
|
34
|
+
};
|
|
35
|
+
},
|
|
31
36
|
mounted: function mounted() {
|
|
32
37
|
this.src = getRef(this, 'src');
|
|
33
38
|
this.altText = getRef(this, 'altText');
|
|
@@ -89,9 +94,13 @@ var InsertImageDialogVue2 = {
|
|
|
89
94
|
},
|
|
90
95
|
"class": "k-input-inner",
|
|
91
96
|
id: "k-editor-image-url",
|
|
92
|
-
value: this.v3 ?
|
|
97
|
+
value: this.v3 ? this.srcValue : null,
|
|
93
98
|
domProps: this.v3 ? undefined : {
|
|
94
|
-
"value":
|
|
99
|
+
"value": this.srcValue
|
|
100
|
+
},
|
|
101
|
+
onInput: this.handleSrcInput,
|
|
102
|
+
on: this.v3 ? undefined : {
|
|
103
|
+
"input": this.handleSrcInput
|
|
95
104
|
},
|
|
96
105
|
ref: setRef(this, 'src')
|
|
97
106
|
})])]), h("div", {
|
|
@@ -213,9 +222,11 @@ var InsertImageDialogVue2 = {
|
|
|
213
222
|
type: "button",
|
|
214
223
|
attrs: this.v3 ? undefined : {
|
|
215
224
|
type: "button",
|
|
225
|
+
disabled: !this.srcValue,
|
|
216
226
|
themeColor: 'primary',
|
|
217
227
|
dir: dir
|
|
218
228
|
},
|
|
229
|
+
disabled: !this.srcValue,
|
|
219
230
|
onClick: this.onInsert,
|
|
220
231
|
on: this.v3 ? undefined : {
|
|
221
232
|
"click": this.onInsert
|
|
@@ -257,6 +268,9 @@ var InsertImageDialogVue2 = {
|
|
|
257
268
|
return dialog;
|
|
258
269
|
},
|
|
259
270
|
methods: {
|
|
271
|
+
handleSrcInput: function handleSrcInput(e) {
|
|
272
|
+
this.srcValue = e.target.value;
|
|
273
|
+
},
|
|
260
274
|
onClose: function onClose() {
|
|
261
275
|
this.$props.view.focus();
|
|
262
276
|
this.$emit('close');
|
|
@@ -268,7 +282,7 @@ var InsertImageDialogVue2 = {
|
|
|
268
282
|
var nodes = view.state.schema.nodes;
|
|
269
283
|
var nodeType = nodes[settings.node];
|
|
270
284
|
var data = {
|
|
271
|
-
src: this.src ? this.
|
|
285
|
+
src: this.src ? this.srcValue : null,
|
|
272
286
|
title: this.title ? this.title.value : null,
|
|
273
287
|
alt: this.altText ? this.altText.value : null,
|
|
274
288
|
width: this.width ? this.width.value : null,
|
|
@@ -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: 1667401072,
|
|
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
|
};
|
|
@@ -28,6 +28,11 @@ var InsertImageDialogVue2 = {
|
|
|
28
28
|
default: null
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
+
data: function data() {
|
|
32
|
+
return {
|
|
33
|
+
srcValue: ''
|
|
34
|
+
};
|
|
35
|
+
},
|
|
31
36
|
mounted: function mounted() {
|
|
32
37
|
this.src = getRef(this, 'src');
|
|
33
38
|
this.altText = getRef(this, 'altText');
|
|
@@ -89,9 +94,13 @@ var InsertImageDialogVue2 = {
|
|
|
89
94
|
},
|
|
90
95
|
"class": "k-input-inner",
|
|
91
96
|
id: "k-editor-image-url",
|
|
92
|
-
value: this.v3 ?
|
|
97
|
+
value: this.v3 ? this.srcValue : null,
|
|
93
98
|
domProps: this.v3 ? undefined : {
|
|
94
|
-
"value":
|
|
99
|
+
"value": this.srcValue
|
|
100
|
+
},
|
|
101
|
+
onInput: this.handleSrcInput,
|
|
102
|
+
on: this.v3 ? undefined : {
|
|
103
|
+
"input": this.handleSrcInput
|
|
95
104
|
},
|
|
96
105
|
ref: setRef(this, 'src')
|
|
97
106
|
})])]), h("div", {
|
|
@@ -213,9 +222,11 @@ var InsertImageDialogVue2 = {
|
|
|
213
222
|
type: "button",
|
|
214
223
|
attrs: this.v3 ? undefined : {
|
|
215
224
|
type: "button",
|
|
225
|
+
disabled: !this.srcValue,
|
|
216
226
|
themeColor: 'primary',
|
|
217
227
|
dir: dir
|
|
218
228
|
},
|
|
229
|
+
disabled: !this.srcValue,
|
|
219
230
|
onClick: this.onInsert,
|
|
220
231
|
on: this.v3 ? undefined : {
|
|
221
232
|
"click": this.onInsert
|
|
@@ -257,6 +268,9 @@ var InsertImageDialogVue2 = {
|
|
|
257
268
|
return dialog;
|
|
258
269
|
},
|
|
259
270
|
methods: {
|
|
271
|
+
handleSrcInput: function handleSrcInput(e) {
|
|
272
|
+
this.srcValue = e.target.value;
|
|
273
|
+
},
|
|
260
274
|
onClose: function onClose() {
|
|
261
275
|
this.$props.view.focus();
|
|
262
276
|
this.$emit('close');
|
|
@@ -268,7 +282,7 @@ var InsertImageDialogVue2 = {
|
|
|
268
282
|
var nodes = view.state.schema.nodes;
|
|
269
283
|
var nodeType = nodes[settings.node];
|
|
270
284
|
var data = {
|
|
271
|
-
src: this.src ? this.
|
|
285
|
+
src: this.src ? this.srcValue : null,
|
|
272
286
|
title: this.title ? this.title.value : null,
|
|
273
287
|
alt: this.altText ? this.altText.value : null,
|
|
274
288
|
width: this.width ? this.width.value : null,
|
|
@@ -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: 1667401072,
|
|
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
|
};
|
|
@@ -34,6 +34,11 @@ var InsertImageDialogVue2 = {
|
|
|
34
34
|
default: null
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
+
data: function data() {
|
|
38
|
+
return {
|
|
39
|
+
srcValue: ''
|
|
40
|
+
};
|
|
41
|
+
},
|
|
37
42
|
mounted: function mounted() {
|
|
38
43
|
this.src = (0, kendo_vue_common_1.getRef)(this, 'src');
|
|
39
44
|
this.altText = (0, kendo_vue_common_1.getRef)(this, 'altText');
|
|
@@ -95,9 +100,13 @@ var InsertImageDialogVue2 = {
|
|
|
95
100
|
},
|
|
96
101
|
"class": "k-input-inner",
|
|
97
102
|
id: "k-editor-image-url",
|
|
98
|
-
value: this.v3 ?
|
|
103
|
+
value: this.v3 ? this.srcValue : null,
|
|
99
104
|
domProps: this.v3 ? undefined : {
|
|
100
|
-
"value":
|
|
105
|
+
"value": this.srcValue
|
|
106
|
+
},
|
|
107
|
+
onInput: this.handleSrcInput,
|
|
108
|
+
on: this.v3 ? undefined : {
|
|
109
|
+
"input": this.handleSrcInput
|
|
101
110
|
},
|
|
102
111
|
ref: (0, kendo_vue_common_1.setRef)(this, 'src')
|
|
103
112
|
})])]), h("div", {
|
|
@@ -219,9 +228,11 @@ var InsertImageDialogVue2 = {
|
|
|
219
228
|
type: "button",
|
|
220
229
|
attrs: this.v3 ? undefined : {
|
|
221
230
|
type: "button",
|
|
231
|
+
disabled: !this.srcValue,
|
|
222
232
|
themeColor: 'primary',
|
|
223
233
|
dir: dir
|
|
224
234
|
},
|
|
235
|
+
disabled: !this.srcValue,
|
|
225
236
|
onClick: this.onInsert,
|
|
226
237
|
on: this.v3 ? undefined : {
|
|
227
238
|
"click": this.onInsert
|
|
@@ -263,6 +274,9 @@ var InsertImageDialogVue2 = {
|
|
|
263
274
|
return dialog;
|
|
264
275
|
},
|
|
265
276
|
methods: {
|
|
277
|
+
handleSrcInput: function handleSrcInput(e) {
|
|
278
|
+
this.srcValue = e.target.value;
|
|
279
|
+
},
|
|
266
280
|
onClose: function onClose() {
|
|
267
281
|
this.$props.view.focus();
|
|
268
282
|
this.$emit('close');
|
|
@@ -274,7 +288,7 @@ var InsertImageDialogVue2 = {
|
|
|
274
288
|
var nodes = view.state.schema.nodes;
|
|
275
289
|
var nodeType = nodes[settings.node];
|
|
276
290
|
var data = {
|
|
277
|
-
src: this.src ? this.
|
|
291
|
+
src: this.src ? this.srcValue : null,
|
|
278
292
|
title: this.title ? this.title.value : null,
|
|
279
293
|
alt: this.altText ? this.altText.value : null,
|
|
280
294
|
width: this.width ? this.width.value : null,
|
|
@@ -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: 1667401072,
|
|
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.7.3
|
|
4
|
+
"version": "3.7.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.9.3",
|
|
52
|
-
"@progress/kendo-vue-common": "3.7.3
|
|
52
|
+
"@progress/kendo-vue-common": "3.7.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.7.3
|
|
58
|
-
"@progress/kendo-vue-dialogs": "3.7.3
|
|
59
|
-
"@progress/kendo-vue-dropdowns": "3.7.3
|
|
60
|
-
"@progress/kendo-vue-form": "3.7.3
|
|
61
|
-
"@progress/kendo-vue-inputs": "3.7.3
|
|
62
|
-
"@progress/kendo-vue-intl": "3.7.3
|
|
63
|
-
"@progress/kendo-vue-layout": "3.7.3
|
|
64
|
-
"@progress/kendo-vue-pdf": "3.7.3
|
|
65
|
-
"@progress/kendo-vue-popup": "3.7.3
|
|
66
|
-
"@progress/kendo-vue-upload": "3.7.3
|
|
57
|
+
"@progress/kendo-vue-buttons": "3.7.3",
|
|
58
|
+
"@progress/kendo-vue-dialogs": "3.7.3",
|
|
59
|
+
"@progress/kendo-vue-dropdowns": "3.7.3",
|
|
60
|
+
"@progress/kendo-vue-form": "3.7.3",
|
|
61
|
+
"@progress/kendo-vue-inputs": "3.7.3",
|
|
62
|
+
"@progress/kendo-vue-intl": "3.7.3",
|
|
63
|
+
"@progress/kendo-vue-layout": "3.7.3",
|
|
64
|
+
"@progress/kendo-vue-pdf": "3.7.3",
|
|
65
|
+
"@progress/kendo-vue-popup": "3.7.3",
|
|
66
|
+
"@progress/kendo-vue-upload": "3.7.3",
|
|
67
67
|
"prosemirror-markdown": "1.10.1"
|
|
68
68
|
},
|
|
69
69
|
"@progress": {
|