@taiga-ui/kit 2.55.0 → 3.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2341) hide show
  1. package/abstract/index.d.ts +0 -1
  2. package/abstract/package.json +2 -5
  3. package/abstract/slider/slider.d.ts +5 -3
  4. package/abstract/taiga-ui-kit-abstract.d.ts +1 -0
  5. package/bundles/taiga-ui-kit-abstract.umd.js +431 -530
  6. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-classes.umd.js +7 -3
  8. package/bundles/taiga-ui-kit-classes.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-accordion.umd.js +578 -414
  10. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-action.umd.js +439 -313
  12. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-arrow.umd.js +81 -288
  14. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-avatar.umd.js +432 -310
  16. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-badge.umd.js +433 -309
  18. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-badged-content.umd.js +447 -320
  20. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +402 -344
  22. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +478 -343
  24. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +494 -365
  26. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-carousel.umd.js +601 -439
  28. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +460 -326
  30. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +424 -312
  32. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-checkbox.umd.js +438 -311
  34. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-combo-box.umd.js +548 -396
  36. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +493 -351
  38. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-files.umd.js +539 -392
  40. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-filter.umd.js +456 -325
  42. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-copy.umd.js +481 -346
  44. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-count.umd.js +546 -399
  46. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +587 -433
  48. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +566 -413
  50. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-date.umd.js +557 -399
  52. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-files.umd.js +553 -399
  54. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-inline.umd.js +434 -302
  56. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +517 -365
  58. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-month.umd.js +499 -349
  60. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-number.umd.js +551 -402
  62. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-password.umd.js +508 -362
  64. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +725 -825
  66. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-phone.umd.js +538 -399
  68. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-range.umd.js +567 -426
  70. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input-slider.umd.js +510 -457
  72. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-input-tag.umd.js +651 -490
  74. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-input-time.umd.js +509 -372
  76. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-input.umd.js +446 -329
  78. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-island.umd.js +435 -318
  80. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +441 -321
  82. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +408 -289
  84. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +380 -269
  86. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-multi-select.umd.js +755 -565
  88. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-pagination.umd.js +492 -354
  90. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +448 -314
  92. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-progress.umd.js +554 -485
  94. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-radio-block.umd.js +459 -340
  96. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-radio-group.umd.js +379 -271
  98. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +455 -328
  100. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-radio-list.umd.js +467 -328
  102. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-radio.umd.js +480 -346
  104. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-range.umd.js +553 -433
  106. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-rating.umd.js +458 -322
  108. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-select-option.umd.js +71 -282
  110. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-select.umd.js +496 -354
  112. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-slider.umd.js +584 -557
  114. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-stepper.umd.js +495 -363
  116. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-tabs.umd.js +731 -621
  118. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-tag.umd.js +539 -386
  120. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components-text-area.umd.js +534 -388
  122. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-components-toggle.umd.js +491 -348
  124. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-components-tree.umd.js +674 -496
  126. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  127. package/bundles/taiga-ui-kit-components.umd.js +123 -257
  128. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  129. package/bundles/taiga-ui-kit-constants.umd.js +23 -293
  130. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +441 -318
  132. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +67 -283
  134. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +1 -1
  135. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +465 -332
  136. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +1 -1
  137. package/bundles/taiga-ui-kit-directives-highlight.umd.js +410 -296
  138. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +426 -313
  140. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  141. package/bundles/taiga-ui-kit-directives-present.umd.js +63 -278
  142. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-directives-project-class.umd.js +381 -269
  144. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +65 -277
  146. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  147. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +60 -278
  148. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-directives.umd.js +21 -39
  150. package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-interfaces.umd.js +2 -2
  152. package/bundles/taiga-ui-kit-interfaces.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +441 -321
  154. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-internal.umd.js +5 -7
  156. package/bundles/taiga-ui-kit-internal.umd.js.map +1 -1
  157. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +443 -313
  158. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  159. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +406 -306
  160. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  161. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +43 -261
  162. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  163. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +44 -262
  164. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-pipes.umd.js +11 -19
  166. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  167. package/bundles/taiga-ui-kit-providers.umd.js +15 -16
  168. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  169. package/bundles/taiga-ui-kit-tokens.umd.js +46 -297
  170. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  171. package/bundles/taiga-ui-kit-types.umd.js +2 -2
  172. package/bundles/taiga-ui-kit-types.umd.js.map +1 -1
  173. package/bundles/taiga-ui-kit-utils-dom.umd.js +17 -15
  174. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +1 -1
  175. package/bundles/taiga-ui-kit-utils-files.umd.js +9 -5
  176. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  177. package/bundles/taiga-ui-kit-utils-format.umd.js +9 -5
  178. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  179. package/bundles/taiga-ui-kit-utils-mask.umd.js +354 -274
  180. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  181. package/bundles/taiga-ui-kit-utils-math.umd.js +336 -258
  182. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  183. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +347 -277
  184. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  185. package/bundles/taiga-ui-kit-utils.umd.js +15 -27
  186. package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
  187. package/bundles/taiga-ui-kit-validators.umd.js +8 -4
  188. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  189. package/bundles/taiga-ui-kit.umd.js +34 -50
  190. package/bundles/taiga-ui-kit.umd.js.map +1 -1
  191. package/classes/package.json +2 -5
  192. package/classes/stringifiable-item.d.ts +1 -1
  193. package/classes/taiga-ui-kit-classes.d.ts +1 -0
  194. package/components/accordion/accordion-item/accordion-item-content.directive.d.ts +3 -0
  195. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +3 -0
  196. package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -1
  197. package/components/accordion/accordion.component.d.ts +3 -0
  198. package/components/accordion/accordion.module.d.ts +12 -0
  199. package/components/accordion/package.json +2 -5
  200. package/components/accordion/taiga-ui-kit-components-accordion.d.ts +1 -0
  201. package/components/action/action.component.d.ts +3 -1
  202. package/components/action/action.module.d.ts +9 -0
  203. package/components/action/package.json +2 -5
  204. package/components/action/taiga-ui-kit-components-action.d.ts +1 -0
  205. package/components/arrow/arrow-options.d.ts +0 -2
  206. package/components/arrow/arrow.component.d.ts +5 -1
  207. package/components/arrow/arrow.module.d.ts +8 -0
  208. package/components/arrow/package.json +2 -5
  209. package/components/arrow/taiga-ui-kit-components-arrow.d.ts +1 -0
  210. package/components/avatar/avatar.component.d.ts +3 -0
  211. package/components/avatar/avatar.module.d.ts +7 -0
  212. package/components/avatar/package.json +2 -5
  213. package/components/avatar/taiga-ui-kit-components-avatar.d.ts +1 -0
  214. package/components/badge/badge.component.d.ts +5 -2
  215. package/components/badge/badge.module.d.ts +6 -0
  216. package/components/badge/package.json +2 -5
  217. package/components/badge/taiga-ui-kit-components-badge.d.ts +1 -0
  218. package/components/badged-content/badged-content.component.d.ts +7 -4
  219. package/components/badged-content/badged-content.module.d.ts +9 -0
  220. package/components/badged-content/package.json +2 -5
  221. package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +1 -0
  222. package/components/breadcrumbs/breadcrumbs.component.d.ts +11 -7
  223. package/components/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  224. package/components/breadcrumbs/index.d.ts +0 -2
  225. package/components/breadcrumbs/package.json +2 -5
  226. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +1 -0
  227. package/components/calendar-month/calendar-month.component.d.ts +3 -0
  228. package/components/calendar-month/calendar-month.module.d.ts +8 -0
  229. package/components/calendar-month/package.json +2 -5
  230. package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +1 -0
  231. package/components/calendar-range/calendar-range.component.d.ts +3 -2
  232. package/components/calendar-range/calendar-range.module.d.ts +9 -0
  233. package/components/calendar-range/package.json +2 -5
  234. package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +1 -0
  235. package/components/carousel/carousel-autoscroll.directive.d.ts +3 -0
  236. package/components/carousel/carousel-buttons.directive.d.ts +3 -2
  237. package/components/carousel/carousel-scroll.directive.d.ts +3 -0
  238. package/components/carousel/carousel.component.d.ts +3 -0
  239. package/components/carousel/carousel.directive.d.ts +3 -0
  240. package/components/carousel/carousel.module.d.ts +12 -0
  241. package/components/carousel/package.json +2 -5
  242. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +1 -0
  243. package/components/checkbox/checkbox.component.d.ts +3 -2
  244. package/components/checkbox/checkbox.module.d.ts +8 -0
  245. package/components/checkbox/package.json +2 -5
  246. package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +1 -0
  247. package/components/checkbox-block/checkbox-block.component.d.ts +3 -2
  248. package/components/checkbox-block/checkbox-block.module.d.ts +9 -0
  249. package/components/checkbox-block/package.json +2 -5
  250. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +1 -0
  251. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +3 -2
  252. package/components/checkbox-labeled/checkbox-labeled.module.d.ts +8 -0
  253. package/components/checkbox-labeled/package.json +2 -5
  254. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +1 -0
  255. package/components/combo-box/combo-box-strict.directive.d.ts +3 -0
  256. package/components/combo-box/combo-box.component.d.ts +3 -1
  257. package/components/combo-box/combo-box.directive.d.ts +3 -0
  258. package/components/combo-box/combo-box.module.d.ts +13 -0
  259. package/components/combo-box/combo-box.providers.d.ts +0 -1
  260. package/components/combo-box/package.json +2 -5
  261. package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +1 -0
  262. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +3 -0
  263. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +3 -0
  264. package/components/data-list-wrapper/data-list-wrapper.d.ts +3 -0
  265. package/components/data-list-wrapper/data-list-wrapper.module.d.ts +10 -0
  266. package/components/data-list-wrapper/package.json +2 -5
  267. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +1 -0
  268. package/components/files/file/file.component.d.ts +5 -2
  269. package/components/files/files.component.d.ts +3 -0
  270. package/components/files/files.module.d.ts +10 -0
  271. package/components/files/package.json +2 -5
  272. package/components/files/taiga-ui-kit-components-files.d.ts +1 -0
  273. package/components/filter/filter.component.d.ts +4 -2
  274. package/components/filter/filter.module.d.ts +11 -0
  275. package/components/filter/package.json +2 -5
  276. package/components/filter/taiga-ui-kit-components-filter.d.ts +1 -0
  277. package/components/index.d.ts +0 -2
  278. package/components/input/input.component.d.ts +4 -4
  279. package/components/input/input.directive.d.ts +3 -0
  280. package/components/input/input.module.d.ts +9 -0
  281. package/components/input/package.json +2 -5
  282. package/components/input/taiga-ui-kit-components-input.d.ts +1 -0
  283. package/components/input-copy/input-copy.component.d.ts +5 -4
  284. package/components/input-copy/input-copy.directive.d.ts +3 -0
  285. package/components/input-copy/input-copy.module.d.ts +9 -0
  286. package/components/input-copy/package.json +2 -5
  287. package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +1 -0
  288. package/components/input-count/input-count-options.d.ts +0 -7
  289. package/components/input-count/input-count.component.d.ts +3 -2
  290. package/components/input-count/input-count.directive.d.ts +3 -0
  291. package/components/input-count/input-count.module.d.ts +11 -0
  292. package/components/input-count/package.json +2 -5
  293. package/components/input-count/taiga-ui-kit-components-input-count.d.ts +1 -0
  294. package/components/input-date/input-date.component.d.ts +3 -1
  295. package/components/input-date/input-date.directive.d.ts +3 -0
  296. package/components/input-date/input-date.module.d.ts +12 -0
  297. package/components/input-date/input-date.providers.d.ts +0 -4
  298. package/components/input-date/package.json +2 -5
  299. package/components/input-date/taiga-ui-kit-components-input-date.d.ts +1 -0
  300. package/components/input-date-range/input-date-range.component.d.ts +3 -2
  301. package/components/input-date-range/input-date-range.directive.d.ts +3 -0
  302. package/components/input-date-range/input-date-range.module.d.ts +13 -0
  303. package/components/input-date-range/input-date-range.providers.d.ts +0 -4
  304. package/components/input-date-range/package.json +2 -5
  305. package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +1 -0
  306. package/components/input-date-time/input-date-time.component.d.ts +11 -3
  307. package/components/input-date-time/input-date-time.directive.d.ts +3 -0
  308. package/components/input-date-time/input-date-time.module.d.ts +12 -0
  309. package/components/input-date-time/input-date-time.providers.d.ts +0 -4
  310. package/components/input-date-time/package.json +2 -5
  311. package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +1 -0
  312. package/components/input-files/input-files.component.d.ts +3 -2
  313. package/components/input-files/input-files.module.d.ts +10 -0
  314. package/components/input-files/package.json +2 -5
  315. package/components/input-files/taiga-ui-kit-components-input-files.d.ts +1 -0
  316. package/components/input-inline/input-inline.component.d.ts +3 -0
  317. package/components/input-inline/input-inline.module.d.ts +9 -0
  318. package/components/input-inline/package.json +2 -5
  319. package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +1 -0
  320. package/components/input-month/input-month.component.d.ts +3 -1
  321. package/components/input-month/input-month.directive.d.ts +3 -0
  322. package/components/input-month/input-month.module.d.ts +10 -0
  323. package/components/input-month/package.json +2 -5
  324. package/components/input-month/taiga-ui-kit-components-input-month.d.ts +1 -0
  325. package/components/input-month-range/input-month-range.component.d.ts +3 -1
  326. package/components/input-month-range/input-month-range.directive.d.ts +3 -0
  327. package/components/input-month-range/input-month-range.module.d.ts +10 -0
  328. package/components/input-month-range/package.json +2 -5
  329. package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +1 -0
  330. package/components/input-number/input-number.component.d.ts +7 -6
  331. package/components/input-number/input-number.directive.d.ts +3 -0
  332. package/components/input-number/input-number.module.d.ts +12 -0
  333. package/components/input-number/package.json +2 -5
  334. package/components/input-number/taiga-ui-kit-components-input-number.d.ts +1 -0
  335. package/components/input-password/input-password-options.d.ts +0 -7
  336. package/components/input-password/input-password.component.d.ts +7 -6
  337. package/components/input-password/input-password.directive.d.ts +3 -0
  338. package/components/input-password/input-password.module.d.ts +11 -0
  339. package/components/input-password/package.json +2 -5
  340. package/components/input-password/taiga-ui-kit-components-input-password.d.ts +1 -0
  341. package/components/input-phone/input-phone.component.d.ts +5 -3
  342. package/components/input-phone/input-phone.directive.d.ts +3 -0
  343. package/components/input-phone/input-phone.module.d.ts +10 -0
  344. package/components/input-phone/package.json +2 -5
  345. package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +1 -0
  346. package/components/input-phone-international/const/mask-after-code-regexp.d.ts +1 -0
  347. package/components/input-phone-international/index.d.ts +1 -3
  348. package/components/input-phone-international/input-phone-international.component.d.ts +3 -0
  349. package/components/input-phone-international/input-phone-international.module.d.ts +12 -0
  350. package/components/input-phone-international/package.json +2 -5
  351. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +1 -0
  352. package/components/input-range/input-range.component.d.ts +12 -11
  353. package/components/input-range/input-range.module.d.ts +12 -0
  354. package/components/input-range/package.json +2 -5
  355. package/components/input-range/taiga-ui-kit-components-input-range.d.ts +1 -0
  356. package/components/input-slider/input-slider.component.d.ts +11 -34
  357. package/components/input-slider/input-slider.module.d.ts +11 -0
  358. package/components/input-slider/package.json +2 -5
  359. package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +1 -0
  360. package/components/input-tag/input-tag.component.d.ts +10 -10
  361. package/components/input-tag/input-tag.module.d.ts +11 -0
  362. package/components/input-tag/package.json +2 -5
  363. package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +1 -0
  364. package/components/input-time/input-time-options.d.ts +0 -6
  365. package/components/input-time/input-time.component.d.ts +3 -1
  366. package/components/input-time/input-time.module.d.ts +9 -0
  367. package/components/input-time/package.json +2 -5
  368. package/components/input-time/taiga-ui-kit-components-input-time.d.ts +1 -0
  369. package/components/island/island.component.d.ts +3 -0
  370. package/components/island/island.module.d.ts +6 -0
  371. package/components/island/package.json +2 -5
  372. package/components/island/taiga-ui-kit-components-island.d.ts +1 -0
  373. package/components/line-clamp/line-clamp.component.d.ts +5 -2
  374. package/components/line-clamp/line-clamp.module.d.ts +9 -0
  375. package/components/line-clamp/package.json +2 -5
  376. package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +1 -0
  377. package/components/marker-icon/marker-icon.component.d.ts +5 -2
  378. package/components/marker-icon/marker-icon.module.d.ts +7 -0
  379. package/components/marker-icon/package.json +2 -5
  380. package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +1 -0
  381. package/components/multi-select/hide-selected.pipe.d.ts +5 -2
  382. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -0
  383. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +4 -6
  384. package/components/multi-select/multi-select.component.d.ts +3 -3
  385. package/components/multi-select/multi-select.module.d.ts +16 -0
  386. package/components/multi-select/package.json +2 -5
  387. package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +1 -0
  388. package/components/multi-select-option/multi-select-option.component.d.ts +3 -0
  389. package/components/multi-select-option/multi-select-option.module.d.ts +7 -0
  390. package/components/multi-select-option/package.json +2 -5
  391. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +1 -0
  392. package/components/package.json +2 -5
  393. package/components/pagination/package.json +2 -5
  394. package/components/pagination/pagination.component.d.ts +3 -1
  395. package/components/pagination/pagination.module.d.ts +9 -0
  396. package/components/pagination/taiga-ui-kit-components-pagination.d.ts +1 -0
  397. package/components/pdf-viewer/package.json +2 -5
  398. package/components/pdf-viewer/pdf-viewer.component.d.ts +3 -0
  399. package/components/pdf-viewer/pdf-viewer.directive.d.ts +3 -0
  400. package/components/pdf-viewer/pdf-viewer.module.d.ts +9 -0
  401. package/components/pdf-viewer/pdf-viewer.service.d.ts +4 -1
  402. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +1 -0
  403. package/components/progress/index.d.ts +0 -3
  404. package/components/progress/package.json +2 -5
  405. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -0
  406. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +3 -0
  407. package/components/progress/progress-circle/progress-circle.component.d.ts +3 -0
  408. package/components/progress/progress-label/progress-label.component.d.ts +3 -0
  409. package/components/progress/progress-segmented/progress-segmented.component.d.ts +3 -0
  410. package/components/progress/progress.module.d.ts +11 -0
  411. package/components/progress/taiga-ui-kit-components-progress.d.ts +1 -0
  412. package/components/radio/package.json +2 -5
  413. package/components/radio/radio-options.d.ts +0 -5
  414. package/components/radio/radio.component.d.ts +3 -2
  415. package/components/radio/radio.module.d.ts +8 -0
  416. package/components/radio/taiga-ui-kit-components-radio.d.ts +1 -0
  417. package/components/radio-block/package.json +2 -5
  418. package/components/radio-block/radio-block.component.d.ts +3 -2
  419. package/components/radio-block/radio-block.module.d.ts +8 -0
  420. package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +1 -0
  421. package/components/radio-group/package.json +2 -5
  422. package/components/radio-group/radio-group.component.d.ts +3 -0
  423. package/components/radio-group/radio-group.module.d.ts +5 -0
  424. package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +1 -0
  425. package/components/radio-labeled/package.json +2 -5
  426. package/components/radio-labeled/radio-labeled.component.d.ts +3 -2
  427. package/components/radio-labeled/radio-labeled.module.d.ts +9 -0
  428. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +1 -0
  429. package/components/radio-list/package.json +2 -5
  430. package/components/radio-list/radio-list.component.d.ts +5 -5
  431. package/components/radio-list/radio-list.module.d.ts +10 -0
  432. package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +1 -0
  433. package/components/range/package.json +2 -5
  434. package/components/range/range-change.directive.d.ts +3 -0
  435. package/components/range/range.component.d.ts +5 -9
  436. package/components/range/range.module.d.ts +10 -0
  437. package/components/range/taiga-ui-kit-components-range.d.ts +1 -0
  438. package/components/rating/package.json +2 -5
  439. package/components/rating/rating.component.d.ts +3 -0
  440. package/components/rating/rating.module.d.ts +8 -0
  441. package/components/rating/taiga-ui-kit-components-rating.d.ts +1 -0
  442. package/components/select/package.json +2 -5
  443. package/components/select/select.component.d.ts +3 -1
  444. package/components/select/select.directive.d.ts +3 -0
  445. package/components/select/select.module.d.ts +12 -0
  446. package/components/select/select.providers.d.ts +0 -1
  447. package/components/select/taiga-ui-kit-components-select.d.ts +1 -0
  448. package/components/select-option/package.json +2 -5
  449. package/components/select-option/select-option.component.d.ts +4 -1
  450. package/components/select-option/select-option.module.d.ts +7 -0
  451. package/components/select-option/taiga-ui-kit-components-select-option.d.ts +1 -0
  452. package/components/slider/helpers/slider-key-steps.directive.d.ts +4 -9
  453. package/components/slider/helpers/slider-readonly.directive.d.ts +3 -0
  454. package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +3 -0
  455. package/components/slider/index.d.ts +0 -1
  456. package/components/slider/package.json +2 -5
  457. package/components/slider/slider.component.d.ts +3 -0
  458. package/components/slider/slider.module.d.ts +9 -0
  459. package/components/slider/taiga-ui-kit-components-slider.d.ts +1 -0
  460. package/components/stepper/package.json +2 -5
  461. package/components/stepper/step/step.component.d.ts +3 -0
  462. package/components/stepper/stepper.component.d.ts +5 -2
  463. package/components/stepper/stepper.module.d.ts +8 -0
  464. package/components/stepper/taiga-ui-kit-components-stepper.d.ts +1 -0
  465. package/components/tabs/index.d.ts +0 -1
  466. package/components/tabs/package.json +2 -5
  467. package/components/tabs/tab/tab.component.d.ts +4 -3
  468. package/components/tabs/tab/tab.providers.d.ts +1 -1
  469. package/components/tabs/tabs/tabs.component.d.ts +4 -6
  470. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +3 -0
  471. package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +0 -5
  472. package/components/tabs/tabs.module.d.ts +12 -0
  473. package/components/tabs/taiga-ui-kit-components-tabs.d.ts +1 -0
  474. package/components/tabs/underline/underline.component.d.ts +4 -6
  475. package/components/tag/package.json +2 -5
  476. package/components/tag/tag-options.d.ts +2 -2
  477. package/components/tag/tag.component.d.ts +6 -3
  478. package/components/tag/tag.module.d.ts +10 -0
  479. package/components/tag/taiga-ui-kit-components-tag.d.ts +1 -0
  480. package/components/taiga-ui-kit-components.d.ts +1 -0
  481. package/components/text-area/package.json +2 -5
  482. package/components/text-area/taiga-ui-kit-components-text-area.d.ts +1 -0
  483. package/components/text-area/text-area.component.d.ts +3 -2
  484. package/components/text-area/text-area.directive.d.ts +3 -0
  485. package/components/text-area/text-area.module.d.ts +10 -0
  486. package/components/toggle/package.json +2 -5
  487. package/components/toggle/taiga-ui-kit-components-toggle.d.ts +1 -0
  488. package/components/toggle/toggle-options.d.ts +0 -5
  489. package/components/toggle/toggle.component.d.ts +3 -2
  490. package/components/toggle/toggle.module.d.ts +9 -0
  491. package/components/tree/components/tree/tree.component.d.ts +3 -0
  492. package/components/tree/components/tree-item/tree-item.component.d.ts +3 -0
  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/dropdown-context/dropdown-context.directive.d.ts +5 -2
  507. package/directives/dropdown-context/dropdown-context.module.d.ts +6 -0
  508. package/directives/dropdown-context/package.json +2 -5
  509. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.d.ts +1 -0
  510. package/directives/dropdown-hover/dropdown-hover.directive.d.ts +3 -0
  511. package/directives/dropdown-hover/dropdown-hover.module.d.ts +5 -0
  512. package/directives/dropdown-hover/package.json +2 -5
  513. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.d.ts +1 -0
  514. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +5 -2
  515. package/directives/dropdown-selection/dropdown-selection.module.d.ts +6 -0
  516. package/directives/dropdown-selection/package.json +2 -5
  517. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.d.ts +1 -0
  518. package/directives/highlight/highlight.directive.d.ts +3 -0
  519. package/directives/highlight/highlight.module.d.ts +5 -0
  520. package/directives/highlight/package.json +2 -5
  521. package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +1 -0
  522. package/directives/lazy-loading/lazy-loading.directive.d.ts +3 -0
  523. package/directives/lazy-loading/lazy-loading.module.d.ts +5 -0
  524. package/directives/lazy-loading/lazy-loading.service.d.ts +3 -0
  525. package/directives/lazy-loading/package.json +2 -5
  526. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +1 -0
  527. package/directives/package.json +2 -5
  528. package/directives/present/package.json +2 -5
  529. package/directives/present/present.directive.d.ts +3 -0
  530. package/directives/present/present.module.d.ts +5 -0
  531. package/directives/present/taiga-ui-kit-directives-present.d.ts +1 -0
  532. package/directives/project-class/package.json +2 -5
  533. package/directives/project-class/project-class.directive.d.ts +3 -0
  534. package/directives/project-class/project-class.module.d.ts +5 -0
  535. package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +1 -0
  536. package/directives/taiga-ui-kit-directives.d.ts +1 -0
  537. package/directives/unfinished-validator/package.json +2 -5
  538. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +1 -0
  539. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +3 -0
  540. package/directives/unfinished-validator/unfinished-validator.module.d.ts +5 -0
  541. package/directives/value-accessor/package.json +2 -5
  542. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +1 -0
  543. package/directives/value-accessor/value-accessor.directive.d.ts +3 -0
  544. package/directives/value-accessor/value-accessor.module.d.ts +5 -0
  545. package/esm2015/abstract/index.js +1 -2
  546. package/esm2015/abstract/slider/slider.js +56 -54
  547. package/esm2015/abstract/taiga-ui-kit-abstract.js +1 -1
  548. package/esm2015/classes/day-range-period.js +1 -1
  549. package/esm2015/classes/index.js +1 -1
  550. package/esm2015/classes/named-day.js +1 -1
  551. package/esm2015/classes/stringifiable-item.js +1 -1
  552. package/esm2015/classes/taiga-ui-kit-classes.js +1 -1
  553. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +20 -17
  554. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +12 -10
  555. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +90 -66
  556. package/esm2015/components/accordion/accordion.component.js +29 -23
  557. package/esm2015/components/accordion/accordion.module.js +49 -25
  558. package/esm2015/components/accordion/index.js +1 -1
  559. package/esm2015/components/accordion/taiga-ui-kit-components-accordion.js +1 -1
  560. package/esm2015/components/action/action.component.js +56 -47
  561. package/esm2015/components/action/action.module.js +26 -13
  562. package/esm2015/components/action/index.js +1 -1
  563. package/esm2015/components/action/taiga-ui-kit-components-action.js +1 -1
  564. package/esm2015/components/arrow/arrow-options.js +5 -8
  565. package/esm2015/components/arrow/arrow.component.js +35 -23
  566. package/esm2015/components/arrow/arrow.module.js +16 -13
  567. package/esm2015/components/arrow/index.js +1 -1
  568. package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +1 -1
  569. package/esm2015/components/avatar/avatar-options.js +3 -3
  570. package/esm2015/components/avatar/avatar.component.js +49 -35
  571. package/esm2015/components/avatar/avatar.module.js +15 -12
  572. package/esm2015/components/avatar/index.js +1 -1
  573. package/esm2015/components/avatar/taiga-ui-kit-components-avatar.js +1 -1
  574. package/esm2015/components/badge/badge.component.js +58 -43
  575. package/esm2015/components/badge/badge.module.js +15 -12
  576. package/esm2015/components/badge/index.js +1 -1
  577. package/esm2015/components/badge/taiga-ui-kit-components-badge.js +1 -1
  578. package/esm2015/components/badged-content/badged-content.component.js +64 -43
  579. package/esm2015/components/badged-content/badged-content.module.js +15 -12
  580. package/esm2015/components/badged-content/index.js +1 -1
  581. package/esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js +1 -1
  582. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +45 -25
  583. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +17 -33
  584. package/esm2015/components/breadcrumbs/index.js +1 -3
  585. package/esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +1 -1
  586. package/esm2015/components/calendar-month/calendar-month.component.js +52 -42
  587. package/esm2015/components/calendar-month/calendar-month.module.js +34 -13
  588. package/esm2015/components/calendar-month/index.js +1 -1
  589. package/esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js +1 -1
  590. package/esm2015/components/calendar-range/calendar-range.component.js +60 -48
  591. package/esm2015/components/calendar-range/calendar-range.module.js +32 -13
  592. package/esm2015/components/calendar-range/index.js +1 -1
  593. package/esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js +1 -1
  594. package/esm2015/components/carousel/carousel-autoscroll.directive.js +17 -16
  595. package/esm2015/components/carousel/carousel-buttons.directive.js +26 -23
  596. package/esm2015/components/carousel/carousel-scroll.directive.js +18 -18
  597. package/esm2015/components/carousel/carousel.component.js +73 -49
  598. package/esm2015/components/carousel/carousel.directive.js +22 -20
  599. package/esm2015/components/carousel/carousel.module.js +44 -24
  600. package/esm2015/components/carousel/index.js +1 -1
  601. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +1 -1
  602. package/esm2015/components/checkbox/checkbox.component.js +54 -44
  603. package/esm2015/components/checkbox/checkbox.module.js +29 -16
  604. package/esm2015/components/checkbox/index.js +1 -1
  605. package/esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js +1 -1
  606. package/esm2015/components/checkbox-block/checkbox-block.component.js +72 -55
  607. package/esm2015/components/checkbox-block/checkbox-block.module.js +26 -13
  608. package/esm2015/components/checkbox-block/index.js +1 -1
  609. package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +1 -1
  610. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +60 -49
  611. package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +15 -19
  612. package/esm2015/components/checkbox-labeled/index.js +1 -1
  613. package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +1 -1
  614. package/esm2015/components/combo-box/combo-box-strict.directive.js +22 -18
  615. package/esm2015/components/combo-box/combo-box.component.js +71 -57
  616. package/esm2015/components/combo-box/combo-box.directive.js +23 -17
  617. package/esm2015/components/combo-box/combo-box.module.js +48 -23
  618. package/esm2015/components/combo-box/combo-box.providers.js +2 -4
  619. package/esm2015/components/combo-box/index.js +1 -1
  620. package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +1 -1
  621. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +40 -28
  622. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +36 -25
  623. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +24 -21
  624. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +32 -17
  625. package/esm2015/components/data-list-wrapper/index.js +1 -1
  626. package/esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +1 -1
  627. package/esm2015/components/files/file/file.component.js +78 -63
  628. package/esm2015/components/files/files.component.js +33 -27
  629. package/esm2015/components/files/files.module.js +34 -13
  630. package/esm2015/components/files/index.js +1 -1
  631. package/esm2015/components/files/taiga-ui-kit-components-files.js +1 -1
  632. package/esm2015/components/filter/filter.component.js +55 -44
  633. package/esm2015/components/filter/filter.module.js +28 -13
  634. package/esm2015/components/filter/index.js +1 -1
  635. package/esm2015/components/filter/taiga-ui-kit-components-filter.js +1 -1
  636. package/esm2015/components/index.js +1 -3
  637. package/esm2015/components/input/index.js +1 -1
  638. package/esm2015/components/input/input.component.js +43 -49
  639. package/esm2015/components/input/input.directive.js +23 -17
  640. package/esm2015/components/input/input.module.js +24 -13
  641. package/esm2015/components/input/input.providers.js +1 -1
  642. package/esm2015/components/input/taiga-ui-kit-components-input.js +1 -1
  643. package/esm2015/components/input-copy/index.js +1 -1
  644. package/esm2015/components/input-copy/input-copy.component.js +60 -50
  645. package/esm2015/components/input-copy/input-copy.directive.js +23 -17
  646. package/esm2015/components/input-copy/input-copy.module.js +32 -14
  647. package/esm2015/components/input-copy/input-copy.providers.js +1 -1
  648. package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +1 -1
  649. package/esm2015/components/input-count/index.js +1 -1
  650. package/esm2015/components/input-count/input-count-options.js +6 -9
  651. package/esm2015/components/input-count/input-count.component.js +101 -77
  652. package/esm2015/components/input-count/input-count.directive.js +25 -19
  653. package/esm2015/components/input-count/input-count.module.js +30 -13
  654. package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +1 -1
  655. package/esm2015/components/input-date/index.js +1 -1
  656. package/esm2015/components/input-date/input-date.component.js +95 -69
  657. package/esm2015/components/input-date/input-date.directive.js +24 -18
  658. package/esm2015/components/input-date/input-date.module.js +40 -13
  659. package/esm2015/components/input-date/input-date.providers.js +4 -6
  660. package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +1 -1
  661. package/esm2015/components/input-date-range/index.js +1 -1
  662. package/esm2015/components/input-date-range/input-date-range.component.js +106 -80
  663. package/esm2015/components/input-date-range/input-date-range.directive.js +24 -18
  664. package/esm2015/components/input-date-range/input-date-range.module.js +44 -17
  665. package/esm2015/components/input-date-range/input-date-range.providers.js +4 -6
  666. package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +1 -1
  667. package/esm2015/components/input-date-time/index.js +1 -1
  668. package/esm2015/components/input-date-time/input-date-time.component.js +88 -66
  669. package/esm2015/components/input-date-time/input-date-time.directive.js +24 -18
  670. package/esm2015/components/input-date-time/input-date-time.module.js +44 -17
  671. package/esm2015/components/input-date-time/input-date-time.providers.js +4 -6
  672. package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +1 -1
  673. package/esm2015/components/input-files/index.js +1 -1
  674. package/esm2015/components/input-files/input-files.component.js +90 -72
  675. package/esm2015/components/input-files/input-files.module.js +56 -18
  676. package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +1 -1
  677. package/esm2015/components/input-inline/index.js +1 -1
  678. package/esm2015/components/input-inline/input-inline.component.js +53 -38
  679. package/esm2015/components/input-inline/input-inline.module.js +26 -13
  680. package/esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js +1 -1
  681. package/esm2015/components/input-month/index.js +1 -1
  682. package/esm2015/components/input-month/input-month.component.js +50 -38
  683. package/esm2015/components/input-month/input-month.directive.js +40 -29
  684. package/esm2015/components/input-month/input-month.module.js +34 -14
  685. package/esm2015/components/input-month/input-month.providers.js +1 -1
  686. package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +1 -1
  687. package/esm2015/components/input-month-range/index.js +1 -1
  688. package/esm2015/components/input-month-range/input-month-range.component.js +51 -39
  689. package/esm2015/components/input-month-range/input-month-range.directive.js +41 -30
  690. package/esm2015/components/input-month-range/input-month-range.module.js +42 -18
  691. package/esm2015/components/input-month-range/input-month-range.providers.js +1 -1
  692. package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +1 -1
  693. package/esm2015/components/input-number/index.js +1 -1
  694. package/esm2015/components/input-number/input-number.component.js +102 -78
  695. package/esm2015/components/input-number/input-number.directive.js +24 -18
  696. package/esm2015/components/input-number/input-number.module.js +30 -13
  697. package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +1 -1
  698. package/esm2015/components/input-password/index.js +1 -1
  699. package/esm2015/components/input-password/input-password-options.js +4 -7
  700. package/esm2015/components/input-password/input-password.component.js +78 -58
  701. package/esm2015/components/input-password/input-password.directive.js +24 -18
  702. package/esm2015/components/input-password/input-password.module.js +38 -17
  703. package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +1 -1
  704. package/esm2015/components/input-phone/index.js +1 -1
  705. package/esm2015/components/input-phone/input-phone.component.js +93 -79
  706. package/esm2015/components/input-phone/input-phone.directive.js +24 -18
  707. package/esm2015/components/input-phone/input-phone.module.js +28 -13
  708. package/esm2015/components/input-phone/input-phone.options.js +4 -4
  709. package/esm2015/components/input-phone/input-phone.providers.js +3 -3
  710. package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +1 -1
  711. package/esm2015/components/input-phone-international/const/mask-after-code-regexp.js +2 -0
  712. package/esm2015/components/input-phone-international/index.js +2 -3
  713. package/esm2015/components/input-phone-international/input-phone-international.component.js +86 -65
  714. package/esm2015/components/input-phone-international/input-phone-international.module.js +46 -13
  715. package/esm2015/components/input-phone-international/input-phone-international.options.js +2 -2
  716. package/esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +1 -1
  717. package/esm2015/components/input-phone-international/tokens/countries-masks.js +212 -4
  718. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +2 -2
  719. package/esm2015/components/input-range/index.js +1 -1
  720. package/esm2015/components/input-range/input-range.component.js +137 -124
  721. package/esm2015/components/input-range/input-range.module.js +35 -18
  722. package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +1 -1
  723. package/esm2015/components/input-slider/index.js +1 -1
  724. package/esm2015/components/input-slider/input-slider.component.js +96 -157
  725. package/esm2015/components/input-slider/input-slider.module.js +33 -23
  726. package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +1 -1
  727. package/esm2015/components/input-tag/index.js +1 -1
  728. package/esm2015/components/input-tag/input-tag-options.js +3 -3
  729. package/esm2015/components/input-tag/input-tag.component.js +176 -142
  730. package/esm2015/components/input-tag/input-tag.module.js +41 -14
  731. package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +1 -1
  732. package/esm2015/components/input-time/index.js +1 -1
  733. package/esm2015/components/input-time/input-time-options.js +6 -8
  734. package/esm2015/components/input-time/input-time.component.js +78 -58
  735. package/esm2015/components/input-time/input-time.module.js +30 -13
  736. package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +1 -1
  737. package/esm2015/components/island/index.js +1 -1
  738. package/esm2015/components/island/island.component.js +58 -47
  739. package/esm2015/components/island/island.module.js +15 -12
  740. package/esm2015/components/island/taiga-ui-kit-components-island.js +1 -1
  741. package/esm2015/components/line-clamp/index.js +1 -1
  742. package/esm2015/components/line-clamp/line-clamp-options.js +2 -2
  743. package/esm2015/components/line-clamp/line-clamp.component.js +61 -49
  744. package/esm2015/components/line-clamp/line-clamp.module.js +15 -12
  745. package/esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js +1 -1
  746. package/esm2015/components/marker-icon/index.js +1 -1
  747. package/esm2015/components/marker-icon/marker-icon.component.js +39 -29
  748. package/esm2015/components/marker-icon/marker-icon.module.js +15 -12
  749. package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +1 -1
  750. package/esm2015/components/multi-select/hide-selected.pipe.js +22 -19
  751. package/esm2015/components/multi-select/index.js +1 -1
  752. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +47 -34
  753. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +56 -34
  754. package/esm2015/components/multi-select/multi-select-options.js +3 -3
  755. package/esm2015/components/multi-select/multi-select.component.js +113 -91
  756. package/esm2015/components/multi-select/multi-select.module.js +65 -26
  757. package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +1 -1
  758. package/esm2015/components/multi-select-option/index.js +1 -1
  759. package/esm2015/components/multi-select-option/multi-select-option.component.js +18 -14
  760. package/esm2015/components/multi-select-option/multi-select-option.module.js +16 -13
  761. package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +1 -1
  762. package/esm2015/components/pagination/index.js +1 -1
  763. package/esm2015/components/pagination/pagination.component.js +71 -55
  764. package/esm2015/components/pagination/pagination.module.js +30 -13
  765. package/esm2015/components/pagination/taiga-ui-kit-components-pagination.js +1 -1
  766. package/esm2015/components/pdf-viewer/index.js +2 -1
  767. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +2 -1
  768. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +39 -31
  769. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +25 -18
  770. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +29 -20
  771. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +12 -13
  772. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +1 -1
  773. package/esm2015/components/progress/index.js +1 -4
  774. package/esm2015/components/progress/progress-bar/progress-bar.component.js +26 -19
  775. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +39 -31
  776. package/esm2015/components/progress/progress-circle/progress-circle.component.js +48 -36
  777. package/esm2015/components/progress/progress-label/progress-label.component.js +15 -13
  778. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +33 -25
  779. package/esm2015/components/progress/progress.module.js +35 -30
  780. package/esm2015/components/progress/taiga-ui-kit-components-progress.js +1 -1
  781. package/esm2015/components/radio/index.js +1 -1
  782. package/esm2015/components/radio/radio-options.js +3 -3
  783. package/esm2015/components/radio/radio.component.js +78 -61
  784. package/esm2015/components/radio/radio.module.js +29 -16
  785. package/esm2015/components/radio/taiga-ui-kit-components-radio.js +1 -1
  786. package/esm2015/components/radio-block/index.js +1 -1
  787. package/esm2015/components/radio-block/radio-block.component.js +79 -61
  788. package/esm2015/components/radio-block/radio-block.module.js +15 -19
  789. package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +1 -1
  790. package/esm2015/components/radio-group/index.js +1 -1
  791. package/esm2015/components/radio-group/radio-group.component.js +17 -14
  792. package/esm2015/components/radio-group/radio-group.module.js +14 -11
  793. package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +1 -1
  794. package/esm2015/components/radio-labeled/index.js +1 -1
  795. package/esm2015/components/radio-labeled/radio-labeled.component.js +67 -55
  796. package/esm2015/components/radio-labeled/radio-labeled.module.js +27 -16
  797. package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +1 -1
  798. package/esm2015/components/radio-list/index.js +1 -1
  799. package/esm2015/components/radio-list/radio-list.component.js +71 -49
  800. package/esm2015/components/radio-list/radio-list.module.js +26 -13
  801. package/esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js +1 -1
  802. package/esm2015/components/range/index.js +1 -1
  803. package/esm2015/components/range/range-change.directive.js +38 -33
  804. package/esm2015/components/range/range.component.js +116 -109
  805. package/esm2015/components/range/range.module.js +17 -22
  806. package/esm2015/components/range/taiga-ui-kit-components-range.js +1 -1
  807. package/esm2015/components/rating/index.js +1 -1
  808. package/esm2015/components/rating/rating-options.js +4 -4
  809. package/esm2015/components/rating/rating.component.js +63 -44
  810. package/esm2015/components/rating/rating.module.js +26 -13
  811. package/esm2015/components/rating/taiga-ui-kit-components-rating.js +1 -1
  812. package/esm2015/components/select/index.js +1 -1
  813. package/esm2015/components/select/select-options.js +3 -3
  814. package/esm2015/components/select/select.component.js +64 -50
  815. package/esm2015/components/select/select.directive.js +23 -17
  816. package/esm2015/components/select/select.module.js +34 -14
  817. package/esm2015/components/select/select.providers.js +2 -4
  818. package/esm2015/components/select/taiga-ui-kit-components-select.js +1 -1
  819. package/esm2015/components/select-option/index.js +1 -1
  820. package/esm2015/components/select-option/select-option.component.js +36 -29
  821. package/esm2015/components/select-option/select-option.module.js +16 -13
  822. package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +1 -1
  823. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +49 -60
  824. package/esm2015/components/slider/helpers/slider-readonly.directive.js +44 -38
  825. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +24 -21
  826. package/esm2015/components/slider/index.js +1 -2
  827. package/esm2015/components/slider/slider-options.js +4 -4
  828. package/esm2015/components/slider/slider.component.js +71 -58
  829. package/esm2015/components/slider/slider.module.js +32 -37
  830. package/esm2015/components/slider/taiga-ui-kit-components-slider.js +1 -1
  831. package/esm2015/components/stepper/index.js +1 -1
  832. package/esm2015/components/stepper/step/step.component.js +63 -49
  833. package/esm2015/components/stepper/stepper.component.js +52 -40
  834. package/esm2015/components/stepper/stepper.module.js +15 -12
  835. package/esm2015/components/stepper/taiga-ui-kit-components-stepper.js +1 -1
  836. package/esm2015/components/tabs/index.js +1 -2
  837. package/esm2015/components/tabs/tab/tab.component.js +57 -61
  838. package/esm2015/components/tabs/tab/tab.providers.js +6 -8
  839. package/esm2015/components/tabs/tabs/tabs.component.js +85 -80
  840. package/esm2015/components/tabs/tabs-options.js +2 -2
  841. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +74 -55
  842. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +7 -9
  843. package/esm2015/components/tabs/tabs.module.js +46 -26
  844. package/esm2015/components/tabs/taiga-ui-kit-components-tabs.js +1 -1
  845. package/esm2015/components/tabs/underline/underline.component.js +53 -64
  846. package/esm2015/components/tag/index.js +1 -1
  847. package/esm2015/components/tag/tag-options.js +4 -4
  848. package/esm2015/components/tag/tag.component.js +105 -73
  849. package/esm2015/components/tag/tag.module.js +28 -13
  850. package/esm2015/components/tag/taiga-ui-kit-components-tag.js +1 -1
  851. package/esm2015/components/taiga-ui-kit-components.js +1 -1
  852. package/esm2015/components/text-area/index.js +1 -1
  853. package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +1 -1
  854. package/esm2015/components/text-area/text-area.component.js +95 -81
  855. package/esm2015/components/text-area/text-area.directive.js +23 -17
  856. package/esm2015/components/text-area/text-area.module.js +35 -15
  857. package/esm2015/components/text-area/text-area.providers.js +1 -1
  858. package/esm2015/components/toggle/index.js +1 -1
  859. package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +1 -1
  860. package/esm2015/components/toggle/toggle-options.js +5 -5
  861. package/esm2015/components/toggle/toggle.component.js +76 -59
  862. package/esm2015/components/toggle/toggle.module.js +37 -15
  863. package/esm2015/components/tree/components/tree/tree.component.js +51 -41
  864. package/esm2015/components/tree/components/tree-item/tree-item.component.js +41 -34
  865. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +1 -1
  866. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +26 -22
  867. package/esm2015/components/tree/directives/tree-children.directive.js +15 -12
  868. package/esm2015/components/tree/directives/tree-controller.directive.js +39 -26
  869. package/esm2015/components/tree/directives/tree-item-controller.directive.js +27 -18
  870. package/esm2015/components/tree/directives/tree-node.directive.js +24 -20
  871. package/esm2015/components/tree/index.js +2 -1
  872. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  873. package/esm2015/components/tree/misc/tree.interfaces.js +2 -1
  874. package/esm2015/components/tree/misc/tree.service.js +19 -18
  875. package/esm2015/components/tree/misc/tree.tokens.js +9 -9
  876. package/esm2015/components/tree/taiga-ui-kit-components-tree.js +1 -1
  877. package/esm2015/components/tree/tree.module.js +51 -28
  878. package/esm2015/constants/date-time-separator.js +2 -2
  879. package/esm2015/constants/empty-mask.js +1 -1
  880. package/esm2015/constants/group-class-names.js +10 -10
  881. package/esm2015/constants/icon-blank.js +2 -2
  882. package/esm2015/constants/index.js +1 -1
  883. package/esm2015/constants/masks.js +6 -31
  884. package/esm2015/constants/math.js +1 -1
  885. package/esm2015/constants/max-day-range-length-mapper.js +1 -1
  886. package/esm2015/constants/max-time-values.js +1 -1
  887. package/esm2015/constants/router-link-options.js +2 -2
  888. package/esm2015/constants/taiga-ui-kit-constants.js +1 -1
  889. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +73 -57
  890. package/esm2015/directives/dropdown-context/dropdown-context.module.js +15 -12
  891. package/esm2015/directives/dropdown-context/index.js +1 -1
  892. package/esm2015/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +1 -1
  893. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +34 -28
  894. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +14 -11
  895. package/esm2015/directives/dropdown-hover/index.js +1 -1
  896. package/esm2015/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +1 -1
  897. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +99 -74
  898. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +15 -12
  899. package/esm2015/directives/dropdown-selection/index.js +1 -1
  900. package/esm2015/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +1 -1
  901. package/esm2015/directives/highlight/highlight.directive.js +48 -43
  902. package/esm2015/directives/highlight/highlight.module.js +14 -11
  903. package/esm2015/directives/highlight/index.js +1 -1
  904. package/esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js +1 -1
  905. package/esm2015/directives/index.js +1 -1
  906. package/esm2015/directives/lazy-loading/index.js +1 -1
  907. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +40 -37
  908. package/esm2015/directives/lazy-loading/lazy-loading.module.js +14 -11
  909. package/esm2015/directives/lazy-loading/lazy-loading.service.js +19 -16
  910. package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -1
  911. package/esm2015/directives/present/index.js +1 -1
  912. package/esm2015/directives/present/present.directive.js +31 -28
  913. package/esm2015/directives/present/present.module.js +14 -11
  914. package/esm2015/directives/present/taiga-ui-kit-directives-present.js +1 -1
  915. package/esm2015/directives/project-class/index.js +1 -1
  916. package/esm2015/directives/project-class/project-class.directive.js +20 -16
  917. package/esm2015/directives/project-class/project-class.module.js +14 -11
  918. package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +1 -1
  919. package/esm2015/directives/taiga-ui-kit-directives.js +1 -1
  920. package/esm2015/directives/unfinished-validator/index.js +1 -1
  921. package/esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +1 -1
  922. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +32 -25
  923. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +14 -11
  924. package/esm2015/directives/value-accessor/index.js +1 -1
  925. package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +1 -1
  926. package/esm2015/directives/value-accessor/value-accessor.directive.js +13 -11
  927. package/esm2015/directives/value-accessor/value-accessor.module.js +14 -11
  928. package/esm2015/index.js +3 -2
  929. package/esm2015/interfaces/bread-crumbs-item.js +2 -1
  930. package/esm2015/interfaces/file-like.js +2 -1
  931. package/esm2015/interfaces/index.js +5 -1
  932. package/esm2015/interfaces/mobile-calendar-data.js +2 -1
  933. package/esm2015/interfaces/month-context.js +2 -1
  934. package/esm2015/interfaces/taiga-ui-kit-interfaces.js +2 -1
  935. package/esm2015/internal/index.js +1 -1
  936. package/esm2015/internal/primitive-calendar-range/index.js +1 -1
  937. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +49 -36
  938. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +15 -12
  939. package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  940. package/esm2015/internal/taiga-ui-kit-internal.js +1 -1
  941. package/esm2015/pipes/field-error/field-error-content-pipe.js +19 -18
  942. package/esm2015/pipes/field-error/field-error-pipe.js +56 -38
  943. package/esm2015/pipes/field-error/field-error.module.js +14 -11
  944. package/esm2015/pipes/field-error/index.js +1 -1
  945. package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +1 -1
  946. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +16 -15
  947. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +7 -13
  948. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +14 -11
  949. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +16 -15
  950. package/esm2015/pipes/filter-by-input/index.js +1 -1
  951. package/esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +1 -1
  952. package/esm2015/pipes/index.js +1 -1
  953. package/esm2015/pipes/stringify/index.js +1 -1
  954. package/esm2015/pipes/stringify/stringify.module.js +14 -11
  955. package/esm2015/pipes/stringify/stringify.pipe.js +13 -11
  956. package/esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js +1 -1
  957. package/esm2015/pipes/stringify-content/index.js +1 -1
  958. package/esm2015/pipes/stringify-content/stringify-content.module.js +14 -11
  959. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +12 -10
  960. package/esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +1 -1
  961. package/esm2015/pipes/taiga-ui-kit-pipes.js +1 -1
  962. package/esm2015/providers/index.js +1 -1
  963. package/esm2015/providers/month-formatter.provider.js +2 -2
  964. package/esm2015/providers/specific-dropdown-controllers.js +3 -3
  965. package/esm2015/providers/taiga-ui-kit-providers.js +1 -1
  966. package/esm2015/providers/value-accessor.provider.js +2 -4
  967. package/esm2015/taiga-ui-kit.js +1 -1
  968. package/esm2015/tokens/calendar-data-stream.js +2 -2
  969. package/esm2015/tokens/date-inputs-value-transformers.js +4 -4
  970. package/esm2015/tokens/i18n.js +29 -29
  971. package/esm2015/tokens/index.js +1 -2
  972. package/esm2015/tokens/items-handlers.js +2 -2
  973. package/esm2015/tokens/mobile-calendar.js +2 -2
  974. package/esm2015/tokens/month-formatter.js +2 -2
  975. package/esm2015/tokens/tab-margin.js +2 -2
  976. package/esm2015/tokens/tag-status.js +3 -3
  977. package/esm2015/tokens/taiga-ui-kit-tokens.js +1 -1
  978. package/esm2015/tokens/validation-errors.js +2 -2
  979. package/esm2015/types/dropdown-position.js +2 -0
  980. package/esm2015/types/file-state.js +2 -0
  981. package/esm2015/types/handler-with-context.js +2 -1
  982. package/esm2015/types/index.js +9 -1
  983. package/esm2015/types/key-steps.js +2 -1
  984. package/esm2015/types/marker-icon-mode.js +2 -1
  985. package/esm2015/types/status.js +2 -1
  986. package/esm2015/types/step-state.js +2 -0
  987. package/esm2015/types/taiga-ui-kit-types.js +2 -1
  988. package/esm2015/types/time-format-parts.js +2 -1
  989. package/esm2015/utils/dom/get-word-range.js +5 -5
  990. package/esm2015/utils/dom/index.js +1 -1
  991. package/esm2015/utils/dom/scroll-to-element.js +1 -1
  992. package/esm2015/utils/dom/set-range-offset.js +1 -1
  993. package/esm2015/utils/dom/taiga-ui-kit-utils-dom.js +1 -1
  994. package/esm2015/utils/files/format-size.js +2 -2
  995. package/esm2015/utils/files/get-accept-array.js +2 -2
  996. package/esm2015/utils/files/index.js +1 -1
  997. package/esm2015/utils/files/taiga-ui-kit-utils-files.js +1 -1
  998. package/esm2015/utils/format/index.js +1 -1
  999. package/esm2015/utils/format/string-hash-to-hsl.js +3 -3
  1000. package/esm2015/utils/format/taiga-ui-kit-utils-format.js +1 -1
  1001. package/esm2015/utils/index.js +1 -1
  1002. package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +1 -1
  1003. package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +1 -1
  1004. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +3 -3
  1005. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +6 -6
  1006. package/esm2015/utils/mask/create-date-mask.js +5 -5
  1007. package/esm2015/utils/mask/create-date-range-mask.js +2 -2
  1008. package/esm2015/utils/mask/create-time-mask.js +4 -4
  1009. package/esm2015/utils/mask/index.js +1 -1
  1010. package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +1 -1
  1011. package/esm2015/utils/math/horizontal-direction-to-number.js +3 -3
  1012. package/esm2015/utils/math/index.js +1 -1
  1013. package/esm2015/utils/math/key-steps.js +1 -4
  1014. package/esm2015/utils/math/taiga-ui-kit-utils-math.js +1 -1
  1015. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +7 -7
  1016. package/esm2015/utils/miscellaneous/create-time-periods.js +1 -1
  1017. package/esm2015/utils/miscellaneous/get-precision.js +2 -2
  1018. package/esm2015/utils/miscellaneous/index.js +1 -1
  1019. package/esm2015/utils/miscellaneous/is-flat.js +2 -7
  1020. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +4 -7
  1021. package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +1 -1
  1022. package/esm2015/utils/taiga-ui-kit-utils.js +1 -1
  1023. package/esm2015/validators/index.js +1 -1
  1024. package/esm2015/validators/taiga-ui-kit-validators.js +1 -1
  1025. package/esm2015/validators/unfinished.validator.js +2 -2
  1026. package/fesm2015/taiga-ui-kit-abstract.js +56 -219
  1027. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  1028. package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
  1029. package/fesm2015/taiga-ui-kit-components-accordion.js +188 -126
  1030. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  1031. package/fesm2015/taiga-ui-kit-components-action.js +81 -57
  1032. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  1033. package/fesm2015/taiga-ui-kit-components-arrow.js +53 -39
  1034. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  1035. package/fesm2015/taiga-ui-kit-components-avatar.js +64 -45
  1036. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  1037. package/fesm2015/taiga-ui-kit-components-badge.js +71 -51
  1038. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  1039. package/fesm2015/taiga-ui-kit-components-badged-content.js +78 -52
  1040. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  1041. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +56 -91
  1042. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  1043. package/fesm2015/taiga-ui-kit-components-calendar-month.js +85 -52
  1044. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  1045. package/fesm2015/taiga-ui-kit-components-calendar-range.js +91 -58
  1046. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  1047. package/fesm2015/taiga-ui-kit-components-carousel.js +212 -158
  1048. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  1049. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +95 -63
  1050. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  1051. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +72 -62
  1052. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  1053. package/fesm2015/taiga-ui-kit-components-checkbox.js +79 -54
  1054. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  1055. package/fesm2015/taiga-ui-kit-components-combo-box.js +158 -109
  1056. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  1057. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +122 -85
  1058. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  1059. package/fesm2015/taiga-ui-kit-components-files.js +137 -95
  1060. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  1061. package/fesm2015/taiga-ui-kit-components-filter.js +84 -56
  1062. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  1063. package/fesm2015/taiga-ui-kit-components-input-copy.js +110 -73
  1064. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  1065. package/fesm2015/taiga-ui-kit-components-input-count.js +160 -113
  1066. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  1067. package/fesm2015/taiga-ui-kit-components-input-date-range.js +174 -114
  1068. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  1069. package/fesm2015/taiga-ui-kit-components-input-date-time.js +157 -101
  1070. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  1071. package/fesm2015/taiga-ui-kit-components-input-date.js +157 -97
  1072. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  1073. package/fesm2015/taiga-ui-kit-components-input-files.js +144 -86
  1074. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  1075. package/fesm2015/taiga-ui-kit-components-input-inline.js +76 -46
  1076. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  1077. package/fesm2015/taiga-ui-kit-components-input-month-range.js +130 -80
  1078. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  1079. package/fesm2015/taiga-ui-kit-components-input-month.js +120 -74
  1080. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  1081. package/fesm2015/taiga-ui-kit-components-input-number.js +153 -103
  1082. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  1083. package/fesm2015/taiga-ui-kit-components-input-password.js +142 -95
  1084. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  1085. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +348 -547
  1086. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  1087. package/fesm2015/taiga-ui-kit-components-input-phone.js +147 -108
  1088. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  1089. package/fesm2015/taiga-ui-kit-components-input-range.js +168 -135
  1090. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  1091. package/fesm2015/taiga-ui-kit-components-input-slider.js +126 -173
  1092. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  1093. package/fesm2015/taiga-ui-kit-components-input-tag.js +216 -153
  1094. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  1095. package/fesm2015/taiga-ui-kit-components-input-time.js +113 -76
  1096. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  1097. package/fesm2015/taiga-ui-kit-components-input.js +86 -72
  1098. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  1099. package/fesm2015/taiga-ui-kit-components-island.js +71 -55
  1100. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  1101. package/fesm2015/taiga-ui-kit-components-line-clamp.js +75 -58
  1102. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  1103. package/fesm2015/taiga-ui-kit-components-marker-icon.js +53 -38
  1104. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  1105. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +31 -22
  1106. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  1107. package/fesm2015/taiga-ui-kit-components-multi-select.js +289 -192
  1108. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  1109. package/fesm2015/taiga-ui-kit-components-pagination.js +97 -62
  1110. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  1111. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +101 -73
  1112. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  1113. package/fesm2015/taiga-ui-kit-components-progress.js +182 -200
  1114. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  1115. package/fesm2015/taiga-ui-kit-components-radio-block.js +92 -75
  1116. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  1117. package/fesm2015/taiga-ui-kit-components-radio-group.js +29 -21
  1118. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  1119. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +91 -66
  1120. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  1121. package/fesm2015/taiga-ui-kit-components-radio-list.js +95 -58
  1122. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  1123. package/fesm2015/taiga-ui-kit-components-radio.js +105 -73
  1124. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  1125. package/fesm2015/taiga-ui-kit-components-range.js +162 -152
  1126. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  1127. package/fesm2015/taiga-ui-kit-components-rating.js +89 -55
  1128. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  1129. package/fesm2015/taiga-ui-kit-components-select-option.js +48 -36
  1130. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  1131. package/fesm2015/taiga-ui-kit-components-select.js +120 -79
  1132. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  1133. package/fesm2015/taiga-ui-kit-components-slider.js +210 -269
  1134. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  1135. package/fesm2015/taiga-ui-kit-components-stepper.js +124 -95
  1136. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  1137. package/fesm2015/taiga-ui-kit-components-tabs.js +317 -306
  1138. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  1139. package/fesm2015/taiga-ui-kit-components-tag.js +135 -86
  1140. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  1141. package/fesm2015/taiga-ui-kit-components-text-area.js +148 -105
  1142. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  1143. package/fesm2015/taiga-ui-kit-components-toggle.js +112 -71
  1144. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  1145. package/fesm2015/taiga-ui-kit-components-tree.js +291 -218
  1146. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  1147. package/fesm2015/taiga-ui-kit-components.js +0 -2
  1148. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  1149. package/fesm2015/taiga-ui-kit-constants.js +18 -43
  1150. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  1151. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +85 -64
  1152. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +1 -1
  1153. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +46 -35
  1154. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +1 -1
  1155. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +111 -81
  1156. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +1 -1
  1157. package/fesm2015/taiga-ui-kit-directives-highlight.js +59 -49
  1158. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  1159. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +68 -57
  1160. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  1161. package/fesm2015/taiga-ui-kit-directives-present.js +42 -34
  1162. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  1163. package/fesm2015/taiga-ui-kit-directives-project-class.js +31 -22
  1164. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  1165. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +44 -32
  1166. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  1167. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +24 -17
  1168. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  1169. package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
  1170. package/fesm2015/taiga-ui-kit-interfaces.js.map +1 -1
  1171. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +60 -42
  1172. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  1173. package/fesm2015/taiga-ui-kit-internal.js.map +1 -1
  1174. package/fesm2015/taiga-ui-kit-pipes-field-error.js +83 -58
  1175. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  1176. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +51 -48
  1177. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1178. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +23 -16
  1179. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1180. package/fesm2015/taiga-ui-kit-pipes-stringify.js +24 -17
  1181. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1182. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  1183. package/fesm2015/taiga-ui-kit-providers.js +5 -7
  1184. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  1185. package/fesm2015/taiga-ui-kit-tokens.js +40 -45
  1186. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  1187. package/fesm2015/taiga-ui-kit-types.js.map +1 -1
  1188. package/fesm2015/taiga-ui-kit-utils-dom.js +4 -4
  1189. package/fesm2015/taiga-ui-kit-utils-dom.js.map +1 -1
  1190. package/fesm2015/taiga-ui-kit-utils-files.js +2 -2
  1191. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  1192. package/fesm2015/taiga-ui-kit-utils-format.js +2 -2
  1193. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  1194. package/fesm2015/taiga-ui-kit-utils-mask.js +15 -15
  1195. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  1196. package/fesm2015/taiga-ui-kit-utils-math.js +3 -6
  1197. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  1198. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +12 -20
  1199. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  1200. package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
  1201. package/fesm2015/taiga-ui-kit-validators.js +1 -1
  1202. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  1203. package/fesm2015/taiga-ui-kit.js +2 -1
  1204. package/fesm2015/taiga-ui-kit.js.map +1 -1
  1205. package/index.d.ts +0 -1
  1206. package/interfaces/index.d.ts +0 -1
  1207. package/interfaces/package.json +2 -5
  1208. package/interfaces/taiga-ui-kit-interfaces.d.ts +1 -0
  1209. package/internal/package.json +2 -5
  1210. package/internal/primitive-calendar-range/package.json +2 -5
  1211. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +3 -0
  1212. package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +7 -0
  1213. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +1 -0
  1214. package/internal/taiga-ui-kit-internal.d.ts +1 -0
  1215. package/package.json +11 -14
  1216. package/pipes/field-error/field-error-content-pipe.d.ts +3 -0
  1217. package/pipes/field-error/field-error-pipe.d.ts +3 -0
  1218. package/pipes/field-error/field-error.module.d.ts +6 -0
  1219. package/pipes/field-error/package.json +2 -5
  1220. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +1 -0
  1221. package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +3 -0
  1222. package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -7
  1223. package/pipes/filter-by-input/filter-by-input.module.d.ts +6 -0
  1224. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +3 -0
  1225. package/pipes/filter-by-input/package.json +2 -5
  1226. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +1 -0
  1227. package/pipes/package.json +2 -5
  1228. package/pipes/stringify/package.json +2 -5
  1229. package/pipes/stringify/stringify.module.d.ts +5 -0
  1230. package/pipes/stringify/stringify.pipe.d.ts +3 -0
  1231. package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +1 -0
  1232. package/pipes/stringify-content/package.json +2 -5
  1233. package/pipes/stringify-content/stringify-content.module.d.ts +5 -0
  1234. package/pipes/stringify-content/stringify-content.pipe.d.ts +3 -0
  1235. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +1 -0
  1236. package/pipes/taiga-ui-kit-pipes.d.ts +1 -0
  1237. package/providers/package.json +2 -5
  1238. package/providers/taiga-ui-kit-providers.d.ts +1 -0
  1239. package/providers/value-accessor.provider.d.ts +0 -2
  1240. package/taiga-ui-kit.d.ts +1 -0
  1241. package/tokens/index.d.ts +0 -1
  1242. package/tokens/package.json +2 -5
  1243. package/tokens/tag-status.d.ts +1 -1
  1244. package/tokens/taiga-ui-kit-tokens.d.ts +1 -0
  1245. package/tokens/validation-errors.d.ts +1 -1
  1246. package/types/dropdown-position.d.ts +1 -0
  1247. package/types/file-state.d.ts +4 -0
  1248. package/types/index.d.ts +3 -0
  1249. package/types/key-steps.d.ts +8 -6
  1250. package/types/marker-icon-mode.d.ts +1 -1
  1251. package/types/package.json +2 -5
  1252. package/types/status.d.ts +1 -1
  1253. package/types/step-state.d.ts +1 -0
  1254. package/types/taiga-ui-kit-types.d.ts +1 -0
  1255. package/utils/dom/package.json +2 -5
  1256. package/utils/dom/taiga-ui-kit-utils-dom.d.ts +1 -0
  1257. package/utils/files/package.json +2 -5
  1258. package/utils/files/taiga-ui-kit-utils-files.d.ts +1 -0
  1259. package/utils/format/package.json +2 -5
  1260. package/utils/format/taiga-ui-kit-utils-format.d.ts +1 -0
  1261. package/utils/mask/package.json +2 -5
  1262. package/utils/mask/taiga-ui-kit-utils-mask.d.ts +1 -0
  1263. package/utils/math/key-steps.d.ts +0 -1
  1264. package/utils/math/package.json +2 -5
  1265. package/utils/math/taiga-ui-kit-utils-math.d.ts +1 -0
  1266. package/utils/miscellaneous/is-flat.d.ts +1 -5
  1267. package/utils/miscellaneous/package.json +2 -5
  1268. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -4
  1269. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +1 -0
  1270. package/utils/package.json +2 -5
  1271. package/utils/taiga-ui-kit-utils.d.ts +1 -0
  1272. package/validators/package.json +2 -5
  1273. package/validators/taiga-ui-kit-validators.d.ts +1 -0
  1274. package/abstract/input-slider.d.ts +0 -77
  1275. package/abstract/taiga-ui-kit-abstract.metadata.json +0 -1
  1276. package/bundles/taiga-ui-kit-abstract.umd.min.js +0 -2
  1277. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +0 -1
  1278. package/bundles/taiga-ui-kit-classes.umd.min.js +0 -2
  1279. package/bundles/taiga-ui-kit-classes.umd.min.js.map +0 -1
  1280. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +0 -2
  1281. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +0 -1
  1282. package/bundles/taiga-ui-kit-components-action.umd.min.js +0 -2
  1283. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +0 -1
  1284. package/bundles/taiga-ui-kit-components-arrow.umd.min.js +0 -2
  1285. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +0 -1
  1286. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +0 -2
  1287. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +0 -1
  1288. package/bundles/taiga-ui-kit-components-badge.umd.min.js +0 -2
  1289. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +0 -1
  1290. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +0 -2
  1291. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +0 -1
  1292. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +0 -2
  1293. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +0 -1
  1294. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +0 -2
  1295. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +0 -1
  1296. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +0 -2
  1297. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +0 -1
  1298. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +0 -2
  1299. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +0 -1
  1300. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +0 -2
  1301. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +0 -1
  1302. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +0 -2
  1303. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +0 -1
  1304. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +0 -2
  1305. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +0 -1
  1306. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +0 -2
  1307. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +0 -1
  1308. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +0 -2
  1309. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +0 -1
  1310. package/bundles/taiga-ui-kit-components-field-error.umd.js +0 -435
  1311. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +0 -1
  1312. package/bundles/taiga-ui-kit-components-field-error.umd.min.js +0 -2
  1313. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +0 -1
  1314. package/bundles/taiga-ui-kit-components-files.umd.min.js +0 -2
  1315. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +0 -1
  1316. package/bundles/taiga-ui-kit-components-filter.umd.min.js +0 -2
  1317. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +0 -1
  1318. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +0 -2
  1319. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +0 -1
  1320. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +0 -2
  1321. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +0 -1
  1322. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +0 -2
  1323. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +0 -1
  1324. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +0 -2
  1325. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +0 -1
  1326. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +0 -2
  1327. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +0 -1
  1328. package/bundles/taiga-ui-kit-components-input-file.umd.js +0 -779
  1329. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +0 -1
  1330. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +0 -2
  1331. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +0 -1
  1332. package/bundles/taiga-ui-kit-components-input-files.umd.min.js +0 -2
  1333. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +0 -1
  1334. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +0 -2
  1335. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +0 -1
  1336. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +0 -2
  1337. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +0 -1
  1338. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +0 -2
  1339. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +0 -1
  1340. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +0 -2
  1341. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +0 -1
  1342. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +0 -2
  1343. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +0 -1
  1344. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +0 -2
  1345. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +0 -1
  1346. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +0 -2
  1347. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +0 -1
  1348. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +0 -2
  1349. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +0 -1
  1350. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +0 -2
  1351. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +0 -1
  1352. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +0 -2
  1353. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +0 -1
  1354. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +0 -2
  1355. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +0 -1
  1356. package/bundles/taiga-ui-kit-components-input.umd.min.js +0 -2
  1357. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +0 -1
  1358. package/bundles/taiga-ui-kit-components-island.umd.min.js +0 -2
  1359. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +0 -1
  1360. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +0 -2
  1361. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +0 -1
  1362. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +0 -2
  1363. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +0 -1
  1364. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +0 -2
  1365. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +0 -1
  1366. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +0 -2
  1367. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +0 -1
  1368. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +0 -2
  1369. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +0 -1
  1370. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +0 -2
  1371. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +0 -1
  1372. package/bundles/taiga-ui-kit-components-progress.umd.min.js +0 -2
  1373. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +0 -1
  1374. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +0 -2
  1375. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +0 -1
  1376. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js +0 -2
  1377. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +0 -1
  1378. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +0 -2
  1379. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +0 -1
  1380. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +0 -2
  1381. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +0 -1
  1382. package/bundles/taiga-ui-kit-components-radio.umd.min.js +0 -2
  1383. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +0 -1
  1384. package/bundles/taiga-ui-kit-components-range.umd.min.js +0 -2
  1385. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +0 -1
  1386. package/bundles/taiga-ui-kit-components-rating.umd.min.js +0 -2
  1387. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +0 -1
  1388. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +0 -2
  1389. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +0 -1
  1390. package/bundles/taiga-ui-kit-components-select.umd.min.js +0 -2
  1391. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +0 -1
  1392. package/bundles/taiga-ui-kit-components-slider.umd.min.js +0 -2
  1393. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +0 -1
  1394. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +0 -2
  1395. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +0 -1
  1396. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +0 -2
  1397. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +0 -1
  1398. package/bundles/taiga-ui-kit-components-tag.umd.min.js +0 -2
  1399. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +0 -1
  1400. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +0 -2
  1401. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +0 -1
  1402. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +0 -2
  1403. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +0 -1
  1404. package/bundles/taiga-ui-kit-components-tree.umd.min.js +0 -2
  1405. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +0 -1
  1406. package/bundles/taiga-ui-kit-components.umd.min.js +0 -2
  1407. package/bundles/taiga-ui-kit-components.umd.min.js.map +0 -1
  1408. package/bundles/taiga-ui-kit-constants.umd.min.js +0 -2
  1409. package/bundles/taiga-ui-kit-constants.umd.min.js.map +0 -1
  1410. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +0 -2
  1411. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +0 -1
  1412. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js +0 -2
  1413. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +0 -1
  1414. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +0 -2
  1415. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +0 -1
  1416. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +0 -2
  1417. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +0 -1
  1418. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +0 -2
  1419. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +0 -1
  1420. package/bundles/taiga-ui-kit-directives-present.umd.min.js +0 -2
  1421. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +0 -1
  1422. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js +0 -2
  1423. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +0 -1
  1424. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js +0 -2
  1425. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +0 -1
  1426. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js +0 -2
  1427. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +0 -1
  1428. package/bundles/taiga-ui-kit-directives.umd.min.js +0 -2
  1429. package/bundles/taiga-ui-kit-directives.umd.min.js.map +0 -1
  1430. package/bundles/taiga-ui-kit-enums.umd.js +0 -88
  1431. package/bundles/taiga-ui-kit-enums.umd.js.map +0 -1
  1432. package/bundles/taiga-ui-kit-enums.umd.min.js +0 -2
  1433. package/bundles/taiga-ui-kit-enums.umd.min.js.map +0 -1
  1434. package/bundles/taiga-ui-kit-interfaces.umd.min.js +0 -2
  1435. package/bundles/taiga-ui-kit-interfaces.umd.min.js.map +0 -1
  1436. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +0 -2
  1437. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +0 -1
  1438. package/bundles/taiga-ui-kit-internal.umd.min.js +0 -2
  1439. package/bundles/taiga-ui-kit-internal.umd.min.js.map +0 -1
  1440. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +0 -2
  1441. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +0 -1
  1442. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +0 -2
  1443. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +0 -1
  1444. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js +0 -2
  1445. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +0 -1
  1446. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js +0 -2
  1447. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +0 -1
  1448. package/bundles/taiga-ui-kit-pipes.umd.min.js +0 -2
  1449. package/bundles/taiga-ui-kit-pipes.umd.min.js.map +0 -1
  1450. package/bundles/taiga-ui-kit-providers.umd.min.js +0 -2
  1451. package/bundles/taiga-ui-kit-providers.umd.min.js.map +0 -1
  1452. package/bundles/taiga-ui-kit-tokens.umd.min.js +0 -2
  1453. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +0 -1
  1454. package/bundles/taiga-ui-kit-types.umd.min.js +0 -2
  1455. package/bundles/taiga-ui-kit-types.umd.min.js.map +0 -1
  1456. package/bundles/taiga-ui-kit-utils-dom.umd.min.js +0 -2
  1457. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +0 -1
  1458. package/bundles/taiga-ui-kit-utils-files.umd.min.js +0 -2
  1459. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +0 -1
  1460. package/bundles/taiga-ui-kit-utils-format.umd.min.js +0 -2
  1461. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +0 -1
  1462. package/bundles/taiga-ui-kit-utils-mask.umd.min.js +0 -2
  1463. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +0 -1
  1464. package/bundles/taiga-ui-kit-utils-math.umd.min.js +0 -2
  1465. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +0 -1
  1466. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +0 -2
  1467. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +0 -1
  1468. package/bundles/taiga-ui-kit-utils.umd.min.js +0 -2
  1469. package/bundles/taiga-ui-kit-utils.umd.min.js.map +0 -1
  1470. package/bundles/taiga-ui-kit-validators.umd.min.js +0 -2
  1471. package/bundles/taiga-ui-kit-validators.umd.min.js.map +0 -1
  1472. package/bundles/taiga-ui-kit.umd.min.js +0 -2
  1473. package/bundles/taiga-ui-kit.umd.min.js.map +0 -1
  1474. package/classes/taiga-ui-kit-classes.metadata.json +0 -1
  1475. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +0 -1
  1476. package/components/action/taiga-ui-kit-components-action.metadata.json +0 -1
  1477. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +0 -1
  1478. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +0 -1
  1479. package/components/badge/taiga-ui-kit-components-badge.metadata.json +0 -1
  1480. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +0 -1
  1481. package/components/breadcrumbs/breadcrumb.directive.d.ts +0 -2
  1482. package/components/breadcrumbs/breadcrumbs-wrapper.component.d.ts +0 -10
  1483. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +0 -1
  1484. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +0 -1
  1485. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +0 -1
  1486. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +0 -1
  1487. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +0 -1
  1488. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +0 -1
  1489. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +0 -1
  1490. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +0 -1
  1491. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +0 -1
  1492. package/components/field-error/field-error.component.d.ts +0 -27
  1493. package/components/field-error/field-error.module.d.ts +0 -5
  1494. package/components/field-error/index.d.ts +0 -2
  1495. package/components/field-error/package.json +0 -13
  1496. package/components/field-error/taiga-ui-kit-components-field-error.d.ts +0 -4
  1497. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +0 -1
  1498. package/components/files/taiga-ui-kit-components-files.metadata.json +0 -1
  1499. package/components/filter/taiga-ui-kit-components-filter.metadata.json +0 -1
  1500. package/components/input/taiga-ui-kit-components-input.metadata.json +0 -1
  1501. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +0 -1
  1502. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +0 -1
  1503. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +0 -1
  1504. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +0 -1
  1505. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +0 -1
  1506. package/components/input-file/file/file.component.d.ts +0 -37
  1507. package/components/input-file/index.d.ts +0 -3
  1508. package/components/input-file/input-file.component.d.ts +0 -54
  1509. package/components/input-file/input-file.module.d.ts +0 -2
  1510. package/components/input-file/package.json +0 -13
  1511. package/components/input-file/taiga-ui-kit-components-input-file.d.ts +0 -4
  1512. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +0 -1
  1513. package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +0 -1
  1514. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +0 -1
  1515. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +0 -1
  1516. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +0 -1
  1517. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +0 -1
  1518. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +0 -1
  1519. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +0 -1
  1520. package/components/input-phone-international/const/countries.d.ts +0 -26
  1521. package/components/input-phone-international/country-iso-code.d.ts +0 -207
  1522. package/components/input-phone-international/interfaces/country.d.ts +0 -7
  1523. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +0 -1
  1524. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +0 -1
  1525. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +0 -1
  1526. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +0 -1
  1527. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +0 -1
  1528. package/components/island/taiga-ui-kit-components-island.metadata.json +0 -1
  1529. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +0 -1
  1530. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +0 -1
  1531. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +0 -1
  1532. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +0 -1
  1533. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +0 -1
  1534. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +0 -1
  1535. package/components/progress/taiga-ui-kit-components-progress.metadata.json +0 -1
  1536. package/components/progress/utils/abstract-color-segments.d.ts +0 -9
  1537. package/components/progress/utils/calculate-color-segments.d.ts +0 -1
  1538. package/components/progress/utils/progress-color-segments-async.pipe.d.ts +0 -10
  1539. package/components/progress/utils/progress-color-segments.pipe.d.ts +0 -9
  1540. package/components/radio/taiga-ui-kit-components-radio.metadata.json +0 -1
  1541. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +0 -1
  1542. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +0 -1
  1543. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +0 -1
  1544. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +0 -1
  1545. package/components/range/taiga-ui-kit-components-range.metadata.json +0 -1
  1546. package/components/rating/taiga-ui-kit-components-rating.metadata.json +0 -1
  1547. package/components/select/taiga-ui-kit-components-select.metadata.json +0 -1
  1548. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +0 -1
  1549. package/components/slider/slider-old.component.d.ts +0 -21
  1550. package/components/slider/taiga-ui-kit-components-slider.metadata.json +0 -1
  1551. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +0 -1
  1552. package/components/tabs/tab.directive.d.ts +0 -5
  1553. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +0 -1
  1554. package/components/tag/taiga-ui-kit-components-tag.metadata.json +0 -1
  1555. package/components/taiga-ui-kit-components.metadata.json +0 -1
  1556. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +0 -1
  1557. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +0 -1
  1558. package/components/tree/taiga-ui-kit-components-tree.metadata.json +0 -1
  1559. package/constants/taiga-ui-kit-constants.metadata.json +0 -1
  1560. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +0 -1
  1561. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +0 -1
  1562. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +0 -1
  1563. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +0 -1
  1564. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +0 -1
  1565. package/directives/present/taiga-ui-kit-directives-present.metadata.json +0 -1
  1566. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +0 -1
  1567. package/directives/taiga-ui-kit-directives.metadata.json +0 -1
  1568. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +0 -1
  1569. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +0 -1
  1570. package/enums/borders.d.ts +0 -7
  1571. package/enums/dropdown-position.d.ts +0 -9
  1572. package/enums/file-state.d.ts +0 -10
  1573. package/enums/index.d.ts +0 -7
  1574. package/enums/marker-icon-mode.d.ts +0 -13
  1575. package/enums/package.json +0 -13
  1576. package/enums/status.d.ts +0 -11
  1577. package/enums/step-state.d.ts +0 -9
  1578. package/enums/taiga-ui-kit-enums.d.ts +0 -4
  1579. package/enums/taiga-ui-kit-enums.metadata.json +0 -1
  1580. package/enums/text-align.d.ts +0 -8
  1581. package/esm2015/abstract/input-slider.js +0 -171
  1582. package/esm2015/components/breadcrumbs/breadcrumb.directive.js +0 -11
  1583. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -40
  1584. package/esm2015/components/field-error/field-error.component.js +0 -132
  1585. package/esm2015/components/field-error/field-error.module.js +0 -20
  1586. package/esm2015/components/field-error/index.js +0 -3
  1587. package/esm2015/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1588. package/esm2015/components/input-file/file/file.component.js +0 -149
  1589. package/esm2015/components/input-file/index.js +0 -4
  1590. package/esm2015/components/input-file/input-file.component.js +0 -264
  1591. package/esm2015/components/input-file/input-file.module.js +0 -36
  1592. package/esm2015/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1593. package/esm2015/components/input-phone-international/const/countries.js +0 -257
  1594. package/esm2015/components/input-phone-international/country-iso-code.js +0 -209
  1595. package/esm2015/components/input-phone-international/interfaces/country.js +0 -1
  1596. package/esm2015/components/progress/utils/abstract-color-segments.js +0 -32
  1597. package/esm2015/components/progress/utils/calculate-color-segments.js +0 -11
  1598. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +0 -21
  1599. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +0 -19
  1600. package/esm2015/components/slider/slider-old.component.js +0 -77
  1601. package/esm2015/components/tabs/tab.directive.js +0 -18
  1602. package/esm2015/enums/borders.js +0 -9
  1603. package/esm2015/enums/dropdown-position.js +0 -10
  1604. package/esm2015/enums/file-state.js +0 -11
  1605. package/esm2015/enums/index.js +0 -8
  1606. package/esm2015/enums/marker-icon-mode.js +0 -15
  1607. package/esm2015/enums/status.js +0 -13
  1608. package/esm2015/enums/step-state.js +0 -10
  1609. package/esm2015/enums/taiga-ui-kit-enums.js +0 -5
  1610. package/esm2015/enums/text-align.js +0 -10
  1611. package/esm2015/interfaces/with-date-mask-pipe-config.js +0 -1
  1612. package/esm2015/tokens/mobile-aware.js +0 -6
  1613. package/esm5/abstract/index.js +0 -3
  1614. package/esm5/abstract/input-slider.js +0 -202
  1615. package/esm5/abstract/slider/slider.js +0 -298
  1616. package/esm5/abstract/taiga-ui-kit-abstract.js +0 -5
  1617. package/esm5/classes/day-range-period.js +0 -12
  1618. package/esm5/classes/index.js +0 -4
  1619. package/esm5/classes/named-day.js +0 -14
  1620. package/esm5/classes/stringifiable-item.js +0 -15
  1621. package/esm5/classes/taiga-ui-kit-classes.js +0 -5
  1622. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +0 -24
  1623. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +0 -14
  1624. package/esm5/components/accordion/accordion-item/accordion-item.component.js +0 -160
  1625. package/esm5/components/accordion/accordion.component.js +0 -62
  1626. package/esm5/components/accordion/accordion.module.js +0 -44
  1627. package/esm5/components/accordion/index.js +0 -6
  1628. package/esm5/components/accordion/taiga-ui-kit-components-accordion.js +0 -5
  1629. package/esm5/components/action/action.component.js +0 -89
  1630. package/esm5/components/action/action.module.js +0 -27
  1631. package/esm5/components/action/index.js +0 -3
  1632. package/esm5/components/action/taiga-ui-kit-components-action.js +0 -5
  1633. package/esm5/components/arrow/arrow-options.js +0 -29
  1634. package/esm5/components/arrow/arrow.component.js +0 -41
  1635. package/esm5/components/arrow/arrow.module.js +0 -21
  1636. package/esm5/components/arrow/index.js +0 -4
  1637. package/esm5/components/arrow/taiga-ui-kit-components-arrow.js +0 -5
  1638. package/esm5/components/avatar/avatar-options.js +0 -16
  1639. package/esm5/components/avatar/avatar.component.js +0 -98
  1640. package/esm5/components/avatar/avatar.module.js +0 -19
  1641. package/esm5/components/avatar/index.js +0 -4
  1642. package/esm5/components/avatar/taiga-ui-kit-components-avatar.js +0 -5
  1643. package/esm5/components/badge/badge.component.js +0 -87
  1644. package/esm5/components/badge/badge.module.js +0 -18
  1645. package/esm5/components/badge/index.js +0 -3
  1646. package/esm5/components/badge/taiga-ui-kit-components-badge.js +0 -5
  1647. package/esm5/components/badged-content/badged-content.component.js +0 -116
  1648. package/esm5/components/badged-content/badged-content.module.js +0 -21
  1649. package/esm5/components/badged-content/index.js +0 -3
  1650. package/esm5/components/badged-content/taiga-ui-kit-components-badged-content.js +0 -5
  1651. package/esm5/components/breadcrumbs/breadcrumb.directive.js +0 -14
  1652. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -42
  1653. package/esm5/components/breadcrumbs/breadcrumbs.component.js +0 -35
  1654. package/esm5/components/breadcrumbs/breadcrumbs.module.js +0 -39
  1655. package/esm5/components/breadcrumbs/index.js +0 -5
  1656. package/esm5/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +0 -5
  1657. package/esm5/components/calendar-month/calendar-month.component.js +0 -213
  1658. package/esm5/components/calendar-month/calendar-month.module.js +0 -30
  1659. package/esm5/components/calendar-month/index.js +0 -3
  1660. package/esm5/components/calendar-month/taiga-ui-kit-components-calendar-month.js +0 -5
  1661. package/esm5/components/calendar-range/calendar-range.component.js +0 -181
  1662. package/esm5/components/calendar-range/calendar-range.module.js +0 -30
  1663. package/esm5/components/calendar-range/index.js +0 -3
  1664. package/esm5/components/calendar-range/taiga-ui-kit-components-calendar-range.js +0 -5
  1665. package/esm5/components/carousel/carousel-autoscroll.directive.js +0 -22
  1666. package/esm5/components/carousel/carousel-buttons.directive.js +0 -27
  1667. package/esm5/components/carousel/carousel-scroll.directive.js +0 -35
  1668. package/esm5/components/carousel/carousel.component.js +0 -158
  1669. package/esm5/components/carousel/carousel.directive.js +0 -45
  1670. package/esm5/components/carousel/carousel.module.js +0 -41
  1671. package/esm5/components/carousel/index.js +0 -7
  1672. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +0 -5
  1673. package/esm5/components/checkbox/checkbox.component.js +0 -89
  1674. package/esm5/components/checkbox/checkbox.module.js +0 -29
  1675. package/esm5/components/checkbox/index.js +0 -3
  1676. package/esm5/components/checkbox/taiga-ui-kit-components-checkbox.js +0 -5
  1677. package/esm5/components/checkbox-block/checkbox-block.component.js +0 -123
  1678. package/esm5/components/checkbox-block/checkbox-block.module.js +0 -27
  1679. package/esm5/components/checkbox-block/index.js +0 -3
  1680. package/esm5/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +0 -5
  1681. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +0 -89
  1682. package/esm5/components/checkbox-labeled/checkbox-labeled.module.js +0 -27
  1683. package/esm5/components/checkbox-labeled/index.js +0 -3
  1684. package/esm5/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +0 -5
  1685. package/esm5/components/combo-box/combo-box-strict.directive.js +0 -34
  1686. package/esm5/components/combo-box/combo-box.component.js +0 -212
  1687. package/esm5/components/combo-box/combo-box.directive.js +0 -35
  1688. package/esm5/components/combo-box/combo-box.module.js +0 -42
  1689. package/esm5/components/combo-box/combo-box.providers.js +0 -28
  1690. package/esm5/components/combo-box/index.js +0 -6
  1691. package/esm5/components/combo-box/taiga-ui-kit-components-combo-box.js +0 -5
  1692. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +0 -46
  1693. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +0 -41
  1694. package/esm5/components/data-list-wrapper/data-list-wrapper.js +0 -64
  1695. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +0 -32
  1696. package/esm5/components/data-list-wrapper/index.js +0 -5
  1697. package/esm5/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +0 -5
  1698. package/esm5/components/field-error/field-error.component.js +0 -165
  1699. package/esm5/components/field-error/field-error.module.js +0 -23
  1700. package/esm5/components/field-error/index.js +0 -3
  1701. package/esm5/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1702. package/esm5/components/files/file/file.component.js +0 -213
  1703. package/esm5/components/files/files.component.js +0 -50
  1704. package/esm5/components/files/files.module.js +0 -32
  1705. package/esm5/components/files/index.js +0 -4
  1706. package/esm5/components/files/taiga-ui-kit-components-files.js +0 -5
  1707. package/esm5/components/filter/filter.component.js +0 -97
  1708. package/esm5/components/filter/filter.module.js +0 -30
  1709. package/esm5/components/filter/index.js +0 -3
  1710. package/esm5/components/filter/taiga-ui-kit-components-filter.js +0 -5
  1711. package/esm5/components/index.js +0 -62
  1712. package/esm5/components/input/index.js +0 -5
  1713. package/esm5/components/input/input.component.js +0 -108
  1714. package/esm5/components/input/input.directive.js +0 -28
  1715. package/esm5/components/input/input.module.js +0 -26
  1716. package/esm5/components/input/input.providers.js +0 -22
  1717. package/esm5/components/input/taiga-ui-kit-components-input.js +0 -5
  1718. package/esm5/components/input-copy/index.js +0 -5
  1719. package/esm5/components/input-copy/input-copy.component.js +0 -137
  1720. package/esm5/components/input-copy/input-copy.directive.js +0 -28
  1721. package/esm5/components/input-copy/input-copy.module.js +0 -28
  1722. package/esm5/components/input-copy/input-copy.providers.js +0 -16
  1723. package/esm5/components/input-copy/taiga-ui-kit-components-input-copy.js +0 -5
  1724. package/esm5/components/input-count/index.js +0 -5
  1725. package/esm5/components/input-count/input-count-options.js +0 -26
  1726. package/esm5/components/input-count/input-count.component.js +0 -295
  1727. package/esm5/components/input-count/input-count.directive.js +0 -32
  1728. package/esm5/components/input-count/input-count.module.js +0 -31
  1729. package/esm5/components/input-count/taiga-ui-kit-components-input-count.js +0 -5
  1730. package/esm5/components/input-date/index.js +0 -5
  1731. package/esm5/components/input-date/input-date.component.js +0 -271
  1732. package/esm5/components/input-date/input-date.directive.js +0 -38
  1733. package/esm5/components/input-date/input-date.module.js +0 -37
  1734. package/esm5/components/input-date/input-date.providers.js +0 -31
  1735. package/esm5/components/input-date/taiga-ui-kit-components-input-date.js +0 -5
  1736. package/esm5/components/input-date-range/index.js +0 -5
  1737. package/esm5/components/input-date-range/input-date-range.component.js +0 -354
  1738. package/esm5/components/input-date-range/input-date-range.directive.js +0 -38
  1739. package/esm5/components/input-date-range/input-date-range.module.js +0 -41
  1740. package/esm5/components/input-date-range/input-date-range.providers.js +0 -31
  1741. package/esm5/components/input-date-range/taiga-ui-kit-components-input-date-range.js +0 -5
  1742. package/esm5/components/input-date-time/index.js +0 -5
  1743. package/esm5/components/input-date-time/input-date-time.component.js +0 -304
  1744. package/esm5/components/input-date-time/input-date-time.directive.js +0 -38
  1745. package/esm5/components/input-date-time/input-date-time.module.js +0 -40
  1746. package/esm5/components/input-date-time/input-date-time.providers.js +0 -31
  1747. package/esm5/components/input-date-time/taiga-ui-kit-components-input-date-time.js +0 -5
  1748. package/esm5/components/input-file/file/file.component.js +0 -194
  1749. package/esm5/components/input-file/index.js +0 -4
  1750. package/esm5/components/input-file/input-file.component.js +0 -311
  1751. package/esm5/components/input-file/input-file.module.js +0 -39
  1752. package/esm5/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1753. package/esm5/components/input-files/index.js +0 -3
  1754. package/esm5/components/input-files/input-files.component.js +0 -247
  1755. package/esm5/components/input-files/input-files.module.js +0 -44
  1756. package/esm5/components/input-files/taiga-ui-kit-components-input-files.js +0 -5
  1757. package/esm5/components/input-inline/index.js +0 -3
  1758. package/esm5/components/input-inline/input-inline.component.js +0 -78
  1759. package/esm5/components/input-inline/input-inline.module.js +0 -27
  1760. package/esm5/components/input-inline/taiga-ui-kit-components-input-inline.js +0 -5
  1761. package/esm5/components/input-month/index.js +0 -5
  1762. package/esm5/components/input-month/input-month.component.js +0 -117
  1763. package/esm5/components/input-month/input-month.directive.js +0 -67
  1764. package/esm5/components/input-month/input-month.module.js +0 -30
  1765. package/esm5/components/input-month/input-month.providers.js +0 -19
  1766. package/esm5/components/input-month/taiga-ui-kit-components-input-month.js +0 -5
  1767. package/esm5/components/input-month-range/index.js +0 -5
  1768. package/esm5/components/input-month-range/input-month-range.component.js +0 -125
  1769. package/esm5/components/input-month-range/input-month-range.directive.js +0 -74
  1770. package/esm5/components/input-month-range/input-month-range.module.js +0 -35
  1771. package/esm5/components/input-month-range/input-month-range.providers.js +0 -19
  1772. package/esm5/components/input-month-range/taiga-ui-kit-components-input-month-range.js +0 -5
  1773. package/esm5/components/input-number/index.js +0 -4
  1774. package/esm5/components/input-number/input-number.component.js +0 -294
  1775. package/esm5/components/input-number/input-number.directive.js +0 -45
  1776. package/esm5/components/input-number/input-number.module.js +0 -32
  1777. package/esm5/components/input-number/taiga-ui-kit-components-input-number.js +0 -5
  1778. package/esm5/components/input-password/index.js +0 -5
  1779. package/esm5/components/input-password/input-password-options.js +0 -26
  1780. package/esm5/components/input-password/input-password.component.js +0 -137
  1781. package/esm5/components/input-password/input-password.directive.js +0 -36
  1782. package/esm5/components/input-password/input-password.module.js +0 -36
  1783. package/esm5/components/input-password/taiga-ui-kit-components-input-password.js +0 -5
  1784. package/esm5/components/input-phone/index.js +0 -6
  1785. package/esm5/components/input-phone/input-phone.component.js +0 -300
  1786. package/esm5/components/input-phone/input-phone.directive.js +0 -45
  1787. package/esm5/components/input-phone/input-phone.module.js +0 -29
  1788. package/esm5/components/input-phone/input-phone.options.js +0 -15
  1789. package/esm5/components/input-phone/input-phone.providers.js +0 -35
  1790. package/esm5/components/input-phone/taiga-ui-kit-components-input-phone.js +0 -5
  1791. package/esm5/components/input-phone-international/const/countries.js +0 -260
  1792. package/esm5/components/input-phone-international/country-iso-code.js +0 -209
  1793. package/esm5/components/input-phone-international/index.js +0 -8
  1794. package/esm5/components/input-phone-international/input-phone-international.component.js +0 -215
  1795. package/esm5/components/input-phone-international/input-phone-international.module.js +0 -40
  1796. package/esm5/components/input-phone-international/input-phone-international.options.js +0 -15
  1797. package/esm5/components/input-phone-international/interfaces/country.js +0 -1
  1798. package/esm5/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +0 -5
  1799. package/esm5/components/input-phone-international/tokens/countries-masks.js +0 -6
  1800. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +0 -14
  1801. package/esm5/components/input-range/index.js +0 -3
  1802. package/esm5/components/input-range/input-range.component.js +0 -316
  1803. package/esm5/components/input-range/input-range.module.js +0 -35
  1804. package/esm5/components/input-range/taiga-ui-kit-components-input-range.js +0 -5
  1805. package/esm5/components/input-slider/index.js +0 -3
  1806. package/esm5/components/input-slider/input-slider.component.js +0 -293
  1807. package/esm5/components/input-slider/input-slider.module.js +0 -35
  1808. package/esm5/components/input-slider/taiga-ui-kit-components-input-slider.js +0 -5
  1809. package/esm5/components/input-tag/index.js +0 -4
  1810. package/esm5/components/input-tag/input-tag-options.js +0 -9
  1811. package/esm5/components/input-tag/input-tag.component.js +0 -521
  1812. package/esm5/components/input-tag/input-tag.module.js +0 -37
  1813. package/esm5/components/input-tag/taiga-ui-kit-components-input-tag.js +0 -5
  1814. package/esm5/components/input-time/index.js +0 -4
  1815. package/esm5/components/input-time/input-time-options.js +0 -23
  1816. package/esm5/components/input-time/input-time.component.js +0 -303
  1817. package/esm5/components/input-time/input-time.module.js +0 -29
  1818. package/esm5/components/input-time/taiga-ui-kit-components-input-time.js +0 -5
  1819. package/esm5/components/island/index.js +0 -3
  1820. package/esm5/components/island/island.component.js +0 -103
  1821. package/esm5/components/island/island.module.js +0 -18
  1822. package/esm5/components/island/taiga-ui-kit-components-island.js +0 -5
  1823. package/esm5/components/line-clamp/index.js +0 -4
  1824. package/esm5/components/line-clamp/line-clamp-options.js +0 -13
  1825. package/esm5/components/line-clamp/line-clamp.component.js +0 -148
  1826. package/esm5/components/line-clamp/line-clamp.module.js +0 -21
  1827. package/esm5/components/line-clamp/taiga-ui-kit-components-line-clamp.js +0 -5
  1828. package/esm5/components/marker-icon/index.js +0 -3
  1829. package/esm5/components/marker-icon/marker-icon.component.js +0 -46
  1830. package/esm5/components/marker-icon/marker-icon.module.js +0 -19
  1831. package/esm5/components/marker-icon/taiga-ui-kit-components-marker-icon.js +0 -5
  1832. package/esm5/components/multi-select/hide-selected.pipe.js +0 -45
  1833. package/esm5/components/multi-select/index.js +0 -7
  1834. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +0 -173
  1835. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +0 -60
  1836. package/esm5/components/multi-select/multi-select-options.js +0 -14
  1837. package/esm5/components/multi-select/multi-select.component.js +0 -306
  1838. package/esm5/components/multi-select/multi-select.module.js +0 -54
  1839. package/esm5/components/multi-select/taiga-ui-kit-components-multi-select.js +0 -5
  1840. package/esm5/components/multi-select-option/index.js +0 -3
  1841. package/esm5/components/multi-select-option/multi-select-option.component.js +0 -39
  1842. package/esm5/components/multi-select-option/multi-select-option.module.js +0 -20
  1843. package/esm5/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +0 -5
  1844. package/esm5/components/pagination/index.js +0 -3
  1845. package/esm5/components/pagination/pagination.component.js +0 -320
  1846. package/esm5/components/pagination/pagination.module.js +0 -29
  1847. package/esm5/components/pagination/taiga-ui-kit-components-pagination.js +0 -5
  1848. package/esm5/components/pdf-viewer/index.js +0 -5
  1849. package/esm5/components/pdf-viewer/pdf-viewer-options.js +0 -1
  1850. package/esm5/components/pdf-viewer/pdf-viewer.component.js +0 -43
  1851. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +0 -26
  1852. package/esm5/components/pdf-viewer/pdf-viewer.module.js +0 -31
  1853. package/esm5/components/pdf-viewer/pdf-viewer.service.js +0 -31
  1854. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +0 -5
  1855. package/esm5/components/progress/index.js +0 -10
  1856. package/esm5/components/progress/progress-bar/progress-bar.component.js +0 -28
  1857. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +0 -56
  1858. package/esm5/components/progress/progress-circle/progress-circle.component.js +0 -78
  1859. package/esm5/components/progress/progress-label/progress-label.component.js +0 -17
  1860. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +0 -52
  1861. package/esm5/components/progress/progress.module.js +0 -41
  1862. package/esm5/components/progress/taiga-ui-kit-components-progress.js +0 -5
  1863. package/esm5/components/progress/utils/abstract-color-segments.js +0 -33
  1864. package/esm5/components/progress/utils/calculate-color-segments.js +0 -13
  1865. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +0 -27
  1866. package/esm5/components/progress/utils/progress-color-segments.pipe.js +0 -24
  1867. package/esm5/components/radio/index.js +0 -4
  1868. package/esm5/components/radio/radio-options.js +0 -18
  1869. package/esm5/components/radio/radio.component.js +0 -165
  1870. package/esm5/components/radio/radio.module.js +0 -29
  1871. package/esm5/components/radio/taiga-ui-kit-components-radio.js +0 -5
  1872. package/esm5/components/radio-block/index.js +0 -3
  1873. package/esm5/components/radio-block/radio-block.component.js +0 -146
  1874. package/esm5/components/radio-block/radio-block.module.js +0 -27
  1875. package/esm5/components/radio-block/taiga-ui-kit-components-radio-block.js +0 -5
  1876. package/esm5/components/radio-group/index.js +0 -3
  1877. package/esm5/components/radio-group/radio-group.component.js +0 -25
  1878. package/esm5/components/radio-group/radio-group.module.js +0 -16
  1879. package/esm5/components/radio-group/taiga-ui-kit-components-radio-group.js +0 -5
  1880. package/esm5/components/radio-labeled/index.js +0 -3
  1881. package/esm5/components/radio-labeled/radio-labeled.component.js +0 -112
  1882. package/esm5/components/radio-labeled/radio-labeled.module.js +0 -29
  1883. package/esm5/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +0 -5
  1884. package/esm5/components/radio-list/index.js +0 -3
  1885. package/esm5/components/radio-list/radio-list.component.js +0 -114
  1886. package/esm5/components/radio-list/radio-list.module.js +0 -28
  1887. package/esm5/components/radio-list/taiga-ui-kit-components-radio-list.js +0 -5
  1888. package/esm5/components/range/index.js +0 -4
  1889. package/esm5/components/range/range-change.directive.js +0 -103
  1890. package/esm5/components/range/range.component.js +0 -269
  1891. package/esm5/components/range/range.module.js +0 -30
  1892. package/esm5/components/range/taiga-ui-kit-components-range.js +0 -5
  1893. package/esm5/components/rating/index.js +0 -4
  1894. package/esm5/components/rating/rating-options.js +0 -16
  1895. package/esm5/components/rating/rating.component.js +0 -111
  1896. package/esm5/components/rating/rating.module.js +0 -26
  1897. package/esm5/components/rating/taiga-ui-kit-components-rating.js +0 -5
  1898. package/esm5/components/select/index.js +0 -6
  1899. package/esm5/components/select/select-options.js +0 -13
  1900. package/esm5/components/select/select.component.js +0 -137
  1901. package/esm5/components/select/select.directive.js +0 -42
  1902. package/esm5/components/select/select.module.js +0 -32
  1903. package/esm5/components/select/select.providers.js +0 -28
  1904. package/esm5/components/select/taiga-ui-kit-components-select.js +0 -5
  1905. package/esm5/components/select-option/index.js +0 -3
  1906. package/esm5/components/select-option/select-option.component.js +0 -75
  1907. package/esm5/components/select-option/select-option.module.js +0 -20
  1908. package/esm5/components/select-option/taiga-ui-kit-components-select-option.js +0 -5
  1909. package/esm5/components/slider/helpers/slider-key-steps.directive.js +0 -129
  1910. package/esm5/components/slider/helpers/slider-readonly.directive.js +0 -87
  1911. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +0 -55
  1912. package/esm5/components/slider/index.js +0 -8
  1913. package/esm5/components/slider/slider-old.component.js +0 -96
  1914. package/esm5/components/slider/slider-options.js +0 -14
  1915. package/esm5/components/slider/slider.component.js +0 -148
  1916. package/esm5/components/slider/slider.module.js +0 -45
  1917. package/esm5/components/slider/taiga-ui-kit-components-slider.js +0 -5
  1918. package/esm5/components/stepper/index.js +0 -4
  1919. package/esm5/components/stepper/step/step.component.js +0 -103
  1920. package/esm5/components/stepper/stepper.component.js +0 -117
  1921. package/esm5/components/stepper/stepper.module.js +0 -20
  1922. package/esm5/components/stepper/taiga-ui-kit-components-stepper.js +0 -5
  1923. package/esm5/components/tabs/index.js +0 -10
  1924. package/esm5/components/tabs/tab/tab.component.js +0 -86
  1925. package/esm5/components/tabs/tab/tab.providers.js +0 -38
  1926. package/esm5/components/tabs/tab.directive.js +0 -19
  1927. package/esm5/components/tabs/tabs/tabs.component.js +0 -159
  1928. package/esm5/components/tabs/tabs-options.js +0 -15
  1929. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +0 -233
  1930. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +0 -43
  1931. package/esm5/components/tabs/tabs.module.js +0 -42
  1932. package/esm5/components/tabs/taiga-ui-kit-components-tabs.js +0 -5
  1933. package/esm5/components/tabs/underline/underline.component.js +0 -94
  1934. package/esm5/components/tag/index.js +0 -4
  1935. package/esm5/components/tag/tag-options.js +0 -16
  1936. package/esm5/components/tag/tag.component.js +0 -240
  1937. package/esm5/components/tag/tag.module.js +0 -29
  1938. package/esm5/components/tag/taiga-ui-kit-components-tag.js +0 -5
  1939. package/esm5/components/taiga-ui-kit-components.js +0 -5
  1940. package/esm5/components/text-area/index.js +0 -5
  1941. package/esm5/components/text-area/taiga-ui-kit-components-text-area.js +0 -5
  1942. package/esm5/components/text-area/text-area.component.js +0 -238
  1943. package/esm5/components/text-area/text-area.directive.js +0 -28
  1944. package/esm5/components/text-area/text-area.module.js +0 -33
  1945. package/esm5/components/text-area/text-area.providers.js +0 -18
  1946. package/esm5/components/toggle/index.js +0 -4
  1947. package/esm5/components/toggle/taiga-ui-kit-components-toggle.js +0 -5
  1948. package/esm5/components/toggle/toggle-options.js +0 -26
  1949. package/esm5/components/toggle/toggle.component.js +0 -160
  1950. package/esm5/components/toggle/toggle.module.js +0 -33
  1951. package/esm5/components/tree/components/tree/tree.component.js +0 -72
  1952. package/esm5/components/tree/components/tree-item/tree-item.component.js +0 -68
  1953. package/esm5/components/tree/components/tree-item/tree-item.providers.js +0 -19
  1954. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +0 -49
  1955. package/esm5/components/tree/directives/tree-children.directive.js +0 -25
  1956. package/esm5/components/tree/directives/tree-controller.directive.js +0 -64
  1957. package/esm5/components/tree/directives/tree-item-controller.directive.js +0 -38
  1958. package/esm5/components/tree/directives/tree-node.directive.js +0 -40
  1959. package/esm5/components/tree/index.js +0 -13
  1960. package/esm5/components/tree/misc/tree.constants.js +0 -9
  1961. package/esm5/components/tree/misc/tree.interfaces.js +0 -1
  1962. package/esm5/components/tree/misc/tree.service.js +0 -44
  1963. package/esm5/components/tree/misc/tree.tokens.js +0 -17
  1964. package/esm5/components/tree/taiga-ui-kit-components-tree.js +0 -5
  1965. package/esm5/components/tree/tree.module.js +0 -48
  1966. package/esm5/constants/date-time-separator.js +0 -2
  1967. package/esm5/constants/empty-mask.js +0 -6
  1968. package/esm5/constants/group-class-names.js +0 -12
  1969. package/esm5/constants/icon-blank.js +0 -2
  1970. package/esm5/constants/index.js +0 -10
  1971. package/esm5/constants/masks.js +0 -52
  1972. package/esm5/constants/math.js +0 -5
  1973. package/esm5/constants/max-day-range-length-mapper.js +0 -16
  1974. package/esm5/constants/max-time-values.js +0 -7
  1975. package/esm5/constants/router-link-options.js +0 -10
  1976. package/esm5/constants/taiga-ui-kit-constants.js +0 -5
  1977. package/esm5/directives/dropdown-context/dropdown-context.directive.js +0 -141
  1978. package/esm5/directives/dropdown-context/dropdown-context.module.js +0 -18
  1979. package/esm5/directives/dropdown-context/index.js +0 -3
  1980. package/esm5/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
  1981. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +0 -56
  1982. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +0 -16
  1983. package/esm5/directives/dropdown-hover/index.js +0 -3
  1984. package/esm5/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
  1985. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +0 -244
  1986. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +0 -18
  1987. package/esm5/directives/dropdown-selection/index.js +0 -3
  1988. package/esm5/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
  1989. package/esm5/directives/highlight/highlight.directive.js +0 -101
  1990. package/esm5/directives/highlight/highlight.module.js +0 -16
  1991. package/esm5/directives/highlight/index.js +0 -3
  1992. package/esm5/directives/highlight/taiga-ui-kit-directives-highlight.js +0 -5
  1993. package/esm5/directives/index.js +0 -10
  1994. package/esm5/directives/lazy-loading/index.js +0 -4
  1995. package/esm5/directives/lazy-loading/lazy-loading.directive.js +0 -69
  1996. package/esm5/directives/lazy-loading/lazy-loading.module.js +0 -16
  1997. package/esm5/directives/lazy-loading/lazy-loading.service.js +0 -40
  1998. package/esm5/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +0 -5
  1999. package/esm5/directives/present/index.js +0 -3
  2000. package/esm5/directives/present/present.directive.js +0 -71
  2001. package/esm5/directives/present/present.module.js +0 -16
  2002. package/esm5/directives/present/taiga-ui-kit-directives-present.js +0 -5
  2003. package/esm5/directives/project-class/index.js +0 -3
  2004. package/esm5/directives/project-class/project-class.directive.js +0 -43
  2005. package/esm5/directives/project-class/project-class.module.js +0 -16
  2006. package/esm5/directives/project-class/taiga-ui-kit-directives-project-class.js +0 -5
  2007. package/esm5/directives/taiga-ui-kit-directives.js +0 -5
  2008. package/esm5/directives/unfinished-validator/index.js +0 -3
  2009. package/esm5/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +0 -5
  2010. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +0 -36
  2011. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +0 -16
  2012. package/esm5/directives/value-accessor/index.js +0 -3
  2013. package/esm5/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +0 -5
  2014. package/esm5/directives/value-accessor/value-accessor.directive.js +0 -16
  2015. package/esm5/directives/value-accessor/value-accessor.module.js +0 -16
  2016. package/esm5/enums/borders.js +0 -9
  2017. package/esm5/enums/dropdown-position.js +0 -10
  2018. package/esm5/enums/file-state.js +0 -11
  2019. package/esm5/enums/index.js +0 -8
  2020. package/esm5/enums/marker-icon-mode.js +0 -15
  2021. package/esm5/enums/status.js +0 -13
  2022. package/esm5/enums/step-state.js +0 -10
  2023. package/esm5/enums/taiga-ui-kit-enums.js +0 -5
  2024. package/esm5/enums/text-align.js +0 -10
  2025. package/esm5/index.js +0 -12
  2026. package/esm5/interfaces/bread-crumbs-item.js +0 -1
  2027. package/esm5/interfaces/file-like.js +0 -1
  2028. package/esm5/interfaces/index.js +0 -1
  2029. package/esm5/interfaces/mobile-calendar-data.js +0 -1
  2030. package/esm5/interfaces/month-context.js +0 -1
  2031. package/esm5/interfaces/taiga-ui-kit-interfaces.js +0 -4
  2032. package/esm5/interfaces/with-date-mask-pipe-config.js +0 -1
  2033. package/esm5/internal/index.js +0 -2
  2034. package/esm5/internal/primitive-calendar-range/index.js +0 -3
  2035. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +0 -163
  2036. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +0 -22
  2037. package/esm5/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +0 -5
  2038. package/esm5/internal/taiga-ui-kit-internal.js +0 -5
  2039. package/esm5/pipes/field-error/field-error-content-pipe.js +0 -44
  2040. package/esm5/pipes/field-error/field-error-pipe.js +0 -142
  2041. package/esm5/pipes/field-error/field-error.module.js +0 -17
  2042. package/esm5/pipes/field-error/index.js +0 -4
  2043. package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +0 -5
  2044. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +0 -28
  2045. package/esm5/pipes/filter-by-input/filter-by-input.base.js +0 -61
  2046. package/esm5/pipes/filter-by-input/filter-by-input.module.js +0 -17
  2047. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +0 -29
  2048. package/esm5/pipes/filter-by-input/index.js +0 -5
  2049. package/esm5/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +0 -5
  2050. package/esm5/pipes/index.js +0 -5
  2051. package/esm5/pipes/stringify/index.js +0 -3
  2052. package/esm5/pipes/stringify/stringify.module.js +0 -16
  2053. package/esm5/pipes/stringify/stringify.pipe.js +0 -17
  2054. package/esm5/pipes/stringify/taiga-ui-kit-pipes-stringify.js +0 -5
  2055. package/esm5/pipes/stringify-content/index.js +0 -3
  2056. package/esm5/pipes/stringify-content/stringify-content.module.js +0 -16
  2057. package/esm5/pipes/stringify-content/stringify-content.pipe.js +0 -20
  2058. package/esm5/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +0 -5
  2059. package/esm5/pipes/taiga-ui-kit-pipes.js +0 -5
  2060. package/esm5/providers/index.js +0 -4
  2061. package/esm5/providers/month-formatter.provider.js +0 -23
  2062. package/esm5/providers/specific-dropdown-controllers.js +0 -29
  2063. package/esm5/providers/taiga-ui-kit-providers.js +0 -5
  2064. package/esm5/providers/value-accessor.provider.js +0 -12
  2065. package/esm5/taiga-ui-kit.js +0 -5
  2066. package/esm5/tokens/calendar-data-stream.js +0 -3
  2067. package/esm5/tokens/date-inputs-value-transformers.js +0 -5
  2068. package/esm5/tokens/i18n.js +0 -60
  2069. package/esm5/tokens/index.js +0 -11
  2070. package/esm5/tokens/items-handlers.js +0 -16
  2071. package/esm5/tokens/mobile-aware.js +0 -6
  2072. package/esm5/tokens/mobile-calendar.js +0 -3
  2073. package/esm5/tokens/month-formatter.js +0 -3
  2074. package/esm5/tokens/tab-margin.js +0 -5
  2075. package/esm5/tokens/tag-status.js +0 -6
  2076. package/esm5/tokens/taiga-ui-kit-tokens.js +0 -5
  2077. package/esm5/tokens/validation-errors.js +0 -5
  2078. package/esm5/types/handler-with-context.js +0 -1
  2079. package/esm5/types/index.js +0 -1
  2080. package/esm5/types/key-steps.js +0 -1
  2081. package/esm5/types/marker-icon-mode.js +0 -1
  2082. package/esm5/types/status.js +0 -1
  2083. package/esm5/types/taiga-ui-kit-types.js +0 -4
  2084. package/esm5/types/time-format-parts.js +0 -1
  2085. package/esm5/utils/dom/get-word-range.js +0 -55
  2086. package/esm5/utils/dom/index.js +0 -4
  2087. package/esm5/utils/dom/scroll-to-element.js +0 -23
  2088. package/esm5/utils/dom/set-range-offset.js +0 -29
  2089. package/esm5/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
  2090. package/esm5/utils/files/format-size.js +0 -21
  2091. package/esm5/utils/files/get-accept-array.js +0 -12
  2092. package/esm5/utils/files/index.js +0 -3
  2093. package/esm5/utils/files/taiga-ui-kit-utils-files.js +0 -5
  2094. package/esm5/utils/format/index.js +0 -2
  2095. package/esm5/utils/format/string-hash-to-hsl.js +0 -24
  2096. package/esm5/utils/format/taiga-ui-kit-utils-format.js +0 -5
  2097. package/esm5/utils/index.js +0 -7
  2098. package/esm5/utils/mask/create-auto-corrected-date-pipe.js +0 -25
  2099. package/esm5/utils/mask/create-auto-corrected-date-range-pipe.js +0 -39
  2100. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +0 -29
  2101. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +0 -36
  2102. package/esm5/utils/mask/create-date-mask.js +0 -17
  2103. package/esm5/utils/mask/create-date-range-mask.js +0 -13
  2104. package/esm5/utils/mask/create-time-mask.js +0 -17
  2105. package/esm5/utils/mask/index.js +0 -8
  2106. package/esm5/utils/mask/taiga-ui-kit-utils-mask.js +0 -5
  2107. package/esm5/utils/math/horizontal-direction-to-number.js +0 -12
  2108. package/esm5/utils/math/index.js +0 -3
  2109. package/esm5/utils/math/key-steps.js +0 -30
  2110. package/esm5/utils/math/taiga-ui-kit-utils-math.js +0 -5
  2111. package/esm5/utils/miscellaneous/create-default-day-range-periods.js +0 -28
  2112. package/esm5/utils/miscellaneous/create-time-periods.js +0 -15
  2113. package/esm5/utils/miscellaneous/get-precision.js +0 -12
  2114. package/esm5/utils/miscellaneous/index.js +0 -6
  2115. package/esm5/utils/miscellaneous/is-flat.js +0 -9
  2116. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +0 -19
  2117. package/esm5/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +0 -5
  2118. package/esm5/utils/taiga-ui-kit-utils.js +0 -5
  2119. package/esm5/validators/index.js +0 -2
  2120. package/esm5/validators/taiga-ui-kit-validators.js +0 -5
  2121. package/esm5/validators/unfinished.validator.js +0 -15
  2122. package/fesm2015/taiga-ui-kit-components-field-error.js +0 -153
  2123. package/fesm2015/taiga-ui-kit-components-field-error.js.map +0 -1
  2124. package/fesm2015/taiga-ui-kit-components-input-file.js +0 -440
  2125. package/fesm2015/taiga-ui-kit-components-input-file.js.map +0 -1
  2126. package/fesm2015/taiga-ui-kit-enums.js +0 -84
  2127. package/fesm2015/taiga-ui-kit-enums.js.map +0 -1
  2128. package/fesm5/taiga-ui-kit-abstract.js +0 -501
  2129. package/fesm5/taiga-ui-kit-abstract.js.map +0 -1
  2130. package/fesm5/taiga-ui-kit-classes.js +0 -44
  2131. package/fesm5/taiga-ui-kit-classes.js.map +0 -1
  2132. package/fesm5/taiga-ui-kit-components-accordion.js +0 -286
  2133. package/fesm5/taiga-ui-kit-components-accordion.js.map +0 -1
  2134. package/fesm5/taiga-ui-kit-components-action.js +0 -117
  2135. package/fesm5/taiga-ui-kit-components-action.js.map +0 -1
  2136. package/fesm5/taiga-ui-kit-components-arrow.js +0 -87
  2137. package/fesm5/taiga-ui-kit-components-arrow.js.map +0 -1
  2138. package/fesm5/taiga-ui-kit-components-avatar.js +0 -132
  2139. package/fesm5/taiga-ui-kit-components-avatar.js.map +0 -1
  2140. package/fesm5/taiga-ui-kit-components-badge.js +0 -107
  2141. package/fesm5/taiga-ui-kit-components-badge.js.map +0 -1
  2142. package/fesm5/taiga-ui-kit-components-badged-content.js +0 -138
  2143. package/fesm5/taiga-ui-kit-components-badged-content.js.map +0 -1
  2144. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +0 -120
  2145. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +0 -1
  2146. package/fesm5/taiga-ui-kit-components-calendar-month.js +0 -244
  2147. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +0 -1
  2148. package/fesm5/taiga-ui-kit-components-calendar-range.js +0 -211
  2149. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +0 -1
  2150. package/fesm5/taiga-ui-kit-components-carousel.js +0 -307
  2151. package/fesm5/taiga-ui-kit-components-carousel.js.map +0 -1
  2152. package/fesm5/taiga-ui-kit-components-checkbox-block.js +0 -148
  2153. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +0 -1
  2154. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +0 -115
  2155. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +0 -1
  2156. package/fesm5/taiga-ui-kit-components-checkbox.js +0 -118
  2157. package/fesm5/taiga-ui-kit-components-checkbox.js.map +0 -1
  2158. package/fesm5/taiga-ui-kit-components-combo-box.js +0 -333
  2159. package/fesm5/taiga-ui-kit-components-combo-box.js.map +0 -1
  2160. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +0 -171
  2161. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +0 -1
  2162. package/fesm5/taiga-ui-kit-components-field-error.js +0 -189
  2163. package/fesm5/taiga-ui-kit-components-field-error.js.map +0 -1
  2164. package/fesm5/taiga-ui-kit-components-files.js +0 -289
  2165. package/fesm5/taiga-ui-kit-components-files.js.map +0 -1
  2166. package/fesm5/taiga-ui-kit-components-filter.js +0 -128
  2167. package/fesm5/taiga-ui-kit-components-filter.js.map +0 -1
  2168. package/fesm5/taiga-ui-kit-components-input-copy.js +0 -200
  2169. package/fesm5/taiga-ui-kit-components-input-copy.js.map +0 -1
  2170. package/fesm5/taiga-ui-kit-components-input-count.js +0 -377
  2171. package/fesm5/taiga-ui-kit-components-input-count.js.map +0 -1
  2172. package/fesm5/taiga-ui-kit-components-input-date-range.js +0 -452
  2173. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +0 -1
  2174. package/fesm5/taiga-ui-kit-components-input-date-time.js +0 -402
  2175. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +0 -1
  2176. package/fesm5/taiga-ui-kit-components-input-date.js +0 -365
  2177. package/fesm5/taiga-ui-kit-components-input-date.js.map +0 -1
  2178. package/fesm5/taiga-ui-kit-components-input-file.js +0 -535
  2179. package/fesm5/taiga-ui-kit-components-input-file.js.map +0 -1
  2180. package/fesm5/taiga-ui-kit-components-input-files.js +0 -291
  2181. package/fesm5/taiga-ui-kit-components-input-files.js.map +0 -1
  2182. package/fesm5/taiga-ui-kit-components-input-inline.js +0 -105
  2183. package/fesm5/taiga-ui-kit-components-input-inline.js.map +0 -1
  2184. package/fesm5/taiga-ui-kit-components-input-month-range.js +0 -240
  2185. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +0 -1
  2186. package/fesm5/taiga-ui-kit-components-input-month.js +0 -220
  2187. package/fesm5/taiga-ui-kit-components-input-month.js.map +0 -1
  2188. package/fesm5/taiga-ui-kit-components-input-number.js +0 -365
  2189. package/fesm5/taiga-ui-kit-components-input-number.js.map +0 -1
  2190. package/fesm5/taiga-ui-kit-components-input-password.js +0 -226
  2191. package/fesm5/taiga-ui-kit-components-input-password.js.map +0 -1
  2192. package/fesm5/taiga-ui-kit-components-input-phone-international.js +0 -744
  2193. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +0 -1
  2194. package/fesm5/taiga-ui-kit-components-input-phone.js +0 -410
  2195. package/fesm5/taiga-ui-kit-components-input-phone.js.map +0 -1
  2196. package/fesm5/taiga-ui-kit-components-input-range.js +0 -347
  2197. package/fesm5/taiga-ui-kit-components-input-range.js.map +0 -1
  2198. package/fesm5/taiga-ui-kit-components-input-slider.js +0 -324
  2199. package/fesm5/taiga-ui-kit-components-input-slider.js.map +0 -1
  2200. package/fesm5/taiga-ui-kit-components-input-tag.js +0 -563
  2201. package/fesm5/taiga-ui-kit-components-input-tag.js.map +0 -1
  2202. package/fesm5/taiga-ui-kit-components-input-time.js +0 -353
  2203. package/fesm5/taiga-ui-kit-components-input-time.js.map +0 -1
  2204. package/fesm5/taiga-ui-kit-components-input.js +0 -174
  2205. package/fesm5/taiga-ui-kit-components-input.js.map +0 -1
  2206. package/fesm5/taiga-ui-kit-components-island.js +0 -123
  2207. package/fesm5/taiga-ui-kit-components-island.js.map +0 -1
  2208. package/fesm5/taiga-ui-kit-components-line-clamp.js +0 -179
  2209. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +0 -1
  2210. package/fesm5/taiga-ui-kit-components-marker-icon.js +0 -66
  2211. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +0 -1
  2212. package/fesm5/taiga-ui-kit-components-multi-select-option.js +0 -60
  2213. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +0 -1
  2214. package/fesm5/taiga-ui-kit-components-multi-select.js +0 -623
  2215. package/fesm5/taiga-ui-kit-components-multi-select.js.map +0 -1
  2216. package/fesm5/taiga-ui-kit-components-pagination.js +0 -349
  2217. package/fesm5/taiga-ui-kit-components-pagination.js.map +0 -1
  2218. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +0 -117
  2219. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +0 -1
  2220. package/fesm5/taiga-ui-kit-components-progress.js +0 -330
  2221. package/fesm5/taiga-ui-kit-components-progress.js.map +0 -1
  2222. package/fesm5/taiga-ui-kit-components-radio-block.js +0 -171
  2223. package/fesm5/taiga-ui-kit-components-radio-block.js.map +0 -1
  2224. package/fesm5/taiga-ui-kit-components-radio-group.js +0 -43
  2225. package/fesm5/taiga-ui-kit-components-radio-group.js.map +0 -1
  2226. package/fesm5/taiga-ui-kit-components-radio-labeled.js +0 -140
  2227. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +0 -1
  2228. package/fesm5/taiga-ui-kit-components-radio-list.js +0 -142
  2229. package/fesm5/taiga-ui-kit-components-radio-list.js.map +0 -1
  2230. package/fesm5/taiga-ui-kit-components-radio.js +0 -209
  2231. package/fesm5/taiga-ui-kit-components-radio.js.map +0 -1
  2232. package/fesm5/taiga-ui-kit-components-range.js +0 -390
  2233. package/fesm5/taiga-ui-kit-components-range.js.map +0 -1
  2234. package/fesm5/taiga-ui-kit-components-rating.js +0 -150
  2235. package/fesm5/taiga-ui-kit-components-rating.js.map +0 -1
  2236. package/fesm5/taiga-ui-kit-components-select-option.js +0 -96
  2237. package/fesm5/taiga-ui-kit-components-select-option.js.map +0 -1
  2238. package/fesm5/taiga-ui-kit-components-select.js +0 -237
  2239. package/fesm5/taiga-ui-kit-components-select.js.map +0 -1
  2240. package/fesm5/taiga-ui-kit-components-slider.js +0 -541
  2241. package/fesm5/taiga-ui-kit-components-slider.js.map +0 -1
  2242. package/fesm5/taiga-ui-kit-components-stepper.js +0 -233
  2243. package/fesm5/taiga-ui-kit-components-stepper.js.map +0 -1
  2244. package/fesm5/taiga-ui-kit-components-tabs.js +0 -677
  2245. package/fesm5/taiga-ui-kit-components-tabs.js.map +0 -1
  2246. package/fesm5/taiga-ui-kit-components-tag.js +0 -282
  2247. package/fesm5/taiga-ui-kit-components-tag.js.map +0 -1
  2248. package/fesm5/taiga-ui-kit-components-text-area.js +0 -306
  2249. package/fesm5/taiga-ui-kit-components-text-area.js.map +0 -1
  2250. package/fesm5/taiga-ui-kit-components-toggle.js +0 -216
  2251. package/fesm5/taiga-ui-kit-components-toggle.js.map +0 -1
  2252. package/fesm5/taiga-ui-kit-components-tree.js +0 -439
  2253. package/fesm5/taiga-ui-kit-components-tree.js.map +0 -1
  2254. package/fesm5/taiga-ui-kit-components.js +0 -66
  2255. package/fesm5/taiga-ui-kit-components.js.map +0 -1
  2256. package/fesm5/taiga-ui-kit-constants.js +0 -119
  2257. package/fesm5/taiga-ui-kit-constants.js.map +0 -1
  2258. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +0 -160
  2259. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
  2260. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +0 -74
  2261. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
  2262. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +0 -263
  2263. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
  2264. package/fesm5/taiga-ui-kit-directives-highlight.js +0 -119
  2265. package/fesm5/taiga-ui-kit-directives-highlight.js.map +0 -1
  2266. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +0 -121
  2267. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +0 -1
  2268. package/fesm5/taiga-ui-kit-directives-present.js +0 -89
  2269. package/fesm5/taiga-ui-kit-directives-present.js.map +0 -1
  2270. package/fesm5/taiga-ui-kit-directives-project-class.js +0 -61
  2271. package/fesm5/taiga-ui-kit-directives-project-class.js.map +0 -1
  2272. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +0 -54
  2273. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +0 -1
  2274. package/fesm5/taiga-ui-kit-directives-value-accessor.js +0 -34
  2275. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +0 -1
  2276. package/fesm5/taiga-ui-kit-directives.js +0 -14
  2277. package/fesm5/taiga-ui-kit-directives.js.map +0 -1
  2278. package/fesm5/taiga-ui-kit-enums.js +0 -84
  2279. package/fesm5/taiga-ui-kit-enums.js.map +0 -1
  2280. package/fesm5/taiga-ui-kit-interfaces.js +0 -4
  2281. package/fesm5/taiga-ui-kit-interfaces.js.map +0 -1
  2282. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +0 -185
  2283. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +0 -1
  2284. package/fesm5/taiga-ui-kit-internal.js +0 -6
  2285. package/fesm5/taiga-ui-kit-internal.js.map +0 -1
  2286. package/fesm5/taiga-ui-kit-pipes-field-error.js +0 -200
  2287. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +0 -1
  2288. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +0 -125
  2289. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +0 -1
  2290. package/fesm5/taiga-ui-kit-pipes-stringify-content.js +0 -38
  2291. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +0 -1
  2292. package/fesm5/taiga-ui-kit-pipes-stringify.js +0 -35
  2293. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +0 -1
  2294. package/fesm5/taiga-ui-kit-pipes.js +0 -9
  2295. package/fesm5/taiga-ui-kit-pipes.js.map +0 -1
  2296. package/fesm5/taiga-ui-kit-providers.js +0 -67
  2297. package/fesm5/taiga-ui-kit-providers.js.map +0 -1
  2298. package/fesm5/taiga-ui-kit-tokens.js +0 -110
  2299. package/fesm5/taiga-ui-kit-tokens.js.map +0 -1
  2300. package/fesm5/taiga-ui-kit-types.js +0 -4
  2301. package/fesm5/taiga-ui-kit-types.js.map +0 -1
  2302. package/fesm5/taiga-ui-kit-utils-dom.js +0 -113
  2303. package/fesm5/taiga-ui-kit-utils-dom.js.map +0 -1
  2304. package/fesm5/taiga-ui-kit-utils-files.js +0 -40
  2305. package/fesm5/taiga-ui-kit-utils-files.js.map +0 -1
  2306. package/fesm5/taiga-ui-kit-utils-format.js +0 -30
  2307. package/fesm5/taiga-ui-kit-utils-format.js.map +0 -1
  2308. package/fesm5/taiga-ui-kit-utils-mask.js +0 -169
  2309. package/fesm5/taiga-ui-kit-utils-mask.js.map +0 -1
  2310. package/fesm5/taiga-ui-kit-utils-math.js +0 -49
  2311. package/fesm5/taiga-ui-kit-utils-math.js.map +0 -1
  2312. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +0 -88
  2313. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +0 -1
  2314. package/fesm5/taiga-ui-kit-utils.js +0 -11
  2315. package/fesm5/taiga-ui-kit-utils.js.map +0 -1
  2316. package/fesm5/taiga-ui-kit-validators.js +0 -22
  2317. package/fesm5/taiga-ui-kit-validators.js.map +0 -1
  2318. package/fesm5/taiga-ui-kit.js +0 -16
  2319. package/fesm5/taiga-ui-kit.js.map +0 -1
  2320. package/interfaces/taiga-ui-kit-interfaces.metadata.json +0 -1
  2321. package/interfaces/with-date-mask-pipe-config.d.ts +0 -9
  2322. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +0 -1
  2323. package/internal/taiga-ui-kit-internal.metadata.json +0 -1
  2324. package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +0 -1
  2325. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +0 -1
  2326. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +0 -1
  2327. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +0 -1
  2328. package/pipes/taiga-ui-kit-pipes.metadata.json +0 -1
  2329. package/providers/taiga-ui-kit-providers.metadata.json +0 -1
  2330. package/taiga-ui-kit.metadata.json +0 -1
  2331. package/tokens/mobile-aware.d.ts +0 -3
  2332. package/tokens/taiga-ui-kit-tokens.metadata.json +0 -1
  2333. package/types/taiga-ui-kit-types.metadata.json +0 -1
  2334. package/utils/dom/taiga-ui-kit-utils-dom.metadata.json +0 -1
  2335. package/utils/files/taiga-ui-kit-utils-files.metadata.json +0 -1
  2336. package/utils/format/taiga-ui-kit-utils-format.metadata.json +0 -1
  2337. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +0 -1
  2338. package/utils/math/taiga-ui-kit-utils-math.metadata.json +0 -1
  2339. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.metadata.json +0 -1
  2340. package/utils/taiga-ui-kit-utils.metadata.json +0 -1
  2341. package/validators/taiga-ui-kit-validators.metadata.json +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-multi-select.js","sources":["ng://@taiga-ui/kit/components/multi-select/multi-select-options.ts","ng://@taiga-ui/kit/components/multi-select/multi-select.component.ts","ng://@taiga-ui/kit/components/multi-select/hide-selected.pipe.ts","ng://@taiga-ui/kit/components/multi-select/multi-select-group/multi-select-group.component.ts","ng://@taiga-ui/kit/components/multi-select/multi-select-group/multi-select-group.directive.ts","ng://@taiga-ui/kit/components/multi-select/multi-select.module.ts","ng://@taiga-ui/kit/components/multi-select/taiga-ui-kit-components-multi-select.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiMultiSelectOptions<T> {\n readonly expandable: boolean;\n readonly valueContent: PolymorpheusContent<TuiContextWithImplicit<readonly T[]>>;\n}\n\nexport const TUI_MULTI_SELECT_DEFAULT_OPTIONS: TuiMultiSelectOptions<unknown> = {\n expandable: true,\n valueContent: '',\n};\n\nexport const TUI_MULTI_SELECT_OPTIONS = new InjectionToken<\n TuiMultiSelectOptions<unknown>\n>('Default parameters for multi select component', {\n factory: () => TUI_MULTI_SELECT_DEFAULT_OPTIONS,\n});\n\nexport const tuiMultiSelectOptionsProvider: <T>(\n options: Partial<TuiMultiSelectOptions<T>>,\n) => ValueProvider = <T>(options: Partial<TuiMultiSelectOptions<T>>) => ({\n provide: TUI_MULTI_SELECT_OPTIONS,\n useValue: {...TUI_MULTI_SELECT_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n EventEmitter,\n forwardRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Output,\n Self,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiMultipleControl,\n EMPTY_ARRAY,\n isNativeFocused,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiActiveZoneDirective,\n TuiBooleanHandler,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiMapper,\n tuiPure,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\nimport {\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_DATA_LIST_ACCESSOR,\n TUI_DATA_LIST_HOST,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiDataListAccessor,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHostedDropdownComponent,\n TuiSizeL,\n TuiSizeM,\n TuiSizeS,\n TuiSvgService,\n TuiTextfieldController,\n} from '@taiga-ui/core';\nimport {TuiStringifiableItem} from '@taiga-ui/kit/classes';\nimport {TUI_ARROW_MODE, TuiArrowMode} from '@taiga-ui/kit/components/arrow';\nimport {TuiInputTagComponent} from '@taiga-ui/kit/components/input-tag';\nimport {iconBlank} from '@taiga-ui/kit/constants';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {TUI_ITEMS_HANDLERS, TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_MULTI_SELECT_OPTIONS, TuiMultiSelectOptions} from './multi-select-options';\n\n@Component({\n selector: 'tui-multi-select',\n templateUrl: './multi-select.template.html',\n styleUrls: ['./multi-select.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiMultiSelectComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiMultiSelectComponent),\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiMultiSelectComponent<T>\n extends AbstractTuiMultipleControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ContentChild(TUI_DATA_LIST_ACCESSOR as any)\n private readonly accessor?: TuiDataListAccessor<T>;\n\n @ViewChild(TuiHostedDropdownComponent)\n private readonly hostedDropdown?: TuiHostedDropdownComponent;\n\n @ViewChild(TuiInputTagComponent)\n private readonly input?: TuiInputTagComponent;\n\n @Input()\n @tuiDefaultProp()\n stringify: TuiItemsHandlers<T>['stringify'] = this.itemsHandlers.stringify;\n\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiItemsHandlers<T>['identityMatcher'] =\n this.itemsHandlers.identityMatcher;\n\n @Input()\n @tuiDefaultProp()\n expandable: TuiMultiSelectOptions<T>['expandable'] = this.options.expandable;\n\n @Input()\n @tuiDefaultProp()\n search: string | null = '';\n\n @Input()\n @HostBinding('class._editable')\n @tuiDefaultProp()\n editable = true;\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiItemsHandlers<T>['disabledItemHandler'] =\n this.itemsHandlers.disabledItemHandler;\n\n @Input()\n @tuiDefaultProp()\n valueContent: TuiMultiSelectOptions<T>['valueContent'] = this.options.valueContent;\n\n @Output()\n readonly searchChange = new EventEmitter<string | null>();\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist: PolymorpheusContent<\n TuiContextWithImplicit<TuiActiveZoneDirective>\n > = '';\n\n open = false;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiSvgService) svgService: TuiSvgService,\n @Inject(TUI_ARROW_MODE)\n private readonly arrowMode: TuiArrowMode,\n @Inject(TUI_ITEMS_HANDLERS)\n private readonly itemsHandlers: TuiItemsHandlers<T>,\n @Inject(TUI_MULTI_SELECT_OPTIONS)\n private readonly options: TuiMultiSelectOptions<T>,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n ) {\n super(control, changeDetectorRef);\n\n svgService.define({iconBlank});\n }\n\n @HostBinding('attr.data-size')\n get size(): TuiSizeL | TuiSizeS {\n return this.controller.size;\n }\n\n get arrow(): PolymorpheusContent<\n TuiContextWithImplicit<TuiSizeS | TuiSizeM | TuiSizeL>\n > {\n return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.input ? this.input.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return (\n (!!this.input && this.input.focused) ||\n (!!this.hostedDropdown && this.hostedDropdown.focused)\n );\n }\n\n get computedValue(): readonly T[] {\n return this.computedGroup ? EMPTY_ARRAY : this.value;\n }\n\n // @bad TODO: think of a better way\n get searchOrSpace(): string {\n return this.computedGroup ? ' ' : this.searchString;\n }\n\n get searchString(): string {\n return this.search === null ? '' : this.search;\n }\n\n /**\n * Pass empty icon to InputTag (inside this component)\n * to prevent overflow of arrow icon by many tags\n */\n get tagIcon(): string {\n return this.interactive ? 'iconBlank' : '';\n }\n\n get inputHidden(): boolean {\n return !this.editable && !this.computedGroup;\n }\n\n get computedGroup(): boolean {\n return (\n !!this.valueContent &&\n this.value.length > 0 &&\n (!this.focused || !this.editable)\n );\n }\n\n get context(): TuiContextWithImplicit<readonly T[]> {\n return this.getContext(this.value);\n }\n\n @tuiPure\n getStringifier(\n stringify: TuiStringHandler<T>,\n ): TuiStringHandler<TuiContextWithImplicit<T>> {\n return ({$implicit}) => stringify($implicit);\n }\n\n readonly valueMapper: TuiMapper<\n readonly T[],\n ReadonlyArray<TuiStringifiableItem<T>>\n > = (value, stringify: TuiStringHandler<T>, group: boolean) =>\n group\n ? EMPTY_ARRAY\n : value.map(item => new TuiStringifiableItem(item, stringify));\n\n readonly disabledItemHandlerWrapper: TuiMapper<\n TuiBooleanHandler<T>,\n TuiBooleanHandler<string | TuiStringifiableItem<T>>\n > = handler => stringifiable =>\n typeof stringifiable === 'string' || handler(stringifiable.item);\n\n onHoveredChange(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onSpace(event: Event): void {\n if (!this.editable) {\n event.preventDefault();\n }\n\n if (!this.readOnly) {\n this.open = true;\n }\n }\n\n handleOption(option: T): void {\n const {value, identityMatcher} = this;\n const index = value.findIndex(item => identityMatcher(item, option));\n\n this.updateValue(\n index === -1 ? [...value, option] : value.filter((_, i) => i !== index),\n );\n this.updateSearch(null);\n }\n\n onEnter(event: Event): void {\n const {value} = this;\n const options = this.accessor ? this.accessor.getOptions() : [];\n\n if (options.length !== 1) {\n return;\n }\n\n const index = value.indexOf(options[0]);\n\n event.preventDefault();\n this.updateValue(\n index === -1\n ? [...value, options[0]]\n : [...value.slice(0, index), ...value.slice(index + 1)],\n );\n this.updateSearch(null);\n }\n\n onClick({nativeFocusableElement}: TuiInputTagComponent): void {\n if (\n this.editable &&\n this.interactive &&\n nativeFocusableElement &&\n isNativeFocused(nativeFocusableElement)\n ) {\n this.hostedDropdown?.updateOpen(!this.open);\n }\n }\n\n onArrowClick(): void {\n this.hostedDropdown?.updateOpen(!this.open);\n this.focusInput();\n }\n\n onInput(value: ReadonlyArray<TuiStringifiableItem<T>>): void {\n this.updateValue(value.map(({item}) => item));\n }\n\n onSearch(search: string | null): void {\n this.open = true;\n this.updateSearch(search);\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n setDisabledState(): void {\n super.setDisabledState();\n this.open = false;\n }\n\n @tuiPure\n private getContext($implicit: readonly T[]): TuiContextWithImplicit<readonly T[]> {\n return {$implicit};\n }\n\n private updateSearch(search: string | null): void {\n if (this.search === search) {\n return;\n }\n\n this.search = search;\n this.searchChange.emit(search);\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n}\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {TuiIdentityMatcher, tuiPure} from '@taiga-ui/cdk';\nimport {isFlat} from '@taiga-ui/kit/utils';\n\nimport {TuiMultiSelectComponent} from './multi-select.component';\n\n@Pipe({\n name: 'tuiHideSelected',\n pure: false,\n})\nexport class TuiHideSelectedPipe implements PipeTransform {\n constructor(\n @Inject(TuiMultiSelectComponent)\n private readonly component: TuiMultiSelectComponent<any>,\n ) {}\n\n transform<T>(\n items: readonly T[] | null,\n component?: TuiMultiSelectComponent<T>, // TODO: 3.0 @deprecated remove\n ): readonly T[] | null;\n transform<T>(\n items: ReadonlyArray<readonly T[]> | null,\n component?: TuiMultiSelectComponent<T>, // TODO: 3.0 @deprecated remove\n ): ReadonlyArray<readonly T[]> | null;\n transform<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n component?: TuiMultiSelectComponent<T>, // TODO: 3.0 @deprecated remove\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n const {value, identityMatcher} = component ?? this.component;\n\n if (!items) {\n return null;\n }\n\n return isFlat(items)\n ? this.filter(items, value, identityMatcher)\n : this.filter2d(items, value, identityMatcher);\n }\n\n @tuiPure\n private filter2d<T>(\n items: ReadonlyArray<readonly T[]>,\n value: readonly T[],\n matcher: TuiIdentityMatcher<T>,\n ): ReadonlyArray<readonly T[]> {\n return items.map(subItems => this.filter(subItems, value, matcher));\n }\n\n @tuiPure\n private filter<T>(\n items: readonly T[],\n value: readonly T[],\n matcher: TuiIdentityMatcher<T>,\n ): readonly T[] {\n return items.filter(item => value.every(selected => !matcher(selected, item)));\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n Inject,\n Input,\n QueryList,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n EMPTY_QUERY,\n getOriginalArrayFromQueryList,\n isPresent,\n itemsQueryListObservable,\n TUI_DEFAULT_IDENTITY_MATCHER,\n tuiDefaultProp,\n TuiIdentityMatcher,\n tuiPure,\n tuiReplayedValueChangesFrom,\n} from '@taiga-ui/cdk';\nimport {\n sizeBigger,\n TUI_DATA_LIST_HOST,\n TUI_OPTION_CONTENT,\n TuiDataListHost,\n TuiOptionComponent,\n TuiSizeL,\n TuiSizeXS,\n} from '@taiga-ui/core';\nimport {combineLatest, Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n@Component({\n selector: 'tui-opt-group[tuiMultiSelectGroup]',\n templateUrl: './multi-select-group.template.html',\n styleUrls: ['./multi-select-group.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [\n {\n provide: TUI_OPTION_CONTENT,\n useValue: null,\n },\n ],\n})\nexport class TuiMultiSelectGroupComponent<T> {\n @ContentChildren(TuiOptionComponent)\n private readonly options: QueryList<TuiOptionComponent<T>> = EMPTY_QUERY;\n\n @Input()\n @tuiDefaultProp()\n label = '';\n\n constructor(\n @Inject(TUI_DATA_LIST_HOST) private readonly host: TuiDataListHost<T>,\n @Inject(NgControl) private readonly control: NgControl,\n ) {}\n\n get size(): TuiSizeXS | TuiSizeL {\n return this.options.first?.size || 'm';\n }\n\n get checkboxSize(): TuiSizeL {\n return this.options.first && sizeBigger(this.options.first.size) ? 'l' : 'm';\n }\n\n @tuiPure\n get empty$(): Observable<boolean> {\n return itemsQueryListObservable(this.options).pipe(map(({length}) => !length));\n }\n\n @tuiPure\n get disabled$(): Observable<boolean> {\n return itemsQueryListObservable(this.options).pipe(\n map(items => items.every(({disabled}) => disabled)),\n );\n }\n\n @tuiPure\n get value$(): Observable<boolean | null> {\n return combineLatest(this.items$, this.valueChanges$).pipe(\n map(([items, current]) => {\n let result = false;\n\n for (let i = 0; i < items.length; i++) {\n const selected = current.some(selected =>\n this.matcher(selected, items[i]),\n );\n\n if ((!selected && result) || (selected && !result && i)) {\n return null;\n }\n\n result = selected;\n }\n\n return result;\n }),\n );\n }\n\n onClick(checked: boolean | null): void {\n if (!this.control.control) {\n return;\n }\n\n const controlValue: readonly T[] = this.control.value || [];\n const {values} = this;\n const filtered = controlValue.filter(current =>\n values.every(item => !this.matcher(current, item)),\n );\n\n this.control.control.setValue(checked ? filtered : [...filtered, ...values]);\n }\n\n private get values(): readonly T[] {\n return this.filter(getOriginalArrayFromQueryList(this.options));\n }\n\n private get matcher(): TuiIdentityMatcher<T> {\n return this.host.identityMatcher || TUI_DEFAULT_IDENTITY_MATCHER;\n }\n\n @tuiPure\n private get items$(): Observable<readonly T[]> {\n return itemsQueryListObservable(this.options).pipe(\n map(options => options.map(({value}) => value).filter(isPresent)),\n );\n }\n\n @tuiPure\n private get valueChanges$(): Observable<readonly T[]> {\n return tuiReplayedValueChangesFrom<readonly T[]>(this.control).pipe(\n map(value => value || []),\n );\n }\n\n @tuiPure\n private filter(items: ReadonlyArray<TuiOptionComponent<T>>): readonly T[] {\n return items.map(({value}) => value).filter(isPresent);\n }\n}\n","import {Directive, forwardRef, Optional} from '@angular/core';\nimport {NG_VALUE_ACCESSOR, NgControl} from '@angular/forms';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST, TUI_OPTION_CONTENT, TuiDataListHost} from '@taiga-ui/core';\nimport {TuiMultiSelectOptionComponent} from '@taiga-ui/kit/components/multi-select-option';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiMultiSelectComponent} from '../multi-select.component';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function hostFallbackFactory<T>(\n control: NgControl,\n host: TuiDataListHost<T> | null,\n): TuiDataListHost<T> {\n return (\n host || {\n handleOption: option => {\n if (!control.control) {\n return;\n }\n\n const value = control.value || [];\n const index = value.indexOf(option);\n\n control.control.setValue(\n index === -1\n ? [...value, option]\n : [...value.slice(0, index), ...value.slice(index + 1)],\n );\n },\n }\n );\n}\n\nexport const TUI_MULTI_SELECT_OPTION = new PolymorpheusComponent(\n TuiMultiSelectOptionComponent,\n);\n\n// TODO: 3.0 remove in ivy compilation\nexport const MULTI_SELECT_ACCESSOR = {\n writeValue: EMPTY_FUNCTION,\n registerOnChange: EMPTY_FUNCTION,\n registerOnTouched: EMPTY_FUNCTION,\n};\n\n@Directive({\n selector: '[tuiMultiSelectGroup]',\n providers: [\n {\n provide: TUI_OPTION_CONTENT,\n useValue: TUI_MULTI_SELECT_OPTION,\n },\n {\n provide: TUI_DATA_LIST_HOST,\n deps: [\n NgControl,\n [new Optional(), forwardRef(() => TuiMultiSelectComponent)],\n ],\n useFactory: hostFallbackFactory,\n },\n {\n provide: NG_VALUE_ACCESSOR,\n multi: true,\n useValue: MULTI_SELECT_ACCESSOR,\n },\n ],\n})\nexport class TuiMultiSelectGroupDirective {}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {\n TuiActiveZoneModule,\n TuiHoveredModule,\n TuiLetModule,\n TuiMapperPipeModule,\n TuiPreventDefaultModule,\n} from '@taiga-ui/cdk';\nimport {\n TuiDataListModule,\n TuiHostedDropdownModule,\n TuiPrimitiveCheckboxModule,\n TuiSvgModule,\n} from '@taiga-ui/core';\nimport {TuiArrowModule} from '@taiga-ui/kit/components/arrow';\nimport {TuiInputTagModule} from '@taiga-ui/kit/components/input-tag';\nimport {TuiMultiSelectOptionModule} from '@taiga-ui/kit/components/multi-select-option';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiHideSelectedPipe} from './hide-selected.pipe';\nimport {TuiMultiSelectComponent} from './multi-select.component';\nimport {TuiMultiSelectGroupComponent} from './multi-select-group/multi-select-group.component';\nimport {TuiMultiSelectGroupDirective} from './multi-select-group/multi-select-group.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiPreventDefaultModule,\n TuiActiveZoneModule,\n TuiArrowModule,\n TuiLetModule,\n TuiMapperPipeModule,\n TuiHoveredModule,\n TuiSvgModule,\n TuiHostedDropdownModule,\n TuiInputTagModule,\n TuiMultiSelectOptionModule,\n TuiPrimitiveCheckboxModule,\n TuiDataListModule,\n ],\n declarations: [\n TuiMultiSelectComponent,\n TuiMultiSelectGroupComponent,\n TuiMultiSelectGroupDirective,\n TuiHideSelectedPipe,\n ],\n exports: [\n TuiMultiSelectComponent,\n TuiMultiSelectGroupComponent,\n TuiMultiSelectGroupDirective,\n TuiHideSelectedPipe,\n ],\n})\nexport class TuiMultiSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;MASa,gCAAgC,GAAmC;IAC5E,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE,EAAE;EAClB;MAEW,wBAAwB,GAAG,IAAI,cAAc,CAExD,+CAA+C,EAAE;IAC/C,OAAO,EAAE,MAAM,gCAAgC;CAClD,EAAE;MAEU,6BAA6B,GAErB,CAAI,OAA0C,MAAM;IACrE,OAAO,EAAE,wBAAwB;IACjC,QAAQ,kCAAM,gCAAgC,GAAK,OAAO,CAAC;CAC9D;;;ICkDY,uBAAuB,+BAApC,MAAa,uBACT,SAAQ,0BAA6B;IAqDrC,YAII,OAAyB,EACE,iBAAoC,EACxC,UAAyB,EAE/B,SAAuB,EAEvB,aAAkC,EAElC,OAAiC,EAEzC,UAAkC;QAE3C,KAAK,CAAC,OAAO,EAAE,iBAAiB,CAAC,CAAC;QARjB,cAAS,GAAT,SAAS,CAAc;QAEvB,kBAAa,GAAb,aAAa,CAAqB;QAElC,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,iBAAiB;gBAC1B,KAAK,EAAE,IAAI;gBACX,QAAQ,EAAE,qBAAqB;aAClC;SACJ;KACJ,CAAC;GACW,4BAA4B,CAAG;;ICV/B,oBAAoB,GAAjC,MAAa,oBAAoB;EAAG;AAAvB,oBAAoB;IA/BhC,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,WAAW;YACX,kBAAkB;YAClB,uBAAuB;YACvB,mBAAmB;YACnB,cAAc;YACd,YAAY;YACZ,mBAAmB;YACnB,gBAAgB;YAChB,YAAY;YACZ,uBAAuB;YACvB,iBAAiB;YACjB,0BAA0B;YAC1B,0BAA0B;YAC1B,iBAAiB;SACpB;QACD,YAAY,EAAE;YACV,uBAAuB;YACvB,4BAA4B;YAC5B,4BAA4B;YAC5B,mBAAmB;SACtB;QACD,OAAO,EAAE;YACL,uBAAuB;YACvB,4BAA4B;YAC5B,4BAA4B;YAC5B,mBAAmB;SACtB;KACJ,CAAC;GACW,oBAAoB,CAAG;;ACzDpC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-multi-select.js","sources":["../../../projects/kit/components/multi-select/multi-select-options.ts","../../../projects/kit/components/multi-select/multi-select.component.ts","../../../projects/kit/components/multi-select/multi-select.template.html","../../../projects/kit/components/multi-select/hide-selected.pipe.ts","../../../projects/kit/components/multi-select/multi-select-group/multi-select-group.component.ts","../../../projects/kit/components/multi-select/multi-select-group/multi-select-group.template.html","../../../projects/kit/components/multi-select/multi-select-group/multi-select-group.directive.ts","../../../projects/kit/components/multi-select/multi-select.module.ts","../../../projects/kit/components/multi-select/taiga-ui-kit-components-multi-select.ts"],"sourcesContent":["import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiMultiSelectOptions<T> {\n readonly expandable: boolean;\n readonly valueContent: PolymorpheusContent<TuiContextWithImplicit<readonly T[]>>;\n}\n\nexport const TUI_MULTI_SELECT_DEFAULT_OPTIONS: TuiMultiSelectOptions<unknown> = {\n expandable: true,\n valueContent: ``,\n};\n\nexport const TUI_MULTI_SELECT_OPTIONS = new InjectionToken<\n TuiMultiSelectOptions<unknown>\n>(`Default parameters for multi select component`, {\n factory: () => TUI_MULTI_SELECT_DEFAULT_OPTIONS,\n});\n\nexport const tuiMultiSelectOptionsProvider: <T>(\n options: Partial<TuiMultiSelectOptions<T>>,\n) => ValueProvider = <T>(options: Partial<TuiMultiSelectOptions<T>>) => ({\n provide: TUI_MULTI_SELECT_OPTIONS,\n useValue: {...TUI_MULTI_SELECT_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n EventEmitter,\n forwardRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Output,\n Self,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiMultipleControl,\n EMPTY_ARRAY,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiActiveZoneDirective,\n TuiBooleanHandler,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n tuiIsNativeFocused,\n tuiIsString,\n TuiMapper,\n tuiPure,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\nimport {\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_DATA_LIST_ACCESSOR,\n TUI_DATA_LIST_HOST,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiDataListAccessor,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHostedDropdownComponent,\n TuiSizeL,\n TuiSizeM,\n TuiSizeS,\n TuiSvgService,\n TuiTextfieldController,\n} from '@taiga-ui/core';\nimport {TuiStringifiableItem} from '@taiga-ui/kit/classes';\nimport {TUI_ARROW_MODE, TuiArrowMode} from '@taiga-ui/kit/components/arrow';\nimport {TuiInputTagComponent} from '@taiga-ui/kit/components/input-tag';\nimport {iconBlank} from '@taiga-ui/kit/constants';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {TUI_ITEMS_HANDLERS, TuiItemsHandlers} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nimport {TUI_MULTI_SELECT_OPTIONS, TuiMultiSelectOptions} from './multi-select-options';\n\n@Component({\n selector: `tui-multi-select`,\n templateUrl: `./multi-select.template.html`,\n styleUrls: [`./multi-select.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiMultiSelectComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiMultiSelectComponent),\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiMultiSelectComponent<T>\n extends AbstractTuiMultipleControl<T>\n implements TuiFocusableElementAccessor, TuiDataListHost<T>\n{\n @ContentChild(TUI_DATA_LIST_ACCESSOR as any)\n private readonly accessor?: TuiDataListAccessor<T>;\n\n @ViewChild(TuiHostedDropdownComponent)\n private readonly hostedDropdown?: TuiHostedDropdownComponent;\n\n @ViewChild(TuiInputTagComponent)\n private readonly input?: TuiInputTagComponent;\n\n @Input()\n @tuiDefaultProp()\n stringify: TuiItemsHandlers<T>['stringify'] = this.itemsHandlers.stringify;\n\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiItemsHandlers<T>['identityMatcher'] =\n this.itemsHandlers.identityMatcher;\n\n @Input()\n @tuiDefaultProp()\n expandable: TuiMultiSelectOptions<T>['expandable'] = this.options.expandable;\n\n @Input()\n @tuiDefaultProp()\n search: string | null = ``;\n\n @Input()\n @HostBinding(`class._editable`)\n @tuiDefaultProp()\n editable = true;\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiItemsHandlers<T>['disabledItemHandler'] =\n this.itemsHandlers.disabledItemHandler;\n\n @Input()\n @tuiDefaultProp()\n valueContent: TuiMultiSelectOptions<T>['valueContent'] = this.options.valueContent;\n\n @Output()\n readonly searchChange = new EventEmitter<string | null>();\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist: PolymorpheusContent<\n TuiContextWithImplicit<TuiActiveZoneDirective>\n > = ``;\n\n open = false;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TuiSvgService) svgService: TuiSvgService,\n @Inject(TUI_ARROW_MODE)\n private readonly arrowMode: TuiArrowMode,\n @Inject(TUI_ITEMS_HANDLERS)\n private readonly itemsHandlers: TuiItemsHandlers<T>,\n @Inject(TUI_MULTI_SELECT_OPTIONS)\n private readonly options: TuiMultiSelectOptions<T>,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n ) {\n super(control, changeDetectorRef);\n\n svgService.define({iconBlank});\n }\n\n @HostBinding(`attr.data-size`)\n get size(): TuiSizeL | TuiSizeS {\n return this.controller.size;\n }\n\n get arrow(): PolymorpheusContent<\n TuiContextWithImplicit<TuiSizeS | TuiSizeM | TuiSizeL>\n > {\n return !this.interactive ? this.arrowMode.disabled : this.arrowMode.interactive;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.input ? this.input.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return (\n (!!this.input && this.input.focused) ||\n (!!this.hostedDropdown && this.hostedDropdown.focused)\n );\n }\n\n get computedValue(): readonly T[] {\n return this.computedGroup ? EMPTY_ARRAY : this.value;\n }\n\n // @bad TODO: think of a better way\n get searchOrSpace(): string {\n return this.computedGroup ? ` ` : this.searchString;\n }\n\n get searchString(): string {\n return this.search === null ? `` : this.search;\n }\n\n /**\n * Pass empty icon to InputTag (inside this component)\n * to prevent overflow of arrow icon by many tags\n */\n get tagIcon(): string {\n return this.interactive ? `iconBlank` : ``;\n }\n\n get inputHidden(): boolean {\n return !this.editable && !this.computedGroup;\n }\n\n get computedGroup(): boolean {\n return (\n !!this.valueContent &&\n this.value.length > 0 &&\n (!this.focused || !this.editable)\n );\n }\n\n @tuiPure\n getStringifier(\n stringify: TuiStringHandler<T>,\n ): TuiStringHandler<TuiContextWithImplicit<T>> {\n return ({$implicit}) => stringify($implicit);\n }\n\n readonly valueMapper: TuiMapper<\n readonly T[],\n ReadonlyArray<TuiStringifiableItem<T>>\n > = (value, stringify: TuiStringHandler<T>, group: boolean) =>\n group\n ? EMPTY_ARRAY\n : value.map(item => new TuiStringifiableItem(item, stringify));\n\n readonly disabledItemHandlerWrapper: TuiMapper<\n TuiBooleanHandler<T>,\n TuiBooleanHandler<string | TuiStringifiableItem<T>>\n > = handler => stringifiable =>\n tuiIsString(stringifiable) || handler(stringifiable.item);\n\n onSpace(event: Event): void {\n if (!this.editable) {\n event.preventDefault();\n }\n\n if (!this.readOnly) {\n this.open = true;\n }\n }\n\n handleOption(option: T): void {\n const {value, identityMatcher} = this;\n const index = value.findIndex(item => identityMatcher(item, option));\n\n this.updateValue(\n index === -1 ? [...value, option] : value.filter((_, i) => i !== index),\n );\n this.updateSearch(null);\n }\n\n onEnter(event: Event): void {\n const {value} = this;\n const options = this.accessor ? this.accessor.getOptions() : [];\n\n if (options.length !== 1) {\n return;\n }\n\n const index = value.indexOf(options[0]);\n\n event.preventDefault();\n this.updateValue(\n index === -1\n ? [...value, options[0]]\n : [...value.slice(0, index), ...value.slice(index + 1)],\n );\n this.updateSearch(null);\n }\n\n onClick({nativeFocusableElement}: TuiInputTagComponent): void {\n if (\n this.editable &&\n this.interactive &&\n nativeFocusableElement &&\n tuiIsNativeFocused(nativeFocusableElement)\n ) {\n this.hostedDropdown?.updateOpen(!this.open);\n }\n }\n\n onArrowClick(): void {\n this.hostedDropdown?.updateOpen(!this.open);\n this.focusInput();\n }\n\n onInput(value: ReadonlyArray<TuiStringifiableItem<T>>): void {\n this.updateValue(value.map(({item}) => item));\n }\n\n onSearch(search: string | null): void {\n this.open = true;\n this.updateSearch(search);\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n setDisabledState(): void {\n super.setDisabledState();\n this.open = false;\n }\n\n private updateSearch(search: string | null): void {\n if (this.search === search) {\n return;\n }\n\n this.search = search;\n this.searchChange.emit(search);\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n}\n","<tui-hosted-dropdown\n class=\"t-hosted\"\n [canOpen]=\"interactive\"\n [content]=\"datalist || ''\"\n [(open)]=\"open\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <tui-input-tag\n #inputTag\n tuiHostedDropdownHost\n automation-id=\"tui-multi-select__input\"\n class=\"input\"\n [nativeId]=\"nativeId\"\n [tuiTextfieldIcon]=\"tagIcon\"\n [disabled]=\"disabled\"\n [disabledItemHandler]=\"disabledItemHandler | tuiMapper: disabledItemHandlerWrapper\"\n [readOnly]=\"readOnly\"\n [inputHidden]=\"!editable\"\n [pseudoHover]=\"pseudoHover\"\n [pseudoFocus]=\"computedFocused\"\n [pseudoInvalid]=\"computedInvalid\"\n [editable]=\"false\"\n [expandable]=\"expandable\"\n [search]=\"searchOrSpace\"\n [ngModel]=\"computedValue | tuiMapper: valueMapper:stringify\"\n (ngModelChange)=\"onInput($event)\"\n (searchChange)=\"onSearch($event)\"\n (keydown.space)=\"onSpace($event)\"\n (keydown.enter)=\"onEnter($event)\"\n (click.prevent)=\"onClick(inputTag)\"\n >\n <ng-content></ng-content>\n </tui-input-tag>\n <div\n class=\"t-wrapper\"\n [class.t-wrapper_disabled]=\"disabled\"\n >\n <div\n *ngIf=\"computedGroup\"\n class=\"t-group\"\n [class.t-group_fullsize]=\"inputTag.labelOutside\"\n >\n <ng-container *polymorpheusOutlet=\"valueContent as text; context: {$implicit: value}\">\n {{ text }}\n </ng-container>\n </div>\n\n <div\n *ngIf=\"arrow\"\n automation-id=\"tui-multi-select__arrow\"\n tuiPreventDefault=\"mousedown\"\n class=\"t-arrow\"\n (click.prevent)=\"onArrowClick()\"\n >\n <ng-container *polymorpheusOutlet=\"arrow as text\">\n {{ text }}\n </ng-container>\n </div>\n </div>\n</tui-hosted-dropdown>\n","import {Inject, Pipe, PipeTransform} from '@angular/core';\nimport {TuiIdentityMatcher, tuiPure} from '@taiga-ui/cdk';\nimport {tuiIsFlat} from '@taiga-ui/kit/utils';\n\nimport {TuiMultiSelectComponent} from './multi-select.component';\n\n@Pipe({\n name: `tuiHideSelected`,\n pure: false,\n})\nexport class TuiHideSelectedPipe implements PipeTransform {\n constructor(\n @Inject(TuiMultiSelectComponent)\n private readonly component: TuiMultiSelectComponent<any>,\n ) {}\n\n transform<T>(items: readonly T[] | null): readonly T[] | null;\n transform<T>(\n items: ReadonlyArray<readonly T[]> | null,\n ): ReadonlyArray<readonly T[]> | null;\n transform<T>(\n items: readonly T[] | ReadonlyArray<readonly T[]> | null,\n ): readonly T[] | ReadonlyArray<readonly T[]> | null {\n const {value, identityMatcher} = this.component;\n\n if (!items) {\n return null;\n }\n\n return tuiIsFlat(items)\n ? this.filter(items, value, identityMatcher)\n : this.filter2d(items, value, identityMatcher);\n }\n\n @tuiPure\n private filter2d<T>(\n items: ReadonlyArray<readonly T[]>,\n value: readonly T[],\n matcher: TuiIdentityMatcher<T>,\n ): ReadonlyArray<readonly T[]> {\n return items.map(subItems => this.filter(subItems, value, matcher));\n }\n\n @tuiPure\n private filter<T>(\n items: readonly T[],\n value: readonly T[],\n matcher: TuiIdentityMatcher<T>,\n ): readonly T[] {\n return items.filter(item => value.every(selected => !matcher(selected, item)));\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n Inject,\n Input,\n QueryList,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n EMPTY_QUERY,\n getOriginalArrayFromQueryList,\n isPresent,\n itemsQueryListObservable,\n TUI_DEFAULT_IDENTITY_MATCHER,\n tuiControlValue,\n tuiDefaultProp,\n TuiIdentityMatcher,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n sizeBigger,\n TUI_DATA_LIST_HOST,\n TUI_OPTION_CONTENT,\n TuiDataListHost,\n TuiOptionComponent,\n TuiSizeL,\n TuiSizeXS,\n} from '@taiga-ui/core';\nimport {combineLatest, Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n@Component({\n selector: `tui-opt-group[tuiMultiSelectGroup]`,\n templateUrl: `./multi-select-group.template.html`,\n styleUrls: [`./multi-select-group.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n viewProviders: [\n {\n provide: TUI_OPTION_CONTENT,\n useValue: null,\n },\n ],\n})\nexport class TuiMultiSelectGroupComponent<T> {\n @ContentChildren(TuiOptionComponent)\n private readonly options: QueryList<TuiOptionComponent<T>> = EMPTY_QUERY;\n\n @Input()\n @tuiDefaultProp()\n label = ``;\n\n constructor(\n @Inject(TUI_DATA_LIST_HOST) private readonly host: TuiDataListHost<T>,\n @Inject(NgControl) private readonly control: NgControl,\n ) {}\n\n get size(): TuiSizeXS | TuiSizeL {\n return this.options.first?.size || `m`;\n }\n\n get checkboxSize(): TuiSizeL {\n return this.options.first && sizeBigger(this.options.first.size) ? `l` : `m`;\n }\n\n @tuiPure\n get empty$(): Observable<boolean> {\n return itemsQueryListObservable(this.options).pipe(map(({length}) => !length));\n }\n\n @tuiPure\n get disabled$(): Observable<boolean> {\n return itemsQueryListObservable(this.options).pipe(\n map(items => items.every(({disabled}) => disabled)),\n );\n }\n\n @tuiPure\n get value$(): Observable<boolean | null> {\n return combineLatest(this.items$, this.valueChanges$).pipe(\n map(([items, current]) => {\n let result = false;\n\n for (let i = 0; i < items.length; i++) {\n const selected = current.some(selected =>\n this.matcher(selected, items[i]),\n );\n\n if ((!selected && result) || (selected && !result && i)) {\n return null;\n }\n\n result = selected;\n }\n\n return result;\n }),\n );\n }\n\n onClick(checked: boolean | null): void {\n if (!this.control.control) {\n return;\n }\n\n const controlValue: readonly T[] = this.control.value || [];\n const {values} = this;\n const filtered = controlValue.filter(current =>\n values.every(item => !this.matcher(current, item)),\n );\n\n this.control.control.setValue(checked ? filtered : [...filtered, ...values]);\n }\n\n private get values(): readonly T[] {\n return this.filter(getOriginalArrayFromQueryList(this.options));\n }\n\n private get matcher(): TuiIdentityMatcher<T> {\n return this.host.identityMatcher || TUI_DEFAULT_IDENTITY_MATCHER;\n }\n\n @tuiPure\n private get items$(): Observable<readonly T[]> {\n return itemsQueryListObservable(this.options).pipe(\n map(options => options.map(({value}) => value).filter(isPresent)),\n );\n }\n\n @tuiPure\n private get valueChanges$(): Observable<readonly T[]> {\n return tuiControlValue<readonly T[]>(this.control).pipe(\n map(value => value || []),\n );\n }\n\n @tuiPure\n private filter(items: ReadonlyArray<TuiOptionComponent<T>>): readonly T[] {\n return items.map(({value}) => value).filter(isPresent);\n }\n}\n","<ng-container *tuiLet=\"value$ | async as value\">\n <button\n *ngIf=\"label && !(empty$ | async)\"\n tuiOption\n [size]=\"size\"\n [disabled]=\"!!(disabled$ | async)\"\n (click)=\"onClick(value)\"\n >\n <tui-primitive-checkbox\n class=\"t-checkbox\"\n [size]=\"checkboxSize\"\n [value]=\"value\"\n ></tui-primitive-checkbox>\n <span class=\"t-label\">{{ label }}</span>\n </button>\n</ng-container>\n<ng-content></ng-content>\n","import {Directive, forwardRef, Optional} from '@angular/core';\nimport {NG_VALUE_ACCESSOR, NgControl} from '@angular/forms';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST, TUI_OPTION_CONTENT, TuiDataListHost} from '@taiga-ui/core';\nimport {TuiMultiSelectOptionComponent} from '@taiga-ui/kit/components/multi-select-option';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiMultiSelectComponent} from '../multi-select.component';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function hostFallbackFactory<T>(\n control: NgControl,\n host: TuiDataListHost<T> | null,\n): TuiDataListHost<T> {\n return (\n host || {\n handleOption: option => {\n if (!control.control) {\n return;\n }\n\n const value = control.value || [];\n const index = value.indexOf(option);\n\n control.control.setValue(\n index === -1\n ? [...value, option]\n : [...value.slice(0, index), ...value.slice(index + 1)],\n );\n },\n }\n );\n}\n\nexport const TUI_MULTI_SELECT_OPTION = new PolymorpheusComponent(\n TuiMultiSelectOptionComponent,\n);\n\n@Directive({\n selector: `[tuiMultiSelectGroup]`,\n providers: [\n {\n provide: TUI_OPTION_CONTENT,\n useValue: TUI_MULTI_SELECT_OPTION,\n },\n {\n provide: TUI_DATA_LIST_HOST,\n deps: [\n NgControl,\n [new Optional(), forwardRef(() => TuiMultiSelectComponent)],\n ],\n useFactory: hostFallbackFactory,\n },\n {\n provide: NG_VALUE_ACCESSOR,\n multi: true,\n useValue: {\n writeValue: EMPTY_FUNCTION,\n registerOnChange: EMPTY_FUNCTION,\n registerOnTouched: EMPTY_FUNCTION,\n },\n },\n ],\n})\nexport class TuiMultiSelectGroupDirective {}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {\n TuiActiveZoneModule,\n TuiLetModule,\n TuiMapperPipeModule,\n TuiPreventDefaultModule,\n} from '@taiga-ui/cdk';\nimport {\n TuiDataListModule,\n TuiHostedDropdownModule,\n TuiPrimitiveCheckboxModule,\n TuiSvgModule,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TuiArrowModule} from '@taiga-ui/kit/components/arrow';\nimport {TuiInputTagModule} from '@taiga-ui/kit/components/input-tag';\nimport {TuiMultiSelectOptionModule} from '@taiga-ui/kit/components/multi-select-option';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiHideSelectedPipe} from './hide-selected.pipe';\nimport {TuiMultiSelectComponent} from './multi-select.component';\nimport {TuiMultiSelectGroupComponent} from './multi-select-group/multi-select-group.component';\nimport {TuiMultiSelectGroupDirective} from './multi-select-group/multi-select-group.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiPreventDefaultModule,\n TuiActiveZoneModule,\n TuiArrowModule,\n TuiLetModule,\n TuiMapperPipeModule,\n TuiSvgModule,\n TuiHostedDropdownModule,\n TuiInputTagModule,\n TuiMultiSelectOptionModule,\n TuiPrimitiveCheckboxModule,\n TuiDataListModule,\n TuiTextfieldControllerModule,\n ],\n declarations: [\n TuiMultiSelectComponent,\n TuiMultiSelectGroupComponent,\n TuiMultiSelectGroupDirective,\n TuiHideSelectedPipe,\n ],\n exports: [\n TuiMultiSelectComponent,\n TuiMultiSelectGroupComponent,\n TuiMultiSelectGroupDirective,\n TuiHideSelectedPipe,\n ],\n})\nexport class TuiMultiSelectModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i5","i2","i3"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AASa,MAAA,gCAAgC,GAAmC;AAC5E,IAAA,UAAU,EAAE,IAAI;AAChB,IAAA,YAAY,EAAE,CAAE,CAAA;EAClB;MAEW,wBAAwB,GAAG,IAAI,cAAc,CAExD,+CAA+C,EAAE;AAC/C,IAAA,OAAO,EAAE,MAAM,gCAAgC;AAClD,CAAA,EAAE;MAEU,6BAA6B,GAErB,CAAI,OAA0C,MAAM;AACrE,IAAA,OAAO,EAAE,wBAAwB;AACjC,IAAA,QAAQ,EAAM,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,gCAAgC,CAAK,EAAA,OAAO,CAAC;AAC9D,CAAA;;ACmDK,MAAO,uBACT,SAAQ,0BAA6B,CAAA;AAqDrC,IAAA,WAAA,CAII,OAAyB,EACE,iBAAoC,EACxC,UAAyB,EAE/B,SAAuB,EAEvB,aAAkC,EAElC,OAAiC,EAEzC,UAAkC,EAAA;AAE3C,QA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;wBACL,uBAAuB;wBACvB,4BAA4B;wBAC5B,4BAA4B;wBAC5B,mBAAmB;AACtB,qBAAA;AACJ,iBAAA,CAAA;;;ACxDD;;AAEG;;;;"}
