@progress/kendo-vue-editor 3.7.4-dev.202212300853 → 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.
package/dist/es/Editor.js CHANGED
@@ -386,15 +386,26 @@ var EditorVue2 = {
386
386
  };
387
387
  var renderTool = function renderTool(currentTool, _index) {
388
388
  var ct = allTools[currentTool] || currentTool;
389
+ var getAriaLabel = function getAriaLabel() {
390
+ var ariaLabel;
391
+ if (currentTool === 'ForeColor') {
392
+ ariaLabel = ls.toLanguageString(keys.foregroundColorAriaLabel, messages[keys.foregroundColorAriaLabel]);
393
+ } else if (currentTool === 'BackColor') {
394
+ ariaLabel = ls.toLanguageString(keys.backgroundColor, messages[keys.backgroundColor]);
395
+ }
396
+ return ariaLabel;
397
+ };
389
398
  if (allTools[currentTool]) {
390
399
  toolindex++;
391
- var toolProps = __assign({
400
+ var toolProps = __assign(__assign({
392
401
  view: view,
393
402
  dir: this.$props.dir,
394
403
  key: toolindex,
395
404
  updateGuid: this.updateGuid,
396
405
  settings: allTools[currentTool].props
397
- }, allTools[currentTool].props);
406
+ }, allTools[currentTool].props), {
407
+ ariaLabel: getAriaLabel()
408
+ });
398
409
  return h(this.v3 ? markRaw(allTools[currentTool].comp) : allTools[currentTool].comp, this.v3 ? toolProps : {
399
410
  props: toolProps
400
411
  });
@@ -439,7 +450,7 @@ var EditorVue2 = {
439
450
  }, this);
440
451
  return h("div", {
441
452
  "class": classNames('k-widget k-editor', {
442
- 'k-editor-resizable': this.$props.resizable
453
+ 'k-resizable': this.$props.resizable
443
454
  }),
444
455
  dir: this.$props.dir,
445
456
  attrs: this.v3 ? undefined : {
@@ -448,6 +459,7 @@ var EditorVue2 = {
448
459
  }, [buttons.length > 0 &&
449
460
  // @ts-ignore function children
450
461
  h(Toolbar, {
462
+ "class": 'k-editor-toolbar',
451
463
  keyboardNavigation: this.$props.keyboardNavigation,
452
464
  attrs: this.v3 ? undefined : {
453
465
  keyboardNavigation: this.$props.keyboardNavigation
@@ -544,6 +556,7 @@ var EditorVue2 = {
544
556
  this.contentElement = iframeDocument_1.createElement('div');
545
557
  iframeDocument_1.body.appendChild(this.contentElement);
546
558
  this.contentElement.classList.add('k-content');
559
+ this.contentElement.setAttribute('role', 'main');
547
560
  }
548
561
  var dom = this.contentElement;
549
562
  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.
@@ -4,6 +4,7 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  import { Button } from '@progress/kendo-vue-buttons';
7
+ import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
7
8
  import { Window } from '@progress/kendo-vue-dialogs';
8
9
  import { TabStrip, TabStripTab } from '@progress/kendo-vue-layout';
9
10
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -252,14 +253,18 @@ var FindAndReplaceDialogVue2 = {
252
253
  return [h(Icon, {
253
254
  name: "chevron-".concat(isRtl ? 'right' : 'left'),
254
255
  attrs: _this.v3 ? undefined : {
255
- name: "chevron-".concat(isRtl ? 'right' : 'left')
256
- }
256
+ name: "chevron-".concat(isRtl ? 'right' : 'left'),
257
+ icon: isRtl ? chevronRightIcon : chevronLeftIcon
258
+ },
259
+ icon: isRtl ? chevronRightIcon : chevronLeftIcon
257
260
  }), localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])];
258
261
  } : [h(Icon, {
259
262
  name: "chevron-".concat(isRtl ? 'right' : 'left'),
260
263
  attrs: _this.v3 ? undefined : {
261
- name: "chevron-".concat(isRtl ? 'right' : 'left')
262
- }
264
+ name: "chevron-".concat(isRtl ? 'right' : 'left'),
265
+ icon: isRtl ? chevronRightIcon : chevronLeftIcon
266
+ },
267
+ icon: isRtl ? chevronRightIcon : chevronLeftIcon
263
268
  }), localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])]);
264
269
  var nextButton =
265
270
  // @ts-ignore function children
@@ -278,14 +283,18 @@ var FindAndReplaceDialogVue2 = {
278
283
  return [localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]), h(Icon, {
279
284
  name: "chevron-".concat(isRtl ? 'left' : 'right'),
280
285
  attrs: _this.v3 ? undefined : {
281
- name: "chevron-".concat(isRtl ? 'left' : 'right')
282
- }
286
+ name: "chevron-".concat(isRtl ? 'left' : 'right'),
287
+ icon: isRtl ? chevronLeftIcon : chevronRightIcon
288
+ },
289
+ icon: isRtl ? chevronLeftIcon : chevronRightIcon
283
290
  })];
