@taiga-ui/kit 2.74.0 → 2.76.0

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 (963) hide show
  1. package/abstract/input-slider.d.ts +2 -2
  2. package/abstract/slider/slider.d.ts +1 -1
  3. package/bundles/taiga-ui-kit-abstract.umd.js +46 -1
  4. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-accordion.umd.js +59 -14
  7. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-action.umd.js +54 -9
  10. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-arrow.umd.js +47 -2
  13. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-avatar.umd.js +59 -14
  16. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-badge.umd.js +62 -19
  19. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-badge.umd.min.js +1 -1
  21. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-badged-content.umd.js +66 -21
  23. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +54 -9
  26. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +48 -3
  29. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +50 -5
  32. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +1 -1
  34. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-carousel.umd.js +69 -33
  36. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +1 -1
  38. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +56 -10
  40. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +1 -1
  42. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +50 -5
  44. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-checkbox.umd.js +49 -4
  47. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-combo-box.umd.js +55 -10
  50. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +48 -3
  53. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-field-error.umd.js +51 -6
  56. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-files.umd.js +66 -21
  59. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-filter.umd.js +49 -4
  62. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-input-copy.umd.js +56 -10
  65. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
  67. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-input-count.umd.js +62 -17
  69. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +1 -1
  71. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +60 -15
  73. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  74. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +62 -17
  76. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-date.umd.js +56 -11
  79. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-input-file.umd.js +80 -35
  82. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-input-files.umd.js +61 -16
  85. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-input-inline.umd.js +50 -5
  88. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +53 -8
  91. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-input-month.umd.js +51 -6
  94. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-number.umd.js +72 -27
  97. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +1 -1
  99. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-password.umd.js +52 -7
  101. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +59 -14
  104. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-phone.umd.js +77 -32
  107. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  109. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-range.umd.js +62 -17
  111. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-input-slider.umd.js +62 -15
  114. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input-tag.umd.js +68 -23
  117. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-input-time.umd.js +54 -9
  120. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-input.umd.js +51 -6
  123. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-island.umd.js +64 -19
  126. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +54 -9
  129. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  131. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +52 -7
  132. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +51 -4
  135. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  137. package/bundles/taiga-ui-kit-components-multi-select.umd.js +60 -15
  138. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-pagination.umd.js +53 -8
  141. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  142. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  143. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +54 -9
  144. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-progress.umd.js +69 -24
  147. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  148. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  149. package/bundles/taiga-ui-kit-components-push.umd.js +60 -15
  150. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-components-push.umd.min.js +1 -1
  152. package/bundles/taiga-ui-kit-components-push.umd.min.js.map +1 -1
  153. package/bundles/taiga-ui-kit-components-radio-block.umd.js +57 -11
  154. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  156. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  157. package/bundles/taiga-ui-kit-components-radio-group.umd.js +47 -2
  158. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  159. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +51 -6
  161. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  163. package/bundles/taiga-ui-kit-components-radio-list.umd.js +51 -6
  164. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-radio.umd.js +52 -7
  167. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  168. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  169. package/bundles/taiga-ui-kit-components-range.umd.js +79 -34
  170. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  171. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-rating.umd.js +50 -5
  173. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +1 -1
  175. package/bundles/taiga-ui-kit-components-select-option.umd.js +48 -3
  176. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  177. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  178. package/bundles/taiga-ui-kit-components-select.umd.js +50 -5
  179. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  180. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  181. package/bundles/taiga-ui-kit-components-slider.umd.js +82 -37
  182. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  183. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  184. package/bundles/taiga-ui-kit-components-stepper.umd.js +83 -30
  185. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  186. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  187. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  188. package/bundles/taiga-ui-kit-components-tabs.umd.js +89 -42
  189. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  190. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  191. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  192. package/bundles/taiga-ui-kit-components-tag.umd.js +68 -23
  193. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  194. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  195. package/bundles/taiga-ui-kit-components-text-area.umd.js +63 -18
  196. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  197. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  198. package/bundles/taiga-ui-kit-components-toggle.umd.js +53 -8
  199. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  200. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  201. package/bundles/taiga-ui-kit-components-tree.umd.js +63 -18
  202. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  203. package/bundles/taiga-ui-kit-components-tree.umd.min.js +1 -1
  204. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  205. package/bundles/taiga-ui-kit-constants.umd.js +47 -2
  206. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  207. package/bundles/taiga-ui-kit-constants.umd.min.js +1 -1
  208. package/bundles/taiga-ui-kit-constants.umd.min.js.map +1 -1
  209. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +56 -11
  210. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  211. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  212. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +52 -7
  213. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  214. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  215. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +57 -12
  216. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  217. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  218. package/bundles/taiga-ui-kit-directives-highlight.umd.js +56 -11
  219. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  220. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  221. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +57 -12
  222. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  223. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  224. package/bundles/taiga-ui-kit-directives-present.umd.js +51 -6
  225. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  226. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  227. package/bundles/taiga-ui-kit-directives-project-class.umd.js +48 -3
  228. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  229. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  230. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +50 -5
  231. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  232. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  233. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +47 -2
  234. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  235. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  236. package/bundles/taiga-ui-kit-enums.umd.js.map +1 -1
  237. package/bundles/taiga-ui-kit-enums.umd.min.js.map +1 -1
  238. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +47 -2
  239. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  240. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  241. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +46 -1
  242. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  243. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +1 -1
  244. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +46 -1
  245. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  246. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  247. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +46 -1
  248. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  249. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  250. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +46 -1
  251. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  252. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  253. package/bundles/taiga-ui-kit-tokens.umd.js +46 -1
  254. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  255. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  256. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
  257. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +1 -1
  258. package/bundles/taiga-ui-kit-utils-format.umd.js +1 -1
  259. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  260. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +1 -1
  261. package/bundles/taiga-ui-kit-utils-mask.umd.js +46 -1
  262. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  263. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +1 -1
  264. package/bundles/taiga-ui-kit-utils-math.umd.js +46 -1
  265. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  266. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +1 -1
  267. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +46 -1
  268. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  269. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +1 -1
  270. package/components/arrow/arrow-options.d.ts +2 -2
  271. package/components/avatar/avatar.component.d.ts +3 -3
  272. package/components/badge/badge.component.d.ts +1 -1
  273. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  274. package/components/badged-content/badged-content.component.d.ts +1 -1
  275. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  276. package/components/calendar-range/calendar-range.component.d.ts +2 -2
  277. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -1
  278. package/components/checkbox-block/checkbox-block.component.d.ts +1 -1
  279. package/components/combo-box/combo-box.component.d.ts +1 -1
  280. package/components/data-list-wrapper/data-list-wrapper.d.ts +1 -1
  281. package/components/field-error/field-error.component.d.ts +1 -1
  282. package/components/filter/filter.component.d.ts +1 -1
  283. package/components/input-date/input-date.component.d.ts +1 -1
  284. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  285. package/components/input-date-range/input-date-range.component.d.ts +2 -2
  286. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  287. package/components/input-file/file/file.component.d.ts +1 -1
  288. package/components/input-file/input-file.component.d.ts +5 -5
  289. package/components/input-files/input-files.component.d.ts +2 -2
  290. package/components/input-inline/input-inline.component.d.ts +1 -1
  291. package/components/input-password/input-password-options.d.ts +4 -4
  292. package/components/input-password/input-password.component.d.ts +3 -3
  293. package/components/input-phone-international/input-phone-international.component.d.ts +1 -1
  294. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -1
  295. package/components/input-range/input-range.component.d.ts +1 -1
  296. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  297. package/components/input-tag/input-tag-options.d.ts +1 -1
  298. package/components/input-tag/input-tag.component.d.ts +2 -2
  299. package/components/input-time/input-time-options.d.ts +3 -3
  300. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  301. package/components/island/island.component.d.ts +1 -1
  302. package/components/marker-icon/marker-icon.component.d.ts +1 -1
  303. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  304. package/components/multi-select/multi-select.component.d.ts +2 -2
  305. package/components/pdf-viewer/pdf-viewer.service.d.ts +1 -1
  306. package/components/push/taiga-ui-kit-components-push.metadata.json +1 -1
  307. package/components/radio-block/radio-block.component.d.ts +1 -1
  308. package/components/range/range-change.directive.d.ts +1 -1
  309. package/components/range/range.component.d.ts +1 -1
  310. package/components/select/select.component.d.ts +1 -1
  311. package/components/slider/helpers/slider-readonly.directive.d.ts +1 -1
  312. package/components/stepper/step/step.component.d.ts +1 -1
  313. package/components/stepper/stepper.component.d.ts +2 -1
  314. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  315. package/components/tabs/tabs-options.d.ts +1 -0
  316. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  317. package/components/tag/tag-options.d.ts +1 -1
  318. package/components/tag/tag.component.d.ts +2 -2
  319. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
  320. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +1 -1
  321. package/directives/lazy-loading/lazy-loading.directive.d.ts +2 -2
  322. package/directives/lazy-loading/lazy-loading.service.d.ts +2 -2
  323. package/enums/dropdown-position.d.ts +1 -1
  324. package/enums/file-state.d.ts +1 -1
  325. package/enums/step-state.d.ts +1 -1
  326. package/esm2015/abstract/input-slider.js +1 -1
  327. package/esm2015/abstract/slider/slider.js +1 -1
  328. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  329. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  330. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +11 -11
  331. package/esm2015/components/accordion/accordion.component.js +2 -2
  332. package/esm2015/components/action/action.component.js +9 -9
  333. package/esm2015/components/arrow/arrow-options.js +1 -1
  334. package/esm2015/components/arrow/arrow.component.js +2 -2
  335. package/esm2015/components/avatar/avatar.component.js +14 -14
  336. package/esm2015/components/badge/badge.component.js +17 -19
  337. package/esm2015/components/badged-content/badged-content.component.js +21 -21
  338. package/esm2015/components/breadcrumbs/breadcrumb.directive.js +2 -2
  339. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +5 -5
  340. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +4 -4
  341. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  342. package/esm2015/components/calendar-range/calendar-range.component.js +5 -5
  343. package/esm2015/components/carousel/carousel-autoscroll.directive.js +3 -3
  344. package/esm2015/components/carousel/carousel-buttons.directive.js +4 -4
  345. package/esm2015/components/carousel/carousel-scroll.directive.js +3 -3
  346. package/esm2015/components/carousel/carousel.component.js +11 -21
  347. package/esm2015/components/carousel/carousel.directive.js +3 -3
  348. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  349. package/esm2015/components/checkbox-block/checkbox-block.component.js +11 -10
  350. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +5 -5
  351. package/esm2015/components/combo-box/combo-box-strict.directive.js +3 -3
  352. package/esm2015/components/combo-box/combo-box.component.js +7 -7
  353. package/esm2015/components/combo-box/combo-box.directive.js +2 -2
  354. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  355. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  356. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +1 -1
  357. package/esm2015/components/field-error/field-error.component.js +6 -6
  358. package/esm2015/components/files/file/file.component.js +20 -20
  359. package/esm2015/components/files/files.component.js +2 -2
  360. package/esm2015/components/filter/filter.component.js +4 -4
  361. package/esm2015/components/input/input.component.js +5 -5
  362. package/esm2015/components/input/input.directive.js +2 -2
  363. package/esm2015/components/input-copy/input-copy.component.js +10 -9
  364. package/esm2015/components/input-copy/input-copy.directive.js +2 -2
  365. package/esm2015/components/input-count/input-count.component.js +14 -14
  366. package/esm2015/components/input-count/input-count.directive.js +4 -4
  367. package/esm2015/components/input-date/input-date.component.js +9 -9
  368. package/esm2015/components/input-date/input-date.directive.js +3 -3
  369. package/esm2015/components/input-date-range/input-date-range.component.js +13 -13
  370. package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
  371. package/esm2015/components/input-date-time/input-date-time.component.js +15 -15
  372. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  373. package/esm2015/components/input-file/file/file.component.js +18 -18
  374. package/esm2015/components/input-file/input-file.component.js +18 -18
  375. package/esm2015/components/input-files/input-files.component.js +16 -16
  376. package/esm2015/components/input-inline/input-inline.component.js +5 -5
  377. package/esm2015/components/input-month/input-month.component.js +4 -4
  378. package/esm2015/components/input-month/input-month.directive.js +3 -3
  379. package/esm2015/components/input-month-range/input-month-range.component.js +5 -5
  380. package/esm2015/components/input-month-range/input-month-range.directive.js +4 -4
  381. package/esm2015/components/input-number/input-number.component.js +25 -25
  382. package/esm2015/components/input-number/input-number.directive.js +3 -3
  383. package/esm2015/components/input-password/input-password-options.js +1 -1
  384. package/esm2015/components/input-password/input-password.component.js +5 -5
  385. package/esm2015/components/input-password/input-password.directive.js +3 -3
  386. package/esm2015/components/input-phone/input-phone.component.js +30 -30
  387. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  388. package/esm2015/components/input-phone-international/input-phone-international.component.js +14 -14
  389. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +1 -1
  390. package/esm2015/components/input-range/input-range.component.js +17 -17
  391. package/esm2015/components/input-slider/input-slider.component.js +17 -15
  392. package/esm2015/components/input-tag/input-tag-options.js +1 -1
  393. package/esm2015/components/input-tag/input-tag.component.js +23 -23
  394. package/esm2015/components/input-time/input-time-options.js +1 -1
  395. package/esm2015/components/input-time/input-time.component.js +9 -9
  396. package/esm2015/components/island/island.component.js +19 -19
  397. package/esm2015/components/line-clamp/line-clamp.component.js +9 -9
  398. package/esm2015/components/marker-icon/marker-icon.component.js +7 -7
  399. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  400. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  401. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  402. package/esm2015/components/multi-select/multi-select.component.js +10 -10
  403. package/esm2015/components/multi-select-option/multi-select-option.component.js +3 -3
  404. package/esm2015/components/pagination/pagination.component.js +8 -8
  405. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +6 -6
  406. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  407. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +1 -1
  408. package/esm2015/components/progress/progress-bar/progress-bar.component.js +6 -6
  409. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  410. package/esm2015/components/progress/progress-circle/progress-circle.component.js +7 -7
  411. package/esm2015/components/progress/progress-label/progress-label.component.js +2 -2
  412. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  413. package/esm2015/components/push/push-alert.component.js +7 -7
  414. package/esm2015/components/push/push-alert.directive.js +2 -2
  415. package/esm2015/components/push/push.component.js +5 -5
  416. package/esm2015/components/push/push.directive.js +4 -4
  417. package/esm2015/components/radio/radio.component.js +7 -7
  418. package/esm2015/components/radio-block/radio-block.component.js +12 -11
  419. package/esm2015/components/radio-group/radio-group.component.js +2 -2
  420. package/esm2015/components/radio-labeled/radio-labeled.component.js +6 -6
  421. package/esm2015/components/radio-list/radio-list.component.js +6 -6
  422. package/esm2015/components/range/range-change.directive.js +10 -10
  423. package/esm2015/components/range/range.component.js +23 -23
  424. package/esm2015/components/rating/rating.component.js +5 -5
  425. package/esm2015/components/select/select.component.js +4 -4
  426. package/esm2015/components/select/select.directive.js +2 -2
  427. package/esm2015/components/select-option/select-option.component.js +3 -3
  428. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +10 -10
  429. package/esm2015/components/slider/helpers/slider-readonly.directive.js +15 -15
  430. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +5 -5
  431. package/esm2015/components/slider/slider-old.component.js +2 -2
  432. package/esm2015/components/slider/slider.component.js +9 -9
  433. package/esm2015/components/stepper/step/step.component.js +12 -12
  434. package/esm2015/components/stepper/stepper.component.js +23 -19
  435. package/esm2015/components/tabs/tab/tab.component.js +10 -10
  436. package/esm2015/components/tabs/tab.directive.js +2 -2
  437. package/esm2015/components/tabs/tabs/tabs.component.js +13 -13
  438. package/esm2015/components/tabs/tabs-options.js +2 -1
  439. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +9 -8
  440. package/esm2015/components/tabs/underline/underline.component.js +13 -13
  441. package/esm2015/components/tag/tag-options.js +1 -1
  442. package/esm2015/components/tag/tag.component.js +23 -23
  443. package/esm2015/components/text-area/text-area.component.js +17 -17
  444. package/esm2015/components/text-area/text-area.directive.js +2 -2
  445. package/esm2015/components/toggle/toggle.component.js +8 -8
  446. package/esm2015/components/tree/components/tree/tree.component.js +3 -3
  447. package/esm2015/components/tree/components/tree-item/tree-item.component.js +5 -5
  448. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  449. package/esm2015/components/tree/directives/tree-children.directive.js +2 -2
  450. package/esm2015/components/tree/directives/tree-controller.directive.js +4 -4
  451. package/esm2015/components/tree/directives/tree-item-controller.directive.js +4 -4
  452. package/esm2015/components/tree/directives/tree-node.directive.js +3 -3
  453. package/esm2015/constants/max-day-range-length-mapper.js +2 -2
  454. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +11 -11
  455. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +5 -5
  456. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +12 -12
  457. package/esm2015/directives/highlight/highlight.directive.js +11 -11
  458. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +12 -12
  459. package/esm2015/directives/lazy-loading/lazy-loading.service.js +1 -1
  460. package/esm2015/directives/present/present.directive.js +6 -6
  461. package/esm2015/directives/project-class/project-class.directive.js +3 -3
  462. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  463. package/esm2015/directives/value-accessor/value-accessor.directive.js +2 -2
  464. package/esm2015/enums/dropdown-position.js +1 -1
  465. package/esm2015/enums/file-state.js +1 -1
  466. package/esm2015/enums/step-state.js +1 -1
  467. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  468. package/esm2015/pipes/field-error/field-error-pipe.js +1 -1
  469. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  470. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +1 -1
  471. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  472. package/esm2015/pipes/stringify/stringify.pipe.js +1 -1
  473. package/esm2015/tokens/validation-errors.js +1 -1
  474. package/esm2015/types/marker-icon-mode.js +1 -1
  475. package/esm2015/types/status.js +1 -1
  476. package/esm2015/types/time-format-parts.js +1 -1
  477. package/esm2015/utils/dom/set-range-offset.js +1 -1
  478. package/esm2015/utils/format/string-hash-to-hsl.js +2 -2
  479. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +1 -1
  480. package/esm2015/utils/mask/create-time-mask.js +1 -1
  481. package/esm2015/utils/miscellaneous/is-flat.js +1 -1
  482. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +1 -1
  483. package/esm5/abstract/input-slider.js +1 -1
  484. package/esm5/abstract/slider/slider.js +1 -1
  485. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -2
  486. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +2 -2
  487. package/esm5/components/accordion/accordion-item/accordion-item.component.js +11 -11
  488. package/esm5/components/accordion/accordion.component.js +2 -2
  489. package/esm5/components/action/action.component.js +9 -9
  490. package/esm5/components/arrow/arrow-options.js +1 -1
  491. package/esm5/components/arrow/arrow.component.js +2 -2
  492. package/esm5/components/avatar/avatar.component.js +14 -14
  493. package/esm5/components/badge/badge.component.js +17 -19
  494. package/esm5/components/badged-content/badged-content.component.js +21 -21
  495. package/esm5/components/breadcrumbs/breadcrumb.directive.js +2 -2
  496. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +5 -5
  497. package/esm5/components/breadcrumbs/breadcrumbs.component.js +4 -4
  498. package/esm5/components/calendar-month/calendar-month.component.js +3 -3
  499. package/esm5/components/calendar-range/calendar-range.component.js +5 -5
  500. package/esm5/components/carousel/carousel-autoscroll.directive.js +3 -3
  501. package/esm5/components/carousel/carousel-buttons.directive.js +4 -4
  502. package/esm5/components/carousel/carousel-scroll.directive.js +3 -3
  503. package/esm5/components/carousel/carousel.component.js +11 -21
  504. package/esm5/components/carousel/carousel.directive.js +3 -3
  505. package/esm5/components/checkbox/checkbox.component.js +4 -4
  506. package/esm5/components/checkbox-block/checkbox-block.component.js +11 -10
  507. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +5 -5
  508. package/esm5/components/combo-box/combo-box-strict.directive.js +3 -3
  509. package/esm5/components/combo-box/combo-box.component.js +7 -7
  510. package/esm5/components/combo-box/combo-box.directive.js +2 -2
  511. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +2 -2
  512. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +2 -2
  513. package/esm5/components/data-list-wrapper/data-list-wrapper.js +1 -1
  514. package/esm5/components/field-error/field-error.component.js +6 -6
  515. package/esm5/components/files/file/file.component.js +20 -20
  516. package/esm5/components/files/files.component.js +2 -2
  517. package/esm5/components/filter/filter.component.js +4 -4
  518. package/esm5/components/input/input.component.js +5 -5
  519. package/esm5/components/input/input.directive.js +2 -2
  520. package/esm5/components/input-copy/input-copy.component.js +10 -9
  521. package/esm5/components/input-copy/input-copy.directive.js +2 -2
  522. package/esm5/components/input-count/input-count.component.js +14 -14
  523. package/esm5/components/input-count/input-count.directive.js +4 -4
  524. package/esm5/components/input-date/input-date.component.js +9 -9
  525. package/esm5/components/input-date/input-date.directive.js +3 -3
  526. package/esm5/components/input-date-range/input-date-range.component.js +13 -13
  527. package/esm5/components/input-date-range/input-date-range.directive.js +3 -3
  528. package/esm5/components/input-date-time/input-date-time.component.js +15 -15
  529. package/esm5/components/input-date-time/input-date-time.directive.js +3 -3
  530. package/esm5/components/input-file/file/file.component.js +18 -18
  531. package/esm5/components/input-file/input-file.component.js +18 -18
  532. package/esm5/components/input-files/input-files.component.js +16 -16
  533. package/esm5/components/input-inline/input-inline.component.js +5 -5
  534. package/esm5/components/input-month/input-month.component.js +4 -4
  535. package/esm5/components/input-month/input-month.directive.js +3 -3
  536. package/esm5/components/input-month-range/input-month-range.component.js +5 -5
  537. package/esm5/components/input-month-range/input-month-range.directive.js +4 -4
  538. package/esm5/components/input-number/input-number.component.js +25 -25
  539. package/esm5/components/input-number/input-number.directive.js +3 -3
  540. package/esm5/components/input-password/input-password-options.js +1 -1
  541. package/esm5/components/input-password/input-password.component.js +5 -5
  542. package/esm5/components/input-password/input-password.directive.js +3 -3
  543. package/esm5/components/input-phone/input-phone.component.js +30 -30
  544. package/esm5/components/input-phone/input-phone.directive.js +3 -3
  545. package/esm5/components/input-phone-international/input-phone-international.component.js +14 -14
  546. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +1 -1
  547. package/esm5/components/input-range/input-range.component.js +17 -17
  548. package/esm5/components/input-slider/input-slider.component.js +17 -15
  549. package/esm5/components/input-tag/input-tag-options.js +1 -1
  550. package/esm5/components/input-tag/input-tag.component.js +23 -23
  551. package/esm5/components/input-time/input-time-options.js +1 -1
  552. package/esm5/components/input-time/input-time.component.js +9 -9
  553. package/esm5/components/island/island.component.js +19 -19
  554. package/esm5/components/line-clamp/line-clamp.component.js +9 -9
  555. package/esm5/components/marker-icon/marker-icon.component.js +7 -7
  556. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  557. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  558. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +2 -2
  559. package/esm5/components/multi-select/multi-select.component.js +10 -10
  560. package/esm5/components/multi-select-option/multi-select-option.component.js +6 -4
  561. package/esm5/components/pagination/pagination.component.js +8 -8
  562. package/esm5/components/pdf-viewer/pdf-viewer.component.js +6 -6
  563. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +4 -4
  564. package/esm5/components/pdf-viewer/pdf-viewer.service.js +1 -1
  565. package/esm5/components/progress/progress-bar/progress-bar.component.js +6 -6
  566. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +5 -5
  567. package/esm5/components/progress/progress-circle/progress-circle.component.js +7 -7
  568. package/esm5/components/progress/progress-label/progress-label.component.js +2 -2
  569. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +8 -8
  570. package/esm5/components/push/push-alert.component.js +7 -7
  571. package/esm5/components/push/push-alert.directive.js +2 -2
  572. package/esm5/components/push/push.component.js +5 -5
  573. package/esm5/components/push/push.directive.js +4 -4
  574. package/esm5/components/radio/radio.component.js +7 -7
  575. package/esm5/components/radio-block/radio-block.component.js +12 -11
  576. package/esm5/components/radio-group/radio-group.component.js +2 -2
  577. package/esm5/components/radio-labeled/radio-labeled.component.js +6 -6
  578. package/esm5/components/radio-list/radio-list.component.js +6 -6
  579. package/esm5/components/range/range-change.directive.js +12 -12
  580. package/esm5/components/range/range.component.js +23 -23
  581. package/esm5/components/rating/rating.component.js +5 -5
  582. package/esm5/components/select/select.component.js +4 -4
  583. package/esm5/components/select/select.directive.js +2 -2
  584. package/esm5/components/select-option/select-option.component.js +3 -3
  585. package/esm5/components/slider/helpers/slider-key-steps.directive.js +10 -10
  586. package/esm5/components/slider/helpers/slider-readonly.directive.js +15 -15
  587. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +5 -5
  588. package/esm5/components/slider/slider-old.component.js +2 -2
  589. package/esm5/components/slider/slider.component.js +9 -9
  590. package/esm5/components/stepper/step/step.component.js +12 -12
  591. package/esm5/components/stepper/stepper.component.js +27 -19
  592. package/esm5/components/tabs/tab/tab.component.js +10 -10
  593. package/esm5/components/tabs/tab.directive.js +2 -2
  594. package/esm5/components/tabs/tabs/tabs.component.js +13 -13
  595. package/esm5/components/tabs/tabs-options.js +2 -1
  596. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +9 -8
  597. package/esm5/components/tabs/underline/underline.component.js +13 -13
  598. package/esm5/components/tag/tag-options.js +1 -1
  599. package/esm5/components/tag/tag.component.js +23 -23
  600. package/esm5/components/text-area/text-area.component.js +17 -17
  601. package/esm5/components/text-area/text-area.directive.js +2 -2
  602. package/esm5/components/toggle/toggle.component.js +8 -8
  603. package/esm5/components/tree/components/tree/tree.component.js +3 -3
  604. package/esm5/components/tree/components/tree-item/tree-item.component.js +5 -5
  605. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  606. package/esm5/components/tree/directives/tree-children.directive.js +2 -2
  607. package/esm5/components/tree/directives/tree-controller.directive.js +4 -4
  608. package/esm5/components/tree/directives/tree-item-controller.directive.js +4 -4
  609. package/esm5/components/tree/directives/tree-node.directive.js +3 -3
  610. package/esm5/constants/max-day-range-length-mapper.js +2 -2
  611. package/esm5/directives/dropdown-context/dropdown-context.directive.js +11 -11
  612. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +7 -7
  613. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +12 -12
  614. package/esm5/directives/highlight/highlight.directive.js +11 -11
  615. package/esm5/directives/lazy-loading/lazy-loading.directive.js +12 -12
  616. package/esm5/directives/lazy-loading/lazy-loading.service.js +1 -1
  617. package/esm5/directives/present/present.directive.js +6 -6
  618. package/esm5/directives/project-class/project-class.directive.js +3 -3
  619. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +5 -5
  620. package/esm5/directives/value-accessor/value-accessor.directive.js +2 -2
  621. package/esm5/enums/dropdown-position.js +1 -1
  622. package/esm5/enums/file-state.js +1 -1
  623. package/esm5/enums/step-state.js +1 -1
  624. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  625. package/esm5/pipes/field-error/field-error-pipe.js +1 -1
  626. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  627. package/esm5/pipes/filter-by-input/filter-by-input.base.js +1 -1
  628. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  629. package/esm5/pipes/stringify/stringify.pipe.js +1 -1
  630. package/esm5/tokens/validation-errors.js +1 -1
  631. package/esm5/types/marker-icon-mode.js +1 -1
  632. package/esm5/types/status.js +1 -1
  633. package/esm5/types/time-format-parts.js +1 -1
  634. package/esm5/utils/dom/set-range-offset.js +1 -1
  635. package/esm5/utils/format/string-hash-to-hsl.js +2 -2
  636. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +1 -1
  637. package/esm5/utils/mask/create-time-mask.js +1 -1
  638. package/esm5/utils/miscellaneous/is-flat.js +1 -1
  639. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +1 -1
  640. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  641. package/fesm2015/taiga-ui-kit-components-accordion.js +13 -13
  642. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  643. package/fesm2015/taiga-ui-kit-components-action.js +8 -8
  644. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  645. package/fesm2015/taiga-ui-kit-components-arrow.js +1 -1
  646. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  647. package/fesm2015/taiga-ui-kit-components-avatar.js +13 -13
  648. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  649. package/fesm2015/taiga-ui-kit-components-badge.js +16 -18
  650. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  651. package/fesm2015/taiga-ui-kit-components-badged-content.js +20 -20
  652. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  653. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +8 -8
  654. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  655. package/fesm2015/taiga-ui-kit-components-calendar-month.js +2 -2
  656. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  657. package/fesm2015/taiga-ui-kit-components-calendar-range.js +4 -4
  658. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  659. package/fesm2015/taiga-ui-kit-components-carousel.js +20 -29
  660. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  661. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +10 -9
  662. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  663. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  664. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  665. package/fesm2015/taiga-ui-kit-components-checkbox.js +3 -3
  666. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  667. package/fesm2015/taiga-ui-kit-components-combo-box.js +9 -9
  668. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  669. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  670. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  671. package/fesm2015/taiga-ui-kit-components-field-error.js +5 -5
  672. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  673. package/fesm2015/taiga-ui-kit-components-files.js +20 -20
  674. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  675. package/fesm2015/taiga-ui-kit-components-filter.js +3 -3
  676. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  677. package/fesm2015/taiga-ui-kit-components-input-copy.js +10 -9
  678. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  679. package/fesm2015/taiga-ui-kit-components-input-count.js +16 -16
  680. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  681. package/fesm2015/taiga-ui-kit-components-input-date-range.js +14 -14
  682. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  683. package/fesm2015/taiga-ui-kit-components-input-date-time.js +16 -16
  684. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  685. package/fesm2015/taiga-ui-kit-components-input-date.js +10 -10
  686. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  687. package/fesm2015/taiga-ui-kit-components-input-file.js +34 -34
  688. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  689. package/fesm2015/taiga-ui-kit-components-input-files.js +15 -15
  690. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  691. package/fesm2015/taiga-ui-kit-components-input-inline.js +4 -4
  692. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  693. package/fesm2015/taiga-ui-kit-components-input-month-range.js +7 -7
  694. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  695. package/fesm2015/taiga-ui-kit-components-input-month.js +5 -5
  696. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  697. package/fesm2015/taiga-ui-kit-components-input-number.js +26 -26
  698. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  699. package/fesm2015/taiga-ui-kit-components-input-password.js +6 -6
  700. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  701. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +13 -13
  702. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  703. package/fesm2015/taiga-ui-kit-components-input-phone.js +31 -31
  704. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  705. package/fesm2015/taiga-ui-kit-components-input-range.js +16 -16
  706. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  707. package/fesm2015/taiga-ui-kit-components-input-slider.js +16 -14
  708. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  709. package/fesm2015/taiga-ui-kit-components-input-tag.js +22 -22
  710. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  711. package/fesm2015/taiga-ui-kit-components-input-time.js +8 -8
  712. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  713. package/fesm2015/taiga-ui-kit-components-input.js +5 -5
  714. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  715. package/fesm2015/taiga-ui-kit-components-island.js +18 -18
  716. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  717. package/fesm2015/taiga-ui-kit-components-line-clamp.js +8 -8
  718. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  719. package/fesm2015/taiga-ui-kit-components-marker-icon.js +6 -6
  720. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  721. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +2 -2
  722. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  723. package/fesm2015/taiga-ui-kit-components-multi-select.js +14 -14
  724. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  725. package/fesm2015/taiga-ui-kit-components-pagination.js +7 -7
  726. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  727. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +8 -8
  728. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  729. package/fesm2015/taiga-ui-kit-components-progress.js +23 -23
  730. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  731. package/fesm2015/taiga-ui-kit-components-push.js +14 -14
  732. package/fesm2015/taiga-ui-kit-components-push.js.map +1 -1
  733. package/fesm2015/taiga-ui-kit-components-radio-block.js +11 -10
  734. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  735. package/fesm2015/taiga-ui-kit-components-radio-group.js +1 -1
  736. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  737. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +5 -5
  738. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  739. package/fesm2015/taiga-ui-kit-components-radio-list.js +5 -5
  740. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  741. package/fesm2015/taiga-ui-kit-components-radio.js +6 -6
  742. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  743. package/fesm2015/taiga-ui-kit-components-range.js +31 -31
  744. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  745. package/fesm2015/taiga-ui-kit-components-rating.js +4 -4
  746. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-select-option.js +2 -2
  748. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-select.js +4 -4
  750. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-slider.js +36 -36
  752. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-stepper.js +33 -29
  754. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  755. package/fesm2015/taiga-ui-kit-components-tabs.js +43 -41
  756. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  757. package/fesm2015/taiga-ui-kit-components-tag.js +22 -22
  758. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  759. package/fesm2015/taiga-ui-kit-components-text-area.js +17 -17
  760. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  761. package/fesm2015/taiga-ui-kit-components-toggle.js +7 -7
  762. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  763. package/fesm2015/taiga-ui-kit-components-tree.js +17 -17
  764. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  765. package/fesm2015/taiga-ui-kit-constants.js +1 -1
  766. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +10 -10
  768. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +4 -4
  770. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +11 -11
  772. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-directives-highlight.js +10 -10
  774. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +11 -11
  776. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-directives-present.js +5 -5
  778. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  779. package/fesm2015/taiga-ui-kit-directives-project-class.js +2 -2
  780. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  781. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  782. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +1 -1
  784. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  785. package/fesm2015/taiga-ui-kit-enums.js.map +1 -1
  786. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  787. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  788. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  789. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  790. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  791. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  792. package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
  793. package/fesm2015/taiga-ui-kit-utils-format.js +1 -1
  794. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  795. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  796. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  797. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  798. package/fesm5/taiga-ui-kit-components-accordion.js +13 -13
  799. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  800. package/fesm5/taiga-ui-kit-components-action.js +8 -8
  801. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  802. package/fesm5/taiga-ui-kit-components-arrow.js +1 -1
  803. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  804. package/fesm5/taiga-ui-kit-components-avatar.js +13 -13
  805. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  806. package/fesm5/taiga-ui-kit-components-badge.js +16 -18
  807. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  808. package/fesm5/taiga-ui-kit-components-badged-content.js +20 -20
  809. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  810. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +8 -8
  811. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  812. package/fesm5/taiga-ui-kit-components-calendar-month.js +2 -2
  813. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  814. package/fesm5/taiga-ui-kit-components-calendar-range.js +4 -4
  815. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  816. package/fesm5/taiga-ui-kit-components-carousel.js +20 -29
  817. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -1
  818. package/fesm5/taiga-ui-kit-components-checkbox-block.js +10 -9
  819. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  820. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  821. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  822. package/fesm5/taiga-ui-kit-components-checkbox.js +3 -3
  823. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  824. package/fesm5/taiga-ui-kit-components-combo-box.js +9 -9
  825. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  826. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +2 -2
  827. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  828. package/fesm5/taiga-ui-kit-components-field-error.js +5 -5
  829. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  830. package/fesm5/taiga-ui-kit-components-files.js +20 -20
  831. package/fesm5/taiga-ui-kit-components-files.js.map +1 -1
  832. package/fesm5/taiga-ui-kit-components-filter.js +3 -3
  833. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  834. package/fesm5/taiga-ui-kit-components-input-copy.js +10 -9
  835. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  836. package/fesm5/taiga-ui-kit-components-input-count.js +16 -16
  837. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  838. package/fesm5/taiga-ui-kit-components-input-date-range.js +14 -14
  839. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  840. package/fesm5/taiga-ui-kit-components-input-date-time.js +16 -16
  841. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  842. package/fesm5/taiga-ui-kit-components-input-date.js +10 -10
  843. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  844. package/fesm5/taiga-ui-kit-components-input-file.js +34 -34
  845. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  846. package/fesm5/taiga-ui-kit-components-input-files.js +15 -15
  847. package/fesm5/taiga-ui-kit-components-input-files.js.map +1 -1
  848. package/fesm5/taiga-ui-kit-components-input-inline.js +4 -4
  849. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  850. package/fesm5/taiga-ui-kit-components-input-month-range.js +7 -7
  851. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  852. package/fesm5/taiga-ui-kit-components-input-month.js +5 -5
  853. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  854. package/fesm5/taiga-ui-kit-components-input-number.js +26 -26
  855. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  856. package/fesm5/taiga-ui-kit-components-input-password.js +6 -6
  857. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  858. package/fesm5/taiga-ui-kit-components-input-phone-international.js +13 -13
  859. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  860. package/fesm5/taiga-ui-kit-components-input-phone.js +31 -31
  861. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  862. package/fesm5/taiga-ui-kit-components-input-range.js +16 -16
  863. package/fesm5/taiga-ui-kit-components-input-range.js.map +1 -1
  864. package/fesm5/taiga-ui-kit-components-input-slider.js +16 -14
  865. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  866. package/fesm5/taiga-ui-kit-components-input-tag.js +22 -22
  867. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  868. package/fesm5/taiga-ui-kit-components-input-time.js +8 -8
  869. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  870. package/fesm5/taiga-ui-kit-components-input.js +5 -5
  871. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  872. package/fesm5/taiga-ui-kit-components-island.js +18 -18
  873. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  874. package/fesm5/taiga-ui-kit-components-line-clamp.js +8 -8
  875. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  876. package/fesm5/taiga-ui-kit-components-marker-icon.js +6 -6
  877. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  878. package/fesm5/taiga-ui-kit-components-multi-select-option.js +5 -3
  879. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  880. package/fesm5/taiga-ui-kit-components-multi-select.js +14 -14
  881. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  882. package/fesm5/taiga-ui-kit-components-pagination.js +7 -7
  883. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  884. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +8 -8
  885. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  886. package/fesm5/taiga-ui-kit-components-progress.js +23 -23
  887. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  888. package/fesm5/taiga-ui-kit-components-push.js +14 -14
  889. package/fesm5/taiga-ui-kit-components-push.js.map +1 -1
  890. package/fesm5/taiga-ui-kit-components-radio-block.js +11 -10
  891. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  892. package/fesm5/taiga-ui-kit-components-radio-group.js +1 -1
  893. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  894. package/fesm5/taiga-ui-kit-components-radio-labeled.js +5 -5
  895. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  896. package/fesm5/taiga-ui-kit-components-radio-list.js +5 -5
  897. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  898. package/fesm5/taiga-ui-kit-components-radio.js +6 -6
  899. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  900. package/fesm5/taiga-ui-kit-components-range.js +33 -33
  901. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  902. package/fesm5/taiga-ui-kit-components-rating.js +4 -4
  903. package/fesm5/taiga-ui-kit-components-rating.js.map +1 -1
  904. package/fesm5/taiga-ui-kit-components-select-option.js +2 -2
  905. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  906. package/fesm5/taiga-ui-kit-components-select.js +4 -4
  907. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  908. package/fesm5/taiga-ui-kit-components-slider.js +36 -36
  909. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  910. package/fesm5/taiga-ui-kit-components-stepper.js +37 -29
  911. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  912. package/fesm5/taiga-ui-kit-components-tabs.js +43 -41
  913. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  914. package/fesm5/taiga-ui-kit-components-tag.js +22 -22
  915. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  916. package/fesm5/taiga-ui-kit-components-text-area.js +17 -17
  917. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  918. package/fesm5/taiga-ui-kit-components-toggle.js +7 -7
  919. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  920. package/fesm5/taiga-ui-kit-components-tree.js +17 -17
  921. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  922. package/fesm5/taiga-ui-kit-constants.js +1 -1
  923. package/fesm5/taiga-ui-kit-constants.js.map +1 -1
  924. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +10 -10
  925. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  926. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +6 -6
  927. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  928. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +11 -11
  929. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  930. package/fesm5/taiga-ui-kit-directives-highlight.js +10 -10
  931. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  932. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +11 -11
  933. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  934. package/fesm5/taiga-ui-kit-directives-present.js +5 -5
  935. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  936. package/fesm5/taiga-ui-kit-directives-project-class.js +2 -2
  937. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  938. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +4 -4
  939. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  940. package/fesm5/taiga-ui-kit-directives-value-accessor.js +1 -1
  941. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  942. package/fesm5/taiga-ui-kit-enums.js.map +1 -1
  943. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  944. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  945. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +1 -1
  946. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  947. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  948. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  949. package/fesm5/taiga-ui-kit-utils-dom.js.map +1 -1
  950. package/fesm5/taiga-ui-kit-utils-format.js +1 -1
  951. package/fesm5/taiga-ui-kit-utils-format.js.map +1 -1
  952. package/fesm5/taiga-ui-kit-utils-mask.js.map +1 -1
  953. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  954. package/package.json +4 -4
  955. package/pipes/field-error/field-error-pipe.d.ts +1 -1
  956. package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -1
  957. package/pipes/stringify/stringify.pipe.d.ts +1 -1
  958. package/types/marker-icon-mode.d.ts +1 -1
  959. package/types/status.d.ts +1 -1
  960. package/types/time-format-parts.d.ts +1 -1
  961. package/utils/dom/set-range-offset.d.ts +1 -1
  962. package/utils/miscellaneous/is-flat.d.ts +1 -1
  963. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -1
