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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2400) hide show
  1. package/bundles/taiga-ui-kit-classes.umd.js +7 -3
  2. package/bundles/taiga-ui-kit-classes.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-accordion.umd.js +564 -412
  4. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-action.umd.js +431 -311
  6. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-arrow.umd.js +81 -288
  8. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-avatar.umd.js +427 -305
  10. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-badge.umd.js +427 -303
  12. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-badged-content.umd.js +438 -304
  14. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +400 -342
  16. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +478 -344
  18. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +499 -366
  20. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-carousel.umd.js +599 -438
  22. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +455 -324
  24. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +419 -311
  26. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-checkbox.umd.js +434 -311
  28. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-combo-box.umd.js +537 -405
  30. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +471 -350
  32. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-files.umd.js +525 -379
  34. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-filter.umd.js +455 -324
  36. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-copy.umd.js +476 -356
  38. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-count.umd.js +516 -392
  40. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +567 -436
  42. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +544 -415
  44. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-date.umd.js +540 -406
  46. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-files.umd.js +535 -394
  48. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-inline.umd.js +426 -300
  50. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +505 -371
  52. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-month.umd.js +488 -356
  54. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-number.umd.js +516 -390
  56. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-password.umd.js +480 -360
  58. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +715 -828
  60. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-phone.umd.js +515 -403
  62. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-range.umd.js +564 -419
  64. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-slider.umd.js +503 -460
  66. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-tag.umd.js +636 -492
  68. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-time.umd.js +497 -367
  70. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input.umd.js +438 -338
  72. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-island.umd.js +427 -310
  74. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +528 -324
  76. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +406 -287
  78. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +382 -271
  80. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-multi-select.umd.js +730 -575
  82. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-pagination.umd.js +482 -357
  84. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +434 -313
  86. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-progress.umd.js +551 -492
  88. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-radio-block.umd.js +454 -338
  90. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-radio-group.umd.js +379 -271
  92. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +450 -327
  94. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-radio-list.umd.js +461 -326
  96. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-radio.umd.js +474 -345
  98. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-range.umd.js +535 -461
  100. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-rating.umd.js +452 -320
  102. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-select-option.umd.js +74 -285
  104. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-select.umd.js +487 -365
  106. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-slider.umd.js +580 -570
  108. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-stepper.umd.js +487 -353
  110. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-tabs.umd.js +746 -636
  112. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-tag.umd.js +527 -385
  114. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-text-area.umd.js +525 -392
  116. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-toggle.umd.js +482 -343
  118. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-tree.umd.js +675 -503
  120. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components.umd.js +123 -257
  122. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-constants.umd.js +341 -280
  124. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +507 -0
  126. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -0
  127. package/bundles/taiga-ui-kit-directives-highlight.umd.js +403 -290
  128. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  129. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +421 -308
  130. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-directives-present.umd.js +64 -279
  132. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-directives-project-class.umd.js +381 -272
  134. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  135. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +64 -276
  136. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  137. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +60 -278
  138. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-directives.umd.js +20 -50
  140. package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
  141. package/bundles/taiga-ui-kit-interfaces.umd.js +2 -2
  142. package/bundles/taiga-ui-kit-interfaces.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +441 -321
  144. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-internal.umd.js +5 -7
  146. package/bundles/taiga-ui-kit-internal.umd.js.map +1 -1
  147. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +438 -310
  148. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +406 -306
  150. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +43 -261
  152. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +43 -261
  154. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-pipes.umd.js +11 -19
  156. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  157. package/bundles/taiga-ui-kit-providers.umd.js +17 -49
  158. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  159. package/bundles/taiga-ui-kit-tokens.umd.js +41 -287
  160. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  161. package/bundles/taiga-ui-kit-types.umd.js +2 -2
  162. package/bundles/taiga-ui-kit-types.umd.js.map +1 -1
  163. package/bundles/taiga-ui-kit-utils-files.umd.js +10 -18
  164. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-utils-format.umd.js +8 -8
  166. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  167. package/bundles/taiga-ui-kit-utils-mask.umd.js +347 -273
  168. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  169. package/bundles/taiga-ui-kit-utils-math.umd.js +335 -257
  170. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  171. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +341 -275
  172. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  173. package/bundles/taiga-ui-kit-utils.umd.js +15 -33
  174. package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
  175. package/bundles/taiga-ui-kit-validators.umd.js +7 -3
  176. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  177. package/bundles/taiga-ui-kit.umd.js +34 -50
  178. package/bundles/taiga-ui-kit.umd.js.map +1 -1
  179. package/classes/package.json +2 -5
  180. package/classes/stringifiable-item.d.ts +1 -1
  181. package/classes/taiga-ui-kit-classes.d.ts +1 -0
  182. package/components/accordion/accordion-item/accordion-item-content.directive.d.ts +3 -0
  183. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +3 -0
  184. package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -1
  185. package/components/accordion/accordion.component.d.ts +3 -0
  186. package/components/accordion/accordion.module.d.ts +12 -0
  187. package/components/accordion/package.json +2 -5
  188. package/components/accordion/taiga-ui-kit-components-accordion.d.ts +1 -0
  189. package/components/action/action.component.d.ts +3 -1
  190. package/components/action/action.module.d.ts +9 -0
  191. package/components/action/package.json +2 -5
  192. package/components/action/taiga-ui-kit-components-action.d.ts +1 -0
  193. package/components/arrow/arrow-options.d.ts +0 -2
  194. package/components/arrow/arrow.component.d.ts +5 -1
  195. package/components/arrow/arrow.module.d.ts +8 -0
  196. package/components/arrow/package.json +2 -5
  197. package/components/arrow/taiga-ui-kit-components-arrow.d.ts +1 -0
  198. package/components/avatar/avatar.component.d.ts +3 -0
  199. package/components/avatar/avatar.module.d.ts +7 -0
  200. package/components/avatar/package.json +2 -5
  201. package/components/avatar/taiga-ui-kit-components-avatar.d.ts +1 -0
  202. package/components/badge/badge.component.d.ts +5 -2
  203. package/components/badge/badge.module.d.ts +6 -0
  204. package/components/badge/package.json +2 -5
  205. package/components/badge/taiga-ui-kit-components-badge.d.ts +1 -0
  206. package/components/badged-content/badged-content.component.d.ts +8 -4
  207. package/components/badged-content/badged-content.module.d.ts +9 -0
  208. package/components/badged-content/package.json +2 -5
  209. package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +1 -0
  210. package/components/breadcrumbs/breadcrumbs.component.d.ts +11 -7
  211. package/components/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  212. package/components/breadcrumbs/index.d.ts +0 -2
  213. package/components/breadcrumbs/package.json +2 -5
  214. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +1 -0
  215. package/components/calendar-month/calendar-month.component.d.ts +3 -0
  216. package/components/calendar-month/calendar-month.module.d.ts +8 -0
  217. package/components/calendar-month/package.json +2 -5
  218. package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +1 -0
  219. package/components/calendar-range/calendar-range.component.d.ts +3 -2
  220. package/components/calendar-range/calendar-range.module.d.ts +9 -0
  221. package/components/calendar-range/package.json +2 -5
  222. package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +1 -0
  223. package/components/carousel/carousel-autoscroll.directive.d.ts +3 -0
  224. package/components/carousel/carousel-buttons.directive.d.ts +3 -2
  225. package/components/carousel/carousel-scroll.directive.d.ts +3 -0
  226. package/components/carousel/carousel.component.d.ts +3 -0
  227. package/components/carousel/carousel.directive.d.ts +3 -0
  228. package/components/carousel/carousel.module.d.ts +12 -0
  229. package/components/carousel/package.json +2 -5
  230. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +1 -0
  231. package/components/checkbox/checkbox.component.d.ts +3 -2
  232. package/components/checkbox/checkbox.module.d.ts +8 -0
  233. package/components/checkbox/package.json +2 -5
  234. package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +1 -0
  235. package/components/checkbox-block/checkbox-block.component.d.ts +3 -2
  236. package/components/checkbox-block/checkbox-block.module.d.ts +9 -0
  237. package/components/checkbox-block/package.json +2 -5
  238. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +1 -0
  239. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +3 -2
  240. package/components/checkbox-labeled/checkbox-labeled.module.d.ts +8 -0
  241. package/components/checkbox-labeled/package.json +2 -5
  242. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +1 -0
  243. package/components/combo-box/combo-box-strict.directive.d.ts +3 -0
  244. package/components/combo-box/combo-box.component.d.ts +3 -1
  245. package/components/combo-box/combo-box.directive.d.ts +3 -0
  246. package/components/combo-box/combo-box.module.d.ts +13 -0
  247. package/components/combo-box/index.d.ts +0 -1
  248. package/components/combo-box/package.json +2 -5
  249. package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +1 -0
  250. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +3 -0
  251. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +3 -0
  252. package/components/data-list-wrapper/data-list-wrapper.d.ts +3 -0
  253. package/components/data-list-wrapper/data-list-wrapper.module.d.ts +10 -0
  254. package/components/data-list-wrapper/package.json +2 -5
  255. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +1 -0
  256. package/components/files/file/file.component.d.ts +5 -2
  257. package/components/files/files.component.d.ts +3 -0
  258. package/components/files/files.module.d.ts +10 -0
  259. package/components/files/package.json +2 -5
  260. package/components/files/taiga-ui-kit-components-files.d.ts +1 -0
  261. package/components/filter/filter.component.d.ts +5 -3
  262. package/components/filter/filter.module.d.ts +11 -0
  263. package/components/filter/package.json +2 -5
  264. package/components/filter/taiga-ui-kit-components-filter.d.ts +1 -0
  265. package/components/index.d.ts +0 -2
  266. package/components/input/index.d.ts +0 -1
  267. package/components/input/input.component.d.ts +4 -4
  268. package/components/input/input.directive.d.ts +3 -0
  269. package/components/input/input.module.d.ts +9 -0
  270. package/components/input/package.json +2 -5
  271. package/components/input/taiga-ui-kit-components-input.d.ts +1 -0
  272. package/components/input-copy/index.d.ts +0 -1
  273. package/components/input-copy/input-copy.component.d.ts +6 -5
  274. package/components/input-copy/input-copy.directive.d.ts +3 -0
  275. package/components/input-copy/input-copy.module.d.ts +9 -0
  276. package/components/input-copy/package.json +2 -5
  277. package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +1 -0
  278. package/components/input-count/input-count-options.d.ts +0 -7
  279. package/components/input-count/input-count.component.d.ts +3 -2
  280. package/components/input-count/input-count.directive.d.ts +3 -0
  281. package/components/input-count/input-count.module.d.ts +11 -0
  282. package/components/input-count/package.json +2 -5
  283. package/components/input-count/taiga-ui-kit-components-input-count.d.ts +1 -0
  284. package/components/input-date/index.d.ts +0 -1
  285. package/components/input-date/input-date.component.d.ts +3 -1
  286. package/components/input-date/input-date.directive.d.ts +3 -0
  287. package/components/input-date/input-date.module.d.ts +12 -0
  288. package/components/input-date/package.json +2 -5
  289. package/components/input-date/taiga-ui-kit-components-input-date.d.ts +1 -0
  290. package/components/input-date-range/index.d.ts +0 -1
  291. package/components/input-date-range/input-date-range.component.d.ts +3 -2
  292. package/components/input-date-range/input-date-range.directive.d.ts +3 -0
  293. package/components/input-date-range/input-date-range.module.d.ts +13 -0
  294. package/components/input-date-range/package.json +2 -5
  295. package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +1 -0
  296. package/components/input-date-time/index.d.ts +0 -1
  297. package/components/input-date-time/input-date-time.component.d.ts +11 -3
  298. package/components/input-date-time/input-date-time.directive.d.ts +3 -0
  299. package/components/input-date-time/input-date-time.module.d.ts +12 -0
  300. package/components/input-date-time/package.json +2 -5
  301. package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +1 -0
  302. package/components/input-files/input-files.component.d.ts +3 -2
  303. package/components/input-files/input-files.module.d.ts +10 -0
  304. package/components/input-files/package.json +2 -5
  305. package/components/input-files/taiga-ui-kit-components-input-files.d.ts +1 -0
  306. package/components/input-inline/input-inline.component.d.ts +3 -0
  307. package/components/input-inline/input-inline.module.d.ts +9 -0
  308. package/components/input-inline/package.json +2 -5
  309. package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +1 -0
  310. package/components/input-month/index.d.ts +0 -1
  311. package/components/input-month/input-month.component.d.ts +3 -1
  312. package/components/input-month/input-month.directive.d.ts +3 -0
  313. package/components/input-month/input-month.module.d.ts +10 -0
  314. package/components/input-month/package.json +2 -5
  315. package/components/input-month/taiga-ui-kit-components-input-month.d.ts +1 -0
  316. package/components/input-month-range/index.d.ts +0 -1
  317. package/components/input-month-range/input-month-range.component.d.ts +3 -1
  318. package/components/input-month-range/input-month-range.directive.d.ts +3 -0
  319. package/components/input-month-range/input-month-range.module.d.ts +10 -0
  320. package/components/input-month-range/package.json +2 -5
  321. package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +1 -0
  322. package/components/input-number/input-number.component.d.ts +7 -6
  323. package/components/input-number/input-number.directive.d.ts +3 -0
  324. package/components/input-number/input-number.module.d.ts +12 -0
  325. package/components/input-number/package.json +2 -5
  326. package/components/input-number/taiga-ui-kit-components-input-number.d.ts +1 -0
  327. package/components/input-password/input-password-options.d.ts +0 -7
  328. package/components/input-password/input-password.component.d.ts +7 -6
  329. package/components/input-password/input-password.directive.d.ts +3 -0
  330. package/components/input-password/input-password.module.d.ts +10 -0
  331. package/components/input-password/package.json +2 -5
  332. package/components/input-password/taiga-ui-kit-components-input-password.d.ts +1 -0
  333. package/components/input-phone/index.d.ts +0 -1
  334. package/components/input-phone/input-phone.component.d.ts +6 -4
  335. package/components/input-phone/input-phone.directive.d.ts +3 -0
  336. package/components/input-phone/input-phone.module.d.ts +10 -0
  337. package/components/input-phone/package.json +2 -5
  338. package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +1 -0
  339. package/components/input-phone-international/const/mask-after-code-regexp.d.ts +1 -0
  340. package/components/input-phone-international/index.d.ts +1 -3
  341. package/components/input-phone-international/input-phone-international.component.d.ts +3 -0
  342. package/components/input-phone-international/input-phone-international.module.d.ts +12 -0
  343. package/components/input-phone-international/package.json +2 -5
  344. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +1 -0
  345. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -5
  346. package/components/input-range/input-range.component.d.ts +13 -11
  347. package/components/input-range/input-range.module.d.ts +12 -0
  348. package/components/input-range/package.json +2 -5
  349. package/components/input-range/taiga-ui-kit-components-input-range.d.ts +1 -0
  350. package/components/input-slider/input-slider.component.d.ts +11 -36
  351. package/components/input-slider/input-slider.module.d.ts +11 -0
  352. package/components/input-slider/package.json +2 -5
  353. package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +1 -0
  354. package/components/input-tag/input-tag-options.d.ts +4 -1
  355. package/components/input-tag/input-tag.component.d.ts +10 -12
  356. package/components/input-tag/input-tag.module.d.ts +11 -0
  357. package/components/input-tag/package.json +2 -5
  358. package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +1 -0
  359. package/components/input-time/input-time-options.d.ts +0 -6
  360. package/components/input-time/input-time.component.d.ts +3 -1
  361. package/components/input-time/input-time.module.d.ts +9 -0
  362. package/components/input-time/package.json +2 -5
  363. package/components/input-time/taiga-ui-kit-components-input-time.d.ts +1 -0
  364. package/components/island/island.component.d.ts +3 -0
  365. package/components/island/island.module.d.ts +6 -0
  366. package/components/island/package.json +2 -5
  367. package/components/island/taiga-ui-kit-components-island.d.ts +1 -0
  368. package/components/line-clamp/index.d.ts +1 -0
  369. package/components/line-clamp/line-clamp-box.component.d.ts +7 -0
  370. package/components/line-clamp/line-clamp-position.directive.d.ts +9 -0
  371. package/components/line-clamp/line-clamp.component.d.ts +5 -2
  372. package/components/line-clamp/line-clamp.module.d.ts +11 -0
  373. package/components/line-clamp/package.json +2 -5
  374. package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +1 -0
  375. package/components/marker-icon/marker-icon.component.d.ts +5 -2
  376. package/components/marker-icon/marker-icon.module.d.ts +7 -0
  377. package/components/marker-icon/package.json +2 -5
  378. package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +1 -0
  379. package/components/multi-select/hide-selected.pipe.d.ts +5 -2
  380. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -0
  381. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +4 -9
  382. package/components/multi-select/multi-select.component.d.ts +3 -3
  383. package/components/multi-select/multi-select.module.d.ts +16 -0
  384. package/components/multi-select/package.json +2 -5
  385. package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +1 -0
  386. package/components/multi-select-option/multi-select-option.component.d.ts +3 -0
  387. package/components/multi-select-option/multi-select-option.module.d.ts +7 -0
  388. package/components/multi-select-option/package.json +2 -5
  389. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +1 -0
  390. package/components/package.json +2 -5
  391. package/components/pagination/package.json +2 -5
  392. package/components/pagination/pagination.component.d.ts +3 -2
  393. package/components/pagination/pagination.module.d.ts +9 -0
  394. package/components/pagination/taiga-ui-kit-components-pagination.d.ts +1 -0
  395. package/components/pdf-viewer/package.json +2 -5
  396. package/components/pdf-viewer/pdf-viewer.component.d.ts +3 -0
  397. package/components/pdf-viewer/pdf-viewer.directive.d.ts +3 -0
  398. package/components/pdf-viewer/pdf-viewer.module.d.ts +9 -0
  399. package/components/pdf-viewer/pdf-viewer.service.d.ts +4 -1
  400. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +1 -0
  401. package/components/progress/index.d.ts +0 -3
  402. package/components/progress/package.json +2 -5
  403. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -0
  404. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +3 -0
  405. package/components/progress/progress-circle/progress-circle.component.d.ts +3 -0
  406. package/components/progress/progress-label/progress-label.component.d.ts +3 -0
  407. package/components/progress/progress-segmented/progress-segmented.component.d.ts +3 -2
  408. package/components/progress/progress.module.d.ts +11 -0
  409. package/components/progress/taiga-ui-kit-components-progress.d.ts +1 -0
  410. package/components/radio/package.json +2 -5
  411. package/components/radio/radio-options.d.ts +0 -5
  412. package/components/radio/radio.component.d.ts +3 -2
  413. package/components/radio/radio.module.d.ts +8 -0
  414. package/components/radio/taiga-ui-kit-components-radio.d.ts +1 -0
  415. package/components/radio-block/package.json +2 -5
  416. package/components/radio-block/radio-block.component.d.ts +3 -2
  417. package/components/radio-block/radio-block.module.d.ts +8 -0
  418. package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +1 -0
  419. package/components/radio-group/package.json +2 -5
  420. package/components/radio-group/radio-group.component.d.ts +3 -0
  421. package/components/radio-group/radio-group.module.d.ts +5 -0
  422. package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +1 -0
  423. package/components/radio-labeled/package.json +2 -5
  424. package/components/radio-labeled/radio-labeled.component.d.ts +3 -2
  425. package/components/radio-labeled/radio-labeled.module.d.ts +9 -0
  426. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +1 -0
  427. package/components/radio-list/package.json +2 -5
  428. package/components/radio-list/radio-list.component.d.ts +5 -5
  429. package/components/radio-list/radio-list.module.d.ts +10 -0
  430. package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +1 -0
  431. package/components/range/package.json +2 -5
  432. package/components/range/range-change.directive.d.ts +3 -0
  433. package/components/range/range.component.d.ts +9 -29
  434. package/components/range/range.module.d.ts +10 -0
  435. package/components/range/taiga-ui-kit-components-range.d.ts +1 -0
  436. package/components/rating/package.json +2 -5
  437. package/components/rating/rating.component.d.ts +3 -0
  438. package/components/rating/rating.module.d.ts +8 -0
  439. package/components/rating/taiga-ui-kit-components-rating.d.ts +1 -0
  440. package/components/select/index.d.ts +0 -1
  441. package/components/select/package.json +2 -5
  442. package/components/select/select.component.d.ts +3 -1
  443. package/components/select/select.directive.d.ts +3 -0
  444. package/components/select/select.module.d.ts +12 -0
  445. package/components/select/taiga-ui-kit-components-select.d.ts +1 -0
  446. package/components/select-option/package.json +2 -5
  447. package/components/select-option/select-option.component.d.ts +4 -1
  448. package/components/select-option/select-option.module.d.ts +7 -0
  449. package/components/select-option/taiga-ui-kit-components-select-option.d.ts +1 -0
  450. package/components/slider/helpers/slider-key-steps.directive.d.ts +4 -19
  451. package/components/slider/helpers/slider-readonly.directive.d.ts +3 -0
  452. package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +3 -0
  453. package/components/slider/index.d.ts +0 -1
  454. package/components/slider/package.json +2 -5
  455. package/components/slider/slider.component.d.ts +3 -0
  456. package/components/slider/slider.module.d.ts +9 -0
  457. package/components/slider/taiga-ui-kit-components-slider.d.ts +1 -0
  458. package/components/stepper/package.json +2 -5
  459. package/components/stepper/step/step.component.d.ts +4 -1
  460. package/components/stepper/stepper.component.d.ts +5 -2
  461. package/components/stepper/stepper.module.d.ts +8 -0
  462. package/components/stepper/taiga-ui-kit-components-stepper.d.ts +1 -0
  463. package/components/tabs/index.d.ts +0 -1
  464. package/components/tabs/package.json +2 -5
  465. package/components/tabs/tab/tab.component.d.ts +4 -3
  466. package/components/tabs/tab/tab.providers.d.ts +1 -4
  467. package/components/tabs/tabs/tabs.component.d.ts +4 -6
  468. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +5 -1
  469. package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +3 -9
  470. package/components/tabs/tabs.module.d.ts +12 -0
  471. package/components/tabs/taiga-ui-kit-components-tabs.d.ts +1 -0
  472. package/components/tabs/underline/underline.component.d.ts +4 -6
  473. package/components/tag/package.json +2 -5
  474. package/components/tag/tag-options.d.ts +2 -2
  475. package/components/tag/tag.component.d.ts +6 -5
  476. package/components/tag/tag.module.d.ts +10 -0
  477. package/components/tag/taiga-ui-kit-components-tag.d.ts +1 -0
  478. package/components/taiga-ui-kit-components.d.ts +1 -0
  479. package/components/text-area/index.d.ts +0 -1
  480. package/components/text-area/package.json +2 -5
  481. package/components/text-area/taiga-ui-kit-components-text-area.d.ts +1 -0
  482. package/components/text-area/text-area.component.d.ts +3 -2
  483. package/components/text-area/text-area.directive.d.ts +3 -0
  484. package/components/text-area/text-area.module.d.ts +10 -0
  485. package/components/toggle/package.json +2 -5
  486. package/components/toggle/taiga-ui-kit-components-toggle.d.ts +1 -0
  487. package/components/toggle/toggle-options.d.ts +0 -5
  488. package/components/toggle/toggle.component.d.ts +3 -2
  489. package/components/toggle/toggle.module.d.ts +9 -0
  490. package/components/tree/components/tree/tree.component.d.ts +3 -0
  491. package/components/tree/components/tree-item/tree-item.component.d.ts +3 -0
  492. package/components/tree/components/tree-item/tree-item.providers.d.ts +0 -1
  493. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +3 -0
  494. package/components/tree/directives/tree-children.directive.d.ts +3 -0
  495. package/components/tree/directives/tree-controller.directive.d.ts +3 -0
  496. package/components/tree/directives/tree-item-controller.directive.d.ts +3 -0
  497. package/components/tree/directives/tree-node.directive.d.ts +3 -0
  498. package/components/tree/misc/tree.constants.d.ts +1 -1
  499. package/components/tree/misc/tree.service.d.ts +3 -0
  500. package/components/tree/package.json +2 -5
  501. package/components/tree/taiga-ui-kit-components-tree.d.ts +1 -0
  502. package/components/tree/tree.module.d.ts +15 -0
  503. package/constants/masks.d.ts +0 -8
  504. package/constants/package.json +2 -5
  505. package/constants/taiga-ui-kit-constants.d.ts +1 -0
  506. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +15 -0
  507. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.d.ts +7 -0
  508. package/directives/data-list-dropdown-manager/index.d.ts +2 -0
  509. package/directives/data-list-dropdown-manager/package.json +10 -0
  510. package/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.d.ts +5 -0
  511. package/directives/highlight/highlight.directive.d.ts +3 -0
  512. package/directives/highlight/highlight.module.d.ts +5 -0
  513. package/directives/highlight/package.json +2 -5
  514. package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +1 -0
  515. package/directives/index.d.ts +1 -3
  516. package/directives/lazy-loading/lazy-loading.directive.d.ts +3 -0
  517. package/directives/lazy-loading/lazy-loading.module.d.ts +5 -0
  518. package/directives/lazy-loading/lazy-loading.service.d.ts +3 -0
  519. package/directives/lazy-loading/package.json +2 -5
  520. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +1 -0
  521. package/directives/package.json +2 -5
  522. package/directives/present/package.json +2 -5
  523. package/directives/present/present.directive.d.ts +3 -0
  524. package/directives/present/present.module.d.ts +5 -0
  525. package/directives/present/taiga-ui-kit-directives-present.d.ts +1 -0
  526. package/directives/project-class/package.json +2 -5
  527. package/directives/project-class/project-class.directive.d.ts +3 -0
  528. package/directives/project-class/project-class.module.d.ts +5 -0
  529. package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +1 -0
  530. package/directives/taiga-ui-kit-directives.d.ts +1 -0
  531. package/directives/unfinished-validator/package.json +2 -5
  532. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +1 -0
  533. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +3 -0
  534. package/directives/unfinished-validator/unfinished-validator.module.d.ts +5 -0
  535. package/directives/value-accessor/package.json +2 -5
  536. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +1 -0
  537. package/directives/value-accessor/value-accessor.directive.d.ts +3 -0
  538. package/directives/value-accessor/value-accessor.module.d.ts +5 -0
  539. package/esm2015/classes/day-range-period.js +1 -1
  540. package/esm2015/classes/index.js +1 -1
  541. package/esm2015/classes/named-day.js +1 -1
  542. package/esm2015/classes/stringifiable-item.js +1 -1
  543. package/esm2015/classes/taiga-ui-kit-classes.js +1 -1
  544. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +20 -17
  545. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +12 -10
  546. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +76 -64
  547. package/esm2015/components/accordion/accordion.component.js +32 -26
  548. package/esm2015/components/accordion/accordion.module.js +49 -25
  549. package/esm2015/components/accordion/index.js +1 -1
  550. package/esm2015/components/accordion/taiga-ui-kit-components-accordion.js +1 -1
  551. package/esm2015/components/action/action.component.js +49 -46
  552. package/esm2015/components/action/action.module.js +26 -13
  553. package/esm2015/components/action/index.js +1 -1
  554. package/esm2015/components/action/taiga-ui-kit-components-action.js +1 -1
  555. package/esm2015/components/arrow/arrow-options.js +3 -6
  556. package/esm2015/components/arrow/arrow.component.js +36 -24
  557. package/esm2015/components/arrow/arrow.module.js +16 -13
  558. package/esm2015/components/arrow/index.js +1 -1
  559. package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +1 -1
  560. package/esm2015/components/avatar/avatar-options.js +1 -1
  561. package/esm2015/components/avatar/avatar.component.js +48 -34
  562. package/esm2015/components/avatar/avatar.module.js +15 -12
  563. package/esm2015/components/avatar/index.js +1 -1
  564. package/esm2015/components/avatar/taiga-ui-kit-components-avatar.js +1 -1
  565. package/esm2015/components/badge/badge.component.js +53 -38
  566. package/esm2015/components/badge/badge.module.js +15 -12
  567. package/esm2015/components/badge/index.js +1 -1
  568. package/esm2015/components/badge/taiga-ui-kit-components-badge.js +1 -1
  569. package/esm2015/components/badged-content/badged-content.component.js +52 -28
  570. package/esm2015/components/badged-content/badged-content.module.js +15 -12
  571. package/esm2015/components/badged-content/index.js +1 -1
  572. package/esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js +1 -1
  573. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +44 -24
  574. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +17 -33
  575. package/esm2015/components/breadcrumbs/index.js +1 -3
  576. package/esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +1 -1
  577. package/esm2015/components/calendar-month/calendar-month.component.js +52 -43
  578. package/esm2015/components/calendar-month/calendar-month.module.js +34 -13
  579. package/esm2015/components/calendar-month/index.js +1 -1
  580. package/esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js +1 -1
  581. package/esm2015/components/calendar-range/calendar-range.component.js +64 -51
  582. package/esm2015/components/calendar-range/calendar-range.module.js +32 -13
  583. package/esm2015/components/calendar-range/index.js +1 -1
  584. package/esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js +1 -1
  585. package/esm2015/components/carousel/carousel-autoscroll.directive.js +17 -16
  586. package/esm2015/components/carousel/carousel-buttons.directive.js +26 -23
  587. package/esm2015/components/carousel/carousel-scroll.directive.js +19 -19
  588. package/esm2015/components/carousel/carousel.component.js +74 -51
  589. package/esm2015/components/carousel/carousel.directive.js +23 -21
  590. package/esm2015/components/carousel/carousel.module.js +44 -24
  591. package/esm2015/components/carousel/index.js +1 -1
  592. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +1 -1
  593. package/esm2015/components/checkbox/checkbox.component.js +50 -44
  594. package/esm2015/components/checkbox/checkbox.module.js +29 -16
  595. package/esm2015/components/checkbox/index.js +1 -1
  596. package/esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js +1 -1
  597. package/esm2015/components/checkbox-block/checkbox-block.component.js +68 -54
  598. package/esm2015/components/checkbox-block/checkbox-block.module.js +26 -13
  599. package/esm2015/components/checkbox-block/index.js +1 -1
  600. package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +1 -1
  601. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +56 -49
  602. package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +15 -19
  603. package/esm2015/components/checkbox-labeled/index.js +1 -1
  604. package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +1 -1
  605. package/esm2015/components/combo-box/combo-box-strict.directive.js +22 -18
  606. package/esm2015/components/combo-box/combo-box.component.js +82 -56
  607. package/esm2015/components/combo-box/combo-box.directive.js +15 -19
  608. package/esm2015/components/combo-box/combo-box.module.js +48 -23
  609. package/esm2015/components/combo-box/index.js +1 -2
  610. package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +1 -1
  611. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +31 -29
  612. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +28 -27
  613. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +23 -21
  614. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +32 -17
  615. package/esm2015/components/data-list-wrapper/index.js +1 -1
  616. package/esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +1 -1
  617. package/esm2015/components/files/file/file.component.js +63 -49
  618. package/esm2015/components/files/files.component.js +33 -27
  619. package/esm2015/components/files/files.module.js +34 -13
  620. package/esm2015/components/files/index.js +1 -1
  621. package/esm2015/components/files/taiga-ui-kit-components-files.js +1 -1
  622. package/esm2015/components/filter/filter.component.js +54 -43
  623. package/esm2015/components/filter/filter.module.js +28 -13
  624. package/esm2015/components/filter/index.js +1 -1
  625. package/esm2015/components/filter/taiga-ui-kit-components-filter.js +1 -1
  626. package/esm2015/components/index.js +1 -3
  627. package/esm2015/components/input/index.js +1 -2
  628. package/esm2015/components/input/input.component.js +55 -50
  629. package/esm2015/components/input/input.directive.js +15 -19
  630. package/esm2015/components/input/input.module.js +24 -13
  631. package/esm2015/components/input/taiga-ui-kit-components-input.js +1 -1
  632. package/esm2015/components/input-copy/index.js +1 -2
  633. package/esm2015/components/input-copy/input-copy.component.js +69 -51
  634. package/esm2015/components/input-copy/input-copy.directive.js +15 -19
  635. package/esm2015/components/input-copy/input-copy.module.js +32 -14
  636. package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +1 -1
  637. package/esm2015/components/input-count/index.js +1 -1
  638. package/esm2015/components/input-count/input-count-options.js +3 -6
  639. package/esm2015/components/input-count/input-count.component.js +88 -77
  640. package/esm2015/components/input-count/input-count.directive.js +15 -19
  641. package/esm2015/components/input-count/input-count.module.js +30 -13
  642. package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +1 -1
  643. package/esm2015/components/input-date/index.js +1 -2
  644. package/esm2015/components/input-date/input-date.component.js +99 -67
  645. package/esm2015/components/input-date/input-date.directive.js +15 -19
  646. package/esm2015/components/input-date/input-date.module.js +40 -13
  647. package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +1 -1
  648. package/esm2015/components/input-date-range/index.js +1 -2
  649. package/esm2015/components/input-date-range/input-date-range.component.js +108 -75
  650. package/esm2015/components/input-date-range/input-date-range.directive.js +15 -19
  651. package/esm2015/components/input-date-range/input-date-range.module.js +44 -17
  652. package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +1 -1
  653. package/esm2015/components/input-date-time/index.js +1 -2
  654. package/esm2015/components/input-date-time/input-date-time.component.js +88 -60
  655. package/esm2015/components/input-date-time/input-date-time.directive.js +15 -19
  656. package/esm2015/components/input-date-time/input-date-time.module.js +44 -17
  657. package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +1 -1
  658. package/esm2015/components/input-files/index.js +1 -1
  659. package/esm2015/components/input-files/input-files.component.js +68 -63
  660. package/esm2015/components/input-files/input-files.module.js +56 -18
  661. package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +1 -1
  662. package/esm2015/components/input-inline/index.js +1 -1
  663. package/esm2015/components/input-inline/input-inline.component.js +45 -36
  664. package/esm2015/components/input-inline/input-inline.module.js +26 -13
  665. package/esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js +1 -1
  666. package/esm2015/components/input-month/index.js +1 -2
  667. package/esm2015/components/input-month/input-month.component.js +61 -40
  668. package/esm2015/components/input-month/input-month.directive.js +29 -30
  669. package/esm2015/components/input-month/input-month.module.js +34 -14
  670. package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +1 -1
  671. package/esm2015/components/input-month-range/index.js +1 -2
  672. package/esm2015/components/input-month-range/input-month-range.component.js +61 -40
  673. package/esm2015/components/input-month-range/input-month-range.directive.js +29 -30
  674. package/esm2015/components/input-month-range/input-month-range.module.js +42 -18
  675. package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +1 -1
  676. package/esm2015/components/input-number/index.js +1 -1
  677. package/esm2015/components/input-number/input-number.component.js +81 -70
  678. package/esm2015/components/input-number/input-number.directive.js +15 -19
  679. package/esm2015/components/input-number/input-number.module.js +30 -13
  680. package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +1 -1
  681. package/esm2015/components/input-password/index.js +1 -1
  682. package/esm2015/components/input-password/input-password-options.js +3 -6
  683. package/esm2015/components/input-password/input-password.component.js +68 -62
  684. package/esm2015/components/input-password/input-password.directive.js +15 -19
  685. package/esm2015/components/input-password/input-password.module.js +36 -17
  686. package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +1 -1
  687. package/esm2015/components/input-phone/index.js +1 -2
  688. package/esm2015/components/input-phone/input-phone.component.js +87 -59
  689. package/esm2015/components/input-phone/input-phone.directive.js +15 -19
  690. package/esm2015/components/input-phone/input-phone.module.js +28 -13
  691. package/esm2015/components/input-phone/input-phone.options.js +1 -1
  692. package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +1 -1
  693. package/esm2015/components/input-phone-international/const/mask-after-code-regexp.js +2 -0
  694. package/esm2015/components/input-phone-international/index.js +2 -3
  695. package/esm2015/components/input-phone-international/input-phone-international.component.js +77 -62
  696. package/esm2015/components/input-phone-international/input-phone-international.module.js +46 -13
  697. package/esm2015/components/input-phone-international/input-phone-international.options.js +1 -1
  698. package/esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +1 -1
  699. package/esm2015/components/input-phone-international/tokens/countries-masks.js +211 -3
  700. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +5 -11
  701. package/esm2015/components/input-range/index.js +1 -1
  702. package/esm2015/components/input-range/input-range.component.js +135 -118
  703. package/esm2015/components/input-range/input-range.module.js +35 -18
  704. package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +1 -1
  705. package/esm2015/components/input-slider/index.js +1 -1
  706. package/esm2015/components/input-slider/input-slider.component.js +90 -162
  707. package/esm2015/components/input-slider/input-slider.module.js +33 -23
  708. package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +1 -1
  709. package/esm2015/components/input-tag/index.js +1 -1
  710. package/esm2015/components/input-tag/input-tag-options.js +8 -1
  711. package/esm2015/components/input-tag/input-tag.component.js +161 -157
  712. package/esm2015/components/input-tag/input-tag.module.js +41 -14
  713. package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +1 -1
  714. package/esm2015/components/input-time/index.js +1 -1
  715. package/esm2015/components/input-time/input-time-options.js +2 -4
  716. package/esm2015/components/input-time/input-time.component.js +70 -57
  717. package/esm2015/components/input-time/input-time.module.js +30 -13
  718. package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +1 -1
  719. package/esm2015/components/island/index.js +1 -1
  720. package/esm2015/components/island/island.component.js +50 -39
  721. package/esm2015/components/island/island.module.js +15 -12
  722. package/esm2015/components/island/taiga-ui-kit-components-island.js +1 -1
  723. package/esm2015/components/line-clamp/index.js +2 -1
  724. package/esm2015/components/line-clamp/line-clamp-box.component.js +32 -0
  725. package/esm2015/components/line-clamp/line-clamp-options.js +1 -1
  726. package/esm2015/components/line-clamp/line-clamp-position.directive.js +26 -0
  727. package/esm2015/components/line-clamp/line-clamp.component.js +72 -47
  728. package/esm2015/components/line-clamp/line-clamp.module.js +34 -13
  729. package/esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js +1 -1
  730. package/esm2015/components/marker-icon/index.js +1 -1
  731. package/esm2015/components/marker-icon/marker-icon.component.js +37 -27
  732. package/esm2015/components/marker-icon/marker-icon.module.js +15 -12
  733. package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +1 -1
  734. package/esm2015/components/multi-select/hide-selected.pipe.js +22 -19
  735. package/esm2015/components/multi-select/index.js +1 -1
  736. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +41 -38
  737. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +61 -50
  738. package/esm2015/components/multi-select/multi-select-options.js +1 -1
  739. package/esm2015/components/multi-select/multi-select.component.js +101 -94
  740. package/esm2015/components/multi-select/multi-select.module.js +65 -26
  741. package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +1 -1
  742. package/esm2015/components/multi-select-option/index.js +1 -1
  743. package/esm2015/components/multi-select-option/multi-select-option.component.js +22 -18
  744. package/esm2015/components/multi-select-option/multi-select-option.module.js +16 -13
  745. package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +1 -1
  746. package/esm2015/components/pagination/index.js +1 -1
  747. package/esm2015/components/pagination/pagination.component.js +64 -60
  748. package/esm2015/components/pagination/pagination.module.js +30 -13
  749. package/esm2015/components/pagination/taiga-ui-kit-components-pagination.js +1 -1
  750. package/esm2015/components/pdf-viewer/index.js +2 -1
  751. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +2 -1
  752. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +38 -30
  753. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +25 -18
  754. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +17 -21
  755. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +11 -12
  756. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +1 -1
  757. package/esm2015/components/progress/index.js +1 -4
  758. package/esm2015/components/progress/progress-bar/progress-bar.component.js +25 -18
  759. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +39 -31
  760. package/esm2015/components/progress/progress-circle/progress-circle.component.js +48 -36
  761. package/esm2015/components/progress/progress-label/progress-label.component.js +15 -13
  762. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +31 -31
  763. package/esm2015/components/progress/progress.module.js +35 -30
  764. package/esm2015/components/progress/taiga-ui-kit-components-progress.js +1 -1
  765. package/esm2015/components/radio/index.js +1 -1
  766. package/esm2015/components/radio/radio-options.js +1 -1
  767. package/esm2015/components/radio/radio.component.js +72 -60
  768. package/esm2015/components/radio/radio.module.js +29 -16
  769. package/esm2015/components/radio/taiga-ui-kit-components-radio.js +1 -1
  770. package/esm2015/components/radio-block/index.js +1 -1
  771. package/esm2015/components/radio-block/radio-block.component.js +76 -61
  772. package/esm2015/components/radio-block/radio-block.module.js +15 -19
  773. package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +1 -1
  774. package/esm2015/components/radio-group/index.js +1 -1
  775. package/esm2015/components/radio-group/radio-group.component.js +17 -14
  776. package/esm2015/components/radio-group/radio-group.module.js +14 -11
  777. package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +1 -1
  778. package/esm2015/components/radio-labeled/index.js +1 -1
  779. package/esm2015/components/radio-labeled/radio-labeled.component.js +64 -56
  780. package/esm2015/components/radio-labeled/radio-labeled.module.js +27 -16
  781. package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +1 -1
  782. package/esm2015/components/radio-list/index.js +1 -1
  783. package/esm2015/components/radio-list/radio-list.component.js +65 -47
  784. package/esm2015/components/radio-list/radio-list.module.js +26 -13
  785. package/esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js +1 -1
  786. package/esm2015/components/range/index.js +1 -1
  787. package/esm2015/components/range/range-change.directive.js +39 -33
  788. package/esm2015/components/range/range.component.js +110 -155
  789. package/esm2015/components/range/range.module.js +17 -22
  790. package/esm2015/components/range/taiga-ui-kit-components-range.js +1 -1
  791. package/esm2015/components/rating/index.js +1 -1
  792. package/esm2015/components/rating/rating-options.js +1 -1
  793. package/esm2015/components/rating/rating.component.js +59 -44
  794. package/esm2015/components/rating/rating.module.js +26 -13
  795. package/esm2015/components/rating/taiga-ui-kit-components-rating.js +1 -1
  796. package/esm2015/components/select/index.js +1 -2
  797. package/esm2015/components/select/select-options.js +1 -1
  798. package/esm2015/components/select/select.component.js +76 -50
  799. package/esm2015/components/select/select.directive.js +15 -19
  800. package/esm2015/components/select/select.module.js +34 -14
  801. package/esm2015/components/select/taiga-ui-kit-components-select.js +1 -1
  802. package/esm2015/components/select-option/index.js +1 -1
  803. package/esm2015/components/select-option/select-option.component.js +40 -33
  804. package/esm2015/components/select-option/select-option.module.js +16 -13
  805. package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +1 -1
  806. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +51 -77
  807. package/esm2015/components/slider/helpers/slider-readonly.directive.js +37 -32
  808. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +22 -19
  809. package/esm2015/components/slider/index.js +1 -2
  810. package/esm2015/components/slider/slider-options.js +1 -1
  811. package/esm2015/components/slider/slider.component.js +75 -60
  812. package/esm2015/components/slider/slider.module.js +32 -37
  813. package/esm2015/components/slider/taiga-ui-kit-components-slider.js +1 -1
  814. package/esm2015/components/stepper/index.js +1 -1
  815. package/esm2015/components/stepper/step/step.component.js +62 -48
  816. package/esm2015/components/stepper/stepper.component.js +48 -34
  817. package/esm2015/components/stepper/stepper.module.js +15 -12
  818. package/esm2015/components/stepper/taiga-ui-kit-components-stepper.js +1 -1
  819. package/esm2015/components/tabs/index.js +1 -2
  820. package/esm2015/components/tabs/tab/tab.component.js +57 -61
  821. package/esm2015/components/tabs/tab/tab.providers.js +10 -12
  822. package/esm2015/components/tabs/tabs/tabs.component.js +81 -77
  823. package/esm2015/components/tabs/tabs-options.js +1 -1
  824. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +79 -59
  825. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +14 -18
  826. package/esm2015/components/tabs/tabs.module.js +46 -26
  827. package/esm2015/components/tabs/taiga-ui-kit-components-tabs.js +1 -1
  828. package/esm2015/components/tabs/underline/underline.component.js +49 -60
  829. package/esm2015/components/tag/index.js +1 -1
  830. package/esm2015/components/tag/tag-options.js +1 -1
  831. package/esm2015/components/tag/tag.component.js +103 -81
  832. package/esm2015/components/tag/tag.module.js +28 -13
  833. package/esm2015/components/tag/taiga-ui-kit-components-tag.js +1 -1
  834. package/esm2015/components/taiga-ui-kit-components.js +1 -1
  835. package/esm2015/components/text-area/index.js +1 -2
  836. package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +1 -1
  837. package/esm2015/components/text-area/text-area.component.js +105 -80
  838. package/esm2015/components/text-area/text-area.directive.js +15 -19
  839. package/esm2015/components/text-area/text-area.module.js +35 -15
  840. package/esm2015/components/toggle/index.js +1 -1
  841. package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +1 -1
  842. package/esm2015/components/toggle/toggle-options.js +1 -1
  843. package/esm2015/components/toggle/toggle.component.js +70 -57
  844. package/esm2015/components/toggle/toggle.module.js +37 -15
  845. package/esm2015/components/tree/components/tree/tree.component.js +51 -41
  846. package/esm2015/components/tree/components/tree-item/tree-item.component.js +41 -34
  847. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +2 -6
  848. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +26 -22
  849. package/esm2015/components/tree/directives/tree-children.directive.js +15 -12
  850. package/esm2015/components/tree/directives/tree-controller.directive.js +41 -28
  851. package/esm2015/components/tree/directives/tree-item-controller.directive.js +27 -18
  852. package/esm2015/components/tree/directives/tree-node.directive.js +24 -20
  853. package/esm2015/components/tree/index.js +2 -1
  854. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  855. package/esm2015/components/tree/misc/tree.interfaces.js +2 -1
  856. package/esm2015/components/tree/misc/tree.service.js +19 -19
  857. package/esm2015/components/tree/misc/tree.tokens.js +1 -1
  858. package/esm2015/components/tree/taiga-ui-kit-components-tree.js +1 -1
  859. package/esm2015/components/tree/tree.module.js +51 -28
  860. package/esm2015/constants/date-time-separator.js +1 -1
  861. package/esm2015/constants/empty-mask.js +1 -1
  862. package/esm2015/constants/group-class-names.js +1 -1
  863. package/esm2015/constants/icon-blank.js +1 -1
  864. package/esm2015/constants/index.js +1 -1
  865. package/esm2015/constants/masks.js +2 -27
  866. package/esm2015/constants/math.js +1 -1
  867. package/esm2015/constants/max-day-range-length-mapper.js +5 -4
  868. package/esm2015/constants/max-time-values.js +1 -1
  869. package/esm2015/constants/router-link-options.js +1 -1
  870. package/esm2015/constants/taiga-ui-kit-constants.js +1 -1
  871. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +100 -0
  872. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +16 -0
  873. package/esm2015/directives/data-list-dropdown-manager/index.js +3 -0
  874. package/esm2015/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.js +5 -0
  875. package/esm2015/directives/highlight/highlight.directive.js +41 -37
  876. package/esm2015/directives/highlight/highlight.module.js +14 -11
  877. package/esm2015/directives/highlight/index.js +1 -1
  878. package/esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js +1 -1
  879. package/esm2015/directives/index.js +2 -4
  880. package/esm2015/directives/lazy-loading/index.js +1 -1
  881. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +35 -32
  882. package/esm2015/directives/lazy-loading/lazy-loading.module.js +14 -11
  883. package/esm2015/directives/lazy-loading/lazy-loading.service.js +21 -18
  884. package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -1
  885. package/esm2015/directives/present/index.js +1 -1
  886. package/esm2015/directives/present/present.directive.js +33 -30
  887. package/esm2015/directives/present/present.module.js +14 -11
  888. package/esm2015/directives/present/taiga-ui-kit-directives-present.js +1 -1
  889. package/esm2015/directives/project-class/index.js +1 -1
  890. package/esm2015/directives/project-class/project-class.directive.js +20 -19
  891. package/esm2015/directives/project-class/project-class.module.js +14 -11
  892. package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +1 -1
  893. package/esm2015/directives/taiga-ui-kit-directives.js +1 -1
  894. package/esm2015/directives/unfinished-validator/index.js +1 -1
  895. package/esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +1 -1
  896. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +31 -24
  897. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +14 -11
  898. package/esm2015/directives/value-accessor/index.js +1 -1
  899. package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +1 -1
  900. package/esm2015/directives/value-accessor/value-accessor.directive.js +13 -11
  901. package/esm2015/directives/value-accessor/value-accessor.module.js +14 -11
  902. package/esm2015/index.js +3 -2
  903. package/esm2015/interfaces/file-like.js +2 -1
  904. package/esm2015/interfaces/index.js +4 -1
  905. package/esm2015/interfaces/mobile-calendar-data.js +2 -1
  906. package/esm2015/interfaces/month-context.js +2 -1
  907. package/esm2015/interfaces/taiga-ui-kit-interfaces.js +2 -1
  908. package/esm2015/internal/index.js +1 -1
  909. package/esm2015/internal/primitive-calendar-range/index.js +1 -1
  910. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +51 -38
  911. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +15 -12
  912. package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  913. package/esm2015/internal/taiga-ui-kit-internal.js +1 -1
  914. package/esm2015/pipes/field-error/field-error-content-pipe.js +17 -17
  915. package/esm2015/pipes/field-error/field-error-pipe.js +53 -36
  916. package/esm2015/pipes/field-error/field-error.module.js +14 -11
  917. package/esm2015/pipes/field-error/index.js +1 -1
  918. package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +1 -1
  919. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +16 -15
  920. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +9 -15
  921. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +14 -11
  922. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +16 -15
  923. package/esm2015/pipes/filter-by-input/index.js +1 -1
  924. package/esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +1 -1
  925. package/esm2015/pipes/index.js +1 -1
  926. package/esm2015/pipes/stringify/index.js +1 -1
  927. package/esm2015/pipes/stringify/stringify.module.js +14 -11
  928. package/esm2015/pipes/stringify/stringify.pipe.js +12 -10
  929. package/esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js +1 -1
  930. package/esm2015/pipes/stringify-content/index.js +1 -1
  931. package/esm2015/pipes/stringify-content/stringify-content.module.js +14 -11
  932. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +12 -10
  933. package/esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +1 -1
  934. package/esm2015/pipes/taiga-ui-kit-pipes.js +1 -1
  935. package/esm2015/providers/index.js +1 -1
  936. package/esm2015/providers/month-formatter.provider.js +8 -13
  937. package/esm2015/providers/specific-dropdown-controllers.js +6 -29
  938. package/esm2015/providers/taiga-ui-kit-providers.js +1 -1
  939. package/esm2015/providers/value-accessor.provider.js +2 -4
  940. package/esm2015/taiga-ui-kit.js +1 -1
  941. package/esm2015/tokens/calendar-date-stream.js +15 -0
  942. package/esm2015/tokens/date-inputs-value-transformers.js +1 -1
  943. package/esm2015/tokens/i18n.js +21 -21
  944. package/esm2015/tokens/index.js +2 -4
  945. package/esm2015/tokens/items-handlers.js +1 -1
  946. package/esm2015/tokens/mobile-calendar.js +1 -1
  947. package/esm2015/tokens/month-formatter.js +1 -1
  948. package/esm2015/tokens/tab-margin.js +1 -1
  949. package/esm2015/tokens/taiga-ui-kit-tokens.js +1 -1
  950. package/esm2015/tokens/validation-errors.js +1 -1
  951. package/esm2015/types/dropdown-position.js +2 -0
  952. package/esm2015/types/file-state.js +2 -0
  953. package/esm2015/types/handler-with-context.js +2 -1
  954. package/esm2015/types/index.js +9 -1
  955. package/esm2015/types/key-steps.js +2 -1
  956. package/esm2015/types/marker-icon-mode.js +2 -1
  957. package/esm2015/types/status.js +2 -1
  958. package/esm2015/types/step-state.js +2 -0
  959. package/esm2015/types/taiga-ui-kit-types.js +2 -1
  960. package/esm2015/types/time-format-parts.js +2 -1
  961. package/esm2015/utils/files/format-size.js +4 -9
  962. package/esm2015/utils/files/get-accept-array.js +2 -7
  963. package/esm2015/utils/files/index.js +1 -1
  964. package/esm2015/utils/files/taiga-ui-kit-utils-files.js +1 -1
  965. package/esm2015/utils/format/index.js +1 -1
  966. package/esm2015/utils/format/string-hash-to-hsl.js +2 -5
  967. package/esm2015/utils/format/taiga-ui-kit-utils-format.js +1 -1
  968. package/esm2015/utils/index.js +1 -2
  969. package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +3 -8
  970. package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +1 -1
  971. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +5 -5
  972. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +1 -1
  973. package/esm2015/utils/mask/create-date-mask.js +1 -1
  974. package/esm2015/utils/mask/create-date-range-mask.js +1 -1
  975. package/esm2015/utils/mask/create-time-mask.js +1 -1
  976. package/esm2015/utils/mask/index.js +1 -1
  977. package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +1 -1
  978. package/esm2015/utils/math/horizontal-direction-to-number.js +1 -1
  979. package/esm2015/utils/math/index.js +1 -1
  980. package/esm2015/utils/math/key-steps.js +3 -6
  981. package/esm2015/utils/math/taiga-ui-kit-utils-math.js +1 -1
  982. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +1 -1
  983. package/esm2015/utils/miscellaneous/create-time-periods.js +1 -1
  984. package/esm2015/utils/miscellaneous/get-precision.js +2 -5
  985. package/esm2015/utils/miscellaneous/index.js +1 -1
  986. package/esm2015/utils/miscellaneous/is-flat.js +2 -7
  987. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +4 -7
  988. package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +1 -1
  989. package/esm2015/utils/taiga-ui-kit-utils.js +1 -1
  990. package/esm2015/validators/index.js +1 -1
  991. package/esm2015/validators/taiga-ui-kit-validators.js +1 -1
  992. package/esm2015/validators/unfinished.validator.js +1 -1
  993. package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
  994. package/fesm2015/taiga-ui-kit-components-accordion.js +176 -126
  995. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  996. package/fesm2015/taiga-ui-kit-components-action.js +73 -55
  997. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  998. package/fesm2015/taiga-ui-kit-components-arrow.js +52 -38
  999. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  1000. package/fesm2015/taiga-ui-kit-components-avatar.js +61 -42
  1001. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  1002. package/fesm2015/taiga-ui-kit-components-badge.js +66 -46
  1003. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  1004. package/fesm2015/taiga-ui-kit-components-badged-content.js +66 -37
  1005. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  1006. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +54 -89
  1007. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  1008. package/fesm2015/taiga-ui-kit-components-calendar-month.js +85 -53
  1009. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  1010. package/fesm2015/taiga-ui-kit-components-calendar-range.js +95 -61
  1011. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  1012. package/fesm2015/taiga-ui-kit-components-carousel.js +212 -159
  1013. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  1014. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +90 -61
  1015. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  1016. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +67 -61
  1017. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  1018. package/fesm2015/taiga-ui-kit-components-checkbox.js +75 -54
  1019. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  1020. package/fesm2015/taiga-ui-kit-components-combo-box.js +156 -126
  1021. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  1022. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +101 -85
  1023. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  1024. package/fesm2015/taiga-ui-kit-components-files.js +122 -81
  1025. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  1026. package/fesm2015/taiga-ui-kit-components-filter.js +83 -55
  1027. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  1028. package/fesm2015/taiga-ui-kit-components-input-copy.js +110 -87
  1029. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  1030. package/fesm2015/taiga-ui-kit-components-input-count.js +130 -106
  1031. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  1032. package/fesm2015/taiga-ui-kit-components-input-date-range.js +162 -126
  1033. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  1034. package/fesm2015/taiga-ui-kit-components-input-date-time.js +143 -112
  1035. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  1036. package/fesm2015/taiga-ui-kit-components-input-date.js +148 -113
  1037. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  1038. package/fesm2015/taiga-ui-kit-components-input-files.js +122 -77
  1039. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  1040. package/fesm2015/taiga-ui-kit-components-input-inline.js +68 -44
  1041. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  1042. package/fesm2015/taiga-ui-kit-components-input-month-range.js +127 -94
  1043. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  1044. package/fesm2015/taiga-ui-kit-components-input-month.js +119 -90
  1045. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  1046. package/fesm2015/taiga-ui-kit-components-input-number.js +120 -93
  1047. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  1048. package/fesm2015/taiga-ui-kit-components-input-password.js +116 -95
  1049. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  1050. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +336 -547
  1051. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  1052. package/fesm2015/taiga-ui-kit-components-input-phone.js +124 -111
  1053. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  1054. package/fesm2015/taiga-ui-kit-components-input-range.js +166 -129
  1055. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  1056. package/fesm2015/taiga-ui-kit-components-input-slider.js +121 -178
  1057. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  1058. package/fesm2015/taiga-ui-kit-components-input-tag.js +208 -167
  1059. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  1060. package/fesm2015/taiga-ui-kit-components-input-time.js +100 -70
  1061. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  1062. package/fesm2015/taiga-ui-kit-components-input.js +87 -89
  1063. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  1064. package/fesm2015/taiga-ui-kit-components-island.js +63 -47
  1065. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  1066. package/fesm2015/taiga-ui-kit-components-line-clamp.js +150 -57
  1067. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  1068. package/fesm2015/taiga-ui-kit-components-marker-icon.js +51 -36
  1069. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  1070. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +35 -26
  1071. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  1072. package/fesm2015/taiga-ui-kit-components-multi-select.js +270 -209
  1073. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  1074. package/fesm2015/taiga-ui-kit-components-pagination.js +91 -68
  1075. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  1076. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +86 -71
  1077. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  1078. package/fesm2015/taiga-ui-kit-components-progress.js +179 -205
  1079. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  1080. package/fesm2015/taiga-ui-kit-components-radio-block.js +87 -73
  1081. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  1082. package/fesm2015/taiga-ui-kit-components-radio-group.js +29 -21
  1083. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  1084. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +86 -65
  1085. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  1086. package/fesm2015/taiga-ui-kit-components-radio-list.js +89 -56
  1087. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  1088. package/fesm2015/taiga-ui-kit-components-radio.js +97 -70
  1089. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  1090. package/fesm2015/taiga-ui-kit-components-range.js +159 -197
  1091. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  1092. package/fesm2015/taiga-ui-kit-components-rating.js +82 -52
  1093. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  1094. package/fesm2015/taiga-ui-kit-components-select-option.js +52 -40
  1095. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  1096. package/fesm2015/taiga-ui-kit-components-select.js +118 -96
  1097. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  1098. package/fesm2015/taiga-ui-kit-components-slider.js +204 -276
  1099. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  1100. package/fesm2015/taiga-ui-kit-components-stepper.js +119 -88
  1101. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  1102. package/fesm2015/taiga-ui-kit-components-tabs.js +327 -318
  1103. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  1104. package/fesm2015/taiga-ui-kit-components-tag.js +131 -92
  1105. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  1106. package/fesm2015/taiga-ui-kit-components-text-area.js +149 -118
  1107. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  1108. package/fesm2015/taiga-ui-kit-components-toggle.js +102 -65
  1109. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  1110. package/fesm2015/taiga-ui-kit-components-tree.js +287 -219
  1111. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  1112. package/fesm2015/taiga-ui-kit-components.js +0 -2
  1113. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  1114. package/fesm2015/taiga-ui-kit-constants.js +6 -30
  1115. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  1116. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +120 -0
  1117. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js.map +1 -0
  1118. package/fesm2015/taiga-ui-kit-directives-highlight.js +52 -43
  1119. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  1120. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +65 -54
  1121. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  1122. package/fesm2015/taiga-ui-kit-directives-present.js +44 -36
  1123. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  1124. package/fesm2015/taiga-ui-kit-directives-project-class.js +31 -25
  1125. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  1126. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +43 -31
  1127. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  1128. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +24 -17
  1129. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  1130. package/fesm2015/taiga-ui-kit-directives.js +1 -3
  1131. package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
  1132. package/fesm2015/taiga-ui-kit-interfaces.js.map +1 -1
  1133. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +63 -45
  1134. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  1135. package/fesm2015/taiga-ui-kit-internal.js.map +1 -1
  1136. package/fesm2015/taiga-ui-kit-pipes-field-error.js +78 -55
  1137. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  1138. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +52 -49
  1139. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1140. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +23 -16
  1141. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1142. package/fesm2015/taiga-ui-kit-pipes-stringify.js +23 -16
  1143. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1144. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  1145. package/fesm2015/taiga-ui-kit-providers.js +14 -43
  1146. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  1147. package/fesm2015/taiga-ui-kit-tokens.js +35 -33
  1148. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  1149. package/fesm2015/taiga-ui-kit-types.js.map +1 -1
  1150. package/fesm2015/taiga-ui-kit-utils-files.js +5 -15
  1151. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  1152. package/fesm2015/taiga-ui-kit-utils-format.js +2 -5
  1153. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  1154. package/fesm2015/taiga-ui-kit-utils-mask.js +6 -11
  1155. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  1156. package/fesm2015/taiga-ui-kit-utils-math.js +3 -6
  1157. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  1158. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +6 -17
  1159. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  1160. package/fesm2015/taiga-ui-kit-utils.js +0 -1
  1161. package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
  1162. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  1163. package/fesm2015/taiga-ui-kit.js +2 -1
  1164. package/fesm2015/taiga-ui-kit.js.map +1 -1
  1165. package/index.d.ts +0 -1
  1166. package/interfaces/index.d.ts +0 -2
  1167. package/interfaces/package.json +2 -5
  1168. package/interfaces/taiga-ui-kit-interfaces.d.ts +1 -0
  1169. package/internal/package.json +2 -5
  1170. package/internal/primitive-calendar-range/package.json +2 -5
  1171. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +3 -0
  1172. package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +7 -0
  1173. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +1 -0
  1174. package/internal/taiga-ui-kit-internal.d.ts +1 -0
  1175. package/package.json +11 -14
  1176. package/pipes/field-error/field-error-content-pipe.d.ts +3 -0
  1177. package/pipes/field-error/field-error-pipe.d.ts +3 -0
  1178. package/pipes/field-error/field-error.module.d.ts +6 -0
  1179. package/pipes/field-error/package.json +2 -5
  1180. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +1 -0
  1181. package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +3 -0
  1182. package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -7
  1183. package/pipes/filter-by-input/filter-by-input.module.d.ts +6 -0
  1184. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +3 -0
  1185. package/pipes/filter-by-input/package.json +2 -5
  1186. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +1 -0
  1187. package/pipes/package.json +2 -5
  1188. package/pipes/stringify/package.json +2 -5
  1189. package/pipes/stringify/stringify.module.d.ts +5 -0
  1190. package/pipes/stringify/stringify.pipe.d.ts +3 -0
  1191. package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +1 -0
  1192. package/pipes/stringify-content/package.json +2 -5
  1193. package/pipes/stringify-content/stringify-content.module.d.ts +5 -0
  1194. package/pipes/stringify-content/stringify-content.pipe.d.ts +3 -0
  1195. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +1 -0
  1196. package/pipes/taiga-ui-kit-pipes.d.ts +1 -0
  1197. package/providers/month-formatter.provider.d.ts +0 -7
  1198. package/providers/package.json +2 -5
  1199. package/providers/specific-dropdown-controllers.d.ts +1 -6
  1200. package/providers/taiga-ui-kit-providers.d.ts +1 -0
  1201. package/providers/value-accessor.provider.d.ts +0 -2
  1202. package/taiga-ui-kit.d.ts +1 -0
  1203. package/tokens/calendar-date-stream.d.ts +5 -0
  1204. package/tokens/index.d.ts +1 -3
  1205. package/tokens/package.json +2 -5
  1206. package/tokens/taiga-ui-kit-tokens.d.ts +1 -0
  1207. package/tokens/validation-errors.d.ts +1 -1
  1208. package/types/dropdown-position.d.ts +1 -0
  1209. package/types/file-state.d.ts +4 -0
  1210. package/types/index.d.ts +3 -0
  1211. package/types/key-steps.d.ts +8 -6
  1212. package/types/marker-icon-mode.d.ts +1 -1
  1213. package/types/package.json +2 -5
  1214. package/types/status.d.ts +1 -1
  1215. package/types/step-state.d.ts +1 -0
  1216. package/types/taiga-ui-kit-types.d.ts +1 -0
  1217. package/utils/files/format-size.d.ts +1 -5
  1218. package/utils/files/get-accept-array.d.ts +1 -5
  1219. package/utils/files/package.json +2 -5
  1220. package/utils/files/taiga-ui-kit-utils-files.d.ts +1 -0
  1221. package/utils/format/package.json +2 -5
  1222. package/utils/format/string-hash-to-hsl.d.ts +1 -3
  1223. package/utils/format/taiga-ui-kit-utils-format.d.ts +1 -0
  1224. package/utils/index.d.ts +0 -1
  1225. package/utils/mask/create-auto-corrected-date-pipe.d.ts +1 -5
  1226. package/utils/mask/package.json +2 -5
  1227. package/utils/mask/taiga-ui-kit-utils-mask.d.ts +1 -0
  1228. package/utils/math/key-steps.d.ts +0 -1
  1229. package/utils/math/package.json +2 -5
  1230. package/utils/math/taiga-ui-kit-utils-math.d.ts +1 -0
  1231. package/utils/miscellaneous/get-precision.d.ts +1 -3
  1232. package/utils/miscellaneous/is-flat.d.ts +1 -5
  1233. package/utils/miscellaneous/package.json +2 -5
  1234. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -4
  1235. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +1 -0
  1236. package/utils/package.json +2 -5
  1237. package/utils/taiga-ui-kit-utils.d.ts +1 -0
  1238. package/validators/package.json +2 -5
  1239. package/validators/taiga-ui-kit-validators.d.ts +1 -0
  1240. package/abstract/index.d.ts +0 -2
  1241. package/abstract/input-slider.d.ts +0 -77
  1242. package/abstract/package.json +0 -13
  1243. package/abstract/slider/slider.d.ts +0 -67
  1244. package/abstract/taiga-ui-kit-abstract.d.ts +0 -4
  1245. package/abstract/taiga-ui-kit-abstract.metadata.json +0 -1
  1246. package/bundles/taiga-ui-kit-abstract.umd.js +0 -750
  1247. package/bundles/taiga-ui-kit-abstract.umd.js.map +0 -1
  1248. package/bundles/taiga-ui-kit-abstract.umd.min.js +0 -2
  1249. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +0 -1
  1250. package/bundles/taiga-ui-kit-classes.umd.min.js +0 -2
  1251. package/bundles/taiga-ui-kit-classes.umd.min.js.map +0 -1
  1252. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +0 -2
  1253. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +0 -1
  1254. package/bundles/taiga-ui-kit-components-action.umd.min.js +0 -2
  1255. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +0 -1
  1256. package/bundles/taiga-ui-kit-components-arrow.umd.min.js +0 -2
  1257. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +0 -1
  1258. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +0 -2
  1259. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +0 -1
  1260. package/bundles/taiga-ui-kit-components-badge.umd.min.js +0 -2
  1261. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +0 -1
  1262. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +0 -2
  1263. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +0 -1
  1264. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +0 -2
  1265. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +0 -1
  1266. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +0 -2
  1267. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +0 -1
  1268. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +0 -2
  1269. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +0 -1
  1270. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +0 -2
  1271. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +0 -1
  1272. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +0 -2
  1273. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +0 -1
  1274. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +0 -2
  1275. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +0 -1
  1276. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +0 -2
  1277. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +0 -1
  1278. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +0 -2
  1279. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +0 -1
  1280. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +0 -2
  1281. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +0 -1
  1282. package/bundles/taiga-ui-kit-components-field-error.umd.js +0 -435
  1283. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +0 -1
  1284. package/bundles/taiga-ui-kit-components-field-error.umd.min.js +0 -2
  1285. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +0 -1
  1286. package/bundles/taiga-ui-kit-components-files.umd.min.js +0 -2
  1287. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +0 -1
  1288. package/bundles/taiga-ui-kit-components-filter.umd.min.js +0 -2
  1289. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +0 -1
  1290. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +0 -2
  1291. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +0 -1
  1292. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +0 -2
  1293. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +0 -1
  1294. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +0 -2
  1295. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +0 -1
  1296. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +0 -2
  1297. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +0 -1
  1298. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +0 -2
  1299. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +0 -1
  1300. package/bundles/taiga-ui-kit-components-input-file.umd.js +0 -779
  1301. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +0 -1
  1302. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +0 -2
  1303. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +0 -1
  1304. package/bundles/taiga-ui-kit-components-input-files.umd.min.js +0 -2
  1305. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +0 -1
  1306. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +0 -2
  1307. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +0 -1
  1308. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +0 -2
  1309. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +0 -1
  1310. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +0 -2
  1311. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +0 -1
  1312. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +0 -2
  1313. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +0 -1
  1314. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +0 -2
  1315. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +0 -1
  1316. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +0 -2
  1317. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +0 -1
  1318. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +0 -2
  1319. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +0 -1
  1320. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +0 -2
  1321. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +0 -1
  1322. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +0 -2
  1323. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +0 -1
  1324. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +0 -2
  1325. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +0 -1
  1326. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +0 -2
  1327. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +0 -1
  1328. package/bundles/taiga-ui-kit-components-input.umd.min.js +0 -2
  1329. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +0 -1
  1330. package/bundles/taiga-ui-kit-components-island.umd.min.js +0 -2
  1331. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +0 -1
  1332. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +0 -2
  1333. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +0 -1
  1334. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +0 -2
  1335. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +0 -1
  1336. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +0 -2
  1337. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +0 -1
  1338. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +0 -2
  1339. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +0 -1
  1340. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +0 -2
  1341. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +0 -1
  1342. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +0 -2
  1343. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +0 -1
  1344. package/bundles/taiga-ui-kit-components-progress.umd.min.js +0 -2
  1345. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +0 -1
  1346. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +0 -2
  1347. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +0 -1
  1348. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js +0 -2
  1349. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +0 -1
  1350. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +0 -2
  1351. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +0 -1
  1352. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +0 -2
  1353. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +0 -1
  1354. package/bundles/taiga-ui-kit-components-radio.umd.min.js +0 -2
  1355. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +0 -1
  1356. package/bundles/taiga-ui-kit-components-range.umd.min.js +0 -2
  1357. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +0 -1
  1358. package/bundles/taiga-ui-kit-components-rating.umd.min.js +0 -2
  1359. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +0 -1
  1360. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +0 -2
  1361. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +0 -1
  1362. package/bundles/taiga-ui-kit-components-select.umd.min.js +0 -2
  1363. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +0 -1
  1364. package/bundles/taiga-ui-kit-components-slider.umd.min.js +0 -2
  1365. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +0 -1
  1366. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +0 -2
  1367. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +0 -1
  1368. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +0 -2
  1369. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +0 -1
  1370. package/bundles/taiga-ui-kit-components-tag.umd.min.js +0 -2
  1371. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +0 -1
  1372. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +0 -2
  1373. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +0 -1
  1374. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +0 -2
  1375. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +0 -1
  1376. package/bundles/taiga-ui-kit-components-tree.umd.min.js +0 -2
  1377. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +0 -1
  1378. package/bundles/taiga-ui-kit-components.umd.min.js +0 -2
  1379. package/bundles/taiga-ui-kit-components.umd.min.js.map +0 -1
  1380. package/bundles/taiga-ui-kit-constants.umd.min.js +0 -2
  1381. package/bundles/taiga-ui-kit-constants.umd.min.js.map +0 -1
  1382. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +0 -408
  1383. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +0 -1
  1384. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +0 -2
  1385. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +0 -1
  1386. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +0 -323
  1387. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +0 -1
  1388. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js +0 -2
  1389. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +0 -1
  1390. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +0 -514
  1391. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +0 -1
  1392. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +0 -2
  1393. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +0 -1
  1394. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +0 -2
  1395. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +0 -1
  1396. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +0 -2
  1397. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +0 -1
  1398. package/bundles/taiga-ui-kit-directives-present.umd.min.js +0 -2
  1399. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +0 -1
  1400. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js +0 -2
  1401. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +0 -1
  1402. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js +0 -2
  1403. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +0 -1
  1404. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js +0 -2
  1405. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +0 -1
  1406. package/bundles/taiga-ui-kit-directives.umd.min.js +0 -2
  1407. package/bundles/taiga-ui-kit-directives.umd.min.js.map +0 -1
  1408. package/bundles/taiga-ui-kit-enums.umd.js +0 -88
  1409. package/bundles/taiga-ui-kit-enums.umd.js.map +0 -1
  1410. package/bundles/taiga-ui-kit-enums.umd.min.js +0 -2
  1411. package/bundles/taiga-ui-kit-enums.umd.min.js.map +0 -1
  1412. package/bundles/taiga-ui-kit-interfaces.umd.min.js +0 -2
  1413. package/bundles/taiga-ui-kit-interfaces.umd.min.js.map +0 -1
  1414. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +0 -2
  1415. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +0 -1
  1416. package/bundles/taiga-ui-kit-internal.umd.min.js +0 -2
  1417. package/bundles/taiga-ui-kit-internal.umd.min.js.map +0 -1
  1418. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +0 -2
  1419. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +0 -1
  1420. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +0 -2
  1421. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +0 -1
  1422. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js +0 -2
  1423. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +0 -1
  1424. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js +0 -2
  1425. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +0 -1
  1426. package/bundles/taiga-ui-kit-pipes.umd.min.js +0 -2
  1427. package/bundles/taiga-ui-kit-pipes.umd.min.js.map +0 -1
  1428. package/bundles/taiga-ui-kit-providers.umd.min.js +0 -2
  1429. package/bundles/taiga-ui-kit-providers.umd.min.js.map +0 -1
  1430. package/bundles/taiga-ui-kit-tokens.umd.min.js +0 -2
  1431. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +0 -1
  1432. package/bundles/taiga-ui-kit-types.umd.min.js +0 -2
  1433. package/bundles/taiga-ui-kit-types.umd.min.js.map +0 -1
  1434. package/bundles/taiga-ui-kit-utils-dom.umd.js +0 -122
  1435. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +0 -1
  1436. package/bundles/taiga-ui-kit-utils-dom.umd.min.js +0 -2
  1437. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +0 -1
  1438. package/bundles/taiga-ui-kit-utils-files.umd.min.js +0 -2
  1439. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +0 -1
  1440. package/bundles/taiga-ui-kit-utils-format.umd.min.js +0 -2
  1441. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +0 -1
  1442. package/bundles/taiga-ui-kit-utils-mask.umd.min.js +0 -2
  1443. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +0 -1
  1444. package/bundles/taiga-ui-kit-utils-math.umd.min.js +0 -2
  1445. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +0 -1
  1446. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +0 -2
  1447. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +0 -1
  1448. package/bundles/taiga-ui-kit-utils.umd.min.js +0 -2
  1449. package/bundles/taiga-ui-kit-utils.umd.min.js.map +0 -1
  1450. package/bundles/taiga-ui-kit-validators.umd.min.js +0 -2
  1451. package/bundles/taiga-ui-kit-validators.umd.min.js.map +0 -1
  1452. package/bundles/taiga-ui-kit.umd.min.js +0 -2
  1453. package/bundles/taiga-ui-kit.umd.min.js.map +0 -1
  1454. package/classes/taiga-ui-kit-classes.metadata.json +0 -1
  1455. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +0 -1
  1456. package/components/action/taiga-ui-kit-components-action.metadata.json +0 -1
  1457. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +0 -1
  1458. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +0 -1
  1459. package/components/badge/taiga-ui-kit-components-badge.metadata.json +0 -1
  1460. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +0 -1
  1461. package/components/breadcrumbs/breadcrumb.directive.d.ts +0 -2
  1462. package/components/breadcrumbs/breadcrumbs-wrapper.component.d.ts +0 -10
  1463. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +0 -1
  1464. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +0 -1
  1465. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +0 -1
  1466. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +0 -1
  1467. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +0 -1
  1468. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +0 -1
  1469. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +0 -1
  1470. package/components/combo-box/combo-box.providers.d.ts +0 -2
  1471. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +0 -1
  1472. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +0 -1
  1473. package/components/field-error/field-error.component.d.ts +0 -27
  1474. package/components/field-error/field-error.module.d.ts +0 -5
  1475. package/components/field-error/index.d.ts +0 -2
  1476. package/components/field-error/package.json +0 -13
  1477. package/components/field-error/taiga-ui-kit-components-field-error.d.ts +0 -4
  1478. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +0 -1
  1479. package/components/files/taiga-ui-kit-components-files.metadata.json +0 -1
  1480. package/components/filter/taiga-ui-kit-components-filter.metadata.json +0 -1
  1481. package/components/input/input.providers.d.ts +0 -1
  1482. package/components/input/taiga-ui-kit-components-input.metadata.json +0 -1
  1483. package/components/input-copy/input-copy.providers.d.ts +0 -2
  1484. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +0 -1
  1485. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +0 -1
  1486. package/components/input-date/input-date.providers.d.ts +0 -5
  1487. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +0 -1
  1488. package/components/input-date-range/input-date-range.providers.d.ts +0 -5
  1489. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +0 -1
  1490. package/components/input-date-time/input-date-time.providers.d.ts +0 -5
  1491. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +0 -1
  1492. package/components/input-file/file/file.component.d.ts +0 -37
  1493. package/components/input-file/index.d.ts +0 -3
  1494. package/components/input-file/input-file.component.d.ts +0 -54
  1495. package/components/input-file/input-file.module.d.ts +0 -2
  1496. package/components/input-file/package.json +0 -13
  1497. package/components/input-file/taiga-ui-kit-components-input-file.d.ts +0 -4
  1498. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +0 -1
  1499. package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +0 -1
  1500. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +0 -1
  1501. package/components/input-month/input-month.providers.d.ts +0 -2
  1502. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +0 -1
  1503. package/components/input-month-range/input-month-range.providers.d.ts +0 -2
  1504. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +0 -1
  1505. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +0 -1
  1506. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +0 -1
  1507. package/components/input-phone/input-phone.providers.d.ts +0 -5
  1508. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +0 -1
  1509. package/components/input-phone-international/const/countries.d.ts +0 -26
  1510. package/components/input-phone-international/country-iso-code.d.ts +0 -207
  1511. package/components/input-phone-international/interfaces/country.d.ts +0 -7
  1512. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +0 -1
  1513. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +0 -1
  1514. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +0 -1
  1515. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +0 -1
  1516. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +0 -1
  1517. package/components/island/taiga-ui-kit-components-island.metadata.json +0 -1
  1518. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +0 -1
  1519. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +0 -1
  1520. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +0 -1
  1521. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +0 -1
  1522. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +0 -1
  1523. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +0 -1
  1524. package/components/progress/taiga-ui-kit-components-progress.metadata.json +0 -1
  1525. package/components/progress/utils/abstract-color-segments.d.ts +0 -9
  1526. package/components/progress/utils/calculate-color-segments.d.ts +0 -1
  1527. package/components/progress/utils/progress-color-segments-async.pipe.d.ts +0 -10
  1528. package/components/progress/utils/progress-color-segments.pipe.d.ts +0 -9
  1529. package/components/radio/taiga-ui-kit-components-radio.metadata.json +0 -1
  1530. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +0 -1
  1531. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +0 -1
  1532. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +0 -1
  1533. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +0 -1
  1534. package/components/range/taiga-ui-kit-components-range.metadata.json +0 -1
  1535. package/components/rating/taiga-ui-kit-components-rating.metadata.json +0 -1
  1536. package/components/select/select.providers.d.ts +0 -2
  1537. package/components/select/taiga-ui-kit-components-select.metadata.json +0 -1
  1538. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +0 -1
  1539. package/components/slider/slider-old.component.d.ts +0 -21
  1540. package/components/slider/taiga-ui-kit-components-slider.metadata.json +0 -1
  1541. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +0 -1
  1542. package/components/tabs/tab.directive.d.ts +0 -5
  1543. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +0 -1
  1544. package/components/tag/taiga-ui-kit-components-tag.metadata.json +0 -1
  1545. package/components/taiga-ui-kit-components.metadata.json +0 -1
  1546. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +0 -1
  1547. package/components/text-area/text-area.providers.d.ts +0 -2
  1548. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +0 -1
  1549. package/components/tree/taiga-ui-kit-components-tree.metadata.json +0 -1
  1550. package/constants/taiga-ui-kit-constants.metadata.json +0 -1
  1551. package/directives/dropdown-context/dropdown-context.directive.d.ts +0 -27
  1552. package/directives/dropdown-context/dropdown-context.module.d.ts +0 -2
  1553. package/directives/dropdown-context/index.d.ts +0 -2
  1554. package/directives/dropdown-context/package.json +0 -13
  1555. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.d.ts +0 -4
  1556. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +0 -1
  1557. package/directives/dropdown-hover/dropdown-hover.directive.d.ts +0 -8
  1558. package/directives/dropdown-hover/dropdown-hover.module.d.ts +0 -2
  1559. package/directives/dropdown-hover/index.d.ts +0 -2
  1560. package/directives/dropdown-hover/package.json +0 -13
  1561. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.d.ts +0 -4
  1562. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +0 -1
  1563. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +0 -43
  1564. package/directives/dropdown-selection/dropdown-selection.module.d.ts +0 -2
  1565. package/directives/dropdown-selection/index.d.ts +0 -2
  1566. package/directives/dropdown-selection/package.json +0 -13
  1567. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.d.ts +0 -4
  1568. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +0 -1
  1569. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +0 -1
  1570. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +0 -1
  1571. package/directives/present/taiga-ui-kit-directives-present.metadata.json +0 -1
  1572. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +0 -1
  1573. package/directives/taiga-ui-kit-directives.metadata.json +0 -1
  1574. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +0 -1
  1575. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +0 -1
  1576. package/enums/borders.d.ts +0 -7
  1577. package/enums/dropdown-position.d.ts +0 -9
  1578. package/enums/file-state.d.ts +0 -10
  1579. package/enums/index.d.ts +0 -7
  1580. package/enums/marker-icon-mode.d.ts +0 -13
  1581. package/enums/package.json +0 -13
  1582. package/enums/status.d.ts +0 -11
  1583. package/enums/step-state.d.ts +0 -9
  1584. package/enums/taiga-ui-kit-enums.d.ts +0 -4
  1585. package/enums/taiga-ui-kit-enums.metadata.json +0 -1
  1586. package/enums/text-align.d.ts +0 -8
  1587. package/esm2015/abstract/index.js +0 -3
  1588. package/esm2015/abstract/input-slider.js +0 -171
  1589. package/esm2015/abstract/slider/slider.js +0 -262
  1590. package/esm2015/abstract/taiga-ui-kit-abstract.js +0 -5
  1591. package/esm2015/components/breadcrumbs/breadcrumb.directive.js +0 -11
  1592. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -40
  1593. package/esm2015/components/combo-box/combo-box.providers.js +0 -28
  1594. package/esm2015/components/field-error/field-error.component.js +0 -132
  1595. package/esm2015/components/field-error/field-error.module.js +0 -20
  1596. package/esm2015/components/field-error/index.js +0 -3
  1597. package/esm2015/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1598. package/esm2015/components/input/input.providers.js +0 -22
  1599. package/esm2015/components/input-copy/input-copy.providers.js +0 -16
  1600. package/esm2015/components/input-date/input-date.providers.js +0 -29
  1601. package/esm2015/components/input-date-range/input-date-range.providers.js +0 -29
  1602. package/esm2015/components/input-date-time/input-date-time.providers.js +0 -29
  1603. package/esm2015/components/input-file/file/file.component.js +0 -149
  1604. package/esm2015/components/input-file/index.js +0 -4
  1605. package/esm2015/components/input-file/input-file.component.js +0 -264
  1606. package/esm2015/components/input-file/input-file.module.js +0 -36
  1607. package/esm2015/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1608. package/esm2015/components/input-month/input-month.providers.js +0 -19
  1609. package/esm2015/components/input-month-range/input-month-range.providers.js +0 -19
  1610. package/esm2015/components/input-phone/input-phone.providers.js +0 -35
  1611. package/esm2015/components/input-phone-international/const/countries.js +0 -257
  1612. package/esm2015/components/input-phone-international/country-iso-code.js +0 -209
  1613. package/esm2015/components/input-phone-international/interfaces/country.js +0 -1
  1614. package/esm2015/components/progress/utils/abstract-color-segments.js +0 -32
  1615. package/esm2015/components/progress/utils/calculate-color-segments.js +0 -11
  1616. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +0 -21
  1617. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +0 -19
  1618. package/esm2015/components/select/select.providers.js +0 -28
  1619. package/esm2015/components/slider/slider-old.component.js +0 -77
  1620. package/esm2015/components/tabs/tab.directive.js +0 -18
  1621. package/esm2015/components/text-area/text-area.providers.js +0 -18
  1622. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +0 -125
  1623. package/esm2015/directives/dropdown-context/dropdown-context.module.js +0 -15
  1624. package/esm2015/directives/dropdown-context/index.js +0 -3
  1625. package/esm2015/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
  1626. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +0 -50
  1627. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +0 -13
  1628. package/esm2015/directives/dropdown-hover/index.js +0 -3
  1629. package/esm2015/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
  1630. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +0 -231
  1631. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +0 -15
  1632. package/esm2015/directives/dropdown-selection/index.js +0 -3
  1633. package/esm2015/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
  1634. package/esm2015/enums/borders.js +0 -9
  1635. package/esm2015/enums/dropdown-position.js +0 -10
  1636. package/esm2015/enums/file-state.js +0 -11
  1637. package/esm2015/enums/index.js +0 -8
  1638. package/esm2015/enums/marker-icon-mode.js +0 -15
  1639. package/esm2015/enums/status.js +0 -13
  1640. package/esm2015/enums/step-state.js +0 -10
  1641. package/esm2015/enums/taiga-ui-kit-enums.js +0 -5
  1642. package/esm2015/enums/text-align.js +0 -10
  1643. package/esm2015/interfaces/bread-crumbs-item.js +0 -1
  1644. package/esm2015/interfaces/with-date-mask-pipe-config.js +0 -1
  1645. package/esm2015/tokens/calendar-data-stream.js +0 -3
  1646. package/esm2015/tokens/mobile-aware.js +0 -6
  1647. package/esm2015/tokens/tag-status.js +0 -6
  1648. package/esm2015/utils/dom/get-word-range.js +0 -53
  1649. package/esm2015/utils/dom/index.js +0 -4
  1650. package/esm2015/utils/dom/scroll-to-element.js +0 -23
  1651. package/esm2015/utils/dom/set-range-offset.js +0 -29
  1652. package/esm2015/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
  1653. package/esm5/abstract/index.js +0 -3
  1654. package/esm5/abstract/input-slider.js +0 -202
  1655. package/esm5/abstract/slider/slider.js +0 -298
  1656. package/esm5/abstract/taiga-ui-kit-abstract.js +0 -5
  1657. package/esm5/classes/day-range-period.js +0 -12
  1658. package/esm5/classes/index.js +0 -4
  1659. package/esm5/classes/named-day.js +0 -14
  1660. package/esm5/classes/stringifiable-item.js +0 -15
  1661. package/esm5/classes/taiga-ui-kit-classes.js +0 -5
  1662. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +0 -24
  1663. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +0 -14
  1664. package/esm5/components/accordion/accordion-item/accordion-item.component.js +0 -160
  1665. package/esm5/components/accordion/accordion.component.js +0 -62
  1666. package/esm5/components/accordion/accordion.module.js +0 -44
  1667. package/esm5/components/accordion/index.js +0 -6
  1668. package/esm5/components/accordion/taiga-ui-kit-components-accordion.js +0 -5
  1669. package/esm5/components/action/action.component.js +0 -89
  1670. package/esm5/components/action/action.module.js +0 -27
  1671. package/esm5/components/action/index.js +0 -3
  1672. package/esm5/components/action/taiga-ui-kit-components-action.js +0 -5
  1673. package/esm5/components/arrow/arrow-options.js +0 -29
  1674. package/esm5/components/arrow/arrow.component.js +0 -41
  1675. package/esm5/components/arrow/arrow.module.js +0 -21
  1676. package/esm5/components/arrow/index.js +0 -4
  1677. package/esm5/components/arrow/taiga-ui-kit-components-arrow.js +0 -5
  1678. package/esm5/components/avatar/avatar-options.js +0 -16
  1679. package/esm5/components/avatar/avatar.component.js +0 -98
  1680. package/esm5/components/avatar/avatar.module.js +0 -19
  1681. package/esm5/components/avatar/index.js +0 -4
  1682. package/esm5/components/avatar/taiga-ui-kit-components-avatar.js +0 -5
  1683. package/esm5/components/badge/badge.component.js +0 -87
  1684. package/esm5/components/badge/badge.module.js +0 -18
  1685. package/esm5/components/badge/index.js +0 -3
  1686. package/esm5/components/badge/taiga-ui-kit-components-badge.js +0 -5
  1687. package/esm5/components/badged-content/badged-content.component.js +0 -106
  1688. package/esm5/components/badged-content/badged-content.module.js +0 -21
  1689. package/esm5/components/badged-content/index.js +0 -3
  1690. package/esm5/components/badged-content/taiga-ui-kit-components-badged-content.js +0 -5
  1691. package/esm5/components/breadcrumbs/breadcrumb.directive.js +0 -14
  1692. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -42
  1693. package/esm5/components/breadcrumbs/breadcrumbs.component.js +0 -35
  1694. package/esm5/components/breadcrumbs/breadcrumbs.module.js +0 -39
  1695. package/esm5/components/breadcrumbs/index.js +0 -5
  1696. package/esm5/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +0 -5
  1697. package/esm5/components/calendar-month/calendar-month.component.js +0 -213
  1698. package/esm5/components/calendar-month/calendar-month.module.js +0 -30
  1699. package/esm5/components/calendar-month/index.js +0 -3
  1700. package/esm5/components/calendar-month/taiga-ui-kit-components-calendar-month.js +0 -5
  1701. package/esm5/components/calendar-range/calendar-range.component.js +0 -181
  1702. package/esm5/components/calendar-range/calendar-range.module.js +0 -30
  1703. package/esm5/components/calendar-range/index.js +0 -3
  1704. package/esm5/components/calendar-range/taiga-ui-kit-components-calendar-range.js +0 -5
  1705. package/esm5/components/carousel/carousel-autoscroll.directive.js +0 -22
  1706. package/esm5/components/carousel/carousel-buttons.directive.js +0 -27
  1707. package/esm5/components/carousel/carousel-scroll.directive.js +0 -35
  1708. package/esm5/components/carousel/carousel.component.js +0 -158
  1709. package/esm5/components/carousel/carousel.directive.js +0 -45
  1710. package/esm5/components/carousel/carousel.module.js +0 -41
  1711. package/esm5/components/carousel/index.js +0 -7
  1712. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +0 -5
  1713. package/esm5/components/checkbox/checkbox.component.js +0 -89
  1714. package/esm5/components/checkbox/checkbox.module.js +0 -29
  1715. package/esm5/components/checkbox/index.js +0 -3
  1716. package/esm5/components/checkbox/taiga-ui-kit-components-checkbox.js +0 -5
  1717. package/esm5/components/checkbox-block/checkbox-block.component.js +0 -123
  1718. package/esm5/components/checkbox-block/checkbox-block.module.js +0 -27
  1719. package/esm5/components/checkbox-block/index.js +0 -3
  1720. package/esm5/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +0 -5
  1721. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +0 -89
  1722. package/esm5/components/checkbox-labeled/checkbox-labeled.module.js +0 -27
  1723. package/esm5/components/checkbox-labeled/index.js +0 -3
  1724. package/esm5/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +0 -5
  1725. package/esm5/components/combo-box/combo-box-strict.directive.js +0 -34
  1726. package/esm5/components/combo-box/combo-box.component.js +0 -212
  1727. package/esm5/components/combo-box/combo-box.directive.js +0 -35
  1728. package/esm5/components/combo-box/combo-box.module.js +0 -42
  1729. package/esm5/components/combo-box/combo-box.providers.js +0 -28
  1730. package/esm5/components/combo-box/index.js +0 -6
  1731. package/esm5/components/combo-box/taiga-ui-kit-components-combo-box.js +0 -5
  1732. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +0 -46
  1733. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +0 -41
  1734. package/esm5/components/data-list-wrapper/data-list-wrapper.js +0 -64
  1735. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +0 -32
  1736. package/esm5/components/data-list-wrapper/index.js +0 -5
  1737. package/esm5/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +0 -5
  1738. package/esm5/components/field-error/field-error.component.js +0 -165
  1739. package/esm5/components/field-error/field-error.module.js +0 -23
  1740. package/esm5/components/field-error/index.js +0 -3
  1741. package/esm5/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1742. package/esm5/components/files/file/file.component.js +0 -213
  1743. package/esm5/components/files/files.component.js +0 -50
  1744. package/esm5/components/files/files.module.js +0 -32
  1745. package/esm5/components/files/index.js +0 -4
  1746. package/esm5/components/files/taiga-ui-kit-components-files.js +0 -5
  1747. package/esm5/components/filter/filter.component.js +0 -97
  1748. package/esm5/components/filter/filter.module.js +0 -30
  1749. package/esm5/components/filter/index.js +0 -3
  1750. package/esm5/components/filter/taiga-ui-kit-components-filter.js +0 -5
  1751. package/esm5/components/index.js +0 -62
  1752. package/esm5/components/input/index.js +0 -5
  1753. package/esm5/components/input/input.component.js +0 -108
  1754. package/esm5/components/input/input.directive.js +0 -28
  1755. package/esm5/components/input/input.module.js +0 -26
  1756. package/esm5/components/input/input.providers.js +0 -22
  1757. package/esm5/components/input/taiga-ui-kit-components-input.js +0 -5
  1758. package/esm5/components/input-copy/index.js +0 -5
  1759. package/esm5/components/input-copy/input-copy.component.js +0 -137
  1760. package/esm5/components/input-copy/input-copy.directive.js +0 -28
  1761. package/esm5/components/input-copy/input-copy.module.js +0 -28
  1762. package/esm5/components/input-copy/input-copy.providers.js +0 -16
  1763. package/esm5/components/input-copy/taiga-ui-kit-components-input-copy.js +0 -5
  1764. package/esm5/components/input-count/index.js +0 -5
  1765. package/esm5/components/input-count/input-count-options.js +0 -26
  1766. package/esm5/components/input-count/input-count.component.js +0 -295
  1767. package/esm5/components/input-count/input-count.directive.js +0 -32
  1768. package/esm5/components/input-count/input-count.module.js +0 -31
  1769. package/esm5/components/input-count/taiga-ui-kit-components-input-count.js +0 -5
  1770. package/esm5/components/input-date/index.js +0 -5
  1771. package/esm5/components/input-date/input-date.component.js +0 -271
  1772. package/esm5/components/input-date/input-date.directive.js +0 -38
  1773. package/esm5/components/input-date/input-date.module.js +0 -37
  1774. package/esm5/components/input-date/input-date.providers.js +0 -31
  1775. package/esm5/components/input-date/taiga-ui-kit-components-input-date.js +0 -5
  1776. package/esm5/components/input-date-range/index.js +0 -5
  1777. package/esm5/components/input-date-range/input-date-range.component.js +0 -354
  1778. package/esm5/components/input-date-range/input-date-range.directive.js +0 -38
  1779. package/esm5/components/input-date-range/input-date-range.module.js +0 -41
  1780. package/esm5/components/input-date-range/input-date-range.providers.js +0 -31
  1781. package/esm5/components/input-date-range/taiga-ui-kit-components-input-date-range.js +0 -5
  1782. package/esm5/components/input-date-time/index.js +0 -5
  1783. package/esm5/components/input-date-time/input-date-time.component.js +0 -304
  1784. package/esm5/components/input-date-time/input-date-time.directive.js +0 -38
  1785. package/esm5/components/input-date-time/input-date-time.module.js +0 -40
  1786. package/esm5/components/input-date-time/input-date-time.providers.js +0 -31
  1787. package/esm5/components/input-date-time/taiga-ui-kit-components-input-date-time.js +0 -5
  1788. package/esm5/components/input-file/file/file.component.js +0 -194
  1789. package/esm5/components/input-file/index.js +0 -4
  1790. package/esm5/components/input-file/input-file.component.js +0 -311
  1791. package/esm5/components/input-file/input-file.module.js +0 -39
  1792. package/esm5/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1793. package/esm5/components/input-files/index.js +0 -3
  1794. package/esm5/components/input-files/input-files.component.js +0 -247
  1795. package/esm5/components/input-files/input-files.module.js +0 -44
  1796. package/esm5/components/input-files/taiga-ui-kit-components-input-files.js +0 -5
  1797. package/esm5/components/input-inline/index.js +0 -3
  1798. package/esm5/components/input-inline/input-inline.component.js +0 -78
  1799. package/esm5/components/input-inline/input-inline.module.js +0 -27
  1800. package/esm5/components/input-inline/taiga-ui-kit-components-input-inline.js +0 -5
  1801. package/esm5/components/input-month/index.js +0 -5
  1802. package/esm5/components/input-month/input-month.component.js +0 -117
  1803. package/esm5/components/input-month/input-month.directive.js +0 -67
  1804. package/esm5/components/input-month/input-month.module.js +0 -30
  1805. package/esm5/components/input-month/input-month.providers.js +0 -19
  1806. package/esm5/components/input-month/taiga-ui-kit-components-input-month.js +0 -5
  1807. package/esm5/components/input-month-range/index.js +0 -5
  1808. package/esm5/components/input-month-range/input-month-range.component.js +0 -125
  1809. package/esm5/components/input-month-range/input-month-range.directive.js +0 -74
  1810. package/esm5/components/input-month-range/input-month-range.module.js +0 -35
  1811. package/esm5/components/input-month-range/input-month-range.providers.js +0 -19
  1812. package/esm5/components/input-month-range/taiga-ui-kit-components-input-month-range.js +0 -5
  1813. package/esm5/components/input-number/index.js +0 -4
  1814. package/esm5/components/input-number/input-number.component.js +0 -294
  1815. package/esm5/components/input-number/input-number.directive.js +0 -45
  1816. package/esm5/components/input-number/input-number.module.js +0 -32
  1817. package/esm5/components/input-number/taiga-ui-kit-components-input-number.js +0 -5
  1818. package/esm5/components/input-password/index.js +0 -5
  1819. package/esm5/components/input-password/input-password-options.js +0 -26
  1820. package/esm5/components/input-password/input-password.component.js +0 -137
  1821. package/esm5/components/input-password/input-password.directive.js +0 -36
  1822. package/esm5/components/input-password/input-password.module.js +0 -34
  1823. package/esm5/components/input-password/taiga-ui-kit-components-input-password.js +0 -5
  1824. package/esm5/components/input-phone/index.js +0 -6
  1825. package/esm5/components/input-phone/input-phone.component.js +0 -300
  1826. package/esm5/components/input-phone/input-phone.directive.js +0 -45
  1827. package/esm5/components/input-phone/input-phone.module.js +0 -29
  1828. package/esm5/components/input-phone/input-phone.options.js +0 -15
  1829. package/esm5/components/input-phone/input-phone.providers.js +0 -35
  1830. package/esm5/components/input-phone/taiga-ui-kit-components-input-phone.js +0 -5
  1831. package/esm5/components/input-phone-international/const/countries.js +0 -260
  1832. package/esm5/components/input-phone-international/country-iso-code.js +0 -209
  1833. package/esm5/components/input-phone-international/index.js +0 -8
  1834. package/esm5/components/input-phone-international/input-phone-international.component.js +0 -215
  1835. package/esm5/components/input-phone-international/input-phone-international.module.js +0 -40
  1836. package/esm5/components/input-phone-international/input-phone-international.options.js +0 -15
  1837. package/esm5/components/input-phone-international/interfaces/country.js +0 -1
  1838. package/esm5/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +0 -5
  1839. package/esm5/components/input-phone-international/tokens/countries-masks.js +0 -6
  1840. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +0 -14
  1841. package/esm5/components/input-range/index.js +0 -3
  1842. package/esm5/components/input-range/input-range.component.js +0 -316
  1843. package/esm5/components/input-range/input-range.module.js +0 -35
  1844. package/esm5/components/input-range/taiga-ui-kit-components-input-range.js +0 -5
  1845. package/esm5/components/input-slider/index.js +0 -3
  1846. package/esm5/components/input-slider/input-slider.component.js +0 -306
  1847. package/esm5/components/input-slider/input-slider.module.js +0 -35
  1848. package/esm5/components/input-slider/taiga-ui-kit-components-input-slider.js +0 -5
  1849. package/esm5/components/input-tag/index.js +0 -4
  1850. package/esm5/components/input-tag/input-tag-options.js +0 -9
  1851. package/esm5/components/input-tag/input-tag.component.js +0 -521
  1852. package/esm5/components/input-tag/input-tag.module.js +0 -37
  1853. package/esm5/components/input-tag/taiga-ui-kit-components-input-tag.js +0 -5
  1854. package/esm5/components/input-time/index.js +0 -4
  1855. package/esm5/components/input-time/input-time-options.js +0 -23
  1856. package/esm5/components/input-time/input-time.component.js +0 -303
  1857. package/esm5/components/input-time/input-time.module.js +0 -29
  1858. package/esm5/components/input-time/taiga-ui-kit-components-input-time.js +0 -5
  1859. package/esm5/components/island/index.js +0 -3
  1860. package/esm5/components/island/island.component.js +0 -103
  1861. package/esm5/components/island/island.module.js +0 -18
  1862. package/esm5/components/island/taiga-ui-kit-components-island.js +0 -5
  1863. package/esm5/components/line-clamp/index.js +0 -4
  1864. package/esm5/components/line-clamp/line-clamp-options.js +0 -13
  1865. package/esm5/components/line-clamp/line-clamp.component.js +0 -148
  1866. package/esm5/components/line-clamp/line-clamp.module.js +0 -27
  1867. package/esm5/components/line-clamp/taiga-ui-kit-components-line-clamp.js +0 -5
  1868. package/esm5/components/marker-icon/index.js +0 -3
  1869. package/esm5/components/marker-icon/marker-icon.component.js +0 -46
  1870. package/esm5/components/marker-icon/marker-icon.module.js +0 -19
  1871. package/esm5/components/marker-icon/taiga-ui-kit-components-marker-icon.js +0 -5
  1872. package/esm5/components/multi-select/hide-selected.pipe.js +0 -45
  1873. package/esm5/components/multi-select/index.js +0 -7
  1874. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +0 -173
  1875. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +0 -60
  1876. package/esm5/components/multi-select/multi-select-options.js +0 -14
  1877. package/esm5/components/multi-select/multi-select.component.js +0 -306
  1878. package/esm5/components/multi-select/multi-select.module.js +0 -54
  1879. package/esm5/components/multi-select/taiga-ui-kit-components-multi-select.js +0 -5
  1880. package/esm5/components/multi-select-option/index.js +0 -3
  1881. package/esm5/components/multi-select-option/multi-select-option.component.js +0 -39
  1882. package/esm5/components/multi-select-option/multi-select-option.module.js +0 -20
  1883. package/esm5/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +0 -5
  1884. package/esm5/components/pagination/index.js +0 -3
  1885. package/esm5/components/pagination/pagination.component.js +0 -320
  1886. package/esm5/components/pagination/pagination.module.js +0 -29
  1887. package/esm5/components/pagination/taiga-ui-kit-components-pagination.js +0 -5
  1888. package/esm5/components/pdf-viewer/index.js +0 -5
  1889. package/esm5/components/pdf-viewer/pdf-viewer-options.js +0 -1
  1890. package/esm5/components/pdf-viewer/pdf-viewer.component.js +0 -43
  1891. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +0 -26
  1892. package/esm5/components/pdf-viewer/pdf-viewer.module.js +0 -31
  1893. package/esm5/components/pdf-viewer/pdf-viewer.service.js +0 -31
  1894. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +0 -5
  1895. package/esm5/components/progress/index.js +0 -10
  1896. package/esm5/components/progress/progress-bar/progress-bar.component.js +0 -28
  1897. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +0 -56
  1898. package/esm5/components/progress/progress-circle/progress-circle.component.js +0 -78
  1899. package/esm5/components/progress/progress-label/progress-label.component.js +0 -17
  1900. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +0 -52
  1901. package/esm5/components/progress/progress.module.js +0 -41
  1902. package/esm5/components/progress/taiga-ui-kit-components-progress.js +0 -5
  1903. package/esm5/components/progress/utils/abstract-color-segments.js +0 -33
  1904. package/esm5/components/progress/utils/calculate-color-segments.js +0 -13
  1905. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +0 -27
  1906. package/esm5/components/progress/utils/progress-color-segments.pipe.js +0 -24
  1907. package/esm5/components/radio/index.js +0 -4
  1908. package/esm5/components/radio/radio-options.js +0 -18
  1909. package/esm5/components/radio/radio.component.js +0 -165
  1910. package/esm5/components/radio/radio.module.js +0 -29
  1911. package/esm5/components/radio/taiga-ui-kit-components-radio.js +0 -5
  1912. package/esm5/components/radio-block/index.js +0 -3
  1913. package/esm5/components/radio-block/radio-block.component.js +0 -146
  1914. package/esm5/components/radio-block/radio-block.module.js +0 -27
  1915. package/esm5/components/radio-block/taiga-ui-kit-components-radio-block.js +0 -5
  1916. package/esm5/components/radio-group/index.js +0 -3
  1917. package/esm5/components/radio-group/radio-group.component.js +0 -25
  1918. package/esm5/components/radio-group/radio-group.module.js +0 -16
  1919. package/esm5/components/radio-group/taiga-ui-kit-components-radio-group.js +0 -5
  1920. package/esm5/components/radio-labeled/index.js +0 -3
  1921. package/esm5/components/radio-labeled/radio-labeled.component.js +0 -112
  1922. package/esm5/components/radio-labeled/radio-labeled.module.js +0 -29
  1923. package/esm5/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +0 -5
  1924. package/esm5/components/radio-list/index.js +0 -3
  1925. package/esm5/components/radio-list/radio-list.component.js +0 -114
  1926. package/esm5/components/radio-list/radio-list.module.js +0 -28
  1927. package/esm5/components/radio-list/taiga-ui-kit-components-radio-list.js +0 -5
  1928. package/esm5/components/range/index.js +0 -4
  1929. package/esm5/components/range/range-change.directive.js +0 -103
  1930. package/esm5/components/range/range.component.js +0 -269
  1931. package/esm5/components/range/range.module.js +0 -30
  1932. package/esm5/components/range/taiga-ui-kit-components-range.js +0 -5
  1933. package/esm5/components/rating/index.js +0 -4
  1934. package/esm5/components/rating/rating-options.js +0 -16
  1935. package/esm5/components/rating/rating.component.js +0 -111
  1936. package/esm5/components/rating/rating.module.js +0 -26
  1937. package/esm5/components/rating/taiga-ui-kit-components-rating.js +0 -5
  1938. package/esm5/components/select/index.js +0 -6
  1939. package/esm5/components/select/select-options.js +0 -13
  1940. package/esm5/components/select/select.component.js +0 -137
  1941. package/esm5/components/select/select.directive.js +0 -42
  1942. package/esm5/components/select/select.module.js +0 -32
  1943. package/esm5/components/select/select.providers.js +0 -28
  1944. package/esm5/components/select/taiga-ui-kit-components-select.js +0 -5
  1945. package/esm5/components/select-option/index.js +0 -3
  1946. package/esm5/components/select-option/select-option.component.js +0 -75
  1947. package/esm5/components/select-option/select-option.module.js +0 -20
  1948. package/esm5/components/select-option/taiga-ui-kit-components-select-option.js +0 -5
  1949. package/esm5/components/slider/helpers/slider-key-steps.directive.js +0 -136
  1950. package/esm5/components/slider/helpers/slider-readonly.directive.js +0 -87
  1951. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +0 -55
  1952. package/esm5/components/slider/index.js +0 -8
  1953. package/esm5/components/slider/slider-old.component.js +0 -96
  1954. package/esm5/components/slider/slider-options.js +0 -14
  1955. package/esm5/components/slider/slider.component.js +0 -161
  1956. package/esm5/components/slider/slider.module.js +0 -45
  1957. package/esm5/components/slider/taiga-ui-kit-components-slider.js +0 -5
  1958. package/esm5/components/stepper/index.js +0 -4
  1959. package/esm5/components/stepper/step/step.component.js +0 -103
  1960. package/esm5/components/stepper/stepper.component.js +0 -117
  1961. package/esm5/components/stepper/stepper.module.js +0 -20
  1962. package/esm5/components/stepper/taiga-ui-kit-components-stepper.js +0 -5
  1963. package/esm5/components/tabs/index.js +0 -10
  1964. package/esm5/components/tabs/tab/tab.component.js +0 -86
  1965. package/esm5/components/tabs/tab/tab.providers.js +0 -38
  1966. package/esm5/components/tabs/tab.directive.js +0 -19
  1967. package/esm5/components/tabs/tabs/tabs.component.js +0 -159
  1968. package/esm5/components/tabs/tabs-options.js +0 -15
  1969. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +0 -233
  1970. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +0 -43
  1971. package/esm5/components/tabs/tabs.module.js +0 -42
  1972. package/esm5/components/tabs/taiga-ui-kit-components-tabs.js +0 -5
  1973. package/esm5/components/tabs/underline/underline.component.js +0 -94
  1974. package/esm5/components/tag/index.js +0 -4
  1975. package/esm5/components/tag/tag-options.js +0 -16
  1976. package/esm5/components/tag/tag.component.js +0 -240
  1977. package/esm5/components/tag/tag.module.js +0 -29
  1978. package/esm5/components/tag/taiga-ui-kit-components-tag.js +0 -5
  1979. package/esm5/components/taiga-ui-kit-components.js +0 -5
  1980. package/esm5/components/text-area/index.js +0 -5
  1981. package/esm5/components/text-area/taiga-ui-kit-components-text-area.js +0 -5
  1982. package/esm5/components/text-area/text-area.component.js +0 -238
  1983. package/esm5/components/text-area/text-area.directive.js +0 -28
  1984. package/esm5/components/text-area/text-area.module.js +0 -33
  1985. package/esm5/components/text-area/text-area.providers.js +0 -18
  1986. package/esm5/components/toggle/index.js +0 -4
  1987. package/esm5/components/toggle/taiga-ui-kit-components-toggle.js +0 -5
  1988. package/esm5/components/toggle/toggle-options.js +0 -26
  1989. package/esm5/components/toggle/toggle.component.js +0 -160
  1990. package/esm5/components/toggle/toggle.module.js +0 -33
  1991. package/esm5/components/tree/components/tree/tree.component.js +0 -72
  1992. package/esm5/components/tree/components/tree-item/tree-item.component.js +0 -68
  1993. package/esm5/components/tree/components/tree-item/tree-item.providers.js +0 -19
  1994. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +0 -49
  1995. package/esm5/components/tree/directives/tree-children.directive.js +0 -25
  1996. package/esm5/components/tree/directives/tree-controller.directive.js +0 -64
  1997. package/esm5/components/tree/directives/tree-item-controller.directive.js +0 -38
  1998. package/esm5/components/tree/directives/tree-node.directive.js +0 -40
  1999. package/esm5/components/tree/index.js +0 -13
  2000. package/esm5/components/tree/misc/tree.constants.js +0 -9
  2001. package/esm5/components/tree/misc/tree.interfaces.js +0 -1
  2002. package/esm5/components/tree/misc/tree.service.js +0 -44
  2003. package/esm5/components/tree/misc/tree.tokens.js +0 -17
  2004. package/esm5/components/tree/taiga-ui-kit-components-tree.js +0 -5
  2005. package/esm5/components/tree/tree.module.js +0 -48
  2006. package/esm5/constants/date-time-separator.js +0 -2
  2007. package/esm5/constants/empty-mask.js +0 -6
  2008. package/esm5/constants/group-class-names.js +0 -12
  2009. package/esm5/constants/icon-blank.js +0 -2
  2010. package/esm5/constants/index.js +0 -10
  2011. package/esm5/constants/masks.js +0 -52
  2012. package/esm5/constants/math.js +0 -5
  2013. package/esm5/constants/max-day-range-length-mapper.js +0 -16
  2014. package/esm5/constants/max-time-values.js +0 -7
  2015. package/esm5/constants/router-link-options.js +0 -10
  2016. package/esm5/constants/taiga-ui-kit-constants.js +0 -5
  2017. package/esm5/directives/dropdown-context/dropdown-context.directive.js +0 -141
  2018. package/esm5/directives/dropdown-context/dropdown-context.module.js +0 -18
  2019. package/esm5/directives/dropdown-context/index.js +0 -3
  2020. package/esm5/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
  2021. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +0 -56
  2022. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +0 -16
  2023. package/esm5/directives/dropdown-hover/index.js +0 -3
  2024. package/esm5/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
  2025. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +0 -248
  2026. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +0 -18
  2027. package/esm5/directives/dropdown-selection/index.js +0 -3
  2028. package/esm5/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
  2029. package/esm5/directives/highlight/highlight.directive.js +0 -101
  2030. package/esm5/directives/highlight/highlight.module.js +0 -16
  2031. package/esm5/directives/highlight/index.js +0 -3
  2032. package/esm5/directives/highlight/taiga-ui-kit-directives-highlight.js +0 -5
  2033. package/esm5/directives/index.js +0 -10
  2034. package/esm5/directives/lazy-loading/index.js +0 -4
  2035. package/esm5/directives/lazy-loading/lazy-loading.directive.js +0 -69
  2036. package/esm5/directives/lazy-loading/lazy-loading.module.js +0 -16
  2037. package/esm5/directives/lazy-loading/lazy-loading.service.js +0 -40
  2038. package/esm5/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +0 -5
  2039. package/esm5/directives/present/index.js +0 -3
  2040. package/esm5/directives/present/present.directive.js +0 -71
  2041. package/esm5/directives/present/present.module.js +0 -16
  2042. package/esm5/directives/present/taiga-ui-kit-directives-present.js +0 -5
  2043. package/esm5/directives/project-class/index.js +0 -3
  2044. package/esm5/directives/project-class/project-class.directive.js +0 -43
  2045. package/esm5/directives/project-class/project-class.module.js +0 -16
  2046. package/esm5/directives/project-class/taiga-ui-kit-directives-project-class.js +0 -5
  2047. package/esm5/directives/taiga-ui-kit-directives.js +0 -5
  2048. package/esm5/directives/unfinished-validator/index.js +0 -3
  2049. package/esm5/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +0 -5
  2050. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +0 -36
  2051. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +0 -16
  2052. package/esm5/directives/value-accessor/index.js +0 -3
  2053. package/esm5/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +0 -5
  2054. package/esm5/directives/value-accessor/value-accessor.directive.js +0 -16
  2055. package/esm5/directives/value-accessor/value-accessor.module.js +0 -16
  2056. package/esm5/enums/borders.js +0 -9
  2057. package/esm5/enums/dropdown-position.js +0 -10
  2058. package/esm5/enums/file-state.js +0 -11
  2059. package/esm5/enums/index.js +0 -8
  2060. package/esm5/enums/marker-icon-mode.js +0 -15
  2061. package/esm5/enums/status.js +0 -13
  2062. package/esm5/enums/step-state.js +0 -10
  2063. package/esm5/enums/taiga-ui-kit-enums.js +0 -5
  2064. package/esm5/enums/text-align.js +0 -10
  2065. package/esm5/index.js +0 -12
  2066. package/esm5/interfaces/bread-crumbs-item.js +0 -1
  2067. package/esm5/interfaces/file-like.js +0 -1
  2068. package/esm5/interfaces/index.js +0 -1
  2069. package/esm5/interfaces/mobile-calendar-data.js +0 -1
  2070. package/esm5/interfaces/month-context.js +0 -1
  2071. package/esm5/interfaces/taiga-ui-kit-interfaces.js +0 -4
  2072. package/esm5/interfaces/with-date-mask-pipe-config.js +0 -1
  2073. package/esm5/internal/index.js +0 -2
  2074. package/esm5/internal/primitive-calendar-range/index.js +0 -3
  2075. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +0 -163
  2076. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +0 -22
  2077. package/esm5/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +0 -5
  2078. package/esm5/internal/taiga-ui-kit-internal.js +0 -5
  2079. package/esm5/pipes/field-error/field-error-content-pipe.js +0 -44
  2080. package/esm5/pipes/field-error/field-error-pipe.js +0 -142
  2081. package/esm5/pipes/field-error/field-error.module.js +0 -17
  2082. package/esm5/pipes/field-error/index.js +0 -4
  2083. package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +0 -5
  2084. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +0 -28
  2085. package/esm5/pipes/filter-by-input/filter-by-input.base.js +0 -61
  2086. package/esm5/pipes/filter-by-input/filter-by-input.module.js +0 -17
  2087. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +0 -29
  2088. package/esm5/pipes/filter-by-input/index.js +0 -5
  2089. package/esm5/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +0 -5
  2090. package/esm5/pipes/index.js +0 -5
  2091. package/esm5/pipes/stringify/index.js +0 -3
  2092. package/esm5/pipes/stringify/stringify.module.js +0 -16
  2093. package/esm5/pipes/stringify/stringify.pipe.js +0 -17
  2094. package/esm5/pipes/stringify/taiga-ui-kit-pipes-stringify.js +0 -5
  2095. package/esm5/pipes/stringify-content/index.js +0 -3
  2096. package/esm5/pipes/stringify-content/stringify-content.module.js +0 -16
  2097. package/esm5/pipes/stringify-content/stringify-content.pipe.js +0 -20
  2098. package/esm5/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +0 -5
  2099. package/esm5/pipes/taiga-ui-kit-pipes.js +0 -5
  2100. package/esm5/providers/index.js +0 -4
  2101. package/esm5/providers/month-formatter.provider.js +0 -23
  2102. package/esm5/providers/specific-dropdown-controllers.js +0 -29
  2103. package/esm5/providers/taiga-ui-kit-providers.js +0 -5
  2104. package/esm5/providers/value-accessor.provider.js +0 -12
  2105. package/esm5/taiga-ui-kit.js +0 -5
  2106. package/esm5/tokens/calendar-data-stream.js +0 -3
  2107. package/esm5/tokens/date-inputs-value-transformers.js +0 -5
  2108. package/esm5/tokens/i18n.js +0 -60
  2109. package/esm5/tokens/index.js +0 -11
  2110. package/esm5/tokens/items-handlers.js +0 -16
  2111. package/esm5/tokens/mobile-aware.js +0 -6
  2112. package/esm5/tokens/mobile-calendar.js +0 -3
  2113. package/esm5/tokens/month-formatter.js +0 -3
  2114. package/esm5/tokens/tab-margin.js +0 -5
  2115. package/esm5/tokens/tag-status.js +0 -6
  2116. package/esm5/tokens/taiga-ui-kit-tokens.js +0 -5
  2117. package/esm5/tokens/validation-errors.js +0 -5
  2118. package/esm5/types/handler-with-context.js +0 -1
  2119. package/esm5/types/index.js +0 -1
  2120. package/esm5/types/key-steps.js +0 -1
  2121. package/esm5/types/marker-icon-mode.js +0 -1
  2122. package/esm5/types/status.js +0 -1
  2123. package/esm5/types/taiga-ui-kit-types.js +0 -4
  2124. package/esm5/types/time-format-parts.js +0 -1
  2125. package/esm5/utils/dom/get-word-range.js +0 -55
  2126. package/esm5/utils/dom/index.js +0 -4
  2127. package/esm5/utils/dom/scroll-to-element.js +0 -23
  2128. package/esm5/utils/dom/set-range-offset.js +0 -29
  2129. package/esm5/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
  2130. package/esm5/utils/files/format-size.js +0 -21
  2131. package/esm5/utils/files/get-accept-array.js +0 -12
  2132. package/esm5/utils/files/index.js +0 -3
  2133. package/esm5/utils/files/taiga-ui-kit-utils-files.js +0 -5
  2134. package/esm5/utils/format/index.js +0 -2
  2135. package/esm5/utils/format/string-hash-to-hsl.js +0 -24
  2136. package/esm5/utils/format/taiga-ui-kit-utils-format.js +0 -5
  2137. package/esm5/utils/index.js +0 -7
  2138. package/esm5/utils/mask/create-auto-corrected-date-pipe.js +0 -25
  2139. package/esm5/utils/mask/create-auto-corrected-date-range-pipe.js +0 -39
  2140. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +0 -29
  2141. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +0 -36
  2142. package/esm5/utils/mask/create-date-mask.js +0 -17
  2143. package/esm5/utils/mask/create-date-range-mask.js +0 -13
  2144. package/esm5/utils/mask/create-time-mask.js +0 -17
  2145. package/esm5/utils/mask/index.js +0 -8
  2146. package/esm5/utils/mask/taiga-ui-kit-utils-mask.js +0 -5
  2147. package/esm5/utils/math/horizontal-direction-to-number.js +0 -12
  2148. package/esm5/utils/math/index.js +0 -3
  2149. package/esm5/utils/math/key-steps.js +0 -30
  2150. package/esm5/utils/math/taiga-ui-kit-utils-math.js +0 -5
  2151. package/esm5/utils/miscellaneous/create-default-day-range-periods.js +0 -28
  2152. package/esm5/utils/miscellaneous/create-time-periods.js +0 -15
  2153. package/esm5/utils/miscellaneous/get-precision.js +0 -12
  2154. package/esm5/utils/miscellaneous/index.js +0 -6
  2155. package/esm5/utils/miscellaneous/is-flat.js +0 -9
  2156. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +0 -19
  2157. package/esm5/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +0 -5
  2158. package/esm5/utils/taiga-ui-kit-utils.js +0 -5
  2159. package/esm5/validators/index.js +0 -2
  2160. package/esm5/validators/taiga-ui-kit-validators.js +0 -5
  2161. package/esm5/validators/unfinished.validator.js +0 -15
  2162. package/fesm2015/taiga-ui-kit-abstract.js +0 -434
  2163. package/fesm2015/taiga-ui-kit-abstract.js.map +0 -1
  2164. package/fesm2015/taiga-ui-kit-components-field-error.js +0 -153
  2165. package/fesm2015/taiga-ui-kit-components-field-error.js.map +0 -1
  2166. package/fesm2015/taiga-ui-kit-components-input-file.js +0 -440
  2167. package/fesm2015/taiga-ui-kit-components-input-file.js.map +0 -1
  2168. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +0 -141
  2169. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
  2170. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +0 -65
  2171. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
  2172. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +0 -247
  2173. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
  2174. package/fesm2015/taiga-ui-kit-enums.js +0 -84
  2175. package/fesm2015/taiga-ui-kit-enums.js.map +0 -1
  2176. package/fesm2015/taiga-ui-kit-utils-dom.js +0 -111
  2177. package/fesm2015/taiga-ui-kit-utils-dom.js.map +0 -1
  2178. package/fesm5/taiga-ui-kit-abstract.js +0 -501
  2179. package/fesm5/taiga-ui-kit-abstract.js.map +0 -1
  2180. package/fesm5/taiga-ui-kit-classes.js +0 -44
  2181. package/fesm5/taiga-ui-kit-classes.js.map +0 -1
  2182. package/fesm5/taiga-ui-kit-components-accordion.js +0 -286
  2183. package/fesm5/taiga-ui-kit-components-accordion.js.map +0 -1
  2184. package/fesm5/taiga-ui-kit-components-action.js +0 -117
  2185. package/fesm5/taiga-ui-kit-components-action.js.map +0 -1
  2186. package/fesm5/taiga-ui-kit-components-arrow.js +0 -87
  2187. package/fesm5/taiga-ui-kit-components-arrow.js.map +0 -1
  2188. package/fesm5/taiga-ui-kit-components-avatar.js +0 -132
  2189. package/fesm5/taiga-ui-kit-components-avatar.js.map +0 -1
  2190. package/fesm5/taiga-ui-kit-components-badge.js +0 -107
  2191. package/fesm5/taiga-ui-kit-components-badge.js.map +0 -1
  2192. package/fesm5/taiga-ui-kit-components-badged-content.js +0 -128
  2193. package/fesm5/taiga-ui-kit-components-badged-content.js.map +0 -1
  2194. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +0 -120
  2195. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +0 -1
  2196. package/fesm5/taiga-ui-kit-components-calendar-month.js +0 -244
  2197. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +0 -1
  2198. package/fesm5/taiga-ui-kit-components-calendar-range.js +0 -211
  2199. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +0 -1
  2200. package/fesm5/taiga-ui-kit-components-carousel.js +0 -307
  2201. package/fesm5/taiga-ui-kit-components-carousel.js.map +0 -1
  2202. package/fesm5/taiga-ui-kit-components-checkbox-block.js +0 -148
  2203. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +0 -1
  2204. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +0 -115
  2205. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +0 -1
  2206. package/fesm5/taiga-ui-kit-components-checkbox.js +0 -118
  2207. package/fesm5/taiga-ui-kit-components-checkbox.js.map +0 -1
  2208. package/fesm5/taiga-ui-kit-components-combo-box.js +0 -333
  2209. package/fesm5/taiga-ui-kit-components-combo-box.js.map +0 -1
  2210. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +0 -171
  2211. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +0 -1
  2212. package/fesm5/taiga-ui-kit-components-field-error.js +0 -189
  2213. package/fesm5/taiga-ui-kit-components-field-error.js.map +0 -1
  2214. package/fesm5/taiga-ui-kit-components-files.js +0 -289
  2215. package/fesm5/taiga-ui-kit-components-files.js.map +0 -1
  2216. package/fesm5/taiga-ui-kit-components-filter.js +0 -128
  2217. package/fesm5/taiga-ui-kit-components-filter.js.map +0 -1
  2218. package/fesm5/taiga-ui-kit-components-input-copy.js +0 -200
  2219. package/fesm5/taiga-ui-kit-components-input-copy.js.map +0 -1
  2220. package/fesm5/taiga-ui-kit-components-input-count.js +0 -377
  2221. package/fesm5/taiga-ui-kit-components-input-count.js.map +0 -1
  2222. package/fesm5/taiga-ui-kit-components-input-date-range.js +0 -452
  2223. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +0 -1
  2224. package/fesm5/taiga-ui-kit-components-input-date-time.js +0 -402
  2225. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +0 -1
  2226. package/fesm5/taiga-ui-kit-components-input-date.js +0 -365
  2227. package/fesm5/taiga-ui-kit-components-input-date.js.map +0 -1
  2228. package/fesm5/taiga-ui-kit-components-input-file.js +0 -535
  2229. package/fesm5/taiga-ui-kit-components-input-file.js.map +0 -1
  2230. package/fesm5/taiga-ui-kit-components-input-files.js +0 -291
  2231. package/fesm5/taiga-ui-kit-components-input-files.js.map +0 -1
  2232. package/fesm5/taiga-ui-kit-components-input-inline.js +0 -105
  2233. package/fesm5/taiga-ui-kit-components-input-inline.js.map +0 -1
  2234. package/fesm5/taiga-ui-kit-components-input-month-range.js +0 -240
  2235. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +0 -1
  2236. package/fesm5/taiga-ui-kit-components-input-month.js +0 -220
  2237. package/fesm5/taiga-ui-kit-components-input-month.js.map +0 -1
  2238. package/fesm5/taiga-ui-kit-components-input-number.js +0 -365
  2239. package/fesm5/taiga-ui-kit-components-input-number.js.map +0 -1
  2240. package/fesm5/taiga-ui-kit-components-input-password.js +0 -225
  2241. package/fesm5/taiga-ui-kit-components-input-password.js.map +0 -1
  2242. package/fesm5/taiga-ui-kit-components-input-phone-international.js +0 -744
  2243. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +0 -1
  2244. package/fesm5/taiga-ui-kit-components-input-phone.js +0 -410
  2245. package/fesm5/taiga-ui-kit-components-input-phone.js.map +0 -1
  2246. package/fesm5/taiga-ui-kit-components-input-range.js +0 -347
  2247. package/fesm5/taiga-ui-kit-components-input-range.js.map +0 -1
  2248. package/fesm5/taiga-ui-kit-components-input-slider.js +0 -336
  2249. package/fesm5/taiga-ui-kit-components-input-slider.js.map +0 -1
  2250. package/fesm5/taiga-ui-kit-components-input-tag.js +0 -563
  2251. package/fesm5/taiga-ui-kit-components-input-tag.js.map +0 -1
  2252. package/fesm5/taiga-ui-kit-components-input-time.js +0 -353
  2253. package/fesm5/taiga-ui-kit-components-input-time.js.map +0 -1
  2254. package/fesm5/taiga-ui-kit-components-input.js +0 -174
  2255. package/fesm5/taiga-ui-kit-components-input.js.map +0 -1
  2256. package/fesm5/taiga-ui-kit-components-island.js +0 -123
  2257. package/fesm5/taiga-ui-kit-components-island.js.map +0 -1
  2258. package/fesm5/taiga-ui-kit-components-line-clamp.js +0 -185
  2259. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +0 -1
  2260. package/fesm5/taiga-ui-kit-components-marker-icon.js +0 -66
  2261. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +0 -1
  2262. package/fesm5/taiga-ui-kit-components-multi-select-option.js +0 -60
  2263. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +0 -1
  2264. package/fesm5/taiga-ui-kit-components-multi-select.js +0 -623
  2265. package/fesm5/taiga-ui-kit-components-multi-select.js.map +0 -1
  2266. package/fesm5/taiga-ui-kit-components-pagination.js +0 -349
  2267. package/fesm5/taiga-ui-kit-components-pagination.js.map +0 -1
  2268. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +0 -117
  2269. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +0 -1
  2270. package/fesm5/taiga-ui-kit-components-progress.js +0 -330
  2271. package/fesm5/taiga-ui-kit-components-progress.js.map +0 -1
  2272. package/fesm5/taiga-ui-kit-components-radio-block.js +0 -171
  2273. package/fesm5/taiga-ui-kit-components-radio-block.js.map +0 -1
  2274. package/fesm5/taiga-ui-kit-components-radio-group.js +0 -43
  2275. package/fesm5/taiga-ui-kit-components-radio-group.js.map +0 -1
  2276. package/fesm5/taiga-ui-kit-components-radio-labeled.js +0 -140
  2277. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +0 -1
  2278. package/fesm5/taiga-ui-kit-components-radio-list.js +0 -142
  2279. package/fesm5/taiga-ui-kit-components-radio-list.js.map +0 -1
  2280. package/fesm5/taiga-ui-kit-components-radio.js +0 -209
  2281. package/fesm5/taiga-ui-kit-components-radio.js.map +0 -1
  2282. package/fesm5/taiga-ui-kit-components-range.js +0 -390
  2283. package/fesm5/taiga-ui-kit-components-range.js.map +0 -1
  2284. package/fesm5/taiga-ui-kit-components-rating.js +0 -150
  2285. package/fesm5/taiga-ui-kit-components-rating.js.map +0 -1
  2286. package/fesm5/taiga-ui-kit-components-select-option.js +0 -96
  2287. package/fesm5/taiga-ui-kit-components-select-option.js.map +0 -1
  2288. package/fesm5/taiga-ui-kit-components-select.js +0 -237
  2289. package/fesm5/taiga-ui-kit-components-select.js.map +0 -1
  2290. package/fesm5/taiga-ui-kit-components-slider.js +0 -560
  2291. package/fesm5/taiga-ui-kit-components-slider.js.map +0 -1
  2292. package/fesm5/taiga-ui-kit-components-stepper.js +0 -233
  2293. package/fesm5/taiga-ui-kit-components-stepper.js.map +0 -1
  2294. package/fesm5/taiga-ui-kit-components-tabs.js +0 -677
  2295. package/fesm5/taiga-ui-kit-components-tabs.js.map +0 -1
  2296. package/fesm5/taiga-ui-kit-components-tag.js +0 -282
  2297. package/fesm5/taiga-ui-kit-components-tag.js.map +0 -1
  2298. package/fesm5/taiga-ui-kit-components-text-area.js +0 -306
  2299. package/fesm5/taiga-ui-kit-components-text-area.js.map +0 -1
  2300. package/fesm5/taiga-ui-kit-components-toggle.js +0 -216
  2301. package/fesm5/taiga-ui-kit-components-toggle.js.map +0 -1
  2302. package/fesm5/taiga-ui-kit-components-tree.js +0 -439
  2303. package/fesm5/taiga-ui-kit-components-tree.js.map +0 -1
  2304. package/fesm5/taiga-ui-kit-components.js +0 -66
  2305. package/fesm5/taiga-ui-kit-components.js.map +0 -1
  2306. package/fesm5/taiga-ui-kit-constants.js +0 -119
  2307. package/fesm5/taiga-ui-kit-constants.js.map +0 -1
  2308. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +0 -160
  2309. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
  2310. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +0 -74
  2311. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
  2312. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +0 -267
  2313. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
  2314. package/fesm5/taiga-ui-kit-directives-highlight.js +0 -119
  2315. package/fesm5/taiga-ui-kit-directives-highlight.js.map +0 -1
  2316. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +0 -121
  2317. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +0 -1
  2318. package/fesm5/taiga-ui-kit-directives-present.js +0 -89
  2319. package/fesm5/taiga-ui-kit-directives-present.js.map +0 -1
  2320. package/fesm5/taiga-ui-kit-directives-project-class.js +0 -61
  2321. package/fesm5/taiga-ui-kit-directives-project-class.js.map +0 -1
  2322. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +0 -54
  2323. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +0 -1
  2324. package/fesm5/taiga-ui-kit-directives-value-accessor.js +0 -34
  2325. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +0 -1
  2326. package/fesm5/taiga-ui-kit-directives.js +0 -14
  2327. package/fesm5/taiga-ui-kit-directives.js.map +0 -1
  2328. package/fesm5/taiga-ui-kit-enums.js +0 -84
  2329. package/fesm5/taiga-ui-kit-enums.js.map +0 -1
  2330. package/fesm5/taiga-ui-kit-interfaces.js +0 -4
  2331. package/fesm5/taiga-ui-kit-interfaces.js.map +0 -1
  2332. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +0 -185
  2333. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +0 -1
  2334. package/fesm5/taiga-ui-kit-internal.js +0 -6
  2335. package/fesm5/taiga-ui-kit-internal.js.map +0 -1
  2336. package/fesm5/taiga-ui-kit-pipes-field-error.js +0 -200
  2337. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +0 -1
  2338. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +0 -125
  2339. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +0 -1
  2340. package/fesm5/taiga-ui-kit-pipes-stringify-content.js +0 -38
  2341. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +0 -1
  2342. package/fesm5/taiga-ui-kit-pipes-stringify.js +0 -35
  2343. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +0 -1
  2344. package/fesm5/taiga-ui-kit-pipes.js +0 -9
  2345. package/fesm5/taiga-ui-kit-pipes.js.map +0 -1
  2346. package/fesm5/taiga-ui-kit-providers.js +0 -67
  2347. package/fesm5/taiga-ui-kit-providers.js.map +0 -1
  2348. package/fesm5/taiga-ui-kit-tokens.js +0 -110
  2349. package/fesm5/taiga-ui-kit-tokens.js.map +0 -1
  2350. package/fesm5/taiga-ui-kit-types.js +0 -4
  2351. package/fesm5/taiga-ui-kit-types.js.map +0 -1
  2352. package/fesm5/taiga-ui-kit-utils-dom.js +0 -113
  2353. package/fesm5/taiga-ui-kit-utils-dom.js.map +0 -1
  2354. package/fesm5/taiga-ui-kit-utils-files.js +0 -40
  2355. package/fesm5/taiga-ui-kit-utils-files.js.map +0 -1
  2356. package/fesm5/taiga-ui-kit-utils-format.js +0 -30
  2357. package/fesm5/taiga-ui-kit-utils-format.js.map +0 -1
  2358. package/fesm5/taiga-ui-kit-utils-mask.js +0 -169
  2359. package/fesm5/taiga-ui-kit-utils-mask.js.map +0 -1
  2360. package/fesm5/taiga-ui-kit-utils-math.js +0 -49
  2361. package/fesm5/taiga-ui-kit-utils-math.js.map +0 -1
  2362. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +0 -88
  2363. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +0 -1
  2364. package/fesm5/taiga-ui-kit-utils.js +0 -11
  2365. package/fesm5/taiga-ui-kit-utils.js.map +0 -1
  2366. package/fesm5/taiga-ui-kit-validators.js +0 -22
  2367. package/fesm5/taiga-ui-kit-validators.js.map +0 -1
  2368. package/fesm5/taiga-ui-kit.js +0 -16
  2369. package/fesm5/taiga-ui-kit.js.map +0 -1
  2370. package/interfaces/bread-crumbs-item.d.ts +0 -6
  2371. package/interfaces/taiga-ui-kit-interfaces.metadata.json +0 -1
  2372. package/interfaces/with-date-mask-pipe-config.d.ts +0 -9
  2373. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +0 -1
  2374. package/internal/taiga-ui-kit-internal.metadata.json +0 -1
  2375. package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +0 -1
  2376. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +0 -1
  2377. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +0 -1
  2378. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +0 -1
  2379. package/pipes/taiga-ui-kit-pipes.metadata.json +0 -1
  2380. package/providers/taiga-ui-kit-providers.metadata.json +0 -1
  2381. package/taiga-ui-kit.metadata.json +0 -1
  2382. package/tokens/calendar-data-stream.d.ts +0 -4
  2383. package/tokens/mobile-aware.d.ts +0 -3
  2384. package/tokens/tag-status.d.ts +0 -3
  2385. package/tokens/taiga-ui-kit-tokens.metadata.json +0 -1
  2386. package/types/taiga-ui-kit-types.metadata.json +0 -1
  2387. package/utils/dom/get-word-range.d.ts +0 -9
  2388. package/utils/dom/index.d.ts +0 -3
  2389. package/utils/dom/package.json +0 -13
  2390. package/utils/dom/scroll-to-element.d.ts +0 -5
  2391. package/utils/dom/set-range-offset.d.ts +0 -6
  2392. package/utils/dom/taiga-ui-kit-utils-dom.d.ts +0 -4
  2393. package/utils/dom/taiga-ui-kit-utils-dom.metadata.json +0 -1
  2394. package/utils/files/taiga-ui-kit-utils-files.metadata.json +0 -1
  2395. package/utils/format/taiga-ui-kit-utils-format.metadata.json +0 -1
  2396. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +0 -1
  2397. package/utils/math/taiga-ui-kit-utils-math.metadata.json +0 -1
  2398. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.metadata.json +0 -1
  2399. package/utils/taiga-ui-kit-utils.metadata.json +0 -1
  2400. package/validators/taiga-ui-kit-validators.metadata.json +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-tree.js","sources":["ng://@taiga-ui/kit/components/tree/directives/tree-children.directive.ts","ng://@taiga-ui/kit/components/tree/components/tree-item-content/tree-item-content.component.ts","ng://@taiga-ui/kit/components/tree/misc/tree.constants.ts","ng://@taiga-ui/kit/components/tree/misc/tree.tokens.ts","ng://@taiga-ui/kit/components/tree/components/tree-item/tree-item.providers.ts","ng://@taiga-ui/kit/components/tree/components/tree-item/tree-item.component.ts","ng://@taiga-ui/kit/components/tree/components/tree/tree.component.ts","ng://@taiga-ui/kit/components/tree/directives/tree-controller.directive.ts","ng://@taiga-ui/kit/components/tree/directives/tree-item-controller.directive.ts","ng://@taiga-ui/kit/components/tree/directives/tree-node.directive.ts","ng://@taiga-ui/kit/components/tree/misc/tree.service.ts","ng://@taiga-ui/kit/components/tree/tree.module.ts","ng://@taiga-ui/kit/components/tree/taiga-ui-kit-components-tree.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport {EMPTY_ARRAY, tuiDefaultProp, TuiHandler} from '@taiga-ui/cdk';\n\n@Directive({\n selector: `tui-tree[childrenHandler]`,\n})\nexport class TuiTreeChildrenDirective<T> {\n @Input()\n @tuiDefaultProp()\n childrenHandler: TuiHandler<T, readonly T[]> =\n TuiTreeChildrenDirective.defaultHandler;\n\n static defaultHandler<G>(item: G): readonly G[] {\n return Array.isArray(item) ? item : EMPTY_ARRAY;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n forwardRef,\n HostBinding,\n Inject,\n} from '@angular/core';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_DEFAULT_TREE_CONTROLLER} from '../../misc/tree.constants';\nimport {TuiTreeController, TuiTreeItemContext} from '../../misc/tree.interfaces';\nimport {TUI_TREE_CONTROLLER} from '../../misc/tree.tokens';\n\n@Component({\n selector: `tui-tree-item-content`,\n templateUrl: `tree-item-content.template.html`,\n styleUrls: [`tree-item-content.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiTreeItemContentComponent {\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT) readonly context: TuiTreeItemContext,\n @Inject(forwardRef(() => TUI_TREE_CONTROLLER))\n private readonly controller: TuiTreeController,\n ) {}\n\n get isExpanded(): boolean {\n return this.context.$implicit.isExpanded;\n }\n\n @HostBinding(`class._expandable`)\n get isExpandable(): boolean {\n return (\n this.context.$implicit.isExpandable &&\n this.controller !== TUI_DEFAULT_TREE_CONTROLLER\n );\n }\n\n onClick(): void {\n this.controller.toggle(this.context.$implicit);\n }\n}\n","import {ALWAYS_TRUE_HANDLER, EMPTY_FUNCTION} from '@taiga-ui/cdk';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTreeItemContentComponent} from '../components/tree-item-content/tree-item-content.component';\nimport {TuiTreeController} from './tree.interfaces';\n\nexport const TUI_TREE_ITEM_CONTENT = new PolymorpheusComponent(\n TuiTreeItemContentComponent,\n);\n\nexport const TUI_DEFAULT_TREE_CONTROLLER: TuiTreeController = {\n isExpanded: ALWAYS_TRUE_HANDLER,\n toggle: EMPTY_FUNCTION as () => void,\n};\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_DEFAULT_TREE_CONTROLLER, TUI_TREE_ITEM_CONTENT} from './tree.constants';\nimport {\n TuiTreeAccessor,\n TuiTreeController,\n TuiTreeItemContext,\n TuiTreeLoader,\n} from './tree.interfaces';\n\nexport const TUI_TREE_ACCESSOR = new InjectionToken<TuiTreeAccessor<unknown>>(\n `Controller for tracking value - TuiTreeItemComponent pairs`,\n);\n\nexport const TUI_TREE_CONTROLLER = new InjectionToken<TuiTreeController>(\n `Controller for expanding the tree`,\n {\n factory: () => TUI_DEFAULT_TREE_CONTROLLER,\n },\n);\n\nexport const TUI_TREE_NODE = new InjectionToken(`A node of a tree view`);\n\nexport const TUI_TREE_LOADING = new InjectionToken(\n `A tree node placeholder for loading`,\n {factory: () => ({})},\n);\n\nexport const TUI_TREE_START = new InjectionToken(`A tree node starting point`);\n\nexport const TUI_TREE_LOADER = new InjectionToken<TuiTreeLoader<unknown>>(\n `A service to load tree progressively`,\n);\n\nexport const TUI_TREE_CONTENT = new InjectionToken<\n PolymorpheusContent<TuiTreeItemContext>\n>(`Content for a tree item`, {\n factory: () => TUI_TREE_ITEM_CONTENT,\n});\n\nexport const TUI_TREE_LEVEL = new InjectionToken<number>(\n `Nesting level of current TreeView node`,\n {\n factory: () => -1,\n },\n);\n","import {forwardRef, Provider, SkipSelf} from '@angular/core';\n\nimport {TUI_TREE_LEVEL, TUI_TREE_NODE} from '../../misc/tree.tokens';\nimport {TuiTreeItemComponent} from './tree-item.component';\n\nexport const TUI_TREE_ITEM_PROVIDERS: Provider[] = [\n {\n provide: TUI_TREE_LEVEL,\n deps: [[new SkipSelf(), TUI_TREE_LEVEL]],\n useFactory: treeLevelFactory,\n },\n {\n provide: TUI_TREE_NODE,\n useExisting: forwardRef(() => TuiTreeItemComponent),\n },\n];\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function treeLevelFactory(level: number): number {\n return ++level;\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n DoCheck,\n ElementRef,\n forwardRef,\n HostBinding,\n Inject,\n QueryList,\n} from '@angular/core';\nimport {EMPTY_QUERY} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Subject} from 'rxjs';\nimport {distinctUntilChanged, map, startWith} from 'rxjs/operators';\n\nimport {TuiTreeController, TuiTreeItemContext} from '../../misc/tree.interfaces';\nimport {\n TUI_TREE_CONTENT,\n TUI_TREE_CONTROLLER,\n TUI_TREE_LEVEL,\n TUI_TREE_NODE,\n} from '../../misc/tree.tokens';\nimport {TUI_TREE_ITEM_PROVIDERS} from './tree-item.providers';\n\n@Component({\n selector: `tui-tree-item`,\n templateUrl: `./tree-item.template.html`,\n styleUrls: [`./tree-item.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_TREE_ITEM_PROVIDERS,\n host: {\n role: `treeitem`,\n },\n})\nexport class TuiTreeItemComponent implements DoCheck {\n @ContentChildren(TUI_TREE_NODE as any)\n private readonly nested: QueryList<unknown> = EMPTY_QUERY;\n\n private readonly change$ = new Subject<void>();\n\n readonly expanded$ = this.change$.pipe(\n startWith(null),\n map(() => this.isExpanded),\n distinctUntilChanged(),\n );\n\n readonly attached$ = this.change$.pipe(\n map(() => this.elementRef.nativeElement.isConnected),\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(ElementRef)\n private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(forwardRef(() => TUI_TREE_CONTROLLER))\n private readonly controller: TuiTreeController,\n @Inject(forwardRef(() => TUI_TREE_LEVEL))\n readonly level: number,\n @Inject(forwardRef(() => TUI_TREE_CONTENT))\n readonly content: PolymorpheusContent<TuiTreeItemContext>,\n ) {}\n\n @HostBinding(`class._expandable`)\n get isExpandable(): boolean {\n return !!this.nested.length;\n }\n\n get isExpanded(): boolean {\n return this.controller.isExpanded(this);\n }\n\n ngDoCheck(): void {\n this.change$.next();\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DoCheck,\n Inject,\n Input,\n Optional,\n ViewChild,\n} from '@angular/core';\nimport {TuiHandler} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Subject} from 'rxjs';\nimport {distinctUntilChanged, map, startWith} from 'rxjs/operators';\n\nimport {TuiTreeChildrenDirective} from '../../directives/tree-children.directive';\nimport {TuiTreeContext} from '../../misc/tree.interfaces';\nimport {TUI_TREE_NODE} from '../../misc/tree.tokens';\nimport {TuiTreeItemComponent} from '../tree-item/tree-item.component';\n\n@Component({\n selector: `tui-tree[value]`,\n templateUrl: `tree.template.html`,\n styleUrls: [`tree.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_TREE_NODE,\n useExisting: TuiTreeComponent,\n },\n ],\n host: {\n role: `tree`,\n },\n})\nexport class TuiTreeComponent<T> implements DoCheck {\n private readonly check$ = new Subject<void>();\n\n @Input()\n value!: T;\n\n @ViewChild(TuiTreeItemComponent)\n readonly item?: TuiTreeItemComponent;\n\n @ViewChild(TuiTreeComponent)\n readonly child?: TuiTreeComponent<T>;\n\n readonly children$ = this.check$.pipe(\n startWith(null),\n map(() => this.handler(this.value)),\n distinctUntilChanged(),\n );\n\n constructor(\n @Optional()\n @Inject(TuiTreeChildrenDirective)\n readonly directive: TuiTreeChildrenDirective<T> | null,\n ) {}\n\n @Input()\n content: PolymorpheusContent<TuiTreeContext<T>> = ({$implicit}) => String($implicit);\n\n ngDoCheck(): void {\n this.check$.next();\n this.item?.ngDoCheck();\n this.child?.ngDoCheck();\n }\n\n private get handler(): TuiHandler<T, readonly T[]> {\n return this.directive?.childrenHandler ?? TuiTreeChildrenDirective.defaultHandler;\n }\n}\n","import {Directive, EventEmitter, Input, Output} from '@angular/core';\nimport {isPresent, tuiDefaultProp} from '@taiga-ui/cdk';\n\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeAccessor, TuiTreeController} from '../misc/tree.interfaces';\nimport {TUI_TREE_ACCESSOR, TUI_TREE_CONTROLLER} from '../misc/tree.tokens';\n\n@Directive({\n selector: `[tuiTreeController][map]`,\n exportAs: `tuiTreeController`,\n providers: [\n {\n provide: TUI_TREE_ACCESSOR,\n useExisting: TuiTreeControllerDirective,\n },\n {\n provide: TUI_TREE_CONTROLLER,\n useExisting: TuiTreeControllerDirective,\n },\n ],\n})\nexport class TuiTreeControllerDirective<T>\n implements TuiTreeController, TuiTreeAccessor<T>\n{\n @Input(`tuiTreeController`)\n @tuiDefaultProp()\n fallback = true;\n\n @Input()\n @tuiDefaultProp()\n map: Map<T, boolean> = new Map();\n\n @Output()\n readonly toggled = new EventEmitter<T>();\n\n readonly items = new Map<TuiTreeItemComponent, T>();\n\n register(item: TuiTreeItemComponent, value: T): void {\n this.items.set(item, value);\n }\n\n unregister(item: TuiTreeItemComponent): void {\n this.items.delete(item);\n }\n\n isExpanded(item: TuiTreeItemComponent): boolean {\n const value = this.items.get(item);\n\n return (value && this.map.get(value)) ?? this.fallback;\n }\n\n toggle(item: TuiTreeItemComponent): void {\n const value = this.items.get(item);\n const expanded = this.isExpanded(item);\n\n if (!isPresent(value)) {\n return;\n }\n\n this.toggled.emit(value);\n this.map.set(value, !expanded);\n }\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk';\n\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeController} from '../misc/tree.interfaces';\nimport {TUI_TREE_CONTROLLER} from '../misc/tree.tokens';\n\n@Directive({\n selector: `[tuiTreeController]:not([map])`,\n exportAs: `tuiTreeController`,\n providers: [\n {\n provide: TUI_TREE_CONTROLLER,\n useExisting: TuiTreeItemControllerDirective,\n },\n ],\n})\nexport class TuiTreeItemControllerDirective implements TuiTreeController {\n private readonly map = new WeakMap<TuiTreeItemComponent, boolean>();\n\n @Input(`tuiTreeController`)\n @tuiDefaultProp()\n fallback = true;\n\n isExpanded(item: TuiTreeItemComponent): boolean {\n return this.map.get(item) ?? this.fallback;\n }\n\n toggle(item: TuiTreeItemComponent): void {\n this.map.set(item, !this.isExpanded(item));\n }\n}\n","import {Directive, Inject, Input, OnDestroy, Optional} from '@angular/core';\n\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeAccessor} from '../misc/tree.interfaces';\nimport {TUI_TREE_ACCESSOR} from '../misc/tree.tokens';\n\n@Directive({\n selector: `tui-tree-item[tuiTreeNode]`,\n})\nexport class TuiTreeNodeDirective<T> implements OnDestroy {\n @Input(`tuiTreeNode`)\n set value(value: T) {\n this.directive?.register(this.component, value);\n }\n\n constructor(\n @Optional()\n @Inject(TUI_TREE_ACCESSOR)\n private readonly directive: TuiTreeAccessor<T>,\n @Inject(TuiTreeItemComponent)\n private readonly component: TuiTreeItemComponent,\n ) {}\n\n ngOnDestroy(): void {\n this.directive?.unregister(this.component);\n }\n}\n","import {Inject, Injectable} from '@angular/core';\nimport {Subject} from 'rxjs';\nimport {map, mapTo, startWith, switchMap, tap} from 'rxjs/operators';\n\nimport {TuiTreeLoader} from './tree.interfaces';\nimport {TUI_TREE_LOADER, TUI_TREE_LOADING, TUI_TREE_START} from './tree.tokens';\n\n// @dynamic\n@Injectable()\nexport class TuiTreeService<T> {\n private readonly map = new Map<T, readonly T[]>([[this.loading, []]]);\n\n private readonly load$ = new Subject<T>();\n\n readonly data$ = this.load$.pipe(\n switchMap(item =>\n this.loader.loadChildren(item).pipe(\n tap(children => this.map.set(item, children)),\n map(children => children.filter(item => !this.loader.hasChildren(item))),\n tap(children => children.forEach(child => this.map.set(child, []))),\n ),\n ),\n startWith(null),\n mapTo(this.start),\n );\n\n constructor(\n @Inject(TUI_TREE_LOADING) private readonly loading: T,\n @Inject(TUI_TREE_START) private readonly start: T,\n @Inject(TUI_TREE_LOADER) private readonly loader: TuiTreeLoader<T>,\n ) {}\n\n getChildren(item: T): readonly T[] {\n return this.map.get(item) ?? [this.loading];\n }\n\n loadChildren(item: T): void {\n if (this.map.get(item)) {\n return;\n }\n\n this.map.set(item, [this.loading]);\n this.load$.next(item);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule} from '@taiga-ui/cdk';\nimport {TuiButtonModule, TuiExpandModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTreeComponent} from './components/tree/tree.component';\nimport {TuiTreeItemComponent} from './components/tree-item/tree-item.component';\nimport {TuiTreeItemContentComponent} from './components/tree-item-content/tree-item-content.component';\nimport {TuiTreeChildrenDirective} from './directives/tree-children.directive';\nimport {TuiTreeControllerDirective} from './directives/tree-controller.directive';\nimport {TuiTreeItemControllerDirective} from './directives/tree-item-controller.directive';\nimport {TuiTreeNodeDirective} from './directives/tree-node.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiExpandModule,\n TuiLetModule,\n TuiButtonModule,\n ],\n entryComponents: [TuiTreeItemContentComponent],\n declarations: [\n TuiTreeComponent,\n TuiTreeItemComponent,\n TuiTreeItemContentComponent,\n TuiTreeChildrenDirective,\n TuiTreeItemControllerDirective,\n TuiTreeControllerDirective,\n TuiTreeNodeDirective,\n ],\n exports: [\n TuiTreeComponent,\n TuiTreeItemComponent,\n TuiTreeChildrenDirective,\n TuiTreeItemControllerDirective,\n TuiTreeControllerDirective,\n ],\n})\nexport class TuiTreeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;IAMa,wBAAwB,gCAArC,MAAa,wBAAwB;IAArC;QAGI,oBAAe,GACX,0BAAwB,CAAC,cAAc,CAAC;KAK/C;IAHG,OAAO,cAAc,CAAI,IAAO;QAC5B,OAAO,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,GAAG,WAAW,CAAC;KACnD;EACJ;AANG;IAFC,KAAK,EAAE;IACP,cAAc,EAAE;iEAE2B;AAJnC,wBAAwB;IAHpC,SAAS,CAAC;QACP,QAAQ,EAAE,2BAA2B;KACxC,CAAC;GACW,wBAAwB,CASpC;;ICIY,2BAA2B,GAAxC,MAAa,2BAA2B;IACpC,YAC2C,OAA2B,EAEjD,UAA6B;Q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CAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;KAC/C;IAED,YAAY,CAAC,IAAO;QAChB,IAAI,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;YACpB,OAAO;SACV;QAED,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;QACnC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACzB;EACJ;;4CAjBQ,MAAM,SAAC,gBAAgB;4CACvB,MAAM,SAAC,cAAc;4CACrB,MAAM,SAAC,eAAe;;AApBlB,cAAc;IAD1B,UAAU,EAAE;IAmBJ,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;IACxB,WAAA,MAAM,CAAC,cAAc,CAAC,CAAA;IACtB,WAAA,MAAM,CAAC,eAAe,CAAC,CAAA;GApBnB,cAAc,CAmC1B;;ICJY,aAAa,GAA1B,MAAa,aAAa;EAAG;AAAhB,aAAa;IA1BzB,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,kBAAkB;YAClB,eAAe;YACf,YAAY;YACZ,eAAe;SAClB;QACD,eAAe,EAAE,CAAC,2BAA2B,CAAC;QAC9C,YAAY,EAAE;YACV,gBAAgB;YAChB,oBAAoB;YACpB,2BAA2B;YAC3B,wBAAwB;YACxB,8BAA8B;YAC9B,0BAA0B;YAC1B,oBAAoB;SACvB;QACD,OAAO,EAAE;YACL,gBAAgB;YAChB,oBAAoB;YACpB,wBAAwB;YACxB,8BAA8B;YAC9B,0BAA0B;SAC7B;KACJ,CAAC;GACW,aAAa,CAAG;;ACxC7B;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-tree.js","sources":["../../../projects/kit/components/tree/directives/tree-children.directive.ts","../../../projects/kit/components/tree/components/tree-item-content/tree-item-content.component.ts","../../../projects/kit/components/tree/components/tree-item-content/tree-item-content.template.html","../../../projects/kit/components/tree/misc/tree.constants.ts","../../../projects/kit/components/tree/misc/tree.tokens.ts","../../../projects/kit/components/tree/components/tree-item/tree-item.providers.ts","../../../projects/kit/components/tree/components/tree-item/tree-item.component.ts","../../../projects/kit/components/tree/components/tree-item/tree-item.template.html","../../../projects/kit/components/tree/directives/tree-node.directive.ts","../../../projects/kit/components/tree/components/tree/tree.component.ts","../../../projects/kit/components/tree/components/tree/tree.template.html","../../../projects/kit/components/tree/directives/tree-controller.directive.ts","../../../projects/kit/components/tree/directives/tree-item-controller.directive.ts","../../../projects/kit/components/tree/misc/tree.service.ts","../../../projects/kit/components/tree/tree.module.ts","../../../projects/kit/components/tree/taiga-ui-kit-components-tree.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport {EMPTY_ARRAY, tuiDefaultProp, TuiHandler} from '@taiga-ui/cdk';\n\n@Directive({\n selector: `tui-tree[childrenHandler]`,\n})\nexport class TuiTreeChildrenDirective<T> {\n @Input()\n @tuiDefaultProp()\n childrenHandler: TuiHandler<T, readonly T[]> =\n TuiTreeChildrenDirective.defaultHandler;\n\n static defaultHandler<G>(item: G): readonly G[] {\n return Array.isArray(item) ? item : EMPTY_ARRAY;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n forwardRef,\n HostBinding,\n Inject,\n} from '@angular/core';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_DEFAULT_TREE_CONTROLLER} from '../../misc/tree.constants';\nimport {TuiTreeController, TuiTreeItemContext} from '../../misc/tree.interfaces';\nimport {TUI_TREE_CONTROLLER} from '../../misc/tree.tokens';\n\n@Component({\n selector: `tui-tree-item-content`,\n templateUrl: `tree-item-content.template.html`,\n styleUrls: [`tree-item-content.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiTreeItemContentComponent {\n constructor(\n @Inject(POLYMORPHEUS_CONTEXT) readonly context: TuiTreeItemContext,\n @Inject(forwardRef(() => TUI_TREE_CONTROLLER))\n private readonly controller: TuiTreeController,\n ) {}\n\n get isExpanded(): boolean {\n return this.context.$implicit.isExpanded;\n }\n\n @HostBinding(`class._expandable`)\n get isExpandable(): boolean {\n return (\n this.context.$implicit.isExpandable &&\n this.controller !== TUI_DEFAULT_TREE_CONTROLLER\n );\n }\n\n onClick(): void {\n this.controller.toggle(this.context.$implicit);\n }\n}\n","<button\n *ngIf=\"isExpandable\"\n tuiIconButton\n size=\"xs\"\n appearance=\"flat\"\n icon=\"tuiIconChevronRight\"\n shape=\"rounded\"\n class=\"t-button\"\n [class.t-button_expanded]=\"isExpanded\"\n (click)=\"onClick()\"\n></button>\n<ng-container [ngTemplateOutlet]=\"context.template\"></ng-container>\n","import {ALWAYS_TRUE_HANDLER, EMPTY_FUNCTION} from '@taiga-ui/cdk';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTreeItemContentComponent} from '../components/tree-item-content/tree-item-content.component';\nimport {TuiTreeController} from './tree.interfaces';\n\nexport const TUI_TREE_ITEM_CONTENT = new PolymorpheusComponent(\n TuiTreeItemContentComponent,\n);\n\nexport const TUI_DEFAULT_TREE_CONTROLLER: TuiTreeController = {\n isExpanded: ALWAYS_TRUE_HANDLER,\n toggle: EMPTY_FUNCTION as () => void,\n};\n","import {InjectionToken} from '@angular/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_DEFAULT_TREE_CONTROLLER, TUI_TREE_ITEM_CONTENT} from './tree.constants';\nimport {\n TuiTreeAccessor,\n TuiTreeController,\n TuiTreeItemContext,\n TuiTreeLoader,\n} from './tree.interfaces';\n\nexport const TUI_TREE_ACCESSOR = new InjectionToken<TuiTreeAccessor<unknown>>(\n `Controller for tracking value - TuiTreeItemComponent pairs`,\n);\n\nexport const TUI_TREE_CONTROLLER = new InjectionToken<TuiTreeController>(\n `Controller for expanding the tree`,\n {\n factory: () => TUI_DEFAULT_TREE_CONTROLLER,\n },\n);\n\nexport const TUI_TREE_NODE = new InjectionToken(`A node of a tree view`);\n\nexport const TUI_TREE_LOADING = new InjectionToken(\n `A tree node placeholder for loading`,\n {factory: () => ({})},\n);\n\nexport const TUI_TREE_START = new InjectionToken(`A tree node starting point`);\n\nexport const TUI_TREE_LOADER = new InjectionToken<TuiTreeLoader<unknown>>(\n `A service to load tree progressively`,\n);\n\nexport const TUI_TREE_CONTENT = new InjectionToken<\n PolymorpheusContent<TuiTreeItemContext>\n>(`Content for a tree item`, {\n factory: () => TUI_TREE_ITEM_CONTENT,\n});\n\nexport const TUI_TREE_LEVEL = new InjectionToken<number>(\n `Nesting level of current TreeView node`,\n {\n factory: () => -1,\n },\n);\n","import {forwardRef, Provider, SkipSelf} from '@angular/core';\n\nimport {TUI_TREE_LEVEL, TUI_TREE_NODE} from '../../misc/tree.tokens';\nimport {TuiTreeItemComponent} from './tree-item.component';\n\nexport const TUI_TREE_ITEM_PROVIDERS: Provider[] = [\n {\n provide: TUI_TREE_LEVEL,\n deps: [[new SkipSelf(), TUI_TREE_LEVEL]],\n useFactory: (level: number): number => ++level,\n },\n {\n provide: TUI_TREE_NODE,\n useExisting: forwardRef(() => TuiTreeItemComponent),\n },\n];\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n DoCheck,\n ElementRef,\n forwardRef,\n HostBinding,\n Inject,\n QueryList,\n} from '@angular/core';\nimport {EMPTY_QUERY} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Subject} from 'rxjs';\nimport {distinctUntilChanged, map, startWith} from 'rxjs/operators';\n\nimport {TuiTreeController, TuiTreeItemContext} from '../../misc/tree.interfaces';\nimport {\n TUI_TREE_CONTENT,\n TUI_TREE_CONTROLLER,\n TUI_TREE_LEVEL,\n TUI_TREE_NODE,\n} from '../../misc/tree.tokens';\nimport {TUI_TREE_ITEM_PROVIDERS} from './tree-item.providers';\n\n@Component({\n selector: `tui-tree-item`,\n templateUrl: `./tree-item.template.html`,\n styleUrls: [`./tree-item.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_TREE_ITEM_PROVIDERS,\n host: {\n role: `treeitem`,\n },\n})\nexport class TuiTreeItemComponent implements DoCheck {\n @ContentChildren(TUI_TREE_NODE as any)\n private readonly nested: QueryList<unknown> = EMPTY_QUERY;\n\n private readonly change$ = new Subject<void>();\n\n readonly expanded$ = this.change$.pipe(\n startWith(null),\n map(() => this.isExpanded),\n distinctUntilChanged(),\n );\n\n readonly attached$ = this.change$.pipe(\n map(() => this.elementRef.nativeElement.isConnected),\n distinctUntilChanged(),\n );\n\n constructor(\n @Inject(ElementRef)\n private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(forwardRef(() => TUI_TREE_CONTROLLER))\n private readonly controller: TuiTreeController,\n @Inject(forwardRef(() => TUI_TREE_LEVEL))\n readonly level: number,\n @Inject(forwardRef(() => TUI_TREE_CONTENT))\n readonly content: PolymorpheusContent<TuiTreeItemContext>,\n ) {}\n\n @HostBinding(`class._expandable`)\n get isExpandable(): boolean {\n return !!this.nested.length;\n }\n\n get isExpanded(): boolean {\n return this.controller.isExpanded(this);\n }\n\n ngDoCheck(): void {\n this.change$.next();\n }\n}\n","<ng-template #template><ng-content></ng-content></ng-template>\n<ng-container *polymorpheusOutlet=\"content as text; context: {$implicit: this, template: template}\">\n {{ text }}\n</ng-container>\n<tui-expand\n *ngIf=\"isExpandable\"\n role=\"group\"\n class=\"t-children\"\n [expanded]=\"expanded$ | async\"\n>\n <div>\n <ng-content select=\"tui-tree-item\"></ng-content>\n <ng-content select=\"tui-tree\"></ng-content>\n </div>\n</tui-expand>\n<ng-container *ngIf=\"attached$ | async\"></ng-container>\n","import {Directive, Inject, Input, OnDestroy, Optional} from '@angular/core';\n\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeAccessor} from '../misc/tree.interfaces';\nimport {TUI_TREE_ACCESSOR} from '../misc/tree.tokens';\n\n@Directive({\n selector: `tui-tree-item[tuiTreeNode]`,\n})\nexport class TuiTreeNodeDirective<T> implements OnDestroy {\n @Input(`tuiTreeNode`)\n set value(value: T) {\n this.directive?.register(this.component, value);\n }\n\n constructor(\n @Optional()\n @Inject(TUI_TREE_ACCESSOR)\n private readonly directive: TuiTreeAccessor<T>,\n @Inject(TuiTreeItemComponent)\n private readonly component: TuiTreeItemComponent,\n ) {}\n\n ngOnDestroy(): void {\n this.directive?.unregister(this.component);\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n DoCheck,\n Inject,\n Input,\n Optional,\n ViewChild,\n} from '@angular/core';\nimport {TuiHandler} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Subject} from 'rxjs';\nimport {distinctUntilChanged, map, startWith} from 'rxjs/operators';\n\nimport {TuiTreeChildrenDirective} from '../../directives/tree-children.directive';\nimport {TuiTreeContext} from '../../misc/tree.interfaces';\nimport {TUI_TREE_NODE} from '../../misc/tree.tokens';\nimport {TuiTreeItemComponent} from '../tree-item/tree-item.component';\n\n@Component({\n selector: `tui-tree[value]`,\n templateUrl: `tree.template.html`,\n styleUrls: [`tree.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_TREE_NODE,\n useExisting: TuiTreeComponent,\n },\n ],\n host: {\n role: `tree`,\n },\n})\nexport class TuiTreeComponent<T> implements DoCheck {\n private readonly check$ = new Subject<void>();\n\n @Input()\n value!: T;\n\n @ViewChild(TuiTreeItemComponent)\n readonly item?: TuiTreeItemComponent;\n\n @ViewChild(TuiTreeComponent)\n readonly child?: TuiTreeComponent<T>;\n\n readonly children$ = this.check$.pipe(\n startWith(null),\n map(() => this.handler(this.value)),\n distinctUntilChanged(),\n );\n\n constructor(\n @Optional()\n @Inject(TuiTreeChildrenDirective)\n readonly directive: TuiTreeChildrenDirective<T> | null,\n ) {}\n\n @Input()\n content: PolymorpheusContent<TuiTreeContext<T>> = ({$implicit}) => String($implicit);\n\n ngDoCheck(): void {\n this.check$.next();\n this.item?.ngDoCheck();\n this.child?.ngDoCheck();\n }\n\n private get handler(): TuiHandler<T, readonly T[]> {\n return this.directive?.childrenHandler || TuiTreeChildrenDirective.defaultHandler;\n }\n}\n","<tui-tree-item\n *tuiLet=\"children$ | async as children\"\n #view\n [tuiTreeNode]=\"value\"\n>\n <ng-container *ngIf=\"$any(value) !== children\">\n <ng-container *polymorpheusOutlet=\"content as text; context: {$implicit: value, node: view}\">\n {{ text }}\n </ng-container>\n </ng-container>\n <tui-tree\n *ngFor=\"let child of children\"\n [value]=\"child\"\n [content]=\"content\"\n ></tui-tree>\n</tui-tree-item>\n","import {Directive, EventEmitter, Input, Output} from '@angular/core';\nimport {tuiDefaultProp, tuiIsPresent} from '@taiga-ui/cdk';\n\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeAccessor, TuiTreeController} from '../misc/tree.interfaces';\nimport {TUI_TREE_ACCESSOR, TUI_TREE_CONTROLLER} from '../misc/tree.tokens';\n\n@Directive({\n selector: `[tuiTreeController][map]`,\n exportAs: `tuiTreeController`,\n providers: [\n {\n provide: TUI_TREE_ACCESSOR,\n useExisting: TuiTreeControllerDirective,\n },\n {\n provide: TUI_TREE_CONTROLLER,\n useExisting: TuiTreeControllerDirective,\n },\n ],\n})\nexport class TuiTreeControllerDirective<T>\n implements TuiTreeController, TuiTreeAccessor<T>\n{\n @Input(`tuiTreeController`)\n @tuiDefaultProp()\n fallback = true;\n\n @Input()\n @tuiDefaultProp()\n map: Map<T, boolean> = new Map();\n\n @Output()\n readonly toggled = new EventEmitter<T>();\n\n readonly items = new Map<TuiTreeItemComponent, T>();\n\n register(item: TuiTreeItemComponent, value: T): void {\n this.items.set(item, value);\n }\n\n unregister(item: TuiTreeItemComponent): void {\n this.items.delete(item);\n }\n\n isExpanded(item: TuiTreeItemComponent): boolean {\n const value = this.items.get(item);\n\n return (value && this.map.get(value)) ?? this.fallback;\n }\n\n toggle(item: TuiTreeItemComponent): void {\n const value = this.items.get(item);\n const expanded = this.isExpanded(item);\n\n if (!tuiIsPresent(value)) {\n return;\n }\n\n this.toggled.emit(value);\n this.map.set(value, !expanded);\n }\n}\n","import {Directive, Input} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk';\n\nimport {TuiTreeItemComponent} from '../components/tree-item/tree-item.component';\nimport {TuiTreeController} from '../misc/tree.interfaces';\nimport {TUI_TREE_CONTROLLER} from '../misc/tree.tokens';\n\n@Directive({\n selector: `[tuiTreeController]:not([map])`,\n exportAs: `tuiTreeController`,\n providers: [\n {\n provide: TUI_TREE_CONTROLLER,\n useExisting: TuiTreeItemControllerDirective,\n },\n ],\n})\nexport class TuiTreeItemControllerDirective implements TuiTreeController {\n private readonly map = new WeakMap<TuiTreeItemComponent, boolean>();\n\n @Input(`tuiTreeController`)\n @tuiDefaultProp()\n fallback = true;\n\n isExpanded(item: TuiTreeItemComponent): boolean {\n return this.map.get(item) ?? this.fallback;\n }\n\n toggle(item: TuiTreeItemComponent): void {\n this.map.set(item, !this.isExpanded(item));\n }\n}\n","import {Inject, Injectable} from '@angular/core';\nimport {Subject} from 'rxjs';\nimport {map, mapTo, startWith, switchMap, tap} from 'rxjs/operators';\n\nimport {TuiTreeLoader} from './tree.interfaces';\nimport {TUI_TREE_LOADER, TUI_TREE_LOADING, TUI_TREE_START} from './tree.tokens';\n\n@Injectable()\nexport class TuiTreeService<T> {\n private readonly map = new Map<T, readonly T[]>([[this.loading, []]]);\n\n private readonly load$ = new Subject<T>();\n\n readonly data$ = this.load$.pipe(\n switchMap(item =>\n this.loader.loadChildren(item).pipe(\n tap(children => this.map.set(item, children)),\n map(children => children.filter(item => !this.loader.hasChildren(item))),\n tap(children => children.forEach(child => this.map.set(child, []))),\n ),\n ),\n startWith(null),\n mapTo(this.start),\n );\n\n constructor(\n @Inject(TUI_TREE_LOADING) private readonly loading: T,\n @Inject(TUI_TREE_START) private readonly start: T,\n @Inject(TUI_TREE_LOADER) private readonly loader: TuiTreeLoader<T>,\n ) {}\n\n getChildren(item: T): readonly T[] {\n return this.map.get(item) || [this.loading];\n }\n\n loadChildren(item: T): void {\n if (this.map.get(item)) {\n return;\n }\n\n this.map.set(item, [this.loading]);\n this.load$.next(item);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule} from '@taiga-ui/cdk';\nimport {TuiButtonModule, TuiExpandModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiTreeComponent} from './components/tree/tree.component';\nimport {TuiTreeItemComponent} from './components/tree-item/tree-item.component';\nimport {TuiTreeItemContentComponent} from './components/tree-item-content/tree-item-content.component';\nimport {TuiTreeChildrenDirective} from './directives/tree-children.directive';\nimport {TuiTreeControllerDirective} from './directives/tree-controller.directive';\nimport {TuiTreeItemControllerDirective} from './directives/tree-item-controller.directive';\nimport {TuiTreeNodeDirective} from './directives/tree-node.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiExpandModule,\n TuiLetModule,\n TuiButtonModule,\n ],\n entryComponents: [TuiTreeItemContentComponent],\n declarations: [\n TuiTreeComponent,\n TuiTreeItemComponent,\n TuiTreeItemContentComponent,\n TuiTreeChildrenDirective,\n TuiTreeItemControllerDirective,\n TuiTreeControllerDirective,\n TuiTreeNodeDirective,\n ],\n exports: [\n TuiTreeComponent,\n TuiTreeItemComponent,\n TuiTreeChildrenDirective,\n TuiTreeItemControllerDirective,\n TuiTreeControllerDirective,\n ],\n})\nexport class TuiTreeModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i2","i3","i3.TuiTreeNodeDirective","i5"],"mappings":";;;;;;;;;;;;;;MAMa,wBAAwB,CAAA;AAHrC,IAAA,WAAA,GAAA;AAMI,QAAA,IAAA,CAAA,eAAe,GACX,wBAAwB,CAAC,cAAc,CAAC;AAK/C,KAAA;IAHG,OAAO,cAAc,CAAI,IAAO,EAAA;AA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8BAA8B;QAC9B,0BAA0B;AAC1B,QAAA,oBAAoB,aAdpB,YAAY;QACZ,kBAAkB;QAClB,eAAe;QACf,YAAY;AACZ,QAAA,eAAe,aAaf,gBAAgB;QAChB,oBAAoB;QACpB,wBAAwB;QACxB,8BAA8B;QAC9B,0BAA0B,CAAA,EAAA,CAAA,CAAA;AAGrB,aAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,aAAa,EAzBb,OAAA,EAAA,CAAA;YACL,YAAY;YACZ,kBAAkB;YAClB,eAAe;YACf,YAAY;YACZ,eAAe;AAClB,SAAA,CAAA,EAAA,CAAA,CAAA;4FAmBQ,aAAa,EAAA,UAAA,EAAA,CAAA;kBA1BzB,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,kBAAkB;wBAClB,eAAe;wBACf,YAAY;wBACZ,eAAe;AAClB,qBAAA;oBACD,eAAe,EAAE,CAAC,2BAA2B,CAAC;AAC9C,oBAAA,YAAY,EAAE;wBACV,gBAAgB;wBAChB,oBAAoB;wBACpB,2BAA2B;wBAC3B,wBAAwB;wBACxB,8BAA8B;wBAC9B,0BAA0B;wBAC1B,oBAAoB;AACvB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,gBAAgB;wBAChB,oBAAoB;wBACpB,wBAAwB;wBACxB,8BAA8B;wBAC9B,0BAA0B;AAC7B,qBAAA;AACJ,iBAAA,CAAA;;;ACvCD;;AAEG;;;;"}
