@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
@@ -6,11 +6,11 @@ import { ElementRef, Renderer2 } from '@angular/core';
6
6
  import { InputSize } from '../common/models';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
- * Represents the directive that renders the [Kendo UI RadioButton]({% slug overview_checkbox %}) input component.
10
- * The directive is placed on input type="radio" elements.
9
+ * Represents the directive that renders the Kendo UI RadioButton input component.
10
+ * Place the directive on `input type="radio"` HTML elements.
11
11
  *
12
12
  * @example
13
- * ```ts-no-run
13
+ * ```html
14
14
  * <input type="radio" kendoRadioButton />
15
15
  * ```
16
16
  */
@@ -19,13 +19,9 @@ export declare class RadioButtonDirective {
19
19
  private hostElement;
20
20
  kendoClass: boolean;
21
21
  /**
22
- * The size property specifies the width and height of the RadioButton
23
- * ([see example]({% slug appearance_radiobuttondirective %}#toc-size)).
24
- * The possible values are:
25
- * * `small`
26
- * * `medium` (default)
27
- * * `large`
28
- * * `none`
22
+ * Specifies the `size` of the RadioButton. The `size` property changes the width and height of the RadioButton ([see example]({% slug appearance_radiobuttondirective %}#toc-size)).
23
+ *
24
+ * @default "medium"
29
25
  */
30
26
  set size(size: InputSize);
31
27
  get size(): InputSize;
@@ -6,34 +6,24 @@ import * as i0 from "@angular/core";
6
6
  import * as i1 from "./radiobutton/radiobutton.component";
7
7
  import * as i2 from "./radiobutton/radiobutton.directive";
8
8
  /**
9
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
- * definition for the RadioButton directive and RadioButtonComponent.
9
+ * Defines the [NgModule](link:site.data.urls.angular['ngmoduleapi']) for the RadioButton directive and RadioButton component.
10
+ *
11
+ * Use this module to add the RadioButton directive and component to your NgModule-based Angular application.
11
12
  *
12
13
  * @example
13
14
  *
14
- * ```ts-no-run
15
- * // Import the RadioButton module
15
+ * ```typescript
16
16
  * import { RadioButtonModule } from '@progress/kendo-angular-inputs';
17
- *
18
- * // The browser platform with a compiler
19
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
20
- *
21
17
  * import { NgModule } from '@angular/core';
22
- *
23
- * // Import the app component
18
+ * import { BrowserModule } from '@angular/platform-browser';
24
19
  * import { AppComponent } from './app.component';
25
20
  *
26
- * // Define the app module
27
- * _@NgModule({
28
- * declarations: [AppComponent], // declare app component
29
- * imports: [BrowserModule, RadioButtonModule], // import RadioButton module
21
+ * @NgModule({
22
+ * declarations: [AppComponent],
23
+ * imports: [BrowserModule, RadioButtonModule],
30
24
  * bootstrap: [AppComponent]
31
25
  * })
32
26
  * export class AppModule {}
33
- *
34
- * // Compile and launch the module
35
- * platformBrowserDynamic().bootstrapModule(AppModule);
36
- *
37
27
  * ```
38
28
  */
