@taiga-ui/kit 3.491.1-canary.a08581f → 4.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2169) hide show
  1. package/LICENSE +190 -0
  2. package/components/accordion/accordion-item-content.directive.d.ts +6 -0
  3. package/components/accordion/accordion-item-eager-content.directive.d.ts +5 -0
  4. package/components/accordion/accordion-item.component.d.ts +25 -0
  5. package/components/accordion/accordion.d.ts +5 -0
  6. package/components/accordion/accordion.directive.d.ts +12 -0
  7. package/components/accordion/index.d.ts +5 -5
  8. package/components/action-bar/action-bar.component.d.ts +7 -0
  9. package/components/action-bar/action-bar.d.ts +3 -0
  10. package/components/action-bar/action-bar.directive.d.ts +6 -0
  11. package/components/action-bar/index.d.ts +3 -0
  12. package/components/avatar/avatar-labeled.component.d.ts +7 -0
  13. package/components/avatar/avatar-outline.directive.d.ts +8 -0
  14. package/components/avatar/avatar-stack.component.d.ts +7 -0
  15. package/components/avatar/avatar.component.d.ts +12 -23
  16. package/components/avatar/avatar.options.d.ts +7 -10
  17. package/components/avatar/index.d.ts +3 -1
  18. package/components/badge/badge.directive.d.ts +11 -0
  19. package/components/badge/badge.options.d.ts +10 -0
  20. package/components/badge/index.d.ts +2 -2
  21. package/components/badge-notification/badge-notification.component.d.ts +8 -0
  22. package/components/badge-notification/badge-notification.options.d.ts +8 -0
  23. package/components/badge-notification/index.d.ts +2 -0
  24. package/components/badged-content/badge-content.d.ts +3 -0
  25. package/components/badged-content/badged-content.component.d.ts +1 -19
  26. package/components/badged-content/badged-content.directive.d.ts +6 -0
  27. package/components/badged-content/index.d.ts +2 -1
  28. package/components/block/block.directive.d.ts +14 -0
  29. package/components/block/block.options.d.ts +9 -0
  30. package/components/block/index.d.ts +2 -0
  31. package/components/breadcrumbs/breadcrumbs.component.d.ts +9 -11
  32. package/components/breadcrumbs/breadcrumbs.options.d.ts +2 -3
  33. package/components/breadcrumbs/index.d.ts +0 -1
  34. package/components/button-loading/button-loading.component.d.ts +12 -0
  35. package/components/button-loading/index.d.ts +1 -0
  36. package/components/calendar-month/calendar-month.component.d.ts +24 -29
  37. package/components/calendar-month/index.d.ts +0 -1
  38. package/components/calendar-range/calendar-range.component.d.ts +30 -25
  39. package/components/calendar-range/day-caps-mapper.d.ts +8 -0
  40. package/components/calendar-range/day-range-period.d.ts +11 -0
  41. package/components/calendar-range/index.d.ts +2 -1
  42. package/components/carousel/carousel-autoscroll.directive.d.ts +5 -6
  43. package/components/carousel/carousel-buttons.directive.d.ts +3 -3
  44. package/components/carousel/carousel-scroll.directive.d.ts +3 -5
  45. package/components/carousel/carousel.component.d.ts +20 -17
  46. package/components/carousel/carousel.d.ts +7 -0
  47. package/components/carousel/carousel.directive.d.ts +2 -4
  48. package/components/carousel/index.d.ts +1 -1
  49. package/components/checkbox/checkbox.component.d.ts +16 -16
  50. package/components/checkbox/checkbox.options.d.ts +14 -0
  51. package/components/checkbox/index.d.ts +1 -1
  52. package/components/chip/chip.directive.d.ts +11 -0
  53. package/components/chip/chip.options.d.ts +9 -0
  54. package/components/chip/index.d.ts +2 -0
  55. package/components/compass/compass.component.d.ts +6 -0
  56. package/components/compass/index.d.ts +1 -0
  57. package/components/confirm/confirm.component.d.ts +22 -0
  58. package/components/confirm/confirm.service.d.ts +13 -0
  59. package/components/confirm/index.d.ts +2 -0
  60. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +4 -7
  61. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +18 -7
  62. package/components/data-list-wrapper/data-list-wrapper.module.d.ts +4 -12
  63. package/components/data-list-wrapper/index.d.ts +0 -1
  64. package/components/elastic-container/elastic-container.component.d.ts +6 -6
  65. package/components/elastic-container/elastic-container.directive.d.ts +2 -5
  66. package/components/elastic-container/index.d.ts +0 -1
  67. package/components/files/file/file.component.d.ts +30 -32
  68. package/components/files/file/file.options.d.ts +14 -0
  69. package/components/files/files/files.component.d.ts +16 -0
  70. package/components/files/files.d.ts +7 -0
  71. package/components/files/files.types.d.ts +9 -0
  72. package/components/files/files.utils.d.ts +4 -0
  73. package/components/files/files.validators.d.ts +5 -0
  74. package/components/files/index.d.ts +12 -3
  75. package/components/files/input-files/input-files-validator.directive.d.ts +14 -0
  76. package/components/files/input-files/input-files.component.d.ts +18 -0
  77. package/components/files/input-files/input-files.content.d.ts +14 -0
  78. package/components/files/input-files/input-files.directive.d.ts +16 -0
  79. package/components/files/input-files/input-files.options.d.ts +14 -0
  80. package/components/files/pipes/file-rejected.pipe.d.ts +16 -0
  81. package/components/filter/filter.component.d.ts +10 -12
  82. package/components/filter/index.d.ts +0 -1
  83. package/components/index.d.ts +12 -35
  84. package/components/input-inline/index.d.ts +0 -1
  85. package/components/input-inline/input-inline.component.d.ts +7 -18
  86. package/components/input-phone-international/get-country-calling-code.pipe.d.ts +9 -0
  87. package/components/input-phone-international/index.d.ts +0 -2
  88. package/components/input-phone-international/input-phone-international.component.d.ts +24 -56
  89. package/components/input-phone-international/input-phone-international.options.d.ts +5 -2
  90. package/components/items-with-more/index.d.ts +1 -1
  91. package/components/items-with-more/items-with-more.component.d.ts +10 -9
  92. package/components/items-with-more/items-with-more.d.ts +5 -0
  93. package/components/items-with-more/items-with-more.directive.d.ts +2 -2
  94. package/components/items-with-more/items-with-more.service.d.ts +3 -8
  95. package/components/items-with-more/more.directive.d.ts +5 -5
  96. package/components/line-clamp/index.d.ts +0 -1
  97. package/components/line-clamp/line-clamp-box.component.d.ts +5 -5
  98. package/components/line-clamp/line-clamp-position.directive.d.ts +3 -3
  99. package/components/line-clamp/line-clamp.component.d.ts +15 -16
  100. package/components/line-clamp/line-clamp.options.d.ts +1 -1
  101. package/components/pagination/index.d.ts +0 -1
  102. package/components/pagination/pagination.component.d.ts +24 -29
  103. package/components/pdf-viewer/index.d.ts +0 -1
  104. package/components/pdf-viewer/pdf-viewer.component.d.ts +8 -12
  105. package/components/pdf-viewer/pdf-viewer.directive.d.ts +4 -4
  106. package/components/pdf-viewer/pdf-viewer.options.d.ts +8 -10
  107. package/components/pdf-viewer/pdf-viewer.service.d.ts +8 -10
  108. package/components/pin/index.d.ts +1 -0
  109. package/components/pin/pin.component.d.ts +6 -0
  110. package/components/preview/index.d.ts +7 -0
  111. package/components/preview/pagination/preview-pagination.component.d.ts +15 -0
  112. package/components/preview/preview-action/preview-action.directive.d.ts +5 -0
  113. package/components/preview/preview-dialog/index.d.ts +3 -0
  114. package/components/preview/preview-dialog/preview-dialog.component.d.ts +14 -0
  115. package/components/preview/preview-dialog/preview-dialog.directive.d.ts +6 -0
  116. package/components/preview/preview-dialog/preview-dialog.service.d.ts +6 -0
  117. package/components/preview/preview.component.d.ts +36 -0
  118. package/components/preview/preview.d.ts +6 -0
  119. package/components/preview/title/preview-title.component.d.ts +5 -0
  120. package/components/preview/zoom/preview-zoom.component.d.ts +25 -0
  121. package/components/progress/index.d.ts +2 -2
  122. package/components/progress/progress-bar/progress-bar.component.d.ts +4 -7
  123. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +6 -10
  124. package/components/progress/progress-circle/progress-circle.component.d.ts +7 -16
  125. package/components/progress/progress-label/progress-label.component.d.ts +3 -3
  126. package/components/progress/progress-segmented/index.d.ts +1 -0
  127. package/components/progress/progress-segmented/progress-segmented.directive.d.ts +7 -0
  128. package/components/progress/progress.d.ts +6 -0
  129. package/components/pulse/index.d.ts +1 -0
  130. package/components/pulse/pulse.component.d.ts +7 -0
  131. package/components/push/index.d.ts +0 -2
  132. package/components/push/push-alert.component.d.ts +8 -10
  133. package/components/push/push.component.d.ts +8 -10
  134. package/components/push/push.directive.d.ts +8 -11
  135. package/components/push/push.options.d.ts +2 -2
  136. package/components/push/push.service.d.ts +3 -7
  137. package/components/radio/index.d.ts +2 -1
  138. package/components/radio/radio.component.d.ts +12 -29
  139. package/components/radio/radio.d.ts +3 -0
  140. package/components/radio/radio.directive.d.ts +8 -0
  141. package/components/radio/radio.options.d.ts +5 -11
  142. package/components/radio-list/index.d.ts +0 -1
  143. package/components/radio-list/radio-list.component.d.ts +15 -23
  144. package/components/range/index.d.ts +0 -1
  145. package/components/range/range-change.directive.d.ts +5 -7
  146. package/components/range/range.component.d.ts +23 -23
  147. package/components/rating/index.d.ts +0 -1
  148. package/components/rating/rating.component.d.ts +13 -20
  149. package/components/rating/rating.options.d.ts +4 -7
  150. package/components/routable-dialog/generate-dialogable-route.d.ts +5 -4
  151. package/components/routable-dialog/index.d.ts +0 -1
  152. package/components/routable-dialog/routable-dialog.component.d.ts +9 -9
  153. package/components/segmented/index.d.ts +2 -0
  154. package/components/segmented/segmented.component.d.ts +20 -0
  155. package/components/segmented/segmented.directive.d.ts +17 -0
  156. package/components/slider/helpers/key-steps.d.ts +25 -0
  157. package/components/slider/helpers/slider-key-steps.directive.d.ts +8 -16
  158. package/components/slider/helpers/slider-readonly.directive.d.ts +11 -9
  159. package/components/slider/helpers/slider-thumb-label.component.d.ts +15 -0
  160. package/components/slider/index.d.ts +3 -2
  161. package/components/slider/slider.component.d.ts +11 -16
  162. package/components/slider/slider.d.ts +5 -0
  163. package/components/slider/slider.options.d.ts +2 -2
  164. package/components/stepper/index.d.ts +2 -2
  165. package/components/stepper/step.component.d.ts +18 -0
  166. package/components/stepper/stepper.component.d.ts +14 -14
  167. package/components/stepper/stepper.d.ts +3 -0
  168. package/components/switch/index.d.ts +2 -0
  169. package/components/switch/switch.component.d.ts +19 -0
  170. package/components/switch/switch.options.d.ts +12 -0
  171. package/components/tabs/index.d.ts +6 -8
  172. package/components/tabs/tab.directive.d.ts +13 -0
  173. package/components/tabs/tabs-horizontal.directive.d.ts +17 -0
  174. package/components/tabs/tabs-vertical.directive.d.ts +10 -0
  175. package/components/tabs/tabs-with-more.component.d.ts +50 -0
  176. package/components/tabs/tabs.d.ts +7 -0
  177. package/components/tabs/tabs.directive.d.ts +9 -4
  178. package/components/tabs/tabs.options.d.ts +4 -2
  179. package/components/tabs/tabs.providers.d.ts +5 -0
  180. package/components/tiles/index.d.ts +1 -1
  181. package/components/tiles/tile-handle.directive.d.ts +6 -8
  182. package/components/tiles/tile.component.d.ts +11 -15
  183. package/components/tiles/tile.service.d.ts +2 -6
  184. package/components/tiles/tiles.component.d.ts +3 -5
  185. package/components/tiles/tiles.d.ts +4 -0
  186. package/components/tree/components/tree/tree.component.d.ts +12 -13
  187. package/components/tree/components/tree-item/tree-item.component.d.ts +11 -12
  188. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +13 -11
  189. package/components/tree/directives/tree-children.directive.d.ts +4 -4
  190. package/components/tree/directives/tree-controller.directive.d.ts +8 -8
  191. package/components/tree/directives/tree-item-controller.directive.d.ts +7 -7
  192. package/components/tree/directives/tree-node.directive.d.ts +5 -8
  193. package/components/tree/index.d.ts +1 -2
  194. package/components/tree/misc/tree.constants.d.ts +3 -3
  195. package/components/tree/misc/tree.interfaces.d.ts +11 -11
  196. package/components/tree/misc/tree.service.d.ts +0 -2
  197. package/components/tree/misc/tree.tokens.d.ts +1 -1
  198. package/components/tree/tree.d.ts +8 -0
  199. package/directives/button-close/button-close.directive.d.ts +5 -0
  200. package/directives/button-close/button-close.options.d.ts +1 -0
  201. package/directives/button-close/index.d.ts +2 -0
  202. package/directives/button-group/button-group.directive.d.ts +6 -0
  203. package/directives/button-group/index.d.ts +1 -0
  204. package/directives/button-vertical/button-vertical.directive.d.ts +6 -0
  205. package/directives/button-vertical/index.d.ts +1 -0
  206. package/directives/chevron/chevron.directive.d.ts +12 -0
  207. package/directives/chevron/index.d.ts +1 -0
  208. package/directives/comment/comment.directive.d.ts +8 -0
  209. package/directives/comment/index.d.ts +1 -0
  210. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +5 -7
  211. package/directives/data-list-dropdown-manager/index.d.ts +0 -1
  212. package/directives/fade/fade.directive.d.ts +12 -0
  213. package/directives/fade/index.d.ts +1 -0
  214. package/directives/highlight/highlight.directive.d.ts +7 -8
  215. package/directives/highlight/index.d.ts +0 -1
  216. package/directives/index.d.ts +10 -3
  217. package/directives/lazy-loading/index.d.ts +0 -1
  218. package/directives/lazy-loading/lazy-loading.directive.d.ts +10 -12
  219. package/directives/lazy-loading/lazy-loading.service.d.ts +5 -4
  220. package/directives/present/index.d.ts +0 -1
  221. package/directives/present/present.directive.d.ts +5 -17
  222. package/directives/sensitive/index.d.ts +1 -0
  223. package/directives/sensitive/sensitive.directive.d.ts +9 -0
  224. package/directives/skeleton/index.d.ts +1 -0
  225. package/directives/skeleton/skeleton.directive.d.ts +13 -0
  226. package/directives/tooltip/index.d.ts +1 -0
  227. package/directives/tooltip/tooltip.directive.d.ts +17 -0
  228. package/directives/unfinished-validator/index.d.ts +1 -1
  229. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +4 -8
  230. package/directives/unfinished-validator/unfinished.validator.d.ts +3 -0
  231. package/directives/unmask-handler/index.d.ts +1 -0
  232. package/directives/unmask-handler/unmask-handler.directive.d.ts +12 -0
  233. package/esm2022/components/accordion/accordion-item-content.directive.mjs +16 -0
  234. package/esm2022/components/accordion/accordion-item-eager-content.directive.mjs +15 -0
  235. package/esm2022/components/accordion/accordion-item.component.mjs +101 -0
  236. package/esm2022/components/accordion/accordion.directive.mjs +65 -0
  237. package/esm2022/components/accordion/accordion.mjs +11 -0
  238. package/esm2022/components/accordion/index.mjs +6 -0
  239. package/esm2022/components/action-bar/action-bar.component.mjs +26 -0
  240. package/esm2022/components/action-bar/action-bar.directive.mjs +17 -0
  241. package/esm2022/components/action-bar/action-bar.mjs +4 -0
  242. package/esm2022/components/action-bar/index.mjs +4 -0
  243. package/esm2022/components/action-bar/taiga-ui-kit-components-action-bar.mjs +5 -0
  244. package/esm2022/components/avatar/avatar-labeled.component.mjs +50 -0
  245. package/esm2022/components/avatar/avatar-outline.directive.mjs +41 -0
  246. package/esm2022/components/avatar/avatar-stack.component.mjs +20 -0
  247. package/esm2022/components/avatar/avatar.component.mjs +55 -0
  248. package/esm2022/components/avatar/avatar.options.mjs +11 -0
  249. package/esm2022/components/avatar/index.mjs +6 -0
  250. package/esm2022/components/badge/badge.directive.mjs +47 -0
  251. package/esm2022/components/badge/badge.options.mjs +11 -0
  252. package/esm2022/components/badge/index.mjs +3 -0
  253. package/esm2022/components/badge-notification/badge-notification.component.mjs +25 -0
  254. package/esm2022/components/badge-notification/badge-notification.options.mjs +9 -0
  255. package/esm2022/components/badge-notification/index.mjs +3 -0
  256. package/esm2022/components/badge-notification/taiga-ui-kit-components-badge-notification.mjs +5 -0
  257. package/esm2022/components/badged-content/badge-content.mjs +7 -0
  258. package/esm2022/components/badged-content/badged-content.component.mjs +14 -0
  259. package/esm2022/components/badged-content/badged-content.directive.mjs +20 -0
  260. package/esm2022/components/badged-content/index.mjs +4 -0
  261. package/esm2022/components/block/block.directive.mjs +62 -0
  262. package/esm2022/components/block/block.options.mjs +10 -0
  263. package/esm2022/components/block/index.mjs +3 -0
  264. package/esm2022/components/block/taiga-ui-kit-components-block.mjs +5 -0
  265. package/esm2022/components/breadcrumbs/breadcrumbs.component.mjs +31 -0
  266. package/esm2022/components/breadcrumbs/breadcrumbs.options.mjs +10 -0
  267. package/esm2022/components/breadcrumbs/index.mjs +3 -0
  268. package/esm2022/components/button-loading/button-loading.component.mjs +71 -0
  269. package/esm2022/components/button-loading/index.mjs +2 -0
  270. package/esm2022/components/button-loading/taiga-ui-kit-components-button-loading.mjs +5 -0
  271. package/esm2022/components/calendar-month/calendar-month.component.mjs +196 -0
  272. package/esm2022/components/calendar-month/index.mjs +2 -0
  273. package/esm2022/components/calendar-range/calendar-range.component.mjs +147 -0
  274. package/esm2022/components/calendar-range/day-caps-mapper.mjs +20 -0
  275. package/esm2022/components/calendar-range/day-range-period.mjs +36 -0
  276. package/esm2022/components/calendar-range/index.mjs +4 -0
  277. package/esm2022/components/carousel/carousel-autoscroll.directive.mjs +21 -0
  278. package/esm2022/components/carousel/carousel-buttons.directive.mjs +27 -0
  279. package/esm2022/components/carousel/carousel-scroll.directive.mjs +27 -0
  280. package/esm2022/components/carousel/carousel.component.mjs +163 -0
  281. package/esm2022/components/carousel/carousel.directive.mjs +33 -0
  282. package/esm2022/components/carousel/carousel.mjs +15 -0
  283. package/esm2022/components/carousel/index.mjs +7 -0
  284. package/esm2022/components/checkbox/checkbox.component.mjs +63 -0
  285. package/esm2022/components/checkbox/checkbox.options.mjs +14 -0
  286. package/esm2022/components/checkbox/index.mjs +3 -0
  287. package/esm2022/components/chip/chip.directive.mjs +63 -0
  288. package/esm2022/components/chip/chip.options.mjs +10 -0
  289. package/esm2022/components/chip/index.mjs +3 -0
  290. package/esm2022/components/chip/taiga-ui-kit-components-chip.mjs +5 -0
  291. package/esm2022/components/compass/compass.component.mjs +20 -0
  292. package/esm2022/components/compass/index.mjs +2 -0
  293. package/esm2022/components/compass/taiga-ui-kit-components-compass.mjs +5 -0
  294. package/esm2022/components/confirm/confirm.component.mjs +34 -0
  295. package/esm2022/components/confirm/confirm.service.mjs +32 -0
  296. package/esm2022/components/confirm/index.mjs +3 -0
  297. package/esm2022/components/confirm/taiga-ui-kit-components-confirm.mjs +5 -0
  298. package/esm2022/components/data-list-wrapper/data-list-group-wrapper.component.mjs +28 -0
  299. package/esm2022/components/data-list-wrapper/data-list-wrapper.component.mjs +55 -0
  300. package/esm2022/components/data-list-wrapper/data-list-wrapper.module.mjs +9 -0
  301. package/esm2022/components/data-list-wrapper/index.mjs +4 -0
  302. package/esm2022/components/elastic-container/elastic-container.component.mjs +31 -0
  303. package/esm2022/components/elastic-container/elastic-container.directive.mjs +50 -0
  304. package/esm2022/components/elastic-container/index.mjs +3 -0
  305. package/esm2022/components/files/file/file.component.mjs +139 -0
  306. package/esm2022/components/files/file/file.options.mjs +16 -0
  307. package/esm2022/components/files/files/files.component.mjs +45 -0
  308. package/esm2022/components/files/files.mjs +15 -0
  309. package/esm2022/components/files/files.types.mjs +2 -0
  310. package/esm2022/components/files/files.utils.mjs +30 -0
  311. package/esm2022/components/files/files.validators.mjs +31 -0
  312. package/esm2022/components/files/index.mjs +14 -0
  313. package/esm2022/components/files/input-files/input-files-validator.directive.mjs +49 -0
  314. package/esm2022/components/files/input-files/input-files.component.mjs +72 -0
  315. package/esm2022/components/files/input-files/input-files.content.mjs +72 -0
  316. package/esm2022/components/files/input-files/input-files.directive.mjs +69 -0
  317. package/esm2022/components/files/input-files/input-files.options.mjs +15 -0
  318. package/esm2022/components/files/pipes/file-rejected.pipe.mjs +49 -0
  319. package/esm2022/components/filter/filter.component.mjs +74 -0
  320. package/esm2022/components/filter/index.mjs +2 -0
  321. package/esm2022/components/index.mjs +44 -0
  322. package/esm2022/components/input-inline/index.mjs +2 -0
  323. package/esm2022/components/input-inline/input-inline.component.mjs +33 -0
  324. package/esm2022/components/input-phone-international/get-country-calling-code.pipe.mjs +22 -0
  325. package/esm2022/components/input-phone-international/index.mjs +3 -0
  326. package/esm2022/components/input-phone-international/input-phone-international.component.mjs +168 -0
  327. package/esm2022/components/input-phone-international/input-phone-international.options.mjs +15 -0
  328. package/esm2022/components/items-with-more/index.mjs +6 -0
  329. package/esm2022/components/items-with-more/items-with-more.component.mjs +62 -0
  330. package/esm2022/components/items-with-more/items-with-more.directive.mjs +25 -0
  331. package/esm2022/components/items-with-more/items-with-more.mjs +11 -0
  332. package/esm2022/components/items-with-more/items-with-more.service.mjs +48 -0
  333. package/esm2022/components/items-with-more/more.directive.mjs +18 -0
  334. package/esm2022/components/line-clamp/index.mjs +4 -0
  335. package/esm2022/components/line-clamp/line-clamp-box.component.mjs +25 -0
  336. package/esm2022/components/line-clamp/line-clamp-position.directive.mjs +27 -0
  337. package/esm2022/components/line-clamp/line-clamp.component.mjs +114 -0
  338. package/esm2022/components/line-clamp/line-clamp.options.mjs +12 -0
  339. package/esm2022/components/pagination/index.mjs +2 -0
  340. package/esm2022/components/pagination/pagination.component.mjs +221 -0
  341. package/esm2022/components/pdf-viewer/index.mjs +5 -0
  342. package/esm2022/components/pdf-viewer/pdf-viewer.component.mjs +33 -0
  343. package/esm2022/components/pdf-viewer/pdf-viewer.directive.mjs +21 -0
  344. package/esm2022/components/pdf-viewer/pdf-viewer.options.mjs +14 -0
  345. package/esm2022/components/pdf-viewer/pdf-viewer.service.mjs +22 -0
  346. package/esm2022/components/pin/index.mjs +2 -0
  347. package/esm2022/components/pin/pin.component.mjs +20 -0
  348. package/esm2022/components/pin/taiga-ui-kit-components-pin.mjs +5 -0
  349. package/esm2022/components/preview/index.mjs +8 -0
  350. package/esm2022/components/preview/pagination/preview-pagination.component.mjs +52 -0
  351. package/esm2022/components/preview/preview-action/preview-action.directive.mjs +30 -0
  352. package/esm2022/components/preview/preview-dialog/index.mjs +4 -0
  353. package/esm2022/components/preview/preview-dialog/preview-dialog.component.mjs +38 -0
  354. package/esm2022/components/preview/preview-dialog/preview-dialog.directive.mjs +21 -0
  355. package/esm2022/components/preview/preview-dialog/preview-dialog.service.mjs +18 -0
  356. package/esm2022/components/preview/preview-dialog/taiga-ui-kit-components-preview-preview-dialog.mjs +5 -0
  357. package/esm2022/components/preview/preview.component.mjs +141 -0
  358. package/esm2022/components/preview/preview.mjs +13 -0
  359. package/esm2022/components/preview/taiga-ui-kit-components-preview.mjs +5 -0
  360. package/esm2022/components/preview/title/preview-title.component.mjs +16 -0
  361. package/esm2022/components/preview/zoom/preview-zoom.component.mjs +81 -0
  362. package/esm2022/components/progress/index.mjs +7 -0
  363. package/esm2022/components/progress/progress-bar/progress-bar.component.mjs +25 -0
  364. package/esm2022/components/progress/progress-bar/progress-color-segments.directive.mjs +41 -0
  365. package/esm2022/components/progress/progress-circle/progress-circle.component.mjs +42 -0
  366. package/esm2022/components/progress/progress-label/progress-label.component.mjs +12 -0
  367. package/esm2022/components/progress/progress-segmented/index.mjs +2 -0
  368. package/esm2022/components/progress/progress-segmented/progress-segmented.directive.mjs +34 -0
  369. package/esm2022/components/progress/progress-segmented/taiga-ui-kit-components-progress-progress-segmented.mjs +5 -0
  370. package/esm2022/components/progress/progress.mjs +13 -0
  371. package/esm2022/components/pulse/index.mjs +2 -0
  372. package/esm2022/components/pulse/pulse.component.mjs +25 -0
  373. package/esm2022/components/pulse/taiga-ui-kit-components-pulse.mjs +5 -0
  374. package/esm2022/components/push/index.mjs +6 -0
  375. package/esm2022/components/push/push-alert.component.mjs +42 -0
  376. package/esm2022/components/push/push.component.mjs +34 -0
  377. package/esm2022/components/push/push.directive.mjs +33 -0
  378. package/esm2022/components/push/push.options.mjs +18 -0
  379. package/esm2022/components/push/push.service.mjs +19 -0
  380. package/esm2022/components/radio/index.mjs +5 -0
  381. package/esm2022/components/radio/radio.component.mjs +35 -0
  382. package/esm2022/components/radio/radio.directive.mjs +32 -0
  383. package/esm2022/components/radio/radio.mjs +4 -0
  384. package/esm2022/components/radio/radio.options.mjs +10 -0
  385. package/esm2022/components/radio-list/index.mjs +2 -0
  386. package/esm2022/components/radio-list/radio-list.component.mjs +72 -0
  387. package/esm2022/components/range/index.mjs +3 -0
  388. package/esm2022/components/range/range-change.directive.mjs +81 -0
  389. package/esm2022/components/range/range.component.mjs +145 -0
  390. package/esm2022/components/rating/index.mjs +3 -0
  391. package/esm2022/components/rating/rating.component.mjs +82 -0
  392. package/esm2022/components/rating/rating.options.mjs +10 -0
  393. package/esm2022/components/routable-dialog/generate-dialogable-route.mjs +17 -0
  394. package/esm2022/components/routable-dialog/index.mjs +3 -0
  395. package/esm2022/components/routable-dialog/routable-dialog.component.mjs +53 -0
  396. package/esm2022/components/segmented/index.mjs +3 -0
  397. package/esm2022/components/segmented/segmented.component.mjs +64 -0
  398. package/esm2022/components/segmented/segmented.directive.mjs +67 -0
  399. package/esm2022/components/segmented/taiga-ui-kit-components-segmented.mjs +5 -0
  400. package/esm2022/components/slider/helpers/key-steps.mjs +23 -0
  401. package/esm2022/components/slider/helpers/slider-key-steps.directive.mjs +63 -0
  402. package/esm2022/components/slider/helpers/slider-readonly.directive.mjs +77 -0
  403. package/esm2022/components/slider/helpers/slider-thumb-label.component.mjs +37 -0
  404. package/esm2022/components/slider/index.mjs +8 -0
  405. package/esm2022/components/slider/slider.component.mjs +94 -0
  406. package/esm2022/components/slider/slider.mjs +11 -0
  407. package/esm2022/components/slider/slider.options.mjs +13 -0
  408. package/esm2022/components/stepper/index.mjs +4 -0
  409. package/esm2022/components/stepper/step.component.mjs +68 -0
  410. package/esm2022/components/stepper/stepper.component.mjs +129 -0
  411. package/esm2022/components/stepper/stepper.mjs +4 -0
  412. package/esm2022/components/switch/index.mjs +3 -0
  413. package/esm2022/components/switch/switch.component.mjs +51 -0
  414. package/esm2022/components/switch/switch.options.mjs +12 -0
  415. package/esm2022/components/switch/taiga-ui-kit-components-switch.mjs +5 -0
  416. package/esm2022/components/tabs/index.mjs +9 -0
  417. package/esm2022/components/tabs/tab.directive.mjs +43 -0
  418. package/esm2022/components/tabs/tabs-horizontal.directive.mjs +114 -0
  419. package/esm2022/components/tabs/tabs-vertical.directive.mjs +42 -0
  420. package/esm2022/components/tabs/tabs-with-more.component.mjs +209 -0
  421. package/esm2022/components/tabs/tabs.directive.mjs +82 -0
  422. package/esm2022/components/tabs/tabs.mjs +15 -0
  423. package/esm2022/components/tabs/tabs.options.mjs +16 -0
  424. package/esm2022/components/tabs/tabs.providers.mjs +35 -0
  425. package/esm2022/components/tiles/index.mjs +6 -0
  426. package/esm2022/components/tiles/tile-handle.directive.mjs +66 -0
  427. package/esm2022/components/tiles/tile.component.mjs +70 -0
  428. package/esm2022/components/tiles/tile.service.mjs +85 -0
  429. package/esm2022/components/tiles/tiles.component.mjs +76 -0
  430. package/esm2022/components/tiles/tiles.mjs +5 -0
  431. package/esm2022/components/tree/components/tree/tree.component.mjs +64 -0
  432. package/esm2022/components/tree/components/tree-item/tree-item.component.mjs +64 -0
  433. package/esm2022/components/tree/components/tree-item-content/tree-item-content.component.mjs +42 -0
  434. package/esm2022/components/tree/directives/tree-children.directive.mjs +24 -0
  435. package/esm2022/components/tree/directives/tree-controller.directive.mjs +57 -0
  436. package/esm2022/components/tree/directives/tree-item-controller.directive.mjs +32 -0
  437. package/esm2022/components/tree/directives/tree-node.directive.mjs +32 -0
  438. package/esm2022/components/tree/index.mjs +13 -0
  439. package/esm2022/components/tree/misc/tree.constants.mjs +9 -0
  440. package/esm2022/components/tree/misc/tree.interfaces.mjs +2 -0
  441. package/esm2022/components/tree/misc/tree.service.mjs +31 -0
  442. package/esm2022/components/tree/misc/tree.tokens.mjs +36 -0
  443. package/esm2022/components/tree/tree.mjs +17 -0
  444. package/esm2022/directives/button-close/button-close.directive.mjs +35 -0
  445. package/esm2022/directives/button-close/button-close.options.mjs +3 -0
  446. package/esm2022/directives/button-close/index.mjs +3 -0
  447. package/esm2022/directives/button-close/taiga-ui-kit-directives-button-close.mjs +5 -0
  448. package/esm2022/directives/button-group/button-group.directive.mjs +29 -0
  449. package/esm2022/directives/button-group/index.mjs +2 -0
  450. package/esm2022/directives/button-group/taiga-ui-kit-directives-button-group.mjs +5 -0
  451. package/esm2022/directives/button-vertical/button-vertical.directive.mjs +29 -0
  452. package/esm2022/directives/button-vertical/index.mjs +2 -0
  453. package/esm2022/directives/button-vertical/taiga-ui-kit-directives-button-vertical.mjs +5 -0
  454. package/esm2022/directives/chevron/chevron.directive.mjs +41 -0
  455. package/esm2022/directives/chevron/index.mjs +2 -0
  456. package/esm2022/directives/chevron/taiga-ui-kit-directives-chevron.mjs +5 -0
  457. package/esm2022/directives/comment/comment.directive.mjs +35 -0
  458. package/esm2022/directives/comment/index.mjs +2 -0
  459. package/esm2022/directives/comment/taiga-ui-kit-directives-comment.mjs +5 -0
  460. package/esm2022/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.mjs +105 -0
  461. package/esm2022/directives/data-list-dropdown-manager/index.mjs +2 -0
  462. package/esm2022/directives/fade/fade.directive.mjs +98 -0
  463. package/esm2022/directives/fade/index.mjs +2 -0
  464. package/esm2022/directives/fade/taiga-ui-kit-directives-fade.mjs +5 -0
  465. package/esm2022/directives/highlight/highlight.directive.mjs +88 -0
  466. package/esm2022/directives/highlight/index.mjs +2 -0
  467. package/esm2022/directives/index.mjs +16 -0
  468. package/esm2022/directives/lazy-loading/index.mjs +3 -0
  469. package/esm2022/directives/lazy-loading/lazy-loading.directive.mjs +58 -0
  470. package/esm2022/directives/lazy-loading/lazy-loading.service.mjs +23 -0
  471. package/esm2022/directives/present/index.mjs +2 -0
  472. package/esm2022/directives/present/present.directive.mjs +37 -0
  473. package/esm2022/directives/sensitive/index.mjs +2 -0
  474. package/esm2022/directives/sensitive/sensitive.directive.mjs +48 -0
  475. package/esm2022/directives/sensitive/taiga-ui-kit-directives-sensitive.mjs +5 -0
  476. package/esm2022/directives/skeleton/index.mjs +2 -0
  477. package/esm2022/directives/skeleton/skeleton.directive.mjs +69 -0
  478. package/esm2022/directives/skeleton/taiga-ui-kit-directives-skeleton.mjs +5 -0
  479. package/esm2022/directives/tooltip/index.mjs +2 -0
  480. package/esm2022/directives/tooltip/taiga-ui-kit-directives-tooltip.mjs +5 -0
  481. package/esm2022/directives/tooltip/tooltip.directive.mjs +93 -0
  482. package/esm2022/directives/unfinished-validator/index.mjs +3 -0
  483. package/esm2022/directives/unfinished-validator/unfinished-validator.directive.mjs +23 -0
  484. package/esm2022/directives/unfinished-validator/unfinished.validator.mjs +7 -0
  485. package/esm2022/directives/unmask-handler/index.mjs +2 -0
  486. package/esm2022/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.mjs +5 -0
  487. package/esm2022/directives/unmask-handler/unmask-handler.directive.mjs +35 -0
  488. package/esm2022/index.mjs +6 -0
  489. package/esm2022/pipes/emails/emails.options.mjs +11 -0
  490. package/esm2022/pipes/emails/emails.pipe.mjs +26 -0
  491. package/esm2022/pipes/emails/index.mjs +3 -0
  492. package/esm2022/pipes/emails/taiga-ui-kit-pipes-emails.mjs +5 -0
  493. package/esm2022/pipes/field-error/field-error-content-pipe.mjs +42 -0
  494. package/esm2022/pipes/field-error/field-error-pipe.mjs +103 -0
  495. package/esm2022/pipes/field-error/index.mjs +3 -0
  496. package/esm2022/pipes/filter-by-input/filter-by-input.pipe.mjs +59 -0
  497. package/esm2022/pipes/filter-by-input/index.mjs +2 -0
  498. package/esm2022/pipes/index.mjs +7 -0
  499. package/esm2022/pipes/sort-countries/index.mjs +2 -0
  500. package/esm2022/pipes/sort-countries/sort-countries.pipe.mjs +23 -0
  501. package/esm2022/pipes/stringify/index.mjs +2 -0
  502. package/esm2022/pipes/stringify/stringify.pipe.mjs +18 -0
  503. package/esm2022/pipes/stringify-content/index.mjs +2 -0
  504. package/esm2022/pipes/stringify-content/stringify-content.pipe.mjs +18 -0
  505. package/esm2022/tokens/calendar-date-stream.mjs +24 -0
  506. package/esm2022/tokens/date-inputs-value-transformers.mjs +15 -0
  507. package/esm2022/tokens/i18n.mjs +26 -0
  508. package/esm2022/tokens/index.mjs +9 -0
  509. package/esm2022/tokens/input-date-options.mjs +16 -0
  510. package/esm2022/tokens/items-handlers.mjs +15 -0
  511. package/esm2022/tokens/mobile-calendar.mjs +13 -0
  512. package/esm2022/tokens/preview-icons.mjs +14 -0
  513. package/esm2022/tokens/validation-errors.mjs +6 -0
  514. package/esm2022/utils/create-time-periods.mjs +12 -0
  515. package/esm2022/utils/index.mjs +4 -0
  516. package/esm2022/utils/is-flat.mjs +4 -0
  517. package/esm2022/utils/toggle-day.mjs +6 -0
  518. package/fesm2022/taiga-ui-kit-components-accordion.mjs +197 -0
  519. package/fesm2022/taiga-ui-kit-components-accordion.mjs.map +1 -0
  520. package/fesm2022/taiga-ui-kit-components-action-bar.mjs +48 -0
  521. package/fesm2022/taiga-ui-kit-components-action-bar.mjs.map +1 -0
  522. package/fesm2022/taiga-ui-kit-components-avatar.mjs +169 -0
  523. package/fesm2022/taiga-ui-kit-components-avatar.mjs.map +1 -0
  524. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs +39 -0
  525. package/fesm2022/taiga-ui-kit-components-badge-notification.mjs.map +1 -0
  526. package/fesm2022/taiga-ui-kit-components-badge.mjs +62 -0
  527. package/fesm2022/taiga-ui-kit-components-badge.mjs.map +1 -0
  528. package/fesm2022/taiga-ui-kit-components-badged-content.mjs +41 -0
  529. package/fesm2022/taiga-ui-kit-components-badged-content.mjs.map +1 -0
  530. package/fesm2022/taiga-ui-kit-components-block.mjs +76 -0
  531. package/fesm2022/taiga-ui-kit-components-block.mjs.map +1 -0
  532. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs +46 -0
  533. package/fesm2022/taiga-ui-kit-components-breadcrumbs.mjs.map +1 -0
  534. package/fesm2022/taiga-ui-kit-components-button-loading.mjs +77 -0
  535. package/fesm2022/taiga-ui-kit-components-button-loading.mjs.map +1 -0
  536. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs +202 -0
  537. package/fesm2022/taiga-ui-kit-components-calendar-month.mjs.map +1 -0
  538. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs +206 -0
  539. package/fesm2022/taiga-ui-kit-components-calendar-range.mjs.map +1 -0
  540. package/fesm2022/taiga-ui-kit-components-carousel.mjs +264 -0
  541. package/fesm2022/taiga-ui-kit-components-carousel.mjs.map +1 -0
  542. package/fesm2022/taiga-ui-kit-components-checkbox.mjs +81 -0
  543. package/fesm2022/taiga-ui-kit-components-checkbox.mjs.map +1 -0
  544. package/fesm2022/taiga-ui-kit-components-chip.mjs +77 -0
  545. package/fesm2022/taiga-ui-kit-components-chip.mjs.map +1 -0
  546. package/fesm2022/taiga-ui-kit-components-compass.mjs +26 -0
  547. package/fesm2022/taiga-ui-kit-components-compass.mjs.map +1 -0
  548. package/fesm2022/taiga-ui-kit-components-confirm.mjs +68 -0
  549. package/fesm2022/taiga-ui-kit-components-confirm.mjs.map +1 -0
  550. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs +85 -0
  551. package/fesm2022/taiga-ui-kit-components-data-list-wrapper.mjs.map +1 -0
  552. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs +83 -0
  553. package/fesm2022/taiga-ui-kit-components-elastic-container.mjs.map +1 -0
  554. package/fesm2022/taiga-ui-kit-components-files.mjs +547 -0
  555. package/fesm2022/taiga-ui-kit-components-files.mjs.map +1 -0
  556. package/fesm2022/taiga-ui-kit-components-filter.mjs +80 -0
  557. package/fesm2022/taiga-ui-kit-components-filter.mjs.map +1 -0
  558. package/fesm2022/taiga-ui-kit-components-input-inline.mjs +39 -0
  559. package/fesm2022/taiga-ui-kit-components-input-inline.mjs.map +1 -0
  560. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs +203 -0
  561. package/fesm2022/taiga-ui-kit-components-input-phone-international.mjs.map +1 -0
  562. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs +150 -0
  563. package/fesm2022/taiga-ui-kit-components-items-with-more.mjs.map +1 -0
  564. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs +171 -0
  565. package/fesm2022/taiga-ui-kit-components-line-clamp.mjs.map +1 -0
  566. package/fesm2022/taiga-ui-kit-components-pagination.mjs +227 -0
  567. package/fesm2022/taiga-ui-kit-components-pagination.mjs.map +1 -0
  568. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs +86 -0
  569. package/fesm2022/taiga-ui-kit-components-pdf-viewer.mjs.map +1 -0
  570. package/fesm2022/taiga-ui-kit-components-pin.mjs +26 -0
  571. package/fesm2022/taiga-ui-kit-components-pin.mjs.map +1 -0
  572. package/fesm2022/taiga-ui-kit-components-preview-preview-dialog.mjs +74 -0
  573. package/fesm2022/taiga-ui-kit-components-preview-preview-dialog.mjs.map +1 -0
  574. package/fesm2022/taiga-ui-kit-components-preview.mjs +369 -0
  575. package/fesm2022/taiga-ui-kit-components-preview.mjs.map +1 -0
  576. package/fesm2022/taiga-ui-kit-components-progress-progress-segmented.mjs +40 -0
  577. package/fesm2022/taiga-ui-kit-components-progress-progress-segmented.mjs.map +1 -0
  578. package/fesm2022/taiga-ui-kit-components-progress.mjs +155 -0
  579. package/fesm2022/taiga-ui-kit-components-progress.mjs.map +1 -0
  580. package/fesm2022/taiga-ui-kit-components-pulse.mjs +31 -0
  581. package/fesm2022/taiga-ui-kit-components-pulse.mjs.map +1 -0
  582. package/fesm2022/taiga-ui-kit-components-push.mjs +133 -0
  583. package/fesm2022/taiga-ui-kit-components-push.mjs.map +1 -0
  584. package/fesm2022/taiga-ui-kit-components-radio-list.mjs +78 -0
  585. package/fesm2022/taiga-ui-kit-components-radio-list.mjs.map +1 -0
  586. package/fesm2022/taiga-ui-kit-components-radio.mjs +80 -0
  587. package/fesm2022/taiga-ui-kit-components-radio.mjs.map +1 -0
  588. package/fesm2022/taiga-ui-kit-components-range.mjs +223 -0
  589. package/fesm2022/taiga-ui-kit-components-range.mjs.map +1 -0
  590. package/fesm2022/taiga-ui-kit-components-rating.mjs +97 -0
  591. package/fesm2022/taiga-ui-kit-components-rating.mjs.map +1 -0
  592. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs +81 -0
  593. package/fesm2022/taiga-ui-kit-components-routable-dialog.mjs.map +1 -0
  594. package/fesm2022/taiga-ui-kit-components-segmented.mjs +128 -0
  595. package/fesm2022/taiga-ui-kit-components-segmented.mjs.map +1 -0
  596. package/fesm2022/taiga-ui-kit-components-slider.mjs +299 -0
  597. package/fesm2022/taiga-ui-kit-components-slider.mjs.map +1 -0
  598. package/fesm2022/taiga-ui-kit-components-stepper.mjs +196 -0
  599. package/fesm2022/taiga-ui-kit-components-stepper.mjs.map +1 -0
  600. package/fesm2022/taiga-ui-kit-components-switch.mjs +67 -0
  601. package/fesm2022/taiga-ui-kit-components-switch.mjs.map +1 -0
  602. package/fesm2022/taiga-ui-kit-components-tabs.mjs +513 -0
  603. package/fesm2022/taiga-ui-kit-components-tabs.mjs.map +1 -0
  604. package/fesm2022/taiga-ui-kit-components-tiles.mjs +286 -0
  605. package/fesm2022/taiga-ui-kit-components-tiles.mjs.map +1 -0
  606. package/fesm2022/taiga-ui-kit-components-tree.mjs +357 -0
  607. package/fesm2022/taiga-ui-kit-components-tree.mjs.map +1 -0
  608. package/fesm2022/taiga-ui-kit-components.mjs +48 -0
  609. package/fesm2022/taiga-ui-kit-components.mjs.map +1 -0
  610. package/fesm2022/taiga-ui-kit-directives-button-close.mjs +43 -0
  611. package/fesm2022/taiga-ui-kit-directives-button-close.mjs.map +1 -0
  612. package/fesm2022/taiga-ui-kit-directives-button-group.mjs +35 -0
  613. package/fesm2022/taiga-ui-kit-directives-button-group.mjs.map +1 -0
  614. package/fesm2022/taiga-ui-kit-directives-button-vertical.mjs +35 -0
  615. package/fesm2022/taiga-ui-kit-directives-button-vertical.mjs.map +1 -0
  616. package/fesm2022/taiga-ui-kit-directives-chevron.mjs +47 -0
  617. package/fesm2022/taiga-ui-kit-directives-chevron.mjs.map +1 -0
  618. package/fesm2022/taiga-ui-kit-directives-comment.mjs +41 -0
  619. package/fesm2022/taiga-ui-kit-directives-comment.mjs.map +1 -0
  620. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs +111 -0
  621. package/fesm2022/taiga-ui-kit-directives-data-list-dropdown-manager.mjs.map +1 -0
  622. package/fesm2022/taiga-ui-kit-directives-fade.mjs +104 -0
  623. package/fesm2022/taiga-ui-kit-directives-fade.mjs.map +1 -0
  624. package/fesm2022/taiga-ui-kit-directives-highlight.mjs +94 -0
  625. package/fesm2022/taiga-ui-kit-directives-highlight.mjs.map +1 -0
  626. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs +82 -0
  627. package/fesm2022/taiga-ui-kit-directives-lazy-loading.mjs.map +1 -0
  628. package/fesm2022/taiga-ui-kit-directives-present.mjs +43 -0
  629. package/fesm2022/taiga-ui-kit-directives-present.mjs.map +1 -0
  630. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs +54 -0
  631. package/fesm2022/taiga-ui-kit-directives-sensitive.mjs.map +1 -0
  632. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs +75 -0
  633. package/fesm2022/taiga-ui-kit-directives-skeleton.mjs.map +1 -0
  634. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs +99 -0
  635. package/fesm2022/taiga-ui-kit-directives-tooltip.mjs.map +1 -0
  636. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs +35 -0
  637. package/fesm2022/taiga-ui-kit-directives-unfinished-validator.mjs.map +1 -0
  638. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs +41 -0
  639. package/fesm2022/taiga-ui-kit-directives-unmask-handler.mjs.map +1 -0
  640. package/fesm2022/taiga-ui-kit-directives.mjs +20 -0
  641. package/fesm2022/taiga-ui-kit-directives.mjs.map +1 -0
  642. package/fesm2022/taiga-ui-kit-pipes-emails.mjs +42 -0
  643. package/fesm2022/taiga-ui-kit-pipes-emails.mjs.map +1 -0
  644. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs +147 -0
  645. package/fesm2022/taiga-ui-kit-pipes-field-error.mjs.map +1 -0
  646. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs +65 -0
  647. package/fesm2022/taiga-ui-kit-pipes-filter-by-input.mjs.map +1 -0
  648. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs +29 -0
  649. package/fesm2022/taiga-ui-kit-pipes-sort-countries.mjs.map +1 -0
  650. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs +24 -0
  651. package/fesm2022/taiga-ui-kit-pipes-stringify-content.mjs.map +1 -0
  652. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs +24 -0
  653. package/fesm2022/taiga-ui-kit-pipes-stringify.mjs.map +1 -0
  654. package/fesm2022/taiga-ui-kit-pipes.mjs +11 -0
  655. package/fesm2022/taiga-ui-kit-pipes.mjs.map +1 -0
  656. package/fesm2022/taiga-ui-kit-tokens.mjs +130 -0
  657. package/fesm2022/taiga-ui-kit-tokens.mjs.map +1 -0
  658. package/fesm2022/taiga-ui-kit-utils.mjs +29 -0
  659. package/fesm2022/taiga-ui-kit-utils.mjs.map +1 -0
  660. package/fesm2022/taiga-ui-kit.mjs +10 -0
  661. package/fesm2022/taiga-ui-kit.mjs.map +1 -0
  662. package/index.d.ts +0 -9
  663. package/package.json +461 -28
  664. package/pipes/emails/emails.options.d.ts +1 -0
  665. package/pipes/emails/emails.pipe.d.ts +8 -0
  666. package/pipes/emails/index.d.ts +2 -0
  667. package/pipes/field-error/field-error-content-pipe.d.ts +3 -4
  668. package/pipes/field-error/field-error-pipe.d.ts +9 -10
  669. package/pipes/field-error/index.d.ts +0 -1
  670. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +12 -10
  671. package/pipes/filter-by-input/index.d.ts +0 -3
  672. package/pipes/index.d.ts +1 -3
  673. package/pipes/sort-countries/index.d.ts +0 -1
  674. package/pipes/sort-countries/sort-countries.pipe.d.ts +4 -5
  675. package/pipes/stringify/index.d.ts +0 -1
  676. package/pipes/stringify/stringify.pipe.d.ts +3 -3
  677. package/pipes/stringify-content/index.d.ts +0 -1
  678. package/pipes/stringify-content/stringify-content.pipe.d.ts +4 -4
  679. package/tokens/calendar-date-stream.d.ts +6 -4
  680. package/tokens/date-inputs-value-transformers.d.ts +5 -4
  681. package/tokens/i18n.d.ts +13 -5
  682. package/tokens/index.d.ts +1 -3
  683. package/tokens/input-date-options.d.ts +6 -5
  684. package/tokens/items-handlers.d.ts +2 -2
  685. package/tokens/mobile-calendar.d.ts +3 -1
  686. package/tokens/preview-icons.d.ts +12 -0
  687. package/tokens/validation-errors.d.ts +3 -3
  688. package/utils/create-time-periods.d.ts +2 -0
  689. package/utils/index.d.ts +3 -6
  690. package/utils/toggle-day.d.ts +2 -0
  691. package/abstract/abstract-native-select.d.ts +0 -18
  692. package/abstract/index.d.ts +0 -1
  693. package/abstract/package.json +0 -10
  694. package/abstract/taiga-ui-kit-abstract.d.ts +0 -5
  695. package/bundles/taiga-ui-kit-abstract.umd.js +0 -87
  696. package/bundles/taiga-ui-kit-abstract.umd.js.map +0 -1
  697. package/bundles/taiga-ui-kit-classes.umd.js +0 -57
  698. package/bundles/taiga-ui-kit-classes.umd.js.map +0 -1
  699. package/bundles/taiga-ui-kit-components-accordion.umd.js +0 -648
  700. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +0 -1
  701. package/bundles/taiga-ui-kit-components-action.umd.js +0 -469
  702. package/bundles/taiga-ui-kit-components-action.umd.js.map +0 -1
  703. package/bundles/taiga-ui-kit-components-arrow.umd.js +0 -140
  704. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +0 -1
  705. package/bundles/taiga-ui-kit-components-avatar.umd.js +0 -512
  706. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +0 -1
  707. package/bundles/taiga-ui-kit-components-badge.umd.js +0 -142
  708. package/bundles/taiga-ui-kit-components-badge.umd.js.map +0 -1
  709. package/bundles/taiga-ui-kit-components-badged-content.umd.js +0 -163
  710. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +0 -1
  711. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +0 -435
  712. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +0 -1
  713. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +0 -618
  714. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +0 -1
  715. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +0 -588
  716. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +0 -1
  717. package/bundles/taiga-ui-kit-components-carousel.umd.js +0 -696
  718. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +0 -1
  719. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +0 -515
  720. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +0 -1
  721. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +0 -455
  722. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +0 -1
  723. package/bundles/taiga-ui-kit-components-checkbox.umd.js +0 -479
  724. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +0 -1
  725. package/bundles/taiga-ui-kit-components-combo-box.umd.js +0 -703
  726. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +0 -1
  727. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +0 -526
  728. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +0 -1
  729. package/bundles/taiga-ui-kit-components-elastic-container.umd.js +0 -459
  730. package/bundles/taiga-ui-kit-components-elastic-container.umd.js.map +0 -1
  731. package/bundles/taiga-ui-kit-components-files.umd.js +0 -678
  732. package/bundles/taiga-ui-kit-components-files.umd.js.map +0 -1
  733. package/bundles/taiga-ui-kit-components-filter.umd.js +0 -478
  734. package/bundles/taiga-ui-kit-components-filter.umd.js.map +0 -1
  735. package/bundles/taiga-ui-kit-components-input-copy.umd.js +0 -573
  736. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +0 -1
  737. package/bundles/taiga-ui-kit-components-input-count.umd.js +0 -682
  738. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +0 -1
  739. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +0 -837
  740. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +0 -1
  741. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +0 -898
  742. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +0 -1
  743. package/bundles/taiga-ui-kit-components-input-date.umd.js +0 -848
  744. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +0 -1
  745. package/bundles/taiga-ui-kit-components-input-files.umd.js +0 -849
  746. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +0 -1
  747. package/bundles/taiga-ui-kit-components-input-inline.umd.js +0 -483
  748. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +0 -1
  749. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +0 -626
  750. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +0 -1
  751. package/bundles/taiga-ui-kit-components-input-month.umd.js +0 -660
  752. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +0 -1
  753. package/bundles/taiga-ui-kit-components-input-number.umd.js +0 -814
  754. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +0 -1
  755. package/bundles/taiga-ui-kit-components-input-password.umd.js +0 -592
  756. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +0 -1
  757. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +0 -684
  758. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +0 -1
  759. package/bundles/taiga-ui-kit-components-input-phone.umd.js +0 -785
  760. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +0 -1
  761. package/bundles/taiga-ui-kit-components-input-range.umd.js +0 -667
  762. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +0 -1
  763. package/bundles/taiga-ui-kit-components-input-slider.umd.js +0 -608
  764. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +0 -1
  765. package/bundles/taiga-ui-kit-components-input-tag.umd.js +0 -972
  766. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +0 -1
  767. package/bundles/taiga-ui-kit-components-input-time.umd.js +0 -894
  768. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +0 -1
  769. package/bundles/taiga-ui-kit-components-input-year.umd.js +0 -578
  770. package/bundles/taiga-ui-kit-components-input-year.umd.js.map +0 -1
  771. package/bundles/taiga-ui-kit-components-input.umd.js +0 -528
  772. package/bundles/taiga-ui-kit-components-input.umd.js.map +0 -1
  773. package/bundles/taiga-ui-kit-components-island.umd.js +0 -152
  774. package/bundles/taiga-ui-kit-components-island.umd.js.map +0 -1
  775. package/bundles/taiga-ui-kit-components-items-with-more.umd.js +0 -563
  776. package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +0 -1
  777. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +0 -616
  778. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +0 -1
  779. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +0 -98
  780. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +0 -1
  781. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +0 -415
  782. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +0 -1
  783. package/bundles/taiga-ui-kit-components-multi-select.umd.js +0 -1213
  784. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +0 -1
  785. package/bundles/taiga-ui-kit-components-pagination.umd.js +0 -681
  786. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +0 -1
  787. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +0 -493
  788. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +0 -1
  789. package/bundles/taiga-ui-kit-components-progress.umd.js +0 -643
  790. package/bundles/taiga-ui-kit-components-progress.umd.js.map +0 -1
  791. package/bundles/taiga-ui-kit-components-prompt.umd.js +0 -100
  792. package/bundles/taiga-ui-kit-components-prompt.umd.js.map +0 -1
  793. package/bundles/taiga-ui-kit-components-push.umd.js +0 -658
  794. package/bundles/taiga-ui-kit-components-push.umd.js.map +0 -1
  795. package/bundles/taiga-ui-kit-components-radio-block.umd.js +0 -515
  796. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +0 -1
  797. package/bundles/taiga-ui-kit-components-radio-group.umd.js +0 -73
  798. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +0 -1
  799. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +0 -486
  800. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +0 -1
  801. package/bundles/taiga-ui-kit-components-radio-list.umd.js +0 -498
  802. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +0 -1
  803. package/bundles/taiga-ui-kit-components-radio.umd.js +0 -567
  804. package/bundles/taiga-ui-kit-components-radio.umd.js.map +0 -1
  805. package/bundles/taiga-ui-kit-components-range.umd.js +0 -683
  806. package/bundles/taiga-ui-kit-components-range.umd.js.map +0 -1
  807. package/bundles/taiga-ui-kit-components-rating.umd.js +0 -518
  808. package/bundles/taiga-ui-kit-components-rating.umd.js.map +0 -1
  809. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +0 -452
  810. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +0 -1
  811. package/bundles/taiga-ui-kit-components-select-option.umd.js +0 -160
  812. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +0 -1
  813. package/bundles/taiga-ui-kit-components-select.umd.js +0 -807
  814. package/bundles/taiga-ui-kit-components-select.umd.js.map +0 -1
  815. package/bundles/taiga-ui-kit-components-slider.umd.js +0 -808
  816. package/bundles/taiga-ui-kit-components-slider.umd.js.map +0 -1
  817. package/bundles/taiga-ui-kit-components-stepper.umd.js +0 -634
  818. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +0 -1
  819. package/bundles/taiga-ui-kit-components-tabs.umd.js +0 -1121
  820. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +0 -1
  821. package/bundles/taiga-ui-kit-components-tag.umd.js +0 -300
  822. package/bundles/taiga-ui-kit-components-tag.umd.js.map +0 -1
  823. package/bundles/taiga-ui-kit-components-textarea.umd.js +0 -839
  824. package/bundles/taiga-ui-kit-components-textarea.umd.js.map +0 -1
  825. package/bundles/taiga-ui-kit-components-tiles.umd.js +0 -713
  826. package/bundles/taiga-ui-kit-components-tiles.umd.js.map +0 -1
  827. package/bundles/taiga-ui-kit-components-toggle.umd.js +0 -581
  828. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +0 -1
  829. package/bundles/taiga-ui-kit-components-tree.umd.js +0 -568
  830. package/bundles/taiga-ui-kit-components-tree.umd.js.map +0 -1
  831. package/bundles/taiga-ui-kit-components.umd.js +0 -411
  832. package/bundles/taiga-ui-kit-components.umd.js.map +0 -1
  833. package/bundles/taiga-ui-kit-constants.umd.js +0 -452
  834. package/bundles/taiga-ui-kit-constants.umd.js.map +0 -1
  835. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +0 -508
  836. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +0 -1
  837. package/bundles/taiga-ui-kit-directives-highlight.umd.js +0 -152
  838. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +0 -1
  839. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +0 -477
  840. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +0 -1
  841. package/bundles/taiga-ui-kit-directives-mask.umd.js +0 -201
  842. package/bundles/taiga-ui-kit-directives-mask.umd.js.map +0 -1
  843. package/bundles/taiga-ui-kit-directives-present.umd.js +0 -121
  844. package/bundles/taiga-ui-kit-directives-present.umd.js.map +0 -1
  845. package/bundles/taiga-ui-kit-directives-project-class.umd.js +0 -87
  846. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +0 -1
  847. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +0 -94
  848. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +0 -1
  849. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +0 -68
  850. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +0 -1
  851. package/bundles/taiga-ui-kit-directives.umd.js +0 -63
  852. package/bundles/taiga-ui-kit-directives.umd.js.map +0 -1
  853. package/bundles/taiga-ui-kit-interfaces.umd.js +0 -11
  854. package/bundles/taiga-ui-kit-interfaces.umd.js.map +0 -1
  855. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +0 -195
  856. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +0 -1
  857. package/bundles/taiga-ui-kit-internal.umd.js +0 -21
  858. package/bundles/taiga-ui-kit-internal.umd.js.map +0 -1
  859. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +0 -565
  860. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +0 -1
  861. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +0 -489
  862. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +0 -1
  863. package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.js +0 -76
  864. package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.js.map +0 -1
  865. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +0 -395
  866. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +0 -1
  867. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +0 -73
  868. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +0 -1
  869. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +0 -70
  870. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +0 -1
  871. package/bundles/taiga-ui-kit-pipes-to-country-code.umd.js +0 -98
  872. package/bundles/taiga-ui-kit-pipes-to-country-code.umd.js.map +0 -1
  873. package/bundles/taiga-ui-kit-pipes-to-year.umd.js +0 -70
  874. package/bundles/taiga-ui-kit-pipes-to-year.umd.js.map +0 -1
  875. package/bundles/taiga-ui-kit-pipes.umd.js +0 -63
  876. package/bundles/taiga-ui-kit-pipes.umd.js.map +0 -1
  877. package/bundles/taiga-ui-kit-providers.umd.js +0 -39
  878. package/bundles/taiga-ui-kit-providers.umd.js.map +0 -1
  879. package/bundles/taiga-ui-kit-services.umd.js +0 -67
  880. package/bundles/taiga-ui-kit-services.umd.js.map +0 -1
  881. package/bundles/taiga-ui-kit-tokens.umd.js +0 -372
  882. package/bundles/taiga-ui-kit-tokens.umd.js.map +0 -1
  883. package/bundles/taiga-ui-kit-types.umd.js +0 -11
  884. package/bundles/taiga-ui-kit-types.umd.js.map +0 -1
  885. package/bundles/taiga-ui-kit-utils-files.umd.js +0 -39
  886. package/bundles/taiga-ui-kit-utils-files.umd.js.map +0 -1
  887. package/bundles/taiga-ui-kit-utils-format.umd.js +0 -37
  888. package/bundles/taiga-ui-kit-utils-format.umd.js.map +0 -1
  889. package/bundles/taiga-ui-kit-utils-mask.umd.js +0 -522
  890. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +0 -1
  891. package/bundles/taiga-ui-kit-utils-math.umd.js +0 -372
  892. package/bundles/taiga-ui-kit-utils-math.umd.js.map +0 -1
  893. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +0 -412
  894. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +0 -1
  895. package/bundles/taiga-ui-kit-utils-phone.umd.js +0 -31
  896. package/bundles/taiga-ui-kit-utils-phone.umd.js.map +0 -1
  897. package/bundles/taiga-ui-kit-utils.umd.js +0 -51
  898. package/bundles/taiga-ui-kit-utils.umd.js.map +0 -1
  899. package/bundles/taiga-ui-kit-validators.umd.js +0 -30
  900. package/bundles/taiga-ui-kit-validators.umd.js.map +0 -1
  901. package/bundles/taiga-ui-kit.umd.js +0 -99
  902. package/bundles/taiga-ui-kit.umd.js.map +0 -1
  903. package/classes/day-range-period.d.ts +0 -9
  904. package/classes/index.d.ts +0 -3
  905. package/classes/named-day.d.ts +0 -8
  906. package/classes/package.json +0 -10
  907. package/classes/stringifiable-item.d.ts +0 -10
  908. package/classes/taiga-ui-kit-classes.d.ts +0 -5
  909. package/components/accordion/accordion-item/accordion-item-content.directive.d.ts +0 -8
  910. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +0 -5
  911. package/components/accordion/accordion-item/accordion-item.component.d.ts +0 -36
  912. package/components/accordion/accordion.component.d.ts +0 -14
  913. package/components/accordion/accordion.module.d.ts +0 -14
  914. package/components/accordion/package.json +0 -10
  915. package/components/accordion/taiga-ui-kit-components-accordion.d.ts +0 -5
  916. package/components/action/action.component.d.ts +0 -15
  917. package/components/action/action.module.d.ts +0 -10
  918. package/components/action/index.d.ts +0 -2
  919. package/components/action/package.json +0 -10
  920. package/components/action/taiga-ui-kit-components-action.d.ts +0 -5
  921. package/components/arrow/arrow.component.d.ts +0 -15
  922. package/components/arrow/arrow.module.d.ts +0 -10
  923. package/components/arrow/arrow.options.d.ts +0 -13
  924. package/components/arrow/arrow.providers.d.ts +0 -14
  925. package/components/arrow/index.d.ts +0 -4
  926. package/components/arrow/package.json +0 -10
  927. package/components/arrow/taiga-ui-kit-components-arrow.d.ts +0 -5
  928. package/components/avatar/avatar.module.d.ts +0 -10
  929. package/components/avatar/package.json +0 -10
  930. package/components/avatar/taiga-ui-kit-components-avatar.d.ts +0 -5
  931. package/components/badge/badge.component.d.ts +0 -19
  932. package/components/badge/badge.module.d.ts +0 -8
  933. package/components/badge/package.json +0 -10
  934. package/components/badge/taiga-ui-kit-components-badge.d.ts +0 -5
  935. package/components/badged-content/badged-content.module.d.ts +0 -11
  936. package/components/badged-content/package.json +0 -10
  937. package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +0 -5
  938. package/components/breadcrumbs/breadcrumbs.module.d.ts +0 -10
  939. package/components/breadcrumbs/package.json +0 -10
  940. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +0 -5
  941. package/components/calendar-month/calendar-month.module.d.ts +0 -10
  942. package/components/calendar-month/package.json +0 -10
  943. package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +0 -5
  944. package/components/calendar-range/calendar-range.module.d.ts +0 -11
  945. package/components/calendar-range/package.json +0 -10
  946. package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +0 -5
  947. package/components/carousel/carousel.module.d.ts +0 -14
  948. package/components/carousel/package.json +0 -10
  949. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +0 -5
  950. package/components/checkbox/checkbox.module.d.ts +0 -10
  951. package/components/checkbox/package.json +0 -10
  952. package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +0 -5
  953. package/components/checkbox-block/checkbox-block.component.d.ts +0 -24
  954. package/components/checkbox-block/checkbox-block.module.d.ts +0 -12
  955. package/components/checkbox-block/index.d.ts +0 -2
  956. package/components/checkbox-block/package.json +0 -10
  957. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +0 -5
  958. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +0 -20
  959. package/components/checkbox-labeled/checkbox-labeled.module.d.ts +0 -10
  960. package/components/checkbox-labeled/index.d.ts +0 -2
  961. package/components/checkbox-labeled/package.json +0 -10
  962. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +0 -5
  963. package/components/combo-box/combo-box-strict.directive.d.ts +0 -10
  964. package/components/combo-box/combo-box.component.d.ts +0 -48
  965. package/components/combo-box/combo-box.directive.d.ts +0 -9
  966. package/components/combo-box/combo-box.module.d.ts +0 -15
  967. package/components/combo-box/index.d.ts +0 -4
  968. package/components/combo-box/package.json +0 -10
  969. package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +0 -5
  970. package/components/data-list-wrapper/data-list-wrapper.d.ts +0 -19
  971. package/components/data-list-wrapper/package.json +0 -10
  972. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +0 -5
  973. package/components/elastic-container/elastic-container.module.d.ts +0 -8
  974. package/components/elastic-container/package.json +0 -10
  975. package/components/elastic-container/taiga-ui-kit-components-elastic-container.d.ts +0 -5
  976. package/components/files/file/file-options.d.ts +0 -8
  977. package/components/files/files.component.d.ts +0 -16
  978. package/components/files/files.module.d.ts +0 -12
  979. package/components/files/package.json +0 -10
  980. package/components/files/taiga-ui-kit-components-files.d.ts +0 -5
  981. package/components/filter/filter.module.d.ts +0 -13
  982. package/components/filter/package.json +0 -10
  983. package/components/filter/taiga-ui-kit-components-filter.d.ts +0 -5
  984. package/components/input/index.d.ts +0 -3
  985. package/components/input/input.component.d.ts +0 -26
  986. package/components/input/input.directive.d.ts +0 -8
  987. package/components/input/input.module.d.ts +0 -11
  988. package/components/input/package.json +0 -10
  989. package/components/input/taiga-ui-kit-components-input.d.ts +0 -5
  990. package/components/input-copy/index.d.ts +0 -4
  991. package/components/input-copy/input-copy.component.d.ts +0 -31
  992. package/components/input-copy/input-copy.directive.d.ts +0 -8
  993. package/components/input-copy/input-copy.module.d.ts +0 -11
  994. package/components/input-copy/input-copy.options.d.ts +0 -13
  995. package/components/input-copy/package.json +0 -10
  996. package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +0 -5
  997. package/components/input-count/index.d.ts +0 -4
  998. package/components/input-count/input-count.component.d.ts +0 -53
  999. package/components/input-count/input-count.directive.d.ts +0 -10
  1000. package/components/input-count/input-count.module.d.ts +0 -16
  1001. package/components/input-count/input-count.options.d.ts +0 -21
  1002. package/components/input-count/package.json +0 -10
  1003. package/components/input-count/taiga-ui-kit-components-input-count.d.ts +0 -5
  1004. package/components/input-date/index.d.ts +0 -3
  1005. package/components/input-date/input-date.component.d.ts +0 -67
  1006. package/components/input-date/input-date.directive.d.ts +0 -13
  1007. package/components/input-date/input-date.module.d.ts +0 -15
  1008. package/components/input-date/native-date/native-date.component.d.ts +0 -14
  1009. package/components/input-date/package.json +0 -10
  1010. package/components/input-date/taiga-ui-kit-components-input-date.d.ts +0 -5
  1011. package/components/input-date-range/index.d.ts +0 -3
  1012. package/components/input-date-range/input-date-range.component.d.ts +0 -74
  1013. package/components/input-date-range/input-date-range.directive.d.ts +0 -12
  1014. package/components/input-date-range/input-date-range.module.d.ts +0 -15
  1015. package/components/input-date-range/package.json +0 -10
  1016. package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +0 -5
  1017. package/components/input-date-time/index.d.ts +0 -3
  1018. package/components/input-date-time/input-date-time.component.d.ts +0 -72
  1019. package/components/input-date-time/input-date-time.directive.d.ts +0 -13
  1020. package/components/input-date-time/input-date-time.module.d.ts +0 -15
  1021. package/components/input-date-time/native-date-time/native-date-time.directive.d.ts +0 -10
  1022. package/components/input-date-time/package.json +0 -10
  1023. package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +0 -5
  1024. package/components/input-files/index.d.ts +0 -4
  1025. package/components/input-files/input-files.component.d.ts +0 -57
  1026. package/components/input-files/input-files.directive.d.ts +0 -20
  1027. package/components/input-files/input-files.module.d.ts +0 -14
  1028. package/components/input-files/input-files.options.d.ts +0 -20
  1029. package/components/input-files/max-size-rejection-error.pipe.d.ts +0 -13
  1030. package/components/input-files/package.json +0 -10
  1031. package/components/input-files/taiga-ui-kit-components-input-files.d.ts +0 -5
  1032. package/components/input-inline/input-inline.module.d.ts +0 -11
  1033. package/components/input-inline/package.json +0 -10
  1034. package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +0 -5
  1035. package/components/input-month/index.d.ts +0 -3
  1036. package/components/input-month/input-month.component.d.ts +0 -41
  1037. package/components/input-month/input-month.directive.d.ts +0 -17
  1038. package/components/input-month/input-month.module.d.ts +0 -13
  1039. package/components/input-month/package.json +0 -10
  1040. package/components/input-month/taiga-ui-kit-components-input-month.d.ts +0 -5
  1041. package/components/input-month-range/index.d.ts +0 -3
  1042. package/components/input-month-range/input-month-range.component.d.ts +0 -35
  1043. package/components/input-month-range/input-month-range.directive.d.ts +0 -17
  1044. package/components/input-month-range/input-month-range.module.d.ts +0 -12
  1045. package/components/input-month-range/package.json +0 -10
  1046. package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +0 -5
  1047. package/components/input-number/index.d.ts +0 -4
  1048. package/components/input-number/input-number.component.d.ts +0 -57
  1049. package/components/input-number/input-number.directive.d.ts +0 -12
  1050. package/components/input-number/input-number.module.d.ts +0 -13
  1051. package/components/input-number/input-number.options.d.ts +0 -21
  1052. package/components/input-number/package.json +0 -10
  1053. package/components/input-number/taiga-ui-kit-components-input-number.d.ts +0 -5
  1054. package/components/input-password/index.d.ts +0 -4
  1055. package/components/input-password/input-password.component.d.ts +0 -32
  1056. package/components/input-password/input-password.directive.d.ts +0 -12
  1057. package/components/input-password/input-password.module.d.ts +0 -12
  1058. package/components/input-password/input-password.options.d.ts +0 -17
  1059. package/components/input-password/package.json +0 -10
  1060. package/components/input-password/taiga-ui-kit-components-input-password.d.ts +0 -5
  1061. package/components/input-phone/index.d.ts +0 -4
  1062. package/components/input-phone/input-phone.component.d.ts +0 -47
  1063. package/components/input-phone/input-phone.directive.d.ts +0 -13
  1064. package/components/input-phone/input-phone.module.d.ts +0 -12
  1065. package/components/input-phone/input-phone.options.d.ts +0 -12
  1066. package/components/input-phone/package.json +0 -10
  1067. package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +0 -5
  1068. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -9
  1069. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -7
  1070. package/components/input-phone/utils/index.d.ts +0 -2
  1071. package/components/input-phone-international/input-phone-international.module.d.ts +0 -14
  1072. package/components/input-phone-international/package.json +0 -10
  1073. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +0 -5
  1074. package/components/input-phone-international/utils/extract-value-from-event.d.ts +0 -1
  1075. package/components/input-range/index.d.ts +0 -2
  1076. package/components/input-range/input-range.component.d.ts +0 -55
  1077. package/components/input-range/input-range.module.d.ts +0 -14
  1078. package/components/input-range/package.json +0 -10
  1079. package/components/input-range/taiga-ui-kit-components-input-range.d.ts +0 -5
  1080. package/components/input-slider/index.d.ts +0 -2
  1081. package/components/input-slider/input-slider.component.d.ts +0 -45
  1082. package/components/input-slider/input-slider.module.d.ts +0 -14
  1083. package/components/input-slider/package.json +0 -10
  1084. package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +0 -5
  1085. package/components/input-tag/index.d.ts +0 -3
  1086. package/components/input-tag/input-tag.component.d.ts +0 -92
  1087. package/components/input-tag/input-tag.module.d.ts +0 -13
  1088. package/components/input-tag/input-tag.options.d.ts +0 -13
  1089. package/components/input-tag/package.json +0 -10
  1090. package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +0 -5
  1091. package/components/input-time/index.d.ts +0 -4
  1092. package/components/input-time/input-time.component.d.ts +0 -60
  1093. package/components/input-time/input-time.directive.d.ts +0 -13
  1094. package/components/input-time/input-time.module.d.ts +0 -15
  1095. package/components/input-time/input-time.options.d.ts +0 -19
  1096. package/components/input-time/native-time/native-time.component.d.ts +0 -14
  1097. package/components/input-time/package.json +0 -10
  1098. package/components/input-time/taiga-ui-kit-components-input-time.d.ts +0 -5
  1099. package/components/input-year/index.d.ts +0 -3
  1100. package/components/input-year/input-year.component.d.ts +0 -35
  1101. package/components/input-year/input-year.directive.d.ts +0 -10
  1102. package/components/input-year/input-year.module.d.ts +0 -12
  1103. package/components/input-year/package.json +0 -10
  1104. package/components/input-year/taiga-ui-kit-components-input-year.d.ts +0 -5
  1105. package/components/island/index.d.ts +0 -2
  1106. package/components/island/island.component.d.ts +0 -16
  1107. package/components/island/island.module.d.ts +0 -8
  1108. package/components/island/package.json +0 -10
  1109. package/components/island/taiga-ui-kit-components-island.d.ts +0 -5
  1110. package/components/items-with-more/items-with-more.module.d.ts +0 -12
  1111. package/components/items-with-more/package.json +0 -10
  1112. package/components/items-with-more/taiga-ui-kit-components-items-with-more.d.ts +0 -5
  1113. package/components/line-clamp/line-clamp.module.d.ts +0 -13
  1114. package/components/line-clamp/package.json +0 -10
  1115. package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +0 -5
  1116. package/components/marker-icon/index.d.ts +0 -2
  1117. package/components/marker-icon/marker-icon.component.d.ts +0 -13
  1118. package/components/marker-icon/marker-icon.module.d.ts +0 -9
  1119. package/components/marker-icon/package.json +0 -10
  1120. package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +0 -5
  1121. package/components/multi-select/hide-selected.pipe.d.ts +0 -13
  1122. package/components/multi-select/index.d.ts +0 -10
  1123. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +0 -26
  1124. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +0 -8
  1125. package/components/multi-select/multi-select.component.d.ts +0 -66
  1126. package/components/multi-select/multi-select.directive.d.ts +0 -14
  1127. package/components/multi-select/multi-select.module.d.ts +0 -23
  1128. package/components/multi-select/multi-select.options.d.ts +0 -13
  1129. package/components/multi-select/native-multi-select/native-multi-select-group.component.d.ts +0 -9
  1130. package/components/multi-select/native-multi-select/native-multi-select.component.d.ts +0 -8
  1131. package/components/multi-select/native-multi-select/native-multi-select.d.ts +0 -11
  1132. package/components/multi-select/package.json +0 -10
  1133. package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +0 -5
  1134. package/components/multi-select-option/index.d.ts +0 -2
  1135. package/components/multi-select-option/multi-select-option.component.d.ts +0 -9
  1136. package/components/multi-select-option/multi-select-option.module.d.ts +0 -9
  1137. package/components/multi-select-option/package.json +0 -10
  1138. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +0 -5
  1139. package/components/package.json +0 -10
  1140. package/components/pagination/package.json +0 -10
  1141. package/components/pagination/pagination.module.d.ts +0 -11
  1142. package/components/pagination/taiga-ui-kit-components-pagination.d.ts +0 -5
  1143. package/components/pdf-viewer/package.json +0 -10
  1144. package/components/pdf-viewer/pdf-viewer.module.d.ts +0 -11
  1145. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +0 -5
  1146. package/components/progress/package.json +0 -10
  1147. package/components/progress/progress-segmented/progress-segmented.component.d.ts +0 -14
  1148. package/components/progress/progress.module.d.ts +0 -13
  1149. package/components/progress/taiga-ui-kit-components-progress.d.ts +0 -5
  1150. package/components/prompt/index.d.ts +0 -2
  1151. package/components/prompt/package.json +0 -10
  1152. package/components/prompt/prompt.component.d.ts +0 -25
  1153. package/components/prompt/prompt.module.d.ts +0 -11
  1154. package/components/prompt/taiga-ui-kit-components-prompt.d.ts +0 -5
  1155. package/components/push/package.json +0 -10
  1156. package/components/push/push-alert.directive.d.ts +0 -12
  1157. package/components/push/push.module.d.ts +0 -13
  1158. package/components/push/taiga-ui-kit-components-push.d.ts +0 -5
  1159. package/components/radio/package.json +0 -10
  1160. package/components/radio/radio.module.d.ts +0 -10
  1161. package/components/radio/taiga-ui-kit-components-radio.d.ts +0 -5
  1162. package/components/radio-block/index.d.ts +0 -2
  1163. package/components/radio-block/package.json +0 -10
  1164. package/components/radio-block/radio-block.component.d.ts +0 -28
  1165. package/components/radio-block/radio-block.module.d.ts +0 -11
  1166. package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +0 -5
  1167. package/components/radio-group/index.d.ts +0 -2
  1168. package/components/radio-group/package.json +0 -10
  1169. package/components/radio-group/radio-group.component.d.ts +0 -7
  1170. package/components/radio-group/radio-group.module.d.ts +0 -7
  1171. package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +0 -5
  1172. package/components/radio-labeled/index.d.ts +0 -2
  1173. package/components/radio-labeled/package.json +0 -10
  1174. package/components/radio-labeled/radio-labeled.component.d.ts +0 -25
  1175. package/components/radio-labeled/radio-labeled.module.d.ts +0 -11
  1176. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +0 -5
  1177. package/components/radio-list/package.json +0 -10
  1178. package/components/radio-list/radio-list.module.d.ts +0 -12
  1179. package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +0 -5
  1180. package/components/range/package.json +0 -10
  1181. package/components/range/range.module.d.ts +0 -12
  1182. package/components/range/taiga-ui-kit-components-range.d.ts +0 -5
  1183. package/components/rating/package.json +0 -10
  1184. package/components/rating/rating.module.d.ts +0 -10
  1185. package/components/rating/taiga-ui-kit-components-rating.d.ts +0 -5
  1186. package/components/routable-dialog/package.json +0 -10
  1187. package/components/routable-dialog/routable-dialog.module.d.ts +0 -7
  1188. package/components/routable-dialog/taiga-ui-kit-components-routable-dialog.d.ts +0 -5
  1189. package/components/select/index.d.ts +0 -6
  1190. package/components/select/native-select/native-select-group.component.d.ts +0 -13
  1191. package/components/select/native-select/native-select.component.d.ts +0 -12
  1192. package/components/select/package.json +0 -10
  1193. package/components/select/select.component.d.ts +0 -39
  1194. package/components/select/select.directive.d.ts +0 -12
  1195. package/components/select/select.module.d.ts +0 -18
  1196. package/components/select/select.options.d.ts +0 -12
  1197. package/components/select/taiga-ui-kit-components-select.d.ts +0 -5
  1198. package/components/select-option/index.d.ts +0 -2
  1199. package/components/select-option/package.json +0 -10
  1200. package/components/select-option/select-option.component.d.ts +0 -27
  1201. package/components/select-option/select-option.module.d.ts +0 -9
  1202. package/components/select-option/taiga-ui-kit-components-select-option.d.ts +0 -5
  1203. package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +0 -15
  1204. package/components/slider/package.json +0 -10
  1205. package/components/slider/slider.module.d.ts +0 -11
  1206. package/components/slider/taiga-ui-kit-components-slider.d.ts +0 -5
  1207. package/components/stepper/package.json +0 -10
  1208. package/components/stepper/step/step.component.d.ts +0 -22
  1209. package/components/stepper/stepper.module.d.ts +0 -10
  1210. package/components/stepper/taiga-ui-kit-components-stepper.d.ts +0 -5
  1211. package/components/tabs/package.json +0 -10
  1212. package/components/tabs/tab/tab.component.d.ts +0 -19
  1213. package/components/tabs/tab/tab.providers.d.ts +0 -8
  1214. package/components/tabs/tabs/tabs.component.d.ts +0 -23
  1215. package/components/tabs/tabs-vertical/tabs-vertical.component.d.ts +0 -11
  1216. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +0 -48
  1217. package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +0 -4
  1218. package/components/tabs/tabs.module.d.ts +0 -16
  1219. package/components/tabs/taiga-ui-kit-components-tabs.d.ts +0 -5
  1220. package/components/tabs/underline/underline.component.d.ts +0 -18
  1221. package/components/tag/index.d.ts +0 -3
  1222. package/components/tag/package.json +0 -10
  1223. package/components/tag/tag.component.d.ts +0 -44
  1224. package/components/tag/tag.module.d.ts +0 -11
  1225. package/components/tag/tag.options.d.ts +0 -15
  1226. package/components/tag/taiga-ui-kit-components-tag.d.ts +0 -5
  1227. package/components/taiga-ui-kit-components.d.ts +0 -5
  1228. package/components/textarea/deprecated.d.ts +0 -30
  1229. package/components/textarea/index.d.ts +0 -4
  1230. package/components/textarea/package.json +0 -10
  1231. package/components/textarea/taiga-ui-kit-components-textarea.d.ts +0 -5
  1232. package/components/textarea/textarea.component.d.ts +0 -51
  1233. package/components/textarea/textarea.directive.d.ts +0 -8
  1234. package/components/textarea/textarea.module.d.ts +0 -13
  1235. package/components/tiles/package.json +0 -10
  1236. package/components/tiles/taiga-ui-kit-components-tiles.d.ts +0 -5
  1237. package/components/tiles/tiles.module.d.ts +0 -9
  1238. package/components/toggle/index.d.ts +0 -3
  1239. package/components/toggle/package.json +0 -10
  1240. package/components/toggle/taiga-ui-kit-components-toggle.d.ts +0 -5
  1241. package/components/toggle/toggle.component.d.ts +0 -32
  1242. package/components/toggle/toggle.module.d.ts +0 -11
  1243. package/components/toggle/toggle.options.d.ts +0 -24
  1244. package/components/tree/components/tree-item/tree-item.providers.d.ts +0 -2
  1245. package/components/tree/package.json +0 -10
  1246. package/components/tree/taiga-ui-kit-components-tree.d.ts +0 -5
  1247. package/components/tree/tree.module.d.ts +0 -17
  1248. package/constants/date-mode-maskito-adapter.d.ts +0 -3
  1249. package/constants/date-time-separator.d.ts +0 -1
  1250. package/constants/empty-mask.d.ts +0 -6
  1251. package/constants/group-class-names.d.ts +0 -5
  1252. package/constants/index.d.ts +0 -10
  1253. package/constants/mask-after-code-regexp.d.ts +0 -1
  1254. package/constants/masks.d.ts +0 -7
  1255. package/constants/math.d.ts +0 -4
  1256. package/constants/max-day-range-length-mapper.d.ts +0 -7
  1257. package/constants/max-time-values.d.ts +0 -2
  1258. package/constants/package.json +0 -10
  1259. package/constants/router-link-options.d.ts +0 -9
  1260. package/constants/taiga-ui-kit-constants.d.ts +0 -5
  1261. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.d.ts +0 -7
  1262. package/directives/data-list-dropdown-manager/package.json +0 -10
  1263. package/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.d.ts +0 -5
  1264. package/directives/highlight/highlight.module.d.ts +0 -7
  1265. package/directives/highlight/package.json +0 -10
  1266. package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +0 -5
  1267. package/directives/lazy-loading/lazy-loading.module.d.ts +0 -7
  1268. package/directives/lazy-loading/package.json +0 -10
  1269. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +0 -5
  1270. package/directives/mask/index.d.ts +0 -1
  1271. package/directives/mask/legacy-mask.d.ts +0 -53
  1272. package/directives/mask/package.json +0 -10
  1273. package/directives/mask/taiga-ui-kit-directives-mask.d.ts +0 -5
  1274. package/directives/package.json +0 -10
  1275. package/directives/present/package.json +0 -10
  1276. package/directives/present/present.module.d.ts +0 -7
  1277. package/directives/present/taiga-ui-kit-directives-present.d.ts +0 -5
  1278. package/directives/project-class/index.d.ts +0 -2
  1279. package/directives/project-class/package.json +0 -10
  1280. package/directives/project-class/project-class.directive.d.ts +0 -13
  1281. package/directives/project-class/project-class.module.d.ts +0 -7
  1282. package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +0 -5
  1283. package/directives/taiga-ui-kit-directives.d.ts +0 -5
  1284. package/directives/unfinished-validator/package.json +0 -10
  1285. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +0 -5
  1286. package/directives/unfinished-validator/unfinished-validator.module.d.ts +0 -7
  1287. package/directives/value-accessor/index.d.ts +0 -2
  1288. package/directives/value-accessor/package.json +0 -10
  1289. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +0 -5
  1290. package/directives/value-accessor/value-accessor.directive.d.ts +0 -5
  1291. package/directives/value-accessor/value-accessor.module.d.ts +0 -7
  1292. package/esm2015/abstract/abstract-native-select.js +0 -49
  1293. package/esm2015/abstract/index.js +0 -2
  1294. package/esm2015/abstract/taiga-ui-kit-abstract.js +0 -5
  1295. package/esm2015/classes/day-range-period.js +0 -11
  1296. package/esm2015/classes/index.js +0 -4
  1297. package/esm2015/classes/named-day.js +0 -11
  1298. package/esm2015/classes/stringifiable-item.js +0 -13
  1299. package/esm2015/classes/taiga-ui-kit-classes.js +0 -5
  1300. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +0 -25
  1301. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +0 -13
  1302. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +0 -133
  1303. package/esm2015/components/accordion/accordion.component.js +0 -54
  1304. package/esm2015/components/accordion/accordion.module.js +0 -65
  1305. package/esm2015/components/accordion/index.js +0 -6
  1306. package/esm2015/components/action/action.component.js +0 -70
  1307. package/esm2015/components/action/action.module.js +0 -33
  1308. package/esm2015/components/action/index.js +0 -3
  1309. package/esm2015/components/action/taiga-ui-kit-components-action.js +0 -5
  1310. package/esm2015/components/arrow/arrow.component.js +0 -48
  1311. package/esm2015/components/arrow/arrow.module.js +0 -20
  1312. package/esm2015/components/arrow/arrow.options.js +0 -14
  1313. package/esm2015/components/arrow/arrow.providers.js +0 -14
  1314. package/esm2015/components/arrow/index.js +0 -5
  1315. package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +0 -5
  1316. package/esm2015/components/avatar/avatar.component.js +0 -99
  1317. package/esm2015/components/avatar/avatar.module.js +0 -20
  1318. package/esm2015/components/avatar/avatar.options.js +0 -15
  1319. package/esm2015/components/avatar/index.js +0 -4
  1320. package/esm2015/components/badge/badge.component.js +0 -76
  1321. package/esm2015/components/badge/badge.module.js +0 -18
  1322. package/esm2015/components/badge/index.js +0 -3
  1323. package/esm2015/components/badged-content/badged-content.component.js +0 -88
  1324. package/esm2015/components/badged-content/badged-content.module.js +0 -21
  1325. package/esm2015/components/badged-content/index.js +0 -3
  1326. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +0 -50
  1327. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +0 -20
  1328. package/esm2015/components/breadcrumbs/breadcrumbs.options.js +0 -11
  1329. package/esm2015/components/breadcrumbs/index.js +0 -4
  1330. package/esm2015/components/calendar-month/calendar-month.component.js +0 -197
  1331. package/esm2015/components/calendar-month/calendar-month.module.js +0 -48
  1332. package/esm2015/components/calendar-month/index.js +0 -3
  1333. package/esm2015/components/calendar-range/calendar-range.component.js +0 -169
  1334. package/esm2015/components/calendar-range/calendar-range.module.js +0 -46
  1335. package/esm2015/components/calendar-range/index.js +0 -3
  1336. package/esm2015/components/carousel/carousel-autoscroll.directive.js +0 -22
  1337. package/esm2015/components/carousel/carousel-buttons.directive.js +0 -27
  1338. package/esm2015/components/carousel/carousel-scroll.directive.js +0 -27
  1339. package/esm2015/components/carousel/carousel.component.js +0 -143
  1340. package/esm2015/components/carousel/carousel.directive.js +0 -42
  1341. package/esm2015/components/carousel/carousel.module.js +0 -58
  1342. package/esm2015/components/carousel/index.js +0 -7
  1343. package/esm2015/components/checkbox/checkbox.component.js +0 -76
  1344. package/esm2015/components/checkbox/checkbox.module.js +0 -39
  1345. package/esm2015/components/checkbox/index.js +0 -3
  1346. package/esm2015/components/checkbox-block/checkbox-block.component.js +0 -105
  1347. package/esm2015/components/checkbox-block/checkbox-block.module.js +0 -41
  1348. package/esm2015/components/checkbox-block/index.js +0 -3
  1349. package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +0 -5
  1350. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +0 -76
  1351. package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +0 -20
  1352. package/esm2015/components/checkbox-labeled/index.js +0 -3
  1353. package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +0 -5
  1354. package/esm2015/components/combo-box/combo-box-strict.directive.js +0 -32
  1355. package/esm2015/components/combo-box/combo-box.component.js +0 -203
  1356. package/esm2015/components/combo-box/combo-box.directive.js +0 -21
  1357. package/esm2015/components/combo-box/combo-box.module.js +0 -67
  1358. package/esm2015/components/combo-box/index.js +0 -5
  1359. package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +0 -5
  1360. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +0 -41
  1361. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +0 -44
  1362. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +0 -40
  1363. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +0 -44
  1364. package/esm2015/components/data-list-wrapper/index.js +0 -5
  1365. package/esm2015/components/elastic-container/elastic-container.component.js +0 -35
  1366. package/esm2015/components/elastic-container/elastic-container.directive.js +0 -58
  1367. package/esm2015/components/elastic-container/elastic-container.module.js +0 -17
  1368. package/esm2015/components/elastic-container/index.js +0 -4
  1369. package/esm2015/components/files/file/file-options.js +0 -10
  1370. package/esm2015/components/files/file/file.component.js +0 -169
  1371. package/esm2015/components/files/files.component.js +0 -52
  1372. package/esm2015/components/files/files.module.js +0 -53
  1373. package/esm2015/components/files/index.js +0 -5
  1374. package/esm2015/components/filter/filter.component.js +0 -78
  1375. package/esm2015/components/filter/filter.module.js +0 -42
  1376. package/esm2015/components/filter/index.js +0 -3
  1377. package/esm2015/components/index.js +0 -67
  1378. package/esm2015/components/input/index.js +0 -4
  1379. package/esm2015/components/input/input.component.js +0 -106
  1380. package/esm2015/components/input/input.directive.js +0 -18
  1381. package/esm2015/components/input/input.module.js +0 -34
  1382. package/esm2015/components/input/taiga-ui-kit-components-input.js +0 -5
  1383. package/esm2015/components/input-copy/index.js +0 -5
  1384. package/esm2015/components/input-copy/input-copy.component.js +0 -124
  1385. package/esm2015/components/input-copy/input-copy.directive.js +0 -18
  1386. package/esm2015/components/input-copy/input-copy.module.js +0 -46
  1387. package/esm2015/components/input-copy/input-copy.options.js +0 -12
  1388. package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +0 -5
  1389. package/esm2015/components/input-count/index.js +0 -5
  1390. package/esm2015/components/input-count/input-count.component.js +0 -192
  1391. package/esm2015/components/input-count/input-count.directive.js +0 -29
  1392. package/esm2015/components/input-count/input-count.module.js +0 -48
  1393. package/esm2015/components/input-count/input-count.options.js +0 -22
  1394. package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +0 -5
  1395. package/esm2015/components/input-date/index.js +0 -4
  1396. package/esm2015/components/input-date/input-date.component.js +0 -278
  1397. package/esm2015/components/input-date/input-date.directive.js +0 -33
  1398. package/esm2015/components/input-date/input-date.module.js +0 -65
  1399. package/esm2015/components/input-date/native-date/native-date.component.js +0 -50
  1400. package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +0 -5
  1401. package/esm2015/components/input-date-range/index.js +0 -4
  1402. package/esm2015/components/input-date-range/input-date-range.component.js +0 -321
  1403. package/esm2015/components/input-date-range/input-date-range.directive.js +0 -29
  1404. package/esm2015/components/input-date-range/input-date-range.module.js +0 -68
  1405. package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +0 -5
  1406. package/esm2015/components/input-date-time/index.js +0 -4
  1407. package/esm2015/components/input-date-time/input-date-time.component.js +0 -327
  1408. package/esm2015/components/input-date-time/input-date-time.directive.js +0 -30
  1409. package/esm2015/components/input-date-time/input-date-time.module.js +0 -74
  1410. package/esm2015/components/input-date-time/native-date-time/native-date-time.directive.js +0 -47
  1411. package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +0 -5
  1412. package/esm2015/components/input-files/index.js +0 -5
  1413. package/esm2015/components/input-files/input-files.component.js +0 -245
  1414. package/esm2015/components/input-files/input-files.directive.js +0 -77
  1415. package/esm2015/components/input-files/input-files.module.js +0 -89
  1416. package/esm2015/components/input-files/input-files.options.js +0 -16
  1417. package/esm2015/components/input-files/max-size-rejection-error.pipe.js +0 -28
  1418. package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +0 -5
  1419. package/esm2015/components/input-inline/index.js +0 -3
  1420. package/esm2015/components/input-inline/input-inline.component.js +0 -83
  1421. package/esm2015/components/input-inline/input-inline.module.js +0 -37
  1422. package/esm2015/components/input-month/index.js +0 -4
  1423. package/esm2015/components/input-month/input-month.component.js +0 -158
  1424. package/esm2015/components/input-month/input-month.directive.js +0 -54
  1425. package/esm2015/components/input-month/input-month.module.js +0 -51
  1426. package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +0 -5
  1427. package/esm2015/components/input-month-range/index.js +0 -4
  1428. package/esm2015/components/input-month-range/input-month-range.component.js +0 -137
  1429. package/esm2015/components/input-month-range/input-month-range.directive.js +0 -59
  1430. package/esm2015/components/input-month-range/input-month-range.module.js +0 -56
  1431. package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +0 -5
  1432. package/esm2015/components/input-number/index.js +0 -5
  1433. package/esm2015/components/input-number/input-number.component.js +0 -291
  1434. package/esm2015/components/input-number/input-number.directive.js +0 -31
  1435. package/esm2015/components/input-number/input-number.module.js +0 -45
  1436. package/esm2015/components/input-number/input-number.options.js +0 -21
  1437. package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +0 -5
  1438. package/esm2015/components/input-password/index.js +0 -5
  1439. package/esm2015/components/input-password/input-password.component.js +0 -115
  1440. package/esm2015/components/input-password/input-password.directive.js +0 -28
  1441. package/esm2015/components/input-password/input-password.module.js +0 -53
  1442. package/esm2015/components/input-password/input-password.options.js +0 -16
  1443. package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +0 -5
  1444. package/esm2015/components/input-phone/index.js +0 -5
  1445. package/esm2015/components/input-phone/input-phone.component.js +0 -235
  1446. package/esm2015/components/input-phone/input-phone.directive.js +0 -31
  1447. package/esm2015/components/input-phone/input-phone.module.js +0 -41
  1448. package/esm2015/components/input-phone/input-phone.options.js +0 -14
  1449. package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +0 -5
  1450. package/esm2015/components/input-phone/utils/complete-phone-insertion-preprocessor.js +0 -41
  1451. package/esm2015/components/input-phone/utils/create-phone-mask-expression.js +0 -17
  1452. package/esm2015/components/input-phone/utils/index.js +0 -3
  1453. package/esm2015/components/input-phone-international/index.js +0 -5
  1454. package/esm2015/components/input-phone-international/input-phone-international.component.js +0 -219
  1455. package/esm2015/components/input-phone-international/input-phone-international.module.js +0 -76
  1456. package/esm2015/components/input-phone-international/input-phone-international.options.js +0 -14
  1457. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +0 -8
  1458. package/esm2015/components/input-range/index.js +0 -3
  1459. package/esm2015/components/input-range/input-range.component.js +0 -224
  1460. package/esm2015/components/input-range/input-range.module.js +0 -52
  1461. package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +0 -5
  1462. package/esm2015/components/input-slider/index.js +0 -3
  1463. package/esm2015/components/input-slider/input-slider.component.js +0 -182
  1464. package/esm2015/components/input-slider/input-slider.module.js +0 -46
  1465. package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +0 -5
  1466. package/esm2015/components/input-tag/index.js +0 -4
  1467. package/esm2015/components/input-tag/input-tag.component.js +0 -454
  1468. package/esm2015/components/input-tag/input-tag.module.js +0 -61
  1469. package/esm2015/components/input-tag/input-tag.options.js +0 -14
  1470. package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +0 -5
  1471. package/esm2015/components/input-time/index.js +0 -5
  1472. package/esm2015/components/input-time/input-time.component.js +0 -298
  1473. package/esm2015/components/input-time/input-time.directive.js +0 -33
  1474. package/esm2015/components/input-time/input-time.module.js +0 -59
  1475. package/esm2015/components/input-time/input-time.options.js +0 -18
  1476. package/esm2015/components/input-time/native-time/native-time.component.js +0 -79
  1477. package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +0 -5
  1478. package/esm2015/components/input-year/index.js +0 -4
  1479. package/esm2015/components/input-year/input-year.component.js +0 -130
  1480. package/esm2015/components/input-year/input-year.directive.js +0 -25
  1481. package/esm2015/components/input-year/input-year.module.js +0 -44
  1482. package/esm2015/components/input-year/taiga-ui-kit-components-input-year.js +0 -5
  1483. package/esm2015/components/island/index.js +0 -3
  1484. package/esm2015/components/island/island.component.js +0 -75
  1485. package/esm2015/components/island/island.module.js +0 -18
  1486. package/esm2015/components/island/taiga-ui-kit-components-island.js +0 -5
  1487. package/esm2015/components/items-with-more/index.js +0 -6
  1488. package/esm2015/components/items-with-more/items-with-more.component.js +0 -70
  1489. package/esm2015/components/items-with-more/items-with-more.directive.js +0 -23
  1490. package/esm2015/components/items-with-more/items-with-more.module.js +0 -36
  1491. package/esm2015/components/items-with-more/items-with-more.service.js +0 -66
  1492. package/esm2015/components/items-with-more/more.directive.js +0 -16
  1493. package/esm2015/components/line-clamp/index.js +0 -5
  1494. package/esm2015/components/line-clamp/line-clamp-box.component.js +0 -43
  1495. package/esm2015/components/line-clamp/line-clamp-position.directive.js +0 -28
  1496. package/esm2015/components/line-clamp/line-clamp.component.js +0 -124
  1497. package/esm2015/components/line-clamp/line-clamp.module.js +0 -45
  1498. package/esm2015/components/line-clamp/line-clamp.options.js +0 -12
  1499. package/esm2015/components/marker-icon/index.js +0 -3
  1500. package/esm2015/components/marker-icon/marker-icon.component.js +0 -45
  1501. package/esm2015/components/marker-icon/marker-icon.module.js +0 -19
  1502. package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +0 -5
  1503. package/esm2015/components/multi-select/hide-selected.pipe.js +0 -46
  1504. package/esm2015/components/multi-select/index.js +0 -11
  1505. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +0 -116
  1506. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +0 -69
  1507. package/esm2015/components/multi-select/multi-select.component.js +0 -235
  1508. package/esm2015/components/multi-select/multi-select.directive.js +0 -29
  1509. package/esm2015/components/multi-select/multi-select.module.js +0 -119
  1510. package/esm2015/components/multi-select/multi-select.options.js +0 -13
  1511. package/esm2015/components/multi-select/native-multi-select/native-multi-select-group.component.js +0 -72
  1512. package/esm2015/components/multi-select/native-multi-select/native-multi-select.component.js +0 -68
  1513. package/esm2015/components/multi-select/native-multi-select/native-multi-select.js +0 -18
  1514. package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +0 -5
  1515. package/esm2015/components/multi-select-option/index.js +0 -3
  1516. package/esm2015/components/multi-select-option/multi-select-option.component.js +0 -33
  1517. package/esm2015/components/multi-select-option/multi-select-option.module.js +0 -19
  1518. package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +0 -5
  1519. package/esm2015/components/pagination/index.js +0 -3
  1520. package/esm2015/components/pagination/pagination.component.js +0 -245
  1521. package/esm2015/components/pagination/pagination.module.js +0 -40
  1522. package/esm2015/components/pdf-viewer/index.js +0 -6
  1523. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +0 -51
  1524. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +0 -28
  1525. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +0 -24
  1526. package/esm2015/components/pdf-viewer/pdf-viewer.options.js +0 -13
  1527. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +0 -26
  1528. package/esm2015/components/progress/index.js +0 -7
  1529. package/esm2015/components/progress/progress-bar/progress-bar.component.js +0 -39
  1530. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +0 -56
  1531. package/esm2015/components/progress/progress-circle/progress-circle.component.js +0 -82
  1532. package/esm2015/components/progress/progress-label/progress-label.component.js +0 -16
  1533. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +0 -50
  1534. package/esm2015/components/progress/progress.module.js +0 -43
  1535. package/esm2015/components/prompt/index.js +0 -3
  1536. package/esm2015/components/prompt/prompt.component.js +0 -44
  1537. package/esm2015/components/prompt/prompt.module.js +0 -21
  1538. package/esm2015/components/prompt/taiga-ui-kit-components-prompt.js +0 -5
  1539. package/esm2015/components/push/index.js +0 -8
  1540. package/esm2015/components/push/push-alert.component.js +0 -44
  1541. package/esm2015/components/push/push-alert.directive.js +0 -47
  1542. package/esm2015/components/push/push.component.js +0 -46
  1543. package/esm2015/components/push/push.directive.js +0 -54
  1544. package/esm2015/components/push/push.module.js +0 -73
  1545. package/esm2015/components/push/push.options.js +0 -18
  1546. package/esm2015/components/push/push.service.js +0 -20
  1547. package/esm2015/components/radio/index.js +0 -4
  1548. package/esm2015/components/radio/radio.component.js +0 -127
  1549. package/esm2015/components/radio/radio.module.js +0 -39
  1550. package/esm2015/components/radio/radio.options.js +0 -18
  1551. package/esm2015/components/radio-block/index.js +0 -3
  1552. package/esm2015/components/radio-block/radio-block.component.js +0 -120
  1553. package/esm2015/components/radio-block/radio-block.module.js +0 -21
  1554. package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +0 -5
  1555. package/esm2015/components/radio-group/index.js +0 -3
  1556. package/esm2015/components/radio-group/radio-group.component.js +0 -21
  1557. package/esm2015/components/radio-group/radio-group.module.js +0 -16
  1558. package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +0 -5
  1559. package/esm2015/components/radio-labeled/index.js +0 -3
  1560. package/esm2015/components/radio-labeled/radio-labeled.component.js +0 -87
  1561. package/esm2015/components/radio-labeled/radio-labeled.module.js +0 -37
  1562. package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +0 -5
  1563. package/esm2015/components/radio-list/index.js +0 -3
  1564. package/esm2015/components/radio-list/radio-list.component.js +0 -99
  1565. package/esm2015/components/radio-list/radio-list.module.js +0 -38
  1566. package/esm2015/components/range/index.js +0 -4
  1567. package/esm2015/components/range/range-change.directive.js +0 -93
  1568. package/esm2015/components/range/range.component.js +0 -180
  1569. package/esm2015/components/range/range.module.js +0 -22
  1570. package/esm2015/components/rating/index.js +0 -4
  1571. package/esm2015/components/rating/rating.component.js +0 -97
  1572. package/esm2015/components/rating/rating.module.js +0 -36
  1573. package/esm2015/components/rating/rating.options.js +0 -15
  1574. package/esm2015/components/routable-dialog/generate-dialogable-route.js +0 -19
  1575. package/esm2015/components/routable-dialog/index.js +0 -4
  1576. package/esm2015/components/routable-dialog/routable-dialog.component.js +0 -65
  1577. package/esm2015/components/routable-dialog/routable-dialog.module.js +0 -16
  1578. package/esm2015/components/select/index.js +0 -7
  1579. package/esm2015/components/select/native-select/native-select-group.component.js +0 -72
  1580. package/esm2015/components/select/native-select/native-select.component.js +0 -68
  1581. package/esm2015/components/select/select.component.js +0 -147
  1582. package/esm2015/components/select/select.directive.js +0 -27
  1583. package/esm2015/components/select/select.module.js +0 -83
  1584. package/esm2015/components/select/select.options.js +0 -12
  1585. package/esm2015/components/select/taiga-ui-kit-components-select.js +0 -5
  1586. package/esm2015/components/select-option/index.js +0 -3
  1587. package/esm2015/components/select-option/select-option.component.js +0 -96
  1588. package/esm2015/components/select-option/select-option.module.js +0 -19
  1589. package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +0 -5
  1590. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +0 -86
  1591. package/esm2015/components/slider/helpers/slider-readonly.directive.js +0 -82
  1592. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +0 -44
  1593. package/esm2015/components/slider/index.js +0 -7
  1594. package/esm2015/components/slider/slider.component.js +0 -137
  1595. package/esm2015/components/slider/slider.module.js +0 -37
  1596. package/esm2015/components/slider/slider.options.js +0 -13
  1597. package/esm2015/components/stepper/index.js +0 -4
  1598. package/esm2015/components/stepper/step/step.component.js +0 -96
  1599. package/esm2015/components/stepper/stepper.component.js +0 -145
  1600. package/esm2015/components/stepper/stepper.module.js +0 -20
  1601. package/esm2015/components/tabs/index.js +0 -11
  1602. package/esm2015/components/tabs/tab/tab.component.js +0 -85
  1603. package/esm2015/components/tabs/tab/tab.providers.js +0 -36
  1604. package/esm2015/components/tabs/tabs/tabs.component.js +0 -123
  1605. package/esm2015/components/tabs/tabs-vertical/tabs-vertical.component.js +0 -43
  1606. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +0 -214
  1607. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +0 -37
  1608. package/esm2015/components/tabs/tabs.directive.js +0 -57
  1609. package/esm2015/components/tabs/tabs.module.js +0 -69
  1610. package/esm2015/components/tabs/tabs.options.js +0 -15
  1611. package/esm2015/components/tabs/underline/underline.component.js +0 -68
  1612. package/esm2015/components/tag/index.js +0 -4
  1613. package/esm2015/components/tag/tag.component.js +0 -191
  1614. package/esm2015/components/tag/tag.module.js +0 -37
  1615. package/esm2015/components/tag/tag.options.js +0 -15
  1616. package/esm2015/components/tag/taiga-ui-kit-components-tag.js +0 -5
  1617. package/esm2015/components/textarea/deprecated.js +0 -104
  1618. package/esm2015/components/textarea/index.js +0 -5
  1619. package/esm2015/components/textarea/taiga-ui-kit-components-textarea.js +0 -5
  1620. package/esm2015/components/textarea/textarea.component.js +0 -217
  1621. package/esm2015/components/textarea/textarea.directive.js +0 -18
  1622. package/esm2015/components/textarea/textarea.module.js +0 -51
  1623. package/esm2015/components/tiles/index.js +0 -6
  1624. package/esm2015/components/tiles/tile-handle.directive.js +0 -68
  1625. package/esm2015/components/tiles/tile.component.js +0 -87
  1626. package/esm2015/components/tiles/tile.service.js +0 -84
  1627. package/esm2015/components/tiles/tiles.component.js +0 -88
  1628. package/esm2015/components/tiles/tiles.module.js +0 -18
  1629. package/esm2015/components/toggle/index.js +0 -4
  1630. package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +0 -5
  1631. package/esm2015/components/toggle/toggle.component.js +0 -116
  1632. package/esm2015/components/toggle/toggle.module.js +0 -52
  1633. package/esm2015/components/toggle/toggle.options.js +0 -28
  1634. package/esm2015/components/tree/components/tree/tree.component.js +0 -78
  1635. package/esm2015/components/tree/components/tree-item/tree-item.component.js +0 -69
  1636. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +0 -16
  1637. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +0 -50
  1638. package/esm2015/components/tree/directives/tree-children.directive.js +0 -22
  1639. package/esm2015/components/tree/directives/tree-controller.directive.js +0 -68
  1640. package/esm2015/components/tree/directives/tree-item-controller.directive.js +0 -40
  1641. package/esm2015/components/tree/directives/tree-node.directive.js +0 -39
  1642. package/esm2015/components/tree/index.js +0 -14
  1643. package/esm2015/components/tree/misc/tree.constants.js +0 -9
  1644. package/esm2015/components/tree/misc/tree.interfaces.js +0 -2
  1645. package/esm2015/components/tree/misc/tree.service.js +0 -40
  1646. package/esm2015/components/tree/misc/tree.tokens.js +0 -36
  1647. package/esm2015/components/tree/tree.module.js +0 -67
  1648. package/esm2015/constants/date-mode-maskito-adapter.js +0 -6
  1649. package/esm2015/constants/date-time-separator.js +0 -2
  1650. package/esm2015/constants/empty-mask.js +0 -10
  1651. package/esm2015/constants/group-class-names.js +0 -16
  1652. package/esm2015/constants/index.js +0 -11
  1653. package/esm2015/constants/mask-after-code-regexp.js +0 -2
  1654. package/esm2015/constants/masks.js +0 -32
  1655. package/esm2015/constants/math.js +0 -5
  1656. package/esm2015/constants/max-day-range-length-mapper.js +0 -18
  1657. package/esm2015/constants/max-time-values.js +0 -7
  1658. package/esm2015/constants/router-link-options.js +0 -10
  1659. package/esm2015/constants/taiga-ui-kit-constants.js +0 -5
  1660. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +0 -108
  1661. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +0 -16
  1662. package/esm2015/directives/data-list-dropdown-manager/index.js +0 -3
  1663. package/esm2015/directives/highlight/highlight.directive.js +0 -95
  1664. package/esm2015/directives/highlight/highlight.module.js +0 -16
  1665. package/esm2015/directives/highlight/index.js +0 -3
  1666. package/esm2015/directives/index.js +0 -9
  1667. package/esm2015/directives/lazy-loading/index.js +0 -4
  1668. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +0 -62
  1669. package/esm2015/directives/lazy-loading/lazy-loading.module.js +0 -16
  1670. package/esm2015/directives/lazy-loading/lazy-loading.service.js +0 -35
  1671. package/esm2015/directives/mask/index.js +0 -2
  1672. package/esm2015/directives/mask/legacy-mask.js +0 -171
  1673. package/esm2015/directives/mask/taiga-ui-kit-directives-mask.js +0 -5
  1674. package/esm2015/directives/present/index.js +0 -3
  1675. package/esm2015/directives/present/present.directive.js +0 -69
  1676. package/esm2015/directives/present/present.module.js +0 -16
  1677. package/esm2015/directives/project-class/index.js +0 -3
  1678. package/esm2015/directives/project-class/project-class.directive.js +0 -32
  1679. package/esm2015/directives/project-class/project-class.module.js +0 -16
  1680. package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +0 -5
  1681. package/esm2015/directives/unfinished-validator/index.js +0 -3
  1682. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +0 -42
  1683. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +0 -16
  1684. package/esm2015/directives/value-accessor/index.js +0 -3
  1685. package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +0 -5
  1686. package/esm2015/directives/value-accessor/value-accessor.directive.js +0 -15
  1687. package/esm2015/directives/value-accessor/value-accessor.module.js +0 -16
  1688. package/esm2015/index.js +0 -15
  1689. package/esm2015/interfaces/file-like.js +0 -2
  1690. package/esm2015/interfaces/index.js +0 -4
  1691. package/esm2015/interfaces/mobile-calendar-data.js +0 -2
  1692. package/esm2015/interfaces/month-context.js +0 -2
  1693. package/esm2015/interfaces/taiga-ui-kit-interfaces.js +0 -5
  1694. package/esm2015/internal/index.js +0 -2
  1695. package/esm2015/internal/primitive-calendar-range/index.js +0 -3
  1696. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +0 -132
  1697. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +0 -22
  1698. package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +0 -5
  1699. package/esm2015/internal/taiga-ui-kit-internal.js +0 -5
  1700. package/esm2015/pipes/field-error/field-error-content-pipe.js +0 -43
  1701. package/esm2015/pipes/field-error/field-error-pipe.js +0 -128
  1702. package/esm2015/pipes/field-error/field-error.module.js +0 -17
  1703. package/esm2015/pipes/field-error/index.js +0 -4
  1704. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +0 -36
  1705. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +0 -37
  1706. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +0 -17
  1707. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +0 -38
  1708. package/esm2015/pipes/filter-by-input/index.js +0 -5
  1709. package/esm2015/pipes/index.js +0 -9
  1710. package/esm2015/pipes/iso-to-country-code/index.js +0 -3
  1711. package/esm2015/pipes/iso-to-country-code/iso-to-country-code.module.js +0 -16
  1712. package/esm2015/pipes/iso-to-country-code/iso-to-country-code.pipe.js +0 -24
  1713. package/esm2015/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.js +0 -5
  1714. package/esm2015/pipes/sort-countries/index.js +0 -3
  1715. package/esm2015/pipes/sort-countries/sort-countries.module.js +0 -16
  1716. package/esm2015/pipes/sort-countries/sort-countries.pipe.js +0 -25
  1717. package/esm2015/pipes/stringify/index.js +0 -3
  1718. package/esm2015/pipes/stringify/stringify.module.js +0 -16
  1719. package/esm2015/pipes/stringify/stringify.pipe.js +0 -16
  1720. package/esm2015/pipes/stringify-content/index.js +0 -3
  1721. package/esm2015/pipes/stringify-content/stringify-content.module.js +0 -16
  1722. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +0 -16
  1723. package/esm2015/pipes/to-country-code/index.js +0 -3
  1724. package/esm2015/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.js +0 -5
  1725. package/esm2015/pipes/to-country-code/to-country-code.module.js +0 -16
  1726. package/esm2015/pipes/to-country-code/to-country-code.pipe.js +0 -47
  1727. package/esm2015/pipes/to-year/index.js +0 -3
  1728. package/esm2015/pipes/to-year/taiga-ui-kit-pipes-to-year.js +0 -5
  1729. package/esm2015/pipes/to-year/to-year.module.js +0 -16
  1730. package/esm2015/pipes/to-year/to-year.pipe.js +0 -17
  1731. package/esm2015/providers/index.js +0 -4
  1732. package/esm2015/providers/month-formatter.provider.js +0 -14
  1733. package/esm2015/providers/specific-dropdown-controllers.js +0 -6
  1734. package/esm2015/providers/taiga-ui-kit-providers.js +0 -5
  1735. package/esm2015/providers/value-accessor.provider.js +0 -10
  1736. package/esm2015/services/dialog-form.service.js +0 -32
  1737. package/esm2015/services/index.js +0 -2
  1738. package/esm2015/services/taiga-ui-kit-services.js +0 -5
  1739. package/esm2015/tokens/calendar-date-stream.js +0 -18
  1740. package/esm2015/tokens/countries-masks.js +0 -220
  1741. package/esm2015/tokens/date-inputs-value-transformers.js +0 -15
  1742. package/esm2015/tokens/i18n.js +0 -24
  1743. package/esm2015/tokens/index.js +0 -11
  1744. package/esm2015/tokens/input-date-options.js +0 -15
  1745. package/esm2015/tokens/items-handlers.js +0 -14
  1746. package/esm2015/tokens/mobile-calendar.js +0 -6
  1747. package/esm2015/tokens/month-formatter.js +0 -6
  1748. package/esm2015/tokens/tab-margin.js +0 -6
  1749. package/esm2015/tokens/validation-errors.js +0 -6
  1750. package/esm2015/types/dropdown-position.js +0 -2
  1751. package/esm2015/types/file-state.js +0 -2
  1752. package/esm2015/types/handler-with-context.js +0 -2
  1753. package/esm2015/types/index.js +0 -9
  1754. package/esm2015/types/key-steps.js +0 -2
  1755. package/esm2015/types/marker-icon-mode.js +0 -2
  1756. package/esm2015/types/status.js +0 -2
  1757. package/esm2015/types/step-state.js +0 -2
  1758. package/esm2015/types/taiga-ui-kit-types.js +0 -5
  1759. package/esm2015/types/time-format-parts.js +0 -2
  1760. package/esm2015/utils/files/format-size.js +0 -16
  1761. package/esm2015/utils/files/get-accept-array.js +0 -7
  1762. package/esm2015/utils/files/index.js +0 -3
  1763. package/esm2015/utils/files/taiga-ui-kit-utils-files.js +0 -5
  1764. package/esm2015/utils/format/index.js +0 -2
  1765. package/esm2015/utils/format/string-hash-to-hsl.js +0 -21
  1766. package/esm2015/utils/format/taiga-ui-kit-utils-format.js +0 -5
  1767. package/esm2015/utils/index.js +0 -7
  1768. package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +0 -27
  1769. package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +0 -41
  1770. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +0 -32
  1771. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +0 -33
  1772. package/esm2015/utils/mask/create-date-mask.js +0 -21
  1773. package/esm2015/utils/mask/create-date-range-mask.js +0 -19
  1774. package/esm2015/utils/mask/create-time-mask.js +0 -24
  1775. package/esm2015/utils/mask/index.js +0 -8
  1776. package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +0 -5
  1777. package/esm2015/utils/math/horizontal-direction-to-number.js +0 -12
  1778. package/esm2015/utils/math/index.js +0 -3
  1779. package/esm2015/utils/math/key-steps.js +0 -20
  1780. package/esm2015/utils/math/taiga-ui-kit-utils-math.js +0 -5
  1781. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +0 -27
  1782. package/esm2015/utils/miscellaneous/create-time-periods.js +0 -12
  1783. package/esm2015/utils/miscellaneous/get-precision.js +0 -8
  1784. package/esm2015/utils/miscellaneous/index.js +0 -6
  1785. package/esm2015/utils/miscellaneous/is-flat.js +0 -4
  1786. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +0 -14
  1787. package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +0 -5
  1788. package/esm2015/utils/phone/get-max-allowed-phone-length.js +0 -4
  1789. package/esm2015/utils/phone/index.js +0 -4
  1790. package/esm2015/utils/phone/iso-to-country-code.js +0 -5
  1791. package/esm2015/utils/phone/not-kz-region.js +0 -5
  1792. package/esm2015/utils/phone/taiga-ui-kit-utils-phone.js +0 -5
  1793. package/esm2015/validators/index.js +0 -2
  1794. package/esm2015/validators/taiga-ui-kit-validators.js +0 -5
  1795. package/esm2015/validators/unfinished.validator.js +0 -14
  1796. package/fesm2015/taiga-ui-kit-abstract.js +0 -56
  1797. package/fesm2015/taiga-ui-kit-abstract.js.map +0 -1
  1798. package/fesm2015/taiga-ui-kit-classes.js +0 -41
  1799. package/fesm2015/taiga-ui-kit-classes.js.map +0 -1
  1800. package/fesm2015/taiga-ui-kit-components-accordion.js +0 -276
  1801. package/fesm2015/taiga-ui-kit-components-accordion.js.map +0 -1
  1802. package/fesm2015/taiga-ui-kit-components-action.js +0 -106
  1803. package/fesm2015/taiga-ui-kit-components-action.js.map +0 -1
  1804. package/fesm2015/taiga-ui-kit-components-arrow.js +0 -95
  1805. package/fesm2015/taiga-ui-kit-components-arrow.js.map +0 -1
  1806. package/fesm2015/taiga-ui-kit-components-avatar.js +0 -135
  1807. package/fesm2015/taiga-ui-kit-components-avatar.js.map +0 -1
  1808. package/fesm2015/taiga-ui-kit-components-badge.js +0 -98
  1809. package/fesm2015/taiga-ui-kit-components-badge.js.map +0 -1
  1810. package/fesm2015/taiga-ui-kit-components-badged-content.js +0 -112
  1811. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +0 -1
  1812. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +0 -81
  1813. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +0 -1
  1814. package/fesm2015/taiga-ui-kit-components-calendar-month.js +0 -247
  1815. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +0 -1
  1816. package/fesm2015/taiga-ui-kit-components-calendar-range.js +0 -217
  1817. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +0 -1
  1818. package/fesm2015/taiga-ui-kit-components-carousel.js +0 -303
  1819. package/fesm2015/taiga-ui-kit-components-carousel.js.map +0 -1
  1820. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +0 -146
  1821. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +0 -1
  1822. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +0 -98
  1823. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +0 -1
  1824. package/fesm2015/taiga-ui-kit-components-checkbox.js +0 -117
  1825. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +0 -1
  1826. package/fesm2015/taiga-ui-kit-components-combo-box.js +0 -314
  1827. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +0 -1
  1828. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +0 -157
  1829. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +0 -1
  1830. package/fesm2015/taiga-ui-kit-components-elastic-container.js +0 -110
  1831. package/fesm2015/taiga-ui-kit-components-elastic-container.js.map +0 -1
  1832. package/fesm2015/taiga-ui-kit-components-files.js +0 -277
  1833. package/fesm2015/taiga-ui-kit-components-files.js.map +0 -1
  1834. package/fesm2015/taiga-ui-kit-components-filter.js +0 -123
  1835. package/fesm2015/taiga-ui-kit-components-filter.js.map +0 -1
  1836. package/fesm2015/taiga-ui-kit-components-input-copy.js +0 -196
  1837. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +0 -1
  1838. package/fesm2015/taiga-ui-kit-components-input-count.js +0 -286
  1839. package/fesm2015/taiga-ui-kit-components-input-count.js.map +0 -1
  1840. package/fesm2015/taiga-ui-kit-components-input-date-range.js +0 -415
  1841. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +0 -1
  1842. package/fesm2015/taiga-ui-kit-components-input-date-time.js +0 -470
  1843. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +0 -1
  1844. package/fesm2015/taiga-ui-kit-components-input-date.js +0 -417
  1845. package/fesm2015/taiga-ui-kit-components-input-date.js.map +0 -1
  1846. package/fesm2015/taiga-ui-kit-components-input-files.js +0 -437
  1847. package/fesm2015/taiga-ui-kit-components-input-files.js.map +0 -1
  1848. package/fesm2015/taiga-ui-kit-components-input-inline.js +0 -122
  1849. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +0 -1
  1850. package/fesm2015/taiga-ui-kit-components-input-month-range.js +0 -247
  1851. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +0 -1
  1852. package/fesm2015/taiga-ui-kit-components-input-month.js +0 -257
  1853. package/fesm2015/taiga-ui-kit-components-input-month.js.map +0 -1
  1854. package/fesm2015/taiga-ui-kit-components-input-number.js +0 -384
  1855. package/fesm2015/taiga-ui-kit-components-input-number.js.map +0 -1
  1856. package/fesm2015/taiga-ui-kit-components-input-password.js +0 -207
  1857. package/fesm2015/taiga-ui-kit-components-input-password.js.map +0 -1
  1858. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +0 -311
  1859. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +0 -1
  1860. package/fesm2015/taiga-ui-kit-components-input-phone.js +0 -374
  1861. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +0 -1
  1862. package/fesm2015/taiga-ui-kit-components-input-range.js +0 -275
  1863. package/fesm2015/taiga-ui-kit-components-input-range.js.map +0 -1
  1864. package/fesm2015/taiga-ui-kit-components-input-slider.js +0 -227
  1865. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +0 -1
  1866. package/fesm2015/taiga-ui-kit-components-input-tag.js +0 -528
  1867. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +0 -1
  1868. package/fesm2015/taiga-ui-kit-components-input-time.js +0 -476
  1869. package/fesm2015/taiga-ui-kit-components-input-time.js.map +0 -1
  1870. package/fesm2015/taiga-ui-kit-components-input-year.js +0 -197
  1871. package/fesm2015/taiga-ui-kit-components-input-year.js.map +0 -1
  1872. package/fesm2015/taiga-ui-kit-components-input.js +0 -156
  1873. package/fesm2015/taiga-ui-kit-components-input.js.map +0 -1
  1874. package/fesm2015/taiga-ui-kit-components-island.js +0 -97
  1875. package/fesm2015/taiga-ui-kit-components-island.js.map +0 -1
  1876. package/fesm2015/taiga-ui-kit-components-items-with-more.js +0 -196
  1877. package/fesm2015/taiga-ui-kit-components-items-with-more.js.map +0 -1
  1878. package/fesm2015/taiga-ui-kit-components-line-clamp.js +0 -239
  1879. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +0 -1
  1880. package/fesm2015/taiga-ui-kit-components-marker-icon.js +0 -67
  1881. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +0 -1
  1882. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +0 -56
  1883. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +0 -1
  1884. package/fesm2015/taiga-ui-kit-components-multi-select.js +0 -725
  1885. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +0 -1
  1886. package/fesm2015/taiga-ui-kit-components-pagination.js +0 -287
  1887. package/fesm2015/taiga-ui-kit-components-pagination.js.map +0 -1
  1888. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +0 -131
  1889. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +0 -1
  1890. package/fesm2015/taiga-ui-kit-components-progress.js +0 -268
  1891. package/fesm2015/taiga-ui-kit-components-progress.js.map +0 -1
  1892. package/fesm2015/taiga-ui-kit-components-prompt.js +0 -66
  1893. package/fesm2015/taiga-ui-kit-components-prompt.js.map +0 -1
  1894. package/fesm2015/taiga-ui-kit-components-push.js +0 -272
  1895. package/fesm2015/taiga-ui-kit-components-push.js.map +0 -1
  1896. package/fesm2015/taiga-ui-kit-components-radio-block.js +0 -142
  1897. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +0 -1
  1898. package/fesm2015/taiga-ui-kit-components-radio-group.js +0 -41
  1899. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +0 -1
  1900. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +0 -125
  1901. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +0 -1
  1902. package/fesm2015/taiga-ui-kit-components-radio-list.js +0 -139
  1903. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +0 -1
  1904. package/fesm2015/taiga-ui-kit-components-radio.js +0 -183
  1905. package/fesm2015/taiga-ui-kit-components-radio.js.map +0 -1
  1906. package/fesm2015/taiga-ui-kit-components-range.js +0 -289
  1907. package/fesm2015/taiga-ui-kit-components-range.js.map +0 -1
  1908. package/fesm2015/taiga-ui-kit-components-rating.js +0 -148
  1909. package/fesm2015/taiga-ui-kit-components-rating.js.map +0 -1
  1910. package/fesm2015/taiga-ui-kit-components-routable-dialog.js +0 -103
  1911. package/fesm2015/taiga-ui-kit-components-routable-dialog.js.map +0 -1
  1912. package/fesm2015/taiga-ui-kit-components-select-option.js +0 -118
  1913. package/fesm2015/taiga-ui-kit-components-select-option.js.map +0 -1
  1914. package/fesm2015/taiga-ui-kit-components-select.js +0 -387
  1915. package/fesm2015/taiga-ui-kit-components-select.js.map +0 -1
  1916. package/fesm2015/taiga-ui-kit-components-slider.js +0 -380
  1917. package/fesm2015/taiga-ui-kit-components-slider.js.map +0 -1
  1918. package/fesm2015/taiga-ui-kit-components-stepper.js +0 -252
  1919. package/fesm2015/taiga-ui-kit-components-stepper.js.map +0 -1
  1920. package/fesm2015/taiga-ui-kit-components-tabs.js +0 -689
  1921. package/fesm2015/taiga-ui-kit-components-tabs.js.map +0 -1
  1922. package/fesm2015/taiga-ui-kit-components-tag.js +0 -245
  1923. package/fesm2015/taiga-ui-kit-components-tag.js.map +0 -1
  1924. package/fesm2015/taiga-ui-kit-components-textarea.js +0 -373
  1925. package/fesm2015/taiga-ui-kit-components-textarea.js.map +0 -1
  1926. package/fesm2015/taiga-ui-kit-components-tiles.js +0 -328
  1927. package/fesm2015/taiga-ui-kit-components-tiles.js.map +0 -1
  1928. package/fesm2015/taiga-ui-kit-components-toggle.js +0 -195
  1929. package/fesm2015/taiga-ui-kit-components-toggle.js.map +0 -1
  1930. package/fesm2015/taiga-ui-kit-components-tree.js +0 -477
  1931. package/fesm2015/taiga-ui-kit-components-tree.js.map +0 -1
  1932. package/fesm2015/taiga-ui-kit-components.js +0 -71
  1933. package/fesm2015/taiga-ui-kit-components.js.map +0 -1
  1934. package/fesm2015/taiga-ui-kit-constants.js +0 -114
  1935. package/fesm2015/taiga-ui-kit-constants.js.map +0 -1
  1936. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +0 -128
  1937. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js.map +0 -1
  1938. package/fesm2015/taiga-ui-kit-directives-highlight.js +0 -115
  1939. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +0 -1
  1940. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +0 -111
  1941. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +0 -1
  1942. package/fesm2015/taiga-ui-kit-directives-mask.js +0 -170
  1943. package/fesm2015/taiga-ui-kit-directives-mask.js.map +0 -1
  1944. package/fesm2015/taiga-ui-kit-directives-present.js +0 -89
  1945. package/fesm2015/taiga-ui-kit-directives-present.js.map +0 -1
  1946. package/fesm2015/taiga-ui-kit-directives-project-class.js +0 -52
  1947. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +0 -1
  1948. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +0 -62
  1949. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +0 -1
  1950. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +0 -35
  1951. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +0 -1
  1952. package/fesm2015/taiga-ui-kit-directives.js +0 -13
  1953. package/fesm2015/taiga-ui-kit-directives.js.map +0 -1
  1954. package/fesm2015/taiga-ui-kit-interfaces.js +0 -4
  1955. package/fesm2015/taiga-ui-kit-interfaces.js.map +0 -1
  1956. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +0 -156
  1957. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +0 -1
  1958. package/fesm2015/taiga-ui-kit-internal.js +0 -6
  1959. package/fesm2015/taiga-ui-kit-internal.js.map +0 -1
  1960. package/fesm2015/taiga-ui-kit-pipes-field-error.js +0 -188
  1961. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +0 -1
  1962. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +0 -124
  1963. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +0 -1
  1964. package/fesm2015/taiga-ui-kit-pipes-iso-to-country-code.js +0 -44
  1965. package/fesm2015/taiga-ui-kit-pipes-iso-to-country-code.js.map +0 -1
  1966. package/fesm2015/taiga-ui-kit-pipes-sort-countries.js +0 -45
  1967. package/fesm2015/taiga-ui-kit-pipes-sort-countries.js.map +0 -1
  1968. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +0 -36
  1969. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +0 -1
  1970. package/fesm2015/taiga-ui-kit-pipes-stringify.js +0 -36
  1971. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +0 -1
  1972. package/fesm2015/taiga-ui-kit-pipes-to-country-code.js +0 -67
  1973. package/fesm2015/taiga-ui-kit-pipes-to-country-code.js.map +0 -1
  1974. package/fesm2015/taiga-ui-kit-pipes-to-year.js +0 -37
  1975. package/fesm2015/taiga-ui-kit-pipes-to-year.js.map +0 -1
  1976. package/fesm2015/taiga-ui-kit-pipes.js +0 -13
  1977. package/fesm2015/taiga-ui-kit-pipes.js.map +0 -1
  1978. package/fesm2015/taiga-ui-kit-providers.js +0 -34
  1979. package/fesm2015/taiga-ui-kit-providers.js.map +0 -1
  1980. package/fesm2015/taiga-ui-kit-services.js +0 -39
  1981. package/fesm2015/taiga-ui-kit-services.js.map +0 -1
  1982. package/fesm2015/taiga-ui-kit-tokens.js +0 -328
  1983. package/fesm2015/taiga-ui-kit-tokens.js.map +0 -1
  1984. package/fesm2015/taiga-ui-kit-types.js +0 -4
  1985. package/fesm2015/taiga-ui-kit-types.js.map +0 -1
  1986. package/fesm2015/taiga-ui-kit-utils-files.js +0 -30
  1987. package/fesm2015/taiga-ui-kit-utils-files.js.map +0 -1
  1988. package/fesm2015/taiga-ui-kit-utils-format.js +0 -27
  1989. package/fesm2015/taiga-ui-kit-utils-format.js.map +0 -1
  1990. package/fesm2015/taiga-ui-kit-utils-mask.js +0 -194
  1991. package/fesm2015/taiga-ui-kit-utils-mask.js.map +0 -1
  1992. package/fesm2015/taiga-ui-kit-utils-math.js +0 -39
  1993. package/fesm2015/taiga-ui-kit-utils-math.js.map +0 -1
  1994. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +0 -70
  1995. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +0 -1
  1996. package/fesm2015/taiga-ui-kit-utils-phone.js +0 -21
  1997. package/fesm2015/taiga-ui-kit-utils-phone.js.map +0 -1
  1998. package/fesm2015/taiga-ui-kit-utils.js +0 -11
  1999. package/fesm2015/taiga-ui-kit-utils.js.map +0 -1
  2000. package/fesm2015/taiga-ui-kit-validators.js +0 -21
  2001. package/fesm2015/taiga-ui-kit-validators.js.map +0 -1
  2002. package/fesm2015/taiga-ui-kit.js +0 -19
  2003. package/fesm2015/taiga-ui-kit.js.map +0 -1
  2004. package/interfaces/file-like.d.ts +0 -8
  2005. package/interfaces/index.d.ts +0 -3
  2006. package/interfaces/mobile-calendar-data.d.ts +0 -7
  2007. package/interfaces/month-context.d.ts +0 -4
  2008. package/interfaces/package.json +0 -10
  2009. package/interfaces/taiga-ui-kit-interfaces.d.ts +0 -5
  2010. package/internal/index.d.ts +0 -1
  2011. package/internal/package.json +0 -10
  2012. package/internal/primitive-calendar-range/index.d.ts +0 -2
  2013. package/internal/primitive-calendar-range/package.json +0 -10
  2014. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +0 -35
  2015. package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +0 -12
  2016. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +0 -5
  2017. package/internal/taiga-ui-kit-internal.d.ts +0 -5
  2018. package/pipes/field-error/field-error.module.d.ts +0 -8
  2019. package/pipes/field-error/package.json +0 -10
  2020. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +0 -5
  2021. package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +0 -15
  2022. package/pipes/filter-by-input/filter-by-input.base.d.ts +0 -16
  2023. package/pipes/filter-by-input/filter-by-input.module.d.ts +0 -8
  2024. package/pipes/filter-by-input/package.json +0 -10
  2025. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +0 -5
  2026. package/pipes/iso-to-country-code/index.d.ts +0 -2
  2027. package/pipes/iso-to-country-code/iso-to-country-code.module.d.ts +0 -7
  2028. package/pipes/iso-to-country-code/iso-to-country-code.pipe.d.ts +0 -10
  2029. package/pipes/iso-to-country-code/package.json +0 -10
  2030. package/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.d.ts +0 -5
  2031. package/pipes/package.json +0 -10
  2032. package/pipes/sort-countries/package.json +0 -10
  2033. package/pipes/sort-countries/sort-countries.module.d.ts +0 -7
  2034. package/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.d.ts +0 -5
  2035. package/pipes/stringify/package.json +0 -10
  2036. package/pipes/stringify/stringify.module.d.ts +0 -7
  2037. package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +0 -5
  2038. package/pipes/stringify-content/package.json +0 -10
  2039. package/pipes/stringify-content/stringify-content.module.d.ts +0 -7
  2040. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +0 -5
  2041. package/pipes/taiga-ui-kit-pipes.d.ts +0 -5
  2042. package/pipes/to-country-code/index.d.ts +0 -2
  2043. package/pipes/to-country-code/package.json +0 -10
  2044. package/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.d.ts +0 -5
  2045. package/pipes/to-country-code/to-country-code.module.d.ts +0 -7
  2046. package/pipes/to-country-code/to-country-code.pipe.d.ts +0 -10
  2047. package/pipes/to-year/index.d.ts +0 -2
  2048. package/pipes/to-year/package.json +0 -10
  2049. package/pipes/to-year/taiga-ui-kit-pipes-to-year.d.ts +0 -5
  2050. package/pipes/to-year/to-year.module.d.ts +0 -7
  2051. package/pipes/to-year/to-year.pipe.d.ts +0 -8
  2052. package/providers/index.d.ts +0 -3
  2053. package/providers/month-formatter.provider.d.ts +0 -2
  2054. package/providers/package.json +0 -10
  2055. package/providers/specific-dropdown-controllers.d.ts +0 -1
  2056. package/providers/taiga-ui-kit-providers.d.ts +0 -5
  2057. package/providers/value-accessor.provider.d.ts +0 -2
  2058. package/services/dialog-form.service.d.ts +0 -14
  2059. package/services/index.d.ts +0 -1
  2060. package/services/package.json +0 -10
  2061. package/services/taiga-ui-kit-services.d.ts +0 -5
  2062. package/taiga-ui-kit.d.ts +0 -5
  2063. package/tokens/countries-masks.d.ts +0 -2
  2064. package/tokens/month-formatter.d.ts +0 -7
  2065. package/tokens/package.json +0 -10
  2066. package/tokens/tab-margin.d.ts +0 -4
  2067. package/tokens/taiga-ui-kit-tokens.d.ts +0 -5
  2068. package/types/dropdown-position.d.ts +0 -1
  2069. package/types/file-state.d.ts +0 -4
  2070. package/types/handler-with-context.d.ts +0 -2
  2071. package/types/index.d.ts +0 -8
  2072. package/types/key-steps.d.ts +0 -19
  2073. package/types/marker-icon-mode.d.ts +0 -1
  2074. package/types/package.json +0 -10
  2075. package/types/status.d.ts +0 -1
  2076. package/types/step-state.d.ts +0 -1
  2077. package/types/taiga-ui-kit-types.d.ts +0 -5
  2078. package/types/time-format-parts.d.ts +0 -1
  2079. package/utils/files/format-size.d.ts +0 -1
  2080. package/utils/files/get-accept-array.d.ts +0 -1
  2081. package/utils/files/index.d.ts +0 -2
  2082. package/utils/files/package.json +0 -10
  2083. package/utils/files/taiga-ui-kit-utils-files.d.ts +0 -5
  2084. package/utils/format/index.d.ts +0 -1
  2085. package/utils/format/package.json +0 -10
  2086. package/utils/format/string-hash-to-hsl.d.ts +0 -6
  2087. package/utils/format/taiga-ui-kit-utils-format.d.ts +0 -5
  2088. package/utils/mask/create-auto-corrected-date-pipe.d.ts +0 -20
  2089. package/utils/mask/create-auto-corrected-date-range-pipe.d.ts +0 -24
  2090. package/utils/mask/create-auto-corrected-date-time-pipe.d.ts +0 -12
  2091. package/utils/mask/create-auto-corrected-time-pipe.d.ts +0 -10
  2092. package/utils/mask/create-date-mask.d.ts +0 -7
  2093. package/utils/mask/create-date-range-mask.d.ts +0 -7
  2094. package/utils/mask/create-time-mask.d.ts +0 -8
  2095. package/utils/mask/index.d.ts +0 -7
  2096. package/utils/mask/package.json +0 -10
  2097. package/utils/mask/taiga-ui-kit-utils-mask.d.ts +0 -5
  2098. package/utils/math/horizontal-direction-to-number.d.ts +0 -5
  2099. package/utils/math/index.d.ts +0 -2
  2100. package/utils/math/key-steps.d.ts +0 -3
  2101. package/utils/math/package.json +0 -10
  2102. package/utils/math/taiga-ui-kit-utils-math.d.ts +0 -5
  2103. package/utils/miscellaneous/create-default-day-range-periods.d.ts +0 -2
  2104. package/utils/miscellaneous/create-time-periods.d.ts +0 -2
  2105. package/utils/miscellaneous/get-precision.d.ts +0 -4
  2106. package/utils/miscellaneous/index.d.ts +0 -5
  2107. package/utils/miscellaneous/package.json +0 -10
  2108. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +0 -7
  2109. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +0 -5
  2110. package/utils/package.json +0 -10
  2111. package/utils/phone/get-max-allowed-phone-length.d.ts +0 -2
  2112. package/utils/phone/index.d.ts +0 -3
  2113. package/utils/phone/iso-to-country-code.d.ts +0 -2
  2114. package/utils/phone/not-kz-region.d.ts +0 -1
  2115. package/utils/phone/package.json +0 -10
  2116. package/utils/phone/taiga-ui-kit-utils-phone.d.ts +0 -5
  2117. package/utils/taiga-ui-kit-utils.d.ts +0 -5
  2118. package/validators/index.d.ts +0 -1
  2119. package/validators/package.json +0 -10
  2120. package/validators/taiga-ui-kit-validators.d.ts +0 -5
  2121. package/validators/unfinished.validator.d.ts +0 -4
  2122. /package/{esm2015/components/accordion/taiga-ui-kit-components-accordion.js → esm2022/components/accordion/taiga-ui-kit-components-accordion.mjs} +0 -0
  2123. /package/{esm2015/components/avatar/taiga-ui-kit-components-avatar.js → esm2022/components/avatar/taiga-ui-kit-components-avatar.mjs} +0 -0
  2124. /package/{esm2015/components/badge/taiga-ui-kit-components-badge.js → esm2022/components/badge/taiga-ui-kit-components-badge.mjs} +0 -0
  2125. /package/{esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js → esm2022/components/badged-content/taiga-ui-kit-components-badged-content.mjs} +0 -0
  2126. /package/{esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js → esm2022/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.mjs} +0 -0
  2127. /package/{esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js → esm2022/components/calendar-month/taiga-ui-kit-components-calendar-month.mjs} +0 -0
  2128. /package/{esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js → esm2022/components/calendar-range/taiga-ui-kit-components-calendar-range.mjs} +0 -0
  2129. /package/{esm2015/components/carousel/taiga-ui-kit-components-carousel.js → esm2022/components/carousel/taiga-ui-kit-components-carousel.mjs} +0 -0
  2130. /package/{esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js → esm2022/components/checkbox/taiga-ui-kit-components-checkbox.mjs} +0 -0
  2131. /package/{esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js → esm2022/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.mjs} +0 -0
  2132. /package/{esm2015/components/elastic-container/taiga-ui-kit-components-elastic-container.js → esm2022/components/elastic-container/taiga-ui-kit-components-elastic-container.mjs} +0 -0
  2133. /package/{esm2015/components/files/taiga-ui-kit-components-files.js → esm2022/components/files/taiga-ui-kit-components-files.mjs} +0 -0
  2134. /package/{esm2015/components/filter/taiga-ui-kit-components-filter.js → esm2022/components/filter/taiga-ui-kit-components-filter.mjs} +0 -0
  2135. /package/{esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js → esm2022/components/input-inline/taiga-ui-kit-components-input-inline.mjs} +0 -0
  2136. /package/{esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js → esm2022/components/input-phone-international/taiga-ui-kit-components-input-phone-international.mjs} +0 -0
  2137. /package/{esm2015/components/items-with-more/taiga-ui-kit-components-items-with-more.js → esm2022/components/items-with-more/taiga-ui-kit-components-items-with-more.mjs} +0 -0
  2138. /package/{esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js → esm2022/components/line-clamp/taiga-ui-kit-components-line-clamp.mjs} +0 -0
  2139. /package/{esm2015/components/pagination/taiga-ui-kit-components-pagination.js → esm2022/components/pagination/taiga-ui-kit-components-pagination.mjs} +0 -0
  2140. /package/{esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js → esm2022/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.mjs} +0 -0
  2141. /package/{esm2015/components/progress/taiga-ui-kit-components-progress.js → esm2022/components/progress/taiga-ui-kit-components-progress.mjs} +0 -0
  2142. /package/{esm2015/components/push/taiga-ui-kit-components-push.js → esm2022/components/push/taiga-ui-kit-components-push.mjs} +0 -0
  2143. /package/{esm2015/components/radio/taiga-ui-kit-components-radio.js → esm2022/components/radio/taiga-ui-kit-components-radio.mjs} +0 -0
  2144. /package/{esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js → esm2022/components/radio-list/taiga-ui-kit-components-radio-list.mjs} +0 -0
  2145. /package/{esm2015/components/range/taiga-ui-kit-components-range.js → esm2022/components/range/taiga-ui-kit-components-range.mjs} +0 -0
  2146. /package/{esm2015/components/rating/taiga-ui-kit-components-rating.js → esm2022/components/rating/taiga-ui-kit-components-rating.mjs} +0 -0
  2147. /package/{esm2015/components/routable-dialog/taiga-ui-kit-components-routable-dialog.js → esm2022/components/routable-dialog/taiga-ui-kit-components-routable-dialog.mjs} +0 -0
  2148. /package/{esm2015/components/slider/taiga-ui-kit-components-slider.js → esm2022/components/slider/taiga-ui-kit-components-slider.mjs} +0 -0
  2149. /package/{esm2015/components/stepper/taiga-ui-kit-components-stepper.js → esm2022/components/stepper/taiga-ui-kit-components-stepper.mjs} +0 -0
  2150. /package/{esm2015/components/tabs/taiga-ui-kit-components-tabs.js → esm2022/components/tabs/taiga-ui-kit-components-tabs.mjs} +0 -0
  2151. /package/{esm2015/components/taiga-ui-kit-components.js → esm2022/components/taiga-ui-kit-components.mjs} +0 -0
  2152. /package/{esm2015/components/tiles/taiga-ui-kit-components-tiles.js → esm2022/components/tiles/taiga-ui-kit-components-tiles.mjs} +0 -0
  2153. /package/{esm2015/components/tree/taiga-ui-kit-components-tree.js → esm2022/components/tree/taiga-ui-kit-components-tree.mjs} +0 -0
  2154. /package/{esm2015/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.js → esm2022/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.mjs} +0 -0
  2155. /package/{esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js → esm2022/directives/highlight/taiga-ui-kit-directives-highlight.mjs} +0 -0
  2156. /package/{esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js → esm2022/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.mjs} +0 -0
  2157. /package/{esm2015/directives/present/taiga-ui-kit-directives-present.js → esm2022/directives/present/taiga-ui-kit-directives-present.mjs} +0 -0
  2158. /package/{esm2015/directives/taiga-ui-kit-directives.js → esm2022/directives/taiga-ui-kit-directives.mjs} +0 -0
  2159. /package/{esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js → esm2022/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.mjs} +0 -0
  2160. /package/{esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js → esm2022/pipes/field-error/taiga-ui-kit-pipes-field-error.mjs} +0 -0
  2161. /package/{esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js → esm2022/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.mjs} +0 -0
  2162. /package/{esm2015/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.js → esm2022/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.mjs} +0 -0
  2163. /package/{esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js → esm2022/pipes/stringify/taiga-ui-kit-pipes-stringify.mjs} +0 -0
  2164. /package/{esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js → esm2022/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.mjs} +0 -0
  2165. /package/{esm2015/pipes/taiga-ui-kit-pipes.js → esm2022/pipes/taiga-ui-kit-pipes.mjs} +0 -0
  2166. /package/{esm2015/taiga-ui-kit.js → esm2022/taiga-ui-kit.mjs} +0 -0
  2167. /package/{esm2015/tokens/taiga-ui-kit-tokens.js → esm2022/tokens/taiga-ui-kit-tokens.mjs} +0 -0
  2168. /package/{esm2015/utils/taiga-ui-kit-utils.js → esm2022/utils/taiga-ui-kit-utils.mjs} +0 -0
  2169. /package/utils/{miscellaneous/is-flat.d.ts → is-flat.d.ts} +0 -0