@@ -13,7 +13,6 @@ export * from '@taiga-ui/kit/components/checkbox-block';
13
13
  export * from '@taiga-ui/kit/components/checkbox-labeled';
14
14
  export * from '@taiga-ui/kit/components/combo-box';
15
15
  export * from '@taiga-ui/kit/components/data-list-wrapper';
16
- export * from '@taiga-ui/kit/components/field-error';
17
16
  export * from '@taiga-ui/kit/components/files';
18
17
  export * from '@taiga-ui/kit/components/filter';
19
18
  export * from '@taiga-ui/kit/components/input';
@@ -22,7 +21,6 @@ export * from '@taiga-ui/kit/components/input-count';
22
21
  export * from '@taiga-ui/kit/components/input-date';
23
22
  export * from '@taiga-ui/kit/components/input-date-range';
24
23
  export * from '@taiga-ui/kit/components/input-date-time';
25
- export * from '@taiga-ui/kit/components/input-file';
26
24
  export * from '@taiga-ui/kit/components/input-files';
27
25
  export * from '@taiga-ui/kit/components/input-inline';
28
26
  export * from '@taiga-ui/kit/components/input-month';
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components.js","sources":["ng://@taiga-ui/kit/components/taiga-ui-kit-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components.js","sources":["../../../projects/kit/components/taiga-ui-kit-components.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;AAEG"}
@@ -1,4 +1,4 @@
1
- import { CHAR_PLUS, CHAR_HYPHEN, CHAR_NO_BREAK_SPACE, CHAR_EN_DASH } from '@taiga-ui/cdk';
1
+ import { CHAR_PLUS, CHAR_HYPHEN } from '@taiga-ui/cdk';
2
2
  import { TUI_DIGIT_REGEXP } from '@taiga-ui/core';
