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

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 (304) hide show
  1. package/LICENSE.md +1 -1
  2. package/NOTICE.txt +4 -4
  3. package/README.md +20 -20
  4. package/checkbox/checkbox.directive.d.ts +1 -1
  5. package/checkbox.module.d.ts +2 -2
  6. package/colorpicker/color-contrast-svg.component.d.ts +1 -1
  7. package/colorpicker/color-gradient-numeric-label.directive.d.ts +1 -1
  8. package/colorpicker/color-gradient.component.d.ts +6 -1
  9. package/colorpicker/color-input.component.d.ts +6 -1
  10. package/colorpicker/color-palette.component.d.ts +1 -1
  11. package/colorpicker/colorpicker.component.d.ts +19 -5
  12. package/colorpicker/constants.d.ts +2 -2
  13. package/colorpicker/contrast-validation.component.d.ts +4 -1
  14. package/colorpicker/contrast.component.d.ts +4 -1
  15. package/colorpicker/events/active-color-click-event.d.ts +1 -1
  16. package/colorpicker/events/cancel-event.d.ts +1 -1
  17. package/colorpicker/events/close-event.d.ts +1 -1
  18. package/colorpicker/events/kendo-drag-event.d.ts +1 -1
  19. package/colorpicker/events/open-event.d.ts +1 -1
  20. package/colorpicker/events.d.ts +1 -1
  21. package/colorpicker/flatcolorpicker-actions.component.d.ts +1 -1
  22. package/colorpicker/flatcolorpicker-header.component.d.ts +11 -4
  23. package/colorpicker/flatcolorpicker.component.d.ts +1 -1
  24. package/colorpicker/focus-on-dom-ready.directive.d.ts +1 -1
  25. package/colorpicker/localization/colorgradient-localization.service.d.ts +1 -1
  26. package/colorpicker/localization/colorpalette-localization.service.d.ts +1 -1
  27. package/colorpicker/localization/colorpicker-localization.service.d.ts +1 -1
  28. package/colorpicker/localization/custom-messages.component.d.ts +1 -1
  29. package/colorpicker/localization/flatcolorpicker-localization.service.d.ts +1 -1
  30. package/colorpicker/localization/localized-colorpicker-messages.directive.d.ts +1 -1
  31. package/colorpicker/localization/messages.d.ts +1 -1
  32. package/colorpicker/models/actions-layout.d.ts +1 -1
  33. package/colorpicker/models/colorpicker-view.d.ts +1 -1
  34. package/colorpicker/models/gradient-settings.d.ts +1 -1
  35. package/colorpicker/models/hsva.d.ts +1 -1
  36. package/colorpicker/models/output-format.d.ts +1 -1
  37. package/colorpicker/models/palette-presets.d.ts +1 -1
  38. package/colorpicker/models/palette-settings.d.ts +1 -1
  39. package/colorpicker/models/popup-settings.d.ts +1 -1
  40. package/colorpicker/models/rgb.d.ts +1 -1
  41. package/colorpicker/models/rgba.d.ts +1 -1
  42. package/colorpicker/models/table-cell.d.ts +1 -1
  43. package/colorpicker/models/tile-size.d.ts +1 -1
  44. package/colorpicker/models.d.ts +1 -1
  45. package/colorpicker/services/color-palette.service.d.ts +1 -1
  46. package/colorpicker/services/flatcolorpicker.service.d.ts +1 -1
  47. package/colorpicker/utils/color-parser.d.ts +1 -1
  48. package/colorpicker/utils/contrast-curve.d.ts +1 -1
  49. package/colorpicker/utils.d.ts +1 -1
  50. package/colorpicker.module.d.ts +5 -3
  51. package/common/dom-utils.d.ts +1 -1
  52. package/common/math.d.ts +1 -1
  53. package/common/models/fillmode.d.ts +1 -1
  54. package/common/models/rounded.d.ts +1 -1
  55. package/common/models/size.d.ts +1 -1
  56. package/common/models/styling-classes.d.ts +1 -1
  57. package/common/models.d.ts +1 -1
  58. package/common/utils.d.ts +1 -1
  59. package/{esm2015/checkbox/checkbox.directive.js → esm2020/checkbox/checkbox.directive.mjs} +5 -5
  60. package/{esm2015/checkbox.module.js → esm2020/checkbox.module.mjs} +6 -6
  61. package/{esm2015/colorpicker/color-contrast-svg.component.js → esm2020/colorpicker/color-contrast-svg.component.mjs} +10 -5
  62. package/{esm2015/colorpicker/color-gradient-numeric-label.directive.js → esm2020/colorpicker/color-gradient-numeric-label.directive.mjs} +6 -4
  63. package/{esm2015/colorpicker/color-gradient.component.js → esm2020/colorpicker/color-gradient.component.mjs} +56 -51
  64. package/{esm2015/colorpicker/color-input.component.js → esm2020/colorpicker/color-input.component.mjs} +37 -21
  65. package/{esm2015/colorpicker/color-palette.component.js → esm2020/colorpicker/color-palette.component.mjs} +7 -7
  66. package/{esm2015/colorpicker/colorpicker.component.js → esm2020/colorpicker/colorpicker.component.mjs} +85 -25
  67. package/{esm2015/colorpicker/constants.js → esm2020/colorpicker/constants.mjs} +1 -1
  68. package/{esm2015/colorpicker/contrast-validation.component.js → esm2020/colorpicker/contrast-validation.component.mjs} +16 -11
  69. package/{esm2015/colorpicker/contrast.component.js → esm2020/colorpicker/contrast.component.mjs} +19 -14
  70. package/{esm2015/colorpicker/events/active-color-click-event.js → esm2020/colorpicker/events/active-color-click-event.mjs} +1 -1
  71. package/{esm2015/colorpicker/events/cancel-event.js → esm2020/colorpicker/events/cancel-event.mjs} +1 -1
  72. package/{esm2015/colorpicker/events/close-event.js → esm2020/colorpicker/events/close-event.mjs} +1 -1
  73. package/{esm2015/colorpicker/models/gradient-settings.js → esm2020/colorpicker/events/kendo-drag-event.mjs} +1 -1
  74. package/{esm2015/colorpicker/events/open-event.js → esm2020/colorpicker/events/open-event.mjs} +1 -1
  75. package/{esm2015/colorpicker/events.js → esm2020/colorpicker/events.mjs} +1 -1
  76. package/{esm2015/colorpicker/flatcolorpicker-actions.component.js → esm2020/colorpicker/flatcolorpicker-actions.component.mjs} +6 -5
  77. package/{esm2015/colorpicker/flatcolorpicker-header.component.js → esm2020/colorpicker/flatcolorpicker-header.component.mjs} +58 -28
  78. package/{esm2015/colorpicker/flatcolorpicker.component.js → esm2020/colorpicker/flatcolorpicker.component.mjs} +20 -20
  79. package/{esm2015/colorpicker/focus-on-dom-ready.directive.js → esm2020/colorpicker/focus-on-dom-ready.directive.mjs} +5 -5
  80. package/{esm2015/colorpicker/localization/colorgradient-localization.service.js → esm2020/colorpicker/localization/colorgradient-localization.service.mjs} +5 -5
  81. package/{esm2015/colorpicker/localization/colorpalette-localization.service.js → esm2020/colorpicker/localization/colorpalette-localization.service.mjs} +5 -5
  82. package/{esm2015/colorpicker/localization/colorpicker-localization.service.js → esm2020/colorpicker/localization/colorpicker-localization.service.mjs} +5 -5
  83. package/{esm2015/colorpicker/localization/custom-messages.component.js → esm2020/colorpicker/localization/custom-messages.component.mjs} +5 -4
  84. package/{esm2015/colorpicker/localization/flatcolorpicker-localization.service.js → esm2020/colorpicker/localization/flatcolorpicker-localization.service.mjs} +5 -5
  85. package/{esm2015/colorpicker/localization/localized-colorpicker-messages.directive.js → esm2020/colorpicker/localization/localized-colorpicker-messages.directive.mjs} +5 -4
  86. package/{esm2015/colorpicker/localization/messages.js → esm2020/colorpicker/localization/messages.mjs} +4 -4
  87. package/{esm2015/colorpicker/models/colorpicker-view.js → esm2020/colorpicker/models/actions-layout.mjs} +1 -1
  88. package/{esm2015/colorpicker/models/actions-layout.js → esm2020/colorpicker/models/colorpicker-view.mjs} +1 -1
  89. package/{esm2015/colorpicker/events/kendo-drag-event.js → esm2020/colorpicker/models/gradient-settings.mjs} +1 -1
  90. package/esm2020/colorpicker/models/hsva.mjs +5 -0
  91. package/esm2020/colorpicker/models/output-format.mjs +5 -0
  92. package/{esm2015/colorpicker/models/palette-presets.js → esm2020/colorpicker/models/palette-presets.mjs} +1 -1
  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/{esm2015/colorpicker/models/tile-size.js → esm2020/colorpicker/models/tile-size.mjs} +1 -1
  99. package/{esm2015/colorpicker/models.js → esm2020/colorpicker/models.mjs} +1 -1
  100. package/{esm2015/colorpicker/services/color-palette.service.js → esm2020/colorpicker/services/color-palette.service.mjs} +4 -4
  101. package/{esm2015/colorpicker/services/flatcolorpicker.service.js → esm2020/colorpicker/services/flatcolorpicker.service.mjs} +4 -4
  102. package/{esm2015/colorpicker/utils/color-parser.js → esm2020/colorpicker/utils/color-parser.mjs} +2 -2
  103. package/{esm2015/colorpicker/utils/contrast-curve.js → esm2020/colorpicker/utils/contrast-curve.mjs} +1 -1
  104. package/{esm2015/colorpicker/utils.js → esm2020/colorpicker/utils.mjs} +1 -1
  105. package/{esm2015/colorpicker.module.js → esm2020/colorpicker.module.mjs} +17 -9
  106. package/{esm2015/common/dom-utils.js → esm2020/common/dom-utils.mjs} +2 -1
  107. package/{esm2015/common/math.js → esm2020/common/math.mjs} +1 -1
  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/{esm2015/common/models.js → esm2020/common/models.mjs} +1 -1
  113. package/{esm2015/common/utils.js → esm2020/common/utils.mjs} +1 -1
  114. package/{esm2015/formfield/error.component.js → esm2020/formfield/error.component.mjs} +4 -4
  115. package/{esm2015/formfield/formfield.component.js → esm2020/formfield/formfield.component.mjs} +5 -5
  116. package/{esm2015/formfield/hint.component.js → esm2020/formfield/hint.component.mjs} +4 -4
  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/{esm2015/formfield.module.js → esm2020/formfield.module.mjs} +6 -6
  121. package/{esm2015/main.js → esm2020/index.mjs} +1 -1
  122. package/{esm2015/inputs.module.js → esm2020/inputs.module.mjs} +6 -6
  123. package/{esm2015/maskedtextbox/maskedtextbox.component.js → esm2020/maskedtextbox/maskedtextbox.component.mjs} +8 -8
  124. package/{esm2015/maskedtextbox/masking.service.js → esm2020/maskedtextbox/masking.service.mjs} +5 -5
  125. package/{esm2015/maskedtextbox/parsing/combinators.js → esm2020/maskedtextbox/parsing/combinators.mjs} +1 -1
  126. package/{esm2015/maskedtextbox/parsing/parsers.js → esm2020/maskedtextbox/parsing/parsers.mjs} +4 -4
  127. package/{esm2015/maskedtextbox/parsing/result.js → esm2020/maskedtextbox/parsing/result.mjs} +1 -1
  128. package/{esm2015/maskedtextbox/parsing/stream.js → esm2020/maskedtextbox/parsing/stream.mjs} +1 -1
  129. package/{esm2015/maskedtextbox.module.js → esm2020/maskedtextbox.module.mjs} +6 -6
  130. package/{esm2015/numerictextbox/arrow-direction.js → esm2020/numerictextbox/arrow-direction.mjs} +1 -1
  131. package/{esm2015/numerictextbox/constants.js → esm2020/numerictextbox/constants.mjs} +1 -1
  132. package/{esm2015/numerictextbox/localization/custom-messages.component.js → esm2020/numerictextbox/localization/custom-messages.component.mjs} +5 -4
  133. package/{esm2015/numerictextbox/localization/localized-numerictextbox-messages.directive.js → esm2020/numerictextbox/localization/localized-numerictextbox-messages.directive.mjs} +5 -4
  134. package/{esm2015/numerictextbox/localization/messages.js → esm2020/numerictextbox/localization/messages.mjs} +4 -4
  135. package/{esm2015/numerictextbox/numerictextbox.component.js → esm2020/numerictextbox/numerictextbox.component.mjs} +58 -26
  136. package/{esm2015/numerictextbox/utils.js → esm2020/numerictextbox/utils.mjs} +3 -2
  137. package/{esm2015/numerictextbox.module.js → esm2020/numerictextbox.module.mjs} +9 -8
  138. package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
  139. package/{esm2015/kendo-angular-inputs.js → esm2020/progress-kendo-angular-inputs.mjs} +2 -2
  140. package/{esm2015/radiobutton/radiobutton.directive.js → esm2020/radiobutton/radiobutton.directive.mjs} +5 -5
  141. package/{esm2015/radiobutton.module.js → esm2020/radiobutton.module.mjs} +6 -6
  142. package/{esm2015/rangeslider/localization/custom-messages.component.js → esm2020/rangeslider/localization/custom-messages.component.mjs} +5 -4
  143. package/{esm2015/rangeslider/localization/localized-rangeslider-messages.directive.js → esm2020/rangeslider/localization/localized-rangeslider-messages.directive.mjs} +5 -4
  144. package/{esm2015/rangeslider/localization/messages.js → esm2020/rangeslider/localization/messages.mjs} +4 -4
  145. package/{esm2015/rangeslider/rangeslider-model.js → esm2020/rangeslider/rangeslider-model.mjs} +1 -1
  146. package/esm2020/rangeslider/rangeslider-value.type.mjs +5 -0
  147. package/{esm2015/rangeslider/rangeslider.component.js → esm2020/rangeslider/rangeslider.component.mjs} +8 -8
  148. package/{esm2015/rangeslider.module.js → esm2020/rangeslider.module.mjs} +6 -6
  149. package/{esm2015/shared/input-separator.component.js → esm2020/shared/input-separator.component.mjs} +4 -4
  150. package/{esm2015/shared/textarea.directive.js → esm2020/shared/textarea.directive.mjs} +5 -5
  151. package/{esm2015/shared/utils.js → esm2020/shared/utils.mjs} +1 -1
  152. package/{esm2015/shared.module.js → esm2020/shared.module.mjs} +5 -5
  153. package/{esm2015/signature/events/close-event.js → esm2020/signature/events/close-event.mjs} +1 -1
  154. package/{esm2015/signature/events/index.js → esm2020/signature/events/index.mjs} +1 -1
  155. package/{esm2015/signature/events/open-event.js → esm2020/signature/events/open-event.mjs} +1 -1
  156. package/{esm2015/signature/localization/custom-messages.component.js → esm2020/signature/localization/custom-messages.component.mjs} +5 -4
  157. package/{esm2015/signature/localization/index.js → esm2020/signature/localization/index.mjs} +1 -1
  158. package/{esm2015/signature/localization/localized-signature-messages.directive.js → esm2020/signature/localization/localized-signature-messages.directive.mjs} +5 -4
  159. package/{esm2015/signature/localization/messages.js → esm2020/signature/localization/messages.mjs} +4 -4
  160. package/{esm2015/signature/signature.component.js → esm2020/signature/signature.component.mjs} +61 -45
  161. package/{esm2015/signature.module.js → esm2020/signature.module.mjs} +13 -9
  162. package/{esm2015/slider/localization/custom-messages.component.js → esm2020/slider/localization/custom-messages.component.mjs} +5 -4
  163. package/{esm2015/slider/localization/localized-slider-messages.directive.js → esm2020/slider/localization/localized-slider-messages.directive.mjs} +5 -4
  164. package/{esm2015/slider/localization/messages.js → esm2020/slider/localization/messages.mjs} +4 -4
  165. package/{esm2015/slider/slider-model.js → esm2020/slider/slider-model.mjs} +1 -1
  166. package/{esm2015/slider/slider.component.js → esm2020/slider/slider.component.mjs} +78 -47
  167. package/{esm2015/slider.module.js → esm2020/slider.module.mjs} +10 -8
  168. package/{esm2015/sliders-common/label-template.directive.js → esm2020/sliders-common/label-template.directive.mjs} +5 -5
  169. package/{esm2015/sliders-common/slider-base.js → esm2020/sliders-common/slider-base.mjs} +6 -5
  170. package/{esm2015/sliders-common/slider-model.base.js → esm2020/sliders-common/slider-model.base.mjs} +1 -1
  171. package/{esm2015/sliders-common/slider-ticks.component.js → esm2020/sliders-common/slider-ticks.component.mjs} +6 -6
  172. package/{esm2015/sliders-common/sliders-common.module.js → esm2020/sliders-common/sliders-common.module.mjs} +5 -5
  173. package/{esm2015/sliders-common/sliders-util.js → esm2020/sliders-common/sliders-util.mjs} +1 -1
  174. package/esm2020/sliders-common/title-callback.mjs +5 -0
  175. package/{esm2015/switch/localization/custom-messages.component.js → esm2020/switch/localization/custom-messages.component.mjs} +5 -4
  176. package/{esm2015/switch/localization/localized-switch-messages.directive.js → esm2020/switch/localization/localized-switch-messages.directive.mjs} +5 -4
  177. package/{esm2015/switch/localization/messages.js → esm2020/switch/localization/messages.mjs} +4 -4
  178. package/{esm2015/switch/switch.component.js → esm2020/switch/switch.component.mjs} +8 -10
  179. package/{esm2015/switch.module.js → esm2020/switch.module.mjs} +6 -6
  180. package/{esm2015/text-fields-common/text-fields-base.js → esm2020/text-fields-common/text-fields-base.mjs} +6 -5
  181. package/esm2020/textarea/models/flow.mjs +5 -0
  182. package/esm2020/textarea/models/resize.mjs +5 -0
  183. package/{esm2015/textarea/textarea-suffix.component.js → esm2020/textarea/textarea-suffix.component.mjs} +4 -4
  184. package/{esm2015/textarea/textarea.component.js → esm2020/textarea/textarea.component.mjs} +6 -6
  185. package/{esm2015/textarea.module.js → esm2020/textarea.module.mjs} +6 -6
  186. package/{esm2015/textbox/localization/custom-messages.component.js → esm2020/textbox/localization/custom-messages.component.mjs} +5 -4
  187. package/{esm2015/textbox/localization/localized-textbox-messages.directive.js → esm2020/textbox/localization/localized-textbox-messages.directive.mjs} +5 -4
  188. package/{esm2015/textbox/localization/messages.js → esm2020/textbox/localization/messages.mjs} +4 -4
  189. package/esm2020/textbox/models/icon-show-options.mjs +5 -0
  190. package/{esm2015/textbox/textbox-prefix.directive.js → esm2020/textbox/textbox-prefix.directive.mjs} +5 -5
  191. package/{esm2015/textbox/textbox-suffix.directive.js → esm2020/textbox/textbox-suffix.directive.mjs} +5 -5
  192. package/{esm2015/textbox/textbox.component.js → esm2020/textbox/textbox.component.mjs} +98 -26
  193. package/{esm2015/textbox/textbox.directive.js → esm2020/textbox/textbox.directive.mjs} +5 -5
  194. package/{esm2015/textbox.module.js → esm2020/textbox.module.mjs} +9 -8
  195. package/{esm2015/validators/max.validator.js → esm2020/validators/max.validator.mjs} +1 -1
  196. package/{esm2015/validators/min.validator.js → esm2020/validators/min.validator.mjs} +1 -1
  197. package/fesm2015/progress-kendo-angular-inputs.mjs +14957 -0
  198. package/{fesm2015/kendo-angular-inputs.js → fesm2020/progress-kendo-angular-inputs.mjs} +1167 -915
  199. package/formfield/error.component.d.ts +1 -1
  200. package/formfield/formfield.component.d.ts +1 -1
  201. package/formfield/hint.component.d.ts +1 -1
  202. package/formfield/models/message-align.d.ts +1 -1
  203. package/formfield/models/orientation.d.ts +1 -1
  204. package/formfield/models/show-options.d.ts +1 -1
  205. package/formfield.module.d.ts +2 -2
  206. package/{main.d.ts → index.d.ts} +1 -1
  207. package/inputs.module.d.ts +2 -2
  208. package/maskedtextbox/maskedtextbox.component.d.ts +1 -1
  209. package/maskedtextbox/masking.service.d.ts +1 -1
  210. package/maskedtextbox/parsing/combinators.d.ts +1 -1
  211. package/maskedtextbox/parsing/parsers.d.ts +1 -1
  212. package/maskedtextbox/parsing/result.d.ts +1 -1
  213. package/maskedtextbox/parsing/stream.d.ts +1 -1
  214. package/maskedtextbox.module.d.ts +2 -2
  215. package/numerictextbox/arrow-direction.d.ts +1 -1
  216. package/numerictextbox/constants.d.ts +4 -4
  217. package/numerictextbox/localization/custom-messages.component.d.ts +1 -1
  218. package/numerictextbox/localization/localized-numerictextbox-messages.directive.d.ts +1 -1
  219. package/numerictextbox/localization/messages.d.ts +1 -1
  220. package/numerictextbox/numerictextbox.component.d.ts +11 -2
  221. package/numerictextbox/utils.d.ts +1 -1
  222. package/numerictextbox.module.d.ts +4 -3
  223. package/package-metadata.d.ts +1 -1
  224. package/package.json +34 -61
  225. package/{kendo-angular-inputs.d.ts → progress-kendo-angular-inputs.d.ts} +2 -2
  226. package/radiobutton/radiobutton.directive.d.ts +1 -1
  227. package/radiobutton.module.d.ts +2 -2
  228. package/rangeslider/localization/custom-messages.component.d.ts +1 -1
  229. package/rangeslider/localization/localized-rangeslider-messages.directive.d.ts +1 -1
  230. package/rangeslider/localization/messages.d.ts +1 -1
  231. package/rangeslider/rangeslider-model.d.ts +1 -1
  232. package/rangeslider/rangeslider-value.type.d.ts +1 -1
  233. package/rangeslider/rangeslider.component.d.ts +1 -1
  234. package/rangeslider.module.d.ts +2 -2
  235. package/schematics/ngAdd/index.js +5 -7
  236. package/shared/input-separator.component.d.ts +1 -1
  237. package/shared/textarea.directive.d.ts +1 -1
  238. package/shared/utils.d.ts +1 -1
  239. package/shared.module.d.ts +1 -1
  240. package/signature/events/close-event.d.ts +1 -1
  241. package/signature/events/index.d.ts +1 -1
  242. package/signature/events/open-event.d.ts +1 -1
  243. package/signature/localization/custom-messages.component.d.ts +1 -1
  244. package/signature/localization/index.d.ts +1 -1
  245. package/signature/localization/localized-signature-messages.directive.d.ts +1 -1
  246. package/signature/localization/messages.d.ts +1 -1
  247. package/signature/signature.component.d.ts +9 -1
  248. package/signature.module.d.ts +4 -3
  249. package/slider/localization/custom-messages.component.d.ts +1 -1
  250. package/slider/localization/localized-slider-messages.directive.d.ts +1 -1
  251. package/slider/localization/messages.d.ts +1 -1
  252. package/slider/slider-model.d.ts +1 -1
  253. package/slider/slider.component.d.ts +18 -1
  254. package/slider.module.d.ts +6 -4
  255. package/sliders-common/label-template.directive.d.ts +1 -1
  256. package/sliders-common/slider-base.d.ts +1 -1
  257. package/sliders-common/slider-model.base.d.ts +1 -1
  258. package/sliders-common/slider-ticks.component.d.ts +1 -1
  259. package/sliders-common/sliders-common.module.d.ts +1 -1
  260. package/sliders-common/sliders-util.d.ts +1 -1
  261. package/sliders-common/title-callback.d.ts +1 -1
  262. package/switch/localization/custom-messages.component.d.ts +1 -1
  263. package/switch/localization/localized-switch-messages.directive.d.ts +1 -1
  264. package/switch/localization/messages.d.ts +1 -1
  265. package/switch/switch.component.d.ts +1 -1
  266. package/switch.module.d.ts +2 -2
  267. package/text-fields-common/text-fields-base.d.ts +1 -1
  268. package/textarea/models/flow.d.ts +1 -1
  269. package/textarea/models/resize.d.ts +1 -1
  270. package/textarea/textarea-suffix.component.d.ts +1 -1
  271. package/textarea/textarea.component.d.ts +1 -1
  272. package/textarea.module.d.ts +2 -2
  273. package/textbox/localization/custom-messages.component.d.ts +1 -1
  274. package/textbox/localization/localized-textbox-messages.directive.d.ts +1 -1
  275. package/textbox/localization/messages.d.ts +1 -1
  276. package/textbox/models/icon-show-options.d.ts +1 -1
  277. package/textbox/textbox-prefix.directive.d.ts +1 -1
  278. package/textbox/textbox-suffix.directive.d.ts +1 -1
  279. package/textbox/textbox.component.d.ts +19 -2
  280. package/textbox/textbox.directive.d.ts +1 -1
  281. package/textbox.module.d.ts +6 -5
  282. package/validators/max.validator.d.ts +1 -1
  283. package/validators/min.validator.d.ts +1 -1
  284. package/bundles/kendo-angular-inputs.umd.js +0 -5
  285. package/esm2015/colorpicker/models/hsva.js +0 -5
  286. package/esm2015/colorpicker/models/output-format.js +0 -5
  287. package/esm2015/colorpicker/models/palette-settings.js +0 -5
  288. package/esm2015/colorpicker/models/popup-settings.js +0 -5
  289. package/esm2015/colorpicker/models/rgb.js +0 -5
  290. package/esm2015/colorpicker/models/rgba.js +0 -5
  291. package/esm2015/colorpicker/models/table-cell.js +0 -5
  292. package/esm2015/common/models/fillmode.js +0 -5
  293. package/esm2015/common/models/rounded.js +0 -5
  294. package/esm2015/common/models/size.js +0 -5
  295. package/esm2015/common/models/styling-classes.js +0 -5
  296. package/esm2015/formfield/models/message-align.js +0 -5
  297. package/esm2015/formfield/models/orientation.js +0 -5
  298. package/esm2015/formfield/models/show-options.js +0 -5
  299. package/esm2015/rangeslider/rangeslider-value.type.js +0 -5
  300. package/esm2015/sliders-common/title-callback.js +0 -5
  301. package/esm2015/textarea/models/flow.js +0 -5
  302. package/esm2015/textarea/models/resize.js +0 -5
  303. package/esm2015/textbox/models/icon-show-options.js +0 -5
  304. package/schematics/ngAdd/index.js.map +0 -1
