@progress/kendo-angular-editor 21.4.1 → 22.0.0
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 +196 -196
- package/localization/messages.d.ts +1 -1
- package/package.json +20 -28
- package/schematics/ngAdd/index.js +4 -4
- package/tools/shared/editor-command-base.d.ts +1 -1
- package/esm2022/common/active-marks.mjs +0 -5
- package/esm2022/common/apply-to-word-options.mjs +0 -5
- package/esm2022/common/commands.mjs +0 -5
- package/esm2022/common/css-settings.interface.mjs +0 -5
- package/esm2022/common/direction.mjs +0 -5
- package/esm2022/common/error-messages.mjs +0 -16
- package/esm2022/common/font-family-item.interface.mjs +0 -5
- package/esm2022/common/font-size-item.interface.mjs +0 -5
- package/esm2022/common/format-item.interface.mjs +0 -5
- package/esm2022/common/image-data.interface.mjs +0 -5
- package/esm2022/common/link-data.interface.mjs +0 -5
- package/esm2022/common/paste-cleanup-settings.mjs +0 -5
- package/esm2022/common/plugins-function.mjs +0 -5
- package/esm2022/common/predicate.mjs +0 -5
- package/esm2022/common/provider.service.mjs +0 -17
- package/esm2022/common/resizable-options.interface.mjs +0 -5
- package/esm2022/common/styles.mjs +0 -306
- package/esm2022/common/table-data.interface.mjs +0 -5
- package/esm2022/config/command-icons.mjs +0 -93
- package/esm2022/config/commands.mjs +0 -62
- package/esm2022/config/schema.mjs +0 -22
- package/esm2022/config/semantic-nodes.mjs +0 -27
- package/esm2022/config/table-commands.mjs +0 -14
- package/esm2022/config/utils.mjs +0 -96
- package/esm2022/dialogs/colorpicker-dialog.component.mjs +0 -140
- package/esm2022/dialogs/file-link-dialog.component.mjs +0 -252
- package/esm2022/dialogs/font-family-dialog.component.mjs +0 -115
- package/esm2022/dialogs/font-size-dialog.component.mjs +0 -115
- package/esm2022/dialogs/format-dialog.component.mjs +0 -114
- package/esm2022/dialogs/image-dialog.component.mjs +0 -230
- package/esm2022/dialogs/insert-table-dialog.component.mjs +0 -79
- package/esm2022/dialogs/source-dialog.component.mjs +0 -112
- package/esm2022/directives.mjs +0 -95
- package/esm2022/editor-toolbar-state.mjs +0 -280
- package/esm2022/editor.component.mjs +0 -1319
- package/esm2022/editor.module.mjs +0 -89
- package/esm2022/index.mjs +0 -64
- package/esm2022/localization/custom-messages.component.mjs +0 -53
- package/esm2022/localization/editor-localization.service.mjs +0 -31
- package/esm2022/localization/localized-messages.directive.mjs +0 -35
- package/esm2022/localization/messages.mjs +0 -364
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/preventable-events/paste-event.mjs +0 -32
- package/esm2022/preventable-events/preventable-event.mjs +0 -25
- package/esm2022/progress-kendo-angular-editor.mjs +0 -8
- package/esm2022/tools/alignment/editor-align-center-button.directive.mjs +0 -42
- package/esm2022/tools/alignment/editor-align-justify-button.directive.mjs +0 -42
- package/esm2022/tools/alignment/editor-align-left-button.directive.mjs +0 -42
- package/esm2022/tools/alignment/editor-align-right-button.directive.mjs +0 -42
- package/esm2022/tools/blockquote/editor-blockquote-button.directive.mjs +0 -40
- package/esm2022/tools/colorpicker/editor-back-color.directive.mjs +0 -41
- package/esm2022/tools/colorpicker/editor-colorpicker.component.mjs +0 -377
- package/esm2022/tools/colorpicker/editor-fore-color.directive.mjs +0 -37
- package/esm2022/tools/editor-clean-formatting-button.directive.mjs +0 -41
- package/esm2022/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +0 -109
- package/esm2022/tools/fontfamily/editor-fontfamily.component.mjs +0 -297
- package/esm2022/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +0 -98
- package/esm2022/tools/fontsize/editor-fontsize.component.mjs +0 -305
- package/esm2022/tools/format/editor-format-dropdownlist.component.mjs +0 -182
- package/esm2022/tools/format/editor-format.component.mjs +0 -283
- package/esm2022/tools/history/editor-redo-button.directive.mjs +0 -42
- package/esm2022/tools/history/editor-undo-button.directive.mjs +0 -42
- package/esm2022/tools/image/editor-insert-image-button.directive.mjs +0 -41
- package/esm2022/tools/indentation/editor-indent-button.directive.mjs +0 -41
- package/esm2022/tools/indentation/editor-outdent-button.directive.mjs +0 -41
- package/esm2022/tools/link/editor-create-link-button.directive.mjs +0 -41
- package/esm2022/tools/link/editor-insert-file-button.directive.mjs +0 -40
- package/esm2022/tools/link/editor-unlink-button.directive.mjs +0 -41
- package/esm2022/tools/list/editor-insert-ordered-list-button.directive.mjs +0 -41
- package/esm2022/tools/list/editor-insert-unordered-list-button.directive.mjs +0 -42
- package/esm2022/tools/print/editor-print-button.directive.mjs +0 -62
- package/esm2022/tools/select-all/select-all-button.directive.mjs +0 -45
- package/esm2022/tools/shared/dropdown-tool.directive.mjs +0 -40
- package/esm2022/tools/shared/editor-command-base.mjs +0 -78
- package/esm2022/tools/shared/editor-command-button.mjs +0 -37
- package/esm2022/tools/shared/editor-command-dialog.mjs +0 -33
- package/esm2022/tools/source/editor-view-source-button.directive.mjs +0 -41
- package/esm2022/tools/tables/editor-add-column-after-button.directive.mjs +0 -42
- package/esm2022/tools/tables/editor-add-column-before-button.directive.mjs +0 -42
- package/esm2022/tools/tables/editor-add-row-after-button.directive.mjs +0 -42
- package/esm2022/tools/tables/editor-add-row-before-button.directive.mjs +0 -42
- package/esm2022/tools/tables/editor-delete-column-button.directive.mjs +0 -42
- package/esm2022/tools/tables/editor-delete-row-button.directive.mjs +0 -42
- package/esm2022/tools/tables/editor-delete-table-button.directive.mjs +0 -42
- package/esm2022/tools/tables/editor-insert-table-button.component.mjs +0 -307
- package/esm2022/tools/tables/editor-merge-cells-button.directive.mjs +0 -44
- package/esm2022/tools/tables/editor-split-cell-button.directive.mjs +0 -44
- package/esm2022/tools/tables/popup-table-grid.component.mjs +0 -117
- package/esm2022/tools/tools.service.mjs +0 -22
- package/esm2022/tools/typographical-emphasis/editor-bold-button.directive.mjs +0 -42
- package/esm2022/tools/typographical-emphasis/editor-italic-button.directive.mjs +0 -42
- package/esm2022/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +0 -42
- package/esm2022/tools/typographical-emphasis/editor-subscript-button.directive.mjs +0 -42
- package/esm2022/tools/typographical-emphasis/editor-superscript-button.directive.mjs +0 -42
- package/esm2022/tools/typographical-emphasis/editor-underline-button.directive.mjs +0 -42
- package/esm2022/util.mjs +0 -130
|
@@ -238,5 +238,5 @@ export declare class MessagesDirective extends ComponentMessages {
|
|
|
238
238
|
*/
|
|
239
239
|
linkWebAddress: string;
|
|
240
240
|
static ɵfac: i0.ɵɵFactoryDeclaration<MessagesDirective, never>;
|
|
241
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<MessagesDirective, "[kendoEditorMessages]", never, { "alignCenter": { "alias": "alignCenter"; "required": false; }; "alignJustify": { "alias": "alignJustify"; "required": false; }; "alignLeft": { "alias": "alignLeft"; "required": false; }; "alignRight": { "alias": "alignRight"; "required": false; }; "backColor": { "alias": "backColor"; "required": false; }; "blockquote": { "alias": "blockquote"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; "cleanFormatting": { "alias": "cleanFormatting"; "required": false; }; "createLink": { "alias": "createLink"; "required": false; }; "fontFamily": { "alias": "fontFamily"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "foreColor": { "alias": "foreColor"; "required": false; }; "format": { "alias": "format"; "required": false; }; "indent": { "alias": "indent"; "required": false; }; "insertFile": { "alias": "insertFile"; "required": false; }; "insertImage": { "alias": "insertImage"; "required": false; }; "insertOrderedList": { "alias": "insertOrderedList"; "required": false; }; "insertUnorderedList": { "alias": "insertUnorderedList"; "required": false; }; "italic": { "alias": "italic"; "required": false; }; "outdent": { "alias": "outdent"; "required": false; }; "print": { "alias": "print"; "required": false; }; "redo": { "alias": "redo"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "strikethrough": { "alias": "strikethrough"; "required": false; }; "subscript": { "alias": "subscript"; "required": false; }; "superscript": { "alias": "superscript"; "required": false; }; "underline": { "alias": "underline"; "required": false; }; "undo": { "alias": "undo"; "required": false; }; "unlink": { "alias": "unlink"; "required": false; }; "viewSource": { "alias": "viewSource"; "required": false; }; "insertTable": { "alias": "insertTable"; "required": false; }; "insertTableHint": { "alias": "insertTableHint"; "required": false; }; "addColumnBefore": { "alias": "addColumnBefore"; "required": false; }; "addColumnAfter": { "alias": "addColumnAfter"; "required": false; }; "addRowBefore": { "alias": "addRowBefore"; "required": false; }; "addRowAfter": { "alias": "addRowAfter"; "required": false; }; "deleteColumn": { "alias": "deleteColumn"; "required": false; }; "deleteRow": { "alias": "deleteRow"; "required": false; }; "deleteTable": { "alias": "deleteTable"; "required": false; }; "mergeCells": { "alias": "mergeCells"; "required": false; }; "splitCell": { "alias": "splitCell"; "required": false; }; "dialogApply": { "alias": "dialogApply"; "required": false; }; "dialogCancel": { "alias": "dialogCancel"; "required": false; }; "dialogInsert": { "alias": "dialogInsert"; "required": false; }; "dialogUpdate": { "alias": "dialogUpdate"; "required": false; }; "fileText": { "alias": "fileText"; "required": false; }; "fileTitle": { "alias": "fileTitle"; "required": false; }; "fileWebAddress": { "alias": "fileWebAddress"; "required": false; }; "imageAltText": { "alias": "imageAltText"; "required": false; }; "imageHeight": { "alias": "imageHeight"; "required": false; }; "imageWebAddress": { "alias": "imageWebAddress"; "required": false; }; "imageWidth": { "alias": "imageWidth"; "required": false; }; "linkOpenInNewWindow": { "alias": "linkOpenInNewWindow"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkTitle": { "alias": "linkTitle"; "required": false; }; "linkWebAddress": { "alias": "linkWebAddress"; "required": false; }; }, {}, never, never,
|
|
241
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<MessagesDirective, "[kendoEditorMessages]", never, { "alignCenter": { "alias": "alignCenter"; "required": false; }; "alignJustify": { "alias": "alignJustify"; "required": false; }; "alignLeft": { "alias": "alignLeft"; "required": false; }; "alignRight": { "alias": "alignRight"; "required": false; }; "backColor": { "alias": "backColor"; "required": false; }; "blockquote": { "alias": "blockquote"; "required": false; }; "bold": { "alias": "bold"; "required": false; }; "cleanFormatting": { "alias": "cleanFormatting"; "required": false; }; "createLink": { "alias": "createLink"; "required": false; }; "fontFamily": { "alias": "fontFamily"; "required": false; }; "fontSize": { "alias": "fontSize"; "required": false; }; "foreColor": { "alias": "foreColor"; "required": false; }; "format": { "alias": "format"; "required": false; }; "indent": { "alias": "indent"; "required": false; }; "insertFile": { "alias": "insertFile"; "required": false; }; "insertImage": { "alias": "insertImage"; "required": false; }; "insertOrderedList": { "alias": "insertOrderedList"; "required": false; }; "insertUnorderedList": { "alias": "insertUnorderedList"; "required": false; }; "italic": { "alias": "italic"; "required": false; }; "outdent": { "alias": "outdent"; "required": false; }; "print": { "alias": "print"; "required": false; }; "redo": { "alias": "redo"; "required": false; }; "selectAll": { "alias": "selectAll"; "required": false; }; "strikethrough": { "alias": "strikethrough"; "required": false; }; "subscript": { "alias": "subscript"; "required": false; }; "superscript": { "alias": "superscript"; "required": false; }; "underline": { "alias": "underline"; "required": false; }; "undo": { "alias": "undo"; "required": false; }; "unlink": { "alias": "unlink"; "required": false; }; "viewSource": { "alias": "viewSource"; "required": false; }; "insertTable": { "alias": "insertTable"; "required": false; }; "insertTableHint": { "alias": "insertTableHint"; "required": false; }; "addColumnBefore": { "alias": "addColumnBefore"; "required": false; }; "addColumnAfter": { "alias": "addColumnAfter"; "required": false; }; "addRowBefore": { "alias": "addRowBefore"; "required": false; }; "addRowAfter": { "alias": "addRowAfter"; "required": false; }; "deleteColumn": { "alias": "deleteColumn"; "required": false; }; "deleteRow": { "alias": "deleteRow"; "required": false; }; "deleteTable": { "alias": "deleteTable"; "required": false; }; "mergeCells": { "alias": "mergeCells"; "required": false; }; "splitCell": { "alias": "splitCell"; "required": false; }; "dialogApply": { "alias": "dialogApply"; "required": false; }; "dialogCancel": { "alias": "dialogCancel"; "required": false; }; "dialogInsert": { "alias": "dialogInsert"; "required": false; }; "dialogUpdate": { "alias": "dialogUpdate"; "required": false; }; "fileText": { "alias": "fileText"; "required": false; }; "fileTitle": { "alias": "fileTitle"; "required": false; }; "fileWebAddress": { "alias": "fileWebAddress"; "required": false; }; "imageAltText": { "alias": "imageAltText"; "required": false; }; "imageHeight": { "alias": "imageHeight"; "required": false; }; "imageWebAddress": { "alias": "imageWebAddress"; "required": false; }; "imageWidth": { "alias": "imageWidth"; "required": false; }; "linkOpenInNewWindow": { "alias": "linkOpenInNewWindow"; "required": false; }; "linkText": { "alias": "linkText"; "required": false; }; "linkTitle": { "alias": "linkTitle"; "required": false; }; "linkWebAddress": { "alias": "linkWebAddress"; "required": false; }; }, {}, never, never, true, never>;
|
|
242
242
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-editor",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"description": "Kendo UI Editor for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -13,39 +13,33 @@
|
|
|
13
13
|
"Kendo UI"
|
|
14
14
|
],
|
|
15
15
|
"@progress": {
|
|
16
|
-
"friendlyName": "Editor"
|
|
17
|
-
"package": {
|
|
18
|
-
"productName": "Kendo UI for Angular",
|
|
19
|
-
"productCode": "KENDOUIANGULAR",
|
|
20
|
-
"publishDate": 1768393328,
|
|
21
|
-
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
|
-
}
|
|
16
|
+
"friendlyName": "Editor"
|
|
23
17
|
},
|
|
24
18
|
"peerDependencies": {
|
|
25
|
-
"@angular/animations": "
|
|
26
|
-
"@angular/common": "
|
|
27
|
-
"@angular/core": "
|
|
28
|
-
"@angular/forms": "
|
|
29
|
-
"@angular/platform-browser": "
|
|
19
|
+
"@angular/animations": "19 - 21",
|
|
20
|
+
"@angular/common": "19 - 21",
|
|
21
|
+
"@angular/core": "19 - 21",
|
|
22
|
+
"@angular/forms": "19 - 21",
|
|
23
|
+
"@angular/platform-browser": "19 - 21",
|
|
30
24
|
"@progress/kendo-drawing": "^1.23.1",
|
|
31
25
|
"@progress/kendo-licensing": "^1.7.0",
|
|
32
|
-
"@progress/kendo-angular-buttons": "
|
|
33
|
-
"@progress/kendo-angular-common": "
|
|
34
|
-
"@progress/kendo-angular-dialog": "
|
|
35
|
-
"@progress/kendo-angular-dropdowns": "
|
|
36
|
-
"@progress/kendo-angular-inputs": "
|
|
37
|
-
"@progress/kendo-angular-intl": "
|
|
38
|
-
"@progress/kendo-angular-l10n": "
|
|
39
|
-
"@progress/kendo-angular-label": "
|
|
40
|
-
"@progress/kendo-angular-layout": "
|
|
41
|
-
"@progress/kendo-angular-icons": "
|
|
42
|
-
"@progress/kendo-angular-popup": "
|
|
43
|
-
"@progress/kendo-angular-toolbar": "
|
|
26
|
+
"@progress/kendo-angular-buttons": "22.0.0",
|
|
27
|
+
"@progress/kendo-angular-common": "22.0.0",
|
|
28
|
+
"@progress/kendo-angular-dialog": "22.0.0",
|
|
29
|
+
"@progress/kendo-angular-dropdowns": "22.0.0",
|
|
30
|
+
"@progress/kendo-angular-inputs": "22.0.0",
|
|
31
|
+
"@progress/kendo-angular-intl": "22.0.0",
|
|
32
|
+
"@progress/kendo-angular-l10n": "22.0.0",
|
|
33
|
+
"@progress/kendo-angular-label": "22.0.0",
|
|
34
|
+
"@progress/kendo-angular-layout": "22.0.0",
|
|
35
|
+
"@progress/kendo-angular-icons": "22.0.0",
|
|
36
|
+
"@progress/kendo-angular-popup": "22.0.0",
|
|
37
|
+
"@progress/kendo-angular-toolbar": "22.0.0",
|
|
44
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
45
39
|
},
|
|
46
40
|
"dependencies": {
|
|
47
41
|
"tslib": "^2.3.1",
|
|
48
|
-
"@progress/kendo-angular-schematics": "
|
|
42
|
+
"@progress/kendo-angular-schematics": "22.0.0",
|
|
49
43
|
"@progress/kendo-editor-common": "1.12.5"
|
|
50
44
|
},
|
|
51
45
|
"schematics": "./schematics/collection.json",
|
|
@@ -57,8 +51,6 @@
|
|
|
57
51
|
},
|
|
58
52
|
".": {
|
|
59
53
|
"types": "./index.d.ts",
|
|
60
|
-
"esm2022": "./esm2022/progress-kendo-angular-editor.mjs",
|
|
61
|
-
"esm": "./esm2022/progress-kendo-angular-editor.mjs",
|
|
62
54
|
"default": "./fesm2022/progress-kendo-angular-editor.mjs"
|
|
63
55
|
}
|
|
64
56
|
},
|
|
@@ -9,12 +9,12 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
9
9
|
function default_1(options) {
|
|
10
10
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'EditorModule', package: 'editor', peerDependencies: {
|
|
11
11
|
// peer dependencies of kendo-angular-dropdowns
|
|
12
|
-
'@progress/kendo-angular-navigation': '
|
|
13
|
-
'@progress/kendo-angular-treeview': '
|
|
12
|
+
'@progress/kendo-angular-navigation': '22.0.0',
|
|
13
|
+
'@progress/kendo-angular-treeview': '22.0.0',
|
|
14
14
|
// peer dependency of kendo-angular-layout
|
|
15
|
-
'@progress/kendo-angular-progressbar': '
|
|
15
|
+
'@progress/kendo-angular-progressbar': '22.0.0',
|
|
16
16
|
// peer dependency of kendo-angular-inputs
|
|
17
|
-
'@progress/kendo-angular-dialog': '
|
|
17
|
+
'@progress/kendo-angular-dialog': '22.0.0',
|
|
18
18
|
// Peer dependency of icons
|
|
19
19
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
20
20
|
} });
|
|
@@ -27,5 +27,5 @@ export declare abstract class EditorCommandBaseDirective {
|
|
|
27
27
|
protected pointerdownHandler(_event: PointerEvent): void;
|
|
28
28
|
protected onStateChange(_toolBarState: any): void;
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<EditorCommandBaseDirective, never>;
|
|
30
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorCommandBaseDirective, "[kendoEditorCommandBase]", never, {}, {}, never, never,
|
|
30
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<EditorCommandBaseDirective, "[kendoEditorCommandBase]", never, {}, {}, never, never, true, never>;
|
|
31
31
|
}
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,16 +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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export const EditorErrorMessages = {
|
|
9
|
-
schemaType: 'Expected value of type Schema. See https://www.telerik.com/kendo-angular-ui/components/editor/schema/',
|
|
10
|
-
setSchemaOnce: 'The Schema cannot be changed dynamically. See https://www.telerik.com/kendo-angular-ui/components/editor/schema/',
|
|
11
|
-
pluginsCallbackType: (arg) => `plugins must be a function, but received ${JSON.stringify(arg)}.`,
|
|
12
|
-
pastedContentCallbackType: (arg) => `pastedContent must be a function, but received ${JSON.stringify(arg)}.`,
|
|
13
|
-
setPluginsOnce: 'The plugins cannot be changed dynamically. See https://www.telerik.com/kendo-angular-ui/components/editor/plugins/',
|
|
14
|
-
setPlaceHolderOnce: 'The placeholder cannot be changed dynamically. See https://www.telerik.com/kendo-angular-ui/components/editor/plugins/#toc-custom-plugins/',
|
|
15
|
-
printTool: 'The Print tool and functionality are supported only in iframe mode. See https://www.telerik.com/kendo-angular-ui/components/editor/api/EditorPrintDirective/'
|
|
16
|
-
};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,17 +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 { Injectable } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export class ProviderService {
|
|
11
|
-
editor;
|
|
12
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
13
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProviderService });
|
|
14
|
-
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ProviderService, decorators: [{
|
|
16
|
-
type: Injectable
|
|
17
|
-
}] });
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,306 +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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export const defaultStyle = `
|
|
9
|
-
html, body {
|
|
10
|
-
margin: 0;
|
|
11
|
-
height: 100%;
|
|
12
|
-
padding: 0;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
html {
|
|
16
|
-
min-height: 100%;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
body {
|
|
20
|
-
box-sizing: border-box;
|
|
21
|
-
position: relative;
|
|
22
|
-
word-wrap: break-word;
|
|
23
|
-
padding: 8px;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
body > .k-content {
|
|
27
|
-
outline: 0;
|
|
28
|
-
height: 100%;
|
|
29
|
-
white-space: pre-wrap;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
div.ProseMirror {
|
|
33
|
-
position: relative;
|
|
34
|
-
word-wrap: break-word;
|
|
35
|
-
white-space: pre-wrap;
|
|
36
|
-
white-space: break-spaces;
|
|
37
|
-
-webkit-font-variant-ligatures: none;
|
|
38
|
-
font-variant-ligatures: none;
|
|
39
|
-
font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.ProseMirror pre {
|
|
43
|
-
white-space: pre-wrap;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.k-content > p {
|
|
47
|
-
margin: 0 0 1em;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.k-content table {
|
|
51
|
-
white-space: pre-wrap;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.k-content .k-text-selected, .k-content::selection {
|
|
55
|
-
color: HighlightText;
|
|
56
|
-
background-color: Highlight;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.k-content .k-text-highlighted {
|
|
60
|
-
background-color: #bbdefb;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.k-content .ProseMirror-selectednode {
|
|
64
|
-
outline: 2px solid #8cf;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.ProseMirror-hideselection *::selection { background: transparent; }
|
|
68
|
-
.ProseMirror-hideselection *::-moz-selection { background: transparent; }
|
|
69
|
-
.ProseMirror-hideselection { caret-color: transparent; }
|
|
70
|
-
|
|
71
|
-
.ProseMirror-gapcursor {
|
|
72
|
-
display: none;
|
|
73
|
-
pointer-events: none;
|
|
74
|
-
position: absolute;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.ProseMirror-gapcursor:after {
|
|
78
|
-
content: "";
|
|
79
|
-
display: block;
|
|
80
|
-
position: absolute;
|
|
81
|
-
top: -2px;
|
|
82
|
-
width: 20px;
|
|
83
|
-
border-top: 1px solid black;
|
|
84
|
-
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
@keyframes ProseMirror-cursor-blink {
|
|
88
|
-
to {
|
|
89
|
-
visibility: hidden;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
94
|
-
display: block;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.k-editor-resize-handles-wrapper {
|
|
98
|
-
position: absolute;
|
|
99
|
-
visibility: hidden;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
.k-editor-resize-handle {
|
|
103
|
-
position: absolute;
|
|
104
|
-
visibility: visible;
|
|
105
|
-
background-color: #fff;
|
|
106
|
-
border: 1px solid #000;
|
|
107
|
-
z-index: 100;
|
|
108
|
-
width: 5px;
|
|
109
|
-
height: 5px;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.k-editor-resize-handle.northwest {
|
|
113
|
-
top: 0;
|
|
114
|
-
left: 0;
|
|
115
|
-
transform: translate(-50%, -50%);
|
|
116
|
-
cursor: nw-resize;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.k-editor-resize-handle.north {
|
|
120
|
-
top: 0;
|
|
121
|
-
left: 50%;
|
|
122
|
-
transform: translate(-50%, -50%);
|
|
123
|
-
cursor: n-resize;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.k-editor-resize-handle.northeast {
|
|
127
|
-
top: 0;
|
|
128
|
-
right: 0;
|
|
129
|
-
transform: translate(50%, -50%);
|
|
130
|
-
cursor: ne-resize;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.k-editor-resize-handle.southwest {
|
|
134
|
-
left: 0;
|
|
135
|
-
bottom: 0;
|
|
136
|
-
transform: translate(-50%, 50%);
|
|
137
|
-
cursor: sw-resize;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.k-editor-resize-handle.south {
|
|
141
|
-
bottom: 0;
|
|
142
|
-
left: 50%;
|
|
143
|
-
transform: translate(-50%, 50%);
|
|
144
|
-
cursor: s-resize;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
.k-editor-resize-handle.southeast {
|
|
148
|
-
right: 0;
|
|
149
|
-
bottom: 0;
|
|
150
|
-
transform: translate(50%, 50%);
|
|
151
|
-
cursor: se-resize;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.k-editor-resize-handle.west {
|
|
155
|
-
top: 50%;
|
|
156
|
-
left: 0;
|
|
157
|
-
transform: translate(-50%, -50%);
|
|
158
|
-
cursor: w-resize;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.k-editor-resize-handle.east {
|
|
162
|
-
top: 50%;
|
|
163
|
-
right: 0;
|
|
164
|
-
transform: translate(50%, -50%);
|
|
165
|
-
cursor: e-resize;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.ProseMirror .k-placeholder::before {
|
|
169
|
-
content: attr(data-placeholder);
|
|
170
|
-
height: 0;
|
|
171
|
-
color: #8a8a8a;
|
|
172
|
-
float: inline-start;
|
|
173
|
-
opacity: 1;
|
|
174
|
-
cursor: text;
|
|
175
|
-
-webkit-user-select: none;
|
|
176
|
-
-ms-user-select: none;
|
|
177
|
-
user-select: none;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
.ProseMirror li {
|
|
181
|
-
position: relative;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
li.ProseMirror-selectednode {
|
|
185
|
-
outline: none;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
li.ProseMirror-selectednode:after {
|
|
189
|
-
content: "";
|
|
190
|
-
position: absolute;
|
|
191
|
-
left: -32px;
|
|
192
|
-
right: -2px;
|
|
193
|
-
top: -2px;
|
|
194
|
-
bottom: -2px;
|
|
195
|
-
border: 2px solid #8cf;
|
|
196
|
-
pointer-events: none;
|
|
197
|
-
}
|
|
198
|
-
|
|
199
|
-
.ProseMirror[contenteditable="false"] img {
|
|
200
|
-
pointer-events: none;
|
|
201
|
-
}
|
|
202
|
-
`;
|
|
203
|
-
/**
|
|
204
|
-
* @hidden
|
|
205
|
-
*/
|
|
206
|
-
export const tablesStyles = `
|
|
207
|
-
.ProseMirror .tableWrapper {
|
|
208
|
-
overflow-x: auto;
|
|
209
|
-
margin: 1em 0;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.ProseMirror table {
|
|
213
|
-
margin: 0;
|
|
214
|
-
border-collapse: collapse;
|
|
215
|
-
table-layout: fixed;
|
|
216
|
-
width: 100%;
|
|
217
|
-
overflow: hidden;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
.ProseMirror td, .ProseMirror th {
|
|
221
|
-
min-width: 1em;
|
|
222
|
-
border: 1px solid #ddd;
|
|
223
|
-
padding: 3px 5px;
|
|
224
|
-
vertical-align: top;
|
|
225
|
-
box-sizing: border-box;
|
|
226
|
-
position: relative;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.ProseMirror th {
|
|
230
|
-
font-weight: bold;
|
|
231
|
-
text-align: left;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.ProseMirror .column-resize-handle {
|
|
235
|
-
position: absolute;
|
|
236
|
-
right: -2px; top: 0; bottom: 0;
|
|
237
|
-
width: 4px;
|
|
238
|
-
z-index: 20;
|
|
239
|
-
background-color: #adf;
|
|
240
|
-
pointer-events: none;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
.ProseMirror.resize-cursor {
|
|
244
|
-
cursor: ew-resize;
|
|
245
|
-
cursor: col-resize;
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
/* Give selected cells a blue overlay */
|
|
249
|
-
.ProseMirror .selectedCell:after {
|
|
250
|
-
z-index: 2;
|
|
251
|
-
position: absolute;
|
|
252
|
-
content: "";
|
|
253
|
-
left: 0; right: 0; top: 0; bottom: 0;
|
|
254
|
-
background: rgba(200, 200, 255, 0.4);
|
|
255
|
-
pointer-events: none;
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/* Resizing */
|
|
259
|
-
.k-editor-resize-wrap-element {
|
|
260
|
-
display: inline-block;
|
|
261
|
-
position: relative;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
.ProseMirror .row-resize-handle {
|
|
265
|
-
position: absolute;
|
|
266
|
-
right: 0; left: 0; bottom: 0;
|
|
267
|
-
transform: translate(0, 50%);
|
|
268
|
-
height: 4px;
|
|
269
|
-
z-index: 20;
|
|
270
|
-
background-color: #adf;
|
|
271
|
-
pointer-events: none;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
.ProseMirror.resize-cursor-vertical {
|
|
275
|
-
cursor: sn-resize;
|
|
276
|
-
cursor: row-resize;
|
|
277
|
-
}
|
|
278
|
-
|
|
279
|
-
.k-editor-resize-wrap-element table td p,
|
|
280
|
-
.k-editor-resize-wrap-element table th p {
|
|
281
|
-
margin: 0 auto;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.ProseMirror[contenteditable="false"] .k-editor-resize-handle,
|
|
285
|
-
.ProseMirror[contenteditable="false"] .k-editor-resize-handles-wrapper,
|
|
286
|
-
.ProseMirror[contenteditable="false"] .row-resize-handle,
|
|
287
|
-
.ProseMirror[contenteditable="false"] .column-resize-handle {
|
|
288
|
-
display: none;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.ProseMirror[contenteditable="false"] table {
|
|
292
|
-
pointer-events: none;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.ProseMirror[contenteditable="false"] .ProseMirror-selectednode {
|
|
296
|
-
outline: none;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
.ProseMirror[contenteditable="false"] {
|
|
300
|
-
cursor: unset !important;
|
|
301
|
-
}
|
|
302
|
-
`;
|
|
303
|
-
/**
|
|
304
|
-
* @hidden
|
|
305
|
-
*/
|
|
306
|
-
export const rtlStyles = 'body { direction: rtl }';
|
|
@@ -1,5 +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
|
-
export {};
|