@progress/kendo-angular-editor 21.4.1 → 22.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/fesm2022/progress-kendo-angular-editor.mjs +196 -196
  2. package/localization/messages.d.ts +1 -1
  3. package/package.json +20 -28
  4. package/schematics/ngAdd/index.js +4 -4
  5. package/tools/shared/editor-command-base.d.ts +1 -1
  6. package/esm2022/common/active-marks.mjs +0 -5
  7. package/esm2022/common/apply-to-word-options.mjs +0 -5
  8. package/esm2022/common/commands.mjs +0 -5
  9. package/esm2022/common/css-settings.interface.mjs +0 -5
  10. package/esm2022/common/direction.mjs +0 -5
  11. package/esm2022/common/error-messages.mjs +0 -16
  12. package/esm2022/common/font-family-item.interface.mjs +0 -5
  13. package/esm2022/common/font-size-item.interface.mjs +0 -5
  14. package/esm2022/common/format-item.interface.mjs +0 -5
  15. package/esm2022/common/image-data.interface.mjs +0 -5
  16. package/esm2022/common/link-data.interface.mjs +0 -5
  17. package/esm2022/common/paste-cleanup-settings.mjs +0 -5
  18. package/esm2022/common/plugins-function.mjs +0 -5
  19. package/esm2022/common/predicate.mjs +0 -5
  20. package/esm2022/common/provider.service.mjs +0 -17
  21. package/esm2022/common/resizable-options.interface.mjs +0 -5
  22. package/esm2022/common/styles.mjs +0 -306
  23. package/esm2022/common/table-data.interface.mjs +0 -5
  24. package/esm2022/config/command-icons.mjs +0 -93
  25. package/esm2022/config/commands.mjs +0 -62
  26. package/esm2022/config/schema.mjs +0 -22
  27. package/esm2022/config/semantic-nodes.mjs +0 -27
  28. package/esm2022/config/table-commands.mjs +0 -14
  29. package/esm2022/config/utils.mjs +0 -96
  30. package/esm2022/dialogs/colorpicker-dialog.component.mjs +0 -140
  31. package/esm2022/dialogs/file-link-dialog.component.mjs +0 -252
  32. package/esm2022/dialogs/font-family-dialog.component.mjs +0 -115
  33. package/esm2022/dialogs/font-size-dialog.component.mjs +0 -115
  34. package/esm2022/dialogs/format-dialog.component.mjs +0 -114
  35. package/esm2022/dialogs/image-dialog.component.mjs +0 -230
  36. package/esm2022/dialogs/insert-table-dialog.component.mjs +0 -79
  37. package/esm2022/dialogs/source-dialog.component.mjs +0 -112
  38. package/esm2022/directives.mjs +0 -95
  39. package/esm2022/editor-toolbar-state.mjs +0 -280
  40. package/esm2022/editor.component.mjs +0 -1319
  41. package/esm2022/editor.module.mjs +0 -89
  42. package/esm2022/index.mjs +0 -64
  43. package/esm2022/localization/custom-messages.component.mjs +0 -53
  44. package/esm2022/localization/editor-localization.service.mjs +0 -31
  45. package/esm2022/localization/localized-messages.directive.mjs +0 -35
  46. package/esm2022/localization/messages.mjs +0 -364
  47. package/esm2022/package-metadata.mjs +0 -16
  48. package/esm2022/preventable-events/paste-event.mjs +0 -32
  49. package/esm2022/preventable-events/preventable-event.mjs +0 -25
  50. package/esm2022/progress-kendo-angular-editor.mjs +0 -8
  51. package/esm2022/tools/alignment/editor-align-center-button.directive.mjs +0 -42
  52. package/esm2022/tools/alignment/editor-align-justify-button.directive.mjs +0 -42
  53. package/esm2022/tools/alignment/editor-align-left-button.directive.mjs +0 -42
  54. package/esm2022/tools/alignment/editor-align-right-button.directive.mjs +0 -42
  55. package/esm2022/tools/blockquote/editor-blockquote-button.directive.mjs +0 -40
  56. package/esm2022/tools/colorpicker/editor-back-color.directive.mjs +0 -41
  57. package/esm2022/tools/colorpicker/editor-colorpicker.component.mjs +0 -377
  58. package/esm2022/tools/colorpicker/editor-fore-color.directive.mjs +0 -37
  59. package/esm2022/tools/editor-clean-formatting-button.directive.mjs +0 -41
  60. package/esm2022/tools/fontfamily/editor-fontfamily-dropdownlist.component.mjs +0 -109
  61. package/esm2022/tools/fontfamily/editor-fontfamily.component.mjs +0 -297
  62. package/esm2022/tools/fontsize/editor-fontsize-dropdownlist.component.mjs +0 -98
  63. package/esm2022/tools/fontsize/editor-fontsize.component.mjs +0 -305
  64. package/esm2022/tools/format/editor-format-dropdownlist.component.mjs +0 -182
  65. package/esm2022/tools/format/editor-format.component.mjs +0 -283
  66. package/esm2022/tools/history/editor-redo-button.directive.mjs +0 -42
  67. package/esm2022/tools/history/editor-undo-button.directive.mjs +0 -42
  68. package/esm2022/tools/image/editor-insert-image-button.directive.mjs +0 -41
  69. package/esm2022/tools/indentation/editor-indent-button.directive.mjs +0 -41
  70. package/esm2022/tools/indentation/editor-outdent-button.directive.mjs +0 -41
  71. package/esm2022/tools/link/editor-create-link-button.directive.mjs +0 -41
  72. package/esm2022/tools/link/editor-insert-file-button.directive.mjs +0 -40
  73. package/esm2022/tools/link/editor-unlink-button.directive.mjs +0 -41
  74. package/esm2022/tools/list/editor-insert-ordered-list-button.directive.mjs +0 -41
  75. package/esm2022/tools/list/editor-insert-unordered-list-button.directive.mjs +0 -42
  76. package/esm2022/tools/print/editor-print-button.directive.mjs +0 -62
  77. package/esm2022/tools/select-all/select-all-button.directive.mjs +0 -45
  78. package/esm2022/tools/shared/dropdown-tool.directive.mjs +0 -40
  79. package/esm2022/tools/shared/editor-command-base.mjs +0 -78
  80. package/esm2022/tools/shared/editor-command-button.mjs +0 -37
  81. package/esm2022/tools/shared/editor-command-dialog.mjs +0 -33
  82. package/esm2022/tools/source/editor-view-source-button.directive.mjs +0 -41
  83. package/esm2022/tools/tables/editor-add-column-after-button.directive.mjs +0 -42
  84. package/esm2022/tools/tables/editor-add-column-before-button.directive.mjs +0 -42
  85. package/esm2022/tools/tables/editor-add-row-after-button.directive.mjs +0 -42
  86. package/esm2022/tools/tables/editor-add-row-before-button.directive.mjs +0 -42
  87. package/esm2022/tools/tables/editor-delete-column-button.directive.mjs +0 -42
  88. package/esm2022/tools/tables/editor-delete-row-button.directive.mjs +0 -42
  89. package/esm2022/tools/tables/editor-delete-table-button.directive.mjs +0 -42
  90. package/esm2022/tools/tables/editor-insert-table-button.component.mjs +0 -307
  91. package/esm2022/tools/tables/editor-merge-cells-button.directive.mjs +0 -44
  92. package/esm2022/tools/tables/editor-split-cell-button.directive.mjs +0 -44
  93. package/esm2022/tools/tables/popup-table-grid.component.mjs +0 -117
  94. package/esm2022/tools/tools.service.mjs +0 -22
  95. package/esm2022/tools/typographical-emphasis/editor-bold-button.directive.mjs +0 -42
  96. package/esm2022/tools/typographical-emphasis/editor-italic-button.directive.mjs +0 -42
  97. package/esm2022/tools/typographical-emphasis/editor-strikethrough-button.directive.mjs +0 -42
  98. package/esm2022/tools/typographical-emphasis/editor-subscript-button.directive.mjs +0 -42
  99. package/esm2022/tools/typographical-emphasis/editor-superscript-button.directive.mjs +0 -42
  100. package/esm2022/tools/typographical-emphasis/editor-underline-button.directive.mjs +0 -42
  101. package/esm2022/util.mjs +0 -130