3
3
 
4
4
  const DATE_TIME_SEPARATOR = `, `;
@@ -48,31 +48,6 @@ const TUI_TIME_MASK = [
48
48
  TUI_DIGIT_REGEXP,
49
49
  TUI_DIGIT_REGEXP,
50
50
  ];
51
- /**
52
- * @deprecated use {@link tuiCreateDateMask} (from '@taiga-ui/kit') instead
53
- */
54
- const TUI_DATE_MASK = [
55
- TUI_DIGIT_REGEXP,
56
- TUI_DIGIT_REGEXP,
57
- `.`,
58
- TUI_DIGIT_REGEXP,
59
- TUI_DIGIT_REGEXP,
60
- `.`,
61
- TUI_DIGIT_REGEXP,
62
- TUI_DIGIT_REGEXP,
63
- TUI_DIGIT_REGEXP,
64
- TUI_DIGIT_REGEXP,
65
- ];
66
- /**
67
- * @deprecated use {@link tuiCreateDateRangeMask} (from '@taiga-ui/kit') instead
68
- */
69
- const TUI_DATE_RANGE_MASK = [
70
- ...TUI_DATE_MASK,
71
- CHAR_NO_BREAK_SPACE,
72
- CHAR_EN_DASH,
73
- CHAR_NO_BREAK_SPACE,
74
- ...TUI_DATE_MASK,
75
- ];
76
51
 
