@progress/kendo-vue-editor 3.4.1-dev.202206280838 → 3.4.2

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 (60) hide show
  1. package/dist/cdn/js/kendo-vue-editor.js +1 -1
  2. package/dist/es/Editor.js +11 -16
  3. package/dist/es/dialogs/FindReplace.js +4 -3
  4. package/dist/es/dialogs/insertImage.js +16 -26
  5. package/dist/es/dialogs/insertLink.js +52 -58
  6. package/dist/es/dialogs/viewHtml.js +8 -10
  7. package/dist/es/package-metadata.js +1 -1
  8. package/dist/es/tools/align.js +3 -2
  9. package/dist/es/tools/applyColor.js +3 -2
  10. package/dist/es/tools/cleanFormatting.js +3 -2
  11. package/dist/es/tools/findReplace.js +3 -2
  12. package/dist/es/tools/fontStyle.js +3 -2
  13. package/dist/es/tools/formatBlock.js +3 -2
  14. package/dist/es/tools/history.js +2 -1
  15. package/dist/es/tools/indent.js +3 -2
  16. package/dist/es/tools/inlineFormat.js +3 -2
  17. package/dist/es/tools/insertImage.js +3 -2
  18. package/dist/es/tools/insertLink.js +3 -2
  19. package/dist/es/tools/insertTable/popup.js +4 -3
  20. package/dist/es/tools/insertTable/popupGrid.js +3 -2
  21. package/dist/es/tools/insertTable/tool.js +3 -2
  22. package/dist/es/tools/lists.js +3 -2
  23. package/dist/es/tools/outdent.js +3 -2
  24. package/dist/es/tools/pdf.js +3 -2
  25. package/dist/es/tools/print.js +3 -2
  26. package/dist/es/tools/proseMirrorTool.js +3 -2
  27. package/dist/es/tools/selectAll.js +3 -2
  28. package/dist/es/tools/tableEdit.js +1 -0
  29. package/dist/es/tools/unlink.js +3 -2
  30. package/dist/es/tools/viewHtml.js +3 -2
  31. package/dist/npm/Editor.js +10 -15
  32. package/dist/npm/dialogs/FindReplace.js +4 -3
  33. package/dist/npm/dialogs/insertImage.js +17 -26
  34. package/dist/npm/dialogs/insertLink.js +53 -58
  35. package/dist/npm/dialogs/viewHtml.js +9 -10
  36. package/dist/npm/package-metadata.js +1 -1
  37. package/dist/npm/tools/align.js +3 -2
  38. package/dist/npm/tools/applyColor.js +3 -2
  39. package/dist/npm/tools/cleanFormatting.js +3 -2
  40. package/dist/npm/tools/findReplace.js +3 -2
  41. package/dist/npm/tools/fontStyle.js +3 -2
  42. package/dist/npm/tools/formatBlock.js +3 -2
  43. package/dist/npm/tools/history.js +2 -1
  44. package/dist/npm/tools/indent.js +3 -2
  45. package/dist/npm/tools/inlineFormat.js +3 -2
  46. package/dist/npm/tools/insertImage.js +3 -2
  47. package/dist/npm/tools/insertLink.js +3 -2
  48. package/dist/npm/tools/insertTable/popup.js +4 -3
  49. package/dist/npm/tools/insertTable/popupGrid.js +3 -2
  50. package/dist/npm/tools/insertTable/tool.js +3 -2
  51. package/dist/npm/tools/lists.js +3 -2
  52. package/dist/npm/tools/outdent.js +3 -2
  53. package/dist/npm/tools/pdf.js +3 -2
  54. package/dist/npm/tools/print.js +3 -2
  55. package/dist/npm/tools/proseMirrorTool.js +3 -2
  56. package/dist/npm/tools/selectAll.js +3 -2
  57. package/dist/npm/tools/tableEdit.js +1 -0
  58. package/dist/npm/tools/unlink.js +3 -2
  59. package/dist/npm/tools/viewHtml.js +3 -2
  60. package/package.json +12 -12
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { indentBlocks, isIndented, canIndentAsListItem, hasNode, sinkListItem } from '@progress/kendo-editor-common';
36
37
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -58,8 +59,8 @@ var IndentVue2 = {
58
59
  }
59
60
  },
60
61
  // @ts-ignore