@@ -1,17 +1,22 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
+ /* eslint-disable @typescript-eslint/no-explicit-any */
6
+ import { Component, Input, Output, EventEmitter, ElementRef, HostBinding, ViewChild, Renderer2 } from '@angular/core';
6
7
  import { getRGBA, parseColor, getColorFromRGBA } from './utils';
7
8
  import { isPresent } from '../common/utils';
8
9
  import { guid, isDocumentAvailable } from '@progress/kendo-angular-common';
9
10
  import { Subscription } from 'rxjs';
11
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
12
+ import { NumericTextBoxComponent } from './../numerictextbox/numerictextbox.component';
13
+ import { caretAltExpandIcon } from '@progress/kendo-svg-icons';
10
14
  import * as i0 from "@angular/core";
11
15
  import * as i1 from "@progress/kendo-angular-l10n";
12
- import * as i2 from "../numerictextbox/numerictextbox.component";
13
- import * as i3 from "@angular/common";
14
- import * as i4 from "./color-gradient-numeric-label.directive";
16
+ import * as i2 from "@progress/kendo-angular-buttons";
17
+ import * as i3 from "../numerictextbox/numerictextbox.component";
18
+ import * as i4 from "@angular/common";
19
+ import * as i5 from "./color-gradient-numeric-label.directive";
15
20
  /**
16
21
  * @hidden
17
22
  */
