@progress/kendo-vue-editor 3.7.4-dev.202301151601 → 3.7.4-dev.202301171215

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.
@@ -15,6 +15,8 @@ var kendo_editor_common_1 = require("@progress/kendo-editor-common");
15
15
  var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
16
16
  var main_1 = require("../messages/main");
17
17
  var kendo_vue_common_1 = require("@progress/kendo-vue-common");
18
+ var kendo_vue_form_1 = require("@progress/kendo-vue-form");
19
+ var kendo_vue_inputs_1 = require("@progress/kendo-vue-inputs");
18
20
  /**
19
21
  * @hidden
20
22
  */
@@ -35,8 +37,20 @@ var InsertImageDialogVue2 = {
35
37
  }
36
38
  },
37
39
  data: function data() {
40
+ var _a = this.$props,
41
+ view = _a.view,
42
+ settings = _a.settings;
43
+ var state = view && view.state;
44
+ var attrs = {};
45
+ if (state && state.selection instanceof kendo_editor_common_1.NodeSelection && state.selection.node.type === state.schema.nodes[settings.node]) {
46
+ attrs = state.selection.node.attrs;
47
+ }
38
48
  return {
39
- srcValue: ''
49
+ srcValue: attrs.src,
50
+ altValue: attrs.alt,
51
+ titleValue: attrs.title,
52
+ widthValue: attrs.width,
53
+ heightValue: attrs.height
40
54
  };
41
55
  },
