@taiga-ui/kit 2.24.0 → 2.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (610) hide show
  1. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  2. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  4. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +4 -4
  12. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +2 -2
  14. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-file.umd.js +189 -189
  38. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +2 -2
  40. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +4 -4
  60. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +2 -2
  62. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +338 -0
  72. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -0
  73. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +16 -0
  74. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -0
  75. package/bundles/taiga-ui-kit-components-progress.umd.js +26 -26
  76. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
  78. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  82. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-tree.umd.js +84 -84
  102. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-tree.umd.min.js +2 -2
  104. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components.umd.js +34 -26
  106. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
  108. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  110. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  112. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +2 -1
  113. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  114. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  115. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  116. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  117. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  119. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  120. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  121. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  122. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  123. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  124. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  125. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  126. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  127. package/bundles/taiga-ui-kit-directives.umd.js +12 -12
  128. package/bundles/taiga-ui-kit-directives.umd.min.js +1 -1
  129. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  130. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  131. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +21 -21
  132. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +1 -1
  134. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  135. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  137. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  138. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  139. package/bundles/taiga-ui-kit-tokens.umd.js +14 -14
  140. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  141. package/bundles/taiga-ui-kit-tokens.umd.min.js +1 -1
  142. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  143. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  144. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
  145. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  146. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  147. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  148. package/components/breadcrumbs/index.d.ts +1 -1
  149. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  150. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  151. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  152. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  153. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  154. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  155. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  156. package/components/index.d.ts +4 -3
  157. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  158. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  159. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  160. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  161. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  162. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  163. package/components/input-file/index.d.ts +1 -1
  164. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  165. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
  166. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  167. package/components/input-password/index.d.ts +1 -1
  168. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  169. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  170. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  171. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  172. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  173. package/components/island/taiga-ui-kit-components-island.metadata.json +1 -1
  174. package/components/line-clamp/index.d.ts +1 -1
  175. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  176. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  177. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  178. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +1 -1
  179. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  180. package/components/pdf-viewer/index.d.ts +5 -0
  181. package/components/pdf-viewer/package.json +13 -0
  182. package/components/pdf-viewer/pdf-viewer-options.d.ts +6 -0
  183. package/components/pdf-viewer/pdf-viewer.component.d.ts +20 -0
  184. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -0
  185. package/components/pdf-viewer/pdf-viewer.module.d.ts +2 -0
  186. package/components/pdf-viewer/pdf-viewer.service.d.ts +8 -0
  187. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +4 -0
  188. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -0
  189. package/components/progress/index.d.ts +4 -4
  190. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  191. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  192. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +1 -1
  193. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  194. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  195. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  196. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  197. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  198. package/components/tabs/index.d.ts +2 -2
  199. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  200. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  201. package/components/taiga-ui-kit-components.metadata.json +1 -1
  202. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  203. package/components/toggle/index.d.ts +1 -1
  204. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  205. package/components/tree/index.d.ts +4 -4
  206. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
  207. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -1
  208. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +1 -1
  209. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
  210. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +1 -1
  211. package/directives/index.d.ts +1 -1
  212. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
  213. package/directives/present/taiga-ui-kit-directives-present.metadata.json +1 -1
  214. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +1 -1
  215. package/directives/taiga-ui-kit-directives.metadata.json +1 -1
  216. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +1 -1
  217. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +1 -1
  218. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +1 -1
  219. package/esm2015/components/accordion/accordion.component.js +1 -1
  220. package/esm2015/components/accordion/accordion.module.js +3 -3
  221. package/esm2015/components/arrow/arrow.module.js +1 -1
  222. package/esm2015/components/avatar/avatar.module.js +1 -1
  223. package/esm2015/components/badge/badge.module.js +1 -1
  224. package/esm2015/components/badged-content/badged-content.module.js +1 -1
  225. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +1 -1
  226. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +2 -2
  227. package/esm2015/components/breadcrumbs/index.js +2 -2
  228. package/esm2015/components/calendar-month/calendar-month.module.js +1 -1
  229. package/esm2015/components/checkbox/checkbox.module.js +1 -1
  230. package/esm2015/components/combo-box/combo-box.module.js +1 -1
  231. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +1 -1
  232. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  233. package/esm2015/components/field-error/field-error.module.js +1 -1
  234. package/esm2015/components/filter/filter.module.js +1 -1
  235. package/esm2015/components/index.js +5 -4
  236. package/esm2015/components/input/input.component.js +1 -1
  237. package/esm2015/components/input/input.module.js +1 -1
  238. package/esm2015/components/input/input.providers.js +1 -1
  239. package/esm2015/components/input-copy/input-copy.module.js +1 -1
  240. package/esm2015/components/input-count/input-count.component.js +1 -1
  241. package/esm2015/components/input-count/input-count.module.js +1 -1
  242. package/esm2015/components/input-date/input-date.module.js +1 -1
  243. package/esm2015/components/input-date-range/input-date-range.module.js +1 -1
  244. package/esm2015/components/input-date-time/input-date-time.module.js +1 -1
  245. package/esm2015/components/input-file/index.js +2 -2
  246. package/esm2015/components/input-file/input-file.module.js +1 -1
  247. package/esm2015/components/input-inline/input-inline.module.js +1 -1
  248. package/esm2015/components/input-number/input-number.module.js +1 -1
  249. package/esm2015/components/input-password/index.js +2 -2
  250. package/esm2015/components/input-password/input-password.component.js +1 -1
  251. package/esm2015/components/input-password/input-password.module.js +1 -1
  252. package/esm2015/components/input-phone/input-phone.component.js +1 -1
  253. package/esm2015/components/input-phone/input-phone.module.js +1 -1
  254. package/esm2015/components/input-phone-international/const/countries.js +1 -1
  255. package/esm2015/components/input-phone-international/input-phone-international.component.js +1 -1
  256. package/esm2015/components/input-phone-international/input-phone-international.module.js +1 -1
  257. package/esm2015/components/input-tag/input-tag.module.js +1 -1
  258. package/esm2015/components/input-time/input-time.component.js +1 -1
  259. package/esm2015/components/input-time/input-time.module.js +1 -1
  260. package/esm2015/components/island/island.module.js +1 -1
  261. package/esm2015/components/line-clamp/index.js +2 -2
  262. package/esm2015/components/line-clamp/line-clamp.module.js +1 -1
  263. package/esm2015/components/marker-icon/marker-icon.module.js +1 -1
  264. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  265. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  266. package/esm2015/components/multi-select/multi-select.module.js +2 -2
  267. package/esm2015/components/multi-select-option/multi-select-option.module.js +1 -1
  268. package/esm2015/components/pagination/pagination.module.js +1 -1
  269. package/esm2015/components/pdf-viewer/index.js +5 -0
  270. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +1 -0
  271. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +50 -0
  272. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +21 -0
  273. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +28 -0
  274. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +24 -0
  275. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  276. package/esm2015/components/progress/index.js +5 -5
  277. package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +1 -1
  278. package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +1 -1
  279. package/esm2015/components/progress/progress.module.js +2 -2
  280. package/esm2015/components/radio/radio.component.js +1 -1
  281. package/esm2015/components/radio/radio.module.js +1 -1
  282. package/esm2015/components/radio-group/radio-group.module.js +1 -1
  283. package/esm2015/components/range/range.module.js +1 -1
  284. package/esm2015/components/select/select.module.js +1 -1
  285. package/esm2015/components/select-option/select-option.module.js +1 -1
  286. package/esm2015/components/slider/slider.module.js +1 -1
  287. package/esm2015/components/stepper/step/step.component.js +1 -1
  288. package/esm2015/components/stepper/stepper.component.js +1 -1
  289. package/esm2015/components/stepper/stepper.module.js +1 -1
  290. package/esm2015/components/tabs/index.js +3 -3
  291. package/esm2015/components/tabs/tab/tab.component.js +1 -1
  292. package/esm2015/components/tabs/tabs/tabs.component.js +1 -1
  293. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +1 -1
  294. package/esm2015/components/tabs/tabs.module.js +2 -2
  295. package/esm2015/components/tag/tag.module.js +1 -1
  296. package/esm2015/components/text-area/text-area.component.js +1 -1
  297. package/esm2015/components/text-area/text-area.module.js +1 -1
  298. package/esm2015/components/text-area/text-area.providers.js +1 -1
  299. package/esm2015/components/toggle/index.js +2 -2
  300. package/esm2015/components/toggle/toggle.component.js +1 -1
  301. package/esm2015/components/toggle/toggle.module.js +1 -1
  302. package/esm2015/components/tree/components/tree/tree.component.js +1 -1
  303. package/esm2015/components/tree/components/tree-item/tree-item.component.js +8 -8
  304. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +1 -1
  305. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +4 -4
  306. package/esm2015/components/tree/directives/tree-controller.directive.js +1 -1
  307. package/esm2015/components/tree/directives/tree-item-controller.directive.js +1 -1
  308. package/esm2015/components/tree/directives/tree-node.directive.js +1 -1
  309. package/esm2015/components/tree/index.js +4 -4
  310. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  311. package/esm2015/components/tree/misc/tree.interfaces.js +1 -1
  312. package/esm2015/components/tree/misc/tree.service.js +1 -1
  313. package/esm2015/components/tree/misc/tree.tokens.js +1 -1
  314. package/esm2015/components/tree/tree.module.js +3 -3
  315. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +1 -1
  316. package/esm2015/directives/dropdown-context/dropdown-context.module.js +1 -1
  317. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  318. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +3 -2
  319. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  320. package/esm2015/directives/highlight/highlight.module.js +1 -1
  321. package/esm2015/directives/index.js +2 -2
  322. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +1 -1
  323. package/esm2015/directives/lazy-loading/lazy-loading.module.js +1 -1
  324. package/esm2015/directives/present/present.module.js +1 -1
  325. package/esm2015/directives/project-class/project-class.module.js +1 -1
  326. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  327. package/esm2015/directives/value-accessor/value-accessor.module.js +1 -1
  328. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  329. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  330. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +2 -2
  331. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  332. package/esm2015/pipes/stringify/stringify.module.js +1 -1
  333. package/esm2015/pipes/stringify-content/stringify-content.module.js +1 -1
  334. package/esm2015/tokens/index.js +2 -2
  335. package/esm2015/utils/mask/index.js +2 -2
  336. package/esm5/components/accordion/accordion-item/accordion-item.component.js +1 -1
  337. package/esm5/components/accordion/accordion.component.js +1 -1
  338. package/esm5/components/accordion/accordion.module.js +3 -3
  339. package/esm5/components/arrow/arrow.module.js +1 -1
  340. package/esm5/components/avatar/avatar.module.js +1 -1
  341. package/esm5/components/badge/badge.module.js +1 -1
  342. package/esm5/components/badged-content/badged-content.module.js +1 -1
  343. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +1 -1
  344. package/esm5/components/breadcrumbs/breadcrumbs.module.js +2 -2
  345. package/esm5/components/breadcrumbs/index.js +2 -2
  346. package/esm5/components/calendar-month/calendar-month.module.js +1 -1
  347. package/esm5/components/checkbox/checkbox.module.js +1 -1
  348. package/esm5/components/combo-box/combo-box.module.js +1 -1
  349. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +1 -1
  350. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  351. package/esm5/components/field-error/field-error.module.js +1 -1
  352. package/esm5/components/filter/filter.module.js +1 -1
  353. package/esm5/components/index.js +5 -4
  354. package/esm5/components/input/input.component.js +1 -1
  355. package/esm5/components/input/input.module.js +1 -1
  356. package/esm5/components/input/input.providers.js +1 -1
  357. package/esm5/components/input-copy/input-copy.module.js +1 -1
  358. package/esm5/components/input-count/input-count.component.js +1 -1
  359. package/esm5/components/input-count/input-count.module.js +1 -1
  360. package/esm5/components/input-date/input-date.module.js +1 -1
  361. package/esm5/components/input-date-range/input-date-range.module.js +1 -1
  362. package/esm5/components/input-date-time/input-date-time.module.js +1 -1
  363. package/esm5/components/input-file/index.js +2 -2
  364. package/esm5/components/input-file/input-file.module.js +1 -1
  365. package/esm5/components/input-inline/input-inline.module.js +1 -1
  366. package/esm5/components/input-number/input-number.module.js +1 -1
  367. package/esm5/components/input-password/index.js +2 -2
  368. package/esm5/components/input-password/input-password.component.js +1 -1
  369. package/esm5/components/input-password/input-password.module.js +1 -1
  370. package/esm5/components/input-phone/input-phone.component.js +1 -1
  371. package/esm5/components/input-phone/input-phone.module.js +1 -1
  372. package/esm5/components/input-phone-international/const/countries.js +1 -1
  373. package/esm5/components/input-phone-international/input-phone-international.component.js +1 -1
  374. package/esm5/components/input-phone-international/input-phone-international.module.js +1 -1
  375. package/esm5/components/input-tag/input-tag.module.js +1 -1
  376. package/esm5/components/input-time/input-time.component.js +1 -1
  377. package/esm5/components/input-time/input-time.module.js +1 -1
  378. package/esm5/components/island/island.module.js +1 -1
  379. package/esm5/components/line-clamp/index.js +2 -2
  380. package/esm5/components/line-clamp/line-clamp.module.js +1 -1
  381. package/esm5/components/marker-icon/marker-icon.module.js +1 -1
  382. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  383. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  384. package/esm5/components/multi-select/multi-select.module.js +2 -2
  385. package/esm5/components/multi-select-option/multi-select-option.module.js +1 -1
  386. package/esm5/components/pagination/pagination.module.js +1 -1
  387. package/esm5/components/pdf-viewer/index.js +5 -0
  388. package/esm5/components/pdf-viewer/pdf-viewer-options.js +1 -0
  389. package/esm5/components/pdf-viewer/pdf-viewer.component.js +51 -0
  390. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +26 -0
  391. package/esm5/components/pdf-viewer/pdf-viewer.module.js +31 -0
  392. package/esm5/components/pdf-viewer/pdf-viewer.service.js +27 -0
  393. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  394. package/esm5/components/progress/index.js +5 -5
  395. package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +1 -1
  396. package/esm5/components/progress/pipes/progress-color-segments.pipe.js +1 -1
  397. package/esm5/components/progress/progress.module.js +2 -2
  398. package/esm5/components/radio/radio.component.js +1 -1
  399. package/esm5/components/radio/radio.module.js +1 -1
  400. package/esm5/components/radio-group/radio-group.module.js +1 -1
  401. package/esm5/components/range/range.module.js +1 -1
  402. package/esm5/components/select/select.module.js +1 -1
  403. package/esm5/components/select-option/select-option.module.js +1 -1
  404. package/esm5/components/slider/slider.module.js +1 -1
  405. package/esm5/components/stepper/step/step.component.js +1 -1
  406. package/esm5/components/stepper/stepper.component.js +1 -1
  407. package/esm5/components/stepper/stepper.module.js +1 -1
  408. package/esm5/components/tabs/index.js +3 -3
  409. package/esm5/components/tabs/tab/tab.component.js +1 -1
  410. package/esm5/components/tabs/tabs/tabs.component.js +1 -1
  411. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +1 -1
  412. package/esm5/components/tabs/tabs.module.js +2 -2
  413. package/esm5/components/tag/tag.module.js +1 -1
  414. package/esm5/components/text-area/text-area.component.js +1 -1
  415. package/esm5/components/text-area/text-area.module.js +1 -1
  416. package/esm5/components/text-area/text-area.providers.js +1 -1
  417. package/esm5/components/toggle/index.js +2 -2
  418. package/esm5/components/toggle/toggle.component.js +1 -1
  419. package/esm5/components/toggle/toggle.module.js +1 -1
  420. package/esm5/components/tree/components/tree/tree.component.js +1 -1
  421. package/esm5/components/tree/components/tree-item/tree-item.component.js +8 -8
  422. package/esm5/components/tree/components/tree-item/tree-item.providers.js +1 -1
  423. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +4 -4
  424. package/esm5/components/tree/directives/tree-controller.directive.js +1 -1
  425. package/esm5/components/tree/directives/tree-item-controller.directive.js +1 -1
  426. package/esm5/components/tree/directives/tree-node.directive.js +1 -1
  427. package/esm5/components/tree/index.js +4 -4
  428. package/esm5/components/tree/misc/tree.constants.js +1 -1
  429. package/esm5/components/tree/misc/tree.interfaces.js +1 -1
  430. package/esm5/components/tree/misc/tree.service.js +1 -1
  431. package/esm5/components/tree/misc/tree.tokens.js +1 -1
  432. package/esm5/components/tree/tree.module.js +3 -3
  433. package/esm5/directives/dropdown-context/dropdown-context.directive.js +1 -1
  434. package/esm5/directives/dropdown-context/dropdown-context.module.js +1 -1
  435. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  436. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +3 -2
  437. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  438. package/esm5/directives/highlight/highlight.module.js +1 -1
  439. package/esm5/directives/index.js +2 -2
  440. package/esm5/directives/lazy-loading/lazy-loading.directive.js +1 -1
  441. package/esm5/directives/lazy-loading/lazy-loading.module.js +1 -1
  442. package/esm5/directives/present/present.module.js +1 -1
  443. package/esm5/directives/project-class/project-class.module.js +1 -1
  444. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  445. package/esm5/directives/value-accessor/value-accessor.module.js +1 -1
  446. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  447. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  448. package/esm5/pipes/filter-by-input/filter-by-input.module.js +2 -2
  449. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  450. package/esm5/pipes/stringify/stringify.module.js +1 -1
  451. package/esm5/pipes/stringify-content/stringify-content.module.js +1 -1
  452. package/esm5/tokens/index.js +2 -2
  453. package/esm5/utils/mask/index.js +2 -2
  454. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  455. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  456. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  457. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  458. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  459. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +2 -2
  460. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  461. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  462. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  463. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  464. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  465. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  466. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  467. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  468. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  469. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  470. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  471. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  472. package/fesm2015/taiga-ui-kit-components-input-file.js +146 -146
  473. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  474. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  475. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  476. package/fesm2015/taiga-ui-kit-components-input-password.js +1 -1
  477. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  478. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  479. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  480. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  481. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  482. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  483. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  484. package/fesm2015/taiga-ui-kit-components-line-clamp.js +1 -1
  485. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  486. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  487. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  488. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  489. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  490. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +108 -0
  491. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  492. package/fesm2015/taiga-ui-kit-components-progress.js +11 -11
  493. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  494. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  495. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  496. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  497. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  498. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  499. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  500. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  501. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  502. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  503. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  504. package/fesm2015/taiga-ui-kit-components-toggle.js +1 -1
  505. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  506. package/fesm2015/taiga-ui-kit-components-tree.js +78 -78
  507. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  508. package/fesm2015/taiga-ui-kit-components.js +4 -3
  509. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  510. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  511. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  512. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +2 -1
  513. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  514. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  515. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  516. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  517. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  518. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  519. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  520. package/fesm2015/taiga-ui-kit-directives.js +1 -1
  521. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  522. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +15 -15
  523. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  524. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  525. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  526. package/fesm2015/taiga-ui-kit-tokens.js +14 -14
  527. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  528. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  529. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  530. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  531. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  532. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  533. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +2 -2
  534. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  535. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  536. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  537. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  538. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  539. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  540. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  541. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  542. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  543. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  544. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  545. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  546. package/fesm5/taiga-ui-kit-components-input-file.js +192 -192
  547. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  548. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  549. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  550. package/fesm5/taiga-ui-kit-components-input-password.js +1 -1
  551. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  552. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  553. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  554. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  555. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  556. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  557. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  558. package/fesm5/taiga-ui-kit-components-line-clamp.js +1 -1
  559. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  560. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  561. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  562. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  563. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  564. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +120 -0
  565. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  566. package/fesm5/taiga-ui-kit-components-progress.js +17 -17
  567. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  568. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  569. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  570. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  571. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  572. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  573. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  574. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  575. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  576. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  577. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  578. package/fesm5/taiga-ui-kit-components-toggle.js +1 -1
  579. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  580. package/fesm5/taiga-ui-kit-components-tree.js +84 -84
  581. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  582. package/fesm5/taiga-ui-kit-components.js +4 -3
  583. package/fesm5/taiga-ui-kit-components.js.map +1 -1
  584. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  585. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  586. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +2 -1
  587. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  588. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  589. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  590. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  591. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  592. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  593. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  594. package/fesm5/taiga-ui-kit-directives.js +1 -1
  595. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  596. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +22 -22
  597. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  598. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  599. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  600. package/fesm5/taiga-ui-kit-tokens.js +14 -14
  601. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  602. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  603. package/package.json +4 -4
  604. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +1 -1
  605. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +1 -1
  606. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +1 -1
  607. package/tokens/index.d.ts +1 -1
  608. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  609. package/utils/mask/index.d.ts +1 -1
  610. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-highlight.js","sources":["ng://@taiga-ui/kit/directives/highlight/highlight.directive.ts","ng://@taiga-ui/kit/directives/highlight/highlight.module.ts","ng://@taiga-ui/kit/directives/highlight/taiga-ui-kit-directives-highlight.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {Directive, ElementRef, Inject, Input, OnChanges, Renderer2} from '@angular/core';\nimport {\n px,\n svgNodeFilter,\n tuiDefaultProp,\n TuiDestroyService,\n TuiResizeService,\n} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiHighlight]',\n host: {\n '[style.position]': '\"relative\"',\n '[style.zIndex]': '0',\n },\n providers: [TuiDestroyService, TuiResizeService],\n})\nexport class TuiHighlightDirective implements OnChanges {\n @Input()\n @tuiDefaultProp()\n tuiHighlight = '';\n\n private readonly highlight: HTMLElement = this.setUpHighlight();\n\n private readonly treeWalker = this.documentRef.createTreeWalker(\n this.elementRef.nativeElement,\n NodeFilter.SHOW_TEXT,\n svgNodeFilter,\n false,\n );\n\n constructor(\n @Inject(DOCUMENT) private readonly documentRef: Document,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(TuiResizeService) resize$: Observable<unknown>,\n ) {\n resize$.subscribe(() => {\n this.updateStyles();\n });\n }\n\n get match(): boolean {\n return this.indexOf(this.elementRef.nativeElement.textContent) !== -1;\n }\n\n ngOnChanges() {\n this.updateStyles();\n }\n\n private updateStyles() {\n this.highlight.style.display = 'none';\n\n if (!this.match) {\n return;\n }\n\n this.treeWalker.currentNode = this.elementRef.nativeElement;\n\n do {\n const index = this.indexOf(this.treeWalker.currentNode.nodeValue);\n\n if (index === -1) {\n continue;\n }\n\n const range = this.documentRef.createRange();\n\n range.setStart(this.treeWalker.currentNode, index);\n range.setEnd(this.treeWalker.currentNode, index + this.tuiHighlight.length);\n\n const hostRect = this.elementRef.nativeElement.getBoundingClientRect();\n const {left, top, width, height} = range.getBoundingClientRect();\n const {style} = this.highlight;\n\n style.left = px(left - hostRect.left);\n style.top = px(top - hostRect.top);\n style.width = px(width);\n style.height = px(height);\n style.display = 'block';\n\n return;\n } while (this.treeWalker.nextNode());\n }\n\n private indexOf(source: string | null): number {\n return !source || !this.tuiHighlight\n ? -1\n : source.toLowerCase().indexOf(this.tuiHighlight.toLowerCase());\n }\n\n private setUpHighlight(): HTMLElement {\n const highlight = this.renderer.createElement('div');\n const {style} = highlight;\n\n style.background = 'var(--tui-selection)';\n style.zIndex = '-1';\n style.position = 'absolute';\n this.renderer.appendChild(this.elementRef.nativeElement, highlight);\n\n return highlight;\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiHighlightDirective} from './highlight.directive';\n\n@NgModule({\n declarations: [TuiHighlightDirective],\n exports: [TuiHighlightDirective],\n})\nexport class TuiHighlightModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAWA;;IAuBI,+BACuC,WAAqB,EACnB,UAAmC,EACpC,QAAmB,EAC7B,OAA4B;QAJ1D,iBASC;QARsC,gBAAW,GAAX,WAAW,CAAU;QACnB,eAAU,GAAV,UAAU,CAAyB;QACpC,aAAQ,GAAR,QAAQ,CAAW;QAd3D,iBAAY,GAAG,EAAE,CAAC;QAED,cAAS,GAAgB,IAAI,CAAC,cAAc,EAAE,CAAC;QAE/C,eAAU,GAAG,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAC3D,IAAI,CAAC,UAAU,CAAC,aAAa,EAC7B,UAAU,CAAC,SAAS,EACpB,aAAa,EACb,KAAK,CACR,CAAC;QAQE,OAAO,CAAC,SAAS,CAAC;YACd,KAAI,CAAC,YAAY,EAAE,CAAC;SACvB,CAAC,CAAC;KACN;IAED,sBAAI,wCAAK;aAAT;YACI,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;SACzE;;;OAAA;IAED,2CAAW,GAAX;QACI,IAAI,CAAC,YAAY,EAAE,CAAC;KACvB;IAEO,4CAAY,GAApB;QACI,IAAI,CAAC,SAAS,CAAC,KAAK,CAA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AAkB;QAJ9B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,qBAAqB,CAAC;YACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;SACnC,CAAC;OACW,kBAAkB,CAAG;IAAD,yBAAC;CAAlC;;ACPA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-highlight.js","sources":["ng://@taiga-ui/kit/directives/highlight/highlight.directive.ts","ng://@taiga-ui/kit/directives/highlight/highlight.module.ts","ng://@taiga-ui/kit/directives/highlight/taiga-ui-kit-directives-highlight.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {Directive, ElementRef, Inject, Input, OnChanges, Renderer2} from '@angular/core';\nimport {\n px,\n svgNodeFilter,\n tuiDefaultProp,\n TuiDestroyService,\n TuiResizeService,\n} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: '[tuiHighlight]',\n host: {\n '[style.position]': '\"relative\"',\n '[style.zIndex]': '0',\n },\n providers: [TuiDestroyService, TuiResizeService],\n})\nexport class TuiHighlightDirective implements OnChanges {\n @Input()\n @tuiDefaultProp()\n tuiHighlight = '';\n\n private readonly highlight: HTMLElement = this.setUpHighlight();\n\n private readonly treeWalker = this.documentRef.createTreeWalker(\n this.elementRef.nativeElement,\n NodeFilter.SHOW_TEXT,\n svgNodeFilter,\n false,\n );\n\n constructor(\n @Inject(DOCUMENT) private readonly documentRef: Document,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(TuiResizeService) resize$: Observable<unknown>,\n ) {\n resize$.subscribe(() => {\n this.updateStyles();\n });\n }\n\n get match(): boolean {\n return this.indexOf(this.elementRef.nativeElement.textContent) !== -1;\n }\n\n ngOnChanges() {\n this.updateStyles();\n }\n\n private updateStyles() {\n this.highlight.style.display = 'none';\n\n if (!this.match) {\n return;\n }\n\n this.treeWalker.currentNode = this.elementRef.nativeElement;\n\n do {\n const index = this.indexOf(this.treeWalker.currentNode.nodeValue);\n\n if (index === -1) {\n continue;\n }\n\n const range = this.documentRef.createRange();\n\n range.setStart(this.treeWalker.currentNode, index);\n range.setEnd(this.treeWalker.currentNode, index + this.tuiHighlight.length);\n\n const hostRect = this.elementRef.nativeElement.getBoundingClientRect();\n const {left, top, width, height} = range.getBoundingClientRect();\n const {style} = this.highlight;\n\n style.left = px(left - hostRect.left);\n style.top = px(top - hostRect.top);\n style.width = px(width);\n style.height = px(height);\n style.display = 'block';\n\n return;\n } while (this.treeWalker.nextNode());\n }\n\n private indexOf(source: string | null): number {\n return !source || !this.tuiHighlight\n ? -1\n : source.toLowerCase().indexOf(this.tuiHighlight.toLowerCase());\n }\n\n private setUpHighlight(): HTMLElement {\n const highlight = this.renderer.createElement('div');\n const {style} = highlight;\n\n style.background = 'var(--tui-selection)';\n style.zIndex = '-1';\n style.position = 'absolute';\n this.renderer.appendChild(this.elementRef.nativeElement, highlight);\n\n return highlight;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiHighlightDirective} from './highlight.directive';\n\n@NgModule({\n declarations: [TuiHighlightDirective],\n exports: [TuiHighlightDirective],\n})\nexport class TuiHighlightModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAWA;;IAuBI,+BACuC,WAAqB,EACnB,UAAmC,EACpC,QAAmB,EAC7B,OAA4B;QAJ1D,iBASC;QARsC,gBAAW,GAAX,WAAW,CAAU;QACnB,eAAU,GAAV,UAAU,CAAyB;QACpC,aAAQ,GAAR,QAAQ,CAAW;QAd3D,iBAAY,GAAG,EAAE,CAAC;QAED,cAAS,GAAgB,IAAI,CAAC,cAAc,EAAE,CAAC;QAE/C,eAAU,GAAG,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAC3D,IAAI,CAAC,UAAU,CAAC,aAAa,EAC7B,UAAU,CAAC,SAAS,EACpB,aAAa,EACb,KAAK,CACR,CAAC;QAQE,OAAO,CAA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ChC,gBAAgB,EAAE,GAAG;aACxB;YACD,SAAS,EAAE,CAAC,iBAAiB,EAAE,gBAAgB,CAAC;SACnD,CAAC;QAgBO,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;QAChB,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,SAAS,CAAC,CAAA;QACjB,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;OAlBpB,qBAAqB,CAqFjC;IAAD,4BAAC;CArFD;;;ICZA;KAAkC;IAArB,kBAAkB;QAJ9B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,qBAAqB,CAAC;YACrC,OAAO,EAAE,CAAC,qBAAqB,CAAC;SACnC,CAAC;OACW,kBAAkB,CAAG;IAAD,yBAAC;CAAlC;;ACRA;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-lazy-loading.js","sources":["ng://@taiga-ui/kit/directives/lazy-loading/lazy-loading.service.ts","ng://@taiga-ui/kit/directives/lazy-loading/lazy-loading.directive.ts","ng://@taiga-ui/kit/directives/lazy-loading/lazy-loading.module.ts","ng://@taiga-ui/kit/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.ts"],"sourcesContent":["import {ChangeDetectorRef, Inject, Injectable} from '@angular/core';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {TuiDestroyService, watch} from '@taiga-ui/cdk';\nimport {Observable, of, Subject} from 'rxjs';\nimport {catchError, filter, mapTo, switchMap, take, takeUntil} from 'rxjs/operators';\n\n@Injectable()\nexport class TuiLazyLoadingService extends Observable<string> {\n private src$ = new Subject<string>();\n\n constructor(\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiDestroyService) destroy$: Observable<void>,\n @Inject(IntersectionObserverService)\n intersections$: Observable<IntersectionObserverEntry[]>,\n ) {\n super(subscriber =>\n this.src$\n .pipe(\n switchMap(src =>\n intersections$.pipe(\n filter(([{isIntersecting}]) => isIntersecting),\n mapTo(src),\n catchError(() => of(src)),\n watch(changeDetectorRef),\n take(1),\n ),\n ),\n takeUntil(destroy$),\n )\n .subscribe(subscriber),\n );\n }\n\n next(src: string) {\n this.src$.next(src);\n }\n}\n","import {\n Directive,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n} from '@angular/core';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {TuiDestroyService} from '@taiga-ui/cdk';\nimport {TuiLazyLoadingService} from './lazy-loading.service';\n\n@Directive({\n selector: 'img[loading=\"lazy\"]',\n providers: [TuiLazyLoadingService, IntersectionObserverService, TuiDestroyService],\n})\nexport class TuiLazyLoadingDirective {\n @Input('src')\n set srcSetter(src: string) {\n this.src = this.supported ? src : null;\n this.src$.next(src);\n }\n\n @HostBinding('style.animation')\n animation = 'tuiSkeletonVibe ease-in-out 1s infinite alternate';\n\n @HostBinding('style.background')\n background = 'rgba(0, 0, 0, .16)';\n\n @HostBinding('attr.src')\n src: string | null = null;\n\n private readonly supported = 'loading' in this.elementRef.nativeElement;\n\n constructor(\n @Inject(TuiLazyLoadingService)\n private readonly src$: TuiLazyLoadingService,\n @Inject(ElementRef)\n private readonly elementRef: ElementRef<HTMLImageElement>,\n ) {\n if (!this.supported) {\n this.src$.subscribe(src => {\n this.src = src;\n });\n }\n }\n\n @HostListener('load')\n onLoad() {\n this.background = '';\n this.animation = '';\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiLazyLoadingDirective} from './lazy-loading.directive';\n\n@NgModule({\n declarations: [TuiLazyLoadingDirective],\n exports: [TuiLazyLoadingDirective],\n})\nexport class TuiLazyLoadingModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {TuiLazyLoadingService as ɵa} from './lazy-loading.service';"],"names":[],"mappings":";;;;;;;;IAO2C,yCAAkB;IAGzD,+BAC+B,iBAAoC,EACpC,QAA0B,EAErD,cAAuD;QAJ3D,YAMI,kBAAM,UAAA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,CAAG;IAAD,2BAAC;CAApC;;ACPA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-lazy-loading.js","sources":["ng://@taiga-ui/kit/directives/lazy-loading/lazy-loading.service.ts","ng://@taiga-ui/kit/directives/lazy-loading/lazy-loading.directive.ts","ng://@taiga-ui/kit/directives/lazy-loading/lazy-loading.module.ts","ng://@taiga-ui/kit/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.ts"],"sourcesContent":["import {ChangeDetectorRef, Inject, Injectable} from '@angular/core';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {TuiDestroyService, watch} from '@taiga-ui/cdk';\nimport {Observable, of, Subject} from 'rxjs';\nimport {catchError, filter, mapTo, switchMap, take, takeUntil} from 'rxjs/operators';\n\n@Injectable()\nexport class TuiLazyLoadingService extends Observable<string> {\n private src$ = new Subject<string>();\n\n constructor(\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiDestroyService) destroy$: Observable<void>,\n @Inject(IntersectionObserverService)\n intersections$: Observable<IntersectionObserverEntry[]>,\n ) {\n super(subscriber =>\n this.src$\n .pipe(\n switchMap(src =>\n intersections$.pipe(\n filter(([{isIntersecting}]) => isIntersecting),\n mapTo(src),\n catchError(() => of(src)),\n watch(changeDetectorRef),\n take(1),\n ),\n ),\n takeUntil(destroy$),\n )\n .subscribe(subscriber),\n );\n }\n\n next(src: string) {\n this.src$.next(src);\n }\n}\n","import {\n Directive,\n ElementRef,\n HostBinding,\n HostListener,\n Inject,\n Input,\n} from '@angular/core';\nimport {IntersectionObserverService} from '@ng-web-apis/intersection-observer';\nimport {TuiDestroyService} from '@taiga-ui/cdk';\n\nimport {TuiLazyLoadingService} from './lazy-loading.service';\n\n@Directive({\n selector: 'img[loading=\"lazy\"]',\n providers: [TuiLazyLoadingService, IntersectionObserverService, TuiDestroyService],\n})\nexport class TuiLazyLoadingDirective {\n @Input('src')\n set srcSetter(src: string) {\n this.src = this.supported ? src : null;\n this.src$.next(src);\n }\n\n @HostBinding('style.animation')\n animation = 'tuiSkeletonVibe ease-in-out 1s infinite alternate';\n\n @HostBinding('style.background')\n background = 'rgba(0, 0, 0, .16)';\n\n @HostBinding('attr.src')\n src: string | null = null;\n\n private readonly supported = 'loading' in this.elementRef.nativeElement;\n\n constructor(\n @Inject(TuiLazyLoadingService)\n private readonly src$: TuiLazyLoadingService,\n @Inject(ElementRef)\n private readonly elementRef: ElementRef<HTMLImageElement>,\n ) {\n if (!this.supported) {\n this.src$.subscribe(src => {\n this.src = src;\n });\n }\n }\n\n @HostListener('load')\n onLoad() {\n this.background = '';\n this.animation = '';\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiLazyLoadingDirective} from './lazy-loading.directive';\n\n@NgModule({\n declarations: [TuiLazyLoadingDirective],\n exports: [TuiLazyLoadingDirective],\n})\nexport class TuiLazyLoadingModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {TuiLazyLoadingService as ɵa} from './lazy-loading.service';"],"names":[],"mappings":";;;;;;;;IAO2C,yCAAkB;IAGzD,+BAC+B,iBAAoC,EACpC,QAA0B,EAErD,cAAuD;QAJ3D,YAMI,kBAAM,UAAA,UAAU;YACZ,OAAA,KAAI,CAAC,IAAI;iBACJ,IAAI,CACD,SAAS,CAAC,UAAA,GAAG;gBACT,OAAA,cAAc,CAAC,IAAI,CACf,MAAM,CAAC,UAAC,EAAkB;wBAAlB,kBAAkB,EAAhB,qCAAc;oBAAO,OAAA,cAAc;iBAAA,CAAC,EAC9C,KAAK,CAAC,GAAG,CAAC,EACV,UAAU,CAAC,cAAM,OAAA,EAAE,CAAC,GAAG,CAAC,GAAA,CAAC,EACzB,KAAK,CAAC,iBAAiB,CAAC,EACxB,IAAI,CAAC,CAAC,CAAC,CACV;aAAA,CACJ,EACD,SAAS,CAAC,QAAQ,CAAC,CACtB;iBACA,SAAS,CAAC,UAAU,CAAC;SAAA,CAC7B,SACJ;QAxBO,U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GAAG,EAAE,CAAC;KACvB;;gBAf0B,qBAAqB,uBAD3C,MAAM,SAAC,qBAAqB;gBAGA,UAAU,uBADtC,MAAM,SAAC,UAAU;;IAnBtB;QADC,KAAK,CAAC,KAAK,CAAC;4DAIZ;IAGD;QADC,WAAW,CAAC,iBAAiB,CAAC;8DACiC;IAGhE;QADC,WAAW,CAAC,kBAAkB,CAAC;+DACE;IAGlC;QADC,WAAW,CAAC,UAAU,CAAC;wDACE;IAkB1B;QADC,YAAY,CAAC,MAAM,CAAC;yDAIpB;IAnCQ,uBAAuB;QAJnC,SAAS,CAAC;YACP,QAAQ,EAAE,qBAAqB;YAC/B,SAAS,EAAE,CAAC,qBAAqB,EAAE,2BAA2B,EAAE,iBAAiB,CAAC;SACrF,CAAC;QAoBO,WAAA,MAAM,CAAC,qBAAqB,CAAC,CAAA;QAE7B,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;OArBd,uBAAuB,CAoCnC;IAAD,8BAAC;CApCD;;;ICTA;KAAoC;IAAvB,oBAAoB;QAJhC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,uBAAuB,CAAC;YACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;SACrC,CAAC;OACW,oBAAoB,CAAG;IAAD,2BAAC;CAApC;;ACRA;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-present.js","sources":["ng://@taiga-ui/kit/directives/present/present.directive.ts","ng://@taiga-ui/kit/directives/present/present.module.ts","ng://@taiga-ui/kit/directives/present/taiga-ui-kit-directives-present.ts"],"sourcesContent":["import {\n Directive,\n ElementRef,\n HostListener,\n Inject,\n OnDestroy,\n Output,\n} from '@angular/core';\nimport {USER_AGENT} from '@ng-web-apis/common';\nimport {isCurrentTarget, isFirefox, TuiDirectiveStylesService} from '@taiga-ui/cdk';\nimport {Observable, Subject} from 'rxjs';\nimport {distinctUntilChanged, skip, startWith} from 'rxjs/operators';\n\nconst STYLE = `\n@keyframes tuiPresent {\n from {\n content: '1';\n }\n\n to {\n content: '2';\n }\n}\n\n.tui-present {\n animation: tuiPresent 1000s infinite;\n}`;\n\n@Directive({\n selector: '[tuiPresentChange]',\n host: {\n class: 'tui-present',\n },\n})\nexport class TuiPresentDirective implements OnDestroy {\n @Output()\n readonly tuiPresentChange: Observable<boolean>;\n\n private readonly visibility$ = new Subject<boolean>();\n\n private readonly observer?: MutationObserver;\n\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef<HTMLElement>,\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n @Inject(USER_AGENT) userAgent: string,\n ) {\n directiveStyles.addStyle(STYLE, 'TuiPresentDirective');\n\n this.tuiPresentChange = this.visibility$.pipe(\n startWith(false),\n distinctUntilChanged(),\n skip(1),\n );\n\n if (isFirefox(userAgent)) {\n return;\n }\n\n this.observer = new MutationObserver(() => {\n if (\n !nativeElement.offsetParent &&\n nativeElement.offsetWidth === 0 &&\n nativeElement.offsetHeight === 0\n ) {\n this.visibility$.next(false);\n }\n });\n\n this.observer.observe(nativeElement, {\n attributes: true,\n attributeFilter: ['style', 'class'],\n });\n }\n\n /**\n * Someday animationcancel would work and mutation observer would not be needed:\n * https://drafts.csswg.org/css-animations/#eventdef-animationevent-animationcancel\n * It would also trigger on CSS like display: none on parent nodes which is awesome\n * but currently only works in Firefox\n */\n @HostListener('animationcancel', ['$event', 'false'])\n @HostListener('animationstart', ['$event', 'true'])\n onAnimation(event: Event, visibility: boolean) {\n if (isCurrentTarget(event)) {\n this.visibility$.next(visibility);\n }\n }\n\n ngOnDestroy() {\n this.visibility$.next(false);\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiPresentDirective} from './present.directive';\n\n@NgModule({\n declarations: [TuiPresentDirective],\n exports: [TuiPresentDirective],\n})\nexport class TuiPresentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAaA,IAAM,KAAK,GAAG,kLAaZ,CAAC;;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EAAE,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;QACpD,YAAY,CAAC,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;0DAKlD;IArDQ,mBAAmB;QAN/B,SAAS,CAAC;YACP,QAAQ,EAAE,oBAAoB;YAC9B,IAAI,EAAE;gBACF,KAAK,EAAE,aAAa;aACvB;SACJ,CAAC;QAUO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,yBAAyB,CAAC,CAAA;QACjC,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;OAXd,mBAAmB,CA0D/B;IAAD,0BAAC;CA1DD;;;IC3BA;KAAgC;IAAnB,gBAAgB;QAJ5B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;YACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;SACjC,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAhC;;ACPA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-present.js","sources":["ng://@taiga-ui/kit/directives/present/present.directive.ts","ng://@taiga-ui/kit/directives/present/present.module.ts","ng://@taiga-ui/kit/directives/present/taiga-ui-kit-directives-present.ts"],"sourcesContent":["import {\n Directive,\n ElementRef,\n HostListener,\n Inject,\n OnDestroy,\n Output,\n} from '@angular/core';\nimport {USER_AGENT} from '@ng-web-apis/common';\nimport {isCurrentTarget, isFirefox, TuiDirectiveStylesService} from '@taiga-ui/cdk';\nimport {Observable, Subject} from 'rxjs';\nimport {distinctUntilChanged, skip, startWith} from 'rxjs/operators';\n\nconst STYLE = `\n@keyframes tuiPresent {\n from {\n content: '1';\n }\n\n to {\n content: '2';\n }\n}\n\n.tui-present {\n animation: tuiPresent 1000s infinite;\n}`;\n\n@Directive({\n selector: '[tuiPresentChange]',\n host: {\n class: 'tui-present',\n },\n})\nexport class TuiPresentDirective implements OnDestroy {\n @Output()\n readonly tuiPresentChange: Observable<boolean>;\n\n private readonly visibility$ = new Subject<boolean>();\n\n private readonly observer?: MutationObserver;\n\n constructor(\n @Inject(ElementRef) {nativeElement}: ElementRef<HTMLElement>,\n @Inject(TuiDirectiveStylesService) directiveStyles: TuiDirectiveStylesService,\n @Inject(USER_AGENT) userAgent: string,\n ) {\n directiveStyles.addStyle(STYLE, 'TuiPresentDirective');\n\n this.tuiPresentChange = this.visibility$.pipe(\n startWith(false),\n distinctUntilChanged(),\n skip(1),\n );\n\n if (isFirefox(userAgent)) {\n return;\n }\n\n this.observer = new MutationObserver(() => {\n if (\n !nativeElement.offsetParent &&\n nativeElement.offsetWidth === 0 &&\n nativeElement.offsetHeight === 0\n ) {\n this.visibility$.next(false);\n }\n });\n\n this.observer.observe(nativeElement, {\n attributes: true,\n attributeFilter: ['style', 'class'],\n });\n }\n\n /**\n * Someday animationcancel would work and mutation observer would not be needed:\n * https://drafts.csswg.org/css-animations/#eventdef-animationevent-animationcancel\n * It would also trigger on CSS like display: none on parent nodes which is awesome\n * but currently only works in Firefox\n */\n @HostListener('animationcancel', ['$event', 'false'])\n @HostListener('animationstart', ['$event', 'true'])\n onAnimation(event: Event, visibility: boolean) {\n if (isCurrentTarget(event)) {\n this.visibility$.next(visibility);\n }\n }\n\n ngOnDestroy() {\n this.visibility$.next(false);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiPresentDirective} from './present.directive';\n\n@NgModule({\n declarations: [TuiPresentDirective],\n exports: [TuiPresentDirective],\n})\nexport class TuiPresentModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAaA,IAAM,KAAK,GAAG,kLAaZ,CAAC;;IAgBC,6BACwB,EAAwC,EACzB,eAA0C,EACzD,SAAiB;QAHzC,iBA+BC;YA9BwB,gCAAa;QALrB,gBAAW,GAAG,IAAI,OAAO,EAAW,CAAC;QASlD,eAAe,CAAC,QAAQ,CAAC,KAAK,EAAE,qBAAqB,CAAC,CAAC;QAEvD,IAAI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AE;gBACF,KAAK,EAAE,aAAa;aACvB;SACJ,CAAC;QAUO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;QAClB,WAAA,MAAM,CAAC,yBAAyB,CAAC,CAAA;QACjC,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;OAXd,mBAAmB,CA0D/B;IAAD,0BAAC;CA1DD;;;IC1BA;KAAgC;IAAnB,gBAAgB;QAJ5B,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;YACnC,OAAO,EAAE,CAAC,mBAAmB,CAAC;SACjC,CAAC;OACW,gBAAgB,CAAG;IAAD,uBAAC;CAAhC;;ACRA;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-project-class.js","sources":["ng://@taiga-ui/kit/directives/project-class/project-class.directive.ts","ng://@taiga-ui/kit/directives/project-class/project-class.module.ts","ng://@taiga-ui/kit/directives/project-class/taiga-ui-kit-directives-project-class.ts"],"sourcesContent":["import {AfterViewChecked, Directive, ElementRef, Inject, Input} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk';\n\n/**\n * A directive for projecting classes from nested children to host\n */\n@Directive({\n selector: '[tuiProjectClass]',\n})\nexport class TuiProjectClassDirective implements AfterViewChecked {\n @Input('tuiProjectClass')\n @tuiDefaultProp()\n classNames: readonly string[] = [];\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n ) {}\n\n ngAfterViewChecked() {\n if (!this.classNames.length) {\n return;\n }\n\n this.classNames.forEach(className => {\n const hostElement = this.elementRef.nativeElement;\n\n if (hostElement.querySelector(`.${className}`)) {\n hostElement.classList.add(className);\n } else {\n hostElement.classList.remove(className);\n }\n });\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiProjectClassDirective} from './project-class.directive';\n\n@NgModule({\n declarations: [TuiProjectClassDirective],\n exports: [TuiProjectClassDirective],\n})\nexport class TuiProjectClassModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;IAWI,kCACyC,UAAmC;QAAnC,eAAU,GAAV,UAAU,CAAyB;QAH5E,eAAU,GAAsB,EAAE,CAAC;KAI/B;IAEJ,qDAAkB,GAAlB;QAAA,iBAcC;QAbG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE;YACzB,OAAO;SACV;QAED,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,UAAA,SAAS;YAC7B,IAAM,WAAW,GAAG,KAAI,CAAC,UAAU,CAAC,aAAa,CAAC;YAElD,IAAI,WAAW,CAAC,aAAa,CAAC,MAAI,SAAW,CAAC,EAAE;gBAC5C,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;aACxC;iBAAM;gBACH,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;aAC3C;SACJ,CAAC,CAAC;KACN;;gBAjBoD,UAAU,uBAA1D,MAAM,SAAC,UAAU;;IAHtB;QAFC,KAAK,CAAC,iBAAiB,CAAC;QACxB,cAAc,EAAE;gEACkB;IAH1B,wBAAwB;QAHpC,SAAS,CAAC;YACP,QAAQ,EAAE,mBAAmB;SAChC,CAAC;QAOO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;OANd,wBAAwB,CAwBpC;IAAD,+BAAC;CAxBD;;;ICFA;KAAqC;IAAxB,qBAAqB;QAJjC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,wBAAwB,CAAC;YACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;SACtC,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAArC;;ACPA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-project-class.js","sources":["ng://@taiga-ui/kit/directives/project-class/project-class.directive.ts","ng://@taiga-ui/kit/directives/project-class/project-class.module.ts","ng://@taiga-ui/kit/directives/project-class/taiga-ui-kit-directives-project-class.ts"],"sourcesContent":["import {AfterViewChecked, Directive, ElementRef, Inject, Input} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk';\n\n/**\n * A directive for projecting classes from nested children to host\n */\n@Directive({\n selector: '[tuiProjectClass]',\n})\nexport class TuiProjectClassDirective implements AfterViewChecked {\n @Input('tuiProjectClass')\n @tuiDefaultProp()\n classNames: readonly string[] = [];\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n ) {}\n\n ngAfterViewChecked() {\n if (!this.classNames.length) {\n return;\n }\n\n this.classNames.forEach(className => {\n const hostElement = this.elementRef.nativeElement;\n\n if (hostElement.querySelector(`.${className}`)) {\n hostElement.classList.add(className);\n } else {\n hostElement.classList.remove(className);\n }\n });\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiProjectClassDirective} from './project-class.directive';\n\n@NgModule({\n declarations: [TuiProjectClassDirective],\n exports: [TuiProjectClassDirective],\n})\nexport class TuiProjectClassModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;;;IAWI,kCACyC,UAAmC;QAAnC,eAAU,GAAV,UAAU,CAAyB;QAH5E,eAAU,GAAsB,EAAE,CAAC;KAI/B;IAEJ,qDAAkB,GAAlB;QAAA,iBAcC;QAbG,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,MAAM,EAAE;YACzB,OAAO;SACV;QAED,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,UAAA,SAAS;YAC7B,IAAM,WAAW,GAAG,KAAI,CAAC,UAAU,CAAC,aAAa,CAAC;YAElD,IAAI,WAAW,CAAC,aAAa,CAAC,MAAI,SAAW,CAAC,EAAE;gBAC5C,WAAW,CAAC,SAAS,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;aACxC;iBAAM;gBACH,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;aAC3C;SACJ,CAAC,CAAC;KACN;;gBAjBoD,UAAU,uBAA1D,MAAM,SAAC,UAAU;;IAHtB;QAFC,KAAK,CAAC,iBAAiB,CAAC;QACxB,cAAc,EAAE;gEACkB;IAH1B,wBAAwB;QAHpC,SAAS,CAAC;YACP,QAAQ,EAAE,mBAAmB;SAChC,CAAC;QAOO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;OANd,wBAAwB,CAwBpC;IAAD,+BAAC;CAxBD;;;ICDA;KAAqC;IAAxB,qBAAqB;QAJjC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,wBAAwB,CAAC;YACxC,OAAO,EAAE,CAAC,wBAAwB,CAAC;SACtC,CAAC;OACW,qBAAqB,CAAG;IAAD,4BAAC;CAArC;;ACRA;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-unfinished-validator.js","sources":["ng://@taiga-ui/kit/directives/unfinished-validator/unfinished-validator.directive.ts","ng://@taiga-ui/kit/directives/unfinished-validator/unfinished-validator.module.ts","ng://@taiga-ui/kit/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.ts"],"sourcesContent":["import {Attribute, Directive, Inject, Injector} from '@angular/core';\nimport {NG_VALIDATORS, Validator} from '@angular/forms';\nimport {TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/cdk';\nimport {tuiCreateUnfinishedValidator} from '@taiga-ui/kit/validators';\n\n@Directive({\n selector: '[tuiUnfinishedValidator]',\n providers: [\n {\n provide: NG_VALIDATORS,\n useExisting: TuiUnfinishedValidatorDirective,\n multi: true,\n },\n ],\n})\nexport class TuiUnfinishedValidatorDirective implements Validator {\n readonly validate = tuiCreateUnfinishedValidator(\n () => this.injector.get(TUI_FOCUSABLE_ITEM_ACCESSOR),\n this.message || '',\n );\n\n constructor(\n @Inject(Injector)\n private readonly injector: Injector,\n @Attribute('tuiUnfinishedValidator')\n private readonly message: string | null,\n ) {}\n}\n","import {NgModule} from '@angular/core';\nimport {TuiUnfinishedValidatorDirective} from './unfinished-validator.directive';\n\n@NgModule({\n declarations: [TuiUnfinishedValidatorDirective],\n exports: [TuiUnfinishedValidatorDirective],\n})\nexport class TuiUnfinishedValidatorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAqBI,yCAEqB,QAAkB,EAElB,OAAsB;QAJ3C,iBAKI;QAHiB,aAAQ,GAAR,QAAQ,CAAU;QAElB,YAAO,GAAP,OAAO,CAAe;QATlC,aAAQ,GAAG,4BAA4B,CAC5C,cAAM,OAAA,KAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,GAAA,EACpD,IAAI,CAAC,OAAO,IAAI,EAAE,CACrB,CAAC;KAOE;wCAXK,+BAA+B;;;gBAQT,QAAQ,uBADlC,MAAM,SAAC,QAAQ;6CAEf,SAAS,SAAC,wBAAwB;;IAT9B,+BAA+B;QAV3C,SAAS,CAAC;YACP,QAAQ,EAAE,0BAA0B;YACpC,SAAS,EAAE;gBACP;oBACI,OAAO,EAAE,aAAa;oBACtB,WAAW,EAAE,iCAA+B;oBAC5C,KAAK,EAAE,IAAI;iBACd;aACJ;SACJ,CAAC;QAQO,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;QAEhB,WAAA,SAAS,CAAC,wBAAwB,CAAC,CAAA;OAT/B,+BAA+B,CAY3C;IAAD,sCAAC;CAZD;;;ICRA;KAA4C;IAA/B,4BAA4B;QAJxC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,+BAA+B,CAAC;YAC/C,OAAO,EAAE,CAAC,+BAA+B,CAAC;SAC7C,CAAC;OACW,4BAA4B,CAAG;IAAD,mCAAC;CAA5C;;ACPA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-unfinished-validator.js","sources":["ng://@taiga-ui/kit/directives/unfinished-validator/unfinished-validator.directive.ts","ng://@taiga-ui/kit/directives/unfinished-validator/unfinished-validator.module.ts","ng://@taiga-ui/kit/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.ts"],"sourcesContent":["import {Attribute, Directive, Inject, Injector} from '@angular/core';\nimport {NG_VALIDATORS, Validator} from '@angular/forms';\nimport {TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/cdk';\nimport {tuiCreateUnfinishedValidator} from '@taiga-ui/kit/validators';\n\n@Directive({\n selector: '[tuiUnfinishedValidator]',\n providers: [\n {\n provide: NG_VALIDATORS,\n useExisting: TuiUnfinishedValidatorDirective,\n multi: true,\n },\n ],\n})\nexport class TuiUnfinishedValidatorDirective implements Validator {\n readonly validate = tuiCreateUnfinishedValidator(\n () => this.injector.get(TUI_FOCUSABLE_ITEM_ACCESSOR),\n this.message || '',\n );\n\n constructor(\n @Inject(Injector)\n private readonly injector: Injector,\n @Attribute('tuiUnfinishedValidator')\n private readonly message: string | null,\n ) {}\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiUnfinishedValidatorDirective} from './unfinished-validator.directive';\n\n@NgModule({\n declarations: [TuiUnfinishedValidatorDirective],\n exports: [TuiUnfinishedValidatorDirective],\n})\nexport class TuiUnfinishedValidatorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;IAqBI,yCAEqB,QAAkB,EAElB,OAAsB;QAJ3C,iBAKI;QAHiB,aAAQ,GAAR,QAAQ,CAAU;QAElB,YAAO,GAAP,OAAO,CAAe;QATlC,aAAQ,GAAG,4BAA4B,CAC5C,cAAM,OAAA,KAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,2BAA2B,CAAC,GAAA,EACpD,IAAI,CAAC,OAAO,IAAI,EAAE,CACrB,CAAC;KAOE;wCAXK,+BAA+B;;;gBAQT,QAAQ,uBADlC,MAAM,SAAC,QAAQ;6CAEf,SAAS,SAAC,wBAAwB;;IAT9B,+BAA+B;QAV3C,SAAS,CAAC;YACP,QAAQ,EAAE,0BAA0B;YACpC,SAAS,EAAE;gBACP;oBACI,OAAO,EAAE,aAAa;oBACtB,WAAW,EAAE,iCAA+B;oBAC5C,KAAK,EAAE,IAAI;iBACd;aACJ;SACJ,CAAC;QAQO,WAAA,MAAM,CAAC,QAAQ,CAAC,CAAA;QAEhB,WAAA,SAAS,CAAC,wBAAwB,CAAC,CAAA;OAT/B,+BAA+B,CAY3C;IAAD,sCAAC;CAZD;;;ICPA;KAA4C;IAA/B,4BAA4B;QAJxC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,+BAA+B,CAAC;YAC/C,OAAO,EAAE,CAAC,+BAA+B,CAAC;SAC7C,CAAC;OACW,4BAA4B,CAAG;IAAD,mCAAC;CAA5C;;ACRA;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-value-accessor.js","sources":["ng://@taiga-ui/kit/directives/value-accessor/value-accessor.directive.ts","ng://@taiga-ui/kit/directives/value-accessor/value-accessor.module.ts","ng://@taiga-ui/kit/directives/value-accessor/taiga-ui-kit-directives-value-accessor.ts"],"sourcesContent":["import {Directive} from '@angular/core';\nimport {TUI_VALUE_ACCESSOR_PROVIDER} from '@taiga-ui/kit/providers';\n\n@Directive({\n selector: '[tuiValueAccessor]',\n providers: [TUI_VALUE_ACCESSOR_PROVIDER],\n})\nexport class TuiValueAccessorDirective {}\n","import {NgModule} from '@angular/core';\nimport {TuiValueAccessorDirective} from './value-accessor.directive';\n\n@NgModule({\n declarations: [TuiValueAccessorDirective],\n exports: [TuiValueAccessorDirective],\n})\nexport class TuiValueAccessorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAOA;KAAyC;IAA5B,yBAAyB;QAJrC,SAAS,CAAC;YACP,QAAQ,EAAE,oBAAoB;YAC9B,SAAS,EAAE,CAAC,2BAA2B,CAAC;SAC3C,CAAC;OACW,yBAAyB,CAAG;IAAD,gCAAC;CAAzC;;;ICAA;KAAsC;IAAzB,sBAAsB;QAJlC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,yBAAyB,CAAC;YACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;SACvC,CAAC;OACW,sBAAsB,CAAG;IAAD,6BAAC;CAAtC;;ACPA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-value-accessor.js","sources":["ng://@taiga-ui/kit/directives/value-accessor/value-accessor.directive.ts","ng://@taiga-ui/kit/directives/value-accessor/value-accessor.module.ts","ng://@taiga-ui/kit/directives/value-accessor/taiga-ui-kit-directives-value-accessor.ts"],"sourcesContent":["import {Directive} from '@angular/core';\nimport {TUI_VALUE_ACCESSOR_PROVIDER} from '@taiga-ui/kit/providers';\n\n@Directive({\n selector: '[tuiValueAccessor]',\n providers: [TUI_VALUE_ACCESSOR_PROVIDER],\n})\nexport class TuiValueAccessorDirective {}\n","import {NgModule} from '@angular/core';\n\nimport {TuiValueAccessorDirective} from './value-accessor.directive';\n\n@NgModule({\n declarations: [TuiValueAccessorDirective],\n exports: [TuiValueAccessorDirective],\n})\nexport class TuiValueAccessorModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;IAOA;KAAyC;IAA5B,yBAAyB;QAJrC,SAAS,CAAC;YACP,QAAQ,EAAE,oBAAoB;YAC9B,SAAS,EAAE,CAAC,2BAA2B,CAAC;SAC3C,CAAC;OACW,yBAAyB,CAAG;IAAD,gCAAC;CAAzC;;;ICCA;KAAsC;IAAzB,sBAAsB;QAJlC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,yBAAyB,CAAC;YACzC,OAAO,EAAE,CAAC,yBAAyB,CAAC;SACvC,CAAC;OACW,sBAAsB,CAAG;IAAD,6BAAC;CAAtC;;ACRA;;;;;;"}