@@ -1,14 +1,18 @@
1
- import { __decorate, __param } from 'tslib';
2
- import { EventEmitter, ElementRef, Inject, Optional, ViewChildren, Input, Output, Component, ChangeDetectionStrategy, forwardRef, NgModule } from '@angular/core';
3
- import { AbstractTuiInteractive, EMPTY_QUERY, isNativeFocusedIn, clamp, setNativeFocused, TUI_FOCUSABLE_ITEM_ACCESSOR, tuiDefaultProp, TuiRepeatTimesModule, TuiLetModule, TuiPreventDefaultModule, TuiActiveZoneModule } from '@taiga-ui/cdk';
1
+ import { __decorate } from 'tslib';
2
+ import * as i0 from '@angular/core';
3
+ import { EventEmitter, ElementRef, forwardRef, Component, ChangeDetectionStrategy, Inject, Optional, ViewChildren, Input, Output, NgModule } from '@angular/core';
4
+ import * as i2 from '@taiga-ui/cdk';
5
+ import { AbstractTuiInteractive, EMPTY_QUERY, tuiIsNativeFocusedIn, clamp, setNativeFocused, TUI_FOCUSABLE_ITEM_ACCESSOR, tuiDefaultProp, TuiRepeatTimesModule, TuiLetModule, TuiPreventDefaultModule, TuiActiveZoneModule } from '@taiga-ui/cdk';
6
+ import * as i1 from '@taiga-ui/core';
4
7
  import { TuiModeDirective, TuiButtonModule } from '@taiga-ui/core';
