@progress/kendo-angular-editor 19.3.0-develop.32 → 19.3.0-develop.34

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.
@@ -9,7 +9,7 @@ import { BehaviorSubject, fromEvent, Subject, zip } from 'rxjs';
9
9
  import { map, filter, take } from 'rxjs/operators';
10
10
  import { ToolBarButtonComponent, ToolBarButtonGroupComponent, ToolBarComponent } from '@progress/kendo-angular-toolbar';
11
11
  import { DialogService } from '@progress/kendo-angular-dialog';
12
- import { guid, hasObservers, isDocumentAvailable, KendoInput, shouldShowValidationUI, getLicenseMessage, WatermarkOverlayComponent } from '@progress/kendo-angular-common';
12
+ import { guid, hasObservers, isDocumentAvailable, KendoInput, shouldShowValidationUI, getLicenseMessage, WatermarkOverlayComponent, Keys } from '@progress/kendo-angular-common';
13
13
  import { buildKeymap, buildListKeymap, getHtml, pasteCleanup, sanitize, removeComments, sanitizeClassAttr, sanitizeStyleAttr, removeAttribute, placeholder, EditorView, EditorState, baseKeymap, keymap, history, parseContent, Plugin, PluginKey, TextSelection, Schema, AllSelection, gapCursor, getSelectionText, imageResizing, tableEditing, caretColor, tableResizing, cspFix } from '@progress/kendo-editor-common';
14
14
  import { validatePackage } from '@progress/kendo-licensing';
15
15
  import { L10N_PREFIX, LocalizationService } from '@progress/kendo-angular-l10n';
@@ -724,8 +724,7 @@ export class EditorComponent {
724
724
  this.cdr.markForCheck();
725
725
  }));
726
726
  this.subs.add(fromEvent(this.viewMountElement, 'keyup')
727
- .pipe(map((e) => e.keyCode), filter((code) => code === 121), // F10
728
- map(() => this.toolbarElement))
727
+ .pipe(map((e) => e.code), filter((code) => code === Keys.F10), map(() => this.toolbarElement))
729
728
  .subscribe((toolbar) => toolbar.nativeElement.focus()));