@@ -1,3 +1,4 @@
1
+ export * from '@taiga-ui/kit/directives/dropdown-context';
1
2
  export * from '@taiga-ui/kit/directives/dropdown-hover';
2
3
  export * from '@taiga-ui/kit/directives/dropdown-selection';
3
4
  export * from '@taiga-ui/kit/directives/highlight';
@@ -6,7 +7,6 @@ export * from '@taiga-ui/kit/directives/present';
6
7
  export * from '@taiga-ui/kit/directives/project-class';
7
8
  export * from '@taiga-ui/kit/directives/unfinished-validator';
8
9
  export * from '@taiga-ui/kit/directives/value-accessor';
9
- export * from '@taiga-ui/kit/directives/dropdown-context';
10
10
 
11
11
  /**
12
12
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-internal-primitive-calendar-range.js","sources":["ng://@taiga-ui/kit/internal/primitive-calendar-range/primitive-calendar-range.component.ts","ng://@taiga-ui/kit/internal/primitive-calendar-range/primitive-calendar-range.module.ts","ng://@taiga-ui/kit/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Inject,\n Input,\n OnInit,\n Optional,\n Output,\n} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDay,\n TuiDayRange,\n tuiDefaultProp,\n TuiDestroyService,\n TuiMapper,\n TuiMonth,\n watch,\n} from '@taiga-ui/cdk';\nimport {TUI_DEFAULT_MARKER_HANDLER, TuiMarkerHandler} from '@taiga-ui/core';\nimport {TUI_CALENDAR_DATA_STREAM} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\n/**\n * @internal\n */\n@Component({\n selector: 'tui-primitive-calendar-range',\n templateUrl: './primitive-calendar-range.template.html',\n styleUrls: ['./primitive-calendar-range.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService],\n})\nexport class TuiPrimitiveCalendarRangeComponent implements OnInit {\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<TuiDay> = ALWAYS_FALSE_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n markerHandler: TuiMarkerHandler = TUI_DEFAULT_MARKER_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n defaultViewedMonthFirst = TuiMonth.currentLocal();\n\n @Input()\n @tuiDefaultProp()\n defaultViewedMonthSecond = TuiMonth.currentLocal().append({month: 1});\n\n @Input()\n @tuiDefaultProp()\n min = TUI_FIRST_DAY;\n\n @Input()\n @tuiDefaultProp()\n max = TUI_LAST_DAY;\n\n @Input()\n @tuiDefaultProp()\n value: TuiDayRange | null = null;\n\n @Output()\n readonly dayClick = new EventEmitter<TuiDay>();\n\n hoveredItem: TuiDay | null = null;\n\n monthOffset: TuiMapper<TuiMonth, TuiMonth> = (value, offset: number) =>\n value.append({month: offset});\n\n userViewedMonthFirst: TuiMonth = this.defaultViewedMonthFirst;\n userViewedMonthSecond: TuiMonth = this.defaultViewedMonthSecond;\n\n constructor(\n @Inject(TUI_CALENDAR_DATA_STREAM)\n @Optional()\n valueChanges: Observable<TuiDayRange | null> | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiDestroyService) destroy$: TuiDestroyService,\n ) {\n if (!valueChanges) {\n return;\n }\n\n valueChanges\n .pipe(watch(changeDetectorRef), takeUntil(destroy$))\n .subscribe(value => {\n this.value = value;\n this.updateViewedMonths();\n });\n }\n\n get cappedUserViewedMonthSecond(): TuiMonth {\n return this.userViewedMonthSecond.monthBefore(this.max)\n ? this.userViewedMonthSecond\n : this.max;\n }\n\n get cappedUserViewedMonthFirst(): TuiMonth {\n return this.userViewedMonthFirst.monthSameOrBefore(this.userViewedMonthSecond)\n ? this.userViewedMonthFirst\n : this.userViewedMonthSecond;\n }\n\n ngOnInit() {\n this.updateViewedMonths();\n }\n\n onSectionFirstViewedMonth(month: TuiMonth) {\n this.userViewedMonthFirst = month;\n\n if (this.userViewedMonthSecond.year < this.userViewedMonthFirst.year) {\n this.userViewedMonthSecond = this.userViewedMonthSecond.append({\n year: month.year - this.userViewedMonthSecond.year,\n });\n }\n }\n\n onSectionSecondViewedMonth(month: TuiMonth) {\n this.userViewedMonthSecond = month;\n\n if (this.userViewedMonthFirst.year > this.userViewedMonthSecond.year) {\n this.userViewedMonthFirst = this.userViewedMonthFirst.append({\n year: month.year - this.userViewedMonthFirst.year,\n });\n }\n }\n\n onDayClick(day: TuiDay) {\n this.dayClick.emit(day);\n }\n\n private updateViewedMonths() {\n this.userViewedMonthFirst =\n this.value === null ? this.defaultViewedMonthFirst : this.value.from;\n this.userViewedMonthSecond =\n this.value === null ? this.defaultViewedMonthSecond : this.value.to;\n\n if (this.userViewedMonthFirst.monthSame(this.userViewedMonthSecond)) {\n this.userViewedMonthSecond = this.userViewedMonthSecond.append({month: 1});\n }\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiMapperPipeModule} from '@taiga-ui/cdk';\nimport {TuiCalendarModule, TuiScrollbarModule} from '@taiga-ui/core';\nimport {TuiPrimitiveCalendarRangeComponent} from './primitive-calendar-range.component';\n\n/**\n * @internal\n */\n@NgModule({\n imports: [TuiMapperPipeModule, TuiScrollbarModule, TuiCalendarModule],\n declarations: [TuiPrimitiveCalendarRangeComponent],\n exports: [TuiPrimitiveCalendarRangeComponent],\n})\nexport class TuiPrimitiveCalendarRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AA6BA;;;;IAkDI,4CAGI,YAAmD,EACxB,iBAAoC,EACpC,QAA2B;QAL1D,iBAiBC;QAtDD,wBAAmB,GAA8B,oBAAoB,CAAC;QAItE,kBAAa,GAAqB,0BAA0B,CAAC;QAI7D,4BAAuB,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC;QAIlD,6BAAwB,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC,MAAM,CAAC,EAAC,KAAK,EAAE,CAAC,EAAC,CAAC,CAAC;QAItE,QAAG,GAAG,aAAa,CAAC;QAIpB,QAAG,GAAG,YAAY,CAAC;QAInB,UAAK,GAAuB,IAAI,CAAC;QAGxB,aAAQ,GAAG,IAAI,YAAY,EAAU,CAA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AAc,EAAE;6EAC4C;IAI7D;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;uFACiC;IAIlD;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;wFACqD;IAItE;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;mEACG;IAIpB;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;mEACE;IAInB;QAFC,KAAK,EAAE;QACP,cAAc,EAAE;qEACgB;IAGjC;QADC,MAAM,EAAE;wEACsC;IA9BtC,kCAAkC;QAP9C,SAAS,CAAC;YACP,QAAQ,EAAE,8BAA8B;YACxC,w8BAAuD;YAEvD,eAAe,EAAE,uBAAuB,CAAC,MAAM;YAC/C,SAAS,EAAE,CAAC,iBAAiB,CAAC;;SACjC,CAAC;QA0CO,WAAA,MAAM,CAAC,wBAAwB,CAAC,CAAA;QAChC,WAAA,QAAQ,EAAE,CAAA;QAEV,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QACzB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;OA7CrB,kCAAkC,CA6G9C;IAAD,yCAAC;CA7GD;;AClCA;;;;IAQA;KAA+C;IAAlC,+BAA+B;QAL3C,QAAQ,CAAC;YACN,OAAO,EAAE,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC;YACrE,YAAY,EAAE,CAAC,kCAAkC,CAAC;YAClD,OAAO,EAAE,CAAC,kCAAkC,CAAC;SAChD,CAAC;OACW,+BAA+B,CAAG;IAAD,sCAAC;CAA/C;;ACbA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-internal-primitive-calendar-range.js","sources":["ng://@taiga-ui/kit/internal/primitive-calendar-range/primitive-calendar-range.component.ts","ng://@taiga-ui/kit/internal/primitive-calendar-range/primitive-calendar-range.module.ts","ng://@taiga-ui/kit/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n Inject,\n Input,\n OnInit,\n Optional,\n Output,\n} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiDay,\n TuiDayRange,\n tuiDefaultProp,\n TuiDestroyService,\n TuiMapper,\n TuiMonth,\n watch,\n} from '@taiga-ui/cdk';\nimport {TUI_DEFAULT_MARKER_HANDLER, TuiMarkerHandler} from '@taiga-ui/core';\nimport {TUI_CALENDAR_DATA_STREAM} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\nimport {takeUntil} from 'rxjs/operators';\n\n/**\n * @internal\n */\n@Component({\n selector: 'tui-primitive-calendar-range',\n templateUrl: './primitive-calendar-range.template.html',\n styleUrls: ['./primitive-calendar-range.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService],\n})\nexport class TuiPrimitiveCalendarRangeComponent implements OnInit {\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<TuiDay> = ALWAYS_FALSE_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n markerHandler: TuiMarkerHandler = TUI_DEFAULT_MARKER_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n defaultViewedMonthFirst = TuiMonth.currentLocal();\n\n @Input()\n @tuiDefaultProp()\n defaultViewedMonthSecond = TuiMonth.currentLocal().append({month: 1});\n\n @Input()\n @tuiDefaultProp()\n min = TUI_FIRST_DAY;\n\n @Input()\n @tuiDefaultProp()\n max = TUI_LAST_DAY;\n\n @Input()\n @tuiDefaultProp()\n value: TuiDayRange | null = null;\n\n @Output()\n readonly dayClick = new EventEmitter<TuiDay>();\n\n hoveredItem: TuiDay | null = null;\n\n monthOffset: TuiMapper<TuiMonth, TuiMonth> = (value, offset: number) =>\n value.append({month: offset});\n\n userViewedMonthFirst: TuiMonth = this.defaultViewedMonthFirst;\n userViewedMonthSecond: TuiMonth = this.defaultViewedMonthSecond;\n\n constructor(\n @Inject(TUI_CALENDAR_DATA_STREAM)\n @Optional()\n valueChanges: Observable<TuiDayRange | null> | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiDestroyService) destroy$: TuiDestroyService,\n ) {\n if (!valueChanges) {\n return;\n }\n\n valueChanges\n .pipe(watch(changeDetectorRef), takeUntil(destroy$))\n .subscribe(value => {\n this.value = value;\n this.updateViewedMonths();\n });\n }\n\n get cappedUserViewedMonthSecond(): TuiMonth {\n return this.userViewedMonthSecond.monthBefore(this.max)\n ? this.userViewedMonthSecond\n : this.max;\n }\n\n get cappedUserViewedMonthFirst(): TuiMonth {\n return this.userViewedMonthFirst.monthSameOrBefore(this.userViewedMonthSecond)\n ? this.userViewedMonthFirst\n : this.userViewedMonthSecond;\n }\n\n ngOnInit() {\n this.updateViewedMonths();\n }\n\n onSectionFirstViewedMonth(month: TuiMonth) {\n this.userViewedMonthFirst = month;\n\n if (this.userViewedMonthSecond.year < this.userViewedMonthFirst.year) {\n this.userViewedMonthSecond = this.userViewedMonthSecond.append({\n year: month.year - this.userViewedMonthSecond.year,\n });\n }\n }\n\n onSectionSecondViewedMonth(month: TuiMonth) {\n this.userViewedMonthSecond = month;\n\n if (this.userViewedMonthFirst.year > this.userViewedMonthSecond.year) {\n this.userViewedMonthFirst = this.userViewedMonthFirst.append({\n year: month.year - this.userViewedMonthFirst.year,\n });\n }\n }\n\n onDayClick(day: TuiDay) {\n this.dayClick.emit(day);\n }\n\n private updateViewedMonths() {\n this.userViewedMonthFirst =\n this.value === null ? this.defaultViewedMonthFirst : this.value.from;\n this.userViewedMonthSecond =\n this.value === null ? this.defaultViewedMonthSecond : this.value.to;\n\n if (this.userViewedMonthFirst.monthSame(this.userViewedMonthSecond)) {\n this.userViewedMonthSecond = this.userViewedMonthSecond.append({month: 1});\n }\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiMapperPipeModule} from '@taiga-ui/cdk';\nimport {TuiCalendarModule, TuiScrollbarModule} from '@taiga-ui/core';\n\nimport {TuiPrimitiveCalendarRangeComponent} from './primitive-calendar-range.component';\n\n/**\n * @internal\n */\n@NgModule({\n imports: [TuiMapperPipeModule, TuiScrollbarModule, TuiCalendarModule],\n declarations: [TuiPrimitiveCalendarRangeComponent],\n exports: [TuiPrimitiveCalendarRangeComponent],\n})\nexport class TuiPrimitiveCalendarRangeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AA6BA;;;;IAkDI,4CAGI,YAAmD,EACxB,iBAAoC,EACpC,QAA2B;QAL1D,iBAiBC;QAtDD,wBAAmB,GAA8B,oBAAoB,CAAC;QAItE,kBAAa,GAAqB,0BAA0B,CAAC;QAI7D,4BAAuB,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC;QAIlD,6BAAwB,GAAG,QAAQ,CAAC,YAAY,EAAE,CAAC,MAAM,CAAC,EAAC,KAAK,EAAE,CAAC,EAAC,CAAC,CAAC;QAItE,QAAG,GAAG,aAAa,CAAC;QAIpB,QAAG,GAAG,YAAY,CAAC;QAInB,UAAK,GAAuB,IAAI,CAAC;QAGxB,aAAQ,GAAG,IAAI,YAAY,EAAU,CAAC;QAE/C,gBAAW,GAAkB,IAAI,CAAC;QAElC,gBAAW,GAAkC,UAAC,KAAK,EAAE,MAAc;YAC/D,OAAA,KAAK,CAAC,MAAM,CAAC,EAAC,KAAK,EAAE,MAAM,EAAC,CAAC;SAAA,CAAC;QAElC,yBAAoB,GAAa,IAAI,CAAC,uBAAuB,CAAC;QAC9D,0BAAqB,GAAa,IAAI,CAAC,wBAAwB,CAAC;QAS5D,IAAI,CAAC,YAAY,EAAE;YACf,OAAO;SACV;QAED,YAAY;aACP,IAAI,CAAC,KAAK,CAAC,iBAAiB,CAAC,EAAE,SAAS,CAAC,QAAQ,CAAC,CAAC;aACnD,SAAS,CAAC,UAAA,KAAK;YACZ,KAAI,CAAC,KAAK,GAAG,KAAK,CAAC;YACnB,KAAI,CAAC,kBAAk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,CAAC,CAAA;QAChC,WAAA,QAAQ,EAAE,CAAA;QAEV,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;QACzB,WAAA,MAAM,CAAC,iBAAiB,CAAC,CAAA;OA7CrB,kCAAkC,CA6G9C;IAAD,yCAAC;CA7GD;;ACjCA;;;;IAQA;KAA+C;IAAlC,+BAA+B;QAL3C,QAAQ,CAAC;YACN,OAAO,EAAE,CAAC,mBAAmB,EAAE,kBAAkB,EAAE,iBAAiB,CAAC;YACrE,YAAY,EAAE,CAAC,kCAAkC,CAAC;YAClD,OAAO,EAAE,CAAC,kCAAkC,CAAC;SAChD,CAAC;OACW,+BAA+B,CAAG;IAAD,sCAAC;CAA/C;;ACdA;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __extends, __param } from 'tslib';
2
- import { isPresent, tuiPure, TUI_DEFAULT_MATCHER, TUI_FOCUSABLE_ITEM_ACCESSOR, TUI_DEFAULT_STRINGIFY } from '@taiga-ui/cdk';
2
+ import { isPresent, tuiPure, TUI_DEFAULT_MATCHER, TUI_DEFAULT_STRINGIFY, TUI_FOCUSABLE_ITEM_ACCESSOR } from '@taiga-ui/cdk';
3
3
  import { isFlat } from '@taiga-ui/kit/utils';
