@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,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/platform-browser"),require("@taiga-ui/cdk"),require("@taiga-ui/kit/tokens"),require("@taiga-ui/kit/utils/files"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@taiga-ui/core"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/files",["exports","@angular/core","@angular/platform-browser","@taiga-ui/cdk","@taiga-ui/kit/tokens","@taiga-ui/kit/utils/files","rxjs","rxjs/operators","@angular/common","@taiga-ui/core","@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.files={}),e.ng.core,e.ng.platformBrowser,e.cdk,e["taiga-ui"].kit.tokens,e["taiga-ui"].kit.utils.files,e.rxjs,e.rxjs.operators,e.ng.common,e.core$1,e.ngPolymorpheus)}(this,(function(e,t,n,i,o,r,a,s,l,u,c){"use strict";function p(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 s=e.length-1;s>=0;s--)(o=e[s])&&(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 f(e,t){return function(n,i){t(n,i,e)}}Object.create;Object.create;var d=function(){function e(e,n,i,o){this.isMobile=e,this.sanitizer=n,this.fileTexts$=i,this.units$=o,this.file={name:""},this.state="normal",this.size="m",this.showSize=!0,this.leftContent="",this.removed=new t.EventEmitter,this.focused=!1}return Object.defineProperty(e.prototype,"preview",{get:function(){return this.isBig?this.createPreview(this.file,this.sanitizer):""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isBig",{get:function(){return"l"===this.size},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isLoading",{get:function(){return"loading"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isError",{get:function(){return"error"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isDeleted",{get:function(){return"deleted"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"allowDelete",{get:function(){return!!this.removed.observers.length},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"icon",{get:function(){if("normal"===this.state&&this.isBig)return"tuiIconDefaultDocLarge";switch(this.state){case"deleted":return"tuiIconTrashLarge";case"error":return"tuiIconAlertCircleLarge";default:return"tuiIconCheckCircleLarge"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"src",{get:function(){return this.file.src||""},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"name",{get:function(){return this.getName(this.file)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"type",{get:function(){return this.getType(this.file)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"content$",{get:function(){return this.calculateContent$(this.state,this.file,this.fileTexts$)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"fileSize$",{get:function(){return this.calculateFileSize$(this.file,this.units$)},enumerable:!0,configurable:!0}),e.prototype.onRemoveClick=function(){this.removed.emit()},e.prototype.onFocusVisible=function(e){this.focused=e},e.prototype.calculateContent$=function(e,t,n){return"error"!==e||t.content?a.of(this.file.content||""):n.pipe(s.map((function(e){return e.loadingError})))},e.prototype.calculateFileSize$=function(e,t){return t.pipe(s.map((function(t){return r.formatSize(t,e.size)})))},e.prototype.createPreview=function(e,t){return e.src?e.src:e instanceof File&&e.type&&e.type.startsWith("image/")?t.bypassSecurityTrustUrl(URL.createObjectURL(e)):""},e.prototype.getName=function(e){return e.name.split(".").slice(0,-1).join(".")},e.prototype.getType=function(e){return"."+e.name.split(".").pop()||""},e.ctorParameters=function(){return[{type:Boolean,decorators:[{type:t.Inject,args:[i.TUI_IS_MOBILE]}]},{type:n.DomSanitizer,decorators:[{type:t.Inject,args:[n.DomSanitizer]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_FILE_TEXTS]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_DIGITAL_INFORMATION_UNITS]}]}]},p([t.Input(),i.tuiDefaultProp()],e.prototype,"file",void 0),p([t.Input(),i.tuiDefaultProp()],e.prototype,"state",void 0),p([t.Input(),i.tuiDefaultProp()],e.prototype,"size",void 0),p([t.Input(),i.tuiDefaultProp()],e.prototype,"showSize",void 0),p([t.Input(),i.tuiDefaultProp()],e.prototype,"leftContent",void 0),p([t.Output()],e.prototype,"removed",void 0),p([t.HostBinding("class._focused")],e.prototype,"focused",void 0),p([t.HostBinding("class._link")],e.prototype,"src",null),p([i.tuiPure],e.prototype,"calculateContent$",null),p([i.tuiPure],e.prototype,"calculateFileSize$",null),p([i.tuiPure],e.prototype,"createPreview",null),p([i.tuiPure],e.prototype,"getName",null),p([i.tuiPure],e.prototype,"getType",null),e=p([t.Component({selector:"tui-file",changeDetection:t.ChangeDetectionStrategy.OnPush,template:'<ng-container\n *ngIf="!src; else withLink"\n [ngTemplateOutlet]="fileInfoTemplate"\n></ng-container>\n\n<ng-template #withLink>\n <a\n rel="noreferrer noopener"\n target="_blank"\n class="t-link"\n [href]="src"\n (tuiFocusVisibleChange)="onFocusVisible($event)"\n >\n <ng-container [ngTemplateOutlet]="fileInfoTemplate"></ng-container>\n </a>\n</ng-template>\n\n<ng-template #fileInfoTemplate>\n <div\n polymorpheus-outlet\n class="t-preview"\n [class.t-preview_big]="isBig"\n [content]="leftContent || defaultLeftContent"\n ></div>\n <div class="t-wrapper">\n <div class="t-text">\n <div\n automation-id="tui-file__name"\n class="t-name"\n >\n {{ name }}\n </div>\n <div\n automation-id="tui-file__type"\n class="t-type"\n >\n {{ type }}\n </div>\n <div\n *ngIf="showSize && (fileSize$ | async) as fileSize"\n automation-id="tui-file__size"\n class="t-size"\n >\n {{ fileSize }}\n </div>\n </div>\n <div\n *ngIf="content$ | async as content"\n polymorpheus-outlet\n automation-id="tui-file__content"\n class="t-content"\n [content]="content"\n ></div>\n <ng-content></ng-content>\n </div>\n <ng-container *ngIf="allowDelete">\n <button\n *ngIf="fileTexts$ | async as texts"\n automation-id="tui-file__remove"\n tuiIconButton\n type="button"\n size="xs"\n icon="tuiIconCloseLarge"\n appearance="icon"\n class="t-remove"\n [title]="texts.remove"\n [class.t-remove_mobile]="isMobile"\n (click.prevent)="onRemoveClick()"\n ></button>\n </ng-container>\n</ng-template>\n\n<ng-template #defaultLeftContent>\n <img\n *ngIf="preview; else loader"\n automation-id="tui-file__preview"\n class="t-image"\n [src]="preview"\n />\n <ng-template #loader>\n <tui-loader\n *ngIf="isLoading; else svg"\n automation-id="tui-file__loader"\n class="t-loader"\n [inheritColor]="isBig"\n ></tui-loader>\n </ng-template>\n <ng-template #svg>\n <tui-svg\n automation-id="tui-file__icon"\n class="t-icon"\n [class.t-icon_deleted]="isDeleted"\n [class.t-icon_error]="isError"\n [src]="icon"\n ></tui-svg>\n </ng-template>\n</ng-template>\n',styles:[":host{position:relative;display:flex;align-items:center;font:var(--tui-font-text-m);border:1px solid var(--tui-base-03);border-radius:var(--tui-radius-m)}:host[data-mode=onDark]{color:var(--tui-text-01-night)}:host:not(._link){padding:.5625rem 2.1875rem .5625rem .5625rem}:host:hover .t-remove{opacity:1}:host._focused{border-color:var(--tui-focus);box-shadow:0 0 0 1px inset var(--tui-focus)}.t-link{display:flex;flex:1;padding:.5625rem 2.1875rem .5625rem .5625rem;text-decoration:none;outline:0;cursor:pointer;color:var(--tui-text-01);max-width:calc(100% - 2.75rem)}.t-link:hover{background-color:var(--tui-base-02)}.t-preview{position:relative;display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.5rem;height:1.5rem;margin-right:.75rem;border-radius:var(--tui-radius-m);overflow:hidden;color:var(--tui-base-06)}.t-preview_big{width:4rem;height:4rem;margin-right:1rem}.t-preview_big:before{position:absolute;top:0;left:0;width:100%;height:100%;content:'';background:var(--tui-base-08);opacity:.08}.t-image{max-width:100%;max-height:100%}.t-loader{position:absolute;top:0;left:0;width:100%;height:100%}.t-icon{position:absolute;top:0;left:0;width:100%;height:100%;color:var(--tui-success-fill)}.t-icon_error{color:var(--tui-error-fill)}.t-icon_deleted{color:var(--tui-base-06)}.t-remove{transition-property:opacity;transition-duration:var(--tui-duration,300ms);transition-timing-function:ease-in-out;position:absolute;top:.625rem;right:.625rem;opacity:0}.t-remove:focus,.t-remove_mobile{opacity:1}.t-wrapper{display:flex;flex-direction:column;justify-content:center;overflow:hidden}.t-text{display:flex}.t-size{flex-shrink:0;opacity:var(--tui-disabled-opacity);margin-left:.5rem}.t-type{flex-shrink:0}.t-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.t-content{font:var(--tui-font-text-s);color:var(--tui-error-fill)}"]}),f(0,t.Inject(i.TUI_IS_MOBILE)),f(1,t.Inject(n.DomSanitizer)),f(2,t.Inject(o.TUI_FILE_TEXTS)),f(3,t.Inject(o.TUI_DIGITAL_INFORMATION_UNITS))],e)}(),g=function(){function e(e,t){this.hideText$=e,this.showAllText$=t,this.items=null,this.max=0,this.hidden=!0}return Object.defineProperty(e.prototype,"hasExtraItems",{get:function(){var e,t;return!!this.max&&(null!==(t=null===(e=this.items)||void 0===e?void 0:e.length)&&void 0!==t?t:0)>this.max},enumerable:!0,configurable:!0}),e.prototype.toggle=function(){this.hidden=!this.hidden},e.ctorParameters=function(){return[{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_HIDE_TEXT]}]},{type:a.Observable,decorators:[{type:t.Inject,args:[o.TUI_SHOW_ALL_TEXT]}]}]},p([t.ContentChildren(i.TuiItemDirective,{read:t.TemplateRef})],e.prototype,"items",void 0),p([t.Input(),i.tuiDefaultProp()],e.prototype,"max",void 0),e=p([t.Component({selector:"tui-files",template:'<ng-container *ngIf="items?.changes | async"></ng-container>\n\n<section\n tuiGroup\n orientation="vertical"\n class="t-files"\n [collapsed]="true"\n>\n <ng-content></ng-content>\n <ng-container *ngFor="let item of items; let index = index">\n <ng-container\n *ngIf="!max || index < max"\n [ngTemplateOutlet]="item"\n ></ng-container>\n </ng-container>\n <tui-expand\n *ngIf="hasExtraItems"\n [expanded]="!hidden"\n >\n <div class="t-extra-items">\n <ng-container *ngFor="let item of items; let index = index">\n <ng-container\n *ngIf="max && index >= max"\n [ngTemplateOutlet]="item"\n ></ng-container>\n </ng-container>\n </div>\n </tui-expand>\n <button\n *ngIf="hasExtraItems"\n tuiButton\n appearance="outline"\n size="m"\n class="t-button"\n [class.t-button_collapsed]="hidden"\n (click)="toggle()"\n >\n {{ (hidden ? showAllText$ : hideText$) | async }}\n </button>\n</section>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,encapsulation:t.ViewEncapsulation.None,styles:["tui-files{display:block}tui-files .t-files{position:relative;display:block;width:100%;height:100%;border-radius:var(--tui-radius-m);overflow:hidden}tui-files .t-button{z-index:3;width:100%;background:var(--tui-base-01)}tui-files .t-button_collapsed{box-shadow:0 1.125rem 1.875rem rgba(0,0,0,.48);margin-top:-1.5rem}tui-files .t-extra-items tui-file{border-radius:0;margin-top:0;margin-bottom:-.0625rem}"]}),f(0,t.Inject(o.TUI_HIDE_TEXT)),f(1,t.Inject(o.TUI_SHOW_ALL_TEXT))],e)}(),m=function(){function e(){}return e=p([t.NgModule({declarations:[g,d],imports:[l.CommonModule,u.TuiGroupModule,u.TuiLoaderModule,c.PolymorpheusModule,u.TuiSvgModule,i.TuiFocusVisibleModule,u.TuiButtonModule,i.TuiItemModule,u.TuiExpandModule],exports:[g,d,i.TuiItemDirective]})],e)}();e.TuiFileComponent=d,e.TuiFilesComponent=g,e.TuiFilesModule=m,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-files.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/files/file/file.component.ts","ng://@taiga-ui/kit/components/files/files.component.ts","ng://@taiga-ui/kit/components/files/files.module.ts"],"names":["__decorate","decorators","target","key","desc","d","c","arguments","length","r","Object","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","TuiFileComponent","isMobile","sanitizer","fileTexts$","units$","this","file","name","state","size","showSize","leftContent","removed","EventEmitter","focused","prototype","isBig","createPreview","observers","src","getName","getType","calculateContent$","calculateFileSize$","onRemoveClick","emit","onFocusVisible","focusVisible","content","of","pipe","map","texts","loadingError","units","formatSize","File","type","startsWith","bypassSecurityTrustUrl","URL","createObjectURL","split","slice","join","pop","Inject","args","TUI_IS_MOBILE","DomSanitizer","Observable","TUI_FILE_TEXTS","TUI_DIGITAL_INFORMATION_UNITS","Input","tuiDefaultProp","Output","HostBinding","tuiPure","Component","selector","changeDetection","ChangeDetectionStrategy","OnPush","template","TuiFilesComponent","hideText$","showAllText$","items","max","hidden","_b","_a","toggle","TUI_HIDE_TEXT","TUI_SHOW_ALL_TEXT","ContentChildren","TuiItemDirective","read","TemplateRef","encapsulation","ViewEncapsulation","None","TuiFilesModule","NgModule","declarations","imports","CommonModule","TuiGroupModule","TuiLoaderModule","PolymorpheusModule","TuiSvgModule","TuiFocusVisibleModule","TuiButtonModule","TuiItemModule","TuiExpandModule","exports"],"mappings":"yhCAsDO,SAASA,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAIC,UAAUC,OAAQC,EAAI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AAAkB,KAA6B,OAAhBA,EAActG,EAAA,CAf1BuG,EAAAA,SAAS,CACNC,aAAc,CAACpB,EAAmBhE,GAClCqF,QAAS,CACLC,EAAAA,aACAC,EAAAA,eACAC,EAAAA,gBACAC,EAAAA,mBACAC,EAAAA,aACAC,EAAAA,sBACAC,EAAAA,gBACAC,EAAAA,cACAC,EAAAA,iBAEJC,QAAS,CAAC/B,EAAmBhE,EAAkB4E,EAAAA,qBAEtCM","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Output,\n} from '@angular/core';\nimport {DomSanitizer, SafeValue} from '@angular/platform-browser';\nimport {TUI_IS_MOBILE, tuiDefaultProp, tuiPure} from '@taiga-ui/cdk';\nimport {TuiSizeL} from '@taiga-ui/core';\nimport {TuiFileState, TuiFileStateT} from '@taiga-ui/kit/enums';\nimport {TuiFileLike} from '@taiga-ui/kit/interfaces';\nimport {TUI_DIGITAL_INFORMATION_UNITS, TUI_FILE_TEXTS} from '@taiga-ui/kit/tokens';\nimport {formatSize} from '@taiga-ui/kit/utils/files';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\ntype FileTexts = 'loadingError' | 'preview' | 'remove';\n\n// @dynamic\n@Component({\n selector: `tui-file`,\n changeDetection: ChangeDetectionStrategy.OnPush,\n templateUrl: `./file.template.html`,\n styleUrls: [`./file.style.less`],\n})\nexport class TuiFileComponent {\n @Input()\n @tuiDefaultProp()\n file: TuiFileLike = {name: ``};\n\n @Input()\n @tuiDefaultProp()\n state: TuiFileStateT = `normal`;\n\n @Input()\n @tuiDefaultProp()\n size: TuiSizeL = `m`;\n\n @Input()\n @tuiDefaultProp()\n showSize = true;\n\n @Input()\n @tuiDefaultProp()\n leftContent: PolymorpheusContent = ``;\n\n @Output()\n readonly removed = new EventEmitter<void>();\n\n @HostBinding(`class._focused`)\n focused = false;\n\n constructor(\n @Inject(TUI_IS_MOBILE) readonly isMobile: boolean,\n @Inject(DomSanitizer) private readonly sanitizer: DomSanitizer,\n @Inject(TUI_FILE_TEXTS)\n readonly fileTexts$: Observable<Record<FileTexts, string>>,\n @Inject(TUI_DIGITAL_INFORMATION_UNITS)\n private readonly units$: Observable<[string, string, string]>,\n ) {}\n\n get preview(): SafeValue {\n return this.isBig ? this.createPreview(this.file, this.sanitizer) : ``;\n }\n\n get isBig(): boolean {\n return this.size === `l`;\n }\n\n get isLoading(): boolean {\n return this.state === TuiFileState.Loading;\n }\n\n get isError(): boolean {\n return this.state === TuiFileState.Error;\n }\n\n get isDeleted(): boolean {\n return this.state === TuiFileState.Deleted;\n }\n\n get allowDelete(): boolean {\n return !!this.removed.observers.length;\n }\n\n get icon(): string {\n if (this.state === TuiFileState.Normal && this.isBig) {\n return `tuiIconDefaultDocLarge`;\n }\n\n switch (this.state) {\n case TuiFileState.Deleted:\n return `tuiIconTrashLarge`;\n case TuiFileState.Error:\n return `tuiIconAlertCircleLarge`;\n default:\n return `tuiIconCheckCircleLarge`;\n }\n }\n\n @HostBinding(`class._link`)\n get src(): string {\n return this.file.src || ``;\n }\n\n get name(): string {\n return this.getName(this.file);\n }\n\n get type(): string {\n return this.getType(this.file);\n }\n\n get content$(): Observable<PolymorpheusContent> {\n return this.calculateContent$(this.state, this.file, this.fileTexts$);\n }\n\n get fileSize$(): Observable<string | null> {\n return this.calculateFileSize$(this.file, this.units$);\n }\n\n onRemoveClick(): void {\n this.removed.emit();\n }\n\n onFocusVisible(focusVisible: boolean): void {\n this.focused = focusVisible;\n }\n\n @tuiPure\n private calculateContent$(\n state: TuiFileStateT,\n file: TuiFileLike,\n fileTexts$: Observable<Record<'loadingError' | 'preview' | 'remove', string>>,\n ): Observable<PolymorpheusContent> {\n return state === TuiFileState.Error && !file.content\n ? fileTexts$.pipe(map(texts => texts.loadingError))\n : of(this.file.content || ``);\n }\n\n @tuiPure\n private calculateFileSize$(\n file: TuiFileLike,\n units$: Observable<[string, string, string]>,\n ): Observable<string | null> {\n return units$.pipe(map(units => formatSize(units, file.size)));\n }\n\n @tuiPure\n private createPreview(file: TuiFileLike, sanitizer: DomSanitizer): SafeValue {\n if (file.src) {\n return file.src;\n }\n\n // TODO: iframe warning\n if (file instanceof File && file.type && file.type.startsWith(`image/`)) {\n return sanitizer.bypassSecurityTrustUrl(URL.createObjectURL(file));\n }\n\n return ``;\n }\n\n @tuiPure\n private getName(file: TuiFileLike): string {\n return file.name.split(`.`).slice(0, -1).join(`.`);\n }\n\n @tuiPure\n private getType(file: TuiFileLike): string {\n return `.${file.name.split(`.`).pop()}` || ``;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ContentChildren,\n Inject,\n Input,\n QueryList,\n TemplateRef,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiDefaultProp, TuiItemDirective} from '@taiga-ui/cdk';\nimport {TUI_HIDE_TEXT, TUI_SHOW_ALL_TEXT} from '@taiga-ui/kit/tokens';\nimport {Observable} from 'rxjs';\n\n@Component({\n selector: `tui-files`,\n templateUrl: `./files.component.html`,\n styleUrls: [`./files.component.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class TuiFilesComponent {\n @ContentChildren(TuiItemDirective, {read: TemplateRef})\n readonly items: QueryList<TemplateRef<Record<string, unknown>>> | null = null;\n\n @Input()\n @tuiDefaultProp()\n max = 0;\n\n hidden = true;\n\n constructor(\n @Inject(TUI_HIDE_TEXT) readonly hideText$: Observable<string>,\n @Inject(TUI_SHOW_ALL_TEXT) readonly showAllText$: Observable<string>,\n ) {}\n\n get hasExtraItems(): boolean {\n return !!this.max && (this.items?.length ?? 0) > this.max;\n }\n\n toggle(): void {\n this.hidden = !this.hidden;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiFocusVisibleModule, TuiItemDirective, TuiItemModule} from '@taiga-ui/cdk';\nimport {\n TuiButtonModule,\n TuiExpandModule,\n TuiGroupModule,\n TuiLoaderModule,\n TuiSvgModule,\n} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiFileComponent} from './file/file.component';\nimport {TuiFilesComponent} from './files.component';\n\n@NgModule({\n declarations: [TuiFilesComponent, TuiFileComponent],\n imports: [\n CommonModule,\n TuiGroupModule,\n TuiLoaderModule,\n PolymorpheusModule,\n TuiSvgModule,\n TuiFocusVisibleModule,\n TuiButtonModule,\n TuiItemModule,\n TuiExpandModule,\n ],\n exports: [TuiFilesComponent, TuiFileComponent, TuiItemDirective],\n})\nexport class TuiFilesModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@angular/common"),require("@taiga-ui/core"),require("@taiga-ui/kit/components/badge"),require("@taiga-ui/kit/components/checkbox-block"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/filter",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@angular/common","@taiga-ui/core","@taiga-ui/kit/components/badge","@taiga-ui/kit/components/checkbox-block","@tinkoff/ng-polymorpheus"],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.filter={}),t.ng.core,t.ng.forms,t.cdk,t.ng.common,t.core$1,t["taiga-ui"].kit.components.badge,t["taiga-ui"].kit.components["checkbox-block"],t.ngPolymorpheus)}(this,(function(t,e,n,o,i,r,a,u,c){"use strict";var l=function(t,e){return(l=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 d(t,e,n,o){var i,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,o);else for(var u=t.length-1;u>=0;u--)(i=t[u])&&(a=(r<3?i(a):r>3?i(e,n,a):i(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e){return function(n,o){e(n,o,t)}}Object.create;function p(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)a.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 a}Object.create;var f=function(t){function i(n,i,r){var a=t.call(this,n,i)||this;return a.elementRef=r,a.identityMatcher=o.TUI_DEFAULT_IDENTITY_MATCHER,a.items=[],a.size="m",a.disabledItemHandler=o.ALWAYS_FALSE_HANDLER,a.toggledItem=new e.EventEmitter,a.content=function(t){var e=t.$implicit;return o.TUI_DEFAULT_STRINGIFY(e)},a.badgeHandler=function(t){return Number(t)},a}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}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}(i,t),Object.defineProperty(i.prototype,"focused",{get:function(){return o.isNativeFocusedIn(this.elementRef.nativeElement)},enumerable:!0,configurable:!0}),i.prototype.getItemContentContext=function(t){return{$implicit:t}},i.prototype.onCheckbox=function(t,e){var n=this;this.toggledItem.emit(e),this.updateValue(t?function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(p(arguments[e]));return t}(this.value,[e]):this.value.filter((function(t){return!n.identityMatcher(t,e)})))},i.prototype.isCheckboxEnabled=function(t){var e=this;return this.value.some((function(n){return e.identityMatcher(n,t)}))},i.ctorParameters=function(){return[{type:n.NgControl,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[n.NgControl]}]},{type:e.ChangeDetectorRef,decorators:[{type:e.Inject,args:[e.ChangeDetectorRef]}]},{type:e.ElementRef,decorators:[{type:e.Inject,args:[e.ElementRef]}]}]},d([e.Input(),o.tuiDefaultProp()],i.prototype,"identityMatcher",void 0),d([e.Input(),o.tuiDefaultProp()],i.prototype,"items",void 0),d([e.Input(),e.HostBinding("attr.data-size"),o.tuiDefaultProp()],i.prototype,"size",void 0),d([e.Input(),o.tuiDefaultProp()],i.prototype,"disabledItemHandler",void 0),d([e.Output()],i.prototype,"toggledItem",void 0),d([e.Input(),o.tuiDefaultProp()],i.prototype,"content",void 0),d([e.Input(),o.tuiDefaultProp()],i.prototype,"badgeHandler",void 0),d([o.tuiPure],i.prototype,"getItemContentContext",null),i=d([e.Component({selector:"tui-filter",template:'<ng-container *ngFor="let item of items">\n <tui-checkbox-block\n automation-id="tui-filter__checkbox"\n class="t-item"\n [disabled]="disabledItemHandler(item)"\n [hideCheckbox]="true"\n [ngModel]="isCheckboxEnabled(item)"\n [size]="size"\n (ngModelChange)="onCheckbox($event, item)"\n >\n <div\n automation-id="tui-filter__content"\n class="t-content"\n >\n <div\n polymorpheus-outlet\n [content]="content"\n [context]="getItemContentContext(item)"\n ></div>\n <tui-badge\n *ngIf="badgeHandler(item) as badgeValue"\n automation-id="tui-filter__badge"\n tuiMode="onLight"\n class="t-badge"\n [class.t-badge_disabled]="disabledItemHandler(item)"\n [size]="size"\n [value]="badgeValue"\n ></tui-badge>\n </div>\n </tui-checkbox-block>\n</ng-container>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,styles:[":host{display:block;margin-bottom:-.25rem}.t-content{display:flex;align-items:center}.t-item{margin-right:.25rem;margin-bottom:.25rem}.t-item:last-child,:host[data-size='l'] .t-item:last-child{margin-right:0}:host[data-size='l'] .t-item{margin-right:.5rem;margin-bottom:.5rem}.t-badge{margin-left:.25rem}.t-badge_disabled{opacity:var(--tui-disabled-opacity)}"]}),s(0,e.Optional()),s(0,e.Self()),s(0,e.Inject(n.NgControl)),s(1,e.Inject(e.ChangeDetectorRef)),s(2,e.Inject(e.ElementRef))],i)}(o.AbstractTuiMultipleControl),g=function(){function t(){}return t=d([e.NgModule({imports:[i.CommonModule,n.FormsModule,c.PolymorpheusModule,u.TuiCheckboxBlockModule,a.TuiBadgeModule,r.TuiModeModule],declarations:[f],exports:[f]})],t)}();t.TuiFilterComponent=f,t.TuiFilterModule=g,Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-filter.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/filter/filter.component.ts","ng://@taiga-ui/kit/components/filter/filter.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__decorate","decorators","target","key","desc","c","arguments","length","r","getOwnPropertyDescriptor","Reflect","decorate","i","defineProperty","__param","paramIndex","decorator","create","__read","o","n","m","Symbol","iterator","e","ar","next","done","push","value","error","TuiFilterComponent","control","changeDetectorRef","elementRef","_this","_super","this","identityMatcher","TUI_DEFAULT_IDENTITY_MATCHER","items","size","disabledItemHandler","ALWAYS_FALSE_HANDLER","toggledItem","EventEmitter","content","_a","$implicit","TUI_DEFAULT_STRINGIFY","badgeHandler","item","Number","TypeError","String","__","constructor","__extends","isNativeFocusedIn","nativeElement","getItemContentContext","onCheckbox","emit","updateValue","concat","filter","arrItem","isCheckboxEnabled","some","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","ElementRef","Input","tuiDefaultProp","HostBinding","Output","tuiPure","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","AbstractTuiMultipleControl","TuiFilterModule","NgModule","imports","CommonModule","FormsModule","PolymorpheusModule","TuiCheckboxBlockModule","TuiBadgeModule","TuiModeModule","declarations","exports"],"mappings":"w+BAgBA,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,OAA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Q,CAAAD,KACRE,EAAAA,MAAI,CAAAF,KACJG,EAAAA,OAAMC,KAAA,CAACL,EAAAA,oBAEsCM,EAAAA,kBAAiB1E,WAAA,CAAA,CAAAqE,KAA9DG,EAAAA,OAAMC,KAAA,CAACC,EAAAA,4BACyCC,EAAAA,WAAU3E,WAAA,CAAA,CAAAqE,KAA1DG,EAAAA,OAAMC,KAAA,CAACE,EAAAA,iBAxBZ5E,EAAA,CAFC6E,EAAAA,QACAC,EAAAA,wDAKD9E,EAAA,CAFC6E,EAAAA,QACAC,EAAAA,8CAMD9E,EAAA,CAHC6E,EAAAA,QACAE,EAAAA,YAAY,kBACZD,EAAAA,6CAKD9E,EAAA,CAFC6E,EAAAA,QACAC,EAAAA,4DAID9E,EAAA,CADCgF,EAAAA,4CAgBDhF,EAAA,CAFC6E,EAAAA,QACAC,EAAAA,gDAMD9E,EAAA,CAFC6E,EAAAA,QACAC,EAAAA,qDAQD9E,EAAA,CADCiF,EAAAA,mDA7CQlD,EAAkB/B,EAAA,CAN9BkF,EAAAA,UAAU,CACPC,SAAU,aACVC,SAAA,yhCAEAC,gBAAiBC,EAAAA,wBAAwBC,2XAwBpCzE,EAAA,EAAAyD,EAAAA,YACAzD,EAAA,EAAA0D,EAAAA,QACA1D,EAAA,EAAA2D,EAAAA,OAAOJ,EAAAA,YAEPvD,EAAA,EAAA2D,EAAAA,OAAOE,EAAAA,oBACP7D,EAAA,EAAA2D,EAAAA,OAAOG,EAAAA,cA3BH7C,IAA8ByD,EAAAA,yCCf3C,SAAAC,KAA8B,OAAjBA,EAAezF,EAAA,CAZ3B0F,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,YACAC,EAAAA,mBACAC,EAAAA,uBACAC,EAAAA,eACAC,EAAAA,eAEJC,aAAc,CAACnE,GACfoE,QAAS,CAACpE,MAED0D","sourcesContent":["/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n\r\nexport function __classPrivateFieldIn(state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n}\r\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ElementRef,\n EventEmitter,\n HostBinding,\n Inject,\n Input,\n Optional,\n Output,\n Self,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiMultipleControl,\n ALWAYS_FALSE_HANDLER,\n isNativeFocusedIn,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TuiBooleanHandler,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiHandler,\n TuiIdentityMatcher,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\n// @bad TODO: Add active zone to track focus\n@Component({\n selector: `tui-filter`,\n templateUrl: `./filter.template.html`,\n styleUrls: [`./filter.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class TuiFilterComponent<T> extends AbstractTuiMultipleControl<T> {\n @Input()\n @tuiDefaultProp()\n identityMatcher: TuiIdentityMatcher<T> = TUI_DEFAULT_IDENTITY_MATCHER;\n\n @Input()\n @tuiDefaultProp()\n items: readonly T[] = [];\n\n @Input()\n @HostBinding(`attr.data-size`)\n @tuiDefaultProp()\n size: TuiSizeS | TuiSizeL = `m`;\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<T> = ALWAYS_FALSE_HANDLER;\n\n @Output()\n readonly toggledItem = new EventEmitter<T>();\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n ) {\n super(control, changeDetectorRef);\n }\n\n @Input()\n @tuiDefaultProp()\n content: PolymorpheusContent<any> = ({$implicit}: TuiContextWithImplicit<unknown>) =>\n TUI_DEFAULT_STRINGIFY($implicit);\n\n @Input()\n @tuiDefaultProp()\n badgeHandler: TuiHandler<T, number> = item => Number(item);\n\n get focused(): boolean {\n return isNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n @tuiPure\n getItemContentContext($implicit: T): TuiContextWithImplicit<T> {\n return {\n $implicit,\n };\n }\n\n onCheckbox(value: boolean, item: T): void {\n this.toggledItem.emit(item);\n this.updateValue(\n value\n ? [...this.value, item]\n : this.value.filter(arrItem => !this.identityMatcher(arrItem, item)),\n );\n }\n\n isCheckboxEnabled(item: T): boolean {\n return this.value.some(arrItem => this.identityMatcher(arrItem, item));\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiModeModule} from '@taiga-ui/core';\nimport {TuiBadgeModule} from '@taiga-ui/kit/components/badge';\nimport {TuiCheckboxBlockModule} from '@taiga-ui/kit/components/checkbox-block';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiFilterComponent} from './filter.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiCheckboxBlockModule,\n TuiBadgeModule,\n TuiModeModule,\n ],\n declarations: [TuiFilterComponent],\n exports: [TuiFilterComponent],\n})\nexport class TuiFilterModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/common"),require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/tokens"),require("rxjs"),require("rxjs/operators"),require("@taiga-ui/kit/providers"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-copy",["exports","@angular/common","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/tokens","rxjs","rxjs/operators","@taiga-ui/kit/providers","@tinkoff/ng-polymorpheus"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-copy"]={}),e.ng.common,e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.tokens,e.rxjs,e.rxjs.operators,e["taiga-ui"].kit.providers,e.ngPolymorpheus)}(this,(function(e,t,n,o,i,r,u,a,s,c,p){"use strict";var l=function(e,t){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function f(e,t,n,o){var i,r=arguments.length,u=r<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,n,o);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(u=(r<3?i(u):r>3?i(t,n,u):i(t,n))||u);return r>3&&u&&Object.defineProperty(t,n,u),u}function g(e,t){return function(n,o){t(n,o,e)}}Object.create;Object.create;var y=[c.TUI_VALUE_ACCESSOR_PROVIDER,{provide:i.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:n.forwardRef((function(){return h}))},{provide:i.AbstractTuiControl,useExisting:n.forwardRef((function(){return h}))}],h=function(e){function c(t,n,o,i,r){var u=e.call(this,t,n)||this;return u.documentRef=o,u.textfieldSize=i,u.copyTexts$=r,u.copy$=new a.Subject,u.successMessage="",u.messageDirection="bottom-left",u.messageMode=null,u}return d(c,e),Object.defineProperty(c.prototype,"hasValue",{get:function(){return!!this.value},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"hintText$",{get:function(){var e=this;return this.copyTexts$.pipe(s.switchMap((function(t){return e.copy$.pipe(s.switchMap((function(){return a.merge(a.of(e.successMessage||t[1]),a.timer(3e3).pipe(s.mapTo(t[0])))})),s.startWith(t[0]))})))},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"nativeFocusableElement",{get:function(){return this.computedDisabled||!this.textfield?null:this.textfield.nativeFocusableElement},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"focused",{get:function(){return!!this.textfield&&this.textfield.focused},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"icon",{get:function(){return"s"===this.textfieldSize.size?"tuiIconCopy":"tuiIconCopyLarge"},enumerable:!0,configurable:!0}),c.prototype.onValueChange=function(e){this.updateValue(e)},c.prototype.onFocused=function(e){this.updateFocused(e)},c.prototype.onHovered=function(e){this.updateHovered(e)},c.prototype.onPressed=function(e){this.updatePressed(e)},c.prototype.copy=function(){this.textfield&&this.textfield.nativeFocusableElement&&(this.textfield.nativeFocusableElement.select(),this.documentRef.execCommand("copy"),this.copy$.next())},c.prototype.getFallbackValue=function(){return""},c.ctorParameters=function(){return[{type:o.NgControl,decorators:[{type:n.Optional},{type:n.Self},{type:n.Inject,args:[o.NgControl]}]},{type:n.ChangeDetectorRef,decorators:[{type:n.Inject,args:[n.ChangeDetectorRef]}]},{type:Document,decorators:[{type:n.Inject,args:[t.DOCUMENT]}]},{type:r.TuiTextfieldSizeDirective,decorators:[{type:n.Inject,args:[r.TUI_TEXTFIELD_SIZE]}]},{type:a.Observable,decorators:[{type:n.Inject,args:[u.TUI_COPY_TEXTS]}]}]},f([n.ViewChild(r.TuiPrimitiveTextfieldComponent)],c.prototype,"textfield",void 0),f([n.Input(),i.tuiDefaultProp()],c.prototype,"successMessage",void 0),f([n.Input(),i.tuiDefaultProp()],c.prototype,"messageDirection",void 0),f([n.Input(),i.tuiDefaultProp()],c.prototype,"messageMode",void 0),f([n.HostBinding("class._has-value")],c.prototype,"hasValue",null),f([i.tuiPure],c.prototype,"hintText$",null),c=f([n.Component({selector:"tui-input-copy",template:'<tui-primitive-textfield\n class="t-textfield"\n [pseudoFocused]="pseudoFocused"\n [pseudoHovered]="pseudoHovered"\n [pseudoPressed]="pseudoPressed"\n [invalid]="computedInvalid"\n [focusable]="focusable"\n [nativeId]="nativeId"\n [disabled]="computedDisabled"\n [readOnly]="readOnly"\n [iconContent]="!disabled ? iconContent : null"\n [value]="value"\n (valueChange)="onValueChange($event)"\n (focusedChange)="onFocused($event)"\n (hoveredChange)="onHovered($event)"\n (pressedChange)="onPressed($event)"\n>\n <ng-content></ng-content>\n <ng-content\n select="input"\n ngProjectAs="input"\n ></ng-content>\n</tui-primitive-textfield>\n\n<ng-template #iconContent>\n <tui-svg\n automation-id="tui-copy__icon"\n tuiHintId="not_required"\n class="t-icon"\n [tuiHint]="hint"\n [tuiHintDirection]="messageDirection"\n [tuiHintMode]="messageMode"\n [src]="icon"\n (click)="copy()"\n ></tui-svg>\n</ng-template>\n\n<ng-template #hint>\n <div\n polymorpheus-outlet\n [content]="hintText$ | async"\n ></div>\n</ng-template>\n',changeDetection:n.ChangeDetectionStrategy.OnPush,providers:y,styles:[":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-icon{position:relative;cursor:pointer;pointer-events:auto;color:var(--tui-base-06)}:host:not(._has-value) .t-icon{pointer-events:none;opacity:var(--tui-disabled-opacity)}.t-textfield{border-radius:inherit;text-align:inherit}"]}),g(0,n.Optional()),g(0,n.Self()),g(0,n.Inject(o.NgControl)),g(1,n.Inject(n.ChangeDetectorRef)),g(2,n.Inject(t.DOCUMENT)),g(3,n.Inject(r.TUI_TEXTFIELD_SIZE)),g(4,n.Inject(u.TUI_COPY_TEXTS))],c)}(i.AbstractTuiControl),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}var o;return d(t,e),o=t,t.prototype.onValueChange=function(e){this.host.onValueChange(e)},t=o=f([n.Directive({selector:"tui-input-copy",providers:[{provide:r.TUI_TEXTFIELD_HOST,useExisting:n.forwardRef((function(){return o}))}]})],t)}(r.TuiAbstractTextfieldHost),v=function(){function e(){}return e=f([n.NgModule({imports:[t.CommonModule,p.PolymorpheusModule,r.TuiSvgModule,r.TuiHintModule,r.TuiPrimitiveTextfieldModule,r.TuiAlertModule],declarations:[h,m],exports:[h,m,r.TuiTextfieldComponent]})],e)}();e.TUI_INPUT_COPY_PROVIDERS=y,e.TuiInputCopyComponent=h,e.TuiInputCopyDirective=m,e.TuiInputCopyModule=v,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-copy.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-copy/input-copy.providers.ts","ng://@taiga-ui/kit/components/input-copy/input-copy.component.ts","ng://@taiga-ui/kit/components/input-copy/input-copy.directive.ts","ng://@taiga-ui/kit/components/input-copy/input-copy.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","TUI_INPUT_COPY_PROVIDERS","TUI_VALUE_ACCESSOR_PROVIDER","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","TuiInputCopyComponent","AbstractTuiControl","control","changeDetectorRef","documentRef","textfieldSize","copyTexts$","_this","_super","copy$","Subject","successMessage","messageDirection","messageMode","value","pipe","switchMap","texts","merge","of","timer","mapTo","startWith","computedDisabled","textfield","nativeFocusableElement","focused","size","onValueChange","updateValue","onFocused","updateFocused","onHovered","hovered","updateHovered","onPressed","pressed","updatePressed","copy","select","execCommand","next","getFallbackValue","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","Document","DOCUMENT","TuiTextfieldSizeDirective","TUI_TEXTFIELD_SIZE","Observable","TUI_COPY_TEXTS","ViewChild","TuiPrimitiveTextfieldComponent","Input","tuiDefaultProp","HostBinding","tuiPure","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","TuiInputCopyDirective","host","TuiInputCopyDirective_1","Directive","TUI_TEXTFIELD_HOST","TuiAbstractTextfieldHost","TuiInputCopyModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiSvgModule","TuiHintModule","TuiPrimitiveTextfieldModule","TuiAlertModule","declarations","exports","TuiTextfieldComponent"],"mappings":"ggCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD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AAAA,YAEPpD,EAAA,EAAAwD,EAAAA,OAAOE,EAAAA,oBACP1D,EAAA,EAAAwD,EAAAA,OAAOI,EAAAA,WACP5D,EAAA,EAAAwD,EAAAA,OAAOM,EAAAA,qBAEP9D,EAAA,EAAAwD,EAAAA,OAAOQ,EAAAA,kBA9BHvD,IACDC,EAAAA,kCC7BZ,SAAAoE,yDAIA,OAJ2CnG,EAAAmG,EAAA7D,KAA9B6D,EACTA,EAAAtG,UAAA6D,cAAA,SAAcd,GACVxC,KAAKgG,KAAK1C,cAAcd,IAFnBuD,EAAqBE,EAAA9F,EAAA,CATjC+F,EAAAA,UAAU,CACPT,SAAU,iBACVK,UAAW,CACP,CACIxE,QAAS6E,EAAAA,mBACT3E,YAAaC,EAAAA,YAAW,WAAM,OAAAwE,UAI7BF,IAA8BK,EAAAA,uCCY3C,SAAAC,KAAiC,OAApBA,EAAkBlG,EAAA,CAZ9BmG,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,mBACAC,EAAAA,aACAC,EAAAA,cACAC,EAAAA,4BACAC,EAAAA,gBAEJC,aAAc,CAACpF,EAAuBqE,GACtCgB,QAAS,CAACrF,EAAuBqE,EAAuBiB,EAAAA,0BAE/CX","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 {forwardRef, Provider} from '@angular/core';\nimport {AbstractTuiControl, TUI_FOCUSABLE_ITEM_ACCESSOR} from '@taiga-ui/cdk';\nimport {TUI_VALUE_ACCESSOR_PROVIDER} from '@taiga-ui/kit/providers';\n\nimport {TuiInputCopyComponent} from './input-copy.component';\n\nexport const TUI_INPUT_COPY_PROVIDERS: Provider[] = [\n TUI_VALUE_ACCESSOR_PROVIDER,\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputCopyComponent),\n },\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiInputCopyComponent),\n },\n];\n","import {DOCUMENT} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n TUI_TEXTFIELD_SIZE,\n TuiDirection,\n TuiHintModeT,\n TuiPrimitiveTextfieldComponent,\n TuiTextfieldSizeDirective,\n} from '@taiga-ui/core';\nimport {TUI_COPY_TEXTS} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {merge, Observable, of, Subject, timer} from 'rxjs';\nimport {mapTo, startWith, switchMap} from 'rxjs/operators';\n\nimport {TUI_INPUT_COPY_PROVIDERS} from './input-copy.providers';\n\n// @dynamic\n@Component({\n selector: `tui-input-copy`,\n templateUrl: `./input-copy.template.html`,\n styleUrls: [`./input-copy.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: TUI_INPUT_COPY_PROVIDERS,\n})\nexport class TuiInputCopyComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly copy$ = new Subject<void>();\n\n @Input()\n @tuiDefaultProp()\n successMessage: PolymorpheusContent = ``;\n\n @Input()\n @tuiDefaultProp()\n messageDirection: TuiDirection = `bottom-left`;\n\n @Input()\n @tuiDefaultProp()\n messageMode: TuiHintModeT | null = null;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(DOCUMENT) private readonly documentRef: Document,\n @Inject(TUI_TEXTFIELD_SIZE)\n private readonly textfieldSize: TuiTextfieldSizeDirective,\n @Inject(TUI_COPY_TEXTS) private readonly copyTexts$: Observable<[string, string]>,\n ) {\n super(control, changeDetectorRef);\n }\n\n @HostBinding(`class._has-value`)\n get hasValue(): boolean {\n return !!this.value;\n }\n\n @tuiPure\n get hintText$(): Observable<PolymorpheusContent> {\n return this.copyTexts$.pipe(\n switchMap(texts =>\n this.copy$.pipe(\n switchMap(() =>\n merge(\n of(this.successMessage || texts[1]),\n timer(3000).pipe(mapTo(texts[0])),\n ),\n ),\n startWith(texts[0]),\n ),\n ),\n );\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.computedDisabled || !this.textfield\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n get focused(): boolean {\n return !!this.textfield && this.textfield.focused;\n }\n\n get icon(): string {\n return this.textfieldSize.size === `s` ? `tuiIconCopy` : `tuiIconCopyLarge`;\n }\n\n onValueChange(value: string): void {\n this.updateValue(value);\n }\n\n onFocused(focused: boolean): void {\n this.updateFocused(focused);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n copy(): void {\n if (!this.textfield || !this.textfield.nativeFocusableElement) {\n return;\n }\n\n this.textfield.nativeFocusableElement.select();\n this.documentRef.execCommand(`copy`);\n this.copy$.next();\n }\n\n protected getFallbackValue(): string {\n return ``;\n }\n}\n","import {Directive, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiInputCopyComponent} from './input-copy.component';\n\n@Directive({\n selector: `tui-input-copy`,\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiInputCopyDirective),\n },\n ],\n})\nexport class TuiInputCopyDirective extends TuiAbstractTextfieldHost<TuiInputCopyComponent> {\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiAlertModule,\n TuiHintModule,\n TuiPrimitiveTextfieldModule,\n TuiSvgModule,\n TuiTextfieldComponent,\n} from '@taiga-ui/core';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputCopyComponent} from './input-copy.component';\nimport {TuiInputCopyDirective} from './input-copy.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n PolymorpheusModule,\n TuiSvgModule,\n TuiHintModule,\n TuiPrimitiveTextfieldModule,\n TuiAlertModule,\n ],\n declarations: [TuiInputCopyComponent, TuiInputCopyDirective],\n exports: [TuiInputCopyComponent, TuiInputCopyDirective, TuiTextfieldComponent],\n})\nexport class TuiInputCopyModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/tokens"),require("rxjs"),require("@angular/common"),require("@taiga-ui/kit/directives"),require("@tinkoff/ng-polymorpheus"),require("angular2-text-mask")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-count",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/tokens","rxjs","@angular/common","@taiga-ui/kit/directives","@tinkoff/ng-polymorpheus","angular2-text-mask"],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["input-count"]={}),t.ng.core,t.ng.forms,t.cdk,t.core$1,t["taiga-ui"].kit.tokens,t.rxjs,t.ng.common,t["taiga-ui"].kit.directives,t.ngPolymorpheus,t.angular2TextMask)}(this,(function(t,e,n,o,i,r,u,a,s,p,c){"use strict";var l=function(t,e){return(l=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 d(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}l(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var f=function(){return(f=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 m(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 h(t,e){return function(n,o){e(n,o,t)}}Object.create;Object.create;var b={icons:{up:"tuiIconPlus",down:"tuiIconMinus"},appearance:"textfield",hideButtons:!1,min:0,max:1/0,step:1,postfix:""},g=new e.InjectionToken("Default parameters for input count component",{factory:function(){return b}}),v=function(t){function a(e,n,o,i,r,u,a,s){var p=t.call(this,e,n)||this;return p.appearance=o,p.textfieldSize=i,p.minusTexts$=r,p.isMobile=u,p.options=a,p.numberFormat=s,p.step=p.options.step,p.min=p.options.min,p.max=p.options.max,p.hideButtons=p.options.hideButtons,p.prefix="",p.postfix=p.options.postfix,p}var s;return d(a,t),s=a,a.prototype.getMask=function(t){return{mask:i.tuiCreateNumberMask({allowNegative:t,decimalSymbol:this.numberFormat.decimalSeparator,thousandSymbol:this.numberFormat.thousandSeparator}),guide:!1}},Object.defineProperty(a.prototype,"buttonsHidden",{get:function(){return this.hideButtons||"table"===this.appearance},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"iconUp",{get:function(){return this.options.icons.up},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"iconDown",{get:function(){return this.options.icons.down},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"nativeFocusableElement",{get:function(){return!this.primitiveTextfield||this.computedDisabled?null:this.primitiveTextfield.nativeFocusableElement},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"size",{get:function(){return this.textfieldSize.size},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"focused",{get:function(){return o.isNativeFocused(this.nativeFocusableElement)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"exampleText",{get:function(){return String(this.min)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"computedValue",{get:function(){return this.focused?this.nativeValue:this.formatNumber(this.value)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"minusButtonDisabled",{get:function(){return!this.interactive||o.isPresent(this.value)&&this.value<=this.min},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"plusButtonDisabled",{get:function(){return!this.interactive||o.isPresent(this.value)&&this.value>=this.max},enumerable:!0,configurable:!0}),a.prototype.onButtonMouseDown=function(t,e){void 0===e&&(e=!1),e||!this.nativeFocusableElement||this.isMobile||(t.preventDefault(),o.setNativeFocused(this.nativeFocusableElement))},a.prototype.onFocused=function(t){t||this.onBlur(),this.updateFocused(t)},a.prototype.onHovered=function(t){this.updateHovered(t)},a.prototype.onPressed=function(t){this.updatePressed(t)},a.prototype.onValueChange=function(){var t=this.capValue(this.nativeNumberValue);if(null!==t&&!isNaN(t)){var e=this.formatNumber(t);this.nativeValue!==e&&(this.nativeValue=e),this.updateValue(t)}},a.prototype.decreaseValue=function(){if(!this.readOnly){var t=(this.value||0)-this.step;this.safeUpdateValue(t)}},a.prototype.increaseValue=function(){if(!this.readOnly){var t=(this.value||0)+this.step;this.safeUpdateValue(t)}},a.prototype.onKeydown=function(t){switch(t.key){case"ArrowUp":case"Up":this.increaseValue(),t.preventDefault();break;case"ArrowDown":case"Down":this.decreaseValue(),t.preventDefault()}},a.prototype.getFallbackValue=function(){return 0},Object.defineProperty(a.prototype,"nativeNumberValue",{get:function(){return parseInt(this.nativeValue.split(this.numberFormat.thousandSeparator).join(""),10)},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"nativeValue",{get:function(){return this.nativeFocusableElement?this.nativeFocusableElement.value:""},set:function(t){this.nativeFocusableElement&&(this.nativeFocusableElement.value=t)},enumerable:!0,configurable:!0}),a.prototype.safeUpdateValue=function(t){var e=o.clamp(t,this.min,this.max);this.updateValue(e),this.nativeValue=this.formatNumber(e)},a.prototype.capValue=function(t){var e=Math.min(t,this.max);return isNaN(e)||e<this.min?null:e},a.prototype.onBlur=function(){var t=Math.max(this.nativeNumberValue||0,this.min),e=this.formatNumber(t);this.nativeValue=e,this.updateValue(t),this.primitiveTextfield&&(this.primitiveTextfield.value=e)},a.prototype.formatNumber=function(t){return i.formatNumber(t,null,this.numberFormat.decimalSeparator,this.numberFormat.thousandSeparator)},a.ctorParameters=function(){return[{type:n.NgControl,decorators:[{type:e.Optional},{type:e.Self},{type:e.Inject,args:[n.NgControl]}]},{type:e.ChangeDetectorRef,decorators:[{type:e.Inject,args:[e.ChangeDetectorRef]}]},{type:String,decorators:[{type:e.Inject,args:[i.TUI_TEXTFIELD_APPEARANCE]}]},{type:i.TuiTextfieldSizeDirective,decorators:[{type:e.Inject,args:[i.TUI_TEXTFIELD_SIZE]}]},{type:u.Observable,decorators:[{type:e.Inject,args:[r.TUI_PLUS_MINUS_TEXTS]}]},{type:Boolean,decorators:[{type:e.Inject,args:[o.TUI_IS_MOBILE]}]},{type:void 0,decorators:[{type:e.Inject,args:[g]}]},{type:void 0,decorators:[{type:e.Inject,args:[i.TUI_NUMBER_FORMAT]}]}]},m([e.ViewChild(i.TuiPrimitiveTextfieldComponent)],a.prototype,"primitiveTextfield",void 0),m([e.Input(),o.tuiDefaultProp()],a.prototype,"step",void 0),m([e.Input(),o.tuiDefaultProp()],a.prototype,"min",void 0),m([e.Input(),o.tuiDefaultProp()],a.prototype,"max",void 0),m([e.Input(),o.tuiDefaultProp()],a.prototype,"hideButtons",void 0),m([e.Input(),o.tuiDefaultProp()],a.prototype,"prefix",void 0),m([e.Input(),o.tuiDefaultProp()],a.prototype,"postfix",void 0),m([o.tuiPure],a.prototype,"getMask",null),m([e.HostBinding("class._hide-buttons")],a.prototype,"buttonsHidden",null),m([e.HostBinding("attr.data-size")],a.prototype,"size",null),a=s=m([e.Component({selector:"tui-input-count",template:'<tui-primitive-textfield\n tuiValueAccessor\n tuiTextfieldAutocomplete="off"\n tuiTextfieldInputMode="numeric"\n class="t-textfield"\n [tuiTextfieldMaxLength]="18"\n [pseudoFocused]="pseudoFocused"\n [pseudoHovered]="pseudoHovered"\n [pseudoPressed]="pseudoPressed"\n [focusable]="focusable"\n [nativeId]="nativeId"\n [prefix]="prefix"\n [postfix]="postfix"\n [disabled]="computedDisabled"\n [readOnly]="readOnly"\n [textMask]="getMask(min < 0)"\n [invalid]="computedInvalid"\n [value]="computedValue"\n (valueChange)="onValueChange()"\n (keydown)="onKeydown($event)"\n (focusedChange)="onFocused($event)"\n (hoveredChange)="onHovered($event)"\n (pressedChange)="onPressed($event)"\n>\n <ng-content></ng-content>\n <ng-content\n select="input"\n ngProjectAs="input"\n ></ng-content>\n</tui-primitive-textfield>\n<ng-container *ngIf="!buttonsHidden">\n <ng-container *ngIf="minusTexts$ | async as texts">\n <section class="t-buttons">\n <button\n tuiIconButton\n type="button"\n automation-id="tui-input-count__plus-button"\n size="s"\n class="t-button t-button_plus"\n [icon]="iconUp"\n [appearance]="options.appearance"\n [title]="texts[0]"\n [disabled]="plusButtonDisabled"\n [focusable]="false"\n (mousedown)="onButtonMouseDown($event, plusButtonDisabled)"\n (click)="increaseValue()"\n ></button>\n <button\n tuiIconButton\n type="button"\n automation-id="tui-input-count__minus-button"\n size="s"\n class="t-button t-button_minus"\n [icon]="iconDown"\n [appearance]="options.appearance"\n [disabled]="minusButtonDisabled"\n [focusable]="false"\n [title]="texts[1]"\n (mousedown)="onButtonMouseDown($event, minusButtonDisabled)"\n (click)="decreaseValue()"\n ></button>\n </section>\n </ng-container>\n</ng-container>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,providers:[{provide:o.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:e.forwardRef((function(){return s}))},{provide:o.AbstractTuiControl,useExisting:e.forwardRef((function(){return s}))}],styles:[":host{display:flex;font:var(--tui-font-text-s);border-radius:var(--tui-radius-m);height:var(--tui-height-m);color:var(--tui-text-01);text-align:left}:host._disabled{pointer-events:none}:host[data-size='l']{font:var(--tui-font-text-m);height:var(--tui-height-l)}.t-textfield{position:relative;border-radius:inherit;text-align:inherit;flex-grow:1;min-width:0}:host:not(._hide-buttons) .t-textfield{border-top-right-radius:0;border-bottom-right-radius:0}.t-buttons{display:flex;flex-direction:column;margin-left:.125rem;height:100%}.t-buttons .t-button{display:flex;width:calc(var(--tui-height-m) * .75);height:calc(50% - .0625rem)}.t-buttons .t-button_plus{margin-bottom:.125rem;border-radius:0 var(--tui-radius-m) 0 0}.t-buttons .t-button_minus{border-radius:0 0 var(--tui-radius-m)}:host[data-size='l'] .t-buttons .t-button{width:calc(var(--tui-height-l) * .75)}"]}),h(0,e.Optional()),h(0,e.Self()),h(0,e.Inject(n.NgControl)),h(1,e.Inject(e.ChangeDetectorRef)),h(2,e.Inject(i.TUI_TEXTFIELD_APPEARANCE)),h(3,e.Inject(i.TUI_TEXTFIELD_SIZE)),h(4,e.Inject(r.TUI_PLUS_MINUS_TEXTS)),h(5,e.Inject(o.TUI_IS_MOBILE)),h(6,e.Inject(g)),h(7,e.Inject(i.TUI_NUMBER_FORMAT))],a)}(o.AbstractTuiControl),y=function(t){function n(){return null!==t&&t.apply(this,arguments)||this}var o;return d(n,t),o=n,n.prototype.onValueChange=function(){this.host.onValueChange()},n.prototype.process=function(t){t.autocomplete="off",t.inputMode="numeric"},n=o=m([e.Directive({selector:"tui-input-count",providers:[{provide:i.TUI_TEXTFIELD_HOST,useExisting:e.forwardRef((function(){return o}))}]})],n)}(i.TuiAbstractTextfieldHost),x=function(){function t(){}return t=m([e.NgModule({imports:[a.CommonModule,c.TextMaskModule,i.TuiButtonModule,i.TuiPrimitiveTextfieldModule,i.TuiTextfieldControllerModule,s.TuiValueAccessorModule,p.PolymorpheusModule],declarations:[v,y],exports:[v,y,i.TuiTextfieldComponent]})],t)}();t.PASSWORD_ICON_DOWN="tuiIconMinus",t.PASSWORD_ICON_UP="tuiIconPlus",t.TUI_INPUT_COUNT_DEFAULT_OPTIONS=b,t.TUI_INPUT_COUNT_OPTIONS=g,t.TuiInputCountComponent=v,t.TuiInputCountDirective=y,t.TuiInputCountModule=x,t.tuiInputCountOptionsProvider=function(t){return{provide:g,useValue:f(f({},b),t)}},Object.defineProperty(t,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-count.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-count/input-count-options.ts","ng://@taiga-ui/kit/components/input-count/input-count.component.ts","ng://@taiga-ui/kit/components/input-count/input-count.directive.ts","ng://@taiga-ui/kit/components/input-count/input-count.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","TUI_INPUT_COUNT_DEFAULT_OPTIONS","icons","up","down","appearance","hideButtons","min","max","Infinity","step","postfix","TUI_INPUT_COUNT_OPTIONS","InjectionToken","factory","TuiInputCountComponent","control","changeDetectorRef","textfieldSize","minusTexts$","isMobile","options","numberFormat","_this","_super","prefix","getMask","allowNegative","mask","tuiCreateNumberMask","decimalSymbol","decimalSeparator","thousandSymbol","thousandSeparator","guide","primitiveTextfield","computedDisabled","nativeFocusableElement","size","isNativeFocused","focused","nativeValue","formatNumber","value","interactive","isPresent","onButtonMouseDown","event","disabled","preventDefault","setNativeFocused","onFocused","onBlur","updateFocused","onHovered","hovered","updateHovered","onPressed","pressed","updatePressed","onValueChange","capped","capValue","nativeNumberValue","isNaN","newValue","updateValue","decreaseValue","readOnly","safeUpdateValue","increaseValue","onKeydown","getFallbackValue","parseInt","split","join","clamp","Math","formattedValue","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","TUI_TEXTFIELD_APPEARANCE","TuiTextfieldSizeDirective","TUI_TEXTFIELD_SIZE","Observable","TUI_PLUS_MINUS_TEXTS","TUI_IS_MOBILE","TUI_NUMBER_FORMAT","ViewChild","TuiPrimitiveTextfieldComponent","Input","tuiDefaultProp","tuiPure","HostBinding","TuiInputCountComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","AbstractTuiControl","TuiInputCountDirective","host","process","input","autocomplete","inputMode","TuiInputCountDirective_1","Directive","TUI_TEXTFIELD_HOST","TuiAbstractTextfieldHost","TuiInputCountModule","NgModule","imports","CommonModule","TextMaskModule","TuiButtonModule","TuiPrimitiveTextfieldModule","TuiTextfieldControllerModule","TuiValueAccessorModule","PolymorpheusModule","declarations","exports","TuiTextfieldComponent","useValue"],"mappings":"+gCAgBA,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,GAG5E,IAAII,EAAW,WAQlB,OAPAA,EAAWf,OAAOgB,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAIf,KADTc,EAAIG,UAAUF,GACOnB,OAAOK,UAAUC,eAAeC,KAAKW,EAAGd,KAAIa,EAAEb,GAAKc,EAAEd,IAE9E,OAAOa,IAEKM,MAAMX,KAAM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F,EAAAA,OAAOE,EAAAA,oBACPvF,EAAA,EAAAqF,EAAAA,OAAOG,EAAAA,2BAEPxF,EAAA,EAAAqF,EAAAA,OAAOK,EAAAA,qBAEP1F,EAAA,EAAAqF,EAAAA,OAAOO,EAAAA,uBAEP5F,EAAA,EAAAqF,EAAAA,OAAOQ,EAAAA,gBACP7F,EAAA,EAAAqF,EAAAA,OAAOvE,IAEPd,EAAA,EAAAqF,EAAAA,OAAOS,EAAAA,qBA9CH7E,IACDgG,EAAAA,kCClDZ,SAAAC,yDASA,OAT4C7I,EAAA6I,EAAAxF,KAA/BwF,EACTA,EAAAhJ,UAAA4F,cAAA,WACIrF,KAAK0I,KAAKrD,iBAGdoD,EAAAhJ,UAAAkJ,QAAA,SAAQC,GACJA,EAAMC,aAAe,MACrBD,EAAME,UAAY,WAPbL,EAAsBM,EAAAnI,EAAA,CATlCoI,EAAAA,UAAU,CACPlB,SAAU,kBACVK,UAAW,CACP,CACIC,QAASa,EAAAA,mBACTX,YAAaC,EAAAA,YAAW,WAAM,OAAAQ,UAI7BN,IAA+BS,EAAAA,uCCc5C,SAAAC,KAAkC,OAArBA,EAAmBvI,EAAA,CAb/BwI,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,eACAC,EAAAA,gBACAC,EAAAA,4BACAC,EAAAA,6BACAC,EAAAA,uBACAC,EAAAA,oBAEJC,aAAc,CAACrH,EAAwBiG,GACvCqB,QAAS,CAACtH,EAAwBiG,EAAwBsB,EAAAA,0BAEjDZ,2BHJqB,kCADF,2LA0BX,SAACrG,GAA2C,MAAA,CAC7DsF,QAAS/F,EACT2H,SAAQ7J,EAAAA,EAAA,GAAMuB,GAAoCoB","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 {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputCountOptions {\n readonly icons: Readonly<{\n up: PolymorpheusContent<Record<string, unknown>>;\n down: PolymorpheusContent<Record<string, unknown>>;\n }>;\n readonly appearance: string;\n readonly hideButtons: boolean;\n readonly min: number;\n readonly max: number;\n readonly step: number;\n readonly postfix: string;\n}\n\n/**\n * @deprecated: use TuiInputCountOptions instead\n * todo: remove in 3.0\n */\nexport type InputCountOptions = TuiInputCountOptions;\n\n// TODO: 3.0 remove in ivy compilation\nexport const PASSWORD_ICON_UP = `tuiIconPlus`;\nexport const PASSWORD_ICON_DOWN = `tuiIconMinus`;\n\n/** Default values for the input count options. */\nexport const TUI_INPUT_COUNT_DEFAULT_OPTIONS: TuiInputCountOptions = {\n icons: {\n up: PASSWORD_ICON_UP,\n down: PASSWORD_ICON_DOWN,\n },\n appearance: `textfield`,\n hideButtons: false,\n min: 0,\n max: Infinity,\n step: 1,\n postfix: ``,\n};\n\nexport const TUI_INPUT_COUNT_OPTIONS = new InjectionToken<TuiInputCountOptions>(\n `Default parameters for input count component`,\n {\n factory: () => TUI_INPUT_COUNT_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiInputCountOptionsProvider: (\n options: Partial<TuiInputCountOptions>,\n) => ValueProvider = (options: Partial<TuiInputCountOptions>) => ({\n provide: TUI_INPUT_COUNT_OPTIONS,\n useValue: {...TUI_INPUT_COUNT_DEFAULT_OPTIONS, ...options},\n});\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n forwardRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n clamp,\n isNativeFocused,\n isPresent,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_MOBILE,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n tuiPure,\n} from '@taiga-ui/cdk';\nimport {\n formatNumber,\n TUI_NUMBER_FORMAT,\n TUI_TEXTFIELD_APPEARANCE,\n TUI_TEXTFIELD_SIZE,\n tuiCreateNumberMask,\n TuiNumberFormatSettings,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeS,\n TuiTextfieldSizeDirective,\n TuiTextMaskOptions,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TUI_PLUS_MINUS_TEXTS} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {TextMaskConfig} from 'angular2-text-mask';\nimport {Observable} from 'rxjs';\n\nimport {TUI_INPUT_COUNT_OPTIONS, TuiInputCountOptions} from './input-count-options';\n\n// @dynamic\n@Component({\n selector: `tui-input-count`,\n templateUrl: `./input-count.template.html`,\n styleUrls: [`./input-count.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputCountComponent),\n },\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiInputCountComponent),\n },\n ],\n})\nexport class TuiInputCountComponent\n extends AbstractTuiControl<number>\n implements TuiWithOptionalMinMax<number>, TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly primitiveTextfield?: TuiPrimitiveTextfieldComponent;\n\n @Input()\n @tuiDefaultProp()\n step = this.options.step;\n\n @Input()\n @tuiDefaultProp()\n min = this.options.min;\n\n @Input()\n @tuiDefaultProp()\n max = this.options.max;\n\n @Input()\n @tuiDefaultProp()\n hideButtons = this.options.hideButtons;\n\n @Input()\n @tuiDefaultProp()\n prefix = ``;\n\n @Input()\n @tuiDefaultProp()\n postfix = this.options.postfix;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_APPEARANCE)\n private readonly appearance: string,\n @Inject(TUI_TEXTFIELD_SIZE)\n private readonly textfieldSize: TuiTextfieldSizeDirective,\n @Inject(TUI_PLUS_MINUS_TEXTS)\n readonly minusTexts$: Observable<[string, string]>,\n @Inject(TUI_IS_MOBILE) private readonly isMobile: boolean,\n @Inject(TUI_INPUT_COUNT_OPTIONS)\n readonly options: TuiInputCountOptions,\n @Inject(TUI_NUMBER_FORMAT)\n private readonly numberFormat: TuiNumberFormatSettings,\n ) {\n super(control, changeDetectorRef);\n }\n\n @tuiPure\n getMask(allowNegative: boolean): TextMaskConfig {\n return {\n mask: tuiCreateNumberMask({\n allowNegative,\n decimalSymbol: this.numberFormat.decimalSeparator,\n thousandSymbol: this.numberFormat.thousandSeparator,\n }),\n guide: false,\n } as TuiTextMaskOptions as unknown as TextMaskConfig;\n }\n\n // TODO: 3.0 Remove in v.3\n @HostBinding(`class._hide-buttons`)\n get buttonsHidden(): boolean {\n return this.hideButtons || this.appearance === `table`;\n }\n\n get iconUp(): PolymorpheusContent<Record<string, unknown>> {\n return this.options.icons.up;\n }\n\n get iconDown(): PolymorpheusContent<Record<string, unknown>> {\n return this.options.icons.down;\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return !this.primitiveTextfield || this.computedDisabled\n ? null\n : this.primitiveTextfield.nativeFocusableElement;\n }\n\n @HostBinding(`attr.data-size`)\n get size(): TuiSizeL | TuiSizeS {\n return this.textfieldSize.size;\n }\n\n get focused(): boolean {\n return isNativeFocused(this.nativeFocusableElement);\n }\n\n get exampleText(): string {\n return String(this.min);\n }\n\n get computedValue(): string {\n return this.focused ? this.nativeValue : this.formatNumber(this.value);\n }\n\n get minusButtonDisabled(): boolean {\n return !this.interactive || (isPresent(this.value) && this.value <= this.min);\n }\n\n get plusButtonDisabled(): boolean {\n return !this.interactive || (isPresent(this.value) && this.value >= this.max);\n }\n\n onButtonMouseDown(event: MouseEvent, disabled: boolean = false): void {\n if (disabled || !this.nativeFocusableElement || this.isMobile) {\n return;\n }\n\n event.preventDefault();\n setNativeFocused(this.nativeFocusableElement);\n }\n\n onFocused(focused: boolean): void {\n if (!focused) {\n this.onBlur();\n }\n\n this.updateFocused(focused);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n onValueChange(): void {\n const capped = this.capValue(this.nativeNumberValue);\n\n if (capped === null || isNaN(capped)) {\n return;\n }\n\n const newValue = this.formatNumber(capped);\n\n if (this.nativeValue !== newValue) {\n this.nativeValue = newValue;\n }\n\n this.updateValue(capped);\n }\n\n decreaseValue(): void {\n if (this.readOnly) {\n return;\n }\n\n const newValue = (this.value || 0) - this.step;\n\n this.safeUpdateValue(newValue);\n }\n\n increaseValue(): void {\n if (this.readOnly) {\n return;\n }\n\n const newValue = (this.value || 0) + this.step;\n\n this.safeUpdateValue(newValue);\n }\n\n onKeydown(event: KeyboardEvent): void {\n switch (event.key) {\n case `ArrowUp`:\n case `Up`:\n this.increaseValue();\n event.preventDefault();\n break;\n case `ArrowDown`:\n case `Down`:\n this.decreaseValue();\n event.preventDefault();\n break;\n default:\n break;\n }\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n private get nativeNumberValue(): number {\n return parseInt(\n this.nativeValue.split(this.numberFormat.thousandSeparator).join(``),\n 10,\n );\n }\n\n private get nativeValue(): string {\n return this.nativeFocusableElement ? this.nativeFocusableElement.value : ``;\n }\n\n private set nativeValue(value: string) {\n if (!this.nativeFocusableElement) {\n return;\n }\n\n this.nativeFocusableElement.value = value;\n }\n\n private safeUpdateValue(newValue: number): void {\n const value = clamp(newValue, this.min, this.max);\n\n this.updateValue(value);\n this.nativeValue = this.formatNumber(value);\n }\n\n private capValue(value: number): number | null {\n const capped = Math.min(value, this.max);\n\n return isNaN(capped) || capped < this.min ? null : capped;\n }\n\n private onBlur(): void {\n const value = Math.max(this.nativeNumberValue || 0, this.min);\n const formattedValue = this.formatNumber(value);\n\n this.nativeValue = formattedValue;\n this.updateValue(value);\n\n if (this.primitiveTextfield) {\n this.primitiveTextfield.value = formattedValue;\n }\n }\n\n private formatNumber(value: number): string {\n return formatNumber(\n value,\n null,\n this.numberFormat.decimalSeparator,\n this.numberFormat.thousandSeparator,\n );\n }\n}\n","import {Directive, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiInputCountComponent} from './input-count.component';\n\n@Directive({\n selector: `tui-input-count`,\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiInputCountDirective),\n },\n ],\n})\nexport class TuiInputCountDirective extends TuiAbstractTextfieldHost<TuiInputCountComponent> {\n onValueChange(): void {\n this.host.onValueChange();\n }\n\n process(input: HTMLInputElement): void {\n input.autocomplete = `off`;\n input.inputMode = `numeric`;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {\n TuiButtonModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit/directives';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {TextMaskModule} from 'angular2-text-mask';\n\nimport {TuiInputCountComponent} from './input-count.component';\nimport {TuiInputCountDirective} from './input-count.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n TextMaskModule,\n TuiButtonModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiValueAccessorModule,\n PolymorpheusModule,\n ],\n declarations: [TuiInputCountComponent, TuiInputCountDirective],\n exports: [TuiInputCountComponent, TuiInputCountDirective, TuiTextfieldComponent],\n})\nexport class TuiInputCountModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/constants"),require("@taiga-ui/kit/tokens"),require("@taiga-ui/kit/utils/mask"),require("@tinkoff/ng-polymorpheus"),require("rxjs"),require("rxjs/operators"),require("@taiga-ui/kit/providers"),require("@taiga-ui/kit/utils/miscellaneous"),require("@angular/common"),require("@taiga-ui/kit/components/calendar-range"),require("@taiga-ui/kit/directives"),require("angular2-text-mask")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-date-range",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/constants","@taiga-ui/kit/tokens","@taiga-ui/kit/utils/mask","@tinkoff/ng-polymorpheus","rxjs","rxjs/operators","@taiga-ui/kit/providers","@taiga-ui/kit/utils/miscellaneous","@angular/common","@taiga-ui/kit/components/calendar-range","@taiga-ui/kit/directives","angular2-text-mask"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-date-range"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.constants,e["taiga-ui"].kit.tokens,e["taiga-ui"].kit.utils.mask,e.ngPolymorpheus,e.rxjs,e.rxjs.operators,e["taiga-ui"].kit.providers,e["taiga-ui"].kit.utils.miscellaneous,e.ng.common,e["taiga-ui"].kit.components["calendar-range"],e["taiga-ui"].kit.directives,e.angular2TextMask)}(this,(function(e,t,n,i,o,a,r,u,l,s,p,c,d,g,m,f,h){"use strict";var y=function(e,t){return(y=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 T(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}y(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function v(e,t,n,i){var o,a=arguments.length,r=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(r=(a<3?o(r):a>3?o(t,n,r):o(t,n))||r);return a>3&&r&&Object.defineProperty(t,n,r),r}function I(e,t){return function(n,i){t(n,i,e)}}Object.create;Object.create;var E=function(e,t){return d.TuiReplayControlValueChangesFactory(e,t)},_=[{provide:i.AbstractTuiControl,useExisting:t.forwardRef((function(){return b}))},{provide:i.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return b}))},{provide:r.TUI_CALENDAR_DATA_STREAM,deps:[[new t.Optional,new t.Self,n.NgControl],[new t.Optional,t.forwardRef((function(){return r.TUI_DATE_RANGE_VALUE_TRANSFORMER}))]],useFactory:E},c.LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER],b=function(e){function c(t,n,r,l,s,c,d,g,m,f,h,y){var T=e.call(this,t,n,y)||this;return T.injector=r,T.isMobile=l,T.dialogService=s,T.mobileCalendar=c,T.textfieldSize=d,T.textfieldExampleText=g,T.dateFormat=m,T.dateSeparator=f,T.dateTexts$=h,T.valueTransformer=y,T.textMaskOptions={mask:u.tuiCreateDateRangeMask(T.dateFormat,T.dateSeparator),pipe:u.tuiCreateAutoCorrectedDateRangePipe(T),guide:!1},T.disabledItemHandler=i.ALWAYS_FALSE_HANDLER,T.markerHandler=o.TUI_DEFAULT_MARKER_HANDLER,T.defaultViewedMonth=i.TuiMonth.currentLocal(),T.items=[],T.min=i.TUI_FIRST_DAY,T.max=i.TUI_LAST_DAY,T.minLength=null,T.maxLength=null,T.open=!1,T.maxLengthMapper=a.MAX_DAY_RANGE_LENGTH_MAPPER,T.dateFiller$=T.dateTexts$.pipe(p.map((function(e){return i.changeDateSeparator(e[T.dateFormat],T.dateSeparator)}))),T}return T(c,e),Object.defineProperty(c.prototype,"nativeFocusableElement",{get:function(){return this.textfield?this.textfield.nativeFocusableElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"focused",{get:function(){return!!this.textfield&&this.textfield.focused},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"computedMobile",{get:function(){return this.isMobile&&!!this.mobileCalendar},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"calendarIcon",{get:function(){return o.sizeBigger(this.textfieldSize.size)?"tuiIconCalendarLarge":"tuiIconCalendar"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"canOpen",{get:function(){return this.interactive&&!this.computedMobile},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"computedExampleText",{get:function(){return this.items.length?this.textfieldExampleText.exampleText:""},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"computedMask",{get:function(){return this.activePeriod?a.EMPTY_MASK:this.textMaskOptions},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"activePeriod",{get:function(){var e=this;return this.items.find((function(t){return i.nullableSame(e.value,t.range,(function(t,n){return t.from.daySame(n.from.dayLimit(e.min,e.max))&&t.to.daySame(n.to.dayLimit(e.min,e.max))}))}))||null},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"computedValue",{get:function(){var e=this.value,t=this.nativeValue,n=this.activePeriod;return n?String(n):e?e.getFormattedDayRange(this.dateFormat,this.dateSeparator):t},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"innerPseudoFocused",{get:function(){return!1!==this.pseudoFocused&&(!(!this.open&&!this.computedFocused)||null)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"nativeValue",{get:function(){return this.nativeFocusableElement?this.nativeFocusableElement.value:""},set:function(e){this.nativeFocusableElement&&(this.nativeFocusableElement.value=e)},enumerable:!0,configurable:!0}),c.prototype.onClick=function(){this.isMobile||this.toggle()},c.prototype.getComputedRangeFiller=function(e){return this.activePeriod?"":this.getDateRangeFiller(e)},c.prototype.onMobileClick=function(){var e=this;this.mobileCalendar?this.dialogService.open(new l.PolymorpheusComponent(this.mobileCalendar,this.injector),{size:"fullscreen",closeable:!1,data:{single:!1,min:this.maxLengthMapper(this.min,this.value,this.maxLength,!0),max:this.maxLengthMapper(this.max,this.value,this.maxLength,!1),disabledItemHandler:this.disabledItemHandler}}).pipe(p.takeUntil(this.destroy$)).subscribe((function(t){e.updateValue(t)})):this.toggle()},c.prototype.onOpenChange=function(e){this.open=e},c.prototype.onValueChange=function(e){if(this.control&&this.control.updateValueAndValidity({emitEvent:!1}),e||this.onOpenChange(!0),e.length===i.DATE_RANGE_FILLER_LENGTH){var t=i.TuiDayRange.normalizeParse(e,this.dateFormat);this.updateValue(this.minLength||this.maxLength?this.clampValue(t):t)}else this.updateValue(null)},c.prototype.onRangeChange=function(e){this.toggle(),this.focusInput(),e||(this.nativeValue=""),i.nullableSame(this.value,e,(function(e,t){return e.daySame(t)}))||this.updateValue(e)},c.prototype.onItemSelect=function(e){this.toggle(),this.focusInput(),"string"==typeof e?null!==this.activePeriod&&(this.updateValue(null),this.nativeValue=""):this.updateValue(e.range.dayLimit(this.min,this.max))},c.prototype.onHovered=function(e){this.updateHovered(e)},c.prototype.onPressed=function(e){this.updatePressed(e)},c.prototype.onActiveZone=function(e){this.updateFocused(e),e||this.itemSelected||this.nativeValue.length!==i.DATE_FILLER_LENGTH&&this.nativeValue.length!==i.DATE_FILLER_LENGTH+i.RANGE_SEPARATOR_CHAR.length||this.updateValue(i.TuiDayRange.normalizeParse(this.nativeValue,this.dateFormat))},c.prototype.writeValue=function(t){e.prototype.writeValue.call(this,t),this.nativeValue=t?this.computedValue:""},Object.defineProperty(c.prototype,"itemSelected",{get:function(){var e=this;return-1!==this.items.findIndex((function(t){return String(t)===e.nativeValue}))},enumerable:!0,configurable:!0}),c.prototype.toggle=function(){this.open=!this.open},c.prototype.focusInput=function(e){void 0===e&&(e=!1),this.nativeFocusableElement&&i.setNativeFocused(this.nativeFocusableElement,!0,e)},c.prototype.clampValue=function(e){var t=this.minLength&&e.from.append(this.minLength).dayAfter(e.to)?new i.TuiDayRange(e.from,e.from.append(this.minLength).append({day:-1})):e,n=this.maxLength?t.from.append(this.maxLength).append({day:-1}):this.max;return t.to.dayAfter(n)?new i.TuiDayRange(t.from,n):t},c.prototype.getDateRangeFiller=function(e){return""+e+i.RANGE_SEPARATOR_CHAR+e},c.ctorParameters=function(){return[{type:n.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[n.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:t.Injector,decorators:[{type:t.Inject,args:[t.Injector]}]},{type:Boolean,decorators:[{type:t.Inject,args:[i.TUI_IS_MOBILE]}]},{type:o.TuiDialogService,decorators:[{type:t.Inject,args:[o.TuiDialogService]}]},{type:t.Type,decorators:[{type:t.Optional},{type:t.Inject,args:[r.TUI_MOBILE_CALENDAR]}]},{type:o.TuiTextfieldSizeDirective,decorators:[{type:t.Inject,args:[o.TUI_TEXTFIELD_SIZE]}]},{type:o.TuiTextfieldExampleTextDirective,decorators:[{type:t.Inject,args:[o.TUI_TEXTFIELD_EXAMPLE_TEXT]}]},{type:void 0,decorators:[{type:t.Inject,args:[i.TUI_DATE_FORMAT]}]},{type:String,decorators:[{type:t.Inject,args:[i.TUI_DATE_SEPARATOR]}]},{type:s.Observable,decorators:[{type:t.Inject,args:[r.TUI_DATE_TEXTS]}]},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[r.TUI_DATE_RANGE_VALUE_TRANSFORMER]}]}]},v([t.ViewChild(o.TuiPrimitiveTextfieldComponent)],c.prototype,"textfield",void 0),v([t.Input(),i.tuiDefaultProp()],c.prototype,"disabledItemHandler",void 0),v([t.Input(),i.tuiDefaultProp()],c.prototype,"markerHandler",void 0),v([t.Input(),i.tuiDefaultProp()],c.prototype,"defaultViewedMonth",void 0),v([t.Input(),i.tuiDefaultProp()],c.prototype,"items",void 0),v([t.Input(),i.tuiDefaultProp()],c.prototype,"min",void 0),v([t.Input(),i.tuiDefaultProp()],c.prototype,"max",void 0),v([t.Input(),i.tuiDefaultProp()],c.prototype,"minLength",void 0),v([t.Input(),i.tuiDefaultProp()],c.prototype,"maxLength",void 0),v([t.HostListener("click")],c.prototype,"onClick",null),c=v([t.Component({selector:"tui-input-date-range",template:'<tui-hosted-dropdown\n class="t-hosted"\n [canOpen]="canOpen"\n [content]="dropdown"\n [open]="open && canOpen"\n (openChange)="onOpenChange($event)"\n (tuiActiveZoneChange)="onActiveZone($event)"\n>\n <tui-primitive-textfield\n *tuiLet="dateFiller$ | async as dateFiller"\n automation-id="tui-input-date-range__textfield"\n tuiValueAccessor\n tuiTextfieldInputMode="numeric"\n class="t-textfield"\n [pseudoFocused]="innerPseudoFocused"\n [pseudoHovered]="pseudoHovered"\n [pseudoPressed]="pseudoPressed"\n [invalid]="computedInvalid"\n [tuiTextfieldExampleText]="computedExampleText"\n [nativeId]="nativeId"\n [filler]="getComputedRangeFiller(dateFiller)"\n [readOnly]="readOnly"\n [iconContent]="computedMobile ? mobileIconContent : iconContent"\n [disabled]="computedDisabled"\n [textMask]="computedMask"\n [value]="computedValue"\n (valueChange)="onValueChange($event)"\n (hoveredChange)="onHovered($event)"\n (pressedChange)="onPressed($event)"\n >\n <ng-content></ng-content>\n <ng-content\n select="input"\n ngProjectAs="input"\n ></ng-content>\n </tui-primitive-textfield>\n\n <ng-template #mobileIconContent>\n <tui-svg\n automation-id="tui-input-date-range__icon"\n [class.t-icon]="!computedDisabled"\n [src]="calendarIcon"\n (click)="onMobileClick()"\n ></tui-svg>\n </ng-template>\n\n <ng-template #iconContent>\n <tui-svg\n [class.t-icon]="!computedDisabled"\n [src]="calendarIcon"\n ></tui-svg>\n </ng-template>\n\n <ng-template #dropdown>\n <tui-calendar-range\n [defaultViewedMonth]="defaultViewedMonth"\n [disabledItemHandler]="disabledItemHandler"\n [items]="items"\n [min]="min"\n [max]="max"\n [markerHandler]="markerHandler"\n [minLength]="minLength"\n [maxLength]="maxLength"\n [value]="value"\n (valueChange)="onRangeChange($event)"\n ></tui-calendar-range>\n </ng-template>\n</tui-hosted-dropdown>\n',providers:_,styles:[":host{display:block;border-radius:var(--tui-radius-m);text-align:left}:host._disabled{pointer-events:none}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}"]}),I(0,t.Optional()),I(0,t.Self()),I(0,t.Inject(n.NgControl)),I(1,t.Inject(t.ChangeDetectorRef)),I(2,t.Inject(t.Injector)),I(3,t.Inject(i.TUI_IS_MOBILE)),I(4,t.Inject(o.TuiDialogService)),I(5,t.Optional()),I(5,t.Inject(r.TUI_MOBILE_CALENDAR)),I(6,t.Inject(o.TUI_TEXTFIELD_SIZE)),I(7,t.Inject(o.TUI_TEXTFIELD_EXAMPLE_TEXT)),I(8,t.Inject(i.TUI_DATE_FORMAT)),I(9,t.Inject(i.TUI_DATE_SEPARATOR)),I(10,t.Inject(r.TUI_DATE_TEXTS)),I(11,t.Optional()),I(11,t.Inject(r.TUI_DATE_RANGE_VALUE_TRANSFORMER))],c)}(i.AbstractTuiNullableControl),x=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}var i;return T(n,e),i=n,Object.defineProperty(n.prototype,"value",{get:function(){return this.host.computedValue},enumerable:!0,configurable:!0}),n.prototype.onValueChange=function(e){this.host.onValueChange(e)},n.prototype.process=function(e){e.inputMode="numeric"},n=i=v([t.Directive({selector:"tui-input-date-range",providers:[{provide:o.TUI_TEXTFIELD_HOST,useExisting:t.forwardRef((function(){return i}))}]})],n)}(o.TuiAbstractTextfieldHost),A=function(){function e(){}return e=v([t.NgModule({imports:[g.CommonModule,h.TextMaskModule,i.TuiActiveZoneModule,i.TuiLetModule,l.PolymorpheusModule,o.TuiPrimitiveTextfieldModule,o.TuiTextfieldControllerModule,o.TuiHostedDropdownModule,o.TuiSvgModule,m.TuiCalendarRangeModule,f.TuiValueAccessorModule],declarations:[b,x],exports:[b,x,o.TuiTextfieldComponent]})],e)}();e.RANGE_STREAM_FACTORY=E,e.TUI_INPUT_DATE_RANGE_PROVIDERS=_,e.TuiInputDateRangeComponent=b,e.TuiInputDateRangeDirective=x,e.TuiInputDateRangeModule=A,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-date-range.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-date-range/input-date-range.providers.ts","ng://@taiga-ui/kit/components/input-date-range/input-date-range.component.ts","ng://@taiga-ui/kit/components/input-date-range/input-date-range.directive.ts","ng://@taiga-ui/kit/components/input-date-range/input-date-range.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","RANGE_STREAM_FACTORY","control","valueTransformer","TuiReplayControlValueChangesFactory","TUI_INPUT_DATE_RANGE_PROVIDERS","provide","AbstractTuiControl","useExisting","forwardRef","TuiInputDateRangeComponent","TUI_FOCUSABLE_ITEM_ACCESSOR","TUI_CALENDAR_DATA_STREAM","deps","Optional","Self","NgControl","TUI_DATE_RANGE_VALUE_TRANSFORMER","useFactory","LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER","changeDetectorRef","injector","isMobile","dialogService","mobileCalendar","textfieldSize","textfieldExampleText","dateFormat","dateSeparator","dateTexts$","_this","_super","textMaskOptions","mask","tuiCreateDateRangeMask","pipe","tuiCreateAutoCorrectedDateRangePipe","guide","disabledItemHandler","ALWAYS_FALSE_HANDLER","markerHandler","TUI_DEFAULT_MARKER_HANDLER","defaultViewedMonth","TuiMonth","currentLocal","items","min","TUI_FIRST_DAY","max","TUI_LAST_DAY","minLength","maxLength","open","maxLengthMapper","MAX_DAY_RANGE_LENGTH_MAPPER","dateFiller$","map","dateTexts","changeDateSeparator","textfield","nativeFocusableElement","focused","sizeBigger","size","interactive","computedMobile","exampleText","activePeriod","EMPTY_MASK","find","item","nullableSame","value","range","a","from","daySame","dayLimit","to","nativeValue","getFormattedDayRange","pseudoFocused","computedFocused","onClick","toggle","getComputedRangeFiller","dateFiller","getDateRangeFiller","onMobileClick","PolymorpheusComponent","closeable","data","single","takeUntil","destroy$","subscribe","updateValue","onOpenChange","onValueChange","updateValueAndValidity","emitEvent","DATE_RANGE_FILLER_LENGTH","parsedValue","TuiDayRange","normalizeParse","clampValue","onRangeChange","focusInput","onItemSelect","onHovered","hovered","updateHovered","onPressed","pressed","updatePressed","onActiveZone","updateFocused","itemSelected","DATE_FILLER_LENGTH","RANGE_SEPARATOR_CHAR","writeValue","computedValue","findIndex","preventScroll","setNativeFocused","clampedBottom","append","dayAfter","day","availableMax","type","Inject","args","ChangeDetectorRef","Injector","TUI_IS_MOBILE","TuiDialogService","Type","TUI_MOBILE_CALENDAR","TuiTextfieldSizeDirective","TUI_TEXTFIELD_SIZE","TuiTextfieldExampleTextDirective","TUI_TEXTFIELD_EXAMPLE_TEXT","TUI_DATE_FORMAT","TUI_DATE_SEPARATOR","Observable","TUI_DATE_TEXTS","ViewChild","TuiPrimitiveTextfieldComponent","Input","tuiDefaultProp","HostListener","Component","selector","template","providers","AbstractTuiNullableControl","TuiInputDateRangeDirective","host","process","input","inputMode","TuiInputDateRangeDirective_1","Directive","TUI_TEXTFIELD_HOST","TuiAbstractTextfieldHost","TuiInputDateRangeModule","NgModule","imports","CommonModule","TextMaskModule","TuiActiveZoneModule","TuiLetModule","PolymorpheusModule","TuiPrimitiveTextfieldModule","TuiTextfieldControllerModule","TuiHostedDropdownModule","TuiSvgModule","TuiCalendarRangeModule","TuiValueAccessorModule","declarations","exports","TuiTextfieldComponent"],"mappings":"knDAgBA,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,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A,OAAOY,EAAAA,kBACPjJ,EAAA,EAAAqI,EAAAA,OAAOa,EAAAA,qBACPlJ,EAAA,GAAAqI,EAAAA,OAAOe,EAAAA,iBAEPpJ,EAAA,GAAAgB,EAAAA,YACAhB,EAAA,GAAAqI,EAAAA,OAAOlH,EAAAA,oCA3EHP,IACDkJ,EAAAA,0CC/DZ,SAAAC,yDAYA,OAZgDpL,EAAAoL,EAAA9H,KAAnC8H,EACT5L,OAAA4B,eAAIgK,EAAAvL,UAAA,QAAK,KAAT,WACI,OAAOO,KAAKiL,KAAKrC,+CAGrBoC,EAAAvL,UAAA4H,cAAA,SAAc1B,GACV3F,KAAKiL,KAAK5D,cAAc1B,IAG5BqF,EAAAvL,UAAAyL,QAAA,SAAQC,GACJA,EAAMC,UAAY,WAVbJ,EAA0BK,EAAAlL,EAAA,CATtCmL,EAAAA,UAAU,CACPV,SAAU,uBACVE,UAAW,CACP,CACIrJ,QAAS8J,EAAAA,mBACT5J,YAAaC,EAAAA,YAAW,WAAM,OAAAyJ,UAI7BL,IAAmCQ,EAAAA,uCCyBhD,SAAAC,KAAsC,OAAzBA,EAAuBtL,EAAA,CArBnCuL,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,eACAC,EAAAA,oBACAC,EAAAA,aACAC,EAAAA,mBACAC,EAAAA,4BACAC,EAAAA,6BACAC,EAAAA,wBACAC,EAAAA,aACAC,EAAAA,uBACAC,EAAAA,wBAEJC,aAAc,CAAC1K,EAA4BmJ,GAC3CwB,QAAS,CACL3K,EACAmJ,EACAyB,EAAAA,0BAGKhB","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 {forwardRef, Optional, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiControlValueTransformer,\n TuiDayRange,\n} from '@taiga-ui/cdk';\nimport {LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {\n TUI_CALENDAR_DATA_STREAM,\n TUI_DATE_RANGE_VALUE_TRANSFORMER,\n} from '@taiga-ui/kit/tokens';\nimport {TuiReplayControlValueChangesFactory} from '@taiga-ui/kit/utils/miscellaneous';\nimport {Observable} from 'rxjs';\n\nimport {TuiInputDateRangeComponent} from './input-date-range.component';\n\n// TODO: 3.0 remove in ivy compilation\nexport const RANGE_STREAM_FACTORY = <T extends TuiDayRange>(\n control: NgControl | null,\n valueTransformer: TuiControlValueTransformer<T>,\n): Observable<T | null> | null =>\n TuiReplayControlValueChangesFactory<T>(control, valueTransformer);\n\nexport const TUI_INPUT_DATE_RANGE_PROVIDERS = [\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiInputDateRangeComponent),\n },\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputDateRangeComponent),\n },\n {\n provide: TUI_CALENDAR_DATA_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), forwardRef(() => TUI_DATE_RANGE_VALUE_TRANSFORMER)],\n ],\n useFactory: RANGE_STREAM_FACTORY,\n },\n LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER,\n];\n","import {\n ChangeDetectorRef,\n Component,\n HostListener,\n Inject,\n Injector,\n Input,\n Optional,\n Self,\n Type,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiNullableControl,\n ALWAYS_FALSE_HANDLER,\n changeDateSeparator,\n DATE_FILLER_LENGTH,\n DATE_RANGE_FILLER_LENGTH,\n nullableSame,\n RANGE_SEPARATOR_CHAR,\n setNativeFocused,\n TUI_DATE_FORMAT,\n TUI_DATE_SEPARATOR,\n TUI_FIRST_DAY,\n TUI_IS_MOBILE,\n TUI_LAST_DAY,\n TuiBooleanHandler,\n TuiControlValueTransformer,\n TuiDateMode,\n TuiDay,\n TuiDayLike,\n TuiDayRange,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiMapper,\n TuiMonth,\n} from '@taiga-ui/cdk';\nimport {\n sizeBigger,\n TUI_DEFAULT_MARKER_HANDLER,\n TUI_TEXTFIELD_EXAMPLE_TEXT,\n TUI_TEXTFIELD_SIZE,\n TuiDialogService,\n TuiMarkerHandler,\n TuiPrimitiveTextfieldComponent,\n TuiTextfieldExampleTextDirective,\n TuiTextfieldSizeDirective,\n TuiTextMaskOptions,\n TuiWithOptionalMinMax,\n} from '@taiga-ui/core';\nimport {TuiDayRangePeriod} from '@taiga-ui/kit/classes';\nimport {EMPTY_MASK, MAX_DAY_RANGE_LENGTH_MAPPER} from '@taiga-ui/kit/constants';\nimport {\n TUI_DATE_RANGE_VALUE_TRANSFORMER,\n TUI_DATE_TEXTS,\n TUI_MOBILE_CALENDAR,\n} from '@taiga-ui/kit/tokens';\nimport {\n tuiCreateAutoCorrectedDateRangePipe,\n tuiCreateDateRangeMask,\n} from '@taiga-ui/kit/utils/mask';\nimport {PolymorpheusComponent} from '@tinkoff/ng-polymorpheus';\nimport {TextMaskConfig} from 'angular2-text-mask';\nimport {Observable} from 'rxjs';\nimport {map, takeUntil} from 'rxjs/operators';\n\nimport {TUI_INPUT_DATE_RANGE_PROVIDERS} from './input-date-range.providers';\n\n// @dynamic\n@Component({\n selector: `tui-input-date-range`,\n templateUrl: `./input-date-range.template.html`,\n styleUrls: [`./input-date-range.style.less`],\n providers: TUI_INPUT_DATE_RANGE_PROVIDERS,\n})\nexport class TuiInputDateRangeComponent\n extends AbstractTuiNullableControl<TuiDayRange>\n implements TuiWithOptionalMinMax<TuiDay>, TuiFocusableElementAccessor\n{\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly textMaskOptions: TuiTextMaskOptions = {\n mask: tuiCreateDateRangeMask(this.dateFormat, this.dateSeparator),\n pipe: tuiCreateAutoCorrectedDateRangePipe(this),\n guide: false,\n };\n\n @Input()\n @tuiDefaultProp()\n disabledItemHandler: TuiBooleanHandler<TuiDay> = ALWAYS_FALSE_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n markerHandler: TuiMarkerHandler = TUI_DEFAULT_MARKER_HANDLER;\n\n @Input()\n @tuiDefaultProp()\n defaultViewedMonth = TuiMonth.currentLocal();\n\n @Input()\n @tuiDefaultProp()\n items: readonly TuiDayRangePeriod[] = [];\n\n @Input()\n @tuiDefaultProp()\n min = TUI_FIRST_DAY;\n\n @Input()\n @tuiDefaultProp()\n max = TUI_LAST_DAY;\n\n @Input()\n @tuiDefaultProp()\n minLength: TuiDayLike | null = null;\n\n @Input()\n @tuiDefaultProp()\n maxLength: TuiDayLike | null = null;\n\n open = false;\n\n readonly maxLengthMapper: TuiMapper<TuiDay, TuiDay> = MAX_DAY_RANGE_LENGTH_MAPPER;\n readonly dateFiller$ = this.dateTexts$.pipe(\n map(dateTexts =>\n changeDateSeparator(dateTexts[this.dateFormat], this.dateSeparator),\n ),\n );\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(Injector) private readonly injector: Injector,\n @Inject(TUI_IS_MOBILE) private readonly isMobile: boolean,\n @Inject(TuiDialogService) private readonly dialogService: TuiDialogService,\n @Optional()\n @Inject(TUI_MOBILE_CALENDAR)\n private readonly mobileCalendar: Type<object> | null,\n @Inject(TUI_TEXTFIELD_SIZE)\n private readonly textfieldSize: TuiTextfieldSizeDirective,\n @Inject(TUI_TEXTFIELD_EXAMPLE_TEXT)\n private readonly textfieldExampleText: TuiTextfieldExampleTextDirective,\n @Inject(TUI_DATE_FORMAT) readonly dateFormat: TuiDateMode,\n @Inject(TUI_DATE_SEPARATOR) readonly dateSeparator: string,\n @Inject(TUI_DATE_TEXTS)\n readonly dateTexts$: Observable<Record<TuiDateMode, string>>,\n @Optional()\n @Inject(TUI_DATE_RANGE_VALUE_TRANSFORMER)\n readonly valueTransformer: TuiControlValueTransformer<TuiDayRange | null> | null,\n ) {\n super(control, changeDetectorRef, valueTransformer);\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return this.textfield ? this.textfield.nativeFocusableElement : null;\n }\n\n get focused(): boolean {\n return !!this.textfield && this.textfield.focused;\n }\n\n get computedMobile(): boolean {\n return this.isMobile && !!this.mobileCalendar;\n }\n\n get calendarIcon(): string {\n return sizeBigger(this.textfieldSize.size)\n ? `tuiIconCalendarLarge`\n : `tuiIconCalendar`;\n }\n\n get canOpen(): boolean {\n return this.interactive && !this.computedMobile;\n }\n\n get computedExampleText(): string {\n return this.items.length ? this.textfieldExampleText.exampleText : ``;\n }\n\n get computedMask(): TextMaskConfig {\n return (this.activePeriod\n ? EMPTY_MASK\n : this.textMaskOptions) as TuiTextMaskOptions as unknown as TextMaskConfig;\n }\n\n get activePeriod(): TuiDayRangePeriod | null {\n return (\n this.items.find(item =>\n nullableSame(\n this.value,\n item.range,\n (a, b) =>\n a.from.daySame(b.from.dayLimit(this.min, this.max)) &&\n a.to.daySame(b.to.dayLimit(this.min, this.max)),\n ),\n ) || null\n );\n }\n\n get computedValue(): string {\n const {value, nativeValue, activePeriod} = this;\n\n if (activePeriod) {\n return String(activePeriod);\n }\n\n return value\n ? value.getFormattedDayRange(this.dateFormat, this.dateSeparator)\n : nativeValue;\n }\n\n get innerPseudoFocused(): boolean | null {\n if (this.pseudoFocused === false) {\n return false;\n }\n\n if (this.open || this.computedFocused) {\n return true;\n }\n\n return null;\n }\n\n get nativeValue(): string {\n return this.nativeFocusableElement ? this.nativeFocusableElement.value : ``;\n }\n\n set nativeValue(value: string) {\n if (!this.nativeFocusableElement) {\n return;\n }\n\n this.nativeFocusableElement.value = value;\n }\n\n @HostListener(`click`)\n onClick(): void {\n if (!this.isMobile) {\n this.toggle();\n }\n }\n\n getComputedRangeFiller(dateFiller: string): string {\n return this.activePeriod ? `` : this.getDateRangeFiller(dateFiller);\n }\n\n onMobileClick(): void {\n if (!this.mobileCalendar) {\n this.toggle();\n\n return;\n }\n\n this.dialogService\n .open<TuiDayRange>(\n new PolymorpheusComponent(this.mobileCalendar, this.injector),\n {\n size: `fullscreen`,\n closeable: false,\n data: {\n single: false,\n min: this.maxLengthMapper(\n this.min,\n this.value,\n this.maxLength,\n true,\n ),\n max: this.maxLengthMapper(\n this.max,\n this.value,\n this.maxLength,\n false,\n ),\n disabledItemHandler: this.disabledItemHandler,\n },\n },\n )\n .pipe(takeUntil(this.destroy$))\n .subscribe(value => {\n this.updateValue(value);\n });\n }\n\n onOpenChange(open: boolean): void {\n this.open = open;\n }\n\n onValueChange(value: string): void {\n if (this.control) {\n this.control.updateValueAndValidity({emitEvent: false});\n }\n\n if (!value) {\n this.onOpenChange(true);\n }\n\n if (value.length !== DATE_RANGE_FILLER_LENGTH) {\n this.updateValue(null);\n\n return;\n }\n\n const parsedValue = TuiDayRange.normalizeParse(value, this.dateFormat);\n\n this.updateValue(\n !this.minLength && !this.maxLength\n ? parsedValue\n : this.clampValue(parsedValue),\n );\n }\n\n onRangeChange(range: TuiDayRange | null): void {\n this.toggle();\n this.focusInput();\n\n if (!range) {\n this.nativeValue = ``;\n }\n\n if (!nullableSame<TuiDayRange>(this.value, range, (a, b) => a.daySame(b))) {\n this.updateValue(range);\n }\n }\n\n onItemSelect(item: string | TuiDayRangePeriod): void {\n this.toggle();\n this.focusInput();\n\n if (typeof item !== `string`) {\n this.updateValue(item.range.dayLimit(this.min, this.max));\n\n return;\n }\n\n if (this.activePeriod !== null) {\n this.updateValue(null);\n this.nativeValue = ``;\n }\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n onActiveZone(focused: boolean): void {\n this.updateFocused(focused);\n\n if (\n !focused &&\n !this.itemSelected &&\n (this.nativeValue.length === DATE_FILLER_LENGTH ||\n this.nativeValue.length ===\n DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length)\n ) {\n this.updateValue(\n TuiDayRange.normalizeParse(this.nativeValue, this.dateFormat),\n );\n }\n }\n\n writeValue(value: TuiDayRange | null): void {\n super.writeValue(value);\n this.nativeValue = value ? this.computedValue : ``;\n }\n\n private get itemSelected(): boolean {\n return this.items.findIndex(item => String(item) === this.nativeValue) !== -1;\n }\n\n private toggle(): void {\n this.open = !this.open;\n }\n\n private focusInput(preventScroll: boolean = false): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, preventScroll);\n }\n }\n\n private clampValue(value: TuiDayRange): TuiDayRange {\n const clampedBottom =\n this.minLength && value.from.append(this.minLength).dayAfter(value.to)\n ? new TuiDayRange(\n value.from,\n value.from.append(this.minLength).append({day: -1}),\n )\n : value;\n\n const availableMax = this.maxLength\n ? clampedBottom.from.append(this.maxLength).append({day: -1})\n : this.max;\n\n return clampedBottom.to.dayAfter(availableMax)\n ? new TuiDayRange(clampedBottom.from, availableMax)\n : clampedBottom;\n }\n\n private getDateRangeFiller(dateFiller: string): string {\n return `${dateFiller}${RANGE_SEPARATOR_CHAR}${dateFiller}`;\n }\n}\n","import {Directive, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiInputDateRangeComponent} from './input-date-range.component';\n\n@Directive({\n selector: `tui-input-date-range`,\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiInputDateRangeDirective),\n },\n ],\n})\nexport class TuiInputDateRangeDirective extends TuiAbstractTextfieldHost<TuiInputDateRangeComponent> {\n get value(): string {\n return this.host.computedValue;\n }\n\n onValueChange(value: string): void {\n this.host.onValueChange(value);\n }\n\n process(input: HTMLInputElement): void {\n input.inputMode = `numeric`;\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiActiveZoneModule, TuiLetModule} from '@taiga-ui/cdk';\nimport {\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiSvgModule,\n TuiTextfieldComponent,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TuiCalendarRangeModule} from '@taiga-ui/kit/components/calendar-range';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit/directives';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {TextMaskModule} from 'angular2-text-mask';\n\nimport {TuiInputDateRangeComponent} from './input-date-range.component';\nimport {TuiInputDateRangeDirective} from './input-date-range.directive';\n\n@NgModule({\n imports: [\n CommonModule,\n TextMaskModule,\n TuiActiveZoneModule,\n TuiLetModule,\n PolymorpheusModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiHostedDropdownModule,\n TuiSvgModule,\n TuiCalendarRangeModule,\n TuiValueAccessorModule,\n ],\n declarations: [TuiInputDateRangeComponent, TuiInputDateRangeDirective],\n exports: [\n TuiInputDateRangeComponent,\n TuiInputDateRangeDirective,\n TuiTextfieldComponent,\n ],\n})\nexport class TuiInputDateRangeModule {}\n"]}
@@ -1,2 +0,0 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/forms"),require("@taiga-ui/cdk"),require("@taiga-ui/core"),require("@taiga-ui/kit/constants"),require("@taiga-ui/kit/tokens"),require("@taiga-ui/kit/utils/mask"),require("rxjs"),require("rxjs/operators"),require("@taiga-ui/kit/providers"),require("@taiga-ui/kit/utils/miscellaneous"),require("@angular/common"),require("@taiga-ui/kit/directives"),require("@tinkoff/ng-polymorpheus"),require("angular2-text-mask")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-date-time",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/constants","@taiga-ui/kit/tokens","@taiga-ui/kit/utils/mask","rxjs","rxjs/operators","@taiga-ui/kit/providers","@taiga-ui/kit/utils/miscellaneous","@angular/common","@taiga-ui/kit/directives","@tinkoff/ng-polymorpheus","angular2-text-mask"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-date-time"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.constants,e["taiga-ui"].kit.tokens,e["taiga-ui"].kit.utils.mask,e.rxjs,e.rxjs.operators,e["taiga-ui"].kit.providers,e["taiga-ui"].kit.utils.miscellaneous,e.ng.common,e["taiga-ui"].kit.directives,e.ngPolymorpheus,e.angular2TextMask)}(this,(function(e,t,n,i,o,a,r,u,l,s,c,p,d,f,m,g){"use strict";var h=function(e,t){return(h=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 T(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}h(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function y(e,t,n,i){var o,a=arguments.length,r=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(r=(a<3?o(r):a>3?o(t,n,r):o(t,n))||r);return a>3&&r&&Object.defineProperty(t,n,r),r}function v(e,t){return function(n,i){t(n,i,e)}}Object.create;function _(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,a=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)r.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return r}function E(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(_(arguments[t]));return e}Object.create;var b=function(e,t){return p.TuiReplayControlValueChangesFactory(e,t)},A=[{provide:i.AbstractTuiControl,useExisting:t.forwardRef((function(){return I}))},{provide:i.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return I}))},{provide:r.TUI_CALENDAR_DATA_STREAM,deps:[[new t.Optional,new t.Self,n.NgControl],[new t.Optional,t.forwardRef((function(){return r.TUI_DATE_TIME_VALUE_TRANSFORMER}))]],useFactory:b},c.LEFT_ALIGNED_DROPDOWN_CONTROLLER_PROVIDER],I=function(e){function c(t,n,o,a,r,u,c,p){var d=e.call(this,t,n,p)||this;return d.textfieldSize=o,d.dateFormat=a,d.dateSeparator=r,d.timeTexts$=u,d.dateTexts$=c,d.valueTransformer=p,d.month=null,d.min=i.TUI_FIRST_DAY,d.max=i.TUI_LAST_DAY,d.disabledItemHandler=i.ALWAYS_FALSE_HANDLER,d.defaultActiveYearMonth=i.TuiMonth.currentLocal(),d.timeMode="HH:MM",d.open=!1,d.filler$=l.combineLatest([d.dateTexts$.pipe(s.map((function(e){return i.changeDateSeparator(e[d.dateFormat],d.dateSeparator)}))),d.timeTexts$.pipe(s.pluck(d.timeMode))]).pipe(s.map((function(e){return d.getDateTimeString.apply(d,E(e))}))),d}return T(c,e),Object.defineProperty(c.prototype,"fillerLength",{get:function(){return i.DATE_FILLER_LENGTH+a.DATE_TIME_SEPARATOR.length+this.timeMode.length},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"textMaskOptions",{get:function(){return this.calculateMask(this.value[0],this.calendarMinDay,this.calendarMaxDay,this.timeMode,this.dateFormat,this.dateSeparator)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"nativeFocusableElement",{get:function(){return this.textfield?this.textfield.nativeFocusableElement:null},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"focused",{get:function(){return!!this.textfield&&this.textfield.focused},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"calendarIcon",{get:function(){return o.sizeBigger(this.textfieldSize.size)?"tuiIconCalendarLarge":"tuiIconCalendar"},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"computedValue",{get:function(){var e=this.value,t=this.nativeValue,n=this.timeMode,o=_(e,2),a=o[0],r=o[1],u=t.length>i.DATE_FILLER_LENGTH;return!a||!r&&u?t:this.getDateTimeString(a,r,n)},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"calendarValue",{get:function(){return this.value[0]},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"calendarMinDay",{get:function(){return Array.isArray(this.min)?this.min[0]:this.min},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"calendarMaxDay",{get:function(){return Array.isArray(this.max)?this.max[0]:this.max},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"computedActiveYearMonth",{get:function(){return this.month||this.value[0]||this.defaultActiveYearMonth},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"nativeValue",{get:function(){return this.nativeFocusableElement?this.nativeFocusableElement.value:""},set:function(e){this.nativeFocusableElement&&(this.nativeFocusableElement.value=e)},enumerable:!0,configurable:!0}),c.prototype.onClick=function(){this.open=!this.open},c.prototype.onValueChange=function(e){if(e||this.onOpenChange(!0),e.length<i.DATE_FILLER_LENGTH)this.updateValue([null,null]);else{var t=_(e.split(a.DATE_TIME_SEPARATOR),2),n=t[0],o=t[1],r=i.TuiDay.normalizeParse(n,this.dateFormat),u=o&&o.length===this.timeMode.length?this.clampTime(i.TuiTime.fromString(o),r):null;this.open=!1,this.updateValue([r,u])}},c.prototype.onDayClick=function(e){var t=this.value[1]&&this.clampTime(this.value[1],e);this.updateValue([e,t]),this.updateNativeValue(e),this.open=!1},c.prototype.onHovered=function(e){this.updateHovered(e)},c.prototype.onMonthChange=function(e){this.month=e},c.prototype.onOpenChange=function(e){this.open=e},c.prototype.onFocused=function(e){var t=this;if(this.updateFocused(e),!(e||null===this.value[0]||null!==this.value[1]||this.nativeValue.length<=this.fillerLength+a.DATE_TIME_SEPARATOR.length||"HH:MM"===this.timeMode)){var n=_(this.nativeValue.split(a.DATE_TIME_SEPARATOR),2)[1];if(n){var o=i.TuiTime.fromString(n);this.updateValue([this.value[0],o]),setTimeout((function(){(t.nativeValue.endsWith(".")||t.nativeValue.endsWith(":"))&&(t.nativeValue=t.nativeValue.slice(0,-1))}))}}},c.prototype.setDisabledState=function(){e.prototype.setDisabledState.call(this),this.open=!1},c.prototype.writeValue=function(t){e.prototype.writeValue.call(this,t),this.nativeValue=t&&(t[0]||t[1])?this.computedValue:""},c.prototype.getFallbackValue=function(){return[null,null]},c.prototype.valueIdenticalComparator=function(e,t){return i.nullableSame(e[0],t[0],(function(e,t){return e.daySame(t)}))&&i.nullableSame(e[1],t[1],(function(e,t){return String(e)===String(t)}))},c.prototype.calculateMask=function(e,t,n,i,o,a){return{mask:E(u.tuiCreateDateMask(o,a),[","," "],u.tuiCreateTimeMask(i)),pipe:u.tuiCreateAutoCorrectedDateTimePipe({value:e,min:t,max:n,dateFormat:o,dateSeparator:a,timeMode:i}),guide:!1}},c.prototype.getDateTimeString=function(e,t,n){void 0===n&&(n="HH:MM");var o=e instanceof i.TuiDay?e.toString(this.dateFormat,this.dateSeparator):e,r=t instanceof i.TuiTime?t.toString(n):t||"";return""+o+a.DATE_TIME_SEPARATOR+r},c.prototype.updateNativeValue=function(e){var t=this.nativeValue.split(a.DATE_TIME_SEPARATOR)[1]||"";this.nativeValue=this.getDateTimeString(e,t)},c.prototype.clampTime=function(e,t){var n=e.toAbsoluteMilliseconds(),o=Array.isArray(this.min)&&t.daySame(this.calendarMinDay)?this.min[1].toAbsoluteMilliseconds():-1/0,a=Array.isArray(this.max)&&t.daySame(this.calendarMaxDay)?this.max[1].toAbsoluteMilliseconds():1/0;return i.TuiTime.fromAbsoluteMilliseconds(i.clamp(n,o,a))},c.ctorParameters=function(){return[{type:n.NgControl,decorators:[{type:t.Optional},{type:t.Self},{type:t.Inject,args:[n.NgControl]}]},{type:t.ChangeDetectorRef,decorators:[{type:t.Inject,args:[t.ChangeDetectorRef]}]},{type:o.TuiTextfieldSizeDirective,decorators:[{type:t.Inject,args:[o.TUI_TEXTFIELD_SIZE]}]},{type:void 0,decorators:[{type:t.Inject,args:[i.TUI_DATE_FORMAT]}]},{type:String,decorators:[{type:t.Inject,args:[i.TUI_DATE_SEPARATOR]}]},{type:l.Observable,decorators:[{type:t.Inject,args:[r.TUI_TIME_TEXTS]}]},{type:l.Observable,decorators:[{type:t.Inject,args:[r.TUI_DATE_TEXTS]}]},{type:void 0,decorators:[{type:t.Optional},{type:t.Inject,args:[r.TUI_DATE_TIME_VALUE_TRANSFORMER]}]}]},y([t.ViewChild(o.TuiPrimitiveTextfieldComponent)],c.prototype,"textfield",void 0),y([t.Input(),i.tuiDefaultProp()],c.prototype,"min",void 0),y([t.Input(),i.tuiDefaultProp()],c.prototype,"max",void 0),y([t.Input(),i.tuiDefaultProp()],c.prototype,"disabledItemHandler",void 0),y([t.Input(),i.tuiDefaultProp()],c.prototype,"defaultActiveYearMonth",void 0),y([t.Input(),i.tuiDefaultProp()],c.prototype,"timeMode",void 0),y([t.HostListener("click")],c.prototype,"onClick",null),y([i.tuiPure],c.prototype,"calculateMask",null),y([i.tuiPure],c.prototype,"getDateTimeString",null),c=y([t.Component({selector:"tui-input-date-time",template:'<tui-hosted-dropdown\n class="t-hosted"\n [canOpen]="interactive"\n [content]="dropdown"\n [open]="open && interactive"\n (openChange)="onOpenChange($event)"\n>\n <tui-primitive-textfield\n automation-id="tui-input-date-time__textfield"\n tuiValueAccessor\n tuiTextfieldInputMode="numeric"\n class="t-textfield"\n [pseudoFocused]="pseudoFocused"\n [pseudoHovered]="pseudoHovered"\n [invalid]="computedInvalid"\n [filler]="(filler$ | async) || \'\'"\n [nativeId]="nativeId"\n [readOnly]="readOnly"\n [iconContent]="iconContent"\n [disabled]="computedDisabled"\n [textMask]="textMaskOptions"\n [value]="computedValue"\n (valueChange)="onValueChange($event)"\n (hoveredChange)="onHovered($event)"\n (focusedChange)="onFocused($event)"\n >\n <ng-content></ng-content>\n <ng-content\n select="input"\n ngProjectAs="input"\n ></ng-content>\n </tui-primitive-textfield>\n\n <ng-template #iconContent>\n <tui-svg\n [class.t-icon]="!computedDisabled"\n [src]="calendarIcon"\n ></tui-svg>\n </ng-template>\n\n <ng-template\n #dropdown="polymorpheus"\n [polymorpheus]="type"\n >\n <tui-calendar\n tuiPreventDefault="mousedown"\n automation-id="tui-input-date-time__calendar"\n [min]="calendarMinDay"\n [max]="calendarMaxDay"\n [disabledItemHandler]="disabledItemHandler"\n [month]="computedActiveYearMonth"\n [value]="calendarValue"\n (dayClick)="onDayClick($event)"\n (monthChange)="onMonthChange($event)"\n ></tui-calendar>\n </ng-template>\n</tui-hosted-dropdown>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:A,styles:[":host{display:block;border-radius:var(--tui-radius-m);text-align:left}.t-hosted{display:block;border-radius:inherit}.t-textfield{border-radius:inherit;text-align:inherit}.t-icon{pointer-events:auto}.t-button{display:flex;height:2.75rem;justify-content:center;box-shadow:inset 0 1px var(--tui-base-03)}"]}),v(0,t.Optional()),v(0,t.Self()),v(0,t.Inject(n.NgControl)),v(1,t.Inject(t.ChangeDetectorRef)),v(2,t.Inject(o.TUI_TEXTFIELD_SIZE)),v(3,t.Inject(i.TUI_DATE_FORMAT)),v(4,t.Inject(i.TUI_DATE_SEPARATOR)),v(5,t.Inject(r.TUI_TIME_TEXTS)),v(6,t.Inject(r.TUI_DATE_TEXTS)),v(7,t.Optional()),v(7,t.Inject(r.TUI_DATE_TIME_VALUE_TRANSFORMER))],c)}(i.AbstractTuiControl),M=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}var i;return T(n,e),i=n,Object.defineProperty(n.prototype,"value",{get:function(){return this.host.computedValue},enumerable:!0,configurable:!0}),n.prototype.onValueChange=function(e){this.host.onValueChange(e)},n.prototype.process=function(e){e.inputMode="numeric"},n=i=y([t.Directive({selector:"tui-input-date-time",providers:[{provide:o.TUI_TEXTFIELD_HOST,useExisting:t.forwardRef((function(){return i}))}]})],n)}(o.TuiAbstractTextfieldHost),D=function(){function e(){}return e=y([t.NgModule({imports:[d.CommonModule,g.TextMaskModule,m.PolymorpheusModule,i.TuiPreventDefaultModule,o.TuiCalendarModule,o.TuiSvgModule,o.TuiLinkModule,o.TuiHostedDropdownModule,o.TuiPrimitiveTextfieldModule,f.TuiValueAccessorModule,o.TuiTextfieldControllerModule],declarations:[I,M],exports:[I,M,o.TuiTextfieldComponent]})],e)}();e.TIME_STREAM_FACTORY=b,e.TUI_INPUT_DATE_TIME_PROVIDERS=A,e.TuiInputDateTimeComponent=I,e.TuiInputDateTimeDirective=M,e.TuiInputDateTimeModule=D,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-date-time.umd.min.js.map