@progress/kendo-angular-inputs 10.1.2-dev.202211170755 → 11.0.0-develop.79

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 (303) hide show
  1. package/NOTICE.txt +3 -3
  2. package/README.md +19 -19
  3. package/checkbox/checkbox.directive.d.ts +1 -1
  4. package/checkbox.module.d.ts +2 -2
  5. package/colorpicker/color-contrast-svg.component.d.ts +1 -1
  6. package/colorpicker/color-gradient-numeric-label.directive.d.ts +1 -1
  7. package/colorpicker/color-gradient.component.d.ts +1 -1
  8. package/colorpicker/color-input.component.d.ts +1 -1
  9. package/colorpicker/color-palette.component.d.ts +1 -1
  10. package/colorpicker/colorpicker.component.d.ts +1 -1
  11. package/colorpicker/constants.d.ts +2 -2
  12. package/colorpicker/contrast-validation.component.d.ts +1 -1
  13. package/colorpicker/contrast.component.d.ts +1 -1
  14. package/colorpicker/events/active-color-click-event.d.ts +1 -1
  15. package/colorpicker/events/cancel-event.d.ts +1 -1
  16. package/colorpicker/events/close-event.d.ts +1 -1
  17. package/colorpicker/events/kendo-drag-event.d.ts +1 -1
  18. package/colorpicker/events/open-event.d.ts +1 -1
  19. package/colorpicker/events.d.ts +1 -1
  20. package/colorpicker/flatcolorpicker-actions.component.d.ts +1 -1
  21. package/colorpicker/flatcolorpicker-header.component.d.ts +1 -1
  22. package/colorpicker/flatcolorpicker.component.d.ts +1 -1
  23. package/colorpicker/focus-on-dom-ready.directive.d.ts +1 -1
  24. package/colorpicker/localization/colorgradient-localization.service.d.ts +1 -1
  25. package/colorpicker/localization/colorpalette-localization.service.d.ts +1 -1
  26. package/colorpicker/localization/colorpicker-localization.service.d.ts +1 -1
  27. package/colorpicker/localization/custom-messages.component.d.ts +1 -1
  28. package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +1 -1
  29. package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +1 -1
  30. package/colorpicker/localization/messages.d.ts +1 -1
  31. package/colorpicker/models/actions-layout.d.ts +1 -1
  32. package/colorpicker/models/colorpicker-view.d.ts +1 -1
  33. package/colorpicker/models/gradient-settings.d.ts +1 -1
  34. package/colorpicker/models/hsva.d.ts +1 -1
  35. package/colorpicker/models/output-format.d.ts +1 -1
  36. package/colorpicker/models/palette-presets.d.ts +1 -1
  37. package/colorpicker/models/palette-settings.d.ts +1 -1
  38. package/colorpicker/models/popup-settings.d.ts +1 -1
  39. package/colorpicker/models/rgb.d.ts +1 -1
  40. package/colorpicker/models/rgba.d.ts +1 -1
  41. package/colorpicker/models/table-cell.d.ts +1 -1
  42. package/colorpicker/models/tile-size.d.ts +1 -1
  43. package/colorpicker/models.d.ts +1 -1
  44. package/colorpicker/services/color-palette.service.d.ts +1 -1
  45. package/colorpicker/services/flatcolorpicker.service.d.ts +1 -1
  46. package/colorpicker/utils/color-parser.d.ts +1 -1
  47. package/colorpicker/utils/contrast-curve.d.ts +1 -1
  48. package/colorpicker/utils.d.ts +1 -1
  49. package/colorpicker.module.d.ts +2 -2
  50. package/common/dom-utils.d.ts +1 -1
  51. package/common/math.d.ts +1 -1
  52. package/common/models/fillmode.d.ts +1 -1
  53. package/common/models/rounded.d.ts +1 -1
  54. package/common/models/size.d.ts +1 -1
  55. package/common/models/styling-classes.d.ts +1 -1
  56. package/common/models.d.ts +1 -1
  57. package/common/utils.d.ts +1 -1
  58. package/{esm2015/checkbox/checkbox.directive.js → esm2020/checkbox/checkbox.directive.mjs} +5 -5
  59. package/{esm2015/checkbox.module.js → esm2020/checkbox.module.mjs} +6 -6
  60. package/{esm2015/colorpicker/color-contrast-svg.component.js → esm2020/colorpicker/color-contrast-svg.component.mjs} +10 -5
  61. package/{esm2015/colorpicker/color-gradient-numeric-label.directive.js → esm2020/colorpicker/color-gradient-numeric-label.directive.mjs} +6 -4
  62. package/{esm2015/colorpicker/color-gradient.component.js → esm2020/colorpicker/color-gradient.component.mjs} +25 -37
  63. package/{esm2015/colorpicker/color-input.component.js → esm2020/colorpicker/color-input.component.mjs} +9 -8
  64. package/{esm2015/colorpicker/color-palette.component.js → esm2020/colorpicker/color-palette.component.mjs} +7 -7
  65. package/{esm2015/colorpicker/colorpicker.component.js → esm2020/colorpicker/colorpicker.component.mjs} +10 -9
  66. package/{esm2015/colorpicker/constants.js → esm2020/colorpicker/constants.mjs} +1 -1
  67. package/{esm2015/colorpicker/contrast-validation.component.js → esm2020/colorpicker/contrast-validation.component.mjs} +6 -5
  68. package/{esm2015/colorpicker/contrast.component.js → esm2020/colorpicker/contrast.component.mjs} +6 -5
  69. package/{esm2015/colorpicker/events/active-color-click-event.js → esm2020/colorpicker/events/active-color-click-event.mjs} +1 -1
  70. package/{esm2015/colorpicker/events/cancel-event.js → esm2020/colorpicker/events/cancel-event.mjs} +1 -1
  71. package/{esm2015/colorpicker/events/close-event.js → esm2020/colorpicker/events/close-event.mjs} +1 -1
  72. package/{esm2015/colorpicker/models/gradient-settings.js → esm2020/colorpicker/events/kendo-drag-event.mjs} +1 -1
  73. package/{esm2015/colorpicker/events/open-event.js → esm2020/colorpicker/events/open-event.mjs} +1 -1
  74. package/{esm2015/colorpicker/events.js → esm2020/colorpicker/events.mjs} +1 -1
  75. package/{esm2015/colorpicker/flatcolorpicker-actions.component.js → esm2020/colorpicker/flatcolorpicker-actions.component.mjs} +6 -5
  76. package/{esm2015/colorpicker/flatcolorpicker-header.component.js → esm2020/colorpicker/flatcolorpicker-header.component.mjs} +6 -5
  77. package/{esm2015/colorpicker/flatcolorpicker.component.js → esm2020/colorpicker/flatcolorpicker.component.mjs} +20 -20
  78. package/{esm2015/colorpicker/focus-on-dom-ready.directive.js → esm2020/colorpicker/focus-on-dom-ready.directive.mjs} +5 -5
  79. package/{esm2015/colorpicker/localization/colorgradient-localization.service.js → esm2020/colorpicker/localization/colorgradient-localization.service.mjs} +5 -5
  80. package/{esm2015/colorpicker/localization/colorpalette-localization.service.js → esm2020/colorpicker/localization/colorpalette-localization.service.mjs} +5 -5
  81. package/{esm2015/colorpicker/localization/colorpicker-localization.service.js → esm2020/colorpicker/localization/colorpicker-localization.service.mjs} +5 -5
  82. package/{esm2015/colorpicker/localization/custom-messages.component.js → esm2020/colorpicker/localization/custom-messages.component.mjs} +5 -4
  83. package/{esm2015/colorpicker/localization/flatcolorpicker-localization.service.js → esm2020/colorpicker/localization/flatcolorpicker-localization.service.mjs} +5 -5
  84. package/{esm2015/colorpicker/localization/localized-colorpicker-messages.directive.js → esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs} +5 -4
  85. package/{esm2015/colorpicker/localization/messages.js → esm2020/colorpicker/localization/messages.mjs} +4 -4
  86. package/{esm2015/colorpicker/models/colorpicker-view.js → esm2020/colorpicker/models/actions-layout.mjs} +1 -1
  87. package/{esm2015/colorpicker/models/actions-layout.js → esm2020/colorpicker/models/colorpicker-view.mjs} +1 -1
  88. package/{esm2015/colorpicker/events/kendo-drag-event.js → esm2020/colorpicker/models/gradient-settings.mjs} +1 -1
  89. package/esm2020/colorpicker/models/hsva.mjs +5 -0
  90. package/esm2020/colorpicker/models/output-format.mjs +5 -0
  91. package/{esm2015/colorpicker/models/palette-presets.js → esm2020/colorpicker/models/palette-presets.mjs} +1 -1
  92. package/esm2020/colorpicker/models/palette-settings.mjs +5 -0
  93. package/esm2020/colorpicker/models/popup-settings.mjs +5 -0
  94. package/esm2020/colorpicker/models/rgb.mjs +5 -0
  95. package/esm2020/colorpicker/models/rgba.mjs +5 -0
  96. package/esm2020/colorpicker/models/table-cell.mjs +5 -0
  97. package/{esm2015/colorpicker/models/tile-size.js → esm2020/colorpicker/models/tile-size.mjs} +1 -1
  98. package/{esm2015/colorpicker/models.js → esm2020/colorpicker/models.mjs} +1 -1
  99. package/{esm2015/colorpicker/services/color-palette.service.js → esm2020/colorpicker/services/color-palette.service.mjs} +4 -4
  100. package/{esm2015/colorpicker/services/flatcolorpicker.service.js → esm2020/colorpicker/services/flatcolorpicker.service.mjs} +4 -4
  101. package/{esm2015/colorpicker/utils/color-parser.js → esm2020/colorpicker/utils/color-parser.mjs} +2 -2
  102. package/{esm2015/colorpicker/utils/contrast-curve.js → esm2020/colorpicker/utils/contrast-curve.mjs} +1 -1
  103. package/{esm2015/colorpicker/utils.js → esm2020/colorpicker/utils.mjs} +1 -1
  104. package/{esm2015/colorpicker.module.js → esm2020/colorpicker.module.mjs} +6 -6
  105. package/{esm2015/common/dom-utils.js → esm2020/common/dom-utils.mjs} +2 -1
  106. package/{esm2015/common/math.js → esm2020/common/math.mjs} +1 -1
  107. package/esm2020/common/models/fillmode.mjs +5 -0
  108. package/esm2020/common/models/rounded.mjs +5 -0
  109. package/esm2020/common/models/size.mjs +5 -0
  110. package/esm2020/common/models/styling-classes.mjs +5 -0
  111. package/{esm2015/common/models.js → esm2020/common/models.mjs} +1 -1
  112. package/{esm2015/common/utils.js → esm2020/common/utils.mjs} +1 -1
  113. package/{esm2015/formfield/error.component.js → esm2020/formfield/error.component.mjs} +4 -4
  114. package/{esm2015/formfield/formfield.component.js → esm2020/formfield/formfield.component.mjs} +5 -5
  115. package/{esm2015/formfield/hint.component.js → esm2020/formfield/hint.component.mjs} +4 -4
  116. package/esm2020/formfield/models/message-align.mjs +5 -0
  117. package/esm2020/formfield/models/orientation.mjs +5 -0
  118. package/esm2020/formfield/models/show-options.mjs +5 -0
  119. package/{esm2015/formfield.module.js → esm2020/formfield.module.mjs} +6 -6
  120. package/{esm2015/main.js → esm2020/index.mjs} +1 -1
  121. package/{esm2015/inputs.module.js → esm2020/inputs.module.mjs} +6 -6
  122. package/{esm2015/maskedtextbox/maskedtextbox.component.js → esm2020/maskedtextbox/maskedtextbox.component.mjs} +8 -8
  123. package/{esm2015/maskedtextbox/masking.service.js → esm2020/maskedtextbox/masking.service.mjs} +5 -5
  124. package/{esm2015/maskedtextbox/parsing/combinators.js → esm2020/maskedtextbox/parsing/combinators.mjs} +1 -1
  125. package/{esm2015/maskedtextbox/parsing/parsers.js → esm2020/maskedtextbox/parsing/parsers.mjs} +4 -4
  126. package/{esm2015/maskedtextbox/parsing/result.js → esm2020/maskedtextbox/parsing/result.mjs} +1 -1
  127. package/{esm2015/maskedtextbox/parsing/stream.js → esm2020/maskedtextbox/parsing/stream.mjs} +1 -1
  128. package/{esm2015/maskedtextbox.module.js → esm2020/maskedtextbox.module.mjs} +6 -6
  129. package/{esm2015/numerictextbox/arrow-direction.js → esm2020/numerictextbox/arrow-direction.mjs} +1 -1
  130. package/{esm2015/numerictextbox/constants.js → esm2020/numerictextbox/constants.mjs} +1 -1
  131. package/{esm2015/numerictextbox/localization/custom-messages.component.js → esm2020/numerictextbox/localization/custom-messages.component.mjs} +5 -4
  132. package/{esm2015/numerictextbox/localization/localized-numerictextbox-messages.directive.js → esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs} +5 -4
  133. package/{esm2015/numerictextbox/localization/messages.js → esm2020/numerictextbox/localization/messages.mjs} +4 -4
  134. package/{esm2015/numerictextbox/numerictextbox.component.js → esm2020/numerictextbox/numerictextbox.component.mjs} +11 -10
  135. package/{esm2015/numerictextbox/utils.js → esm2020/numerictextbox/utils.mjs} +3 -2
  136. package/{esm2015/numerictextbox.module.js → esm2020/numerictextbox.module.mjs} +6 -6
  137. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
  138. package/{esm2015/kendo-angular-inputs.js → esm2020/progress-kendo-angular-inputs.mjs} +2 -2
  139. package/{esm2015/radiobutton/radiobutton.directive.js → esm2020/radiobutton/radiobutton.directive.mjs} +5 -5
  140. package/{esm2015/radiobutton.module.js → esm2020/radiobutton.module.mjs} +6 -6
  141. package/{esm2015/rangeslider/localization/custom-messages.component.js → esm2020/rangeslider/localization/custom-messages.component.mjs} +5 -4
  142. package/{esm2015/rangeslider/localization/localized-rangeslider-messages.directive.js → esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs} +5 -4
  143. package/{esm2015/rangeslider/localization/messages.js → esm2020/rangeslider/localization/messages.mjs} +4 -4
  144. package/{esm2015/rangeslider/rangeslider-model.js → esm2020/rangeslider/rangeslider-model.mjs} +1 -1
  145. package/esm2020/rangeslider/rangeslider-value.type.mjs +5 -0
  146. package/{esm2015/rangeslider/rangeslider.component.js → esm2020/rangeslider/rangeslider.component.mjs} +8 -8
  147. package/{esm2015/rangeslider.module.js → esm2020/rangeslider.module.mjs} +6 -6
  148. package/{esm2015/shared/input-separator.component.js → esm2020/shared/input-separator.component.mjs} +4 -4
  149. package/{esm2015/shared/textarea.directive.js → esm2020/shared/textarea.directive.mjs} +5 -5
  150. package/{esm2015/shared/utils.js → esm2020/shared/utils.mjs} +1 -1
  151. package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
  152. package/{esm2015/signature/events/close-event.js → esm2020/signature/events/close-event.mjs} +1 -1
  153. package/{esm2015/signature/events/index.js → esm2020/signature/events/index.mjs} +1 -1
  154. package/{esm2015/signature/events/open-event.js → esm2020/signature/events/open-event.mjs} +1 -1
  155. package/{esm2015/signature/localization/custom-messages.component.js → esm2020/signature/localization/custom-messages.component.mjs} +5 -4
  156. package/{esm2015/signature/localization/index.js → esm2020/signature/localization/index.mjs} +1 -1
  157. package/{esm2015/signature/localization/localized-signature-messages.directive.js → esm2020/signature/localization/localized-signature-messages.directive.mjs} +5 -4
  158. package/{esm2015/signature/localization/messages.js → esm2020/signature/localization/messages.mjs} +4 -4
  159. package/{esm2015/signature/signature.component.js → esm2020/signature/signature.component.mjs} +44 -45
  160. package/{esm2015/signature.module.js → esm2020/signature.module.mjs} +6 -6
  161. package/{esm2015/slider/localization/custom-messages.component.js → esm2020/slider/localization/custom-messages.component.mjs} +5 -4
  162. package/{esm2015/slider/localization/localized-slider-messages.directive.js → esm2020/slider/localization/localized-slider-messages.directive.mjs} +5 -4
  163. package/{esm2015/slider/localization/messages.js → esm2020/slider/localization/messages.mjs} +4 -4
  164. package/{esm2015/slider/slider-model.js → esm2020/slider/slider-model.mjs} +1 -1
  165. package/{esm2015/slider/slider.component.js → esm2020/slider/slider.component.mjs} +5 -5
  166. package/{esm2015/slider.module.js → esm2020/slider.module.mjs} +6 -6
  167. package/{esm2015/sliders-common/label-template.directive.js → esm2020/sliders-common/label-template.directive.mjs} +5 -5
  168. package/{esm2015/sliders-common/slider-base.js → esm2020/sliders-common/slider-base.mjs} +6 -5
  169. package/{esm2015/sliders-common/slider-model.base.js → esm2020/sliders-common/slider-model.base.mjs} +1 -1
  170. package/{esm2015/sliders-common/slider-ticks.component.js → esm2020/sliders-common/slider-ticks.component.mjs} +6 -6
  171. package/{esm2015/sliders-common/sliders-common.module.js → esm2020/sliders-common/sliders-common.module.mjs} +5 -5
  172. package/{esm2015/sliders-common/sliders-util.js → esm2020/sliders-common/sliders-util.mjs} +1 -1
  173. package/esm2020/sliders-common/title-callback.mjs +5 -0
  174. package/{esm2015/switch/localization/custom-messages.component.js → esm2020/switch/localization/custom-messages.component.mjs} +5 -4
  175. package/{esm2015/switch/localization/localized-switch-messages.directive.js → esm2020/switch/localization/localized-switch-messages.directive.mjs} +5 -4
  176. package/{esm2015/switch/localization/messages.js → esm2020/switch/localization/messages.mjs} +4 -4
  177. package/{esm2015/switch/switch.component.js → esm2020/switch/switch.component.mjs} +8 -10
  178. package/{esm2015/switch.module.js → esm2020/switch.module.mjs} +6 -6
  179. package/{esm2015/text-fields-common/text-fields-base.js → esm2020/text-fields-common/text-fields-base.mjs} +6 -5
  180. package/esm2020/textarea/models/flow.mjs +5 -0
  181. package/esm2020/textarea/models/resize.mjs +5 -0
  182. package/{esm2015/textarea/textarea-suffix.component.js → esm2020/textarea/textarea-suffix.component.mjs} +4 -4
  183. package/{esm2015/textarea/textarea.component.js → esm2020/textarea/textarea.component.mjs} +6 -6
  184. package/{esm2015/textarea.module.js → esm2020/textarea.module.mjs} +6 -6
  185. package/{esm2015/textbox/localization/custom-messages.component.js → esm2020/textbox/localization/custom-messages.component.mjs} +5 -4
  186. package/{esm2015/textbox/localization/localized-textbox-messages.directive.js → esm2020/textbox/localization/localized-textbox-messages.directive.mjs} +5 -4
  187. package/{esm2015/textbox/localization/messages.js → esm2020/textbox/localization/messages.mjs} +4 -4
  188. package/esm2020/textbox/models/icon-show-options.mjs +5 -0
  189. package/{esm2015/textbox/textbox-prefix.directive.js → esm2020/textbox/textbox-prefix.directive.mjs} +5 -5
  190. package/{esm2015/textbox/textbox-suffix.directive.js → esm2020/textbox/textbox-suffix.directive.mjs} +5 -5
  191. package/{esm2015/textbox/textbox.component.js → esm2020/textbox/textbox.component.mjs} +6 -6
  192. package/{esm2015/textbox/textbox.directive.js → esm2020/textbox/textbox.directive.mjs} +5 -5
  193. package/{esm2015/textbox.module.js → esm2020/textbox.module.mjs} +6 -6
  194. package/{esm2015/validators/max.validator.js → esm2020/validators/max.validator.mjs} +1 -1
  195. package/{esm2015/validators/min.validator.js → esm2020/validators/min.validator.mjs} +1 -1
  196. package/fesm2015/progress-kendo-angular-inputs.mjs +14687 -0
  197. package/{fesm2015/kendo-angular-inputs.js → fesm2020/progress-kendo-angular-inputs.mjs} +799 -817
  198. package/formfield/error.component.d.ts +1 -1
  199. package/formfield/formfield.component.d.ts +1 -1
  200. package/formfield/hint.component.d.ts +1 -1
  201. package/formfield/models/message-align.d.ts +1 -1
  202. package/formfield/models/orientation.d.ts +1 -1
  203. package/formfield/models/show-options.d.ts +1 -1
  204. package/formfield.module.d.ts +2 -2
  205. package/{main.d.ts → index.d.ts} +1 -1
  206. package/inputs.module.d.ts +2 -2
  207. package/maskedtextbox/maskedtextbox.component.d.ts +1 -1
  208. package/maskedtextbox/masking.service.d.ts +1 -1
  209. package/maskedtextbox/parsing/combinators.d.ts +1 -1
  210. package/maskedtextbox/parsing/parsers.d.ts +1 -1
  211. package/maskedtextbox/parsing/result.d.ts +1 -1
  212. package/maskedtextbox/parsing/stream.d.ts +1 -1
  213. package/maskedtextbox.module.d.ts +2 -2
  214. package/numerictextbox/arrow-direction.d.ts +1 -1
  215. package/numerictextbox/constants.d.ts +4 -4
  216. package/numerictextbox/localization/custom-messages.component.d.ts +1 -1
  217. package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +1 -1
  218. package/numerictextbox/localization/messages.d.ts +1 -1
  219. package/numerictextbox/numerictextbox.component.d.ts +2 -2
  220. package/numerictextbox/utils.d.ts +1 -1
  221. package/numerictextbox.module.d.ts +2 -2
  222. package/package-metadata.d.ts +1 -1
  223. package/package.json +33 -61
  224. package/{kendo-angular-inputs.d.ts → progress-kendo-angular-inputs.d.ts} +2 -2
  225. package/radiobutton/radiobutton.directive.d.ts +1 -1
  226. package/radiobutton.module.d.ts +2 -2
  227. package/rangeslider/localization/custom-messages.component.d.ts +1 -1
  228. package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +1 -1
  229. package/rangeslider/localization/messages.d.ts +1 -1
  230. package/rangeslider/rangeslider-model.d.ts +1 -1
  231. package/rangeslider/rangeslider-value.type.d.ts +1 -1
  232. package/rangeslider/rangeslider.component.d.ts +1 -1
  233. package/rangeslider.module.d.ts +2 -2
  234. package/schematics/ngAdd/index.js +1 -5
  235. package/shared/input-separator.component.d.ts +1 -1
  236. package/shared/textarea.directive.d.ts +1 -1
  237. package/shared/utils.d.ts +1 -1
  238. package/shared.module.d.ts +1 -1
  239. package/signature/events/close-event.d.ts +1 -1
  240. package/signature/events/index.d.ts +1 -1
  241. package/signature/events/open-event.d.ts +1 -1
  242. package/signature/localization/custom-messages.component.d.ts +1 -1
  243. package/signature/localization/index.d.ts +1 -1
  244. package/signature/localization/localized-signature-messages.directive.d.ts +1 -1
  245. package/signature/localization/messages.d.ts +1 -1
  246. package/signature/signature.component.d.ts +1 -1
  247. package/signature.module.d.ts +2 -2
  248. package/slider/localization/custom-messages.component.d.ts +1 -1
  249. package/slider/localization/localized-slider-messages.directive.d.ts +1 -1
  250. package/slider/localization/messages.d.ts +1 -1
  251. package/slider/slider-model.d.ts +1 -1
  252. package/slider/slider.component.d.ts +1 -1
  253. package/slider.module.d.ts +2 -2
  254. package/sliders-common/label-template.directive.d.ts +1 -1
  255. package/sliders-common/slider-base.d.ts +1 -1
  256. package/sliders-common/slider-model.base.d.ts +1 -1
  257. package/sliders-common/slider-ticks.component.d.ts +1 -1
  258. package/sliders-common/sliders-common.module.d.ts +1 -1
  259. package/sliders-common/sliders-util.d.ts +1 -1
  260. package/sliders-common/title-callback.d.ts +1 -1
  261. package/switch/localization/custom-messages.component.d.ts +1 -1
  262. package/switch/localization/localized-switch-messages.directive.d.ts +1 -1
  263. package/switch/localization/messages.d.ts +1 -1
  264. package/switch/switch.component.d.ts +1 -1
  265. package/switch.module.d.ts +2 -2
  266. package/text-fields-common/text-fields-base.d.ts +1 -1
  267. package/textarea/models/flow.d.ts +1 -1
  268. package/textarea/models/resize.d.ts +1 -1
  269. package/textarea/textarea-suffix.component.d.ts +1 -1
  270. package/textarea/textarea.component.d.ts +1 -1
  271. package/textarea.module.d.ts +2 -2
  272. package/textbox/localization/custom-messages.component.d.ts +1 -1
  273. package/textbox/localization/localized-textbox-messages.directive.d.ts +1 -1
  274. package/textbox/localization/messages.d.ts +1 -1
  275. package/textbox/models/icon-show-options.d.ts +1 -1
  276. package/textbox/textbox-prefix.directive.d.ts +1 -1
  277. package/textbox/textbox-suffix.directive.d.ts +1 -1
  278. package/textbox/textbox.component.d.ts +1 -1
  279. package/textbox/textbox.directive.d.ts +1 -1
  280. package/textbox.module.d.ts +2 -2
  281. package/validators/max.validator.d.ts +1 -1
  282. package/validators/min.validator.d.ts +1 -1
  283. package/bundles/kendo-angular-inputs.umd.js +0 -5
  284. package/esm2015/colorpicker/models/hsva.js +0 -5
  285. package/esm2015/colorpicker/models/output-format.js +0 -5
  286. package/esm2015/colorpicker/models/palette-settings.js +0 -5
  287. package/esm2015/colorpicker/models/popup-settings.js +0 -5
  288. package/esm2015/colorpicker/models/rgb.js +0 -5
  289. package/esm2015/colorpicker/models/rgba.js +0 -5
  290. package/esm2015/colorpicker/models/table-cell.js +0 -5
  291. package/esm2015/common/models/fillmode.js +0 -5
  292. package/esm2015/common/models/rounded.js +0 -5
  293. package/esm2015/common/models/size.js +0 -5
  294. package/esm2015/common/models/styling-classes.js +0 -5
  295. package/esm2015/formfield/models/message-align.js +0 -5
  296. package/esm2015/formfield/models/orientation.js +0 -5
  297. package/esm2015/formfield/models/show-options.js +0 -5
  298. package/esm2015/rangeslider/rangeslider-value.type.js +0 -5
  299. package/esm2015/sliders-common/title-callback.js +0 -5
  300. package/esm2015/textarea/models/flow.js +0 -5
  301. package/esm2015/textarea/models/resize.js +0 -5
  302. package/esm2015/textbox/models/icon-show-options.js +0 -5
  303. package/schematics/ngAdd/index.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export * from './models/fillmode';
