@progress/kendo-angular-inputs 14.4.0-develop.2 → 14.4.0-develop.20

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 (296) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +147 -594
  3. package/README.md +1 -1
  4. package/checkbox/checkbox.directive.d.ts +1 -1
  5. package/checkbox.module.d.ts +1 -1
  6. package/colorpicker/color-contrast-svg.component.d.ts +1 -1
  7. package/colorpicker/color-gradient-numeric-label.directive.d.ts +1 -1
  8. package/colorpicker/color-gradient.component.d.ts +2 -2
  9. package/colorpicker/color-input.component.d.ts +1 -1
  10. package/colorpicker/color-palette.component.d.ts +2 -2
  11. package/colorpicker/colorpicker.component.d.ts +2 -2
  12. package/colorpicker/constants.d.ts +1 -1
  13. package/colorpicker/contrast-validation.component.d.ts +1 -1
  14. package/colorpicker/contrast.component.d.ts +1 -1
  15. package/colorpicker/events/active-color-click-event.d.ts +1 -1
  16. package/colorpicker/events/cancel-event.d.ts +1 -1
  17. package/colorpicker/events/close-event.d.ts +1 -1
  18. package/colorpicker/events/kendo-drag-event.d.ts +1 -1
  19. package/colorpicker/events/open-event.d.ts +1 -1
  20. package/colorpicker/events.d.ts +1 -1
  21. package/colorpicker/flatcolorpicker-actions.component.d.ts +1 -1
  22. package/colorpicker/flatcolorpicker-header.component.d.ts +1 -1
  23. package/colorpicker/flatcolorpicker.component.d.ts +2 -2
  24. package/colorpicker/focus-on-dom-ready.directive.d.ts +1 -1
  25. package/colorpicker/localization/colorgradient-localization.service.d.ts +1 -1
  26. package/colorpicker/localization/colorpalette-localization.service.d.ts +1 -1
  27. package/colorpicker/localization/colorpicker-localization.service.d.ts +1 -1
  28. package/colorpicker/localization/custom-messages.component.d.ts +1 -1
  29. package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +1 -1
  30. package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +1 -1
  31. package/colorpicker/localization/messages.d.ts +1 -1
  32. package/colorpicker/models/actions-layout.d.ts +1 -1
  33. package/colorpicker/models/colorpicker-view.d.ts +1 -1
  34. package/colorpicker/models/gradient-settings.d.ts +1 -1
  35. package/colorpicker/models/hsva.d.ts +1 -1
  36. package/colorpicker/models/output-format.d.ts +1 -1
  37. package/colorpicker/models/palette-presets.d.ts +1 -1
  38. package/colorpicker/models/palette-settings.d.ts +1 -1
  39. package/colorpicker/models/popup-settings.d.ts +1 -1
  40. package/colorpicker/models/rgb.d.ts +1 -1
  41. package/colorpicker/models/rgba.d.ts +1 -1
  42. package/colorpicker/models/table-cell.d.ts +1 -1
  43. package/colorpicker/models/tile-size.d.ts +1 -1
  44. package/colorpicker/models.d.ts +1 -1
  45. package/colorpicker/services/color-palette.service.d.ts +1 -1
  46. package/colorpicker/services/flatcolorpicker.service.d.ts +1 -1
  47. package/colorpicker/utils/color-parser.d.ts +1 -1
  48. package/colorpicker/utils/contrast-curve.d.ts +1 -1
  49. package/colorpicker/utils.d.ts +1 -1
  50. package/colorpicker.module.d.ts +1 -1
  51. package/common/dom-utils.d.ts +1 -1
  52. package/common/math.d.ts +1 -1
  53. package/common/models/fillmode.d.ts +1 -1
  54. package/common/models/rounded.d.ts +1 -1
  55. package/common/models/size.d.ts +1 -1
  56. package/common/models/styling-classes.d.ts +1 -1
  57. package/common/models/type.d.ts +1 -1
  58. package/common/models.d.ts +1 -1
  59. package/common/utils.d.ts +1 -1
  60. package/esm2020/checkbox/checkbox.directive.mjs +1 -1
  61. package/esm2020/checkbox.module.mjs +1 -1
  62. package/esm2020/colorpicker/color-contrast-svg.component.mjs +1 -1
  63. package/esm2020/colorpicker/color-gradient-numeric-label.directive.mjs +1 -1
  64. package/esm2020/colorpicker/color-gradient.component.mjs +2 -2
  65. package/esm2020/colorpicker/color-input.component.mjs +2 -2
  66. package/esm2020/colorpicker/color-palette.component.mjs +2 -2
  67. package/esm2020/colorpicker/colorpicker.component.mjs +2 -2
  68. package/esm2020/colorpicker/constants.mjs +1 -1
  69. package/esm2020/colorpicker/contrast-validation.component.mjs +1 -1
  70. package/esm2020/colorpicker/contrast.component.mjs +1 -1
  71. package/esm2020/colorpicker/events/active-color-click-event.mjs +1 -1
  72. package/esm2020/colorpicker/events/cancel-event.mjs +1 -1
  73. package/esm2020/colorpicker/events/close-event.mjs +1 -1
  74. package/esm2020/colorpicker/events/kendo-drag-event.mjs +1 -1
  75. package/esm2020/colorpicker/events/open-event.mjs +1 -1
  76. package/esm2020/colorpicker/events.mjs +1 -1
  77. package/esm2020/colorpicker/flatcolorpicker-actions.component.mjs +1 -1
  78. package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +1 -1
  79. package/esm2020/colorpicker/flatcolorpicker.component.mjs +2 -2
  80. package/esm2020/colorpicker/focus-on-dom-ready.directive.mjs +1 -1
  81. package/esm2020/colorpicker/localization/colorgradient-localization.service.mjs +1 -1
  82. package/esm2020/colorpicker/localization/colorpalette-localization.service.mjs +1 -1
  83. package/esm2020/colorpicker/localization/colorpicker-localization.service.mjs +1 -1
  84. package/esm2020/colorpicker/localization/custom-messages.component.mjs +1 -1
  85. package/esm2020/colorpicker/localization/flatcolorpicker-localization.service.mjs +1 -1
  86. package/esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs +1 -1
  87. package/esm2020/colorpicker/localization/messages.mjs +1 -1
  88. package/esm2020/colorpicker/models/actions-layout.mjs +1 -1
  89. package/esm2020/colorpicker/models/colorpicker-view.mjs +1 -1
  90. package/esm2020/colorpicker/models/gradient-settings.mjs +1 -1
  91. package/esm2020/colorpicker/models/hsva.mjs +1 -1
  92. package/esm2020/colorpicker/models/output-format.mjs +1 -1
  93. package/esm2020/colorpicker/models/palette-presets.mjs +1 -1
  94. package/esm2020/colorpicker/models/palette-settings.mjs +1 -1
  95. package/esm2020/colorpicker/models/popup-settings.mjs +1 -1
  96. package/esm2020/colorpicker/models/rgb.mjs +1 -1
  97. package/esm2020/colorpicker/models/rgba.mjs +1 -1
  98. package/esm2020/colorpicker/models/table-cell.mjs +1 -1
  99. package/esm2020/colorpicker/models/tile-size.mjs +1 -1
  100. package/esm2020/colorpicker/models.mjs +1 -1
  101. package/esm2020/colorpicker/services/color-palette.service.mjs +1 -1
  102. package/esm2020/colorpicker/services/flatcolorpicker.service.mjs +1 -1
  103. package/esm2020/colorpicker/utils/color-parser.mjs +1 -1
  104. package/esm2020/colorpicker/utils/contrast-curve.mjs +1 -1
  105. package/esm2020/colorpicker/utils.mjs +1 -1
  106. package/esm2020/colorpicker.module.mjs +1 -1
  107. package/esm2020/common/dom-utils.mjs +1 -1
  108. package/esm2020/common/math.mjs +1 -1
  109. package/esm2020/common/models/fillmode.mjs +1 -1
  110. package/esm2020/common/models/rounded.mjs +1 -1
  111. package/esm2020/common/models/size.mjs +1 -1
  112. package/esm2020/common/models/styling-classes.mjs +1 -1
  113. package/esm2020/common/models/type.mjs +1 -1
  114. package/esm2020/common/models.mjs +1 -1
  115. package/esm2020/common/utils.mjs +1 -1
  116. package/esm2020/formfield/error.component.mjs +1 -1
  117. package/esm2020/formfield/formfield.component.mjs +1 -1
  118. package/esm2020/formfield/hint.component.mjs +1 -1
  119. package/esm2020/formfield/models/message-align.mjs +1 -1
  120. package/esm2020/formfield/models/orientation.mjs +1 -1
  121. package/esm2020/formfield/models/show-options.mjs +1 -1
  122. package/esm2020/formfield.module.mjs +1 -1
  123. package/esm2020/index.mjs +5 -1
  124. package/esm2020/inputs.module.mjs +1 -1
  125. package/esm2020/maskedtextbox/maskedtextbox.component.mjs +146 -58
  126. package/esm2020/maskedtextbox/masking.service.mjs +1 -1
  127. package/esm2020/maskedtextbox/parsing/combinators.mjs +1 -1
  128. package/esm2020/maskedtextbox/parsing/parsers.mjs +1 -1
  129. package/esm2020/maskedtextbox/parsing/result.mjs +1 -1
  130. package/esm2020/maskedtextbox/parsing/stream.mjs +1 -1
  131. package/esm2020/maskedtextbox.module.mjs +31 -7
  132. package/esm2020/numerictextbox/arrow-direction.mjs +1 -1
  133. package/esm2020/numerictextbox/constants.mjs +1 -1
  134. package/esm2020/numerictextbox/localization/custom-messages.component.mjs +1 -1
  135. package/esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +1 -1
  136. package/esm2020/numerictextbox/localization/messages.mjs +1 -1
  137. package/esm2020/numerictextbox/numerictextbox.component.mjs +188 -93
  138. package/esm2020/numerictextbox/utils.mjs +1 -1
  139. package/esm2020/numerictextbox.module.mjs +11 -7
  140. package/esm2020/package-metadata.mjs +3 -3
  141. package/esm2020/progress-kendo-angular-inputs.mjs +1 -1
  142. package/esm2020/radiobutton/radiobutton.directive.mjs +1 -1
  143. package/esm2020/radiobutton.module.mjs +1 -1
  144. package/esm2020/rangeslider/localization/custom-messages.component.mjs +1 -1
  145. package/esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs +1 -1
  146. package/esm2020/rangeslider/localization/messages.mjs +1 -1
  147. package/esm2020/rangeslider/rangeslider-model.mjs +1 -1
  148. package/esm2020/rangeslider/rangeslider-value.type.mjs +1 -1
  149. package/esm2020/rangeslider/rangeslider.component.mjs +1 -1
  150. package/esm2020/rangeslider.module.mjs +1 -1
  151. package/esm2020/shared/input-separator.component.mjs +22 -4
  152. package/esm2020/shared/shared-events.directive.mjs +95 -0
  153. package/esm2020/shared/textarea.directive.mjs +1 -1
  154. package/esm2020/shared/utils.mjs +1 -1
  155. package/esm2020/shared-events.module.mjs +22 -0
  156. package/esm2020/shared.module.mjs +1 -1
  157. package/esm2020/signature/events/close-event.mjs +1 -1
  158. package/esm2020/signature/events/index.mjs +1 -1
  159. package/esm2020/signature/events/open-event.mjs +1 -1
  160. package/esm2020/signature/localization/custom-messages.component.mjs +1 -1
  161. package/esm2020/signature/localization/index.mjs +1 -1
  162. package/esm2020/signature/localization/localized-signature-messages.directive.mjs +1 -1
  163. package/esm2020/signature/localization/messages.mjs +1 -1
  164. package/esm2020/signature/signature.component.mjs +2 -2
  165. package/esm2020/signature.module.mjs +1 -1
  166. package/esm2020/slider/localization/custom-messages.component.mjs +1 -1
  167. package/esm2020/slider/localization/localized-slider-messages.directive.mjs +1 -1
  168. package/esm2020/slider/localization/messages.mjs +1 -1
  169. package/esm2020/slider/slider-model.mjs +1 -1
  170. package/esm2020/slider/slider.component.mjs +1 -1
  171. package/esm2020/slider.module.mjs +1 -1
  172. package/esm2020/sliders-common/label-template.directive.mjs +1 -1
  173. package/esm2020/sliders-common/slider-base.mjs +2 -2
  174. package/esm2020/sliders-common/slider-model.base.mjs +1 -1
  175. package/esm2020/sliders-common/slider-ticks.component.mjs +1 -1
  176. package/esm2020/sliders-common/sliders-common.module.mjs +1 -1
  177. package/esm2020/sliders-common/sliders-util.mjs +1 -1
  178. package/esm2020/sliders-common/title-callback.mjs +1 -1
  179. package/esm2020/switch/events/blur-event.mjs +1 -1
  180. package/esm2020/switch/events/focus-event.mjs +1 -1
  181. package/esm2020/switch/localization/custom-messages.component.mjs +1 -1
  182. package/esm2020/switch/localization/localized-switch-messages.directive.mjs +1 -1
  183. package/esm2020/switch/localization/messages.mjs +1 -1
  184. package/esm2020/switch/switch.component.mjs +2 -2
  185. package/esm2020/switch.module.mjs +1 -1
  186. package/esm2020/text-fields-common/text-fields-base.mjs +2 -2
  187. package/esm2020/textarea/models/adornments-orientation.mjs +5 -0
  188. package/esm2020/textarea/models/flow.mjs +1 -1
  189. package/esm2020/textarea/models/resize.mjs +1 -1
  190. package/esm2020/textarea/textarea-prefix.component.mjs +70 -0
  191. package/esm2020/textarea/textarea-suffix.component.mjs +34 -4
  192. package/esm2020/textarea/textarea.component.mjs +199 -132
  193. package/esm2020/textarea.module.mjs +15 -6
  194. package/esm2020/textbox/localization/custom-messages.component.mjs +1 -1
  195. package/esm2020/textbox/localization/localized-textbox-messages.directive.mjs +1 -1
  196. package/esm2020/textbox/localization/messages.mjs +1 -1
  197. package/esm2020/textbox/models/icon-show-options.mjs +1 -1
  198. package/esm2020/textbox/textbox-prefix.directive.mjs +18 -4
  199. package/esm2020/textbox/textbox-suffix.directive.mjs +18 -4
  200. package/esm2020/textbox/textbox.component.mjs +207 -205
  201. package/esm2020/textbox/textbox.directive.mjs +1 -1
  202. package/esm2020/textbox.module.mjs +10 -6
  203. package/esm2020/validators/max.validator.mjs +1 -1
  204. package/esm2020/validators/min.validator.mjs +1 -1
  205. package/fesm2015/progress-kendo-angular-inputs.mjs +1143 -621
  206. package/fesm2020/progress-kendo-angular-inputs.mjs +1143 -621
  207. package/formfield/error.component.d.ts +1 -1
  208. package/formfield/formfield.component.d.ts +1 -1
  209. package/formfield/hint.component.d.ts +1 -1
  210. package/formfield/models/message-align.d.ts +1 -1
  211. package/formfield/models/orientation.d.ts +1 -1
  212. package/formfield/models/show-options.d.ts +1 -1
  213. package/formfield.module.d.ts +1 -1
  214. package/index.d.ts +7 -1
  215. package/inputs.module.d.ts +1 -1
  216. package/maskedtextbox/maskedtextbox.component.d.ts +39 -8
  217. package/maskedtextbox/masking.service.d.ts +1 -1
  218. package/maskedtextbox/parsing/combinators.d.ts +1 -1
  219. package/maskedtextbox/parsing/parsers.d.ts +1 -1
  220. package/maskedtextbox/parsing/result.d.ts +1 -1
  221. package/maskedtextbox/parsing/stream.d.ts +1 -1
  222. package/maskedtextbox.module.d.ts +4 -2
  223. package/numerictextbox/arrow-direction.d.ts +1 -1
  224. package/numerictextbox/constants.d.ts +1 -1
  225. package/numerictextbox/localization/custom-messages.component.d.ts +1 -1
  226. package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +1 -1
  227. package/numerictextbox/localization/messages.d.ts +1 -1
  228. package/numerictextbox/numerictextbox.component.d.ts +40 -9
  229. package/numerictextbox/utils.d.ts +1 -1
  230. package/numerictextbox.module.d.ts +4 -2
  231. package/package-metadata.d.ts +1 -1
  232. package/package.json +11 -11
  233. package/progress-kendo-angular-inputs.d.ts +1 -1
  234. package/radiobutton/radiobutton.directive.d.ts +1 -1
  235. package/radiobutton.module.d.ts +1 -1
  236. package/rangeslider/localization/custom-messages.component.d.ts +1 -1
  237. package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +1 -1
  238. package/rangeslider/localization/messages.d.ts +1 -1
  239. package/rangeslider/rangeslider-model.d.ts +1 -1
  240. package/rangeslider/rangeslider-value.type.d.ts +1 -1
  241. package/rangeslider/rangeslider.component.d.ts +1 -1
  242. package/rangeslider.module.d.ts +1 -1
  243. package/shared/input-separator.component.d.ts +9 -2
  244. package/shared/shared-events.directive.d.ts +27 -0
  245. package/shared/textarea.directive.d.ts +1 -1
  246. package/shared/utils.d.ts +1 -1
  247. package/shared-events.module.d.ts +14 -0
  248. package/shared.module.d.ts +1 -1
  249. package/signature/events/close-event.d.ts +1 -1
  250. package/signature/events/index.d.ts +1 -1
  251. package/signature/events/open-event.d.ts +1 -1
  252. package/signature/localization/custom-messages.component.d.ts +1 -1
  253. package/signature/localization/index.d.ts +1 -1
  254. package/signature/localization/localized-signature-messages.directive.d.ts +1 -1
  255. package/signature/localization/messages.d.ts +1 -1
  256. package/signature/signature.component.d.ts +2 -2
  257. package/signature.module.d.ts +1 -1
  258. package/slider/localization/custom-messages.component.d.ts +1 -1
  259. package/slider/localization/localized-slider-messages.directive.d.ts +1 -1
  260. package/slider/localization/messages.d.ts +1 -1
  261. package/slider/slider-model.d.ts +1 -1
  262. package/slider/slider.component.d.ts +1 -1
  263. package/slider.module.d.ts +1 -1
  264. package/sliders-common/label-template.directive.d.ts +1 -1
  265. package/sliders-common/slider-base.d.ts +2 -2
  266. package/sliders-common/slider-model.base.d.ts +1 -1
  267. package/sliders-common/slider-ticks.component.d.ts +1 -1
  268. package/sliders-common/sliders-common.module.d.ts +1 -1
  269. package/sliders-common/sliders-util.d.ts +1 -1
  270. package/sliders-common/title-callback.d.ts +1 -1
  271. package/switch/events/blur-event.d.ts +1 -1
  272. package/switch/events/focus-event.d.ts +1 -1
  273. package/switch/localization/custom-messages.component.d.ts +1 -1
  274. package/switch/localization/localized-switch-messages.directive.d.ts +1 -1
  275. package/switch/localization/messages.d.ts +1 -1
  276. package/switch/switch.component.d.ts +2 -2
  277. package/switch.module.d.ts +1 -1
  278. package/text-fields-common/text-fields-base.d.ts +2 -2
  279. package/textarea/models/adornments-orientation.d.ts +12 -0
  280. package/textarea/models/flow.d.ts +1 -1
  281. package/textarea/models/resize.d.ts +1 -1
  282. package/textarea/textarea-prefix.component.d.ts +37 -0
  283. package/textarea/textarea-suffix.component.d.ts +13 -2
  284. package/textarea/textarea.component.d.ts +63 -7
  285. package/textarea.module.d.ts +10 -8
  286. package/textbox/localization/custom-messages.component.d.ts +1 -1
  287. package/textbox/localization/localized-textbox-messages.directive.d.ts +1 -1
  288. package/textbox/localization/messages.d.ts +1 -1
  289. package/textbox/models/icon-show-options.d.ts +1 -1
  290. package/textbox/textbox-prefix.directive.d.ts +10 -2
  291. package/textbox/textbox-suffix.directive.d.ts +10 -2
  292. package/textbox/textbox.component.d.ts +38 -11
  293. package/textbox/textbox.directive.d.ts +1 -1
  294. package/textbox.module.d.ts +5 -4
  295. package/validators/max.validator.d.ts +1 -1
  296. package/validators/min.validator.d.ts +1 -1
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, HostBinding } from '@angular/core';
5
+ import { Component, HostBinding, Input } from '@angular/core';
6
6
  import * as i0 from "@angular/core";
