@progress/kendo-angular-inputs 24.2.2-develop.9 → 25.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.
- 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,362 +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 { Subscription } from 'rxjs';
|
|
6
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
7
|
-
import { ElementRef, EventEmitter, NgZone, ChangeDetectorRef, Injector, Renderer2, SimpleChanges, QueryList } from '@angular/core';
|
|
8
|
-
import { IconShowOptions } from './models/icon-show-options';
|
|
9
|
-
import { SuffixTemplateDirective, PrefixTemplateDirective } from '@progress/kendo-angular-common';
|
|
10
|
-
import { TextBoxSuffixTemplateDirective } from './textbox-suffix.directive';
|
|
11
|
-
import { TextBoxPrefixTemplateDirective } from './textbox-prefix.directive';
|
|
12
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
13
|
-
import { SVGIcon } from '@progress/kendo-angular-icons';
|
|
14
|
-
import { InputSize, InputRounded, InputFillMode, InputType } from '../common/models';
|
|
15
|
-
import * as i0 from "@angular/core";
|
|
16
|
-
/**
|
|
17
|
-
* Represents the Kendo UI TextBox component for Angular.
|
|
18
|
-
* Use this component to create styled and feature-rich text input fields.
|
|
19
|
-
*
|
|
20
|
-
* @example
|
|
21
|
-
* ```html
|
|
22
|
-
* <kendo-textbox placeholder="Enter text"></kendo-textbox>
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @remarks
|
|
26
|
-
* Supported children components are: {@link TextBoxCustomMessagesComponent}.
|
|
27
|
-
*/
|
|
28
|
-
export declare class TextBoxComponent implements ControlValueAccessor {
|
|
29
|
-
private localizationService;
|
|
30
|
-
private ngZone;
|
|
31
|
-
private changeDetector;
|
|
32
|
-
protected renderer: Renderer2;
|
|
33
|
-
private injector;
|
|
34
|
-
hostElement: ElementRef;
|
|
35
|
-
/**
|
|
36
|
-
* @hidden
|
|
37
|
-
*/
|
|
38
|
-
focusableId: string;
|
|
39
|
-
/**
|
|
40
|
-
* Sets the `title` attribute of the `input` element of the TextBox.
|
|
41
|
-
*
|
|
42
|
-
* @remarks
|
|
43
|
-
* This property is related to accessibility.
|
|
44
|
-
*/
|
|
45
|
-
title: string;
|
|
46
|
-
/**
|
|
47
|
-
* Sets the `type` attribute of the `input` element of the TextBox.
|
|
48
|
-
* @default 'text'
|
|
49
|
-
*/
|
|
50
|
-
type: InputType;
|
|
51
|
-
/**
|
|
52
|
-
* Sets the disabled state of the TextBox. To disable the component in reactive forms, see [Forms Support](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/forms#managing-the-textbox-disabled-state-in-reactive-forms).
|
|
53
|
-
* @default false
|
|
54
|
-
*/
|
|
55
|
-
disabled: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Sets the read-only state of the component.
|
|
58
|
-
* @default false
|
|
59
|
-
*/
|
|
60
|
-
readonly: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Specifies the `tabindex` of the TextBox.
|
|
63
|
-
* @default 0
|
|
64
|
-
*/
|
|
65
|
-
tabindex: number;
|
|
66
|
-
/**
|
|
67
|
-
* Provides a value for the TextBox.
|
|
68
|
-
*/
|
|
69
|
-
set value(value: string);
|
|
70
|
-
get value(): string;
|
|
71
|
-
/**
|
|
72
|
-
* Highlights the whole value when you click the TextBox.
|
|
73
|
-
* @default false
|
|
74
|
-
*/
|
|
75
|
-
selectOnFocus: boolean;
|
|
76
|
-
/**
|
|
77
|
-
* Specifies when to show the Success icon ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/validation-icons)).
|
|
78
|
-
*
|
|
79
|
-
* @default false
|
|
80
|
-
*/
|
|
81
|
-
showSuccessIcon: IconShowOptions;
|
|
82
|
-
/**
|
|
83
|
-
* Specifies when to show the Error icon ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/validation-icons)).
|
|
84
|
-
*
|
|
85
|
-
* @default false
|
|
86
|
-
*/
|
|
87
|
-
showErrorIcon: IconShowOptions;
|
|
88
|
-
/**
|
|
89
|
-
* Shows a **Clear** button in the TextBox.
|
|
90
|
-
* @default false
|
|
91
|
-
*/
|
|
92
|
-
clearButton: boolean;
|
|
93
|
-
/**
|
|
94
|
-
* Sets a custom icon for valid user input.
|
|
95
|
-
*/
|
|
96
|
-
successIcon: string;
|
|
97
|
-
/**
|
|
98
|
-
* Sets a custom SVG icon for valid user input.
|
|
99
|
-
*/
|
|
100
|
-
successSvgIcon: SVGIcon;
|
|
101
|
-
/**
|
|
102
|
-
* Sets a custom icon for invalid user input.
|
|
103
|
-
*/
|
|
104
|
-
errorIcon: string;
|
|
105
|
-
/**
|
|
106
|
-
* Sets a custom SVG icon for invalid user input.
|
|
107
|
-
*/
|
|
108
|
-
errorSvgIcon: SVGIcon;
|
|
109
|
-
/**
|
|
110
|
-
* Sets a custom icon for the **Clear** button.
|
|
111
|
-
*/
|
|
112
|
-
clearButtonIcon: string;
|
|
113
|
-
/**
|
|
114
|
-
* Sets a custom SVG icon for the **Clear** button.
|
|
115
|
-
*/
|
|
116
|
-
clearButtonSvgIcon: SVGIcon;
|
|
117
|
-
/**
|
|
118
|
-
* Sets the padding of the TextBox internal input element ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/appearance#size)). The default value is set by the Kendo theme.
|
|
119
|
-
*/
|
|
120
|
-
set size(size: InputSize);
|
|
121
|
-
get size(): InputSize;
|
|
122
|
-
/**
|
|
123
|
-
* Sets the border radius of the TextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/appearance#roundness)). The default value is set by the Kendo theme.
|
|
124
|
-
*/
|
|
125
|
-
set rounded(rounded: InputRounded);
|
|
126
|
-
get rounded(): InputRounded;
|
|
127
|
-
/**
|
|
128
|
-
* Sets the background and border styles of the TextBox ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/appearance#fill-mode)). The default value is set by the Kendo theme.
|
|
129
|
-
*/
|
|
130
|
-
set fillMode(fillMode: InputFillMode);
|
|
131
|
-
get fillMode(): InputFillMode;
|
|
132
|
-
/**
|
|
133
|
-
* @hidden
|
|
134
|
-
*/
|
|
135
|
-
set tabIndex(tabIndex: number);
|
|
136
|
-
get tabIndex(): number;
|
|
137
|
-
/**
|
|
138
|
-
* Sets the placeholder text displayed when the component is empty.
|
|
139
|
-
*/
|
|
140
|
-
placeholder: string;
|
|
141
|
-
/**
|
|
142
|
-
* Sets the maximum length of the TextBox value.
|
|
143
|
-
*/
|
|
144
|
-
maxlength: number;
|
|
145
|
-
/**
|
|
146
|
-
* Sets the HTML attributes of the inner focusable input element. You cannot change attributes that are essential for component functionality.
|
|
147
|
-
*/
|
|
148
|
-
set inputAttributes(attributes: {
|
|
149
|
-
[key: string]: string;
|
|
150
|
-
});
|
|
151
|
-
get inputAttributes(): {
|
|
152
|
-
[key: string]: string;
|
|
153
|
-
};
|
|
154
|
-
/**
|
|
155
|
-
* Fires when the value changes—when the component is blurred or the value is cleared through the **Clear** button ([see example](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/events)).
|
|
156
|
-
* Does not fire when you change the value programmatically through `ngModel` or `formControl`.
|
|
157
|
-
*/
|
|
158
|
-
valueChange: EventEmitter<any>;
|
|
159
|
-
/**
|
|
160
|
-
* Fires when the user focuses the `input` element.
|
|
161
|
-
*/
|
|
162
|
-
inputFocus: EventEmitter<any>;
|
|
163
|
-
/**
|
|
164
|
-
* Fires when the `input` element is blurred.
|
|
165
|
-
*/
|
|
166
|
-
inputBlur: EventEmitter<any>;
|
|
167
|
-
/**
|
|
168
|
-
* Fires when the user focuses the TextBox component.
|
|
169
|
-
*
|
|
170
|
-
*/
|
|
171
|
-
onFocus: EventEmitter<any>;
|
|
172
|
-
/**
|
|
173
|
-
* Fires when the TextBox component is blurred.
|
|
174
|
-
*
|
|
175
|
-
*/
|
|
176
|
-
onBlur: EventEmitter<any>;
|
|
177
|
-
/**
|
|
178
|
-
* Gets a reference to the visible `input` element of the TextBox.
|
|
179
|
-
*/
|
|
180
|
-
input: ElementRef;
|
|
181
|
-
/**
|
|
182
|
-
* @hidden
|
|
183
|
-
*/
|
|
184
|
-
textBoxSuffixTemplate: QueryList<TextBoxSuffixTemplateDirective>;
|
|
185
|
-
/**
|
|
186
|
-
* @hidden
|
|
187
|
-
*/
|
|
188
|
-
textBoxPrefixTemplate: QueryList<TextBoxPrefixTemplateDirective>;
|
|
189
|
-
/**
|
|
190
|
-
* @hidden
|
|
191
|
-
*/
|
|
192
|
-
suffixTemplate: SuffixTemplateDirective;
|
|
193
|
-
/**
|
|
194
|
-
* @hidden
|
|
195
|
-
*/
|
|
196
|
-
prefixTemplate: PrefixTemplateDirective;
|
|
197
|
-
get disabledClass(): boolean;
|
|
198
|
-
direction: string;
|
|
199
|
-
/**
|
|
200
|
-
* @hidden
|
|
201
|
-
*/
|
|
202
|
-
showClearButton: boolean;
|
|
203
|
-
/**
|
|
204
|
-
* @hidden
|
|
205
|
-
*/
|
|
206
|
-
clearButtonClicked: boolean;
|
|
207
|
-
/**
|
|
208
|
-
* @hidden
|
|
209
|
-
*/
|
|
210
|
-
suffix: TextBoxSuffixTemplateDirective | SuffixTemplateDirective;
|
|
211
|
-
/**
|
|
212
|
-
* @hidden
|
|
213
|
-
*/
|
|
214
|
-
prefix: TextBoxPrefixTemplateDirective | PrefixTemplateDirective;
|
|
215
|
-
protected control: NgControl;
|
|
216
|
-
protected subscriptions: Subscription;
|
|
217
|
-
private _value;
|
|
218
|
-
private _isFocused;
|
|
219
|
-
private focusChangedProgrammatically;
|
|
220
|
-
private _inputAttributes;
|
|
221
|
-
private _size;
|
|
222
|
-
private _rounded;
|
|
223
|
-
private _fillMode;
|
|
224
|
-
private parsedAttributes;
|
|
225
|
-
private get defaultAttributes();
|
|
226
|
-
constructor(localizationService: LocalizationService, ngZone: NgZone, changeDetector: ChangeDetectorRef, renderer: Renderer2, injector: Injector, hostElement: ElementRef);
|
|
227
|
-
ngOnInit(): void;
|
|
228
|
-
ngAfterViewInit(): void;
|
|
229
|
-
ngAfterContentInit(): void;
|
|
230
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
231
|
-
ngOnDestroy(): void;
|
|
232
|
-
/**
|
|
233
|
-
* @hidden
|
|
234
|
-
*/
|
|
235
|
-
svgIcon(name: string): SVGIcon;
|
|
236
|
-
/**
|
|
237
|
-
* Focuses the TextBox.
|
|
238
|
-
*/
|
|
239
|
-
focus(): void;
|
|
240
|
-
/**
|
|
241
|
-
* Removes focus from the TextBox.
|
|
242
|
-
*/
|
|
243
|
-
blur(): void;
|
|
244
|
-
/**
|
|
245
|
-
* @hidden
|
|
246
|
-
*/
|
|
247
|
-
handleInputFocus: () => void;
|
|
248
|
-
/**
|
|
249
|
-
* @hidden
|
|
250
|
-
*/
|
|
251
|
-
handleInputBlur: () => void;
|
|
252
|
-
/**
|
|
253
|
-
* @hidden
|
|
254
|
-
*/
|
|
255
|
-
handleInput: (ev: any) => void;
|
|
256
|
-
/**
|
|
257
|
-
* @hidden
|
|
258
|
-
*/
|
|
259
|
-
clearTitle(): string;
|
|
260
|
-
/**
|
|
261
|
-
* @hidden
|
|
262
|
-
*/
|
|
263
|
-
checkClearButton(): void;
|
|
264
|
-
/**
|
|
265
|
-
* @hidden
|
|
266
|
-
*/
|
|
267
|
-
clearValue(ev?: any): void;
|
|
268
|
-
/**
|
|
269
|
-
* @hidden
|
|
270
|
-
*/
|
|
271
|
-
writeValue(value: string): void;
|
|
272
|
-
/**
|
|
273
|
-
* @hidden
|
|
274
|
-
*/
|
|
275
|
-
registerOnChange(fn: () => any): void;
|
|
276
|
-
/**
|
|
277
|
-
* @hidden
|
|
278
|
-
*/
|
|
279
|
-
registerOnTouched(fn: () => any): void;
|
|
280
|
-
/**
|
|
281
|
-
* @hidden
|
|
282
|
-
* Called when the status of the component changes to or from `disabled`.
|
|
283
|
-
* Depending on the value, it enables or disables the appropriate DOM element.
|
|
284
|
-
*
|
|
285
|
-
* @param isDisabled
|
|
286
|
-
*/
|
|
287
|
-
setDisabledState(isDisabled: boolean): void;
|
|
288
|
-
/**
|
|
289
|
-
* @hidden
|
|
290
|
-
*/
|
|
291
|
-
showErrorsInitial(): boolean;
|
|
292
|
-
/**
|
|
293
|
-
* @hidden
|
|
294
|
-
*/
|
|
295
|
-
private showSuccessInitial;
|
|
296
|
-
/**
|
|
297
|
-
* @hidden
|
|
298
|
-
*/
|
|
299
|
-
get isControlInvalid(): boolean;
|
|
300
|
-
/**
|
|
301
|
-
* @hidden
|
|
302
|
-
*/
|
|
303
|
-
get successIconClasses(): string;
|
|
304
|
-
/**
|
|
305
|
-
* @hidden
|
|
306
|
-
*/
|
|
307
|
-
get customSuccessIconClasses(): string;
|
|
308
|
-
/**
|
|
309
|
-
* @hidden
|
|
310
|
-
*/
|
|
311
|
-
get errorIconClasses(): string;
|
|
312
|
-
/**
|
|
313
|
-
* @hidden
|
|
314
|
-
*/
|
|
315
|
-
get customIconClasses(): string;
|
|
316
|
-
/**
|
|
317
|
-
* @hidden
|
|
318
|
-
*/
|
|
319
|
-
get customClearButtonClasses(): string;
|
|
320
|
-
/**
|
|
321
|
-
* @hidden
|
|
322
|
-
*/
|
|
323
|
-
get clearButtonClass(): string;
|
|
324
|
-
/**
|
|
325
|
-
* @hidden
|
|
326
|
-
*/
|
|
327
|
-
get hasErrors(): boolean;
|
|
328
|
-
/**
|
|
329
|
-
* @hidden
|
|
330
|
-
*/
|
|
331
|
-
get isSuccessful(): boolean;
|
|
332
|
-
/**
|
|
333
|
-
* @hidden
|
|
334
|
-
*/
|
|
335
|
-
get isFocused(): boolean;
|
|
336
|
-
/**
|
|
337
|
-
* @hidden
|
|
338
|
-
*/
|
|
339
|
-
set isFocused(value: boolean);
|
|
340
|
-
/**
|
|
341
|
-
* @hidden
|
|
342
|
-
*/
|
|
343
|
-
get isControlRequired(): boolean;
|
|
344
|
-
private ngChange;
|
|
345
|
-
private ngTouched;
|
|
346
|
-
private setSelection;
|
|
347
|
-
private selectAll;
|
|
348
|
-
private updateValue;
|
|
349
|
-
/**
|
|
350
|
-
* @hidden
|
|
351
|
-
*/
|
|
352
|
-
handleFocus(): void;
|
|
353
|
-
/**
|
|
354
|
-
* @hidden
|
|
355
|
-
*/
|
|
356
|
-
handleBlur(): void;
|
|
357
|
-
private handleClasses;
|
|
358
|
-
private configureAdornments;
|
|
359
|
-
private setInputAttributes;
|
|
360
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxComponent, never>;
|
|
361
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TextBoxComponent, "kendo-textbox", ["kendoTextBox"], { "focusableId": { "alias": "focusableId"; "required": false; }; "title": { "alias": "title"; "required": false; }; "type": { "alias": "type"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "value": { "alias": "value"; "required": false; }; "selectOnFocus": { "alias": "selectOnFocus"; "required": false; }; "showSuccessIcon": { "alias": "showSuccessIcon"; "required": false; }; "showErrorIcon": { "alias": "showErrorIcon"; "required": false; }; "clearButton": { "alias": "clearButton"; "required": false; }; "successIcon": { "alias": "successIcon"; "required": false; }; "successSvgIcon": { "alias": "successSvgIcon"; "required": false; }; "errorIcon": { "alias": "errorIcon"; "required": false; }; "errorSvgIcon": { "alias": "errorSvgIcon"; "required": false; }; "clearButtonIcon": { "alias": "clearButtonIcon"; "required": false; }; "clearButtonSvgIcon": { "alias": "clearButtonSvgIcon"; "required": false; }; "size": { "alias": "size"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "fillMode": { "alias": "fillMode"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "inputAttributes": { "alias": "inputAttributes"; "required": false; }; }, { "valueChange": "valueChange"; "inputFocus": "inputFocus"; "inputBlur": "inputBlur"; "onFocus": "focus"; "onBlur": "blur"; }, ["suffixTemplate", "prefixTemplate", "textBoxSuffixTemplate", "textBoxPrefixTemplate"], never, true, never>;
|
|
362
|
-
}
|
|
@@ -1,58 +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 { AfterViewInit, ElementRef, EventEmitter, OnDestroy, Renderer2, NgZone } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the [Kendo UI TextBox directive](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox) for the Inputs components for Angular.
|
|
9
|
-
* Use this directive to style the textbox of any `input` element.
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
* ```html
|
|
13
|
-
* <input kendoTextBox />
|
|
14
|
-
* <input kendoTextBox type="email" />
|
|
15
|
-
* <input kendoTextBox type="password" />
|
|
16
|
-
* ```
|
|
17
|
-
*/
|
|
18
|
-
export declare class TextBoxDirective implements AfterViewInit, OnDestroy {
|
|
19
|
-
private renderer;
|
|
20
|
-
private inputElement;
|
|
21
|
-
private ngZone;
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
onFocus: EventEmitter<any>;
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
onBlur: EventEmitter<any>;
|
|
30
|
-
/**
|
|
31
|
-
* @hidden
|
|
32
|
-
*/
|
|
33
|
-
onValueChange: EventEmitter<any>;
|
|
34
|
-
/**
|
|
35
|
-
* @hidden
|
|
36
|
-
*/
|
|
37
|
-
autoFillStart: EventEmitter<any>;
|
|
38
|
-
/**
|
|
39
|
-
* @hidden
|
|
40
|
-
*/
|
|
41
|
-
autoFillEnd: EventEmitter<any>;
|
|
42
|
-
/**
|
|
43
|
-
* @hidden
|
|
44
|
-
*/
|
|
45
|
-
set value(text: string);
|
|
46
|
-
/**
|
|
47
|
-
* @hidden
|
|
48
|
-
*/
|
|
49
|
-
get value(): string;
|
|
50
|
-
get id(): string;
|
|
51
|
-
set id(id: string);
|
|
52
|
-
private listeners;
|
|
53
|
-
constructor(renderer: Renderer2, inputElement: ElementRef, ngZone: NgZone);
|
|
54
|
-
ngAfterViewInit(): void;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxDirective, never>;
|
|
57
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextBoxDirective, "input[kendoTextBox]", never, { "value": { "alias": "value"; "required": false; }; }, {}, never, never, true, never>;
|
|
58
|
-
}
|
package/textbox.module.d.ts
DELETED
|
@@ -1,38 +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 "./textbox/textbox.directive";
|
|
7
|
-
import * as i2 from "./textbox/textbox.component";
|
|
8
|
-
import * as i3 from "./shared/input-separator.component";
|
|
9
|
-
import * as i4 from "./shared/input-spacer.component";
|
|
10
|
-
import * as i5 from "./textbox/textbox-suffix.directive";
|
|
11
|
-
import * as i6 from "./textbox/textbox-prefix.directive";
|
|
12
|
-
import * as i7 from "./textbox/localization/custom-messages.component";
|
|
13
|
-
import * as i8 from "@progress/kendo-angular-common";
|
|
14
|
-
/**
|
|
15
|
-
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the TextBox directive.
|
|
16
|
-
*
|
|
17
|
-
* Use this module to add the TextBox directive to your NgModule-based Angular application.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
*
|
|
21
|
-
* ```typescript
|
|
22
|
-
* import { TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
23
|
-
* import { NgModule } from '@angular/core';
|
|
24
|
-
* import { AppComponent } from './app.component';
|
|
25
|
-
*
|
|
26
|
-
* @NgModule({
|
|
27
|
-
* declarations: [AppComponent],
|
|
28
|
-
* imports: [BrowserModule, TextBoxModule],
|
|
29
|
-
* bootstrap: [AppComponent]
|
|
30
|
-
* })
|
|
31
|
-
* export class AppModule {}
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
export declare class TextBoxModule {
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextBoxModule, never>;
|
|
36
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TextBoxModule, never, [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.InputSeparatorComponent, typeof i4.InputSpacerComponent, typeof i5.TextBoxSuffixTemplateDirective, typeof i6.TextBoxPrefixTemplateDirective, typeof i7.TextBoxCustomMessagesComponent, typeof i8.PrefixTemplateDirective, typeof i8.SuffixTemplateDirective, typeof i8.SeparatorComponent, typeof i8.PrefixTemplateDirective, typeof i8.SuffixTemplateDirective, typeof i8.SeparatorComponent], [typeof i1.TextBoxDirective, typeof i2.TextBoxComponent, typeof i3.InputSeparatorComponent, typeof i4.InputSpacerComponent, typeof i5.TextBoxSuffixTemplateDirective, typeof i6.TextBoxPrefixTemplateDirective, typeof i7.TextBoxCustomMessagesComponent, typeof i8.PrefixTemplateDirective, typeof i8.SuffixTemplateDirective, typeof i8.SeparatorComponent, typeof i8.PrefixTemplateDirective, typeof i8.SuffixTemplateDirective, typeof i8.SeparatorComponent]>;
|
|
37
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<TextBoxModule>;
|
|
38
|
-
}
|
|
@@ -1,8 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const createMaxValidator: Function;
|
|
@@ -1,8 +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
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare const createMinValidator: Function;
|