@progress/kendo-angular-editor 17.0.0-develop.4 → 17.0.0-develop.40

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.
Files changed (127) hide show
  1. package/README.md +26 -18
  2. package/common/commands.d.ts +5 -5
  3. package/common/direction.d.ts +1 -1
  4. package/common/plugins-function.d.ts +1 -1
  5. package/common/predicate.d.ts +1 -1
  6. package/config/utils.d.ts +2 -2
  7. package/dialogs/colorpicker-dialog.component.d.ts +1 -1
  8. package/dialogs/file-link-dialog.component.d.ts +1 -1
  9. package/dialogs/font-family-dialog.component.d.ts +1 -1
  10. package/dialogs/font-size-dialog.component.d.ts +1 -1
  11. package/dialogs/format-dialog.component.d.ts +1 -1
  12. package/dialogs/image-dialog.component.d.ts +1 -1
  13. package/dialogs/insert-table-dialog.component.d.ts +1 -1
  14. package/dialogs/source-dialog.component.d.ts +1 -1
  15. package/editor.component.d.ts +1 -1
  16. package/editor.module.d.ts +2 -3
  17. package/{esm2020 → esm2022}/common/provider.service.mjs +4 -3
  18. package/{esm2020 → esm2022}/dialogs/colorpicker-dialog.component.mjs +17 -5
  19. package/{esm2020 → esm2022}/dialogs/file-link-dialog.component.mjs +15 -10
  20. package/{esm2020 → esm2022}/dialogs/font-family-dialog.component.mjs +13 -6
  21. package/{esm2020 → esm2022}/dialogs/font-size-dialog.component.mjs +13 -6
  22. package/{esm2020 → esm2022}/dialogs/format-dialog.component.mjs +13 -6
  23. package/{esm2020 → esm2022}/dialogs/image-dialog.component.mjs +29 -21
  24. package/{esm2020 → esm2022}/dialogs/insert-table-dialog.component.mjs +8 -5
  25. package/{esm2020 → esm2022}/dialogs/source-dialog.component.mjs +10 -6
  26. package/{esm2020 → esm2022}/editor.component.mjs +222 -180
  27. package/esm2022/editor.module.mjs +88 -0
  28. package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
  29. package/{esm2020 → esm2022}/localization/editor-localization.service.mjs +3 -3
  30. package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +7 -6
  31. package/esm2022/localization/messages.mjs +364 -0
  32. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  33. package/{esm2020 → esm2022}/preventable-events/paste-event.mjs +12 -0
  34. package/{esm2020 → esm2022}/preventable-events/preventable-event.mjs +1 -3
  35. package/{esm2020 → esm2022}/tools/alignment/editor-align-center-button.directive.mjs +3 -3
  36. package/{esm2020 → esm2022}/tools/alignment/editor-align-justify-button.directive.mjs +3 -3
  37. package/{esm2020 → esm2022}/tools/alignment/editor-align-left-button.directive.mjs +3 -3
  38. package/{esm2020 → esm2022}/tools/alignment/editor-align-right-button.directive.mjs +3 -3
  39. package/{esm2020 → esm2022}/tools/blockquote/editor-blockquote-button.directive.mjs +3 -3
  40. package/{esm2020 → esm2022}/tools/colorpicker/editor-back-color.directive.mjs +4 -3
  41. package/{esm2020 → esm2022}/tools/colorpicker/editor-colorpicker.component.mjs +59 -33
  42. package/{esm2020 → esm2022}/tools/colorpicker/editor-fore-color.directive.mjs +4 -3
  43. package/{esm2020 → esm2022}/tools/editor-clean-formatting-button.directive.mjs +3 -3
  44. package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +14 -7
  45. package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily.component.mjs +53 -41
  46. package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +14 -7
  47. package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize.component.mjs +48 -36
  48. package/{esm2020 → esm2022}/tools/format/editor-format-dropdownlist.component.mjs +14 -7
  49. package/{esm2020 → esm2022}/tools/format/editor-format.component.mjs +41 -36
  50. package/{esm2020 → esm2022}/tools/history/editor-redo-button.directive.mjs +3 -3
  51. package/{esm2020 → esm2022}/tools/history/editor-undo-button.directive.mjs +3 -3
  52. package/{esm2020 → esm2022}/tools/image/editor-insert-image-button.directive.mjs +3 -3
  53. package/{esm2020 → esm2022}/tools/indentation/editor-indent-button.directive.mjs +3 -3
  54. package/{esm2020 → esm2022}/tools/indentation/editor-outdent-button.directive.mjs +3 -3
  55. package/{esm2020 → esm2022}/tools/link/editor-create-link-button.directive.mjs +3 -3
  56. package/{esm2020 → esm2022}/tools/link/editor-insert-file-button.directive.mjs +3 -3
  57. package/{esm2020 → esm2022}/tools/link/editor-unlink-button.directive.mjs +3 -3
  58. package/{esm2020 → esm2022}/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -3
  59. package/{esm2020 → esm2022}/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -3
  60. package/{esm2020 → esm2022}/tools/print/editor-print-button.directive.mjs +3 -3
  61. package/{esm2020 → esm2022}/tools/select-all/select-all-button.directive.mjs +3 -3
  62. package/{esm2020 → esm2022}/tools/shared/dropdown-tool.directive.mjs +11 -9
  63. package/{esm2020 → esm2022}/tools/shared/editor-command-base.mjs +9 -3
  64. package/{esm2020 → esm2022}/tools/shared/editor-command-button.mjs +5 -0
  65. package/{esm2020 → esm2022}/tools/shared/editor-command-dialog.mjs +5 -0
  66. package/{esm2020 → esm2022}/tools/source/editor-view-source-button.directive.mjs +3 -3
  67. package/{esm2020 → esm2022}/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
  68. package/{esm2020 → esm2022}/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
  69. package/{esm2020 → esm2022}/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
  70. package/{esm2020 → esm2022}/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
  71. package/{esm2020 → esm2022}/tools/tables/editor-delete-column-button.directive.mjs +3 -3
  72. package/{esm2020 → esm2022}/tools/tables/editor-delete-row-button.directive.mjs +3 -3
  73. package/{esm2020 → esm2022}/tools/tables/editor-delete-table-button.directive.mjs +3 -3
  74. package/{esm2020 → esm2022}/tools/tables/editor-insert-table-button.component.mjs +27 -16
  75. package/{esm2020 → esm2022}/tools/tables/editor-merge-cells-button.directive.mjs +3 -3
  76. package/{esm2020 → esm2022}/tools/tables/editor-split-cell-button.directive.mjs +3 -3
  77. package/{esm2020 → esm2022}/tools/tables/popup-table-grid.component.mjs +11 -10
  78. package/{esm2020 → esm2022}/tools/tools.service.mjs +5 -4
  79. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -3
  80. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -3
  81. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -3
  82. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -3
  83. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -3
  84. package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -3
  85. package/{fesm2020 → fesm2022}/progress-kendo-angular-editor.mjs +1608 -1174
  86. package/localization/messages.d.ts +1 -1
  87. package/package.json +25 -31
  88. package/schematics/ngAdd/index.js +4 -4
  89. package/tools/colorpicker/editor-colorpicker.component.d.ts +2 -4
  90. package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +1 -1
  91. package/tools/fontfamily/editor-fontfamily.component.d.ts +2 -4
  92. package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
  93. package/tools/fontsize/editor-fontsize.component.d.ts +2 -4
  94. package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
  95. package/tools/format/editor-format.component.d.ts +2 -4
  96. package/tools/tables/editor-insert-table-button.component.d.ts +0 -2
  97. package/esm2020/editor.module.mjs +0 -111
  98. package/esm2020/localization/messages.mjs +0 -132
  99. package/fesm2015/progress-kendo-angular-editor.mjs +0 -6403
  100. /package/{esm2020 → esm2022}/common/active-marks.mjs +0 -0
  101. /package/{esm2020 → esm2022}/common/apply-to-word-options.mjs +0 -0
  102. /package/{esm2020 → esm2022}/common/commands.mjs +0 -0
  103. /package/{esm2020 → esm2022}/common/css-settings.interface.mjs +0 -0
  104. /package/{esm2020 → esm2022}/common/direction.mjs +0 -0
  105. /package/{esm2020 → esm2022}/common/error-messages.mjs +0 -0
  106. /package/{esm2020 → esm2022}/common/font-family-item.interface.mjs +0 -0
  107. /package/{esm2020 → esm2022}/common/font-size-item.interface.mjs +0 -0
  108. /package/{esm2020 → esm2022}/common/format-item.interface.mjs +0 -0
  109. /package/{esm2020 → esm2022}/common/image-data.interface.mjs +0 -0
  110. /package/{esm2020 → esm2022}/common/link-data.interface.mjs +0 -0
  111. /package/{esm2020 → esm2022}/common/paste-cleanup-settings.mjs +0 -0
  112. /package/{esm2020 → esm2022}/common/plugins-function.mjs +0 -0
  113. /package/{esm2020 → esm2022}/common/predicate.mjs +0 -0
  114. /package/{esm2020 → esm2022}/common/resizable-options.interface.mjs +0 -0
  115. /package/{esm2020 → esm2022}/common/styles.mjs +0 -0
  116. /package/{esm2020 → esm2022}/common/table-data.interface.mjs +0 -0
  117. /package/{esm2020 → esm2022}/config/command-icons.mjs +0 -0
  118. /package/{esm2020 → esm2022}/config/commands.mjs +0 -0
  119. /package/{esm2020 → esm2022}/config/schema.mjs +0 -0
  120. /package/{esm2020 → esm2022}/config/semantic-nodes.mjs +0 -0
  121. /package/{esm2020 → esm2022}/config/table-commands.mjs +0 -0
  122. /package/{esm2020 → esm2022}/config/utils.mjs +0 -0
  123. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  124. /package/{esm2020 → esm2022}/editor-toolbar-state.mjs +0 -0
  125. /package/{esm2020 → esm2022}/index.mjs +0 -0
  126. /package/{esm2020 → esm2022}/progress-kendo-angular-editor.mjs +0 -0
  127. /package/{esm2020 → esm2022}/util.mjs +0 -0