@@ -1,297 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, ViewChild, ElementRef, forwardRef, Input, Output, EventEmitter, Renderer2 } from '@angular/core';
6
- import { ToolBarToolComponent } from '@progress/kendo-angular-toolbar';
7
- import { DialogService } from '@progress/kendo-angular-dialog';
8
- import { fontFamilyIcon } from '@progress/kendo-svg-icons';
9
- import { IconWrapperComponent } from '@progress/kendo-angular-icons';
10
- import { outerWidth, isPresent, getUniqueStyleValues } from '../../util';
11
- import { EditorLocalizationService } from '../../localization/editor-localization.service';
12
- import { FontFamilyDialogComponent } from '../../dialogs/font-family-dialog.component';
13
- import { FontFamilyDropDownListComponent } from './editor-fontfamily-dropdownlist.component';
14
- import { ProviderService } from '../../common/provider.service';
15
- import { EditorToolsService } from '../tools.service';
16
- import * as i0 from "@angular/core";
17
- import * as i1 from "@progress/kendo-angular-dialog";
18
- import * as i2 from "../../localization/editor-localization.service";
19
- import * as i3 from "../../common/provider.service";
20
- import * as i4 from "../tools.service";
21
- /**
22
- * Configures a DropDownListComponent as an Editor tool ([see example]({% slug toolbartools_editor %}#toc-built-in-tools)).
23
- * Use this component to associate a kendo-toolbar-dropdownlist with an Editor command that changes the font family of a content block.
24
- * The component automatically sets the options and values of the drop-down list ([see example]({% slug toolbartools_editor %}#toc-dropdownlists)).
25
- *
26
- * @example
27
- * ```html
28
- * <kendo-editor>
29
- * <kendo-toolbar>
30
- * <kendo-toolbar-dropdownlist kendoEditorFontFamily></kendo-toolbar-dropdownlist>
31
- * </kendo-toolbar>
32
- * </kendo-editor>
33
- * ```
34
- */
35
- export class EditorFontFamilyComponent extends ToolBarToolComponent {
36
- dialogService;
37
- localization;
38
- toolsService;
39
- renderer;
40
- value;
41
- disabled = false;
42
- tabindex = -1;
43
- /**
44
- * Overrides the default font list.
45
- */
46
- set data(fonts) {
47
- this._data = fonts || this._data;
48
- }
49
- get data() {
50
- return this._data;
51
- }
52
- /**
53
- * Fires when the user updates the value of the drop-down list.
54
- */
55
- valueChange = new EventEmitter();
56
- element;
57
- fontFamilyDropDownList;
58
- fontFamilyButton;
59
- /**
60
- * @hidden
61
- */
62
- defaultItem;
63
- /**
64
- * @hidden
65
- */
66
- itemDisabled;
67
- fontFamilySVGIcon = fontFamilyIcon;
68
- subs;
69
- editor;
70
- _data = [
71
- { text: 'Arial', fontName: 'Arial,"Helvetica Neue",Helvetica,sans-serif' },
72
- { text: 'Courier New', fontName: '"Courier New",Courier,"Lucida Sans Typewriter","Lucida Typewriter",monospace' },
73
- { text: 'Georgia', fontName: 'Georgia,Times,"Times New Roman",serif' },
74
- {
75
- fontName: 'Impact,Haettenschweiler,"Franklin Gothic Bold",Charcoal,"Helvetica Inserat","Bitstream Vera Sans Bold","Arial Black","sans serif"',
76
- text: 'Impact'
77
- },
78
- { text: 'Lucida Console', fontName: '"Lucida Console","Lucida Sans Typewriter",monaco,"Bitstream Vera Sans Mono",monospace' },
79
- { text: 'Tahoma', fontName: 'Tahoma,Verdana,Segoe,sans-serif' },
80
- { text: 'Times New Roman', fontName: 'TimesNewRoman,"Times New Roman",Times,Baskerville,Georgia,serif' },
81
- { text: 'Trebuchet MS', fontName: '"Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif' },
82
- { text: 'Verdana', fontName: 'Verdana,Geneva,sans-serif' }
83
- ];
84
- constructor(dialogService, localization, providerService, toolsService, renderer) {
85
- super();
86
- this.dialogService = dialogService;
87
- this.localization = localization;
88
- this.toolsService = toolsService;
89
- this.renderer = renderer;
90
- this.editor = providerService.editor;
91
- this.isBuiltInTool = true;
92
- }
93
- ngOnInit() {
94
- this.itemDisabled = (itemArgs) => {
95
- if (!this.overflows && this.fontFamilyDropDownList && !this.fontFamilyDropDownList.dropDownList.isOpen) {
96
- return true; //disable all items in order to prevent navigation when DDL is closed
97
- }
98
- else {
99
- return itemArgs.dataItem.fontName === null;
100
- }
101
- };
102
- setTimeout(() => {
103
- this.defaultItem = { text: this.title, fontName: null };
104
- this.toolsService.needsCheck.next(undefined);
105
- });
106
- this.subs = this.editor.stateChange.subscribe(({ style }) => {
107
- this.value = getUniqueStyleValues(style.selected, 'font-family') || null;
108
- this.disabled = style.disabled;
109
- });
110
- }
111
- /**
112
- * @hidden
113
- */
114
- onValueChange(ev) {
115
- if (isPresent(ev)) {
116
- this.editor.exec('fontFamily', ev);
117
- this.editor.view.focus();
118
- this.valueChange.emit(this.data.find(f => f.fontName === ev));
119
- }
120
- }
121
- ngOnDestroy() {
122
- if (this.subs) {
123
- this.subs.unsubscribe();
124
- }
125
- }
126
- get outerWidth() {
127
- if (this.element) {
128
- return outerWidth(this.element.nativeElement);
129
- }
130
- }
131
- get title() {
132
- return this.localization.get('fontFamily');
133
- }
134
- /**
135
- * @hidden
136
- */
137
- openDialog() {
138
- const dialogSettings = {
139
- appendTo: this.editor.dialogContainer,
140
- content: FontFamilyDialogComponent,
141
- width: 400,
142
- autoFocusedElement: '.k-picker'
143
- };
144
- this.editor.toolbar.toggle(false);
145
- const dialogContent = this.dialogService.open(dialogSettings).content.instance;
146
- this.renderer.addClass(dialogContent.dialog.dialog.instance.wrapper.nativeElement.querySelector('.k-window'), 'k-editor-window');
147
- dialogContent.setData({
148
- editor: this.editor,
149
- data: this.data,
150
- defaultItem: this.defaultItem,
151
- value: this.value,
152
- itemDisabled: this.itemDisabled
153
- });
154
- }
155
- /**
156
- * @hidden
157
- */
158
- canFocus() {
159
- return !this.disabled;
160
- }
161
- /**
162
- * @hidden
163
- */
164
- focus() {
165
- this.tabindex = 0;
166
- if (this.overflows) {
167
- this.fontFamilyButton?.nativeElement.focus();
168
- }
169
- else {
170
- this.fontFamilyDropDownList?.focus();
171
- }
172
- }
173
- /**
174
- * @hidden
175
- */
176
- handleKey() {
177
- this.tabindex = -1;
178
- return false;
179
- }
180
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFontFamilyComponent, deps: [{ token: i1.DialogService }, { token: i2.EditorLocalizationService }, { token: i3.ProviderService }, { token: i4.EditorToolsService }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
181
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: EditorFontFamilyComponent, isStandalone: true, selector: "kendo-toolbar-dropdownlist[kendoEditorFontFamily]", inputs: { data: "data" }, outputs: { valueChange: "valueChange" }, providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }], viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true }, { propertyName: "fontFamilyDropDownList", first: true, predicate: ["element"], descendants: true, read: FontFamilyDropDownListComponent }, { propertyName: "fontFamilyButton", first: true, predicate: ["fontFamilyButton"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: `
182
- <ng-template #toolbarTemplate>
183
- <kendo-editor-fontfamily-dropdownlist
184
- #element
185
- [defaultItem]="defaultItem"
186
- [data]="data"
187
- [(value)]="value"
188
- [itemDisabled]="itemDisabled"
189
- [title]="title"
190
- [disabled]="disabled"
191
- [tabindex]="tabindex"
192
- (valueChange)="onValueChange($event)"
193
- >
194
- </kendo-editor-fontfamily-dropdownlist>
195
- </ng-template>
196
- <ng-template #popupTemplate>
197
- <div #fontFamilyButton
198
- tabindex="-1"
199
- role="menuitem"
200
- class="k-item k-menu-item"
201
- [class.k-disabled]="disabled"
202
- [tabindex]="tabindex"
203
- (click)="openDialog()">
204
- <span
205
- class="k-link k-menu-link">
206
- <kendo-icon-wrapper name="font-family" [svgIcon]="fontFamilySVGIcon"></kendo-icon-wrapper>
207
- @if (title) {
208
- <span class="k-menu-link-text">{{title}}</span>
209
- }
210
- </span>
211
- </div>
212
- </ng-template>
213
- <ng-template #sectionTemplate>
214
- <kendo-editor-fontfamily-dropdownlist
215
- #element
216
- [defaultItem]="defaultItem"
217
- [data]="data"
218
- [(value)]="value"
219
- [itemDisabled]="itemDisabled"
220
- [title]="title"
221
- [disabled]="disabled"
222
- [tabindex]="tabindex"
223
- (valueChange)="onValueChange($event)"
224
- >
225
- </kendo-editor-fontfamily-dropdownlist>
226
- </ng-template>
227
- `, isInline: true, dependencies: [{ kind: "component", type: FontFamilyDropDownListComponent, selector: "kendo-editor-fontfamily-dropdownlist", inputs: ["data", "value", "defaultItem", "itemDisabled", "title", "disabled", "tabindex"], outputs: ["valueChange"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
228
- }
229
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: EditorFontFamilyComponent, decorators: [{
230
- type: Component,
231
- args: [{
232
- providers: [{ provide: ToolBarToolComponent, useExisting: forwardRef(() => EditorFontFamilyComponent) }],
233
- selector: 'kendo-toolbar-dropdownlist[kendoEditorFontFamily]',
234
- template: `
235
- <ng-template #toolbarTemplate>
236
- <kendo-editor-fontfamily-dropdownlist
237
- #element
238
- [defaultItem]="defaultItem"
239
- [data]="data"
240
- [(value)]="value"
241
- [itemDisabled]="itemDisabled"
242
- [title]="title"
243
- [disabled]="disabled"
244
- [tabindex]="tabindex"
245
- (valueChange)="onValueChange($event)"
246
- >
247
- </kendo-editor-fontfamily-dropdownlist>
248
- </ng-template>
249
- <ng-template #popupTemplate>
250
- <div #fontFamilyButton
251
- tabindex="-1"
252
- role="menuitem"
253
- class="k-item k-menu-item"
254
- [class.k-disabled]="disabled"
255
- [tabindex]="tabindex"
256
- (click)="openDialog()">
257
- <span
258
- class="k-link k-menu-link">
259
- <kendo-icon-wrapper name="font-family" [svgIcon]="fontFamilySVGIcon"></kendo-icon-wrapper>
260
- @if (title) {
261
- <span class="k-menu-link-text">{{title}}</span>
262
- }
263
- </span>
264
- </div>
265
- </ng-template>
266
- <ng-template #sectionTemplate>
267
- <kendo-editor-fontfamily-dropdownlist
268
- #element
269
- [defaultItem]="defaultItem"
270
- [data]="data"
271
- [(value)]="value"
272
- [itemDisabled]="itemDisabled"
273
- [title]="title"
274
- [disabled]="disabled"
275
- [tabindex]="tabindex"
276
- (valueChange)="onValueChange($event)"
277
- >
278
- </kendo-editor-fontfamily-dropdownlist>
279
- </ng-template>
280
- `,
281
- standalone: true,
282
- imports: [FontFamilyDropDownListComponent, IconWrapperComponent]
283
- }]
284
- }], ctorParameters: () => [{ type: i1.DialogService }, { type: i2.EditorLocalizationService }, { type: i3.ProviderService }, { type: i4.EditorToolsService }, { type: i0.Renderer2 }], propDecorators: { data: [{
285
- type: Input
286
- }], valueChange: [{
287
- type: Output
288
- }], element: [{
289
- type: ViewChild,
290
- args: ['element']
291
- }], fontFamilyDropDownList: [{
292
- type: ViewChild,
293
- args: ['element', { read: FontFamilyDropDownListComponent, static: false }]
294
- }], fontFamilyButton: [{
295
- type: ViewChild,
296
- args: ['fontFamilyButton', { read: ElementRef }]
297
- }] } });
@@ -1,98 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, ViewChild, Input, ElementRef, Output, EventEmitter } from '@angular/core';
6
- import { DropDownListComponent } from '@progress/kendo-angular-dropdowns';
7
- import { DropDownToolDirective } from '../shared/dropdown-tool.directive';
8
- import * as i0 from "@angular/core";
9
- /**
10
- * @hidden
11
- */
12
- export class FontSizeDropDownListComponent {
13
- data;
14
- value;
15
- defaultItem;
16
- itemDisabled;
17
- title;
18
- disabled;
19
- tabindex;
20
- valueChange = new EventEmitter();
21
- element;
22
- dropDownList;
23
- onValueChange(size) {
24
- this.valueChange.emit(size);
25
- }
26
- focus() {
27
- this.dropDownList.focus();
28
- }
29
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FontSizeDropDownListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
30
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: FontSizeDropDownListComponent, isStandalone: true, selector: "kendo-editor-fontsize-dropdownlist", inputs: { data: "data", value: "value", defaultItem: "defaultItem", itemDisabled: "itemDisabled", title: "title", disabled: "disabled", tabindex: "tabindex" }, outputs: { valueChange: "valueChange" }, viewQueries: [{ propertyName: "element", first: true, predicate: ["element"], descendants: true, static: true }, { propertyName: "dropDownList", first: true, predicate: ["element"], descendants: true, read: DropDownListComponent, static: true }], ngImport: i0, template: `
31
- <kendo-dropdownlist
32
- #element
33
- kendoEditorDropDownTool
34
- [defaultItem]="defaultItem"
35
- [textField]="'text'"
36
- [valueField]="'size'"
37
- [data]="data"
38
- [(value)]="value"
39
- [valuePrimitive]="true"
40
- [itemDisabled]="itemDisabled"
41
- [attr.title]="title"
42
- [disabled]="disabled"
43
- [tabindex]="tabindex"
44
- (valueChange)="onValueChange($event)"
45
- [style.width.em]="13"
46
- >
47
- </kendo-dropdownlist>
48
- `, isInline: true, dependencies: [{ kind: "component", type: DropDownListComponent, selector: "kendo-dropdownlist", inputs: ["customIconClass", "showStickyHeader", "icon", "svgIcon", "loading", "data", "value", "textField", "valueField", "adaptiveMode", "adaptiveTitle", "adaptiveSubtitle", "popupSettings", "listHeight", "defaultItem", "disabled", "itemDisabled", "readonly", "filterable", "virtual", "ignoreCase", "delay", "valuePrimitive", "tabindex", "tabIndex", "size", "rounded", "fillMode", "leftRightArrowsNavigation", "id"], outputs: ["valueChange", "filterChange", "selectionChange", "open", "opened", "close", "closed", "focus", "blur"], exportAs: ["kendoDropDownList"] }, { kind: "directive", type: DropDownToolDirective, selector: "[kendoEditorDropDownTool]" }] });
49
- }
50
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FontSizeDropDownListComponent, decorators: [{
51
- type: Component,
52
- args: [{
53
- selector: 'kendo-editor-fontsize-dropdownlist',
54
- template: `
55
- <kendo-dropdownlist
56
- #element
57
- kendoEditorDropDownTool
58
- [defaultItem]="defaultItem"
59
- [textField]="'text'"
60
- [valueField]="'size'"
61
- [data]="data"
62
- [(value)]="value"
63
- [valuePrimitive]="true"
64
- [itemDisabled]="itemDisabled"
65
- [attr.title]="title"
66
- [disabled]="disabled"
67
- [tabindex]="tabindex"
68
- (valueChange)="onValueChange($event)"
69
- [style.width.em]="13"
70
- >
71
- </kendo-dropdownlist>
72
- `,
73
- standalone: true,
74
- imports: [DropDownListComponent, DropDownToolDirective]
75
- }]
76
- }], propDecorators: { data: [{
77
- type: Input
78
- }], value: [{
79
- type: Input
80
- }], defaultItem: [{
81
- type: Input
82
- }], itemDisabled: [{
83
- type: Input
84
- }], title: [{
85
- type: Input
86
- }], disabled: [{
87
- type: Input
88
- }], tabindex: [{
89
- type: Input
90
- }], valueChange: [{
91
- type: Output
92
- }], element: [{
93
- type: ViewChild,
94
- args: ['element', { static: true }]
95
- }], dropDownList: [{
96
- type: ViewChild,
97
- args: ['element', { read: DropDownListComponent, static: true }]
98
- }] } });