77
52
  /**
78
53
  * Used as a limit for eliminating JS issues with floating point math
@@ -80,12 +55,13 @@ const TUI_DATE_RANGE_MASK = [
80
55
  const TUI_FLOATING_PRECISION = 7;
81
56
 
82
57
  const MAX_DAY_RANGE_LENGTH_MAPPER = (min, value, maxLength, backwards) => {
83
- if (!value || !value.isSingleDay || !maxLength) {
58
+ if (!(value === null || value === void 0 ? void 0 : value.isSingleDay) || !maxLength) {
84
59
  return min;
85
60
  }
61
+ const negativeMaxLength = Object.fromEntries(Object.entries(maxLength).map(([key, value]) => [key, -value]));
86
62
  const dateShift = value.from
87
- .append(maxLength, backwards)
88
- .append({ day: 1 }, !backwards);
63
+ .append(backwards ? negativeMaxLength : maxLength)
64
+ .append({ day: !backwards ? -1 : 1 });
89
65
  if (backwards) {
90
66
  return dateShift.dayBefore(min) ? min : dateShift;
91
67
  }
@@ -116,5 +92,5 @@ const DEFAULT_ROUTER_LINK_OPTIONS = {
116
92
  * Generated bundle index. Do not edit.
117
93
  */
118
94
 
