@progress/kendo-angular-editor 21.0.0-develop.9 → 21.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.
|
@@ -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: '21.0.
|
|
13
|
+
publishDate: 1762953634,
|
|
14
|
+
version: '21.0.1-develop.1',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
package/esm2022/util.mjs
CHANGED
|
@@ -3,10 +3,14 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { getSelectionText as commonGetSelectionText } from '@progress/kendo-editor-common';
|
|
6
|
+
import { isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
6
7
|
/**
|
|
7
8
|
* @hidden
|
|
8
9
|
*/
|
|
9
10
|
export function outerWidth(element) {
|
|
11
|
+
if (!isDocumentAvailable()) {
|
|
12
|
+
return element.offsetWidth || 0;
|
|
13
|
+
}
|
|
10
14
|
let width = element.offsetWidth;
|
|
11
15
|
const style = getComputedStyle(element);
|
|
12
16
|
width += parseFloat(style.marginLeft) || 0 + parseFloat(style.marginRight) || 0;
|
|
@@ -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 { guid, getLicenseMessage, shouldShowValidationUI,
|
|
16
|
+
import { isDocumentAvailable, guid, getLicenseMessage, shouldShowValidationUI, Keys, hasObservers, KendoInput, WatermarkOverlayComponent, isPresent as isPresent$1, 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: '21.0.
|
|
39
|
+
publishDate: 1762953634,
|
|
40
|
+
version: '21.0.1-develop.1',
|
|
41
41
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
42
42
|
};
|
|
43
43
|
|
|
@@ -514,6 +514,9 @@ const disabledToolBarState = {
|
|
|
514
514
|
* @hidden
|
|
515
515
|
*/
|
|
516
516
|
function outerWidth(element) {
|
|
517
|
+
if (!isDocumentAvailable()) {
|
|
518
|
+
return element.offsetWidth || 0;
|
|
519
|
+
}
|
|
517
520
|
let width = element.offsetWidth;
|
|
518
521
|
const style = getComputedStyle(element);
|
|
519
522
|
width += parseFloat(style.marginLeft) || 0 + parseFloat(style.marginRight) || 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-editor",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.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": 1762953634,
|
|
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": "18 - 20",
|
|
30
30
|
"@progress/kendo-drawing": "^1.21.0",
|
|
31
31
|
"@progress/kendo-licensing": "^1.7.0",
|
|
32
|
-
"@progress/kendo-angular-buttons": "21.0.
|
|
33
|
-
"@progress/kendo-angular-common": "21.0.
|
|
34
|
-
"@progress/kendo-angular-dialog": "21.0.
|
|
35
|
-
"@progress/kendo-angular-dropdowns": "21.0.
|
|
36
|
-
"@progress/kendo-angular-inputs": "21.0.
|
|
37
|
-
"@progress/kendo-angular-intl": "21.0.
|
|
38
|
-
"@progress/kendo-angular-l10n": "21.0.
|
|
39
|
-
"@progress/kendo-angular-label": "21.0.
|
|
40
|
-
"@progress/kendo-angular-layout": "21.0.
|
|
41
|
-
"@progress/kendo-angular-icons": "21.0.
|
|
42
|
-
"@progress/kendo-angular-popup": "21.0.
|
|
43
|
-
"@progress/kendo-angular-toolbar": "21.0.
|
|
32
|
+
"@progress/kendo-angular-buttons": "21.0.1-develop.1",
|
|
33
|
+
"@progress/kendo-angular-common": "21.0.1-develop.1",
|
|
34
|
+
"@progress/kendo-angular-dialog": "21.0.1-develop.1",
|
|
35
|
+
"@progress/kendo-angular-dropdowns": "21.0.1-develop.1",
|
|
36
|
+
"@progress/kendo-angular-inputs": "21.0.1-develop.1",
|
|
37
|
+
"@progress/kendo-angular-intl": "21.0.1-develop.1",
|
|
38
|
+
"@progress/kendo-angular-l10n": "21.0.1-develop.1",
|
|
39
|
+
"@progress/kendo-angular-label": "21.0.1-develop.1",
|
|
40
|
+
"@progress/kendo-angular-layout": "21.0.1-develop.1",
|
|
41
|
+
"@progress/kendo-angular-icons": "21.0.1-develop.1",
|
|
42
|
+
"@progress/kendo-angular-popup": "21.0.1-develop.1",
|
|
43
|
+
"@progress/kendo-angular-toolbar": "21.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": "21.0.
|
|
48
|
+
"@progress/kendo-angular-schematics": "21.0.1-develop.1",
|
|
49
49
|
"@progress/kendo-editor-common": "1.12.4"
|
|
50
50
|
},
|
|
51
51
|
"schematics": "./schematics/collection.json",
|
|
@@ -5,12 +5,12 @@ const schematics_1 = require("@angular-devkit/schematics");
|
|
|
5
5
|
function default_1(options) {
|
|
6
6
|
const finalOptions = Object.assign(Object.assign({}, options), { mainNgModule: 'EditorModule', package: 'editor', peerDependencies: {
|
|
7
7
|
// peer dependencies of kendo-angular-dropdowns
|
|
8
|
-
'@progress/kendo-angular-navigation': '21.0.
|
|
9
|
-
'@progress/kendo-angular-treeview': '21.0.
|
|
8
|
+
'@progress/kendo-angular-navigation': '21.0.1-develop.1',
|
|
9
|
+
'@progress/kendo-angular-treeview': '21.0.1-develop.1',
|
|
10
10
|
// peer dependency of kendo-angular-layout
|
|
11
|
-
'@progress/kendo-angular-progressbar': '21.0.
|
|
11
|
+
'@progress/kendo-angular-progressbar': '21.0.1-develop.1',
|
|
12
12
|
// peer dependency of kendo-angular-inputs
|
|
13
|
-
'@progress/kendo-angular-dialog': '21.0.
|
|
13
|
+
'@progress/kendo-angular-dialog': '21.0.1-develop.1',
|
|
14
14
|
// Peer dependency of icons
|
|
15
15
|
'@progress/kendo-svg-icons': '^4.0.0'
|
|
16
16
|
} });
|