@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
@@ -53,8 +53,8 @@ class TuiInputYearComponent extends AbstractTuiNullableControl {
53
53
  this.open = !this.open;
54
54
  }
55
55
  }
56
- TuiInputYearComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputYearComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_INPUT_DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
57
- TuiInputYearComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputYearComponent, selector: "tui-input-year", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler" }, providers: [
56
+ TuiInputYearComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputYearComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }, { token: TUI_INPUT_DATE_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
57
+ TuiInputYearComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputYearComponent, selector: "tui-input-year", inputs: { min: "min", max: "max", disabledItemHandler: "disabledItemHandler" }, providers: [
58
58
  tuiAsFocusableItemAccessor(TuiInputYearComponent),
59
59
  tuiAsControl(TuiInputYearComponent),
60
60
  ], viewQueries: [{ propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"interactive\"\n [content]=\"dropdown\"\n [open]=\"open && interactive\"\n (openChange)=\"onOpenChange($event)\"\n (click)=\"toggle()\"\n>\n <tui-primitive-textfield\n class=\"t-textfield\"\n [disabled]=\"computedDisabled\"\n [nativeId]=\"nativeId\"\n [readOnly]=\"readOnly\"\n [tuiTextfieldIcon]=\"calendarIcon\"\n [pseudoFocus]=\"pseudoFocus\"\n [pseudoHover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [textMask]=\"textMaskOptions\"\n [value]=\"value?.toString() || ''\"\n (valueChange)=\"onValueChange($event)\"\n (focusedChange)=\"onFocused($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 #dropdown>\n <tui-primitive-year-picker\n tuiPreventDefault=\"mousedown\"\n [min]=\"min | tuiToYear\"\n [max]=\"max | tuiToYear\"\n [initialItem]=\"value || initialItem | tuiToYear\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [value]=\"value === null ? null : (value | tuiToYear)\"\n (yearClick)=\"onYearClick($event)\"\n ></tui-primitive-year-picker>\n </ng-template>\n</tui-hosted-dropdown>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}\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: i1.TuiPrimitiveYearPickerComponent, selector: "tui-primitive-year-picker", inputs: ["value", "initialItem", "min", "max", "disabledItemHandler"], outputs: ["yearClick"] }], directives: [{ type: i1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }, { type: i1.TuiTextfieldIconDirective, selector: "[tuiTextfieldIcon]", inputs: ["tuiTextfieldIcon"] }, { type: i2.MaskedInputDirective, selector: "[textMask]", inputs: ["textMask"], exportAs: ["textMask"] }, { type: i3.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]", inputs: ["tuiPreventDefault"] }], pipes: { "tuiToYear": i4.TuiToYearPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
@@ -67,7 +67,7 @@ __decorate([
67
67
  __decorate([
68
68
  tuiDefaultProp()
69
69
  ], TuiInputYearComponent.prototype, "disabledItemHandler", void 0);
70
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputYearComponent, decorators: [{
70
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputYearComponent, decorators: [{
71
71
  type: Component,
72
72
  args: [{
73
73
  selector: 'tui-input-year',
@@ -111,9 +111,9 @@ class TuiInputYearDirective extends AbstractTuiTextfieldHost {
111
111
  input.inputMode = 'numeric';
112
112
  }
113
113
  }
114
- TuiInputYearDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputYearDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
115
- TuiInputYearDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputYearDirective, selector: "tui-input-year", providers: [tuiAsTextfieldHost(TuiInputYearDirective)], usesInheritance: true, ngImport: i0 });
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputYearDirective, decorators: [{
114
+ TuiInputYearDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputYearDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
115
+ TuiInputYearDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputYearDirective, selector: "tui-input-year", providers: [tuiAsTextfieldHost(TuiInputYearDirective)], usesInheritance: true, ngImport: i0 });
116
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputYearDirective, decorators: [{
117
117
  type: Directive,
118
118
  args: [{
119
119
  selector: 'tui-input-year',
@@ -123,15 +123,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
123
123
 
124
124
  class TuiInputYearModule {
125
125
  }
126
- TuiInputYearModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputYearModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
127
- TuiInputYearModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputYearModule, declarations: [TuiInputYearComponent, TuiInputYearDirective], imports: [TextMaskModule,
126
+ TuiInputYearModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputYearModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
127
+ TuiInputYearModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputYearModule, declarations: [TuiInputYearComponent, TuiInputYearDirective], imports: [TextMaskModule,
128
128
  TuiHostedDropdownModule,
129
129
  TuiPrimitiveTextfieldModule,
130
130
  TuiPrimitiveYearPickerModule,
131
131
  TuiPreventDefaultModule,
132
132
  TuiTextfieldControllerModule,
133
133
  TuiToYearPipeModule], exports: [TuiInputYearComponent, TuiInputYearDirective, TuiTextfieldComponent] });
134
- TuiInputYearModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputYearModule, imports: [[
134
+ TuiInputYearModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputYearModule, imports: [[
135
135
  TextMaskModule,
136
136
  TuiHostedDropdownModule,
137
137
  TuiPrimitiveTextfieldModule,
@@ -140,7 +140,7 @@ TuiInputYearModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", vers
140
140
  TuiTextfieldControllerModule,
141
141
  TuiToYearPipeModule,
142
142
  ]] });
143
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputYearModule, decorators: [{
143
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputYearModule, decorators: [{
144
144
  type: NgModule,
145
145
  args: [{
146
146
  imports: [
@@ -54,14 +54,14 @@ class TuiInputComponent extends AbstractTuiControl {
54
54
  }
55
55
  }
56
56
  }
57
- TuiInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
58
- TuiInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputComponent, selector: "tui-input", providers: [
57
+ TuiInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputComponent, deps: [{ token: NgControl, optional: true, self: true }, { token: ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
58
+ TuiInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputComponent, selector: "tui-input", providers: [
59
59
  TUI_VALUE_ACCESSOR_PROVIDER,
60
60
  tuiAsFocusableItemAccessor(TuiInputComponent),
61
61
  tuiAsDataListHost(TuiInputComponent),
62
62
  tuiAsControl(TuiInputComponent),
63
63
  ], queries: [{ propertyName: "datalist", first: true, predicate: TuiDataListDirective, descendants: true, read: TemplateRef }], viewQueries: [{ propertyName: "hostedDropdown", first: true, predicate: TuiHostedDropdownComponent, descendants: true }, { propertyName: "textfield", first: true, predicate: TuiPrimitiveTextfieldComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"canOpen\"\n [content]=\"datalist || ''\"\n [(open)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-primitive-textfield\n automation-id=\"tui-input__textfield\"\n class=\"t-textfield\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoHover]=\"pseudoHover\"\n [invalid]=\"computedInvalid\"\n [nativeId]=\"nativeId\"\n [readOnly]=\"readOnly\"\n [disabled]=\"computedDisabled\"\n [focusable]=\"computedFocusable\"\n [value]=\"value\"\n (valueChange)=\"onValueChange($event)\"\n >\n <ng-content></ng-content>\n <ng-content\n select=\"input\"\n ngProjectAs=\"input\"\n ></ng-content>\n </tui-primitive-textfield>\n</tui-hosted-dropdown>\n", styles: [":host{display:block;border-radius:var(--tui-radius-m);text-align:left}:host._disabled{pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}\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"] }], directives: [{ type: i2.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i1.TuiPrimitiveTextfieldDirective, selector: "tui-primitive-textfield" }], viewProviders: [FIXED_DROPDOWN_CONTROLLER_PROVIDER], changeDetection: i0.ChangeDetectionStrategy.OnPush });
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputComponent, decorators: [{
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputComponent, decorators: [{
65
65
  type: Component,
66
66
  args: [{
67
67
  selector: 'tui-input',
@@ -102,9 +102,9 @@ class TuiInputDirective extends AbstractTuiTextfieldHost {
102
102
  this.host.onValueChange(value);
103
103
  }
104
104
  }
105
- TuiInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
106
- TuiInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiInputDirective, selector: "tui-input", providers: [tuiAsTextfieldHost(TuiInputDirective)], usesInheritance: true, ngImport: i0 });
107
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputDirective, decorators: [{
105
+ TuiInputDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
106
+ TuiInputDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiInputDirective, selector: "tui-input", providers: [tuiAsTextfieldHost(TuiInputDirective)], usesInheritance: true, ngImport: i0 });
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputDirective, decorators: [{
108
108
  type: Directive,
109
109
  args: [{
110
110
  selector: 'tui-input',
@@ -114,18 +114,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
114
114
 
115
115
  class TuiInputModule {
116
116
  }
117
- TuiInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
118
- TuiInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputModule, declarations: [TuiInputComponent, TuiInputDirective], imports: [CommonModule,
117
+ TuiInputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
118
+ TuiInputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputModule, declarations: [TuiInputComponent, TuiInputDirective], imports: [CommonModule,
119
119
  TuiActiveZoneModule,
120
120
  TuiPrimitiveTextfieldModule,
121
121
  TuiHostedDropdownModule], exports: [TuiInputComponent, TuiInputDirective, TuiTextfieldComponent] });
122
- TuiInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputModule, imports: [[
122
+ TuiInputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputModule, imports: [[
123
123
  CommonModule,
124
124
  TuiActiveZoneModule,
125
125
  TuiPrimitiveTextfieldModule,
126
126
  TuiHostedDropdownModule,
127
127
  ]] });
128
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiInputModule, decorators: [{
128
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiInputModule, decorators: [{
129
129
  type: NgModule,
130
130
  args: [{
131
131
  imports: [
@@ -30,8 +30,8 @@ class TuiIslandComponent {
30
30
  return this.textAlign === 'right';
31
31
  }
32
32
  }
33
- TuiIslandComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiIslandComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
- TuiIslandComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiIslandComponent, selector: "tui-island, a[tuiIsland]", inputs: { size: "size", textAlign: "textAlign", hoverable: "hoverable", transparent: "transparent" }, host: { properties: { "class.tui-island_hoverable": "this.hoverable", "class.tui-island_transparent": "this.transparent", "class.tui-island_size_s": "this.sizeS", "class.tui-island_size_m": "this.sizeM", "class.tui-island_size_l": "this.sizeL", "class.tui-island_text-align_left": "this.textAlignLeft", "class.tui-island_text-align_center": "this.textAlignCenter", "class.tui-island_text-align_right": "this.textAlignRight" }, classAttribute: "tui-island" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
33
+ TuiIslandComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIslandComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
34
+ TuiIslandComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiIslandComponent, selector: "tui-island, a[tuiIsland]", inputs: { size: "size", textAlign: "textAlign", hoverable: "hoverable", transparent: "transparent" }, host: { properties: { "class.tui-island_hoverable": "this.hoverable", "class.tui-island_transparent": "this.transparent", "class.tui-island_size_s": "this.sizeS", "class.tui-island_size_m": "this.sizeM", "class.tui-island_size_l": "this.sizeL", "class.tui-island_text-align_left": "this.textAlignLeft", "class.tui-island_text-align_center": "this.textAlignCenter", "class.tui-island_text-align_right": "this.textAlignRight" }, classAttribute: "tui-island" }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
35
35
  __decorate([
36
36
  tuiDefaultProp()
37
37
  ], TuiIslandComponent.prototype, "size", void 0);
@@ -44,7 +44,7 @@ __decorate([
44
44
  __decorate([
45
45
  tuiDefaultProp()
46
46
  ], TuiIslandComponent.prototype, "transparent", void 0);
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiIslandComponent, decorators: [{
47
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIslandComponent, decorators: [{
48
48
  type: Component,
49
49
  args: [{
50
50
  selector: 'tui-island, a[tuiIsland]',
@@ -91,10 +91,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
91
91
 
92
92
  class TuiIslandModule {
93
93
  }
94
- TuiIslandModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiIslandModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
95
- TuiIslandModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiIslandModule, declarations: [TuiIslandComponent], imports: [CommonModule], exports: [TuiIslandComponent] });
96
- TuiIslandModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiIslandModule, imports: [[CommonModule]] });
97
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiIslandModule, decorators: [{
94
+ TuiIslandModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIslandModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
95
+ TuiIslandModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIslandModule, declarations: [TuiIslandComponent], imports: [CommonModule], exports: [TuiIslandComponent] });
96
+ TuiIslandModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIslandModule, imports: [[CommonModule]] });
97
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiIslandModule, decorators: [{
98
98
  type: NgModule,
99
99
  args: [{
100
100
  imports: [CommonModule],
@@ -19,15 +19,15 @@ class TuiItemsWithMoreDirective extends AbstractTuiController {
19
19
  this.required = -1;
20
20
  }
21
21
  }
22
- TuiItemsWithMoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
23
- TuiItemsWithMoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiItemsWithMoreDirective, selector: "tui-items-with-more", inputs: { itemsLimit: "itemsLimit", required: "required" }, usesInheritance: true, ngImport: i0 });
22
+ TuiItemsWithMoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
23
+ TuiItemsWithMoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiItemsWithMoreDirective, selector: "tui-items-with-more", inputs: { itemsLimit: "itemsLimit", required: "required" }, usesInheritance: true, ngImport: i0 });
24
24
  __decorate([
25
25
  tuiDefaultProp()
26
26
  ], TuiItemsWithMoreDirective.prototype, "itemsLimit", void 0);
27
27
  __decorate([
28
28
  tuiDefaultProp()
29
29
  ], TuiItemsWithMoreDirective.prototype, "required", void 0);
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreDirective, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreDirective, decorators: [{
31
31
  type: Directive,
32
32
  args: [{
33
33
  selector: 'tui-items-with-more',
@@ -74,9 +74,9 @@ class TuiItemsWithMoreService extends Observable {
74
74
  : this.directive.itemsLimit - 2;
75
75
  }
76
76
  }
77
- TuiItemsWithMoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreService, deps: [{ token: NgZone }, { token: ElementRef }, { token: MutationObserverService }, { token: TuiResizeService }, { token: TuiItemsWithMoreDirective }], target: i0.ɵɵFactoryTarget.Injectable });
78
- TuiItemsWithMoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreService });
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreService, decorators: [{
77
+ TuiItemsWithMoreService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreService, deps: [{ token: NgZone }, { token: ElementRef }, { token: MutationObserverService }, { token: TuiResizeService }, { token: TuiItemsWithMoreDirective }], target: i0.ɵɵFactoryTarget.Injectable });
78
+ TuiItemsWithMoreService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreService });
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreService, decorators: [{
80
80
  type: Injectable
81
81
  }], ctorParameters: function () { return [{ type: i0.NgZone, decorators: [{
82
82
  type: Inject,
@@ -100,9 +100,9 @@ class TuiMoreDirective {
100
100
  return true;
101
101
  }
102
102
  }
103
- TuiMoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
104
- TuiMoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiMoreDirective, selector: "[tuiMore]", ngImport: i0 });
105
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMoreDirective, decorators: [{
103
+ TuiMoreDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMoreDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
104
+ TuiMoreDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiMoreDirective, selector: "[tuiMore]", ngImport: i0 });
105
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMoreDirective, decorators: [{
106
106
  type: Directive,
107
107
  args: [{
108
108
  selector: '[tuiMore]',
@@ -116,8 +116,8 @@ class TuiItemsWithMoreComponent {
116
116
  this.items = EMPTY_QUERY;
117
117
  }
118
118
  }
119
- TuiItemsWithMoreComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreComponent, deps: [{ token: TuiItemsWithMoreDirective }, { token: TuiItemsWithMoreService }], target: i0.ɵɵFactoryTarget.Component });
120
- TuiItemsWithMoreComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiItemsWithMoreComponent, selector: "tui-items-with-more", providers: [
119
+ TuiItemsWithMoreComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreComponent, deps: [{ token: TuiItemsWithMoreDirective }, { token: TuiItemsWithMoreService }], target: i0.ɵɵFactoryTarget.Component });
120
+ TuiItemsWithMoreComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiItemsWithMoreComponent, selector: "tui-items-with-more", providers: [
121
121
  MutationObserverService,
122
122
  TuiResizeService,
123
123
  TuiDestroyService,
@@ -131,7 +131,7 @@ TuiItemsWithMoreComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.
131
131
  },
132
132
  },
133
133
  ], queries: [{ propertyName: "more", first: true, predicate: TuiMoreDirective, descendants: true, read: TemplateRef }, { propertyName: "items", predicate: TuiItemDirective, descendants: true, read: TemplateRef }], ngImport: i0, template: "<ng-container *ngIf=\"items.changes | async\"></ng-container>\n<ng-container *tuiLet=\"(lastVisibleIndex$ | async) || 0 as lastIndex\">\n <div\n *ngFor=\"let item of items; let index = index\"\n class=\"t-item\"\n [class.t-item_hidden]=\"index > lastIndex && index !== directive.required\"\n [tuiProjectClass]=\"['_active']\"\n >\n <ng-container *ngTemplateOutlet=\"item\"></ng-container>\n </div>\n <span\n *ngIf=\"more && lastIndex < items.length - 1\"\n class=\"t-item\"\n [class.t-item_hidden]=\"lastIndex >= items.length - 1\"\n [tuiProjectClass]=\"['_active']\"\n >\n <ng-container\n [ngTemplateOutlet]=\"more\"\n [ngTemplateOutletContext]=\"{$implicit: lastIndex}\"\n ></ng-container>\n </span>\n</ng-container>\n", styles: [":host{position:relative;display:flex;align-items:center;white-space:nowrap}.t-item{flex:0 0 auto}.t-item_hidden{position:absolute;visibility:hidden}\n"], directives: [{ type: i1$1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i1$1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i3.TuiProjectClassDirective, selector: "[tuiProjectClass]", inputs: ["tuiProjectClass"] }, { type: i1$1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "async": i1$1.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
134
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreComponent, decorators: [{
134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreComponent, decorators: [{
135
135
  type: Component,
136
136
  args: [{
137
137
  selector: 'tui-items-with-more',
@@ -169,15 +169,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
169
169
 
170
170
  class TuiItemsWithMoreModule {
171
171
  }
172
- TuiItemsWithMoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
173
- TuiItemsWithMoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreModule, declarations: [TuiItemsWithMoreComponent,
172
+ TuiItemsWithMoreModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
173
+ TuiItemsWithMoreModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreModule, declarations: [TuiItemsWithMoreComponent,
174
174
  TuiItemsWithMoreDirective,
175
175
  TuiMoreDirective], imports: [CommonModule, TuiItemModule, TuiLetModule, TuiProjectClassModule], exports: [TuiItemsWithMoreComponent,
176
176
  TuiItemsWithMoreDirective,
177
177
  TuiMoreDirective,
178
178
  TuiItemDirective] });
179
- TuiItemsWithMoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreModule, imports: [[CommonModule, TuiItemModule, TuiLetModule, TuiProjectClassModule]] });
180
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiItemsWithMoreModule, decorators: [{
179
+ TuiItemsWithMoreModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreModule, imports: [[CommonModule, TuiItemModule, TuiLetModule, TuiProjectClassModule]] });
180
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiItemsWithMoreModule, decorators: [{
181
181
  type: NgModule,
182
182
  args: [{
183
183
  imports: [CommonModule, TuiItemModule, TuiLetModule, TuiProjectClassModule],
@@ -4,7 +4,7 @@ import { Component, ChangeDetectionStrategy, HostBinding, InjectionToken, Direct
4
4
  import * as i1$1 from '@taiga-ui/cdk';
5
5
  import { TuiDestroyService, TuiHoveredService, tuiTypedFromEvent, tuiIsCurrentTarget, tuiZonefree, tuiDefaultProp, TuiResizeModule, TuiLetModule } from '@taiga-ui/cdk';
6
6
  import * as i3 from '@taiga-ui/core';
7
- import { TuiHintComponent, TuiPositionService, tuiFadeIn, TuiRectAccessor, tuiAsPositionAccessor, TUI_HINT_COMPONENT, TuiHintDirective, TuiHintModule } from '@taiga-ui/core';
7
+ import { TuiHintComponent, TuiPositionService, tuiPositionAccessorFor, tuiRectAccessorFor, TuiHintDirective, tuiFadeIn, TuiPositionAccessor, tuiAsPositionAccessor, TUI_HINT_COMPONENT, TuiHintModule } from '@taiga-ui/core';
8
8
  import { BehaviorSubject, Subject, of, timer } from 'rxjs';
9
9
  import { distinctUntilChanged, startWith, pairwise, switchMap, filter, map } from 'rxjs/operators';
10
10
  import * as i1 from '@tinkoff/ng-polymorpheus';
@@ -17,11 +17,17 @@ class TuiLineClampBoxComponent extends TuiHintComponent {
17
17
  return this.accessor.getClientRect().width;
18
18
  }
19
19
  }
20
- TuiLineClampBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiLineClampBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
21
- TuiLineClampBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiLineClampBoxComponent, selector: "tui-line-clamp-box", host: { properties: { "style.minWidth.px": "this.width" } }, providers: [TuiDestroyService, TuiPositionService, TuiHoveredService], usesInheritance: true, ngImport: i0, template: `
20
+ TuiLineClampBoxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLineClampBoxComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
21
+ TuiLineClampBoxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiLineClampBoxComponent, selector: "tui-line-clamp-box", host: { properties: { "style.minWidth.px": "this.width" } }, providers: [
22
+ TuiDestroyService,
23
+ TuiPositionService,
24
+ TuiHoveredService,
25
+ tuiPositionAccessorFor('hint'),
26
+ tuiRectAccessorFor('hint', TuiHintDirective),
27
+ ], usesInheritance: true, ngImport: i0, template: `
22
28
  <ng-container *polymorpheusOutlet="content as text">{{ text }}</ng-container>
23
29
  `, isInline: true, styles: [":host{box-shadow:0 1.5rem 1rem rgba(0,0,0,.03),0 .75rem .75rem rgba(0,0,0,.04),0 .25rem .375rem rgba(0,0,0,.05);position:absolute;width:-webkit-min-content;width:-moz-min-content;width:min-content;padding:.75rem 1rem;margin-left:calc(-1px - 1rem);margin-top:calc(-1px - .75rem);border-radius:var(--tui-radius-l);box-sizing:content-box;border:1px solid var(--tui-base-03);background:var(--tui-base-01);color:var(--tui-text-01);word-wrap:break-word}\n"], directives: [{ type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], animations: [tuiFadeIn], changeDetection: i0.ChangeDetectionStrategy.OnPush });
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiLineClampBoxComponent, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLineClampBoxComponent, decorators: [{
25
31
  type: Component,
26
32
  args: [{
27
33
  selector: 'tui-line-clamp-box',
@@ -30,7 +36,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
30
36
  `,
31
37
  styleUrls: ['./line-clamp-box.style.less'],
32
38
  changeDetection: ChangeDetectionStrategy.OnPush,
33
- providers: [TuiDestroyService, TuiPositionService, TuiHoveredService],
39
+ providers: [
40
+ TuiDestroyService,
41
+ TuiPositionService,
42
+ TuiHoveredService,
43
+ tuiPositionAccessorFor('hint'),
44
+ tuiRectAccessorFor('hint', TuiHintDirective),
45
+ ],
34
46
  animations: [tuiFadeIn],
35
47
  }]
36
48
  }], propDecorators: { width: [{
@@ -49,18 +61,20 @@ const tuiLineClampOptionsProvider = (options) => ({
49
61
  useValue: Object.assign(Object.assign({}, TUI_LINE_CLAMP_DEFAULT_OPTIONS), options),
50
62
  });
51
63
 
52
- class TuiLineClampPositionDirective {
64
+ class TuiLineClampPositionDirective extends TuiPositionAccessor {
53
65
  constructor(accessor) {
66
+ super();
54
67
  this.accessor = accessor;
68
+ this.type = 'hint';
55
69
  }
56
70
  getPosition() {
57
71
  const { top, left } = this.accessor.getClientRect();
58
72
  return [top, left];
59
73
  }
60
74
  }
61
- TuiLineClampPositionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiLineClampPositionDirective, deps: [{ token: TuiRectAccessor }], target: i0.ɵɵFactoryTarget.Directive });
62
- TuiLineClampPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiLineClampPositionDirective, selector: "[tuiHintCustomPosition]", providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)], ngImport: i0 });
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiLineClampPositionDirective, decorators: [{
75
+ TuiLineClampPositionDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLineClampPositionDirective, deps: [{ token: TuiHintDirective }], target: i0.ɵɵFactoryTarget.Directive });
76
+ TuiLineClampPositionDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.17", type: TuiLineClampPositionDirective, selector: "[tuiHintCustomPosition]", providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)], usesInheritance: true, ngImport: i0 });
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLineClampPositionDirective, decorators: [{
64
78
  type: Directive,
65
79
  args: [{
66
80
  selector: '[tuiHintCustomPosition]',
@@ -68,7 +82,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
68
82
  }]
69
83
  }], ctorParameters: function () { return [{ type: i3.TuiRectAccessor, decorators: [{
70
84
  type: Inject,
71
- args: [TuiRectAccessor]
85
+ args: [TuiHintDirective]
72
86
  }] }]; } });
73
87
 
74
88
  class TuiLineClampComponent {
@@ -133,8 +147,8 @@ class TuiLineClampComponent {
133
147
  }
134
148
  }
135
149
  }
136
- TuiLineClampComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiLineClampComponent, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ChangeDetectorRef }, { token: NgZone }, { token: TUI_LINE_CLAMP_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
137
- TuiLineClampComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiLineClampComponent, selector: "tui-line-clamp", inputs: { linesLimit: "linesLimit", lineHeight: "lineHeight", content: "content" }, outputs: { overflownChange: "overflownChange" }, host: { listeners: { "transitionend": "updateView()" }, properties: { "style.maxHeight.px": "this.maxHeight", "style.height.px": "this.height" } }, providers: [
150
+ TuiLineClampComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLineClampComponent, deps: [{ token: ElementRef }, { token: Renderer2 }, { token: ChangeDetectorRef }, { token: NgZone }, { token: TUI_LINE_CLAMP_OPTIONS }], target: i0.ɵɵFactoryTarget.Component });
151
+ TuiLineClampComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiLineClampComponent, selector: "tui-line-clamp", inputs: { linesLimit: "linesLimit", lineHeight: "lineHeight", content: "content" }, outputs: { overflownChange: "overflownChange" }, host: { listeners: { "transitionend": "updateView()" }, properties: { "style.maxHeight.px": "this.maxHeight", "style.height.px": "this.height" } }, providers: [
138
152
  {
139
153
  provide: TUI_HINT_COMPONENT,
140
154
  useValue: TuiLineClampBoxComponent,
@@ -149,7 +163,7 @@ __decorate([
149
163
  __decorate([
150
164
  tuiDefaultProp()
151
165
  ], TuiLineClampComponent.prototype, "content", void 0);
152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiLineClampComponent, decorators: [{
166
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLineClampComponent, decorators: [{
153
167
  type: Component,
154
168
  args: [{
155
169
  selector: 'tui-line-clamp',
@@ -202,22 +216,22 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
202
216
 
203
217
  class TuiLineClampModule {
204
218
  }
205
- TuiLineClampModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiLineClampModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
206
- TuiLineClampModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiLineClampModule, declarations: [TuiLineClampComponent,
219
+ TuiLineClampModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLineClampModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
220
+ TuiLineClampModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLineClampModule, declarations: [TuiLineClampComponent,
207
221
  TuiLineClampBoxComponent,
208
222
  TuiLineClampPositionDirective], imports: [CommonModule,
209
223
  PolymorpheusModule,
210
224
  TuiHintModule,
211
225
  TuiResizeModule,
212
226
  TuiLetModule], exports: [TuiLineClampComponent] });
213
- TuiLineClampModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiLineClampModule, imports: [[
227
+ TuiLineClampModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLineClampModule, imports: [[
214
228
  CommonModule,
215
229
  PolymorpheusModule,
216
230
  TuiHintModule,
217
231
  TuiResizeModule,
218
232
  TuiLetModule,
219
233
  ]] });
220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiLineClampModule, decorators: [{
234
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiLineClampModule, decorators: [{
221
235
  type: NgModule,
222
236
  args: [{
223
237
  imports: [
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-line-clamp.js","sources":["../../../projects/kit/components/line-clamp/line-clamp-box.component.ts","../../../projects/kit/components/line-clamp/line-clamp-options.ts","../../../projects/kit/components/line-clamp/line-clamp-position.directive.ts","../../../projects/kit/components/line-clamp/line-clamp.component.ts","../../../projects/kit/components/line-clamp/line-clamp.template.html","../../../projects/kit/components/line-clamp/line-clamp.module.ts","../../../projects/kit/components/line-clamp/taiga-ui-kit-components-line-clamp.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding} from '@angular/core';\nimport {TuiDestroyService, TuiHoveredService} from '@taiga-ui/cdk';\nimport {tuiFadeIn, TuiHintComponent, TuiPositionService} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-line-clamp-box',\n template: `\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n `,\n styleUrls: ['./line-clamp-box.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService, TuiPositionService, TuiHoveredService],\n animations: [tuiFadeIn],\n})\nexport class TuiLineClampBoxComponent extends TuiHintComponent {\n @HostBinding('style.minWidth.px')\n get width(): number {\n return this.accessor.getClientRect().width;\n }\n}\n","import {InjectionToken, ValueProvider} from '@angular/core';\n\nexport interface TuiLineClampOptions {\n readonly showHint: boolean;\n}\n\nexport const TUI_LINE_CLAMP_DEFAULT_OPTIONS: TuiLineClampOptions = {\n showHint: true,\n};\n\nexport const TUI_LINE_CLAMP_OPTIONS = new InjectionToken<TuiLineClampOptions>(\n `[TUI_LINE_CLAMP_OPTIONS]: Default parameters for line-clamp component`,\n {\n factory: () => TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiLineClampOptionsProvider: (\n options: Partial<TuiLineClampOptions>,\n) => ValueProvider = (options: Partial<TuiLineClampOptions>) => ({\n provide: TUI_LINE_CLAMP_OPTIONS,\n useValue: {...TUI_LINE_CLAMP_DEFAULT_OPTIONS, ...options},\n});\n","import {Directive, Inject} from '@angular/core';\nimport {\n tuiAsPositionAccessor,\n TuiPoint,\n TuiPositionAccessor,\n TuiRectAccessor,\n} from '@taiga-ui/core';\n\n@Directive({\n selector: '[tuiHintCustomPosition]',\n providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)],\n})\nexport class TuiLineClampPositionDirective implements TuiPositionAccessor {\n constructor(@Inject(TuiRectAccessor) private readonly accessor: TuiRectAccessor) {}\n\n getPosition(): TuiPoint {\n const {top, left} = this.accessor.getClientRect();\n\n return [top, left];\n }\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DoCheck,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n NgZone,\n Output,\n Renderer2,\n ViewChild,\n} from '@angular/core';\nimport {\n tuiDefaultProp,\n tuiIsCurrentTarget,\n tuiTypedFromEvent,\n tuiZonefree,\n} from '@taiga-ui/cdk';\nimport {TUI_HINT_COMPONENT, TuiHintDirective} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {BehaviorSubject, Observable, of, Subject, timer} from 'rxjs';\nimport {\n distinctUntilChanged,\n filter,\n map,\n pairwise,\n startWith,\n switchMap,\n} from 'rxjs/operators';\n\nimport {TuiLineClampBoxComponent} from './line-clamp-box.component';\nimport {TUI_LINE_CLAMP_OPTIONS, TuiLineClampOptions} from './line-clamp-options';\n\n@Component({\n selector: 'tui-line-clamp',\n templateUrl: './line-clamp.template.html',\n styleUrls: ['./line-clamp.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_HINT_COMPONENT,\n useValue: TuiLineClampBoxComponent,\n },\n ],\n})\nexport class TuiLineClampComponent implements DoCheck, AfterViewInit {\n @ViewChild(TuiHintDirective, {read: ElementRef})\n private readonly outlet?: ElementRef<HTMLElement>;\n\n private readonly linesLimit$ = new BehaviorSubject(1);\n private readonly isOverflown$ = new Subject<boolean>();\n private initialized = false;\n\n @HostBinding('style.maxHeight.px')\n maxHeight: number | null = null;\n\n @HostBinding('style.height.px')\n height = 0;\n\n @Input()\n @tuiDefaultProp()\n set linesLimit(linesLimit: number) {\n this.linesLimit$.next(linesLimit);\n }\n\n @Input()\n @tuiDefaultProp()\n lineHeight = 24;\n\n @Input()\n @tuiDefaultProp()\n content: PolymorpheusContent = '';\n\n @Output()\n readonly overflownChange: Observable<boolean> = this.isOverflown$.pipe(\n distinctUntilChanged(),\n );\n\n lineClamp$ = this.linesLimit$.pipe(\n startWith(1),\n pairwise(),\n switchMap(([prev, next]) =>\n next >= prev\n ? of(next)\n : tuiTypedFromEvent(this.elementRef.nativeElement, 'transitionend').pipe(\n filter(tuiIsCurrentTarget),\n map(() => next),\n ),\n ),\n );\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(ChangeDetectorRef) private readonly cd: ChangeDetectorRef,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(TUI_LINE_CLAMP_OPTIONS) private readonly options: TuiLineClampOptions,\n ) {\n this.skipInitialTransition();\n }\n\n get overflown(): boolean {\n if (!this.outlet) {\n return false;\n }\n\n const {scrollHeight, scrollWidth} = this.outlet.nativeElement;\n const {clientHeight, clientWidth} = this.elementRef.nativeElement;\n\n // 4px buffer for IE/Edge incorrectly rounding scrollHeight\n return scrollHeight - clientHeight > 4 || scrollWidth - clientWidth > 0;\n }\n\n get computedContent(): PolymorpheusContent {\n return this.options.showHint && this.overflown ? this.content : '';\n }\n\n @HostListener('transitionend')\n updateView(): void {\n this.cd.detectChanges();\n }\n\n ngAfterViewInit(): void {\n this.initialized = true;\n }\n\n ngDoCheck(): void {\n this.updateStaticallyHostBinding();\n this.isOverflown$.next(this.overflown);\n }\n\n private skipInitialTransition(): void {\n timer(0)\n .pipe(tuiZonefree(this.ngZone))\n .subscribe(() => {\n this.renderer.addClass(this.elementRef.nativeElement, '_initialized');\n this.cd.detectChanges();\n });\n }\n\n private updateStaticallyHostBinding(): void {\n if (this.outlet) {\n this.height = this.outlet.nativeElement.scrollHeight + 4;\n }\n\n if (this.initialized) {\n this.maxHeight = this.lineHeight * this.linesLimit$.value;\n }\n }\n}\n","<div\n *tuiLet=\"lineClamp$ | async as lineClamp\"\n tuiHintCustomPosition\n class=\"t-wrapper\"\n [tuiHint]=\"computedContent\"\n [style.-webkit-line-clamp]=\"lineClamp\"\n [style.word-break]=\"(lineClamp || 0) > 1 ? 'break-word' : 'break-all'\"\n (tuiResize)=\"updateView()\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule, TuiResizeModule} from '@taiga-ui/cdk';\nimport {TuiHintModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiLineClampComponent} from './line-clamp.component';\nimport {TuiLineClampBoxComponent} from './line-clamp-box.component';\nimport {TuiLineClampPositionDirective} from './line-clamp-position.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiHintModule,\n TuiResizeModule,\n TuiLetModule,\n ],\n declarations: [\n TuiLineClampComponent,\n TuiLineClampBoxComponent,\n TuiLineClampPositionDirective,\n ],\n exports: [TuiLineClampComponent],\n})\nexport class TuiLineClampModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2.TuiLineClampPositionDirective","i4"],"mappings":";;;;;;;;;;;;;;AAcM,MAAO,wBAAyB,SAAQ,gBAAgB,CAAA;AAC1D,IAAA,IACI,KAAK,GAAA;QACL,OAAO,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,CAAC,KAAK,CAAC;KAC9C;;sHAJQ,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;0GAAxB,wBAAwB,EAAA,QAAA,EAAA,oBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,SAAA,EAHtB,CAAC,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC,EAL3D,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;KAET,EAIW,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,mcAAA,CAAA,EAAA,UAAA,EAAA,CAAA,EAAA,IAAA,EAAA,EAAA,CAAA,2BAAA,EAAA,QAAA,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EAAA,CAAA,CAAA;AAEtB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAdlB,OAAA,EAAA,CAAA;YACL,YAAY;YACZ,kBAAkB;YAClB,aAAa;YACb,eAAe;YACf,YAAY;AACf,SAAA,CAAA,EAAA,CAAA,CAAA;4FAQQ,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAf9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;wBAClB,aAAa;wBACb,eAAe;wBACf,YAAY;AACf,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,qBAAqB;wBACrB,wBAAwB;wBACxB,6BAA6B;AAChC,qBAAA;oBACD,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACnC,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-line-clamp.js","sources":["../../../projects/kit/components/line-clamp/line-clamp-box.component.ts","../../../projects/kit/components/line-clamp/line-clamp-options.ts","../../../projects/kit/components/line-clamp/line-clamp-position.directive.ts","../../../projects/kit/components/line-clamp/line-clamp.component.ts","../../../projects/kit/components/line-clamp/line-clamp.template.html","../../../projects/kit/components/line-clamp/line-clamp.module.ts","../../../projects/kit/components/line-clamp/taiga-ui-kit-components-line-clamp.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, HostBinding} from '@angular/core';\nimport {TuiDestroyService, TuiHoveredService} from '@taiga-ui/cdk';\nimport {\n tuiFadeIn,\n TuiHintComponent,\n TuiHintDirective,\n tuiPositionAccessorFor,\n TuiPositionService,\n tuiRectAccessorFor,\n} from '@taiga-ui/core';\n\n@Component({\n selector: 'tui-line-clamp-box',\n template: `\n <ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n `,\n styleUrls: ['./line-clamp-box.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TuiDestroyService,\n TuiPositionService,\n TuiHoveredService,\n tuiPositionAccessorFor('hint'),\n tuiRectAccessorFor('hint', TuiHintDirective),\n ],\n animations: [tuiFadeIn],\n})\nexport class TuiLineClampBoxComponent extends TuiHintComponent {\n @HostBinding('style.minWidth.px')\n get width(): number {\n return this.accessor.getClientRect().width;\n }\n}\n","import {InjectionToken, ValueProvider} from '@angular/core';\n\nexport interface TuiLineClampOptions {\n readonly showHint: boolean;\n}\n\nexport const TUI_LINE_CLAMP_DEFAULT_OPTIONS: TuiLineClampOptions = {\n showHint: true,\n};\n\nexport const TUI_LINE_CLAMP_OPTIONS = new InjectionToken<TuiLineClampOptions>(\n `[TUI_LINE_CLAMP_OPTIONS]: Default parameters for line-clamp component`,\n {\n factory: () => TUI_LINE_CLAMP_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiLineClampOptionsProvider: (\n options: Partial<TuiLineClampOptions>,\n) => ValueProvider = (options: Partial<TuiLineClampOptions>) => ({\n provide: TUI_LINE_CLAMP_OPTIONS,\n useValue: {...TUI_LINE_CLAMP_DEFAULT_OPTIONS, ...options},\n});\n","import {Directive, Inject} from '@angular/core';\nimport {\n tuiAsPositionAccessor,\n TuiHintDirective,\n TuiPoint,\n TuiPositionAccessor,\n TuiRectAccessor,\n} from '@taiga-ui/core';\n\n@Directive({\n selector: '[tuiHintCustomPosition]',\n providers: [tuiAsPositionAccessor(TuiLineClampPositionDirective)],\n})\nexport class TuiLineClampPositionDirective extends TuiPositionAccessor {\n readonly type = 'hint';\n\n constructor(@Inject(TuiHintDirective) private readonly accessor: TuiRectAccessor) {\n super();\n }\n\n getPosition(): TuiPoint {\n const {top, left} = this.accessor.getClientRect();\n\n return [top, left];\n }\n}\n","import {\n AfterViewInit,\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n DoCheck,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n NgZone,\n Output,\n Renderer2,\n ViewChild,\n} from '@angular/core';\nimport {\n tuiDefaultProp,\n tuiIsCurrentTarget,\n tuiTypedFromEvent,\n tuiZonefree,\n} from '@taiga-ui/cdk';\nimport {TUI_HINT_COMPONENT, TuiHintDirective} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {BehaviorSubject, Observable, of, Subject, timer} from 'rxjs';\nimport {\n distinctUntilChanged,\n filter,\n map,\n pairwise,\n startWith,\n switchMap,\n} from 'rxjs/operators';\n\nimport {TuiLineClampBoxComponent} from './line-clamp-box.component';\nimport {TUI_LINE_CLAMP_OPTIONS, TuiLineClampOptions} from './line-clamp-options';\n\n@Component({\n selector: 'tui-line-clamp',\n templateUrl: './line-clamp.template.html',\n styleUrls: ['./line-clamp.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_HINT_COMPONENT,\n useValue: TuiLineClampBoxComponent,\n },\n ],\n})\nexport class TuiLineClampComponent implements DoCheck, AfterViewInit {\n @ViewChild(TuiHintDirective, {read: ElementRef})\n private readonly outlet?: ElementRef<HTMLElement>;\n\n private readonly linesLimit$ = new BehaviorSubject(1);\n private readonly isOverflown$ = new Subject<boolean>();\n private initialized = false;\n\n @HostBinding('style.maxHeight.px')\n maxHeight: number | null = null;\n\n @HostBinding('style.height.px')\n height = 0;\n\n @Input()\n @tuiDefaultProp()\n set linesLimit(linesLimit: number) {\n this.linesLimit$.next(linesLimit);\n }\n\n @Input()\n @tuiDefaultProp()\n lineHeight = 24;\n\n @Input()\n @tuiDefaultProp()\n content: PolymorpheusContent = '';\n\n @Output()\n readonly overflownChange: Observable<boolean> = this.isOverflown$.pipe(\n distinctUntilChanged(),\n );\n\n lineClamp$ = this.linesLimit$.pipe(\n startWith(1),\n pairwise(),\n switchMap(([prev, next]) =>\n next >= prev\n ? of(next)\n : tuiTypedFromEvent(this.elementRef.nativeElement, 'transitionend').pipe(\n filter(tuiIsCurrentTarget),\n map(() => next),\n ),\n ),\n );\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(ChangeDetectorRef) private readonly cd: ChangeDetectorRef,\n @Inject(NgZone) private readonly ngZone: NgZone,\n @Inject(TUI_LINE_CLAMP_OPTIONS) private readonly options: TuiLineClampOptions,\n ) {\n this.skipInitialTransition();\n }\n\n get overflown(): boolean {\n if (!this.outlet) {\n return false;\n }\n\n const {scrollHeight, scrollWidth} = this.outlet.nativeElement;\n const {clientHeight, clientWidth} = this.elementRef.nativeElement;\n\n // 4px buffer for IE/Edge incorrectly rounding scrollHeight\n return scrollHeight - clientHeight > 4 || scrollWidth - clientWidth > 0;\n }\n\n get computedContent(): PolymorpheusContent {\n return this.options.showHint && this.overflown ? this.content : '';\n }\n\n @HostListener('transitionend')\n updateView(): void {\n this.cd.detectChanges();\n }\n\n ngAfterViewInit(): void {\n this.initialized = true;\n }\n\n ngDoCheck(): void {\n this.updateStaticallyHostBinding();\n this.isOverflown$.next(this.overflown);\n }\n\n private skipInitialTransition(): void {\n timer(0)\n .pipe(tuiZonefree(this.ngZone))\n .subscribe(() => {\n this.renderer.addClass(this.elementRef.nativeElement, '_initialized');\n this.cd.detectChanges();\n });\n }\n\n private updateStaticallyHostBinding(): void {\n if (this.outlet) {\n this.height = this.outlet.nativeElement.scrollHeight + 4;\n }\n\n if (this.initialized) {\n this.maxHeight = this.lineHeight * this.linesLimit$.value;\n }\n }\n}\n","<div\n *tuiLet=\"lineClamp$ | async as lineClamp\"\n tuiHintCustomPosition\n class=\"t-wrapper\"\n [tuiHint]=\"computedContent\"\n [style.-webkit-line-clamp]=\"lineClamp\"\n [style.word-break]=\"(lineClamp || 0) > 1 ? 'break-word' : 'break-all'\"\n (tuiResize)=\"updateView()\"\n>\n <ng-container *polymorpheusOutlet=\"content as text\">\n {{ text }}\n </ng-container>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule, TuiResizeModule} from '@taiga-ui/cdk';\nimport {TuiHintModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiLineClampComponent} from './line-clamp.component';\nimport {TuiLineClampBoxComponent} from './line-clamp-box.component';\nimport {TuiLineClampPositionDirective} from './line-clamp-position.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiHintModule,\n TuiResizeModule,\n TuiLetModule,\n ],\n declarations: [\n TuiLineClampComponent,\n TuiLineClampBoxComponent,\n TuiLineClampPositionDirective,\n ],\n exports: [TuiLineClampComponent],\n})\nexport class TuiLineClampModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i1","i2.TuiLineClampPositionDirective","i4"],"mappings":";;;;;;;;;;;;;;AA2BM,MAAO,wBAAyB,SAAQ,gBAAgB,CAAA;AAC1D,IAAA,IACI,KAAK,GAAA;QACL,OAAO,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,CAAC,KAAK,CAAC;KAC9C;;sHAJQ,wBAAwB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAxB,wBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,wBAAwB,EATtB,QAAA,EAAA,oBAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,mBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,SAAA,EAAA;QACP,iBAAiB;QACjB,kBAAkB;QAClB,iBAAiB;QACjB,sBAAsB,CAAC,MAAM,CAAC;AAC9B,QAAA,kBAAkB,CAAC,MAAM,EAAE,gBAAgB,CAAC;KAC/C,EAXS,eAAA,EAAA,IAAA,EAAA,QAAA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A;;gHAAlB,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,iBANvB,qBAAqB;QACrB,wBAAwB;AACxB,QAAA,6BAA6B,aAT7B,YAAY;QACZ,kBAAkB;QAClB,aAAa;QACb,eAAe;AACf,QAAA,YAAY,aAON,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAEtB,kBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,EAdlB,OAAA,EAAA,CAAA;YACL,YAAY;YACZ,kBAAkB;YAClB,aAAa;YACb,eAAe;YACf,YAAY;AACf,SAAA,CAAA,EAAA,CAAA,CAAA;4FAQQ,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAf9B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;wBAClB,aAAa;wBACb,eAAe;wBACf,YAAY;AACf,qBAAA;AACD,oBAAA,YAAY,EAAE;wBACV,qBAAqB;wBACrB,wBAAwB;wBACxB,6BAA6B;AAChC,qBAAA;oBACD,OAAO,EAAE,CAAC,qBAAqB,CAAC;AACnC,iBAAA,CAAA;;;ACxBD;;AAEG;;;;"}
@@ -15,8 +15,8 @@ class TuiMarkerIconComponent {
15
15
  this.src = '';
16
16
  }
17
17
  }
18
- TuiMarkerIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMarkerIconComponent, deps: [{ token: TUI_MODE }], target: i0.ɵɵFactoryTarget.Component });
19
- TuiMarkerIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiMarkerIconComponent, selector: "tui-marker-icon, a[tuiMarkerIcon], button[tuiMarkerIcon]", inputs: { mode: "mode", size: "size", src: "src" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "attr.data-marker-mode": "this.mode", "attr.data-size": "this.size" } }, providers: [TuiDestroyService, MODE_PROVIDER], ngImport: i0, template: "<tui-svg\n class=\"t-icon\"\n [src]=\"src\"\n></tui-svg>\n", styles: [":host{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:100%;color:var(--tui-text-03);background-color:var(--tui-base-02);background-size:cover!important;transition-property:color,background-color}:host[data-size=xs]{width:2rem;height:2rem}:host[data-size=s]{width:3rem;height:3rem}:host[data-size=m]{width:4rem;height:4rem}:host[data-size=l]{width:6rem;height:6rem}:host[data-size=xl]{width:8rem;height:8rem}:host[new][data-size=xxs]{width:1.5rem;height:1.5rem}:host[new][data-size=xxs] .t-icon{transform:scale(.58)}:host[new][data-size=xs]{width:2rem;height:2rem}:host[new][data-size=xs] .t-icon{transform:scale(.83)}:host[new][data-size=s]{width:2.5rem;height:2.5rem}:host[new][data-size=s] .t-icon{transform:scale(1)}:host[new][data-size=m]{width:3rem;height:3rem}:host[new][data-size=m] .t-icon{transform:scale(1.17)}:host[new][data-size=l]{width:4rem;height:4rem}:host[new][data-size=l] .t-icon{transform:scale(1.67)}:host[new][data-size=xl]{width:6rem;height:6rem}:host[new][data-size=xl] .t-icon{transform:scale(2.33)}:host[new][data-size=xxl]{width:8rem;height:8rem}:host[new][data-size=xxl] .t-icon{transform:scale(3.33)}:host[data-mode=onDark]:not([data-marker-mode]){color:var(--tui-base-01);background-color:var(--tui-clear-inverse)}:host[data-marker-mode=primary]{color:var(--tui-primary-text);background-color:var(--tui-primary)}:host[data-marker-mode=white]{color:var(--tui-text-03);background-color:var(--tui-base-01)}:host[data-marker-mode=warning]{color:var(--tui-warning-fill);background-color:var(--tui-warning-bg)}:host[data-marker-mode=secondary]{color:var(--tui-base-01);background-color:var(--tui-info-fill)}:host[data-marker-mode=error]{color:var(--tui-error-fill);background-color:var(--tui-error-bg)}:host[data-marker-mode=success]{color:var(--tui-success-fill);background-color:var(--tui-success-bg)}:host[data-marker-mode=link]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);background-color:var(--tui-secondary)}a:host[data-marker-mode=link],button:host[data-marker-mode=link]{cursor:pointer}a:host[data-marker-mode=link]:hover,button:host[data-marker-mode=link]:hover{color:var(--tui-link-hover);background-color:var(--tui-secondary-hover)}a:host[data-marker-mode=link]:active,button:host[data-marker-mode=link]:active{color:var(--tui-link-hover);background-color:var(--tui-secondary-active)}.t-icon{width:3rem;height:3rem}:host[data-size=xs] .t-icon{transform:scale(.667)}:host[data-size=s] .t-icon{transform:scale(1.167)}:host[data-size=m] .t-icon{transform:scale(1.667)}:host[data-size=l] .t-icon{transform:scale(2.333)}:host[data-size=xl] .t-icon{transform:scale(3.333)}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
18
+ TuiMarkerIconComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMarkerIconComponent, deps: [{ token: TUI_MODE }], target: i0.ɵɵFactoryTarget.Component });
19
+ TuiMarkerIconComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiMarkerIconComponent, selector: "tui-marker-icon, a[tuiMarkerIcon], button[tuiMarkerIcon]", inputs: { mode: "mode", size: "size", src: "src" }, host: { listeners: { "$.data-mode.attr": "mode$" }, properties: { "attr.data-marker-mode": "this.mode", "attr.data-size": "this.size" } }, providers: [TuiDestroyService, MODE_PROVIDER], ngImport: i0, template: "<tui-svg\n class=\"t-icon\"\n [src]=\"src\"\n></tui-svg>\n", styles: [":host{transition-property:all;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:100%;color:var(--tui-text-03);background-color:var(--tui-base-02);background-size:cover!important;transition-property:color,background-color}:host[data-size=xs]{width:2rem;height:2rem}:host[data-size=s]{width:3rem;height:3rem}:host[data-size=m]{width:4rem;height:4rem}:host[data-size=l]{width:6rem;height:6rem}:host[data-size=xl]{width:8rem;height:8rem}:host[new][data-size=xxs]{width:1.5rem;height:1.5rem}:host[new][data-size=xxs] .t-icon{transform:scale(.58)}:host[new][data-size=xs]{width:2rem;height:2rem}:host[new][data-size=xs] .t-icon{transform:scale(.83)}:host[new][data-size=s]{width:2.5rem;height:2.5rem}:host[new][data-size=s] .t-icon{transform:scale(1)}:host[new][data-size=m]{width:3rem;height:3rem}:host[new][data-size=m] .t-icon{transform:scale(1.17)}:host[new][data-size=l]{width:4rem;height:4rem}:host[new][data-size=l] .t-icon{transform:scale(1.67)}:host[new][data-size=xl]{width:6rem;height:6rem}:host[new][data-size=xl] .t-icon{transform:scale(2.33)}:host[new][data-size=xxl]{width:8rem;height:8rem}:host[new][data-size=xxl] .t-icon{transform:scale(3.33)}:host[data-mode=onDark]:not([data-marker-mode]){color:var(--tui-base-01);background-color:var(--tui-clear-inverse)}:host[data-marker-mode=primary]{color:var(--tui-primary-text);background-color:var(--tui-primary)}:host[data-marker-mode=white]{color:var(--tui-text-03);background-color:var(--tui-base-01)}:host[data-marker-mode=warning]{color:var(--tui-warning-fill);background-color:var(--tui-warning-bg)}:host[data-marker-mode=secondary]{color:var(--tui-base-01);background-color:var(--tui-info-fill)}:host[data-marker-mode=error]{color:var(--tui-error-fill);background-color:var(--tui-error-bg)}:host[data-marker-mode=success]{color:var(--tui-success-fill);background-color:var(--tui-success-bg)}:host[data-marker-mode=link]{transition-property:color;transition-duration:var(--tui-duration, .3s);transition-timing-function:ease-in-out;color:var(--tui-link);background-color:var(--tui-secondary)}a:host[data-marker-mode=link],button:host[data-marker-mode=link]{cursor:pointer}a:host[data-marker-mode=link]:hover,button:host[data-marker-mode=link]:hover{color:var(--tui-link-hover);background-color:var(--tui-secondary-hover)}a:host[data-marker-mode=link]:active,button:host[data-marker-mode=link]:active{color:var(--tui-link-hover);background-color:var(--tui-secondary-active)}.t-icon{width:3rem;height:3rem}:host[data-size=xs] .t-icon{transform:scale(.667)}:host[data-size=s] .t-icon{transform:scale(1.167)}:host[data-size=m] .t-icon{transform:scale(1.667)}:host[data-size=l] .t-icon{transform:scale(2.333)}:host[data-size=xl] .t-icon{transform:scale(3.333)}\n"], components: [{ type: i1.TuiSvgComponent, selector: "tui-svg", inputs: ["src"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
20
20
  __decorate([
21
21
  tuiDefaultProp()
22
22
  ], TuiMarkerIconComponent.prototype, "mode", void 0);
@@ -26,7 +26,7 @@ __decorate([
26
26
  __decorate([
27
27
  tuiDefaultProp()
28
28
  ], TuiMarkerIconComponent.prototype, "src", void 0);
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMarkerIconComponent, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMarkerIconComponent, decorators: [{
30
30
  type: Component,
31
31
  args: [{
32
32
  selector: 'tui-marker-icon, a[tuiMarkerIcon], button[tuiMarkerIcon]',
@@ -57,10 +57,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
57
57
 
58
58
  class TuiMarkerIconModule {
59
59
  }
60
- TuiMarkerIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMarkerIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
61
- TuiMarkerIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMarkerIconModule, declarations: [TuiMarkerIconComponent], imports: [CommonModule, TuiSvgModule], exports: [TuiMarkerIconComponent] });
62
- TuiMarkerIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMarkerIconModule, imports: [[CommonModule, TuiSvgModule]] });
63
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMarkerIconModule, decorators: [{
60
+ TuiMarkerIconModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMarkerIconModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
61
+ TuiMarkerIconModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMarkerIconModule, declarations: [TuiMarkerIconComponent], imports: [CommonModule, TuiSvgModule], exports: [TuiMarkerIconComponent] });
62
+ TuiMarkerIconModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMarkerIconModule, imports: [[CommonModule, TuiSvgModule]] });
63
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMarkerIconModule, decorators: [{
64
64
  type: NgModule,
65
65
  args: [{
66
66
  imports: [CommonModule, TuiSvgModule],
@@ -22,9 +22,9 @@ class TuiMultiSelectOptionComponent extends TuiSelectOptionComponent {
22
22
  this.value.some(item => this.matcher(item, value)));
23
23
  }
24
24
  }
25
- TuiMultiSelectOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMultiSelectOptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
26
- TuiMultiSelectOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiMultiSelectOptionComponent, selector: "tui-multi-select-option", usesInheritance: true, ngImport: i0, template: "<tui-primitive-checkbox\n class=\"t-checkbox\"\n [size]=\"size\"\n [value]=\"selected$ | async\"\n></tui-primitive-checkbox>\n<ng-container [ngTemplateOutlet]=\"context.$implicit\"></ng-container>\n", styles: ["@keyframes retrigger{0%{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;overflow:hidden;animation:retrigger 1s}.t-checkbox{margin-right:.75rem}\n"], components: [{ type: i1.TuiPrimitiveCheckboxComponent, selector: "tui-primitive-checkbox", inputs: ["size", "disabled", "focused", "hovered", "pressed", "invalid", "value"] }], directives: [{ type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMultiSelectOptionComponent, decorators: [{
25
+ TuiMultiSelectOptionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMultiSelectOptionComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
26
+ TuiMultiSelectOptionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.17", type: TuiMultiSelectOptionComponent, selector: "tui-multi-select-option", usesInheritance: true, ngImport: i0, template: "<tui-primitive-checkbox\n class=\"t-checkbox\"\n [size]=\"size\"\n [value]=\"selected$ | async\"\n></tui-primitive-checkbox>\n<ng-container [ngTemplateOutlet]=\"context.$implicit\"></ng-container>\n", styles: ["@keyframes retrigger{0%{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;overflow:hidden;animation:retrigger 1s}.t-checkbox{margin-right:.75rem}\n"], components: [{ type: i1.TuiPrimitiveCheckboxComponent, selector: "tui-primitive-checkbox", inputs: ["size", "disabled", "focused", "hovered", "pressed", "invalid", "value"] }], directives: [{ type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }], pipes: { "async": i2.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMultiSelectOptionComponent, decorators: [{
28
28
  type: Component,
29
29
  args: [{
30
30
  selector: 'tui-multi-select-option',
@@ -36,10 +36,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImpo
36
36
 
37
37
  class TuiMultiSelectOptionModule {
38
38
  }
39
- TuiMultiSelectOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMultiSelectOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
40
- TuiMultiSelectOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMultiSelectOptionModule, declarations: [TuiMultiSelectOptionComponent], imports: [CommonModule, TuiPrimitiveCheckboxModule], exports: [TuiMultiSelectOptionComponent] });
41
- TuiMultiSelectOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMultiSelectOptionModule, imports: [[CommonModule, TuiPrimitiveCheckboxModule]] });
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiMultiSelectOptionModule, decorators: [{
39
+ TuiMultiSelectOptionModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMultiSelectOptionModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
40
+ TuiMultiSelectOptionModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMultiSelectOptionModule, declarations: [TuiMultiSelectOptionComponent], imports: [CommonModule, TuiPrimitiveCheckboxModule], exports: [TuiMultiSelectOptionComponent] });
41
+ TuiMultiSelectOptionModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMultiSelectOptionModule, imports: [[CommonModule, TuiPrimitiveCheckboxModule]] });
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: TuiMultiSelectOptionModule, decorators: [{
43
43
  type: NgModule,
44
44
  args: [{
45
45
  imports: [CommonModule, TuiPrimitiveCheckboxModule],