@taiga-ui/kit 3.18.0 → 3.19.0-dev.main-9e6bc23

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 (509) hide show
  1. package/bundles/taiga-ui-kit-components-accordion.umd.js +20 -29
  2. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-action.umd.js +11 -20
  4. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-arrow.umd.js +7 -7
  6. package/bundles/taiga-ui-kit-components-avatar.umd.js +11 -20
  7. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-badge.umd.js +11 -20
  9. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-badged-content.umd.js +11 -20
  11. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +11 -20
  13. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +11 -20
  15. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +11 -20
  17. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-carousel.umd.js +23 -32
  19. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +11 -20
  21. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +11 -20
  23. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-checkbox.umd.js +12 -21
  25. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-combo-box.umd.js +17 -26
  27. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +17 -26
  29. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-elastic-container.umd.js +10 -10
  31. package/bundles/taiga-ui-kit-components-files.umd.js +14 -23
  32. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-filter.umd.js +11 -20
  34. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-input-copy.umd.js +14 -23
  36. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-count.umd.js +22 -33
  38. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +14 -23
  40. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +14 -23
  42. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-date.umd.js +14 -23
  44. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-files.umd.js +17 -26
  46. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-inline.umd.js +11 -20
  48. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +14 -23
  50. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-month.umd.js +14 -23
  52. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-number.umd.js +14 -23
  54. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-password.umd.js +14 -23
  56. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +37 -46
  58. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-phone.umd.js +14 -23
  60. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-range.umd.js +25 -61
  62. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-slider.umd.js +11 -20
  64. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-tag.umd.js +19 -25
  66. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-time.umd.js +11 -20
  68. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-year.umd.js +14 -23
  70. package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input.umd.js +14 -23
  72. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-island.umd.js +11 -20
  74. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-items-with-more.umd.js +20 -29
  76. package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +38 -31
  78. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +11 -20
  80. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +11 -20
  82. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-multi-select.umd.js +20 -29
  84. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-pagination.umd.js +11 -20
  86. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +17 -26
  88. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-progress.umd.js +23 -32
  90. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-prompt.umd.js +7 -7
  92. package/bundles/taiga-ui-kit-components-push.umd.js +23 -32
  93. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-radio-block.umd.js +11 -20
  95. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-radio-group.umd.js +11 -20
  97. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +11 -20
  99. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-radio-list.umd.js +11 -20
  101. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-radio.umd.js +11 -20
  103. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-range.umd.js +14 -23
  105. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-rating.umd.js +11 -20
  107. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +452 -0
  109. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +1 -0
  110. package/bundles/taiga-ui-kit-components-select-option.umd.js +7 -7
  111. package/bundles/taiga-ui-kit-components-select.umd.js +23 -32
  112. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-slider.umd.js +20 -29
  114. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-stepper.umd.js +14 -23
  116. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-tabs.umd.js +27 -36
  118. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-tag.umd.js +11 -20
  120. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-text-area.umd.js +22 -28
  122. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-components-tiles.umd.js +17 -26
  124. package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-toggle.umd.js +11 -20
  126. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-components-tree.umd.js +40 -43
  128. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  129. package/bundles/taiga-ui-kit-components.umd.js +10 -4
  130. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-constants.umd.js +4 -13
  132. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +11 -20
  134. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -1
  135. package/bundles/taiga-ui-kit-directives-highlight.umd.js +11 -20
  136. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  137. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +14 -23
  138. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-directives-mask.umd.js +7 -7
  140. package/bundles/taiga-ui-kit-directives-present.umd.js +7 -7
  141. package/bundles/taiga-ui-kit-directives-project-class.umd.js +11 -20
  142. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +7 -7
  144. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +7 -7
  145. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +11 -20
  146. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  147. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +14 -23
  148. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +14 -23
  150. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +11 -20
  152. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +7 -7
  154. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +7 -7
  155. package/bundles/taiga-ui-kit-pipes-to-year.umd.js +7 -7
  156. package/bundles/taiga-ui-kit-utils-mask.umd.js +4 -13
  157. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  158. package/bundles/taiga-ui-kit-utils-math.umd.js +4 -13
  159. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  160. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +4 -13
  161. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  162. package/components/index.d.ts +1 -0
  163. package/components/input-count/input-count.component.d.ts +4 -5
  164. package/components/input-phone-international/input-phone-international.component.d.ts +11 -3
  165. package/components/input-phone-international/input-phone-international.module.d.ts +1 -1
  166. package/components/input-range/input-range.component.d.ts +3 -7
  167. package/components/input-range/input-range.module.d.ts +1 -1
  168. package/components/input-tag/input-tag.component.d.ts +3 -3
  169. package/components/line-clamp/line-clamp-position.directive.d.ts +2 -1
  170. package/components/routable-dialog/generate-dialogable-route.d.ts +6 -0
  171. package/components/routable-dialog/index.d.ts +3 -0
  172. package/components/routable-dialog/package.json +10 -0
  173. package/components/routable-dialog/routable-dialog.component.d.ts +14 -0
  174. package/components/routable-dialog/routable-dialog.module.d.ts +7 -0
  175. package/components/routable-dialog/taiga-ui-kit-components-routable-dialog.d.ts +5 -0
  176. package/components/text-area/text-area.component.d.ts +3 -3
  177. package/components/tree/components/tree/tree.component.d.ts +1 -0
  178. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -0
  179. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +3 -3
  180. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +3 -3
  181. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +3 -3
  182. package/esm2015/components/accordion/accordion.component.js +3 -3
  183. package/esm2015/components/accordion/accordion.module.js +4 -4
  184. package/esm2015/components/action/action.component.js +3 -3
  185. package/esm2015/components/action/action.module.js +4 -4
  186. package/esm2015/components/arrow/arrow.component.js +3 -3
  187. package/esm2015/components/arrow/arrow.module.js +4 -4
  188. package/esm2015/components/avatar/avatar.component.js +3 -3
  189. package/esm2015/components/avatar/avatar.module.js +4 -4
  190. package/esm2015/components/badge/badge.component.js +3 -3
  191. package/esm2015/components/badge/badge.module.js +4 -4
  192. package/esm2015/components/badged-content/badged-content.component.js +3 -3
  193. package/esm2015/components/badged-content/badged-content.module.js +4 -4
  194. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +3 -3
  195. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +4 -4
  196. package/esm2015/components/calendar-month/calendar-month.component.js +3 -3
  197. package/esm2015/components/calendar-month/calendar-month.module.js +4 -4
  198. package/esm2015/components/calendar-range/calendar-range.component.js +3 -3
  199. package/esm2015/components/calendar-range/calendar-range.module.js +4 -4
  200. package/esm2015/components/carousel/carousel-autoscroll.directive.js +3 -3
  201. package/esm2015/components/carousel/carousel-buttons.directive.js +3 -3
  202. package/esm2015/components/carousel/carousel-scroll.directive.js +3 -3
  203. package/esm2015/components/carousel/carousel.component.js +3 -3
  204. package/esm2015/components/carousel/carousel.directive.js +3 -3
  205. package/esm2015/components/carousel/carousel.module.js +4 -4
  206. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  207. package/esm2015/components/checkbox/checkbox.module.js +4 -4
  208. package/esm2015/components/checkbox-block/checkbox-block.component.js +3 -3
  209. package/esm2015/components/checkbox-block/checkbox-block.module.js +4 -4
  210. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +3 -3
  211. package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +4 -4
  212. package/esm2015/components/combo-box/combo-box-strict.directive.js +3 -3
  213. package/esm2015/components/combo-box/combo-box.component.js +3 -3
  214. package/esm2015/components/combo-box/combo-box.directive.js +3 -3
  215. package/esm2015/components/combo-box/combo-box.module.js +4 -4
  216. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +3 -3
  217. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +3 -3
  218. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +3 -3
  219. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +4 -4
  220. package/esm2015/components/elastic-container/elastic-container.component.js +3 -3
  221. package/esm2015/components/elastic-container/elastic-container.directive.js +3 -3
  222. package/esm2015/components/elastic-container/elastic-container.module.js +4 -4
  223. package/esm2015/components/files/file/file.component.js +3 -3
  224. package/esm2015/components/files/files.component.js +3 -3
  225. package/esm2015/components/files/files.module.js +4 -4
  226. package/esm2015/components/filter/filter.component.js +3 -3
  227. package/esm2015/components/filter/filter.module.js +4 -4
  228. package/esm2015/components/index.js +2 -1
  229. package/esm2015/components/input/input.component.js +3 -3
  230. package/esm2015/components/input/input.directive.js +3 -3
  231. package/esm2015/components/input/input.module.js +4 -4
  232. package/esm2015/components/input-copy/input-copy.component.js +3 -3
  233. package/esm2015/components/input-copy/input-copy.directive.js +3 -3
  234. package/esm2015/components/input-copy/input-copy.module.js +4 -4
  235. package/esm2015/components/input-count/input-count.component.js +13 -15
  236. package/esm2015/components/input-count/input-count.directive.js +3 -3
  237. package/esm2015/components/input-count/input-count.module.js +4 -4
  238. package/esm2015/components/input-date/input-date.component.js +3 -3
  239. package/esm2015/components/input-date/input-date.directive.js +3 -3
  240. package/esm2015/components/input-date/input-date.module.js +4 -4
  241. package/esm2015/components/input-date-range/input-date-range.component.js +3 -3
  242. package/esm2015/components/input-date-range/input-date-range.directive.js +3 -3
  243. package/esm2015/components/input-date-range/input-date-range.module.js +4 -4
  244. package/esm2015/components/input-date-time/input-date-time.component.js +3 -3
  245. package/esm2015/components/input-date-time/input-date-time.directive.js +3 -3
  246. package/esm2015/components/input-date-time/input-date-time.module.js +4 -4
  247. package/esm2015/components/input-files/input-files.component.js +3 -3
  248. package/esm2015/components/input-files/input-files.directive.js +3 -3
  249. package/esm2015/components/input-files/input-files.module.js +4 -4
  250. package/esm2015/components/input-files/max-size-rejection-error.pipe.js +3 -3
  251. package/esm2015/components/input-inline/input-inline.component.js +3 -3
  252. package/esm2015/components/input-inline/input-inline.module.js +4 -4
  253. package/esm2015/components/input-month/input-month.component.js +3 -3
  254. package/esm2015/components/input-month/input-month.directive.js +3 -3
  255. package/esm2015/components/input-month/input-month.module.js +4 -4
  256. package/esm2015/components/input-month-range/input-month-range.component.js +3 -3
  257. package/esm2015/components/input-month-range/input-month-range.directive.js +3 -3
  258. package/esm2015/components/input-month-range/input-month-range.module.js +4 -4
  259. package/esm2015/components/input-number/input-number.component.js +3 -3
  260. package/esm2015/components/input-number/input-number.directive.js +3 -3
  261. package/esm2015/components/input-number/input-number.module.js +4 -4
  262. package/esm2015/components/input-password/input-password.component.js +3 -3
  263. package/esm2015/components/input-password/input-password.directive.js +3 -3
  264. package/esm2015/components/input-password/input-password.module.js +4 -4
  265. package/esm2015/components/input-phone/input-phone.component.js +3 -3
  266. package/esm2015/components/input-phone/input-phone.directive.js +3 -3
  267. package/esm2015/components/input-phone/input-phone.module.js +4 -4
  268. package/esm2015/components/input-phone-international/input-phone-international.component.js +27 -29
  269. package/esm2015/components/input-phone-international/input-phone-international.module.js +10 -7
  270. package/esm2015/components/input-range/input-range.component.js +11 -35
  271. package/esm2015/components/input-range/input-range.module.js +12 -9
  272. package/esm2015/components/input-slider/input-slider.component.js +3 -3
  273. package/esm2015/components/input-slider/input-slider.module.js +4 -4
  274. package/esm2015/components/input-tag/input-tag.component.js +9 -10
  275. package/esm2015/components/input-tag/input-tag.module.js +4 -4
  276. package/esm2015/components/input-time/input-time.component.js +3 -3
  277. package/esm2015/components/input-time/input-time.module.js +4 -4
  278. package/esm2015/components/input-year/input-year.component.js +3 -3
  279. package/esm2015/components/input-year/input-year.directive.js +3 -3
  280. package/esm2015/components/input-year/input-year.module.js +4 -4
  281. package/esm2015/components/island/island.component.js +3 -3
  282. package/esm2015/components/island/island.module.js +4 -4
  283. package/esm2015/components/items-with-more/items-with-more.component.js +3 -3
  284. package/esm2015/components/items-with-more/items-with-more.directive.js +3 -3
  285. package/esm2015/components/items-with-more/items-with-more.module.js +4 -4
  286. package/esm2015/components/items-with-more/items-with-more.service.js +3 -3
  287. package/esm2015/components/items-with-more/more.directive.js +3 -3
  288. package/esm2015/components/line-clamp/line-clamp-box.component.js +18 -6
  289. package/esm2015/components/line-clamp/line-clamp-position.directive.js +9 -7
  290. package/esm2015/components/line-clamp/line-clamp.component.js +3 -3
  291. package/esm2015/components/line-clamp/line-clamp.module.js +4 -4
  292. package/esm2015/components/marker-icon/marker-icon.component.js +3 -3
  293. package/esm2015/components/marker-icon/marker-icon.module.js +4 -4
  294. package/esm2015/components/multi-select/hide-selected.pipe.js +3 -3
  295. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +3 -3
  296. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +3 -3
  297. package/esm2015/components/multi-select/multi-select.component.js +3 -3
  298. package/esm2015/components/multi-select/multi-select.module.js +4 -4
  299. package/esm2015/components/multi-select-option/multi-select-option.component.js +3 -3
  300. package/esm2015/components/multi-select-option/multi-select-option.module.js +4 -4
  301. package/esm2015/components/pagination/pagination.component.js +3 -3
  302. package/esm2015/components/pagination/pagination.module.js +4 -4
  303. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +3 -3
  304. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +3 -3
  305. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +4 -4
  306. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +3 -3
  307. package/esm2015/components/progress/progress-bar/progress-bar.component.js +3 -3
  308. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +3 -3
  309. package/esm2015/components/progress/progress-circle/progress-circle.component.js +3 -3
  310. package/esm2015/components/progress/progress-label/progress-label.component.js +3 -3
  311. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +3 -3
  312. package/esm2015/components/progress/progress.module.js +4 -4
  313. package/esm2015/components/prompt/prompt.component.js +3 -3
  314. package/esm2015/components/prompt/prompt.module.js +4 -4
  315. package/esm2015/components/push/push-alert.component.js +3 -3
  316. package/esm2015/components/push/push-alert.directive.js +3 -3
  317. package/esm2015/components/push/push.component.js +3 -3
  318. package/esm2015/components/push/push.directive.js +3 -3
  319. package/esm2015/components/push/push.module.js +4 -4
  320. package/esm2015/components/push/push.service.js +3 -3
  321. package/esm2015/components/radio/radio.component.js +3 -3
  322. package/esm2015/components/radio/radio.module.js +4 -4
  323. package/esm2015/components/radio-block/radio-block.component.js +3 -3
  324. package/esm2015/components/radio-block/radio-block.module.js +4 -4
  325. package/esm2015/components/radio-group/radio-group.component.js +3 -3
  326. package/esm2015/components/radio-group/radio-group.module.js +4 -4
  327. package/esm2015/components/radio-labeled/radio-labeled.component.js +3 -3
  328. package/esm2015/components/radio-labeled/radio-labeled.module.js +4 -4
  329. package/esm2015/components/radio-list/radio-list.component.js +3 -3
  330. package/esm2015/components/radio-list/radio-list.module.js +4 -4
  331. package/esm2015/components/range/range-change.directive.js +3 -3
  332. package/esm2015/components/range/range.component.js +3 -3
  333. package/esm2015/components/range/range.module.js +4 -4
  334. package/esm2015/components/rating/rating.component.js +3 -3
  335. package/esm2015/components/rating/rating.module.js +4 -4
  336. package/esm2015/components/routable-dialog/generate-dialogable-route.js +19 -0
  337. package/esm2015/components/routable-dialog/index.js +4 -0
  338. package/esm2015/components/routable-dialog/routable-dialog.component.js +65 -0
  339. package/esm2015/components/routable-dialog/routable-dialog.module.js +16 -0
  340. package/esm2015/components/routable-dialog/taiga-ui-kit-components-routable-dialog.js +5 -0
  341. package/esm2015/components/select/native-select/native-select-group.component.js +3 -3
  342. package/esm2015/components/select/native-select/native-select.component.js +3 -3
  343. package/esm2015/components/select/native-select/native-select.js +3 -3
  344. package/esm2015/components/select/select.component.js +3 -3
  345. package/esm2015/components/select/select.directive.js +3 -3
  346. package/esm2015/components/select/select.module.js +4 -4
  347. package/esm2015/components/select-option/select-option.component.js +3 -3
  348. package/esm2015/components/select-option/select-option.module.js +4 -4
  349. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +3 -3
  350. package/esm2015/components/slider/helpers/slider-readonly.directive.js +3 -3
  351. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +3 -3
  352. package/esm2015/components/slider/slider.component.js +3 -3
  353. package/esm2015/components/slider/slider.module.js +4 -4
  354. package/esm2015/components/stepper/step/step.component.js +3 -3
  355. package/esm2015/components/stepper/stepper.component.js +3 -3
  356. package/esm2015/components/stepper/stepper.module.js +4 -4
  357. package/esm2015/components/tabs/tab/tab.component.js +3 -3
  358. package/esm2015/components/tabs/tabs/tabs.component.js +3 -3
  359. package/esm2015/components/tabs/tabs-vertical/tabs-vertical.component.js +3 -3
  360. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +5 -5
  361. package/esm2015/components/tabs/tabs.directive.js +3 -3
  362. package/esm2015/components/tabs/tabs.module.js +4 -4
  363. package/esm2015/components/tabs/underline/underline.component.js +3 -3
  364. package/esm2015/components/tag/tag.component.js +3 -3
  365. package/esm2015/components/tag/tag.module.js +4 -4
  366. package/esm2015/components/text-area/text-area.component.js +9 -10
  367. package/esm2015/components/text-area/text-area.directive.js +3 -3
  368. package/esm2015/components/text-area/text-area.module.js +4 -4
  369. package/esm2015/components/tiles/tile-handle.directive.js +3 -3
  370. package/esm2015/components/tiles/tile.component.js +3 -3
  371. package/esm2015/components/tiles/tiles.component.js +3 -3
  372. package/esm2015/components/tiles/tiles.module.js +4 -4
  373. package/esm2015/components/toggle/toggle.component.js +3 -3
  374. package/esm2015/components/toggle/toggle.module.js +4 -4
  375. package/esm2015/components/tree/components/tree/tree.component.js +9 -6
  376. package/esm2015/components/tree/components/tree-item/tree-item.component.js +7 -4
  377. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +3 -3
  378. package/esm2015/components/tree/directives/tree-children.directive.js +3 -3
  379. package/esm2015/components/tree/directives/tree-controller.directive.js +3 -3
  380. package/esm2015/components/tree/directives/tree-item-controller.directive.js +3 -3
  381. package/esm2015/components/tree/directives/tree-node.directive.js +3 -3
  382. package/esm2015/components/tree/misc/tree.service.js +3 -3
  383. package/esm2015/components/tree/tree.module.js +4 -4
  384. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +3 -3
  385. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +4 -4
  386. package/esm2015/directives/highlight/highlight.directive.js +3 -3
  387. package/esm2015/directives/highlight/highlight.module.js +4 -4
  388. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +3 -3
  389. package/esm2015/directives/lazy-loading/lazy-loading.module.js +4 -4
  390. package/esm2015/directives/lazy-loading/lazy-loading.service.js +3 -3
  391. package/esm2015/directives/mask/legacy-mask.js +7 -7
  392. package/esm2015/directives/present/present.directive.js +3 -3
  393. package/esm2015/directives/present/present.module.js +4 -4
  394. package/esm2015/directives/project-class/project-class.directive.js +3 -3
  395. package/esm2015/directives/project-class/project-class.module.js +4 -4
  396. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +3 -3
  397. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +4 -4
  398. package/esm2015/directives/value-accessor/value-accessor.directive.js +3 -3
  399. package/esm2015/directives/value-accessor/value-accessor.module.js +4 -4
  400. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +3 -3
  401. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +4 -4
  402. package/esm2015/pipes/field-error/field-error-content-pipe.js +3 -3
  403. package/esm2015/pipes/field-error/field-error-pipe.js +3 -3
  404. package/esm2015/pipes/field-error/field-error.module.js +4 -4
  405. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +3 -3
  406. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +4 -4
  407. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +3 -3
  408. package/esm2015/pipes/sort-countries/sort-countries.module.js +4 -4
  409. package/esm2015/pipes/sort-countries/sort-countries.pipe.js +3 -3
  410. package/esm2015/pipes/stringify/stringify.module.js +4 -4
  411. package/esm2015/pipes/stringify/stringify.pipe.js +3 -3
  412. package/esm2015/pipes/stringify-content/stringify-content.module.js +4 -4
  413. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +3 -3
  414. package/esm2015/pipes/to-year/to-year.module.js +4 -4
  415. package/esm2015/pipes/to-year/to-year.pipe.js +3 -3
  416. package/fesm2015/taiga-ui-kit-components-accordion.js +16 -16
  417. package/fesm2015/taiga-ui-kit-components-action.js +7 -7
  418. package/fesm2015/taiga-ui-kit-components-arrow.js +7 -7
  419. package/fesm2015/taiga-ui-kit-components-avatar.js +7 -7
  420. package/fesm2015/taiga-ui-kit-components-badge.js +7 -7
  421. package/fesm2015/taiga-ui-kit-components-badged-content.js +7 -7
  422. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +7 -7
  423. package/fesm2015/taiga-ui-kit-components-calendar-month.js +7 -7
  424. package/fesm2015/taiga-ui-kit-components-calendar-range.js +7 -7
  425. package/fesm2015/taiga-ui-kit-components-carousel.js +19 -19
  426. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +7 -7
  427. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +7 -7
  428. package/fesm2015/taiga-ui-kit-components-checkbox.js +8 -8
  429. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  430. package/fesm2015/taiga-ui-kit-components-combo-box.js +13 -13
  431. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +13 -13
  432. package/fesm2015/taiga-ui-kit-components-elastic-container.js +10 -10
  433. package/fesm2015/taiga-ui-kit-components-files.js +10 -10
  434. package/fesm2015/taiga-ui-kit-components-filter.js +7 -7
  435. package/fesm2015/taiga-ui-kit-components-input-copy.js +10 -10
  436. package/fesm2015/taiga-ui-kit-components-input-count.js +19 -21
  437. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  438. package/fesm2015/taiga-ui-kit-components-input-date-range.js +10 -10
  439. package/fesm2015/taiga-ui-kit-components-input-date-time.js +10 -10
  440. package/fesm2015/taiga-ui-kit-components-input-date.js +10 -10
  441. package/fesm2015/taiga-ui-kit-components-input-files.js +13 -13
  442. package/fesm2015/taiga-ui-kit-components-input-inline.js +7 -7
  443. package/fesm2015/taiga-ui-kit-components-input-month-range.js +10 -10
  444. package/fesm2015/taiga-ui-kit-components-input-month.js +10 -10
  445. package/fesm2015/taiga-ui-kit-components-input-number.js +10 -10
  446. package/fesm2015/taiga-ui-kit-components-input-password.js +10 -10
  447. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +34 -33
  448. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  449. package/fesm2015/taiga-ui-kit-components-input-phone.js +10 -10
  450. package/fesm2015/taiga-ui-kit-components-input-range.js +20 -41
  451. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  452. package/fesm2015/taiga-ui-kit-components-input-slider.js +7 -7
  453. package/fesm2015/taiga-ui-kit-components-input-tag.js +12 -13
  454. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  455. package/fesm2015/taiga-ui-kit-components-input-time.js +7 -7
  456. package/fesm2015/taiga-ui-kit-components-input-year.js +10 -10
  457. package/fesm2015/taiga-ui-kit-components-input.js +10 -10
  458. package/fesm2015/taiga-ui-kit-components-island.js +7 -7
  459. package/fesm2015/taiga-ui-kit-components-items-with-more.js +16 -16
  460. package/fesm2015/taiga-ui-kit-components-line-clamp.js +31 -17
  461. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  462. package/fesm2015/taiga-ui-kit-components-marker-icon.js +7 -7
  463. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +7 -7
  464. package/fesm2015/taiga-ui-kit-components-multi-select.js +16 -16
  465. package/fesm2015/taiga-ui-kit-components-pagination.js +7 -7
  466. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +13 -13
  467. package/fesm2015/taiga-ui-kit-components-progress.js +19 -19
  468. package/fesm2015/taiga-ui-kit-components-prompt.js +7 -7
  469. package/fesm2015/taiga-ui-kit-components-push.js +19 -19
  470. package/fesm2015/taiga-ui-kit-components-radio-block.js +7 -7
  471. package/fesm2015/taiga-ui-kit-components-radio-group.js +7 -7
  472. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +7 -7
  473. package/fesm2015/taiga-ui-kit-components-radio-list.js +7 -7
  474. package/fesm2015/taiga-ui-kit-components-radio.js +7 -7
  475. package/fesm2015/taiga-ui-kit-components-range.js +10 -10
  476. package/fesm2015/taiga-ui-kit-components-rating.js +7 -7
  477. package/fesm2015/taiga-ui-kit-components-routable-dialog.js +103 -0
  478. package/fesm2015/taiga-ui-kit-components-routable-dialog.js.map +1 -0
  479. package/fesm2015/taiga-ui-kit-components-select-option.js +7 -7
  480. package/fesm2015/taiga-ui-kit-components-select.js +19 -19
  481. package/fesm2015/taiga-ui-kit-components-slider.js +16 -16
  482. package/fesm2015/taiga-ui-kit-components-stepper.js +10 -10
  483. package/fesm2015/taiga-ui-kit-components-tabs.js +23 -23
  484. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  485. package/fesm2015/taiga-ui-kit-components-tag.js +7 -7
  486. package/fesm2015/taiga-ui-kit-components-text-area.js +15 -16
  487. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  488. package/fesm2015/taiga-ui-kit-components-tiles.js +13 -13
  489. package/fesm2015/taiga-ui-kit-components-toggle.js +7 -7
  490. package/fesm2015/taiga-ui-kit-components-tree.js +36 -30
  491. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  492. package/fesm2015/taiga-ui-kit-components.js +1 -0
  493. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  494. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +7 -7
  495. package/fesm2015/taiga-ui-kit-directives-highlight.js +7 -7
  496. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +10 -10
  497. package/fesm2015/taiga-ui-kit-directives-mask.js +7 -7
  498. package/fesm2015/taiga-ui-kit-directives-present.js +7 -7
  499. package/fesm2015/taiga-ui-kit-directives-project-class.js +7 -7
  500. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +7 -7
  501. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +7 -7
  502. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +7 -7
  503. package/fesm2015/taiga-ui-kit-pipes-field-error.js +10 -10
  504. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +10 -10
  505. package/fesm2015/taiga-ui-kit-pipes-sort-countries.js +7 -7
  506. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +7 -7
  507. package/fesm2015/taiga-ui-kit-pipes-stringify.js +7 -7
  508. package/fesm2015/taiga-ui-kit-pipes-to-year.js +7 -7
  509. package/package.json +6 -6