@@ -11,17 +11,18 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * @hidden
12
12
  */
13
13
  export class LocalizedMessagesDirective extends MessagesDirective {
14
+ service;
14
15
  constructor(service) {
15
16
  super();
16
17
  this.service = service;
17
18
  }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoEditorLocalizedMessages]", providers: [{
21
+ provide: MessagesDirective,
22
+ useExisting: forwardRef(() => LocalizedMessagesDirective)
23
+ }], usesInheritance: true, ngImport: i0 });
18
24
  }
19
- LocalizedMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedMessagesDirective, isStandalone: true, selector: "[kendoEditorLocalizedMessages]", providers: [{
21
- provide: MessagesDirective,
22
- useExisting: forwardRef(() => LocalizedMessagesDirective)
23
- }], usesInheritance: true, ngImport: i0 });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedMessagesDirective, decorators: [{
25
26
  type: Directive,
26
27
  args: [{
27
28
  providers: [{
@@ -0,0 +1,364 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Directive, Input } from '@angular/core';
6
+ import { ComponentMessages } from '@progress/kendo-angular-l10n';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export class MessagesDirective extends ComponentMessages {
12
+ /* Section of Tools Messages */
13
+ /**
14
+ * The title of the tool that aligns text in the center.
15
+ */
16
+ alignCenter;
17
+ /**
18
+ * The title of the tool that justifies text both left and right.
19
+ */
20
+ alignJustify;
21
+ /**
22
+ * The title of the tool that aligns text on the left.
23
+ */
24
+ alignLeft;
25
+ /**
26
+ * The title of the tool that aligns text on the right.
27
+ */
28
+ alignRight;
29
+ /**
30
+ * The title of the tool that changes the text background color.
31
+ */
32
+ backColor;
33
+ /**
34
+ * The title of the tool that wraps an element in a blockquote.
35
+ */
36
+ blockquote;
37
+ /**
38
+ * The title of the tool that makes text bold.
39
+ */
40
+ bold;
41
+ /**
42
+ * The title of the Clean Formatting tool.
43
+ */
44
+ cleanFormatting;
45
+ /**
46
+ * The title of the tool that creates hyperlinks.
47
+ */
48
+ createLink;
49
+ /**
50
+ * The title of the tool that changes the text font.
51
+ */
52
+ fontFamily;
53
+ /**
54
+ * The title of the tool that changes the text size.
55
+ */
56
+ fontSize;
57
+ /**
58
+ * The title of the tool that changes the text color.
59
+ */
60
+ foreColor;
61
+ /**
62
+ * The title of the tool that lets users choose block formats.
63
+ */
64
+ format;
65
+ /**
66
+ * The title of the tool that indents the content.
67
+ */
68
+ indent;
69
+ /**
70
+ * The title of the tool that inserts links to files.
71
+ */
72
+ insertFile;
73
+ /**
74
+ * The title of the tool that inserts images.
75
+ */
76
+ insertImage;
77
+ /**
78
+ * The title of the tool that inserts an ordered list.
79
+ */
80
+ insertOrderedList;
81
+ /**
82
+ * The title of the tool that inserts an unordered list.
83
+ */
84
+ insertUnorderedList;
85
+ /**
86
+ * The title of the tool that makes text italicized.
87
+ */
88
+ italic;
89
+ /**
90
+ * The title of the tool that outdents the content.
91
+ */
92
+ outdent;
93
+ /**
94
+ * The title of the print tool.
95
+ */
96
+ print;
97
+ /**
98
+ * The title of the tool that redos the last action.
99
+ */
100
+ redo;
101
+ /**
102
+ * The title of the tool that selects all content.
103
+ */
104
+ selectAll;
105
+ /**
106
+ * The title of the tool that strikes through text.
107
+ */
108
+ strikethrough;
109
+ /**
110
+ * The title of the tool that makes text subscript.
111
+ */
112
+ subscript;
113
+ /**
114
+ * The title of the tool that makes text superscript.
115
+ */
116
+ superscript;
117
+ /**
118
+ * The title of the tool that underlines text.
119
+ */
120
+ underline;
121
+ /**
122
+ * The title of the tool that undos the last action.
123
+ */
124
+ undo;
125
+ /**
126
+ * The title of the tool that removes hyperlinks.
127
+ */
128
+ unlink;
129
+ /**
130
+ * The title of the tool that shows the editor value as HTML.
131
+ */
132
+ viewSource;
133
+ /**
134
+ * The title of the tool that inserts table.
135
+ */
136
+ insertTable;
137
+ /**
138
+ * The caption for the hint in the insert table tool.
139
+ *
140
+ * The message consists of several parts - the amount of rows, the amount of columns, an `x` separator, and a localizable string.
141
+ * To allow for reordering its parts, the `insertTableHint` input accepts a string with placeholders for the selected rows, selected columns
142
+ * and the separator. The `{rows}` and `{columns}` placeholders will be replaced internally with the respective actual values. The `{x}` placeholder
143
+ * shows a separator only when rows and columns are selected.
144
+ */
145
+ insertTableHint;
146
+ /**
147
+ * The title of the tool that adds new column before currently selected column.
148
+ */
149
+ addColumnBefore;
150
+ /**
151
+ * The title of the tool that adds new column after currently selected column.
152
+ */
153
+ addColumnAfter;
154
+ /**
155
+ * The title of the tool that adds new row before currently selected row.
156
+ */
157
+ addRowBefore;
158
+ /**
159
+ * The title of the tool that adds new row after currently selected row.
160
+ */
161
+ addRowAfter;
162
+ /**
163
+ * The title of the tool that deletes a table column.
164
+ */
165
+ deleteColumn;
166
+ /**
167
+ * The title of the tool that deletes a table row.
168
+ */
169
+ deleteRow;
170
+ /**
171
+ * The title of the tool that deletes a table.
172
+ */
173
+ deleteTable;
174
+ /**
175
+ * The title of the tool that merges the currently selected cells.
176
+ */
177
+ mergeCells;
178
+ /**
179
+ * The title of the tool that splits the currently selected cell.
180
+ */
181
+ splitCell;
182
+ /* End of Tools Messages Section */
183
+ /* Section of Dialog Messages */
184
+ /**
185
+ * The label of the **Apply** button in all Editor dialogs.
186
+ */
187
+ dialogApply;
188
+ /**
189
+ * The label of the **Cancel** button in all editor dialogs.
190
+ */
191
+ dialogCancel;
192
+ /**
193
+ * The label of the **Insert** button in all editor dialogs.
194
+ */
195
+ dialogInsert;
196
+ /**
197
+ * The label of the **Update** button in all editor dialogs.
198
+ */
199
+ dialogUpdate;
200
+ /**
201
+ * The caption for the file text in the insertFile dialog.
202
+ */
203
+ fileText;
204
+ /**
205
+ * The caption for the file Title in the insertFile dialog.
206
+ */
207
+ fileTitle;
208
+ /**
209
+ * The caption for the file URL in the insertFile dialog.
210
+ */
211
+ fileWebAddress;
212
+ /**
213
+ * The caption for the image alternate text in the insertImage dialog.
214
+ */
215
+ imageAltText;
216
+ /**
217
+ * The caption for the image height in the insertImage dialog.
218
+ */
219
+ imageHeight;
220
+ /**
221
+ * The caption for the image URL in the insertImage dialog.
222
+ */
223
+ imageWebAddress;
224
+ /**
225
+ * The caption for the image width in the insertImage dialog.
226
+ */
227
+ imageWidth;
228
+ /**
229
+ * The caption for the checkbox for opening the link in a new window in the createLink dialog.
230
+ */
231
+ linkOpenInNewWindow;
232
+ /**
233
+ * The caption for the link text in the createLink dialog.
234
+ */
235
+ linkText;
236
+ /**
237
+ * The caption for the link title in the createLink dialog.
238
+ */
239
+ linkTitle;
240
+ /**
241
+ * The caption for the URL in the createLink dialog.
242
+ */
243
+ linkWebAddress;
244
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MessagesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
245
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: MessagesDirective, selector: "[kendoEditorMessages]", inputs: { alignCenter: "alignCenter", alignJustify: "alignJustify", alignLeft: "alignLeft", alignRight: "alignRight", backColor: "backColor", blockquote: "blockquote", bold: "bold", cleanFormatting: "cleanFormatting", createLink: "createLink", fontFamily: "fontFamily", fontSize: "fontSize", foreColor: "foreColor", format: "format", indent: "indent", insertFile: "insertFile", insertImage: "insertImage", insertOrderedList: "insertOrderedList", insertUnorderedList: "insertUnorderedList", italic: "italic", outdent: "outdent", print: "print", redo: "redo", selectAll: "selectAll", strikethrough: "strikethrough", subscript: "subscript", superscript: "superscript", underline: "underline", undo: "undo", unlink: "unlink", viewSource: "viewSource", insertTable: "insertTable", insertTableHint: "insertTableHint", addColumnBefore: "addColumnBefore", addColumnAfter: "addColumnAfter", addRowBefore: "addRowBefore", addRowAfter: "addRowAfter", deleteColumn: "deleteColumn", deleteRow: "deleteRow", deleteTable: "deleteTable", mergeCells: "mergeCells", splitCell: "splitCell", dialogApply: "dialogApply", dialogCancel: "dialogCancel", dialogInsert: "dialogInsert", dialogUpdate: "dialogUpdate", fileText: "fileText", fileTitle: "fileTitle", fileWebAddress: "fileWebAddress", imageAltText: "imageAltText", imageHeight: "imageHeight", imageWebAddress: "imageWebAddress", imageWidth: "imageWidth", linkOpenInNewWindow: "linkOpenInNewWindow", linkText: "linkText", linkTitle: "linkTitle", linkWebAddress: "linkWebAddress" }, usesInheritance: true, ngImport: i0 });
246
+ }
247
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MessagesDirective, decorators: [{
248
+ type: Directive,
249
+ args: [{
250
+ selector: '[kendoEditorMessages]'
251
+ }]
252
+ }], propDecorators: { alignCenter: [{
253
+ type: Input
254
+ }], alignJustify: [{
255
+ type: Input
256
+ }], alignLeft: [{
257
+ type: Input
258
+ }], alignRight: [{
259
+ type: Input
260
+ }], backColor: [{
261
+ type: Input
262
+ }], blockquote: [{
263
+ type: Input
264
+ }], bold: [{
265
+ type: Input
266
+ }], cleanFormatting: [{
267
+ type: Input
268
+ }], createLink: [{
269
+ type: Input
270
+ }], fontFamily: [{
271
+ type: Input
272
+ }], fontSize: [{
273
+ type: Input
274
+ }], foreColor: [{
275
+ type: Input
276
+ }], format: [{
277
+ type: Input
278
+ }], indent: [{
279
+ type: Input
280
+ }], insertFile: [{
281
+ type: Input
282
+ }], insertImage: [{
283
+ type: Input
284
+ }], insertOrderedList: [{
285
+ type: Input
286
+ }], insertUnorderedList: [{
287
+ type: Input
288
+ }], italic: [{
289
+ type: Input
290
+ }], outdent: [{
291
+ type: Input
292
+ }], print: [{
293
+ type: Input
294
+ }], redo: [{
295
+ type: Input
296
+ }], selectAll: [{
297
+ type: Input
298
+ }], strikethrough: [{
299
+ type: Input
300
+ }], subscript: [{
301
+ type: Input
302
+ }], superscript: [{
303
+ type: Input
304
+ }], underline: [{
305
+ type: Input
306
+ }], undo: [{
307
+ type: Input
308
+ }], unlink: [{
309
+ type: Input
310
+ }], viewSource: [{
311
+ type: Input
312
+ }], insertTable: [{
313
+ type: Input
314
+ }], insertTableHint: [{
315
+ type: Input
316
+ }], addColumnBefore: [{
317
+ type: Input
318
+ }], addColumnAfter: [{
319
+ type: Input
320
+ }], addRowBefore: [{
321
+ type: Input
322
+ }], addRowAfter: [{
323
+ type: Input
324
+ }], deleteColumn: [{
325
+ type: Input
326
+ }], deleteRow: [{
327
+ type: Input
328
+ }], deleteTable: [{
329
+ type: Input
330
+ }], mergeCells: [{
331
+ type: Input
332
+ }], splitCell: [{
333
+ type: Input
334
+ }], dialogApply: [{
335
+ type: Input
336
+ }], dialogCancel: [{
337
+ type: Input
338
+ }], dialogInsert: [{
339
+ type: Input
340
+ }], dialogUpdate: [{
341
+ type: Input
342
+ }], fileText: [{
343
+ type: Input
344
+ }], fileTitle: [{
345
+ type: Input
346
+ }], fileWebAddress: [{
347
+ type: Input
348
+ }], imageAltText: [{
349
+ type: Input
350
+ }], imageHeight: [{
351
+ type: Input
352
+ }], imageWebAddress: [{
353
+ type: Input
354
+ }], imageWidth: [{
355
+ type: Input
356
+ }], linkOpenInNewWindow: [{
357
+ type: Input
358
+ }], linkText: [{
359
+ type: Input
360
+ }], linkTitle: [{
361
+ type: Input
362
+ }], linkWebAddress: [{
363
+ type: Input
364
+ }] } });
@@ -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: 1728985443,
13
- version: '17.0.0-develop.4',
12
+ publishDate: 1730799135,
13
+ version: '17.0.0-develop.40',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -7,6 +7,18 @@ import { PreventableEvent } from "./preventable-event";
7
7
  * The Editor [`paste`]({% slug api_editor_editorcomponent %}#toc-paste) event.
8
8
  */
9
9
  export class EditorPasteEvent extends PreventableEvent {
10
+ /**
11
+ * The HTML content cleaned in accordance with the [`PasteCleanupSettings`]({% slug paste_cleanup %}).
12
+ */
13
+ cleanedHtml;
14
+ /**
15
+ * The raw pasted content.
16
+ */
17
+ originalHtml;
18
+ /**
19
+ * The original DOM event.
20
+ */
21
+ originalEvent;
10
22
  /**
11
23
  * Constructs the event arguments for the `paste` event.
12
24
  * @hidden
@@ -6,9 +6,7 @@
6
6
  * @hidden
7
7
  */
8
8
  export class PreventableEvent {
9
- constructor() {
10
- this.prevented = false;
11
- }
9
+ prevented = false;
12
10
  /**
13
11
  * Prevents the default action for a specified event.
14
12
  * In this way, the source component suppresses the built-in behavior that follows the event.
@@ -28,10 +28,10 @@ export class EditorAlignCenterButtonDirective extends EditorCommandButton {
28
28
  constructor(button, localization, providerService, toolsService) {
29
29
  super('alignCenter', button, localization, providerService, toolsService);
30
30
  }
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
32
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignCenterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
31
33
  }
32
- EditorAlignCenterButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignCenterButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
33
- EditorAlignCenterButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignCenterButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignCenterButton]", usesInheritance: true, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignCenterButtonDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: 'kendo-toolbar-button[kendoEditorAlignCenterButton]',
@@ -28,10 +28,10 @@ export class EditorAlignJustifyButtonDirective extends EditorCommandButton {
28
28
  constructor(button, localization, providerService, toolsService) {
29
29
  super('alignJustify', button, localization, providerService, toolsService);
30
30
  }
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
32
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignJustifyButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
31
33
  }
32
- EditorAlignJustifyButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignJustifyButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
33
- EditorAlignJustifyButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignJustifyButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignJustifyButton]", usesInheritance: true, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignJustifyButtonDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: 'kendo-toolbar-button[kendoEditorAlignJustifyButton]',
@@ -28,10 +28,10 @@ export class EditorAlignLeftButtonDirective extends EditorCommandButton {
28
28
  constructor(button, localization, providerService, toolsService) {
29
29
  super('alignLeft', button, localization, providerService, toolsService);
30
30
  }
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
32
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignLeftButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
31
33
  }
32
- EditorAlignLeftButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignLeftButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
33
- EditorAlignLeftButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignLeftButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignLeftButton]", usesInheritance: true, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignLeftButtonDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: 'kendo-toolbar-button[kendoEditorAlignLeftButton]',
@@ -28,10 +28,10 @@ export class EditorAlignRightButtonDirective extends EditorCommandButton {
28
28
  constructor(button, localization, providerService, toolsService) {
29
29
  super('alignRight', button, localization, providerService, toolsService);
30
30
  }
31
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
32
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorAlignRightButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
31
33
  }
32
- EditorAlignRightButtonDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignRightButtonDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
33
- EditorAlignRightButtonDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorAlignRightButtonDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorAlignRightButton]", usesInheritance: true, ngImport: i0 });
34
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
34
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorAlignRightButtonDirective, decorators: [{
35
35
  type: Directive,
36
36
  args: [{
37
37
  selector: 'kendo-toolbar-button[kendoEditorAlignRightButton]',
@@ -27,10 +27,10 @@ export class EditorBlockquoteDirective extends EditorCommandButton {
27
27
  constructor(button, localization, providerService, toolsService) {
28
28
  super('blockquote', button, localization, providerService, toolsService);
29
29
  }
30
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
31
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorBlockquoteDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
30
32
  }
31
- EditorBlockquoteDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBlockquoteDirective, deps: [{ token: i1.ToolBarButtonComponent }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }], target: i0.ɵɵFactoryTarget.Directive });
32
- EditorBlockquoteDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorBlockquoteDirective, isStandalone: true, selector: "kendo-toolbar-button[kendoEditorBlockquoteButton]", usesInheritance: true, ngImport: i0 });
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBlockquoteDirective, decorators: [{
34
34
  type: Directive,
35
35
  args: [{
36
36
  selector: 'kendo-toolbar-button[kendoEditorBlockquoteButton]',
@@ -17,16 +17,17 @@ import * as i1 from "./editor-colorpicker.component";
17
17
  * ```
18
18
  */
19
19
  export class EditorBackColorDirective {
20
+ colorPicker;
20
21
  constructor(colorPicker) {
21
22
  this.colorPicker = colorPicker;
22
23
  this.colorPicker.icon = commandIcons.backColor;
23
24
  this.colorPicker.svgIcon = commandSVGIcons.backColor;
24
25
  this.colorPicker.editorCommand = 'backColor';
25
26
  }
27
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBackColorDirective, deps: [{ token: i1.EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
28
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: EditorBackColorDirective, isStandalone: true, selector: "[kendoEditorBackColor]", ngImport: i0 });
26
29
  }
27
- EditorBackColorDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBackColorDirective, deps: [{ token: i1.EditorColorPickerComponent }], target: i0.ɵɵFactoryTarget.Directive });
28
- EditorBackColorDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: EditorBackColorDirective, isStandalone: true, selector: "[kendoEditorBackColor]", ngImport: i0 });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: EditorBackColorDirective, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorBackColorDirective, decorators: [{
30
31
  type: Directive,
31
32
  args: [{
32
33
  selector: '[kendoEditorBackColor]',