42
56
  mounted: function mounted() {
@@ -79,133 +93,941 @@ var InsertImageDialogVue2 = {
79
93
  if (state && state.selection instanceof kendo_editor_common_1.NodeSelection && state.selection.node.type === state.schema.nodes[settings.node]) {
80
94
  attrs = state.selection.node.attrs;
81
95
  }
82
- var content = h("div", {
83
- "class": "k-edit-form-container"
84
- }, [h("div", {
85
- "class": "k-edit-label"
86
- }, [h("label", {
87
- "for": "k-editor-image-url",
88
- attrs: this.v3 ? undefined : {
89
- "for": "k-editor-image-url"
96
+ var content =
97
+ // @ts-ignore function children
98
+ h(kendo_vue_form_1.Form, this.v3 ? function () {
99
+ return [
100
+ // @ts-ignore function children
101
+ h(kendo_vue_form_1.FormElement, {
102
+ horizontal: true,
103
+ attrs: _this.v3 ? undefined : {
104
+ horizontal: true
105
+ }
106
+ }, _this.v3 ? function () {
107
+ return [
108
+ // @ts-ignore function children
109
+ h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
110
+ return [h("label", {
111
+ "for": 'k-editor-image-url',
112
+ attrs: _this.v3 ? undefined : {
113
+ "for": 'k-editor-image-url'
114
+ },
115
+ "class": 'k-form-label'
116
+ }, [localization.toLanguageString(insertImageAddress, main_1.messages[insertImageAddress])]), h("div", {
117
+ "class": 'k-form-field-wrap'
118
+ }, [h(kendo_vue_inputs_1.Input, {
119
+ type: "text",
120
+ attrs: _this.v3 ? undefined : {
121
+ type: "text",
122
+ id: 'k-editor-image-url',
123
+ value: _this.srcValue
124
+ },
125
+ id: 'k-editor-image-url',
126
+ value: _this.srcValue,
127
+ onInput: _this.handleSrcInput,
128
+ on: _this.v3 ? undefined : {
129
+ "input": _this.handleSrcInput
130
+ },
131
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'src')
132
+ })])];
133
+ } : [h("label", {
134
+ "for": 'k-editor-image-url',
135
+ attrs: _this.v3 ? undefined : {
136
+ "for": 'k-editor-image-url'
137
+ },
138
+ "class": 'k-form-label'
139
+ }, [localization.toLanguageString(insertImageAddress, main_1.messages[insertImageAddress])]), h("div", {
140
+ "class": 'k-form-field-wrap'
141
+ }, [h(kendo_vue_inputs_1.Input, {
142
+ type: "text",
143
+ attrs: _this.v3 ? undefined : {
144
+ type: "text",
145
+ id: 'k-editor-image-url',
146
+ value: _this.srcValue
147
+ },
148
+ id: 'k-editor-image-url',
149
+ value: _this.srcValue,
150
+ onInput: _this.handleSrcInput,
151
+ on: _this.v3 ? undefined : {
152
+ "input": _this.handleSrcInput
153
+ },
154
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'src')
155
+ })])]),
156
+ // @ts-ignore function children
157
+ h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
158
+ return [h("label", {
159
+ "for": 'k-editor-image-url',
160
+ attrs: _this.v3 ? undefined : {
161
+ "for": 'k-editor-image-url'
162
+ },
163
+ "class": 'k-form-label'
164
+ }, [localization.toLanguageString(insertImageAltText, main_1.messages[insertImageAltText])]), h("div", {
165
+ "class": 'k-form-field-wrap'
166
+ }, [h(kendo_vue_inputs_1.Input, {
167
+ type: 'text',
168
+ attrs: _this.v3 ? undefined : {
169
+ type: 'text',
170
+ id: "k-editor-image-alt",
171
+ value: _this.altValue
172
+ },
173
+ id: "k-editor-image-alt",
174
+ value: _this.altValue,
175
+ onInput: _this.handleAltInput,
176
+ on: _this.v3 ? undefined : {
177
+ "input": _this.handleAltInput
178
+ },
179
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'altText')
180
+ })])];
181
+ } : [h("label", {
182
+ "for": 'k-editor-image-url',
183
+ attrs: _this.v3 ? undefined : {
184
+ "for": 'k-editor-image-url'
185
+ },
186
+ "class": 'k-form-label'
187
+ }, [localization.toLanguageString(insertImageAltText, main_1.messages[insertImageAltText])]), h("div", {
188
+ "class": 'k-form-field-wrap'
189
+ }, [h(kendo_vue_inputs_1.Input, {
190
+ type: 'text',
191
+ attrs: _this.v3 ? undefined : {
192
+ type: 'text',
193
+ id: "k-editor-image-alt",
194
+ value: _this.altValue
195
+ },
196
+ id: "k-editor-image-alt",
197
+ value: _this.altValue,
198
+ onInput: _this.handleAltInput,
199
+ on: _this.v3 ? undefined : {
200
+ "input": _this.handleAltInput
201
+ },
202
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'altText')
203
+ })])]),
204
+ // @ts-ignore function children
205
+ h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
206
+ return [h("label", {
207
+ htmlFor: 'k-editor-image-title',
208
+ attrs: _this.v3 ? undefined : {
209
+ htmlFor: 'k-editor-image-title'
210
+ },
211
+ "class": 'k-form-label'
212
+ }, [localization.toLanguageString(insertImageTitle, main_1.messages[insertImageTitle])]), h("div", {
213
+ "class": 'k-form-field-wrap'
214
+ }, [h(kendo_vue_inputs_1.Input, {
215
+ type: 'text',
216
+ attrs: _this.v3 ? undefined : {
217
+ type: 'text',
218
+ id: "k-editor-image-title",
219
+ value: _this.titleValue
220
+ },
221
+ id: "k-editor-image-title",
222
+ value: _this.titleValue,
223
+ onInput: _this.handleTitleInput,
224
+ on: _this.v3 ? undefined : {
225
+ "input": _this.handleTitleInput
226
+ },
227
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'title')
228
+ })])];
229
+ } : [h("label", {
230
+ htmlFor: 'k-editor-image-title',
231
+ attrs: _this.v3 ? undefined : {
232
+ htmlFor: 'k-editor-image-title'
233
+ },
234
+ "class": 'k-form-label'
235
+ }, [localization.toLanguageString(insertImageTitle, main_1.messages[insertImageTitle])]), h("div", {
236
+ "class": 'k-form-field-wrap'
237
+ }, [h(kendo_vue_inputs_1.Input, {
238
+ type: 'text',
239
+ attrs: _this.v3 ? undefined : {
240
+ type: 'text',
241
+ id: "k-editor-image-title",
242
+ value: _this.titleValue
243
+ },
244
+ id: "k-editor-image-title",
245
+ value: _this.titleValue,
246
+ onInput: _this.handleTitleInput,
247
+ on: _this.v3 ? undefined : {
248
+ "input": _this.handleTitleInput
249
+ },
250
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'title')
251
+ })])]),
252
+ // @ts-ignore function children
253
+ h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
254
+ return [h("label", {
255
+ "for": 'k-editor-image-width',
256
+ attrs: _this.v3 ? undefined : {
257
+ "for": 'k-editor-image-width'
258
+ },
259
+ "class": 'k-form-label'
260
+ }, [localization.toLanguageString(insertImageWidth, main_1.messages[insertImageWidth])]), h("div", {
261
+ "class": 'k-form-field-wrap'
262
+ }, [h(kendo_vue_inputs_1.Input, {
263
+ type: 'text',
264
+ attrs: _this.v3 ? undefined : {
265
+ type: 'text',
266
+ id: "k-editor-image-width",
267
+ value: _this.widthValue
268
+ },
269
+ id: "k-editor-image-width",
270
+ value: _this.widthValue,
271
+ onInput: _this.handleWidthInput,
272
+ on: _this.v3 ? undefined : {
273
+ "input": _this.handleWidthInput
274
+ },
275
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'width')
276
+ })])];
277
+ } : [h("label", {
278
+ "for": 'k-editor-image-width',
279
+ attrs: _this.v3 ? undefined : {
280
+ "for": 'k-editor-image-width'
281
+ },
282
+ "class": 'k-form-label'
283
+ }, [localization.toLanguageString(insertImageWidth, main_1.messages[insertImageWidth])]), h("div", {
284
+ "class": 'k-form-field-wrap'
285
+ }, [h(kendo_vue_inputs_1.Input, {
286
+ type: 'text',
287
+ attrs: _this.v3 ? undefined : {
288
+ type: 'text',
289
+ id: "k-editor-image-width",
290
+ value: _this.widthValue
291
+ },
292
+ id: "k-editor-image-width",
293
+ value: _this.widthValue,
294
+ onInput: _this.handleWidthInput,
295
+ on: _this.v3 ? undefined : {
296
+ "input": _this.handleWidthInput
297
+ },
298
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'width')
299
+ })])]),
300
+ // @ts-ignore function children
301
+ h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
302
+ return [h("label", {
303
+ htmlFor: 'k-editor-image-height',
304
+ attrs: _this.v3 ? undefined : {
305
+ htmlFor: 'k-editor-image-height'
306
+ },
307
+ "class": 'k-form-label'
308
+ }, [localization.toLanguageString(insertImageHeight, main_1.messages[insertImageHeight])]), h("div", {
309
+ "class": 'k-form-field-wrap'
310
+ }, [h(kendo_vue_inputs_1.Input, {
311
+ id: "k-editor-image-height",
312
+ attrs: _this.v3 ? undefined : {
313
+ id: "k-editor-image-height",
314
+ value: _this.heightValue
315
+ },
316
+ value: _this.heightValue,
317
+ onInput: _this.handleHeightInput,
318
+ on: _this.v3 ? undefined : {
319
+ "input": _this.handleHeightInput
320
+ },
321
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'height')
322
+ })])];
323
+ } : [h("label", {
324
+ htmlFor: 'k-editor-image-height',
325
+ attrs: _this.v3 ? undefined : {
326
+ htmlFor: 'k-editor-image-height'
327
+ },
328
+ "class": 'k-form-label'
329
+ }, [localization.toLanguageString(insertImageHeight, main_1.messages[insertImageHeight])]), h("div", {
330
+ "class": 'k-form-field-wrap'
331
+ }, [h(kendo_vue_inputs_1.Input, {
332
+ id: "k-editor-image-height",
333
+ attrs: _this.v3 ? undefined : {
334
+ id: "k-editor-image-height",
335
+ value: _this.heightValue
336
+ },
337
+ value: _this.heightValue,
338
+ onInput: _this.handleHeightInput,
339
+ on: _this.v3 ? undefined : {
340
+ "input": _this.handleHeightInput
341
+ },
342
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'height')
343
+ })])])];
344
+ } : [h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
345
+ return [h("label", {
346
+ "for": 'k-editor-image-url',
347
+ attrs: _this.v3 ? undefined : {
348
+ "for": 'k-editor-image-url'
349
+ },
350
+ "class": 'k-form-label'
351
+ }, [localization.toLanguageString(insertImageAddress, main_1.messages[insertImageAddress])]), h("div", {
352
+ "class": 'k-form-field-wrap'
353
+ }, [h(kendo_vue_inputs_1.Input, {
354
+ type: "text",
355
+ attrs: _this.v3 ? undefined : {
356
+ type: "text",
357
+ id: 'k-editor-image-url',
358
+ value: _this.srcValue
359
+ },
360
+ id: 'k-editor-image-url',
361
+ value: _this.srcValue,
362
+ onInput: _this.handleSrcInput,
363
+ on: _this.v3 ? undefined : {
364
+ "input": _this.handleSrcInput
365
+ },
366
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'src')
367
+ })])];
368
+ } : [h("label", {
369
+ "for": 'k-editor-image-url',
370
+ attrs: _this.v3 ? undefined : {
371
+ "for": 'k-editor-image-url'
372
+ },
373
+ "class": 'k-form-label'
374
+ }, [localization.toLanguageString(insertImageAddress, main_1.messages[insertImageAddress])]), h("div", {
375
+ "class": 'k-form-field-wrap'
376
+ }, [h(kendo_vue_inputs_1.Input, {
377
+ type: "text",
378
+ attrs: _this.v3 ? undefined : {
379
+ type: "text",
380
+ id: 'k-editor-image-url',
381
+ value: _this.srcValue
382
+ },
383
+ id: 'k-editor-image-url',
384
+ value: _this.srcValue,
385
+ onInput: _this.handleSrcInput,
386
+ on: _this.v3 ? undefined : {
387
+ "input": _this.handleSrcInput
388
+ },
389
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'src')
390
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
391
+ return [h("label", {
392
+ "for": 'k-editor-image-url',
393
+ attrs: _this.v3 ? undefined : {
394
+ "for": 'k-editor-image-url'
395
+ },
396
+ "class": 'k-form-label'
397
+ }, [localization.toLanguageString(insertImageAltText, main_1.messages[insertImageAltText])]), h("div", {
398
+ "class": 'k-form-field-wrap'
399
+ }, [h(kendo_vue_inputs_1.Input, {
400
+ type: 'text',
401
+ attrs: _this.v3 ? undefined : {
402
+ type: 'text',
403
+ id: "k-editor-image-alt",
404
+ value: _this.altValue
405
+ },
406
+ id: "k-editor-image-alt",
407
+ value: _this.altValue,
408
+ onInput: _this.handleAltInput,
409
+ on: _this.v3 ? undefined : {
410
+ "input": _this.handleAltInput
411
+ },
412
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'altText')
413
+ })])];
414
+ } : [h("label", {
415
+ "for": 'k-editor-image-url',
416
+ attrs: _this.v3 ? undefined : {
417
+ "for": 'k-editor-image-url'
418
+ },
419
+ "class": 'k-form-label'
420
+ }, [localization.toLanguageString(insertImageAltText, main_1.messages[insertImageAltText])]), h("div", {
421
+ "class": 'k-form-field-wrap'
422
+ }, [h(kendo_vue_inputs_1.Input, {
423
+ type: 'text',
424
+ attrs: _this.v3 ? undefined : {
425
+ type: 'text',
426
+ id: "k-editor-image-alt",
427
+ value: _this.altValue
428
+ },
429
+ id: "k-editor-image-alt",
430
+ value: _this.altValue,
431
+ onInput: _this.handleAltInput,
432
+ on: _this.v3 ? undefined : {
433
+ "input": _this.handleAltInput
434
+ },
435
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'altText')
436
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
437
+ return [h("label", {
438
+ htmlFor: 'k-editor-image-title',
439
+ attrs: _this.v3 ? undefined : {
440
+ htmlFor: 'k-editor-image-title'
441
+ },
442
+ "class": 'k-form-label'
443
+ }, [localization.toLanguageString(insertImageTitle, main_1.messages[insertImageTitle])]), h("div", {
444
+ "class": 'k-form-field-wrap'
445
+ }, [h(kendo_vue_inputs_1.Input, {
446
+ type: 'text',
447
+ attrs: _this.v3 ? undefined : {
448
+ type: 'text',
449
+ id: "k-editor-image-title",
450
+ value: _this.titleValue
451
+ },
452
+ id: "k-editor-image-title",
453
+ value: _this.titleValue,
454
+ onInput: _this.handleTitleInput,
455
+ on: _this.v3 ? undefined : {
456
+ "input": _this.handleTitleInput
457
+ },
458
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'title')
459
+ })])];
460
+ } : [h("label", {
461
+ htmlFor: 'k-editor-image-title',
462
+ attrs: _this.v3 ? undefined : {
463
+ htmlFor: 'k-editor-image-title'
464
+ },
465
+ "class": 'k-form-label'
466
+ }, [localization.toLanguageString(insertImageTitle, main_1.messages[insertImageTitle])]), h("div", {
467
+ "class": 'k-form-field-wrap'
468
+ }, [h(kendo_vue_inputs_1.Input, {
469
+ type: 'text',
470
+ attrs: _this.v3 ? undefined : {
471
+ type: 'text',
472
+ id: "k-editor-image-title",
473
+ value: _this.titleValue
474
+ },
475
+ id: "k-editor-image-title",
476
+ value: _this.titleValue,
477
+ onInput: _this.handleTitleInput,
478
+ on: _this.v3 ? undefined : {
479
+ "input": _this.handleTitleInput
480
+ },
481
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'title')
482
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
483
+ return [h("label", {
484
+ "for": 'k-editor-image-width',
485
+ attrs: _this.v3 ? undefined : {
486
+ "for": 'k-editor-image-width'
487
+ },
488
+ "class": 'k-form-label'
489
+ }, [localization.toLanguageString(insertImageWidth, main_1.messages[insertImageWidth])]), h("div", {
490
+ "class": 'k-form-field-wrap'
491
+ }, [h(kendo_vue_inputs_1.Input, {
492
+ type: 'text',
493
+ attrs: _this.v3 ? undefined : {
494
+ type: 'text',
495
+ id: "k-editor-image-width",
496
+ value: _this.widthValue
497
+ },
498
+ id: "k-editor-image-width",
499
+ value: _this.widthValue,
500
+ onInput: _this.handleWidthInput,
501
+ on: _this.v3 ? undefined : {
502
+ "input": _this.handleWidthInput
503
+ },
504
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'width')
505
+ })])];
506
+ } : [h("label", {
507
+ "for": 'k-editor-image-width',
508
+ attrs: _this.v3 ? undefined : {
509
+ "for": 'k-editor-image-width'
510
+ },
511
+ "class": 'k-form-label'
512
+ }, [localization.toLanguageString(insertImageWidth, main_1.messages[insertImageWidth])]), h("div", {
513
+ "class": 'k-form-field-wrap'
514
+ }, [h(kendo_vue_inputs_1.Input, {
515
+ type: 'text',
516
+ attrs: _this.v3 ? undefined : {
517
+ type: 'text',
518
+ id: "k-editor-image-width",
519
+ value: _this.widthValue
520
+ },
521
+ id: "k-editor-image-width",
522
+ value: _this.widthValue,
523
+ onInput: _this.handleWidthInput,
524
+ on: _this.v3 ? undefined : {
525
+ "input": _this.handleWidthInput
526
+ },
527
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'width')
528
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
529
+ return [h("label", {
530
+ htmlFor: 'k-editor-image-height',
531
+ attrs: _this.v3 ? undefined : {
532
+ htmlFor: 'k-editor-image-height'
533
+ },
534
+ "class": 'k-form-label'
535
+ }, [localization.toLanguageString(insertImageHeight, main_1.messages[insertImageHeight])]), h("div", {
536
+ "class": 'k-form-field-wrap'
537
+ }, [h(kendo_vue_inputs_1.Input, {
538
+ id: "k-editor-image-height",
539
+ attrs: _this.v3 ? undefined : {
540
+ id: "k-editor-image-height",
541
+ value: _this.heightValue
542
+ },
543
+ value: _this.heightValue,
544
+ onInput: _this.handleHeightInput,
545
+ on: _this.v3 ? undefined : {
546
+ "input": _this.handleHeightInput
547
+ },
548
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'height')
549
+ })])];
550
+ } : [h("label", {
551
+ htmlFor: 'k-editor-image-height',
552
+ attrs: _this.v3 ? undefined : {
553
+ htmlFor: 'k-editor-image-height'
554
+ },
555
+ "class": 'k-form-label'
556
+ }, [localization.toLanguageString(insertImageHeight, main_1.messages[insertImageHeight])]), h("div", {
557
+ "class": 'k-form-field-wrap'
558
+ }, [h(kendo_vue_inputs_1.Input, {
559
+ id: "k-editor-image-height",
560
+ attrs: _this.v3 ? undefined : {
561
+ id: "k-editor-image-height",
562
+ value: _this.heightValue
563
+ },
564
+ value: _this.heightValue,
565
+ onInput: _this.handleHeightInput,
566
+ on: _this.v3 ? undefined : {
567
+ "input": _this.handleHeightInput
568
+ },
569
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'height')
570
+ })])])])];
571
+ } : [h(kendo_vue_form_1.FormElement, {
572
+ horizontal: true,
573
+ attrs: _this.v3 ? undefined : {
574
+ horizontal: true
90
575
  }
91
- }, [localization.toLanguageString(insertImageAddress, main_1.messages[insertImageAddress])])]), h("div", {
92
- "class": "k-edit-field"
93
- }, [h("span", {
94
- "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
95
- }, [h("input", {
576
+ }, _this.v3 ? function () {
577
+ return [h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
578
+ return [h("label", {
579
+ "for": 'k-editor-image-url',
580
+ attrs: _this.v3 ? undefined : {
581
+ "for": 'k-editor-image-url'
582
+ },
583
+ "class": 'k-form-label'
584
+ }, [localization.toLanguageString(insertImageAddress, main_1.messages[insertImageAddress])]), h("div", {
585
+ "class": 'k-form-field-wrap'
586
+ }, [h(kendo_vue_inputs_1.Input, {
587
+ type: "text",
588
+ attrs: _this.v3 ? undefined : {
589
+ type: "text",
590
+ id: 'k-editor-image-url',
591
+ value: _this.srcValue
592
+ },
593
+ id: 'k-editor-image-url',
594
+ value: _this.srcValue,
595
+ onInput: _this.handleSrcInput,
596
+ on: _this.v3 ? undefined : {
597
+ "input": _this.handleSrcInput
598
+ },
599
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'src')
600
+ })])];
601
+ } : [h("label", {
602
+ "for": 'k-editor-image-url',
603
+ attrs: _this.v3 ? undefined : {
604
+ "for": 'k-editor-image-url'
605
+ },
606
+ "class": 'k-form-label'
607
+ }, [localization.toLanguageString(insertImageAddress, main_1.messages[insertImageAddress])]), h("div", {
608
+ "class": 'k-form-field-wrap'
609
+ }, [h(kendo_vue_inputs_1.Input, {
610
+ type: "text",
611
+ attrs: _this.v3 ? undefined : {
612
+ type: "text",
613
+ id: 'k-editor-image-url',
614
+ value: _this.srcValue
615
+ },
616
+ id: 'k-editor-image-url',
617
+ value: _this.srcValue,
618
+ onInput: _this.handleSrcInput,
619
+ on: _this.v3 ? undefined : {
620
+ "input": _this.handleSrcInput
621
+ },
622
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'src')
623
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
624
+ return [h("label", {
625
+ "for": 'k-editor-image-url',
626
+ attrs: _this.v3 ? undefined : {
627
+ "for": 'k-editor-image-url'
628
+ },
629
+ "class": 'k-form-label'
630
+ }, [localization.toLanguageString(insertImageAltText, main_1.messages[insertImageAltText])]), h("div", {
631
+ "class": 'k-form-field-wrap'
632
+ }, [h(kendo_vue_inputs_1.Input, {
633
+ type: 'text',
634
+ attrs: _this.v3 ? undefined : {
635
+ type: 'text',
636
+ id: "k-editor-image-alt",
637
+ value: _this.altValue
638
+ },
639
+ id: "k-editor-image-alt",
640
+ value: _this.altValue,
641
+ onInput: _this.handleAltInput,
642
+ on: _this.v3 ? undefined : {
643
+ "input": _this.handleAltInput
644
+ },
645
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'altText')
646
+ })])];
647
+ } : [h("label", {
648
+ "for": 'k-editor-image-url',
649
+ attrs: _this.v3 ? undefined : {
650
+ "for": 'k-editor-image-url'
651
+ },
652
+ "class": 'k-form-label'
653
+ }, [localization.toLanguageString(insertImageAltText, main_1.messages[insertImageAltText])]), h("div", {
654
+ "class": 'k-form-field-wrap'
655
+ }, [h(kendo_vue_inputs_1.Input, {
656
+ type: 'text',
657
+ attrs: _this.v3 ? undefined : {
658
+ type: 'text',
659
+ id: "k-editor-image-alt",
660
+ value: _this.altValue
661
+ },
662
+ id: "k-editor-image-alt",
663
+ value: _this.altValue,
664
+ onInput: _this.handleAltInput,
665
+ on: _this.v3 ? undefined : {
666
+ "input": _this.handleAltInput
667
+ },
668
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'altText')
669
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
670
+ return [h("label", {
671
+ htmlFor: 'k-editor-image-title',
672
+ attrs: _this.v3 ? undefined : {
673
+ htmlFor: 'k-editor-image-title'
674
+ },
675
+ "class": 'k-form-label'
676
+ }, [localization.toLanguageString(insertImageTitle, main_1.messages[insertImageTitle])]), h("div", {
677
+ "class": 'k-form-field-wrap'
678
+ }, [h(kendo_vue_inputs_1.Input, {
679
+ type: 'text',
680
+ attrs: _this.v3 ? undefined : {
681
+ type: 'text',
682
+ id: "k-editor-image-title",
683
+ value: _this.titleValue
684
+ },
685
+ id: "k-editor-image-title",
686
+ value: _this.titleValue,
687
+ onInput: _this.handleTitleInput,
688
+ on: _this.v3 ? undefined : {
689
+ "input": _this.handleTitleInput
690
+ },
691
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'title')
692
+ })])];
693
+ } : [h("label", {
694
+ htmlFor: 'k-editor-image-title',
695
+ attrs: _this.v3 ? undefined : {
696
+ htmlFor: 'k-editor-image-title'
697
+ },
698
+ "class": 'k-form-label'
699
+ }, [localization.toLanguageString(insertImageTitle, main_1.messages[insertImageTitle])]), h("div", {
700
+ "class": 'k-form-field-wrap'
701
+ }, [h(kendo_vue_inputs_1.Input, {
702
+ type: 'text',
703
+ attrs: _this.v3 ? undefined : {
704
+ type: 'text',
705
+ id: "k-editor-image-title",
706
+ value: _this.titleValue
707
+ },
708
+ id: "k-editor-image-title",
709
+ value: _this.titleValue,
710
+ onInput: _this.handleTitleInput,
711
+ on: _this.v3 ? undefined : {
712
+ "input": _this.handleTitleInput
713
+ },
714
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'title')
715
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
716
+ return [h("label", {
717
+ "for": 'k-editor-image-width',
718
+ attrs: _this.v3 ? undefined : {
719
+ "for": 'k-editor-image-width'
720
+ },
721
+ "class": 'k-form-label'
722
+ }, [localization.toLanguageString(insertImageWidth, main_1.messages[insertImageWidth])]), h("div", {
723
+ "class": 'k-form-field-wrap'
724
+ }, [h(kendo_vue_inputs_1.Input, {
725
+ type: 'text',
726
+ attrs: _this.v3 ? undefined : {
727
+ type: 'text',
728
+ id: "k-editor-image-width",
729
+ value: _this.widthValue
730
+ },
731
+ id: "k-editor-image-width",
732
+ value: _this.widthValue,
733
+ onInput: _this.handleWidthInput,
734
+ on: _this.v3 ? undefined : {
735
+ "input": _this.handleWidthInput
736
+ },
737
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'width')
738
+ })])];
739
+ } : [h("label", {
740
+ "for": 'k-editor-image-width',
741
+ attrs: _this.v3 ? undefined : {
742
+ "for": 'k-editor-image-width'
743
+ },
744
+ "class": 'k-form-label'
745
+ }, [localization.toLanguageString(insertImageWidth, main_1.messages[insertImageWidth])]), h("div", {
746
+ "class": 'k-form-field-wrap'
747
+ }, [h(kendo_vue_inputs_1.Input, {
748
+ type: 'text',
749
+ attrs: _this.v3 ? undefined : {
750
+ type: 'text',
751
+ id: "k-editor-image-width",
752
+ value: _this.widthValue
753
+ },
754
+ id: "k-editor-image-width",
755
+ value: _this.widthValue,
756
+ onInput: _this.handleWidthInput,
757
+ on: _this.v3 ? undefined : {
758
+ "input": _this.handleWidthInput
759
+ },
760
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'width')
761
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
762
+ return [h("label", {
763
+ htmlFor: 'k-editor-image-height',
764
+ attrs: _this.v3 ? undefined : {
765
+ htmlFor: 'k-editor-image-height'
766
+ },
767
+ "class": 'k-form-label'
768
+ }, [localization.toLanguageString(insertImageHeight, main_1.messages[insertImageHeight])]), h("div", {
769
+ "class": 'k-form-field-wrap'
770
+ }, [h(kendo_vue_inputs_1.Input, {
771
+ id: "k-editor-image-height",
772
+ attrs: _this.v3 ? undefined : {
773
+ id: "k-editor-image-height",
774
+ value: _this.heightValue
775
+ },
776
+ value: _this.heightValue,
777
+ onInput: _this.handleHeightInput,
778
+ on: _this.v3 ? undefined : {
779
+ "input": _this.handleHeightInput
780
+ },
781
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'height')
782
+ })])];
783
+ } : [h("label", {
784
+ htmlFor: 'k-editor-image-height',
785
+ attrs: _this.v3 ? undefined : {
786
+ htmlFor: 'k-editor-image-height'
787
+ },
788
+ "class": 'k-form-label'
789
+ }, [localization.toLanguageString(insertImageHeight, main_1.messages[insertImageHeight])]), h("div", {
790
+ "class": 'k-form-field-wrap'
791
+ }, [h(kendo_vue_inputs_1.Input, {
792
+ id: "k-editor-image-height",
793
+ attrs: _this.v3 ? undefined : {
794
+ id: "k-editor-image-height",
795
+ value: _this.heightValue
796
+ },
797
+ value: _this.heightValue,
798
+ onInput: _this.handleHeightInput,
799
+ on: _this.v3 ? undefined : {
800
+ "input": _this.handleHeightInput
801
+ },
802
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'height')
803
+ })])])];
804
+ } : [h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
805
+ return [h("label", {
806
+ "for": 'k-editor-image-url',
807
+ attrs: _this.v3 ? undefined : {
808
+ "for": 'k-editor-image-url'
809
+ },
810
+ "class": 'k-form-label'
811
+ }, [localization.toLanguageString(insertImageAddress, main_1.messages[insertImageAddress])]), h("div", {
812
+ "class": 'k-form-field-wrap'
813
+ }, [h(kendo_vue_inputs_1.Input, {
814
+ type: "text",
815
+ attrs: _this.v3 ? undefined : {
816
+ type: "text",
817
+ id: 'k-editor-image-url',
818
+ value: _this.srcValue
819
+ },
820
+ id: 'k-editor-image-url',
821
+ value: _this.srcValue,
822
+ onInput: _this.handleSrcInput,
823
+ on: _this.v3 ? undefined : {
824
+ "input": _this.handleSrcInput
825
+ },
826
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'src')
827
+ })])];
828
+ } : [h("label", {
829
+ "for": 'k-editor-image-url',
830
+ attrs: _this.v3 ? undefined : {
831
+ "for": 'k-editor-image-url'
832
+ },
833
+ "class": 'k-form-label'
834
+ }, [localization.toLanguageString(insertImageAddress, main_1.messages[insertImageAddress])]), h("div", {
835
+ "class": 'k-form-field-wrap'
836
+ }, [h(kendo_vue_inputs_1.Input, {
96
837
  type: "text",
97
- attrs: this.v3 ? undefined : {
838
+ attrs: _this.v3 ? undefined : {
98
839
  type: "text",
99
- id: "k-editor-image-url"
840
+ id: 'k-editor-image-url',
841
+ value: _this.srcValue
100
842
  },
101
- "class": "k-input-inner",
102
- id: "k-editor-image-url",
103
- value: this.v3 ? this.srcValue : null,
104
- domProps: this.v3 ? undefined : {
105
- "value": this.srcValue
843
+ id: 'k-editor-image-url',
844
+ value: _this.srcValue,
845
+ onInput: _this.handleSrcInput,
846
+ on: _this.v3 ? undefined : {
847
+ "input": _this.handleSrcInput
106
848
  },
107
- onInput: this.handleSrcInput,
108
- on: this.v3 ? undefined : {
109
- "input": this.handleSrcInput
849
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'src')
850
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
851
+ return [h("label", {
852
+ "for": 'k-editor-image-url',
853
+ attrs: _this.v3 ? undefined : {
854
+ "for": 'k-editor-image-url'
855
+ },
856
+ "class": 'k-form-label'
857
+ }, [localization.toLanguageString(insertImageAltText, main_1.messages[insertImageAltText])]), h("div", {
858
+ "class": 'k-form-field-wrap'
859
+ }, [h(kendo_vue_inputs_1.Input, {
860
+ type: 'text',
861
+ attrs: _this.v3 ? undefined : {
862
+ type: 'text',
863
+ id: "k-editor-image-alt",
864
+ value: _this.altValue
865
+ },
866
+ id: "k-editor-image-alt",
867
+ value: _this.altValue,
868
+ onInput: _this.handleAltInput,
869
+ on: _this.v3 ? undefined : {
870
+ "input": _this.handleAltInput
871
+ },
872
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'altText')
873
+ })])];
874
+ } : [h("label", {
875
+ "for": 'k-editor-image-url',
876
+ attrs: _this.v3 ? undefined : {
877
+ "for": 'k-editor-image-url'
110
878
  },
111
- ref: (0, kendo_vue_common_1.setRef)(this, 'src')
112
- })])]), h("div", {
113
- "class": "k-edit-label"
114
- }, [h("label", {
115
- "for": "k-editor-image-alt",
116
- attrs: this.v3 ? undefined : {
117
- "for": "k-editor-image-alt"
118
- }
119
- }, [localization.toLanguageString(insertImageAltText, main_1.messages[insertImageAltText])])]), h("div", {
120
- "class": "k-edit-field"
121
- }, [h("span", {
122
- "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
123
- }, [h("input", {
124
- type: "text",
125
- attrs: this.v3 ? undefined : {
126
- type: "text",
127
- id: "k-editor-image-alt"
879
+ "class": 'k-form-label'
880
+ }, [localization.toLanguageString(insertImageAltText, main_1.messages[insertImageAltText])]), h("div", {
881
+ "class": 'k-form-field-wrap'
882
+ }, [h(kendo_vue_inputs_1.Input, {
883
+ type: 'text',
884
+ attrs: _this.v3 ? undefined : {
885
+ type: 'text',
886
+ id: "k-editor-image-alt",
887
+ value: _this.altValue
128
888
  },
129
- "class": "k-input-inner",
130
889
  id: "k-editor-image-alt",
131
- value: this.v3 ? attrs.alt : null,
132
- domProps: this.v3 ? undefined : {
133
- "value": attrs.alt
890
+ value: _this.altValue,
891
+ onInput: _this.handleAltInput,
892
+ on: _this.v3 ? undefined : {
893
+ "input": _this.handleAltInput
134
894
  },
135
- ref: (0, kendo_vue_common_1.setRef)(this, 'altText')
136
- })])]), h("div", {
137
- "class": "k-edit-label"
138
- }, [h("label", {
139
- "for": "k-editor-image-title",
140
- attrs: this.v3 ? undefined : {
141
- "for": "k-editor-image-title"
142
- }
143
- }, [localization.toLanguageString(insertImageTitle, main_1.messages[insertImageTitle])])]), h("div", {
144
- "class": "k-edit-field"
145
- }, [h("span", {
146
- "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
147
- }, [h("input", {
148
- type: "text",
149
- attrs: this.v3 ? undefined : {
150
- type: "text",
151
- id: "k-editor-image-title"
895
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'altText')
896
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
897
+ return [h("label", {
898
+ htmlFor: 'k-editor-image-title',
899
+ attrs: _this.v3 ? undefined : {
900
+ htmlFor: 'k-editor-image-title'
901
+ },
902
+ "class": 'k-form-label'
903
+ }, [localization.toLanguageString(insertImageTitle, main_1.messages[insertImageTitle])]), h("div", {
904
+ "class": 'k-form-field-wrap'
905
+ }, [h(kendo_vue_inputs_1.Input, {
906
+ type: 'text',
907
+ attrs: _this.v3 ? undefined : {
908
+ type: 'text',
909
+ id: "k-editor-image-title",
910
+ value: _this.titleValue
911
+ },
912
+ id: "k-editor-image-title",
913
+ value: _this.titleValue,
914
+ onInput: _this.handleTitleInput,
915
+ on: _this.v3 ? undefined : {
916
+ "input": _this.handleTitleInput
917
+ },
918
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'title')
919
+ })])];
920
+ } : [h("label", {
921
+ htmlFor: 'k-editor-image-title',
922
+ attrs: _this.v3 ? undefined : {
923
+ htmlFor: 'k-editor-image-title'
924
+ },
925
+ "class": 'k-form-label'
926
+ }, [localization.toLanguageString(insertImageTitle, main_1.messages[insertImageTitle])]), h("div", {
927
+ "class": 'k-form-field-wrap'
928
+ }, [h(kendo_vue_inputs_1.Input, {
929
+ type: 'text',
930
+ attrs: _this.v3 ? undefined : {
931
+ type: 'text',
932
+ id: "k-editor-image-title",
933
+ value: _this.titleValue
152
934
  },
153
- "class": "k-input-inner",
154
935
  id: "k-editor-image-title",
155
- value: this.v3 ? attrs.title : null,
156
- domProps: this.v3 ? undefined : {
157
- "value": attrs.title
936
+ value: _this.titleValue,
937
+ onInput: _this.handleTitleInput,
938
+ on: _this.v3 ? undefined : {
939
+ "input": _this.handleTitleInput
158
940
  },
159
- ref: (0, kendo_vue_common_1.setRef)(this, 'title')
160
- })])]), h("div", {
161
- "class": "k-edit-label"
162
- }, [h("label", {
163
- "for": "k-editor-image-width",
164
- attrs: this.v3 ? undefined : {
165
- "for": "k-editor-image-width"
166
- }
167
- }, [localization.toLanguageString(insertImageWidth, main_1.messages[insertImageWidth])])]), h("div", {
168
- "class": "k-edit-field"
169
- }, [h("span", {
170
- "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
171
- }, [h("input", {
172
- type: "text",
173
- attrs: this.v3 ? undefined : {
174
- type: "text",
175
- id: "k-editor-image-width"
941
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'title')
942
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
943
+ return [h("label", {
944
+ "for": 'k-editor-image-width',
945
+ attrs: _this.v3 ? undefined : {
946
+ "for": 'k-editor-image-width'
947
+ },
948
+ "class": 'k-form-label'
949
+ }, [localization.toLanguageString(insertImageWidth, main_1.messages[insertImageWidth])]), h("div", {
950
+ "class": 'k-form-field-wrap'
951
+ }, [h(kendo_vue_inputs_1.Input, {
952
+ type: 'text',
953
+ attrs: _this.v3 ? undefined : {
954
+ type: 'text',
955
+ id: "k-editor-image-width",
956
+ value: _this.widthValue
957
+ },
958
+ id: "k-editor-image-width",
959
+ value: _this.widthValue,
960
+ onInput: _this.handleWidthInput,
961
+ on: _this.v3 ? undefined : {
962
+ "input": _this.handleWidthInput
963
+ },
964
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'width')
965
+ })])];
966
+ } : [h("label", {
967
+ "for": 'k-editor-image-width',
968
+ attrs: _this.v3 ? undefined : {
969
+ "for": 'k-editor-image-width'
970
+ },
971
+ "class": 'k-form-label'
972
+ }, [localization.toLanguageString(insertImageWidth, main_1.messages[insertImageWidth])]), h("div", {
973
+ "class": 'k-form-field-wrap'
974
+ }, [h(kendo_vue_inputs_1.Input, {
975
+ type: 'text',
976
+ attrs: _this.v3 ? undefined : {
977
+ type: 'text',
978
+ id: "k-editor-image-width",
979
+ value: _this.widthValue
176
980
  },
177
- "class": "k-input-inner",
178
981
  id: "k-editor-image-width",
179
- value: this.v3 ? attrs.width : null,
180
- domProps: this.v3 ? undefined : {
181
- "value": attrs.width
982
+ value: _this.widthValue,
983
+ onInput: _this.handleWidthInput,
984
+ on: _this.v3 ? undefined : {
985
+ "input": _this.handleWidthInput
182
986
  },
183
- ref: (0, kendo_vue_common_1.setRef)(this, 'width')
184
- })])]), h("div", {
185
- "class": "k-edit-label"
186
- }, [h("label", {
187
- "for": "k-editor-image-height",
188
- attrs: this.v3 ? undefined : {
189
- "for": "k-editor-image-height"
190
- }
191
- }, [localization.toLanguageString(insertImageHeight, main_1.messages[insertImageHeight])])]), h("div", {
192
- "class": "k-edit-field"
193
- }, [h("span", {
194
- "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
195
- }, [h("input", {
196
- type: "text",
197
- attrs: this.v3 ? undefined : {
198
- type: "text",
199
- id: "k-editor-image-height"
987
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'width')
988
+ })])]), h(kendo_vue_form_1.FieldWrapper, _this.v3 ? function () {
989
+ return [h("label", {
990
+ htmlFor: 'k-editor-image-height',
991
+ attrs: _this.v3 ? undefined : {
992
+ htmlFor: 'k-editor-image-height'
993
+ },
994
+ "class": 'k-form-label'
995
+ }, [localization.toLanguageString(insertImageHeight, main_1.messages[insertImageHeight])]), h("div", {
996
+ "class": 'k-form-field-wrap'
997
+ }, [h(kendo_vue_inputs_1.Input, {
998
+ id: "k-editor-image-height",
999
+ attrs: _this.v3 ? undefined : {
1000
+ id: "k-editor-image-height",
1001
+ value: _this.heightValue
1002
+ },
1003
+ value: _this.heightValue,
1004
+ onInput: _this.handleHeightInput,
1005
+ on: _this.v3 ? undefined : {
1006
+ "input": _this.handleHeightInput
1007
+ },
1008
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'height')
1009
+ })])];
1010
+ } : [h("label", {
1011
+ htmlFor: 'k-editor-image-height',
1012
+ attrs: _this.v3 ? undefined : {
1013
+ htmlFor: 'k-editor-image-height'
200
1014
  },
201
- "class": "k-input-inner",
1015
+ "class": 'k-form-label'
1016
+ }, [localization.toLanguageString(insertImageHeight, main_1.messages[insertImageHeight])]), h("div", {
1017
+ "class": 'k-form-field-wrap'
1018
+ }, [h(kendo_vue_inputs_1.Input, {
202
1019
  id: "k-editor-image-height",
203
- value: this.v3 ? attrs.height : null,
204
- domProps: this.v3 ? undefined : {
205
- "value": attrs.height
1020
+ attrs: _this.v3 ? undefined : {
1021
+ id: "k-editor-image-height",
1022
+ value: _this.heightValue
206
1023
  },
207
- ref: (0, kendo_vue_common_1.setRef)(this, 'height')
208
- })])])]);
1024
+ value: _this.heightValue,
1025
+ onInput: _this.handleHeightInput,
1026
+ on: _this.v3 ? undefined : {
1027
+ "input": _this.handleHeightInput
1028
+ },
1029
+ ref: (0, kendo_vue_common_1.setRef)(_this, 'height')
1030
+ })])])])]);
209
1031
  var actionButtons = [
210
1032
  // @ts-ignore function children
211
1033
  h(kendo_vue_buttons_1.Button, {
@@ -295,7 +1117,19 @@ var InsertImageDialogVue2 = {
295
1117
  },
296
1118
  methods: {
297
1119
  handleSrcInput: function handleSrcInput(e) {
298
- this.srcValue = e.target.value;
1120
+ this.srcValue = e.value;
1121
+ },
1122
+ handleAltInput: function handleAltInput(e) {
1123
+ this.altValue = e.value;
1124
+ },
1125
+ handleTitleInput: function handleTitleInput(e) {
1126
+ this.titleValue = e.value;
1127
+ },
1128
+ handleWidthInput: function handleWidthInput(e) {
1129
+ this.widthValue = e.value;
1130
+ },
1131
+ handleHeightInput: function handleHeightInput(e) {
1132
+ this.heightValue = e.value;
299
1133
  },
300
1134
  onClose: function onClose() {
301
1135
  this.$props.view.focus();
@@ -309,10 +1143,10 @@ var InsertImageDialogVue2 = {
309
1143
  var nodeType = nodes[settings.node];
310
1144
  var data = {
311
1145
  src: this.src ? this.srcValue : null,
312
- title: this.title ? this.title.value : null,
313
- alt: this.altText ? this.altText.value : null,
314
- width: this.width ? this.width.value : null,
315
- height: this.height ? this.height.value : null
1146
+ title: this.title ? this.titleValue : null,
1147
+ alt: this.altText ? this.altValue : null,
1148
+ width: this.width ? this.widthValue : null,
1149
+ height: this.height ? this.heightValue : null
316
1150
  };
317
1151
  var attrs = Object.keys(data).filter(function (key) {
318
1152
  return data[key] !== null && data[key] !== '';