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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2400) hide show
  1. package/bundles/taiga-ui-kit-classes.umd.js +7 -3
  2. package/bundles/taiga-ui-kit-classes.umd.js.map +1 -1
  3. package/bundles/taiga-ui-kit-components-accordion.umd.js +564 -412
  4. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  5. package/bundles/taiga-ui-kit-components-action.umd.js +431 -311
  6. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  7. package/bundles/taiga-ui-kit-components-arrow.umd.js +81 -288
  8. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  9. package/bundles/taiga-ui-kit-components-avatar.umd.js +427 -305
  10. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  11. package/bundles/taiga-ui-kit-components-badge.umd.js +427 -303
  12. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  13. package/bundles/taiga-ui-kit-components-badged-content.umd.js +438 -304
  14. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  15. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +400 -342
  16. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  17. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +478 -344
  18. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  19. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +499 -366
  20. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  21. package/bundles/taiga-ui-kit-components-carousel.umd.js +599 -438
  22. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  23. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +455 -324
  24. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  25. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +419 -311
  26. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  27. package/bundles/taiga-ui-kit-components-checkbox.umd.js +434 -311
  28. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  29. package/bundles/taiga-ui-kit-components-combo-box.umd.js +537 -405
  30. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  31. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +471 -350
  32. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  33. package/bundles/taiga-ui-kit-components-files.umd.js +525 -379
  34. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  35. package/bundles/taiga-ui-kit-components-filter.umd.js +455 -324
  36. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  37. package/bundles/taiga-ui-kit-components-input-copy.umd.js +476 -356
  38. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  39. package/bundles/taiga-ui-kit-components-input-count.umd.js +516 -392
  40. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  41. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +567 -436
  42. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  43. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +544 -415
  44. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  45. package/bundles/taiga-ui-kit-components-input-date.umd.js +540 -406
  46. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  47. package/bundles/taiga-ui-kit-components-input-files.umd.js +535 -394
  48. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  49. package/bundles/taiga-ui-kit-components-input-inline.umd.js +426 -300
  50. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  51. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +505 -371
  52. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  53. package/bundles/taiga-ui-kit-components-input-month.umd.js +488 -356
  54. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  55. package/bundles/taiga-ui-kit-components-input-number.umd.js +516 -390
  56. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  57. package/bundles/taiga-ui-kit-components-input-password.umd.js +480 -360
  58. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  59. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +715 -828
  60. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  61. package/bundles/taiga-ui-kit-components-input-phone.umd.js +515 -403
  62. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  63. package/bundles/taiga-ui-kit-components-input-range.umd.js +564 -419
  64. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  65. package/bundles/taiga-ui-kit-components-input-slider.umd.js +503 -460
  66. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  67. package/bundles/taiga-ui-kit-components-input-tag.umd.js +636 -492
  68. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  69. package/bundles/taiga-ui-kit-components-input-time.umd.js +497 -367
  70. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  71. package/bundles/taiga-ui-kit-components-input.umd.js +438 -338
  72. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  73. package/bundles/taiga-ui-kit-components-island.umd.js +427 -310
  74. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  75. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +528 -324
  76. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  77. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +406 -287
  78. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  79. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +382 -271
  80. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  81. package/bundles/taiga-ui-kit-components-multi-select.umd.js +730 -575
  82. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  83. package/bundles/taiga-ui-kit-components-pagination.umd.js +482 -357
  84. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  85. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +434 -313
  86. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  87. package/bundles/taiga-ui-kit-components-progress.umd.js +551 -492
  88. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  89. package/bundles/taiga-ui-kit-components-radio-block.umd.js +454 -338
  90. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  91. package/bundles/taiga-ui-kit-components-radio-group.umd.js +379 -271
  92. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  93. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +450 -327
  94. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  95. package/bundles/taiga-ui-kit-components-radio-list.umd.js +461 -326
  96. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  97. package/bundles/taiga-ui-kit-components-radio.umd.js +474 -345
  98. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  99. package/bundles/taiga-ui-kit-components-range.umd.js +535 -461
  100. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  101. package/bundles/taiga-ui-kit-components-rating.umd.js +452 -320
  102. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  103. package/bundles/taiga-ui-kit-components-select-option.umd.js +74 -285
  104. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  105. package/bundles/taiga-ui-kit-components-select.umd.js +487 -365
  106. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  107. package/bundles/taiga-ui-kit-components-slider.umd.js +580 -570
  108. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  109. package/bundles/taiga-ui-kit-components-stepper.umd.js +487 -353
  110. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  111. package/bundles/taiga-ui-kit-components-tabs.umd.js +746 -636
  112. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  113. package/bundles/taiga-ui-kit-components-tag.umd.js +527 -385
  114. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  115. package/bundles/taiga-ui-kit-components-text-area.umd.js +525 -392
  116. package/bundles/taiga-ui-kit-components-text-area.umd.js.map +1 -1
  117. package/bundles/taiga-ui-kit-components-toggle.umd.js +482 -343
  118. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  119. package/bundles/taiga-ui-kit-components-tree.umd.js +675 -503
  120. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  121. package/bundles/taiga-ui-kit-components.umd.js +123 -257
  122. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  123. package/bundles/taiga-ui-kit-constants.umd.js +341 -280
  124. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  125. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +507 -0
  126. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -0
  127. package/bundles/taiga-ui-kit-directives-highlight.umd.js +403 -290
  128. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  129. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +421 -308
  130. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  131. package/bundles/taiga-ui-kit-directives-present.umd.js +64 -279
  132. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  133. package/bundles/taiga-ui-kit-directives-project-class.umd.js +381 -272
  134. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  135. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +64 -276
  136. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  137. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +60 -278
  138. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  139. package/bundles/taiga-ui-kit-directives.umd.js +20 -50
  140. package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
  141. package/bundles/taiga-ui-kit-interfaces.umd.js +2 -2
  142. package/bundles/taiga-ui-kit-interfaces.umd.js.map +1 -1
  143. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +441 -321
  144. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  145. package/bundles/taiga-ui-kit-internal.umd.js +5 -7
  146. package/bundles/taiga-ui-kit-internal.umd.js.map +1 -1
  147. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +438 -310
  148. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  149. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +406 -306
  150. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  151. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +43 -261
  152. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  153. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +43 -261
  154. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  155. package/bundles/taiga-ui-kit-pipes.umd.js +11 -19
  156. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  157. package/bundles/taiga-ui-kit-providers.umd.js +17 -49
  158. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  159. package/bundles/taiga-ui-kit-tokens.umd.js +41 -287
  160. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  161. package/bundles/taiga-ui-kit-types.umd.js +2 -2
  162. package/bundles/taiga-ui-kit-types.umd.js.map +1 -1
  163. package/bundles/taiga-ui-kit-utils-files.umd.js +10 -18
  164. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  165. package/bundles/taiga-ui-kit-utils-format.umd.js +8 -8
  166. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  167. package/bundles/taiga-ui-kit-utils-mask.umd.js +347 -273
  168. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  169. package/bundles/taiga-ui-kit-utils-math.umd.js +335 -257
  170. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  171. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +341 -275
  172. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  173. package/bundles/taiga-ui-kit-utils.umd.js +15 -33
  174. package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
  175. package/bundles/taiga-ui-kit-validators.umd.js +7 -3
  176. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  177. package/bundles/taiga-ui-kit.umd.js +34 -50
  178. package/bundles/taiga-ui-kit.umd.js.map +1 -1
  179. package/classes/package.json +2 -5
  180. package/classes/stringifiable-item.d.ts +1 -1
  181. package/classes/taiga-ui-kit-classes.d.ts +1 -0
  182. package/components/accordion/accordion-item/accordion-item-content.directive.d.ts +3 -0
  183. package/components/accordion/accordion-item/accordion-item-eager-content.directive.d.ts +3 -0
  184. package/components/accordion/accordion-item/accordion-item.component.d.ts +3 -1
  185. package/components/accordion/accordion.component.d.ts +3 -0
  186. package/components/accordion/accordion.module.d.ts +12 -0
  187. package/components/accordion/package.json +2 -5
  188. package/components/accordion/taiga-ui-kit-components-accordion.d.ts +1 -0
  189. package/components/action/action.component.d.ts +3 -1
  190. package/components/action/action.module.d.ts +9 -0
  191. package/components/action/package.json +2 -5
  192. package/components/action/taiga-ui-kit-components-action.d.ts +1 -0
  193. package/components/arrow/arrow-options.d.ts +0 -2
  194. package/components/arrow/arrow.component.d.ts +5 -1
  195. package/components/arrow/arrow.module.d.ts +8 -0
  196. package/components/arrow/package.json +2 -5
  197. package/components/arrow/taiga-ui-kit-components-arrow.d.ts +1 -0
  198. package/components/avatar/avatar.component.d.ts +3 -0
  199. package/components/avatar/avatar.module.d.ts +7 -0
  200. package/components/avatar/package.json +2 -5
  201. package/components/avatar/taiga-ui-kit-components-avatar.d.ts +1 -0
  202. package/components/badge/badge.component.d.ts +5 -2
  203. package/components/badge/badge.module.d.ts +6 -0
  204. package/components/badge/package.json +2 -5
  205. package/components/badge/taiga-ui-kit-components-badge.d.ts +1 -0
  206. package/components/badged-content/badged-content.component.d.ts +8 -4
  207. package/components/badged-content/badged-content.module.d.ts +9 -0
  208. package/components/badged-content/package.json +2 -5
  209. package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +1 -0
  210. package/components/breadcrumbs/breadcrumbs.component.d.ts +11 -7
  211. package/components/breadcrumbs/breadcrumbs.module.d.ts +8 -0
  212. package/components/breadcrumbs/index.d.ts +0 -2
  213. package/components/breadcrumbs/package.json +2 -5
  214. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +1 -0
  215. package/components/calendar-month/calendar-month.component.d.ts +3 -0
  216. package/components/calendar-month/calendar-month.module.d.ts +8 -0
  217. package/components/calendar-month/package.json +2 -5
  218. package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +1 -0
  219. package/components/calendar-range/calendar-range.component.d.ts +3 -2
  220. package/components/calendar-range/calendar-range.module.d.ts +9 -0
  221. package/components/calendar-range/package.json +2 -5
  222. package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +1 -0
  223. package/components/carousel/carousel-autoscroll.directive.d.ts +3 -0
  224. package/components/carousel/carousel-buttons.directive.d.ts +3 -2
  225. package/components/carousel/carousel-scroll.directive.d.ts +3 -0
  226. package/components/carousel/carousel.component.d.ts +3 -0
  227. package/components/carousel/carousel.directive.d.ts +3 -0
  228. package/components/carousel/carousel.module.d.ts +12 -0
  229. package/components/carousel/package.json +2 -5
  230. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +1 -0
  231. package/components/checkbox/checkbox.component.d.ts +3 -2
  232. package/components/checkbox/checkbox.module.d.ts +8 -0
  233. package/components/checkbox/package.json +2 -5
  234. package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +1 -0
  235. package/components/checkbox-block/checkbox-block.component.d.ts +3 -2
  236. package/components/checkbox-block/checkbox-block.module.d.ts +9 -0
  237. package/components/checkbox-block/package.json +2 -5
  238. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +1 -0
  239. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +3 -2
  240. package/components/checkbox-labeled/checkbox-labeled.module.d.ts +8 -0
  241. package/components/checkbox-labeled/package.json +2 -5
  242. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +1 -0
  243. package/components/combo-box/combo-box-strict.directive.d.ts +3 -0
  244. package/components/combo-box/combo-box.component.d.ts +3 -1
  245. package/components/combo-box/combo-box.directive.d.ts +3 -0
  246. package/components/combo-box/combo-box.module.d.ts +13 -0
  247. package/components/combo-box/index.d.ts +0 -1
  248. package/components/combo-box/package.json +2 -5
  249. package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +1 -0
  250. package/components/data-list-wrapper/data-list-group-wrapper.component.d.ts +3 -0
  251. package/components/data-list-wrapper/data-list-wrapper.component.d.ts +3 -0
  252. package/components/data-list-wrapper/data-list-wrapper.d.ts +3 -0
  253. package/components/data-list-wrapper/data-list-wrapper.module.d.ts +10 -0
  254. package/components/data-list-wrapper/package.json +2 -5
  255. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +1 -0
  256. package/components/files/file/file.component.d.ts +5 -2
  257. package/components/files/files.component.d.ts +3 -0
  258. package/components/files/files.module.d.ts +10 -0
  259. package/components/files/package.json +2 -5
  260. package/components/files/taiga-ui-kit-components-files.d.ts +1 -0
  261. package/components/filter/filter.component.d.ts +5 -3
  262. package/components/filter/filter.module.d.ts +11 -0
  263. package/components/filter/package.json +2 -5
  264. package/components/filter/taiga-ui-kit-components-filter.d.ts +1 -0
  265. package/components/index.d.ts +0 -2
  266. package/components/input/index.d.ts +0 -1
  267. package/components/input/input.component.d.ts +4 -4
  268. package/components/input/input.directive.d.ts +3 -0
  269. package/components/input/input.module.d.ts +9 -0
  270. package/components/input/package.json +2 -5
  271. package/components/input/taiga-ui-kit-components-input.d.ts +1 -0
  272. package/components/input-copy/index.d.ts +0 -1
  273. package/components/input-copy/input-copy.component.d.ts +6 -5
  274. package/components/input-copy/input-copy.directive.d.ts +3 -0
  275. package/components/input-copy/input-copy.module.d.ts +9 -0
  276. package/components/input-copy/package.json +2 -5
  277. package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +1 -0
  278. package/components/input-count/input-count-options.d.ts +0 -7
  279. package/components/input-count/input-count.component.d.ts +3 -2
  280. package/components/input-count/input-count.directive.d.ts +3 -0
  281. package/components/input-count/input-count.module.d.ts +11 -0
  282. package/components/input-count/package.json +2 -5
  283. package/components/input-count/taiga-ui-kit-components-input-count.d.ts +1 -0
  284. package/components/input-date/index.d.ts +0 -1
  285. package/components/input-date/input-date.component.d.ts +3 -1
  286. package/components/input-date/input-date.directive.d.ts +3 -0
  287. package/components/input-date/input-date.module.d.ts +12 -0
  288. package/components/input-date/package.json +2 -5
  289. package/components/input-date/taiga-ui-kit-components-input-date.d.ts +1 -0
  290. package/components/input-date-range/index.d.ts +0 -1
  291. package/components/input-date-range/input-date-range.component.d.ts +3 -2
  292. package/components/input-date-range/input-date-range.directive.d.ts +3 -0
  293. package/components/input-date-range/input-date-range.module.d.ts +13 -0
  294. package/components/input-date-range/package.json +2 -5
  295. package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +1 -0
  296. package/components/input-date-time/index.d.ts +0 -1
  297. package/components/input-date-time/input-date-time.component.d.ts +11 -3
  298. package/components/input-date-time/input-date-time.directive.d.ts +3 -0
  299. package/components/input-date-time/input-date-time.module.d.ts +12 -0
  300. package/components/input-date-time/package.json +2 -5
  301. package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +1 -0
  302. package/components/input-files/input-files.component.d.ts +3 -2
  303. package/components/input-files/input-files.module.d.ts +10 -0
  304. package/components/input-files/package.json +2 -5
  305. package/components/input-files/taiga-ui-kit-components-input-files.d.ts +1 -0
  306. package/components/input-inline/input-inline.component.d.ts +3 -0
  307. package/components/input-inline/input-inline.module.d.ts +9 -0
  308. package/components/input-inline/package.json +2 -5
  309. package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +1 -0
  310. package/components/input-month/index.d.ts +0 -1
  311. package/components/input-month/input-month.component.d.ts +3 -1
  312. package/components/input-month/input-month.directive.d.ts +3 -0
  313. package/components/input-month/input-month.module.d.ts +10 -0
  314. package/components/input-month/package.json +2 -5
  315. package/components/input-month/taiga-ui-kit-components-input-month.d.ts +1 -0
  316. package/components/input-month-range/index.d.ts +0 -1
  317. package/components/input-month-range/input-month-range.component.d.ts +3 -1
  318. package/components/input-month-range/input-month-range.directive.d.ts +3 -0
  319. package/components/input-month-range/input-month-range.module.d.ts +10 -0
  320. package/components/input-month-range/package.json +2 -5
  321. package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +1 -0
  322. package/components/input-number/input-number.component.d.ts +7 -6
  323. package/components/input-number/input-number.directive.d.ts +3 -0
  324. package/components/input-number/input-number.module.d.ts +12 -0
  325. package/components/input-number/package.json +2 -5
  326. package/components/input-number/taiga-ui-kit-components-input-number.d.ts +1 -0
  327. package/components/input-password/input-password-options.d.ts +0 -7
  328. package/components/input-password/input-password.component.d.ts +7 -6
  329. package/components/input-password/input-password.directive.d.ts +3 -0
  330. package/components/input-password/input-password.module.d.ts +10 -0
  331. package/components/input-password/package.json +2 -5
  332. package/components/input-password/taiga-ui-kit-components-input-password.d.ts +1 -0
  333. package/components/input-phone/index.d.ts +0 -1
  334. package/components/input-phone/input-phone.component.d.ts +6 -4
  335. package/components/input-phone/input-phone.directive.d.ts +3 -0
  336. package/components/input-phone/input-phone.module.d.ts +10 -0
  337. package/components/input-phone/package.json +2 -5
  338. package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +1 -0
  339. package/components/input-phone-international/const/mask-after-code-regexp.d.ts +1 -0
  340. package/components/input-phone-international/index.d.ts +1 -3
  341. package/components/input-phone-international/input-phone-international.component.d.ts +3 -0
  342. package/components/input-phone-international/input-phone-international.module.d.ts +12 -0
  343. package/components/input-phone-international/package.json +2 -5
  344. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +1 -0
  345. package/components/input-phone-international/utils/extract-value-from-event.d.ts +1 -5
  346. package/components/input-range/input-range.component.d.ts +13 -11
  347. package/components/input-range/input-range.module.d.ts +12 -0
  348. package/components/input-range/package.json +2 -5
  349. package/components/input-range/taiga-ui-kit-components-input-range.d.ts +1 -0
  350. package/components/input-slider/input-slider.component.d.ts +11 -36
  351. package/components/input-slider/input-slider.module.d.ts +11 -0
  352. package/components/input-slider/package.json +2 -5
  353. package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +1 -0
  354. package/components/input-tag/input-tag-options.d.ts +4 -1
  355. package/components/input-tag/input-tag.component.d.ts +10 -12
  356. package/components/input-tag/input-tag.module.d.ts +11 -0
  357. package/components/input-tag/package.json +2 -5
  358. package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +1 -0
  359. package/components/input-time/input-time-options.d.ts +0 -6
  360. package/components/input-time/input-time.component.d.ts +3 -1
  361. package/components/input-time/input-time.module.d.ts +9 -0
  362. package/components/input-time/package.json +2 -5
  363. package/components/input-time/taiga-ui-kit-components-input-time.d.ts +1 -0
  364. package/components/island/island.component.d.ts +3 -0
  365. package/components/island/island.module.d.ts +6 -0
  366. package/components/island/package.json +2 -5
  367. package/components/island/taiga-ui-kit-components-island.d.ts +1 -0
  368. package/components/line-clamp/index.d.ts +1 -0
  369. package/components/line-clamp/line-clamp-box.component.d.ts +7 -0
  370. package/components/line-clamp/line-clamp-position.directive.d.ts +9 -0
  371. package/components/line-clamp/line-clamp.component.d.ts +5 -2
  372. package/components/line-clamp/line-clamp.module.d.ts +11 -0
  373. package/components/line-clamp/package.json +2 -5
  374. package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +1 -0
  375. package/components/marker-icon/marker-icon.component.d.ts +5 -2
  376. package/components/marker-icon/marker-icon.module.d.ts +7 -0
  377. package/components/marker-icon/package.json +2 -5
  378. package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +1 -0
  379. package/components/multi-select/hide-selected.pipe.d.ts +5 -2
  380. package/components/multi-select/multi-select-group/multi-select-group.component.d.ts +3 -0
  381. package/components/multi-select/multi-select-group/multi-select-group.directive.d.ts +4 -9
  382. package/components/multi-select/multi-select.component.d.ts +3 -3
  383. package/components/multi-select/multi-select.module.d.ts +16 -0
  384. package/components/multi-select/package.json +2 -5
  385. package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +1 -0
  386. package/components/multi-select-option/multi-select-option.component.d.ts +3 -0
  387. package/components/multi-select-option/multi-select-option.module.d.ts +7 -0
  388. package/components/multi-select-option/package.json +2 -5
  389. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +1 -0
  390. package/components/package.json +2 -5
  391. package/components/pagination/package.json +2 -5
  392. package/components/pagination/pagination.component.d.ts +3 -2
  393. package/components/pagination/pagination.module.d.ts +9 -0
  394. package/components/pagination/taiga-ui-kit-components-pagination.d.ts +1 -0
  395. package/components/pdf-viewer/package.json +2 -5
  396. package/components/pdf-viewer/pdf-viewer.component.d.ts +3 -0
  397. package/components/pdf-viewer/pdf-viewer.directive.d.ts +3 -0
  398. package/components/pdf-viewer/pdf-viewer.module.d.ts +9 -0
  399. package/components/pdf-viewer/pdf-viewer.service.d.ts +4 -1
  400. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +1 -0
  401. package/components/progress/index.d.ts +0 -3
  402. package/components/progress/package.json +2 -5
  403. package/components/progress/progress-bar/progress-bar.component.d.ts +3 -0
  404. package/components/progress/progress-bar/progress-color-segments.directive.d.ts +3 -0
  405. package/components/progress/progress-circle/progress-circle.component.d.ts +3 -0
  406. package/components/progress/progress-label/progress-label.component.d.ts +3 -0
  407. package/components/progress/progress-segmented/progress-segmented.component.d.ts +3 -2
  408. package/components/progress/progress.module.d.ts +11 -0
  409. package/components/progress/taiga-ui-kit-components-progress.d.ts +1 -0
  410. package/components/radio/package.json +2 -5
  411. package/components/radio/radio-options.d.ts +0 -5
  412. package/components/radio/radio.component.d.ts +3 -2
  413. package/components/radio/radio.module.d.ts +8 -0
  414. package/components/radio/taiga-ui-kit-components-radio.d.ts +1 -0
  415. package/components/radio-block/package.json +2 -5
  416. package/components/radio-block/radio-block.component.d.ts +3 -2
  417. package/components/radio-block/radio-block.module.d.ts +8 -0
  418. package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +1 -0
  419. package/components/radio-group/package.json +2 -5
  420. package/components/radio-group/radio-group.component.d.ts +3 -0
  421. package/components/radio-group/radio-group.module.d.ts +5 -0
  422. package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +1 -0
  423. package/components/radio-labeled/package.json +2 -5
  424. package/components/radio-labeled/radio-labeled.component.d.ts +3 -2
  425. package/components/radio-labeled/radio-labeled.module.d.ts +9 -0
  426. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +1 -0
  427. package/components/radio-list/package.json +2 -5
  428. package/components/radio-list/radio-list.component.d.ts +5 -5
  429. package/components/radio-list/radio-list.module.d.ts +10 -0
  430. package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +1 -0
  431. package/components/range/package.json +2 -5
  432. package/components/range/range-change.directive.d.ts +3 -0
  433. package/components/range/range.component.d.ts +9 -29
  434. package/components/range/range.module.d.ts +10 -0
  435. package/components/range/taiga-ui-kit-components-range.d.ts +1 -0
  436. package/components/rating/package.json +2 -5
  437. package/components/rating/rating.component.d.ts +3 -0
  438. package/components/rating/rating.module.d.ts +8 -0
  439. package/components/rating/taiga-ui-kit-components-rating.d.ts +1 -0
  440. package/components/select/index.d.ts +0 -1
  441. package/components/select/package.json +2 -5
  442. package/components/select/select.component.d.ts +3 -1
  443. package/components/select/select.directive.d.ts +3 -0
  444. package/components/select/select.module.d.ts +12 -0
  445. package/components/select/taiga-ui-kit-components-select.d.ts +1 -0
  446. package/components/select-option/package.json +2 -5
  447. package/components/select-option/select-option.component.d.ts +4 -1
  448. package/components/select-option/select-option.module.d.ts +7 -0
  449. package/components/select-option/taiga-ui-kit-components-select-option.d.ts +1 -0
  450. package/components/slider/helpers/slider-key-steps.directive.d.ts +4 -19
  451. package/components/slider/helpers/slider-readonly.directive.d.ts +3 -0
  452. package/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.d.ts +3 -0
  453. package/components/slider/index.d.ts +0 -1
  454. package/components/slider/package.json +2 -5
  455. package/components/slider/slider.component.d.ts +3 -0
  456. package/components/slider/slider.module.d.ts +9 -0
  457. package/components/slider/taiga-ui-kit-components-slider.d.ts +1 -0
  458. package/components/stepper/package.json +2 -5
  459. package/components/stepper/step/step.component.d.ts +4 -1
  460. package/components/stepper/stepper.component.d.ts +5 -2
  461. package/components/stepper/stepper.module.d.ts +8 -0
  462. package/components/stepper/taiga-ui-kit-components-stepper.d.ts +1 -0
  463. package/components/tabs/index.d.ts +0 -1
  464. package/components/tabs/package.json +2 -5
  465. package/components/tabs/tab/tab.component.d.ts +4 -3
  466. package/components/tabs/tab/tab.providers.d.ts +1 -4
  467. package/components/tabs/tabs/tabs.component.d.ts +4 -6
  468. package/components/tabs/tabs-with-more/tabs-with-more.component.d.ts +5 -1
  469. package/components/tabs/tabs-with-more/tabs-with-more.providers.d.ts +3 -9
  470. package/components/tabs/tabs.module.d.ts +12 -0
  471. package/components/tabs/taiga-ui-kit-components-tabs.d.ts +1 -0
  472. package/components/tabs/underline/underline.component.d.ts +4 -6
  473. package/components/tag/package.json +2 -5
  474. package/components/tag/tag-options.d.ts +2 -2
  475. package/components/tag/tag.component.d.ts +6 -5
  476. package/components/tag/tag.module.d.ts +10 -0
  477. package/components/tag/taiga-ui-kit-components-tag.d.ts +1 -0
  478. package/components/taiga-ui-kit-components.d.ts +1 -0
  479. package/components/text-area/index.d.ts +0 -1
  480. package/components/text-area/package.json +2 -5
  481. package/components/text-area/taiga-ui-kit-components-text-area.d.ts +1 -0
  482. package/components/text-area/text-area.component.d.ts +3 -2
  483. package/components/text-area/text-area.directive.d.ts +3 -0
  484. package/components/text-area/text-area.module.d.ts +10 -0
  485. package/components/toggle/package.json +2 -5
  486. package/components/toggle/taiga-ui-kit-components-toggle.d.ts +1 -0
  487. package/components/toggle/toggle-options.d.ts +0 -5
  488. package/components/toggle/toggle.component.d.ts +3 -2
  489. package/components/toggle/toggle.module.d.ts +9 -0
  490. package/components/tree/components/tree/tree.component.d.ts +3 -0
  491. package/components/tree/components/tree-item/tree-item.component.d.ts +3 -0
  492. package/components/tree/components/tree-item/tree-item.providers.d.ts +0 -1
  493. package/components/tree/components/tree-item-content/tree-item-content.component.d.ts +3 -0
  494. package/components/tree/directives/tree-children.directive.d.ts +3 -0
  495. package/components/tree/directives/tree-controller.directive.d.ts +3 -0
  496. package/components/tree/directives/tree-item-controller.directive.d.ts +3 -0
  497. package/components/tree/directives/tree-node.directive.d.ts +3 -0
  498. package/components/tree/misc/tree.constants.d.ts +1 -1
  499. package/components/tree/misc/tree.service.d.ts +3 -0
  500. package/components/tree/package.json +2 -5
  501. package/components/tree/taiga-ui-kit-components-tree.d.ts +1 -0
  502. package/components/tree/tree.module.d.ts +15 -0
  503. package/constants/masks.d.ts +0 -8
  504. package/constants/package.json +2 -5
  505. package/constants/taiga-ui-kit-constants.d.ts +1 -0
  506. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.d.ts +15 -0
  507. package/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.d.ts +7 -0
  508. package/directives/data-list-dropdown-manager/index.d.ts +2 -0
  509. package/directives/data-list-dropdown-manager/package.json +10 -0
  510. package/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.d.ts +5 -0
  511. package/directives/highlight/highlight.directive.d.ts +3 -0
  512. package/directives/highlight/highlight.module.d.ts +5 -0
  513. package/directives/highlight/package.json +2 -5
  514. package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +1 -0
  515. package/directives/index.d.ts +1 -3
  516. package/directives/lazy-loading/lazy-loading.directive.d.ts +3 -0
  517. package/directives/lazy-loading/lazy-loading.module.d.ts +5 -0
  518. package/directives/lazy-loading/lazy-loading.service.d.ts +3 -0
  519. package/directives/lazy-loading/package.json +2 -5
  520. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +1 -0
  521. package/directives/package.json +2 -5
  522. package/directives/present/package.json +2 -5
  523. package/directives/present/present.directive.d.ts +3 -0
  524. package/directives/present/present.module.d.ts +5 -0
  525. package/directives/present/taiga-ui-kit-directives-present.d.ts +1 -0
  526. package/directives/project-class/package.json +2 -5
  527. package/directives/project-class/project-class.directive.d.ts +3 -0
  528. package/directives/project-class/project-class.module.d.ts +5 -0
  529. package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +1 -0
  530. package/directives/taiga-ui-kit-directives.d.ts +1 -0
  531. package/directives/unfinished-validator/package.json +2 -5
  532. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +1 -0
  533. package/directives/unfinished-validator/unfinished-validator.directive.d.ts +3 -0
  534. package/directives/unfinished-validator/unfinished-validator.module.d.ts +5 -0
  535. package/directives/value-accessor/package.json +2 -5
  536. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +1 -0
  537. package/directives/value-accessor/value-accessor.directive.d.ts +3 -0
  538. package/directives/value-accessor/value-accessor.module.d.ts +5 -0
  539. package/esm2015/classes/day-range-period.js +1 -1
  540. package/esm2015/classes/index.js +1 -1
  541. package/esm2015/classes/named-day.js +1 -1
  542. package/esm2015/classes/stringifiable-item.js +1 -1
  543. package/esm2015/classes/taiga-ui-kit-classes.js +1 -1
  544. package/esm2015/components/accordion/accordion-item/accordion-item-content.directive.js +20 -17
  545. package/esm2015/components/accordion/accordion-item/accordion-item-eager-content.directive.js +12 -10
  546. package/esm2015/components/accordion/accordion-item/accordion-item.component.js +76 -64
  547. package/esm2015/components/accordion/accordion.component.js +32 -26
  548. package/esm2015/components/accordion/accordion.module.js +49 -25
  549. package/esm2015/components/accordion/index.js +1 -1
  550. package/esm2015/components/accordion/taiga-ui-kit-components-accordion.js +1 -1
  551. package/esm2015/components/action/action.component.js +49 -46
  552. package/esm2015/components/action/action.module.js +26 -13
  553. package/esm2015/components/action/index.js +1 -1
  554. package/esm2015/components/action/taiga-ui-kit-components-action.js +1 -1
  555. package/esm2015/components/arrow/arrow-options.js +3 -6
  556. package/esm2015/components/arrow/arrow.component.js +36 -24
  557. package/esm2015/components/arrow/arrow.module.js +16 -13
  558. package/esm2015/components/arrow/index.js +1 -1
  559. package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +1 -1
  560. package/esm2015/components/avatar/avatar-options.js +1 -1
  561. package/esm2015/components/avatar/avatar.component.js +48 -34
  562. package/esm2015/components/avatar/avatar.module.js +15 -12
  563. package/esm2015/components/avatar/index.js +1 -1
  564. package/esm2015/components/avatar/taiga-ui-kit-components-avatar.js +1 -1
  565. package/esm2015/components/badge/badge.component.js +53 -38
  566. package/esm2015/components/badge/badge.module.js +15 -12
  567. package/esm2015/components/badge/index.js +1 -1
  568. package/esm2015/components/badge/taiga-ui-kit-components-badge.js +1 -1
  569. package/esm2015/components/badged-content/badged-content.component.js +52 -28
  570. package/esm2015/components/badged-content/badged-content.module.js +15 -12
  571. package/esm2015/components/badged-content/index.js +1 -1
  572. package/esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js +1 -1
  573. package/esm2015/components/breadcrumbs/breadcrumbs.component.js +44 -24
  574. package/esm2015/components/breadcrumbs/breadcrumbs.module.js +17 -33
  575. package/esm2015/components/breadcrumbs/index.js +1 -3
  576. package/esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +1 -1
  577. package/esm2015/components/calendar-month/calendar-month.component.js +52 -43
  578. package/esm2015/components/calendar-month/calendar-month.module.js +34 -13
  579. package/esm2015/components/calendar-month/index.js +1 -1
  580. package/esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js +1 -1
  581. package/esm2015/components/calendar-range/calendar-range.component.js +64 -51
  582. package/esm2015/components/calendar-range/calendar-range.module.js +32 -13
  583. package/esm2015/components/calendar-range/index.js +1 -1
  584. package/esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js +1 -1
  585. package/esm2015/components/carousel/carousel-autoscroll.directive.js +17 -16
  586. package/esm2015/components/carousel/carousel-buttons.directive.js +26 -23
  587. package/esm2015/components/carousel/carousel-scroll.directive.js +19 -19
  588. package/esm2015/components/carousel/carousel.component.js +74 -51
  589. package/esm2015/components/carousel/carousel.directive.js +23 -21
  590. package/esm2015/components/carousel/carousel.module.js +44 -24
  591. package/esm2015/components/carousel/index.js +1 -1
  592. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +1 -1
  593. package/esm2015/components/checkbox/checkbox.component.js +50 -44
  594. package/esm2015/components/checkbox/checkbox.module.js +29 -16
  595. package/esm2015/components/checkbox/index.js +1 -1
  596. package/esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js +1 -1
  597. package/esm2015/components/checkbox-block/checkbox-block.component.js +68 -54
  598. package/esm2015/components/checkbox-block/checkbox-block.module.js +26 -13
  599. package/esm2015/components/checkbox-block/index.js +1 -1
  600. package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +1 -1
  601. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +56 -49
  602. package/esm2015/components/checkbox-labeled/checkbox-labeled.module.js +15 -19
  603. package/esm2015/components/checkbox-labeled/index.js +1 -1
  604. package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +1 -1
  605. package/esm2015/components/combo-box/combo-box-strict.directive.js +22 -18
  606. package/esm2015/components/combo-box/combo-box.component.js +82 -56
  607. package/esm2015/components/combo-box/combo-box.directive.js +15 -19
  608. package/esm2015/components/combo-box/combo-box.module.js +48 -23
  609. package/esm2015/components/combo-box/index.js +1 -2
  610. package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +1 -1
  611. package/esm2015/components/data-list-wrapper/data-list-group-wrapper.component.js +31 -29
  612. package/esm2015/components/data-list-wrapper/data-list-wrapper.component.js +28 -27
  613. package/esm2015/components/data-list-wrapper/data-list-wrapper.js +23 -21
  614. package/esm2015/components/data-list-wrapper/data-list-wrapper.module.js +32 -17
  615. package/esm2015/components/data-list-wrapper/index.js +1 -1
  616. package/esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +1 -1
  617. package/esm2015/components/files/file/file.component.js +63 -49
  618. package/esm2015/components/files/files.component.js +33 -27
  619. package/esm2015/components/files/files.module.js +34 -13
  620. package/esm2015/components/files/index.js +1 -1
  621. package/esm2015/components/files/taiga-ui-kit-components-files.js +1 -1
  622. package/esm2015/components/filter/filter.component.js +54 -43
  623. package/esm2015/components/filter/filter.module.js +28 -13
  624. package/esm2015/components/filter/index.js +1 -1
  625. package/esm2015/components/filter/taiga-ui-kit-components-filter.js +1 -1
  626. package/esm2015/components/index.js +1 -3
  627. package/esm2015/components/input/index.js +1 -2
  628. package/esm2015/components/input/input.component.js +55 -50
  629. package/esm2015/components/input/input.directive.js +15 -19
  630. package/esm2015/components/input/input.module.js +24 -13
  631. package/esm2015/components/input/taiga-ui-kit-components-input.js +1 -1
  632. package/esm2015/components/input-copy/index.js +1 -2
  633. package/esm2015/components/input-copy/input-copy.component.js +69 -51
  634. package/esm2015/components/input-copy/input-copy.directive.js +15 -19
  635. package/esm2015/components/input-copy/input-copy.module.js +32 -14
  636. package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +1 -1
  637. package/esm2015/components/input-count/index.js +1 -1
  638. package/esm2015/components/input-count/input-count-options.js +3 -6
  639. package/esm2015/components/input-count/input-count.component.js +88 -77
  640. package/esm2015/components/input-count/input-count.directive.js +15 -19
  641. package/esm2015/components/input-count/input-count.module.js +30 -13
  642. package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +1 -1
  643. package/esm2015/components/input-date/index.js +1 -2
  644. package/esm2015/components/input-date/input-date.component.js +99 -67
  645. package/esm2015/components/input-date/input-date.directive.js +15 -19
  646. package/esm2015/components/input-date/input-date.module.js +40 -13
  647. package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +1 -1
  648. package/esm2015/components/input-date-range/index.js +1 -2
  649. package/esm2015/components/input-date-range/input-date-range.component.js +108 -75
  650. package/esm2015/components/input-date-range/input-date-range.directive.js +15 -19
  651. package/esm2015/components/input-date-range/input-date-range.module.js +44 -17
  652. package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +1 -1
  653. package/esm2015/components/input-date-time/index.js +1 -2
  654. package/esm2015/components/input-date-time/input-date-time.component.js +88 -60
  655. package/esm2015/components/input-date-time/input-date-time.directive.js +15 -19
  656. package/esm2015/components/input-date-time/input-date-time.module.js +44 -17
  657. package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +1 -1
  658. package/esm2015/components/input-files/index.js +1 -1
  659. package/esm2015/components/input-files/input-files.component.js +68 -63
  660. package/esm2015/components/input-files/input-files.module.js +56 -18
  661. package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +1 -1
  662. package/esm2015/components/input-inline/index.js +1 -1
  663. package/esm2015/components/input-inline/input-inline.component.js +45 -36
  664. package/esm2015/components/input-inline/input-inline.module.js +26 -13
  665. package/esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js +1 -1
  666. package/esm2015/components/input-month/index.js +1 -2
  667. package/esm2015/components/input-month/input-month.component.js +61 -40
  668. package/esm2015/components/input-month/input-month.directive.js +29 -30
  669. package/esm2015/components/input-month/input-month.module.js +34 -14
  670. package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +1 -1
  671. package/esm2015/components/input-month-range/index.js +1 -2
  672. package/esm2015/components/input-month-range/input-month-range.component.js +61 -40
  673. package/esm2015/components/input-month-range/input-month-range.directive.js +29 -30
  674. package/esm2015/components/input-month-range/input-month-range.module.js +42 -18
  675. package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +1 -1
  676. package/esm2015/components/input-number/index.js +1 -1
  677. package/esm2015/components/input-number/input-number.component.js +81 -70
  678. package/esm2015/components/input-number/input-number.directive.js +15 -19
  679. package/esm2015/components/input-number/input-number.module.js +30 -13
  680. package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +1 -1
  681. package/esm2015/components/input-password/index.js +1 -1
  682. package/esm2015/components/input-password/input-password-options.js +3 -6
  683. package/esm2015/components/input-password/input-password.component.js +68 -62
  684. package/esm2015/components/input-password/input-password.directive.js +15 -19
  685. package/esm2015/components/input-password/input-password.module.js +36 -17
  686. package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +1 -1
  687. package/esm2015/components/input-phone/index.js +1 -2
  688. package/esm2015/components/input-phone/input-phone.component.js +87 -59
  689. package/esm2015/components/input-phone/input-phone.directive.js +15 -19
  690. package/esm2015/components/input-phone/input-phone.module.js +28 -13
  691. package/esm2015/components/input-phone/input-phone.options.js +1 -1
  692. package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +1 -1
  693. package/esm2015/components/input-phone-international/const/mask-after-code-regexp.js +2 -0
  694. package/esm2015/components/input-phone-international/index.js +2 -3
  695. package/esm2015/components/input-phone-international/input-phone-international.component.js +77 -62
  696. package/esm2015/components/input-phone-international/input-phone-international.module.js +46 -13
  697. package/esm2015/components/input-phone-international/input-phone-international.options.js +1 -1
  698. package/esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +1 -1
  699. package/esm2015/components/input-phone-international/tokens/countries-masks.js +211 -3
  700. package/esm2015/components/input-phone-international/utils/extract-value-from-event.js +5 -11
  701. package/esm2015/components/input-range/index.js +1 -1
  702. package/esm2015/components/input-range/input-range.component.js +135 -118
  703. package/esm2015/components/input-range/input-range.module.js +35 -18
  704. package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +1 -1
  705. package/esm2015/components/input-slider/index.js +1 -1
  706. package/esm2015/components/input-slider/input-slider.component.js +90 -162
  707. package/esm2015/components/input-slider/input-slider.module.js +33 -23
  708. package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +1 -1
  709. package/esm2015/components/input-tag/index.js +1 -1
  710. package/esm2015/components/input-tag/input-tag-options.js +8 -1
  711. package/esm2015/components/input-tag/input-tag.component.js +161 -157
  712. package/esm2015/components/input-tag/input-tag.module.js +41 -14
  713. package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +1 -1
  714. package/esm2015/components/input-time/index.js +1 -1
  715. package/esm2015/components/input-time/input-time-options.js +2 -4
  716. package/esm2015/components/input-time/input-time.component.js +70 -57
  717. package/esm2015/components/input-time/input-time.module.js +30 -13
  718. package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +1 -1
  719. package/esm2015/components/island/index.js +1 -1
  720. package/esm2015/components/island/island.component.js +50 -39
  721. package/esm2015/components/island/island.module.js +15 -12
  722. package/esm2015/components/island/taiga-ui-kit-components-island.js +1 -1
  723. package/esm2015/components/line-clamp/index.js +2 -1
  724. package/esm2015/components/line-clamp/line-clamp-box.component.js +32 -0
  725. package/esm2015/components/line-clamp/line-clamp-options.js +1 -1
  726. package/esm2015/components/line-clamp/line-clamp-position.directive.js +26 -0
  727. package/esm2015/components/line-clamp/line-clamp.component.js +72 -47
  728. package/esm2015/components/line-clamp/line-clamp.module.js +34 -13
  729. package/esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js +1 -1
  730. package/esm2015/components/marker-icon/index.js +1 -1
  731. package/esm2015/components/marker-icon/marker-icon.component.js +37 -27
  732. package/esm2015/components/marker-icon/marker-icon.module.js +15 -12
  733. package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +1 -1
  734. package/esm2015/components/multi-select/hide-selected.pipe.js +22 -19
  735. package/esm2015/components/multi-select/index.js +1 -1
  736. package/esm2015/components/multi-select/multi-select-group/multi-select-group.component.js +41 -38
  737. package/esm2015/components/multi-select/multi-select-group/multi-select-group.directive.js +61 -50
  738. package/esm2015/components/multi-select/multi-select-options.js +1 -1
  739. package/esm2015/components/multi-select/multi-select.component.js +101 -94
  740. package/esm2015/components/multi-select/multi-select.module.js +65 -26
  741. package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +1 -1
  742. package/esm2015/components/multi-select-option/index.js +1 -1
  743. package/esm2015/components/multi-select-option/multi-select-option.component.js +22 -18
  744. package/esm2015/components/multi-select-option/multi-select-option.module.js +16 -13
  745. package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +1 -1
  746. package/esm2015/components/pagination/index.js +1 -1
  747. package/esm2015/components/pagination/pagination.component.js +64 -60
  748. package/esm2015/components/pagination/pagination.module.js +30 -13
  749. package/esm2015/components/pagination/taiga-ui-kit-components-pagination.js +1 -1
  750. package/esm2015/components/pdf-viewer/index.js +2 -1
  751. package/esm2015/components/pdf-viewer/pdf-viewer-options.js +2 -1
  752. package/esm2015/components/pdf-viewer/pdf-viewer.component.js +38 -30
  753. package/esm2015/components/pdf-viewer/pdf-viewer.directive.js +25 -18
  754. package/esm2015/components/pdf-viewer/pdf-viewer.module.js +17 -21
  755. package/esm2015/components/pdf-viewer/pdf-viewer.service.js +11 -12
  756. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +1 -1
  757. package/esm2015/components/progress/index.js +1 -4
  758. package/esm2015/components/progress/progress-bar/progress-bar.component.js +25 -18
  759. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +39 -31
  760. package/esm2015/components/progress/progress-circle/progress-circle.component.js +48 -36
  761. package/esm2015/components/progress/progress-label/progress-label.component.js +15 -13
  762. package/esm2015/components/progress/progress-segmented/progress-segmented.component.js +31 -31
  763. package/esm2015/components/progress/progress.module.js +35 -30
  764. package/esm2015/components/progress/taiga-ui-kit-components-progress.js +1 -1
  765. package/esm2015/components/radio/index.js +1 -1
  766. package/esm2015/components/radio/radio-options.js +1 -1
  767. package/esm2015/components/radio/radio.component.js +72 -60
  768. package/esm2015/components/radio/radio.module.js +29 -16
  769. package/esm2015/components/radio/taiga-ui-kit-components-radio.js +1 -1
  770. package/esm2015/components/radio-block/index.js +1 -1
  771. package/esm2015/components/radio-block/radio-block.component.js +76 -61
  772. package/esm2015/components/radio-block/radio-block.module.js +15 -19
  773. package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +1 -1
  774. package/esm2015/components/radio-group/index.js +1 -1
  775. package/esm2015/components/radio-group/radio-group.component.js +17 -14
  776. package/esm2015/components/radio-group/radio-group.module.js +14 -11
  777. package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +1 -1
  778. package/esm2015/components/radio-labeled/index.js +1 -1
  779. package/esm2015/components/radio-labeled/radio-labeled.component.js +64 -56
  780. package/esm2015/components/radio-labeled/radio-labeled.module.js +27 -16
  781. package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +1 -1
  782. package/esm2015/components/radio-list/index.js +1 -1
  783. package/esm2015/components/radio-list/radio-list.component.js +65 -47
  784. package/esm2015/components/radio-list/radio-list.module.js +26 -13
  785. package/esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js +1 -1
  786. package/esm2015/components/range/index.js +1 -1
  787. package/esm2015/components/range/range-change.directive.js +39 -33
  788. package/esm2015/components/range/range.component.js +110 -155
  789. package/esm2015/components/range/range.module.js +17 -22
  790. package/esm2015/components/range/taiga-ui-kit-components-range.js +1 -1
  791. package/esm2015/components/rating/index.js +1 -1
  792. package/esm2015/components/rating/rating-options.js +1 -1
  793. package/esm2015/components/rating/rating.component.js +59 -44
  794. package/esm2015/components/rating/rating.module.js +26 -13
  795. package/esm2015/components/rating/taiga-ui-kit-components-rating.js +1 -1
  796. package/esm2015/components/select/index.js +1 -2
  797. package/esm2015/components/select/select-options.js +1 -1
  798. package/esm2015/components/select/select.component.js +76 -50
  799. package/esm2015/components/select/select.directive.js +15 -19
  800. package/esm2015/components/select/select.module.js +34 -14
  801. package/esm2015/components/select/taiga-ui-kit-components-select.js +1 -1
  802. package/esm2015/components/select-option/index.js +1 -1
  803. package/esm2015/components/select-option/select-option.component.js +40 -33
  804. package/esm2015/components/select-option/select-option.module.js +16 -13
  805. package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +1 -1
  806. package/esm2015/components/slider/helpers/slider-key-steps.directive.js +51 -77
  807. package/esm2015/components/slider/helpers/slider-readonly.directive.js +37 -32
  808. package/esm2015/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +22 -19
  809. package/esm2015/components/slider/index.js +1 -2
  810. package/esm2015/components/slider/slider-options.js +1 -1
  811. package/esm2015/components/slider/slider.component.js +75 -60
  812. package/esm2015/components/slider/slider.module.js +32 -37
  813. package/esm2015/components/slider/taiga-ui-kit-components-slider.js +1 -1
  814. package/esm2015/components/stepper/index.js +1 -1
  815. package/esm2015/components/stepper/step/step.component.js +62 -48
  816. package/esm2015/components/stepper/stepper.component.js +48 -34
  817. package/esm2015/components/stepper/stepper.module.js +15 -12
  818. package/esm2015/components/stepper/taiga-ui-kit-components-stepper.js +1 -1
  819. package/esm2015/components/tabs/index.js +1 -2
  820. package/esm2015/components/tabs/tab/tab.component.js +57 -61
  821. package/esm2015/components/tabs/tab/tab.providers.js +10 -12
  822. package/esm2015/components/tabs/tabs/tabs.component.js +81 -77
  823. package/esm2015/components/tabs/tabs-options.js +1 -1
  824. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +79 -59
  825. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +14 -18
  826. package/esm2015/components/tabs/tabs.module.js +46 -26
  827. package/esm2015/components/tabs/taiga-ui-kit-components-tabs.js +1 -1
  828. package/esm2015/components/tabs/underline/underline.component.js +49 -60
  829. package/esm2015/components/tag/index.js +1 -1
  830. package/esm2015/components/tag/tag-options.js +1 -1
  831. package/esm2015/components/tag/tag.component.js +103 -81
  832. package/esm2015/components/tag/tag.module.js +28 -13
  833. package/esm2015/components/tag/taiga-ui-kit-components-tag.js +1 -1
  834. package/esm2015/components/taiga-ui-kit-components.js +1 -1
  835. package/esm2015/components/text-area/index.js +1 -2
  836. package/esm2015/components/text-area/taiga-ui-kit-components-text-area.js +1 -1
  837. package/esm2015/components/text-area/text-area.component.js +105 -80
  838. package/esm2015/components/text-area/text-area.directive.js +15 -19
  839. package/esm2015/components/text-area/text-area.module.js +35 -15
  840. package/esm2015/components/toggle/index.js +1 -1
  841. package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +1 -1
  842. package/esm2015/components/toggle/toggle-options.js +1 -1
  843. package/esm2015/components/toggle/toggle.component.js +70 -57
  844. package/esm2015/components/toggle/toggle.module.js +37 -15
  845. package/esm2015/components/tree/components/tree/tree.component.js +51 -41
  846. package/esm2015/components/tree/components/tree-item/tree-item.component.js +41 -34
  847. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +2 -6
  848. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +26 -22
  849. package/esm2015/components/tree/directives/tree-children.directive.js +15 -12
  850. package/esm2015/components/tree/directives/tree-controller.directive.js +41 -28
  851. package/esm2015/components/tree/directives/tree-item-controller.directive.js +27 -18
  852. package/esm2015/components/tree/directives/tree-node.directive.js +24 -20
  853. package/esm2015/components/tree/index.js +2 -1
  854. package/esm2015/components/tree/misc/tree.constants.js +1 -1
  855. package/esm2015/components/tree/misc/tree.interfaces.js +2 -1
  856. package/esm2015/components/tree/misc/tree.service.js +19 -19
  857. package/esm2015/components/tree/misc/tree.tokens.js +1 -1
  858. package/esm2015/components/tree/taiga-ui-kit-components-tree.js +1 -1
  859. package/esm2015/components/tree/tree.module.js +51 -28
  860. package/esm2015/constants/date-time-separator.js +1 -1
  861. package/esm2015/constants/empty-mask.js +1 -1
  862. package/esm2015/constants/group-class-names.js +1 -1
  863. package/esm2015/constants/icon-blank.js +1 -1
  864. package/esm2015/constants/index.js +1 -1
  865. package/esm2015/constants/masks.js +2 -27
  866. package/esm2015/constants/math.js +1 -1
  867. package/esm2015/constants/max-day-range-length-mapper.js +5 -4
  868. package/esm2015/constants/max-time-values.js +1 -1
  869. package/esm2015/constants/router-link-options.js +1 -1
  870. package/esm2015/constants/taiga-ui-kit-constants.js +1 -1
  871. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +100 -0
  872. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.module.js +16 -0
  873. package/esm2015/directives/data-list-dropdown-manager/index.js +3 -0
  874. package/esm2015/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.js +5 -0
  875. package/esm2015/directives/highlight/highlight.directive.js +41 -37
  876. package/esm2015/directives/highlight/highlight.module.js +14 -11
  877. package/esm2015/directives/highlight/index.js +1 -1
  878. package/esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js +1 -1
  879. package/esm2015/directives/index.js +2 -4
  880. package/esm2015/directives/lazy-loading/index.js +1 -1
  881. package/esm2015/directives/lazy-loading/lazy-loading.directive.js +35 -32
  882. package/esm2015/directives/lazy-loading/lazy-loading.module.js +14 -11
  883. package/esm2015/directives/lazy-loading/lazy-loading.service.js +21 -18
  884. package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -1
  885. package/esm2015/directives/present/index.js +1 -1
  886. package/esm2015/directives/present/present.directive.js +33 -30
  887. package/esm2015/directives/present/present.module.js +14 -11
  888. package/esm2015/directives/present/taiga-ui-kit-directives-present.js +1 -1
  889. package/esm2015/directives/project-class/index.js +1 -1
  890. package/esm2015/directives/project-class/project-class.directive.js +20 -19
  891. package/esm2015/directives/project-class/project-class.module.js +14 -11
  892. package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +1 -1
  893. package/esm2015/directives/taiga-ui-kit-directives.js +1 -1
  894. package/esm2015/directives/unfinished-validator/index.js +1 -1
  895. package/esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +1 -1
  896. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +31 -24
  897. package/esm2015/directives/unfinished-validator/unfinished-validator.module.js +14 -11
  898. package/esm2015/directives/value-accessor/index.js +1 -1
  899. package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +1 -1
  900. package/esm2015/directives/value-accessor/value-accessor.directive.js +13 -11
  901. package/esm2015/directives/value-accessor/value-accessor.module.js +14 -11
  902. package/esm2015/index.js +3 -2
  903. package/esm2015/interfaces/file-like.js +2 -1
  904. package/esm2015/interfaces/index.js +4 -1
  905. package/esm2015/interfaces/mobile-calendar-data.js +2 -1
  906. package/esm2015/interfaces/month-context.js +2 -1
  907. package/esm2015/interfaces/taiga-ui-kit-interfaces.js +2 -1
  908. package/esm2015/internal/index.js +1 -1
  909. package/esm2015/internal/primitive-calendar-range/index.js +1 -1
  910. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +51 -38
  911. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +15 -12
  912. package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +1 -1
  913. package/esm2015/internal/taiga-ui-kit-internal.js +1 -1
  914. package/esm2015/pipes/field-error/field-error-content-pipe.js +17 -17
  915. package/esm2015/pipes/field-error/field-error-pipe.js +53 -36
  916. package/esm2015/pipes/field-error/field-error.module.js +14 -11
  917. package/esm2015/pipes/field-error/index.js +1 -1
  918. package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +1 -1
  919. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +16 -15
  920. package/esm2015/pipes/filter-by-input/filter-by-input.base.js +9 -15
  921. package/esm2015/pipes/filter-by-input/filter-by-input.module.js +14 -11
  922. package/esm2015/pipes/filter-by-input/filter-by-input.pipe.js +16 -15
  923. package/esm2015/pipes/filter-by-input/index.js +1 -1
  924. package/esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +1 -1
  925. package/esm2015/pipes/index.js +1 -1
  926. package/esm2015/pipes/stringify/index.js +1 -1
  927. package/esm2015/pipes/stringify/stringify.module.js +14 -11
  928. package/esm2015/pipes/stringify/stringify.pipe.js +12 -10
  929. package/esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js +1 -1
  930. package/esm2015/pipes/stringify-content/index.js +1 -1
  931. package/esm2015/pipes/stringify-content/stringify-content.module.js +14 -11
  932. package/esm2015/pipes/stringify-content/stringify-content.pipe.js +12 -10
  933. package/esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +1 -1
  934. package/esm2015/pipes/taiga-ui-kit-pipes.js +1 -1
  935. package/esm2015/providers/index.js +1 -1
  936. package/esm2015/providers/month-formatter.provider.js +8 -13
  937. package/esm2015/providers/specific-dropdown-controllers.js +6 -29
  938. package/esm2015/providers/taiga-ui-kit-providers.js +1 -1
  939. package/esm2015/providers/value-accessor.provider.js +2 -4
  940. package/esm2015/taiga-ui-kit.js +1 -1
  941. package/esm2015/tokens/calendar-date-stream.js +15 -0
  942. package/esm2015/tokens/date-inputs-value-transformers.js +1 -1
  943. package/esm2015/tokens/i18n.js +21 -21
  944. package/esm2015/tokens/index.js +2 -4
  945. package/esm2015/tokens/items-handlers.js +1 -1
  946. package/esm2015/tokens/mobile-calendar.js +1 -1
  947. package/esm2015/tokens/month-formatter.js +1 -1
  948. package/esm2015/tokens/tab-margin.js +1 -1
  949. package/esm2015/tokens/taiga-ui-kit-tokens.js +1 -1
  950. package/esm2015/tokens/validation-errors.js +1 -1
  951. package/esm2015/types/dropdown-position.js +2 -0
  952. package/esm2015/types/file-state.js +2 -0
  953. package/esm2015/types/handler-with-context.js +2 -1
  954. package/esm2015/types/index.js +9 -1
  955. package/esm2015/types/key-steps.js +2 -1
  956. package/esm2015/types/marker-icon-mode.js +2 -1
  957. package/esm2015/types/status.js +2 -1
  958. package/esm2015/types/step-state.js +2 -0
  959. package/esm2015/types/taiga-ui-kit-types.js +2 -1
  960. package/esm2015/types/time-format-parts.js +2 -1
  961. package/esm2015/utils/files/format-size.js +4 -9
  962. package/esm2015/utils/files/get-accept-array.js +2 -7
  963. package/esm2015/utils/files/index.js +1 -1
  964. package/esm2015/utils/files/taiga-ui-kit-utils-files.js +1 -1
  965. package/esm2015/utils/format/index.js +1 -1
  966. package/esm2015/utils/format/string-hash-to-hsl.js +2 -5
  967. package/esm2015/utils/format/taiga-ui-kit-utils-format.js +1 -1
  968. package/esm2015/utils/index.js +1 -2
  969. package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +3 -8
  970. package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +1 -1
  971. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +5 -5
  972. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +1 -1
  973. package/esm2015/utils/mask/create-date-mask.js +1 -1
  974. package/esm2015/utils/mask/create-date-range-mask.js +1 -1
  975. package/esm2015/utils/mask/create-time-mask.js +1 -1
  976. package/esm2015/utils/mask/index.js +1 -1
  977. package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +1 -1
  978. package/esm2015/utils/math/horizontal-direction-to-number.js +1 -1
  979. package/esm2015/utils/math/index.js +1 -1
  980. package/esm2015/utils/math/key-steps.js +3 -6
  981. package/esm2015/utils/math/taiga-ui-kit-utils-math.js +1 -1
  982. package/esm2015/utils/miscellaneous/create-default-day-range-periods.js +1 -1
  983. package/esm2015/utils/miscellaneous/create-time-periods.js +1 -1
  984. package/esm2015/utils/miscellaneous/get-precision.js +2 -5
  985. package/esm2015/utils/miscellaneous/index.js +1 -1
  986. package/esm2015/utils/miscellaneous/is-flat.js +2 -7
  987. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +4 -7
  988. package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +1 -1
  989. package/esm2015/utils/taiga-ui-kit-utils.js +1 -1
  990. package/esm2015/validators/index.js +1 -1
  991. package/esm2015/validators/taiga-ui-kit-validators.js +1 -1
  992. package/esm2015/validators/unfinished.validator.js +1 -1
  993. package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
  994. package/fesm2015/taiga-ui-kit-components-accordion.js +176 -126
  995. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  996. package/fesm2015/taiga-ui-kit-components-action.js +73 -55
  997. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  998. package/fesm2015/taiga-ui-kit-components-arrow.js +52 -38
  999. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  1000. package/fesm2015/taiga-ui-kit-components-avatar.js +61 -42
  1001. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  1002. package/fesm2015/taiga-ui-kit-components-badge.js +66 -46
  1003. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  1004. package/fesm2015/taiga-ui-kit-components-badged-content.js +66 -37
  1005. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  1006. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +54 -89
  1007. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  1008. package/fesm2015/taiga-ui-kit-components-calendar-month.js +85 -53
  1009. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  1010. package/fesm2015/taiga-ui-kit-components-calendar-range.js +95 -61
  1011. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  1012. package/fesm2015/taiga-ui-kit-components-carousel.js +212 -159
  1013. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  1014. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +90 -61
  1015. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  1016. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +67 -61
  1017. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  1018. package/fesm2015/taiga-ui-kit-components-checkbox.js +75 -54
  1019. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  1020. package/fesm2015/taiga-ui-kit-components-combo-box.js +156 -126
  1021. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  1022. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +101 -85
  1023. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  1024. package/fesm2015/taiga-ui-kit-components-files.js +122 -81
  1025. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  1026. package/fesm2015/taiga-ui-kit-components-filter.js +83 -55
  1027. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  1028. package/fesm2015/taiga-ui-kit-components-input-copy.js +110 -87
  1029. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  1030. package/fesm2015/taiga-ui-kit-components-input-count.js +130 -106
  1031. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  1032. package/fesm2015/taiga-ui-kit-components-input-date-range.js +162 -126
  1033. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  1034. package/fesm2015/taiga-ui-kit-components-input-date-time.js +143 -112
  1035. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  1036. package/fesm2015/taiga-ui-kit-components-input-date.js +148 -113
  1037. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  1038. package/fesm2015/taiga-ui-kit-components-input-files.js +122 -77
  1039. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  1040. package/fesm2015/taiga-ui-kit-components-input-inline.js +68 -44
  1041. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  1042. package/fesm2015/taiga-ui-kit-components-input-month-range.js +127 -94
  1043. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  1044. package/fesm2015/taiga-ui-kit-components-input-month.js +119 -90
  1045. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  1046. package/fesm2015/taiga-ui-kit-components-input-number.js +120 -93
  1047. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  1048. package/fesm2015/taiga-ui-kit-components-input-password.js +116 -95
  1049. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  1050. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +336 -547
  1051. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  1052. package/fesm2015/taiga-ui-kit-components-input-phone.js +124 -111
  1053. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  1054. package/fesm2015/taiga-ui-kit-components-input-range.js +166 -129
  1055. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  1056. package/fesm2015/taiga-ui-kit-components-input-slider.js +121 -178
  1057. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  1058. package/fesm2015/taiga-ui-kit-components-input-tag.js +208 -167
  1059. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  1060. package/fesm2015/taiga-ui-kit-components-input-time.js +100 -70
  1061. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  1062. package/fesm2015/taiga-ui-kit-components-input.js +87 -89
  1063. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  1064. package/fesm2015/taiga-ui-kit-components-island.js +63 -47
  1065. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  1066. package/fesm2015/taiga-ui-kit-components-line-clamp.js +150 -57
  1067. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  1068. package/fesm2015/taiga-ui-kit-components-marker-icon.js +51 -36
  1069. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  1070. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +35 -26
  1071. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  1072. package/fesm2015/taiga-ui-kit-components-multi-select.js +270 -209
  1073. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  1074. package/fesm2015/taiga-ui-kit-components-pagination.js +91 -68
  1075. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  1076. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +86 -71
  1077. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  1078. package/fesm2015/taiga-ui-kit-components-progress.js +179 -205
  1079. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  1080. package/fesm2015/taiga-ui-kit-components-radio-block.js +87 -73
  1081. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  1082. package/fesm2015/taiga-ui-kit-components-radio-group.js +29 -21
  1083. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  1084. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +86 -65
  1085. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  1086. package/fesm2015/taiga-ui-kit-components-radio-list.js +89 -56
  1087. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  1088. package/fesm2015/taiga-ui-kit-components-radio.js +97 -70
  1089. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  1090. package/fesm2015/taiga-ui-kit-components-range.js +159 -197
  1091. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  1092. package/fesm2015/taiga-ui-kit-components-rating.js +82 -52
  1093. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  1094. package/fesm2015/taiga-ui-kit-components-select-option.js +52 -40
  1095. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  1096. package/fesm2015/taiga-ui-kit-components-select.js +118 -96
  1097. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  1098. package/fesm2015/taiga-ui-kit-components-slider.js +204 -276
  1099. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  1100. package/fesm2015/taiga-ui-kit-components-stepper.js +119 -88
  1101. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  1102. package/fesm2015/taiga-ui-kit-components-tabs.js +327 -318
  1103. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  1104. package/fesm2015/taiga-ui-kit-components-tag.js +131 -92
  1105. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  1106. package/fesm2015/taiga-ui-kit-components-text-area.js +149 -118
  1107. package/fesm2015/taiga-ui-kit-components-text-area.js.map +1 -1
  1108. package/fesm2015/taiga-ui-kit-components-toggle.js +102 -65
  1109. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  1110. package/fesm2015/taiga-ui-kit-components-tree.js +287 -219
  1111. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  1112. package/fesm2015/taiga-ui-kit-components.js +0 -2
  1113. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  1114. package/fesm2015/taiga-ui-kit-constants.js +6 -30
  1115. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  1116. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +120 -0
  1117. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js.map +1 -0
  1118. package/fesm2015/taiga-ui-kit-directives-highlight.js +52 -43
  1119. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  1120. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +65 -54
  1121. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  1122. package/fesm2015/taiga-ui-kit-directives-present.js +44 -36
  1123. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  1124. package/fesm2015/taiga-ui-kit-directives-project-class.js +31 -25
  1125. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  1126. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +43 -31
  1127. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  1128. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +24 -17
  1129. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  1130. package/fesm2015/taiga-ui-kit-directives.js +1 -3
  1131. package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
  1132. package/fesm2015/taiga-ui-kit-interfaces.js.map +1 -1
  1133. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +63 -45
  1134. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  1135. package/fesm2015/taiga-ui-kit-internal.js.map +1 -1
  1136. package/fesm2015/taiga-ui-kit-pipes-field-error.js +78 -55
  1137. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  1138. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +52 -49
  1139. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  1140. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +23 -16
  1141. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  1142. package/fesm2015/taiga-ui-kit-pipes-stringify.js +23 -16
  1143. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  1144. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  1145. package/fesm2015/taiga-ui-kit-providers.js +14 -43
  1146. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  1147. package/fesm2015/taiga-ui-kit-tokens.js +35 -33
  1148. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  1149. package/fesm2015/taiga-ui-kit-types.js.map +1 -1
  1150. package/fesm2015/taiga-ui-kit-utils-files.js +5 -15
  1151. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  1152. package/fesm2015/taiga-ui-kit-utils-format.js +2 -5
  1153. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  1154. package/fesm2015/taiga-ui-kit-utils-mask.js +6 -11
  1155. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  1156. package/fesm2015/taiga-ui-kit-utils-math.js +3 -6
  1157. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  1158. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +6 -17
  1159. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  1160. package/fesm2015/taiga-ui-kit-utils.js +0 -1
  1161. package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
  1162. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  1163. package/fesm2015/taiga-ui-kit.js +2 -1
  1164. package/fesm2015/taiga-ui-kit.js.map +1 -1
  1165. package/index.d.ts +0 -1
  1166. package/interfaces/index.d.ts +0 -2
  1167. package/interfaces/package.json +2 -5
  1168. package/interfaces/taiga-ui-kit-interfaces.d.ts +1 -0
  1169. package/internal/package.json +2 -5
  1170. package/internal/primitive-calendar-range/package.json +2 -5
  1171. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +3 -0
  1172. package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +7 -0
  1173. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +1 -0
  1174. package/internal/taiga-ui-kit-internal.d.ts +1 -0
  1175. package/package.json +11 -14
  1176. package/pipes/field-error/field-error-content-pipe.d.ts +3 -0
  1177. package/pipes/field-error/field-error-pipe.d.ts +3 -0
  1178. package/pipes/field-error/field-error.module.d.ts +6 -0
  1179. package/pipes/field-error/package.json +2 -5
  1180. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +1 -0
  1181. package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +3 -0
  1182. package/pipes/filter-by-input/filter-by-input.base.d.ts +1 -7
  1183. package/pipes/filter-by-input/filter-by-input.module.d.ts +6 -0
  1184. package/pipes/filter-by-input/filter-by-input.pipe.d.ts +3 -0
  1185. package/pipes/filter-by-input/package.json +2 -5
  1186. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +1 -0
  1187. package/pipes/package.json +2 -5
  1188. package/pipes/stringify/package.json +2 -5
  1189. package/pipes/stringify/stringify.module.d.ts +5 -0
  1190. package/pipes/stringify/stringify.pipe.d.ts +3 -0
  1191. package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +1 -0
  1192. package/pipes/stringify-content/package.json +2 -5
  1193. package/pipes/stringify-content/stringify-content.module.d.ts +5 -0
  1194. package/pipes/stringify-content/stringify-content.pipe.d.ts +3 -0
  1195. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +1 -0
  1196. package/pipes/taiga-ui-kit-pipes.d.ts +1 -0
  1197. package/providers/month-formatter.provider.d.ts +0 -7
  1198. package/providers/package.json +2 -5
  1199. package/providers/specific-dropdown-controllers.d.ts +1 -6
  1200. package/providers/taiga-ui-kit-providers.d.ts +1 -0
  1201. package/providers/value-accessor.provider.d.ts +0 -2
  1202. package/taiga-ui-kit.d.ts +1 -0
  1203. package/tokens/calendar-date-stream.d.ts +5 -0
  1204. package/tokens/index.d.ts +1 -3
  1205. package/tokens/package.json +2 -5
  1206. package/tokens/taiga-ui-kit-tokens.d.ts +1 -0
  1207. package/tokens/validation-errors.d.ts +1 -1
  1208. package/types/dropdown-position.d.ts +1 -0
  1209. package/types/file-state.d.ts +4 -0
  1210. package/types/index.d.ts +3 -0
  1211. package/types/key-steps.d.ts +8 -6
  1212. package/types/marker-icon-mode.d.ts +1 -1
  1213. package/types/package.json +2 -5
  1214. package/types/status.d.ts +1 -1
  1215. package/types/step-state.d.ts +1 -0
  1216. package/types/taiga-ui-kit-types.d.ts +1 -0
  1217. package/utils/files/format-size.d.ts +1 -5
  1218. package/utils/files/get-accept-array.d.ts +1 -5
  1219. package/utils/files/package.json +2 -5
  1220. package/utils/files/taiga-ui-kit-utils-files.d.ts +1 -0
  1221. package/utils/format/package.json +2 -5
  1222. package/utils/format/string-hash-to-hsl.d.ts +1 -3
  1223. package/utils/format/taiga-ui-kit-utils-format.d.ts +1 -0
  1224. package/utils/index.d.ts +0 -1
  1225. package/utils/mask/create-auto-corrected-date-pipe.d.ts +1 -5
  1226. package/utils/mask/package.json +2 -5
  1227. package/utils/mask/taiga-ui-kit-utils-mask.d.ts +1 -0
  1228. package/utils/math/key-steps.d.ts +0 -1
  1229. package/utils/math/package.json +2 -5
  1230. package/utils/math/taiga-ui-kit-utils-math.d.ts +1 -0
  1231. package/utils/miscellaneous/get-precision.d.ts +1 -3
  1232. package/utils/miscellaneous/is-flat.d.ts +1 -5
  1233. package/utils/miscellaneous/package.json +2 -5
  1234. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +1 -4
  1235. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +1 -0
  1236. package/utils/package.json +2 -5
  1237. package/utils/taiga-ui-kit-utils.d.ts +1 -0
  1238. package/validators/package.json +2 -5
  1239. package/validators/taiga-ui-kit-validators.d.ts +1 -0
  1240. package/abstract/index.d.ts +0 -2
  1241. package/abstract/input-slider.d.ts +0 -77
  1242. package/abstract/package.json +0 -13
  1243. package/abstract/slider/slider.d.ts +0 -67
  1244. package/abstract/taiga-ui-kit-abstract.d.ts +0 -4
  1245. package/abstract/taiga-ui-kit-abstract.metadata.json +0 -1
  1246. package/bundles/taiga-ui-kit-abstract.umd.js +0 -750
  1247. package/bundles/taiga-ui-kit-abstract.umd.js.map +0 -1
  1248. package/bundles/taiga-ui-kit-abstract.umd.min.js +0 -2
  1249. package/bundles/taiga-ui-kit-abstract.umd.min.js.map +0 -1
  1250. package/bundles/taiga-ui-kit-classes.umd.min.js +0 -2
  1251. package/bundles/taiga-ui-kit-classes.umd.min.js.map +0 -1
  1252. package/bundles/taiga-ui-kit-components-accordion.umd.min.js +0 -2
  1253. package/bundles/taiga-ui-kit-components-accordion.umd.min.js.map +0 -1
  1254. package/bundles/taiga-ui-kit-components-action.umd.min.js +0 -2
  1255. package/bundles/taiga-ui-kit-components-action.umd.min.js.map +0 -1
  1256. package/bundles/taiga-ui-kit-components-arrow.umd.min.js +0 -2
  1257. package/bundles/taiga-ui-kit-components-arrow.umd.min.js.map +0 -1
  1258. package/bundles/taiga-ui-kit-components-avatar.umd.min.js +0 -2
  1259. package/bundles/taiga-ui-kit-components-avatar.umd.min.js.map +0 -1
  1260. package/bundles/taiga-ui-kit-components-badge.umd.min.js +0 -2
  1261. package/bundles/taiga-ui-kit-components-badge.umd.min.js.map +0 -1
  1262. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js +0 -2
  1263. package/bundles/taiga-ui-kit-components-badged-content.umd.min.js.map +0 -1
  1264. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js +0 -2
  1265. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.min.js.map +0 -1
  1266. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js +0 -2
  1267. package/bundles/taiga-ui-kit-components-calendar-month.umd.min.js.map +0 -1
  1268. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js +0 -2
  1269. package/bundles/taiga-ui-kit-components-calendar-range.umd.min.js.map +0 -1
  1270. package/bundles/taiga-ui-kit-components-carousel.umd.min.js +0 -2
  1271. package/bundles/taiga-ui-kit-components-carousel.umd.min.js.map +0 -1
  1272. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js +0 -2
  1273. package/bundles/taiga-ui-kit-components-checkbox-block.umd.min.js.map +0 -1
  1274. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js +0 -2
  1275. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.min.js.map +0 -1
  1276. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js +0 -2
  1277. package/bundles/taiga-ui-kit-components-checkbox.umd.min.js.map +0 -1
  1278. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js +0 -2
  1279. package/bundles/taiga-ui-kit-components-combo-box.umd.min.js.map +0 -1
  1280. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js +0 -2
  1281. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.min.js.map +0 -1
  1282. package/bundles/taiga-ui-kit-components-field-error.umd.js +0 -435
  1283. package/bundles/taiga-ui-kit-components-field-error.umd.js.map +0 -1
  1284. package/bundles/taiga-ui-kit-components-field-error.umd.min.js +0 -2
  1285. package/bundles/taiga-ui-kit-components-field-error.umd.min.js.map +0 -1
  1286. package/bundles/taiga-ui-kit-components-files.umd.min.js +0 -2
  1287. package/bundles/taiga-ui-kit-components-files.umd.min.js.map +0 -1
  1288. package/bundles/taiga-ui-kit-components-filter.umd.min.js +0 -2
  1289. package/bundles/taiga-ui-kit-components-filter.umd.min.js.map +0 -1
  1290. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js +0 -2
  1291. package/bundles/taiga-ui-kit-components-input-copy.umd.min.js.map +0 -1
  1292. package/bundles/taiga-ui-kit-components-input-count.umd.min.js +0 -2
  1293. package/bundles/taiga-ui-kit-components-input-count.umd.min.js.map +0 -1
  1294. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js +0 -2
  1295. package/bundles/taiga-ui-kit-components-input-date-range.umd.min.js.map +0 -1
  1296. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js +0 -2
  1297. package/bundles/taiga-ui-kit-components-input-date-time.umd.min.js.map +0 -1
  1298. package/bundles/taiga-ui-kit-components-input-date.umd.min.js +0 -2
  1299. package/bundles/taiga-ui-kit-components-input-date.umd.min.js.map +0 -1
  1300. package/bundles/taiga-ui-kit-components-input-file.umd.js +0 -779
  1301. package/bundles/taiga-ui-kit-components-input-file.umd.js.map +0 -1
  1302. package/bundles/taiga-ui-kit-components-input-file.umd.min.js +0 -2
  1303. package/bundles/taiga-ui-kit-components-input-file.umd.min.js.map +0 -1
  1304. package/bundles/taiga-ui-kit-components-input-files.umd.min.js +0 -2
  1305. package/bundles/taiga-ui-kit-components-input-files.umd.min.js.map +0 -1
  1306. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js +0 -2
  1307. package/bundles/taiga-ui-kit-components-input-inline.umd.min.js.map +0 -1
  1308. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js +0 -2
  1309. package/bundles/taiga-ui-kit-components-input-month-range.umd.min.js.map +0 -1
  1310. package/bundles/taiga-ui-kit-components-input-month.umd.min.js +0 -2
  1311. package/bundles/taiga-ui-kit-components-input-month.umd.min.js.map +0 -1
  1312. package/bundles/taiga-ui-kit-components-input-number.umd.min.js +0 -2
  1313. package/bundles/taiga-ui-kit-components-input-number.umd.min.js.map +0 -1
  1314. package/bundles/taiga-ui-kit-components-input-password.umd.min.js +0 -2
  1315. package/bundles/taiga-ui-kit-components-input-password.umd.min.js.map +0 -1
  1316. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js +0 -2
  1317. package/bundles/taiga-ui-kit-components-input-phone-international.umd.min.js.map +0 -1
  1318. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js +0 -2
  1319. package/bundles/taiga-ui-kit-components-input-phone.umd.min.js.map +0 -1
  1320. package/bundles/taiga-ui-kit-components-input-range.umd.min.js +0 -2
  1321. package/bundles/taiga-ui-kit-components-input-range.umd.min.js.map +0 -1
  1322. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js +0 -2
  1323. package/bundles/taiga-ui-kit-components-input-slider.umd.min.js.map +0 -1
  1324. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js +0 -2
  1325. package/bundles/taiga-ui-kit-components-input-tag.umd.min.js.map +0 -1
  1326. package/bundles/taiga-ui-kit-components-input-time.umd.min.js +0 -2
  1327. package/bundles/taiga-ui-kit-components-input-time.umd.min.js.map +0 -1
  1328. package/bundles/taiga-ui-kit-components-input.umd.min.js +0 -2
  1329. package/bundles/taiga-ui-kit-components-input.umd.min.js.map +0 -1
  1330. package/bundles/taiga-ui-kit-components-island.umd.min.js +0 -2
  1331. package/bundles/taiga-ui-kit-components-island.umd.min.js.map +0 -1
  1332. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js +0 -2
  1333. package/bundles/taiga-ui-kit-components-line-clamp.umd.min.js.map +0 -1
  1334. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js +0 -2
  1335. package/bundles/taiga-ui-kit-components-marker-icon.umd.min.js.map +0 -1
  1336. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js +0 -2
  1337. package/bundles/taiga-ui-kit-components-multi-select-option.umd.min.js.map +0 -1
  1338. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js +0 -2
  1339. package/bundles/taiga-ui-kit-components-multi-select.umd.min.js.map +0 -1
  1340. package/bundles/taiga-ui-kit-components-pagination.umd.min.js +0 -2
  1341. package/bundles/taiga-ui-kit-components-pagination.umd.min.js.map +0 -1
  1342. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js +0 -2
  1343. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.min.js.map +0 -1
  1344. package/bundles/taiga-ui-kit-components-progress.umd.min.js +0 -2
  1345. package/bundles/taiga-ui-kit-components-progress.umd.min.js.map +0 -1
  1346. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js +0 -2
  1347. package/bundles/taiga-ui-kit-components-radio-block.umd.min.js.map +0 -1
  1348. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js +0 -2
  1349. package/bundles/taiga-ui-kit-components-radio-group.umd.min.js.map +0 -1
  1350. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js +0 -2
  1351. package/bundles/taiga-ui-kit-components-radio-labeled.umd.min.js.map +0 -1
  1352. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js +0 -2
  1353. package/bundles/taiga-ui-kit-components-radio-list.umd.min.js.map +0 -1
  1354. package/bundles/taiga-ui-kit-components-radio.umd.min.js +0 -2
  1355. package/bundles/taiga-ui-kit-components-radio.umd.min.js.map +0 -1
  1356. package/bundles/taiga-ui-kit-components-range.umd.min.js +0 -2
  1357. package/bundles/taiga-ui-kit-components-range.umd.min.js.map +0 -1
  1358. package/bundles/taiga-ui-kit-components-rating.umd.min.js +0 -2
  1359. package/bundles/taiga-ui-kit-components-rating.umd.min.js.map +0 -1
  1360. package/bundles/taiga-ui-kit-components-select-option.umd.min.js +0 -2
  1361. package/bundles/taiga-ui-kit-components-select-option.umd.min.js.map +0 -1
  1362. package/bundles/taiga-ui-kit-components-select.umd.min.js +0 -2
  1363. package/bundles/taiga-ui-kit-components-select.umd.min.js.map +0 -1
  1364. package/bundles/taiga-ui-kit-components-slider.umd.min.js +0 -2
  1365. package/bundles/taiga-ui-kit-components-slider.umd.min.js.map +0 -1
  1366. package/bundles/taiga-ui-kit-components-stepper.umd.min.js +0 -2
  1367. package/bundles/taiga-ui-kit-components-stepper.umd.min.js.map +0 -1
  1368. package/bundles/taiga-ui-kit-components-tabs.umd.min.js +0 -2
  1369. package/bundles/taiga-ui-kit-components-tabs.umd.min.js.map +0 -1
  1370. package/bundles/taiga-ui-kit-components-tag.umd.min.js +0 -2
  1371. package/bundles/taiga-ui-kit-components-tag.umd.min.js.map +0 -1
  1372. package/bundles/taiga-ui-kit-components-text-area.umd.min.js +0 -2
  1373. package/bundles/taiga-ui-kit-components-text-area.umd.min.js.map +0 -1
  1374. package/bundles/taiga-ui-kit-components-toggle.umd.min.js +0 -2
  1375. package/bundles/taiga-ui-kit-components-toggle.umd.min.js.map +0 -1
  1376. package/bundles/taiga-ui-kit-components-tree.umd.min.js +0 -2
  1377. package/bundles/taiga-ui-kit-components-tree.umd.min.js.map +0 -1
  1378. package/bundles/taiga-ui-kit-components.umd.min.js +0 -2
  1379. package/bundles/taiga-ui-kit-components.umd.min.js.map +0 -1
  1380. package/bundles/taiga-ui-kit-constants.umd.min.js +0 -2
  1381. package/bundles/taiga-ui-kit-constants.umd.min.js.map +0 -1
  1382. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js +0 -408
  1383. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.js.map +0 -1
  1384. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js +0 -2
  1385. package/bundles/taiga-ui-kit-directives-dropdown-context.umd.min.js.map +0 -1
  1386. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js +0 -323
  1387. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.js.map +0 -1
  1388. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js +0 -2
  1389. package/bundles/taiga-ui-kit-directives-dropdown-hover.umd.min.js.map +0 -1
  1390. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js +0 -514
  1391. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.js.map +0 -1
  1392. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js +0 -2
  1393. package/bundles/taiga-ui-kit-directives-dropdown-selection.umd.min.js.map +0 -1
  1394. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js +0 -2
  1395. package/bundles/taiga-ui-kit-directives-highlight.umd.min.js.map +0 -1
  1396. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js +0 -2
  1397. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.min.js.map +0 -1
  1398. package/bundles/taiga-ui-kit-directives-present.umd.min.js +0 -2
  1399. package/bundles/taiga-ui-kit-directives-present.umd.min.js.map +0 -1
  1400. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js +0 -2
  1401. package/bundles/taiga-ui-kit-directives-project-class.umd.min.js.map +0 -1
  1402. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js +0 -2
  1403. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.min.js.map +0 -1
  1404. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js +0 -2
  1405. package/bundles/taiga-ui-kit-directives-value-accessor.umd.min.js.map +0 -1
  1406. package/bundles/taiga-ui-kit-directives.umd.min.js +0 -2
  1407. package/bundles/taiga-ui-kit-directives.umd.min.js.map +0 -1
  1408. package/bundles/taiga-ui-kit-enums.umd.js +0 -88
  1409. package/bundles/taiga-ui-kit-enums.umd.js.map +0 -1
  1410. package/bundles/taiga-ui-kit-enums.umd.min.js +0 -2
  1411. package/bundles/taiga-ui-kit-enums.umd.min.js.map +0 -1
  1412. package/bundles/taiga-ui-kit-interfaces.umd.min.js +0 -2
  1413. package/bundles/taiga-ui-kit-interfaces.umd.min.js.map +0 -1
  1414. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js +0 -2
  1415. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.min.js.map +0 -1
  1416. package/bundles/taiga-ui-kit-internal.umd.min.js +0 -2
  1417. package/bundles/taiga-ui-kit-internal.umd.min.js.map +0 -1
  1418. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js +0 -2
  1419. package/bundles/taiga-ui-kit-pipes-field-error.umd.min.js.map +0 -1
  1420. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js +0 -2
  1421. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.min.js.map +0 -1
  1422. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js +0 -2
  1423. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.min.js.map +0 -1
  1424. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js +0 -2
  1425. package/bundles/taiga-ui-kit-pipes-stringify.umd.min.js.map +0 -1
  1426. package/bundles/taiga-ui-kit-pipes.umd.min.js +0 -2
  1427. package/bundles/taiga-ui-kit-pipes.umd.min.js.map +0 -1
  1428. package/bundles/taiga-ui-kit-providers.umd.min.js +0 -2
  1429. package/bundles/taiga-ui-kit-providers.umd.min.js.map +0 -1
  1430. package/bundles/taiga-ui-kit-tokens.umd.min.js +0 -2
  1431. package/bundles/taiga-ui-kit-tokens.umd.min.js.map +0 -1
  1432. package/bundles/taiga-ui-kit-types.umd.min.js +0 -2
  1433. package/bundles/taiga-ui-kit-types.umd.min.js.map +0 -1
  1434. package/bundles/taiga-ui-kit-utils-dom.umd.js +0 -122
  1435. package/bundles/taiga-ui-kit-utils-dom.umd.js.map +0 -1
  1436. package/bundles/taiga-ui-kit-utils-dom.umd.min.js +0 -2
  1437. package/bundles/taiga-ui-kit-utils-dom.umd.min.js.map +0 -1
  1438. package/bundles/taiga-ui-kit-utils-files.umd.min.js +0 -2
  1439. package/bundles/taiga-ui-kit-utils-files.umd.min.js.map +0 -1
  1440. package/bundles/taiga-ui-kit-utils-format.umd.min.js +0 -2
  1441. package/bundles/taiga-ui-kit-utils-format.umd.min.js.map +0 -1
  1442. package/bundles/taiga-ui-kit-utils-mask.umd.min.js +0 -2
  1443. package/bundles/taiga-ui-kit-utils-mask.umd.min.js.map +0 -1
  1444. package/bundles/taiga-ui-kit-utils-math.umd.min.js +0 -2
  1445. package/bundles/taiga-ui-kit-utils-math.umd.min.js.map +0 -1
  1446. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js +0 -2
  1447. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.min.js.map +0 -1
  1448. package/bundles/taiga-ui-kit-utils.umd.min.js +0 -2
  1449. package/bundles/taiga-ui-kit-utils.umd.min.js.map +0 -1
  1450. package/bundles/taiga-ui-kit-validators.umd.min.js +0 -2
  1451. package/bundles/taiga-ui-kit-validators.umd.min.js.map +0 -1
  1452. package/bundles/taiga-ui-kit.umd.min.js +0 -2
  1453. package/bundles/taiga-ui-kit.umd.min.js.map +0 -1
  1454. package/classes/taiga-ui-kit-classes.metadata.json +0 -1
  1455. package/components/accordion/taiga-ui-kit-components-accordion.metadata.json +0 -1
  1456. package/components/action/taiga-ui-kit-components-action.metadata.json +0 -1
  1457. package/components/arrow/taiga-ui-kit-components-arrow.metadata.json +0 -1
  1458. package/components/avatar/taiga-ui-kit-components-avatar.metadata.json +0 -1
  1459. package/components/badge/taiga-ui-kit-components-badge.metadata.json +0 -1
  1460. package/components/badged-content/taiga-ui-kit-components-badged-content.metadata.json +0 -1
  1461. package/components/breadcrumbs/breadcrumb.directive.d.ts +0 -2
  1462. package/components/breadcrumbs/breadcrumbs-wrapper.component.d.ts +0 -10
  1463. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.metadata.json +0 -1
  1464. package/components/calendar-month/taiga-ui-kit-components-calendar-month.metadata.json +0 -1
  1465. package/components/calendar-range/taiga-ui-kit-components-calendar-range.metadata.json +0 -1
  1466. package/components/carousel/taiga-ui-kit-components-carousel.metadata.json +0 -1
  1467. package/components/checkbox/taiga-ui-kit-components-checkbox.metadata.json +0 -1
  1468. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.metadata.json +0 -1
  1469. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.metadata.json +0 -1
  1470. package/components/combo-box/combo-box.providers.d.ts +0 -2
  1471. package/components/combo-box/taiga-ui-kit-components-combo-box.metadata.json +0 -1
  1472. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.metadata.json +0 -1
  1473. package/components/field-error/field-error.component.d.ts +0 -27
  1474. package/components/field-error/field-error.module.d.ts +0 -5
  1475. package/components/field-error/index.d.ts +0 -2
  1476. package/components/field-error/package.json +0 -13
  1477. package/components/field-error/taiga-ui-kit-components-field-error.d.ts +0 -4
  1478. package/components/field-error/taiga-ui-kit-components-field-error.metadata.json +0 -1
  1479. package/components/files/taiga-ui-kit-components-files.metadata.json +0 -1
  1480. package/components/filter/taiga-ui-kit-components-filter.metadata.json +0 -1
  1481. package/components/input/input.providers.d.ts +0 -1
  1482. package/components/input/taiga-ui-kit-components-input.metadata.json +0 -1
  1483. package/components/input-copy/input-copy.providers.d.ts +0 -2
  1484. package/components/input-copy/taiga-ui-kit-components-input-copy.metadata.json +0 -1
  1485. package/components/input-count/taiga-ui-kit-components-input-count.metadata.json +0 -1
  1486. package/components/input-date/input-date.providers.d.ts +0 -5
  1487. package/components/input-date/taiga-ui-kit-components-input-date.metadata.json +0 -1
  1488. package/components/input-date-range/input-date-range.providers.d.ts +0 -5
  1489. package/components/input-date-range/taiga-ui-kit-components-input-date-range.metadata.json +0 -1
  1490. package/components/input-date-time/input-date-time.providers.d.ts +0 -5
  1491. package/components/input-date-time/taiga-ui-kit-components-input-date-time.metadata.json +0 -1
  1492. package/components/input-file/file/file.component.d.ts +0 -37
  1493. package/components/input-file/index.d.ts +0 -3
  1494. package/components/input-file/input-file.component.d.ts +0 -54
  1495. package/components/input-file/input-file.module.d.ts +0 -2
  1496. package/components/input-file/package.json +0 -13
  1497. package/components/input-file/taiga-ui-kit-components-input-file.d.ts +0 -4
  1498. package/components/input-file/taiga-ui-kit-components-input-file.metadata.json +0 -1
  1499. package/components/input-files/taiga-ui-kit-components-input-files.metadata.json +0 -1
  1500. package/components/input-inline/taiga-ui-kit-components-input-inline.metadata.json +0 -1
  1501. package/components/input-month/input-month.providers.d.ts +0 -2
  1502. package/components/input-month/taiga-ui-kit-components-input-month.metadata.json +0 -1
  1503. package/components/input-month-range/input-month-range.providers.d.ts +0 -2
  1504. package/components/input-month-range/taiga-ui-kit-components-input-month-range.metadata.json +0 -1
  1505. package/components/input-number/taiga-ui-kit-components-input-number.metadata.json +0 -1
  1506. package/components/input-password/taiga-ui-kit-components-input-password.metadata.json +0 -1
  1507. package/components/input-phone/input-phone.providers.d.ts +0 -5
  1508. package/components/input-phone/taiga-ui-kit-components-input-phone.metadata.json +0 -1
  1509. package/components/input-phone-international/const/countries.d.ts +0 -26
  1510. package/components/input-phone-international/country-iso-code.d.ts +0 -207
  1511. package/components/input-phone-international/interfaces/country.d.ts +0 -7
  1512. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.metadata.json +0 -1
  1513. package/components/input-range/taiga-ui-kit-components-input-range.metadata.json +0 -1
  1514. package/components/input-slider/taiga-ui-kit-components-input-slider.metadata.json +0 -1
  1515. package/components/input-tag/taiga-ui-kit-components-input-tag.metadata.json +0 -1
  1516. package/components/input-time/taiga-ui-kit-components-input-time.metadata.json +0 -1
  1517. package/components/island/taiga-ui-kit-components-island.metadata.json +0 -1
  1518. package/components/line-clamp/taiga-ui-kit-components-line-clamp.metadata.json +0 -1
  1519. package/components/marker-icon/taiga-ui-kit-components-marker-icon.metadata.json +0 -1
  1520. package/components/multi-select/taiga-ui-kit-components-multi-select.metadata.json +0 -1
  1521. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.metadata.json +0 -1
  1522. package/components/pagination/taiga-ui-kit-components-pagination.metadata.json +0 -1
  1523. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.metadata.json +0 -1
  1524. package/components/progress/taiga-ui-kit-components-progress.metadata.json +0 -1
  1525. package/components/progress/utils/abstract-color-segments.d.ts +0 -9
  1526. package/components/progress/utils/calculate-color-segments.d.ts +0 -1
  1527. package/components/progress/utils/progress-color-segments-async.pipe.d.ts +0 -10
  1528. package/components/progress/utils/progress-color-segments.pipe.d.ts +0 -9
  1529. package/components/radio/taiga-ui-kit-components-radio.metadata.json +0 -1
  1530. package/components/radio-block/taiga-ui-kit-components-radio-block.metadata.json +0 -1
  1531. package/components/radio-group/taiga-ui-kit-components-radio-group.metadata.json +0 -1
  1532. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.metadata.json +0 -1
  1533. package/components/radio-list/taiga-ui-kit-components-radio-list.metadata.json +0 -1
  1534. package/components/range/taiga-ui-kit-components-range.metadata.json +0 -1
  1535. package/components/rating/taiga-ui-kit-components-rating.metadata.json +0 -1
  1536. package/components/select/select.providers.d.ts +0 -2
  1537. package/components/select/taiga-ui-kit-components-select.metadata.json +0 -1
  1538. package/components/select-option/taiga-ui-kit-components-select-option.metadata.json +0 -1
  1539. package/components/slider/slider-old.component.d.ts +0 -21
  1540. package/components/slider/taiga-ui-kit-components-slider.metadata.json +0 -1
  1541. package/components/stepper/taiga-ui-kit-components-stepper.metadata.json +0 -1
  1542. package/components/tabs/tab.directive.d.ts +0 -5
  1543. package/components/tabs/taiga-ui-kit-components-tabs.metadata.json +0 -1
  1544. package/components/tag/taiga-ui-kit-components-tag.metadata.json +0 -1
  1545. package/components/taiga-ui-kit-components.metadata.json +0 -1
  1546. package/components/text-area/taiga-ui-kit-components-text-area.metadata.json +0 -1
  1547. package/components/text-area/text-area.providers.d.ts +0 -2
  1548. package/components/toggle/taiga-ui-kit-components-toggle.metadata.json +0 -1
  1549. package/components/tree/taiga-ui-kit-components-tree.metadata.json +0 -1
  1550. package/constants/taiga-ui-kit-constants.metadata.json +0 -1
  1551. package/directives/dropdown-context/dropdown-context.directive.d.ts +0 -27
  1552. package/directives/dropdown-context/dropdown-context.module.d.ts +0 -2
  1553. package/directives/dropdown-context/index.d.ts +0 -2
  1554. package/directives/dropdown-context/package.json +0 -13
  1555. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.d.ts +0 -4
  1556. package/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.metadata.json +0 -1
  1557. package/directives/dropdown-hover/dropdown-hover.directive.d.ts +0 -8
  1558. package/directives/dropdown-hover/dropdown-hover.module.d.ts +0 -2
  1559. package/directives/dropdown-hover/index.d.ts +0 -2
  1560. package/directives/dropdown-hover/package.json +0 -13
  1561. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.d.ts +0 -4
  1562. package/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.metadata.json +0 -1
  1563. package/directives/dropdown-selection/dropdown-selection.directive.d.ts +0 -43
  1564. package/directives/dropdown-selection/dropdown-selection.module.d.ts +0 -2
  1565. package/directives/dropdown-selection/index.d.ts +0 -2
  1566. package/directives/dropdown-selection/package.json +0 -13
  1567. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.d.ts +0 -4
  1568. package/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.metadata.json +0 -1
  1569. package/directives/highlight/taiga-ui-kit-directives-highlight.metadata.json +0 -1
  1570. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.metadata.json +0 -1
  1571. package/directives/present/taiga-ui-kit-directives-present.metadata.json +0 -1
  1572. package/directives/project-class/taiga-ui-kit-directives-project-class.metadata.json +0 -1
  1573. package/directives/taiga-ui-kit-directives.metadata.json +0 -1
  1574. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.metadata.json +0 -1
  1575. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.metadata.json +0 -1
  1576. package/enums/borders.d.ts +0 -7
  1577. package/enums/dropdown-position.d.ts +0 -9
  1578. package/enums/file-state.d.ts +0 -10
  1579. package/enums/index.d.ts +0 -7
  1580. package/enums/marker-icon-mode.d.ts +0 -13
  1581. package/enums/package.json +0 -13
  1582. package/enums/status.d.ts +0 -11
  1583. package/enums/step-state.d.ts +0 -9
  1584. package/enums/taiga-ui-kit-enums.d.ts +0 -4
  1585. package/enums/taiga-ui-kit-enums.metadata.json +0 -1
  1586. package/enums/text-align.d.ts +0 -8
  1587. package/esm2015/abstract/index.js +0 -3
  1588. package/esm2015/abstract/input-slider.js +0 -171
  1589. package/esm2015/abstract/slider/slider.js +0 -262
  1590. package/esm2015/abstract/taiga-ui-kit-abstract.js +0 -5
  1591. package/esm2015/components/breadcrumbs/breadcrumb.directive.js +0 -11
  1592. package/esm2015/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -40
  1593. package/esm2015/components/combo-box/combo-box.providers.js +0 -28
  1594. package/esm2015/components/field-error/field-error.component.js +0 -132
  1595. package/esm2015/components/field-error/field-error.module.js +0 -20
  1596. package/esm2015/components/field-error/index.js +0 -3
  1597. package/esm2015/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1598. package/esm2015/components/input/input.providers.js +0 -22
  1599. package/esm2015/components/input-copy/input-copy.providers.js +0 -16
  1600. package/esm2015/components/input-date/input-date.providers.js +0 -29
  1601. package/esm2015/components/input-date-range/input-date-range.providers.js +0 -29
  1602. package/esm2015/components/input-date-time/input-date-time.providers.js +0 -29
  1603. package/esm2015/components/input-file/file/file.component.js +0 -149
  1604. package/esm2015/components/input-file/index.js +0 -4
  1605. package/esm2015/components/input-file/input-file.component.js +0 -264
  1606. package/esm2015/components/input-file/input-file.module.js +0 -36
  1607. package/esm2015/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1608. package/esm2015/components/input-month/input-month.providers.js +0 -19
  1609. package/esm2015/components/input-month-range/input-month-range.providers.js +0 -19
  1610. package/esm2015/components/input-phone/input-phone.providers.js +0 -35
  1611. package/esm2015/components/input-phone-international/const/countries.js +0 -257
  1612. package/esm2015/components/input-phone-international/country-iso-code.js +0 -209
  1613. package/esm2015/components/input-phone-international/interfaces/country.js +0 -1
  1614. package/esm2015/components/progress/utils/abstract-color-segments.js +0 -32
  1615. package/esm2015/components/progress/utils/calculate-color-segments.js +0 -11
  1616. package/esm2015/components/progress/utils/progress-color-segments-async.pipe.js +0 -21
  1617. package/esm2015/components/progress/utils/progress-color-segments.pipe.js +0 -19
  1618. package/esm2015/components/select/select.providers.js +0 -28
  1619. package/esm2015/components/slider/slider-old.component.js +0 -77
  1620. package/esm2015/components/tabs/tab.directive.js +0 -18
  1621. package/esm2015/components/text-area/text-area.providers.js +0 -18
  1622. package/esm2015/directives/dropdown-context/dropdown-context.directive.js +0 -125
  1623. package/esm2015/directives/dropdown-context/dropdown-context.module.js +0 -15
  1624. package/esm2015/directives/dropdown-context/index.js +0 -3
  1625. package/esm2015/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
  1626. package/esm2015/directives/dropdown-hover/dropdown-hover.directive.js +0 -50
  1627. package/esm2015/directives/dropdown-hover/dropdown-hover.module.js +0 -13
  1628. package/esm2015/directives/dropdown-hover/index.js +0 -3
  1629. package/esm2015/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
  1630. package/esm2015/directives/dropdown-selection/dropdown-selection.directive.js +0 -231
  1631. package/esm2015/directives/dropdown-selection/dropdown-selection.module.js +0 -15
  1632. package/esm2015/directives/dropdown-selection/index.js +0 -3
  1633. package/esm2015/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
  1634. package/esm2015/enums/borders.js +0 -9
  1635. package/esm2015/enums/dropdown-position.js +0 -10
  1636. package/esm2015/enums/file-state.js +0 -11
  1637. package/esm2015/enums/index.js +0 -8
  1638. package/esm2015/enums/marker-icon-mode.js +0 -15
  1639. package/esm2015/enums/status.js +0 -13
  1640. package/esm2015/enums/step-state.js +0 -10
  1641. package/esm2015/enums/taiga-ui-kit-enums.js +0 -5
  1642. package/esm2015/enums/text-align.js +0 -10
  1643. package/esm2015/interfaces/bread-crumbs-item.js +0 -1
  1644. package/esm2015/interfaces/with-date-mask-pipe-config.js +0 -1
  1645. package/esm2015/tokens/calendar-data-stream.js +0 -3
  1646. package/esm2015/tokens/mobile-aware.js +0 -6
  1647. package/esm2015/tokens/tag-status.js +0 -6
  1648. package/esm2015/utils/dom/get-word-range.js +0 -53
  1649. package/esm2015/utils/dom/index.js +0 -4
  1650. package/esm2015/utils/dom/scroll-to-element.js +0 -23
  1651. package/esm2015/utils/dom/set-range-offset.js +0 -29
  1652. package/esm2015/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
  1653. package/esm5/abstract/index.js +0 -3
  1654. package/esm5/abstract/input-slider.js +0 -202
  1655. package/esm5/abstract/slider/slider.js +0 -298
  1656. package/esm5/abstract/taiga-ui-kit-abstract.js +0 -5
  1657. package/esm5/classes/day-range-period.js +0 -12
  1658. package/esm5/classes/index.js +0 -4
  1659. package/esm5/classes/named-day.js +0 -14
  1660. package/esm5/classes/stringifiable-item.js +0 -15
  1661. package/esm5/classes/taiga-ui-kit-classes.js +0 -5
  1662. package/esm5/components/accordion/accordion-item/accordion-item-content.directive.js +0 -24
  1663. package/esm5/components/accordion/accordion-item/accordion-item-eager-content.directive.js +0 -14
  1664. package/esm5/components/accordion/accordion-item/accordion-item.component.js +0 -160
  1665. package/esm5/components/accordion/accordion.component.js +0 -62
  1666. package/esm5/components/accordion/accordion.module.js +0 -44
  1667. package/esm5/components/accordion/index.js +0 -6
  1668. package/esm5/components/accordion/taiga-ui-kit-components-accordion.js +0 -5
  1669. package/esm5/components/action/action.component.js +0 -89
  1670. package/esm5/components/action/action.module.js +0 -27
  1671. package/esm5/components/action/index.js +0 -3
  1672. package/esm5/components/action/taiga-ui-kit-components-action.js +0 -5
  1673. package/esm5/components/arrow/arrow-options.js +0 -29
  1674. package/esm5/components/arrow/arrow.component.js +0 -41
  1675. package/esm5/components/arrow/arrow.module.js +0 -21
  1676. package/esm5/components/arrow/index.js +0 -4
  1677. package/esm5/components/arrow/taiga-ui-kit-components-arrow.js +0 -5
  1678. package/esm5/components/avatar/avatar-options.js +0 -16
  1679. package/esm5/components/avatar/avatar.component.js +0 -98
  1680. package/esm5/components/avatar/avatar.module.js +0 -19
  1681. package/esm5/components/avatar/index.js +0 -4
  1682. package/esm5/components/avatar/taiga-ui-kit-components-avatar.js +0 -5
  1683. package/esm5/components/badge/badge.component.js +0 -87
  1684. package/esm5/components/badge/badge.module.js +0 -18
  1685. package/esm5/components/badge/index.js +0 -3
  1686. package/esm5/components/badge/taiga-ui-kit-components-badge.js +0 -5
  1687. package/esm5/components/badged-content/badged-content.component.js +0 -106
  1688. package/esm5/components/badged-content/badged-content.module.js +0 -21
  1689. package/esm5/components/badged-content/index.js +0 -3
  1690. package/esm5/components/badged-content/taiga-ui-kit-components-badged-content.js +0 -5
  1691. package/esm5/components/breadcrumbs/breadcrumb.directive.js +0 -14
  1692. package/esm5/components/breadcrumbs/breadcrumbs-wrapper.component.js +0 -42
  1693. package/esm5/components/breadcrumbs/breadcrumbs.component.js +0 -35
  1694. package/esm5/components/breadcrumbs/breadcrumbs.module.js +0 -39
  1695. package/esm5/components/breadcrumbs/index.js +0 -5
  1696. package/esm5/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +0 -5
  1697. package/esm5/components/calendar-month/calendar-month.component.js +0 -213
  1698. package/esm5/components/calendar-month/calendar-month.module.js +0 -30
  1699. package/esm5/components/calendar-month/index.js +0 -3
  1700. package/esm5/components/calendar-month/taiga-ui-kit-components-calendar-month.js +0 -5
  1701. package/esm5/components/calendar-range/calendar-range.component.js +0 -181
  1702. package/esm5/components/calendar-range/calendar-range.module.js +0 -30
  1703. package/esm5/components/calendar-range/index.js +0 -3
  1704. package/esm5/components/calendar-range/taiga-ui-kit-components-calendar-range.js +0 -5
  1705. package/esm5/components/carousel/carousel-autoscroll.directive.js +0 -22
  1706. package/esm5/components/carousel/carousel-buttons.directive.js +0 -27
  1707. package/esm5/components/carousel/carousel-scroll.directive.js +0 -35
  1708. package/esm5/components/carousel/carousel.component.js +0 -158
  1709. package/esm5/components/carousel/carousel.directive.js +0 -45
  1710. package/esm5/components/carousel/carousel.module.js +0 -41
  1711. package/esm5/components/carousel/index.js +0 -7
  1712. package/esm5/components/carousel/taiga-ui-kit-components-carousel.js +0 -5
  1713. package/esm5/components/checkbox/checkbox.component.js +0 -89
  1714. package/esm5/components/checkbox/checkbox.module.js +0 -29
  1715. package/esm5/components/checkbox/index.js +0 -3
  1716. package/esm5/components/checkbox/taiga-ui-kit-components-checkbox.js +0 -5
  1717. package/esm5/components/checkbox-block/checkbox-block.component.js +0 -123
  1718. package/esm5/components/checkbox-block/checkbox-block.module.js +0 -27
  1719. package/esm5/components/checkbox-block/index.js +0 -3
  1720. package/esm5/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +0 -5
  1721. package/esm5/components/checkbox-labeled/checkbox-labeled.component.js +0 -89
  1722. package/esm5/components/checkbox-labeled/checkbox-labeled.module.js +0 -27
  1723. package/esm5/components/checkbox-labeled/index.js +0 -3
  1724. package/esm5/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +0 -5
  1725. package/esm5/components/combo-box/combo-box-strict.directive.js +0 -34
  1726. package/esm5/components/combo-box/combo-box.component.js +0 -212
  1727. package/esm5/components/combo-box/combo-box.directive.js +0 -35
  1728. package/esm5/components/combo-box/combo-box.module.js +0 -42
  1729. package/esm5/components/combo-box/combo-box.providers.js +0 -28
  1730. package/esm5/components/combo-box/index.js +0 -6
  1731. package/esm5/components/combo-box/taiga-ui-kit-components-combo-box.js +0 -5
  1732. package/esm5/components/data-list-wrapper/data-list-group-wrapper.component.js +0 -46
  1733. package/esm5/components/data-list-wrapper/data-list-wrapper.component.js +0 -41
  1734. package/esm5/components/data-list-wrapper/data-list-wrapper.js +0 -64
  1735. package/esm5/components/data-list-wrapper/data-list-wrapper.module.js +0 -32
  1736. package/esm5/components/data-list-wrapper/index.js +0 -5
  1737. package/esm5/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +0 -5
  1738. package/esm5/components/field-error/field-error.component.js +0 -165
  1739. package/esm5/components/field-error/field-error.module.js +0 -23
  1740. package/esm5/components/field-error/index.js +0 -3
  1741. package/esm5/components/field-error/taiga-ui-kit-components-field-error.js +0 -5
  1742. package/esm5/components/files/file/file.component.js +0 -213
  1743. package/esm5/components/files/files.component.js +0 -50
  1744. package/esm5/components/files/files.module.js +0 -32
  1745. package/esm5/components/files/index.js +0 -4
  1746. package/esm5/components/files/taiga-ui-kit-components-files.js +0 -5
  1747. package/esm5/components/filter/filter.component.js +0 -97
  1748. package/esm5/components/filter/filter.module.js +0 -30
  1749. package/esm5/components/filter/index.js +0 -3
  1750. package/esm5/components/filter/taiga-ui-kit-components-filter.js +0 -5
  1751. package/esm5/components/index.js +0 -62
  1752. package/esm5/components/input/index.js +0 -5
  1753. package/esm5/components/input/input.component.js +0 -108
  1754. package/esm5/components/input/input.directive.js +0 -28
  1755. package/esm5/components/input/input.module.js +0 -26
  1756. package/esm5/components/input/input.providers.js +0 -22
  1757. package/esm5/components/input/taiga-ui-kit-components-input.js +0 -5
  1758. package/esm5/components/input-copy/index.js +0 -5
  1759. package/esm5/components/input-copy/input-copy.component.js +0 -137
  1760. package/esm5/components/input-copy/input-copy.directive.js +0 -28
  1761. package/esm5/components/input-copy/input-copy.module.js +0 -28
  1762. package/esm5/components/input-copy/input-copy.providers.js +0 -16
  1763. package/esm5/components/input-copy/taiga-ui-kit-components-input-copy.js +0 -5
  1764. package/esm5/components/input-count/index.js +0 -5
  1765. package/esm5/components/input-count/input-count-options.js +0 -26
  1766. package/esm5/components/input-count/input-count.component.js +0 -295
  1767. package/esm5/components/input-count/input-count.directive.js +0 -32
  1768. package/esm5/components/input-count/input-count.module.js +0 -31
  1769. package/esm5/components/input-count/taiga-ui-kit-components-input-count.js +0 -5
  1770. package/esm5/components/input-date/index.js +0 -5
  1771. package/esm5/components/input-date/input-date.component.js +0 -271
  1772. package/esm5/components/input-date/input-date.directive.js +0 -38
  1773. package/esm5/components/input-date/input-date.module.js +0 -37
  1774. package/esm5/components/input-date/input-date.providers.js +0 -31
  1775. package/esm5/components/input-date/taiga-ui-kit-components-input-date.js +0 -5
  1776. package/esm5/components/input-date-range/index.js +0 -5
  1777. package/esm5/components/input-date-range/input-date-range.component.js +0 -354
  1778. package/esm5/components/input-date-range/input-date-range.directive.js +0 -38
  1779. package/esm5/components/input-date-range/input-date-range.module.js +0 -41
  1780. package/esm5/components/input-date-range/input-date-range.providers.js +0 -31
  1781. package/esm5/components/input-date-range/taiga-ui-kit-components-input-date-range.js +0 -5
  1782. package/esm5/components/input-date-time/index.js +0 -5
  1783. package/esm5/components/input-date-time/input-date-time.component.js +0 -304
  1784. package/esm5/components/input-date-time/input-date-time.directive.js +0 -38
  1785. package/esm5/components/input-date-time/input-date-time.module.js +0 -40
  1786. package/esm5/components/input-date-time/input-date-time.providers.js +0 -31
  1787. package/esm5/components/input-date-time/taiga-ui-kit-components-input-date-time.js +0 -5
  1788. package/esm5/components/input-file/file/file.component.js +0 -194
  1789. package/esm5/components/input-file/index.js +0 -4
  1790. package/esm5/components/input-file/input-file.component.js +0 -311
  1791. package/esm5/components/input-file/input-file.module.js +0 -39
  1792. package/esm5/components/input-file/taiga-ui-kit-components-input-file.js +0 -5
  1793. package/esm5/components/input-files/index.js +0 -3
  1794. package/esm5/components/input-files/input-files.component.js +0 -247
  1795. package/esm5/components/input-files/input-files.module.js +0 -44
  1796. package/esm5/components/input-files/taiga-ui-kit-components-input-files.js +0 -5
  1797. package/esm5/components/input-inline/index.js +0 -3
  1798. package/esm5/components/input-inline/input-inline.component.js +0 -78
  1799. package/esm5/components/input-inline/input-inline.module.js +0 -27
  1800. package/esm5/components/input-inline/taiga-ui-kit-components-input-inline.js +0 -5
  1801. package/esm5/components/input-month/index.js +0 -5
  1802. package/esm5/components/input-month/input-month.component.js +0 -117
  1803. package/esm5/components/input-month/input-month.directive.js +0 -67
  1804. package/esm5/components/input-month/input-month.module.js +0 -30
  1805. package/esm5/components/input-month/input-month.providers.js +0 -19
  1806. package/esm5/components/input-month/taiga-ui-kit-components-input-month.js +0 -5
  1807. package/esm5/components/input-month-range/index.js +0 -5
  1808. package/esm5/components/input-month-range/input-month-range.component.js +0 -125
  1809. package/esm5/components/input-month-range/input-month-range.directive.js +0 -74
  1810. package/esm5/components/input-month-range/input-month-range.module.js +0 -35
  1811. package/esm5/components/input-month-range/input-month-range.providers.js +0 -19
  1812. package/esm5/components/input-month-range/taiga-ui-kit-components-input-month-range.js +0 -5
  1813. package/esm5/components/input-number/index.js +0 -4
  1814. package/esm5/components/input-number/input-number.component.js +0 -294
  1815. package/esm5/components/input-number/input-number.directive.js +0 -45
  1816. package/esm5/components/input-number/input-number.module.js +0 -32
  1817. package/esm5/components/input-number/taiga-ui-kit-components-input-number.js +0 -5
  1818. package/esm5/components/input-password/index.js +0 -5
  1819. package/esm5/components/input-password/input-password-options.js +0 -26
  1820. package/esm5/components/input-password/input-password.component.js +0 -137
  1821. package/esm5/components/input-password/input-password.directive.js +0 -36
  1822. package/esm5/components/input-password/input-password.module.js +0 -34
  1823. package/esm5/components/input-password/taiga-ui-kit-components-input-password.js +0 -5
  1824. package/esm5/components/input-phone/index.js +0 -6
  1825. package/esm5/components/input-phone/input-phone.component.js +0 -300
  1826. package/esm5/components/input-phone/input-phone.directive.js +0 -45
  1827. package/esm5/components/input-phone/input-phone.module.js +0 -29
  1828. package/esm5/components/input-phone/input-phone.options.js +0 -15
  1829. package/esm5/components/input-phone/input-phone.providers.js +0 -35
  1830. package/esm5/components/input-phone/taiga-ui-kit-components-input-phone.js +0 -5
  1831. package/esm5/components/input-phone-international/const/countries.js +0 -260
  1832. package/esm5/components/input-phone-international/country-iso-code.js +0 -209
  1833. package/esm5/components/input-phone-international/index.js +0 -8
  1834. package/esm5/components/input-phone-international/input-phone-international.component.js +0 -215
  1835. package/esm5/components/input-phone-international/input-phone-international.module.js +0 -40
  1836. package/esm5/components/input-phone-international/input-phone-international.options.js +0 -15
  1837. package/esm5/components/input-phone-international/interfaces/country.js +0 -1
  1838. package/esm5/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +0 -5
  1839. package/esm5/components/input-phone-international/tokens/countries-masks.js +0 -6
  1840. package/esm5/components/input-phone-international/utils/extract-value-from-event.js +0 -14
  1841. package/esm5/components/input-range/index.js +0 -3
  1842. package/esm5/components/input-range/input-range.component.js +0 -316
  1843. package/esm5/components/input-range/input-range.module.js +0 -35
  1844. package/esm5/components/input-range/taiga-ui-kit-components-input-range.js +0 -5
  1845. package/esm5/components/input-slider/index.js +0 -3
  1846. package/esm5/components/input-slider/input-slider.component.js +0 -306
  1847. package/esm5/components/input-slider/input-slider.module.js +0 -35
  1848. package/esm5/components/input-slider/taiga-ui-kit-components-input-slider.js +0 -5
  1849. package/esm5/components/input-tag/index.js +0 -4
  1850. package/esm5/components/input-tag/input-tag-options.js +0 -9
  1851. package/esm5/components/input-tag/input-tag.component.js +0 -521
  1852. package/esm5/components/input-tag/input-tag.module.js +0 -37
  1853. package/esm5/components/input-tag/taiga-ui-kit-components-input-tag.js +0 -5
  1854. package/esm5/components/input-time/index.js +0 -4
  1855. package/esm5/components/input-time/input-time-options.js +0 -23
  1856. package/esm5/components/input-time/input-time.component.js +0 -303
  1857. package/esm5/components/input-time/input-time.module.js +0 -29
  1858. package/esm5/components/input-time/taiga-ui-kit-components-input-time.js +0 -5
  1859. package/esm5/components/island/index.js +0 -3
  1860. package/esm5/components/island/island.component.js +0 -103
  1861. package/esm5/components/island/island.module.js +0 -18
  1862. package/esm5/components/island/taiga-ui-kit-components-island.js +0 -5
  1863. package/esm5/components/line-clamp/index.js +0 -4
  1864. package/esm5/components/line-clamp/line-clamp-options.js +0 -13
  1865. package/esm5/components/line-clamp/line-clamp.component.js +0 -148
  1866. package/esm5/components/line-clamp/line-clamp.module.js +0 -27
  1867. package/esm5/components/line-clamp/taiga-ui-kit-components-line-clamp.js +0 -5
  1868. package/esm5/components/marker-icon/index.js +0 -3
  1869. package/esm5/components/marker-icon/marker-icon.component.js +0 -46
  1870. package/esm5/components/marker-icon/marker-icon.module.js +0 -19
  1871. package/esm5/components/marker-icon/taiga-ui-kit-components-marker-icon.js +0 -5
  1872. package/esm5/components/multi-select/hide-selected.pipe.js +0 -45
  1873. package/esm5/components/multi-select/index.js +0 -7
  1874. package/esm5/components/multi-select/multi-select-group/multi-select-group.component.js +0 -173
  1875. package/esm5/components/multi-select/multi-select-group/multi-select-group.directive.js +0 -60
  1876. package/esm5/components/multi-select/multi-select-options.js +0 -14
  1877. package/esm5/components/multi-select/multi-select.component.js +0 -306
  1878. package/esm5/components/multi-select/multi-select.module.js +0 -54
  1879. package/esm5/components/multi-select/taiga-ui-kit-components-multi-select.js +0 -5
  1880. package/esm5/components/multi-select-option/index.js +0 -3
  1881. package/esm5/components/multi-select-option/multi-select-option.component.js +0 -39
  1882. package/esm5/components/multi-select-option/multi-select-option.module.js +0 -20
  1883. package/esm5/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +0 -5
  1884. package/esm5/components/pagination/index.js +0 -3
  1885. package/esm5/components/pagination/pagination.component.js +0 -320
  1886. package/esm5/components/pagination/pagination.module.js +0 -29
  1887. package/esm5/components/pagination/taiga-ui-kit-components-pagination.js +0 -5
  1888. package/esm5/components/pdf-viewer/index.js +0 -5
  1889. package/esm5/components/pdf-viewer/pdf-viewer-options.js +0 -1
  1890. package/esm5/components/pdf-viewer/pdf-viewer.component.js +0 -43
  1891. package/esm5/components/pdf-viewer/pdf-viewer.directive.js +0 -26
  1892. package/esm5/components/pdf-viewer/pdf-viewer.module.js +0 -31
  1893. package/esm5/components/pdf-viewer/pdf-viewer.service.js +0 -31
  1894. package/esm5/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +0 -5
  1895. package/esm5/components/progress/index.js +0 -10
  1896. package/esm5/components/progress/progress-bar/progress-bar.component.js +0 -28
  1897. package/esm5/components/progress/progress-bar/progress-color-segments.directive.js +0 -56
  1898. package/esm5/components/progress/progress-circle/progress-circle.component.js +0 -78
  1899. package/esm5/components/progress/progress-label/progress-label.component.js +0 -17
  1900. package/esm5/components/progress/progress-segmented/progress-segmented.component.js +0 -52
  1901. package/esm5/components/progress/progress.module.js +0 -41
  1902. package/esm5/components/progress/taiga-ui-kit-components-progress.js +0 -5
  1903. package/esm5/components/progress/utils/abstract-color-segments.js +0 -33
  1904. package/esm5/components/progress/utils/calculate-color-segments.js +0 -13
  1905. package/esm5/components/progress/utils/progress-color-segments-async.pipe.js +0 -27
  1906. package/esm5/components/progress/utils/progress-color-segments.pipe.js +0 -24
  1907. package/esm5/components/radio/index.js +0 -4
  1908. package/esm5/components/radio/radio-options.js +0 -18
  1909. package/esm5/components/radio/radio.component.js +0 -165
  1910. package/esm5/components/radio/radio.module.js +0 -29
  1911. package/esm5/components/radio/taiga-ui-kit-components-radio.js +0 -5
  1912. package/esm5/components/radio-block/index.js +0 -3
  1913. package/esm5/components/radio-block/radio-block.component.js +0 -146
  1914. package/esm5/components/radio-block/radio-block.module.js +0 -27
  1915. package/esm5/components/radio-block/taiga-ui-kit-components-radio-block.js +0 -5
  1916. package/esm5/components/radio-group/index.js +0 -3
  1917. package/esm5/components/radio-group/radio-group.component.js +0 -25
  1918. package/esm5/components/radio-group/radio-group.module.js +0 -16
  1919. package/esm5/components/radio-group/taiga-ui-kit-components-radio-group.js +0 -5
  1920. package/esm5/components/radio-labeled/index.js +0 -3
  1921. package/esm5/components/radio-labeled/radio-labeled.component.js +0 -112
  1922. package/esm5/components/radio-labeled/radio-labeled.module.js +0 -29
  1923. package/esm5/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +0 -5
  1924. package/esm5/components/radio-list/index.js +0 -3
  1925. package/esm5/components/radio-list/radio-list.component.js +0 -114
  1926. package/esm5/components/radio-list/radio-list.module.js +0 -28
  1927. package/esm5/components/radio-list/taiga-ui-kit-components-radio-list.js +0 -5
  1928. package/esm5/components/range/index.js +0 -4
  1929. package/esm5/components/range/range-change.directive.js +0 -103
  1930. package/esm5/components/range/range.component.js +0 -269
  1931. package/esm5/components/range/range.module.js +0 -30
  1932. package/esm5/components/range/taiga-ui-kit-components-range.js +0 -5
  1933. package/esm5/components/rating/index.js +0 -4
  1934. package/esm5/components/rating/rating-options.js +0 -16
  1935. package/esm5/components/rating/rating.component.js +0 -111
  1936. package/esm5/components/rating/rating.module.js +0 -26
  1937. package/esm5/components/rating/taiga-ui-kit-components-rating.js +0 -5
  1938. package/esm5/components/select/index.js +0 -6
  1939. package/esm5/components/select/select-options.js +0 -13
  1940. package/esm5/components/select/select.component.js +0 -137
  1941. package/esm5/components/select/select.directive.js +0 -42
  1942. package/esm5/components/select/select.module.js +0 -32
  1943. package/esm5/components/select/select.providers.js +0 -28
  1944. package/esm5/components/select/taiga-ui-kit-components-select.js +0 -5
  1945. package/esm5/components/select-option/index.js +0 -3
  1946. package/esm5/components/select-option/select-option.component.js +0 -75
  1947. package/esm5/components/select-option/select-option.module.js +0 -20
  1948. package/esm5/components/select-option/taiga-ui-kit-components-select-option.js +0 -5
  1949. package/esm5/components/slider/helpers/slider-key-steps.directive.js +0 -136
  1950. package/esm5/components/slider/helpers/slider-readonly.directive.js +0 -87
  1951. package/esm5/components/slider/helpers/slider-thumb-label/slider-thumb-label.component.js +0 -55
  1952. package/esm5/components/slider/index.js +0 -8
  1953. package/esm5/components/slider/slider-old.component.js +0 -96
  1954. package/esm5/components/slider/slider-options.js +0 -14
  1955. package/esm5/components/slider/slider.component.js +0 -161
  1956. package/esm5/components/slider/slider.module.js +0 -45
  1957. package/esm5/components/slider/taiga-ui-kit-components-slider.js +0 -5
  1958. package/esm5/components/stepper/index.js +0 -4
  1959. package/esm5/components/stepper/step/step.component.js +0 -103
  1960. package/esm5/components/stepper/stepper.component.js +0 -117
  1961. package/esm5/components/stepper/stepper.module.js +0 -20
  1962. package/esm5/components/stepper/taiga-ui-kit-components-stepper.js +0 -5
  1963. package/esm5/components/tabs/index.js +0 -10
  1964. package/esm5/components/tabs/tab/tab.component.js +0 -86
  1965. package/esm5/components/tabs/tab/tab.providers.js +0 -38
  1966. package/esm5/components/tabs/tab.directive.js +0 -19
  1967. package/esm5/components/tabs/tabs/tabs.component.js +0 -159
  1968. package/esm5/components/tabs/tabs-options.js +0 -15
  1969. package/esm5/components/tabs/tabs-with-more/tabs-with-more.component.js +0 -233
  1970. package/esm5/components/tabs/tabs-with-more/tabs-with-more.providers.js +0 -43
  1971. package/esm5/components/tabs/tabs.module.js +0 -42
  1972. package/esm5/components/tabs/taiga-ui-kit-components-tabs.js +0 -5
  1973. package/esm5/components/tabs/underline/underline.component.js +0 -94
  1974. package/esm5/components/tag/index.js +0 -4
  1975. package/esm5/components/tag/tag-options.js +0 -16
  1976. package/esm5/components/tag/tag.component.js +0 -240
  1977. package/esm5/components/tag/tag.module.js +0 -29
  1978. package/esm5/components/tag/taiga-ui-kit-components-tag.js +0 -5
  1979. package/esm5/components/taiga-ui-kit-components.js +0 -5
  1980. package/esm5/components/text-area/index.js +0 -5
  1981. package/esm5/components/text-area/taiga-ui-kit-components-text-area.js +0 -5
  1982. package/esm5/components/text-area/text-area.component.js +0 -238
  1983. package/esm5/components/text-area/text-area.directive.js +0 -28
  1984. package/esm5/components/text-area/text-area.module.js +0 -33
  1985. package/esm5/components/text-area/text-area.providers.js +0 -18
  1986. package/esm5/components/toggle/index.js +0 -4
  1987. package/esm5/components/toggle/taiga-ui-kit-components-toggle.js +0 -5
  1988. package/esm5/components/toggle/toggle-options.js +0 -26
  1989. package/esm5/components/toggle/toggle.component.js +0 -160
  1990. package/esm5/components/toggle/toggle.module.js +0 -33
  1991. package/esm5/components/tree/components/tree/tree.component.js +0 -72
  1992. package/esm5/components/tree/components/tree-item/tree-item.component.js +0 -68
  1993. package/esm5/components/tree/components/tree-item/tree-item.providers.js +0 -19
  1994. package/esm5/components/tree/components/tree-item-content/tree-item-content.component.js +0 -49
  1995. package/esm5/components/tree/directives/tree-children.directive.js +0 -25
  1996. package/esm5/components/tree/directives/tree-controller.directive.js +0 -64
  1997. package/esm5/components/tree/directives/tree-item-controller.directive.js +0 -38
  1998. package/esm5/components/tree/directives/tree-node.directive.js +0 -40
  1999. package/esm5/components/tree/index.js +0 -13
  2000. package/esm5/components/tree/misc/tree.constants.js +0 -9
  2001. package/esm5/components/tree/misc/tree.interfaces.js +0 -1
  2002. package/esm5/components/tree/misc/tree.service.js +0 -44
  2003. package/esm5/components/tree/misc/tree.tokens.js +0 -17
  2004. package/esm5/components/tree/taiga-ui-kit-components-tree.js +0 -5
  2005. package/esm5/components/tree/tree.module.js +0 -48
  2006. package/esm5/constants/date-time-separator.js +0 -2
  2007. package/esm5/constants/empty-mask.js +0 -6
  2008. package/esm5/constants/group-class-names.js +0 -12
  2009. package/esm5/constants/icon-blank.js +0 -2
  2010. package/esm5/constants/index.js +0 -10
  2011. package/esm5/constants/masks.js +0 -52
  2012. package/esm5/constants/math.js +0 -5
  2013. package/esm5/constants/max-day-range-length-mapper.js +0 -16
  2014. package/esm5/constants/max-time-values.js +0 -7
  2015. package/esm5/constants/router-link-options.js +0 -10
  2016. package/esm5/constants/taiga-ui-kit-constants.js +0 -5
  2017. package/esm5/directives/dropdown-context/dropdown-context.directive.js +0 -141
  2018. package/esm5/directives/dropdown-context/dropdown-context.module.js +0 -18
  2019. package/esm5/directives/dropdown-context/index.js +0 -3
  2020. package/esm5/directives/dropdown-context/taiga-ui-kit-directives-dropdown-context.js +0 -5
  2021. package/esm5/directives/dropdown-hover/dropdown-hover.directive.js +0 -56
  2022. package/esm5/directives/dropdown-hover/dropdown-hover.module.js +0 -16
  2023. package/esm5/directives/dropdown-hover/index.js +0 -3
  2024. package/esm5/directives/dropdown-hover/taiga-ui-kit-directives-dropdown-hover.js +0 -5
  2025. package/esm5/directives/dropdown-selection/dropdown-selection.directive.js +0 -248
  2026. package/esm5/directives/dropdown-selection/dropdown-selection.module.js +0 -18
  2027. package/esm5/directives/dropdown-selection/index.js +0 -3
  2028. package/esm5/directives/dropdown-selection/taiga-ui-kit-directives-dropdown-selection.js +0 -5
  2029. package/esm5/directives/highlight/highlight.directive.js +0 -101
  2030. package/esm5/directives/highlight/highlight.module.js +0 -16
  2031. package/esm5/directives/highlight/index.js +0 -3
  2032. package/esm5/directives/highlight/taiga-ui-kit-directives-highlight.js +0 -5
  2033. package/esm5/directives/index.js +0 -10
  2034. package/esm5/directives/lazy-loading/index.js +0 -4
  2035. package/esm5/directives/lazy-loading/lazy-loading.directive.js +0 -69
  2036. package/esm5/directives/lazy-loading/lazy-loading.module.js +0 -16
  2037. package/esm5/directives/lazy-loading/lazy-loading.service.js +0 -40
  2038. package/esm5/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +0 -5
  2039. package/esm5/directives/present/index.js +0 -3
  2040. package/esm5/directives/present/present.directive.js +0 -71
  2041. package/esm5/directives/present/present.module.js +0 -16
  2042. package/esm5/directives/present/taiga-ui-kit-directives-present.js +0 -5
  2043. package/esm5/directives/project-class/index.js +0 -3
  2044. package/esm5/directives/project-class/project-class.directive.js +0 -43
  2045. package/esm5/directives/project-class/project-class.module.js +0 -16
  2046. package/esm5/directives/project-class/taiga-ui-kit-directives-project-class.js +0 -5
  2047. package/esm5/directives/taiga-ui-kit-directives.js +0 -5
  2048. package/esm5/directives/unfinished-validator/index.js +0 -3
  2049. package/esm5/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +0 -5
  2050. package/esm5/directives/unfinished-validator/unfinished-validator.directive.js +0 -36
  2051. package/esm5/directives/unfinished-validator/unfinished-validator.module.js +0 -16
  2052. package/esm5/directives/value-accessor/index.js +0 -3
  2053. package/esm5/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +0 -5
  2054. package/esm5/directives/value-accessor/value-accessor.directive.js +0 -16
  2055. package/esm5/directives/value-accessor/value-accessor.module.js +0 -16
  2056. package/esm5/enums/borders.js +0 -9
  2057. package/esm5/enums/dropdown-position.js +0 -10
  2058. package/esm5/enums/file-state.js +0 -11
  2059. package/esm5/enums/index.js +0 -8
  2060. package/esm5/enums/marker-icon-mode.js +0 -15
  2061. package/esm5/enums/status.js +0 -13
  2062. package/esm5/enums/step-state.js +0 -10
  2063. package/esm5/enums/taiga-ui-kit-enums.js +0 -5
  2064. package/esm5/enums/text-align.js +0 -10
  2065. package/esm5/index.js +0 -12
  2066. package/esm5/interfaces/bread-crumbs-item.js +0 -1
  2067. package/esm5/interfaces/file-like.js +0 -1
  2068. package/esm5/interfaces/index.js +0 -1
  2069. package/esm5/interfaces/mobile-calendar-data.js +0 -1
  2070. package/esm5/interfaces/month-context.js +0 -1
  2071. package/esm5/interfaces/taiga-ui-kit-interfaces.js +0 -4
  2072. package/esm5/interfaces/with-date-mask-pipe-config.js +0 -1
  2073. package/esm5/internal/index.js +0 -2
  2074. package/esm5/internal/primitive-calendar-range/index.js +0 -3
  2075. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.component.js +0 -163
  2076. package/esm5/internal/primitive-calendar-range/primitive-calendar-range.module.js +0 -22
  2077. package/esm5/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +0 -5
  2078. package/esm5/internal/taiga-ui-kit-internal.js +0 -5
  2079. package/esm5/pipes/field-error/field-error-content-pipe.js +0 -44
  2080. package/esm5/pipes/field-error/field-error-pipe.js +0 -142
  2081. package/esm5/pipes/field-error/field-error.module.js +0 -17
  2082. package/esm5/pipes/field-error/index.js +0 -4
  2083. package/esm5/pipes/field-error/taiga-ui-kit-pipes-field-error.js +0 -5
  2084. package/esm5/pipes/filter-by-input/filter-by-input-with.pipe.js +0 -28
  2085. package/esm5/pipes/filter-by-input/filter-by-input.base.js +0 -61
  2086. package/esm5/pipes/filter-by-input/filter-by-input.module.js +0 -17
  2087. package/esm5/pipes/filter-by-input/filter-by-input.pipe.js +0 -29
  2088. package/esm5/pipes/filter-by-input/index.js +0 -5
  2089. package/esm5/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +0 -5
  2090. package/esm5/pipes/index.js +0 -5
  2091. package/esm5/pipes/stringify/index.js +0 -3
  2092. package/esm5/pipes/stringify/stringify.module.js +0 -16
  2093. package/esm5/pipes/stringify/stringify.pipe.js +0 -17
  2094. package/esm5/pipes/stringify/taiga-ui-kit-pipes-stringify.js +0 -5
  2095. package/esm5/pipes/stringify-content/index.js +0 -3
  2096. package/esm5/pipes/stringify-content/stringify-content.module.js +0 -16
  2097. package/esm5/pipes/stringify-content/stringify-content.pipe.js +0 -20
  2098. package/esm5/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +0 -5
  2099. package/esm5/pipes/taiga-ui-kit-pipes.js +0 -5
  2100. package/esm5/providers/index.js +0 -4
  2101. package/esm5/providers/month-formatter.provider.js +0 -23
  2102. package/esm5/providers/specific-dropdown-controllers.js +0 -29
  2103. package/esm5/providers/taiga-ui-kit-providers.js +0 -5
  2104. package/esm5/providers/value-accessor.provider.js +0 -12
  2105. package/esm5/taiga-ui-kit.js +0 -5
  2106. package/esm5/tokens/calendar-data-stream.js +0 -3
  2107. package/esm5/tokens/date-inputs-value-transformers.js +0 -5
  2108. package/esm5/tokens/i18n.js +0 -60
  2109. package/esm5/tokens/index.js +0 -11
  2110. package/esm5/tokens/items-handlers.js +0 -16
  2111. package/esm5/tokens/mobile-aware.js +0 -6
  2112. package/esm5/tokens/mobile-calendar.js +0 -3
  2113. package/esm5/tokens/month-formatter.js +0 -3
  2114. package/esm5/tokens/tab-margin.js +0 -5
  2115. package/esm5/tokens/tag-status.js +0 -6
  2116. package/esm5/tokens/taiga-ui-kit-tokens.js +0 -5
  2117. package/esm5/tokens/validation-errors.js +0 -5
  2118. package/esm5/types/handler-with-context.js +0 -1
  2119. package/esm5/types/index.js +0 -1
  2120. package/esm5/types/key-steps.js +0 -1
  2121. package/esm5/types/marker-icon-mode.js +0 -1
  2122. package/esm5/types/status.js +0 -1
  2123. package/esm5/types/taiga-ui-kit-types.js +0 -4
  2124. package/esm5/types/time-format-parts.js +0 -1
  2125. package/esm5/utils/dom/get-word-range.js +0 -55
  2126. package/esm5/utils/dom/index.js +0 -4
  2127. package/esm5/utils/dom/scroll-to-element.js +0 -23
  2128. package/esm5/utils/dom/set-range-offset.js +0 -29
  2129. package/esm5/utils/dom/taiga-ui-kit-utils-dom.js +0 -5
  2130. package/esm5/utils/files/format-size.js +0 -21
  2131. package/esm5/utils/files/get-accept-array.js +0 -12
  2132. package/esm5/utils/files/index.js +0 -3
  2133. package/esm5/utils/files/taiga-ui-kit-utils-files.js +0 -5
  2134. package/esm5/utils/format/index.js +0 -2
  2135. package/esm5/utils/format/string-hash-to-hsl.js +0 -24
  2136. package/esm5/utils/format/taiga-ui-kit-utils-format.js +0 -5
  2137. package/esm5/utils/index.js +0 -7
  2138. package/esm5/utils/mask/create-auto-corrected-date-pipe.js +0 -25
  2139. package/esm5/utils/mask/create-auto-corrected-date-range-pipe.js +0 -39
  2140. package/esm5/utils/mask/create-auto-corrected-date-time-pipe.js +0 -29
  2141. package/esm5/utils/mask/create-auto-corrected-time-pipe.js +0 -36
  2142. package/esm5/utils/mask/create-date-mask.js +0 -17
  2143. package/esm5/utils/mask/create-date-range-mask.js +0 -13
  2144. package/esm5/utils/mask/create-time-mask.js +0 -17
  2145. package/esm5/utils/mask/index.js +0 -8
  2146. package/esm5/utils/mask/taiga-ui-kit-utils-mask.js +0 -5
  2147. package/esm5/utils/math/horizontal-direction-to-number.js +0 -12
  2148. package/esm5/utils/math/index.js +0 -3
  2149. package/esm5/utils/math/key-steps.js +0 -30
  2150. package/esm5/utils/math/taiga-ui-kit-utils-math.js +0 -5
  2151. package/esm5/utils/miscellaneous/create-default-day-range-periods.js +0 -28
  2152. package/esm5/utils/miscellaneous/create-time-periods.js +0 -15
  2153. package/esm5/utils/miscellaneous/get-precision.js +0 -12
  2154. package/esm5/utils/miscellaneous/index.js +0 -6
  2155. package/esm5/utils/miscellaneous/is-flat.js +0 -9
  2156. package/esm5/utils/miscellaneous/replay-control-value-changes-factory.js +0 -19
  2157. package/esm5/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +0 -5
  2158. package/esm5/utils/taiga-ui-kit-utils.js +0 -5
  2159. package/esm5/validators/index.js +0 -2
  2160. package/esm5/validators/taiga-ui-kit-validators.js +0 -5
  2161. package/esm5/validators/unfinished.validator.js +0 -15
  2162. package/fesm2015/taiga-ui-kit-abstract.js +0 -434
  2163. package/fesm2015/taiga-ui-kit-abstract.js.map +0 -1
  2164. package/fesm2015/taiga-ui-kit-components-field-error.js +0 -153
  2165. package/fesm2015/taiga-ui-kit-components-field-error.js.map +0 -1
  2166. package/fesm2015/taiga-ui-kit-components-input-file.js +0 -440
  2167. package/fesm2015/taiga-ui-kit-components-input-file.js.map +0 -1
  2168. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js +0 -141
  2169. package/fesm2015/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
  2170. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js +0 -65
  2171. package/fesm2015/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
  2172. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js +0 -247
  2173. package/fesm2015/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
  2174. package/fesm2015/taiga-ui-kit-enums.js +0 -84
  2175. package/fesm2015/taiga-ui-kit-enums.js.map +0 -1
  2176. package/fesm2015/taiga-ui-kit-utils-dom.js +0 -111
  2177. package/fesm2015/taiga-ui-kit-utils-dom.js.map +0 -1
  2178. package/fesm5/taiga-ui-kit-abstract.js +0 -501
  2179. package/fesm5/taiga-ui-kit-abstract.js.map +0 -1
  2180. package/fesm5/taiga-ui-kit-classes.js +0 -44
  2181. package/fesm5/taiga-ui-kit-classes.js.map +0 -1
  2182. package/fesm5/taiga-ui-kit-components-accordion.js +0 -286
  2183. package/fesm5/taiga-ui-kit-components-accordion.js.map +0 -1
  2184. package/fesm5/taiga-ui-kit-components-action.js +0 -117
  2185. package/fesm5/taiga-ui-kit-components-action.js.map +0 -1
  2186. package/fesm5/taiga-ui-kit-components-arrow.js +0 -87
  2187. package/fesm5/taiga-ui-kit-components-arrow.js.map +0 -1
  2188. package/fesm5/taiga-ui-kit-components-avatar.js +0 -132
  2189. package/fesm5/taiga-ui-kit-components-avatar.js.map +0 -1
  2190. package/fesm5/taiga-ui-kit-components-badge.js +0 -107
  2191. package/fesm5/taiga-ui-kit-components-badge.js.map +0 -1
  2192. package/fesm5/taiga-ui-kit-components-badged-content.js +0 -128
  2193. package/fesm5/taiga-ui-kit-components-badged-content.js.map +0 -1
  2194. package/fesm5/taiga-ui-kit-components-breadcrumbs.js +0 -120
  2195. package/fesm5/taiga-ui-kit-components-breadcrumbs.js.map +0 -1
  2196. package/fesm5/taiga-ui-kit-components-calendar-month.js +0 -244
  2197. package/fesm5/taiga-ui-kit-components-calendar-month.js.map +0 -1
  2198. package/fesm5/taiga-ui-kit-components-calendar-range.js +0 -211
  2199. package/fesm5/taiga-ui-kit-components-calendar-range.js.map +0 -1
  2200. package/fesm5/taiga-ui-kit-components-carousel.js +0 -307
  2201. package/fesm5/taiga-ui-kit-components-carousel.js.map +0 -1
  2202. package/fesm5/taiga-ui-kit-components-checkbox-block.js +0 -148
  2203. package/fesm5/taiga-ui-kit-components-checkbox-block.js.map +0 -1
  2204. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js +0 -115
  2205. package/fesm5/taiga-ui-kit-components-checkbox-labeled.js.map +0 -1
  2206. package/fesm5/taiga-ui-kit-components-checkbox.js +0 -118
  2207. package/fesm5/taiga-ui-kit-components-checkbox.js.map +0 -1
  2208. package/fesm5/taiga-ui-kit-components-combo-box.js +0 -333
  2209. package/fesm5/taiga-ui-kit-components-combo-box.js.map +0 -1
  2210. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js +0 -171
  2211. package/fesm5/taiga-ui-kit-components-data-list-wrapper.js.map +0 -1
  2212. package/fesm5/taiga-ui-kit-components-field-error.js +0 -189
  2213. package/fesm5/taiga-ui-kit-components-field-error.js.map +0 -1
  2214. package/fesm5/taiga-ui-kit-components-files.js +0 -289
  2215. package/fesm5/taiga-ui-kit-components-files.js.map +0 -1
  2216. package/fesm5/taiga-ui-kit-components-filter.js +0 -128
  2217. package/fesm5/taiga-ui-kit-components-filter.js.map +0 -1
  2218. package/fesm5/taiga-ui-kit-components-input-copy.js +0 -200
  2219. package/fesm5/taiga-ui-kit-components-input-copy.js.map +0 -1
  2220. package/fesm5/taiga-ui-kit-components-input-count.js +0 -377
  2221. package/fesm5/taiga-ui-kit-components-input-count.js.map +0 -1
  2222. package/fesm5/taiga-ui-kit-components-input-date-range.js +0 -452
  2223. package/fesm5/taiga-ui-kit-components-input-date-range.js.map +0 -1
  2224. package/fesm5/taiga-ui-kit-components-input-date-time.js +0 -402
  2225. package/fesm5/taiga-ui-kit-components-input-date-time.js.map +0 -1
  2226. package/fesm5/taiga-ui-kit-components-input-date.js +0 -365
  2227. package/fesm5/taiga-ui-kit-components-input-date.js.map +0 -1
  2228. package/fesm5/taiga-ui-kit-components-input-file.js +0 -535
  2229. package/fesm5/taiga-ui-kit-components-input-file.js.map +0 -1
  2230. package/fesm5/taiga-ui-kit-components-input-files.js +0 -291
  2231. package/fesm5/taiga-ui-kit-components-input-files.js.map +0 -1
  2232. package/fesm5/taiga-ui-kit-components-input-inline.js +0 -105
  2233. package/fesm5/taiga-ui-kit-components-input-inline.js.map +0 -1
  2234. package/fesm5/taiga-ui-kit-components-input-month-range.js +0 -240
  2235. package/fesm5/taiga-ui-kit-components-input-month-range.js.map +0 -1
  2236. package/fesm5/taiga-ui-kit-components-input-month.js +0 -220
  2237. package/fesm5/taiga-ui-kit-components-input-month.js.map +0 -1
  2238. package/fesm5/taiga-ui-kit-components-input-number.js +0 -365
  2239. package/fesm5/taiga-ui-kit-components-input-number.js.map +0 -1
  2240. package/fesm5/taiga-ui-kit-components-input-password.js +0 -225
  2241. package/fesm5/taiga-ui-kit-components-input-password.js.map +0 -1
  2242. package/fesm5/taiga-ui-kit-components-input-phone-international.js +0 -744
  2243. package/fesm5/taiga-ui-kit-components-input-phone-international.js.map +0 -1
  2244. package/fesm5/taiga-ui-kit-components-input-phone.js +0 -410
  2245. package/fesm5/taiga-ui-kit-components-input-phone.js.map +0 -1
  2246. package/fesm5/taiga-ui-kit-components-input-range.js +0 -347
  2247. package/fesm5/taiga-ui-kit-components-input-range.js.map +0 -1
  2248. package/fesm5/taiga-ui-kit-components-input-slider.js +0 -336
  2249. package/fesm5/taiga-ui-kit-components-input-slider.js.map +0 -1
  2250. package/fesm5/taiga-ui-kit-components-input-tag.js +0 -563
  2251. package/fesm5/taiga-ui-kit-components-input-tag.js.map +0 -1
  2252. package/fesm5/taiga-ui-kit-components-input-time.js +0 -353
  2253. package/fesm5/taiga-ui-kit-components-input-time.js.map +0 -1
  2254. package/fesm5/taiga-ui-kit-components-input.js +0 -174
  2255. package/fesm5/taiga-ui-kit-components-input.js.map +0 -1
  2256. package/fesm5/taiga-ui-kit-components-island.js +0 -123
  2257. package/fesm5/taiga-ui-kit-components-island.js.map +0 -1
  2258. package/fesm5/taiga-ui-kit-components-line-clamp.js +0 -185
  2259. package/fesm5/taiga-ui-kit-components-line-clamp.js.map +0 -1
  2260. package/fesm5/taiga-ui-kit-components-marker-icon.js +0 -66
  2261. package/fesm5/taiga-ui-kit-components-marker-icon.js.map +0 -1
  2262. package/fesm5/taiga-ui-kit-components-multi-select-option.js +0 -60
  2263. package/fesm5/taiga-ui-kit-components-multi-select-option.js.map +0 -1
  2264. package/fesm5/taiga-ui-kit-components-multi-select.js +0 -623
  2265. package/fesm5/taiga-ui-kit-components-multi-select.js.map +0 -1
  2266. package/fesm5/taiga-ui-kit-components-pagination.js +0 -349
  2267. package/fesm5/taiga-ui-kit-components-pagination.js.map +0 -1
  2268. package/fesm5/taiga-ui-kit-components-pdf-viewer.js +0 -117
  2269. package/fesm5/taiga-ui-kit-components-pdf-viewer.js.map +0 -1
  2270. package/fesm5/taiga-ui-kit-components-progress.js +0 -330
  2271. package/fesm5/taiga-ui-kit-components-progress.js.map +0 -1
  2272. package/fesm5/taiga-ui-kit-components-radio-block.js +0 -171
  2273. package/fesm5/taiga-ui-kit-components-radio-block.js.map +0 -1
  2274. package/fesm5/taiga-ui-kit-components-radio-group.js +0 -43
  2275. package/fesm5/taiga-ui-kit-components-radio-group.js.map +0 -1
  2276. package/fesm5/taiga-ui-kit-components-radio-labeled.js +0 -140
  2277. package/fesm5/taiga-ui-kit-components-radio-labeled.js.map +0 -1
  2278. package/fesm5/taiga-ui-kit-components-radio-list.js +0 -142
  2279. package/fesm5/taiga-ui-kit-components-radio-list.js.map +0 -1
  2280. package/fesm5/taiga-ui-kit-components-radio.js +0 -209
  2281. package/fesm5/taiga-ui-kit-components-radio.js.map +0 -1
  2282. package/fesm5/taiga-ui-kit-components-range.js +0 -390
  2283. package/fesm5/taiga-ui-kit-components-range.js.map +0 -1
  2284. package/fesm5/taiga-ui-kit-components-rating.js +0 -150
  2285. package/fesm5/taiga-ui-kit-components-rating.js.map +0 -1
  2286. package/fesm5/taiga-ui-kit-components-select-option.js +0 -96
  2287. package/fesm5/taiga-ui-kit-components-select-option.js.map +0 -1
  2288. package/fesm5/taiga-ui-kit-components-select.js +0 -237
  2289. package/fesm5/taiga-ui-kit-components-select.js.map +0 -1
  2290. package/fesm5/taiga-ui-kit-components-slider.js +0 -560
  2291. package/fesm5/taiga-ui-kit-components-slider.js.map +0 -1
  2292. package/fesm5/taiga-ui-kit-components-stepper.js +0 -233
  2293. package/fesm5/taiga-ui-kit-components-stepper.js.map +0 -1
  2294. package/fesm5/taiga-ui-kit-components-tabs.js +0 -677
  2295. package/fesm5/taiga-ui-kit-components-tabs.js.map +0 -1
  2296. package/fesm5/taiga-ui-kit-components-tag.js +0 -282
  2297. package/fesm5/taiga-ui-kit-components-tag.js.map +0 -1
  2298. package/fesm5/taiga-ui-kit-components-text-area.js +0 -306
  2299. package/fesm5/taiga-ui-kit-components-text-area.js.map +0 -1
  2300. package/fesm5/taiga-ui-kit-components-toggle.js +0 -216
  2301. package/fesm5/taiga-ui-kit-components-toggle.js.map +0 -1
  2302. package/fesm5/taiga-ui-kit-components-tree.js +0 -439
  2303. package/fesm5/taiga-ui-kit-components-tree.js.map +0 -1
  2304. package/fesm5/taiga-ui-kit-components.js +0 -66
  2305. package/fesm5/taiga-ui-kit-components.js.map +0 -1
  2306. package/fesm5/taiga-ui-kit-constants.js +0 -119
  2307. package/fesm5/taiga-ui-kit-constants.js.map +0 -1
  2308. package/fesm5/taiga-ui-kit-directives-dropdown-context.js +0 -160
  2309. package/fesm5/taiga-ui-kit-directives-dropdown-context.js.map +0 -1
  2310. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js +0 -74
  2311. package/fesm5/taiga-ui-kit-directives-dropdown-hover.js.map +0 -1
  2312. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js +0 -267
  2313. package/fesm5/taiga-ui-kit-directives-dropdown-selection.js.map +0 -1
  2314. package/fesm5/taiga-ui-kit-directives-highlight.js +0 -119
  2315. package/fesm5/taiga-ui-kit-directives-highlight.js.map +0 -1
  2316. package/fesm5/taiga-ui-kit-directives-lazy-loading.js +0 -121
  2317. package/fesm5/taiga-ui-kit-directives-lazy-loading.js.map +0 -1
  2318. package/fesm5/taiga-ui-kit-directives-present.js +0 -89
  2319. package/fesm5/taiga-ui-kit-directives-present.js.map +0 -1
  2320. package/fesm5/taiga-ui-kit-directives-project-class.js +0 -61
  2321. package/fesm5/taiga-ui-kit-directives-project-class.js.map +0 -1
  2322. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js +0 -54
  2323. package/fesm5/taiga-ui-kit-directives-unfinished-validator.js.map +0 -1
  2324. package/fesm5/taiga-ui-kit-directives-value-accessor.js +0 -34
  2325. package/fesm5/taiga-ui-kit-directives-value-accessor.js.map +0 -1
  2326. package/fesm5/taiga-ui-kit-directives.js +0 -14
  2327. package/fesm5/taiga-ui-kit-directives.js.map +0 -1
  2328. package/fesm5/taiga-ui-kit-enums.js +0 -84
  2329. package/fesm5/taiga-ui-kit-enums.js.map +0 -1
  2330. package/fesm5/taiga-ui-kit-interfaces.js +0 -4
  2331. package/fesm5/taiga-ui-kit-interfaces.js.map +0 -1
  2332. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js +0 -185
  2333. package/fesm5/taiga-ui-kit-internal-primitive-calendar-range.js.map +0 -1
  2334. package/fesm5/taiga-ui-kit-internal.js +0 -6
  2335. package/fesm5/taiga-ui-kit-internal.js.map +0 -1
  2336. package/fesm5/taiga-ui-kit-pipes-field-error.js +0 -200
  2337. package/fesm5/taiga-ui-kit-pipes-field-error.js.map +0 -1
  2338. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js +0 -125
  2339. package/fesm5/taiga-ui-kit-pipes-filter-by-input.js.map +0 -1
  2340. package/fesm5/taiga-ui-kit-pipes-stringify-content.js +0 -38
  2341. package/fesm5/taiga-ui-kit-pipes-stringify-content.js.map +0 -1
  2342. package/fesm5/taiga-ui-kit-pipes-stringify.js +0 -35
  2343. package/fesm5/taiga-ui-kit-pipes-stringify.js.map +0 -1
  2344. package/fesm5/taiga-ui-kit-pipes.js +0 -9
  2345. package/fesm5/taiga-ui-kit-pipes.js.map +0 -1
  2346. package/fesm5/taiga-ui-kit-providers.js +0 -67
  2347. package/fesm5/taiga-ui-kit-providers.js.map +0 -1
  2348. package/fesm5/taiga-ui-kit-tokens.js +0 -110
  2349. package/fesm5/taiga-ui-kit-tokens.js.map +0 -1
  2350. package/fesm5/taiga-ui-kit-types.js +0 -4
  2351. package/fesm5/taiga-ui-kit-types.js.map +0 -1
  2352. package/fesm5/taiga-ui-kit-utils-dom.js +0 -113
  2353. package/fesm5/taiga-ui-kit-utils-dom.js.map +0 -1
  2354. package/fesm5/taiga-ui-kit-utils-files.js +0 -40
  2355. package/fesm5/taiga-ui-kit-utils-files.js.map +0 -1
  2356. package/fesm5/taiga-ui-kit-utils-format.js +0 -30
  2357. package/fesm5/taiga-ui-kit-utils-format.js.map +0 -1
  2358. package/fesm5/taiga-ui-kit-utils-mask.js +0 -169
  2359. package/fesm5/taiga-ui-kit-utils-mask.js.map +0 -1
  2360. package/fesm5/taiga-ui-kit-utils-math.js +0 -49
  2361. package/fesm5/taiga-ui-kit-utils-math.js.map +0 -1
  2362. package/fesm5/taiga-ui-kit-utils-miscellaneous.js +0 -88
  2363. package/fesm5/taiga-ui-kit-utils-miscellaneous.js.map +0 -1
  2364. package/fesm5/taiga-ui-kit-utils.js +0 -11
  2365. package/fesm5/taiga-ui-kit-utils.js.map +0 -1
  2366. package/fesm5/taiga-ui-kit-validators.js +0 -22
  2367. package/fesm5/taiga-ui-kit-validators.js.map +0 -1
  2368. package/fesm5/taiga-ui-kit.js +0 -16
  2369. package/fesm5/taiga-ui-kit.js.map +0 -1
  2370. package/interfaces/bread-crumbs-item.d.ts +0 -6
  2371. package/interfaces/taiga-ui-kit-interfaces.metadata.json +0 -1
  2372. package/interfaces/with-date-mask-pipe-config.d.ts +0 -9
  2373. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.metadata.json +0 -1
  2374. package/internal/taiga-ui-kit-internal.metadata.json +0 -1
  2375. package/pipes/field-error/taiga-ui-kit-pipes-field-error.metadata.json +0 -1
  2376. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.metadata.json +0 -1
  2377. package/pipes/stringify/taiga-ui-kit-pipes-stringify.metadata.json +0 -1
  2378. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.metadata.json +0 -1
  2379. package/pipes/taiga-ui-kit-pipes.metadata.json +0 -1
  2380. package/providers/taiga-ui-kit-providers.metadata.json +0 -1
  2381. package/taiga-ui-kit.metadata.json +0 -1
  2382. package/tokens/calendar-data-stream.d.ts +0 -4
  2383. package/tokens/mobile-aware.d.ts +0 -3
  2384. package/tokens/tag-status.d.ts +0 -3
  2385. package/tokens/taiga-ui-kit-tokens.metadata.json +0 -1
  2386. package/types/taiga-ui-kit-types.metadata.json +0 -1
  2387. package/utils/dom/get-word-range.d.ts +0 -9
  2388. package/utils/dom/index.d.ts +0 -3
  2389. package/utils/dom/package.json +0 -13
  2390. package/utils/dom/scroll-to-element.d.ts +0 -5
  2391. package/utils/dom/set-range-offset.d.ts +0 -6
  2392. package/utils/dom/taiga-ui-kit-utils-dom.d.ts +0 -4
  2393. package/utils/dom/taiga-ui-kit-utils-dom.metadata.json +0 -1
  2394. package/utils/files/taiga-ui-kit-utils-files.metadata.json +0 -1
  2395. package/utils/format/taiga-ui-kit-utils-format.metadata.json +0 -1
  2396. package/utils/mask/taiga-ui-kit-utils-mask.metadata.json +0 -1
  2397. package/utils/math/taiga-ui-kit-utils-math.metadata.json +0 -1
  2398. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.metadata.json +0 -1
  2399. package/utils/taiga-ui-kit-utils.metadata.json +0 -1
  2400. package/validators/taiga-ui-kit-validators.metadata.json +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-phone-international/const/countries.ts","ng://@taiga-ui/kit/components/input-phone-international/country-iso-code.ts","ng://@taiga-ui/kit/components/input-phone-international/input-phone-international.options.ts","ng://@taiga-ui/kit/components/input-phone-international/tokens/countries-masks.ts","ng://@taiga-ui/kit/components/input-phone-international/utils/extract-value-from-event.ts","ng://@taiga-ui/kit/components/input-phone-international/input-phone-international.component.ts","ng://@taiga-ui/kit/components/input-phone-international/input-phone-international.module.ts"],"names":["extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","prototype","hasOwnProperty","call","__assign","assign","t","s","i","n","arguments","length","apply","this","__decorate","decorators","target","key","desc","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","create","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","COUNTRIES","_a","TuiCountryIsoCode","AD","mask","name","AE","AF","AG","AI","AL","AM","AO","AR","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BM","BN","BO","BQ","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CW","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FK","FM","FR","GA","GB","GD","GE","GH","GI","GL","GM","GN","GQ","GR","GT","GW","GY","HK","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MK","ML","MM","MN","MO","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SK","SL","SM","SN","SO","SR","ST","SV","SX","SY","SZ","TC","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TW","TZ","UA","UG","US","UY","UZ","VC","VE","VG","VN","VU","WS","XK","YE","ZA","ZM","ZW","countriesMasksReducer","acc","_b","countryIsoCode","COUNTRIES_MASKS","entries","reduce","MASK_AFTER_CODE_REGEXP","TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS","countries","TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS","InjectionToken","factory","TUI_COUNTRIES_MASKS","extractValueFromEvent","event","DragEvent","dataTransfer","getData","getClipboardDataText","tuiExtractValueFromEvent","TuiInputPhoneInternationalComponent","control","changeDetectorRef","iconsPath","countriesNames$","countriesMasks","options","_this","_super","staticPath","countryIsoCodeChange","EventEmitter","open","arrow","TUI_ARROW","isoToCountryCodeMapper","item","isoToCountryCode","replace","TypeError","String","__","constructor","__extends","code","inputPhoneComponent","writeValue","computedDisabled","nativeFocusableElement","primitiveTextfield","focused","countryCode","calculateMaskAfterCountryCode","getFlagPath","onPaste","TUI_NON_DIGITS_REGEXP","extractCountryCode","updateCountryIsoCode","updateValue","CHAR_PLUS","inputPhoneCountryCode","TUI_MASK_SYMBOLS_REGEXP","slice","getMaxAllowedLength","onItemClick","isoCode","detectChanges","maxLength","setNativeFocused","setDisabledState","close","onModelChange","onActiveZone","active","updateFocused","getFallbackValue","trim","emit","find","test","startsWith","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","TUI_ICONS_PATH","Observable","TUI_COUNTRIES","ViewChild","TuiInputPhoneComponent","TuiPrimitiveTextfieldComponent","Input","tuiDefaultProp","Output","HostListener","tuiPure","TuiInputPhoneInternationalComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","FIXED_DROPDOWN_CONTROLLER_PROVIDER","AbstractTuiControl","TuiInputPhoneInternationalModule","NgModule","imports","CommonModule","FormsModule","PolymorpheusModule","TuiSvgModule","TuiInputPhoneModule","TuiGroupModule","TuiPrimitiveTextfieldModule","TuiTextfieldControllerModule","TuiHintControllerModule","TuiHostedDropdownModule","TuiDataListModule","TuiArrowModule","TuiLetModule","TuiMapperPipeModule","TuiActiveZoneModule","declarations","exports","useValue"],"mappings":"ywCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAWrB,IAAIS,EAAW,WAQlB,OAPAA,EAAWR,OAAOS,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAIR,KADTO,EAAIG,UAAUF,GACOZ,OAAOK,UAAUC,eAAeC,KAAKI,EAAGP,KAAIM,EAAEN,GAAKO,EAAEP,IAE9E,OAAOM,IAEKM,MAAMC,KAAMH,YAezB,SAASI,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HxB,EAAvHyB,EAAIT,UAAUC,OAAQS,EAAID,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOtB,OAAOyB,yBAAyBL,EAAQC,GAAOC,EACrH,GAAuB,iBAAZI,S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,GAAkDmB","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 {TuiCountryIsoCode} from '@taiga-ui/i18n';\n\nimport {Country} from '../interfaces/country';\n\n/**\n * @deprecated Dont use it (will be deleted soon).\n * - Use token `TUI_COUNTRIES_MASKS` to get phone mask by country iso code\n * - Use token `TUI_COUNTRIES` to get localized country name by its iso code\n * @example\n * import {TUI_COUNTRIES, TUI_COUNTRIES_MASKS} from '@taiga-ui/kit';\n *\n * @todo TODO: remove it in 3.0\n */\nexport const COUNTRIES: Record<string, Country> = {\n [TuiCountryIsoCode.AD]: {mask: `+376###-###`, name: `Андорра`},\n [TuiCountryIsoCode.AE]: {\n mask: `+971-##-###-####`,\n name: `Объединенные Арабские Эмираты`,\n },\n [TuiCountryIsoCode.AF]: {mask: `+93##-###-####`, name: `Афганистан`},\n [TuiCountryIsoCode.AG]: {mask: `+1(268) ###-####`, name: `Антигуа и Барбуда`},\n [TuiCountryIsoCode.AI]: {mask: `+1(264) ###-####`, name: `Ангилья`},\n [TuiCountryIsoCode.AL]: {mask: `+355(###) ###-###`, name: `Албания`},\n [TuiCountryIsoCode.AM]: {mask: `+374##-###-###`, name: `Армения`},\n [TuiCountryIsoCode.AO]: {mask: `+244(###) ###-###`, name: `Ангола`},\n [TuiCountryIsoCode.AR]: {mask: `+54(###) ###-####`, name: `Аргентина`},\n [TuiCountryIsoCode.AT]: {mask: `+43(###) ###-####`, name: `Австрия`},\n [TuiCountryIsoCode.AU]: {mask: `+61#-####-####`, name: `Австралия`},\n [TuiCountryIsoCode.AW]: {mask: `+297###-####`, name: `Аруба`},\n [TuiCountryIsoCode.AZ]: {mask: `+994##-###-##-##`, name: `Азербайджан`},\n [TuiCountryIsoCode.BA]: {mask: `+387 ###-####-#`, name: `Босния и Герцеговина`},\n [TuiCountryIsoCode.BB]: {mask: `+1(246) ###-####`, name: `Барбадос`},\n [TuiCountryIsoCode.BD]: {mask: `+880##-###-###`, name: `Бангладеш`},\n [TuiCountryIsoCode.BE]: {mask: `+32(###) ###-###`, name: `Бельгия`},\n [TuiCountryIsoCode.BF]: {mask: `+226##-##-####`, name: `Буркина Фасо`},\n [TuiCountryIsoCode.BG]: {mask: `+359(###) ###-###`, name: `Болгария`},\n [TuiCountryIsoCode.BH]: {mask: `+973####-####`, name: `Бахрейн`},\n [TuiCountryIsoCode.BI]: {mask: `+257##-##-####`, name: `Бурунди`},\n [TuiCountryIsoCode.BJ]: {mask: `+229##-##-####`, name: `Бенин`},\n [TuiCountryIsoCode.BM]: {mask: `+1(441) ###-####`, name: `Бермудские острова`},\n [TuiCountryIsoCode.BN]: {mask: `+673###-####`, name: `Бруней-Даруссалам`},\n [TuiCountryIsoCode.BO]: {mask: `+591#-###-####`, name: `Боливия`},\n [TuiCountryIsoCode.BQ]: {\n mask: `+599-###-####`,\n name: `Бонайре, Синт-Эстатиус и Саба`,\n },\n [TuiCountryIsoCode.BR]: {mask: `+55(##) ####-####`, name: `Бразилия`},\n [TuiCountryIsoCode.BS]: {mask: `+1(242) ###-####`, name: `Багамские Острова`},\n [TuiCountryIsoCode.BT]: {mask: `+975#-###-###`, name: `Бутан`},\n [TuiCountryIsoCode.BW]: {mask: `+267##-###-###`, name: `Ботсвана`},\n [TuiCountryIsoCode.BY]: {mask: `+375(##) ###-##-##`, name: `Беларусь (Белоруссия)`},\n [TuiCountryIsoCode.BZ]: {mask: `+501###-####`, name: `Белиз`},\n [TuiCountryIsoCode.CA]: {mask: `+1(###) ###-####`, name: `Канада`},\n [TuiCountryIsoCode.CD]: {\n mask: `+243(###) ###-###`,\n name: `Дем. Респ. Конго (Киншаса)`,\n },\n [TuiCountryIsoCode.CF]: {\n mask: `+236-##-##-####`,\n name: `Центральноафриканская Республика`,\n },\n [TuiCountryIsoCode.CG]: {mask: `+242##-###-####`, name: `Конго (Браззавиль)`},\n [TuiCountryIsoCode.CH]: {mask: `+41##-###-####`, name: `Швейцария`},\n [TuiCountryIsoCode.CI]: {mask: `+225##-###-###`, name: `Кот-д’Ивуар`},\n [TuiCountryIsoCode.CL]: {mask: `+56#-####-####`, name: `Чили`},\n [TuiCountryIsoCode.CM]: {mask: `+237####-####`, name: `Камерун`},\n [TuiCountryIsoCode.CN]: {mask: `+86(###) ####-####`, name: `Китайская Н.Р.`},\n [TuiCountryIsoCode.CO]: {mask: `+57(###) ###-####`, name: `Колумбия`},\n [TuiCountryIsoCode.CR]: {mask: `+506####-####`, name: `Коста-Рика`},\n [TuiCountryIsoCode.CU]: {mask: `+53#-###-####`, name: `Куба`},\n [TuiCountryIsoCode.CV]: {mask: `+238(###) ##-##`, name: `Кабо-Верде`},\n [TuiCountryIsoCode.CW]: {mask: `+5999-###-####`, name: `Кюрасао`},\n [TuiCountryIsoCode.CY]: {mask: `+357##-###-###`, name: `Кипр`},\n [TuiCountryIsoCode.CZ]: {mask: `+420(###) ###-###`, name: `Чехия`},\n [TuiCountryIsoCode.DE]: {mask: `+49(###) ###-###-##`, name: `Германия`},\n [TuiCountryIsoCode.DJ]: {mask: `+253##-##-##-##`, name: `Джибути`},\n [TuiCountryIsoCode.DK]: {mask: `+45##-##-##-##`, name: `Дания`},\n [TuiCountryIsoCode.DM]: {mask: `+1(767) ###-####`, name: `Доминика`},\n [TuiCountryIsoCode.DO]: {mask: `+1(###) ###-####`, name: `Доминиканская Республика`},\n [TuiCountryIsoCode.DZ]: {mask: `+213##-###-####`, name: `Алжир`},\n [TuiCountryIsoCode.EC]: {mask: `+593##-###-####`, name: `Эквадор `},\n [TuiCountryIsoCode.EE]: {mask: `+372####-####`, name: `Эстония `},\n [TuiCountryIsoCode.EG]: {mask: `+20(###) ###-####`, name: `Египет`},\n [TuiCountryIsoCode.ER]: {mask: `+291#-###-###`, name: `Эритрея`},\n [TuiCountryIsoCode.ES]: {mask: `+34(###) ###-###`, name: `Испания`},\n [TuiCountryIsoCode.ET]: {mask: `+251##-###-####`, name: `Эфиопия`},\n [TuiCountryIsoCode.FI]: {mask: `+358(###) ###-##-##`, name: `Финляндия`},\n [TuiCountryIsoCode.FJ]: {mask: `+679##-#####`, name: `Фиджи`},\n [TuiCountryIsoCode.FK]: {mask: `+500#####`, name: `Фолклендские острова`},\n [TuiCountryIsoCode.FM]: {mask: `+691###-####`, name: `Ф.Ш. Микронезии`},\n [TuiCountryIsoCode.FR]: {mask: `+33 ## ## ## ## ##`, name: `Франция`},\n [TuiCountryIsoCode.GA]: {mask: `+241#-##-##-##`, name: `Габон`},\n [TuiCountryIsoCode.GB]: {mask: `+44##-####-####`, name: `Великобритания`},\n [TuiCountryIsoCode.GD]: {mask: `+1(473) ###-####`, name: `Гренада`},\n [TuiCountryIsoCode.GE]: {mask: `+995(###) ###-###`, name: `Грузия`},\n [TuiCountryIsoCode.GH]: {mask: `+233(###) ###-###`, name: `Гана`},\n [TuiCountryIsoCode.GI]: {mask: `+350###-#####`, name: `Гибралтар`},\n [TuiCountryIsoCode.GL]: {mask: `+299##-##-##`, name: `Гренландия`},\n [TuiCountryIsoCode.GM]: {mask: `+220(###) ##-##`, name: `Гамбия`},\n [TuiCountryIsoCode.GN]: {mask: `+224##-###-###`, name: `Гвинея`},\n [TuiCountryIsoCode.GQ]: {mask: `+240##-###-####`, name: `Экваториальная Гвинея`},\n [TuiCountryIsoCode.GR]: {mask: `+30(###) ###-####`, name: `Греция`},\n [TuiCountryIsoCode.GT]: {mask: `+502#-###-####`, name: `Гватемала`},\n [TuiCountryIsoCode.GW]: {mask: `+245#-######`, name: `Гвинея-Бисау`},\n [TuiCountryIsoCode.GY]: {mask: `+592###-####`, name: `Гайана`},\n [TuiCountryIsoCode.HK]: {mask: `+852####-####`, name: `Гонконг`},\n [TuiCountryIsoCode.HN]: {mask: `+504####-####`, name: `Гондурас`},\n [TuiCountryIsoCode.HR]: {mask: `+385##-###-###`, name: `Хорватия`},\n [TuiCountryIsoCode.HT]: {mask: `+509##-##-####`, name: `Гаити`},\n [TuiCountryIsoCode.HU]: {mask: `+36(###) ###-###`, name: `Венгрия`},\n [TuiCountryIsoCode.ID]: {mask: `+62(###) ###-##-###`, name: `Индонезия `},\n [TuiCountryIsoCode.IE]: {mask: `+353(###) ###-###`, name: `Ирландия`},\n [TuiCountryIsoCode.IL]: {mask: `+972##-###-####`, name: `Израиль`},\n [TuiCountryIsoCode.IN]: {mask: `+91(####) ###-###`, name: `Индия`},\n [TuiCountryIsoCode.IQ]: {mask: `+964(###) ###-####`, name: `Ирак`},\n [TuiCountryIsoCode.IR]: {mask: `+98(###) ###-####`, name: `Иран`},\n [TuiCountryIsoCode.IS]: {mask: `+354###-####`, name: `Исландия`},\n [TuiCountryIsoCode.IT]: {mask: `+39(###) ####-###`, name: `Италия`},\n [TuiCountryIsoCode.JM]: {mask: `+1(876) ###-####`, name: `Ямайка`},\n [TuiCountryIsoCode.JO]: {mask: `+962#-####-####`, name: `Иордания`},\n [TuiCountryIsoCode.JP]: {mask: `+81-##-####-####`, name: `Япония `},\n [TuiCountryIsoCode.KE]: {mask: `+254###-######`, name: `Кения`},\n [TuiCountryIsoCode.KG]: {mask: `+996(###) ###-###`, name: `Киргизия`},\n [TuiCountryIsoCode.KH]: {mask: `+855##-###-###`, name: `Камбоджа`},\n [TuiCountryIsoCode.KM]: {mask: `+269##-#####`, name: `Коморы`},\n [TuiCountryIsoCode.KN]: {mask: `+1(869) ###-####`, name: `Сент-Китс и Невис`},\n [TuiCountryIsoCode.KP]: {mask: `+850####-#############`, name: `Корейская НДР`},\n [TuiCountryIsoCode.KR]: {mask: `+82##-###-####`, name: `Респ. Корея`},\n [TuiCountryIsoCode.KW]: {mask: `+965####-####`, name: `Кувейт`},\n [TuiCountryIsoCode.KY]: {mask: `+1(345) ###-####`, name: `Каймановы острова`},\n [TuiCountryIsoCode.KZ]: {mask: `+7(###) ###-##-##`, name: `Казахстан`},\n [TuiCountryIsoCode.LA]: {mask: `+856##-##-###-###`, name: `Лаос`},\n [TuiCountryIsoCode.LB]: {mask: `+961##-###-###`, name: `Ливан `},\n [TuiCountryIsoCode.LC]: {mask: `+1(758) ###-####`, name: `Сент-Люсия`},\n [TuiCountryIsoCode.LI]: {mask: `+423(###) ###-####`, name: `Лихтенштейн`},\n [TuiCountryIsoCode.LK]: {mask: `+94##-###-####`, name: `Шри-Ланка`},\n [TuiCountryIsoCode.LR]: {mask: `+231##-###-###`, name: `Либерия`},\n [TuiCountryIsoCode.LS]: {mask: `+266#-###-####`, name: `Лесото`},\n [TuiCountryIsoCode.LT]: {mask: `+370(###) ##-###`, name: `Литва`},\n [TuiCountryIsoCode.LU]: {mask: `+352(###) ###-###`, name: `Люксембург`},\n [TuiCountryIsoCode.LV]: {mask: `+371##-###-###`, name: `Латвия`},\n [TuiCountryIsoCode.LY]: {mask: `+218##-###-####`, name: `Ливия`},\n [TuiCountryIsoCode.MA]: {mask: `+212##-####-###`, name: `Марокко`},\n [TuiCountryIsoCode.MC]: {mask: `+377###-###-###`, name: `Монако`},\n [TuiCountryIsoCode.MD]: {mask: `+373####-####`, name: `Молдова`},\n [TuiCountryIsoCode.ME]: {mask: `+382##-###-###`, name: `Черногория`},\n [TuiCountryIsoCode.MG]: {mask: `+261##-##-#####`, name: `Мадагаскар`},\n [TuiCountryIsoCode.MK]: {mask: `+389##-###-###`, name: `Респ. Македония`},\n [TuiCountryIsoCode.ML]: {mask: `+223##-##-####`, name: `Мали`},\n [TuiCountryIsoCode.MM]: {mask: `+95##-###-###`, name: `Бирма (Мьянма)`},\n [TuiCountryIsoCode.MN]: {mask: `+976##-##-####`, name: `Монголия`},\n [TuiCountryIsoCode.MO]: {mask: `+853####-####`, name: `Макао`},\n [TuiCountryIsoCode.MR]: {mask: `+222##-##-####`, name: `Мавритания`},\n [TuiCountryIsoCode.MS]: {mask: `+1(664) ###-####`, name: `Монтсеррат`},\n [TuiCountryIsoCode.MT]: {mask: `+356####-####`, name: `Мальта`},\n [TuiCountryIsoCode.MU]: {mask: `+230###-####`, name: `Маврикий`},\n [TuiCountryIsoCode.MV]: {mask: `+960###-####`, name: `Мальдивские острова`},\n [TuiCountryIsoCode.MW]: {mask: `+265#-####-####`, name: `Малави`},\n [TuiCountryIsoCode.MX]: {mask: `+52(###) ###-####`, name: `Мексика`},\n [TuiCountryIsoCode.MY]: {mask: `+60(###) ###-###`, name: `Малайзия`},\n [TuiCountryIsoCode.MZ]: {mask: `+258##-###-###`, name: `Мозамбик`},\n [TuiCountryIsoCode.NA]: {mask: `+264##-###-####`, name: `Намибия`},\n [TuiCountryIsoCode.NE]: {mask: `+227##-##-####`, name: `Нигер`},\n [TuiCountryIsoCode.NG]: {mask: `+234(###) ###-####`, name: `Нигерия`},\n [TuiCountryIsoCode.NI]: {mask: `+505####-####`, name: `Никарагуа`},\n [TuiCountryIsoCode.NL]: {mask: `+31##-###-####`, name: `Нидерланды`},\n [TuiCountryIsoCode.NO]: {mask: `+47(###) ##-###`, name: `Норвегия`},\n [TuiCountryIsoCode.NP]: {mask: `+977##-###-###`, name: `Непал`},\n [TuiCountryIsoCode.NZ]: {mask: `+64(###) ###-####`, name: `Новая Зеландия`},\n [TuiCountryIsoCode.OM]: {mask: `+968##-###-###`, name: `Оман`},\n [TuiCountryIsoCode.PA]: {mask: `+507###-####`, name: `Панама`},\n [TuiCountryIsoCode.PE]: {mask: `+51(###) ###-###`, name: `Перу`},\n [TuiCountryIsoCode.PF]: {\n mask: `+689##-##-##`,\n name: `Французская Полинезия (Таити)`,\n },\n [TuiCountryIsoCode.PG]: {mask: `+675(###) ##-###`, name: `Папуа-Новая Гвинея`},\n [TuiCountryIsoCode.PH]: {mask: `+63(###) ###-####`, name: `Филиппины`},\n [TuiCountryIsoCode.PK]: {mask: `+92(###) ###-####`, name: `Пакистан`},\n [TuiCountryIsoCode.PL]: {mask: `+48(###) ###-###`, name: `Польша`},\n [TuiCountryIsoCode.PT]: {mask: `+351##-###-####`, name: `Португалия`},\n [TuiCountryIsoCode.PW]: {mask: `+680###-####`, name: `Палау`},\n [TuiCountryIsoCode.PY]: {mask: `+595(###) ###-###`, name: `Парагвай`},\n [TuiCountryIsoCode.QA]: {mask: `+974####-####`, name: `Катар`},\n [TuiCountryIsoCode.RO]: {mask: `+40##-###-####`, name: `Румыния`},\n [TuiCountryIsoCode.RS]: {mask: `+381##-###-####`, name: `Сербия`},\n [TuiCountryIsoCode.RU]: {mask: `+7### ###-##-##`, name: `Россия`},\n [TuiCountryIsoCode.RW]: {mask: `+250(###) ###-###`, name: `Руанда`},\n [TuiCountryIsoCode.SA]: {mask: `+966#-####-####`, name: `Саудовская Аравия `},\n [TuiCountryIsoCode.SB]: {mask: `+677###-####`, name: `Соломоновы Острова `},\n [TuiCountryIsoCode.SC]: {mask: `+248#-###-###`, name: `Сейшелы`},\n [TuiCountryIsoCode.SD]: {mask: `+249##-###-####`, name: `Судан`},\n [TuiCountryIsoCode.SE]: {mask: `+46##-###-####`, name: `Швеция`},\n [TuiCountryIsoCode.SG]: {mask: `+65####-####`, name: `Сингапур`},\n [TuiCountryIsoCode.SH]: {mask: `+290####`, name: `Остров Святой Елены`},\n [TuiCountryIsoCode.SI]: {mask: `+386##-###-###`, name: `Словения`},\n [TuiCountryIsoCode.SK]: {mask: `+421(###) ###-###`, name: `Словакия`},\n [TuiCountryIsoCode.SL]: {mask: `+232##-######`, name: `Сьерра-Леоне`},\n [TuiCountryIsoCode.SM]: {mask: `+378####-######`, name: `Сан-Марино`},\n [TuiCountryIsoCode.SN]: {mask: `+221##-###-####`, name: `Сенегал`},\n [TuiCountryIsoCode.SO]: {mask: `+252##-###-###`, name: `Сомали`},\n [TuiCountryIsoCode.SR]: {mask: `+597###-####`, name: `Суринам `},\n [TuiCountryIsoCode.ST]: {mask: `+239##-#####`, name: `Сан-Томе и Принсипи`},\n [TuiCountryIsoCode.SV]: {mask: `+503##-##-####`, name: `Сальвадор`},\n [TuiCountryIsoCode.SX]: {mask: `+1(721) ###-####`, name: `Синт-Мартен`},\n [TuiCountryIsoCode.SY]: {\n mask: `+963##-####-###`,\n name: `Сирийская арабская республика`,\n },\n [TuiCountryIsoCode.SZ]: {mask: `+268##-##-####`, name: `Свазиленд`},\n [TuiCountryIsoCode.TC]: {mask: `+1(649) ###-####`, name: `Тёркс и Кайкос`},\n [TuiCountryIsoCode.TD]: {mask: `+235##-##-##-##`, name: `Чад`},\n [TuiCountryIsoCode.TG]: {mask: `+228##-###-###`, name: `Того`},\n [TuiCountryIsoCode.TH]: {mask: `+66##-###-####`, name: `Таиланд `},\n [TuiCountryIsoCode.TJ]: {mask: `+992##-###-####`, name: `Таджикистан`},\n [TuiCountryIsoCode.TL]: {mask: `+670###-#####`, name: `Восточный Тимор`},\n [TuiCountryIsoCode.TM]: {mask: `+993#-###-####`, name: `Туркменистан`},\n [TuiCountryIsoCode.TN]: {mask: `+216##-###-###`, name: `Тунис`},\n [TuiCountryIsoCode.TO]: {mask: `+676#####`, name: `Тонга`},\n [TuiCountryIsoCode.TR]: {mask: `+90(###) ###-####`, name: `Турция`},\n [TuiCountryIsoCode.TT]: {mask: `+1(868) ###-####`, name: `Тринидад и Тобаго`},\n [TuiCountryIsoCode.TW]: {mask: `+886#-####-####`, name: `Тайвань`},\n [TuiCountryIsoCode.TZ]: {mask: `+255##-###-####`, name: `Танзания`},\n [TuiCountryIsoCode.UA]: {mask: `+380(##) ###-##-##`, name: `Украина`},\n [TuiCountryIsoCode.UG]: {mask: `+256(###) ###-###`, name: `Уганда`},\n [TuiCountryIsoCode.US]: {mask: `+1(###) ###-####`, name: `США`},\n [TuiCountryIsoCode.UY]: {mask: `+598#-###-##-##`, name: `Уругвай`},\n [TuiCountryIsoCode.UZ]: {mask: `+998##-###-####`, name: `Узбекистан`},\n [TuiCountryIsoCode.VC]: {mask: `+1(784) ###-####`, name: `Сент-Винсент и Гренадины`},\n [TuiCountryIsoCode.VE]: {mask: `+58(###) ###-####`, name: `Венесуэла`},\n [TuiCountryIsoCode.VG]: {\n mask: `+1(284)###-####`,\n name: `Британские Виргинские острова`,\n },\n [TuiCountryIsoCode.VN]: {mask: `+84(###) ####-###`, name: `Вьетнам`},\n [TuiCountryIsoCode.VU]: {mask: `+678##-#####`, name: `Вануату `},\n [TuiCountryIsoCode.WS]: {mask: `+685##-####`, name: `Самоа`},\n [TuiCountryIsoCode.XK]: {mask: `+383##-###-###`, name: `Косово`},\n [TuiCountryIsoCode.YE]: {mask: `+967###-###-###`, name: `Йемен `},\n [TuiCountryIsoCode.ZA]: {mask: `+27##-###-####`, name: `Южно-Африканская Респ.`},\n [TuiCountryIsoCode.ZM]: {mask: `+260##-###-####`, name: `Замбия`},\n [TuiCountryIsoCode.ZW]: {mask: `+263#-######`, name: `Зимбабве`},\n};\n\n/**\n * @deprecated will be deleted soon\n * TODO: remove in 3.0 (in ivy compilation)\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function countriesMasksReducer(\n acc: Record<TuiCountryIsoCode, string>,\n [countryIsoCode, {mask}]: [string, {mask: string}],\n): Record<TuiCountryIsoCode, string> {\n acc[countryIsoCode as TuiCountryIsoCode] = mask;\n\n return acc;\n}\n\n/**\n * @deprecated will be deleted soon\n * Use token `TUI_COUNTRIES_MASKS`\n * TODO: remove in 3.0\n */\nexport const COUNTRIES_MASKS = Object.entries<Country>(COUNTRIES).reduce(\n countriesMasksReducer,\n {} as Record<TuiCountryIsoCode, string>,\n);\n\nexport const MASK_AFTER_CODE_REGEXP = /\\([#]+\\)|[#\\- ]/g;\n","/** @deprecated use `import {TuiCountryIsoCode} from '@taiga-ui/i18n'` */\nexport enum TuiCountryIsoCode {\n AD = `AD`,\n AE = `AE`,\n AF = `AF`,\n AG = `AG`,\n AI = `AI`,\n AL = `AL`,\n AM = `AM`,\n AN = `AN`,\n AO = `AO`,\n AR = `AR`,\n AT = `AT`,\n AU = `AU`,\n AW = `AW`,\n AZ = `AZ`,\n BA = `BA`,\n BB = `BB`,\n BD = `BD`,\n BE = `BE`,\n BF = `BF`,\n BG = `BG`,\n BH = `BH`,\n BI = `BI`,\n BJ = `BJ`,\n BM = `BM`,\n BN = `BN`,\n BO = `BO`,\n BR = `BR`,\n BS = `BS`,\n BT = `BT`,\n BW = `BW`,\n BY = `BY`,\n BZ = `BZ`,\n CD = `CD`,\n CF = `CF`,\n CG = `CG`,\n CH = `CH`,\n CI = `CI`,\n CL = `CL`,\n CM = `CM`,\n CN = `CN`,\n CO = `CO`,\n CR = `CR`,\n CU = `CU`,\n CV = `CV`,\n CY = `CY`,\n CZ = `CZ`,\n DE = `DE`,\n DJ = `DJ`,\n DK = `DK`,\n DM = `DM`,\n DO = `DO`,\n DZ = `DZ`,\n EC = `EC`,\n EE = `EE`,\n EG = `EG`,\n ER = `ER`,\n ES = `ES`,\n ET = `ET`,\n FI = `FI`,\n FJ = `FJ`,\n FK = `FK`,\n FM = `FM`,\n FR = `FR`,\n GA = `GA`,\n GB = `GB`,\n GD = `GD`,\n GE = `GE`,\n GH = `GH`,\n GI = `GI`,\n GL = `GL`,\n GM = `GM`,\n GN = `GN`,\n GQ = `GQ`,\n GR = `GR`,\n GT = `GT`,\n GW = `GW`,\n GY = `GY`,\n HK = `HK`,\n HN = `HN`,\n HR = `HR`,\n HT = `HT`,\n HU = `HU`,\n ID = `ID`,\n IE = `IE`,\n IL = `IL`,\n IN = `IN`,\n IQ = `IQ`,\n IR = `IR`,\n IS = `IS`,\n IT = `IT`,\n JM = `JM`,\n JO = `JO`,\n JP = `JP`,\n KE = `KE`,\n KG = `KG`,\n KH = `KH`,\n KM = `KM`,\n KN = `KN`,\n KP = `KP`,\n KR = `KR`,\n KW = `KW`,\n KY = `KY`,\n KZ = `KZ`,\n LA = `LA`,\n LB = `LB`,\n LC = `LC`,\n LI = `LI`,\n LK = `LK`,\n LR = `LR`,\n LS = `LS`,\n LT = `LT`,\n LU = `LU`,\n LV = `LV`,\n LY = `LY`,\n MA = `MA`,\n MC = `MC`,\n MD = `MD`,\n ME = `ME`,\n MG = `MG`,\n MK = `MK`,\n ML = `ML`,\n MM = `MM`,\n MN = `MN`,\n MO = `MO`,\n MR = `MR`,\n MS = `MS`,\n MT = `MT`,\n MU = `MU`,\n MV = `MV`,\n MW = `MW`,\n MX = `MX`,\n MY = `MY`,\n MZ = `MZ`,\n NA = `NA`,\n NE = `NE`,\n NG = `NG`,\n NI = `NI`,\n NL = `NL`,\n NO = `NO`,\n NP = `NP`,\n NZ = `NZ`,\n OM = `OM`,\n PA = `PA`,\n PE = `PE`,\n PF = `PF`,\n PG = `PG`,\n PH = `PH`,\n PK = `PK`,\n PL = `PL`,\n PT = `PT`,\n PW = `PW`,\n PY = `PY`,\n QA = `QA`,\n RO = `RO`,\n RS = `RS`,\n RU = `RU`,\n RW = `RW`,\n SA = `SA`,\n SB = `SB`,\n SC = `SC`,\n SD = `SD`,\n SE = `SE`,\n SG = `SG`,\n SH = `SH`,\n SI = `SI`,\n SK = `SK`,\n SL = `SL`,\n SM = `SM`,\n SN = `SN`,\n SO = `SO`,\n SR = `SR`,\n ST = `ST`,\n SV = `SV`,\n SY = `SY`,\n SZ = `SZ`,\n TC = `TC`,\n TD = `TD`,\n TG = `TG`,\n TH = `TH`,\n TJ = `TJ`,\n TL = `TL`,\n TM = `TM`,\n TN = `TN`,\n TO = `TO`,\n TR = `TR`,\n TT = `TT`,\n TW = `TW`,\n TZ = `TZ`,\n UA = `UA`,\n UG = `UG`,\n UY = `UY`,\n UZ = `UZ`,\n VC = `VC`,\n VE = `VE`,\n VG = `VG`,\n VN = `VN`,\n VU = `VU`,\n WS = `WS`,\n YE = `YE`,\n ZA = `ZA`,\n ZM = `ZM`,\n ZW = `ZW`,\n US = `US`,\n CA = `CA`,\n}\n","import {InjectionToken, ValueProvider} from '@angular/core';\nimport {TuiCountryIsoCode} from '@taiga-ui/i18n';\n\nexport interface TuiInputPhoneInternationalOptions {\n readonly countries: readonly TuiCountryIsoCode[];\n readonly countryIsoCode: TuiCountryIsoCode;\n}\n\nexport const TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS: TuiInputPhoneInternationalOptions =\n {\n countries: [],\n countryIsoCode: TuiCountryIsoCode.RU,\n };\n\nexport const TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS =\n new InjectionToken<TuiInputPhoneInternationalOptions>(\n `Default parameters for input phone international component`,\n {\n factory: () => TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS,\n },\n );\n\nexport const tuiInputPhoneInternationalOptionsProvider: (\n options: Partial<TuiInputPhoneInternationalOptions>,\n) => ValueProvider = (options: Partial<TuiInputPhoneInternationalOptions>) => ({\n provide: TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS,\n useValue: {...TUI_INPUT_PHONE_INTERNATIONAL_DEFAULT_OPTIONS, ...options},\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiCountryIsoCode} from '@taiga-ui/i18n';\n\nimport {COUNTRIES_MASKS} from '../const/countries';\n\nexport const TUI_COUNTRIES_MASKS: InjectionToken<Record<TuiCountryIsoCode, string>> =\n new InjectionToken<Record<TuiCountryIsoCode, string>>(`Countries masks`, {\n factory: () => COUNTRIES_MASKS,\n });\n","import {getClipboardDataText} from '@taiga-ui/cdk';\n\n/**\n * @deprecated: use {@link tuiExtractValueFromEvent} instead\n */\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function extractValueFromEvent(event: DragEvent | ClipboardEvent): string {\n // TODO: iframe warning\n return event instanceof DragEvent\n ? event.dataTransfer?.getData(`text/plain`) || ``\n : getClipboardDataText(event);\n}\n\nexport const tuiExtractValueFromEvent = extractValueFromEvent;\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n EventEmitter,\n forwardRef,\n HostListener,\n Inject,\n Input,\n Optional,\n Output,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n CHAR_PLUS,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiMapper,\n tuiPure,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\nimport {\n TUI_ICONS_PATH,\n TUI_MASK_SYMBOLS_REGEXP,\n TUI_NON_DIGITS_REGEXP,\n TuiPrimitiveTextfieldComponent,\n TuiSizeL,\n TuiSizeM,\n TuiSizeS,\n} from '@taiga-ui/core';\nimport {TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {TUI_ARROW} from '@taiga-ui/kit/components/arrow';\nimport {TuiInputPhoneComponent} from '@taiga-ui/kit/components/input-phone';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {TUI_COUNTRIES} from '@taiga-ui/kit/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\nimport {MASK_AFTER_CODE_REGEXP} from './const/countries';\nimport {\n TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS,\n TuiInputPhoneInternationalOptions,\n} from './input-phone-international.options';\nimport {TUI_COUNTRIES_MASKS} from './tokens/countries-masks';\nimport {extractValueFromEvent} from './utils/extract-value-from-event';\n\n// @dynamic\n@Component({\n selector: `tui-input-phone-international`,\n templateUrl: `./input-phone-international.template.html`,\n styleUrls: [`./input-phone-international.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputPhoneInternationalComponent),\n },\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n ],\n})\nexport class TuiInputPhoneInternationalComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiInputPhoneComponent)\n private readonly inputPhoneComponent?: TuiInputPhoneComponent;\n\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly primitiveTextfield?: TuiPrimitiveTextfieldComponent;\n\n private readonly staticPath: string | null = null;\n\n @Input(`countryIsoCode`)\n @tuiDefaultProp()\n set isoCode(code: TuiCountryIsoCode) {\n this.inputPhoneComponent?.writeValue(this.value);\n this.countryIsoCode = code;\n }\n\n @Input()\n countries = this.options.countries;\n\n @Output()\n readonly countryIsoCodeChange = new EventEmitter<TuiCountryIsoCode>();\n\n countryIsoCode = this.options.countryIsoCode;\n\n open = false;\n\n readonly arrow: PolymorpheusContent<\n TuiContextWithImplicit<TuiSizeS | TuiSizeM | TuiSizeL>\n > = TUI_ARROW;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_ICONS_PATH)\n iconsPath: TuiStringHandler<string>,\n @Inject(TUI_COUNTRIES)\n readonly countriesNames$: Observable<Record<TuiCountryIsoCode, string>>,\n @Inject(TUI_COUNTRIES_MASKS)\n readonly countriesMasks: Record<TuiCountryIsoCode, string>,\n @Inject(TUI_INPUT_PHONE_INTERNATIONAL_OPTIONS)\n private readonly options: TuiInputPhoneInternationalOptions,\n ) {\n super(control, changeDetectorRef);\n\n this.staticPath = iconsPath(`tuiIcon`).replace(`tuiIcon.svg#tuiIcon`, ``);\n }\n\n get nativeFocusableElement(): HTMLElement | null {\n return this.inputPhoneComponent && !this.computedDisabled\n ? this.inputPhoneComponent.nativeFocusableElement\n : null;\n }\n\n get focused(): boolean {\n return (\n (!!this.primitiveTextfield && this.primitiveTextfield.focused) ||\n (!!this.inputPhoneComponent && this.inputPhoneComponent.focused)\n );\n }\n\n get inputPhoneCountryCode(): string {\n return this.isoToCountryCode(this.countryIsoCode);\n }\n\n get phoneMaskAfterCountryCode(): string {\n const countryCode = this.isoToCountryCode(this.countryIsoCode);\n\n return this.calculateMaskAfterCountryCode(\n this.countriesMasks[this.countryIsoCode],\n countryCode,\n );\n }\n\n get countryFlagPath(): string {\n return this.getFlagPath(this.countryIsoCode);\n }\n\n @HostListener(`paste.capture.prevent.stop`, [`$event`])\n @HostListener(`drop.capture.prevent.stop`, [`$event`])\n onPaste(event: ClipboardEvent | DragEvent): void {\n let value = extractValueFromEvent(event).replace(TUI_NON_DIGITS_REGEXP, ``);\n const countryIsoCode = this.extractCountryCode(value);\n\n if (!countryIsoCode) {\n this.updateValue(\n `${this.inputPhoneCountryCode}${value}`\n .replace(TUI_MASK_SYMBOLS_REGEXP, ``)\n .slice(0, this.getMaxAllowedLength(this.countryIsoCode)),\n );\n\n return;\n }\n\n if (countryIsoCode === TuiCountryIsoCode.RU) {\n value = value.replace(/^8/, `7`);\n }\n\n this.updateCountryIsoCode(countryIsoCode);\n this.updateValue(`${CHAR_PLUS}${value}`);\n }\n\n readonly isoToCountryCodeMapper: TuiMapper<TuiCountryIsoCode, string> = item =>\n this.isoToCountryCode(item);\n\n getFlagPath(code: TuiCountryIsoCode): string {\n return `${this.staticPath}${code}.png`;\n }\n\n onItemClick(isoCode: TuiCountryIsoCode): void {\n this.open = false;\n this.updateCountryIsoCode(isoCode);\n // recalculates mask inside inputPhone to prevent isoCode conflict\n this.changeDetectorRef.detectChanges();\n\n const maxLength = this.getMaxAllowedLength(isoCode);\n\n if (this.value.length > maxLength) {\n this.updateValue(this.value.slice(0, maxLength));\n }\n\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement);\n }\n }\n\n setDisabledState(): void {\n super.setDisabledState();\n this.close();\n }\n\n isoToCountryCode(isoCode: TuiCountryIsoCode): string {\n return this.countriesMasks[isoCode].replace(MASK_AFTER_CODE_REGEXP, ``);\n }\n\n onModelChange(value: string): void {\n this.updateValue(value);\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n protected getFallbackValue(): string {\n return ``;\n }\n\n @tuiPure\n private calculateMaskAfterCountryCode(mask: string, countryCode: string): string {\n return mask.replace(countryCode, ``).trim();\n }\n\n private close(): void {\n this.open = false;\n }\n\n private getMaxAllowedLength(isoCode: TuiCountryIsoCode): number {\n return this.countriesMasks[isoCode].replace(/[()\\- ]/g, ``).length;\n }\n\n private updateCountryIsoCode(code: TuiCountryIsoCode): void {\n this.countryIsoCode = code;\n this.countryIsoCodeChange.emit(code);\n }\n\n private extractCountryCode(value: string): TuiCountryIsoCode | undefined {\n return this.countries.find(countryIsoCode => {\n const ruCodeTest =\n countryIsoCode === TuiCountryIsoCode.RU &&\n /^[7 | 8]/.test(value) &&\n /^(?!880[1-9 ])/.test(value) &&\n value.length + 1 === this.getMaxAllowedLength(TuiCountryIsoCode.RU);\n\n return (\n ruCodeTest ||\n (value.startsWith(\n this.isoToCountryCode(countryIsoCode).replace(CHAR_PLUS, ``),\n ) &&\n value.length + 1 === this.getMaxAllowedLength(countryIsoCode))\n );\n });\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule} from '@angular/forms';\nimport {TuiActiveZoneModule, TuiLetModule, TuiMapperPipeModule} from '@taiga-ui/cdk';\nimport {\n TuiDataListModule,\n TuiGroupModule,\n TuiHintControllerModule,\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiSvgModule,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TuiArrowModule} from '@taiga-ui/kit/components/arrow';\nimport {TuiInputPhoneModule} from '@taiga-ui/kit/components/input-phone';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiInputPhoneInternationalComponent} from './input-phone-international.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n PolymorpheusModule,\n TuiSvgModule,\n TuiInputPhoneModule,\n TuiGroupModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldControllerModule,\n TuiHintControllerModule,\n TuiHostedDropdownModule,\n TuiDataListModule,\n TuiArrowModule,\n TuiLetModule,\n TuiMapperPipeModule,\n TuiActiveZoneModule,\n ],\n declarations: [TuiInputPhoneInternationalComponent],\n exports: [TuiInputPhoneInternationalComponent],\n})\nexport class TuiInputPhoneInternationalModule {}\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("rxjs"),require("@angular/common"),require("@taiga-ui/kit/providers"),require("rxjs/operators"),require("@taiga-ui/kit/directives"),require("angular2-text-mask")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-phone",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","rxjs","@angular/common","@taiga-ui/kit/providers","rxjs/operators","@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-phone"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e.rxjs,e.ng.common,e["taiga-ui"].kit.providers,e.rxjs.operators,e["taiga-ui"].kit.directives,e.angular2TextMask)}(this,(function(e,t,n,o,r,i,a,u,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)}var h=function(){return(h=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};function f(e,t,n,o){var r,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(a=(i<3?r(a):i>3?r(t,n,a):r(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function y(e,t){return function(n,o){t(n,o,e)}}Object.create;function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var o,r,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(o=i.next()).done;)a.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return a}Object.create;var v={phoneMaskAfterCountryCode:"### ###-##-##",allowText:!1,countryCode:"+7"},m=new t.InjectionToken("Default parameters for input phone component",{factory:function(){return v}}),C=new t.InjectionToken("A stream of selection changes"),b=[o.TuiDestroyService,u.FIXED_DROPDOWN_CONTROLLER_PROVIDER,{provide:o.AbstractTuiControl,useExisting:t.forwardRef((function(){return x}))},{provide:o.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return x}))},{provide:r.TUI_DATA_LIST_HOST,useExisting:t.forwardRef((function(){return x}))},{provide:C,deps:[o.TuiDestroyService,a.DOCUMENT],useFactory:T}];function T(e,t){return i.fromEvent(t,"selectionchange").pipe(s.windowToggle(i.merge(i.fromEvent(t,"mouseup"),i.fromEvent(t,"keydown")),(function(){return i.fromEvent(t,"mousedown")})),s.flatMap((function(e){return e.pipe(s.startWith(null))})),s.takeUntil(e))}var x=function(e){function a(n,o,r,i,a){var u=e.call(this,n,o)||this;return u.textfieldCleaner=i,u.options=a,u.phoneMaskAfterCountryCode=u.options.phoneMaskAfterCountryCode,u.allowText=u.options.allowText,u.search="",u.searchChange=new t.EventEmitter,u.textMaskOptions={mask:function(e){return!(u.allowText&&!u.value&&O(e)&&"+"!==e)&&function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(g(arguments[t]));return e}(u.countryCode.split(""),[" "],u.phoneMaskAfterCountryCode.replace(/[^#\- ()]+/g,"").split("").map((function(e){return"#"===e?/\d/:e})))},pipe:function(e){return u.allowText?e:""===e&&u.focused&&!u.readOnly?u.countryCode+" ":e.replace(/-$/,"")},guide:!1},u.countryCode=u.options.countryCode,u.open=!1,r.subscribe((function(){u.setCaretPosition()})),u}return d(a,e),Object.defineProperty(a.prototype,"countryCodeSetter",{set:function(e){this.updateValueWithNewCountryCode(e),this.countryCode=e},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"nativeFocusableElement",{get:function(){return!this.textfield||this.computedDisabled?null:this.textfield.nativeFocusableElement},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"focused",{get:function(){return o.isNativeFocused(this.nativeFocusableElement)||!!this.dropdown&&this.dropdown.focused},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"computedValue",{get:function(){return this.value?r.formatPhone(this.value,this.countryCode,this.phoneMaskAfterCountryCode):this.search||""},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"inputMode",{get:function(){return this.allowText?"text":"numeric"},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"canOpen",{get:function(){return this.interactive&&!!this.datalist},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"canClean",{get:function(){return this.computedValue!==this.countryCode&&this.textfieldCleaner.cleaner},enumerable:!0,configurable:!0}),a.prototype.onHovered=function(e){this.updateHovered(e)},a.prototype.onDrop=function(e){e.dataTransfer&&(this.setValueWithoutPrefix(e.dataTransfer.getData("text")),e.preventDefault())},a.prototype.onPaste=function(e){this.setValueWithoutPrefix(o.getClipboardDataText(e))},a.prototype.onActiveZone=function(e){this.updateFocused(e),!e||this.computedValue||this.readOnly||this.allowText?(this.computedValue===this.countryCode||null!==this.search&&isNaN(parseInt(this.search.replace(r.TUI_MASK_SYMBOLS_REGEXP,""),10)))&&this.updateSearch(""):this.updateSearch(this.countryCode)},a.prototype.onBackspace=function(e){var t=e.target;(t.selectionStart||0)<=this.nonRemovableLength&&t.selectionStart===t.selectionEnd&&e.preventDefault()},a.prototype.onValueChange=function(e){var t=O(e=""===e?this.countryCode:e)?e:e.replace(r.TUI_MASK_SYMBOLS_REGEXP,"");this.updateSearch(t),this.updateValue(t===this.countryCode||O(t)?"":t),this.open=!0},a.prototype.handleOption=function(e){this.focusInput(),this.updateValue(e),this.updateSearch(""),this.open=!1},a.prototype.setDisabledState=function(){e.prototype.setDisabledState.call(this),this.open=!1},a.prototype.writeValue=function(t){e.prototype.writeValue.call(this,t),this.updateSearch("")},a.prototype.getFallbackValue=function(){return""},Object.defineProperty(a.prototype,"caretIsInForbiddenArea",{get:function(){var e=this.nativeFocusableElement;if(!e)return!1;var t=e.selectionStart,n=e.selectionEnd;return o.isNativeFocused(e)&&null!==t&&t<this.nonRemovableLength&&t===n},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"nonRemovableLength",{get:function(){return this.isTextValue?0:this.countryCode.length+1},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"maxPhoneLength",{get:function(){return this.countryCode.length+this.phoneMaskAfterCountryCode.replace(/[^#]+/g,"").length},enumerable:!0,configurable:!0}),Object.defineProperty(a.prototype,"isTextValue",{get:function(){return!!this.search&&O(this.search)},enumerable:!0,configurable:!0}),a.prototype.setCaretPosition=function(){this.caretIsInForbiddenArea&&this.nativeFocusableElement&&this.nativeFocusableElement.setSelectionRange(this.nonRemovableLength,this.nonRemovableLength)},a.prototype.setValueWithoutPrefix=function(e){this.readOnly||(this.open=!0,this.updateValue(this.cleanValue(e)),this.updateSearch(this.allowText&&O(e)?e:e.replace(r.TUI_MASK_SYMBOLS_REGEXP,"")))},a.prototype.cleanValue=function(e){var t="+7"===this.countryCode?/^7|^8/:new RegExp(this.countryCode.slice(1)),n=this.value.length>this.countryCode.length&&this.value.length<this.maxPhoneLength,o=e.replace(r.TUI_MASK_SYMBOLS_REGEXP,"").length,i=e.replace(/[^0-9]+/g,""),a=String(getSelection()).length;return n&&0===a?(""+this.value+i).slice(0,this.maxPhoneLength):o<this.maxPhoneLength-1?(""+this.countryCode+i).slice(0,this.maxPhoneLength):(""+this.countryCode+i.replace(t,"")).slice(0,this.maxPhoneLength)},a.prototype.focusInput=function(){this.nativeFocusableElement&&o.setNativeFocused(this.nativeFocusableElement,!0,!0)},a.prototype.updateSearch=function(e){this.search!==e&&(this.search=e,this.searchChange.emit(e))},a.prototype.updateValueWithNewCountryCode=function(e){this.isTextValue||this.updateValue(this.value.replace(this.countryCode,e))},a.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:i.Observable,decorators:[{type:t.Inject,args:[C]}]},{type:r.TuiTextfieldCleanerDirective,decorators:[{type:t.Inject,args:[r.TUI_TEXTFIELD_CLEANER]}]},{type:void 0,decorators:[{type:t.Inject,args:[m]}]}]},f([t.ViewChild(r.TuiHostedDropdownComponent)],a.prototype,"dropdown",void 0),f([t.ViewChild(r.TuiPrimitiveTextfieldComponent)],a.prototype,"textfield",void 0),f([t.Input("countryCode"),o.tuiRequiredSetter()],a.prototype,"countryCodeSetter",null),f([t.Input(),o.tuiDefaultProp()],a.prototype,"phoneMaskAfterCountryCode",void 0),f([t.Input(),o.tuiDefaultProp()],a.prototype,"allowText",void 0),f([t.Input(),o.tuiDefaultProp()],a.prototype,"search",void 0),f([t.Output()],a.prototype,"searchChange",void 0),f([t.ContentChild(r.TuiDataListDirective,{read:t.TemplateRef})],a.prototype,"datalist",void 0),a=f([t.Component({selector:"tui-input-phone",template:'<tui-hosted-dropdown\n class="t-hosted"\n [canOpen]="canOpen"\n [content]="datalist || \'\'"\n [(open)]="open"\n (tuiActiveZoneChange)="onActiveZone($event)"\n>\n <tui-primitive-textfield\n tuiValueAccessor\n tuiTextfieldType="tel"\n class="t-textfield"\n [tuiTextfieldInputMode]="inputMode"\n [pseudoHovered]="pseudoHovered"\n [pseudoFocused]="computedFocused"\n [invalid]="computedInvalid"\n [nativeId]="nativeId"\n [readOnly]="readOnly"\n [disabled]="computedDisabled"\n [focusable]="focusable"\n [textMask]="textMaskOptions"\n [value]="computedValue"\n [tuiTextfieldCleaner]="canClean"\n (valueChange)="onValueChange($event)"\n (hoveredChange)="onHovered($event)"\n (drop)="onDrop($event)"\n (keydown.backspace)="onBackspace($event)"\n (paste.prevent)="onPaste($event)"\n >\n <ng-content></ng-content>\n <ng-content\n select="input"\n ngProjectAs="input"\n ></ng-content>\n </tui-primitive-textfield>\n</tui-hosted-dropdown>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:b,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}"]}),y(0,t.Optional()),y(0,t.Self()),y(0,t.Inject(n.NgControl)),y(1,t.Inject(t.ChangeDetectorRef)),y(2,t.Inject(C)),y(3,t.Inject(r.TUI_TEXTFIELD_CLEANER)),y(4,t.Inject(m))],a)}(o.AbstractTuiControl);function O(e){return isNaN(parseInt(e.replace(r.TUI_MASK_SYMBOLS_REGEXP,""),10))}var P=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}var o;return d(n,e),o=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){this.input=e},n.prototype.ngDoCheck=function(){this.input&&(this.input.type="tel",this.input.inputMode=this.host.inputMode)},n=o=f([t.Directive({selector:"tui-input-phone",providers:[{provide:r.TUI_TEXTFIELD_HOST,useExisting:t.forwardRef((function(){return o}))}]})],n)}(r.TuiAbstractTextfieldHost),I=function(){function e(){}return e=f([t.NgModule({imports:[p.TextMaskModule,r.TuiPrimitiveTextfieldModule,r.TuiHostedDropdownModule,r.TuiTextfieldControllerModule,o.TuiActiveZoneModule,c.TuiValueAccessorModule],declarations:[x,P],exports:[x,P,r.TuiTextfieldComponent]})],e)}();e.INPUT_PHONE_PROVIDERS=b,e.SELECTION_STREAM=C,e.TUI_INPUT_PHONE_DEFAULT_OPTIONS=v,e.TUI_INPUT_PHONE_OPTIONS=m,e.TuiInputPhoneComponent=x,e.TuiInputPhoneDirective=P,e.TuiInputPhoneModule=I,e.selectionStreamFactory=T,e.tuiInputPhoneOptionsProvider=function(e){return{provide:m,useValue:h(h({},v),e)}},Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-phone.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-phone/input-phone.options.ts","ng://@taiga-ui/kit/components/input-phone/input-phone.providers.ts","ng://@taiga-ui/kit/components/input-phone/input-phone.component.ts","ng://@taiga-ui/kit/components/input-phone/input-phone.directive.ts","ng://@taiga-ui/kit/components/input-phone/input-phone.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","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","TUI_INPUT_PHONE_DEFAULT_OPTIONS","phoneMaskAfterCountryCode","allowText","countryCode","TUI_INPUT_PHONE_OPTIONS","InjectionToken","factory","SELECTION_STREAM","INPUT_PHONE_PROVIDERS","TuiDestroyService","FIXED_DROPDOWN_CONTROLLER_PROVIDER","provide","AbstractTuiControl","useExisting","forwardRef","TuiInputPhoneComponent","TUI_FOCUSABLE_ITEM_ACCESSOR","TUI_DATA_LIST_HOST","deps","DOCUMENT","useFactory","selectionStreamFactory","destroy$","documentRef","fromEvent","pipe","windowToggle","merge","flatMap","windowed$","startWith","takeUntil","control","changeDetectorRef","selection$","textfieldCleaner","options","_this","_super","search","searchChange","EventEmitter","textMaskOptions","mask","isText","concat","split","replace","map","item","focused","readOnly","guide","open","subscribe","setCaretPosition","updateValueWithNewCountryCode","textfield","computedDisabled","nativeFocusableElement","isNativeFocused","dropdown","formatPhone","interactive","datalist","computedValue","cleaner","onHovered","hovered","updateHovered","onDrop","event","dataTransfer","setValueWithoutPrefix","getData","preventDefault","onPaste","getClipboardDataText","onActiveZone","active","updateFocused","isNaN","parseInt","TUI_MASK_SYMBOLS_REGEXP","updateSearch","onBackspace","selectionStart","nonRemovableLength","selectionEnd","onValueChange","parsed","updateValue","handleOption","focusInput","setDisabledState","writeValue","getFallbackValue","isTextValue","caretIsInForbiddenArea","setSelectionRange","cleanValue","reg","RegExp","slice","oldValueExist","maxPhoneLength","newValueLength","cleanNewValue","selectionLength","getSelection","setNativeFocused","emit","newCountryCode","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","Observable","TuiTextfieldCleanerDirective","TUI_TEXTFIELD_CLEANER","ViewChild","TuiHostedDropdownComponent","TuiPrimitiveTextfieldComponent","Input","tuiRequiredSetter","tuiDefaultProp","Output","ContentChild","TuiDataListDirective","read","TemplateRef","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","TuiInputPhoneDirective","host","process","input","ngDoCheck","inputMode","TuiInputPhoneDirective_1","Directive","TUI_TEXTFIELD_HOST","TuiAbstractTextfieldHost","TuiInputPhoneModule","NgModule","imports","TextMaskModule","TuiPrimitiveTextfieldModule","TuiHostedDropdownModule","TuiTextfieldControllerModule","TuiActiveZoneModule","TuiValueAccessorModule","declarations","exports","TuiTextfieldComponent","useValue"],"mappings":"ogCAgBA,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,GA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sI,cAAA,SAAc3F,GACVpC,KAAKoL,KAAKrD,cAAc3F,IAG5B+I,EAAA1L,UAAA4L,QAAA,SAAQC,GACJtL,KAAKsL,MAAQA,GAGjBH,EAAA1L,UAAA8L,UAAA,WACSvL,KAAKsL,QAIVtL,KAAKsL,MAAM9B,KAAO,MAClBxJ,KAAKsL,MAAME,UAAYxL,KAAKoL,KAAKI,YAxB5BL,EAAsBM,EAAA7K,EAAA,CATlC8K,EAAAA,UAAU,CACPb,SAAU,kBACVK,UAAW,CACP,CACIjI,QAAS0I,EAAAA,mBACTxI,YAAaC,EAAAA,YAAW,WAAM,OAAAqI,UAI7BN,IACDS,EAAAA,uCCWZ,SAAAC,KAAkC,OAArBA,EAAmBjL,EAAA,CAZ/BkL,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,eACAC,EAAAA,4BACAC,EAAAA,wBACAC,EAAAA,6BACAC,EAAAA,oBACAC,EAAAA,wBAEJC,aAAc,CAACjJ,EAAwB8H,GACvCoB,QAAS,CAAClJ,EAAwB8H,EAAwBqB,EAAAA,0BAEjDX,6PJHQ,SAACnH,GAA2C,MAAA,CAC7DzB,QAASP,EACT+J,SAAQtM,EAAAA,EAAA,GAAMmC,GAAoCoC","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';\n\nexport interface TuiInputPhoneOptions {\n readonly phoneMaskAfterCountryCode: string;\n readonly allowText: boolean;\n readonly countryCode: string;\n}\n\nexport const TUI_INPUT_PHONE_DEFAULT_OPTIONS: TuiInputPhoneOptions = {\n phoneMaskAfterCountryCode: `### ###-##-##`,\n allowText: false,\n countryCode: `+7`,\n};\n\nexport const TUI_INPUT_PHONE_OPTIONS = new InjectionToken<TuiInputPhoneOptions>(\n `Default parameters for input phone component`,\n {\n factory: () => TUI_INPUT_PHONE_DEFAULT_OPTIONS,\n },\n);\n\nexport const tuiInputPhoneOptionsProvider: (\n options: Partial<TuiInputPhoneOptions>,\n) => ValueProvider = (options: Partial<TuiInputPhoneOptions>) => ({\n provide: TUI_INPUT_PHONE_OPTIONS,\n useValue: {...TUI_INPUT_PHONE_DEFAULT_OPTIONS, ...options},\n});\n","import {DOCUMENT} from '@angular/common';\nimport {forwardRef, InjectionToken} from '@angular/core';\nimport {\n AbstractTuiControl,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TuiDestroyService,\n} from '@taiga-ui/cdk';\nimport {TUI_DATA_LIST_HOST} from '@taiga-ui/core';\nimport {FIXED_DROPDOWN_CONTROLLER_PROVIDER} from '@taiga-ui/kit/providers';\nimport {fromEvent, merge, Observable} from 'rxjs';\nimport {flatMap, startWith, takeUntil, windowToggle} from 'rxjs/operators';\n\nimport {TuiInputPhoneComponent} from './input-phone.component';\n\nexport const SELECTION_STREAM = new InjectionToken<Observable<unknown>>(\n `A stream of selection changes`,\n);\nexport const INPUT_PHONE_PROVIDERS = [\n TuiDestroyService,\n FIXED_DROPDOWN_CONTROLLER_PROVIDER,\n {\n provide: AbstractTuiControl,\n useExisting: forwardRef(() => TuiInputPhoneComponent),\n },\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputPhoneComponent),\n },\n {\n provide: TUI_DATA_LIST_HOST,\n useExisting: forwardRef(() => TuiInputPhoneComponent),\n },\n {\n provide: SELECTION_STREAM,\n deps: [TuiDestroyService, DOCUMENT],\n useFactory: selectionStreamFactory,\n },\n];\n\n// eslint-disable-next-line @typescript-eslint/naming-convention\nexport function selectionStreamFactory(\n destroy$: Observable<unknown>,\n documentRef: Document,\n): Observable<unknown> {\n return fromEvent(documentRef, `selectionchange`).pipe(\n windowToggle(\n merge(fromEvent(documentRef, `mouseup`), fromEvent(documentRef, `keydown`)),\n () => fromEvent(documentRef, `mousedown`),\n ),\n flatMap(windowed$ => windowed$.pipe(startWith(null))),\n takeUntil(destroy$),\n );\n}\n","import {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n ContentChild,\n EventEmitter,\n Inject,\n Input,\n Optional,\n Output,\n Self,\n TemplateRef,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n AbstractTuiControl,\n getClipboardDataText,\n isNativeFocused,\n setNativeFocused,\n TuiActiveZoneDirective,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiInputModeT,\n tuiRequiredSetter,\n} from '@taiga-ui/cdk';\nimport {\n formatPhone,\n TUI_MASK_SYMBOLS_REGEXP,\n TUI_TEXTFIELD_CLEANER,\n TuiDataListDirective,\n TuiDataListHost,\n TuiHostedDropdownComponent,\n TuiPrimitiveTextfieldComponent,\n TuiTextfieldCleanerDirective,\n TuiTextMaskOptions,\n} from '@taiga-ui/core';\nimport {TextMaskConfig} from 'angular2-text-mask';\nimport {Observable} from 'rxjs';\n\nimport {TUI_INPUT_PHONE_OPTIONS, TuiInputPhoneOptions} from './input-phone.options';\nimport {INPUT_PHONE_PROVIDERS, SELECTION_STREAM} from './input-phone.providers';\n\n// @dynamic\n@Component({\n selector: `tui-input-phone`,\n templateUrl: `./input-phone.template.html`,\n styleUrls: [`./input-phone.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: INPUT_PHONE_PROVIDERS,\n})\nexport class TuiInputPhoneComponent\n extends AbstractTuiControl<string>\n implements TuiFocusableElementAccessor, TuiDataListHost<string>\n{\n @ViewChild(TuiHostedDropdownComponent)\n private readonly dropdown?: TuiHostedDropdownComponent;\n\n @ViewChild(TuiPrimitiveTextfieldComponent)\n private readonly textfield?: TuiPrimitiveTextfieldComponent;\n\n @Input(`countryCode`)\n @tuiRequiredSetter()\n set countryCodeSetter(countryCode: string) {\n this.updateValueWithNewCountryCode(countryCode);\n this.countryCode = countryCode;\n }\n\n @Input()\n @tuiDefaultProp()\n phoneMaskAfterCountryCode = this.options.phoneMaskAfterCountryCode;\n\n @Input()\n @tuiDefaultProp()\n allowText = this.options.allowText;\n\n @Input()\n @tuiDefaultProp()\n search = ``;\n\n @Output()\n readonly searchChange = new EventEmitter<string>();\n\n @ContentChild(TuiDataListDirective, {read: TemplateRef})\n readonly datalist?: TemplateRef<TuiContextWithImplicit<TuiActiveZoneDirective>>;\n\n readonly textMaskOptions: TextMaskConfig = {\n mask: value =>\n this.allowText && !this.value && isText(value) && value !== `+`\n ? false\n : [\n ...this.countryCode.split(``),\n ` `,\n ...this.phoneMaskAfterCountryCode\n .replace(/[^#\\- ()]+/g, ``)\n .split(``)\n .map(item => (item === `#` ? /\\d/ : item)),\n ],\n pipe: value => {\n if (this.allowText) {\n return value;\n }\n\n return value === `` && this.focused && !this.readOnly\n ? `${this.countryCode} `\n : value.replace(/-$/, ``);\n },\n guide: false,\n } as TuiTextMaskOptions as unknown as TextMaskConfig;\n\n countryCode = this.options.countryCode;\n\n open = false;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(SELECTION_STREAM)\n selection$: Observable<unknown>,\n @Inject(TUI_TEXTFIELD_CLEANER)\n private readonly textfieldCleaner: TuiTextfieldCleanerDirective,\n @Inject(TUI_INPUT_PHONE_OPTIONS)\n private readonly options: TuiInputPhoneOptions,\n ) {\n super(control, changeDetectorRef);\n\n selection$.subscribe(() => {\n this.setCaretPosition();\n });\n }\n\n get nativeFocusableElement(): HTMLInputElement | null {\n return !this.textfield || this.computedDisabled\n ? null\n : this.textfield.nativeFocusableElement;\n }\n\n get focused(): boolean {\n return (\n isNativeFocused(this.nativeFocusableElement) ||\n (!!this.dropdown && this.dropdown.focused)\n );\n }\n\n get computedValue(): string {\n return this.value\n ? formatPhone(this.value, this.countryCode, this.phoneMaskAfterCountryCode)\n : this.search || ``;\n }\n\n get inputMode(): TuiInputModeT {\n return this.allowText ? `text` : `numeric`;\n }\n\n get canOpen(): boolean {\n return this.interactive && !!this.datalist;\n }\n\n get canClean(): boolean {\n return this.computedValue !== this.countryCode && this.textfieldCleaner.cleaner;\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n onDrop(event: DragEvent): void {\n if (!event.dataTransfer) {\n return;\n }\n\n this.setValueWithoutPrefix(event.dataTransfer.getData(`text`));\n event.preventDefault();\n }\n\n onPaste(event: Event): void {\n this.setValueWithoutPrefix(getClipboardDataText(event as ClipboardEvent));\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n\n if (active && !this.computedValue && !this.readOnly && !this.allowText) {\n this.updateSearch(this.countryCode);\n\n return;\n }\n\n if (\n this.computedValue === this.countryCode ||\n (this.search !== null &&\n isNaN(parseInt(this.search.replace(TUI_MASK_SYMBOLS_REGEXP, ``), 10)))\n ) {\n this.updateSearch(``);\n }\n }\n\n onBackspace(event: Event): void {\n const target = event.target as HTMLInputElement;\n\n if (\n (target.selectionStart || 0) <= this.nonRemovableLength &&\n target.selectionStart === target.selectionEnd\n ) {\n event.preventDefault();\n }\n }\n\n onValueChange(value: string): void {\n value = value === `` ? this.countryCode : value;\n\n const parsed = isText(value) ? value : value.replace(TUI_MASK_SYMBOLS_REGEXP, ``);\n\n this.updateSearch(parsed);\n this.updateValue(parsed === this.countryCode || isText(parsed) ? `` : parsed);\n this.open = true;\n }\n\n handleOption(item: string): void {\n this.focusInput();\n this.updateValue(item);\n this.updateSearch(``);\n this.open = false;\n }\n\n setDisabledState(): void {\n super.setDisabledState();\n this.open = false;\n }\n\n writeValue(value: string | null): void {\n super.writeValue(value);\n this.updateSearch(``);\n }\n\n protected getFallbackValue(): string {\n return ``;\n }\n\n private get caretIsInForbiddenArea(): boolean {\n const {nativeFocusableElement} = this;\n\n if (!nativeFocusableElement) {\n return false;\n }\n\n const {selectionStart, selectionEnd} = nativeFocusableElement;\n\n return (\n isNativeFocused(nativeFocusableElement) &&\n selectionStart !== null &&\n selectionStart < this.nonRemovableLength &&\n selectionStart === selectionEnd\n );\n }\n\n private get nonRemovableLength(): number {\n return this.isTextValue ? 0 : this.countryCode.length + 1;\n }\n\n private get maxPhoneLength(): number {\n return (\n this.countryCode.length +\n this.phoneMaskAfterCountryCode.replace(/[^#]+/g, ``).length\n );\n }\n\n private get isTextValue(): boolean {\n return !!this.search && isText(this.search);\n }\n\n private setCaretPosition(): void {\n if (this.caretIsInForbiddenArea && !!this.nativeFocusableElement) {\n this.nativeFocusableElement.setSelectionRange(\n this.nonRemovableLength,\n this.nonRemovableLength,\n );\n }\n }\n\n private setValueWithoutPrefix(value: string): void {\n if (this.readOnly) {\n return;\n }\n\n this.open = true;\n this.updateValue(this.cleanValue(value));\n this.updateSearch(\n this.allowText && isText(value)\n ? value\n : value.replace(TUI_MASK_SYMBOLS_REGEXP, ``),\n );\n }\n\n private cleanValue(value: string): string {\n const reg: RegExp =\n this.countryCode === `+7` ? /^7|^8/ : new RegExp(this.countryCode.slice(1));\n const oldValueExist =\n this.value.length > this.countryCode.length &&\n this.value.length < this.maxPhoneLength;\n const newValueLength = value.replace(TUI_MASK_SYMBOLS_REGEXP, ``).length;\n const cleanNewValue = value.replace(/[^0-9]+/g, ``);\n const selectionLength = String(getSelection()).length;\n\n if (oldValueExist && selectionLength === 0) {\n return `${this.value}${cleanNewValue}`.slice(0, this.maxPhoneLength);\n }\n\n if (newValueLength < this.maxPhoneLength - 1) {\n return `${this.countryCode}${cleanNewValue}`.slice(0, this.maxPhoneLength);\n }\n\n return `${this.countryCode}${cleanNewValue.replace(reg, ``)}`.slice(\n 0,\n this.maxPhoneLength,\n );\n }\n\n private focusInput(): void {\n if (this.nativeFocusableElement) {\n setNativeFocused(this.nativeFocusableElement, true, true);\n }\n }\n\n private updateSearch(search: string): void {\n if (this.search === search) {\n return;\n }\n\n this.search = search;\n this.searchChange.emit(search);\n }\n\n private updateValueWithNewCountryCode(newCountryCode: string): void {\n if (!this.isTextValue) {\n this.updateValue(this.value.replace(this.countryCode, newCountryCode));\n }\n }\n}\n\nfunction isText(value: string): boolean {\n return isNaN(parseInt(value.replace(TUI_MASK_SYMBOLS_REGEXP, ``), 10));\n}\n","import {Directive, DoCheck, forwardRef} from '@angular/core';\nimport {TUI_TEXTFIELD_HOST, TuiAbstractTextfieldHost} from '@taiga-ui/core';\n\nimport {TuiInputPhoneComponent} from './input-phone.component';\n\n@Directive({\n selector: `tui-input-phone`,\n providers: [\n {\n provide: TUI_TEXTFIELD_HOST,\n useExisting: forwardRef(() => TuiInputPhoneDirective),\n },\n ],\n})\nexport class TuiInputPhoneDirective\n extends TuiAbstractTextfieldHost<TuiInputPhoneComponent>\n implements DoCheck\n{\n input?: HTMLInputElement;\n\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 this.input = input;\n }\n\n ngDoCheck(): void {\n if (!this.input) {\n return;\n }\n\n this.input.type = `tel`;\n this.input.inputMode = this.host.inputMode;\n }\n}\n","import {NgModule} from '@angular/core';\nimport {TuiActiveZoneModule} from '@taiga-ui/cdk';\nimport {\n TuiHostedDropdownModule,\n TuiPrimitiveTextfieldModule,\n TuiTextfieldComponent,\n TuiTextfieldControllerModule,\n} from '@taiga-ui/core';\nimport {TuiValueAccessorModule} from '@taiga-ui/kit/directives';\nimport {TextMaskModule} from 'angular2-text-mask';\n\nimport {TuiInputPhoneComponent} from './input-phone.component';\nimport {TuiInputPhoneDirective} from './input-phone.directive';\n\n@NgModule({\n imports: [\n TextMaskModule,\n TuiPrimitiveTextfieldModule,\n TuiHostedDropdownModule,\n TuiTextfieldControllerModule,\n TuiActiveZoneModule,\n TuiValueAccessorModule,\n ],\n declarations: [TuiInputPhoneComponent, TuiInputPhoneDirective],\n exports: [TuiInputPhoneComponent, TuiInputPhoneDirective, TuiTextfieldComponent],\n})\nexport class TuiInputPhoneModule {}\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/abstract"),require("@taiga-ui/kit/components/input-number"),require("@taiga-ui/kit/components/range"),require("@taiga-ui/kit/constants"),require("@angular/common"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-range",["exports","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/abstract","@taiga-ui/kit/components/input-number","@taiga-ui/kit/components/range","@taiga-ui/kit/constants","@angular/common","@tinkoff/ng-polymorpheus"],t):t(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].kit=e["taiga-ui"].kit||{},e["taiga-ui"].kit.components=e["taiga-ui"].kit.components||{},e["taiga-ui"].kit.components["input-range"]={}),e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.abstract,e["taiga-ui"].kit.components["input-number"],e["taiga-ui"].kit.components.range,e["taiga-ui"].kit.constants,e.ng.common,e.ngPolymorpheus)}(this,(function(e,t,n,i,a,o,r,u,l,p,s){"use strict";var c=function(e,t){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function d(e,t,n,i){var a,o=arguments.length,r=o<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--)(a=e[u])&&(r=(o<3?a(r):o>3?a(t,n,r):a(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r}function f(e,t){return function(n,i){t(n,i,e)}}Object.create;function g(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,a,o=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)r.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return r}Object.create;var m=function(e){function p(t,n,a,o,r,u,l){var p=e.call(this,t,n)||this;return p.isMobile=a,p.appearance=o,p.elementRef=r,p.controller=u,p.isNew=l,p.inputNumberRefs=i.EMPTY_QUERY,p.rangeRef=null,p.min=0,p.max=1/0,p.quantum=1,p.steps=0,p.segments=0,p.keySteps=null,p.leftValueContent="",p.rightValueContent="",p.lastActiveSide="left",p}var s;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}c(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(p,e),s=p,Object.defineProperty(p.prototype,"leftFocusableElement",{get:function(){var e;return(null===(e=this.inputNumberRefs.first)||void 0===e?void 0:e.nativeFocusableElement)||null},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"rightFocusableElement",{get:function(){var e;return(null===(e=this.inputNumberRefs.last)||void 0===e?void 0:e.nativeFocusableElement)||null},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"nativeFocusableElement",{get:function(){return this.disabled?null:this.leftFocusableElement||this.rightFocusableElement},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"focused",{get:function(){return i.isNativeFocusedIn(this.elementRef.nativeElement)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"showLeftValueContent",{get:function(){var e;return Boolean((this.minLabel||this.leftValueContent)&&!i.isNativeFocused(this.leftFocusableElement)&&!((null===(e=this.rangeRef)||void 0===e?void 0:e.focused)&&"left"===this.lastActiveSide))},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"showRightValueContent",{get:function(){var e;return Boolean((this.maxLabel||this.rightValueContent)&&!i.isNativeFocused(this.rightFocusableElement)&&!((null===(e=this.rangeRef)||void 0===e?void 0:e.focused)&&"right"===this.lastActiveSide))},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"precision",{get:function(){return a.getFractionPartPadded(this.quantum).length},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"decimal",{get:function(){return this.precision?"not-zero":"never"},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"computedSteps",{get:function(){return this.steps||(this.max-this.min)/this.quantum},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"computedSize",{get:function(){return this.isNew&&"s"!==this.controller.size?this.controller.size:this.size},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"legacyLabelOutside",{get:function(){return this.isNew?this.controller.labelOutside:"m"===this.computedSize},enumerable:!0,configurable:!0}),p.prototype.onActiveZone=function(e){this.updateFocused(e)},p.prototype.onTextInputFocused=function(e,t){if(!e){var n=g(this.inputNumberRefs,2),i=n[0],a=n[1],o=t?a:i,r=t?1:0;o.nativeValue&&o.value===this.value[r]||this.updateTextInputValue(this.safeCurrentValue[r],t)}},p.prototype.changeByStep=function(e,t){var n=g(t,2),i=n[0],a=n[1];if(!this.readOnly){e.preventDefault();var o=this.valueGuard([this.value[0]+i*this.step,this.value[1]+a*this.step]),r=o[0]!==this.value[0],u=o[1]!==this.value[1];(r||u)&&(this.safelyUpdateValue(o),this.updateTextInputValue(o[u?1:0],u))}},p.prototype.onInputLeft=function(e){this.safelyUpdateValue([null!=e?e:this.safeCurrentValue[0],this.value[1]])},p.prototype.onInputRight=function(e){this.safelyUpdateValue([this.value[0],null!=e?e:this.safeCurrentValue[1]])},p.prototype.onRangeValue=function(e){this.safelyUpdateValue(e);var t="right"===this.lastActiveSide;this.updateTextInputValue(this.value[t?1:0],t)},p.prototype.focusToTextInput=function(){var e="left"===this.lastActiveSide?this.leftFocusableElement:this.rightFocusableElement;!this.isMobile&&e&&e.focus()},p.prototype.onActiveThumbChange=function(e){this.lastActiveSide=e},p.prototype.getFallbackValue=function(){return[0,0]},p.prototype.safelyUpdateValue=function(e){this.updateValue(this.valueGuard(e))},p.prototype.valueGuard=function(e){var t=g(e,2),n=t[0],i=t[1],a=this.calibrate(n),o=this.calibrate(i);return[Math.min(a,this.value[1]),Math.max(o,this.value[0])]},p.prototype.calibrate=function(e){var t=i.round(Math.round(e/this.quantum)*this.quantum,l.TUI_FLOATING_PRECISION);return i.clamp(t,this.min,this.max)},p.prototype.updateTextInputValue=function(e,t){var n=g(this.inputNumberRefs,2),i=n[0],a=n[1],o=t?a:i;o&&(o.nativeValue=o.getFormattedValue(e))},p.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:Boolean,decorators:[{type:t.Inject,args:[i.TUI_IS_MOBILE]}]},{type:String,decorators:[{type:t.Inject,args:[a.TUI_TEXTFIELD_APPEARANCE]}]},{type:t.ElementRef,decorators:[{type:t.Inject,args:[t.ElementRef]}]},{type:a.TuiTextfieldController,decorators:[{type:t.Inject,args:[a.TUI_TEXTFIELD_WATCHED_CONTROLLER]}]},{type:u.TuiNewRangeDirective,decorators:[{type:t.Optional},{type:t.Inject,args:[u.TuiNewRangeDirective]}]}]},d([t.ViewChildren(r.TuiInputNumberComponent)],p.prototype,"inputNumberRefs",void 0),d([t.ViewChild(u.TuiRangeComponent)],p.prototype,"rangeRef",void 0),d([t.Input(),i.tuiDefaultProp()],p.prototype,"min",void 0),d([t.Input(),i.tuiDefaultProp()],p.prototype,"max",void 0),d([t.Input(),i.tuiDefaultProp(o.quantumAssertion,"Quantum must be positive")],p.prototype,"quantum",void 0),d([t.Input(),i.tuiDefaultProp()],p.prototype,"steps",void 0),d([t.Input(),i.tuiDefaultProp()],p.prototype,"segments",void 0),d([t.Input(),i.tuiDefaultProp()],p.prototype,"keySteps",void 0),d([t.Input(),i.tuiDefaultProp()],p.prototype,"leftValueContent",void 0),d([t.Input(),i.tuiDefaultProp()],p.prototype,"rightValueContent",void 0),d([t.HostBinding("class._label-outside")],p.prototype,"legacyLabelOutside",null),p=s=d([t.Component({selector:"tui-input-range",template:'<tui-wrapper\n class="t-wrapper"\n [appearance]="appearance"\n [readOnly]="readOnly"\n [disabled]="disabled"\n [focused]="computedFocused"\n [hovered]="computedHovered"\n [invalid]="computedInvalid"\n (tuiActiveZoneChange)="onActiveZone($event)"\n>\n <tui-input-number\n tuiTextfieldAppearance="none"\n automation-id="tui-input-range__left-input"\n class="t-left t-text-input"\n [min]="min"\n [max]="value[1]"\n [precision]="precision"\n [decimal]="decimal"\n [postfix]="pluralizeMap && !showLeftValueContent ? (value[0] | i18nPlural: pluralizeMap) : \'\'"\n [disabled]="computedDisabled"\n [readOnly]="readOnly"\n [tuiTextfieldSize]="computedSize"\n [tuiTextfieldLabelOutside]="legacyLabelOutside"\n [ngModel]="value[0]"\n (ngModelChange)="onInputLeft($event)"\n (focusedChange)="onTextInputFocused($event, false)"\n (keydown.arrowUp)="changeByStep($event, [1, 0])"\n (keydown.arrowDown)="changeByStep($event, [-1, 0])"\n >\n <ng-content></ng-content>\n <div\n *ngIf="showLeftValueContent"\n polymorpheus-outlet\n [content]="minLabel ? legacyMinLabel : leftValueContent"\n [context]="{$implicit: value[0]}"\n ></div>\n </tui-input-number>\n\n <div class="t-right">\n <tui-input-number\n tuiTextfieldAppearance="none"\n automation-id="tui-input-range__right-input"\n class="t-text-input"\n [min]="value[0]"\n [max]="max"\n [precision]="precision"\n [decimal]="decimal"\n [disabled]="computedDisabled"\n [readOnly]="readOnly"\n [tuiTextfieldSize]="computedSize"\n [tuiTextfieldLabelOutside]="legacyLabelOutside"\n [ngModel]="value[1]"\n (ngModelChange)="onInputRight($event)"\n (focusedChange)="onTextInputFocused($event, true)"\n (keydown.arrowUp)="changeByStep($event, [0, 1])"\n (keydown.arrowDown)="changeByStep($event, [0, -1])"\n >\n <div\n *ngIf="showRightValueContent"\n polymorpheus-outlet\n [content]="maxLabel ? legacyMaxLabel : rightValueContent"\n [context]="{$implicit: value[1]}"\n ></div>\n </tui-input-number>\n\n \x3c!-- TODO replace by postfix of the right InputNumber (after fix https://github.com/Tinkoff/taiga-ui/issues/1193) --\x3e\n <span\n *ngIf="!showRightValueContent && pluralizeMap"\n automation-id="tui-input-range__pluralize-right"\n class="t-pluralize-right"\n >\n &nbsp;{{ value[1] | i18nPlural: pluralizeMap }}\n </span>\n </div>\n\n <tui-range\n class="t-slider"\n [min]="min"\n [max]="max"\n [steps]="computedSteps"\n [segments]="segments"\n [keySteps]="keySteps"\n [pluralize]="segmentsPluralizeMap"\n [focusable]="false"\n [disabled]="readOnly || disabled"\n [ngModel]="value"\n (ngModelChange)="onRangeValue($event)"\n (tuiPressedChange)="focusToTextInput()"\n (activeThumbChange)="onActiveThumbChange($event)"\n ></tui-range>\n</tui-wrapper>\n\n\x3c!-- TODO: 3.0 remove --\x3e\n<ng-template\n #legacyMinLabel\n let-value\n>\n <ng-container *ngIf="value === min">{{ minLabel }}</ng-container>\n <ng-container *ngIf="value !== min">\n {{ value }}&nbsp;{{ value | i18nPlural: pluralizeMap || pluralizeMapFallback }}\n </ng-container>\n</ng-template>\n\n\x3c!-- TODO: 3.0 remove --\x3e\n<ng-template\n #legacyMaxLabel\n let-value\n>\n <ng-container *ngIf="value === max">{{ maxLabel }}</ng-container>\n <ng-container *ngIf="value !== max">\n {{ value }}&nbsp;{{ value | i18nPlural: pluralizeMap || pluralizeMapFallback }}\n </ng-container>\n</ng-template>\n',changeDetection:t.ChangeDetectionStrategy.OnPush,providers:[{provide:i.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:t.forwardRef((function(){return s}))},a.TEXTFIELD_CONTROLLER_PROVIDER],host:{"[class._show-ticks-labels]":"!isNew"},styles:[".t-wrapper{position:relative}.t-left{width:100%}.t-right{position:absolute;right:0;top:0;display:flex;width:50%;height:100%;text-align:right}.t-right .t-text-input{flex:1}.t-text-input{text-align:inherit}.t-pluralize-right{display:flex;align-items:center;padding:1.125rem var(--tui-padding-m) 0 0;margin-left:-.75rem;font:var(--tui-font-text-s)}:host[data-size='l'] .t-pluralize-right{font:var(--tui-font-text-m);padding-top:1.25rem;margin-left:-1rem;padding-right:var(--tui-padding-l)}:host._label-outside .t-pluralize-right{padding-top:0}:host._disabled .t-pluralize-right{color:var(--tui-text-03)}:host{display:block;border-radius:var(--tui-radius-m)}:host._show-ticks-labels._segmented{border-bottom:26px solid transparent}.t-slider{position:absolute;top:100%;left:0;right:0;z-index:1;margin:-.125rem 0 0;background:0 0}"]}),f(0,t.Optional()),f(0,t.Self()),f(0,t.Inject(n.NgControl)),f(1,t.Inject(t.ChangeDetectorRef)),f(2,t.Inject(i.TUI_IS_MOBILE)),f(3,t.Inject(a.TUI_TEXTFIELD_APPEARANCE)),f(4,t.Inject(t.ElementRef)),f(5,t.Inject(a.TUI_TEXTFIELD_WATCHED_CONTROLLER)),f(6,t.Optional()),f(6,t.Inject(u.TuiNewRangeDirective))],p)}(o.AbstractTuiInputSlider);function h(e){return e.nativeElement.getAttribute("tuiTextfieldAppearance")}var v=function(){function e(){}return e=d([t.Directive({selector:"[tuiTextfieldAppearance]",providers:[{provide:a.TUI_TEXTFIELD_APPEARANCE,deps:[t.ElementRef],useFactory:h}]})],e)}(),y=function(){function e(){}return e=d([t.NgModule({imports:[p.CommonModule,n.FormsModule,n.ReactiveFormsModule,s.PolymorpheusModule,i.TuiActiveZoneModule,r.TuiInputNumberModule,i.TuiPressedModule,u.TuiRangeModule,a.TuiTextfieldControllerModule,a.TuiWrapperModule],declarations:[m,v],exports:[m,u.TuiNewRangeDirective]})],e)}();e.TuiInputRangeComponent=m,e.TuiInputRangeModule=y,e.TuiTextfieldAppearanceDirective=v,e.tuiTextfieldAppearanceDirectiveFactory=h,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-range.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-range/input-range.component.ts","ng://@taiga-ui/kit/components/input-range/input-range.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","TuiInputRangeComponent","control","changeDetectorRef","isMobile","appearance","elementRef","controller","isNew","_this","_super","this","inputNumberRefs","EMPTY_QUERY","rangeRef","min","max","Infinity","quantum","steps","segments","keySteps","leftValueContent","rightValueContent","lastActiveSide","TypeError","String","__","constructor","__extends","_a","first","nativeFocusableElement","last","disabled","leftFocusableElement","rightFocusableElement","isNativeFocusedIn","nativeElement","Boolean","minLabel","isNativeFocused","focused","maxLabel","getFractionPartPadded","precision","size","labelOutside","computedSize","onActiveZone","active","updateFocused","onTextInputFocused","right","leftTextInputRef","rightTextInputRef","inputRef","valueIndex","nativeValue","updateTextInputValue","safeCurrentValue","changeByStep","event","_b","leftCoefficient","rightCoefficient","readOnly","preventDefault","newValue","valueGuard","step","leftValueChanged","rightValueChanged","safelyUpdateValue","onInputLeft","onInputRight","onRangeValue","focusToTextInput","element","focus","onActiveThumbChange","activeThumb","getFallbackValue","updateValue","leftValue","rightValue","leftCalibratedValue","calibrate","rightCalibratedValue","Math","roundedValue","round","TUI_FLOATING_PRECISION","clamp","leftInputRef","rightInputRef","textInputRef","getFormattedValue","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","TUI_IS_MOBILE","TUI_TEXTFIELD_APPEARANCE","ElementRef","TuiTextfieldController","TUI_TEXTFIELD_WATCHED_CONTROLLER","TuiNewRangeDirective","ViewChildren","TuiInputNumberComponent","ViewChild","TuiRangeComponent","Input","tuiDefaultProp","quantumAssertion","HostBinding","TuiInputRangeComponent_1","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","TEXTFIELD_CONTROLLER_PROVIDER","host","[class._show-ticks-labels]","AbstractTuiInputSlider","tuiTextfieldAppearanceDirectiveFactory","getAttribute","TuiTextfieldAppearanceDirective","Directive","deps","useFactory","TuiInputRangeModule","NgModule","imports","CommonModule","FormsModule","ReactiveFormsModule","PolymorpheusModule","TuiActiveZoneModule","TuiInputNumberModule","TuiPressedModule","TuiRangeModule","TuiTextfieldControllerModule","TuiWrapperModule","declarations","exports"],"mappings":"kqCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAA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,EAAA,EAAAqH,EAAAA,QACArH,EAAA,EAAAsH,EAAAA,OAAOJ,EAAAA,YAEPlH,EAAA,EAAAsH,EAAAA,OAAOE,EAAAA,oBACPxH,EAAA,EAAAsH,EAAAA,OAAOG,EAAAA,gBAEPzH,EAAA,EAAAsH,EAAAA,OAAOI,EAAAA,2BAEP1H,EAAA,EAAAsH,EAAAA,OAAOK,EAAAA,aACP3H,EAAA,EAAAsH,EAAAA,OAAOO,EAAAA,mCAEP7H,EAAA,EAAAoH,EAAAA,YACApH,EAAA,EAAAsH,EAAAA,OAAOQ,EAAAA,wBA3DH7G,IACDqI,EAAAA,iCA4OIC,EAAuCzG,GAGnD,OAFAA,EAAAQ,cAEqBkG,aAAa,2CAatC,SAAAC,KAA8C,OAAjCA,EAA+BvK,EAAA,CAV3CwK,EAAAA,UAAU,CACPjB,SAAU,2BACVK,UAAW,CACP,CACIC,QAASrB,EAAAA,yBACTiC,KAAM,CAAChC,EAAAA,YACPiC,WAAYL,OAIXE,mBCtSb,SAAAI,KAAkC,OAArBA,EAAmB3K,EAAA,CAhB/B4K,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,YACAC,EAAAA,oBACAC,EAAAA,mBACAC,EAAAA,oBACAC,EAAAA,qBACAC,EAAAA,iBACAC,EAAAA,eACAC,EAAAA,6BACAC,EAAAA,kBAEJC,aAAc,CAACzJ,EAAwBwI,GACvCkB,QAAS,CAAC1J,EAAwB6G,EAAAA,yBAEzB+B","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 Directive,\n ElementRef,\n forwardRef,\n HostBinding,\n Inject,\n Input,\n Optional,\n QueryList,\n Self,\n ViewChild,\n ViewChildren,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n clamp,\n EMPTY_QUERY,\n isNativeFocused,\n isNativeFocusedIn,\n round,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n TUI_IS_MOBILE,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n getFractionPartPadded,\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_TEXTFIELD_APPEARANCE,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiDecimalT,\n TuiSizeL,\n TuiTextfieldController,\n} from '@taiga-ui/core';\nimport {AbstractTuiInputSlider, quantumAssertion} from '@taiga-ui/kit/abstract';\nimport {TuiInputNumberComponent} from '@taiga-ui/kit/components/input-number';\nimport {TuiNewRangeDirective, TuiRangeComponent} from '@taiga-ui/kit/components/range';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\n// @dynamic\n@Component({\n selector: `tui-input-range`,\n templateUrl: `./input-range.template.html`,\n styleUrls: [`./input-range.style.less`],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputRangeComponent),\n },\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n host: {\n /**\n * TODO: 3.0 delete it\n * Dont forget to clear html-tags\n */\n '[class._show-ticks-labels]': `!isNew`,\n },\n})\n/**\n * `AbstractTuiInputSlider` includes all legacy code (it can be deleted in v3.0)\n * TODO replace `extends AbstractTuiInputSlider<[number, number]>` by `extends AbstractTuiControl<[number, number]> implements TuiWithOptionalMinMax<number>`\n */\nexport class TuiInputRangeComponent\n extends AbstractTuiInputSlider<[number, number]>\n implements TuiFocusableElementAccessor\n{\n @ViewChildren(TuiInputNumberComponent)\n private readonly inputNumberRefs: QueryList<TuiInputNumberComponent> = EMPTY_QUERY;\n\n @ViewChild(TuiRangeComponent)\n private readonly rangeRef: TuiRangeComponent | null = null;\n\n @Input()\n @tuiDefaultProp()\n min = 0;\n\n /* TODO: make `100` as default value (like in native sliders) */\n @Input()\n @tuiDefaultProp()\n max = Infinity;\n\n @Input()\n @tuiDefaultProp(quantumAssertion, `Quantum must be positive`)\n quantum = 1;\n\n @Input()\n @tuiDefaultProp()\n steps = 0;\n\n @Input()\n @tuiDefaultProp()\n segments = 0;\n\n @Input()\n @tuiDefaultProp()\n keySteps: TuiKeySteps | null = null;\n\n @Input()\n @tuiDefaultProp()\n leftValueContent: PolymorpheusContent<TuiContextWithImplicit<number>> = ``;\n\n @Input()\n @tuiDefaultProp()\n rightValueContent: PolymorpheusContent<TuiContextWithImplicit<number>> = ``;\n\n lastActiveSide: 'left' | 'right' = `left`;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_IS_MOBILE)\n private readonly isMobile: boolean,\n @Inject(TUI_TEXTFIELD_APPEARANCE)\n readonly appearance: string,\n @Inject(ElementRef) private readonly elementRef: ElementRef,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n @Optional()\n @Inject(TuiNewRangeDirective)\n readonly isNew: TuiNewRangeDirective | null,\n ) {\n super(control, changeDetectorRef);\n }\n\n get leftFocusableElement(): HTMLInputElement | null {\n return this.inputNumberRefs.first?.nativeFocusableElement || null;\n }\n\n get rightFocusableElement(): HTMLInputElement | null {\n return this.inputNumberRefs.last?.nativeFocusableElement || null;\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return this.disabled\n ? null\n : this.leftFocusableElement || this.rightFocusableElement;\n }\n\n get focused(): boolean {\n return isNativeFocusedIn(this.elementRef.nativeElement);\n }\n\n get showLeftValueContent(): boolean {\n return Boolean(\n (this.minLabel || this.leftValueContent) &&\n !isNativeFocused(this.leftFocusableElement) &&\n !(this.rangeRef?.focused && this.lastActiveSide === `left`),\n );\n }\n\n get showRightValueContent(): boolean {\n return Boolean(\n (this.maxLabel || this.rightValueContent) &&\n !isNativeFocused(this.rightFocusableElement) &&\n !(this.rangeRef?.focused && this.lastActiveSide === `right`),\n );\n }\n\n get precision(): number {\n return getFractionPartPadded(this.quantum).length;\n }\n\n get decimal(): TuiDecimalT {\n return this.precision ? `not-zero` : `never`;\n }\n\n get computedSteps(): number {\n return this.steps || (this.max - this.min) / this.quantum;\n }\n\n get computedSize(): TuiSizeL {\n return this.isNew && this.controller.size !== `s`\n ? this.controller.size\n : this.size;\n }\n\n @HostBinding(`class._label-outside`)\n get legacyLabelOutside(): boolean {\n return this.isNew ? this.controller.labelOutside : this.computedSize === `m`;\n }\n\n onActiveZone(active: boolean): void {\n this.updateFocused(active);\n }\n\n onTextInputFocused(focused: boolean, right: boolean): void {\n if (focused) {\n return;\n }\n\n const [leftTextInputRef, rightTextInputRef] = this.inputNumberRefs;\n const inputRef = right ? rightTextInputRef : leftTextInputRef;\n const valueIndex = right ? 1 : 0;\n\n if (!inputRef.nativeValue || inputRef.value !== this.value[valueIndex]) {\n this.updateTextInputValue(this.safeCurrentValue[valueIndex], right);\n }\n }\n\n changeByStep(\n event: Event | KeyboardEvent,\n [leftCoefficient, rightCoefficient]: [number, number],\n ): void {\n if (this.readOnly) {\n return;\n }\n\n event.preventDefault();\n\n const newValue = this.valueGuard([\n this.value[0] + leftCoefficient * this.step,\n this.value[1] + rightCoefficient * this.step,\n ]);\n const leftValueChanged = newValue[0] !== this.value[0];\n const rightValueChanged = newValue[1] !== this.value[1];\n\n if (leftValueChanged || rightValueChanged) {\n this.safelyUpdateValue(newValue);\n this.updateTextInputValue(\n newValue[rightValueChanged ? 1 : 0],\n rightValueChanged,\n );\n }\n }\n\n onInputLeft(value: number | null): void {\n this.safelyUpdateValue([value ?? this.safeCurrentValue[0], this.value[1]]);\n }\n\n onInputRight(value: number | null): void {\n this.safelyUpdateValue([this.value[0], value ?? this.safeCurrentValue[1]]);\n }\n\n onRangeValue(value: [number, number]): void {\n this.safelyUpdateValue(value);\n\n const rightValueChanged = this.lastActiveSide === `right`;\n\n this.updateTextInputValue(\n this.value[rightValueChanged ? 1 : 0],\n rightValueChanged,\n );\n }\n\n focusToTextInput(): void {\n const element =\n this.lastActiveSide === `left`\n ? this.leftFocusableElement\n : this.rightFocusableElement;\n\n if (!this.isMobile && element) {\n element.focus();\n }\n }\n\n onActiveThumbChange(activeThumb: 'right' | 'left'): void {\n this.lastActiveSide = activeThumb;\n }\n\n protected getFallbackValue(): [number, number] {\n return [0, 0];\n }\n\n private safelyUpdateValue(value: [number, number]): void {\n this.updateValue(this.valueGuard(value));\n }\n\n private valueGuard([leftValue, rightValue]: [number, number]): [number, number] {\n const leftCalibratedValue = this.calibrate(leftValue);\n const rightCalibratedValue = this.calibrate(rightValue);\n\n return [\n Math.min(leftCalibratedValue, this.value[1]),\n Math.max(rightCalibratedValue, this.value[0]),\n ];\n }\n\n private calibrate(value: number): number {\n const roundedValue = round(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n );\n\n return clamp(roundedValue, this.min, this.max);\n }\n\n private updateTextInputValue(value: number, right: boolean): void {\n const [leftInputRef, rightInputRef] = this.inputNumberRefs;\n const textInputRef = right ? rightInputRef : leftInputRef;\n\n if (textInputRef) {\n textInputRef.nativeValue = textInputRef.getFormattedValue(value);\n }\n }\n}\n\nexport function tuiTextfieldAppearanceDirectiveFactory({\n nativeElement,\n}: ElementRef): string {\n return nativeElement.getAttribute(`tuiTextfieldAppearance`);\n}\n\n@Directive({\n selector: `[tuiTextfieldAppearance]`,\n providers: [\n {\n provide: TUI_TEXTFIELD_APPEARANCE,\n deps: [ElementRef],\n useFactory: tuiTextfieldAppearanceDirectiveFactory,\n },\n ],\n})\nexport class TuiTextfieldAppearanceDirective {}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {TuiActiveZoneModule, TuiPressedModule} from '@taiga-ui/cdk';\nimport {TuiTextfieldControllerModule, TuiWrapperModule} from '@taiga-ui/core';\nimport {TuiInputNumberModule} from '@taiga-ui/kit/components/input-number';\nimport {TuiNewRangeDirective, TuiRangeModule} from '@taiga-ui/kit/components/range';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {\n TuiInputRangeComponent,\n TuiTextfieldAppearanceDirective,\n} from './input-range.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n PolymorpheusModule,\n TuiActiveZoneModule,\n TuiInputNumberModule,\n TuiPressedModule,\n TuiRangeModule,\n TuiTextfieldControllerModule,\n TuiWrapperModule,\n ],\n declarations: [TuiInputRangeComponent, TuiTextfieldAppearanceDirective],\n exports: [TuiInputRangeComponent, TuiNewRangeDirective],\n})\nexport class TuiInputRangeModule {}\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/abstract"),require("@taiga-ui/kit/components/input-number"),require("@taiga-ui/kit/components/slider"),require("@taiga-ui/kit/constants"),require("@taiga-ui/kit/tokens"),require("rxjs"),require("@tinkoff/ng-polymorpheus")):"function"==typeof define&&define.amd?define("@taiga-ui/kit/components/input-slider",["exports","@angular/common","@angular/core","@angular/forms","@taiga-ui/cdk","@taiga-ui/core","@taiga-ui/kit/abstract","@taiga-ui/kit/components/input-number","@taiga-ui/kit/components/slider","@taiga-ui/kit/constants","@taiga-ui/kit/tokens","rxjs","@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-slider"]={}),e.ng.common,e.ng.core,e.ng.forms,e.cdk,e.core$1,e["taiga-ui"].kit.abstract,e["taiga-ui"].kit.components["input-number"],e["taiga-ui"].kit.components.slider,e["taiga-ui"].kit.constants,e["taiga-ui"].kit.tokens,e.rxjs,e.ngPolymorpheus)}(this,(function(e,t,n,i,o,r,u,a,l,s,p,c,d){"use strict";var m=function(e,t){return(m=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 f(e,t,n,i){var o,r=arguments.length,u=r<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)u=Reflect.decorate(e,t,n,i);else for(var a=e.length-1;a>=0;a--)(o=e[a])&&(u=(r<3?o(u):r>3?o(t,n,u):o(t,n))||u);return r>3&&u&&Object.defineProperty(t,n,u),u}function g(e,t){return function(n,i){t(n,i,e)}}Object.create;Object.create;var y=function(){function e(){}return e=f([n.Directive({selector:"tui-input-slider[new]"})],e)}(),h=function(e){function u(t,n,i,o,r,u){var a=e.call(this,t,n)||this;return a.controller=i,a.fromToTexts$=o,a.isNew=r,a.i18nPlural=u,a.min=0,a.max=1/0,a.quantum=1,a.steps=0,a.segments=0,a.keySteps=null,a.valueContent="",a.prefix="",a.postfix="",a.secondary="",a}var d;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(u,e),d=u,Object.defineProperty(u.prototype,"nativeFocusableElement",{get:function(){var e;return!(null===(e=this.inputNumberRef)||void 0===e?void 0:e.nativeFocusableElement)||this.computedDisabled?null:this.inputNumberRef.nativeFocusableElement},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"focused",{get:function(){var e;return o.isNativeFocused(this.nativeFocusableElement)||o.isNativeFocused((null===(e=this.sliderRef)||void 0===e?void 0:e.nativeElement)||null)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"computedSteps",{get:function(){return this.steps||(this.max-this.min)/this.quantum},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"precision",{get:function(){return r.getFractionPartPadded(this.quantum).length},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"decimal",{get:function(){return this.precision?"not-zero":"never"},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"showValueContent",{get:function(){return Boolean(this.computedValueContent&&!this.focused)},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"computedSize",{get:function(){return this.isNew?(o.tuiAssert.assert("s"!==this.controller.size,"Size 's' is not supported by this input."),"l"===this.controller.size?"l":"m"):this.size},enumerable:!0,configurable:!0}),Object.defineProperty(u.prototype,"computedValueContent",{get:function(){return this.minLabel||this.maxLabel?(t=(e=this).min,n=e.max,i=e.minLabel,o=e.maxLabel,r=e.i18nPlural,u=e.pluralizeMap,function(e){var a=e.$implicit,l=a+" "+(u?r.transform(a,u):"");switch(a){case t:return i||l;case n:return o||l;default:return l}}):this.valueContent;var e,t,n,i,o,r,u},enumerable:!0,configurable:!0}),u.prototype.focusTextInput=function(){var e,t=null===(e=this.inputNumberRef)||void 0===e?void 0:e.nativeFocusableElement;t&&o.setNativeFocused(t)},u.prototype.safelyUpdateValue=function(e){this.updateValue(this.valueGuard(null!=e?e:this.safeCurrentValue))},u.prototype.onVerticalArrowKeyDown=function(e){if(!this.readOnly&&this.step){var t=this.value+e*this.step;t!==this.value&&this.safelyUpdateValue(t),this.updateTextInputValue(this.valueGuard(t))}},u.prototype.onSliderChange=function(e){this.safelyUpdateValue(e),this.updateTextInputValue(this.value)},u.prototype.onFocused=function(e){var t=this.value,n=this.textInputValue,i=this.safeCurrentValue,o=this.inputNumberRef;e||n===(null==o?void 0:o.getFormattedValue(t))||this.updateTextInputValue(null!=t?t:i),this.updateFocused(e)},u.prototype.onPressed=function(e){this.updatePressed(e)},u.prototype.onHovered=function(e){this.updateHovered(e)},Object.defineProperty(u.prototype,"textInputValue",{get:function(){var e;return(null===(e=this.inputNumberRef)||void 0===e?void 0:e.nativeValue)||""},enumerable:!0,configurable:!0}),u.prototype.getFallbackValue=function(){return 0},u.prototype.valueGuard=function(e){var t=o.round(Math.round(e/this.quantum)*this.quantum,s.TUI_FLOATING_PRECISION);return o.clamp(t,this.min,this.max)},u.prototype.updateTextInputValue=function(e){this.inputNumberRef&&(this.inputNumberRef.nativeValue=this.inputNumberRef.getFormattedValue(e))},u.ctorParameters=function(){return[{type:i.NgControl,decorators:[{type:n.Optional},{type:n.Self},{type:n.Inject,args:[i.NgControl]}]},{type:n.ChangeDetectorRef,decorators:[{type:n.Inject,args:[n.ChangeDetectorRef]}]},{type:r.TuiTextfieldController,decorators:[{type:n.Inject,args:[r.TUI_TEXTFIELD_WATCHED_CONTROLLER]}]},{type:c.Observable,decorators:[{type:n.Inject,args:[p.TUI_FROM_TO_TEXTS]}]},{type:y,decorators:[{type:n.Optional},{type:n.Inject,args:[y]}]},{type:t.I18nPluralPipe,decorators:[{type:n.Inject,args:[t.I18nPluralPipe]}]}]},f([n.ViewChild(a.TuiInputNumberComponent)],u.prototype,"inputNumberRef",void 0),f([n.ViewChild(l.TuiSliderComponent,{read:n.ElementRef})],u.prototype,"sliderRef",void 0),f([n.Input(),o.tuiDefaultProp()],u.prototype,"min",void 0),f([n.Input(),o.tuiDefaultProp()],u.prototype,"max",void 0),f([n.Input(),o.tuiDefaultProp(v,"Quantum must be positive")],u.prototype,"quantum",void 0),f([n.Input(),o.tuiDefaultProp()],u.prototype,"steps",void 0),f([n.Input(),o.tuiDefaultProp()],u.prototype,"segments",void 0),f([n.Input(),o.tuiDefaultProp()],u.prototype,"keySteps",void 0),f([n.Input(),o.tuiDefaultProp()],u.prototype,"valueContent",void 0),f([n.Input(),o.tuiDefaultProp()],u.prototype,"prefix",void 0),f([n.Input(),o.tuiDefaultProp()],u.prototype,"postfix",void 0),f([n.Input(),o.tuiDefaultProp()],u.prototype,"secondary",void 0),u=d=f([n.Component({selector:"tui-input-slider",template:'<tui-input-number\n [min]="min"\n [max]="max"\n [precision]="precision"\n [decimal]="decimal"\n [prefix]="showValueContent ? \'\' : prefix"\n [postfix]="showValueContent ? \'\' : postfix || (value | i18nPlural: pluralizeMap || pluralizeMapFallback)"\n [tuiTextfieldCustomContent]="controller.customContent || deprecatedSecondary"\n [tuiTextfieldSize]="computedSize"\n [tuiTextfieldLabelOutside]="computedSize !== \'l\'"\n [readOnly]="readOnly"\n [pseudoFocused]="computedFocused"\n [pseudoHovered]="computedHovered"\n [pseudoPressed]="computedPressed"\n [pseudoInvalid]="pseudoInvalid"\n [ngModel]="value"\n (ngModelChange)="safelyUpdateValue($event)"\n (focusedChange)="onFocused($event)"\n (hoveredChange)="onHovered($event)"\n (pressedChange)="onPressed($event)"\n (keydown.arrowUp.prevent)="onVerticalArrowKeyDown(1)"\n (keydown.arrowDown.prevent)="onVerticalArrowKeyDown(-1)"\n>\n <ng-content></ng-content>\n <div\n *ngIf="showValueContent"\n polymorpheus-outlet\n automation-id="tui-input-slider__value-content"\n [content]="computedValueContent"\n [context]="{$implicit: value}"\n ></div>\n</tui-input-number>\n\n\x3c!--TODO: remove in v3.0--\x3e\n<ng-template #deprecatedSecondary>{{ secondary }}</ng-template>\n\n\x3c!--TODO: remove wrapper + ticks labels (leave only slider) in v3.0--\x3e\n<div class="t-slider-wrapper">\n <input\n tuiSlider\n type="range"\n [tuiFocusable]="false"\n [max]="computedSteps"\n [segments]="segments"\n [keySteps]="computedKeySteps"\n [attr.disabled]="readOnly || disabled || null"\n [ngModel]="value"\n (keyStepsInput)="onSliderChange($event)"\n (click)="focusTextInput()"\n />\n\n \x3c!--TODO delete ticks labels in v3.0--\x3e\n <div\n *ngIf="segments && !isNew"\n class="t-ticks-labels"\n >\n <span\n *tuiRepeatTimes="let tickIndex of segments + 1"\n automation-id="tui-slider__segment"\n >\n <span *ngIf="fromToTexts$ | async as fromToText">\n {{ getTickPrefix(tickIndex, segments, fromToText) }}\n {{ tickIndex | tuiSliderTickLabel: segments:computedKeySteps | tuiFormatNumber }}\n <span *ngIf="segmentsPluralizeMap">\n {{ tickIndex | tuiSliderTickLabel: segments:computedKeySteps | i18nPlural: segmentsPluralizeMap }}\n </span>\n </span>\n </span>\n </div>\n</div>\n',host:{"[class._show-ticks-labels]":"!isNew"},changeDetection:n.ChangeDetectionStrategy.OnPush,providers:[t.I18nPluralPipe,{provide:o.TUI_FOCUSABLE_ITEM_ACCESSOR,useExisting:n.forwardRef((function(){return d}))},l.tuiSliderOptionsProvider({trackColor:"transparent"}),r.HINT_CONTROLLER_PROVIDER,r.TEXTFIELD_CONTROLLER_PROVIDER],styles:[":host{position:relative;z-index:0;display:block;height:-webkit-max-content;height:-moz-max-content;height:max-content}:host._segmented._show-ticks-labels{border-bottom:26px solid transparent}.t-slider-wrapper{position:absolute;top:100%;left:calc(var(--tui-radius-m)/ 2);right:0;margin:-.5625rem 0 0}input[type=range]{border-top-left-radius:0;border-bottom-left-radius:calc(var(--tui-radius-m) * 5) calc(var(--tui-radius-m) * 1.5)}.t-ticks-labels{display:flex;margin:0 .5rem;font:var(--tui-font-text-s);color:var(--tui-text-02)}.t-ticks-labels>*{position:relative;flex:2;text-align:center}.t-ticks-labels>:first-child{left:-.5rem;flex:1;text-align:left}.t-ticks-labels>:last-child{right:-.5rem;flex:1;text-align:right}tui-input-slider+.t-ticks-labels{margin-left:calc(var(--tui-radius-m)/ 2 + .5rem)}tui-input-range+.t-ticks-labels,tui-range+.t-ticks-labels{margin-left:1rem;margin-right:1rem}tui-input-range+.t-ticks-labels>:first-child,tui-range+.t-ticks-labels>:first-child{left:-1rem}tui-input-range+.t-ticks-labels>:last-child,tui-range+.t-ticks-labels>:last-child{right:-1rem}"]}),g(0,n.Optional()),g(0,n.Self()),g(0,n.Inject(i.NgControl)),g(1,n.Inject(n.ChangeDetectorRef)),g(2,n.Inject(r.TUI_TEXTFIELD_WATCHED_CONTROLLER)),g(3,n.Inject(p.TUI_FROM_TO_TEXTS)),g(4,n.Optional()),g(4,n.Inject(y)),g(5,n.Inject(t.I18nPluralPipe))],u)}(u.AbstractTuiInputSlider);function v(e){return e>0}var b=function(){function e(){}return e=f([n.NgModule({imports:[t.CommonModule,i.FormsModule,i.ReactiveFormsModule,o.TuiFocusableModule,l.TuiSliderModule,r.TuiFormatNumberPipeModule,o.TuiRepeatTimesModule,d.PolymorpheusModule,a.TuiInputNumberModule,r.TuiTextfieldControllerModule],declarations:[h,y],exports:[h,y]})],e)}();e.TuiInputSliderComponent=h,e.TuiInputSliderModule=b,e.TuiNewInputSliderDirective=y,Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-kit-components-input-slider.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/kit/components/input-slider/input-slider.component.ts","ng://@taiga-ui/kit/components/input-slider/input-slider.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","TuiNewInputSliderDirective","Directive","selector","TuiInputSliderComponent","control","changeDetectorRef","controller","fromToTexts$","isNew","i18nPlural","_this","_super","this","min","max","Infinity","quantum","steps","segments","keySteps","valueContent","prefix","postfix","secondary","TypeError","String","__","constructor","__extends","_a","inputNumberRef","nativeFocusableElement","computedDisabled","isNativeFocused","sliderRef","nativeElement","getFractionPartPadded","precision","Boolean","computedValueContent","focused","tuiAssert","assert","size","minLabel","maxLabel","pluralizeMap","value","$implicit","valueWithPlural","transform","focusTextInput","focusableElement","setNativeFocused","safelyUpdateValue","updateValue","valueGuard","safeCurrentValue","onVerticalArrowKeyDown","coefficient","readOnly","step","updateTextInputValue","onSliderChange","newValue","onFocused","textInputValue","getFormattedValue","updateFocused","onPressed","pressed","updatePressed","onHovered","hovered","updateHovered","nativeValue","getFallbackValue","roundedValue","round","Math","TUI_FLOATING_PRECISION","clamp","NgControl","type","Optional","Self","Inject","args","ChangeDetectorRef","TuiTextfieldController","TUI_TEXTFIELD_WATCHED_CONTROLLER","Observable","TUI_FROM_TO_TEXTS","I18nPluralPipe","ViewChild","TuiInputNumberComponent","TuiSliderComponent","read","ElementRef","Input","tuiDefaultProp","quantumAssertion","TuiInputSliderComponent_1","Component","template","host","[class._show-ticks-labels]","changeDetection","ChangeDetectionStrategy","OnPush","providers","provide","TUI_FOCUSABLE_ITEM_ACCESSOR","useExisting","forwardRef","tuiSliderOptionsProvider","trackColor","HINT_CONTROLLER_PROVIDER","TEXTFIELD_CONTROLLER_PROVIDER","AbstractTuiInputSlider","TuiInputSliderModule","NgModule","imports","CommonModule","FormsModule","ReactiveFormsModule","TuiFocusableModule","TuiSliderModule","TuiFormatNumberPipeModule","TuiRepeatTimesModule","PolymorpheusModule","TuiInputNumberModule","TuiTextfieldControllerModule","declarations","exports"],"mappings":"yxCAgBA,IAAIA,EAAgB,SAASC,EAAGC,GAI5B,OAHAF,EAAgBG,OAAOC,gBAClB,CAAEC,UAAW,cAAgBC,OAAS,SAAUL,EAAGC,GAAKD,EAAEI,UAAYH,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIK,KAAKL,EAAOC,OAAOK,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,MAC3EN,EAAGC,IAkCrB,SAASS,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2Hd,EAAvHe,EAAIC,UAAUC,OAAQC,EAAIH,EAAI,EAAIH,EAAkB,OAATE,EAAgBA,EAAOZ,OAAOiB,yBAAyBP,EAAQC,GAAOC,EACrH,GAAuB,iBAAZM,SAAoD,mBAArBA,QAAQC,SAAyBH,EAAIE,QAAQC,SAASV,EAAYC,EAAQC,EAAKC,QACpH,IAAK,IAAIQ,EAAIX,EAAWM,OAAS,EAAGK,GAAK,EAAGA,KAAStB,EAAIW,EAAWW,MAAIJ,GAAKH,EAAI,EAAIf,EAAEkB,GAAKH,EAAI,EAAIf,EAAEY,EAAQC,EAAKK,GAAKlB,EAAEY,EAAQC,KAASK,GAChJ,OAAOH,EAAI,GAAKG,GAAKhB,OAAOqB,eAAeX,EAAQC,EAAKK,GAAIA,EAGzD,SAASM,EAAQC,EAAYC,GAChC,OAAO,SAAUd,EAAQC,GAAOa,EAAUd,EAAQC,EAAKY,IA6C9BvB,OAAOyB,OA0GXzB,OAAOyB,wBC7JhC,SAAAC,KAAyC,O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H,EAAA,CAFCqH,EAAAA,QACAC,EAAAA,gDASDtH,EAAA,CAFCqH,EAAAA,QACAC,EAAAA,kDAnDQjG,EAAuBmG,EAAAxH,EAAA,CA3BnCyH,EAAAA,UAAU,CACPrG,SAAU,mBACVsG,SAAA,ugFAEAC,KAAM,CAKFC,6BAA8B,UAElCC,gBAAiBC,EAAAA,wBAAwBC,OACzCC,UAAW,CACPjB,EAAAA,eACA,CACIkB,QAASC,EAAAA,4BACTC,YAAaC,EAAAA,YAAW,WAAM,OAAAZ,MAElCa,EAAAA,yBAAyB,CAACC,WAAY,gBACtCC,EAAAA,yBACAC,EAAAA,smCA8DC1H,EAAA,EAAAwF,EAAAA,YACAxF,EAAA,EAAAyF,EAAAA,QACAzF,EAAA,EAAA0F,EAAAA,OAAOJ,EAAAA,YAEPtF,EAAA,EAAA0F,EAAAA,OAAOE,EAAAA,oBACP5F,EAAA,EAAA0F,EAAAA,OAAOI,EAAAA,mCAEP9F,EAAA,EAAA0F,EAAAA,OAAOM,EAAAA,oBACPhG,EAAA,EAAAwF,EAAAA,YACAxF,EAAA,EAAA0F,EAAAA,OAAOtF,IAEPJ,EAAA,EAAA0F,EAAAA,OAAOO,EAAAA,kBAlEH1F,IACDoH,EAAAA,wBAuMZ,SAASlB,EAAiBrF,GACtB,OAAOA,EAAU,mBCjQrB,SAAAwG,KAAmC,OAAtBA,EAAoB1I,EAAA,CAhBhC2I,EAAAA,SAAS,CACNC,QAAS,CACLC,EAAAA,aACAC,EAAAA,YACAC,EAAAA,oBACAC,EAAAA,mBACAC,EAAAA,gBACAC,EAAAA,0BACAC,EAAAA,qBACAC,EAAAA,mBACAC,EAAAA,qBACAC,EAAAA,8BAEJC,aAAc,CAAClI,EAAyBH,GACxCsI,QAAS,CAACnI,EAAyBH,MAE1BwH","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 {I18nPluralPipe} from '@angular/common';\nimport {\n ChangeDetectionStrategy,\n ChangeDetectorRef,\n Component,\n Directive,\n ElementRef,\n forwardRef,\n Inject,\n Input,\n Optional,\n Self,\n ViewChild,\n} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {\n clamp,\n isNativeFocused,\n round,\n setNativeFocused,\n TUI_FOCUSABLE_ITEM_ACCESSOR,\n tuiAssert,\n TuiContextWithImplicit,\n tuiDefaultProp,\n TuiFocusableElementAccessor,\n TuiNativeFocusableElement,\n} from '@taiga-ui/cdk';\nimport {\n getFractionPartPadded,\n HINT_CONTROLLER_PROVIDER,\n TEXTFIELD_CONTROLLER_PROVIDER,\n TUI_TEXTFIELD_WATCHED_CONTROLLER,\n TuiDecimalT,\n TuiSizeL,\n TuiTextfieldController,\n} from '@taiga-ui/core';\nimport {AbstractTuiInputSlider} from '@taiga-ui/kit/abstract';\nimport {TuiInputNumberComponent} from '@taiga-ui/kit/components/input-number';\nimport {\n TuiSliderComponent,\n tuiSliderOptionsProvider,\n} from '@taiga-ui/kit/components/slider';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TUI_FROM_TO_TEXTS} from '@taiga-ui/kit/tokens';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\n/**\n * Turn on new `InputSlider`'s version.\n * The new version will behave almost the same as `InputSlider` from the next major release.\n * @deprecated TODO remove me in v3.0 and make `InputSlider` always \"new\".\n */\n@Directive({\n selector: `tui-input-slider[new]`,\n})\nexport class TuiNewInputSliderDirective {}\n\n// @dynamic\n@Component({\n selector: `tui-input-slider`,\n templateUrl: `./input-slider.template.html`,\n styleUrls: [`./input-slider.style.less`],\n host: {\n /**\n * TODO delete it in v3.0\n * Dont forget to clear html-tags\n */\n '[class._show-ticks-labels]': `!isNew`,\n },\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [\n I18nPluralPipe,\n {\n provide: TUI_FOCUSABLE_ITEM_ACCESSOR,\n useExisting: forwardRef(() => TuiInputSliderComponent),\n },\n tuiSliderOptionsProvider({trackColor: `transparent`}),\n HINT_CONTROLLER_PROVIDER,\n TEXTFIELD_CONTROLLER_PROVIDER,\n ],\n})\n/**\n * TODO replace `extends AbstractTuiInputSlider<number>` by `extends AbstractTuiControl<number> implements TuiWithOptionalMinMax<number>`\n * in v3.0\n */\nexport class TuiInputSliderComponent\n extends AbstractTuiInputSlider<number>\n implements TuiFocusableElementAccessor\n{\n @ViewChild(TuiInputNumberComponent)\n private readonly inputNumberRef?: TuiInputNumberComponent;\n\n @ViewChild(TuiSliderComponent, {read: ElementRef})\n private readonly sliderRef?: ElementRef<HTMLInputElement>;\n\n @Input()\n @tuiDefaultProp()\n min = 0;\n\n @Input()\n @tuiDefaultProp()\n max = Infinity;\n\n @Input()\n @tuiDefaultProp(quantumAssertion, `Quantum must be positive`)\n quantum = 1;\n\n @Input()\n @tuiDefaultProp()\n steps = 0;\n\n @Input()\n @tuiDefaultProp()\n segments = 0;\n\n @Input()\n @tuiDefaultProp()\n keySteps: TuiKeySteps | null = null;\n\n @Input()\n @tuiDefaultProp()\n valueContent: PolymorpheusContent<TuiContextWithImplicit<number>> = ``;\n\n @Input()\n @tuiDefaultProp()\n prefix = ``;\n\n @Input()\n @tuiDefaultProp()\n postfix = ``;\n\n /**\n * @deprecated use `tuiTextfieldCustomContent` instead\n * TODO delete in v3.0\n */\n @Input()\n @tuiDefaultProp()\n secondary = ``;\n\n constructor(\n @Optional()\n @Self()\n @Inject(NgControl)\n control: NgControl | null,\n @Inject(ChangeDetectorRef) changeDetectorRef: ChangeDetectorRef,\n @Inject(TUI_TEXTFIELD_WATCHED_CONTROLLER)\n readonly controller: TuiTextfieldController,\n @Inject(TUI_FROM_TO_TEXTS) readonly fromToTexts$: Observable<[string, string]>,\n @Optional()\n @Inject(TuiNewInputSliderDirective)\n readonly isNew: TuiNewInputSliderDirective | null,\n @Inject(I18nPluralPipe) readonly i18nPlural: I18nPluralPipe,\n ) {\n super(control, changeDetectorRef);\n }\n\n get nativeFocusableElement(): TuiNativeFocusableElement | null {\n return !this.inputNumberRef?.nativeFocusableElement || this.computedDisabled\n ? null\n : this.inputNumberRef.nativeFocusableElement;\n }\n\n get focused(): boolean {\n return (\n isNativeFocused(this.nativeFocusableElement) ||\n isNativeFocused(this.sliderRef?.nativeElement || null)\n );\n }\n\n get computedSteps(): number {\n return this.steps || (this.max - this.min) / this.quantum;\n }\n\n get precision(): number {\n return getFractionPartPadded(this.quantum).length;\n }\n\n get decimal(): TuiDecimalT {\n return this.precision ? `not-zero` : `never`;\n }\n\n get showValueContent(): boolean {\n return Boolean(this.computedValueContent && !this.focused);\n }\n\n /**\n * TODO remove old property `size` in v3.0\n */\n get computedSize(): TuiSizeL {\n if (this.isNew) {\n tuiAssert.assert(\n this.controller.size !== `s`,\n `Size 's' is not supported by this input.`,\n );\n\n return this.controller.size === `l` ? `l` : `m`;\n }\n\n return this.size;\n }\n\n /**\n * @deprecated for backward compatibility\n * TODO replace by just `this.valueContent` in v3.0\n */\n get computedValueContent(): PolymorpheusContent<TuiContextWithImplicit<number>> {\n return this.minLabel || this.maxLabel\n ? legacyMinMaxLabel(this)\n : this.valueContent;\n }\n\n focusTextInput(): void {\n const focusableElement = this.inputNumberRef?.nativeFocusableElement;\n\n if (focusableElement) {\n setNativeFocused(focusableElement);\n }\n }\n\n safelyUpdateValue(value: number | null): void {\n this.updateValue(this.valueGuard(value ?? this.safeCurrentValue));\n }\n\n onVerticalArrowKeyDown(coefficient: number): void {\n if (this.readOnly || !this.step) {\n return;\n }\n\n const value = this.value + coefficient * this.step;\n\n if (value !== this.value) {\n this.safelyUpdateValue(value);\n }\n\n this.updateTextInputValue(this.valueGuard(value));\n }\n\n onSliderChange(newValue: number): void {\n this.safelyUpdateValue(newValue);\n this.updateTextInputValue(this.value);\n }\n\n onFocused(focused: boolean): void {\n const {value, textInputValue, safeCurrentValue, inputNumberRef} = this;\n\n if (!focused && textInputValue !== inputNumberRef?.getFormattedValue(value)) {\n this.updateTextInputValue(value ?? safeCurrentValue);\n }\n\n this.updateFocused(focused);\n }\n\n onPressed(pressed: boolean): void {\n this.updatePressed(pressed);\n }\n\n onHovered(hovered: boolean): void {\n this.updateHovered(hovered);\n }\n\n private get textInputValue(): string {\n return this.inputNumberRef?.nativeValue || ``;\n }\n\n protected getFallbackValue(): number {\n return 0;\n }\n\n protected valueGuard(value: number): number {\n const roundedValue = round(\n Math.round(value / this.quantum) * this.quantum,\n TUI_FLOATING_PRECISION,\n );\n\n return clamp(roundedValue, this.min, this.max);\n }\n\n private updateTextInputValue(value: number): void {\n if (this.inputNumberRef) {\n this.inputNumberRef.nativeValue =\n this.inputNumberRef.getFormattedValue(value);\n }\n }\n}\n\nfunction quantumAssertion(quantum: number): boolean {\n return quantum > 0;\n}\n\n/**\n * @deprecated helper for backward compatibility.\n * TODO remove in v3.0\n */\nfunction legacyMinMaxLabel({\n min,\n max,\n minLabel,\n maxLabel,\n i18nPlural,\n pluralizeMap,\n}: TuiInputSliderComponent): (\n context: TuiContextWithImplicit<number>,\n) => string | number {\n return ({$implicit: value}: TuiContextWithImplicit<number>) => {\n const valueWithPlural = `${value} ${\n pluralizeMap ? i18nPlural.transform(value, pluralizeMap) : ``\n }`;\n\n switch (value) {\n case min:\n return minLabel || valueWithPlural;\n case max:\n return maxLabel || valueWithPlural;\n default:\n return valueWithPlural;\n }\n };\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {FormsModule, ReactiveFormsModule} from '@angular/forms';\nimport {TuiFocusableModule, TuiRepeatTimesModule} from '@taiga-ui/cdk';\nimport {TuiFormatNumberPipeModule, TuiTextfieldControllerModule} from '@taiga-ui/core';\nimport {TuiInputNumberModule} from '@taiga-ui/kit/components/input-number';\nimport {TuiSliderModule} from '@taiga-ui/kit/components/slider';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {\n TuiInputSliderComponent,\n TuiNewInputSliderDirective,\n} from './input-slider.component';\n\n@NgModule({\n imports: [\n CommonModule,\n FormsModule,\n ReactiveFormsModule,\n TuiFocusableModule,\n TuiSliderModule,\n TuiFormatNumberPipeModule,\n TuiRepeatTimesModule,\n PolymorpheusModule,\n TuiInputNumberModule,\n TuiTextfieldControllerModule,\n ],\n declarations: [TuiInputSliderComponent, TuiNewInputSliderDirective],\n exports: [TuiInputSliderComponent, TuiNewInputSliderDirective],\n})\nexport class TuiInputSliderModule {}\n"]}