@@ -53,6 +58,10 @@ export class ColorInputComponent {
53
58
  * The rgba inputs values.
54
59
  */
55
60
  this.rgba = {};
61
+ /**
62
+ * @hidden
63
+ */
64
+ this.caretAltExpandIcon = caretAltExpandIcon;
56
65
  this.subscriptions = new Subscription();
57
66
  }
58
67
  /**
@@ -80,7 +89,7 @@ export class ColorInputComponent {
80
89
  }
81
90
  }
82
91
  ngOnChanges(changes) {
83
- if (isPresent(changes.value) && !this.isFocused) {
92
+ if (isPresent(changes['value']) && !this.isFocused) {
84
93
  this.hex = parseColor(this.value, 'hex', this.opacity);
85
94
  this.rgba = getRGBA(this.value);
86
95
  this.rgba.a = parseColor(this.value, 'rgba', this.opacity) ? this.rgba.a : 1;
@@ -135,22 +144,25 @@ export class ColorInputComponent {
135
144
  this.subscriptions.add(this.renderer.listen(this.toggleFormatButton.nativeElement, 'click', () => this.toggleFormatView()));
136
145
  }
137
146
  lastInput() {
138
- var _a;
139
- return ((_a = this.hexInput) === null || _a === void 0 ? void 0 : _a.nativeElement) || this.opacityInput || this.blueInput;
147
+ return this.hexInput?.nativeElement || this.opacityInput || this.blueInput;
140
148
  }
141
149
  }
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: `
150
+ 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 });
151
+ 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, read: ElementRef }], usesOnChanges: true, ngImport: i0, template: `
144
152
  <div class="k-vstack">
145
- <button #toggleFormatButton
146
- class="k-colorgradient-toggle-mode k-button k-button-md k-button-flat k-button-flat-base k-icon-button"
153
+ <button
154
+ kendoButton
155
+ type="button"
156
+ fillMode="flat"
157
+ #toggleFormatButton
158
+ icon="caret-alt-expand"
159
+ [svgIcon]="caretAltExpandIcon"
160
+ class="k-colorgradient-toggle-mode"
147
161
  [attr.aria-label]="formatButtonTitle"
148
162
  [attr.title]="formatButtonTitle"
149
163
  [disabled]="disabled"
150
164
  [tabindex]="tabindex.toString()"
151
- type="button"
152
165
  >
153
- <span class="k-button-icon k-icon k-i-caret-alt-expand"></span>
154
166
  </button>
155
167
  </div>
156
168
  <div *ngIf="formatView === 'hex'" class="k-vstack">
@@ -253,22 +265,26 @@ ColorInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", ve
253
265
  <label [for]="alpha.focusableId" class="k-colorgradient-input-label">A</label>
254
266
  </div>
255
267
  </ng-container>
256
- `, 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: [{
268
+ `, isInline: true, components: [{ type: i2.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i3.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: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NumericLabelDirective, selector: "[kendoAdditionalNumericLabel]", inputs: ["kendoAdditionalNumericLabel", "localizationService"] }] });
269
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorInputComponent, decorators: [{
258
270
  type: Component,
259
271
  args: [{
260
272
  selector: 'kendo-colorinput',
261
273
  template: `
262
274
  <div class="k-vstack">
263
- <button #toggleFormatButton
264
- class="k-colorgradient-toggle-mode k-button k-button-md k-button-flat k-button-flat-base k-icon-button"
275
+ <button
276
+ kendoButton
277
+ type="button"
278
+ fillMode="flat"
279
+ #toggleFormatButton
280
+ icon="caret-alt-expand"
281
+ [svgIcon]="caretAltExpandIcon"
282
+ class="k-colorgradient-toggle-mode"
265
283
  [attr.aria-label]="formatButtonTitle"
266
284
  [attr.title]="formatButtonTitle"
267
285
  [disabled]="disabled"
268
286
  [tabindex]="tabindex.toString()"
269
- type="button"
270
287
  >
271
- <span class="k-button-icon k-icon k-i-caret-alt-expand"></span>
272
288
  </button>
273
289
  </div>
274
290
  <div *ngIf="formatView === 'hex'" class="k-vstack">
@@ -408,5 +424,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
408
424
  args: ['blueInput']
409
425
  }], toggleFormatButton: [{
410
426
  type: ViewChild,
411
- args: ['toggleFormatButton', { static: false }]
427
+ args: ['toggleFormatButton', { static: false, read: ElementRef }]
412
428
  }] } });
@@ -1,8 +1,8 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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,14 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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
+ /* eslint-disable @typescript-eslint/no-explicit-any */
5
6
  import { take } from 'rxjs/operators';