@@ -16,25 +16,25 @@ let TuiInputNumberComponent = TuiInputNumberComponent_1 = class TuiInputNumberCo
16
16
  super(control, changeDetectorRef);
17
17
  this.numberFormat = numberFormat;
18
18
  this.isIOS = isIOS;
19
- this.unfinishedValue = ``;
19
+ this.unfinishedValue = '';
20
20
  this.min = -Infinity;
21
21
  this.max = Infinity;
22
- this.decimal = `not-zero`;
22
+ this.decimal = 'not-zero';
23
23
  this.precision = 2;
24
- this.prefix = ``;
25
- this.postfix = ``;
24
+ this.prefix = '';
25
+ this.postfix = '';
26
26
  this.polymorpheusValueContent = EMPTY_QUERY;
27
27
  this.mask = (allowNegative, decimal, decimalLimit, nativeFocusableElement) => ({
28
28
  mask: tuiCreateNumberMask({
29
29
  allowNegative,
30
30
  decimalLimit,
31
- allowDecimal: decimal !== `never`,
32
- requireDecimal: decimal === `always`,
31
+ allowDecimal: decimal !== 'never',
32
+ requireDecimal: decimal === 'always',
33
33
  decimalSymbol: this.numberFormat.decimalSeparator,
34
34
  thousandSymbol: this.numberFormat.thousandSeparator,
35
35
  autoCorrectDecimalSymbol: tuiEnableAutoCorrectDecimalSymbol(this.numberFormat),
36
36
  }),
37
- pipe: tuiCreateAutoCorrectedNumberPipe(decimal === `always` ? decimalLimit : 0, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator, nativeFocusableElement, allowNegative, this.isIOS),
37
+ pipe: tuiCreateAutoCorrectedNumberPipe(decimal === 'always' ? decimalLimit : 0, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator, nativeFocusableElement, allowNegative, this.isIOS),
38
38
  guide: false,
39
39
  });
