@progress/kendo-angular-editor 4.0.0-next.202204010905 → 4.0.1-dev.202205191407

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 (29) hide show
  1. package/bundles/kendo-angular-editor.umd.js +1 -1
  2. package/common/styles.d.ts +1 -1
  3. package/editor.component.d.ts +2 -0
  4. package/esm2015/common/styles.js +76 -50
  5. package/esm2015/dialogs/colorpicker-dialog.component.js +1 -1
  6. package/esm2015/dialogs/file-link-dialog.component.js +1 -1
  7. package/esm2015/dialogs/font-family-dialog.component.js +1 -1
  8. package/esm2015/dialogs/font-size-dialog.component.js +1 -1
  9. package/esm2015/dialogs/format-dialog.component.js +1 -1
  10. package/esm2015/dialogs/image-dialog.component.js +1 -1
  11. package/esm2015/dialogs/insert-table-dialog.component.js +1 -1
  12. package/esm2015/dialogs/source-dialog.component.js +1 -1
  13. package/esm2015/editor.component.js +35 -17
  14. package/esm2015/main.js +2 -1
  15. package/esm2015/package-metadata.js +1 -1
  16. package/esm2015/tools/colorpicker/editor-colorpicker.component.js +1 -1
  17. package/esm2015/tools/fontfamily/editor-fontfamily-dropdownlist.component.js +1 -1
  18. package/esm2015/tools/fontfamily/editor-fontfamily.component.js +1 -1
  19. package/esm2015/tools/fontsize/editor-fontsize-dropdownlist.component.js +1 -1
  20. package/esm2015/tools/fontsize/editor-fontsize.component.js +1 -1
  21. package/esm2015/tools/format/editor-format-dropdownlist.component.js +1 -1
  22. package/esm2015/tools/format/editor-format.component.js +1 -1
  23. package/esm2015/tools/tables/editor-insert-table-button.component.js +1 -1
  24. package/esm2015/util.js +8 -0
  25. package/fesm2015/kendo-angular-editor.js +135 -84
  26. package/main.d.ts +2 -1
  27. package/package.json +18 -20
  28. package/schematics/ngAdd/index.js +2 -2
  29. package/util.d.ts +7 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-editor",
3
- "version": "4.0.0-next.202204010905",
3
+ "version": "4.0.1-dev.202205191407",
4
4
  "description": "Kendo UI Editor for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -20,24 +20,24 @@
20
20
  "friendlyName": "Editor"
21
21
  },
22
22
  "dependencies": {
23
- "@progress/kendo-editor-common": "dev",
24
- "@progress/kendo-schematics": "next",
23
+ "@progress/kendo-editor-common": "1.9.0",
24
+ "@progress/kendo-schematics": "^3.0.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "peerDependencies": {
28
- "@angular/common": "^12.0.0 || ^13.0.0",
29
- "@angular/core": "^12.0.0 || ^13.0.0",
30
- "@angular/forms": "^12.0.0 || ^13.0.0",
31
- "@progress/kendo-angular-buttons": "next",
32
- "@progress/kendo-angular-common": "next",
33
- "@progress/kendo-angular-dialog": "next",
34
- "@progress/kendo-angular-dropdowns": "^6.0.0",
35
- "@progress/kendo-angular-inputs": "next",
36
- "@progress/kendo-angular-intl": "^3.0.0",
37
- "@progress/kendo-angular-l10n": "next",
38
- "@progress/kendo-angular-layout": "next",
39
- "@progress/kendo-angular-popup": "next",
40
- "@progress/kendo-angular-toolbar": "next",
28
+ "@angular/common": "12 - 14",
29
+ "@angular/core": "12 - 14",
30
+ "@angular/forms": "12 - 14",
31
+ "@progress/kendo-angular-buttons": "^8.0.0",
32
+ "@progress/kendo-angular-common": "^3.0.0",
33
+ "@progress/kendo-angular-dialog": "^7.0.0",
34
+ "@progress/kendo-angular-dropdowns": "^7.0.0",
35
+ "@progress/kendo-angular-inputs": "^9.0.0",
36
+ "@progress/kendo-angular-intl": "^4.0.0",
37
+ "@progress/kendo-angular-l10n": "^4.0.0",
38
+ "@progress/kendo-angular-layout": "^7.0.0",
39
+ "@progress/kendo-angular-popup": "^5.0.0",
40
+ "@progress/kendo-angular-toolbar": "^6.0.0",
41
41
  "@progress/kendo-drawing": "^1.5.12",
42
42
  "@progress/kendo-licensing": "^1.0.2",
43
43
  "rxjs": "^6.5.3 || ^7.0.0"
@@ -69,12 +69,10 @@
69
69
  "release": {
70
70
  "debug": false,
71
71
  "branchTags": {
72
- "develop": "dev",
73
- "ng12-update": "next"
72
+ "develop": "dev"
74
73
  },
75
74
  "fallbackTags": {
76
- "dev": "latest",
77
- "next": "latest"
75
+ "dev": "latest"
78
76
  },
79
77
  "analyzeCommits": "@telerik/semantic-prerelease/analyzeCommits",
80
78
  "generateNotes": "@progress/kendo-angular-tasks/lib/generateNotes",
@@ -8,9 +8,9 @@ const schematics_1 = require("@angular-devkit/schematics");
8
8
  function default_1(options) {
9
9
  const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'EditorModule', package: 'editor', peerDependencies: {
10
10
  // peer dependency of kendo-angular-dropdowns
11
- '@progress/kendo-angular-treeview': '^6.0.0',
11
+ '@progress/kendo-angular-treeview': '^7.0.0',
12
12
  // peer dependency of kendo-angular-layout
13
- '@progress/kendo-angular-progressbar': '^2.0.0'
13
+ '@progress/kendo-angular-progressbar': '^3.0.0'
14
14
  } });
15
15
  return schematics_1.externalSchematic('@progress/kendo-schematics', 'ng-add', finalOptions);
16
16
  }
package/util.d.ts CHANGED
@@ -2,6 +2,7 @@
2
2
  * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
+ import { EditorState } from '@progress/kendo-editor-common';
5
6
  import { ActiveMarks } from './common/active-marks';
6
7
  import { Predicate } from './common/predicate';
7
8
  /**
@@ -76,3 +77,9 @@ export declare const conditionallyExecute: <T, R>(fn: (x: T) => R) => (condition
76
77
  * @hidden
77
78
  */
78
79
  export declare const pipe: (...fns: any[]) => (x: any) => any;
80
+ /**
81
+ * A method for extracting the text from the current editor state's selection
82
+ * @param state
83
+ * @returns
84
+ */
85
+ export declare const getSelectionText: (state: EditorState) => string;