@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.
Files changed (160) hide show
  1. package/checkbox/checkbox.component.d.ts +15 -13
  2. package/checkbox/checkbox.directive.d.ts +8 -15
  3. package/checkbox/checked-state.d.ts +5 -1
  4. package/checkbox.module.d.ts +9 -20
  5. package/colorpicker/color-gradient.component.d.ts +26 -26
  6. package/colorpicker/color-input.component.d.ts +18 -18
  7. package/colorpicker/color-palette.component.d.ts +28 -29
  8. package/colorpicker/colorpicker.component.d.ts +53 -69
  9. package/colorpicker/events/active-color-click-event.d.ts +10 -14
  10. package/colorpicker/events/cancel-event.d.ts +1 -1
  11. package/colorpicker/events/close-event.d.ts +1 -1
  12. package/colorpicker/events/open-event.d.ts +1 -1
  13. package/colorpicker/flatcolorpicker.component.d.ts +26 -29
  14. package/colorpicker/localization/custom-messages.component.d.ts +9 -1
  15. package/colorpicker/localization/messages.d.ts +29 -29
  16. package/colorpicker/models/palette-settings.d.ts +0 -3
  17. package/colorpicker/models/tile-size.d.ts +6 -0
  18. package/colorpicker.module.d.ts +18 -2
  19. package/common/models/fillmode.d.ts +4 -1
  20. package/common/models/rounded.d.ts +8 -2
  21. package/common/models/size.d.ts +4 -1
  22. package/common/models/type.d.ts +3 -1
  23. package/common/radio-checkbox.base.d.ts +0 -7
  24. package/directives.d.ts +216 -18
  25. package/esm2022/checkbox/checkbox.component.mjs +15 -13
  26. package/esm2022/checkbox/checkbox.directive.mjs +8 -15
  27. package/esm2022/checkbox.module.mjs +9 -20
  28. package/esm2022/colorpicker/color-gradient.component.mjs +26 -26
  29. package/esm2022/colorpicker/color-input.component.mjs +21 -21
  30. package/esm2022/colorpicker/color-palette.component.mjs +28 -29
  31. package/esm2022/colorpicker/colorpicker.component.mjs +53 -69
  32. package/esm2022/colorpicker/events/active-color-click-event.mjs +10 -14
  33. package/esm2022/colorpicker/events/cancel-event.mjs +1 -1
  34. package/esm2022/colorpicker/events/close-event.mjs +1 -1
  35. package/esm2022/colorpicker/events/open-event.mjs +1 -1
  36. package/esm2022/colorpicker/flatcolorpicker.component.mjs +26 -29
  37. package/esm2022/colorpicker/localization/custom-messages.component.mjs +9 -1
  38. package/esm2022/colorpicker/localization/messages.mjs +29 -29
  39. package/esm2022/colorpicker.module.mjs +18 -2
  40. package/esm2022/common/radio-checkbox.base.mjs +0 -7
  41. package/esm2022/directives.mjs +216 -18
  42. package/esm2022/formfield/error.component.mjs +9 -6
  43. package/esm2022/formfield/formfield.component.mjs +24 -20
  44. package/esm2022/formfield/hint.component.mjs +8 -5
  45. package/esm2022/formfield.module.mjs +9 -20
  46. package/esm2022/index.mjs +1 -0
  47. package/esm2022/inputs.module.mjs +9 -21
  48. package/esm2022/maskedtextbox/maskedtextbox.component.mjs +46 -88
  49. package/esm2022/maskedtextbox.module.mjs +9 -20
  50. package/esm2022/numerictextbox/localization/custom-messages.component.mjs +13 -1
  51. package/esm2022/numerictextbox/localization/messages.mjs +2 -2
  52. package/esm2022/numerictextbox/numerictextbox.component.mjs +57 -70
  53. package/esm2022/numerictextbox.module.mjs +9 -20
  54. package/esm2022/otp.module.mjs +44 -0
  55. package/esm2022/otpinput/localization/custom-messages.component.mjs +3 -1
  56. package/esm2022/otpinput/otpinput.component.mjs +39 -42
  57. package/esm2022/package-metadata.mjs +2 -2
  58. package/esm2022/radiobutton/radiobutton.component.mjs +15 -6
  59. package/esm2022/radiobutton/radiobutton.directive.mjs +6 -10
  60. package/esm2022/radiobutton.module.mjs +8 -18
  61. package/esm2022/rangeslider/localization/custom-messages.component.mjs +11 -1
  62. package/esm2022/rangeslider/rangeslider.component.mjs +12 -16
  63. package/esm2022/rangeslider.module.mjs +7 -18
  64. package/esm2022/rating/directives/rating-hovered-item.directive.mjs +11 -3
  65. package/esm2022/rating/directives/rating-item.directive.mjs +10 -3
  66. package/esm2022/rating/directives/rating-selected-item.directive.mjs +12 -3
  67. package/esm2022/rating/rating.component.mjs +23 -20
  68. package/esm2022/rating.module.mjs +7 -18
  69. package/esm2022/shared/input-separator.component.mjs +10 -15
  70. package/esm2022/shared/textarea.directive.mjs +5 -6
  71. package/esm2022/signature/events/close-event.mjs +1 -1
  72. package/esm2022/signature/localization/custom-messages.component.mjs +1 -1
  73. package/esm2022/signature/signature.component.mjs +52 -51
  74. package/esm2022/signature.module.mjs +7 -18
  75. package/esm2022/slider/localization/custom-messages.component.mjs +1 -1
  76. package/esm2022/slider/slider.component.mjs +18 -19
  77. package/esm2022/slider.module.mjs +7 -18
  78. package/esm2022/sliders-common/label-template.directive.mjs +9 -19
  79. package/esm2022/sliders-common/slider-base.mjs +47 -29
  80. package/esm2022/switch/events/blur-event.mjs +1 -1
  81. package/esm2022/switch/events/focus-event.mjs +1 -1
  82. package/esm2022/switch/localization/custom-messages.component.mjs +1 -1
  83. package/esm2022/switch/switch.component.mjs +32 -43
  84. package/esm2022/switch.module.mjs +7 -18
  85. package/esm2022/textarea/textarea-prefix.component.mjs +11 -13
  86. package/esm2022/textarea/textarea-suffix.component.mjs +11 -13
  87. package/esm2022/textarea/textarea.component.mjs +40 -103
  88. package/esm2022/textarea.module.mjs +7 -18
  89. package/esm2022/textbox/localization/custom-messages.component.mjs +1 -1
  90. package/esm2022/textbox/textbox-prefix.directive.mjs +9 -13
  91. package/esm2022/textbox/textbox-suffix.directive.mjs +10 -14
  92. package/esm2022/textbox/textbox.component.mjs +41 -112
  93. package/esm2022/textbox/textbox.directive.mjs +2 -2
  94. package/esm2022/textbox.module.mjs +7 -18
  95. package/fesm2022/progress-kendo-angular-inputs.mjs +1207 -1280
  96. package/formfield/error.component.d.ts +9 -6
  97. package/formfield/formfield.component.d.ts +24 -20
  98. package/formfield/hint.component.d.ts +8 -5
  99. package/formfield/models/message-align.d.ts +3 -1
  100. package/formfield/models/orientation.d.ts +3 -0
  101. package/formfield/models/show-options.d.ts +5 -7
  102. package/formfield.module.d.ts +9 -20
  103. package/index.d.ts +1 -0
  104. package/inputs.module.d.ts +9 -21
  105. package/maskedtextbox/maskedtextbox.component.d.ts +46 -88
  106. package/maskedtextbox.module.d.ts +9 -20
  107. package/numerictextbox/localization/custom-messages.component.d.ts +13 -1
  108. package/numerictextbox/localization/messages.d.ts +2 -2
  109. package/numerictextbox/numerictextbox.component.d.ts +57 -70
  110. package/numerictextbox.module.d.ts +9 -20
  111. package/otp.module.d.ts +32 -0
  112. package/otpinput/localization/custom-messages.component.d.ts +3 -1
  113. package/otpinput/models/otpinput-type.d.ts +2 -2
  114. package/otpinput/models/separator-icon.d.ts +8 -3
  115. package/otpinput/otpinput.component.d.ts +39 -42
  116. package/package.json +12 -12
  117. package/radiobutton/radiobutton.component.d.ts +15 -6
  118. package/radiobutton/radiobutton.directive.d.ts +6 -10
  119. package/radiobutton.module.d.ts +8 -18
  120. package/rangeslider/localization/custom-messages.component.d.ts +11 -1
  121. package/rangeslider/rangeslider-value.type.d.ts +2 -2
  122. package/rangeslider/rangeslider.component.d.ts +12 -16
  123. package/rangeslider.module.d.ts +7 -18
  124. package/rating/directives/rating-hovered-item.directive.d.ts +11 -3
  125. package/rating/directives/rating-item.directive.d.ts +10 -3
  126. package/rating/directives/rating-selected-item.directive.d.ts +12 -3
  127. package/rating/models/precision.d.ts +1 -2
  128. package/rating/models/selection.d.ts +1 -2
  129. package/rating/rating.component.d.ts +21 -18
  130. package/rating.module.d.ts +7 -18
  131. package/shared/input-separator.component.d.ts +10 -15
  132. package/shared/textarea.directive.d.ts +5 -6
  133. package/signature/events/close-event.d.ts +1 -1
  134. package/signature/localization/custom-messages.component.d.ts +1 -1
  135. package/signature/signature.component.d.ts +52 -51
  136. package/signature.module.d.ts +7 -18
  137. package/slider/localization/custom-messages.component.d.ts +1 -1
  138. package/slider/slider.component.d.ts +18 -19
  139. package/slider.module.d.ts +7 -18
  140. package/sliders-common/label-template.directive.d.ts +9 -19
  141. package/sliders-common/slider-base.d.ts +47 -29
  142. package/sliders-common/title-callback.d.ts +19 -3
  143. package/switch/events/blur-event.d.ts +1 -1
  144. package/switch/events/focus-event.d.ts +1 -1
  145. package/switch/localization/custom-messages.component.d.ts +1 -1
  146. package/switch/switch.component.d.ts +32 -43
  147. package/switch.module.d.ts +7 -18
  148. package/textarea/models/adornments-orientation.d.ts +3 -3
  149. package/textarea/models/flow.d.ts +3 -3
  150. package/textarea/models/resize.d.ts +6 -7
  151. package/textarea/textarea-prefix.component.d.ts +11 -13
  152. package/textarea/textarea-suffix.component.d.ts +11 -13
  153. package/textarea/textarea.component.d.ts +40 -103
  154. package/textarea.module.d.ts +7 -18
  155. package/textbox/localization/custom-messages.component.d.ts +1 -1
  156. package/textbox/textbox-prefix.directive.d.ts +9 -13
  157. package/textbox/textbox-suffix.directive.d.ts +10 -14
  158. package/textbox/textbox.component.d.ts +41 -112
  159. package/textbox/textbox.directive.d.ts +2 -2
  160. package/textbox.module.d.ts +7 -18