119
- export { DATE_TIME_SEPARATOR, DEFAULT_ROUTER_LINK_OPTIONS, EMPTY_MASK, GROUP_CLASS_NAMES, MAX_DAY_RANGE_LENGTH_MAPPER, MAX_TIME_VALUES, TUI_DATE_MASK, TUI_DATE_RANGE_MASK, TUI_FLOATING_PRECISION, TUI_PHONE_MASK, TUI_TIME_MASK, iconBlank };
95
+ export { DATE_TIME_SEPARATOR, DEFAULT_ROUTER_LINK_OPTIONS, EMPTY_MASK, GROUP_CLASS_NAMES, MAX_DAY_RANGE_LENGTH_MAPPER, MAX_TIME_VALUES, TUI_FLOATING_PRECISION, TUI_PHONE_MASK, TUI_TIME_MASK, iconBlank };
120
96
  //# sourceMappingURL=taiga-ui-kit-constants.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-constants.js","sources":["ng://@taiga-ui/kit/constants/date-time-separator.ts","ng://@taiga-ui/kit/constants/empty-mask.ts","ng://@taiga-ui/kit/constants/group-class-names.ts","ng://@taiga-ui/kit/constants/icon-blank.ts","ng://@taiga-ui/kit/constants/masks.ts","ng://@taiga-ui/kit/constants/math.ts","ng://@taiga-ui/kit/constants/max-day-range-length-mapper.ts","ng://@taiga-ui/kit/constants/max-time-values.ts","ng://@taiga-ui/kit/constants/router-link-options.ts","ng://@taiga-ui/kit/constants/taiga-ui-kit-constants.ts"],"sourcesContent":["export const DATE_TIME_SEPARATOR = `, `;\n","import {TuiTextMaskOptions} from '@taiga-ui/core';\n\nexport const EMPTY_MASK: TuiTextMaskOptions = {\n mask(): false {\n return false;\n },\n};\n","export const GROUP_CLASS_NAMES = [\n `_active`,\n `_disabled`,\n `_focused`,\n `_focus-visible`,\n `_hosted_dropdown_focused`,\n `ng-invalid`,\n `ng-touched`,\n `_pressed`,\n `_readonly`,\n];\n","export const iconBlank = `<svg></svg>`;\n","import {CHAR_EN_DASH, CHAR_HYPHEN, CHAR_NO_BREAK_SPACE, CHAR_PLUS} from '@taiga-ui/cdk';\nimport {TUI_DIGIT_REGEXP, TuiTextMaskList} from '@taiga-ui/core';\n\nexport const TUI_PHONE_MASK: TuiTextMaskList = [\n CHAR_PLUS,\n `7`,\n ` `,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n ` `,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n CHAR_HYPHEN,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n CHAR_HYPHEN,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n];\nexport const TUI_TIME_MASK: TuiTextMaskList = [\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n `:`,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n];\n\n/**\n * @deprecated use {@link tuiCreateDateMask} (from '@taiga-ui/kit') instead\n */\nexport const TUI_DATE_MASK: TuiTextMaskList = [\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n `.`,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n `.`,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n];\n/**\n * @deprecated use {@link tuiCreateDateRangeMask} (from '@taiga-ui/kit') instead\n */\nexport const TUI_DATE_RANGE_MASK: TuiTextMaskList = [\n ...TUI_DATE_MASK,\n CHAR_NO_BREAK_SPACE,\n CHAR_EN_DASH,\n CHAR_NO_BREAK_SPACE,\n ...TUI_DATE_MASK,\n];\n","/**\n * Used as a limit for eliminating JS issues with floating point math\n */\nexport const TUI_FLOATING_PRECISION = 7;\n","import {TuiDay, TuiDayLike, TuiDayRange, TuiMapper} from '@taiga-ui/cdk';\n\nexport const MAX_DAY_RANGE_LENGTH_MAPPER: TuiMapper<TuiDay, TuiDay> = (\n min,\n value: TuiDayRange,\n maxLength: TuiDayLike | null,\n backwards: boolean,\n) => {\n if (!value || !value.isSingleDay || !maxLength) {\n return min;\n }\n\n const dateShift = value.from\n .append(maxLength, backwards)\n .append({day: 1}, !backwards);\n\n if (backwards) {\n return dateShift.dayBefore(min) ? min : dateShift;\n }\n\n if (!min) {\n return dateShift;\n }\n\n return dateShift.dayAfter(min) ? min : dateShift;\n};\n","import {TuiTimeFormatParts} from '@taiga-ui/kit/types';\n\nexport const MAX_TIME_VALUES: Record<TuiTimeFormatParts, number> = {\n HH: 23,\n MM: 59,\n SS: 59,\n MS: 999,\n};\n","export const DEFAULT_ROUTER_LINK_OPTIONS = {\n fragment: ``,\n preserveFragment: true,\n replaceUrl: false,\n skipLocationChange: false,\n queryParams: null,\n useHref: false,\n target: null,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAAa,mBAAmB,GAAG;;MCEtB,UAAU,GAAuB;IAC1C,IAAI;QACA,OAAO,KAAK,CAAC;KAChB;;;MCLQ,iBAAiB,GAAG;IAC7B,SAAS;IACT,WAAW;IACX,UAAU;IACV,gBAAgB;IAChB,0BAA0B;IAC1B,YAAY;IACZ,YAAY;IACZ,UAAU;IACV,WAAW;;;MCTF,SAAS,GAAG;;MCGZ,cAAc,GAAoB;IAC3C,SAAS;IACT,GAAG;IACH,GAAG;IACH,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,GAAG;IACH,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,WAAW;IACX,gBAAgB;IAChB,gBAAgB;IAChB,WAAW;IACX,gBAAgB;IAChB,gBAAgB;EAClB;MACW,aAAa,GAAoB;IAC1C,gBAAgB;IAChB,gBAAgB;IAChB,GAAG;IACH,gBAAgB;IAChB,gBAAgB;EAClB;AAEF;;;MAGa,aAAa,GAAoB;IAC1C,gBAAgB;IAChB,gBAAgB;IAChB,GAAG;IACH,gBAAgB;IAChB,gBAAgB;IAChB,GAAG;IACH,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;EAClB;AACF;;;MAGa,mBAAmB,GAAoB;IAChD,GAAG,aAAa;IAChB,mBAAmB;IACnB,YAAY;IACZ,mBAAmB;IACnB,GAAG,aAAa;;;ACpDpB;;;MAGa,sBAAsB,GAAG;;MCDzB,2BAA2B,GAA8B,CAClE,GAAG,EACH,KAAkB,EAClB,SAA4B,EAC5B,SAAkB;IAElB,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,WAAW,IAAI,CAAC,SAAS,EAAE;QAC5C,OAAO,GAAG,CAAC;KACd;IAED,MAAM,SAAS,GAAG,KAAK,CAAC,IAAI;SACvB,MAAM,CAAC,SAAS,EAAE,SAAS,CAAC;SAC5B,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,EAAC,EAAE,CAAC,SAAS,CAAC,CAAC;IAElC,IAAI,SAAS,EAAE;QACX,OAAO,SAAS,CAAC,SAAS,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC;KACrD;IAED,IAAI,CAAC,GAAG,EAAE;QACN,OAAO,SAAS,CAAC;KACpB;IAED,OAAO,SAAS,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,GAAG,GAAG,SAAS,CAAC;AACrD;;MCvBa,eAAe,GAAuC;IAC/D,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,EAAE;IACN,EAAE,EAAE,GAAG;;;MCNE,2BAA2B,GAAG;IACvC,QAAQ,EAAE,EAAE;IACZ,gBAAgB,EAAE,IAAI;IACtB,UAAU,EAAE,KAAK;IACjB,kBAAkB,EAAE,KAAK;IACzB,WAAW,EAAE,IAAI;IACjB,OAAO,EAAE,KAAK;IACd,MAAM,EAAE,IAAI;;;ACPhB;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-constants.js","sources":["../../../projects/kit/constants/date-time-separator.ts","../../../projects/kit/constants/empty-mask.ts","../../../projects/kit/constants/group-class-names.ts","../../../projects/kit/constants/icon-blank.ts","../../../projects/kit/constants/masks.ts","../../../projects/kit/constants/math.ts","../../../projects/kit/constants/max-day-range-length-mapper.ts","../../../projects/kit/constants/max-time-values.ts","../../../projects/kit/constants/router-link-options.ts","../../../projects/kit/constants/taiga-ui-kit-constants.ts"],"sourcesContent":["export const DATE_TIME_SEPARATOR = `, `;\n","import {TuiTextMaskOptions} from '@taiga-ui/core';\n\nexport const EMPTY_MASK: TuiTextMaskOptions = {\n mask(): false {\n return false;\n },\n};\n","export const GROUP_CLASS_NAMES = [\n `_active`,\n `_disabled`,\n `_focused`,\n `_focus-visible`,\n `_hosted_dropdown_focused`,\n `ng-invalid`,\n `ng-touched`,\n `_pressed`,\n `_readonly`,\n];\n","export const iconBlank = `<svg></svg>`;\n","import {CHAR_HYPHEN, CHAR_PLUS} from '@taiga-ui/cdk';\nimport {TUI_DIGIT_REGEXP, TuiTextMaskList} from '@taiga-ui/core';\n\nexport const TUI_PHONE_MASK: TuiTextMaskList = [\n CHAR_PLUS,\n `7`,\n ` `,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n ` `,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n CHAR_HYPHEN,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n CHAR_HYPHEN,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n];\nexport const TUI_TIME_MASK: TuiTextMaskList = [\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n `:`,\n TUI_DIGIT_REGEXP,\n TUI_DIGIT_REGEXP,\n];\n","/**\n * Used as a limit for eliminating JS issues with floating point math\n */\nexport const TUI_FLOATING_PRECISION = 7;\n","import {TuiDay, TuiDayLike, TuiDayRange, TuiMapper} from '@taiga-ui/cdk';\n\nexport const MAX_DAY_RANGE_LENGTH_MAPPER: TuiMapper<TuiDay, TuiDay> = (\n min,\n value: TuiDayRange,\n maxLength: TuiDayLike | null,\n backwards: boolean,\n) => {\n if (!value?.isSingleDay || !maxLength) {\n return min;\n }\n\n const negativeMaxLength = Object.fromEntries(\n Object.entries(maxLength).map(([key, value]) => [key, -value]),\n );\n\n const dateShift = value.from\n .append(backwards ? negativeMaxLength : maxLength)\n .append({day: !backwards ? -1 : 1});\n\n if (backwards) {\n return dateShift.dayBefore(min) ? min : dateShift;\n }\n\n if (!min) {\n return dateShift;\n }\n\n return dateShift.dayAfter(min) ? min : dateShift;\n};\n","import {TuiTimeFormatParts} from '@taiga-ui/kit/types';\n\nexport const MAX_TIME_VALUES: Record<TuiTimeFormatParts, number> = {\n HH: 23,\n MM: 59,\n SS: 59,\n MS: 999,\n};\n","export const DEFAULT_ROUTER_LINK_OPTIONS = {\n fragment: ``,\n preserveFragment: true,\n replaceUrl: false,\n skipLocationChange: false,\n queryParams: null,\n useHref: false,\n target: null,\n};\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAAO,MAAM,mBAAmB,GAAG;;ACEtB,MAAA,UAAU,GAAuB;IAC1C,IAAI,GAAA;AACA,QAAA,OAAO,KAAK,CAAC;KAChB;;;ACLQ,MAAA,iBAAiB,GAAG;IAC7B,CAAS,OAAA,CAAA;IACT,CAAW,SAAA,CAAA;IACX,CAAU,QAAA,CAAA;IACV,CAAgB,cAAA,CAAA;IAChB,CAA0B,wBAAA,CAAA;IAC1B,CAAY,UAAA,CAAA;IACZ,CAAY,UAAA,CAAA;IACZ,CAAU,QAAA,CAAA;IACV,CAAW,SAAA,CAAA;;;ACTR,MAAM,SAAS,GAAG;;ACGZ,MAAA,cAAc,GAAoB;IAC3C,SAAS;IACT,CAAG,CAAA,CAAA;IACH,CAAG,CAAA,CAAA;IACH,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,CAAG,CAAA,CAAA;IACH,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,WAAW;IACX,gBAAgB;IAChB,gBAAgB;IAChB,WAAW;IACX,gBAAgB;IAChB,gBAAgB;EAClB;AACW,MAAA,aAAa,GAAoB;IAC1C,gBAAgB;IAChB,gBAAgB;IAChB,CAAG,CAAA,CAAA;IACH,gBAAgB;IAChB,gBAAgB;;;AC1BpB;;AAEG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AE,IAAI;AACtB,IAAA,UAAU,EAAE,KAAK;AACjB,IAAA,kBAAkB,EAAE,KAAK;AACzB,IAAA,WAAW,EAAE,IAAI;AACjB,IAAA,OAAO,EAAE,KAAK;AACd,IAAA,MAAM,EAAE,IAAI;;;ACPhB;;AAEG;;;;"}
