@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
@@ -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 SwitchCustomMessagesComponent extends Messages {
14
+ service;
14
15
  constructor(service) {
15
16
  super();
16
17
  this.service = service;
@@ -18,15 +19,15 @@ export class SwitchCustomMessagesComponent extends Messages {
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: SwitchCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SwitchCustomMessagesComponent, isStandalone: true, selector: "kendo-switch-messages", providers: [
24
+ {
25
+ provide: Messages,
26
+ useExisting: forwardRef(() => SwitchCustomMessagesComponent)
27
+ }
28
+ ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
21
29
  }
22
- SwitchCustomMessagesComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchCustomMessagesComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
23
- SwitchCustomMessagesComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SwitchCustomMessagesComponent, isStandalone: true, selector: "kendo-switch-messages", providers: [
24
- {
25
- provide: Messages,
26
- useExisting: forwardRef(() => SwitchCustomMessagesComponent)
27
- }
28
- ], usesInheritance: true, ngImport: i0, template: ``, isInline: true });
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchCustomMessagesComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchCustomMessagesComponent, 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 LocalizedSwitchMessagesDirective extends Messages {
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: LocalizedSwitchMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: LocalizedSwitchMessagesDirective, isStandalone: true, selector: "[kendoSwitchLocalizedMessages]", providers: [
21
+ {
22
+ provide: Messages,
23
+ useExisting: forwardRef(() => LocalizedSwitchMessagesDirective)
24
+ }
25
+ ], usesInheritance: true, ngImport: i0 });
18
26
  }
