@taiga-ui/kit 2.61.0 → 3.0.0-rc.2

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 (2400) hide show
  1. package/bundles/taiga-ui-kit-classes.umd.js +7 -3
  2. package/bundles/taiga-ui-kit-classes.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-accordion.umd.js +564 -412
  4. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-action.umd.js +431 -311
  6. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-arrow.umd.js +81 -288
  8. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-avatar.umd.js +427 -305
  10. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-badge.umd.js +427 -303
  12. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-badged-content.umd.js +438 -304
  14. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +400 -342
  16. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +478 -344
  18. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +499 -366
  20. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-carousel.umd.js +599 -438
  22. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +455 -324
  24. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +419 -311
  26. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-checkbox.umd.js +434 -311
  28. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-combo-box.umd.js +537 -405
  30. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +471 -350
  32. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-files.umd.js +525 -379
  34. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-filter.umd.js +455 -324
  36. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-copy.umd.js +476 -356
  38. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-count.umd.js +516 -392
  40. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +567 -436
  42. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +544 -415
  44. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-date.umd.js +540 -406
  46. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-files.umd.js +535 -394
  48. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-inline.umd.js +426 -300
  50. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +505 -371
  52. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-month.umd.js +488 -356
  54. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-number.umd.js +516 -390
  56. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-password.umd.js +480 -360
  58. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +715 -828
  60. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-phone.umd.js +515 -403
  62. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-range.umd.js +564 -419
  64. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-slider.umd.js +503 -460
  66. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-tag.umd.js +636 -492
  68. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-time.umd.js +497 -367
  70. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input.umd.js +438 -338
  72. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-island.umd.js +427 -310
  74. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +528 -324
  76. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +406 -287
  78. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +382 -271
  80. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-multi-select.umd.js +730 -575
  82. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-pagination.umd.js +482 -357
  84. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +434 -313
  86. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-progress.umd.js +551 -492
  88. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-radio-block.umd.js +454 -338
  90. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-radio-group.umd.js +379 -271
  92. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +450 -327
  94. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-radio-list.umd.js +461 -326
  96. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-radio.umd.js +474 -345
  98. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-range.umd.js +535 -461
  100. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-rating.umd.js +452 -320
  102. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-select-option.umd.js +74 -285
  104. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-select.umd.js +487 -365
  106. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-slider.umd.js +580 -570
  108. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-stepper.umd.js +487 -353
  110. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-tabs.umd.js +746 -636
  112. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-tag.umd.js +527 -385
  114. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-text-area.umd.js +525 -392
  116. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-toggle.umd.js +482 -343
  118. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-tree.umd.js +675 -503
  120. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components.umd.js +123 -257
  122. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-constants.umd.js +341 -280
  124. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +507 -0
  126. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -0
  127. package/bundles/taiga-ui-kit-directives-highlight.umd.js +403 -290
  128. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  129. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +421 -308
  130. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-directives-present.umd.js +64 -279
  132. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-directives-project-class.umd.js +381 -272
  134. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  135. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +64 -276
  136. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  137. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +60 -278
  138. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-directives.umd.js +20 -50
  140. package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
  141. package/bundles/taiga-ui-kit-interfaces.umd.js +2 -2
  142. package/bundles/taiga-ui-kit-interfaces.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +441 -321
  144. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-internal.umd.js +5 -7
  146. package/bundles/taiga-ui-kit-internal.umd.js.map +1 -1
  147. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +438 -310
  148. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +406 -306
  150. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +43 -261
  152. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +43 -261
  154. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-pipes.umd.js +11 -19
  156. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  157. package/bundles/taiga-ui-kit-providers.umd.js +17 -49
  158. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  159. package/bundles/taiga-ui-kit-tokens.umd.js +41 -287
  160. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  161. package/bundles/taiga-ui-kit-types.umd.js +2 -2
  162. package/bundles/taiga-ui-kit-types.umd.js.map +1 -1
  163. package/bundles/taiga-ui-kit-utils-files.umd.js +10 -18
  164. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-utils-format.umd.js +8 -8
  166. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  167. package/bundles/taiga-ui-kit-utils-mask.umd.js +347 -273
  168. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  169. package/bundles/taiga-ui-kit-utils-math.umd.js +335 -257
  170. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  171. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +341 -275
  172. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  173. package/bundles/taiga-ui-kit-utils.umd.js +15 -33
  174. package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
  175. package/bundles/taiga-ui-kit-validators.umd.js +7 -3
  176. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  177. package/bundles/taiga-ui-kit.umd.js +34 -50
  178. package/bundles/taiga-ui-kit.umd.js.map +1 -1
  179. package/classes/package.json +2 -5
  180. package/classes/stringifiable-item.d.ts +1 -1
  181. package/classes/taiga-ui-kit-classes.d.ts +1 -0
  182. package/components/accordion/accordion-item/accordion-item-content.directive.d.ts +3 -0
  183. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +3 -0
  184. package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -1
  185. package/components/accordion/accordion.component.d.ts +3 -0
  186. package/components/accordion/accordion.module.d.ts +12 -0
  187. package/components/accordion/package.json +2 -5
  188. package/components/accordion/taiga-ui-kit-components-accordion.d.ts +1 -0
  189. package/components/action/action.component.d.ts +3 -1
  190. package/components/action/action.module.d.ts +9 -0
  191. package/components/action/package.json +2 -5
  192. package/components/action/taiga-ui-kit-components-action.d.ts +1 -0
  193. package/components/arrow/arrow-options.d.ts +0 -2
  194. package/components/arrow/arrow.component.d.ts +5 -1
  195. package/components/arrow/arrow.module.d.ts +8 -0
  196. package/components/arrow/package.json +2 -5
  197. package/components/arrow/taiga-ui-kit-components-arrow.d.ts +1 -0
  198. package/components/avatar/avatar.component.d.ts +3 -0
  199. package/components/avatar/avatar.module.d.ts +7 -0
  200. package/components/avatar/package.json +2 -5
  201. package/components/avatar/taiga-ui-kit-components-avatar.d.ts +1 -0
  202. package/components/badge/badge.component.d.ts +5 -2
  203. package/components/badge/badge.module.d.ts +6 -0
  204. package/components/badge/package.json +2 -5
  205. package/components/badge/taiga-ui-kit-components-badge.d.ts +1 -0
  206. package/components/badged-content/badged-content.component.d.ts +8 -4
  207. package/components/badged-content/badged-content.module.d.ts +9 -0
  208. package/components/badged-content/package.json +2 -5
  209. package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +1 -0
  210. package/components/breadcrumbs/breadcrumbs.component.d.ts +11 -7
  211. package/components/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  212. package/components/breadcrumbs/index.d.ts +0 -2
  213. package/components/breadcrumbs/package.json +2 -5
  214. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +1 -0
  215. package/components/calendar-month/calendar-month.component.d.ts +3 -0
  216. package/components/calendar-month/calendar-month.module.d.ts +8 -0
  217. package/components/calendar-month/package.json +2 -5
  218. package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +1 -0
  219. package/components/calendar-range/calendar-range.component.d.ts +3 -2
  220. package/components/calendar-range/calendar-range.module.d.ts +9 -0
  221. package/components/calendar-range/package.json +2 -5
  222. package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +1 -0
  223. package/components/carousel/carousel-autoscroll.directive.d.ts +3 -0
  224. package/components/carousel/carousel-buttons.directive.d.ts +3 -2
  225. package/components/carousel/carousel-scroll.directive.d.ts +3 -0
  226. package/components/carousel/carousel.component.d.ts +3 -0
  227. package/components/carousel/carousel.directive.d.ts +3 -0
  228. package/components/carousel/carousel.module.d.ts +12 -0
  229. package/components/carousel/package.json +2 -5
  230. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +1 -0
  231. package/components/checkbox/checkbox.component.d.ts +3 -2
  232. package/components/checkbox/checkbox.module.d.ts +8 -0
  233. package/components/checkbox/package.json +2 -5
  234. package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +1 -0
  235. package/components/checkbox-block/checkbox-block.component.d.ts +3 -2
  236. package/components/checkbox-block/checkbox-block.module.d.ts +9 -0
  237. package/components/checkbox-block/package.json +2 -5
  238. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +1 -0
  239. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +3 -2
  240. package/components/checkbox-labeled/checkbox-labeled.module.d.ts +8 -0
  241. package/components/checkbox-labeled/package.json +2 -5
  242. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +1 -0
  243. package/components/combo-box/combo-box-strict.directive.d.ts +3 -0
  244. package/components/combo-box/combo-box.component.d.ts +3 -1
  245. package/components/combo-box/combo-box.directive.d.ts +3 -0
  246. package/components/combo-box/combo-box.module.d.ts +13 -0
  247. package/components/combo-box/index.d.ts +0 -1
  248. package/components/combo-box/package.json +2 -5
  249. package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +1 -0
  250. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +3 -0
  251. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +3 -0
  252. package/components/data-list-wrapper/data-list-wrapper.d.ts +3 -0
  253. package/components/data-list-wrapper/data-list-wrapper.module.d.ts +10 -0
  254. package/components/data-list-wrapper/package.json +2 -5
  255. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +1 -0
  256. package/components/files/file/file.component.d.ts +5 -2
  257. package/components/files/files.component.d.ts +3 -0
  258. package/components/files/files.module.d.ts +10 -0
  259. package/components/files/package.json +2 -5
  260. package/components/files/taiga-ui-kit-components-files.d.ts +1 -0
  261. package/components/filter/filter.component.d.ts +5 -3
  262. package/components/filter/filter.module.d.ts +11 -0
  263. package/components/filter/package.json +2 -5
  264. package/components/filter/taiga-ui-kit-components-filter.d.ts +1 -0
  265. package/components/index.d.ts +0 -2
  266. package/components/input/index.d.ts +0 -1
  267. package/components/input/input.component.d.ts +4 -4
  268. package/components/input/input.directive.d.ts +3 -0
  269. package/components/input/input.module.d.ts +9 -0
  270. package/components/input/package.json +2 -5
  271. package/components/input/taiga-ui-kit-components-input.d.ts +1 -0
  272. package/components/input-copy/index.d.ts +0 -1
  273. package/components/input-copy/input-copy.component.d.ts +6 -5
  274. package/components/input-copy/input-copy.directive.d.ts +3 -0
  275. package/components/input-copy/input-copy.module.d.ts +9 -0
  276. package/components/input-copy/package.json +2 -5
  277. package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +1 -0
  278. package/components/input-count/input-count-options.d.ts +0 -7
  279. package/components/input-count/input-count.component.d.ts +3 -2
  280. package/components/input-count/input-count.directive.d.ts +3 -0
  281. package/components/input-count/input-count.module.d.ts +11 -0
  282. package/components/input-count/package.json +2 -5
  283. package/components/input-count/taiga-ui-kit-components-input-count.d.ts +1 -0
  284. package/components/input-date/index.d.ts +0 -1
  285. package/components/input-date/input-date.component.d.ts +3 -1
  286. package/components/input-date/input-date.directive.d.ts +3 -0
  287. package/components/input-date/input-date.module.d.ts +12 -0
  288. package/components/input-date/package.json +2 -5
  289. package/components/input-date/taiga-ui-kit-components-input-date.d.ts +1 -0
  290. package/components/input-date-range/index.d.ts +0 -1
  291. package/components/input-date-range/input-date-range.component.d.ts +3 -2
  292. package/components/input-date-range/input-date-range.directive.d.ts +3 -0
  293. package/components/input-date-range/input-date-range.module.d.ts +13 -0
  294. package/components/input-date-range/package.json +2 -5
  295. package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +1 -0
  296. package/components/input-date-time/index.d.ts +0 -1
  297. package/components/input-date-time/input-date-time.component.d.ts +11 -3
  298. package/components/input-date-time/input-date-time.directive.d.ts +3 -0
  299. package/components/input-date-time/input-date-time.module.d.ts +12 -0
  300. package/components/input-date-time/package.json +2 -5
  301. package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +1 -0
  302. package/components/input-files/input-files.component.d.ts +3 -2
  303. package/components/input-files/input-files.module.d.ts +10 -0
  304. package/components/input-files/package.json +2 -5
  305. package/components/input-files/taiga-ui-kit-components-input-files.d.ts +1 -0
  306. package/components/input-inline/input-inline.component.d.ts +3 -0
  307. package/components/input-inline/input-inline.module.d.ts +9 -0
  308. package/components/input-inline/package.json +2 -5
  309. package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +1 -0
  310. package/components/input-month/index.d.ts +0 -1
  311. package/components/input-month/input-month.component.d.ts +3 -1
  312. package/components/input-month/input-month.directive.d.ts +3 -0
  313. package/components/input-month/input-month.module.d.ts +10 -0
  314. package/components/input-month/package.json +2 -5
  315. package/components/input-month/taiga-ui-kit-components-input-month.d.ts +1 -0
  316. package/components/input-month-range/index.d.ts +0 -1
  317. package/components/input-month-range/input-month-range.component.d.ts +3 -1
  318. package/components/input-month-range/input-month-range.directive.d.ts +3 -0
  319. package/components/input-month-range/input-month-range.module.d.ts +10 -0
  320. package/components/input-month-range/package.json +2 -5
  321. package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +1 -0
  322. package/components/input-number/input-number.component.d.ts +7 -6
  323. package/components/input-number/input-number.directive.d.ts +3 -0
  324. package/components/input-number/input-number.module.d.ts +12 -0
  325. package/components/input-number/package.json +2 -5
  326. package/components/input-number/taiga-ui-kit-components-input-number.d.ts +1 -0
  327. package/components/input-password/input-password-options.d.ts +0 -7
  328. package/components/input-password/input-password.component.d.ts +7 -6
  329. package/components/input-password/input-password.directive.d.ts +3 -0
  330. package/components/input-password/input-password.module.d.ts +10 -0
  331. package/components/input-password/package.json +2 -5
  332. package/components/input-password/taiga-ui-kit-components-input-password.d.ts +1 -0
  333. package/components/input-phone/index.d.ts +0 -1
  334. package/components/input-phone/input-phone.component.d.ts +6 -4
  335. package/components/input-phone/input-phone.directive.d.ts +3 -0
  336. package/components/input-phone/input-phone.module.d.ts +10 -0
  337. package/components/input-phone/package.json +2 -5
  338. package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +1 -0
  339. package/components/input-phone-international/const/mask-after-code-regexp.d.ts +1 -0
  340. package/components/input-phone-international/index.d.ts +1 -3
  341. package/components/input-phone-international/input-phone-international.component.d.ts +3 -0
  342. package/components/input-phone-international/input-phone-international.module.d.ts +12 -0
  343. package/components/input-phone-international/package.json +2 -5
  344. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +1 -0
  345. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -5
  346. package/components/input-range/input-range.component.d.ts +13 -11
  347. package/components/input-range/input-range.module.d.ts +12 -0
  348. package/components/input-range/package.json +2 -5
  349. package/components/input-range/taiga-ui-kit-components-input-range.d.ts +1 -0
  350. package/components/input-slider/input-slider.component.d.ts +11 -36
  351. package/components/input-slider/input-slider.module.d.ts +11 -0
  352. package/components/input-slider/package.json +2 -5
  353. package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +1 -0
  354. package/components/input-tag/input-tag-options.d.ts +4 -1
  355. package/components/input-tag/input-tag.component.d.ts +10 -12
  356. package/components/input-tag/input-tag.module.d.ts +11 -0
  357. package/components/input-tag/package.json +2 -5
  358. package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +1 -0
  359. package/components/input-time/input-time-options.d.ts +0 -6
  360. package/components/input-time/input-time.component.d.ts +3 -1
  361. package/components/input-time/input-time.module.d.ts +9 -0
  362. package/components/input-time/package.json +2 -5
  363. package/components/input-time/taiga-ui-kit-components-input-time.d.ts +1 -0
  364. package/components/island/island.component.d.ts +3 -0
  365. package/components/island/island.module.d.ts +6 -0
  366. package/components/island/package.json +2 -5
  367. package/components/island/taiga-ui-kit-components-island.d.ts +1 -0
  368. package/components/line-clamp/index.d.ts +1 -0
  369. package/components/line-clamp/line-clamp-box.component.d.ts +7 -0
  370. package/components/line-clamp/line-clamp-position.directive.d.ts +9 -0
  371. package/components/line-clamp/line-clamp.component.d.ts +5 -2
  372. package/components/line-clamp/line-clamp.module.d.ts +11 -0
  373. package/components/line-clamp/package.json +2 -5
  374. package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +1 -0
  375. package/components/marker-icon/marker-icon.component.d.ts +5 -2
  376. package/components/marker-icon/marker-icon.module.d.ts +7 -0
  377. package/components/marker-icon/package.json +2 -5
  378. package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +1 -0
  379. package/components/multi-select/hide-selected.pipe.d.ts +5 -2
  380. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -0
  381. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +4 -9
  382. package/components/multi-select/multi-select.component.d.ts +3 -3
  383. package/components/multi-select/multi-select.module.d.ts +16 -0
  384. package/components/multi-select/package.json +2 -5
  385. package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +1 -0
  386. package/components/multi-select-option/multi-select-option.component.d.ts +3 -0
  387. package/components/multi-select-option/multi-select-option.module.d.ts +7 -0
  388. package/components/multi-select-option/package.json +2 -5
  389. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +1 -0
  390. package/components/package.json +2 -5
  391. package/components/pagination/package.json +2 -5
  392. package/components/pagination/pagination.component.d.ts +3 -2
  393. package/components/pagination/pagination.module.d.ts +9 -0
  394. package/components/pagination/taiga-ui-kit-components-pagination.d.ts +1 -0
  395. package/components/pdf-viewer/package.json +2 -5
  396. package/components/pdf-viewer/pdf-viewer.component.d.ts +3 -0
  397. package/components/pdf-viewer/pdf-viewer.directive.d.ts +3 -0
  398. package/components/pdf-viewer/pdf-viewer.module.d.ts +9 -0
  399. package/components/pdf-viewer/pdf-viewer.service.d.ts +4 -1
  400. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +1 -0
  401. package/components/progress/index.d.ts +0 -3
  402. package/components/progress/package.json +2 -5
  403. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -0
  404. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +3 -0
  405. package/components/progress/progress-circle/progress-circle.component.d.ts +3 -0
  406. package/components/progress/progress-label/progress-label.component.d.ts +3 -0
  407. package/components/progress/progress-segmented/progress-segmented.component.d.ts +3 -2
  408. package/components/progress/progress.module.d.ts +11 -0
  409. package/components/progress/taiga-ui-kit-components-progress.d.ts +1 -0
  410. package/components/radio/package.json +2 -5
  411. package/components/radio/radio-options.d.ts +0 -5
  412. package/components/radio/radio.component.d.ts +3 -2
  413. package/components/radio/radio.module.d.ts +8 -0
  414. package/components/radio/taiga-ui-kit-components-radio.d.ts +1 -0
  415. package/components/radio-block/package.json +2 -5
  416. package/components/radio-block/radio-block.component.d.ts +3 -2
  417. package/components/radio-block/radio-block.module.d.ts +8 -0
  418. package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +1 -0
  419. package/components/radio-group/package.json +2 -5
  420. package/components/radio-group/radio-group.component.d.ts +3 -0
  421. package/components/radio-group/radio-group.module.d.ts +5 -0
  422. package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +1 -0
  423. package/components/radio-labeled/package.json +2 -5
  424. package/components/radio-labeled/radio-labeled.component.d.ts +3 -2
  425. package/components/radio-labeled/radio-labeled.module.d.ts +9 -0
  426. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +1 -0
  427. package/components/radio-list/package.json +2 -5
  428. package/components/radio-list/radio-list.component.d.ts +5 -5
  429. package/components/radio-list/radio-list.module.d.ts +10 -0
  430. package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +1 -0
  431. package/components/range/package.json +2 -5
  432. package/components/range/range-change.directive.d.ts +3 -0
  433. package/components/range/range.component.d.ts +9 -29
  434. package/components/range/range.module.d.ts +10 -0
  435. package/components/range/taiga-ui-kit-components-range.d.ts +1 -0
  436. package/components/rating/package.json +2 -5
  437. package/components/rating/rating.component.d.ts +3 -0
  438. package/components/rating/rating.module.d.ts +8 -0
  439. package/components/rating/taiga-ui-kit-components-rating.d.ts +1 -0
  440. package/components/select/index.d.ts +0 -1
  441. package/components/select/package.json +2 -5
  442. package/components/select/select.component.d.ts +3 -1
  443. package/components/select/select.directive.d.ts +3 -0
  444. package/components/select/select.module.d.ts +12 -0
  445. package/components/select/taiga-ui-kit-components-select.d.ts +1 -0
  446. package/components/select-option/package.json +2 -5
  447. package/components/select-option/select-option.component.d.ts +4 -1
  448. package/components/select-option/select-option.module.d.ts +7 -0
  449. package/components/select-option/taiga-ui-kit-components-select-option.d.ts +1 -0
  450. package/components/slider/helpers/slider-key-steps.directive.d.ts +4 -19
  451. package/components/slider/helpers/slider-readonly.directive.d.ts +3 -0
  452. package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +3 -0
  453. package/components/slider/index.d.ts +0 -1
  454. package/components/slider/package.json +2 -5
  455. package/components/slider/slider.component.d.ts +3 -0
  456. package/components/slider/slider.module.d.ts +9 -0
  457. package/components/slider/taiga-ui-kit-components-slider.d.ts +1 -0
  458. package/components/stepper/package.json +2 -5
  459. package/components/stepper/step/step.component.d.ts +4 -1
  460. package/components/stepper/stepper.component.d.ts +5 -2
  461. package/components/stepper/stepper.module.d.ts +8 -0
  462. package/components/stepper/taiga-ui-kit-components-stepper.d.ts +1 -0
  463. package/components/tabs/index.d.ts +0 -1
  464. package/components/tabs/package.json +2 -5
  465. package/components/tabs/tab/tab.component.d.ts +4 -3
  466. package/components/tabs/tab/tab.providers.d.ts +1 -4
  467. package/components/tabs/tabs/tabs.component.d.ts +4 -6
  468. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +5 -1
  469. package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +3 -9
  470. package/components/tabs/tabs.module.d.ts +12 -0
  471. package/components/tabs/taiga-ui-kit-components-tabs.d.ts +1 -0
  472. package/components/tabs/underline/underline.component.d.ts +4 -6
  473. package/components/tag/package.json +2 -5
  474. package/components/tag/tag-options.d.ts +2 -2
  475. package/components/tag/tag.component.d.ts +6 -5
  476. package/components/tag/tag.module.d.ts +10 -0
  477. package/components/tag/taiga-ui-kit-components-tag.d.ts +1 -0
  478. package/components/taiga-ui-kit-components.d.ts +1 -0
  479. package/components/text-area/index.d.ts +0 -1
  480. package/components/text-area/package.json +2 -5
  481. package/components/text-area/taiga-ui-kit-components-text-area.d.ts +1 -0
  482. package/components/text-area/text-area.component.d.ts +3 -2
  483. package/components/text-area/text-area.directive.d.ts +3 -0
  484. package/components/text-area/text-area.module.d.ts +10 -0
  485. package/components/toggle/package.json +2 -5
  486. package/components/toggle/taiga-ui-kit-components-toggle.d.ts +1 -0
  487. package/components/toggle/toggle-options.d.ts +0 -5
  488. package/components/toggle/toggle.component.d.ts +3 -2
  489. package/components/toggle/toggle.module.d.ts +9 -0
  490. package/components/tree/components/tree/tree.component.d.ts +3 -0
  491. package/components/tree/components/tree-item/tree-item.component.d.ts +3 -0
  492. package/components/tree/components/tree-item/tree-item.providers.d.ts +0 -1
  493. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +3 -0
  494. package/components/tree/directives/tree-children.directive.d.ts +3 -0
  495. package/components/tree/directives/tree-controller.directive.d.ts +3 -0
  496. package/components/tree/directives/tree-item-controller.directive.d.ts +3 -0
  497. package/components/tree/directives/tree-node.directive.d.ts +3 -0
  498. package/components/tree/misc/tree.constants.d.ts +1 -1
  499. package/components/tree/misc/tree.service.d.ts +3 -0
  500. package/components/tree/package.json +2 -5
  501. package/components/tree/taiga-ui-kit-components-tree.d.ts +1 -0
  502. package/components/tree/tree.module.d.ts +15 -0
  503. package/constants/masks.d.ts +0 -8
  504. package/constants/package.json +2 -5
  505. package/constants/taiga-ui-kit-constants.d.ts +1 -0
  506. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +15 -0
  507. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.d.ts +7 -0
  508. package/directives/data-list-dropdown-manager/index.d.ts +2 -0
  509. package/directives/data-list-dropdown-manager/package.json +10 -0
  510. package/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.d.ts +5 -0
  511. package/directives/highlight/highlight.directive.d.ts +3 -0
  512. package/directives/highlight/highlight.module.d.ts +5 -0
  513. package/directives/highlight/package.json +2 -5
  514. package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +1 -0
  515. package/directives/index.d.ts +1 -3
  516. package/directives/lazy-loading/lazy-loading.directive.d.ts +3 -0
  517. package/directives/lazy-loading/lazy-loading.module.d.ts +5 -0
  518. package/directives/lazy-loading/lazy-loading.service.d.ts +3 -0
  519. package/directives/lazy-loading/package.json +2 -5
  520. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +1 -0
  521. package/directives/package.json +2 -5
  522. package/directives/present/package.json +2 -5
  523. package/directives/present/present.directive.d.ts +3 -0
  524. package/directives/present/present.module.d.ts +5 -0
  525. package/directives/present/taiga-ui-kit-directives-present.d.ts +1 -0
  526. package/directives/project-class/package.json +2 -5
  527. package/directives/project-class/project-class.directive.d.ts +3 -0
  528. package/directives/project-class/project-class.module.d.ts +5 -0
  529. package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +1 -0
  530. package/directives/taiga-ui-kit-directives.d.ts +1 -0
  531. package/directives/unfinished-validator/package.json +2 -5
  532. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +1 -0
  533. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +3 -0
  534. package/directives/unfinished-validator/unfinished-validator.module.d.ts +5 -0
  535. package/directives/value-accessor/package.json +2 -5
  536. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +1 -0
  537. package/directives/value-accessor/value-accessor.directive.d.ts +3 -0
  538. package/directives/value-accessor/value-accessor.module.d.ts +5 -0
  539. package/esm2015/classes/day-range-period.js +1 -1
  540. package/esm2015/classes/index.js +1 -1
  541. package/esm2015/classes/named-day.js +1 -1
  542. package/esm2015/classes/stringifiable-item.js +1 -1
  543. package/esm2015/classes/taiga-ui-kit-classes.js +1 -1
  544. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +20 -17
  545. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +12 -10
  546. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +76 -64
  547. package/esm2015/components/accordion/accordion.component.js +32 -26
  548. package/esm2015/components/accordion/accordion.module.js +49 -25
  549. package/esm2015/components/accordion/index.js +1 -1
  550. package/esm2015/components/accordion/taiga-ui-kit-components-accordion.js +1 -1
  551. package/esm2015/components/action/action.component.js +49 -46
  552. package/esm2015/components/action/action.module.js +26 -13
  553. package/esm2015/components/action/index.js +1 -1
  554. package/esm2015/components/action/taiga-ui-kit-components-action.js +1 -1
  555. package/esm2015/components/arrow/arrow-options.js +3 -6
  556. package/esm2015/components/arrow/arrow.component.js +36 -24
  557. package/esm2015/components/arrow/arrow.module.js +16 -13
  558. package/esm2015/components/arrow/index.js +1 -1
  559. package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +1 -1
  560. package/esm2015/components/avatar/avatar-options.js +1 -1
  561. package/esm2015/components/avatar/avatar.component.js +48 -34
  562. package/esm2015/components/avatar/avatar.module.js +15 -12
  563. package/esm2015/components/avatar/index.js +1 -1
  564. package/esm2015/components/avatar/taiga-ui-kit-components-avatar.js +1 -1
  565. package/esm2015/components/badge/badge.component.js +53 -38
  566. package/esm2015/components/badge/badge.module.js +15 -12
  567. package/esm2015/components/badge/index.js +1 -1
  568. package/esm2015/components/badge/taiga-ui-kit-components-badge.js +1 -1
  569. package/esm2015/components/badged-content/badged-content.component.js +52 -28
  570. package/esm2015/components/badged-content/badged-content.module.js +15 -12
  571. package/esm2015/components/badged-content/index.js +1 -1
  572. package/esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js +1 -1
  573. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +44 -24
  574. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +17 -33
  575. package/esm2015/components/breadcrumbs/index.js +1 -3
  576. package/esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +1 -1
  577. package/esm2015/components/calendar-month/calendar-month.component.js +52 -43
  578. package/esm2015/components/calendar-month/calendar-month.module.js +34 -13
  579. package/esm2015/components/calendar-month/index.js +1 -1
  580. package/esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js +1 -1
  581. package/esm2015/components/calendar-range/calendar-range.component.js +64 -51
  582. package/esm2015/components/calendar-range/calendar-range.module.js +32 -13
  583. package/esm2015/components/calendar-range/index.js +1 -1
  584. package/esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js +1 -1
  585. package/esm2015/components/carousel/carousel-autoscroll.directive.js +17 -16
  586. package/esm2015/components/carousel/carousel-buttons.directive.js +26 -23
  587. package/esm2015/components/carousel/carousel-scroll.directive.js +19 -19
  588. package/esm2015/components/carousel/carousel.component.js +74 -51
  589. package/esm2015/components/carousel/carousel.directive.js +23 -21
  590. package/esm2015/components/carousel/carousel.module.js +44 -24
  591. package/esm2015/components/carousel/index.js +1 -1
  592. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +1 -1
  593. package/esm2015/components/checkbox/checkbox.component.js +50 -44
  594. package/esm2015/components/checkbox/checkbox.module.js +29 -16
  595. package/esm2015/components/checkbox/index.js +1 -1
  596. package/esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js +1 -1
  597. package/esm2015/components/checkbox-block/checkbox-block.component.js +68 -54
  598. package/esm2015/components/checkbox-block/checkbox-block.module.js +26 -13
  599. package/esm2015/components/checkbox-block/index.js +1 -1
  600. package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +1 -1
  601. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +56 -49
  602. package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +15 -19
  603. package/esm2015/components/checkbox-labeled/index.js +1 -1
  604. package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +1 -1
  605. package/esm2015/components/combo-box/combo-box-strict.directive.js +22 -18
  606. package/esm2015/components/combo-box/combo-box.component.js +82 -56
  607. package/esm2015/components/combo-box/combo-box.directive.js +15 -19
  608. package/esm2015/components/combo-box/combo-box.module.js +48 -23
  609. package/esm2015/components/combo-box/index.js +1 -2
  610. package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +1 -1
  611. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +31 -29
  612. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +28 -27
  613. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +23 -21
  614. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +32 -17
  615. package/esm2015/components/data-list-wrapper/index.js +1 -1
  616. package/esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +1 -1
  617. package/esm2015/components/files/file/file.component.js +63 -49
  618. package/esm2015/components/files/files.component.js +33 -27
  619. package/esm2015/components/files/files.module.js +34 -13
  620. package/esm2015/components/files/index.js +1 -1
  621. package/esm2015/components/files/taiga-ui-kit-components-files.js +1 -1
  622. package/esm2015/components/filter/filter.component.js +54 -43
  623. package/esm2015/components/filter/filter.module.js +28 -13
  624. package/esm2015/components/filter/index.js +1 -1
  625. package/esm2015/components/filter/taiga-ui-kit-components-filter.js +1 -1
  626. package/esm2015/components/index.js +1 -3
  627. package/esm2015/components/input/index.js +1 -2
  628. package/esm2015/components/input/input.component.js +55 -50
  629. package/esm2015/components/input/input.directive.js +15 -19
  630. package/esm2015/components/input/input.module.js +24 -13
  631. package/esm2015/components/input/taiga-ui-kit-components-input.js +1 -1
  632. package/esm2015/components/input-copy/index.js +1 -2
  633. package/esm2015/components/input-copy/input-copy.component.js +69 -51
  634. package/esm2015/components/input-copy/input-copy.directive.js +15 -19
  635. package/esm2015/components/input-copy/input-copy.module.js +32 -14
  636. package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +1 -1
  637. package/esm2015/components/input-count/index.js +1 -1
  638. package/esm2015/components/input-count/input-count-options.js +3 -6
  639. package/esm2015/components/input-count/input-count.component.js +88 -77
  640. package/esm2015/components/input-count/input-count.directive.js +15 -19
  641. package/esm2015/components/input-count/input-count.module.js +30 -13
  642. package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +1 -1
  643. package/esm2015/components/input-date/index.js +1 -2
  644. package/esm2015/components/input-date/input-date.component.js +99 -67
  645. package/esm2015/components/input-date/input-date.directive.js +15 -19
  646. package/esm2015/components/input-date/input-date.module.js +40 -13
  647. package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +1 -1
  648. package/esm2015/components/input-date-range/index.js +1 -2
  649. package/esm2015/components/input-date-range/input-date-range.component.js +108 -75
  650. package/esm2015/components/input-date-range/input-date-range.directive.js +15 -19
  651. package/esm2015/components/input-date-range/input-date-range.module.js +44 -17
  652. package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +1 -1
  653. package/esm2015/components/input-date-time/index.js +1 -2
  654. package/esm2015/components/input-date-time/input-date-time.component.js +88 -60
  655. package/esm2015/components/input-date-time/input-date-time.directive.js +15 -19
  656. package/esm2015/components/input-date-time/input-date-time.module.js +44 -17
  657. package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +1 -1
  658. package/esm2015/components/input-files/index.js +1 -1
  659. package/esm2015/components/input-files/input-files.component.js +68 -63
  660. package/esm2015/components/input-files/input-files.module.js +56 -18
  661. package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +1 -1
  662. package/esm2015/components/input-inline/index.js +1 -1
  663. package/esm2015/components/input-inline/input-inline.component.js +45 -36
  664. package/esm2015/components/input-inline/input-inline.module.js +26 -13
  665. package/esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js +1 -1
  666. package/esm2015/components/input-month/index.js +1 -2
  667. package/esm2015/components/input-month/input-month.component.js +61 -40
  668. package/esm2015/components/input-month/input-month.directive.js +29 -30
  669. package/esm2015/components/input-month/input-month.module.js +34 -14
  670. package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +1 -1
  671. package/esm2015/components/input-month-range/index.js +1 -2
  672. package/esm2015/components/input-month-range/input-month-range.component.js +61 -40
  673. package/esm2015/components/input-month-range/input-month-range.directive.js +29 -30
  674. package/esm2015/components/input-month-range/input-month-range.module.js +42 -18
  675. package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +1 -1
  676. package/esm2015/components/input-number/index.js +1 -1
  677. package/esm2015/components/input-number/input-number.component.js +81 -70
  678. package/esm2015/components/input-number/input-number.directive.js +15 -19
  679. package/esm2015/components/input-number/input-number.module.js +30 -13
  680. package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +1 -1
  681. package/esm2015/components/input-password/index.js +1 -1
  682. package/esm2015/components/input-password/input-password-options.js +3 -6
  683. package/esm2015/components/input-password/input-password.component.js +68 -62
  684. package/esm2015/components/input-password/input-password.directive.js +15 -19
  685. package/esm2015/components/input-password/input-password.module.js +36 -17
  686. package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +1 -1
  687. package/esm2015/components/input-phone/index.js +1 -2
  688. package/esm2015/components/input-phone/input-phone.component.js +87 -59
  689. package/esm2015/components/input-phone/input-phone.directive.js +15 -19
  690. package/esm2015/components/input-phone/input-phone.module.js +28 -13
  691. package/esm2015/components/input-phone/input-phone.options.js +1 -1
  692. package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +1 -1
  693. package/esm2015/components/input-phone-international/const/mask-after-code-regexp.js +2 -0
  694. package/esm2015/components/input-phone-international/index.js +2 -3
  695. package/esm2015/components/input-phone-international/input-phone-international.component.js +77 -62
  696. package/esm2015/components/input-phone-international/input-phone-international.module.js +46 -13
  697. package/esm2015/components/input-phone-international/input-phone-international.options.js +1 -1
  698. package/esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +1 -1
  699. package/esm2015/components/input-phone-international/tokens/countries-masks.js +211 -3
  700. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +5 -11
  701. package/esm2015/components/input-range/index.js +1 -1
  702. package/esm2015/components/input-range/input-range.component.js +135 -118
  703. package/esm2015/components/input-range/input-range.module.js +35 -18
  704. package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +1 -1
  705. package/esm2015/components/input-slider/index.js +1 -1
  706. package/esm2015/components/input-slider/input-slider.component.js +90 -162
  707. package/esm2015/components/input-slider/input-slider.module.js +33 -23
  708. package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +1 -1
  709. package/esm2015/components/input-tag/index.js +1 -1
  710. package/esm2015/components/input-tag/input-tag-options.js +8 -1
  711. package/esm2015/components/input-tag/input-tag.component.js +161 -157
  712. package/esm2015/components/input-tag/input-tag.module.js +41 -14
  713. package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +1 -1
  714. package/esm2015/components/input-time/index.js +1 -1
  715. package/esm2015/components/input-time/input-time-options.js +2 -4
  716. package/esm2015/components/input-time/input-time.component.js +70 -57
  717. package/esm2015/components/input-time/input-time.module.js +30 -13
  718. package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +1 -1
  719. package/esm2015/components/island/index.js +1 -1
  720. package/esm2015/components/island/island.component.js +50 -39
  721. package/esm2015/components/island/island.module.js +15 -12
  722. package/esm2015/components/island/taiga-ui-kit-components-island.js +1 -1
  723. package/esm2015/components/line-clamp/index.js +2 -1
  724. package/esm2015/components/line-clamp/line-clamp-box.component.js +32 -0
  725. package/esm2015/components/line-clamp/line-clamp-options.js +1 -1
  726. package/esm2015/components/line-clamp/line-clamp-position.directive.js +26 -0
  727. package/esm2015/components/line-clamp/line-clamp.component.js +72 -47
  728. package/esm2015/components/line-clamp/line-clamp.module.js +34 -13
  729. package/esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js +1 -1
  730. package/esm2015/components/marker-icon/index.js +1 -1
  731. package/esm2015/components/marker-icon/marker-icon.component.js +37 -27
  732. package/esm2015/components/marker-icon/marker-icon.module.js +15 -12
  733. package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +1 -1
  734. package/esm2015/components/multi-select/hide-selected.pipe.js +22 -19
  735. package/esm2015/components/multi-select/index.js +1 -1
  736. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +41 -38
  737. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +61 -50
  738. package/esm2015/components/multi-select/multi-select-options.js +1 -1
  739. package/esm2015/components/multi-select/multi-select.component.js +101 -94
  740. package/esm2015/components/multi-select/multi-select.module.js +65 -26
  741. package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +1 -1
  742. package/esm2015/components/multi-select-option/index.js +1 -1
  743. package/esm2015/components/multi-select-option/multi-select-option.component.js +22 -18
  744. package/esm2015/components/multi-select-option/multi-select-option.module.js +16 -13
  745. package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +1 -1
  746. package/esm2015/components/pagination/index.js +1 -1
  747. package/esm2015/components/pagination/pagination.component.js +64 -60
  748. package/esm2015/components/pagination/pagination.module.js +30 -13
  749. package/esm2015/components/pagination/taiga-ui-kit-components-pagination.js +1 -1
  750. package/esm2015/components/pdf-viewer/index.js +2 -1
  751. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +2 -1
  752. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +38 -30
  753. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +25 -18
  754. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +17 -21
  755. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +11 -12
  756. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +1 -1
  757. package/esm2015/components/progress/index.js +1 -4
  758. package/esm2015/components/progress/progress-bar/progress-bar.component.js +25 -18
  759. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +39 -31
  760. package/esm2015/components/progress/progress-circle/progress-circle.component.js +48 -36
  761. package/esm2015/components/progress/progress-label/progress-label.component.js +15 -13
  762. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +31 -31
  763. package/esm2015/components/progress/progress.module.js +35 -30
  764. package/esm2015/components/progress/taiga-ui-kit-components-progress.js +1 -1
  765. package/esm2015/components/radio/index.js +1 -1
  766. package/esm2015/components/radio/radio-options.js +1 -1
  767. package/esm2015/components/radio/radio.component.js +72 -60
  768. package/esm2015/components/radio/radio.module.js +29 -16
  769. package/esm2015/components/radio/taiga-ui-kit-components-radio.js +1 -1
  770. package/esm2015/components/radio-block/index.js +1 -1
  771. package/esm2015/components/radio-block/radio-block.component.js +76 -61
  772. package/esm2015/components/radio-block/radio-block.module.js +15 -19
  773. package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +1 -1
  774. package/esm2015/components/radio-group/index.js +1 -1
  775. package/esm2015/components/radio-group/radio-group.component.js +17 -14
  776. package/esm2015/components/radio-group/radio-group.module.js +14 -11
  777. package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +1 -1
  778. package/esm2015/components/radio-labeled/index.js +1 -1
  779. package/esm2015/components/radio-labeled/radio-labeled.component.js +64 -56
  780. package/esm2015/components/radio-labeled/radio-labeled.module.js +27 -16
  781. package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +1 -1
  782. package/esm2015/components/radio-list/index.js +1 -1
  783. package/esm2015/components/radio-list/radio-list.component.js +65 -47
  784. package/esm2015/components/radio-list/radio-list.module.js +26 -13
  785. package/esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js +1 -1
  786. package/esm2015/components/range/index.js +1 -1
  787. package/esm2015/components/range/range-change.directive.js +39 -33
  788. package/esm2015/components/range/range.component.js +110 -155
  789. package/esm2015/components/range/range.module.js +17 -22
  790. package/esm2015/components/range/taiga-ui-kit-components-range.js +1 -1
  791. package/esm2015/components/rating/index.js +1 -1
  792. package/esm2015/components/rating/rating-options.js +1 -1
  793. package/esm2015/components/rating/rating.component.js +59 -44
  794. package/esm2015/components/rating/rating.module.js +26 -13
  795. package/esm2015/components/rating/taiga-ui-kit-components-rating.js +1 -1
  796. package/esm2015/components/select/index.js +1 -2
  797. package/esm2015/components/select/select-options.js +1 -1
  798. package/esm2015/components/select/select.component.js +76 -50
  799. package/esm2015/components/select/select.directive.js +15 -19
  800. package/esm2015/components/select/select.module.js +34 -14
  801. package/esm2015/components/select/taiga-ui-kit-components-select.js +1 -1
  802. package/esm2015/components/select-option/index.js +1 -1
  803. package/esm2015/components/select-option/select-option.component.js +40 -33
  804. package/esm2015/components/select-option/select-option.module.js +16 -13
  805. package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +1 -1
  806. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +51 -77
  807. package/esm2015/components/slider/helpers/slider-readonly.directive.js +37 -32
  808. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +22 -19
  809. package/esm2015/components/slider/index.js +1 -2
  810. package/esm2015/components/slider/slider-options.js +1 -1
  811. package/esm2015/components/slider/slider.component.js +75 -60
  812. package/esm2015/components/slider/slider.module.js +32 -37
  813. package/esm2015/components/slider/taiga-ui-kit-components-slider.js +1 -1
  814. package/esm2015/components/stepper/index.js +1 -1
  815. package/esm2015/components/stepper/step/step.component.js +62 -48
  816. package/esm2015/components/stepper/stepper.component.js +48 -34
  817. package/esm2015/components/stepper/stepper.module.js +15 -12
  818. package/esm2015/components/stepper/taiga-ui-kit-components-stepper.js +1 -1
  819. package/esm2015/components/tabs/index.js +1 -2
  820. package/esm2015/components/tabs/tab/tab.component.js +57 -61
  821. package/esm2015/components/tabs/tab/tab.providers.js +10 -12
  822. package/esm2015/components/tabs/tabs/tabs.component.js +81 -77
  823. package/esm2015/components/tabs/tabs-options.js +1 -1
  824. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +79 -59
  825. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +14 -18
  826. package/esm2015/components/tabs/tabs.module.js +46 -26
  827. package/esm2015/components/tabs/taiga-ui-kit-components-tabs.js +1 -1
  828. package/esm2015/components/tabs/underline/underline.component.js +49 -60
  829. package/esm2015/components/tag/index.js +1 -1
  830. package/esm2015/components/tag/tag-options.js +1 -1
  831. package/esm2015/components/tag/tag.component.js +103 -81
  832. package/esm2015/components/tag/tag.module.js +28 -13
  833. package/esm2015/components/tag/taiga-ui-kit-components-tag.js +1 -1
  834. package/esm2015/components/taiga-ui-kit-components.js +1 -1
  835. package/esm2015/components/text-area/index.js +1 -2
  836. package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +1 -1
  837. package/esm2015/components/text-area/text-area.component.js +105 -80
  838. package/esm2015/components/text-area/text-area.directive.js +15 -19
  839. package/esm2015/components/text-area/text-area.module.js +35 -15
  840. package/esm2015/components/toggle/index.js +1 -1
  841. package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +1 -1
  842. package/esm2015/components/toggle/toggle-options.js +1 -1
  843. package/esm2015/components/toggle/toggle.component.js +70 -57
  844. package/esm2015/components/toggle/toggle.module.js +37 -15
  845. package/esm2015/components/tree/components/tree/tree.component.js +51 -41
  846. package/esm2015/components/tree/components/tree-item/tree-item.component.js +41 -34
  847. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +2 -6
  848. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +26 -22
  849. package/esm2015/components/tree/directives/tree-children.directive.js +15 -12
  850. package/esm2015/components/tree/directives/tree-controller.directive.js +41 -28
  851. package/esm2015/components/tree/directives/tree-item-controller.directive.js +27 -18
  852. package/esm2015/components/tree/directives/tree-node.directive.js +24 -20
  853. package/esm2015/components/tree/index.js +2 -1
  854. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  855. package/esm2015/components/tree/misc/tree.interfaces.js +2 -1
  856. package/esm2015/components/tree/misc/tree.service.js +19 -19
  857. package/esm2015/components/tree/misc/tree.tokens.js +1 -1
  858. package/esm2015/components/tree/taiga-ui-kit-components-tree.js +1 -1
  859. package/esm2015/components/tree/tree.module.js +51 -28
  860. package/esm2015/constants/date-time-separator.js +1 -1
  861. package/esm2015/constants/empty-mask.js +1 -1
  862. package/esm2015/constants/group-class-names.js +1 -1
  863. package/esm2015/constants/icon-blank.js +1 -1
  864. package/esm2015/constants/index.js +1 -1
  865. package/esm2015/constants/masks.js +2 -27
  866. package/esm2015/constants/math.js +1 -1
  867. package/esm2015/constants/max-day-range-length-mapper.js +5 -4
  868. package/esm2015/constants/max-time-values.js +1 -1
  869. package/esm2015/constants/router-link-options.js +1 -1
  870. package/esm2015/constants/taiga-ui-kit-constants.js +1 -1
  871. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +100 -0
  872. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +16 -0
  873. package/esm2015/directives/data-list-dropdown-manager/index.js +3 -0
  874. package/esm2015/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.js +5 -0
  875. package/esm2015/directives/highlight/highlight.directive.js +41 -37
  876. package/esm2015/directives/highlight/highlight.module.js +14 -11
  877. package/esm2015/directives/highlight/index.js +1 -1
  878. package/esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js +1 -1
  879. package/esm2015/directives/index.js +2 -4
  880. package/esm2015/directives/lazy-loading/index.js +1 -1
  881. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +35 -32
  882. package/esm2015/directives/lazy-loading/lazy-loading.module.js +14 -11
  883. package/esm2015/directives/lazy-loading/lazy-loading.service.js +21 -18
  884. package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -1
  885. package/esm2015/directives/present/index.js +1 -1
  886. package/esm2015/directives/present/present.directive.js +33 -30
  887. package/esm2015/directives/present/present.module.js +14 -11
  888. package/esm2015/directives/present/taiga-ui-kit-directives-present.js +1 -1
  889. package/esm2015/directives/project-class/index.js +1 -1
  890. package/esm2015/directives/project-class/project-class.directive.js +20 -19
  891. package/esm2015/directives/project-class/project-class.module.js +14 -11
  892. package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +1 -1
  893. package/esm2015/directives/taiga-ui-kit-directives.js +1 -1
  894. package/esm2015/directives/unfinished-validator/index.js +1 -1
  895. package/esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +1 -1
  896. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +31 -24
  897. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +14 -11
  898. package/esm2015/directives/value-accessor/index.js +1 -1
  899. package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +1 -1
  900. package/esm2015/directives/value-accessor/value-accessor.directive.js +13 -11
  901. package/esm2015/directives/value-accessor/value-accessor.module.js +14 -11
  902. package/esm2015/index.js +3 -2
  903. package/esm2015/interfaces/file-like.js +2 -1
  904. package/esm2015/interfaces/index.js +4 -1
  905. package/esm2015/interfaces/mobile-calendar-data.js +2 -1
  906. package/esm2015/interfaces/month-context.js +2 -1
  907. package/esm2015/interfaces/taiga-ui-kit-interfaces.js +2 -1
  908. package/esm2015/internal/index.js +1 -1
  909. package/esm2015/internal/primitive-calendar-range/index.js +1 -1
  910. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +51 -38
  911. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +15 -12
  912. package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  913. package/esm2015/internal/taiga-ui-kit-internal.js +1 -1
  914. package/esm2015/pipes/field-error/field-error-content-pipe.js +17 -17
  915. package/esm2015/pipes/field-error/field-error-pipe.js +53 -36
  916. package/esm2015/pipes/field-error/field-error.module.js +14 -11
  917. package/esm2015/pipes/field-error/index.js +1 -1
  918. package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +1 -1
  919. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +16 -15
  920. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +9 -15
  921. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +14 -11
  922. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +16 -15
  923. package/esm2015/pipes/filter-by-input/index.js +1 -1
  924. package/esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +1 -1
  925. package/esm2015/pipes/index.js +1 -1
  926. package/esm2015/pipes/stringify/index.js +1 -1
  927. package/esm2015/pipes/stringify/stringify.module.js +14 -11
  928. package/esm2015/pipes/stringify/stringify.pipe.js +12 -10
  929. package/esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js +1 -1
  930. package/esm2015/pipes/stringify-content/index.js +1 -1
  931. package/esm2015/pipes/stringify-content/stringify-content.module.js +14 -11
  932. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +12 -10
  933. package/esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +1 -1
  934. package/esm2015/pipes/taiga-ui-kit-pipes.js +1 -1
  935. package/esm2015/providers/index.js +1 -1
  936. package/esm2015/providers/month-formatter.provider.js +8 -13
  937. package/esm2015/providers/specific-dropdown-controllers.js +6 -29
  938. package/esm2015/providers/taiga-ui-kit-providers.js +1 -1
  939. package/esm2015/providers/value-accessor.provider.js +2 -4
  940. package/esm2015/taiga-ui-kit.js +1 -1
  941. package/esm2015/tokens/calendar-date-stream.js +15 -0
  942. package/esm2015/tokens/date-inputs-value-transformers.js +1 -1
  943. package/esm2015/tokens/i18n.js +21 -21
  944. package/esm2015/tokens/index.js +2 -4
  945. package/esm2015/tokens/items-handlers.js +1 -1
  946. package/esm2015/tokens/mobile-calendar.js +1 -1
  947. package/esm2015/tokens/month-formatter.js +1 -1
  948. package/esm2015/tokens/tab-margin.js +1 -1
  949. package/esm2015/tokens/taiga-ui-kit-tokens.js +1 -1
  950. package/esm2015/tokens/validation-errors.js +1 -1
  951. package/esm2015/types/dropdown-position.js +2 -0
  952. package/esm2015/types/file-state.js +2 -0
  953. package/esm2015/types/handler-with-context.js +2 -1
  954. package/esm2015/types/index.js +9 -1
  955. package/esm2015/types/key-steps.js +2 -1
  956. package/esm2015/types/marker-icon-mode.js +2 -1
  957. package/esm2015/types/status.js +2 -1
  958. package/esm2015/types/step-state.js +2 -0
  959. package/esm2015/types/taiga-ui-kit-types.js +2 -1
  960. package/esm2015/types/time-format-parts.js +2 -1
  961. package/esm2015/utils/files/format-size.js +4 -9
  962. package/esm2015/utils/files/get-accept-array.js +2 -7
  963. package/esm2015/utils/files/index.js +1 -1
  964. package/esm2015/utils/files/taiga-ui-kit-utils-files.js +1 -1
  965. package/esm2015/utils/format/index.js +1 -1
  966. package/esm2015/utils/format/string-hash-to-hsl.js +2 -5
  967. package/esm2015/utils/format/taiga-ui-kit-utils-format.js +1 -1
  968. package/esm2015/utils/index.js +1 -2
  969. package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +3 -8
  970. package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +1 -1
  971. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +5 -5
  972. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +1 -1
  973. package/esm2015/utils/mask/create-date-mask.js +1 -1
  974. package/esm2015/utils/mask/create-date-range-mask.js +1 -1
  975. package/esm2015/utils/mask/create-time-mask.js +1 -1
  976. package/esm2015/utils/mask/index.js +1 -1
  977. package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +1 -1
  978. package/esm2015/utils/math/horizontal-direction-to-number.js +1 -1
  979. package/esm2015/utils/math/index.js +1 -1
  980. package/esm2015/utils/math/key-steps.js +3 -6
  981. package/esm2015/utils/math/taiga-ui-kit-utils-math.js +1 -1
  982. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +1 -1
  983. package/esm2015/utils/miscellaneous/create-time-periods.js +1 -1
  984. package/esm2015/utils/miscellaneous/get-precision.js +2 -5
  985. package/esm2015/utils/miscellaneous/index.js +1 -1
  986. package/esm2015/utils/miscellaneous/is-flat.js +2 -7
  987. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +4 -7
  988. package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +1 -1
  989. package/esm2015/utils/taiga-ui-kit-utils.js +1 -1
  990. package/esm2015/validators/index.js +1 -1
  991. package/esm2015/validators/taiga-ui-kit-validators.js +1 -1
  992. package/esm2015/validators/unfinished.validator.js +1 -1
  993. package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
  994. package/fesm2015/taiga-ui-kit-components-accordion.js +176 -126
  995. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  996. package/fesm2015/taiga-ui-kit-components-action.js +73 -55
  997. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  998. package/fesm2015/taiga-ui-kit-components-arrow.js +52 -38
  999. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  1000. package/fesm2015/taiga-ui-kit-components-avatar.js +61 -42
  1001. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  1002. package/fesm2015/taiga-ui-kit-components-badge.js +66 -46
  1003. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  1004. package/fesm2015/taiga-ui-kit-components-badged-content.js +66 -37
  1005. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  1006. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +54 -89
  1007. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  1008. package/fesm2015/taiga-ui-kit-components-calendar-month.js +85 -53
  1009. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  1010. package/fesm2015/taiga-ui-kit-components-calendar-range.js +95 -61
  1011. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  1012. package/fesm2015/taiga-ui-kit-components-carousel.js +212 -159
  1013. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  1014. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +90 -61
  1015. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  1016. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +67 -61
  1017. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  1018. package/fesm2015/taiga-ui-kit-components-checkbox.js +75 -54
  1019. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  1020. package/fesm2015/taiga-ui-kit-components-combo-box.js +156 -126
  1021. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  1022. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +101 -85
  1023. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  1024. package/fesm2015/taiga-ui-kit-components-files.js +122 -81
  1025. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  1026. package/fesm2015/taiga-ui-kit-components-filter.js +83 -55
  1027. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  1028. package/fesm2015/taiga-ui-kit-components-input-copy.js +110 -87
  1029. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  1030. package/fesm2015/taiga-ui-kit-components-input-count.js +130 -106
  1031. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  1032. package/fesm2015/taiga-ui-kit-components-input-date-range.js +162 -126
  1033. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  1034. package/fesm2015/taiga-ui-kit-components-input-date-time.js +143 -112
  1035. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  1036. package/fesm2015/taiga-ui-kit-components-input-date.js +148 -113
  1037. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  1038. package/fesm2015/taiga-ui-kit-components-input-files.js +122 -77
  1039. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  1040. package/fesm2015/taiga-ui-kit-components-input-inline.js +68 -44
  1041. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  1042. package/fesm2015/taiga-ui-kit-components-input-month-range.js +127 -94
  1043. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  1044. package/fesm2015/taiga-ui-kit-components-input-month.js +119 -90
  1045. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  1046. package/fesm2015/taiga-ui-kit-components-input-number.js +120 -93
  1047. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  1048. package/fesm2015/taiga-ui-kit-components-input-password.js +116 -95
  1049. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  1050. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +336 -547
  1051. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  1052. package/fesm2015/taiga-ui-kit-components-input-phone.js +124 -111
  1053. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  1054. package/fesm2015/taiga-ui-kit-components-input-range.js +166 -129
  1055. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  1056. package/fesm2015/taiga-ui-kit-components-input-slider.js +121 -178
  1057. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  1058. package/fesm2015/taiga-ui-kit-components-input-tag.js +208 -167
  1059. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  1060. package/fesm2015/taiga-ui-kit-components-input-time.js +100 -70
  1061. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  1062. package/fesm2015/taiga-ui-kit-components-input.js +87 -89
  1063. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  1064. package/fesm2015/taiga-ui-kit-components-island.js +63 -47
  1065. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  1066. package/fesm2015/taiga-ui-kit-components-line-clamp.js +150 -57
  1067. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  1068. package/fesm2015/taiga-ui-kit-components-marker-icon.js +51 -36
  1069. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  1070. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +35 -26
  1071. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  1072. package/fesm2015/taiga-ui-kit-components-multi-select.js +270 -209
  1073. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  1074. package/fesm2015/taiga-ui-kit-components-pagination.js +91 -68
  1075. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  1076. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +86 -71
  1077. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  1078. package/fesm2015/taiga-ui-kit-components-progress.js +179 -205
  1079. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  1080. package/fesm2015/taiga-ui-kit-components-radio-block.js +87 -73
  1081. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  1082. package/fesm2015/taiga-ui-kit-components-radio-group.js +29 -21
  1083. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  1084. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +86 -65
  1085. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  1086. package/fesm2015/taiga-ui-kit-components-radio-list.js +89 -56
  1087. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  1088. package/fesm2015/taiga-ui-kit-components-radio.js +97 -70
  1089. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  1090. package/fesm2015/taiga-ui-kit-components-range.js +159 -197
  1091. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  1092. package/fesm2015/taiga-ui-kit-components-rating.js +82 -52
  1093. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  1094. package/fesm2015/taiga-ui-kit-components-select-option.js +52 -40
  1095. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  1096. package/fesm2015/taiga-ui-kit-components-select.js +118 -96
  1097. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  1098. package/fesm2015/taiga-ui-kit-components-slider.js +204 -276
  1099. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  1100. package/fesm2015/taiga-ui-kit-components-stepper.js +119 -88
  1101. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  1102. package/fesm2015/taiga-ui-kit-components-tabs.js +327 -318
  1103. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  1104. package/fesm2015/taiga-ui-kit-components-tag.js +131 -92
  1105. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  1106. package/fesm2015/taiga-ui-kit-components-text-area.js +149 -118
  1107. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  1108. package/fesm2015/taiga-ui-kit-components-toggle.js +102 -65
  1109. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  1110. package/fesm2015/taiga-ui-kit-components-tree.js +287 -219
  1111. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  1112. package/fesm2015/taiga-ui-kit-components.js +0 -2
  1113. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  1114. package/fesm2015/taiga-ui-kit-constants.js +6 -30
  1115. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  1116. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +120 -0
  1117. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js.map +1 -0
  1118. package/fesm2015/taiga-ui-kit-directives-highlight.js +52 -43
  1119. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  1120. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +65 -54
  1121. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  1122. package/fesm2015/taiga-ui-kit-directives-present.js +44 -36
  1123. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  1124. package/fesm2015/taiga-ui-kit-directives-project-class.js +31 -25
  1125. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  1126. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +43 -31
  1127. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  1128. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +24 -17
  1129. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  1130. package/fesm2015/taiga-ui-kit-directives.js +1 -3
  1131. package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
  1132. package/fesm2015/taiga-ui-kit-interfaces.js.map +1 -1
  1133. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +63 -45
  1134. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  1135. package/fesm2015/taiga-ui-kit-internal.js.map +1 -1
  1136. package/fesm2015/taiga-ui-kit-pipes-field-error.js +78 -55
  1137. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  1138. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +52 -49
  1139. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1140. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +23 -16
  1141. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1142. package/fesm2015/taiga-ui-kit-pipes-stringify.js +23 -16
  1143. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1144. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  1145. package/fesm2015/taiga-ui-kit-providers.js +14 -43
  1146. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  1147. package/fesm2015/taiga-ui-kit-tokens.js +35 -33
  1148. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  1149. package/fesm2015/taiga-ui-kit-types.js.map +1 -1
  1150. package/fesm2015/taiga-ui-kit-utils-files.js +5 -15
  1151. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  1152. package/fesm2015/taiga-ui-kit-utils-format.js +2 -5
  1153. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  1154. package/fesm2015/taiga-ui-kit-utils-mask.js +6 -11
  1155. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  1156. package/fesm2015/taiga-ui-kit-utils-math.js +3 -6
  1157. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  1158. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +6 -17
  1159. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  1160. package/fesm2015/taiga-ui-kit-utils.js +0 -1
  1161. package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
  1162. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  1163. package/fesm2015/taiga-ui-kit.js +2 -1
  1164. package/fesm2015/taiga-ui-kit.js.map +1 -1
  1165. package/index.d.ts +0 -1
  1166. package/interfaces/index.d.ts +0 -2
  1167. package/interfaces/package.json +2 -5
  1168. package/interfaces/taiga-ui-kit-interfaces.d.ts +1 -0
  1169. package/internal/package.json +2 -5
  1170. package/internal/primitive-calendar-range/package.json +2 -5
  1171. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +3 -0
  1172. package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +7 -0
  1173. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +1 -0
  1174. package/internal/taiga-ui-kit-internal.d.ts +1 -0
  1175. package/package.json +11 -14
  1176. package/pipes/field-error/field-error-content-pipe.d.ts +3 -0
  1177. package/pipes/field-error/field-error-pipe.d.ts +3 -0
  1178. package/pipes/field-error/field-error.module.d.ts +6 -0
  1179. package/pipes/field-error/package.json +2 -5
  1180. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +1 -0
  1181. package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +3 -0
  1182. package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -7
  1183. package/pipes/filter-by-input/filter-by-input.module.d.ts +6 -0
  1184. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +3 -0
  1185. package/pipes/filter-by-input/package.json +2 -5
  1186. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +1 -0
  1187. package/pipes/package.json +2 -5
  1188. package/pipes/stringify/package.json +2 -5
  1189. package/pipes/stringify/stringify.module.d.ts +5 -0
  1190. package/pipes/stringify/stringify.pipe.d.ts +3 -0
  1191. package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +1 -0
  1192. package/pipes/stringify-content/package.json +2 -5
  1193. package/pipes/stringify-content/stringify-content.module.d.ts +5 -0
  1194. package/pipes/stringify-content/stringify-content.pipe.d.ts +3 -0
  1195. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +1 -0
  1196. package/pipes/taiga-ui-kit-pipes.d.ts +1 -0
  1197. package/providers/month-formatter.provider.d.ts +0 -7
  1198. package/providers/package.json +2 -5
  1199. package/providers/specific-dropdown-controllers.d.ts +1 -6
  1200. package/providers/taiga-ui-kit-providers.d.ts +1 -0
  1201. package/providers/value-accessor.provider.d.ts +0 -2
  1202. package/taiga-ui-kit.d.ts +1 -0
  1203. package/tokens/calendar-date-stream.d.ts +5 -0
  1204. package/tokens/index.d.ts +1 -3
  1205. package/tokens/package.json +2 -5
  1206. package/tokens/taiga-ui-kit-tokens.d.ts +1 -0
  1207. package/tokens/validation-errors.d.ts +1 -1
  1208. package/types/dropdown-position.d.ts +1 -0
  1209. package/types/file-state.d.ts +4 -0
  1210. package/types/index.d.ts +3 -0
  1211. package/types/key-steps.d.ts +8 -6
  1212. package/types/marker-icon-mode.d.ts +1 -1
  1213. package/types/package.json +2 -5
  1214. package/types/status.d.ts +1 -1
  1215. package/types/step-state.d.ts +1 -0
  1216. package/types/taiga-ui-kit-types.d.ts +1 -0
  1217. package/utils/files/format-size.d.ts +1 -5
  1218. package/utils/files/get-accept-array.d.ts +1 -5
  1219. package/utils/files/package.json +2 -5
  1220. package/utils/files/taiga-ui-kit-utils-files.d.ts +1 -0
  1221. package/utils/format/package.json +2 -5
  1222. package/utils/format/string-hash-to-hsl.d.ts +1 -3
  1223. package/utils/format/taiga-ui-kit-utils-format.d.ts +1 -0
  1224. package/utils/index.d.ts +0 -1
  1225. package/utils/mask/create-auto-corrected-date-pipe.d.ts +1 -5
  1226. package/utils/mask/package.json +2 -5
  1227. package/utils/mask/taiga-ui-kit-utils-mask.d.ts +1 -0
  1228. package/utils/math/key-steps.d.ts +0 -1
  1229. package/utils/math/package.json +2 -5
  1230. package/utils/math/taiga-ui-kit-utils-math.d.ts +1 -0
  1231. package/utils/miscellaneous/get-precision.d.ts +1 -3
  1232. package/utils/miscellaneous/is-flat.d.ts +1 -5
  1233. package/utils/miscellaneous/package.json +2 -5
  1234. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -4
  1235. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +1 -0
  1236. package/utils/package.json +2 -5
  1237. package/utils/taiga-ui-kit-utils.d.ts +1 -0
  1238. package/validators/package.json +2 -5
  1239. package/validators/taiga-ui-kit-validators.d.ts +1 -0
  1240. package/abstract/index.d.ts +0 -2
  1241. package/abstract/input-slider.d.ts +0 -77
  1242. package/abstract/package.json +0 -13
  1243. package/abstract/slider/slider.d.ts +0 -67
  1244. package/abstract/taiga-ui-kit-abstract.d.ts +0 -4
  1245. package/abstract/taiga-ui-kit-abstract.metadata.json +0 -1
  1246. package/bundles/taiga-ui-kit-abstract.umd.js +0 -750
  1247. package/bundles/taiga-ui-kit-abstract.umd.js.map +0 -1
  1248. package/bundles/taiga-ui-kit-abstract.umd.min.js +0 -2
  1249. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +0 -1
  1250. package/bundles/taiga-ui-kit-classes.umd.min.js +0 -2
  1251. package/bundles/taiga-ui-kit-classes.umd.min.js.map +0 -1
  1252. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +0 -2
  1253. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +0 -1
  1254. package/bundles/taiga-ui-kit-components-action.umd.min.js +0 -2
  1255. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +0 -1
  1256. package/bundles/taiga-ui-kit-components-arrow.umd.min.js +0 -2
  1257. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +0 -1
  1258. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +0 -2
  1259. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +0 -1
  1260. package/bundles/taiga-ui-kit-components-badge.umd.min.js +0 -2
  1261. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +0 -1
  1262. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +0 -2
  1263. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +0 -1
  1264. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +0 -2
  1265. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +0 -1
  1266. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +0 -2
  1267. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +0 -1
  1268. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +0 -2
  1269. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +0 -1
  1270. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +0 -2
  1271. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +0 -1
  1272. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +0 -2
  1273. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +0 -1
  1274. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +0 -2
  1275. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +0 -1
  1276. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +0 -2
  1277. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +0 -1
  1278. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +0 -2
  1279. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +0 -1
  1280. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +0 -2
  1281. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +0 -1
  1282. package/bundles/taiga-ui-kit-components-field-error.umd.js +0 -435
  1283. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +0 -1
  1284. package/bundles/taiga-ui-kit-components-field-error.umd.min.js +0 -2
  1285. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +0 -1
  1286. package/bundles/taiga-ui-kit-components-files.umd.min.js +0 -2
  1287. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +0 -1
  1288. package/bundles/taiga-ui-kit-components-filter.umd.min.js +0 -2
  1289. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +0 -1
  1290. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +0 -2
  1291. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +0 -1
  1292. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +0 -2
  1293. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +0 -1
  1294. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +0 -2
  1295. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +0 -1
  1296. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +0 -2
  1297. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +0 -1
  1298. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +0 -2
  1299. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +0 -1
  1300. package/bundles/taiga-ui-kit-components-input-file.umd.js +0 -779
  1301. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +0 -1
  1302. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +0 -2
  1303. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +0 -1
  1304. package/bundles/taiga-ui-kit-components-input-files.umd.min.js +0 -2
  1305. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +0 -1
  1306. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +0 -2
  1307. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +0 -1
  1308. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +0 -2
  1309. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +0 -1
  1310. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +0 -2
  1311. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +0 -1
  1312. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +0 -2
  1313. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +0 -1
  1314. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +0 -2
  1315. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +0 -1
  1316. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +0 -2
  1317. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +0 -1
  1318. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +0 -2
  1319. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +0 -1
  1320. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +0 -2
  1321. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +0 -1
  1322. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +0 -2
  1323. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +0 -1
  1324. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +0 -2
  1325. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +0 -1
  1326. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +0 -2
  1327. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +0 -1
  1328. package/bundles/taiga-ui-kit-components-input.umd.min.js +0 -2
  1329. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +0 -1
  1330. package/bundles/taiga-ui-kit-components-island.umd.min.js +0 -2
  1331. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +0 -1
  1332. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +0 -2
  1333. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +0 -1
  1334. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +0 -2
  1335. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +0 -1
  1336. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +0 -2
  1337. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +0 -1
  1338. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +0 -2
  1339. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +0 -1
  1340. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +0 -2
  1341. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +0 -1
  1342. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +0 -2
  1343. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +0 -1
  1344. package/bundles/taiga-ui-kit-components-progress.umd.min.js +0 -2
  1345. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +0 -1
  1346. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +0 -2
  1347. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +0 -1
  1348. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js +0 -2
  1349. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +0 -1
  1350. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +0 -2
  1351. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +0 -1
  1352. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +0 -2
  1353. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +0 -1
  1354. package/bundles/taiga-ui-kit-components-radio.umd.min.js +0 -2
  1355. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +0 -1
  1356. package/bundles/taiga-ui-kit-components-range.umd.min.js +0 -2
  1357. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +0 -1
  1358. package/bundles/taiga-ui-kit-components-rating.umd.min.js +0 -2
  1359. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +0 -1
  1360. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +0 -2
  1361. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +0 -1
  1362. package/bundles/taiga-ui-kit-components-select.umd.min.js +0 -2
  1363. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +0 -1
  1364. package/bundles/taiga-ui-kit-components-slider.umd.min.js +0 -2
  1365. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +0 -1
  1366. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +0 -2
  1367. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +0 -1
  1368. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +0 -2
  1369. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +0 -1
  1370. package/bundles/taiga-ui-kit-components-tag.umd.min.js +0 -2
  1371. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +0 -1
  1372. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +0 -2
  1373. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +0 -1
  1374. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +0 -2
  1375. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +0 -1
  1376. package/bundles/taiga-ui-kit-components-tree.umd.min.js +0 -2
  1377. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +0 -1
  1378. package/bundles/taiga-ui-kit-components.umd.min.js +0 -2
  1379. package/bundles/taiga-ui-kit-components.umd.min.js.map +0 -1
  1380. package/bundles/taiga-ui-kit-constants.umd.min.js +0 -2
  1381. package/bundles/taiga-ui-kit-constants.umd.min.js.map +0 -1
  1382. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +0 -408
  1383. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +0 -1
  1384. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +0 -2
  1385. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +0 -1
  1386. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +0 -323
  1387. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +0 -1
  1388. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js +0 -2
  1389. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +0 -1
  1390. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +0 -514
  1391. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +0 -1
  1392. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +0 -2
  1393. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +0 -1
  1394. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +0 -2
  1395. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +0 -1
  1396. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +0 -2
  1397. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +0 -1
  1398. package/bundles/taiga-ui-kit-directives-present.umd.min.js +0 -2
  1399. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +0 -1
  1400. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js +0 -2
  1401. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +0 -1
  1402. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js +0 -2
  1403. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +0 -1
  1404. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js +0 -2
  1405. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +0 -1
  1406. package/bundles/taiga-ui-kit-directives.umd.min.js +0 -2
  1407. package/bundles/taiga-ui-kit-directives.umd.min.js.map +0 -1
  1408. package/bundles/taiga-ui-kit-enums.umd.js +0 -88
  1409. package/bundles/taiga-ui-kit-enums.umd.js.map +0 -1
  1410. package/bundles/taiga-ui-kit-enums.umd.min.js +0 -2
  1411. package/bundles/taiga-ui-kit-enums.umd.min.js.map +0 -1
  1412. package/bundles/taiga-ui-kit-interfaces.umd.min.js +0 -2
  1413. package/bundles/taiga-ui-kit-interfaces.umd.min.js.map +0 -1
  1414. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +0 -2
  1415. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +0 -1
  1416. package/bundles/taiga-ui-kit-internal.umd.min.js +0 -2
  1417. package/bundles/taiga-ui-kit-internal.umd.min.js.map +0 -1
  1418. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +0 -2
  1419. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +0 -1
  1420. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +0 -2
  1421. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +0 -1
  1422. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js +0 -2
  1423. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +0 -1
  1424. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js +0 -2
  1425. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +0 -1
  1426. package/bundles/taiga-ui-kit-pipes.umd.min.js +0 -2
  1427. package/bundles/taiga-ui-kit-pipes.umd.min.js.map +0 -1
  1428. package/bundles/taiga-ui-kit-providers.umd.min.js +0 -2
  1429. package/bundles/taiga-ui-kit-providers.umd.min.js.map +0 -1
  1430. package/bundles/taiga-ui-kit-tokens.umd.min.js +0 -2
  1431. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +0 -1
  1432. package/bundles/taiga-ui-kit-types.umd.min.js +0 -2
  1433. package/bundles/taiga-ui-kit-types.umd.min.js.map +0 -1
  1434. package/bundles/taiga-ui-kit-utils-dom.umd.js +0 -122
  1435. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +0 -1
  1436. package/bundles/taiga-ui-kit-utils-dom.umd.min.js +0 -2
  1437. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +0 -1
  1438. package/bundles/taiga-ui-kit-utils-files.umd.min.js +0 -2
  1439. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +0 -1
  1440. package/bundles/taiga-ui-kit-utils-format.umd.min.js +0 -2
  1441. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +0 -1
  1442. package/bundles/taiga-ui-kit-utils-mask.umd.min.js +0 -2
  1443. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +0 -1
  1444. package/bundles/taiga-ui-kit-utils-math.umd.min.js +0 -2
  1445. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +0 -1
  1446. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +0 -2
  1447. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +0 -1
  1448. package/bundles/taiga-ui-kit-utils.umd.min.js +0 -2
  1449. package/bundles/taiga-ui-kit-utils.umd.min.js.map +0 -1
  1450. package/bundles/taiga-ui-kit-validators.umd.min.js +0 -2
  1451. package/bundles/taiga-ui-kit-validators.umd.min.js.map +0 -1
  1452. package/bundles/taiga-ui-kit.umd.min.js +0 -2
  1453. package/bundles/taiga-ui-kit.umd.min.js.map +0 -1
  1454. package/classes/taiga-ui-kit-classes.metadata.json +0 -1
  1455. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +0 -1
  1456. package/components/action/taiga-ui-kit-components-action.metadata.json +0 -1
  1457. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +0 -1
  1458. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +0 -1
  1459. package/components/badge/taiga-ui-kit-components-badge.metadata.json +0 -1
  1460. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +0 -1
  1461. package/components/breadcrumbs/breadcrumb.directive.d.ts +0 -2
  1462. package/components/breadcrumbs/breadcrumbs-wrapper.component.d.ts +0 -10
  1463. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +0 -1
  1464. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +0 -1
  1465. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +0 -1
  1466. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +0 -1
  1467. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +0 -1
  1468. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +0 -1
  1469. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +0 -1
  1470. package/components/combo-box/combo-box.providers.d.ts +0 -2
  1471. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +0 -1
  1472. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +0 -1
  1473. package/components/field-error/field-error.component.d.ts +0 -27
  1474. package/components/field-error/field-error.module.d.ts +0 -5
  1475. package/components/field-error/index.d.ts +0 -2
  1476. package/components/field-error/package.json +0 -13
  1477. package/components/field-error/taiga-ui-kit-components-field-error.d.ts +0 -4
  1478. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +0 -1
  1479. package/components/files/taiga-ui-kit-components-files.metadata.json +0 -1
  1480. package/components/filter/taiga-ui-kit-components-filter.metadata.json +0 -1
  1481. package/components/input/input.providers.d.ts +0 -1
  1482. package/components/input/taiga-ui-kit-components-input.metadata.json +0 -1
  1483. package/components/input-copy/input-copy.providers.d.ts +0 -2
  1484. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +0 -1
  1485. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +0 -1
  1486. package/components/input-date/input-date.providers.d.ts +0 -5
  1487. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +0 -1
  1488. package/components/input-date-range/input-date-range.providers.d.ts +0 -5
  1489. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +0 -1
  1490. package/components/input-date-time/input-date-time.providers.d.ts +0 -5
  1491. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +0 -1
  1492. package/components/input-file/file/file.component.d.ts +0 -37
  1493. package/components/input-file/index.d.ts +0 -3
  1494. package/components/input-file/input-file.component.d.ts +0 -54
  1495. package/components/input-file/input-file.module.d.ts +0 -2
  1496. package/components/input-file/package.json +0 -13
  1497. package/components/input-file/taiga-ui-kit-components-input-file.d.ts +0 -4
  1498. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +0 -1
  1499. package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +0 -1
  1500. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +0 -1
  1501. package/components/input-month/input-month.providers.d.ts +0 -2
  1502. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +0 -1
  1503. package/components/input-month-range/input-month-range.providers.d.ts +0 -2
  1504. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +0 -1
  1505. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +0 -1
  1506. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +0 -1
  1507. package/components/input-phone/input-phone.providers.d.ts +0 -5
  1508. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +0 -1
  1509. package/components/input-phone-international/const/countries.d.ts +0 -26
  1510. package/components/input-phone-international/country-iso-code.d.ts +0 -207
  1511. package/components/input-phone-international/interfaces/country.d.ts +0 -7
  1512. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +0 -1
  1513. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +0 -1
  1514. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +0 -1
  1515. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +0 -1
  1516. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +0 -1
  1517. package/components/island/taiga-ui-kit-components-island.metadata.json +0 -1
  1518. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +0 -1
  1519. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +0 -1
  1520. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +0 -1
  1521. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +0 -1
  1522. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +0 -1
  1523. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +0 -1
  1524. package/components/progress/taiga-ui-kit-components-progress.metadata.json +0 -1
  1525. package/components/progress/utils/abstract-color-segments.d.ts +0 -9
  1526. package/components/progress/utils/calculate-color-segments.d.ts +0 -1
  1527. package/components/progress/utils/progress-color-segments-async.pipe.d.ts +0 -10
  1528. package/components/progress/utils/progress-color-segments.pipe.d.ts +0 -9
  1529. package/components/radio/taiga-ui-kit-components-radio.metadata.json +0 -1
  1530. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +0 -1
  1531. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +0 -1
  1532. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +0 -1
  1533. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +0 -1
  1534. package/components/range/taiga-ui-kit-components-range.metadata.json +0 -1
  1535. package/components/rating/taiga-ui-kit-components-rating.metadata.json +0 -1
  1536. package/components/select/select.providers.d.ts +0 -2
  1537. package/components/select/taiga-ui-kit-components-select.metadata.json +0 -1
  1538. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +0 -1
  1539. package/components/slider/slider-old.component.d.ts +0 -21
  1540. package/components/slider/taiga-ui-kit-components-slider.metadata.json +0 -1
  1541. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +0 -1
  1542. package/components/tabs/tab.directive.d.ts +0 -5
  1543. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +0 -1
  1544. package/components/tag/taiga-ui-kit-components-tag.metadata.json +0 -1
  1545. package/components/taiga-ui-kit-components.metadata.json +0 -1
  1546. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +0 -1
  1547. package/components/text-area/text-area.providers.d.ts +0 -2
  1548. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +0 -1
  1549. package/components/tree/taiga-ui-kit-components-tree.metadata.json +0 -1
  1550. package/constants/taiga-ui-kit-constants.metadata.json +0 -1
  1551. package/directives/dropdown-context/dropdown-context.directive.d.ts +0 -27
  1552. package/directives/dropdown-context/dropdown-context.module.d.ts +0 -2
  1553. package/directives/dropdown-context/index.d.ts +0 -2
  1554. package/directives/dropdown-context/package.json +0 -13
  1555. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.d.ts +0 -4
  1556. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +0 -1
  1557. package/directives/dropdown-hover/dropdown-hover.directive.d.ts +0 -8
  1558. package/directives/dropdown-hover/dropdown-hover.module.d.ts +0 -2
  1559. package/directives/dropdown-hover/index.d.ts +0 -2
  1560. package/directives/dropdown-hover/package.json +0 -13
  1561. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.d.ts +0 -4
  1562. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +0 -1
  1563. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +0 -43
  1564. package/directives/dropdown-selection/dropdown-selection.module.d.ts +0 -2
  1565. package/directives/dropdown-selection/index.d.ts +0 -2
  1566. package/directives/dropdown-selection/package.json +0 -13
  1567. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.d.ts +0 -4
  1568. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +0 -1
  1569. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +0 -1
  1570. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +0 -1
  1571. package/directives/present/taiga-ui-kit-directives-present.metadata.json +0 -1
  1572. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +0 -1
  1573. package/directives/taiga-ui-kit-directives.metadata.json +0 -1
  1574. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +0 -1
  1575. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +0 -1
  1576. package/enums/borders.d.ts +0 -7
  1577. package/enums/dropdown-position.d.ts +0 -9
  1578. package/enums/file-state.d.ts +0 -10
  1579. package/enums/index.d.ts +0 -7
  1580. package/enums/marker-icon-mode.d.ts +0 -13
  1581. package/enums/package.json +0 -13
  1582. package/enums/status.d.ts +0 -11
  1583. package/enums/step-state.d.ts +0 -9
  1584. package/enums/taiga-ui-kit-enums.d.ts +0 -4
  1585. package/enums/taiga-ui-kit-enums.metadata.json +0 -1
  1586. package/enums/text-align.d.ts +0 -8
  1587. package/esm2015/abstract/index.js +0 -3
  1588. package/esm2015/abstract/input-slider.js +0 -171
  1589. package/esm2015/abstract/slider/slider.js +0 -262
  1590. package/esm2015/abstract/taiga-ui-kit-abstract.js +0 -5
  1591. package/esm2015/components/breadcrumbs/breadcrumb.directive.js +0 -11
  1592. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -40
  1593. package/esm2015/components/combo-box/combo-box.providers.js +0 -28
  1594. package/esm2015/components/field-error/field-error.component.js +0 -132
  1595. package/esm2015/components/field-error/field-error.module.js +0 -20
  1596. package/esm2015/components/field-error/index.js +0 -3
  1597. package/esm2015/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1598. package/esm2015/components/input/input.providers.js +0 -22
  1599. package/esm2015/components/input-copy/input-copy.providers.js +0 -16
  1600. package/esm2015/components/input-date/input-date.providers.js +0 -29
  1601. package/esm2015/components/input-date-range/input-date-range.providers.js +0 -29
  1602. package/esm2015/components/input-date-time/input-date-time.providers.js +0 -29
  1603. package/esm2015/components/input-file/file/file.component.js +0 -149
  1604. package/esm2015/components/input-file/index.js +0 -4
  1605. package/esm2015/components/input-file/input-file.component.js +0 -264
  1606. package/esm2015/components/input-file/input-file.module.js +0 -36
  1607. package/esm2015/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1608. package/esm2015/components/input-month/input-month.providers.js +0 -19
  1609. package/esm2015/components/input-month-range/input-month-range.providers.js +0 -19
  1610. package/esm2015/components/input-phone/input-phone.providers.js +0 -35
  1611. package/esm2015/components/input-phone-international/const/countries.js +0 -257
  1612. package/esm2015/components/input-phone-international/country-iso-code.js +0 -209
  1613. package/esm2015/components/input-phone-international/interfaces/country.js +0 -1
  1614. package/esm2015/components/progress/utils/abstract-color-segments.js +0 -32
  1615. package/esm2015/components/progress/utils/calculate-color-segments.js +0 -11
  1616. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +0 -21
  1617. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +0 -19
  1618. package/esm2015/components/select/select.providers.js +0 -28
  1619. package/esm2015/components/slider/slider-old.component.js +0 -77
  1620. package/esm2015/components/tabs/tab.directive.js +0 -18
  1621. package/esm2015/components/text-area/text-area.providers.js +0 -18
  1622. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +0 -125
  1623. package/esm2015/directives/dropdown-context/dropdown-context.module.js +0 -15
  1624. package/esm2015/directives/dropdown-context/index.js +0 -3
  1625. package/esm2015/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
  1626. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +0 -50
  1627. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +0 -13
  1628. package/esm2015/directives/dropdown-hover/index.js +0 -3
  1629. package/esm2015/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
  1630. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +0 -231
  1631. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +0 -15
  1632. package/esm2015/directives/dropdown-selection/index.js +0 -3
  1633. package/esm2015/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
  1634. package/esm2015/enums/borders.js +0 -9
  1635. package/esm2015/enums/dropdown-position.js +0 -10
  1636. package/esm2015/enums/file-state.js +0 -11
  1637. package/esm2015/enums/index.js +0 -8
  1638. package/esm2015/enums/marker-icon-mode.js +0 -15
  1639. package/esm2015/enums/status.js +0 -13
  1640. package/esm2015/enums/step-state.js +0 -10
  1641. package/esm2015/enums/taiga-ui-kit-enums.js +0 -5
  1642. package/esm2015/enums/text-align.js +0 -10
  1643. package/esm2015/interfaces/bread-crumbs-item.js +0 -1
  1644. package/esm2015/interfaces/with-date-mask-pipe-config.js +0 -1
  1645. package/esm2015/tokens/calendar-data-stream.js +0 -3
  1646. package/esm2015/tokens/mobile-aware.js +0 -6
  1647. package/esm2015/tokens/tag-status.js +0 -6
  1648. package/esm2015/utils/dom/get-word-range.js +0 -53
  1649. package/esm2015/utils/dom/index.js +0 -4
  1650. package/esm2015/utils/dom/scroll-to-element.js +0 -23
  1651. package/esm2015/utils/dom/set-range-offset.js +0 -29
  1652. package/esm2015/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
  1653. package/esm5/abstract/index.js +0 -3
  1654. package/esm5/abstract/input-slider.js +0 -202
  1655. package/esm5/abstract/slider/slider.js +0 -298
  1656. package/esm5/abstract/taiga-ui-kit-abstract.js +0 -5
  1657. package/esm5/classes/day-range-period.js +0 -12
  1658. package/esm5/classes/index.js +0 -4
  1659. package/esm5/classes/named-day.js +0 -14
  1660. package/esm5/classes/stringifiable-item.js +0 -15
  1661. package/esm5/classes/taiga-ui-kit-classes.js +0 -5
  1662. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +0 -24
  1663. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +0 -14
  1664. package/esm5/components/accordion/accordion-item/accordion-item.component.js +0 -160
  1665. package/esm5/components/accordion/accordion.component.js +0 -62
  1666. package/esm5/components/accordion/accordion.module.js +0 -44
  1667. package/esm5/components/accordion/index.js +0 -6
  1668. package/esm5/components/accordion/taiga-ui-kit-components-accordion.js +0 -5
  1669. package/esm5/components/action/action.component.js +0 -89
  1670. package/esm5/components/action/action.module.js +0 -27
  1671. package/esm5/components/action/index.js +0 -3
  1672. package/esm5/components/action/taiga-ui-kit-components-action.js +0 -5
  1673. package/esm5/components/arrow/arrow-options.js +0 -29
  1674. package/esm5/components/arrow/arrow.component.js +0 -41
  1675. package/esm5/components/arrow/arrow.module.js +0 -21
  1676. package/esm5/components/arrow/index.js +0 -4
  1677. package/esm5/components/arrow/taiga-ui-kit-components-arrow.js +0 -5
  1678. package/esm5/components/avatar/avatar-options.js +0 -16
  1679. package/esm5/components/avatar/avatar.component.js +0 -98
  1680. package/esm5/components/avatar/avatar.module.js +0 -19
  1681. package/esm5/components/avatar/index.js +0 -4
  1682. package/esm5/components/avatar/taiga-ui-kit-components-avatar.js +0 -5
  1683. package/esm5/components/badge/badge.component.js +0 -87
  1684. package/esm5/components/badge/badge.module.js +0 -18
  1685. package/esm5/components/badge/index.js +0 -3
  1686. package/esm5/components/badge/taiga-ui-kit-components-badge.js +0 -5
  1687. package/esm5/components/badged-content/badged-content.component.js +0 -106
  1688. package/esm5/components/badged-content/badged-content.module.js +0 -21
  1689. package/esm5/components/badged-content/index.js +0 -3
  1690. package/esm5/components/badged-content/taiga-ui-kit-components-badged-content.js +0 -5
  1691. package/esm5/components/breadcrumbs/breadcrumb.directive.js +0 -14
  1692. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -42
  1693. package/esm5/components/breadcrumbs/breadcrumbs.component.js +0 -35
  1694. package/esm5/components/breadcrumbs/breadcrumbs.module.js +0 -39
  1695. package/esm5/components/breadcrumbs/index.js +0 -5
  1696. package/esm5/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +0 -5
  1697. package/esm5/components/calendar-month/calendar-month.component.js +0 -213
  1698. package/esm5/components/calendar-month/calendar-month.module.js +0 -30
  1699. package/esm5/components/calendar-month/index.js +0 -3
  1700. package/esm5/components/calendar-month/taiga-ui-kit-components-calendar-month.js +0 -5
  1701. package/esm5/components/calendar-range/calendar-range.component.js +0 -181
  1702. package/esm5/components/calendar-range/calendar-range.module.js +0 -30
  1703. package/esm5/components/calendar-range/index.js +0 -3
  1704. package/esm5/components/calendar-range/taiga-ui-kit-components-calendar-range.js +0 -5
  1705. package/esm5/components/carousel/carousel-autoscroll.directive.js +0 -22
  1706. package/esm5/components/carousel/carousel-buttons.directive.js +0 -27
  1707. package/esm5/components/carousel/carousel-scroll.directive.js +0 -35
  1708. package/esm5/components/carousel/carousel.component.js +0 -158
  1709. package/esm5/components/carousel/carousel.directive.js +0 -45
  1710. package/esm5/components/carousel/carousel.module.js +0 -41
  1711. package/esm5/components/carousel/index.js +0 -7
  1712. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +0 -5
  1713. package/esm5/components/checkbox/checkbox.component.js +0 -89
  1714. package/esm5/components/checkbox/checkbox.module.js +0 -29
  1715. package/esm5/components/checkbox/index.js +0 -3
  1716. package/esm5/components/checkbox/taiga-ui-kit-components-checkbox.js +0 -5
  1717. package/esm5/components/checkbox-block/checkbox-block.component.js +0 -123
  1718. package/esm5/components/checkbox-block/checkbox-block.module.js +0 -27
  1719. package/esm5/components/checkbox-block/index.js +0 -3
  1720. package/esm5/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +0 -5
  1721. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +0 -89
  1722. package/esm5/components/checkbox-labeled/checkbox-labeled.module.js +0 -27
  1723. package/esm5/components/checkbox-labeled/index.js +0 -3
  1724. package/esm5/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +0 -5
  1725. package/esm5/components/combo-box/combo-box-strict.directive.js +0 -34
  1726. package/esm5/components/combo-box/combo-box.component.js +0 -212
  1727. package/esm5/components/combo-box/combo-box.directive.js +0 -35
  1728. package/esm5/components/combo-box/combo-box.module.js +0 -42
  1729. package/esm5/components/combo-box/combo-box.providers.js +0 -28
  1730. package/esm5/components/combo-box/index.js +0 -6
  1731. package/esm5/components/combo-box/taiga-ui-kit-components-combo-box.js +0 -5
  1732. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +0 -46
  1733. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +0 -41
  1734. package/esm5/components/data-list-wrapper/data-list-wrapper.js +0 -64
  1735. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +0 -32
  1736. package/esm5/components/data-list-wrapper/index.js +0 -5
  1737. package/esm5/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +0 -5
  1738. package/esm5/components/field-error/field-error.component.js +0 -165
  1739. package/esm5/components/field-error/field-error.module.js +0 -23
  1740. package/esm5/components/field-error/index.js +0 -3
  1741. package/esm5/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1742. package/esm5/components/files/file/file.component.js +0 -213
  1743. package/esm5/components/files/files.component.js +0 -50
  1744. package/esm5/components/files/files.module.js +0 -32
  1745. package/esm5/components/files/index.js +0 -4
  1746. package/esm5/components/files/taiga-ui-kit-components-files.js +0 -5
  1747. package/esm5/components/filter/filter.component.js +0 -97
  1748. package/esm5/components/filter/filter.module.js +0 -30
  1749. package/esm5/components/filter/index.js +0 -3
  1750. package/esm5/components/filter/taiga-ui-kit-components-filter.js +0 -5
  1751. package/esm5/components/index.js +0 -62
  1752. package/esm5/components/input/index.js +0 -5
  1753. package/esm5/components/input/input.component.js +0 -108
  1754. package/esm5/components/input/input.directive.js +0 -28
  1755. package/esm5/components/input/input.module.js +0 -26
  1756. package/esm5/components/input/input.providers.js +0 -22
  1757. package/esm5/components/input/taiga-ui-kit-components-input.js +0 -5
  1758. package/esm5/components/input-copy/index.js +0 -5
  1759. package/esm5/components/input-copy/input-copy.component.js +0 -137
  1760. package/esm5/components/input-copy/input-copy.directive.js +0 -28
  1761. package/esm5/components/input-copy/input-copy.module.js +0 -28
  1762. package/esm5/components/input-copy/input-copy.providers.js +0 -16
  1763. package/esm5/components/input-copy/taiga-ui-kit-components-input-copy.js +0 -5
  1764. package/esm5/components/input-count/index.js +0 -5
  1765. package/esm5/components/input-count/input-count-options.js +0 -26
  1766. package/esm5/components/input-count/input-count.component.js +0 -295
  1767. package/esm5/components/input-count/input-count.directive.js +0 -32
  1768. package/esm5/components/input-count/input-count.module.js +0 -31
  1769. package/esm5/components/input-count/taiga-ui-kit-components-input-count.js +0 -5
  1770. package/esm5/components/input-date/index.js +0 -5
  1771. package/esm5/components/input-date/input-date.component.js +0 -271
  1772. package/esm5/components/input-date/input-date.directive.js +0 -38
  1773. package/esm5/components/input-date/input-date.module.js +0 -37
  1774. package/esm5/components/input-date/input-date.providers.js +0 -31
  1775. package/esm5/components/input-date/taiga-ui-kit-components-input-date.js +0 -5
  1776. package/esm5/components/input-date-range/index.js +0 -5
  1777. package/esm5/components/input-date-range/input-date-range.component.js +0 -354
  1778. package/esm5/components/input-date-range/input-date-range.directive.js +0 -38
  1779. package/esm5/components/input-date-range/input-date-range.module.js +0 -41
  1780. package/esm5/components/input-date-range/input-date-range.providers.js +0 -31
  1781. package/esm5/components/input-date-range/taiga-ui-kit-components-input-date-range.js +0 -5
  1782. package/esm5/components/input-date-time/index.js +0 -5
  1783. package/esm5/components/input-date-time/input-date-time.component.js +0 -304
  1784. package/esm5/components/input-date-time/input-date-time.directive.js +0 -38
  1785. package/esm5/components/input-date-time/input-date-time.module.js +0 -40
  1786. package/esm5/components/input-date-time/input-date-time.providers.js +0 -31
  1787. package/esm5/components/input-date-time/taiga-ui-kit-components-input-date-time.js +0 -5
  1788. package/esm5/components/input-file/file/file.component.js +0 -194
  1789. package/esm5/components/input-file/index.js +0 -4
  1790. package/esm5/components/input-file/input-file.component.js +0 -311
  1791. package/esm5/components/input-file/input-file.module.js +0 -39
  1792. package/esm5/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1793. package/esm5/components/input-files/index.js +0 -3
  1794. package/esm5/components/input-files/input-files.component.js +0 -247
  1795. package/esm5/components/input-files/input-files.module.js +0 -44
  1796. package/esm5/components/input-files/taiga-ui-kit-components-input-files.js +0 -5
  1797. package/esm5/components/input-inline/index.js +0 -3
  1798. package/esm5/components/input-inline/input-inline.component.js +0 -78
  1799. package/esm5/components/input-inline/input-inline.module.js +0 -27
  1800. package/esm5/components/input-inline/taiga-ui-kit-components-input-inline.js +0 -5
  1801. package/esm5/components/input-month/index.js +0 -5
  1802. package/esm5/components/input-month/input-month.component.js +0 -117
  1803. package/esm5/components/input-month/input-month.directive.js +0 -67
  1804. package/esm5/components/input-month/input-month.module.js +0 -30
  1805. package/esm5/components/input-month/input-month.providers.js +0 -19
  1806. package/esm5/components/input-month/taiga-ui-kit-components-input-month.js +0 -5
  1807. package/esm5/components/input-month-range/index.js +0 -5
  1808. package/esm5/components/input-month-range/input-month-range.component.js +0 -125
  1809. package/esm5/components/input-month-range/input-month-range.directive.js +0 -74
  1810. package/esm5/components/input-month-range/input-month-range.module.js +0 -35
  1811. package/esm5/components/input-month-range/input-month-range.providers.js +0 -19
  1812. package/esm5/components/input-month-range/taiga-ui-kit-components-input-month-range.js +0 -5
  1813. package/esm5/components/input-number/index.js +0 -4
  1814. package/esm5/components/input-number/input-number.component.js +0 -294
  1815. package/esm5/components/input-number/input-number.directive.js +0 -45
  1816. package/esm5/components/input-number/input-number.module.js +0 -32
  1817. package/esm5/components/input-number/taiga-ui-kit-components-input-number.js +0 -5
  1818. package/esm5/components/input-password/index.js +0 -5
  1819. package/esm5/components/input-password/input-password-options.js +0 -26
  1820. package/esm5/components/input-password/input-password.component.js +0 -137
  1821. package/esm5/components/input-password/input-password.directive.js +0 -36
  1822. package/esm5/components/input-password/input-password.module.js +0 -34
  1823. package/esm5/components/input-password/taiga-ui-kit-components-input-password.js +0 -5
  1824. package/esm5/components/input-phone/index.js +0 -6
  1825. package/esm5/components/input-phone/input-phone.component.js +0 -300
  1826. package/esm5/components/input-phone/input-phone.directive.js +0 -45
  1827. package/esm5/components/input-phone/input-phone.module.js +0 -29
  1828. package/esm5/components/input-phone/input-phone.options.js +0 -15
  1829. package/esm5/components/input-phone/input-phone.providers.js +0 -35
  1830. package/esm5/components/input-phone/taiga-ui-kit-components-input-phone.js +0 -5
  1831. package/esm5/components/input-phone-international/const/countries.js +0 -260
  1832. package/esm5/components/input-phone-international/country-iso-code.js +0 -209
  1833. package/esm5/components/input-phone-international/index.js +0 -8
  1834. package/esm5/components/input-phone-international/input-phone-international.component.js +0 -215
  1835. package/esm5/components/input-phone-international/input-phone-international.module.js +0 -40
  1836. package/esm5/components/input-phone-international/input-phone-international.options.js +0 -15
  1837. package/esm5/components/input-phone-international/interfaces/country.js +0 -1
  1838. package/esm5/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +0 -5
  1839. package/esm5/components/input-phone-international/tokens/countries-masks.js +0 -6
  1840. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +0 -14
  1841. package/esm5/components/input-range/index.js +0 -3
  1842. package/esm5/components/input-range/input-range.component.js +0 -316
  1843. package/esm5/components/input-range/input-range.module.js +0 -35
  1844. package/esm5/components/input-range/taiga-ui-kit-components-input-range.js +0 -5
  1845. package/esm5/components/input-slider/index.js +0 -3
  1846. package/esm5/components/input-slider/input-slider.component.js +0 -306
  1847. package/esm5/components/input-slider/input-slider.module.js +0 -35
  1848. package/esm5/components/input-slider/taiga-ui-kit-components-input-slider.js +0 -5
  1849. package/esm5/components/input-tag/index.js +0 -4
  1850. package/esm5/components/input-tag/input-tag-options.js +0 -9
  1851. package/esm5/components/input-tag/input-tag.component.js +0 -521
  1852. package/esm5/components/input-tag/input-tag.module.js +0 -37
  1853. package/esm5/components/input-tag/taiga-ui-kit-components-input-tag.js +0 -5
  1854. package/esm5/components/input-time/index.js +0 -4
  1855. package/esm5/components/input-time/input-time-options.js +0 -23
  1856. package/esm5/components/input-time/input-time.component.js +0 -303
  1857. package/esm5/components/input-time/input-time.module.js +0 -29
  1858. package/esm5/components/input-time/taiga-ui-kit-components-input-time.js +0 -5
  1859. package/esm5/components/island/index.js +0 -3
  1860. package/esm5/components/island/island.component.js +0 -103
  1861. package/esm5/components/island/island.module.js +0 -18
  1862. package/esm5/components/island/taiga-ui-kit-components-island.js +0 -5
  1863. package/esm5/components/line-clamp/index.js +0 -4
  1864. package/esm5/components/line-clamp/line-clamp-options.js +0 -13
  1865. package/esm5/components/line-clamp/line-clamp.component.js +0 -148
  1866. package/esm5/components/line-clamp/line-clamp.module.js +0 -27
  1867. package/esm5/components/line-clamp/taiga-ui-kit-components-line-clamp.js +0 -5
  1868. package/esm5/components/marker-icon/index.js +0 -3
  1869. package/esm5/components/marker-icon/marker-icon.component.js +0 -46
  1870. package/esm5/components/marker-icon/marker-icon.module.js +0 -19
  1871. package/esm5/components/marker-icon/taiga-ui-kit-components-marker-icon.js +0 -5
  1872. package/esm5/components/multi-select/hide-selected.pipe.js +0 -45
  1873. package/esm5/components/multi-select/index.js +0 -7
  1874. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +0 -173
  1875. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +0 -60
  1876. package/esm5/components/multi-select/multi-select-options.js +0 -14
  1877. package/esm5/components/multi-select/multi-select.component.js +0 -306
  1878. package/esm5/components/multi-select/multi-select.module.js +0 -54
  1879. package/esm5/components/multi-select/taiga-ui-kit-components-multi-select.js +0 -5
  1880. package/esm5/components/multi-select-option/index.js +0 -3
  1881. package/esm5/components/multi-select-option/multi-select-option.component.js +0 -39
  1882. package/esm5/components/multi-select-option/multi-select-option.module.js +0 -20
  1883. package/esm5/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +0 -5
  1884. package/esm5/components/pagination/index.js +0 -3
  1885. package/esm5/components/pagination/pagination.component.js +0 -320
  1886. package/esm5/components/pagination/pagination.module.js +0 -29
  1887. package/esm5/components/pagination/taiga-ui-kit-components-pagination.js +0 -5
  1888. package/esm5/components/pdf-viewer/index.js +0 -5
  1889. package/esm5/components/pdf-viewer/pdf-viewer-options.js +0 -1
  1890. package/esm5/components/pdf-viewer/pdf-viewer.component.js +0 -43
  1891. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +0 -26
  1892. package/esm5/components/pdf-viewer/pdf-viewer.module.js +0 -31
  1893. package/esm5/components/pdf-viewer/pdf-viewer.service.js +0 -31
  1894. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +0 -5
  1895. package/esm5/components/progress/index.js +0 -10
  1896. package/esm5/components/progress/progress-bar/progress-bar.component.js +0 -28
  1897. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +0 -56
  1898. package/esm5/components/progress/progress-circle/progress-circle.component.js +0 -78
  1899. package/esm5/components/progress/progress-label/progress-label.component.js +0 -17
  1900. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +0 -52
  1901. package/esm5/components/progress/progress.module.js +0 -41
  1902. package/esm5/components/progress/taiga-ui-kit-components-progress.js +0 -5
  1903. package/esm5/components/progress/utils/abstract-color-segments.js +0 -33
  1904. package/esm5/components/progress/utils/calculate-color-segments.js +0 -13
  1905. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +0 -27
  1906. package/esm5/components/progress/utils/progress-color-segments.pipe.js +0 -24
  1907. package/esm5/components/radio/index.js +0 -4
  1908. package/esm5/components/radio/radio-options.js +0 -18
  1909. package/esm5/components/radio/radio.component.js +0 -165
  1910. package/esm5/components/radio/radio.module.js +0 -29
  1911. package/esm5/components/radio/taiga-ui-kit-components-radio.js +0 -5
  1912. package/esm5/components/radio-block/index.js +0 -3
  1913. package/esm5/components/radio-block/radio-block.component.js +0 -146
  1914. package/esm5/components/radio-block/radio-block.module.js +0 -27
  1915. package/esm5/components/radio-block/taiga-ui-kit-components-radio-block.js +0 -5
  1916. package/esm5/components/radio-group/index.js +0 -3
  1917. package/esm5/components/radio-group/radio-group.component.js +0 -25
  1918. package/esm5/components/radio-group/radio-group.module.js +0 -16
  1919. package/esm5/components/radio-group/taiga-ui-kit-components-radio-group.js +0 -5
  1920. package/esm5/components/radio-labeled/index.js +0 -3
  1921. package/esm5/components/radio-labeled/radio-labeled.component.js +0 -112
  1922. package/esm5/components/radio-labeled/radio-labeled.module.js +0 -29
  1923. package/esm5/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +0 -5
  1924. package/esm5/components/radio-list/index.js +0 -3
  1925. package/esm5/components/radio-list/radio-list.component.js +0 -114
  1926. package/esm5/components/radio-list/radio-list.module.js +0 -28
  1927. package/esm5/components/radio-list/taiga-ui-kit-components-radio-list.js +0 -5
  1928. package/esm5/components/range/index.js +0 -4
  1929. package/esm5/components/range/range-change.directive.js +0 -103
  1930. package/esm5/components/range/range.component.js +0 -269
  1931. package/esm5/components/range/range.module.js +0 -30
  1932. package/esm5/components/range/taiga-ui-kit-components-range.js +0 -5
  1933. package/esm5/components/rating/index.js +0 -4
  1934. package/esm5/components/rating/rating-options.js +0 -16
  1935. package/esm5/components/rating/rating.component.js +0 -111
  1936. package/esm5/components/rating/rating.module.js +0 -26
  1937. package/esm5/components/rating/taiga-ui-kit-components-rating.js +0 -5
  1938. package/esm5/components/select/index.js +0 -6
  1939. package/esm5/components/select/select-options.js +0 -13
  1940. package/esm5/components/select/select.component.js +0 -137
  1941. package/esm5/components/select/select.directive.js +0 -42
  1942. package/esm5/components/select/select.module.js +0 -32
  1943. package/esm5/components/select/select.providers.js +0 -28
  1944. package/esm5/components/select/taiga-ui-kit-components-select.js +0 -5
  1945. package/esm5/components/select-option/index.js +0 -3
  1946. package/esm5/components/select-option/select-option.component.js +0 -75
  1947. package/esm5/components/select-option/select-option.module.js +0 -20
  1948. package/esm5/components/select-option/taiga-ui-kit-components-select-option.js +0 -5
  1949. package/esm5/components/slider/helpers/slider-key-steps.directive.js +0 -136
  1950. package/esm5/components/slider/helpers/slider-readonly.directive.js +0 -87
  1951. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +0 -55
  1952. package/esm5/components/slider/index.js +0 -8
  1953. package/esm5/components/slider/slider-old.component.js +0 -96
  1954. package/esm5/components/slider/slider-options.js +0 -14
  1955. package/esm5/components/slider/slider.component.js +0 -161
  1956. package/esm5/components/slider/slider.module.js +0 -45
  1957. package/esm5/components/slider/taiga-ui-kit-components-slider.js +0 -5
  1958. package/esm5/components/stepper/index.js +0 -4
  1959. package/esm5/components/stepper/step/step.component.js +0 -103
  1960. package/esm5/components/stepper/stepper.component.js +0 -117
  1961. package/esm5/components/stepper/stepper.module.js +0 -20
  1962. package/esm5/components/stepper/taiga-ui-kit-components-stepper.js +0 -5
  1963. package/esm5/components/tabs/index.js +0 -10
  1964. package/esm5/components/tabs/tab/tab.component.js +0 -86
  1965. package/esm5/components/tabs/tab/tab.providers.js +0 -38
  1966. package/esm5/components/tabs/tab.directive.js +0 -19
  1967. package/esm5/components/tabs/tabs/tabs.component.js +0 -159
  1968. package/esm5/components/tabs/tabs-options.js +0 -15
  1969. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +0 -233
  1970. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +0 -43
  1971. package/esm5/components/tabs/tabs.module.js +0 -42
  1972. package/esm5/components/tabs/taiga-ui-kit-components-tabs.js +0 -5
  1973. package/esm5/components/tabs/underline/underline.component.js +0 -94
  1974. package/esm5/components/tag/index.js +0 -4
  1975. package/esm5/components/tag/tag-options.js +0 -16
  1976. package/esm5/components/tag/tag.component.js +0 -240
  1977. package/esm5/components/tag/tag.module.js +0 -29
  1978. package/esm5/components/tag/taiga-ui-kit-components-tag.js +0 -5
  1979. package/esm5/components/taiga-ui-kit-components.js +0 -5
  1980. package/esm5/components/text-area/index.js +0 -5
  1981. package/esm5/components/text-area/taiga-ui-kit-components-text-area.js +0 -5
  1982. package/esm5/components/text-area/text-area.component.js +0 -238
  1983. package/esm5/components/text-area/text-area.directive.js +0 -28
  1984. package/esm5/components/text-area/text-area.module.js +0 -33
  1985. package/esm5/components/text-area/text-area.providers.js +0 -18
  1986. package/esm5/components/toggle/index.js +0 -4
  1987. package/esm5/components/toggle/taiga-ui-kit-components-toggle.js +0 -5
  1988. package/esm5/components/toggle/toggle-options.js +0 -26
  1989. package/esm5/components/toggle/toggle.component.js +0 -160
  1990. package/esm5/components/toggle/toggle.module.js +0 -33
  1991. package/esm5/components/tree/components/tree/tree.component.js +0 -72
  1992. package/esm5/components/tree/components/tree-item/tree-item.component.js +0 -68
  1993. package/esm5/components/tree/components/tree-item/tree-item.providers.js +0 -19
  1994. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +0 -49
  1995. package/esm5/components/tree/directives/tree-children.directive.js +0 -25
  1996. package/esm5/components/tree/directives/tree-controller.directive.js +0 -64
  1997. package/esm5/components/tree/directives/tree-item-controller.directive.js +0 -38
  1998. package/esm5/components/tree/directives/tree-node.directive.js +0 -40
  1999. package/esm5/components/tree/index.js +0 -13
  2000. package/esm5/components/tree/misc/tree.constants.js +0 -9
  2001. package/esm5/components/tree/misc/tree.interfaces.js +0 -1
  2002. package/esm5/components/tree/misc/tree.service.js +0 -44
  2003. package/esm5/components/tree/misc/tree.tokens.js +0 -17
  2004. package/esm5/components/tree/taiga-ui-kit-components-tree.js +0 -5
  2005. package/esm5/components/tree/tree.module.js +0 -48
  2006. package/esm5/constants/date-time-separator.js +0 -2
  2007. package/esm5/constants/empty-mask.js +0 -6
  2008. package/esm5/constants/group-class-names.js +0 -12
  2009. package/esm5/constants/icon-blank.js +0 -2
  2010. package/esm5/constants/index.js +0 -10
  2011. package/esm5/constants/masks.js +0 -52
  2012. package/esm5/constants/math.js +0 -5
  2013. package/esm5/constants/max-day-range-length-mapper.js +0 -16
  2014. package/esm5/constants/max-time-values.js +0 -7
  2015. package/esm5/constants/router-link-options.js +0 -10
  2016. package/esm5/constants/taiga-ui-kit-constants.js +0 -5
  2017. package/esm5/directives/dropdown-context/dropdown-context.directive.js +0 -141
  2018. package/esm5/directives/dropdown-context/dropdown-context.module.js +0 -18
  2019. package/esm5/directives/dropdown-context/index.js +0 -3
  2020. package/esm5/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
  2021. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +0 -56
  2022. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +0 -16
  2023. package/esm5/directives/dropdown-hover/index.js +0 -3
  2024. package/esm5/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
  2025. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +0 -248
  2026. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +0 -18
  2027. package/esm5/directives/dropdown-selection/index.js +0 -3
  2028. package/esm5/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
  2029. package/esm5/directives/highlight/highlight.directive.js +0 -101
  2030. package/esm5/directives/highlight/highlight.module.js +0 -16
  2031. package/esm5/directives/highlight/index.js +0 -3
  2032. package/esm5/directives/highlight/taiga-ui-kit-directives-highlight.js +0 -5
  2033. package/esm5/directives/index.js +0 -10
  2034. package/esm5/directives/lazy-loading/index.js +0 -4
  2035. package/esm5/directives/lazy-loading/lazy-loading.directive.js +0 -69
  2036. package/esm5/directives/lazy-loading/lazy-loading.module.js +0 -16
  2037. package/esm5/directives/lazy-loading/lazy-loading.service.js +0 -40
  2038. package/esm5/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +0 -5
  2039. package/esm5/directives/present/index.js +0 -3
  2040. package/esm5/directives/present/present.directive.js +0 -71
  2041. package/esm5/directives/present/present.module.js +0 -16
  2042. package/esm5/directives/present/taiga-ui-kit-directives-present.js +0 -5
  2043. package/esm5/directives/project-class/index.js +0 -3
  2044. package/esm5/directives/project-class/project-class.directive.js +0 -43
  2045. package/esm5/directives/project-class/project-class.module.js +0 -16
  2046. package/esm5/directives/project-class/taiga-ui-kit-directives-project-class.js +0 -5
  2047. package/esm5/directives/taiga-ui-kit-directives.js +0 -5
  2048. package/esm5/directives/unfinished-validator/index.js +0 -3
  2049. package/esm5/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +0 -5
  2050. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +0 -36
  2051. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +0 -16
  2052. package/esm5/directives/value-accessor/index.js +0 -3
  2053. package/esm5/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +0 -5
  2054. package/esm5/directives/value-accessor/value-accessor.directive.js +0 -16
  2055. package/esm5/directives/value-accessor/value-accessor.module.js +0 -16
  2056. package/esm5/enums/borders.js +0 -9
  2057. package/esm5/enums/dropdown-position.js +0 -10
  2058. package/esm5/enums/file-state.js +0 -11
  2059. package/esm5/enums/index.js +0 -8
  2060. package/esm5/enums/marker-icon-mode.js +0 -15
  2061. package/esm5/enums/status.js +0 -13
  2062. package/esm5/enums/step-state.js +0 -10
  2063. package/esm5/enums/taiga-ui-kit-enums.js +0 -5
  2064. package/esm5/enums/text-align.js +0 -10
  2065. package/esm5/index.js +0 -12
  2066. package/esm5/interfaces/bread-crumbs-item.js +0 -1
  2067. package/esm5/interfaces/file-like.js +0 -1
  2068. package/esm5/interfaces/index.js +0 -1
  2069. package/esm5/interfaces/mobile-calendar-data.js +0 -1
  2070. package/esm5/interfaces/month-context.js +0 -1
  2071. package/esm5/interfaces/taiga-ui-kit-interfaces.js +0 -4
  2072. package/esm5/interfaces/with-date-mask-pipe-config.js +0 -1
  2073. package/esm5/internal/index.js +0 -2
  2074. package/esm5/internal/primitive-calendar-range/index.js +0 -3
  2075. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +0 -163
  2076. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +0 -22
  2077. package/esm5/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +0 -5
  2078. package/esm5/internal/taiga-ui-kit-internal.js +0 -5
  2079. package/esm5/pipes/field-error/field-error-content-pipe.js +0 -44
  2080. package/esm5/pipes/field-error/field-error-pipe.js +0 -142
  2081. package/esm5/pipes/field-error/field-error.module.js +0 -17
  2082. package/esm5/pipes/field-error/index.js +0 -4
  2083. package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +0 -5
  2084. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +0 -28
  2085. package/esm5/pipes/filter-by-input/filter-by-input.base.js +0 -61
  2086. package/esm5/pipes/filter-by-input/filter-by-input.module.js +0 -17
  2087. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +0 -29
  2088. package/esm5/pipes/filter-by-input/index.js +0 -5
  2089. package/esm5/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +0 -5
  2090. package/esm5/pipes/index.js +0 -5
  2091. package/esm5/pipes/stringify/index.js +0 -3
  2092. package/esm5/pipes/stringify/stringify.module.js +0 -16
  2093. package/esm5/pipes/stringify/stringify.pipe.js +0 -17
  2094. package/esm5/pipes/stringify/taiga-ui-kit-pipes-stringify.js +0 -5
  2095. package/esm5/pipes/stringify-content/index.js +0 -3
  2096. package/esm5/pipes/stringify-content/stringify-content.module.js +0 -16
  2097. package/esm5/pipes/stringify-content/stringify-content.pipe.js +0 -20
  2098. package/esm5/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +0 -5
  2099. package/esm5/pipes/taiga-ui-kit-pipes.js +0 -5
  2100. package/esm5/providers/index.js +0 -4
  2101. package/esm5/providers/month-formatter.provider.js +0 -23
  2102. package/esm5/providers/specific-dropdown-controllers.js +0 -29
  2103. package/esm5/providers/taiga-ui-kit-providers.js +0 -5
  2104. package/esm5/providers/value-accessor.provider.js +0 -12
  2105. package/esm5/taiga-ui-kit.js +0 -5
  2106. package/esm5/tokens/calendar-data-stream.js +0 -3
  2107. package/esm5/tokens/date-inputs-value-transformers.js +0 -5
  2108. package/esm5/tokens/i18n.js +0 -60
  2109. package/esm5/tokens/index.js +0 -11
  2110. package/esm5/tokens/items-handlers.js +0 -16
  2111. package/esm5/tokens/mobile-aware.js +0 -6
  2112. package/esm5/tokens/mobile-calendar.js +0 -3
  2113. package/esm5/tokens/month-formatter.js +0 -3
  2114. package/esm5/tokens/tab-margin.js +0 -5
  2115. package/esm5/tokens/tag-status.js +0 -6
  2116. package/esm5/tokens/taiga-ui-kit-tokens.js +0 -5
  2117. package/esm5/tokens/validation-errors.js +0 -5
  2118. package/esm5/types/handler-with-context.js +0 -1
  2119. package/esm5/types/index.js +0 -1
  2120. package/esm5/types/key-steps.js +0 -1
  2121. package/esm5/types/marker-icon-mode.js +0 -1
  2122. package/esm5/types/status.js +0 -1
  2123. package/esm5/types/taiga-ui-kit-types.js +0 -4
  2124. package/esm5/types/time-format-parts.js +0 -1
  2125. package/esm5/utils/dom/get-word-range.js +0 -55
  2126. package/esm5/utils/dom/index.js +0 -4
  2127. package/esm5/utils/dom/scroll-to-element.js +0 -23
  2128. package/esm5/utils/dom/set-range-offset.js +0 -29
  2129. package/esm5/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
  2130. package/esm5/utils/files/format-size.js +0 -21
  2131. package/esm5/utils/files/get-accept-array.js +0 -12
  2132. package/esm5/utils/files/index.js +0 -3
  2133. package/esm5/utils/files/taiga-ui-kit-utils-files.js +0 -5
  2134. package/esm5/utils/format/index.js +0 -2
  2135. package/esm5/utils/format/string-hash-to-hsl.js +0 -24
  2136. package/esm5/utils/format/taiga-ui-kit-utils-format.js +0 -5
  2137. package/esm5/utils/index.js +0 -7
  2138. package/esm5/utils/mask/create-auto-corrected-date-pipe.js +0 -25
  2139. package/esm5/utils/mask/create-auto-corrected-date-range-pipe.js +0 -39
  2140. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +0 -29
  2141. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +0 -36
  2142. package/esm5/utils/mask/create-date-mask.js +0 -17
  2143. package/esm5/utils/mask/create-date-range-mask.js +0 -13
  2144. package/esm5/utils/mask/create-time-mask.js +0 -17
  2145. package/esm5/utils/mask/index.js +0 -8
  2146. package/esm5/utils/mask/taiga-ui-kit-utils-mask.js +0 -5
  2147. package/esm5/utils/math/horizontal-direction-to-number.js +0 -12
  2148. package/esm5/utils/math/index.js +0 -3
  2149. package/esm5/utils/math/key-steps.js +0 -30
  2150. package/esm5/utils/math/taiga-ui-kit-utils-math.js +0 -5
  2151. package/esm5/utils/miscellaneous/create-default-day-range-periods.js +0 -28
  2152. package/esm5/utils/miscellaneous/create-time-periods.js +0 -15
  2153. package/esm5/utils/miscellaneous/get-precision.js +0 -12
  2154. package/esm5/utils/miscellaneous/index.js +0 -6
  2155. package/esm5/utils/miscellaneous/is-flat.js +0 -9
  2156. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +0 -19
  2157. package/esm5/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +0 -5
  2158. package/esm5/utils/taiga-ui-kit-utils.js +0 -5
  2159. package/esm5/validators/index.js +0 -2
  2160. package/esm5/validators/taiga-ui-kit-validators.js +0 -5
  2161. package/esm5/validators/unfinished.validator.js +0 -15
  2162. package/fesm2015/taiga-ui-kit-abstract.js +0 -434
  2163. package/fesm2015/taiga-ui-kit-abstract.js.map +0 -1
  2164. package/fesm2015/taiga-ui-kit-components-field-error.js +0 -153
  2165. package/fesm2015/taiga-ui-kit-components-field-error.js.map +0 -1
  2166. package/fesm2015/taiga-ui-kit-components-input-file.js +0 -440
  2167. package/fesm2015/taiga-ui-kit-components-input-file.js.map +0 -1
  2168. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +0 -141
  2169. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
  2170. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +0 -65
  2171. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
  2172. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +0 -247
  2173. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
  2174. package/fesm2015/taiga-ui-kit-enums.js +0 -84
  2175. package/fesm2015/taiga-ui-kit-enums.js.map +0 -1
  2176. package/fesm2015/taiga-ui-kit-utils-dom.js +0 -111
  2177. package/fesm2015/taiga-ui-kit-utils-dom.js.map +0 -1
  2178. package/fesm5/taiga-ui-kit-abstract.js +0 -501
  2179. package/fesm5/taiga-ui-kit-abstract.js.map +0 -1
  2180. package/fesm5/taiga-ui-kit-classes.js +0 -44
  2181. package/fesm5/taiga-ui-kit-classes.js.map +0 -1
  2182. package/fesm5/taiga-ui-kit-components-accordion.js +0 -286
  2183. package/fesm5/taiga-ui-kit-components-accordion.js.map +0 -1
  2184. package/fesm5/taiga-ui-kit-components-action.js +0 -117
  2185. package/fesm5/taiga-ui-kit-components-action.js.map +0 -1
  2186. package/fesm5/taiga-ui-kit-components-arrow.js +0 -87
  2187. package/fesm5/taiga-ui-kit-components-arrow.js.map +0 -1
  2188. package/fesm5/taiga-ui-kit-components-avatar.js +0 -132
  2189. package/fesm5/taiga-ui-kit-components-avatar.js.map +0 -1
  2190. package/fesm5/taiga-ui-kit-components-badge.js +0 -107
  2191. package/fesm5/taiga-ui-kit-components-badge.js.map +0 -1
  2192. package/fesm5/taiga-ui-kit-components-badged-content.js +0 -128
  2193. package/fesm5/taiga-ui-kit-components-badged-content.js.map +0 -1
  2194. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +0 -120
  2195. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +0 -1
  2196. package/fesm5/taiga-ui-kit-components-calendar-month.js +0 -244
  2197. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +0 -1
  2198. package/fesm5/taiga-ui-kit-components-calendar-range.js +0 -211
  2199. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +0 -1
  2200. package/fesm5/taiga-ui-kit-components-carousel.js +0 -307
  2201. package/fesm5/taiga-ui-kit-components-carousel.js.map +0 -1
  2202. package/fesm5/taiga-ui-kit-components-checkbox-block.js +0 -148
  2203. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +0 -1
  2204. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +0 -115
  2205. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +0 -1
  2206. package/fesm5/taiga-ui-kit-components-checkbox.js +0 -118
  2207. package/fesm5/taiga-ui-kit-components-checkbox.js.map +0 -1
  2208. package/fesm5/taiga-ui-kit-components-combo-box.js +0 -333
  2209. package/fesm5/taiga-ui-kit-components-combo-box.js.map +0 -1
  2210. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +0 -171
  2211. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +0 -1
  2212. package/fesm5/taiga-ui-kit-components-field-error.js +0 -189
  2213. package/fesm5/taiga-ui-kit-components-field-error.js.map +0 -1
  2214. package/fesm5/taiga-ui-kit-components-files.js +0 -289
  2215. package/fesm5/taiga-ui-kit-components-files.js.map +0 -1
  2216. package/fesm5/taiga-ui-kit-components-filter.js +0 -128
  2217. package/fesm5/taiga-ui-kit-components-filter.js.map +0 -1
  2218. package/fesm5/taiga-ui-kit-components-input-copy.js +0 -200
  2219. package/fesm5/taiga-ui-kit-components-input-copy.js.map +0 -1
  2220. package/fesm5/taiga-ui-kit-components-input-count.js +0 -377
  2221. package/fesm5/taiga-ui-kit-components-input-count.js.map +0 -1
  2222. package/fesm5/taiga-ui-kit-components-input-date-range.js +0 -452
  2223. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +0 -1
  2224. package/fesm5/taiga-ui-kit-components-input-date-time.js +0 -402
  2225. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +0 -1
  2226. package/fesm5/taiga-ui-kit-components-input-date.js +0 -365
  2227. package/fesm5/taiga-ui-kit-components-input-date.js.map +0 -1
  2228. package/fesm5/taiga-ui-kit-components-input-file.js +0 -535
  2229. package/fesm5/taiga-ui-kit-components-input-file.js.map +0 -1
  2230. package/fesm5/taiga-ui-kit-components-input-files.js +0 -291
  2231. package/fesm5/taiga-ui-kit-components-input-files.js.map +0 -1
  2232. package/fesm5/taiga-ui-kit-components-input-inline.js +0 -105
  2233. package/fesm5/taiga-ui-kit-components-input-inline.js.map +0 -1
  2234. package/fesm5/taiga-ui-kit-components-input-month-range.js +0 -240
  2235. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +0 -1
  2236. package/fesm5/taiga-ui-kit-components-input-month.js +0 -220
  2237. package/fesm5/taiga-ui-kit-components-input-month.js.map +0 -1
  2238. package/fesm5/taiga-ui-kit-components-input-number.js +0 -365
  2239. package/fesm5/taiga-ui-kit-components-input-number.js.map +0 -1
  2240. package/fesm5/taiga-ui-kit-components-input-password.js +0 -225
  2241. package/fesm5/taiga-ui-kit-components-input-password.js.map +0 -1
  2242. package/fesm5/taiga-ui-kit-components-input-phone-international.js +0 -744
  2243. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +0 -1
  2244. package/fesm5/taiga-ui-kit-components-input-phone.js +0 -410
  2245. package/fesm5/taiga-ui-kit-components-input-phone.js.map +0 -1
  2246. package/fesm5/taiga-ui-kit-components-input-range.js +0 -347
  2247. package/fesm5/taiga-ui-kit-components-input-range.js.map +0 -1
  2248. package/fesm5/taiga-ui-kit-components-input-slider.js +0 -336
  2249. package/fesm5/taiga-ui-kit-components-input-slider.js.map +0 -1
  2250. package/fesm5/taiga-ui-kit-components-input-tag.js +0 -563
  2251. package/fesm5/taiga-ui-kit-components-input-tag.js.map +0 -1
  2252. package/fesm5/taiga-ui-kit-components-input-time.js +0 -353
  2253. package/fesm5/taiga-ui-kit-components-input-time.js.map +0 -1
  2254. package/fesm5/taiga-ui-kit-components-input.js +0 -174
  2255. package/fesm5/taiga-ui-kit-components-input.js.map +0 -1
  2256. package/fesm5/taiga-ui-kit-components-island.js +0 -123
  2257. package/fesm5/taiga-ui-kit-components-island.js.map +0 -1
  2258. package/fesm5/taiga-ui-kit-components-line-clamp.js +0 -185
  2259. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +0 -1
  2260. package/fesm5/taiga-ui-kit-components-marker-icon.js +0 -66
  2261. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +0 -1
  2262. package/fesm5/taiga-ui-kit-components-multi-select-option.js +0 -60
  2263. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +0 -1
  2264. package/fesm5/taiga-ui-kit-components-multi-select.js +0 -623
  2265. package/fesm5/taiga-ui-kit-components-multi-select.js.map +0 -1
  2266. package/fesm5/taiga-ui-kit-components-pagination.js +0 -349
  2267. package/fesm5/taiga-ui-kit-components-pagination.js.map +0 -1
  2268. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +0 -117
  2269. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +0 -1
  2270. package/fesm5/taiga-ui-kit-components-progress.js +0 -330
  2271. package/fesm5/taiga-ui-kit-components-progress.js.map +0 -1
  2272. package/fesm5/taiga-ui-kit-components-radio-block.js +0 -171
  2273. package/fesm5/taiga-ui-kit-components-radio-block.js.map +0 -1
  2274. package/fesm5/taiga-ui-kit-components-radio-group.js +0 -43
  2275. package/fesm5/taiga-ui-kit-components-radio-group.js.map +0 -1
  2276. package/fesm5/taiga-ui-kit-components-radio-labeled.js +0 -140
  2277. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +0 -1
  2278. package/fesm5/taiga-ui-kit-components-radio-list.js +0 -142
  2279. package/fesm5/taiga-ui-kit-components-radio-list.js.map +0 -1
  2280. package/fesm5/taiga-ui-kit-components-radio.js +0 -209
  2281. package/fesm5/taiga-ui-kit-components-radio.js.map +0 -1
  2282. package/fesm5/taiga-ui-kit-components-range.js +0 -390
  2283. package/fesm5/taiga-ui-kit-components-range.js.map +0 -1
  2284. package/fesm5/taiga-ui-kit-components-rating.js +0 -150
  2285. package/fesm5/taiga-ui-kit-components-rating.js.map +0 -1
  2286. package/fesm5/taiga-ui-kit-components-select-option.js +0 -96
  2287. package/fesm5/taiga-ui-kit-components-select-option.js.map +0 -1
  2288. package/fesm5/taiga-ui-kit-components-select.js +0 -237
  2289. package/fesm5/taiga-ui-kit-components-select.js.map +0 -1
  2290. package/fesm5/taiga-ui-kit-components-slider.js +0 -560
  2291. package/fesm5/taiga-ui-kit-components-slider.js.map +0 -1
  2292. package/fesm5/taiga-ui-kit-components-stepper.js +0 -233
  2293. package/fesm5/taiga-ui-kit-components-stepper.js.map +0 -1
  2294. package/fesm5/taiga-ui-kit-components-tabs.js +0 -677
  2295. package/fesm5/taiga-ui-kit-components-tabs.js.map +0 -1
  2296. package/fesm5/taiga-ui-kit-components-tag.js +0 -282
  2297. package/fesm5/taiga-ui-kit-components-tag.js.map +0 -1
  2298. package/fesm5/taiga-ui-kit-components-text-area.js +0 -306
  2299. package/fesm5/taiga-ui-kit-components-text-area.js.map +0 -1
  2300. package/fesm5/taiga-ui-kit-components-toggle.js +0 -216
  2301. package/fesm5/taiga-ui-kit-components-toggle.js.map +0 -1
  2302. package/fesm5/taiga-ui-kit-components-tree.js +0 -439
  2303. package/fesm5/taiga-ui-kit-components-tree.js.map +0 -1
  2304. package/fesm5/taiga-ui-kit-components.js +0 -66
  2305. package/fesm5/taiga-ui-kit-components.js.map +0 -1
  2306. package/fesm5/taiga-ui-kit-constants.js +0 -119
  2307. package/fesm5/taiga-ui-kit-constants.js.map +0 -1
  2308. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +0 -160
  2309. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
  2310. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +0 -74
  2311. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
  2312. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +0 -267
  2313. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
  2314. package/fesm5/taiga-ui-kit-directives-highlight.js +0 -119
  2315. package/fesm5/taiga-ui-kit-directives-highlight.js.map +0 -1
  2316. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +0 -121
  2317. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +0 -1
  2318. package/fesm5/taiga-ui-kit-directives-present.js +0 -89
  2319. package/fesm5/taiga-ui-kit-directives-present.js.map +0 -1
  2320. package/fesm5/taiga-ui-kit-directives-project-class.js +0 -61
  2321. package/fesm5/taiga-ui-kit-directives-project-class.js.map +0 -1
  2322. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +0 -54
  2323. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +0 -1
  2324. package/fesm5/taiga-ui-kit-directives-value-accessor.js +0 -34
  2325. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +0 -1
  2326. package/fesm5/taiga-ui-kit-directives.js +0 -14
  2327. package/fesm5/taiga-ui-kit-directives.js.map +0 -1
  2328. package/fesm5/taiga-ui-kit-enums.js +0 -84
  2329. package/fesm5/taiga-ui-kit-enums.js.map +0 -1
  2330. package/fesm5/taiga-ui-kit-interfaces.js +0 -4
  2331. package/fesm5/taiga-ui-kit-interfaces.js.map +0 -1
  2332. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +0 -185
  2333. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +0 -1
  2334. package/fesm5/taiga-ui-kit-internal.js +0 -6
  2335. package/fesm5/taiga-ui-kit-internal.js.map +0 -1
  2336. package/fesm5/taiga-ui-kit-pipes-field-error.js +0 -200
  2337. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +0 -1
  2338. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +0 -125
  2339. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +0 -1
  2340. package/fesm5/taiga-ui-kit-pipes-stringify-content.js +0 -38
  2341. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +0 -1
  2342. package/fesm5/taiga-ui-kit-pipes-stringify.js +0 -35
  2343. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +0 -1
  2344. package/fesm5/taiga-ui-kit-pipes.js +0 -9
  2345. package/fesm5/taiga-ui-kit-pipes.js.map +0 -1
  2346. package/fesm5/taiga-ui-kit-providers.js +0 -67
  2347. package/fesm5/taiga-ui-kit-providers.js.map +0 -1
  2348. package/fesm5/taiga-ui-kit-tokens.js +0 -110
  2349. package/fesm5/taiga-ui-kit-tokens.js.map +0 -1
  2350. package/fesm5/taiga-ui-kit-types.js +0 -4
  2351. package/fesm5/taiga-ui-kit-types.js.map +0 -1
  2352. package/fesm5/taiga-ui-kit-utils-dom.js +0 -113
  2353. package/fesm5/taiga-ui-kit-utils-dom.js.map +0 -1
  2354. package/fesm5/taiga-ui-kit-utils-files.js +0 -40
  2355. package/fesm5/taiga-ui-kit-utils-files.js.map +0 -1
  2356. package/fesm5/taiga-ui-kit-utils-format.js +0 -30
  2357. package/fesm5/taiga-ui-kit-utils-format.js.map +0 -1
  2358. package/fesm5/taiga-ui-kit-utils-mask.js +0 -169
  2359. package/fesm5/taiga-ui-kit-utils-mask.js.map +0 -1
  2360. package/fesm5/taiga-ui-kit-utils-math.js +0 -49
  2361. package/fesm5/taiga-ui-kit-utils-math.js.map +0 -1
  2362. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +0 -88
  2363. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +0 -1
  2364. package/fesm5/taiga-ui-kit-utils.js +0 -11
  2365. package/fesm5/taiga-ui-kit-utils.js.map +0 -1
  2366. package/fesm5/taiga-ui-kit-validators.js +0 -22
  2367. package/fesm5/taiga-ui-kit-validators.js.map +0 -1
  2368. package/fesm5/taiga-ui-kit.js +0 -16
  2369. package/fesm5/taiga-ui-kit.js.map +0 -1
  2370. package/interfaces/bread-crumbs-item.d.ts +0 -6
  2371. package/interfaces/taiga-ui-kit-interfaces.metadata.json +0 -1
  2372. package/interfaces/with-date-mask-pipe-config.d.ts +0 -9
  2373. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +0 -1
  2374. package/internal/taiga-ui-kit-internal.metadata.json +0 -1
  2375. package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +0 -1
  2376. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +0 -1
  2377. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +0 -1
  2378. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +0 -1
  2379. package/pipes/taiga-ui-kit-pipes.metadata.json +0 -1
  2380. package/providers/taiga-ui-kit-providers.metadata.json +0 -1
  2381. package/taiga-ui-kit.metadata.json +0 -1
  2382. package/tokens/calendar-data-stream.d.ts +0 -4
  2383. package/tokens/mobile-aware.d.ts +0 -3
  2384. package/tokens/tag-status.d.ts +0 -3
  2385. package/tokens/taiga-ui-kit-tokens.metadata.json +0 -1
  2386. package/types/taiga-ui-kit-types.metadata.json +0 -1
  2387. package/utils/dom/get-word-range.d.ts +0 -9
  2388. package/utils/dom/index.d.ts +0 -3
  2389. package/utils/dom/package.json +0 -13
  2390. package/utils/dom/scroll-to-element.d.ts +0 -5
  2391. package/utils/dom/set-range-offset.d.ts +0 -6
  2392. package/utils/dom/taiga-ui-kit-utils-dom.d.ts +0 -4
  2393. package/utils/dom/taiga-ui-kit-utils-dom.metadata.json +0 -1
  2394. package/utils/files/taiga-ui-kit-utils-files.metadata.json +0 -1
  2395. package/utils/format/taiga-ui-kit-utils-format.metadata.json +0 -1
  2396. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +0 -1
  2397. package/utils/math/taiga-ui-kit-utils-math.metadata.json +0 -1
  2398. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.metadata.json +0 -1
  2399. package/utils/taiga-ui-kit-utils.metadata.json +0 -1
  2400. package/validators/taiga-ui-kit-validators.metadata.json +0 -1
