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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2400) hide show
  1. package/bundles/taiga-ui-kit-classes.umd.js +7 -3
  2. package/bundles/taiga-ui-kit-classes.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-accordion.umd.js +564 -412
  4. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-action.umd.js +431 -311
  6. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-arrow.umd.js +81 -288
  8. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-avatar.umd.js +427 -305
  10. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-badge.umd.js +427 -303
  12. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-badged-content.umd.js +438 -304
  14. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +400 -342
  16. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +478 -344
  18. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +499 -366
  20. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-carousel.umd.js +599 -438
  22. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +455 -324
  24. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +419 -311
  26. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-checkbox.umd.js +434 -311
  28. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-combo-box.umd.js +537 -405
  30. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +471 -350
  32. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-files.umd.js +525 -379
  34. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-filter.umd.js +455 -324
  36. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-copy.umd.js +476 -356
  38. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-count.umd.js +516 -392
  40. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +567 -436
  42. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +544 -415
  44. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-date.umd.js +540 -406
  46. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-files.umd.js +535 -394
  48. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-inline.umd.js +426 -300
  50. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +505 -371
  52. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-month.umd.js +488 -356
  54. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-number.umd.js +516 -390
  56. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-password.umd.js +480 -360
  58. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +715 -828
  60. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-phone.umd.js +515 -403
  62. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-range.umd.js +564 -419
  64. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-slider.umd.js +503 -460
  66. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-tag.umd.js +636 -492
  68. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-time.umd.js +497 -367
  70. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input.umd.js +438 -338
  72. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-island.umd.js +427 -310
  74. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +528 -324
  76. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +406 -287
  78. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +382 -271
  80. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-multi-select.umd.js +730 -575
  82. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-pagination.umd.js +482 -357
  84. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +434 -313
  86. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-progress.umd.js +551 -492
  88. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-radio-block.umd.js +454 -338
  90. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-radio-group.umd.js +379 -271
  92. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +450 -327
  94. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-radio-list.umd.js +461 -326
  96. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-radio.umd.js +474 -345
  98. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-range.umd.js +535 -461
  100. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-rating.umd.js +452 -320
  102. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-select-option.umd.js +74 -285
  104. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-select.umd.js +487 -365
  106. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-slider.umd.js +580 -570
  108. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-stepper.umd.js +487 -353
  110. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-tabs.umd.js +746 -636
  112. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-tag.umd.js +527 -385
  114. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-text-area.umd.js +525 -392
  116. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-toggle.umd.js +482 -343
  118. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-tree.umd.js +675 -503
  120. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components.umd.js +123 -257
  122. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-constants.umd.js +341 -280
  124. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +507 -0
  126. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -0
  127. package/bundles/taiga-ui-kit-directives-highlight.umd.js +403 -290
  128. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  129. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +421 -308
  130. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-directives-present.umd.js +64 -279
  132. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-directives-project-class.umd.js +381 -272
  134. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  135. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +64 -276
  136. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  137. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +60 -278
  138. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-directives.umd.js +20 -50
  140. package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
  141. package/bundles/taiga-ui-kit-interfaces.umd.js +2 -2
  142. package/bundles/taiga-ui-kit-interfaces.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +441 -321
  144. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-internal.umd.js +5 -7
  146. package/bundles/taiga-ui-kit-internal.umd.js.map +1 -1
  147. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +438 -310
  148. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +406 -306
  150. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +43 -261
  152. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +43 -261
  154. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-pipes.umd.js +11 -19
  156. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  157. package/bundles/taiga-ui-kit-providers.umd.js +17 -49
  158. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  159. package/bundles/taiga-ui-kit-tokens.umd.js +41 -287
  160. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  161. package/bundles/taiga-ui-kit-types.umd.js +2 -2
  162. package/bundles/taiga-ui-kit-types.umd.js.map +1 -1
  163. package/bundles/taiga-ui-kit-utils-files.umd.js +10 -18
  164. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-utils-format.umd.js +8 -8
  166. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  167. package/bundles/taiga-ui-kit-utils-mask.umd.js +347 -273
  168. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  169. package/bundles/taiga-ui-kit-utils-math.umd.js +335 -257
  170. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  171. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +341 -275
  172. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  173. package/bundles/taiga-ui-kit-utils.umd.js +15 -33
  174. package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
  175. package/bundles/taiga-ui-kit-validators.umd.js +7 -3
  176. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  177. package/bundles/taiga-ui-kit.umd.js +34 -50
  178. package/bundles/taiga-ui-kit.umd.js.map +1 -1
  179. package/classes/package.json +2 -5
  180. package/classes/stringifiable-item.d.ts +1 -1
  181. package/classes/taiga-ui-kit-classes.d.ts +1 -0
  182. package/components/accordion/accordion-item/accordion-item-content.directive.d.ts +3 -0
  183. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +3 -0
  184. package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -1
  185. package/components/accordion/accordion.component.d.ts +3 -0
  186. package/components/accordion/accordion.module.d.ts +12 -0
  187. package/components/accordion/package.json +2 -5
  188. package/components/accordion/taiga-ui-kit-components-accordion.d.ts +1 -0
  189. package/components/action/action.component.d.ts +3 -1
  190. package/components/action/action.module.d.ts +9 -0
  191. package/components/action/package.json +2 -5
  192. package/components/action/taiga-ui-kit-components-action.d.ts +1 -0
  193. package/components/arrow/arrow-options.d.ts +0 -2
  194. package/components/arrow/arrow.component.d.ts +5 -1
  195. package/components/arrow/arrow.module.d.ts +8 -0
  196. package/components/arrow/package.json +2 -5
  197. package/components/arrow/taiga-ui-kit-components-arrow.d.ts +1 -0
  198. package/components/avatar/avatar.component.d.ts +3 -0
  199. package/components/avatar/avatar.module.d.ts +7 -0
  200. package/components/avatar/package.json +2 -5
  201. package/components/avatar/taiga-ui-kit-components-avatar.d.ts +1 -0
  202. package/components/badge/badge.component.d.ts +5 -2
  203. package/components/badge/badge.module.d.ts +6 -0
  204. package/components/badge/package.json +2 -5
  205. package/components/badge/taiga-ui-kit-components-badge.d.ts +1 -0
  206. package/components/badged-content/badged-content.component.d.ts +8 -4
  207. package/components/badged-content/badged-content.module.d.ts +9 -0
  208. package/components/badged-content/package.json +2 -5
  209. package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +1 -0
  210. package/components/breadcrumbs/breadcrumbs.component.d.ts +11 -7
  211. package/components/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  212. package/components/breadcrumbs/index.d.ts +0 -2
  213. package/components/breadcrumbs/package.json +2 -5
  214. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +1 -0
  215. package/components/calendar-month/calendar-month.component.d.ts +3 -0
  216. package/components/calendar-month/calendar-month.module.d.ts +8 -0
  217. package/components/calendar-month/package.json +2 -5
  218. package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +1 -0
  219. package/components/calendar-range/calendar-range.component.d.ts +3 -2
  220. package/components/calendar-range/calendar-range.module.d.ts +9 -0
  221. package/components/calendar-range/package.json +2 -5
  222. package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +1 -0
  223. package/components/carousel/carousel-autoscroll.directive.d.ts +3 -0
  224. package/components/carousel/carousel-buttons.directive.d.ts +3 -2
  225. package/components/carousel/carousel-scroll.directive.d.ts +3 -0
  226. package/components/carousel/carousel.component.d.ts +3 -0
  227. package/components/carousel/carousel.directive.d.ts +3 -0
  228. package/components/carousel/carousel.module.d.ts +12 -0
  229. package/components/carousel/package.json +2 -5
  230. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +1 -0
  231. package/components/checkbox/checkbox.component.d.ts +3 -2
  232. package/components/checkbox/checkbox.module.d.ts +8 -0
  233. package/components/checkbox/package.json +2 -5
  234. package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +1 -0
  235. package/components/checkbox-block/checkbox-block.component.d.ts +3 -2
  236. package/components/checkbox-block/checkbox-block.module.d.ts +9 -0
  237. package/components/checkbox-block/package.json +2 -5
  238. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +1 -0
  239. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +3 -2
  240. package/components/checkbox-labeled/checkbox-labeled.module.d.ts +8 -0
  241. package/components/checkbox-labeled/package.json +2 -5
  242. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +1 -0
  243. package/components/combo-box/combo-box-strict.directive.d.ts +3 -0
  244. package/components/combo-box/combo-box.component.d.ts +3 -1
  245. package/components/combo-box/combo-box.directive.d.ts +3 -0
  246. package/components/combo-box/combo-box.module.d.ts +13 -0
  247. package/components/combo-box/index.d.ts +0 -1
  248. package/components/combo-box/package.json +2 -5
  249. package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +1 -0
  250. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +3 -0
  251. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +3 -0
  252. package/components/data-list-wrapper/data-list-wrapper.d.ts +3 -0
  253. package/components/data-list-wrapper/data-list-wrapper.module.d.ts +10 -0
  254. package/components/data-list-wrapper/package.json +2 -5
  255. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +1 -0
  256. package/components/files/file/file.component.d.ts +5 -2
  257. package/components/files/files.component.d.ts +3 -0
  258. package/components/files/files.module.d.ts +10 -0
  259. package/components/files/package.json +2 -5
  260. package/components/files/taiga-ui-kit-components-files.d.ts +1 -0
  261. package/components/filter/filter.component.d.ts +5 -3
  262. package/components/filter/filter.module.d.ts +11 -0
  263. package/components/filter/package.json +2 -5
  264. package/components/filter/taiga-ui-kit-components-filter.d.ts +1 -0
  265. package/components/index.d.ts +0 -2
  266. package/components/input/index.d.ts +0 -1
  267. package/components/input/input.component.d.ts +4 -4
  268. package/components/input/input.directive.d.ts +3 -0
  269. package/components/input/input.module.d.ts +9 -0
  270. package/components/input/package.json +2 -5
  271. package/components/input/taiga-ui-kit-components-input.d.ts +1 -0
  272. package/components/input-copy/index.d.ts +0 -1
  273. package/components/input-copy/input-copy.component.d.ts +6 -5
  274. package/components/input-copy/input-copy.directive.d.ts +3 -0
  275. package/components/input-copy/input-copy.module.d.ts +9 -0
  276. package/components/input-copy/package.json +2 -5
  277. package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +1 -0
  278. package/components/input-count/input-count-options.d.ts +0 -7
  279. package/components/input-count/input-count.component.d.ts +3 -2
  280. package/components/input-count/input-count.directive.d.ts +3 -0
  281. package/components/input-count/input-count.module.d.ts +11 -0
  282. package/components/input-count/package.json +2 -5
  283. package/components/input-count/taiga-ui-kit-components-input-count.d.ts +1 -0
  284. package/components/input-date/index.d.ts +0 -1
  285. package/components/input-date/input-date.component.d.ts +3 -1
  286. package/components/input-date/input-date.directive.d.ts +3 -0
  287. package/components/input-date/input-date.module.d.ts +12 -0
  288. package/components/input-date/package.json +2 -5
  289. package/components/input-date/taiga-ui-kit-components-input-date.d.ts +1 -0
  290. package/components/input-date-range/index.d.ts +0 -1
  291. package/components/input-date-range/input-date-range.component.d.ts +3 -2
  292. package/components/input-date-range/input-date-range.directive.d.ts +3 -0
  293. package/components/input-date-range/input-date-range.module.d.ts +13 -0
  294. package/components/input-date-range/package.json +2 -5
  295. package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +1 -0
  296. package/components/input-date-time/index.d.ts +0 -1
  297. package/components/input-date-time/input-date-time.component.d.ts +11 -3
  298. package/components/input-date-time/input-date-time.directive.d.ts +3 -0
  299. package/components/input-date-time/input-date-time.module.d.ts +12 -0
  300. package/components/input-date-time/package.json +2 -5
  301. package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +1 -0
  302. package/components/input-files/input-files.component.d.ts +3 -2
  303. package/components/input-files/input-files.module.d.ts +10 -0
  304. package/components/input-files/package.json +2 -5
  305. package/components/input-files/taiga-ui-kit-components-input-files.d.ts +1 -0
  306. package/components/input-inline/input-inline.component.d.ts +3 -0
  307. package/components/input-inline/input-inline.module.d.ts +9 -0
  308. package/components/input-inline/package.json +2 -5
  309. package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +1 -0
  310. package/components/input-month/index.d.ts +0 -1
  311. package/components/input-month/input-month.component.d.ts +3 -1
  312. package/components/input-month/input-month.directive.d.ts +3 -0
  313. package/components/input-month/input-month.module.d.ts +10 -0
  314. package/components/input-month/package.json +2 -5
  315. package/components/input-month/taiga-ui-kit-components-input-month.d.ts +1 -0
  316. package/components/input-month-range/index.d.ts +0 -1
  317. package/components/input-month-range/input-month-range.component.d.ts +3 -1
  318. package/components/input-month-range/input-month-range.directive.d.ts +3 -0
  319. package/components/input-month-range/input-month-range.module.d.ts +10 -0
  320. package/components/input-month-range/package.json +2 -5
  321. package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +1 -0
  322. package/components/input-number/input-number.component.d.ts +7 -6
  323. package/components/input-number/input-number.directive.d.ts +3 -0
  324. package/components/input-number/input-number.module.d.ts +12 -0
  325. package/components/input-number/package.json +2 -5
  326. package/components/input-number/taiga-ui-kit-components-input-number.d.ts +1 -0
  327. package/components/input-password/input-password-options.d.ts +0 -7
  328. package/components/input-password/input-password.component.d.ts +7 -6
  329. package/components/input-password/input-password.directive.d.ts +3 -0
  330. package/components/input-password/input-password.module.d.ts +10 -0
  331. package/components/input-password/package.json +2 -5
  332. package/components/input-password/taiga-ui-kit-components-input-password.d.ts +1 -0
  333. package/components/input-phone/index.d.ts +0 -1
  334. package/components/input-phone/input-phone.component.d.ts +6 -4
  335. package/components/input-phone/input-phone.directive.d.ts +3 -0
  336. package/components/input-phone/input-phone.module.d.ts +10 -0
  337. package/components/input-phone/package.json +2 -5
  338. package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +1 -0
  339. package/components/input-phone-international/const/mask-after-code-regexp.d.ts +1 -0
  340. package/components/input-phone-international/index.d.ts +1 -3
  341. package/components/input-phone-international/input-phone-international.component.d.ts +3 -0
  342. package/components/input-phone-international/input-phone-international.module.d.ts +12 -0
  343. package/components/input-phone-international/package.json +2 -5
  344. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +1 -0
  345. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -5
  346. package/components/input-range/input-range.component.d.ts +13 -11
  347. package/components/input-range/input-range.module.d.ts +12 -0
  348. package/components/input-range/package.json +2 -5
  349. package/components/input-range/taiga-ui-kit-components-input-range.d.ts +1 -0
  350. package/components/input-slider/input-slider.component.d.ts +11 -36
  351. package/components/input-slider/input-slider.module.d.ts +11 -0
  352. package/components/input-slider/package.json +2 -5
  353. package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +1 -0
  354. package/components/input-tag/input-tag-options.d.ts +4 -1
  355. package/components/input-tag/input-tag.component.d.ts +10 -12
  356. package/components/input-tag/input-tag.module.d.ts +11 -0
  357. package/components/input-tag/package.json +2 -5
  358. package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +1 -0
  359. package/components/input-time/input-time-options.d.ts +0 -6
  360. package/components/input-time/input-time.component.d.ts +3 -1
  361. package/components/input-time/input-time.module.d.ts +9 -0
  362. package/components/input-time/package.json +2 -5
  363. package/components/input-time/taiga-ui-kit-components-input-time.d.ts +1 -0
  364. package/components/island/island.component.d.ts +3 -0
  365. package/components/island/island.module.d.ts +6 -0
  366. package/components/island/package.json +2 -5
  367. package/components/island/taiga-ui-kit-components-island.d.ts +1 -0
  368. package/components/line-clamp/index.d.ts +1 -0
  369. package/components/line-clamp/line-clamp-box.component.d.ts +7 -0
  370. package/components/line-clamp/line-clamp-position.directive.d.ts +9 -0
  371. package/components/line-clamp/line-clamp.component.d.ts +5 -2
  372. package/components/line-clamp/line-clamp.module.d.ts +11 -0
  373. package/components/line-clamp/package.json +2 -5
  374. package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +1 -0
  375. package/components/marker-icon/marker-icon.component.d.ts +5 -2
  376. package/components/marker-icon/marker-icon.module.d.ts +7 -0
  377. package/components/marker-icon/package.json +2 -5
  378. package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +1 -0
  379. package/components/multi-select/hide-selected.pipe.d.ts +5 -2
  380. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -0
  381. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +4 -9
  382. package/components/multi-select/multi-select.component.d.ts +3 -3
  383. package/components/multi-select/multi-select.module.d.ts +16 -0
  384. package/components/multi-select/package.json +2 -5
  385. package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +1 -0
  386. package/components/multi-select-option/multi-select-option.component.d.ts +3 -0
  387. package/components/multi-select-option/multi-select-option.module.d.ts +7 -0
  388. package/components/multi-select-option/package.json +2 -5
  389. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +1 -0
  390. package/components/package.json +2 -5
  391. package/components/pagination/package.json +2 -5
  392. package/components/pagination/pagination.component.d.ts +3 -2
  393. package/components/pagination/pagination.module.d.ts +9 -0
  394. package/components/pagination/taiga-ui-kit-components-pagination.d.ts +1 -0
  395. package/components/pdf-viewer/package.json +2 -5
  396. package/components/pdf-viewer/pdf-viewer.component.d.ts +3 -0
  397. package/components/pdf-viewer/pdf-viewer.directive.d.ts +3 -0
  398. package/components/pdf-viewer/pdf-viewer.module.d.ts +9 -0
  399. package/components/pdf-viewer/pdf-viewer.service.d.ts +4 -1
  400. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +1 -0
  401. package/components/progress/index.d.ts +0 -3
  402. package/components/progress/package.json +2 -5
  403. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -0
  404. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +3 -0
  405. package/components/progress/progress-circle/progress-circle.component.d.ts +3 -0
  406. package/components/progress/progress-label/progress-label.component.d.ts +3 -0
  407. package/components/progress/progress-segmented/progress-segmented.component.d.ts +3 -2
  408. package/components/progress/progress.module.d.ts +11 -0
  409. package/components/progress/taiga-ui-kit-components-progress.d.ts +1 -0
  410. package/components/radio/package.json +2 -5
  411. package/components/radio/radio-options.d.ts +0 -5
  412. package/components/radio/radio.component.d.ts +3 -2
  413. package/components/radio/radio.module.d.ts +8 -0
  414. package/components/radio/taiga-ui-kit-components-radio.d.ts +1 -0
  415. package/components/radio-block/package.json +2 -5
  416. package/components/radio-block/radio-block.component.d.ts +3 -2
  417. package/components/radio-block/radio-block.module.d.ts +8 -0
  418. package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +1 -0
  419. package/components/radio-group/package.json +2 -5
  420. package/components/radio-group/radio-group.component.d.ts +3 -0
  421. package/components/radio-group/radio-group.module.d.ts +5 -0
  422. package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +1 -0
  423. package/components/radio-labeled/package.json +2 -5
  424. package/components/radio-labeled/radio-labeled.component.d.ts +3 -2
  425. package/components/radio-labeled/radio-labeled.module.d.ts +9 -0
  426. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +1 -0
  427. package/components/radio-list/package.json +2 -5
  428. package/components/radio-list/radio-list.component.d.ts +5 -5
  429. package/components/radio-list/radio-list.module.d.ts +10 -0
  430. package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +1 -0
  431. package/components/range/package.json +2 -5
  432. package/components/range/range-change.directive.d.ts +3 -0
  433. package/components/range/range.component.d.ts +9 -29
  434. package/components/range/range.module.d.ts +10 -0
  435. package/components/range/taiga-ui-kit-components-range.d.ts +1 -0
  436. package/components/rating/package.json +2 -5
  437. package/components/rating/rating.component.d.ts +3 -0
  438. package/components/rating/rating.module.d.ts +8 -0
  439. package/components/rating/taiga-ui-kit-components-rating.d.ts +1 -0
  440. package/components/select/index.d.ts +0 -1
  441. package/components/select/package.json +2 -5
  442. package/components/select/select.component.d.ts +3 -1
  443. package/components/select/select.directive.d.ts +3 -0
  444. package/components/select/select.module.d.ts +12 -0
  445. package/components/select/taiga-ui-kit-components-select.d.ts +1 -0
  446. package/components/select-option/package.json +2 -5
  447. package/components/select-option/select-option.component.d.ts +4 -1
  448. package/components/select-option/select-option.module.d.ts +7 -0
  449. package/components/select-option/taiga-ui-kit-components-select-option.d.ts +1 -0
  450. package/components/slider/helpers/slider-key-steps.directive.d.ts +4 -19
  451. package/components/slider/helpers/slider-readonly.directive.d.ts +3 -0
  452. package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +3 -0
  453. package/components/slider/index.d.ts +0 -1
  454. package/components/slider/package.json +2 -5
  455. package/components/slider/slider.component.d.ts +3 -0
  456. package/components/slider/slider.module.d.ts +9 -0
  457. package/components/slider/taiga-ui-kit-components-slider.d.ts +1 -0
  458. package/components/stepper/package.json +2 -5
  459. package/components/stepper/step/step.component.d.ts +4 -1
  460. package/components/stepper/stepper.component.d.ts +5 -2
  461. package/components/stepper/stepper.module.d.ts +8 -0
  462. package/components/stepper/taiga-ui-kit-components-stepper.d.ts +1 -0
  463. package/components/tabs/index.d.ts +0 -1
  464. package/components/tabs/package.json +2 -5
  465. package/components/tabs/tab/tab.component.d.ts +4 -3
  466. package/components/tabs/tab/tab.providers.d.ts +1 -4
  467. package/components/tabs/tabs/tabs.component.d.ts +4 -6
  468. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +5 -1
  469. package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +3 -9
  470. package/components/tabs/tabs.module.d.ts +12 -0
  471. package/components/tabs/taiga-ui-kit-components-tabs.d.ts +1 -0
  472. package/components/tabs/underline/underline.component.d.ts +4 -6
  473. package/components/tag/package.json +2 -5
  474. package/components/tag/tag-options.d.ts +2 -2
  475. package/components/tag/tag.component.d.ts +6 -5
  476. package/components/tag/tag.module.d.ts +10 -0
  477. package/components/tag/taiga-ui-kit-components-tag.d.ts +1 -0
  478. package/components/taiga-ui-kit-components.d.ts +1 -0
  479. package/components/text-area/index.d.ts +0 -1
  480. package/components/text-area/package.json +2 -5
  481. package/components/text-area/taiga-ui-kit-components-text-area.d.ts +1 -0
  482. package/components/text-area/text-area.component.d.ts +3 -2
  483. package/components/text-area/text-area.directive.d.ts +3 -0
  484. package/components/text-area/text-area.module.d.ts +10 -0
  485. package/components/toggle/package.json +2 -5
  486. package/components/toggle/taiga-ui-kit-components-toggle.d.ts +1 -0
  487. package/components/toggle/toggle-options.d.ts +0 -5
  488. package/components/toggle/toggle.component.d.ts +3 -2
  489. package/components/toggle/toggle.module.d.ts +9 -0
  490. package/components/tree/components/tree/tree.component.d.ts +3 -0
  491. package/components/tree/components/tree-item/tree-item.component.d.ts +3 -0
  492. package/components/tree/components/tree-item/tree-item.providers.d.ts +0 -1
  493. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +3 -0
  494. package/components/tree/directives/tree-children.directive.d.ts +3 -0
  495. package/components/tree/directives/tree-controller.directive.d.ts +3 -0
  496. package/components/tree/directives/tree-item-controller.directive.d.ts +3 -0
  497. package/components/tree/directives/tree-node.directive.d.ts +3 -0
  498. package/components/tree/misc/tree.constants.d.ts +1 -1
  499. package/components/tree/misc/tree.service.d.ts +3 -0
  500. package/components/tree/package.json +2 -5
  501. package/components/tree/taiga-ui-kit-components-tree.d.ts +1 -0
  502. package/components/tree/tree.module.d.ts +15 -0
  503. package/constants/masks.d.ts +0 -8
  504. package/constants/package.json +2 -5
  505. package/constants/taiga-ui-kit-constants.d.ts +1 -0
  506. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +15 -0
  507. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.d.ts +7 -0
  508. package/directives/data-list-dropdown-manager/index.d.ts +2 -0
  509. package/directives/data-list-dropdown-manager/package.json +10 -0
  510. package/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.d.ts +5 -0
  511. package/directives/highlight/highlight.directive.d.ts +3 -0
  512. package/directives/highlight/highlight.module.d.ts +5 -0
  513. package/directives/highlight/package.json +2 -5
  514. package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +1 -0
  515. package/directives/index.d.ts +1 -3
  516. package/directives/lazy-loading/lazy-loading.directive.d.ts +3 -0
  517. package/directives/lazy-loading/lazy-loading.module.d.ts +5 -0
  518. package/directives/lazy-loading/lazy-loading.service.d.ts +3 -0
  519. package/directives/lazy-loading/package.json +2 -5
  520. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +1 -0
  521. package/directives/package.json +2 -5
  522. package/directives/present/package.json +2 -5
  523. package/directives/present/present.directive.d.ts +3 -0
  524. package/directives/present/present.module.d.ts +5 -0
  525. package/directives/present/taiga-ui-kit-directives-present.d.ts +1 -0
  526. package/directives/project-class/package.json +2 -5
  527. package/directives/project-class/project-class.directive.d.ts +3 -0
  528. package/directives/project-class/project-class.module.d.ts +5 -0
  529. package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +1 -0
  530. package/directives/taiga-ui-kit-directives.d.ts +1 -0
  531. package/directives/unfinished-validator/package.json +2 -5
  532. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +1 -0
  533. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +3 -0
  534. package/directives/unfinished-validator/unfinished-validator.module.d.ts +5 -0
  535. package/directives/value-accessor/package.json +2 -5
  536. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +1 -0
  537. package/directives/value-accessor/value-accessor.directive.d.ts +3 -0
  538. package/directives/value-accessor/value-accessor.module.d.ts +5 -0
  539. package/esm2015/classes/day-range-period.js +1 -1
  540. package/esm2015/classes/index.js +1 -1
  541. package/esm2015/classes/named-day.js +1 -1
  542. package/esm2015/classes/stringifiable-item.js +1 -1
  543. package/esm2015/classes/taiga-ui-kit-classes.js +1 -1
  544. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +20 -17
  545. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +12 -10
  546. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +76 -64
  547. package/esm2015/components/accordion/accordion.component.js +32 -26
  548. package/esm2015/components/accordion/accordion.module.js +49 -25
  549. package/esm2015/components/accordion/index.js +1 -1
  550. package/esm2015/components/accordion/taiga-ui-kit-components-accordion.js +1 -1
  551. package/esm2015/components/action/action.component.js +49 -46
  552. package/esm2015/components/action/action.module.js +26 -13
  553. package/esm2015/components/action/index.js +1 -1
  554. package/esm2015/components/action/taiga-ui-kit-components-action.js +1 -1
  555. package/esm2015/components/arrow/arrow-options.js +3 -6
  556. package/esm2015/components/arrow/arrow.component.js +36 -24
  557. package/esm2015/components/arrow/arrow.module.js +16 -13
  558. package/esm2015/components/arrow/index.js +1 -1
  559. package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +1 -1
  560. package/esm2015/components/avatar/avatar-options.js +1 -1
  561. package/esm2015/components/avatar/avatar.component.js +48 -34
  562. package/esm2015/components/avatar/avatar.module.js +15 -12
  563. package/esm2015/components/avatar/index.js +1 -1
  564. package/esm2015/components/avatar/taiga-ui-kit-components-avatar.js +1 -1
  565. package/esm2015/components/badge/badge.component.js +53 -38
  566. package/esm2015/components/badge/badge.module.js +15 -12
  567. package/esm2015/components/badge/index.js +1 -1
  568. package/esm2015/components/badge/taiga-ui-kit-components-badge.js +1 -1
  569. package/esm2015/components/badged-content/badged-content.component.js +52 -28
  570. package/esm2015/components/badged-content/badged-content.module.js +15 -12
  571. package/esm2015/components/badged-content/index.js +1 -1
  572. package/esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js +1 -1
  573. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +44 -24
  574. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +17 -33
  575. package/esm2015/components/breadcrumbs/index.js +1 -3
  576. package/esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +1 -1
  577. package/esm2015/components/calendar-month/calendar-month.component.js +52 -43
  578. package/esm2015/components/calendar-month/calendar-month.module.js +34 -13
  579. package/esm2015/components/calendar-month/index.js +1 -1
  580. package/esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js +1 -1
  581. package/esm2015/components/calendar-range/calendar-range.component.js +64 -51
  582. package/esm2015/components/calendar-range/calendar-range.module.js +32 -13
  583. package/esm2015/components/calendar-range/index.js +1 -1
  584. package/esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js +1 -1
  585. package/esm2015/components/carousel/carousel-autoscroll.directive.js +17 -16
  586. package/esm2015/components/carousel/carousel-buttons.directive.js +26 -23
  587. package/esm2015/components/carousel/carousel-scroll.directive.js +19 -19
  588. package/esm2015/components/carousel/carousel.component.js +74 -51
  589. package/esm2015/components/carousel/carousel.directive.js +23 -21
  590. package/esm2015/components/carousel/carousel.module.js +44 -24
  591. package/esm2015/components/carousel/index.js +1 -1
  592. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +1 -1
  593. package/esm2015/components/checkbox/checkbox.component.js +50 -44
  594. package/esm2015/components/checkbox/checkbox.module.js +29 -16
  595. package/esm2015/components/checkbox/index.js +1 -1
  596. package/esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js +1 -1
  597. package/esm2015/components/checkbox-block/checkbox-block.component.js +68 -54
  598. package/esm2015/components/checkbox-block/checkbox-block.module.js +26 -13
  599. package/esm2015/components/checkbox-block/index.js +1 -1
  600. package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +1 -1
  601. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +56 -49
  602. package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +15 -19
  603. package/esm2015/components/checkbox-labeled/index.js +1 -1
  604. package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +1 -1
  605. package/esm2015/components/combo-box/combo-box-strict.directive.js +22 -18
  606. package/esm2015/components/combo-box/combo-box.component.js +82 -56
  607. package/esm2015/components/combo-box/combo-box.directive.js +15 -19
  608. package/esm2015/components/combo-box/combo-box.module.js +48 -23
  609. package/esm2015/components/combo-box/index.js +1 -2
  610. package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +1 -1
  611. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +31 -29
  612. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +28 -27
  613. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +23 -21
  614. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +32 -17
  615. package/esm2015/components/data-list-wrapper/index.js +1 -1
  616. package/esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +1 -1
  617. package/esm2015/components/files/file/file.component.js +63 -49
  618. package/esm2015/components/files/files.component.js +33 -27
  619. package/esm2015/components/files/files.module.js +34 -13
  620. package/esm2015/components/files/index.js +1 -1
  621. package/esm2015/components/files/taiga-ui-kit-components-files.js +1 -1
  622. package/esm2015/components/filter/filter.component.js +54 -43
  623. package/esm2015/components/filter/filter.module.js +28 -13
  624. package/esm2015/components/filter/index.js +1 -1
  625. package/esm2015/components/filter/taiga-ui-kit-components-filter.js +1 -1
  626. package/esm2015/components/index.js +1 -3
  627. package/esm2015/components/input/index.js +1 -2
  628. package/esm2015/components/input/input.component.js +55 -50
  629. package/esm2015/components/input/input.directive.js +15 -19
  630. package/esm2015/components/input/input.module.js +24 -13
  631. package/esm2015/components/input/taiga-ui-kit-components-input.js +1 -1
  632. package/esm2015/components/input-copy/index.js +1 -2
  633. package/esm2015/components/input-copy/input-copy.component.js +69 -51
  634. package/esm2015/components/input-copy/input-copy.directive.js +15 -19
  635. package/esm2015/components/input-copy/input-copy.module.js +32 -14
  636. package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +1 -1
  637. package/esm2015/components/input-count/index.js +1 -1
  638. package/esm2015/components/input-count/input-count-options.js +3 -6
  639. package/esm2015/components/input-count/input-count.component.js +88 -77
  640. package/esm2015/components/input-count/input-count.directive.js +15 -19
  641. package/esm2015/components/input-count/input-count.module.js +30 -13
  642. package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +1 -1
  643. package/esm2015/components/input-date/index.js +1 -2
  644. package/esm2015/components/input-date/input-date.component.js +99 -67
  645. package/esm2015/components/input-date/input-date.directive.js +15 -19
  646. package/esm2015/components/input-date/input-date.module.js +40 -13
  647. package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +1 -1
  648. package/esm2015/components/input-date-range/index.js +1 -2
  649. package/esm2015/components/input-date-range/input-date-range.component.js +108 -75
  650. package/esm2015/components/input-date-range/input-date-range.directive.js +15 -19
  651. package/esm2015/components/input-date-range/input-date-range.module.js +44 -17
  652. package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +1 -1
  653. package/esm2015/components/input-date-time/index.js +1 -2
  654. package/esm2015/components/input-date-time/input-date-time.component.js +88 -60
  655. package/esm2015/components/input-date-time/input-date-time.directive.js +15 -19
  656. package/esm2015/components/input-date-time/input-date-time.module.js +44 -17
  657. package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +1 -1
  658. package/esm2015/components/input-files/index.js +1 -1
  659. package/esm2015/components/input-files/input-files.component.js +68 -63
  660. package/esm2015/components/input-files/input-files.module.js +56 -18
  661. package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +1 -1
  662. package/esm2015/components/input-inline/index.js +1 -1
  663. package/esm2015/components/input-inline/input-inline.component.js +45 -36
  664. package/esm2015/components/input-inline/input-inline.module.js +26 -13
  665. package/esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js +1 -1
  666. package/esm2015/components/input-month/index.js +1 -2
  667. package/esm2015/components/input-month/input-month.component.js +61 -40
  668. package/esm2015/components/input-month/input-month.directive.js +29 -30
  669. package/esm2015/components/input-month/input-month.module.js +34 -14
  670. package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +1 -1
  671. package/esm2015/components/input-month-range/index.js +1 -2
  672. package/esm2015/components/input-month-range/input-month-range.component.js +61 -40
  673. package/esm2015/components/input-month-range/input-month-range.directive.js +29 -30
  674. package/esm2015/components/input-month-range/input-month-range.module.js +42 -18
  675. package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +1 -1
  676. package/esm2015/components/input-number/index.js +1 -1
  677. package/esm2015/components/input-number/input-number.component.js +81 -70
  678. package/esm2015/components/input-number/input-number.directive.js +15 -19
  679. package/esm2015/components/input-number/input-number.module.js +30 -13
  680. package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +1 -1
  681. package/esm2015/components/input-password/index.js +1 -1
  682. package/esm2015/components/input-password/input-password-options.js +3 -6
  683. package/esm2015/components/input-password/input-password.component.js +68 -62
  684. package/esm2015/components/input-password/input-password.directive.js +15 -19
  685. package/esm2015/components/input-password/input-password.module.js +36 -17
  686. package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +1 -1
  687. package/esm2015/components/input-phone/index.js +1 -2
  688. package/esm2015/components/input-phone/input-phone.component.js +87 -59
  689. package/esm2015/components/input-phone/input-phone.directive.js +15 -19
  690. package/esm2015/components/input-phone/input-phone.module.js +28 -13
  691. package/esm2015/components/input-phone/input-phone.options.js +1 -1
  692. package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +1 -1
  693. package/esm2015/components/input-phone-international/const/mask-after-code-regexp.js +2 -0
  694. package/esm2015/components/input-phone-international/index.js +2 -3
  695. package/esm2015/components/input-phone-international/input-phone-international.component.js +77 -62
  696. package/esm2015/components/input-phone-international/input-phone-international.module.js +46 -13
  697. package/esm2015/components/input-phone-international/input-phone-international.options.js +1 -1
  698. package/esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +1 -1
  699. package/esm2015/components/input-phone-international/tokens/countries-masks.js +211 -3
  700. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +5 -11
  701. package/esm2015/components/input-range/index.js +1 -1
  702. package/esm2015/components/input-range/input-range.component.js +135 -118
  703. package/esm2015/components/input-range/input-range.module.js +35 -18
  704. package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +1 -1
  705. package/esm2015/components/input-slider/index.js +1 -1
  706. package/esm2015/components/input-slider/input-slider.component.js +90 -162
  707. package/esm2015/components/input-slider/input-slider.module.js +33 -23
  708. package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +1 -1
  709. package/esm2015/components/input-tag/index.js +1 -1
  710. package/esm2015/components/input-tag/input-tag-options.js +8 -1
  711. package/esm2015/components/input-tag/input-tag.component.js +161 -157
  712. package/esm2015/components/input-tag/input-tag.module.js +41 -14
  713. package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +1 -1
  714. package/esm2015/components/input-time/index.js +1 -1
  715. package/esm2015/components/input-time/input-time-options.js +2 -4
  716. package/esm2015/components/input-time/input-time.component.js +70 -57
  717. package/esm2015/components/input-time/input-time.module.js +30 -13
  718. package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +1 -1
  719. package/esm2015/components/island/index.js +1 -1
  720. package/esm2015/components/island/island.component.js +50 -39
  721. package/esm2015/components/island/island.module.js +15 -12
  722. package/esm2015/components/island/taiga-ui-kit-components-island.js +1 -1
  723. package/esm2015/components/line-clamp/index.js +2 -1
  724. package/esm2015/components/line-clamp/line-clamp-box.component.js +32 -0
  725. package/esm2015/components/line-clamp/line-clamp-options.js +1 -1
  726. package/esm2015/components/line-clamp/line-clamp-position.directive.js +26 -0
  727. package/esm2015/components/line-clamp/line-clamp.component.js +72 -47
  728. package/esm2015/components/line-clamp/line-clamp.module.js +34 -13
  729. package/esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js +1 -1
  730. package/esm2015/components/marker-icon/index.js +1 -1
  731. package/esm2015/components/marker-icon/marker-icon.component.js +37 -27
  732. package/esm2015/components/marker-icon/marker-icon.module.js +15 -12
  733. package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +1 -1
  734. package/esm2015/components/multi-select/hide-selected.pipe.js +22 -19
  735. package/esm2015/components/multi-select/index.js +1 -1
  736. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +41 -38
  737. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +61 -50
  738. package/esm2015/components/multi-select/multi-select-options.js +1 -1
  739. package/esm2015/components/multi-select/multi-select.component.js +101 -94
  740. package/esm2015/components/multi-select/multi-select.module.js +65 -26
  741. package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +1 -1
  742. package/esm2015/components/multi-select-option/index.js +1 -1
  743. package/esm2015/components/multi-select-option/multi-select-option.component.js +22 -18
  744. package/esm2015/components/multi-select-option/multi-select-option.module.js +16 -13
  745. package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +1 -1
  746. package/esm2015/components/pagination/index.js +1 -1
  747. package/esm2015/components/pagination/pagination.component.js +64 -60
  748. package/esm2015/components/pagination/pagination.module.js +30 -13
  749. package/esm2015/components/pagination/taiga-ui-kit-components-pagination.js +1 -1
  750. package/esm2015/components/pdf-viewer/index.js +2 -1
  751. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +2 -1
  752. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +38 -30
  753. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +25 -18
  754. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +17 -21
  755. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +11 -12
  756. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +1 -1
  757. package/esm2015/components/progress/index.js +1 -4
  758. package/esm2015/components/progress/progress-bar/progress-bar.component.js +25 -18
  759. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +39 -31
  760. package/esm2015/components/progress/progress-circle/progress-circle.component.js +48 -36
  761. package/esm2015/components/progress/progress-label/progress-label.component.js +15 -13
  762. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +31 -31
  763. package/esm2015/components/progress/progress.module.js +35 -30
  764. package/esm2015/components/progress/taiga-ui-kit-components-progress.js +1 -1
  765. package/esm2015/components/radio/index.js +1 -1
  766. package/esm2015/components/radio/radio-options.js +1 -1
  767. package/esm2015/components/radio/radio.component.js +72 -60
  768. package/esm2015/components/radio/radio.module.js +29 -16
  769. package/esm2015/components/radio/taiga-ui-kit-components-radio.js +1 -1
  770. package/esm2015/components/radio-block/index.js +1 -1
  771. package/esm2015/components/radio-block/radio-block.component.js +76 -61
  772. package/esm2015/components/radio-block/radio-block.module.js +15 -19
  773. package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +1 -1
  774. package/esm2015/components/radio-group/index.js +1 -1
  775. package/esm2015/components/radio-group/radio-group.component.js +17 -14
  776. package/esm2015/components/radio-group/radio-group.module.js +14 -11
  777. package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +1 -1
  778. package/esm2015/components/radio-labeled/index.js +1 -1
  779. package/esm2015/components/radio-labeled/radio-labeled.component.js +64 -56
  780. package/esm2015/components/radio-labeled/radio-labeled.module.js +27 -16
  781. package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +1 -1
  782. package/esm2015/components/radio-list/index.js +1 -1
  783. package/esm2015/components/radio-list/radio-list.component.js +65 -47
  784. package/esm2015/components/radio-list/radio-list.module.js +26 -13
  785. package/esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js +1 -1
  786. package/esm2015/components/range/index.js +1 -1
  787. package/esm2015/components/range/range-change.directive.js +39 -33
  788. package/esm2015/components/range/range.component.js +110 -155
  789. package/esm2015/components/range/range.module.js +17 -22
  790. package/esm2015/components/range/taiga-ui-kit-components-range.js +1 -1
  791. package/esm2015/components/rating/index.js +1 -1
  792. package/esm2015/components/rating/rating-options.js +1 -1
  793. package/esm2015/components/rating/rating.component.js +59 -44
  794. package/esm2015/components/rating/rating.module.js +26 -13
  795. package/esm2015/components/rating/taiga-ui-kit-components-rating.js +1 -1
  796. package/esm2015/components/select/index.js +1 -2
  797. package/esm2015/components/select/select-options.js +1 -1
  798. package/esm2015/components/select/select.component.js +76 -50
  799. package/esm2015/components/select/select.directive.js +15 -19
  800. package/esm2015/components/select/select.module.js +34 -14
  801. package/esm2015/components/select/taiga-ui-kit-components-select.js +1 -1
  802. package/esm2015/components/select-option/index.js +1 -1
  803. package/esm2015/components/select-option/select-option.component.js +40 -33
  804. package/esm2015/components/select-option/select-option.module.js +16 -13
  805. package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +1 -1
  806. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +51 -77
  807. package/esm2015/components/slider/helpers/slider-readonly.directive.js +37 -32
  808. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +22 -19
  809. package/esm2015/components/slider/index.js +1 -2
  810. package/esm2015/components/slider/slider-options.js +1 -1
  811. package/esm2015/components/slider/slider.component.js +75 -60
  812. package/esm2015/components/slider/slider.module.js +32 -37
  813. package/esm2015/components/slider/taiga-ui-kit-components-slider.js +1 -1
  814. package/esm2015/components/stepper/index.js +1 -1
  815. package/esm2015/components/stepper/step/step.component.js +62 -48
  816. package/esm2015/components/stepper/stepper.component.js +48 -34
  817. package/esm2015/components/stepper/stepper.module.js +15 -12
  818. package/esm2015/components/stepper/taiga-ui-kit-components-stepper.js +1 -1
  819. package/esm2015/components/tabs/index.js +1 -2
  820. package/esm2015/components/tabs/tab/tab.component.js +57 -61
  821. package/esm2015/components/tabs/tab/tab.providers.js +10 -12
  822. package/esm2015/components/tabs/tabs/tabs.component.js +81 -77
  823. package/esm2015/components/tabs/tabs-options.js +1 -1
  824. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +79 -59
  825. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +14 -18
  826. package/esm2015/components/tabs/tabs.module.js +46 -26
  827. package/esm2015/components/tabs/taiga-ui-kit-components-tabs.js +1 -1
  828. package/esm2015/components/tabs/underline/underline.component.js +49 -60
  829. package/esm2015/components/tag/index.js +1 -1
  830. package/esm2015/components/tag/tag-options.js +1 -1
  831. package/esm2015/components/tag/tag.component.js +103 -81
  832. package/esm2015/components/tag/tag.module.js +28 -13
  833. package/esm2015/components/tag/taiga-ui-kit-components-tag.js +1 -1
  834. package/esm2015/components/taiga-ui-kit-components.js +1 -1
  835. package/esm2015/components/text-area/index.js +1 -2
  836. package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +1 -1
  837. package/esm2015/components/text-area/text-area.component.js +105 -80
  838. package/esm2015/components/text-area/text-area.directive.js +15 -19
  839. package/esm2015/components/text-area/text-area.module.js +35 -15
  840. package/esm2015/components/toggle/index.js +1 -1
  841. package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +1 -1
  842. package/esm2015/components/toggle/toggle-options.js +1 -1
  843. package/esm2015/components/toggle/toggle.component.js +70 -57
  844. package/esm2015/components/toggle/toggle.module.js +37 -15
  845. package/esm2015/components/tree/components/tree/tree.component.js +51 -41
  846. package/esm2015/components/tree/components/tree-item/tree-item.component.js +41 -34
  847. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +2 -6
  848. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +26 -22
  849. package/esm2015/components/tree/directives/tree-children.directive.js +15 -12
  850. package/esm2015/components/tree/directives/tree-controller.directive.js +41 -28
  851. package/esm2015/components/tree/directives/tree-item-controller.directive.js +27 -18
  852. package/esm2015/components/tree/directives/tree-node.directive.js +24 -20
  853. package/esm2015/components/tree/index.js +2 -1
  854. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  855. package/esm2015/components/tree/misc/tree.interfaces.js +2 -1
  856. package/esm2015/components/tree/misc/tree.service.js +19 -19
  857. package/esm2015/components/tree/misc/tree.tokens.js +1 -1
  858. package/esm2015/components/tree/taiga-ui-kit-components-tree.js +1 -1
  859. package/esm2015/components/tree/tree.module.js +51 -28
  860. package/esm2015/constants/date-time-separator.js +1 -1
  861. package/esm2015/constants/empty-mask.js +1 -1
  862. package/esm2015/constants/group-class-names.js +1 -1
  863. package/esm2015/constants/icon-blank.js +1 -1
  864. package/esm2015/constants/index.js +1 -1
  865. package/esm2015/constants/masks.js +2 -27
  866. package/esm2015/constants/math.js +1 -1
  867. package/esm2015/constants/max-day-range-length-mapper.js +5 -4
  868. package/esm2015/constants/max-time-values.js +1 -1
  869. package/esm2015/constants/router-link-options.js +1 -1
  870. package/esm2015/constants/taiga-ui-kit-constants.js +1 -1
  871. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +100 -0
  872. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +16 -0
  873. package/esm2015/directives/data-list-dropdown-manager/index.js +3 -0
  874. package/esm2015/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.js +5 -0
  875. package/esm2015/directives/highlight/highlight.directive.js +41 -37
  876. package/esm2015/directives/highlight/highlight.module.js +14 -11
  877. package/esm2015/directives/highlight/index.js +1 -1
  878. package/esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js +1 -1
  879. package/esm2015/directives/index.js +2 -4
  880. package/esm2015/directives/lazy-loading/index.js +1 -1
  881. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +35 -32
  882. package/esm2015/directives/lazy-loading/lazy-loading.module.js +14 -11
  883. package/esm2015/directives/lazy-loading/lazy-loading.service.js +21 -18
  884. package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -1
  885. package/esm2015/directives/present/index.js +1 -1
  886. package/esm2015/directives/present/present.directive.js +33 -30
  887. package/esm2015/directives/present/present.module.js +14 -11
  888. package/esm2015/directives/present/taiga-ui-kit-directives-present.js +1 -1
  889. package/esm2015/directives/project-class/index.js +1 -1
  890. package/esm2015/directives/project-class/project-class.directive.js +20 -19
  891. package/esm2015/directives/project-class/project-class.module.js +14 -11
  892. package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +1 -1
  893. package/esm2015/directives/taiga-ui-kit-directives.js +1 -1
  894. package/esm2015/directives/unfinished-validator/index.js +1 -1
  895. package/esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +1 -1
  896. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +31 -24
  897. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +14 -11
  898. package/esm2015/directives/value-accessor/index.js +1 -1
  899. package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +1 -1
  900. package/esm2015/directives/value-accessor/value-accessor.directive.js +13 -11
  901. package/esm2015/directives/value-accessor/value-accessor.module.js +14 -11
  902. package/esm2015/index.js +3 -2
  903. package/esm2015/interfaces/file-like.js +2 -1
  904. package/esm2015/interfaces/index.js +4 -1
  905. package/esm2015/interfaces/mobile-calendar-data.js +2 -1
  906. package/esm2015/interfaces/month-context.js +2 -1
  907. package/esm2015/interfaces/taiga-ui-kit-interfaces.js +2 -1
  908. package/esm2015/internal/index.js +1 -1
  909. package/esm2015/internal/primitive-calendar-range/index.js +1 -1
  910. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +51 -38
  911. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +15 -12
  912. package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  913. package/esm2015/internal/taiga-ui-kit-internal.js +1 -1
  914. package/esm2015/pipes/field-error/field-error-content-pipe.js +17 -17
  915. package/esm2015/pipes/field-error/field-error-pipe.js +53 -36
  916. package/esm2015/pipes/field-error/field-error.module.js +14 -11
  917. package/esm2015/pipes/field-error/index.js +1 -1
  918. package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +1 -1
  919. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +16 -15
  920. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +9 -15
  921. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +14 -11
  922. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +16 -15
  923. package/esm2015/pipes/filter-by-input/index.js +1 -1
  924. package/esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +1 -1
  925. package/esm2015/pipes/index.js +1 -1
  926. package/esm2015/pipes/stringify/index.js +1 -1
  927. package/esm2015/pipes/stringify/stringify.module.js +14 -11
  928. package/esm2015/pipes/stringify/stringify.pipe.js +12 -10
  929. package/esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js +1 -1
  930. package/esm2015/pipes/stringify-content/index.js +1 -1
  931. package/esm2015/pipes/stringify-content/stringify-content.module.js +14 -11
  932. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +12 -10
  933. package/esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +1 -1
  934. package/esm2015/pipes/taiga-ui-kit-pipes.js +1 -1
  935. package/esm2015/providers/index.js +1 -1
  936. package/esm2015/providers/month-formatter.provider.js +8 -13
  937. package/esm2015/providers/specific-dropdown-controllers.js +6 -29
  938. package/esm2015/providers/taiga-ui-kit-providers.js +1 -1
  939. package/esm2015/providers/value-accessor.provider.js +2 -4
  940. package/esm2015/taiga-ui-kit.js +1 -1
  941. package/esm2015/tokens/calendar-date-stream.js +15 -0
  942. package/esm2015/tokens/date-inputs-value-transformers.js +1 -1
  943. package/esm2015/tokens/i18n.js +21 -21
  944. package/esm2015/tokens/index.js +2 -4
  945. package/esm2015/tokens/items-handlers.js +1 -1
  946. package/esm2015/tokens/mobile-calendar.js +1 -1
  947. package/esm2015/tokens/month-formatter.js +1 -1
  948. package/esm2015/tokens/tab-margin.js +1 -1
  949. package/esm2015/tokens/taiga-ui-kit-tokens.js +1 -1
  950. package/esm2015/tokens/validation-errors.js +1 -1
  951. package/esm2015/types/dropdown-position.js +2 -0
  952. package/esm2015/types/file-state.js +2 -0
  953. package/esm2015/types/handler-with-context.js +2 -1
  954. package/esm2015/types/index.js +9 -1
  955. package/esm2015/types/key-steps.js +2 -1
  956. package/esm2015/types/marker-icon-mode.js +2 -1
  957. package/esm2015/types/status.js +2 -1
  958. package/esm2015/types/step-state.js +2 -0
  959. package/esm2015/types/taiga-ui-kit-types.js +2 -1
  960. package/esm2015/types/time-format-parts.js +2 -1
  961. package/esm2015/utils/files/format-size.js +4 -9
  962. package/esm2015/utils/files/get-accept-array.js +2 -7
  963. package/esm2015/utils/files/index.js +1 -1
  964. package/esm2015/utils/files/taiga-ui-kit-utils-files.js +1 -1
  965. package/esm2015/utils/format/index.js +1 -1
  966. package/esm2015/utils/format/string-hash-to-hsl.js +2 -5
  967. package/esm2015/utils/format/taiga-ui-kit-utils-format.js +1 -1
  968. package/esm2015/utils/index.js +1 -2
  969. package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +3 -8
  970. package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +1 -1
  971. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +5 -5
  972. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +1 -1
  973. package/esm2015/utils/mask/create-date-mask.js +1 -1
  974. package/esm2015/utils/mask/create-date-range-mask.js +1 -1
  975. package/esm2015/utils/mask/create-time-mask.js +1 -1
  976. package/esm2015/utils/mask/index.js +1 -1
  977. package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +1 -1
  978. package/esm2015/utils/math/horizontal-direction-to-number.js +1 -1
  979. package/esm2015/utils/math/index.js +1 -1
  980. package/esm2015/utils/math/key-steps.js +3 -6
  981. package/esm2015/utils/math/taiga-ui-kit-utils-math.js +1 -1
  982. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +1 -1
  983. package/esm2015/utils/miscellaneous/create-time-periods.js +1 -1
  984. package/esm2015/utils/miscellaneous/get-precision.js +2 -5
  985. package/esm2015/utils/miscellaneous/index.js +1 -1
  986. package/esm2015/utils/miscellaneous/is-flat.js +2 -7
  987. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +4 -7
  988. package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +1 -1
  989. package/esm2015/utils/taiga-ui-kit-utils.js +1 -1
  990. package/esm2015/validators/index.js +1 -1
  991. package/esm2015/validators/taiga-ui-kit-validators.js +1 -1
  992. package/esm2015/validators/unfinished.validator.js +1 -1
  993. package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
  994. package/fesm2015/taiga-ui-kit-components-accordion.js +176 -126
  995. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  996. package/fesm2015/taiga-ui-kit-components-action.js +73 -55
  997. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  998. package/fesm2015/taiga-ui-kit-components-arrow.js +52 -38
  999. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  1000. package/fesm2015/taiga-ui-kit-components-avatar.js +61 -42
  1001. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  1002. package/fesm2015/taiga-ui-kit-components-badge.js +66 -46
  1003. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  1004. package/fesm2015/taiga-ui-kit-components-badged-content.js +66 -37
  1005. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  1006. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +54 -89
  1007. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  1008. package/fesm2015/taiga-ui-kit-components-calendar-month.js +85 -53
  1009. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  1010. package/fesm2015/taiga-ui-kit-components-calendar-range.js +95 -61
  1011. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  1012. package/fesm2015/taiga-ui-kit-components-carousel.js +212 -159
  1013. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  1014. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +90 -61
  1015. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  1016. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +67 -61
  1017. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  1018. package/fesm2015/taiga-ui-kit-components-checkbox.js +75 -54
  1019. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  1020. package/fesm2015/taiga-ui-kit-components-combo-box.js +156 -126
  1021. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  1022. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +101 -85
  1023. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  1024. package/fesm2015/taiga-ui-kit-components-files.js +122 -81
  1025. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  1026. package/fesm2015/taiga-ui-kit-components-filter.js +83 -55
  1027. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  1028. package/fesm2015/taiga-ui-kit-components-input-copy.js +110 -87
  1029. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  1030. package/fesm2015/taiga-ui-kit-components-input-count.js +130 -106
  1031. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  1032. package/fesm2015/taiga-ui-kit-components-input-date-range.js +162 -126
  1033. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  1034. package/fesm2015/taiga-ui-kit-components-input-date-time.js +143 -112
  1035. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  1036. package/fesm2015/taiga-ui-kit-components-input-date.js +148 -113
  1037. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  1038. package/fesm2015/taiga-ui-kit-components-input-files.js +122 -77
  1039. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  1040. package/fesm2015/taiga-ui-kit-components-input-inline.js +68 -44
  1041. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  1042. package/fesm2015/taiga-ui-kit-components-input-month-range.js +127 -94
  1043. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  1044. package/fesm2015/taiga-ui-kit-components-input-month.js +119 -90
  1045. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  1046. package/fesm2015/taiga-ui-kit-components-input-number.js +120 -93
  1047. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  1048. package/fesm2015/taiga-ui-kit-components-input-password.js +116 -95
  1049. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  1050. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +336 -547
  1051. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  1052. package/fesm2015/taiga-ui-kit-components-input-phone.js +124 -111
  1053. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  1054. package/fesm2015/taiga-ui-kit-components-input-range.js +166 -129
  1055. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  1056. package/fesm2015/taiga-ui-kit-components-input-slider.js +121 -178
  1057. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  1058. package/fesm2015/taiga-ui-kit-components-input-tag.js +208 -167
  1059. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  1060. package/fesm2015/taiga-ui-kit-components-input-time.js +100 -70
  1061. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  1062. package/fesm2015/taiga-ui-kit-components-input.js +87 -89
  1063. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  1064. package/fesm2015/taiga-ui-kit-components-island.js +63 -47
  1065. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  1066. package/fesm2015/taiga-ui-kit-components-line-clamp.js +150 -57
  1067. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  1068. package/fesm2015/taiga-ui-kit-components-marker-icon.js +51 -36
  1069. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  1070. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +35 -26
  1071. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  1072. package/fesm2015/taiga-ui-kit-components-multi-select.js +270 -209
  1073. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  1074. package/fesm2015/taiga-ui-kit-components-pagination.js +91 -68
  1075. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  1076. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +86 -71
  1077. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  1078. package/fesm2015/taiga-ui-kit-components-progress.js +179 -205
  1079. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  1080. package/fesm2015/taiga-ui-kit-components-radio-block.js +87 -73
  1081. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  1082. package/fesm2015/taiga-ui-kit-components-radio-group.js +29 -21
  1083. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  1084. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +86 -65
  1085. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  1086. package/fesm2015/taiga-ui-kit-components-radio-list.js +89 -56
  1087. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  1088. package/fesm2015/taiga-ui-kit-components-radio.js +97 -70
  1089. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  1090. package/fesm2015/taiga-ui-kit-components-range.js +159 -197
  1091. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  1092. package/fesm2015/taiga-ui-kit-components-rating.js +82 -52
  1093. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  1094. package/fesm2015/taiga-ui-kit-components-select-option.js +52 -40
  1095. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  1096. package/fesm2015/taiga-ui-kit-components-select.js +118 -96
  1097. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  1098. package/fesm2015/taiga-ui-kit-components-slider.js +204 -276
  1099. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  1100. package/fesm2015/taiga-ui-kit-components-stepper.js +119 -88
  1101. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  1102. package/fesm2015/taiga-ui-kit-components-tabs.js +327 -318
  1103. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  1104. package/fesm2015/taiga-ui-kit-components-tag.js +131 -92
  1105. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  1106. package/fesm2015/taiga-ui-kit-components-text-area.js +149 -118
  1107. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  1108. package/fesm2015/taiga-ui-kit-components-toggle.js +102 -65
  1109. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  1110. package/fesm2015/taiga-ui-kit-components-tree.js +287 -219
  1111. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  1112. package/fesm2015/taiga-ui-kit-components.js +0 -2
  1113. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  1114. package/fesm2015/taiga-ui-kit-constants.js +6 -30
  1115. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  1116. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +120 -0
  1117. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js.map +1 -0
  1118. package/fesm2015/taiga-ui-kit-directives-highlight.js +52 -43
  1119. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  1120. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +65 -54
  1121. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  1122. package/fesm2015/taiga-ui-kit-directives-present.js +44 -36
  1123. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  1124. package/fesm2015/taiga-ui-kit-directives-project-class.js +31 -25
  1125. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  1126. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +43 -31
  1127. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  1128. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +24 -17
  1129. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  1130. package/fesm2015/taiga-ui-kit-directives.js +1 -3
  1131. package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
  1132. package/fesm2015/taiga-ui-kit-interfaces.js.map +1 -1
  1133. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +63 -45
  1134. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  1135. package/fesm2015/taiga-ui-kit-internal.js.map +1 -1
  1136. package/fesm2015/taiga-ui-kit-pipes-field-error.js +78 -55
  1137. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  1138. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +52 -49
  1139. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1140. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +23 -16
  1141. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1142. package/fesm2015/taiga-ui-kit-pipes-stringify.js +23 -16
  1143. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1144. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  1145. package/fesm2015/taiga-ui-kit-providers.js +14 -43
  1146. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  1147. package/fesm2015/taiga-ui-kit-tokens.js +35 -33
  1148. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  1149. package/fesm2015/taiga-ui-kit-types.js.map +1 -1
  1150. package/fesm2015/taiga-ui-kit-utils-files.js +5 -15
  1151. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  1152. package/fesm2015/taiga-ui-kit-utils-format.js +2 -5
  1153. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  1154. package/fesm2015/taiga-ui-kit-utils-mask.js +6 -11
  1155. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  1156. package/fesm2015/taiga-ui-kit-utils-math.js +3 -6
  1157. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  1158. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +6 -17
  1159. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  1160. package/fesm2015/taiga-ui-kit-utils.js +0 -1
  1161. package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
  1162. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  1163. package/fesm2015/taiga-ui-kit.js +2 -1
  1164. package/fesm2015/taiga-ui-kit.js.map +1 -1
  1165. package/index.d.ts +0 -1
  1166. package/interfaces/index.d.ts +0 -2
  1167. package/interfaces/package.json +2 -5
  1168. package/interfaces/taiga-ui-kit-interfaces.d.ts +1 -0
  1169. package/internal/package.json +2 -5
  1170. package/internal/primitive-calendar-range/package.json +2 -5
  1171. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +3 -0
  1172. package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +7 -0
  1173. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +1 -0
  1174. package/internal/taiga-ui-kit-internal.d.ts +1 -0
  1175. package/package.json +11 -14
  1176. package/pipes/field-error/field-error-content-pipe.d.ts +3 -0
  1177. package/pipes/field-error/field-error-pipe.d.ts +3 -0
  1178. package/pipes/field-error/field-error.module.d.ts +6 -0
  1179. package/pipes/field-error/package.json +2 -5
  1180. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +1 -0
  1181. package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +3 -0
  1182. package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -7
  1183. package/pipes/filter-by-input/filter-by-input.module.d.ts +6 -0
  1184. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +3 -0
  1185. package/pipes/filter-by-input/package.json +2 -5
  1186. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +1 -0
  1187. package/pipes/package.json +2 -5
  1188. package/pipes/stringify/package.json +2 -5
  1189. package/pipes/stringify/stringify.module.d.ts +5 -0
  1190. package/pipes/stringify/stringify.pipe.d.ts +3 -0
  1191. package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +1 -0
  1192. package/pipes/stringify-content/package.json +2 -5
  1193. package/pipes/stringify-content/stringify-content.module.d.ts +5 -0
  1194. package/pipes/stringify-content/stringify-content.pipe.d.ts +3 -0
  1195. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +1 -0
  1196. package/pipes/taiga-ui-kit-pipes.d.ts +1 -0
  1197. package/providers/month-formatter.provider.d.ts +0 -7
  1198. package/providers/package.json +2 -5
  1199. package/providers/specific-dropdown-controllers.d.ts +1 -6
  1200. package/providers/taiga-ui-kit-providers.d.ts +1 -0
  1201. package/providers/value-accessor.provider.d.ts +0 -2
  1202. package/taiga-ui-kit.d.ts +1 -0
  1203. package/tokens/calendar-date-stream.d.ts +5 -0
  1204. package/tokens/index.d.ts +1 -3
  1205. package/tokens/package.json +2 -5
  1206. package/tokens/taiga-ui-kit-tokens.d.ts +1 -0
  1207. package/tokens/validation-errors.d.ts +1 -1
  1208. package/types/dropdown-position.d.ts +1 -0
  1209. package/types/file-state.d.ts +4 -0
  1210. package/types/index.d.ts +3 -0
  1211. package/types/key-steps.d.ts +8 -6
  1212. package/types/marker-icon-mode.d.ts +1 -1
  1213. package/types/package.json +2 -5
  1214. package/types/status.d.ts +1 -1
  1215. package/types/step-state.d.ts +1 -0
  1216. package/types/taiga-ui-kit-types.d.ts +1 -0
  1217. package/utils/files/format-size.d.ts +1 -5
  1218. package/utils/files/get-accept-array.d.ts +1 -5
  1219. package/utils/files/package.json +2 -5
  1220. package/utils/files/taiga-ui-kit-utils-files.d.ts +1 -0
  1221. package/utils/format/package.json +2 -5
  1222. package/utils/format/string-hash-to-hsl.d.ts +1 -3
  1223. package/utils/format/taiga-ui-kit-utils-format.d.ts +1 -0
  1224. package/utils/index.d.ts +0 -1
  1225. package/utils/mask/create-auto-corrected-date-pipe.d.ts +1 -5
  1226. package/utils/mask/package.json +2 -5
  1227. package/utils/mask/taiga-ui-kit-utils-mask.d.ts +1 -0
  1228. package/utils/math/key-steps.d.ts +0 -1
  1229. package/utils/math/package.json +2 -5
  1230. package/utils/math/taiga-ui-kit-utils-math.d.ts +1 -0
  1231. package/utils/miscellaneous/get-precision.d.ts +1 -3
  1232. package/utils/miscellaneous/is-flat.d.ts +1 -5
  1233. package/utils/miscellaneous/package.json +2 -5
  1234. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -4
  1235. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +1 -0
  1236. package/utils/package.json +2 -5
  1237. package/utils/taiga-ui-kit-utils.d.ts +1 -0
  1238. package/validators/package.json +2 -5
  1239. package/validators/taiga-ui-kit-validators.d.ts +1 -0
  1240. package/abstract/index.d.ts +0 -2
  1241. package/abstract/input-slider.d.ts +0 -77
  1242. package/abstract/package.json +0 -13
  1243. package/abstract/slider/slider.d.ts +0 -67
  1244. package/abstract/taiga-ui-kit-abstract.d.ts +0 -4
  1245. package/abstract/taiga-ui-kit-abstract.metadata.json +0 -1
  1246. package/bundles/taiga-ui-kit-abstract.umd.js +0 -750
  1247. package/bundles/taiga-ui-kit-abstract.umd.js.map +0 -1
  1248. package/bundles/taiga-ui-kit-abstract.umd.min.js +0 -2
  1249. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +0 -1
  1250. package/bundles/taiga-ui-kit-classes.umd.min.js +0 -2
  1251. package/bundles/taiga-ui-kit-classes.umd.min.js.map +0 -1
  1252. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +0 -2
  1253. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +0 -1
  1254. package/bundles/taiga-ui-kit-components-action.umd.min.js +0 -2
  1255. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +0 -1
  1256. package/bundles/taiga-ui-kit-components-arrow.umd.min.js +0 -2
  1257. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +0 -1
  1258. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +0 -2
  1259. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +0 -1
  1260. package/bundles/taiga-ui-kit-components-badge.umd.min.js +0 -2
  1261. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +0 -1
  1262. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +0 -2
  1263. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +0 -1
  1264. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +0 -2
  1265. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +0 -1
  1266. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +0 -2
  1267. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +0 -1
  1268. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +0 -2
  1269. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +0 -1
  1270. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +0 -2
  1271. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +0 -1
  1272. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +0 -2
  1273. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +0 -1
  1274. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +0 -2
  1275. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +0 -1
  1276. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +0 -2
  1277. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +0 -1
  1278. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +0 -2
  1279. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +0 -1
  1280. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +0 -2
  1281. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +0 -1
  1282. package/bundles/taiga-ui-kit-components-field-error.umd.js +0 -435
  1283. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +0 -1
  1284. package/bundles/taiga-ui-kit-components-field-error.umd.min.js +0 -2
  1285. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +0 -1
  1286. package/bundles/taiga-ui-kit-components-files.umd.min.js +0 -2
  1287. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +0 -1
  1288. package/bundles/taiga-ui-kit-components-filter.umd.min.js +0 -2
  1289. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +0 -1
  1290. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +0 -2
  1291. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +0 -1
  1292. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +0 -2
  1293. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +0 -1
  1294. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +0 -2
  1295. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +0 -1
  1296. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +0 -2
  1297. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +0 -1
  1298. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +0 -2
  1299. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +0 -1
  1300. package/bundles/taiga-ui-kit-components-input-file.umd.js +0 -779
  1301. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +0 -1
  1302. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +0 -2
  1303. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +0 -1
  1304. package/bundles/taiga-ui-kit-components-input-files.umd.min.js +0 -2
  1305. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +0 -1
  1306. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +0 -2
  1307. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +0 -1
  1308. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +0 -2
  1309. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +0 -1
  1310. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +0 -2
  1311. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +0 -1
  1312. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +0 -2
  1313. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +0 -1
  1314. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +0 -2
  1315. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +0 -1
  1316. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +0 -2
  1317. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +0 -1
  1318. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +0 -2
  1319. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +0 -1
  1320. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +0 -2
  1321. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +0 -1
  1322. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +0 -2
  1323. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +0 -1
  1324. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +0 -2
  1325. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +0 -1
  1326. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +0 -2
  1327. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +0 -1
  1328. package/bundles/taiga-ui-kit-components-input.umd.min.js +0 -2
  1329. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +0 -1
  1330. package/bundles/taiga-ui-kit-components-island.umd.min.js +0 -2
  1331. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +0 -1
  1332. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +0 -2
  1333. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +0 -1
  1334. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +0 -2
  1335. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +0 -1
  1336. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +0 -2
  1337. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +0 -1
  1338. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +0 -2
  1339. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +0 -1
  1340. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +0 -2
  1341. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +0 -1
  1342. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +0 -2
  1343. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +0 -1
  1344. package/bundles/taiga-ui-kit-components-progress.umd.min.js +0 -2
  1345. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +0 -1
  1346. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +0 -2
  1347. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +0 -1
  1348. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js +0 -2
  1349. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +0 -1
  1350. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +0 -2
  1351. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +0 -1
  1352. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +0 -2
  1353. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +0 -1
  1354. package/bundles/taiga-ui-kit-components-radio.umd.min.js +0 -2
  1355. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +0 -1
  1356. package/bundles/taiga-ui-kit-components-range.umd.min.js +0 -2
  1357. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +0 -1
  1358. package/bundles/taiga-ui-kit-components-rating.umd.min.js +0 -2
  1359. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +0 -1
  1360. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +0 -2
  1361. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +0 -1
  1362. package/bundles/taiga-ui-kit-components-select.umd.min.js +0 -2
  1363. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +0 -1
  1364. package/bundles/taiga-ui-kit-components-slider.umd.min.js +0 -2
  1365. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +0 -1
  1366. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +0 -2
  1367. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +0 -1
  1368. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +0 -2
  1369. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +0 -1
  1370. package/bundles/taiga-ui-kit-components-tag.umd.min.js +0 -2
  1371. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +0 -1
  1372. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +0 -2
  1373. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +0 -1
  1374. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +0 -2
  1375. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +0 -1
  1376. package/bundles/taiga-ui-kit-components-tree.umd.min.js +0 -2
  1377. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +0 -1
  1378. package/bundles/taiga-ui-kit-components.umd.min.js +0 -2
  1379. package/bundles/taiga-ui-kit-components.umd.min.js.map +0 -1
  1380. package/bundles/taiga-ui-kit-constants.umd.min.js +0 -2
  1381. package/bundles/taiga-ui-kit-constants.umd.min.js.map +0 -1
  1382. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +0 -408
  1383. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +0 -1
  1384. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +0 -2
  1385. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +0 -1
  1386. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +0 -323
  1387. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +0 -1
  1388. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js +0 -2
  1389. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +0 -1
  1390. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +0 -514
  1391. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +0 -1
  1392. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +0 -2
  1393. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +0 -1
  1394. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +0 -2
  1395. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +0 -1
  1396. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +0 -2
  1397. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +0 -1
  1398. package/bundles/taiga-ui-kit-directives-present.umd.min.js +0 -2
  1399. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +0 -1
  1400. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js +0 -2
  1401. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +0 -1
  1402. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js +0 -2
  1403. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +0 -1
  1404. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js +0 -2
  1405. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +0 -1
  1406. package/bundles/taiga-ui-kit-directives.umd.min.js +0 -2
  1407. package/bundles/taiga-ui-kit-directives.umd.min.js.map +0 -1
  1408. package/bundles/taiga-ui-kit-enums.umd.js +0 -88
  1409. package/bundles/taiga-ui-kit-enums.umd.js.map +0 -1
  1410. package/bundles/taiga-ui-kit-enums.umd.min.js +0 -2
  1411. package/bundles/taiga-ui-kit-enums.umd.min.js.map +0 -1
  1412. package/bundles/taiga-ui-kit-interfaces.umd.min.js +0 -2
  1413. package/bundles/taiga-ui-kit-interfaces.umd.min.js.map +0 -1
  1414. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +0 -2
  1415. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +0 -1
  1416. package/bundles/taiga-ui-kit-internal.umd.min.js +0 -2
  1417. package/bundles/taiga-ui-kit-internal.umd.min.js.map +0 -1
  1418. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +0 -2
  1419. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +0 -1
  1420. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +0 -2
  1421. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +0 -1
  1422. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js +0 -2
  1423. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +0 -1
  1424. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js +0 -2
  1425. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +0 -1
  1426. package/bundles/taiga-ui-kit-pipes.umd.min.js +0 -2
  1427. package/bundles/taiga-ui-kit-pipes.umd.min.js.map +0 -1
  1428. package/bundles/taiga-ui-kit-providers.umd.min.js +0 -2
  1429. package/bundles/taiga-ui-kit-providers.umd.min.js.map +0 -1
  1430. package/bundles/taiga-ui-kit-tokens.umd.min.js +0 -2
  1431. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +0 -1
  1432. package/bundles/taiga-ui-kit-types.umd.min.js +0 -2
  1433. package/bundles/taiga-ui-kit-types.umd.min.js.map +0 -1
  1434. package/bundles/taiga-ui-kit-utils-dom.umd.js +0 -122
  1435. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +0 -1
  1436. package/bundles/taiga-ui-kit-utils-dom.umd.min.js +0 -2
  1437. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +0 -1
  1438. package/bundles/taiga-ui-kit-utils-files.umd.min.js +0 -2
  1439. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +0 -1
  1440. package/bundles/taiga-ui-kit-utils-format.umd.min.js +0 -2
  1441. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +0 -1
  1442. package/bundles/taiga-ui-kit-utils-mask.umd.min.js +0 -2
  1443. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +0 -1
  1444. package/bundles/taiga-ui-kit-utils-math.umd.min.js +0 -2
  1445. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +0 -1
  1446. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +0 -2
  1447. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +0 -1
  1448. package/bundles/taiga-ui-kit-utils.umd.min.js +0 -2
  1449. package/bundles/taiga-ui-kit-utils.umd.min.js.map +0 -1
  1450. package/bundles/taiga-ui-kit-validators.umd.min.js +0 -2
  1451. package/bundles/taiga-ui-kit-validators.umd.min.js.map +0 -1
  1452. package/bundles/taiga-ui-kit.umd.min.js +0 -2
  1453. package/bundles/taiga-ui-kit.umd.min.js.map +0 -1
  1454. package/classes/taiga-ui-kit-classes.metadata.json +0 -1
  1455. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +0 -1
  1456. package/components/action/taiga-ui-kit-components-action.metadata.json +0 -1
  1457. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +0 -1
  1458. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +0 -1
  1459. package/components/badge/taiga-ui-kit-components-badge.metadata.json +0 -1
  1460. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +0 -1
  1461. package/components/breadcrumbs/breadcrumb.directive.d.ts +0 -2
  1462. package/components/breadcrumbs/breadcrumbs-wrapper.component.d.ts +0 -10
  1463. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +0 -1
  1464. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +0 -1
  1465. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +0 -1
  1466. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +0 -1
  1467. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +0 -1
  1468. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +0 -1
  1469. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +0 -1
  1470. package/components/combo-box/combo-box.providers.d.ts +0 -2
  1471. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +0 -1
  1472. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +0 -1
  1473. package/components/field-error/field-error.component.d.ts +0 -27
  1474. package/components/field-error/field-error.module.d.ts +0 -5
  1475. package/components/field-error/index.d.ts +0 -2
  1476. package/components/field-error/package.json +0 -13
  1477. package/components/field-error/taiga-ui-kit-components-field-error.d.ts +0 -4
  1478. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +0 -1
  1479. package/components/files/taiga-ui-kit-components-files.metadata.json +0 -1
  1480. package/components/filter/taiga-ui-kit-components-filter.metadata.json +0 -1
  1481. package/components/input/input.providers.d.ts +0 -1
  1482. package/components/input/taiga-ui-kit-components-input.metadata.json +0 -1
  1483. package/components/input-copy/input-copy.providers.d.ts +0 -2
  1484. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +0 -1
  1485. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +0 -1
  1486. package/components/input-date/input-date.providers.d.ts +0 -5
  1487. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +0 -1
  1488. package/components/input-date-range/input-date-range.providers.d.ts +0 -5
  1489. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +0 -1
  1490. package/components/input-date-time/input-date-time.providers.d.ts +0 -5
  1491. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +0 -1
  1492. package/components/input-file/file/file.component.d.ts +0 -37
  1493. package/components/input-file/index.d.ts +0 -3
  1494. package/components/input-file/input-file.component.d.ts +0 -54
  1495. package/components/input-file/input-file.module.d.ts +0 -2
  1496. package/components/input-file/package.json +0 -13
  1497. package/components/input-file/taiga-ui-kit-components-input-file.d.ts +0 -4
  1498. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +0 -1
  1499. package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +0 -1
  1500. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +0 -1
  1501. package/components/input-month/input-month.providers.d.ts +0 -2
  1502. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +0 -1
  1503. package/components/input-month-range/input-month-range.providers.d.ts +0 -2
  1504. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +0 -1
  1505. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +0 -1
  1506. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +0 -1
  1507. package/components/input-phone/input-phone.providers.d.ts +0 -5
  1508. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +0 -1
  1509. package/components/input-phone-international/const/countries.d.ts +0 -26
  1510. package/components/input-phone-international/country-iso-code.d.ts +0 -207
  1511. package/components/input-phone-international/interfaces/country.d.ts +0 -7
  1512. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +0 -1
  1513. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +0 -1
  1514. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +0 -1
  1515. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +0 -1
  1516. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +0 -1
  1517. package/components/island/taiga-ui-kit-components-island.metadata.json +0 -1
  1518. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +0 -1
  1519. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +0 -1
  1520. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +0 -1
  1521. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +0 -1
  1522. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +0 -1
  1523. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +0 -1
  1524. package/components/progress/taiga-ui-kit-components-progress.metadata.json +0 -1
  1525. package/components/progress/utils/abstract-color-segments.d.ts +0 -9
  1526. package/components/progress/utils/calculate-color-segments.d.ts +0 -1
  1527. package/components/progress/utils/progress-color-segments-async.pipe.d.ts +0 -10
  1528. package/components/progress/utils/progress-color-segments.pipe.d.ts +0 -9
  1529. package/components/radio/taiga-ui-kit-components-radio.metadata.json +0 -1
  1530. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +0 -1
  1531. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +0 -1
  1532. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +0 -1
  1533. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +0 -1
  1534. package/components/range/taiga-ui-kit-components-range.metadata.json +0 -1
  1535. package/components/rating/taiga-ui-kit-components-rating.metadata.json +0 -1
  1536. package/components/select/select.providers.d.ts +0 -2
  1537. package/components/select/taiga-ui-kit-components-select.metadata.json +0 -1
  1538. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +0 -1
  1539. package/components/slider/slider-old.component.d.ts +0 -21
  1540. package/components/slider/taiga-ui-kit-components-slider.metadata.json +0 -1
  1541. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +0 -1
  1542. package/components/tabs/tab.directive.d.ts +0 -5
  1543. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +0 -1
  1544. package/components/tag/taiga-ui-kit-components-tag.metadata.json +0 -1
  1545. package/components/taiga-ui-kit-components.metadata.json +0 -1
  1546. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +0 -1
  1547. package/components/text-area/text-area.providers.d.ts +0 -2
  1548. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +0 -1
  1549. package/components/tree/taiga-ui-kit-components-tree.metadata.json +0 -1
  1550. package/constants/taiga-ui-kit-constants.metadata.json +0 -1
  1551. package/directives/dropdown-context/dropdown-context.directive.d.ts +0 -27
  1552. package/directives/dropdown-context/dropdown-context.module.d.ts +0 -2
  1553. package/directives/dropdown-context/index.d.ts +0 -2
  1554. package/directives/dropdown-context/package.json +0 -13
  1555. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.d.ts +0 -4
  1556. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +0 -1
  1557. package/directives/dropdown-hover/dropdown-hover.directive.d.ts +0 -8
  1558. package/directives/dropdown-hover/dropdown-hover.module.d.ts +0 -2
  1559. package/directives/dropdown-hover/index.d.ts +0 -2
  1560. package/directives/dropdown-hover/package.json +0 -13
  1561. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.d.ts +0 -4
  1562. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +0 -1
  1563. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +0 -43
  1564. package/directives/dropdown-selection/dropdown-selection.module.d.ts +0 -2
  1565. package/directives/dropdown-selection/index.d.ts +0 -2
  1566. package/directives/dropdown-selection/package.json +0 -13
  1567. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.d.ts +0 -4
  1568. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +0 -1
  1569. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +0 -1
  1570. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +0 -1
  1571. package/directives/present/taiga-ui-kit-directives-present.metadata.json +0 -1
  1572. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +0 -1
  1573. package/directives/taiga-ui-kit-directives.metadata.json +0 -1
  1574. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +0 -1
  1575. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +0 -1
  1576. package/enums/borders.d.ts +0 -7
  1577. package/enums/dropdown-position.d.ts +0 -9
  1578. package/enums/file-state.d.ts +0 -10
  1579. package/enums/index.d.ts +0 -7
  1580. package/enums/marker-icon-mode.d.ts +0 -13
  1581. package/enums/package.json +0 -13
  1582. package/enums/status.d.ts +0 -11
  1583. package/enums/step-state.d.ts +0 -9
  1584. package/enums/taiga-ui-kit-enums.d.ts +0 -4
  1585. package/enums/taiga-ui-kit-enums.metadata.json +0 -1
  1586. package/enums/text-align.d.ts +0 -8
  1587. package/esm2015/abstract/index.js +0 -3
  1588. package/esm2015/abstract/input-slider.js +0 -171
  1589. package/esm2015/abstract/slider/slider.js +0 -262
  1590. package/esm2015/abstract/taiga-ui-kit-abstract.js +0 -5
  1591. package/esm2015/components/breadcrumbs/breadcrumb.directive.js +0 -11
  1592. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -40
  1593. package/esm2015/components/combo-box/combo-box.providers.js +0 -28
  1594. package/esm2015/components/field-error/field-error.component.js +0 -132
  1595. package/esm2015/components/field-error/field-error.module.js +0 -20
  1596. package/esm2015/components/field-error/index.js +0 -3
  1597. package/esm2015/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1598. package/esm2015/components/input/input.providers.js +0 -22
  1599. package/esm2015/components/input-copy/input-copy.providers.js +0 -16
  1600. package/esm2015/components/input-date/input-date.providers.js +0 -29
  1601. package/esm2015/components/input-date-range/input-date-range.providers.js +0 -29
  1602. package/esm2015/components/input-date-time/input-date-time.providers.js +0 -29
  1603. package/esm2015/components/input-file/file/file.component.js +0 -149
  1604. package/esm2015/components/input-file/index.js +0 -4
  1605. package/esm2015/components/input-file/input-file.component.js +0 -264
  1606. package/esm2015/components/input-file/input-file.module.js +0 -36
  1607. package/esm2015/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1608. package/esm2015/components/input-month/input-month.providers.js +0 -19
  1609. package/esm2015/components/input-month-range/input-month-range.providers.js +0 -19
  1610. package/esm2015/components/input-phone/input-phone.providers.js +0 -35
  1611. package/esm2015/components/input-phone-international/const/countries.js +0 -257
  1612. package/esm2015/components/input-phone-international/country-iso-code.js +0 -209
  1613. package/esm2015/components/input-phone-international/interfaces/country.js +0 -1
  1614. package/esm2015/components/progress/utils/abstract-color-segments.js +0 -32
  1615. package/esm2015/components/progress/utils/calculate-color-segments.js +0 -11
  1616. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +0 -21
  1617. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +0 -19
  1618. package/esm2015/components/select/select.providers.js +0 -28
  1619. package/esm2015/components/slider/slider-old.component.js +0 -77
  1620. package/esm2015/components/tabs/tab.directive.js +0 -18
  1621. package/esm2015/components/text-area/text-area.providers.js +0 -18
  1622. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +0 -125
  1623. package/esm2015/directives/dropdown-context/dropdown-context.module.js +0 -15
  1624. package/esm2015/directives/dropdown-context/index.js +0 -3
  1625. package/esm2015/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
  1626. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +0 -50
  1627. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +0 -13
  1628. package/esm2015/directives/dropdown-hover/index.js +0 -3
  1629. package/esm2015/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
  1630. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +0 -231
  1631. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +0 -15
  1632. package/esm2015/directives/dropdown-selection/index.js +0 -3
  1633. package/esm2015/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
  1634. package/esm2015/enums/borders.js +0 -9
  1635. package/esm2015/enums/dropdown-position.js +0 -10
  1636. package/esm2015/enums/file-state.js +0 -11
  1637. package/esm2015/enums/index.js +0 -8
  1638. package/esm2015/enums/marker-icon-mode.js +0 -15
  1639. package/esm2015/enums/status.js +0 -13
  1640. package/esm2015/enums/step-state.js +0 -10
  1641. package/esm2015/enums/taiga-ui-kit-enums.js +0 -5
  1642. package/esm2015/enums/text-align.js +0 -10
  1643. package/esm2015/interfaces/bread-crumbs-item.js +0 -1
  1644. package/esm2015/interfaces/with-date-mask-pipe-config.js +0 -1
  1645. package/esm2015/tokens/calendar-data-stream.js +0 -3
  1646. package/esm2015/tokens/mobile-aware.js +0 -6
  1647. package/esm2015/tokens/tag-status.js +0 -6
  1648. package/esm2015/utils/dom/get-word-range.js +0 -53
  1649. package/esm2015/utils/dom/index.js +0 -4
  1650. package/esm2015/utils/dom/scroll-to-element.js +0 -23
  1651. package/esm2015/utils/dom/set-range-offset.js +0 -29
  1652. package/esm2015/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
  1653. package/esm5/abstract/index.js +0 -3
  1654. package/esm5/abstract/input-slider.js +0 -202
  1655. package/esm5/abstract/slider/slider.js +0 -298
  1656. package/esm5/abstract/taiga-ui-kit-abstract.js +0 -5
  1657. package/esm5/classes/day-range-period.js +0 -12
  1658. package/esm5/classes/index.js +0 -4
  1659. package/esm5/classes/named-day.js +0 -14
  1660. package/esm5/classes/stringifiable-item.js +0 -15
  1661. package/esm5/classes/taiga-ui-kit-classes.js +0 -5
  1662. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +0 -24
  1663. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +0 -14
  1664. package/esm5/components/accordion/accordion-item/accordion-item.component.js +0 -160
  1665. package/esm5/components/accordion/accordion.component.js +0 -62
  1666. package/esm5/components/accordion/accordion.module.js +0 -44
  1667. package/esm5/components/accordion/index.js +0 -6
  1668. package/esm5/components/accordion/taiga-ui-kit-components-accordion.js +0 -5
  1669. package/esm5/components/action/action.component.js +0 -89
  1670. package/esm5/components/action/action.module.js +0 -27
  1671. package/esm5/components/action/index.js +0 -3
  1672. package/esm5/components/action/taiga-ui-kit-components-action.js +0 -5
  1673. package/esm5/components/arrow/arrow-options.js +0 -29
  1674. package/esm5/components/arrow/arrow.component.js +0 -41
  1675. package/esm5/components/arrow/arrow.module.js +0 -21
  1676. package/esm5/components/arrow/index.js +0 -4
  1677. package/esm5/components/arrow/taiga-ui-kit-components-arrow.js +0 -5
  1678. package/esm5/components/avatar/avatar-options.js +0 -16
  1679. package/esm5/components/avatar/avatar.component.js +0 -98
  1680. package/esm5/components/avatar/avatar.module.js +0 -19
  1681. package/esm5/components/avatar/index.js +0 -4
  1682. package/esm5/components/avatar/taiga-ui-kit-components-avatar.js +0 -5
  1683. package/esm5/components/badge/badge.component.js +0 -87
  1684. package/esm5/components/badge/badge.module.js +0 -18
  1685. package/esm5/components/badge/index.js +0 -3
  1686. package/esm5/components/badge/taiga-ui-kit-components-badge.js +0 -5
  1687. package/esm5/components/badged-content/badged-content.component.js +0 -106
  1688. package/esm5/components/badged-content/badged-content.module.js +0 -21
  1689. package/esm5/components/badged-content/index.js +0 -3
  1690. package/esm5/components/badged-content/taiga-ui-kit-components-badged-content.js +0 -5
  1691. package/esm5/components/breadcrumbs/breadcrumb.directive.js +0 -14
  1692. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -42
  1693. package/esm5/components/breadcrumbs/breadcrumbs.component.js +0 -35
  1694. package/esm5/components/breadcrumbs/breadcrumbs.module.js +0 -39
  1695. package/esm5/components/breadcrumbs/index.js +0 -5
  1696. package/esm5/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +0 -5
  1697. package/esm5/components/calendar-month/calendar-month.component.js +0 -213
  1698. package/esm5/components/calendar-month/calendar-month.module.js +0 -30
  1699. package/esm5/components/calendar-month/index.js +0 -3
  1700. package/esm5/components/calendar-month/taiga-ui-kit-components-calendar-month.js +0 -5
  1701. package/esm5/components/calendar-range/calendar-range.component.js +0 -181
  1702. package/esm5/components/calendar-range/calendar-range.module.js +0 -30
  1703. package/esm5/components/calendar-range/index.js +0 -3
  1704. package/esm5/components/calendar-range/taiga-ui-kit-components-calendar-range.js +0 -5
  1705. package/esm5/components/carousel/carousel-autoscroll.directive.js +0 -22
  1706. package/esm5/components/carousel/carousel-buttons.directive.js +0 -27
  1707. package/esm5/components/carousel/carousel-scroll.directive.js +0 -35
  1708. package/esm5/components/carousel/carousel.component.js +0 -158
  1709. package/esm5/components/carousel/carousel.directive.js +0 -45
  1710. package/esm5/components/carousel/carousel.module.js +0 -41
  1711. package/esm5/components/carousel/index.js +0 -7
  1712. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +0 -5
  1713. package/esm5/components/checkbox/checkbox.component.js +0 -89
  1714. package/esm5/components/checkbox/checkbox.module.js +0 -29
  1715. package/esm5/components/checkbox/index.js +0 -3
  1716. package/esm5/components/checkbox/taiga-ui-kit-components-checkbox.js +0 -5
  1717. package/esm5/components/checkbox-block/checkbox-block.component.js +0 -123
  1718. package/esm5/components/checkbox-block/checkbox-block.module.js +0 -27
  1719. package/esm5/components/checkbox-block/index.js +0 -3
  1720. package/esm5/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +0 -5
  1721. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +0 -89
  1722. package/esm5/components/checkbox-labeled/checkbox-labeled.module.js +0 -27
  1723. package/esm5/components/checkbox-labeled/index.js +0 -3
  1724. package/esm5/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +0 -5
  1725. package/esm5/components/combo-box/combo-box-strict.directive.js +0 -34
  1726. package/esm5/components/combo-box/combo-box.component.js +0 -212
  1727. package/esm5/components/combo-box/combo-box.directive.js +0 -35
  1728. package/esm5/components/combo-box/combo-box.module.js +0 -42
  1729. package/esm5/components/combo-box/combo-box.providers.js +0 -28
  1730. package/esm5/components/combo-box/index.js +0 -6
  1731. package/esm5/components/combo-box/taiga-ui-kit-components-combo-box.js +0 -5
  1732. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +0 -46
  1733. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +0 -41
  1734. package/esm5/components/data-list-wrapper/data-list-wrapper.js +0 -64
  1735. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +0 -32
  1736. package/esm5/components/data-list-wrapper/index.js +0 -5
  1737. package/esm5/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +0 -5
  1738. package/esm5/components/field-error/field-error.component.js +0 -165
  1739. package/esm5/components/field-error/field-error.module.js +0 -23
  1740. package/esm5/components/field-error/index.js +0 -3
  1741. package/esm5/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1742. package/esm5/components/files/file/file.component.js +0 -213
  1743. package/esm5/components/files/files.component.js +0 -50
  1744. package/esm5/components/files/files.module.js +0 -32
  1745. package/esm5/components/files/index.js +0 -4
  1746. package/esm5/components/files/taiga-ui-kit-components-files.js +0 -5
  1747. package/esm5/components/filter/filter.component.js +0 -97
  1748. package/esm5/components/filter/filter.module.js +0 -30
  1749. package/esm5/components/filter/index.js +0 -3
  1750. package/esm5/components/filter/taiga-ui-kit-components-filter.js +0 -5
  1751. package/esm5/components/index.js +0 -62
  1752. package/esm5/components/input/index.js +0 -5
  1753. package/esm5/components/input/input.component.js +0 -108
  1754. package/esm5/components/input/input.directive.js +0 -28
  1755. package/esm5/components/input/input.module.js +0 -26
  1756. package/esm5/components/input/input.providers.js +0 -22
  1757. package/esm5/components/input/taiga-ui-kit-components-input.js +0 -5
  1758. package/esm5/components/input-copy/index.js +0 -5
  1759. package/esm5/components/input-copy/input-copy.component.js +0 -137
  1760. package/esm5/components/input-copy/input-copy.directive.js +0 -28
  1761. package/esm5/components/input-copy/input-copy.module.js +0 -28
  1762. package/esm5/components/input-copy/input-copy.providers.js +0 -16
  1763. package/esm5/components/input-copy/taiga-ui-kit-components-input-copy.js +0 -5
  1764. package/esm5/components/input-count/index.js +0 -5
  1765. package/esm5/components/input-count/input-count-options.js +0 -26
  1766. package/esm5/components/input-count/input-count.component.js +0 -295
  1767. package/esm5/components/input-count/input-count.directive.js +0 -32
  1768. package/esm5/components/input-count/input-count.module.js +0 -31
  1769. package/esm5/components/input-count/taiga-ui-kit-components-input-count.js +0 -5
  1770. package/esm5/components/input-date/index.js +0 -5
  1771. package/esm5/components/input-date/input-date.component.js +0 -271
  1772. package/esm5/components/input-date/input-date.directive.js +0 -38
  1773. package/esm5/components/input-date/input-date.module.js +0 -37
  1774. package/esm5/components/input-date/input-date.providers.js +0 -31
  1775. package/esm5/components/input-date/taiga-ui-kit-components-input-date.js +0 -5
  1776. package/esm5/components/input-date-range/index.js +0 -5
  1777. package/esm5/components/input-date-range/input-date-range.component.js +0 -354
  1778. package/esm5/components/input-date-range/input-date-range.directive.js +0 -38
  1779. package/esm5/components/input-date-range/input-date-range.module.js +0 -41
  1780. package/esm5/components/input-date-range/input-date-range.providers.js +0 -31
  1781. package/esm5/components/input-date-range/taiga-ui-kit-components-input-date-range.js +0 -5
  1782. package/esm5/components/input-date-time/index.js +0 -5
  1783. package/esm5/components/input-date-time/input-date-time.component.js +0 -304
  1784. package/esm5/components/input-date-time/input-date-time.directive.js +0 -38
  1785. package/esm5/components/input-date-time/input-date-time.module.js +0 -40
  1786. package/esm5/components/input-date-time/input-date-time.providers.js +0 -31
  1787. package/esm5/components/input-date-time/taiga-ui-kit-components-input-date-time.js +0 -5
  1788. package/esm5/components/input-file/file/file.component.js +0 -194
  1789. package/esm5/components/input-file/index.js +0 -4
  1790. package/esm5/components/input-file/input-file.component.js +0 -311
  1791. package/esm5/components/input-file/input-file.module.js +0 -39
  1792. package/esm5/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1793. package/esm5/components/input-files/index.js +0 -3
  1794. package/esm5/components/input-files/input-files.component.js +0 -247
  1795. package/esm5/components/input-files/input-files.module.js +0 -44
  1796. package/esm5/components/input-files/taiga-ui-kit-components-input-files.js +0 -5
  1797. package/esm5/components/input-inline/index.js +0 -3
  1798. package/esm5/components/input-inline/input-inline.component.js +0 -78
  1799. package/esm5/components/input-inline/input-inline.module.js +0 -27
  1800. package/esm5/components/input-inline/taiga-ui-kit-components-input-inline.js +0 -5
  1801. package/esm5/components/input-month/index.js +0 -5
  1802. package/esm5/components/input-month/input-month.component.js +0 -117
  1803. package/esm5/components/input-month/input-month.directive.js +0 -67
  1804. package/esm5/components/input-month/input-month.module.js +0 -30
  1805. package/esm5/components/input-month/input-month.providers.js +0 -19
  1806. package/esm5/components/input-month/taiga-ui-kit-components-input-month.js +0 -5
  1807. package/esm5/components/input-month-range/index.js +0 -5
  1808. package/esm5/components/input-month-range/input-month-range.component.js +0 -125
  1809. package/esm5/components/input-month-range/input-month-range.directive.js +0 -74
  1810. package/esm5/components/input-month-range/input-month-range.module.js +0 -35
  1811. package/esm5/components/input-month-range/input-month-range.providers.js +0 -19
  1812. package/esm5/components/input-month-range/taiga-ui-kit-components-input-month-range.js +0 -5
  1813. package/esm5/components/input-number/index.js +0 -4
  1814. package/esm5/components/input-number/input-number.component.js +0 -294
  1815. package/esm5/components/input-number/input-number.directive.js +0 -45
  1816. package/esm5/components/input-number/input-number.module.js +0 -32
  1817. package/esm5/components/input-number/taiga-ui-kit-components-input-number.js +0 -5
  1818. package/esm5/components/input-password/index.js +0 -5
  1819. package/esm5/components/input-password/input-password-options.js +0 -26
  1820. package/esm5/components/input-password/input-password.component.js +0 -137
  1821. package/esm5/components/input-password/input-password.directive.js +0 -36
  1822. package/esm5/components/input-password/input-password.module.js +0 -34
  1823. package/esm5/components/input-password/taiga-ui-kit-components-input-password.js +0 -5
  1824. package/esm5/components/input-phone/index.js +0 -6
  1825. package/esm5/components/input-phone/input-phone.component.js +0 -300
  1826. package/esm5/components/input-phone/input-phone.directive.js +0 -45
  1827. package/esm5/components/input-phone/input-phone.module.js +0 -29
  1828. package/esm5/components/input-phone/input-phone.options.js +0 -15
  1829. package/esm5/components/input-phone/input-phone.providers.js +0 -35
  1830. package/esm5/components/input-phone/taiga-ui-kit-components-input-phone.js +0 -5
  1831. package/esm5/components/input-phone-international/const/countries.js +0 -260
  1832. package/esm5/components/input-phone-international/country-iso-code.js +0 -209
  1833. package/esm5/components/input-phone-international/index.js +0 -8
  1834. package/esm5/components/input-phone-international/input-phone-international.component.js +0 -215
  1835. package/esm5/components/input-phone-international/input-phone-international.module.js +0 -40
  1836. package/esm5/components/input-phone-international/input-phone-international.options.js +0 -15
  1837. package/esm5/components/input-phone-international/interfaces/country.js +0 -1
  1838. package/esm5/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +0 -5
  1839. package/esm5/components/input-phone-international/tokens/countries-masks.js +0 -6
  1840. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +0 -14
  1841. package/esm5/components/input-range/index.js +0 -3
  1842. package/esm5/components/input-range/input-range.component.js +0 -316
  1843. package/esm5/components/input-range/input-range.module.js +0 -35
  1844. package/esm5/components/input-range/taiga-ui-kit-components-input-range.js +0 -5
  1845. package/esm5/components/input-slider/index.js +0 -3
  1846. package/esm5/components/input-slider/input-slider.component.js +0 -306
  1847. package/esm5/components/input-slider/input-slider.module.js +0 -35
  1848. package/esm5/components/input-slider/taiga-ui-kit-components-input-slider.js +0 -5
  1849. package/esm5/components/input-tag/index.js +0 -4
  1850. package/esm5/components/input-tag/input-tag-options.js +0 -9
  1851. package/esm5/components/input-tag/input-tag.component.js +0 -521
  1852. package/esm5/components/input-tag/input-tag.module.js +0 -37
  1853. package/esm5/components/input-tag/taiga-ui-kit-components-input-tag.js +0 -5
  1854. package/esm5/components/input-time/index.js +0 -4
  1855. package/esm5/components/input-time/input-time-options.js +0 -23
  1856. package/esm5/components/input-time/input-time.component.js +0 -303
  1857. package/esm5/components/input-time/input-time.module.js +0 -29
  1858. package/esm5/components/input-time/taiga-ui-kit-components-input-time.js +0 -5
  1859. package/esm5/components/island/index.js +0 -3
  1860. package/esm5/components/island/island.component.js +0 -103
  1861. package/esm5/components/island/island.module.js +0 -18
  1862. package/esm5/components/island/taiga-ui-kit-components-island.js +0 -5
  1863. package/esm5/components/line-clamp/index.js +0 -4
  1864. package/esm5/components/line-clamp/line-clamp-options.js +0 -13
  1865. package/esm5/components/line-clamp/line-clamp.component.js +0 -148
  1866. package/esm5/components/line-clamp/line-clamp.module.js +0 -27
  1867. package/esm5/components/line-clamp/taiga-ui-kit-components-line-clamp.js +0 -5
  1868. package/esm5/components/marker-icon/index.js +0 -3
  1869. package/esm5/components/marker-icon/marker-icon.component.js +0 -46
  1870. package/esm5/components/marker-icon/marker-icon.module.js +0 -19
  1871. package/esm5/components/marker-icon/taiga-ui-kit-components-marker-icon.js +0 -5
  1872. package/esm5/components/multi-select/hide-selected.pipe.js +0 -45
  1873. package/esm5/components/multi-select/index.js +0 -7
  1874. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +0 -173
  1875. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +0 -60
  1876. package/esm5/components/multi-select/multi-select-options.js +0 -14
  1877. package/esm5/components/multi-select/multi-select.component.js +0 -306
  1878. package/esm5/components/multi-select/multi-select.module.js +0 -54
  1879. package/esm5/components/multi-select/taiga-ui-kit-components-multi-select.js +0 -5
  1880. package/esm5/components/multi-select-option/index.js +0 -3
  1881. package/esm5/components/multi-select-option/multi-select-option.component.js +0 -39
  1882. package/esm5/components/multi-select-option/multi-select-option.module.js +0 -20
  1883. package/esm5/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +0 -5
  1884. package/esm5/components/pagination/index.js +0 -3
  1885. package/esm5/components/pagination/pagination.component.js +0 -320
  1886. package/esm5/components/pagination/pagination.module.js +0 -29
  1887. package/esm5/components/pagination/taiga-ui-kit-components-pagination.js +0 -5
  1888. package/esm5/components/pdf-viewer/index.js +0 -5
  1889. package/esm5/components/pdf-viewer/pdf-viewer-options.js +0 -1
  1890. package/esm5/components/pdf-viewer/pdf-viewer.component.js +0 -43
  1891. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +0 -26
  1892. package/esm5/components/pdf-viewer/pdf-viewer.module.js +0 -31
  1893. package/esm5/components/pdf-viewer/pdf-viewer.service.js +0 -31
  1894. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +0 -5
  1895. package/esm5/components/progress/index.js +0 -10
  1896. package/esm5/components/progress/progress-bar/progress-bar.component.js +0 -28
  1897. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +0 -56
  1898. package/esm5/components/progress/progress-circle/progress-circle.component.js +0 -78
  1899. package/esm5/components/progress/progress-label/progress-label.component.js +0 -17
  1900. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +0 -52
  1901. package/esm5/components/progress/progress.module.js +0 -41
  1902. package/esm5/components/progress/taiga-ui-kit-components-progress.js +0 -5
  1903. package/esm5/components/progress/utils/abstract-color-segments.js +0 -33
  1904. package/esm5/components/progress/utils/calculate-color-segments.js +0 -13
  1905. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +0 -27
  1906. package/esm5/components/progress/utils/progress-color-segments.pipe.js +0 -24
  1907. package/esm5/components/radio/index.js +0 -4
  1908. package/esm5/components/radio/radio-options.js +0 -18
  1909. package/esm5/components/radio/radio.component.js +0 -165
  1910. package/esm5/components/radio/radio.module.js +0 -29
  1911. package/esm5/components/radio/taiga-ui-kit-components-radio.js +0 -5
  1912. package/esm5/components/radio-block/index.js +0 -3
  1913. package/esm5/components/radio-block/radio-block.component.js +0 -146
  1914. package/esm5/components/radio-block/radio-block.module.js +0 -27
  1915. package/esm5/components/radio-block/taiga-ui-kit-components-radio-block.js +0 -5
  1916. package/esm5/components/radio-group/index.js +0 -3
  1917. package/esm5/components/radio-group/radio-group.component.js +0 -25
  1918. package/esm5/components/radio-group/radio-group.module.js +0 -16
  1919. package/esm5/components/radio-group/taiga-ui-kit-components-radio-group.js +0 -5
  1920. package/esm5/components/radio-labeled/index.js +0 -3
  1921. package/esm5/components/radio-labeled/radio-labeled.component.js +0 -112
  1922. package/esm5/components/radio-labeled/radio-labeled.module.js +0 -29
  1923. package/esm5/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +0 -5
  1924. package/esm5/components/radio-list/index.js +0 -3
  1925. package/esm5/components/radio-list/radio-list.component.js +0 -114
  1926. package/esm5/components/radio-list/radio-list.module.js +0 -28
  1927. package/esm5/components/radio-list/taiga-ui-kit-components-radio-list.js +0 -5
  1928. package/esm5/components/range/index.js +0 -4
  1929. package/esm5/components/range/range-change.directive.js +0 -103
  1930. package/esm5/components/range/range.component.js +0 -269
  1931. package/esm5/components/range/range.module.js +0 -30
  1932. package/esm5/components/range/taiga-ui-kit-components-range.js +0 -5
  1933. package/esm5/components/rating/index.js +0 -4
  1934. package/esm5/components/rating/rating-options.js +0 -16
  1935. package/esm5/components/rating/rating.component.js +0 -111
  1936. package/esm5/components/rating/rating.module.js +0 -26
  1937. package/esm5/components/rating/taiga-ui-kit-components-rating.js +0 -5
  1938. package/esm5/components/select/index.js +0 -6
  1939. package/esm5/components/select/select-options.js +0 -13
  1940. package/esm5/components/select/select.component.js +0 -137
  1941. package/esm5/components/select/select.directive.js +0 -42
  1942. package/esm5/components/select/select.module.js +0 -32
  1943. package/esm5/components/select/select.providers.js +0 -28
  1944. package/esm5/components/select/taiga-ui-kit-components-select.js +0 -5
  1945. package/esm5/components/select-option/index.js +0 -3
  1946. package/esm5/components/select-option/select-option.component.js +0 -75
  1947. package/esm5/components/select-option/select-option.module.js +0 -20
  1948. package/esm5/components/select-option/taiga-ui-kit-components-select-option.js +0 -5
  1949. package/esm5/components/slider/helpers/slider-key-steps.directive.js +0 -136
  1950. package/esm5/components/slider/helpers/slider-readonly.directive.js +0 -87
  1951. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +0 -55
  1952. package/esm5/components/slider/index.js +0 -8
  1953. package/esm5/components/slider/slider-old.component.js +0 -96
  1954. package/esm5/components/slider/slider-options.js +0 -14
  1955. package/esm5/components/slider/slider.component.js +0 -161
  1956. package/esm5/components/slider/slider.module.js +0 -45
  1957. package/esm5/components/slider/taiga-ui-kit-components-slider.js +0 -5
  1958. package/esm5/components/stepper/index.js +0 -4
  1959. package/esm5/components/stepper/step/step.component.js +0 -103
  1960. package/esm5/components/stepper/stepper.component.js +0 -117
  1961. package/esm5/components/stepper/stepper.module.js +0 -20
  1962. package/esm5/components/stepper/taiga-ui-kit-components-stepper.js +0 -5
  1963. package/esm5/components/tabs/index.js +0 -10
  1964. package/esm5/components/tabs/tab/tab.component.js +0 -86
  1965. package/esm5/components/tabs/tab/tab.providers.js +0 -38
  1966. package/esm5/components/tabs/tab.directive.js +0 -19
  1967. package/esm5/components/tabs/tabs/tabs.component.js +0 -159
  1968. package/esm5/components/tabs/tabs-options.js +0 -15
  1969. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +0 -233
  1970. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +0 -43
  1971. package/esm5/components/tabs/tabs.module.js +0 -42
  1972. package/esm5/components/tabs/taiga-ui-kit-components-tabs.js +0 -5
  1973. package/esm5/components/tabs/underline/underline.component.js +0 -94
  1974. package/esm5/components/tag/index.js +0 -4
  1975. package/esm5/components/tag/tag-options.js +0 -16
  1976. package/esm5/components/tag/tag.component.js +0 -240
  1977. package/esm5/components/tag/tag.module.js +0 -29
  1978. package/esm5/components/tag/taiga-ui-kit-components-tag.js +0 -5
  1979. package/esm5/components/taiga-ui-kit-components.js +0 -5
  1980. package/esm5/components/text-area/index.js +0 -5
  1981. package/esm5/components/text-area/taiga-ui-kit-components-text-area.js +0 -5
  1982. package/esm5/components/text-area/text-area.component.js +0 -238
  1983. package/esm5/components/text-area/text-area.directive.js +0 -28
  1984. package/esm5/components/text-area/text-area.module.js +0 -33
  1985. package/esm5/components/text-area/text-area.providers.js +0 -18
  1986. package/esm5/components/toggle/index.js +0 -4
  1987. package/esm5/components/toggle/taiga-ui-kit-components-toggle.js +0 -5
  1988. package/esm5/components/toggle/toggle-options.js +0 -26
  1989. package/esm5/components/toggle/toggle.component.js +0 -160
  1990. package/esm5/components/toggle/toggle.module.js +0 -33
  1991. package/esm5/components/tree/components/tree/tree.component.js +0 -72
  1992. package/esm5/components/tree/components/tree-item/tree-item.component.js +0 -68
  1993. package/esm5/components/tree/components/tree-item/tree-item.providers.js +0 -19
  1994. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +0 -49
  1995. package/esm5/components/tree/directives/tree-children.directive.js +0 -25
  1996. package/esm5/components/tree/directives/tree-controller.directive.js +0 -64
  1997. package/esm5/components/tree/directives/tree-item-controller.directive.js +0 -38
  1998. package/esm5/components/tree/directives/tree-node.directive.js +0 -40
  1999. package/esm5/components/tree/index.js +0 -13
  2000. package/esm5/components/tree/misc/tree.constants.js +0 -9
  2001. package/esm5/components/tree/misc/tree.interfaces.js +0 -1
  2002. package/esm5/components/tree/misc/tree.service.js +0 -44
  2003. package/esm5/components/tree/misc/tree.tokens.js +0 -17
  2004. package/esm5/components/tree/taiga-ui-kit-components-tree.js +0 -5
  2005. package/esm5/components/tree/tree.module.js +0 -48
  2006. package/esm5/constants/date-time-separator.js +0 -2
  2007. package/esm5/constants/empty-mask.js +0 -6
  2008. package/esm5/constants/group-class-names.js +0 -12
  2009. package/esm5/constants/icon-blank.js +0 -2
  2010. package/esm5/constants/index.js +0 -10
  2011. package/esm5/constants/masks.js +0 -52
  2012. package/esm5/constants/math.js +0 -5
  2013. package/esm5/constants/max-day-range-length-mapper.js +0 -16
  2014. package/esm5/constants/max-time-values.js +0 -7
  2015. package/esm5/constants/router-link-options.js +0 -10
  2016. package/esm5/constants/taiga-ui-kit-constants.js +0 -5
  2017. package/esm5/directives/dropdown-context/dropdown-context.directive.js +0 -141
  2018. package/esm5/directives/dropdown-context/dropdown-context.module.js +0 -18
  2019. package/esm5/directives/dropdown-context/index.js +0 -3
  2020. package/esm5/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
  2021. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +0 -56
  2022. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +0 -16
  2023. package/esm5/directives/dropdown-hover/index.js +0 -3
  2024. package/esm5/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
  2025. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +0 -248
  2026. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +0 -18
  2027. package/esm5/directives/dropdown-selection/index.js +0 -3
  2028. package/esm5/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
  2029. package/esm5/directives/highlight/highlight.directive.js +0 -101
  2030. package/esm5/directives/highlight/highlight.module.js +0 -16
  2031. package/esm5/directives/highlight/index.js +0 -3
  2032. package/esm5/directives/highlight/taiga-ui-kit-directives-highlight.js +0 -5
  2033. package/esm5/directives/index.js +0 -10
  2034. package/esm5/directives/lazy-loading/index.js +0 -4
  2035. package/esm5/directives/lazy-loading/lazy-loading.directive.js +0 -69
  2036. package/esm5/directives/lazy-loading/lazy-loading.module.js +0 -16
  2037. package/esm5/directives/lazy-loading/lazy-loading.service.js +0 -40
  2038. package/esm5/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +0 -5
  2039. package/esm5/directives/present/index.js +0 -3
  2040. package/esm5/directives/present/present.directive.js +0 -71
  2041. package/esm5/directives/present/present.module.js +0 -16
  2042. package/esm5/directives/present/taiga-ui-kit-directives-present.js +0 -5
  2043. package/esm5/directives/project-class/index.js +0 -3
  2044. package/esm5/directives/project-class/project-class.directive.js +0 -43
  2045. package/esm5/directives/project-class/project-class.module.js +0 -16
  2046. package/esm5/directives/project-class/taiga-ui-kit-directives-project-class.js +0 -5
  2047. package/esm5/directives/taiga-ui-kit-directives.js +0 -5
  2048. package/esm5/directives/unfinished-validator/index.js +0 -3
  2049. package/esm5/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +0 -5
  2050. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +0 -36
  2051. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +0 -16
  2052. package/esm5/directives/value-accessor/index.js +0 -3
  2053. package/esm5/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +0 -5
  2054. package/esm5/directives/value-accessor/value-accessor.directive.js +0 -16
  2055. package/esm5/directives/value-accessor/value-accessor.module.js +0 -16
  2056. package/esm5/enums/borders.js +0 -9
  2057. package/esm5/enums/dropdown-position.js +0 -10
  2058. package/esm5/enums/file-state.js +0 -11
  2059. package/esm5/enums/index.js +0 -8
  2060. package/esm5/enums/marker-icon-mode.js +0 -15
  2061. package/esm5/enums/status.js +0 -13
  2062. package/esm5/enums/step-state.js +0 -10
  2063. package/esm5/enums/taiga-ui-kit-enums.js +0 -5
  2064. package/esm5/enums/text-align.js +0 -10
  2065. package/esm5/index.js +0 -12
  2066. package/esm5/interfaces/bread-crumbs-item.js +0 -1
  2067. package/esm5/interfaces/file-like.js +0 -1
  2068. package/esm5/interfaces/index.js +0 -1
  2069. package/esm5/interfaces/mobile-calendar-data.js +0 -1
  2070. package/esm5/interfaces/month-context.js +0 -1
  2071. package/esm5/interfaces/taiga-ui-kit-interfaces.js +0 -4
  2072. package/esm5/interfaces/with-date-mask-pipe-config.js +0 -1
  2073. package/esm5/internal/index.js +0 -2
  2074. package/esm5/internal/primitive-calendar-range/index.js +0 -3
  2075. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +0 -163
  2076. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +0 -22
  2077. package/esm5/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +0 -5
  2078. package/esm5/internal/taiga-ui-kit-internal.js +0 -5
  2079. package/esm5/pipes/field-error/field-error-content-pipe.js +0 -44
  2080. package/esm5/pipes/field-error/field-error-pipe.js +0 -142
  2081. package/esm5/pipes/field-error/field-error.module.js +0 -17
  2082. package/esm5/pipes/field-error/index.js +0 -4
  2083. package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +0 -5
  2084. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +0 -28
  2085. package/esm5/pipes/filter-by-input/filter-by-input.base.js +0 -61
  2086. package/esm5/pipes/filter-by-input/filter-by-input.module.js +0 -17
  2087. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +0 -29
  2088. package/esm5/pipes/filter-by-input/index.js +0 -5
  2089. package/esm5/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +0 -5
  2090. package/esm5/pipes/index.js +0 -5
  2091. package/esm5/pipes/stringify/index.js +0 -3
  2092. package/esm5/pipes/stringify/stringify.module.js +0 -16
  2093. package/esm5/pipes/stringify/stringify.pipe.js +0 -17
  2094. package/esm5/pipes/stringify/taiga-ui-kit-pipes-stringify.js +0 -5
  2095. package/esm5/pipes/stringify-content/index.js +0 -3
  2096. package/esm5/pipes/stringify-content/stringify-content.module.js +0 -16
  2097. package/esm5/pipes/stringify-content/stringify-content.pipe.js +0 -20
  2098. package/esm5/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +0 -5
  2099. package/esm5/pipes/taiga-ui-kit-pipes.js +0 -5
  2100. package/esm5/providers/index.js +0 -4
  2101. package/esm5/providers/month-formatter.provider.js +0 -23
  2102. package/esm5/providers/specific-dropdown-controllers.js +0 -29
  2103. package/esm5/providers/taiga-ui-kit-providers.js +0 -5
  2104. package/esm5/providers/value-accessor.provider.js +0 -12
  2105. package/esm5/taiga-ui-kit.js +0 -5
  2106. package/esm5/tokens/calendar-data-stream.js +0 -3
  2107. package/esm5/tokens/date-inputs-value-transformers.js +0 -5
  2108. package/esm5/tokens/i18n.js +0 -60
  2109. package/esm5/tokens/index.js +0 -11
  2110. package/esm5/tokens/items-handlers.js +0 -16
  2111. package/esm5/tokens/mobile-aware.js +0 -6
  2112. package/esm5/tokens/mobile-calendar.js +0 -3
  2113. package/esm5/tokens/month-formatter.js +0 -3
  2114. package/esm5/tokens/tab-margin.js +0 -5
  2115. package/esm5/tokens/tag-status.js +0 -6
  2116. package/esm5/tokens/taiga-ui-kit-tokens.js +0 -5
  2117. package/esm5/tokens/validation-errors.js +0 -5
  2118. package/esm5/types/handler-with-context.js +0 -1
  2119. package/esm5/types/index.js +0 -1
  2120. package/esm5/types/key-steps.js +0 -1
  2121. package/esm5/types/marker-icon-mode.js +0 -1
  2122. package/esm5/types/status.js +0 -1
  2123. package/esm5/types/taiga-ui-kit-types.js +0 -4
  2124. package/esm5/types/time-format-parts.js +0 -1
  2125. package/esm5/utils/dom/get-word-range.js +0 -55
  2126. package/esm5/utils/dom/index.js +0 -4
  2127. package/esm5/utils/dom/scroll-to-element.js +0 -23
  2128. package/esm5/utils/dom/set-range-offset.js +0 -29
  2129. package/esm5/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
  2130. package/esm5/utils/files/format-size.js +0 -21
  2131. package/esm5/utils/files/get-accept-array.js +0 -12
  2132. package/esm5/utils/files/index.js +0 -3
  2133. package/esm5/utils/files/taiga-ui-kit-utils-files.js +0 -5
  2134. package/esm5/utils/format/index.js +0 -2
  2135. package/esm5/utils/format/string-hash-to-hsl.js +0 -24
  2136. package/esm5/utils/format/taiga-ui-kit-utils-format.js +0 -5
  2137. package/esm5/utils/index.js +0 -7
  2138. package/esm5/utils/mask/create-auto-corrected-date-pipe.js +0 -25
  2139. package/esm5/utils/mask/create-auto-corrected-date-range-pipe.js +0 -39
  2140. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +0 -29
  2141. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +0 -36
  2142. package/esm5/utils/mask/create-date-mask.js +0 -17
  2143. package/esm5/utils/mask/create-date-range-mask.js +0 -13
  2144. package/esm5/utils/mask/create-time-mask.js +0 -17
  2145. package/esm5/utils/mask/index.js +0 -8
  2146. package/esm5/utils/mask/taiga-ui-kit-utils-mask.js +0 -5
  2147. package/esm5/utils/math/horizontal-direction-to-number.js +0 -12
  2148. package/esm5/utils/math/index.js +0 -3
  2149. package/esm5/utils/math/key-steps.js +0 -30
  2150. package/esm5/utils/math/taiga-ui-kit-utils-math.js +0 -5
  2151. package/esm5/utils/miscellaneous/create-default-day-range-periods.js +0 -28
  2152. package/esm5/utils/miscellaneous/create-time-periods.js +0 -15
  2153. package/esm5/utils/miscellaneous/get-precision.js +0 -12
  2154. package/esm5/utils/miscellaneous/index.js +0 -6
  2155. package/esm5/utils/miscellaneous/is-flat.js +0 -9
  2156. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +0 -19
  2157. package/esm5/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +0 -5
  2158. package/esm5/utils/taiga-ui-kit-utils.js +0 -5
  2159. package/esm5/validators/index.js +0 -2
  2160. package/esm5/validators/taiga-ui-kit-validators.js +0 -5
  2161. package/esm5/validators/unfinished.validator.js +0 -15
  2162. package/fesm2015/taiga-ui-kit-abstract.js +0 -434
  2163. package/fesm2015/taiga-ui-kit-abstract.js.map +0 -1
  2164. package/fesm2015/taiga-ui-kit-components-field-error.js +0 -153
  2165. package/fesm2015/taiga-ui-kit-components-field-error.js.map +0 -1
  2166. package/fesm2015/taiga-ui-kit-components-input-file.js +0 -440
  2167. package/fesm2015/taiga-ui-kit-components-input-file.js.map +0 -1
  2168. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +0 -141
  2169. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
  2170. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +0 -65
  2171. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
  2172. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +0 -247
  2173. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
  2174. package/fesm2015/taiga-ui-kit-enums.js +0 -84
  2175. package/fesm2015/taiga-ui-kit-enums.js.map +0 -1
  2176. package/fesm2015/taiga-ui-kit-utils-dom.js +0 -111
  2177. package/fesm2015/taiga-ui-kit-utils-dom.js.map +0 -1
  2178. package/fesm5/taiga-ui-kit-abstract.js +0 -501
  2179. package/fesm5/taiga-ui-kit-abstract.js.map +0 -1
  2180. package/fesm5/taiga-ui-kit-classes.js +0 -44
  2181. package/fesm5/taiga-ui-kit-classes.js.map +0 -1
  2182. package/fesm5/taiga-ui-kit-components-accordion.js +0 -286
  2183. package/fesm5/taiga-ui-kit-components-accordion.js.map +0 -1
  2184. package/fesm5/taiga-ui-kit-components-action.js +0 -117
  2185. package/fesm5/taiga-ui-kit-components-action.js.map +0 -1
  2186. package/fesm5/taiga-ui-kit-components-arrow.js +0 -87
  2187. package/fesm5/taiga-ui-kit-components-arrow.js.map +0 -1
  2188. package/fesm5/taiga-ui-kit-components-avatar.js +0 -132
  2189. package/fesm5/taiga-ui-kit-components-avatar.js.map +0 -1
  2190. package/fesm5/taiga-ui-kit-components-badge.js +0 -107
  2191. package/fesm5/taiga-ui-kit-components-badge.js.map +0 -1
  2192. package/fesm5/taiga-ui-kit-components-badged-content.js +0 -128
  2193. package/fesm5/taiga-ui-kit-components-badged-content.js.map +0 -1
  2194. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +0 -120
  2195. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +0 -1
  2196. package/fesm5/taiga-ui-kit-components-calendar-month.js +0 -244
  2197. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +0 -1
  2198. package/fesm5/taiga-ui-kit-components-calendar-range.js +0 -211
  2199. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +0 -1
  2200. package/fesm5/taiga-ui-kit-components-carousel.js +0 -307
  2201. package/fesm5/taiga-ui-kit-components-carousel.js.map +0 -1
  2202. package/fesm5/taiga-ui-kit-components-checkbox-block.js +0 -148
  2203. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +0 -1
  2204. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +0 -115
  2205. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +0 -1
  2206. package/fesm5/taiga-ui-kit-components-checkbox.js +0 -118
  2207. package/fesm5/taiga-ui-kit-components-checkbox.js.map +0 -1
  2208. package/fesm5/taiga-ui-kit-components-combo-box.js +0 -333
  2209. package/fesm5/taiga-ui-kit-components-combo-box.js.map +0 -1
  2210. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +0 -171
  2211. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +0 -1
  2212. package/fesm5/taiga-ui-kit-components-field-error.js +0 -189
  2213. package/fesm5/taiga-ui-kit-components-field-error.js.map +0 -1
  2214. package/fesm5/taiga-ui-kit-components-files.js +0 -289
  2215. package/fesm5/taiga-ui-kit-components-files.js.map +0 -1
  2216. package/fesm5/taiga-ui-kit-components-filter.js +0 -128
  2217. package/fesm5/taiga-ui-kit-components-filter.js.map +0 -1
  2218. package/fesm5/taiga-ui-kit-components-input-copy.js +0 -200
  2219. package/fesm5/taiga-ui-kit-components-input-copy.js.map +0 -1
  2220. package/fesm5/taiga-ui-kit-components-input-count.js +0 -377
  2221. package/fesm5/taiga-ui-kit-components-input-count.js.map +0 -1
  2222. package/fesm5/taiga-ui-kit-components-input-date-range.js +0 -452
  2223. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +0 -1
  2224. package/fesm5/taiga-ui-kit-components-input-date-time.js +0 -402
  2225. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +0 -1
  2226. package/fesm5/taiga-ui-kit-components-input-date.js +0 -365
  2227. package/fesm5/taiga-ui-kit-components-input-date.js.map +0 -1
  2228. package/fesm5/taiga-ui-kit-components-input-file.js +0 -535
  2229. package/fesm5/taiga-ui-kit-components-input-file.js.map +0 -1
  2230. package/fesm5/taiga-ui-kit-components-input-files.js +0 -291
  2231. package/fesm5/taiga-ui-kit-components-input-files.js.map +0 -1
  2232. package/fesm5/taiga-ui-kit-components-input-inline.js +0 -105
  2233. package/fesm5/taiga-ui-kit-components-input-inline.js.map +0 -1
  2234. package/fesm5/taiga-ui-kit-components-input-month-range.js +0 -240
  2235. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +0 -1
  2236. package/fesm5/taiga-ui-kit-components-input-month.js +0 -220
  2237. package/fesm5/taiga-ui-kit-components-input-month.js.map +0 -1
  2238. package/fesm5/taiga-ui-kit-components-input-number.js +0 -365
  2239. package/fesm5/taiga-ui-kit-components-input-number.js.map +0 -1
  2240. package/fesm5/taiga-ui-kit-components-input-password.js +0 -225
  2241. package/fesm5/taiga-ui-kit-components-input-password.js.map +0 -1
  2242. package/fesm5/taiga-ui-kit-components-input-phone-international.js +0 -744
  2243. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +0 -1
  2244. package/fesm5/taiga-ui-kit-components-input-phone.js +0 -410
  2245. package/fesm5/taiga-ui-kit-components-input-phone.js.map +0 -1
  2246. package/fesm5/taiga-ui-kit-components-input-range.js +0 -347
  2247. package/fesm5/taiga-ui-kit-components-input-range.js.map +0 -1
  2248. package/fesm5/taiga-ui-kit-components-input-slider.js +0 -336
  2249. package/fesm5/taiga-ui-kit-components-input-slider.js.map +0 -1
  2250. package/fesm5/taiga-ui-kit-components-input-tag.js +0 -563
  2251. package/fesm5/taiga-ui-kit-components-input-tag.js.map +0 -1
  2252. package/fesm5/taiga-ui-kit-components-input-time.js +0 -353
  2253. package/fesm5/taiga-ui-kit-components-input-time.js.map +0 -1
  2254. package/fesm5/taiga-ui-kit-components-input.js +0 -174
  2255. package/fesm5/taiga-ui-kit-components-input.js.map +0 -1
  2256. package/fesm5/taiga-ui-kit-components-island.js +0 -123
  2257. package/fesm5/taiga-ui-kit-components-island.js.map +0 -1
  2258. package/fesm5/taiga-ui-kit-components-line-clamp.js +0 -185
  2259. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +0 -1
  2260. package/fesm5/taiga-ui-kit-components-marker-icon.js +0 -66
  2261. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +0 -1
  2262. package/fesm5/taiga-ui-kit-components-multi-select-option.js +0 -60
  2263. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +0 -1
  2264. package/fesm5/taiga-ui-kit-components-multi-select.js +0 -623
  2265. package/fesm5/taiga-ui-kit-components-multi-select.js.map +0 -1
  2266. package/fesm5/taiga-ui-kit-components-pagination.js +0 -349
  2267. package/fesm5/taiga-ui-kit-components-pagination.js.map +0 -1
  2268. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +0 -117
  2269. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +0 -1
  2270. package/fesm5/taiga-ui-kit-components-progress.js +0 -330
  2271. package/fesm5/taiga-ui-kit-components-progress.js.map +0 -1
  2272. package/fesm5/taiga-ui-kit-components-radio-block.js +0 -171
  2273. package/fesm5/taiga-ui-kit-components-radio-block.js.map +0 -1
  2274. package/fesm5/taiga-ui-kit-components-radio-group.js +0 -43
  2275. package/fesm5/taiga-ui-kit-components-radio-group.js.map +0 -1
  2276. package/fesm5/taiga-ui-kit-components-radio-labeled.js +0 -140
  2277. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +0 -1
  2278. package/fesm5/taiga-ui-kit-components-radio-list.js +0 -142
  2279. package/fesm5/taiga-ui-kit-components-radio-list.js.map +0 -1
  2280. package/fesm5/taiga-ui-kit-components-radio.js +0 -209
  2281. package/fesm5/taiga-ui-kit-components-radio.js.map +0 -1
  2282. package/fesm5/taiga-ui-kit-components-range.js +0 -390
  2283. package/fesm5/taiga-ui-kit-components-range.js.map +0 -1
  2284. package/fesm5/taiga-ui-kit-components-rating.js +0 -150
  2285. package/fesm5/taiga-ui-kit-components-rating.js.map +0 -1
  2286. package/fesm5/taiga-ui-kit-components-select-option.js +0 -96
  2287. package/fesm5/taiga-ui-kit-components-select-option.js.map +0 -1
  2288. package/fesm5/taiga-ui-kit-components-select.js +0 -237
  2289. package/fesm5/taiga-ui-kit-components-select.js.map +0 -1
  2290. package/fesm5/taiga-ui-kit-components-slider.js +0 -560
  2291. package/fesm5/taiga-ui-kit-components-slider.js.map +0 -1
  2292. package/fesm5/taiga-ui-kit-components-stepper.js +0 -233
  2293. package/fesm5/taiga-ui-kit-components-stepper.js.map +0 -1
  2294. package/fesm5/taiga-ui-kit-components-tabs.js +0 -677
  2295. package/fesm5/taiga-ui-kit-components-tabs.js.map +0 -1
  2296. package/fesm5/taiga-ui-kit-components-tag.js +0 -282
  2297. package/fesm5/taiga-ui-kit-components-tag.js.map +0 -1
  2298. package/fesm5/taiga-ui-kit-components-text-area.js +0 -306
  2299. package/fesm5/taiga-ui-kit-components-text-area.js.map +0 -1
  2300. package/fesm5/taiga-ui-kit-components-toggle.js +0 -216
  2301. package/fesm5/taiga-ui-kit-components-toggle.js.map +0 -1
  2302. package/fesm5/taiga-ui-kit-components-tree.js +0 -439
  2303. package/fesm5/taiga-ui-kit-components-tree.js.map +0 -1
  2304. package/fesm5/taiga-ui-kit-components.js +0 -66
  2305. package/fesm5/taiga-ui-kit-components.js.map +0 -1
  2306. package/fesm5/taiga-ui-kit-constants.js +0 -119
  2307. package/fesm5/taiga-ui-kit-constants.js.map +0 -1
  2308. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +0 -160
  2309. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
  2310. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +0 -74
  2311. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
  2312. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +0 -267
  2313. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
  2314. package/fesm5/taiga-ui-kit-directives-highlight.js +0 -119
  2315. package/fesm5/taiga-ui-kit-directives-highlight.js.map +0 -1
  2316. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +0 -121
  2317. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +0 -1
  2318. package/fesm5/taiga-ui-kit-directives-present.js +0 -89
  2319. package/fesm5/taiga-ui-kit-directives-present.js.map +0 -1
  2320. package/fesm5/taiga-ui-kit-directives-project-class.js +0 -61
  2321. package/fesm5/taiga-ui-kit-directives-project-class.js.map +0 -1
  2322. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +0 -54
  2323. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +0 -1
  2324. package/fesm5/taiga-ui-kit-directives-value-accessor.js +0 -34
  2325. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +0 -1
  2326. package/fesm5/taiga-ui-kit-directives.js +0 -14
  2327. package/fesm5/taiga-ui-kit-directives.js.map +0 -1
  2328. package/fesm5/taiga-ui-kit-enums.js +0 -84
  2329. package/fesm5/taiga-ui-kit-enums.js.map +0 -1
  2330. package/fesm5/taiga-ui-kit-interfaces.js +0 -4
  2331. package/fesm5/taiga-ui-kit-interfaces.js.map +0 -1
  2332. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +0 -185
  2333. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +0 -1
  2334. package/fesm5/taiga-ui-kit-internal.js +0 -6
  2335. package/fesm5/taiga-ui-kit-internal.js.map +0 -1
  2336. package/fesm5/taiga-ui-kit-pipes-field-error.js +0 -200
  2337. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +0 -1
  2338. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +0 -125
  2339. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +0 -1
  2340. package/fesm5/taiga-ui-kit-pipes-stringify-content.js +0 -38
  2341. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +0 -1
  2342. package/fesm5/taiga-ui-kit-pipes-stringify.js +0 -35
  2343. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +0 -1
  2344. package/fesm5/taiga-ui-kit-pipes.js +0 -9
  2345. package/fesm5/taiga-ui-kit-pipes.js.map +0 -1
  2346. package/fesm5/taiga-ui-kit-providers.js +0 -67
  2347. package/fesm5/taiga-ui-kit-providers.js.map +0 -1
  2348. package/fesm5/taiga-ui-kit-tokens.js +0 -110
  2349. package/fesm5/taiga-ui-kit-tokens.js.map +0 -1
  2350. package/fesm5/taiga-ui-kit-types.js +0 -4
  2351. package/fesm5/taiga-ui-kit-types.js.map +0 -1
  2352. package/fesm5/taiga-ui-kit-utils-dom.js +0 -113
  2353. package/fesm5/taiga-ui-kit-utils-dom.js.map +0 -1
  2354. package/fesm5/taiga-ui-kit-utils-files.js +0 -40
  2355. package/fesm5/taiga-ui-kit-utils-files.js.map +0 -1
  2356. package/fesm5/taiga-ui-kit-utils-format.js +0 -30
  2357. package/fesm5/taiga-ui-kit-utils-format.js.map +0 -1
  2358. package/fesm5/taiga-ui-kit-utils-mask.js +0 -169
  2359. package/fesm5/taiga-ui-kit-utils-mask.js.map +0 -1
  2360. package/fesm5/taiga-ui-kit-utils-math.js +0 -49
  2361. package/fesm5/taiga-ui-kit-utils-math.js.map +0 -1
  2362. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +0 -88
  2363. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +0 -1
  2364. package/fesm5/taiga-ui-kit-utils.js +0 -11
  2365. package/fesm5/taiga-ui-kit-utils.js.map +0 -1
  2366. package/fesm5/taiga-ui-kit-validators.js +0 -22
  2367. package/fesm5/taiga-ui-kit-validators.js.map +0 -1
  2368. package/fesm5/taiga-ui-kit.js +0 -16
  2369. package/fesm5/taiga-ui-kit.js.map +0 -1
  2370. package/interfaces/bread-crumbs-item.d.ts +0 -6
  2371. package/interfaces/taiga-ui-kit-interfaces.metadata.json +0 -1
  2372. package/interfaces/with-date-mask-pipe-config.d.ts +0 -9
  2373. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +0 -1
  2374. package/internal/taiga-ui-kit-internal.metadata.json +0 -1
  2375. package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +0 -1
  2376. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +0 -1
  2377. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +0 -1
  2378. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +0 -1
  2379. package/pipes/taiga-ui-kit-pipes.metadata.json +0 -1
  2380. package/providers/taiga-ui-kit-providers.metadata.json +0 -1
  2381. package/taiga-ui-kit.metadata.json +0 -1
  2382. package/tokens/calendar-data-stream.d.ts +0 -4
  2383. package/tokens/mobile-aware.d.ts +0 -3
  2384. package/tokens/tag-status.d.ts +0 -3
  2385. package/tokens/taiga-ui-kit-tokens.metadata.json +0 -1
  2386. package/types/taiga-ui-kit-types.metadata.json +0 -1
  2387. package/utils/dom/get-word-range.d.ts +0 -9
  2388. package/utils/dom/index.d.ts +0 -3
  2389. package/utils/dom/package.json +0 -13
  2390. package/utils/dom/scroll-to-element.d.ts +0 -5
  2391. package/utils/dom/set-range-offset.d.ts +0 -6
  2392. package/utils/dom/taiga-ui-kit-utils-dom.d.ts +0 -4
  2393. package/utils/dom/taiga-ui-kit-utils-dom.metadata.json +0 -1
  2394. package/utils/files/taiga-ui-kit-utils-files.metadata.json +0 -1
  2395. package/utils/format/taiga-ui-kit-utils-format.metadata.json +0 -1
  2396. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +0 -1
  2397. package/utils/math/taiga-ui-kit-utils-math.metadata.json +0 -1
  2398. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.metadata.json +0 -1
  2399. package/utils/taiga-ui-kit-utils.metadata.json +0 -1
  2400. package/validators/taiga-ui-kit-validators.metadata.json +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/marker-icon/marker-icon.component.ts","ng://@taiga-ui/kit/components/marker-icon/marker-icon.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiMarkerIconComponent","mode$","this","mode","size","src","paramIndex","decorator","Observable","type","Inject","args","TUI_MODE","Input","HostBinding","tuiDefaultProp","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","TuiDestroyService","MODE_PROVIDER","host","($.data-mode.attr)","TuiMarkerIconModule","NgModule","imports","CommonModule","TuiSvgModule","declarations","exports"],"mappings":"6oBAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIJ,EAAkB,OAATE,EAAgBA,EAAOM,OAAOC,yBAAyBT,EAAQC,GAAOC,EACrH,GAAuB,iBAAZQ,SAAoD,mBAArBA,QAAQC,SAAyBJ,EAAIG,QAAQC,SAASZ,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIU,EAAIb,EAAWO,OAAS,EAAGM,GAAK,EAAGA,KAAST,EAAIJ,EAAWa,MAAIL,GAAKH,EAAI,EAAID,EAAEI,GAAKH,EAAI,EAAID,EAAEH,EAAQC,EAAKM,GAAKJ,EAAEH,EAAQC,KAASM,GAChJ,OAAOH,EAAI,GAAKG,GAAKC,OAAOK,eAAeb,EAAQC,EAAKM,GAAIA,EAiDnCC,OAAOM,OA0GXN,OAAOM,wBC1K5B,SAAAC,EAAuCC,GAAAC,KAAAD,MAAAA,EAXvCC,KAAAC,KAAkC,KAKlCD,KAAAE,KAA8B,IAI9BF,KAAAG,IAAM,GDoBH,IAAiBC,EAAYC,ECjBpC,gDADkDC,EAAAA,WAAUxB,WAAA,CAAA,CAAAyB,KAA3CC,EAAAA,OAAMC,KAAA,CAACC,EAAAA,eAXpB7B,EAAA,CAHC8B,EAAAA,QACAC,EAAAA,YAAY,yBACZC,EAAAA,6CAMDhC,EAAA,CAHC8B,EAAAA,QACAC,EAAAA,YAAY,kBACZC,EAAAA,6CAKDhC,EAAA,CAFC8B,EAAAA,QACAE,EAAAA,4CAZQf,EAAsBjB,EAAA,CAVlCiC,EAAAA,UAAU,CACPC,SAAU,kBACVC,SAAA,+DAEAC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,UAAW,CAACC,EAAAA,kBAAmBC,EAAAA,eAC/BC,KAAM,CACFC,qBAAsB,u5DDoCNpB,EClBP,EDkBmBC,EClBnBG,EAAAA,OAAOE,EAAAA,UDmBb,SAAU3B,EAAQC,GAAOqB,EAAUtB,EAAQC,EAAKoB,MClC9CN,mBCjBb,SAAA2B,KAAkC,OAArBA,EAAmB5C,EAAA,CAL/B6C,EAAAA,SAAS,CACNC,QAAS,CAACC,EAAAA,aAAcC,EAAAA,cACxBC,aAAc,CAAChC,GACfiC,QAAS,CAACjC,MAED2B","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n Inject,\n Input,\n} from '@angular/core';\nimport {tuiDefaultProp, TuiDestroyService} from '@taiga-ui/cdk';\nimport {\n MODE_PROVIDER,\n TUI_MODE,\n TuiBrightness,\n TuiSizeXL,\n TuiSizeXS,\n} from '@taiga-ui/core';\nimport {TuiMarkerIconModeT} from '@taiga-ui/kit/types';\nimport {Observable} from 'rxjs';\n\n@Component({\n selector: `tui-marker-icon`,\n templateUrl: `./marker-icon.template.html`,\n styleUrls: [`./marker-icon.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService, MODE_PROVIDER],\n host: {\n '($.data-mode.attr)': `mode$`,\n },\n})\nexport class TuiMarkerIconComponent {\n @Input()\n @HostBinding(`attr.data-marker-mode`)\n @tuiDefaultProp()\n mode: TuiMarkerIconModeT | null = null;\n\n @Input()\n @HostBinding(`attr.data-size`)\n @tuiDefaultProp()\n size: TuiSizeXS | TuiSizeXL = `m`;\n\n @Input()\n @tuiDefaultProp()\n src = ``;\n\n constructor(@Inject(TUI_MODE) readonly mode$: Observable<TuiBrightness | null>) {}\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiSvgModule} from '@taiga-ui/core';\n\nimport {TuiMarkerIconComponent} from './marker-icon.component';\n\n@NgModule({\n imports: [CommonModule, TuiSvgModule],\n declarations: [TuiMarkerIconComponent],\n exports: [TuiMarkerIconComponent],\n})\nexport class TuiMarkerIconModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/components/select-option"),require("@angular/common")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/multi-select-option",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/components/select-option","@angular/common"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["multi-select-option"]={}),e.ng.core,e.cdk,e.core$1,e["taiga-ui"].kit.components["select-option"],e.ng.common)}(this,(function(e,t,o,i,n,r){"use strict";var c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])})(e,t)};function u(e,t,o,i){var n,r=arguments.length,c=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,o):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,o,i);else for(var u=e.length-1;u>=0;u--)(n=e[u])&&(c=(r<3?n(c):r>3?n(t,o,c):n(t,o))||c);return r>3&&c&&Object.defineProperty(t,o,c),c}Object.create;Object.create;var a=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function o(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}(n,e),Object.defineProperty(n.prototype,"size",{get:function(){return i.sizeBigger(this.option.size)?"l":"m"},enumerable:!0,configurable:!0}),Object.defineProperty(n.prototype,"selected",{get:function(){var e=this;return o.isPresent(this.option.value)&&o.isPresent(this.control.value)&&!!this.control.value.find((function(t){return e.matcher(t,e.option.value)}))},enumerable:!0,configurable:!0}),n=u([t.Component({selector:"tui-multi-select-option",template:'<tui-primitive-checkbox\n class="t-checkbox"\n [size]="size"\n [value]="selected$ | async"\n></tui-primitive-checkbox>\n<ng-container [ngTemplateOutlet]="context.$implicit"></ng-container>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,styles:["@-webkit-keyframes retrigger{from{left:1px}to{left:2px}}@keyframes retrigger{from{left:1px}to{left:2px}}:host{display:flex;flex:1;align-items:center;overflow:hidden;-webkit-animation:1s retrigger;animation:1s retrigger}.t-checkbox{margin-right:.75rem}"]})],n)}(n.TuiSelectOptionComponent),l=function(){function e(){}return e=u([t.NgModule({imports:[r.CommonModule,i.TuiPrimitiveCheckboxModule],declarations:[a],exports:[a],entryComponents:[a]})],e)}();e.TuiMultiSelectOptionComponent=a,e.TuiMultiSelectOptionModule=l,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-multi-select-option.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/multi-select-option/multi-select-option.component.ts","ng://@taiga-ui/kit/components/multi-select-option/multi-select-option.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","create","TuiMultiSelectOptionComponent","TypeError","String","__","this","constructor","__extends","_super","sizeBigger","option","size","_this","isPresent","value","control","find","item","matcher","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","TuiSelectOptionComponent","TuiMultiSelectOptionModule","NgModule","imports","CommonModule","TuiPrimitiveCheckboxModule","declarations","exports","entryComponents"],"mappings":"wwBAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2Hd,EAAvHe,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOZ,OAAOiB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAStB,EAAIW,EAAWW,MAAIJ,GAAKH,EAAI,EAAIf,EAAEkB,GAAKH,EAAI,EAAIf,EAAEY,EAAQC,EAAKK,GAAKlB,EAAEY,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKhB,OAAOqB,eAAeX,EAAQC,EAAKK,GAAIA,EAiDnChB,OAAOsB,OA0GXtB,OAAOsB,yBC1MhC,SAAAC,mDAYA,ODAO,SAAmBzB,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAIyB,UAAU,uBAAyBC,OAAO1B,GAAK,iCAE7D,SAAS2B,IAAOC,KAAKC,YAAc9B,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOsB,OAAOvB,IAAM2B,EAAGrB,UAAYN,EAAEM,UAAW,IAAIqB,GCjB7BG,CAAAN,EAAAO,GAClD9B,OAAAqB,eAAIE,EAAAlB,UAAA,OAAI,KAAR,WACI,OAAO0B,EAAAA,WAAWJ,KAAKK,OAAOC,MAAQ,IAAM,qCAGhDjC,OAAAqB,eAAcE,EAAAlB,UAAA,WAAQ,KAAtB,WAAA,IAAA6B,EAAAP,KACI,OACIQ,EAAAA,UAAUR,KAAKK,OAAOI,QACtBD,EAAAA,UAAUR,KAAKU,QAAQD,UACrBT,KAAKU,QAAQD,MAAME,MAAK,SAACC,GAAY,OAAAL,EAAKM,QAAQD,EAAML,EAAKF,OAAOI,2CATrEb,EAA6Bf,EAAA,CANzCiC,EAAAA,UAAU,CACPC,SAAU,0BACVC,SAAA,0MAEAC,gBAAiBC,EAAAA,wBAAwBC,iRAEhCvB,IAAyCwB,EAAAA,uCCCtD,SAAAC,KAAyC,OAA5BA,EAA0BxC,EAAA,CANtCyC,EAAAA,SAAS,CACNC,QAAS,CAACC,EAAAA,aAAcC,EAAAA,4BACxBC,aAAc,CAAC9B,GACf+B,QAAS,CAAC/B,GACVgC,gBAAiB,CAAChC,MAETyB","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {isPresent} from '@taiga-ui/cdk';\nimport {sizeBigger, TuiSizeL} from '@taiga-ui/core';\nimport {TuiSelectOptionComponent} from '@taiga-ui/kit/components/select-option';\n\n@Component({\n selector: `tui-multi-select-option`,\n templateUrl: `./multi-select-option.template.html`,\n styleUrls: [`./multi-select-option.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiMultiSelectOptionComponent<T> extends TuiSelectOptionComponent<T> {\n get size(): TuiSizeL {\n return sizeBigger(this.option.size) ? `l` : `m`;\n }\n\n protected get selected(): boolean {\n return (\n isPresent(this.option.value) &&\n isPresent(this.control.value) &&\n !!this.control.value.find((item: T) => this.matcher(item, this.option.value!))\n );\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiPrimitiveCheckboxModule} from '@taiga-ui/core';\n\nimport {TuiMultiSelectOptionComponent} from './multi-select-option.component';\n\n@NgModule({\n imports: [CommonModule, TuiPrimitiveCheckboxModule],\n declarations: [TuiMultiSelectOptionComponent],\n exports: [TuiMultiSelectOptionComponent],\n entryComponents: [TuiMultiSelectOptionComponent],\n})\nexport class TuiMultiSelectOptionModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@taiga-ui/cdk"),require("@taiga-ui/kit/utils"),require("@angular/forms"),require("@taiga-ui/core"),require("@taiga-ui/kit/classes"),require("@taiga-ui/kit/components/arrow"),require("@taiga-ui/kit/components/input-tag"),require("@taiga-ui/kit/constants"),require("@taiga-ui/kit/providers"),require("@taiga-ui/kit/tokens"),require("@angular/common"),require("@taiga-ui/kit/components/multi-select-option"),require("@tinkoff/ng-polymorpheus"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/multi-select",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/kit/utils","@angular/forms","@taiga-ui/core","@taiga-ui/kit/classes","@taiga-ui/kit/components/arrow","@taiga-ui/kit/components/input-tag","@taiga-ui/kit/constants","@taiga-ui/kit/providers","@taiga-ui/kit/tokens","@angular/common","@taiga-ui/kit/components/multi-select-option","@tinkoff/ng-polymorpheus","rxjs","rxjs/operators"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].kit=t["taiga-ui"].kit||{},t["taiga-ui"].kit.components=t["taiga-ui"].kit.components||{},t["taiga-ui"].kit.components["multi-select"]={}),t.ng.core,t.cdk,t["taiga-ui"].kit.utils,t.ng.forms,t.core$1,t["taiga-ui"].kit.classes,t["taiga-ui"].kit.components.arrow,t["taiga-ui"].kit.components["input-tag"],t["taiga-ui"].kit.constants,t["taiga-ui"].kit.providers,t["taiga-ui"].kit.tokens,t.ng.common,t["taiga-ui"].kit.components["multi-select-option"],t.ngPolymorpheus,t.rxjs,t.rxjs.operators)}(this,(function(t,e,n,o,i,r,u,a,p,l,s,c,d,f,h,g,y){"use strict";var v=function(t,e){return(v=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};var m=function(){return(m=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function b(t,e,n,o){var i,r=arguments.length,u=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(u=(r<3?i(u):r>3?i(e,n,u):i(e,n))||u);return r>3&&u&&Object.defineProperty(e,n,u),u}function T(t,e){return function(n,o){e(n,o,t)}}Object.create;function O(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),u=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)u.push(o.value)}catch(t){i={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return u}function I(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(O(arguments[e]));return t}Object.create;var _={expandable:!0,valueContent:""},C=new e.InjectionToken("Default parameters for multi select component",{factory:function(){return _}}),P=function(t){function o(o,i,r,a,p,s,c){var d=t.call(this,o,i)||this;return d.arrowMode=a,d.itemsHandlers=p,d.options=s,d.controller=c,d.stringify=d.itemsHandlers.stringify,d.identityMatcher=d.itemsHandlers.identityMatcher,d.expandable=d.options.expandable,d.search="",d.editable=!0,d.disabledItemHandler=d.itemsHandlers.disabledItemHandler,d.valueContent=d.options.valueContent,d.searchChange=new e.EventEmitter,d.datalist="",d.open=!1,d.valueMapper=function(t,e,o){return o?n.EMPTY_ARRAY:t.map((function(t){return new u.TuiStringifiableItem(t,e)}))},d.disabledItemHandlerWrapper=function(t){return function(e){return"string"==typeof e||t(e.item)}},r.define({iconBlank:l.iconBlank}),d}var d;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}v(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(o,t),d=o,Object.defineProperty(o.prototype,"size",{get:function(){return this.controller.size},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"arrow",{get:function(){return this.interactive?this.arrowMode.interactive:this.arrowMode.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"nativeFocusableElement",{get:function(){return this.input?this.input.nativeFocusableElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"focused",{get:function(){return!!this.input&&this.input.focused||!!this.hostedDropdown&&this.hostedDropdown.focused},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"computedValue",{get:function(){return this.computedGroup?n.EMPTY_ARRAY:this.value},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"searchOrSpace",{get:function(){return this.computedGroup?" ":this.searchString},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"searchString",{get:function(){return null===this.search?"":this.search},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"tagIcon",{get:function(){return this.interactive?"iconBlank":""},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"inputHidden",{get:function(){return!this.editable&&!this.computedGroup},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"computedGroup",{get:function(){return!!this.valueContent&&this.value.length>0&&(!this.focused||!this.editable)},enumerable:!0,configurable:!0}),Object.defineProperty(o.prototype,"context",{get:function(){return this.getContext(this.value)},enumerable:!0,configurable:!0}),o.prototype.getStringifier=function(t){return function(e){var n=e.$implicit;return t(n)}},o.prototype.onHoveredChange=function(t){this.updateHovered(t)},o.prototype.onSpace=function(t){this.editable||t.preventDefault(),this.readOnly||(this.open=!0)},o.prototype.handleOption=function(t){var e=this.value,n=this.identityMatcher,o=e.findIndex((function(e){return n(e,t)}));this.updateValue(-1===o?I(e,[t]):e.filter((function(t,e){return e!==o}))),this.updateSearch(null)},o.prototype.onEnter=function(t){var e=this.value,n=this.accessor?this.accessor.getOptions():[];if(1===n.length){var o=e.indexOf(n[0]);t.preventDefault(),this.updateValue(-1===o?I(e,[n[0]]):I(e.slice(0,o),e.slice(o+1))),this.updateSearch(null)}},o.prototype.onClick=function(t){var e,o=t.nativeFocusableElement;this.editable&&this.interactive&&o&&n.isNativeFocused(o)&&(null===(e=this.hostedDropdown)||void 0===e||e.updateOpen(!this.open))},o.prototype.onArrowClick=function(){var t;null===(t=this.hostedDropdown)||void 0===t||t.updateOpen(!this.open),this.focusInput()},o.prototype.onInput=function(t){this.updateValue(t.map((function(t){return t.item})))},o.prototype.onSearch=function(t){this.open=!0,this.updateSearch(t)},o.prototype.onActiveZone=function(t){this.updateFocused(t)},o.prototype.setDisabledState=function(){t.prototype.setDisabledState.call(this),this.open=!1},o.prototype.getContext=function(t){return{$implicit:t}},o.prototype.updateSearch=function(t){this.search!==t&&(this.search=t,this.searchChange.emit(t))},o.prototype.focusInput=function(t){void 0===t&&(t=!1),this.nativeFocusableElement&&n.setNativeFocused(this.nativeFocusableElement,!0,t)},o.ctorParameters=function(){return[{type:i.NgControl,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[i.NgControl]}]},{type:e.ChangeDetectorRef,decorators:[{type:e.Inject,args:[e.ChangeDetectorRef]}]},{type:r.TuiSvgService,decorators:[{type:e.Inject,args:[r.TuiSvgService]}]},{type:void 0,decorators:[{type:e.Inject,args:[a.TUI_ARROW_MODE]}]},{type:void 0,decorators:[{type:e.Inject,args:[c.TUI_ITEMS_HANDLERS]}]},{type:void 0,decorators:[{type:e.Inject,args:[C]}]},{type:r.TuiTextfieldController,decorators:[{type:e.Inject,args:[r.TUI_TEXTFIELD_WATCHED_CONTROLLER]}]}]},b([e.ContentChild(r.TUI_DATA_LIST_ACCESSOR)],o.prototype,"accessor",void 0),b([e.ViewChild(r.TuiHostedDropdownComponent)],o.prototype,"hostedDropdown",void 0),b([e.ViewChild(p.TuiInputTagComponent)],o.prototype,"input",void 0),b([e.Input(),n.tuiDefaultProp()],o.prototype,"stringify",void 0),b([e.Input(),n.tuiDefaultProp()],o.prototype,"identityMatcher",void 0),b([e.Input(),n.tuiDefaultProp()],o.prototype,"expandable",void 0),b([e.Input(),n.tuiDefaultProp()],o.prototype,"search",void 0),b([e.Input(),e.HostBinding("class._editable"),n.tuiDefaultProp()],o.prototype,"editable",void 0),b([e.Input(),n.tuiDefaultProp()],o.prototype,"disabledItemHandler",void 0),b([e.Input(),n.tuiDefaultProp()],o.prototype,"valueContent",void 0),b([e.Output()],o.prototype,"searchChange",void 0),b([e.ContentChild(r.TuiDataListDirective,{read:e.TemplateRef})],o.prototype,"datalist",void 0),b([e.HostBinding("attr.data-size")],o.prototype,"size",null),b([n.tuiPure],o.prototype,"getStringifier",null),b([n.tuiPure],o.prototype,"getContext",null),o=d=b([e.Component({selector:"tui-multi-select",template:'<tui-hosted-dropdown\n class="t-hosted"\n [canOpen]="interactive"\n [content]="datalist || \'\'"\n [(open)]="open"\n (tuiHoveredChange)="onHoveredChange($event)"\n (tuiActiveZoneChange)="onActiveZone($event)"\n>\n <tui-input-tag\n #inputTag\n tuiHostedDropdownHost\n automation-id="tui-multi-select__input"\n class="t-input"\n [nativeId]="nativeId"\n [icon]="tagIcon"\n [disabled]="disabled"\n [disabledItemHandler]="disabledItemHandler | tuiMapper: disabledItemHandlerWrapper"\n [readOnly]="readOnly"\n [inputHidden]="!editable"\n [pseudoHovered]="computedHovered"\n [pseudoFocused]="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 polymorpheus-outlet\n class="t-group"\n [class.t-group_fullsize]="inputTag.labelOutside"\n [context]="context"\n [content]="valueContent"\n ></div>\n\n <div\n *ngIf="arrow"\n polymorpheus-outlet\n automation-id="tui-multi-select__arrow"\n tuiPreventDefault="mousedown"\n class="t-arrow"\n [content]="arrow"\n (click.prevent)="onArrowClick()"\n ></div>\n </div>\n</tui-hosted-dropdown>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,providers:[{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:e.forwardRef((function(){return d}))},{provide:r.TUI_DATA_LIST_HOST,useExisting:e.forwardRef((function(){return d}))},s.FIXED_DROPDOWN_CONTROLLER_PROVIDER,r.TEXTFIELD_CONTROLLER_PROVIDER],styles:[":host{position:relative;display:block;border-radius:var(--tui-radius-m)}:host._disabled{pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-input{border-radius:inherit}:host:not(._editable):not(._readonly) .t-input{cursor:pointer}.t-wrapper{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;pointer-events:none;justify-content:flex-end}.t-wrapper_disabled{opacity:var(--tui-disabled-opacity)}:host[data-size='s'] .t-wrapper{height:var(--tui-height-s)}:host[data-size='m'] .t-wrapper{height:var(--tui-height-m)}:host[data-size='l'] .t-wrapper{height:var(--tui-height-l)}.t-group{display:flex;flex:1;align-items:center;padding:1.6875rem 1rem .5625rem}.t-group_fullsize{padding-top:.0625rem;padding-bottom:0}:host[data-size='m'] .t-group_fullsize.t-group_fullsize{padding-top:0}:host[data-size='m'] .t-group{padding:1.1875rem .75rem 0;font-size:.8125rem}.t-arrow{transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;display:flex;align-items:center;justify-content:center;color:var(--tui-text-03);position:relative;box-sizing:border-box;transition-property:color,transform;width:1.5rem;height:auto;margin:0 .75rem;pointer-events:auto;cursor:pointer}.t-arrow:hover{color:var(--tui-text-02)}:host._disabled .t-arrow,:host._readonly .t-arrow{pointer-events:none}:host[data-mode=onDark] .t-arrow{color:var(--tui-text-03-night)}:host[data-mode=onDark] .t-arrow:hover{color:var(--tui-text-01-night)}"]}),T(0,e.Optional()),T(0,e.Self()),T(0,e.Inject(i.NgControl)),T(1,e.Inject(e.ChangeDetectorRef)),T(2,e.Inject(r.TuiSvgService)),T(3,e.Inject(a.TUI_ARROW_MODE)),T(4,e.Inject(c.TUI_ITEMS_HANDLERS)),T(5,e.Inject(C)),T(6,e.Inject(r.TUI_TEXTFIELD_WATCHED_CONTROLLER))],o)}(n.AbstractTuiMultipleControl),S=function(){function t(t){this.component=t}return t.prototype.transform=function(t,e){var n=null!=e?e:this.component,i=n.value,r=n.identityMatcher;return t?o.isFlat(t)?this.filter(t,i,r):this.filter2d(t,i,r):null},t.prototype.filter2d=function(t,e,n){var o=this;return t.map((function(t){return o.filter(t,e,n)}))},t.prototype.filter=function(t,e,n){return t.filter((function(t){return e.every((function(e){return!n(e,t)}))}))},t.ctorParameters=function(){return[{type:P,decorators:[{type:e.Inject,args:[P]}]}]},b([n.tuiPure],t.prototype,"filter2d",null),b([n.tuiPure],t.prototype,"filter",null),t=b([e.Pipe({name:"tuiHideSelected",pure:!1}),T(0,e.Inject(P))],t)}(),k=function(){function t(t,e){this.host=t,this.control=e,this.options=n.EMPTY_QUERY,this.label=""}return Object.defineProperty(t.prototype,"size",{get:function(){var t;return(null===(t=this.options.first)||void 0===t?void 0:t.size)||"m"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"checkboxSize",{get:function(){return this.options.first&&r.sizeBigger(this.options.first.size)?"l":"m"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"empty$",{get:function(){return n.itemsQueryListObservable(this.options).pipe(y.map((function(t){return!t.length})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled$",{get:function(){return n.itemsQueryListObservable(this.options).pipe(y.map((function(t){return t.every((function(t){return t.disabled}))})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"value$",{get:function(){var t=this;return g.combineLatest(this.items$,this.valueChanges$).pipe(y.map((function(e){for(var n=O(e,2),o=n[0],i=n[1],r=!1,u=function(e){var n=i.some((function(n){return t.matcher(n,o[e])}));if(!n&&r||n&&!r&&e)return{value:null};r=n},a=0;a<o.length;a++){var p=u(a);if("object"==typeof p)return p.value}return r})))},enumerable:!0,configurable:!0}),t.prototype.onClick=function(t){var e=this;if(this.control.control){var n=this.control.value||[],o=this.values,i=n.filter((function(t){return o.every((function(n){return!e.matcher(t,n)}))}));this.control.control.setValue(t?i:I(i,o))}},Object.defineProperty(t.prototype,"values",{get:function(){return this.filter(n.getOriginalArrayFromQueryList(this.options))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"matcher",{get:function(){return this.host.identityMatcher||n.TUI_DEFAULT_IDENTITY_MATCHER},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"items$",{get:function(){return n.itemsQueryListObservable(this.options).pipe(y.map((function(t){return t.map((function(t){return t.value})).filter(n.isPresent)})))},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"valueChanges$",{get:function(){return n.tuiReplayedValueChangesFrom(this.control).pipe(y.map((function(t){return t||[]})))},enumerable:!0,configurable:!0}),t.prototype.filter=function(t){return t.map((function(t){return t.value})).filter(n.isPresent)},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[r.TUI_DATA_LIST_HOST]}]},{type:i.NgControl,decorators:[{type:e.Inject,args:[i.NgControl]}]}]},b([e.ContentChildren(r.TuiOptionComponent)],t.prototype,"options",void 0),b([e.Input(),n.tuiDefaultProp()],t.prototype,"label",void 0),b([n.tuiPure],t.prototype,"empty$",null),b([n.tuiPure],t.prototype,"disabled$",null),b([n.tuiPure],t.prototype,"value$",null),b([n.tuiPure],t.prototype,"items$",null),b([n.tuiPure],t.prototype,"valueChanges$",null),b([n.tuiPure],t.prototype,"filter",null),t=b([e.Component({selector:"tui-opt-group[tuiMultiSelectGroup]",template:'<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',changeDetection:e.ChangeDetectionStrategy.OnPush,viewProviders:[{provide:r.TUI_OPTION_CONTENT,useValue:null}],styles:[":host{display:flex;flex-direction:column}:host:before{content:''}.t-label{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font:var(--tui-font-text-xs);flex:1;color:var(--tui-text-02)}.t-checkbox{margin-right:.75rem}"]}),T(0,e.Inject(r.TUI_DATA_LIST_HOST)),T(1,e.Inject(i.NgControl))],t)}();function w(t,e){return e||{handleOption:function(e){if(t.control){var n=t.value||[],o=n.indexOf(e);t.control.setValue(-1===o?I(n,[e]):I(n.slice(0,o),n.slice(o+1)))}}}}var j=new h.PolymorpheusComponent(f.TuiMultiSelectOptionComponent),E={writeValue:n.EMPTY_FUNCTION,registerOnChange:n.EMPTY_FUNCTION,registerOnTouched:n.EMPTY_FUNCTION},D=function(){function t(){}return t=b([e.Directive({selector:"[tuiMultiSelectGroup]",providers:[{provide:r.TUI_OPTION_CONTENT,useValue:j},{provide:r.TUI_DATA_LIST_HOST,deps:[i.NgControl,[new e.Optional,e.forwardRef((function(){return P}))]],useFactory:w},{provide:i.NG_VALUE_ACCESSOR,multi:!0,useValue:E}]})],t)}(),M=function(){function t(){}return t=b([e.NgModule({imports:[d.CommonModule,i.FormsModule,h.PolymorpheusModule,n.TuiPreventDefaultModule,n.TuiActiveZoneModule,a.TuiArrowModule,n.TuiLetModule,n.TuiMapperPipeModule,n.TuiHoveredModule,r.TuiSvgModule,r.TuiHostedDropdownModule,p.TuiInputTagModule,f.TuiMultiSelectOptionModule,r.TuiPrimitiveCheckboxModule,r.TuiDataListModule],declarations:[P,k,D,S],exports:[P,k,D,S]})],t)}();t.MULTI_SELECT_ACCESSOR=E,t.TUI_MULTI_SELECT_DEFAULT_OPTIONS=_,t.TUI_MULTI_SELECT_OPTION=j,t.TUI_MULTI_SELECT_OPTIONS=C,t.TuiHideSelectedPipe=S,t.TuiMultiSelectComponent=P,t.TuiMultiSelectGroupComponent=k,t.TuiMultiSelectGroupDirective=D,t.TuiMultiSelectModule=M,t.hostFallbackFactory=w,t.tuiMultiSelectOptionsProvider=function(t){return{provide:C,useValue:m(m({},_),t)}},Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-multi-select.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","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"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__assign","assign","t","s","i","n","arguments","length","apply","this","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","create","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","__spread","concat","TUI_MULTI_SELECT_DEFAULT_OPTIONS","expandable","valueContent","TUI_MULTI_SELECT_OPTIONS","InjectionToken","factory","TuiMultiSelectComponent","control","changeDetectorRef","svgService","arrowMode","itemsHandlers","options","controller","_this","_super","stringify","identityMatcher","search","editable","disabledItemHandler","searchChange","EventEmitter","datalist","open","valueMapper","group","EMPTY_ARRAY","map","item","TuiStringifiableItem","disabledItemHandlerWrapper","handler","stringifiable","define","iconBlank","constants","TypeError","String","__","constructor","__extends","size","interactive","disabled","input","nativeFocusableElement","focused","hostedDropdown","computedGroup","searchString","getContext","getStringifier","_a","$implicit","onHoveredChange","hovered","updateHovered","onSpace","event","preventDefault","readOnly","handleOption","option","index","findIndex","updateValue","filter","_","updateSearch","onEnter","accessor","getOptions","indexOf","slice","onClick","isNativeFocused","_b","updateOpen","onArrowClick","focusInput","onInput","onSearch","onActiveZone","active","updateFocused","setDisabledState","emit","preventScroll","setNativeFocused","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","TuiSvgService","TUI_ARROW_MODE","TUI_ITEMS_HANDLERS","TuiTextfieldController","TUI_TEXTFIELD_WATCHED_CONTROLLER","ContentChild","TUI_DATA_LIST_ACCESSOR","ViewChild","TuiHostedDropdownComponent","TuiInputTagComponent","Input","tuiDefaultProp","HostBinding","Output","TuiDataListDirective","read","TemplateRef","tuiPure","TuiMultiSelectComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","TUI_DATA_LIST_HOST","FIXED_DROPDOWN_CONTROLLER_PROVIDER","TEXTFIELD_CONTROLLER_PROVIDER","AbstractTuiMultipleControl","TuiHideSelectedPipe","component","transform","items","isFlat","filter2d","matcher","subItems","every","selected","Pipe","name","pure","TuiMultiSelectGroupComponent","host","EMPTY_QUERY","label","first","sizeBigger","itemsQueryListObservable","pipe","combineLatest","items$","valueChanges$","current","result","some","checked","controlValue","values","filtered","setValue","getOriginalArrayFromQueryList","TUI_DEFAULT_IDENTITY_MATCHER","isPresent","tuiReplayedValueChangesFrom","ContentChildren","TuiOptionComponent","viewProviders","TUI_OPTION_CONTENT","useValue","hostFallbackFactory","TUI_MULTI_SELECT_OPTION","PolymorpheusComponent","TuiMultiSelectOptionComponent","MULTI_SELECT_ACCESSOR","writeValue","EMPTY_FUNCTION","registerOnChange","registerOnTouched","TuiMultiSelectGroupDirective","Directive","deps","useFactory","NG_VALUE_ACCESSOR","multi","TuiMultiSelectModule","NgModule","imports","CommonModule","FormsModule","PolymorpheusModule","TuiPreventDefaultModule","TuiActiveZoneModule","TuiArrowModule","TuiLetModule","TuiMapperPipeModule","TuiHoveredModule","TuiSvgModule","TuiHostedDropdownModule","TuiInputTagModule","TuiMultiSelectOptionModule","TuiPrimitiveCheckboxModule","TuiDataListModule","declarations","exports"],"mappings":"+oDAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAWrB,IAAIS,EAAW,WAQlB,OAPAA,EAAWR,OAAOS,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAIR,KADTO,EAAIG,UAAUF,GACOZ,OAAOK,UAAUC,eAAeC,KAAKI,EAAGP,KAAIM,EAAEN,GAAKO,EAAEP,IAE9E,OAAOM,IAEKM,MAAMC,KAAMH,YAezB,SAASI,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HxB,EAAvHyB,EAAIT,UAAUC,OAAQS,EAAID,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOtB,OAAOyB,yBAAyBL,EAAQC,GAAOC,EACrH,GAAuB,iBAAZI,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASR,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIV,EAAIO,EAAWJ,OAAS,EAAGH,GAAK,EAAGA,KAASd,EAAIqB,EAAWP,MAAIY,GAAKD,EAAI,EAAIzB,EAAE0B,GAAKD,EAAI,EAAIz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AAc,SAAAC,GACV,GAAKxD,EAAQA,QAAb,CAIA,IAAMX,EAAQW,EAAQX,OAAS,GACzBoE,EAAQpE,EAAM6E,QAAQV,GAE5BxD,EAAQA,QAAQ2J,UACD,IAAXlG,IACUpE,EAAK,CAAEmE,IAAMjE,EACbF,EAAM8E,MAAM,EAAGV,GAAWpE,EAAM8E,MAAMV,EAAQ,YAO/D6G,EAA0B,IAAIC,EAAAA,sBACvCC,EAAAA,+BAISC,EAAwB,CACjCC,WAAYC,EAAAA,eACZC,iBAAkBD,EAAAA,eAClBE,kBAAmBF,EAAAA,6BAyBvB,SAAAG,KAA2C,OAA9BA,EAA4BlN,EAAA,CAtBxCmN,EAAAA,UAAU,CACPjE,SAAU,wBACVK,UAAW,CACP,CACIC,QAAS+C,EAAAA,mBACTC,SAAUE,GAEd,CACIlD,QAASI,EAAAA,mBACTwD,KAAM,CACF7F,EAAAA,UACA,CAAC,IAAIE,EAAAA,SAAYkC,EAAAA,YAAW,WAAM,OAAAxH,OAEtCkL,WAAYZ,GAEhB,CACIjD,QAAS8D,EAAAA,kBACTC,OAAO,EACPf,SAAUK,OAITK,mBCVb,SAAAM,KAAmC,OAAtBA,EAAoBxN,EAAA,CA/BhCyN,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,YACAC,EAAAA,mBACAC,EAAAA,wBACAC,EAAAA,oBACAC,EAAAA,eACAC,EAAAA,aACAC,EAAAA,oBACAC,EAAAA,iBACAC,EAAAA,aACAC,EAAAA,wBACAC,EAAAA,kBACAC,EAAAA,2BACAC,EAAAA,2BACAC,EAAAA,mBAEJC,aAAc,CACVvM,EACA0I,EACAqC,EACAlD,GAEJ2E,QAAS,CACLxM,EACA0I,EACAqC,EACAlD,MAGKwD,qULnCQ,SAAI/K,GAA+C,MAAA,CACpE+G,QAASxH,EACTwK,SAAQlN,EAAAA,EAAA,GAAMuC,GAAqCY","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {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"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/tokens"),require("@taiga-ui/kit/utils/math"),require("rxjs"),require("@angular/common"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/pagination",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/tokens","@taiga-ui/kit/utils/math","rxjs","@angular/common","@tinkoff/ng-polymorpheus"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components.pagination={}),e.ng.core,e.cdk,e.core$1,e["taiga-ui"].kit.tokens,e["taiga-ui"].kit.utils.math,e.rxjs,e.ng.common,e.ngPolymorpheus)}(this,(function(e,t,n,i,o,r,a,u,l){"use strict";var s=function(e,t){return(s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function c(e,t,n,i){var o,r=arguments.length,a=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(r<3?o(a):r>3?o(t,n,a):o(t,n))||a);return r>3&&a&&Object.defineProperty(t,n,a),a}function d(e,t){return function(n,i){t(n,i,e)}}Object.create;Object.create;function p(e){return Number.isInteger(e)&&e>=0}var f=function(e){function u(i,o,r){var a=e.call(this)||this;return a.elementRef=i,a.modeDirective=o,a.texts$=r,a.elements=n.EMPTY_QUERY,a.length=1,a.size="m",a.disabled=!1,a.activePadding=1,a.sidePadding=1,a.content=null,a.index=0,a.indexChange=new t.EventEmitter,a}var l;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(u,e),l=u,Object.defineProperty(u.prototype,"nativeFocusableElement",{get:function(){if(this.disabled)return null;for(var e=0,t=this.elementsLength,n=0;n<t;n++){var i=this.getItemIndexByElementIndex(n);if(i&&e++,i===this.index)break}var o=this.elements.find((function(t,n){return n===e}));return o?o.nativeFocusableElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"focused",{get:function(){return n.isNativeFocusedIn(this.elementRef.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"elementsLength",{get:function(){return this.itemsFit?this.length:this.maxElementsLength},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"sizeM",{get:function(){return"m"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"mode",{get:function(){return this.modeDirective?this.modeDirective.mode:null},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arrowIsDisabledLeft",{get:function(){return 0===this.index},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"arrowIsDisabledRight",{get:function(){return 0===this.reverseIndex},enumerable:!0,configurable:!0}),u.prototype.elementIsFocusable=function(e){return this.index===e&&!this.focused},u.prototype.getItemContext=function(e){return{$implicit:e}},u.prototype.getItemIndexByElementIndex=function(e){if(!this.sizeM)return e;if(e<this.sidePadding)return e;if(e===this.sidePadding&&this.hasCollapsedItems(this.index))return null;var t=this.lastElementIndex-e;if(t===this.sidePadding&&this.hasCollapsedItems(this.reverseIndex))return null;if(t<this.sidePadding)return this.lastIndex-t;var i=this.index-this.maxHalfLength+e;return n.clamp(i,e,this.lastIndex-t)},u.prototype.getElementMode=function(e){return this.index===e?"primary":"flat"},u.prototype.getSmallElementMode=function(e,t){return this.index===e&&"onLight"!==t?"primary":"secondary"},u.prototype.onElementClick=function(e){this.updateIndex(e)},u.prototype.onElementKeyDownArrowLeft=function(e){if(e!==this.elements.first){var t=this.elements.find((function(t,n,i){return i[n+1]===e}));(null==t?void 0:t.nativeFocusableElement)&&n.setNativeFocused(t.nativeFocusableElement)}},u.prototype.onElementKeyDownArrowRight=function(e){if(e!==this.elements.last){var t=this.elements.find((function(t,n,i){return i[n-1]===e}));(null==t?void 0:t.nativeFocusableElement)&&n.setNativeFocused(t.nativeFocusableElement)}},u.prototype.onArrowClick=function(e){this.tryChangeTo(e),this.focusActive()},u.prototype.onActiveZone=function(e){this.updateFocused(e)},Object.defineProperty(u.prototype,"reverseIndex",{get:function(){return this.lastIndex-this.index},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"maxHalfLength",{get:function(){return this.sidePadding+1+this.activePadding},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"itemsFit",{get:function(){return this.length<=this.maxElementsLength},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"maxElementsLength",{get:function(){return 2*this.maxHalfLength+1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"lastIndex",{get:function(){return this.length-1},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"lastElementIndex",{get:function(){return this.elementsLength-1},enumerable:!0,configurable:!0}),u.prototype.hasCollapsedItems=function(e){return!this.itemsFit&&e>this.maxHalfLength},u.prototype.tryChangeTo=function(e){this.updateIndex(n.clamp(this.index+r.tuiHorizontalDirectionToNumber(e),0,this.lastIndex))},u.prototype.focusActive=function(){var e=this.nativeFocusableElement;e&&n.setNativeFocused(e)},u.prototype.updateIndex=function(e){this.index!==e&&(this.index=e,this.indexChange.emit(e))},u.ctorParameters=function(){return[{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:i.TuiModeDirective,decorators:[{type:t.Optional},{type:t.Inject,args:[i.TuiModeDirective]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_PAGINATION_TEXTS]}]}]},c([t.ViewChildren("element",{read:n.TUI_FOCUSABLE_ITEM_ACCESSOR})],u.prototype,"elements",void 0),c([t.Input(),n.tuiDefaultProp(p,"Must be non-negative integer")],u.prototype,"length",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"size",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"disabled",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"activePadding",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"sidePadding",void 0),c([t.Input(),n.tuiDefaultProp()],u.prototype,"content",void 0),c([t.Input(),n.tuiDefaultProp(p,"Must be non-negative integer")],u.prototype,"index",void 0),c([t.Output()],u.prototype,"indexChange",void 0),u=l=c([t.Component({selector:"tui-pagination",template:'<div\n class="t-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="t-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="t-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="t-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="t-button t-button_small"\n [class.t-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="t-dots"\n ></div>\n </ng-template>\n</div>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:n.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return l}))}],styles:[":host{font:var(--tui-font-text-s);color:var(--tui-text-01);display:block;text-align:center}.t-content{display:flex;justify-content:center}.t-button{margin:0 .125rem;flex-shrink:0}.t-button_active{background:currentColor}.t-button.t-button.t-button_small{width:.5rem;height:.5rem;margin:0}.t-button.t-button.t-button_small:not(:first-child){margin-left:.5rem}.t-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}.t-dots:before{content:'\\2026'}"]}),d(0,t.Inject(t.ElementRef)),d(1,t.Optional()),d(1,t.Inject(i.TuiModeDirective)),d(2,t.Inject(o.TUI_PAGINATION_TEXTS))],u)}(n.AbstractTuiInteractive),m=function(){function e(){}return e=c([t.NgModule({imports:[u.CommonModule,n.TuiRepeatTimesModule,n.TuiLetModule,l.PolymorpheusModule,n.TuiPreventDefaultModule,n.TuiActiveZoneModule,i.TuiButtonModule],declarations:[f],exports:[f]})],e)}();e.TuiPaginationComponent=f,e.TuiPaginationModule=m,e.nonNegativeInteger=p,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-pagination.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/pagination/pagination.component.ts","ng://@taiga-ui/kit/components/pagination/pagination.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","nonNegativeInteger","Number","isInteger","TuiPaginationComponent","elementRef","modeDirective","texts$","_this","_super","this","elements","EMPTY_QUERY","size","disabled","activePadding","sidePadding","content","index","indexChange","EventEmitter","TypeError","String","__","constructor","__extends","activeElementIndex","elementsLength","itemIndex","getItemIndexByElementIndex","activeElement","find","_","nativeFocusableElement","isNativeFocusedIn","nativeElement","itemsFit","maxElementsLength","mode","reverseIndex","elementIsFocusable","focused","getItemContext","$implicit","elementIndex","sizeM","hasCollapsedItems","reverseElementIndex","lastElementIndex","lastIndex","computedIndex","maxHalfLength","clamp","getElementMode","getSmallElementMode","onElementClick","updateIndex","onElementKeyDownArrowLeft","element","first","previous","array","setNativeFocused","onElementKeyDownArrowRight","last","next","onArrowClick","direction","tryChangeTo","focusActive","onActiveZone","updateFocused","tuiHorizontalDirectionToNumber","emit","ElementRef","type","Inject","args","TuiModeDirective","Optional","Observable","TUI_PAGINATION_TEXTS","ViewChildren","read","TUI_FOCUSABLE_ITEM_ACCESSOR","Input","tuiDefaultProp","Output","TuiPaginationComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","useExisting","forwardRef","AbstractTuiInteractive","TuiPaginationModule","NgModule","imports","CommonModule","TuiRepeatTimesModule","TuiLetModule","PolymorpheusModule","TuiPreventDefaultModule","TuiActiveZoneModule","TuiButtonModule","declarations","exports"],"mappings":"04BAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2Hd,EAAvHe,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOZ,OAAOiB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX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AAAA,aAAa,UAAW,CAACC,KAAMC,EAAAA,8DAKhCrG,EAAA,CAFCsG,EAAAA,QACAC,EAAAA,eAAerF,EAAoB,8DAKpClB,EAAA,CAFCsG,EAAAA,QACAC,EAAAA,6CAKDvG,EAAA,CAFCsG,EAAAA,QACAC,EAAAA,iDAQDvG,EAAA,CAFCsG,EAAAA,QACAC,EAAAA,sDAQDvG,EAAA,CAFCsG,EAAAA,QACAC,EAAAA,oDAQDvG,EAAA,CAFCsG,EAAAA,QACAC,EAAAA,gDAQDvG,EAAA,CAFCsG,EAAAA,QACAC,EAAAA,eAAerF,EAAoB,6DAIpClB,EAAA,CADCwG,EAAAA,4CA/CQnF,EAAsBoF,EAAAzG,EAAA,CAZlC0G,EAAAA,UAAU,CACPC,SAAU,iBACVC,SAAA,uzGAEAC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,UAAW,CACP,CACIC,QAASZ,EAAAA,4BACTa,YAAaC,EAAAA,YAAW,WAAM,OAAAV,ilBAuDjC3F,EAAA,EAAA+E,EAAAA,OAAOF,EAAAA,aACP7E,EAAA,EAAAkF,EAAAA,YACAlF,EAAA,EAAA+E,EAAAA,OAAOE,EAAAA,mBAEPjF,EAAA,EAAA+E,EAAAA,OAAOK,EAAAA,wBAvDH7E,IACD+F,EAAAA,qCClCZ,SAAAC,KAAkC,OAArBA,EAAmBrH,EAAA,CAb/BsH,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,qBACAC,EAAAA,aACAC,EAAAA,mBACAC,EAAAA,wBACAC,EAAAA,oBACAC,EAAAA,iBAEJC,aAAc,CAAC1G,GACf2G,QAAS,CAAC3G,MAEDgG","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n Component,\n 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"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@taiga-ui/core"),require("@tinkoff/ng-polymorpheus"),require("rxjs"),require("@taiga-ui/cdk"),require("@taiga-ui/cdk/services"),require("@angular/common")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/pdf-viewer",["exports","@angular/core","@taiga-ui/core","@tinkoff/ng-polymorpheus","rxjs","@taiga-ui/cdk","@taiga-ui/cdk/services","@angular/common"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].kit=t["taiga-ui"].kit||{},t["taiga-ui"].kit.components=t["taiga-ui"].kit.components||{},t["taiga-ui"].kit.components["pdf-viewer"]={}),t.ng.core,t.core$1,t.ngPolymorpheus,t.rxjs,t.cdk,t.services,t.ng.common)}(this,(function(t,e,n,o,i,r,c,a){"use strict";var u=function(t,e){return(u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(t,e)};function s(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}u(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var p=function(){return(p=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function l(t,e,n,o){var i,r=arguments.length,c=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,n,o);else for(var a=t.length-1;a>=0;a--)(i=t[a])&&(c=(r<3?i(c):r>3?i(e,n,c):i(e,n))||c);return r>3&&c&&Object.defineProperty(e,n,c),c}function d(t,e){return function(n,o){e(n,o,t)}}Object.create;Object.create;var f=function(){function t(t,e,n){this.options=t,this.closeWord$=e,this.context=n,this.animation=p({value:""},this.options)}return t.prototype.onKeyDownEsc=function(){this.context.$implicit.complete()},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[n.TUI_ANIMATION_OPTIONS]}]},{type:i.Observable,decorators:[{type:e.Inject,args:[n.TUI_CLOSE_WORD]}]},{type:void 0,decorators:[{type:e.Inject,args:[o.POLYMORPHEUS_CONTEXT]}]}]},l([e.HostBinding("@tuiSlideInTop"),e.HostBinding("@tuiFadeIn")],t.prototype,"animation",void 0),l([e.HostListener("document:keydown.esc")],t.prototype,"onKeyDownEsc",null),t=l([e.Component({selector:"tui-pdf-viewer",template:'<header class="t-header">\n <h2 class="t-title">{{ context.label }}</h2>\n <div\n polymorpheus-outlet\n class="t-actions"\n [content]="context.actions"\n [context]="context"\n ></div>\n <button\n tuiIconButton\n shape="rounded"\n appearance=""\n size="s"\n icon="tuiIconCloseLarge"\n class="t-close"\n [title]="closeWord$ | async"\n (click)="context.$implicit.complete()"\n ></button>\n</header>\n<section\n polymorpheus-outlet\n class="t-content"\n [content]="context.content"\n [context]="context"\n>\n <ng-template let-content>\n <iframe\n class="t-iframe"\n [src]="content"\n ></iframe>\n </ng-template>\n</section>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,animations:[n.tuiSlideInTop,n.tuiFadeIn],styles:[":host{display:block;width:100%;height:100%;box-sizing:border-box;color:var(--tui-text-01-night);background:#333639}.t-header{display:flex;align-items:center;height:4rem;padding:0 1rem 0 1.5625rem;box-shadow:inset 0 -1px #535659}.t-title{margin:0;font:var(--tui-font-text-m)}.t-actions{display:flex;margin-left:auto}.t-close{transition-property:background;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;margin-left:.75rem;color:var(--tui-text-01-night);background:rgba(255,255,255,.32)}.t-close:hover{background:rgba(255,255,255,.4)}.t-content{height:calc(100% - 4rem);overflow:hidden}.t-iframe{width:100%;height:100%}"]}),d(0,e.Inject(n.TUI_ANIMATION_OPTIONS)),d(1,e.Inject(n.TUI_CLOSE_WORD)),d(2,e.Inject(o.POLYMORPHEUS_CONTEXT))],t)}(),g=new o.PolymorpheusComponent(f),m={label:"",actions:""},h=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.component=g,e.defaultOptions=m,e}return s(n,t),n.prototype.open=function(e,n){return void 0===n&&(n={}),t.prototype.open.call(this,e,n)},n.ɵprov=e.ɵɵdefineInjectable({factory:function(){return new n(e.ɵɵinject(c.TuiIdService))},token:n,providedIn:"root"}),n=l([e.Injectable({providedIn:"root"})],n)}(r.AbstractTuiDialogService),y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}return s(n,t),n=l([e.Directive({selector:"ng-template[tuiPdfViewer]",providers:[{provide:r.AbstractTuiDialogService,useExisting:h}],inputs:["options: tuiPdfViewerOptions","open: tuiPdfViewer"],outputs:["openChange: tuiPdfViewerChange"]})],n)}(r.AbstractTuiDialogDirective),v=function(){function t(){}return t=l([e.NgModule({imports:[a.CommonModule,n.TuiButtonModule,o.PolymorpheusModule],declarations:[f,y],exports:[f,y],providers:[{provide:r.TUI_DIALOGS,useExisting:h,multi:!0}],entryComponents:[f]})],t)}();t.TuiPdfViewerComponent=f,t.TuiPdfViewerDirective=y,t.TuiPdfViewerModule=v,t.TuiPdfViewerService=h,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-pdf-viewer.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/pdf-viewer/pdf-viewer.component.ts","ng://@taiga-ui/kit/components/pdf-viewer/pdf-viewer.service.ts","ng://@taiga-ui/kit/components/pdf-viewer/pdf-viewer.directive.ts","ng://@taiga-ui/kit/components/pdf-viewer/pdf-viewer.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__assign","assign","t","s","i","n","arguments","length","apply","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","TuiPdfViewerComponent","options","closeWord$","context","animation","value","onKeyDownEsc","$implicit","complete","Inject","args","TUI_ANIMATION_OPTIONS","Observable","type","TUI_CLOSE_WORD","POLYMORPHEUS_CONTEXT","HostBinding","HostListener","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","animations","tuiSlideInTop","tuiFadeIn","DIALOG","PolymorpheusComponent","DEFAULT_OPTIONS","label","actions","TuiPdfViewerService","_this","_super","component","defaultOptions","open","content","Injectable","providedIn","AbstractTuiDialogService","TuiPdfViewerDirective","Directive","providers","provide","useExisting","inputs","outputs","AbstractTuiDialogDirective","TuiPdfViewerModule","NgModule","imports","CommonModule","TuiButtonModule","PolymorpheusModule","declarations","exports","TUI_DIALOGS","multi","entryComponents"],"mappings":"qyBAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,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AsE,KAAA,SACIC,EACArC,GAEA,YAFA,IAAAA,IAAAA,EAAA,IAEOiC,EAAAnE,UAAMsE,KAAIpE,KAAAK,KAACgE,EAAuBrC,2HAXpC+B,EAAmB9C,EAAA,CAH/BqD,EAAAA,WAAW,CACRC,WAAY,UAEHR,IAA4BS,EAAAA,wCCFzC,SAAAC,mDAEG,OAF2CxE,EAAAwE,EAAAR,GAAjCQ,EAAqBxD,EAAA,CAXjCyD,EAAAA,UAAU,CACPxB,SAAU,4BACVyB,UAAW,CACP,CACIC,QAASJ,EAAAA,yBACTK,YAAad,IAGrBe,OAAQ,CAAC,+BAAgC,sBACzCC,QAAS,CAAC,qCAEDN,IAAiCO,EAAAA,yCCM9C,SAAAC,KAAiC,OAApBA,EAAkBhE,EAAA,CAb9BiE,EAAAA,SAAS,CACNC,QAAS,CAACC,EAAAA,aAAcC,EAAAA,gBAAiBC,EAAAA,oBACzCC,aAAc,CAACxD,EAAuB0C,GACtCe,QAAS,CAACzD,EAAuB0C,GACjCE,UAAW,CACP,CACIC,QAASa,EAAAA,YACTZ,YAAad,EACb2B,OAAO,IAGfC,gBAAiB,CAAC5D,MAETkD","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {AnimationOptions} from '@angular/animations';\nimport {\n ChangeDetectionStrategy,\n Component,\n HostBinding,\n HostListener,\n Inject,\n} from '@angular/core';\nimport {TuiDialog} from '@taiga-ui/cdk';\nimport {\n TUI_ANIMATION_OPTIONS,\n TUI_CLOSE_WORD,\n tuiFadeIn,\n tuiSlideInTop,\n} from '@taiga-ui/core';\nimport {POLYMORPHEUS_CONTEXT} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {TuiPdfViewerOptions} from './pdf-viewer-options';\n\n@Component({\n selector: `tui-pdf-viewer`,\n templateUrl: `./pdf-viewer.template.html`,\n styleUrls: [`./pdf-viewer.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiSlideInTop, tuiFadeIn],\n})\nexport class TuiPdfViewerComponent<I, O> {\n @HostBinding(`@tuiSlideInTop`)\n @HostBinding(`@tuiFadeIn`)\n readonly animation = {value: ``, ...this.options} as const;\n\n constructor(\n @Inject(TUI_ANIMATION_OPTIONS) private readonly options: AnimationOptions,\n @Inject(TUI_CLOSE_WORD) readonly closeWord$: Observable<string>,\n @Inject(POLYMORPHEUS_CONTEXT)\n readonly context: TuiDialog<TuiPdfViewerOptions<I>, O>,\n ) {}\n\n @HostListener(`document:keydown.esc`)\n onKeyDownEsc(): void {\n this.context.$implicit.complete();\n }\n}\n","import {Injectable} from '@angular/core';\nimport {SafeResourceUrl} from '@angular/platform-browser';\nimport {AbstractTuiDialogService, TuiBaseDialogContext} from '@taiga-ui/cdk';\nimport {PolymorpheusComponent, PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {TuiPdfViewerComponent} from './pdf-viewer.component';\nimport {TuiPdfViewerOptions} from './pdf-viewer-options';\n\nconst DIALOG = new PolymorpheusComponent(TuiPdfViewerComponent);\nconst DEFAULT_OPTIONS = {label: ``, actions: ``} as const;\n\ntype Content<G> = PolymorpheusContent<\n TuiBaseDialogContext<G> & TuiPdfViewerOptions<unknown>\n>;\n\n@Injectable({\n providedIn: `root`,\n})\nexport class TuiPdfViewerService extends AbstractTuiDialogService<\n TuiPdfViewerOptions<unknown>\n> {\n protected readonly component = DIALOG;\n protected readonly defaultOptions: TuiPdfViewerOptions<unknown> =\n DEFAULT_OPTIONS as TuiPdfViewerOptions<unknown>;\n\n open<G>(\n content: SafeResourceUrl | Content<G>,\n options: Partial<TuiPdfViewerOptions<any>> = {},\n ): Observable<G> {\n return super.open(content as Content<G>, options);\n }\n}\n","import {Directive} from '@angular/core';\nimport {AbstractTuiDialogDirective, AbstractTuiDialogService} from '@taiga-ui/cdk';\n\nimport {TuiPdfViewerService} from './pdf-viewer.service';\nimport {TuiPdfViewerOptions} from './pdf-viewer-options';\n\n@Directive({\n selector: `ng-template[tuiPdfViewer]`,\n providers: [\n {\n provide: AbstractTuiDialogService,\n useExisting: TuiPdfViewerService,\n },\n ],\n inputs: [`options: tuiPdfViewerOptions`, `open: tuiPdfViewer`],\n outputs: [`openChange: tuiPdfViewerChange`],\n})\nexport class TuiPdfViewerDirective<T> extends AbstractTuiDialogDirective<\n TuiPdfViewerOptions<T>\n> {}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TUI_DIALOGS} from '@taiga-ui/cdk';\nimport {TuiButtonModule} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiPdfViewerComponent} from './pdf-viewer.component';\nimport {TuiPdfViewerDirective} from './pdf-viewer.directive';\nimport {TuiPdfViewerService} from './pdf-viewer.service';\n\n@NgModule({\n imports: [CommonModule, TuiButtonModule, PolymorpheusModule],\n declarations: [TuiPdfViewerComponent, TuiPdfViewerDirective],\n exports: [TuiPdfViewerComponent, TuiPdfViewerDirective],\n providers: [\n {\n provide: TUI_DIALOGS,\n useExisting: TuiPdfViewerService,\n multi: true,\n },\n ],\n entryComponents: [TuiPdfViewerComponent],\n})\nexport class TuiPdfViewerModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/common"),require("@angular/core"),require("@taiga-ui/cdk"),require("@ng-web-apis/common"),require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/progress",["exports","@angular/common","@angular/core","@taiga-ui/cdk","@ng-web-apis/common","rxjs","rxjs/operators"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components.progress={}),e.ng.common,e.ng.core,e.cdk,e.common$1,e.rxjs,e.rxjs.operators)}(this,(function(e,t,r,o,n,s,i){"use strict";var a=function(e,t){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function c(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}a(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}function u(e,t,r,o){var n,s=arguments.length,i=s<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,o);else for(var a=e.length-1;a>=0;a--)(n=e[a])&&(i=(s<3?n(i):s>3?n(t,r,i):n(t,r))||i);return s>3&&i&&Object.defineProperty(t,r,i),i}function l(e,t){return function(r,o){t(r,o,e)}}Object.create;Object.create;var p=function(){function e(){this.size="m"}return u([r.Input(),r.HostBinding("style.--tui-progress-color")],e.prototype,"color",void 0),u([r.Input(),r.HostBinding("attr.data-size"),o.tuiDefaultProp()],e.prototype,"size",void 0),e=u([r.Component({selector:"progress[tuiProgressBar]",template:"",changeDetection:r.ChangeDetectionStrategy.OnPush,styles:[":host{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;color:var(--tui-progress-color,currentColor);background-color:var(--tui-base-03);display:block;width:100%;color:var(--tui-primary);border-radius:var(--tui-radius-xs);overflow:hidden}:host::-webkit-progress-value{-webkit-transition:width var(--tui-duration) linear;transition:width var(--tui-duration) linear;background:var(--tui-progress-color,currentColor)}:host::-moz-progress-bar{background:var(--tui-progress-color,currentColor)}:host::-webkit-progress-bar{background-color:var(--tui-base-03)}:host[data-size='m']{height:1.5rem}:host[data-size='s']{border-radius:var(--tui-radius-xs);height:.5rem}:host[data-size='s']::-webkit-progress-value{border-radius:var(--tui-radius-xs)}:host[data-size='s']::-moz-progress-bar{border-radius:var(--tui-radius-xs)}:host-context(label[tuiProgressLabel]):not(:first-child){position:absolute;top:0;left:0;width:100%;height:100%;background-color:transparent}:host-context(label[tuiProgressLabel]):not(:first-child)::-webkit-progress-bar{background-color:transparent}"]})],e)}(),g=function(e,t){var r=Math.ceil(t/e.length);return"linear-gradient(to right "+e.reduce((function(e,t,n){return e+", "+t+" "+o.px(n*r)+" "+o.px((n+1)*r)}),"")+")"},d=function(){function e(e,t,r){this.elementRef=e,this.resize$=t,this.userAgent=r,this.isOldBrowsers=o.isEdgeOlderThan(o.CHROMIUM_EDGE_START_VERSION,this.userAgent)||o.isIE(this.userAgent),this.colors=[]}return Object.defineProperty(e.prototype,"calcSegments$",{get:function(){var e=this;return this.resize$.pipe(i.map((function(){return e.isOldBrowsers?e.colors[0]:g(e.colors,e.elementRef.nativeElement.offsetWidth)})))},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:r.ElementRef,decorators:[{type:r.Inject,args:[r.ElementRef]}]},{type:s.Observable,decorators:[{type:r.Inject,args:[o.TuiResizeService]}]},{type:String,decorators:[{type:r.Inject,args:[n.USER_AGENT]}]}]},u([r.Input("tuiProgressColorSegments")],e.prototype,"colors",void 0),u([o.tuiPure],e.prototype,"calcSegments$",null),e=u([r.Directive({selector:"progress[tuiProgressBar][tuiProgressColorSegments]",host:{"[$.style.--tui-progress-color]":"calcSegments$","($.style.--tui-progress-color)":"0"},providers:[o.TuiDestroyService,o.TuiResizeService]}),l(0,r.Inject(r.ElementRef)),l(1,r.Inject(o.TuiResizeService)),l(2,r.Inject(n.USER_AGENT))],e)}(),h=function(){function e(e,t,r){this.userAgent=e,this.windowRef=t,this.elementRef=r,this.value=0,this.max=1,this.color=null,this.size="m"}return Object.defineProperty(e.prototype,"progressPercentage",{get:function(){return this.value/this.max},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"oldEdgeRadiusFallback",{get:function(){if(!o.isEdgeOlderThan(o.CHROMIUM_EDGE_START_VERSION,this.userAgent))return null;var e=parseInt(this.windowRef.getComputedStyle(this.progressCircle.nativeElement).strokeWidth,10);return(this.elementRef.nativeElement.offsetWidth-e)/2},enumerable:!0,configurable:!0}),e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[n.USER_AGENT]}]},{type:Window,decorators:[{type:r.Inject,args:[n.WINDOW]}]},{type:r.ElementRef,decorators:[{type:r.Inject,args:[r.ElementRef]}]}]},u([r.ViewChild("progressCircle",{static:!0})],e.prototype,"progressCircle",void 0),u([r.Input(),o.tuiDefaultProp()],e.prototype,"value",void 0),u([r.Input(),o.tuiDefaultProp()],e.prototype,"max",void 0),u([r.Input(),r.HostBinding("style.--tui-progress-color"),o.tuiDefaultProp()],e.prototype,"color",void 0),u([r.Input(),r.HostBinding("attr.data-size"),o.tuiDefaultProp()],e.prototype,"size",void 0),u([r.HostBinding("style.--progress-percentage")],e.prototype,"progressPercentage",null),e=u([r.Component({selector:"tui-progress-circle",template:'<progress\n class="t-hidden-progress"\n [value]="value"\n [max]="max"\n></progress>\n\n<svg\n height="100%"\n width="100%"\n aria-hidden="true"\n class="t-svg"\n>\n <circle\n cx="50%"\n cy="50%"\n class="t-track"\n [attr.r]="oldEdgeRadiusFallback"\n ></circle>\n\n <circle\n #progressCircle\n cx="50%"\n cy="50%"\n class="t-progress"\n [attr.r]="oldEdgeRadiusFallback"\n ></circle>\n</svg>\n',changeDetection:r.ChangeDetectionStrategy.OnPush,styles:[":host{position:relative;display:block;color:var(--tui-primary);transform:rotate(-90deg);transform-origin:center;font-size:1rem}:host[data-size='s']{width:2em;height:2em}:host[data-size='s'] .t-track{\n r: 0.75em;\n stroke-width:.5em}:host[data-size='s'] .t-progress{\n r: 0.75em;\n stroke-width:.5em;stroke-dasharray:4.71238898em;stroke-dashoffset:calc(4.71238898em - var(--progress-percentage) * 4.71238898em)}:host[data-size='m']{width:3em;height:3em}:host[data-size='m'] .t-track{\n r: 1.375em;\n stroke-width:.25em}:host[data-size='m'] .t-progress{\n r: 1.3125em;\n stroke-width:.375em;stroke-dasharray:8.24668072em;stroke-dashoffset:calc(8.24668072em - var(--progress-percentage) * 8.24668072em)}:host[data-size='l']{width:4em;height:4em}:host[data-size='l'] .t-track{\n r: 1.875em;\n stroke-width:.25em}:host[data-size='l'] .t-progress{\n r: 1.8125em;\n stroke-width:.375em;stroke-dasharray:11.38827337em;stroke-dashoffset:calc(11.38827337em - var(--progress-percentage) * 11.38827337em)}:host[data-size=xl]{width:7em;height:7em}:host[data-size=xl] .t-track{\n r: 3.375em;\n stroke-width:.25em}:host[data-size=xl] .t-progress{\n r: 3.3125em;\n stroke-width:.375em;stroke-dasharray:20.81305133em;stroke-dashoffset:calc(20.81305133em - var(--progress-percentage) * 20.81305133em)}.t-track{fill:transparent;stroke:var(--tui-base-03)}.t-progress{fill:transparent;stroke:var(--tui-progress-color,currentColor);transition:stroke-dashoffset var(--tui-duration) linear}.t-hidden-progress{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0}.t-svg{overflow:unset}"]}),l(0,r.Inject(n.USER_AGENT)),l(1,r.Inject(n.WINDOW)),l(2,r.Inject(r.ElementRef))],e)}(),m=function(){function e(){}return e=u([r.Component({selector:"label[tuiProgressLabel]",template:'<ng-content select="progress"></ng-content>\n<ng-content select="tui-progress-circle"></ng-content>\n<span class="t-label">\n <ng-content></ng-content>\n</span>\n',changeDetection:r.ChangeDetectionStrategy.OnPush,styles:[":host{position:relative;display:inline-block}.t-label{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;font:var(--tui-font-text-s);color:var(--tui-text-01);flex-direction:column;justify-content:center;align-items:center}"]})],e)}();function f(e){return Number.isInteger(e)&&e>=0}function y(e){return Number.isInteger(e)&&e>0}var v=function(){function e(){this.value=0,this.max=1,this.size="m",this.colors="var(--tui-primary)"}return e.prototype.getActiveColor=function(e){return void 0===e&&(e=0),"string"==typeof this.colors?this.colors:this.colors[e]||this.colors[this.colors.length-1]},u([r.Input(),o.tuiDefaultProp(f,"Must be non-negative integer between 0 and max")],e.prototype,"value",void 0),u([r.Input(),o.tuiDefaultProp(y,"Must be positive integer")],e.prototype,"max",void 0),u([r.Input(),r.HostBinding("attr.data-size")],e.prototype,"size",void 0),u([r.Input(),o.tuiDefaultProp()],e.prototype,"colors",void 0),e=u([r.Component({selector:"tui-progress-segmented",template:'<progress\n class="t-hidden-progress"\n [value]="value"\n [max]="max"\n></progress>\n\n<span\n *tuiRepeatTimes="let index of max"\n aria-hidden="true"\n class="t-segment"\n [style.background]="index < value ? getActiveColor(index) : null"\n></span>\n',changeDetection:r.ChangeDetectionStrategy.OnPush,styles:[":host{display:flex}.t-segment{transition-property:background-color;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;flex:1 1 100%;border-radius:var(--tui-radius-xs);background-color:var(--tui-base-03)}.t-segment:not(:last-child){margin-right:.25rem}:host[data-size='s'] .t-segment{height:.25rem}:host[data-size='m'] .t-segment{height:.5rem}.t-hidden-progress{position:absolute;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;width:1px;margin:-1px;overflow:hidden;padding:0}"]})],e)}(),b=function(){function e(e,t){this.userAgent=e,this.elementRef=t,this.isOldBrowsers=o.isEdgeOlderThan(o.CHROMIUM_EDGE_START_VERSION,this.userAgent)||o.isIE(this.userAgent)}return e.prototype.calculate=function(e){if(this.isOldBrowsers)return e[0];var t=this.elementRef.nativeElement.offsetWidth;return g(e,t)},e.ctorParameters=function(){return[{type:String,decorators:[{type:r.Inject,args:[n.USER_AGENT]}]},{type:r.ElementRef,decorators:[{type:r.Inject,args:[r.ElementRef]}]}]},e=u([r.Injectable(),l(0,r.Inject(n.USER_AGENT)),l(1,r.Inject(r.ElementRef))],e)}(),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.transform=function(e){return this.calculate(e)},t=u([r.Pipe({name:"tuiProgressColorSegments"})],t)}(b),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),t.prototype.transform=function(e){var t=this;return s.timer(0).pipe(i.map((function(){return t.calculate(e)})))},t=u([r.Pipe({name:"tuiProgressColorSegmentsAsync"})],t)}(b),w=function(){function e(){}return e=u([r.NgModule({imports:[t.CommonModule,o.TuiRepeatTimesModule],declarations:[p,d,x,k,h,m,v],exports:[p,h,d,x,k,m,v]})],e)}();e.AbstractTuiColorSegments=b,e.TuiProgressBarComponent=p,e.TuiProgressCircleComponent=h,e.TuiProgressColorSegmentsAsyncPipe=k,e.TuiProgressColorSegmentsDirective=d,e.TuiProgressColorSegmentsPipe=x,e.TuiProgressLabelComponent=m,e.TuiProgressModule=w,e.TuiProgressSegmentedComponent=v,e.nonNegativeInt=f,e.positiveInt=y,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-progress.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/progress/progress-bar/progress-bar.component.ts","ng://@taiga-ui/kit/components/progress/utils/calculate-color-segments.ts","ng://@taiga-ui/kit/components/progress/progress-bar/progress-color-segments.directive.ts","ng://@taiga-ui/kit/components/progress/progress-circle/progress-circle.component.ts","ng://@taiga-ui/kit/components/progress/progress-label/progress-label.component.ts","ng://@taiga-ui/kit/components/progress/progress-segmented/progress-segmented.component.ts","ng://@taiga-ui/kit/components/progress/utils/abstract-color-segments.ts","ng://@taiga-ui/kit/components/progress/utils/progress-color-segments.pipe.ts","ng://@taiga-ui/kit/components/progress/utils/progress-color-segments-async.pipe.ts","ng://@taiga-ui/kit/components/progress/progress.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__extends","TypeError","String","__","this","constructor","create","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","TuiProgressBarComponent","size","Input","HostBinding","tuiDefaultProp","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","calculateColorSegments","colors","progressWidth","segmentWidth","Math","ceil","reduce","acc","color","px","TuiProgressColorSegmentsDirective","elementRef","resize$","userAgent","isOldBrowsers","isEdgeOlderThan","CHROMIUM_EDGE_START_VERSION","isIE","_this","pipe","map","nativeElement","offsetWidth","ElementRef","type","Inject","args","Observable","TuiResizeService","USER_AGENT","tuiPure","Directive","host","[$.style.--tui-progress-color]","($.style.--tui-progress-color)","providers","TuiDestroyService","TuiProgressCircleComponent","windowRef","value","max","strokeWidth","parseInt","getComputedStyle","progressCircle","Window","WINDOW","ViewChild","static","TuiProgressLabelComponent","nonNegativeInt","Number","isInteger","positiveInt","TuiProgressSegmentedComponent","getActiveColor","index","AbstractTuiColorSegments","calculate","elementWidth","Injectable","TuiProgressColorSegmentsPipe","_super","transform","Pipe","name","TuiProgressColorSegmentsAsyncPipe","timer","TuiProgressModule","NgModule","imports","CommonModule","TuiRepeatTimesModule","declarations","exports"],"mappings":"8sBAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAGrB,SAASS,EAAUV,EAAGC,GACzB,GAAiB,mBAANA,GAA0B,OAANA,EAC3B,MAAM,IAAIU,UAAU,uBAAyBC,OAAOX,GAAK,iCAE7D,SAASY,IAAOC,KAAKC,YAAcf,EADnCD,EAAcC,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaC,OAAOc,OAAOf,IAAMY,EAAGN,UAAYN,EAAEM,UAAW,IAAIM,GA0B5E,SAASI,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HrB,EAAvHsB,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOnB,OAAOwB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAS7B,EAAIkB,EAAWW,MAAIJ,GAAKH,EAAI,EAAItB,EAAEyB,GAAKH,EAAI,EAAItB,EAAEmB,EA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,UAAA,SAAU9D,GAAV,IAAAiB,EAAAjD,KACI,OAAOkG,EAAAA,MAAM,GAAGhD,KAAKC,EAAAA,KAAI,WAAM,OAAAF,EAAKwC,UAAUzD,QATzCiE,EAAiC9F,EAAA,CAD7C4F,EAAAA,KAAK,CAACC,KAAM,mCACAC,IAA0CT,gBCyBvD,SAAAW,KAAgC,OAAnBA,EAAiBhG,EAAA,CArB7BiG,EAAAA,SAAS,CACNC,QAAS,CAACC,EAAAA,aAAcC,EAAAA,sBACxBC,aAAc,CACVpF,EACAqB,EACAmD,EACAK,EACA7B,EACAY,EACAK,GAEJoB,QAAS,CACLrF,EACAgD,EACA3B,EACAmD,EACAK,EACAjB,EACAK,MAGKc","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\n\n@Component({\n selector: `progress[tuiProgressBar]`,\n template: ``,\n styleUrls: [`./progress-bar.component.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiProgressBarComponent {\n @Input()\n @HostBinding(`style.--tui-progress-color`)\n color?: string;\n\n @Input()\n @HostBinding(`attr.data-size`)\n @tuiDefaultProp()\n size: TuiSizeS = `m`;\n}\n","/**\n * TODO: 3.0 move inside {@link TuiProgressColorSegmentsDirective} (as a private method)\n * (after deletion of {@link TuiProgressColorSegmentsPipe} and {@link TuiProgressColorSegmentsAsyncPipe})\n */\nimport {px} from '@taiga-ui/cdk';\n\nexport const calculateColorSegments = (\n colors: string[],\n progressWidth: number,\n): string => {\n const segmentWidth = Math.ceil(progressWidth / colors.length);\n const colorsString = colors.reduce(\n (acc, color, i) =>\n `${acc}, ${color} ${px(i * segmentWidth)} ${px((i + 1) * segmentWidth)}`,\n ``,\n );\n\n return `linear-gradient(to right ${colorsString})`;\n};\n","import {Directive, ElementRef, Inject, Input} from '@angular/core';\nimport {USER_AGENT} from '@ng-web-apis/common';\nimport {\n CHROMIUM_EDGE_START_VERSION,\n isEdgeOlderThan,\n isIE,\n TuiDestroyService,\n tuiPure,\n TuiResizeService,\n} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {calculateColorSegments} from '../utils/calculate-color-segments';\n\n@Directive({\n selector: `progress[tuiProgressBar][tuiProgressColorSegments]`,\n host: {\n '[$.style.--tui-progress-color]': `calcSegments$`,\n '($.style.--tui-progress-color)': `0`,\n },\n providers: [TuiDestroyService, TuiResizeService],\n})\nexport class TuiProgressColorSegmentsDirective {\n private readonly isOldBrowsers =\n isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent) ||\n isIE(this.userAgent);\n\n @Input(`tuiProgressColorSegments`)\n colors: string[] = [];\n\n @tuiPure\n get calcSegments$(): Observable<string> {\n return this.resize$.pipe(\n map(() =>\n this.isOldBrowsers\n ? this.colors[0]\n : calculateColorSegments(\n this.colors,\n this.elementRef.nativeElement.offsetWidth,\n ),\n ),\n );\n }\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLProgressElement>,\n @Inject(TuiResizeService) private readonly resize$: Observable<unknown>,\n @Inject(USER_AGENT) private readonly userAgent: string,\n ) {}\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n HostBinding,\n Inject,\n Input,\n ViewChild,\n} from '@angular/core';\nimport {USER_AGENT, WINDOW} from '@ng-web-apis/common';\nimport {\n CHROMIUM_EDGE_START_VERSION,\n isEdgeOlderThan,\n tuiDefaultProp,\n} from '@taiga-ui/cdk';\nimport {TuiSizeS, TuiSizeXL} from '@taiga-ui/core';\n\n// @dynamic\n@Component({\n selector: `tui-progress-circle`,\n templateUrl: `./progress-circle.template.html`,\n styleUrls: [`./progress-circle.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiProgressCircleComponent {\n @ViewChild(`progressCircle`, {static: true})\n private readonly progressCircle!: ElementRef<SVGCircleElement>;\n\n @Input()\n @tuiDefaultProp()\n value = 0;\n\n @Input()\n @tuiDefaultProp()\n max = 1;\n\n @Input()\n @HostBinding(`style.--tui-progress-color`)\n @tuiDefaultProp()\n color: string | null = null;\n\n @Input()\n @HostBinding(`attr.data-size`)\n @tuiDefaultProp()\n size: TuiSizeS | TuiSizeXL = `m`;\n\n @HostBinding(`style.--progress-percentage`)\n get progressPercentage(): number {\n return this.value / this.max;\n }\n\n get oldEdgeRadiusFallback(): number | null {\n if (!isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent)) {\n return null;\n }\n\n const strokeWidth = parseInt(\n this.windowRef.getComputedStyle(this.progressCircle.nativeElement)\n .strokeWidth,\n 10,\n );\n\n return (this.elementRef.nativeElement.offsetWidth - strokeWidth) / 2;\n }\n\n constructor(\n @Inject(USER_AGENT) private readonly userAgent: string,\n @Inject(WINDOW) private readonly windowRef: Window,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n ) {}\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\n\n@Component({\n selector: `label[tuiProgressLabel]`,\n templateUrl: `./progress-label.template.html`,\n styleUrls: [`./progress-label.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiProgressLabelComponent {}\n","import {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {tuiDefaultProp} from '@taiga-ui/cdk';\nimport {TuiSizeS} from '@taiga-ui/core';\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function nonNegativeInt(value: number): boolean {\n return Number.isInteger(value) && value >= 0;\n}\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function positiveInt(value: number): boolean {\n return Number.isInteger(value) && value > 0;\n}\n\n@Component({\n selector: `tui-progress-segmented`,\n templateUrl: `./progress-segmented.template.html`,\n styleUrls: [`./progress-segmented.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiProgressSegmentedComponent {\n @Input()\n @tuiDefaultProp(nonNegativeInt, `Must be non-negative integer between 0 and max`)\n value = 0;\n\n @Input()\n @tuiDefaultProp(positiveInt, `Must be positive integer`)\n max = 1;\n\n @Input()\n @HostBinding(`attr.data-size`)\n size: TuiSizeS = `m`;\n\n @Input()\n @tuiDefaultProp()\n colors: string | readonly string[] = `var(--tui-primary)`;\n\n getActiveColor(index: number = 0): string | null {\n return typeof this.colors === `string`\n ? this.colors\n : this.colors[index] || this.colors[this.colors.length - 1];\n }\n}\n","import {ElementRef, Inject, Injectable, PipeTransform} from '@angular/core';\nimport {USER_AGENT} from '@ng-web-apis/common';\nimport {CHROMIUM_EDGE_START_VERSION, isEdgeOlderThan, isIE} from '@taiga-ui/cdk';\n\nimport {calculateColorSegments} from './calculate-color-segments';\n\n// TODO: 3.0 delete\n@Injectable()\nexport abstract class AbstractTuiColorSegments<T> implements PipeTransform {\n private readonly isOldBrowsers =\n isEdgeOlderThan(CHROMIUM_EDGE_START_VERSION, this.userAgent) ||\n isIE(this.userAgent);\n\n constructor(\n @Inject(USER_AGENT) private readonly userAgent: string,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n ) {}\n\n abstract transform(colors: string[]): T;\n\n protected calculate(colors: string[]): string {\n if (this.isOldBrowsers) {\n return colors[0];\n }\n\n const elementWidth = this.elementRef.nativeElement.offsetWidth;\n\n return calculateColorSegments(colors, elementWidth);\n }\n}\n","import {Pipe} from '@angular/core';\n\nimport {AbstractTuiColorSegments} from './abstract-color-segments';\n\n// TODO: 3.0 delete\n@Pipe({name: `tuiProgressColorSegments`})\nexport class TuiProgressColorSegmentsPipe extends AbstractTuiColorSegments<string> {\n /**\n * @deprecated use tuiProgressColorSegments directive instead\n * {@link TuiProgressColorSegmentsDirective}\n * @example: `<progress tuiProgressBar [tuiProgressColorSegments]=\"colors\">`\n */\n transform(colors: string[]): string {\n return this.calculate(colors);\n }\n}\n","import {Pipe} from '@angular/core';\nimport {Observable, timer} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\nimport {AbstractTuiColorSegments} from './abstract-color-segments';\n\n// TODO: 3.0 delete\n@Pipe({name: `tuiProgressColorSegmentsAsync`})\nexport class TuiProgressColorSegmentsAsyncPipe extends AbstractTuiColorSegments<\n Observable<string>\n> {\n /**\n * @deprecated use tuiProgressColorSegments directive instead\n * {@link TuiProgressColorSegmentsDirective}\n * @example: `<progress tuiProgressBar [tuiProgressColorSegments]=\"colors\">`\n */\n transform(colors: string[]): Observable<string> {\n return timer(0).pipe(map(() => this.calculate(colors)));\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiRepeatTimesModule} from '@taiga-ui/cdk';\n\nimport {TuiProgressBarComponent} from './progress-bar/progress-bar.component';\nimport {TuiProgressColorSegmentsDirective} from './progress-bar/progress-color-segments.directive';\nimport {TuiProgressCircleComponent} from './progress-circle/progress-circle.component';\nimport {TuiProgressLabelComponent} from './progress-label/progress-label.component';\nimport {TuiProgressSegmentedComponent} from './progress-segmented/progress-segmented.component';\nimport {TuiProgressColorSegmentsPipe} from './utils/progress-color-segments.pipe';\nimport {TuiProgressColorSegmentsAsyncPipe} from './utils/progress-color-segments-async.pipe';\n\n@NgModule({\n imports: [CommonModule, TuiRepeatTimesModule],\n declarations: [\n TuiProgressBarComponent,\n TuiProgressColorSegmentsDirective,\n TuiProgressColorSegmentsPipe,\n TuiProgressColorSegmentsAsyncPipe,\n TuiProgressCircleComponent,\n TuiProgressLabelComponent,\n TuiProgressSegmentedComponent,\n ],\n exports: [\n TuiProgressBarComponent,\n TuiProgressCircleComponent,\n TuiProgressColorSegmentsDirective,\n TuiProgressColorSegmentsPipe,\n TuiProgressColorSegmentsAsyncPipe,\n TuiProgressLabelComponent,\n TuiProgressSegmentedComponent,\n ],\n})\nexport class TuiProgressModule {}\n"]}