@progress/kendo-angular-inputs 8.0.9-dev.202203231216 → 9.0.0-dev.202204191046

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 (561) hide show
  1. package/bundles/kendo-angular-inputs.umd.js +5 -0
  2. package/{dist/es2015/checkbox → checkbox}/checkbox.directive.d.ts +15 -10
  3. package/{dist/es2015/checkbox.module.d.ts → checkbox.module.d.ts} +6 -0
  4. package/{dist/es2015/colorpicker → colorpicker}/color-contrast-svg.component.d.ts +3 -0
  5. package/{dist/es2015/colorpicker → colorpicker}/color-gradient.component.d.ts +23 -17
  6. package/{dist/es2015/colorpicker → colorpicker}/color-input.component.d.ts +6 -3
  7. package/{dist/es2015/colorpicker → colorpicker}/color-palette.component.d.ts +17 -10
  8. package/{dist/es2015/colorpicker → colorpicker}/colorpicker.component.d.ts +43 -31
  9. package/{dist/es2015/colorpicker → colorpicker}/constants.d.ts +0 -0
  10. package/{dist/es2015/colorpicker → colorpicker}/contrast-validation.component.d.ts +6 -3
  11. package/{dist/es2015/colorpicker → colorpicker}/contrast.component.d.ts +8 -5
  12. package/{dist/es2015/colorpicker → colorpicker}/events/active-color-click-event.d.ts +0 -0
  13. package/{dist/es2015/colorpicker → colorpicker}/events/cancel-event.d.ts +0 -0
  14. package/{dist/es2015/colorpicker → colorpicker}/events/close-event.d.ts +0 -0
  15. package/{dist/es2015/colorpicker → colorpicker}/events/kendo-drag-event.d.ts +0 -0
  16. package/{dist/es2015/colorpicker → colorpicker}/events/open-event.d.ts +0 -0
  17. package/{dist/es2015/colorpicker → colorpicker}/events.d.ts +0 -0
  18. package/{dist/es2015/colorpicker → colorpicker}/flatcolorpicker-actions.component.d.ts +3 -0
  19. package/{dist/es2015/colorpicker → colorpicker}/flatcolorpicker-header.component.d.ts +5 -2
  20. package/{dist/es2015/colorpicker → colorpicker}/flatcolorpicker.component.d.ts +15 -8
  21. package/{dist/es2015/colorpicker → colorpicker}/focus-on-dom-ready.directive.d.ts +3 -0
  22. package/{dist/es2015/colorpicker → colorpicker}/localization/colorgradient-localization.service.d.ts +3 -0
  23. package/{dist/es2015/colorpicker → colorpicker}/localization/colorpalette-localization.service.d.ts +3 -0
  24. package/{dist/es2015/colorpicker → colorpicker}/localization/colorpicker-localization.service.d.ts +3 -0
  25. package/{dist/es2015/colorpicker → colorpicker}/localization/custom-messages.component.d.ts +4 -1
  26. package/{dist/es2015/colorpicker → colorpicker}/localization/flatcolorpicker-localization.service.d.ts +3 -0
  27. package/{dist/es2015/colorpicker → colorpicker}/localization/localized-colorpicker-messages.directive.d.ts +3 -0
  28. package/{dist/es2015/colorpicker → colorpicker}/localization/messages.d.ts +3 -0
  29. package/{dist/es2015/colorpicker → colorpicker}/models/actions-layout.d.ts +0 -0
  30. package/{dist/es2015/colorpicker → colorpicker}/models/colorpicker-view.d.ts +0 -0
  31. package/{dist/es2015/colorpicker → colorpicker}/models/gradient-settings.d.ts +0 -0
  32. package/{dist/es2015/colorpicker → colorpicker}/models/hsva.d.ts +0 -0
  33. package/{dist/es2015/colorpicker → colorpicker}/models/output-format.d.ts +0 -0
  34. package/{dist/es2015/colorpicker → colorpicker}/models/palette-presets.d.ts +0 -0
  35. package/{dist/es2015/colorpicker → colorpicker}/models/palette-settings.d.ts +0 -0
  36. package/{dist/es2015/colorpicker → colorpicker}/models/popup-settings.d.ts +0 -0
  37. package/{dist/es2015/colorpicker → colorpicker}/models/rgb.d.ts +0 -0
  38. package/{dist/es2015/colorpicker → colorpicker}/models/rgba.d.ts +0 -0
  39. package/{dist/es2015/colorpicker → colorpicker}/models/table-cell.d.ts +0 -0
  40. package/{dist/es2015/colorpicker → colorpicker}/models/tile-size.d.ts +2 -2
  41. package/{dist/es2015/colorpicker → colorpicker}/models.d.ts +0 -0
  42. package/{dist/es2015/colorpicker → colorpicker}/services/color-palette.service.d.ts +3 -0
  43. package/{dist/es2015/colorpicker → colorpicker}/services/flatcolorpicker.service.d.ts +3 -0
  44. package/{dist/es2015/colorpicker → colorpicker}/utils/color-parser.d.ts +0 -0
  45. package/{dist/es2015/colorpicker → colorpicker}/utils/contrast-curve.d.ts +0 -0
  46. package/{dist/es2015/colorpicker → colorpicker}/utils.d.ts +0 -0
  47. package/colorpicker.module.d.ts +32 -0
  48. package/{dist/es2015/common → common}/dom-utils.d.ts +0 -0
  49. package/{dist/es2015/common → common}/math.d.ts +0 -0
  50. package/{dist/es2015/common → common}/models/fillmode.d.ts +2 -6
  51. package/{dist/es2015/common → common}/models/rounded.d.ts +4 -13
  52. package/{dist/es2015/common → common}/models/size.d.ts +2 -7
  53. package/{dist/es2015/common → common}/models/styling-classes.d.ts +0 -0
  54. package/{dist/es2015/common → common}/models.d.ts +0 -0
  55. package/{dist/es2015/common → common}/utils.d.ts +0 -0
  56. package/{dist/es2015 → esm2015}/checkbox/checkbox.directive.js +35 -38
  57. package/{dist/es2015 → esm2015}/checkbox.module.js +14 -11
  58. package/{dist/es2015 → esm2015}/colorpicker/color-contrast-svg.component.js +25 -30
  59. package/{dist/es2015 → esm2015}/colorpicker/color-gradient.component.js +231 -137
  60. package/{dist/es2015 → esm2015}/colorpicker/color-input.component.js +143 -65
  61. package/{dist/es2015 → esm2015}/colorpicker/color-palette.component.js +139 -132
  62. package/{dist/es2015 → esm2015}/colorpicker/colorpicker.component.js +249 -231
  63. package/{dist/es2015 → esm2015}/colorpicker/constants.js +0 -0
  64. package/esm2015/colorpicker/contrast-validation.component.js +67 -0
  65. package/esm2015/colorpicker/contrast.component.js +95 -0
  66. package/{dist/es2015 → esm2015}/colorpicker/events/active-color-click-event.js +0 -0
  67. package/{dist/es2015 → esm2015}/colorpicker/events/cancel-event.js +0 -0
  68. package/{dist/es2015 → esm2015}/colorpicker/events/close-event.js +0 -0
  69. package/{dist/es2015 → esm2015}/colorpicker/events/kendo-drag-event.js +1 -0
  70. package/{dist/es2015 → esm2015}/colorpicker/events/open-event.js +0 -0
  71. package/{dist/es → esm2015}/colorpicker/events.js +0 -0
  72. package/esm2015/colorpicker/flatcolorpicker-actions.component.js +77 -0
  73. package/esm2015/colorpicker/flatcolorpicker-header.component.js +161 -0
  74. package/{dist/es2015 → esm2015}/colorpicker/flatcolorpicker.component.js +207 -153
  75. package/esm2015/colorpicker/focus-on-dom-ready.directive.js +29 -0
  76. package/esm2015/colorpicker/localization/colorgradient-localization.service.js +45 -0
  77. package/esm2015/colorpicker/localization/colorpalette-localization.service.js +45 -0
  78. package/esm2015/colorpicker/localization/colorpicker-localization.service.js +31 -0
  79. package/esm2015/colorpicker/localization/custom-messages.component.js +40 -0
  80. package/esm2015/colorpicker/localization/flatcolorpicker-localization.service.js +45 -0
  81. package/esm2015/colorpicker/localization/localized-colorpicker-messages.directive.js +36 -0
  82. package/esm2015/colorpicker/localization/messages.js +67 -0
  83. package/{dist/es2015 → esm2015}/colorpicker/models/actions-layout.js +1 -0
  84. package/{dist/es → esm2015}/colorpicker/models/colorpicker-view.js +1 -0
  85. package/{dist/es2015 → esm2015}/colorpicker/models/gradient-settings.js +1 -0
  86. package/{dist/es → esm2015}/colorpicker/models/hsva.js +1 -0
  87. package/{dist/es → esm2015}/colorpicker/models/output-format.js +1 -0
  88. package/{dist/es2015 → esm2015}/colorpicker/models/palette-presets.js +1 -1
  89. package/{dist/es → esm2015}/colorpicker/models/palette-settings.js +1 -0
  90. package/{dist/es → esm2015}/colorpicker/models/popup-settings.js +1 -0
  91. package/{dist/es → esm2015}/colorpicker/models/rgb.js +1 -0
  92. package/{dist/es → esm2015}/colorpicker/models/rgba.js +1 -0
  93. package/{dist/es → esm2015}/colorpicker/models/table-cell.js +1 -0
  94. package/{dist/es → esm2015}/colorpicker/models/tile-size.js +2 -0
  95. package/esm2015/colorpicker/models.js +16 -0
  96. package/{dist/es2015 → esm2015}/colorpicker/services/color-palette.service.js +8 -10
  97. package/{dist/es2015 → esm2015}/colorpicker/services/flatcolorpicker.service.js +8 -7
  98. package/{dist/es2015 → esm2015}/colorpicker/utils/color-parser.js +0 -0
  99. package/{dist/es2015 → esm2015}/colorpicker/utils/contrast-curve.js +0 -0
  100. package/{dist/es → esm2015}/colorpicker/utils.js +0 -0
  101. package/{dist/es2015 → esm2015}/colorpicker.module.js +44 -15
  102. package/{dist/es2015 → esm2015}/common/dom-utils.js +0 -2
  103. package/{dist/es2015 → esm2015}/common/math.js +0 -2
  104. package/{dist/es → esm2015}/common/models/fillmode.js +1 -0
  105. package/{dist/es → esm2015}/common/models/rounded.js +1 -0
  106. package/{dist/es → esm2015}/common/models/size.js +1 -0
  107. package/{dist/es → esm2015}/common/models/styling-classes.js +1 -0
  108. package/{dist/es → esm2015}/common/models.js +4 -0
  109. package/{dist/es2015 → esm2015}/common/utils.js +3 -3
  110. package/esm2015/formfield/error.component.js +68 -0
  111. package/{dist/es2015 → esm2015}/formfield/formfield.component.js +68 -72
  112. package/esm2015/formfield/hint.component.js +63 -0
  113. package/{dist/es → esm2015}/formfield/models/message-align.js +1 -0
  114. package/{dist/es → esm2015}/formfield/models/orientation.js +1 -0
  115. package/{dist/es → esm2015}/formfield/models/show-options.js +1 -0
  116. package/{dist/es2015 → esm2015}/formfield.module.js +14 -11
  117. package/{dist/es2015 → esm2015}/inputs.module.js +45 -22
  118. package/{dist/es2015/sliders-common/sliders-common.module.d.ts → esm2015/kendo-angular-inputs.js} +2 -3
  119. package/{dist/es2015 → esm2015}/main.js +6 -0
  120. package/{dist/es2015 → esm2015}/maskedtextbox/maskedtextbox.component.js +163 -171
  121. package/{dist/es2015 → esm2015}/maskedtextbox/masking.service.js +8 -10
  122. package/{dist/es2015 → esm2015}/maskedtextbox/parsing/combinators.js +0 -3
  123. package/{dist/es2015 → esm2015}/maskedtextbox/parsing/parsers.js +0 -2
  124. package/{dist/es2015 → esm2015}/maskedtextbox/parsing/result.js +1 -0
  125. package/{dist/es2015 → esm2015}/maskedtextbox/parsing/stream.js +0 -0
  126. package/{dist/es → esm2015}/maskedtextbox.module.js +14 -14
  127. package/{dist/es → esm2015}/numerictextbox/arrow-direction.js +0 -0
  128. package/{dist/es2015 → esm2015}/numerictextbox/constants.js +0 -0
  129. package/esm2015/numerictextbox/localization/custom-messages.component.js +40 -0
  130. package/esm2015/numerictextbox/localization/localized-numerictextbox-messages.directive.js +36 -0
  131. package/esm2015/numerictextbox/localization/messages.js +25 -0
  132. package/{dist/es2015 → esm2015}/numerictextbox/numerictextbox.component.js +185 -169
  133. package/{dist/es2015 → esm2015}/numerictextbox/utils.js +1 -1
  134. package/{dist/es2015 → esm2015}/numerictextbox.module.js +24 -18
  135. package/{dist/es2015 → esm2015}/package-metadata.js +1 -1
  136. package/{dist/es2015 → esm2015}/radiobutton/radiobutton.directive.js +25 -26
  137. package/{dist/es2015 → esm2015}/radiobutton.module.js +14 -11
  138. package/esm2015/rangeslider/localization/custom-messages.component.js +40 -0
  139. package/esm2015/rangeslider/localization/localized-rangeslider-messages.directive.js +36 -0
  140. package/esm2015/rangeslider/localization/messages.js +25 -0
  141. package/{dist/es2015 → esm2015}/rangeslider/rangeslider-model.js +0 -0
  142. package/{dist/es → esm2015}/rangeslider/rangeslider-value.type.js +1 -0
  143. package/{dist/es2015 → esm2015}/rangeslider/rangeslider.component.js +114 -38
  144. package/{dist/es2015 → esm2015}/rangeslider.module.js +28 -20
  145. package/esm2015/shared/input-separator.component.js +41 -0
  146. package/{dist/es2015 → esm2015}/shared/textarea.directive.js +58 -52
  147. package/{dist/es2015 → esm2015}/shared/utils.js +0 -0
  148. package/esm2015/shared.module.js +32 -0
  149. package/esm2015/slider/localization/custom-messages.component.js +40 -0
  150. package/esm2015/slider/localization/localized-slider-messages.directive.js +36 -0
  151. package/esm2015/slider/localization/messages.js +27 -0
  152. package/{dist/es2015 → esm2015}/slider/slider-model.js +0 -0
  153. package/{dist/es2015 → esm2015}/slider/slider.component.js +132 -70
  154. package/{dist/es → esm2015}/slider.module.js +28 -23
  155. package/{dist/es2015 → esm2015}/sliders-common/label-template.directive.js +14 -12
  156. package/{dist/es2015 → esm2015}/sliders-common/slider-base.js +77 -112
  157. package/{dist/es2015 → esm2015}/sliders-common/slider-model.base.js +0 -0
  158. package/esm2015/sliders-common/slider-ticks.component.js +125 -0
  159. package/esm2015/sliders-common/sliders-common.module.js +42 -0
  160. package/{dist/es2015 → esm2015}/sliders-common/sliders-util.js +0 -0
  161. package/{dist/es/colorpicker/events/kendo-drag-event.js → esm2015/sliders-common/title-callback.js} +1 -0
  162. package/esm2015/switch/localization/custom-messages.component.js +40 -0
  163. package/esm2015/switch/localization/localized-switch-messages.directive.js +36 -0
  164. package/esm2015/switch/localization/messages.js +25 -0
  165. package/{dist/es2015 → esm2015}/switch/switch.component.js +166 -154
  166. package/{dist/es2015 → esm2015}/switch.module.js +26 -19
  167. package/{dist/es2015 → esm2015}/text-fields-common/text-fields-base.js +37 -47
  168. package/{dist/es → esm2015}/textarea/models/flow.js +1 -0
  169. package/{dist/es → esm2015}/textarea/models/resize.js +1 -0
  170. package/esm2015/textarea/textarea-suffix.component.js +40 -0
  171. package/{dist/es2015 → esm2015}/textarea/textarea.component.js +126 -122
  172. package/{dist/es → esm2015}/textarea.module.js +27 -22
  173. package/esm2015/textbox/localization/custom-messages.component.js +40 -0
  174. package/esm2015/textbox/localization/localized-textbox-messages.directive.js +36 -0
  175. package/esm2015/textbox/localization/messages.js +23 -0
  176. package/{dist/es → esm2015}/textbox/models/icon-show-options.js +1 -0
  177. package/esm2015/textbox/textbox-prefix.directive.js +38 -0
  178. package/esm2015/textbox/textbox-suffix.directive.js +37 -0
  179. package/{dist/es2015 → esm2015}/textbox/textbox.component.js +180 -174
  180. package/{dist/es2015 → esm2015}/textbox/textbox.directive.js +36 -31
  181. package/esm2015/textbox.module.js +88 -0
  182. package/{dist/es2015 → esm2015}/validators/max.validator.js +0 -0
  183. package/{dist/es2015 → esm2015}/validators/min.validator.js +0 -0
  184. package/{dist/fesm2015/index.js → fesm2015/kendo-angular-inputs.js} +4205 -3515
  185. package/{dist/es2015/formfield → formfield}/error.component.d.ts +6 -3
  186. package/{dist/es2015/formfield → formfield}/formfield.component.d.ts +9 -6
  187. package/{dist/es2015/formfield → formfield}/hint.component.d.ts +6 -3
  188. package/{dist/es2015/formfield → formfield}/models/message-align.d.ts +0 -0
  189. package/{dist/es2015/formfield → formfield}/models/orientation.d.ts +1 -5
  190. package/{dist/es2015/formfield → formfield}/models/show-options.d.ts +0 -0
  191. package/{dist/es2015/formfield.module.d.ts → formfield.module.d.ts} +8 -0
  192. package/{dist/es2015/inputs.module.d.ts → inputs.module.d.ts} +16 -0
  193. package/kendo-angular-inputs.d.ts +9 -0
  194. package/{dist/es2015/main.d.ts → main.d.ts} +6 -0
  195. package/{dist/es2015/maskedtextbox → maskedtextbox}/maskedtextbox.component.d.ts +28 -17
  196. package/{dist/es2015/maskedtextbox → maskedtextbox}/masking.service.d.ts +7 -4
  197. package/{dist/es2015/maskedtextbox → maskedtextbox}/parsing/combinators.d.ts +0 -0
  198. package/{dist/es2015/maskedtextbox → maskedtextbox}/parsing/parsers.d.ts +0 -0
  199. package/{dist/es2015/maskedtextbox → maskedtextbox}/parsing/result.d.ts +0 -0
  200. package/{dist/es2015/maskedtextbox → maskedtextbox}/parsing/stream.d.ts +0 -0
  201. package/{dist/es2015/maskedtextbox.module.d.ts → maskedtextbox.module.d.ts} +7 -0
  202. package/{dist/es2015/numerictextbox → numerictextbox}/arrow-direction.d.ts +0 -0
  203. package/{dist/es2015/numerictextbox → numerictextbox}/constants.d.ts +0 -0
  204. package/{dist/es2015/numerictextbox → numerictextbox}/localization/custom-messages.component.d.ts +4 -1
  205. package/{dist/es2015/numerictextbox → numerictextbox}/localization/localized-numerictextbox-messages.directive.d.ts +3 -0
  206. package/{dist/es2015/numerictextbox → numerictextbox}/localization/messages.d.ts +3 -0
  207. package/{dist/es2015/numerictextbox → numerictextbox}/numerictextbox.component.d.ts +35 -25
  208. package/{dist/es2015/numerictextbox → numerictextbox}/utils.d.ts +0 -0
  209. package/{dist/es2015/numerictextbox.module.d.ts → numerictextbox.module.d.ts} +9 -0
  210. package/{dist/es2015/package-metadata.d.ts → package-metadata.d.ts} +0 -0
  211. package/package.json +40 -114
  212. package/{dist/es2015/radiobutton → radiobutton}/radiobutton.directive.d.ts +9 -5
  213. package/{dist/es2015/radiobutton.module.d.ts → radiobutton.module.d.ts} +6 -0
  214. package/{dist/es2015/rangeslider → rangeslider}/localization/custom-messages.component.d.ts +4 -1
  215. package/{dist/es2015/rangeslider → rangeslider}/localization/localized-rangeslider-messages.directive.d.ts +3 -0
  216. package/{dist/es2015/rangeslider → rangeslider}/localization/messages.d.ts +3 -0
  217. package/{dist/es2015/rangeslider → rangeslider}/rangeslider-model.d.ts +0 -0
  218. package/{dist/es2015/rangeslider → rangeslider}/rangeslider-value.type.d.ts +0 -0
  219. package/{dist/es2015/rangeslider → rangeslider}/rangeslider.component.d.ts +7 -4
  220. package/{dist/es2015/rangeslider.module.d.ts → rangeslider.module.d.ts} +10 -0
  221. package/schematics/ngAdd/index.js +5 -2
  222. package/schematics/ngAdd/index.js.map +1 -1
  223. package/{dist/es2015/shared → shared}/input-separator.component.d.ts +3 -0
  224. package/{dist/es2015/shared → shared}/textarea.directive.d.ts +7 -2
  225. package/{dist/es2015/shared → shared}/utils.d.ts +0 -0
  226. package/{dist/es2015/shared.module.d.ts → shared.module.d.ts} +6 -0
  227. package/{dist/es2015/slider → slider}/localization/custom-messages.component.d.ts +4 -1
  228. package/{dist/es2015/slider → slider}/localization/localized-slider-messages.directive.d.ts +3 -0
  229. package/{dist/es2015/slider → slider}/localization/messages.d.ts +3 -0
  230. package/{dist/es2015/slider → slider}/slider-model.d.ts +0 -0
  231. package/{dist/es2015/slider → slider}/slider.component.d.ts +11 -7
  232. package/{dist/es2015/slider.module.d.ts → slider.module.d.ts} +10 -0
  233. package/{dist/es2015/sliders-common → sliders-common}/label-template.directive.d.ts +3 -0
  234. package/{dist/es2015/sliders-common → sliders-common}/slider-base.d.ts +11 -8
  235. package/{dist/es2015/sliders-common → sliders-common}/slider-model.base.d.ts +0 -0
  236. package/{dist/es2015/sliders-common → sliders-common}/slider-ticks.component.d.ts +3 -0
  237. package/sliders-common/sliders-common.module.d.ts +17 -0
  238. package/{dist/es2015/sliders-common → sliders-common}/sliders-util.d.ts +3 -2
  239. package/sliders-common/title-callback.d.ts +10 -0
  240. package/{dist/es2015/switch → switch}/localization/custom-messages.component.d.ts +4 -1
  241. package/{dist/es2015/switch → switch}/localization/localized-switch-messages.directive.d.ts +3 -0
  242. package/{dist/es2015/switch → switch}/localization/messages.d.ts +3 -0
  243. package/{dist/es2015/switch → switch}/switch.component.d.ts +35 -27
  244. package/{dist/es2015/switch.module.d.ts → switch.module.d.ts} +9 -0
  245. package/{dist/es2015/text-fields-common → text-fields-common}/text-fields-base.d.ts +4 -1
  246. package/{dist/es2015/textarea → textarea}/models/flow.d.ts +0 -0
  247. package/{dist/es2015/textarea → textarea}/models/resize.d.ts +0 -0
  248. package/{dist/es2015/textarea → textarea}/textarea-suffix.component.d.ts +3 -0
  249. package/{dist/es2015/textarea → textarea}/textarea.component.d.ts +28 -20
  250. package/{dist/es2015/textarea.module.d.ts → textarea.module.d.ts} +11 -0
  251. package/{dist/es2015/textbox → textbox}/localization/custom-messages.component.d.ts +4 -1
  252. package/{dist/es2015/textbox → textbox}/localization/localized-textbox-messages.directive.d.ts +3 -0
  253. package/{dist/es2015/textbox → textbox}/localization/messages.d.ts +3 -0
  254. package/{dist/es2015/textbox → textbox}/models/icon-show-options.d.ts +0 -0
  255. package/{dist/es2015/textbox → textbox}/textbox-prefix.directive.d.ts +3 -0
  256. package/{dist/es2015/textbox → textbox}/textbox-suffix.directive.d.ts +3 -0
  257. package/{dist/es2015/textbox → textbox}/textbox.component.d.ts +32 -24
  258. package/{dist/es2015/textbox → textbox}/textbox.directive.d.ts +9 -4
  259. package/textbox.module.d.ts +52 -0
  260. package/{dist/es2015/validators → validators}/max.validator.d.ts +0 -0
  261. package/{dist/es2015/validators → validators}/min.validator.d.ts +0 -0
  262. package/dist/cdn/js/kendo-angular-inputs.js +0 -20
  263. package/dist/cdn/main.js +0 -5
  264. package/dist/es/checkbox/checkbox.directive.js +0 -107
  265. package/dist/es/checkbox.module.js +0 -52
  266. package/dist/es/colorpicker/color-contrast-svg.component.js +0 -95
  267. package/dist/es/colorpicker/color-gradient.component.js +0 -697
  268. package/dist/es/colorpicker/color-input.component.js +0 -193
  269. package/dist/es/colorpicker/color-palette.component.js +0 -523
  270. package/dist/es/colorpicker/colorpicker.component.js +0 -958
  271. package/dist/es/colorpicker/constants.js +0 -36
  272. package/dist/es/colorpicker/contrast-validation.component.js +0 -59
  273. package/dist/es/colorpicker/contrast.component.js +0 -70
  274. package/dist/es/colorpicker/events/active-color-click-event.js +0 -60
  275. package/dist/es/colorpicker/events/cancel-event.js +0 -19
  276. package/dist/es/colorpicker/events/close-event.js +0 -17
  277. package/dist/es/colorpicker/events/open-event.js +0 -17
  278. package/dist/es/colorpicker/flatcolorpicker-actions.component.js +0 -50
  279. package/dist/es/colorpicker/flatcolorpicker-header.component.js +0 -94
  280. package/dist/es/colorpicker/flatcolorpicker.component.js +0 -549
  281. package/dist/es/colorpicker/focus-on-dom-ready.directive.js +0 -31
  282. package/dist/es/colorpicker/localization/colorgradient-localization.service.js +0 -34
  283. package/dist/es/colorpicker/localization/colorpalette-localization.service.js +0 -34
  284. package/dist/es/colorpicker/localization/colorpicker-localization.service.js +0 -24
  285. package/dist/es/colorpicker/localization/custom-messages.component.js +0 -43
  286. package/dist/es/colorpicker/localization/flatcolorpicker-localization.service.js +0 -34
  287. package/dist/es/colorpicker/localization/localized-colorpicker-messages.directive.js +0 -35
  288. package/dist/es/colorpicker/localization/messages.js +0 -110
  289. package/dist/es/colorpicker/models/actions-layout.js +0 -4
  290. package/dist/es/colorpicker/models/gradient-settings.js +0 -4
  291. package/dist/es/colorpicker/models/palette-presets.js +0 -62
  292. package/dist/es/colorpicker/models.js +0 -5
  293. package/dist/es/colorpicker/services/color-palette.service.js +0 -67
  294. package/dist/es/colorpicker/services/flatcolorpicker.service.js +0 -41
  295. package/dist/es/colorpicker/utils/color-parser.js +0 -170
  296. package/dist/es/colorpicker/utils/contrast-curve.js +0 -91
  297. package/dist/es/colorpicker.module.js +0 -67
  298. package/dist/es/common/dom-utils.js +0 -47
  299. package/dist/es/common/math.js +0 -67
  300. package/dist/es/common/utils.js +0 -73
  301. package/dist/es/formfield/error.component.js +0 -85
  302. package/dist/es/formfield/formfield.component.js +0 -296
  303. package/dist/es/formfield/hint.component.js +0 -79
  304. package/dist/es/formfield.module.js +0 -54
  305. package/dist/es/index.js +0 -37
  306. package/dist/es/inputs.module.js +0 -74
  307. package/dist/es/main.js +0 -53
  308. package/dist/es/maskedtextbox/maskedtextbox.component.js +0 -729
  309. package/dist/es/maskedtextbox/masking.service.js +0 -215
  310. package/dist/es/maskedtextbox/parsing/combinators.js +0 -31
  311. package/dist/es/maskedtextbox/parsing/parsers.js +0 -160
  312. package/dist/es/maskedtextbox/parsing/result.js +0 -43
  313. package/dist/es/maskedtextbox/parsing/stream.js +0 -45
  314. package/dist/es/numerictextbox/constants.js +0 -28
  315. package/dist/es/numerictextbox/localization/custom-messages.component.js +0 -43
  316. package/dist/es/numerictextbox/localization/localized-numerictextbox-messages.directive.js +0 -35
  317. package/dist/es/numerictextbox/localization/messages.js +0 -26
  318. package/dist/es/numerictextbox/numerictextbox.component.js +0 -1049
  319. package/dist/es/numerictextbox/utils.js +0 -91
  320. package/dist/es/numerictextbox.module.js +0 -62
  321. package/dist/es/package-metadata.js +0 -15
  322. package/dist/es/radiobutton/radiobutton.directive.js +0 -83
  323. package/dist/es/radiobutton.module.js +0 -52
  324. package/dist/es/rangeslider/localization/custom-messages.component.js +0 -43
  325. package/dist/es/rangeslider/localization/localized-rangeslider-messages.directive.js +0 -35
  326. package/dist/es/rangeslider/localization/messages.js +0 -26
  327. package/dist/es/rangeslider/rangeslider-model.js +0 -59
  328. package/dist/es/rangeslider/rangeslider.component.js +0 -471
  329. package/dist/es/rangeslider.module.js +0 -66
  330. package/dist/es/shared/input-separator.component.js +0 -41
  331. package/dist/es/shared/textarea.directive.js +0 -269
  332. package/dist/es/shared/utils.js +0 -24
  333. package/dist/es/shared.module.js +0 -30
  334. package/dist/es/slider/localization/custom-messages.component.js +0 -43
  335. package/dist/es/slider/localization/localized-slider-messages.directive.js +0 -35
  336. package/dist/es/slider/localization/messages.js +0 -30
  337. package/dist/es/slider/slider-model.js +0 -41
  338. package/dist/es/slider/slider.component.js +0 -482
  339. package/dist/es/sliders-common/label-template.directive.js +0 -44
  340. package/dist/es/sliders-common/slider-base.js +0 -326
  341. package/dist/es/sliders-common/slider-model.base.js +0 -96
  342. package/dist/es/sliders-common/slider-ticks.component.js +0 -104
  343. package/dist/es/sliders-common/sliders-common.module.js +0 -35
  344. package/dist/es/sliders-common/sliders-util.js +0 -234
  345. package/dist/es/switch/localization/custom-messages.component.js +0 -43
  346. package/dist/es/switch/localization/localized-switch-messages.directive.js +0 -35
  347. package/dist/es/switch/localization/messages.js +0 -26
  348. package/dist/es/switch/switch.component.js +0 -570
  349. package/dist/es/switch.module.js +0 -64
  350. package/dist/es/text-fields-common/text-fields-base.js +0 -144
  351. package/dist/es/textarea/textarea-suffix.component.js +0 -40
  352. package/dist/es/textarea/textarea.component.js +0 -600
  353. package/dist/es/textbox/localization/custom-messages.component.js +0 -43
  354. package/dist/es/textbox/localization/localized-textbox-messages.directive.js +0 -35
  355. package/dist/es/textbox/localization/messages.js +0 -22
  356. package/dist/es/textbox/textbox-prefix.directive.js +0 -37
  357. package/dist/es/textbox/textbox-suffix.directive.js +0 -36
  358. package/dist/es/textbox/textbox.component.js +0 -763
  359. package/dist/es/textbox/textbox.directive.js +0 -127
  360. package/dist/es/textbox.module.js +0 -75
  361. package/dist/es/validators/max.validator.js +0 -21
  362. package/dist/es/validators/min.validator.js +0 -21
  363. package/dist/es2015/colorpicker/contrast-validation.component.js +0 -58
  364. package/dist/es2015/colorpicker/contrast.component.js +0 -72
  365. package/dist/es2015/colorpicker/events.js +0 -8
  366. package/dist/es2015/colorpicker/flatcolorpicker-actions.component.js +0 -62
  367. package/dist/es2015/colorpicker/flatcolorpicker-header.component.js +0 -133
  368. package/dist/es2015/colorpicker/focus-on-dom-ready.directive.js +0 -29
  369. package/dist/es2015/colorpicker/localization/colorgradient-localization.service.js +0 -31
  370. package/dist/es2015/colorpicker/localization/colorpalette-localization.service.js +0 -31
  371. package/dist/es2015/colorpicker/localization/colorpicker-localization.service.js +0 -22
  372. package/dist/es2015/colorpicker/localization/custom-messages.component.js +0 -35
  373. package/dist/es2015/colorpicker/localization/flatcolorpicker-localization.service.js +0 -31
  374. package/dist/es2015/colorpicker/localization/localized-colorpicker-messages.directive.js +0 -31
  375. package/dist/es2015/colorpicker/localization/messages.js +0 -104
  376. package/dist/es2015/colorpicker/models/colorpicker-view.js +0 -4
  377. package/dist/es2015/colorpicker/models/hsva.js +0 -4
  378. package/dist/es2015/colorpicker/models/output-format.js +0 -4
  379. package/dist/es2015/colorpicker/models/palette-settings.js +0 -4
  380. package/dist/es2015/colorpicker/models/popup-settings.js +0 -4
  381. package/dist/es2015/colorpicker/models/rgb.js +0 -4
  382. package/dist/es2015/colorpicker/models/rgba.js +0 -4
  383. package/dist/es2015/colorpicker/models/table-cell.js +0 -4
  384. package/dist/es2015/colorpicker/models/tile-size.js +0 -4
  385. package/dist/es2015/colorpicker/models.js +0 -5
  386. package/dist/es2015/colorpicker/utils.js +0 -6
  387. package/dist/es2015/colorpicker.module.d.ts +0 -10
  388. package/dist/es2015/common/models/fillmode.js +0 -4
  389. package/dist/es2015/common/models/rounded.js +0 -4
  390. package/dist/es2015/common/models/size.js +0 -4
  391. package/dist/es2015/common/models/styling-classes.js +0 -4
  392. package/dist/es2015/common/models.js +0 -4
  393. package/dist/es2015/formfield/error.component.js +0 -78
  394. package/dist/es2015/formfield/hint.component.js +0 -71
  395. package/dist/es2015/formfield/models/message-align.js +0 -4
  396. package/dist/es2015/formfield/models/orientation.js +0 -4
  397. package/dist/es2015/formfield/models/show-options.js +0 -4
  398. package/dist/es2015/index.d.ts +0 -37
  399. package/dist/es2015/index.js +0 -37
  400. package/dist/es2015/index.metadata.json +0 -1
  401. package/dist/es2015/maskedtextbox.module.js +0 -50
  402. package/dist/es2015/numerictextbox/arrow-direction.js +0 -13
  403. package/dist/es2015/numerictextbox/localization/custom-messages.component.js +0 -35
  404. package/dist/es2015/numerictextbox/localization/localized-numerictextbox-messages.directive.js +0 -31
  405. package/dist/es2015/numerictextbox/localization/messages.js +0 -20
  406. package/dist/es2015/rangeslider/localization/custom-messages.component.js +0 -35
  407. package/dist/es2015/rangeslider/localization/localized-rangeslider-messages.directive.js +0 -31
  408. package/dist/es2015/rangeslider/localization/messages.js +0 -20
  409. package/dist/es2015/rangeslider/rangeslider-value.type.js +0 -4
  410. package/dist/es2015/shared/input-separator.component.js +0 -58
  411. package/dist/es2015/shared.module.js +0 -27
  412. package/dist/es2015/slider/localization/custom-messages.component.js +0 -35
  413. package/dist/es2015/slider/localization/localized-slider-messages.directive.js +0 -31
  414. package/dist/es2015/slider/localization/messages.js +0 -24
  415. package/dist/es2015/slider.module.js +0 -63
  416. package/dist/es2015/sliders-common/slider-ticks.component.js +0 -123
  417. package/dist/es2015/sliders-common/sliders-common.module.js +0 -32
  418. package/dist/es2015/switch/localization/custom-messages.component.js +0 -35
  419. package/dist/es2015/switch/localization/localized-switch-messages.directive.js +0 -31
  420. package/dist/es2015/switch/localization/messages.js +0 -20
  421. package/dist/es2015/textarea/models/flow.js +0 -4
  422. package/dist/es2015/textarea/models/resize.js +0 -4
  423. package/dist/es2015/textarea/textarea-suffix.component.js +0 -55
  424. package/dist/es2015/textarea.module.js +0 -60
  425. package/dist/es2015/textbox/localization/custom-messages.component.js +0 -35
  426. package/dist/es2015/textbox/localization/localized-textbox-messages.directive.js +0 -31
  427. package/dist/es2015/textbox/localization/messages.js +0 -16
  428. package/dist/es2015/textbox/models/icon-show-options.js +0 -4
  429. package/dist/es2015/textbox/textbox-prefix.directive.js +0 -36
  430. package/dist/es2015/textbox/textbox-suffix.directive.js +0 -35
  431. package/dist/es2015/textbox.module.d.ts +0 -37
  432. package/dist/es2015/textbox.module.js +0 -72
  433. package/dist/fesm5/index.js +0 -12461
  434. package/dist/npm/checkbox/checkbox.directive.js +0 -109
  435. package/dist/npm/checkbox.module.js +0 -54
  436. package/dist/npm/colorpicker/color-contrast-svg.component.js +0 -97
  437. package/dist/npm/colorpicker/color-gradient.component.js +0 -699
  438. package/dist/npm/colorpicker/color-input.component.js +0 -195
  439. package/dist/npm/colorpicker/color-palette.component.js +0 -525
  440. package/dist/npm/colorpicker/colorpicker.component.js +0 -960
  441. package/dist/npm/colorpicker/constants.js +0 -38
  442. package/dist/npm/colorpicker/contrast-validation.component.js +0 -61
  443. package/dist/npm/colorpicker/contrast.component.js +0 -72
  444. package/dist/npm/colorpicker/events/active-color-click-event.js +0 -62
  445. package/dist/npm/colorpicker/events/cancel-event.js +0 -21
  446. package/dist/npm/colorpicker/events/close-event.js +0 -19
  447. package/dist/npm/colorpicker/events/kendo-drag-event.js +0 -6
  448. package/dist/npm/colorpicker/events/open-event.js +0 -19
  449. package/dist/npm/colorpicker/events.js +0 -11
  450. package/dist/npm/colorpicker/flatcolorpicker-actions.component.js +0 -52
  451. package/dist/npm/colorpicker/flatcolorpicker-header.component.js +0 -96
  452. package/dist/npm/colorpicker/flatcolorpicker.component.js +0 -551
  453. package/dist/npm/colorpicker/focus-on-dom-ready.directive.js +0 -33
  454. package/dist/npm/colorpicker/localization/colorgradient-localization.service.js +0 -36
  455. package/dist/npm/colorpicker/localization/colorpalette-localization.service.js +0 -36
  456. package/dist/npm/colorpicker/localization/colorpicker-localization.service.js +0 -26
  457. package/dist/npm/colorpicker/localization/custom-messages.component.js +0 -45
  458. package/dist/npm/colorpicker/localization/flatcolorpicker-localization.service.js +0 -36
  459. package/dist/npm/colorpicker/localization/localized-colorpicker-messages.directive.js +0 -37
  460. package/dist/npm/colorpicker/localization/messages.js +0 -112
  461. package/dist/npm/colorpicker/models/actions-layout.js +0 -6
  462. package/dist/npm/colorpicker/models/colorpicker-view.js +0 -6
  463. package/dist/npm/colorpicker/models/gradient-settings.js +0 -6
  464. package/dist/npm/colorpicker/models/hsva.js +0 -6
  465. package/dist/npm/colorpicker/models/output-format.js +0 -6
  466. package/dist/npm/colorpicker/models/palette-presets.js +0 -64
  467. package/dist/npm/colorpicker/models/palette-settings.js +0 -6
  468. package/dist/npm/colorpicker/models/popup-settings.js +0 -6
  469. package/dist/npm/colorpicker/models/rgb.js +0 -6
  470. package/dist/npm/colorpicker/models/rgba.js +0 -6
  471. package/dist/npm/colorpicker/models/table-cell.js +0 -6
  472. package/dist/npm/colorpicker/models/tile-size.js +0 -6
  473. package/dist/npm/colorpicker/models.js +0 -8
  474. package/dist/npm/colorpicker/services/color-palette.service.js +0 -69
  475. package/dist/npm/colorpicker/services/flatcolorpicker.service.js +0 -43
  476. package/dist/npm/colorpicker/utils/color-parser.js +0 -173
  477. package/dist/npm/colorpicker/utils/contrast-curve.js +0 -93
  478. package/dist/npm/colorpicker/utils.js +0 -9
  479. package/dist/npm/colorpicker.module.js +0 -69
  480. package/dist/npm/common/dom-utils.js +0 -50
  481. package/dist/npm/common/math.js +0 -69
  482. package/dist/npm/common/models/fillmode.js +0 -6
  483. package/dist/npm/common/models/rounded.js +0 -6
  484. package/dist/npm/common/models/size.js +0 -6
  485. package/dist/npm/common/models/styling-classes.js +0 -6
  486. package/dist/npm/common/models.js +0 -6
  487. package/dist/npm/common/utils.js +0 -75
  488. package/dist/npm/formfield/error.component.js +0 -87
  489. package/dist/npm/formfield/formfield.component.js +0 -298
  490. package/dist/npm/formfield/hint.component.js +0 -81
  491. package/dist/npm/formfield/models/message-align.js +0 -6
  492. package/dist/npm/formfield/models/orientation.js +0 -6
  493. package/dist/npm/formfield/models/show-options.js +0 -6
  494. package/dist/npm/formfield.module.js +0 -56
  495. package/dist/npm/index.js +0 -69
  496. package/dist/npm/inputs.module.js +0 -76
  497. package/dist/npm/main.js +0 -100
  498. package/dist/npm/maskedtextbox/maskedtextbox.component.js +0 -731
  499. package/dist/npm/maskedtextbox/masking.service.js +0 -217
  500. package/dist/npm/maskedtextbox/parsing/combinators.js +0 -34
  501. package/dist/npm/maskedtextbox/parsing/parsers.js +0 -162
  502. package/dist/npm/maskedtextbox/parsing/result.js +0 -45
  503. package/dist/npm/maskedtextbox/parsing/stream.js +0 -47
  504. package/dist/npm/maskedtextbox.module.js +0 -55
  505. package/dist/npm/numerictextbox/arrow-direction.js +0 -15
  506. package/dist/npm/numerictextbox/constants.js +0 -30
  507. package/dist/npm/numerictextbox/localization/custom-messages.component.js +0 -45
  508. package/dist/npm/numerictextbox/localization/localized-numerictextbox-messages.directive.js +0 -37
  509. package/dist/npm/numerictextbox/localization/messages.js +0 -28
  510. package/dist/npm/numerictextbox/numerictextbox.component.js +0 -1051
  511. package/dist/npm/numerictextbox/utils.js +0 -94
  512. package/dist/npm/numerictextbox.module.js +0 -64
  513. package/dist/npm/package-metadata.js +0 -17
  514. package/dist/npm/radiobutton/radiobutton.directive.js +0 -85
  515. package/dist/npm/radiobutton.module.js +0 -54
  516. package/dist/npm/rangeslider/localization/custom-messages.component.js +0 -45
  517. package/dist/npm/rangeslider/localization/localized-rangeslider-messages.directive.js +0 -37
  518. package/dist/npm/rangeslider/localization/messages.js +0 -28
  519. package/dist/npm/rangeslider/rangeslider-model.js +0 -61
  520. package/dist/npm/rangeslider/rangeslider-value.type.js +0 -6
  521. package/dist/npm/rangeslider/rangeslider.component.js +0 -473
  522. package/dist/npm/rangeslider.module.js +0 -68
  523. package/dist/npm/shared/input-separator.component.js +0 -43
  524. package/dist/npm/shared/textarea.directive.js +0 -271
  525. package/dist/npm/shared/utils.js +0 -26
  526. package/dist/npm/shared.module.js +0 -32
  527. package/dist/npm/slider/localization/custom-messages.component.js +0 -45
  528. package/dist/npm/slider/localization/localized-slider-messages.directive.js +0 -37
  529. package/dist/npm/slider/localization/messages.js +0 -32
  530. package/dist/npm/slider/slider-model.js +0 -43
  531. package/dist/npm/slider/slider.component.js +0 -484
  532. package/dist/npm/slider.module.js +0 -68
  533. package/dist/npm/sliders-common/label-template.directive.js +0 -46
  534. package/dist/npm/sliders-common/slider-base.js +0 -328
  535. package/dist/npm/sliders-common/slider-model.base.js +0 -98
  536. package/dist/npm/sliders-common/slider-ticks.component.js +0 -106
  537. package/dist/npm/sliders-common/sliders-common.module.js +0 -37
  538. package/dist/npm/sliders-common/sliders-util.js +0 -236
  539. package/dist/npm/switch/localization/custom-messages.component.js +0 -45
  540. package/dist/npm/switch/localization/localized-switch-messages.directive.js +0 -37
  541. package/dist/npm/switch/localization/messages.js +0 -28
  542. package/dist/npm/switch/switch.component.js +0 -572
  543. package/dist/npm/switch.module.js +0 -66
  544. package/dist/npm/text-fields-common/text-fields-base.js +0 -146
  545. package/dist/npm/textarea/models/flow.js +0 -6
  546. package/dist/npm/textarea/models/resize.js +0 -6
  547. package/dist/npm/textarea/textarea-suffix.component.js +0 -42
  548. package/dist/npm/textarea/textarea.component.js +0 -602
  549. package/dist/npm/textarea.module.js +0 -65
  550. package/dist/npm/textbox/localization/custom-messages.component.js +0 -45
  551. package/dist/npm/textbox/localization/localized-textbox-messages.directive.js +0 -37
  552. package/dist/npm/textbox/localization/messages.js +0 -24
  553. package/dist/npm/textbox/models/icon-show-options.js +0 -6
  554. package/dist/npm/textbox/textbox-prefix.directive.js +0 -39
  555. package/dist/npm/textbox/textbox-suffix.directive.js +0 -38
  556. package/dist/npm/textbox/textbox.component.js +0 -765
  557. package/dist/npm/textbox/textbox.directive.js +0 -129
  558. package/dist/npm/textbox.module.js +0 -77
  559. package/dist/npm/validators/max.validator.js +0 -23
  560. package/dist/npm/validators/min.validator.js +0 -23
  561. package/dist/systemjs/kendo-angular-inputs.js +0 -5
