@progress/kendo-angular-editor 19.0.0-develop.9 → 19.0.1-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/editor.component.d.ts +0 -1
- package/esm2022/editor.component.mjs +3 -9
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/tools/print/editor-print-button.directive.mjs +1 -1
- package/esm2022/tools/shared/editor-command-base.mjs +2 -2
- package/esm2022/util.mjs +0 -13
- package/fesm2022/progress-kendo-angular-editor.mjs +8 -26
- package/package.json +16 -16
- package/schematics/ngAdd/index.js +4 -4
- package/tools/print/editor-print-button.directive.d.ts +1 -1
- 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,
|
|
@@ -1021,7 +1018,7 @@ export class EditorComponent {
|
|
|
1021
1018
|
<ng-container #dialogsContainer></ng-container>
|
|
1022
1019
|
|
|
1023
1020
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
1024
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "fillMode", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "fillMode", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "directive", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { kind: "directive", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { kind: "directive", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { kind: "component", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { kind: "directive", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { kind: "directive", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { kind: "directive", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { kind: "directive", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { kind: "directive", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { kind: "directive", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { kind: "directive", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { kind: "directive", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { kind: "directive", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { kind: "directive", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { kind: "directive", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
1021
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "fillMode", "tabindex", "size", "tabIndex", "showIcon", "showText"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "fillMode", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "directive", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { kind: "directive", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { kind: "directive", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { kind: "component", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { kind: "directive", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { kind: "directive", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { kind: "directive", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { kind: "directive", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { kind: "directive", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { kind: "directive", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { kind: "directive", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { kind: "directive", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { kind: "directive", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { kind: "directive", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { kind: "directive", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
1025
1022
|
}
|
|
1026
1023
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorComponent, decorators: [{
|
|
1027
1024
|
type: Component,
|
|
@@ -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.
|
|
13
|
+
publishDate: 1748425561,
|
|
14
|
+
version: '19.0.1-develop.1',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -19,7 +19,7 @@ import * as i4 from "../tools.service";
|
|
|
19
19
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
20
20
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
21
21
|
*
|
|
22
|
-
* > The Editor Print tool is supported in the default [`iframe`](
|
|
22
|
+
* > The Editor Print tool is supported in the default [`iframe`](slug:api_editor_editorcomponent#iframe) mode only.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* ```html
|
|
@@ -34,8 +34,8 @@ export class EditorCommandBaseDirective {
|
|
|
34
34
|
setTimeout(() => {
|
|
35
35
|
const text = this.localization.get(this.command);
|
|
36
36
|
if (text) {
|
|
37
|
-
this.button.showText = '
|
|
38
|
-
this.button.showIcon = '
|
|
37
|
+
this.button.showText = 'menu';
|
|
38
|
+
this.button.showIcon = 'always';
|
|
39
39
|
this.button.text = text;
|
|
40
40
|
}
|
|
41
41
|
if (!this.button.toolbarOptions.icon) {
|
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.
|
|
39
|
+
publishDate: 1748425561,
|
|
40
|
+
version: '19.0.1-develop.1',
|
|
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
|
*/
|
|
@@ -1727,8 +1715,8 @@ class EditorCommandBaseDirective {
|
|
|
1727
1715
|
setTimeout(() => {
|
|
1728
1716
|
const text = this.localization.get(this.command);
|
|
1729
1717
|
if (text) {
|
|
1730
|
-
this.button.showText = '
|
|
1731
|
-
this.button.showIcon = '
|
|
1718
|
+
this.button.showText = 'menu';
|
|
1719
|
+
this.button.showIcon = 'always';
|
|
1732
1720
|
this.button.text = text;
|
|
1733
1721
|
}
|
|
1734
1722
|
if (!this.button.toolbarOptions.icon) {
|
|
@@ -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,
|
|
@@ -4102,7 +4087,7 @@ class EditorComponent {
|
|
|
4102
4087
|
<ng-container #dialogsContainer></ng-container>
|
|
4103
4088
|
|
|
4104
4089
|
<div kendoWatermarkOverlay *ngIf="showLicenseWatermark"></div>
|
|
4105
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "fillMode", "tabindex", "size", "tabIndex"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "fillMode", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "directive", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { kind: "directive", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { kind: "directive", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { kind: "component", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { kind: "directive", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { kind: "directive", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { kind: "directive", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { kind: "directive", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { kind: "directive", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { kind: "directive", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { kind: "directive", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { kind: "directive", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { kind: "directive", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { kind: "directive", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { kind: "directive", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
4090
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: LocalizedMessagesDirective, selector: "[kendoEditorLocalizedMessages]" }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: ToolBarComponent, selector: "kendo-toolbar", inputs: ["overflow", "resizable", "popupSettings", "fillMode", "tabindex", "size", "tabIndex", "showIcon", "showText"], outputs: ["open", "close"], exportAs: ["kendoToolBar"] }, { kind: "component", type: ToolBarButtonGroupComponent, selector: "kendo-toolbar-buttongroup", inputs: ["disabled", "fillMode", "selection", "width", "look"], exportAs: ["kendoToolBarButtonGroup"] }, { kind: "component", type: ToolBarButtonComponent, selector: "kendo-toolbar-button", inputs: ["showText", "showIcon", "text", "style", "className", "title", "disabled", "toggleable", "look", "togglable", "selected", "fillMode", "themeColor", "icon", "iconClass", "svgIcon", "imageUrl"], outputs: ["click", "pointerdown", "selectedChange"], exportAs: ["kendoToolBarButton"] }, { kind: "directive", type: EditorBoldButtonDirective, selector: "kendo-toolbar-button[kendoEditorBoldButton]" }, { kind: "directive", type: EditorItalicButtonDirective, selector: "kendo-toolbar-button[kendoEditorItalicButton]" }, { kind: "directive", type: EditorUnderlineButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnderlineButton]" }, { kind: "component", type: EditorFormatComponent, selector: "kendo-toolbar-dropdownlist[kendoEditorFormat]", inputs: ["data"], outputs: ["valueChange"] }, { kind: "directive", type: EditorAlignLeftButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]" }, { kind: "directive", type: EditorAlignCenterButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]" }, { kind: "directive", type: EditorAlignRightButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]" }, { kind: "directive", type: EditorAlignJustifyButtonDirective, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]" }, { kind: "directive", type: EditorInsertUnorderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertUnorderedListButton]" }, { kind: "directive", type: EditorInsertOrderedListButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertOrderedListButton]" }, { kind: "directive", type: EditorIndentButtonDirective, selector: "kendo-toolbar-button[kendoEditorIndentButton]" }, { kind: "directive", type: EditorOutdentButtonDirective, selector: "kendo-toolbar-button[kendoEditorOutdentButton]" }, { kind: "directive", type: EditorCreateLinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorCreateLinkButton]" }, { kind: "directive", type: EditorUnlinkButtonDirective, selector: "kendo-toolbar-button[kendoEditorUnlinkButton]" }, { kind: "directive", type: EditorInsertImageButtonDirective, selector: "kendo-toolbar-button[kendoEditorInsertImageButton]" }, { kind: "component", type: WatermarkOverlayComponent, selector: "div[kendoWatermarkOverlay]" }] });
|
|
4106
4091
|
}
|
|
4107
4092
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorComponent, decorators: [{
|
|
4108
4093
|
type: Component,
|
|
@@ -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']
|
|
@@ -6773,7 +6755,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
6773
6755
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
6774
6756
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
6775
6757
|
*
|
|
6776
|
-
* > The Editor Print tool is supported in the default [`iframe`](
|
|
6758
|
+
* > The Editor Print tool is supported in the default [`iframe`](slug:api_editor_editorcomponent#iframe) mode only.
|
|
6777
6759
|
*
|
|
6778
6760
|
* @example
|
|
6779
6761
|
* ```html
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-editor",
|
|
3
|
-
"version": "19.0.
|
|
3
|
+
"version": "19.0.1-develop.1",
|
|
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": 1748425561,
|
|
21
21
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
@@ -29,24 +29,24 @@
|
|
|
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.
|
|
33
|
-
"@progress/kendo-angular-common": "19.0.
|
|
34
|
-
"@progress/kendo-angular-dialog": "19.0.
|
|
35
|
-
"@progress/kendo-angular-dropdowns": "19.0.
|
|
36
|
-
"@progress/kendo-angular-inputs": "19.0.
|
|
37
|
-
"@progress/kendo-angular-intl": "19.0.
|
|
38
|
-
"@progress/kendo-angular-l10n": "19.0.
|
|
39
|
-
"@progress/kendo-angular-label": "19.0.
|
|
40
|
-
"@progress/kendo-angular-layout": "19.0.
|
|
41
|
-
"@progress/kendo-angular-icons": "19.0.
|
|
42
|
-
"@progress/kendo-angular-popup": "19.0.
|
|
43
|
-
"@progress/kendo-angular-toolbar": "19.0.
|
|
32
|
+
"@progress/kendo-angular-buttons": "19.0.1-develop.1",
|
|
33
|
+
"@progress/kendo-angular-common": "19.0.1-develop.1",
|
|
34
|
+
"@progress/kendo-angular-dialog": "19.0.1-develop.1",
|
|
35
|
+
"@progress/kendo-angular-dropdowns": "19.0.1-develop.1",
|
|
36
|
+
"@progress/kendo-angular-inputs": "19.0.1-develop.1",
|
|
37
|
+
"@progress/kendo-angular-intl": "19.0.1-develop.1",
|
|
38
|
+
"@progress/kendo-angular-l10n": "19.0.1-develop.1",
|
|
39
|
+
"@progress/kendo-angular-label": "19.0.1-develop.1",
|
|
40
|
+
"@progress/kendo-angular-layout": "19.0.1-develop.1",
|
|
41
|
+
"@progress/kendo-angular-icons": "19.0.1-develop.1",
|
|
42
|
+
"@progress/kendo-angular-popup": "19.0.1-develop.1",
|
|
43
|
+
"@progress/kendo-angular-toolbar": "19.0.1-develop.1",
|
|
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.
|
|
49
|
-
"@progress/kendo-editor-common": "1.12.
|
|
48
|
+
"@progress/kendo-angular-schematics": "19.0.1-develop.1",
|
|
49
|
+
"@progress/kendo-editor-common": "1.12.3"
|
|
50
50
|
},
|
|
51
51
|
"schematics": "./schematics/collection.json",
|
|
52
52
|
"module": "fesm2022/progress-kendo-angular-editor.mjs",
|
|
@@ -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.
|
|
8
|
-
'@progress/kendo-angular-treeview': '19.0.
|
|
7
|
+
'@progress/kendo-angular-navigation': '19.0.1-develop.1',
|
|
8
|
+
'@progress/kendo-angular-treeview': '19.0.1-develop.1',
|
|
9
9
|
// peer dependency of kendo-angular-layout
|
|
10
|
-
'@progress/kendo-angular-progressbar': '19.0.
|
|
10
|
+
'@progress/kendo-angular-progressbar': '19.0.1-develop.1',
|
|
11
11
|
// peer dependency of kendo-angular-inputs
|
|
12
|
-
'@progress/kendo-angular-dialog': '19.0.
|
|
12
|
+
'@progress/kendo-angular-dialog': '19.0.1-develop.1',
|
|
13
13
|
// Peer dependency of icons
|
|
14
14
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
15
15
|
} });
|
|
@@ -13,7 +13,7 @@ import * as i0 from "@angular/core";
|
|
|
13
13
|
* ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
|
|
14
14
|
* The directive will predefine the SVG icon and `click` event handlers of the button.
|
|
15
15
|
*
|
|
16
|
-
* > The Editor Print tool is supported in the default [`iframe`](
|
|
16
|
+
* > The Editor Print tool is supported in the default [`iframe`](slug:api_editor_editorcomponent#iframe) mode only.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* ```html
|
package/util.d.ts
CHANGED