@@ -0,0 +1,45 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, inject, Input, Output, TemplateRef, ViewEncapsulation, } from '@angular/core';
3
+ import { EMPTY_QUERY } from '@taiga-ui/cdk/constants';
4
+ import { TuiItem } from '@taiga-ui/cdk/directives/item';
5
+ import { TuiButton } from '@taiga-ui/core/components/button';
6
+ import { TuiExpandComponent } from '@taiga-ui/core/components/expand';
7
+ import { TuiGroup, tuiGroupOptionsProvider } from '@taiga-ui/core/components/group';
8
+ import { TUI_HIDE_TEXT, TUI_SHOW_ALL_TEXT } from '@taiga-ui/kit/tokens';
9
+ import * as i0 from "@angular/core";
10
+ import * as i1 from "@taiga-ui/core/components/group";
11
+ import * as i2 from "@angular/common";
12
+ class TuiFilesComponent {
13
+ constructor() {
14
+ this.items = EMPTY_QUERY;
15
+ this.hideText$ = inject(TUI_HIDE_TEXT);
16
+ this.showAllText$ = inject(TUI_SHOW_ALL_TEXT);
17
+ this.max = 0;
18
+ this.expanded = false;
19
+ this.expandedChange = new EventEmitter();
20
+ }
21
+ get hasExtraItems() {
22
+ return !!this.max && this.items.length > this.max;
23
+ }
24
+ toggle() {
25
+ this.expanded = !this.expanded;
26
+ this.expandedChange.emit(this.expanded);
27
+ }
28
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFilesComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
29
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiFilesComponent, isStandalone: true, selector: "tui-files", inputs: { max: "max", expanded: "expanded" }, outputs: { expandedChange: "expandedChange" }, providers: [tuiGroupOptionsProvider({ collapsed: true, orientation: 'vertical' })], queries: [{ propertyName: "items", predicate: TuiItem, read: TemplateRef }], hostDirectives: [{ directive: i1.TuiGroup }], ngImport: i0, template: "<ng-container *ngIf=\"items?.changes | async\" />\n<ng-content />\n<ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"!max || index < max\"\n [ngTemplateOutlet]=\"item\"\n />\n</ng-container>\n<tui-expand\n *ngIf=\"hasExtraItems\"\n [expanded]=\"expanded\"\n>\n <div class=\"t-extra-items\">\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"max && index >= max\"\n [ngTemplateOutlet]=\"item\"\n />\n </ng-container>\n </div>\n</tui-expand>\n<div\n *ngIf=\"hasExtraItems\"\n class=\"t-bottom\"\n [class.t-bottom_collapsed]=\"!expanded\"\n>\n <button\n appearance=\"outline\"\n size=\"m\"\n tuiButton\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ (expanded ? hideText$ : showAllText$) | async }}\n </button>\n</div>\n", styles: ["tui-files{width:100%;overflow:hidden;border-radius:var(--tui-radius-m)}tui-files .t-files{position:relative;display:block;width:100%;height:100%;border-radius:var(--tui-radius-m);overflow:hidden}tui-files .t-button{width:100%;border-radius:inherit}tui-files .t-bottom{z-index:3;width:100%;background:var(--tui-background-base)}tui-files .t-bottom_collapsed{box-shadow:var(--tui-shadow-popup);margin-top:-1.5rem}tui-files .t-extra-items tui-file{border-radius:0;margin-top:0;margin-bottom:-.0625rem}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "pipe", type: i2.AsyncPipe, name: "async" }, { kind: "component", type: TuiExpandComponent, selector: "tui-expand", inputs: ["async", "expanded"] }, { kind: "directive", type: TuiButton, selector: "a[tuiButton],button[tuiButton],a[tuiIconButton],button[tuiIconButton]", inputs: ["size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
30
+ }
31
+ export { TuiFilesComponent };
32
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFilesComponent, decorators: [{
33
+ type: Component,
34
+ args: [{ standalone: true, selector: 'tui-files', imports: [CommonModule, TuiExpandComponent, TuiButton], encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiGroupOptionsProvider({ collapsed: true, orientation: 'vertical' })], hostDirectives: [TuiGroup], template: "<ng-container *ngIf=\"items?.changes | async\" />\n<ng-content />\n<ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"!max || index < max\"\n [ngTemplateOutlet]=\"item\"\n />\n</ng-container>\n<tui-expand\n *ngIf=\"hasExtraItems\"\n [expanded]=\"expanded\"\n>\n <div class=\"t-extra-items\">\n <ng-container *ngFor=\"let item of items; let index = index\">\n <ng-container\n *ngIf=\"max && index >= max\"\n [ngTemplateOutlet]=\"item\"\n />\n </ng-container>\n </div>\n</tui-expand>\n<div\n *ngIf=\"hasExtraItems\"\n class=\"t-bottom\"\n [class.t-bottom_collapsed]=\"!expanded\"\n>\n <button\n appearance=\"outline\"\n size=\"m\"\n tuiButton\n type=\"button\"\n class=\"t-button\"\n (click)=\"toggle()\"\n >\n {{ (expanded ? hideText$ : showAllText$) | async }}\n </button>\n</div>\n", styles: ["tui-files{width:100%;overflow:hidden;border-radius:var(--tui-radius-m)}tui-files .t-files{position:relative;display:block;width:100%;height:100%;border-radius:var(--tui-radius-m);overflow:hidden}tui-files .t-button{width:100%;border-radius:inherit}tui-files .t-bottom{z-index:3;width:100%;background:var(--tui-background-base)}tui-files .t-bottom_collapsed{box-shadow:var(--tui-shadow-popup);margin-top:-1.5rem}tui-files .t-extra-items tui-file{border-radius:0;margin-top:0;margin-bottom:-.0625rem}\n"] }]
35
+ }], propDecorators: { items: [{
36
+ type: ContentChildren,
37
+ args: [TuiItem, { read: TemplateRef }]
38
+ }], max: [{
39
+ type: Input
40
+ }], expanded: [{
41
+ type: Input
42
+ }], expandedChange: [{
43
+ type: Output
44
+ }] } });
45
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvZmlsZXMvZmlsZXMvZmlsZXMuY29tcG9uZW50LnRzIiwiLi4v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YXRlT3V0bGV0XT1cIml0ZW1cIlxuICAgICAgICAgICAgLz5cbiAgICAgICAgPC9uZy1jb250YWluZXI+XG4gICAgPC9kaXY+XG48L3R1aS1leHBhbmQ+XG48ZGl2XG4gICAgKm5nSWY9XCJoYXNFeHRyYUl0ZW1zXCJcbiAgICBjbGFzcz1cInQtYm90dG9tXCJcbiAgICBbY2xhc3MudC1ib3R0b21fY29sbGFwc2VkXT1cIiFleHBhbmRlZFwiXG4+XG4gICAgPGJ1dHRvblxuICAgICAgICBhcHBlYXJhbmNlPVwib3V0bGluZVwiXG4gICAgICAgIHNpemU9XCJtXCJcbiAgICAgICAgdHVpQnV0dG9uXG4gICAgICAgIHR5cGU9XCJidXR0b25cIlxuICAgICAgICBjbGFzcz1cInQtYnV0dG9uXCJcbiAgICAgICAgKGNsaWNrKT1cInRvZ2dsZSgpXCJcbiAgICA+XG4gICAgICAgIHt7IChleHBhbmRlZCA/IGhpZGVUZXh0JCA6IHNob3dBbGxUZXh0JCkgfCBhc3luYyB9fVxuICAgIDwvYnV0dG9uPlxuPC9kaXY+XG4iXX0=
@@ -0,0 +1,15 @@
1
+ import { TuiItem } from '@taiga-ui/cdk/directives/item';
2
+ import { TuiFile } from './file/file.component';
3
+ import { TuiFilesComponent } from './files/files.component';
4
+ import { TuiInputFiles } from './input-files/input-files.component';
5
+ import { TuiInputFilesDirective } from './input-files/input-files.directive';
6
+ import { TuiFileRejectedPipe } from './pipes/file-rejected.pipe';
7
+ export const TuiFiles = [
8
+ TuiItem,
9
+ TuiFile,
10
+ TuiInputFiles,
11
+ TuiFilesComponent,
12
+ TuiFileRejectedPipe,
13
+ TuiInputFilesDirective,
14
+ ];
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9maWxlcy9maWxlcy50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WN0ZWQucGlwZSc7XG5cbmV4cG9ydCBjb25zdCBUdWlGaWxlcyA9IFtcbiAgICBUdWlJdGVtLFxuICAgIFR1aUZpbGUsXG4gICAgVHVpSW5wdXRGaWxlcyxcbiAgICBUdWlGaWxlc0NvbXBvbmVudCxcbiAgICBUdWlGaWxlUmVqZWN0ZWRQaXBlLFxuICAgIFR1aUlucHV0RmlsZXNEaXJlY3RpdmUsXG5dIGFzIGNvbnN0O1xuIl19
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZXMudHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9maWxlcy9maWxlcy50eXBlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUge1BvbHltb3JwaGV1c0NvbnRlbnR9IGZyb20gJ0B0YWlnYS11aS9wb2x5bW9ycGhldXMnO1xuXG5leHBvcnQgdHlwZSBUdWlGaWxlU3RhdGUgPSAnZGVsZXRlZCcgfCAnZXJyb3InIHwgJ2xvYWRpbmcnIHwgJ25vcm1hbCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgVHVpRmlsZUxpa2Uge1xuICAgIHJlYWRvbmx5IGNvbnRlbnQ/OiBQb2x5bW9ycGhldXNDb250ZW50O1xuICAgIHJlYWRvbmx5IG5hbWU6IHN0cmluZztcbiAgICByZWFkb25seSBzaXplPzogbnVtYmVyO1xuICAgIHJlYWRvbmx5IHNyYz86IHN0cmluZztcbiAgICByZWFkb25seSB0eXBlPzogc3RyaW5nO1xufVxuIl19
@@ -0,0 +1,30 @@
1
+ import { coerceArray } from '@angular/cdk/coercion';
2
+ import { tuiRound } from '@taiga-ui/cdk/utils/math';
3
+ import { TUI_FORMAT_ERROR, TUI_SIZE_ERROR } from './files.validators';
4
+ const BYTES_PER_KIB = 1024;
5
+ const BYTES_PER_MIB = 1024 * BYTES_PER_KIB;
6
+ export function tuiFilesRejected(control) {
7
+ const format = control?.getError(TUI_FORMAT_ERROR)?.$implicit || [];
8
+ const size = control?.getError(TUI_SIZE_ERROR)?.$implicit || [];
9
+ return Array.from(new Set([...format, ...size]));
10
+ }
11
+ export function tuiFilesAccepted(control) {
12
+ const value = control?.value || [];
13
+ const files = coerceArray(value);
14
+ const size = control?.getError(TUI_SIZE_ERROR)?.$implicit || [];
15
+ const format = control?.getError(TUI_FORMAT_ERROR)?.$implicit || [];
16
+ return files.filter((file) => !size.includes(file) && !format.includes(file));
17
+ }
18
+ export function tuiFormatSize(units, size) {
19
+ if (size === undefined) {
20
+ return null;
21
+ }
22
+ if (size < BYTES_PER_KIB) {
23
+ return `${size} ${units[0]}`;
24
+ }
25
+ if (size < BYTES_PER_MIB) {
26
+ return `${(size / BYTES_PER_KIB).toFixed(0)} ${units[1]}`;
27
+ }
28
+ return `${tuiRound(size / BYTES_PER_MIB, 2).toLocaleString('ru-RU')} ${units[2]}`;
29
+ }
30
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZXMudXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9maWxlcy9maWxlcy51dGlscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsV0FBVyxFQUFDLE1BQU0sdUJBQXVCLENBQUM7QUFFbEQsT0FBTyxFQUFDLFFBQVEsRUFBQyxNQUFNLDBCQUEwQixDQUFDO0FBRWxELE9BQU8sRUFBQyxnQkFBZ0IsRUFBRSxjQUFjLEVBQUMsTUFBTSxvQkFBb0IsQ0FBQztBQUVwRSxNQUFNLGFBQWEsR0FBRyxJQUFJLENBQUM7QUFD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aWYgKHNpemUgPT09IHVuZGVmaW5lZCkge1xuICAgICAgICByZXR1cm4gbnVsbDtcbiAgICB9XG5cbiAgICBpZiAoc2l6ZSA8IEJZVEVTX1BFUl9LSUIpIHtcbiAgICAgICAgcmV0dXJuIGAke3NpemV9ICR7dW5pdHNbMF19YDtcbiAgICB9XG5cbiAgICBpZiAoc2l6ZSA8IEJZVEVTX1BFUl9NSUIpIHtcbiAgICAgICAgcmV0dXJuIGAkeyhzaXplIC8gQllURVNfUEVSX0tJQikudG9GaXhlZCgwKX0gJHt1bml0c1sxXX1gO1xuICAgIH1cblxuICAgIHJldHVybiBgJHt0dWlSb3VuZChzaXplIC8gQllURVNfUEVSX01JQiwgMikudG9Mb2NhbGVTdHJpbmcoJ3J1LVJVJyl9ICR7dW5pdHNbMl19YDtcbn1cbiJdfQ==
@@ -0,0 +1,31 @@
1
+ import { coerceArray } from '@angular/cdk/coercion';
2
+ export const TUI_SIZE_ERROR = 'tuiSize';
3
+ export const TUI_FORMAT_ERROR = 'tuiFormat';
4
+ export function tuiCreateFileSizeValidator(size) {
5
+ return ({ value }) => {
6
+ const files = value && coerceArray(value);
7
+ const $implicit = value && files?.filter((file) => file.size > size);
8
+ return $implicit?.length ? { [TUI_SIZE_ERROR]: { $implicit, size } } : null;
9
+ };
10
+ }
11
+ export function tuiCreateFileFormatValidator(accept) {
12
+ return ({ value }) => {
13
+ const files = value && coerceArray(value);
14
+ const formats = toArray(accept);
15
+ const $implicit = value && files?.filter((file) => !checkFormat(file, formats));
16
+ return $implicit?.length && accept ? { [TUI_FORMAT_ERROR]: { $implicit } } : null;
17
+ };
18
+ }
19
+ function checkFormat({ name, type }, formats) {
20
+ const extension = `.${(name.split('.').pop() || '').toLowerCase()}`;
21
+ return formats.some((format) => format === extension ||
22
+ format === type ||
23
+ (format.split('/')[1] === '*' && type.split('/')[0] === format.split('/')[0]));
24
+ }
25
+ function toArray(accept) {
26
+ return accept
27
+ .toLowerCase()
28
+ .split(',')
29
+ .map((format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Vuc2lvbiA9IGAuJHsobmFtZS5zcGxpdCgnLicpLnBvcCgpIHx8ICcnKS50b0xvd2VyQ2FzZSgpfWA7XG5cbiAgICByZXR1cm4gZm9ybWF0cy5zb21lKFxuICAgICAgICAoZm9ybWF0KSA9PlxuICAgICAgICAgICAgZm9ybWF0ID09PSBleHRlbnNpb24gfHxcbiAgICAgICAgICAgIGZvcm1hdCA9PT0gdHlwZSB8fFxuICAgICAgICAgICAgKGZvcm1hdC5zcGxpdCgnLycpWzFdID09PSAnKicgJiYgdHlwZS5zcGxpdCgnLycpWzBdID09PSBmb3JtYXQuc3BsaXQoJy8nKVswXSksXG4gICAgKTtcbn1cblxuZnVuY3Rpb24gdG9BcnJheShhY2NlcHQ6IHN0cmluZyk6IHJlYWRvbmx5IHN0cmluZ1tdIHtcbiAgICByZXR1cm4gYWNjZXB0XG4gICAgICAgIC50b0xvd2VyQ2FzZSgpXG4gICAgICAgIC5zcGxpdCgnLCcpXG4gICAgICAgIC5tYXAoKGZvcm1hdCkgPT4gZm9ybWF0LnRyaW0oKS50b0xvd2VyQ2FzZSgpKTtcbn1cbiJdfQ==
@@ -0,0 +1,14 @@
1
+ export * from './file/file.component';
2
+ export * from './file/file.options';
3
+ export * from './files';
4
+ export * from './files.types';
5
+ export * from './files.utils';
6
+ export * from './files.validators';
7
+ export * from './files/files.component';
8
+ export * from './input-files/input-files.component';
9
+ export * from './input-files/input-files.content';
10
+ export * from './input-files/input-files.directive';
11
+ export * from './input-files/input-files.options';
12
+ export * from './input-files/input-files-validator.directive';
13
+ export * from './pipes/file-rejected.pipe';
14
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9raXQvY29tcG9uZW50cy9maWxlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjL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pZGF0b3IuZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vcGlwZXMvZmlsZS1yZWplY3RlZC5waXBlJztcbiJdfQ==
@@ -0,0 +1,49 @@
1
+ import { Directive, HostBinding, inject, Input } from '@angular/core';
2
+ import { Validators } from '@angular/forms';
3
+ import { TuiValidator } from '@taiga-ui/cdk/directives/validator';
4
+ import { tuiCreateFileFormatValidator, tuiCreateFileSizeValidator, } from '../files.validators';
5
+ import { TUI_INPUT_FILES_OPTIONS } from './input-files.options';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "@taiga-ui/cdk/directives/validator";
8
+ class TuiInputFilesValidator {
9
+ constructor() {
10
+ this.options = inject(TUI_INPUT_FILES_OPTIONS);
11
+ this.validator = inject(TuiValidator);
12
+ this.accept = this.options.accept;
13
+ this.maxFileSize = this.options.maxFileSize;
14
+ }
15
+ ngOnChanges() {
16
+ this.validate();
17
+ }
18
+ ngOnInit() {
19
+ this.validate();
20
+ }
21
+ validate() {
22
+ this.validator.tuiValidator =
23
+ Validators.compose([
24
+ tuiCreateFileFormatValidator(this.accept),
25
+ tuiCreateFileSizeValidator(this.maxFileSize),
26
+ ]) || Validators.nullValidator;
27
+ this.validator.ngOnChanges();
28
+ }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputFilesValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
30
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputFilesValidator, isStandalone: true, selector: "input:is(never)", inputs: { accept: "accept", maxFileSize: "maxFileSize" }, host: { properties: { "accept": "this.accept" } }, exportAs: ["tuiInputFilesValidator"], usesOnChanges: true, hostDirectives: [{ directive: i1.TuiValidator }], ngImport: i0 }); }
31
+ }
32
+ export { TuiInputFilesValidator };
33
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputFilesValidator, decorators: [{
34
+ type: Directive,
35
+ args: [{
36
+ standalone: true,
37
+ selector: 'input:is(never)',
38
+ exportAs: 'tuiInputFilesValidator',
39
+ hostDirectives: [TuiValidator],
40
+ }]
41
+ }], propDecorators: { accept: [{
42
+ type: Input
43
+ }, {
44
+ type: HostBinding,
45
+ args: ['accept']
46
+ }], maxFileSize: [{
47
+ type: Input
48
+ }] } });
49
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZmlsZXMtdmFsaWRhdG9yLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2ZpbGVzL2lucHV0LWZpbGVzL2lucHV0LWZpbGVzLXZhbGlkYXRvci5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUNwRSxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sZ0JBQWdCLENBQUM7QUFDMUMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLG9DQUFvQyxDQUFDO0FBRWhFLE9BQU8sRUFDSCw0QkFBNEIsRUFDNUIsMEJBQTBCLEdBQzdCLE1BQU0scUJBQXFCLENBQUM7QUFDN0IsT0FBTyxFQUFDLHVCQUF1QixFQUFDLE1BQU0sdUJBQXVCLENBQUM7OztBQUU5RCxNQU1hLHNCQUFzQjtJQU5uQztRQU9xQixZQUFPLEdBQUcsTUFBTSxDQUFDLHVCQUF1QixDQUFDLENBQUM7UUFDMUMsY0FBUyxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsQ0FBQztRQUkzQyxXQUFNLEdBQUcsSUFBSSxDQU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4gICAgcHVibGljIG5nT25DaGFuZ2VzKCk6IHZvaWQge1xuICAgICAgICB0aGlzLnZhbGlkYXRlKCk7XG4gICAgfVxuXG4gICAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xuICAgICAgICB0aGlzLnZhbGlkYXRlKCk7XG4gICAgfVxuXG4gICAgcHJpdmF0ZSB2YWxpZGF0ZSgpOiB2b2lkIHtcbiAgICAgICAgdGhpcy52YWxpZGF0b3IudHVpVmFsaWRhdG9yID1cbiAgICAgICAgICAgIFZhbGlkYXRvcnMuY29tcG9zZShbXG4gICAgICAgICAgICAgICAgdHVpQ3JlYXRlRmlsZUZvcm1hdFZhbGlkYXRvcih0aGlzLmFjY2VwdCksXG4gICAgICAgICAgICAgICAgdHVpQ3JlYXRlRmlsZVNpemVWYWxpZGF0b3IodGhpcy5tYXhGaWxlU2l6ZSksXG4gICAgICAgICAgICBdKSB8fCBWYWxpZGF0b3JzLm51bGxWYWxpZGF0b3I7XG4gICAgICAgIHRoaXMudmFsaWRhdG9yLm5nT25DaGFuZ2VzKCk7XG4gICAgfVxufVxuIl19
@@ -0,0 +1,72 @@
1
+ import { ChangeDetectionStrategy, Component, ContentChild, HostListener, TemplateRef, ViewEncapsulation, } from '@angular/core';
2
+ import { PolymorpheusComponent, PolymorpheusOutlet, PolymorpheusTemplate, } from '@taiga-ui/polymorpheus';
3
+ import { TuiInputFilesContent } from './input-files.content';
4
+ import { TuiInputFilesDirective } from './input-files.directive';
5
+ import * as i0 from "@angular/core";
6
+ class TuiInputFiles {
7
+ constructor() {
8
+ this.content = new PolymorpheusComponent(TuiInputFilesContent);
9
+ }
10
+ get fileDragged() {
11
+ return !!this.files && !this.input?.disabled();
12
+ }
13
+ onFilesSelected(input) {
14
+ if (!input?.files) {
15
+ return;
16
+ }
17
+ this.input?.process(input.files);
18
+ input.value = '';
19
+ }
20
+ onDropped({ dataTransfer }) {
21
+ this.files = null;
22
+ if (dataTransfer?.files && !this.input?.disabled()) {
23
+ this.input?.process(dataTransfer.files);
24
+ }
25
+ }
26
+ onDrag(dataTransfer) {
27
+ this.files = dataTransfer?.files;
28
+ }
29
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputFiles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
30
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputFiles, isStandalone: true, selector: "label[tuiInputFiles]", host: { listeners: { "dragover.prevent.silent": "0", "drop.prevent": "onDropped($event)", "dragenter": "onDrag($event.dataTransfer)", "dragleave.self": "onDrag(null)", "change": "onFilesSelected($event.target)" }, properties: { "class._dragged": "fileDragged" } }, queries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true }, { propertyName: "input", first: true, predicate: TuiInputFilesDirective, descendants: true }], ngImport: i0, template: `
31
+ <ng-content></ng-content>
32
+ <span
33
+ *polymorpheusOutlet="
34
+ template || content as text;
35
+ context: {$implicit: fileDragged}
36
+ "
37
+ >
38
+ {{ text }}
39
+ </span>
40
+ `, isInline: true, styles: ["label[tuiInputFiles]{position:relative;display:flex;min-height:var(--tui-height-l);justify-content:center;align-items:center;text-align:center;border-radius:var(--tui-radius-m);font:var(--tui-font-text-m);word-wrap:break-word;padding:0 .5rem}label[tuiInputFiles]>:not(input){position:relative;pointer-events:none}label[tuiInputFiles] input{position:absolute;top:0;left:0;width:100%;height:100%;color:transparent;cursor:pointer}label[tuiInputFiles] input:disabled~*{opacity:var(--tui-disabled-opacity)}label[tuiInputFiles] input::-webkit-file-upload-button{display:none}label[tuiInputFiles] input::file-selector-button{display:none}[tuiAppearance][data-appearance=file]{border-radius:inherit;box-sizing:border-box;border:1px dashed var(--tui-text-action)}tui-root._mobile [tuiAppearance][data-appearance=file]{border-style:solid}[tuiInputFiles]._dragged [tuiAppearance][data-appearance=file]{background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}@media (hover: hover){[tuiAppearance][data-appearance=file]:-webkit-any(a,button,select,textarea,input,label):hover:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=file]:-moz-any(a,button,select,textarea,input,label):hover:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}}[tuiAppearance][data-appearance=file][data-state=hover]{background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}[tuiAppearance][data-appearance=file]:-webkit-any(a,button,select,textarea,input,label):active:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1-hover)}[tuiAppearance][data-appearance=file]:-moz-any(a,button,select,textarea,input,label):active:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1-hover)}[tuiAppearance][data-appearance=file][data-state=active]{background:var(--tui-background-neutral-1-hover)}[tuiAppearance][data-appearance=file]:disabled:not([data-state]),[tuiAppearance][data-appearance=file][data-state=disabled]{background:transparent;border-color:var(--tui-text-tertiary)}[tuiAppearance][data-appearance=file]:focus-visible:not([data-focus=false]){border:.125rem solid var(--tui-border-focus)}[tuiAppearance][data-appearance=file][data-focus=true]{border:.125rem solid var(--tui-border-focus)}\n"], dependencies: [{ kind: "directive", type: PolymorpheusOutlet, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
41
+ }
42
+ export { TuiInputFiles };
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputFiles, decorators: [{
44
+ type: Component,
45
+ args: [{ standalone: true, selector: 'label[tuiInputFiles]', imports: [PolymorpheusOutlet, PolymorpheusTemplate], template: `
46
+ <ng-content></ng-content>
47
+ <span
48
+ *polymorpheusOutlet="
49
+ template || content as text;
50
+ context: {$implicit: fileDragged}
51
+ "
52
+ >
53
+ {{ text }}
54
+ </span>
55
+ `, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
56
+ '(dragover.prevent.silent)': '0',
57
+ '(drop.prevent)': 'onDropped($event)',
58
+ '(dragenter)': 'onDrag($event.dataTransfer)',
59
+ '(dragleave.self)': 'onDrag(null)',
60
+ '[class._dragged]': 'fileDragged',
61
+ }, styles: ["label[tuiInputFiles]{position:relative;display:flex;min-height:var(--tui-height-l);justify-content:center;align-items:center;text-align:center;border-radius:var(--tui-radius-m);font:var(--tui-font-text-m);word-wrap:break-word;padding:0 .5rem}label[tuiInputFiles]>:not(input){position:relative;pointer-events:none}label[tuiInputFiles] input{position:absolute;top:0;left:0;width:100%;height:100%;color:transparent;cursor:pointer}label[tuiInputFiles] input:disabled~*{opacity:var(--tui-disabled-opacity)}label[tuiInputFiles] input::-webkit-file-upload-button{display:none}label[tuiInputFiles] input::file-selector-button{display:none}[tuiAppearance][data-appearance=file]{border-radius:inherit;box-sizing:border-box;border:1px dashed var(--tui-text-action)}tui-root._mobile [tuiAppearance][data-appearance=file]{border-style:solid}[tuiInputFiles]._dragged [tuiAppearance][data-appearance=file]{background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}@media (hover: hover){[tuiAppearance][data-appearance=file]:-webkit-any(a,button,select,textarea,input,label):hover:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}}@media (hover: hover){[tuiAppearance][data-appearance=file]:-moz-any(a,button,select,textarea,input,label):hover:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}}[tuiAppearance][data-appearance=file][data-state=hover]{background:var(--tui-background-neutral-1);border-color:var(--tui-text-action-hover)}[tuiAppearance][data-appearance=file]:-webkit-any(a,button,select,textarea,input,label):active:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1-hover)}[tuiAppearance][data-appearance=file]:-moz-any(a,button,select,textarea,input,label):active:not(:disabled):not([data-state]){background:var(--tui-background-neutral-1-hover)}[tuiAppearance][data-appearance=file][data-state=active]{background:var(--tui-background-neutral-1-hover)}[tuiAppearance][data-appearance=file]:disabled:not([data-state]),[tuiAppearance][data-appearance=file][data-state=disabled]{background:transparent;border-color:var(--tui-text-tertiary)}[tuiAppearance][data-appearance=file]:focus-visible:not([data-focus=false]){border:.125rem solid var(--tui-border-focus)}[tuiAppearance][data-appearance=file][data-focus=true]{border:.125rem solid var(--tui-border-focus)}\n"] }]
62
+ }], propDecorators: { template: [{
63
+ type: ContentChild,
64
+ args: [TemplateRef]
65
+ }], input: [{
66
+ type: ContentChild,
67
+ args: [TuiInputFilesDirective]
68
+ }], onFilesSelected: [{
69
+ type: HostListener,
70
+ args: ['change', ['$event.target']]
71
+ }] } });
72
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZmlsZXMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvZmlsZXMvaW5wdXQtZmlsZXMvaW5wdXQtZmlsZXMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixZQUFZLEVBQ1osV0FBVyxFQUNYLGlCQUFpQixHQUNwQixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQ0gscUJBQXFCLEVBQ3JCLGtCQUFrQixFQUNsQixvQkFBb0IsR0FDdkIsTUFBTSx3QkFBd0IsQ0FBQztBQUVoQyxPQUFPLEVBQUMsb0JBQW9CLEVBQUMsTUFBTSx1QkFBdUIsQ0FBQztBQUMzRCxPQUFPLEVBQUMsc0JBQXNCLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQzs7QUFFL0QsTUEwQmEsYUFBYTtJQTFCMUI7UUErQnVCLFlBQU8sR0FBRyxJ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XG5cbiAgICAgICAgaWYgKGRhdGFUcmFuc2Zlcj8uZmlsZXMgJiYgIXRoaXMuaW5wdXQ/LmRpc2FibGVkKCkpIHtcbiAgICAgICAgICAgIHRoaXMuaW5wdXQ/LnByb2Nlc3MoZGF0YVRyYW5zZmVyLmZpbGVzKTtcbiAgICAgICAgfVxuICAgIH1cblxuICAgIHByb3RlY3RlZCBvbkRyYWcoZGF0YVRyYW5zZmVyOiBEYXRhVHJhbnNmZXIgfCBudWxsKTogdm9pZCB7XG4gICAgICAgIHRoaXMuZmlsZXMgPSBkYXRhVHJhbnNmZXI/LmZpbGVzO1xuICAgIH1cbn1cbiJdfQ==
@@ -0,0 +1,72 @@
1
+ import { __decorate } from "tslib";
2
+ import { AsyncPipe } from '@angular/common';
3
+ import { ChangeDetectionStrategy, Component, inject } from '@angular/core';
4
+ import { tuiPure } from '@taiga-ui/cdk/utils/miscellaneous';
5
+ import { TuiLink } from '@taiga-ui/core/components/link';
6
+ import { TuiBreakpointService } from '@taiga-ui/core/services';
7
+ import { TUI_INPUT_FILE_TEXTS } from '@taiga-ui/kit/tokens';
8
+ import { POLYMORPHEUS_CONTEXT } from '@taiga-ui/polymorpheus';
9
+ import { combineLatest, map, of } from 'rxjs';
10
+ import { TuiInputFiles } from './input-files.component';
11
+ import * as i0 from "@angular/core";
12
+ class TuiInputFilesContent {
13
+ constructor() {
14
+ this.breakpoint$ = inject(TuiBreakpointService);
15
+ this.text$ = inject(TUI_INPUT_FILE_TEXTS);
16
+ this.context = inject(POLYMORPHEUS_CONTEXT);
17
+ this.component = inject(TuiInputFiles);
18
+ }
19
+ get link$() {
20
+ return this.computeLink$(this.context.$implicit, !!this.component.input?.input.multiple);
21
+ }
22
+ get label$() {
23
+ return this.computeLabel$(this.context.$implicit, !!this.component.input?.input.multiple);
24
+ }
25
+ computeLink$(fileDragged, multiple) {
26
+ return fileDragged
27
+ ? of('')
28
+ : this.text$.pipe(map((t) => (multiple ? t.defaultLinkMultiple : t.defaultLinkSingle)));
29
+ }
30
+ computeLabel$(fileDragged, multiple) {
31
+ return fileDragged
32
+ ? combineLatest([this.breakpoint$, this.text$]).pipe(map(([breakpoint, text]) => {
33
+ if (breakpoint === 'mobile') {
34
+ return '';
35
+ }
36
+ return multiple ? text.dropMultiple : text.drop;
37
+ }))
38
+ : combineLatest([this.breakpoint$, this.text$]).pipe(map(([breakpoint, text]) => {
39
+ if (breakpoint === 'mobile') {
40
+ return '';
41
+ }
42
+ return multiple
43
+ ? text.defaultLabelMultiple
44
+ : text.defaultLabelSingle;
45
+ }));
46
+ }
47
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputFilesContent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
48
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputFilesContent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
49
+ <a tuiLink>{{ link$ | async }}</a>
50
+ {{ label$ | async }}
51
+ `, isInline: true, dependencies: [{ kind: "pipe", type: AsyncPipe, name: "async" }, { kind: "directive", type: TuiLink, selector: "a[tuiLink], button[tuiLink]", inputs: ["pseudo"] }], changeDetection: i0.ChangeDetectionStrategy.Default }); }
52
+ }
53
+ __decorate([
54
+ tuiPure
55
+ ], TuiInputFilesContent.prototype, "computeLink$", null);
56
+ __decorate([
57
+ tuiPure
58
+ ], TuiInputFilesContent.prototype, "computeLabel$", null);
59
+ export { TuiInputFilesContent };
60
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputFilesContent, decorators: [{
61
+ type: Component,
62
+ args: [{
63
+ standalone: true,
64
+ imports: [AsyncPipe, TuiLink],
65
+ template: `
66
+ <a tuiLink>{{ link$ | async }}</a>
67
+ {{ label$ | async }}
68
+ `,
69
+ changeDetection: ChangeDetectionStrategy.Default,
70
+ }]
71
+ }], propDecorators: { computeLink$: [],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IEB0dWlQdXJlXG4gICAgcHJpdmF0ZSBjb21wdXRlTGluayQoZmlsZURyYWdnZWQ6IGJvb2xlYW4sIG11bHRpcGxlOiBib29sZWFuKTogT2JzZXJ2YWJsZTxzdHJpbmc+IHtcbiAgICAgICAgcmV0dXJuIGZpbGVEcmFnZ2VkXG4gICAgICAgICAgICA/IG9mKCcnKVxuICAgICAgICAgICAgOiB0aGlzLnRleHQkLnBpcGUoXG4gICAgICAgICAgICAgICAgICBtYXAoKHQpID0+IChtdWx0aXBsZSA/IHQuZGVmYXVsdExpbmtNdWx0aXBsZSA6IHQuZGVmYXVsdExpbmtTaW5nbGUpKSxcbiAgICAgICAgICAgICAgKTtcbiAgICB9XG5cbiAgICBAdHVpUHVyZVxuICAgIHByaXZhdGUgY29tcHV0ZUxhYmVsJChmaWxlRHJhZ2dlZDogYm9vbGVhbiwgbXVsdGlwbGU6IGJvb2xlYW4pOiBPYnNlcnZhYmxlPHN0cmluZz4ge1xuICAgICAgICByZXR1cm4gZmlsZURyYWdnZWRcbiAgICAgICAgICAgID8gY29tYmluZUxhdGVzdChbdGhpcy5icmVha3BvaW50JCwgdGhpcy50ZXh0JF0pLnBpcGUoXG4gICAgICAgICAgICAgICAgICBtYXAoKFticmVha3BvaW50LCB0ZXh0XSkgPT4ge1xuICAgICAgICAgICAgICAgICAgICAgIGlmIChicmVha3BvaW50ID09PSAnbW9iaWxlJykge1xuICAgICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gJyc7XG4gICAgICAgICAgICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG11bHRpcGxlID8gdGV4dC5kcm9wTXVsdGlwbGUgOiB0ZXh0LmRyb3A7XG4gICAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgKVxuICAgICAgICAgICAgOiBjb21iaW5lTGF0ZXN0KFt0aGlzLmJyZWFrcG9pbnQkLCB0aGlzLnRleHQkXSkucGlwZShcbiAgICAgICAgICAgICAgICAgIG1hcCgoW2JyZWFrcG9pbnQsIHRleHRdKSA9PiB7XG4gICAgICAgICAgICAgICAgICAgICAgaWYgKGJyZWFrcG9pbnQgPT09ICdtb2JpbGUnKSB7XG4gICAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiAnJztcbiAgICAgICAgICAgICAgICAgICAgICB9XG5cbiAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gbXVsdGlwbGVcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPyB0ZXh0LmRlZmF1bHRMYWJlbE11bHRpcGxlXG4gICAgICAgICAgICAgICAgICAgICAgICAgIDogdGV4dC5kZWZhdWx0TGFiZWxTaW5nbGU7XG4gICAgICAgICAgICAgICAgICB9KSxcbiAgICAgICAgICAgICAgKTtcbiAgICB9XG59XG4iXX0=
@@ -0,0 +1,69 @@
1
+ import { coerceArray } from '@angular/cdk/coercion';
2
+ import { Directive, forwardRef, inject, Output } from '@angular/core';
3
+ import { tuiAsControl, TuiControl } from '@taiga-ui/cdk/classes';
4
+ import { EMPTY_ARRAY } from '@taiga-ui/cdk/constants';
5
+ import { tuiControlValue } from '@taiga-ui/cdk/observables';
6
+ import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
7
+ import { tuiAppearanceOptionsProvider, TuiWithAppearance, } from '@taiga-ui/core/directives/appearance';
8
+ import { filter, map, switchMap, timer } from 'rxjs';
9
+ import { tuiFilesRejected } from '../files.utils';
10
+ import { TuiInputFiles } from './input-files.component';
11
+ import { TuiInputFilesValidator } from './input-files-validator.directive';
12
+ import * as i0 from "@angular/core";
13
+ import * as i1 from "@taiga-ui/core/directives/appearance";
14
+ import * as i2 from "./input-files-validator.directive";
15
+ class TuiInputFilesDirective extends TuiControl {
16
+ constructor() {
17
+ super(...arguments);
18
+ this.host = inject(forwardRef(() => TuiInputFiles));
19
+ this.reject = timer(0).pipe(switchMap(() => tuiControlValue(this.control.control)), map(() => tuiFilesRejected(this.control.control)), filter(({ length }) => !!length));
20
+ this.appearance = 'file';
21
+ this.input = tuiInjectElement();
22
+ }
23
+ process(files) {
24
+ this.onChange(this.input.multiple
25
+ ? [...toArray(this.value()), ...Array.from(files)]
26
+ : files[0] || null);
27
+ }
28
+ onClick(event) {
29
+ if (this.input.readOnly) {
30
+ event.preventDefault();
31
+ }
32
+ }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputFilesDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
34
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiInputFilesDirective, isStandalone: true, selector: "input[tuiInputFiles]", outputs: { reject: "reject" }, host: { attributes: { "type": "file" }, listeners: { "blur": "onTouched()", "click": "onClick($event)" }, properties: { "disabled": "disabled()" } }, providers: [
35
+ tuiAsControl(TuiInputFilesDirective),
36
+ tuiAppearanceOptionsProvider(TuiInputFilesDirective),
37
+ ], usesInheritance: true, hostDirectives: [{ directive: i1.TuiWithAppearance }, { directive: i2.TuiInputFilesValidator, inputs: ["accept", "accept", "maxFileSize", "maxFileSize"] }], ngImport: i0 }); }
38
+ }
39
+ export { TuiInputFilesDirective };
40
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInputFilesDirective, decorators: [{
41
+ type: Directive,
42
+ args: [{
43
+ standalone: true,
44
+ selector: 'input[tuiInputFiles]',
45
+ providers: [
46
+ tuiAsControl(TuiInputFilesDirective),
47
+ tuiAppearanceOptionsProvider(TuiInputFilesDirective),
48
+ ],
49
+ hostDirectives: [
50
+ TuiWithAppearance,
51
+ {
52
+ directive: TuiInputFilesValidator,
53
+ inputs: ['accept', 'maxFileSize'],
54
+ },
55
+ ],
56
+ host: {
57
+ type: 'file',
58
+ '[disabled]': 'disabled()',
59
+ '(blur)': 'onTouched()',
60
+ '(click)': 'onClick($event)',
61
+ },
62
+ }]
63
+ }], propDecorators: { reject: [{
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Token, tuiProvideOptions } from '@taiga-ui/cdk/utils/miscellaneous';
2
+ export const TUI_INPUT_FILES_DEFAULT_OPTIONS = {
3
+ accept: '',
4
+ multiple: false,
5
+ size: 'm',
6
+ maxFileSize: 30 * 1024 * 1024, // 30 MiB
7
+ };
8
+ /**
9
+ * Default parameters for input files component
10
+ */
11
+ export const TUI_INPUT_FILES_OPTIONS = tuiCreateToken(TUI_INPUT_FILES_DEFAULT_OPTIONS);
12
+ export function tuiInputFilesOptionsProvider(options) {
13
+ return tuiProvideOptions(TUI_INPUT_FILES_OPTIONS, options, TUI_INPUT_FILES_DEFAULT_OPTIONS);
14
+ }
15
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZmlsZXMub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2tpdC9jb21wb25lbnRzL2ZpbGVzL2lucHV0LWZpbGVzL2lucHV0LWZpbGVzLm9wdGlvbnMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFDLGNBQWMsRUFBRSxpQkFBaUIsRUFBQyxNQUFNLG1DQUFtQyxDQUFDO0FBVXBGLE1BQU0sQ0FBQyxNQUFNLCtCQUErQixHQUF5QjtJQUNqRSxNQUFNLEVBQUUsRUFBRTtJQUNWLFFBQVEsRUFBRSxLQUFLO0lBQ2YsSUFBSSxFQUFFLEdBQUc7SUFDVCxXQUFXLEVBQUUsRUFBRSxHQUFHLElBQUksR0FBRyxJQUFJLEVBQUUsU0FBUztDQUMzQyxDQUFDO0FBRUY7O0dBRUc7QUFDSCxNQUFNLENBQUMsTUFBTSx1QkFBdUIsR0FBRyxjQUFjLENBQUMsK0JBQStCLENBQUMsQ0FBQztBQUV2RixNQUFNLFVBQVUsNEJBQTRCLENBQ3hDLE9BQXNDO0lBRXRDLE9BQU8saUJBQWlCL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T3B0aW9ucz4sXG4pOiBQcm92aWRlciB7XG4gICAgcmV0dXJuIHR1aVByb3ZpZGVPcHRpb25zKFxuICAgICAgICBUVUlfSU5QVVRfRklMRVNfT1BUSU9OUyxcbiAgICAgICAgb3B0aW9ucyxcbiAgICAgICAgVFVJX0lOUFVUX0ZJTEVTX0RFRkFVTFRfT1BUSU9OUyxcbiAgICApO1xufVxuIl19
@@ -0,0 +1,49 @@
1
+ import { inject, Pipe } from '@angular/core';
2
+ import { FormControl } from '@angular/forms';
3
+ import { TUI_DIGITAL_INFORMATION_UNITS, TUI_INPUT_FILE_TEXTS } from '@taiga-ui/kit/tokens';
4
+ import { combineLatest, map } from 'rxjs';
5
+ import { TUI_FILE_OPTIONS } from '../file/file.options';
6
+ import { tuiCreateFileFormatValidator, tuiCreateFileSizeValidator, } from '../files.validators';
7
+ import { TUI_INPUT_FILES_OPTIONS } from '../input-files/input-files.options';
8
+ import * as i0 from "@angular/core";
9
+ class TuiFileRejectedPipe {
10
+ constructor() {
11
+ this.options = inject(TUI_INPUT_FILES_OPTIONS);
12
+ this.formatSize = inject(TUI_FILE_OPTIONS).formatSize;
13
+ this.text$ = inject(TUI_INPUT_FILE_TEXTS);
14
+ this.unit$ = inject(TUI_DIGITAL_INFORMATION_UNITS);
15
+ }
16
+ transform(file, { accept = this.options.accept, maxFileSize = this.options.maxFileSize, } = this.options) {
17
+ const sizeValidator = tuiCreateFileSizeValidator(maxFileSize);
18
+ const formatValidator = tuiCreateFileFormatValidator(accept);
19
+ const control = new FormControl(file);
20
+ return combineLatest([this.text$, this.unit$]).pipe(map(([{ maxSizeRejectionReason, formatRejectionReason }, units]) => {
21
+ if (file && formatValidator(control)) {
22
+ return {
23
+ name: file.name,
24
+ size: file.size,
25
+ content: formatRejectionReason,
26
+ };
27
+ }
28
+ if (file && sizeValidator(control)) {
29
+ return {
30
+ name: file.name,
31
+ size: file.size,
32
+ content: maxSizeRejectionReason + this.formatSize(units, maxFileSize),
33
+ };
34
+ }
35
+ return null;
36
+ }));
37
+ }
38
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFileRejectedPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
39
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiFileRejectedPipe, isStandalone: true, name: "tuiFileRejected" }); }
40
+ }
41
+ export { TuiFileRejectedPipe };
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFileRejectedPipe, decorators: [{
43
+ type: Pipe,
44
+ args: [{
45
+ standalone: true,
46
+ name: 'tuiFileRejected',
47
+ }]
48
+ }] });
49
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsZS1yZWplY3RlZC5waXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2l0L2NvbXBvbmVudHMvZmlsZXMvcGlwZXMvZmlsZS1yZWplY3RlZC5waXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBQyxNQUFNLEVBQUUsSUFBSSxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBQyxXQUFXLEVBQUMsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzQyxPQUFPLEVBQUMsNkJBQTZCLEVBQUUsb0JBQW9CLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUV6RixPQUFPLEVBQUMsYUFBYSxFQUFFLEdBQUcsRUFBQyxNQUFNLE1BQU0sQ0FBQztBQUV4QyxPQUFPLEVBQUMsZ0JBQWdCLEVBQUMsTUFBTSxzQkFBc0IsQ0FBQztBQUV0RCxPQUFPLEVBQ0gsNEJBQTRCLEVBQzVCLDBCQUEwQixHQUM3QixN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YWNjZXB0LFxuICAgICAgICAgICAgbWF4RmlsZVNpemUgPSB0aGlzLm9wdGlvbnMubWF4RmlsZVNpemUsXG4gICAgICAgIH06IHthY2NlcHQ/OiBzdHJpbmc7IG1heEZpbGVTaXplPzogbnVtYmVyfSA9IHRoaXMub3B0aW9ucyxcbiAgICApOiBPYnNlcnZhYmxlPFR1aUZpbGVMaWtlIHwgbnVsbD4ge1xuICAgICAgICBjb25zdCBzaXplVmFsaWRhdG9yID0gdHVpQ3JlYXRlRmlsZVNpemVWYWxpZGF0b3IobWF4RmlsZVNpemUpO1xuICAgICAgICBjb25zdCBmb3JtYXRWYWxpZGF0b3IgPSB0dWlDcmVhdGVGaWxlRm9ybWF0VmFsaWRhdG9yKGFjY2VwdCk7XG4gICAgICAgIGNvbnN0IGNvbnRyb2wgPSBuZXcgRm9ybUNvbnRyb2woZmlsZSk7XG5cbiAgICAgICAgcmV0dXJuIGNvbWJpbmVMYXRlc3QoW3RoaXMudGV4dCQsIHRoaXMudW5pdCRdKS5waXBlKFxuICAgICAgICAgICAgbWFwKChbe21heFNpemVSZWplY3Rpb25SZWFzb24sIGZvcm1hdFJlamVjdGlvblJlYXNvbn0sIHVuaXRzXSkgPT4ge1xuICAgICAgICAgICAgICAgIGlmIChmaWxlICYmIGZvcm1hdFZhbGlkYXRvcihjb250cm9sKSkge1xuICAgICAgICAgICAgICAgICAgICByZXR1cm4ge1xuICAgICAgICAgICAgICAgICAgICAgICAgbmFtZTogZmlsZS5uYW1lLFxuICAgICAgICAgICAgICAgICAgICAgICAgc2l6ZTogZmlsZS5zaXplLFxuICAgICAgICAgICAgICAgICAgICAgICAgY29udGVudDogZm9ybWF0UmVqZWN0aW9uUmVhc29uLFxuICAgICAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIGlmIChmaWxlICYmIHNpemVWYWxpZGF0b3IoY29udHJvbCkpIHtcbiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIG5hbWU6IGZpbGUubmFtZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIHNpemU6IGZpbGUuc2l6ZSxcbiAgICAgICAgICAgICAgICAgICAgICAgIGNvbnRlbnQ6XG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgbWF4U2l6ZVJlamVjdGlvblJlYXNvbiArIHRoaXMuZm9ybWF0U2l6ZSh1bml0cywgbWF4RmlsZVNpemUpLFxuICAgICAgICAgICAgICAgICAgICB9O1xuICAgICAgICAgICAgICAgIH1cblxuICAgICAgICAgICAgICAgIHJldHVybiBudWxsO1xuICAgICAgICAgICAgfSksXG4gICAgICAgICk7XG4gICAgfVxufVxuIl19