@progress/kendo-angular-inputs 17.0.0-develop.9 → 17.0.1-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 (237) hide show
  1. package/checkbox/checkbox.component.d.ts +1 -1
  2. package/checkbox/checkbox.directive.d.ts +1 -1
  3. package/checkbox/checked-state.d.ts +1 -1
  4. package/colorpicker/color-contrast-svg.component.d.ts +1 -1
  5. package/colorpicker/color-gradient-numeric-label.directive.d.ts +1 -1
  6. package/colorpicker/color-gradient.component.d.ts +1 -1
  7. package/colorpicker/color-input.component.d.ts +1 -1
  8. package/colorpicker/color-palette.component.d.ts +1 -1
  9. package/colorpicker/colorpicker.component.d.ts +1 -1
  10. package/colorpicker/contrast-validation.component.d.ts +1 -1
  11. package/colorpicker/contrast.component.d.ts +1 -1
  12. package/colorpicker/flatcolorpicker-actions.component.d.ts +1 -1
  13. package/colorpicker/flatcolorpicker-header.component.d.ts +1 -1
  14. package/colorpicker/flatcolorpicker.component.d.ts +1 -1
  15. package/colorpicker/localization/messages.d.ts +1 -1
  16. package/colorpicker/models/actions-layout.d.ts +1 -1
  17. package/colorpicker/models/colorpicker-view.d.ts +1 -1
  18. package/colorpicker/models/output-format.d.ts +1 -1
  19. package/common/models/fillmode.d.ts +1 -1
  20. package/common/models/rounded.d.ts +2 -2
  21. package/common/models/size.d.ts +1 -1
  22. package/common/models/type.d.ts +1 -1
  23. package/common/radio-checkbox.base.d.ts +1 -1
  24. package/common/utils.d.ts +1 -1
  25. package/{esm2020 → esm2022}/checkbox/checkbox.component.mjs +49 -44
  26. package/{esm2020 → esm2022}/checkbox/checkbox.directive.mjs +12 -10
  27. package/{esm2020 → esm2022}/checkbox.module.mjs +4 -4
  28. package/{esm2020 → esm2022}/colorpicker/color-contrast-svg.component.mjs +13 -7
  29. package/{esm2020 → esm2022}/colorpicker/color-gradient-numeric-label.directive.mjs +6 -3
  30. package/{esm2020 → esm2022}/colorpicker/color-gradient.component.mjs +142 -125
  31. package/{esm2020 → esm2022}/colorpicker/color-input.component.mjs +69 -49
  32. package/{esm2020 → esm2022}/colorpicker/color-palette.component.mjs +129 -98
  33. package/{esm2020 → esm2022}/colorpicker/colorpicker.component.mjs +211 -158
  34. package/{esm2020 → esm2022}/colorpicker/contrast-validation.component.mjs +10 -6
  35. package/{esm2020 → esm2022}/colorpicker/contrast.component.mjs +9 -6
  36. package/{esm2020 → esm2022}/colorpicker/events/active-color-click-event.mjs +2 -1
  37. package/{esm2020 → esm2022}/colorpicker/events/cancel-event.mjs +4 -0
  38. package/{esm2020 → esm2022}/colorpicker/flatcolorpicker-actions.component.mjs +11 -8
  39. package/{esm2020 → esm2022}/colorpicker/flatcolorpicker-header.component.mjs +23 -13
  40. package/{esm2020 → esm2022}/colorpicker/flatcolorpicker.component.mjs +155 -127
  41. package/{esm2020 → esm2022}/colorpicker/localization/colorgradient-localization.service.mjs +4 -3
  42. package/{esm2020 → esm2022}/colorpicker/localization/colorpalette-localization.service.mjs +4 -3
  43. package/{esm2020 → esm2022}/colorpicker/localization/colorpicker-localization.service.mjs +3 -3
  44. package/{esm2020 → esm2022}/colorpicker/localization/custom-messages.component.mjs +9 -8
  45. package/{esm2020 → esm2022}/colorpicker/localization/flatcolorpicker-localization.service.mjs +4 -3
  46. package/{esm2020 → esm2022}/colorpicker/localization/localized-colorpicker-messages.directive.mjs +9 -8
  47. package/esm2022/colorpicker/localization/messages.mjs +183 -0
  48. package/{esm2020 → esm2022}/colorpicker/services/color-palette.service.mjs +4 -6
  49. package/{esm2020 → esm2022}/colorpicker/services/flatcolorpicker.service.mjs +3 -3
  50. package/{esm2020 → esm2022}/colorpicker.module.mjs +4 -4
  51. package/{esm2020 → esm2022}/common/radio-checkbox.base.mjs +80 -56
  52. package/{esm2020 → esm2022}/formfield/error.component.mjs +18 -20
  53. package/{esm2020 → esm2022}/formfield/formfield.component.mjs +67 -55
  54. package/{esm2020 → esm2022}/formfield/hint.component.mjs +17 -19
  55. package/{esm2020 → esm2022}/formfield.module.mjs +4 -4
  56. package/{esm2020 → esm2022}/index.mjs +0 -1
  57. package/esm2022/inputs.module.mjs +96 -0
  58. package/{esm2020 → esm2022}/maskedtextbox/maskedtextbox.component.mjs +263 -223
  59. package/{esm2020 → esm2022}/maskedtextbox/masking.service.mjs +12 -14
  60. package/{esm2020 → esm2022}/maskedtextbox/parsing/parsers.mjs +1 -0
  61. package/{esm2020 → esm2022}/maskedtextbox/parsing/result.mjs +3 -0
  62. package/{esm2020 → esm2022}/maskedtextbox/parsing/stream.mjs +4 -2
  63. package/{esm2020 → esm2022}/maskedtextbox.module.mjs +7 -7
  64. package/{esm2020 → esm2022}/numerictextbox/localization/custom-messages.component.mjs +9 -8
  65. package/{esm2020 → esm2022}/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +9 -8
  66. package/{esm2020 → esm2022}/numerictextbox/localization/messages.mjs +11 -3
  67. package/{esm2020 → esm2022}/numerictextbox/numerictextbox.component.mjs +367 -319
  68. package/{esm2020 → esm2022}/numerictextbox.module.mjs +7 -7
  69. package/{esm2020 → esm2022}/package-metadata.mjs +2 -2
  70. package/{esm2020 → esm2022}/radiobutton/radiobutton.component.mjs +58 -51
  71. package/{esm2020 → esm2022}/radiobutton/radiobutton.directive.mjs +12 -10
  72. package/{esm2020 → esm2022}/radiobutton.module.mjs +4 -4
  73. package/{esm2020 → esm2022}/rangeslider/localization/custom-messages.component.mjs +9 -8
  74. package/{esm2020 → esm2022}/rangeslider/localization/localized-rangeslider-messages.directive.mjs +9 -8
  75. package/{esm2020 → esm2022}/rangeslider/localization/messages.mjs +11 -3
  76. package/{esm2020 → esm2022}/rangeslider/rangeslider-model.mjs +2 -0
  77. package/{esm2020 → esm2022}/rangeslider/rangeslider.component.mjs +117 -101
  78. package/{esm2020 → esm2022}/rangeslider.module.mjs +4 -4
  79. package/{esm2020 → esm2022}/rating/directives/rating-hovered-item.directive.mjs +4 -3
  80. package/{esm2020 → esm2022}/rating/directives/rating-item.directive.mjs +4 -3
  81. package/{esm2020 → esm2022}/rating/directives/rating-selected-item.directive.mjs +4 -3
  82. package/{esm2020 → esm2022}/rating/rating.component.mjs +96 -76
  83. package/{esm2020 → esm2022}/rating.module.mjs +4 -4
  84. package/{esm2020 → esm2022}/shared/input-separator.component.mjs +10 -12
  85. package/{esm2020 → esm2022}/shared/shared-events.directive.mjs +13 -7
  86. package/{esm2020 → esm2022}/shared/textarea.directive.mjs +66 -52
  87. package/{esm2020 → esm2022}/signature/localization/custom-messages.component.mjs +9 -8
  88. package/{esm2020 → esm2022}/signature/localization/localized-signature-messages.directive.mjs +9 -8
  89. package/{esm2020 → esm2022}/signature/localization/messages.mjs +19 -3
  90. package/{esm2020 → esm2022}/signature/signature.component.mjs +205 -151
  91. package/{esm2020 → esm2022}/signature.module.mjs +4 -4
  92. package/{esm2020 → esm2022}/slider/localization/custom-messages.component.mjs +9 -8
  93. package/{esm2020 → esm2022}/slider/localization/localized-slider-messages.directive.mjs +9 -8
  94. package/{esm2020 → esm2022}/slider/localization/messages.mjs +15 -3
  95. package/{esm2020 → esm2022}/slider/slider-model.mjs +1 -0
  96. package/{esm2020 → esm2022}/slider/slider.component.mjs +121 -99
  97. package/{esm2020 → esm2022}/slider.module.mjs +4 -4
  98. package/{esm2020 → esm2022}/sliders-common/label-template.directive.mjs +4 -3
  99. package/{esm2020 → esm2022}/sliders-common/slider-base.mjs +112 -90
  100. package/{esm2020 → esm2022}/sliders-common/slider-model.base.mjs +6 -0
  101. package/{esm2020 → esm2022}/sliders-common/slider-ticks.component.mjs +19 -11
  102. package/{esm2020 → esm2022}/switch/events/blur-event.mjs +4 -0
  103. package/{esm2020 → esm2022}/switch/events/focus-event.mjs +4 -0
  104. package/{esm2020 → esm2022}/switch/localization/custom-messages.component.mjs +9 -8
  105. package/{esm2020 → esm2022}/switch/localization/localized-switch-messages.directive.mjs +9 -8
  106. package/{esm2020 → esm2022}/switch/localization/messages.mjs +11 -3
  107. package/{esm2020 → esm2022}/switch/switch.component.mjs +125 -106
  108. package/{esm2020 → esm2022}/switch.module.mjs +4 -4
  109. package/esm2022/text-fields-common/text-fields-base.mjs +150 -0
  110. package/{esm2020 → esm2022}/textarea/textarea-prefix.component.mjs +12 -14
  111. package/{esm2020 → esm2022}/textarea/textarea-suffix.component.mjs +12 -14
  112. package/{esm2020 → esm2022}/textarea/textarea.component.mjs +173 -144
  113. package/{esm2020 → esm2022}/textarea.module.mjs +7 -7
  114. package/{esm2020 → esm2022}/textbox/localization/custom-messages.component.mjs +9 -8
  115. package/{esm2020 → esm2022}/textbox/localization/localized-textbox-messages.directive.mjs +9 -8
  116. package/{esm2020 → esm2022}/textbox/localization/messages.mjs +7 -3
  117. package/{esm2020 → esm2022}/textbox/textbox-prefix.directive.mjs +8 -7
  118. package/{esm2020 → esm2022}/textbox/textbox-suffix.directive.mjs +8 -7
  119. package/{esm2020 → esm2022}/textbox/textbox.component.mjs +286 -204
  120. package/{esm2020 → esm2022}/textbox/textbox.directive.mjs +36 -33
  121. package/{esm2020 → esm2022}/textbox.module.mjs +7 -7
  122. package/{fesm2020 → fesm2022}/progress-kendo-angular-inputs.mjs +3718 -2910
  123. package/formfield/error.component.d.ts +1 -1
  124. package/formfield/formfield.component.d.ts +1 -1
  125. package/formfield/hint.component.d.ts +1 -1
  126. package/formfield/models/message-align.d.ts +1 -1
  127. package/formfield/models/orientation.d.ts +1 -1
  128. package/formfield/models/show-options.d.ts +1 -1
  129. package/index.d.ts +0 -1
  130. package/inputs.module.d.ts +1 -1
  131. package/maskedtextbox/maskedtextbox.component.d.ts +1 -1
  132. package/maskedtextbox.module.d.ts +1 -1
  133. package/numerictextbox/localization/messages.d.ts +1 -1
  134. package/numerictextbox/numerictextbox.component.d.ts +1 -1
  135. package/numerictextbox.module.d.ts +1 -1
  136. package/package.json +20 -26
  137. package/radiobutton/radiobutton.component.d.ts +1 -1
  138. package/radiobutton/radiobutton.directive.d.ts +1 -1
  139. package/rangeslider/localization/messages.d.ts +1 -1
  140. package/rangeslider/rangeslider-model.d.ts +0 -1
  141. package/rangeslider/rangeslider-value.type.d.ts +1 -1
  142. package/rangeslider/rangeslider.component.d.ts +1 -1
  143. package/rating/models/precision.d.ts +1 -1
  144. package/rating/models/selection.d.ts +1 -1
  145. package/rating/rating.component.d.ts +1 -1
  146. package/schematics/ngAdd/index.js +1 -1
  147. package/shared/input-separator.component.d.ts +1 -1
  148. package/shared/shared-events.directive.d.ts +1 -1
  149. package/shared/textarea.directive.d.ts +1 -1
  150. package/signature/localization/messages.d.ts +1 -1
  151. package/signature/signature.component.d.ts +1 -1
  152. package/slider/localization/messages.d.ts +1 -1
  153. package/slider/slider-model.d.ts +0 -1
  154. package/slider/slider.component.d.ts +1 -1
  155. package/sliders-common/slider-base.d.ts +1 -1
  156. package/sliders-common/slider-ticks.component.d.ts +1 -1
  157. package/sliders-common/title-callback.d.ts +1 -1
  158. package/switch/localization/messages.d.ts +1 -1
  159. package/switch/switch.component.d.ts +1 -1
  160. package/text-fields-common/text-fields-base.d.ts +1 -1
  161. package/textarea/models/adornments-orientation.d.ts +1 -1
  162. package/textarea/models/flow.d.ts +1 -1
  163. package/textarea/models/resize.d.ts +1 -1
  164. package/textarea/textarea-prefix.component.d.ts +1 -1
  165. package/textarea/textarea-suffix.component.d.ts +1 -1
  166. package/textarea/textarea.component.d.ts +1 -1
  167. package/textarea.module.d.ts +1 -1
  168. package/textbox/localization/messages.d.ts +1 -1
  169. package/textbox/models/icon-show-options.d.ts +1 -1
  170. package/textbox/textbox-prefix.directive.d.ts +1 -1
  171. package/textbox/textbox-suffix.directive.d.ts +1 -1
  172. package/textbox/textbox.component.d.ts +1 -1
  173. package/textbox/textbox.directive.d.ts +1 -1
  174. package/textbox.module.d.ts +1 -1
  175. package/esm2020/colorpicker/localization/messages.mjs +0 -75
  176. package/esm2020/inputs.module.mjs +0 -96
  177. package/esm2020/shared.module.mjs +0 -32
  178. package/esm2020/text-fields-common/text-fields-base.mjs +0 -131
  179. package/fesm2015/progress-kendo-angular-inputs.mjs +0 -17268
  180. package/shared.module.d.ts +0 -19
  181. /package/{esm2020 → esm2022}/checkbox/checked-state.mjs +0 -0
  182. /package/{esm2020 → esm2022}/colorpicker/constants.mjs +0 -0
  183. /package/{esm2020 → esm2022}/colorpicker/events/close-event.mjs +0 -0
  184. /package/{esm2020 → esm2022}/colorpicker/events/kendo-drag-event.mjs +0 -0
  185. /package/{esm2020 → esm2022}/colorpicker/events/open-event.mjs +0 -0
  186. /package/{esm2020 → esm2022}/colorpicker/events.mjs +0 -0
  187. /package/{esm2020 → esm2022}/colorpicker/models/actions-layout.mjs +0 -0
  188. /package/{esm2020 → esm2022}/colorpicker/models/colorpicker-view.mjs +0 -0
  189. /package/{esm2020 → esm2022}/colorpicker/models/gradient-settings.mjs +0 -0
  190. /package/{esm2020 → esm2022}/colorpicker/models/hsva.mjs +0 -0
  191. /package/{esm2020 → esm2022}/colorpicker/models/output-format.mjs +0 -0
  192. /package/{esm2020 → esm2022}/colorpicker/models/palette-presets.mjs +0 -0
  193. /package/{esm2020 → esm2022}/colorpicker/models/palette-settings.mjs +0 -0
  194. /package/{esm2020 → esm2022}/colorpicker/models/popup-settings.mjs +0 -0
  195. /package/{esm2020 → esm2022}/colorpicker/models/rgb.mjs +0 -0
  196. /package/{esm2020 → esm2022}/colorpicker/models/rgba.mjs +0 -0
  197. /package/{esm2020 → esm2022}/colorpicker/models/table-cell.mjs +0 -0
  198. /package/{esm2020 → esm2022}/colorpicker/models/tile-size.mjs +0 -0
  199. /package/{esm2020 → esm2022}/colorpicker/models.mjs +0 -0
  200. /package/{esm2020 → esm2022}/colorpicker/utils/color-parser.mjs +0 -0
  201. /package/{esm2020 → esm2022}/colorpicker/utils/contrast-curve.mjs +0 -0
  202. /package/{esm2020 → esm2022}/colorpicker/utils.mjs +0 -0
  203. /package/{esm2020 → esm2022}/common/dom-utils.mjs +0 -0
  204. /package/{esm2020 → esm2022}/common/math.mjs +0 -0
  205. /package/{esm2020 → esm2022}/common/models/fillmode.mjs +0 -0
  206. /package/{esm2020 → esm2022}/common/models/rounded.mjs +0 -0
  207. /package/{esm2020 → esm2022}/common/models/size.mjs +0 -0
  208. /package/{esm2020 → esm2022}/common/models/styling-classes.mjs +0 -0
  209. /package/{esm2020 → esm2022}/common/models/type.mjs +0 -0
  210. /package/{esm2020 → esm2022}/common/models.mjs +0 -0
  211. /package/{esm2020 → esm2022}/common/utils.mjs +0 -0
  212. /package/{esm2020 → esm2022}/directives.mjs +0 -0
  213. /package/{esm2020 → esm2022}/formfield/models/message-align.mjs +0 -0
  214. /package/{esm2020 → esm2022}/formfield/models/orientation.mjs +0 -0
  215. /package/{esm2020 → esm2022}/formfield/models/show-options.mjs +0 -0
  216. /package/{esm2020 → esm2022}/maskedtextbox/parsing/combinators.mjs +0 -0
  217. /package/{esm2020 → esm2022}/numerictextbox/arrow-direction.mjs +0 -0
  218. /package/{esm2020 → esm2022}/numerictextbox/constants.mjs +0 -0
  219. /package/{esm2020 → esm2022}/numerictextbox/utils.mjs +0 -0
  220. /package/{esm2020 → esm2022}/progress-kendo-angular-inputs.mjs +0 -0
  221. /package/{esm2020 → esm2022}/rangeslider/rangeslider-value.type.mjs +0 -0
  222. /package/{esm2020 → esm2022}/rating/models/precision.mjs +0 -0
  223. /package/{esm2020 → esm2022}/rating/models/rating-item.interface.mjs +0 -0
  224. /package/{esm2020 → esm2022}/rating/models/selection.mjs +0 -0
  225. /package/{esm2020 → esm2022}/shared/utils.mjs +0 -0
  226. /package/{esm2020 → esm2022}/signature/events/close-event.mjs +0 -0
  227. /package/{esm2020 → esm2022}/signature/events/index.mjs +0 -0
  228. /package/{esm2020 → esm2022}/signature/events/open-event.mjs +0 -0
  229. /package/{esm2020 → esm2022}/signature/localization/index.mjs +0 -0
  230. /package/{esm2020 → esm2022}/sliders-common/sliders-util.mjs +0 -0
  231. /package/{esm2020 → esm2022}/sliders-common/title-callback.mjs +0 -0
  232. /package/{esm2020 → esm2022}/textarea/models/adornments-orientation.mjs +0 -0
  233. /package/{esm2020 → esm2022}/textarea/models/flow.mjs +0 -0
  234. /package/{esm2020 → esm2022}/textarea/models/resize.mjs +0 -0
  235. /package/{esm2020 → esm2022}/textbox/models/icon-show-options.mjs +0 -0
  236. /package/{esm2020 → esm2022}/validators/max.validator.mjs +0 -0
  237. /package/{esm2020 → esm2022}/validators/min.validator.mjs +0 -0