6
- import { Component, HostBinding, Input, Output, EventEmitter, ViewChild, ViewContainerRef, forwardRef } from '@angular/core';
7
+ import { Component, HostBinding, Input, Output, EventEmitter, ViewChild, ElementRef, TemplateRef, ViewContainerRef, forwardRef, ChangeDetectorRef, NgZone, Renderer2, Injector, isDevMode } from '@angular/core';
7
8
  import { NG_VALUE_ACCESSOR, NgControl } from '@angular/forms';
8
9
  import { Subscription } from 'rxjs';
10
+ import { FlatColorPickerComponent } from './flatcolorpicker.component';
11
+ import { PopupService } from '@progress/kendo-angular-popup';
9
12
  import { validatePackage } from '@progress/kendo-licensing';
10
13
  import { Keys, KendoInput, isChanged, closest, guid } from '@progress/kendo-angular-common';
11
14
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
@@ -16,12 +19,16 @@ import { parseColor } from './utils';
16
19
  import { getStylingClasses, isPresent } from '../common/utils';
17
20
  import { ColorPickerLocalizationService } from './localization/colorpicker-localization.service';
18
21
  import { DEFAULT_ACCESSIBLE_PRESET, DEFAULT_PRESET } from './constants';
22
+ import { parseCSSClassNames } from '@progress/kendo-angular-common';
23
+ import { caretAltDownIcon } from '@progress/kendo-svg-icons';
19
24
  import * as i0 from "@angular/core";