@@ -1 +0,0 @@
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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\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, TuiFileStateT} 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 TuiFileOldComponent {\n @Input()\n @tuiDefaultProp()\n file: TuiFileLike = {name: ``};\n\n @Input()\n @tuiDefaultProp()\n state: TuiFileStateT | 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(): void {\n this.fileRemoved.emit();\n }\n\n onFocusVisible(focusVisible: boolean): void {\n this.focused = focusVisible;\n }\n\n @tuiPure\n private calculateContent$(\n state: keyof Record<TuiFileState, string> | string | 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 | readonly 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: readonly TuiFileLike[] = [];\n\n @Input()\n @tuiDefaultProp()\n rejectedFiles: readonly TuiFileLike[] = [];\n\n @Output()\n rejectedFilesChange = new EventEmitter<readonly 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 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: 3.0 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(): readonly TuiFileLike[] {\n return this.getValueArray(this.value);\n }\n\n get readyFiles(): readonly TuiFileLike[] {\n return this.getReadyFiles(this.arrayValue, this.loadingFiles);\n }\n\n get computedLoading(): readonly 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): void {\n this.updateHovered(hovered);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onPressed(pressed: boolean): void {\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 ): void {\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 ): void {\n this.processSelectedFiles(event.files, texts, units);\n }\n\n onDragOver(dataTransfer: DataTransfer | null): void {\n this.dataTransfer = dataTransfer;\n }\n\n removeFile(removedFile: TuiFileLike): void {\n this.updateValue(\n this.multiple ? this.arrayValue.filter(file => file !== removedFile) : null,\n );\n }\n\n removeRejectedFile(removedFile: TuiFileLike): void {\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 | readonly TuiFileLike[] | null,\n ): readonly 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: readonly TuiFileLike[],\n loading: readonly TuiFileLike[],\n ): readonly TuiFileLike[] {\n return value.filter(file => !loading.includes(file));\n }\n\n @tuiPure\n private getLoadingFiles(\n value: readonly TuiFileLike[],\n loading: readonly TuiFileLike[],\n ): readonly TuiFileLike[] {\n return loading.filter(file => value.includes(file));\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 ): void {\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.includes(file),\n );\n const acceptedFiles = newFiles.filter(\n file => !tooBigFiles.includes(file) && !wrongFormatFiles.includes(file),\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: readonly TuiFileLike[]): void {\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 {TuiFileOldComponent} 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: [TuiFileOldComponent, 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,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC1G,IAAI,OAAO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,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,mBAAmB,EAAE,qBAAqB,CAAC;gBAC1D,OAAO,EAAE,CAAC,qBAAqB,CAAC;aACnC,CAAC;WACW,kBAAkB,CAAG;QAAD,yBAAC;KAAlC;;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
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,n,i,r,o,a,l,u,s,p,c){"use strict";var f=function(e,t){return(f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function d(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var l=e.length-1;l>=0;l--)(r=e[l])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function g(e,t){return function(n,i){t(n,i,e)}}Object.create;function m(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}Object.create;var h=function(){function e(e,n,i,r){this.isMobile=e,this.sanitizer=n,this.fileTexts$=i,this.units$=r,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,n){return"error"!==e||t.content?a.of(this.file.content||""):n.pipe(l.map((function(e){return e.loadingError})))},e.prototype.calculateFileSize$=function(e,t){return t.pipe(l.map((function(t){return o.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:[i.TUI_IS_MOBILE]}]},{type:n.DomSanitizer,decorators:[{type:t.Inject,args:[n.DomSanitizer]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[r.TUI_FILE_TEXTS]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[r.TUI_DIGITAL_INFORMATION_UNITS]}]}]},d([t.Input(),i.tuiDefaultProp()],e.prototype,"file",void 0),d([t.Input(),i.tuiDefaultProp()],e.prototype,"state",void 0),d([t.Input(),i.tuiDefaultProp()],e.prototype,"size",void 0),d([t.Input(),i.tuiDefaultProp()],e.prototype,"allowDelete",void 0),d([t.Input(),i.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([i.tuiPure],e.prototype,"calculateContent$",null),d([i.tuiPure],e.prototype,"calculateFileSize$",null),d([i.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="t-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\n class="t-preview"\n [class.t-preview_big]="isBig"\n >\n <img\n *ngIf="preview && (fileTexts$ | async) as texts; else loader"\n automation-id="tui-file__preview"\n class="t-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="t-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="t-icon"\n [class.t-icon_deleted]="isDeleted"\n [class.t-icon_error]="isError"\n [src]="icon"\n ></tui-svg>\n </ng-template>\n </div>\n <div class="t-wrapper">\n <div class="t-text">\n <div\n automation-id="tui-file__name"\n class="t-name"\n >\n {{ name }}\n </div>\n <div\n automation-id="tui-file__type"\n class="t-type"\n >\n {{ type }}\n </div>\n <div\n *ngIf="showSize && (fileSize$ | async) as fileSize"\n automation-id="tui-file__size"\n class="t-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="t-content"\n [content]="content"\n ></div>\n </div>\n <ng-container *ngIf="allowDelete">\n <button\n *ngIf="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="t-remove"\n [title]="texts.remove"\n [class.t-remove_mobile]="isMobile"\n (click.prevent)="onRemoveClick()"\n ></button>\n </ng-container>\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 .t-remove{opacity:1}:host._focused{border-color:var(--tui-focus);box-shadow:0 0 0 1px inset var(--tui-focus)}.t-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)}.t-link:hover{background-color:var(--tui-base-02)}.t-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)}.t-preview_big{width:4rem;height:4rem;margin-right:1rem}.t-preview_big:before{position:absolute;top:0;left:0;width:100%;height:100%;content:'';background:#333;opacity:.08}.t-image{max-width:100%;max-height:100%}.t-loader{position:absolute;top:0;left:0;width:100%;height:100%}.t-icon{position:absolute;top:0;left:0;width:100%;height:100%;color:var(--tui-success-fill)}.t-icon_error{color:var(--tui-error-fill)}.t-icon_deleted{color:var(--tui-base-06)}.t-remove{transition-property:opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:.625rem;right:.625rem;opacity:0}.t-remove:focus,.t-remove_mobile{opacity:1}.t-wrapper{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.t-text{display:flex}.t-size{flex-shrink:0;opacity:var(--tui-disabled-opacity);margin-left:.5rem}.t-type{flex-shrink:0}.t-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-content{font:var(--tui-font-text-s);color:var(--tui-error-fill)}"]}),g(0,t.Inject(i.TUI_IS_MOBILE)),g(1,t.Inject(n.DomSanitizer)),g(2,t.Inject(r.TUI_FILE_TEXTS)),g(3,t.Inject(r.TUI_DIGITAL_INFORMATION_UNITS))],e)}(),b=function(e){function n(n,i,r,o,a,l){var u=e.call(this,n,i)||this;return u.isMobile=r,u.inputFileTexts$=o,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){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}f(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(n,e),p=n,Object.defineProperty(n.prototype,"nativeFocusableElement",{get:function(){return this.input?this.input.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"focused",{get:function(){return i.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"computedLink$",{get:function(){return this.computeLink$(this.fileDragged,this.multiple,this.link)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"computedLabel$",{get:function(){return this.computeLabel$(this.isMobile,this.fileDragged,this.multiple,this.label)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"fileDragged",{get:function(){return!!this.dataTransfer&&-1!==Array.prototype.indexOf.call(this.dataTransfer.types,"Files")},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"acceptArray",{get:function(){return this.getAcceptArray(this.accept)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"arrayValue",{get:function(){return this.getValueArray(this.value)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"readyFiles",{get:function(){return this.getReadyFiles(this.arrayValue,this.loadingFiles)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"computedLoading",{get:function(){return this.getLoadingFiles(this.arrayValue,this.loadingFiles)},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"hasFiles",{get:function(){return!!this.rejectedFiles.length||!!this.arrayValue.length},enumerable:!0,configurable:!0}),n.prototype.onHovered=function(e){this.updateHovered(e)},n.prototype.onFocused=function(e){this.updateFocused(e)},n.prototype.onPressed=function(e){this.updatePressed(e)},n.prototype.onFilesSelected=function(e,t,n){this.processSelectedFiles(e.files,t,n),e.value=""},n.prototype.onDropped=function(e,t,n){this.processSelectedFiles(e.files,t,n)},n.prototype.onDragOver=function(e){this.dataTransfer=e},n.prototype.removeFile=function(e){this.updateValue(this.multiple?this.arrayValue.filter((function(t){return t!==e})):null)},n.prototype.removeRejectedFile=function(e){this.updateRejectedFiles(this.rejectedFiles.filter((function(t){return t!==e})))},n.prototype.getAppearance=function(e){return null===e?"":"outline"},n.prototype.computeLink$=function(e,t,n){return e?a.of(""):this.inputFileTexts$.pipe(l.map((function(e){return t&&""===n?e.defaultLinkMultiple:n||e.defaultLinkSingle})))},n.prototype.computeLabel$=function(e,t,n,i){return e?a.of(""):t?this.inputFileTexts$.pipe(l.map((function(e){return n?e.dropMultiple:e.drop}))):this.inputFileTexts$.pipe(l.map((function(e){return n&&""===i?e.defaultLabelMultiple:i||e.defaultLabelSingle})))},n.prototype.getValueArray=function(e){return e?e instanceof Array?e:[e]:i.EMPTY_ARRAY},n.prototype.getReadyFiles=function(e,t){return e.filter((function(e){return!t.includes(e)}))},n.prototype.getLoadingFiles=function(e,t){return t.filter((function(t){return e.includes(t)}))},n.prototype.getAcceptArray=function(e){return e.toLowerCase().split(",").map((function(e){return e.trim()}))},n.prototype.processSelectedFiles=function(e,t,n){var i=this;if(null!==e&&0!==e.length){var r=this.multiple?Array.from(e):[e[0]],a=r.filter((function(e){return e.size>i.maxFileSize})),l=r.filter((function(e){return!i.isFormatAcceptable(e)&&!a.includes(e)})),u=r.filter((function(e){return!a.includes(e)&&!l.includes(e)}));this.updateRejectedFiles(y(a.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.maxSizeRejectionReason+o.formatSize(n,i.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)}},n.prototype.isFormatAcceptable=function(e){if(!this.accept)return!0;var t="."+(e.name.split(".").pop()||"").toLowerCase();return this.acceptArray.some((function(n){return n===t||n===e.type||"*"===n.split("/")[1]&&e.type.split("/")[0]===n.split("/")[0]}))},n.prototype.updateRejectedFiles=function(e){this.rejectedFiles=e,this.rejectedFilesChange.emit(e)},n.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:[i.TUI_IS_MOBILE]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[r.TUI_INPUT_FILE_TEXTS]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[s.TUI_MODE]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[r.TUI_DIGITAL_INFORMATION_UNITS]}]}]},d([t.Input(),i.tuiDefaultProp()],n.prototype,"link",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"label",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"accept",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"multiple",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"size",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"showSize",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"maxFileSize",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"loadingFiles",void 0),d([t.Input(),i.tuiDefaultProp()],n.prototype,"rejectedFiles",void 0),d([t.Output()],n.prototype,"rejectedFilesChange",void 0),d([t.ViewChild("input")],n.prototype,"input",void 0),d([i.tuiPure],n.prototype,"computeLink$",null),d([i.tuiPure],n.prototype,"computeLabel$",null),d([i.tuiPure],n.prototype,"getValueArray",null),d([i.tuiPure],n.prototype,"getReadyFiles",null),d([i.tuiPure],n.prototype,"getLoadingFiles",null),d([i.tuiPure],n.prototype,"getAcceptArray",null),n=p=d([t.Component({selector:"tui-input-file",template:'<tui-wrapper\n *ngIf="multiple || !value"\n class="t-wrapper"\n [class.t-wrapper_mobile]="isMobile"\n [class.t-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="t-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="t-inline"\n [content]="computedLabel"\n ></span>\n </ng-container>\n <ng-container *ngIf="!readOnly && !computedDisabled">\n <input\n *ngIf="inputFileTexts$ | async as texts"\n #input\n type="file"\n tuiPreventDefault="mousedown"\n class="t-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 </ng-container>\n </label>\n</tui-wrapper>\n\n<section\n *tuiLet="mode$ | async as mode"\n tuiGroup\n orientation="vertical"\n class="t-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]="interactive"\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]="interactive"\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]="interactive"\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:i.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)}.t-native{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}.t-native::-webkit-file-upload-button{display:none}.t-inline{display:inline}.t-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}.t-wrapper:after{border:1px dashed;color:var(--tui-link)}.t-wrapper_mobile:after{border-style:solid}.t-wrapper_has-files{margin-bottom:.5rem}.t-wrapper[data-state=hovered]{background:var(--tui-secondary)}.t-wrapper[data-state=hovered]:after{color:var(--tui-link-hover)}.t-wrapper[data-state=pressed]{background:var(--tui-secondary-hover)}.t-wrapper[data-state=readonly]{pointer-events:none}.t-wrapper[data-state=readonly]:after{color:var(--tui-text-03)}.t-wrapper[data-state=disabled]{opacity:var(--tui-disabled-opacity);pointer-events:none}.t-wrapper[data-state=disabled]:after{color:var(--tui-text-03)}.t-wrapper._focused:after{border-style:solid;border-width:2px;color:var(--tui-focus)}.t-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(i.TUI_IS_MOBILE)),g(3,t.Inject(r.TUI_INPUT_FILE_TEXTS)),g(4,t.Inject(s.TUI_MODE)),g(5,t.Inject(r.TUI_DIGITAL_INFORMATION_UNITS))],n)}(i.AbstractTuiNullableControl),v=function(){function e(){}return e=d([t.NgModule({imports:[p.CommonModule,c.PolymorpheusModule,i.TuiLetModule,i.TuiFocusedModule,i.TuiFocusVisibleModule,i.TuiPressedModule,i.TuiHoveredModule,i.TuiFocusableModule,i.TuiDroppableModule,s.TuiWrapperModule,s.TuiSvgModule,s.TuiLinkModule,s.TuiLoaderModule,s.TuiButtonModule,i.TuiPreventDefaultModule,s.TuiGroupModule],declarations:[h,b],exports:[b]})],e)}();e.TuiFileOldComponent=h,e.TuiInputFileComponent=b,e.TuiInputFileModule=v,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-file.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"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"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","__read","o","n","m","Symbol","iterator","e","ar","next","done","push","value","error","__spread","concat","TuiFileOldComponent","isMobile","sanitizer","fileTexts$","units$","this","file","name","state","size","allowDelete","showSize","fileRemoved","EventEmitter","focused","isBig","createPreview","src","split","slice","join","pop","calculateContent$","calculateFileSize$","onRemoveClick","emit","onFocusVisible","focusVisible","content","of","pipe","map","texts","loadingError","units","formatSize","File","type","startsWith","bypassSecurityTrustUrl","URL","createObjectURL","Inject","args","TUI_IS_MOBILE","DomSanitizer","Observable","TUI_FILE_TEXTS","TUI_DIGITAL_INFORMATION_UNITS","Input","tuiDefaultProp","Output","HostBinding","tuiPure","Component","selector","changeDetection","ChangeDetectionStrategy","OnPush","template","TuiInputFileComponent","control","changeDetectorRef","inputFileTexts$","mode$","_this","_super","dataTransfer","link","label","accept","multiple","maxFileSize","loadingFiles","rejectedFiles","rejectedFilesChange","TypeError","String","__","constructor","__extends","input","nativeElement","isNativeFocused","nativeFocusableElement","computeLink$","fileDragged","computeLabel$","indexOf","types","getAcceptArray","getValueArray","getReadyFiles","arrayValue","getLoadingFiles","onHovered","hovered","updateHovered","onFocused","updateFocused","onPressed","pressed","updatePressed","onFilesSelected","processSelectedFiles","files","onDropped","event","onDragOver","removeFile","removedFile","updateValue","filter","removeRejectedFile","updateRejectedFiles","getAppearance","mode","defaultLinkMultiple","defaultLinkSingle","dropMultiple","drop","defaultLabelMultiple","defaultLabelSingle","EMPTY_ARRAY","loading","includes","toLowerCase","format","trim","newFiles","from","tooBigFiles","wrongFormatFiles","isFormatAcceptable","acceptedFiles","maxSizeRejectionReason","formatRejectionReason","extension","acceptArray","some","NgControl","Optional","Self","ChangeDetectorRef","TUI_INPUT_FILE_TEXTS","TUI_MODE","ViewChild","TuiInputFileComponent_1","providers","MODE_PROVIDER","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiNullableControl","TuiInputFileModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiLetModule","TuiFocusedModule","TuiFocusVisibleModule","TuiPressedModule","TuiHoveredModule","TuiFocusableModule","TuiDroppableModule","TuiWrapperModule","TuiSvgModule","TuiLinkModule","TuiLoaderModule","TuiButtonModule","TuiPreventDefaultModule","TuiGroupModule","declarations","exports"],"mappings":"8lCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN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EAAAA,gBAEP/D,EAAA,EAAA6D,EAAAA,OAAOsG,EAAAA,uBAcPnK,EAAA,EAAA6D,EAAAA,OAAOuG,EAAAA,WACPpK,EAAA,EAAA6D,EAAAA,OAAOM,EAAAA,iCAxEHY,IACD8F,EAAAA,yCCVZ,SAAAC,KAAiC,OAApBA,EAAkB5L,EAAA,CAtB9B6L,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,mBACAC,EAAAA,aACAC,EAAAA,iBACAC,EAAAA,sBACAC,EAAAA,iBACAC,EAAAA,iBACAC,EAAAA,mBACAC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,aACAC,EAAAA,cACAC,EAAAA,gBACAC,EAAAA,gBACAC,EAAAA,wBACAC,EAAAA,gBAEJC,aAAc,CAAC9K,EAAqB4D,GACpCmH,QAAS,CAACnH,MAED+F","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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\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, TuiFileStateT} 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 TuiFileOldComponent {\n @Input()\n @tuiDefaultProp()\n file: TuiFileLike = {name: ``};\n\n @Input()\n @tuiDefaultProp()\n state: TuiFileStateT | 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(): void {\n this.fileRemoved.emit();\n }\n\n onFocusVisible(focusVisible: boolean): void {\n this.focused = focusVisible;\n }\n\n @tuiPure\n private calculateContent$(\n state: keyof Record<TuiFileState, string> | string | 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 | readonly 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: readonly TuiFileLike[] = [];\n\n @Input()\n @tuiDefaultProp()\n rejectedFiles: readonly TuiFileLike[] = [];\n\n @Output()\n rejectedFilesChange = new EventEmitter<readonly 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 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: 3.0 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(): readonly TuiFileLike[] {\n return this.getValueArray(this.value);\n }\n\n get readyFiles(): readonly TuiFileLike[] {\n return this.getReadyFiles(this.arrayValue, this.loadingFiles);\n }\n\n get computedLoading(): readonly 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): void {\n this.updateHovered(hovered);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onPressed(pressed: boolean): void {\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 ): void {\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 ): void {\n this.processSelectedFiles(event.files, texts, units);\n }\n\n onDragOver(dataTransfer: DataTransfer | null): void {\n this.dataTransfer = dataTransfer;\n }\n\n removeFile(removedFile: TuiFileLike): void {\n this.updateValue(\n this.multiple ? this.arrayValue.filter(file => file !== removedFile) : null,\n );\n }\n\n removeRejectedFile(removedFile: TuiFileLike): void {\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 | readonly TuiFileLike[] | null,\n ): readonly 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: readonly TuiFileLike[],\n loading: readonly TuiFileLike[],\n ): readonly TuiFileLike[] {\n return value.filter(file => !loading.includes(file));\n }\n\n @tuiPure\n private getLoadingFiles(\n value: readonly TuiFileLike[],\n loading: readonly TuiFileLike[],\n ): readonly TuiFileLike[] {\n return loading.filter(file => value.includes(file));\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 ): void {\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.includes(file),\n );\n const acceptedFiles = newFiles.filter(\n file => !tooBigFiles.includes(file) && !wrongFormatFiles.includes(file),\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: readonly TuiFileLike[]): void {\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 {TuiFileOldComponent} 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: [TuiFileOldComponent, TuiInputFileComponent],\n exports: [TuiInputFileComponent],\n})\nexport class TuiInputFileModule {}\n"]}
@@ -1,2 +0,0 @@
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("@taiga-ui/kit/components/files"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-files",["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","@taiga-ui/kit/components/files","@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-files"]={}),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["taiga-ui"].kit.components.files,e.ngPolymorpheus)}(this,(function(e,t,i,a,n,r,o,u,p,l,s,c){"use strict";var d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(e,t)};function f(e,t,i,a){var n,r=arguments.length,o=r<3?t:null===a?a=Object.getOwnPropertyDescriptor(t,i):a;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,i,a);else for(var u=e.length-1;u>=0;u--)(n=e[u])&&(o=(r<3?n(o):r>3?n(t,i,o):n(t,i))||o);return r>3&&o&&Object.defineProperty(t,i,o),o}function g(e,t){return function(i,a){t(i,a,e)}}Object.create;function m(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var a,n,r=i.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(a=r.next()).done;)o.push(a.value)}catch(e){n={error:e}}finally{try{a&&!a.done&&(i=r.return)&&i.call(r)}finally{if(n)throw n.error}}return o}function y(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(m(arguments[t]));return e}Object.create;var v=function(e){function l(i,a,n,r,o){var u=e.call(this,i,a)||this;return u.isMobile=n,u.inputFileTexts$=r,u.units$=o,u.dataTransfer=null,u.link="",u.label="",u.accept="",u.multiple=!1,u.size="m",u.maxFileSize=3e7,u.reject=new t.EventEmitter,u}var s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(l,e),s=l,Object.defineProperty(l.prototype,"nativeFocusableElement",{get:function(){var e;return(null===(e=this.input)||void 0===e?void 0:e.nativeElement)||null},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"focused",{get:function(){return a.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"computedPseudoHovered",{get:function(){var e;return null!==(e=this.pseudoHovered)&&void 0!==e?e:this.fileDragged||null},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"computedLink$",{get:function(){return this.computeLink$(this.fileDragged,this.multiple,this.link)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"computedLabel$",{get:function(){return this.computeLabel$(this.isMobile,this.fileDragged,this.multiple,this.label)},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"fileDragged",{get:function(){var e;return!!(null===(e=this.dataTransfer)||void 0===e?void 0:e.types.includes("Files"))},enumerable:!0,configurable:!0}),Object.defineProperty(l.prototype,"arrayValue",{get:function(){return this.getValueArray(this.value)},enumerable:!0,configurable:!0}),l.prototype.onHovered=function(e){this.updateHovered(e)},l.prototype.onFocused=function(e){this.updateFocused(e)},l.prototype.onPressed=function(e){this.updatePressed(e)},l.prototype.onFilesSelected=function(e,t,i){this.processSelectedFiles(e.files,t,i),e.value=""},l.prototype.onDropped=function(e,t,i){this.processSelectedFiles(e.files,t,i)},l.prototype.onDragOver=function(e){this.dataTransfer=e},l.prototype.removeFile=function(e){this.updateValue(this.multiple?this.arrayValue.filter((function(t){return t!==e})):null)},l.prototype.computeLink$=function(e,t,i){return e?u.of(""):this.inputFileTexts$.pipe(p.map((function(e){return t&&""===i?e.defaultLinkMultiple:i||e.defaultLinkSingle})))},l.prototype.computeLabel$=function(e,t,i,a){return e?u.of(""):t?this.inputFileTexts$.pipe(p.map((function(e){return i?e.dropMultiple:e.drop}))):this.inputFileTexts$.pipe(p.map((function(e){return i&&""===a?e.defaultLabelMultiple:a||e.defaultLabelSingle})))},l.prototype.getValueArray=function(e){return e?Array.isArray(e)?e:[e]:a.EMPTY_ARRAY},l.prototype.processSelectedFiles=function(e,t,i){var a=this;if(null==e?void 0:e.length){var n=this.multiple?Array.from(e):[e[0]],r=n.filter((function(e){return e.size>a.maxFileSize})),u=n.filter((function(e){return!a.isFormatAcceptable(e)&&!r.includes(e)})),p=n.filter((function(e){return!r.includes(e)&&!u.includes(e)}));(r.length||u.length)&&this.rejectFiles(y(r.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.maxSizeRejectionReason+o.formatSize(i,a.maxFileSize)}})),u.map((function(e){return{name:e.name,type:e.type,size:e.size,content:t.formatRejectionReason}})))),this.updateValue(this.multiple?y(this.arrayValue,p):p[0]||null)}},l.prototype.isFormatAcceptable=function(e){if(!this.accept)return!0;var t="."+(e.name.split(".").pop()||"").toLowerCase();return o.getAcceptArray(this.accept).some((function(i){return i===t||i===e.type||"*"===i.split("/")[1]&&e.type.split("/")[0]===i.split("/")[0]}))},l.prototype.rejectFiles=function(e){this.reject.emit(this.multiple?e:e[0])},l.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:[a.TUI_IS_MOBILE]}]},{type:u.Observable,decorators:[{type:t.Inject,args:[r.TUI_INPUT_FILE_TEXTS]}]},{type:u.Observable,decorators:[{type:t.Inject,args:[r.TUI_DIGITAL_INFORMATION_UNITS]}]}]},f([t.ViewChild("input")],l.prototype,"input",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"link",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"label",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"accept",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"multiple",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"size",void 0),f([t.Input(),a.tuiDefaultProp()],l.prototype,"maxFileSize",void 0),f([t.Output()],l.prototype,"reject",void 0),f([a.tuiPure],l.prototype,"computeLink$",null),f([a.tuiPure],l.prototype,"computeLabel$",null),f([a.tuiPure],l.prototype,"getValueArray",null),l=s=f([t.Component({selector:"tui-input-files",template:'<tui-wrapper\n appearance="input-file"\n class="t-wrapper"\n [class._mobile]="isMobile"\n [focused]="computedFocused"\n [hovered]="computedHovered || fileDragged"\n [pressed]="computedPressed"\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="t-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="t-inline"\n [content]="computedLabel"\n ></span>\n </ng-container>\n <ng-container *ngIf="!readOnly && !computedDisabled">\n <input\n *ngIf="inputFileTexts$ | async as texts"\n #input\n type="file"\n class="t-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 (mousedown.prevent.silent)="(0)"\n />\n </ng-container>\n </label>\n</tui-wrapper>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,providers:[n.MODE_PROVIDER,{provide:a.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return s}))}],styles:["tui-input-files{display:block}tui-input-files .t-native{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer}tui-input-files .t-native::-webkit-file-upload-button{display:none}tui-input-files .t-inline{display:inline}tui-wrapper[data-appearance=input-file]{display:flex;background:0 0;font:var(--tui-font-text-m);word-wrap:break-word;color:var(--tui-text-02);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}tui-wrapper[data-appearance=input-file]:after{border:1px dashed;color:var(--tui-link)}tui-wrapper[data-appearance=input-file]._mobile:after{border:1px solid}tui-wrapper[data-appearance=input-file][data-state=hovered]{background:var(--tui-secondary)}tui-wrapper[data-appearance=input-file][data-state=hovered]:after{color:var(--tui-link-hover)}tui-wrapper[data-appearance=input-file][data-state=pressed]{background:var(--tui-secondary-hover)}tui-wrapper[data-appearance=input-file][data-state=disabled]{opacity:var(--tui-disabled-opacity);pointer-events:none}tui-wrapper[data-appearance=input-file][data-state=disabled]:after{color:var(--tui-text-03)}tui-wrapper[data-appearance=input-file]._focused:after{border-style:solid;border-width:2px;color:var(--tui-focus)}tui-wrapper[data-appearance=input-file][data-mode=onDark],tui-wrapper[data-appearance=input-file][data-mode=onDark]._focused:after,tui-wrapper[data-appearance=input-file][data-mode=onDark]:after{color:var(--tui-text-01-night)}tui-wrapper[data-appearance=input-file][data-mode=onDark][data-state=hovered]{background:var(--tui-clear-inverse-hover)}tui-wrapper[data-appearance=input-file][data-mode=onDark][data-state=hovered]:after,tui-wrapper[data-appearance=input-file][data-mode=onDark][data-state=pressed]:after{color:var(--tui-text-03-night)}tui-wrapper[data-appearance=input-file][data-mode=onDark][data-state=pressed]{background:var(--tui-clear-inverse-active)}tui-wrapper[data-appearance=input-file][data-mode=onLight],tui-wrapper[data-appearance=input-file][data-mode=onLight]:after{color:var(--tui-text-01)}tui-wrapper[data-appearance=input-file][data-mode=onLight][data-state=hovered]{background:var(--tui-clear-hover)}tui-wrapper[data-appearance=input-file][data-mode=onLight][data-state=hovered]:after,tui-wrapper[data-appearance=input-file][data-mode=onLight][data-state=pressed]:after{color:var(--tui-text-03)}tui-wrapper[data-appearance=input-file][data-mode=onLight][data-state=pressed]{background:var(--tui-clear-active)}"]}),g(0,t.Optional()),g(0,t.Self()),g(0,t.Inject(i.NgControl)),g(1,t.Inject(t.ChangeDetectorRef)),g(2,t.Inject(a.TUI_IS_MOBILE)),g(3,t.Inject(r.TUI_INPUT_FILE_TEXTS)),g(4,t.Inject(r.TUI_DIGITAL_INFORMATION_UNITS))],l)}(a.AbstractTuiNullableControl),h=function(){function e(){}return e=f([t.NgModule({imports:[l.CommonModule,c.PolymorpheusModule,a.TuiLetModule,a.TuiFocusedModule,a.TuiFocusVisibleModule,a.TuiPressedModule,a.TuiHoveredModule,a.TuiFocusableModule,a.TuiDroppableModule,n.TuiWrapperModule,n.TuiSvgModule,n.TuiLinkModule,n.TuiLoaderModule,n.TuiButtonModule,n.TuiGroupModule,s.TuiFilesModule],declarations:[v],exports:[v,s.TuiFilesComponent,s.TuiFileComponent,a.TuiItemDirective]})],e)}();e.TuiInputFilesComponent=v,e.TuiInputFilesModule=h,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-files.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-files/input-files.component.ts","ng://@taiga-ui/kit/components/input-files/input-files.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","__read","o","n","m","Symbol","iterator","e","ar","next","done","push","value","error","__spread","concat","TuiInputFilesComponent","control","changeDetectorRef","isMobile","inputFileTexts$","units$","_this","_super","this","dataTransfer","link","label","accept","multiple","size","maxFileSize","reject","EventEmitter","TypeError","String","__","constructor","__extends","_a","input","nativeElement","isNativeFocused","nativeFocusableElement","pseudoHovered","fileDragged","computeLink$","computeLabel$","types","includes","getValueArray","onHovered","hovered","updateHovered","onFocused","focused","updateFocused","onPressed","pressed","updatePressed","onFilesSelected","texts","units","processSelectedFiles","files","onDropped","event","onDragOver","removeFile","removedFile","updateValue","arrayValue","filter","file","of","pipe","map","defaultLinkMultiple","defaultLinkSingle","dropMultiple","drop","defaultLabelMultiple","defaultLabelSingle","isArray","EMPTY_ARRAY","newFiles","from","tooBigFiles","wrongFormatFiles","isFormatAcceptable","acceptedFiles","rejectFiles","name","type","content","maxSizeRejectionReason","formatSize","formatRejectionReason","extension","split","pop","toLowerCase","getAcceptArray","some","format","rejectedFiles","emit","NgControl","Optional","Self","Inject","args","ChangeDetectorRef","TUI_IS_MOBILE","Observable","TUI_INPUT_FILE_TEXTS","TUI_DIGITAL_INFORMATION_UNITS","ViewChild","Input","tuiDefaultProp","Output","tuiPure","TuiInputFilesComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","encapsulation","ViewEncapsulation","None","providers","MODE_PROVIDER","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiNullableControl","TuiInputFilesModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiLetModule","TuiFocusedModule","TuiFocusVisibleModule","TuiPressedModule","TuiHoveredModule","TuiFocusableModule","TuiDroppableModule","TuiWrapperModule","TuiSvgModule","TuiLinkModule","TuiLoaderModule","TuiButtonModule","TuiGroupModule","TuiFilesModule","declarations","exports","TuiFilesComponent","TuiFileComponent","TuiItemDirective"],"mappings":"wnCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2Hd,EAAvHe,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOZ,OAAOiB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAStB,EAAIW,EAAWW,MAAIJ,GAAKH,EAAI,EAAIf,EAAEkB,GAAKH,EAAI,EAAIf,EAAEY,EAAQC,EAAKK,GAAKlB,EAAEY,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKhB,OAAOqB,eAAeX,EAAQC,EAAKK,GAAIA,EAGzD,SAASM,EAAQC,EAAYC,GAChC,OAAO,SAAUd,EAAQC,GAAOa,EAAUd,EAAQC,EAAKY,IA6C9BvB,OAAOyB,OA4B7B,SAASC,EAAOC,EAAGC,GACtB,IAAIC,EAAsB,mBAAXC,QAAyBH,EAAEG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AAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,mBACAC,EAAAA,aACAC,EAAAA,iBACAC,EAAAA,sBACAC,EAAAA,iBACAC,EAAAA,iBACAC,EAAAA,mBACAC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,aACAC,EAAAA,cACAC,EAAAA,gBACAC,EAAAA,gBACAC,EAAAA,eACAC,EAAAA,gBAEJC,aAAc,CAAC9I,GACf+I,QAAS,CACL/I,EACAgJ,EAAAA,kBACAC,EAAAA,iBACAC,EAAAA,qBAGKvB","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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\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 ViewEncapsulation,\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 {MODE_PROVIDER, TuiSizeL} 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, getAcceptArray} 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-files`,\n templateUrl: `./input-files.template.html`,\n styleUrls: [`./input-files.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n providers: [\n MODE_PROVIDER,\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputFilesComponent),\n },\n ],\n})\nexport class TuiInputFilesComponent\n extends AbstractTuiNullableControl<TuiFileLike | readonly TuiFileLike[]>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(`input`)\n private readonly input?: ElementRef<HTMLInputElement>;\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 maxFileSize = DEFAULT_MAX_SIZE;\n\n @Output()\n reject = new EventEmitter<TuiFileLike | readonly TuiFileLike[]>();\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_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?.nativeElement || null;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get computedPseudoHovered(): boolean | null {\n return this.pseudoHovered ?? (this.fileDragged || null);\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 get fileDragged(): boolean {\n return !!this.dataTransfer?.types.includes(`Files`);\n }\n\n get arrayValue(): readonly TuiFileLike[] {\n return this.getValueArray(this.value);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n onFilesSelected(\n input: HTMLInputElement,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\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 ): void {\n this.processSelectedFiles(event.files, texts, units);\n }\n\n onDragOver(dataTransfer: DataTransfer | null): void {\n this.dataTransfer = dataTransfer;\n }\n\n removeFile(removedFile: TuiFileLike): void {\n this.updateValue(\n this.multiple ? this.arrayValue.filter(file => file !== removedFile) : null,\n );\n }\n\n @tuiPure\n private computeLink$(\n fileDragged: boolean,\n multiple: boolean,\n link: PolymorpheusContent,\n ): Observable<PolymorpheusContent> {\n return fileDragged\n ? of(``)\n : 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 | readonly TuiFileLike[] | null,\n ): readonly TuiFileLike[] {\n if (!value) {\n return EMPTY_ARRAY;\n }\n\n return Array.isArray(value) ? value : [value];\n }\n\n private processSelectedFiles(\n files: FileList | null,\n texts: Record<'maxSizeRejectionReason' | 'formatRejectionReason', string>,\n units: [string, string, string],\n ): void {\n // IE11 after selecting a file through the open dialog generates a second event passing an empty FileList.\n if (!files?.length) {\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.includes(file),\n );\n const acceptedFiles = newFiles.filter(\n file => !tooBigFiles.includes(file) && !wrongFormatFiles.includes(file),\n );\n\n if (tooBigFiles.length || wrongFormatFiles.length) {\n this.rejectFiles([\n ...tooBigFiles.map(file => ({\n name: file.name,\n type: file.type,\n size: file.size,\n content:\n texts.maxSizeRejectionReason +\n 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 }\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 getAcceptArray(this.accept).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 rejectFiles(rejectedFiles: readonly TuiFileLike[]): void {\n this.reject.emit(this.multiple ? rejectedFiles : rejectedFiles[0]);\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 TuiItemDirective,\n TuiLetModule,\n TuiPressedModule,\n} from '@taiga-ui/cdk';\nimport {\n TuiButtonModule,\n TuiGroupModule,\n TuiLinkModule,\n TuiLoaderModule,\n TuiSvgModule,\n TuiWrapperModule,\n} from '@taiga-ui/core';\nimport {\n TuiFileComponent,\n TuiFilesComponent,\n TuiFilesModule,\n} from '@taiga-ui/kit/components/files';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputFilesComponent} from './input-files.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 TuiGroupModule,\n TuiFilesModule,\n ],\n declarations: [TuiInputFilesComponent],\n exports: [\n TuiInputFilesComponent,\n TuiFilesComponent,\n TuiFileComponent,\n TuiItemDirective,\n ],\n})\nexport class TuiInputFilesModule {}\n"]}
@@ -1,2 +0,0 @@
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/kit/providers"),require("@angular/common"),require("@taiga-ui/core")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-inline",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/kit/providers","@angular/common","@taiga-ui/core"],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-inline"]={}),e.ng.core,e.ng.forms,e.cdk,e["taiga-ui"].kit.providers,e.ng.common,e.core$1)}(this,(function(e,t,n,o,i,r,a){"use strict";var u=function(e,t){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function c(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function l(e,t){return function(n,o){t(n,o,e)}}Object.create;Object.create;var p=function(e){function r(t,n){var o=e.call(this,t,n)||this;return o.maxLength=null,o}var a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}u(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(r,e),a=r,Object.defineProperty(r.prototype,"nativeFocusableElement",{get:function(){return this.native?this.native.nativeElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"focused",{get:function(){return o.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(r.prototype,"hasValue",{get:function(){return""!==this.value},enumerable:!0,configurable:!0}),r.prototype.onValueChange=function(e){this.updateValue(e)},r.prototype.onFocused=function(e){this.updateFocused(e)},r.prototype.getFallbackValue=function(){return""},r.ctorParameters=function(){return[{type:n.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[n.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]}]},c([t.ViewChild("native")],r.prototype,"native",void 0),c([t.Input(),o.tuiDefaultProp()],r.prototype,"maxLength",void 0),r=a=c([t.Component({selector:"tui-input-inline",template:'<span class="t-before">{{ value }}</span>\n\n<span\n *ngIf="!hasValue"\n automation-id="tui-input-inline__placeholder"\n class="t-placeholder"\n>\n <ng-content></ng-content>\n</span>\n\n<input\n #native\n automation-id="tui-input-inline__native"\n type="text"\n tuiMaskAccessor\n class="t-native"\n [attr.maxLength]="maxLength"\n [id]="id"\n [disabled]="computedDisabled"\n [readOnly]="readOnly"\n [tuiFocusable]="focusable"\n [ngModel]="value"\n (ngModelChange)="onValueChange($event)"\n (tuiFocusedChange)="onFocused($event)"\n/>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[i.TUI_VALUE_ACCESSOR_PROVIDER,{provide:o.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return a}))}],styles:[":host{position:relative;display:inline-block;overflow:hidden;white-space:nowrap;box-sizing:border-box}.t-before{padding-right:.02em;margin-left:1px;visibility:hidden;white-space:pre}.t-placeholder{margin-left:-1px}.t-native{position:absolute;top:0;left:0;background-color:transparent;padding:inherit;font:inherit;color:inherit;box-sizing:border-box;width:100%;height:100%;border-width:0;text-align:inherit;letter-spacing:inherit;text-indent:inherit;text-transform:inherit;outline:0}"]}),l(0,t.Optional()),l(0,t.Self()),l(0,t.Inject(n.NgControl)),l(1,t.Inject(t.ChangeDetectorRef))],r)}(o.AbstractTuiControl),s=function(){function e(){}return e=c([t.NgModule({imports:[r.CommonModule,n.FormsModule,o.TuiFocusableModule,o.TuiFocusedModule,a.TuiMaskAccessorModule],declarations:[p],exports:[p]})],e)}();e.TuiInputInlineComponent=p,e.TuiInputInlineModule=s,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-inline.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-inline/input-inline.component.ts","ng://@taiga-ui/kit/components/input-inline/input-inline.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","TuiInputInlineComponent","control","changeDetectorRef","_this","_super","this","maxLength","TypeError","String","__","constructor","__extends","native","nativeElement","isNativeFocused","nativeFocusableElement","value","onValueChange","updateValue","onFocused","focused","updateFocused","getFallbackValue","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","ViewChild","Input","tuiDefaultProp","TuiInputInlineComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","TUI_VALUE_ACCESSOR_PROVIDER","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiControl","TuiInputInlineModule","NgModule","imports","CommonModule","FormsModule","TuiFocusableModule","TuiFocusedModule","TuiMaskAccessorModule","declarations","exports"],"mappings":"kwBAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2Hd,EAAvHe,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOZ,OAAOiB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAStB,EAAIW,EAAWW,MAAIJ,GAAKH,EAAI,EAAIf,EAAEkB,GAAKH,EAAI,EAAIf,EAAEY,EAAQC,EAAKK,GAAKlB,EAAEY,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKhB,OAAOqB,eAAeX,EAAQC,EAAKK,GAAIA,EAGzD,SAASM,EAAQC,EAAYC,GAChC,OAAO,SAAUd,EAAQC,GAAOa,EAAUd,EAAQC,EAAKY,IA6C9BvB,OAAOyB,OA0GXzB,OAAOyB,yBCtK5B,SAAAC,EAIIC,EAC2BC,GAL/B,IAAAC,EAOIC,EAAAvB,KAAAwB,KAAMJ,EAASC,IAAkBG,YATrCF,EAAAG,UAA2B,aAmC/B,ODzDO,SAAmBlC,EAAGC,GAC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,ufAgBjCrC,EAAA,EAAA6B,EAAAA,YACA7B,EAAA,EAAA8B,EAAAA,QACA9B,EAAA,EAAA+B,EAAAA,OAAOJ,EAAAA,YAEP3B,EAAA,EAAA+B,EAAAA,OAAOE,EAAAA,qBAhBH7B,IACD8C,EAAAA,iCClBZ,SAAAC,KAAmC,OAAtBA,EAAoBjE,EAAA,CAXhCkE,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,YACAC,EAAAA,mBACAC,EAAAA,iBACAC,EAAAA,uBAEJC,aAAc,CAACvD,GACfwD,QAAS,CAACxD,MAED+C","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 (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\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 var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(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, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, 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\n/** @deprecated */\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\n/** @deprecated */\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 __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\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\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\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 (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, 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, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n forwardRef,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n isNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {TUI_VALUE_ACCESSOR_PROVIDER} from '@taiga-ui/kit/providers';\n\n@Component({\n selector: `tui-input-inline`,\n templateUrl: `./input-inline.template.html`,\n styleUrls: [`./input-inline.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n TUI_VALUE_ACCESSOR_PROVIDER,\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputInlineComponent),\n },\n ],\n})\nexport class TuiInputInlineComponent\n extends AbstractTuiControl<string | number>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(`native`)\n private readonly native?: ElementRef<HTMLInputElement>;\n\n @Input()\n @tuiDefaultProp()\n maxLength: number | null = null;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return !this.native ? null : this.native.nativeElement;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get hasValue(): boolean {\n return this.value !== ``;\n }\n\n onValueChange(value: string): void {\n this.updateValue(value);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n protected getFallbackValue(): string {\n return ``;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiFocusableModule, TuiFocusedModule} from '@taiga-ui/cdk';\nimport {TuiMaskAccessorModule} from '@taiga-ui/core';\n\nimport {TuiInputInlineComponent} from './input-inline.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n TuiFocusableModule,\n TuiFocusedModule,\n TuiMaskAccessorModule,\n ],\n declarations: [TuiInputInlineComponent],\n exports: [TuiInputInlineComponent],\n})\nexport class TuiInputInlineModule {}\n"]}
@@ -1,2 +0,0 @@
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/providers"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@taiga-ui/kit/components/calendar-month")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-month-range",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/tokens","@taiga-ui/kit/providers","rxjs","rxjs/operators","@angular/common","@taiga-ui/kit/components/calendar-month"],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-month-range"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.tokens,e["taiga-ui"].kit.providers,e.rxjs,e.rxjs.operators,e.ng.common,e["taiga-ui"].kit.components["calendar-month"])}(this,(function(e,t,n,o,i,r,a,u,l,c,s){"use strict";var p=function(e,t){return(p=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}p(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function f(e,t,n,o){var i,r=arguments.length,a=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(i=e[u])&&(a=(r<3?i(a):r>3?i(t,n,a):i(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function g(e,t){return function(n,o){t(n,o,e)}}Object.create;function h(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,i,r=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a}Object.create;var v=[{provide:o.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return m}))},{provide:o.AbstractTuiControl,useExisting:t.forwardRef((function(){return m}))},a.LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER,a.TUI_MONTH_FORMATTER_PROVIDER,i.TuiMonthPipe],m=function(e){function a(t,n,i,r){var a=e.call(this,t,n)||this;return a.formatter=i,a.textfieldSize=r,a.min=o.TUI_FIRST_DAY,a.max=o.TUI_LAST_DAY,a.disabledItemHandler=o.ALWAYS_FALSE_HANDLER,a.open=!1,a}return d(a,e),Object.defineProperty(a.prototype,"nativeFocusableElement",{get:function(){return this.textfield?this.textfield.nativeFocusableElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"focused",{get:function(){return!!this.textfield&&this.textfield.focused},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"calendarIcon",{get:function(){return i.sizeBigger(this.textfieldSize.size)?"tuiIconCalendarLarge":"tuiIconCalendar"},enumerable:!0,configurable:!0}),a.prototype.computeValue=function(e,t){var n=e===t&&this.focused&&!this.readOnly?"":t;return e+" "+o.CHAR_EN_DASH+" "+n},a.prototype.onValueChange=function(e){e||(this.updateValue(null),this.onOpenChange(!0))},a.prototype.onMonthClick=function(e){null!==this.value&&this.value.isSingleMonth?(this.updateValue(o.TuiMonthRange.sort(this.value.from,e)),this.close()):this.writeValue(new o.TuiMonthRange(e,e))},a.prototype.onHovered=function(e){this.updateHovered(e)},a.prototype.onOpenChange=function(e){this.open=e},a.prototype.onActiveZone=function(e){var t;this.updateFocused(e),e||(null===(t=this.value)||void 0===t?void 0:t.isSingleMonth)&&this.updateValue(new o.TuiMonthRange(this.value.from,this.value.from))},a.prototype.setDisabledState=function(){e.prototype.setDisabledState.call(this),this.close()},a.prototype.close=function(){this.open=!1},a.ctorParameters=function(){return[{type:n.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[n.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:void 0,decorators:[{type:t.Inject,args:[r.TUI_MONTH_FORMATTER]}]},{type:i.TuiTextfieldSizeDirective,decorators:[{type:t.Inject,args:[i.TUI_TEXTFIELD_SIZE]}]}]},f([t.ViewChild(i.TuiPrimitiveTextfieldComponent)],a.prototype,"textfield",void 0),f([t.Input(),o.tuiDefaultProp()],a.prototype,"min",void 0),f([t.Input(),o.tuiDefaultProp()],a.prototype,"max",void 0),f([t.Input(),o.tuiDefaultProp()],a.prototype,"disabledItemHandler",void 0),a=f([t.Component({selector:"tui-input-month-range",template:'<tui-hosted-dropdown\n class="t-hosted"\n [canOpen]="interactive"\n [content]="dropdown"\n [open]="open && interactive"\n (openChange)="onOpenChange($event)"\n (tuiActiveZoneChange)="onActiveZone($event)"\n>\n <tui-primitive-textfield\n class="t-textfield"\n [editable]="false"\n [disabled]="computedDisabled"\n [nativeId]="nativeId"\n [readOnly]="readOnly"\n [iconContent]="calendarIcon"\n [pseudoFocused]="pseudoFocused"\n [pseudoHovered]="pseudoHovered"\n [invalid]="computedInvalid"\n [value]="\n value\n ? computeValue(value.from | tuiMapper: formatter | async, value.to | tuiMapper: formatter | async)\n : \'\'\n "\n (valueChange)="onValueChange($event)"\n (hoveredChange)="onHovered($event)"\n >\n <ng-content></ng-content>\n <ng-content\n select="input"\n ngProjectAs="input"\n ></ng-content>\n </tui-primitive-textfield>\n\n <ng-template #dropdown>\n <tui-calendar-month\n tuiPreventDefault="mousedown"\n [disabledItemHandler]="disabledItemHandler"\n [min]="min"\n [max]="max"\n [value]="value"\n (monthClick)="onMonthClick($event)"\n ></tui-calendar-month>\n </ng-template>\n</tui-hosted-dropdown>\n',providers:v,changeDetection:t.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}"]}),g(0,t.Optional()),g(0,t.Self()),g(0,t.Inject(n.NgControl)),g(1,t.Inject(t.ChangeDetectorRef)),g(2,t.Inject(r.TUI_MONTH_FORMATTER)),g(3,t.Inject(i.TUI_TEXTFIELD_SIZE))],a)}(o.AbstractTuiNullableControl),y=function(e){function n(t,n,o){var i=e.call(this,t)||this;return i.value$=new u.Subject,i.localizedValue=["",""],i.value$.pipe(l.distinctUntilChanged(),l.switchMap((function(e){return u.combineLatest([n((null==e?void 0:e.from)||null),n((null==e?void 0:e.to)||null)])})),l.takeUntil(o)).subscribe((function(e){i.localizedValue=e})),i}var a;return d(n,e),a=n,Object.defineProperty(n.prototype,"readOnly",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"value",{get:function(){var e;return this.localizedValue[0]?(e=this.host).computeValue.apply(e,function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(h(arguments[t]));return e}(this.localizedValue)):""},enumerable:!0,configurable:!0}),n.prototype.ngDoCheck=function(){this.value$.next(this.host.value)},n.prototype.onValueChange=function(e){this.host.onValueChange(e)},n.ctorParameters=function(){return[{type:m,decorators:[{type:t.Inject,args:[o.AbstractTuiControl]}]},{type:void 0,decorators:[{type:t.Inject,args:[r.TUI_MONTH_FORMATTER]}]},{type:u.Observable,decorators:[{type:t.Self},{type:t.Inject,args:[o.TuiDestroyService]}]}]},n=a=f([t.Directive({selector:"tui-input-month-range",providers:[{provide:i.TUI_TEXTFIELD_HOST,useExisting:t.forwardRef((function(){return a}))},o.TuiDestroyService]}),g(0,t.Inject(o.AbstractTuiControl)),g(1,t.Inject(r.TUI_MONTH_FORMATTER)),g(2,t.Self()),g(2,t.Inject(o.TuiDestroyService))],n)}(i.TuiAbstractTextfieldHost),T=function(){function e(){}return e=f([t.NgModule({imports:[c.CommonModule,s.TuiCalendarMonthModule,i.TuiHostedDropdownModule,i.TuiPrimitiveTextfieldModule,i.TuiSvgModule,o.TuiPreventDefaultModule,o.TuiActiveZoneModule,o.TuiMapperPipeModule],declarations:[m,y],exports:[m,y,i.TuiTextfieldComponent]})],e)}();e.TUI_INPUT_MONTH_RANGE_PROVIDERS=v,e.TuiInputMonthRangeComponent=m,e.TuiInputMonthRangeDirective=y,e.TuiInputMonthRangeModule=T,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-month-range.umd.min.js.map