@progress/kendo-angular-editor 24.2.2 → 25.0.0-develop.1

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 (100) hide show
  1. package/fesm2022/progress-kendo-angular-editor.mjs +192 -192
  2. package/index.d.ts +2173 -67
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +20 -20
  5. package/schematics/ngAdd/index.js +4 -4
  6. package/common/active-marks.d.ts +0 -12
  7. package/common/apply-to-word-options.d.ts +0 -26
  8. package/common/commands.d.ts +0 -41
  9. package/common/css-settings.interface.d.ts +0 -30
  10. package/common/direction.d.ts +0 -8
  11. package/common/error-messages.d.ts +0 -8
  12. package/common/font-family-item.interface.d.ts +0 -25
  13. package/common/font-size-item.interface.d.ts +0 -25
  14. package/common/format-item.interface.d.ts +0 -25
  15. package/common/image-data.interface.d.ts +0 -13
  16. package/common/link-data.interface.d.ts +0 -13
  17. package/common/paste-cleanup-settings.d.ts +0 -64
  18. package/common/plugins-function.d.ts +0 -18
  19. package/common/predicate.d.ts +0 -9
  20. package/common/provider.service.d.ts +0 -14
  21. package/common/resizable-options.interface.d.ts +0 -35
  22. package/common/styles.d.ts +0 -16
  23. package/common/table-data.interface.d.ts +0 -11
  24. package/config/command-icons.d.ts +0 -13
  25. package/config/commands.d.ts +0 -9
  26. package/config/indent-rules.d.ts +0 -33
  27. package/config/schema.d.ts +0 -13
  28. package/config/semantic-nodes.d.ts +0 -12
  29. package/config/table-commands.d.ts +0 -10
  30. package/config/utils.d.ts +0 -73
  31. package/dialogs/colorpicker-dialog.component.d.ts +0 -36
  32. package/dialogs/file-link-dialog.component.d.ts +0 -33
  33. package/dialogs/font-family-dialog.component.d.ts +0 -31
  34. package/dialogs/font-size-dialog.component.d.ts +0 -31
  35. package/dialogs/format-dialog.component.d.ts +0 -31
  36. package/dialogs/image-dialog.component.d.ts +0 -40
  37. package/dialogs/insert-table-dialog.component.d.ts +0 -24
  38. package/dialogs/source-dialog.component.d.ts +0 -27
  39. package/directives.d.ts +0 -51
  40. package/editor-toolbar-state.d.ts +0 -20
  41. package/editor.component.d.ts +0 -277
  42. package/editor.module.d.ts +0 -73
  43. package/localization/custom-messages.component.d.ts +0 -27
  44. package/localization/editor-localization.service.d.ts +0 -14
  45. package/localization/localized-messages.directive.d.ts +0 -16
  46. package/localization/messages.d.ts +0 -242
  47. package/package-metadata.d.ts +0 -9
  48. package/preventable-events/paste-event.d.ts +0 -27
  49. package/preventable-events/preventable-event.d.ts +0 -21
  50. package/tools/alignment/editor-align-center-button.directive.d.ts +0 -28
  51. package/tools/alignment/editor-align-justify-button.directive.d.ts +0 -28
  52. package/tools/alignment/editor-align-left-button.directive.d.ts +0 -28
  53. package/tools/alignment/editor-align-right-button.directive.d.ts +0 -28
  54. package/tools/blockquote/editor-blockquote-button.directive.d.ts +0 -26
  55. package/tools/colorpicker/editor-back-color.directive.d.ts +0 -26
  56. package/tools/colorpicker/editor-colorpicker.component.d.ts +0 -129
  57. package/tools/colorpicker/editor-fore-color.directive.d.ts +0 -22
  58. package/tools/editor-clean-formatting-button.directive.d.ts +0 -27
  59. package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +0 -27
  60. package/tools/fontfamily/editor-fontfamily.component.d.ts +0 -91
  61. package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +0 -27
  62. package/tools/fontsize/editor-fontsize.component.d.ts +0 -91
  63. package/tools/format/editor-format-dropdownlist.component.d.ts +0 -27
  64. package/tools/format/editor-format.component.d.ts +0 -83
  65. package/tools/history/editor-redo-button.directive.d.ts +0 -28
  66. package/tools/history/editor-undo-button.directive.d.ts +0 -28
  67. package/tools/image/editor-insert-image-button.directive.d.ts +0 -27
  68. package/tools/indentation/editor-indent-button.directive.d.ts +0 -27
  69. package/tools/indentation/editor-outdent-button.directive.d.ts +0 -27
  70. package/tools/link/editor-create-link-button.directive.d.ts +0 -27
  71. package/tools/link/editor-insert-file-button.directive.d.ts +0 -26
  72. package/tools/link/editor-unlink-button.directive.d.ts +0 -27
  73. package/tools/list/editor-insert-ordered-list-button.directive.d.ts +0 -27
  74. package/tools/list/editor-insert-unordered-list-button.directive.d.ts +0 -28
  75. package/tools/print/editor-print-button.directive.d.ts +0 -31
  76. package/tools/select-all/select-all-button.directive.d.ts +0 -28
  77. package/tools/shared/dropdown-tool.directive.d.ts +0 -20
  78. package/tools/shared/editor-command-base.d.ts +0 -31
  79. package/tools/shared/editor-command-button.d.ts +0 -24
  80. package/tools/shared/editor-command-dialog.d.ts +0 -23
  81. package/tools/source/editor-view-source-button.directive.d.ts +0 -27
  82. package/tools/tables/editor-add-column-after-button.directive.d.ts +0 -28
  83. package/tools/tables/editor-add-column-before-button.directive.d.ts +0 -28
  84. package/tools/tables/editor-add-row-after-button.directive.d.ts +0 -28
  85. package/tools/tables/editor-add-row-before-button.directive.d.ts +0 -28
  86. package/tools/tables/editor-delete-column-button.directive.d.ts +0 -28
  87. package/tools/tables/editor-delete-row-button.directive.d.ts +0 -28
  88. package/tools/tables/editor-delete-table-button.directive.d.ts +0 -28
  89. package/tools/tables/editor-insert-table-button.component.d.ts +0 -87
  90. package/tools/tables/editor-merge-cells-button.directive.d.ts +0 -30
  91. package/tools/tables/editor-split-cell-button.directive.d.ts +0 -30
  92. package/tools/tables/popup-table-grid.component.d.ts +0 -31
  93. package/tools/tools.service.d.ts +0 -17
  94. package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +0 -28
  95. package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +0 -28
  96. package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +0 -28
  97. package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +0 -28
  98. package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +0 -28
  99. package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +0 -28
  100. package/util.d.ts +0 -96