20
25
  import * as i1 from "@progress/kendo-angular-popup";
21
26
  import * as i2 from "@progress/kendo-angular-l10n";
22
- import * as i3 from "./flatcolorpicker.component";
23
- import * as i4 from "./localization/localized-colorpicker-messages.directive";
24
- import * as i5 from "@angular/common";
27
+ import * as i3 from "@progress/kendo-angular-icons";
28
+ import * as i4 from "@progress/kendo-angular-buttons";
29
+ import * as i5 from "./flatcolorpicker.component";
30
+ import * as i6 from "./localization/localized-colorpicker-messages.directive";
31
+ import * as i7 from "@angular/common";
25
32
  const DOM_FOCUS_EVENTS = ['focus', 'blur'];
26
33
  const DEFAULT_SIZE = 'medium';
27
34
  const DEFAULT_ROUNDED = 'medium';
@@ -147,6 +154,10 @@ export class ColorPickerComponent {
147
154
  * Indicates whether the ColorPicker wrapper is focused.
148
155
  */
149
156
  this.isFocused = false;
157
+ /**
158
+ * @hidden
159
+ */
160
+ this.arrowDownIcon = caretAltDownIcon;
150
161
  this._tabindex = 0;
151
162
  this._popupSettings = { animate: true };
152
163
  this._paletteSettings = {};
@@ -181,8 +192,7 @@ export class ColorPickerComponent {
181
192
  return this.tabindex;
182
193
  }
183
194
  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();
195
+ return (this.control?.invalid)?.toString();
186
196
  }
