@progress/kendo-angular-inputs 13.2.1-develop.11 → 13.2.1-develop.13

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 (289) hide show
  1. package/LICENSE.md +11 -0
  2. package/NOTICE.txt +654 -0
  3. package/README.md +184 -0
  4. package/checkbox/checkbox.directive.d.ts +52 -0
  5. package/checkbox.module.d.ts +43 -0
  6. package/colorpicker/color-contrast-svg.component.d.ts +29 -0
  7. package/colorpicker/color-gradient-numeric-label.directive.d.ts +20 -0
  8. package/colorpicker/color-gradient.component.d.ts +281 -0
  9. package/colorpicker/color-input.component.d.ts +95 -0
  10. package/colorpicker/color-palette.component.d.ts +221 -0
  11. package/colorpicker/colorpicker.component.d.ts +383 -0
  12. package/colorpicker/constants.d.ts +41 -0
  13. package/colorpicker/contrast-validation.component.d.ts +24 -0
  14. package/colorpicker/contrast.component.d.ts +25 -0
  15. package/colorpicker/events/active-color-click-event.d.ts +53 -0
  16. package/colorpicker/events/cancel-event.d.ts +15 -0
  17. package/colorpicker/events/close-event.d.ts +10 -0
  18. package/colorpicker/events/kendo-drag-event.d.ts +21 -0
  19. package/colorpicker/events/open-event.d.ts +10 -0
  20. package/colorpicker/events.d.ts +8 -0
  21. package/colorpicker/flatcolorpicker-actions.component.d.ts +24 -0
  22. package/colorpicker/flatcolorpicker-header.component.d.ts +43 -0
  23. package/colorpicker/flatcolorpicker.component.d.ts +267 -0
  24. package/colorpicker/focus-on-dom-ready.directive.d.ts +18 -0
  25. package/colorpicker/localization/colorgradient-localization.service.d.ts +17 -0
  26. package/colorpicker/localization/colorpalette-localization.service.d.ts +17 -0
  27. package/colorpicker/localization/colorpicker-localization.service.d.ts +14 -0
  28. package/colorpicker/localization/custom-messages.component.d.ts +17 -0
  29. package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +17 -0
  30. package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +16 -0
  31. package/colorpicker/localization/messages.d.ts +121 -0
  32. package/colorpicker/models/actions-layout.d.ts +8 -0
  33. package/colorpicker/models/colorpicker-view.d.ts +8 -0
  34. package/colorpicker/models/gradient-settings.d.ts +35 -0
  35. package/colorpicker/models/hsva.d.ts +13 -0
  36. package/colorpicker/models/output-format.d.ts +8 -0
  37. package/colorpicker/models/palette-presets.d.ts +61 -0
  38. package/colorpicker/models/palette-settings.d.ts +33 -0
  39. package/colorpicker/models/popup-settings.d.ts +18 -0
  40. package/colorpicker/models/rgb.d.ts +12 -0
  41. package/colorpicker/models/rgba.d.ts +13 -0
  42. package/colorpicker/models/table-cell.d.ts +11 -0
  43. package/colorpicker/models/tile-size.d.ts +11 -0
  44. package/colorpicker/models.d.ts +16 -0
  45. package/colorpicker/services/color-palette.service.d.ts +19 -0
  46. package/colorpicker/services/flatcolorpicker.service.d.ts +15 -0
  47. package/colorpicker/utils/color-parser.d.ts +77 -0
  48. package/colorpicker/utils/contrast-curve.d.ts +37 -0
  49. package/colorpicker/utils.d.ts +6 -0
  50. package/colorpicker.module.d.ts +35 -0
  51. package/common/dom-utils.d.ts +25 -0
  52. package/common/math.d.ts +36 -0
  53. package/common/models/fillmode.d.ts +9 -0
  54. package/common/models/rounded.d.ts +14 -0
  55. package/common/models/size.d.ts +9 -0
  56. package/common/models/styling-classes.d.ts +11 -0
  57. package/common/models.d.ts +8 -0
  58. package/common/utils.d.ts +56 -0
  59. package/esm2020/checkbox/checkbox.directive.mjs +94 -0
  60. package/esm2020/checkbox.module.mjs +52 -0
  61. package/esm2020/colorpicker/color-contrast-svg.component.mjs +97 -0
  62. package/esm2020/colorpicker/color-gradient-numeric-label.directive.mjs +31 -0
  63. package/esm2020/colorpicker/color-gradient.component.mjs +1003 -0
  64. package/esm2020/colorpicker/color-input.component.mjs +433 -0
  65. package/esm2020/colorpicker/color-palette.component.mjs +553 -0
  66. package/esm2020/colorpicker/colorpicker.component.mjs +1086 -0
  67. package/esm2020/colorpicker/constants.mjs +40 -0
  68. package/esm2020/colorpicker/contrast-validation.component.mjs +72 -0
  69. package/esm2020/colorpicker/contrast.component.mjs +100 -0
  70. package/esm2020/colorpicker/events/active-color-click-event.mjs +58 -0
  71. package/esm2020/colorpicker/events/cancel-event.mjs +14 -0
  72. package/esm2020/colorpicker/events/close-event.mjs +10 -0
  73. package/esm2020/colorpicker/events/kendo-drag-event.mjs +5 -0
  74. package/esm2020/colorpicker/events/open-event.mjs +10 -0
  75. package/esm2020/colorpicker/events.mjs +8 -0
  76. package/esm2020/colorpicker/flatcolorpicker-actions.component.mjs +93 -0
  77. package/esm2020/colorpicker/flatcolorpicker-header.component.mjs +217 -0
  78. package/esm2020/colorpicker/flatcolorpicker.component.mjs +829 -0
  79. package/esm2020/colorpicker/focus-on-dom-ready.directive.mjs +29 -0
  80. package/esm2020/colorpicker/localization/colorgradient-localization.service.mjs +45 -0
  81. package/esm2020/colorpicker/localization/colorpalette-localization.service.mjs +45 -0
  82. package/esm2020/colorpicker/localization/colorpicker-localization.service.mjs +31 -0
  83. package/esm2020/colorpicker/localization/custom-messages.component.mjs +41 -0
  84. package/esm2020/colorpicker/localization/flatcolorpicker-localization.service.mjs +45 -0
  85. package/esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs +37 -0
  86. package/esm2020/colorpicker/localization/messages.mjs +75 -0
  87. package/esm2020/colorpicker/models/actions-layout.mjs +5 -0
  88. package/esm2020/colorpicker/models/colorpicker-view.mjs +5 -0
  89. package/esm2020/colorpicker/models/gradient-settings.mjs +5 -0
  90. package/esm2020/colorpicker/models/hsva.mjs +5 -0
  91. package/esm2020/colorpicker/models/output-format.mjs +5 -0
  92. package/esm2020/colorpicker/models/palette-presets.mjs +62 -0
  93. package/esm2020/colorpicker/models/palette-settings.mjs +5 -0
  94. package/esm2020/colorpicker/models/popup-settings.mjs +5 -0
  95. package/esm2020/colorpicker/models/rgb.mjs +5 -0
  96. package/esm2020/colorpicker/models/rgba.mjs +5 -0
  97. package/esm2020/colorpicker/models/table-cell.mjs +5 -0
  98. package/esm2020/colorpicker/models/tile-size.mjs +6 -0
  99. package/esm2020/colorpicker/models.mjs +16 -0
  100. package/esm2020/colorpicker/services/color-palette.service.mjs +67 -0
  101. package/esm2020/colorpicker/services/flatcolorpicker.service.mjs +39 -0
  102. package/esm2020/colorpicker/utils/color-parser.mjs +164 -0
  103. package/esm2020/colorpicker/utils/contrast-curve.mjs +85 -0
  104. package/esm2020/colorpicker/utils.mjs +6 -0
  105. package/esm2020/colorpicker.module.mjs +104 -0
  106. package/esm2020/common/dom-utils.mjs +36 -0
  107. package/esm2020/common/math.mjs +65 -0
  108. package/esm2020/common/models/fillmode.mjs +5 -0
  109. package/esm2020/common/models/rounded.mjs +5 -0
  110. package/esm2020/common/models/size.mjs +5 -0
  111. package/esm2020/common/models/styling-classes.mjs +5 -0
  112. package/esm2020/common/models.mjs +8 -0
  113. package/esm2020/common/utils.mjs +81 -0
  114. package/esm2020/formfield/error.component.mjs +68 -0
  115. package/esm2020/formfield/formfield.component.mjs +284 -0
  116. package/esm2020/formfield/hint.component.mjs +63 -0
  117. package/esm2020/formfield/models/message-align.mjs +5 -0
  118. package/esm2020/formfield/models/orientation.mjs +5 -0
  119. package/esm2020/formfield/models/show-options.mjs +5 -0
  120. package/esm2020/formfield.module.mjs +54 -0
  121. package/esm2020/index.mjs +66 -0
  122. package/esm2020/inputs.module.mjs +98 -0
  123. package/esm2020/maskedtextbox/maskedtextbox.component.mjs +711 -0
  124. package/esm2020/maskedtextbox/masking.service.mjs +191 -0
  125. package/esm2020/maskedtextbox/parsing/combinators.mjs +28 -0
  126. package/esm2020/maskedtextbox/parsing/parsers.mjs +147 -0
  127. package/esm2020/maskedtextbox/parsing/result.mjs +41 -0
  128. package/esm2020/maskedtextbox/parsing/stream.mjs +41 -0
  129. package/esm2020/maskedtextbox.module.mjs +53 -0
  130. package/esm2020/numerictextbox/arrow-direction.mjs +13 -0
  131. package/esm2020/numerictextbox/constants.mjs +28 -0
  132. package/esm2020/numerictextbox/localization/custom-messages.component.mjs +41 -0
  133. package/esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs +37 -0
  134. package/esm2020/numerictextbox/localization/messages.mjs +25 -0
  135. package/esm2020/numerictextbox/numerictextbox.component.mjs +1105 -0
  136. package/esm2020/numerictextbox/utils.mjs +92 -0
  137. package/esm2020/numerictextbox.module.mjs +66 -0
  138. package/esm2020/package-metadata.mjs +15 -0
  139. package/esm2020/progress-kendo-angular-inputs.mjs +8 -0
  140. package/esm2020/radiobutton/radiobutton.directive.mjs +76 -0
  141. package/esm2020/radiobutton.module.mjs +52 -0
  142. package/esm2020/rangeslider/localization/custom-messages.component.mjs +41 -0
  143. package/esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs +37 -0
  144. package/esm2020/rangeslider/localization/messages.mjs +25 -0
  145. package/esm2020/rangeslider/rangeslider-model.mjs +52 -0
  146. package/esm2020/rangeslider/rangeslider-value.type.mjs +5 -0
  147. package/esm2020/rangeslider/rangeslider.component.mjs +605 -0
  148. package/esm2020/rangeslider.module.mjs +71 -0
  149. package/esm2020/shared/input-separator.component.mjs +41 -0
  150. package/esm2020/shared/textarea.directive.mjs +260 -0
  151. package/esm2020/shared/utils.mjs +13 -0
  152. package/esm2020/shared.module.mjs +32 -0
  153. package/esm2020/signature/events/close-event.mjs +10 -0
  154. package/esm2020/signature/events/index.mjs +6 -0
  155. package/esm2020/signature/events/open-event.mjs +10 -0
  156. package/esm2020/signature/localization/custom-messages.component.mjs +41 -0
  157. package/esm2020/signature/localization/index.mjs +7 -0
  158. package/esm2020/signature/localization/localized-signature-messages.directive.mjs +37 -0
  159. package/esm2020/signature/localization/messages.mjs +29 -0
  160. package/esm2020/signature/signature.component.mjs +906 -0
  161. package/esm2020/signature.module.mjs +79 -0
  162. package/esm2020/slider/localization/custom-messages.component.mjs +41 -0
  163. package/esm2020/slider/localization/localized-slider-messages.directive.mjs +37 -0
  164. package/esm2020/slider/localization/messages.mjs +27 -0
  165. package/esm2020/slider/slider-model.mjs +34 -0
  166. package/esm2020/slider/slider.component.mjs +646 -0
  167. package/esm2020/slider.module.mjs +73 -0
  168. package/esm2020/sliders-common/label-template.directive.mjs +45 -0
  169. package/esm2020/sliders-common/slider-base.mjs +255 -0
  170. package/esm2020/sliders-common/slider-model.base.mjs +93 -0
  171. package/esm2020/sliders-common/slider-ticks.component.mjs +125 -0
  172. package/esm2020/sliders-common/sliders-common.module.mjs +42 -0
  173. package/esm2020/sliders-common/sliders-util.mjs +219 -0
  174. package/esm2020/sliders-common/title-callback.mjs +5 -0
  175. package/esm2020/switch/events/blur-event.mjs +9 -0
  176. package/esm2020/switch/events/focus-event.mjs +9 -0
  177. package/esm2020/switch/localization/custom-messages.component.mjs +41 -0
  178. package/esm2020/switch/localization/localized-switch-messages.directive.mjs +37 -0
  179. package/esm2020/switch/localization/messages.mjs +25 -0
  180. package/esm2020/switch/switch.component.mjs +577 -0
  181. package/esm2020/switch.module.mjs +68 -0
  182. package/esm2020/text-fields-common/text-fields-base.mjs +128 -0
  183. package/esm2020/textarea/models/flow.mjs +5 -0
  184. package/esm2020/textarea/models/resize.mjs +5 -0
  185. package/esm2020/textarea/textarea-suffix.component.mjs +40 -0
  186. package/esm2020/textarea/textarea.component.mjs +604 -0
  187. package/esm2020/textarea.module.mjs +68 -0
  188. package/esm2020/textbox/localization/custom-messages.component.mjs +41 -0
  189. package/esm2020/textbox/localization/localized-textbox-messages.directive.mjs +37 -0
  190. package/esm2020/textbox/localization/messages.mjs +23 -0
  191. package/esm2020/textbox/models/icon-show-options.mjs +5 -0
  192. package/esm2020/textbox/textbox-prefix.directive.mjs +38 -0
  193. package/esm2020/textbox/textbox-suffix.directive.mjs +37 -0
  194. package/esm2020/textbox/textbox.component.mjs +849 -0
  195. package/esm2020/textbox/textbox.directive.mjs +121 -0
  196. package/esm2020/textbox.module.mjs +89 -0
  197. package/esm2020/validators/max.validator.mjs +21 -0
  198. package/esm2020/validators/min.validator.mjs +21 -0
  199. package/fesm2015/progress-kendo-angular-inputs.mjs +15090 -0
  200. package/fesm2020/progress-kendo-angular-inputs.mjs +15055 -0
  201. package/formfield/error.component.d.ts +31 -0
  202. package/formfield/formfield.component.d.ts +98 -0
  203. package/formfield/hint.component.d.ts +29 -0
  204. package/formfield/models/message-align.d.ts +8 -0
  205. package/formfield/models/orientation.d.ts +9 -0
  206. package/formfield/models/show-options.d.ts +16 -0
  207. package/formfield.module.d.ts +45 -0
  208. package/index.d.ts +76 -0
  209. package/inputs.module.d.ts +55 -0
  210. package/maskedtextbox/maskedtextbox.component.d.ts +315 -0
  211. package/maskedtextbox/masking.service.d.ts +48 -0
  212. package/maskedtextbox/parsing/combinators.d.ts +13 -0
  213. package/maskedtextbox/parsing/parsers.d.ts +51 -0
  214. package/maskedtextbox/parsing/result.d.ts +27 -0
  215. package/maskedtextbox/parsing/stream.d.ts +26 -0
  216. package/maskedtextbox.module.d.ts +44 -0
  217. package/numerictextbox/arrow-direction.d.ts +12 -0
  218. package/numerictextbox/constants.d.ts +28 -0
  219. package/numerictextbox/localization/custom-messages.component.d.ts +17 -0
  220. package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +16 -0
  221. package/numerictextbox/localization/messages.d.ts +21 -0
  222. package/numerictextbox/numerictextbox.component.d.ts +364 -0
  223. package/numerictextbox/utils.d.ts +44 -0
  224. package/numerictextbox.module.d.ts +47 -0
  225. package/package-metadata.d.ts +9 -0
  226. package/package.json +74 -0
  227. package/progress-kendo-angular-inputs.d.ts +9 -0
  228. package/radiobutton/radiobutton.directive.d.ts +38 -0
  229. package/radiobutton.module.d.ts +43 -0
  230. package/rangeslider/localization/custom-messages.component.d.ts +17 -0
  231. package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +16 -0
  232. package/rangeslider/localization/messages.d.ts +21 -0
  233. package/rangeslider/rangeslider-model.d.ts +15 -0
  234. package/rangeslider/rangeslider-value.type.d.ts +9 -0
  235. package/rangeslider/rangeslider.component.d.ts +139 -0
  236. package/rangeslider.module.d.ts +48 -0
  237. package/schematics/collection.json +12 -0
  238. package/schematics/ngAdd/index.js +11 -0
  239. package/schematics/ngAdd/schema.json +28 -0
  240. package/shared/input-separator.component.d.ts +28 -0
  241. package/shared/textarea.directive.d.ts +99 -0
  242. package/shared/utils.d.ts +10 -0
  243. package/shared.module.d.ts +19 -0
  244. package/signature/events/close-event.d.ts +10 -0
  245. package/signature/events/index.d.ts +6 -0
  246. package/signature/events/open-event.d.ts +10 -0
  247. package/signature/localization/custom-messages.component.d.ts +17 -0
  248. package/signature/localization/index.d.ts +7 -0
  249. package/signature/localization/localized-signature-messages.directive.d.ts +16 -0
  250. package/signature/localization/messages.d.ts +29 -0
  251. package/signature/signature.component.d.ts +364 -0
  252. package/signature.module.d.ts +48 -0
  253. package/slider/localization/custom-messages.component.d.ts +17 -0
  254. package/slider/localization/localized-slider-messages.directive.d.ts +16 -0
  255. package/slider/localization/messages.d.ts +25 -0
  256. package/slider/slider-model.d.ts +14 -0
  257. package/slider/slider.component.d.ts +175 -0
  258. package/slider.module.d.ts +50 -0
  259. package/sliders-common/label-template.directive.d.ts +36 -0
  260. package/sliders-common/slider-base.d.ts +141 -0
  261. package/sliders-common/slider-model.base.d.ts +26 -0
  262. package/sliders-common/slider-ticks.component.d.ts +26 -0
  263. package/sliders-common/sliders-common.module.d.ts +17 -0
  264. package/sliders-common/sliders-util.d.ts +119 -0
  265. package/sliders-common/title-callback.d.ts +10 -0
  266. package/switch/events/blur-event.d.ts +13 -0
  267. package/switch/events/focus-event.d.ts +13 -0
  268. package/switch/localization/custom-messages.component.d.ts +17 -0
  269. package/switch/localization/localized-switch-messages.directive.d.ts +16 -0
  270. package/switch/localization/messages.d.ts +21 -0
  271. package/switch/switch.component.d.ts +216 -0
  272. package/switch.module.d.ts +46 -0
  273. package/text-fields-common/text-fields-base.d.ts +91 -0
  274. package/textarea/models/flow.d.ts +12 -0
  275. package/textarea/models/resize.d.ts +16 -0
  276. package/textarea/textarea-suffix.component.d.ts +26 -0
  277. package/textarea/textarea.component.d.ts +225 -0
  278. package/textarea.module.d.ts +48 -0
  279. package/textbox/localization/custom-messages.component.d.ts +17 -0
  280. package/textbox/localization/localized-textbox-messages.directive.d.ts +16 -0
  281. package/textbox/localization/messages.d.ts +17 -0
  282. package/textbox/models/icon-show-options.d.ts +13 -0
  283. package/textbox/textbox-prefix.directive.d.ts +29 -0
  284. package/textbox/textbox-suffix.directive.d.ts +28 -0
  285. package/textbox/textbox.component.d.ts +376 -0
  286. package/textbox/textbox.directive.d.ts +59 -0
  287. package/textbox.module.d.ts +53 -0
  288. package/validators/max.validator.d.ts +8 -0
  289. package/validators/min.validator.d.ts +8 -0