39
29
  export declare class RadioButtonModule {
@@ -6,7 +6,17 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
6
  import { RangeSliderMessages } from './messages';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
- * Custom component messages override default component messages.
9
+ * Lets you override the default messages of the RangeSlider component.
10
+ *
11
+ * @example
12
+ *
13
+ * ```html
14
+ * <kendo-rangeslider-messages
15
+ * decreaseHandle="Decrease handle"
16
+ * increaseHandle="Increase handle"
17
+ * decreaseRange="Decrease range">
18
+ * </kendo-rangeslider-messages>
19
+ * ```
10
20
  */
11
21
  export declare class RangeSliderCustomMessagesComponent extends RangeSliderMessages {
12
22
  protected service: LocalizationService;
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * The value type of the RangeSlider - an array of two numbers `[number, number]`,
7
- * representing the start and the end of the range.
6
+ * Defines the value type of the RangeSlider as an array of two numbers `[number, number]`.
7
+ * The array represents the start and end of the range.
8
8
  */
9
9
  export type RangeSliderValue = [number, number];
@@ -9,7 +9,16 @@ import { SliderBase } from '../sliders-common/slider-base';
9
9
  import { RangeSliderValue } from './rangeslider-value.type';
10
10
  import * as i0 from "@angular/core";
11
11
  /**
12
- * Represents the [Kendo UI RangeSlider component for Angular]({% slug overview_rangeslider %}).
12
+ * Represents the Kendo UI RangeSlider component for Angular.
13
+ * Use this component to let users select a range of values.
14
+ *
15
+ * @example
16
+ * ```html
17
+ * <kendo-rangeslider [value]="[10, 50]" [min]="0" [max]="100"></kendo-rangeslider>
18
+ * ```
19
+ *
20
+ * @remarks
21
+ * Supported children components are: {@link RangeSliderCustomMessagesComponent}.
13
22
  */
14
23
  export declare class RangeSliderComponent extends SliderBase implements AfterViewInit, ControlValueAccessor, OnChanges, OnDestroy {
15
24
  protected localization: LocalizationService;
@@ -20,7 +29,7 @@ export declare class RangeSliderComponent extends SliderBase implements AfterVie
20
29
  protected hostElement: ElementRef;
21
30
  /**
22
31
  * Sets the range value of the RangeSlider.
23
- * The component can use either NgModel or the `value` binding but not both of them at the same time.
32
+ * Use either `ngModel` or the `value` binding, but not both at the same time.
24
33
  */
25
34
  value: RangeSliderValue;
26
35
  draghandleStart: ElementRef;
@@ -46,23 +55,10 @@ export declare class RangeSliderComponent extends SliderBase implements AfterVie
46
55
  /**
47
56
  * Focuses the RangeSlider.
48
57
  *
49
- * @example
50
- * ```ts-no-run
51
- * _@Component({
52
- * selector: 'my-app',
53
- * template: `
54
- * <div>
55
- * <button class="k-button" (click)="slider.focus()">Focus</button>
56
- * </div>
57
- * <kendo-rangeslider #slider></kendo-rangeslider>
58
- * `
59
- * })
60
- * class AppComponent { }
61
- * ```
62
58
  */
63
59
  focus(): void;
64
60
  /**
65
- * Blurs the RangeSlider.
61
+ * Removes focus from the RangeSlider.
66
62
  */
67
63
  blur(): void;
68
64
  ngOnInit(): void;
@@ -7,35 +7,24 @@ import * as i1 from "./rangeslider/rangeslider.component";
7
7
  import * as i2 from "./rangeslider/localization/custom-messages.component";
8
8
  import * as i3 from "./sliders-common/label-template.directive";
9
9
  /**
10
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
11
- * definition for the RangeSlider component.
10
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the RangeSlider component.
11
+ *
12
+ * Use this module to add the RangeSlider component to your NgModule-based Angular application.
12
13
  *
13
14
  * @example
14
15
  *
15
- * ```ts-no-run
16
- * // Import the Inputs module
16
+ * ```typescript
17
17
  * import { RangeSliderModule } from '@progress/kendo-angular-inputs';
18
- *
19
- * // The browser platform with a compiler
20
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
21
18
  * import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
22
- *
23
19
  * import { NgModule } from '@angular/core';
24
- *
25
- * // Import the app component
26
20
  * import { AppComponent } from './app.component';
27
21
  *
28
- * // Define the app module
29
- * _@NgModule({
30
- * declarations: [AppComponent], // declare app component
31
- * imports: [BrowserModule, BrowserAnimationsModule, RangeSliderModule], // import RangeSlider module
22
+ * @NgModule({
23
+ * declarations: [AppComponent],
24
+ * imports: [BrowserModule, BrowserAnimationsModule, RangeSliderModule],
32
25
  * bootstrap: [AppComponent]
33
26
  * })
34
27
  * export class AppModule {}
35
- *
36
- * // Compile and launch the module
37
- * platformBrowserDynamic().bootstrapModule(AppModule);
38
- *
39
28
  * ```
40
29
  */
41
30
  export declare class RangeSliderModule {
@@ -5,10 +5,18 @@
5
5
  import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Renders the hovered rating item content. To define an item template, nest an `<ng-template>` tag
9
- * with the `kendoRatingHoveredItemTemplate` directive inside the `<kendo-rating>` tag
10
- * [see example](slug:templates_rating).
8
+ * Renders the hovered rating item content.
9
+ * To define an item template, nest an `<ng-template>` tag with the `kendoRatingHoveredItemTemplate` directive inside the `<kendo-rating>` tag ([see example](slug:templates_rating)).
10
+ *
11
11
  * The index of the currently hovered item is available as an implicit context using the `let-index="index"` syntax.
12
+ * * @example
13
+ * ```html
14
+ * <kendo-rating [value]="ratingValue">
15
+ * <ng-template kendoRatingHoveredItemTemplate let-index="index">
16
+ * <span>Hovered item: {{ index }}</span>
17
+ * </ng-template>
18
+ * </kendo-rating>
19
+ * ```
12
20
  */
13
21
  export declare class RatingHoveredItemTemplateDirective {
14
22
  templateRef: TemplateRef<any>;
@@ -5,10 +5,17 @@
5
5
  import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Renders the rating item content. To define an item template, nest an `<ng-template>` tag
9
- * with the `kendoRatingItemTemplate` directive inside the `<kendo-rating>` tag
10
- * [see example](slug:templates_rating).
8
+ * Renders the rating item content.
9
+ * To define an item template, nest an `<ng-template>` tag with the `kendoRatingItemTemplate` directive inside the `<kendo-rating>` tag ([see example](slug:templates_rating)).
11
10
  * The index of the current item is available as an implicit context using the `let-index="index"` syntax.
11
+ * * @example
12
+ * ```html
13
+ * <kendo-rating [value]="ratingValue">
14
+ * <ng-template kendoRatingItemTemplate let-index="index">
15
+ * <span>Item: {{ index }}</span>
16
+ * </ng-template>
17
+ * </kendo-rating>
18
+ * ```
12
19
  */
13
20
  export declare class RatingItemTemplateDirective {
14
21
  templateRef: TemplateRef<any>;
@@ -5,10 +5,19 @@
5
5
  import { TemplateRef } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Renders the selected rating item content. To define an item template, nest an `<ng-template>` tag
9
- * with the `kendoRatingSelectedItemTemplate` directive inside the `<kendo-rating>` tag
10
- * [see example](slug:templates_rating).
8
+ * Renders the selected rating item content.
9
+ * To define an item template, nest an `<ng-template>` tag with the `kendoRatingSelectedItemTemplate` directive inside the `<kendo-rating>` tag ([see example](slug:templates_rating)).
10
+ *
11
11
  * The index of the currently selected item is available as an implicit context using the `let-index="index"` syntax.
12
+ *
13
+ * @example
14
+ * ```html
15
+ * <kendo-rating [value]="ratingValue">
16
+ * <ng-template kendoRatingSelectedItemTemplate let-index="index">
17
+ * <span>Selected item: {{ index }}</span>
18
+ * </ng-template>
19
+ * </kendo-rating>
20
+ * ```
12
21
  */
13
22
  export declare class RatingSelectedItemTemplateDirective {
14
23
  templateRef: TemplateRef<any>;
@@ -3,11 +3,10 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Specifies the precision with which an item is selected.
6
+ * Sets the precision with which an item is selected.
7
7
  *
8
8
  * The available values are:
9
9
  * * `item` (default)
10
10
  * * `half`
11
- *
12
11
  */
13
12
  export type RatingPrecision = 'item' | 'half';
@@ -3,11 +3,10 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Sets the selection mode of the Rating ([see example]({% slug selection_rating %})).
6
+ * Sets the `selection` mode of the Rating ([see example]({% slug selection_rating %})).
7
7
  *
8
8
  * The available values are:
9
9
  * * `continuous` (default)
10
10
  * * `single`
11
- *
12
11
  */
13
12
  export type RatingSelectionMode = 'continuous' | 'single';
@@ -14,7 +14,13 @@ import { RatingSelectedItemTemplateDirective } from './directives/rating-selecte
14
14
  import { RatingPrecision } from './models/precision';
15
15
  import * as i0 from "@angular/core";
16
16
  /**
17
- * Represents the [Kendo UI Rating component for Angular]({% slug overview_rating %}).
17
+ * Represents the Kendo UI Rating component for Angular.
18
+ * Use this component to let users select a rating value.
19
+ *
20
+ * @example
21
+ * ```html
22
+ * <kendo-rating [itemsCount]="5" [(value)]="ratingValue"></kendo-rating>
23
+ * ```
18
24
  */
19
25
  export declare class RatingComponent implements OnInit, AfterViewInit, OnDestroy, ControlValueAccessor {
20
26
  element: ElementRef;
@@ -26,37 +32,36 @@ export declare class RatingComponent implements OnInit, AfterViewInit, OnDestroy
26
32
  hoveredItemTemplate: RatingHoveredItemTemplateDirective;
27
33
  selectedItemTemplate: RatingSelectedItemTemplateDirective;
28
34
  /**
29
- * Determines whether the Rating is disabled ([see example]({% slug disabledstate_rating %})). To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_rating#toc-managing-the-rating-disabled-state-in-reactive-forms).
35
+ * When `true`, disables the Rating ([see example]({% slug disabledstate_rating %})).
36
+
37
+ * To disable the component in reactive forms, see [Forms Support](slug:formssupport_rating#toc-managing-the-rating-disabled-state-in-reactive-forms).
30
38
  *
31
39
  * @default false
32
- *
33
40
  */
34
41
  disabled: boolean;
35
42
  /**
36
- * Determines whether the Rating is in its read-only state ([see example]({% slug readonly_rating %})).
43
+ * When `true`, sets the Rating to read-only ([see example]({% slug readonly_rating %})).
44
+
37
45
  *
38
46
  * @default false
39
- *
40
47
  */
41
48
  readonly: boolean;
42
49
  /**
43
- * Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the Rating.
50
+ * Sets the [`tabindex`](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the Rating.
51
+
44
52
  *
45
53
  * @default 0
46
- *
47
54
  */
48
55
  tabindex: number;
49
56
  /**
50
57
  * Sets the number of Rating items ([see example]({% slug itemscount_rating %})).
51
58
  *
52
59
  * @default 5
53
- *
54
60
  */
55
61
  itemsCount: number;
56
62
  /**
57
- * The initial value of the Rating component.
58
- * The component can use either NgModel or the `value` binding but not both of them at the same time.
59
- *
63
+ * Sets the initial value of the Rating component.
64
+ * Use either `ngModel` or the `value` binding, but not both at the same time.
60
65
  */
61
66
  set value(value: number);
62
67
  get value(): number;
@@ -64,20 +69,18 @@ export declare class RatingComponent implements OnInit, AfterViewInit, OnDestroy
64
69
  * Sets the selection mode of the Rating ([see example]({% slug selection_rating %})).
65
70
  *
66
71
  * @default 'continuous'
67
- *
68
72
  */
69
73
  set selection(selection: RatingSelectionMode);
70
74
  get selection(): RatingSelectionMode;
71
75
  /**
72
- * Determines the precision of the Rating ([see example]({% slug precision_rating %})).
76
+ * Sets the precision of the Rating ([see example]({% slug precision_rating %})).
73
77
  *
74
78
  * @default 'item'
75
- *
76
79
  */
77
80
  set precision(precision: RatingPrecision);
78
81
  get precision(): RatingPrecision;
79
82
  /**
80
- * Sets the Rating label to the provided text. The text is rendered in a `<span>` element, instead of the native HTML `<label>` element ([see example]({% slug label_rating %})).
83
+ * Sets the label text for the Rating. The text renders in a `<span>` element ([see example]({% slug label_rating %})).
81
84
  */
82
85
  label: string;
83
86
  /**
@@ -85,15 +88,15 @@ export declare class RatingComponent implements OnInit, AfterViewInit, OnDestroy
85
88
  */
86
89
  icon: string;
87
90
  /**
88
- * Sets a custom SVG icon for the selected/hovered state of the Rating items ([see example]({% slug icon_rating %})).
91
+ * Sets a custom SVG icon for the selected or hovered state of the Rating items ([see example]({% slug icon_rating %})).
89
92
  */
90
93
  svgIcon: SVGIcon;
91
94
  /**
92
- * Sets a custom SVG icon for the default state of the Rating items when they are not hovered or selected ([see example]({% slug icon_rating %})).
95
+ * Sets a custom SVG icon for the default state of the Rating items when not hovered or selected ([see example]({% slug icon_rating %})).
93
96
  */
94
97
  svgIconOutline: SVGIcon;
95
98
  /**
96
- * Fires each time the user selects a new value.
99
+ * Fires when the user selects a new value.
97
100
  */
98
101
  valueChange: EventEmitter<number>;
99
102
  hostClass: boolean;
@@ -8,34 +8,23 @@ import * as i2 from "./rating/directives/rating-item.directive";
8
8
  import * as i3 from "./rating/directives/rating-hovered-item.directive";
9
9
  import * as i4 from "./rating/directives/rating-selected-item.directive";
10
10
  /**
11
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
12
- * definition for the Rating component.
11
+ * Defines the [`NgModule`](link:site.data.urls.angular['ngmoduleapi']) for the Rating component.
12
+ *
13
+ * Use this module to add the Rating component to your NgModule-based Angular application.
13
14
  *
14
15
  * @example
15
16
  *
16
- * ```ts-no-run
17
- * // Import the Rating module
17
+ * ```typescript
18
18
  * import { RatingModule } from '@progress/kendo-angular-inputs';
19
- *
20
- * // The browser platform with a compiler
21
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
22
- *
23
19
  * import { NgModule } from '@angular/core';
24
- *
25
- * // Import the app component
26
20
  * import { AppComponent } from './app.component';
27
21
  *
28
- * // Define the app module
29
- * _@NgModule({
30
- * declarations: [AppComponent], // declare app component
31
- * imports: [BrowserModule, RatingModule], // import Rating module
22
+ * @NgModule({
23
+ * declarations: [AppComponent],
24
+ * imports: [BrowserModule, RatingModule],
32
25
  * bootstrap: [AppComponent]
33
26
  * })
34
27
  * export class AppModule {}
35
- *
36
- * // Compile and launch the module
37
- * platformBrowserDynamic().bootstrapModule(AppModule);
38
- *
39
28
  * ```
40
29
  */
41
30
  export declare class RatingModule {
@@ -5,26 +5,21 @@
5
5
  import { SeparatorOrientation } from '@progress/kendo-angular-common';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
- * Specifies a separator in the content of components like the TextArea and the TextBox. ([see examples]({% slug adornments_textbox %}#toc-separator)).
8
+ * Represents a separator in the content of components like TextArea and TextBox. ([see examples]({% slug adornments_textbox %}#toc-separator)).
9
+ *
9
10
  * @example
10
- * ```ts-no-run
11
- * _@Component({
12
- * selector: 'my-app',
13
- * template: `
14
- * <kendo-textbox>
15
- * <ng-template kendoTextBoxSuffixTemplate>
16
- * <kendo-input-separator></kendo-input-separator>
17
- * <button kendoButton look="clear" icon="image"></button>
18
- * </ng-template>
19
- * </kendo-textbox>
20
- * `
21
- * })
22
- * class AppComponent {}
11
+ * ```html
12
+ * <kendo-textbox>
13
+ * <ng-template kendoTextBoxSuffixTemplate>
14
+ * <kendo-input-separator></kendo-input-separator>
15
+ * <button kendoButton icon="image"></button>
16
+ * </ng-template>
17
+ * </kendo-textbox>
23
18
  * ```
24
19
  */
25
20
  export declare class InputSeparatorComponent {
26
21
  /**
27
- * Specifies the orientation of the separator. Applicable for the adornments of the [`TextAreaComponent`](slug:api_inputs_textareacomponent).
22
+ * Sets the orientation of the separator. Use this for the adornments of the [`TextAreaComponent`](slug:api_inputs_textareacomponent).
28
23
  *
29
24
  * @default 'vertical'
30
25
  */
@@ -6,11 +6,10 @@ import { ElementRef, EventEmitter, OnDestroy, Renderer2, OnChanges, OnInit, NgZo
6
6
  import { ControlValueAccessor } from '@angular/forms';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
- * Represents the [Kendo UI TextArea directive for the Inputs components for Angular]({% slug overview_textarea %}).
10
- * Provides floating labels to `textarea` elements.
9
+ * Represents the Kendo UI TextArea directive for the Inputs components for Angular.
11
10
  *
12
11
  * @example
13
- * ```ts-no-run
12
+ * ```html
14
13
  * <textarea kendoTextArea></textarea>
15
14
  * ```
16
15
  */
@@ -24,18 +23,18 @@ export declare class TextAreaDirective implements OnInit, OnDestroy, OnChanges,
24
23
  autofillClass: boolean;
25
24
  direction: string;
26
25
  /**
27
- * Fires each time the textarea value is changed.
26
+ * Fires when the TextArea value changes.
28
27
  */
29
28
  valueChange: EventEmitter<any>;
30
29
  /**
31
- * Specifies if the `textarea` element will resize its height automatically
30
+ * Sets whether the `textarea` element resizes its height automatically
32
31
  * ([see example](slug:textarea_sizing#toc-auto-resizing)).
33
32
  *
34
33
  * @default false
35
34
  */
36
35
  autoSize: boolean;
37
36
  /**
38
- * Specifies the textarea value.
37
+ * Sets the textarea value.
39
38
  */
40
39
  value: string;
41
40
  /**
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from "@progress/kendo-angular-common";
6
6
  /**
7
- * Arguments for the `close` event of the Signature component.
7
+ * Provides arguments for the `close` event of the Signature component.
8
8
  */
9
9
  export declare class SignatureCloseEvent extends PreventableEvent {
10
10
  }
@@ -6,7 +6,7 @@ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
6
  import { SignatureMessages } from './messages';
7
7
  import * as i0 from "@angular/core";
8
8
  /**
9
- * Custom component messages override default component messages.
9
+ * Use this component to override the default Signature messages.
10
10
  */
11
11
  export declare class SignatureCustomMessagesComponent extends SignatureMessages {
12
12
  protected service: LocalizationService;