@taiga-ui/kit 2.24.0 → 2.27.1

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 (1002) hide show
  1. package/abstract/input-slider.d.ts +5 -5
  2. package/abstract/slider/slider.d.ts +5 -5
  3. package/abstract/taiga-ui-kit-abstract.metadata.json +1 -1
  4. package/bundles/taiga-ui-kit-abstract.umd.js +9 -9
  5. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  6. package/bundles/taiga-ui-kit-abstract.umd.min.js +1 -1
  7. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-accordion.umd.js +23 -7
  9. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +2 -2
  11. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-action.umd.js +3 -3
  13. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-action.umd.min.js +1 -1
  15. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +4 -4
  25. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +2 -2
  27. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +7 -7
  29. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +1 -1
  31. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-carousel.umd.js +527 -0
  35. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -0
  36. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +16 -0
  37. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +1 -0
  38. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +3 -3
  39. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +1 -1
  41. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +3 -3
  43. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +1 -1
  45. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-checkbox.umd.js +3 -3
  47. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +1 -1
  49. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-combo-box.umd.js +18 -19
  51. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +1 -1
  53. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +7 -7
  55. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +1 -1
  57. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-filter.umd.js +8 -8
  61. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-filter.umd.min.js +1 -1
  63. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-input-copy.umd.js +4 -4
  65. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +1 -1
  67. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-input-count.umd.js +3 -3
  69. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +1 -1
  71. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +16 -13
  73. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  74. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +1 -1
  75. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +20 -17
  77. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +1 -1
  79. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-input-date.umd.js +17 -14
  81. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  82. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +1 -1
  83. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-input-file.umd.js +190 -190
  85. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +2 -2
  87. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-input-inline.umd.js +5 -4
  89. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +1 -1
  91. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +4 -3
  93. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +1 -1
  95. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-input-month.umd.js +4 -3
  97. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +1 -1
  99. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-input-number.umd.js +17 -31
  101. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +2 -2
  103. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-input-password.umd.js +3 -3
  105. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +1 -1
  107. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +22 -22
  109. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +1 -1
  111. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-input-phone.umd.js +6 -6
  113. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  114. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +1 -1
  115. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-input-slider.umd.js +3 -3
  117. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +1 -1
  119. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +1 -1
  120. package/bundles/taiga-ui-kit-components-input-tag.umd.js +31 -31
  121. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +1 -1
  123. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-input-time.umd.js +16 -16
  125. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +1 -1
  127. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-input.umd.js +7 -7
  129. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-input.umd.min.js +1 -1
  131. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +11 -11
  135. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +2 -2
  137. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +1 -1
  139. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  140. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +1 -1
  141. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +1 -1
  142. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +1 -1
  144. package/bundles/taiga-ui-kit-components-multi-select.umd.js +17 -17
  145. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  146. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +1 -1
  147. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +1 -1
  148. package/bundles/taiga-ui-kit-components-pagination.umd.js +4 -4
  149. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  150. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +1 -1
  151. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +1 -1
  152. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +330 -0
  153. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -0
  154. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +16 -0
  155. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +1 -0
  156. package/bundles/taiga-ui-kit-components-progress.umd.js +29 -29
  157. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  158. package/bundles/taiga-ui-kit-components-progress.umd.min.js +2 -2
  159. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +1 -1
  160. package/bundles/taiga-ui-kit-components-radio-block.umd.js +3 -3
  161. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  162. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +1 -1
  163. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +1 -1
  164. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +1 -1
  166. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +3 -3
  167. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  168. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +1 -1
  169. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +1 -1
  170. package/bundles/taiga-ui-kit-components-radio-list.umd.js +7 -7
  171. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  172. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +1 -1
  173. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +1 -1
  174. package/bundles/taiga-ui-kit-components-radio.umd.js +3 -3
  175. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  176. package/bundles/taiga-ui-kit-components-radio.umd.min.js +1 -1
  177. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +1 -1
  178. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  179. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +1 -1
  180. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  181. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +1 -1
  182. package/bundles/taiga-ui-kit-components-select.umd.js +9 -12
  183. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  184. package/bundles/taiga-ui-kit-components-select.umd.min.js +1 -1
  185. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +1 -1
  186. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  187. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +1 -1
  188. package/bundles/taiga-ui-kit-components-stepper.umd.js +18 -18
  189. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  190. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +1 -1
  191. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +1 -1
  192. package/bundles/taiga-ui-kit-components-tabs.umd.js +22 -22
  193. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  194. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +1 -1
  195. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +1 -1
  196. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  197. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +1 -1
  198. package/bundles/taiga-ui-kit-components-text-area.umd.js +4 -4
  199. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  200. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +2 -2
  201. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +1 -1
  202. package/bundles/taiga-ui-kit-components-toggle.umd.js +3 -3
  203. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  204. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +1 -1
  205. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +1 -1
  206. package/bundles/taiga-ui-kit-components-tree.umd.js +148 -137
  207. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  208. package/bundles/taiga-ui-kit-components-tree.umd.min.js +2 -2
  209. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +1 -1
  210. package/bundles/taiga-ui-kit-components.umd.js +42 -26
  211. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  212. package/bundles/taiga-ui-kit-components.umd.min.js +1 -1
  213. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +2 -4
  214. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  215. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +1 -1
  216. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +1 -1
  217. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  218. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +1 -1
  219. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +3 -2
  220. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  221. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +1 -1
  222. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +1 -1
  223. package/bundles/taiga-ui-kit-directives-highlight.umd.js +7 -2
  224. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  225. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +1 -1
  226. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +1 -1
  227. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +7 -1
  228. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  229. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +1 -1
  230. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +1 -1
  231. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  232. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +1 -1
  233. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  234. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +1 -1
  235. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  236. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +1 -1
  237. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  238. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +1 -1
  239. package/bundles/taiga-ui-kit-directives.umd.js +12 -12
  240. package/bundles/taiga-ui-kit-directives.umd.min.js +1 -1
  241. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +2 -2
  242. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  243. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +1 -1
  244. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +1 -1
  245. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +21 -21
  246. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  247. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +1 -1
  248. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +1 -1
  249. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  250. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +1 -1
  251. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  252. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +1 -1
  253. package/bundles/taiga-ui-kit-tokens.umd.js +14 -14
  254. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  255. package/bundles/taiga-ui-kit-tokens.umd.min.js +1 -1
  256. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +1 -1
  257. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +2 -0
  258. package/components/accordion/accordion-item/accordion-item.component.d.ts +4 -2
  259. package/components/accordion/index.d.ts +1 -0
  260. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +1 -1
  261. package/components/action/action.component.d.ts +1 -1
  262. package/components/action/taiga-ui-kit-components-action.metadata.json +1 -1
  263. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +1 -1
  264. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +1 -1
  265. package/components/badge/taiga-ui-kit-components-badge.metadata.json +1 -1
  266. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +1 -1
  267. package/components/breadcrumbs/index.d.ts +1 -1
  268. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +1 -1
  269. package/components/calendar-month/calendar-month.component.d.ts +1 -1
  270. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +1 -1
  271. package/components/calendar-range/calendar-range.component.d.ts +1 -1
  272. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +1 -1
  273. package/components/carousel/carousel-autoscroll.directive.d.ts +5 -0
  274. package/components/carousel/carousel-buttons.directive.d.ts +4 -0
  275. package/components/carousel/carousel-scroll.directive.d.ts +6 -0
  276. package/components/carousel/carousel.component.d.ts +29 -0
  277. package/components/carousel/carousel.directive.d.ts +11 -0
  278. package/components/carousel/carousel.module.d.ts +2 -0
  279. package/components/carousel/index.d.ts +6 -0
  280. package/components/carousel/package.json +13 -0
  281. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +4 -0
  282. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +1 -0
  283. package/components/checkbox/checkbox.component.d.ts +1 -1
  284. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +1 -1
  285. package/components/checkbox-block/checkbox-block.component.d.ts +1 -1
  286. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +1 -1
  287. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +1 -1
  288. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +1 -1
  289. package/components/combo-box/combo-box.component.d.ts +5 -5
  290. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +1 -1
  291. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +2 -2
  292. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +1 -1
  293. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +1 -1
  294. package/components/filter/filter.component.d.ts +2 -2
  295. package/components/filter/taiga-ui-kit-components-filter.metadata.json +1 -1
  296. package/components/index.d.ts +5 -3
  297. package/components/input/input.component.d.ts +3 -3
  298. package/components/input/taiga-ui-kit-components-input.metadata.json +1 -1
  299. package/components/input-copy/input-copy.component.d.ts +2 -2
  300. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +1 -1
  301. package/components/input-count/input-count.component.d.ts +2 -2
  302. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +1 -1
  303. package/components/input-date/input-date.component.d.ts +4 -4
  304. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +1 -1
  305. package/components/input-date-range/input-date-range.component.d.ts +3 -3
  306. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +1 -1
  307. package/components/input-date-time/input-date-time.component.d.ts +4 -4
  308. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +1 -1
  309. package/components/input-file/index.d.ts +1 -1
  310. package/components/input-file/input-file.component.d.ts +1 -1
  311. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +1 -1
  312. package/components/input-inline/input-inline.component.d.ts +1 -1
  313. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +1 -1
  314. package/components/input-month/input-month.component.d.ts +1 -1
  315. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +1 -1
  316. package/components/input-month-range/input-month-range.component.d.ts +1 -1
  317. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +1 -1
  318. package/components/input-number/input-number.component.d.ts +3 -4
  319. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +1 -1
  320. package/components/input-password/index.d.ts +1 -1
  321. package/components/input-password/input-password.component.d.ts +2 -2
  322. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +1 -1
  323. package/components/input-phone/input-phone.component.d.ts +3 -3
  324. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +1 -1
  325. package/components/input-phone-international/input-phone-international.component.d.ts +6 -6
  326. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +1 -1
  327. package/components/input-slider/input-slider.component.d.ts +1 -1
  328. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +1 -1
  329. package/components/input-tag/input-tag.component.d.ts +11 -11
  330. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +1 -1
  331. package/components/input-time/input-time.component.d.ts +4 -4
  332. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +1 -1
  333. package/components/island/taiga-ui-kit-components-island.metadata.json +1 -1
  334. package/components/line-clamp/index.d.ts +1 -1
  335. package/components/line-clamp/line-clamp.component.d.ts +4 -4
  336. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +1 -1
  337. package/components/marker-icon/marker-icon.component.d.ts +1 -1
  338. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +1 -1
  339. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +1 -1
  340. package/components/multi-select/multi-select.component.d.ts +7 -7
  341. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +1 -1
  342. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +1 -1
  343. package/components/pagination/pagination.component.d.ts +1 -1
  344. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +1 -1
  345. package/components/pdf-viewer/index.d.ts +5 -0
  346. package/components/pdf-viewer/package.json +13 -0
  347. package/components/pdf-viewer/pdf-viewer-options.d.ts +6 -0
  348. package/components/pdf-viewer/pdf-viewer.component.d.ts +17 -0
  349. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -0
  350. package/components/pdf-viewer/pdf-viewer.module.d.ts +2 -0
  351. package/components/pdf-viewer/pdf-viewer.service.d.ts +13 -0
  352. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +4 -0
  353. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +1 -0
  354. package/components/progress/index.d.ts +4 -4
  355. package/components/progress/progress-circle/progress-circle.component.d.ts +1 -1
  356. package/components/progress/taiga-ui-kit-components-progress.metadata.json +1 -1
  357. package/components/radio/radio.component.d.ts +1 -1
  358. package/components/radio/taiga-ui-kit-components-radio.metadata.json +1 -1
  359. package/components/radio-block/radio-block.component.d.ts +1 -1
  360. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +1 -1
  361. package/components/radio-group/radio-group.component.d.ts +1 -1
  362. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +1 -1
  363. package/components/radio-labeled/radio-labeled.component.d.ts +1 -1
  364. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +1 -1
  365. package/components/radio-list/radio-list.component.d.ts +3 -3
  366. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +1 -1
  367. package/components/range/taiga-ui-kit-components-range.metadata.json +1 -1
  368. package/components/select/select.component.d.ts +3 -3
  369. package/components/select/taiga-ui-kit-components-select.metadata.json +1 -1
  370. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +1 -1
  371. package/components/slider/taiga-ui-kit-components-slider.metadata.json +1 -1
  372. package/components/stepper/stepper.component.d.ts +3 -3
  373. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +1 -1
  374. package/components/tabs/index.d.ts +2 -2
  375. package/components/tabs/tabs/tabs.component.d.ts +2 -2
  376. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +2 -2
  377. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +1 -1
  378. package/components/tabs/underline/underline.component.d.ts +2 -2
  379. package/components/tag/taiga-ui-kit-components-tag.metadata.json +1 -1
  380. package/components/taiga-ui-kit-components.metadata.json +1 -1
  381. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +1 -1
  382. package/components/text-area/text-area.component.d.ts +1 -1
  383. package/components/toggle/index.d.ts +1 -1
  384. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +1 -1
  385. package/components/toggle/toggle.component.d.ts +1 -1
  386. package/components/tree/components/tree/tree.component.d.ts +7 -2
  387. package/components/tree/components/tree-item/tree-item.component.d.ts +1 -1
  388. package/components/tree/directives/tree-item-controller.directive.d.ts +1 -1
  389. package/components/tree/index.d.ts +4 -4
  390. package/components/tree/taiga-ui-kit-components-tree.metadata.json +1 -1
  391. package/directives/dropdown-context/dropdown-context.directive.d.ts +1 -1
  392. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +1 -1
  393. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +1 -1
  394. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +3 -3
  395. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +1 -1
  396. package/directives/highlight/highlight.directive.d.ts +2 -1
  397. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +1 -1
  398. package/directives/index.d.ts +1 -1
  399. package/directives/lazy-loading/lazy-loading.directive.d.ts +1 -1
  400. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +1 -1
  401. package/directives/present/present.directive.d.ts +1 -1
  402. package/directives/present/taiga-ui-kit-directives-present.metadata.json +1 -1
  403. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +1 -1
  404. package/directives/taiga-ui-kit-directives.metadata.json +1 -1
  405. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +1 -1
  406. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +1 -1
  407. package/esm2015/abstract/input-slider.js +2 -2
  408. package/esm2015/abstract/slider/slider.js +9 -9
  409. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +2 -3
  410. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +11 -0
  411. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +10 -6
  412. package/esm2015/components/accordion/accordion.component.js +1 -1
  413. package/esm2015/components/accordion/accordion.module.js +6 -3
  414. package/esm2015/components/accordion/index.js +2 -1
  415. package/esm2015/components/action/action.component.js +4 -4
  416. package/esm2015/components/arrow/arrow.module.js +1 -1
  417. package/esm2015/components/avatar/avatar.module.js +1 -1
  418. package/esm2015/components/badge/badge.module.js +1 -1
  419. package/esm2015/components/badged-content/badged-content.module.js +1 -1
  420. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +1 -1
  421. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +2 -2
  422. package/esm2015/components/breadcrumbs/index.js +2 -2
  423. package/esm2015/components/calendar-month/calendar-month.component.js +6 -6
  424. package/esm2015/components/calendar-month/calendar-month.module.js +1 -1
  425. package/esm2015/components/calendar-range/calendar-range.component.js +1 -1
  426. package/esm2015/components/carousel/carousel-autoscroll.directive.js +21 -0
  427. package/esm2015/components/carousel/carousel-buttons.directive.js +24 -0
  428. package/esm2015/components/carousel/carousel-scroll.directive.js +26 -0
  429. package/esm2015/components/carousel/carousel.component.js +144 -0
  430. package/esm2015/components/carousel/carousel.directive.js +35 -0
  431. package/esm2015/components/carousel/carousel.module.js +38 -0
  432. package/esm2015/components/carousel/index.js +7 -0
  433. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
  434. package/esm2015/components/checkbox/checkbox.component.js +4 -4
  435. package/esm2015/components/checkbox/checkbox.module.js +1 -1
  436. package/esm2015/components/checkbox-block/checkbox-block.component.js +4 -4
  437. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +4 -4
  438. package/esm2015/components/combo-box/combo-box.component.js +19 -20
  439. package/esm2015/components/combo-box/combo-box.module.js +1 -1
  440. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +1 -1
  441. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +8 -8
  442. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  443. package/esm2015/components/field-error/field-error.module.js +1 -1
  444. package/esm2015/components/filter/filter.component.js +9 -9
  445. package/esm2015/components/filter/filter.module.js +1 -1
  446. package/esm2015/components/index.js +6 -4
  447. package/esm2015/components/input/input.component.js +8 -8
  448. package/esm2015/components/input/input.module.js +1 -1
  449. package/esm2015/components/input/input.providers.js +1 -1
  450. package/esm2015/components/input-copy/input-copy.component.js +5 -5
  451. package/esm2015/components/input-copy/input-copy.module.js +1 -1
  452. package/esm2015/components/input-count/input-count.component.js +4 -4
  453. package/esm2015/components/input-count/input-count.module.js +1 -1
  454. package/esm2015/components/input-date/input-date.component.js +18 -15
  455. package/esm2015/components/input-date/input-date.module.js +1 -1
  456. package/esm2015/components/input-date-range/input-date-range.component.js +17 -14
  457. package/esm2015/components/input-date-range/input-date-range.module.js +1 -1
  458. package/esm2015/components/input-date-time/input-date-time.component.js +20 -17
  459. package/esm2015/components/input-date-time/input-date-time.module.js +1 -1
  460. package/esm2015/components/input-file/index.js +2 -2
  461. package/esm2015/components/input-file/input-file.component.js +2 -2
  462. package/esm2015/components/input-file/input-file.module.js +1 -1
  463. package/esm2015/components/input-inline/input-inline.component.js +6 -5
  464. package/esm2015/components/input-inline/input-inline.module.js +1 -1
  465. package/esm2015/components/input-month/input-month.component.js +5 -4
  466. package/esm2015/components/input-month-range/input-month-range.component.js +5 -4
  467. package/esm2015/components/input-number/input-number.component.js +17 -27
  468. package/esm2015/components/input-number/input-number.module.js +1 -1
  469. package/esm2015/components/input-password/index.js +2 -2
  470. package/esm2015/components/input-password/input-password.component.js +4 -4
  471. package/esm2015/components/input-password/input-password.module.js +1 -1
  472. package/esm2015/components/input-phone/input-phone.component.js +7 -7
  473. package/esm2015/components/input-phone/input-phone.module.js +1 -1
  474. package/esm2015/components/input-phone-international/const/countries.js +1 -1
  475. package/esm2015/components/input-phone-international/input-phone-international.component.js +20 -20
  476. package/esm2015/components/input-phone-international/input-phone-international.module.js +1 -1
  477. package/esm2015/components/input-slider/input-slider.component.js +4 -4
  478. package/esm2015/components/input-tag/input-tag.component.js +32 -32
  479. package/esm2015/components/input-tag/input-tag.module.js +1 -1
  480. package/esm2015/components/input-time/input-time.component.js +17 -17
  481. package/esm2015/components/input-time/input-time.module.js +1 -1
  482. package/esm2015/components/island/island.module.js +1 -1
  483. package/esm2015/components/line-clamp/index.js +2 -2
  484. package/esm2015/components/line-clamp/line-clamp.component.js +8 -8
  485. package/esm2015/components/line-clamp/line-clamp.module.js +1 -1
  486. package/esm2015/components/marker-icon/marker-icon.component.js +2 -2
  487. package/esm2015/components/marker-icon/marker-icon.module.js +1 -1
  488. package/esm2015/components/multi-select/hide-selected.pipe.js +1 -1
  489. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  490. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  491. package/esm2015/components/multi-select/multi-select.component.js +14 -14
  492. package/esm2015/components/multi-select/multi-select.module.js +2 -2
  493. package/esm2015/components/multi-select-option/multi-select-option.module.js +1 -1
  494. package/esm2015/components/pagination/pagination.component.js +5 -5
  495. package/esm2015/components/pagination/pagination.module.js +1 -1
  496. package/esm2015/components/pdf-viewer/index.js +5 -0
  497. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +1 -0
  498. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +36 -0
  499. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +21 -0
  500. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +28 -0
  501. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +27 -0
  502. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  503. package/esm2015/components/progress/index.js +5 -5
  504. package/esm2015/components/progress/pipes/progress-color-segments-async.pipe.js +1 -1
  505. package/esm2015/components/progress/pipes/progress-color-segments.pipe.js +1 -1
  506. package/esm2015/components/progress/progress-circle/progress-circle.component.js +4 -4
  507. package/esm2015/components/progress/progress.module.js +2 -2
  508. package/esm2015/components/radio/radio.component.js +4 -4
  509. package/esm2015/components/radio/radio.module.js +1 -1
  510. package/esm2015/components/radio-block/radio-block.component.js +4 -4
  511. package/esm2015/components/radio-group/radio-group.component.js +1 -1
  512. package/esm2015/components/radio-group/radio-group.module.js +1 -1
  513. package/esm2015/components/radio-labeled/radio-labeled.component.js +4 -4
  514. package/esm2015/components/radio-list/radio-list.component.js +8 -8
  515. package/esm2015/components/range/range.module.js +1 -1
  516. package/esm2015/components/select/select.component.js +10 -13
  517. package/esm2015/components/select/select.module.js +1 -1
  518. package/esm2015/components/select-option/select-option.module.js +1 -1
  519. package/esm2015/components/slider/slider.module.js +1 -1
  520. package/esm2015/components/stepper/step/step.component.js +1 -1
  521. package/esm2015/components/stepper/stepper.component.js +18 -18
  522. package/esm2015/components/stepper/stepper.module.js +1 -1
  523. package/esm2015/components/tabs/index.js +3 -3
  524. package/esm2015/components/tabs/tab/tab.component.js +1 -1
  525. package/esm2015/components/tabs/tabs/tabs.component.js +16 -16
  526. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +5 -5
  527. package/esm2015/components/tabs/tabs.module.js +2 -2
  528. package/esm2015/components/tabs/underline/underline.component.js +3 -3
  529. package/esm2015/components/tag/tag.module.js +1 -1
  530. package/esm2015/components/text-area/text-area.component.js +5 -5
  531. package/esm2015/components/text-area/text-area.module.js +1 -1
  532. package/esm2015/components/text-area/text-area.providers.js +1 -1
  533. package/esm2015/components/toggle/index.js +2 -2
  534. package/esm2015/components/toggle/toggle.component.js +4 -4
  535. package/esm2015/components/toggle/toggle.module.js +1 -1
  536. package/esm2015/components/tree/components/tree/tree.component.js +15 -2
  537. package/esm2015/components/tree/components/tree-item/tree-item.component.js +10 -10
  538. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +1 -1
  539. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +5 -6
  540. package/esm2015/components/tree/directives/tree-controller.directive.js +1 -1
  541. package/esm2015/components/tree/directives/tree-item-controller.directive.js +2 -2
  542. package/esm2015/components/tree/directives/tree-node.directive.js +1 -1
  543. package/esm2015/components/tree/index.js +4 -4
  544. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  545. package/esm2015/components/tree/misc/tree.interfaces.js +1 -1
  546. package/esm2015/components/tree/misc/tree.service.js +1 -1
  547. package/esm2015/components/tree/misc/tree.tokens.js +1 -1
  548. package/esm2015/components/tree/tree.module.js +3 -3
  549. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +3 -5
  550. package/esm2015/directives/dropdown-context/dropdown-context.module.js +1 -1
  551. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  552. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +4 -3
  553. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  554. package/esm2015/directives/highlight/highlight.directive.js +8 -3
  555. package/esm2015/directives/highlight/highlight.module.js +1 -1
  556. package/esm2015/directives/index.js +2 -2
  557. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +4 -2
  558. package/esm2015/directives/lazy-loading/lazy-loading.module.js +1 -1
  559. package/esm2015/directives/present/present.directive.js +1 -1
  560. package/esm2015/directives/present/present.module.js +1 -1
  561. package/esm2015/directives/project-class/project-class.module.js +1 -1
  562. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  563. package/esm2015/directives/value-accessor/value-accessor.module.js +1 -1
  564. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +2 -2
  565. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  566. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  567. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +2 -2
  568. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  569. package/esm2015/pipes/stringify/stringify.module.js +1 -1
  570. package/esm2015/pipes/stringify-content/stringify-content.module.js +1 -1
  571. package/esm2015/tokens/index.js +2 -2
  572. package/esm2015/utils/mask/index.js +2 -2
  573. package/esm5/abstract/input-slider.js +2 -2
  574. package/esm5/abstract/slider/slider.js +9 -9
  575. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +2 -3
  576. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +14 -0
  577. package/esm5/components/accordion/accordion-item/accordion-item.component.js +10 -6
  578. package/esm5/components/accordion/accordion.component.js +1 -1
  579. package/esm5/components/accordion/accordion.module.js +6 -3
  580. package/esm5/components/accordion/index.js +2 -1
  581. package/esm5/components/action/action.component.js +4 -4
  582. package/esm5/components/arrow/arrow.module.js +1 -1
  583. package/esm5/components/avatar/avatar.module.js +1 -1
  584. package/esm5/components/badge/badge.module.js +1 -1
  585. package/esm5/components/badged-content/badged-content.module.js +1 -1
  586. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +1 -1
  587. package/esm5/components/breadcrumbs/breadcrumbs.module.js +2 -2
  588. package/esm5/components/breadcrumbs/index.js +2 -2
  589. package/esm5/components/calendar-month/calendar-month.component.js +8 -8
  590. package/esm5/components/calendar-month/calendar-month.module.js +1 -1
  591. package/esm5/components/calendar-range/calendar-range.component.js +1 -1
  592. package/esm5/components/carousel/carousel-autoscroll.directive.js +22 -0
  593. package/esm5/components/carousel/carousel-buttons.directive.js +27 -0
  594. package/esm5/components/carousel/carousel-scroll.directive.js +34 -0
  595. package/esm5/components/carousel/carousel.component.js +158 -0
  596. package/esm5/components/carousel/carousel.directive.js +45 -0
  597. package/esm5/components/carousel/carousel.module.js +41 -0
  598. package/esm5/components/carousel/index.js +7 -0
  599. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +5 -0
  600. package/esm5/components/checkbox/checkbox.component.js +4 -4
  601. package/esm5/components/checkbox/checkbox.module.js +1 -1
  602. package/esm5/components/checkbox-block/checkbox-block.component.js +4 -4
  603. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +4 -4
  604. package/esm5/components/combo-box/combo-box.component.js +19 -20
  605. package/esm5/components/combo-box/combo-box.module.js +1 -1
  606. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +1 -1
  607. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +8 -8
  608. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +1 -1
  609. package/esm5/components/field-error/field-error.module.js +1 -1
  610. package/esm5/components/filter/filter.component.js +9 -9
  611. package/esm5/components/filter/filter.module.js +1 -1
  612. package/esm5/components/index.js +6 -4
  613. package/esm5/components/input/input.component.js +8 -8
  614. package/esm5/components/input/input.module.js +1 -1
  615. package/esm5/components/input/input.providers.js +1 -1
  616. package/esm5/components/input-copy/input-copy.component.js +5 -5
  617. package/esm5/components/input-copy/input-copy.module.js +1 -1
  618. package/esm5/components/input-count/input-count.component.js +4 -4
  619. package/esm5/components/input-count/input-count.module.js +1 -1
  620. package/esm5/components/input-date/input-date.component.js +18 -15
  621. package/esm5/components/input-date/input-date.module.js +1 -1
  622. package/esm5/components/input-date-range/input-date-range.component.js +17 -14
  623. package/esm5/components/input-date-range/input-date-range.module.js +1 -1
  624. package/esm5/components/input-date-time/input-date-time.component.js +21 -18
  625. package/esm5/components/input-date-time/input-date-time.module.js +1 -1
  626. package/esm5/components/input-file/index.js +2 -2
  627. package/esm5/components/input-file/input-file.component.js +2 -2
  628. package/esm5/components/input-file/input-file.module.js +1 -1
  629. package/esm5/components/input-inline/input-inline.component.js +6 -5
  630. package/esm5/components/input-inline/input-inline.module.js +1 -1
  631. package/esm5/components/input-month/input-month.component.js +5 -4
  632. package/esm5/components/input-month-range/input-month-range.component.js +5 -4
  633. package/esm5/components/input-number/input-number.component.js +18 -32
  634. package/esm5/components/input-number/input-number.module.js +1 -1
  635. package/esm5/components/input-password/index.js +2 -2
  636. package/esm5/components/input-password/input-password.component.js +4 -4
  637. package/esm5/components/input-password/input-password.module.js +1 -1
  638. package/esm5/components/input-phone/input-phone.component.js +7 -7
  639. package/esm5/components/input-phone/input-phone.module.js +1 -1
  640. package/esm5/components/input-phone-international/const/countries.js +1 -1
  641. package/esm5/components/input-phone-international/input-phone-international.component.js +23 -23
  642. package/esm5/components/input-phone-international/input-phone-international.module.js +1 -1
  643. package/esm5/components/input-slider/input-slider.component.js +4 -4
  644. package/esm5/components/input-tag/input-tag.component.js +32 -32
  645. package/esm5/components/input-tag/input-tag.module.js +1 -1
  646. package/esm5/components/input-time/input-time.component.js +17 -17
  647. package/esm5/components/input-time/input-time.module.js +1 -1
  648. package/esm5/components/island/island.module.js +1 -1
  649. package/esm5/components/line-clamp/index.js +2 -2
  650. package/esm5/components/line-clamp/line-clamp.component.js +8 -8
  651. package/esm5/components/line-clamp/line-clamp.module.js +1 -1
  652. package/esm5/components/marker-icon/marker-icon.component.js +2 -2
  653. package/esm5/components/marker-icon/marker-icon.module.js +1 -1
  654. package/esm5/components/multi-select/hide-selected.pipe.js +1 -1
  655. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +5 -5
  656. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +1 -1
  657. package/esm5/components/multi-select/multi-select.component.js +14 -14
  658. package/esm5/components/multi-select/multi-select.module.js +2 -2
  659. package/esm5/components/multi-select-option/multi-select-option.module.js +1 -1
  660. package/esm5/components/pagination/pagination.component.js +5 -5
  661. package/esm5/components/pagination/pagination.module.js +1 -1
  662. package/esm5/components/pdf-viewer/index.js +5 -0
  663. package/esm5/components/pdf-viewer/pdf-viewer-options.js +1 -0
  664. package/esm5/components/pdf-viewer/pdf-viewer.component.js +37 -0
  665. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +26 -0
  666. package/esm5/components/pdf-viewer/pdf-viewer.module.js +31 -0
  667. package/esm5/components/pdf-viewer/pdf-viewer.service.js +31 -0
  668. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +5 -0
  669. package/esm5/components/progress/index.js +5 -5
  670. package/esm5/components/progress/pipes/progress-color-segments-async.pipe.js +1 -1
  671. package/esm5/components/progress/pipes/progress-color-segments.pipe.js +1 -1
  672. package/esm5/components/progress/progress-circle/progress-circle.component.js +4 -4
  673. package/esm5/components/progress/progress.module.js +2 -2
  674. package/esm5/components/radio/radio.component.js +4 -4
  675. package/esm5/components/radio/radio.module.js +1 -1
  676. package/esm5/components/radio-block/radio-block.component.js +4 -4
  677. package/esm5/components/radio-group/radio-group.component.js +1 -1
  678. package/esm5/components/radio-group/radio-group.module.js +1 -1
  679. package/esm5/components/radio-labeled/radio-labeled.component.js +4 -4
  680. package/esm5/components/radio-list/radio-list.component.js +8 -8
  681. package/esm5/components/range/range.module.js +1 -1
  682. package/esm5/components/select/select.component.js +10 -13
  683. package/esm5/components/select/select.module.js +1 -1
  684. package/esm5/components/select-option/select-option.module.js +1 -1
  685. package/esm5/components/slider/slider.module.js +1 -1
  686. package/esm5/components/stepper/step/step.component.js +1 -1
  687. package/esm5/components/stepper/stepper.component.js +19 -19
  688. package/esm5/components/stepper/stepper.module.js +1 -1
  689. package/esm5/components/tabs/index.js +3 -3
  690. package/esm5/components/tabs/tab/tab.component.js +1 -1
  691. package/esm5/components/tabs/tabs/tabs.component.js +17 -17
  692. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +5 -5
  693. package/esm5/components/tabs/tabs.module.js +2 -2
  694. package/esm5/components/tabs/underline/underline.component.js +3 -3
  695. package/esm5/components/tag/tag.module.js +1 -1
  696. package/esm5/components/text-area/text-area.component.js +5 -5
  697. package/esm5/components/text-area/text-area.module.js +1 -1
  698. package/esm5/components/text-area/text-area.providers.js +1 -1
  699. package/esm5/components/toggle/index.js +2 -2
  700. package/esm5/components/toggle/toggle.component.js +4 -4
  701. package/esm5/components/toggle/toggle.module.js +1 -1
  702. package/esm5/components/tree/components/tree/tree.component.js +15 -2
  703. package/esm5/components/tree/components/tree-item/tree-item.component.js +10 -10
  704. package/esm5/components/tree/components/tree-item/tree-item.providers.js +1 -1
  705. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +5 -6
  706. package/esm5/components/tree/directives/tree-controller.directive.js +1 -1
  707. package/esm5/components/tree/directives/tree-item-controller.directive.js +2 -2
  708. package/esm5/components/tree/directives/tree-node.directive.js +1 -1
  709. package/esm5/components/tree/index.js +4 -4
  710. package/esm5/components/tree/misc/tree.constants.js +1 -1
  711. package/esm5/components/tree/misc/tree.interfaces.js +1 -1
  712. package/esm5/components/tree/misc/tree.service.js +1 -1
  713. package/esm5/components/tree/misc/tree.tokens.js +1 -1
  714. package/esm5/components/tree/tree.module.js +3 -3
  715. package/esm5/directives/dropdown-context/dropdown-context.directive.js +3 -5
  716. package/esm5/directives/dropdown-context/dropdown-context.module.js +1 -1
  717. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +1 -1
  718. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +4 -3
  719. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +1 -1
  720. package/esm5/directives/highlight/highlight.directive.js +8 -3
  721. package/esm5/directives/highlight/highlight.module.js +1 -1
  722. package/esm5/directives/index.js +2 -2
  723. package/esm5/directives/lazy-loading/lazy-loading.directive.js +8 -2
  724. package/esm5/directives/lazy-loading/lazy-loading.module.js +1 -1
  725. package/esm5/directives/present/present.directive.js +1 -1
  726. package/esm5/directives/present/present.module.js +1 -1
  727. package/esm5/directives/project-class/project-class.module.js +1 -1
  728. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +1 -1
  729. package/esm5/directives/value-accessor/value-accessor.module.js +1 -1
  730. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +3 -3
  731. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -1
  732. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -1
  733. package/esm5/pipes/filter-by-input/filter-by-input.module.js +2 -2
  734. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +1 -1
  735. package/esm5/pipes/stringify/stringify.module.js +1 -1
  736. package/esm5/pipes/stringify-content/stringify-content.module.js +1 -1
  737. package/esm5/tokens/index.js +2 -2
  738. package/esm5/utils/mask/index.js +2 -2
  739. package/fesm2015/taiga-ui-kit-abstract.js +9 -9
  740. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  741. package/fesm2015/taiga-ui-kit-components-accordion.js +21 -9
  742. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  743. package/fesm2015/taiga-ui-kit-components-action.js +4 -4
  744. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  745. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  746. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  748. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +2 -2
  750. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-components-calendar-month.js +5 -5
  752. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  754. package/fesm2015/taiga-ui-kit-components-carousel.js +267 -0
  755. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -0
  756. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +4 -4
  757. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  758. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  759. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  760. package/fesm2015/taiga-ui-kit-components-checkbox.js +4 -4
  761. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  762. package/fesm2015/taiga-ui-kit-components-combo-box.js +20 -21
  763. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  764. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +9 -9
  765. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  766. package/fesm2015/taiga-ui-kit-components-field-error.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-components-filter.js +9 -9
  768. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-components-input-copy.js +5 -5
  770. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-components-input-count.js +4 -4
  772. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-components-input-date-range.js +18 -15
  774. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-components-input-date-time.js +20 -17
  776. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-components-input-date.js +18 -15
  778. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  779. package/fesm2015/taiga-ui-kit-components-input-file.js +147 -147
  780. package/fesm2015/taiga-ui-kit-components-input-file.js.map +1 -1
  781. package/fesm2015/taiga-ui-kit-components-input-inline.js +6 -5
  782. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit-components-input-month-range.js +5 -4
  784. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  785. package/fesm2015/taiga-ui-kit-components-input-month.js +5 -4
  786. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  787. package/fesm2015/taiga-ui-kit-components-input-number.js +17 -27
  788. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  789. package/fesm2015/taiga-ui-kit-components-input-password.js +4 -4
  790. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  791. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +20 -20
  792. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  793. package/fesm2015/taiga-ui-kit-components-input-phone.js +8 -8
  794. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  795. package/fesm2015/taiga-ui-kit-components-input-slider.js +4 -4
  796. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  797. package/fesm2015/taiga-ui-kit-components-input-tag.js +34 -34
  798. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  799. package/fesm2015/taiga-ui-kit-components-input-time.js +17 -17
  800. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  801. package/fesm2015/taiga-ui-kit-components-input.js +9 -9
  802. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  803. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  804. package/fesm2015/taiga-ui-kit-components-line-clamp.js +9 -9
  805. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  806. package/fesm2015/taiga-ui-kit-components-marker-icon.js +1 -1
  807. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  808. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  809. package/fesm2015/taiga-ui-kit-components-multi-select.js +19 -19
  810. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  811. package/fesm2015/taiga-ui-kit-components-pagination.js +6 -6
  812. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  813. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +98 -0
  814. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  815. package/fesm2015/taiga-ui-kit-components-progress.js +14 -14
  816. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  817. package/fesm2015/taiga-ui-kit-components-radio-block.js +4 -4
  818. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  819. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  820. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +4 -4
  821. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  822. package/fesm2015/taiga-ui-kit-components-radio-list.js +9 -9
  823. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  824. package/fesm2015/taiga-ui-kit-components-radio.js +4 -4
  825. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  826. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  827. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  828. package/fesm2015/taiga-ui-kit-components-select.js +11 -14
  829. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  830. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  831. package/fesm2015/taiga-ui-kit-components-stepper.js +18 -18
  832. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  833. package/fesm2015/taiga-ui-kit-components-tabs.js +22 -22
  834. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  835. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  836. package/fesm2015/taiga-ui-kit-components-text-area.js +5 -5
  837. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  838. package/fesm2015/taiga-ui-kit-components-toggle.js +4 -4
  839. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  840. package/fesm2015/taiga-ui-kit-components-tree.js +133 -122
  841. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  842. package/fesm2015/taiga-ui-kit-components.js +5 -3
  843. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  844. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +2 -4
  845. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  846. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  847. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +3 -2
  848. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  849. package/fesm2015/taiga-ui-kit-directives-highlight.js +7 -2
  850. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  851. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +3 -1
  852. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  853. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  854. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  855. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  856. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  857. package/fesm2015/taiga-ui-kit-directives.js +1 -1
  858. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  859. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  860. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +15 -15
  861. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  862. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  863. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  864. package/fesm2015/taiga-ui-kit-tokens.js +14 -14
  865. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  866. package/fesm5/taiga-ui-kit-abstract.js +9 -9
  867. package/fesm5/taiga-ui-kit-abstract.js.map +1 -1
  868. package/fesm5/taiga-ui-kit-components-accordion.js +24 -9
  869. package/fesm5/taiga-ui-kit-components-accordion.js.map +1 -1
  870. package/fesm5/taiga-ui-kit-components-action.js +4 -4
  871. package/fesm5/taiga-ui-kit-components-action.js.map +1 -1
  872. package/fesm5/taiga-ui-kit-components-arrow.js.map +1 -1
  873. package/fesm5/taiga-ui-kit-components-avatar.js.map +1 -1
  874. package/fesm5/taiga-ui-kit-components-badge.js.map +1 -1
  875. package/fesm5/taiga-ui-kit-components-badged-content.js.map +1 -1
  876. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +2 -2
  877. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  878. package/fesm5/taiga-ui-kit-components-calendar-month.js +7 -7
  879. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +1 -1
  880. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +1 -1
  881. package/fesm5/taiga-ui-kit-components-carousel.js +306 -0
  882. package/fesm5/taiga-ui-kit-components-carousel.js.map +1 -0
  883. package/fesm5/taiga-ui-kit-components-checkbox-block.js +4 -4
  884. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  885. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +4 -4
  886. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  887. package/fesm5/taiga-ui-kit-components-checkbox.js +4 -4
  888. package/fesm5/taiga-ui-kit-components-checkbox.js.map +1 -1
  889. package/fesm5/taiga-ui-kit-components-combo-box.js +20 -21
  890. package/fesm5/taiga-ui-kit-components-combo-box.js.map +1 -1
  891. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +9 -9
  892. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  893. package/fesm5/taiga-ui-kit-components-field-error.js.map +1 -1
  894. package/fesm5/taiga-ui-kit-components-filter.js +9 -9
  895. package/fesm5/taiga-ui-kit-components-filter.js.map +1 -1
  896. package/fesm5/taiga-ui-kit-components-input-copy.js +5 -5
  897. package/fesm5/taiga-ui-kit-components-input-copy.js.map +1 -1
  898. package/fesm5/taiga-ui-kit-components-input-count.js +4 -4
  899. package/fesm5/taiga-ui-kit-components-input-count.js.map +1 -1
  900. package/fesm5/taiga-ui-kit-components-input-date-range.js +18 -15
  901. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +1 -1
  902. package/fesm5/taiga-ui-kit-components-input-date-time.js +21 -18
  903. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +1 -1
  904. package/fesm5/taiga-ui-kit-components-input-date.js +18 -15
  905. package/fesm5/taiga-ui-kit-components-input-date.js.map +1 -1
  906. package/fesm5/taiga-ui-kit-components-input-file.js +193 -193
  907. package/fesm5/taiga-ui-kit-components-input-file.js.map +1 -1
  908. package/fesm5/taiga-ui-kit-components-input-inline.js +6 -5
  909. package/fesm5/taiga-ui-kit-components-input-inline.js.map +1 -1
  910. package/fesm5/taiga-ui-kit-components-input-month-range.js +5 -4
  911. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +1 -1
  912. package/fesm5/taiga-ui-kit-components-input-month.js +5 -4
  913. package/fesm5/taiga-ui-kit-components-input-month.js.map +1 -1
  914. package/fesm5/taiga-ui-kit-components-input-number.js +18 -32
  915. package/fesm5/taiga-ui-kit-components-input-number.js.map +1 -1
  916. package/fesm5/taiga-ui-kit-components-input-password.js +4 -4
  917. package/fesm5/taiga-ui-kit-components-input-password.js.map +1 -1
  918. package/fesm5/taiga-ui-kit-components-input-phone-international.js +23 -23
  919. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  920. package/fesm5/taiga-ui-kit-components-input-phone.js +8 -8
  921. package/fesm5/taiga-ui-kit-components-input-phone.js.map +1 -1
  922. package/fesm5/taiga-ui-kit-components-input-slider.js +4 -4
  923. package/fesm5/taiga-ui-kit-components-input-slider.js.map +1 -1
  924. package/fesm5/taiga-ui-kit-components-input-tag.js +34 -34
  925. package/fesm5/taiga-ui-kit-components-input-tag.js.map +1 -1
  926. package/fesm5/taiga-ui-kit-components-input-time.js +17 -17
  927. package/fesm5/taiga-ui-kit-components-input-time.js.map +1 -1
  928. package/fesm5/taiga-ui-kit-components-input.js +9 -9
  929. package/fesm5/taiga-ui-kit-components-input.js.map +1 -1
  930. package/fesm5/taiga-ui-kit-components-island.js.map +1 -1
  931. package/fesm5/taiga-ui-kit-components-line-clamp.js +9 -9
  932. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +1 -1
  933. package/fesm5/taiga-ui-kit-components-marker-icon.js +1 -1
  934. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +1 -1
  935. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  936. package/fesm5/taiga-ui-kit-components-multi-select.js +19 -19
  937. package/fesm5/taiga-ui-kit-components-multi-select.js.map +1 -1
  938. package/fesm5/taiga-ui-kit-components-pagination.js +6 -6
  939. package/fesm5/taiga-ui-kit-components-pagination.js.map +1 -1
  940. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +111 -0
  941. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +1 -0
  942. package/fesm5/taiga-ui-kit-components-progress.js +20 -20
  943. package/fesm5/taiga-ui-kit-components-progress.js.map +1 -1
  944. package/fesm5/taiga-ui-kit-components-radio-block.js +4 -4
  945. package/fesm5/taiga-ui-kit-components-radio-block.js.map +1 -1
  946. package/fesm5/taiga-ui-kit-components-radio-group.js.map +1 -1
  947. package/fesm5/taiga-ui-kit-components-radio-labeled.js +4 -4
  948. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  949. package/fesm5/taiga-ui-kit-components-radio-list.js +9 -9
  950. package/fesm5/taiga-ui-kit-components-radio-list.js.map +1 -1
  951. package/fesm5/taiga-ui-kit-components-radio.js +4 -4
  952. package/fesm5/taiga-ui-kit-components-radio.js.map +1 -1
  953. package/fesm5/taiga-ui-kit-components-range.js.map +1 -1
  954. package/fesm5/taiga-ui-kit-components-select-option.js.map +1 -1
  955. package/fesm5/taiga-ui-kit-components-select.js +11 -14
  956. package/fesm5/taiga-ui-kit-components-select.js.map +1 -1
  957. package/fesm5/taiga-ui-kit-components-slider.js.map +1 -1
  958. package/fesm5/taiga-ui-kit-components-stepper.js +19 -19
  959. package/fesm5/taiga-ui-kit-components-stepper.js.map +1 -1
  960. package/fesm5/taiga-ui-kit-components-tabs.js +23 -23
  961. package/fesm5/taiga-ui-kit-components-tabs.js.map +1 -1
  962. package/fesm5/taiga-ui-kit-components-tag.js.map +1 -1
  963. package/fesm5/taiga-ui-kit-components-text-area.js +5 -5
  964. package/fesm5/taiga-ui-kit-components-text-area.js.map +1 -1
  965. package/fesm5/taiga-ui-kit-components-toggle.js +4 -4
  966. package/fesm5/taiga-ui-kit-components-toggle.js.map +1 -1
  967. package/fesm5/taiga-ui-kit-components-tree.js +148 -137
  968. package/fesm5/taiga-ui-kit-components-tree.js.map +1 -1
  969. package/fesm5/taiga-ui-kit-components.js +5 -3
  970. package/fesm5/taiga-ui-kit-components.js.map +1 -1
  971. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +2 -4
  972. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  973. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  974. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +3 -2
  975. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  976. package/fesm5/taiga-ui-kit-directives-highlight.js +7 -2
  977. package/fesm5/taiga-ui-kit-directives-highlight.js.map +1 -1
  978. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +7 -1
  979. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  980. package/fesm5/taiga-ui-kit-directives-present.js.map +1 -1
  981. package/fesm5/taiga-ui-kit-directives-project-class.js.map +1 -1
  982. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  983. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  984. package/fesm5/taiga-ui-kit-directives.js +1 -1
  985. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +2 -2
  986. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  987. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +22 -22
  988. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  989. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  990. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +1 -1
  991. package/fesm5/taiga-ui-kit-tokens.js +14 -14
  992. package/fesm5/taiga-ui-kit-tokens.js.map +1 -1
  993. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +1 -1
  994. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +1 -1
  995. package/package.json +6 -5
  996. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +1 -1
  997. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +1 -1
  998. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +1 -1
  999. package/tokens/index.d.ts +1 -1
  1000. package/tokens/taiga-ui-kit-tokens.metadata.json +1 -1
  1001. package/utils/mask/index.d.ts +1 -1
  1002. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-input-file.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-file/input-file.component.ts","ng://@taiga-ui/kit/components/input-file/file/file.component.ts","ng://@taiga-ui/kit/components/input-file/input-file.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n Optional,\n Output,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n EMPTY_ARRAY,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_MOBILE,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TUI_MODE,\n TuiAppearance,\n TuiBrightness,\n TuiSizeL,\n} from '@taiga-ui/core';\nimport {TuiFileLike} from '@taiga-ui/kit/interfaces';\nimport {TUI_DIGITAL_INFORMATION_UNITS, TUI_INPUT_FILE_TEXTS} from '@taiga-ui/kit/tokens';\nimport {formatSize} from '@taiga-ui/kit/utils/files';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nconst DEFAULT_MAX_SIZE = 30 * 1000 * 1000; // 30 MB\n\n// @dynamic\n@Component({\n selector: 'tui-input-file',\n templateUrl: './input-file.template.html',\n styleUrls: ['./input-file.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n MODE_PROVIDER,\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputFileComponent),\n },\n ],\n})\nexport class TuiInputFileComponent\n extends AbstractTuiNullableControl<TuiFileLike | ReadonlyArray<TuiFileLike>>\n implements TuiFocusableElementAccessor\n{\n @Input()\n @tuiDefaultProp()\n link: PolymorpheusContent = '';\n\n @Input()\n @tuiDefaultProp()\n label: PolymorpheusContent = '';\n\n @Input()\n @tuiDefaultProp()\n accept = '';\n\n @Input()\n @tuiDefaultProp()\n multiple = false;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL = 'm';\n\n @Input()\n @tuiDefaultProp()\n showSize = true;\n\n @Input()\n @tuiDefaultProp()\n maxFileSize = DEFAULT_MAX_SIZE;\n\n @Input()\n @tuiDefaultProp()\n loadingFiles: ReadonlyArray<TuiFileLike> = [];\n\n @Input()\n @tuiDefaultProp()\n rejectedFiles: ReadonlyArray<TuiFileLike> = [];\n\n @Output()\n rejectedFilesChange = new EventEmitter<ReadonlyArray<TuiFileLike>>();\n\n @ViewChild('input')\n readonly input?: ElementRef<HTMLInputElement>;\n\n private dataTransfer: DataTransfer | null = null;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef)\n changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_IS_MOBILE)\n readonly isMobile: boolean,\n @Inject(TUI_INPUT_FILE_TEXTS)\n readonly inputFileTexts$: Observable<\n Record<\n | 'defaultLabelSingle'\n | 'defaultLabelMultiple'\n | 'defaultLinkSingle'\n | 'defaultLinkMultiple'\n | 'maxSizeRejectionReason'\n | 'formatRejectionReason'\n | 'drop'\n | 'dropMultiple',\n string\n >\n >,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_DIGITAL_INFORMATION_UNITS)\n readonly units$: Observable<[string, string, string]>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.input ? this.input.nativeElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get allowDelete(): boolean {\n return !this.computedDisabled && !this.readOnly;\n }\n\n get computedLink$(): Observable<PolymorpheusContent> {\n return this.computeLink$(this.fileDragged, this.multiple, this.link);\n }\n\n get computedLabel$(): Observable<PolymorpheusContent> {\n return this.computeLabel$(\n this.isMobile,\n this.fileDragged,\n this.multiple,\n this.label,\n );\n }\n\n // @bad TODO: refactor after IE is dropped\n get fileDragged(): boolean {\n return (\n !!this.dataTransfer &&\n Array.prototype.indexOf.call(this.dataTransfer.types, 'Files') !== -1\n );\n }\n\n get acceptArray(): readonly string[] {\n return this.getAcceptArray(this.accept);\n }\n\n get arrayValue(): ReadonlyArray<TuiFileLike> {\n return this.getValueArray(this.value);\n }\n\n get readyFiles(): ReadonlyArray<TuiFileLike> {\n return this.getReadyFiles(this.arrayValue, this.loadingFiles);\n }\n\n get computedLoading(): ReadonlyArray<TuiFileLike> {\n return this.getLoadingFiles(this.arrayValue, this.loadingFiles);\n }\n\n get hasFiles(): boolean {\n return !!this.rejectedFiles.length || !!this.arrayValue.length;\n }\n\n onHovered(hovered: boolean) {\n this.updateHovered(hovered);\n }\n\n onFocused(focused: boolean) {\n this.updateFocused(focused);\n }\n\n onPressed(pressed: boolean) {\n this.updatePressed(pressed);\n }\n\n // TODO: refactor i18n messages\n onFilesSelected(\n input: HTMLInputElement,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ) {\n this.processSelectedFiles(input.files, texts, units);\n input.value = '';\n }\n\n onDropped(\n event: DataTransfer,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ) {\n this.processSelectedFiles(event.files, texts, units);\n }\n\n onDragOver(dataTransfer: DataTransfer | null) {\n this.dataTransfer = dataTransfer;\n }\n\n removeFile(removedFile: TuiFileLike) {\n this.updateValue(\n this.multiple ? this.arrayValue.filter(file => file !== removedFile) : null,\n );\n }\n\n removeRejectedFile(removedFile: TuiFileLike) {\n this.updateRejectedFiles(this.rejectedFiles.filter(file => file !== removedFile));\n }\n\n getAppearance(mode: null | unknown): string {\n return mode === null ? '' : TuiAppearance.Outline;\n }\n\n @tuiPure\n private computeLink$(\n fileDragged: boolean,\n multiple: boolean,\n link: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n if (fileDragged) {\n return of('');\n }\n\n return this.inputFileTexts$.pipe(\n map(texts =>\n multiple && link === ''\n ? texts.defaultLinkMultiple\n : link || texts.defaultLinkSingle,\n ),\n );\n }\n\n @tuiPure\n private computeLabel$(\n isMobile: boolean,\n fileDragged: boolean,\n multiple: boolean,\n label: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n if (isMobile) {\n return of('');\n }\n\n if (fileDragged) {\n return this.inputFileTexts$.pipe(\n map(texts => (multiple ? texts.dropMultiple : texts.drop)),\n );\n }\n\n return this.inputFileTexts$.pipe(\n map(texts =>\n multiple && label === ''\n ? texts.defaultLabelMultiple\n : label || texts.defaultLabelSingle,\n ),\n );\n }\n\n @tuiPure\n private getValueArray(\n value: TuiFileLike | ReadonlyArray<TuiFileLike> | null,\n ): ReadonlyArray<TuiFileLike> {\n if (!value) {\n return EMPTY_ARRAY;\n }\n\n return value instanceof Array ? value : [value];\n }\n\n @tuiPure\n private getReadyFiles(\n value: ReadonlyArray<TuiFileLike>,\n loading: ReadonlyArray<TuiFileLike>,\n ): ReadonlyArray<TuiFileLike> {\n return value.filter(file => loading.indexOf(file) === -1);\n }\n\n @tuiPure\n private getLoadingFiles(\n value: ReadonlyArray<TuiFileLike>,\n loading: ReadonlyArray<TuiFileLike>,\n ): ReadonlyArray<TuiFileLike> {\n return loading.filter(file => value.indexOf(file) !== -1);\n }\n\n @tuiPure\n private getAcceptArray(accept: string): readonly string[] {\n return accept\n .toLowerCase()\n .split(',')\n .map(format => format.trim());\n }\n\n private processSelectedFiles(\n files: FileList | null,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ) {\n // IE11 after selecting a file through the open dialog generates a second event passing an empty FileList.\n if (files === null || files.length === 0) {\n return;\n }\n\n const newFiles = this.multiple ? Array.from(files) : [files[0]];\n const tooBigFiles = newFiles.filter(file => file.size > this.maxFileSize);\n const wrongFormatFiles = newFiles.filter(\n file => !this.isFormatAcceptable(file) && tooBigFiles.indexOf(file) === -1,\n );\n const acceptedFiles = newFiles.filter(\n file =>\n tooBigFiles.indexOf(file) === -1 && wrongFormatFiles.indexOf(file) === -1,\n );\n\n this.updateRejectedFiles([\n ...tooBigFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content:\n texts.maxSizeRejectionReason + formatSize(units, this.maxFileSize),\n })),\n ...wrongFormatFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content: texts.formatRejectionReason,\n })),\n ]);\n this.updateValue(\n this.multiple\n ? [...this.arrayValue, ...acceptedFiles]\n : acceptedFiles[0] || null,\n );\n }\n\n private isFormatAcceptable(file: File): boolean {\n if (!this.accept) {\n return true;\n }\n\n const extension = '.' + (file.name.split('.').pop() || '').toLowerCase();\n\n return this.acceptArray.some(\n format =>\n format === extension ||\n format === file.type ||\n (format.split('/')[1] === '*' &&\n file.type.split('/')[0] === format.split('/')[0]),\n );\n }\n\n private updateRejectedFiles(rejectedFiles: ReadonlyArray<TuiFileLike>) {\n this.rejectedFiles = rejectedFiles;\n this.rejectedFilesChange.emit(rejectedFiles);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n} from '@angular/core';\nimport {DomSanitizer, SafeValue} from '@angular/platform-browser';\nimport {TUI_IS_MOBILE, tuiDefaultProp, tuiPure} from '@taiga-ui/cdk';\nimport {TuiSizeL} from '@taiga-ui/core';\nimport {TuiFileState} from '@taiga-ui/kit/enums';\nimport {TuiFileLike} from '@taiga-ui/kit/interfaces';\nimport {TUI_DIGITAL_INFORMATION_UNITS, TUI_FILE_TEXTS} from '@taiga-ui/kit/tokens';\nimport {formatSize} from '@taiga-ui/kit/utils/files';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n// @dynamic\n@Component({\n selector: 'tui-file',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './file.template.html',\n styleUrls: ['./file.style.less'],\n})\nexport class TuiFileComponent {\n @Input()\n @tuiDefaultProp()\n file: TuiFileLike = {name: ''};\n\n @Input()\n @tuiDefaultProp()\n state: TuiFileState = TuiFileState.Normal;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL = 'm';\n\n @Input()\n @tuiDefaultProp()\n allowDelete = true;\n\n @Input()\n @tuiDefaultProp()\n showSize = true;\n\n @Output()\n readonly fileRemoved = new EventEmitter<void>();\n\n @HostBinding('class._focused')\n focused = false;\n\n constructor(\n @Inject(TUI_IS_MOBILE) readonly isMobile: boolean,\n @Inject(DomSanitizer) private readonly sanitizer: DomSanitizer,\n @Inject(TUI_FILE_TEXTS)\n readonly fileTexts$: Observable<\n Record<'loadingError' | 'preview' | 'remove', string>\n >,\n @Inject(TUI_DIGITAL_INFORMATION_UNITS)\n private readonly units$: Observable<[string, string, string]>,\n ) {}\n\n get preview(): SafeValue {\n return this.isBig ? this.createPreview(this.file, this.sanitizer) : '';\n }\n\n get isBig(): boolean {\n return this.size === 'l';\n }\n\n get isLoading(): boolean {\n return this.state === TuiFileState.Loading;\n }\n\n get isError(): boolean {\n return this.state === TuiFileState.Error;\n }\n\n get isDeleted(): boolean {\n return this.state === TuiFileState.Deleted;\n }\n\n get icon(): string {\n if (this.state === TuiFileState.Normal && this.isBig) {\n return 'tuiIconDefaultDocLarge';\n }\n\n switch (this.state) {\n case TuiFileState.Deleted:\n return 'tuiIconTrashLarge';\n case TuiFileState.Error:\n return 'tuiIconAlertCircleLarge';\n default:\n return 'tuiIconCheckCircleLarge';\n }\n }\n\n @HostBinding('class._link')\n get src(): string {\n return this.file.src || '';\n }\n\n get name(): string {\n return this.file.name.split('.').slice(0, -1).join('.');\n }\n\n get type(): string {\n return '.' + this.file.name.split('.').pop() || '';\n }\n\n get content$(): Observable<PolymorpheusContent> {\n return this.calculateContent$(this.state, this.file, this.fileTexts$);\n }\n\n get fileSize$(): Observable<string | null> {\n return this.calculateFileSize$(this.file, this.units$);\n }\n\n onRemoveClick() {\n this.fileRemoved.emit();\n }\n\n onFocusVisible(focusVisible: boolean) {\n this.focused = focusVisible;\n }\n\n @tuiPure\n private calculateContent$(\n state: TuiFileState,\n file: TuiFileLike,\n fileTexts$: Observable<Record<'loadingError' | 'preview' | 'remove', string>>,\n ): Observable<PolymorpheusContent> {\n return state === TuiFileState.Error && !file.content\n ? fileTexts$.pipe(map(texts => texts.loadingError))\n : of(this.file.content || '');\n }\n\n @tuiPure\n private calculateFileSize$(\n file: TuiFileLike,\n units$: Observable<[string, string, string]>,\n ): Observable<string | null> {\n return units$.pipe(map(units => formatSize(units, file.size)));\n }\n\n @tuiPure\n private createPreview(file: TuiFileLike, sanitizer: DomSanitizer): SafeValue {\n if (file.src) {\n return file.src;\n }\n\n // TODO: iframe warning\n if (file instanceof File && file.type && file.type.startsWith('image/')) {\n return sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(file));\n }\n\n return '';\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiDroppableModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiHoveredModule,\n TuiLetModule,\n TuiPressedModule,\n TuiPreventDefaultModule,\n} from '@taiga-ui/cdk';\nimport {\n TuiButtonModule,\n TuiGroupModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiSvgModule,\n TuiWrapperModule,\n} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {TuiFileComponent} from './file/file.component';\nimport {TuiInputFileComponent} from './input-file.component';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiLetModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiPressedModule,\n TuiHoveredModule,\n TuiFocusableModule,\n TuiDroppableModule,\n TuiWrapperModule,\n TuiSvgModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiButtonModule,\n TuiPreventDefaultModule,\n TuiGroupModule,\n ],\n declarations: [TuiFileComponent, TuiInputFileComponent],\n exports: [TuiInputFileComponent],\n})\nexport class TuiInputFileModule {}\n"],"names":["EventEmitter","isNativeFocused","of","map","EMPTY_ARRAY","files","formatSize","NgControl","Optional","Self","Inject","ChangeDetectorRef","TUI_IS_MOBILE","Observable","TUI_INPUT_FILE_TEXTS","TUI_MODE","TUI_DIGITAL_INFORMATION_UNITS","Input","tuiDefaultProp","Output","ViewChild","tuiPure","Component","ChangeDetectionStrategy","MODE_PROVIDER","TUI_FOCUSABLE_ITEM_ACCESSOR","forwardRef","AbstractTuiNullableControl","DomSanitizer","TUI_FILE_TEXTS","HostBinding","NgModule","CommonModule","PolymorpheusModule","TuiLetModule","TuiFocusedModule","TuiFocusVisibleModule","TuiPressedModule","TuiHoveredModule","TuiFocusableModule","TuiDroppableModule","TuiWrapperModule","TuiSvgModule","TuiLinkModule","TuiLoaderModule","TuiButtonModule","TuiPreventDefaultModule","TuiGroupModule"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,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,EAAE;6DACE;QAInB;YAFCD,UAAK,EAAE;YACPC,kBAAc,EAAE;0DACD;QAGhB;YADCC,WAAM,EAAE;6DACuC;QAGhD;YADCW,gBAAW,CAAC,gBAAgB,CAAC;yDACd;QAiDhB;YADCA,gBAAW,CAAC,aAAa,CAAC;mDAG1B;QA2BD;YADCT,WAAO;iEASP;QAGD;YADCA,WAAO;kEAMP;QAGD;YADCA,WAAO;6DAYP;QArIQ,gBAAgB;YAN5BC,cAAS,CAAC;gBACP,QAAQ,EAAE,UAAU;gBACpB,eAAe,EAAEC,4BAAuB,CAAC,MAAM;gBAC/C,+gFAAmC;;aAEtC,CAAC;YA6BO,WAAAb,WAAM,CAACE,iBAAa,CAAC,CAAA;YACrB,WAAAF,WAAM,CAACkB,4BAAY,CAAC,CAAA;YACpB,WAAAlB,WAAM,CAACmB,qBAAc,CAAC,CAAA;YAItB,WAAAnB,WAAM,CAACM,oCAA6B,CAAC,CAAA;WAlCjC,gBAAgB,CAsI5B;QAAD,uBAAC;KAtID;;;QCmBA;SAAkC;QAArB,kBAAkB;YAtB9Be,aAAQ,CAAC;gBACN,OAAO,EAAE;oBACLC,mBAAY;oBACZC,iCAAkB;oBAClBC,gBAAY;oBACZC,oBAAgB;oBAChBC,yBAAqB;oBACrBC,oBAAgB;oBAChBC,oBAAgB;oBAChBC,sBAAkB;oBAClBC,sBAAkB;oBAClBC,uBAAgB;oBAChBC,mBAAY;oBACZC,oBAAa;oBACbC,sBAAe;oBACfC,sBAAe;oBACfC,2BAAuB;oBACvBC,qBAAc;iBACjB;gBACD,YAAY,EAAE,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;gBACvD,OAAO,EAAE,CAAC,qBAAqB,CAAC;aACnC,CAAC;WACW,kBAAkB,CAAG;QAAD,yBAAC;KAAlC;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-input-file.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-file/file/file.component.ts","ng://@taiga-ui/kit/components/input-file/input-file.component.ts","ng://@taiga-ui/kit/components/input-file/input-file.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n} from '@angular/core';\nimport {DomSanitizer, SafeValue} from '@angular/platform-browser';\nimport {TUI_IS_MOBILE, tuiDefaultProp, tuiPure} from '@taiga-ui/cdk';\nimport {TuiSizeL} from '@taiga-ui/core';\nimport {TuiFileState} from '@taiga-ui/kit/enums';\nimport {TuiFileLike} from '@taiga-ui/kit/interfaces';\nimport {TUI_DIGITAL_INFORMATION_UNITS, TUI_FILE_TEXTS} from '@taiga-ui/kit/tokens';\nimport {formatSize} from '@taiga-ui/kit/utils/files';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n// @dynamic\n@Component({\n selector: 'tui-file',\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: './file.template.html',\n styleUrls: ['./file.style.less'],\n})\nexport class TuiFileComponent {\n @Input()\n @tuiDefaultProp()\n file: TuiFileLike = {name: ''};\n\n @Input()\n @tuiDefaultProp()\n state: TuiFileState = TuiFileState.Normal;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL = 'm';\n\n @Input()\n @tuiDefaultProp()\n allowDelete = true;\n\n @Input()\n @tuiDefaultProp()\n showSize = true;\n\n @Output()\n readonly fileRemoved = new EventEmitter<void>();\n\n @HostBinding('class._focused')\n focused = false;\n\n constructor(\n @Inject(TUI_IS_MOBILE) readonly isMobile: boolean,\n @Inject(DomSanitizer) private readonly sanitizer: DomSanitizer,\n @Inject(TUI_FILE_TEXTS)\n readonly fileTexts$: Observable<\n Record<'loadingError' | 'preview' | 'remove', string>\n >,\n @Inject(TUI_DIGITAL_INFORMATION_UNITS)\n private readonly units$: Observable<[string, string, string]>,\n ) {}\n\n get preview(): SafeValue {\n return this.isBig ? this.createPreview(this.file, this.sanitizer) : '';\n }\n\n get isBig(): boolean {\n return this.size === 'l';\n }\n\n get isLoading(): boolean {\n return this.state === TuiFileState.Loading;\n }\n\n get isError(): boolean {\n return this.state === TuiFileState.Error;\n }\n\n get isDeleted(): boolean {\n return this.state === TuiFileState.Deleted;\n }\n\n get icon(): string {\n if (this.state === TuiFileState.Normal && this.isBig) {\n return 'tuiIconDefaultDocLarge';\n }\n\n switch (this.state) {\n case TuiFileState.Deleted:\n return 'tuiIconTrashLarge';\n case TuiFileState.Error:\n return 'tuiIconAlertCircleLarge';\n default:\n return 'tuiIconCheckCircleLarge';\n }\n }\n\n @HostBinding('class._link')\n get src(): string {\n return this.file.src || '';\n }\n\n get name(): string {\n return this.file.name.split('.').slice(0, -1).join('.');\n }\n\n get type(): string {\n return '.' + this.file.name.split('.').pop() || '';\n }\n\n get content$(): Observable<PolymorpheusContent> {\n return this.calculateContent$(this.state, this.file, this.fileTexts$);\n }\n\n get fileSize$(): Observable<string | null> {\n return this.calculateFileSize$(this.file, this.units$);\n }\n\n onRemoveClick() {\n this.fileRemoved.emit();\n }\n\n onFocusVisible(focusVisible: boolean) {\n this.focused = focusVisible;\n }\n\n @tuiPure\n private calculateContent$(\n state: TuiFileState,\n file: TuiFileLike,\n fileTexts$: Observable<Record<'loadingError' | 'preview' | 'remove', string>>,\n ): Observable<PolymorpheusContent> {\n return state === TuiFileState.Error && !file.content\n ? fileTexts$.pipe(map(texts => texts.loadingError))\n : of(this.file.content || '');\n }\n\n @tuiPure\n private calculateFileSize$(\n file: TuiFileLike,\n units$: Observable<[string, string, string]>,\n ): Observable<string | null> {\n return units$.pipe(map(units => formatSize(units, file.size)));\n }\n\n @tuiPure\n private createPreview(file: TuiFileLike, sanitizer: DomSanitizer): SafeValue {\n if (file.src) {\n return file.src;\n }\n\n // TODO: iframe warning\n if (file instanceof File && file.type && file.type.startsWith('image/')) {\n return sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(file));\n }\n\n return '';\n }\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n Optional,\n Output,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n EMPTY_ARRAY,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_MOBILE,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TUI_MODE,\n TuiAppearance,\n TuiBrightness,\n TuiSizeL,\n} from '@taiga-ui/core';\nimport {TuiFileLike} from '@taiga-ui/kit/interfaces';\nimport {TUI_DIGITAL_INFORMATION_UNITS, TUI_INPUT_FILE_TEXTS} from '@taiga-ui/kit/tokens';\nimport {formatSize} from '@taiga-ui/kit/utils/files';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nconst DEFAULT_MAX_SIZE = 30 * 1000 * 1000; // 30 MB\n\n// @dynamic\n@Component({\n selector: 'tui-input-file',\n templateUrl: './input-file.template.html',\n styleUrls: ['./input-file.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n MODE_PROVIDER,\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputFileComponent),\n },\n ],\n})\nexport class TuiInputFileComponent\n extends AbstractTuiNullableControl<TuiFileLike | ReadonlyArray<TuiFileLike>>\n implements TuiFocusableElementAccessor\n{\n private dataTransfer: DataTransfer | null = null;\n\n @Input()\n @tuiDefaultProp()\n link: PolymorpheusContent = '';\n\n @Input()\n @tuiDefaultProp()\n label: PolymorpheusContent = '';\n\n @Input()\n @tuiDefaultProp()\n accept = '';\n\n @Input()\n @tuiDefaultProp()\n multiple = false;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL = 'm';\n\n @Input()\n @tuiDefaultProp()\n showSize = true;\n\n @Input()\n @tuiDefaultProp()\n maxFileSize = DEFAULT_MAX_SIZE;\n\n @Input()\n @tuiDefaultProp()\n loadingFiles: ReadonlyArray<TuiFileLike> = [];\n\n @Input()\n @tuiDefaultProp()\n rejectedFiles: ReadonlyArray<TuiFileLike> = [];\n\n @Output()\n rejectedFilesChange = new EventEmitter<ReadonlyArray<TuiFileLike>>();\n\n @ViewChild('input')\n readonly input?: ElementRef<HTMLInputElement>;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef)\n changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_IS_MOBILE)\n readonly isMobile: boolean,\n @Inject(TUI_INPUT_FILE_TEXTS)\n readonly inputFileTexts$: Observable<\n Record<\n | 'defaultLabelSingle'\n | 'defaultLabelMultiple'\n | 'defaultLinkSingle'\n | 'defaultLinkMultiple'\n | 'maxSizeRejectionReason'\n | 'formatRejectionReason'\n | 'drop'\n | 'dropMultiple',\n string\n >\n >,\n @Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>,\n @Inject(TUI_DIGITAL_INFORMATION_UNITS)\n readonly units$: Observable<[string, string, string]>,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.input ? this.input.nativeElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get allowDelete(): boolean {\n return !this.computedDisabled && !this.readOnly;\n }\n\n get computedLink$(): Observable<PolymorpheusContent> {\n return this.computeLink$(this.fileDragged, this.multiple, this.link);\n }\n\n get computedLabel$(): Observable<PolymorpheusContent> {\n return this.computeLabel$(\n this.isMobile,\n this.fileDragged,\n this.multiple,\n this.label,\n );\n }\n\n // @bad TODO: refactor after IE is dropped\n get fileDragged(): boolean {\n return (\n !!this.dataTransfer &&\n Array.prototype.indexOf.call(this.dataTransfer.types, 'Files') !== -1\n );\n }\n\n get acceptArray(): readonly string[] {\n return this.getAcceptArray(this.accept);\n }\n\n get arrayValue(): ReadonlyArray<TuiFileLike> {\n return this.getValueArray(this.value);\n }\n\n get readyFiles(): ReadonlyArray<TuiFileLike> {\n return this.getReadyFiles(this.arrayValue, this.loadingFiles);\n }\n\n get computedLoading(): ReadonlyArray<TuiFileLike> {\n return this.getLoadingFiles(this.arrayValue, this.loadingFiles);\n }\n\n get hasFiles(): boolean {\n return !!this.rejectedFiles.length || !!this.arrayValue.length;\n }\n\n onHovered(hovered: boolean) {\n this.updateHovered(hovered);\n }\n\n onFocused(focused: boolean) {\n this.updateFocused(focused);\n }\n\n onPressed(pressed: boolean) {\n this.updatePressed(pressed);\n }\n\n // TODO: refactor i18n messages\n onFilesSelected(\n input: HTMLInputElement,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ) {\n this.processSelectedFiles(input.files, texts, units);\n input.value = '';\n }\n\n onDropped(\n event: DataTransfer,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ) {\n this.processSelectedFiles(event.files, texts, units);\n }\n\n onDragOver(dataTransfer: DataTransfer | null) {\n this.dataTransfer = dataTransfer;\n }\n\n removeFile(removedFile: TuiFileLike) {\n this.updateValue(\n this.multiple ? this.arrayValue.filter(file => file !== removedFile) : null,\n );\n }\n\n removeRejectedFile(removedFile: TuiFileLike) {\n this.updateRejectedFiles(this.rejectedFiles.filter(file => file !== removedFile));\n }\n\n getAppearance(mode: null | unknown): string {\n return mode === null ? '' : TuiAppearance.Outline;\n }\n\n @tuiPure\n private computeLink$(\n fileDragged: boolean,\n multiple: boolean,\n link: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n if (fileDragged) {\n return of('');\n }\n\n return this.inputFileTexts$.pipe(\n map(texts =>\n multiple && link === ''\n ? texts.defaultLinkMultiple\n : link || texts.defaultLinkSingle,\n ),\n );\n }\n\n @tuiPure\n private computeLabel$(\n isMobile: boolean,\n fileDragged: boolean,\n multiple: boolean,\n label: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n if (isMobile) {\n return of('');\n }\n\n if (fileDragged) {\n return this.inputFileTexts$.pipe(\n map(texts => (multiple ? texts.dropMultiple : texts.drop)),\n );\n }\n\n return this.inputFileTexts$.pipe(\n map(texts =>\n multiple && label === ''\n ? texts.defaultLabelMultiple\n : label || texts.defaultLabelSingle,\n ),\n );\n }\n\n @tuiPure\n private getValueArray(\n value: TuiFileLike | ReadonlyArray<TuiFileLike> | null,\n ): ReadonlyArray<TuiFileLike> {\n if (!value) {\n return EMPTY_ARRAY;\n }\n\n return value instanceof Array ? value : [value];\n }\n\n @tuiPure\n private getReadyFiles(\n value: ReadonlyArray<TuiFileLike>,\n loading: ReadonlyArray<TuiFileLike>,\n ): ReadonlyArray<TuiFileLike> {\n return value.filter(file => loading.indexOf(file) === -1);\n }\n\n @tuiPure\n private getLoadingFiles(\n value: ReadonlyArray<TuiFileLike>,\n loading: ReadonlyArray<TuiFileLike>,\n ): ReadonlyArray<TuiFileLike> {\n return loading.filter(file => value.indexOf(file) !== -1);\n }\n\n @tuiPure\n private getAcceptArray(accept: string): readonly string[] {\n return accept\n .toLowerCase()\n .split(',')\n .map(format => format.trim());\n }\n\n private processSelectedFiles(\n files: FileList | null,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ) {\n // IE11 after selecting a file through the open dialog generates a second event passing an empty FileList.\n if (files === null || files.length === 0) {\n return;\n }\n\n const newFiles = this.multiple ? Array.from(files) : [files[0]];\n const tooBigFiles = newFiles.filter(file => file.size > this.maxFileSize);\n const wrongFormatFiles = newFiles.filter(\n file => !this.isFormatAcceptable(file) && tooBigFiles.indexOf(file) === -1,\n );\n const acceptedFiles = newFiles.filter(\n file =>\n tooBigFiles.indexOf(file) === -1 && wrongFormatFiles.indexOf(file) === -1,\n );\n\n this.updateRejectedFiles([\n ...tooBigFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content:\n texts.maxSizeRejectionReason + formatSize(units, this.maxFileSize),\n })),\n ...wrongFormatFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content: texts.formatRejectionReason,\n })),\n ]);\n this.updateValue(\n this.multiple\n ? [...this.arrayValue, ...acceptedFiles]\n : acceptedFiles[0] || null,\n );\n }\n\n private isFormatAcceptable(file: File): boolean {\n if (!this.accept) {\n return true;\n }\n\n const extension = '.' + (file.name.split('.').pop() || '').toLowerCase();\n\n return this.acceptArray.some(\n format =>\n format === extension ||\n format === file.type ||\n (format.split('/')[1] === '*' &&\n file.type.split('/')[0] === format.split('/')[0]),\n );\n }\n\n private updateRejectedFiles(rejectedFiles: ReadonlyArray<TuiFileLike>) {\n this.rejectedFiles = rejectedFiles;\n this.rejectedFilesChange.emit(rejectedFiles);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiDroppableModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiHoveredModule,\n TuiLetModule,\n TuiPressedModule,\n TuiPreventDefaultModule,\n} from '@taiga-ui/cdk';\nimport {\n TuiButtonModule,\n TuiGroupModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiSvgModule,\n TuiWrapperModule,\n} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiFileComponent} from './file/file.component';\nimport {TuiInputFileComponent} from './input-file.component';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiLetModule,\n TuiFocusedModule,\n TuiFocusVisibleModule,\n TuiPressedModule,\n TuiHoveredModule,\n TuiFocusableModule,\n TuiDroppableModule,\n TuiWrapperModule,\n TuiSvgModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiButtonModule,\n TuiPreventDefaultModule,\n TuiGroupModule,\n ],\n declarations: [TuiFileComponent, TuiInputFileComponent],\n exports: [TuiInputFileComponent],\n})\nexport class TuiInputFileModule {}\n"],"names":["EventEmitter","map","of","formatSize","Inject","TUI_IS_MOBILE","DomSanitizer","Observable","TUI_FILE_TEXTS","TUI_DIGITAL_INFORMATION_UNITS","Input","tuiDefaultProp","Output","HostBinding","tuiPure","Component","ChangeDetectionStrategy","isNativeFocused","EMPTY_ARRAY","files","NgControl","Optional","Self","ChangeDetectorRef","TUI_INPUT_FILE_TEXTS","TUI_MODE","ViewChild","MODE_PROVIDER","TUI_FOCUSABLE_ITEM_ACCESSOR","forwardRef","AbstractTuiNullableControl","NgModule","CommonModule","PolymorpheusModule","TuiLetModule","TuiFocusedModule","TuiFocusVisibleModule","TuiPressedModule","TuiHoveredModule","TuiFocusableModule","TuiDroppableModule","TuiWrapperModule","TuiSvgModule","TuiLinkModule","TuiLoaderModule","TuiButtonModule","TuiPreventDefaultModule","TuiGroupModule"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/B,CAAC,CAAC;AACF;IACO,SAAS,SAAS,CAAC,CAAC,EAAE,CAAC,EAAE;IAChC,IAAI,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxB,IAAI,SAAS,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,GAAG,CAAC,CAAC,EAAE;IAC3C,IAAI,C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Ae,EAAEC,4BAAuB,CAAC,MAAM;gBAC/C,SAAS,EAAE;oBACPW,oBAAa;oBACb;wBACI,OAAO,EAAEC,+BAA2B;wBACpC,WAAW,EAAEC,eAAU,CAAC,cAAM,OAAA,uBAAqB,GAAA,CAAC;qBACvD;iBACJ;;aACJ,CAAC;YAkDO,WAAAR,aAAQ,EAAE,CAAA;YACV,WAAAC,SAAI,EAAE,CAAA;YACN,WAAAlB,WAAM,CAACgB,eAAS,CAAC,CAAA;YAEjB,WAAAhB,WAAM,CAACmB,sBAAiB,CAAC,CAAA;YAEzB,WAAAnB,WAAM,CAACC,iBAAa,CAAC,CAAA;YAErB,WAAAD,WAAM,CAACoB,2BAAoB,CAAC,CAAA;YAc5B,WAAApB,WAAM,CAACqB,eAAQ,CAAC,CAAA;YAChB,WAAArB,WAAM,CAACK,oCAA6B,CAAC,CAAA;WAxEjC,qBAAqB,CAiUjC;QAAD,4BAAC;KAAA,CAhUWqB,8BAA0B;;;QCVtC;SAAkC;QAArB,kBAAkB;YAtB9BC,aAAQ,CAAC;gBACN,OAAO,EAAE;oBACLC,mBAAY;oBACZC,iCAAkB;oBAClBC,gBAAY;oBACZC,oBAAgB;oBAChBC,yBAAqB;oBACrBC,oBAAgB;oBAChBC,oBAAgB;oBAChBC,sBAAkB;oBAClBC,sBAAkB;oBAClBC,uBAAgB;oBAChBC,mBAAY;oBACZC,oBAAa;oBACbC,sBAAe;oBACfC,sBAAe;oBACfC,2BAAuB;oBACvBC,qBAAc;iBACjB;gBACD,YAAY,EAAE,CAAC,gBAAgB,EAAE,qBAAqB,CAAC;gBACvD,OAAO,EAAE,CAAC,qBAAqB,CAAC;aACnC,CAAC;WACW,kBAAkB,CAAG;QAAD,yBAAC;KAAlC;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/tokens"),require("@taiga-ui/kit/utils/files"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@tinkoff/ng-polymorpheus"),require("@angular/platform-browser")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-file",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/tokens","@taiga-ui/kit/utils/files","rxjs","rxjs/operators","@angular/common","@tinkoff/ng-polymorpheus","@angular/platform-browser"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-file"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.tokens,e["taiga-ui"].kit.utils.files,e.rxjs,e.rxjs.operators,e.ng.common,e.ngPolymorpheus,e.ng.platformBrowser)}(this,(function(e,t,i,n,o,r,a,l,u,s,p,c){"use strict";
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/platform-browser"),require("@taiga-ui/cdk"),require("@taiga-ui/kit/tokens"),require("@taiga-ui/kit/utils/files"),require("rxjs"),require("rxjs/operators"),require("@angular/forms"),require("@taiga-ui/core"),require("@angular/common"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-file",["exports","@angular/core","@angular/platform-browser","@taiga-ui/cdk","@taiga-ui/kit/tokens","@taiga-ui/kit/utils/files","rxjs","rxjs/operators","@angular/forms","@taiga-ui/core","@angular/common","@tinkoff/ng-polymorpheus"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-file"]={}),e.ng.core,e.ng.platformBrowser,e.cdk,e["taiga-ui"].kit.tokens,e["taiga-ui"].kit.utils.files,e.rxjs,e.rxjs.operators,e.ng.forms,e.core$1,e.ng.common,e.ngPolymorpheus)}(this,(function(e,t,i,n,o,r,a,l,u,s,p,c){"use strict";
2
2
  /*! *****************************************************************************
3
3
  Copyright (c) Microsoft Corporation.
4
4
 
@@ -12,5 +12,5 @@
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};function d(e,t,i,n){var o,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,i,a):o(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a}function g(e,t){return function(i,n){t(i,n,e)}}function m(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,o,r=i.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}return a}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}var h=function(e){function s(i,n,o,r,a,l){var u=e.call(this,i,n)||this;return u.isMobile=o,u.inputFileTexts$=r,u.mode$=a,u.units$=l,u.link="",u.label="",u.accept="",u.multiple=!1,u.size="m",u.showSize=!0,u.maxFileSize=3e7,u.loadingFiles=[],u.rejectedFiles=[],u.rejectedFilesChange=new t.EventEmitter,u.dataTransfer=null,u}var p;return function(e,t){function i(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(s,e),p=s,Object.defineProperty(s.prototype,"nativeFocusableElement",{get:function(){return this.input?this.input.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"focused",{get:function(){return n.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"allowDelete",{get:function(){return!this.computedDisabled&&!this.readOnly},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"computedLink$",{get:function(){return this.computeLink$(this.fileDragged,this.multiple,this.link)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"computedLabel$",{get:function(){return this.computeLabel$(this.isMobile,this.fileDragged,this.multiple,this.label)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"fileDragged",{get:function(){return!!this.dataTransfer&&-1!==Array.prototype.indexOf.call(this.dataTransfer.types,"Files")},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"acceptArray",{get:function(){return this.getAcceptArray(this.accept)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"arrayValue",{get:function(){return this.getValueArray(this.value)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"readyFiles",{get:function(){return this.getReadyFiles(this.arrayValue,this.loadingFiles)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"computedLoading",{get:function(){return this.getLoadingFiles(this.arrayValue,this.loadingFiles)},enumerable:!0,configurable:!0}),Object.defineProperty(s.prototype,"hasFiles",{get:function(){return!!this.rejectedFiles.length||!!this.arrayValue.length},enumerable:!0,configurable:!0}),s.prototype.onHovered=function(e){this.updateHovered(e)},s.prototype.onFocused=function(e){this.updateFocused(e)},s.prototype.onPressed=function(e){this.updatePressed(e)},s.prototype.onFilesSelected=function(e,t,i){this.processSelectedFiles(e.files,t,i),e.value=""},s.prototype.onDropped=function(e,t,i){this.processSelectedFiles(e.files,t,i)},s.prototype.onDragOver=function(e){this.dataTransfer=e},s.prototype.removeFile=function(e){this.updateValue(this.multiple?this.arrayValue.filter((function(t){return t!==e})):null)},s.prototype.removeRejectedFile=function(e){this.updateRejectedFiles(this.rejectedFiles.filter((function(t){return t!==e})))},s.prototype.getAppearance=function(e){return null===e?"":"outline"},s.prototype.computeLink$=function(e,t,i){return e?l.of(""):this.inputFileTexts$.pipe(u.map((function(e){return t&&""===i?e.defaultLinkMultiple:i||e.defaultLinkSingle})))},s.prototype.computeLabel$=function(e,t,i,n){return e?l.of(""):t?this.inputFileTexts$.pipe(u.map((function(e){return i?e.dropMultiple:e.drop}))):this.inputFileTexts$.pipe(u.map((function(e){return i&&""===n?e.defaultLabelMultiple:n||e.defaultLabelSingle})))},s.prototype.getValueArray=function(e){return e?e instanceof Array?e:[e]:n.EMPTY_ARRAY},s.prototype.getReadyFiles=function(e,t){return e.filter((function(e){return-1===t.indexOf(e)}))},s.prototype.getLoadingFiles=function(e,t){return t.filter((function(t){return-1!==e.indexOf(t)}))},s.prototype.getAcceptArray=function(e){return e.toLowerCase().split(",").map((function(e){return e.trim()}))},s.prototype.processSelectedFiles=function(e,t,i){var n=this;if(null!==e&&0!==e.length){var o=this.multiple?Array.from(e):[e[0]],r=o.filter((function(e){return e.size>n.maxFileSize})),l=o.filter((function(e){return!n.isFormatAcceptable(e)&&-1===r.indexOf(e)})),u=o.filter((function(e){return-1===r.indexOf(e)&&-1===l.indexOf(e)}));this.updateRejectedFiles(y(r.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.maxSizeRejectionReason+a.formatSize(i,n.maxFileSize)}})),l.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.formatRejectionReason}})))),this.updateValue(this.multiple?y(this.arrayValue,u):u[0]||null)}},s.prototype.isFormatAcceptable=function(e){if(!this.accept)return!0;var t="."+(e.name.split(".").pop()||"").toLowerCase();return this.acceptArray.some((function(i){return i===t||i===e.type||"*"===i.split("/")[1]&&e.type.split("/")[0]===i.split("/")[0]}))},s.prototype.updateRejectedFiles=function(e){this.rejectedFiles=e,this.rejectedFilesChange.emit(e)},s.ctorParameters=function(){return[{type:i.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[i.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:Boolean,decorators:[{type:t.Inject,args:[n.TUI_IS_MOBILE]}]},{type:l.Observable,decorators:[{type:t.Inject,args:[r.TUI_INPUT_FILE_TEXTS]}]},{type:l.Observable,decorators:[{type:t.Inject,args:[o.TUI_MODE]}]},{type:l.Observable,decorators:[{type:t.Inject,args:[r.TUI_DIGITAL_INFORMATION_UNITS]}]}]},d([t.Input(),n.tuiDefaultProp()],s.prototype,"link",void 0),d([t.Input(),n.tuiDefaultProp()],s.prototype,"label",void 0),d([t.Input(),n.tuiDefaultProp()],s.prototype,"accept",void 0),d([t.Input(),n.tuiDefaultProp()],s.prototype,"multiple",void 0),d([t.Input(),n.tuiDefaultProp()],s.prototype,"size",void 0),d([t.Input(),n.tuiDefaultProp()],s.prototype,"showSize",void 0),d([t.Input(),n.tuiDefaultProp()],s.prototype,"maxFileSize",void 0),d([t.Input(),n.tuiDefaultProp()],s.prototype,"loadingFiles",void 0),d([t.Input(),n.tuiDefaultProp()],s.prototype,"rejectedFiles",void 0),d([t.Output()],s.prototype,"rejectedFilesChange",void 0),d([t.ViewChild("input")],s.prototype,"input",void 0),d([n.tuiPure],s.prototype,"computeLink$",null),d([n.tuiPure],s.prototype,"computeLabel$",null),d([n.tuiPure],s.prototype,"getValueArray",null),d([n.tuiPure],s.prototype,"getReadyFiles",null),d([n.tuiPure],s.prototype,"getLoadingFiles",null),d([n.tuiPure],s.prototype,"getAcceptArray",null),s=p=d([t.Component({selector:"tui-input-file",template:'<tui-wrapper\n *ngIf="multiple || !value"\n class="wrapper"\n [class.wrapper_mobile]="isMobile"\n [class.wrapper_has-files]="hasFiles"\n [appearance]="getAppearance(mode$ | async)"\n [focused]="computedFocused"\n [hovered]="computedHovered || fileDragged"\n [pressed]="computedPressed"\n [readOnly]="readOnly"\n [disabled]="computedDisabled"\n>\n <label\n *ngIf="units$ | async as units"\n automation-id="tui-input-file__label"\n >\n <a tuiLink>\n <span\n polymorpheus-outlet\n class="inline"\n [content]="computedLink$ | async"\n ></span>\n </a>\n <ng-container *ngIf="computedLabel$ | async as computedLabel">\n <span>&nbsp;</span>\n <span\n polymorpheus-outlet\n class="inline"\n [content]="computedLabel"\n ></span>\n </ng-container>\n <input\n *ngIf="!readOnly && !computedDisabled && (inputFileTexts$ | async) as texts"\n #input\n type="file"\n tuiPreventDefault="mousedown"\n class="native"\n [id]="id"\n [accept]="accept"\n [multiple]="multiple"\n [tuiFocusable]="focusable"\n (change)="onFilesSelected(input, texts, units)"\n (tuiHoveredChange)="onHovered($event)"\n (tuiFocusedChange)="onFocused($event)"\n (tuiPressedChange)="onPressed($event)"\n (tuiDroppableDropped)="onDropped($event, texts, units)"\n (tuiDroppableDragOverChange)="onDragOver($event)"\n />\n </label>\n</tui-wrapper>\n\n<section\n *tuiLet="mode$ | async as mode"\n tuiGroup\n orientation="vertical"\n class="files"\n [collapsed]="true"\n>\n <tui-file\n *ngFor="let file of rejectedFiles"\n automation-id="tui-input-file__error"\n state="error"\n [attr.data-mode]="mode"\n [showSize]="showSize"\n [allowDelete]="allowDelete"\n [size]="size"\n [file]="file"\n (fileRemoved)="removeRejectedFile(file)"\n ></tui-file>\n <tui-file\n *ngFor="let file of computedLoading"\n automation-id="tui-input-file__loading"\n state="loading"\n [attr.data-mode]="mode"\n [showSize]="showSize"\n [allowDelete]="allowDelete"\n [size]="size"\n [file]="file"\n (fileRemoved)="removeFile(file)"\n ></tui-file>\n <tui-file\n *ngFor="let file of readyFiles"\n automation-id="tui-input-file__file"\n [attr.data-mode]="mode"\n [showSize]="showSize"\n [allowDelete]="allowDelete"\n [size]="size"\n [file]="file"\n (fileRemoved)="removeFile(file)"\n ></tui-file>\n</section>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[o.MODE_PROVIDER,{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return p}))}],styles:[":host{display:block;font:var(--tui-font-text-m);word-wrap:break-word;color:var(--tui-text-02)}.native{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.native::-webkit-file-upload-button{display:none}.inline{display:inline}.wrapper{display:flex;flex:1;justify-content:center;align-items:center;min-height:var(--tui-height-l);border-radius:var(--tui-radius-m);padding:1rem .5rem;box-sizing:border-box}.wrapper:after{border:1px dashed;color:var(--tui-link)}.wrapper_mobile:after{border-style:solid}.wrapper_has-files{margin-bottom:.5rem}.wrapper[data-state=hovered]{background:var(--tui-secondary)}.wrapper[data-state=hovered]:after{color:var(--tui-link-hover)}.wrapper[data-state=pressed]{background:var(--tui-secondary-hover)}.wrapper[data-state=readonly]{pointer-events:none}.wrapper[data-state=readonly]:after{color:var(--tui-text-03)}.wrapper[data-state=disabled]{opacity:var(--tui-disabled-opacity);pointer-events:none}.wrapper[data-state=disabled]:after{color:var(--tui-text-03)}.wrapper._focused:after{border-style:solid;border-width:2px;color:var(--tui-focus)}.files{display:flex}"]}),g(0,t.Optional()),g(0,t.Self()),g(0,t.Inject(i.NgControl)),g(1,t.Inject(t.ChangeDetectorRef)),g(2,t.Inject(n.TUI_IS_MOBILE)),g(3,t.Inject(r.TUI_INPUT_FILE_TEXTS)),g(4,t.Inject(o.TUI_MODE)),g(5,t.Inject(r.TUI_DIGITAL_INFORMATION_UNITS))],s)}(n.AbstractTuiNullableControl),b=function(){function e(e,i,n,o){this.isMobile=e,this.sanitizer=i,this.fileTexts$=n,this.units$=o,this.file={name:""},this.state="normal",this.size="m",this.allowDelete=!0,this.showSize=!0,this.fileRemoved=new t.EventEmitter,this.focused=!1}return Object.defineProperty(e.prototype,"preview",{get:function(){return this.isBig?this.createPreview(this.file,this.sanitizer):""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isBig",{get:function(){return"l"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLoading",{get:function(){return"loading"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isError",{get:function(){return"error"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDeleted",{get:function(){return"deleted"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){if("normal"===this.state&&this.isBig)return"tuiIconDefaultDocLarge";switch(this.state){case"deleted":return"tuiIconTrashLarge";case"error":return"tuiIconAlertCircleLarge";default:return"tuiIconCheckCircleLarge"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"src",{get:function(){return this.file.src||""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.file.name.split(".").slice(0,-1).join(".")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return"."+this.file.name.split(".").pop()||""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"content$",{get:function(){return this.calculateContent$(this.state,this.file,this.fileTexts$)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fileSize$",{get:function(){return this.calculateFileSize$(this.file,this.units$)},enumerable:!0,configurable:!0}),e.prototype.onRemoveClick=function(){this.fileRemoved.emit()},e.prototype.onFocusVisible=function(e){this.focused=e},e.prototype.calculateContent$=function(e,t,i){return"error"!==e||t.content?l.of(this.file.content||""):i.pipe(u.map((function(e){return e.loadingError})))},e.prototype.calculateFileSize$=function(e,t){return t.pipe(u.map((function(t){return a.formatSize(t,e.size)})))},e.prototype.createPreview=function(e,t){return e.src?e.src:e instanceof File&&e.type&&e.type.startsWith("image/")?t.bypassSecurityTrustUrl(URL.createObjectURL(e)):""},e.ctorParameters=function(){return[{type:Boolean,decorators:[{type:t.Inject,args:[n.TUI_IS_MOBILE]}]},{type:c.DomSanitizer,decorators:[{type:t.Inject,args:[c.DomSanitizer]}]},{type:l.Observable,decorators:[{type:t.Inject,args:[r.TUI_FILE_TEXTS]}]},{type:l.Observable,decorators:[{type:t.Inject,args:[r.TUI_DIGITAL_INFORMATION_UNITS]}]}]},d([t.Input(),n.tuiDefaultProp()],e.prototype,"file",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"state",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"size",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"allowDelete",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"showSize",void 0),d([t.Output()],e.prototype,"fileRemoved",void 0),d([t.HostBinding("class._focused")],e.prototype,"focused",void 0),d([t.HostBinding("class._link")],e.prototype,"src",null),d([n.tuiPure],e.prototype,"calculateContent$",null),d([n.tuiPure],e.prototype,"calculateFileSize$",null),d([n.tuiPure],e.prototype,"createPreview",null),e=d([t.Component({selector:"tui-file",changeDetection:t.ChangeDetectionStrategy.OnPush,template:'<ng-container *ngIf="!src; else withLink">\n <ng-container *ngTemplateOutlet="fileInfoTemplate"></ng-container>\n</ng-container>\n\n<ng-template #withLink>\n <a\n rel="noreferrer noopener"\n target="_blank"\n class="link"\n [href]="src"\n (tuiFocusVisibleChange)="onFocusVisible($event)"\n >\n <ng-container *ngTemplateOutlet="fileInfoTemplate"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #fileInfoTemplate>\n <div class="preview" [class.preview_big]="isBig">\n <img\n *ngIf="preview && (fileTexts$ | async) as texts; else loader"\n automation-id="tui-file__preview"\n class="image"\n [alt]="texts.preview"\n [src]="preview"\n />\n <ng-template #loader>\n <tui-loader\n *ngIf="isLoading; else svg"\n automation-id="tui-file__loader"\n class="loader"\n [inheritColor]="isBig"\n ></tui-loader>\n </ng-template>\n <ng-template #svg>\n <tui-svg\n automation-id="tui-file__icon"\n class="icon"\n [class.icon_deleted]="isDeleted"\n [class.icon_error]="isError"\n [src]="icon"\n ></tui-svg>\n </ng-template>\n </div>\n <div class="wrapper">\n <div class="text">\n <div automation-id="tui-file__name" class="name">{{ name }}</div>\n <div automation-id="tui-file__type" class="type">{{ type }}</div>\n <div\n *ngIf="showSize && (fileSize$ | async) as fileSize"\n automation-id="tui-file__size"\n class="size"\n >\n {{ fileSize }}\n </div>\n </div>\n <div\n *ngIf="content$ | async as content"\n polymorpheus-outlet\n automation-id="tui-file__content"\n class="content"\n [content]="content"\n ></div>\n </div>\n <button\n *ngIf="allowDelete && (fileTexts$ | async) as texts"\n automation-id="tui-file__remove"\n tuiIconButton\n type="button"\n size="xs"\n icon="tuiIconCloseLarge"\n appearance="icon"\n class="remove"\n [title]="texts.remove"\n [class.remove_mobile]="isMobile"\n (click.prevent)="onRemoveClick()"\n ></button>\n</ng-template>\n',styles:[":host{position:relative;display:flex;font:var(--tui-font-text-m);border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m)}:host[data-mode=onDark]{color:var(--tui-text-01-night)}:host:not(._link){padding:.5625rem 2.1875rem .5625rem .5625rem}:host:hover .remove{opacity:1}:host._focused{border-color:var(--tui-focus);box-shadow:0 0 0 1px inset var(--tui-focus)}.link{display:flex;flex:1;padding:.5625rem 2.1875rem .5625rem .5625rem;text-decoration:none;outline:0;cursor:pointer;color:var(--tui-text-01);max-width:calc(100% - 2.75rem)}.link:hover{background-color:var(--tui-base-02)}.preview{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.5rem;height:1.5rem;margin-right:.75rem;border-radius:var(--tui-radius-m);overflow:hidden;color:rgba(0,0,0,.24)}.preview_big{width:4rem;height:4rem;margin-right:1rem}.preview_big:before{position:absolute;top:0;left:0;width:100%;height:100%;content:'';background:#333;opacity:.08}.image{max-width:100%;max-height:100%}.loader{position:absolute;top:0;left:0;width:100%;height:100%}.icon{position:absolute;top:0;left:0;width:100%;height:100%;color:var(--tui-success-fill)}.icon_error{color:var(--tui-error-fill)}.icon_deleted{color:var(--tui-base-06)}.remove{transition-property:opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:.625rem;right:.625rem;opacity:0}.remove:focus,.remove_mobile{opacity:1}.wrapper{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.text{display:flex}.size{flex-shrink:0;opacity:var(--tui-disabled-opacity);margin-left:.5rem}.type{flex-shrink:0}.name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content{font:var(--tui-font-text-s);color:var(--tui-error-fill)}"]}),g(0,t.Inject(n.TUI_IS_MOBILE)),g(1,t.Inject(c.DomSanitizer)),g(2,t.Inject(r.TUI_FILE_TEXTS)),g(3,t.Inject(r.TUI_DIGITAL_INFORMATION_UNITS))],e)}(),v=function(){function e(){}return e=d([t.NgModule({imports:[s.CommonModule,p.PolymorpheusModule,n.TuiLetModule,n.TuiFocusedModule,n.TuiFocusVisibleModule,n.TuiPressedModule,n.TuiHoveredModule,n.TuiFocusableModule,n.TuiDroppableModule,o.TuiWrapperModule,o.TuiSvgModule,o.TuiLinkModule,o.TuiLoaderModule,o.TuiButtonModule,n.TuiPreventDefaultModule,o.TuiGroupModule],declarations:[b,h],exports:[h]})],e)}();e.TuiFileComponent=b,e.TuiInputFileComponent=h,e.TuiInputFileModule=v,Object.defineProperty(e,"__esModule",{value:!0})}));
15
+ ***************************************************************************** */var f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])})(e,t)};function d(e,t,i,n){var o,r=arguments.length,a=r<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,i,n);else for(var l=e.length-1;l>=0;l--)(o=e[l])&&(a=(r<3?o(a):r>3?o(t,i,a):o(t,i))||a);return r>3&&a&&Object.defineProperty(t,i,a),a}function g(e,t){return function(i,n){t(i,n,e)}}function m(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,o,r=i.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(i=r.return)&&i.call(r)}finally{if(o)throw o.error}}return a}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}var h=function(){function e(e,i,n,o){this.isMobile=e,this.sanitizer=i,this.fileTexts$=n,this.units$=o,this.file={name:""},this.state="normal",this.size="m",this.allowDelete=!0,this.showSize=!0,this.fileRemoved=new t.EventEmitter,this.focused=!1}return Object.defineProperty(e.prototype,"preview",{get:function(){return this.isBig?this.createPreview(this.file,this.sanitizer):""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isBig",{get:function(){return"l"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLoading",{get:function(){return"loading"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isError",{get:function(){return"error"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDeleted",{get:function(){return"deleted"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){if("normal"===this.state&&this.isBig)return"tuiIconDefaultDocLarge";switch(this.state){case"deleted":return"tuiIconTrashLarge";case"error":return"tuiIconAlertCircleLarge";default:return"tuiIconCheckCircleLarge"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"src",{get:function(){return this.file.src||""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.file.name.split(".").slice(0,-1).join(".")},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return"."+this.file.name.split(".").pop()||""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"content$",{get:function(){return this.calculateContent$(this.state,this.file,this.fileTexts$)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fileSize$",{get:function(){return this.calculateFileSize$(this.file,this.units$)},enumerable:!0,configurable:!0}),e.prototype.onRemoveClick=function(){this.fileRemoved.emit()},e.prototype.onFocusVisible=function(e){this.focused=e},e.prototype.calculateContent$=function(e,t,i){return"error"!==e||t.content?a.of(this.file.content||""):i.pipe(l.map((function(e){return e.loadingError})))},e.prototype.calculateFileSize$=function(e,t){return t.pipe(l.map((function(t){return r.formatSize(t,e.size)})))},e.prototype.createPreview=function(e,t){return e.src?e.src:e instanceof File&&e.type&&e.type.startsWith("image/")?t.bypassSecurityTrustUrl(URL.createObjectURL(e)):""},e.ctorParameters=function(){return[{type:Boolean,decorators:[{type:t.Inject,args:[n.TUI_IS_MOBILE]}]},{type:i.DomSanitizer,decorators:[{type:t.Inject,args:[i.DomSanitizer]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_FILE_TEXTS]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_DIGITAL_INFORMATION_UNITS]}]}]},d([t.Input(),n.tuiDefaultProp()],e.prototype,"file",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"state",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"size",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"allowDelete",void 0),d([t.Input(),n.tuiDefaultProp()],e.prototype,"showSize",void 0),d([t.Output()],e.prototype,"fileRemoved",void 0),d([t.HostBinding("class._focused")],e.prototype,"focused",void 0),d([t.HostBinding("class._link")],e.prototype,"src",null),d([n.tuiPure],e.prototype,"calculateContent$",null),d([n.tuiPure],e.prototype,"calculateFileSize$",null),d([n.tuiPure],e.prototype,"createPreview",null),e=d([t.Component({selector:"tui-file",changeDetection:t.ChangeDetectionStrategy.OnPush,template:'<ng-container *ngIf="!src; else withLink">\n <ng-container *ngTemplateOutlet="fileInfoTemplate"></ng-container>\n</ng-container>\n\n<ng-template #withLink>\n <a\n rel="noreferrer noopener"\n target="_blank"\n class="link"\n [href]="src"\n (tuiFocusVisibleChange)="onFocusVisible($event)"\n >\n <ng-container *ngTemplateOutlet="fileInfoTemplate"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #fileInfoTemplate>\n <div class="preview" [class.preview_big]="isBig">\n <img\n *ngIf="preview && (fileTexts$ | async) as texts; else loader"\n automation-id="tui-file__preview"\n class="image"\n [alt]="texts.preview"\n [src]="preview"\n />\n <ng-template #loader>\n <tui-loader\n *ngIf="isLoading; else svg"\n automation-id="tui-file__loader"\n class="loader"\n [inheritColor]="isBig"\n ></tui-loader>\n </ng-template>\n <ng-template #svg>\n <tui-svg\n automation-id="tui-file__icon"\n class="icon"\n [class.icon_deleted]="isDeleted"\n [class.icon_error]="isError"\n [src]="icon"\n ></tui-svg>\n </ng-template>\n </div>\n <div class="wrapper">\n <div class="text">\n <div automation-id="tui-file__name" class="name">{{ name }}</div>\n <div automation-id="tui-file__type" class="type">{{ type }}</div>\n <div\n *ngIf="showSize && (fileSize$ | async) as fileSize"\n automation-id="tui-file__size"\n class="size"\n >\n {{ fileSize }}\n </div>\n </div>\n <div\n *ngIf="content$ | async as content"\n polymorpheus-outlet\n automation-id="tui-file__content"\n class="content"\n [content]="content"\n ></div>\n </div>\n <button\n *ngIf="allowDelete && (fileTexts$ | async) as texts"\n automation-id="tui-file__remove"\n tuiIconButton\n type="button"\n size="xs"\n icon="tuiIconCloseLarge"\n appearance="icon"\n class="remove"\n [title]="texts.remove"\n [class.remove_mobile]="isMobile"\n (click.prevent)="onRemoveClick()"\n ></button>\n</ng-template>\n',styles:[":host{position:relative;display:flex;font:var(--tui-font-text-m);border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m)}:host[data-mode=onDark]{color:var(--tui-text-01-night)}:host:not(._link){padding:.5625rem 2.1875rem .5625rem .5625rem}:host:hover .remove{opacity:1}:host._focused{border-color:var(--tui-focus);box-shadow:0 0 0 1px inset var(--tui-focus)}.link{display:flex;flex:1;padding:.5625rem 2.1875rem .5625rem .5625rem;text-decoration:none;outline:0;cursor:pointer;color:var(--tui-text-01);max-width:calc(100% - 2.75rem)}.link:hover{background-color:var(--tui-base-02)}.preview{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.5rem;height:1.5rem;margin-right:.75rem;border-radius:var(--tui-radius-m);overflow:hidden;color:rgba(0,0,0,.24)}.preview_big{width:4rem;height:4rem;margin-right:1rem}.preview_big:before{position:absolute;top:0;left:0;width:100%;height:100%;content:'';background:#333;opacity:.08}.image{max-width:100%;max-height:100%}.loader{position:absolute;top:0;left:0;width:100%;height:100%}.icon{position:absolute;top:0;left:0;width:100%;height:100%;color:var(--tui-success-fill)}.icon_error{color:var(--tui-error-fill)}.icon_deleted{color:var(--tui-base-06)}.remove{transition-property:opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:.625rem;right:.625rem;opacity:0}.remove:focus,.remove_mobile{opacity:1}.wrapper{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.text{display:flex}.size{flex-shrink:0;opacity:var(--tui-disabled-opacity);margin-left:.5rem}.type{flex-shrink:0}.name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.content{font:var(--tui-font-text-s);color:var(--tui-error-fill)}"]}),g(0,t.Inject(n.TUI_IS_MOBILE)),g(1,t.Inject(i.DomSanitizer)),g(2,t.Inject(o.TUI_FILE_TEXTS)),g(3,t.Inject(o.TUI_DIGITAL_INFORMATION_UNITS))],e)}(),b=function(e){function i(i,n,o,r,a,l){var u=e.call(this,i,n)||this;return u.isMobile=o,u.inputFileTexts$=r,u.mode$=a,u.units$=l,u.dataTransfer=null,u.link="",u.label="",u.accept="",u.multiple=!1,u.size="m",u.showSize=!0,u.maxFileSize=3e7,u.loadingFiles=[],u.rejectedFiles=[],u.rejectedFilesChange=new t.EventEmitter,u}var p;return function(e,t){function i(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(i,e),p=i,Object.defineProperty(i.prototype,"nativeFocusableElement",{get:function(){return this.input?this.input.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"focused",{get:function(){return n.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"allowDelete",{get:function(){return!this.computedDisabled&&!this.readOnly},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"computedLink$",{get:function(){return this.computeLink$(this.fileDragged,this.multiple,this.link)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"computedLabel$",{get:function(){return this.computeLabel$(this.isMobile,this.fileDragged,this.multiple,this.label)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"fileDragged",{get:function(){return!!this.dataTransfer&&-1!==Array.prototype.indexOf.call(this.dataTransfer.types,"Files")},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"acceptArray",{get:function(){return this.getAcceptArray(this.accept)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"arrayValue",{get:function(){return this.getValueArray(this.value)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"readyFiles",{get:function(){return this.getReadyFiles(this.arrayValue,this.loadingFiles)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"computedLoading",{get:function(){return this.getLoadingFiles(this.arrayValue,this.loadingFiles)},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"hasFiles",{get:function(){return!!this.rejectedFiles.length||!!this.arrayValue.length},enumerable:!0,configurable:!0}),i.prototype.onHovered=function(e){this.updateHovered(e)},i.prototype.onFocused=function(e){this.updateFocused(e)},i.prototype.onPressed=function(e){this.updatePressed(e)},i.prototype.onFilesSelected=function(e,t,i){this.processSelectedFiles(e.files,t,i),e.value=""},i.prototype.onDropped=function(e,t,i){this.processSelectedFiles(e.files,t,i)},i.prototype.onDragOver=function(e){this.dataTransfer=e},i.prototype.removeFile=function(e){this.updateValue(this.multiple?this.arrayValue.filter((function(t){return t!==e})):null)},i.prototype.removeRejectedFile=function(e){this.updateRejectedFiles(this.rejectedFiles.filter((function(t){return t!==e})))},i.prototype.getAppearance=function(e){return null===e?"":"outline"},i.prototype.computeLink$=function(e,t,i){return e?a.of(""):this.inputFileTexts$.pipe(l.map((function(e){return t&&""===i?e.defaultLinkMultiple:i||e.defaultLinkSingle})))},i.prototype.computeLabel$=function(e,t,i,n){return e?a.of(""):t?this.inputFileTexts$.pipe(l.map((function(e){return i?e.dropMultiple:e.drop}))):this.inputFileTexts$.pipe(l.map((function(e){return i&&""===n?e.defaultLabelMultiple:n||e.defaultLabelSingle})))},i.prototype.getValueArray=function(e){return e?e instanceof Array?e:[e]:n.EMPTY_ARRAY},i.prototype.getReadyFiles=function(e,t){return e.filter((function(e){return-1===t.indexOf(e)}))},i.prototype.getLoadingFiles=function(e,t){return t.filter((function(t){return-1!==e.indexOf(t)}))},i.prototype.getAcceptArray=function(e){return e.toLowerCase().split(",").map((function(e){return e.trim()}))},i.prototype.processSelectedFiles=function(e,t,i){var n=this;if(null!==e&&0!==e.length){var o=this.multiple?Array.from(e):[e[0]],a=o.filter((function(e){return e.size>n.maxFileSize})),l=o.filter((function(e){return!n.isFormatAcceptable(e)&&-1===a.indexOf(e)})),u=o.filter((function(e){return-1===a.indexOf(e)&&-1===l.indexOf(e)}));this.updateRejectedFiles(y(a.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.maxSizeRejectionReason+r.formatSize(i,n.maxFileSize)}})),l.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.formatRejectionReason}})))),this.updateValue(this.multiple?y(this.arrayValue,u):u[0]||null)}},i.prototype.isFormatAcceptable=function(e){if(!this.accept)return!0;var t="."+(e.name.split(".").pop()||"").toLowerCase();return this.acceptArray.some((function(i){return i===t||i===e.type||"*"===i.split("/")[1]&&e.type.split("/")[0]===i.split("/")[0]}))},i.prototype.updateRejectedFiles=function(e){this.rejectedFiles=e,this.rejectedFilesChange.emit(e)},i.ctorParameters=function(){return[{type:u.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[u.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:Boolean,decorators:[{type:t.Inject,args:[n.TUI_IS_MOBILE]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_INPUT_FILE_TEXTS]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[s.TUI_MODE]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_DIGITAL_INFORMATION_UNITS]}]}]},d([t.Input(),n.tuiDefaultProp()],i.prototype,"link",void 0),d([t.Input(),n.tuiDefaultProp()],i.prototype,"label",void 0),d([t.Input(),n.tuiDefaultProp()],i.prototype,"accept",void 0),d([t.Input(),n.tuiDefaultProp()],i.prototype,"multiple",void 0),d([t.Input(),n.tuiDefaultProp()],i.prototype,"size",void 0),d([t.Input(),n.tuiDefaultProp()],i.prototype,"showSize",void 0),d([t.Input(),n.tuiDefaultProp()],i.prototype,"maxFileSize",void 0),d([t.Input(),n.tuiDefaultProp()],i.prototype,"loadingFiles",void 0),d([t.Input(),n.tuiDefaultProp()],i.prototype,"rejectedFiles",void 0),d([t.Output()],i.prototype,"rejectedFilesChange",void 0),d([t.ViewChild("input")],i.prototype,"input",void 0),d([n.tuiPure],i.prototype,"computeLink$",null),d([n.tuiPure],i.prototype,"computeLabel$",null),d([n.tuiPure],i.prototype,"getValueArray",null),d([n.tuiPure],i.prototype,"getReadyFiles",null),d([n.tuiPure],i.prototype,"getLoadingFiles",null),d([n.tuiPure],i.prototype,"getAcceptArray",null),i=p=d([t.Component({selector:"tui-input-file",template:'<tui-wrapper\n *ngIf="multiple || !value"\n class="wrapper"\n [class.wrapper_mobile]="isMobile"\n [class.wrapper_has-files]="hasFiles"\n [appearance]="getAppearance(mode$ | async)"\n [focused]="computedFocused"\n [hovered]="computedHovered || fileDragged"\n [pressed]="computedPressed"\n [readOnly]="readOnly"\n [disabled]="computedDisabled"\n>\n <label\n *ngIf="units$ | async as units"\n automation-id="tui-input-file__label"\n >\n <a tuiLink>\n <span\n polymorpheus-outlet\n class="inline"\n [content]="computedLink$ | async"\n ></span>\n </a>\n <ng-container *ngIf="computedLabel$ | async as computedLabel">\n <span>&nbsp;</span>\n <span\n polymorpheus-outlet\n class="inline"\n [content]="computedLabel"\n ></span>\n </ng-container>\n <input\n *ngIf="!readOnly && !computedDisabled && (inputFileTexts$ | async) as texts"\n #input\n type="file"\n tuiPreventDefault="mousedown"\n class="native"\n [id]="id"\n [accept]="accept"\n [multiple]="multiple"\n [tuiFocusable]="focusable"\n (change)="onFilesSelected(input, texts, units)"\n (tuiHoveredChange)="onHovered($event)"\n (tuiFocusedChange)="onFocused($event)"\n (tuiPressedChange)="onPressed($event)"\n (tuiDroppableDropped)="onDropped($event, texts, units)"\n (tuiDroppableDragOverChange)="onDragOver($event)"\n />\n </label>\n</tui-wrapper>\n\n<section\n *tuiLet="mode$ | async as mode"\n tuiGroup\n orientation="vertical"\n class="files"\n [collapsed]="true"\n>\n <tui-file\n *ngFor="let file of rejectedFiles"\n automation-id="tui-input-file__error"\n state="error"\n [attr.data-mode]="mode"\n [showSize]="showSize"\n [allowDelete]="allowDelete"\n [size]="size"\n [file]="file"\n (fileRemoved)="removeRejectedFile(file)"\n ></tui-file>\n <tui-file\n *ngFor="let file of computedLoading"\n automation-id="tui-input-file__loading"\n state="loading"\n [attr.data-mode]="mode"\n [showSize]="showSize"\n [allowDelete]="allowDelete"\n [size]="size"\n [file]="file"\n (fileRemoved)="removeFile(file)"\n ></tui-file>\n <tui-file\n *ngFor="let file of readyFiles"\n automation-id="tui-input-file__file"\n [attr.data-mode]="mode"\n [showSize]="showSize"\n [allowDelete]="allowDelete"\n [size]="size"\n [file]="file"\n (fileRemoved)="removeFile(file)"\n ></tui-file>\n</section>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[s.MODE_PROVIDER,{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return p}))}],styles:[":host{display:block;font:var(--tui-font-text-m);word-wrap:break-word;color:var(--tui-text-02)}.native{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.native::-webkit-file-upload-button{display:none}.inline{display:inline}.wrapper{display:flex;flex:1;justify-content:center;align-items:center;min-height:var(--tui-height-l);border-radius:var(--tui-radius-m);padding:1rem .5rem;box-sizing:border-box}.wrapper:after{border:1px dashed;color:var(--tui-link)}.wrapper_mobile:after{border-style:solid}.wrapper_has-files{margin-bottom:.5rem}.wrapper[data-state=hovered]{background:var(--tui-secondary)}.wrapper[data-state=hovered]:after{color:var(--tui-link-hover)}.wrapper[data-state=pressed]{background:var(--tui-secondary-hover)}.wrapper[data-state=readonly]{pointer-events:none}.wrapper[data-state=readonly]:after{color:var(--tui-text-03)}.wrapper[data-state=disabled]{opacity:var(--tui-disabled-opacity);pointer-events:none}.wrapper[data-state=disabled]:after{color:var(--tui-text-03)}.wrapper._focused:after{border-style:solid;border-width:2px;color:var(--tui-focus)}.files{display:flex}"]}),g(0,t.Optional()),g(0,t.Self()),g(0,t.Inject(u.NgControl)),g(1,t.Inject(t.ChangeDetectorRef)),g(2,t.Inject(n.TUI_IS_MOBILE)),g(3,t.Inject(o.TUI_INPUT_FILE_TEXTS)),g(4,t.Inject(s.TUI_MODE)),g(5,t.Inject(o.TUI_DIGITAL_INFORMATION_UNITS))],i)}(n.AbstractTuiNullableControl),v=function(){function e(){}return e=d([t.NgModule({imports:[p.CommonModule,c.PolymorpheusModule,n.TuiLetModule,n.TuiFocusedModule,n.TuiFocusVisibleModule,n.TuiPressedModule,n.TuiHoveredModule,n.TuiFocusableModule,n.TuiDroppableModule,s.TuiWrapperModule,s.TuiSvgModule,s.TuiLinkModule,s.TuiLoaderModule,s.TuiButtonModule,n.TuiPreventDefaultModule,s.TuiGroupModule],declarations:[h,b],exports:[b]})],e)}();e.TuiFileComponent=h,e.TuiInputFileComponent=b,e.TuiInputFileModule=v,Object.defineProperty(e,"__esModule",{value:!0})}));
16
16
  //# sourceMappingURL=taiga-ui-kit-components-input-file.umd.min.js.map