@progress/kendo-angular-inputs 19.1.1-develop.2 → 19.1.2-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/checkbox/checkbox.component.d.ts +15 -13
- package/checkbox/checkbox.directive.d.ts +8 -15
- package/checkbox/checked-state.d.ts +5 -1
- package/checkbox.module.d.ts +9 -20
- package/colorpicker/color-gradient.component.d.ts +26 -26
- package/colorpicker/color-input.component.d.ts +18 -18
- package/colorpicker/color-palette.component.d.ts +28 -29
- package/colorpicker/colorpicker.component.d.ts +53 -69
- package/colorpicker/events/active-color-click-event.d.ts +10 -14
- package/colorpicker/events/cancel-event.d.ts +1 -1
- package/colorpicker/events/close-event.d.ts +1 -1
- package/colorpicker/events/open-event.d.ts +1 -1
- package/colorpicker/flatcolorpicker.component.d.ts +26 -29
- package/colorpicker/localization/custom-messages.component.d.ts +9 -1
- package/colorpicker/localization/messages.d.ts +29 -29
- package/colorpicker/models/palette-settings.d.ts +0 -3
- package/colorpicker/models/tile-size.d.ts +6 -0
- package/colorpicker.module.d.ts +18 -2
- package/common/models/fillmode.d.ts +4 -1
- package/common/models/rounded.d.ts +8 -2
- package/common/models/size.d.ts +4 -1
- package/common/models/type.d.ts +3 -1
- package/common/radio-checkbox.base.d.ts +0 -7
- package/directives.d.ts +216 -18
- package/esm2022/checkbox/checkbox.component.mjs +15 -13
- package/esm2022/checkbox/checkbox.directive.mjs +8 -15
- package/esm2022/checkbox.module.mjs +9 -20
- package/esm2022/colorpicker/color-gradient.component.mjs +26 -26
- package/esm2022/colorpicker/color-input.component.mjs +21 -21
- package/esm2022/colorpicker/color-palette.component.mjs +28 -29
- package/esm2022/colorpicker/colorpicker.component.mjs +53 -69
- package/esm2022/colorpicker/events/active-color-click-event.mjs +10 -14
- package/esm2022/colorpicker/events/cancel-event.mjs +1 -1
- package/esm2022/colorpicker/events/close-event.mjs +1 -1
- package/esm2022/colorpicker/events/open-event.mjs +1 -1
- package/esm2022/colorpicker/flatcolorpicker.component.mjs +26 -29
- package/esm2022/colorpicker/localization/custom-messages.component.mjs +9 -1
- package/esm2022/colorpicker/localization/messages.mjs +29 -29
- package/esm2022/colorpicker.module.mjs +18 -2
- package/esm2022/common/radio-checkbox.base.mjs +0 -7
- package/esm2022/directives.mjs +216 -18
- package/esm2022/formfield/error.component.mjs +9 -6
- package/esm2022/formfield/formfield.component.mjs +24 -20
- package/esm2022/formfield/hint.component.mjs +8 -5
- package/esm2022/formfield.module.mjs +9 -20
- package/esm2022/index.mjs +1 -0
- package/esm2022/inputs.module.mjs +9 -21
- package/esm2022/maskedtextbox/maskedtextbox.component.mjs +46 -88
- package/esm2022/maskedtextbox.module.mjs +9 -20
- package/esm2022/numerictextbox/localization/custom-messages.component.mjs +13 -1
- package/esm2022/numerictextbox/localization/messages.mjs +2 -2
- package/esm2022/numerictextbox/numerictextbox.component.mjs +57 -70
- package/esm2022/numerictextbox.module.mjs +9 -20
- package/esm2022/otp.module.mjs +44 -0
- package/esm2022/otpinput/localization/custom-messages.component.mjs +3 -1
- package/esm2022/otpinput/otpinput.component.mjs +39 -42
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/radiobutton/radiobutton.component.mjs +15 -6
- package/esm2022/radiobutton/radiobutton.directive.mjs +6 -10
- package/esm2022/radiobutton.module.mjs +8 -18
- package/esm2022/rangeslider/localization/custom-messages.component.mjs +11 -1
- package/esm2022/rangeslider/rangeslider.component.mjs +12 -16
- package/esm2022/rangeslider.module.mjs +7 -18
- package/esm2022/rating/directives/rating-hovered-item.directive.mjs +11 -3
- package/esm2022/rating/directives/rating-item.directive.mjs +10 -3
- package/esm2022/rating/directives/rating-selected-item.directive.mjs +12 -3
- package/esm2022/rating/rating.component.mjs +23 -20
- package/esm2022/rating.module.mjs +7 -18
- package/esm2022/shared/input-separator.component.mjs +10 -15
- package/esm2022/shared/textarea.directive.mjs +5 -6
- package/esm2022/signature/events/close-event.mjs +1 -1
- package/esm2022/signature/localization/custom-messages.component.mjs +1 -1
- package/esm2022/signature/signature.component.mjs +52 -51
- package/esm2022/signature.module.mjs +7 -18
- package/esm2022/slider/localization/custom-messages.component.mjs +1 -1
- package/esm2022/slider/slider.component.mjs +18 -19
- package/esm2022/slider.module.mjs +7 -18
- package/esm2022/sliders-common/label-template.directive.mjs +9 -19
- package/esm2022/sliders-common/slider-base.mjs +47 -29
- package/esm2022/switch/events/blur-event.mjs +1 -1
- package/esm2022/switch/events/focus-event.mjs +1 -1
- package/esm2022/switch/localization/custom-messages.component.mjs +1 -1
- package/esm2022/switch/switch.component.mjs +32 -43
- package/esm2022/switch.module.mjs +7 -18
- package/esm2022/textarea/textarea-prefix.component.mjs +11 -13
- package/esm2022/textarea/textarea-suffix.component.mjs +11 -13
- package/esm2022/textarea/textarea.component.mjs +40 -103
- package/esm2022/textarea.module.mjs +7 -18
- package/esm2022/textbox/localization/custom-messages.component.mjs +1 -1
- package/esm2022/textbox/textbox-prefix.directive.mjs +9 -13
- package/esm2022/textbox/textbox-suffix.directive.mjs +10 -14
- package/esm2022/textbox/textbox.component.mjs +41 -112
- package/esm2022/textbox/textbox.directive.mjs +2 -2
- package/esm2022/textbox.module.mjs +7 -18
- package/fesm2022/progress-kendo-angular-inputs.mjs +1207 -1280
- package/formfield/error.component.d.ts +9 -6
- package/formfield/formfield.component.d.ts +24 -20
- package/formfield/hint.component.d.ts +8 -5
- package/formfield/models/message-align.d.ts +3 -1
- package/formfield/models/orientation.d.ts +3 -0
- package/formfield/models/show-options.d.ts +5 -7
- package/formfield.module.d.ts +9 -20
- package/index.d.ts +1 -0
- package/inputs.module.d.ts +9 -21
- package/maskedtextbox/maskedtextbox.component.d.ts +46 -88
- package/maskedtextbox.module.d.ts +9 -20
- package/numerictextbox/localization/custom-messages.component.d.ts +13 -1
- package/numerictextbox/localization/messages.d.ts +2 -2
- package/numerictextbox/numerictextbox.component.d.ts +57 -70
- package/numerictextbox.module.d.ts +9 -20
- package/otp.module.d.ts +32 -0
- package/otpinput/localization/custom-messages.component.d.ts +3 -1
- package/otpinput/models/otpinput-type.d.ts +2 -2
- package/otpinput/models/separator-icon.d.ts +8 -3
- package/otpinput/otpinput.component.d.ts +39 -42
- package/package.json +12 -12
- package/radiobutton/radiobutton.component.d.ts +15 -6
- package/radiobutton/radiobutton.directive.d.ts +6 -10
- package/radiobutton.module.d.ts +8 -18
- package/rangeslider/localization/custom-messages.component.d.ts +11 -1
- package/rangeslider/rangeslider-value.type.d.ts +2 -2
- package/rangeslider/rangeslider.component.d.ts +12 -16
- package/rangeslider.module.d.ts +7 -18
- package/rating/directives/rating-hovered-item.directive.d.ts +11 -3
- package/rating/directives/rating-item.directive.d.ts +10 -3
- package/rating/directives/rating-selected-item.directive.d.ts +12 -3
- package/rating/models/precision.d.ts +1 -2
- package/rating/models/selection.d.ts +1 -2
- package/rating/rating.component.d.ts +21 -18
- package/rating.module.d.ts +7 -18
- package/shared/input-separator.component.d.ts +10 -15
- package/shared/textarea.directive.d.ts +5 -6
- package/signature/events/close-event.d.ts +1 -1
- package/signature/localization/custom-messages.component.d.ts +1 -1
- package/signature/signature.component.d.ts +52 -51
- package/signature.module.d.ts +7 -18
- package/slider/localization/custom-messages.component.d.ts +1 -1
- package/slider/slider.component.d.ts +18 -19
- package/slider.module.d.ts +7 -18
- package/sliders-common/label-template.directive.d.ts +9 -19
- package/sliders-common/slider-base.d.ts +47 -29
- package/sliders-common/title-callback.d.ts +19 -3
- package/switch/events/blur-event.d.ts +1 -1
- package/switch/events/focus-event.d.ts +1 -1
- package/switch/localization/custom-messages.component.d.ts +1 -1
- package/switch/switch.component.d.ts +32 -43
- package/switch.module.d.ts +7 -18
- package/textarea/models/adornments-orientation.d.ts +3 -3
- package/textarea/models/flow.d.ts +3 -3
- package/textarea/models/resize.d.ts +6 -7
- package/textarea/textarea-prefix.component.d.ts +11 -13
- package/textarea/textarea-suffix.component.d.ts +11 -13
- package/textarea/textarea.component.d.ts +40 -103
- package/textarea.module.d.ts +7 -18
- package/textbox/localization/custom-messages.component.d.ts +1 -1
- package/textbox/textbox-prefix.directive.d.ts +9 -13
- package/textbox/textbox-suffix.directive.d.ts +10 -14
- package/textbox/textbox.component.d.ts +41 -112
- package/textbox/textbox.directive.d.ts +2 -2
- package/textbox.module.d.ts +7 -18
|
@@ -13,6 +13,18 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
|
13
13
|
import { SVGIcon } from '@progress/kendo-angular-icons';
|
|
14
14
|
import { InputSize, InputRounded, InputFillMode, InputType } from '../common/models';
|
|
15
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
|
+
*/
|
|
16
28
|
export declare class TextBoxComponent implements ControlValueAccessor {
|
|
17
29
|
private localizationService;
|
|
18
30
|
private ngZone;
|
|
@@ -30,23 +42,21 @@ export declare class TextBoxComponent implements ControlValueAccessor {
|
|
|
30
42
|
title: string;
|
|
31
43
|
/**
|
|
32
44
|
* Sets the `type` attribute of the `input` element of the TextBox.
|
|
45
|
+
* @default 'text'
|
|
33
46
|
*/
|
|
34
47
|
type: InputType;
|
|
35
48
|
/**
|
|
36
|
-
* Sets the disabled state of the TextBox. To
|
|
37
|
-
*
|
|
49
|
+
* Sets the disabled state of the TextBox. To disable the component in reactive forms, see [Forms Support](slug:formssupport_textbox#toc-managing-the-textbox-disabled-state-in-reactive-forms).
|
|
38
50
|
* @default false
|
|
39
51
|
*/
|
|
40
52
|
disabled: boolean;
|
|
41
53
|
/**
|
|
42
54
|
* Sets the read-only state of the component.
|
|
43
|
-
*
|
|
44
55
|
* @default false
|
|
45
56
|
*/
|
|
46
57
|
readonly: boolean;
|
|
47
58
|
/**
|
|
48
59
|
* Specifies the `tabindex` of the TextBox.
|
|
49
|
-
*
|
|
50
60
|
* @default 0
|
|
51
61
|
*/
|
|
52
62
|
tabindex: number;
|
|
@@ -55,99 +65,66 @@ export declare class TextBoxComponent implements ControlValueAccessor {
|
|
|
55
65
|
*/
|
|
56
66
|
value: string;
|
|
57
67
|
/**
|
|
58
|
-
*
|
|
59
|
-
*
|
|
68
|
+
* Highlights the whole value when you click the TextBox.
|
|
60
69
|
* @default false
|
|
61
70
|
*/
|
|
62
71
|
selectOnFocus: boolean;
|
|
63
72
|
/**
|
|
64
|
-
* Specifies when the Success icon
|
|
65
|
-
*
|
|
66
|
-
* The possible values are:
|
|
67
|
-
*
|
|
68
|
-
* `boolean`—The Success icon is displayed, if the condition given by the developer is met.
|
|
69
|
-
*
|
|
70
|
-
* `initial`—The Success icon will be displayed when the component state is neither `invalid` nor `touched` or `dirty`.
|
|
73
|
+
* Specifies when to show the Success icon ([see example]({% slug validation_textbox %})).
|
|
71
74
|
*
|
|
72
75
|
* @default false
|
|
73
76
|
*/
|
|
74
77
|
showSuccessIcon: IconShowOptions;
|
|
75
78
|
/**
|
|
76
|
-
* Specifies when the Error icon
|
|
77
|
-
*
|
|
78
|
-
* The possible values are:
|
|
79
|
-
*
|
|
80
|
-
* * `initial`—The Error icon will be displayed when the component state is
|
|
81
|
-
* `invalid` and `touched` or `dirty`.
|
|
82
|
-
* * `boolean`—The Error icon is displayed, if the condition given by the developer is met.
|
|
79
|
+
* Specifies when to show the Error icon ([see example]({% slug validation_textbox %})).
|
|
83
80
|
*
|
|
84
81
|
* @default false
|
|
85
82
|
*/
|
|
86
83
|
showErrorIcon: IconShowOptions;
|
|
87
84
|
/**
|
|
88
|
-
*
|
|
89
|
-
*
|
|
85
|
+
* Shows a **Clear** button in the TextBox.
|
|
90
86
|
* @default false
|
|
91
87
|
*/
|
|
92
88
|
clearButton: boolean;
|
|
93
89
|
/**
|
|
94
|
-
* Sets a custom icon
|
|
90
|
+
* Sets a custom icon for valid user input.
|
|
95
91
|
*/
|
|
96
92
|
successIcon: string;
|
|
97
93
|
/**
|
|
98
|
-
* Sets a custom SVG icon
|
|
94
|
+
* Sets a custom SVG icon for valid user input.
|
|
99
95
|
*/
|
|
100
96
|
successSvgIcon: SVGIcon;
|
|
101
97
|
/**
|
|
102
|
-
* Sets a custom icon
|
|
98
|
+
* Sets a custom icon for invalid user input.
|
|
103
99
|
*/
|
|
104
100
|
errorIcon: string;
|
|
105
101
|
/**
|
|
106
|
-
* Sets a custom SVG icon
|
|
102
|
+
* Sets a custom SVG icon for invalid user input.
|
|
107
103
|
*/
|
|
108
104
|
errorSvgIcon: SVGIcon;
|
|
109
105
|
/**
|
|
110
|
-
* Sets a custom icon
|
|
106
|
+
* Sets a custom icon for the **Clear** button.
|
|
111
107
|
*/
|
|
112
108
|
clearButtonIcon: string;
|
|
113
109
|
/**
|
|
114
|
-
* Sets a custom SVG icon
|
|
110
|
+
* Sets a custom SVG icon for the **Clear** button.
|
|
115
111
|
*/
|
|
116
112
|
clearButtonSvgIcon: SVGIcon;
|
|
117
113
|
/**
|
|
118
|
-
*
|
|
119
|
-
*
|
|
120
|
-
*
|
|
121
|
-
* The possible values are:
|
|
122
|
-
* * `small`
|
|
123
|
-
* * `medium` (default)
|
|
124
|
-
* * `large`
|
|
125
|
-
* * `none`
|
|
114
|
+
* Sets the padding of the TextBox internal input element ([see example]({% slug appearance_textbox %}#toc-size)).
|
|
115
|
+
* @default 'medium'
|
|
126
116
|
*/
|
|
127
117
|
set size(size: InputSize);
|
|
128
118
|
get size(): InputSize;
|
|
129
119
|
/**
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
* The possible values are:
|
|
134
|
-
* * `small`
|
|
135
|
-
* * `medium` (default)
|
|
136
|
-
* * `large`
|
|
137
|
-
* * `full`
|
|
138
|
-
* * `none`
|
|
120
|
+
* Sets the border radius of the TextBox ([see example](slug:appearance_textbox#toc-roundness)).
|
|
121
|
+
* @default 'medium'
|
|
139
122
|
*/
|
|
140
123
|
set rounded(rounded: InputRounded);
|
|
141
124
|
get rounded(): InputRounded;
|
|
142
125
|
/**
|
|
143
|
-
*
|
|
144
|
-
*
|
|
145
|
-
*
|
|
146
|
-
* The possible values are:
|
|
147
|
-
* * `flat`
|
|
148
|
-
* * `solid` (default)
|
|
149
|
-
* * `outline`
|
|
150
|
-
* * `none`
|
|
126
|
+
* Sets the background and border styles of the TextBox ([see example]({% slug appearance_textbox %}#toc-fill-mode)).
|
|
127
|
+
* @default 'solid'
|
|
151
128
|
*/
|
|
152
129
|
set fillMode(fillMode: InputFillMode);
|
|
153
130
|
get fillMode(): InputFillMode;
|
|
@@ -157,15 +134,15 @@ export declare class TextBoxComponent implements ControlValueAccessor {
|
|
|
157
134
|
set tabIndex(tabIndex: number);
|
|
158
135
|
get tabIndex(): number;
|
|
159
136
|
/**
|
|
160
|
-
*
|
|
137
|
+
* Sets the placeholder text displayed when the component is empty.
|
|
161
138
|
*/
|
|
162
139
|
placeholder: string;
|
|
163
140
|
/**
|
|
164
|
-
*
|
|
141
|
+
* Sets the maximum length of the TextBox value.
|
|
165
142
|
*/
|
|
166
143
|
maxlength: number;
|
|
167
144
|
/**
|
|
168
|
-
* Sets the HTML attributes of the inner focusable input element.
|
|
145
|
+
* Sets the HTML attributes of the inner focusable input element. You cannot change attributes that are essential for component functionality.
|
|
169
146
|
*/
|
|
170
147
|
set inputAttributes(attributes: {
|
|
171
148
|
[key: string]: string;
|
|
@@ -174,66 +151,30 @@ export declare class TextBoxComponent implements ControlValueAccessor {
|
|
|
174
151
|
[key: string]: string;
|
|
175
152
|
};
|
|
176
153
|
/**
|
|
177
|
-
* Fires
|
|
178
|
-
*
|
|
179
|
-
* ([see example](slug:events_textbox)).
|
|
180
|
-
* When the value of the component is programmatically changed to `ngModel` or `formControl`
|
|
181
|
-
* through its API or form binding, the `valueChange` event is not triggered because it
|
|
182
|
-
* might cause a mix-up with the built-in `valueChange` mechanisms of the `ngModel` or `formControl` bindings.
|
|
154
|
+
* Fires when the value changes—when the component is blurred or the value is cleared through the **Clear** button ([see example](slug:events_textbox)).
|
|
155
|
+
* Does not fire when you change the value programmatically through `ngModel` or `formControl`.
|
|
183
156
|
*/
|
|
184
157
|
valueChange: EventEmitter<any>;
|
|
185
158
|
/**
|
|
186
|
-
* Fires
|
|
159
|
+
* Fires when the user focuses the `input` element.
|
|
187
160
|
*/
|
|
188
161
|
inputFocus: EventEmitter<any>;
|
|
189
162
|
/**
|
|
190
|
-
* Fires
|
|
163
|
+
* Fires when the `input` element is blurred.
|
|
191
164
|
*/
|
|
192
165
|
inputBlur: EventEmitter<any>;
|
|
193
166
|
/**
|
|
194
|
-
* Fires
|
|
195
|
-
*
|
|
196
|
-
* > To wire the event programmatically, use the `onFocus` property.
|
|
167
|
+
* Fires when the user focuses the TextBox component.
|
|
197
168
|
*
|
|
198
|
-
* @example
|
|
199
|
-
* ```ts-no-run
|
|
200
|
-
* _@Component({
|
|
201
|
-
* selector: 'my-app',
|
|
202
|
-
* template: `
|
|
203
|
-
* <kendo-textbox (focus)="handleFocus()"></kendo-textbox>
|
|
204
|
-
* `
|
|
205
|
-
* })
|
|
206
|
-
* class AppComponent {
|
|
207
|
-
* public handleFocus(): void {
|
|
208
|
-
* console.log('Component is focused.');
|
|
209
|
-
* }
|
|
210
|
-
* }
|
|
211
|
-
* ```
|
|
212
169
|
*/
|
|
213
170
|
onFocus: EventEmitter<any>;
|
|
214
171
|
/**
|
|
215
|
-
* Fires
|
|
172
|
+
* Fires when the TextBox component is blurred.
|
|
216
173
|
*
|
|
217
|
-
* > To wire the event programmatically, use the `onBlur` property.
|
|
218
|
-
*
|
|
219
|
-
* @example
|
|
220
|
-
* ```ts-no-run
|
|
221
|
-
* _@Component({
|
|
222
|
-
* selector: 'my-app',
|
|
223
|
-
* template: `
|
|
224
|
-
* <kendo-textbox (blur)="handleBlur()"></kendo-textbox>
|
|
225
|
-
* `
|
|
226
|
-
* })
|
|
227
|
-
* class AppComponent {
|
|
228
|
-
* public handleBlur(): void {
|
|
229
|
-
* console.log('Component is blurred');
|
|
230
|
-
* }
|
|
231
|
-
* }
|
|
232
|
-
* ```
|
|
233
174
|
*/
|
|
234
175
|
onBlur: EventEmitter<any>;
|
|
235
176
|
/**
|
|
236
|
-
*
|
|
177
|
+
* Gets a reference to the visible `input` element of the TextBox.
|
|
237
178
|
*/
|
|
238
179
|
input: ElementRef;
|
|
239
180
|
/**
|
|
@@ -293,22 +234,10 @@ export declare class TextBoxComponent implements ControlValueAccessor {
|
|
|
293
234
|
svgIcon(name: string): SVGIcon;
|
|
294
235
|
/**
|
|
295
236
|
* Focuses the TextBox.
|
|
296
|
-
*
|
|
297
|
-
* @example
|
|
298
|
-
* ```ts-no-run
|
|
299
|
-
* _@Component({
|
|
300
|
-
* selector: 'my-app',
|
|
301
|
-
* template: `
|
|
302
|
-
* <button (click)="input.focus()">Focus the input</button>
|
|
303
|
-
* <kendo-textbox #input></kendo-textbox>
|
|
304
|
-
* `
|
|
305
|
-
* })
|
|
306
|
-
* class AppComponent { }
|
|
307
|
-
* ```
|
|
308
237
|
*/
|
|
309
238
|
focus(): void;
|
|
310
239
|
/**
|
|
311
|
-
*
|
|
240
|
+
* Removes focus from the TextBox.
|
|
312
241
|
*/
|
|
313
242
|
blur(): void;
|
|
314
243
|
/**
|
|
@@ -6,10 +6,10 @@ import { AfterViewInit, ElementRef, EventEmitter, OnDestroy, Renderer2, NgZone }
|
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
/**
|
|
8
8
|
* Represents the [Kendo UI TextBox directive]({% slug overview_textbox %}) for the Inputs components for Angular.
|
|
9
|
-
*
|
|
9
|
+
* Use this directive to style the textbox of any `input` element.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
|
-
* ```
|
|
12
|
+
* ```html
|
|
13
13
|
* <input kendoTextBox />
|
|
14
14
|
* <input kendoTextBox type="email" />
|
|
15
15
|
* <input kendoTextBox type="password" />
|
package/textbox.module.d.ts
CHANGED
|
@@ -11,34 +11,23 @@ import * as i5 from "./textbox/textbox-prefix.directive";
|
|
|
11
11
|
import * as i6 from "./textbox/localization/custom-messages.component";
|
|
12
12
|
import * as i7 from "@progress/kendo-angular-common";
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the TextBox directive.
|
|
15
|
+
*
|
|
16
|
+
* Use this module to add the TextBox directive to your NgModule-based Angular application.
|
|
16
17
|
*
|
|
17
18
|
* @example
|
|
18
19
|
*
|
|
19
|
-
* ```
|
|
20
|
-
* // Import the TextBox module
|
|
20
|
+
* ```typescript
|
|
21
21
|
* import { TextBoxModule } from '@progress/kendo-angular-inputs';
|
|
22
|
-
*
|
|
23
|
-
* // The browser platform with a compiler
|
|
24
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
25
|
-
*
|
|
26
22
|
* import { NgModule } from '@angular/core';
|
|
27
|
-
*
|
|
28
|
-
* // Import the app component
|
|
29
23
|
* import { AppComponent } from './app.component';
|
|
30
24
|
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* imports: [BrowserModule, TextBoxModule], // import TextBox module
|
|
25
|
+
* @NgModule({
|
|
26
|
+
* declarations: [AppComponent],
|
|
27
|
+
* imports: [BrowserModule, TextBoxModule],
|
|
35
28
|
* bootstrap: [AppComponent]
|
|
36
29
|
* })
|
|
37
30
|
* export class AppModule {}
|
|
38
|
-
*
|
|
39
|
-
* // Compile and launch the module
|
|
40
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
41
|
-
*
|
|
42
31
|
* ```
|
|
43
32
|
*/
|
|
44
33
|
export declare class TextBoxModule {
|