package/common/utils.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { InputStylingClasses } from "./models";
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Directive, HostBinding, Input } from '@angular/core';
5
+ import { Directive, ElementRef, HostBinding, Input, Renderer2 } from '@angular/core';
6
6
  import { getStylingClasses } from '../common/utils';
7
7
  import * as i0 from "@angular/core";
8
8
  const DEFAULT_SIZE = 'medium';
@@ -77,9 +77,9 @@ export class CheckBoxDirective {
77
77
  }
78
78
  }
79
79
  }
80
- CheckBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckBoxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
81
- CheckBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: { size: "size", rounded: "rounded" }, host: { properties: { "class.k-checkbox": "this.kendoClass" } }, ngImport: i0 });
82
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckBoxDirective, decorators: [{
80
+ CheckBoxDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
81
+ CheckBoxDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: CheckBoxDirective, selector: "input[kendoCheckBox]", inputs: { size: "size", rounded: "rounded" }, host: { properties: { "class.k-checkbox": "this.kendoClass" } }, ngImport: i0 });
82
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxDirective, decorators: [{
83
83
  type: Directive,
84
84
  args: [{
85
85
  selector: 'input[kendoCheckBox]'
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
@@ -7,7 +7,7 @@ import { CheckBoxDirective } from './checkbox/checkbox.directive';
7
7
  import { CommonModule } from '@angular/common';
8
8
  import * as i0 from "@angular/core";
9
9
  /**
10
- * Represents the [NgModule]({{ site.data.urls.angular['ngmoduleapi'] }})
10
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
11
11
  * definition for the CheckBox directive.
12
12
  *
13
13
  * @example
@@ -39,10 +39,10 @@ import * as i0 from "@angular/core";
39
39
  */
40
40
  export class CheckBoxModule {
41
41
  }
42
- CheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
43
- CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckBoxModule, declarations: [CheckBoxDirective], imports: [CommonModule], exports: [CheckBoxDirective] });
44
- CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckBoxModule, imports: [[CommonModule]] });
45
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: CheckBoxModule, decorators: [{
42
+ CheckBoxModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
43
+ CheckBoxModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, declarations: [CheckBoxDirective], imports: [CommonModule], exports: [CheckBoxDirective] });
44
+ CheckBoxModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, imports: [[CommonModule]] });
45
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: CheckBoxModule, decorators: [{
46
46
  type: NgModule,
47
47
  args: [{
48
48
  declarations: [CheckBoxDirective],
@@ -1,11 +1,13 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, HostBinding, Input } from '@angular/core';
6
+ import { BehaviorSubject } from 'rxjs';
6
7
  import { isPresent } from '../common/utils';
7
8
  import { AA_RATIO, STEP_COUNT, AAA_RATIO } from './constants';
8
9
  import { bezierCommand, getContrastFromTwoRGBAs, getRGBA, getColorFromHSV, svgPath, controlPoint, line } from './utils';
10
+ import { isDocumentAvailable } from '@progress/kendo-angular-common';
9
11
  import * as i0 from "@angular/core";
10
12
  import * as i1 from "@angular/common";
11
13
  /**
@@ -16,6 +18,9 @@ export class ColorContrastSvgComponent {
16
18
  this.hostClass = true;
17
19
  }
18
20
  ngAfterViewInit() {
21
+ if (!isDocumentAvailable()) {
22
+ return;
23
+ }
19
24
  this.metrics = this.wrapper.getBoundingClientRect();
20
25
  this.oldA = this.hsva.value.a;
21
26
  this.oldH = this.hsva.value.h;
@@ -28,7 +33,7 @@ export class ColorContrastSvgComponent {
28
33
  });
29
34
  }
30
35
  ngOnChanges(changes) {
31
- if (isPresent(changes.backgroundColor) && this.metrics) {
36
+ if (isPresent(changes['backgroundColor']) && this.metrics) {
32
37
  this.setPaths();
33
38
  }
34
39
  }
@@ -67,11 +72,11 @@ export class ColorContrastSvgComponent {
67
72
  return points;
68
73
  }
69
74
  }
70
- ColorContrastSvgComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorContrastSvgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
71
- ColorContrastSvgComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: { wrapper: "wrapper", hsva: "hsva", backgroundColor: "backgroundColor" }, host: { properties: { "class.k-color-contrast-svg": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
75
+ ColorContrastSvgComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorContrastSvgComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
76
+ ColorContrastSvgComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: { wrapper: "wrapper", hsva: "hsva", backgroundColor: "backgroundColor" }, host: { properties: { "class.k-color-contrast-svg": "this.hostClass" } }, usesOnChanges: true, ngImport: i0, template: `
72
77
  <svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>
73
78
  `, isInline: true, directives: [{ type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }] });
74
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorContrastSvgComponent, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorContrastSvgComponent, decorators: [{
75
80
  type: Component,
76
81
  args: [{
77
82
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -1,8 +1,10 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Directive, Input } from '@angular/core';
6
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
7
+ import { NumericTextBoxComponent } from './../numerictextbox/numerictextbox.component';
6
8
  import * as i0 from "@angular/core";
7
9
  import * as i1 from "./../numerictextbox/numerictextbox.component";
8
10
  /**
@@ -17,9 +19,9 @@ export class NumericLabelDirective {
17
19
  this.host.numericInput.nativeElement.setAttribute('aria-label', this.localizationService.get(localizationToken));
18
20
  }
19
21
  }
20
- NumericLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumericLabelDirective, deps: [{ token: i1.NumericTextBoxComponent }], target: i0.ɵɵFactoryTarget.Directive });
21
- NumericLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: { kendoAdditionalNumericLabel: "kendoAdditionalNumericLabel", localizationService: "localizationService" }, ngImport: i0 });
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: NumericLabelDirective, decorators: [{
22
+ NumericLabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericLabelDirective, deps: [{ token: i1.NumericTextBoxComponent }], target: i0.ɵɵFactoryTarget.Directive });
23
+ NumericLabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: { kendoAdditionalNumericLabel: "kendoAdditionalNumericLabel", localizationService: "localizationService" }, ngImport: i0 });
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NumericLabelDirective, decorators: [{
23
25
  type: Directive,
24
26
  args: [{ selector: '[kendoAdditionalNumericLabel]' }]
25
27
  }], ctorParameters: function () { return [{ type: i1.NumericTextBoxComponent }]; }, propDecorators: { kendoAdditionalNumericLabel: [{
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, Input, ViewChild, Output, EventEmitter, HostBinding, forwardRef, HostListener } from '@angular/core';
5
+ import { Component, Input, ViewChild, ElementRef, Renderer2, NgZone, Output, EventEmitter, HostBinding, forwardRef, ChangeDetectorRef, Injector, HostListener } from '@angular/core';
6
6
  import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
7
7
  import { BehaviorSubject, Subject } from 'rxjs';
8
8
  import { throttleTime } from 'rxjs/operators';
@@ -12,7 +12,9 @@ import { validatePackage } from '@progress/kendo-licensing';
12
12
  import { containsFocus, isUntouched } from '../common/dom-utils';
13
13
  import { parseColor, getHSV, getColorFromHSV, getColorFromHue } from './utils';
14
14
  import { isPresent, fitIntoBounds } from '../common/utils';
15
+ import { SliderComponent } from '../slider/slider.component';
15
16
  import { ColorGradientLocalizationService } from './localization/colorgradient-localization.service';
17
+ import { ColorInputComponent } from './color-input.component';
16
18
  import { DEFAULT_GRADIENT_BACKGROUND_COLOR, DEFAULT_OUTPUT_FORMAT, DRAGHANDLE_MOVE_SPEED, DRAGHANDLE_MOVE_SPEED_SMALL_STEP } from './constants';
17
19
  import { packageMetadata } from '../package-metadata';
18
20
  import * as i0 from "@angular/core";
@@ -138,16 +140,13 @@ export class ColorGradientComponent {
138
140
  return this.id;
139
141
  }
140
142
  get hostTabindex() {
141
- var _a;
142
- return ((_a = this.tabindex) === null || _a === void 0 ? void 0 : _a.toString()) || '0';
143
+ return this.tabindex?.toString() || '0';
143
144
  }
144
145
  get isControlInvalid() {
145
- var _a, _b;
146
- return (_b = ((_a = this.control) === null || _a === void 0 ? void 0 : _a.invalid)) === null || _b === void 0 ? void 0 : _b.toString();
146
+ return (this.control?.invalid)?.toString();
147
147
  }
148
148
  get isDisabled() {
149
- var _a;
150
- return ((_a = this.disabled) === null || _a === void 0 ? void 0 : _a.toString()) || undefined;
149
+ return this.disabled?.toString() || undefined;
151
150
  }
152
151
  /**
153
152
  * @hidden
@@ -484,7 +483,7 @@ export class ColorGradientComponent {
484
483
  hsva.v = 1 - top / gradientRectHeight;
485
484
  this.hsva.next(hsva);
486
485
  this.updateValues.next(getColorFromHSV(this.hsva.value, this.format, this.opacity));
487
- this.setAlphaSliderBackground(getColorFromHSV(Object.assign(Object.assign({}, this.hsva.value), { a: 1 }), this.format, this.opacity));
486
+ this.setAlphaSliderBackground(getColorFromHSV({ ...this.hsva.value, a: 1 }, this.format, this.opacity));
488
487
  }
489
488
  handleValueChange(color) {
490
489
  if (this.value === color) {
@@ -570,8 +569,8 @@ export class ColorGradientComponent {
570
569
  }
571
570
  }
572
571
  }
573
- ColorGradientComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorGradientComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
574
- ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ColorGradientComponent, selector: "kendo-colorgradient", inputs: { id: "id", opacity: "opacity", disabled: "disabled", readonly: "readonly", clearButton: "clearButton", delay: "delay", value: "value", contrastTool: "contrastTool", tabindex: "tabindex", format: "format", gradientSliderStep: "gradientSliderStep", gradientSliderSmallStep: "gradientSliderSmallStep" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "keydown.enter": "enterHandler($event)", "keydown.escape": "escapeHandler($event)", "focusin": "focusHandler($event)" }, properties: { "class.k-colorgradient": "this.hostClasses", "attr.aria-readonly": "this.readonlyAttribute", "class.k-disabled": "this.disabledClass", "attr.id": "this.gradientId", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabindex", "attr.role": "this.ariaRole", "attr.aria-invalid": "this.isControlInvalid", "attr.aria-disabled": "this.isDisabled" } }, providers: [
572
+ ColorGradientComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorGradientComponent, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
573
+ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorGradientComponent, selector: "kendo-colorgradient", inputs: { id: "id", opacity: "opacity", disabled: "disabled", readonly: "readonly", clearButton: "clearButton", delay: "delay", value: "value", contrastTool: "contrastTool", tabindex: "tabindex", format: "format", gradientSliderStep: "gradientSliderStep", gradientSliderSmallStep: "gradientSliderSmallStep" }, outputs: { valueChange: "valueChange" }, host: { listeners: { "keydown.enter": "enterHandler($event)", "keydown.escape": "escapeHandler($event)", "focusin": "focusHandler($event)" }, properties: { "class.k-colorgradient": "this.hostClasses", "attr.aria-readonly": "this.readonlyAttribute", "class.k-disabled": "this.disabledClass", "attr.id": "this.gradientId", "attr.dir": "this.direction", "attr.tabindex": "this.hostTabindex", "attr.role": "this.ariaRole", "attr.aria-invalid": "this.isControlInvalid", "attr.aria-disabled": "this.isDisabled" } }, providers: [
575
574
  {
576
575
  multi: true,
577
576
  provide: NG_VALUE_ACCESSOR,
@@ -658,7 +657,8 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
658
657
  xmlns="http://www.w3.org/2000/svg"
659
658
  [wrapper]="gradientWrapper ? gradientWrapper : undefined"
660
659
  [hsva]="hsva"
661
- [backgroundColor]="contrastTool">
660
+ [backgroundColor]="contrastTool"
661
+ [style]="'position: absolute; overflow: visible; pointer-events: none; left: 0px; top: 0px;'">
662
662
  </svg>
663
663
  </div>
664
664
  <div class="k-hsv-controls k-hstack {{ clearButton ? 'k-sliders-wrap-clearable' : '' }}">
@@ -670,11 +670,13 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
670
670
  (keydown.space)="reset()"
671
671
  [attr.aria-label]="clearButtonTitle"
672
672
  [attr.title]="clearButtonTitle"
673
- [tabindex]="innerTabIndex.toString()">
673
+ [tabindex]="innerTabIndex.toString()"
674
+ [style]="'position: absolute; top: 0; left: 50%; transform: translateX(-50%);'">
674
675
  <span class="k-icon k-i-droplet-slash"></span>
675
676
  </span>
676
677
  <kendo-slider
677
678
  [ngClass]="{'k-align-self-end': clearButton}"
679
+ [style.height.px]="clearButton ? '140' : null"
678
680
  class="k-hue-slider k-colorgradient-slider"
679
681
  [dragHandleTitle]="hueSliderTitle"
680
682
  [tabindex]="innerTabIndex"
@@ -696,6 +698,7 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
696
698
  #alphaSlider
697
699
  [tabindex]="innerTabIndex"
698
700
  [ngClass]="{'k-align-self-end': clearButton}"
701
+ [style.height.px]="clearButton ? '140' : null"
699
702
  class="k-alpha-slider k-colorgradient-slider"
700
703
  [dragHandleTitle]="opacitySliderTitle"
701
704
  [disabled]="disabled"
@@ -730,8 +733,8 @@ ColorGradientComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
730
733
  [value]="value"
731
734
  [ratio]="contrastTool">
732
735
  </div>
733
- `, isInline: true, styles: ["\n .k-clear-color {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n }\n .k-colorgradient-slider.k-align-self-end {\n height: 140px;\n }\n\n .k-color-contrast-svg {\n position: absolute;\n overflow: visible;\n pointer-events: none;\n left: 0px;\n top: 0px;\n }\n "], components: [{ type: i2.ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: ["wrapper", "hsva", "backgroundColor"] }, { type: i3.SliderComponent, selector: "kendo-slider", inputs: ["focusableId", "dragHandleTitle", "incrementTitle", "animate", "decrementTitle", "showButtons", "value", "tabIndex"], exportAs: ["kendoSlider"] }, { type: i4.ColorInputComponent, selector: "kendo-colorinput", inputs: ["focusableId", "formatView", "tabindex", "value", "opacity", "disabled", "readonly"], outputs: ["valueChange", "tabOut"] }, { type: i5.ContrastComponent, selector: "[kendoContrastTool]", inputs: ["value", "ratio"] }], directives: [{ type: i6.LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i7.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
734
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorGradientComponent, decorators: [{
736
+ `, isInline: true, components: [{ type: i2.ColorContrastSvgComponent, selector: "[kendoColorContrastSvg]", inputs: ["wrapper", "hsva", "backgroundColor"] }, { type: i3.SliderComponent, selector: "kendo-slider", inputs: ["focusableId", "dragHandleTitle", "incrementTitle", "animate", "decrementTitle", "showButtons", "value", "tabIndex"], exportAs: ["kendoSlider"] }, { type: i4.ColorInputComponent, selector: "kendo-colorinput", inputs: ["focusableId", "formatView", "tabindex", "value", "opacity", "disabled", "readonly"], outputs: ["valueChange", "tabOut"] }, { type: i5.ContrastComponent, selector: "[kendoContrastTool]", inputs: ["value", "ratio"] }], directives: [{ type: i6.LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i7.DraggableDirective, selector: "[kendoDraggable]", inputs: ["enableDrag"], outputs: ["kendoPress", "kendoDrag", "kendoRelease"] }, { type: i8.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i8.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
737
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorGradientComponent, decorators: [{
735
738
  type: Component,
736
739
  args: [{
737
740
  exportAs: 'kendoColorGradient',
@@ -824,7 +827,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
824
827
  xmlns="http://www.w3.org/2000/svg"
825
828
  [wrapper]="gradientWrapper ? gradientWrapper : undefined"
826
829
  [hsva]="hsva"
827
- [backgroundColor]="contrastTool">
830
+ [backgroundColor]="contrastTool"
831
+ [style]="'position: absolute; overflow: visible; pointer-events: none; left: 0px; top: 0px;'">
828
832
  </svg>
829
833
  </div>
830
834
  <div class="k-hsv-controls k-hstack {{ clearButton ? 'k-sliders-wrap-clearable' : '' }}">
@@ -836,11 +840,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
836
840
  (keydown.space)="reset()"
837
841
  [attr.aria-label]="clearButtonTitle"
838
842
  [attr.title]="clearButtonTitle"
839
- [tabindex]="innerTabIndex.toString()">
843
+ [tabindex]="innerTabIndex.toString()"
844
+ [style]="'position: absolute; top: 0; left: 50%; transform: translateX(-50%);'">
840
845
  <span class="k-icon k-i-droplet-slash"></span>
841
846
  </span>
842
847
  <kendo-slider
843
848
  [ngClass]="{'k-align-self-end': clearButton}"
849
+ [style.height.px]="clearButton ? '140' : null"
844
850
  class="k-hue-slider k-colorgradient-slider"
845
851
  [dragHandleTitle]="hueSliderTitle"
846
852
  [tabindex]="innerTabIndex"
@@ -862,6 +868,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
862
868
  #alphaSlider
863
869
  [tabindex]="innerTabIndex"
864
870
  [ngClass]="{'k-align-self-end': clearButton}"
871
+ [style.height.px]="clearButton ? '140' : null"
865
872
  class="k-alpha-slider k-colorgradient-slider"
866
873
  [dragHandleTitle]="opacitySliderTitle"
867
874
  [disabled]="disabled"
@@ -896,26 +903,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
896
903
  [value]="value"
897
904
  [ratio]="contrastTool">
898
905
  </div>
899
- `,
900
- styles: [`
901
- .k-clear-color {
902
- position: absolute;
903
- top: 0;
904
- left: 50%;
905
- transform: translateX(-50%);
906
- }
907
- .k-colorgradient-slider.k-align-self-end {
908
- height: 140px;
909
- }
910
-
911
- .k-color-contrast-svg {
912
- position: absolute;
913
- overflow: visible;
914
- pointer-events: none;
915
- left: 0px;
916
- top: 0px;
917
- }
918
- `]
906
+ `
919
907
  }]
920
908
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.Injector }]; }, propDecorators: { hostClasses: [{
921
909
  type: HostBinding,
@@ -1,12 +1,14 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, Input, Output, EventEmitter, HostBinding, ViewChild } from '@angular/core';
5
+ import { Component, Input, Output, EventEmitter, ElementRef, HostBinding, ViewChild, Renderer2 } from '@angular/core';
6
6
  import { getRGBA, parseColor, getColorFromRGBA } from './utils';
7
7
  import { isPresent } from '../common/utils';
8
8
  import { guid, isDocumentAvailable } from '@progress/kendo-angular-common';
9
9
  import { Subscription } from 'rxjs';
10
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
11
+ import { NumericTextBoxComponent } from './../numerictextbox/numerictextbox.component';
10
12
  import * as i0 from "@angular/core";
11
13
  import * as i1 from "@progress/kendo-angular-l10n";
12
14
  import * as i2 from "../numerictextbox/numerictextbox.component";
@@ -80,7 +82,7 @@ export class ColorInputComponent {
80
82
  }
81
83
  }
82
84
  ngOnChanges(changes) {
83
- if (isPresent(changes.value) && !this.isFocused) {
85
+ if (isPresent(changes['value']) && !this.isFocused) {
84
86
  this.hex = parseColor(this.value, 'hex', this.opacity);
85
87
  this.rgba = getRGBA(this.value);
86
88
  this.rgba.a = parseColor(this.value, 'rgba', this.opacity) ? this.rgba.a : 1;
@@ -135,12 +137,11 @@ export class ColorInputComponent {
135
137
  this.subscriptions.add(this.renderer.listen(this.toggleFormatButton.nativeElement, 'click', () => this.toggleFormatView()));
136
138
  }
137
139
  lastInput() {
138
- var _a;
139
- return ((_a = this.hexInput) === null || _a === void 0 ? void 0 : _a.nativeElement) || this.opacityInput || this.blueInput;
140
+ return this.hexInput?.nativeElement || this.opacityInput || this.blueInput;
140
141
  }
141
142
  }
142
- ColorInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorInputComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
143
- ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ColorInputComponent, selector: "kendo-colorinput", inputs: { focusableId: "focusableId", formatView: "formatView", tabindex: "tabindex", value: "value", opacity: "opacity", disabled: "disabled", readonly: "readonly" }, outputs: { valueChange: "valueChange", tabOut: "tabOut" }, host: { properties: { "class.k-colorgradient-inputs": "this.colorInputClass", "class.k-hstack": "this.colorInputClass" } }, viewQueries: [{ propertyName: "opacityInput", first: true, predicate: ["opacityInput"], descendants: true }, { propertyName: "hexInput", first: true, predicate: ["hexInput"], descendants: true }, { propertyName: "blueInput", first: true, predicate: ["blueInput"], descendants: true }, { propertyName: "toggleFormatButton", first: true, predicate: ["toggleFormatButton"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
143
+ ColorInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorInputComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
144
+ ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorInputComponent, selector: "kendo-colorinput", inputs: { focusableId: "focusableId", formatView: "formatView", tabindex: "tabindex", value: "value", opacity: "opacity", disabled: "disabled", readonly: "readonly" }, outputs: { valueChange: "valueChange", tabOut: "tabOut" }, host: { properties: { "class.k-colorgradient-inputs": "this.colorInputClass", "class.k-hstack": "this.colorInputClass" } }, viewQueries: [{ propertyName: "opacityInput", first: true, predicate: ["opacityInput"], descendants: true }, { propertyName: "hexInput", first: true, predicate: ["hexInput"], descendants: true }, { propertyName: "blueInput", first: true, predicate: ["blueInput"], descendants: true }, { propertyName: "toggleFormatButton", first: true, predicate: ["toggleFormatButton"], descendants: true }], usesOnChanges: true, ngImport: i0, template: `
144
145
  <div class="k-vstack">
145
146
  <button #toggleFormatButton
146
147
  class="k-colorgradient-toggle-mode k-button k-button-md k-button-flat k-button-flat-base k-icon-button"
@@ -254,7 +255,7 @@ ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
254
255
  </div>
255
256
  </ng-container>
256
257
  `, isInline: true, components: [{ type: i2.NumericTextBoxComponent, selector: "kendo-numerictextbox", inputs: ["focusableId", "disabled", "readonly", "title", "autoCorrect", "format", "max", "min", "decimals", "placeholder", "step", "spinners", "rangeValidation", "tabindex", "tabIndex", "changeValueOnScroll", "selectOnFocus", "value", "maxlength", "size", "rounded", "fillMode"], outputs: ["valueChange", "focus", "blur"], exportAs: ["kendoNumericTextBox"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: ["kendoAdditionalNumericLabel", "localizationService"] }] });
257
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorInputComponent, decorators: [{
258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorInputComponent, decorators: [{
258
259
  type: Component,
259
260
  args: [{
260
261
  selector: 'kendo-colorinput',
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
- import { Component, Input, EventEmitter, Output, HostBinding, HostListener, forwardRef } from '@angular/core';
5
+ import { Component, Input, EventEmitter, Output, HostBinding, HostListener, forwardRef, ChangeDetectorRef, Renderer2, ElementRef, NgZone } from '@angular/core';
6
6
  import { NG_VALUE_ACCESSOR } from '@angular/forms';
7
7
  import { Keys, KendoInput, guid } from '@progress/kendo-angular-common';
8
8
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
@@ -215,10 +215,10 @@ export class ColorPaletteComponent {
215
215
  }
216
216
  }
217
217
  ngOnChanges(changes) {
218
- if (changes.palette || changes.columns) {
218
+ if (changes['palette'] || changes['columns']) {
219
219
  this.setRows();
220
220
  }
221
- if (changes.palette || changes.value || changes.columns) {
221
+ if (changes['palette'] || changes['value'] || changes['columns']) {
222
222
  this.selectCell(this.value);
223
223
  this.setHostElementAriaLabel();
224
224
  }
@@ -382,8 +382,8 @@ export class ColorPaletteComponent {
382
382
  this.handleCellSelection(selectedColor, this.focusedCell);
383
383
  }
384
384
  }
385
- ColorPaletteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorPaletteComponent, deps: [{ token: i0.ElementRef }, { token: i1.ColorPaletteService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
386
- ColorPaletteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ColorPaletteComponent, selector: "kendo-colorpalette", inputs: { id: "id", format: "format", value: "value", columns: "columns", palette: "palette", tabindex: "tabindex", disabled: "disabled", readonly: "readonly", tileSize: "tileSize" }, outputs: { selectionChange: "selectionChange", valueChange: "valueChange", cellSelection: "cellSelection" }, host: { listeners: { "keydown": "handleKeydown($event)", "focus": "handleFocus($event)", "blur": "handleHostBlur()" }, properties: { "attr.dir": "this.direction", "attr.role": "this.role", "attr.aria-activedescendant": "this.activeDescendant", "attr.id": "this.paletteId", "attr.tabindex": "this.hostTabindex", "class.k-colorpalette": "this.hostClasses", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "attr.aria-readonly": "this.readonlyAttribute" } }, providers: [
385
+ ColorPaletteComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPaletteComponent, deps: [{ token: i0.ElementRef }, { token: i1.ColorPaletteService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i2.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
386
+ ColorPaletteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorPaletteComponent, selector: "kendo-colorpalette", inputs: { id: "id", format: "format", value: "value", columns: "columns", palette: "palette", tabindex: "tabindex", disabled: "disabled", readonly: "readonly", tileSize: "tileSize" }, outputs: { selectionChange: "selectionChange", valueChange: "valueChange", cellSelection: "cellSelection" }, host: { listeners: { "keydown": "handleKeydown($event)", "focus": "handleFocus($event)", "blur": "handleHostBlur()" }, properties: { "attr.dir": "this.direction", "attr.role": "this.role", "attr.aria-activedescendant": "this.activeDescendant", "attr.id": "this.paletteId", "attr.tabindex": "this.hostTabindex", "class.k-colorpalette": "this.hostClasses", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "attr.aria-readonly": "this.readonlyAttribute" } }, providers: [
387
387
  {
388
388
  multi: true,
389
389
  provide: NG_VALUE_ACCESSOR,
@@ -433,7 +433,7 @@ ColorPaletteComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0",
433
433
  </table>
434
434
  </div>
435
435
  `, isInline: true, directives: [{ type: i3.LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i4.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }] });
436
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorPaletteComponent, decorators: [{
436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPaletteComponent, decorators: [{
437
437
  type: Component,
438
438
  args: [{
439
439
  exportAs: 'kendoColorPalette',
@@ -1,11 +1,13 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { take } from 'rxjs/operators';
6
- import { Component, HostBinding, Input, Output, EventEmitter, ViewChild, ViewContainerRef, forwardRef } from '@angular/core';
6
+ import { Component, HostBinding, Input, Output, EventEmitter, ViewChild, ElementRef, TemplateRef, ViewContainerRef, forwardRef, ChangeDetectorRef, NgZone, Renderer2, Injector } from '@angular/core';
7
7
  import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
8
8
  import { Subscription } from 'rxjs';
9
+ import { FlatColorPickerComponent } from './flatcolorpicker.component';
10
+ import { PopupService } from '@progress/kendo-angular-popup';
9
11
  import { validatePackage } from '@progress/kendo-licensing';
10
12
  import { Keys, KendoInput, isChanged, closest, guid } from '@progress/kendo-angular-common';
11
13
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
@@ -181,8 +183,7 @@ export class ColorPickerComponent {
181
183
  return this.tabindex;
182
184
  }
183
185
  get isControlInvalid() {
184
- var _a, _b;
185
- return (_b = ((_a = this.control) === null || _a === void 0 ? void 0 : _a.invalid)) === null || _b === void 0 ? void 0 : _b.toString();
186
+ return (this.control?.invalid)?.toString();
186
187
  }
187
188
  /**
188
189
  * @hidden
@@ -557,7 +558,7 @@ export class ColorPickerComponent {
557
558
  popupBlurInvalid(ev) {
558
559
  const focusInFlatColorPickerElement = this.popupRef.popupElement.contains(ev.relatedTarget);
559
560
  const hostClicked = closest(ev.relatedTarget, (element) => element === this.host.nativeElement);
560
- return hostClicked || focusInFlatColorPickerElement;
561
+ return Boolean(hostClicked || focusInFlatColorPickerElement);
561
562
  }
562
563
  toggleWithEvents(open) {
563
564
  const sameState = this.isOpen === open;
@@ -651,7 +652,7 @@ export class ColorPickerComponent {
651
652
  if (!this.host) {
652
653
  return;
653
654
  }
654
- let hostElement = this.host.nativeElement;
655
+ const hostElement = this.host.nativeElement;
655
656
  this.ngZone.runOutsideAngular(() => {
656
657
  this.subscriptions.add(this.renderer.listen(hostElement, 'focusin', () => {
657
658
  this.handleWrapperFocus();
@@ -689,8 +690,8 @@ export class ColorPickerComponent {
689
690
  }
690
691
  }
691
692
  }
692
- ColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorPickerComponent, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
693
- ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: { views: "views", view: "view", activeView: "activeView", readonly: "readonly", disabled: "disabled", format: "format", value: "value", popupSettings: "popupSettings", paletteSettings: "paletteSettings", gradientSettings: "gradientSettings", icon: "icon", iconClass: "iconClass", clearButton: "clearButton", tabindex: "tabindex", preview: "preview", actionsLayout: "actionsLayout", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", cancel: "cancel", activeColorClick: "activeColorClick", activeViewChange: "activeViewChange" }, host: { properties: { "class.k-colorpicker": "this.hostClasses", "class.k-icon-picker": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-focus": "this.focusedClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "attr.aria-readonly": "this.ariaReadonly", "attr.aria-expanded": "this.ariaExpanded", "attr.tabindex": "this.hostTabindex", "attr.dir": "this.direction", "attr.role": "this.role", "attr.aria-haspopup": "this.hasPopup", "attr.aria-invalid": "this.isControlInvalid" } }, providers: [{
693
+ ColorPickerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerComponent, deps: [{ token: i0.ElementRef }, { token: i1.PopupService }, { token: i0.ChangeDetectorRef }, { token: i2.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
694
+ ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ColorPickerComponent, selector: "kendo-colorpicker", inputs: { views: "views", view: "view", activeView: "activeView", readonly: "readonly", disabled: "disabled", format: "format", value: "value", popupSettings: "popupSettings", paletteSettings: "paletteSettings", gradientSettings: "gradientSettings", icon: "icon", iconClass: "iconClass", clearButton: "clearButton", tabindex: "tabindex", preview: "preview", actionsLayout: "actionsLayout", size: "size", rounded: "rounded", fillMode: "fillMode" }, outputs: { valueChange: "valueChange", open: "open", close: "close", onFocus: "focus", onBlur: "blur", cancel: "cancel", activeColorClick: "activeColorClick", activeViewChange: "activeViewChange" }, host: { properties: { "class.k-colorpicker": "this.hostClasses", "class.k-icon-picker": "this.hostClasses", "class.k-picker": "this.hostClasses", "class.k-focus": "this.focusedClass", "attr.aria-disabled": "this.disabledClass", "class.k-disabled": "this.disabledClass", "attr.aria-readonly": "this.ariaReadonly", "attr.aria-expanded": "this.ariaExpanded", "attr.tabindex": "this.hostTabindex", "attr.dir": "this.direction", "attr.role": "this.role", "attr.aria-haspopup": "this.hasPopup", "attr.aria-invalid": "this.isControlInvalid" } }, providers: [{
694
695
  multi: true,
695
696
  provide: NG_VALUE_ACCESSOR,
696
697
  useExisting: forwardRef(() => ColorPickerComponent)
@@ -796,7 +797,7 @@ ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
796
797
  </ng-template>
797
798
  <ng-container #container></ng-container>
798
799
  `, isInline: true, components: [{ type: i3.FlatColorPickerComponent, selector: "kendo-flatcolorpicker", inputs: ["readonly", "disabled", "format", "value", "tabindex", "clearButton", "preview", "actionsLayout", "activeView", "views", "gradientSettings", "paletteSettings"], outputs: ["valueChange", "cancel", "activeViewChange", "actionButtonClick"], exportAs: ["kendoFlatColorPicker"] }], directives: [{ type: i4.LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
799
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ColorPickerComponent, decorators: [{
800
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerComponent, decorators: [{
800
801
  type: Component,
801
802
  args: [{
802
803
  exportAs: 'kendoColorPicker',
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
@@ -1,8 +1,9 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2022 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { AA_RATIO, AAA_RATIO } from './constants';
6
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
7
  import { Component, Input } from '@angular/core';
7
8
  import * as i0 from "@angular/core";
8
9
  import * as i1 from "@progress/kendo-angular-l10n";
@@ -21,12 +22,12 @@ export class ContrastValidationComponent {
21
22
  return this.localization.get('failContrast');
22
23
  }
23
24
  get contrastText() {
24
- let ratio = this.type === 'AA' ? AA_RATIO : AAA_RATIO;
25
+ const ratio = this.type === 'AA' ? AA_RATIO : AAA_RATIO;
25
26
  return `${this.type}: ${ratio.toFixed(1)}`;
26
27
  }
27
28
  }
28
- ContrastValidationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContrastValidationComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
29
- ContrastValidationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContrastValidationComponent, selector: "[kendoContrastValidation]", inputs: { type: "type", pass: "pass", value: "value" }, ngImport: i0, template: `
29
+ ContrastValidationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContrastValidationComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
30
+ ContrastValidationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ContrastValidationComponent, selector: "[kendoContrastValidation]", inputs: { type: "type", pass: "pass", value: "value" }, ngImport: i0, template: `
30
31
  <span>{{contrastText}}</span>
31
32
  <ng-container *ngIf="value">
32
33
  <span class="k-contrast-validation k-text-success" *ngIf="pass">
@@ -39,7 +40,7 @@ ContrastValidationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.
39
40
  </span>
40
41
  </ng-container>
41
42
  `, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContrastValidationComponent, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContrastValidationComponent, decorators: [{
43
44
  type: Component,
44
45
  args: [{
45
46
  // eslint-disable-next-line @angular-eslint/component-selector