187
197
  /**
188
198
  * @hidden
@@ -229,6 +239,19 @@ export class ColorPickerComponent {
229
239
  get gradientSettings() {
230
240
  return this._gradientSettings;
231
241
  }
242
+ /**
243
+ * Defines an SVGIcon to be rendered within the button.
244
+ * The input can take either an [existing Kendo SVG icon](slug:svgicon_list) or a custom one.
245
+ */
246
+ set svgIcon(icon) {
247
+ if (isDevMode() && icon && this.icon && this.iconClass) {
248
+ throw new Error('Setting both icon/svgIcon and iconClass options at the same time is not supported.');
249
+ }
250
+ this._svgIcon = icon;
251
+ }
252
+ get svgIcon() {
253
+ return this._svgIcon;
254
+ }
232
255
  /**
233
256
  * Specifies the [tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex) of the component.
234
257
  *
@@ -306,13 +329,24 @@ export class ColorPickerComponent {
306
329
  /**
307
330
  * @hidden
308
331
  */
309
- get iconStyles() {
332
+ get customIconStyles() {
310
333
  if (this.iconClass) {
311
- return this.iconClass;
334
+ let parsedIconClass = '';
335
+ parseCSSClassNames(this.iconClass).forEach(iconClass => {
336
+ parsedIconClass += iconClass + ' ';
337
+ });
338
+ return parsedIconClass.slice(0, -1);
312
339
  }
313
- if (this.icon) {
314
- return `k-icon k-i-${this.icon}`;
340
+ return '';
341
+ }
342
+ /**
343
+ * @hidden
344
+ */
345
+ get iconStyles() {
346
+ if (this.icon && !this.iconClass) {
347
+ return `${this.icon}`;
315
348
  }
349
+ return '';
316
350
  }
317
351
  ngOnInit() {
318
352
  const defaultPreset = (this.format !== 'name') ? DEFAULT_PRESET : DEFAULT_ACCESSIBLE_PRESET;
@@ -557,7 +591,7 @@ export class ColorPickerComponent {
557
591
  popupBlurInvalid(ev) {
558
592
  const focusInFlatColorPickerElement = this.popupRef.popupElement.contains(ev.relatedTarget);
559
593
  const hostClicked = closest(ev.relatedTarget, (element) => element === this.host.nativeElement);
560
- return hostClicked || focusInFlatColorPickerElement;
594
+ return Boolean(hostClicked || focusInFlatColorPickerElement);
561
595
  }
562
596
  toggleWithEvents(open) {
563
597
  const sameState = this.isOpen === open;
@@ -651,7 +685,7 @@ export class ColorPickerComponent {
651
685
  if (!this.host) {
652
686
  return;
653
687
  }
654
- let hostElement = this.host.nativeElement;
688
+ const hostElement = this.host.nativeElement;
655
689
  this.ngZone.runOutsideAngular(() => {
656
690
  this.subscriptions.add(this.renderer.listen(hostElement, 'focusin', () => {
657
691
  this.handleWrapperFocus();
@@ -689,8 +723,8 @@ export class ColorPickerComponent {
689
723
  }
690
724
  }
691
725
  }
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: [{
726
+ 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 });
727
+ 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", svgIcon: "svgIcon", 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
728
  multi: true,
695
729
  provide: NG_VALUE_ACCESSOR,
696
730
  useExisting: forwardRef(() => ColorPickerComponent)
@@ -761,18 +795,30 @@ ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
761
795
  <span #activeColor class="k-input-inner">
762
796
  <span
763
797
  class="k-value-icon k-color-preview"
764
- [ngClass]="{'k-icon-color-preview': iconStyles, 'k-no-color': !value}">
765
- <span *ngIf="iconClass || icon" class="k-color-preview-icon k-icon" [ngClass]="iconStyles"></span>
798
+ [ngClass]="{'k-icon-color-preview': customIconStyles || iconStyles, 'k-no-color': !value}"
799
+ >
800
+ <kendo-icon-wrapper
801
+ *ngIf="iconClass || icon"
802
+ [name]="iconStyles"
803
+ innerCssClass="k-color-preview-icon"
804
+ [customFontClass]="customIconStyles"
805
+ [svgIcon]="svgIcon"
806
+ >
807
+ </kendo-icon-wrapper>
766
808
  <span class="k-color-preview-mask" [style.background-color]="value"></span>
767
809
  </span>
810
+
768
811
  </span>
769
812
  <button
813
+ kendoButton
770
814
  tabindex="-1"
771
815
  type="button"
772
816
  role="none"
817
+ icon="caret-alt-down"
818
+ [svgIcon]="arrowDownIcon"
773
819
  aria-hidden="true"
774
- class="k-input-button k-button k-button-md k-button-solid k-button-solid-base k-icon-button">
775
- <span class="k-button-icon k-icon k-i-caret-alt-down"></span>
820
+ class="k-input-button"
821
+ >
776
822
  </button>
777
823
  <ng-template #popupTemplate>
778
824
  <kendo-flatcolorpicker
@@ -795,8 +841,8 @@ ColorPickerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
795
841
  </kendo-flatcolorpicker>
796
842
  </ng-template>
797
843
  <ng-container #container></ng-container>
798
- `, 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: [{
844
+ `, isInline: true, components: [{ type: i3.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i4.Button, selector: "button[kendoButton], span[kendoButton], kendo-button", inputs: ["toggleable", "togglable", "selected", "tabIndex", "imageUrl", "iconClass", "icon", "disabled", "size", "rounded", "fillMode", "themeColor", "svgIcon", "role", "primary", "look"], outputs: ["selectedChange", "click"], exportAs: ["kendoButton"] }, { type: i5.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: i6.LocalizedColorPickerMessagesDirective, selector: "[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]" }, { type: i7.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ColorPickerComponent, decorators: [{
800
846
  type: Component,
801
847
  args: [{
802
848
  exportAs: 'kendoColorPicker',
@@ -872,18 +918,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
872
918
  <span #activeColor class="k-input-inner">
873
919
  <span
874
920
  class="k-value-icon k-color-preview"
875
- [ngClass]="{'k-icon-color-preview': iconStyles, 'k-no-color': !value}">
876
- <span *ngIf="iconClass || icon" class="k-color-preview-icon k-icon" [ngClass]="iconStyles"></span>
921
+ [ngClass]="{'k-icon-color-preview': customIconStyles || iconStyles, 'k-no-color': !value}"
922
+ >
923
+ <kendo-icon-wrapper
924
+ *ngIf="iconClass || icon"
925
+ [name]="iconStyles"
926
+ innerCssClass="k-color-preview-icon"
927
+ [customFontClass]="customIconStyles"
928
+ [svgIcon]="svgIcon"
929
+ >
930
+ </kendo-icon-wrapper>
877
931
  <span class="k-color-preview-mask" [style.background-color]="value"></span>
878
932
  </span>
933
+
879
934
  </span>
880
935
  <button
936
+ kendoButton
881
937
  tabindex="-1"
882
938
  type="button"
883
939
  role="none"
940
+ icon="caret-alt-down"
941
+ [svgIcon]="arrowDownIcon"
884
942
  aria-hidden="true"
885
- class="k-input-button k-button k-button-md k-button-solid k-button-solid-base k-icon-button">
886
- <span class="k-button-icon k-icon k-i-caret-alt-down"></span>
943
+ class="k-input-button"
944
+ >
887
945
  </button>
888
946
  <ng-template #popupTemplate>
889
947
  <kendo-flatcolorpicker
@@ -971,6 +1029,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
971
1029
  type: Input
972
1030
  }], iconClass: [{
973
1031
  type: Input
1032
+ }], svgIcon: [{
1033
+ type: Input
974
1034
  }], clearButton: [{
975
1035
  type: Input
976
1036
  }], tabindex: [{
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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,18 +1,23 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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';
8
+ import { checkIcon, xCircleIcon } from '@progress/kendo-svg-icons';
7
9
  import * as i0 from "@angular/core";
8
10
  import * as i1 from "@progress/kendo-angular-l10n";
9
- import * as i2 from "@angular/common";
11
+ import * as i2 from "@progress/kendo-angular-icons";
12
+ import * as i3 from "@angular/common";
10
13
  /**
11
14
  * @hidden
12
15
  */
13
16
  export class ContrastValidationComponent {
14
17
  constructor(localization) {
15
18
  this.localization = localization;
19
+ this.checkIcon = checkIcon;
20
+ this.xCircleIcon = xCircleIcon;
16
21
  }
17
22
  get passMessage() {
18
23
  return this.localization.get('passContrast');
@@ -21,25 +26,25 @@ export class ContrastValidationComponent {
21
26
  return this.localization.get('failContrast');
22
27
  }
23
28
  get contrastText() {
24
- let ratio = this.type === 'AA' ? AA_RATIO : AAA_RATIO;
29
+ const ratio = this.type === 'AA' ? AA_RATIO : AAA_RATIO;
25
30
  return `${this.type}: ${ratio.toFixed(1)}`;
26
31
  }
27
32
  }
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: `
33
+ ContrastValidationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContrastValidationComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
34
+ 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
35
  <span>{{contrastText}}</span>
31
36
  <ng-container *ngIf="value">
32
37
  <span class="k-contrast-validation k-text-success" *ngIf="pass">
33
38
  {{passMessage}}
34
- <span class="k-icon k-i-check"></span>
39
+ <kendo-icon-wrapper name="check" [svgIcon]="checkIcon"></kendo-icon-wrapper>
35
40
  </span>
36
41
  <span class="k-contrast-validation k-text-error" *ngIf="!pass">
37
42
  {{failMessage}}
38
- <span class="k-icon k-i-x"></span>
43
+ <kendo-icon-wrapper name="x" [svgIcon]="xCircleIcon"></kendo-icon-wrapper>
39
44
  </span>
40
45
  </ng-container>
41
- `, 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: [{
46
+ `, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContrastValidationComponent, decorators: [{
43
48
  type: Component,
44
49
  args: [{
45
50
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -49,11 +54,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
49
54
  <ng-container *ngIf="value">
50
55
  <span class="k-contrast-validation k-text-success" *ngIf="pass">
51
56
  {{passMessage}}
52
- <span class="k-icon k-i-check"></span>
57
+ <kendo-icon-wrapper name="check" [svgIcon]="checkIcon"></kendo-icon-wrapper>
53
58
  </span>
54
59
  <span class="k-contrast-validation k-text-error" *ngIf="!pass">
55
60
  {{failMessage}}
56
- <span class="k-icon k-i-x"></span>
61
+ <kendo-icon-wrapper name="x" [svgIcon]="xCircleIcon"></kendo-icon-wrapper>
57
62
  </span>
58
63
  </ng-container>
59
64
  `
@@ -1,20 +1,25 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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, Input } from '@angular/core';
6
+ import { LocalizationService } from '@progress/kendo-angular-l10n';
6
7
  import { getContrastFromTwoRGBAs, getRGBA } from './utils';
7
8
  import { AA_RATIO, AAA_RATIO } from './constants';
9
+ import { checkIcon, xCircleIcon } from '@progress/kendo-svg-icons';
8
10
  import * as i0 from "@angular/core";
9
11
  import * as i1 from "@progress/kendo-angular-l10n";
10
- import * as i2 from "./contrast-validation.component";
11
- import * as i3 from "@angular/common";
12
+ import * as i2 from "@progress/kendo-angular-icons";
13
+ import * as i3 from "./contrast-validation.component";
14
+ import * as i4 from "@angular/common";
12
15
  /**
13
16
  * @hidden
14
17
  */
15
18
  export class ContrastComponent {
16
19
  constructor(localization) {
17
20
  this.localization = localization;
21
+ this.checkIcon = checkIcon;
22
+ this.xCircleIcon = xCircleIcon;
18
23
  }
19
24
  get formatedRatio() {
20
25
  return this.contrastRatio.toFixed(2);
@@ -29,21 +34,21 @@ export class ContrastComponent {
29
34
  return this.contrastRatio >= AAA_RATIO;
30
35
  }
31
36
  get contrastRatio() {
32
- let contrast = getContrastFromTwoRGBAs(getRGBA(this.value), getRGBA(this.ratio));
37
+ const contrast = getContrastFromTwoRGBAs(getRGBA(this.value), getRGBA(this.ratio));
33
38
  return contrast;
34
39
  }
35
40
  }
36
- ContrastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContrastComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
37
- ContrastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: ContrastComponent, selector: "[kendoContrastTool]", inputs: { value: "value", ratio: "ratio" }, ngImport: i0, template: `
41
+ ContrastComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContrastComponent, deps: [{ token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
42
+ ContrastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ContrastComponent, selector: "[kendoContrastTool]", inputs: { value: "value", ratio: "ratio" }, ngImport: i0, template: `
38
43
  <div class="k-contrast-ratio">
39
44
  <span class="k-contrast-ratio-text">{{contrastRatioText}}</span>
40
45
  <ng-container *ngIf="value">
41
46
  <span class="k-contrast-validation k-text-success" *ngIf="satisfiesAACondition">
42
- <span class="k-icon k-i-check"></span>
43
- <span class="k-icon k-i-check" *ngIf="satisfiesAAACondition"></span>
47
+ <kendo-icon-wrapper name="check" [svgIcon]="checkIcon"></kendo-icon-wrapper>
48
+ <kendo-icon-wrapper *ngIf="satisfiesAAACondition" name="check" [svgIcon]="checkIcon"></kendo-icon-wrapper>
44
49
  </span>
45
50
  <span class="k-contrast-validation k-text-error" *ngIf="!satisfiesAACondition">
46
- <span class="k-icon k-i-x"></span>
51
+ <kendo-icon-wrapper name="x" [svgIcon]="xCircleIcon"></kendo-icon-wrapper>
47
52
  </span>
48
53
  </ng-container>
49
54
  </div>
@@ -57,8 +62,8 @@ ContrastComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", vers
57
62
  [value]="value"
58
63
  [pass]="satisfiesAAACondition">
59
64
  </div>
60
- `, isInline: true, components: [{ type: i2.ContrastValidationComponent, selector: "[kendoContrastValidation]", inputs: ["type", "pass", "value"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
61
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: ContrastComponent, decorators: [{
65
+ `, isInline: true, components: [{ type: i2.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass"], exportAs: ["kendoIconWrapper"] }, { type: i3.ContrastValidationComponent, selector: "[kendoContrastValidation]", inputs: ["type", "pass", "value"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
66
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContrastComponent, decorators: [{
62
67
  type: Component,
63
68
  args: [{
64
69
  // eslint-disable-next-line @angular-eslint/component-selector
@@ -68,11 +73,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
68
73
  <span class="k-contrast-ratio-text">{{contrastRatioText}}</span>
69
74
  <ng-container *ngIf="value">
70
75
  <span class="k-contrast-validation k-text-success" *ngIf="satisfiesAACondition">
71
- <span class="k-icon k-i-check"></span>
72
- <span class="k-icon k-i-check" *ngIf="satisfiesAAACondition"></span>
76
+ <kendo-icon-wrapper name="check" [svgIcon]="checkIcon"></kendo-icon-wrapper>
77
+ <kendo-icon-wrapper *ngIf="satisfiesAAACondition" name="check" [svgIcon]="checkIcon"></kendo-icon-wrapper>
73
78
  </span>
74
79
  <span class="k-contrast-validation k-text-error" *ngIf="!satisfiesAACondition">
75
- <span class="k-icon k-i-x"></span>
80
+ <kendo-icon-wrapper name="x" [svgIcon]="xCircleIcon"></kendo-icon-wrapper>
76
81
  </span>
77
82
  </ng-container>
78
83
  </div>
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 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 © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from "@progress/kendo-angular-common";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from "@progress/kendo-angular-common";
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
2
+ * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from "@progress/kendo-angular-common";