@progress/kendo-angular-editor 17.0.0-develop.21 → 17.0.0-develop.22
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/common/commands.d.ts +5 -5
- package/common/direction.d.ts +1 -1
- package/common/plugins-function.d.ts +1 -1
- package/common/predicate.d.ts +1 -1
- package/config/utils.d.ts +2 -2
- package/dialogs/colorpicker-dialog.component.d.ts +1 -1
- package/dialogs/file-link-dialog.component.d.ts +1 -1
- package/dialogs/font-family-dialog.component.d.ts +1 -1
- package/dialogs/font-size-dialog.component.d.ts +1 -1
- package/dialogs/format-dialog.component.d.ts +1 -1
- package/dialogs/image-dialog.component.d.ts +1 -1
- package/dialogs/insert-table-dialog.component.d.ts +1 -1
- package/dialogs/source-dialog.component.d.ts +1 -1
- package/editor.component.d.ts +1 -1
- package/{esm2020 → esm2022}/common/provider.service.mjs +4 -3
- package/{esm2020 → esm2022}/dialogs/colorpicker-dialog.component.mjs +16 -4
- package/{esm2020 → esm2022}/dialogs/file-link-dialog.component.mjs +14 -9
- package/{esm2020 → esm2022}/dialogs/font-family-dialog.component.mjs +12 -5
- package/{esm2020 → esm2022}/dialogs/font-size-dialog.component.mjs +12 -5
- package/{esm2020 → esm2022}/dialogs/format-dialog.component.mjs +12 -5
- package/{esm2020 → esm2022}/dialogs/image-dialog.component.mjs +28 -20
- package/{esm2020 → esm2022}/dialogs/insert-table-dialog.component.mjs +7 -4
- package/{esm2020 → esm2022}/dialogs/source-dialog.component.mjs +9 -5
- package/{esm2020 → esm2022}/editor.component.mjs +218 -179
- package/{esm2020 → esm2022}/editor.module.mjs +4 -4
- package/{esm2020 → esm2022}/localization/custom-messages.component.mjs +9 -8
- package/{esm2020 → esm2022}/localization/editor-localization.service.mjs +3 -3
- package/{esm2020 → esm2022}/localization/localized-messages.directive.mjs +7 -6
- package/esm2022/localization/messages.mjs +364 -0
- package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
- package/{esm2020 → esm2022}/preventable-events/paste-event.mjs +12 -0
- package/{esm2020 → esm2022}/preventable-events/preventable-event.mjs +1 -3
- package/{esm2020 → esm2022}/tools/alignment/editor-align-center-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/alignment/editor-align-justify-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/alignment/editor-align-left-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/alignment/editor-align-right-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/blockquote/editor-blockquote-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/colorpicker/editor-back-color.directive.mjs +4 -3
- package/{esm2020 → esm2022}/tools/colorpicker/editor-colorpicker.component.mjs +59 -33
- package/{esm2020 → esm2022}/tools/colorpicker/editor-fore-color.directive.mjs +4 -3
- package/{esm2020 → esm2022}/tools/editor-clean-formatting-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +14 -7
- package/{esm2020 → esm2022}/tools/fontfamily/editor-fontfamily.component.mjs +53 -41
- package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +14 -7
- package/{esm2020 → esm2022}/tools/fontsize/editor-fontsize.component.mjs +48 -36
- package/{esm2020 → esm2022}/tools/format/editor-format-dropdownlist.component.mjs +14 -7
- package/{esm2020 → esm2022}/tools/format/editor-format.component.mjs +41 -36
- package/{esm2020 → esm2022}/tools/history/editor-redo-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/history/editor-undo-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/image/editor-insert-image-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/indentation/editor-indent-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/indentation/editor-outdent-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/link/editor-create-link-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/link/editor-insert-file-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/link/editor-unlink-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/list/editor-insert-ordered-list-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/list/editor-insert-unordered-list-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/print/editor-print-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/select-all/select-all-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/shared/dropdown-tool.directive.mjs +11 -9
- package/{esm2020 → esm2022}/tools/shared/editor-command-base.mjs +9 -3
- package/{esm2020 → esm2022}/tools/shared/editor-command-button.mjs +5 -0
- package/{esm2020 → esm2022}/tools/shared/editor-command-dialog.mjs +5 -0
- package/{esm2020 → esm2022}/tools/source/editor-view-source-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-add-column-after-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-add-column-before-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-add-row-after-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-add-row-before-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-delete-column-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-delete-row-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-delete-table-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-insert-table-button.component.mjs +26 -15
- package/{esm2020 → esm2022}/tools/tables/editor-merge-cells-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/editor-split-cell-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/tables/popup-table-grid.component.mjs +11 -10
- package/{esm2020 → esm2022}/tools/tools.service.mjs +5 -4
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-bold-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-italic-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-subscript-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-superscript-button.directive.mjs +3 -3
- package/{esm2020 → esm2022}/tools/typographical-emphasis/editor-underline-button.directive.mjs +3 -3
- package/{fesm2020 → fesm2022}/progress-kendo-angular-editor.mjs +1027 -581
- package/localization/messages.d.ts +1 -1
- package/package.json +23 -29
- package/schematics/ngAdd/index.js +4 -4
- package/tools/colorpicker/editor-colorpicker.component.d.ts +2 -4
- package/tools/fontfamily/editor-fontfamily-dropdownlist.component.d.ts +1 -1
- package/tools/fontfamily/editor-fontfamily.component.d.ts +2 -4
- package/tools/fontsize/editor-fontsize-dropdownlist.component.d.ts +1 -1
- package/tools/fontsize/editor-fontsize.component.d.ts +2 -4
- package/tools/format/editor-format-dropdownlist.component.d.ts +1 -1
- package/tools/format/editor-format.component.d.ts +2 -4
- package/tools/tables/editor-insert-table-button.component.d.ts +0 -2
- package/esm2020/localization/messages.mjs +0 -132
- package/fesm2015/progress-kendo-angular-editor.mjs +0 -6406
- /package/{esm2020 → esm2022}/common/active-marks.mjs +0 -0
- /package/{esm2020 → esm2022}/common/apply-to-word-options.mjs +0 -0
- /package/{esm2020 → esm2022}/common/commands.mjs +0 -0
- /package/{esm2020 → esm2022}/common/css-settings.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/direction.mjs +0 -0
- /package/{esm2020 → esm2022}/common/error-messages.mjs +0 -0
- /package/{esm2020 → esm2022}/common/font-family-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/font-size-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/format-item.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/image-data.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/link-data.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/paste-cleanup-settings.mjs +0 -0
- /package/{esm2020 → esm2022}/common/plugins-function.mjs +0 -0
- /package/{esm2020 → esm2022}/common/predicate.mjs +0 -0
- /package/{esm2020 → esm2022}/common/resizable-options.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/common/styles.mjs +0 -0
- /package/{esm2020 → esm2022}/common/table-data.interface.mjs +0 -0
- /package/{esm2020 → esm2022}/config/command-icons.mjs +0 -0
- /package/{esm2020 → esm2022}/config/commands.mjs +0 -0
- /package/{esm2020 → esm2022}/config/schema.mjs +0 -0
- /package/{esm2020 → esm2022}/config/semantic-nodes.mjs +0 -0
- /package/{esm2020 → esm2022}/config/table-commands.mjs +0 -0
- /package/{esm2020 → esm2022}/config/utils.mjs +0 -0
- /package/{esm2020 → esm2022}/directives.mjs +0 -0
- /package/{esm2020 → esm2022}/editor-toolbar-state.mjs +0 -0
- /package/{esm2020 → esm2022}/index.mjs +0 -0
- /package/{esm2020 → esm2022}/progress-kendo-angular-editor.mjs +0 -0
- /package/{esm2020 → esm2022}/util.mjs +0 -0
|
@@ -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:
|
|
13
|
-
version: '17.0.0-develop.
|
|
12
|
+
publishDate: 1730103804,
|
|
13
|
+
version: '17.0.0-develop.22',
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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]',
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
6
6
|
// eslint-disable no-forward-ref
|
|
7
|
-
import { Component, Input, forwardRef, ViewChild, ElementRef,
|
|
7
|
+
import { Component, Input, forwardRef, ViewChild, ElementRef, NgZone, Renderer2 } from '@angular/core';
|
|
8
8
|
import { NgIf } from '@angular/common';
|
|
9
9
|
import { take } from 'rxjs/operators';
|
|
10
10
|
import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
|
|
@@ -25,28 +25,44 @@ import * as i3 from "../../common/provider.service";
|
|
|
25
25
|
* foreground or the background color of the text, use the `kendoEditorForeColor` or `kendoEditorBackColor` directivе ([more information]({% slug toolbartools_editor %}#toc-colorpickers)).
|
|
26
26
|
*/
|
|
27
27
|
export class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
28
|
+
localization;
|
|
29
|
+
dialogService;
|
|
30
|
+
ngZone;
|
|
31
|
+
renderer;
|
|
32
|
+
tabindex = -1;
|
|
33
|
+
/**
|
|
34
|
+
* Specifies the initial value of the color picker.
|
|
35
|
+
*/
|
|
36
|
+
value;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the Kendo UI font icon that will be used.
|
|
39
|
+
*/
|
|
40
|
+
icon;
|
|
41
|
+
/**
|
|
42
|
+
* Defines an SVGIcon to be rendered within the ColorPicker button.
|
|
43
|
+
* The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
|
|
44
|
+
*/
|
|
45
|
+
svgIcon;
|
|
46
|
+
/**
|
|
47
|
+
* Overrides the default [color palette settings]({% slug api_inputs_palettesettings %}).
|
|
48
|
+
*/
|
|
49
|
+
paletteSettings;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies the color-related command that will be executed.
|
|
52
|
+
*/
|
|
53
|
+
editorCommand;
|
|
54
|
+
/**
|
|
55
|
+
* Specifies if the component should be disabled.
|
|
56
|
+
*
|
|
57
|
+
* @default false
|
|
58
|
+
*/
|
|
59
|
+
disabled = false;
|
|
60
|
+
/**
|
|
61
|
+
* Specifies whether the ColorPicker will render a gradient, palette, or both in its popup.
|
|
62
|
+
*
|
|
63
|
+
* @default ['palette']
|
|
64
|
+
*/
|
|
65
|
+
views = ['palette'];
|
|
50
66
|
/**
|
|
51
67
|
* @hidden
|
|
52
68
|
*
|
|
@@ -64,6 +80,22 @@ export class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
64
80
|
get title() {
|
|
65
81
|
return this.localization.get(this.editorCommand);
|
|
66
82
|
}
|
|
83
|
+
element;
|
|
84
|
+
colorPicker;
|
|
85
|
+
colorPickerButton;
|
|
86
|
+
subs;
|
|
87
|
+
valueCache;
|
|
88
|
+
editor;
|
|
89
|
+
activeView;
|
|
90
|
+
constructor(localization, dialogService, ngZone, providerService, renderer) {
|
|
91
|
+
super();
|
|
92
|
+
this.localization = localization;
|
|
93
|
+
this.dialogService = dialogService;
|
|
94
|
+
this.ngZone = ngZone;
|
|
95
|
+
this.renderer = renderer;
|
|
96
|
+
this.editor = providerService.editor;
|
|
97
|
+
this.isBuiltInTool = true;
|
|
98
|
+
}
|
|
67
99
|
ngOnInit() {
|
|
68
100
|
this.subs = this.editor.stateChange.subscribe(({ style }) => {
|
|
69
101
|
this.disabled = style.disabled;
|
|
@@ -181,9 +213,8 @@ export class EditorColorPickerComponent extends ToolBarToolComponent {
|
|
|
181
213
|
this.tabindex = -1;
|
|
182
214
|
return false;
|
|
183
215
|
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: EditorColorPickerComponent, isStandalone: true, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", svgIcon: "svgIcon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "toolbarTemplate", first: true, predicate: ["toolbarTemplate"], descendants: true, static: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }, { propertyName: "element", first: true, predicate: ["colorpicker"], descendants: true, read: ElementRef }, { propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent }, { propertyName: "colorPickerButton", first: true, predicate: ["colorPickerButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
216
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorColorPickerComponent, deps: [{ token: i1.EditorLocalizationService }, { token: i2.DialogService }, { token: i0.NgZone }, { token: i3.ProviderService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
217
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: EditorColorPickerComponent, isStandalone: true, selector: "kendo-toolbar-colorpicker", inputs: { value: "value", icon: "icon", svgIcon: "svgIcon", paletteSettings: "paletteSettings", editorCommand: "editorCommand", disabled: "disabled", views: "views", view: "view" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["colorpicker"], descendants: true, read: ElementRef }, { propertyName: "colorPicker", first: true, predicate: ["colorpicker"], descendants: true, read: ColorPickerComponent }, { propertyName: "colorPickerButton", first: true, predicate: ["colorPickerButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
|
|
187
218
|
<ng-template #toolbarTemplate>
|
|
188
219
|
<kendo-colorpicker
|
|
189
220
|
#colorpicker
|
|
@@ -225,7 +256,8 @@ EditorColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0
|
|
|
225
256
|
</div>
|
|
226
257
|
</ng-template>
|
|
227
258
|
`, isInline: true, dependencies: [{ kind: "component", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: ["views", "view", "activeView", "readonly", "disabled", "format", "value", "popupSettings", "paletteSettings", "gradientSettings", "icon", "iconClass", "svgIcon", "clearButton", "tabindex", "preview", "actionsLayout", "size", "rounded", "fillMode"], outputs: ["valueChange", "open", "close", "focus", "blur", "cancel", "activeColorClick", "clearButtonClick", "activeViewChange"], exportAs: ["kendoColorPicker"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
|
|
228
|
-
|
|
259
|
+
}
|
|
260
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: EditorColorPickerComponent, decorators: [{
|
|
229
261
|
type: Component,
|
|
230
262
|
args: [{
|
|
231
263
|
providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorColorPickerComponent) }],
|
|
@@ -291,12 +323,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
291
323
|
type: Input
|
|
292
324
|
}], view: [{
|
|
293
325
|
type: Input
|
|
294
|
-
}], toolbarTemplate: [{
|
|
295
|
-
type: ViewChild,
|
|
296
|
-
args: ['toolbarTemplate', { static: true }]
|
|
297
|
-
}], popupTemplate: [{
|
|
298
|
-
type: ViewChild,
|
|
299
|
-
args: ['popupTemplate', { static: true }]
|
|
300
326
|
}], element: [{
|
|
301
327
|
type: ViewChild,
|
|
302
328
|
args: ['colorpicker', { read: ElementRef }]
|