@@ -35,142 +35,24 @@ const DEFAULT_FILL_MODE = 'solid';
35
35
  * Represents the [Kendo UI TextArea component for Angular]({% slug overview_textarea %}).
36
36
  */
37
37
  export class TextAreaComponent extends TextFieldsBase {
38
- constructor(localizationService, ngZone, changeDetector, renderer, injector, hostElement) {
39
- super(localizationService, ngZone, changeDetector, renderer, injector, hostElement);
40
- this.localizationService = localizationService;
41
- this.ngZone = ngZone;
42
- this.changeDetector = changeDetector;
43
- this.renderer = renderer;
44
- this.injector = injector;
45
- this.hostElement = hostElement;
46
- /**
47
- * @hidden
48
- */
49
- this.focusableId = `k-${guid()}`;
50
- this.hostClasses = true;
51
- this._flow = 'vertical';
52
- /**
53
- * Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
54
- */
55
- this.tabindex = 0;
56
- /**
57
- * Configures the resize behavior of the TextArea.
58
- *
59
- * The possible values are:
60
- * * `vertical`(Default)—The TextArea component can be resized only vertically.
61
- * * `horizontal`—The TextArea component can be resized only horizontally.
62
- * * `both`—The TextArea component can be resized in both (horizontal and vertical) directions.
63
- * * `auto`—Specifies whether the TextArea component will adjust its height automatically, based on the content.
64
- * * `none`—The TextArea cannot be resized.
65
- *
66
- */
67
- this.resizable = 'vertical';
68
- /**
69
- * Specifies whether the prefix separator of the TextArea is rendered.
70
- * If a prefix template is not declared, the separator will not be rendered, regardless of the parameter value.
71
- *
72
- * @default false
73
- */
74
- this.showPrefixSeparator = false;
75
- /**
76
- * Specifies whether the suffix separator of the TextArea is rendered.
77
- * If a suffix template is not declared, the separator will not be rendered, regardless of the parameter value.
78
- *
79
- * @default false
80
- */
81
- this.showSuffixSeparator = false;
82
- /**
83
- * Fires each time the user focuses the TextArea component.
84
- *
85
- * > To wire the event programmatically, use the `onFocus` property.
86
- *
87
- * @example
88
- * ```ts
89
- * _@Component({
90
- * selector: 'my-app',
91
- * template: `
92
- * <kendo-textarea (focus)="handleFocus()"></kendo-textarea>
93
- * `
94
- * })
95
- * class AppComponent {
96
- * public handleFocus(): void {
97
- * console.log('Component is focused.');
98
- * }
99
- * }
100
- * ```
101
- */
102
- this.onFocus = new EventEmitter();
103
- /**
104
- * Fires each time the TextArea component gets blurred.
105
- *
106
- * > To wire the event programmatically, use the `onBlur` property.
107
- *
108
- * @example
109
- * ```ts
110
- * _@Component({
111
- * selector: 'my-app',
112
- * template: `
113
- * <kendo-textarea (blur)="handleBlur()"></kendo-textarea>
114
- * `
115
- * })
116
- * class AppComponent {
117
- * public handleBlur(): void {
118
- * console.log('Component is blurred');
119
- * }
120
- * }
121
- * ```
122
- */
123
- this.onBlur = new EventEmitter();
124
- /**
125
- * Fires each time the value is changed or the component is blurred
126
- * ([see example](slug:events_textarea)).
127
- * When the component value is changed programmatically or via its form control binding, the valueChange event is not emitted.
128
- */
129
- this.valueChange = new EventEmitter();
130
- this._size = 'medium';
131
- this._rounded = 'medium';
132
- this._fillMode = 'solid';
133
- this._adornmentsOrientation = 'horizontal';
134
- this.parsedAttributes = {};
135
- /**
136
- * @hidden
137
- */
138
- this.handleInput = (ev) => {
139
- const incomingValue = ev.target.value;
140
- this.updateValue(incomingValue);
141
- this.resize();
142
- };
143
- /**
144
- * @hidden
145
- */
146
- this.handleInputFocus = () => {
147
- if (!this.disabled) {
148
- if (this.selectOnFocus && this.value) {
149
- this.ngZone.run(() => {
150
- setTimeout(() => { this.selectAll(); });
151
- });
152
- }
153
- if (!this.isFocused) {
154
- this.handleFocus();
155
- }
156
- if (hasObservers(this.inputFocus)) {
157
- if (!this.focusChangedProgrammatically) {
158
- this.ngZone.run(() => {
159
- this.inputFocus.emit();
160
- });
161
- }
162
- }
163
- }
164
- };
165
- validatePackage(packageMetadata);
166
- this.direction = localizationService.rtl ? 'rtl' : 'ltr';
167
- }
38
+ localizationService;
39
+ ngZone;
40
+ changeDetector;
41
+ renderer;
42
+ injector;
43
+ hostElement;
44
+ /**
45
+ * @hidden
46
+ */
47
+ focusableId = `k-${guid()}`;
48
+ hostClasses = true;
168
49
  get flowCol() {
169
50
  return this.flow === 'vertical';
170
51
  }
171
52
  get flowRow() {
172
53
  return this.flow === 'horizontal';
173
54
  }
55
+ _flow = 'vertical';
174
56
  /**
175
57
  * Specifies the flow direction of the TextArea sections. This property is useful when adornments are used, in order to specify
176
58
  * their position in relation to the textarea element.
@@ -227,6 +109,22 @@ export class TextAreaComponent extends TextFieldsBase {
227
109
  get adornmentsOrientation() {
228
110
  return this._adornmentsOrientation;
229
111
  }
112
+ /**
113
+ * Specifies the visible height of the textarea element in lines.
114
+ */
115
+ rows;
116
+ /**
117
+ * Specifies the visible width of the textarea element (in average character width).
118
+ */
119
+ cols;
120
+ /**
121
+ * Specifies the maximum number of characters that the user can enter in the TextArea component.
122
+ */
123
+ maxlength;
124
+ /**
125
+ * Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
126
+ */
127
+ tabindex = 0;
230
128
  /**
231
129
  * @hidden
232
130
  */
@@ -236,6 +134,18 @@ export class TextAreaComponent extends TextFieldsBase {
236
134
  get tabIndex() {
237
135
  return this.tabindex;
238
136
  }
137
+ /**
138
+ * Configures the resize behavior of the TextArea.
139
+ *
140
+ * The possible values are:
141
+ * * `vertical`(Default)&mdash;The TextArea component can be resized only vertically.
142
+ * * `horizontal`&mdash;The TextArea component can be resized only horizontally.
143
+ * * `both`&mdash;The TextArea component can be resized in both (horizontal and vertical) directions.
144
+ * * `auto`&mdash;Specifies whether the TextArea component will adjust its height automatically, based on the content.
145
+ * * `none`&mdash;The TextArea cannot be resized.
146
+ *
147
+ */
148
+ resizable = 'vertical';
239
149
  /**
240
150
  * The size property specifies the padding of the internal textarea element
241
151
  * ([see example]({% slug appearance_textarea %}#toc-size)).
@@ -290,6 +200,76 @@ export class TextAreaComponent extends TextFieldsBase {
290
200
  get fillMode() {
291
201
  return this._fillMode;
292
202
  }
203
+ /**
204
+ * Specifies whether the prefix separator of the TextArea is rendered.
205
+ * If a prefix template is not declared, the separator will not be rendered, regardless of the parameter value.
206
+ *
207
+ * @default false
208
+ */
209
+ showPrefixSeparator = false;
210
+ /**
211
+ * Specifies whether the suffix separator of the TextArea is rendered.
212
+ * If a suffix template is not declared, the separator will not be rendered, regardless of the parameter value.
213
+ *
214
+ * @default false
215
+ */
216
+ showSuffixSeparator = false;
217
+ /**
218
+ * Fires each time the user focuses the TextArea component.
219
+ *
220
+ * > To wire the event programmatically, use the `onFocus` property.
221
+ *
222
+ * @example
223
+ * ```ts
224
+ * _@Component({
225
+ * selector: 'my-app',
226
+ * template: `
227
+ * <kendo-textarea (focus)="handleFocus()"></kendo-textarea>
228
+ * `
229
+ * })
230
+ * class AppComponent {
231
+ * public handleFocus(): void {
232
+ * console.log('Component is focused.');
233
+ * }
234
+ * }
235
+ * ```
236
+ */
237
+ onFocus = new EventEmitter();
238
+ /**
239
+ * Fires each time the TextArea component gets blurred.
240
+ *
241
+ * > To wire the event programmatically, use the `onBlur` property.
242
+ *
243
+ * @example
244
+ * ```ts
245
+ * _@Component({
246
+ * selector: 'my-app',
247
+ * template: `
248
+ * <kendo-textarea (blur)="handleBlur()"></kendo-textarea>
249
+ * `
250
+ * })
251
+ * class AppComponent {
252
+ * public handleBlur(): void {
253
+ * console.log('Component is blurred');
254
+ * }
255
+ * }
256
+ * ```
257
+ */
258
+ onBlur = new EventEmitter();
259
+ /**
260
+ * Fires each time the value is changed or the component is blurred
261
+ * ([see example](slug:events_textarea)).
262
+ * When the component value is changed programmatically or via its form control binding, the valueChange event is not emitted.
263
+ */
264
+ valueChange = new EventEmitter();
265
+ initialHeight;
266
+ resizeSubscription;
267
+ _size = 'medium';
268
+ _rounded = 'medium';
269
+ _fillMode = 'solid';
270
+ _adornmentsOrientation = 'horizontal';
271
+ _inputAttributes;
272
+ parsedAttributes = {};
293
273
  get defaultAttributes() {
294
274
  return {
295
275
  id: this.focusableId,
@@ -312,6 +292,17 @@ export class TextAreaComponent extends TextFieldsBase {
312
292
  'aria-multiline': 'true'
313
293
  };
314
294
  }
295
+ constructor(localizationService, ngZone, changeDetector, renderer, injector, hostElement) {
296
+ super(localizationService, ngZone, changeDetector, renderer, injector, hostElement);
297
+ this.localizationService = localizationService;
298
+ this.ngZone = ngZone;
299
+ this.changeDetector = changeDetector;
300
+ this.renderer = renderer;
301
+ this.injector = injector;
302
+ this.hostElement = hostElement;
303
+ validatePackage(packageMetadata);
304
+ this.direction = localizationService.rtl ? 'rtl' : 'ltr';
305
+ }
315
306
  ngAfterViewInit() {
316
307
  this.ngZone.runOutsideAngular(() => {
317
308
  this.handleFlow();
@@ -346,7 +337,7 @@ export class TextAreaComponent extends TextFieldsBase {
346
337
  this.renderer.removeClass(element, '\!k-overflow-y-auto');
347
338
  this.initialHeight = element.offsetHeight;
348
339
  }
349
- else {
340
+ else if (this.resizable !== 'both') {
350
341
  this.renderer.addClass(element, '\!k-overflow-y-auto');
351
342
  element.style.height = `${this.initialHeight}px`;
352
343
  }
@@ -363,6 +354,14 @@ export class TextAreaComponent extends TextFieldsBase {
363
354
  this.resize();
364
355
  }
365
356
  }
357
+ /**
358
+ * @hidden
359
+ */
360
+ prefix;
361
+ /**
362
+ * @hidden
363
+ */
364
+ suffix;
366
365
  /**
367
366
  * @hidden
368
367
  */
@@ -444,6 +443,36 @@ export class TextAreaComponent extends TextFieldsBase {
444
443
  this._isFocused = value;
445
444
  }
446
445
  }
446
+ /**
447
+ * @hidden
448
+ */
449
+ handleInput = (ev) => {
450
+ const incomingValue = ev.target.value;
451
+ this.updateValue(incomingValue);
452
+ this.resize();
453
+ };
454
+ /**
455
+ * @hidden
456
+ */
457
+ handleInputFocus = () => {
458
+ if (!this.disabled) {
459
+ if (this.selectOnFocus && this.value) {
460
+ this.ngZone.run(() => {
461
+ setTimeout(() => { this.selectAll(); });
462
+ });
463
+ }
464
+ if (!this.isFocused) {
465
+ this.handleFocus();
466
+ }
467
+ if (hasObservers(this.inputFocus)) {
468
+ if (!this.focusChangedProgrammatically) {
469
+ this.ngZone.run(() => {
470
+ this.inputFocus.emit();
471
+ });
472
+ }
473
+ }
474
+ }
475
+ };
447
476
  /**
448
477
  * Focuses the TextArea component.
449
478
  *
@@ -551,18 +580,17 @@ export class TextAreaComponent extends TextFieldsBase {
551
580
  const attributesToRender = Object.assign({}, this.mutableAttributes, this.parsedAttributes);
552
581
  setHTMLAttributes(attributesToRender, this.renderer, this.input.nativeElement, this.ngZone);
553
582
  }
554
- }
555
- TextAreaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
556
- TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaComponent, isStandalone: true, selector: "kendo-textarea", inputs: { focusableId: "focusableId", flow: "flow", inputAttributes: "inputAttributes", adornmentsOrientation: "adornmentsOrientation", rows: "rows", cols: "cols", maxlength: "maxlength", tabindex: "tabindex", tabIndex: "tabIndex", resizable: "resizable", size: "size", rounded: "rounded", fillMode: "fillMode", showPrefixSeparator: "showPrefixSeparator", showSuffixSeparator: "showSuffixSeparator" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.hostClasses", "class.k-input": "this.hostClasses", "class.!k-flex-col": "this.flowCol", "class.!k-flex-row": "this.flowRow" } }, providers: [
557
- LocalizationService,
558
- { provide: L10N_PREFIX, useValue: 'kendo.textarea' },
559
- {
560
- provide: NG_VALUE_ACCESSOR,
561
- useExisting: forwardRef(() => TextAreaComponent),
562
- multi: true
563
- },
564
- { provide: KendoInput, useExisting: forwardRef(() => TextAreaComponent) }
565
- ], queries: [{ propertyName: "prefix", first: true, predicate: TextAreaPrefixComponent, descendants: true }, { propertyName: "suffix", first: true, predicate: TextAreaSuffixComponent, descendants: true }], exportAs: ["kendoTextArea"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
583
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextAreaComponent, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
584
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TextAreaComponent, isStandalone: true, selector: "kendo-textarea", inputs: { focusableId: "focusableId", flow: "flow", inputAttributes: "inputAttributes", adornmentsOrientation: "adornmentsOrientation", rows: "rows", cols: "cols", maxlength: "maxlength", tabindex: "tabindex", tabIndex: "tabIndex", resizable: "resizable", size: "size", rounded: "rounded", fillMode: "fillMode", showPrefixSeparator: "showPrefixSeparator", showSuffixSeparator: "showSuffixSeparator" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "class.k-textarea": "this.hostClasses", "class.k-input": "this.hostClasses", "class.!k-flex-col": "this.flowCol", "class.!k-flex-row": "this.flowRow" } }, providers: [
585
+ LocalizationService,
586
+ { provide: L10N_PREFIX, useValue: 'kendo.textarea' },
587
+ {
588
+ provide: NG_VALUE_ACCESSOR,
589
+ useExisting: forwardRef(() => TextAreaComponent),
590
+ multi: true
591
+ },
592
+ { provide: KendoInput, useExisting: forwardRef(() => TextAreaComponent) }
593
+ ], queries: [{ propertyName: "prefix", first: true, predicate: TextAreaPrefixComponent, descendants: true }, { propertyName: "suffix", first: true, predicate: TextAreaSuffixComponent, descendants: true }], exportAs: ["kendoTextArea"], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `
566
594
  <ng-container
567
595
  kendoInputSharedEvents
568
596
  [hostElement]="hostElement"
@@ -606,7 +634,8 @@ TextAreaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
606
634
  <ng-content select="kendo-textarea-suffix"></ng-content>
607
635
  </ng-container>
608
636
  `, isInline: true, dependencies: [{ kind: "directive", type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: ["hostElement", "clearButtonClicked", "isFocused"], outputs: ["isFocusedChange", "onFocus", "handleBlur"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: ["orientation"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: EventsOutsideAngularDirective, selector: "[kendoEventsOutsideAngular]", inputs: ["kendoEventsOutsideAngular", "scope"] }] });
609
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaComponent, decorators: [{
637
+ }
638
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextAreaComponent, decorators: [{
610
639
  type: Component,
611
640
  args: [{
612
641
  exportAs: 'kendoTextArea',
@@ -4,7 +4,7 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from "@angular/core";
6
6
  import { KENDO_TEXTAREA } from "./directives";
7
- import { AdornmentsModule } from "@progress/kendo-angular-common";
7
+ import { KENDO_ADORNMENTS } from "@progress/kendo-angular-common";
8
8
  import * as i0 from "@angular/core";
9
9
  import * as i1 from "./textarea/textarea.component";
10
10
  import * as i2 from "./shared/textarea.directive";
@@ -44,14 +44,14 @@ import * as i5 from "@progress/kendo-angular-common";
44
44
  * ```
45
45
  */
46
46
  export class TextAreaModule {
47
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
48
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TextAreaModule, imports: [i1.TextAreaComponent, i2.TextAreaDirective, i3.TextAreaPrefixComponent, i4.TextAreaSuffixComponent, i5.SeparatorComponent, i5.PrefixTemplateDirective, i5.SuffixTemplateDirective, i5.SeparatorComponent], exports: [i1.TextAreaComponent, i2.TextAreaDirective, i3.TextAreaPrefixComponent, i4.TextAreaSuffixComponent, i5.SeparatorComponent, i5.PrefixTemplateDirective, i5.SuffixTemplateDirective, i5.SeparatorComponent] });
49
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextAreaModule, imports: [i5.SeparatorComponent, i5.SeparatorComponent] });
47
50
  }
48
- TextAreaModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
49
- TextAreaModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: TextAreaModule, imports: [i1.TextAreaComponent, i2.TextAreaDirective, i3.TextAreaPrefixComponent, i4.TextAreaSuffixComponent, i5.SeparatorComponent], exports: [i1.TextAreaComponent, i2.TextAreaDirective, i3.TextAreaPrefixComponent, i4.TextAreaSuffixComponent, i5.SeparatorComponent, AdornmentsModule] });
50
- TextAreaModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaModule, imports: [i1.TextAreaComponent, i3.TextAreaPrefixComponent, i4.TextAreaSuffixComponent, i5.SeparatorComponent, AdornmentsModule] });
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaModule, decorators: [{
51
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextAreaModule, decorators: [{
52
52
  type: NgModule,
53
53
  args: [{
54
- imports: [...KENDO_TEXTAREA],
55
- exports: [...KENDO_TEXTAREA, AdornmentsModule]
54
+ imports: [...KENDO_TEXTAREA, ...KENDO_ADORNMENTS],
55
+ exports: [...KENDO_TEXTAREA, ...KENDO_ADORNMENTS]
56
56
  }]
57
57
  }] });