@@ -0,0 +1,120 @@
1
+ import { __decorate } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { ElementRef, Directive, ContentChildren, NgModule } from '@angular/core';
4
+ import { EMPTY_QUERY, tuiTypedFromEvent, tuiItemsQueryListObservable, tuiPreventDefault, tuiGetClosestFocusable, tuiPure } from '@taiga-ui/cdk';
5
+ import { TuiDropdownDirective } from '@taiga-ui/core';
6
+ import { merge, EMPTY } from 'rxjs';
7
+ import { switchMap, take, filter, tap, map, shareReplay, mapTo, debounceTime } from 'rxjs/operators';
8
+
9
+ class TuiDataListDropdownManagerDirective {
10
+ constructor() {
11
+ this.dropdowns = EMPTY_QUERY;
12
+ this.elements = EMPTY_QUERY;
13
+ }
14
+ ngAfterViewInit() {
15
+ this.right$.subscribe(index => {
16
+ this.tryToFocus(index);
17
+ });
18
+ merge(this.immediate$, this.debounce$)
19
+ .pipe(switchMap(active => {
20
+ this.dropdowns.forEach((dropdown, index) => {
21
+ dropdown.toggle(index === active);
22
+ });
23
+ const element = this.elements.get(active);
24
+ const dropdown = this.dropdowns.get(active);
25
+ if (!element || !(dropdown === null || dropdown === void 0 ? void 0 : dropdown.dropdownBoxRef)) {
26
+ return EMPTY;
27
+ }
28
+ const { nativeElement } = dropdown.dropdownBoxRef.location;
29
+ const mouseEnter$ = tuiTypedFromEvent(nativeElement, `mouseenter`).pipe(take(1));
30
+ const esc$ = merge(tuiTypedFromEvent(element.nativeElement, `keydown`), tuiTypedFromEvent(nativeElement, `keydown`)).pipe(filter(({ keyCode }) => keyCode === 27));
31
+ return merge(mouseEnter$, esc$).pipe(tap(event => {
32
+ if (dropdown.dropdownBoxRef) {
33
+ event.stopPropagation();
34
+ }
35
+ element.nativeElement.focus();
36
+ dropdown.toggle(`offsetX` in event);
37
+ }));
38
+ }))
39
+ .subscribe();
40
+ }
41
+ get elements$() {
42
+ return tuiItemsQueryListObservable(this.elements).pipe(map(array => array.map(({ nativeElement }) => nativeElement)), shareReplay({ bufferSize: 1, refCount: true }));
43
+ }
44
+ get right$() {
45
+ return this.elements$.pipe(switchMap(elements => merge(...elements.map((element, index) => tuiTypedFromEvent(element, `keydown`).pipe(filter(({ keyCode }) => keyCode === 39), tuiPreventDefault(), mapTo(index))))));
46
+ }
47
+ get immediate$() {
48
+ return this.elements$.pipe(switchMap(elements => merge(...elements.map((element, index) => tuiTypedFromEvent(element, `click`).pipe(mapTo(index))))));
49
+ }
50
+ get debounce$() {
51
+ return this.elements$.pipe(switchMap(elements => merge(...elements.map((element, index) => merge(tuiTypedFromEvent(element, `focus`), tuiTypedFromEvent(element, `blur`)).pipe(filter(({ relatedTarget }) => this.notInDropdown(relatedTarget, index)), map(({ type }) => (type === `focus` ? index : NaN)))))), debounceTime(300));
52
+ }
53
+ notInDropdown(element, index) {
54
+ var _a, _b;
55
+ return !((_b = (_a = this.dropdowns
56
+ .get(index)) === null || _a === void 0 ? void 0 : _a.dropdownBoxRef) === null || _b === void 0 ? void 0 : _b.location.nativeElement.contains(element));
57
+ }
58
+ tryToFocus(index) {
59
+ var _a, _b;
60
+ const content = (_b = (_a = this.dropdowns.get(index)) === null || _a === void 0 ? void 0 : _a.dropdownBoxRef) === null || _b === void 0 ? void 0 : _b.location.nativeElement;
61
+ if (!content) {
62
+ return;
63
+ }
64
+ // First item is focus trap
65
+ const focusTrap = tuiGetClosestFocusable({ initial: content, root: content });
66
+ const item = tuiGetClosestFocusable({
67
+ initial: focusTrap || content,
68
+ root: content,
69
+ });
70
+ if (item) {
71
+ item.focus();
72
+ }
73
+ }
74
+ }
75
+ TuiDataListDropdownManagerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListDropdownManagerDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
76
+ TuiDataListDropdownManagerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiDataListDropdownManagerDirective, selector: "tui-data-list[tuiDataListDropdownManager]", queries: [{ propertyName: "dropdowns", predicate: TuiDropdownDirective, descendants: true }, { propertyName: "elements", predicate: TuiDropdownDirective, descendants: true, read: ElementRef }], ngImport: i0 });
77
+ __decorate([
78
+ tuiPure
79
+ ], TuiDataListDropdownManagerDirective.prototype, "elements$", null);
80
+ __decorate([
81
+ tuiPure
82
+ ], TuiDataListDropdownManagerDirective.prototype, "right$", null);
83
+ __decorate([
84
+ tuiPure
85
+ ], TuiDataListDropdownManagerDirective.prototype, "immediate$", null);
86
+ __decorate([
87
+ tuiPure
88
+ ], TuiDataListDropdownManagerDirective.prototype, "debounce$", null);
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListDropdownManagerDirective, decorators: [{
90
+ type: Directive,
91
+ args: [{
92
+ selector: `tui-data-list[tuiDataListDropdownManager]`,
93
+ }]
94
+ }], propDecorators: { dropdowns: [{
95
+ type: ContentChildren,
96
+ args: [TuiDropdownDirective, { descendants: true }]
97
+ }], elements: [{
98
+ type: ContentChildren,
99
+ args: [TuiDropdownDirective, { read: ElementRef, descendants: true }]
100
+ }], elements$: [], right$: [], immediate$: [], debounce$: [] } });
101
+
102
+ class TuiDataListDropdownManagerModule {
103
+ }
104
+ TuiDataListDropdownManagerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListDropdownManagerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
105
+ TuiDataListDropdownManagerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListDropdownManagerModule, declarations: [TuiDataListDropdownManagerDirective], exports: [TuiDataListDropdownManagerDirective] });
106
+ TuiDataListDropdownManagerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListDropdownManagerModule });
107
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiDataListDropdownManagerModule, decorators: [{
108
+ type: NgModule,
109
+ args: [{
110
+ declarations: [TuiDataListDropdownManagerDirective],
111
+ exports: [TuiDataListDropdownManagerDirective],
112
+ }]
113
+ }] });
114
+
115
+ /**
116
+ * Generated bundle index. Do not edit.
117
+ */
118
+
119
+ export { TuiDataListDropdownManagerDirective, TuiDataListDropdownManagerModule };
120
+ //# sourceMappingURL=taiga-ui-kit-directives-data-list-dropdown-manager.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-kit-directives-data-list-dropdown-manager.js","sources":["../../../projects/kit/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.ts","../../../projects/kit/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.ts","../../../projects/kit/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.ts"],"sourcesContent":["import {\n AfterViewInit,\n ContentChildren,\n Directive,\n ElementRef,\n QueryList,\n} from '@angular/core';\nimport {\n EMPTY_QUERY,\n tuiGetClosestFocusable,\n tuiItemsQueryListObservable,\n tuiPreventDefault,\n tuiPure,\n tuiTypedFromEvent,\n} from '@taiga-ui/cdk';\nimport {TuiDropdownDirective} from '@taiga-ui/core';\nimport {EMPTY, merge, Observable} from 'rxjs';\nimport {\n debounceTime,\n filter,\n map,\n mapTo,\n shareReplay,\n switchMap,\n take,\n tap,\n} from 'rxjs/operators';\n\n@Directive({\n selector: `tui-data-list[tuiDataListDropdownManager]`,\n})\nexport class TuiDataListDropdownManagerDirective implements AfterViewInit {\n @ContentChildren(TuiDropdownDirective, {descendants: true})\n private readonly dropdowns: QueryList<TuiDropdownDirective> = EMPTY_QUERY;\n\n @ContentChildren(TuiDropdownDirective, {read: ElementRef, descendants: true})\n private readonly elements: QueryList<ElementRef<HTMLElement>> = EMPTY_QUERY;\n\n ngAfterViewInit(): void {\n this.right$.subscribe(index => {\n this.tryToFocus(index);\n });\n\n merge(this.immediate$, this.debounce$)\n .pipe(\n switchMap(active => {\n this.dropdowns.forEach((dropdown, index) => {\n dropdown.toggle(index === active);\n });\n\n const element = this.elements.get(active);\n const dropdown = this.dropdowns.get(active);\n\n if (!element || !dropdown?.dropdownBoxRef) {\n return EMPTY;\n }\n\n const {nativeElement} = dropdown.dropdownBoxRef.location;\n const mouseEnter$ = tuiTypedFromEvent(\n nativeElement,\n `mouseenter`,\n ).pipe(take(1));\n const esc$ = merge(\n tuiTypedFromEvent(element.nativeElement, `keydown`),\n tuiTypedFromEvent(nativeElement, `keydown`),\n ).pipe(filter(({keyCode}) => keyCode === 27));\n\n return merge(mouseEnter$, esc$).pipe(\n tap(event => {\n if (dropdown.dropdownBoxRef) {\n event.stopPropagation();\n }\n\n element.nativeElement.focus();\n dropdown.toggle(`offsetX` in event);\n }),\n );\n }),\n )\n .subscribe();\n }\n\n @tuiPure\n private get elements$(): Observable<readonly HTMLElement[]> {\n return tuiItemsQueryListObservable(this.elements).pipe(\n map(array => array.map(({nativeElement}) => nativeElement)),\n shareReplay({bufferSize: 1, refCount: true}),\n );\n }\n\n @tuiPure\n private get right$(): Observable<number> {\n return this.elements$.pipe(\n switchMap(elements =>\n merge(\n ...elements.map((element, index) =>\n tuiTypedFromEvent(element, `keydown`).pipe(\n filter(({keyCode}) => keyCode === 39),\n tuiPreventDefault(),\n mapTo(index),\n ),\n ),\n ),\n ),\n );\n }\n\n @tuiPure\n private get immediate$(): Observable<number> {\n return this.elements$.pipe(\n switchMap(elements =>\n merge(\n ...elements.map((element, index) =>\n tuiTypedFromEvent(element, `click`).pipe(mapTo(index)),\n ),\n ),\n ),\n );\n }\n\n @tuiPure\n private get debounce$(): Observable<number> {\n return this.elements$.pipe(\n switchMap(elements =>\n merge(\n ...elements.map((element, index) =>\n merge(\n tuiTypedFromEvent(element, `focus`),\n tuiTypedFromEvent(element, `blur`),\n ).pipe(\n filter(({relatedTarget}) =>\n this.notInDropdown(relatedTarget, index),\n ),\n map(({type}) => (type === `focus` ? index : NaN)),\n ),\n ),\n ),\n ),\n debounceTime(300),\n );\n }\n\n private notInDropdown(element: EventTarget | null, index: number): boolean {\n return !this.dropdowns\n .get(index)\n ?.dropdownBoxRef?.location.nativeElement.contains(element);\n }\n\n private tryToFocus(index: number): void {\n const content = this.dropdowns.get(index)?.dropdownBoxRef?.location.nativeElement;\n\n if (!content) {\n return;\n }\n\n // First item is focus trap\n const focusTrap = tuiGetClosestFocusable({initial: content, root: content});\n const item = tuiGetClosestFocusable({\n initial: focusTrap || content,\n root: content,\n });\n\n if (item) {\n item.focus();\n }\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiDataListDropdownManagerDirective} from './data-list-dropdown-manager.directive';\n\n@NgModule({\n declarations: [TuiDataListDropdownManagerDirective],\n exports: [TuiDataListDropdownManagerDirective],\n})\nexport class TuiDataListDropdownManagerModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;MA+Ba,mCAAmC,CAAA;AAHhD,IAAA,WAAA,GAAA;QAKqB,IAAS,CAAA,SAAA,GAAoC,WAAW,CAAC;QAGzD,IAAQ,CAAA,QAAA,GAAuC,WAAW,CAAC;AAkI/E,KAAA;IAhIG,eAAe,GAAA;AACX,QAAA,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,KAAK,IAAG;AAC1B,YAAA,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC;AAC3B,SAAC,CAAC,CAAC;QAEH,KAAK,CAAC,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,SAAS,CAAC;AACjC,aAAA,IAAI,CACD,SAAS,CAAC,MAAM,IAAG;YACf,IAAI,CAAC,SAAS,CAAC,OAAO,C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AAA,CAAA;AACP,oBAAA,QAAQ,EAAE,CAA2C,yCAAA,CAAA;AACxD,iBAAA,CAAA;8BAGoB,SAAS,EAAA,CAAA;sBADzB,eAAe;AAAC,gBAAA,IAAA,EAAA,CAAA,oBAAoB,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,CAAA;gBAIzC,QAAQ,EAAA,CAAA;sBADxB,eAAe;uBAAC,oBAAoB,EAAE,EAAC,IAAI,EAAE,UAAU,EAAE,WAAW,EAAE,IAAI,EAAC,CAAA;AAgDhE,aAAA,CAAA,EAAA,SAAS,EAQT,EAAA,EAAA,MAAM,EAiBN,EAAA,EAAA,UAAU,MAaV,SAAS,EAAA,EAAA,EAAA,EAAA,CAAA;;MCjHZ,gCAAgC,CAAA;;8HAAhC,gCAAgC,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+HAAhC,gCAAgC,EAAA,YAAA,EAAA,CAH1B,mCAAmC,CAAA,EAAA,OAAA,EAAA,CACxC,mCAAmC,CAAA,EAAA,CAAA,CAAA;+HAEpC,gCAAgC,EAAA,CAAA,CAAA;4FAAhC,gCAAgC,EAAA,UAAA,EAAA,CAAA;kBAJ5C,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,mCAAmC,CAAC;oBACnD,OAAO,EAAE,CAAC,mCAAmC,CAAC;AACjD,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
@@ -1,11 +1,11 @@
1
- import { __decorate, __param } from 'tslib';
1
+ import { __decorate } from 'tslib';
2
2
  import { DOCUMENT } from '@angular/common';