5
8
  import { TUI_PAGINATION_TEXTS } from '@taiga-ui/kit/tokens';
6
9
  import { tuiHorizontalDirectionToNumber } from '@taiga-ui/kit/utils/math';
7
- import { Observable } from 'rxjs';
10
+ import * as i3 from '@angular/common';
8
11
  import { CommonModule } from '@angular/common';
12
+ import * as i4 from '@tinkoff/ng-polymorpheus';
9
13
  import { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';
14
+ import * as i5 from 'rxjs';
10
15
 
11
- var TuiPaginationComponent_1;
12
16
  const DOTS_LENGTH = 1;
13
17
  const ACTIVE_ITEM_LENGTH = 1;
14
18
  // eslint-disable-next-line @typescript-eslint/naming-convention
@@ -16,7 +20,7 @@ function nonNegativeInteger(length) {
16
20
  return Number.isInteger(length) && length >= 0;
17
21
  }
18
22
  // @dynamic
19
- let TuiPaginationComponent = TuiPaginationComponent_1 = class TuiPaginationComponent extends AbstractTuiInteractive {
23
+ class TuiPaginationComponent extends AbstractTuiInteractive {
20
24
  constructor(elementRef, modeDirective, texts$) {
21
25
  super();
22
26
  this.elementRef = elementRef;
@@ -24,7 +28,7 @@ let TuiPaginationComponent = TuiPaginationComponent_1 = class TuiPaginationCompo
24
28
  this.texts$ = texts$;
25
29
  this.elements = EMPTY_QUERY;
26
30
  this.length = 1;
27
- this.size = 'm';
31
+ this.size = `m`;
28
32
  this.disabled = false;
29
33
  /**
30
34
  * Amount of visible pages around active page
@@ -63,7 +67,7 @@ let TuiPaginationComponent = TuiPaginationComponent_1 = class TuiPaginationCompo
63
67
  return activeElement ? activeElement.nativeFocusableElement : null;
64
68
  }
65
69
  get focused() {
66
- return isNativeFocusedIn(this.elementRef.nativeElement);
70
+ return tuiIsNativeFocusedIn(this.elementRef.nativeElement);
67
71
  }
68
72
  /**
69
73
  * Number of items in a container.
@@ -72,7 +76,7 @@ let TuiPaginationComponent = TuiPaginationComponent_1 = class TuiPaginationCompo
72
76
  return this.itemsFit ? this.length : this.maxElementsLength;
73
77
  }
74
78
  get sizeM() {
75
- return this.size === 'm';
79
+ return this.size === `m`;
76
80
  }
77
81
  get mode() {
78
82
  return this.modeDirective ? this.modeDirective.mode : null;
@@ -86,9 +90,6 @@ let TuiPaginationComponent = TuiPaginationComponent_1 = class TuiPaginationCompo
86
90
  elementIsFocusable(index) {
87
91
  return this.index === index && !this.focused;
88
92
  }
89
- getItemContext(index) {
90
- return { $implicit: index };
91
- }
92
93
  /**
93
94
  * Get index by element index
94
95
  * @param elementIndex
@@ -119,7 +120,7 @@ let TuiPaginationComponent = TuiPaginationComponent_1 = class TuiPaginationCompo
119
120
  return this.index === index ? "primary" /* Primary */ : "flat" /* Flat */;
120
121
  }
121
122
  getSmallElementMode(index, mode) {
122
- return this.index === index && mode !== 'onLight'
123
+ return this.index === index && mode !== `onLight`
123
124
  ? "primary" /* Primary */
124
125
  : "secondary" /* Secondary */;
125
126
  }
@@ -205,70 +206,92 @@ let TuiPaginationComponent = TuiPaginationComponent_1 = class TuiPaginationCompo
205
206
  this.index = index;
206
207
  this.indexChange.emit(index);
207
208
  }
208
- };
209
- TuiPaginationComponent.ctorParameters = () => [
210
- { type: ElementRef, decorators: [{ type: Inject, args: [ElementRef,] }] },
211
- { type: TuiModeDirective, decorators: [{ type: Optional }, { type: Inject, args: [TuiModeDirective,] }] },
212
- { type: Observable, decorators: [{ type: Inject, args: [TUI_PAGINATION_TEXTS,] }] }
213
- ];
214
- __decorate([
215
- ViewChildren('element', { read: TUI_FOCUSABLE_ITEM_ACCESSOR })
216
- ], TuiPaginationComponent.prototype, "elements", void 0);
209
+ }
210
+ TuiPaginationComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPaginationComponent, deps: [{ token: ElementRef }, { token: TuiModeDirective, optional: true }, { token: TUI_PAGINATION_TEXTS }], target: i0.ɵɵFactoryTarget.Component });
211
+ TuiPaginationComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: TuiPaginationComponent, selector: "tui-pagination", inputs: { length: "length", size: "size", disabled: "disabled", activePadding: "activePadding", sidePadding: "sidePadding", content: "content", index: "index" }, outputs: { indexChange: "indexChange" }, providers: [
212
+ {
213
+ provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
214
+ useExisting: forwardRef(() => TuiPaginationComponent),
215
+ },
216
+ ], viewQueries: [{ propertyName: "elements", predicate: ["element"], descendants: true, read: TUI_FOCUSABLE_ITEM_ACCESSOR }], usesInheritance: true, ngImport: i0, template: "<div\n class=\"content\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <ng-container *ngIf=\"sizeM; else smallButtons\">\n <ng-container *ngIf=\"texts$ | async as texts\">\n <button\n tuiIconButton\n type=\"button\"\n tuiPreventDefault=\"mousedown\"\n size=\"s\"\n appearance=\"flat\"\n icon=\"tuiIconChevronLeft\"\n class=\"button\"\n [title]=\"texts[0]\"\n [disabled]=\"arrowIsDisabledLeft\"\n [focusable]=\"false\"\n (click)=\"onArrowClick('left')\"\n ></button>\n <ng-container *tuiRepeatTimes=\"let elementIndex of elementsLength\">\n <ng-container *tuiLet=\"getItemIndexByElementIndex(elementIndex) as index\">\n <button\n *ngIf=\"index !== null; else dotsTemplate\"\n #element\n tuiButton\n type=\"button\"\n automation-id=\"tui-pagination__element\"\n shape=\"square\"\n size=\"s\"\n class=\"button\"\n [disabled]=\"disabled\"\n [focusable]=\"elementIsFocusable(index)\"\n [appearance]=\"getElementMode(index)\"\n (click)=\"onElementClick(index)\"\n (keydown.arrowLeft.prevent)=\"onElementKeyDownArrowLeft(element)\"\n (keydown.arrowRight.prevent)=\"onElementKeyDownArrowRight(element)\"\n >\n <ng-container *polymorpheusOutlet=\"content || index + 1 as text; context: {$implicit: index}\">\n {{ text }}\n </ng-container>\n </button>\n </ng-container>\n </ng-container>\n <button\n tuiIconButton\n type=\"button\"\n tuiPreventDefault=\"mousedown\"\n size=\"s\"\n appearance=\"flat\"\n icon=\"tuiIconChevronRight\"\n class=\"button\"\n [title]=\"texts[1]\"\n [disabled]=\"arrowIsDisabledRight\"\n [focusable]=\"false\"\n (click)=\"onArrowClick('right')\"\n ></button>\n </ng-container>\n </ng-container>\n <ng-template #smallButtons>\n <button\n *tuiRepeatTimes=\"let indexItem of length\"\n #element\n tuiButton\n type=\"button\"\n shape=\"square\"\n class=\"button button_small\"\n [class.button_active]=\"indexItem === index\"\n [disabled]=\"disabled\"\n [focusable]=\"elementIsFocusable(indexItem)\"\n [appearance]=\"getSmallElementMode(indexItem, mode)\"\n (click)=\"onElementClick(indexItem)\"\n (keydown.arrowLeft.prevent)=\"onElementKeyDownArrowLeft(element)\"\n (keydown.arrowRight.prevent)=\"onElementKeyDownArrowRight(element)\"\n ></button>\n </ng-template>\n <ng-template #dotsTemplate>\n <div\n automation-id=\"tui-pagination__element\"\n class=\"dots\"\n ></div>\n </ng-template>\n</div>\n", styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);display:block;text-align:center}.content{display:flex;justify-content:center}.button{margin:0 .125rem;flex-shrink:0}.button_active{background:currentColor}.button.button.button_small{width:.5rem;height:.5rem;margin:0}.button.button.button_small:not(:first-child){margin-left:.5rem}.dots{width:var(--tui-height-s);height:var(--tui-height-s);line-height:var(--tui-height-s);margin:0 .125rem;flex-shrink:0;color:var(--tui-text-03);text-align:center;cursor:default}.dots:before{content:\"\\2026\"}\n"], components: [{ type: i1.TuiButtonComponent, selector: "button[tuiButton], button[tuiIconButton], a[tuiButton], a[tuiIconButton]", inputs: ["appearance", "disabled", "icon", "iconRight", "shape", "showLoader", "size"] }], directives: [{ type: i2.TuiActiveZoneDirective, selector: "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", inputs: ["tuiActiveZoneParent"], outputs: ["tuiActiveZoneChange"], exportAs: ["tuiActiveZone"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i2.TuiPreventDefaultDirective, selector: "[tuiPreventDefault]" }, { type: i2.TuiRepeatTimesDirective, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: ["tuiRepeatTimesOf"] }, { type: i2.TuiLetDirective, selector: "[tuiLet]", inputs: ["tuiLet"] }, { type: i4.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], pipes: { "async": i3.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
217
217
  __decorate([
218
- Input(),
219
- tuiDefaultProp(nonNegativeInteger, 'Must be non-negative integer')
218
+ tuiDefaultProp(nonNegativeInteger, `Must be non-negative integer`)
220
219
  ], TuiPaginationComponent.prototype, "length", void 0);
221
220
  __decorate([
222
- Input(),
223
221
  tuiDefaultProp()
224
222
  ], TuiPaginationComponent.prototype, "size", void 0);
225
223
  __decorate([
226
- Input(),
227
224
  tuiDefaultProp()
228
225
  ], TuiPaginationComponent.prototype, "disabled", void 0);
229
226
  __decorate([
230
- Input(),
231
227
  tuiDefaultProp()
232
228
  ], TuiPaginationComponent.prototype, "activePadding", void 0);
233
229
  __decorate([
234
- Input(),
235
230
  tuiDefaultProp()
236
231
  ], TuiPaginationComponent.prototype, "sidePadding", void 0);
237
232
  __decorate([
238
- Input(),
239
233
  tuiDefaultProp()
240
234
  ], TuiPaginationComponent.prototype, "content", void 0);
241
235
  __decorate([
242
- Input(),
243
- tuiDefaultProp(nonNegativeInteger, 'Must be non-negative integer')
236
+ tuiDefaultProp(nonNegativeInteger, `Must be non-negative integer`)
244
237
  ], TuiPaginationComponent.prototype, "index", void 0);
245
- __decorate([
246
- Output()
247
- ], TuiPaginationComponent.prototype, "indexChange", void 0);
248
- TuiPaginationComponent = TuiPaginationComponent_1 = __decorate([
249
- Component({
250
- selector: 'tui-pagination',
251
- template: "<div\n class=\"content\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <ng-container *ngIf=\"sizeM; else smallButtons\">\n <ng-container *ngIf=\"texts$ | async as texts\">\n <button\n tuiIconButton\n type=\"button\"\n tuiPreventDefault=\"mousedown\"\n size=\"s\"\n appearance=\"flat\"\n icon=\"tuiIconChevronLeft\"\n class=\"button\"\n [title]=\"texts[0]\"\n [disabled]=\"arrowIsDisabledLeft\"\n [focusable]=\"false\"\n (click)=\"onArrowClick('left')\"\n ></button>\n <ng-container *tuiRepeatTimes=\"let elementIndex of elementsLength\">\n <ng-container *tuiLet=\"getItemIndexByElementIndex(elementIndex) as index\">\n <button\n *ngIf=\"index !== null; else dotsTemplate\"\n #element\n tuiButton\n type=\"button\"\n automation-id=\"tui-pagination__element\"\n shape=\"square\"\n size=\"s\"\n class=\"button\"\n [disabled]=\"disabled\"\n [focusable]=\"elementIsFocusable(index)\"\n [appearance]=\"getElementMode(index)\"\n (click)=\"onElementClick(index)\"\n (keydown.arrowLeft.prevent)=\"onElementKeyDownArrowLeft(element)\"\n (keydown.arrowRight.prevent)=\"onElementKeyDownArrowRight(element)\"\n >\n <div\n polymorpheus-outlet\n [content]=\"content || index + 1\"\n [context]=\"getItemContext(index)\"\n ></div>\n </button>\n </ng-container>\n </ng-container>\n <button\n tuiIconButton\n type=\"button\"\n tuiPreventDefault=\"mousedown\"\n size=\"s\"\n appearance=\"flat\"\n icon=\"tuiIconChevronRight\"\n class=\"button\"\n [title]=\"texts[1]\"\n [disabled]=\"arrowIsDisabledRight\"\n [focusable]=\"false\"\n (click)=\"onArrowClick('right')\"\n ></button>\n </ng-container>\n </ng-container>\n <ng-template #smallButtons>\n <button\n *tuiRepeatTimes=\"let indexItem of length\"\n #element\n tuiButton\n type=\"button\"\n shape=\"square\"\n class=\"button button_small\"\n [class.button_active]=\"indexItem === index\"\n [disabled]=\"disabled\"\n [focusable]=\"elementIsFocusable(indexItem)\"\n [appearance]=\"getSmallElementMode(indexItem, mode)\"\n (click)=\"onElementClick(indexItem)\"\n (keydown.arrowLeft.prevent)=\"onElementKeyDownArrowLeft(element)\"\n (keydown.arrowRight.prevent)=\"onElementKeyDownArrowRight(element)\"\n ></button>\n </ng-template>\n <ng-template #dotsTemplate>\n <div\n automation-id=\"tui-pagination__element\"\n class=\"dots\"\n ></div>\n </ng-template>\n</div>\n",
252
- changeDetection: ChangeDetectionStrategy.OnPush,
253
- providers: [
254
- {
255
- provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
256
- useExisting: forwardRef(() => TuiPaginationComponent_1),
257
- },
258
- ],
259
- styles: [":host{font:var(--tui-font-text-s);color:var(--tui-text-01);display:block;text-align:center}.content{display:flex;justify-content:center}.button{margin:0 .125rem;flex-shrink:0}.button_active{background:currentColor}.button.button.button_small{width:.5rem;height:.5rem;margin:0}.button.button.button_small:not(:first-child){margin-left:.5rem}.dots{width:var(--tui-height-s);height:var(--tui-height-s);line-height:var(--tui-height-s);margin:0 .125rem;flex-shrink:0;color:var(--tui-text-03);text-align:center;cursor:default}.dots:before{content:'\\2026'}"]
260
- }),
261
- __param(0, Inject(ElementRef)),
262
- __param(1, Optional()),
263
- __param(1, Inject(TuiModeDirective)),
264
- __param(2, Inject(TUI_PAGINATION_TEXTS))
265
- ], TuiPaginationComponent);
238
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPaginationComponent, decorators: [{
239
+ type: Component,
240
+ args: [{
241
+ selector: `tui-pagination`,
242
+ templateUrl: `./pagination.template.html`,
243
+ styleUrls: [`./pagination.style.less`],
244
+ changeDetection: ChangeDetectionStrategy.OnPush,
245
+ providers: [
246
+ {
247
+ provide: TUI_FOCUSABLE_ITEM_ACCESSOR,
248
+ useExisting: forwardRef(() => TuiPaginationComponent),
249
+ },
250
+ ],
251
+ }]
252
+ }], ctorParameters: function () { return [{ type: i0.ElementRef, decorators: [{
253
+ type: Inject,
254
+ args: [ElementRef]
255
+ }] }, { type: i1.TuiModeDirective, decorators: [{
256
+ type: Optional
257
+ }, {
258
+ type: Inject,
259
+ args: [TuiModeDirective]
260
+ }] }, { type: i5.Observable, decorators: [{
261
+ type: Inject,
262
+ args: [TUI_PAGINATION_TEXTS]
263
+ }] }]; }, propDecorators: { elements: [{
264
+ type: ViewChildren,
265
+ args: [`element`, { read: TUI_FOCUSABLE_ITEM_ACCESSOR }]
266
+ }], length: [{
267
+ type: Input
268
+ }], size: [{
269
+ type: Input
270
+ }], disabled: [{
271
+ type: Input
272
+ }], activePadding: [{
273
+ type: Input
274
+ }], sidePadding: [{
275
+ type: Input
276
+ }], content: [{
277
+ type: Input
278
+ }], index: [{
279
+ type: Input
280
+ }], indexChange: [{
281
+ type: Output
282
+ }] } });
266
283
 
267
- let TuiPaginationModule = class TuiPaginationModule {
268
- };
269
- TuiPaginationModule = __decorate([
270
- NgModule({
271
- imports: [
284
+ class TuiPaginationModule {
285
+ }
286
+ TuiPaginationModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPaginationModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
287
+ TuiPaginationModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPaginationModule, declarations: [TuiPaginationComponent], imports: [CommonModule,
288
+ TuiRepeatTimesModule,
289
+ TuiLetModule,
290
+ PolymorpheusModule,
291
+ TuiPreventDefaultModule,
292
+ TuiActiveZoneModule,
293
+ TuiButtonModule], exports: [TuiPaginationComponent] });
294
+ TuiPaginationModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPaginationModule, imports: [[
272
295
  CommonModule,
273
296
  TuiRepeatTimesModule,
274
297
  TuiLetModule,
@@ -276,11 +299,23 @@ TuiPaginationModule = __decorate([
276
299
  TuiPreventDefaultModule,
277
300
  TuiActiveZoneModule,
278
301
  TuiButtonModule,
279
- ],
280
- declarations: [TuiPaginationComponent],
281
- exports: [TuiPaginationComponent],
282
- })
283
- ], TuiPaginationModule);
302
+ ]] });
303
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0, type: TuiPaginationModule, decorators: [{
304
+ type: NgModule,
305
+ args: [{
306
+ imports: [
307
+ CommonModule,
308
+ TuiRepeatTimesModule,
309
+ TuiLetModule,
310
+ PolymorpheusModule,
311
+ TuiPreventDefaultModule,
312
+ TuiActiveZoneModule,
313
+ TuiButtonModule,
314
+ ],
315
+ declarations: [TuiPaginationComponent],
316
+ exports: [TuiPaginationComponent],
317
+ }]
318
+ }] });
284
319
 