@@ -11,6 +11,7 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * Custom component messages override default component messages.
12
12
  */
13
13
  export class TextBoxCustomMessagesComponent extends TextBoxMessages {
14
+ service;
14
15
  constructor(service) {
15
16
  super();
16
17
  this.service = service;
@@ -18,15 +19,15 @@ export class TextBoxCustomMessagesComponent extends TextBoxMessages {
18
19
  get override() {
19
20
  return true;
20
21
  }
22
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextBoxCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TextBoxCustomMessagesComponent, isStandalone: true, selector: "kendo-textbox-messages", providers: [
24
+ {
25
+ provide: TextBoxMessages,
26
+ useExisting: forwardRef(() => TextBoxCustomMessagesComponent)
27
+ }
28
+ ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
21
29
  }
22
- TextBoxCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
- TextBoxCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxCustomMessagesComponent, isStandalone: true, selector: "kendo-textbox-messages", providers: [
24
- {
25
- provide: TextBoxMessages,
26
- useExisting: forwardRef(() => TextBoxCustomMessagesComponent)
27
- }
28
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxCustomMessagesComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextBoxCustomMessagesComponent, decorators: [{
30
31
  type: Component,
31
32
  args: [{
32
33
  providers: [
@@ -11,19 +11,20 @@ import * as i1 from "@progress/kendo-angular-l10n";
11
11
  * @hidden
12
12
  */
13
13
  export class LocalizedTextBoxMessagesDirective extends TextBoxMessages {
14
+ service;
14
15
  constructor(service) {
15
16
  super();
16
17
  this.service = service;
17
18
  }
19
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedTextBoxMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedTextBoxMessagesDirective, isStandalone: true, selector: "[kendoTextBoxLocalizedMessages]", providers: [
21
+ {
22
+ provide: TextBoxMessages,
23
+ useExisting: forwardRef(() => LocalizedTextBoxMessagesDirective)
24
+ }
25
+ ], usesInheritance: true, ngImport: i0 });
18
26
  }
19
- LocalizedTextBoxMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedTextBoxMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedTextBoxMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedTextBoxMessagesDirective, isStandalone: true, selector: "[kendoTextBoxLocalizedMessages]", providers: [
21
- {
22
- provide: TextBoxMessages,
23
- useExisting: forwardRef(() => LocalizedTextBoxMessagesDirective)
24
- }
25
- ], usesInheritance: true, ngImport: i0 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedTextBoxMessagesDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedTextBoxMessagesDirective, decorators: [{
27
28
  type: Directive,
28
29
  args: [{
29
30
  providers: [
@@ -9,10 +9,14 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class TextBoxMessages extends ComponentMessages {
12
+ /**
13
+ * The title of the **Clear** button of the TextBox.
14
+ */
15
+ clear;
16
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextBoxMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
17
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TextBoxMessages, selector: "kendo-textbox-messages-base", inputs: { clear: "clear" }, usesInheritance: true, ngImport: i0 });
12
18
  }
13
- TextBoxMessages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxMessages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
14
- TextBoxMessages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxMessages, selector: "kendo-textbox-messages-base", inputs: { clear: "clear" }, usesInheritance: true, ngImport: i0 });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxMessages, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextBoxMessages, decorators: [{
16
20
  type: Directive,
17
21
  args: [{
18
22
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -22,10 +22,7 @@ import * as i0 from "@angular/core";
22
22
  * ```
23
23
  */
24
24
  export class TextBoxPrefixTemplateDirective {
25
- constructor(templateRef) {
26
- this.templateRef = templateRef;
27
- this._showSeparator = false;
28
- }
25
+ templateRef;
29
26
  /**
30
27
  * Sets the `showSeparator` attribute of the `kendoTextBoxPrefixTemplate`.
31
28
  *
@@ -37,10 +34,14 @@ export class TextBoxPrefixTemplateDirective {
37
34
  get showSeparator() {
38
35
  return this._showSeparator;
39
36
  }
37
+ _showSeparator = false;
38
+ constructor(templateRef) {
39
+ this.templateRef = templateRef;
40
+ }
41
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextBoxPrefixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
42
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TextBoxPrefixTemplateDirective, isStandalone: true, selector: "[kendoTextBoxPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
40
43
  }
41
- TextBoxPrefixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxPrefixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
42
- TextBoxPrefixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxPrefixTemplateDirective, isStandalone: true, selector: "[kendoTextBoxPrefixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxPrefixTemplateDirective, decorators: [{
44
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextBoxPrefixTemplateDirective, decorators: [{
44
45
  type: Directive,
45
46
  args: [{
46
47
  selector: '[kendoTextBoxPrefixTemplate]',
@@ -21,10 +21,7 @@ import * as i0 from "@angular/core";
21
21
  * ```
22
22
  */
23
23
  export class TextBoxSuffixTemplateDirective {
24
- constructor(templateRef) {
25
- this.templateRef = templateRef;
26
- this._showSeparator = false;
27
- }
24
+ templateRef;
28
25
  /**
29
26
  * Sets the `showSeparator` attribute of the `kendoTextBoxSuffixTemplate`.
30
27
  *
@@ -36,10 +33,14 @@ export class TextBoxSuffixTemplateDirective {
36
33
  get showSeparator() {
37
34
  return this._showSeparator;
38
35
  }
36
+ _showSeparator = false;
37
+ constructor(templateRef) {
38
+ this.templateRef = templateRef;
39
+ }
40
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextBoxSuffixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
41
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TextBoxSuffixTemplateDirective, isStandalone: true, selector: "[kendoTextBoxSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
39
42
  }
40
- TextBoxSuffixTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxSuffixTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
41
- TextBoxSuffixTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: TextBoxSuffixTemplateDirective, isStandalone: true, selector: "[kendoTextBoxSuffixTemplate]", inputs: { showSeparator: "showSeparator" }, ngImport: i0 });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextBoxSuffixTemplateDirective, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextBoxSuffixTemplateDirective, decorators: [{
43
44
  type: Directive,
44
45
  args: [{
45
46
  selector: '[kendoTextBoxSuffixTemplate]',