40
40
  }
@@ -52,12 +52,12 @@ let TuiInputNumberComponent = TuiInputNumberComponent_1 = class TuiInputNumberCo
52
52
  get inputMode() {
53
53
  if (this.isIOS && this.isNegativeAllowed) {
54
54
  // iphones do not have minus sign if inputMode is equal to 'numeric' / 'decimal'
55
- return `text`;
55
+ return 'text';
56
56
  }
57
- return this.decimal === `never` ? `numeric` : `decimal`;
57
+ return this.decimal === 'never' ? 'numeric' : 'decimal';
58
58
  }
59
59
  get calculatedMaxLength() {
60
- const decimalPart = this.decimal !== `never` &&
60
+ const decimalPart = this.decimal !== 'never' &&
61
61
  this.nativeValue.includes(this.numberFormat.decimalSeparator);
62
62
  const precision = decimalPart ? this.precision + 1 : 0;
63
63
  const takeThousand = this.numberFormat.thousandSeparator.repeat(5).length;
@@ -70,15 +70,15 @@ let TuiInputNumberComponent = TuiInputNumberComponent_1 = class TuiInputNumberCo
70
70
  if (this.focused) {
71
71
  return this.nativeValue;
72
72
  }
73
- return this.value === null ? `` : this.formattedValue;
73
+ return this.value === null ? '' : this.formattedValue;
74
74
  }