285
320
  /**
286
321
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-components-pagination.js","sources":["ng://@taiga-ui/kit/components/pagination/pagination.component.ts","ng://@taiga-ui/kit/components/pagination/pagination.module.ts","ng://@taiga-ui/kit/components/pagination/taiga-ui-kit-components-pagination.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n Optional,\n Output,\n QueryList,\n ViewChildren,\n} from '@angular/core';\nimport {\n AbstractTuiInteractive,\n clamp,\n EMPTY_QUERY,\n isNativeFocusedIn,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n TuiAppearance,\n TuiBrightness,\n TuiButtonComponent,\n TuiHorizontalDirection,\n TuiModeDirective,\n TuiSizeS,\n} from '@taiga-ui/core';\nimport {TUI_PAGINATION_TEXTS} from '@taiga-ui/kit/tokens';\nimport {tuiHorizontalDirectionToNumber} from '@taiga-ui/kit/utils/math';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nconst DOTS_LENGTH = 1;\nconst ACTIVE_ITEM_LENGTH = 1;\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function nonNegativeInteger(length: number): boolean {\n return Number.isInteger(length) && length >= 0;\n}\n\n// @dynamic\n@Component({\n selector: 'tui-pagination',\n templateUrl: './pagination.template.html',\n styleUrls: ['./pagination.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiPaginationComponent),\n },\n ],\n})\nexport class TuiPaginationComponent\n extends AbstractTuiInteractive\n implements TuiFocusableElementAccessor\n{\n @ViewChildren('element', {read: TUI_FOCUSABLE_ITEM_ACCESSOR})\n private readonly elements: QueryList<TuiFocusableElementAccessor> = EMPTY_QUERY;\n\n @Input()\n @tuiDefaultProp(nonNegativeInteger, 'Must be non-negative integer')\n length = 1;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeS = 'm';\n\n @Input()\n @tuiDefaultProp()\n readonly disabled = false;\n\n /**\n * Amount of visible pages around active page\n */\n @Input()\n @tuiDefaultProp()\n activePadding = 1;\n\n /**\n * Amount of visible pages at the edges\n */\n @Input()\n @tuiDefaultProp()\n sidePadding = 1;\n\n /**\n * Customization for page number display.\n */\n @Input()\n @tuiDefaultProp()\n content: PolymorpheusContent<TuiContextWithImplicit<number>> | null = null;\n\n /**\n * Active page index\n */\n @Input()\n @tuiDefaultProp(nonNegativeInteger, 'Must be non-negative integer')\n index = 0;\n\n @Output()\n readonly indexChange = new EventEmitter<number>();\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Optional()\n @Inject(TuiModeDirective)\n private readonly modeDirective: TuiModeDirective | null,\n @Inject(TUI_PAGINATION_TEXTS) readonly texts$: Observable<[string, string]>,\n ) {\n super();\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n if (this.disabled) {\n return null;\n }\n\n let activeElementIndex = 0;\n const {elementsLength} = this;\n\n for (let i = 0; i < elementsLength; i++) {\n const itemIndex = this.getItemIndexByElementIndex(i);\n\n if (itemIndex) {\n activeElementIndex++;\n }\n\n if (itemIndex === this.index) {\n break;\n }\n }\n\n const activeElement = this.elements.find(\n (_, index) => index === activeElementIndex,\n );\n\n return activeElement ? activeElement.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return isNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n /**\n * Number of items in a container.\n */\n get elementsLength(): number {\n return this.itemsFit ? this.length : this.maxElementsLength;\n }\n\n get sizeM(): boolean {\n return this.size === 'm';\n }\n\n get mode(): TuiBrightness | null {\n return this.modeDirective ? this.modeDirective.mode : null;\n }\n\n get arrowIsDisabledLeft(): boolean {\n return this.index === 0;\n }\n\n get arrowIsDisabledRight(): boolean {\n return this.reverseIndex === 0;\n }\n\n elementIsFocusable(index: number): boolean {\n return this.index === index && !this.focused;\n }\n\n getItemContext(index: number): TuiContextWithImplicit<number> {\n return {$implicit: index};\n }\n\n /**\n * Get index by element index\n * @param elementIndex\n * @returns index or null (for '…')\n */\n getItemIndexByElementIndex(elementIndex: number): number | null {\n if (!this.sizeM) {\n return elementIndex;\n }\n\n if (elementIndex < this.sidePadding) {\n return elementIndex;\n }\n\n if (elementIndex === this.sidePadding && this.hasCollapsedItems(this.index)) {\n return null;\n }\n\n const reverseElementIndex = this.lastElementIndex - elementIndex;\n\n if (\n reverseElementIndex === this.sidePadding &&\n this.hasCollapsedItems(this.reverseIndex)\n ) {\n return null;\n }\n\n if (reverseElementIndex < this.sidePadding) {\n return this.lastIndex - reverseElementIndex;\n }\n\n const computedIndex = this.index - this.maxHalfLength + elementIndex;\n\n return clamp(computedIndex, elementIndex, this.lastIndex - reverseElementIndex);\n }\n\n getElementMode(index: number): TuiAppearance {\n return this.index === index ? TuiAppearance.Primary : TuiAppearance.Flat;\n }\n\n getSmallElementMode(index: number, mode: TuiBrightness | null): TuiAppearance {\n return this.index === index && mode !== 'onLight'\n ? TuiAppearance.Primary\n : TuiAppearance.Secondary;\n }\n\n onElementClick(index: number): void {\n this.updateIndex(index);\n }\n\n onElementKeyDownArrowLeft(element: TuiButtonComponent): void {\n if (element === this.elements.first) {\n return;\n }\n\n const previous = this.elements.find(\n (_, index, array) => array[index + 1] === element,\n );\n\n if (previous?.nativeFocusableElement) {\n setNativeFocused(previous.nativeFocusableElement);\n }\n }\n\n onElementKeyDownArrowRight(element: TuiButtonComponent): void {\n if (element === this.elements.last) {\n return;\n }\n\n const next = this.elements.find(\n (_, index, array) => array[index - 1] === element,\n );\n\n if (next?.nativeFocusableElement) {\n setNativeFocused(next.nativeFocusableElement);\n }\n }\n\n onArrowClick(direction: TuiHorizontalDirection): void {\n this.tryChangeTo(direction);\n this.focusActive();\n }\n\n onActiveZone(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n /**\n * Active index from the end\n */\n private get reverseIndex(): number {\n return this.lastIndex - this.index;\n }\n\n /**\n * Max number of elements in half (not counting the middle one).\n */\n private get maxHalfLength(): number {\n return this.sidePadding + DOTS_LENGTH + this.activePadding;\n }\n\n /**\n * Is there '...' anywhere\n */\n private get itemsFit(): boolean {\n return this.length <= this.maxElementsLength;\n }\n\n /**\n * Max number of elements\n */\n private get maxElementsLength(): number {\n return this.maxHalfLength * 2 + ACTIVE_ITEM_LENGTH;\n }\n\n private get lastIndex(): number {\n return this.length - 1;\n }\n\n private get lastElementIndex(): number {\n return this.elementsLength - 1;\n }\n\n /**\n * Are there collapsed items at that index\n * @param index\n * @returns there are collapsed items\n */\n private hasCollapsedItems(index: number): boolean {\n return !this.itemsFit && index > this.maxHalfLength;\n }\n\n private tryChangeTo(direction: TuiHorizontalDirection): void {\n this.updateIndex(\n clamp(\n this.index + tuiHorizontalDirectionToNumber(direction),\n 0,\n this.lastIndex,\n ),\n );\n }\n\n private focusActive(): void {\n const {nativeFocusableElement} = this;\n\n if (nativeFocusableElement) {\n setNativeFocused(nativeFocusableElement);\n }\n }\n\n private updateIndex(index: number): void {\n if (this.index === index) {\n return;\n }\n\n this.index = index;\n this.indexChange.emit(index);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiLetModule,\n TuiPreventDefaultModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiButtonModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiPaginationComponent} from './pagination.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiLetModule,\n PolymorpheusModule,\n TuiPreventDefaultModule,\n TuiActiveZoneModule,\n TuiButtonModule,\n ],\n declarations: [TuiPaginationComponent],\n exports: [TuiPaginationComponent],\n})\nexport class TuiPaginationModule {}\n","/**\n * Generated b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e,EAAE,uBAAuB,CAAC,MAAM;QAC/C,SAAS,EAAE;YACP;gBACI,OAAO,EAAE,2BAA2B;gBACpC,WAAW,EAAE,UAAU,CAAC,MAAM,wBAAsB,CAAC;aACxD;SACJ;;KACJ,CAAC;IAoDO,WAAA,MAAM,CAAC,UAAU,CAAC,CAAA;IAClB,WAAA,QAAQ,EAAE,CAAA;IACV,WAAA,MAAM,CAAC,gBAAgB,CAAC,CAAA;IAExB,WAAA,MAAM,CAAC,oBAAoB,CAAC,CAAA;GAvDxB,sBAAsB,CAwRlC;;ICzTY,mBAAmB,GAAhC,MAAa,mBAAmB;EAAG;AAAtB,mBAAmB;IAb/B,QAAQ,CAAC;QACN,OAAO,EAAE;YACL,YAAY;YACZ,oBAAoB;YACpB,YAAY;YACZ,kBAAkB;YAClB,uBAAuB;YACvB,mBAAmB;YACnB,eAAe;SAClB;QACD,YAAY,EAAE,CAAC,sBAAsB,CAAC;QACtC,OAAO,EAAE,CAAC,sBAAsB,CAAC;KACpC,CAAC;GACW,mBAAmB,CAAG;;AC1BnC;;;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-components-pagination.js","sources":["../../../projects/kit/components/pagination/pagination.component.ts","../../../projects/kit/components/pagination/pagination.template.html","../../../projects/kit/components/pagination/pagination.module.ts","../../../projects/kit/components/pagination/taiga-ui-kit-components-pagination.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n EventEmitter,\n forwardRef,\n Inject,\n Input,\n Optional,\n Output,\n QueryList,\n ViewChildren,\n} from '@angular/core';\nimport {\n AbstractTuiInteractive,\n clamp,\n EMPTY_QUERY,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n tuiIsNativeFocusedIn,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n TuiAppearance,\n TuiBrightness,\n TuiButtonComponent,\n TuiHorizontalDirection,\n TuiModeDirective,\n TuiSizeS,\n} from '@taiga-ui/core';\nimport {TUI_PAGINATION_TEXTS} from '@taiga-ui/kit/tokens';\nimport {tuiHorizontalDirectionToNumber} from '@taiga-ui/kit/utils/math';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nconst DOTS_LENGTH = 1;\nconst ACTIVE_ITEM_LENGTH = 1;\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function nonNegativeInteger(length: number): boolean {\n return Number.isInteger(length) && length >= 0;\n}\n\n// @dynamic\n@Component({\n selector: `tui-pagination`,\n templateUrl: `./pagination.template.html`,\n styleUrls: [`./pagination.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiPaginationComponent),\n },\n ],\n})\nexport class TuiPaginationComponent\n extends AbstractTuiInteractive\n implements TuiFocusableElementAccessor\n{\n @ViewChildren(`element`, {read: TUI_FOCUSABLE_ITEM_ACCESSOR})\n private readonly elements: QueryList<TuiFocusableElementAccessor> = EMPTY_QUERY;\n\n @Input()\n @tuiDefaultProp(nonNegativeInteger, `Must be non-negative integer`)\n length = 1;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeS = `m`;\n\n @Input()\n @tuiDefaultProp()\n readonly disabled = false;\n\n /**\n * Amount of visible pages around active page\n */\n @Input()\n @tuiDefaultProp()\n activePadding = 1;\n\n /**\n * Amount of visible pages at the edges\n */\n @Input()\n @tuiDefaultProp()\n sidePadding = 1;\n\n /**\n * Customization for page number display.\n */\n @Input()\n @tuiDefaultProp()\n content: PolymorpheusContent<TuiContextWithImplicit<number>> | null = null;\n\n /**\n * Active page index\n */\n @Input()\n @tuiDefaultProp(nonNegativeInteger, `Must be non-negative integer`)\n index = 0;\n\n @Output()\n readonly indexChange = new EventEmitter<number>();\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Optional()\n @Inject(TuiModeDirective)\n private readonly modeDirective: TuiModeDirective | null,\n @Inject(TUI_PAGINATION_TEXTS) readonly texts$: Observable<[string, string]>,\n ) {\n super();\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n if (this.disabled) {\n return null;\n }\n\n let activeElementIndex = 0;\n const {elementsLength} = this;\n\n for (let i = 0; i < elementsLength; i++) {\n const itemIndex = this.getItemIndexByElementIndex(i);\n\n if (itemIndex) {\n activeElementIndex++;\n }\n\n if (itemIndex === this.index) {\n break;\n }\n }\n\n const activeElement = this.elements.find(\n (_, index) => index === activeElementIndex,\n );\n\n return activeElement ? activeElement.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return tuiIsNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n /**\n * Number of items in a container.\n */\n get elementsLength(): number {\n return this.itemsFit ? this.length : this.maxElementsLength;\n }\n\n get sizeM(): boolean {\n return this.size === `m`;\n }\n\n get mode(): TuiBrightness | null {\n return this.modeDirective ? this.modeDirective.mode : null;\n }\n\n get arrowIsDisabledLeft(): boolean {\n return this.index === 0;\n }\n\n get arrowIsDisabledRight(): boolean {\n return this.reverseIndex === 0;\n }\n\n elementIsFocusable(index: number): boolean {\n return this.index === index && !this.focused;\n }\n\n /**\n * Get index by element index\n * @param elementIndex\n * @returns index or null (for '…')\n */\n getItemIndexByElementIndex(elementIndex: number): number | null {\n if (!this.sizeM) {\n return elementIndex;\n }\n\n if (elementIndex < this.sidePadding) {\n return elementIndex;\n }\n\n if (elementIndex === this.sidePadding && this.hasCollapsedItems(this.index)) {\n return null;\n }\n\n const reverseElementIndex = this.lastElementIndex - elementIndex;\n\n if (\n reverseElementIndex === this.sidePadding &&\n this.hasCollapsedItems(this.reverseIndex)\n ) {\n return null;\n }\n\n if (reverseElementIndex < this.sidePadding) {\n return this.lastIndex - reverseElementIndex;\n }\n\n const computedIndex = this.index - this.maxHalfLength + elementIndex;\n\n return clamp(computedIndex, elementIndex, this.lastIndex - reverseElementIndex);\n }\n\n getElementMode(index: number): TuiAppearance {\n return this.index === index ? TuiAppearance.Primary : TuiAppearance.Flat;\n }\n\n getSmallElementMode(index: number, mode: TuiBrightness | null): TuiAppearance {\n return this.index === index && mode !== `onLight`\n ? TuiAppearance.Primary\n : TuiAppearance.Secondary;\n }\n\n onElementClick(index: number): void {\n this.updateIndex(index);\n }\n\n onElementKeyDownArrowLeft(element: TuiButtonComponent): void {\n if (element === this.elements.first) {\n return;\n }\n\n const previous = this.elements.find(\n (_, index, array) => array[index + 1] === element,\n );\n\n if (previous?.nativeFocusableElement) {\n setNativeFocused(previous.nativeFocusableElement);\n }\n }\n\n onElementKeyDownArrowRight(element: TuiButtonComponent): void {\n if (element === this.elements.last) {\n return;\n }\n\n const next = this.elements.find(\n (_, index, array) => array[index - 1] === element,\n );\n\n if (next?.nativeFocusableElement) {\n setNativeFocused(next.nativeFocusableElement);\n }\n }\n\n onArrowClick(direction: TuiHorizontalDirection): void {\n this.tryChangeTo(direction);\n this.focusActive();\n }\n\n onActiveZone(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n /**\n * Active index from the end\n */\n private get reverseIndex(): number {\n return this.lastIndex - this.index;\n }\n\n /**\n * Max number of elements in half (not counting the middle one).\n */\n private get maxHalfLength(): number {\n return this.sidePadding + DOTS_LENGTH + this.activePadding;\n }\n\n /**\n * Is there '...' anywhere\n */\n private get itemsFit(): boolean {\n return this.length <= this.maxElementsLength;\n }\n\n /**\n * Max number of elements\n */\n private get maxElementsLength(): number {\n return this.maxHalfLength * 2 + ACTIVE_ITEM_LENGTH;\n }\n\n private get lastIndex(): number {\n return this.length - 1;\n }\n\n private get lastElementIndex(): number {\n return this.elementsLength - 1;\n }\n\n /**\n * Are there collapsed items at that index\n * @param index\n * @returns there are collapsed items\n */\n private hasCollapsedItems(index: number): boolean {\n return !this.itemsFit && index > this.maxHalfLength;\n }\n\n private tryChangeTo(direction: TuiHorizontalDirection): void {\n this.updateIndex(\n clamp(\n this.index + tuiHorizontalDirectionToNumber(direction),\n 0,\n this.lastIndex,\n ),\n );\n }\n\n private focusActive(): void {\n const {nativeFocusableElement} = this;\n\n if (nativeFocusableElement) {\n setNativeFocused(nativeFocusableElement);\n }\n }\n\n private updateIndex(index: number): void {\n if (this.index === index) {\n return;\n }\n\n this.index = index;\n this.indexChange.emit(index);\n }\n}\n","<div\n class=\"content\"\n (tuiActiveZoneChange)=\"onActiveZone($event)\"\n>\n <ng-container *ngIf=\"sizeM; else smallButtons\">\n <ng-container *ngIf=\"texts$ | async as texts\">\n <button\n tuiIconButton\n type=\"button\"\n tuiPreventDefault=\"mousedown\"\n size=\"s\"\n appearance=\"flat\"\n icon=\"tuiIconChevronLeft\"\n class=\"button\"\n [title]=\"texts[0]\"\n [disabled]=\"arrowIsDisabledLeft\"\n [focusable]=\"false\"\n (click)=\"onArrowClick('left')\"\n ></button>\n <ng-container *tuiRepeatTimes=\"let elementIndex of elementsLength\">\n <ng-container *tuiLet=\"getItemIndexByElementIndex(elementIndex) as index\">\n <button\n *ngIf=\"index !== null; else dotsTemplate\"\n #element\n tuiButton\n type=\"button\"\n automation-id=\"tui-pagination__element\"\n shape=\"square\"\n size=\"s\"\n class=\"button\"\n [disabled]=\"disabled\"\n [focusable]=\"elementIsFocusable(index)\"\n [appearance]=\"getElementMode(index)\"\n (click)=\"onElementClick(index)\"\n (keydown.arrowLeft.prevent)=\"onElementKeyDownArrowLeft(element)\"\n (keydown.arrowRight.prevent)=\"onElementKeyDownArrowRight(element)\"\n >\n <ng-container *polymorpheusOutlet=\"content || index + 1 as text; context: {$implicit: index}\">\n {{ text }}\n </ng-container>\n </button>\n </ng-container>\n </ng-container>\n <button\n tuiIconButton\n type=\"button\"\n tuiPreventDefault=\"mousedown\"\n size=\"s\"\n appearance=\"flat\"\n icon=\"tuiIconChevronRight\"\n class=\"button\"\n [title]=\"texts[1]\"\n [disabled]=\"arrowIsDisabledRight\"\n [focusable]=\"false\"\n (click)=\"onArrowClick('right')\"\n ></button>\n </ng-container>\n </ng-container>\n <ng-template #smallButtons>\n <button\n *tuiRepeatTimes=\"let indexItem of length\"\n #element\n tuiButton\n type=\"button\"\n shape=\"square\"\n class=\"button button_small\"\n [class.button_active]=\"indexItem === index\"\n [disabled]=\"disabled\"\n [focusable]=\"elementIsFocusable(indexItem)\"\n [appearance]=\"getSmallElementMode(indexItem, mode)\"\n (click)=\"onElementClick(indexItem)\"\n (keydown.arrowLeft.prevent)=\"onElementKeyDownArrowLeft(element)\"\n (keydown.arrowRight.prevent)=\"onElementKeyDownArrowRight(element)\"\n ></button>\n </ng-template>\n <ng-template #dotsTemplate>\n <div\n automation-id=\"tui-pagination__element\"\n class=\"dots\"\n ></div>\n </ng-template>\n</div>\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiActiveZoneModule,\n TuiLetModule,\n TuiPreventDefaultModule,\n TuiRepeatTimesModule,\n} from '@taiga-ui/cdk';\nimport {TuiButtonModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiPaginationComponent} from './pagination.component';\n\n@NgModule({\n imports: [\n CommonModule,\n TuiRepeatTimesModule,\n TuiLetModule,\n PolymorpheusModule,\n TuiPreventDefaultModule,\n TuiActiveZoneModule,\n TuiButtonModule,\n ],\n declarations: [TuiPaginationComponent],\n exports: [TuiPaginationComponent],\n})\nexport class TuiPaginationModule {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAsCA,MAAM,WAAW,GAAG,CAAC,CAAC;AACtB,MAAM,kBAAkB,GAAG,CAAC,CAAC;AAE7B;AACM,SAAU,kBAAkB,CAAC,MAAc,EAAA;IAC7C,OAAO,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC;AACnD,CAAC;AAED;AAaM,MAAO,sBACT,SAAQ,sBAAsB,CAAA;AAiD9B,IAAA,WAAA,CACyC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