@progress/kendo-vue-editor 3.7.4-dev.202212020747 → 3.7.4-dev.202301091431

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.
@@ -392,15 +392,26 @@ var EditorVue2 = {
392
392
  };
393
393
  var renderTool = function renderTool(currentTool, _index) {
394
394
  var ct = exports.allTools[currentTool] || currentTool;
395
+ var getAriaLabel = function getAriaLabel() {
396
+ var ariaLabel;
397
+ if (currentTool === 'ForeColor') {
398
+ ariaLabel = ls.toLanguageString(main_2.keys.foregroundColorAriaLabel, main_2.messages[main_2.keys.foregroundColorAriaLabel]);
399
+ } else if (currentTool === 'BackColor') {
400
+ ariaLabel = ls.toLanguageString(main_2.keys.backgroundColor, main_2.messages[main_2.keys.backgroundColor]);
401
+ }
402
+ return ariaLabel;
403
+ };
395
404
  if (exports.allTools[currentTool]) {
396
405
  toolindex++;
397
- var toolProps = __assign({
406
+ var toolProps = __assign(__assign({
398
407
  view: view,
399
408
  dir: this.$props.dir,
400
409
  key: toolindex,
401
410
  updateGuid: this.updateGuid,
402
411
  settings: exports.allTools[currentTool].props
403
- }, exports.allTools[currentTool].props);
412
+ }, exports.allTools[currentTool].props), {
413
+ ariaLabel: getAriaLabel()
414
+ });
404
415
  return h(this.v3 ? markRaw(exports.allTools[currentTool].comp) : exports.allTools[currentTool].comp, this.v3 ? toolProps : {
405
416
  props: toolProps
406
417
  });
@@ -445,7 +456,7 @@ var EditorVue2 = {
445
456
  }, this);
446
457
  return h("div", {
447
458
  "class": (0, kendo_vue_common_1.classNames)('k-widget k-editor', {
448
- 'k-editor-resizable': this.$props.resizable
459
+ 'k-resizable': this.$props.resizable
449
460
  }),
450
461
  dir: this.$props.dir,
451
462
  attrs: this.v3 ? undefined : {
@@ -454,6 +465,7 @@ var EditorVue2 = {
454
465
  }, [buttons.length > 0 &&
455
466
  // @ts-ignore function children
456
467
  h(kendo_vue_buttons_1.Toolbar, {
468
+ "class": 'k-editor-toolbar',
457
469
  keyboardNavigation: this.$props.keyboardNavigation,
458
470
  attrs: this.v3 ? undefined : {
459
471
  keyboardNavigation: this.$props.keyboardNavigation
@@ -550,6 +562,7 @@ var EditorVue2 = {
550
562
  this.contentElement = iframeDocument_1.createElement('div');
551
563
  iframeDocument_1.body.appendChild(this.contentElement);
552
564
  this.contentElement.classList.add('k-content');
565
+ this.contentElement.setAttribute('role', 'main');
553
566
  }
554
567
  var dom = this.contentElement;
555
568
  if (!dom) {
@@ -158,6 +158,10 @@ export declare namespace EditorToolsSettings {
158
158
  * The dir of the applied command.
159
159
  */
160
160
  dir?: String;
161
+ /**
162
+ * The ariaLabel of the applied command.
163
+ */
164
+ ariaLabel?: String;
161
165
  }
162
166
  /**
163
167
  * The setting of the IndentAction tool.
@@ -10,6 +10,7 @@ var allVue = Vue;
10
10
  var gh = allVue.h;
11
11
  var isV3 = allVue.version && allVue.version[0] === '3';
12
12
  var kendo_vue_buttons_1 = require("@progress/kendo-vue-buttons");
13
+ var kendo_svg_icons_1 = require("@progress/kendo-svg-icons");
13
14
  var kendo_vue_dialogs_1 = require("@progress/kendo-vue-dialogs");
14
15
  var kendo_vue_layout_1 = require("@progress/kendo-vue-layout");
15
16
  var kendo_vue_intl_1 = require("@progress/kendo-vue-intl");
@@ -17,6 +18,7 @@ var main_1 = require("../messages/main");
17
18
  var toolsSettings_1 = require("./../config/toolsSettings");
18
19
  var utils_1 = require("./../tools/utils");
19
20
  var kendo_editor_common_1 = require("@progress/kendo-editor-common");
21
+ var kendo_vue_common_1 = require("@progress/kendo-vue-common");
20
22
  var enter = 13,
21
23
  esc = 27;
22
24
  var settings = toolsSettings_1.EditorToolsSettings.findAndReplace;
@@ -120,7 +122,7 @@ var FindAndReplaceDialogVue2 = {
120
122
  },
121
123
  // @ts-ignore
122
124
  render: function render(createElement) {
123
- var _this = this;
125
+ var _this2 = this;
124
126
  var h = gh || createElement;
125
127
  var localization = (0, kendo_vue_intl_1.provideLocalizationService)(this);
126
128
  var _a = this.settings.messages,
@@ -238,6 +240,7 @@ var FindAndReplaceDialogVue2 = {
238
240
  "class": "k-checkbox-label"
239
241
  }, [localization.toLanguageString(findReplaceUseRegExp, main_1.messages[findReplaceUseRegExp])])])]);
240
242
  var navigation = function navigation(findWhatRef) {
243
+ var _this = this;
241
244
  var isRtl = this.$props.dir === 'rtl';
242
245
  var prevButton =
243
246
  // @ts-ignore function children
@@ -253,11 +256,21 @@ var FindAndReplaceDialogVue2 = {
253
256
  "click": this.onFindPrev
254
257
  }
255
258
  }, this.v3 ? function () {
256
- return [h("span", {
257
- "class": "k-icon k-i-chevron-".concat(isRtl ? 'right' : 'left')
259
+ return [h(kendo_vue_common_1.Icon, {
260
+ name: "chevron-".concat(isRtl ? 'right' : 'left'),
261
+ attrs: _this.v3 ? undefined : {
262
+ name: "chevron-".concat(isRtl ? 'right' : 'left'),
263
+ icon: isRtl ? kendo_svg_icons_1.chevronRightIcon : kendo_svg_icons_1.chevronLeftIcon
264
+ },
265
+ icon: isRtl ? kendo_svg_icons_1.chevronRightIcon : kendo_svg_icons_1.chevronLeftIcon
258
266
  }), localization.toLanguageString(findReplacePrevMatch, main_1.messages[findReplacePrevMatch])];
259
- } : [h("span", {
260
- "class": "k-icon k-i-chevron-".concat(isRtl ? 'right' : 'left')
267
+ } : [h(kendo_vue_common_1.Icon, {
268
+ name: "chevron-".concat(isRtl ? 'right' : 'left'),
269
+ attrs: _this.v3 ? undefined : {
270
+ name: "chevron-".concat(isRtl ? 'right' : 'left'),
271
+ icon: isRtl ? kendo_svg_icons_1.chevronRightIcon : kendo_svg_icons_1.chevronLeftIcon
272
+ },
273
+ icon: isRtl ? kendo_svg_icons_1.chevronRightIcon : kendo_svg_icons_1.chevronLeftIcon
261
274
  }), localization.toLanguageString(findReplacePrevMatch, main_1.messages[findReplacePrevMatch])]);
262
275
  var nextButton =
263
276
  // @ts-ignore function children
@@ -273,11 +286,21 @@ var FindAndReplaceDialogVue2 = {
273
286
  "click": this.onFindNext
274
287
  }
275
288
  }, this.v3 ? function () {
276
- return [localization.toLanguageString(findReplaceNextMatch, main_1.messages[findReplaceNextMatch]), h("span", {
277
- "class": "k-icon k-i-chevron-".concat(isRtl ? 'left' : 'right')
289
+ return [localization.toLanguageString(findReplaceNextMatch, main_1.messages[findReplaceNextMatch]), h(kendo_vue_common_1.Icon, {
290
+ name: "chevron-".concat(isRtl ? 'left' : 'right'),
291
+ attrs: _this.v3 ? undefined : {
292
+ name: "chevron-".concat(isRtl ? 'left' : 'right'),
293
+ icon: isRtl ? kendo_svg_icons_1.chevronLeftIcon : kendo_svg_icons_1.chevronRightIcon
294
+ },
295
+ icon: isRtl ? kendo_svg_icons_1.chevronLeftIcon : kendo_svg_icons_1.chevronRightIcon
278
296
  })];
279
- } : [localization.toLanguageString(findReplaceNextMatch, main_1.messages[findReplaceNextMatch]), h("span", {
280
- "class": "k-icon k-i-chevron-".concat(isRtl ? 'left' : 'right')
297
+ } : [localization.toLanguageString(findReplaceNextMatch, main_1.messages[findReplaceNextMatch]), h(kendo_vue_common_1.Icon, {
298
+ name: "chevron-".concat(isRtl ? 'left' : 'right'),
299
+ attrs: _this.v3 ? undefined : {
300
+ name: "chevron-".concat(isRtl ? 'left' : 'right'),
301
+ icon: isRtl ? kendo_svg_icons_1.chevronLeftIcon : kendo_svg_icons_1.chevronRightIcon
302
+ },
303
+ icon: isRtl ? kendo_svg_icons_1.chevronLeftIcon : kendo_svg_icons_1.chevronRightIcon
281
304
  })]);
282
305
  return h("div", {
283
306
  "class": "k-matches-container"
@@ -394,327 +417,327 @@ var FindAndReplaceDialogVue2 = {
394
417
  return [
395
418
  // @ts-ignore function children
396
419
  h(kendo_vue_layout_1.TabStrip, {
397
- dir: _this.$props.dir,
398
- attrs: _this.v3 ? undefined : {
399
- dir: _this.$props.dir,
400
- selected: _this.selectedTab,
420
+ dir: _this2.$props.dir,
421
+ attrs: _this2.v3 ? undefined : {
422
+ dir: _this2.$props.dir,
423
+ selected: _this2.selectedTab,
401
424
  animation: false
402
425
  },
403
- selected: _this.selectedTab,
426
+ selected: _this2.selectedTab,
404
427
  "class": "k-editor-find-replace",
405
- onSelect: _this.onTabSelect,
406
- on: _this.v3 ? undefined : {
407
- "select": _this.onTabSelect
428
+ onSelect: _this2.onTabSelect,
429
+ on: _this2.v3 ? undefined : {
430
+ "select": _this2.onTabSelect
408
431
  },
409
432
  animation: false
410
- }, _this.v3 ? function () {
433
+ }, _this2.v3 ? function () {
411
434
  return [
412
435
  // @ts-ignore function children
413
436
  h(kendo_vue_layout_1.TabStripTab, {
414
437
  title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind]),
415
- attrs: _this.v3 ? undefined : {
438
+ attrs: _this2.v3 ? undefined : {
416
439
  title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind])
417
440
  }
418
- }, _this.v3 ? function () {
441
+ }, _this2.v3 ? function () {
419
442
  return [h("div", {
420
443
  "class": "k-edit-form-container"
421
- }, [findWhatLabel.call(_this, 'findWhatFind'), findWhat.call(_this, 'findWhatFind')]), checkboxes, navigation.call(_this, 'findWhatFind')];
444
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
422
445
  } : [h("div", {
423
446
  "class": "k-edit-form-container"
424
- }, [findWhatLabel.call(_this, 'findWhatFind'), findWhat.call(_this, 'findWhatFind')]), checkboxes, navigation.call(_this, 'findWhatFind')]),
447
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]),
425
448
  // @ts-ignore function children
426
449
  h(kendo_vue_layout_1.TabStripTab, {
427
450
  title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace]),
428
- attrs: _this.v3 ? undefined : {
451
+ attrs: _this2.v3 ? undefined : {
429
452
  title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace])
430
453
  }
431
- }, _this.v3 ? function () {
454
+ }, _this2.v3 ? function () {
432
455
  return [h("div", {
433
456
  "class": "k-edit-form-container"
434
- }, [findWhatLabel.call(_this, 'findWhatReplace'), findWhat.call(_this, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
457
+ }, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
435
458
  "class": "k-actions k-hstack k-justify-content-end"
436
459
  }, [
437
460
  // @ts-ignore function children
438
461
  h(kendo_vue_buttons_1.Button, {
439
462
  disabled: !Boolean(nextMatch),
440
- attrs: _this.v3 ? undefined : {
463
+ attrs: _this2.v3 ? undefined : {
441
464
  disabled: !Boolean(nextMatch)
442
465
  },
443
- onClick: _this.onReplace,
444
- on: _this.v3 ? undefined : {
445
- "click": _this.onReplace
466
+ onClick: _this2.onReplace,
467
+ on: _this2.v3 ? undefined : {
468
+ "click": _this2.onReplace
446
469
  }
447
- }, _this.v3 ? function () {
470
+ }, _this2.v3 ? function () {
448
471
  return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
449
472
  } : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]),
450
473
  // @ts-ignore function children
451
474
  h(kendo_vue_buttons_1.Button, {
452
475
  disabled: !Boolean(nextMatch),
453
- attrs: _this.v3 ? undefined : {
476
+ attrs: _this2.v3 ? undefined : {
454
477
  disabled: !Boolean(nextMatch)
455
478
  },
456
- onClick: _this.onReplaceAll,
457
- on: _this.v3 ? undefined : {
458
- "click": _this.onReplaceAll
479
+ onClick: _this2.onReplaceAll,
480
+ on: _this2.v3 ? undefined : {
481
+ "click": _this2.onReplaceAll
459
482
  }
460
- }, _this.v3 ? function () {
483
+ }, _this2.v3 ? function () {
461
484
  return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
462
- } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this, 'findWhatReplace')];
485
+ } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')];
463
486
  } : [h("div", {
464
487
  "class": "k-edit-form-container"
465
- }, [findWhatLabel.call(_this, 'findWhatReplace'), findWhat.call(_this, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
488
+ }, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
466
489
  "class": "k-actions k-hstack k-justify-content-end"
467
490
  }, [h(kendo_vue_buttons_1.Button, {
468
491
  disabled: !Boolean(nextMatch),
469
- attrs: _this.v3 ? undefined : {
492
+ attrs: _this2.v3 ? undefined : {
470
493
  disabled: !Boolean(nextMatch)
471
494
  },
472
- onClick: _this.onReplace,
473
- on: _this.v3 ? undefined : {
474
- "click": _this.onReplace
495
+ onClick: _this2.onReplace,
496
+ on: _this2.v3 ? undefined : {
497
+ "click": _this2.onReplace
475
498
  }
476
- }, _this.v3 ? function () {
499
+ }, _this2.v3 ? function () {
477
500
  return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
478
501
  } : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
479
502
  disabled: !Boolean(nextMatch),
480
- attrs: _this.v3 ? undefined : {
503
+ attrs: _this2.v3 ? undefined : {
481
504
  disabled: !Boolean(nextMatch)
482
505
  },
483
- onClick: _this.onReplaceAll,
484
- on: _this.v3 ? undefined : {
485
- "click": _this.onReplaceAll
506
+ onClick: _this2.onReplaceAll,
507
+ on: _this2.v3 ? undefined : {
508
+ "click": _this2.onReplaceAll
486
509
  }
487
- }, _this.v3 ? function () {
510
+ }, _this2.v3 ? function () {
488
511
  return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
489
- } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this, 'findWhatReplace')])];
512
+ } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')])];
490
513
  } : [h(kendo_vue_layout_1.TabStripTab, {
491
514
  title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind]),
492
- attrs: _this.v3 ? undefined : {
515
+ attrs: _this2.v3 ? undefined : {
493
516
  title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind])
494
517
  }
495
- }, _this.v3 ? function () {
518
+ }, _this2.v3 ? function () {
496
519
  return [h("div", {
497
520
  "class": "k-edit-form-container"
498
- }, [findWhatLabel.call(_this, 'findWhatFind'), findWhat.call(_this, 'findWhatFind')]), checkboxes, navigation.call(_this, 'findWhatFind')];
521
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
499
522
  } : [h("div", {
500
523
  "class": "k-edit-form-container"
501
- }, [findWhatLabel.call(_this, 'findWhatFind'), findWhat.call(_this, 'findWhatFind')]), checkboxes, navigation.call(_this, 'findWhatFind')]), h(kendo_vue_layout_1.TabStripTab, {
524
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(kendo_vue_layout_1.TabStripTab, {
502
525
  title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace]),
503
- attrs: _this.v3 ? undefined : {
526
+ attrs: _this2.v3 ? undefined : {
504
527
  title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace])
505
528
  }
506
- }, _this.v3 ? function () {
529
+ }, _this2.v3 ? function () {
507
530
  return [h("div", {
508
531
  "class": "k-edit-form-container"
509
- }, [findWhatLabel.call(_this, 'findWhatReplace'), findWhat.call(_this, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
532
+ }, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
510
533
  "class": "k-actions k-hstack k-justify-content-end"
511
534
  }, [h(kendo_vue_buttons_1.Button, {
512
535
  disabled: !Boolean(nextMatch),
513
- attrs: _this.v3 ? undefined : {
536
+ attrs: _this2.v3 ? undefined : {
514
537
  disabled: !Boolean(nextMatch)
515
538
  },
516
- onClick: _this.onReplace,
517
- on: _this.v3 ? undefined : {
518
- "click": _this.onReplace
539
+ onClick: _this2.onReplace,
540
+ on: _this2.v3 ? undefined : {
541
+ "click": _this2.onReplace
519
542
  }
520
- }, _this.v3 ? function () {
543
+ }, _this2.v3 ? function () {
521
544
  return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
522
545
  } : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
523
546
  disabled: !Boolean(nextMatch),
524
- attrs: _this.v3 ? undefined : {
547
+ attrs: _this2.v3 ? undefined : {
525
548
  disabled: !Boolean(nextMatch)
526
549
  },
527
- onClick: _this.onReplaceAll,
528
- on: _this.v3 ? undefined : {
529
- "click": _this.onReplaceAll
550
+ onClick: _this2.onReplaceAll,
551
+ on: _this2.v3 ? undefined : {
552
+ "click": _this2.onReplaceAll
530
553
  }
531
- }, _this.v3 ? function () {
554
+ }, _this2.v3 ? function () {
532
555
  return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
533
- } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this, 'findWhatReplace')];
556
+ } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')];
534
557
  } : [h("div", {
535
558
  "class": "k-edit-form-container"
536
- }, [findWhatLabel.call(_this, 'findWhatReplace'), findWhat.call(_this, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
559
+ }, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
537
560
  "class": "k-actions k-hstack k-justify-content-end"
538
561
  }, [h(kendo_vue_buttons_1.Button, {
539
562
  disabled: !Boolean(nextMatch),
540
- attrs: _this.v3 ? undefined : {
563
+ attrs: _this2.v3 ? undefined : {
541
564
  disabled: !Boolean(nextMatch)
542
565
  },
543
- onClick: _this.onReplace,
544
- on: _this.v3 ? undefined : {
545
- "click": _this.onReplace
566
+ onClick: _this2.onReplace,
567
+ on: _this2.v3 ? undefined : {
568
+ "click": _this2.onReplace
546
569
  }
547
- }, _this.v3 ? function () {
570
+ }, _this2.v3 ? function () {
548
571
  return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
549
572
  } : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
550
573
  disabled: !Boolean(nextMatch),
551
- attrs: _this.v3 ? undefined : {
574
+ attrs: _this2.v3 ? undefined : {
552
575
  disabled: !Boolean(nextMatch)
553
576
  },
554
- onClick: _this.onReplaceAll,
555
- on: _this.v3 ? undefined : {
556
- "click": _this.onReplaceAll
577
+ onClick: _this2.onReplaceAll,
578
+ on: _this2.v3 ? undefined : {
579
+ "click": _this2.onReplaceAll
557
580
  }
558
- }, _this.v3 ? function () {
581
+ }, _this2.v3 ? function () {
559
582
  return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
560
- } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this, 'findWhatReplace')])])];
583
+ } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')])])];
561
584
  } : [h(kendo_vue_layout_1.TabStrip, {
562
- dir: _this.$props.dir,
563
- attrs: _this.v3 ? undefined : {
564
- dir: _this.$props.dir,
565
- selected: _this.selectedTab,
585
+ dir: _this2.$props.dir,
586
+ attrs: _this2.v3 ? undefined : {
587
+ dir: _this2.$props.dir,
588
+ selected: _this2.selectedTab,
566
589
  animation: false
567
590
  },
568
- selected: _this.selectedTab,
591
+ selected: _this2.selectedTab,
569
592
  "class": "k-editor-find-replace",
570
- onSelect: _this.onTabSelect,
571
- on: _this.v3 ? undefined : {
572
- "select": _this.onTabSelect
593
+ onSelect: _this2.onTabSelect,
594
+ on: _this2.v3 ? undefined : {
595
+ "select": _this2.onTabSelect
573
596
  },
574
597
  animation: false
575
- }, _this.v3 ? function () {
598
+ }, _this2.v3 ? function () {
576
599
  return [h(kendo_vue_layout_1.TabStripTab, {
577
600
  title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind]),
578
- attrs: _this.v3 ? undefined : {
601
+ attrs: _this2.v3 ? undefined : {
579
602
  title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind])
580
603
  }
581
- }, _this.v3 ? function () {
604
+ }, _this2.v3 ? function () {
582
605
  return [h("div", {
583
606
  "class": "k-edit-form-container"
584
- }, [findWhatLabel.call(_this, 'findWhatFind'), findWhat.call(_this, 'findWhatFind')]), checkboxes, navigation.call(_this, 'findWhatFind')];
607
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
585
608
  } : [h("div", {
586
609
  "class": "k-edit-form-container"
587
- }, [findWhatLabel.call(_this, 'findWhatFind'), findWhat.call(_this, 'findWhatFind')]), checkboxes, navigation.call(_this, 'findWhatFind')]), h(kendo_vue_layout_1.TabStripTab, {
610
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(kendo_vue_layout_1.TabStripTab, {
588
611
  title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace]),
589
- attrs: _this.v3 ? undefined : {
612
+ attrs: _this2.v3 ? undefined : {
590
613
  title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace])
591
614
  }
592
- }, _this.v3 ? function () {
615
+ }, _this2.v3 ? function () {
593
616
  return [h("div", {
594
617
  "class": "k-edit-form-container"
595
- }, [findWhatLabel.call(_this, 'findWhatReplace'), findWhat.call(_this, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
618
+ }, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
596
619
  "class": "k-actions k-hstack k-justify-content-end"
597
620
  }, [h(kendo_vue_buttons_1.Button, {
598
621
  disabled: !Boolean(nextMatch),
599
- attrs: _this.v3 ? undefined : {
622
+ attrs: _this2.v3 ? undefined : {
600
623
  disabled: !Boolean(nextMatch)
601
624
  },
602
- onClick: _this.onReplace,
603
- on: _this.v3 ? undefined : {
604
- "click": _this.onReplace
625
+ onClick: _this2.onReplace,
626
+ on: _this2.v3 ? undefined : {
627
+ "click": _this2.onReplace
605
628
  }
606
- }, _this.v3 ? function () {
629
+ }, _this2.v3 ? function () {
607
630
  return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
608
631
  } : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
609
632
  disabled: !Boolean(nextMatch),
610
- attrs: _this.v3 ? undefined : {
633
+ attrs: _this2.v3 ? undefined : {
611
634
  disabled: !Boolean(nextMatch)
612
635
  },
613
- onClick: _this.onReplaceAll,
614
- on: _this.v3 ? undefined : {
615
- "click": _this.onReplaceAll
636
+ onClick: _this2.onReplaceAll,
637
+ on: _this2.v3 ? undefined : {
638
+ "click": _this2.onReplaceAll
616
639
  }
617
- }, _this.v3 ? function () {
640
+ }, _this2.v3 ? function () {
618
641
  return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
619
- } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this, 'findWhatReplace')];
642
+ } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')];
620
643
  } : [h("div", {
621
644
  "class": "k-edit-form-container"
622
- }, [findWhatLabel.call(_this, 'findWhatReplace'), findWhat.call(_this, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
645
+ }, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
623
646
  "class": "k-actions k-hstack k-justify-content-end"
624
647
  }, [h(kendo_vue_buttons_1.Button, {
625
648
  disabled: !Boolean(nextMatch),
626
- attrs: _this.v3 ? undefined : {
649
+ attrs: _this2.v3 ? undefined : {
627
650
  disabled: !Boolean(nextMatch)
628
651
  },
629
- onClick: _this.onReplace,
630
- on: _this.v3 ? undefined : {
631
- "click": _this.onReplace
652
+ onClick: _this2.onReplace,
653
+ on: _this2.v3 ? undefined : {
654
+ "click": _this2.onReplace
632
655
  }
633
- }, _this.v3 ? function () {
656
+ }, _this2.v3 ? function () {
634
657
  return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
635
658
  } : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
636
659
  disabled: !Boolean(nextMatch),
637
- attrs: _this.v3 ? undefined : {
660
+ attrs: _this2.v3 ? undefined : {
638
661
  disabled: !Boolean(nextMatch)
639
662
  },
640
- onClick: _this.onReplaceAll,
641
- on: _this.v3 ? undefined : {
642
- "click": _this.onReplaceAll
663
+ onClick: _this2.onReplaceAll,
664
+ on: _this2.v3 ? undefined : {
665
+ "click": _this2.onReplaceAll
643
666
  }
644
- }, _this.v3 ? function () {
667
+ }, _this2.v3 ? function () {
645
668
  return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
646
- } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this, 'findWhatReplace')])];
669
+ } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')])];
647
670
  } : [h(kendo_vue_layout_1.TabStripTab, {
648
671
  title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind]),
649
- attrs: _this.v3 ? undefined : {
672
+ attrs: _this2.v3 ? undefined : {
650
673
  title: localization.toLanguageString(findReplaceTabFind, main_1.messages[findReplaceTabFind])
651
674
  }
652
- }, _this.v3 ? function () {
675
+ }, _this2.v3 ? function () {
653
676
  return [h("div", {
654
677
  "class": "k-edit-form-container"
655
- }, [findWhatLabel.call(_this, 'findWhatFind'), findWhat.call(_this, 'findWhatFind')]), checkboxes, navigation.call(_this, 'findWhatFind')];
678
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')];
656
679
  } : [h("div", {
657
680
  "class": "k-edit-form-container"
658
- }, [findWhatLabel.call(_this, 'findWhatFind'), findWhat.call(_this, 'findWhatFind')]), checkboxes, navigation.call(_this, 'findWhatFind')]), h(kendo_vue_layout_1.TabStripTab, {
681
+ }, [findWhatLabel.call(_this2, 'findWhatFind'), findWhat.call(_this2, 'findWhatFind')]), checkboxes, navigation.call(_this2, 'findWhatFind')]), h(kendo_vue_layout_1.TabStripTab, {
659
682
  title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace]),
660
- attrs: _this.v3 ? undefined : {
683
+ attrs: _this2.v3 ? undefined : {
661
684
  title: localization.toLanguageString(findReplaceTabReplace, main_1.messages[findReplaceTabReplace])
662
685
  }
663
- }, _this.v3 ? function () {
686
+ }, _this2.v3 ? function () {
664
687
  return [h("div", {
665
688
  "class": "k-edit-form-container"
666
- }, [findWhatLabel.call(_this, 'findWhatReplace'), findWhat.call(_this, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
689
+ }, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
667
690
  "class": "k-actions k-hstack k-justify-content-end"
668
691
  }, [h(kendo_vue_buttons_1.Button, {
669
692
  disabled: !Boolean(nextMatch),
670
- attrs: _this.v3 ? undefined : {
693
+ attrs: _this2.v3 ? undefined : {
671
694
  disabled: !Boolean(nextMatch)
672
695
  },
673
- onClick: _this.onReplace,
674
- on: _this.v3 ? undefined : {
675
- "click": _this.onReplace
696
+ onClick: _this2.onReplace,
697
+ on: _this2.v3 ? undefined : {
698
+ "click": _this2.onReplace
676
699
  }
677
- }, _this.v3 ? function () {
700
+ }, _this2.v3 ? function () {
678
701
  return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
679
702
  } : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
680
703
  disabled: !Boolean(nextMatch),
681
- attrs: _this.v3 ? undefined : {
704
+ attrs: _this2.v3 ? undefined : {
682
705
  disabled: !Boolean(nextMatch)
683
706
  },
684
- onClick: _this.onReplaceAll,
685
- on: _this.v3 ? undefined : {
686
- "click": _this.onReplaceAll
707
+ onClick: _this2.onReplaceAll,
708
+ on: _this2.v3 ? undefined : {
709
+ "click": _this2.onReplaceAll
687
710
  }
688
- }, _this.v3 ? function () {
711
+ }, _this2.v3 ? function () {
689
712
  return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
690
- } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this, 'findWhatReplace')];
713
+ } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')];
691
714
  } : [h("div", {
692
715
  "class": "k-edit-form-container"
693
- }, [findWhatLabel.call(_this, 'findWhatReplace'), findWhat.call(_this, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
716
+ }, [findWhatLabel.call(_this2, 'findWhatReplace'), findWhat.call(_this2, 'findWhatReplace'), replaceWithLabel, replaceWith]), h("div", {
694
717
  "class": "k-actions k-hstack k-justify-content-end"
695
718
  }, [h(kendo_vue_buttons_1.Button, {
696
719
  disabled: !Boolean(nextMatch),
697
- attrs: _this.v3 ? undefined : {
720
+ attrs: _this2.v3 ? undefined : {
698
721
  disabled: !Boolean(nextMatch)
699
722
  },
700
- onClick: _this.onReplace,
701
- on: _this.v3 ? undefined : {
702
- "click": _this.onReplace
723
+ onClick: _this2.onReplace,
724
+ on: _this2.v3 ? undefined : {
725
+ "click": _this2.onReplace
703
726
  }
704
- }, _this.v3 ? function () {
727
+ }, _this2.v3 ? function () {
705
728
  return [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])];
706
729
  } : [localization.toLanguageString(findReplaceReplace, main_1.messages[findReplaceReplace])]), h(kendo_vue_buttons_1.Button, {
707
730
  disabled: !Boolean(nextMatch),
708
- attrs: _this.v3 ? undefined : {
731
+ attrs: _this2.v3 ? undefined : {
709
732
  disabled: !Boolean(nextMatch)
710
733
  },
711
- onClick: _this.onReplaceAll,
712
- on: _this.v3 ? undefined : {
713
- "click": _this.onReplaceAll
734
+ onClick: _this2.onReplaceAll,
735
+ on: _this2.v3 ? undefined : {
736
+ "click": _this2.onReplaceAll
714
737
  }
715
- }, _this.v3 ? function () {
738
+ }, _this2.v3 ? function () {
716
739
  return [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])];
717
- } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this, 'findWhatReplace')])])])
740
+ } : [localization.toLanguageString(findReplaceReplaceAll, main_1.messages[findReplaceReplaceAll])])]), checkboxes, navigation.call(_this2, 'findWhatReplace')])])])
718
741
  );
719
742
  // document.body);
720
743
  },
@@ -28,6 +28,8 @@ export declare const messages: {
28
28
  "editor.pdf": string;
29
29
  "editor.foregroundColor": string;
30
30
  "editor.backgroundColor": string;
31
+ "editor.foregroundColorAriaLabel": string;
32
+ "editor.backgroundColorAriaLabel": string;
31
33
  "editor.createTable": string;
32
34
  "editor.insertTableHint": string;
33
35
  "editor.addRowBefore": string;
@@ -112,6 +114,8 @@ export declare const keys: {
112
114
  pdf: string;
113
115
  foregroundColor: string;
114
116
  backgroundColor: string;
117
+ foregroundColorAriaLabel: string;
118
+ backgroundColorAriaLabel: string;
115
119
  createTable: string;
116
120
  createTableHint: string;
117
121
  addRowBefore: string;