@progress/kendo-angular-editor 16.5.0-develop.3 → 16.5.0-develop.5

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.
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-editor',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721377685,
13
- version: '16.5.0-develop.3',
12
+ publishDate: 1721674881,
13
+ version: '16.5.0-develop.5',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -11,7 +11,7 @@ import { outerWidth } from '../../util';
11
11
  import { EditorLocalizationService } from '../../localization/editor-localization.service';
12
12
  import { DialogService } from '@progress/kendo-angular-dialog';
13
13
  import { InsertTableDialogComponent } from '../../dialogs/insert-table-dialog.component';
14
- import { Keys } from '@progress/kendo-angular-common';
14
+ import { isPresent, Keys } from '@progress/kendo-angular-common';
15
15
  import { ProviderService } from '../../common/provider.service';
16
16
  import { tableAddIcon } from '@progress/kendo-svg-icons';
17
17
  import * as i0 from "@angular/core";
@@ -117,8 +117,11 @@ export class EditorInsertTableButtonComponent extends ToolBarToolComponent {
117
117
  * @hidden
118
118
  */
119
119
  focus() {
120
- this.tabIndex = 0;
121
- this.getButton().focus();
120
+ const buttonElement = this.getButton();
121
+ if (isPresent(buttonElement)) {
122
+ this.tabIndex = 0;
123
+ buttonElement.focus();
124
+ }
122
125
  }
123
126
  /**
124
127
  * @hidden
@@ -162,7 +165,7 @@ export class EditorInsertTableButtonComponent extends ToolBarToolComponent {
162
165
  }
163
166
  }
164
167
  getButton() {
165
- return (this.overflows ? this.overflowElement : this.element).nativeElement;
168
+ return (this.overflows ? this.overflowElement : this.element)?.nativeElement;
166
169
  }
167
170
  }
168
171
  EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: i1.EditorLocalizationService }, { token: i2.PopupService }, { token: i3.DialogService }, { token: i4.ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
@@ -60,7 +60,11 @@ export class PopupTableGridComponent {
60
60
  }
61
61
  PopupTableGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: i1.EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
62
62
  PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
63
- <div [style.border-color]="'inherit'" (mouseleave)="resetState()" (click)="insertTable()">
63
+ <div
64
+ [style.border-color]="'inherit'"
65
+ class="k-ct-popup"
66
+ (mouseleave)="resetState()"
67
+ (click)="insertTable()">
64
68
  <span *ngFor="let i of cells"
65
69
  class="k-ct-cell"
66
70
  [class.k-selected]="selected(i)"
@@ -80,7 +84,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
80
84
  args: [{
81
85
  selector: 'kendo-popup-table-grid',
82
86
  template: `
83
- <div [style.border-color]="'inherit'" (mouseleave)="resetState()" (click)="insertTable()">
87
+ <div
88
+ [style.border-color]="'inherit'"
89
+ class="k-ct-popup"
90
+ (mouseleave)="resetState()"
91
+ (click)="insertTable()">
84
92
  <span *ngFor="let i of cells"
85
93
  class="k-ct-cell"
86
94
  [class.k-selected]="selected(i)"
@@ -11,7 +11,7 @@ import { take, map, filter as filter$1, concatMap, takeUntil } from 'rxjs/operat
11
11
  import * as i1$2 from '@progress/kendo-angular-toolbar';
12
12
  import { ToolBarToolComponent, ToolBarComponent, ToolBarModule } from '@progress/kendo-angular-toolbar';
13
13
  import * as i7$1 from '@progress/kendo-angular-common';
14
- import { isDocumentAvailable, guid, shouldShowValidationUI, hasObservers, KendoInput, Keys, WatermarkModule } from '@progress/kendo-angular-common';
14
+ import { isDocumentAvailable, guid, shouldShowValidationUI, hasObservers, KendoInput, isPresent as isPresent$1, Keys, WatermarkModule } from '@progress/kendo-angular-common';
15
15
  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, pasteCleanup, parseContent, AllSelection, TextSelection, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, cspFix, placeholder, EditorState, EditorView } from '@progress/kendo-editor-common';
16
16
  export { Decoration, DecorationSet, EditorState, EditorView, InputRule, Mark, MarkType, Node, NodeType, Plugin, PluginKey, Schema, Transaction, baseKeymap, dropCursor, gapCursor, history, inputRules, keymap, tableNodes, textblockTypeInputRule, wrappingInputRule } from '@progress/kendo-editor-common';
17
17
  import { validatePackage } from '@progress/kendo-licensing';
@@ -41,8 +41,8 @@ const packageMetadata = {
41
41
  name: '@progress/kendo-angular-editor',
42
42
  productName: 'Kendo UI for Angular',
43
43
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
44
- publishDate: 1721377685,
45
- version: '16.5.0-develop.3',
44
+ publishDate: 1721674881,
45
+ version: '16.5.0-develop.5',
46
46
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
47
47
  };
48
48
 
@@ -4330,7 +4330,11 @@ class PopupTableGridComponent {
4330
4330
  }
4331
4331
  PopupTableGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4332
4332
  PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
4333
- <div [style.border-color]="'inherit'" (mouseleave)="resetState()" (click)="insertTable()">
4333
+ <div
4334
+ [style.border-color]="'inherit'"
4335
+ class="k-ct-popup"
4336
+ (mouseleave)="resetState()"
4337
+ (click)="insertTable()">
4334
4338
  <span *ngFor="let i of cells"
4335
4339
  class="k-ct-cell"
4336
4340
  [class.k-selected]="selected(i)"
@@ -4350,7 +4354,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4350
4354
  args: [{
4351
4355
  selector: 'kendo-popup-table-grid',
4352
4356
  template: `
4353
- <div [style.border-color]="'inherit'" (mouseleave)="resetState()" (click)="insertTable()">
4357
+ <div
4358
+ [style.border-color]="'inherit'"
4359
+ class="k-ct-popup"
4360
+ (mouseleave)="resetState()"
4361
+ (click)="insertTable()">
4354
4362
  <span *ngFor="let i of cells"
4355
4363
  class="k-ct-cell"
4356
4364
  [class.k-selected]="selected(i)"
@@ -5457,8 +5465,11 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5457
5465
  * @hidden
5458
5466
  */
5459
5467
  focus() {
5460
- this.tabIndex = 0;
5461
- this.getButton().focus();
5468
+ const buttonElement = this.getButton();
5469
+ if (isPresent$1(buttonElement)) {
5470
+ this.tabIndex = 0;
5471
+ buttonElement.focus();
5472
+ }
5462
5473
  }
5463
5474
  /**
5464
5475
  * @hidden
@@ -5502,7 +5513,8 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5502
5513
  }
5503
5514
  }
5504
5515
  getButton() {
5505
- return (this.overflows ? this.overflowElement : this.element).nativeElement;
5516
+ var _a;
5517
+ return (_a = (this.overflows ? this.overflowElement : this.element)) === null || _a === void 0 ? void 0 : _a.nativeElement;
5506
5518
  }
5507
5519
  }
5508
5520
  EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2$1.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
@@ -13,7 +13,7 @@ import { ToolBarToolComponent, ToolBarComponent, ToolBarModule } from '@progress
13
13
  import * as i1$1 from '@progress/kendo-angular-dialog';
14
14
  import { DialogContentBase, DialogModule } from '@progress/kendo-angular-dialog';
15
15
  import * as i7$1 from '@progress/kendo-angular-common';
16
- import { isDocumentAvailable, guid, shouldShowValidationUI, hasObservers, KendoInput, Keys, WatermarkModule } from '@progress/kendo-angular-common';
16
+ import { isDocumentAvailable, guid, shouldShowValidationUI, hasObservers, KendoInput, isPresent as isPresent$1, Keys, WatermarkModule } 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, pasteCleanup, parseContent, AllSelection, TextSelection, Plugin, PluginKey, history, keymap, buildListKeymap, buildKeymap, baseKeymap, gapCursor, imageResizing, tableResizing, tableEditing, caretColor, cspFix, placeholder, EditorState, EditorView } from '@progress/kendo-editor-common';
18
18
  export { Decoration, DecorationSet, EditorState, EditorView, InputRule, Mark, MarkType, Node, NodeType, Plugin, PluginKey, Schema, Transaction, baseKeymap, dropCursor, gapCursor, history, inputRules, keymap, tableNodes, textblockTypeInputRule, wrappingInputRule } from '@progress/kendo-editor-common';
19
19
  import { validatePackage } from '@progress/kendo-licensing';
@@ -41,8 +41,8 @@ const packageMetadata = {
41
41
  name: '@progress/kendo-angular-editor',
42
42
  productName: 'Kendo UI for Angular',
43
43
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
44
- publishDate: 1721377685,
45
- version: '16.5.0-develop.3',
44
+ publishDate: 1721674881,
45
+ version: '16.5.0-develop.5',
46
46
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
47
47
  };
48
48
 
@@ -4332,7 +4332,11 @@ class PopupTableGridComponent {
4332
4332
  }
4333
4333
  PopupTableGridComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PopupTableGridComponent, deps: [{ token: EditorLocalizationService }], target: i0.ɵɵFactoryTarget.Component });
4334
4334
  PopupTableGridComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: PopupTableGridComponent, selector: "kendo-popup-table-grid", outputs: { cellClick: "cellClick", tableWizardClick: "tableWizardClick" }, ngImport: i0, template: `
4335
- <div [style.border-color]="'inherit'" (mouseleave)="resetState()" (click)="insertTable()">
4335
+ <div
4336
+ [style.border-color]="'inherit'"
4337
+ class="k-ct-popup"
4338
+ (mouseleave)="resetState()"
4339
+ (click)="insertTable()">
4336
4340
  <span *ngFor="let i of cells"
4337
4341
  class="k-ct-cell"
4338
4342
  [class.k-selected]="selected(i)"
@@ -4352,7 +4356,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
4352
4356
  args: [{
4353
4357
  selector: 'kendo-popup-table-grid',
4354
4358
  template: `
4355
- <div [style.border-color]="'inherit'" (mouseleave)="resetState()" (click)="insertTable()">
4359
+ <div
4360
+ [style.border-color]="'inherit'"
4361
+ class="k-ct-popup"
4362
+ (mouseleave)="resetState()"
4363
+ (click)="insertTable()">
4356
4364
  <span *ngFor="let i of cells"
4357
4365
  class="k-ct-cell"
4358
4366
  [class.k-selected]="selected(i)"
@@ -5458,8 +5466,11 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5458
5466
  * @hidden
5459
5467
  */
5460
5468
  focus() {
5461
- this.tabIndex = 0;
5462
- this.getButton().focus();
5469
+ const buttonElement = this.getButton();
5470
+ if (isPresent$1(buttonElement)) {
5471
+ this.tabIndex = 0;
5472
+ buttonElement.focus();
5473
+ }
5463
5474
  }
5464
5475
  /**
5465
5476
  * @hidden
@@ -5503,7 +5514,7 @@ class EditorInsertTableButtonComponent extends ToolBarToolComponent {
5503
5514
  }
5504
5515
  }
5505
5516
  getButton() {
5506
- return (this.overflows ? this.overflowElement : this.element).nativeElement;
5517
+ return (this.overflows ? this.overflowElement : this.element)?.nativeElement;
5507
5518
  }
5508
5519
  }
5509
5520
  EditorInsertTableButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorInsertTableButtonComponent, deps: [{ token: EditorLocalizationService }, { token: i2$1.PopupService }, { token: i1$1.DialogService }, { token: ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-editor",
3
- "version": "16.5.0-develop.3",
3
+ "version": "16.5.0-develop.5",
4
4
  "description": "Kendo UI Editor for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,23 +23,23 @@
23
23
  "@angular/platform-browser": "15 - 18",
24
24
  "@progress/kendo-drawing": "^1.19.0",
25
25
  "@progress/kendo-licensing": "^1.0.2",
26
- "@progress/kendo-angular-buttons": "16.5.0-develop.3",
27
- "@progress/kendo-angular-common": "16.5.0-develop.3",
28
- "@progress/kendo-angular-dialog": "16.5.0-develop.3",
29
- "@progress/kendo-angular-dropdowns": "16.5.0-develop.3",
30
- "@progress/kendo-angular-inputs": "16.5.0-develop.3",
31
- "@progress/kendo-angular-intl": "16.5.0-develop.3",
32
- "@progress/kendo-angular-l10n": "16.5.0-develop.3",
33
- "@progress/kendo-angular-label": "16.5.0-develop.3",
34
- "@progress/kendo-angular-layout": "16.5.0-develop.3",
35
- "@progress/kendo-angular-icons": "16.5.0-develop.3",
36
- "@progress/kendo-angular-popup": "16.5.0-develop.3",
37
- "@progress/kendo-angular-toolbar": "16.5.0-develop.3",
26
+ "@progress/kendo-angular-buttons": "16.5.0-develop.5",
27
+ "@progress/kendo-angular-common": "16.5.0-develop.5",
28
+ "@progress/kendo-angular-dialog": "16.5.0-develop.5",
29
+ "@progress/kendo-angular-dropdowns": "16.5.0-develop.5",
30
+ "@progress/kendo-angular-inputs": "16.5.0-develop.5",
31
+ "@progress/kendo-angular-intl": "16.5.0-develop.5",
32
+ "@progress/kendo-angular-l10n": "16.5.0-develop.5",
33
+ "@progress/kendo-angular-label": "16.5.0-develop.5",
34
+ "@progress/kendo-angular-layout": "16.5.0-develop.5",
35
+ "@progress/kendo-angular-icons": "16.5.0-develop.5",
36
+ "@progress/kendo-angular-popup": "16.5.0-develop.5",
37
+ "@progress/kendo-angular-toolbar": "16.5.0-develop.5",
38
38
  "rxjs": "^6.5.3 || ^7.0.0"
39
39
  },
40
40
  "dependencies": {
41
41
  "tslib": "^2.3.1",
42
- "@progress/kendo-angular-schematics": "16.5.0-develop.3",
42
+ "@progress/kendo-angular-schematics": "16.5.0-develop.5",
43
43
  "@progress/kendo-editor-common": "1.11.5"
44
44
  },
45
45
  "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': '16.5.0-develop.3',
8
- '@progress/kendo-angular-treeview': '16.5.0-develop.3',
7
+ '@progress/kendo-angular-navigation': '16.5.0-develop.5',
8
+ '@progress/kendo-angular-treeview': '16.5.0-develop.5',
9
9
  // peer dependency of kendo-angular-layout
10
- '@progress/kendo-angular-progressbar': '16.5.0-develop.3',
10
+ '@progress/kendo-angular-progressbar': '16.5.0-develop.5',
11
11
  // peer dependency of kendo-angular-inputs
12
- '@progress/kendo-angular-dialog': '16.5.0-develop.3',
12
+ '@progress/kendo-angular-dialog': '16.5.0-develop.5',
13
13
  // Peer dependency of icons
14
14
  '@progress/kendo-svg-icons': '^3.0.0'
15
15
  } });