@progress/kendo-vue-editor 2.7.2 → 2.8.0-dev.202201121019

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 (120) hide show
  1. package/dist/cdn/js/kendo-vue-editor.js +1 -0
  2. package/dist/es/Editor.d.ts +49 -131
  3. package/dist/es/Editor.js +66 -37
  4. package/dist/es/EditorProps.d.ts +11 -5
  5. package/dist/es/additionalTypes.ts +7 -1
  6. package/dist/es/config/toolsSettings.js +2 -2
  7. package/dist/es/dialogs/FindReplace.d.ts +5 -6
  8. package/dist/es/dialogs/FindReplace.js +103 -57
  9. package/dist/es/dialogs/insertImage.d.ts +5 -6
  10. package/dist/es/dialogs/insertImage.js +23 -13
  11. package/dist/es/dialogs/insertLink.d.ts +5 -6
  12. package/dist/es/dialogs/insertLink.js +12 -8
  13. package/dist/es/dialogs/viewHtml.d.ts +5 -6
  14. package/dist/es/dialogs/viewHtml.js +3 -3
  15. package/dist/es/package-metadata.js +1 -1
  16. package/dist/es/tools/align.d.ts +36 -0
  17. package/dist/es/tools/{Align.js → align.js} +3 -3
  18. package/dist/es/tools/applyColor.d.ts +5 -6
  19. package/dist/es/tools/applyColor.js +3 -3
  20. package/dist/es/tools/cleanFormatting.d.ts +5 -6
  21. package/dist/es/tools/cleanFormatting.js +3 -3
  22. package/dist/es/tools/findReplace.d.ts +5 -6
  23. package/dist/es/tools/findReplace.js +3 -3
  24. package/dist/es/tools/fontStyle.d.ts +5 -6
  25. package/dist/es/tools/fontStyle.js +12 -7
  26. package/dist/es/tools/formatBlock.d.ts +5 -6
  27. package/dist/es/tools/formatBlock.js +11 -6
  28. package/dist/es/tools/indent.d.ts +41 -0
  29. package/dist/es/tools/{Indent.js → indent.js} +3 -3
  30. package/dist/{npm/tools/InlineFormat.d.ts → es/tools/inlineFormat.d.ts} +5 -6
  31. package/dist/es/tools/{InlineFormat.js → inlineFormat.js} +3 -3
  32. package/dist/es/tools/insertImage.d.ts +5 -6
  33. package/dist/es/tools/insertImage.js +3 -3
  34. package/dist/es/tools/insertLink.d.ts +5 -6
  35. package/dist/es/tools/insertLink.js +3 -3
  36. package/dist/es/tools/insertTable/popup.d.ts +5 -6
  37. package/dist/es/tools/insertTable/popup.js +3 -3
  38. package/dist/es/tools/insertTable/popupGrid.d.ts +5 -6
  39. package/dist/es/tools/insertTable/popupGrid.js +3 -3
  40. package/dist/es/tools/insertTable/tool.d.ts +5 -6
  41. package/dist/es/tools/insertTable/tool.js +3 -3
  42. package/dist/es/tools/lists.d.ts +5 -6
  43. package/dist/es/tools/lists.js +3 -3
  44. package/dist/es/tools/outdent.d.ts +41 -0
  45. package/dist/es/tools/{Outdent.js → outdent.js} +3 -3
  46. package/dist/es/tools/pdf.d.ts +5 -6
  47. package/dist/es/tools/pdf.js +3 -3
  48. package/dist/es/tools/print.d.ts +5 -6
  49. package/dist/es/tools/print.js +3 -3
  50. package/dist/es/tools/proseMirrorTool.d.ts +5 -6
  51. package/dist/es/tools/proseMirrorTool.js +3 -3
  52. package/dist/es/tools/selectAll.d.ts +5 -6
  53. package/dist/es/tools/selectAll.js +3 -3
  54. package/dist/es/tools/unlink.d.ts +5 -6
  55. package/dist/es/tools/unlink.js +3 -3
  56. package/dist/es/tools/viewHtml.d.ts +5 -6
  57. package/dist/es/tools/viewHtml.js +3 -3
  58. package/dist/npm/Editor.d.ts +49 -131
  59. package/dist/npm/Editor.js +81 -52
  60. package/dist/npm/EditorProps.d.ts +11 -5
  61. package/dist/npm/additionalTypes.ts +7 -1
  62. package/dist/npm/config/toolsSettings.js +1 -1
  63. package/dist/npm/dialogs/FindReplace.d.ts +5 -6
  64. package/dist/npm/dialogs/FindReplace.js +106 -59
  65. package/dist/npm/dialogs/insertImage.d.ts +5 -6
  66. package/dist/npm/dialogs/insertImage.js +25 -15
  67. package/dist/npm/dialogs/insertLink.d.ts +5 -6
  68. package/dist/npm/dialogs/insertLink.js +14 -10
  69. package/dist/npm/dialogs/viewHtml.d.ts +5 -6
  70. package/dist/npm/dialogs/viewHtml.js +5 -5
  71. package/dist/npm/package-metadata.js +1 -1
  72. package/dist/npm/tools/align.d.ts +36 -0
  73. package/dist/npm/tools/{Align.js → align.js} +5 -5
  74. package/dist/npm/tools/applyColor.d.ts +5 -6
  75. package/dist/npm/tools/applyColor.js +5 -5
  76. package/dist/npm/tools/cleanFormatting.d.ts +5 -6
  77. package/dist/npm/tools/cleanFormatting.js +5 -5
  78. package/dist/npm/tools/findReplace.d.ts +5 -6
  79. package/dist/npm/tools/findReplace.js +5 -5
  80. package/dist/npm/tools/fontStyle.d.ts +5 -6
  81. package/dist/npm/tools/fontStyle.js +14 -9
  82. package/dist/npm/tools/formatBlock.d.ts +5 -6
  83. package/dist/npm/tools/formatBlock.js +13 -8
  84. package/dist/npm/tools/indent.d.ts +41 -0
  85. package/dist/npm/tools/{Indent.js → indent.js} +5 -5
  86. package/dist/{es/tools/InlineFormat.d.ts → npm/tools/inlineFormat.d.ts} +5 -6
  87. package/dist/npm/tools/{InlineFormat.js → inlineFormat.js} +5 -5
  88. package/dist/npm/tools/insertImage.d.ts +5 -6
  89. package/dist/npm/tools/insertImage.js +5 -5
  90. package/dist/npm/tools/insertLink.d.ts +5 -6
  91. package/dist/npm/tools/insertLink.js +5 -5
  92. package/dist/npm/tools/insertTable/popup.d.ts +5 -6
  93. package/dist/npm/tools/insertTable/popup.js +5 -5
  94. package/dist/npm/tools/insertTable/popupGrid.d.ts +5 -6
  95. package/dist/npm/tools/insertTable/popupGrid.js +5 -5
  96. package/dist/npm/tools/insertTable/tool.d.ts +5 -6
  97. package/dist/npm/tools/insertTable/tool.js +5 -5
  98. package/dist/npm/tools/lists.d.ts +5 -6
  99. package/dist/npm/tools/lists.js +5 -5
  100. package/dist/npm/tools/outdent.d.ts +41 -0
  101. package/dist/npm/tools/{Outdent.js → outdent.js} +5 -5
  102. package/dist/npm/tools/pdf.d.ts +5 -6
  103. package/dist/npm/tools/pdf.js +5 -5
  104. package/dist/npm/tools/print.d.ts +5 -6
  105. package/dist/npm/tools/print.js +5 -5
  106. package/dist/npm/tools/proseMirrorTool.d.ts +5 -6
  107. package/dist/npm/tools/proseMirrorTool.js +5 -5
  108. package/dist/npm/tools/selectAll.d.ts +5 -6
  109. package/dist/npm/tools/selectAll.js +5 -5
  110. package/dist/npm/tools/unlink.d.ts +5 -6
  111. package/dist/npm/tools/unlink.js +5 -5
  112. package/dist/npm/tools/viewHtml.d.ts +5 -6
  113. package/dist/npm/tools/viewHtml.js +5 -5
  114. package/package.json +12 -12
  115. package/dist/es/tools/Align.d.ts +0 -37
  116. package/dist/es/tools/Indent.d.ts +0 -42
  117. package/dist/es/tools/Outdent.d.ts +0 -42
  118. package/dist/npm/tools/Align.d.ts +0 -37
  119. package/dist/npm/tools/Indent.d.ts +0 -42
  120. package/dist/npm/tools/Outdent.d.ts +0 -42
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -58,8 +57,8 @@ export interface FindAndReplaceDialogState {
58
57
  /**
59
58
  * @hidden
60
59
  */
61
- export interface FindAndReplaceDialogAll extends Vue, FindAndReplaceDialogMethods, FindAndReplaceDialogData, FindAndReplaceDialogComputed, FindAndReplaceDialogState {
60
+ export interface FindAndReplaceDialogAll extends Vue2type, FindAndReplaceDialogMethods, FindAndReplaceDialogData, FindAndReplaceDialogComputed, FindAndReplaceDialogState {
62
61
  }
63
- declare let FindAndReplaceDialog: ComponentOptions<FindAndReplaceDialogAll, DefaultData<FindAndReplaceDialogData>, DefaultMethods<FindAndReplaceDialogAll>, FindAndReplaceDialogComputed, RecordPropsDefinition<FindAndReplaceDialogProps>>;
64
- declare const FindAndReplaceDialogVue3: DefineComponent<FindAndReplaceDialogProps, any, FindAndReplaceDialogData, FindAndReplaceDialogComputed, FindAndReplaceDialogMethods, {}, {}, {}, string, FindAndReplaceDialogProps, FindAndReplaceDialogProps, {}>;
65
- export { FindAndReplaceDialog, FindAndReplaceDialogVue3 };
62
+ declare let FindAndReplaceDialogVue2: ComponentOptions<FindAndReplaceDialogAll, DefaultData<FindAndReplaceDialogData>, DefaultMethods<FindAndReplaceDialogAll>, FindAndReplaceDialogComputed, RecordPropsDefinition<FindAndReplaceDialogProps>>;
63
+ declare const FindAndReplaceDialog: DefineComponent<FindAndReplaceDialogProps, any, FindAndReplaceDialogData, FindAndReplaceDialogComputed, FindAndReplaceDialogMethods, {}, {}, {}, string, FindAndReplaceDialogProps, FindAndReplaceDialogProps, {}>;
64
+ export { FindAndReplaceDialog, FindAndReplaceDialogVue2 };
@@ -2,6 +2,7 @@
2
2
  import * as Vue from 'vue';
3
3
  var allVue = Vue;
4
4
  var gh = allVue.h;
5
+ import { Button } from '@progress/kendo-vue-buttons';
5
6
  import { Window } from '@progress/kendo-vue-dialogs';
6
7
  import { TabStrip, TabStripTab } from '@progress/kendo-vue-layout';
7
8
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -13,7 +14,7 @@ var enter = 13,
13
14
  esc = 27;
14
15
  var settings = EditorToolsSettings.findAndReplace; // tslint:enable:max-line-length
15
16
 
16
- var FindAndReplaceDialog = {
17
+ var FindAndReplaceDialogVue2 = {
17
18
  name: 'KendoFindAndReplaceDialog',
18
19
  props: {
19
20
  view: Object,
@@ -30,6 +31,9 @@ var FindAndReplaceDialog = {
30
31
  default: null
31
32
  }
32
33
  },
34
+ created: function created() {
35
+ this.matches = undefined;
36
+ },
33
37
  data: function data() {
34
38
  return {
35
39
  selectedTab: 0,
@@ -134,7 +138,7 @@ var FindAndReplaceDialog = {
134
138
  var checkboxes = h("div", {
135
139
  "class": "k-search-options"
136
140
  }, [h("span", [h("input", {
137
- "class": "k-checkbox",
141
+ "class": "k-checkbox k-checkbox-md k-rounded-md",
138
142
  type: "checkbox",
139
143
  attrs: this.v3 ? undefined : {
140
144
  type: "checkbox",
@@ -156,7 +160,7 @@ var FindAndReplaceDialog = {
156
160
  },
157
161
  "class": "k-checkbox-label"
158
162
  }, [localization.toLanguageString(findReplaceMatchCase, messages[findReplaceMatchCase])])]), h("span", [h("input", {
159
- "class": "k-checkbox",
163
+ "class": "k-checkbox k-checkbox-md k-rounded-md",
160
164
  type: "checkbox",
161
165
  attrs: this.v3 ? undefined : {
162
166
  type: "checkbox",
@@ -178,7 +182,7 @@ var FindAndReplaceDialog = {
178
182
  },
179
183
  "class": "k-checkbox-label"
180
184
  }, [localization.toLanguageString(findReplaceMatchWord, messages[findReplaceMatchWord])])]), h("span", [h("input", {
181
- "class": "k-checkbox",
185
+ "class": "k-checkbox k-checkbox-md k-rounded-md",
182
186
  type: "checkbox",
183
187
  attrs: this.v3 ? undefined : {
184
188
  type: "checkbox",
@@ -200,7 +204,7 @@ var FindAndReplaceDialog = {
200
204
  },
201
205
  "class": "k-checkbox-label"
202
206
  }, [localization.toLanguageString(findReplaceMatchCyclic, messages[findReplaceMatchCyclic])])]), h("span", [h("input", {
203
- "class": "k-checkbox",
207
+ "class": "k-checkbox k-checkbox-md k-rounded-md",
204
208
  type: "checkbox",
205
209
  attrs: this.v3 ? undefined : {
206
210
  type: "checkbox",
@@ -224,21 +228,41 @@ var FindAndReplaceDialog = {
224
228
  }, [localization.toLanguageString(findReplaceUseRegExp, messages[findReplaceUseRegExp])])])]);
225
229
  var navigation = h("div", {
226
230
  "class": "k-matches-container"
227
- }, [h("button", {
228
- "class": "k-button k-flat k-primary",
231
+ }, [// @ts-ignore function children
232
+ h(Button, {
233
+ fillMode: 'flat',
234
+ attrs: this.v3 ? undefined : {
235
+ fillMode: 'flat',
236
+ themeColor: 'primary'
237
+ },
238
+ themeColor: 'primary',
229
239
  onClick: this.onFindPrev,
230
240
  on: this.v3 ? undefined : {
231
241
  "click": this.onFindPrev
232
242
  }
233
- }, [h("span", {
243
+ }, this.v3 ? function () {
244
+ return [h("span", {
245
+ "class": "k-icon k-i-arrow-chevron-left"
246
+ }), localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])];
247
+ } : [h("span", {
234
248
  "class": "k-icon k-i-arrow-chevron-left"
235
- }), localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])]), h("span", [this.matchesMessage(localization.toLanguageString(findReplaceMatches, messages[findReplaceMatches]))]), h("button", {
236
- "class": "k-button k-flat k-primary",
249
+ }), localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])]), h("span", [this.matchesMessage(localization.toLanguageString(findReplaceMatches, messages[findReplaceMatches]))]), // @ts-ignore function children
250
+ h(Button, {
251
+ fillMode: 'flat',
252
+ attrs: this.v3 ? undefined : {
253
+ fillMode: 'flat',
254
+ themeColor: 'primary'
255
+ },
256
+ themeColor: 'primary',
237
257
  onClick: this.onFindNext,
238
258
  on: this.v3 ? undefined : {
239
259
  "click": this.onFindNext
240
260
  }
241
- }, [localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]), h("span", {
261
+ }, this.v3 ? function () {
262
+ return [localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]), h("span", {
263
+ "class": "k-icon k-i-arrow-chevron-right"
264
+ })];
265
+ } : [localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]), h("span", {
242
266
  "class": "k-icon k-i-arrow-chevron-right"
243
267
  })])]);
244
268
  var findWhatLabel = h("div", {
@@ -251,6 +275,8 @@ var FindAndReplaceDialog = {
251
275
  }, [localization.toLanguageString(findReplaceFindWhat, messages[findReplaceFindWhat])])]);
252
276
  var findWhat = h("div", {
253
277
  "class": "k-edit-field"
278
+ }, [h("span", {
279
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
254
280
  }, [h("input", {
255
281
  id: "findWhat",
256
282
  attrs: this.v3 ? undefined : {
@@ -259,7 +285,7 @@ var FindAndReplaceDialog = {
259
285
  autoFocus: true
260
286
  },
261
287
  type: "text",
262
- "class": "k-textbox",
288
+ "class": "k-input-inner",
263
289
  value: this.v3 ? searchText : null,
264
290
  domProps: this.v3 ? undefined : {
265
291
  "value": searchText
@@ -273,7 +299,7 @@ var FindAndReplaceDialog = {
273
299
  onFocus: this.onSearchChange,
274
300
  onKeydown: this.onKeyDown,
275
301
  autoFocus: true
276
- })]);
302
+ })])]);
277
303
  var replaceWithLabel = h("div", {
278
304
  "class": "k-edit-label"
279
305
  }, [h("label", {
@@ -284,13 +310,15 @@ var FindAndReplaceDialog = {
284
310
  }, [localization.toLanguageString(findReplaceReplaceWith, messages[findReplaceReplaceWith])])]);
285
311
  var replaceWith = h("div", {
286
312
  "class": "k-edit-field"
313
+ }, [h("span", {
314
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
287
315
  }, [h("input", {
288
316
  id: "replaceWith",
289
317
  attrs: this.v3 ? undefined : {
290
318
  id: "replaceWith",
291
319
  type: "text"
292
320
  },
293
- "class": "k-textbox",
321
+ "class": "k-input-inner",
294
322
  type: "text",
295
323
  value: this.v3 ? replaceText : null,
296
324
  domProps: this.v3 ? undefined : {
@@ -300,7 +328,7 @@ var FindAndReplaceDialog = {
300
328
  on: this.v3 ? undefined : {
301
329
  "input": this.onReplaceChange
302
330
  }
303
- })]);
331
+ })])]);
304
332
  return (// @ts-ignore function children
305
333
  h(Window, {
306
334
  title: localization.toLanguageString(findReplaceDialogTitle, messages[findReplaceDialogTitle]),
@@ -373,8 +401,8 @@ var FindAndReplaceDialog = {
373
401
  "class": "k-edit-form-container"
374
402
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
375
403
  "class": "k-actions k-hstack k-justify-content-end"
376
- }, [h("button", {
377
- "class": "k-button",
404
+ }, [// @ts-ignore function children
405
+ h(Button, {
378
406
  disabled: !Boolean(nextMatch),
379
407
  attrs: _this.v3 ? undefined : {
380
408
  disabled: !Boolean(nextMatch)
@@ -383,8 +411,10 @@ var FindAndReplaceDialog = {
383
411
  on: _this.v3 ? undefined : {
384
412
  "click": _this.onReplace
385
413
  }
386
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
387
- "class": "k-button",
414
+ }, _this.v3 ? function () {
415
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
416
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), // @ts-ignore function children
417
+ h(Button, {
388
418
  disabled: !Boolean(nextMatch),
389
419
  attrs: _this.v3 ? undefined : {
390
420
  disabled: !Boolean(nextMatch)
@@ -393,13 +423,14 @@ var FindAndReplaceDialog = {
393
423
  on: _this.v3 ? undefined : {
394
424
  "click": _this.onReplaceAll
395
425
  }
396
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
426
+ }, _this.v3 ? function () {
427
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
428
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
397
429
  } : [h("div", {
398
430
  "class": "k-edit-form-container"
399
431
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
400
432
  "class": "k-actions k-hstack k-justify-content-end"
401
- }, [h("button", {
402
- "class": "k-button",
433
+ }, [h(Button, {
403
434
  disabled: !Boolean(nextMatch),
404
435
  attrs: _this.v3 ? undefined : {
405
436
  disabled: !Boolean(nextMatch)
@@ -408,8 +439,9 @@ var FindAndReplaceDialog = {
408
439
  on: _this.v3 ? undefined : {
409
440
  "click": _this.onReplace
410
441
  }
411
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
412
- "class": "k-button",
442
+ }, _this.v3 ? function () {
443
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
444
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
413
445
  disabled: !Boolean(nextMatch),
414
446
  attrs: _this.v3 ? undefined : {
415
447
  disabled: !Boolean(nextMatch)
@@ -418,7 +450,9 @@ var FindAndReplaceDialog = {
418
450
  on: _this.v3 ? undefined : {
419
451
  "click": _this.onReplaceAll
420
452
  }
421
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
453
+ }, _this.v3 ? function () {
454
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
455
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
422
456
  } : [h(TabStripTab, {
423
457
  title: localization.toLanguageString(findReplaceTabFind, messages[findReplaceTabFind]),
424
458
  attrs: _this.v3 ? undefined : {
@@ -440,8 +474,7 @@ var FindAndReplaceDialog = {
440
474
  "class": "k-edit-form-container"
441
475
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
442
476
  "class": "k-actions k-hstack k-justify-content-end"
443
- }, [h("button", {
444
- "class": "k-button",
477
+ }, [h(Button, {
445
478
  disabled: !Boolean(nextMatch),
446
479
  attrs: _this.v3 ? undefined : {
447
480
  disabled: !Boolean(nextMatch)
@@ -450,8 +483,9 @@ var FindAndReplaceDialog = {
450
483
  on: _this.v3 ? undefined : {
451
484
  "click": _this.onReplace
452
485
  }
453
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
454
- "class": "k-button",
486
+ }, _this.v3 ? function () {
487
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
488
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
455
489
  disabled: !Boolean(nextMatch),
456
490
  attrs: _this.v3 ? undefined : {
457
491
  disabled: !Boolean(nextMatch)
@@ -460,13 +494,14 @@ var FindAndReplaceDialog = {
460
494
  on: _this.v3 ? undefined : {
461
495
  "click": _this.onReplaceAll
462
496
  }
463
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
497
+ }, _this.v3 ? function () {
498
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
499
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
464
500
  } : [h("div", {
465
501
  "class": "k-edit-form-container"
466
502
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
467
503
  "class": "k-actions k-hstack k-justify-content-end"
468
- }, [h("button", {
469
- "class": "k-button",
504
+ }, [h(Button, {
470
505
  disabled: !Boolean(nextMatch),
471
506
  attrs: _this.v3 ? undefined : {
472
507
  disabled: !Boolean(nextMatch)
@@ -475,8 +510,9 @@ var FindAndReplaceDialog = {
475
510
  on: _this.v3 ? undefined : {
476
511
  "click": _this.onReplace
477
512
  }
478
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
479
- "class": "k-button",
513
+ }, _this.v3 ? function () {
514
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
515
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
480
516
  disabled: !Boolean(nextMatch),
481
517
  attrs: _this.v3 ? undefined : {
482
518
  disabled: !Boolean(nextMatch)
@@ -485,7 +521,9 @@ var FindAndReplaceDialog = {
485
521
  on: _this.v3 ? undefined : {
486
522
  "click": _this.onReplaceAll
487
523
  }
488
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])])];
524
+ }, _this.v3 ? function () {
525
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
526
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])])];
489
527
  } : [h(TabStrip, {
490
528
  selected: _this.selectedTab,
491
529
  attrs: _this.v3 ? undefined : {
@@ -520,8 +558,7 @@ var FindAndReplaceDialog = {
520
558
  "class": "k-edit-form-container"
521
559
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
522
560
  "class": "k-actions k-hstack k-justify-content-end"
523
- }, [h("button", {
524
- "class": "k-button",
561
+ }, [h(Button, {
525
562
  disabled: !Boolean(nextMatch),
526
563
  attrs: _this.v3 ? undefined : {
527
564
  disabled: !Boolean(nextMatch)
@@ -530,8 +567,9 @@ var FindAndReplaceDialog = {
530
567
  on: _this.v3 ? undefined : {
531
568
  "click": _this.onReplace
532
569
  }
533
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
534
- "class": "k-button",
570
+ }, _this.v3 ? function () {
571
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
572
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
535
573
  disabled: !Boolean(nextMatch),
536
574
  attrs: _this.v3 ? undefined : {
537
575
  disabled: !Boolean(nextMatch)
@@ -540,13 +578,14 @@ var FindAndReplaceDialog = {
540
578
  on: _this.v3 ? undefined : {
541
579
  "click": _this.onReplaceAll
542
580
  }
543
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
581
+ }, _this.v3 ? function () {
582
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
583
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
544
584
  } : [h("div", {
545
585
  "class": "k-edit-form-container"
546
586
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
547
587
  "class": "k-actions k-hstack k-justify-content-end"
548
- }, [h("button", {
549
- "class": "k-button",
588
+ }, [h(Button, {
550
589
  disabled: !Boolean(nextMatch),
551
590
  attrs: _this.v3 ? undefined : {
552
591
  disabled: !Boolean(nextMatch)
@@ -555,8 +594,9 @@ var FindAndReplaceDialog = {
555
594
  on: _this.v3 ? undefined : {
556
595
  "click": _this.onReplace
557
596
  }
558
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
559
- "class": "k-button",
597
+ }, _this.v3 ? function () {
598
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
599
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
560
600
  disabled: !Boolean(nextMatch),
561
601
  attrs: _this.v3 ? undefined : {
562
602
  disabled: !Boolean(nextMatch)
@@ -565,7 +605,9 @@ var FindAndReplaceDialog = {
565
605
  on: _this.v3 ? undefined : {
566
606
  "click": _this.onReplaceAll
567
607
  }
568
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
608
+ }, _this.v3 ? function () {
609
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
610
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])];
569
611
  } : [h(TabStripTab, {
570
612
  title: localization.toLanguageString(findReplaceTabFind, messages[findReplaceTabFind]),
571
613
  attrs: _this.v3 ? undefined : {
@@ -587,8 +629,7 @@ var FindAndReplaceDialog = {
587
629
  "class": "k-edit-form-container"
588
630
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
589
631
  "class": "k-actions k-hstack k-justify-content-end"
590
- }, [h("button", {
591
- "class": "k-button",
632
+ }, [h(Button, {
592
633
  disabled: !Boolean(nextMatch),
593
634
  attrs: _this.v3 ? undefined : {
594
635
  disabled: !Boolean(nextMatch)
@@ -597,8 +638,9 @@ var FindAndReplaceDialog = {
597
638
  on: _this.v3 ? undefined : {
598
639
  "click": _this.onReplace
599
640
  }
600
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
601
- "class": "k-button",
641
+ }, _this.v3 ? function () {
642
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
643
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
602
644
  disabled: !Boolean(nextMatch),
603
645
  attrs: _this.v3 ? undefined : {
604
646
  disabled: !Boolean(nextMatch)
@@ -607,13 +649,14 @@ var FindAndReplaceDialog = {
607
649
  on: _this.v3 ? undefined : {
608
650
  "click": _this.onReplaceAll
609
651
  }
610
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
652
+ }, _this.v3 ? function () {
653
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
654
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation];
611
655
  } : [h("div", {
612
656
  "class": "k-edit-form-container"
613
657
  }, [findWhatLabel, findWhat, replaceWithLabel, replaceWith]), h("div", {
614
658
  "class": "k-actions k-hstack k-justify-content-end"
615
- }, [h("button", {
616
- "class": "k-button",
659
+ }, [h(Button, {
617
660
  disabled: !Boolean(nextMatch),
618
661
  attrs: _this.v3 ? undefined : {
619
662
  disabled: !Boolean(nextMatch)
@@ -622,8 +665,9 @@ var FindAndReplaceDialog = {
622
665
  on: _this.v3 ? undefined : {
623
666
  "click": _this.onReplace
624
667
  }
625
- }, [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h("button", {
626
- "class": "k-button",
668
+ }, _this.v3 ? function () {
669
+ return [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])];
670
+ } : [localization.toLanguageString(findReplaceReplace, messages[findReplaceReplace])]), h(Button, {
627
671
  disabled: !Boolean(nextMatch),
628
672
  attrs: _this.v3 ? undefined : {
629
673
  disabled: !Boolean(nextMatch)
@@ -632,7 +676,9 @@ var FindAndReplaceDialog = {
632
676
  on: _this.v3 ? undefined : {
633
677
  "click": _this.onReplaceAll
634
678
  }
635
- }, [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])])])
679
+ }, _this.v3 ? function () {
680
+ return [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])];
681
+ } : [localization.toLanguageString(findReplaceReplaceAll, messages[findReplaceReplaceAll])])]), checkboxes, navigation])])])
636
682
  ); // document.body);
637
683
  },
638
684
  methods: {
@@ -785,5 +831,5 @@ var FindAndReplaceDialog = {
785
831
  }
786
832
  }
787
833
  };
788
- var FindAndReplaceDialogVue3 = FindAndReplaceDialog;
789
- export { FindAndReplaceDialog, FindAndReplaceDialogVue3 };
834
+ var FindAndReplaceDialog = FindAndReplaceDialogVue2;
835
+ export { FindAndReplaceDialog, FindAndReplaceDialogVue2 };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -45,8 +44,8 @@ export interface InsertImageDialogData {
45
44
  /**
46
45
  * @hidden
47
46
  */
48
- export interface InsertImageDialogAll extends Vue, InsertImageDialogMethods, InsertImageDialogData, InsertImageDialogComputed, InsertImageDialogState {
47
+ export interface InsertImageDialogAll extends Vue2type, InsertImageDialogMethods, InsertImageDialogData, InsertImageDialogComputed, InsertImageDialogState {
49
48
  }
50
- declare let InsertImageDialog: ComponentOptions<InsertImageDialogAll, DefaultData<InsertImageDialogData>, DefaultMethods<InsertImageDialogAll>, InsertImageDialogComputed, RecordPropsDefinition<InsertImageDialogProps>>;
51
- declare const InsertImageDialogVue3: DefineComponent<InsertImageDialogProps, any, InsertImageDialogData, InsertImageDialogComputed, InsertImageDialogMethods, {}, {}, {}, string, InsertImageDialogProps, InsertImageDialogProps, {}>;
52
- export { InsertImageDialog, InsertImageDialogVue3 };
49
+ declare let InsertImageDialogVue2: ComponentOptions<InsertImageDialogAll, DefaultData<InsertImageDialogData>, DefaultMethods<InsertImageDialogAll>, InsertImageDialogComputed, RecordPropsDefinition<InsertImageDialogProps>>;
50
+ declare const InsertImageDialog: DefineComponent<InsertImageDialogProps, any, InsertImageDialogData, InsertImageDialogComputed, InsertImageDialogMethods, {}, {}, {}, string, InsertImageDialogProps, InsertImageDialogProps, {}>;
51
+ export { InsertImageDialog, InsertImageDialogVue2 };
@@ -8,7 +8,7 @@ import { NodeSelection, insertNode } from '@progress/kendo-editor-common';
8
8
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
9
9
  import { messages } from './../messages'; // tslint:enable:max-line-length
10
10
 
11
- var InsertImageDialog = {
11
+ var InsertImageDialogVue2 = {
12
12
  name: 'KendoInsertImageDialog',
13
13
  props: {
14
14
  view: Object,
@@ -73,6 +73,8 @@ var InsertImageDialog = {
73
73
  }
74
74
  }, [localization.toLanguageString(insertImageAddress, messages[insertImageAddress])])]), h("div", {
75
75
  "class": "k-edit-field"
76
+ }, [h("span", {
77
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
76
78
  }, [h("input", {
77
79
  type: "text",
78
80
  attrs: this.v3 ? undefined : {
@@ -80,7 +82,7 @@ var InsertImageDialog = {
80
82
  id: "k-editor-image-url",
81
83
  autoFocus: true
82
84
  },
83
- "class": "k-textbox",
85
+ "class": "k-input-inner",
84
86
  id: "k-editor-image-url",
85
87
  value: this.v3 ? attrs.src : null,
86
88
  domProps: this.v3 ? undefined : {
@@ -90,7 +92,7 @@ var InsertImageDialog = {
90
92
  _this.srcRef = el;
91
93
  } : 'src',
92
94
  autoFocus: true
93
- })]), h("div", {
95
+ })])]), h("div", {
94
96
  "class": "k-edit-label"
95
97
  }, [h("label", {
96
98
  "for": "k-editor-image-alt",
@@ -99,13 +101,15 @@ var InsertImageDialog = {
99
101
  }
100
102
  }, [localization.toLanguageString(insertImageAltText, messages[insertImageAltText])])]), h("div", {
101
103
  "class": "k-edit-field"
104
+ }, [h("span", {
105
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
102
106
  }, [h("input", {
103
107
  type: "text",
104
108
  attrs: this.v3 ? undefined : {
105
109
  type: "text",
106
110
  id: "k-editor-image-alt"
107
111
  },
108
- "class": "k-textbox",
112
+ "class": "k-input-inner",
109
113
  id: "k-editor-image-alt",
110
114
  value: this.v3 ? attrs.alt : null,
111
115
  domProps: this.v3 ? undefined : {
@@ -114,7 +118,7 @@ var InsertImageDialog = {
114
118
  ref: this.v3 ? function (el) {
115
119
  _this.altTextRef = el;
116
120
  } : 'altText'
117
- })]), h("div", {
121
+ })])]), h("div", {
118
122
  "class": "k-edit-label"
119
123
  }, [h("label", {
120
124
  "for": "k-editor-image-title",
@@ -123,13 +127,15 @@ var InsertImageDialog = {
123
127
  }
124
128
  }, [localization.toLanguageString(insertImageTitle, messages[insertImageTitle])])]), h("div", {
125
129
  "class": "k-edit-field"
130
+ }, [h("span", {
131
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
126
132
  }, [h("input", {
127
133
  type: "text",
128
134
  attrs: this.v3 ? undefined : {
129
135
  type: "text",
130
136
  id: "k-editor-image-title"
131
137
  },
132
- "class": "k-textbox",
138
+ "class": "k-input-inner",
133
139
  id: "k-editor-image-title",
134
140
  value: this.v3 ? attrs.title : null,
135
141
  domProps: this.v3 ? undefined : {
@@ -138,7 +144,7 @@ var InsertImageDialog = {
138
144
  ref: this.v3 ? function (el) {
139
145
  _this.titleRef = el;
140
146
  } : 'title'
141
- })]), h("div", {
147
+ })])]), h("div", {
142
148
  "class": "k-edit-label"
143
149
  }, [h("label", {
144
150
  "for": "k-editor-image-width",
@@ -147,13 +153,15 @@ var InsertImageDialog = {
147
153
  }
148
154
  }, [localization.toLanguageString(insertImageWidth, messages[insertImageWidth])])]), h("div", {
149
155
  "class": "k-edit-field"
156
+ }, [h("span", {
157
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
150
158
  }, [h("input", {
151
159
  type: "text",
152
160
  attrs: this.v3 ? undefined : {
153
161
  type: "text",
154
162
  id: "k-editor-image-width"
155
163
  },
156
- "class": "k-textbox",
164
+ "class": "k-input-inner",
157
165
  id: "k-editor-image-width",
158
166
  value: this.v3 ? attrs.width : null,
159
167
  domProps: this.v3 ? undefined : {
@@ -162,7 +170,7 @@ var InsertImageDialog = {
162
170
  ref: this.v3 ? function (el) {
163
171
  _this.widthRef = el;
164
172
  } : 'width'
165
- })]), h("div", {
173
+ })])]), h("div", {
166
174
  "class": "k-edit-label"
167
175
  }, [h("label", {
168
176
  "for": "k-editor-image-height",
@@ -171,13 +179,15 @@ var InsertImageDialog = {
171
179
  }
172
180
  }, [localization.toLanguageString(insertImageHeight, messages[insertImageHeight])])]), h("div", {
173
181
  "class": "k-edit-field"
182
+ }, [h("span", {
183
+ "class": "k-textbox k-input k-input-md k-rounded-md k-input-solid"
174
184
  }, [h("input", {
175
185
  type: "text",
176
186
  attrs: this.v3 ? undefined : {
177
187
  type: "text",
178
188
  id: "k-editor-image-height"
179
189
  },
180
- "class": "k-textbox",
190
+ "class": "k-input-inner",
181
191
  id: "k-editor-image-height",
182
192
  value: this.v3 ? attrs.height : null,
183
193
  domProps: this.v3 ? undefined : {
@@ -186,7 +196,7 @@ var InsertImageDialog = {
186
196
  ref: this.v3 ? function (el) {
187
197
  _this.heightRef = el;
188
198
  } : 'height'
189
- })])]);
199
+ })])])]);
190
200
  var actionButtons = [// @ts-ignore function children
191
201
  h(KButton, {
192
202
  onClick: this.onClose,
@@ -278,5 +288,5 @@ var InsertImageDialog = {
278
288
  }
279
289
  }
280
290
  };
281
- var InsertImageDialogVue3 = InsertImageDialog;
282
- export { InsertImageDialog, InsertImageDialogVue3 };
291
+ var InsertImageDialog = InsertImageDialogVue2;
292
+ export { InsertImageDialog, InsertImageDialogVue2 };
@@ -1,5 +1,4 @@
1
- import { DefineComponent } from '../additionalTypes';
2
- import { RecordPropsDefinition, ComponentOptions } from 'vue/types/options';
1
+ import { DefineComponent, RecordPropsDefinition, ComponentOptions, Vue2type } from '../additionalTypes';
3
2
  declare type DefaultData<V> = object | ((this: V) => {});
4
3
  declare type DefaultMethods<V> = {
5
4
  [key: string]: (this: V, ...args: any[]) => any;
@@ -43,8 +42,8 @@ export interface InsertLinkDialogData {
43
42
  /**
44
43
  * @hidden
45
44
  */
46
- export interface InsertLinkDialogAll extends Vue, InsertLinkDialogMethods, InsertLinkDialogData, InsertLinkDialogComputed, InsertLinkDialogState {
45
+ export interface InsertLinkDialogAll extends Vue2type, InsertLinkDialogMethods, InsertLinkDialogData, InsertLinkDialogComputed, InsertLinkDialogState {
47
46
  }
48
- declare let InsertLinkDialog: ComponentOptions<InsertLinkDialogAll, DefaultData<InsertLinkDialogData>, DefaultMethods<InsertLinkDialogAll>, InsertLinkDialogComputed, RecordPropsDefinition<InsertLinkDialogProps>>;
49
- declare const InsertLinkDialogVue3: DefineComponent<InsertLinkDialogProps, any, InsertLinkDialogData, InsertLinkDialogComputed, InsertLinkDialogMethods, {}, {}, {}, string, InsertLinkDialogProps, InsertLinkDialogProps, {}>;
50
- export { InsertLinkDialog, InsertLinkDialogVue3 };
47
+ declare let InsertLinkDialogVue2: ComponentOptions<InsertLinkDialogAll, DefaultData<InsertLinkDialogData>, DefaultMethods<InsertLinkDialogAll>, InsertLinkDialogComputed, RecordPropsDefinition<InsertLinkDialogProps>>;
48
+ declare const InsertLinkDialog: DefineComponent<InsertLinkDialogProps, any, InsertLinkDialogData, InsertLinkDialogComputed, InsertLinkDialogMethods, {}, {}, {}, string, InsertLinkDialogProps, InsertLinkDialogProps, {}>;
49
+ export { InsertLinkDialog, InsertLinkDialogVue2 };