@@ -5,17 +5,20 @@
5
5
  import { MessageAlign } from './models/message-align';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents an error message that will be shown underneath
9
- * a Kendo control or native HTML form-bound component after a validation.
8
+ * Represents the Kendo UI FormError component.
9
+ * Displays an error message under a Kendo Angular component or native HTML form-bound component after validation.
10
+ *
11
+ * @example
12
+ * ```html
13
+ * <kendo-formerror>Error message here</kendo-formerror>
14
+ * ```
10
15
  */
11
16
  export declare class ErrorComponent {
12
17
  hostClass: boolean;
13
18
  /**
14
- * Specifies the alignment of the Error message.
19
+ * Sets the alignment of the error message.
15
20
  *
16
- * The possible values are:
17
- * * (Default) `start`
18
- * * `end`
21
+ * @default 'start'
19
22
  */
20
23
  align: MessageAlign;
21
24
  /**
@@ -11,8 +11,22 @@ import { HintComponent } from './hint.component';
11
11
  import { Orientation } from './models/orientation';
12
12
  import * as i0 from "@angular/core";
13
13
  /**
14
- * Specifies a container for form-bound controls (Kendo controls or native HTML controls).
14
+ * Represents the Kendo UI FormField component for Angular.
15
+ * Use this component to group form-bound controls (Kendo Angular components or native HTML controls).
15
16
  * Applies styling and behavior rules.
17
+ *
18
+ * @example
19
+ * ```html
20
+ * <kendo-formfield>
21
+ * <kendo-label [for]="firstName"text="First Name"></kendo-label>
22
+ * <kendo-textbox formControlName="firstName" #firstName></kendo-textbox>
23
+ * <kendo-formhint>Enter your name.</kendo-formhint>
24
+ * <kendo-formerror>First name is required.</kendo-formerror>
25
+ * </kendo-formfield>
26
+ * ```
27
+ *
28
+ * @remarks
29
+ * Supported children components are: {@link ErrorComponent}, {@link HintComponent}, {@link TextBoxComponent}, {@link NumericTextBoxComponent}, {@link MaskedTextBoxComponent}, {@link TextAreaComponent}, {@link DatePickerComponent}, {@link DateTimePickerComponent}, {@link DateInputComponent}, {@link OTPInputComponent}.
16
30
  */
17
31
  export declare class FormFieldComponent implements AfterViewInit, AfterViewChecked {
18
32
  private renderer;
@@ -31,35 +45,25 @@ export declare class FormFieldComponent implements AfterViewInit, AfterViewCheck
31
45
  errorChildren: QueryList<ErrorComponent>;
32
46
  hintChildren: QueryList<HintComponent>;
33
47
  /**
48
+ * Specifies when to show the hint messages:
49
+ * * `initial`&mdash;Shows hints when the form control is `valid` or `untouched` and `pristine`.
50
+ * * `always`&mdash;Always shows hints.
34
51
  *
35
- * Specifies when the Hint messages will be shown.
36
- *
37
- * The possible values are:
38
- *
39
- * * (Default) `initial`&mdash;Allows displaying hints when the form-bound component state is
40
- * `valid` or `untouched` and `pristine`.
41
- * * `always`&mdash;Allows full control over the visibility of the hints.
42
- *
52
+ * @default 'initial'
43
53
  */
44
54
  showHints: ShowOptions;
45
55
  /**
46
56
  * Specifies the layout orientation of the form field.
47
57
  *
48
- * * The possible values are:
49
- *
50
- * * (Default) `vertical`
51
- * * `horizontal`
58
+ * @default 'vertical'
52
59
  */
53
60
  orientation: Orientation;
54
61
  /**
55
- * Specifies when the Error messages will be shown.
56
- *
57
- * The possible values are:
58
- *
59
- * * (Default) `initial`&mdash;Allows displaying errors when the form-bound component state is
60
- * `invalid` and `touched` or `dirty`.
61
- * * `always`&mdash;Allows full control over the visibility of the errors.
62
+ * Specifies when to show the error messages:
63
+ * * `initial`&mdash;Shows errors when the form control is `invalid` and `touched` or `dirty`.
64
+ * * `always`&mdash;Always shows errors.
62
65
  *
66
+ * @default 'initial'
63
67
  */
64
68
  showErrors: ShowOptions;
65
69
  /**
@@ -5,15 +5,18 @@
5
5
  import { MessageAlign } from './models/message-align';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Represents a hint message that will be shown underneath a form-bound component.
8
+ * Displays a hint message under a form-bound component.
9
+ *
10
+ * @example
11
+ * ```html
12
+ * <kendo-formhint>Hint message here</kendo-formhint>
13
+ * ```
9
14
  */
10
15
  export declare class HintComponent {
11
16
  /**
12
- * Specifies the alignment of the Hint message.
17
+ * Sets the alignment of the hint message.
13
18
  *
14
- * The possible values are:
15
- * * (Default) `start`
16
- * * `end`
19
+ * @default 'start'
17
20
  */
18
21
  align: MessageAlign;
19
22
  /**
@@ -3,6 +3,8 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Specifies whether the text message is aligned at the start or the end of the line.
6
+ * Specifies whether the text message aligns at the start or end of the line.
7
+ *
8
+ * Use this type to set the `align` property.
7
9
  */
8
10
  export type MessageAlign = 'start' | 'end';
@@ -4,6 +4,9 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
6
  * Specifies the layout orientation of the form fields.
7
+ *
8
+ * Use this type to set the `orientation` property.
9
+ *
7
10
  * @default `vertical`
8
11
  */
9
12
  export type Orientation = 'vertical' | 'horizontal';
@@ -3,14 +3,12 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Specifies whether the Hint or Error messages will be shown.
6
+ * Specifies whether the Hint or Error messages display.
7
7
  *
8
- * The possible values are:
8
+ * Use this type to set the `showHints` or `showErrors` property.
9
9
  *
10
- * * `initial`(Default) &mdash;Gives an initial, built-in control of the messages.
11
- * For both Hint and Error components, the configuration depends on the form-bound component state.
12
- * See [Hint `initial` configuration]({% slug api_inputs_formfieldcomponent %}#toc-showHints) and [Error `initial` configuration]({% slug api_inputs_formfieldcomponent %}#toc-showErrors).
13
- *
14
- * * `always`&mdash;Allows full control over the visibility of the messages.
10
+ * * `initial` (default)&mdash;Displays messages based on the form-bound component state.
11
+ * See [Hint `initial` configuration]({% slug api_inputs_formfieldcomponent %}#toc-showHints) and [Error `initial` configuration]({% slug api_inputs_formfieldcomponent %}#toc-showErrors).
12
+ * * `always`&mdash;Always displays the messages.
15
13
  */
16
14
  export type ShowOptions = 'initial' | 'always';
@@ -7,34 +7,23 @@ import * as i1 from "./formfield/formfield.component";
7
7
  import * as i2 from "./formfield/hint.component";
8
8
  import * as i3 from "./formfield/error.component";
9
9
  /**
10
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
11
- * definition for the FormField, Error and Hint components.
10
+ * Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the FormField, Error, and Hint components.
12
11
  *
13
- * @example
12
+ * Use this module to add FormField, Error, and Hint features to your NgModule-based Angular application.
14
13
  *
15
- * ```ts-no-run
16
- * // Import the FormField module
14
+ * @example
15
+ * ```typescript
17
16
  * import { FormFieldModule } from '@progress/kendo-angular-inputs';
18
- *
19
- * // The browser platform with a compiler
20
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
21
- *
22
17
  * import { NgModule } from '@angular/core';
23
- *
24
- * // Import the app component
18
+ * import { BrowserModule } from '@angular/platform-browser';
25
19
  * import { AppComponent } from './app.component';
26
20
  *
27
- * // Define the app module
28
- * _@NgModule({
29
- * declarations: [AppComponent], // declare app component
30
- * imports: [BrowserModule, FormFieldModule], // import FormField module
31
- * bootstrap: [AppComponent]
21
+ * @NgModule({
22
+ * declarations: [AppComponent],
23
+ * imports: [BrowserModule, FormFieldModule],
24
+ * bootstrap: [AppComponent]
32
25
  * })
33
26
  * export class AppModule {}
34
- *
35
- * // Compile and launch the module
36
- * platformBrowserDynamic().bootstrapModule(AppModule);
37
- *
38
27
  * ```
39
28
  */
40
29
  export declare class FormFieldModule {
package/index.d.ts CHANGED
@@ -18,6 +18,7 @@ export { SliderTicksComponent } from './sliders-common/slider-ticks.component';
18
18
  export { SliderModule } from './slider.module';
19
19
  export { RangeSliderModule } from './rangeslider.module';
20
20
  export { SwitchModule } from './switch.module';
21
+ export { OTPInputModule } from './otp.module';
21
22
  export { NumericTextBoxModule } from './numerictextbox.module';
22
23
  export { MaskedTextBoxModule } from './maskedtextbox.module';
23
24
  export { TextBoxModule } from './textbox.module';
@@ -45,35 +45,23 @@ import * as i39 from "./colorpicker/color-palette.component";
45
45
  import * as i40 from "./otpinput/otpinput.component";
46
46
  import * as i41 from "./otpinput/localization/custom-messages.component";
47
47
  /**
48
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
49
- * definition for the Inputs components.
48
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Inputs components.
50
49
  *
51
- * @example
50
+ * Use this module to import all Kendo UI for Angular Inputs components at once in your NgModule-based Angular application.
52
51
  *
53
- * ```ts-no-run
54
- * // Import the Inputs module
52
+ * @example
53
+ * ```typescript
55
54
  * import { InputsModule } from '@progress/kendo-angular-inputs';
56
- *
57
- * // The browser platform with a compiler
58
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
59
- * import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
60
- *
61
55
  * import { NgModule } from '@angular/core';
62
- *
63
- * // Import the app component
56
+ * import { BrowserModule } from '@angular/platform-browser';
64
57
  * import { AppComponent } from './app.component';
65
58
  *
66
- * // Define the app module
67
- * _@NgModule({
68
- * declarations: [AppComponent], // declare app component
69
- * imports: [BrowserModule, BrowserAnimationsModule, InputsModule], // import Inputs module
70
- * bootstrap: [AppComponent]
59
+ * @NgModule({
60
+ * declarations: [AppComponent],
61
+ * imports: [BrowserModule, InputsModule],
62
+ * bootstrap: [AppComponent]
71
63
  * })
72
64
  * export class AppModule {}
73
- *
74
- * // Compile and launch the module
75
- * platformBrowserDynamic().bootstrapModule(AppModule);
76
- *
77
65
  * ```
78
66
  */
79
67
  export declare class InputsModule {
@@ -14,21 +14,21 @@ import * as i0 from "@angular/core";
14
14
  * Represents the [Kendo UI MaskedTextBox component for Angular]({% slug overview_maskedtextbox %}).
15
15
  *
16
16
  * @example
17
- * ```ts-no-run
17
+ * ```typescript
18
+ * import { Component } from '@angular/core';
18
19
  *
19
- * _@Component({
20
- * selector: 'my-app',
21
- * template: `
22
- * <kendo-maskedtextbox
23
- * [mask]="mask"
24
- * [value]="value">
25
- * </kendo-maskedtextbox>
26
- * `
20
+ * @Component({
21
+ * selector: 'my-app',
22
+ * template: `
23
+ * <kendo-maskedtextbox
24
+ * [mask]="mask"
25
+ * [value]="value">
26
+ * </kendo-maskedtextbox>
27
+ * `
27
28
  * })
28
- *
29
- * class AppComponent {
30
- * public value: string = "9580128055807792";
31
- * public mask: string = "0000-0000-0000-0000";
29
+ * export class AppComponent {
30
+ * public value: string = "9580128055807792";
31
+ * public mask: string = "0000-0000-0000-0000";
32
32
  * }
33
33
  * ```
34
34
  */
@@ -44,66 +44,52 @@ export declare class MaskedTextBoxComponent implements ControlValueAccessor, OnC
44
44
  */
45
45
  focusableId: string;
46
46
  /**
47
- * Determines whether the MaskedTextBox is disabled ([see example]({% slug disabled_maskedtextbox %})). To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_maskedtextbox#toc-managing-the-maskedtextbox-disabled-state-in-reactive-forms).
47
+ * Disables the MaskedTextBox when you set it to `true` ([see example]({% slug disabled_maskedtextbox %})).
48
+ * To disable the component in reactive forms, see [Forms Support](slug:formssupport_maskedtextbox#toc-managing-the-maskedtextbox-disabled-state-in-reactive-forms).
49
+ * @default false
48
50
  */
49
51
  disabled: boolean;
50
52
  /**
51
- * Determines whether the MaskedTextBox is in its read-only state ([see example]({% slug readonly_maskedtextbox %})).
52
- *
53
+ * When `true`, sets the MaskedTextBox to read-only mode ([see example]({% slug readonly_maskedtextbox %})).
53
54
  * @default false
54
55
  */
55
56
  readonly: boolean;
56
57
  /**
57
- * Sets the title of the `input` element.
58
+ * Sets the `title` attribute of the input element.
58
59
  */
59
60
  title: string;
60
61
  /**
61
- * The size property specifies the padding of the MaskedTextBox internal input element
62
- * ([see example]({% slug appearance_maskedtextbox %}#toc-size)).
63
- * The possible values are:
64
- * * `small`
65
- * * `medium` (default)
66
- * * `large`
67
- * * `none`
62
+ * Sets the padding size of the MaskedTextBox input element ([see example]({% slug appearance_maskedtextbox %}#toc-size)).
63
+ * @default 'medium'
68
64
  */
69
65
  set size(size: InputSize);
70
66
  get size(): InputSize;
71
67
  /**
72
- * The rounded property specifies the border radius of the MaskedTextBox
73
- * ([see example](slug:appearance_maskedtextbox#toc-roundness)).
74
- * The possible values are:
75
- * * `small`
76
- * * `medium` (default)
77
- * * `large`
78
- * * `none`
68
+ * Sets the border radius of the MaskedTextBox ([see example](slug:appearance_maskedtextbox#toc-roundness)).
69
+ * @default 'medium'
79
70
  */
80
71
  set rounded(rounded: InputRounded);
81
72
  get rounded(): InputRounded;
82
73
  /**
83
- * The `fillMode` property specifies the background and border styles of the MaskedTexBox
84
- * ([see example]({% slug appearance_maskedtextbox %}#toc-fill-mode)).
85
- * The possible values are:
86
- * * `flat`
87
- * * `solid` (default)
88
- * * `outline`
89
- * * `none`
74
+ * Sets the background and border style of the MaskedTextBox ([see example]({% slug appearance_maskedtextbox %}#toc-fill-mode)).
75
+ * @default 'solid'
90
76
  */
91
77
  set fillMode(fillMode: InputFillMode);
92
78
  get fillMode(): InputFillMode;
93
79
  /**
94
- * Represents the current mask ([see example]({% slug value_maskedtextbox %})).
95
- * If no mask is set, the component behaves as a standard `type="text"` input.
80
+ * Sets the mask pattern for the MaskedTextBox ([see example]({% slug value_maskedtextbox %})).
81
+ * If you do not set a mask, the component acts as a standard `type="text"` input.
96
82
  *
97
- * > If the mask allows for spaces, set the [promptPlaceholder]({% slug api_inputs_maskedtextboxcomponent %}#toc-promptplaceholder)
98
- * to a character that is not accepted by the mask.
83
+ * If the mask allows spaces, set the [`promptPlaceholder`]({% slug api_inputs_maskedtextboxcomponent %}#toc-promptplaceholder)
84
+ * to a character that the mask does not accept.
99
85
  */
100
86
  mask: string;
101
87
  /**
102
- * Provides a value for the MaskedTextBox.
88
+ * Sets the value of the MaskedTextBox.
103
89
  */
104
90
  value: string;
105
91
  /**
106
- * Exposes the RegExp-based mask validation array ([see example]({% slug masks_maskedtextbox %})).
92
+ * Sets the RegExp-based mask validation rules ([see example]({% slug masks_maskedtextbox %})).
107
93
  */
108
94
  set rules(value: {
109
95
  [key: string]: RegExp;
@@ -112,32 +98,31 @@ export declare class MaskedTextBoxComponent implements ControlValueAccessor, OnC
112
98
  [key: string]: RegExp;
113
99
  };
114
100
  /**
115
- * Represents a prompt character for the masked value.
101
+ * Sets the prompt character for the masked value.
116
102
  * @default `_`
117
103
  */
118
104
  prompt: string;
119
105
  /**
120
- * Indicates a character which represents an empty position in the raw value.
106
+ * Sets the character that represents an empty position in the raw value.
121
107
  * @default ' '
122
108
  */
123
109
  promptPlaceholder: string;
124
110
  /**
125
- * Indicates whether to include literals in the raw value ([see example]({% slug value_maskedtextbox %})).
111
+ * When `true` includes literals in the raw value ([see example]({% slug value_maskedtextbox %})).
126
112
  * @default false
127
113
  */
128
114
  includeLiterals: boolean;
129
115
  /**
130
- * Specifies if the mask should be shown on focus for empty value.
116
+ * Shows the mask on focus when the value is empty.
131
117
  */
132
118
  maskOnFocus: boolean;
133
119
  /**
134
- * Determines whether the built-in mask validator is enforced when a form is validated
135
- * ([see example]({% slug validation_maskedtextbox %})).
120
+ * Enables the built-in mask validator when you set it to `true` ([see example]({% slug validation_maskedtextbox %})).
136
121
  * @default true
137
122
  */
138
123
  maskValidation: boolean;
139
124
  /**
140
- * Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
125
+ * Sets the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) attribute of the component.
141
126
  */
142
127
  tabindex: number;
143
128
  /**
@@ -146,7 +131,8 @@ export declare class MaskedTextBoxComponent implements ControlValueAccessor, OnC
146
131
  set tabIndex(tabIndex: number);
147
132
  get tabIndex(): number;
148
133
  /**
149
- * Sets the HTML attributes of the inner focusable input element. Attributes which are essential for certain component functionalities cannot be changed.
134
+ * Sets HTML attributes for the inner input element.
135
+ * You cannot change attributes that are essential for component functionality.
150
136
  */
151
137
  set inputAttributes(attributes: {
152
138
  [key: string]: string;
@@ -157,64 +143,36 @@ export declare class MaskedTextBoxComponent implements ControlValueAccessor, OnC
157
143
  private get defaultAttributes();
158
144
  private get mutableAttributes();
159
145
  /**
160
- * Fires each time the user focuses the MaskedTextBox component.
146
+ * Fires when the MaskedTextBox gets focused.
161
147
  *
162
- * > To wire the event programmatically, use the `onFocus` property.
148
+ * To subscribe programmatically, use the `onFocus` property.
163
149
  *
164
- * @example
165
- * ```ts-no-run
166
- * _@Component({
167
- * selector: 'my-app',
168
- * template: `
169
- * <kendo-maskedtextbox (focus)="handleFocus()"></kendo-maskedtextbox>
170
- * `
171
- * })
172
- * class AppComponent {
173
- * public handleFocus(): void {
174
- * console.log("Component is focused");
175
- * }
176
- * }
177
- * ```
178
150
  */
179
151
  onFocus: EventEmitter<any>;
180
152
  /**
181
- * Fires each time the MaskedTextBox component gets blurred.
153
+ * Fires when the MaskedTextBox gets blurred.
182
154
  *
183
- * > To wire the event programmatically, use the `onBlur` property.
155
+ * To subscribe programmatically, use the `onBlur` property.
184
156
  *
185
- * @example
186
- * ```ts-no-run
187
- * _@Component({
188
- * selector: 'my-app',
189
- * template: `
190
- * <kendo-maskedtextbox (blur)="handleBlur()"></kendo-maskedtextbox>
191
- * `
192
- * })
193
- * class AppComponent {
194
- * public handleBlur(): void {
195
- * console.log("Component is blurred");
196
- * }
197
- * }
198
- * ```
199
157
  */
200
158
  onBlur: EventEmitter<any>;
201
159
  /**
202
- * Fires each time the user focuses the `input` element.
160
+ * Fires when the input element gets focused.
203
161
  */
204
162
  inputFocus: EventEmitter<any>;
205
163
  /**
206
- * Fires each time the `input` element gets blurred.
164
+ * Fires when the input element gets blurred.
207
165
  */
208
166
  inputBlur: EventEmitter<any>;
209
167
  /**
210
- * Fires each time the value changes.
168
+ * Fires when the value changes.
211
169
  */
212
170
  valueChange: EventEmitter<string>;
213
171
  direction: string;
214
172
  hostClasses: boolean;
215
173
  get hostDisabledClass(): boolean;
216
174
  /**
217
- * Represents the `ElementRef` of the visible `input` element.
175
+ * Returns the `ElementRef` of the visible `input` element.
218
176
  */
219
177
  input: ElementRef;
220
178
  /**
@@ -6,34 +6,23 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "./maskedtextbox/maskedtextbox.component";
7
7
  import * as i2 from "@progress/kendo-angular-common";
8
8
  /**
9
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
- * definition for the MaskedTextBox component.
9
+ * Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the MaskedTextBox component.
11
10
  *
12
- * @example
11
+ * Use this module to add the MaskedTextBox component to your NgModule-based Angular application.
13
12
  *
14
- * ```ts-no-run
15
- * // Import the MaskedTextBox module
13
+ * @example
14
+ * ```typescript
16
15
  * import { MaskedTextBoxModule } from '@progress/kendo-angular-inputs';
17
- *
18
- * // The browser platform with a compiler
19
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
20
- *
21
16
  * import { NgModule } from '@angular/core';
22
- *
23
- * // Import the app component
17
+ * import { BrowserModule } from '@angular/platform-browser';
24
18
  * import { AppComponent } from './app.component';
25
19
  *
26
- * // Define the app module
27
- * _@NgModule({
28
- * declarations: [AppComponent], // declare app component
29
- * imports: [BrowserModule, MaskedTextBoxModule], // import MaskedTextBox module
30
- * bootstrap: [AppComponent]
20
+ * @NgModule({
21
+ * declarations: [AppComponent],
22
+ * imports: [BrowserModule, MaskedTextBoxModule],
23
+ * bootstrap: [AppComponent]
31
24
  * })
32
25
  * export class AppModule {}
33
- *
34
- * // Compile and launch the module
35
- * platformBrowserDynamic().bootstrapModule(AppModule);
36
- *
37
26
  * ```
38
27
  */
39
28
  export declare class MaskedTextBoxModule {
@@ -6,7 +6,19 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
6
  import { NumericTextBoxMessages } from './messages';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
- * Custom component messages override default component messages.
9
+ * Overrides the default messages of the NumericTextBox component.
10
+ *
11
+ * Use this component to provide custom messages for the NumericTextBox.
12
+ *
13
+ * @example
14
+ * ```html
15
+ * <kendo-numerictextbox>
16
+ * <kendo-numerictextbox-messages
17
+ * [increment]="'Custom Increment Message'"
18
+ * [decrement]="'Custom Decrement Message'">
19
+ * </kendo-numerictextbox-messages>
20
+ * <kendo-numerictextbox>
21
+ * ```
10
22
  */
11
23
  export declare class NumericTextBoxCustomMessagesComponent extends NumericTextBoxMessages {
12
24
  protected service: LocalizationService;
@@ -9,11 +9,11 @@ import * as i0 from "@angular/core";
9
9
  */
10
10
  export declare class NumericTextBoxMessages extends ComponentMessages {
11
11
  /**
12
- * The title of the **Decrement** button of the NumericTextBox.
12
+ * Sets the title of the **Decrement** button in the NumericTextBox.
13
13
  */
14
14
  decrement: string;
15
15
  /**
16
- * The title of the **Increment** button of the NumericTextBox.
16
+ * Sets the title of the **Increment** button in the NumericTextBox.
17
17
  */
18
18
  increment: string;
19
19
  static ɵfac: i0.ɵɵFactoryDeclaration<NumericTextBoxMessages, never>;