61
- setup: !gh ? undefined : function () {
62
- var v3 = !!gh;
62
+ setup: !isV3 ? undefined : function () {
63
+ var v3 = !!isV3;
63
64
  return {
64
65
  v3: v3
65
66
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { toggleInlineFormat, hasMark } from '@progress/kendo-editor-common';
36
37
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -58,8 +59,8 @@ var InlineFormatVue2 = {
58
59
  }
59
60
  },
60
61
  // @ts-ignore
61
- setup: !gh ? undefined : function () {
62
- var v3 = !!gh;
62
+ setup: !isV3 ? undefined : function () {
63
+ var v3 = !!isV3;
63
64
  return {
64
65
  v3: v3
65
66
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { canInsert } from '@progress/kendo-editor-common';
35
36
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
36
37
  import { InsertImageDialog } from '../dialogs/insertImage';
@@ -65,8 +66,8 @@ var InsertImageVue2 = {
65
66
  };
66
67
  },
67
68
  // @ts-ignore
68
- setup: !gh ? undefined : function () {
69
- var v3 = !!gh;
69
+ setup: !isV3 ? undefined : function () {
70
+ var v3 = !!isV3;
70
71
  return {
71
72
  v3: v3
72
73
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { getMark } from '@progress/kendo-editor-common';
36
37
  import { InsertLinkDialog } from '../dialogs/insertLink';
@@ -64,8 +65,8 @@ var LinkToolVue2 = {
64
65
  };
65
66
  },
66
67
  // @ts-ignore
67
- setup: !gh ? undefined : function () {
68
- var v3 = !!gh;
68
+ setup: !isV3 ? undefined : function () {
69
+ var v3 = !!isV3;
69
70
  return {
70
71
  v3: v3
71
72
  };
@@ -2,6 +2,7 @@
2
2
  import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
+ var isV3 = allVue.version[0] === '3';
5
6
  import { Popup } from '@progress/kendo-vue-popup';
6
7
  import { PopupGrid } from './popupGrid';
7
8
  /**
@@ -48,7 +49,7 @@ var InsertTablePopupVue2 = {
48
49
  window.addEventListener('mousedown', this.onWindowDown);
49
50
  window.addEventListener('pointerdown', this.onWindowDown);
50
51
  },
51
- destroyed: !!gh ? undefined : function () {
52
+ destroyed: !!isV3 ? undefined : function () {
52
53
  window.removeEventListener('mousedown', this.onWindowDown);
53
54
  window.removeEventListener('pointerdown', this.onWindowDown);
54
55
  },
@@ -58,8 +59,8 @@ var InsertTablePopupVue2 = {
58
59
  window.removeEventListener('pointerdown', this.onWindowDown);
59
60
  },
60
61
  // @ts-ignore
61
- setup: !gh ? undefined : function () {
62
- var v3 = !!gh;
62
+ setup: !isV3 ? undefined : function () {
63
+ var v3 = !!isV3;
63
64
  return {
64
65
  v3: v3
65
66
  };
@@ -2,6 +2,7 @@
2
2
  import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
+ var isV3 = allVue.version[0] === '3';
5
6
  import { formatString } from '../utils';
6
7
  var cellClass = 'k-ct-cell k-state-disabled';
7
8
  var selectedClass = 'k-state-selected';
@@ -24,8 +25,8 @@ var PopupGridVue2 = {
24
25
  };
25
26
  },
26
27
  // @ts-ignore
27
- setup: !gh ? undefined : function () {
28
- var v3 = !!gh;
28
+ setup: !isV3 ? undefined : function () {
29
+ var v3 = !!isV3;
29
30
  return {
30
31
  v3: v3
31
32
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as KButton } from '@progress/kendo-vue-buttons';
35
36
  import { guid } from '@progress/kendo-vue-common';
36
37
  import { InsertTablePopup } from './popup';
@@ -69,8 +70,8 @@ var InsertTableVue2 = {
69
70
  };
70
71
  },
71
72
  // @ts-ignore
72
- setup: !gh ? undefined : function () {
73
- var v3 = !!gh;
73
+ setup: !isV3 ? undefined : function () {
74
+ var v3 = !!isV3;
74
75
  return {
75
76
  v3: v3
76
77
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { hasNode, toggleList } from '@progress/kendo-editor-common';
36
37
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -58,8 +59,8 @@ var ListVue2 = {
58
59
  }
59
60
  },
60
61
  // @ts-ignore
61
- setup: !gh ? undefined : function () {
62
- var v3 = !!gh;
62
+ setup: !isV3 ? undefined : function () {
63
+ var v3 = !!isV3;
63
64
  return {
64
65
  v3: v3
65
66
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { indentBlocks, isIndented, canOutdentAsListItem, liftListItem } from '@progress/kendo-editor-common';
36
37
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -58,8 +59,8 @@ var OutdentVue2 = {
58
59
  }
59
60
  },
60
61
  // @ts-ignore
61
- setup: !gh ? undefined : function () {
62
- var v3 = !!gh;
62
+ setup: !isV3 ? undefined : function () {
63
+ var v3 = !!isV3;
63
64
  return {
64
65
  v3: v3
65
66
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
36
37
  import { savePDF } from '@progress/kendo-vue-pdf';
@@ -54,8 +55,8 @@ var PdfVue2 = {
54
55
  }
55
56
  },
56
57
  // @ts-ignore
57
- setup: !gh ? undefined : function () {
58
- var v3 = !!gh;
58
+ setup: !isV3 ? undefined : function () {
59
+ var v3 = !!isV3;
59
60
  return {
60
61
  v3: v3
61
62
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
36
37
  import { messages } from './../messages';
@@ -52,8 +53,8 @@ var PrintVue2 = {
52
53
  }
53
54
  },
54
55
  // @ts-ignore
55
- setup: !gh ? undefined : function () {
56
- var v3 = !!gh;
56
+ setup: !isV3 ? undefined : function () {
57
+ var v3 = !!isV3;
57
58
  return {
58
59
  v3: v3
59
60
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { noop } from '@progress/kendo-vue-common';
36
37
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -63,8 +64,8 @@ var ProseMirrorVue2 = {
63
64
  }
64
65
  },
65
66
  // @ts-ignore
66
- setup: !gh ? undefined : function () {
67
- var v3 = !!gh;
67
+ setup: !isV3 ? undefined : function () {
68
+ var v3 = !!isV3;
68
69
  return {
69
70
  v3: v3
70
71
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
36
37
  import { messages } from './../messages';
@@ -53,8 +54,8 @@ var SelectAllVue2 = {
53
54
  }
54
55
  },
55
56
  // @ts-ignore
56
- setup: !gh ? undefined : function () {
57
- var v3 = !!gh;
57
+ setup: !isV3 ? undefined : function () {
58
+ var v3 = !!isV3;
58
59
  return {
59
60
  v3: v3
60
61
  };
@@ -2,6 +2,7 @@
2
2
  import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
+ var isV3 = allVue.version[0] === '3';
5
6
  import { deleteRow, deleteColumn, selectionCell } from '@progress/kendo-editor-common';
6
7
  /**
7
8
  * @hidden
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { removeLink, hasMark } from '@progress/kendo-editor-common';
36
37
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -58,8 +59,8 @@ var UnlinkVue2 = {
58
59
  }
59
60
  },
60
61
  // @ts-ignore
61
- setup: !gh ? undefined : function () {
62
- var v3 = !!gh;
62
+ setup: !isV3 ? undefined : function () {
63
+ var v3 = !!isV3;
63
64
  return {
64
65
  v3: v3
65
66
  };
@@ -31,6 +31,7 @@ var __rest = this && this.__rest || function (s, e) {
31
31
  import * as Vue from 'vue';
32
32
  var allVue = Vue;
33
33
  var gh = allVue.h;
34
+ var isV3 = allVue.version[0] === '3';
34
35
  import { Button as kbutton } from '@progress/kendo-vue-buttons';
35
36
  import { ViewHtmlDialog } from '../dialogs/viewHtml';
36
37
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -63,8 +64,8 @@ var ViewHtmlVue2 = {
63
64
  };
64
65
  },
65
66
  // @ts-ignore
66
- setup: !gh ? undefined : function () {
67
- var v3 = !!gh;
67
+ setup: !isV3 ? undefined : function () {
68
+ var v3 = !!isV3;
68
69
  return {
69
70
  v3: v3
70
71
  };
@@ -39,6 +39,7 @@ var Vue = require("vue");
39
39
 
40
40
  var allVue = Vue;
41
41
  var gh = allVue.h;
42
+ var isV3 = allVue.version[0] === '3';
42
43
  var markRaw = allVue.markRaw;
43
44
 
44
45
  var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
@@ -330,8 +331,8 @@ var EditorVue2 = {
330
331
  kendo_vue_common_1.validatePackage(package_metadata_1.packageMetadata);
331
332
  },
332
333
  mounted: function mounted() {
333
- this.iframe = this.v3 ? this.iframeRef : this.$refs.iframe;
334
- this.contentElement = this.v3 ? this.contentElementRef : this.$refs.contentElement;
334
+ this.iframe = kendo_vue_common_1.getRef(this, 'iframe');
335
+ this.contentElement = kendo_vue_common_1.getRef(this, 'contentElement');
335
336
 
336
337
  if (!this.iframe || !browser_detection_1.firefox) {
337
338
  this.initialize();
@@ -354,7 +355,7 @@ var EditorVue2 = {
354
355
  this.trOnChange = null;
355
356
  this.htmlOnChange = null;
356
357
  },
357
- destroyed: !!gh ? undefined : function () {
358
+ destroyed: !!isV3 ? undefined : function () {
358
359
  if (this.getView()) {
359
360
  this.getView().destroy();
360
361
  }
@@ -385,16 +386,14 @@ var EditorVue2 = {
385
386
  }
386
387
  },
387
388
  // @ts-ignore
388
- setup: !gh ? undefined : function () {
389
- var v3 = !!gh;
389
+ setup: !isV3 ? undefined : function () {
390
+ var v3 = !!isV3;
390
391
  return {
391
392
  v3: v3
392
393
  };
393
394
  },
394
395
  // @ts-ignore
395
396
  render: function render(createElement) {
396
- var _this = this;
397
-
398
397
  var h = gh || createElement;
399
398
  var toolindex = 100;
400
399
  var _a = this.$props,
@@ -518,12 +517,10 @@ var EditorVue2 = {
518
517
  on: this.v3 ? undefined : {
519
518
  "load": this.iframeLoad
520
519
  },
521
- ref: this.v3 ? function (el) {
522
- _this.iframeRef = el;
523
- } : 'iframe',
524
- frameBorder: "0",
520
+ ref: kendo_vue_common_1.setRef(this, 'iframe'),
521
+ frameborder: "0",
525
522
  attrs: this.v3 ? undefined : {
526
- frameBorder: "0"
523
+ frameborder: "0"
527
524
  },
528
525
  style: contentStyle,
529
526
  "class": "k-iframe"
@@ -531,9 +528,7 @@ var EditorVue2 = {
531
528
  style: contentStyle,
532
529
  "class": "k-editor-content"
533
530
  }, [h("div", {
534
- ref: this.v3 ? function (el) {
535
- _this.contentElementRef = el;
536
- } : 'contentElement'
531
+ ref: kendo_vue_common_1.setRef(this, 'contentElement')
537
532
  })]), renderDialog.call(this)]);
538
533
  },
539
534
  methods: {
@@ -9,6 +9,7 @@ var Vue = require("vue");
9
9
 
10
10
  var allVue = Vue;
11
11
  var gh = allVue.h;
12
+ var isV3 = allVue.version[0] === '3';
12
13
 
13
14
  var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
14
15
 
@@ -114,7 +115,7 @@ var FindAndReplaceDialogVue2 = {
114
115
  view.dispatch(tr);
115
116
  }
116
117
  },
117
- destroyed: !!gh ? undefined : function () {
118
+ destroyed: !!isV3 ? undefined : function () {
118
119
  if (this.$el) {
119
120
  this.$el.remove();
120
121
  }
@@ -126,8 +127,8 @@ var FindAndReplaceDialogVue2 = {
126
127
  }
127
128
  },
128
129
  // @ts-ignore
129
- setup: !gh ? undefined : function () {
130
- var v3 = !!gh;
130
+ setup: !isV3 ? undefined : function () {
131
+ var v3 = !!isV3;
131
132
  return {
132
133
  v3: v3
133
134
  };
@@ -9,6 +9,7 @@ var Vue = require("vue");
9
9
 
10
10
  var allVue = Vue;
11
11
  var gh = allVue.h;
12
+ var isV3 = allVue.version[0] === '3';
12
13
 
13
14
  var kendo_vue_dialogs_1 = require("@progress/kendo-vue-dialogs");
14
15
 
@@ -19,6 +20,8 @@ var kendo_editor_common_1 = require("@progress/kendo-editor-common");
19
20
  var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
20
21
 
21
22
  var messages_1 = require("./../messages");
23
+
24
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
22
25
  /**
23
26
  * @hidden
24
27
  */
@@ -41,27 +44,25 @@ var InsertImageDialogVue2 = {
41
44
  }
42
45
  },
43
46
  mounted: function mounted() {
44
- this.src = this.v3 ? this.srcRef : this.$refs.src;
45
- this.altText = this.v3 ? this.altTextRef : this.$refs.altText;
46
- this.title = this.v3 ? this.titleRef : this.$refs.title;
47
- this.width = this.v3 ? this.widthRef : this.$refs.width;
48
- this.height = this.v3 ? this.heightRef : this.$refs.height;
47
+ this.src = kendo_vue_common_1.getRef(this, 'src');
48
+ this.altText = kendo_vue_common_1.getRef(this, 'altText');
49
+ this.title = kendo_vue_common_1.getRef(this, 'title');
50
+ this.width = kendo_vue_common_1.getRef(this, 'width');
51
+ this.height = kendo_vue_common_1.getRef(this, 'height');
49
52
 
50
53
  if (this.src) {
51
54
  this.src.focus();
52
55
  }
53
56
  },
54
57
  // @ts-ignore
55
- setup: !gh ? undefined : function () {
56
- var v3 = !!gh;
58
+ setup: !isV3 ? undefined : function () {
59
+ var v3 = !!isV3;
57
60
  return {
58
61
  v3: v3
59
62
  };
60
63
  },
61
64
  // @ts-ignore
62
65
  render: function render(createElement) {
63
- var _this2 = this;
64
-
65
66
  var _this = this;
66
67
 
67
68
  var h = gh || createElement;
@@ -111,9 +112,7 @@ var InsertImageDialogVue2 = {
111
112
  domProps: this.v3 ? undefined : {
112
113
  "value": attrs.src
113
114
  },
114
- ref: this.v3 ? function (el) {
115
- _this.srcRef = el;
116
- } : 'src'
115
+ ref: kendo_vue_common_1.setRef(this, 'src')
117
116
  })])]), h("div", {
118
117
  "class": "k-edit-label"
119
118
  }, [h("label", {
@@ -137,9 +136,7 @@ var InsertImageDialogVue2 = {
137
136
  domProps: this.v3 ? undefined : {
138
137
  "value": attrs.alt
139
138
  },
140
- ref: this.v3 ? function (el) {
141
- _this.altTextRef = el;
142
- } : 'altText'
139
+ ref: kendo_vue_common_1.setRef(this, 'altText')
143
140
  })])]), h("div", {
144
141
  "class": "k-edit-label"
145
142
  }, [h("label", {
@@ -163,9 +160,7 @@ var InsertImageDialogVue2 = {
163
160
  domProps: this.v3 ? undefined : {
164
161
  "value": attrs.title
165
162
  },
166
- ref: this.v3 ? function (el) {
167
- _this.titleRef = el;
168
- } : 'title'
163
+ ref: kendo_vue_common_1.setRef(this, 'title')
169
164
  })])]), h("div", {
170
165
  "class": "k-edit-label"
171
166
  }, [h("label", {
@@ -189,9 +184,7 @@ var InsertImageDialogVue2 = {
189
184
  domProps: this.v3 ? undefined : {
190
185
  "value": attrs.width
191
186
  },
192
- ref: this.v3 ? function (el) {
193
- _this.widthRef = el;
194
- } : 'width'
187
+ ref: kendo_vue_common_1.setRef(this, 'width')
195
188
  })])]), h("div", {
196
189
  "class": "k-edit-label"
197
190
  }, [h("label", {
@@ -215,9 +208,7 @@ var InsertImageDialogVue2 = {
215
208
  domProps: this.v3 ? undefined : {
216
209
  "value": attrs.height
217
210
  },
218
- ref: this.v3 ? function (el) {
219
- _this.heightRef = el;
220
- } : 'height'
211
+ ref: kendo_vue_common_1.setRef(this, 'height')
221
212
  })])])]);
222
213
  var actionButtons = [// @ts-ignore function children
223
214
  h(kendo_vue_buttons_1.Button, {
@@ -272,10 +263,10 @@ var InsertImageDialogVue2 = {
272
263
  } : undefined
273
264
  }, this.v3 ? function () {
274
265
  return [content, // @ts-ignore function children
275
- h(kendo_vue_dialogs_1.DialogActionsBar, _this2.v3 ? function () {
266
+ h(kendo_vue_dialogs_1.DialogActionsBar, _this.v3 ? function () {
276
267
  return [actionButtons];
277
268
  } : [actionButtons])];
278
- } : [content, h(kendo_vue_dialogs_1.DialogActionsBar, _this2.v3 ? function () {
269
+ } : [content, h(kendo_vue_dialogs_1.DialogActionsBar, _this.v3 ? function () {
279
270
  return [actionButtons];
280
271
  } : [actionButtons])]);
281
272
  return dialog;