@progress/kendo-angular-editor 19.0.0-develop.17 → 19.0.0-develop.18
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/editor.component.d.ts +0 -1
- package/esm2022/editor.component.mjs +2 -8
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/util.mjs +0 -13
- package/fesm2022/progress-kendo-angular-editor.mjs +4 -22
- package/package.json +15 -15
- package/schematics/ngAdd/index.js +4 -4
- package/util.d.ts +0 -4
package/editor.component.d.ts
CHANGED
|
@@ -124,7 +124,6 @@ export declare class EditorComponent implements AfterViewInit, ControlValueAcces
|
|
|
124
124
|
get resizableClass(): boolean;
|
|
125
125
|
get isDisabled(): boolean;
|
|
126
126
|
get isReadonly(): boolean;
|
|
127
|
-
get isIE(): boolean;
|
|
128
127
|
get dir(): Direction;
|
|
129
128
|
get ariaDisabled(): boolean;
|
|
130
129
|
get minWidth(): string;
|
|
@@ -17,7 +17,7 @@ import { packageMetadata } from './package-metadata';
|
|
|
17
17
|
import { schema } from './config/schema';
|
|
18
18
|
import { editorCommands } from './config/commands';
|
|
19
19
|
import { getToolbarState, initialToolBarState, disabledToolBarState } from './editor-toolbar-state';
|
|
20
|
-
import {
|
|
20
|
+
import { removeEmptyEntries, conditionallyExecute, pipe, isPresent } from './util';
|
|
21
21
|
import { SourceDialogComponent } from './dialogs/source-dialog.component';
|
|
22
22
|
import { ImageDialogComponent } from './dialogs/image-dialog.component';
|
|
23
23
|
import { FileLinkDialogComponent } from './dialogs/file-link-dialog.component';
|
|
@@ -278,9 +278,6 @@ export class EditorComponent {
|
|
|
278
278
|
get isReadonly() {
|
|
279
279
|
return this.readonly;
|
|
280
280
|
}
|
|
281
|
-
get isIE() {
|
|
282
|
-
return this.iframe && detectIE();
|
|
283
|
-
}
|
|
284
281
|
get dir() {
|
|
285
282
|
return this.direction;
|
|
286
283
|
}
|
|
@@ -841,7 +838,7 @@ export class EditorComponent {
|
|
|
841
838
|
return cleanContent;
|
|
842
839
|
}
|
|
843
840
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorComponent, deps: [{ token: i1.DialogService }, { token: i2.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: i3.ProviderService }, { token: i4.EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
844
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorComponent, isStandalone: true, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "
|
|
841
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorComponent, isStandalone: true, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
|
|
845
842
|
EditorLocalizationService,
|
|
846
843
|
ProviderService,
|
|
847
844
|
EditorToolsService,
|
|
@@ -1258,9 +1255,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1258
1255
|
}], isReadonly: [{
|
|
1259
1256
|
type: HostBinding,
|
|
1260
1257
|
args: ['class.k-readonly']
|
|
1261
|
-
}], isIE: [{
|
|
1262
|
-
type: HostBinding,
|
|
1263
|
-
args: ['class.k-ie']
|
|
1264
1258
|
}], dir: [{
|
|
1265
1259
|
type: HostBinding,
|
|
1266
1260
|
args: ['attr.dir']
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '19.0.0-develop.
|
|
13
|
+
publishDate: 1747328316,
|
|
14
|
+
version: '19.0.0-develop.18',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
package/esm2022/util.mjs
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright © 2025 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 { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
6
5
|
import { getSelectionText as commonGetSelectionText } from '@progress/kendo-editor-common';
|
|
7
6
|
/**
|
|
8
7
|
* @hidden
|
|
@@ -38,18 +37,6 @@ export const isNullOrUndefined = (value) => value === undefined || value === nul
|
|
|
38
37
|
* @hidden
|
|
39
38
|
*/
|
|
40
39
|
export const isPresent = (value) => !isNullOrUndefined(value);
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
export const detectIE = () => {
|
|
45
|
-
if (!isDocumentAvailable()) {
|
|
46
|
-
return false;
|
|
47
|
-
}
|
|
48
|
-
const ua = window.navigator.userAgent;
|
|
49
|
-
const msie = ua.indexOf('MSIE ');
|
|
50
|
-
const trident = ua.indexOf('Trident/');
|
|
51
|
-
return msie > 0 || trident > 0;
|
|
52
|
-
};
|
|
53
40
|
/**
|
|
54
41
|
* @hidden
|
|
55
42
|
*/
|
|
@@ -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 {
|
|
16
|
+
import { guid, shouldShowValidationUI, isDocumentAvailable, hasObservers, KendoInput, WatermarkOverlayComponent, isPresent as isPresent$1, Keys, 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:
|
|
40
|
-
version: '19.0.0-develop.
|
|
39
|
+
publishDate: 1747328316,
|
|
40
|
+
version: '19.0.0-develop.18',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -544,18 +544,6 @@ const isNullOrUndefined = (value) => value === undefined || value === null;
|
|
|
544
544
|
* @hidden
|
|
545
545
|
*/
|
|
546
546
|
const isPresent = (value) => !isNullOrUndefined(value);
|
|
547
|
-
/**
|
|
548
|
-
* @hidden
|
|
549
|
-
*/
|
|
550
|
-
const detectIE = () => {
|
|
551
|
-
if (!isDocumentAvailable()) {
|
|
552
|
-
return false;
|
|
553
|
-
}
|
|
554
|
-
const ua = window.navigator.userAgent;
|
|
555
|
-
const msie = ua.indexOf('MSIE ');
|
|
556
|
-
const trident = ua.indexOf('Trident/');
|
|
557
|
-
return msie > 0 || trident > 0;
|
|
558
|
-
};
|
|
559
547
|
/**
|
|
560
548
|
* @hidden
|
|
561
549
|
*/
|
|
@@ -3359,9 +3347,6 @@ class EditorComponent {
|
|
|
3359
3347
|
get isReadonly() {
|
|
3360
3348
|
return this.readonly;
|
|
3361
3349
|
}
|
|
3362
|
-
get isIE() {
|
|
3363
|
-
return this.iframe && detectIE();
|
|
3364
|
-
}
|
|
3365
3350
|
get dir() {
|
|
3366
3351
|
return this.direction;
|
|
3367
3352
|
}
|
|
@@ -3922,7 +3907,7 @@ class EditorComponent {
|
|
|
3922
3907
|
return cleanContent;
|
|
3923
3908
|
}
|
|
3924
3909
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorComponent, deps: [{ token: i1$1.DialogService }, { token: i1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.ElementRef }, { token: ProviderService }, { token: EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
3925
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorComponent, isStandalone: true, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "
|
|
3910
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorComponent, isStandalone: true, selector: "kendo-editor", inputs: { value: "value", disabled: "disabled", readonly: "readonly", iframe: "iframe", iframeCss: "iframeCss", applyToWord: "applyToWord", schema: "schema", plugins: "plugins", placeholder: "placeholder", preserveWhitespace: "preserveWhitespace", pasteCleanupSettings: "pasteCleanupSettings", resizable: "resizable" }, outputs: { valueChange: "valueChange", onFocus: "focus", paste: "paste", onBlur: "blur" }, host: { properties: { "class.k-editor": "this.hostClass", "class.k-editor-resizable": "this.resizableClass", "class.k-disabled": "this.isDisabled", "class.k-readonly": "this.isReadonly", "attr.dir": "this.dir", "attr.ariaDisabled": "this.ariaDisabled", "style.minWidth": "this.minWidth", "style.maxWidth": "this.maxWidth", "style.minHeight": "this.minHeight", "style.maxHeight": "this.maxHeight" } }, providers: [
|
|
3926
3911
|
EditorLocalizationService,
|
|
3927
3912
|
ProviderService,
|
|
3928
3913
|
EditorToolsService,
|
|
@@ -4339,9 +4324,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4339
4324
|
}], isReadonly: [{
|
|
4340
4325
|
type: HostBinding,
|
|
4341
4326
|
args: ['class.k-readonly']
|
|
4342
|
-
}], isIE: [{
|
|
4343
|
-
type: HostBinding,
|
|
4344
|
-
args: ['class.k-ie']
|
|
4345
4327
|
}], dir: [{
|
|
4346
4328
|
type: HostBinding,
|
|
4347
4329
|
args: ['attr.dir']
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-editor",
|
|
3
|
-
"version": "19.0.0-develop.
|
|
3
|
+
"version": "19.0.0-develop.18",
|
|
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":
|
|
20
|
+
"publishDate": 1747328316,
|
|
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 - 19",
|
|
30
30
|
"@progress/kendo-drawing": "^1.21.0",
|
|
31
31
|
"@progress/kendo-licensing": "^1.5.0",
|
|
32
|
-
"@progress/kendo-angular-buttons": "19.0.0-develop.
|
|
33
|
-
"@progress/kendo-angular-common": "19.0.0-develop.
|
|
34
|
-
"@progress/kendo-angular-dialog": "19.0.0-develop.
|
|
35
|
-
"@progress/kendo-angular-dropdowns": "19.0.0-develop.
|
|
36
|
-
"@progress/kendo-angular-inputs": "19.0.0-develop.
|
|
37
|
-
"@progress/kendo-angular-intl": "19.0.0-develop.
|
|
38
|
-
"@progress/kendo-angular-l10n": "19.0.0-develop.
|
|
39
|
-
"@progress/kendo-angular-label": "19.0.0-develop.
|
|
40
|
-
"@progress/kendo-angular-layout": "19.0.0-develop.
|
|
41
|
-
"@progress/kendo-angular-icons": "19.0.0-develop.
|
|
42
|
-
"@progress/kendo-angular-popup": "19.0.0-develop.
|
|
43
|
-
"@progress/kendo-angular-toolbar": "19.0.0-develop.
|
|
32
|
+
"@progress/kendo-angular-buttons": "19.0.0-develop.18",
|
|
33
|
+
"@progress/kendo-angular-common": "19.0.0-develop.18",
|
|
34
|
+
"@progress/kendo-angular-dialog": "19.0.0-develop.18",
|
|
35
|
+
"@progress/kendo-angular-dropdowns": "19.0.0-develop.18",
|
|
36
|
+
"@progress/kendo-angular-inputs": "19.0.0-develop.18",
|
|
37
|
+
"@progress/kendo-angular-intl": "19.0.0-develop.18",
|
|
38
|
+
"@progress/kendo-angular-l10n": "19.0.0-develop.18",
|
|
39
|
+
"@progress/kendo-angular-label": "19.0.0-develop.18",
|
|
40
|
+
"@progress/kendo-angular-layout": "19.0.0-develop.18",
|
|
41
|
+
"@progress/kendo-angular-icons": "19.0.0-develop.18",
|
|
42
|
+
"@progress/kendo-angular-popup": "19.0.0-develop.18",
|
|
43
|
+
"@progress/kendo-angular-toolbar": "19.0.0-develop.18",
|
|
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.0.0-develop.
|
|
48
|
+
"@progress/kendo-angular-schematics": "19.0.0-develop.18",
|
|
49
49
|
"@progress/kendo-editor-common": "1.12.2"
|
|
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.0.0-develop.
|
|
8
|
-
'@progress/kendo-angular-treeview': '19.0.0-develop.
|
|
7
|
+
'@progress/kendo-angular-navigation': '19.0.0-develop.18',
|
|
8
|
+
'@progress/kendo-angular-treeview': '19.0.0-develop.18',
|
|
9
9
|
// peer dependency of kendo-angular-layout
|
|
10
|
-
'@progress/kendo-angular-progressbar': '19.0.0-develop.
|
|
10
|
+
'@progress/kendo-angular-progressbar': '19.0.0-develop.18',
|
|
11
11
|
// peer dependency of kendo-angular-inputs
|
|
12
|
-
'@progress/kendo-angular-dialog': '19.0.0-develop.
|
|
12
|
+
'@progress/kendo-angular-dialog': '19.0.0-develop.18',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|
package/util.d.ts
CHANGED