4
4
  import { Inject, Pipe, NgModule } from '@angular/core';
5
5
 
@@ -47,51 +47,51 @@ var TuiFilterByInputBase = /** @class */ (function () {
47
47
  return TuiFilterByInputBase;
48
48
  }());
49
49
 
50
- var TuiFilterByInputWithPipe = /** @class */ (function (_super) {
51
- __extends(TuiFilterByInputWithPipe, _super);
52
- function TuiFilterByInputWithPipe(accessor) {
50
+ var TuiFilterByInputPipe = /** @class */ (function (_super) {
51
+ __extends(TuiFilterByInputPipe, _super);
52
+ function TuiFilterByInputPipe(accessor) {
53
53
  var _this = _super.call(this) || this;
54
54
  _this.accessor = accessor;
55
55
  return _this;
56
56
  }
57
- TuiFilterByInputWithPipe.prototype.transform = function (items, stringify) {
58
- return this.filter(items, TUI_DEFAULT_MATCHER, stringify, this.query);
57
+ TuiFilterByInputPipe.prototype.transform = function (items, matcher) {
58
+ if (matcher === void 0) { matcher = TUI_DEFAULT_MATCHER; }
59
+ return this.filter(items, matcher, TUI_DEFAULT_STRINGIFY, this.query);
59
60
  };
60
- TuiFilterByInputWithPipe.ctorParameters = function () { return [
61
+ TuiFilterByInputPipe.ctorParameters = function () { return [
61
62
  { type: undefined, decorators: [{ type: Inject, args: [TUI_FOCUSABLE_ITEM_ACCESSOR,] }] }
62
63
  ]; };
63
- TuiFilterByInputWithPipe = __decorate([
64
+ TuiFilterByInputPipe = __decorate([
64
65
  Pipe({
65
- name: 'tuiFilterByInputWith',
66
+ name: 'tuiFilterByInput',
66
67
  pure: false,
67
68
  }),
68
69
  __param(0, Inject(TUI_FOCUSABLE_ITEM_ACCESSOR))
69
- ], TuiFilterByInputWithPipe);
70
- return TuiFilterByInputWithPipe;
70
+ ], TuiFilterByInputPipe);
71
+ return TuiFilterByInputPipe;
71
72
  }(TuiFilterByInputBase));
72
73
 
73
- var TuiFilterByInputPipe = /** @class */ (function (_super) {
74
- __extends(TuiFilterByInputPipe, _super);
75
- function TuiFilterByInputPipe(accessor) {
74
+ var TuiFilterByInputWithPipe = /** @class */ (function (_super) {
75
+ __extends(TuiFilterByInputWithPipe, _super);
76
+ function TuiFilterByInputWithPipe(accessor) {
76
77
  var _this = _super.call(this) || this;
77
78
  _this.accessor = accessor;
78
79
  return _this;
79
80
  }
80
- TuiFilterByInputPipe.prototype.transform = function (items, matcher) {
81
- if (matcher === void 0) { matcher = TUI_DEFAULT_MATCHER; }
82
- return this.filter(items, matcher, TUI_DEFAULT_STRINGIFY, this.query);
81
+ TuiFilterByInputWithPipe.prototype.transform = function (items, stringify) {
82
+ return this.filter(items, TUI_DEFAULT_MATCHER, stringify, this.query);
83
83
  };
84
- TuiFilterByInputPipe.ctorParameters = function () { return [
84
+ TuiFilterByInputWithPipe.ctorParameters = function () { return [
85
85
  { type: undefined, decorators: [{ type: Inject, args: [TUI_FOCUSABLE_ITEM_ACCESSOR,] }] }
86
86
  ]; };
87
- TuiFilterByInputPipe = __decorate([
87
+ TuiFilterByInputWithPipe = __decorate([
88
88
  Pipe({
89
- name: 'tuiFilterByInput',
89
+ name: 'tuiFilterByInputWith',
90
90
  pure: false,
91
91
  }),
92
92
  __param(0, Inject(TUI_FOCUSABLE_ITEM_ACCESSOR))
93
- ], TuiFilterByInputPipe);
94
- return TuiFilterByInputPipe;
93
+ ], TuiFilterByInputWithPipe);
94
+ return TuiFilterByInputWithPipe;
95
95
  }(TuiFilterByInputBase));
96
96
 
97
97
  var TuiFilterByInputPipeModule = /** @class */ (function () {
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-filter-by-input.js","sources":["ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.base.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input-with.pipe.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.pipe.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.module.ts","ng://@taiga-ui/kit/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.ts"],"sourcesContent":["import {\n isPresent,\n TuiFocusableElementAccessor,\n tuiPure,\n TuiStringHandler,\n TuiStringMatcher,\n} from '@taiga-ui/cdk';\nimport {isFlat} from '@taiga-ui/kit/utils';\n\nexport type ArrayElement<A> = A extends readonly (infer T)[]\n ? A extends readonly (readonly (infer G)[])[]\n ? G\n : T\n : never;\n\nexport abstract class TuiFilterByInputBase {\n protected abstract readonly accessor: TuiFocusableElementAccessor;\n\n protected get query(): string {\n return this.accessor.nativeFocusableElement\n ? (this.accessor.nativeFocusableElement as any).value || ''\n : '';\n }\n\n @tuiPure\n protected filter<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n if (!items) {\n return null;\n }\n\n return isFlat(items)\n ? this.filterFlat(items, matcher, stringify, query)\n : this.filter2d(items, matcher, stringify, query);\n }\n\n private filterFlat<T>(\n items: readonly T[],\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): readonly T[] {\n const match = this.getMatch(items, stringify, query);\n\n return isPresent(match)\n ? items\n : items.filter(item => matcher(item, query, stringify));\n }\n\n private filter2d<T>(\n items: ReadonlyArray<readonly T[]>,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): ReadonlyArray<readonly T[]> {\n const match = items.find(item =>\n isPresent(this.getMatch(item, stringify, query)),\n );\n\n return isPresent(match)\n ? items\n : items.map(inner => this.filterFlat(inner, matcher, stringify, query));\n }\n\n private getMatch<T>(\n items: readonly T[],\n stringify: TuiStringHandler<T>,\n query: string,\n ): T | undefined {\n return items.find(\n item => stringify(item).toLocaleLowerCase() === query.toLocaleLowerCase(),\n );\n }\n}\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {\n TUI_DEFAULT_MATCHER,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\nimport {ArrayElement, TuiFilterByInputBase} from './filter-by-input.base';\n\n@Pipe({\n name: 'tuiFilterByInputWith',\n pure: false,\n})\nexport class TuiFilterByInputWithPipe\n extends TuiFilterByInputBase\n implements PipeTransform\n{\n constructor(\n @Inject(TUI_FOCUSABLE_ITEM_ACCESSOR)\n protected readonly accessor: TuiFocusableElementAccessor,\n ) {\n super();\n }\n\n transform<T>(items: T, matcher?: TuiStringHandler<ArrayElement<T>>): T;\n transform<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n stringify: TuiStringHandler<T>,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n return this.filter(items, TUI_DEFAULT_MATCHER, stringify, this.query);\n }\n}\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {\n TUI_DEFAULT_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiStringMatcher,\n} from '@taiga-ui/cdk';\nimport {ArrayElement, TuiFilterByInputBase} from './filter-by-input.base';\n\n@Pipe({\n name: 'tuiFilterByInput',\n pure: false,\n})\nexport class TuiFilterByInputPipe extends TuiFilterByInputBase implements PipeTransform {\n constructor(\n @Inject(TUI_FOCUSABLE_ITEM_ACCESSOR)\n protected readonly accessor: TuiFocusableElementAccessor,\n ) {\n super();\n }\n\n transform<T>(items: T, matcher?: TuiStringMatcher<ArrayElement<T>>): T;\n transform<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n matcher: TuiStringMatcher<T> = TUI_DEFAULT_MATCHER,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n return this.filter(items, matcher, TUI_DEFAULT_STRINGIFY, this.query);\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiFilterByInputWithPipe} from './filter-by-input-with.pipe';\nimport {TuiFilterByInputPipe} from './filter-by-input.pipe';\n\n@NgModule({\n declarations: [TuiFilterByInputPipe, TuiFilterByInputWithPipe],\n exports: [TuiFilterByInputPipe, TuiFilterByInputWithPipe],\n})\nexport class TuiFilterByInputPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;IAeA;KA8DC;IA3DG,sBAAc,uCAAK;aAAnB;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC,sBAAsB;kBACpC,IAAI,CAAC,QAAQ,CAAC,sBAA8B,CAAC,KAAK,IAAI,EAAE;kBACzD,EAAE,CAAC;SACZ;;;OAAA;IAGS,qCAAM,GAAhB,UACI,KAAwD,EACxD,OAA4B,EAC5B,SAA8B,EAC9B,KAAa;QAEb,IAAI,CAAC,KAAK,EAAE;YACR,OAAO,IAAI,CAAC;SACf;QAED,OAAO,MAAM,CAAC,KAAK,CAAC;cACd,IAAI,CA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"version":3,"file":"taiga-ui-kit-pipes-filter-by-input.js","sources":["ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.base.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.pipe.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input-with.pipe.ts","ng://@taiga-ui/kit/pipes/filter-by-input/filter-by-input.module.ts","ng://@taiga-ui/kit/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.ts"],"sourcesContent":["import {\n isPresent,\n TuiFocusableElementAccessor,\n tuiPure,\n TuiStringHandler,\n TuiStringMatcher,\n} from '@taiga-ui/cdk';\nimport {isFlat} from '@taiga-ui/kit/utils';\n\nexport type ArrayElement<A> = A extends readonly (infer T)[]\n ? A extends readonly (readonly (infer G)[])[]\n ? G\n : T\n : never;\n\nexport abstract class TuiFilterByInputBase {\n protected abstract readonly accessor: TuiFocusableElementAccessor;\n\n protected get query(): string {\n return this.accessor.nativeFocusableElement\n ? (this.accessor.nativeFocusableElement as any).value || ''\n : '';\n }\n\n @tuiPure\n protected filter<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n if (!items) {\n return null;\n }\n\n return isFlat(items)\n ? this.filterFlat(items, matcher, stringify, query)\n : this.filter2d(items, matcher, stringify, query);\n }\n\n private filterFlat<T>(\n items: readonly T[],\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): readonly T[] {\n const match = this.getMatch(items, stringify, query);\n\n return isPresent(match)\n ? items\n : items.filter(item => matcher(item, query, stringify));\n }\n\n private filter2d<T>(\n items: ReadonlyArray<readonly T[]>,\n matcher: TuiStringMatcher<T>,\n stringify: TuiStringHandler<T>,\n query: string,\n ): ReadonlyArray<readonly T[]> {\n const match = items.find(item =>\n isPresent(this.getMatch(item, stringify, query)),\n );\n\n return isPresent(match)\n ? items\n : items.map(inner => this.filterFlat(inner, matcher, stringify, query));\n }\n\n private getMatch<T>(\n items: readonly T[],\n stringify: TuiStringHandler<T>,\n query: string,\n ): T | undefined {\n return items.find(\n item => stringify(item).toLocaleLowerCase() === query.toLocaleLowerCase(),\n );\n }\n}\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {\n TUI_DEFAULT_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiStringMatcher,\n} from '@taiga-ui/cdk';\n\nimport {ArrayElement, TuiFilterByInputBase} from './filter-by-input.base';\n\n@Pipe({\n name: 'tuiFilterByInput',\n pure: false,\n})\nexport class TuiFilterByInputPipe extends TuiFilterByInputBase implements PipeTransform {\n constructor(\n @Inject(TUI_FOCUSABLE_ITEM_ACCESSOR)\n protected readonly accessor: TuiFocusableElementAccessor,\n ) {\n super();\n }\n\n transform<T>(items: T, matcher?: TuiStringMatcher<ArrayElement<T>>): T;\n transform<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n matcher: TuiStringMatcher<T> = TUI_DEFAULT_MATCHER,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n return this.filter(items, matcher, TUI_DEFAULT_STRINGIFY, this.query);\n }\n}\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {\n TUI_DEFAULT_MATCHER,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiFocusableElementAccessor,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\n\nimport {ArrayElement, TuiFilterByInputBase} from './filter-by-input.base';\n\n@Pipe({\n name: 'tuiFilterByInputWith',\n pure: false,\n})\nexport class TuiFilterByInputWithPipe\n extends TuiFilterByInputBase\n implements PipeTransform\n{\n constructor(\n @Inject(TUI_FOCUSABLE_ITEM_ACCESSOR)\n protected readonly accessor: TuiFocusableElementAccessor,\n ) {\n super();\n }\n\n transform<T>(items: T, matcher?: TuiStringHandler<ArrayElement<T>>): T;\n transform<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n stringify: TuiStringHandler<T>,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n return this.filter(items, TUI_DEFAULT_MATCHER, stringify, this.query);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiFilterByInputPipe} from './filter-by-input.pipe';\nimport {TuiFilterByInputWithPipe} from './filter-by-input-with.pipe';\n\n@NgModule({\n declarations: [TuiFilterByInputPipe, TuiFilterByInputWithPipe],\n exports: [TuiFilterByInputPipe, TuiFilterByInputWithPipe],\n})\nexport class TuiFilterByInputPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;IAeA;KA8DC;IA3DG,sBAAc,uCAAK;aAAnB;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC,sBAAsB;kBACpC,IAAI,CAAC,QAAQ,CAAC,sBAA8B,CAAC,KAAK,IAAI,EAAE;kBACzD,EAAE,CAAC;SACZ;;;OAAA;IAGS,qCAAM,GAAhB,UACI,KAAwD,EACxD,OAA4B,EAC5B,SAA8B,EAC9B,KAAa;QAEb,IAAI,CAAC,KAAK,EAAE;YACR,OAAO,IAAI,CAAC;SACf;QAED,OAAO,MAAM,CAAC,KAAK,CAAC;cACd,IAAI,CAAC,UAAU,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC;cACjD,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;KACzD;IAEO,yCAAU,GAAlB,UACI,KAAmB,EACnB,OAA4B,EAC5B,SAA8B,EAC9B,KAAa;QAEb,IAAM,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,CAAC,CAAC;QAErD,OAAO,SAAS,CAAC,KAAK,CAAC;cACjB,KAAK;cACL,KAAK,CAAC,MAAM,CAAC,UAAA,IAAI,IAA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AA,MAAM,CAAC,2BAA2B,CAAC,CAAA;OAF/B,oBAAoB,CAehC;IAAD,2BAAC;CAAA,CAfyC,oBAAoB;;;ICAlD,4CAAoB;IAG5B,kCAEuB,QAAqC;QAF5D,YAII,iBAAO,SACV;QAHsB,cAAQ,GAAR,QAAQ,CAA6B;;KAG3D;IAGD,4CAAS,GAAT,UACI,KAAwD,EACxD,SAA8B;QAE9B,OAAO,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,mBAAmB,EAAE,SAAS,EAAE,IAAI,CAAC,KAAK,CAAC,CAAC;KACzE;;gDAZI,MAAM,SAAC,2BAA2B;;IAL9B,wBAAwB;QAJpC,IAAI,CAAC;YACF,IAAI,EAAE,sBAAsB;YAC5B,IAAI,EAAE,KAAK;SACd,CAAC;QAMO,WAAA,MAAM,CAAC,2BAA2B,CAAC,CAAA;OAL/B,wBAAwB,CAkBpC;IAAD,+BAAC;CAAA,CAjBW,oBAAoB;;;ICNhC;KAA0C;IAA7B,0BAA0B;QAJtC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,oBAAoB,EAAE,wBAAwB,CAAC;YAC9D,OAAO,EAAE,CAAC,oBAAoB,EAAE,wBAAwB,CAAC;SAC5D,CAAC;OACW,0BAA0B,CAAG;IAAD,iCAAC;CAA1C;;ACTA;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-stringify-content.js","sources":["ng://@taiga-ui/kit/pipes/stringify-content/stringify-content.pipe.ts","ng://@taiga-ui/kit/pipes/stringify-content/stringify-content.module.ts","ng://@taiga-ui/kit/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\nimport {TuiValueContentContext} from '@taiga-ui/core';\n\n@Pipe({\n name: 'tuiStringifyContent',\n})\nexport class TuiStringifyContentPipe implements PipeTransform {\n transform<T>(\n stringify: TuiStringHandler<T>,\n ): TuiStringHandler<TuiValueContentContext<T>> {\n return ({$implicit}) => stringify($implicit);\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiStringifyContentPipe} from './stringify-content.pipe';\n\n@NgModule({\n declarations: [TuiStringifyContentPipe],\n exports: [TuiStringifyContentPipe],\n})\nexport class TuiStringifyContentPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;IAOA;KAMC;IALG,2CAAS,GAAT,UACI,SAA8B;QAE9B,OAAO,UAAC,EAAW;gBAAV,wBAAS;YAAM,OAAA,SAAS,CAAC,SAAS,CAAC;SAAA,CAAC;KAChD;IALQ,uBAAuB;QAHnC,IAAI,CAAC;YACF,IAAI,EAAE,qBAAqB;SAC9B,CAAC;OACW,uBAAuB,CAMnC;IAAD,8BAAC;CAND;;;ICAA;KAA6C;IAAhC,6BAA6B;QAJzC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,uBAAuB,CAAC;YACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;SACrC,CAAC;OACW,6BAA6B,CAAG;IAAD,oCAAC;CAA7C;;ACPA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-stringify-content.js","sources":["ng://@taiga-ui/kit/pipes/stringify-content/stringify-content.pipe.ts","ng://@taiga-ui/kit/pipes/stringify-content/stringify-content.module.ts","ng://@taiga-ui/kit/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\nimport {TuiValueContentContext} from '@taiga-ui/core';\n\n@Pipe({\n name: 'tuiStringifyContent',\n})\nexport class TuiStringifyContentPipe implements PipeTransform {\n transform<T>(\n stringify: TuiStringHandler<T>,\n ): TuiStringHandler<TuiValueContentContext<T>> {\n return ({$implicit}) => stringify($implicit);\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiStringifyContentPipe} from './stringify-content.pipe';\n\n@NgModule({\n declarations: [TuiStringifyContentPipe],\n exports: [TuiStringifyContentPipe],\n})\nexport class TuiStringifyContentPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;IAOA;KAMC;IALG,2CAAS,GAAT,UACI,SAA8B;QAE9B,OAAO,UAAC,EAAW;gBAAV,wBAAS;YAAM,OAAA,SAAS,CAAC,SAAS,CAAC;SAAA,CAAC;KAChD;IALQ,uBAAuB;QAHnC,IAAI,CAAC;YACF,IAAI,EAAE,qBAAqB;SAC9B,CAAC;OACW,uBAAuB,CAMnC;IAAD,8BAAC;CAND;;;ICCA;KAA6C;IAAhC,6BAA6B;QAJzC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,uBAAuB,CAAC;YACvC,OAAO,EAAE,CAAC,uBAAuB,CAAC;SACrC,CAAC;OACW,6BAA6B,CAAG;IAAD,oCAAC;CAA7C;;ACRA;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-pipes-stringify.js","sources":["ng://@taiga-ui/kit/pipes/stringify/stringify.pipe.ts","ng://@taiga-ui/kit/pipes/stringify/stringify.module.ts","ng://@taiga-ui/kit/pipes/stringify/taiga-ui-kit-pipes-stringify.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\n\n@Pipe({\n name: 'tuiStringify',\n})\nexport class TuiStringifyPipe implements PipeTransform {\n public transform<K extends string>(\n key: K,\n ): TuiStringHandler<Readonly<Record<K, unknown> & Record<any, any>>> {\n return value => String(value[key] ?? '');\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiStringifyPipe} from './stringify.pipe';\n\n@NgModule({\n declarations: [TuiStringifyPipe],\n exports: [TuiStringifyPipe],\n})\nexport class TuiStringifyPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;IAMA;KAMC;IALU,oCAAS,GAAhB,UACI,GAAM;QAEN,OAAO,UAAA,KAAK,YAAI,OAAA,MAAM,OAAC,KAAK,CAAC,GAAG,CAAC,mCAAI,EAAE,CAAC,CAAA,EAAA,CAAC;KAC5C;IALQ,gBAAgB;QAH5B,IAAI,CAAC;YACF,IAAI,EAAE,cAAc;SACvB,CAAC;OACW,gBAAgB,CAM5B;IAAD,uBAAC;CAND;;;ICCA;KAAsC;IAAzB,sBAAsB;QAJlC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;YAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;SAC9B,CAAC;OACW,sBAAsB,CAAG;IAAD,6BAAC;CAAtC;;ACPA;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-pipes-stringify.js","sources":["ng://@taiga-ui/kit/pipes/stringify/stringify.pipe.ts","ng://@taiga-ui/kit/pipes/stringify/stringify.module.ts","ng://@taiga-ui/kit/pipes/stringify/taiga-ui-kit-pipes-stringify.ts"],"sourcesContent":["import {Pipe, PipeTransform} from '@angular/core';\nimport {TuiStringHandler} from '@taiga-ui/cdk';\n\n@Pipe({\n name: 'tuiStringify',\n})\nexport class TuiStringifyPipe implements PipeTransform {\n public transform<K extends string>(\n key: K,\n ): TuiStringHandler<Readonly<Record<K, unknown> & Record<any, any>>> {\n return value => String(value[key] ?? '');\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiStringifyPipe} from './stringify.pipe';\n\n@NgModule({\n declarations: [TuiStringifyPipe],\n exports: [TuiStringifyPipe],\n})\nexport class TuiStringifyPipeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;IAMA;KAMC;IALU,oCAAS,GAAhB,UACI,GAAM;QAEN,OAAO,UAAA,KAAK,YAAI,OAAA,MAAM,OAAC,KAAK,CAAC,GAAG,CAAC,mCAAI,EAAE,CAAC,CAAA,EAAA,CAAC;KAC5C;IALQ,gBAAgB;QAH5B,IAAI,CAAC;YACF,IAAI,EAAE,cAAc;SACvB,CAAC;OACW,gBAAgB,CAM5B;IAAD,uBAAC;CAND;;;ICEA;KAAsC;IAAzB,sBAAsB;QAJlC,QAAQ,CAAC;YACN,YAAY,EAAE,CAAC,gBAAgB,CAAC;YAChC,OAAO,EAAE,CAAC,gBAAgB,CAAC;SAC9B,CAAC;OACW,sBAAsB,CAAG;IAAD,6BAAC;CAAtC;;ACRA;;;;;;"}
@@ -3,20 +3,6 @@ import { extractI18n } from '@taiga-ui/i18n';
3
3
 
4
4
  var TUI_CALENDAR_DATA_STREAM = new InjectionToken('Stream that emits calendar data change');
5
5
 
6
- var TUI_MOBILE_AWARE = new InjectionToken('A flag enabling mobile-specific behavior for supporting components', {
7
- factory: function () { return false; },
8
- });
9
-
10
- var TUI_MOBILE_CALENDAR = new InjectionToken('A component for mobile data picker');
11
-
12
- var TUI_TAG_STATUS = new InjectionToken('Status for tags inside InputTag component', {
13
- factory: function () { return "primary" /* Primary */; },
14
- });
15
-
16
- var TUI_VALIDATION_ERRORS = new InjectionToken('Validation errors', {
17
- factory: function () { return ({}); },
18
- });
19
-
20
6
  var TUI_CANCEL_WORD = new InjectionToken("i18n 'cancel' word", {
21
7
  factory: extractI18n('cancel'),
22
8
  });
@@ -69,6 +55,20 @@ var TUI_COUNTRIES = new InjectionToken('Localized countries names', {
69
55
  factory: extractI18n('countries'),
70
56
  });
71
57
 
58
+ var TUI_MOBILE_AWARE = new InjectionToken('A flag enabling mobile-specific behavior for supporting components', {
59
+ factory: function () { return false; },
60
+ });
61
+
62
+ var TUI_MOBILE_CALENDAR = new InjectionToken('A component for mobile data picker');
63
+
64
+ var TUI_TAG_STATUS = new InjectionToken('Status for tags inside InputTag component', {
65
+ factory: function () { return "primary" /* Primary */; },
66
+ });
67
+
68
+ var TUI_VALIDATION_ERRORS = new InjectionToken('Validation errors', {
69
+ factory: function () { return ({}); },
70
+ });
71
+
72
72
  /**
73
73
  * Generated bundle index. Do not edit.
74
74
  */
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-tokens.js","sources":["ng://@taiga-ui/kit/tokens/calendar-data-stream.ts","ng://@taiga-ui/kit/tokens/mobile-aware.ts","ng://@taiga-ui/kit/tokens/mobile-calendar.ts","ng://@taiga-ui/kit/tokens/tag-status.ts","ng://@taiga-ui/kit/tokens/validation-errors.ts","ng://@taiga-ui/kit/tokens/i18n.ts","ng://@taiga-ui/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\nimport {TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CALENDAR_DATA_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>('Stream that emits calendar data change');\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_MOBILE_AWARE = new InjectionToken<boolean>(\n 'A flag enabling mobile-specific behavior for supporting components',\n {\n factory: () => false,\n },\n);\n","import {InjectionToken, Type} from '@angular/core';\n\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<any>>(\n 'A component for mobile data picker',\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiStatus} from '@taiga-ui/kit/enums';\n\nexport const TUI_TAG_STATUS = new InjectionToken<TuiStatus>(\n 'Status for tags inside InputTag component',\n {\n factory: () => TuiStatus.Primary,\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, PolymorpheusContent>\n>('Validation errors', {\n factory: () => ({}),\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiDateMode} from '@taiga-ui/cdk';\nimport {extractI18n, TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {\n factory: extractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(`i18n 'done' word`, {\n factory: extractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(`i18n 'more' word`, {\n factory: extractI18n('more'),\n});\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(`i18n 'Other date' text`, {\n factory: extractI18n('otherDate'),\n});\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n `choose day or range i18n texts`,\n {\n factory: extractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(`from and to i18n texts`, {\n factory: extractI18n('range'),\n});\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(`plus and minus i18n texts`, {\n factory: extractI18n('countTexts'),\n});\n\nexport const TUI_TIME_TEXTS = new InjectionToken(`time i18n texts`, {\n factory: extractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n 'date format i18n texts',\n {\n factory: extractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n `short bytes, kilobytes and megabytes i18n texts`,\n {\n factory: extractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken('copy i18n texts', {\n factory: extractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken('password i18n texts', {\n factory: extractI18n('passwordTexts'),\n});\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken('short calendar months i18n', {\n factory: extractI18n('shortCalendarMonths'),\n});\n\nexport const TUI_FILE_TEXTS = new InjectionToken('file i18n texts', {\n factory: extractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken('pagination i18n texts', {\n factory: extractI18n('paginationTexts'),\n});\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken('tui-input-file i18n texts', {\n factory: extractI18n('inputFileTexts'),\n});\n\nexport const TUI_COUNTRIES: InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n> = new InjectionToken('Localized countries names', {\n factory: extractI18n('countries'),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAIa,wBAAwB,GAAG,IAAI,cAAc,CAExD,wCAAwC;;ICJ7B,gBAAgB,GAAG,IAAI,cAAc,CAC9C,oEAAoE,EACpE;IACI,OAAO,EAAE,cAAM,OAAA,KAAK,GAAA;CACvB;;ICJQ,mBAAmB,GAAG,IAAI,cAAc,CACjD,oCAAoC;;ICA3B,cAAc,GAAG,IAAI,cAAc,CAC5C,2CAA2C,EAC3C;IACI,OAAO,EAAE,cAAM,iCAAiB;CACnC;;ICJQ,qBAAqB,GAAG,IAAI,cAAc,CAErD,mBAAmB,EAAE;IACnB,OAAO,EAAE,cAAM,QAAC,EAAE,IAAC;CACtB;;ICFY,eAAe,GAAG,IAAI,cAAc,CAAC,oBAAoB,EAAE;IACpE,OAAO,EAAE,WAAW,CAAC,QAAQ,CAAC;CACjC,EAAE;IAEU,aAAa,GAAG,IAAI,cAAc,CAAC,kBAAkB,EAAE;IAChE,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC;CAC/B,EAAE;IAEU,aAAa,GAAG,IAAI,cAAc,CAAC,kBAAkB,EAAE;IAChE,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC;CAC/B,EAAE;IAEU,mBAAmB,GAAG,IAAI,cAAc,CAAC,wBAAwB,EAAE;IAC5E,OAAO,EAAE,WAAW,CAAC,WAAW,CAAC;CACpC,EAAE;IAEU,6BAA6B,GAAG,IAAI,cAAc,CAC3D,gCAAgC,EAChC;IACI,OAAO,EAAE,WAAW,CAAC,qBAAqB,CAAC;CAC9C,EACH;IAEW,iBAAiB,GAAG,IAAI,cAAc,CAAC,wBAAwB,EAAE;IAC1E,OAAO,EAAE,WAAW,CAAC,OAAO,CAAC;CAChC,EAAE;IAEU,oBAAoB,GAAG,IAAI,cAAc,CAAC,2BAA2B,EAAE;IAChF,OAAO,EAAE,WAAW,CAAC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tokens/mobile-aware.ts","ng://@taiga-ui/kit/tokens/mobile-calendar.ts","ng://@taiga-ui/kit/tokens/tag-status.ts","ng://@taiga-ui/kit/tokens/validation-errors.ts","ng://@taiga-ui/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken} from '@angular/core';\nimport {TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CALENDAR_DATA_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>('Stream that emits calendar data change');\n","import {InjectionToken} from '@angular/core';\nimport {TuiDateMode} from '@taiga-ui/cdk';\nimport {extractI18n, TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_CANCEL_WORD = new InjectionToken(`i18n 'cancel' word`, {\n factory: extractI18n('cancel'),\n});\n\nexport const TUI_DONE_WORD = new InjectionToken(`i18n 'done' word`, {\n factory: extractI18n('done'),\n});\n\nexport const TUI_MORE_WORD = new InjectionToken(`i18n 'more' word`, {\n factory: extractI18n('more'),\n});\n\nexport const TUI_OTHER_DATE_TEXT = new InjectionToken(`i18n 'Other date' text`, {\n factory: extractI18n('otherDate'),\n});\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = new InjectionToken(\n `choose day or range i18n texts`,\n {\n factory: extractI18n('mobileCalendarTexts'),\n },\n);\n\nexport const TUI_FROM_TO_TEXTS = new InjectionToken(`from and to i18n texts`, {\n factory: extractI18n('range'),\n});\n\nexport const TUI_PLUS_MINUS_TEXTS = new InjectionToken(`plus and minus i18n texts`, {\n factory: extractI18n('countTexts'),\n});\n\nexport const TUI_TIME_TEXTS = new InjectionToken(`time i18n texts`, {\n factory: extractI18n('time'),\n});\n\nexport const TUI_DATE_TEXTS = new InjectionToken<Observable<Record<TuiDateMode, string>>>(\n 'date format i18n texts',\n {\n factory: extractI18n('dateTexts'),\n },\n);\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = new InjectionToken(\n `short bytes, kilobytes and megabytes i18n texts`,\n {\n factory: extractI18n('digitalInformationUnits'),\n },\n);\n\nexport const TUI_COPY_TEXTS = new InjectionToken('copy i18n texts', {\n factory: extractI18n('copyTexts'),\n});\n\nexport const TUI_PASSWORD_TEXTS = new InjectionToken('password i18n texts', {\n factory: extractI18n('passwordTexts'),\n});\n\nexport const TUI_CALENDAR_MONTHS = new InjectionToken('short calendar months i18n', {\n factory: extractI18n('shortCalendarMonths'),\n});\n\nexport const TUI_FILE_TEXTS = new InjectionToken('file i18n texts', {\n factory: extractI18n('fileTexts'),\n});\n\nexport const TUI_PAGINATION_TEXTS = new InjectionToken('pagination i18n texts', {\n factory: extractI18n('paginationTexts'),\n});\n\nexport const TUI_INPUT_FILE_TEXTS = new InjectionToken('tui-input-file i18n texts', {\n factory: extractI18n('inputFileTexts'),\n});\n\nexport const TUI_COUNTRIES: InjectionToken<\n Observable<Record<TuiCountryIsoCode, string>>\n> = new InjectionToken('Localized countries names', {\n factory: extractI18n('countries'),\n});\n","import {InjectionToken} from '@angular/core';\n\nexport const TUI_MOBILE_AWARE = new InjectionToken<boolean>(\n 'A flag enabling mobile-specific behavior for supporting components',\n {\n factory: () => false,\n },\n);\n","import {InjectionToken, Type} from '@angular/core';\n\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<any>>(\n 'A component for mobile data picker',\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiStatus} from '@taiga-ui/kit/enums';\n\nexport const TUI_TAG_STATUS = new InjectionToken<TuiStatus>(\n 'Status for tags inside InputTag component',\n {\n factory: () => TuiStatus.Primary,\n },\n);\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport const TUI_VALIDATION_ERRORS = new InjectionToken<\n Record<string, PolymorpheusContent>\n>('Validation errors', {\n factory: () => ({}),\n});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;IAIa,wBAAwB,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I,cAAc,CAAC,qBAAqB,EAAE;IACxE,OAAO,EAAE,WAAW,CAAC,eAAe,CAAC;CACxC,EAAE;IAEU,mBAAmB,GAAG,IAAI,cAAc,CAAC,4BAA4B,EAAE;IAChF,OAAO,EAAE,WAAW,CAAC,qBAAqB,CAAC;CAC9C,EAAE;IAEU,cAAc,GAAG,IAAI,cAAc,CAAC,iBAAiB,EAAE;IAChE,OAAO,EAAE,WAAW,CAAC,WAAW,CAAC;CACpC,EAAE;IAEU,oBAAoB,GAAG,IAAI,cAAc,CAAC,uBAAuB,EAAE;IAC5E,OAAO,EAAE,WAAW,CAAC,iBAAiB,CAAC;CAC1C,EAAE;IAEU,oBAAoB,GAAG,IAAI,cAAc,CAAC,2BAA2B,EAAE;IAChF,OAAO,EAAE,WAAW,CAAC,gBAAgB,CAAC;CACzC,EAAE;IAEU,aAAa,GAEtB,IAAI,cAAc,CAAC,2BAA2B,EAAE;IAChD,OAAO,EAAE,WAAW,CAAC,WAAW,CAAC;CACpC;;IChFY,gBAAgB,GAAG,IAAI,cAAc,CAC9C,oEAAoE,EACpE;IACI,OAAO,EAAE,cAAM,OAAA,KAAK,GAAA;CACvB;;ICJQ,mBAAmB,GAAG,IAAI,cAAc,CACjD,oCAAoC;;ICA3B,cAAc,GAAG,IAAI,cAAc,CAC5C,2CAA2C,EAC3C;IACI,OAAO,EAAE,cAAM,iCAAiB;CACnC;;ICJQ,qBAAqB,GAAG,IAAI,cAAc,CAErD,mBAAmB,EAAE;IACnB,OAAO,EAAE,cAAM,QAAC,EAAE,IAAC;CACtB;;ACPD;;;;;;"}
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TuiPrimitiveCalendarRangeComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":32,"character":1},"arguments":[{"selector":"tui-primitive-calendar-range","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":36,"character":21},"member":"OnPush"},"providers":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":37,"character":16}],"template":"<tui-calendar\n [min]=\"min\"\n [max]=\"max\"\n [month]=\"userViewedMonthFirst\"\n [markerHandler]=\"markerHandler\"\n [maxViewedMonth]=\"cappedUserViewedMonthSecond | tuiMapper: monthOffset:-1\"\n [value]=\"value\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [showAdjacent]=\"false\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onSectionFirstViewedMonth($event)\"\n></tui-calendar>\n<tui-calendar\n class=\"border\"\n [min]=\"min\"\n [max]=\"max\"\n [month]=\"userViewedMonthSecond\"\n [markerHandler]=\"markerHandler\"\n [minViewedMonth]=\"cappedUserViewedMonthFirst | tuiMapper: monthOffset:1\"\n [value]=\"value\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [showAdjacent]=\"false\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onSectionSecondViewedMonth($event)\"\n></tui-calendar>\n","styles":[":host{display:flex}.border{border-left:1px solid var(--tui-base-03)}"]}]}],"members":{"disabledItemHandler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":41,"character":5}}]}],"markerHandler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":45,"character":5}}]}],"defaultViewedMonthFirst":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":49,"character":5}}]}],"defaultViewedMonthSecond":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":53,"character":5}}]}],"min":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":57,"character":5}}]}],"max":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":61,"character":5}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":65,"character":5}}]}],"dayClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":68,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":80,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/kit/tokens","name":"TUI_CALENDAR_DATA_STREAM","line":80,"character":16}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":81,"character":9}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":83,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":83,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":84,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":84,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDayRange","line":82,"character":33}]},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":83,"character":54},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":84,"character":45}]}],"ngOnInit":[{"__symbolic":"method"}],"onSectionFirstViewedMonth":[{"__symbolic":"method"}],"onSectionSecondViewedMonth":[{"__symbolic":"method"}],"onDayClick":[{"__symbolic":"method"}],"updateViewedMonths":[{"__symbolic":"method"}]}},"TuiPrimitiveCalendarRangeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":8,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiMapperPipeModule","line":9,"character":14},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiScrollbarModule","line":9,"character":35},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiCalendarModule","line":9,"character":55}],"declarations":[{"__symbolic":"reference","name":"TuiPrimitiveCalendarRangeComponent"}],"exports":[{"__symbolic":"reference","name":"TuiPrimitiveCalendarRangeComponent"}]}]}],"members":{}}},"origins":{"TuiPrimitiveCalendarRangeComponent":"./primitive-calendar-range.component","TuiPrimitiveCalendarRangeModule":"./primitive-calendar-range.module"},"importAs":"@taiga-ui/kit/internal/primitive-calendar-range"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TuiPrimitiveCalendarRangeComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":32,"character":1},"arguments":[{"selector":"tui-primitive-calendar-range","changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":36,"character":21},"member":"OnPush"},"providers":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":37,"character":16}],"template":"<tui-calendar\n [min]=\"min\"\n [max]=\"max\"\n [month]=\"userViewedMonthFirst\"\n [markerHandler]=\"markerHandler\"\n [maxViewedMonth]=\"cappedUserViewedMonthSecond | tuiMapper: monthOffset:-1\"\n [value]=\"value\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [showAdjacent]=\"false\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onSectionFirstViewedMonth($event)\"\n></tui-calendar>\n<tui-calendar\n class=\"border\"\n [min]=\"min\"\n [max]=\"max\"\n [month]=\"userViewedMonthSecond\"\n [markerHandler]=\"markerHandler\"\n [minViewedMonth]=\"cappedUserViewedMonthFirst | tuiMapper: monthOffset:1\"\n [value]=\"value\"\n [disabledItemHandler]=\"disabledItemHandler\"\n [showAdjacent]=\"false\"\n [(hoveredItem)]=\"hoveredItem\"\n (dayClick)=\"onDayClick($event)\"\n (monthChange)=\"onSectionSecondViewedMonth($event)\"\n></tui-calendar>\n","styles":[":host{display:flex}.border{border-left:1px solid var(--tui-base-03)}"]}]}],"members":{"disabledItemHandler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":40,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":41,"character":5}}]}],"markerHandler":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":44,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":45,"character":5}}]}],"defaultViewedMonthFirst":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":48,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":49,"character":5}}]}],"defaultViewedMonthSecond":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":52,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":53,"character":5}}]}],"min":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":56,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":57,"character":5}}]}],"max":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":61,"character":5}}]}],"value":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":64,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiDefaultProp","line":65,"character":5}}]}],"dayClick":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":68,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":80,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/kit/tokens","name":"TUI_CALENDAR_DATA_STREAM","line":80,"character":16}]},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":81,"character":9}}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":83,"character":9},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":83,"character":16}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":84,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":84,"character":16}]}]],"parameters":[{"__symbolic":"reference","name":"Observable","module":"rxjs","arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDayRange","line":82,"character":33}]},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":83,"character":54},{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiDestroyService","line":84,"character":45}]}],"ngOnInit":[{"__symbolic":"method"}],"onSectionFirstViewedMonth":[{"__symbolic":"method"}],"onSectionSecondViewedMonth":[{"__symbolic":"method"}],"onDayClick":[{"__symbolic":"method"}],"updateViewedMonths":[{"__symbolic":"method"}]}},"TuiPrimitiveCalendarRangeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiMapperPipeModule","line":10,"character":14},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiScrollbarModule","line":10,"character":35},{"__symbolic":"reference","module":"@taiga-ui/core","name":"TuiCalendarModule","line":10,"character":55}],"declarations":[{"__symbolic":"reference","name":"TuiPrimitiveCalendarRangeComponent"}],"exports":[{"__symbolic":"reference","name":"TuiPrimitiveCalendarRangeComponent"}]}]}],"members":{}}},"origins":{"TuiPrimitiveCalendarRangeComponent":"./primitive-calendar-range.component","TuiPrimitiveCalendarRangeModule":"./primitive-calendar-range.module"},"importAs":"@taiga-ui/kit/internal/primitive-calendar-range"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ui/kit",
3
- "version": "2.24.0",
3
+ "version": "2.25.0",
4
4
  "description": "Taiga UI Angular main components kit",