7
7
  /**
8
8
  * Specifies a separator in the content of components like the TextArea and the TextBox. ([see examples]({% slug adornments_textbox %}#toc-separator)).
@@ -24,18 +24,36 @@ import * as i0 from "@angular/core";
24
24
  */
25
25
  export class InputSeparatorComponent {
26
26
  constructor() {
27
+ /**
28
+ * Specifies the orientation of the separator.
29
+ */
30
+ this.orientation = 'vertical';
27
31
  this.hostClass = true;
28
32
  }
33
+ get vertical() {
34
+ return this.orientation === 'vertical';
35
+ }
36
+ get horizontal() {
37
+ return this.orientation === 'horizontal';
38
+ }
29
39
  }
30
40
  InputSeparatorComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: InputSeparatorComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
31
- InputSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", host: { properties: { "class.k-input-separator": "this.hostClass" } }, ngImport: i0, template: ``, isInline: true });
41
+ InputSeparatorComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: InputSeparatorComponent, selector: "kendo-input-separator, kendo-textbox-separator", inputs: { orientation: "orientation" }, host: { properties: { "class.k-input-separator-vertical": "this.vertical", "class.k-input-separator-horizontal": "this.horizontal", "class.k-input-separator": "this.hostClass" } }, ngImport: i0, template: ``, isInline: true });
32
42
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: InputSeparatorComponent, decorators: [{
33
43
  type: Component,
34
44
  args: [{
35
45
  selector: 'kendo-input-separator, kendo-textbox-separator',
36
46
  template: ``
37
47
  }]
38
- }], propDecorators: { hostClass: [{
48
+ }], propDecorators: { orientation: [{
49
+ type: Input
50
+ }], vertical: [{
51
+ type: HostBinding,
52
+ args: ['class.k-input-separator-vertical']
53
+ }], horizontal: [{
54
+ type: HostBinding,
55
+ args: ['class.k-input-separator-horizontal']
56
+ }], hostClass: [{
39
57
  type: HostBinding,
40
58
  args: ['class.k-input-separator']
41
59
  }] } });