284
291
  } : [localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]), h(Icon, {
285
292
  name: "chevron-".concat(isRtl ? 'left' : 'right'),
286
293
  attrs: _this.v3 ? undefined : {
287
- name: "chevron-".concat(isRtl ? 'left' : 'right')
288
- }
294
+ name: "chevron-".concat(isRtl ? 'left' : 'right'),
295
+ icon: isRtl ? chevronLeftIcon : chevronRightIcon
296
+ },
297
+ icon: isRtl ? chevronLeftIcon : chevronRightIcon
289
298
  })]);
290
299
  return h("div", {
291
300
  "class": "k-matches-container"
@@ -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;
@@ -55,6 +55,14 @@ var foregroundColor = 'editor.foregroundColor';
55
55
  * @hidden
56
56
  */
57
57
  var backgroundColor = 'editor.backgroundColor';
58
+ /**
59
+ * @hidden
60
+ */
61
+ var foregroundColorAriaLabel = 'editor.foregroundColorAriaLabel';
62
+ /**
63
+ * @hidden
64
+ */
65
+ var backgroundColorAriaLabel = 'editor.backgroundColorAriaLabel';
58
66
  /**
59
67
  * @hidden
60
68
  */
@@ -345,6 +353,8 @@ export var messages = (_a = {},
345
353
  _a[pdf] = 'Export as PDF',
346
354
  _a[foregroundColor] = 'Color',
347
355
  _a[backgroundColor] = 'Background color',
356
+ _a[foregroundColorAriaLabel] = 'Set ForeGround color',
357
+ _a[backgroundColorAriaLabel] = 'Set Background color',
348
358
  // Tables
349
359
  _a[createTable] = 'Create a table',
350
360
  _a[createTableHint] = 'Create a {0} x {1} table',
@@ -435,6 +445,8 @@ export var keys = {
435
445
  pdf: pdf,
436
446
  foregroundColor: foregroundColor,
437
447
  backgroundColor: backgroundColor,
448
+ foregroundColorAriaLabel: foregroundColorAriaLabel,
449
+ backgroundColorAriaLabel: backgroundColorAriaLabel,
438
450
  createTable: createTable,
439
451
  createTableHint: createTableHint,
440
452
  addRowBefore: addRowBefore,
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-editor',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1672389771,
8
+ publishDate: 1673273667,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -29,7 +29,8 @@ var ApplyColorVue2 = {
29
29
  color: String,
30
30
  colorPickerProps: Object,
31
31
  commandName: String,
32
- dir: String
32
+ dir: String,
33
+ ariaLabel: String
33
34
  },
34
35
  inject: {
35
36
  kendoLocalizationService: {
@@ -48,7 +49,8 @@ var ApplyColorVue2 = {
48
49
  var h = gh || createElement;
49
50
  var _a = this.$props,
50
51
  colorPickerProps = _a.colorPickerProps,
51
- dir = _a.dir;
52
+ dir = _a.dir,
53
+ ariaLabel = _a.ariaLabel;
52
54
  var titleKey = colorPickerProps.title;
53
55
  var localization = provideLocalizationService(this);
54
56
  var cpProps = __assign(__assign({}, colorPickerProps), {
@@ -56,7 +58,8 @@ var ApplyColorVue2 = {
56
58
  showButtons: false,
57
59
  showClearButton: false,
58
60
  showPreview: false,
59
- title: titleKey ? localization.toLanguageString(titleKey, messages[titleKey]) : titleKey
61
+ title: titleKey ? localization.toLanguageString(titleKey, messages[titleKey]) : titleKey,
62
+ ariaLabel: ariaLabel
60
63
  });
61
64
  var cp = h(ColorPicker, __assign({
62
65
  onChange: this.onChange,
@@ -386,15 +386,26 @@ var EditorVue2 = {
386
386
  };
387
387
  var renderTool = function renderTool(currentTool, _index) {
388
388
  var ct = allTools[currentTool] || currentTool;
389
+ var getAriaLabel = function getAriaLabel() {
390
+ var ariaLabel;
391
+ if (currentTool === 'ForeColor') {
392
+ ariaLabel = ls.toLanguageString(keys.foregroundColorAriaLabel, messages[keys.foregroundColorAriaLabel]);
393
+ } else if (currentTool === 'BackColor') {
394
+ ariaLabel = ls.toLanguageString(keys.backgroundColor, messages[keys.backgroundColor]);
395
+ }
396
+ return ariaLabel;
397
+ };
389
398
  if (allTools[currentTool]) {
390
399
  toolindex++;
391
- var toolProps = __assign({
400
+ var toolProps = __assign(__assign({
392
401
  view: view,
393
402
  dir: this.$props.dir,
394
403
  key: toolindex,
395
404
  updateGuid: this.updateGuid,
396
405
  settings: allTools[currentTool].props
397
- }, allTools[currentTool].props);
406
+ }, allTools[currentTool].props), {
407
+ ariaLabel: getAriaLabel()
408
+ });
398
409
  return h(this.v3 ? markRaw(allTools[currentTool].comp) : allTools[currentTool].comp, this.v3 ? toolProps : {
399
410
  props: toolProps
400
411
  });
@@ -439,7 +450,7 @@ var EditorVue2 = {
439
450
  }, this);
440
451
  return h("div", {
441
452
  "class": classNames('k-widget k-editor', {
442
- 'k-editor-resizable': this.$props.resizable
453
+ 'k-resizable': this.$props.resizable
443
454
  }),
444
455
  dir: this.$props.dir,
445
456
  attrs: this.v3 ? undefined : {
@@ -448,6 +459,7 @@ var EditorVue2 = {
448
459
  }, [buttons.length > 0 &&
449
460
  // @ts-ignore function children
450
461
  h(Toolbar, {
462
+ "class": 'k-editor-toolbar',
451
463
  keyboardNavigation: this.$props.keyboardNavigation,
452
464
  attrs: this.v3 ? undefined : {
453
465
  keyboardNavigation: this.$props.keyboardNavigation
@@ -544,6 +556,7 @@ var EditorVue2 = {
544
556
  this.contentElement = iframeDocument_1.createElement('div');
545
557
  iframeDocument_1.body.appendChild(this.contentElement);
546
558
  this.contentElement.classList.add('k-content');
559
+ this.contentElement.setAttribute('role', 'main');
547
560
  }
548
561
  var dom = this.contentElement;
549
562
  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.
@@ -4,6 +4,7 @@ var allVue = Vue;
4
4
  var gh = allVue.h;
5
5
  var isV3 = allVue.version && allVue.version[0] === '3';
6
6
  import { Button } from '@progress/kendo-vue-buttons';
7
+ import { chevronLeftIcon, chevronRightIcon } from '@progress/kendo-svg-icons';
7
8
  import { Window } from '@progress/kendo-vue-dialogs';
8
9
  import { TabStrip, TabStripTab } from '@progress/kendo-vue-layout';
9
10
  import { provideLocalizationService } from '@progress/kendo-vue-intl';
@@ -252,14 +253,18 @@ var FindAndReplaceDialogVue2 = {
252
253
  return [h(Icon, {
253
254
  name: "chevron-".concat(isRtl ? 'right' : 'left'),
254
255
  attrs: _this.v3 ? undefined : {
255
- name: "chevron-".concat(isRtl ? 'right' : 'left')
256
- }
256
+ name: "chevron-".concat(isRtl ? 'right' : 'left'),
257
+ icon: isRtl ? chevronRightIcon : chevronLeftIcon
258
+ },
259
+ icon: isRtl ? chevronRightIcon : chevronLeftIcon
257
260
  }), localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])];
258
261
  } : [h(Icon, {
259
262
  name: "chevron-".concat(isRtl ? 'right' : 'left'),
260
263
  attrs: _this.v3 ? undefined : {
261
- name: "chevron-".concat(isRtl ? 'right' : 'left')
262
- }
264
+ name: "chevron-".concat(isRtl ? 'right' : 'left'),
265
+ icon: isRtl ? chevronRightIcon : chevronLeftIcon
266
+ },
267
+ icon: isRtl ? chevronRightIcon : chevronLeftIcon
263
268
  }), localization.toLanguageString(findReplacePrevMatch, messages[findReplacePrevMatch])]);
264
269
  var nextButton =
265
270
  // @ts-ignore function children
@@ -278,14 +283,18 @@ var FindAndReplaceDialogVue2 = {
278
283
  return [localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]), h(Icon, {
279
284
  name: "chevron-".concat(isRtl ? 'left' : 'right'),
280
285
  attrs: _this.v3 ? undefined : {
281
- name: "chevron-".concat(isRtl ? 'left' : 'right')
282
- }
286
+ name: "chevron-".concat(isRtl ? 'left' : 'right'),
287
+ icon: isRtl ? chevronLeftIcon : chevronRightIcon
288
+ },
289
+ icon: isRtl ? chevronLeftIcon : chevronRightIcon
283
290
  })];
284
291
  } : [localization.toLanguageString(findReplaceNextMatch, messages[findReplaceNextMatch]), h(Icon, {
285
292
  name: "chevron-".concat(isRtl ? 'left' : 'right'),
286
293
  attrs: _this.v3 ? undefined : {
287
- name: "chevron-".concat(isRtl ? 'left' : 'right')
288
- }
294
+ name: "chevron-".concat(isRtl ? 'left' : 'right'),
295
+ icon: isRtl ? chevronLeftIcon : chevronRightIcon
296
+ },
297
+ icon: isRtl ? chevronLeftIcon : chevronRightIcon
289
298
  })]);
290
299
  return h("div", {
291
300
  "class": "k-matches-container"
@@ -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;
@@ -55,6 +55,14 @@ var foregroundColor = 'editor.foregroundColor';
55
55
  * @hidden
56
56
  */
57
57
  var backgroundColor = 'editor.backgroundColor';
58
+ /**
59
+ * @hidden
60
+ */
61
+ var foregroundColorAriaLabel = 'editor.foregroundColorAriaLabel';
62
+ /**
63
+ * @hidden
64
+ */
65
+ var backgroundColorAriaLabel = 'editor.backgroundColorAriaLabel';
58
66
  /**
59
67
  * @hidden
60
68
  */
@@ -345,6 +353,8 @@ export var messages = (_a = {},
345
353
  _a[pdf] = 'Export as PDF',
346
354
  _a[foregroundColor] = 'Color',
347
355
  _a[backgroundColor] = 'Background color',
356
+ _a[foregroundColorAriaLabel] = 'Set ForeGround color',
357
+ _a[backgroundColorAriaLabel] = 'Set Background color',
348
358
  // Tables
349
359
  _a[createTable] = 'Create a table',
350
360
  _a[createTableHint] = 'Create a {0} x {1} table',
@@ -435,6 +445,8 @@ export var keys = {
435
445
  pdf: pdf,
436
446
  foregroundColor: foregroundColor,
437
447
  backgroundColor: backgroundColor,
448
+ foregroundColorAriaLabel: foregroundColorAriaLabel,
449
+ backgroundColorAriaLabel: backgroundColorAriaLabel,
438
450
  createTable: createTable,
439
451
  createTableHint: createTableHint,
440
452
  addRowBefore: addRowBefore,
@@ -5,7 +5,7 @@ export var packageMetadata = {
5
5
  name: '@progress/kendo-vue-editor',
6
6
  productName: 'Kendo UI for Vue',
7
7
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
8
- publishDate: 1672389771,
8
+ publishDate: 1673273667,
9
9
  version: '',
10
10
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
11
11
  };
@@ -29,7 +29,8 @@ var ApplyColorVue2 = {
29
29
  color: String,
30
30
  colorPickerProps: Object,
31
31
  commandName: String,
32
- dir: String
32
+ dir: String,
33
+ ariaLabel: String
33
34
  },
34
35
  inject: {
35
36
  kendoLocalizationService: {
@@ -48,7 +49,8 @@ var ApplyColorVue2 = {
48
49
  var h = gh || createElement;
49
50
  var _a = this.$props,
50
51
  colorPickerProps = _a.colorPickerProps,
51
- dir = _a.dir;
52
+ dir = _a.dir,
53
+ ariaLabel = _a.ariaLabel;
52
54
  var titleKey = colorPickerProps.title;
53
55
  var localization = provideLocalizationService(this);
54
56
  var cpProps = __assign(__assign({}, colorPickerProps), {
@@ -56,7 +58,8 @@ var ApplyColorVue2 = {
56
58
  showButtons: false,
57
59
  showClearButton: false,
58
60
  showPreview: false,
59
- title: titleKey ? localization.toLanguageString(titleKey, messages[titleKey]) : titleKey
61
+ title: titleKey ? localization.toLanguageString(titleKey, messages[titleKey]) : titleKey,
62
+ ariaLabel: ariaLabel
60
63
  });
61
64
  var cp = h(ColorPicker, __assign({
62
65
  onChange: this.onChange,
@@ -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");
@@ -258,14 +259,18 @@ var FindAndReplaceDialogVue2 = {
258
259
  return [h(kendo_vue_common_1.Icon, {
259
260
  name: "chevron-".concat(isRtl ? 'right' : 'left'),
260
261
  attrs: _this.v3 ? undefined : {
261
- name: "chevron-".concat(isRtl ? 'right' : 'left')
262
- }
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
263
266
  }), localization.toLanguageString(findReplacePrevMatch, main_1.messages[findReplacePrevMatch])];
264
267
  } : [h(kendo_vue_common_1.Icon, {
265
268
  name: "chevron-".concat(isRtl ? 'right' : 'left'),
266
269
  attrs: _this.v3 ? undefined : {
267
- name: "chevron-".concat(isRtl ? 'right' : 'left')
268
- }
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
269
274
  }), localization.toLanguageString(findReplacePrevMatch, main_1.messages[findReplacePrevMatch])]);
270
275
  var nextButton =
271
276
  // @ts-ignore function children
@@ -284,14 +289,18 @@ var FindAndReplaceDialogVue2 = {
284
289
  return [localization.toLanguageString(findReplaceNextMatch, main_1.messages[findReplaceNextMatch]), h(kendo_vue_common_1.Icon, {
285
290
  name: "chevron-".concat(isRtl ? 'left' : 'right'),
286
291
  attrs: _this.v3 ? undefined : {
287
- name: "chevron-".concat(isRtl ? 'left' : 'right')
288
- }
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
289
296
  })];
290
297
  } : [localization.toLanguageString(findReplaceNextMatch, main_1.messages[findReplaceNextMatch]), h(kendo_vue_common_1.Icon, {
291
298
  name: "chevron-".concat(isRtl ? 'left' : 'right'),
292
299
  attrs: _this.v3 ? undefined : {
293
- name: "chevron-".concat(isRtl ? 'left' : 'right')
294
- }
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
295
304
  })]);
296
305
  return h("div", {
297
306
  "class": "k-matches-container"
@@ -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;
@@ -58,6 +58,14 @@ var foregroundColor = 'editor.foregroundColor';
58
58
  * @hidden
59
59
  */
60
60
  var backgroundColor = 'editor.backgroundColor';
61
+ /**
62
+ * @hidden
63
+ */
64
+ var foregroundColorAriaLabel = 'editor.foregroundColorAriaLabel';
65
+ /**
66
+ * @hidden
67
+ */
68
+ var backgroundColorAriaLabel = 'editor.backgroundColorAriaLabel';
61
69
  /**
62
70
  * @hidden
63
71
  */
@@ -348,6 +356,8 @@ exports.messages = (_a = {},
348
356
  _a[pdf] = 'Export as PDF',
349
357
  _a[foregroundColor] = 'Color',
350
358
  _a[backgroundColor] = 'Background color',
359
+ _a[foregroundColorAriaLabel] = 'Set ForeGround color',
360
+ _a[backgroundColorAriaLabel] = 'Set Background color',
351
361
  // Tables
352
362
  _a[createTable] = 'Create a table',
353
363
  _a[createTableHint] = 'Create a {0} x {1} table',
@@ -438,6 +448,8 @@ exports.keys = {
438
448
  pdf: pdf,
439
449
  foregroundColor: foregroundColor,
440
450
  backgroundColor: backgroundColor,
451
+ foregroundColorAriaLabel: foregroundColorAriaLabel,
452
+ backgroundColorAriaLabel: backgroundColorAriaLabel,
441
453
  createTable: createTable,
442
454
  createTableHint: createTableHint,
443
455
  addRowBefore: addRowBefore,
@@ -8,7 +8,7 @@ exports.packageMetadata = {
8
8
  name: '@progress/kendo-vue-editor',
9
9
  productName: 'Kendo UI for Vue',
10
10
  productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
11
- publishDate: 1672389771,
11
+ publishDate: 1673273667,
12
12
  version: '',
13
13
  licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
14
14
  };
@@ -35,7 +35,8 @@ var ApplyColorVue2 = {
35
35
  color: String,
36
36
  colorPickerProps: Object,
37
37
  commandName: String,
38
- dir: String
38
+ dir: String,
39
+ ariaLabel: String
39
40
  },
40
41
  inject: {
41
42
  kendoLocalizationService: {
@@ -54,7 +55,8 @@ var ApplyColorVue2 = {
54
55
  var h = gh || createElement;
55
56
  var _a = this.$props,
56
57
  colorPickerProps = _a.colorPickerProps,
57
- dir = _a.dir;
58
+ dir = _a.dir,
59
+ ariaLabel = _a.ariaLabel;
58
60
  var titleKey = colorPickerProps.title;
59
61
  var localization = (0, kendo_vue_intl_1.provideLocalizationService)(this);
60
62
  var cpProps = __assign(__assign({}, colorPickerProps), {
@@ -62,7 +64,8 @@ var ApplyColorVue2 = {
62
64
  showButtons: false,
63
65
  showClearButton: false,
64
66
  showPreview: false,
65
- title: titleKey ? localization.toLanguageString(titleKey, main_1.messages[titleKey]) : titleKey
67
+ title: titleKey ? localization.toLanguageString(titleKey, main_1.messages[titleKey]) : titleKey,
68
+ ariaLabel: ariaLabel
66
69
  });
67
70
  var cp = h(kendo_vue_inputs_1.ColorPicker, __assign({
68
71
  onChange: this.onChange,