730
729
  this.subs.add(fromEvent(this.viewMountElement, 'blur')
731
730
  .pipe(filter((event) => !this.viewMountElement.contains(event.relatedTarget)))
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1754579781,
14
- version: '19.3.0-develop.32',
13
+ publishDate: 1754895167,
14
+ version: '19.3.0-develop.34',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -151,7 +151,7 @@ export class EditorInsertTableButtonComponent extends ToolBarToolComponent {
151
151
  * @hidden
152
152
  */
153
153
  handleKey(ev) {
154
- if (ev.keyCode === Keys.Space || ev.keyCode === Keys.Enter) {
154
+ if (ev.code === Keys.Space || ev.code === Keys.Enter || ev.code === Keys.NumpadEnter) {
155
155
  return true;
156
156
  }
157
157
  this.tabIndex = -1;
@@ -13,7 +13,7 @@ import * as i1$2 from '@progress/kendo-angular-toolbar';
13
13
  import { ToolBarToolComponent, ToolBarComponent, ToolBarButtonGroupComponent, ToolBarButtonComponent, KENDO_TOOLBAR } from '@progress/kendo-angular-toolbar';
14
14
  import * as i1$1 from '@progress/kendo-angular-dialog';
15
15
  import { DialogContentBase, DialogTitleBarComponent, DialogActionsComponent, DialogContainerService, DialogService, WindowService, WindowContainerService } from '@progress/kendo-angular-dialog';
16
- import { guid, getLicenseMessage, shouldShowValidationUI, isDocumentAvailable, hasObservers, KendoInput, WatermarkOverlayComponent, isPresent as isPresent$1, Keys, ResizeBatchService } from '@progress/kendo-angular-common';
16
+ import { guid, getLicenseMessage, shouldShowValidationUI, isDocumentAvailable, Keys, hasObservers, KendoInput, WatermarkOverlayComponent, isPresent as isPresent$1, ResizeBatchService } from '@progress/kendo-angular-common';
17
17
  import { marks as marks$1, nodes as nodes$1, Schema, createTable, insertNode, alignBlocks, alignRemoveRules, expandToWordWrap, toggleInlineFormat, bold, cleanFormatting, applyLink, applyInlineStyle, insertText, italic, strikethrough, subscript, superscript, underline, removeLink, link, selectAll, isAligned, alignCenterRules, alignJustifyRules, alignLeftRules, alignRightRules, formatBlockElements, getHtml, indent, insertImage, toggleOrderedList, toggleUnorderedList, outdent, redo, setHtml, undo, blockquote, addColumnBefore, addColumnAfter, addRowBefore, addRowAfter, deleteRow, deleteColumn, mergeCells, splitCell, deleteTable, hasMark, activeNode, canIndentAsListItem, canBeIndented, indentRules, hasNode, canOutdentAsListItem, outdentRules, isIndented, getActiveMarks, expandSelection, getSelectionText as getSelectionText$1, getNodeFromSelection, getMark, removeComments, sanitize, removeAttribute, sanitizeStyleAttr, sanitizeClassAttr, TextSelection, parseContent, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, cspFix, placeholder, EditorState, EditorView, pasteCleanup, AllSelection } from '@progress/kendo-editor-common';
18
18
  export { AllSelection, CellSelection, Decoration, DecorationSet, EditorState, EditorView, InputRule, Mark, MarkType, Node, NodeSelection, NodeType, Plugin, PluginKey, Schema, TextSelection, Transaction, baseKeymap, dropCursor, flattenNestedSpans, gapCursor, history, inputRules, keymap, tableNodes, textblockTypeInputRule, wrappingInputRule } from '@progress/kendo-editor-common';
19
19
  import { validatePackage } from '@progress/kendo-licensing';
@@ -36,8 +36,8 @@ const packageMetadata = {
36
36
  productName: 'Kendo UI for Angular',
37
37
  productCode: 'KENDOUIANGULAR',
38
38
  productCodes: ['KENDOUIANGULAR'],
39
- publishDate: 1754579781,
40
- version: '19.3.0-develop.32',
39
+ publishDate: 1754895167,
40
+ version: '19.3.0-develop.34',
41
41
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
42
42
  };
43
43
 
@@ -3815,8 +3815,7 @@ class EditorComponent {
3815
3815
  this.cdr.markForCheck();
3816
3816
  }));
3817
3817
  this.subs.add(fromEvent(this.viewMountElement, 'keyup')
3818
- .pipe(map((e) => e.keyCode), filter$1((code) => code === 121), // F10
3819
- map(() => this.toolbarElement))
3818
+ .pipe(map((e) => e.code), filter$1((code) => code === Keys.F10), map(() => this.toolbarElement))
3820
3819
  .subscribe((toolbar) => toolbar.nativeElement.focus()));
3821
3820
  this.subs.add(fromEvent(this.viewMountElement, 'blur')
3822
3821
  .pipe(filter$1((event) => !this.viewMountElement.contains(event.relatedTarget)))
@@ -6145,7 +6144,7 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
6145
6144
  * @hidden
6146
6145
  */
6147
6146
  handleKey(ev) {
6148
- if (ev.keyCode === Keys.Space || ev.keyCode === Keys.Enter) {
6147
+ if (ev.code === Keys.Space || ev.code === Keys.Enter || ev.code === Keys.NumpadEnter) {
6149
6148
  return true;
6150
6149
  }
6151
6150
  this.tabIndex = -1;
package/index.d.ts CHANGED
@@ -14,6 +14,9 @@ export { EditorResizableOptions } from './common/resizable-options.interface';
14
14
  export { FontSizeItem } from './common/font-size-item.interface';
15
15
  export { FontFamilyItem } from './common/font-family-item.interface';
16
16
  export { EditorPasteEvent } from './preventable-events/paste-event';
17
+ export { PasteCleanupSettings } from './common/paste-cleanup-settings';
18
+ export { EditorCommand, DialogCommand } from './common/commands';
19
+ export { FormatItem } from './common/format-item.interface';
17
20
  export { PopupTableGridComponent } from './tools/tables/popup-table-grid.component';
18
21
  export { FormatDropDownListComponent } from './tools/format/editor-format-dropdownlist.component';
19
22
  export { FontFamilyDropDownListComponent } from './tools/fontfamily/editor-fontfamily-dropdownlist.component';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-editor",
3
- "version": "19.3.0-develop.32",
3
+ "version": "19.3.0-develop.34",
4
4
  "description": "Kendo UI Editor for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -17,7 +17,7 @@
17
17
  "package": {
18
18
  "productName": "Kendo UI for Angular",
19
19
  "productCode": "KENDOUIANGULAR",
20
- "publishDate": 1754579781,
20
+ "publishDate": 1754895167,
21
21
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
22
22
  }
23
23
  },
@@ -29,23 +29,23 @@
29
29
  "@angular/platform-browser": "16 - 20",
30
30
  "@progress/kendo-drawing": "^1.21.0",
31
31
  "@progress/kendo-licensing": "^1.7.0",
32
- "@progress/kendo-angular-buttons": "19.3.0-develop.32",
33
- "@progress/kendo-angular-common": "19.3.0-develop.32",
34
- "@progress/kendo-angular-dialog": "19.3.0-develop.32",
35
- "@progress/kendo-angular-dropdowns": "19.3.0-develop.32",
36
- "@progress/kendo-angular-inputs": "19.3.0-develop.32",
37
- "@progress/kendo-angular-intl": "19.3.0-develop.32",
38
- "@progress/kendo-angular-l10n": "19.3.0-develop.32",
39
- "@progress/kendo-angular-label": "19.3.0-develop.32",
40
- "@progress/kendo-angular-layout": "19.3.0-develop.32",
41
- "@progress/kendo-angular-icons": "19.3.0-develop.32",
42
- "@progress/kendo-angular-popup": "19.3.0-develop.32",
43
- "@progress/kendo-angular-toolbar": "19.3.0-develop.32",
32
+ "@progress/kendo-angular-buttons": "19.3.0-develop.34",
33
+ "@progress/kendo-angular-common": "19.3.0-develop.34",
34
+ "@progress/kendo-angular-dialog": "19.3.0-develop.34",
35
+ "@progress/kendo-angular-dropdowns": "19.3.0-develop.34",
36
+ "@progress/kendo-angular-inputs": "19.3.0-develop.34",
37
+ "@progress/kendo-angular-intl": "19.3.0-develop.34",
38
+ "@progress/kendo-angular-l10n": "19.3.0-develop.34",
39
+ "@progress/kendo-angular-label": "19.3.0-develop.34",
40
+ "@progress/kendo-angular-layout": "19.3.0-develop.34",
41
+ "@progress/kendo-angular-icons": "19.3.0-develop.34",
42
+ "@progress/kendo-angular-popup": "19.3.0-develop.34",
43
+ "@progress/kendo-angular-toolbar": "19.3.0-develop.34",
44
44
  "rxjs": "^6.5.3 || ^7.0.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.3.1",
48
- "@progress/kendo-angular-schematics": "19.3.0-develop.32",
48
+ "@progress/kendo-angular-schematics": "19.3.0-develop.34",
49
49
  "@progress/kendo-editor-common": "1.12.3"
50
50
  },
51
51
  "schematics": "./schematics/collection.json",
@@ -4,12 +4,12 @@ const schematics_1 = require("@angular-devkit/schematics");
4
4
  function default_1(options) {
5
5
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'EditorModule', package: 'editor', peerDependencies: {
6
6
  // peer dependencies of kendo-angular-dropdowns
7
- '@progress/kendo-angular-navigation': '19.3.0-develop.32',
8
- '@progress/kendo-angular-treeview': '19.3.0-develop.32',
7
+ '@progress/kendo-angular-navigation': '19.3.0-develop.34',
8
+ '@progress/kendo-angular-treeview': '19.3.0-develop.34',
9
9
  // peer dependency of kendo-angular-layout
10
- '@progress/kendo-angular-progressbar': '19.3.0-develop.32',
10
+ '@progress/kendo-angular-progressbar': '19.3.0-develop.34',
11
11
  // peer dependency of kendo-angular-inputs
12
- '@progress/kendo-angular-dialog': '19.3.0-develop.32',
12
+ '@progress/kendo-angular-dialog': '19.3.0-develop.34',
13
13
  // Peer dependency of icons
14
14
  '@progress/kendo-svg-icons': '^4.0.0'
15
15
  } });