@progress/kendo-angular-editor 24.2.2-develop.9 → 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.
- package/fesm2022/progress-kendo-angular-editor.mjs +192 -192
- package/index.d.ts +2173 -67
- package/package-metadata.mjs +2 -2
- package/package.json +20 -20
- package/schematics/ngAdd/index.js +4 -4
- package/common/active-marks.d.ts +0 -12
- package/common/apply-to-word-options.d.ts +0 -26
- package/common/commands.d.ts +0 -41
- package/common/css-settings.interface.d.ts +0 -30
- package/common/direction.d.ts +0 -8
- package/common/error-messages.d.ts +0 -8
- package/common/font-family-item.interface.d.ts +0 -25
- package/common/font-size-item.interface.d.ts +0 -25
- package/common/format-item.interface.d.ts +0 -25
- package/common/image-data.interface.d.ts +0 -13
- package/common/link-data.interface.d.ts +0 -13
- package/common/paste-cleanup-settings.d.ts +0 -64
- package/common/plugins-function.d.ts +0 -18
- package/common/predicate.d.ts +0 -9
- package/common/provider.service.d.ts +0 -14
- package/common/resizable-options.interface.d.ts +0 -35
- package/common/styles.d.ts +0 -16
- package/common/table-data.interface.d.ts +0 -11
- package/config/command-icons.d.ts +0 -13
- package/config/commands.d.ts +0 -9
- package/config/indent-rules.d.ts +0 -33
- package/config/schema.d.ts +0 -13
- package/config/semantic-nodes.d.ts +0 -12
- package/config/table-commands.d.ts +0 -10
- package/config/utils.d.ts +0 -73
- package/dialogs/colorpicker-dialog.component.d.ts +0 -36
- package/dialogs/file-link-dialog.component.d.ts +0 -33
- package/dialogs/font-family-dialog.component.d.ts +0 -31
- package/dialogs/font-size-dialog.component.d.ts +0 -31
- package/dialogs/format-dialog.component.d.ts +0 -31
- package/dialogs/image-dialog.component.d.ts +0 -40
- package/dialogs/insert-table-dialog.component.d.ts +0 -24
- package/dialogs/source-dialog.component.d.ts +0 -27
- package/directives.d.ts +0 -51
- package/editor-toolbar-state.d.ts +0 -20
- package/editor.component.d.ts +0 -277
- package/editor.module.d.ts +0 -73
- package/localization/custom-messages.component.d.ts +0 -27
- package/localization/editor-localization.service.d.ts +0 -14
- package/localization/localized-messages.directive.d.ts +0 -16
- package/localization/messages.d.ts +0 -242
- package/package-metadata.d.ts +0 -9
- package/preventable-events/paste-event.d.ts +0 -27
- package/preventable-events/preventable-event.d.ts +0 -21
- package/tools/alignment/editor-align-center-button.directive.d.ts +0 -28
- package/tools/alignment/editor-align-justify-button.directive.d.ts +0 -28
- package/tools/alignment/editor-align-left-button.directive.d.ts +0 -28
- package/tools/alignment/editor-align-right-button.directive.d.ts +0 -28
- package/tools/blockquote/editor-blockquote-button.directive.d.ts +0 -26
- package/tools/colorpicker/editor-back-color.directive.d.ts +0 -26
- package/tools/colorpicker/editor-colorpicker.component.d.ts +0 -129
- package/tools/colorpicker/editor-fore-color.directive.d.ts +0 -22
- package/tools/editor-clean-formatting-button.directive.d.ts +0 -27
- package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +0 -27
- package/tools/fontfamily/editor-fontfamily.component.d.ts +0 -91
- package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +0 -27
- package/tools/fontsize/editor-fontsize.component.d.ts +0 -91
- package/tools/format/editor-format-dropdownlist.component.d.ts +0 -27
- package/tools/format/editor-format.component.d.ts +0 -83
- package/tools/history/editor-redo-button.directive.d.ts +0 -28
- package/tools/history/editor-undo-button.directive.d.ts +0 -28
- package/tools/image/editor-insert-image-button.directive.d.ts +0 -27
- package/tools/indentation/editor-indent-button.directive.d.ts +0 -27
- package/tools/indentation/editor-outdent-button.directive.d.ts +0 -27
- package/tools/link/editor-create-link-button.directive.d.ts +0 -27
- package/tools/link/editor-insert-file-button.directive.d.ts +0 -26
- package/tools/link/editor-unlink-button.directive.d.ts +0 -27
- package/tools/list/editor-insert-ordered-list-button.directive.d.ts +0 -27
- package/tools/list/editor-insert-unordered-list-button.directive.d.ts +0 -28
- package/tools/print/editor-print-button.directive.d.ts +0 -31
- package/tools/select-all/select-all-button.directive.d.ts +0 -28
- package/tools/shared/dropdown-tool.directive.d.ts +0 -20
- package/tools/shared/editor-command-base.d.ts +0 -31
- package/tools/shared/editor-command-button.d.ts +0 -24
- package/tools/shared/editor-command-dialog.d.ts +0 -23
- package/tools/source/editor-view-source-button.directive.d.ts +0 -27
- package/tools/tables/editor-add-column-after-button.directive.d.ts +0 -28
- package/tools/tables/editor-add-column-before-button.directive.d.ts +0 -28
- package/tools/tables/editor-add-row-after-button.directive.d.ts +0 -28
- package/tools/tables/editor-add-row-before-button.directive.d.ts +0 -28
- package/tools/tables/editor-delete-column-button.directive.d.ts +0 -28
- package/tools/tables/editor-delete-row-button.directive.d.ts +0 -28
- package/tools/tables/editor-delete-table-button.directive.d.ts +0 -28
- package/tools/tables/editor-insert-table-button.component.d.ts +0 -87
- package/tools/tables/editor-merge-cells-button.directive.d.ts +0 -30
- package/tools/tables/editor-split-cell-button.directive.d.ts +0 -30
- package/tools/tables/popup-table-grid.component.d.ts +0 -31
- package/tools/tools.service.d.ts +0 -17
- package/tools/typographical-emphasis/editor-bold-button.directive.d.ts +0 -28
- package/tools/typographical-emphasis/editor-italic-button.directive.d.ts +0 -28
- package/tools/typographical-emphasis/editor-strikethrough-button.directive.d.ts +0 -28
- package/tools/typographical-emphasis/editor-subscript-button.directive.d.ts +0 -28
- package/tools/typographical-emphasis/editor-superscript-button.directive.d.ts +0 -28
- package/tools/typographical-emphasis/editor-underline-button.directive.d.ts +0 -28
- 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;
|