@progress/kendo-angular-inputs 24.2.2 → 25.0.0-develop.2
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/fesm2022/progress-kendo-angular-inputs.mjs +318 -318
- package/index.d.ts +7117 -103
- package/package-metadata.mjs +2 -2
- package/package.json +17 -17
- package/checkbox/checkbox.component.d.ts +0 -71
- package/checkbox/checkbox.directive.d.ts +0 -41
- package/checkbox/checked-state.d.ts +0 -17
- package/checkbox.module.d.ts +0 -32
- package/colorpicker/adaptiveness/adaptive-close-button.component.d.ts +0 -20
- package/colorpicker/adaptiveness/adaptive-renderer.component.d.ts +0 -40
- package/colorpicker/color-contrast-svg.component.d.ts +0 -29
- package/colorpicker/color-gradient-numeric-label.directive.d.ts +0 -20
- package/colorpicker/color-gradient-text-label.directive.d.ts +0 -19
- package/colorpicker/color-gradient.component.d.ts +0 -306
- package/colorpicker/color-input.component.d.ts +0 -108
- package/colorpicker/color-palette.component.d.ts +0 -231
- package/colorpicker/colorpicker.component.d.ts +0 -425
- package/colorpicker/constants.d.ts +0 -41
- package/colorpicker/contrast-validation.component.d.ts +0 -24
- package/colorpicker/contrast.component.d.ts +0 -25
- package/colorpicker/events/active-color-click-event.d.ts +0 -49
- package/colorpicker/events/cancel-event.d.ts +0 -15
- package/colorpicker/events/close-event.d.ts +0 -10
- package/colorpicker/events/kendo-drag-event.d.ts +0 -21
- package/colorpicker/events/open-event.d.ts +0 -10
- package/colorpicker/events.d.ts +0 -8
- package/colorpicker/flatcolorpicker-actions.component.d.ts +0 -26
- package/colorpicker/flatcolorpicker-header.component.d.ts +0 -45
- package/colorpicker/flatcolorpicker.component.d.ts +0 -281
- package/colorpicker/localization/colorgradient-localization.service.d.ts +0 -17
- package/colorpicker/localization/colorpalette-localization.service.d.ts +0 -17
- package/colorpicker/localization/colorpicker-localization.service.d.ts +0 -14
- package/colorpicker/localization/custom-messages.component.d.ts +0 -25
- package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +0 -17
- package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +0 -16
- package/colorpicker/localization/messages.d.ts +0 -133
- package/colorpicker/models/actions-layout.d.ts +0 -8
- package/colorpicker/models/adaptive-mode.d.ts +0 -16
- package/colorpicker/models/colorpicker-view.d.ts +0 -8
- package/colorpicker/models/gradient-settings.d.ts +0 -35
- package/colorpicker/models/hsva.d.ts +0 -13
- package/colorpicker/models/output-format.d.ts +0 -8
- package/colorpicker/models/palette-presets.d.ts +0 -61
- package/colorpicker/models/palette-settings.d.ts +0 -30
- package/colorpicker/models/popup-settings.d.ts +0 -18
- package/colorpicker/models/rgb.d.ts +0 -12
- package/colorpicker/models/rgba.d.ts +0 -13
- package/colorpicker/models/table-cell.d.ts +0 -11
- package/colorpicker/models/tile-size.d.ts +0 -17
- package/colorpicker/models.d.ts +0 -16
- package/colorpicker/services/color-palette.service.d.ts +0 -19
- package/colorpicker/services/flatcolorpicker.service.d.ts +0 -15
- package/colorpicker/utils/color-parser.d.ts +0 -77
- package/colorpicker/utils/contrast-curve.d.ts +0 -37
- package/colorpicker/utils.d.ts +0 -6
- package/colorpicker.module.d.ts +0 -35
- package/common/dom-utils.d.ts +0 -25
- package/common/formservice.service.d.ts +0 -14
- package/common/math.d.ts +0 -40
- package/common/models/fillmode.d.ts +0 -11
- package/common/models/gutters.d.ts +0 -28
- package/common/models/responsive-breakpoints.d.ts +0 -34
- package/common/models/rounded.d.ts +0 -18
- package/common/models/size.d.ts +0 -11
- package/common/models/styling-classes.d.ts +0 -11
- package/common/models/type.d.ts +0 -12
- package/common/models.d.ts +0 -9
- package/common/radio-checkbox.base.d.ts +0 -164
- package/common/utils.d.ts +0 -68
- package/directives.d.ts +0 -334
- package/form/form.component.d.ts +0 -76
- package/form/formseparator.component.d.ts +0 -32
- package/form/utils.d.ts +0 -62
- package/form.module.d.ts +0 -36
- package/formfield/error.component.d.ts +0 -34
- package/formfield/formfield.component.d.ts +0 -117
- package/formfield/hint.component.d.ts +0 -32
- package/formfield/models/message-align.d.ts +0 -10
- package/formfield/models/orientation.d.ts +0 -12
- package/formfield/models/show-options.d.ts +0 -14
- package/formfield.module.d.ts +0 -33
- package/formfieldset/formfieldset.component.d.ts +0 -71
- package/inputs.module.d.ts +0 -75
- package/maskedtextbox/maskedtextbox.component.d.ts +0 -326
- package/maskedtextbox/masking.service.d.ts +0 -48
- package/maskedtextbox/parsing/combinators.d.ts +0 -13
- package/maskedtextbox/parsing/parsers.d.ts +0 -51
- package/maskedtextbox/parsing/result.d.ts +0 -27
- package/maskedtextbox/parsing/stream.d.ts +0 -26
- package/maskedtextbox.module.d.ts +0 -32
- package/numerictextbox/arrow-direction.d.ts +0 -12
- package/numerictextbox/constants.d.ts +0 -28
- package/numerictextbox/localization/custom-messages.component.d.ts +0 -29
- package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +0 -16
- package/numerictextbox/localization/messages.d.ts +0 -21
- package/numerictextbox/numerictextbox.component.d.ts +0 -400
- package/numerictextbox/utils.d.ts +0 -44
- package/numerictextbox.module.d.ts +0 -33
- package/otp.module.d.ts +0 -32
- package/otpinput/localization/custom-messages.component.d.ts +0 -19
- package/otpinput/localization/localized-textbox-messages.directive.d.ts +0 -16
- package/otpinput/localization/messages.d.ts +0 -24
- package/otpinput/models/otpinput-type.d.ts +0 -10
- package/otpinput/models/separator-icon.d.ts +0 -23
- package/otpinput/otpinput-separator.component.d.ts +0 -25
- package/otpinput/otpinput.component.d.ts +0 -275
- package/package-metadata.d.ts +0 -9
- package/radiobutton/radiobutton.component.d.ts +0 -59
- package/radiobutton/radiobutton.directive.d.ts +0 -33
- package/radiobutton.module.d.ts +0 -33
- package/rangeslider/localization/custom-messages.component.d.ts +0 -27
- package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +0 -16
- package/rangeslider/localization/messages.d.ts +0 -21
- package/rangeslider/rangeslider-model.d.ts +0 -14
- package/rangeslider/rangeslider-value.type.d.ts +0 -9
- package/rangeslider/rangeslider.component.d.ts +0 -135
- package/rangeslider.module.d.ts +0 -34
- package/rating/directives/rating-hovered-item.directive.d.ts +0 -26
- package/rating/directives/rating-item.directive.d.ts +0 -25
- package/rating/directives/rating-selected-item.directive.d.ts +0 -27
- package/rating/models/precision.d.ts +0 -12
- package/rating/models/rating-item.interface.d.ts +0 -32
- package/rating/models/selection.d.ts +0 -12
- package/rating/rating.component.d.ts +0 -182
- package/rating.module.d.ts +0 -34
- package/shared/input-separator.component.d.ts +0 -32
- package/shared/input-spacer.component.d.ts +0 -31
- package/shared/shared-events.directive.d.ts +0 -27
- package/shared/utils.d.ts +0 -10
- package/signature/events/close-event.d.ts +0 -10
- package/signature/events/index.d.ts +0 -6
- package/signature/events/open-event.d.ts +0 -10
- package/signature/localization/custom-messages.component.d.ts +0 -17
- package/signature/localization/index.d.ts +0 -7
- package/signature/localization/localized-signature-messages.directive.d.ts +0 -16
- package/signature/localization/messages.d.ts +0 -29
- package/signature/signature.component.d.ts +0 -363
- package/signature.module.d.ts +0 -32
- package/slider/localization/custom-messages.component.d.ts +0 -17
- package/slider/localization/localized-slider-messages.directive.d.ts +0 -16
- package/slider/localization/messages.d.ts +0 -25
- package/slider/slider-model.d.ts +0 -13
- package/slider/slider.component.d.ts +0 -174
- package/slider.module.d.ts +0 -34
- package/sliders-common/label-template.directive.d.ts +0 -26
- package/sliders-common/slider-base.d.ts +0 -161
- package/sliders-common/slider-model.base.d.ts +0 -28
- package/sliders-common/slider-ticks.component.d.ts +0 -26
- package/sliders-common/sliders-util.d.ts +0 -114
- package/sliders-common/title-callback.d.ts +0 -26
- package/switch/events/blur-event.d.ts +0 -13
- package/switch/events/focus-event.d.ts +0 -13
- package/switch/localization/custom-messages.component.d.ts +0 -17
- package/switch/localization/localized-switch-messages.directive.d.ts +0 -16
- package/switch/localization/messages.d.ts +0 -21
- package/switch/switch.component.d.ts +0 -204
- package/switch.module.d.ts +0 -32
- package/text-fields-common/text-fields-base.d.ts +0 -96
- package/textarea/models/adornments-orientation.d.ts +0 -12
- package/textarea/models/flow.d.ts +0 -12
- package/textarea/models/resize.d.ts +0 -15
- package/textarea/models/textarea-settings.d.ts +0 -101
- package/textarea/textarea-prefix.component.d.ts +0 -35
- package/textarea/textarea-suffix.component.d.ts +0 -35
- package/textarea/textarea.component.d.ts +0 -240
- package/textarea/textarea.directive.d.ts +0 -99
- package/textarea.module.d.ts +0 -35
- package/textbox/localization/custom-messages.component.d.ts +0 -17
- package/textbox/localization/localized-textbox-messages.directive.d.ts +0 -16
- package/textbox/localization/messages.d.ts +0 -17
- package/textbox/models/icon-show-options.d.ts +0 -13
- package/textbox/textbox-prefix.directive.d.ts +0 -33
- package/textbox/textbox-suffix.directive.d.ts +0 -32
- package/textbox/textbox.component.d.ts +0 -362
- package/textbox/textbox.directive.d.ts +0 -58
- package/textbox.module.d.ts +0 -38
- package/validators/max.validator.d.ts +0 -8
- package/validators/min.validator.d.ts +0 -8
|
@@ -1,240 +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 { ElementRef, EventEmitter, NgZone, Renderer2, ChangeDetectorRef, Injector, AfterContentInit, AfterViewInit, OnChanges, OnDestroy, OnInit } from '@angular/core';
|
|
6
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
-
import { SeparatorOrientation } from '@progress/kendo-angular-common';
|
|
8
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
9
|
-
import { TextFieldsBase } from '../text-fields-common/text-fields-base';
|
|
10
|
-
import { TextAreaFlow } from './models/flow';
|
|
11
|
-
import { TextAreaResize } from './models/resize';
|
|
12
|
-
import { InputRounded, InputFillMode, InputSize } from '../common/models';
|
|
13
|
-
import { TextAreaAdornmentsOrientation } from './models/adornments-orientation';
|
|
14
|
-
import { TextAreaPrefixComponent } from './textarea-prefix.component';
|
|
15
|
-
import { TextAreaSuffixComponent } from './textarea-suffix.component';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
/**
|
|
18
|
-
* Represents the Kendo UI TextArea component for Angular.
|
|
19
|
-
*
|
|
20
|
-
* Use this component to let users enter and edit multi-line text.
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```html
|
|
24
|
-
* <kendo-textarea [(ngModel)]="value" [rows]="5" [cols]="30"></kendo-textarea>
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @remarks
|
|
28
|
-
* Supported children components are: {@link TextAreaPrefixComponent}, {@link TextAreaSuffixComponent}.
|
|
29
|
-
*/
|
|
30
|
-
export declare class TextAreaComponent extends TextFieldsBase implements ControlValueAccessor, OnInit, OnChanges, AfterViewInit, AfterContentInit, OnDestroy {
|
|
31
|
-
protected localizationService: LocalizationService;
|
|
32
|
-
protected ngZone: NgZone;
|
|
33
|
-
protected changeDetector: ChangeDetectorRef;
|
|
34
|
-
protected renderer: Renderer2;
|
|
35
|
-
protected injector: Injector;
|
|
36
|
-
hostElement: ElementRef;
|
|
37
|
-
/**
|
|
38
|
-
* @hidden
|
|
39
|
-
*/
|
|
40
|
-
focusableId: string;
|
|
41
|
-
get flowCol(): boolean;
|
|
42
|
-
get flowRow(): boolean;
|
|
43
|
-
private _flow;
|
|
44
|
-
/**
|
|
45
|
-
* Specifies the flow direction of the TextArea sections. Use this property to set the position of adornments relative to the text area.
|
|
46
|
-
*/
|
|
47
|
-
set flow(flow: TextAreaFlow);
|
|
48
|
-
get flow(): TextAreaFlow;
|
|
49
|
-
/**
|
|
50
|
-
* Sets the HTML attributes of the inner focusable input element. Some attributes are required for component functionality and cannot be changed.
|
|
51
|
-
*/
|
|
52
|
-
set inputAttributes(attributes: {
|
|
53
|
-
[key: string]: string;
|
|
54
|
-
});
|
|
55
|
-
get inputAttributes(): {
|
|
56
|
-
[key: string]: string;
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Specifies the orientation of the TextArea adornments. Use this property to set the position of adornments relative to each other.
|
|
60
|
-
*
|
|
61
|
-
*/
|
|
62
|
-
set adornmentsOrientation(orientation: TextAreaAdornmentsOrientation);
|
|
63
|
-
get adornmentsOrientation(): TextAreaAdornmentsOrientation;
|
|
64
|
-
/**
|
|
65
|
-
* Sets the visible height of the text area in lines.
|
|
66
|
-
*/
|
|
67
|
-
rows: number;
|
|
68
|
-
/**
|
|
69
|
-
* Sets the visible width of the text area in average character width.
|
|
70
|
-
*/
|
|
71
|
-
cols: number;
|
|
72
|
-
/**
|
|
73
|
-
* Sets the maximum number of characters allowed in the text area.
|
|
74
|
-
*/
|
|
75
|
-
maxlength: number;
|
|
76
|
-
/**
|
|
77
|
-
* @hidden
|
|
78
|
-
*/
|
|
79
|
-
maxResizableRows: number;
|
|
80
|
-
/**
|
|
81
|
-
* Sets the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
|
|
82
|
-
* @default 0
|
|
83
|
-
*/
|
|
84
|
-
tabindex: number;
|
|
85
|
-
/**
|
|
86
|
-
* @hidden
|
|
87
|
-
*/
|
|
88
|
-
set tabIndex(tabIndex: number);
|
|
89
|
-
get tabIndex(): number;
|
|
90
|
-
/**
|
|
91
|
-
* Sets the resize behavior of the TextArea.
|
|
92
|
-
*
|
|
93
|
-
*
|
|
94
|
-
* @default 'vertical'
|
|
95
|
-
*/
|
|
96
|
-
resizable: TextAreaResize;
|
|
97
|
-
/**
|
|
98
|
-
* Sets the size of the TextArea. Controls the padding of the text area element ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/appearance#size)). The default value is set by the Kendo theme.
|
|
99
|
-
*/
|
|
100
|
-
set size(size: InputSize);
|
|
101
|
-
get size(): InputSize;
|
|
102
|
-
/**
|
|
103
|
-
* Sets the border radius of the TextArea ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/appearance#roundness)). The default value is set by the Kendo theme.
|
|
104
|
-
*/
|
|
105
|
-
set rounded(rounded: InputRounded);
|
|
106
|
-
get rounded(): InputRounded;
|
|
107
|
-
/**
|
|
108
|
-
* Sets the background and border styles of the TextArea ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/appearance#fill-mode)). The default value is set by the Kendo theme.
|
|
109
|
-
*/
|
|
110
|
-
set fillMode(fillMode: InputFillMode);
|
|
111
|
-
get fillMode(): InputFillMode;
|
|
112
|
-
/**
|
|
113
|
-
* Shows the prefix separator in the TextArea.
|
|
114
|
-
* The separator is rendered only if a prefix template is declared.
|
|
115
|
-
*
|
|
116
|
-
* @default false
|
|
117
|
-
*/
|
|
118
|
-
showPrefixSeparator: boolean;
|
|
119
|
-
/**
|
|
120
|
-
* Shows the suffix separator in the TextArea.
|
|
121
|
-
* The separator is rendered only if a suffix template is declared.
|
|
122
|
-
*
|
|
123
|
-
* @default false
|
|
124
|
-
*/
|
|
125
|
-
showSuffixSeparator: boolean;
|
|
126
|
-
/**
|
|
127
|
-
* Fires when the TextArea is focused.
|
|
128
|
-
*
|
|
129
|
-
* Use the `onFocus` property to subscribe to this event.
|
|
130
|
-
*/
|
|
131
|
-
onFocus: EventEmitter<any>;
|
|
132
|
-
/**
|
|
133
|
-
* Fires when the TextArea gets blurred.
|
|
134
|
-
*
|
|
135
|
-
* Use the `onBlur` property to subscribe to this event.
|
|
136
|
-
*/
|
|
137
|
-
onBlur: EventEmitter<any>;
|
|
138
|
-
/**
|
|
139
|
-
* Fires when the value changes or the TextArea is blurred ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/events)).
|
|
140
|
-
*
|
|
141
|
-
* The event does not fire when the value changes programmatically or through form control binding.
|
|
142
|
-
*/
|
|
143
|
-
valueChange: EventEmitter<any>;
|
|
144
|
-
private initialHeight;
|
|
145
|
-
private maxResizableHeight;
|
|
146
|
-
private resizeSubscription;
|
|
147
|
-
private resizeObserver;
|
|
148
|
-
private _size;
|
|
149
|
-
private _rounded;
|
|
150
|
-
private _fillMode;
|
|
151
|
-
private _adornmentsOrientation;
|
|
152
|
-
private _inputAttributes;
|
|
153
|
-
private parsedAttributes;
|
|
154
|
-
private get defaultAttributes();
|
|
155
|
-
private get mutableAttributes();
|
|
156
|
-
constructor(localizationService: LocalizationService, ngZone: NgZone, changeDetector: ChangeDetectorRef, renderer: Renderer2, injector: Injector, hostElement: ElementRef);
|
|
157
|
-
ngAfterContentInit(): void;
|
|
158
|
-
ngAfterViewInit(): void;
|
|
159
|
-
ngOnInit(): void;
|
|
160
|
-
ngOnChanges(changes: any): void;
|
|
161
|
-
/**
|
|
162
|
-
* @hidden
|
|
163
|
-
*/
|
|
164
|
-
prefix: TextAreaPrefixComponent;
|
|
165
|
-
/**
|
|
166
|
-
* @hidden
|
|
167
|
-
*/
|
|
168
|
-
suffix: TextAreaSuffixComponent;
|
|
169
|
-
/**
|
|
170
|
-
* @hidden
|
|
171
|
-
*/
|
|
172
|
-
writeValue(value: string): void;
|
|
173
|
-
/**
|
|
174
|
-
* @hidden
|
|
175
|
-
*/
|
|
176
|
-
registerOnChange(fn: () => any): void;
|
|
177
|
-
/**
|
|
178
|
-
* @hidden
|
|
179
|
-
*/
|
|
180
|
-
registerOnTouched(fn: () => any): void;
|
|
181
|
-
ngOnDestroy(): void;
|
|
182
|
-
/**
|
|
183
|
-
* @hidden
|
|
184
|
-
*/
|
|
185
|
-
get resizableClass(): string;
|
|
186
|
-
/**
|
|
187
|
-
* @hidden
|
|
188
|
-
*/
|
|
189
|
-
get isControlInvalid(): boolean;
|
|
190
|
-
/**
|
|
191
|
-
* @hidden
|
|
192
|
-
*/
|
|
193
|
-
get isControlRequired(): boolean;
|
|
194
|
-
/**
|
|
195
|
-
* @hidden
|
|
196
|
-
*/
|
|
197
|
-
get separatorOrientation(): SeparatorOrientation;
|
|
198
|
-
/**
|
|
199
|
-
* @hidden
|
|
200
|
-
*/
|
|
201
|
-
get isFocused(): boolean;
|
|
202
|
-
/**
|
|
203
|
-
* @hidden
|
|
204
|
-
*/
|
|
205
|
-
set isFocused(value: boolean);
|
|
206
|
-
/**
|
|
207
|
-
* @hidden
|
|
208
|
-
*/
|
|
209
|
-
handleInput: (ev: any) => void;
|
|
210
|
-
/**
|
|
211
|
-
* @hidden
|
|
212
|
-
*/
|
|
213
|
-
handleInputFocus: () => void;
|
|
214
|
-
/**
|
|
215
|
-
* Focuses the TextArea.
|
|
216
|
-
*/
|
|
217
|
-
focus(): void;
|
|
218
|
-
/**
|
|
219
|
-
* Blurs the TextArea.
|
|
220
|
-
*/
|
|
221
|
-
blur(): void;
|
|
222
|
-
private attachResizeObserver;
|
|
223
|
-
private resize;
|
|
224
|
-
/**
|
|
225
|
-
* @hidden
|
|
226
|
-
*/
|
|
227
|
-
handleFocus(): void;
|
|
228
|
-
/**
|
|
229
|
-
* @hidden
|
|
230
|
-
*/
|
|
231
|
-
handleBlur(): void;
|
|
232
|
-
private updateValue;
|
|
233
|
-
private setSelection;
|
|
234
|
-
private selectAll;
|
|
235
|
-
private handleClasses;
|
|
236
|
-
private handleFlow;
|
|
237
|
-
private setInputAttributes;
|
|
238
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaComponent, never>;
|
|
239
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextAreaComponent, "kendo-textarea", ["kendoTextArea"], { "focusableId": { "alias": "focusableId"; "required": false; }; "flow": { "alias": "flow"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; "adornmentsOrientation": { "alias": "adornmentsOrientation"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "maxResizableRows": { "alias": "maxResizableRows"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "resizable": { "alias": "resizable"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "showPrefixSeparator": { "alias": "showPrefixSeparator"; "required": false; }; "showSuffixSeparator": { "alias": "showSuffixSeparator"; "required": false; }; }, { "onFocus": "focus"; "onBlur": "blur"; "valueChange": "valueChange"; }, ["prefix", "suffix"], ["kendo-textarea-prefix", "kendo-textarea-suffix"], true, never>;
|
|
240
|
-
}
|
|
@@ -1,99 +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 { ElementRef, EventEmitter, OnDestroy, Renderer2, OnChanges, OnInit, NgZone, ChangeDetectorRef, Injector } from '@angular/core';
|
|
6
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents the Kendo UI TextArea directive for the Inputs components for Angular.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <textarea kendoTextArea></textarea>
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
export declare class TextAreaDirective implements OnInit, OnDestroy, OnChanges, ControlValueAccessor {
|
|
17
|
-
private renderer;
|
|
18
|
-
private element;
|
|
19
|
-
private zone;
|
|
20
|
-
private changeDetector;
|
|
21
|
-
private injector;
|
|
22
|
-
autofillClass: boolean;
|
|
23
|
-
direction: string;
|
|
24
|
-
/**
|
|
25
|
-
* Fires when the TextArea value changes.
|
|
26
|
-
*/
|
|
27
|
-
valueChange: EventEmitter<any>;
|
|
28
|
-
/**
|
|
29
|
-
* Sets whether the `textarea` element resizes its height automatically
|
|
30
|
-
* ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/sizing#auto-resizing)).
|
|
31
|
-
*
|
|
32
|
-
* @default false
|
|
33
|
-
*/
|
|
34
|
-
autoSize: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Sets the textarea value.
|
|
37
|
-
*/
|
|
38
|
-
value: string;
|
|
39
|
-
/**
|
|
40
|
-
* @hidden
|
|
41
|
-
*/
|
|
42
|
-
onFocus: EventEmitter<any>;
|
|
43
|
-
/**
|
|
44
|
-
* @hidden
|
|
45
|
-
*/
|
|
46
|
-
onBlur: EventEmitter<any>;
|
|
47
|
-
/**
|
|
48
|
-
* @hidden
|
|
49
|
-
*/
|
|
50
|
-
onValueChange: EventEmitter<any>;
|
|
51
|
-
/**
|
|
52
|
-
* @hidden
|
|
53
|
-
*/
|
|
54
|
-
autoFillStart: EventEmitter<any>;
|
|
55
|
-
/**
|
|
56
|
-
* @hidden
|
|
57
|
-
*/
|
|
58
|
-
autoFillEnd: EventEmitter<any>;
|
|
59
|
-
get id(): string;
|
|
60
|
-
set id(id: string);
|
|
61
|
-
private listeners;
|
|
62
|
-
private inputSubscription;
|
|
63
|
-
private initialHeight;
|
|
64
|
-
private control;
|
|
65
|
-
private resizeSubscription;
|
|
66
|
-
private resizeObserver;
|
|
67
|
-
constructor(renderer: Renderer2, element: ElementRef, zone: NgZone, changeDetector: ChangeDetectorRef, injector: Injector, rtl: boolean);
|
|
68
|
-
/**
|
|
69
|
-
* @hidden
|
|
70
|
-
*/
|
|
71
|
-
writeValue(value: any): void;
|
|
72
|
-
/**
|
|
73
|
-
* @hidden
|
|
74
|
-
*/
|
|
75
|
-
registerOnChange(fn: () => any): void;
|
|
76
|
-
/**
|
|
77
|
-
* @hidden
|
|
78
|
-
*/
|
|
79
|
-
registerOnTouched(fn: () => any): void;
|
|
80
|
-
/**
|
|
81
|
-
* @hidden
|
|
82
|
-
*/
|
|
83
|
-
setDisabledState(isDisabled: boolean): void;
|
|
84
|
-
ngOnInit(): void;
|
|
85
|
-
ngOnChanges(changes: any): void;
|
|
86
|
-
ngOnDestroy(): void;
|
|
87
|
-
private ngChange;
|
|
88
|
-
private ngTouched;
|
|
89
|
-
private get elementValue();
|
|
90
|
-
private set elementValue(value);
|
|
91
|
-
private setElementProperty;
|
|
92
|
-
private attachResizeObserver;
|
|
93
|
-
private resize;
|
|
94
|
-
private handleInput;
|
|
95
|
-
private handleFocus;
|
|
96
|
-
private handleBlur;
|
|
97
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaDirective, [null, null, null, null, null, { optional: true; }]>;
|
|
98
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextAreaDirective, "textarea[kendoTextArea]", never, { "autoSize": { "alias": "autoSize"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, true, never>;
|
|
99
|
-
}
|
package/textarea.module.d.ts
DELETED
|
@@ -1,35 +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 * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "./textarea/textarea.component";
|
|
7
|
-
import * as i2 from "./textarea/textarea.directive";
|
|
8
|
-
import * as i3 from "./textarea/textarea-prefix.component";
|
|
9
|
-
import * as i4 from "./textarea/textarea-suffix.component";
|
|
10
|
-
import * as i5 from "@progress/kendo-angular-common";
|
|
11
|
-
/**
|
|
12
|
-
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the TextArea component.
|
|
13
|
-
*
|
|
14
|
-
* Use this module to add the TextArea component to your NgModule-based Angular application.
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
*
|
|
18
|
-
* ```typescript
|
|
19
|
-
* import { TextAreaModule } from '@progress/kendo-angular-inputs';
|
|
20
|
-
* import { NgModule } from '@angular/core';
|
|
21
|
-
* import { AppComponent } from './app.component';
|
|
22
|
-
*
|
|
23
|
-
* @NgModule({
|
|
24
|
-
* declarations: [AppComponent],
|
|
25
|
-
* imports: [BrowserModule, TextAreaModule],
|
|
26
|
-
* bootstrap: [AppComponent]
|
|
27
|
-
* })
|
|
28
|
-
* export class AppModule {}
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
export declare class TextAreaModule {
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextAreaModule, never>;
|
|
33
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TextAreaModule, never, [typeof i1.TextAreaComponent, typeof i2.TextAreaDirective, typeof i3.TextAreaPrefixComponent, typeof i4.TextAreaSuffixComponent, typeof i5.SeparatorComponent, typeof i5.PrefixTemplateDirective, typeof i5.SuffixTemplateDirective, typeof i5.SeparatorComponent], [typeof i1.TextAreaComponent, typeof i2.TextAreaDirective, typeof i3.TextAreaPrefixComponent, typeof i4.TextAreaSuffixComponent, typeof i5.SeparatorComponent, typeof i5.PrefixTemplateDirective, typeof i5.SuffixTemplateDirective, typeof i5.SeparatorComponent]>;
|
|
34
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TextAreaModule>;
|
|
35
|
-
}
|
|
@@ -1,17 +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 { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { TextBoxMessages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Overrides the default messages of the TextBox component.
|
|
10
|
-
*/
|
|
11
|
-
export declare class TextBoxCustomMessagesComponent extends TextBoxMessages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
protected get override(): boolean;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxCustomMessagesComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxCustomMessagesComponent, "kendo-textbox-messages", never, {}, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,16 +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 { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import { TextBoxMessages } from './messages';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class LocalizedTextBoxMessagesDirective extends TextBoxMessages {
|
|
12
|
-
protected service: LocalizationService;
|
|
13
|
-
constructor(service: LocalizationService);
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalizedTextBoxMessagesDirective, never>;
|
|
15
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LocalizedTextBoxMessagesDirective, "[kendoTextBoxLocalizedMessages]", never, {}, {}, never, never, true, never>;
|
|
16
|
-
}
|
|
@@ -1,17 +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 { ComponentMessages } from '@progress/kendo-angular-l10n';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export declare class TextBoxMessages extends ComponentMessages {
|
|
11
|
-
/**
|
|
12
|
-
* The title of the **Clear** button of the TextBox.
|
|
13
|
-
*/
|
|
14
|
-
clear: string;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxMessages, never>;
|
|
16
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxMessages, "kendo-textbox-messages-base", never, { "clear": { "alias": "clear"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,13 +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
|
-
/**
|
|
6
|
-
* Specifies whether the Success or Error icons will be shown ([see examples](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/validation-icons)).
|
|
7
|
-
*
|
|
8
|
-
* The possible values are:
|
|
9
|
-
*
|
|
10
|
-
* * `initial`(Default) —Gives an initial, built-in control of the icons.
|
|
11
|
-
* * `boolean`—The icon is displayed, if the condition given by the developer is met.
|
|
12
|
-
*/
|
|
13
|
-
export type IconShowOptions = 'initial' | true | false;
|
|
@@ -1,33 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents a template for prefix adornments in the TextBox component ([see examples](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/adornments#prefix-adornments)).
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```html
|
|
12
|
-
* <kendo-textbox>
|
|
13
|
-
* <ng-template kendoTextBoxPrefixTemplate>
|
|
14
|
-
* <button kendoButton icon="image"></button>
|
|
15
|
-
* </ng-template>
|
|
16
|
-
* </kendo-textbox>
|
|
17
|
-
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare class TextBoxPrefixTemplateDirective {
|
|
21
|
-
templateRef: TemplateRef<any>;
|
|
22
|
-
/**
|
|
23
|
-
* Determines whether a separator is shown after the prefix template.
|
|
24
|
-
*
|
|
25
|
-
* @default false
|
|
26
|
-
*/
|
|
27
|
-
set showSeparator(value: boolean);
|
|
28
|
-
get showSeparator(): boolean;
|
|
29
|
-
private _showSeparator;
|
|
30
|
-
constructor(templateRef: TemplateRef<any>);
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxPrefixTemplateDirective, [{ optional: true; }]>;
|
|
32
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxPrefixTemplateDirective, "[kendoTextBoxPrefixTemplate]", never, { "showSeparator": { "alias": "showSeparator"; "required": false; }; }, {}, never, never, true, never>;
|
|
33
|
-
}
|
|
@@ -1,32 +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 { TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents a template for suffix adornments in the TextBox component ([see examples](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/adornments#suffix-adornments)).
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```html
|
|
12
|
-
* <kendo-textbox>
|
|
13
|
-
* <ng-template kendoTextBoxSuffixTemplate>
|
|
14
|
-
* <button kendoButton icon="image"></button>
|
|
15
|
-
* </ng-template>
|
|
16
|
-
* </kendo-textbox>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare class TextBoxSuffixTemplateDirective {
|
|
20
|
-
templateRef: TemplateRef<any>;
|
|
21
|
-
/**
|
|
22
|
-
* Determines whether a separator is shown before the suffix template.
|
|
23
|
-
*
|
|
24
|
-
* @default false
|
|
25
|
-
*/
|
|
26
|
-
set showSeparator(value: boolean);
|
|
27
|
-
get showSeparator(): boolean;
|
|
28
|
-
private _showSeparator;
|
|
29
|
-
constructor(templateRef: TemplateRef<any>);
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxSuffixTemplateDirective, [{ optional: true; }]>;
|
|
31
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxSuffixTemplateDirective, "[kendoTextBoxSuffixTemplate]", never, { "showSeparator": { "alias": "showSeparator"; "required": false; }; }, {}, never, never, true, never>;
|
|
32
|
-
}
|