5
5
  "keywords": [
6
6
  "angular",
@@ -19,9 +19,9 @@
19
19
  "@angular/router": ">=9.0.0",
20
20
  "@ng-web-apis/common": ">=1.11.0",
21
21
  "@tinkoff/ng-polymorpheus": "3.1.12",
22
- "@taiga-ui/cdk": "2.24.0",
23
- "@taiga-ui/core": "2.24.0",
24
- "@taiga-ui/i18n": "2.24.0",
22
+ "@taiga-ui/cdk": "2.25.0",
23
+ "@taiga-ui/core": "2.25.0",
24
+ "@taiga-ui/i18n": "2.25.0",
25
25
  "rxjs": ">=6.0.0"
26
26
  },
27
27
  "dependencies": {
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"ArrayElement":{"__symbolic":"interface"},"TuiFilterByInputBase":{"__symbolic":"class","members":{"filter":[{"__symbolic":"method","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":24,"character":5}]}],"filterFlat":[{"__symbolic":"method"}],"filter2d":[{"__symbolic":"method"}],"getMatch":[{"__symbolic":"method"}]}},"TuiFilterByInputPipeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TuiFilterByInputPipe"},{"__symbolic":"reference","name":"TuiFilterByInputWithPipe"}],"exports":[{"__symbolic":"reference","name":"TuiFilterByInputPipe"},{"__symbolic":"reference","name":"TuiFilterByInputWithPipe"}]}]}],"members":{}},"TuiFilterByInputPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"TuiFilterByInputBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":10,"character":1},"arguments":[{"name":"tuiFilterByInput","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":16,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_FOCUSABLE_ITEM_ACCESSOR","line":16,"character":16}]}]],"parameters":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiFocusableElementAccessor","line":17,"character":37}]}],"transform":[{"__symbolic":"method"},{"__symbolic":"method"}]}},"TuiFilterByInputWithPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"TuiFilterByInputBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":9,"character":1},"arguments":[{"name":"tuiFilterByInputWith","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_FOCUSABLE_ITEM_ACCESSOR","line":18,"character":16}]}]],"parameters":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiFocusableElementAccessor","line":19,"character":37}]}],"transform":[{"__symbolic":"method"},{"__symbolic":"method"}]}}},"origins":{"ArrayElement":"./filter-by-input.base","TuiFilterByInputBase":"./filter-by-input.base","TuiFilterByInputPipeModule":"./filter-by-input.module","TuiFilterByInputPipe":"./filter-by-input.pipe","TuiFilterByInputWithPipe":"./filter-by-input-with.pipe"},"importAs":"@taiga-ui/kit/pipes/filter-by-input"}
1
+ {"__symbolic":"module","version":4,"metadata":{"ArrayElement":{"__symbolic":"interface"},"TuiFilterByInputBase":{"__symbolic":"class","members":{"filter":[{"__symbolic":"method","decorators":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"tuiPure","line":24,"character":5}]}],"filterFlat":[{"__symbolic":"method"}],"filter2d":[{"__symbolic":"method"}],"getMatch":[{"__symbolic":"method"}]}},"TuiFilterByInputPipeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":5,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TuiFilterByInputPipe"},{"__symbolic":"reference","name":"TuiFilterByInputWithPipe"}],"exports":[{"__symbolic":"reference","name":"TuiFilterByInputPipe"},{"__symbolic":"reference","name":"TuiFilterByInputWithPipe"}]}]}],"members":{}},"TuiFilterByInputPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"TuiFilterByInputBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":11,"character":1},"arguments":[{"name":"tuiFilterByInput","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":17,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_FOCUSABLE_ITEM_ACCESSOR","line":17,"character":16}]}]],"parameters":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiFocusableElementAccessor","line":18,"character":37}]}],"transform":[{"__symbolic":"method"},{"__symbolic":"method"}]}},"TuiFilterByInputWithPipe":{"__symbolic":"class","extends":{"__symbolic":"reference","name":"TuiFilterByInputBase"},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":10,"character":1},"arguments":[{"name":"tuiFilterByInputWith","pure":false}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":19,"character":9},"arguments":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TUI_FOCUSABLE_ITEM_ACCESSOR","line":19,"character":16}]}]],"parameters":[{"__symbolic":"reference","module":"@taiga-ui/cdk","name":"TuiFocusableElementAccessor","line":20,"character":37}]}],"transform":[{"__symbolic":"method"},{"__symbolic":"method"}]}}},"origins":{"ArrayElement":"./filter-by-input.base","TuiFilterByInputBase":"./filter-by-input.base","TuiFilterByInputPipeModule":"./filter-by-input.module","TuiFilterByInputPipe":"./filter-by-input.pipe","TuiFilterByInputWithPipe":"./filter-by-input-with.pipe"},"importAs":"@taiga-ui/kit/pipes/filter-by-input"}
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TuiStringifyPipeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TuiStringifyPipe"}],"exports":[{"__symbolic":"reference","name":"TuiStringifyPipe"}]}]}],"members":{}},"TuiStringifyPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":3,"character":1},"arguments":[{"name":"tuiStringify"}]}],"members":{"transform":[{"__symbolic":"method"}]}}},"origins":{"TuiStringifyPipeModule":"./stringify.module","TuiStringifyPipe":"./stringify.pipe"},"importAs":"@taiga-ui/kit/pipes/stringify"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TuiStringifyPipeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TuiStringifyPipe"}],"exports":[{"__symbolic":"reference","name":"TuiStringifyPipe"}]}]}],"members":{}},"TuiStringifyPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":3,"character":1},"arguments":[{"name":"tuiStringify"}]}],"members":{"transform":[{"__symbolic":"method"}]}}},"origins":{"TuiStringifyPipeModule":"./stringify.module","TuiStringifyPipe":"./stringify.pipe"},"importAs":"@taiga-ui/kit/pipes/stringify"}
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TuiStringifyContentPipeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":3,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TuiStringifyContentPipe"}],"exports":[{"__symbolic":"reference","name":"TuiStringifyContentPipe"}]}]}],"members":{}},"TuiStringifyContentPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":4,"character":1},"arguments":[{"name":"tuiStringifyContent"}]}],"members":{"transform":[{"__symbolic":"method"}]}}},"origins":{"TuiStringifyContentPipeModule":"./stringify-content.module","TuiStringifyContentPipe":"./stringify-content.pipe"},"importAs":"@taiga-ui/kit/pipes/stringify-content"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TuiStringifyContentPipeModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":4,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"TuiStringifyContentPipe"}],"exports":[{"__symbolic":"reference","name":"TuiStringifyContentPipe"}]}]}],"members":{}},"TuiStringifyContentPipe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Pipe","line":4,"character":1},"arguments":[{"name":"tuiStringifyContent"}]}],"members":{"transform":[{"__symbolic":"method"}]}}},"origins":{"TuiStringifyContentPipeModule":"./stringify-content.module","TuiStringifyContentPipe":"./stringify-content.pipe"},"importAs":"@taiga-ui/kit/pipes/stringify-content"}
package/tokens/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export * from './calendar-data-stream';
2
+ export * from './i18n';
2
3
  export * from './mobile-aware';
3
4
  export * from './mobile-calendar';
4
5
  export * from './tag-status';
5
6
  export * from './validation-errors';
6
- export * from './i18n';