75
75
  onZero(event) {
76
- const decimal = this.nativeValue.split(this.numberFormat.decimalSeparator)[1] || ``;
76
+ const decimal = this.nativeValue.split(this.numberFormat.decimalSeparator)[1] || '';
77
77
  const { nativeFocusableElement } = this;
78
78
  if (decimal.length < this.precision ||
79
79
  !nativeFocusableElement ||
80
80
  !nativeFocusableElement.selectionStart ||
81
- this.nativeValue[nativeFocusableElement.selectionStart] !== `0`) {
81
+ this.nativeValue[nativeFocusableElement.selectionStart] !== '0') {
82
82
  return;
83
83
  }
84
84
  event.preventDefault();
@@ -95,7 +95,7 @@ let TuiInputNumberComponent = TuiInputNumberComponent_1 = class TuiInputNumberCo
95
95
  }
96
96
  this.unfinishedValue = null;
97
97
  const capped = this.absoluteCapInputValue(value);
98
- if (capped === null || isNaN(capped)) {
98
+ if (capped === null || Number.isNaN(capped)) {
99
99
  return;
100
100
  }
101
101
  this.updateValue(capped);
@@ -108,7 +108,7 @@ let TuiInputNumberComponent = TuiInputNumberComponent_1 = class TuiInputNumberCo
108
108
  if (!TUI_DECIMAL_SYMBOLS.includes(event.key)) {
109
109
  return;
110
110
  }
111
- if (this.decimal === `never`) {
111
+ if (this.decimal === 'never') {
112
112
  event.preventDefault();
113
113
  return;
114
114
  }
@@ -126,7 +126,7 @@ let TuiInputNumberComponent = TuiInputNumberComponent_1 = class TuiInputNumberCo
126
126
  ? tuiMaskedNumberStringToNumber(this.unfinishedValue, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator)
127
127
  : this.nativeNumberValue;
128
128
  this.unfinishedValue = null;
129
- if (isNaN(nativeNumberValue)) {
129
+ if (Number.isNaN(nativeNumberValue)) {
130
130
  this.clear();
131
131
  return;
132
132
  }
@@ -143,11 +143,11 @@ let TuiInputNumberComponent = TuiInputNumberComponent_1 = class TuiInputNumberCo
143
143
  getFormattedValue(value) {
144
144
  const absValue = Math.abs(value);
145
145
  const hasFraction = absValue % 1 > 0;
146
- let limit = this.decimal === `always` || (hasFraction && this.decimal !== `never`)
146
+ let limit = this.decimal === 'always' || (hasFraction && this.decimal !== 'never')
147
147
  ? this.precision
148
148
  : 0;
149
- const fraction = hasFraction ? getFractionPartPadded(value, this.precision) : ``;
150
- if (this.focused && this.decimal !== `always`) {
149
+ const fraction = hasFraction ? getFractionPartPadded(value, this.precision) : '';
150
+ if (this.focused && this.decimal !== 'always') {
151
151
  limit = fraction.length;
152
152
  }
153
153
  return formatNumber(value, limit, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator, this.numberFormat.zeroPadding);
@@ -159,7 +159,7 @@ let TuiInputNumberComponent = TuiInputNumberComponent_1 = class TuiInputNumberCo
159
159
  : nativeNumberValue < this.min;
160
160
  }
161
161
  get nativeValue() {
162
- return this.nativeFocusableElement ? this.nativeFocusableElement.value : ``;
162
+ return this.nativeFocusableElement ? this.nativeFocusableElement.value : '';
163
163
  }
164
164
  set nativeValue(value) {
165
165
  if (!this.primitiveTextfield || !this.nativeFocusableElement) {
@@ -172,7 +172,7 @@ let TuiInputNumberComponent = TuiInputNumberComponent_1 = class TuiInputNumberCo
172
172
  return tuiMaskedNumberStringToNumber(this.nativeValue, this.numberFormat.decimalSeparator, this.numberFormat.thousandSeparator);
173
173
  }
174
174
  clear() {
175
- this.nativeValue = ``;
175
+ this.nativeValue = '';
176
176
  this.updateValue(null);
177
177
  }
178
178
  absoluteCapInputValue(inputValue) {
@@ -180,7 +180,7 @@ let TuiInputNumberComponent = TuiInputNumberComponent_1 = class TuiInputNumberCo
180
180
  const capped = value < 0
181
181
  ? Math.max(Math.max(this.min, Number.MIN_SAFE_INTEGER), value)
182
182
  : Math.min(value, Math.min(this.max, Number.MAX_SAFE_INTEGER));
183
- const ineligibleValue = isNaN(capped) || capped < this.min || capped > this.max;
183
+ const ineligibleValue = Number.isNaN(capped) || capped < this.min || capped > this.max;
184
184
  return ineligibleValue ? null : capped;
185
185
  }
186
186
  setCaretAfterComma() {
@@ -228,11 +228,11 @@ __decorate([
228
228
  ContentChildren(PolymorpheusOutletComponent)
229
229
  ], TuiInputNumberComponent.prototype, "polymorpheusValueContent", void 0);
230
230
  __decorate([
231
- HostListener(`keydown.0`, [`$event`])
231
+ HostListener('keydown.0', ['$event'])
232
232
  ], TuiInputNumberComponent.prototype, "onZero", null);
233
233
  TuiInputNumberComponent = TuiInputNumberComponent_1 = __decorate([
234
234
  Component({
235
- selector: `tui-input-number`,
235
+ selector: 'tui-input-number',
236
236
  template: "<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-textfield\"\n [pseudoHovered]=\"computedHovered\"\n [pseudoFocused]=\"computedFocused\"\n [pseudoPressed]=\"computedPressed\"\n [invalid]=\"computedInvalid\"\n [tuiTextfieldInputMode]=\"inputMode\"\n [tuiTextfieldMaxLength]=\"calculatedMaxLength\"\n [readOnly]=\"readOnly\"\n [disabled]=\"computedDisabled\"\n [textMask]=\"isNegativeAllowed | tuiMapper: mask:decimal:precision:nativeFocusableElement\"\n [value]=\"computedValue\"\n [prefix]=\"prefix\"\n [postfix]=\"postfix\"\n [focusable]=\"focusable\"\n (valueChange)=\"onValueChange($event)\"\n (hoveredChange)=\"onHovered($event)\"\n (focusedChange)=\"onFocused($event)\"\n (pressedChange)=\"onPressed($event)\"\n (keydown)=\"onKeyDown($event)\"\n>\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n <div\n *ngIf=\"polymorpheusValueContent.length\"\n polymorpheus-outlet\n class=\"t-value-content\"\n [content]=\"valueContent\"\n ></div>\n</tui-primitive-textfield>\n\n<ng-container *ngIf=\"polymorpheusValueContent.changes | async\"></ng-container>\n\n<ng-template #valueContent>\n <ng-content select=\"[polymorpheus-outlet]\"></ng-content>\n</ng-template>\n",
237
237
  changeDetection: ChangeDetectionStrategy.OnPush,
238
238
  providers: [
@@ -271,12 +271,12 @@ let TuiInputNumberDirective = TuiInputNumberDirective_1 = class TuiInputNumberDi
271
271
  return;
272
272
  }
273
273
  this.input.maxLength = this.host.calculatedMaxLength;
274
- this.input.inputMode = `decimal`;
274
+ this.input.inputMode = 'decimal';
275
275
  }
276
276
  };
277
277
  TuiInputNumberDirective = TuiInputNumberDirective_1 = __decorate([
278
278
  Directive({
279
- selector: `tui-input-number`,
279
+ selector: 'tui-input-number',
280
280
  providers: [
281
281
  {
282
282
  provide: TUI_TEXTFIELD_HOST,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-input-number.js","sources":["ng://@taiga-ui/kit/components/input-number/input-number.component.ts","ng://@taiga-ui/kit/components/input-number/input-number.directive.ts","ng://@taiga-ui/kit/components/input-number/input-number.module.ts","ng://@taiga-ui/kit/components/input-number/taiga-ui-kit-components-input-number.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n forwardRef,\n HostListener,\n Inject,\n Input,\n Optional,\n QueryList,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n AbstractTuiNullableControl,\n EMPTY_QUERY,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_IOS,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiInputModeT,\n TuiMapper,\n} from '@taiga-ui/cdk';\nimport {\n formatNumber,\n getFractionPartPadded,\n maskedMoneyValueIsEmpty,\n TUI_DECIMAL_SYMBOLS,\n TUI_NUMBER_FORMAT,\n tuiCreateAutoCorrectedNumberPipe,\n tuiCreateNumberMask,\n TuiDecimalT,\n tuiEnableAutoCorrectDecimalSymbol,\n tuiMaskedNumberStringToNumber,\n TuiNumberFormatSettings,\n TuiPrimitiveTextfieldComponent,\n TuiTextMaskOptions,\n} from '@taiga-ui/core';\nimport {PolymorpheusOutletComponent} from '@tinkoff/ng-polymorpheus';\nimport {TextMaskConfig} from 'angular2-text-mask';\n\nconst DEFAULT_MAX_LENGTH = 18;\n\n// @dynamic\n@Component({\n selector: `tui-input-number`,\n templateUrl: `./input-number.template.html`,\n styleUrls: [`./input-number.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputNumberComponent),\n },\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiInputNumberComponent),\n },\n ],\n})\nexport class TuiInputNumberComponent\n extends AbstractTuiNullableControl<number>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly primitiveTextfield?: TuiPrimitiveTextfieldComponent;\n\n private unfinishedValue: string | null = ``;\n\n @Input()\n @tuiDefaultProp()\n min = -Infinity;\n\n @Input()\n @tuiDefaultProp()\n max = Infinity;\n\n @Input()\n @tuiDefaultProp()\n decimal: TuiDecimalT = `not-zero`;\n\n @Input()\n @tuiDefaultProp()\n precision = 2;\n\n @Input()\n @tuiDefaultProp()\n prefix = ``;\n\n @Input()\n @tuiDefaultProp()\n postfix = ``;\n\n @ContentChildren(PolymorpheusOutletComponent)\n readonly polymorpheusValueContent: QueryList<unknown> = EMPTY_QUERY;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef)\n changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_NUMBER_FORMAT)\n private readonly numberFormat: TuiNumberFormatSettings,\n @Inject(TUI_IS_IOS) private readonly isIOS: boolean,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return !this.primitiveTextfield || this.computedDisabled\n ? null\n : this.primitiveTextfield.nativeFocusableElement;\n }\n\n get focused(): boolean {\n return !!this.primitiveTextfield && this.primitiveTextfield.focused;\n }\n\n get isNegativeAllowed(): boolean {\n return this.min < 0;\n }\n\n get inputMode(): TuiInputModeT {\n if (this.isIOS && this.isNegativeAllowed) {\n // iphones do not have minus sign if inputMode is equal to 'numeric' / 'decimal'\n return `text`;\n }\n\n return this.decimal === `never` ? `numeric` : `decimal`;\n }\n\n get calculatedMaxLength(): number {\n const decimalPart =\n this.decimal !== `never` &&\n this.nativeValue.includes(this.numberFormat.decimalSeparator);\n const precision = decimalPart ? this.precision + 1 : 0;\n const takeThousand = this.numberFormat.thousandSeparator.repeat(5).length;\n\n return DEFAULT_MAX_LENGTH + precision + takeThousand;\n }\n\n get formattedValue(): string {\n return this.getFormattedValue(this.value || 0);\n }\n\n get computedValue(): string {\n if (this.focused) {\n return this.nativeValue;\n }\n\n return this.value === null ? `` : this.formattedValue;\n }\n\n @HostListener(`keydown.0`, [`$event`])\n onZero(event: KeyboardEvent): void {\n const decimal =\n this.nativeValue.split(this.numberFormat.decimalSeparator)[1] || ``;\n const {nativeFocusableElement} = this;\n\n if (\n decimal.length < this.precision ||\n !nativeFocusableElement ||\n !nativeFocusableElement.selectionStart ||\n this.nativeValue[nativeFocusableElement.selectionStart] !== `0`\n ) {\n return;\n }\n\n event.preventDefault();\n nativeFocusableElement.selectionStart++;\n }\n\n mask: TuiMapper<boolean, TextMaskConfig> = (\n allowNegative: boolean,\n decimal: TuiDecimalT,\n decimalLimit: number,\n nativeFocusableElement: HTMLInputElement | null,\n ) =>\n ({\n mask: tuiCreateNumberMask({\n allowNegative,\n decimalLimit,\n allowDecimal: decimal !== `never`,\n requireDecimal: decimal === `always`,\n decimalSymbol: this.numberFormat.decimalSeparator,\n thousandSymbol: this.numberFormat.thousandSeparator,\n autoCorrectDecimalSymbol: tuiEnableAutoCorrectDecimalSymbol(\n this.numberFormat,\n ),\n }),\n pipe: tuiCreateAutoCorrectedNumberPipe(\n decimal === `always` ? decimalLimit : 0,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n nativeFocusableElement,\n allowNegative,\n this.isIOS,\n ),\n guide: false,\n } as TuiTextMaskOptions as unknown as TextMaskConfig);\n\n onValueChange(value: string): void {\n if (maskedMoneyValueIsEmpty(value)) {\n this.updateValue(null);\n\n return;\n }\n\n if (this.isNativeValueNotFinished) {\n this.unfinishedValue = value;\n\n return;\n }\n\n this.unfinishedValue = null;\n const capped = this.absoluteCapInputValue(value);\n\n if (capped === null || isNaN(capped)) {\n return;\n }\n\n this.updateValue(capped);\n\n if (\n capped !==\n tuiMaskedNumberStringToNumber(\n value,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n )\n ) {\n this.nativeValue = this.formattedValue;\n }\n }\n\n onKeyDown(event: KeyboardEvent): void {\n if (!TUI_DECIMAL_SYMBOLS.includes(event.key)) {\n return;\n }\n\n if (this.decimal === `never`) {\n event.preventDefault();\n\n return;\n }\n\n if (this.nativeValue.includes(this.numberFormat.decimalSeparator)) {\n event.preventDefault();\n this.setCaretAfterComma();\n }\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n\n if (focused) {\n return;\n }\n\n const nativeNumberValue = this.unfinishedValue\n ? tuiMaskedNumberStringToNumber(\n this.unfinishedValue,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n )\n : this.nativeNumberValue;\n\n this.unfinishedValue = null;\n\n if (isNaN(nativeNumberValue)) {\n this.clear();\n\n return;\n }\n\n const clamped = Math.min(this.max, Math.max(this.min, nativeNumberValue));\n\n this.updateValue(clamped);\n this.nativeValue = this.formattedValue;\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n getFormattedValue(value: number): string {\n const absValue = Math.abs(value);\n const hasFraction = absValue % 1 > 0;\n let limit =\n this.decimal === `always` || (hasFraction && this.decimal !== `never`)\n ? this.precision\n : 0;\n\n const fraction = hasFraction ? getFractionPartPadded(value, this.precision) : ``;\n\n if (this.focused && this.decimal !== `always`) {\n limit = fraction.length;\n }\n\n return formatNumber(\n value,\n limit,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n this.numberFormat.zeroPadding,\n );\n }\n\n private get isNativeValueNotFinished(): boolean {\n const nativeNumberValue = this.nativeNumberValue;\n\n return nativeNumberValue < 0\n ? nativeNumberValue > this.max\n : nativeNumberValue < this.min;\n }\n\n get nativeValue(): string {\n return this.nativeFocusableElement ? this.nativeFocusableElement.value : ``;\n }\n\n set nativeValue(value: string) {\n if (!this.primitiveTextfield || !this.nativeFocusableElement) {\n return;\n }\n\n this.primitiveTextfield.value = value;\n this.nativeFocusableElement.value = value;\n }\n\n private get nativeNumberValue(): number {\n return tuiMaskedNumberStringToNumber(\n this.nativeValue,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n );\n }\n\n private clear(): void {\n this.nativeValue = ``;\n this.updateValue(null);\n }\n\n private absoluteCapInputValue(inputValue: string): number | null {\n const value = tuiMaskedNumberStringToNumber(\n inputValue,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n );\n const capped =\n value < 0\n ? Math.max(Math.max(this.min, Number.MIN_SAFE_INTEGER), value)\n : Math.min(value, Math.min(this.max, Number.MAX_SAFE_INTEGER));\n const ineligibleValue = isNaN(capped) || capped < this.min || capped > this.max;\n\n return ineligibleValue ? null : capped;\n }\n\n private setCaretAfterComma(): void {\n if (!this.nativeFocusableElement) {\n return;\n }\n\n const afterCommaPosition = this.nativeValue.length - this.precision;\n\n this.nativeFocusableElement.setSelectionRange(\n afterCommaPosition,\n afterCommaPosition,\n );\n }\n}\n","import {Directive, DoCheck, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiInputNumberComponent} from './input-number.component';\n\n@Directive({\n selector: `tui-input-number`,\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiInputNumberDirective),\n },\n ],\n})\nexport class TuiInputNumberDirective\n extends TuiAbstractTextfieldHost<TuiInputNumberComponent>\n implements DoCheck\n{\n input?: HTMLInputElement;\n\n get value(): string {\n return this.host.computedValue;\n }\n\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n\n process(input: HTMLInputElement): void {\n this.input = input;\n }\n\n ngDoCheck(): void {\n if (!this.input) {\n return;\n }\n\n this.input.maxLength = this.host.calculatedMaxLength;\n this.input.inputMode = `decimal`;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiMapperPipeModule} from '@taiga-ui/cdk';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit/directives';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {TextMaskModule} from 'angular2-text-mask';\n\nimport {TuiInputNumberComponent} from './input-number.component';\nimport {TuiInputNumberDirective} from './input-number.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n TextMaskModule,\n TuiMapperPipeModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n PolymorpheusModule,\n ],\n declarations: [TuiInputNumberComponent, TuiInputNumberDirective],\n exports: [TuiInputNumberComponent, TuiInputNumberDirective, TuiTextfieldComponent],\n})\nexport class TuiInputNumberModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AA4CA,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAE9B;IAiBa,uBAAuB,+BAApC,MAAa,uBACT,SAAQ,0BAAkC;IAmC1C,YAII,OAAyB,EAEzB,iBAAoC,EAEnB,YAAqC,EACjB,KAAc;QAEnD,KAAK,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;QAHjB,iBAAY,GAAZ,YAAY,CAAyB;QACjB,UAAK,GAAL,KAAK,CAAS;QAtC/C,oBAAe,GAAkB,EAAE,CAAC;QAI5C,QAAG,GAAG,CAAC,QAAQ,CAAC;QAIhB,QAAG,GAAG,QAAQ,CAAC;QAIf,YAAO,GAAgB,UAAU,CAAC;QAIlC,cAAS,GAAG,CAAC,CAAC;QAId,WAAM,GAAG,EAAE,CAAC;QAIZ,YAAO,GAAG,EAAE,CAAC;QAGJ,6BAAwB,GAAuB,WAAW,CAAC;QAgFpE,SAAI,GAAuC,CACvC,aAAsB,EACtB,OAAoB,EACpB,YAAoB,EACpB,sBAA+C,MAE9C;YACG,IAAI,EAAE,mBAAmB,CAAC;gBACtB,aAAa;gBACb,YAAY;gBACZ,YAA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B;YAC3B,4BAA4B;YAC5B,sBAAsB;YACtB,kBAAkB;SACrB;QACD,YAAY,EAAE,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;QAChE,OAAO,EAAE,CAAC,uBAAuB,EAAE,uBAAuB,EAAE,qBAAqB,CAAC;KACrF,CAAC;GACW,oBAAoB,CAAG;;AC5BpC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-input-number.js","sources":["ng://@taiga-ui/kit/components/input-number/input-number.component.ts","ng://@taiga-ui/kit/components/input-number/input-number.directive.ts","ng://@taiga-ui/kit/components/input-number/input-number.module.ts","ng://@taiga-ui/kit/components/input-number/taiga-ui-kit-components-input-number.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChildren,\n forwardRef,\n HostListener,\n Inject,\n Input,\n Optional,\n QueryList,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n AbstractTuiNullableControl,\n EMPTY_QUERY,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_IOS,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiInputModeT,\n TuiMapper,\n} from '@taiga-ui/cdk';\nimport {\n formatNumber,\n getFractionPartPadded,\n maskedMoneyValueIsEmpty,\n TUI_DECIMAL_SYMBOLS,\n TUI_NUMBER_FORMAT,\n tuiCreateAutoCorrectedNumberPipe,\n tuiCreateNumberMask,\n TuiDecimalT,\n tuiEnableAutoCorrectDecimalSymbol,\n tuiMaskedNumberStringToNumber,\n TuiNumberFormatSettings,\n TuiPrimitiveTextfieldComponent,\n TuiTextMaskOptions,\n} from '@taiga-ui/core';\nimport {PolymorpheusOutletComponent} from '@tinkoff/ng-polymorpheus';\nimport {TextMaskConfig} from 'angular2-text-mask';\n\nconst DEFAULT_MAX_LENGTH = 18;\n\n// @dynamic\n@Component({\n selector: 'tui-input-number',\n templateUrl: './input-number.template.html',\n styleUrls: ['./input-number.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputNumberComponent),\n },\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiInputNumberComponent),\n },\n ],\n})\nexport class TuiInputNumberComponent\n extends AbstractTuiNullableControl<number>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly primitiveTextfield?: TuiPrimitiveTextfieldComponent;\n\n private unfinishedValue: string | null = '';\n\n @Input()\n @tuiDefaultProp()\n min = -Infinity;\n\n @Input()\n @tuiDefaultProp()\n max = Infinity;\n\n @Input()\n @tuiDefaultProp()\n decimal: TuiDecimalT = 'not-zero';\n\n @Input()\n @tuiDefaultProp()\n precision = 2;\n\n @Input()\n @tuiDefaultProp()\n prefix = '';\n\n @Input()\n @tuiDefaultProp()\n postfix = '';\n\n @ContentChildren(PolymorpheusOutletComponent)\n readonly polymorpheusValueContent: QueryList<unknown> = EMPTY_QUERY;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef)\n changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_NUMBER_FORMAT)\n private readonly numberFormat: TuiNumberFormatSettings,\n @Inject(TUI_IS_IOS) private readonly isIOS: boolean,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return !this.primitiveTextfield || this.computedDisabled\n ? null\n : this.primitiveTextfield.nativeFocusableElement;\n }\n\n get focused(): boolean {\n return !!this.primitiveTextfield && this.primitiveTextfield.focused;\n }\n\n get isNegativeAllowed(): boolean {\n return this.min < 0;\n }\n\n get inputMode(): TuiInputModeT {\n if (this.isIOS && this.isNegativeAllowed) {\n // iphones do not have minus sign if inputMode is equal to 'numeric' / 'decimal'\n return 'text';\n }\n\n return this.decimal === 'never' ? 'numeric' : 'decimal';\n }\n\n get calculatedMaxLength(): number {\n const decimalPart =\n this.decimal !== 'never' &&\n this.nativeValue.includes(this.numberFormat.decimalSeparator);\n const precision = decimalPart ? this.precision + 1 : 0;\n const takeThousand = this.numberFormat.thousandSeparator.repeat(5).length;\n\n return DEFAULT_MAX_LENGTH + precision + takeThousand;\n }\n\n get formattedValue(): string {\n return this.getFormattedValue(this.value || 0);\n }\n\n get computedValue(): string {\n if (this.focused) {\n return this.nativeValue;\n }\n\n return this.value === null ? '' : this.formattedValue;\n }\n\n @HostListener('keydown.0', ['$event'])\n onZero(event: KeyboardEvent): void {\n const decimal =\n this.nativeValue.split(this.numberFormat.decimalSeparator)[1] || '';\n const {nativeFocusableElement} = this;\n\n if (\n decimal.length < this.precision ||\n !nativeFocusableElement ||\n !nativeFocusableElement.selectionStart ||\n this.nativeValue[nativeFocusableElement.selectionStart] !== '0'\n ) {\n return;\n }\n\n event.preventDefault();\n nativeFocusableElement.selectionStart++;\n }\n\n mask: TuiMapper<boolean, TextMaskConfig> = (\n allowNegative: boolean,\n decimal: TuiDecimalT,\n decimalLimit: number,\n nativeFocusableElement: HTMLInputElement | null,\n ) =>\n ({\n mask: tuiCreateNumberMask({\n allowNegative,\n decimalLimit,\n allowDecimal: decimal !== 'never',\n requireDecimal: decimal === 'always',\n decimalSymbol: this.numberFormat.decimalSeparator,\n thousandSymbol: this.numberFormat.thousandSeparator,\n autoCorrectDecimalSymbol: tuiEnableAutoCorrectDecimalSymbol(\n this.numberFormat,\n ),\n }),\n pipe: tuiCreateAutoCorrectedNumberPipe(\n decimal === 'always' ? decimalLimit : 0,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n nativeFocusableElement,\n allowNegative,\n this.isIOS,\n ),\n guide: false,\n } as TuiTextMaskOptions as unknown as TextMaskConfig);\n\n onValueChange(value: string): void {\n if (maskedMoneyValueIsEmpty(value)) {\n this.updateValue(null);\n\n return;\n }\n\n if (this.isNativeValueNotFinished) {\n this.unfinishedValue = value;\n\n return;\n }\n\n this.unfinishedValue = null;\n const capped = this.absoluteCapInputValue(value);\n\n if (capped === null || Number.isNaN(capped)) {\n return;\n }\n\n this.updateValue(capped);\n\n if (\n capped !==\n tuiMaskedNumberStringToNumber(\n value,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n )\n ) {\n this.nativeValue = this.formattedValue;\n }\n }\n\n onKeyDown(event: KeyboardEvent): void {\n if (!TUI_DECIMAL_SYMBOLS.includes(event.key)) {\n return;\n }\n\n if (this.decimal === 'never') {\n event.preventDefault();\n\n return;\n }\n\n if (this.nativeValue.includes(this.numberFormat.decimalSeparator)) {\n event.preventDefault();\n this.setCaretAfterComma();\n }\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n\n if (focused) {\n return;\n }\n\n const nativeNumberValue = this.unfinishedValue\n ? tuiMaskedNumberStringToNumber(\n this.unfinishedValue,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n )\n : this.nativeNumberValue;\n\n this.unfinishedValue = null;\n\n if (Number.isNaN(nativeNumberValue)) {\n this.clear();\n\n return;\n }\n\n const clamped = Math.min(this.max, Math.max(this.min, nativeNumberValue));\n\n this.updateValue(clamped);\n this.nativeValue = this.formattedValue;\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n getFormattedValue(value: number): string {\n const absValue = Math.abs(value);\n const hasFraction = absValue % 1 > 0;\n let limit =\n this.decimal === 'always' || (hasFraction && this.decimal !== 'never')\n ? this.precision\n : 0;\n\n const fraction = hasFraction ? getFractionPartPadded(value, this.precision) : '';\n\n if (this.focused && this.decimal !== 'always') {\n limit = fraction.length;\n }\n\n return formatNumber(\n value,\n limit,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n this.numberFormat.zeroPadding,\n );\n }\n\n private get isNativeValueNotFinished(): boolean {\n const nativeNumberValue = this.nativeNumberValue;\n\n return nativeNumberValue < 0\n ? nativeNumberValue > this.max\n : nativeNumberValue < this.min;\n }\n\n get nativeValue(): string {\n return this.nativeFocusableElement ? this.nativeFocusableElement.value : '';\n }\n\n set nativeValue(value: string) {\n if (!this.primitiveTextfield || !this.nativeFocusableElement) {\n return;\n }\n\n this.primitiveTextfield.value = value;\n this.nativeFocusableElement.value = value;\n }\n\n private get nativeNumberValue(): number {\n return tuiMaskedNumberStringToNumber(\n this.nativeValue,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n );\n }\n\n private clear(): void {\n this.nativeValue = '';\n this.updateValue(null);\n }\n\n private absoluteCapInputValue(inputValue: string): number | null {\n const value = tuiMaskedNumberStringToNumber(\n inputValue,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n );\n const capped =\n value < 0\n ? Math.max(Math.max(this.min, Number.MIN_SAFE_INTEGER), value)\n : Math.min(value, Math.min(this.max, Number.MAX_SAFE_INTEGER));\n const ineligibleValue =\n Number.isNaN(capped) || capped < this.min || capped > this.max;\n\n return ineligibleValue ? null : capped;\n }\n\n private setCaretAfterComma(): void {\n if (!this.nativeFocusableElement) {\n return;\n }\n\n const afterCommaPosition = this.nativeValue.length - this.precision;\n\n this.nativeFocusableElement.setSelectionRange(\n afterCommaPosition,\n afterCommaPosition,\n );\n }\n}\n","import {Directive, DoCheck, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiInputNumberComponent} from './input-number.component';\n\n@Directive({\n selector: 'tui-input-number',\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiInputNumberDirective),\n },\n ],\n})\nexport class TuiInputNumberDirective\n extends TuiAbstractTextfieldHost<TuiInputNumberComponent>\n implements DoCheck\n{\n input?: HTMLInputElement;\n\n get value(): string {\n return this.host.computedValue;\n }\n\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n\n process(input: HTMLInputElement): void {\n this.input = input;\n }\n\n ngDoCheck(): void {\n if (!this.input) {\n return;\n }\n\n this.input.maxLength = this.host.calculatedMaxLength;\n this.input.inputMode = 'decimal';\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiMapperPipeModule} from '@taiga-ui/cdk';\nimport {\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit/directives';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {TextMaskModule} from 'angular2-text-mask';\n\nimport {TuiInputNumberComponent} from './input-number.component';\nimport {TuiInputNumberDirective} from './input-number.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n TextMaskModule,\n TuiMapperPipeModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n PolymorpheusModule,\n ],\n declarations: [TuiInputNumberComponent, TuiInputNumberDirective],\n exports: [TuiInputNumberComponent, TuiInputNumberDirective, TuiTextfieldComponent],\n})\nexport class TuiInputNumberModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AA4CA,MAAM,kBAAkB,GAAG,EAAE,CAAC;AAE9B;IAiBa,uBAAuB,+BAApC,MAAa,uBACT,SAAQ,0BAAkC;IAmC1C,YAII,OAAyB,EAEzB,iBAAoC,EAEnB,YAAqC,EACjB,KAAc;QAEnD,KAAK,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;QAHjB,iBAAY,GAAZ,YAAY,CAAyB;QACjB,UAAK,GAAL,KAAK,CAAS;QAtC/C,oBAAe,GAAkB,EAAE,CAAC;QAI5C,QAAG,GAAG,CAAC,QAAQ,CAAC;QAIhB,QAAG,GAAG,QAAQ,CAAC;QAIf,YAAO,GAAgB,UAAU,CAAC;QAIlC,cAAS,GAAG,CAAC,CAAC;QAId,WAAM,GAAG,EAAE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EAAE,kBAAkB;gBAC3B,WAAW,EAAE,UAAU,CAAC,MAAM,yBAAuB,CAAC;aACzD;SACJ;KACJ,CAAC;GACW,uBAAuB,CA0BnC;;ICZY,oBAAoB,GAAjC,MAAa,oBAAoB;EAAG;AAAvB,oBAAoB;IAbhC,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,cAAc;YACd,mBAAmB;YACnB,2BAA2B;YAC3B,4BAA4B;YAC5B,sBAAsB;YACtB,kBAAkB;SACrB;QACD,YAAY,EAAE,CAAC,uBAAuB,EAAE,uBAAuB,CAAC;QAChE,OAAO,EAAE,CAAC,uBAAuB,EAAE,uBAAuB,EAAE,qBAAqB,CAAC;KACrF,CAAC;GACW,oBAAoB,CAAG;;AC5BpC;;;;;;"}
@@ -39,7 +39,7 @@ let TuiInputPasswordComponent = TuiInputPasswordComponent_1 = class TuiInputPass
39
39
  this.mode$ = mode$;
40
40
  this.isPasswordHidden = true;
41
41
  this.computedMode$ = combineLatest([
42
- this.mode$.pipe(map(val => (val === `onDark` ? `onDark` : null))),
42
+ this.mode$.pipe(map(val => (val === 'onDark' ? 'onDark' : null))),
43
43
  this.hintController.change$.pipe(startWith(null), map(() => this.hintController.mode)),
44
44
  ]).pipe(map(([mode, controller]) => controller || mode), startWith(null));
45
45
  }
@@ -58,7 +58,7 @@ let TuiInputPasswordComponent = TuiInputPasswordComponent_1 = class TuiInputPass
58
58
  return this.getContext(this.textfieldSize.size);
59
59
  }
60
60
  get inputType() {
61
- return this.isPasswordHidden || !this.interactive ? `password` : `text`;
61
+ return this.isPasswordHidden || !this.interactive ? 'password' : 'text';
62
62
  }
63
63
  onValueChange(textValue) {
64
64
  this.updateValue(textValue);
@@ -76,7 +76,7 @@ let TuiInputPasswordComponent = TuiInputPasswordComponent_1 = class TuiInputPass
76
76
  this.isPasswordHidden = !this.isPasswordHidden;
77
77
  }
78
78
  getFallbackValue() {
79
- return ``;
79
+ return '';
80
80
  }
81
81
  getContext($implicit) {
82
82
  return { $implicit };
@@ -99,7 +99,7 @@ __decorate([
99
99
  ], TuiInputPasswordComponent.prototype, "getContext", null);
100
100
  TuiInputPasswordComponent = TuiInputPasswordComponent_1 = __decorate([
101
101
  Component({
102
- selector: `tui-input-password`,
102
+ selector: 'tui-input-password',
103
103
  template: "<tui-primitive-textfield\n class=\"t-textfield\"\n [pseudoFocused]=\"pseudoFocused\"\n [pseudoHovered]=\"pseudoHovered\"\n [pseudoPressed]=\"pseudoPressed\"\n [invalid]=\"computedInvalid\"\n [focusable]=\"focusable\"\n [nativeId]=\"nativeId\"\n [tuiTextfieldType]=\"inputType\"\n [disabled]=\"computedDisabled\"\n [readOnly]=\"readOnly\"\n [iconContent]=\"interactive ? iconContent : null\"\n [value]=\"value\"\n (valueChange)=\"onValueChange($event)\"\n (focusedChange)=\"onFocused($event)\"\n (hoveredChange)=\"onHovered($event)\"\n (pressedChange)=\"onPressed($event)\"\n>\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n</tui-primitive-textfield>\n\n<ng-template\n #iconContent=\"polymorpheus\"\n [polymorpheus]=\"type\"\n>\n <span\n *ngIf=\"passwordTexts$ | async as texts\"\n polymorpheus-outlet\n [content]=\"icon\"\n [context]=\"context\"\n >\n <ng-template let-icon>\n <tui-svg\n automation-id=\"tui-password__icon\"\n tuiHintId=\"not_required\"\n class=\"t-icon\"\n [tuiHint]=\"texts[0] && texts[1] && hintContent\"\n [tuiHintDirection]=\"hintController.direction\"\n [tuiHintMode]=\"computedMode$ | async\"\n [src]=\"icon\"\n (click)=\"togglePasswordVisibility()\"\n ></tui-svg>\n </ng-template>\n\n <ng-template\n #hintContent=\"polymorpheus\"\n polymorpheus\n >\n {{ isPasswordHidden ? texts[0] : texts[1] }}\n </ng-template>\n </span>\n</ng-template>\n",
104
104
  changeDetection: ChangeDetectionStrategy.OnPush,
105
105
  providers: [
@@ -137,13 +137,13 @@ let TuiInputPasswordDirective = TuiInputPasswordDirective_1 = class TuiInputPass
137
137
  }
138
138
  ngDoCheck() {
139
139
  if (this.input) {
140
- this.input.type = this.host.isPasswordHidden ? `password` : `text`;
140
+ this.input.type = this.host.isPasswordHidden ? 'password' : 'text';
141
141
  }
142
142
  }
143
143
  };
144
144
  TuiInputPasswordDirective = TuiInputPasswordDirective_1 = __decorate([
145
145
  Directive({
146
- selector: `tui-input-password`,
146
+ selector: 'tui-input-password',
147
147
  providers: [
148
148
  {
149
149
  provide: TUI_TEXTFIELD_HOST,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-input-password.js","sources":["ng://@taiga-ui/kit/components/input-password/input-password-options.ts","ng://@taiga-ui/kit/components/input-password/input-password.component.ts","ng://@taiga-ui/kit/components/input-password/input-password.directive.ts","ng://@taiga-ui/kit/components/input-password/input-password.module.ts","ng://@taiga-ui/kit/components/input-password/taiga-ui-kit-components-input-password.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputPasswordOptions {\n readonly icons: Readonly<{\n hide: PolymorpheusContent<TuiContextWithImplicit<TuiSizeS | TuiSizeL>>;\n show: PolymorpheusContent<TuiContextWithImplicit<TuiSizeS | TuiSizeL>>;\n }>;\n}\n\n/**\n * @deprecated: use TuiInputPasswordOptions instead\n * todo: remove in 3.0\n */\nexport type InputPasswordOptions = TuiInputPasswordOptions;\n\n// TODO: 3.0 remove in ivy compilation\nexport const PASSWORD_ICON_HIDE = ({\n $implicit,\n}: TuiContextWithImplicit<TuiSizeS | TuiSizeL>):\n | 'tuiIconEyeClosed'\n | 'tuiIconHideLarge' => ($implicit === `s` ? `tuiIconEyeClosed` : `tuiIconHideLarge`);\n\nexport const PASSWORD_ICON_SHOW = ({\n $implicit,\n}: TuiContextWithImplicit<TuiSizeS | TuiSizeL>): 'tuiIconEyeOpen' | 'tuiIconShowLarge' =>\n $implicit === `s` ? `tuiIconEyeOpen` : `tuiIconShowLarge`;\n\n/** Default values for the input password options. */\nexport const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS: TuiInputPasswordOptions = {\n icons: {\n hide: PASSWORD_ICON_HIDE,\n show: PASSWORD_ICON_SHOW,\n },\n};\n\nexport const TUI_INPUT_PASSWORD_OPTIONS = new InjectionToken<TuiInputPasswordOptions>(\n `Default parameters for input password component`,\n {\n factory: () => TUI_INPUT_PASSWORD_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiInputPasswordOptionsProvider: (\n options: Partial<TuiInputPasswordOptions>,\n) => ValueProvider = (options: Partial<TuiInputPasswordOptions>) => ({\n provide: TUI_INPUT_PASSWORD_OPTIONS,\n useValue: {...TUI_INPUT_PASSWORD_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Inject,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiContextWithImplicit,\n TuiFocusableElementAccessor,\n TuiInputTypeT,\n TuiNativeFocusableElement,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n HINT_CONTROLLER_PROVIDER,\n MODE_PROVIDER,\n TUI_HINT_WATCHED_CONTROLLER,\n TUI_MODE,\n TUI_TEXTFIELD_SIZE,\n TuiBrightness,\n TuiHintControllerDirective,\n TuiHintModeT,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeS,\n TuiTextfieldSizeDirective,\n} from '@taiga-ui/core';\nimport {TUI_PASSWORD_TEXTS} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {combineLatest, Observable} from 'rxjs';\nimport {map, startWith} from 'rxjs/operators';\n\nimport {\n TUI_INPUT_PASSWORD_OPTIONS,\n TuiInputPasswordOptions,\n} from './input-password-options';\n\n// @dynamic\n@Component({\n selector: `tui-input-password`,\n templateUrl: `./input-password.template.html`,\n styleUrls: [`./input-password.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputPasswordComponent),\n },\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiInputPasswordComponent),\n },\n HINT_CONTROLLER_PROVIDER,\n MODE_PROVIDER,\n ],\n})\nexport class TuiInputPasswordComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n isPasswordHidden = true;\n\n readonly computedMode$: Observable<TuiHintModeT | null> = combineLatest([\n this.mode$.pipe(map(val => (val === `onDark` ? `onDark` : null))),\n this.hintController.change$.pipe(\n startWith(null),\n map(() => this.hintController.mode),\n ),\n ]).pipe(\n map(([mode, controller]) => controller || mode),\n startWith(null),\n );\n\n readonly type!: TuiContextWithImplicit<TuiSizeS | TuiSizeL>;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_SIZE)\n private readonly textfieldSize: TuiTextfieldSizeDirective,\n @Inject(TUI_PASSWORD_TEXTS)\n readonly passwordTexts$: Observable<[string, string]>,\n @Inject(TUI_INPUT_PASSWORD_OPTIONS)\n readonly options: TuiInputPasswordOptions,\n @Inject(TUI_HINT_WATCHED_CONTROLLER)\n readonly hintController: TuiHintControllerDirective,\n @Inject(TUI_MODE)\n private readonly mode$: Observable<TuiBrightness | null>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.computedDisabled || !this.textfield\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n get focused(): boolean {\n return !!this.textfield && this.textfield.focused;\n }\n\n get icon(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeS | TuiSizeL>> {\n return this.isPasswordHidden ? this.options.icons.hide : this.options.icons.show;\n }\n\n get context(): TuiContextWithImplicit<TuiSizeS | TuiSizeL> {\n return this.getContext(this.textfieldSize.size);\n }\n\n get inputType(): TuiInputTypeT {\n return this.isPasswordHidden || !this.interactive ? `password` : `text`;\n }\n\n onValueChange(textValue: string): void {\n this.updateValue(textValue);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n togglePasswordVisibility(): void {\n this.isPasswordHidden = !this.isPasswordHidden;\n }\n\n protected getFallbackValue(): string {\n return ``;\n }\n\n @tuiPure\n private getContext(\n $implicit: TuiSizeS | TuiSizeL,\n ): TuiContextWithImplicit<TuiSizeS | TuiSizeL> {\n return {$implicit};\n }\n}\n","import {Directive, DoCheck, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiInputPasswordComponent} from './input-password.component';\n\n@Directive({\n selector: `tui-input-password`,\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiInputPasswordDirective),\n },\n ],\n})\nexport class TuiInputPasswordDirective\n extends TuiAbstractTextfieldHost<TuiInputPasswordComponent>\n implements DoCheck\n{\n input?: HTMLInputElement;\n\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n\n process(input: HTMLInputElement): void {\n this.input = input;\n }\n\n ngDoCheck(): void {\n if (this.input) {\n this.input.type = this.host.isPasswordHidden ? `password` : `text`;\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {\n TuiHintModule,\n TuiPrimitiveTextfieldModule,\n TuiSvgModule,\n TuiTextfieldComponent,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputPasswordComponent} from './input-password.component';\nimport {TuiInputPasswordDirective} from './input-password.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiSvgModule,\n TuiHintModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n ],\n declarations: [TuiInputPasswordComponent, TuiInputPasswordDirective],\n exports: [\n TuiInputPasswordComponent,\n TuiInputPasswordDirective,\n TuiTextfieldComponent,\n ],\n})\nexport class TuiInputPasswordModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAkBA;MACa,kBAAkB,GAAG,CAAC,EAC/B,SAAS,GACiC,MAEjB,SAAS,KAAK,GAAG,GAAG,kBAAkB,GAAG,kBAAkB,EAAE;MAE7E,kBAAkB,GAAG,CAAC,EAC/B,SAAS,GACiC,KAC1C,SAAS,KAAK,GAAG,GAAG,gBAAgB,GAAG,mBAAmB;AAE9D;MACa,kCAAkC,GAA4B;IACvE,KAAK,EAAE;QACH,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,kBAAkB;KAC3B;EACH;MAEW,0BAA0B,GAAG,IAAI,cAAc,CACxD,iDAAiD,EACjD;IACI,OAAO,EAAE,MAAM,kCAAkC;CACpD,EACH;MAEW,+BAA+B,GAEvB,CAAC,OAAyC,MAAM;IACjE,OAAO,EAAE,0BAA0B;IACnC,QAAQ,kCAAM,kCAAkC,GAAK,OAAO,CAAC;CAChE;;;ACND;IAmBa,yBAAyB,iCAAtC,MAAa,yBACT,SAAQ,kBAA0B;IAqBlC,YAII,OAAyB,EACE,iBAAoC,EAE9C,aAAwC,EAEhD,cAA4C,EAE5C,OAAgC,EAEhC,cAA0C,EAElC,KAAuC;QAExD,KAAK,CAAC,OAAO,E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AkB;YAClB,YAAY;YACZ,aAAa;YACb,2BAA2B;YAC3B,4BAA4B;SAC/B;QACD,YAAY,EAAE,CAAC,yBAAyB,EAAE,yBAAyB,CAAC;QACpE,OAAO,EAAE;YACL,yBAAyB;YACzB,yBAAyB;YACzB,qBAAqB;SACxB;KACJ,CAAC;GACW,sBAAsB,CAAG;;AChCtC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-input-password.js","sources":["ng://@taiga-ui/kit/components/input-password/input-password-options.ts","ng://@taiga-ui/kit/components/input-password/input-password.component.ts","ng://@taiga-ui/kit/components/input-password/input-password.directive.ts","ng://@taiga-ui/kit/components/input-password/input-password.module.ts","ng://@taiga-ui/kit/components/input-password/taiga-ui-kit-components-input-password.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputPasswordOptions {\n readonly icons: Readonly<{\n hide: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;\n show: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;\n }>;\n}\n\n/**\n * @deprecated: use TuiInputPasswordOptions instead\n * todo: remove in 3.0\n */\nexport type InputPasswordOptions = TuiInputPasswordOptions;\n\n// TODO: 3.0 remove in ivy compilation\nexport const PASSWORD_ICON_HIDE = ({\n $implicit,\n}: TuiContextWithImplicit<TuiSizeL | TuiSizeS>):\n | 'tuiIconEyeClosed'\n | 'tuiIconHideLarge' => ($implicit === `s` ? `tuiIconEyeClosed` : `tuiIconHideLarge`);\n\nexport const PASSWORD_ICON_SHOW = ({\n $implicit,\n}: TuiContextWithImplicit<TuiSizeL | TuiSizeS>): 'tuiIconEyeOpen' | 'tuiIconShowLarge' =>\n $implicit === `s` ? `tuiIconEyeOpen` : `tuiIconShowLarge`;\n\n/** Default values for the input password options. */\nexport const TUI_INPUT_PASSWORD_DEFAULT_OPTIONS: TuiInputPasswordOptions = {\n icons: {\n hide: PASSWORD_ICON_HIDE,\n show: PASSWORD_ICON_SHOW,\n },\n};\n\nexport const TUI_INPUT_PASSWORD_OPTIONS = new InjectionToken<TuiInputPasswordOptions>(\n `Default parameters for input password component`,\n {\n factory: () => TUI_INPUT_PASSWORD_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiInputPasswordOptionsProvider: (\n options: Partial<TuiInputPasswordOptions>,\n) => ValueProvider = (options: Partial<TuiInputPasswordOptions>) => ({\n provide: TUI_INPUT_PASSWORD_OPTIONS,\n useValue: {...TUI_INPUT_PASSWORD_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n Inject,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiContextWithImplicit,\n TuiFocusableElementAccessor,\n TuiInputTypeT,\n TuiNativeFocusableElement,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n HINT_CONTROLLER_PROVIDER,\n MODE_PROVIDER,\n TUI_HINT_WATCHED_CONTROLLER,\n TUI_MODE,\n TUI_TEXTFIELD_SIZE,\n TuiBrightness,\n TuiHintControllerDirective,\n TuiHintModeT,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeS,\n TuiTextfieldSizeDirective,\n} from '@taiga-ui/core';\nimport {TUI_PASSWORD_TEXTS} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {combineLatest, Observable} from 'rxjs';\nimport {map, startWith} from 'rxjs/operators';\n\nimport {\n TUI_INPUT_PASSWORD_OPTIONS,\n TuiInputPasswordOptions,\n} from './input-password-options';\n\n// @dynamic\n@Component({\n selector: 'tui-input-password',\n templateUrl: './input-password.template.html',\n styleUrls: ['./input-password.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputPasswordComponent),\n },\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiInputPasswordComponent),\n },\n HINT_CONTROLLER_PROVIDER,\n MODE_PROVIDER,\n ],\n})\nexport class TuiInputPasswordComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n isPasswordHidden = true;\n\n readonly computedMode$: Observable<TuiHintModeT | null> = combineLatest([\n this.mode$.pipe(map(val => (val === 'onDark' ? 'onDark' : null))),\n this.hintController.change$.pipe(\n startWith(null),\n map(() => this.hintController.mode),\n ),\n ]).pipe(\n map(([mode, controller]) => controller || mode),\n startWith(null),\n );\n\n readonly type!: TuiContextWithImplicit<TuiSizeL | TuiSizeS>;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_SIZE)\n private readonly textfieldSize: TuiTextfieldSizeDirective,\n @Inject(TUI_PASSWORD_TEXTS)\n readonly passwordTexts$: Observable<[string, string]>,\n @Inject(TUI_INPUT_PASSWORD_OPTIONS)\n readonly options: TuiInputPasswordOptions,\n @Inject(TUI_HINT_WATCHED_CONTROLLER)\n readonly hintController: TuiHintControllerDirective,\n @Inject(TUI_MODE)\n private readonly mode$: Observable<TuiBrightness | null>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.computedDisabled || !this.textfield\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n get focused(): boolean {\n return !!this.textfield && this.textfield.focused;\n }\n\n get icon(): PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>> {\n return this.isPasswordHidden ? this.options.icons.hide : this.options.icons.show;\n }\n\n get context(): TuiContextWithImplicit<TuiSizeL | TuiSizeS> {\n return this.getContext(this.textfieldSize.size);\n }\n\n get inputType(): TuiInputTypeT {\n return this.isPasswordHidden || !this.interactive ? 'password' : 'text';\n }\n\n onValueChange(textValue: string): void {\n this.updateValue(textValue);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n togglePasswordVisibility(): void {\n this.isPasswordHidden = !this.isPasswordHidden;\n }\n\n protected getFallbackValue(): string {\n return '';\n }\n\n @tuiPure\n private getContext(\n $implicit: TuiSizeL | TuiSizeS,\n ): TuiContextWithImplicit<TuiSizeL | TuiSizeS> {\n return {$implicit};\n }\n}\n","import {Directive, DoCheck, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiInputPasswordComponent} from './input-password.component';\n\n@Directive({\n selector: 'tui-input-password',\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiInputPasswordDirective),\n },\n ],\n})\nexport class TuiInputPasswordDirective\n extends TuiAbstractTextfieldHost<TuiInputPasswordComponent>\n implements DoCheck\n{\n input?: HTMLInputElement;\n\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n\n process(input: HTMLInputElement): void {\n this.input = input;\n }\n\n ngDoCheck(): void {\n if (this.input) {\n this.input.type = this.host.isPasswordHidden ? 'password' : 'text';\n }\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {\n TuiHintModule,\n TuiPrimitiveTextfieldModule,\n TuiSvgModule,\n TuiTextfieldComponent,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputPasswordComponent} from './input-password.component';\nimport {TuiInputPasswordDirective} from './input-password.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiSvgModule,\n TuiHintModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n ],\n declarations: [TuiInputPasswordComponent, TuiInputPasswordDirective],\n exports: [\n TuiInputPasswordComponent,\n TuiInputPasswordDirective,\n TuiTextfieldComponent,\n ],\n})\nexport class TuiInputPasswordModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;AAkBA;MACa,kBAAkB,GAAG,CAAC,EAC/B,SAAS,GACiC,MAEjB,SAAS,KAAK,GAAG,GAAG,kBAAkB,GAAG,kBAAkB,EAAE;MAE7E,kBAAkB,GAAG,CAAC,EAC/B,SAAS,GACiC,KAC1C,SAAS,KAAK,GAAG,GAAG,gBAAgB,GAAG,mBAAmB;AAE9D;MACa,kCAAkC,GAA4B;IACvE,KAAK,EAAE;QACH,IAAI,EAAE,kBAAkB;QACxB,IAAI,EAAE,kBAAkB;KAC3B;EACH;MAEW,0BAA0B,GAAG,IAAI,cAAc,CACxD,iDAAiD,EACjD;IACI,OAAO,EAAE,MAAM,kCAAkC;CACpD,EACH;MAEW,+BAA+B,GAEvB,CAAC,OAAyC,MAAM;IACjE,OAAO,EAAE,0BAA0B;IACnC,QAAQ,kCAAM,kCAAkC,GAAK,OAAO,CAAC;CAChE;;;ACND;IAmBa,yBAAyB,iCAAtC,MAAa,yBACT,SAAQ,kBAA0B;IAqBlC,YAII,OAAyB,EACE,iBAAoC,EAE9C,aAAwC,EAEhD,cAA4C,EAE5C,OAAgC,EAEhC,cAA0C,EAElC,KAAuC;QAExD,KAAK,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;QAVjB,kBAAa,GAAb,aAAa,CAA2B;QAEhD,mBAAc,GAAd,cAAc,CAA8B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AyB,EAAE,yBAAyB,CAAC;QACpE,OAAO,EAAE;YACL,yBAAyB;YACzB,yBAAyB;YACzB,qBAAqB;SACxB;KACJ,CAAC;GACW,sBAAsB,CAAG;;AChCtC;;;;;;"}
@@ -521,7 +521,7 @@ let TuiInputPhoneInternationalComponent = TuiInputPhoneInternationalComponent_1
521
521
  this.open = false;
522
522
  this.arrow = TUI_ARROW;
523
523
  this.isoToCountryCodeMapper = item => this.isoToCountryCode(item);
524
- this.staticPath = iconsPath(`tuiIcon`).replace(`tuiIcon.svg#tuiIcon`, ``);
524
+ this.staticPath = iconsPath('tuiIcon').replace('tuiIcon.svg#tuiIcon', '');
525
525
  }
526
526
  set isoCode(code) {
527
527
  var _a;
@@ -548,16 +548,16 @@ let TuiInputPhoneInternationalComponent = TuiInputPhoneInternationalComponent_1
548
548
  return this.getFlagPath(this.countryIsoCode);
549
549
  }
550
550
  onPaste(event) {
551
- let value = extractValueFromEvent(event).replace(TUI_NON_DIGITS_REGEXP, ``);
551
+ let value = extractValueFromEvent(event).replace(TUI_NON_DIGITS_REGEXP, '');
552
552
  const countryIsoCode = this.extractCountryCode(value);
553
553
  if (!countryIsoCode) {
554
554
  this.updateValue(`${this.inputPhoneCountryCode}${value}`
555
- .replace(TUI_MASK_SYMBOLS_REGEXP, ``)
555
+ .replace(TUI_MASK_SYMBOLS_REGEXP, '')
556
556
  .slice(0, this.getMaxAllowedLength(this.countryIsoCode)));
557
557
  return;
558
558
  }
559
559
  if (countryIsoCode === TuiCountryIsoCode$1.RU) {
560
- value = value.replace(/^8/, `7`);
560
+ value = value.replace(/^8/, '7');
561
561
  }
562
562
  this.updateCountryIsoCode(countryIsoCode);
563
563
  this.updateValue(`${CHAR_PLUS}${value}`);
@@ -583,7 +583,7 @@ let TuiInputPhoneInternationalComponent = TuiInputPhoneInternationalComponent_1
583
583
  this.close();
584
584
  }
585
585
  isoToCountryCode(isoCode) {
586
- return this.countriesMasks[isoCode].replace(MASK_AFTER_CODE_REGEXP, ``);
586
+ return this.countriesMasks[isoCode].replace(MASK_AFTER_CODE_REGEXP, '');
587
587
  }
588
588
  onModelChange(value) {
589
589
  this.updateValue(value);
@@ -592,16 +592,16 @@ let TuiInputPhoneInternationalComponent = TuiInputPhoneInternationalComponent_1
592
592
  this.updateFocused(active);
593
593
  }
594
594
  getFallbackValue() {
595
- return ``;
595
+ return '';
596
596
  }
597
597
  calculateMaskAfterCountryCode(mask, countryCode) {
598
- return mask.replace(countryCode, ``).trim();
598
+ return mask.replace(countryCode, '').trim();
599
599
  }
600
600
  close() {
601
601
  this.open = false;
602
602
  }
603
603
  getMaxAllowedLength(isoCode) {
604
- return this.countriesMasks[isoCode].replace(/[()\- ]/g, ``).length;
604
+ return this.countriesMasks[isoCode].replace(/[()\- ]/g, '').length;
605
605
  }
606
606
  updateCountryIsoCode(code) {
607
607
  this.countryIsoCode = code;
@@ -614,7 +614,7 @@ let TuiInputPhoneInternationalComponent = TuiInputPhoneInternationalComponent_1
614
614
  /^(?!880[1-9 ])/.test(value) &&
615
615
  value.length + 1 === this.getMaxAllowedLength(TuiCountryIsoCode$1.RU);
616
616
  return (ruCodeTest ||
617
- (value.startsWith(this.isoToCountryCode(countryIsoCode).replace(CHAR_PLUS, ``)) &&
617
+ (value.startsWith(this.isoToCountryCode(countryIsoCode).replace(CHAR_PLUS, '')) &&
618
618
  value.length + 1 === this.getMaxAllowedLength(countryIsoCode)));
619
619
  });
620
620
  }
@@ -634,7 +634,7 @@ __decorate([
634
634
  ViewChild(TuiPrimitiveTextfieldComponent)
635
635
  ], TuiInputPhoneInternationalComponent.prototype, "primitiveTextfield", void 0);
636
636
  __decorate([
637
- Input(`countryIsoCode`),
637
+ Input('countryIsoCode'),
638
638
  tuiDefaultProp()
639
639
  ], TuiInputPhoneInternationalComponent.prototype, "isoCode", null);
640
640
  __decorate([
@@ -644,15 +644,15 @@ __decorate([
644
644
  Output()
645
645
  ], TuiInputPhoneInternationalComponent.prototype, "countryIsoCodeChange", void 0);
646
646
  __decorate([
647
- HostListener(`paste.capture.prevent.stop`, [`$event`]),
648
- HostListener(`drop.capture.prevent.stop`, [`$event`])
647
+ HostListener('paste.capture.prevent.stop', ['$event']),
648
+ HostListener('drop.capture.prevent.stop', ['$event'])
649
649
  ], TuiInputPhoneInternationalComponent.prototype, "onPaste", null);
650
650
  __decorate([
651
651
  tuiPure
652
652
  ], TuiInputPhoneInternationalComponent.prototype, "calculateMaskAfterCountryCode", null);
653
653
  TuiInputPhoneInternationalComponent = TuiInputPhoneInternationalComponent_1 = __decorate([
654
654
  Component({
655
- selector: `tui-input-phone-international`,
655
+ selector: 'tui-input-phone-international',
656
656
  template: "<tui-hosted-dropdown\n *tuiLet=\"countriesNames$ | async as countriesNames\"\n class=\"t-hosted-dropdown\"\n [content]=\"dropdown\"\n [canOpen]=\"!readOnly\"\n [(open)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <div tuiGroup>\n <tui-primitive-textfield\n tuiHostedDropdownHost\n class=\"t-country-select tui-group__auto-width-item\"\n [tuiTextfieldCustomContent]=\"countryValueContent\"\n [tuiTextfieldLabelOutside]=\"true\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [editable]=\"false\"\n [iconContent]=\"arrow\"\n [pseudoFocused]=\"open || null\"\n [readOnly]=\"readOnly\"\n [tuiHintContent]=\"null\"\n ></tui-primitive-textfield>\n <tui-input-phone\n tuiTextfieldAutocomplete=\"off\"\n class=\"t-input-phone tui-group__auto-width-item\"\n [ngModel]=\"value\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [countryCode]=\"inputPhoneCountryCode\"\n [phoneMaskAfterCountryCode]=\"phoneMaskAfterCountryCode\"\n [readOnly]=\"readOnly\"\n [pseudoInvalid]=\"computedInvalid\"\n [pseudoFocused]=\"pseudoFocused\"\n [pseudoHovered]=\"pseudoHovered\"\n (ngModelChange)=\"onModelChange($event)\"\n >\n <ng-content></ng-content>\n </tui-input-phone>\n </div>\n\n <ng-template #dropdown>\n <tui-data-list>\n <button\n *ngFor=\"let item of countries\"\n tuiOption\n (click)=\"onItemClick(item)\"\n >\n <img\n alt=\"\"\n class=\"t-country-item-flag\"\n [src]=\"getFlagPath(item)\"\n />\n <span class=\"t-country-item-name\">\n {{ countriesNames[item] }}\n </span>\n <span class=\"t-country-item-code\">\n {{ item | tuiMapper: isoToCountryCodeMapper }}\n </span>\n </button>\n </tui-data-list>\n </ng-template>\n\n <ng-template #countryValueContent>\n <img\n class=\"t-flag\"\n [alt]=\"countriesNames[countryIsoCode]\"\n [src]=\"countryFlagPath\"\n />\n </ng-template>\n</tui-hosted-dropdown>\n",
657
657
  changeDetection: ChangeDetectionStrategy.OnPush,
658
658
  providers: [