@@ -70,8 +70,8 @@ class TuiInputMonthComponent extends AbstractTuiNullableControl {
70
70
  this.open = false;
71
71
  }
72
72
  }
73
- TuiInputMonthComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputMonthComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_MONTH_FORMATTER }, { token: TUI_INPUT_DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
74
- TuiInputMonthComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputMonthComponent, selector: "tui-input-month", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", defaultActiveYear: "defaultActiveYear" }, providers: [
73
+ TuiInputMonthComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_MONTH_FORMATTER }, { token: TUI_INPUT_DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
74
+ TuiInputMonthComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputMonthComponent, selector: "tui-input-month", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler", defaultActiveYear: "defaultActiveYear" }, providers: [
75
75
  tuiAsFocusableItemAccessor(TuiInputMonthComponent),
76
76
  tuiAsControl(TuiInputMonthComponent),
77
77
  TUI_MONTH_FORMATTER_PROVIDER,
@@ -89,7 +89,7 @@ __decorate([
89
89
  __decorate([
90
90
  tuiDefaultProp()
91
91
  ], TuiInputMonthComponent.prototype, "defaultActiveYear", void 0);
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputMonthComponent, decorators: [{
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthComponent, decorators: [{
93
93
  type: Component,
94
94
  args: [{
95
95
  selector: 'tui-input-month',
@@ -156,9 +156,9 @@ class TuiInputMonthDirective extends AbstractTuiTextfieldHost {
156
156
  this.host.onValueChange(value);
157
157
  }
158
158
  }
159
- TuiInputMonthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputMonthDirective, deps: [{ token: AbstractTuiControl }, { token: TUI_MONTH_FORMATTER }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Directive });
160
- TuiInputMonthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputMonthDirective, selector: "tui-input-month", providers: [tuiAsTextfieldHost(TuiInputMonthDirective), TuiDestroyService], usesInheritance: true, ngImport: i0 });
161
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputMonthDirective, decorators: [{
159
+ TuiInputMonthDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthDirective, deps: [{ token: AbstractTuiControl }, { token: TUI_MONTH_FORMATTER }, { token: TuiDestroyService, self: true }], target: i0.ɵɵFactoryTarget.Directive });
160
+ TuiInputMonthDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputMonthDirective, selector: "tui-input-month", providers: [tuiAsTextfieldHost(TuiInputMonthDirective), TuiDestroyService], usesInheritance: true, ngImport: i0 });
161
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthDirective, decorators: [{
162
162
  type: Directive,
163
163
  args: [{
164
164
  selector: 'tui-input-month',
@@ -179,8 +179,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
179
179
 
180
180
  class TuiInputMonthModule {
181
181
  }
182
- TuiInputMonthModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputMonthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
183
- TuiInputMonthModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputMonthModule, declarations: [TuiInputMonthComponent, TuiInputMonthDirective], imports: [CommonModule,
182
+ TuiInputMonthModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
183
+ TuiInputMonthModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthModule, declarations: [TuiInputMonthComponent, TuiInputMonthDirective], imports: [CommonModule,
184
184
  TuiCalendarMonthModule,
185
185
  TuiHostedDropdownModule,
186
186
  TuiPrimitiveTextfieldModule,
@@ -188,7 +188,7 @@ TuiInputMonthModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", ver
188
188
  TuiPreventDefaultModule,
189
189
  TuiMapperPipeModule,
190
190
  TuiTextfieldControllerModule], exports: [TuiInputMonthComponent, TuiInputMonthDirective, TuiTextfieldComponent] });
191
- TuiInputMonthModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputMonthModule, imports: [[
191
+ TuiInputMonthModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthModule, imports: [[
192
192
  CommonModule,
193
193
  TuiCalendarMonthModule,
194
194
  TuiHostedDropdownModule,
@@ -198,7 +198,7 @@ TuiInputMonthModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ver
198
198
  TuiMapperPipeModule,
199
199
  TuiTextfieldControllerModule,
200
200
  ]] });
201
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputMonthModule, decorators: [{
201
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputMonthModule, decorators: [{
202
202
  type: NgModule,
203
203
  args: [{
204
204
  imports: [
@@ -193,8 +193,8 @@ class TuiInputNumberComponent extends AbstractTuiNullableControl {
193
193
  this.nativeFocusableElement.setSelectionRange(afterCommaPosition, afterCommaPosition);
194
194
  }
195
195
  }
196
- TuiInputNumberComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputNumberComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_NUMBER_FORMAT }, { token: TUI_IS_IOS }], target: i0.ɵɵFactoryTarget.Component });
197
- TuiInputNumberComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputNumberComponent, selector: "tui-input-number", inputs: { min: "min", max: "max", decimal: "decimal", precision: "precision", prefix: "prefix", postfix: "postfix" }, host: { listeners: { "keydown.0": "onZero($event)" } }, providers: [
196
+ TuiInputNumberComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputNumberComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_NUMBER_FORMAT }, { token: TUI_IS_IOS }], target: i0.ɵɵFactoryTarget.Component });
197
+ TuiInputNumberComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputNumberComponent, selector: "tui-input-number", inputs: { min: "min", max: "max", decimal: "decimal", precision: "precision", prefix: "prefix", postfix: "postfix" }, host: { listeners: { "keydown.0": "onZero($event)" } }, providers: [
198
198
  tuiAsFocusableItemAccessor(TuiInputNumberComponent),
199
199
  tuiAsControl(TuiInputNumberComponent),
200
200
  ], queries: [{ propertyName: "polymorpheusValueContent", predicate: PolymorpheusOutletDirective, descendants: true }], viewQueries: [{ propertyName: "primitiveTextfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-primitive-textfield\n tuiValueAccessor\n class=\"t-textfield\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoActive]=\"pseudoActive\"\n [invalid]=\"computedInvalid\"\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 (focusedChange)=\"onFocused($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 ngProjectAs=\"tuiContent\"\n class=\"t-value-content\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text\">\n {{ text }}\n </ng-container>\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=\"tuiContent\"></ng-content>\n</ng-template>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-textfield{border-radius:inherit;text-align:inherit}.t-value-content{width:100%}\n"], components: [{ type: i1.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }], directives: [{ type: i1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i2.TuiValueAccessorDirective, selector: "[tuiValueAccessor]" }, { type: i2.MaskedInputDirective, selector: "[textMask]", inputs: ["textMask"], exportAs: ["textMask"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "tuiMapper": i5.TuiMapperPipe, "async": i3.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -216,7 +216,7 @@ __decorate([
216
216
  __decorate([
217
217
  tuiDefaultProp()
218
218
  ], TuiInputNumberComponent.prototype, "postfix", void 0);
219
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputNumberComponent, decorators: [{
219
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputNumberComponent, decorators: [{
220
220
  type: Component,
221
221
  args: [{
222
222
  selector: 'tui-input-number',
@@ -282,9 +282,9 @@ class TuiInputNumberDirective extends AbstractTuiTextfieldHost {
282
282
  this.host.nativeFocusableElement.inputMode = 'decimal';
283
283
  }
284
284
  }
285
- TuiInputNumberDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputNumberDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
286
- TuiInputNumberDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputNumberDirective, selector: "tui-input-number", providers: [tuiAsTextfieldHost(TuiInputNumberDirective)], usesInheritance: true, ngImport: i0 });
287
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputNumberDirective, decorators: [{
285
+ TuiInputNumberDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputNumberDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
286
+ TuiInputNumberDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputNumberDirective, selector: "tui-input-number", providers: [tuiAsTextfieldHost(TuiInputNumberDirective)], usesInheritance: true, ngImport: i0 });
287
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputNumberDirective, decorators: [{
288
288
  type: Directive,
289
289
  args: [{
290
290
  selector: 'tui-input-number',
@@ -294,15 +294,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
294
294
 
295
295
  class TuiInputNumberModule {
296
296
  }
297
- TuiInputNumberModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
298
- TuiInputNumberModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputNumberModule, declarations: [TuiInputNumberComponent, TuiInputNumberDirective], imports: [CommonModule,
297
+ TuiInputNumberModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputNumberModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
298
+ TuiInputNumberModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputNumberModule, declarations: [TuiInputNumberComponent, TuiInputNumberDirective], imports: [CommonModule,
299
299
  TextMaskModule,
300
300
  TuiMapperPipeModule,
301
301
  TuiPrimitiveTextfieldModule,
302
302
  TuiTextfieldControllerModule,
303
303
  TuiValueAccessorModule,
304
304
  PolymorpheusModule], exports: [TuiInputNumberComponent, TuiInputNumberDirective, TuiTextfieldComponent] });
305
- TuiInputNumberModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputNumberModule, imports: [[
305
+ TuiInputNumberModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputNumberModule, imports: [[
306
306
  CommonModule,
307
307
  TextMaskModule,
308
308
  TuiMapperPipeModule,
@@ -311,7 +311,7 @@ TuiInputNumberModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", ve
311
311
  TuiValueAccessorModule,
312
312
  PolymorpheusModule,
313
313
  ]] });
314
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputNumberModule, decorators: [{
314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputNumberModule, decorators: [{
315
315
  type: NgModule,
316
316
  args: [{
317
317
  imports: [
@@ -79,8 +79,8 @@ class TuiInputPasswordComponent extends AbstractTuiControl {
79
79
  return { $implicit };
80
80
  }
81
81
  }
82
- TuiInputPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPasswordComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_TEXTFIELD_SIZE }, { token: TUI_PASSWORD_TEXTS }, { token: TUI_INPUT_PASSWORD_OPTIONS }, { token: TuiHintOptionsDirective, optional: true }, { token: TUI_MODE }], target: i0.ɵɵFactoryTarget.Component });
83
- TuiInputPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputPasswordComponent, selector: "tui-input-password", providers: [
82
+ TuiInputPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPasswordComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_TEXTFIELD_SIZE }, { token: TUI_PASSWORD_TEXTS }, { token: TUI_INPUT_PASSWORD_OPTIONS }, { token: TuiHintOptionsDirective, optional: true }, { token: TUI_MODE }], target: i0.ɵɵFactoryTarget.Component });
83
+ TuiInputPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputPasswordComponent, selector: "tui-input-password", providers: [
84
84
  tuiAsFocusableItemAccessor(TuiInputPasswordComponent),
85
85
  tuiAsControl(TuiInputPasswordComponent),
86
86
  MODE_PROVIDER,
@@ -88,7 +88,7 @@ TuiInputPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
88
88
  __decorate([
89
89
  tuiPure
90
90
  ], TuiInputPasswordComponent.prototype, "getContext", null);
91
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPasswordComponent, decorators: [{
91
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPasswordComponent, decorators: [{
92
92
  type: Component,
93
93
  args: [{
94
94
  selector: 'tui-input-password',
@@ -147,9 +147,9 @@ class TuiInputPasswordDirective extends AbstractTuiTextfieldHost {
147
147
  }
148
148
  }
149
149
  }
150
- TuiInputPasswordDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPasswordDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
151
- TuiInputPasswordDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputPasswordDirective, selector: "tui-input-password", providers: [tuiAsTextfieldHost(TuiInputPasswordDirective)], usesInheritance: true, ngImport: i0 });
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPasswordDirective, decorators: [{
150
+ TuiInputPasswordDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPasswordDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
151
+ TuiInputPasswordDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputPasswordDirective, selector: "tui-input-password", providers: [tuiAsTextfieldHost(TuiInputPasswordDirective)], usesInheritance: true, ngImport: i0 });
152
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPasswordDirective, decorators: [{
153
153
  type: Directive,
154
154
  args: [{
155
155
  selector: 'tui-input-password',
@@ -159,8 +159,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
159
159
 
160
160
  class TuiInputPasswordModule {
161
161
  }
162
- TuiInputPasswordModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
163
- TuiInputPasswordModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPasswordModule, declarations: [TuiInputPasswordComponent, TuiInputPasswordDirective], imports: [CommonModule,
162
+ TuiInputPasswordModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPasswordModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
163
+ TuiInputPasswordModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPasswordModule, declarations: [TuiInputPasswordComponent, TuiInputPasswordDirective], imports: [CommonModule,
164
164
  FormsModule,
165
165
  PolymorpheusModule,
166
166
  TuiWrapperModule,
@@ -170,7 +170,7 @@ TuiInputPasswordModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0",
170
170
  TuiTextfieldControllerModule], exports: [TuiInputPasswordComponent,
171
171
  TuiInputPasswordDirective,
172
172
  TuiTextfieldComponent] });
173
- TuiInputPasswordModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPasswordModule, imports: [[
173
+ TuiInputPasswordModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPasswordModule, imports: [[
174
174
  CommonModule,
175
175
  FormsModule,
176
176
  PolymorpheusModule,
@@ -180,7 +180,7 @@ TuiInputPasswordModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
180
180
  TuiPrimitiveTextfieldModule,
181
181
  TuiTextfieldControllerModule,
182
182
  ]] });
183
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPasswordModule, decorators: [{
183
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPasswordModule, decorators: [{
184
184
  type: NgModule,
185
185
  args: [{
186
186
  imports: [
@@ -6,7 +6,7 @@ import { NgControl, FormsModule } from '@angular/forms';
6
6
  import * as i4 from '@taiga-ui/cdk';
7
7
  import { tuiGetClipboardDataText, AbstractTuiControl, CHAR_PLUS, tuiAsFocusableItemAccessor, tuiAsControl, tuiDefaultProp, tuiPure, TuiLetModule, TuiMapperPipeModule, TuiActiveZoneModule } from '@taiga-ui/cdk';
8
8
  import * as i1 from '@taiga-ui/core';
9
- import { TUI_NON_DIGITS_REGEXP, TUI_MASK_SYMBOLS_REGEXP, TUI_SVG_OPTIONS, TuiPrimitiveTextfieldComponent, TuiSvgModule, TuiGroupModule, TuiPrimitiveTextfieldModule, TuiTextfieldControllerModule, TuiHintModule, TuiHostedDropdownModule, TuiDataListModule, TuiWrapperModule } from '@taiga-ui/core';
9
+ import { TUI_NON_DIGITS_REGEXP, TUI_MASK_SYMBOLS_REGEXP, TuiFlagPipe, TuiPrimitiveTextfieldComponent, TuiSvgModule, TuiGroupModule, TuiPrimitiveTextfieldModule, TuiTextfieldControllerModule, TuiHintModule, TuiHostedDropdownModule, TuiDataListModule, TuiWrapperModule, TuiFlagPipeModule } from '@taiga-ui/core';
10
10
  import { TuiCountryIsoCode } from '@taiga-ui/i18n';
11
11
  import { TUI_ARROW, TuiArrowModule } from '@taiga-ui/kit/components/arrow';
12
12
  import * as i2 from '@taiga-ui/kit/components/input-phone';
@@ -261,22 +261,24 @@ function tuiExtractValueFromEvent(event) {
261
261
  }
262
262
 
263
263
  class TuiInputPhoneInternationalComponent extends AbstractTuiControl {
264
- constructor(control, changeDetectorRef, { path }, countriesNames$, countriesMasks, options) {
264
+ constructor(control, changeDetectorRef, countriesNames$, countriesMasks, options, flagPipe) {
265
265
  super(control, changeDetectorRef);
266
266
  this.countriesNames$ = countriesNames$;
267
267
  this.countriesMasks = countriesMasks;
268
268
  this.options = options;
269
- this.staticPath = null;
269
+ this.flagPipe = flagPipe;
270
270
  this.countries = this.options.countries;
271
271
  this.countryIsoCodeChange = new EventEmitter();
272
272
  this.countryIsoCode = this.options.countryIsoCode;
273
273
  this.open = false;
274
274
  this.arrow = TUI_ARROW;
275
275
  this.isoToCountryCodeMapper = item => this.isoToCountryCode(item);
276
- this.staticPath = path('tuiIcon').replace('tuiIcon.svg#tuiIcon', '');
277
276
  }
278
277
  set isoCode(code) {
279
278
  var _a;
279
+ if (this.countryIsoCode === code) {
280
+ return;
281
+ }
280
282
  (_a = this.inputPhoneComponent) === null || _a === void 0 ? void 0 : _a.writeValue(this.value);
281
283
  this.countryIsoCode = code;
282
284
  }
@@ -296,6 +298,10 @@ class TuiInputPhoneInternationalComponent extends AbstractTuiControl {
296
298
  const countryCode = this.isoToCountryCode(this.countryIsoCode);
297
299
  return this.calculateMaskAfterCountryCode(this.countriesMasks[this.countryIsoCode], countryCode);
298
300
  }
301
+ /**
302
+ * @deprecated use `<img [src]="countryIsoCode | tuiFlagPipe" />`
303
+ * TODO drop in v4.0
304
+ */
299
305
  get countryFlagPath() {
300
306
  return this.getFlagPath(this.countryIsoCode);
301
307
  }
@@ -314,24 +320,12 @@ class TuiInputPhoneInternationalComponent extends AbstractTuiControl {
314
320
  this.updateCountryIsoCode(countryIsoCode);
315
321
  this.updateValue(`${CHAR_PLUS}${value}`);
316
322
  }
323
+ /**
324
+ * @deprecated use `<img [src]="countryIsoCode | tuiFlagPipe" />`
325
+ * TODO drop in v4.0
326
+ */
317
327
  getFlagPath(code) {
318
- switch (code) {
319
- case TuiCountryIsoCode.BL:
320
- case TuiCountryIsoCode.BQ:
321
- case TuiCountryIsoCode.CW:
322
- case TuiCountryIsoCode.GF:
323
- case TuiCountryIsoCode.GP:
324
- case TuiCountryIsoCode.MF:
325
- case TuiCountryIsoCode.MQ:
326
- case TuiCountryIsoCode.NC:
327
- case TuiCountryIsoCode.RE:
328
- case TuiCountryIsoCode.YT:
329
- return `${this.staticPath}${TuiCountryIsoCode.FR}.png`;
330
- case TuiCountryIsoCode.SX:
331
- return `${this.staticPath}${TuiCountryIsoCode.NL}.png`;
332
- default:
333
- return `${this.staticPath}${code}.png`;
334
- }
328
+ return this.flagPipe.transform(code);
335
329
  }
336
330
  onItemClick(isoCode) {
337
331
  this.open = false;
@@ -387,18 +381,20 @@ class TuiInputPhoneInternationalComponent extends AbstractTuiControl {
387
381
  });
388
382
  }
389
383
  }
390
- TuiInputPhoneInternationalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPhoneInternationalComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_SVG_OPTIONS }, { token: TUI_COUNTRIES }, { token: TUI_COUNTRIES_MASKS }, { token: TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
391
- TuiInputPhoneInternationalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputPhoneInternationalComponent, selector: "tui-input-phone-international", inputs: { isoCode: ["countryIsoCode", "isoCode"], countries: "countries" }, outputs: { countryIsoCodeChange: "countryIsoCodeChange" }, host: { listeners: { "paste.capture.prevent.stop": "onPaste($event)", "drop.capture.prevent.stop": "onPaste($event)" } }, providers: [
384
+ TuiInputPhoneInternationalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPhoneInternationalComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_COUNTRIES }, { token: TUI_COUNTRIES_MASKS }, { token: TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS }, { token: TuiFlagPipe }], target: i0.ɵɵFactoryTarget.Component });
385
+ TuiInputPhoneInternationalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputPhoneInternationalComponent, selector: "tui-input-phone-international", inputs: { isoCode: ["countryIsoCode", "isoCode"], countries: "countries" }, outputs: { countryIsoCodeChange: "countryIsoCodeChange" }, host: { listeners: { "paste.capture.prevent.stop": "onPaste($event)", "drop.capture.prevent.stop": "onPaste($event)" } }, providers: [
392
386
  tuiAsFocusableItemAccessor(TuiInputPhoneInternationalComponent),
393
387
  tuiAsControl(TuiInputPhoneInternationalComponent),
394
- ], viewQueries: [{ propertyName: "inputPhoneComponent", first: true, predicate: TuiInputPhoneComponent, descendants: true }, { propertyName: "primitiveTextfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-hosted-dropdown\n *ngIf=\"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 tuiHintContent=\"\"\n tuiTextfieldPrefix=\"\"\n tuiTextfieldPostfix=\"\"\n class=\"t-country-select tui-group__auto-width-item\"\n [tuiTextfieldCustomContent]=\"countryValueContent\"\n [tuiTextfieldLabelOutside]=\"true\"\n [tuiTextfieldIcon]=\"icon\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [editable]=\"false\"\n [pseudoFocus]=\"open || null\"\n [readOnly]=\"readOnly\"\n ></tui-primitive-textfield>\n <tui-input-phone\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 [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n (ngModelChange)=\"onModelChange($event)\"\n >\n <ng-content></ng-content>\n <input\n tuiTextfield\n autocomplete=\"new-password\"\n />\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 <!-- eslint-disable @html-eslint/require-img-alt -->\n <img\n class=\"t-flag\"\n [alt]=\"countriesNames[countryIsoCode]\"\n [src]=\"countryFlagPath\"\n />\n </ng-template>\n\n <ng-template #icon>\n <div\n tuiWrapper\n appearance=\"icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\"></ng-container>\n </div>\n </ng-template>\n</tui-hosted-dropdown>\n", styles: [":host{display:block}:host._disabled{pointer-events:none}.t-hosted-dropdown{display:block}.t-country-select{width:5.625rem}.t-country-select:not(._readonly) ::ng-deep input:not(:disabled){cursor:pointer}.t-country-select._readonly ::ng-deep input{cursor:default}.t-country-select[data-size=m]{width:5.5rem}.t-country-select[data-size=s]{width:2rem}.t-country-select[data-size=s] .t-flag{margin-left:-1rem}.t-arrow-icon{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer}:host._readonly .t-arrow-icon,:host._disabled .t-arrow-icon{pointer-events:none}.t-arrow-icon_open{transform:rotate(180deg)}.t-input-phone{flex:1}.t-flag{width:1.75rem;height:1.25rem;margin-left:-.5rem}.t-country-item-flag{width:1.75rem;height:1.25rem}.t-country-item-name{margin-left:.75rem;margin-right:auto}.t-country-item-code{color:var(--tui-text-02);margin-right:.25rem}\n"], components: [{ type: i1.TuiHostedDropdownComponent, selector: "tui-hosted-dropdown", inputs: ["content", "sided", "canOpen", "open"], outputs: ["openChange", "focusedChange"] }, { type: i1.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }, { type: i2.TuiInputPhoneComponent, selector: "tui-input-phone", inputs: ["countryCode", "phoneMaskAfterCountryCode", "allowText", "search"], outputs: ["searchChange"] }, { type: i1.TuiTextfieldComponent, selector: "input[tuiTextfield], textarea[tuiTextfield]" }, { type: i1.TuiDataListComponent, selector: "tui-data-list", inputs: ["role", "emptyContent", "size"] }, { type: i1.TuiOptionComponent, selector: "button[tuiOption], a[tuiOption]", inputs: ["size", "role", "disabled", "value"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i1.TuiGroupDirective, selector: "[tuiGroup]:not(ng-container)", inputs: ["orientation", "adaptive", "collapsed", "rounded", "size"] }, { type: i1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i1.TuiHintOptionsDirective, selector: "[tuiHintContent]", inputs: ["tuiHintContent", "tuiHintDirection", "tuiHintAppearance", "tuiHintShowDelay", "tuiHintHideDelay"] }, { type: i1.TuiTextfieldPrefixDirective, selector: "[tuiTextfieldPrefix]", inputs: ["tuiTextfieldPrefix"] }, { type: i1.TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: ["tuiTextfieldPostfix"] }, { type: i1.TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: ["tuiTextfieldCustomContent"] }, { type: i1.TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: ["tuiTextfieldLabelOutside"] }, { type: i1.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { type: i2.TuiInputPhoneDirective, selector: "tui-input-phone" }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i6.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i3.AsyncPipe, "tuiMapper": i4.TuiMapperPipe }, viewProviders: [FIXED_DROPDOWN_CONTROLLER_PROVIDER], changeDetection: i0.ChangeDetectionStrategy.OnPush });
388
+ // TODO: for backward compatibility only. Drop in v4.0
389
+ TuiFlagPipe,
390
+ ], viewQueries: [{ propertyName: "inputPhoneComponent", first: true, predicate: TuiInputPhoneComponent, descendants: true }, { propertyName: "primitiveTextfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-hosted-dropdown\n *ngIf=\"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 tuiHintContent=\"\"\n tuiTextfieldPrefix=\"\"\n tuiTextfieldPostfix=\"\"\n class=\"t-country-select tui-group__auto-width-item\"\n [tuiTextfieldCustomContent]=\"countryValueContent\"\n [tuiTextfieldLabelOutside]=\"true\"\n [tuiTextfieldIcon]=\"icon\"\n [disabled]=\"disabled\"\n [focusable]=\"focusable\"\n [editable]=\"false\"\n [pseudoFocus]=\"open || null\"\n [readOnly]=\"readOnly\"\n ></tui-primitive-textfield>\n <tui-input-phone\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 [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n (ngModelChange)=\"onModelChange($event)\"\n >\n <ng-content></ng-content>\n <input\n tuiTextfield\n autocomplete=\"new-password\"\n />\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]=\"item | tuiFlag\"\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 <!-- eslint-disable @html-eslint/require-img-alt -->\n <img\n class=\"t-flag\"\n [alt]=\"countriesNames[countryIsoCode]\"\n [src]=\"countryIsoCode | tuiFlag\"\n />\n </ng-template>\n\n <ng-template #icon>\n <div\n tuiWrapper\n appearance=\"icon\"\n >\n <ng-container *polymorpheusOutlet=\"arrow\"></ng-container>\n </div>\n </ng-template>\n</tui-hosted-dropdown>\n", styles: [":host{display:block}:host._disabled{pointer-events:none}.t-hosted-dropdown{display:block}.t-country-select{width:5.625rem}.t-country-select:not(._readonly) ::ng-deep input:not(:disabled){cursor:pointer}.t-country-select._readonly ::ng-deep input{cursor:default}.t-country-select[data-size=m]{width:5.5rem}.t-country-select[data-size=s]{width:2rem}.t-country-select[data-size=s] .t-flag{margin-left:-1rem}.t-arrow-icon{position:relative;display:flex;width:1.5rem;height:1.5rem;align-items:center;justify-content:center;box-sizing:border-box;cursor:pointer}:host._readonly .t-arrow-icon,:host._disabled .t-arrow-icon{pointer-events:none}.t-arrow-icon_open{transform:rotate(180deg)}.t-input-phone{flex:1}.t-flag{width:1.75rem;height:1.25rem;margin-left:-.5rem}.t-country-item-flag{width:1.75rem;height:1.25rem}.t-country-item-name{margin-left:.75rem;margin-right:auto}.t-country-item-code{color:var(--tui-text-02);margin-right:.25rem}\n"], components: [{ type: i1.TuiHostedDropdownComponent, selector: "tui-hosted-dropdown", inputs: ["content", "sided", "canOpen", "open"], outputs: ["openChange", "focusedChange"] }, { type: i1.TuiPrimitiveTextfieldComponent, selector: "tui-primitive-textfield", inputs: ["editable", "filler", "iconCleaner", "readOnly", "invalid", "disabled", "prefix", "postfix", "value"], outputs: ["valueChange"] }, { type: i2.TuiInputPhoneComponent, selector: "tui-input-phone", inputs: ["countryCode", "phoneMaskAfterCountryCode", "allowText", "search"], outputs: ["searchChange"] }, { type: i1.TuiTextfieldComponent, selector: "input[tuiTextfield], textarea[tuiTextfield]" }, { type: i1.TuiDataListComponent, selector: "tui-data-list", inputs: ["role", "emptyContent", "size"] }, { type: i1.TuiOptionComponent, selector: "button[tuiOption], a[tuiOption]", inputs: ["size", "role", "disabled", "value"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i1.TuiGroupDirective, selector: "[tuiGroup]:not(ng-container)", inputs: ["orientation", "adaptive", "collapsed", "rounded", "size"] }, { type: i1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i1.TuiHintOptionsDirective, selector: "[tuiHintContent]", inputs: ["tuiHintContent", "tuiHintDirection", "tuiHintAppearance", "tuiHintShowDelay", "tuiHintHideDelay"] }, { type: i1.TuiTextfieldPrefixDirective, selector: "[tuiTextfieldPrefix]", inputs: ["tuiTextfieldPrefix"] }, { type: i1.TuiTextfieldPostfixDirective, selector: "[tuiTextfieldPostfix]", inputs: ["tuiTextfieldPostfix"] }, { type: i1.TuiTextfieldCustomContentDirective, selector: "[tuiTextfieldCustomContent]", inputs: ["tuiTextfieldCustomContent"] }, { type: i1.TuiTextfieldLabelOutsideDirective, selector: "[tuiTextfieldLabelOutside]", inputs: ["tuiTextfieldLabelOutside"] }, { type: i1.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { type: i2.TuiInputPhoneDirective, selector: "tui-input-phone" }, { type: i5.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i5.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i1.TuiWrapperDirective, selector: "[tuiWrapper]", inputs: ["disabled", "readOnly", "hover", "active", "focus", "invalid", "appearance"] }, { type: i6.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i3.AsyncPipe, "tuiFlag": i1.TuiFlagPipe, "tuiMapper": i4.TuiMapperPipe }, viewProviders: [FIXED_DROPDOWN_CONTROLLER_PROVIDER], changeDetection: i0.ChangeDetectionStrategy.OnPush });
395
391
  __decorate([
396
392
  tuiDefaultProp()
397
393
  ], TuiInputPhoneInternationalComponent.prototype, "isoCode", null);
398
394
  __decorate([
399
395
  tuiPure
400
396
  ], TuiInputPhoneInternationalComponent.prototype, "calculateMaskAfterCountryCode", null);
401
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPhoneInternationalComponent, decorators: [{
397
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPhoneInternationalComponent, decorators: [{
402
398
  type: Component,
403
399
  args: [{
404
400
  selector: 'tui-input-phone-international',
@@ -408,6 +404,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
408
404
  providers: [
409
405
  tuiAsFocusableItemAccessor(TuiInputPhoneInternationalComponent),
410
406
  tuiAsControl(TuiInputPhoneInternationalComponent),
407
+ // TODO: for backward compatibility only. Drop in v4.0
408
+ TuiFlagPipe,
411
409
  ],
412
410
  viewProviders: [FIXED_DROPDOWN_CONTROLLER_PROVIDER],
413
411
  }]
@@ -421,9 +419,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
421
419
  }] }, { type: i0.ChangeDetectorRef, decorators: [{
422
420
  type: Inject,
423
421
  args: [ChangeDetectorRef]
424
- }] }, { type: undefined, decorators: [{
425
- type: Inject,
426
- args: [TUI_SVG_OPTIONS]
427
422
  }] }, { type: i7.Observable, decorators: [{
428
423
  type: Inject,
429
424
  args: [TUI_COUNTRIES]
@@ -433,6 +428,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
433
428
  }] }, { type: undefined, decorators: [{
434
429
  type: Inject,
435
430
  args: [TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS]
431
+ }] }, { type: i1.TuiFlagPipe, decorators: [{
432
+ type: Inject,
433
+ args: [TuiFlagPipe]
436
434
  }] }]; }, propDecorators: { inputPhoneComponent: [{
437
435
  type: ViewChild,
438
436
  args: [TuiInputPhoneComponent]
@@ -456,8 +454,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
456
454
 
457
455
  class TuiInputPhoneInternationalModule {
458
456
  }
459
- TuiInputPhoneInternationalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPhoneInternationalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
460
- TuiInputPhoneInternationalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPhoneInternationalModule, declarations: [TuiInputPhoneInternationalComponent], imports: [CommonModule,
457
+ TuiInputPhoneInternationalModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPhoneInternationalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
458
+ TuiInputPhoneInternationalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPhoneInternationalModule, declarations: [TuiInputPhoneInternationalComponent], imports: [CommonModule,
461
459
  FormsModule,
462
460
  PolymorpheusModule,
463
461
  TuiSvgModule,
@@ -472,8 +470,9 @@ TuiInputPhoneInternationalModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion:
472
470
  TuiWrapperModule,
473
471
  TuiLetModule,
474
472
  TuiMapperPipeModule,
475
- TuiActiveZoneModule], exports: [TuiInputPhoneInternationalComponent] });
476
- TuiInputPhoneInternationalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPhoneInternationalModule, imports: [[
473
+ TuiActiveZoneModule,
474
+ TuiFlagPipeModule], exports: [TuiInputPhoneInternationalComponent] });
475
+ TuiInputPhoneInternationalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPhoneInternationalModule, imports: [[
477
476
  CommonModule,
478
477
  FormsModule,
479
478
  PolymorpheusModule,
@@ -490,8 +489,9 @@ TuiInputPhoneInternationalModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion:
490
489
  TuiLetModule,
491
490
  TuiMapperPipeModule,
492
491
  TuiActiveZoneModule,
492
+ TuiFlagPipeModule,
493
493
  ]] });
494
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputPhoneInternationalModule, decorators: [{
494
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputPhoneInternationalModule, decorators: [{
495
495
  type: NgModule,
496
496
  args: [{
497
497
  imports: [
@@ -511,6 +511,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
511
511
  TuiLetModule,
512
512
  TuiMapperPipeModule,
513
513
  TuiActiveZoneModule,
514
+ TuiFlagPipeModule,
514
515
  ],
515
516
  declarations: [TuiInputPhoneInternationalComponent],
516
517
  exports: [TuiInputPhoneInternationalComponent],