3
- import { Inject, ElementRef, Renderer2, Input, Directive, NgModule } from '@angular/core';
4
- import { svgNodeFilter, px, TuiResizeService, tuiDefaultProp, TuiDestroyService } from '@taiga-ui/cdk';
5
- import { Observable } from 'rxjs';
3
+ import * as i0 from '@angular/core';
4
+ import { ElementRef, Renderer2, Directive, Inject, Input, NgModule } from '@angular/core';
5
+ import { svgNodeFilter, tuiPx, TuiResizeService, TuiDestroyService, tuiDefaultProp } from '@taiga-ui/cdk';
6
+ import * as i1 from 'rxjs';
6
7
 
7
- // @dynamic
8
- let TuiHighlightDirective = class TuiHighlightDirective {
8
+ class TuiHighlightDirective {
9
9
  constructor(documentRef, elementRef, renderer, resize$) {
10
10
  this.documentRef = documentRef;
11
11
  this.elementRef = elementRef;
@@ -42,10 +42,10 @@ let TuiHighlightDirective = class TuiHighlightDirective {
42
42
  const { left, top, width, height } = range.getBoundingClientRect();
43
43
  const { style } = this.highlight;
44
44
  style.background = this.tuiHighlightColor;
45
- style.left = px(left - hostRect.left);
46
- style.top = px(top - hostRect.top);
47
- style.width = px(width);
48
- style.height = px(height);
45
+ style.left = tuiPx(left - hostRect.left);
46
+ style.top = tuiPx(top - hostRect.top);
47
+ style.width = tuiPx(width);
48
+ style.height = tuiPx(height);
49
49
  style.display = `block`;
50
50
  return;
51
51
  } while (this.treeWalker.nextNode());
@@ -64,43 +64,52 @@ let TuiHighlightDirective = class TuiHighlightDirective {
64
64
  this.renderer.appendChild(this.elementRef.nativeElement, highlight);
65
65
  return highlight;
66
66
  }
67
- };
68
- TuiHighlightDirective.ctorParameters = () => [
69
- { type: Document, decorators: [{ type: Inject, args: [DOCUMENT,] }] },
70
- { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
71
- { type: Renderer2, decorators: [{ type: Inject, args: [Renderer2,] }] },
72
- { type: Observable, decorators: [{ type: Inject, args: [TuiResizeService,] }] }
73
- ];
67
+ }
68
+ TuiHighlightDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHighlightDirective, deps: [{ token: DOCUMENT }, { token: ElementRef }, { token: Renderer2 }, { token: TuiResizeService }], target: i0.ɵɵFactoryTarget.Directive });
69
+ TuiHighlightDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "12.2.16", type: TuiHighlightDirective, selector: "[tuiHighlight]", inputs: { tuiHighlight: "tuiHighlight", tuiHighlightColor: "tuiHighlightColor" }, host: { properties: { "style.position": "\"relative\"", "style.zIndex": "0" } }, providers: [TuiDestroyService, TuiResizeService], usesOnChanges: true, ngImport: i0 });
74
70
  __decorate([
75
- Input(),
76
71
  tuiDefaultProp()
77
72
  ], TuiHighlightDirective.prototype, "tuiHighlight", void 0);