package/README.md ADDED
@@ -0,0 +1,184 @@
1
+ <a href="https://www.telerik.com/kendo-angular-ui/" target="_blank">
2
+ <img width="631" src="https://www.telerik.com/kendo-angular-ui/npm-banner.svg">
3
+ </a>
4
+
5
+ ## Kendo UI for Angular Inputs Package (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)
6
+
7
+ > **Important**
8
+ > * This package is part of [Kendo UI for Angular](https://www.telerik.com/kendo-angular-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;a commercial library designed and built for developing business applications with Angular. Every UI component in the Kendo UI for Angular suite has been built from the ground-up specifically for Angular.
9
+ > * You will need to install a license key when adding the package to your project. For more information, please refer to the [Kendo UI for Angular My License page](https://www.telerik.com/kendo-angular-ui/my-license?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs).
10
+ > * To receive a license key, you need to either [purchase a license](https://www.telerik.com/purchase/kendo-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) or register for a [free trial](https://www.telerik.com/download-login-v2-kendo-angular-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs). Doing so indicates that you [accept the Kendo UI for Angular License Agreement](https://www.telerik.com/purchase/license-agreement/kendo-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs).
11
+ > * The 30-day free trial gives you access to all the Kendo UI for Angular components and their full functionality. Additionally, for the period of your license, you get access to our legendary technical support provided directly by the Kendo UI for Angular dev team!
12
+ >
13
+ > [Start using Kendo UI for Angular](https://www.telerik.com/download-login-v2-kendo-angular-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) and speed up your development process!
14
+
15
+ The [Kendo UI for Angular Inputs package](https://www.telerik.com/kendo-angular-ui/components/inputs/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) is a collection of components that render interactive and accessible input fields, each specialized for their specific format. The Inputs are built from the ground-up and specifically for Angular, so that you get high-performance input controls which integrate tightly with your application.
16
+
17
+ <img src="https://d585tldpucybw.cloudfront.net/sfimages/default-source/component-pages/angular/textarea---forms-support.jpg" alt="Form Example using various inputs such as MaskedTextBox, NumericTextBox, and TextArea in Angular" >
18
+
19
+ What's Included in The Package:
20
+
21
+ * [Angular Checkbox Component](#angular-checkbox-component)
22
+ * [Angular ColorGradient Component](#angular-colorgradient-component)
23
+ * [Angular ColorPalette Component](#angular-colorpalette-component)
24
+ * [Angular ColorPicker Component](#angular-colorpicker-component)
25
+ * [Angular FlatColorPicker Component](#angular-flatcolorpicker-component)
26
+ * [Angular FormField Component](#angular-formfield-component)
27
+ * [Angular MaskedTextBox Component](#angular-maskedtextbox-component)
28
+ * [Angular NumericTextBox Component](#angular-numerictextbox-component)
29
+ * [Angular RadioButton Component](#angular-radiobutton-component)
30
+ * [Angular RangeSlider Component](#angular-rangeslider-component)
31
+ * [Angular Slider Component](#angular-slider-component)
32
+ * [Angular Switch Component](#angular-switch-component)
33
+ * [Angular TextArea Component](#angular-textarea-component)
34
+ * [Angular TextBox Component](#angular-textbox-component)
35
+
36
+ ## Angular Inputs Package Common Features
37
+ These features are common across all components in the packatge.
38
+
39
+ * **Delaying Input Value Changes**&mdash;By default, value updates are processed immediately after the input.But, if you need to allow time for complex scenarios and operations, you can configure a slight delay before the components accept the new input value.
40
+ * **Disabled Inputs**&mdash;Display the Inputs in their read-only state.
41
+ * **Forms Support**&mdash;The Inputs provide support both for the asynchronous template-driven Angular forms and the predominantly synchronous reactive Angular forms. This feature allows you to draw on the logic set either in the template, or in the component or typescript code.
42
+ * **Appearance**&mdash;All aspects of the Inputs can be customized by theme variables or configuration options. Kendo UI for Angular delivers a set of popular themes including Bootstrap and Material, all of which can be easily customized with the Progress ThemeBuilder online utility.
43
+ * **Globalization**&mdash;The Kendo UI for Angular Inputs support globalization to ensure that each Inputs component can fit well in any application, no matter what languages and locales need to be supported. Additionally, the Inputs support rendering in a right-to-left (RTL) direction.
44
+ * **Accessibility**&mdash;The Inputs are accessible for screen readers and support WAI-ARIA attributes.
45
+ * **Keyboard Navigation**&mdash;The Inputs support a number of keyboard shortcuts which alow users to accomplish various commands.
46
+
47
+ ## Angular Checkbox Component
48
+
49
+ The [Angular Checkbox Component](https://www.telerik.com/kendo-angular-ui/components/inputs/checkbox/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) is a directive that helps you style checkbox input elements. It supports all regular HTML checkbox attribures and Angular bindings.
50
+
51
+ ### More Features
52
+
53
+ * [Indeterminate State](https://www.telerik.com/kendo-angular-ui/components/inputs/checkbox/indeterminate-state/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Render the checkbox in indeterminate state whether or not it is checked.
54
+ * [Labels](https://www.telerik.com/kendo-angular-ui/components/inputs/checkbox/labels/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Associate a label through HTML elements or use the [Kendo UI for Angular Label Component](https://www.telerik.com/kendo-angular-ui/label?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs).
55
+
56
+ ## Angular ColorGradient Component
57
+
58
+ The [Angular ColorGradient Component](https://www.telerik.com/kendo-angular-ui/components/inputs/colorgradient/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) renders a gradient with hue and alpha sliders for interactive color picking as well as inputs to manually enter a desired color.
59
+
60
+ ### More Features
61
+
62
+ * [Contrast Tool](https://www.telerik.com/kendo-angular-ui/components/inputs/colorgradient/contrast-tool/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;This optional tool checks the contrast ratio between two colors to ensures that the selected color meets certain contrast requirements like AA or AAA.
63
+ * [Customization](https://www.telerik.com/kendo-angular-ui/components/inputs/colorgradient/custom/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Choose to show or hide certain controls such as opacity.
64
+
65
+ ## Angular ColorPalette Component
66
+
67
+ The [Angular ColorPalette Component](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpalette/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) renders sets of predefined colors from which users can choose. A common example is swithcing clothing colors when online shopping.
68
+
69
+ ### More Features
70
+
71
+ * [Color Presets](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpalette/presets/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;This component provides a set of preset palettes or you can define your own.
72
+ * [Customization](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpalette/custom/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Built-in options help you specify rendering, columns, and tile sizes, and to customize the color formats palettes.
73
+
74
+ ## Angular ColorPicker Component
75
+
76
+ The [Angular ColorPicker Component](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpicker/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) combines the ColorGradient and ColorPalette to provide a rich color selection tool that appears in a popup and provides a variety of ways to select colors as well as a preview of selected colors.
77
+
78
+ ### More Features
79
+
80
+ * [Contrast Tool](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpicker/contrast-tool/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;This optional tool checks the contrast ratio between two colors to ensures that the selected color meets certain contrast requirements like AA or AAA.
81
+ * [Customization](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpicker/custom/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;For ultimate flexibility, you can configure each building block including views toggles, clear button, action buttons, palette view, gradient view, and icons.
82
+ * [Control the Open State](https://www.telerik.com/kendo-angular-ui/components/inputs/colorpicker/open-state/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Determine whether the popup is open or closed when the component loads.
83
+
84
+ ## Angular FlatColorPicker Component
85
+
86
+ The [Angular FlatColorPicker Component](https://www.telerik.com/kendo-angular-ui/components/inputs/flatcolorpicker/) is the same as the Angular ColorPicker, except the picker is not hidden in a popup. It renders directly on the page.
87
+
88
+ ### More Features
89
+
90
+ * [Contrast Tool](https://www.telerik.com/kendo-angular-ui/components/inputs/flatcolorpicker/contrast-tool/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;This optional tool checks the contrast ratio between two colors to ensures that the selected color meets certain contrast requirements like AA or AAA.
91
+ * [Customization](https://www.telerik.com/kendo-angular-ui/components/inputs/flatcolorpicker/customization/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;For ultimate flexibility, you can configure each building block including views toggles, clear button, action buttons, palette view, gradient view, and icons.
92
+
93
+ ## Angular FormField Component
94
+
95
+ The [Angular FormField Component](https://www.telerik.com/kendo-angular-ui/components/inputs/formfield/) helps you group form related content to layout out and configure fields, labels, hints, and error messages.
96
+
97
+ ## Angular MaskedTextBox Component
98
+
99
+ The [Angular MaskedTextBox Component](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) enables you to control input by enforcing format using a mask. A common example is requiring phone number formats.
100
+
101
+ ### More Features
102
+
103
+ * [Masks](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/masks/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;The Angular NumericTextBox includes a set of predefined masks, but also allows you to create your own.
104
+ * [Validation](https://www.telerik.com/kendo-angular-ui/components/inputs/maskedtextbox/validation/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;A built-in validator enforces formatting rules.
105
+
106
+ ## Angular NumericTextBox Component
107
+
108
+ The [Angular NumericTextBox Component](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) provides spin buttons to help users enter and edit numeric bvalues.
109
+
110
+ ### More Features
111
+
112
+ * [Restrictions](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/precision/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Control user input by restricting elements such as fraction length, value ranges, and maximum length.
113
+ * [Predefined Steps](https://www.telerik.com/kendo-angular-ui/components/inputs/numerictextbox/predefined-step/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Specify the value by which the value increments up or down when the spin buttons are clicked.
114
+
115
+ ## Angular RadioButton Component
116
+
117
+ The [Angular RadioButton Component](https://www.telerik.com/kendo-angular-ui/components/inputs/radiobutton/l&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) is a directive that helps you style the radio input element.
118
+
119
+ ### More Features
120
+
121
+ * [Labels](https://www.telerik.com/kendo-angular-ui/components/inputs/radiobutton/labels/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Associate a label through HTML elements or use the [Kendo UI for Angular Label Component](https://www.telerik.com/kendo-angular-ui/label?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs).
122
+
123
+ ## Angular RangeSlider Component
124
+
125
+ The [Angular RangeSlider Component](https://www.telerik.com/kendo-angular-ui/components/inputs/rangeslider/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) allows users to visually specify numberic ranges by dragging its handles or clicking its track.
126
+
127
+ ### More Features
128
+
129
+ * [Orientation](https://www.telerik.com/kendo-angular-ui/components/inputs/rangeslider/orientation/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Choose to render the Angular RangeSlider horizontally or vertically.
130
+ * [Ticks](https://www.telerik.com/kendo-angular-ui/components/inputs/rangeslider/ticks/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Configure the placement, titles, and width or the ticks that designate value steps along the track.
131
+ * [Predefined Steps](https://www.telerik.com/kendo-angular-ui/components/inputs/rangeslider/predefined-steps/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Configure the way the RangeSlider divides its range and updates the value by using the step options.
132
+
133
+ ## Angular Slider Component
134
+
135
+ The [Angular Slider Component](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) enables the user to increase, decrease, and select predefined values by dragging its handle along the track, or by clicking its side arrow buttons.
136
+
137
+ ### More Features
138
+
139
+ * [Orientation](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/orientation/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Choose to render the Angular Slider horizontally or vertically.
140
+ * [Ticks](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/ticks/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Configure the placement, titles, and width or the ticks that designate value steps along the track.
141
+ * [Predefined Steps](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/predefined-steps/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Configure the way the Slider divides its range and updates the value by using the step options.
142
+ * [Side Buttons](https://www.telerik.com/kendo-angular-ui/components/inputs/slider/side-buttons/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Configure the side buttons that increase or decrease value by showing or hiding and displaying titles.
143
+
144
+ ## Angular Switch Component
145
+
146
+ The [Angular Switch Component](https://www.telerik.com/kendo-angular-ui/components/inputs/switch/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) is a visual toggle that switches between checked and unchecked states.
147
+
148
+ ## Angular TextArea Component
149
+
150
+ The [Angular TextArea Component](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) provides a highly customizable UI for entering and displaying multiple lines of text.
151
+
152
+ ### More Features
153
+
154
+ * [Character Counter](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/character-counter/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Set a maximum length and show the character count and the max value.
155
+ * [Adornments](https://www.telerik.com/kendo-angular-ui/components/inputs/textarea/adornments/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Add custom items such as close buttons, insert attachement buttons, and settings buttons.
156
+
157
+ ## Angular TextBox Component
158
+
159
+ The [Angular TextBox Component](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs) provides options for creating composite inputs that you can integrate within forms or use as standalone items.
160
+
161
+ ### More Features
162
+
163
+ * [Character Counter](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/character-counter/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Set a maximum length and show the character count and the max value.
164
+ * [Adornments](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/adornments/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Add custom items such as close buttons, insert attachement buttons, and settings buttons.
165
+ * [Validation Icons](https://www.telerik.com/kendo-angular-ui/components/inputs/textbox/validation-icons/?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)&mdash;Use built-in or custom icons to indicate successful and erroneous processes based on different conditions or validation.
166
+
167
+
168
+ ## Resources
169
+
170
+ * [Get Started with Kendo UI for Angular (requires trial registration)](https://www.telerik.com/kendo-angular-ui/getting-started?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)
171
+ * [Demos, documentation, and component reference](https://www.telerik.com/kendo-angular-ui/components?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)
172
+ * [Blogs](http://www.telerik.com/blogs/kendo-ui)
173
+ * [Kendo UI for Angular pricing and licensing](https://www.telerik.com/purchase/kendo-ui?utm_medium=referral&utm_source=npm&utm_campaign=kendo-ui-angular-trial-npm-inputs)
174
+
175
+ ## Questions and Feedback
176
+
177
+ * [Official Forums](https://www.telerik.com/forums/kendo-angular-ui)
178
+ * [GitHub Issues](https://github.com/telerik/kendo-angular/issues)
179
+ * [Feedback Portal](https://feedback.telerik.com/kendo-angular-ui)
180
+ * [StackOverflow](https://stackoverflow.com/questions/tagged/kendo-ui-angular2)
181
+
182
+ *Copyright © 2023 Progress Software Corporation and/or one of its subsidiaries or affiliates. All rights reserved.*
183
+
184
+ *Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries.*
@@ -0,0 +1,52 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ElementRef, Renderer2 } from '@angular/core';
6
+ import { CheckBoxRounded, InputSize } from '../common/models';
7
+ import * as i0 from "@angular/core";
8
+ /**
9
+ * Represents the directive that renders the [Kendo UI CheckBox]({% slug overview_checkbox %}) input component.
10
+ * The directive is placed on input type="checkbox" elements.
11
+ *
12
+ * @example
13
+ * ```ts-no-run
14
+ * <input type="checkbox" kendoCheckBox />
15
+ * ```
16
+ */
17
+ export declare class CheckBoxDirective {
18
+ private renderer;
19
+ private hostElement;
20
+ kendoClass: boolean;
21
+ /**
22
+ * The size property specifies the width and height of the CheckBox
23
+ * ([see example]({% slug appearance_checkboxdirective %}#toc-size)).
24
+ *
25
+ * The possible values are:
26
+ * * `small`
27
+ * * `medium` (default)
28
+ * * `large`
29
+ * * `none`
30
+ */
31
+ set size(size: InputSize);
32
+ get size(): InputSize;
33
+ /**
34
+ * The rounded property specifies the border radius of the CheckBox
35
+ * ([see example]({% slug appearance_checkboxdirective %}#toc-rounded)).
36
+ *
37
+ * The possible values are:
38
+ * * `small`
39
+ * * `medium` (default)
40
+ * * `large`
41
+ * * `none`
42
+ */
43
+ set rounded(rounded: CheckBoxRounded);
44
+ get rounded(): CheckBoxRounded;
45
+ private _size;
46
+ private _rounded;
47
+ constructor(renderer: Renderer2, hostElement: ElementRef);
48
+ ngAfterViewInit(): void;
49
+ private handleClasses;
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxDirective, never>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CheckBoxDirective, "input[kendoCheckBox]", never, { "size": "size"; "rounded": "rounded"; }, {}, never>;
52
+ }
@@ -0,0 +1,43 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "./checkbox/checkbox.directive";
7
+ import * as i2 from "@angular/common";
8
+ /**
9
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
10
+ * definition for the CheckBox directive.
11
+ *
12
+ * @example
13
+ *
14
+ * ```ts-no-run
15
+ * // Import the CheckBox module
16
+ * import { CheckBoxModule } from '@progress/kendo-angular-inputs';
17
+ *
18
+ * // The browser platform with a compiler
19
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
20
+ *
21
+ * import { NgModule } from '@angular/core';
22
+ *
23
+ * // Import the app component
24
+ * import { AppComponent } from './app.component';
25
+ *
26
+ * // Define the app module
27
+ * _@NgModule({
28
+ * declarations: [AppComponent], // declare app component
29
+ * imports: [BrowserModule, CheckBoxModule], // import CheckBox module
30
+ * bootstrap: [AppComponent]
31
+ * })
32
+ * export class AppModule {}
33
+ *
34
+ * // Compile and launch the module
35
+ * platformBrowserDynamic().bootstrapModule(AppModule);
36
+ *
37
+ * ```
38
+ */
39
+ export declare class CheckBoxModule {
40
+ static ɵfac: i0.ɵɵFactoryDeclaration<CheckBoxModule, never>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CheckBoxModule, [typeof i1.CheckBoxDirective], [typeof i2.CommonModule], [typeof i1.CheckBoxDirective]>;
42
+ static ɵinj: i0.ɵɵInjectorDeclaration<CheckBoxModule>;
43
+ }
@@ -0,0 +1,29 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { SimpleChanges, AfterViewInit, OnChanges } from '@angular/core';
6
+ import { BehaviorSubject } from 'rxjs';
7
+ import { HSVA } from './models';
8
+ import * as i0 from "@angular/core";
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare class ColorContrastSvgComponent implements AfterViewInit, OnChanges {
13
+ hostClass: boolean;
14
+ wrapper: any;
15
+ hsva: BehaviorSubject<HSVA>;
16
+ backgroundColor: string;
17
+ paths: any[];
18
+ oldHsva: HSVA;
19
+ oldH: number;
20
+ oldA: number;
21
+ metrics: any;
22
+ ngAfterViewInit(): void;
23
+ ngOnChanges(changes: SimpleChanges): void;
24
+ setPaths(): void;
25
+ private findValue;
26
+ private getPaths;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorContrastSvgComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColorContrastSvgComponent, "[kendoColorContrastSvg]", never, { "wrapper": "wrapper"; "hsva": "hsva"; "backgroundColor": "backgroundColor"; }, {}, never, never>;
29
+ }
@@ -0,0 +1,20 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { OnInit } from '@angular/core';
6
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
7
+ import { NumericTextBoxComponent } from './../numerictextbox/numerictextbox.component';
8
+ import * as i0 from "@angular/core";
9
+ /**
10
+ * @hidden
11
+ */
12
+ export declare class NumericLabelDirective implements OnInit {
13
+ private host;
14
+ kendoAdditionalNumericLabel: 'red' | 'green' | 'blue' | 'alpha';
15
+ localizationService: LocalizationService;
16
+ constructor(host: NumericTextBoxComponent);
17
+ ngOnInit(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<NumericLabelDirective, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NumericLabelDirective, "[kendoAdditionalNumericLabel]", never, { "kendoAdditionalNumericLabel": "kendoAdditionalNumericLabel"; "localizationService": "localizationService"; }, {}, never>;
20
+ }
@@ -0,0 +1,281 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { ElementRef, Renderer2, NgZone, EventEmitter, SimpleChanges, OnChanges, OnDestroy, ChangeDetectorRef, Injector, OnInit } from '@angular/core';
6
+ import { ControlValueAccessor } from '@angular/forms';
7
+ import { BehaviorSubject } from 'rxjs';
8
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
9
+ import { OutputFormat, HSVA } from './models';
10
+ import { KendoDragEvent } from './events/kendo-drag-event';
11
+ import { ColorInputComponent } from './color-input.component';
12
+ import { SVGIcon } from '@progress/kendo-angular-icons';
13
+ import * as i0 from "@angular/core";
14
+ /**
15
+ * The ColorGradient component enables smooth color transitions and provides options for selecting specific colors over the drag handle.
16
+ * The ColorGradient is independently used by `kendo-colorpicker` and can be directly added to the page.
17
+ */
18
+ export declare class ColorGradientComponent implements OnInit, OnChanges, OnDestroy, ControlValueAccessor {
19
+ private host;
20
+ private ngZone;
21
+ private renderer;
22
+ private cdr;
23
+ private localizationService;
24
+ private injector;
25
+ hostClasses: boolean;
26
+ get readonlyAttribute(): boolean;
27
+ get disabledClass(): boolean;
28
+ get gradientId(): string;
29
+ direction: string;
30
+ get hostTabindex(): string;
31
+ ariaRole: string;
32
+ get isControlInvalid(): string;
33
+ get isDisabled(): string | undefined;
34
+ /**
35
+ * @hidden
36
+ */
37
+ enterHandler(event: any): void;
38
+ /**
39
+ * @hidden
40
+ */
41
+ escapeHandler(event: any): void;
42
+ /**
43
+ * @hidden
44
+ */
45
+ focusHandler(ev: any): void;
46
+ /**
47
+ * @hidden
48
+ */
49
+ id: string;
50
+ /**
51
+ * Defines whether the alpha slider will be displayed.
52
+ *
53
+ * @default true
54
+ */
55
+ opacity: boolean;
56
+ /**
57
+ * Sets the disabled state of the ColorGradient.
58
+ *
59
+ * @default false
60
+ */
61
+ disabled: boolean;
62
+ /**
63
+ * Sets the read-only state of the ColorGradient.
64
+ *
65
+ * @default false
66
+ */
67
+ readonly: boolean;
68
+ /**
69
+ * Specifies whether the ColorGradient should display a 'Clear color' button.
70
+ *
71
+ * @default false
72
+ */
73
+ clearButton: boolean;
74
+ /**
75
+ * Determines the delay time (in milliseconds) before the value is changed on handle drag. A value of 0 indicates no delay.
76
+ *
77
+ * @default 0
78
+ */
79
+ delay: number;
80
+ /**
81
+ * Specifies the value of the initially selected color.
82
+ */
83
+ set value(value: string);
84
+ get value(): string;
85
+ /**
86
+ * Enables the color contrast tool. Accepts the background color that will be compared to the selected value.
87
+ * The tool will calculate the contrast ratio between the two colors.
88
+ */
89
+ set contrastTool(value: string);
90
+ get contrastTool(): string;
91
+ /**
92
+ * Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
93
+ *
94
+ * @default 0
95
+ */
96
+ set tabindex(value: number);
97
+ get tabindex(): number;
98
+ /**
99
+ * Specifies the output format of the ColorGradientComponent.
100
+ * The input value may be in a different format, but it will be parsed into the output `format`
101
+ * after the component processes it.
102
+ *
103
+ * The supported values are:
104
+ * * (Default) `rgba`
105
+ * * `hex`
106
+ */
107
+ format: OutputFormat;
108
+ /**
109
+ * Fires each time the user selects a new color.
110
+ */
111
+ valueChange: EventEmitter<string>;
112
+ /**
113
+ * @hidden
114
+ */
115
+ backgroundColor: string;
116
+ /**
117
+ * @hidden
118
+ *
119
+ * Represents the currently selected `hue`, `saturation`, `value`, and `alpha` values.
120
+ * The values are initially set in `ngOnInit` or in `ngOnChanges` and are
121
+ * updated on moving the drag handle or the sliders.
122
+ */
123
+ hsva: BehaviorSubject<HSVA>;
124
+ /**
125
+ * Indicates whether the ColorGradient or any of its content is focused.
126
+ */
127
+ get isFocused(): boolean;
128
+ /**
129
+ * @hidden
130
+ */
131
+ get alphaSliderValue(): number;
132
+ /**
133
+ * Determines the step (in pixels) when moving the gradient drag handle using the keyboard arrow keys.
134
+ *
135
+ * @default 5
136
+ */
137
+ gradientSliderStep: number;
138
+ /**
139
+ * Determines the step (in pixels) when moving the gradient drag handle using the keyboard arrow keys while holding the shift key.
140
+ *
141
+ * @default 2
142
+ */
143
+ gradientSliderSmallStep: number;
144
+ gradientDragHandle: ElementRef;
145
+ inputs: ColorInputComponent;
146
+ private alphaSlider;
147
+ private gradientWrapper;
148
+ private hsvRectangle;
149
+ /**
150
+ * @hidden
151
+ */
152
+ internalNavigation: boolean;
153
+ /**
154
+ * @hidden
155
+ */
156
+ dropletSlashIcon: SVGIcon;
157
+ private _value;
158
+ private _tabindex;
159
+ private _contrastTool;
160
+ private listeners;
161
+ private hueSliderTouched;
162
+ private alphaSliderTouched;
163
+ private updateValues;
164
+ private changeRequestsSubscription;
165
+ private dynamicRTLSubscription;
166
+ private hsvHandleCoordinates;
167
+ get gradientRect(): ClientRect;
168
+ /**
169
+ * @hidden
170
+ */
171
+ get hsvSliderValueText(): string;
172
+ /**
173
+ * @hidden
174
+ */
175
+ get contrastToolVisible(): boolean;
176
+ /**
177
+ * @hidden
178
+ */
179
+ get innerTabIndex(): number;
180
+ private control;
181
+ constructor(host: ElementRef, ngZone: NgZone, renderer: Renderer2, cdr: ChangeDetectorRef, localizationService: LocalizationService, injector: Injector);
182
+ ngOnInit(): void;
183
+ ngAfterViewInit(): void;
184
+ ngOnChanges(changes: SimpleChanges): void;
185
+ ngOnDestroy(): void;
186
+ /**
187
+ * Focuses the component.
188
+ */
189
+ focus(): void;
190
+ /**
191
+ * @hidden
192
+ */
193
+ reset(): void;
194
+ /**
195
+ * @hidden
196
+ */
197
+ handleDragPress(args: KendoDragEvent): void;
198
+ /**
199
+ * @hidden
200
+ */
201
+ onHandleDrag(args: any): void;
202
+ /**
203
+ * @hidden
204
+ */
205
+ onHandleRelease(): void;
206
+ /**
207
+ * @hidden
208
+ */
209
+ onKeyboardAction(args: any): void;
210
+ /**
211
+ * @hidden
212
+ */
213
+ changePosition(position: MouseEvent): void;
214
+ /**
215
+ * @hidden
216
+ */
217
+ handleHueSliderChange(hue: number): void;
218
+ /**
219
+ * @hidden
220
+ */
221
+ handleAlphaSliderChange(alpha: number): void;
222
+ /**
223
+ * @hidden
224
+ */
225
+ handleInputsValueChange(color: string): void;
226
+ /**
227
+ * @hidden
228
+ */
229
+ writeValue(value: string): void;
230
+ /**
231
+ * @hidden
232
+ */
233
+ registerOnChange(fn: any): void;
234
+ /**
235
+ * @hidden
236
+ */
237
+ registerOnTouched(fn: any): void;
238
+ /**
239
+ * @hidden
240
+ */
241
+ setDisabledState(isDisabled: boolean): void;
242
+ /**
243
+ * @hidden
244
+ */
245
+ get colorGradientHandleTitle(): string;
246
+ /**
247
+ * @hidden
248
+ */
249
+ get colorGradientHandleAriaLabel(): string;
250
+ /**
251
+ * @hidden
252
+ */
253
+ get hueSliderTitle(): string;
254
+ /**
255
+ * @hidden
256
+ */
257
+ get opacitySliderTitle(): string;
258
+ /**
259
+ * @hidden
260
+ */
261
+ get clearButtonTitle(): string;
262
+ /**
263
+ * @hidden
264
+ * Used by the FloatingLabel to determine if the component is empty.
265
+ */
266
+ isEmpty(): boolean;
267
+ private notifyNgChanged;
268
+ private notifyNgTouched;
269
+ private moveDragHandle;
270
+ private handleValueChange;
271
+ private setDragHandleElementPosition;
272
+ private setAlphaSliderBackground;
273
+ private setHostElementAriaLabel;
274
+ private setBackgroundColor;
275
+ private updateUI;
276
+ private addEventListeners;
277
+ private subscribeChanges;
278
+ private unsubscribeChanges;
279
+ static ɵfac: i0.ɵɵFactoryDeclaration<ColorGradientComponent, never>;
280
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColorGradientComponent, "kendo-colorgradient", ["kendoColorGradient"], { "id": "id"; "opacity": "opacity"; "disabled": "disabled"; "readonly": "readonly"; "clearButton": "clearButton"; "delay": "delay"; "value": "value"; "contrastTool": "contrastTool"; "tabindex": "tabindex"; "format": "format"; "gradientSliderStep": "gradientSliderStep"; "gradientSliderSmallStep": "gradientSliderSmallStep"; }, { "valueChange": "valueChange"; }, never, never>;
281
+ }