@@ -1,20 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2021 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@angular/core"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-angular-common"),require("@angular/forms"),require("@angular/common"),require("rxjs"),require("@progress/kendo-licensing"),require("rxjs/operators"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-intl"),require("@progress/kendo-drawing")):"function"==typeof define&&define.amd?define([,,,,,,,,,,],t):"object"==typeof exports?exports.KendoAngularInputs=t(require("@angular/core"),require("@progress/kendo-angular-l10n"),require("@progress/kendo-angular-common"),require("@angular/forms"),require("@angular/common"),require("rxjs"),require("@progress/kendo-licensing"),require("rxjs/operators"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-intl"),require("@progress/kendo-drawing")):e.KendoAngularInputs=t(e.ng.core,e.KendoAngularL10N,e.KendoAngularCommon,e.ng.forms,e.ng.common,e.rxjs,e.KendoLicensing,e.rxjs.operators,e.KendoAngularPopup,e.KendoAngularIntl,e.KendoDrawing)}(window,(function(e,t,n,o,i,r,a,s,l,d,c){return function(e){var t={};function n(o){if(t[o])return t[o].exports;var i=t[o]={i:o,l:!1,exports:{}};return e[o].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:o})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(n.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(o,i,function(t){return e[t]}.bind(null,i));return o},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=81)}([function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return i})),n.d(t,"__assign",(function(){return r})),n.d(t,"__rest",(function(){return a})),n.d(t,"__decorate",(function(){return s})),n.d(t,"__param",(function(){return l})),n.d(t,"__metadata",(function(){return d})),n.d(t,"__awaiter",(function(){return c})),n.d(t,"__generator",(function(){return u})),n.d(t,"__createBinding",(function(){return p})),n.d(t,"__exportStar",(function(){return h})),n.d(t,"__values",(function(){return f})),n.d(t,"__read",(function(){return g})),n.d(t,"__spread",(function(){return m})),n.d(t,"__spreadArrays",(function(){return v})),n.d(t,"__await",(function(){return _})),n.d(t,"__asyncGenerator",(function(){return y})),n.d(t,"__asyncDelegator",(function(){return b})),n.d(t,"__asyncValues",(function(){return k})),n.d(t,"__makeTemplateObject",(function(){return C})),n.d(t,"__importStar",(function(){return S})),n.d(t,"__importDefault",(function(){return E})),n.d(t,"__classPrivateFieldGet",(function(){return w})),n.d(t,"__classPrivateFieldSet",(function(){return x}));
6
- /*! *****************************************************************************
7
- Copyright (c) Microsoft Corporation.
8
-
9
- Permission to use, copy, modify, and/or distribute this software for any
10
- purpose with or without fee is hereby granted.
11
-
12
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
13
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
14
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
15
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
16
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
17
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
18
- PERFORMANCE OF THIS SOFTWARE.
19
- ***************************************************************************** */
20
- var o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var r=function(){return(r=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function a(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(n[o[i]]=e[o[i]])}return n}function s(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var s=e.length-1;s>=0;s--)(i=e[s])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,o){t(n,o,e)}}function d(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function c(e,t,n,o){return new(n||(n=Promise))((function(i,r){function a(e){try{l(o.next(e))}catch(e){r(e)}}function s(e){try{l(o.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((o=o.apply(e,t||[])).next())}))}function u(e,t){var n,o,i,r,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return r={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function s(r){return function(s){return function(r){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,o&&(i=2&r[0]?o.return:r[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,r[1])).done)return i;switch(o=0,i&&(r=[2&r[0],i.value]),r[0]){case 0:case 1:i=r;break;case 4:return a.label++,{value:r[1],done:!1};case 5:a.label++,o=r[1],r=[0];continue;case 7:r=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==r[0]&&2!==r[0])){a=0;continue}if(3===r[0]&&(!i||r[1]>i[0]&&r[1]<i[3])){a.label=r[1];break}if(6===r[0]&&a.label<i[1]){a.label=i[1],i=r;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(r);break}i[2]&&a.ops.pop(),a.trys.pop();continue}r=t.call(e,a)}catch(e){r=[6,e],o=0}finally{n=i=0}if(5&r[0])throw r[1];return{value:r[0]?r[1]:void 0,done:!0}}([r,s])}}}function p(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}function h(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])}function f(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],o=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,i,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a}function m(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var o=Array(e),i=0;for(t=0;t<n;t++)for(var r=arguments[t],a=0,s=r.length;a<s;a++,i++)o[i]=r[a];return o}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function y(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o,i=n.apply(e,t||[]),r=[];return o={},a("next"),a("throw"),a("return"),o[Symbol.asyncIterator]=function(){return this},o;function a(e){i[e]&&(o[e]=function(t){return new Promise((function(n,o){r.push([e,t,n,o])>1||s(e,t)}))})}function s(e,t){try{(n=i[e](t)).value instanceof _?Promise.resolve(n.value.v).then(l,d):c(r[0][2],n)}catch(e){c(r[0][3],e)}var n}function l(e){s("next",e)}function d(e){s("throw",e)}function c(e,t){e(t),r.shift(),r.length&&s(r[0][0],r[0][1])}}function b(e){var t,n;return t={},o("next"),o("throw",(function(e){throw e})),o("return"),t[Symbol.iterator]=function(){return this},t;function o(o,i){t[o]=e[o]?function(t){return(n=!n)?{value:_(e[o](t)),done:"return"===o}:i?i(t):t}:i}}function k(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},o("next"),o("throw"),o("return"),t[Symbol.asyncIterator]=function(){return this},t);function o(n){t[n]=e[n]&&function(t){return new Promise((function(o,i){(function(e,t,n,o){Promise.resolve(o).then((function(t){e({value:t,done:n})}),t)})(o,i,(t=e[n](t)).done,t.value)}))}}}function C(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function S(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function E(e){return e&&e.__esModule?e:{default:e}}function w(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function x(e,t,n){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,n),n}},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isPresent=function(e){return null!=e},t.areSame=function(e,t){return e===t||null===e&&void 0===t||void 0===e&&null===t},t.requiresZoneOnBlur=function(e){return e&&(!e.touched||e.control&&"blur"===e.control.updateOn)},t.fitIntoBounds=function(e,n,o){return!t.isPresent(e)||isNaN(e)||e<=n?n:e>=o?o:e};var o={small:"sm",medium:"md",large:"lg"},i={small:"sm",medium:"md",large:"lg",full:"full"};t.getStylingClasses=function(e,t,n,r){switch(t){case"size":return{toRemove:"k-"+e+"-"+o[n],toAdd:r?"k-"+e+"-"+o[r]:null};case"rounded":return{toRemove:"k-rounded-"+i[n],toAdd:r?"k-rounded-"+i[r]:null};case"fillMode":return{toRemove:"k-"+e+"-"+n,toAdd:r?"k-"+e+"-"+r:null}}}},function(e,t){e.exports=o},function(e,t){e.exports=i},function(e,t){e.exports=r},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-inputs",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1648037581,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4),i=n(17),r=n(1);t.calculateFixedTrackSize=function(e){return(e.max-e.min)/e.smallStep*e.fixedTickWidth},t.calculateTrackSize=function(e,t,n){void 0===n&&(n=!0);var o=e-(n?2*parseFloat(t):0);return Math.floor(o)},t.calculateTicksCount=function(e,t,n){if(void 0===e&&(e=0),void 0===t&&(t=0),void 0===n&&(n=1),n<=0)throw new Error("Invalid argument: smallStep must be a positive number");var o=Math.abs(i.subtract(t,e)),r=Math.floor(i.divide(o,n));return i.add(r,1)},t.calculateValueFromTick=function(e,t){var n=t.max,o=t.min,r=t.smallStep,a=t.reverse,s=t.vertical,l=i.add(o,i.multiply(e,r));return s||a?Math.abs(i.subtract(l,n)):l},t.calculateHandlePosition=function(e){var t=e.trackWidth,n=e.min,i=e.max,r=e.reverse,a=e.value,s=t/Math.abs(i-n),l=o.isPresent(a)?s*(a-n):n;return r&&(l=t-l),Math.floor(l)},t.decreaseValueToStep=function(e,n,o){var r=n.max,a=n.min,s=n.smallStep,l=n.largeStep;void 0===o&&(o=!1);var d,c=o&&l?i.multiply(s,l):s,u=i.subtract(e,a),p=i.remainder(u,c);return d=0===p?i.subtract(u,c):i.subtract(u,p),t.limitValue(i.add(d,a),a,r)},t.increaseValueToStep=function(e,n,o){var r=n.max,a=n.min,s=n.smallStep,l=n.largeStep;void 0===o&&(o=!1);var d=o&&l?i.multiply(s,l):s,c=i.subtract(e,a),u=i.remainder(c,d),p=i.add(i.subtract(c,u),d);return t.limitValue(i.add(p,a),a,r)},t.isStartHandle=function(e){return e.id.indexOf("k-start-handle")>-1},t.snapValue=function(e,n){var o=n.smallStep,i=n.min,r=n.max,a=t.limitValue(e,i,r);if(e!==a)return a;var s=t.decreaseValueToStep(e,n),l=t.increaseValueToStep(e,n);return(e-i)%o==0?e:l-e<=(l-s)/2?l:s},t.trimValue=function(e,t,n){return n>e?e:n<t?t:n},t.trimValueRange=function(e,n,o){return o?[t.trimValue(e,n,o[0]),t.trimValue(e,n,o[1])]:[n,n]},t.identity=function(e){return e},t.isSameRange=function(e,t){return o.areSame(e[0],t[0])&&o.areSame(e[1],t[1])},t.elementOffset=function(e){var t=e.getBoundingClientRect(),n=document.documentElement;return{left:t.left+(window.pageXOffset||n.scrollLeft)-(n.clientLeft||0),top:t.top+(window.pageYOffset||n.scrollTop)-(n.clientTop||0)}},t.limitValue=function(e,t,n){return Math.max(Math.min(e,n),t)},t.eventValue=function(e,n,o){var r=o.min,a=o.max,s=o.vertical,l=o.rtl,d=t.elementOffset(n),c=(s?e.pageY-d.top:e.pageX-d.left)*((a-r)/(s?n.clientHeight:n.clientWidth)),u=l||s?a-c:r+c,p=i.fractionLength(o.smallStep);return u=i.toFixedPrecision(u,p+1),t.snapValue(u,o)},t.isButton=function(e){return e.className.indexOf("k-button-increase")>=0||e.className.indexOf("k-button-decrease")>=0},t.increment=function(e){return t.increaseValueToStep(e.value,e)},t.decrement=function(e){return t.decreaseValueToStep(e.value,e)},t.incrementLarge=function(e){return t.increaseValueToStep(e.value,e,!0)},t.decrementLarge=function(e){return t.decreaseValueToStep(e.value,e,!0)},t.validateValue=function(e){if(r.isDevMode&&e&&e[0]>e[1])throw new Error("[RangeSlider] The start value should not be greater than the end value.")},t.default={calculateFixedTrackSize:t.calculateFixedTrackSize,calculateValueFromTick:t.calculateValueFromTick,calculateTrackSize:t.calculateTrackSize,calculateTicksCount:t.calculateTicksCount,calculateHandlePosition:t.calculateHandlePosition,decreaseValueToStep:t.decreaseValueToStep,decrement:t.decrement,decrementLarge:t.decrementLarge,eventValue:t.eventValue,identity:t.identity,increment:t.increment,incrementLarge:t.incrementLarge,isButton:t.isButton,isSameRange:t.isSameRange,isStartHandle:t.isStartHandle,increaseValueToStep:t.increaseValueToStep,trimValue:t.trimValue,trimValueRange:t.trimValueRange,snapValue:t.snapValue,validateValue:t.validateValue}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.hasClass=function(e,t){return Boolean((n=e.className,String(n).trim().split(" ")).find((function(e){return e===t})));var n},t.invokeElementMethod=function(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];if(e&&e.nativeElement)return e.nativeElement[t].apply(e.nativeElement,n)},t.isUntouched=function(e){return e&&e.nativeElement&&t.hasClass(e.nativeElement,"ng-untouched")},t.containsFocus=function(e,t){return e&&t&&(e===t||e.contains(t))},t.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e}},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);o.__exportStar(n(104),t),o.__exportStar(n(106),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_OUTPUT_FORMAT="rgba",t.DEFAULT_GRADIENT_BACKGROUND_COLOR="rgba(255, 0, 0, 1)",t.DRAGHANDLE_MOVE_SPEED=5,t.AAA_RATIO=7,t.AA_RATIO=4.5,t.DEFAULT_PRESET="office",t.DEFAULT_ACCESSIBLE_PRESET="accessible",t.STEP_COUNT=16},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(){function e(e){this.templateRef=e}return e=o.__decorate([i.Directive({selector:"[kendoSliderLabelTemplate]"}),o.__param(0,i.Optional()),o.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.LabelTemplateDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(5),a=n(7),s=n(12),l=n(10),d=n(82),c=n(2),u=n(4),p=n(10),h=n(11),f=n(3),g=n(34),m=function(e){function t(t,n,o,i,r,a){var s=e.call(this,t,n,o,i,r,a)||this;return s.localization=t,s.injector=n,s.renderer=o,s.ngZone=i,s.changeDetector=r,s.hostElement=a,s.focusableId="k-"+f.guid(),s.animate=!0,s.showButtons=!0,s.value=s.min,s.focusChangedProgrammatically=!1,s.onWrapClick=function(e){var t=e.target;if(!s.isDisabled&&!p.isButton(t)&&!p.isButton(t.parentNode)){var n=p.eventValue(e,s.track.nativeElement,s.getProps());s.changeValue(n)}h.invokeElementMethod(s.draghandle,"focus")},s.onKeyDown=function(e){var t=s.getProps(),n=t.max,o=t.min,i=s.keyBinding[e.keyCode];if(!s.isDisabled&&i){var r=i(t);s.changeValue(l.trimValue(n,o,r)),e.preventDefault()}},s.ngChange=function(e){},s.ngTouched=function(){},s.decreaseValue=function(){s.changeValue(p.decreaseValueToStep(s.value,s.getProps()))},s.increaseValue=function(){s.changeValue(p.increaseValueToStep(s.value,s.getProps()))},s.handleBlur=function(){s.changeDetector.markForCheck(),s.focused=!1,(f.hasObservers(s.onBlur)||u.requiresZoneOnBlur(s.control))&&s.ngZone.run((function(){s.ngTouched(),s.focusChangedProgrammatically||s.onBlur.emit()}))},s}var n;return o.__extends(t,e),n=t,Object.defineProperty(t.prototype,"tabIndex",{get:function(){return this.tabindex},set:function(e){this.tabindex=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"currentValue",{get:function(){return u.isPresent(this.value)?this.value.toString():""},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.disabled||(this.focusChangedProgrammatically=!0,h.invokeElementMethod(this.draghandle,"focus"),this.focusChangedProgrammatically=!1)},t.prototype.blur=function(){this.focusChangedProgrammatically=!0,h.invokeElementMethod(this.draghandle,"blur"),this.handleBlur(),this.focusChangedProgrammatically=!1},t.prototype.ngOnChanges=function(e){var t=this;f.anyChanged(["value","fixedTickWidth","tickPlacement"],e,!0)&&this.ngZone.onStable.asObservable().pipe(s.take(1)).subscribe((function(){t.sizeComponent(!1)}))},t.prototype.ngAfterViewInit=function(){var e=this;f.isDocumentAvailable()&&(this.showButtons&&(this.setValueChangeInterval(this.increaseButton.nativeElement,(function(){return e.increaseValue()})),this.setValueChangeInterval(this.decreaseButton.nativeElement,(function(){return e.decreaseValue()}))),this.sizeComponent(!1),this.ticks&&this.ticks.tickElements.changes.subscribe((function(){return e.sizeComponent(!1)})),this.attachElementEventHandlers())},t.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},Object.defineProperty(t.prototype,"incrementMessage",{get:function(){return this.incrementTitle||this.localizationService.get("increment")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"decrementMessage",{get:function(){return this.decrementTitle||this.localizationService.get("decrement")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dragHandleMessage",{get:function(){return this.dragHandleTitle||this.localizationService.get("dragHandle")},enumerable:!0,configurable:!0}),t.prototype.handleDragPress=function(e){e.originalEvent&&e.originalEvent.preventDefault(),this.renderer.removeClass(this.hostElement.nativeElement,"k-slider-transitions")},t.prototype.onHandleDrag=function(e){this.dragging=!0,this.changeValue(p.eventValue(e,this.track.nativeElement,this.getProps()))},t.prototype.onHandleRelease=function(){this.dragging=!1,this.renderer.addClass(this.hostElement.nativeElement,"k-slider-transitions")},t.prototype.writeValue=function(e){this.changeDetector.markForCheck(),this.value=e,this.sizeComponent(this.animate)},t.prototype.registerOnChange=function(e){this.ngChange=e},t.prototype.registerOnTouched=function(e){this.ngTouched=e},t.prototype.changeValue=function(e){var t=this;u.areSame(this.value,e)||this.ngZone.run((function(){t.value=e,t.ngChange(e),t.valueChange.emit(e),t.sizeComponent(t.animate),t.changeDetector.markForCheck()}))},t.prototype.sizeComponent=function(e){if(f.isDocumentAvailable()){var t=this.wrapper.nativeElement,n=this.track.nativeElement,o=this.sliderSelection.nativeElement,i=this.draghandle.nativeElement,r=this.ticks?this.ticksContainer.nativeElement:null;e||this.renderer.removeClass(this.hostElement.nativeElement,"k-slider-transitions"),this.resetStyles([n,o,i,r,this.hostElement.nativeElement]);var a=this.getProps(),s=new d.SliderModel(a,t,n,this.renderer);s.resizeTrack(),this.ticks&&s.resizeTicks(this.ticksContainer.nativeElement,this.ticks.tickElements.map((function(e){return e.nativeElement}))),s.positionHandle(i),s.positionSelection(o),e||(this.hostElement.nativeElement.getBoundingClientRect(),this.renderer.addClass(this.hostElement.nativeElement,"k-slider-transitions")),this.fixedTickWidth&&s.resizeWrapper()}},Object.defineProperty(t.prototype,"focused",{set:function(e){this.isFocused!==e&&this.hostElement&&(this.isFocused=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dragging",{set:function(e){if(this.isDragged!==e&&this.sliderSelection&&this.draghandle){var t=this.sliderSelection.nativeElement,n=this.draghandle.nativeElement;e?(this.renderer.addClass(t,"k-pressed"),this.renderer.addClass(n,"k-pressed")):(this.renderer.removeClass(t,"k-pressed"),this.renderer.removeClass(n,"k-pressed")),this.isDragged=e}},enumerable:!0,configurable:!0}),t.prototype.setValueChangeInterval=function(e,t){var n=this;this.ngZone.runOutsideAngular((function(){var o=a.fromEvent(e,"mousedown"),i=a.fromEvent(e,"mouseup"),r=a.fromEvent(e,"mouseout"),l=o.pipe(s.filter((function(e){return 0===e.button&&!n.isDisabled})),s.concatMap((function(){return a.interval(150).pipe(s.startWith(-1),s.takeUntil(a.merge(i,r)))}))).subscribe((function(){n.isFocused||h.invokeElementMethod(n.draghandle,"focus"),t()}));n.subscriptions.add(l)}))},t.prototype.getProps=function(){return{buttons:this.showButtons,disabled:this.disabled,fixedTickWidth:this.fixedTickWidth,largeStep:this.largeStep,max:this.max,min:this.min,readonly:this.readonly,reverse:this.reverse,rtl:this.localizationService.rtl,smallStep:this.smallStep,value:l.trimValue(this.max,this.min,this.value),vertical:this.vertical}},t.prototype.attachElementEventHandlers=function(){var e=this,t=this.hostElement.nativeElement,n=!1,o=!1;this.ngZone.runOutsideAngular((function(){e.subscriptions.add(e.renderer.listen(t,"focusin",(function(){e.isFocused||e.ngZone.run((function(){e.focusChangedProgrammatically||e.onFocus.emit(),e.focused=!0}))}))),e.subscriptions.add(e.renderer.listen(t,"focusout",(function(t){e.isFocused&&(n?(t.relatedTarget!==e.draghandle.nativeElement&&e.handleBlur(),n=!1):o||e.handleBlur())}))),e.subscriptions.add(e.renderer.listen(t,"mouseenter",(function(){o=!0}))),e.subscriptions.add(e.renderer.listen(t,"mouseleave",(function(){o=!1}))),e.subscriptions.add(e.renderer.listen(t,"keydown",(function(e){n=e.keyCode===f.Keys.Tab})))}))},o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"focusableId",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"dragHandleTitle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"incrementTitle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],t.prototype,"animate",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"decrementTitle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],t.prototype,"showButtons",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"value",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],t.prototype,"tabIndex",null),o.__decorate([i.ViewChild("draghandle",{static:!0}),o.__metadata("design:type",i.ElementRef)],t.prototype,"draghandle",void 0),o.__decorate([i.ViewChild("decreaseButton",{static:!1}),o.__metadata("design:type",i.ElementRef)],t.prototype,"decreaseButton",void 0),o.__decorate([i.ViewChild("increaseButton",{static:!1}),o.__metadata("design:type",i.ElementRef)],t.prototype,"increaseButton",void 0),t=n=o.__decorate([i.Component({exportAs:"kendoSlider",providers:[c.LocalizationService,{provide:c.L10N_PREFIX,useValue:"kendo.slider"},{multi:!0,provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return n}))},{provide:f.KendoInput,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-slider",template:'\n <ng-container kendoSliderLocalizedMessages\n i18n-increment="kendo.slider.increment|The title of the **Increase** button of the Slider."\n increment="increment"\n i18n-decrement="kendo.slider.decrement|The title of the **Decrease** button of the Slider."\n decrement="decrement"\n i18n-dragHandle="kendo.slider.dragHandle|The title of the drag handle of the Slider."\n dragHandle="Drag"\n >\n <div class="k-slider-wrap" #wrap\n [class.k-slider-buttons]="showButtons"\n [class.k-slider-topleft]="tickPlacement === \'before\'"\n [class.k-slider-bottomright]="tickPlacement === \'after\'"\n [kendoEventsOutsideAngular]="{ click: onWrapClick, keydown: onKeyDown }"\n >\n <button *ngIf="showButtons" type="button" #decreaseButton\n class="k-button-decrease k-button k-button-md k-rounded-full k-button-rectangle k-button-solid k-button-solid-base k-icon-button"\n [title]="decrementMessage"\n [attr.tabindex]="-1"\n role="presentation">\n <span class="k-button-icon k-icon"\n [class.k-i-arrow-w]="!vertical"\n [class.k-i-arrow-s]="vertical">\n </span>\n </button>\n <div class="k-slider-track-wrap">\n <ul kendoSliderTicks\n #ticks\n *ngIf="tickPlacement !== \'none\'"\n [tickTitle]="title"\n [vertical]="vertical"\n [step]="smallStep"\n [largeStep]="largeStep"\n [min]="min"\n [max]="max"\n [labelTemplate]="labelTemplate?.templateRef"\n [attr.aria-hidden]="true"\n >\n </ul>\n <div #track class="k-slider-track">\n <div #sliderSelection class="k-slider-selection">\n </div>\n <a #draghandle\n role="slider"\n [attr.aria-valuemin]="min"\n [attr.aria-valuemax]="max"\n [attr.aria-valuenow]="currentValue"\n [attr.aria-valuetext]="currentValue"\n [attr.aria-disabled]="disabled ? true : undefined"\n [attr.aria-readonly]="readonly ? true : undefined"\n [attr.aria-orientation]="vertical ? \'vertical\' : \'horizontal\'"\n [style.touch-action]="isDisabled ? \'\' : \'none\'"\n class="k-draghandle"\n [title]="dragHandleMessage"\n [attr.tabindex]="disabled ? \'-1\' : tabIndex"\n [id]="focusableId"\n kendoDraggable\n (kendoPress)="ifEnabled(handleDragPress, $event)"\n (kendoDrag)="ifEnabled(onHandleDrag, $event)"\n (kendoRelease)="ifEnabled(onHandleRelease, $event)"\n ></a>\n </div>\n </div>\n <button *ngIf="showButtons" type="button" #increaseButton\n class="k-button-increase k-button k-button-md k-rounded-full k-button-rectangle k-button-solid k-button-solid-base k-icon-button"\n [title]="incrementMessage"\n (click)="$event.preventDefault()"\n [attr.tabindex]="-1"\n [attr.aria-label]="currentValue"\n role="presentation">\n <span class="k-button-icon k-icon"\n [class.k-i-arrow-e]="!vertical"\n [class.k-i-arrow-n]="vertical">\n </span>\n </button>\n <kendo-resize-sensor (resize)="sizeComponent(false)"></kendo-resize-sensor>\n </div>\n '}),o.__metadata("design:paramtypes",[c.LocalizationService,i.Injector,i.Renderer2,i.NgZone,i.ChangeDetectorRef,i.ElementRef])],t)}(g.SliderBase);t.SliderComponent=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.limitPrecision=function(e){return Math.min(e,20)},t.fractionLength=function(e){return(String(e).split(".")[1]||"").length};var o=function(e,n){return Math.max(t.fractionLength(e),t.fractionLength(n))};t.toFixedPrecision=function(e,n){var o=t.limitPrecision(n);return parseFloat(e.toFixed(o))},t.add=function(e,n){var i=o(e,n);return t.toFixedPrecision(e+n,i)},t.subtract=function(e,n){return t.add(e,-n)},t.multiply=function(e,n){var o=t.fractionLength(e)+t.fractionLength(n);return t.toFixedPrecision(e*n,o)},t.divide=function(e,t){if(0===t)return NaN;var n=o(e,t),i=Math.pow(10,n);return i*e/(i*t)},t.remainder=function(e,n){return Math.abs(t.subtract(e,t.multiply(n,Math.floor(t.divide(e,n)))))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(3),a=n(4),s=n(11),l=n(17),d=n(84),c=n(85),u=n(5),p=n(86),h=n(2),f=n(8),g=n(9),m=n(39),v=n(87),_=n(88),y=n(32),b=["min","max","step","decimals"],k={decimals:null,max:null,min:null,step:1},C=function(){function e(e,t,n,o,s,l,d){var c=this;this.intl=e,this.renderer=t,this.localizationService=n,this.injector=o,this.ngZone=s,this.changeDetector=l,this.hostElement=d,this.focusableId="k-"+r.guid(),this.disabled=!1,this.readonly=!1,this.title="",this.autoCorrect=!1,this.decimals=null,this.step=1,this.spinners=!0,this.rangeValidation=!0,this.tabindex=0,this.changeValueOnScroll=!0,this.selectOnFocus=!0,this.value=null,this.valueChange=new i.EventEmitter,this.onFocus=new i.EventEmitter,this.onBlur=new i.EventEmitter,this.ArrowDirection=_.ArrowDirection,this.arrowDirection=_.ArrowDirection.None,this.hostClasses=!0,this.inputValue="",this.minValidateFn=v.noop,this.maxValidateFn=v.noop,this._format="n2",this.isPasted=!1,this.mouseDown=!1,this._size="medium",this._rounded="medium",this._fillMode="solid",this.ngChange=v.noop,this.ngTouched=v.noop,this.ngValidatorChange=v.noop,this.domEvents=[],this.increasePress=function(e){c.arrowPress(_.ArrowDirection.Up,e)},this.decreasePress=function(e){c.arrowPress(_.ArrowDirection.Down,e)},this.releaseArrow=function(){clearTimeout(c.spinTimeout),c.arrowDirection!==_.ArrowDirection.None&&(c.arrowDirection=_.ArrowDirection.None,c.changeDetector.detectChanges())},this.handlePaste=function(){c.isPasted=!0},this.handleInput=function(){var e=c.numericInput.nativeElement,t=e.selectionStart,n=e.selectionEnd,o=e.value;if(c.pressedKey===r.Keys.NumpadDecimal&&(o=c.replaceNumpadDotValue()),c.isPasted&&(o=c.formatInputValue(c.intl.parseNumber(o))),!c.isValid(o))return e.value=c.inputValue,void c.setSelection(t-1,n-1);var i=c.intl.parseNumber(o),a=c.restrictDecimals(i);if(c.autoCorrect){var s=c.limitInputValue(a);a=s.value,t=s.selectionStart,n=s.selectionEnd}i!==a||c.hasTrailingZeros(o)||!c.focused?(c.setInputValue(a),c.setSelection(t,n)):c.inputValue=o,c.isPasted&&(e.value=c.inputValue),c.updateValue(a),c.previousSelection=null,c.isPasted=!1},this.handleDragEnter=function(){c.focused||c.isDisabled||c.setInputValue(c.value,!0)},this.handleMouseDown=function(){c.mouseDown=!0},this.handleFocus=function(){if(!c.focused&&(c.focused=!0,!c.isDisabled)){var e=c.selectOnFocus||!c.mouseDown;c.ngZone.runOutsideAngular((function(){setTimeout((function(){e?c.selectAll():c.selectCaret()}),0)}))}c.mouseDown=!1,r.hasObservers(c.onFocus)&&c.ngZone.run((function(){c.onFocus.emit()}))},this.handleBlur=function(){c.changeDetector.markForCheck(),c.focused=!1,c.inputValue!==c.elementValue&&c.handleInput(),c.setInputValue(),(r.hasObservers(c.onBlur)||a.requiresZoneOnBlur(c.control))&&c.ngZone.run((function(){c.ngTouched(),c.onBlur.emit()}))},this.handleKeyDown=function(e){if(!c.isDisabled){var t;e.keyCode===r.Keys.ArrowDown?t=-1:e.keyCode===r.Keys.ArrowUp&&(t=1),t&&c.step&&(e.preventDefault(),c.addStep(t));var n=c.numericInput.nativeElement;c.previousSelection={end:n.selectionEnd,start:n.selectionStart},c.pressedKey=e.keyCode}},this.handleWheel=function(e){if(c.focused&&!c.isDisabled&&c.changeValueOnScroll){e.preventDefault();var t=v.getDeltaFromMouseWheel(e);c.addStep(t)}},f.validatePackage(g.packageMetadata),this.direction=n.rtl?"rtl":"ltr"}var t;return t=e,Object.defineProperty(e.prototype,"format",{get:function(){var e=this._format;return null!=e?e:"n2"},set:function(e){this._format=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.tabindex},set:function(e){this.tabindex=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.handleClasses(e,"size"),this._size=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rounded",{get:function(){return this._rounded},set:function(e){this.handleClasses(e,"rounded"),this._rounded=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillMode",{get:function(){return this._fillMode},set:function(e){this.handleClasses(e,"fillMode"),this._fillMode=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disableClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.subscriptions=this.localizationService.changes.subscribe((function(t){var n=t.rtl;e.direction=n?"rtl":"ltr"})),this.subscriptions.add(this.intl.changes.subscribe(this.intlChange.bind(this))),this.hostElement&&this.renderer.removeAttribute(this.hostElement.nativeElement,"tabindex"),this.control=this.injector.get(u.NgControl,null),this.ngZone.runOutsideAngular((function(){e.domEvents.push(e.renderer.listen(e.hostElement.nativeElement,"mousewheel",e.handleWheel.bind(e))),e.domEvents.push(e.renderer.listen(e.hostElement.nativeElement,"DOMMouseScroll",e.handleWheel.bind(e)))}))},e.prototype.ngAfterViewInit=function(){var e=this;["size","rounded","fillMode"].forEach((function(t){e.handleClasses(e[t],t)}))},e.prototype.ngOnChanges=function(e){r.anyChanged(b,e,!1)&&this.parseOptions(b.filter((function(t){return e[t]}))),this.verifySettings(),r.anyChanged(["min","max","rangeValidation"],e,!1)&&(this.minValidateFn=this.rangeValidation?c.createMinValidator(this.min):v.noop,this.maxValidateFn=this.rangeValidation?d.createMaxValidator(this.max):v.noop,this.ngValidatorChange()),r.anyChanged(["autoCorrect","decimals","min"],e)&&delete this.numericRegex,r.anyChanged(["value","format"],e,!1)&&(this.verifyValue(this.value),this.value=this.restrictModelValue(this.value),this.focused&&this.intl.parseNumber(this.elementValue)===this.value||this.setInputValue())},e.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe(),clearTimeout(this.spinTimeout),this.domEvents.forEach((function(e){return e()}))},e.prototype.validate=function(e){return this.minValidateFn(e)||this.maxValidateFn(e)},e.prototype.registerOnValidatorChange=function(e){this.ngValidatorChange=e},e.prototype.writeValue=function(e){this.verifyValue(e);var t=this.restrictModelValue(e);this.value=t,this.setInputValue()},e.prototype.registerOnChange=function(e){this.ngChange=e},e.prototype.registerOnTouched=function(e){this.ngTouched=e},e.prototype.setDisabledState=function(e){this.changeDetector.markForCheck(),this.disabled=e},e.prototype.focus=function(){s.invokeElementMethod(this.numericInput,"focus")},e.prototype.blur=function(){s.invokeElementMethod(this.numericInput,"blur")},e.prototype.notifyValueChange=function(){this.setInputValue()},Object.defineProperty(e.prototype,"incrementTitle",{get:function(){return this.localizationService.get("increment")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"decrementTitle",{get:function(){return this.localizationService.get("decrement")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"decimalSeparator",{get:function(){return this.intl.numberSymbols().decimal},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"elementValue",{get:function(){return this.numericInput.nativeElement.value},set:function(e){this.renderer.setProperty(this.numericInput.nativeElement,"value",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this.isFocused},set:function(e){if(this.isFocused!==e&&this.hostElement){var t=this.hostElement.nativeElement;e?this.renderer.addClass(t,"k-focus"):this.renderer.removeClass(t,"k-focus"),this.isFocused=e}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasDecimals",{get:function(){return null!==this.decimals&&this.decimals>=0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDisabled",{get:function(){return this.disabled||this.readonly},enumerable:!0,configurable:!0}),e.prototype.arrowPress=function(e,t){t.preventDefault(),this.isDisabled||v.isRightClick(t)||(y.mobileOS||(this.focused=!0,this.focus()),this.arrowDirection!==e&&(this.arrowDirection=e,this.changeDetector.detectChanges()),this.step?this.spin(e,m.INITIAL_SPIN_DELAY):this.setInputValue())},e.prototype.updateValue=function(e){var t=this;a.areSame(this.value,e)||this.ngZone.run((function(){t.value=e,t.ngChange(e),t.valueChange.emit(e),t.changeDetector.markForCheck()}))},e.prototype.replaceNumpadDotValue=function(){var e=this.inputValue||"";if(this.previousSelection){var t=this.numericInput.nativeElement,n=t.selectionStart,o=t.selectionEnd,i=this.previousSelection,r=i.start,a=i.end;t.value=e=e.substring(0,r)+this.decimalSeparator+e.substring(a),this.setSelection(n,o)}return e},e.prototype.isValid=function(e){return this.numericRegex||(this.numericRegex=v.numericRegex({autoCorrect:this.autoCorrect,decimals:this.decimals,min:this.min,separator:this.decimalSeparator})),this.numericRegex.test(e)},e.prototype.spin=function(e,t){var n=this;clearTimeout(this.spinTimeout),this.spinTimeout=window.setTimeout((function(){n.spin(e,m.SPIN_DELAY)}),t),this.addStep(e)},e.prototype.addStep=function(e){var t=l.add(this.value||0,this.step*e);t=this.limitValue(t),t=this.restrictDecimals(t),this.setInputValue(t),this.updateValue(t)},e.prototype.setSelection=function(e,t){this.focused&&s.invokeElementMethod(this.numericInput,"setSelectionRange",e,t)},e.prototype.limitValue=function(e){var t=e;return this.isInRange(e)||(v.isNumber(this.max)&&e>this.max&&(t=this.max),v.isNumber(this.min)&&e<this.min&&(t=this.min)),t},e.prototype.limitInputValue=function(e){var t=this.numericInput.nativeElement,n=t.selectionStart,o=t.selectionEnd,i=t.value,r=e,a=!1;if(!this.isInRange(e)){var s=i.length-String(this.inputValue).length,l=this.min,d=this.max,c=v.isNumber(d),u=v.isNumber(l),p=void 0,h=void 0,f=e;if(0===n&&this.inputValue.substr(1)===i)return{selectionEnd:o,selectionStart:n,value:null};if(c&&e>d?e>0?h=!0:p=d:u&&e<l&&(e>0?p=l:h=!0),p){var g=this.tryPadValue(e,p);g&&v.decimalPart(e)!==v.decimalPart(p)&&(f=g,a=!0)}else h&&this.inputValue&&n!==i.length&&(f=parseFloat(i.substr(0,n)+i.substr(n+s)));r=this.limitValue(f),a=(a||r!==f)&&this.previousSelection&&this.previousSelection.end-this.previousSelection.start+s>0}return{selectionEnd:a?String(r).length:o,selectionStart:n,value:r}},e.prototype.tryPadValue=function(e,t){var n,o=String(Math.floor(t)).length,i=v.pad(e,o),r=v.pad(e,o+1);return this.isInRange(i)?n=i:this.isInRange(r)&&(n=r),n},e.prototype.isInRange=function(e){return!v.isNumber(e)||(!v.isNumber(this.min)||this.min<=e)&&(!v.isNumber(this.max)||e<=this.max)},e.prototype.restrictModelValue=function(e){var t=this.restrictDecimals(e,!0);return this.autoCorrect&&this.limitValue(t)!==t&&(t=null),t},e.prototype.restrictDecimals=function(e,t){var n=e;if(e&&this.hasDecimals){var o=this.decimals,i=String(e);if(t||m.EXPONENT_REGEX.test(i))n=l.toFixedPrecision(e,o);else{var r=i.split(m.POINT),a=r[1];a&&a.length>o&&(a=a.substr(0,o),n=parseFloat(""+r[0]+m.POINT+a))}}return n},e.prototype.formatInputValue=function(e){var t=String(e),n=m.EXPONENT_REGEX.exec(t);return n&&(t=e.toFixed(l.limitPrecision(parseInt(n[1],10)))),t.replace(m.POINT,this.decimalSeparator)},e.prototype.formatValue=function(e,t){return null!==e&&v.defined(e)&&""!==e?t&&!this.readonly?this.formatInputValue(e):this.intl.formatNumber(e,this.format):""},e.prototype.setInputValue=function(e,t){void 0===e&&(e=this.value),void 0===t&&(t=this.focused);var n=this.formatValue(e,t);this.elementValue=n,this.inputValue=n},e.prototype.verifySettings=function(){if(i.isDevMode()&&null!==this.min&&null!==this.max&&this.min>this.max)throw new Error("The max value should be bigger than the min. See "+m.MIN_DOC_LINK+" and "+m.MAX_DOC_LINK+".")},e.prototype.verifyValue=function(e){if(i.isDevMode()&&e&&"number"!=typeof e)throw new Error("The NumericTextBox component requires value of type Number and "+JSON.stringify(e)+" was set.")},e.prototype.parseOptions=function(e){for(var t=0;t<e.length;t++){var n=e[t],o=this[n];if("string"==typeof o){var r=parseFloat(o),a=!isNaN(r);if(i.isDevMode()&&!a&&""!==o)throw new Error("The NumericTextBox component requires value of type Number or a String representing a number for the "+n+" property and "+JSON.stringify(o)+" was set.");this[n]=a?r:k[n]}}},e.prototype.intlChange=function(){delete this.numericRegex,!this.numericInput||this.focused&&this.isValid(this.elementValue)||this.setInputValue()},e.prototype.hasTrailingZeros=function(e){if(this.hasDecimals&&this.focused){var t=e.split(this.decimalSeparator)[1];return t&&t.length>this.decimals&&t.lastIndexOf("0")===t.length-1}},e.prototype.selectAll=function(){this.setInputValue(),this.setSelection(0,this.inputValue.length)},e.prototype.selectCaret=function(){var e=v.getCaretPosition(this.numericInput.nativeElement),t=this.elementValue,n=t.substring(0,e);if(this.setInputValue(),n.length){var o=v.extractSignificantNumericChars(n,this.decimalSeparator),i=this.adjustSignificantChars(t,o);this.setSelection(i,i)}else this.setSelection(0,0)},e.prototype.numberOfLeadingZeroes=function(e){var t=e.indexOf(this.decimalSeparator),n=e.match(/^[^1-9]*?(0+)/);if(n){var o=n[0].length,i=n[1].length;return o===t?i-1:i}return 0},e.prototype.adjustSignificantChars=function(e,t){var n=this.numberOfLeadingZeroes(e);return n>0?Math.max(0,t-n):t},e.prototype.handleClasses=function(e,t){var n=this.hostElement.nativeElement,o=a.getStylingClasses("input",t,this[t],e);o.toRemove&&this.renderer.removeClass(n,o.toRemove),o.toAdd&&this.renderer.addClass(n,o.toAdd)},o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"focusableId",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"title",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"autoCorrect",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"format",null),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"max",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"min",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"decimals",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"placeholder",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"step",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"spinners",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"rangeValidation",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"tabindex",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],e.prototype,"tabIndex",null),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"changeValueOnScroll",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"selectOnFocus",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"value",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"maxlength",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"size",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"rounded",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"fillMode",null),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([i.Output("focus"),o.__metadata("design:type",i.EventEmitter)],e.prototype,"onFocus",void 0),o.__decorate([i.Output("blur"),o.__metadata("design:type",i.EventEmitter)],e.prototype,"onBlur",void 0),o.__decorate([i.ViewChild("numericInput",{static:!0}),o.__metadata("design:type",i.ElementRef)],e.prototype,"numericInput",void 0),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.HostBinding("class.k-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"disableClass",null),o.__decorate([i.HostBinding("class.k-input"),i.HostBinding("class.k-numerictextbox"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),e=t=o.__decorate([i.Component({exportAs:"kendoNumericTextBox",providers:[h.LocalizationService,{provide:h.L10N_PREFIX,useValue:"kendo.numerictextbox"},{provide:u.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return t})),multi:!0},{provide:u.NG_VALIDATORS,useExisting:i.forwardRef((function(){return t})),multi:!0},{provide:r.KendoInput,useExisting:i.forwardRef((function(){return t}))}],selector:"kendo-numerictextbox",template:'\n <ng-container kendoNumericTextBoxLocalizedMessages\n i18n-increment="kendo.numerictextbox.increment|The title for the **Increment** button in the NumericTextBox"\n increment="Increase value"\n i18n-decrement="kendo.numerictextbox.decrement|The title for the **Decrement** button in the NumericTextBox"\n decrement="Decrease value"\n >\n </ng-container>\n <input\n role="spinbutton"\n class="k-input-inner"\n autocomplete="off"\n autocorrect="off"\n [id]="focusableId"\n [attr.aria-valuemin]="min"\n [attr.aria-valuemax]="max"\n [attr.aria-valuenow]="value"\n [attr.title]="title"\n [attr.placeholder]="placeholder"\n [attr.maxLength]="maxlength"\n [tabindex]="tabIndex"\n [disabled]="disabled"\n [readonly]="readonly"\n [kendoEventsOutsideAngular]="{\n mousedown: handleMouseDown,\n dragenter: handleDragEnter,\n keydown: handleKeyDown,\n input: handleInput,\n focus: handleFocus,\n blur: handleBlur,\n paste: handlePaste\n }"\n #numericInput />\n <span\n class="k-input-spinner k-spin-button" *ngIf="spinners"\n [kendoEventsOutsideAngular]="{ mouseup: releaseArrow, mouseleave: releaseArrow }"\n >\n <button\n type="button"\n [kendoEventsOutsideAngular]="{ mousedown: increasePress }"\n [attr.aria-hidden]="true"\n [attr.aria-label]="incrementTitle"\n [title]="incrementTitle"\n [class.k-active]="arrowDirection === ArrowDirection.Up"\n class="k-spinner-increase k-button k-icon-button k-button-solid k-button-solid-base"\n tabindex="-1"\n >\n <span class="k-button-icon k-icon k-i-arrow-n"></span>\n </button>\n <button\n type="button"\n [kendoEventsOutsideAngular]="{ mousedown: decreasePress }"\n [attr.aria-hidden]="true"\n [attr.aria-label]="decrementTitle"\n [title]="decrementTitle"\n [class.k-active]="arrowDirection === ArrowDirection.Down"\n class="k-spinner-decrease k-button k-icon-button k-button-solid k-button-solid-base"\n tabindex="-1"\n >\n <span class="k-button-icon k-icon k-i-arrow-s"></span>\n </button>\n </span>\n '}),o.__metadata("design:paramtypes",[p.IntlService,i.Renderer2,h.LocalizationService,i.Injector,i.NgZone,i.ChangeDetectorRef,i.ElementRef])],e)}();t.NumericTextBoxComponent=C},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(6),a=n(16),s=n(45),l=n(47),d=n(93),c=n(15),u=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[a.SliderComponent,d.SliderCustomMessagesComponent,l.LocalizedSliderMessagesDirective],exports:[a.SliderComponent,d.SliderCustomMessagesComponent,c.LabelTemplateDirective,l.LocalizedSliderMessagesDirective],imports:[r.CommonModule,s.SlidersCommonModule]})],e)}();t.SliderModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(18),a=n(6),s=n(55),l=n(40),d=n(3),c=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[s.LocalizedNumericTextBoxMessagesDirective,r.NumericTextBoxComponent,l.NumericTextBoxCustomMessagesComponent],exports:[r.NumericTextBoxComponent,l.NumericTextBoxCustomMessagesComponent],imports:[a.CommonModule,d.EventsModule]})],e)}();t.NumericTextBoxModule=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(){function e(e){this.templateRef=e}return e=o.__decorate([i.Directive({selector:"[kendoTextBoxSuffixTemplate]"}),o.__param(0,i.Optional()),o.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.TextBoxSuffixTemplateDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(){function e(e){this.templateRef=e}return e=o.__decorate([i.Directive({selector:"[kendoTextBoxPrefixTemplate]"}),o.__param(0,i.Optional()),o.__metadata("design:paramtypes",[i.TemplateRef])],e)}();t.TextBoxPrefixTemplateDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(62),a=n(38);t.SHARED_DIRECTIVES=[r.InputSeparatorComponent,a.TextAreaDirective];var s=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[t.SHARED_DIRECTIVES],exports:[t.SHARED_DIRECTIVES]})],e)}();t.SharedModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(5),a=n(7),s=n(2),l=n(3),d=n(8),c=n(25),u=n(98),p=n(9),h=n(27),f=n(13),g=n(4),m=n(28),v=n(29),_=n(71),y=n(72),b=function(){function e(e,t,n,o,r,s){var l=this;this.host=e,this.service=t,this.localizationService=n,this.cdr=o,this.renderer=r,this.ngZone=s,this.hostClasses=!0,this.readonly=!1,this.disabled=!1,this.format="rgba",this.clearButton=!0,this.preview=!0,this.actionsLayout="end",this.views=["gradient","palette"],this.valueChange=new i.EventEmitter,this.cancel=new i.EventEmitter,this.activeViewChange=new i.EventEmitter,this.actionButtonClick=new i.EventEmitter,this._tabindex=0,this._gradientSettings={opacity:!0,delay:0},this._paletteSettings={},this.subscriptions=new a.Subscription,this.notifyNgChanged=function(){},this.notifyNgTouched=function(){},d.validatePackage(p.packageMetadata),this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var t=e.rtl;l.direction=t?"rtl":"ltr"}))}var t;return t=e,Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaReadonly",{get:function(){return this.readonly},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostTabindex",{get:function(){return this.tabindex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=f.parseColor(e,this.format,this.gradientSettings.opacity)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return this.disabled?void 0:this._tabindex},set:function(e){var t=Number(e);this._tabindex=isNaN(t)?0:t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gradientSettings",{get:function(){return this._gradientSettings},set:function(e){Object.assign(this._gradientSettings,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paletteSettings",{get:function(){return this._paletteSettings},set:function(e){Object.assign(this._paletteSettings,e)},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.selection=this.value,this._paletteSettings=this.service.getPaletteSettings(this._paletteSettings,this.format),this.setActiveView()},e.prototype.ngAfterViewInit=function(){this.setHostElementAriaLabel(),this.initDomEvents(),this.setSizingVariables()},e.prototype.ngOnChanges=function(e){l.isChanged("value",e)&&(this.selection=this.value,this.setHostElementAriaLabel()),l.isChanged("paletteSettings",e)&&this.setSizingVariables()},e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe(),this.subscriptions.unsubscribe()},Object.defineProperty(e.prototype,"headerHasContent",{get:function(){return this.preview||this.views.length>1||this.clearButton},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return!1},e.prototype.focus=function(){this.disabled&&this.focused||(this.host.nativeElement.focus(),this.focused=!0)},e.prototype.blur=function(){this.focused&&(this.notifyNgTouched(),this.host.nativeElement.blur(),this.focused=!1)},e.prototype.reset=function(){g.isPresent(this.value)&&(this.value=void 0,this.notifyNgChanged(void 0),this.setHostElementAriaLabel())},e.prototype.onViewChange=function(e){var t=this;this.activeView!==e&&(this.activeView=e,this.activeViewChange.emit(e),"gradient"===this.activeView&&this.ngZone.runOutsideAngular((function(){setTimeout((function(){t.gradient.gradientDragHandle.nativeElement.focus()}))})))},e.prototype.onClearButtonClick=function(){this.resetInnerComponentValue(),this.host.nativeElement.focus()},e.prototype.handleValueChange=function(e){this.preview?this.changeCurrentValue(e):this.setFlatColorPickerValue(e)},e.prototype.onAction=function(e){"apply"===e.target?this.setFlatColorPickerValue(this.selection):this.resetSelection(e.originalEvent),this.actionButtonClick.emit()},e.prototype.writeValue=function(e){this.value=e},e.prototype.registerOnChange=function(e){this.notifyNgChanged=e},e.prototype.registerOnTouched=function(e){this.notifyNgTouched=e},e.prototype.setDisabledState=function(e){this.cdr.markForCheck(),this.disabled=e},e.prototype.resetSelection=function(e){var t=new h.ColorPickerCancelEvent(e);this.cancel.emit(t),t.isDefaultPrevented()||(this.selection=this.value),this.notifyNgTouched()},e.prototype.setHostElementAriaLabel=function(){var e=f.parseColor(this.value,this.format,this.gradientSettings.opacity),t=""+(this.value?e:this.localizationService.get("flatColorPickerNoColor"));this.renderer.setAttribute(this.host.nativeElement,"aria-label",t)},e.prototype.setSizingVariables=function(){var e=this.service.paletteTileLayout(this.paletteSettings.tileSize),t="--kendo-color-preview-columns: "+this.paletteSettings.columns+";\n --kendo-color-preview-width: "+e.width+"px;\n --kendo-color-preview-height: "+e.height+"px;";this.host.nativeElement.querySelector(".k-coloreditor-views.k-vstack").setAttribute("style",t)},e.prototype.changeCurrentValue=function(e){this.selection=e,this.notifyNgTouched()},e.prototype.resetInnerComponentValue=function(){this.selection=null,this.gradient?this.gradient.reset():this.palette.reset()},e.prototype.setFlatColorPickerValue=function(e){this.value!==e&&(this.value=e,this.valueChange.emit(e),this.notifyNgChanged(e),this.setHostElementAriaLabel())},e.prototype.setActiveView=function(){if(g.isPresent(this.activeView)){if(i.isDevMode()&&-1===this.views.indexOf(this.activeView))throw new Error("Invalid configuration: The current activeView is not present in the views collection")}else this.activeView=this.views[0]},e.prototype.initDomEvents=function(){var e=this;if(this.host){var t=this.host.nativeElement;this.ngZone.runOutsideAngular((function(){e.subscriptions.add(e.renderer.listen(t,"focus",(function(){e.focused=!0}))),e.subscriptions.add(e.renderer.listen(t,"blur",(function(){e.focused=!1,e.notifyNgTouched()})))}))}},o.__decorate([i.HostBinding("class.k-flatcolorpicker"),i.HostBinding("class.k-coloreditor"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([i.HostBinding("class.k-state-disabled"),i.HostBinding("attr.aria-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),o.__decorate([i.HostBinding("attr.aria-readonly"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"ariaReadonly",null),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.HostBinding("attr.tabindex"),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[])],e.prototype,"hostTabindex",null),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"format",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"value",null),o.__decorate([i.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],e.prototype,"tabindex",null),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"clearButton",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"preview",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"actionsLayout",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"activeView",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Array)],e.prototype,"views",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"gradientSettings",null),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"paletteSettings",null),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"cancel",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"activeViewChange",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"actionButtonClick",void 0),o.__decorate([i.ViewChild("header",{static:!1}),o.__metadata("design:type",_.FlatColorPickerHeaderComponent)],e.prototype,"header",void 0),o.__decorate([i.ViewChild("gradient",{static:!1}),o.__metadata("design:type",m.ColorGradientComponent)],e.prototype,"gradient",void 0),o.__decorate([i.ViewChild("palette",{static:!1}),o.__metadata("design:type",v.ColorPaletteComponent)],e.prototype,"palette",void 0),o.__decorate([i.ViewChild("footer",{static:!1}),o.__metadata("design:type",y.FlatColorPickerActionButtonsComponent)],e.prototype,"footer",void 0),e=t=o.__decorate([i.Component({exportAs:"kendoFlatColorPicker",selector:"kendo-flatcolorpicker",providers:[{multi:!0,provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return t}))},{provide:l.KendoInput,useExisting:i.forwardRef((function(){return t}))},u.FlatColorPickerService,c.FlatColorPickerLocalizationService,{provide:s.LocalizationService,useExisting:c.FlatColorPickerLocalizationService},{provide:s.L10N_PREFIX,useValue:"kendo.flatcolorpicker"}],template:'\n <ng-container kendoFlatColorPickerLocalizedMessages\n i18n-flatColorPickerNoColor="kendo.flatcolorpicker.flatColorPickerNoColor|The aria-label applied to the FlatColorPicker component when the value is empty."\n flatColorPickerNoColor="Flatcolorpicker no color chosen"\n i18n-colorGradientNoColor="kendo.flatcolorpicker.colorGradientNoColor|The aria-label applied to the ColorGradient component when the value is empty."\n colorGradientNoColor="Colorgradient no color chosen"\n i18n-colorPaletteNoColor="kendo.flatcolorpicker.colorPaletteNoColor|The aria-label applied to the ColorPalette component when the value is empty."\n colorPaletteNoColor="Colorpalette no color chosen"\n i18n-colorGradientHandle="kendo.flatcolorpicker.colorGradientHandle|The title for the gradient color drag handle chooser."\n colorGradientHandle="Choose color"\n i18n-clearButton="kendo.flatcolorpicker.clearButton|The title for the clear button."\n clearButton="Clear value"\n i18n-hueSliderHandle="kendo.flatcolorpicker.hueSliderHandle|The title for the hue slider handle."\n hueSliderHandle="Set hue"\n i18n-opacitySliderHandle="kendo.flatcolorpicker.opacitySliderHandle|The title for the opacity slider handle."\n opacitySliderHandle="Set opacity"\n i18n-contrastRatio="kendo.flatcolorpicker.contrastRatio|The contrast ratio message for the contrast tool."\n contrastRatio="Contrast ratio"\n i18n-previewColor="kendo.flatcolorpicker.previewColor|The message for the color preview pane."\n previewColor="Color preview"\n i18n-revertSelection="kendo.flatcolorpicker.revertSelection|The message for the selected color pane."\n revertSelection="Revert selection"\n i18n-gradientView="kendo.flatcolorpicker.gradientView|The message for the gradient view button."\n gradientView="Gradient view"\n i18n-paletteView="kendo.flatcolorpicker.paletteView|The message for the palette view button."\n paletteView="Palette view"\n i18n-formatButton="kendo.flatcolorpicker.formatButton|The message for the input format toggle button."\n formatButton="Change color format"\n i18n-applyButton="kendo.flatcolorpicker.applyButton|The message for the Apply action button."\n applyButton="Apply"\n i18n-cancelButton="kendo.flatcolorpicker.cancelButton|The message for the Cancel action button."\n cancelButton="Cancel">\n </ng-container>\n <div kendoFlatColorPickerHeader\n *ngIf="headerHasContent"\n #header\n [clearButton]="clearButton"\n [activeView]="activeView"\n [views]="views"\n [value]="value"\n [selection]="selection"\n [preview]="preview"\n (clearButtonClick)="onClearButtonClick()"\n (viewChange)="onViewChange($event)"\n (valuePaneClick)="resetSelection($event)">\n </div>\n <div class="k-coloreditor-views k-vstack">\n <kendo-colorgradient #gradient\n *ngIf="activeView === \'gradient\'"\n [tabindex]="null"\n [value]="selection"\n [format]="format"\n [opacity]="gradientSettings.opacity"\n [delay]="gradientSettings.delay"\n [contrastTool]="gradientSettings.contrastTool"\n [readonly]="readonly"\n (valueChange)="handleValueChange($event)"\n >\n </kendo-colorgradient>\n <kendo-colorpalette #palette\n *ngIf="activeView === \'palette\'"\n kendoFocusOnDomReady\n [palette]="paletteSettings.palette"\n [columns]="paletteSettings.columns"\n [tileSize]="paletteSettings.tileSize"\n [format]="format"\n [value]="selection"\n (valueChange)="handleValueChange($event)"\n >\n </kendo-colorpalette>\n </div>\n <div kendoFlatColorPickerActionButtons *ngIf="preview"\n #footer\n [ngClass]="\'k-justify-content-\' + actionsLayout"\n (actionButtonClick)="onAction($event)">\n </div>\n'}),o.__metadata("design:paramtypes",[i.ElementRef,u.FlatColorPickerService,s.LocalizationService,i.ChangeDetectorRef,i.Renderer2,i.NgZone])],e)}();t.FlatColorPickerComponent=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(69),s=function(e){function t(t,n,o,i){var r=e.call(this,t,n,o)||this;return r.colorPickerLocalization=i,r}return o.__extends(t,e),t.prototype.get=function(t){return this.colorPickerLocalization?this.colorPickerLocalization.get(t):e.prototype.get.call(this,t)},t=o.__decorate([o.__param(0,i.Inject(r.L10N_PREFIX)),o.__param(1,i.Optional()),o.__param(2,i.Optional()),o.__param(2,i.Inject(r.RTL)),o.__param(3,i.Optional()),o.__param(3,i.Inject(a.ColorPickerLocalizationService)),o.__metadata("design:paramtypes",[String,r.MessageService,Boolean,a.ColorPickerLocalizationService])],t)}(r.LocalizationService);t.FlatColorPickerLocalizationService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(0).__exportStar(n(99),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0);o.__exportStar(n(100),t),o.__exportStar(n(101),t),o.__exportStar(n(102),t),o.__exportStar(n(103),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(5),a=n(7),s=n(12),l=n(2),d=n(3),c=n(8),u=n(11),p=n(13),h=n(4),f=n(16),g=n(107),m=n(70),v=n(14),_=n(9),y=0,b=function(){function e(e,t,n,o,r){var s=this;this.host=e,this.ngZone=t,this.renderer=n,this.cdr=o,this.localizationService=r,this.hostClasses=!0,this.id="k-colorgradient-"+y++,this.opacity=!0,this.disabled=!1,this.readonly=!1,this.clearButton=!1,this.delay=0,this.format=v.DEFAULT_OUTPUT_FORMAT,this.valueChange=new i.EventEmitter,this.backgroundColor=v.DEFAULT_GRADIENT_BACKGROUND_COLOR,this.hsva=new a.BehaviorSubject({}),this._tabindex=0,this.listeners=[],this.hueSliderTouched=!1,this.alphaSliderTouched=!1,this.updateValues=new a.Subject,this.notifyNgChanged=function(){},this.notifyNgTouched=function(){},c.validatePackage(_.packageMetadata),this.dynamicRTLSubscription=r.changes.subscribe((function(e){var t=e.rtl;s.direction=t?"rtl":"ltr"}))}var t;return t=e,Object.defineProperty(e.prototype,"readonlyAttribute",{get:function(){return this.readonly},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gradientId",{get:function(){return this.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostTabindex",{get:function(){return this.tabindex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=p.parseColor(e,this.format,this.opacity)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contrastTool",{get:function(){return this._contrastTool},set:function(e){this._contrastTool=p.parseColor(e,this.format,this.opacity)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return this.disabled?void 0:this._tabindex},set:function(e){if(h.isPresent(e)){var t=Number(e);this._tabindex=isNaN(t)?0:t}else this._tabindex=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return!(!d.isDocumentAvailable()||!h.isPresent(this.host))&&(this.host.nativeElement===document.activeElement||this.host.nativeElement.contains(document.activeElement))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"alphaSliderValue",{get:function(){if(h.isPresent(this.hsva.value)&&h.isPresent(this.hsva.value.a))return 100*this.hsva.value.a},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gradientRect",{get:function(){return this.gradientWrapper.nativeElement.getBoundingClientRect()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contrastToolVisible",{get:function(){return this.contrastTool&&this.contrastTool.length>0},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.updateUI(),this.cdr.detectChanges(),this.addEventListeners(),this.subscribeChanges()},e.prototype.ngOnChanges=function(e){d.isChanged("value",e)&&!this.isFocused&&this.updateUI(),d.isChanged("delay",e)&&(this.unsubscribeChanges(),this.subscribeChanges())},e.prototype.ngOnDestroy=function(){this.listeners.forEach((function(e){return e()})),this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe(),this.unsubscribeChanges()},e.prototype.focus=function(){this.disabled||this.gradientDragHandle.nativeElement.focus()},e.prototype.reset=function(){this.handleValueChange(void 0),this.updateUI(),this.host.nativeElement.focus()},e.prototype.handleDragPress=function(e){this.disabled||this.readonly||!h.isPresent(e.originalEvent)||(this.focus(),e.originalEvent.preventDefault())},e.prototype.onHandleDrag=function(e){this.disabled||this.readonly||(this.renderer.addClass(this.gradientWrapper.nativeElement,"k-dragging"),this.changePosition(e))},e.prototype.onHandleRelease=function(){this.disabled||this.readonly||(this.renderer.removeClass(this.gradientWrapper.nativeElement,"k-dragging"),this.handleValueChange(p.getColorFromHSV(this.hsva.value,this.format,this.opacity)))},e.prototype.onKeyboardAction=function(e){var t=this;if(!this.disabled&&!this.readonly&&e.key&&-1!==e.key.indexOf("Arrow")){e.preventDefault();var n=this.gradientDragHandle.nativeElement;this.renderer.addClass(this.gradientWrapper.nativeElement,"k-dragging");var o=0,i=0;switch(e.key){case"ArrowRight":o=v.DRAGHANDLE_MOVE_SPEED;break;case"ArrowLeft":o=-v.DRAGHANDLE_MOVE_SPEED;break;case"ArrowUp":i=-v.DRAGHANDLE_MOVE_SPEED;break;case"ArrowDown":i=v.DRAGHANDLE_MOVE_SPEED}var r=parseInt(n.style.top,10)+i,a=parseInt(n.style.left,10)+o;this.renderer.setStyle(n,"top",r+"px"),this.renderer.setStyle(n,"left",a+"px"),this.ngZone.run((function(){return t.moveDragHandle(a,r)}))}},e.prototype.changePosition=function(e){var t=this;if(!this.disabled&&!this.readonly){this.gradientDragHandle.nativeElement.focus();var n=this.gradientRect,o=e.clientX-n.left,i=e.clientY-n.top;this.ngZone.run((function(){return t.moveDragHandle(o,i)}))}},e.prototype.handleHueSliderChange=function(e){var t=this.hsva.value;t.h=e,this.hsva.next(t),this.handleValueChange(p.getColorFromHSV(this.hsva.value,this.format,this.opacity)),this.backgroundColor=p.getColorFromHue(e),this.setBackgroundColor(this.backgroundColor),this.setAlphaSliderBackground(this.backgroundColor),this.hueSliderTouched=!0},e.prototype.handleAlphaSliderChange=function(e){var t=this.hsva.value;t.a=e/100,this.hsva.next(t),this.handleValueChange(p.getColorFromHSV(this.hsva.value,this.format,this.opacity)),this.alphaSliderTouched=!0},e.prototype.handleInputsValueChange=function(e){var t=p.parseColor(e,this.format,this.opacity);this.value!==t&&(this.handleValueChange(t),this.updateUI())},e.prototype.writeValue=function(e){this.value=e,h.isPresent(this.gradientWrapper)&&this.updateUI()},e.prototype.registerOnChange=function(e){this.notifyNgChanged=e},e.prototype.registerOnTouched=function(e){this.notifyNgTouched=e},e.prototype.setDisabledState=function(e){this.cdr.markForCheck(),this.disabled=e},Object.defineProperty(e.prototype,"colorGradientHandleTitle",{get:function(){return this.localizationService.get("colorGradientHandle")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"colorGradientHandleAriaLabel",{get:function(){var e=p.parseColor(this.value,this.format,this.opacity);return""+(this.value?e:this.localizationService.get("colorGradientHandle"))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hueSliderTitle",{get:function(){return this.localizationService.get("hueSliderHandle")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"opacitySliderTitle",{get:function(){return this.localizationService.get("opacitySliderHandle")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clearButtonTitle",{get:function(){return this.localizationService.get("clearButton")},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return!1},e.prototype.moveDragHandle=function(e,t){var n=this.gradientRect,i=n.width,r=n.height,a=h.fitIntoBounds(t,0,r),s=h.fitIntoBounds(e,0,i);this.setDragHandleElementPosition(a,s);var l=this.hsva.value;l.s=s/i,l.v=1-a/r,this.hsva.next(l),this.updateValues.next(p.getColorFromHSV(this.hsva.value,this.format,this.opacity)),this.setAlphaSliderBackground(p.getColorFromHSV(o.__assign({},this.hsva.value,{a:1}),this.format,this.opacity))},e.prototype.handleValueChange=function(e){this.value!==e&&(this.value=e,this.valueChange.emit(e),this.notifyNgChanged(e),this.setHostElementAriaLabel())},e.prototype.setDragHandleElementPosition=function(e,t){var n=this.gradientDragHandle.nativeElement;this.renderer.setStyle(n,"top",e+"px"),this.renderer.setStyle(n,"left",t+"px")},e.prototype.setAlphaSliderBackground=function(e){if(h.isPresent(this.alphaSlider)){var t=this.alphaSlider.track.nativeElement;this.renderer.setStyle(t,"background","linear-gradient(to top, transparent, "+e+")")}},e.prototype.setHostElementAriaLabel=function(){var e=p.parseColor(this.value,this.format,this.opacity);this.renderer.setAttribute(this.host.nativeElement,"aria-label",""+(this.value?e:this.localizationService.get("colorGradientNoColor")))},e.prototype.setBackgroundColor=function(e){this.renderer.setStyle(this.hsvRectangle.nativeElement,"background",e)},e.prototype.updateUI=function(){if(d.isDocumentAvailable()){if(this.hueSliderTouched||this.alphaSliderTouched)return this.hueSliderTouched=!1,void(this.alphaSliderTouched=!1);this.hsva.next(this.value?p.getHSV(this.value):{h:0,s:0,v:1,a:1});var e=this.gradientRect,t=(1-this.hsva.value.v)*e.height,n=this.hsva.value.s*e.width;this.setDragHandleElementPosition(t,n),this.backgroundColor=p.getColorFromHue(this.hsva.value.h),this.setBackgroundColor(this.backgroundColor),this.setAlphaSliderBackground(this.backgroundColor),this.setHostElementAriaLabel()}},e.prototype.addEventListeners=function(){var e=this;this.ngZone.runOutsideAngular((function(){var t=e.renderer.listen(e.host.nativeElement,"focusout",(function(t){!u.containsFocus(e.host.nativeElement,t.relatedTarget)&&u.isUntouched(e.host)&&e.ngZone.run((function(){return e.notifyNgTouched()}))})),n=e.renderer.listen(e.gradientDragHandle.nativeElement,"keydown",(function(t){e.onKeyboardAction(t)})),o=e.renderer.listen(e.gradientDragHandle.nativeElement,"keyup",(function(){e.renderer.removeClass(e.gradientWrapper.nativeElement,"k-dragging"),e.readonly||e.disabled||e.ngZone.run((function(){return e.handleValueChange(p.getColorFromHSV(e.hsva.value,e.format,e.opacity))}))})),i=e.renderer.listen(e.gradientDragHandle.nativeElement,"focusin",(function(){e.renderer.addClass(e.gradientDragHandle.nativeElement,"k-state-focus")})),r=e.renderer.listen(e.gradientDragHandle.nativeElement,"focusout",(function(){e.renderer.removeClass(e.gradientDragHandle.nativeElement,"k-state-focus")}));e.listeners.push(t,n,o,i,r)}))},e.prototype.subscribeChanges=function(){var e=this;this.changeRequestsSubscription=this.updateValues.pipe(s.throttleTime(this.delay)).subscribe((function(t){e.handleValueChange(t)}))},e.prototype.unsubscribeChanges=function(){this.changeRequestsSubscription&&this.changeRequestsSubscription.unsubscribe()},o.__decorate([i.HostBinding("class.k-colorgradient"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([i.HostBinding("attr.aria-readonly"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"readonlyAttribute",null),o.__decorate([i.HostBinding("class.k-state-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),o.__decorate([i.HostBinding("attr.id"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],e.prototype,"gradientId",null),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.HostBinding("attr.tabindex"),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[])],e.prototype,"hostTabindex",null),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"id",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"opacity",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"clearButton",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"delay",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"value",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"contrastTool",null),o.__decorate([i.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],e.prototype,"tabindex",null),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"format",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([i.ViewChild("gradientDragHandle",{read:i.ElementRef,static:!1}),o.__metadata("design:type",i.ElementRef)],e.prototype,"gradientDragHandle",void 0),o.__decorate([i.ViewChild("inputs",{static:!1}),o.__metadata("design:type",m.ColorInputComponent)],e.prototype,"inputs",void 0),o.__decorate([i.ViewChild("alphaSlider",{static:!1}),o.__metadata("design:type",f.SliderComponent)],e.prototype,"alphaSlider",void 0),o.__decorate([i.ViewChild("gradientWrapper",{static:!1}),o.__metadata("design:type",i.ElementRef)],e.prototype,"gradientWrapper",void 0),o.__decorate([i.ViewChild("hsvRectangle",{static:!1}),o.__metadata("design:type",i.ElementRef)],e.prototype,"hsvRectangle",void 0),e=t=o.__decorate([i.Component({exportAs:"kendoColorGradient",selector:"kendo-colorgradient",providers:[{multi:!0,provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return t}))},{provide:d.KendoInput,useExisting:i.forwardRef((function(){return t}))},g.ColorGradientLocalizationService,{provide:l.LocalizationService,useExisting:g.ColorGradientLocalizationService},{provide:l.L10N_PREFIX,useValue:"kendo.colorgradient"}],template:'\n <ng-container kendoColorGradientLocalizedMessages\n i18n-colorGradientNoColor="kendo.colorgradient.colorGradientNoColor|The aria-label applied to the ColorGradient component when the value is empty."\n colorGradientNoColor="Colorgradient no color chosen"\n i18n-colorGradientHandle="kendo.colorgradient.colorGradientHandle|The title for the gradient color drag handle chooser."\n colorGradientHandle="Choose color"\n i18n-clearButton="kendo.colorgradient.clearButton|The title for the clear button."\n clearButton="Clear value"\n i18n-hueSliderHandle="kendo.colorgradient.hueSliderHandle|The title for the hue slider handle."\n hueSliderHandle="Set hue"\n i18n-opacitySliderHandle="kendo.colorgradient.opacitySliderHandle|The title for the opacity slider handle."\n opacitySliderHandle="Set opacity"\n i18n-passContrast="kendo.colorgradient.passContrast|The pass message for the contrast tool."\n passContrast="Pass"\n i18n-failContrast="kendo.colorgradient.failContrast|The fail message for the contrast tool."\n failContrast="Fail"\n i18n-contrastRatio="kendo.colorgradient.contrastRatio|The contrast ratio message for the contrast tool."\n contrastRatio="Contrast ratio"\n i18n-formatButton="kendo.colorgradient.formatButton|The message for the input format toggle button."\n formatButton="Change color format">\n </ng-container>\n <div class="k-colorgradient-canvas k-hstack">\n <div class="k-hsv-rectangle" #hsvRectangle>\n <div\n #gradientWrapper\n kendoDraggable\n class="k-hsv-gradient"\n (click)="changePosition($event)"\n (kendoPress)="handleDragPress($event)"\n (kendoDrag)="onHandleDrag($event)"\n (kendoRelease)="onHandleRelease()">\n <div\n #gradientDragHandle\n class="k-hsv-draghandle k-draghandle"\n tabindex="0"\n [attr.title]="colorGradientHandleTitle"\n [attr.aria-label]="colorGradientHandleAriaLabel"\n >\n </div>\n </div>\n <svg kendoColorContrastSvg\n *ngIf="contrastToolVisible && gradientWrapper"\n class="k-color-contrast-svg"\n xmlns="http://www.w3.org/2000/svg"\n [wrapper]="gradientWrapper ? gradientWrapper : undefined"\n [hsva]="hsva"\n [backgroundColor]="contrastTool">\n </svg>\n </div>\n <div class="k-hsv-controls k-hstack {{ clearButton ? \'k-sliders-wrap-clearable\' : \'\' }}">\n <span class="k-clear-color k-button k-button-md k-button-flat k-button-flat-base k-button-icon"\n *ngIf="clearButton"\n (click)="reset()"\n (keydown.enter)="reset()"\n (keydown.space)="reset()"\n [attr.aria-label]="clearButtonTitle"\n [attr.title]="clearButtonTitle"\n tabindex="0">\n <span class="k-icon k-i-reset-color"></span>\n </span>\n <kendo-slider\n [ngClass]="{\'k-align-self-end\': clearButton}"\n class="k-hue-slider k-colorgradient-slider"\n [dragHandleTitle]="hueSliderTitle"\n [disabled]="disabled"\n [readonly]="readonly"\n [showButtons]="false"\n [tickPlacement]="\'none\'"\n [vertical]="true"\n [min]="0"\n [max]="360"\n [value]="hsva.value.h"\n [smallStep]="5"\n [largeStep]="10"\n (valueChange)="handleHueSliderChange($event)"\n >\n </kendo-slider>\n <kendo-slider\n *ngIf="opacity"\n #alphaSlider\n [ngClass]="{\'k-align-self-end\': clearButton}"\n class="k-alpha-slider k-colorgradient-slider"\n [dragHandleTitle]="opacitySliderTitle"\n [disabled]="disabled"\n [readonly]="readonly"\n [showButtons]="false"\n [tickPlacement]="\'none\'"\n [vertical]="true"\n [min]="0"\n [max]="100"\n [smallStep]="1"\n [largeStep]="10"\n [value]="alphaSliderValue"\n (valueChange)="handleAlphaSliderChange($event)"\n >\n </kendo-slider>\n </div>\n </div>\n <kendo-colorinput #inputs\n [opacity]="opacity"\n [formatView]="format"\n [value]="value"\n [disabled]="disabled"\n [readonly]="readonly"\n (valueChange)="handleInputsValueChange($event)"\n >\n </kendo-colorinput>\n <div class="k-colorgradient-color-contrast k-vbox"\n *ngIf="contrastToolVisible"\n kendoContrastTool\n [value]="value"\n [ratio]="contrastTool">\n </div>\n ',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 "]}),o.__metadata("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2,i.ChangeDetectorRef,l.LocalizationService])],e)}();t.ColorGradientComponent=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(5),a=n(3),s=n(2),l=n(8),d=n(12),c=n(108),u=n(9),p=n(26),h=n(13),f=n(4),g=n(109),m=0,v=function(){function e(e,t,n,o,r,s){var d=this;this.host=e,this.service=t,this.cdr=n,this.renderer=o,this.localizationService=r,this.ngZone=s,this.id="k-colorpalette-"+m++,this.format="hex",this.disabled=!1,this.readonly=!1,this.tileSize={width:24,height:24},this.selectionChange=new i.EventEmitter,this.valueChange=new i.EventEmitter,this.cellSelection=new i.EventEmitter,this.hostClasses=!0,this.uniqueId=a.guid(),this._tabindex=0,this.notifyNgTouched=function(){},this.notifyNgChanged=function(){},l.validatePackage(u.packageMetadata),this.dynamicRTLSubscription=r.changes.subscribe((function(e){var t=e.rtl;d.direction=t?"rtl":"ltr"}))}var t;return t=e,Object.defineProperty(e.prototype,"paletteId",{get:function(){return this.id},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=h.parseColor(e,this.format)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"columns",{get:function(){return this._columns},set:function(e){this._columns=e>1?e:1},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"palette",{get:function(){return this._palette},set:function(e){var t=this;f.isPresent(e)||(e="office"),"string"==typeof e&&f.isPresent(p.PALETTEPRESETS[e])&&(this.columns=this.columns||p.PALETTEPRESETS[e].columns,e=p.PALETTEPRESETS[e].colors);var n="string"==typeof e?e.split(","):e;this._palette=n.map((function(e){return h.parseColor(e,t.format,!1,!1)}))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return this.disabled?void 0:this._tabindex},set:function(e){var t=Number(e);this._tabindex=isNaN(t)?0:t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tileLayout",{get:function(){return"number"!=typeof this.tileSize?this.tileSize:{width:this.tileSize,height:this.tileSize}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"colorRows",{get:function(){return this.service.colorRows},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostTabindex",{get:function(){return this.tabindex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"readonlyAttribute",{get:function(){return this.readonly},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){if(0===this.colorRows.length){var e="name"!==this.format?"office":"accessible";this.palette=this.palette||e,this.setRows()}},e.prototype.ngAfterViewInit=function(){var e=this;this.setHostElementAriaLabel(),this.value&&this.ngZone.onStable.pipe(d.take(1)).subscribe((function(){e.selectCell(e.value)}))},e.prototype.ngOnDestroy=function(){this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe()},e.prototype.ngOnChanges=function(e){(e.palette||e.columns)&&this.setRows(),(e.palette||e.value||e.columns)&&(this.selectCell(this.value),this.setHostElementAriaLabel())},e.prototype.handleKeydown=function(e){var t="rtl"===this.direction;switch(e.keyCode){case a.Keys.ArrowDown:this.handleCellNavigation(0,1);break;case a.Keys.ArrowUp:this.handleCellNavigation(0,-1);break;case a.Keys.ArrowRight:this.handleCellNavigation(t?-1:1,0);break;case a.Keys.ArrowLeft:this.handleCellNavigation(t?1:-1,0);break;case a.Keys.Enter:this.handleEnter();break;default:return}e.preventDefault()},e.prototype.handleHostBlur=function(){this.notifyNgTouched(),this.handleCellFocusOnBlur()},e.prototype.handleCellSelection=function(e,t){if(!this.readonly){this.selectedCell=t,this.focusedCell=this.selectedCell,this.focusInComponent=!0;var n=h.parseColor(e,this.format,!1,!1);this.cellSelection.emit(n),this.handleValueChange(n),this.selection!==n&&(this.selection=n,this.selectionChange.emit(n)),t&&(this.activeCellId="k-"+this.selectedCell.row+"-"+this.selectedCell.col+"-"+this.uniqueId)}},e.prototype.writeValue=function(e){this.value=e,this.selectCell(e)},e.prototype.registerOnChange=function(e){this.notifyNgChanged=e},e.prototype.registerOnTouched=function(e){this.notifyNgTouched=e},e.prototype.setDisabledState=function(e){this.cdr.markForCheck(),this.disabled=e},e.prototype.isEmpty=function(){return!1},e.prototype.reset=function(){this.focusedCell=null,f.isPresent(this.value)&&this.handleValueChange(void 0),this.selectedCell=void 0},e.prototype.handleValueChange=function(e){this.value!==e&&(this.value=e,this.valueChange.emit(e),this.notifyNgChanged(e),this.setHostElementAriaLabel())},e.prototype.handleCellFocusOnBlur=function(){this.focusInComponent=!1,this.focusedCell=this.selectedCell},e.prototype.selectCell=function(e){this.selectedCell=this.service.getCellCoordsFor(e),this.focusedCell=this.selectedCell},e.prototype.setRows=function(){f.isPresent(this.palette)&&(this.columns=this.columns||10,this.service.setColorMatrix(this.palette,this.columns))},e.prototype.handleCellNavigation=function(e,t){this.readonly||(this.focusedCell=this.service.getNextCell(this.focusedCell,e,t),this.focusInComponent=!0)},e.prototype.setHostElementAriaLabel=function(){var e=h.parseColor(this.value,this.format);this.renderer.setAttribute(this.host.nativeElement,"aria-label",""+(this.value?e:this.localizationService.get("colorPaletteNoColor")))},e.prototype.handleEnter=function(){if(f.isPresent(this.focusedCell)){var e=this.service.getColorAt(this.focusedCell);this.handleCellSelection(e,this.focusedCell)}},o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.HostBinding("attr.id"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],e.prototype,"paletteId",null),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"id",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"format",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"value",null),o.__decorate([i.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],e.prototype,"columns",null),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"palette",null),o.__decorate([i.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],e.prototype,"tabindex",null),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"tileSize",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"selectionChange",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"cellSelection",void 0),o.__decorate([i.HostBinding("attr.tabindex"),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[])],e.prototype,"hostTabindex",null),o.__decorate([i.HostBinding("class.k-colorpalette"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([i.HostBinding("attr.aria-disabled"),i.HostBinding("class.k-state-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),o.__decorate([i.HostBinding("attr.aria-readonly"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"readonlyAttribute",null),o.__decorate([i.HostListener("keydown",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],e.prototype,"handleKeydown",null),o.__decorate([i.HostListener("blur"),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[]),o.__metadata("design:returntype",void 0)],e.prototype,"handleHostBlur",null),e=t=o.__decorate([i.Component({exportAs:"kendoColorPalette",selector:"kendo-colorpalette",providers:[{multi:!0,provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return t}))},{provide:a.KendoInput,useExisting:i.forwardRef((function(){return t}))},g.ColorPaletteService,c.ColorPaletteLocalizationService,{provide:s.LocalizationService,useExisting:c.ColorPaletteLocalizationService},{provide:s.L10N_PREFIX,useValue:"kendo.colorpalette"}],template:'\n <ng-container kendoColorPaletteLocalizedMessages\n i18n-colorPaletteNoColor="kendo.colorpalette.colorPaletteNoColor|The aria-label applied to the ColorPalette component when the value is empty."\n colorPaletteNoColor="Colorpalette no color chosen">\n </ng-container>\n <div role="listbox" class="k-colorpalette-table-wrap"\n [attr.aria-activedescendant]="activeCellId">\n <table class="k-colorpalette-table k-palette">\n <tbody>\n <tr *ngFor="let row of colorRows; let rowIndex = index">\n <td *ngFor="let color of row; let colIndex = index"\n role="option"\n [class.k-state-selected]="selectedCell?.row === rowIndex && selectedCell?.col === colIndex"\n [class.k-state-focus]="focusInComponent && focusedCell?.row === rowIndex && focusedCell?.col === colIndex"\n [attr.aria-selected]="selectedCell?.row === rowIndex && selectedCell?.col === colIndex"\n [attr.aria-label]="color"\n class="k-colorpalette-tile"\n [id]="\'k-\' + rowIndex + \'-\' + colIndex + \'-\' + uniqueId"\n [attr.value]="color"\n (click)="handleCellSelection(color, { row: rowIndex, col: colIndex })"\n [ngStyle]="{\n backgroundColor: color,\n width: tileLayout.width + \'px\',\n height: tileLayout.height + \'px\',\n minWidth: tileLayout.width + \'px\'\n }">\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n '}),o.__metadata("design:paramtypes",[i.ElementRef,g.ColorPaletteService,i.ChangeDetectorRef,i.Renderer2,s.LocalizationService,i.NgZone])],e)}();t.ColorPaletteComponent=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=0,a=function(){function e(){this.hostClass=!0,this.align="start",this.id="kendo-error-"+r++,this.roleAttribute="alert"}return Object.defineProperty(e.prototype,"startClass",{get:function(){return"start"===this.align},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endClass",{get:function(){return"end"===this.align},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"idAttribute",{get:function(){return this.id},enumerable:!0,configurable:!0}),o.__decorate([i.HostBinding("class.k-form-error"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"align",void 0),o.__decorate([i.HostBinding("attr.role"),o.__metadata("design:type",String)],e.prototype,"roleAttribute",void 0),o.__decorate([i.HostBinding("class.k-text-start"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"startClass",null),o.__decorate([i.HostBinding("class.k-text-end"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"endClass",null),o.__decorate([i.HostBinding("attr.id"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],e.prototype,"idAttribute",null),e=o.__decorate([i.Component({selector:"kendo-formerror",template:"\n <ng-content></ng-content>\n "})],e)}();t.ErrorComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=0,a=function(){function e(){this.align="start",this.id="kendo-hint-"+r++,this.hostClass=!0}return Object.defineProperty(e.prototype,"startClass",{get:function(){return"start"===this.align},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"endClass",{get:function(){return"end"===this.align},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"idAttribute",{get:function(){return this.id},enumerable:!0,configurable:!0}),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"align",void 0),o.__decorate([i.HostBinding("class.k-form-hint"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([i.HostBinding("class.k-text-start"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"startClass",null),o.__decorate([i.HostBinding("class.k-text-end"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"endClass",null),o.__decorate([i.HostBinding("attr.id"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],e.prototype,"idAttribute",null),e=o.__decorate([i.Component({selector:"kendo-formhint",template:"\n <ng-content></ng-content>\n "})],e)}();t.HintComponent=a},function(e,t,n){"use strict";n.r(t),n.d(t,"detectMobileOS",(function(){return d})),n.d(t,"detectDesktopBrowser",(function(){return c})),n.d(t,"browser",(function(){return p})),n.d(t,"mobileOS",(function(){return h})),n.d(t,"touch",(function(){return f})),n.d(t,"msPointers",(function(){return g})),n.d(t,"pointers",(function(){return m})),n.d(t,"touchEnabled",(function(){return v})),n.d(t,"getter",(function(){return k})),n.d(t,"setter",(function(){return E}));var o=function(){return"undefined"!=typeof window},i={wp:/(Windows Phone(?: OS)?)\s(\d+)\.(\d+(\.\d+)?)/,fire:/(Silk)\/(\d+)\.(\d+(\.\d+)?)/,android:/(Android|Android.*(?:Opera|Firefox).*?\/)\s*(\d+)(\.(\d+(\.\d+)?))?/,iphone:/(iPhone|iPod).*OS\s+(\d+)[\._]([\d\._]+)/,ipad:/(iPad).*OS\s+(\d+)[\._]([\d_]+)/,meego:/(MeeGo).+NokiaBrowser\/(\d+)\.([\d\._]+)/,webos:/(webOS)\/(\d+)\.(\d+(\.\d+)?)/,blackberry:/(BlackBerry|BB10).*?Version\/(\d+)\.(\d+(\.\d+)?)/,playbook:/(PlayBook).*?Tablet\s*OS\s*(\d+)\.(\d+(\.\d+)?)/,windows:/(MSIE)\s+(\d+)\.(\d+(\.\d+)?)/,tizen:/(tizen).*?Version\/(\d+)\.(\d+(\.\d+)?)/i,sailfish:/(sailfish).*rv:(\d+)\.(\d+(\.\d+)?).*firefox/i,ffos:/(Mobile).*rv:(\d+)\.(\d+(\.\d+)?).*Firefox/},r={ios:/^i(phone|pad|pod)$/i,android:/^android|fire$/i,blackberry:/^blackberry|playbook/i,windows:/windows/,wp:/wp/,flat:/sailfish|ffos|tizen/i,meego:/meego/},a={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i},s={omini:/Opera\sMini/i,omobile:/Opera\sMobi/i,firefox:/Firefox|Fennec/i,mobilesafari:/version\/.*safari/i,ie:/MSIE|Windows\sPhone/i,chrome:/chrome|crios/i,webkit:/webkit/i},l=function(e,t,n){for(var o in t)if(t.hasOwnProperty(o)&&t[o].test(e))return o;return void 0!==n?n:e},d=function(e){var t,n=[];for(var o in i)if(i.hasOwnProperty(o)){if(!(n=e.match(i[o])))continue;if("windows"===o&&"plugins"in window.navigator)return null;var a={};return a.device=o,a.browser=l(e,s,"default"),a.name=l(o,r),a[a.name]=!0,a.majorVersion=n[2],a.minorVersion=n[3]?n[3].replace("_","."):".0",t=a.minorVersion.replace(".","").substr(0,2),a.flatVersion=a.majorVersion+t+new Array(3-(t.length<3?t.length:2)).join("0"),a.cordova=void 0!==typeof window.PhoneGap||void 0!==typeof window.cordova,a.appMode=window.navigator.standalone||/file|local|wmapp/.test(window.location.protocol)||a.cordova,a}return null},c=function(e){var t=null,n=[];for(var o in a)if(a.hasOwnProperty(o)&&(n=e.match(a[o]))){(t={})[o]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.documentMode||n[2],10);break}return t},u=o()&&window.navigator?window.navigator.userAgent:null,p=u?c(u):null,h=u?d(u):null,f=o()&&"ontouchstart"in window,g=p&&!p.chrome&&window.MSPointerEvent,m=p&&!p.chrome&&window.PointerEvent,v=h&&(f||g||m),_=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;function y(e){var t=[];return e.replace(_,(function(e,n,o,i){t.push(void 0!==n?n:o||i)})),t}var b={};function k(e){if(b[e])return b[e];var t=y(e);return b[e]=function(e){for(var n=e,o=0;o<t.length&&n;o++)n=n[t[o]];return n},b[e]}b[void 0]=function(e){return e};var C={undefined:function(e){return e}},S=function(e,t){return t&&t.arrays&&!isNaN(Number(e))?[]:{}};function E(e){if(C[e])return C[e];var t=y(e);return C[e]=function(e,n,o){for(var i=e,r=t.length-1,a=0;a<r&&i;a++)i=i[t[a]]=i[t[a]]||S(t[a+1],o);i[t[r]]=n},C[e]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(10),i=n(17),r=function(){function e(e,t,n,o){this.props=e,this.wrapper=t,this.track=n,this.renderer=o,this.props=e,this.wrapper=t,this.track=n,this.tickSizes=this.getTickSizes()}return e.prototype.resizeTrack=function(){var e=this.props.vertical?"height":"width",t=this.props.vertical?"width":"height",n=this.trackWidth();this.track.parentElement.style[e]=n+"px",this.track.parentElement.style[t]=""},e.prototype.resizeTicks=function(e,t){var n=this,o=this.props.vertical?"height":"width";t.slice().map((function(e,t){return e.style[o]=n.tickSizes[t]+"px"})),this.props.vertical&&this.adjustPadding(e)},e.prototype.resizeWrapper=function(){var e=this.props.vertical?"height":"width",t=o.calculateFixedTrackSize(this.props),n=this.wrapper.parentElement;t&&(n.style[e]="auto")},e.prototype.trackWidth=function(){return this.props.fixedTickWidth?o.calculateFixedTrackSize(this.props):this.elementSize(this.track.parentElement)},e.prototype.getTickSizes=function(){for(var e=this.props,t=e.min,n=e.max,r=e.smallStep,a=o.calculateTicksCount(t,n,r),s=this.trackWidth(),l=s/i.subtract(n,t),d=[],c=0,u=0,p=0;p<a;p++){u=+(u+=0===p||p===a-1?r/2*l:r*l).toFixed(2)-.01;var h=Math.round(u-c);d.push(h),c+=h}return c>=s&&(d[d.length-1]-=1),d},e.prototype.adjustPadding=function(e){var t=this.tickSizes.reduce((function(e,t){return e+t}),0),n=this.trackWidth()-t;if(0!==n){var o=n+this.elementOffset(this.track);e.style.paddingTop=o+"px"}},e.prototype.elementOffset=function(e){var t=this.props.vertical,n=getComputedStyle(e);return parseInt(t?n.bottom:n.left,10)},e.prototype.elementSize=function(e){return this.props.vertical?e.clientHeight:e.clientWidth},e}();t.SliderModelBase=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(10),r=n(1),a=n(7),s=n(5),l=n(3),d=n(8),c=n(9),u=n(15),p=function(){function e(e,t,n,o,s,l){var u=this;this.localizationService=e,this.injector=t,this.renderer=n,this.ngZone=o,this.changeDetector=s,this.hostElement=l,this.title=i.identity,this.tickPlacement="both",this.vertical=!1,this.min=0,this.max=10,this.smallStep=1,this.largeStep=null,this.disabled=!1,this.readonly=!1,this.tabindex=0,this.onFocus=new r.EventEmitter,this.onBlur=new r.EventEmitter,this.valueChange=new r.EventEmitter,this.sliderClass=!0,this.widgetClass=!0,this.subscriptions=new a.Subscription,this.ifEnabled=function(e,t){u.isDisabled||e.call(u,t)},d.validatePackage(c.packageMetadata),this.direction=e.rtl?"rtl":"ltr"}return Object.defineProperty(e.prototype,"horizontalClass",{get:function(){return!this.vertical},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"verticalClass",{get:function(){return this.vertical},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),e.prototype.setDisabledState=function(e){this.changeDetector.markForCheck(),this.disabled=e},e.prototype.ngOnInit=function(){var e=this;this.subscriptions.add(this.localizationService.changes.subscribe((function(t){var n=t.rtl;e.direction=n?"rtl":"ltr",e.sizeComponent()}))),this.hostElement&&this.renderer.removeAttribute(this.hostElement.nativeElement,"tabindex"),this.control=this.injector.get(s.NgControl,null)},Object.defineProperty(e.prototype,"isDisabled",{get:function(){return this.disabled||this.readonly},enumerable:!0,configurable:!0}),e.prototype.isEmpty=function(){return!1},Object.defineProperty(e.prototype,"reverse",{get:function(){return this.localizationService.rtl&&!this.vertical},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"keyBinding",{get:function(){var e,t=this.reverse;return(e={})[l.Keys.ArrowLeft]=t?i.increment:i.decrement,e[l.Keys.ArrowRight]=t?i.decrement:i.increment,e[l.Keys.ArrowDown]=i.decrement,e[l.Keys.ArrowUp]=i.increment,e[l.Keys.PageUp]=i.incrementLarge,e[l.Keys.PageDown]=i.decrementLarge,e[l.Keys.Home]=function(e){return e.min},e[l.Keys.End]=function(e){return e.max},e},enumerable:!0,configurable:!0}),e.prototype.resetStyles=function(e){var t=this;e.forEach((function(e){e&&(t.vertical?(t.renderer.removeStyle(e,"width"),t.renderer.removeStyle(e,"left"),t.renderer.removeStyle(e,"right")):(t.renderer.removeStyle(e,"height"),t.renderer.removeStyle(e,"bottom")),t.renderer.removeStyle(e,"padding-top"))}))},o.__decorate([r.Input(),o.__metadata("design:type",Function)],e.prototype,"title",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"tickPlacement",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"vertical",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Number)],e.prototype,"min",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Number)],e.prototype,"max",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Number)],e.prototype,"smallStep",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Number)],e.prototype,"largeStep",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Number)],e.prototype,"fixedTickWidth",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Number)],e.prototype,"tabindex",void 0),o.__decorate([r.Output("focus"),o.__metadata("design:type",r.EventEmitter)],e.prototype,"onFocus",void 0),o.__decorate([r.Output("blur"),o.__metadata("design:type",r.EventEmitter)],e.prototype,"onBlur",void 0),o.__decorate([r.Output(),o.__metadata("design:type",r.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([r.HostBinding("class.k-slider-horizontal"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"horizontalClass",null),o.__decorate([r.HostBinding("class.k-slider-vertical"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"verticalClass",null),o.__decorate([r.HostBinding("class.k-slider"),o.__metadata("design:type",Boolean)],e.prototype,"sliderClass",void 0),o.__decorate([r.HostBinding("class.k-widget"),o.__metadata("design:type",Boolean)],e.prototype,"widgetClass",void 0),o.__decorate([r.HostBinding("class.k-state-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),o.__decorate([r.ViewChild("wrap",{static:!0}),o.__metadata("design:type",r.ElementRef)],e.prototype,"wrapper",void 0),o.__decorate([r.ViewChild("track",{static:!0}),o.__metadata("design:type",r.ElementRef)],e.prototype,"track",void 0),o.__decorate([r.ViewChild("sliderSelection",{static:!0}),o.__metadata("design:type",r.ElementRef)],e.prototype,"sliderSelection",void 0),o.__decorate([r.ViewChild("ticks",{read:r.ElementRef,static:!1}),o.__metadata("design:type",r.ElementRef)],e.prototype,"ticksContainer",void 0),o.__decorate([r.ViewChild("ticks",{static:!1}),o.__metadata("design:type",Object)],e.prototype,"ticks",void 0),o.__decorate([r.ContentChild(u.LabelTemplateDirective,{static:!1}),o.__metadata("design:type",u.LabelTemplateDirective)],e.prototype,"labelTemplate",void 0),e}();t.SliderBase=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(5),a=n(12),s=n(10),l=n(83),d=n(2),c=n(10),u=n(11),p=n(3),h=n(4),f=n(34),g=function(e){function t(t,n,i,r,a,l){var d=e.call(this,t,n,i,r,a,l)||this;return d.localization=t,d.injector=n,d.renderer=i,d.ngZone=r,d.changeDetector=a,d.hostElement=l,d.startHandleId="k-start-handle-"+p.guid(),d.endHandleId="k-end-handle-"+p.guid(),d.focusableId=d.startHandleId,d.handleZIndex=0,d.activeHandle="startHandle",d.focusChangedProgrammatically=!1,d.onWrapClick=function(e){if(!d.isDisabled){d.value=d.value||[d.min,d.min];var t=c.eventValue(e,d.track.nativeElement,d.getProps()),n=void 0,o=n=d.value,i=o[0],r=o[1];t<=i?(n=[t,r],d.activeHandle="startHandle"):i<t&&t<r?t<(i+r)/2?(n=[t,r],d.activeHandle="startHandle"):(n=[i,t],d.activeHandle="endHandle"):t>=r&&(n=[i,t],d.activeHandle="endHandle");var a="startHandle"===d.activeHandle?d.draghandleStart:d.draghandleEnd;u.invokeElementMethod(a,"focus"),d.changeValue(n)}},d.onKeyDown=function(e){d.value=d.value||[d.min,d.min];var t=d.getProps(),n=t.max,i=t.min,r=d.keyBinding[e.keyCode];if(!d.isDisabled&&r){d.renderer.setStyle(e.target,"zIndex",++d.handleZIndex);var a=c.isStartHandle(e.target),l=r(o.__assign({},t,{value:a?d.value[0]:d.value[1]}));a?l>d.value[1]&&(d.value[1]=l):l<d.value[0]&&(d.value[0]=l);var u=s.trimValue(n,i,l),p=a?[u,d.value[1]]:[d.value[0],u];d.changeValue(p),e.preventDefault()}},d.ngChange=function(e){},d.ngTouched=function(){},d.handleBlur=function(){d.changeDetector.markForCheck(),d.focused=!1,(p.hasObservers(d.onBlur)||h.requiresZoneOnBlur(d.control))&&d.ngZone.run((function(){d.ngTouched(),d.focusChangedProgrammatically||d.onBlur.emit()}))},d}var n;return o.__extends(t,e),n=t,t.prototype.focus=function(){this.focusChangedProgrammatically=!0,u.invokeElementMethod(this.draghandleStart,"focus"),this.focusChangedProgrammatically=!1},t.prototype.blur=function(){this.focusChangedProgrammatically=!0;var e="startHandle"===this.activeHandle?this.draghandleStart:this.draghandleEnd;u.invokeElementMethod(e,"blur"),this.handleBlur(),this.focusChangedProgrammatically=!1},t.prototype.ngOnInit=function(){this.value||(this.value=[this.min,this.max]),e.prototype.ngOnInit.call(this)},t.prototype.ngOnChanges=function(e){var t=this;p.anyChanged(["value","fixedTickWidth","tickPlacement"],e,!0)&&(e.value&&e.value.currentValue&&s.validateValue(e.value.currentValue),this.ngZone.onStable.asObservable().pipe(a.take(1)).subscribe((function(){t.sizeComponent()})))},t.prototype.ngAfterViewInit=function(){var e=this;p.isDocumentAvailable()&&(this.sizeComponent(),this.ticks&&this.ticks.tickElements.changes.subscribe((function(){return e.sizeComponent()})),this.attachElementEventHandlers())},t.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},t.prototype.textFor=function(e){return this.localization.get(e)},Object.defineProperty(t.prototype,"valueText",{get:function(){return this.value?this.value[0]+" - "+this.value[1]:""},enumerable:!0,configurable:!0}),t.prototype.handleDragPress=function(e){e.originalEvent&&e.originalEvent.preventDefault();var t=e.originalEvent.target;this.draggedHandle=t,this.renderer.setStyle(t,"zIndex",++this.handleZIndex)},t.prototype.onHandleDrag=function(e){var t=this;this.value=this.value||[this.min,this.min];var n=e.originalEvent.target,o=this.draggedHandle.getBoundingClientRect();this.lastHandlePosition={x:o.left,y:o.top},this.dragging={value:!0,target:n};var i=e.pageX-.5-o.width/2,r=e.pageY-o.width/2,a=i<this.lastHandlePosition.x,s=i>this.lastHandlePosition.x,l=r>this.lastHandlePosition.y,d=function(){return t.changeValue([c.eventValue(e,t.track.nativeElement,t.getProps()),t.value[1]])},u=function(){return t.changeValue([t.value[0],c.eventValue(e,t.track.nativeElement,t.getProps())])},p=function(){return t.changeValue([c.eventValue(e,t.track.nativeElement,t.getProps()),c.eventValue(e,t.track.nativeElement,t.getProps())])},h=c.isStartHandle(this.draggedHandle),f=this.vertical,g=!f,m=f&&l||(this.reverse?g&&s:g&&a),v=this.value[0]>this.value[1];this.value[0]===this.value[1]||v?m?h?d():p():h?p():u():h?d():u()},t.prototype.onHandleRelease=function(e){this.dragging={value:!1,target:e.originalEvent.target},this.draggedHandle=void 0},t.prototype.writeValue=function(e){s.validateValue(e),this.value=e,this.sizeComponent()},t.prototype.registerOnChange=function(e){this.ngChange=e},t.prototype.registerOnTouched=function(e){this.ngTouched=e},t.prototype.changeValue=function(e){var t=this;this.value&&s.isSameRange(this.value,e)||this.ngZone.run((function(){t.value=e,t.ngChange(e),t.value&&t.valueChange.emit(e),t.sizeComponent()}))},t.prototype.sizeComponent=function(){if(p.isDocumentAvailable()){var e=this.wrapper.nativeElement,t=this.track.nativeElement,n=this.sliderSelection.nativeElement,o=this.draghandleStart.nativeElement,i=this.draghandleEnd.nativeElement,r=this.ticks?this.ticksContainer.nativeElement:null;this.resetStyles([t,n,o,i,r,this.hostElement.nativeElement]);var a=this.getProps(),s=new l.RangeSliderModel(a,e,t,this.renderer);s.resizeTrack(),this.ticks&&s.resizeTicks(this.ticksContainer.nativeElement,this.ticks.tickElements.map((function(e){return e.nativeElement}))),s.positionHandle(o),s.positionHandle(i),s.positionSelection(o,n),this.fixedTickWidth&&s.resizeWrapper()}},Object.defineProperty(t.prototype,"isDisabled",{get:function(){return this.disabled||this.readonly},enumerable:!0,configurable:!0}),t.prototype.isEmpty=function(){return!1},Object.defineProperty(t.prototype,"focused",{set:function(e){this.isFocused!==e&&this.hostElement&&(this.isFocused=e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dragging",{set:function(e){if(this.isDragged!==e.value&&this.sliderSelection&&this.draghandleStart&&this.draghandleEnd){var t=this.sliderSelection.nativeElement,n=e.target;e.value?(this.renderer.addClass(t,"k-pressed"),this.renderer.addClass(n,"k-pressed")):(this.renderer.removeClass(t,"k-pressed"),this.renderer.removeClass(n,"k-pressed")),this.isDragged=e.value}},enumerable:!0,configurable:!0}),t.prototype.getProps=function(){return{disabled:this.disabled,fixedTickWidth:this.fixedTickWidth,largeStep:this.largeStep,max:this.max,min:this.min,readonly:this.readonly,reverse:this.reverse,rtl:this.localizationService.rtl,smallStep:this.smallStep,value:s.trimValueRange(this.max,this.min,this.value),vertical:this.vertical,buttons:!1}},t.prototype.attachElementEventHandlers=function(){var e=this,t=this.hostElement.nativeElement,n=!1,o=!1;this.ngZone.runOutsideAngular((function(){e.subscriptions.add(e.renderer.listen(t,"focusin",(function(){e.isFocused||e.ngZone.run((function(){e.focusChangedProgrammatically||e.onFocus.emit(),e.focused=!0}))}))),e.subscriptions.add(e.renderer.listen(t,"focusout",(function(t){e.isFocused&&(n?(t.relatedTarget!==e.draghandleStart.nativeElement&&t.relatedTarget!==e.draghandleEnd.nativeElement&&e.handleBlur(),n=!1):o||e.handleBlur())}))),e.subscriptions.add(e.renderer.listen(t,"mouseenter",(function(){o=!0}))),e.subscriptions.add(e.renderer.listen(t,"mouseleave",(function(){o=!1}))),e.subscriptions.add(e.renderer.listen(t,"keydown",(function(e){n=e.keyCode===p.Keys.Tab})))}))},o.__decorate([i.Input(),o.__metadata("design:type",Array)],t.prototype,"value",void 0),o.__decorate([i.ViewChild("draghandleStart",{static:!0}),o.__metadata("design:type",i.ElementRef)],t.prototype,"draghandleStart",void 0),o.__decorate([i.ViewChild("draghandleEnd",{static:!0}),o.__metadata("design:type",i.ElementRef)],t.prototype,"draghandleEnd",void 0),t=n=o.__decorate([i.Component({exportAs:"kendoRangeSlider",providers:[d.LocalizationService,{provide:d.L10N_PREFIX,useValue:"kendo.rangeslider"},{multi:!0,provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return n}))},{provide:p.KendoInput,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-rangeslider",template:'\n <ng-container kendoSliderLocalizedMessages\n i18n-dragHandleStart="kendo.rangeslider.dragHandleStart|The title of the **Start** drag handle of the Slider."\n dragHandleStart="Drag"\n i18n-dragHandleEnd="kendo.rangeslider.dragHandleEnd|The title of the **End** drag handle of the Slider."\n dragHandleEnd="Drag"\n >\n\n <div class="k-slider-wrap" #wrap\n [class.k-slider-topleft]="tickPlacement === \'before\'"\n [class.k-slider-bottomright]="tickPlacement === \'after\'"\n [kendoEventsOutsideAngular]="{ click: onWrapClick, keydown: onKeyDown }"\n >\n <div class="k-slider-track-wrap">\n <ul kendoSliderTicks\n #ticks\n *ngIf="tickPlacement !== \'none\'"\n [tickTitle]="title"\n [vertical]="vertical"\n [step]="smallStep"\n [largeStep]="largeStep"\n [min]="min"\n [max]="max"\n [labelTemplate]="labelTemplate?.templateRef"\n [attr.aria-hidden]="true"\n >\n </ul>\n <div #track class="k-slider-track">\n <div #sliderSelection class="k-slider-selection">\n </div>\n <a #draghandleStart\n role="slider"\n [id]="startHandleId"\n [attr.tabindex]="disabled ? undefined : tabindex"\n [attr.aria-valuemin]="min"\n [attr.aria-valuemax]="max"\n [attr.aria-valuenow]="value ? value[0] : null"\n [attr.aria-valuetext]="valueText"\n [attr.aria-disabled]="disabled ? true : undefined"\n [attr.aria-readonly]="readonly ? true : undefined"\n [attr.aria-orientation]="vertical ? \'vertical\' : \'horizontal\'"\n [style.touch-action]="isDisabled ? \'\' : \'none\'"\n class="k-draghandle"\n [title]="textFor(\'dragHandleStart\')"\n kendoDraggable\n (kendoPress)="ifEnabled(handleDragPress ,$event)"\n (kendoDrag)="ifEnabled(onHandleDrag ,$event)"\n (kendoRelease)="ifEnabled(onHandleRelease, $event)"\n ></a>\n <a #draghandleEnd\n role="slider"\n [id]="endHandleId"\n [attr.tabindex]="disabled ? undefined : tabindex"\n [attr.aria-valuemin]="min"\n [attr.aria-valuemax]="max"\n [attr.aria-valuenow]="value ? value[1] : null"\n [attr.aria-valuetext]="valueText"\n [attr.aria-disabled]="disabled ? true : undefined"\n [attr.aria-readonly]="readonly ? true : undefined"\n [attr.aria-orientation]="vertical ? \'vertical\' : \'horizontal\'"\n [style.touch-action]="isDisabled ? \'\' : \'none\'"\n class="k-draghandle"\n [title]="textFor(\'dragHandleEnd\')"\n kendoDraggable\n (kendoPress)="ifEnabled(handleDragPress ,$event)"\n (kendoDrag)="ifEnabled(onHandleDrag ,$event)"\n (kendoRelease)="ifEnabled(onHandleRelease, $event)"\n ></a>\n </div>\n </div>\n <kendo-resize-sensor (resize)="sizeComponent()"></kendo-resize-sensor>\n </div>\n '}),o.__metadata("design:paramtypes",[d.LocalizationService,i.Injector,i.Renderer2,i.NgZone,i.ChangeDetectorRef,i.ElementRef])],t)}(f.SliderBase);t.RangeSliderComponent=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(5),a=n(2),s=n(3),l=n(8),d=n(9),c=n(4),u=n(7),p=n(12),h=n(32),f=function(){function e(e,t,n,o,r,a){var p=this;this.renderer=e,this.hostElement=t,this.localizationService=n,this.injector=o,this.changeDetector=r,this.ngZone=a,this.focusableId="k-"+s.guid(),this.disabled=!1,this.readonly=!1,this.tabindex=0,this.onFocus=new i.EventEmitter,this.onBlur=new i.EventEmitter,this.valueChange=new i.EventEmitter,this.hostClasses=!0,this.initialized=!1,this.hostClickSubscription=new u.Subscription,this._checked=!1,this._size="medium",this._trackRounded="full",this._thumbRounded="full",this.ngChange=function(e){},this.ngTouched=function(){},this.handleFocus=function(){p.isFocused||(p.focused=!0,s.hasObservers(p.onFocus)&&p.ngZone.run((function(){p.onFocus.emit()})))},this.handleBlur=function(e){var t=e&&e.relatedTarget;p.hostElement.nativeElement.contains(t)||(p.changeDetector.markForCheck(),p.focused=!1,(s.hasObservers(p.onBlur)||c.requiresZoneOnBlur(p.control))&&p.ngZone.run((function(){p.ngTouched(),p.onBlur.emit()})))},l.validatePackage(d.packageMetadata),this.direction=n.rtl?"rtl":"ltr",this.keyDownHandler=this.keyDownHandler.bind(this),this.clickHandler=this.clickHandler.bind(this)}var t;return t=e,Object.defineProperty(e.prototype,"checked",{get:function(){return this._checked},set:function(e){this.setHostClasses(e),this._checked=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.handleClasses(e,"size"),this._size=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"thumbRounded",{get:function(){return this._thumbRounded},set:function(e){this.handleThumbClasses(e),this._thumbRounded=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"trackRounded",{get:function(){return this._trackRounded},set:function(e){this.handleTrackClasses(e),this._trackRounded=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.tabindex},set:function(e){this.tabindex=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ieClass",{get:function(){return h.browser&&h.browser.msie},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaDisabled",{get:function(){return!!this.disabled||void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaReadonly",{get:function(){return this.readonly},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"onLabelMessage",{get:function(){return this.onLabel||this.localizationService.get("on")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"offLabelMessage",{get:function(){return this.offLabel||this.localizationService.get("off")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isEnabled",{get:function(){return!this.disabled&&!this.readonly},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;if(this.hostElement){var t=this.hostElement.nativeElement;this.renderer.removeAttribute(t,"tabindex")}this.localizationChangeSubscription=this.localizationService.changes.pipe(p.skip(1)).subscribe((function(t){var n=t.rtl;e.direction=n?"rtl":"ltr"})),this.control=this.injector.get(r.NgControl,null),this.ngZone.onStable.pipe(p.take(1)).subscribe((function(){return e.initialized=!0}))},e.prototype.ngAfterViewInit=function(){var e=this.hostElement.nativeElement;this.attachHostClickHandler(),this.checked||e.classList.contains("k-switch-off")||this.renderer.addClass(e,"k-switch-off"),this.handleClasses(this.size,"size"),this.handleTrackClasses(this.trackRounded),this.handleThumbClasses(this.thumbRounded)},e.prototype.ngOnDestroy=function(){this.localizationChangeSubscription&&this.localizationChangeSubscription.unsubscribe(),this.hostClickSubscription&&this.hostClickSubscription.unsubscribe()},e.prototype.focus=function(){this.track&&this.track.nativeElement.focus()},e.prototype.blur=function(){this.track&&this.track.nativeElement.blur()},e.prototype.setDisabledState=function(e){this.disabled=e,this.changeDetector.markForCheck()},e.prototype.writeValue=function(e){this.checked=null!==e&&e,this.changeDetector.markForCheck()},e.prototype.registerOnChange=function(e){this.ngChange=e},e.prototype.registerOnTouched=function(e){this.ngTouched=e},e.prototype.keyDownHandler=function(e){var t=e.keyCode;!this.isEnabled||t!==s.Keys.Space&&t!==s.Keys.Enter||(this.changeValue(!this.checked),e.preventDefault())},e.prototype.clickHandler=function(){this.isEnabled&&this.changeValue(!this.checked)},e.prototype.isEmpty=function(){return!1},e.prototype.changeValue=function(e){var t=this;this.checked!==e&&this.ngZone.run((function(){t.checked=e,t.ngChange(e),t.valueChange.emit(e),t.changeDetector.markForCheck()}))},Object.defineProperty(e.prototype,"focused",{set:function(e){if(this.isFocused!==e&&this.hostElement){var t=this.hostElement.nativeElement;e?this.renderer.addClass(t,"k-focus"):this.renderer.removeClass(t,"k-focus"),this.isFocused=e}},enumerable:!0,configurable:!0}),e.prototype.attachHostClickHandler=function(){var e=this;this.ngZone.runOutsideAngular((function(){e.hostClickSubscription.add(e.renderer.listen(e.hostElement.nativeElement,"click",e.clickHandler))}))},e.prototype.setHostClasses=function(e){var t=this.hostElement.nativeElement;e?(this.renderer.removeClass(t,"k-switch-off"),this.renderer.addClass(t,"k-switch-on")):(this.renderer.removeClass(t,"k-switch-on"),this.renderer.addClass(t,"k-switch-off"))},e.prototype.handleClasses=function(e,t){var n=this.hostElement.nativeElement,o=c.getStylingClasses("switch",t,this[t],e);o.toRemove&&this.renderer.removeClass(n,o.toRemove),o.toAdd&&this.renderer.addClass(n,o.toAdd)},e.prototype.handleTrackClasses=function(e){var t=this.hostElement.nativeElement,n=this.track.nativeElement,o=c.getStylingClasses("switch","rounded",this.trackRounded,e);o.toRemove&&(this.renderer.removeClass(t,o.toRemove),this.renderer.removeClass(n,o.toRemove)),o.toAdd&&(this.renderer.addClass(t,o.toAdd),this.renderer.addClass(n,o.toAdd))},e.prototype.handleThumbClasses=function(e){var t=this.thumb.nativeElement,n=c.getStylingClasses("switch","rounded",this.thumbRounded,e);n.toRemove&&this.renderer.removeClass(t,n.toRemove),n.toAdd&&this.renderer.addClass(t,n.toAdd)},o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"focusableId",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"onLabel",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"offLabel",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[Boolean])],e.prototype,"checked",null),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"tabindex",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"size",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"thumbRounded",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"trackRounded",null),o.__decorate([i.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],e.prototype,"tabIndex",null),o.__decorate([i.Output("focus"),o.__metadata("design:type",i.EventEmitter)],e.prototype,"onFocus",void 0),o.__decorate([i.Output("blur"),o.__metadata("design:type",i.EventEmitter)],e.prototype,"onBlur",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.HostBinding("class.k-ie"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"ieClass",null),o.__decorate([i.HostBinding("attr.aria-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"ariaDisabled",null),o.__decorate([i.HostBinding("attr.aria-readonly"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"ariaReadonly",null),o.__decorate([i.HostBinding("class.k-switch"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([i.HostBinding("class.k-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),o.__decorate([i.ViewChild("track",{static:!0}),o.__metadata("design:type",Object)],e.prototype,"track",void 0),o.__decorate([i.ViewChild("thumb",{static:!0}),o.__metadata("design:type",Object)],e.prototype,"thumb",void 0),e=t=o.__decorate([i.Component({exportAs:"kendoSwitch",providers:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.switch"},{multi:!0,provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return t}))},{provide:s.KendoInput,useExisting:i.forwardRef((function(){return t}))}],selector:"kendo-switch",template:'\n <ng-container kendoSwitchLocalizedMessages\n i18n-on="kendo.switch.on|The **On** label of the Switch."\n on="ON"\n i18n-off="kendo.switch.off|The **Off** label of the Switch."\n off="OFF"\n >\n\n <span\n #track\n class="k-switch-track"\n [id]="focusableId"\n role="switch"\n [style.transitionDuration]="initialized ? \'200ms\' : \'0ms\'"\n [attr.aria-checked]="checked"\n [attr.tabindex]="(disabled ? undefined : tabIndex)"\n [kendoEventsOutsideAngular]="{ keydown: keyDownHandler, focus: handleFocus, blur: handleBlur }"\n >\n <span class="k-switch-label-on" [attr.aria-hidden]="true" >{{onLabelMessage}}</span>\n <span class="k-switch-label-off" [attr.aria-hidden]="true">{{offLabelMessage}}</span>\n </span>\n <span\n class="k-switch-thumb-wrap"\n tabindex="-1"\n [style.transitionDuration]="initialized ? \'200ms\' : \'0ms\'" [kendoEventsOutsideAngular]="{\n keydown: keyDownHandler,\n focus: handleFocus,\n blur: handleBlur\n }">\n <span #thumb class="k-switch-thumb"></span>\n </span>\n '}),o.__metadata("design:paramtypes",[i.Renderer2,i.ElementRef,a.LocalizationService,i.Injector,i.ChangeDetectorRef,i.NgZone])],e)}();t.SwitchComponent=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(3),a=function(){function e(e,t,n){this.renderer=e,this.inputElement=t,this.ngZone=n,this.hostClasses=!0,this.onFocus=new i.EventEmitter,this.onBlur=new i.EventEmitter,this.onValueChange=new i.EventEmitter,this.autoFillStart=new i.EventEmitter,this.autoFillEnd=new i.EventEmitter,this.listeners=[]}var t;return t=e,Object.defineProperty(e.prototype,"value",{get:function(){return this.inputElement.nativeElement.value},set:function(e){this.inputElement&&(this.inputElement.nativeElement.value=null==e?"":e,this.onValueChange.emit())},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this.inputElement.nativeElement.id},set:function(e){this.renderer.setAttribute(this.inputElement.nativeElement,"id",e)},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this,t=this.inputElement.nativeElement;this.listeners=[this.renderer.listen(t,"focus",(function(){return e.onFocus.emit()})),this.renderer.listen(t,"blur",(function(){return e.onBlur.emit()}))],this.ngZone.runOutsideAngular((function(){e.renderer.listen(t,"animationstart",(function(t){"autoFillStart"===t.animationName?e.autoFillStart.emit():"autoFillEnd"===t.animationName&&e.autoFillEnd.emit()}))}))},e.prototype.ngOnDestroy=function(){this.listeners.forEach((function(e){return e()}))},o.__decorate([i.HostBinding("class.k-textbox"),i.HostBinding("class.k-input"),i.HostBinding("class.k-input-md"),i.HostBinding("class.k-rounded-md"),i.HostBinding("class.k-input-solid"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"value",null),e=t=o.__decorate([i.Directive({selector:"input[kendoTextBox]",providers:[{provide:r.KendoInput,useExisting:i.forwardRef((function(){return t}))}]}),o.__metadata("design:paramtypes",[i.Renderer2,i.ElementRef,i.NgZone])],e)}();t.TextBoxDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(5),a=n(3),s=n(4),l=n(2),d=n(7),c=n(12),u=function(){function e(e,t,n,o,r,a){this.renderer=e,this.element=t,this.zone=n,this.changeDetector=o,this.injector=r,this.elementClasses=!0,this.autofillClass=!0,this.valueChange=new i.EventEmitter,this.autoSize=!1,this.onFocus=new i.EventEmitter,this.onBlur=new i.EventEmitter,this.onValueChange=new i.EventEmitter,this.autoFillStart=new i.EventEmitter,this.autoFillEnd=new i.EventEmitter,this.listeners=[],this.ngChange=function(e){},this.ngTouched=function(){},this.direction=a?"rtl":"ltr"}var t;return t=e,Object.defineProperty(e.prototype,"id",{get:function(){return this.element.nativeElement.id},set:function(e){this.renderer.setAttribute(this.element.nativeElement,"id",e)},enumerable:!0,configurable:!0}),e.prototype.writeValue=function(e){this.elementValue=e,this.resize()},e.prototype.registerOnChange=function(e){this.ngChange=e},e.prototype.registerOnTouched=function(e){this.ngTouched=e},e.prototype.setDisabledState=function(e){this.setElementProperty("disabled",e)},e.prototype.ngOnInit=function(){var e=this,t=this.element.nativeElement;this.zone.runOutsideAngular((function(){e.listeners=[e.renderer.listen(t,"focus",e.handleFocus.bind(e)),e.renderer.listen(t,"blur",e.handleBlur.bind(e)),e.renderer.listen(t,"animationstart",(function(t){"autoFillStart"===t.animationName?e.autoFillStart.emit():"autoFillEnd"===t.animationName&&e.autoFillEnd.emit()}))],a.isDocumentAvailable()&&e.autoSize&&(e.resizeSubscription=d.fromEvent(window,"resize").pipe(c.debounceTime(50)).subscribe((function(){return e.resize()}))),e.inputSubscription=d.fromEvent(t,"input").subscribe(e.handleInput.bind(e))})),this.control=this.injector.get(r.NgControl,null)},e.prototype.ngOnChanges=function(e){var t=this,n=this.element.nativeElement;e.value&&(this.elementValue=this.value),e.autoSize&&(this.autoSize?(this.initialHeight=n.offsetHeight,this.renderer.setStyle(n,"resize","none")):(this.renderer.setStyle(n,"overflow-y","auto"),this.renderer.setStyle(n,"resize","both"),n.style.height=this.initialHeight+"px")),this.zone.onStable.pipe(c.take(1)).subscribe((function(){return t.resize()}))},e.prototype.ngOnDestroy=function(){this.listeners.forEach((function(e){return e()})),this.inputSubscription&&this.inputSubscription.unsubscribe(),this.resizeSubscription&&this.resizeSubscription.unsubscribe()},Object.defineProperty(e.prototype,"elementValue",{get:function(){return this.element?this.element.nativeElement.value:""},set:function(e){this.setElementProperty("value",null==e?"":e)},enumerable:!0,configurable:!0}),e.prototype.setElementProperty=function(e,t){this.element&&this.renderer.setProperty(this.element.nativeElement,e,t)},e.prototype.resize=function(){if(this.autoSize){var e=this.element.nativeElement;this.renderer.setStyle(e,"overflow-y","hidden"),e.style.height=this.initialHeight+"px";var t=e.scrollHeight;t>this.initialHeight&&(e.style.height=t+"px")}},e.prototype.handleInput=function(){var e=this,t=this.elementValue;this.value=t,(this.control||a.hasObservers(this.onValueChange)||a.hasObservers(this.valueChange))&&this.zone.run((function(){e.ngChange(t),e.onValueChange.emit(t),e.valueChange.emit(t),e.changeDetector.markForCheck()})),this.resize()},e.prototype.handleFocus=function(){var e=this;a.hasObservers(this.onFocus)&&this.zone.run((function(){e.onFocus.emit()}))},e.prototype.handleBlur=function(){var e=this;(a.hasObservers(this.onBlur)||s.requiresZoneOnBlur(this.control))&&this.zone.run((function(){e.ngTouched(),e.onBlur.emit(),e.changeDetector.markForCheck()}))},o.__decorate([i.HostBinding("class.k-textarea"),i.HostBinding("class.k-input"),i.HostBinding("class.k-input-md"),i.HostBinding("class.k-rounded-md"),i.HostBinding("class.k-input-solid"),o.__metadata("design:type",Boolean)],e.prototype,"elementClasses",void 0),o.__decorate([i.HostBinding("class.k-autofill"),o.__metadata("design:type",Boolean)],e.prototype,"autofillClass",void 0),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"autoSize",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"value",void 0),e=t=o.__decorate([i.Directive({providers:[{provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return t})),multi:!0},{provide:a.KendoInput,useExisting:i.forwardRef((function(){return t}))}],selector:"textarea[kendoTextArea]"}),o.__param(5,i.Optional()),o.__param(5,i.Inject(l.RTL)),o.__metadata("design:paramtypes",[i.Renderer2,i.ElementRef,i.NgZone,i.ChangeDetectorRef,i.Injector,Boolean])],e)}();t.TextAreaDirective=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MIN_DOC_LINK="http://www.telerik.com/kendo-angular-ui/components/inputs/api/NumericTextBoxComponent/#toc-min",t.MAX_DOC_LINK="http://www.telerik.com/kendo-angular-ui/components/inputs/api/NumericTextBoxComponent/#toc-max",t.POINT=".",t.INITIAL_SPIN_DELAY=500,t.SPIN_DELAY=50,t.EXPONENT_REGEX=/[eE][\-+]?([0-9]+)/},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(41),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,Object.defineProperty(t.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),t=n=o.__decorate([i.Component({providers:[{provide:a.NumericTextBoxMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-numerictextbox-messages",template:""}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.NumericTextBoxMessages);t.NumericTextBoxCustomMessagesComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"decrement",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"increment",void 0),t}(n(2).ComponentMessages);t.NumericTextBoxMessages=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(5),a=n(3),s=n(2),l=n(8),d=n(9),c=n(89),u=n(11),p=n(4),h=Promise.resolve(null),f=function(){function e(e,t,n,o,r,s,c){var u=this;this.service=e,this.renderer=t,this.hostElement=n,this.ngZone=o,this.injector=r,this.changeDetector=s,this.focusableId="k-"+a.guid(),this.disabled=!1,this.readonly=!1,this.prompt="_",this.promptPlaceholder=" ",this.includeLiterals=!1,this.maskOnFocus=!1,this.maskValidation=!0,this.tabindex=0,this.onFocus=new i.EventEmitter,this.onBlur=new i.EventEmitter,this.valueChange=new i.EventEmitter,this.hostClasses=!0,this.focusClick=!1,this.defaultRules={"#":/[\d\s\+\-]/,"&":/[\S]/,0:/[\d]/,9:/[\d\s]/,"?":/[a-zA-Z\s]/,A:/[a-zA-Z0-9]/,C:/./,L:/[a-zA-Z]/,a:/[a-zA-Z0-9\s]/},this.isPasted=!1,this.selection=[0,0],this._size="medium",this._rounded="medium",this._fillMode="solid",this.handleFocus=function(){u.focused=!0,u.maskOnFocus&&u.emptyMask&&(u.updateInput(u.service.maskRaw(u.value)),u.ngZone.runOutsideAngular((function(){setTimeout((function(){u.setSelection(0,0)}),0)}))),a.hasObservers(u.onFocus)&&u.ngZone.run((function(){u.onFocus.emit()}))},this.handleClick=function(){if(u.focused&&!u.focusClick){u.focusClick=!0;var e=u.input.nativeElement;e.selectionStart===e.selectionEnd&&u.setFocusSelection()}},this.handleBlur=function(){u.changeDetector.markForCheck(),u.focused=!1,u.focusClick=!1,u.maskOnFocus&&u.emptyMask&&u.updateInput(u.maskedValue),(a.hasObservers(u.onBlur)||p.requiresZoneOnBlur(u.control))&&u.ngZone.run((function(){u.onTouched(),u.onBlur.emit()}))},this.onChange=function(e){},this.onTouched=function(){},l.validatePackage(d.packageMetadata),this.direction=c?"rtl":"ltr",this.updateService()}var t;return t=e,Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.handleClasses(e,"size"),this._size=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rounded",{get:function(){return this._rounded},set:function(e){this.handleClasses(e,"rounded"),this._rounded=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillMode",{get:function(){return this._fillMode},set:function(e){this.handleClasses(e,"fillMode"),this._fillMode=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rules",{get:function(){return this._rules||this.defaultRules},set:function(e){this._rules=Object.assign({},this.defaultRules,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.tabindex},set:function(e){this.tabindex=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostDisabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){this.hostElement&&this.renderer.removeAttribute(this.hostElement.nativeElement,"tabindex"),this.control=this.injector.get(r.NgControl,null)},e.prototype.ngAfterViewInit=function(){var e=this;["size","rounded","fillMode"].forEach((function(t){e.handleClasses(e[t],t)}))},e.prototype.isEmpty=function(){if(this.input)return!Boolean(this.input.nativeElement.value)},e.prototype.handleDragDrop=function(){return!1},e.prototype.focus=function(){this.input&&(this.input.nativeElement.focus(),this.setFocusSelection())},e.prototype.blur=function(){this.input&&this.input.nativeElement.blur()},e.prototype.pasteHandler=function(e){var t=e.target,n=t.selectionStart,o=t.selectionEnd;o!==n&&(this.isPasted=!0,this.selection=[n,o])},e.prototype.inputHandler=function(e){var t,n=e.target.value,o=this.selection,i=o[0],r=o[1];if(!this.mask)return this.updateValueWithEvents(n),void(this.isPasted=!1);if(this.isPasted){this.isPasted=!1;var a=this.maskedValue.length-r,s=n.length-a;t=this.service.maskInRange(n.slice(i,s),this.maskedValue,i,r)}else t=this.service.maskInput(n,this.maskedValue||"",e.target.selectionStart);this.updateInput(t.value,t.selection),this.updateValueWithEvents(t.value)},e.prototype.ngOnChanges=function(e){var t=this;if(e.value&&(this.value=this.normalizeValue()),this.mask){var n=this.extractChanges(e);this.updateService(n);var o=this.service.maskRaw(this.value);this.updateInput(o,null,!0),(e.includeLiterals||a.isChanged("promptPlaceholder",e))&&h.then((function(){t.updateValueWithEvents(t.maskedValue)}))}else this.updateInput(this.value)},e.prototype.writeValue=function(e){this.value=this.normalizeValue(e),this.updateInput(this.service.maskRaw(this.value)),this.includeLiterals&&this.updateValue(this.maskedValue)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this.changeDetector.markForCheck(),this.disabled=e},e.prototype.validate=function(e){return!1!==this.maskValidation&&this.mask&&this.service.validationValue(this.maskedValue)&&-1!==this.maskedValue.indexOf(this.prompt)?{patternError:{mask:this.mask,maskedValue:this.maskedValue,value:this.value}}:null},e.prototype.updateValueWithEvents=function(e){this.updateValue(e),a.hasObservers(this.valueChange)&&this.valueChange.emit(this.value)},e.prototype.updateValue=function(e){!this.mask||this.service.validationValue(e)||this.includeLiterals?this.value=this.service.rawValue(e):this.value="",this.onChange(this.value)},e.prototype.updateInput=function(e,t,n){if(void 0===e&&(e=""),!n||e!==this.maskedValue){this.maskedValue=e;var o=this.maskOnFocus&&!this.focused&&this.emptyMask?"":e;this.renderer.setProperty(this.input.nativeElement,"value",o),void 0!==t&&this.setSelection(t,t)}},e.prototype.extractChanges=function(e){return Object.keys(e).filter((function(e){return"rules"!==e})).reduce((function(t,n){return t[n]=e[n].currentValue,t}),{})},e.prototype.updateService=function(e){var t=Object.assign({includeLiterals:this.includeLiterals,mask:this.mask,prompt:this.prompt,promptPlaceholder:this.promptPlaceholder,rules:this.rules},e);this.service.update(t)},e.prototype.setSelection=function(e,t){void 0===e&&(e=this.selection[0]),void 0===t&&(t=this.selection[1]),this.focused&&u.invokeElementMethod(this.input,"setSelectionRange",e,t)},Object.defineProperty(e.prototype,"emptyMask",{get:function(){return this.service.maskRaw()===this.maskedValue},enumerable:!0,configurable:!0}),e.prototype.setFocusSelection=function(){var e=this.input.nativeElement.selectionStart,t=this.maskedValue?this.maskedValue.indexOf(this.prompt):0;t>=0&&t<e&&(this.selection=[t,t],this.setSelection())},Object.defineProperty(e.prototype,"focused",{get:function(){return this.isFocused},set:function(e){if(this.isFocused!==e&&this.hostElement){var t=this.hostElement.nativeElement;e?this.renderer.addClass(t,"k-focus"):this.renderer.removeClass(t,"k-focus"),this.isFocused=e}},enumerable:!0,configurable:!0}),e.prototype.normalizeValue=function(e){void 0===e&&(e=this.value);var t=p.isPresent(e);if(t&&"string"!=typeof e){if(i.isDevMode())throw new Error("The MaskedTextBox component supports only string values.");return String(e)}return t?e:""},e.prototype.handleClasses=function(e,t){var n=this.hostElement.nativeElement,o=p.getStylingClasses("input",t,this[t],e);o.toRemove&&this.renderer.removeClass(n,o.toRemove),o.toAdd&&this.renderer.addClass(n,o.toAdd)},o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"focusableId",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"title",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"size",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"rounded",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"fillMode",null),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"mask",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"value",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"rules",null),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"prompt",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"promptPlaceholder",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"includeLiterals",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"maskOnFocus",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"maskValidation",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"tabindex",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],e.prototype,"tabIndex",null),o.__decorate([i.Output("focus"),o.__metadata("design:type",i.EventEmitter)],e.prototype,"onFocus",void 0),o.__decorate([i.Output("blur"),o.__metadata("design:type",i.EventEmitter)],e.prototype,"onBlur",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.HostBinding("class.k-input"),i.HostBinding("class.k-maskedtextbox"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([i.HostBinding("class.k-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"hostDisabledClass",null),o.__decorate([i.ViewChild("input",{static:!0}),o.__metadata("design:type",i.ElementRef)],e.prototype,"input",void 0),o.__decorate([i.HostListener("paste",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],e.prototype,"pasteHandler",null),o.__decorate([i.HostListener("input",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],e.prototype,"inputHandler",null),e=t=o.__decorate([i.Component({exportAs:"kendoMaskedTextBox",providers:[c.MaskingService,{multi:!0,provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return t}))},{multi:!0,provide:r.NG_VALIDATORS,useExisting:i.forwardRef((function(){return t}))},{provide:a.KendoInput,useExisting:i.forwardRef((function(){return t}))}],selector:"kendo-maskedtextbox",template:'\n <input type="text"\n #input\n autocomplete="off"\n autocorrect="off"\n autocapitalize="off"\n spellcheck="false"\n class="k-input-inner"\n [id]="focusableId"\n [tabindex]="tabIndex"\n [attr.title]="title"\n [disabled]="disabled"\n [readonly]="readonly"\n [kendoEventsOutsideAngular]="{\n focus: handleFocus,\n blur: handleBlur,\n click: handleClick,\n dragstart: handleDragDrop,\n drop: handleDragDrop\n }"\n />\n '}),o.__param(6,i.Optional()),o.__param(6,i.Inject(s.RTL)),o.__metadata("design:paramtypes",[c.MaskingService,i.Renderer2,i.ElementRef,i.NgZone,i.Injector,i.ChangeDetectorRef,Boolean])],e)}();t.MaskedTextBoxComponent=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(44),i=n(91),r=function(e){return(e||"").split("")},a=function(){function e(e){this.parse=e}return e.prototype.run=function(e,t){return void 0===t&&(t=""),e instanceof i.Stream?this.parse(e):this.parse(new i.Stream(r(e),r(t)))},e.prototype.map=function(t){var n=this;return new e((function(e){return n.parse(e).map(t)}))},e.prototype.chain=function(t){var n=this;return new e((function(e){return n.parse(e).chain((function(e,n){return t(e).run(n)}))}))},e.prototype.isLiteral=function(e){return this.run(e).type===o.ResultType.Literal},e}();t.Parser=a,t.mask=function(e){var t=e.prompt,n=e.promptPlaceholder;return function(e){return new a((function(i){for(;!i.eof();){var r=i.peek(),a=r.char,s=r.control;if(a===s&&s===t)return i.eat(),new o.Result(t,i,o.ResultType.Mask);if(e.test(a))return i.eat(),new o.Result(a,i,o.ResultType.Mask);if(a===n)return i.eat(),new o.Result(t,i,o.ResultType.Mask);i.eat_input()}return i.eat(),new o.Result(t,i,o.ResultType.Mask)}))}},t.literal=function(e){return new a((function(t){return t.peek().char===e?(t.eat(),new o.Result(e,t,o.ResultType.Literal)):new o.Result(e,t,o.ResultType.Literal)}))},t.unmask=function(e){return function(t){return new a((function(n){for(;!n.eof();){var i=n.peek(),r=i.char,a=i.control;if(r===e&&a===e)return n.eat(),new o.Result(r,n);if(t.test(r))return n.eat(),new o.Result(r,n);n.eat_input()}return n.eat(),new o.Result("",n)}))}},t.unliteral=function(e){return new a((function(t){return t.eof()?new o.Result("",t):(t.peek().char===e&&t.eat(),new o.Result(e,t))}))},t.token=function(e,t){return new a((function(n){var i=n.next().char,r=e[i];return"\\"===i?(i=n.next().char,new o.Result(t.literal(i),n)):r?new o.Result(t.mask(r),n):new o.Result(t.literal(i),n)}))},t.rawMask=function(e){var t=e.prompt,n=e.promptPlaceholder;return new a((function(e){var i=e.next().char;return i===t?new o.Result(n,e):new o.Result(i,e)}))},t.rawLiteral=function(e){return new a((function(t){var n=t.next().char;return e?new o.Result(n,t):new o.Result("",t)}))}},function(e,t,n){"use strict";var o;Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Literal=0]="Literal",e[e.Mask=1]="Mask",e[e.Undefined=2]="Undefined"}(o=t.ResultType||(t.ResultType={}));var i=function(){function e(e,t,n){void 0===n&&(n=o.Undefined),this.value=e,this.rest=t,this.type=n}return e.prototype.map=function(t){return new e(t(this.value),this.rest)},e.prototype.chain=function(e){return e(this.value,this.rest)},e.prototype.fold=function(e,t){return e(this.value,this.rest)},e.prototype.concat=function(e){return this.map((function(t,n){return e.chain((function(e,n){return t.concat([e])}))}))},e.prototype.toString=function(){return"Result({ value: '"+this.value+"', rest: "+this.rest+" })"},e}();t.Result=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(6),a=n(46),s=n(15),l=n(3),d=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[a.SliderTicksComponent,s.LabelTemplateDirective],exports:[s.LabelTemplateDirective,a.SliderTicksComponent,l.DraggableModule,l.EventsModule,l.ResizeSensorModule],imports:[r.CommonModule,l.DraggableModule,l.EventsModule,l.ResizeSensorModule]})],e)}();t.SlidersCommonModule=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(10),a=function(e){this.value=e,this.classes={"k-tick":!0}},s=function(){function e(){this.wrapperClasses="k-reset k-slider-items",this.ticks=[]}return e.prototype.ngOnChanges=function(e){this.createTicks()},e.prototype.createTicks=function(){for(var e=r.calculateTicksCount(this.min,this.max,this.step),t=this.largeStep,n={max:this.max,min:this.min,smallStep:this.step},o=[],i=0;i<e;i++)o.push(new a(r.calculateValueFromTick(i,n))),t&&i%t==0&&(o[i].large=!0,o[i].classes["k-tick-large"]=!0);o.length>0&&(Object.assign(o[0].classes,this.endTickClasses(!0)),Object.assign(o[o.length-1].classes,this.endTickClasses(!1))),this.ticks=o},e.prototype.endTickClasses=function(e){return{"k-first":e&&!this.vertical||!e&&this.vertical,"k-last":!e&&!this.vertical||e&&this.vertical}},o.__decorate([i.HostBinding("class"),o.__metadata("design:type",String)],e.prototype,"wrapperClasses",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Function)],e.prototype,"tickTitle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"vertical",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"step",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"largeStep",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"min",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],e.prototype,"max",void 0),o.__decorate([i.Input(),o.__metadata("design:type",i.TemplateRef)],e.prototype,"labelTemplate",void 0),o.__decorate([i.ViewChildren("tickElement"),o.__metadata("design:type",i.QueryList)],e.prototype,"tickElements",void 0),e=o.__decorate([i.Component({selector:"[kendoSliderTicks]",template:'\n <li #tickElement *ngFor="let tick of ticks;"\n [ngClass]="tick.classes"\n title="{{ tickTitle(tick.value) }}"\n role="presentation"\n >\n <ng-container [ngSwitch]="tick.large">\n <span class="k-label" *ngSwitchCase="true">\n <ng-container [ngTemplateOutlet]="labelTemplate || defaultLabel" [ngTemplateOutletContext]="tick">\n </ng-container>\n </span>\n <ng-container *ngSwitchCase="false">&nbsp;</ng-container>\n </ng-container>\n </li>\n\n <ng-template #defaultLabel let-value="value">\n {{ tickTitle(value) }}\n </ng-template>\n '})],e)}();t.SliderTicksComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(48),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,t=n=o.__decorate([i.Directive({providers:[{provide:a.SliderMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"[kendoSliderLocalizedMessages]"}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.SliderMessages);t.LocalizedSliderMessagesDirective=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"decrement",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"increment",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"dragHandle",void 0),t}(n(2).ComponentMessages);t.SliderMessages=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(6),a=n(45),s=n(35),l=n(50),d=n(94),c=n(15),u=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[s.RangeSliderComponent,d.RangeSliderCustomMessagesComponent,l.LocalizedRangeSliderMessagesDirective],exports:[s.RangeSliderComponent,d.RangeSliderCustomMessagesComponent,l.LocalizedRangeSliderMessagesDirective,c.LabelTemplateDirective],imports:[r.CommonModule,a.SlidersCommonModule]})],e)}();t.RangeSliderModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(51),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,t=n=o.__decorate([i.Directive({providers:[{provide:a.RangeSliderMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"[kendoSliderLocalizedMessages]"}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.RangeSliderMessages);t.LocalizedRangeSliderMessagesDirective=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"dragHandleStart",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"dragHandleEnd",void 0),t}(n(2).ComponentMessages);t.RangeSliderMessages=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(36),a=n(6),s=n(3),l=n(53),d=n(95),c=n(3),u=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[r.SwitchComponent,d.SwitchCustomMessagesComponent,l.LocalizedSwitchMessagesDirective],exports:[r.SwitchComponent,d.SwitchCustomMessagesComponent,l.LocalizedSwitchMessagesDirective],imports:[a.CommonModule,c.EventsModule,s.ResizeSensorModule]})],e)}();t.SwitchModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(54),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,t=n=o.__decorate([i.Directive({providers:[{provide:a.Messages,useExisting:i.forwardRef((function(){return n}))}],selector:"[kendoSwitchLocalizedMessages]"}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.Messages);t.LocalizedSwitchMessagesDirective=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"on",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"off",void 0),t}(n(2).ComponentMessages);t.Messages=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(41),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,t=n=o.__decorate([i.Directive({providers:[{provide:a.NumericTextBoxMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"[kendoNumericTextBoxLocalizedMessages]"}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.NumericTextBoxMessages);t.LocalizedNumericTextBoxMessagesDirective=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(42),a=n(6),s=n(3),l=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[r.MaskedTextBoxComponent],exports:[r.MaskedTextBoxComponent],imports:[a.CommonModule,s.EventsModule]})],e)}();t.MaskedTextBoxModule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(37),a=n(58),s=n(6),l=n(3),d=n(21),c=n(22),u=n(96),p=n(61),h=n(23),f=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[r.TextBoxDirective,a.TextBoxComponent,d.TextBoxSuffixTemplateDirective,c.TextBoxPrefixTemplateDirective,u.TextBoxCustomMessagesComponent,p.LocalizedTextBoxMessagesDirective],exports:[r.TextBoxDirective,a.TextBoxComponent,d.TextBoxSuffixTemplateDirective,c.TextBoxPrefixTemplateDirective,l.EventsModule,u.TextBoxCustomMessagesComponent,p.LocalizedTextBoxMessagesDirective,h.SHARED_DIRECTIVES],imports:[s.CommonModule,l.EventsModule,h.SharedModule]})],e)}();t.TextBoxModule=f},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(59),r=n(11),a=n(5),s=n(1),l=n(8),d=n(9),c=n(11),u=n(4),p=n(3),h=n(21),f=n(22),g=n(2),m=n(59),v=function(){function e(e,t,n,o,r,a){var c=this;this.localizationService=e,this.ngZone=t,this.changeDetector=n,this.renderer=o,this.injector=r,this.hostElement=a,this.focusableId="k-"+p.guid(),this.title="",this.disabled=!1,this.readonly=!1,this.tabindex=0,this.value=null,this.selectOnFocus=!1,this.showSuccessIcon=!1,this.showErrorIcon=!1,this.clearButton=!1,this.valueChange=new s.EventEmitter,this.inputFocus=new s.EventEmitter,this.inputBlur=new s.EventEmitter,this.onFocus=new s.EventEmitter,this.onBlur=new s.EventEmitter,this.hostClasses=!0,this._isFocused=!1,this.focusChangedProgrammatically=!1,this._size="medium",this._rounded="medium",this._fillMode="solid",this.handleInputFocus=function(){c.disabled||(c.selectOnFocus&&c.value&&c.ngZone.run((function(){setTimeout((function(){c.selectAll()}))})),p.hasObservers(c.onFocus)&&(c.isFocused||c.ngZone.run((function(){c.onFocus.emit()}))),p.hasObservers(c.inputFocus)&&(!c.focusChangedProgrammatically||c.focusChangedProgrammatically&&c.clearButtonClicked)&&c.ngZone.run((function(){c.inputFocus.emit()})),c.ngZone.run((function(){c.isFocused=!0})))},this.handleInputBlur=function(){c.changeDetector.markForCheck(),(p.hasObservers(c.inputBlur)||u.requiresZoneOnBlur(c.control))&&c.ngZone.run((function(){c.ngTouched(),c.inputBlur.emit()}))},this.handleInput=function(e){var t=e.target,n=m.isSafari(navigator.userAgent),o=n&&i.isJapanese(t.value)?e.data:t.value,r=[t.selectionStart,t.selectionEnd],a=r[0],s=r[1];c.updateValue(o),n&&t.setSelectionRange(a,s)},this.ngChange=function(e){},this.ngTouched=function(){},l.validatePackage(d.packageMetadata),this.direction=e.rtl?"rtl":"ltr"}var t;return t=e,Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.handleClasses(e,"size"),this._size=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rounded",{get:function(){return this._rounded},set:function(e){this.handleClasses(e,"rounded"),this._rounded=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillMode",{get:function(){return this._fillMode},set:function(e){this.handleClasses(e,"fillMode"),this._fillMode=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabIndex",{get:function(){return this.tabindex},set:function(e){this.tabindex=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e=this;this.control=this.injector.get(a.NgControl,null),this.checkClearButton(),this.subscriptions=this.localizationService.changes.subscribe((function(t){var n=t.rtl;e.direction=n?"rtl":"ltr"}))},e.prototype.ngAfterViewInit=function(){var e=this,t=this.hostElement.nativeElement,n=!1,o=!1;this.ngZone.runOutsideAngular((function(){e.subscriptions.add(e.renderer.listen(t,"focusin",(function(){e.isFocused||e.ngZone.run((function(){e.onFocus.emit(),e.isFocused=!0}))}))),e.subscriptions.add(e.renderer.listen(t,"focusout",(function(t){e.isFocused&&(o?(r.closest(t.relatedTarget,(function(t){return t===e.hostElement.nativeElement}))||e.handleBlur(),o=!1):n||e.clearButtonClicked||e.handleBlur())}))),e.subscriptions.add(e.renderer.listen(t,"mouseenter",(function(){n=!0}))),e.subscriptions.add(e.renderer.listen(t,"mouseleave",(function(){n=!1}))),e.subscriptions.add(e.renderer.listen(t,"keydown",(function(e){o=e.keyCode===p.Keys.Tab})))}));["size","rounded","fillMode"].forEach((function(t){e.handleClasses(e[t],t)}))},e.prototype.ngOnChanges=function(e){(e.disabled||e.readonly||e.value)&&this.checkClearButton()},e.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},e.prototype.focus=function(){this.input&&(this.focusChangedProgrammatically=!0,this.isFocused=!0,this.input.nativeElement.focus(),this.focusChangedProgrammatically=!1)},e.prototype.blur=function(){this.focusChangedProgrammatically=!0;var e=this.hostElement.nativeElement.querySelector(":focus");e&&e.blur(),this.isFocused=!1,this.focusChangedProgrammatically=!1},e.prototype.clearTitle=function(){return this.localizationService.get("clear")},e.prototype.checkClearButton=function(){this.showClearButton=!this.disabled&&!this.readonly&&this.clearButton&&!!this.value},e.prototype.clearValue=function(e){e&&e.preventDefault(),this.clearButtonClicked=!0,this.input.nativeElement.value="",this.input.nativeElement.focus(),this.updateValue(""),this.checkClearButton(),this.clearButtonClicked=!1},e.prototype.writeValue=function(e){this.value=e,this.checkClearButton()},e.prototype.registerOnChange=function(e){this.ngChange=e},e.prototype.registerOnTouched=function(e){this.ngTouched=e},e.prototype.setDisabledState=function(e){this.changeDetector.markForCheck(),this.disabled=e},e.prototype.showErrorsInitial=function(){if(!this.control)return!1;var e=this.control,t=e.invalid,n=e.dirty,o=e.touched;return t&&(n||o)},e.prototype.showSuccessInitial=function(){if(!this.control)return!1;var e=this.control,t=e.valid,n=e.dirty,o=e.touched;return t&&(n||o)},Object.defineProperty(e.prototype,"successIconClasses",{get:function(){return this.successIcon?""+this.successIcon:"k-input-validation-icon k-icon k-i-check"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"errorIconClasses",{get:function(){return this.errorIcon?""+this.errorIcon:"k-input-validation-icon k-icon k-i-warning"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"clearButtonClasses",{get:function(){return this.clearButtonIcon?this.clearButtonIcon:"k-icon k-i-x"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasErrors",{get:function(){return"initial"===this.showErrorIcon?this.showErrorsInitial():this.showErrorIcon},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isSuccessful",{get:function(){return"initial"===this.showSuccessIcon?this.showSuccessInitial():this.showSuccessIcon},enumerable:!0,configurable:!0}),e.prototype.setSelection=function(e,t){this.isFocused&&c.invokeElementMethod(this.input,"setSelectionRange",e,t)},e.prototype.selectAll=function(){this.value&&this.setSelection(0,this.value.length)},e.prototype.updateValue=function(e){var t=this;u.areSame(this.value,e)||this.ngZone.run((function(){t.value=e,t.ngChange(e),t.valueChange.emit(e),t.checkClearButton(),t.changeDetector.markForCheck()}))},Object.defineProperty(e.prototype,"isFocused",{get:function(){return this._isFocused},set:function(e){if(this._isFocused!==e&&this.hostElement){var t=this.hostElement.nativeElement;e&&!this.disabled?this.renderer.addClass(t,"k-focus"):this.renderer.removeClass(t,"k-focus"),this._isFocused=e}},enumerable:!0,configurable:!0}),e.prototype.handleBlur=function(){var e=this;this.ngZone.run((function(){e.focusChangedProgrammatically||e.onBlur.emit(),e.isFocused=!1}))},e.prototype.handleClasses=function(e,t){var n=this.hostElement.nativeElement,o=u.getStylingClasses("input",t,this[t],e);o.toRemove&&this.renderer.removeClass(n,o.toRemove),o.toAdd&&this.renderer.addClass(n,o.toAdd)},o.__decorate([s.Input(),o.__metadata("design:type",String)],e.prototype,"focusableId",void 0),o.__decorate([s.Input(),o.__metadata("design:type",String)],e.prototype,"title",void 0),o.__decorate([s.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([s.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([s.Input(),o.__metadata("design:type",Number)],e.prototype,"tabindex",void 0),o.__decorate([s.Input(),o.__metadata("design:type",String)],e.prototype,"value",void 0),o.__decorate([s.Input(),o.__metadata("design:type",Boolean)],e.prototype,"selectOnFocus",void 0),o.__decorate([s.Input(),o.__metadata("design:type",Object)],e.prototype,"showSuccessIcon",void 0),o.__decorate([s.Input(),o.__metadata("design:type",Object)],e.prototype,"showErrorIcon",void 0),o.__decorate([s.Input(),o.__metadata("design:type",Boolean)],e.prototype,"clearButton",void 0),o.__decorate([s.Input(),o.__metadata("design:type",String)],e.prototype,"successIcon",void 0),o.__decorate([s.Input(),o.__metadata("design:type",String)],e.prototype,"errorIcon",void 0),o.__decorate([s.Input(),o.__metadata("design:type",String)],e.prototype,"clearButtonIcon",void 0),o.__decorate([s.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"size",null),o.__decorate([s.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"rounded",null),o.__decorate([s.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"fillMode",null),o.__decorate([s.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],e.prototype,"tabIndex",null),o.__decorate([s.Input(),o.__metadata("design:type",String)],e.prototype,"placeholder",void 0),o.__decorate([s.Input(),o.__metadata("design:type",Number)],e.prototype,"maxlength",void 0),o.__decorate([s.Output(),o.__metadata("design:type",s.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([s.Output(),o.__metadata("design:type",s.EventEmitter)],e.prototype,"inputFocus",void 0),o.__decorate([s.Output(),o.__metadata("design:type",s.EventEmitter)],e.prototype,"inputBlur",void 0),o.__decorate([s.Output("focus"),o.__metadata("design:type",s.EventEmitter)],e.prototype,"onFocus",void 0),o.__decorate([s.Output("blur"),o.__metadata("design:type",s.EventEmitter)],e.prototype,"onBlur",void 0),o.__decorate([s.ViewChild("input",{static:!0}),o.__metadata("design:type",s.ElementRef)],e.prototype,"input",void 0),o.__decorate([s.ContentChild(h.TextBoxSuffixTemplateDirective,{static:!1}),o.__metadata("design:type",h.TextBoxSuffixTemplateDirective)],e.prototype,"suffixTemplate",void 0),o.__decorate([s.ContentChild(f.TextBoxPrefixTemplateDirective,{static:!1}),o.__metadata("design:type",f.TextBoxPrefixTemplateDirective)],e.prototype,"prefixTemplate",void 0),o.__decorate([s.HostBinding("class.k-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),o.__decorate([s.HostBinding("class.k-textbox"),s.HostBinding("class.k-input"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([s.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),e=t=o.__decorate([s.Component({exportAs:"kendoTextBox",providers:[g.LocalizationService,{provide:g.L10N_PREFIX,useValue:"kendo.textbox"},{provide:a.NG_VALUE_ACCESSOR,useExisting:s.forwardRef((function(){return t})),multi:!0},{provide:p.KendoInput,useExisting:s.forwardRef((function(){return t}))}],selector:"kendo-textbox",template:'\n <ng-container kendoTextBoxLocalizedMessages\n i18n-clear="kendo.textbox.clear|The title for the **Clear** button in the TextBox."\n clear="Clear">\n </ng-container>\n <span class="k-input-prefix">\n <ng-template\n *ngIf="prefixTemplate"\n [ngTemplateOutlet]="prefixTemplate?.templateRef">\n </ng-template>\n </span>\n <input #input\n class="k-input-inner"\n [id]="focusableId"\n [disabled]="disabled"\n [readonly]="readonly"\n [attr.tabindex]="disabled ? undefined : tabindex"\n [value]="value"\n [attr.placeholder]="placeholder"\n [attr.title]="title"\n [attr.maxlength]="maxlength"\n [kendoEventsOutsideAngular]="{\n focus: handleInputFocus,\n blur: handleInputBlur,\n input: handleInput}"\n />\n <span\n role="button"\n class="k-clear-value"\n *ngIf="showClearButton"\n (click)="clearValue()"\n (mousedown)="$event.preventDefault()"\n [tabindex]="tabIndex"\n [attr.aria-label]="clearTitle()"\n [title]="clearTitle()"\n (keydown.enter)="clearValue($event)"\n (keydown.space)="clearValue($event)">\n <span [ngClass]="clearButtonClasses"></span>\n </span>\n <span *ngIf="hasErrors" [ngClass]="errorIconClasses"></span>\n <span *ngIf="isSuccessful" [ngClass]="successIconClasses"></span>\n <span class="k-input-suffix">\n <ng-template\n *ngIf="suffixTemplate"\n [ngTemplateOutlet]="suffixTemplate?.templateRef">\n </ng-template>\n </span>\n '}),o.__metadata("design:paramtypes",[g.LocalizationService,s.NgZone,s.ChangeDetectorRef,s.Renderer2,s.Injector,s.ElementRef])],e)}();t.TextBoxComponent=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(32);t.isSafari=function(e){var t=o.detectDesktopBrowser(e),n=o.detectMobileOS(e);return t&&t.safari||n&&"mobilesafari"===n.browser},t.isJapanese=function(e){return/[\u3000-\u303F]|[\u3040-\u309F]|[\u30A0-\u30FF]|[\uFF00-\uFFEF]|[\u4E00-\u9FAF]|[\u2605-\u2606]|[\u2190-\u2195]|\u203B/g.test(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"clear",void 0),t}(n(2).ComponentMessages);t.TextBoxMessages=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(60),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,t=n=o.__decorate([i.Directive({providers:[{provide:a.TextBoxMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"[kendoTextBoxLocalizedMessages]"}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.TextBoxMessages);t.LocalizedTextBoxMessagesDirective=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(){function e(){this.hostClass=!0}return o.__decorate([i.HostBinding("class.k-input-separator"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),e=o.__decorate([i.Component({selector:"kendo-input-separator, kendo-textbox-separator",template:""})],e)}();t.InputSeparatorComponent=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(6),a=n(64),s=n(3),l=n(65),d=n(23),c=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[a.TextAreaComponent,l.TextAreaSuffixComponent],exports:[a.TextAreaComponent,s.EventsModule,l.TextAreaSuffixComponent,d.SHARED_DIRECTIVES],imports:[r.CommonModule,s.EventsModule,d.SharedModule]})],e)}();t.TextAreaModule=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(7),a=n(12),s=n(5),l=n(3),d=n(2),c=n(97),u=n(4),p=n(11),h=n(11),f=n(8),g=n(9),m={vertical:"k-resize-vertical",horizontal:"k-resize-horizontal",both:"k-resize-both",none:"k-resize-none",auto:"k-resize-none"},v=function(e){function t(t,n,o,r,a,s){var d=e.call(this,t,n,o,r,a,s)||this;return d.localizationService=t,d.ngZone=n,d.changeDetector=o,d.renderer=r,d.injector=a,d.hostElement=s,d.focusableId="k-"+l.guid(),d.hostClasses=!0,d.flow="vertical",d.tabindex=0,d.resizable="vertical",d.onFocus=new i.EventEmitter,d.onBlur=new i.EventEmitter,d.valueChange=new i.EventEmitter,d._size="medium",d._rounded="medium",d._fillMode="solid",d.handleInput=function(e){var t=e.target.value;d.updateValue(t),d.resize()},d.handleInputFocus=function(){d.disabled||(d.selectOnFocus&&d.value&&d.ngZone.run((function(){setTimeout((function(){d.selectAll()}))})),l.hasObservers(d.onFocus)&&(d.isFocused||d.ngZone.run((function(){d.onFocus.emit()}))),l.hasObservers(d.inputFocus)&&(d.focusChangedProgrammatically||d.ngZone.run((function(){d.inputFocus.emit()}))),d.ngZone.run((function(){d.isFocused=!0})))},f.validatePackage(g.packageMetadata),d.direction=t.rtl?"rtl":"ltr",d}var n;return o.__extends(t,e),n=t,Object.defineProperty(t.prototype,"flowCol",{get:function(){return"vertical"===this.flow},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"flowRow",{get:function(){return"horizontal"===this.flow},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"tabIndex",{get:function(){return this.tabindex},set:function(e){this.tabindex=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"size",{get:function(){return this._size},set:function(e){this.handleClasses(e,"size"),this._size=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rounded",{get:function(){return this._rounded},set:function(e){this.handleClasses(e,"rounded"),this._rounded=e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"fillMode",{get:function(){return this._fillMode},set:function(e){this.handleClasses(e,"fillMode"),this._fillMode=e},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewInit=function(){var e=this,t=this.hostElement.nativeElement,n=!1,o=!1;this.ngZone.runOutsideAngular((function(){e.subscriptions.add(e.renderer.listen(t,"focusin",(function(){e.isFocused||e.ngZone.run((function(){e.onFocus.emit(),e.isFocused=!0}))}))),e.subscriptions.add(e.renderer.listen(t,"focusout",(function(t){e.isFocused&&(o?(h.closest(t.relatedTarget,(function(t){return t===e.hostElement.nativeElement}))||e.handleBlur(),o=!1):n||e.handleBlur())}))),e.subscriptions.add(e.renderer.listen(t,"mouseenter",(function(){n=!0}))),e.subscriptions.add(e.renderer.listen(t,"mouseleave",(function(){n=!1}))),e.subscriptions.add(e.renderer.listen(t,"keydown",(function(e){o=e.keyCode===l.Keys.Tab}))),e.handleFlow()}));["size","rounded","fillMode"].forEach((function(t){e.handleClasses(e[t],t)}))},t.prototype.ngOnInit=function(){var e=this;this.control=this.injector.get(s.NgControl,null),l.isDocumentAvailable()&&"auto"===this.resizable&&(this.resizeSubscription=r.fromEvent(window,"resize").pipe(a.debounceTime(50)).subscribe((function(){return e.resize()}))),this.hostElement&&this.renderer.removeAttribute(this.hostElement.nativeElement,"tabindex"),this.subscriptions=this.localizationService.changes.subscribe((function(t){var n=t.rtl;e.direction=n?"rtl":"ltr"}))},t.prototype.ngOnChanges=function(e){var t=this.hostElement.nativeElement,n=this.input.nativeElement;e.flow&&this.handleFlow(),e.resizable&&("auto"===this.resizable?(this.renderer.removeClass(n,"!k-overflow-y-auto"),this.initialHeight=n.offsetHeight):(this.renderer.addClass(n,"!k-overflow-y-auto"),n.style.height=this.initialHeight+"px")),e.cols&&(u.isPresent(e.cols.currentValue)?this.renderer.setStyle(t,"width","auto"):this.renderer.removeStyle(t,"width"))},t.prototype.ngAfterViewChecked=function(){this.resize()},t.prototype.writeValue=function(e){this.value=e},t.prototype.registerOnChange=function(e){this.ngChange=e},t.prototype.registerOnTouched=function(e){this.ngTouched=e},t.prototype.updateValue=function(e){var t=this;u.areSame(this.value,e)||this.ngZone.run((function(){t.value=e,t.ngChange(e),t.valueChange.emit(e),t.changeDetector.markForCheck()}))},t.prototype.ngOnDestroy=function(){e.prototype.ngOnDestroy.call(this),this.resizeSubscription&&this.resizeSubscription.unsubscribe()},Object.defineProperty(t.prototype,"resizableClass",{get:function(){return m[this.resizable]},enumerable:!0,configurable:!0}),t.prototype.focus=function(){this.input&&(this.focusChangedProgrammatically=!0,this.isFocused=!0,this.input.nativeElement.focus(),this.focusChangedProgrammatically=!1)},t.prototype.blur=function(){this.focusChangedProgrammatically=!0;var e=this.hostElement.nativeElement.querySelector(":focus");e&&e.blur(),this.isFocused=!1,this.focusChangedProgrammatically=!1},t.prototype.resize=function(){if("auto"===this.resizable){var e=this.input.nativeElement;this.renderer.setStyle(e,"height",this.initialHeight+"px");var t=e.scrollHeight;t>this.initialHeight&&(e.style.height=t+"px")}},Object.defineProperty(t.prototype,"isFocused",{get:function(){return this._isFocused},set:function(e){if(this._isFocused!==e&&this.hostElement){var t=this.hostElement.nativeElement;e&&!this.disabled?this.renderer.addClass(t,"k-focus"):this.renderer.removeClass(t,"k-focus"),this._isFocused=e}},enumerable:!0,configurable:!0}),t.prototype.handleBlur=function(){var e=this;this.ngZone.run((function(){e.focusChangedProgrammatically||e.onBlur.emit(),e.isFocused=!1}))},t.prototype.setSelection=function(e,t){this.isFocused&&p.invokeElementMethod(this.input,"setSelectionRange",e,t)},t.prototype.selectAll=function(){this.value&&this.setSelection(0,this.value.length)},t.prototype.handleClasses=function(e,t){var n=this.hostElement.nativeElement,o=u.getStylingClasses("input",t,this[t],e);o.toRemove&&this.renderer.removeClass(n,o.toRemove),o.toAdd&&this.renderer.addClass(n,o.toAdd)},t.prototype.handleFlow=function(){var e="vertical"===this.flow,t=this.hostElement.nativeElement,n=this.input.nativeElement,o=t.children[1];this.renderer[e?"addClass":"removeClass"](n,"!k-flex-none"),o&&this.renderer[e?"removeClass":"addClass"](o,"!k-align-items-start")},o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"focusableId",void 0),o.__decorate([i.HostBinding("class.k-textarea"),i.HostBinding("class.k-input"),o.__metadata("design:type",Boolean)],t.prototype,"hostClasses",void 0),o.__decorate([i.HostBinding("class.!k-flex-col"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],t.prototype,"flowCol",null),o.__decorate([i.HostBinding("class.!k-flex-row"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],t.prototype,"flowRow",null),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"flow",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"rows",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"cols",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"maxlength",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],t.prototype,"tabindex",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],t.prototype,"tabIndex",null),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"resizable",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],t.prototype,"size",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],t.prototype,"rounded",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],t.prototype,"fillMode",null),o.__decorate([i.Output("focus"),o.__metadata("design:type",i.EventEmitter)],t.prototype,"onFocus",void 0),o.__decorate([i.Output("blur"),o.__metadata("design:type",i.EventEmitter)],t.prototype,"onBlur",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],t.prototype,"valueChange",void 0),t=n=o.__decorate([i.Component({exportAs:"kendoTextArea",providers:[d.LocalizationService,{provide:d.L10N_PREFIX,useValue:"kendo.textarea"},{provide:s.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return n})),multi:!0},{provide:l.KendoInput,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-textarea",template:'\n <textarea\n #input\n [attr.aria-multiline]="true"\n [attr.aria-disabled]="disabled ? true : undefined"\n [attr.aria-readonly]="readonly ? true : undefined"\n class="k-input-inner"\n [ngClass]="resizableClass"\n [id]="focusableId"\n [value]="value"\n [attr.placeholder]="placeholder"\n [disabled]="disabled"\n [readonly]="readonly"\n [attr.rows]="rows"\n [attr.cols]="cols"\n [attr.tabindex]="tabIndex"\n [attr.title]="title"\n [attr.maxlength]="maxlength"\n [kendoEventsOutsideAngular]="{\n focus: handleInputFocus,\n blur: handleInputBlur,\n input: handleInput}">\n </textarea>\n <ng-content select="kendo-textarea-suffix"></ng-content>\n '}),o.__metadata("design:paramtypes",[d.LocalizationService,i.NgZone,i.ChangeDetectorRef,i.Renderer2,i.Injector,i.ElementRef])],t)}(c.TextFieldsBase);t.TextAreaComponent=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(){function e(){this.hostClass=!0}return o.__decorate([i.HostBinding("class.k-input-suffix"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),e=o.__decorate([i.Component({exportAs:"kendoTextAreaSuffix",selector:"kendo-textarea-suffix",template:"<ng-content></ng-content>"})],e)}();t.TextAreaSuffixComponent=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(6),a=n(67),s=n(3),l=n(19),d=n(20),c=n(68),u=n(29),p=n(28),h=n(70),f=n(71),g=n(72),m=n(24),v=n(110),_=n(74),y=n(111),b=n(112),k=n(113),C=n(114),S=[c.ColorPickerComponent,u.ColorPaletteComponent,p.ColorGradientComponent,m.FlatColorPickerComponent,_.LocalizedColorPickerMessagesDirective,v.ColorPickerCustomMessagesComponent],E=[h.ColorInputComponent,y.FocusOnDomReadyDirective,k.ContrastComponent,b.ContrastValidationComponent,f.FlatColorPickerHeaderComponent,g.FlatColorPickerActionButtonsComponent,C.ColorContrastSvgComponent],w=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[S,E],exports:[S],imports:[l.SliderModule,d.NumericTextBoxModule,r.CommonModule,a.PopupModule,s.DraggableModule]})],e)}();t.ColorPickerModule=w},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(12),r=n(1),a=n(5),s=n(7),l=n(24),d=n(67),c=n(8),u=n(3),p=n(2),h=n(9),f=n(26),g=n(27),m=n(13),v=n(4),_=n(69),y=n(14),b=["focus","blur"],k=function(){function e(e,t,n,o,i,a){var l=this;this.host=e,this.popupService=t,this.cdr=n,this.localizationService=o,this.ngZone=i,this.renderer=a,this.hostClasses=!0,this.role="listbox",this.views=["gradient","palette"],this.readonly=!1,this.disabled=!1,this.format="rgba",this.clearButton=!0,this.preview=!1,this.actionsLayout="end",this.valueChange=new r.EventEmitter,this.open=new r.EventEmitter,this.close=new r.EventEmitter,this.onFocus=new r.EventEmitter,this.onBlur=new r.EventEmitter,this.cancel=new r.EventEmitter,this.activeColorClick=new r.EventEmitter,this.activeViewChange=new r.EventEmitter,this.isFocused=!1,this._tabindex=0,this._popupSettings={animate:!0},this._paletteSettings={},this._gradientSettings={opacity:!0,delay:0},this._size="medium",this._rounded="medium",this._fillMode="solid",this.subscriptions=new s.Subscription,this.notifyNgTouched=function(){},this.notifyNgChanged=function(){},this.domFocusListener=function(e){return e.stopImmediatePropagation()},c.validatePackage(h.packageMetadata),this.dynamicRTLSubscription=this.localizationService.changes.subscribe((function(e){var t=e.rtl;l.direction=t?"rtl":"ltr"}))}var t;return t=e,Object.defineProperty(e.prototype,"focusedClass",{get:function(){return this.isFocused},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaReadonly",{get:function(){return this.readonly},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaExpanded",{get:function(){return this.isOpen},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostTabindex",{get:function(){return this.tabindex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"view",{get:function(){return this.views&&this.views.length>0?this.views[0]:null},set:function(e){this.views=[e]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"value",{get:function(){return this._value},set:function(e){this._value=m.parseColor(e,this.format,this.gradientSettings.opacity)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"popupSettings",{get:function(){return this._popupSettings},set:function(e){this._popupSettings=Object.assign(this._popupSettings,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"paletteSettings",{get:function(){return this._paletteSettings},set:function(e){this._paletteSettings=Object.assign(this._paletteSettings,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"gradientSettings",{get:function(){return this._gradientSettings},set:function(e){this._gradientSettings=Object.assign(this._gradientSettings,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"tabindex",{get:function(){return this.disabled?void 0:this._tabindex},set:function(e){var t=Number(e);this._tabindex=isNaN(t)?0:t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.handleClasses(e,"size"),this._size=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rounded",{get:function(){return this._rounded},set:function(e){this.handleClasses(e,"rounded"),this._rounded=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fillMode",{get:function(){return this._fillMode},set:function(e){this.handleClasses(e,"fillMode"),this._fillMode=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isOpen",{get:function(){return v.isPresent(this.popupRef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconStyles",{get:function(){return this.iconClass?this.iconClass:this.icon?"k-icon k-i-"+this.icon:void 0},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var e="name"!==this.format?y.DEFAULT_PRESET:y.DEFAULT_ACCESSIBLE_PRESET,t=this._paletteSettings.palette,n="string"==typeof t&&f.PALETTEPRESETS[t]?f.PALETTEPRESETS[t].columns:void 0;this._paletteSettings={palette:t||e,tileSize:this._paletteSettings.tileSize||24,columns:this._paletteSettings.columns||n||10}},e.prototype.ngAfterViewInit=function(){var e=this;["size","rounded","fillMode"].forEach((function(t){e.handleClasses(e[t],t)})),this.setHostElementAriaLabel(),this.handleHostId(),this.initDomEvents()},e.prototype.ngOnChanges=function(e){e.format&&"name"===e.format.currentValue&&(this.activeView="palette"),"gradient"===this.activeView&&this.gradientSettings.opacity&&(this.format="rgba",this.value=m.parseColor(this.value,this.format,this.gradientSettings.opacity)),u.isChanged("value",e)&&this.setHostElementAriaLabel()},e.prototype.ngOnDestroy=function(){this.closePopup(),this.dynamicRTLSubscription&&this.dynamicRTLSubscription.unsubscribe(),this.subscriptions.unsubscribe(),this.handleDomEvents("remove",b)},e.prototype.handleCancelEvent=function(e){this.cancel.emit(e)},e.prototype.togglePopup=function(){this.focus(),this.toggleWithEvents(!this.isOpen)},e.prototype.handleWrapperClick=function(e){var t=this;if(!this.disabled){if(this.focus(),u.closest(e.target,(function(e){return e===t.activeColor.nativeElement}))){var n=new g.ActiveColorClickEvent(this.value);return this.activeColorClick.emit(n),void(n.isOpenPrevented()&&!this.isOpen||this.toggleWithEvents(!this.isOpen))}this.toggleWithEvents(!this.isOpen)}},e.prototype.focus=function(){this.isFocused=!0,this.host.nativeElement.focus()},e.prototype.handleWrapperFocus=function(){var e=this;this.isFocused||this.ngZone.run((function(){e.focus(),e.onFocus.emit()}))},e.prototype.blur=function(){this.isFocused=!1,this.host.nativeElement.blur(),this.notifyNgTouched()},e.prototype.handleWrapperBlur=function(){var e=this;this.isOpen||this.ngZone.run((function(){e.onBlur.emit(),e.isFocused=!1}))},e.prototype.reset=function(){v.isPresent(this.value)&&(this._value=void 0,this.setHostElementAriaLabel(),this.notifyNgChanged(void 0))},e.prototype.toggle=function(e){this.disabled||this.readonly||(this.cdr.markForCheck(),this.closePopup(),(e=v.isPresent(e)?e:!this.isOpen)&&this.openPopup())},e.prototype.handleValueChange=function(e){var t=m.parseColor(e,this.format,this.gradientSettings.opacity);t!==this.value&&(this.value=t,this.valueChange.emit(t),this.setHostElementAriaLabel(),this.notifyNgChanged(t))},e.prototype.handlePopupBlur=function(e){this.popupBlurInvalid(e)||(this.isFocused=!1,this.onBlur.emit(),this.notifyNgTouched(),this.toggleWithEvents(!1))},e.prototype.writeValue=function(e){this.value=e},e.prototype.registerOnChange=function(e){this.notifyNgChanged=e},e.prototype.registerOnTouched=function(e){this.notifyNgTouched=e},e.prototype.setDisabledState=function(e){this.cdr.markForCheck(),this.disabled=e},e.prototype.handleWrapperKeyDown=function(e){var t=this;e.keyCode!==u.Keys.ArrowDown&&e.keyCode!==u.Keys.Enter||(e.preventDefault(),this.ngZone.run((function(){t.toggleWithEvents(!0)})))},e.prototype.handlePopupKeyDown=function(e){if(e.keyCode===u.Keys.Escape&&(this.toggleWithEvents(!1),this.host.nativeElement.focus()),e.keyCode===u.Keys.Tab){var t=e.shiftKey?this.firstFocusableElement.nativeElement:this.lastFocusableElement.nativeElement,n=e.shiftKey?this.lastFocusableElement.nativeElement:this.firstFocusableElement.nativeElement;e.target===t&&(e.preventDefault(),n.focus())}},e.prototype.isEmpty=function(){return!1},e.prototype.setHostElementAriaLabel=function(){var e=""+(this.value?this.value:this.localizationService.get("colorPickerNoColor"));this.renderer.setAttribute(this.host.nativeElement,"aria-label",e)},e.prototype.handleClasses=function(e,t){var n=this.host.nativeElement,o=v.getStylingClasses("picker",t,this[t],e);o.toRemove&&this.renderer.removeClass(n,o.toRemove),o.toAdd&&this.renderer.addClass(n,o.toAdd)},e.prototype.popupBlurInvalid=function(e){var t=this,n=this.popupRef.popupElement.contains(e.relatedTarget);return u.closest(e.relatedTarget,(function(e){return e===t.host.nativeElement}))||n},e.prototype.toggleWithEvents=function(e){var t,n=this.isOpen===e;this.disabled||this.readonly||n||(e?(t=new g.ColorPickerOpenEvent,this.open.emit(t)):(t=new g.ColorPickerCloseEvent,this.close.emit(t)),t.isDefaultPrevented()||this.toggle(e),e&&this.focusFirstElement())},e.prototype.focusFirstElement=function(){var e=this;this.ngZone.onStable.pipe(i.take(1)).subscribe((function(){if(e.flatColorPicker){var t=e.flatColorPicker.gradient;(t?t.gradientDragHandle:e.flatColorPicker.palette.host).nativeElement.focus()}}))},e.prototype.openPopup=function(){var e=this,t="rtl"===this.direction?"right":"left",n={horizontal:t,vertical:"bottom"},o={horizontal:t,vertical:"top"};this.popupRef=this.popupService.open({anchor:this.activeColor,animate:this.popupSettings.animate,appendTo:this.popupSettings.appendTo,popupAlign:o,anchorAlign:n,popupClass:"k-colorpicker-popup",content:this.popupTemplate,positionMode:"absolute"}),this.popupRef.popupAnchorViewportLeave.subscribe((function(){e.toggleWithEvents(!1),e.isOpen||e.host.nativeElement.focus({preventScroll:!0})}))},e.prototype.closePopup=function(){this.isOpen&&(this.popupRef.close(),this.popupRef=null)},Object.defineProperty(e.prototype,"firstFocusableElement",{get:function(){if(!this.flatColorPicker.header||this.views.length<=1&&!this.flatColorPicker.clearButton){var e=this.flatColorPicker.gradient;return e?e.gradientDragHandle:this.flatColorPicker.palette.host}return this.views.length>1?this.flatColorPicker.header.viewButtonsCollection.toArray()[0]:this.flatColorPicker.header.clearButtonElement},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"lastFocusableElement",{get:function(){if(this.preview)return this.flatColorPicker.footer.lastButton;if(this.flatColorPicker.palette)return this.flatColorPicker.palette.host;var e=this.flatColorPicker.gradient,t=e&&e.inputs;return e&&t&&"hex"===t.formatView?t.hexInput:this.gradientSettings.opacity?t.opacityInput.numericInput:t.blueInput},enumerable:!0,configurable:!0}),e.prototype.handleDomEvents=function(e,t){var n=this,o=this.host.nativeElement;t.forEach((function(t){return o[e+"EventListener"](t,n.domFocusListener,!0)}))},e.prototype.initDomEvents=function(){var e=this;if(this.host){var t=this.host.nativeElement;this.ngZone.runOutsideAngular((function(){e.subscriptions.add(e.renderer.listen(t,"focusin",(function(){e.handleWrapperFocus()}))),e.subscriptions.add(e.renderer.listen(t,"focusout",(function(t){var n=!!e.popupRef&&u.closest(t.relatedTarget,(function(t){return t===e.flatColorPicker.host.nativeElement})),o=u.closest(t.relatedTarget,(function(t){return t===e.host.nativeElement}));n||o||e.handleWrapperBlur()}))),e.handleDomEvents("add",b),e.subscriptions.add(e.renderer.listen(t,"keydown",(function(t){e.handleWrapperKeyDown(t)}))),e.subscriptions.add(e.renderer.listen(t,"click",(function(t){e.ngZone.run((function(){e.handleWrapperClick(t)}))})))}))}},e.prototype.handleHostId=function(){var e=this.host.nativeElement,t=e.getAttribute("id");if(t)this.focusableId=t;else{var n="k-"+u.guid();e.setAttribute("id",n),this.focusableId=n}},o.__decorate([r.HostBinding("class.k-colorpicker"),r.HostBinding("class.k-icon-picker"),r.HostBinding("class.k-picker"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([r.HostBinding("class.k-focus"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"focusedClass",null),o.__decorate([r.HostBinding("attr.aria-disabled"),r.HostBinding("class.k-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),o.__decorate([r.HostBinding("attr.aria-readonly"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"ariaReadonly",null),o.__decorate([r.HostBinding("attr.aria-expanded"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"ariaExpanded",null),o.__decorate([r.HostBinding("attr.tabindex"),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[])],e.prototype,"hostTabindex",null),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([r.HostBinding("attr.role"),o.__metadata("design:type",String)],e.prototype,"role",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Array)],e.prototype,"views",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"view",null),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"activeView",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"format",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"value",null),o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"popupSettings",null),o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"paletteSettings",null),o.__decorate([r.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],e.prototype,"gradientSettings",null),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"icon",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Object)],e.prototype,"iconClass",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"clearButton",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Number),o.__metadata("design:paramtypes",[Number])],e.prototype,"tabindex",null),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"preview",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"actionsLayout",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"size",null),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"rounded",null),o.__decorate([r.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"fillMode",null),o.__decorate([r.Output(),o.__metadata("design:type",r.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([r.Output(),o.__metadata("design:type",r.EventEmitter)],e.prototype,"open",void 0),o.__decorate([r.Output(),o.__metadata("design:type",r.EventEmitter)],e.prototype,"close",void 0),o.__decorate([r.Output("focus"),o.__metadata("design:type",r.EventEmitter)],e.prototype,"onFocus",void 0),o.__decorate([r.Output("blur"),o.__metadata("design:type",r.EventEmitter)],e.prototype,"onBlur",void 0),o.__decorate([r.Output(),o.__metadata("design:type",r.EventEmitter)],e.prototype,"cancel",void 0),o.__decorate([r.Output(),o.__metadata("design:type",r.EventEmitter)],e.prototype,"activeColorClick",void 0),o.__decorate([r.Output(),o.__metadata("design:type",r.EventEmitter)],e.prototype,"activeViewChange",void 0),o.__decorate([r.ViewChild("container",{read:r.ViewContainerRef,static:!0}),o.__metadata("design:type",r.ViewContainerRef)],e.prototype,"container",void 0),o.__decorate([r.ViewChild("activeColor",{static:!0}),o.__metadata("design:type",r.ElementRef)],e.prototype,"activeColor",void 0),o.__decorate([r.ViewChild("popupTemplate",{static:!0}),o.__metadata("design:type",r.TemplateRef)],e.prototype,"popupTemplate",void 0),o.__decorate([r.ViewChild("flatColorPicker",{static:!1}),o.__metadata("design:type",l.FlatColorPickerComponent)],e.prototype,"flatColorPicker",void 0),e=t=o.__decorate([r.Component({exportAs:"kendoColorPicker",selector:"kendo-colorpicker",providers:[{multi:!0,provide:a.NG_VALUE_ACCESSOR,useExisting:r.forwardRef((function(){return t}))},{provide:u.KendoInput,useExisting:r.forwardRef((function(){return t}))},_.ColorPickerLocalizationService,{provide:p.LocalizationService,useExisting:_.ColorPickerLocalizationService},{provide:p.L10N_PREFIX,useValue:"kendo.colorpicker"}],template:'\n <ng-container kendoColorPickerLocalizedMessages\n i18n-colorPickerNoColor="kendo.colorpicker.colorPickerNoColor|The aria-label applied to the ColorPicker component when the value is empty."\n colorPickerNoColor="Colorpicker no color chosen"\n i18n-flatColorPickerNoColor="kendo.colorpicker.flatColorPickerNoColor|The aria-label applied to the FlatColorPicker component when the value is empty."\n flatColorPickerNoColor="Flatcolorpicker no color chosen"\n i18n-colorGradientNoColor="kendo.colorpicker.colorGradientNoColor|The aria-label applied to the ColorGradient component when the value is empty."\n colorGradientNoColor="Colorgradient no color chosen"\n i18n-colorPaletteNoColor="kendo.colorpicker.colorPaletteNoColor|The aria-label applied to the ColorPalette component when the value is empty."\n colorPaletteNoColor="Colorpalette no color chosen"\n i18n-colorGradientHandle="kendo.colorpicker.colorGradientHandle|The title for the gradient color drag handle chooser."\n colorGradientHandle="Choose color"\n i18n-clearButton="kendo.colorpicker.clearButton|The title for the clear button."\n clearButton="Clear value"\n i18n-hueSliderHandle="kendo.colorpicker.hueSliderHandle|The title for the hue slider handle."\n hueSliderHandle="Set hue"\n i18n-opacitySliderHandle="kendo.colorpicker.opacitySliderHandle|The title for the opacity slider handle."\n opacitySliderHandle="Set opacity"\n i18n-contrastRatio="kendo.colorpicker.contrastRatio|The contrast ratio message for the contrast tool."\n contrastRatio="Contrast ratio"\n i18n-previewColor="kendo.colorpicker.previewColor|The message for the color preview pane."\n previewColor="Color preview"\n i18n-revertSelection="kendo.colorpicker.revertSelection|The message for the selected color pane."\n revertSelection="Revert selection"\n i18n-gradientView="kendo.colorpicker.gradientView|The message for the gradient view button."\n gradientView="Gradient view"\n i18n-paletteView="kendo.colorpicker.paletteView|The message for the palette view button."\n paletteView="Palette view"\n i18n-formatButton="kendo.colorpicker.formatButton|The message for the input format toggle button."\n formatButton="Change color format"\n i18n-applyButton="kendo.colorpicker.applyButton|The message for the Apply action button."\n applyButton="Apply"\n i18n-cancelButton="kendo.colorpicker.cancelButton|The message for the Cancel action button."\n cancelButton="Cancel">\n </ng-container>\n <span #activeColor class="k-input-inner">\n <span\n class="k-value-icon k-color-preview"\n [ngClass]="{\'k-icon-color-preview\': iconStyles, \'k-no-color\': !value}">\n <span *ngIf="iconClass || icon" class="k-color-preview-icon k-icon" [ngClass]="iconStyles"></span>\n <span class="k-color-preview-mask" [style.background-color]="value"></span>\n </span>\n </span>\n <button\n tabindex="-1"\n type="button"\n class="k-input-button k-button k-button-md k-button-solid k-button-solid-base k-icon-button">\n <span class="k-button-icon k-icon k-i-arrow-s"></span>\n </button>\n <ng-template #popupTemplate>\n <kendo-flatcolorpicker\n #flatColorPicker\n [value]="value"\n [format]="format"\n [views]="views"\n [activeView]="activeView"\n [actionsLayout]="actionsLayout"\n [preview]="preview"\n [gradientSettings]="gradientSettings"\n [paletteSettings]="paletteSettings"\n [clearButton]="clearButton"\n (cancel)="handleCancelEvent($event)"\n (focusout)="handlePopupBlur($event)"\n (valueChange)="handleValueChange($event)"\n (keydown)="handlePopupKeyDown($event)"\n (activeViewChange)="activeViewChange.emit($event)"\n (actionButtonClick)="togglePopup()">\n </kendo-flatcolorpicker>\n </ng-template>\n <ng-container #container></ng-container>\n '}),o.__metadata("design:paramtypes",[r.ElementRef,d.PopupService,r.ChangeDetectorRef,p.LocalizationService,r.NgZone,r.Renderer2])],e)}();t.ColorPickerComponent=k},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=function(e){function t(t,n,o){return e.call(this,t,n,o)||this}return o.__extends(t,e),t=o.__decorate([o.__param(0,i.Inject(r.L10N_PREFIX)),o.__param(1,i.Optional()),o.__param(2,i.Optional()),o.__param(2,i.Inject(r.RTL)),o.__metadata("design:paramtypes",[String,r.MessageService,Boolean])],t)}(r.LocalizationService);t.ColorPickerLocalizationService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(13),a=n(4),s=n(3),l=n(7),d=n(2),c=n(18),u=function(){function e(e,t,n){this.host=e,this.renderer=t,this.localizationService=n,this.focusableId="k-"+s.guid(),this.opacity=!0,this.disabled=!1,this.readonly=!1,this.valueChange=new i.EventEmitter,this.colorInputClass=!0,this.rgba={},this.subscriptions=new l.Subscription}return Object.defineProperty(e.prototype,"isFocused",{get:function(){if(!s.isDocumentAvailable()||!a.isPresent(this.host))return!1;var e=document.activeElement;return this.host.nativeElement.contains(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rgbaInputValid",{get:function(){var e=this;return Object.keys(this.rgba).every((function(t){return a.isPresent(e.rgba[t])}))},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.initDomEvents()},e.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe()},e.prototype.ngOnChanges=function(e){a.isPresent(e.value)&&!this.isFocused&&(this.hex=r.parseColor(this.value,"hex",this.opacity),this.rgba=r.getRGBA(this.value),this.rgba.a=r.parseColor(this.value,"rgba",this.opacity)?this.rgba.a:1)},Object.defineProperty(e.prototype,"formatButtonTitle",{get:function(){return this.localizationService.get("formatButton")},enumerable:!0,configurable:!0}),e.prototype.handleRgbaValueChange=function(){var e=r.getColorFromRGBA(this.rgba);this.rgbaInputValid&&e!==this.value&&(this.value=e,this.rgba=r.getRGBA(this.value),this.hex=r.parseColor(e,"hex",this.opacity),this.valueChange.emit(e))},e.prototype.handleHexValueChange=function(e){this.hex=e;var t=r.parseColor(e,"rgba",this.opacity);a.isPresent(t)&&t!==this.value&&(this.value=t,this.rgba=r.getRGBA(t),this.valueChange.emit(t))},e.prototype.handleRgbaInputBlur=function(){this.rgbaInputValid||(this.rgba=r.getRGBA(this.value))},e.prototype.handleHexInputBlur=function(){this.hex=r.parseColor(this.value,"hex",this.opacity)},e.prototype.toggleFormatView=function(){this.formatView="hex"===this.formatView?"rgba":"hex"},e.prototype.initDomEvents=function(){var e=this;this.host&&this.subscriptions.add(this.renderer.listen(this.toggleFormatButton.nativeElement,"click",(function(){return e.toggleFormatView()})))},o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"focusableId",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"formatView",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"value",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"opacity",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"valueChange",void 0),o.__decorate([i.HostBinding("class.k-colorgradient-inputs"),i.HostBinding("class.k-hstack"),o.__metadata("design:type",Boolean)],e.prototype,"colorInputClass",void 0),o.__decorate([i.ViewChild("opacityInput",{static:!1}),o.__metadata("design:type",c.NumericTextBoxComponent)],e.prototype,"opacityInput",void 0),o.__decorate([i.ViewChild("hexInput",{read:i.ElementRef,static:!1}),o.__metadata("design:type",i.ElementRef)],e.prototype,"hexInput",void 0),o.__decorate([i.ViewChild("blueInput",{read:i.ElementRef,static:!1}),o.__metadata("design:type",i.ElementRef)],e.prototype,"blueInput",void 0),o.__decorate([i.ViewChild("toggleFormatButton",{static:!1}),o.__metadata("design:type",i.ElementRef)],e.prototype,"toggleFormatButton",void 0),e=o.__decorate([i.Component({selector:"kendo-colorinput",template:'\n <div class="k-vstack">\n <button #toggleFormatButton\n class="k-colorgradient-toggle-mode k-button k-button-md k-button-flat k-button-flat-base k-icon-button"\n [attr.aria-label]="formatButtonTitle"\n [attr.title]="formatButtonTitle"\n type="button"\n >\n <span class="k-button-icon k-icon k-i-arrows-kpi"></span>\n </button>\n </div>\n <div *ngIf="formatView === \'hex\'" class="k-vstack">\n <input\n #hexInput\n [id]="focusableId"\n class="k-input k-textbox k-input-solid k-input-md k-rounded-md k-hex-value"\n [disabled]="disabled"\n [readonly]="readonly"\n [value]="hex || \'\'"\n (blur)="handleHexInputBlur()"\n (input)="handleHexValueChange(hexInput.value)"\n />\n <label [for]="focusableId" class="k-colorgradient-input-label">HEX</label>\n </div>\n <ng-container *ngIf="formatView === \'rgba\'">\n <div class="k-vstack">\n <kendo-numerictextbox\n #red\n [disabled]="disabled"\n [readonly]="readonly"\n [min]="0"\n [max]="255"\n [(value)]="rgba.r"\n [autoCorrect]="true"\n [spinners]="false"\n [format]="\'n\'"\n [decimals]="0"\n (blur)="handleRgbaInputBlur()"\n (valueChange)="handleRgbaValueChange()">\n </kendo-numerictextbox>\n <label [for]="red.focusableId" class="k-colorgradient-input-label">R</label>\n </div>\n <div class="k-vstack">\n <kendo-numerictextbox\n #green\n [disabled]="disabled"\n [readonly]="readonly"\n [min]="0"\n [max]="255"\n [(value)]="rgba.g"\n [autoCorrect]="true"\n [spinners]="false"\n [format]="\'n\'"\n [decimals]="0"\n (blur)="handleRgbaInputBlur()"\n (valueChange)="handleRgbaValueChange()">\n </kendo-numerictextbox>\n <label [for]="green.focusableId" class="k-colorgradient-input-label">G</label>\n </div>\n <div class="k-vstack">\n <kendo-numerictextbox\n #blue\n [disabled]="disabled"\n [readonly]="readonly"\n [min]="0"\n [max]="255"\n [(value)]="rgba.b"\n [autoCorrect]="true"\n [spinners]="false"\n [format]="\'n\'"\n [decimals]="0"\n (blur)="handleRgbaInputBlur()"\n (valueChange)="handleRgbaValueChange()">\n </kendo-numerictextbox>\n <label [for]="blue.focusableId" class="k-colorgradient-input-label">B</label>\n </div>\n <div class="k-vstack" *ngIf="opacity">\n <kendo-numerictextbox #opacityInput\n #alpha\n [disabled]="disabled"\n [readonly]="readonly"\n [min]="0"\n [max]="1"\n [(value)]="rgba.a"\n [autoCorrect]="true"\n [spinners]="false"\n [step]="0.01"\n [format]="\'n2\'"\n [decimals]="2"\n (blur)="handleRgbaInputBlur()"\n (valueChange)="handleRgbaValueChange()">\n </kendo-numerictextbox>\n <label [for]="alpha.focusableId" class="k-colorgradient-input-label">A</label>\n </div>\n </ng-container>\n '}),o.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,d.LocalizationService])],e)}();t.ColorInputComponent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=function(){function e(e){this.localizationService=e,this.hostClasses=!0,this.viewChange=new i.EventEmitter,this.valuePaneClick=new i.EventEmitter,this.clearButtonClick=new i.EventEmitter}return e.prototype.onViewButtonClick=function(e){this.activeView=e,this.viewChange.emit(e)},Object.defineProperty(e.prototype,"viewButtons",{get:function(){return this.views&&this.views.indexOf("gradient")>=0&&this.views.indexOf("palette")>=0},enumerable:!0,configurable:!0}),e.prototype.getViewButtonIcon=function(e){return"gradient"===e?"k-i-color-canvas":"k-i-palette"},e.prototype.getText=function(e){return this.localizationService.get(e)},o.__decorate([i.HostBinding("class.k-coloreditor-header"),i.HostBinding("class.k-hstack"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"clearButton",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"activeView",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Array)],e.prototype,"views",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],e.prototype,"preview",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"value",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"selection",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"viewChange",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"valuePaneClick",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"clearButtonClick",void 0),o.__decorate([i.ViewChildren("viewButtons",{read:i.ElementRef}),o.__metadata("design:type",i.QueryList)],e.prototype,"viewButtonsCollection",void 0),o.__decorate([i.ViewChild("clearButton",{read:i.ElementRef,static:!1}),o.__metadata("design:type",i.ElementRef)],e.prototype,"clearButtonElement",void 0),e=o.__decorate([i.Component({selector:"[kendoFlatColorPickerHeader]",template:'\n <div class="k-coloreditor-header-actions k-hstack">\n <div *ngIf="viewButtons" class="k-button-group k-button-group-flat">\n <button *ngFor="let view of views"\n #viewButtons\n type="button"\n (click)="onViewButtonClick(view)"\n class="k-button k-button-md k-button-flat k-button-flat-base k-icon-button"\n [attr.title]="getText(view === \'gradient\' ? \'gradientView\' : \'paletteView\')"\n [attr.aria-label]="getText(view === \'gradient\' ? \'gradientView\' : \'paletteView\')"\n [attr.aria-pressed]="activeView === view"\n [ngClass]="activeView === view ? \'k-state-selected\' : \'\'"\n >\n <span\n class="k-button-icon k-icon"\n [ngClass]="getViewButtonIcon(view)">\n </span>\n </button>\n </div>\n </div>\n <div class="k-spacer"></div>\n <div class="k-coloreditor-header-actions k-hstack">\n <button *ngIf="clearButton"\n #clearButton\n type="button"\n class="k-button k-button-md k-button-flat k-button-flat-base k-icon-button k-coloreditor-reset"\n [attr.aria-label]="getText(\'clearButton\')"\n [attr.title]="getText(\'clearButton\')"\n (click)="clearButtonClick.emit()">\n <span class="k-button-icon k-icon k-i-reset-color"></span>\n </button>\n <div class="k-coloreditor-preview k-vstack" *ngIf="preview">\n <span\n class="k-coloreditor-preview-color k-color-preview"\n [attr.title]="getText(\'previewColor\')"\n [style.background-color]="selection">\n </span>\n <span class="k-coloreditor-current-color k-color-preview"\n [style.background-color]="value"\n [attr.title]="getText(\'revertSelection\')"\n (click)="valuePaneClick.emit($event)">\n </span>\n </div>\n </div>\n '}),o.__metadata("design:paramtypes",[r.LocalizationService])],e)}();t.FlatColorPickerHeaderComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=function(){function e(e){this.localizationService=e,this.hostClasses=!0,this.actionButtonClick=new i.EventEmitter}return e.prototype.getText=function(e){return this.localizationService.get(e)},e.prototype.onActionButtonClick=function(e,t){var n={target:e,originalEvent:t};this.actionButtonClick.emit(n)},o.__decorate([i.HostBinding("class.k-coloreditor-footer"),i.HostBinding("class.k-actions"),i.HostBinding("class.k-hstack"),o.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],e.prototype,"actionButtonClick",void 0),o.__decorate([i.ViewChild("last",{read:i.ElementRef,static:!1}),o.__metadata("design:type",i.ElementRef)],e.prototype,"lastButton",void 0),e=o.__decorate([i.Component({selector:"[kendoFlatColorPickerActionButtons]",template:'\n <button\n class="k-coloreditor-cancel k-button k-button-md k-button-solid k-button-solid-base"\n [attr.title]="getText(\'cancelButton\')"\n (click)="onActionButtonClick(\'cancel\', $event)"\n type="button"\n >{{getText(\'cancelButton\')}}</button>\n <button #last\n class="k-coloreditor-apply k-button k-button-md k-button-solid k-button-solid-primary"\n [attr.title]="getText(\'applyButton\')"\n (click)="onActionButtonClick(\'apply\', $event)"\n type="button"\n >{{getText(\'applyButton\')}}</button>\n '}),o.__metadata("design:paramtypes",[r.LocalizationService])],e)}();t.FlatColorPickerActionButtonsComponent=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"colorPaletteNoColor",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"colorGradientNoColor",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"flatColorPickerNoColor",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"colorPickerNoColor",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"colorGradientHandle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"clearButton",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"hueSliderHandle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"opacitySliderHandle",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"hexInputPlaceholder",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"redInputPlaceholder",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"greenInputPlaceholder",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"blueInputPlaceholder",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"alphaInputPlaceholder",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"passContrast",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"failContrast",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"contrastRatio",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"previewColor",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"revertSelection",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"gradientView",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"paletteView",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"formatButton",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"applyButton",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],t.prototype,"cancelButton",void 0),t}(n(2).ComponentMessages);t.ColorPickerMessages=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(73),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,t=n=o.__decorate([i.Directive({providers:[{provide:a.ColorPickerMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"[kendoColorPickerLocalizedMessages], [kendoFlatColorPickerLocalizedMessages], [kendoColorGradientLocalizedMessages], [kendoColorPaletteLocalizedMessages]"}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.ColorPickerMessages);t.LocalizedColorPickerMessagesDirective=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(76),a=n(6),s=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[r.CheckBoxDirective],exports:[r.CheckBoxDirective],imports:[a.CommonModule]})],e)}();t.CheckBoxModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(4),a=function(){function e(e,t){this.renderer=e,this.hostElement=t,this.kendoClass=!0,this._size="medium",this._rounded="medium"}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.handleClasses(e,"size"),this._size=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rounded",{get:function(){return this._rounded},set:function(e){this.handleClasses(e,"rounded"),this._rounded=e},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;["size","rounded"].forEach((function(t){e.handleClasses(e[t],t)}))},e.prototype.handleClasses=function(e,t){var n=this.hostElement.nativeElement,o=r.getStylingClasses("checkbox",t,this[t],e);o.toRemove&&this.renderer.removeClass(n,o.toRemove),o.toAdd&&this.renderer.addClass(n,o.toAdd)},o.__decorate([i.HostBinding("class.k-checkbox"),o.__metadata("design:type",Boolean)],e.prototype,"kendoClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"size",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"rounded",null),e=o.__decorate([i.Directive({selector:"input[kendoCheckBox]"}),o.__metadata("design:paramtypes",[i.Renderer2,i.ElementRef])],e)}();t.CheckBoxDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(78),a=n(6),s=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[r.RadioButtonDirective],exports:[r.RadioButtonDirective],imports:[a.CommonModule]})],e)}();t.RadioButtonModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(8),a=n(4),s=n(9),l=function(){function e(e,t){this.renderer=e,this.hostElement=t,this.kendoClass=!0,this._size="medium",r.validatePackage(s.packageMetadata)}return Object.defineProperty(e.prototype,"size",{get:function(){return this._size},set:function(e){this.handleClasses(e,"size"),this._size=e},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){var e=this;["size"].forEach((function(t){e.handleClasses(e[t],t)}))},e.prototype.handleClasses=function(e,t){var n=this.hostElement.nativeElement,o=a.getStylingClasses("radio",t,this[t],e);o.toRemove&&this.renderer.removeClass(n,o.toRemove),o.toAdd&&this.renderer.addClass(n,o.toAdd)},o.__decorate([i.HostBinding("class.k-radio"),o.__metadata("design:type",Boolean)],e.prototype,"kendoClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],e.prototype,"size",null),e=o.__decorate([i.Directive({selector:"input[kendoRadioButton]"}),o.__metadata("design:paramtypes",[i.Renderer2,i.ElementRef])],e)}();t.RadioButtonDirective=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(6),a=n(80),s=n(31),l=n(30),d=function(){function e(){}return e=o.__decorate([i.NgModule({declarations:[s.HintComponent,l.ErrorComponent,a.FormFieldComponent],exports:[s.HintComponent,l.ErrorComponent,a.FormFieldComponent],imports:[r.CommonModule]})],e)}();t.FormFieldModule=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(5),a=n(7),s=n(3),l=n(2),d=n(8),c=n(9),u=n(30),p=n(31),h=function(){function e(e,t,n){var o=this;this.renderer=e,this.localizationService=t,this.hostElement=n,this.hostClass=!0,this.showHints="initial",this.orientation="vertical",this.showErrors="initial",this.subscriptions=new a.Subscription,this.rtl=!1,d.validatePackage(c.packageMetadata),this.subscriptions.add(this.localizationService.changes.subscribe((function(e){var t=e.rtl;o.rtl=t,o.direction=o.rtl?"rtl":"ltr"})))}return Object.defineProperty(e.prototype,"errorClass",{get:function(){return!!this.control&&(this.control.invalid&&(this.control.touched||this.control.dirty))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabledClass",{get:function(){return!!this.control&&(!this.isRadioControl(this.control)&&(this.disabledControl()||this.disabledElement()||this.disabledKendoInput()))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"formControls",{set:function(e){this.validateFormControl(e),this.control=e.first},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontal",{get:function(){return"horizontal"===this.orientation},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasHints",{get:function(){return"always"===this.showHints||this.showHintsInitial()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasErrors",{get:function(){return"always"===this.showErrors||this.showErrorsInitial()},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setDescription()},e.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},e.prototype.disabledKendoInput=function(){return this.kendoInput&&this.kendoInput.disabled},e.prototype.disabledControl=function(){return this.control.disabled},e.prototype.disabledElement=function(){return this.controlElementRefs.toArray().every((function(e){return e.nativeElement.hasAttribute("disabled")}))},e.prototype.validateFormControl=function(e){if(i.isDevMode()&&1!==e.length&&!this.isControlGroup(e))throw new Error("The `kendo-formfield` component should contain only one control of type NgControl with a formControlName(https://angular.io/api/forms/FormControlName)or an ngModel(https://angular.io/api/forms/NgModel) binding.")},e.prototype.isControlGroup=function(e){var t=this;if(!e.length)return!1;var n=e.first.name;return e.toArray().every((function(e){return e.name===n&&t.isRadioControl(e)}))},e.prototype.isRadioControl=function(e){return e.valueAccessor instanceof r.RadioControlValueAccessor},e.prototype.updateDescription=function(){var e=this,t=this.findControlElements();t&&t.forEach((function(t){if(e.errorChildren.length>0||e.hintChildren.length>0){var n=e.generateDescriptionIds(t);e.renderer.setAttribute(t,"aria-describedby",n)}}))},e.prototype.findControlElements=function(){if(this.controlElementRefs)return this.kendoInput&&this.kendoInput.focusableId&&s.isDocumentAvailable()?[this.hostElement.nativeElement.querySelector("#"+this.kendoInput.focusableId)]:this.controlElementRefs.map((function(e){return e.nativeElement}))},e.prototype.generateDescriptionIds=function(e){var t=new Set;e.hasAttribute("aria-describedby")&&e.getAttribute("aria-describedby").split(" ").forEach((function(e){e.includes("kendo-hint-")||e.includes("kendo-error-")||t.add(e)}));return this.hintChildren.forEach((function(e){t.add(e.id)})),this.errorChildren.forEach((function(e){t.add(e.id)})),Array.from(t).join(" ")},e.prototype.showHintsInitial=function(){if(!this.control)return!0;var e=this.control,t=e.valid,n=e.untouched,o=e.pristine;return t||n&&o},e.prototype.showErrorsInitial=function(){if(!this.control)return!1;var e=this.control,t=e.invalid,n=e.dirty,o=e.touched;return t&&(n||o)},e.prototype.setDescription=function(){var e=this;this.updateDescription(),this.subscriptions.add(this.errorChildren.changes.subscribe((function(){return e.updateDescription()}))),this.subscriptions.add(this.hintChildren.changes.subscribe((function(){return e.updateDescription()})))},o.__decorate([i.HostBinding("class.k-form-field"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),o.__decorate([i.HostBinding("class.k-form-field-error"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"errorClass",null),o.__decorate([i.HostBinding("class.k-form-field-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),o.__decorate([i.ContentChildren(r.NgControl,{descendants:!0}),o.__metadata("design:type",i.QueryList),o.__metadata("design:paramtypes",[i.QueryList])],e.prototype,"formControls",null),o.__decorate([i.ContentChildren(r.NgControl,{read:i.ElementRef,descendants:!0}),o.__metadata("design:type",i.QueryList)],e.prototype,"controlElementRefs",void 0),o.__decorate([i.ContentChild(s.KendoInput,{static:!0}),o.__metadata("design:type",Object)],e.prototype,"kendoInput",void 0),o.__decorate([i.ContentChildren(u.ErrorComponent,{descendants:!0}),o.__metadata("design:type",i.QueryList)],e.prototype,"errorChildren",void 0),o.__decorate([i.ContentChildren(p.HintComponent,{descendants:!0}),o.__metadata("design:type",i.QueryList)],e.prototype,"hintChildren",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"showHints",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"orientation",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"showErrors",void 0),e=o.__decorate([i.Component({selector:"kendo-formfield",template:'\n <ng-content select="label, kendo-label"></ng-content>\n <div [class.k-form-field-wrap]="horizontal">\n <ng-content></ng-content>\n <ng-content select="kendo-formhint" *ngIf="hasHints"></ng-content>\n <ng-content select="kendo-formerror" *ngIf="hasErrors"></ng-content>\n </div>\n ',providers:[l.LocalizationService,{provide:l.L10N_PREFIX,useValue:"kendo.formfield"}]}),o.__metadata("design:paramtypes",[i.Renderer2,l.LocalizationService,i.ElementRef])],e)}();t.FormFieldComponent=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(16);t.SliderComponent=i.SliderComponent;var r=n(35);t.RangeSliderComponent=r.RangeSliderComponent;var a=n(15);t.LabelTemplateDirective=a.LabelTemplateDirective;var s=n(36);t.SwitchComponent=s.SwitchComponent;var l=n(37);t.TextBoxDirective=l.TextBoxDirective;var d=n(38);t.TextAreaDirective=d.TextAreaDirective;var c=n(18);t.NumericTextBoxComponent=c.NumericTextBoxComponent;var u=n(40);t.NumericTextBoxCustomMessagesComponent=u.NumericTextBoxCustomMessagesComponent;var p=n(42);t.MaskedTextBoxComponent=p.MaskedTextBoxComponent;var h=n(92);t.InputsModule=h.InputsModule;var f=n(46);t.SliderTicksComponent=f.SliderTicksComponent;var g=n(19);t.SliderModule=g.SliderModule;var m=n(49);t.RangeSliderModule=m.RangeSliderModule;var v=n(52);t.SwitchModule=v.SwitchModule;var _=n(20);t.NumericTextBoxModule=_.NumericTextBoxModule;var y=n(56);t.MaskedTextBoxModule=y.MaskedTextBoxModule;var b=n(57);t.TextBoxModule=b.TextBoxModule;var k=n(63);t.TextAreaModule=k.TextAreaModule;var C=n(75);t.CheckBoxModule=C.CheckBoxModule;var S=n(77);t.RadioButtonModule=S.RadioButtonModule;var E=n(68);t.ColorPickerComponent=E.ColorPickerComponent;var w=n(29);t.ColorPaletteComponent=w.ColorPaletteComponent;var x=n(28);t.ColorGradientComponent=x.ColorGradientComponent;var P=n(66);t.ColorPickerModule=P.ColorPickerModule,o.__exportStar(n(27),t);var I=n(24);t.FlatColorPickerComponent=I.FlatColorPickerComponent;var O=n(76);t.CheckBoxDirective=O.CheckBoxDirective;var B=n(78);t.RadioButtonDirective=B.RadioButtonDirective;var T=n(31);t.HintComponent=T.HintComponent;var R=n(30);t.ErrorComponent=R.ErrorComponent;var M=n(80);t.FormFieldComponent=M.FormFieldComponent;var V=n(79);t.FormFieldModule=V.FormFieldModule;var D=n(58);t.TextBoxComponent=D.TextBoxComponent;var A=n(22);t.TextBoxPrefixTemplateDirective=A.TextBoxPrefixTemplateDirective;var j=n(21);t.TextBoxSuffixTemplateDirective=j.TextBoxSuffixTemplateDirective;var z=n(64);t.TextAreaComponent=z.TextAreaComponent;var F=n(65);t.TextAreaSuffixComponent=F.TextAreaSuffixComponent;var H=n(62);t.InputSeparatorComponent=H.InputSeparatorComponent;var N=n(23);t.SharedModule=N.SharedModule;var L=n(74);t.LocalizedColorPickerMessagesDirective=L.LocalizedColorPickerMessagesDirective;var Z=n(55);t.LocalizedNumericTextBoxMessagesDirective=Z.LocalizedNumericTextBoxMessagesDirective;var G=n(61);t.LocalizedTextBoxMessagesDirective=G.LocalizedTextBoxMessagesDirective;var K=n(47);t.LocalizedSliderMessagesDirective=K.LocalizedSliderMessagesDirective;var W=n(50);t.LocalizedRangeSliderMessagesDirective=W.LocalizedRangeSliderMessagesDirective;var U=n(53);t.LocalizedSwitchMessagesDirective=U.LocalizedSwitchMessagesDirective},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(10),r=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.positionHandle=function(e){var t=this.props,n=t.max,o=t.min,r=t.reverse,a=t.vertical?"bottom":"left",s=this.trackWidth(),l=i.trimValue(n,o,this.props.value);this.handlePosition=i.calculateHandlePosition({min:o,max:n,reverse:r,value:l,trackWidth:s}),this.renderer.setStyle(e,a,this.handlePosition+"px")},t.prototype.positionSelection=function(e){var t=this.props,n=t.reverse,o=t.vertical?"height":"width",i=this.handlePosition;n&&(i=this.trackWidth()-i),this.renderer.setStyle(e,o,i+"px")},t}(n(33).SliderModelBase);t.SliderModel=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(10),r=n(10),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.positionHandle=function(e){if(e.id){var t=this.props,n=t.max,o=t.min,a=t.reverse,s=t.vertical?"bottom":"left",l=this.trackWidth(),d=i.isStartHandle(e)?r.trimValueRange(n,o,this.props.value)[0]:r.trimValueRange(n,o,this.props.value)[1];i.isStartHandle(e)?(this.startHandlePosition=r.calculateHandlePosition({min:o,max:n,reverse:a,value:d,trackWidth:l}),this.renderer.setStyle(e,s,this.startHandlePosition+"px")):(this.endHandlePosition=r.calculateHandlePosition({min:o,max:n,reverse:a,value:d,trackWidth:l}),this.renderer.setStyle(e,s,this.endHandlePosition+"px"))}},t.prototype.positionSelection=function(e,t){var n=this.props,o=n.reverse,i=n.vertical,r=i?"height":"width",a=i?"bottom":o?"right":"left",s=Math.abs(this.endHandlePosition-this.startHandlePosition),l=i?e.style.bottom:e.style.left;this.renderer.setStyle(t,r,s+"px"),this.renderer.setStyle(t,a,o?this.trackWidth()-parseFloat(l)+"px":parseFloat(l)+"px")},t}(n(33).SliderModelBase);t.RangeSliderModel=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4);t.createMaxValidator=function(e){return function(t){return!o.isPresent(e)||!o.isPresent(t.value)||t.value<=e?null:{maxError:{maxValue:e,value:t.value}}}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(4);t.createMinValidator=function(e){return function(t){return!o.isPresent(e)||!o.isPresent(t.value)||t.value>=e?null:{minError:{minValue:e,value:t.value}}}}},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(39);t.numericRegex=function(e){var t,n=e.autoCorrect,i=e.decimals,r=e.min,a=e.separator;return a===o.POINT&&(a="\\"+a),t=0===i?"\\d*":"(?:(?:\\d+("+a+"\\d*)?)|(?:"+a+"\\d*))?",new RegExp("^"+(n&&null!==r&&r>=0?"":"-?")+t+"$")},t.decimalPart=function(e){return e>=0?Math.floor(e):Math.ceil(e)},t.noop=function(e){},t.defined=function(e){return void 0!==e},t.isNumber=function(e){return!isNaN(e)&&null!==e},t.pad=function(e,t){var n=t-String(e).length,o=e;if(n>0){var i=new Array(n+1).join("0");o=parseFloat(e+i)}return o},t.getDeltaFromMouseWheel=function(e){var t=0;return e.wheelDelta?t=(t=e.wheelDelta/120)>0?Math.ceil(t):Math.floor(t):e.detail&&(t=Math.round(-e.detail/3)),t},t.getCaretPosition=function(e){return e.selectionStart},t.extractSignificantNumericChars=function(e,t){var n=t+"0123456789-";return e.split("").reduce((function(e,t){return n.includes(t)?++e:e}),0)},t.isRightClick=function(e){var t=e.button&&2===e.button,n=e.which&&3===e.which;return t||n}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Down=-1]="Down",e[e.None=0]="None",e[e.Up=1]="Up"}(t.ArrowDirection||(t.ArrowDirection={}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(90),a=n(43),s=function(){function e(){this.rules={},this.prompt="_",this.mask="",this.promptPlaceholder=" ",this.includeLiterals=!1,this.maskTokens=[],this.unmaskTokens=[],this.rawTokens=[],this.validationTokens=[]}return e.prototype.update=function(e){var t=e.mask,n=void 0===t?"":t,o=e.prompt,i=void 0===o?"":o,r=e.promptPlaceholder,a=void 0===r?" ":r,s=e.rules,l=void 0===s?{}:s,d=e.includeLiterals,c=void 0!==d&&d;this.mask=n,this.prompt=i,this.promptPlaceholder=a,this.rules=l,this.includeLiterals=c,this.tokenize()},e.prototype.validationValue=function(e){void 0===e&&(e="");var t=e;return r.sequence(this.validationTokens).run(e).fold((function(e){t=e.join("")})),t},e.prototype.rawValue=function(e){void 0===e&&(e="");var t=e;return this.rawTokens.length?(r.sequence(this.rawTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskRaw=function(e){void 0===e&&(e="");var t=e;return this.maskTokens.length?(r.sequence(this.maskTokens).run(e).fold((function(e){t=e.join("")})),t):t},e.prototype.maskInput=function(e,t,n){return e.length<t.length?this.maskRemoved(e,t,n):this.maskInserted(e,t,n)},e.prototype.maskInRange=function(e,t,n,o){var i="",a=o,s=t.split("").slice(0,n),l=t.split("").slice(o);return r.sequence(this.maskTokens.slice(n,o)).run(e).fold((function(e){i=s.concat(e).concat(l).join("")})),{selection:a,value:i}},e.prototype.maskRemoved=function(e,t,n){var o=this,i="",a=n,s=e.split("").slice(n),l=e.split("").slice(0,n).join(""),d=this.maskTokens.length-(e.length-n);return r.sequence(this.maskTokens.slice(0,d)).run(l,t).fold((function(e){a=o.adjustPosition(e,a),i=e.concat(s).join("")})),{selection:a,value:i}},e.prototype.adjustPosition=function(e,t){var n=e[t];return this.maskTokens[t].isLiteral(n)||n===this.prompt?t:t+1},e.prototype.maskInserted=function(e,t,n){var o=this,i="",a=n,s=e.slice(0,n);return r.sequence(this.unmaskTokens).run(s,t).chain((function(e){a=e.join("").length;var n=t.slice(a);return r.sequence(o.maskTokens).run(e.join("")+n,t)})).fold((function(e){i=e.join("")})),{selection:a,value:i}},Object.defineProperty(e.prototype,"maskTokenCreator",{get:function(){var e=this.prompt,t=this.promptPlaceholder;return{literal:function(e){return a.literal(e)},mask:function(n){return a.mask({prompt:e,promptPlaceholder:t})(n)}}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"unmaskTokenCreator",{get:function(){var e=this;return{literal:function(e){return a.unliteral(e)},mask:function(t){return a.unmask(e.prompt)(t)}}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"rawTokenCreator",{get:function(){var e=this.prompt,t=this.promptPlaceholder,n=this.includeLiterals;return{literal:function(e){return a.rawLiteral(n)},mask:function(n){return a.rawMask({prompt:e,promptPlaceholder:t})}}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"validationTokenCreator",{get:function(){var e=this.prompt;return{literal:function(e){return a.rawLiteral(!1)},mask:function(t){return a.rawMask({prompt:e,promptPlaceholder:""})}}},enumerable:!0,configurable:!0}),e.prototype.tokenize=function(){var e=this;r.greedy(a.token(this.rules,this.maskTokenCreator)).run(this.mask).fold((function(t,n){e.maskTokens=t})),r.greedy(a.token(this.rules,this.unmaskTokenCreator)).run(this.mask).fold((function(t,n){e.unmaskTokens=t})),r.greedy(a.token(this.rules,this.rawTokenCreator)).run(this.mask).fold((function(t,n){e.rawTokens=t})),r.greedy(a.token(this.rules,this.validationTokenCreator)).run(this.mask).fold((function(t,n){e.validationTokens=t}))},e=o.__decorate([i.Injectable()],e)}();t.MaskingService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(43),i=n(44);t.sequence=function(e){return e.reduce((function(e,t){return n=t,e.chain((function(e){return n.map((function(t){return e.concat([t])}))}));var n}),(t=[],new o.Parser((function(e){return new i.Result(t,e)}))));var t},t.greedy=function(e){return new o.Parser((function(t){for(var n=new i.Result([],t);!t.eof();)n=n.concat(e.run(t));return n}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){void 0===e&&(e=[]),void 0===t&&(t=[]),this.input=e,this.control=t,this.inputCursor=0,this.controlCursor=0}return e.prototype.eof=function(){return this.inputCursor>=this.input.length},e.prototype.next=function(){return{char:this.input[this.inputCursor++],control:this.control[this.controlCursor++]}},e.prototype.peek=function(){return{char:this.input[this.inputCursor],control:this.control[this.controlCursor]}},e.prototype.eat_input=function(){this.inputCursor++},e.prototype.eat_control=function(){this.controlCursor++},e.prototype.eat=function(){this.inputCursor++,this.controlCursor++},e}();t.Stream=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(19),a=n(49),s=n(52),l=n(20),d=n(56),c=n(57),u=n(63),p=n(6),h=n(66),f=n(75),g=n(77),m=n(79),v=function(){function e(){}return e=o.__decorate([i.NgModule({exports:[u.TextAreaModule,c.TextBoxModule,r.SliderModule,a.RangeSliderModule,s.SwitchModule,l.NumericTextBoxModule,d.MaskedTextBoxModule,h.ColorPickerModule,f.CheckBoxModule,g.RadioButtonModule,m.FormFieldModule],imports:[p.CommonModule]})],e)}();t.InputsModule=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(48),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,Object.defineProperty(t.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),t=n=o.__decorate([i.Component({providers:[{provide:a.SliderMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-slider-messages",template:""}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.SliderMessages);t.SliderCustomMessagesComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(51),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,Object.defineProperty(t.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),t=n=o.__decorate([i.Component({providers:[{provide:a.RangeSliderMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-rangeslider-messages",template:""}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.RangeSliderMessages);t.RangeSliderCustomMessagesComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(54),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,Object.defineProperty(t.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),t=n=o.__decorate([i.Component({providers:[{provide:a.Messages,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-switch-messages",template:""}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.Messages);t.SwitchCustomMessagesComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(60),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,Object.defineProperty(t.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),t=n=o.__decorate([i.Component({providers:[{provide:a.TextBoxMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-textbox-messages",template:""}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.TextBoxMessages);t.TextBoxCustomMessagesComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(7),r=n(1),a=n(4),s=n(3),l=function(){function e(e,t,n,o,l,d){var c=this;this.localizationService=e,this.ngZone=t,this.changeDetector=n,this.renderer=o,this.injector=l,this.hostElement=d,this.title="",this.disabled=!1,this.readonly=!1,this.value=null,this.selectOnFocus=!1,this.inputFocus=new r.EventEmitter,this.inputBlur=new r.EventEmitter,this.subscriptions=new i.Subscription,this._isFocused=!1,this.focusChangedProgrammatically=!1,this.handleInputBlur=function(){c.changeDetector.markForCheck(),(s.hasObservers(c.inputBlur)||a.requiresZoneOnBlur(c.control))&&c.ngZone.run((function(){c.ngTouched(),c.inputBlur.emit()}))},this.ngChange=function(e){},this.ngTouched=function(){}}return Object.defineProperty(e.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},e.prototype.setDisabledState=function(e){this.changeDetector.markForCheck(),this.disabled=e},o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"title",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"readonly",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"value",void 0),o.__decorate([r.Input(),o.__metadata("design:type",Boolean)],e.prototype,"selectOnFocus",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],e.prototype,"placeholder",void 0),o.__decorate([r.Output(),o.__metadata("design:type",r.EventEmitter)],e.prototype,"inputFocus",void 0),o.__decorate([r.Output(),o.__metadata("design:type",r.EventEmitter)],e.prototype,"inputBlur",void 0),o.__decorate([r.ViewChild("input",{static:!0}),o.__metadata("design:type",r.ElementRef)],e.prototype,"input",void 0),o.__decorate([r.HostBinding("class.k-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],e.prototype,"disabledClass",null),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String)],e.prototype,"direction",void 0),e}();t.TextFieldsBase=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(14),a=n(26),s=function(){function e(){}return e.prototype.getPaletteSettings=function(e,t){var n="name"!==t?r.DEFAULT_PRESET:r.DEFAULT_ACCESSIBLE_PRESET,o=e.palette,i="string"==typeof o&&a.PALETTEPRESETS[o]?a.PALETTEPRESETS[o].columns:void 0;return{palette:o||n,tileSize:e.tileSize||24,columns:e.columns||i||10}},e.prototype.paletteTileLayout=function(e){return"number"==typeof e?{width:e,height:e}:{width:e.width?e.width:e.height,height:e.height?e.height:e.width}},e=o.__decorate([i.Injectable()],e)}();t.FlatColorPickerService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PALETTEPRESETS={basic:{colors:"000000,7f7f7f,880015,ed1c24,ff7f27,fff200,22b14c,00a2e8,3f48cc,a349a4,ffffff,c3c3c3,b97a57,ffaec9,ffc90e,efe4b0,b5e61d,99d9ea,7092be,c8bfe7",columns:10},office:{colors:"ffffff, 000000, e6e6e6, 435569, 4371c4, ed7e32, a5a4a5, febf04, 5a9bd5, 71ae48, f2f2f3, 7f7f7f, d1cece, d5dde3, dae1f4, fce5d4, deeded, fff2cc, deeaf6, e1efd9, d7d8d8, 585959, aeabab, adbaca, b4c5e7, f6caac, dbdbdb, ffe498, bcd6ee, c5e0b2, bfbfc0, 3f3f3f, 767070, 8595b1, 8fabdb, f5b183, c9c8c9, fed965, 9bc4e5, a8d08d, a5a5a6, 262625, 393939, 334050, 2e5496, c45a11, 7b7b7a, bf9000, 2f75b5, 548235, 7f7f7f, 0b0c0c, 161616, 222a34, 203764, 843d0b, 525252, 7f6000, 1d4d79, 375623",columns:10},apex:{colors:"ffffff, 000000, c9c2d1, 69676d, ceb966, 9cb084, 6bb1c9, 6585cf, 7e6bc9, a379bb, f2f2f2, 7f7f7f, f4f2f5, e0e0e2, f5f1e0, ebefe6, e1eff4, e0e6f5, e5e1f4, ece4f1, d8d8d8, 595959, e9e6ec, c2c1c5, ebe3c1, d7dfcd, c3dfe9, c1ceeb, cbc3e9, dac9e3, bfbfbf, 3f3f3f, dedae3, a4a3a8, e1d5a3, c3cfb5, a6d0de, a2b5e2, b1a6de, c7aed6, a5a5a5, 262626, 9688a5, 4e4d51, ae9638, 758c5a, 3d8da9, 365bb0, 533da9, 7d4d99, 7f7f7f, 0c0c0c, 635672, 343336, 746425, 4e5d3c, 295e70, 243c75, 372970, 533366",columns:10},austin:{colors:"ffffff, 000000, caf278, 3e3d2d, 94c600, 71685a, ff6700, 909465, 956b43, fea022, f2f2f2, 7f7f7f, f4fce4, dddcd0, efffc0, e3e1dc, ffe0cb, e8e9df, ece1d6, feecd2, d8d8d8, 595959, e9f9c9, bbb9a1, dfff82, c8c3ba, ffc299, d2d4c0, dac3ad, fed9a6, bfbfbf, 3f3f3f, dff7ae, ada598, cfff43, ada598, ffa365, bcbfa1, c8a585, fec67a, a5a5a5, 262626, a9ea25, 2e2d21, 6f9400, 544e43, bf4d00, 6c6f4b, 6f5032, d77b00, 7f7f7f, 0c0c0c, 74a50f, 1f1e16, 4a6300, 38342d, 7f3300, 484a32, 4a3521, 8f5200",columns:10},clarity:{colors:"ffffff, 292934, f3f2dc, d2533c, 93a299, ad8f67, 726056, 4c5a6a, 808da0, 79463d, f2f2f2, e7e7ec, e7e5b9, f6dcd8, e9ecea, eee8e0, e4dedb, d8dde3, e5e8ec, e9d6d3, d8d8d8, c4c4d1, d5d185, edbab1, d3d9d6, ded2c2, c9beb8, b2bcc8, ccd1d9, d3aea7, bfbfbf, 8a8aa3, aca73b, e4978a, bec7c1, cdbba3, af9e94, 8c9bac, b2bac6, bd857c, a5a5a5, 56566e, 56531d, a43925, 6b7c72, 866b48, 554840, 39434f, 5c697b, 5a342d, 7f7f7f, 3b3b4b, 22210b, 6d2619, 47534c, 594730, 39302b, 262d35, 3d4652, 3c231e",columns:10},slipstream:{colors:"ffffff, 000000, b4dcfa, 212745, 4e67c8, 5eccf3, a7ea52, 5dceaf, ff8021, f14124, f2f2f2, 7f7f7f, 8bc9f7, c7cce4, dbe0f4, def4fc, edfadc, def5ef, ffe5d2, fcd9d3, d8d8d8, 595959, 4facf3, 909aca, b8c2e9, beeafa, dbf6b9, beebdf, ffcca6, f9b3a7, bfbfbf, 3f3f3f, 0d78c9, 5967af, 94a3de, 9ee0f7, caf297, 9de1cf, ffb279, f68d7b, a5a5a5, 262626, 063c64, 181d33, 31479f, 11b2eb, 81d319, 34ac8b, d85c00, c3260c, 7f7f7f, 0c0c0c, 021828, 101322, 202f6a, 0b769c, 568c11, 22725c, 903d00, 821908",columns:10},metro:{colors:"ffffff, 000000, d6ecff, 4e5b6f, 7fd13b, ea157a, feb80a, 00addc, 738ac8, 1ab39f, f2f2f2, 7f7f7f, a7d6ff, d9dde4, e5f5d7, fad0e4, fef0cd, c5f2ff, e2e7f4, c9f7f1, d8d8d8, 595959, 60b5ff, b3bcca, cbecb0, f6a1c9, fee29c, 8be6ff, c7d0e9, 94efe3, bfbfbf, 3f3f3f, 007dea, 8d9baf, b2e389, f272af, fed46b, 51d9ff, aab8de, 5fe7d5, a5a5a5, 262626, 003e75, 3a4453, 5ea226, af0f5b, c58c00, 0081a5, 425ea9, 138677, 7f7f7f, 0c0c0c, 00192e, 272d37, 3f6c19, 750a3d, 835d00, 00566e, 2c3f71, 0c594f",columns:10},flow:{colors:"ffffff, 000000, dbf5f9, 04617b, 0f6fc6, 009dd9, 0bd0d9, 10cf9b, 7cca62, a5c249, f2f2f2, 7f7f7f, b2e9f2, b4ecfc, c7e2fa, c4eeff, c9fafc, c9faed, e4f4df, edf2da, d8d8d8, 595959, 76d9e8, 6adafa, 90c6f6, 89deff, 93f5f9, 94f6db, cae9c0, dbe6b6, bfbfbf, 3f3f3f, 21b2c8, 20c8f7, 59a9f2, 4fceff, 5df0f6, 5ff2ca, b0dfa0, c9da91, a5a5a5, 262626, 105964, 02485c, 0b5394, 0075a2, 089ca2, 0b9b74, 54a838, 7e9532, 7f7f7f, 0c0c0c, 062328, 01303d, 073763, 004e6c, 05686c, 07674d, 387025, 546321",columns:10},hardcover:{colors:"ffffff, 000000, ece9c6, 895d1d, 873624, d6862d, d0be40, 877f6c, 972109, aeb795, f2f2f2, 7f7f7f, e1dca5, f2e0c6, f0d0c9, f6e6d5, f5f2d8, e7e5e1, fbc7bc, eef0e9, d8d8d8, 595959, d0c974, e6c28d, e2a293, eeceaa, ece5b2, cfccc3, f78f7a, dee2d4, bfbfbf, 3f3f3f, a29a36, daa454, d4735e, e6b681, e2d88c, b7b2a5, f35838, ced3bf, a5a5a5, 262626, 514d1b, 664515, 65281a, a2641f, a39428, 655f50, 711806, 879464, 7f7f7f, 0c0c0c, 201e0a, 442e0e, 431b11, 6c4315, 6d621a, 433f35, 4b1004, 5a6243",columns:10},trek:{colors:"ffffff, 000000, fbeec9, 4e3b30, f0a22e, a5644e, b58b80, c3986d, a19574, c17529, f2f2f2, 7f7f7f, f7e09e, e1d6cf, fcecd5, eddfda, f0e7e5, f3eae1, ece9e3, f5e3d1, d8d8d8, 595959, f3cc5f, c4ad9f, f9d9ab, dcc0b6, e1d0cc, e7d5c4, d9d4c7, ebc7a3, bfbfbf, 3f3f3f, d29f0f, a78470, f6c781, cba092, d2b9b2, dbc1a7, c6bfab, e1ac76, a5a5a5, 262626, 694f07, 3a2c24, c87d0e, 7b4b3a, 926255, a17242, 7b7153, 90571e, 7f7f7f, 0c0c0c, 2a1f03, 271d18, 855309, 523226, 614138, 6b4c2c, 524b37, 603a14",columns:10},verve:{colors:"ffffff, 000000, d2d2d2, 666666, ff388c, e40059, 9c007f, 68007f, 005bd3, 00349e, f2f2f2, 7f7f7f, bdbdbd, e0e0e0, ffd7e8, ffc6dc, ffb8f1, f1b2ff, c3dcff, b8cfff, d8d8d8, 595959, 9d9d9d, c1c1c1, ffafd1, ff8eba, ff71e4, e365ff, 87baff, 72a0ff, bfbfbf, 3f3f3f, 696969, a3a3a3, ff87ba, ff5597, ff2ad7, d519ff, 4b98ff, 2b71ff, a5a5a5, 262626, 343434, 4c4c4c, e90062, ab0042, 75005f, 4e005f, 00449e, 002676, 7f7f7f, 0c0c0c, 151515, 333333, 9b0041, 72002c, 4e003f, 34003f, 002d69, 00194f",columns:10},monochrome:{colors:"000000, 1a1a1a, 333333, 4d4d4d, 666666, 808080, 999999, b3b3b3, cccccc, e6e6e6, f2f2f2, ffffff",columns:12},accessible:{colors:"black, grey, darkred, red, darkorange, gold, green, blue, darkblue, purple, white, darkgrey, saddlebrown, pink, orange, yellow, lightgreen, lightskyblue, lightblue, mediumpurple",columns:10}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=function(e){function t(t){var n=e.call(this)||this;return n.originalEvent=t,n}return o.__extends(t,e),t}(n(3).PreventableEvent);t.ColorPickerCancelEvent=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t}(n(3).PreventableEvent);t.ColorPickerCloseEvent=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t}(n(3).PreventableEvent);t.ColorPickerOpenEvent=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e){this.color=e,this.openPrevented=!1}return e.prototype.preventOpen=function(){this.openPrevented=!0},e.prototype.isOpenPrevented=function(){return this.openPrevented},e}();t.ActiveColorClickEvent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(105),i=n(4);function r(e,t){if(e=e.toLowerCase().trim(),i.isPresent(o.namedColors[e]))return e;o.parseColor(e,t)&&(e=o.parseColor(e,t).toHex());var n=Object.keys(o.namedColors).find((function(t){return o.namedColors[t]===e}));if(!n&&!t)throw new Error("The provided color "+e+" is not supported for 'format=\"name\"' property.To display "+e+" color, the component 'format' property should be set to 'hex' or 'rgba' ");return n}t.parseColor=function(e,n,a,s){void 0===a&&(a=!1),void 0===s&&(s=!0);if(-1===["hex","rgba","name"].indexOf(n))throw new Error("Unsupported color output format '"+n+"'. The available options are 'hex', 'rgba' or 'name'.");if(i.isPresent(e)){if("name"===n)return r(e,s);var l=o.parseColor(e.trim(),s);if(i.isPresent(l))return"hex"===n?t.getHexValue(l,a):l.toCssRgba()}},t.getHSV=function(e,t){void 0===t&&(t=!0);var n=o.parseColor(e,t);return i.isPresent(n)?n.toHSV():{}},t.getRGBA=function(e,t){void 0===t&&(t=!0);var n=o.parseColor(e,t);return i.isPresent(n)?n.toBytes():{}},t.getColorFromHSV=function(e,n,r){void 0===n&&(n="rgba"),void 0===r&&(r=!1);var a=i.fitIntoBounds(e.h,0,359.9),s=i.fitIntoBounds(e.s,0,1),l=i.fitIntoBounds(e.v,0,1),d=i.fitIntoBounds(e.a,0,1),c=o.Color.fromHSV(a,s,l,d);return"hex"===n?t.getHexValue(c,r):c.toCssRgba()},t.getHexValue=function(e,t){return t&&e.a<1?e.toCss({alpha:!0}):e.toCss()},t.getColorFromHue=function(e){return t.getColorFromHSV({h:e,s:1,v:1,a:1})},t.getColorFromRGBA=function(e){var t=i.fitIntoBounds(e.r,0,255),n=i.fitIntoBounds(e.g,0,255),r=i.fitIntoBounds(e.b,0,255),a=i.fitIntoBounds(e.a,0,1);return o.Color.fromBytes(t,n,r,a).toCssRgba()},t.nameFormat=r,t.getRGBFromRGBA=function(e,t){var n=i.fitIntoBounds(e.r,0,255),o=i.fitIntoBounds(e.g,0,255),r=i.fitIntoBounds(e.b,0,255),a=i.fitIntoBounds(e.a,0,1),s=i.fitIntoBounds(t.r,0,255),l=i.fitIntoBounds(t.g,0,255),d=i.fitIntoBounds(t.b,0,255);return{r:Math.round((1-a)*s+a*n),g:Math.round((1-a)*l+a*o),b:Math.round((1-a)*d+a*r)}},t.getLuminance=function(e){var t=[e.r,e.g,e.b].map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*t[0]+.7152*t[1]+.0722*t[2]},t.getContrast=function(e,t){return(Math.max(e,t)+.05)/(Math.min(e,t)+.05)},t.getContrastFromTwoRGBAs=function(e,n){return t.getContrast(t.getLuminance(t.getRGBFromRGBA(e,n)),t.getLuminance(t.getRGBFromRGBA(n,{r:0,g:0,b:0,a:1})))}},function(e,t){e.exports=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bezierCommand=function(e){return function(t,n,o){var i=e(o[n-1],o[n-2],t),r=i[0],a=i[1],s=e(t,o[n-1],o[n+1],!0);return"C "+r+","+a+" "+s[0]+","+s[1]+" "+t[0]+","+t[1]}},t.controlPoint=function(e){return function(t,n,o,i){var r=e(n||t,o||t),a=r.angle+(i?Math.PI:0),s=.1*r.length;return[t[0]+Math.cos(a)*s,t[1]+Math.sin(a)*s]}},t.line=function(e,t){var n=t[0]-e[0],o=t[1]-e[1];return{length:Math.sqrt(Math.pow(n,2)+Math.pow(o,2)),angle:Math.atan2(o,n)}},t.d=function(e,t){return 0===e.length?"":e.reduce((function(e,n,o,i){return 0===o?"M "+n[0]+","+n[1]:e+" "+t(n,o,i)}),"")},t.svgPath=function(e,t){return 0===e.length?"":e.reduce((function(e,n,o,i){return 0===o?"M "+n[0]+","+n[1]:e+" "+t(n,o,i)}),"")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(25),s=function(e){function t(t,n,o,i){var r=e.call(this,t,n,o)||this;return r.flatColorPickerLocalization=i,r}return o.__extends(t,e),t.prototype.get=function(t){return this.flatColorPickerLocalization?this.flatColorPickerLocalization.get(t):e.prototype.get.call(this,t)},t=o.__decorate([o.__param(0,i.Inject(r.L10N_PREFIX)),o.__param(1,i.Optional()),o.__param(2,i.Optional()),o.__param(2,i.Inject(r.RTL)),o.__param(3,i.Optional()),o.__param(3,i.Inject(a.FlatColorPickerLocalizationService)),o.__metadata("design:paramtypes",[String,r.MessageService,Boolean,a.FlatColorPickerLocalizationService])],t)}(r.LocalizationService);t.ColorGradientLocalizationService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(25),s=function(e){function t(t,n,o,i){var r=e.call(this,t,n,o)||this;return r.flatColorPickerLocalization=i,r}return o.__extends(t,e),t.prototype.get=function(t){return this.flatColorPickerLocalization?this.flatColorPickerLocalization.get(t):e.prototype.get.call(this,t)},t=o.__decorate([o.__param(0,i.Inject(r.L10N_PREFIX)),o.__param(1,i.Optional()),o.__param(2,i.Optional()),o.__param(2,i.Inject(r.RTL)),o.__param(3,i.Optional()),o.__param(3,i.Inject(a.FlatColorPickerLocalizationService)),o.__metadata("design:paramtypes",[String,r.MessageService,Boolean,a.FlatColorPickerLocalizationService])],t)}(r.LocalizationService);t.ColorPaletteLocalizationService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(4),a=function(){function e(){this.colorRows=[]}return e.prototype.setColorMatrix=function(e,t){if(this.colorRows=[],r.isPresent(e)&&e.length){t=t||e.length;for(var n=0;n<e.length;n+=t){var o=e.slice(n,t+n);this.colorRows.push(o)}}},e.prototype.getCellCoordsFor=function(e){if(r.isPresent(e))for(var t=0;t<this.colorRows.length;t++)for(var n=0;n<this.colorRows[t].length;n++)if(this.colorRows[t][n]===e)return{row:t,col:n}},e.prototype.getColorAt=function(e){if(r.isPresent(e)&&r.isPresent(this.colorRows[e.row]))return this.colorRows[e.row][e.col]},e.prototype.getNextCell=function(e,t,n){if(!(r.isPresent(e)&&r.isPresent(e.row)&&r.isPresent(e.col)))return{row:0,col:0};var o=this.clampIndex(e.row+n,this.colorRows.length-1);return{row:o,col:this.clampIndex(e.col+t,this.colorRows[o].length-1)}},e.prototype.clampIndex=function(e,t){return e<0?0:e>t?t:e},e=o.__decorate([i.Injectable()],e)}();t.ColorPaletteService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(73),s=function(e){function t(t){var n=e.call(this)||this;return n.service=t,n}var n;return o.__extends(t,e),n=t,Object.defineProperty(t.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),t=n=o.__decorate([i.Component({providers:[{provide:a.ColorPickerMessages,useExisting:i.forwardRef((function(){return n}))}],selector:"kendo-colorpicker-messages, kendo-flatcolorpicker-messages, kendo-colorgradient-messages, kendo-colorpalette-messages",template:""}),o.__metadata("design:paramtypes",[r.LocalizationService])],t)}(a.ColorPickerMessages);t.ColorPickerCustomMessagesComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=function(){function e(e,t){this.host=e,this.ngZone=t}return e.prototype.ngAfterContentInit=function(){this.focusOnNextTick()},e.prototype.focusOnNextTick=function(){var e=this;this.ngZone.runOutsideAngular((function(){return setTimeout((function(){return e.host.nativeElement.focus()}))}))},e=o.__decorate([i.Directive({selector:"[kendoFocusOnDomReady]"}),o.__metadata("design:paramtypes",[i.ElementRef,i.NgZone])],e)}();t.FocusOnDomReadyDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(14),r=n(2),a=n(1),s=function(){function e(e){this.localization=e}return Object.defineProperty(e.prototype,"passMessage",{get:function(){return this.localization.get("passContrast")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"failMessage",{get:function(){return this.localization.get("failContrast")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contrastText",{get:function(){var e="AA"===this.type?i.AA_RATIO:i.AAA_RATIO;return this.type+": "+e.toFixed(1)},enumerable:!0,configurable:!0}),o.__decorate([a.Input(),o.__metadata("design:type",String)],e.prototype,"type",void 0),o.__decorate([a.Input(),o.__metadata("design:type",Boolean)],e.prototype,"pass",void 0),o.__decorate([a.Input(),o.__metadata("design:type",String)],e.prototype,"value",void 0),e=o.__decorate([a.Component({selector:"[kendoContrastValidation]",template:'\n <span>{{contrastText}}</span>\n <ng-container *ngIf="value">\n <span class="k-contrast-validation k-text-success" *ngIf="pass">\n {{passMessage}}\n <span class="k-icon k-i-check"></span>\n </span>\n <span class="k-contrast-validation k-text-error" *ngIf="!pass">\n {{failMessage}}\n <span class="k-icon k-i-close"></span>\n </span>\n </ng-container>\n '}),o.__metadata("design:paramtypes",[r.LocalizationService])],e)}();t.ContrastValidationComponent=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(2),a=n(13),s=n(14),l=function(){function e(e){this.localization=e}return Object.defineProperty(e.prototype,"formatedRatio",{get:function(){return this.contrastRatio.toFixed(2)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contrastRatioText",{get:function(){return this.localization.get("contrastRatio")+": "+(this.value?this.formatedRatio:"n/a")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"satisfiesAACondition",{get:function(){return this.contrastRatio>=s.AA_RATIO},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"satisfiesAAACondition",{get:function(){return this.contrastRatio>=s.AAA_RATIO},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contrastRatio",{get:function(){return a.getContrastFromTwoRGBAs(a.getRGBA(this.value),a.getRGBA(this.ratio))},enumerable:!0,configurable:!0}),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"value",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"ratio",void 0),e=o.__decorate([i.Component({selector:"[kendoContrastTool]",template:'\n <div class="k-contrast-ratio">\n <span class="k-contrast-ratio-text">{{contrastRatioText}}</span>\n <ng-container *ngIf="value">\n <span class="k-contrast-validation k-text-success" *ngIf="satisfiesAACondition">\n <span class="k-icon k-i-check"></span>\n <span class="k-icon k-i-check" *ngIf="satisfiesAAACondition"></span>\n </span>\n <span class="k-contrast-validation k-text-error" *ngIf="!satisfiesAACondition">\n <span class="k-icon k-i-close"></span>\n </span>\n </ng-container>\n </div>\n <div kendoContrastValidation\n type="AA"\n [value]="value"\n [pass]="satisfiesAACondition">\n </div>\n <div kendoContrastValidation\n type="AAA"\n [value]="value"\n [pass]="satisfiesAAACondition">\n </div>\n '}),o.__metadata("design:paramtypes",[r.LocalizationService])],e)}();t.ContrastComponent=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(0),i=n(1),r=n(7),a=n(4),s=n(14),l=n(13),d=function(){function e(){this.hostClass=!0}return e.prototype.ngAfterViewInit=function(){var e=this;this.metrics=this.wrapper.getBoundingClientRect(),this.oldA=this.hsva.value.a,this.oldH=this.hsva.value.h,this.hsva.subscribe((function(t){t.h===e.oldH&&t.a===e.oldA||(e.oldH=t.h,e.oldA=t.a,e.setPaths())}))},e.prototype.ngOnChanges=function(e){a.isPresent(e.backgroundColor)&&this.metrics&&this.setPaths()},e.prototype.setPaths=function(){var e=l.bezierCommand(l.controlPoint(l.line));this.paths=[l.svgPath(this.getPaths(s.AA_RATIO,s.STEP_COUNT),e),l.svgPath(this.getPaths(s.AA_RATIO,s.STEP_COUNT,!0),e),l.svgPath(this.getPaths(s.AAA_RATIO,s.STEP_COUNT),e),l.svgPath(this.getPaths(s.AAA_RATIO,s.STEP_COUNT,!0),e)]},e.prototype.findValue=function(e,t,n,o,i){var r=(n+o)/2,a=Object.assign({},this.hsva.value,{s:t/this.metrics.width,v:1-r/this.metrics.height}),s=l.getContrastFromTwoRGBAs(l.getRGBA(l.getColorFromHSV(a)),l.getRGBA(this.backgroundColor||""));return n+.5>o?s<e+1&&s>e-1?r:null:i(s,e)?this.findValue(e,t,n,o-(o-n)/2,i):this.findValue(e,t,n+(o-n)/2,o,i)},e.prototype.getPaths=function(e,t,n){void 0===n&&(n=!1);for(var o=[],i=0;i<=this.metrics.width;i+=this.metrics.width/t){var r=this.findValue(e,i,0,this.metrics.height,n?function(e,t){return e<t}:function(e,t){return e>t});null!==r&&o.push([i,r])}return o},o.__decorate([i.HostBinding("class.k-color-contrast-svg"),o.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object)],e.prototype,"wrapper",void 0),o.__decorate([i.Input(),o.__metadata("design:type",r.BehaviorSubject)],e.prototype,"hsva",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],e.prototype,"backgroundColor",void 0),e=o.__decorate([i.Component({selector:"[kendoColorContrastSvg]",template:'\n <svg:path *ngFor="let path of paths" [attr.d]="path" fill="none" stroke="white" stroke-width="1"></svg:path>\n '})],e)}();t.ColorContrastSvgComponent=d}])}));