package/util.d.ts DELETED
@@ -1,96 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { EditorState } from '@progress/kendo-editor-common';
6
- import { ActiveMarks } from './common/active-marks';
7
- import { Predicate } from './common/predicate';
8
- /**
9
- * @hidden
10
- */
11
- export declare function outerWidth(element: HTMLElement): number;
12
- /**
13
- * @hidden
14
- */
15
- export declare const removeEntries: <T>(obj: T, predicate: Predicate<string>) => Partial<T>;
16
- /**
17
- * @hidden
18
- */
19
- export declare const removeEmptyEntries: <T>(obj: T) => Partial<T>;
20
- /**
21
- * @hidden
22
- */
23
- export declare const isEmpty: (obj: object) => boolean;
24
- /**
25
- * @hidden
26
- */
27
- export declare const isNullOrUndefined: (value: any) => boolean;
28
- /**
29
- * @hidden
30
- */
31
- export declare const isPresent: (value: any) => boolean;
32
- /**
33
- * @hidden
34
- */
35
- export declare const safeString: (value: any) => string;
36
- /**
37
- * @hidden
38
- */
39
- export declare const first: (arr: any[]) => any;
40
- /**
41
- * @hidden
42
- */
43
- export declare const last: (arr: any[]) => any;
44
- /**
45
- * @hidden
46
- */
47
- export declare const unique: (arr: any[]) => any[];
48
- /**
49
- * @hidden
50
- */
51
- export declare const split: (splitter: string) => (value: string) => string[];
52
- /**
53
- * @hidden
54
- */
55
- export declare const trim: (value: string) => string;
56
- /**
57
- * @hidden
58
- */
59
- export declare const filter: (predicate: (value: any) => boolean) => (arr: any[]) => any[];
60
- /**
61
- * @hidden
62
- */
63
- export declare const toArray: <T = any>(x: T | T[]) => T[];
64
- /**
65
- * @hidden
66
- */
67
- export declare const getUniqueStyleValues: (style: ActiveMarks, cssStyle: string) => string;
68
- /**
69
- * @hidden
70
- */
71
- export declare const conditionallyExecute: <T, R>(fn: (x: T) => R) => (condition: boolean) => (param: T) => T | R;
72
- /**
73
- * Extracts the text from the current editor state's selection ([see example](https://www.telerik.com/kendo-angular-ui/components/editor/plugins#popup-tools)).
74
- *
75
- * @example
76
- * ```ts
77
- * import { getSelectionText } from '@progress/kendo-angular-editor';
78
- *
79
- * export class AppComponent {
80
- * @ViewChild('editor') public editor;
81
- * public onClick() {
82
- * const selection = getSelectionText(this.editor.view.state);
83
- * }
84
- * }
85
- * ```
86
- * @param state The current `EditorState`.
87
- * @returns The selected text.
88
- */
89
- export declare const getSelectionText: (state: EditorState) => string;
90
- /**
91
- * @hidden
92
- */
93
- export declare const replaceMessagePlaceholder: (message: string, replacements: {
94
- placeholder: string;
95
- value: string;
96
- }[]) => string;