78
- __decorate([
79
- Input()
80
- ], TuiHighlightDirective.prototype, "tuiHighlightColor", void 0);
81
- TuiHighlightDirective = __decorate([
82
- Directive({
83
- selector: `[tuiHighlight]`,
84
- host: {
85
- '[style.position]': `"relative"`,
86
- '[style.zIndex]': `0`,
87
- },
88
- providers: [TuiDestroyService, TuiResizeService],
89
- }),
90
- __param(0, Inject(DOCUMENT)),
91
- __param(1, Inject(ElementRef)),
92
- __param(2, Inject(Renderer2)),
93
- __param(3, Inject(TuiResizeService))
94
- ], TuiHighlightDirective);
73
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHighlightDirective, decorators: [{
74
+ type: Directive,
75
+ args: [{
76
+ selector: `[tuiHighlight]`,
77
+ host: {
78
+ '[style.position]': `"relative"`,
79
+ '[style.zIndex]': `0`,
80
+ },
81
+ providers: [TuiDestroyService, TuiResizeService],
82
+ }]
83
+ }], ctorParameters: function () { return [{ type: Document, decorators: [{
84
+ type: Inject,
85
+ args: [DOCUMENT]
86
+ }] }, { type: i0.ElementRef, decorators: [{
87
+ type: Inject,
88
+ args: [ElementRef]
89
+ }] }, { type: i0.Renderer2, decorators: [{
90
+ type: Inject,
91
+ args: [Renderer2]
92
+ }] }, { type: i1.Observable, decorators: [{
93
+ type: Inject,
94
+ args: [TuiResizeService]
95
+ }] }]; }, propDecorators: { tuiHighlight: [{
96
+ type: Input
97
+ }], tuiHighlightColor: [{
98
+ type: Input
99
+ }] } });
95
100
 
96
- let TuiHighlightModule = class TuiHighlightModule {
97
- };
98
- TuiHighlightModule = __decorate([
99
- NgModule({
100
- declarations: [TuiHighlightDirective],
101
- exports: [TuiHighlightDirective],
102
- })
103
- ], TuiHighlightModule);
101
+ class TuiHighlightModule {
102
+ }
103
+ TuiHighlightModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHighlightModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
104
+ TuiHighlightModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHighlightModule, declarations: [TuiHighlightDirective], exports: [TuiHighlightDirective] });
105
+ TuiHighlightModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHighlightModule });
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiHighlightModule, decorators: [{
107
+ type: NgModule,
108
+ args: [{
109
+ declarations: [TuiHighlightDirective],
110
+ exports: [TuiHighlightDirective],
111
+ }]
112
+ }] });
104
113
 
105
114
  /**
106
115
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-directives-highlight.js","sources":["ng://@taiga-ui/kit/directives/highlight/highlight.directive.ts","ng://@taiga-ui/kit/directives/highlight/highlight.module.ts","ng://@taiga-ui/kit/directives/highlight/taiga-ui-kit-directives-highlight.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {Directive, ElementRef, Inject, Input, OnChanges, Renderer2} from '@angular/core';\nimport {\n px,\n svgNodeFilter,\n tuiDefaultProp,\n TuiDestroyService,\n TuiResizeService,\n} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\n// @dynamic\n@Directive({\n selector: `[tuiHighlight]`,\n host: {\n '[style.position]': `\"relative\"`,\n '[style.zIndex]': `0`,\n },\n providers: [TuiDestroyService, TuiResizeService],\n})\nexport class TuiHighlightDirective implements OnChanges {\n private readonly highlight: HTMLElement = this.setUpHighlight();\n\n private readonly treeWalker = this.documentRef.createTreeWalker(\n this.elementRef.nativeElement,\n NodeFilter.SHOW_TEXT,\n svgNodeFilter,\n false,\n );\n\n @Input()\n @tuiDefaultProp()\n tuiHighlight = ``;\n\n @Input()\n tuiHighlightColor = `var(--tui-selection)`;\n\n constructor(\n @Inject(DOCUMENT) private readonly documentRef: Document,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(TuiResizeService) resize$: Observable<unknown>,\n ) {\n resize$.subscribe(() => {\n this.updateStyles();\n });\n }\n\n get match(): boolean {\n return this.indexOf(this.elementRef.nativeElement.textContent) !== -1;\n }\n\n ngOnChanges(): void {\n this.updateStyles();\n }\n\n private updateStyles(): void {\n this.highlight.style.display = `none`;\n\n if (!this.match) {\n return;\n }\n\n this.treeWalker.currentNode = this.elementRef.nativeElement;\n\n do {\n const index = this.indexOf(this.treeWalker.currentNode.nodeValue);\n\n if (index === -1) {\n continue;\n }\n\n const range = this.documentRef.createRange();\n\n range.setStart(this.treeWalker.currentNode, index);\n range.setEnd(this.treeWalker.currentNode, index + this.tuiHighlight.length);\n\n const hostRect = this.elementRef.nativeElement.getBoundingClientRect();\n const {left, top, width, height} = range.getBoundingClientRect();\n const {style} = this.highlight;\n\n style.background = this.tuiHighlightColor;\n style.left = px(left - hostRect.left);\n style.top = px(top - hostRect.top);\n style.width = px(width);\n style.height = px(height);\n style.display = `block`;\n\n return;\n } while (this.treeWalker.nextNode());\n }\n\n private indexOf(source: string | null): number {\n return !source || !this.tuiHighlight\n ? -1\n : source.toLowerCase().indexOf(this.tuiHighlight.toLowerCase());\n }\n\n private setUpHighlight(): HTMLElement {\n const highlight = this.renderer.createElement(`div`);\n const {style} = highlight;\n\n style.background = this.tuiHighlightColor;\n style.zIndex = `-1`;\n style.position = `absolute`;\n this.renderer.appendChild(this.elementRef.nativeElement, highlight);\n\n return highlight;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiHighlightDirective} from './highlight.directive';\n\n@NgModule({\n declarations: [TuiHighlightDirective],\n exports: [TuiHighlightDirective],\n})\nexport class TuiHighlightModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAWA;IASa,qBAAqB,GAAlC,MAAa,qBAAqB;IAiB9B,YACuC,WAAqB,EACnB,UAAmC,EACpC,QAAmB,EAC7B,OAA4B;QAHnB,gBAAW,GAAX,WAAW,CAAU;QACnB,eAAU,GAAV,UAAU,CAAyB;QACpC,aAAQ,GAAR,QAAQ,CAAW;QAnB1C,cAAS,GAAgB,IAAI,CAAC,cAAc,EAAE,CAAC;QAE/C,eAAU,GAAG,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAC3D,IAAI,CAAC,UAAU,CAAC,aAAa,EAC7B,UAAU,CAAC,SAAS,EACpB,aAAa,EACb,KAAK,CACR,CAAC;QAIF,iBAAY,GAAG,EAAE,CAAC;QAGlB,sBAAiB,GAAG,sBAAsB,CAAC;QAQvC,OAAO,CAAC,SAAS,CAAC;YACd,IAAI,CAAC,YAAY,EAAE,CAAC;SACvB,CAAC,CAAC;KACN;IAED,IAAI,KAAK;QACL,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAC;KACzE;IAED,WAAW;QACP,IAAI,CAAC,YAAY,EAAE,CAAC;KACvB;IAEO,YAAY;QAChB,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,GAAG,MAAM,CAAC;QAEtC,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE;YACb,OAAO;SACV;QAED,IAAI,CAAC,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC;QAE5D,GAAG;YACC,MAAM,KAAK,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,C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C,OAAO,EAAE,CAAC,qBAAqB,CAAC;KACnC,CAAC;GACW,kBAAkB,CAAG;;ACRlC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-directives-highlight.js","sources":["../../../projects/kit/directives/highlight/highlight.directive.ts","../../../projects/kit/directives/highlight/highlight.module.ts","../../../projects/kit/directives/highlight/taiga-ui-kit-directives-highlight.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {Directive, ElementRef, Inject, Input, OnChanges, Renderer2} from '@angular/core';\nimport {\n svgNodeFilter,\n tuiDefaultProp,\n TuiDestroyService,\n tuiPx,\n TuiResizeService,\n} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\n@Directive({\n selector: `[tuiHighlight]`,\n host: {\n '[style.position]': `\"relative\"`,\n '[style.zIndex]': `0`,\n },\n providers: [TuiDestroyService, TuiResizeService],\n})\nexport class TuiHighlightDirective implements OnChanges {\n private readonly highlight: HTMLElement = this.setUpHighlight();\n\n private readonly treeWalker = this.documentRef.createTreeWalker(\n this.elementRef.nativeElement,\n NodeFilter.SHOW_TEXT,\n svgNodeFilter,\n false,\n );\n\n @Input()\n @tuiDefaultProp()\n tuiHighlight = ``;\n\n @Input()\n tuiHighlightColor = `var(--tui-selection)`;\n\n constructor(\n @Inject(DOCUMENT) private readonly documentRef: Document,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(Renderer2) private readonly renderer: Renderer2,\n @Inject(TuiResizeService) resize$: Observable<unknown>,\n ) {\n resize$.subscribe(() => {\n this.updateStyles();\n });\n }\n\n get match(): boolean {\n return this.indexOf(this.elementRef.nativeElement.textContent) !== -1;\n }\n\n ngOnChanges(): void {\n this.updateStyles();\n }\n\n private updateStyles(): void {\n this.highlight.style.display = `none`;\n\n if (!this.match) {\n return;\n }\n\n this.treeWalker.currentNode = this.elementRef.nativeElement;\n\n do {\n const index = this.indexOf(this.treeWalker.currentNode.nodeValue);\n\n if (index === -1) {\n continue;\n }\n\n const range = this.documentRef.createRange();\n\n range.setStart(this.treeWalker.currentNode, index);\n range.setEnd(this.treeWalker.currentNode, index + this.tuiHighlight.length);\n\n const hostRect = this.elementRef.nativeElement.getBoundingClientRect();\n const {left, top, width, height} = range.getBoundingClientRect();\n const {style} = this.highlight;\n\n style.background = this.tuiHighlightColor;\n style.left = tuiPx(left - hostRect.left);\n style.top = tuiPx(top - hostRect.top);\n style.width = tuiPx(width);\n style.height = tuiPx(height);\n style.display = `block`;\n\n return;\n } while (this.treeWalker.nextNode());\n }\n\n private indexOf(source: string | null): number {\n return !source || !this.tuiHighlight\n ? -1\n : source.toLowerCase().indexOf(this.tuiHighlight.toLowerCase());\n }\n\n private setUpHighlight(): HTMLElement {\n const highlight = this.renderer.createElement(`div`);\n const {style} = highlight;\n\n style.background = this.tuiHighlightColor;\n style.zIndex = `-1`;\n style.position = `absolute`;\n this.renderer.appendChild(this.elementRef.nativeElement, highlight);\n\n return highlight;\n }\n}\n","import {NgModule} from '@angular/core';\n\nimport {TuiHighlightDirective} from './highlight.directive';\n\n@NgModule({\n declarations: [TuiHighlightDirective],\n exports: [TuiHighlightDirective],\n})\nexport class TuiHighlightModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAmBa,qBAAqB,CAAA;AAiB9B,IAAA,WAAA,CACuC,WAAqB,EACnB,UAAmC,EACpC,QAAmB,EAC7B,OAA4B,EAAA;QAHnB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAU;QACnB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACpC,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;AAnB1C,QAAA,IAAA,CAAA,SAAS,GAAgB,IAAI,CAAC,cAAc,EAAE,CAAC;QAE/C,IAAU,CAAA,UAAA,GAAG,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAC3D,IAAI,CAAC,UAAU,CAAC,aAAa,EAC7B,UAAU,CAAC,SAAS,EACpB,aAAa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