19
- LocalizedSwitchMessagesDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedSwitchMessagesDirective, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
20
- LocalizedSwitchMessagesDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LocalizedSwitchMessagesDirective, isStandalone: true, selector: "[kendoSwitchLocalizedMessages]", providers: [
21
- {
22
- provide: Messages,
23
- useExisting: forwardRef(() => LocalizedSwitchMessagesDirective)
24
- }
25
- ], usesInheritance: true, ngImport: i0 });
26
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LocalizedSwitchMessagesDirective, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: LocalizedSwitchMessagesDirective, decorators: [{
27
28
  type: Directive,
28
29
  args: [{
29
30
  providers: [
@@ -9,10 +9,18 @@ import * as i0 from "@angular/core";
9
9
  * @hidden
10
10
  */
11
11
  export class Messages extends ComponentMessages {
12
+ /**
13
+ * The title of the **On** button of the Switch.
14
+ */
15
+ on;
16
+ /**
17
+ * The title of the **Off** button of the Switch.
18
+ */
19
+ off;
20
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
21
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: Messages, selector: "kendo-switch-messages-base", inputs: { on: "on", off: "off" }, usesInheritance: true, ngImport: i0 });
12
22
  }
13
- Messages.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, deps: null, target: i0.ɵɵFactoryTarget.Directive });
14
- Messages.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: Messages, selector: "kendo-switch-messages-base", inputs: { on: "on", off: "off" }, usesInheritance: true, ngImport: i0 });
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: Messages, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: Messages, decorators: [{
16
24
  type: Directive,
17
25
  args: [{
18
26
  // eslint-disable-next-line @angular-eslint/directive-selector
@@ -22,92 +22,12 @@ const DEFAULT_TRACK_ROUNDED = 'full';
22
22
  * Represents the [Kendo UI Switch component for Angular]({% slug overview_switch %}).
23
23
  */
24
24
  export class SwitchComponent {
25
- constructor(renderer, hostElement, localizationService, injector, changeDetector, ngZone) {
26
- this.renderer = renderer;
27
- this.hostElement = hostElement;
28
- this.localizationService = localizationService;
29
- this.injector = injector;
30
- this.changeDetector = changeDetector;
31
- this.ngZone = ngZone;
32
- /**
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
- */
35
- this.disabled = false;
36
- /**
37
- * Determines whether the Switch is in its read-only state ([see example]({% slug readonly_switch %})).
38
- *
39
- * @default false
40
- */
41
- this.readonly = false;
42
- /**
43
- * Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the Switch.
44
- */
45
- this.tabindex = 0;
46
- /**
47
- * Fires each time the Switch component is focused as a result of user interaction.
48
- */
49
- this.onFocus = new EventEmitter();
50
- /**
51
- * Fires each time the Switch component is blurred as a result of user interaction.
52
- */
53
- this.onBlur = new EventEmitter();
54
- /**
55
- * Fires each time the user selects a new value.
56
- */
57
- this.valueChange = new EventEmitter();
58
- this.hostRole = 'switch';
59
- this.hostClasses = true;
60
- /**
61
- * @hidden
62
- */
63
- this.initialized = false;
64
- this.domSubscriptions = [];
65
- this._checked = false;
66
- this._size = 'medium';
67
- this._trackRounded = 'full';
68
- this._thumbRounded = 'full';
69
- this.ngChange = (_) => { };
70
- this.ngTouched = () => { };
71
- /**
72
- * @hidden
73
- */
74
- this.handleFocus = (event) => {
75
- if (this.isFocused) {
76
- return;
77
- }
78
- event.stopImmediatePropagation();
79
- this.focused = true;
80
- if (hasObservers(this.onFocus)) {
81
- this.ngZone.run(() => {
82
- const eventArgs = { originalEvent: event };
83
- this.onFocus.emit(eventArgs);
84
- });
85
- }
86
- };
87
- /**
88
- * @hidden
89
- */
90
- this.handleBlur = (event) => {
91
- const relatedTarget = event && event.relatedTarget;
92
- if (this.hostElement.nativeElement.contains(relatedTarget)) {
93
- return;
94
- }
95
- event.stopImmediatePropagation();
96
- this.changeDetector.markForCheck();
97
- this.focused = false;
98
- if (hasObservers(this.onBlur) || requiresZoneOnBlur(this.control)) {
99
- this.ngZone.run(() => {
100
- this.ngTouched();
101
- const eventArgs = { originalEvent: event };
102
- this.onBlur.emit(eventArgs);
103
- });
104
- }
105
- };
106
- validatePackage(packageMetadata);
107
- this.direction = localizationService.rtl ? 'rtl' : 'ltr';
108
- this.keyDownHandler = this.keyDownHandler.bind(this);
109
- this.clickHandler = this.clickHandler.bind(this);
110
- }
25
+ renderer;
26
+ hostElement;
27
+ localizationService;
28
+ injector;
29
+ changeDetector;
30
+ ngZone;
111
31
  /**
112
32
  * @hidden
113
33
  */
@@ -117,6 +37,16 @@ export class SwitchComponent {
117
37
  }
118
38
  return `k-${guid()}`;
119
39
  }
40
+ /**
41
+ * Sets the **On** label ([see example]({% slug labels_switch %})).
42
+ * Takes precedence over the [custom messages component]({% slug api_inputs_switchcustommessagescomponent %}).
43
+ */
44
+ onLabel;
45
+ /**
46
+ * Sets the **Off** label ([see example]({% slug labels_switch %})).
47
+ * Takes precedence over the [custom messages component]({% slug api_inputs_switchcustommessagescomponent %}).
48
+ */
49
+ offLabel;
120
50
  /**
121
51
  * Sets the value of the Switch when it is initially displayed.
122
52
  */
@@ -127,6 +57,20 @@ export class SwitchComponent {
127
57
  get checked() {
128
58
  return this._checked;
129
59
  }
60
+ /**
61
+ * 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).
62
+ */
63
+ disabled = false;
64
+ /**
65
+ * Determines whether the Switch is in its read-only state ([see example]({% slug readonly_switch %})).
66
+ *
67
+ * @default false
68
+ */
69
+ readonly = false;
70
+ /**
71
+ * Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the Switch.
72
+ */
73
+ tabindex = 0;
130
74
  /**
131
75
  * Specifies the width and height of the Switch.
132
76
  *
@@ -189,9 +133,23 @@ export class SwitchComponent {
189
133
  get tabIndex() {
190
134
  return this.tabindex;
191
135
  }
136
+ /**
137
+ * Fires each time the Switch component is focused as a result of user interaction.
138
+ */
139
+ onFocus = new EventEmitter();
140
+ /**
141
+ * Fires each time the Switch component is blurred as a result of user interaction.
142
+ */
143
+ onBlur = new EventEmitter();
144
+ /**
145
+ * Fires each time the user selects a new value.
146
+ */
147
+ valueChange = new EventEmitter();
148
+ direction;
192
149
  get ieClass() {
193
150
  return browser && browser.msie;
194
151
  }
152
+ hostRole = 'switch';
195
153
  get hostId() {
196
154
  return this.focusableId;
197
155
  }
@@ -210,9 +168,36 @@ export class SwitchComponent {
210
168
  get ariaReadonly() {
211
169
  return this.readonly;
212
170
  }
171
+ hostClasses = true;
213
172
  get disabledClass() {
214
173
  return this.disabled;
215
174
  }
175
+ track;
176
+ thumb;
177
+ /**
178
+ * @hidden
179
+ */
180
+ initialized = false;
181
+ localizationChangeSubscription;
182
+ isFocused;
183
+ control;
184
+ domSubscriptions = [];
185
+ _checked = false;
186
+ _size = 'medium';
187
+ _trackRounded = 'full';
188
+ _thumbRounded = 'full';
189
+ constructor(renderer, hostElement, localizationService, injector, changeDetector, ngZone) {
190
+ this.renderer = renderer;
191
+ this.hostElement = hostElement;
192
+ this.localizationService = localizationService;
193
+ this.injector = injector;
194
+ this.changeDetector = changeDetector;
195
+ this.ngZone = ngZone;
196
+ validatePackage(packageMetadata);
197
+ this.direction = localizationService.rtl ? 'rtl' : 'ltr';
198
+ this.keyDownHandler = this.keyDownHandler.bind(this);
199
+ this.clickHandler = this.clickHandler.bind(this);
200
+ }
216
201
  /**
217
202
  * @hidden
218
203
  */
@@ -225,6 +210,8 @@ export class SwitchComponent {
225
210
  get offLabelMessage() {
226
211
  return this.offLabel !== undefined ? this.offLabel : this.localizationService.get('off');
227
212
  }
213
+ ngChange = (_) => { };
214
+ ngTouched = () => { };
228
215
  get isEnabled() {
229
216
  return !this.disabled && !this.readonly;
230
217
  }
@@ -300,6 +287,41 @@ export class SwitchComponent {
300
287
  this.disabled = isDisabled;
301
288
  this.changeDetector.markForCheck();
302
289
  }
290
+ /**
291
+ * @hidden
292
+ */
293
+ handleFocus = (event) => {
294
+ if (this.isFocused) {
295
+ return;
296
+ }
297
+ event.stopImmediatePropagation();
298
+ this.focused = true;
299
+ if (hasObservers(this.onFocus)) {
300
+ this.ngZone.run(() => {
301
+ const eventArgs = { originalEvent: event };
302
+ this.onFocus.emit(eventArgs);
303
+ });
304
+ }
305
+ };
306
+ /**
307
+ * @hidden
308
+ */
309
+ handleBlur = (event) => {
310
+ const relatedTarget = event && event.relatedTarget;
311
+ if (this.hostElement.nativeElement.contains(relatedTarget)) {
312
+ return;
313
+ }
314
+ event.stopImmediatePropagation();
315
+ this.changeDetector.markForCheck();
316
+ this.focused = false;
317
+ if (hasObservers(this.onBlur) || requiresZoneOnBlur(this.control)) {
318
+ this.ngZone.run(() => {
319
+ this.ngTouched();
320
+ const eventArgs = { originalEvent: event };
321
+ this.onBlur.emit(eventArgs);
322
+ });
323
+ }
324
+ };
303
325
  /**
304
326
  * @hidden
305
327
  */
@@ -402,18 +424,15 @@ export class SwitchComponent {
402
424
  }
403
425
  }
404
426
  handleTrackClasses(value) {
405
- const elem = this.hostElement?.nativeElement;
406
427
  const track = this.track?.nativeElement;
407
- if (!elem || !track) {
428
+ if (!track) {
408
429
  return;
409
430
  }
410
431
  const classes = getStylingClasses('switch', 'rounded', this.trackRounded, value);
411
432
  if (classes.toRemove) {
412
- this.renderer.removeClass(elem, classes.toRemove);
413
433
  this.renderer.removeClass(track, classes.toRemove);
414
434
  }
415
435
  if (classes.toAdd) {
416
- this.renderer.addClass(elem, classes.toAdd);
417
436
  this.renderer.addClass(track, classes.toAdd);
418
437
  }
419
438
  }
@@ -430,21 +449,20 @@ export class SwitchComponent {
430
449
  this.renderer.addClass(thumb, classes.toAdd);
431
450
  }
432
451
  }
433
- }
434
- SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
435
- SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SwitchComponent, isStandalone: true, selector: "kendo-switch", inputs: { focusableId: "focusableId", onLabel: "onLabel", offLabel: "offLabel", checked: "checked", disabled: "disabled", readonly: "readonly", tabindex: "tabindex", size: "size", thumbRounded: "thumbRounded", trackRounded: "trackRounded", tabIndex: "tabIndex" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.direction", "class.k-ie": "this.ieClass", "attr.role": "this.hostRole", "attr.id": "this.hostId", "attr.aria-checked": "this.ariaChecked", "attr.aria-invalid": "this.ariaInvalid", "attr.tabindex": "this.hostTabIndex", "attr.aria-disabled": "this.ariaDisabled", "attr.aria-readonly": "this.ariaReadonly", "class.k-switch": "this.hostClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
436
- LocalizationService,
437
- { provide: L10N_PREFIX, useValue: 'kendo.switch' },
438
- {
439
- multi: true,
440
- provide: NG_VALUE_ACCESSOR,
441
- useExisting: forwardRef(() => SwitchComponent) /* eslint-disable-line*/
442
- },
443
- {
444
- provide: KendoInput,
445
- useExisting: forwardRef(() => SwitchComponent)
446
- }
447
- ], viewQueries: [{ propertyName: "track", first: true, predicate: ["track"], descendants: true, static: true }, { propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true, static: true }], exportAs: ["kendoSwitch"], ngImport: i0, template: `
452
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }, { token: i1.LocalizationService }, { token: i0.Injector }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
453
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: SwitchComponent, isStandalone: true, selector: "kendo-switch", inputs: { focusableId: "focusableId", onLabel: "onLabel", offLabel: "offLabel", checked: "checked", disabled: "disabled", readonly: "readonly", tabindex: "tabindex", size: "size", thumbRounded: "thumbRounded", trackRounded: "trackRounded", tabIndex: "tabIndex" }, outputs: { onFocus: "focus", onBlur: "blur", valueChange: "valueChange" }, host: { properties: { "class.k-readonly": "this.readonly", "attr.dir": "this.direction", "class.k-ie": "this.ieClass", "attr.role": "this.hostRole", "attr.id": "this.hostId", "attr.aria-checked": "this.ariaChecked", "attr.aria-invalid": "this.ariaInvalid", "attr.tabindex": "this.hostTabIndex", "attr.aria-disabled": "this.ariaDisabled", "attr.aria-readonly": "this.ariaReadonly", "class.k-switch": "this.hostClasses", "class.k-disabled": "this.disabledClass" } }, providers: [
454
+ LocalizationService,
455
+ { provide: L10N_PREFIX, useValue: 'kendo.switch' },
456
+ {
457
+ multi: true,
458
+ provide: NG_VALUE_ACCESSOR,
459
+ useExisting: forwardRef(() => SwitchComponent) /* eslint-disable-line*/
460
+ },
461
+ {
462
+ provide: KendoInput,
463
+ useExisting: forwardRef(() => SwitchComponent)
464
+ }
465
+ ], viewQueries: [{ propertyName: "track", first: true, predicate: ["track"], descendants: true, static: true }, { propertyName: "thumb", first: true, predicate: ["thumb"], descendants: true, static: true }], exportAs: ["kendoSwitch"], ngImport: i0, template: `
448
466
  <ng-container kendoSwitchLocalizedMessages
449
467
  i18n-on="kendo.switch.on|The **On** label of the Switch."
450
468
  on="ON"
@@ -466,7 +484,8 @@ SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", versio
466
484
  <span #thumb class="k-switch-thumb"></span>
467
485
  </span>
468
486
  `, isInline: true, dependencies: [{ kind: "directive", type: LocalizedSwitchMessagesDirective, selector: "[kendoSwitchLocalizedMessages]" }] });
469
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchComponent, decorators: [{
487
+ }
488
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchComponent, decorators: [{
470
489
  type: Component,
471
490
  args: [{
472
491
  exportAs: 'kendoSwitch',
@@ -41,11 +41,11 @@ import * as i2 from "./switch/localization/custom-messages.component";
41
41
  * ```
42
42
  */
43
43
  export class SwitchModule {
44
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
45
+ static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: SwitchModule, imports: [i1.SwitchComponent, i2.SwitchCustomMessagesComponent], exports: [i1.SwitchComponent, i2.SwitchCustomMessagesComponent] });
46
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchModule, providers: [ResizeBatchService] });
44
47
  }
45
- SwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
46
- SwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SwitchModule, imports: [i1.SwitchComponent, i2.SwitchCustomMessagesComponent], exports: [i1.SwitchComponent, i2.SwitchCustomMessagesComponent] });
47
- SwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchModule, providers: [ResizeBatchService], imports: [KENDO_SWITCH] });
48
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SwitchModule, decorators: [{
48
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: SwitchModule, decorators: [{
49
49
  type: NgModule,
50
50
  args: [{
51
51
  imports: [...KENDO_SWITCH],
@@ -0,0 +1,150 @@
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 { Subscription } from 'rxjs';
6
+ import { HostBinding, Input, Output, ViewChild, ElementRef, EventEmitter, NgZone, Renderer2, ChangeDetectorRef, Injector, Component } from '@angular/core';
7
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
8
+ import { requiresZoneOnBlur } from '../common/utils';
9
+ import { hasObservers } from '@progress/kendo-angular-common';
10
+ import * as i0 from "@angular/core";
11
+ import * as i1 from "@progress/kendo-angular-l10n";
12
+ /**
13
+ * @hidden
14
+ */
15
+ export class TextFieldsBase {
16
+ localizationService;
17
+ ngZone;
18
+ changeDetector;
19
+ renderer;
20
+ injector;
21
+ hostElement;
22
+ /**
23
+ * Sets the `title` attribute of the internal textarea input element of the component.
24
+ */
25
+ title = '';
26
+ /**
27
+ * 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).
28
+ *
29
+ * @default false
30
+ */
31
+ disabled = false;
32
+ /**
33
+ * Sets the read-only state of the TextArea component.
34
+ *
35
+ * @default false
36
+ */
37
+ readonly = false;
38
+ /**
39
+ * Provides a value for the TextArea component.
40
+ */
41
+ value = null;
42
+ /**
43
+ * Determines whether the whole value will be selected when the TextArea is clicked. Defaults to `false`.
44
+ *
45
+ * @default false
46
+ */
47
+ selectOnFocus = false;
48
+ /**
49
+ * The hint, which is displayed when the Textarea is empty.
50
+ */
51
+ placeholder;
52
+ /**
53
+ * Fires each time the user focuses the internal textarea element of the component.
54
+ * This event is useful when you need to distinguish between focusing the textarea element and focusing one of its adornments.
55
+ */
56
+ inputFocus = new EventEmitter();
57
+ /**
58
+ * Fires each time the internal textarea element gets blurred.
59
+ * This event is useful when adornments are used, in order to distinguish between blurring the textarea element and blurring the whole TextArea component.
60
+ */
61
+ inputBlur = new EventEmitter();
62
+ /**
63
+ * Represents the visible textarea element of the component.
64
+ */
65
+ input;
66
+ get disabledClass() {
67
+ return this.disabled;
68
+ }
69
+ direction;
70
+ /**
71
+ * @hidden
72
+ */
73
+ control;
74
+ subscriptions = new Subscription();
75
+ _isFocused = false;
76
+ focusChangedProgrammatically = false;
77
+ constructor(localizationService, ngZone, changeDetector, renderer, injector, hostElement) {
78
+ this.localizationService = localizationService;
79
+ this.ngZone = ngZone;
80
+ this.changeDetector = changeDetector;
81
+ this.renderer = renderer;
82
+ this.injector = injector;
83
+ this.hostElement = hostElement;
84
+ }
85
+ ngOnDestroy() {
86
+ this.subscriptions.unsubscribe();
87
+ }
88
+ /**
89
+ * @hidden
90
+ */
91
+ handleInputBlur = () => {
92
+ this.changeDetector.markForCheck();
93
+ if (hasObservers(this.inputBlur) || requiresZoneOnBlur(this.control)) {
94
+ this.ngZone.run(() => {
95
+ this.ngTouched();
96
+ this.inputBlur.emit();
97
+ });
98
+ }
99
+ };
100
+ /**
101
+ * @hidden
102
+ * Called when the status of the component changes to or from `disabled`.
103
+ * Depending on the value, it enables or disables the appropriate DOM element.
104
+ *
105
+ * @param isDisabled
106
+ */
107
+ setDisabledState(isDisabled) {
108
+ this.changeDetector.markForCheck();
109
+ this.disabled = isDisabled;
110
+ }
111
+ ngChange = (_) => { };
112
+ ngTouched = () => { };
113
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextFieldsBase, deps: [{ token: i1.LocalizationService }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
114
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TextFieldsBase, selector: "kendo-textfield-base", inputs: { title: "title", disabled: "disabled", readonly: "readonly", value: "value", selectOnFocus: "selectOnFocus", placeholder: "placeholder" }, outputs: { inputFocus: "inputFocus", inputBlur: "inputBlur" }, host: { properties: { "class.k-readonly": "this.readonly", "class.k-disabled": "this.disabledClass", "attr.dir": "this.direction" } }, viewQueries: [{ propertyName: "input", first: true, predicate: ["input"], descendants: true, static: true }], ngImport: i0, template: ``, isInline: true });
115
+ }
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextFieldsBase, decorators: [{
117
+ type: Component,
118
+ args: [{
119
+ selector: 'kendo-textfield-base',
120
+ template: ``
121
+ }]
122
+ }], ctorParameters: function () { return [{ type: i1.LocalizationService }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { title: [{
123
+ type: Input
124
+ }], disabled: [{
125
+ type: Input
126
+ }], readonly: [{
127
+ type: Input
128
+ }, {
129
+ type: HostBinding,
130
+ args: ['class.k-readonly']
131
+ }], value: [{
132
+ type: Input
133
+ }], selectOnFocus: [{
134
+ type: Input
135
+ }], placeholder: [{
136
+ type: Input
137
+ }], inputFocus: [{
138
+ type: Output
139
+ }], inputBlur: [{
140
+ type: Output
141
+ }], input: [{
142
+ type: ViewChild,
143
+ args: ['input', { static: true }]
144
+ }], disabledClass: [{
145
+ type: HostBinding,
146
+ args: ['class.k-disabled']
147
+ }], direction: [{
148
+ type: HostBinding,
149
+ args: ['attr.dir']
150
+ }] } });
@@ -21,17 +21,15 @@ import * as i0 from "@angular/core";
21
21
  * ```
22
22
  */
23
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
- }
24
+ /**
25
+ * @hidden
26
+ */
27
+ flow = 'vertical';
28
+ /**
29
+ * @hidden
30
+ */
31
+ orientation = 'horizontal';
32
+ hostClass = true;
35
33
  get verticalOrientation() {
36
34
  return this.orientation === 'vertical';
37
35
  }
@@ -41,10 +39,10 @@ export class TextAreaPrefixComponent {
41
39
  get alignItems() {
42
40
  return this.flow === this.orientation;
43
41
  }
42
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextAreaPrefixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
43
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TextAreaPrefixComponent, isStandalone: true, 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 });
44
44
  }
45
- TextAreaPrefixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaPrefixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
46
- TextAreaPrefixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaPrefixComponent, isStandalone: true, 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: "15.2.10", ngImport: i0, type: TextAreaPrefixComponent, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextAreaPrefixComponent, decorators: [{
48
46
  type: Component,
49
47
  args: [{
50
48
  exportAs: 'kendoTextAreaPrefix',
@@ -21,17 +21,15 @@ import * as i0 from "@angular/core";
21
21
  * ```
22
22
  */
23
23
  export class TextAreaSuffixComponent {
24
- constructor() {
25
- /**
26
- * @hidden
27
- */
28
- this.flow = 'vertical';
29
- /**
30
- * @hidden
31
- */
32
- this.orientation = 'horizontal';
33
- this.hostClass = true;
34
- }
24
+ /**
25
+ * @hidden
26
+ */
27
+ flow = 'vertical';
28
+ /**
29
+ * @hidden
30
+ */
31
+ orientation = 'horizontal';
32
+ hostClass = true;
35
33
  get verticalOrientation() {
36
34
  return this.orientation === 'vertical';
37
35
  }
@@ -41,10 +39,10 @@ export class TextAreaSuffixComponent {
41
39
  get alignItems() {
42
40
  return this.flow === this.orientation;
43
41
  }
42
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextAreaSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
43
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TextAreaSuffixComponent, isStandalone: true, selector: "kendo-textarea-suffix", inputs: { flow: "flow", orientation: "orientation" }, host: { properties: { "class.k-input-suffix": "this.hostClass", "class.k-input-suffix-vertical": "this.verticalOrientation", "class.k-input-suffix-horizontal": "this.horizontalOrientation", "class.!k-align-items-start": "this.alignItems" } }, exportAs: ["kendoTextAreaSuffix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
44
44
  }
45
- TextAreaSuffixComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaSuffixComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
46
- TextAreaSuffixComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: TextAreaSuffixComponent, isStandalone: true, selector: "kendo-textarea-suffix", inputs: { flow: "flow", orientation: "orientation" }, host: { properties: { "class.k-input-suffix": "this.hostClass", "class.k-input-suffix-vertical": "this.verticalOrientation", "class.k-input-suffix-horizontal": "this.horizontalOrientation", "class.!k-align-items-start": "this.alignItems" } }, exportAs: ["kendoTextAreaSuffix"], ngImport: i0, template: `<ng-content></ng-content>`, isInline: true });
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TextAreaSuffixComponent, decorators: [{
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TextAreaSuffixComponent, decorators: [{
48
46
  type: Component,
49
47
  args: [{
50
48
  exportAs: 'kendoTextAreaSuffix',