@@ -0,0 +1,95 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ChangeDetectorRef, Directive, EventEmitter, Input, NgZone, Output, Renderer2 } from '@angular/core';
6
+ import { Subscription } from 'rxjs';
7
+ import { closest } from '../common/dom-utils';
8
+ import { Keys } from '@progress/kendo-angular-common';
9
+ import * as i0 from "@angular/core";
10
+ /**
11
+ * @hidden
12
+ */
13
+ export class SharedInputEventsDirective {
14
+ constructor(ngZone, renderer, cdr) {
15
+ this.ngZone = ngZone;
16
+ this.renderer = renderer;
17
+ this.cdr = cdr;
18
+ this.isFocusedChange = new EventEmitter();
19
+ this.onFocus = new EventEmitter();
20
+ this.handleBlur = new EventEmitter();
21
+ this.subscriptions = new Subscription();
22
+ }
23
+ ngAfterViewInit() {
24
+ const hostElement = this.hostElement.nativeElement;
25
+ let cursorInsideWrapper = false;
26
+ let tabbing = false;
27
+ this.ngZone.runOutsideAngular(() => {
28
+ // focusIn and focusOut are relative to the host element
29
+ this.subscriptions.add(this.renderer.listen(hostElement, 'focusin', () => {
30
+ this.cdr.detectChanges();
31
+ if (!this.isFocused) {
32
+ this.ngZone.run(() => {
33
+ this.onFocus.emit();
34
+ this.isFocused = true;
35
+ this.isFocusedChange.emit(this.isFocused);
36
+ });
37
+ }
38
+ }));
39
+ this.subscriptions.add(this.renderer.listen(hostElement, 'focusout', (args) => {
40
+ if (!this.isFocused) {
41
+ return;
42
+ }
43
+ if (tabbing) {
44
+ const closestTextbox = closest(args.relatedTarget, (element) => element === hostElement);
45
+ if (!closestTextbox) {
46
+ this.handleBlur.emit();
47
+ }
48
+ tabbing = false;
49
+ }
50
+ else {
51
+ if (!cursorInsideWrapper && !this?.clearButtonClicked) {
52
+ this.handleBlur.emit();
53
+ }
54
+ }
55
+ }));
56
+ this.subscriptions.add(this.renderer.listen(hostElement, 'mouseenter', () => {
57
+ cursorInsideWrapper = true;
58
+ }));
59
+ this.subscriptions.add(this.renderer.listen(hostElement, 'mouseleave', () => {
60
+ cursorInsideWrapper = false;
61
+ }));
62
+ this.subscriptions.add(this.renderer.listen(hostElement, 'keydown', (args) => {
63
+ if (args.keyCode === Keys.Tab) {
64
+ tabbing = true;
65
+ }
66
+ else {
67
+ tabbing = false;
68
+ }
69
+ }));
70
+ });
71
+ }
72
+ ngOnDestroy() {
73
+ this.subscriptions.unsubscribe();
74
+ }
75
+ }
76
+ SharedInputEventsDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedInputEventsDirective, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
77
+ SharedInputEventsDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: SharedInputEventsDirective, selector: "[kendoInputSharedEvents]", inputs: { hostElement: "hostElement", clearButtonClicked: "clearButtonClicked", isFocused: "isFocused" }, outputs: { isFocusedChange: "isFocusedChange", onFocus: "onFocus", handleBlur: "handleBlur" }, ngImport: i0 });
78
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedInputEventsDirective, decorators: [{
79
+ type: Directive,
80
+ args: [{
81
+ selector: '[kendoInputSharedEvents]'
82
+ }]
83
+ }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hostElement: [{
84
+ type: Input
85
+ }], clearButtonClicked: [{
86
+ type: Input
87
+ }], isFocused: [{
88
+ type: Input
89
+ }], isFocusedChange: [{
90
+ type: Output
91
+ }], onFocus: [{
92
+ type: Output
93
+ }], handleBlur: [{
94
+ type: Output
95
+ }] } });
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, ElementRef, EventEmitter, HostBinding, Renderer2, Optional, Inject, Input, NgZone, forwardRef, Output, ChangeDetectorRef, Injector } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -0,0 +1,22 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { NgModule } from '@angular/core';
6
+ import { SharedInputEventsDirective } from './shared/shared-events.directive';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * @hidden
10
+ */
11
+ export class SharedEventsModule {
12
+ }
13
+ SharedEventsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
14
+ SharedEventsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule, declarations: [SharedInputEventsDirective], exports: [SharedInputEventsDirective] });
15
+ SharedEventsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule });
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: SharedEventsModule, decorators: [{
17
+ type: NgModule,
18
+ args: [{
19
+ declarations: [SharedInputEventsDirective],
20
+ exports: [SharedInputEventsDirective],
21
+ }]
22
+ }] });
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from "@progress/kendo-angular-common";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export * from './close-event';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from "@progress/kendo-angular-common";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export { SignatureCustomMessagesComponent } from './custom-messages.component';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, forwardRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, Input } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /* eslint-disable @typescript-eslint/no-explicit-any */
@@ -57,7 +57,7 @@ export class SignatureComponent {
57
57
  */
58
58
  this.readonly = false;
59
59
  /**
60
- * Sets the disabled state of the Signature.
60
+ * Sets the disabled state of the Signature. To disable the component in reactive forms, visit the following [article](slug:formssupport_signature#toc-managing-the-signature-disabled-state-in-reactive-forms)
61
61
  *
62
62
  * @default false
63
63
  */
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { CommonModule } from '@angular/common';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, forwardRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, Input } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { trimValue, calculateHandlePosition } from '../sliders-common/sliders-util';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /* eslint-disable @typescript-eslint/no-explicit-any */
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, TemplateRef, Optional } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { increment, decrement, incrementLarge, decrementLarge, identity } from './sliders-util';
@@ -67,7 +67,7 @@ export class SliderBase {
67
67
  */
68
68
  this.largeStep = null;
69
69
  /**
70
- * Determines whether the Slider is disabled ([see example]({% slug disabledstate_slider %})).
70
+ * Determines whether the Slider is disabled ([see example]({% slug disabledstate_slider %})). To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_slider#toc-managing-the-slider-disabled-state-in-reactive-forms).
71
71
  */
72
72
  this.disabled = false;
73
73
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { calculateFixedTrackSize, calculateTicksCount } from '../sliders-common/sliders-util';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /* eslint-disable @angular-eslint/component-selector */
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { areSame, isPresent } from '../common/utils';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, forwardRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, forwardRef } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, Input } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { ElementRef, Renderer2, Component, EventEmitter, HostBinding, Input, Output, ViewChild, forwardRef, ChangeDetectorRef, NgZone, Injector } from '@angular/core';
@@ -30,7 +30,7 @@ export class SwitchComponent {
30
30
  this.changeDetector = changeDetector;
31
31
  this.ngZone = ngZone;
32
32
  /**
33
- * Determines whether the Switch is disabled ([see example]({% slug disabled_switch %})).
33
+ * Determines whether the Switch is disabled ([see example]({% slug disabled_switch %})). To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_switch#toc-managing-the-switch-disabled-state-in-reactive-forms).
34
34
  */
35
35
  this.disabled = false;
36
36
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Subscription } from 'rxjs';
@@ -25,7 +25,7 @@ export class TextFieldsBase {
25
25
  */
26
26
  this.title = '';
27
27
  /**
28
- * Sets the disabled state of the TextArea component.
28
+ * Sets the disabled state of the TextArea component. To learn how to disable the component in reactive forms, refer to the article on [Forms Support](slug:formssupport_textarea#toc-managing-the-textarea-disabled-state-in-reactive-forms).
29
29
  *
30
30
  * @default false
31
31
  */
@@ -0,0 +1,5 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export {};
@@ -0,0 +1,70 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { Component, HostBinding, Input } from '@angular/core';
6
+ import * as i0 from "@angular/core";
7
+ /**
8
+ * Specifies the adornments in the prefix container ([see example]({% slug textarea_adornments %})).
9
+ * ```ts-no-run
10
+ * _@Component({
11
+ * selector: 'my-app',
12
+ * template: `
13
+ * <kendo-textarea>
14
+ * <kendo-textarea-prefix>
15
+ * <button kendoButton look="clear" icon="image"></button>
16
+ * </kendo-textarea-prefix>
17
+ * </kendo-textarea>
18
+ * `
19
+ * })
20
+ * class AppComponent {}
21
+ * ```
22
+ */
23
+ export class TextAreaPrefixComponent {
24
+ constructor() {
25
+ /**
26
+ * @hidden
27
+ */
28
+ this.flow = 'vertical';
29
+ /**
30
+ * @hidden
31
+ */
32
+ this.orientation = 'horizontal';
33
+ this.hostClass = true;
34
+ }
35
+ get verticalOrientation() {
36
+ return this.orientation === 'vertical';
37
+ }
38
+ get horizontalOrientation() {
39
+ return this.orientation === 'horizontal';
40
+ }
41
+ get alignItems() {
42
+ return this.flow === this.orientation;
43
+ }
44
+ }
45
+ TextAreaPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TextAreaPrefixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
46
+ TextAreaPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: TextAreaPrefixComponent, selector: "kendo-textarea-prefix", inputs: { flow: "flow", orientation: "orientation" }, host: { properties: { "class.k-input-prefix": "this.hostClass", "class.k-input-prefix-vertical": "this.verticalOrientation", "class.k-input-prefix-horizontal": "this.horizontalOrientation", "class.!k-align-items-start": "this.alignItems" } }, exportAs: ["kendoTextAreaPrefix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: TextAreaPrefixComponent, decorators: [{
48
+ type: Component,
49
+ args: [{
50
+ exportAs: 'kendoTextAreaPrefix',
51
+ selector: 'kendo-textarea-prefix',
52
+ template: `<ng-content></ng-content>`
53
+ }]
54
+ }], propDecorators: { flow: [{
55
+ type: Input
56
+ }], orientation: [{
57
+ type: Input
58
+ }], hostClass: [{
59
+ type: HostBinding,
60
+ args: ['class.k-input-prefix']
61
+ }], verticalOrientation: [{
62
+ type: HostBinding,
63
+ args: ['class.k-input-prefix-vertical']
64
+ }], horizontalOrientation: [{
65
+ type: HostBinding,
66
+ args: ['class.k-input-prefix-horizontal']
67
+ }], alignItems: [{
68
+ type: HostBinding,
69
+ args: ['class.!k-align-items-start']
70
+ }] } });