@taiga-ui/kit 3.49.0 → 3.50.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (835) hide show
  1. package/abstract/taiga-ui-kit-abstract.d.ts +0 -3
  2. package/bundles/taiga-ui-kit-abstract.umd.js +0 -4
  3. package/bundles/taiga-ui-kit-abstract.umd.js.map +1 -1
  4. package/bundles/taiga-ui-kit-classes.umd.js +0 -7
  5. package/bundles/taiga-ui-kit-classes.umd.js.map +1 -1
  6. package/bundles/taiga-ui-kit-components-accordion.umd.js +0 -4
  7. package/bundles/taiga-ui-kit-components-accordion.umd.js.map +1 -1
  8. package/bundles/taiga-ui-kit-components-action.umd.js +0 -4
  9. package/bundles/taiga-ui-kit-components-action.umd.js.map +1 -1
  10. package/bundles/taiga-ui-kit-components-arrow.umd.js +0 -11
  11. package/bundles/taiga-ui-kit-components-arrow.umd.js.map +1 -1
  12. package/bundles/taiga-ui-kit-components-avatar.umd.js +0 -8
  13. package/bundles/taiga-ui-kit-components-avatar.umd.js.map +1 -1
  14. package/bundles/taiga-ui-kit-components-badge.umd.js +0 -4
  15. package/bundles/taiga-ui-kit-components-badge.umd.js.map +1 -1
  16. package/bundles/taiga-ui-kit-components-badged-content.umd.js +0 -4
  17. package/bundles/taiga-ui-kit-components-badged-content.umd.js.map +1 -1
  18. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js +0 -4
  19. package/bundles/taiga-ui-kit-components-breadcrumbs.umd.js.map +1 -1
  20. package/bundles/taiga-ui-kit-components-calendar-month.umd.js +0 -4
  21. package/bundles/taiga-ui-kit-components-calendar-month.umd.js.map +1 -1
  22. package/bundles/taiga-ui-kit-components-calendar-range.umd.js +6 -13
  23. package/bundles/taiga-ui-kit-components-calendar-range.umd.js.map +1 -1
  24. package/bundles/taiga-ui-kit-components-carousel.umd.js +0 -5
  25. package/bundles/taiga-ui-kit-components-carousel.umd.js.map +1 -1
  26. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js +0 -5
  27. package/bundles/taiga-ui-kit-components-checkbox-block.umd.js.map +1 -1
  28. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js +0 -5
  29. package/bundles/taiga-ui-kit-components-checkbox-labeled.umd.js.map +1 -1
  30. package/bundles/taiga-ui-kit-components-checkbox.umd.js +0 -5
  31. package/bundles/taiga-ui-kit-components-checkbox.umd.js.map +1 -1
  32. package/bundles/taiga-ui-kit-components-combo-box.umd.js +0 -5
  33. package/bundles/taiga-ui-kit-components-combo-box.umd.js.map +1 -1
  34. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js +0 -4
  35. package/bundles/taiga-ui-kit-components-data-list-wrapper.umd.js.map +1 -1
  36. package/bundles/taiga-ui-kit-components-elastic-container.umd.js +0 -4
  37. package/bundles/taiga-ui-kit-components-elastic-container.umd.js.map +1 -1
  38. package/bundles/taiga-ui-kit-components-files.umd.js +0 -8
  39. package/bundles/taiga-ui-kit-components-files.umd.js.map +1 -1
  40. package/bundles/taiga-ui-kit-components-filter.umd.js +0 -5
  41. package/bundles/taiga-ui-kit-components-filter.umd.js.map +1 -1
  42. package/bundles/taiga-ui-kit-components-input-copy.umd.js +0 -4
  43. package/bundles/taiga-ui-kit-components-input-copy.umd.js.map +1 -1
  44. package/bundles/taiga-ui-kit-components-input-count.umd.js +0 -21
  45. package/bundles/taiga-ui-kit-components-input-count.umd.js.map +1 -1
  46. package/bundles/taiga-ui-kit-components-input-date-range.umd.js +0 -4
  47. package/bundles/taiga-ui-kit-components-input-date-range.umd.js.map +1 -1
  48. package/bundles/taiga-ui-kit-components-input-date-time.umd.js +0 -4
  49. package/bundles/taiga-ui-kit-components-input-date-time.umd.js.map +1 -1
  50. package/bundles/taiga-ui-kit-components-input-date.umd.js +0 -9
  51. package/bundles/taiga-ui-kit-components-input-date.umd.js.map +1 -1
  52. package/bundles/taiga-ui-kit-components-input-files.umd.js +1 -15
  53. package/bundles/taiga-ui-kit-components-input-files.umd.js.map +1 -1
  54. package/bundles/taiga-ui-kit-components-input-inline.umd.js +0 -6
  55. package/bundles/taiga-ui-kit-components-input-inline.umd.js.map +1 -1
  56. package/bundles/taiga-ui-kit-components-input-month-range.umd.js +0 -4
  57. package/bundles/taiga-ui-kit-components-input-month-range.umd.js.map +1 -1
  58. package/bundles/taiga-ui-kit-components-input-month.umd.js +0 -4
  59. package/bundles/taiga-ui-kit-components-input-month.umd.js.map +1 -1
  60. package/bundles/taiga-ui-kit-components-input-number.umd.js +0 -11
  61. package/bundles/taiga-ui-kit-components-input-number.umd.js.map +1 -1
  62. package/bundles/taiga-ui-kit-components-input-password.umd.js +0 -8
  63. package/bundles/taiga-ui-kit-components-input-password.umd.js.map +1 -1
  64. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js +0 -23
  65. package/bundles/taiga-ui-kit-components-input-phone-international.umd.js.map +1 -1
  66. package/bundles/taiga-ui-kit-components-input-phone.umd.js +2 -33
  67. package/bundles/taiga-ui-kit-components-input-phone.umd.js.map +1 -1
  68. package/bundles/taiga-ui-kit-components-input-range.umd.js +0 -4
  69. package/bundles/taiga-ui-kit-components-input-range.umd.js.map +1 -1
  70. package/bundles/taiga-ui-kit-components-input-slider.umd.js +0 -6
  71. package/bundles/taiga-ui-kit-components-input-slider.umd.js.map +1 -1
  72. package/bundles/taiga-ui-kit-components-input-tag.umd.js +1 -11
  73. package/bundles/taiga-ui-kit-components-input-tag.umd.js.map +1 -1
  74. package/bundles/taiga-ui-kit-components-input-time.umd.js +0 -9
  75. package/bundles/taiga-ui-kit-components-input-time.umd.js.map +1 -1
  76. package/bundles/taiga-ui-kit-components-input-year.umd.js +0 -4
  77. package/bundles/taiga-ui-kit-components-input-year.umd.js.map +1 -1
  78. package/bundles/taiga-ui-kit-components-input.umd.js +8 -7
  79. package/bundles/taiga-ui-kit-components-input.umd.js.map +1 -1
  80. package/bundles/taiga-ui-kit-components-island.umd.js +0 -4
  81. package/bundles/taiga-ui-kit-components-island.umd.js.map +1 -1
  82. package/bundles/taiga-ui-kit-components-items-with-more.umd.js +0 -4
  83. package/bundles/taiga-ui-kit-components-items-with-more.umd.js.map +1 -1
  84. package/bundles/taiga-ui-kit-components-line-clamp.umd.js +0 -8
  85. package/bundles/taiga-ui-kit-components-line-clamp.umd.js.map +1 -1
  86. package/bundles/taiga-ui-kit-components-marker-icon.umd.js +0 -4
  87. package/bundles/taiga-ui-kit-components-marker-icon.umd.js.map +1 -1
  88. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js +0 -4
  89. package/bundles/taiga-ui-kit-components-multi-select-option.umd.js.map +1 -1
  90. package/bundles/taiga-ui-kit-components-multi-select.umd.js +1 -9
  91. package/bundles/taiga-ui-kit-components-multi-select.umd.js.map +1 -1
  92. package/bundles/taiga-ui-kit-components-pagination.umd.js +0 -38
  93. package/bundles/taiga-ui-kit-components-pagination.umd.js.map +1 -1
  94. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js +0 -7
  95. package/bundles/taiga-ui-kit-components-pdf-viewer.umd.js.map +1 -1
  96. package/bundles/taiga-ui-kit-components-progress.umd.js +0 -6
  97. package/bundles/taiga-ui-kit-components-progress.umd.js.map +1 -1
  98. package/bundles/taiga-ui-kit-components-prompt.umd.js +0 -5
  99. package/bundles/taiga-ui-kit-components-prompt.umd.js.map +1 -1
  100. package/bundles/taiga-ui-kit-components-push.umd.js +0 -7
  101. package/bundles/taiga-ui-kit-components-push.umd.js.map +1 -1
  102. package/bundles/taiga-ui-kit-components-radio-block.umd.js +0 -5
  103. package/bundles/taiga-ui-kit-components-radio-block.umd.js.map +1 -1
  104. package/bundles/taiga-ui-kit-components-radio-group.umd.js +0 -4
  105. package/bundles/taiga-ui-kit-components-radio-group.umd.js.map +1 -1
  106. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js +0 -5
  107. package/bundles/taiga-ui-kit-components-radio-labeled.umd.js.map +1 -1
  108. package/bundles/taiga-ui-kit-components-radio-list.umd.js +0 -6
  109. package/bundles/taiga-ui-kit-components-radio-list.umd.js.map +1 -1
  110. package/bundles/taiga-ui-kit-components-radio.umd.js +0 -8
  111. package/bundles/taiga-ui-kit-components-radio.umd.js.map +1 -1
  112. package/bundles/taiga-ui-kit-components-range.umd.js +0 -9
  113. package/bundles/taiga-ui-kit-components-range.umd.js.map +1 -1
  114. package/bundles/taiga-ui-kit-components-rating.umd.js +0 -7
  115. package/bundles/taiga-ui-kit-components-rating.umd.js.map +1 -1
  116. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js +0 -4
  117. package/bundles/taiga-ui-kit-components-routable-dialog.umd.js.map +1 -1
  118. package/bundles/taiga-ui-kit-components-select-option.umd.js +0 -11
  119. package/bundles/taiga-ui-kit-components-select-option.umd.js.map +1 -1
  120. package/bundles/taiga-ui-kit-components-select.umd.js +0 -7
  121. package/bundles/taiga-ui-kit-components-select.umd.js.map +1 -1
  122. package/bundles/taiga-ui-kit-components-slider.umd.js +0 -39
  123. package/bundles/taiga-ui-kit-components-slider.umd.js.map +1 -1
  124. package/bundles/taiga-ui-kit-components-stepper.umd.js +9 -8
  125. package/bundles/taiga-ui-kit-components-stepper.umd.js.map +1 -1
  126. package/bundles/taiga-ui-kit-components-tabs.umd.js +1 -25
  127. package/bundles/taiga-ui-kit-components-tabs.umd.js.map +1 -1
  128. package/bundles/taiga-ui-kit-components-tag.umd.js +0 -9
  129. package/bundles/taiga-ui-kit-components-tag.umd.js.map +1 -1
  130. package/bundles/taiga-ui-kit-components-textarea.umd.js +0 -13
  131. package/bundles/taiga-ui-kit-components-textarea.umd.js.map +1 -1
  132. package/bundles/taiga-ui-kit-components-tiles.umd.js +0 -4
  133. package/bundles/taiga-ui-kit-components-tiles.umd.js.map +1 -1
  134. package/bundles/taiga-ui-kit-components-toggle.umd.js +0 -9
  135. package/bundles/taiga-ui-kit-components-toggle.umd.js.map +1 -1
  136. package/bundles/taiga-ui-kit-components-tree.umd.js +0 -28
  137. package/bundles/taiga-ui-kit-components-tree.umd.js.map +1 -1
  138. package/bundles/taiga-ui-kit-components.umd.js +0 -4
  139. package/bundles/taiga-ui-kit-components.umd.js.map +1 -1
  140. package/bundles/taiga-ui-kit-constants.umd.js +0 -19
  141. package/bundles/taiga-ui-kit-constants.umd.js.map +1 -1
  142. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js +0 -5
  143. package/bundles/taiga-ui-kit-directives-data-list-dropdown-manager.umd.js.map +1 -1
  144. package/bundles/taiga-ui-kit-directives-highlight.umd.js +0 -4
  145. package/bundles/taiga-ui-kit-directives-highlight.umd.js.map +1 -1
  146. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js +0 -4
  147. package/bundles/taiga-ui-kit-directives-lazy-loading.umd.js.map +1 -1
  148. package/bundles/taiga-ui-kit-directives-mask.umd.js +0 -26
  149. package/bundles/taiga-ui-kit-directives-mask.umd.js.map +1 -1
  150. package/bundles/taiga-ui-kit-directives-present.umd.js +0 -15
  151. package/bundles/taiga-ui-kit-directives-present.umd.js.map +1 -1
  152. package/bundles/taiga-ui-kit-directives-project-class.umd.js +0 -7
  153. package/bundles/taiga-ui-kit-directives-project-class.umd.js.map +1 -1
  154. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js +1 -7
  155. package/bundles/taiga-ui-kit-directives-unfinished-validator.umd.js.map +1 -1
  156. package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js +407 -0
  157. package/bundles/taiga-ui-kit-directives-unmask-handler.umd.js.map +1 -0
  158. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js +0 -4
  159. package/bundles/taiga-ui-kit-directives-value-accessor.umd.js.map +1 -1
  160. package/bundles/taiga-ui-kit-directives.umd.js +10 -8
  161. package/bundles/taiga-ui-kit-directives.umd.js.map +1 -1
  162. package/bundles/taiga-ui-kit-interfaces.umd.js +1 -3
  163. package/bundles/taiga-ui-kit-interfaces.umd.js.map +1 -1
  164. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js +0 -10
  165. package/bundles/taiga-ui-kit-internal-primitive-calendar-range.umd.js.map +1 -1
  166. package/bundles/taiga-ui-kit-internal.umd.js +0 -4
  167. package/bundles/taiga-ui-kit-internal.umd.js.map +1 -1
  168. package/bundles/taiga-ui-kit-pipes-field-error.umd.js +0 -4
  169. package/bundles/taiga-ui-kit-pipes-field-error.umd.js.map +1 -1
  170. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js +0 -7
  171. package/bundles/taiga-ui-kit-pipes-filter-by-input.umd.js.map +1 -1
  172. package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.js +0 -4
  173. package/bundles/taiga-ui-kit-pipes-iso-to-country-code.umd.js.map +1 -1
  174. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js +0 -4
  175. package/bundles/taiga-ui-kit-pipes-sort-countries.umd.js.map +1 -1
  176. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js +0 -4
  177. package/bundles/taiga-ui-kit-pipes-stringify-content.umd.js.map +1 -1
  178. package/bundles/taiga-ui-kit-pipes-stringify.umd.js +0 -4
  179. package/bundles/taiga-ui-kit-pipes-stringify.umd.js.map +1 -1
  180. package/bundles/taiga-ui-kit-pipes-to-country-code.umd.js +0 -4
  181. package/bundles/taiga-ui-kit-pipes-to-country-code.umd.js.map +1 -1
  182. package/bundles/taiga-ui-kit-pipes-to-year.umd.js +0 -4
  183. package/bundles/taiga-ui-kit-pipes-to-year.umd.js.map +1 -1
  184. package/bundles/taiga-ui-kit-pipes.umd.js +0 -4
  185. package/bundles/taiga-ui-kit-pipes.umd.js.map +1 -1
  186. package/bundles/taiga-ui-kit-providers.umd.js +0 -4
  187. package/bundles/taiga-ui-kit-providers.umd.js.map +1 -1
  188. package/bundles/taiga-ui-kit-services.umd.js +0 -4
  189. package/bundles/taiga-ui-kit-services.umd.js.map +1 -1
  190. package/bundles/taiga-ui-kit-tokens.umd.js +0 -35
  191. package/bundles/taiga-ui-kit-tokens.umd.js.map +1 -1
  192. package/bundles/taiga-ui-kit-types.umd.js +1 -3
  193. package/bundles/taiga-ui-kit-types.umd.js.map +1 -1
  194. package/bundles/taiga-ui-kit-utils-files.umd.js +0 -4
  195. package/bundles/taiga-ui-kit-utils-files.umd.js.map +1 -1
  196. package/bundles/taiga-ui-kit-utils-format.umd.js +0 -10
  197. package/bundles/taiga-ui-kit-utils-format.umd.js.map +1 -1
  198. package/bundles/taiga-ui-kit-utils-mask.umd.js +0 -50
  199. package/bundles/taiga-ui-kit-utils-mask.umd.js.map +1 -1
  200. package/bundles/taiga-ui-kit-utils-math.umd.js +0 -7
  201. package/bundles/taiga-ui-kit-utils-math.umd.js.map +1 -1
  202. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js +0 -10
  203. package/bundles/taiga-ui-kit-utils-miscellaneous.umd.js.map +1 -1
  204. package/bundles/taiga-ui-kit-utils-phone.umd.js +0 -4
  205. package/bundles/taiga-ui-kit-utils-phone.umd.js.map +1 -1
  206. package/bundles/taiga-ui-kit-utils.umd.js +0 -4
  207. package/bundles/taiga-ui-kit-utils.umd.js.map +1 -1
  208. package/bundles/taiga-ui-kit-validators.umd.js +0 -4
  209. package/bundles/taiga-ui-kit-validators.umd.js.map +1 -1
  210. package/bundles/taiga-ui-kit.umd.js +0 -4
  211. package/bundles/taiga-ui-kit.umd.js.map +1 -1
  212. package/classes/stringifiable-item.d.ts +0 -3
  213. package/classes/taiga-ui-kit-classes.d.ts +0 -3
  214. package/components/accordion/taiga-ui-kit-components-accordion.d.ts +0 -3
  215. package/components/action/taiga-ui-kit-components-action.d.ts +0 -3
  216. package/components/arrow/arrow.options.d.ts +0 -4
  217. package/components/arrow/arrow.providers.d.ts +0 -3
  218. package/components/arrow/taiga-ui-kit-components-arrow.d.ts +0 -3
  219. package/components/avatar/avatar.options.d.ts +0 -4
  220. package/components/avatar/taiga-ui-kit-components-avatar.d.ts +0 -3
  221. package/components/badge/taiga-ui-kit-components-badge.d.ts +0 -3
  222. package/components/badged-content/taiga-ui-kit-components-badged-content.d.ts +0 -3
  223. package/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.d.ts +0 -3
  224. package/components/calendar-month/taiga-ui-kit-components-calendar-month.d.ts +0 -3
  225. package/components/calendar-range/calendar-range.component.d.ts +4 -4
  226. package/components/calendar-range/taiga-ui-kit-components-calendar-range.d.ts +0 -3
  227. package/components/carousel/taiga-ui-kit-components-carousel.d.ts +0 -3
  228. package/components/checkbox/checkbox.component.d.ts +0 -1
  229. package/components/checkbox/taiga-ui-kit-components-checkbox.d.ts +0 -3
  230. package/components/checkbox-block/checkbox-block.component.d.ts +0 -1
  231. package/components/checkbox-block/taiga-ui-kit-components-checkbox-block.d.ts +0 -3
  232. package/components/checkbox-labeled/checkbox-labeled.component.d.ts +0 -1
  233. package/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.d.ts +0 -3
  234. package/components/combo-box/combo-box.component.d.ts +0 -1
  235. package/components/combo-box/taiga-ui-kit-components-combo-box.d.ts +0 -3
  236. package/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.d.ts +0 -3
  237. package/components/elastic-container/taiga-ui-kit-components-elastic-container.d.ts +0 -3
  238. package/components/files/file/file-options.d.ts +0 -3
  239. package/components/files/taiga-ui-kit-components-files.d.ts +0 -3
  240. package/components/filter/taiga-ui-kit-components-filter.d.ts +0 -3
  241. package/components/input/input.component.d.ts +3 -3
  242. package/components/input/taiga-ui-kit-components-input.d.ts +0 -3
  243. package/components/input-copy/taiga-ui-kit-components-input-copy.d.ts +0 -3
  244. package/components/input-count/input-count.component.d.ts +0 -10
  245. package/components/input-count/input-count.module.d.ts +0 -3
  246. package/components/input-count/input-count.options.d.ts +0 -4
  247. package/components/input-count/taiga-ui-kit-components-input-count.d.ts +0 -3
  248. package/components/input-date/input-date.component.d.ts +0 -4
  249. package/components/input-date/taiga-ui-kit-components-input-date.d.ts +0 -3
  250. package/components/input-date-range/input-date-range.component.d.ts +2 -2
  251. package/components/input-date-range/taiga-ui-kit-components-input-date-range.d.ts +0 -3
  252. package/components/input-date-time/taiga-ui-kit-components-input-date-time.d.ts +0 -3
  253. package/components/input-files/input-files.component.d.ts +0 -6
  254. package/components/input-files/input-files.options.d.ts +0 -8
  255. package/components/input-files/taiga-ui-kit-components-input-files.d.ts +0 -3
  256. package/components/input-inline/taiga-ui-kit-components-input-inline.d.ts +0 -3
  257. package/components/input-month/taiga-ui-kit-components-input-month.d.ts +0 -3
  258. package/components/input-month-range/taiga-ui-kit-components-input-month-range.d.ts +0 -3
  259. package/components/input-number/input-number.component.d.ts +0 -2
  260. package/components/input-number/input-number.options.d.ts +0 -4
  261. package/components/input-number/taiga-ui-kit-components-input-number.d.ts +0 -3
  262. package/components/input-password/input-password.options.d.ts +0 -4
  263. package/components/input-password/taiga-ui-kit-components-input-password.d.ts +0 -3
  264. package/components/input-phone/input-phone.options.d.ts +0 -3
  265. package/components/input-phone/taiga-ui-kit-components-input-phone.d.ts +0 -3
  266. package/components/input-phone/utils/complete-phone-insertion-preprocessor.d.ts +0 -7
  267. package/components/input-phone/utils/create-phone-mask-expression.d.ts +0 -6
  268. package/components/input-phone-international/input-phone-international.component.d.ts +2 -15
  269. package/components/input-phone-international/input-phone-international.options.d.ts +0 -3
  270. package/components/input-phone-international/taiga-ui-kit-components-input-phone-international.d.ts +0 -3
  271. package/components/input-range/taiga-ui-kit-components-input-range.d.ts +0 -3
  272. package/components/input-slider/input-slider.component.d.ts +0 -2
  273. package/components/input-slider/taiga-ui-kit-components-input-slider.d.ts +0 -3
  274. package/components/input-tag/input-tag.options.d.ts +0 -3
  275. package/components/input-tag/taiga-ui-kit-components-input-tag.d.ts +0 -3
  276. package/components/input-time/input-time.component.d.ts +0 -1
  277. package/components/input-time/input-time.options.d.ts +0 -3
  278. package/components/input-time/taiga-ui-kit-components-input-time.d.ts +0 -3
  279. package/components/input-year/taiga-ui-kit-components-input-year.d.ts +0 -3
  280. package/components/island/taiga-ui-kit-components-island.d.ts +0 -3
  281. package/components/items-with-more/taiga-ui-kit-components-items-with-more.d.ts +0 -3
  282. package/components/line-clamp/line-clamp.options.d.ts +0 -3
  283. package/components/line-clamp/taiga-ui-kit-components-line-clamp.d.ts +0 -3
  284. package/components/marker-icon/taiga-ui-kit-components-marker-icon.d.ts +0 -3
  285. package/components/multi-select/multi-select.component.d.ts +3 -3
  286. package/components/multi-select/multi-select.options.d.ts +0 -3
  287. package/components/multi-select/native-multi-select/native-multi-select.d.ts +2 -2
  288. package/components/multi-select/taiga-ui-kit-components-multi-select.d.ts +0 -3
  289. package/components/multi-select-option/taiga-ui-kit-components-multi-select-option.d.ts +0 -3
  290. package/components/pagination/pagination.component.d.ts +0 -37
  291. package/components/pagination/taiga-ui-kit-components-pagination.d.ts +0 -3
  292. package/components/pdf-viewer/pdf-viewer.options.d.ts +0 -3
  293. package/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.d.ts +0 -3
  294. package/components/progress/taiga-ui-kit-components-progress.d.ts +0 -3
  295. package/components/prompt/taiga-ui-kit-components-prompt.d.ts +0 -3
  296. package/components/push/push.options.d.ts +0 -3
  297. package/components/push/taiga-ui-kit-components-push.d.ts +0 -3
  298. package/components/radio/radio.options.d.ts +0 -4
  299. package/components/radio/taiga-ui-kit-components-radio.d.ts +0 -3
  300. package/components/radio-block/radio-block.component.d.ts +0 -1
  301. package/components/radio-block/taiga-ui-kit-components-radio-block.d.ts +0 -3
  302. package/components/radio-group/taiga-ui-kit-components-radio-group.d.ts +0 -3
  303. package/components/radio-labeled/radio-labeled.component.d.ts +0 -1
  304. package/components/radio-labeled/taiga-ui-kit-components-radio-labeled.d.ts +0 -3
  305. package/components/radio-list/radio-list.component.d.ts +0 -1
  306. package/components/radio-list/taiga-ui-kit-components-radio-list.d.ts +0 -3
  307. package/components/range/range-change.directive.d.ts +0 -4
  308. package/components/range/taiga-ui-kit-components-range.d.ts +0 -3
  309. package/components/rating/rating.options.d.ts +0 -3
  310. package/components/rating/taiga-ui-kit-components-rating.d.ts +0 -3
  311. package/components/routable-dialog/taiga-ui-kit-components-routable-dialog.d.ts +0 -3
  312. package/components/select/select.options.d.ts +0 -3
  313. package/components/select/taiga-ui-kit-components-select.d.ts +0 -3
  314. package/components/select-option/taiga-ui-kit-components-select-option.d.ts +0 -3
  315. package/components/slider/helpers/slider-readonly.directive.d.ts +0 -4
  316. package/components/slider/slider.options.d.ts +0 -3
  317. package/components/slider/taiga-ui-kit-components-slider.d.ts +0 -3
  318. package/components/stepper/stepper.component.d.ts +3 -2
  319. package/components/stepper/taiga-ui-kit-components-stepper.d.ts +0 -3
  320. package/components/tabs/tab/tab.providers.d.ts +0 -3
  321. package/components/tabs/tabs/tabs.component.d.ts +0 -2
  322. package/components/tabs/tabs.options.d.ts +0 -3
  323. package/components/tabs/taiga-ui-kit-components-tabs.d.ts +0 -3
  324. package/components/tag/tag.options.d.ts +0 -4
  325. package/components/tag/taiga-ui-kit-components-tag.d.ts +0 -3
  326. package/components/taiga-ui-kit-components.d.ts +0 -3
  327. package/components/textarea/deprecated.d.ts +0 -9
  328. package/components/textarea/taiga-ui-kit-components-textarea.d.ts +0 -3
  329. package/components/tiles/taiga-ui-kit-components-tiles.d.ts +0 -3
  330. package/components/toggle/taiga-ui-kit-components-toggle.d.ts +0 -3
  331. package/components/toggle/toggle.component.d.ts +0 -1
  332. package/components/toggle/toggle.options.d.ts +0 -4
  333. package/components/tree/misc/tree.tokens.d.ts +0 -24
  334. package/components/tree/taiga-ui-kit-components-tree.d.ts +0 -3
  335. package/constants/empty-mask.d.ts +0 -4
  336. package/constants/group-class-names.d.ts +0 -4
  337. package/constants/masks.d.ts +0 -4
  338. package/constants/math.d.ts +0 -3
  339. package/constants/max-day-range-length-mapper.d.ts +2 -2
  340. package/constants/taiga-ui-kit-constants.d.ts +0 -3
  341. package/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.d.ts +0 -3
  342. package/directives/highlight/taiga-ui-kit-directives-highlight.d.ts +0 -3
  343. package/directives/index.d.ts +1 -0
  344. package/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.d.ts +0 -3
  345. package/directives/mask/legacy-mask.d.ts +0 -21
  346. package/directives/mask/taiga-ui-kit-directives-mask.d.ts +0 -3
  347. package/directives/present/present.directive.d.ts +0 -11
  348. package/directives/present/taiga-ui-kit-directives-present.d.ts +0 -3
  349. package/directives/project-class/project-class.directive.d.ts +0 -3
  350. package/directives/project-class/taiga-ui-kit-directives-project-class.d.ts +0 -3
  351. package/directives/taiga-ui-kit-directives.d.ts +0 -3
  352. package/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.d.ts +0 -3
  353. package/directives/unmask-handler/index.d.ts +2 -0
  354. package/directives/unmask-handler/package.json +10 -0
  355. package/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.d.ts +2 -0
  356. package/directives/unmask-handler/unmask-handler.directive.d.ts +11 -0
  357. package/directives/unmask-handler/unmask-handler.module.d.ts +7 -0
  358. package/directives/value-accessor/taiga-ui-kit-directives-value-accessor.d.ts +0 -3
  359. package/esm2015/abstract/taiga-ui-kit-abstract.js +1 -4
  360. package/esm2015/classes/stringifiable-item.js +1 -4
  361. package/esm2015/classes/taiga-ui-kit-classes.js +1 -4
  362. package/esm2015/components/accordion/taiga-ui-kit-components-accordion.js +1 -4
  363. package/esm2015/components/action/taiga-ui-kit-components-action.js +1 -4
  364. package/esm2015/components/arrow/arrow.options.js +1 -5
  365. package/esm2015/components/arrow/arrow.providers.js +1 -4
  366. package/esm2015/components/arrow/taiga-ui-kit-components-arrow.js +1 -4
  367. package/esm2015/components/avatar/avatar.options.js +1 -5
  368. package/esm2015/components/avatar/taiga-ui-kit-components-avatar.js +1 -4
  369. package/esm2015/components/badge/taiga-ui-kit-components-badge.js +1 -4
  370. package/esm2015/components/badged-content/taiga-ui-kit-components-badged-content.js +1 -4
  371. package/esm2015/components/breadcrumbs/taiga-ui-kit-components-breadcrumbs.js +1 -4
  372. package/esm2015/components/calendar-month/taiga-ui-kit-components-calendar-month.js +1 -4
  373. package/esm2015/components/calendar-range/calendar-range.component.js +3 -3
  374. package/esm2015/components/calendar-range/taiga-ui-kit-components-calendar-range.js +1 -4
  375. package/esm2015/components/carousel/carousel-scroll.directive.js +1 -2
  376. package/esm2015/components/carousel/taiga-ui-kit-components-carousel.js +1 -4
  377. package/esm2015/components/checkbox/checkbox.component.js +1 -2
  378. package/esm2015/components/checkbox/taiga-ui-kit-components-checkbox.js +1 -4
  379. package/esm2015/components/checkbox-block/checkbox-block.component.js +1 -2
  380. package/esm2015/components/checkbox-block/taiga-ui-kit-components-checkbox-block.js +1 -4
  381. package/esm2015/components/checkbox-labeled/checkbox-labeled.component.js +1 -2
  382. package/esm2015/components/checkbox-labeled/taiga-ui-kit-components-checkbox-labeled.js +1 -4
  383. package/esm2015/components/combo-box/combo-box.component.js +1 -2
  384. package/esm2015/components/combo-box/taiga-ui-kit-components-combo-box.js +1 -4
  385. package/esm2015/components/data-list-wrapper/taiga-ui-kit-components-data-list-wrapper.js +1 -4
  386. package/esm2015/components/elastic-container/taiga-ui-kit-components-elastic-container.js +1 -4
  387. package/esm2015/components/files/file/file-options.js +1 -4
  388. package/esm2015/components/files/file/file.component.js +1 -2
  389. package/esm2015/components/files/taiga-ui-kit-components-files.js +1 -4
  390. package/esm2015/components/filter/filter.component.js +1 -2
  391. package/esm2015/components/filter/taiga-ui-kit-components-filter.js +1 -4
  392. package/esm2015/components/input/input.component.js +10 -5
  393. package/esm2015/components/input/taiga-ui-kit-components-input.js +1 -4
  394. package/esm2015/components/input-copy/taiga-ui-kit-components-input-copy.js +1 -4
  395. package/esm2015/components/input-count/input-count.component.js +1 -11
  396. package/esm2015/components/input-count/input-count.module.js +1 -4
  397. package/esm2015/components/input-count/input-count.options.js +1 -5
  398. package/esm2015/components/input-count/taiga-ui-kit-components-input-count.js +1 -4
  399. package/esm2015/components/input-date/input-date.component.js +1 -6
  400. package/esm2015/components/input-date/taiga-ui-kit-components-input-date.js +1 -4
  401. package/esm2015/components/input-date-range/input-date-range.component.js +1 -1
  402. package/esm2015/components/input-date-range/taiga-ui-kit-components-input-date-range.js +1 -4
  403. package/esm2015/components/input-date-time/taiga-ui-kit-components-input-date-time.js +1 -4
  404. package/esm2015/components/input-files/input-files.component.js +1 -9
  405. package/esm2015/components/input-files/input-files.directive.js +1 -2
  406. package/esm2015/components/input-files/input-files.options.js +2 -5
  407. package/esm2015/components/input-files/taiga-ui-kit-components-input-files.js +1 -4
  408. package/esm2015/components/input-inline/input-inline.component.js +1 -3
  409. package/esm2015/components/input-inline/taiga-ui-kit-components-input-inline.js +1 -4
  410. package/esm2015/components/input-month/taiga-ui-kit-components-input-month.js +1 -4
  411. package/esm2015/components/input-month-range/taiga-ui-kit-components-input-month-range.js +1 -4
  412. package/esm2015/components/input-number/input-number.component.js +1 -4
  413. package/esm2015/components/input-number/input-number.options.js +1 -5
  414. package/esm2015/components/input-number/taiga-ui-kit-components-input-number.js +1 -4
  415. package/esm2015/components/input-password/input-password.options.js +1 -5
  416. package/esm2015/components/input-password/taiga-ui-kit-components-input-password.js +1 -4
  417. package/esm2015/components/input-phone/input-phone.options.js +1 -4
  418. package/esm2015/components/input-phone/taiga-ui-kit-components-input-phone.js +1 -4
  419. package/esm2015/components/input-phone/utils/complete-phone-insertion-preprocessor.js +3 -21
  420. package/esm2015/components/input-phone/utils/create-phone-mask-expression.js +1 -7
  421. package/esm2015/components/input-phone-international/input-phone-international.component.js +1 -17
  422. package/esm2015/components/input-phone-international/input-phone-international.options.js +1 -4
  423. package/esm2015/components/input-phone-international/taiga-ui-kit-components-input-phone-international.js +1 -4
  424. package/esm2015/components/input-range/taiga-ui-kit-components-input-range.js +1 -4
  425. package/esm2015/components/input-slider/input-slider.component.js +1 -3
  426. package/esm2015/components/input-slider/taiga-ui-kit-components-input-slider.js +1 -4
  427. package/esm2015/components/input-tag/input-tag.component.js +2 -5
  428. package/esm2015/components/input-tag/input-tag.options.js +1 -4
  429. package/esm2015/components/input-tag/taiga-ui-kit-components-input-tag.js +1 -4
  430. package/esm2015/components/input-time/input-time.component.js +1 -3
  431. package/esm2015/components/input-time/input-time.options.js +1 -4
  432. package/esm2015/components/input-time/taiga-ui-kit-components-input-time.js +1 -4
  433. package/esm2015/components/input-year/taiga-ui-kit-components-input-year.js +1 -4
  434. package/esm2015/components/island/taiga-ui-kit-components-island.js +1 -4
  435. package/esm2015/components/items-with-more/taiga-ui-kit-components-items-with-more.js +1 -4
  436. package/esm2015/components/line-clamp/line-clamp.component.js +1 -2
  437. package/esm2015/components/line-clamp/line-clamp.options.js +1 -4
  438. package/esm2015/components/line-clamp/taiga-ui-kit-components-line-clamp.js +1 -4
  439. package/esm2015/components/marker-icon/taiga-ui-kit-components-marker-icon.js +1 -4
  440. package/esm2015/components/multi-select/multi-select.component.js +2 -3
  441. package/esm2015/components/multi-select/multi-select.options.js +1 -4
  442. package/esm2015/components/multi-select/native-multi-select/native-multi-select.js +1 -1
  443. package/esm2015/components/multi-select/taiga-ui-kit-components-multi-select.js +1 -4
  444. package/esm2015/components/multi-select-option/taiga-ui-kit-components-multi-select-option.js +1 -4
  445. package/esm2015/components/pagination/pagination.component.js +1 -35
  446. package/esm2015/components/pagination/taiga-ui-kit-components-pagination.js +1 -4
  447. package/esm2015/components/pdf-viewer/pdf-viewer.options.js +1 -4
  448. package/esm2015/components/pdf-viewer/taiga-ui-kit-components-pdf-viewer.js +1 -4
  449. package/esm2015/components/progress/progress-bar/progress-color-segments.directive.js +1 -2
  450. package/esm2015/components/progress/progress-circle/progress-circle.component.js +1 -2
  451. package/esm2015/components/progress/taiga-ui-kit-components-progress.js +1 -4
  452. package/esm2015/components/prompt/prompt.component.js +1 -2
  453. package/esm2015/components/prompt/taiga-ui-kit-components-prompt.js +1 -4
  454. package/esm2015/components/push/push.options.js +1 -4
  455. package/esm2015/components/push/taiga-ui-kit-components-push.js +1 -4
  456. package/esm2015/components/radio/radio.options.js +1 -5
  457. package/esm2015/components/radio/taiga-ui-kit-components-radio.js +1 -4
  458. package/esm2015/components/radio-block/radio-block.component.js +1 -2
  459. package/esm2015/components/radio-block/taiga-ui-kit-components-radio-block.js +1 -4
  460. package/esm2015/components/radio-group/taiga-ui-kit-components-radio-group.js +1 -4
  461. package/esm2015/components/radio-labeled/radio-labeled.component.js +1 -2
  462. package/esm2015/components/radio-labeled/taiga-ui-kit-components-radio-labeled.js +1 -4
  463. package/esm2015/components/radio-list/radio-list.component.js +1 -3
  464. package/esm2015/components/radio-list/taiga-ui-kit-components-radio-list.js +1 -4
  465. package/esm2015/components/range/range-change.directive.js +1 -5
  466. package/esm2015/components/range/range.component.js +1 -2
  467. package/esm2015/components/range/taiga-ui-kit-components-range.js +1 -4
  468. package/esm2015/components/rating/rating.options.js +1 -4
  469. package/esm2015/components/rating/taiga-ui-kit-components-rating.js +1 -4
  470. package/esm2015/components/routable-dialog/taiga-ui-kit-components-routable-dialog.js +1 -4
  471. package/esm2015/components/select/select.options.js +1 -4
  472. package/esm2015/components/select/taiga-ui-kit-components-select.js +1 -4
  473. package/esm2015/components/select-option/select-option.component.js +1 -8
  474. package/esm2015/components/select-option/taiga-ui-kit-components-select-option.js +1 -4
  475. package/esm2015/components/slider/helpers/slider-readonly.directive.js +1 -9
  476. package/esm2015/components/slider/slider.component.js +1 -25
  477. package/esm2015/components/slider/slider.options.js +1 -4
  478. package/esm2015/components/slider/taiga-ui-kit-components-slider.js +1 -4
  479. package/esm2015/components/stepper/stepper.component.js +12 -7
  480. package/esm2015/components/stepper/taiga-ui-kit-components-stepper.js +1 -4
  481. package/esm2015/components/tabs/tab/tab.component.js +1 -9
  482. package/esm2015/components/tabs/tab/tab.providers.js +1 -4
  483. package/esm2015/components/tabs/tabs/tabs.component.js +1 -3
  484. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.component.js +1 -3
  485. package/esm2015/components/tabs/tabs-with-more/tabs-with-more.providers.js +2 -4
  486. package/esm2015/components/tabs/tabs.options.js +1 -4
  487. package/esm2015/components/tabs/taiga-ui-kit-components-tabs.js +1 -4
  488. package/esm2015/components/tag/tag.component.js +1 -2
  489. package/esm2015/components/tag/tag.options.js +1 -5
  490. package/esm2015/components/tag/taiga-ui-kit-components-tag.js +1 -4
  491. package/esm2015/components/taiga-ui-kit-components.js +1 -4
  492. package/esm2015/components/textarea/deprecated.js +1 -10
  493. package/esm2015/components/textarea/taiga-ui-kit-components-textarea.js +1 -4
  494. package/esm2015/components/tiles/taiga-ui-kit-components-tiles.js +1 -4
  495. package/esm2015/components/toggle/taiga-ui-kit-components-toggle.js +1 -4
  496. package/esm2015/components/toggle/toggle.component.js +1 -2
  497. package/esm2015/components/toggle/toggle.options.js +1 -5
  498. package/esm2015/components/tree/components/tree-item/tree-item.component.js +1 -2
  499. package/esm2015/components/tree/components/tree-item/tree-item.providers.js +1 -2
  500. package/esm2015/components/tree/components/tree-item-content/tree-item-content.component.js +1 -2
  501. package/esm2015/components/tree/misc/tree.tokens.js +1 -25
  502. package/esm2015/components/tree/taiga-ui-kit-components-tree.js +1 -4
  503. package/esm2015/constants/empty-mask.js +1 -5
  504. package/esm2015/constants/group-class-names.js +1 -5
  505. package/esm2015/constants/masks.js +1 -5
  506. package/esm2015/constants/math.js +1 -4
  507. package/esm2015/constants/max-day-range-length-mapper.js +1 -1
  508. package/esm2015/constants/taiga-ui-kit-constants.js +1 -4
  509. package/esm2015/directives/data-list-dropdown-manager/data-list-dropdown-manager.directive.js +1 -2
  510. package/esm2015/directives/data-list-dropdown-manager/taiga-ui-kit-directives-data-list-dropdown-manager.js +1 -4
  511. package/esm2015/directives/highlight/taiga-ui-kit-directives-highlight.js +1 -4
  512. package/esm2015/directives/index.js +2 -1
  513. package/esm2015/directives/lazy-loading/taiga-ui-kit-directives-lazy-loading.js +1 -4
  514. package/esm2015/directives/mask/legacy-mask.js +1 -31
  515. package/esm2015/directives/mask/taiga-ui-kit-directives-mask.js +1 -4
  516. package/esm2015/directives/present/present.directive.js +1 -12
  517. package/esm2015/directives/present/taiga-ui-kit-directives-present.js +1 -4
  518. package/esm2015/directives/project-class/project-class.directive.js +1 -4
  519. package/esm2015/directives/project-class/taiga-ui-kit-directives-project-class.js +1 -4
  520. package/esm2015/directives/taiga-ui-kit-directives.js +1 -4
  521. package/esm2015/directives/unfinished-validator/taiga-ui-kit-directives-unfinished-validator.js +1 -4
  522. package/esm2015/directives/unfinished-validator/unfinished-validator.directive.js +2 -4
  523. package/esm2015/directives/unmask-handler/index.js +3 -0
  524. package/esm2015/directives/unmask-handler/taiga-ui-kit-directives-unmask-handler.js +2 -0
  525. package/esm2015/directives/unmask-handler/unmask-handler.directive.js +42 -0
  526. package/esm2015/directives/unmask-handler/unmask-handler.module.js +16 -0
  527. package/esm2015/directives/value-accessor/taiga-ui-kit-directives-value-accessor.js +1 -4
  528. package/esm2015/interfaces/taiga-ui-kit-interfaces.js +1 -4
  529. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.component.js +1 -4
  530. package/esm2015/internal/primitive-calendar-range/primitive-calendar-range.module.js +1 -4
  531. package/esm2015/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.js +1 -4
  532. package/esm2015/internal/taiga-ui-kit-internal.js +1 -4
  533. package/esm2015/pipes/field-error/taiga-ui-kit-pipes-field-error.js +1 -4
  534. package/esm2015/pipes/filter-by-input/filter-by-input-with.pipe.js +1 -4
  535. package/esm2015/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.js +1 -4
  536. package/esm2015/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.js +1 -4
  537. package/esm2015/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.js +1 -4
  538. package/esm2015/pipes/stringify/taiga-ui-kit-pipes-stringify.js +1 -4
  539. package/esm2015/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.js +1 -4
  540. package/esm2015/pipes/taiga-ui-kit-pipes.js +1 -4
  541. package/esm2015/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.js +1 -4
  542. package/esm2015/pipes/to-year/taiga-ui-kit-pipes-to-year.js +1 -4
  543. package/esm2015/providers/taiga-ui-kit-providers.js +1 -4
  544. package/esm2015/services/taiga-ui-kit-services.js +1 -4
  545. package/esm2015/taiga-ui-kit.js +1 -4
  546. package/esm2015/tokens/calendar-date-stream.js +1 -4
  547. package/esm2015/tokens/date-inputs-value-transformers.js +1 -11
  548. package/esm2015/tokens/input-date-options.js +1 -4
  549. package/esm2015/tokens/items-handlers.js +1 -4
  550. package/esm2015/tokens/mobile-calendar.js +1 -4
  551. package/esm2015/tokens/month-formatter.js +1 -4
  552. package/esm2015/tokens/tab-margin.js +1 -4
  553. package/esm2015/tokens/taiga-ui-kit-tokens.js +1 -4
  554. package/esm2015/tokens/validation-errors.js +1 -4
  555. package/esm2015/types/taiga-ui-kit-types.js +1 -4
  556. package/esm2015/utils/files/taiga-ui-kit-utils-files.js +1 -4
  557. package/esm2015/utils/format/string-hash-to-hsl.js +1 -7
  558. package/esm2015/utils/format/taiga-ui-kit-utils-format.js +1 -4
  559. package/esm2015/utils/mask/create-auto-corrected-date-pipe.js +1 -9
  560. package/esm2015/utils/mask/create-auto-corrected-date-range-pipe.js +1 -17
  561. package/esm2015/utils/mask/create-auto-corrected-date-time-pipe.js +1 -5
  562. package/esm2015/utils/mask/create-auto-corrected-time-pipe.js +1 -7
  563. package/esm2015/utils/mask/create-date-mask.js +1 -5
  564. package/esm2015/utils/mask/create-date-range-mask.js +1 -5
  565. package/esm2015/utils/mask/create-time-mask.js +1 -5
  566. package/esm2015/utils/mask/taiga-ui-kit-utils-mask.js +1 -4
  567. package/esm2015/utils/math/horizontal-direction-to-number.js +1 -4
  568. package/esm2015/utils/math/taiga-ui-kit-utils-math.js +1 -4
  569. package/esm2015/utils/miscellaneous/get-precision.js +1 -4
  570. package/esm2015/utils/miscellaneous/replay-control-value-changes-factory.js +1 -4
  571. package/esm2015/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.js +1 -4
  572. package/esm2015/utils/phone/taiga-ui-kit-utils-phone.js +1 -4
  573. package/esm2015/utils/taiga-ui-kit-utils.js +1 -4
  574. package/esm2015/validators/taiga-ui-kit-validators.js +1 -4
  575. package/fesm2015/taiga-ui-kit-abstract.js +0 -4
  576. package/fesm2015/taiga-ui-kit-abstract.js.map +1 -1
  577. package/fesm2015/taiga-ui-kit-classes.js +0 -7
  578. package/fesm2015/taiga-ui-kit-classes.js.map +1 -1
  579. package/fesm2015/taiga-ui-kit-components-accordion.js +0 -4
  580. package/fesm2015/taiga-ui-kit-components-accordion.js.map +1 -1
  581. package/fesm2015/taiga-ui-kit-components-action.js +0 -4
  582. package/fesm2015/taiga-ui-kit-components-action.js.map +1 -1
  583. package/fesm2015/taiga-ui-kit-components-arrow.js +0 -11
  584. package/fesm2015/taiga-ui-kit-components-arrow.js.map +1 -1
  585. package/fesm2015/taiga-ui-kit-components-avatar.js +0 -8
  586. package/fesm2015/taiga-ui-kit-components-avatar.js.map +1 -1
  587. package/fesm2015/taiga-ui-kit-components-badge.js +0 -4
  588. package/fesm2015/taiga-ui-kit-components-badge.js.map +1 -1
  589. package/fesm2015/taiga-ui-kit-components-badged-content.js +0 -4
  590. package/fesm2015/taiga-ui-kit-components-badged-content.js.map +1 -1
  591. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js +0 -4
  592. package/fesm2015/taiga-ui-kit-components-breadcrumbs.js.map +1 -1
  593. package/fesm2015/taiga-ui-kit-components-calendar-month.js +0 -4
  594. package/fesm2015/taiga-ui-kit-components-calendar-month.js.map +1 -1
  595. package/fesm2015/taiga-ui-kit-components-calendar-range.js +2 -6
  596. package/fesm2015/taiga-ui-kit-components-calendar-range.js.map +1 -1
  597. package/fesm2015/taiga-ui-kit-components-carousel.js +0 -5
  598. package/fesm2015/taiga-ui-kit-components-carousel.js.map +1 -1
  599. package/fesm2015/taiga-ui-kit-components-checkbox-block.js +0 -5
  600. package/fesm2015/taiga-ui-kit-components-checkbox-block.js.map +1 -1
  601. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js +0 -5
  602. package/fesm2015/taiga-ui-kit-components-checkbox-labeled.js.map +1 -1
  603. package/fesm2015/taiga-ui-kit-components-checkbox.js +0 -5
  604. package/fesm2015/taiga-ui-kit-components-checkbox.js.map +1 -1
  605. package/fesm2015/taiga-ui-kit-components-combo-box.js +0 -5
  606. package/fesm2015/taiga-ui-kit-components-combo-box.js.map +1 -1
  607. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js +0 -4
  608. package/fesm2015/taiga-ui-kit-components-data-list-wrapper.js.map +1 -1
  609. package/fesm2015/taiga-ui-kit-components-elastic-container.js +0 -4
  610. package/fesm2015/taiga-ui-kit-components-elastic-container.js.map +1 -1
  611. package/fesm2015/taiga-ui-kit-components-files.js +0 -8
  612. package/fesm2015/taiga-ui-kit-components-files.js.map +1 -1
  613. package/fesm2015/taiga-ui-kit-components-filter.js +0 -5
  614. package/fesm2015/taiga-ui-kit-components-filter.js.map +1 -1
  615. package/fesm2015/taiga-ui-kit-components-input-copy.js +0 -4
  616. package/fesm2015/taiga-ui-kit-components-input-copy.js.map +1 -1
  617. package/fesm2015/taiga-ui-kit-components-input-count.js +0 -21
  618. package/fesm2015/taiga-ui-kit-components-input-count.js.map +1 -1
  619. package/fesm2015/taiga-ui-kit-components-input-date-range.js +0 -4
  620. package/fesm2015/taiga-ui-kit-components-input-date-range.js.map +1 -1
  621. package/fesm2015/taiga-ui-kit-components-input-date-time.js +0 -4
  622. package/fesm2015/taiga-ui-kit-components-input-date-time.js.map +1 -1
  623. package/fesm2015/taiga-ui-kit-components-input-date.js +0 -9
  624. package/fesm2015/taiga-ui-kit-components-input-date.js.map +1 -1
  625. package/fesm2015/taiga-ui-kit-components-input-files.js +1 -15
  626. package/fesm2015/taiga-ui-kit-components-input-files.js.map +1 -1
  627. package/fesm2015/taiga-ui-kit-components-input-inline.js +0 -6
  628. package/fesm2015/taiga-ui-kit-components-input-inline.js.map +1 -1
  629. package/fesm2015/taiga-ui-kit-components-input-month-range.js +0 -4
  630. package/fesm2015/taiga-ui-kit-components-input-month-range.js.map +1 -1
  631. package/fesm2015/taiga-ui-kit-components-input-month.js +0 -4
  632. package/fesm2015/taiga-ui-kit-components-input-month.js.map +1 -1
  633. package/fesm2015/taiga-ui-kit-components-input-number.js +0 -11
  634. package/fesm2015/taiga-ui-kit-components-input-number.js.map +1 -1
  635. package/fesm2015/taiga-ui-kit-components-input-password.js +0 -8
  636. package/fesm2015/taiga-ui-kit-components-input-password.js.map +1 -1
  637. package/fesm2015/taiga-ui-kit-components-input-phone-international.js +0 -23
  638. package/fesm2015/taiga-ui-kit-components-input-phone-international.js.map +1 -1
  639. package/fesm2015/taiga-ui-kit-components-input-phone.js +2 -33
  640. package/fesm2015/taiga-ui-kit-components-input-phone.js.map +1 -1
  641. package/fesm2015/taiga-ui-kit-components-input-range.js +0 -4
  642. package/fesm2015/taiga-ui-kit-components-input-range.js.map +1 -1
  643. package/fesm2015/taiga-ui-kit-components-input-slider.js +0 -6
  644. package/fesm2015/taiga-ui-kit-components-input-slider.js.map +1 -1
  645. package/fesm2015/taiga-ui-kit-components-input-tag.js +1 -11
  646. package/fesm2015/taiga-ui-kit-components-input-tag.js.map +1 -1
  647. package/fesm2015/taiga-ui-kit-components-input-time.js +0 -9
  648. package/fesm2015/taiga-ui-kit-components-input-time.js.map +1 -1
  649. package/fesm2015/taiga-ui-kit-components-input-year.js +0 -4
  650. package/fesm2015/taiga-ui-kit-components-input-year.js.map +1 -1
  651. package/fesm2015/taiga-ui-kit-components-input.js +9 -8
  652. package/fesm2015/taiga-ui-kit-components-input.js.map +1 -1
  653. package/fesm2015/taiga-ui-kit-components-island.js +0 -4
  654. package/fesm2015/taiga-ui-kit-components-island.js.map +1 -1
  655. package/fesm2015/taiga-ui-kit-components-items-with-more.js +0 -4
  656. package/fesm2015/taiga-ui-kit-components-items-with-more.js.map +1 -1
  657. package/fesm2015/taiga-ui-kit-components-line-clamp.js +0 -8
  658. package/fesm2015/taiga-ui-kit-components-line-clamp.js.map +1 -1
  659. package/fesm2015/taiga-ui-kit-components-marker-icon.js +0 -4
  660. package/fesm2015/taiga-ui-kit-components-marker-icon.js.map +1 -1
  661. package/fesm2015/taiga-ui-kit-components-multi-select-option.js +0 -4
  662. package/fesm2015/taiga-ui-kit-components-multi-select-option.js.map +1 -1
  663. package/fesm2015/taiga-ui-kit-components-multi-select.js +1 -9
  664. package/fesm2015/taiga-ui-kit-components-multi-select.js.map +1 -1
  665. package/fesm2015/taiga-ui-kit-components-pagination.js +0 -38
  666. package/fesm2015/taiga-ui-kit-components-pagination.js.map +1 -1
  667. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js +0 -7
  668. package/fesm2015/taiga-ui-kit-components-pdf-viewer.js.map +1 -1
  669. package/fesm2015/taiga-ui-kit-components-progress.js +0 -6
  670. package/fesm2015/taiga-ui-kit-components-progress.js.map +1 -1
  671. package/fesm2015/taiga-ui-kit-components-prompt.js +0 -5
  672. package/fesm2015/taiga-ui-kit-components-prompt.js.map +1 -1
  673. package/fesm2015/taiga-ui-kit-components-push.js +0 -7
  674. package/fesm2015/taiga-ui-kit-components-push.js.map +1 -1
  675. package/fesm2015/taiga-ui-kit-components-radio-block.js +0 -5
  676. package/fesm2015/taiga-ui-kit-components-radio-block.js.map +1 -1
  677. package/fesm2015/taiga-ui-kit-components-radio-group.js +0 -4
  678. package/fesm2015/taiga-ui-kit-components-radio-group.js.map +1 -1
  679. package/fesm2015/taiga-ui-kit-components-radio-labeled.js +0 -5
  680. package/fesm2015/taiga-ui-kit-components-radio-labeled.js.map +1 -1
  681. package/fesm2015/taiga-ui-kit-components-radio-list.js +0 -6
  682. package/fesm2015/taiga-ui-kit-components-radio-list.js.map +1 -1
  683. package/fesm2015/taiga-ui-kit-components-radio.js +0 -8
  684. package/fesm2015/taiga-ui-kit-components-radio.js.map +1 -1
  685. package/fesm2015/taiga-ui-kit-components-range.js +0 -9
  686. package/fesm2015/taiga-ui-kit-components-range.js.map +1 -1
  687. package/fesm2015/taiga-ui-kit-components-rating.js +0 -7
  688. package/fesm2015/taiga-ui-kit-components-rating.js.map +1 -1
  689. package/fesm2015/taiga-ui-kit-components-routable-dialog.js +0 -4
  690. package/fesm2015/taiga-ui-kit-components-routable-dialog.js.map +1 -1
  691. package/fesm2015/taiga-ui-kit-components-select-option.js +0 -11
  692. package/fesm2015/taiga-ui-kit-components-select-option.js.map +1 -1
  693. package/fesm2015/taiga-ui-kit-components-select.js +0 -7
  694. package/fesm2015/taiga-ui-kit-components-select.js.map +1 -1
  695. package/fesm2015/taiga-ui-kit-components-slider.js +0 -39
  696. package/fesm2015/taiga-ui-kit-components-slider.js.map +1 -1
  697. package/fesm2015/taiga-ui-kit-components-stepper.js +11 -10
  698. package/fesm2015/taiga-ui-kit-components-stepper.js.map +1 -1
  699. package/fesm2015/taiga-ui-kit-components-tabs.js +1 -25
  700. package/fesm2015/taiga-ui-kit-components-tabs.js.map +1 -1
  701. package/fesm2015/taiga-ui-kit-components-tag.js +0 -9
  702. package/fesm2015/taiga-ui-kit-components-tag.js.map +1 -1
  703. package/fesm2015/taiga-ui-kit-components-textarea.js +0 -13
  704. package/fesm2015/taiga-ui-kit-components-textarea.js.map +1 -1
  705. package/fesm2015/taiga-ui-kit-components-tiles.js +0 -4
  706. package/fesm2015/taiga-ui-kit-components-tiles.js.map +1 -1
  707. package/fesm2015/taiga-ui-kit-components-toggle.js +0 -9
  708. package/fesm2015/taiga-ui-kit-components-toggle.js.map +1 -1
  709. package/fesm2015/taiga-ui-kit-components-tree.js +0 -28
  710. package/fesm2015/taiga-ui-kit-components-tree.js.map +1 -1
  711. package/fesm2015/taiga-ui-kit-components.js +0 -4
  712. package/fesm2015/taiga-ui-kit-components.js.map +1 -1
  713. package/fesm2015/taiga-ui-kit-constants.js +0 -19
  714. package/fesm2015/taiga-ui-kit-constants.js.map +1 -1
  715. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js +0 -5
  716. package/fesm2015/taiga-ui-kit-directives-data-list-dropdown-manager.js.map +1 -1
  717. package/fesm2015/taiga-ui-kit-directives-highlight.js +0 -4
  718. package/fesm2015/taiga-ui-kit-directives-highlight.js.map +1 -1
  719. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js +0 -4
  720. package/fesm2015/taiga-ui-kit-directives-lazy-loading.js.map +1 -1
  721. package/fesm2015/taiga-ui-kit-directives-mask.js +0 -26
  722. package/fesm2015/taiga-ui-kit-directives-mask.js.map +1 -1
  723. package/fesm2015/taiga-ui-kit-directives-present.js +0 -15
  724. package/fesm2015/taiga-ui-kit-directives-present.js.map +1 -1
  725. package/fesm2015/taiga-ui-kit-directives-project-class.js +0 -7
  726. package/fesm2015/taiga-ui-kit-directives-project-class.js.map +1 -1
  727. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js +1 -7
  728. package/fesm2015/taiga-ui-kit-directives-unfinished-validator.js.map +1 -1
  729. package/fesm2015/taiga-ui-kit-directives-unmask-handler.js +58 -0
  730. package/fesm2015/taiga-ui-kit-directives-unmask-handler.js.map +1 -0
  731. package/fesm2015/taiga-ui-kit-directives-value-accessor.js +0 -4
  732. package/fesm2015/taiga-ui-kit-directives-value-accessor.js.map +1 -1
  733. package/fesm2015/taiga-ui-kit-directives.js +1 -4
  734. package/fesm2015/taiga-ui-kit-directives.js.map +1 -1
  735. package/fesm2015/taiga-ui-kit-interfaces.js +1 -3
  736. package/fesm2015/taiga-ui-kit-interfaces.js.map +1 -1
  737. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js +0 -10
  738. package/fesm2015/taiga-ui-kit-internal-primitive-calendar-range.js.map +1 -1
  739. package/fesm2015/taiga-ui-kit-internal.js +0 -4
  740. package/fesm2015/taiga-ui-kit-internal.js.map +1 -1
  741. package/fesm2015/taiga-ui-kit-pipes-field-error.js +0 -4
  742. package/fesm2015/taiga-ui-kit-pipes-field-error.js.map +1 -1
  743. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js +0 -7
  744. package/fesm2015/taiga-ui-kit-pipes-filter-by-input.js.map +1 -1
  745. package/fesm2015/taiga-ui-kit-pipes-iso-to-country-code.js +0 -4
  746. package/fesm2015/taiga-ui-kit-pipes-iso-to-country-code.js.map +1 -1
  747. package/fesm2015/taiga-ui-kit-pipes-sort-countries.js +0 -4
  748. package/fesm2015/taiga-ui-kit-pipes-sort-countries.js.map +1 -1
  749. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js +0 -4
  750. package/fesm2015/taiga-ui-kit-pipes-stringify-content.js.map +1 -1
  751. package/fesm2015/taiga-ui-kit-pipes-stringify.js +0 -4
  752. package/fesm2015/taiga-ui-kit-pipes-stringify.js.map +1 -1
  753. package/fesm2015/taiga-ui-kit-pipes-to-country-code.js +0 -4
  754. package/fesm2015/taiga-ui-kit-pipes-to-country-code.js.map +1 -1
  755. package/fesm2015/taiga-ui-kit-pipes-to-year.js +0 -4
  756. package/fesm2015/taiga-ui-kit-pipes-to-year.js.map +1 -1
  757. package/fesm2015/taiga-ui-kit-pipes.js +0 -4
  758. package/fesm2015/taiga-ui-kit-pipes.js.map +1 -1
  759. package/fesm2015/taiga-ui-kit-providers.js +0 -4
  760. package/fesm2015/taiga-ui-kit-providers.js.map +1 -1
  761. package/fesm2015/taiga-ui-kit-services.js +0 -4
  762. package/fesm2015/taiga-ui-kit-services.js.map +1 -1
  763. package/fesm2015/taiga-ui-kit-tokens.js +0 -35
  764. package/fesm2015/taiga-ui-kit-tokens.js.map +1 -1
  765. package/fesm2015/taiga-ui-kit-types.js +1 -3
  766. package/fesm2015/taiga-ui-kit-types.js.map +1 -1
  767. package/fesm2015/taiga-ui-kit-utils-files.js +0 -4
  768. package/fesm2015/taiga-ui-kit-utils-files.js.map +1 -1
  769. package/fesm2015/taiga-ui-kit-utils-format.js +0 -10
  770. package/fesm2015/taiga-ui-kit-utils-format.js.map +1 -1
  771. package/fesm2015/taiga-ui-kit-utils-mask.js +0 -50
  772. package/fesm2015/taiga-ui-kit-utils-mask.js.map +1 -1
  773. package/fesm2015/taiga-ui-kit-utils-math.js +0 -7
  774. package/fesm2015/taiga-ui-kit-utils-math.js.map +1 -1
  775. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js +0 -10
  776. package/fesm2015/taiga-ui-kit-utils-miscellaneous.js.map +1 -1
  777. package/fesm2015/taiga-ui-kit-utils-phone.js +0 -4
  778. package/fesm2015/taiga-ui-kit-utils-phone.js.map +1 -1
  779. package/fesm2015/taiga-ui-kit-utils.js +0 -4
  780. package/fesm2015/taiga-ui-kit-utils.js.map +1 -1
  781. package/fesm2015/taiga-ui-kit-validators.js +0 -4
  782. package/fesm2015/taiga-ui-kit-validators.js.map +1 -1
  783. package/fesm2015/taiga-ui-kit.js +0 -4
  784. package/fesm2015/taiga-ui-kit.js.map +1 -1
  785. package/interfaces/taiga-ui-kit-interfaces.d.ts +0 -3
  786. package/internal/primitive-calendar-range/primitive-calendar-range.component.d.ts +2 -5
  787. package/internal/primitive-calendar-range/primitive-calendar-range.module.d.ts +0 -3
  788. package/internal/primitive-calendar-range/taiga-ui-kit-internal-primitive-calendar-range.d.ts +0 -3
  789. package/internal/taiga-ui-kit-internal.d.ts +0 -3
  790. package/package.json +7 -7
  791. package/pipes/field-error/taiga-ui-kit-pipes-field-error.d.ts +0 -3
  792. package/pipes/filter-by-input/filter-by-input-with.pipe.d.ts +0 -3
  793. package/pipes/filter-by-input/filter-by-input.base.d.ts +0 -4
  794. package/pipes/filter-by-input/taiga-ui-kit-pipes-filter-by-input.d.ts +0 -3
  795. package/pipes/iso-to-country-code/taiga-ui-kit-pipes-iso-to-country-code.d.ts +0 -3
  796. package/pipes/sort-countries/taiga-ui-kit-pipes-sort-countries.d.ts +0 -3
  797. package/pipes/stringify/taiga-ui-kit-pipes-stringify.d.ts +0 -3
  798. package/pipes/stringify-content/taiga-ui-kit-pipes-stringify-content.d.ts +0 -3
  799. package/pipes/taiga-ui-kit-pipes.d.ts +0 -3
  800. package/pipes/to-country-code/taiga-ui-kit-pipes-to-country-code.d.ts +0 -3
  801. package/pipes/to-year/taiga-ui-kit-pipes-to-year.d.ts +0 -3
  802. package/providers/taiga-ui-kit-providers.d.ts +0 -3
  803. package/services/taiga-ui-kit-services.d.ts +0 -3
  804. package/taiga-ui-kit.d.ts +0 -3
  805. package/tokens/calendar-date-stream.d.ts +0 -3
  806. package/tokens/date-inputs-value-transformers.d.ts +0 -9
  807. package/tokens/input-date-options.d.ts +0 -3
  808. package/tokens/items-handlers.d.ts +0 -3
  809. package/tokens/mobile-calendar.d.ts +0 -3
  810. package/tokens/month-formatter.d.ts +0 -3
  811. package/tokens/tab-margin.d.ts +0 -3
  812. package/tokens/taiga-ui-kit-tokens.d.ts +0 -3
  813. package/tokens/validation-errors.d.ts +0 -3
  814. package/types/file-state.d.ts +0 -3
  815. package/types/key-steps.d.ts +0 -18
  816. package/types/taiga-ui-kit-types.d.ts +0 -3
  817. package/utils/files/taiga-ui-kit-utils-files.d.ts +0 -3
  818. package/utils/format/string-hash-to-hsl.d.ts +0 -5
  819. package/utils/format/taiga-ui-kit-utils-format.d.ts +0 -3
  820. package/utils/mask/create-auto-corrected-date-pipe.d.ts +0 -12
  821. package/utils/mask/create-auto-corrected-date-range-pipe.d.ts +0 -16
  822. package/utils/mask/create-auto-corrected-date-time-pipe.d.ts +0 -4
  823. package/utils/mask/create-auto-corrected-time-pipe.d.ts +0 -6
  824. package/utils/mask/create-date-mask.d.ts +0 -4
  825. package/utils/mask/create-date-range-mask.d.ts +0 -4
  826. package/utils/mask/create-time-mask.d.ts +0 -4
  827. package/utils/mask/taiga-ui-kit-utils-mask.d.ts +0 -3
  828. package/utils/math/horizontal-direction-to-number.d.ts +0 -3
  829. package/utils/math/taiga-ui-kit-utils-math.d.ts +0 -3
  830. package/utils/miscellaneous/get-precision.d.ts +0 -3
  831. package/utils/miscellaneous/replay-control-value-changes-factory.d.ts +0 -3
  832. package/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.d.ts +0 -3
  833. package/utils/phone/taiga-ui-kit-utils-phone.d.ts +0 -3
  834. package/utils/taiga-ui-kit-utils.d.ts +0 -3
  835. package/validators/taiga-ui-kit-validators.d.ts +0 -3
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-tokens.js","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/countries-masks.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/tab-margin.ts","../../../projects/kit/tokens/validation-errors.ts","../../../projects/kit/tokens/taiga-ui-kit-tokens.ts"],"sourcesContent":["import {InjectionToken, Optional, Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {tuiControlValueFactory} from '@taiga-ui/kit/utils';\nimport {Observable} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(`[TUI_CALENDAR_DATE_STREAM]`);\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiControlValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n","import {tuiCreateToken} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode} from '@taiga-ui/i18n';\n\nexport const TUI_COUNTRIES_MASKS = tuiCreateToken<Record<TuiCountryIsoCode, string>>({\n [TuiCountryIsoCode.AD]: `+376###-###`,\n [TuiCountryIsoCode.AE]: `+971-##-###-####`,\n [TuiCountryIsoCode.AF]: `+93##-###-####`,\n [TuiCountryIsoCode.AG]: `+1(268) ###-####`,\n [TuiCountryIsoCode.AI]: `+1(264) ###-####`,\n [TuiCountryIsoCode.AL]: `+355(###) ###-###`,\n [TuiCountryIsoCode.AM]: `+374##-###-###`,\n [TuiCountryIsoCode.AO]: `+244(###) ###-###`,\n [TuiCountryIsoCode.AR]: `+54(###) ####-####`,\n [TuiCountryIsoCode.AT]: `+43(###) ###-####`,\n [TuiCountryIsoCode.AU]: `+61#-####-####`,\n [TuiCountryIsoCode.AW]: `+297###-####`,\n [TuiCountryIsoCode.AZ]: `+994##-###-##-##`,\n [TuiCountryIsoCode.BA]: `+387 ###-####-##`,\n [TuiCountryIsoCode.BB]: `+1(246) ###-####`,\n [TuiCountryIsoCode.BD]: `+880##-###-###`,\n [TuiCountryIsoCode.BE]: `+32(###) ###-###`,\n [TuiCountryIsoCode.BF]: `+226##-##-####`,\n [TuiCountryIsoCode.BG]: `+359(###) ###-###`,\n [TuiCountryIsoCode.BH]: `+973####-####`,\n [TuiCountryIsoCode.BI]: `+257##-##-####`,\n [TuiCountryIsoCode.BJ]: `+229##-##-####`,\n [TuiCountryIsoCode.BL]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.BM]: `+1(441) ###-####`,\n [TuiCountryIsoCode.BN]: `+673###-####`,\n [TuiCountryIsoCode.BO]: `+591#-###-####`,\n [TuiCountryIsoCode.BQ]: `+599-###-####`,\n [TuiCountryIsoCode.BR]: `+55(##) ####-####`,\n [TuiCountryIsoCode.BS]: `+1(242) ###-####`,\n [TuiCountryIsoCode.BT]: `+975#-###-###`,\n [TuiCountryIsoCode.BW]: `+267##-###-###`,\n [TuiCountryIsoCode.BY]: `+375(##) ###-##-##`,\n [TuiCountryIsoCode.BZ]: `+501###-####`,\n [TuiCountryIsoCode.CA]: `+1(###) ###-####`,\n [TuiCountryIsoCode.CD]: `+243(###) ###-###`,\n [TuiCountryIsoCode.CF]: `+236-##-##-####`,\n [TuiCountryIsoCode.CG]: `+242##-###-####`,\n [TuiCountryIsoCode.CH]: `+41##-###-####`,\n [TuiCountryIsoCode.CI]: `+225##-##-###-###`,\n [TuiCountryIsoCode.CL]: `+56#-####-####`,\n [TuiCountryIsoCode.CM]: `+237#####-####`,\n [TuiCountryIsoCode.CN]: `+86(###) ####-####`,\n [TuiCountryIsoCode.CO]: `+57(###) ###-####`,\n [TuiCountryIsoCode.CR]: `+506####-####`,\n [TuiCountryIsoCode.CU]: `+53#-###-####`,\n [TuiCountryIsoCode.CV]: `+238(###) ##-##`,\n [TuiCountryIsoCode.CW]: `+5999-###-####`,\n [TuiCountryIsoCode.CY]: `+357##-###-###`,\n [TuiCountryIsoCode.CZ]: `+420(###) ###-###`,\n [TuiCountryIsoCode.DE]: `+49(###) ###-###-##`,\n [TuiCountryIsoCode.DJ]: `+253##-##-##-##`,\n [TuiCountryIsoCode.DK]: `+45##-##-##-##`,\n [TuiCountryIsoCode.DM]: `+1(767) ###-####`,\n [TuiCountryIsoCode.DO]: `+1(###) ###-####`,\n [TuiCountryIsoCode.DZ]: `+213##-###-####`,\n [TuiCountryIsoCode.EC]: `+593##-###-####`,\n [TuiCountryIsoCode.EE]: `+372####-####`,\n [TuiCountryIsoCode.EG]: `+20(###) ###-####`,\n [TuiCountryIsoCode.ER]: `+291#-###-###`,\n [TuiCountryIsoCode.ES]: `+34(###) ###-###`,\n [TuiCountryIsoCode.ET]: `+251##-###-####`,\n [TuiCountryIsoCode.FI]: `+358(###) ###-##-##`,\n [TuiCountryIsoCode.FJ]: `+679##-#####`,\n [TuiCountryIsoCode.FK]: `+500#####`,\n [TuiCountryIsoCode.FM]: `+691###-####`,\n [TuiCountryIsoCode.FR]: `+33 ## ## ## ## ##`,\n [TuiCountryIsoCode.GA]: `+241##-##-##-##`,\n [TuiCountryIsoCode.GB]: `+44##-####-####`,\n [TuiCountryIsoCode.GD]: `+1(473) ###-####`,\n [TuiCountryIsoCode.GE]: `+995(###) ###-###`,\n [TuiCountryIsoCode.GF]: `+594 ## ## ## ## ##`,\n [TuiCountryIsoCode.GH]: `+233(###) ###-###`,\n [TuiCountryIsoCode.GI]: `+350###-#####`,\n [TuiCountryIsoCode.GL]: `+299##-##-##`,\n [TuiCountryIsoCode.GM]: `+220(###) ##-##`,\n [TuiCountryIsoCode.GN]: `+224##-###-###`,\n [TuiCountryIsoCode.GP]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.GQ]: `+240##-###-####`,\n [TuiCountryIsoCode.GR]: `+30(###) ###-####`,\n [TuiCountryIsoCode.GT]: `+502#-###-####`,\n [TuiCountryIsoCode.GW]: `+245#-######`,\n [TuiCountryIsoCode.GY]: `+592###-####`,\n [TuiCountryIsoCode.HK]: `+852####-####`,\n [TuiCountryIsoCode.HN]: `+504####-####`,\n [TuiCountryIsoCode.HR]: `+385##-###-####`,\n [TuiCountryIsoCode.HT]: `+509##-##-####`,\n [TuiCountryIsoCode.HU]: `+36(###) ###-###`,\n [TuiCountryIsoCode.ID]: `+62(###) ###-##-###`,\n [TuiCountryIsoCode.IE]: `+353(###) ###-###`,\n [TuiCountryIsoCode.IL]: `+972##-###-####`,\n [TuiCountryIsoCode.IN]: `+91(####) ###-###`,\n [TuiCountryIsoCode.IQ]: `+964(###) ###-####`,\n [TuiCountryIsoCode.IR]: `+98(###) ###-####`,\n [TuiCountryIsoCode.IS]: `+354###-####`,\n [TuiCountryIsoCode.IT]: `+39(###) ####-###`,\n [TuiCountryIsoCode.JM]: `+1(876) ###-####`,\n [TuiCountryIsoCode.JO]: `+962#-####-####`,\n [TuiCountryIsoCode.JP]: `+81-##-####-####`,\n [TuiCountryIsoCode.KE]: `+254###-######`,\n [TuiCountryIsoCode.KG]: `+996(###) ###-###`,\n [TuiCountryIsoCode.KH]: `+855##-###-###`,\n [TuiCountryIsoCode.KM]: `+269##-#####`,\n [TuiCountryIsoCode.KN]: `+1(869) ###-####`,\n [TuiCountryIsoCode.KP]: `+850####-#############`,\n [TuiCountryIsoCode.KR]: `+82##-###-####`,\n [TuiCountryIsoCode.KW]: `+965####-####`,\n [TuiCountryIsoCode.KY]: `+1(345) ###-####`,\n [TuiCountryIsoCode.KZ]: `+7(###) ###-##-##`,\n [TuiCountryIsoCode.LA]: `+856##-##-###-###`,\n [TuiCountryIsoCode.LB]: `+961##-###-###`,\n [TuiCountryIsoCode.LC]: `+1(758) ###-####`,\n [TuiCountryIsoCode.LI]: `+423(###) ###-####`,\n [TuiCountryIsoCode.LK]: `+94##-###-####`,\n [TuiCountryIsoCode.LR]: `+231##-###-###`,\n [TuiCountryIsoCode.LS]: `+266#-###-####`,\n [TuiCountryIsoCode.LT]: `+370(###) ##-###`,\n [TuiCountryIsoCode.LU]: `+352(###) ###-###`,\n [TuiCountryIsoCode.LV]: `+371##-###-###`,\n [TuiCountryIsoCode.LY]: `+218##-###-####`,\n [TuiCountryIsoCode.MA]: `+212##-####-###`,\n [TuiCountryIsoCode.MC]: `+377###-###-###`,\n [TuiCountryIsoCode.MD]: `+373####-####`,\n [TuiCountryIsoCode.ME]: `+382##-###-###`,\n [TuiCountryIsoCode.MF]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.MG]: `+261##-##-#####`,\n [TuiCountryIsoCode.MK]: `+389##-###-###`,\n [TuiCountryIsoCode.ML]: `+223##-##-####`,\n [TuiCountryIsoCode.MM]: `+95##-###-###`,\n [TuiCountryIsoCode.MN]: `+976##-##-####`,\n [TuiCountryIsoCode.MO]: `+853####-####`,\n [TuiCountryIsoCode.MQ]: `+596 ## ## ## ## ##`,\n [TuiCountryIsoCode.MR]: `+222##-##-####`,\n [TuiCountryIsoCode.MS]: `+1(664) ###-####`,\n [TuiCountryIsoCode.MT]: `+356####-####`,\n [TuiCountryIsoCode.MU]: `+230####-####`,\n [TuiCountryIsoCode.MV]: `+960###-####`,\n [TuiCountryIsoCode.MW]: `+265#-####-####`,\n [TuiCountryIsoCode.MX]: `+52(###) ###-####`,\n [TuiCountryIsoCode.MY]: `+60(###) ###-###`,\n [TuiCountryIsoCode.MZ]: `+258##-###-###`,\n [TuiCountryIsoCode.NA]: `+264##-###-####`,\n [TuiCountryIsoCode.NC]: `+687 ### ###`,\n [TuiCountryIsoCode.NE]: `+227##-##-####`,\n [TuiCountryIsoCode.NG]: `+234(###) ###-####`,\n [TuiCountryIsoCode.NI]: `+505####-####`,\n [TuiCountryIsoCode.NL]: `+31##-###-####`,\n [TuiCountryIsoCode.NO]: `+47(###) ##-###`,\n [TuiCountryIsoCode.NP]: `+977##-###-###`,\n [TuiCountryIsoCode.NZ]: `+64(###) ###-####`,\n [TuiCountryIsoCode.OM]: `+968##-###-###`,\n [TuiCountryIsoCode.PA]: `+507###-####`,\n [TuiCountryIsoCode.PE]: `+51(###) ###-###`,\n [TuiCountryIsoCode.PF]: `+689 ## ## ## ##`,\n [TuiCountryIsoCode.PG]: `+675(###) ##-###`,\n [TuiCountryIsoCode.PH]: `+63(###) ###-####`,\n [TuiCountryIsoCode.PK]: `+92(###) ###-####`,\n [TuiCountryIsoCode.PL]: `+48(###) ###-###`,\n [TuiCountryIsoCode.PT]: `+351##-###-####`,\n [TuiCountryIsoCode.PW]: `+680###-####`,\n [TuiCountryIsoCode.PY]: `+595(###) ###-###`,\n [TuiCountryIsoCode.QA]: `+974####-####`,\n [TuiCountryIsoCode.RE]: `+262 ## ## ## ## ##`,\n [TuiCountryIsoCode.RO]: `+40##-###-####`,\n [TuiCountryIsoCode.RS]: `+381##-###-####`,\n [TuiCountryIsoCode.RU]: `+7### ###-##-##`,\n [TuiCountryIsoCode.RW]: `+250(###) ###-###`,\n [TuiCountryIsoCode.SA]: `+966#-####-####`,\n [TuiCountryIsoCode.SB]: `+677###-####`,\n [TuiCountryIsoCode.SC]: `+248#-###-###`,\n [TuiCountryIsoCode.SD]: `+249##-###-####`,\n [TuiCountryIsoCode.SE]: `+46##-###-####`,\n [TuiCountryIsoCode.SG]: `+65####-####`,\n [TuiCountryIsoCode.SH]: `+290####`,\n [TuiCountryIsoCode.SI]: `+386##-###-###`,\n [TuiCountryIsoCode.SK]: `+421(###) ###-###`,\n [TuiCountryIsoCode.SL]: `+232##-######`,\n [TuiCountryIsoCode.SM]: `+378####-######`,\n [TuiCountryIsoCode.SN]: `+221##-###-####`,\n [TuiCountryIsoCode.SO]: `+252##-###-###`,\n [TuiCountryIsoCode.SR]: `+597###-####`,\n [TuiCountryIsoCode.ST]: `+239##-#####`,\n [TuiCountryIsoCode.SV]: `+503##-##-####`,\n [TuiCountryIsoCode.SX]: `+1(721) ###-####`,\n [TuiCountryIsoCode.SY]: `+963##-####-###`,\n [TuiCountryIsoCode.SZ]: `+268##-##-####`,\n [TuiCountryIsoCode.TC]: `+1(649) ###-####`,\n [TuiCountryIsoCode.TD]: `+235##-##-##-##`,\n [TuiCountryIsoCode.TG]: `+228##-###-###`,\n [TuiCountryIsoCode.TH]: `+66##-###-####`,\n [TuiCountryIsoCode.TJ]: `+992##-###-####`,\n [TuiCountryIsoCode.TL]: `+670###-#####`,\n [TuiCountryIsoCode.TM]: `+993#-###-####`,\n [TuiCountryIsoCode.TN]: `+216##-###-###`,\n [TuiCountryIsoCode.TO]: `+676#####`,\n [TuiCountryIsoCode.TR]: `+90(###) ###-####`,\n [TuiCountryIsoCode.TT]: `+1(868) ###-####`,\n [TuiCountryIsoCode.TW]: `+886#-####-####`,\n [TuiCountryIsoCode.TZ]: `+255##-###-####`,\n [TuiCountryIsoCode.UA]: `+380(##) ###-##-##`,\n [TuiCountryIsoCode.UG]: `+256(###) ###-###`,\n [TuiCountryIsoCode.US]: `+1(###) ###-####`,\n [TuiCountryIsoCode.UY]: `+598#-###-##-##`,\n [TuiCountryIsoCode.UZ]: `+998##-###-####`,\n [TuiCountryIsoCode.VC]: `+1(784) ###-####`,\n [TuiCountryIsoCode.VE]: `+58(###) ###-####`,\n [TuiCountryIsoCode.VG]: `+1(284)###-####`,\n [TuiCountryIsoCode.VN]: `+84(###) ####-###`,\n [TuiCountryIsoCode.VU]: `+678##-#####`,\n [TuiCountryIsoCode.WS]: `+685##-####`,\n [TuiCountryIsoCode.XK]: `+383##-###-###`,\n [TuiCountryIsoCode.YE]: `+967###-###-###`,\n [TuiCountryIsoCode.YT]: `+262 ## ## ## ## ##`,\n [TuiCountryIsoCode.ZA]: `+27##-###-####`,\n [TuiCountryIsoCode.ZM]: `+260##-###-####`,\n [TuiCountryIsoCode.ZW]: `+263#-######`,\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk';\n\n// TODO: Refactor to use `AbstractTuiValueTransformer` and add ability to provide it for all controls\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDay | null>\n>(`[TUI_DATE_VALUE_TRANSFORMER]`);\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDayRange | null>\n>(`[TUI_DATE_RANGE_VALUE_TRANSFORMER]`);\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<[TuiDay | null, TuiTime | null]>\n>(`[TUI_DATE_TIME_VALUE_TRANSFORMER]`);\n","import {tuiCreateTokenFromFactory, TuiDateMode} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode, tuiExtractI18n} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_PROMPT_WORDS = tuiCreateTokenFromFactory(tuiExtractI18n(`prompt`));\n\nexport const TUI_CANCEL_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`cancel`));\n\nexport const TUI_DONE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`done`));\n\nexport const TUI_MORE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`more`));\n\nexport const TUI_HIDE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`hide`));\n\nexport const TUI_SHOW_ALL_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`showAll`));\n\nexport const TUI_OTHER_DATE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`otherDate`));\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`mobileCalendarTexts`),\n);\n\nexport const TUI_FROM_TO_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`range`));\n\nexport const TUI_PLUS_MINUS_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`countTexts`),\n);\n\nexport const TUI_TIME_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`time`));\n\nexport const TUI_DATE_TEXTS = tuiCreateTokenFromFactory<\n Observable<Record<TuiDateMode, string>>\n>(tuiExtractI18n(`dateTexts`));\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`digitalInformationUnits`),\n);\n\nexport const TUI_COPY_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`copyTexts`));\n\nexport const TUI_PASSWORD_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`passwordTexts`),\n);\n\nexport const TUI_CALENDAR_MONTHS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`shortCalendarMonths`),\n);\n\nexport const TUI_FILE_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`fileTexts`));\n\nexport const TUI_PAGINATION_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`pagination`),\n);\n\nexport const TUI_INPUT_FILE_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`inputFileTexts`),\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`multiSelectTexts`),\n);\n\nexport const TUI_COUNTRIES = tuiCreateTokenFromFactory<\n Observable<Record<TuiCountryIsoCode, string>>\n>(tuiExtractI18n(`countries`));\n","import {Provider} from '@angular/core';\nimport {\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiContextWithImplicit,\n tuiCreateToken,\n TuiDay,\n tuiProvideOptions,\n} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: ({$implicit}) =>\n $implicit === `s` ? `tuiIconCalendar` : `tuiIconCalendarLarge`,\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const TUI_INPUT_DATE_OPTIONS = tuiCreateToken(TUI_INPUT_DATE_DEFAULT_OPTIONS);\n\nexport function tuiInputDateOptionsProvider(\n options: Partial<TuiInputDateOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_DATE_OPTIONS,\n options,\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n );\n}\n","import {Provider} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TuiBooleanHandler,\n tuiCreateToken,\n TuiIdentityMatcher,\n tuiProvideOptions,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\n\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: TUI_DEFAULT_STRINGIFY,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: ALWAYS_FALSE_HANDLER,\n};\n\n/**\n * Default items handlers for components\n */\nexport const TUI_ITEMS_HANDLERS = tuiCreateToken(TUI_DEFAULT_ITEMS_HANDLERS);\n\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);\n}\n","import {InjectionToken, Type} from '@angular/core';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n `[TUI_MOBILE_CALENDAR]`,\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\n/**\n * A function to get localized formatted month\n */\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n TuiHandler<TuiMonth | null, Observable<string>>\n>(`[TUI_MONTH_FORMATTER]`);\n","import {tuiCreateToken} from '@taiga-ui/cdk';\n\n/**\n * Margin between tabs\n */\nexport const TUI_TAB_MARGIN = tuiCreateToken(24);\n","import {tuiCreateToken} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\n/**\n * Validation errors\n */\nexport const TUI_VALIDATION_ERRORS = tuiCreateToken<\n Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>\n>({});\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAMA;;AAEG;MACU,wBAAwB,GAAG,IAAI,cAAc,CAExD,CAA4B,0BAAA,CAAA,EAAE;AAE1B,SAAU,4BAA4B,CACxC,WAA4D,EAAA;IAE5D,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;YACF,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,CAAC;AACvC,YAAA,CAAC,IAAI,QAAQ,EAAE,EAAE,WAAW,CAAC;AAChC,SAAA;AACD,QAAA,UAAU,EAAE,sBAAsB;KACrC,CAAC;AACN;;ACrBO,MAAM,mBAAmB,GAAG,cAAc,CAAoC;AACjF,IAAA,CAAC,iBAAiB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AA,GAAG,EAAE,YAAY;AACjB,IAAA,YAAY,EAAE,KAAK;EACrB;AAEF;;AAEG;MACU,sBAAsB,GAAG,cAAc,CAAC,8BAA8B,EAAE;AAE/E,SAAU,2BAA2B,CACvC,OAAqC,EAAA;IAErC,OAAO,iBAAiB,CACpB,sBAAsB,EACtB,OAAO,EACP,8BAA8B,CACjC,CAAC;AACN;;ACtBa,MAAA,0BAA0B,GAA8B;AACjE,IAAA,SAAS,EAAE,qBAAqB;AAChC,IAAA,eAAe,EAAE,4BAA4B;AAC7C,IAAA,mBAAmB,EAAE,oBAAoB;EAC3C;AAEF;;AAEG;MACU,kBAAkB,GAAG,cAAc,CAAC,0BAA0B,EAAE;AAEvE,SAAU,wBAAwB,CACpC,OAAqC,EAAA;IAErC,OAAO,iBAAiB,CAAC,kBAAkB,EAAE,OAAO,EAAE,0BAA0B,CAAC,CAAC;AACtF;;AC/BA;;AAEG;MACU,mBAAmB,GAAG,IAAI,cAAc,CACjD,CAAuB,qBAAA,CAAA;;ACF3B;;AAEG;MACU,mBAAmB,GAAG,IAAI,cAAc,CAEnD,CAAuB,qBAAA,CAAA;;ACPzB;;AAEG;MACU,cAAc,GAAG,cAAc,CAAC,EAAE;;ACD/C;;AAEG;MACU,qBAAqB,GAAG,cAAc,CAEjD,EAAE;;ACTJ;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-tokens.js","sources":["../../../projects/kit/tokens/calendar-date-stream.ts","../../../projects/kit/tokens/countries-masks.ts","../../../projects/kit/tokens/date-inputs-value-transformers.ts","../../../projects/kit/tokens/i18n.ts","../../../projects/kit/tokens/input-date-options.ts","../../../projects/kit/tokens/items-handlers.ts","../../../projects/kit/tokens/mobile-calendar.ts","../../../projects/kit/tokens/month-formatter.ts","../../../projects/kit/tokens/tab-margin.ts","../../../projects/kit/tokens/validation-errors.ts"],"sourcesContent":["import {InjectionToken, Optional, Provider, Self} from '@angular/core';\nimport {NgControl} from '@angular/forms';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {tuiControlValueFactory} from '@taiga-ui/kit/utils';\nimport {Observable} from 'rxjs';\n\n/**\n * Stream that emits calendar data change\n */\nexport const TUI_CALENDAR_DATE_STREAM = new InjectionToken<\n Observable<TuiDay | TuiDayRange | null>\n>(`[TUI_CALENDAR_DATE_STREAM]`);\n\nexport function tuiDateStreamWithTransformer(\n transformer: InjectionToken<TuiControlValueTransformer<any>>,\n): Provider {\n return {\n provide: TUI_CALENDAR_DATE_STREAM,\n deps: [\n [new Optional(), new Self(), NgControl],\n [new Optional(), transformer],\n ],\n useFactory: tuiControlValueFactory,\n };\n}\n","import {tuiCreateToken} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode} from '@taiga-ui/i18n';\n\nexport const TUI_COUNTRIES_MASKS = tuiCreateToken<Record<TuiCountryIsoCode, string>>({\n [TuiCountryIsoCode.AD]: `+376###-###`,\n [TuiCountryIsoCode.AE]: `+971-##-###-####`,\n [TuiCountryIsoCode.AF]: `+93##-###-####`,\n [TuiCountryIsoCode.AG]: `+1(268) ###-####`,\n [TuiCountryIsoCode.AI]: `+1(264) ###-####`,\n [TuiCountryIsoCode.AL]: `+355(###) ###-###`,\n [TuiCountryIsoCode.AM]: `+374##-###-###`,\n [TuiCountryIsoCode.AO]: `+244(###) ###-###`,\n [TuiCountryIsoCode.AR]: `+54(###) ####-####`,\n [TuiCountryIsoCode.AT]: `+43(###) ###-####`,\n [TuiCountryIsoCode.AU]: `+61#-####-####`,\n [TuiCountryIsoCode.AW]: `+297###-####`,\n [TuiCountryIsoCode.AZ]: `+994##-###-##-##`,\n [TuiCountryIsoCode.BA]: `+387 ###-####-##`,\n [TuiCountryIsoCode.BB]: `+1(246) ###-####`,\n [TuiCountryIsoCode.BD]: `+880##-###-###`,\n [TuiCountryIsoCode.BE]: `+32(###) ###-###`,\n [TuiCountryIsoCode.BF]: `+226##-##-####`,\n [TuiCountryIsoCode.BG]: `+359(###) ###-###`,\n [TuiCountryIsoCode.BH]: `+973####-####`,\n [TuiCountryIsoCode.BI]: `+257##-##-####`,\n [TuiCountryIsoCode.BJ]: `+229##-##-####`,\n [TuiCountryIsoCode.BL]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.BM]: `+1(441) ###-####`,\n [TuiCountryIsoCode.BN]: `+673###-####`,\n [TuiCountryIsoCode.BO]: `+591#-###-####`,\n [TuiCountryIsoCode.BQ]: `+599-###-####`,\n [TuiCountryIsoCode.BR]: `+55(##) ####-####`,\n [TuiCountryIsoCode.BS]: `+1(242) ###-####`,\n [TuiCountryIsoCode.BT]: `+975#-###-###`,\n [TuiCountryIsoCode.BW]: `+267##-###-###`,\n [TuiCountryIsoCode.BY]: `+375(##) ###-##-##`,\n [TuiCountryIsoCode.BZ]: `+501###-####`,\n [TuiCountryIsoCode.CA]: `+1(###) ###-####`,\n [TuiCountryIsoCode.CD]: `+243(###) ###-###`,\n [TuiCountryIsoCode.CF]: `+236-##-##-####`,\n [TuiCountryIsoCode.CG]: `+242##-###-####`,\n [TuiCountryIsoCode.CH]: `+41##-###-####`,\n [TuiCountryIsoCode.CI]: `+225##-##-###-###`,\n [TuiCountryIsoCode.CL]: `+56#-####-####`,\n [TuiCountryIsoCode.CM]: `+237#####-####`,\n [TuiCountryIsoCode.CN]: `+86(###) ####-####`,\n [TuiCountryIsoCode.CO]: `+57(###) ###-####`,\n [TuiCountryIsoCode.CR]: `+506####-####`,\n [TuiCountryIsoCode.CU]: `+53#-###-####`,\n [TuiCountryIsoCode.CV]: `+238(###) ##-##`,\n [TuiCountryIsoCode.CW]: `+5999-###-####`,\n [TuiCountryIsoCode.CY]: `+357##-###-###`,\n [TuiCountryIsoCode.CZ]: `+420(###) ###-###`,\n [TuiCountryIsoCode.DE]: `+49(###) ###-###-##`,\n [TuiCountryIsoCode.DJ]: `+253##-##-##-##`,\n [TuiCountryIsoCode.DK]: `+45##-##-##-##`,\n [TuiCountryIsoCode.DM]: `+1(767) ###-####`,\n [TuiCountryIsoCode.DO]: `+1(###) ###-####`,\n [TuiCountryIsoCode.DZ]: `+213##-###-####`,\n [TuiCountryIsoCode.EC]: `+593##-###-####`,\n [TuiCountryIsoCode.EE]: `+372####-####`,\n [TuiCountryIsoCode.EG]: `+20(###) ###-####`,\n [TuiCountryIsoCode.ER]: `+291#-###-###`,\n [TuiCountryIsoCode.ES]: `+34(###) ###-###`,\n [TuiCountryIsoCode.ET]: `+251##-###-####`,\n [TuiCountryIsoCode.FI]: `+358(###) ###-##-##`,\n [TuiCountryIsoCode.FJ]: `+679##-#####`,\n [TuiCountryIsoCode.FK]: `+500#####`,\n [TuiCountryIsoCode.FM]: `+691###-####`,\n [TuiCountryIsoCode.FR]: `+33 ## ## ## ## ##`,\n [TuiCountryIsoCode.GA]: `+241##-##-##-##`,\n [TuiCountryIsoCode.GB]: `+44##-####-####`,\n [TuiCountryIsoCode.GD]: `+1(473) ###-####`,\n [TuiCountryIsoCode.GE]: `+995(###) ###-###`,\n [TuiCountryIsoCode.GF]: `+594 ## ## ## ## ##`,\n [TuiCountryIsoCode.GH]: `+233(###) ###-###`,\n [TuiCountryIsoCode.GI]: `+350###-#####`,\n [TuiCountryIsoCode.GL]: `+299##-##-##`,\n [TuiCountryIsoCode.GM]: `+220(###) ##-##`,\n [TuiCountryIsoCode.GN]: `+224##-###-###`,\n [TuiCountryIsoCode.GP]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.GQ]: `+240##-###-####`,\n [TuiCountryIsoCode.GR]: `+30(###) ###-####`,\n [TuiCountryIsoCode.GT]: `+502#-###-####`,\n [TuiCountryIsoCode.GW]: `+245#-######`,\n [TuiCountryIsoCode.GY]: `+592###-####`,\n [TuiCountryIsoCode.HK]: `+852####-####`,\n [TuiCountryIsoCode.HN]: `+504####-####`,\n [TuiCountryIsoCode.HR]: `+385##-###-####`,\n [TuiCountryIsoCode.HT]: `+509##-##-####`,\n [TuiCountryIsoCode.HU]: `+36(###) ###-###`,\n [TuiCountryIsoCode.ID]: `+62(###) ###-##-###`,\n [TuiCountryIsoCode.IE]: `+353(###) ###-###`,\n [TuiCountryIsoCode.IL]: `+972##-###-####`,\n [TuiCountryIsoCode.IN]: `+91(####) ###-###`,\n [TuiCountryIsoCode.IQ]: `+964(###) ###-####`,\n [TuiCountryIsoCode.IR]: `+98(###) ###-####`,\n [TuiCountryIsoCode.IS]: `+354###-####`,\n [TuiCountryIsoCode.IT]: `+39(###) ####-###`,\n [TuiCountryIsoCode.JM]: `+1(876) ###-####`,\n [TuiCountryIsoCode.JO]: `+962#-####-####`,\n [TuiCountryIsoCode.JP]: `+81-##-####-####`,\n [TuiCountryIsoCode.KE]: `+254###-######`,\n [TuiCountryIsoCode.KG]: `+996(###) ###-###`,\n [TuiCountryIsoCode.KH]: `+855##-###-###`,\n [TuiCountryIsoCode.KM]: `+269##-#####`,\n [TuiCountryIsoCode.KN]: `+1(869) ###-####`,\n [TuiCountryIsoCode.KP]: `+850####-#############`,\n [TuiCountryIsoCode.KR]: `+82##-###-####`,\n [TuiCountryIsoCode.KW]: `+965####-####`,\n [TuiCountryIsoCode.KY]: `+1(345) ###-####`,\n [TuiCountryIsoCode.KZ]: `+7(###) ###-##-##`,\n [TuiCountryIsoCode.LA]: `+856##-##-###-###`,\n [TuiCountryIsoCode.LB]: `+961##-###-###`,\n [TuiCountryIsoCode.LC]: `+1(758) ###-####`,\n [TuiCountryIsoCode.LI]: `+423(###) ###-####`,\n [TuiCountryIsoCode.LK]: `+94##-###-####`,\n [TuiCountryIsoCode.LR]: `+231##-###-###`,\n [TuiCountryIsoCode.LS]: `+266#-###-####`,\n [TuiCountryIsoCode.LT]: `+370(###) ##-###`,\n [TuiCountryIsoCode.LU]: `+352(###) ###-###`,\n [TuiCountryIsoCode.LV]: `+371##-###-###`,\n [TuiCountryIsoCode.LY]: `+218##-###-####`,\n [TuiCountryIsoCode.MA]: `+212##-####-###`,\n [TuiCountryIsoCode.MC]: `+377###-###-###`,\n [TuiCountryIsoCode.MD]: `+373####-####`,\n [TuiCountryIsoCode.ME]: `+382##-###-###`,\n [TuiCountryIsoCode.MF]: `+590 ## ## ## ## ##`,\n [TuiCountryIsoCode.MG]: `+261##-##-#####`,\n [TuiCountryIsoCode.MK]: `+389##-###-###`,\n [TuiCountryIsoCode.ML]: `+223##-##-####`,\n [TuiCountryIsoCode.MM]: `+95##-###-###`,\n [TuiCountryIsoCode.MN]: `+976##-##-####`,\n [TuiCountryIsoCode.MO]: `+853####-####`,\n [TuiCountryIsoCode.MQ]: `+596 ## ## ## ## ##`,\n [TuiCountryIsoCode.MR]: `+222##-##-####`,\n [TuiCountryIsoCode.MS]: `+1(664) ###-####`,\n [TuiCountryIsoCode.MT]: `+356####-####`,\n [TuiCountryIsoCode.MU]: `+230####-####`,\n [TuiCountryIsoCode.MV]: `+960###-####`,\n [TuiCountryIsoCode.MW]: `+265#-####-####`,\n [TuiCountryIsoCode.MX]: `+52(###) ###-####`,\n [TuiCountryIsoCode.MY]: `+60(###) ###-###`,\n [TuiCountryIsoCode.MZ]: `+258##-###-###`,\n [TuiCountryIsoCode.NA]: `+264##-###-####`,\n [TuiCountryIsoCode.NC]: `+687 ### ###`,\n [TuiCountryIsoCode.NE]: `+227##-##-####`,\n [TuiCountryIsoCode.NG]: `+234(###) ###-####`,\n [TuiCountryIsoCode.NI]: `+505####-####`,\n [TuiCountryIsoCode.NL]: `+31##-###-####`,\n [TuiCountryIsoCode.NO]: `+47(###) ##-###`,\n [TuiCountryIsoCode.NP]: `+977##-###-###`,\n [TuiCountryIsoCode.NZ]: `+64(###) ###-####`,\n [TuiCountryIsoCode.OM]: `+968##-###-###`,\n [TuiCountryIsoCode.PA]: `+507###-####`,\n [TuiCountryIsoCode.PE]: `+51(###) ###-###`,\n [TuiCountryIsoCode.PF]: `+689 ## ## ## ##`,\n [TuiCountryIsoCode.PG]: `+675(###) ##-###`,\n [TuiCountryIsoCode.PH]: `+63(###) ###-####`,\n [TuiCountryIsoCode.PK]: `+92(###) ###-####`,\n [TuiCountryIsoCode.PL]: `+48(###) ###-###`,\n [TuiCountryIsoCode.PT]: `+351##-###-####`,\n [TuiCountryIsoCode.PW]: `+680###-####`,\n [TuiCountryIsoCode.PY]: `+595(###) ###-###`,\n [TuiCountryIsoCode.QA]: `+974####-####`,\n [TuiCountryIsoCode.RE]: `+262 ## ## ## ## ##`,\n [TuiCountryIsoCode.RO]: `+40##-###-####`,\n [TuiCountryIsoCode.RS]: `+381##-###-####`,\n [TuiCountryIsoCode.RU]: `+7### ###-##-##`,\n [TuiCountryIsoCode.RW]: `+250(###) ###-###`,\n [TuiCountryIsoCode.SA]: `+966#-####-####`,\n [TuiCountryIsoCode.SB]: `+677###-####`,\n [TuiCountryIsoCode.SC]: `+248#-###-###`,\n [TuiCountryIsoCode.SD]: `+249##-###-####`,\n [TuiCountryIsoCode.SE]: `+46##-###-####`,\n [TuiCountryIsoCode.SG]: `+65####-####`,\n [TuiCountryIsoCode.SH]: `+290####`,\n [TuiCountryIsoCode.SI]: `+386##-###-###`,\n [TuiCountryIsoCode.SK]: `+421(###) ###-###`,\n [TuiCountryIsoCode.SL]: `+232##-######`,\n [TuiCountryIsoCode.SM]: `+378####-######`,\n [TuiCountryIsoCode.SN]: `+221##-###-####`,\n [TuiCountryIsoCode.SO]: `+252##-###-###`,\n [TuiCountryIsoCode.SR]: `+597###-####`,\n [TuiCountryIsoCode.ST]: `+239##-#####`,\n [TuiCountryIsoCode.SV]: `+503##-##-####`,\n [TuiCountryIsoCode.SX]: `+1(721) ###-####`,\n [TuiCountryIsoCode.SY]: `+963##-####-###`,\n [TuiCountryIsoCode.SZ]: `+268##-##-####`,\n [TuiCountryIsoCode.TC]: `+1(649) ###-####`,\n [TuiCountryIsoCode.TD]: `+235##-##-##-##`,\n [TuiCountryIsoCode.TG]: `+228##-###-###`,\n [TuiCountryIsoCode.TH]: `+66##-###-####`,\n [TuiCountryIsoCode.TJ]: `+992##-###-####`,\n [TuiCountryIsoCode.TL]: `+670###-#####`,\n [TuiCountryIsoCode.TM]: `+993#-###-####`,\n [TuiCountryIsoCode.TN]: `+216##-###-###`,\n [TuiCountryIsoCode.TO]: `+676#####`,\n [TuiCountryIsoCode.TR]: `+90(###) ###-####`,\n [TuiCountryIsoCode.TT]: `+1(868) ###-####`,\n [TuiCountryIsoCode.TW]: `+886#-####-####`,\n [TuiCountryIsoCode.TZ]: `+255##-###-####`,\n [TuiCountryIsoCode.UA]: `+380(##) ###-##-##`,\n [TuiCountryIsoCode.UG]: `+256(###) ###-###`,\n [TuiCountryIsoCode.US]: `+1(###) ###-####`,\n [TuiCountryIsoCode.UY]: `+598#-###-##-##`,\n [TuiCountryIsoCode.UZ]: `+998##-###-####`,\n [TuiCountryIsoCode.VC]: `+1(784) ###-####`,\n [TuiCountryIsoCode.VE]: `+58(###) ###-####`,\n [TuiCountryIsoCode.VG]: `+1(284)###-####`,\n [TuiCountryIsoCode.VN]: `+84(###) ####-###`,\n [TuiCountryIsoCode.VU]: `+678##-#####`,\n [TuiCountryIsoCode.WS]: `+685##-####`,\n [TuiCountryIsoCode.XK]: `+383##-###-###`,\n [TuiCountryIsoCode.YE]: `+967###-###-###`,\n [TuiCountryIsoCode.YT]: `+262 ## ## ## ## ##`,\n [TuiCountryIsoCode.ZA]: `+27##-###-####`,\n [TuiCountryIsoCode.ZM]: `+260##-###-####`,\n [TuiCountryIsoCode.ZW]: `+263#-######`,\n});\n","import {InjectionToken} from '@angular/core';\nimport {TuiControlValueTransformer, TuiDay, TuiDayRange, TuiTime} from '@taiga-ui/cdk';\n\n// TODO: Refactor to use `AbstractTuiValueTransformer` and add ability to provide it for all controls\n\n/**\n * Control value transformer of TuiDay to custom value format for InputDate* components\n */\nexport const TUI_DATE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDay | null>\n>(`[TUI_DATE_VALUE_TRANSFORMER]`);\n\n/**\n * Control value transformer for InputDateRange component\n */\nexport const TUI_DATE_RANGE_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<TuiDayRange | null>\n>(`[TUI_DATE_RANGE_VALUE_TRANSFORMER]`);\n\n/**\n * Control value transformer for InputDateTime component\n */\nexport const TUI_DATE_TIME_VALUE_TRANSFORMER = new InjectionToken<\n TuiControlValueTransformer<[TuiDay | null, TuiTime | null]>\n>(`[TUI_DATE_TIME_VALUE_TRANSFORMER]`);\n","import {tuiCreateTokenFromFactory, TuiDateMode} from '@taiga-ui/cdk';\nimport {TuiCountryIsoCode, tuiExtractI18n} from '@taiga-ui/i18n';\nimport {Observable} from 'rxjs';\n\nexport const TUI_PROMPT_WORDS = tuiCreateTokenFromFactory(tuiExtractI18n(`prompt`));\n\nexport const TUI_CANCEL_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`cancel`));\n\nexport const TUI_DONE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`done`));\n\nexport const TUI_MORE_WORD = tuiCreateTokenFromFactory(tuiExtractI18n(`more`));\n\nexport const TUI_HIDE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`hide`));\n\nexport const TUI_SHOW_ALL_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`showAll`));\n\nexport const TUI_OTHER_DATE_TEXT = tuiCreateTokenFromFactory(tuiExtractI18n(`otherDate`));\n\nexport const TUI_CHOOSE_DAY_OR_RANGE_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`mobileCalendarTexts`),\n);\n\nexport const TUI_FROM_TO_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`range`));\n\nexport const TUI_PLUS_MINUS_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`countTexts`),\n);\n\nexport const TUI_TIME_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`time`));\n\nexport const TUI_DATE_TEXTS = tuiCreateTokenFromFactory<\n Observable<Record<TuiDateMode, string>>\n>(tuiExtractI18n(`dateTexts`));\n\nexport const TUI_DIGITAL_INFORMATION_UNITS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`digitalInformationUnits`),\n);\n\nexport const TUI_COPY_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`copyTexts`));\n\nexport const TUI_PASSWORD_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`passwordTexts`),\n);\n\nexport const TUI_CALENDAR_MONTHS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`shortCalendarMonths`),\n);\n\nexport const TUI_FILE_TEXTS = tuiCreateTokenFromFactory(tuiExtractI18n(`fileTexts`));\n\nexport const TUI_PAGINATION_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`pagination`),\n);\n\nexport const TUI_INPUT_FILE_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`inputFileTexts`),\n);\n\nexport const TUI_MULTI_SELECT_TEXTS = tuiCreateTokenFromFactory(\n tuiExtractI18n(`multiSelectTexts`),\n);\n\nexport const TUI_COUNTRIES = tuiCreateTokenFromFactory<\n Observable<Record<TuiCountryIsoCode, string>>\n>(tuiExtractI18n(`countries`));\n","import {Provider} from '@angular/core';\nimport {\n TUI_FIRST_DAY,\n TUI_LAST_DAY,\n TuiContextWithImplicit,\n tuiCreateToken,\n TuiDay,\n tuiProvideOptions,\n} from '@taiga-ui/cdk';\nimport {TuiSizeL, TuiSizeS} from '@taiga-ui/core';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport interface TuiInputDateOptions {\n readonly icon: PolymorpheusContent<TuiContextWithImplicit<TuiSizeL | TuiSizeS>>;\n readonly max: TuiDay;\n readonly min: TuiDay;\n readonly nativePicker: boolean;\n}\n\nexport const TUI_INPUT_DATE_DEFAULT_OPTIONS: TuiInputDateOptions = {\n icon: ({$implicit}) =>\n $implicit === `s` ? `tuiIconCalendar` : `tuiIconCalendarLarge`,\n min: TUI_FIRST_DAY,\n max: TUI_LAST_DAY,\n nativePicker: false,\n};\n\n/**\n * Default parameters for InputDate component\n */\nexport const TUI_INPUT_DATE_OPTIONS = tuiCreateToken(TUI_INPUT_DATE_DEFAULT_OPTIONS);\n\nexport function tuiInputDateOptionsProvider(\n options: Partial<TuiInputDateOptions>,\n): Provider {\n return tuiProvideOptions(\n TUI_INPUT_DATE_OPTIONS,\n options,\n TUI_INPUT_DATE_DEFAULT_OPTIONS,\n );\n}\n","import {Provider} from '@angular/core';\nimport {\n ALWAYS_FALSE_HANDLER,\n TUI_DEFAULT_IDENTITY_MATCHER,\n TUI_DEFAULT_STRINGIFY,\n TuiBooleanHandler,\n tuiCreateToken,\n TuiIdentityMatcher,\n tuiProvideOptions,\n TuiStringHandler,\n} from '@taiga-ui/cdk';\n\nexport interface TuiItemsHandlers<T> {\n readonly disabledItemHandler: TuiBooleanHandler<T>;\n readonly identityMatcher: TuiIdentityMatcher<T>;\n readonly stringify: TuiStringHandler<T>;\n}\n\nexport const TUI_DEFAULT_ITEMS_HANDLERS: TuiItemsHandlers<unknown> = {\n stringify: TUI_DEFAULT_STRINGIFY,\n identityMatcher: TUI_DEFAULT_IDENTITY_MATCHER,\n disabledItemHandler: ALWAYS_FALSE_HANDLER,\n};\n\n/**\n * Default items handlers for components\n */\nexport const TUI_ITEMS_HANDLERS = tuiCreateToken(TUI_DEFAULT_ITEMS_HANDLERS);\n\nexport function tuiItemsHandlersProvider<T>(\n options: Partial<TuiItemsHandlers<T>>,\n): Provider {\n return tuiProvideOptions(TUI_ITEMS_HANDLERS, options, TUI_DEFAULT_ITEMS_HANDLERS);\n}\n","import {InjectionToken, Type} from '@angular/core';\n\n/**\n * A component for mobile data picker\n */\nexport const TUI_MOBILE_CALENDAR = new InjectionToken<Type<unknown>>(\n `[TUI_MOBILE_CALENDAR]`,\n);\n","import {InjectionToken} from '@angular/core';\nimport {TuiHandler, TuiMonth} from '@taiga-ui/cdk';\nimport {Observable} from 'rxjs';\n\n/**\n * A function to get localized formatted month\n */\nexport const TUI_MONTH_FORMATTER = new InjectionToken<\n TuiHandler<TuiMonth | null, Observable<string>>\n>(`[TUI_MONTH_FORMATTER]`);\n","import {tuiCreateToken} from '@taiga-ui/cdk';\n\n/**\n * Margin between tabs\n */\nexport const TUI_TAB_MARGIN = tuiCreateToken(24);\n","import {tuiCreateToken} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observable} from 'rxjs';\n\n/**\n * Validation errors\n */\nexport const TUI_VALIDATION_ERRORS = tuiCreateToken<\n Record<string, Observable<PolymorpheusContent> | PolymorpheusContent>\n>({});\n"],"names":[],"mappings":";;;;;;MASa,wBAAwB,GAAG,IAAI,cAAc,CAExD,CAA4B,0BAAA,CAAA,EAAE;AAE1B,SAAU,4BAA4B,CACxC,WAA4D,EAAA;IAE5D,OAAO;AACH,QAAA,OAAO,EAAE,wBAAwB;AACjC,QAAA,IAAI,EAAE;YACF,CAAC,IAAI,QAAQ,EAAE,EAAE,IAAI,IAAI,EAAE,EAAE,SAAS,CAAC;AACvC,YAAA,CAAC,IAAI,QAAQ,EAAE,EAAE,WAAW,CAAC;AAChC,SAAA;AACD,QAAA,UAAU,EAAE,sBAAsB;KACrC,CAAC;AACN;;ACrBO,MAAM,mBAAmB,GAAG,cAAc,CAAoC;AACjF,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAa,WAAA,CAAA;AACrC,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAkB,gBAAA,CAAA;AAC1C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAgB,cAAA,CAAA;AACxC,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAkB,gBAAA,CAAA;AAC1C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAkB,gBAAA,CAAA;AAC1C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAmB,iBAAA,CAAA;AAC3C,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAgB,cAAA,CAAA;AACxC,IAAA,CAAC,iBAAiB,CAAC,EAAE,GAAG,CAAmB,iBAAA,CAAA;AAC3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mBAAmB,GAAG,IAAI,cAAc,CACjD,CAAuB,qBAAA,CAAA;;MCCd,mBAAmB,GAAG,IAAI,cAAc,CAEnD,CAAuB,qBAAA,CAAA;;MCJZ,cAAc,GAAG,cAAc,CAAC,EAAE;;MCElC,qBAAqB,GAAG,cAAc,CAEjD,EAAE;;;;"}
@@ -1,4 +1,2 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
1
+
4
2
  //# sourceMappingURL=taiga-ui-kit-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-types.js","sources":["../../../projects/kit/types/taiga-ui-kit-types.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;AAEG"}
1
+ {"version":3,"file":"taiga-ui-kit-types.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -22,9 +22,5 @@ function tuiGetAcceptArray(accept) {
22
22
  .map(format => format.trim());
23
23
  }
24
24
 
25
- /**
26
- * Generated bundle index. Do not edit.
27
- */
28
-
29
25
  export { tuiFormatSize, tuiGetAcceptArray };
30
26
  //# sourceMappingURL=taiga-ui-kit-utils-files.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils-files.js","sources":["../../../projects/kit/utils/files/format-size.ts","../../../projects/kit/utils/files/get-accept-array.ts","../../../projects/kit/utils/files/taiga-ui-kit-utils-files.ts"],"sourcesContent":["import {tuiRound} from '@taiga-ui/cdk';\n\nconst BYTES_PER_KIB = 1024;\nconst BYTES_PER_MIB = 1024 * BYTES_PER_KIB;\n\nexport function tuiFormatSize(\n units: [string, string, string],\n size?: number,\n): string | null {\n if (size === undefined) {\n return null;\n }\n\n if (size < BYTES_PER_KIB) {\n return `${size} ${units[0]}`;\n }\n\n if (size < BYTES_PER_MIB) {\n return `${(size / BYTES_PER_KIB).toFixed(0)} ${units[1]}`;\n }\n\n return `${tuiRound(size / BYTES_PER_MIB, 2).toLocaleString(`ru-RU`)} ${units[2]}`;\n}\n","export function tuiGetAcceptArray(accept: string): readonly string[] {\n return accept\n .toLowerCase()\n .split(`,`)\n .map(format => format.trim());\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEA,MAAM,aAAa,GAAG,IAAI,CAAC;AAC3B,MAAM,aAAa,GAAG,IAAI,GAAG,aAAa,CAAC;AAE3B,SAAA,aAAa,CACzB,KAA+B,EAC/B,IAAa,EAAA;IAEb,IAAI,IAAI,KAAK,SAAS,EAAE;AACpB,QAAA,OAAO,IAAI,CAAC;AACf,KAAA;IAED,IAAI,IAAI,GAAG,aAAa,EAAE;QACtB,OAAO,CAAA,EAAG,IAAI,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAChC,KAAA;IAED,IAAI,IAAI,GAAG,aAAa,EAAE;AACtB,QAAA,OAAO,GAAG,CAAC,IAAI,GAAG,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAC7D,KAAA;IAED,OAAO,CAAA,EAAG,QAAQ,CAAC,IAAI,GAAG,aAAa,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,CAAA,KAAA,CAAO,CAAC,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AACtF;;ACtBM,SAAU,iBAAiB,CAAC,MAAc,EAAA;AAC5C,IAAA,OAAO,MAAM;AACR,SAAA,WAAW,EAAE;SACb,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;AACtC;;ACLA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils-files.js","sources":["../../../projects/kit/utils/files/format-size.ts","../../../projects/kit/utils/files/get-accept-array.ts"],"sourcesContent":["import {tuiRound} from '@taiga-ui/cdk';\n\nconst BYTES_PER_KIB = 1024;\nconst BYTES_PER_MIB = 1024 * BYTES_PER_KIB;\n\nexport function tuiFormatSize(\n units: [string, string, string],\n size?: number,\n): string | null {\n if (size === undefined) {\n return null;\n }\n\n if (size < BYTES_PER_KIB) {\n return `${size} ${units[0]}`;\n }\n\n if (size < BYTES_PER_MIB) {\n return `${(size / BYTES_PER_KIB).toFixed(0)} ${units[1]}`;\n }\n\n return `${tuiRound(size / BYTES_PER_MIB, 2).toLocaleString(`ru-RU`)} ${units[2]}`;\n}\n","export function tuiGetAcceptArray(accept: string): readonly string[] {\n return accept\n .toLowerCase()\n .split(`,`)\n .map(format => format.trim());\n}\n"],"names":[],"mappings":";;AAEA,MAAM,aAAa,GAAG,IAAI,CAAC;AAC3B,MAAM,aAAa,GAAG,IAAI,GAAG,aAAa,CAAC;AAE3B,SAAA,aAAa,CACzB,KAA+B,EAC/B,IAAa,EAAA;IAEb,IAAI,IAAI,KAAK,SAAS,EAAE;AACpB,QAAA,OAAO,IAAI,CAAC;AACf,KAAA;IAED,IAAI,IAAI,GAAG,aAAa,EAAE;QACtB,OAAO,CAAA,EAAG,IAAI,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAChC,KAAA;IAED,IAAI,IAAI,GAAG,aAAa,EAAE;AACtB,QAAA,OAAO,GAAG,CAAC,IAAI,GAAG,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AAC7D,KAAA;IAED,OAAO,CAAA,EAAG,QAAQ,CAAC,IAAI,GAAG,aAAa,EAAE,CAAC,CAAC,CAAC,cAAc,CAAC,CAAA,KAAA,CAAO,CAAC,CAAI,CAAA,EAAA,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC;AACtF;;ACtBM,SAAU,iBAAiB,CAAC,MAAc,EAAA;AAC5C,IAAA,OAAO,MAAM;AACR,SAAA,WAAW,EAAE;SACb,KAAK,CAAC,GAAG,CAAC;SACV,GAAG,CAAC,MAAM,IAAI,MAAM,CAAC,IAAI,EAAE,CAAC,CAAC;AACtC;;;;"}
@@ -1,9 +1,3 @@
1
- /**
2
- * Converts a string to an HSL color
3
- * @param value string to convert
4
- * @return HSL color string
5
- */
6
- // @bad TODO: convert stringHashToHsl to stringHashToRgb
7
1
  function tuiStringHashToHsl(value) {
8
2
  if (value === ``) {
9
3
  return ``;
@@ -19,9 +13,5 @@ function tuiStringHashToHsl(value) {
19
13
  return `hsl(${hue},${saturation}%,${lightness}%)`;
20
14
  }
21
15
 
22
- /**
23
- * Generated bundle index. Do not edit.
24
- */
25
-
26
16
  export { tuiStringHashToHsl };
27
17
  //# sourceMappingURL=taiga-ui-kit-utils-format.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils-format.js","sources":["../../../projects/kit/utils/format/string-hash-to-hsl.ts","../../../projects/kit/utils/format/taiga-ui-kit-utils-format.ts"],"sourcesContent":["/**\n * Converts a string to an HSL color\n * @param value string to convert\n * @return HSL color string\n */\n// @bad TODO: convert stringHashToHsl to stringHashToRgb\nexport function tuiStringHashToHsl(value: string): string {\n if (value === ``) {\n return ``;\n }\n\n let hash = 0;\n\n for (let i = 0; i < value.length; i++) {\n hash = value.charCodeAt(i) + ((hash << 5) - hash);\n hash &= hash;\n }\n\n const hue = hash % 360;\n const saturation = 60 + (hash % 5);\n const lightness = 80 + (hash % 5);\n\n return `hsl(${hue},${saturation}%,${lightness}%)`;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":"AAAA;;;;AAIG;AACH;AACM,SAAU,kBAAkB,CAAC,KAAa,EAAA;IAC5C,IAAI,KAAK,KAAK,CAAA,CAAE,EAAE;AACd,QAAA,OAAO,EAAE,CAAC;AACb,KAAA;IAED,IAAI,IAAI,GAAG,CAAC,CAAC;AAEb,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACnC,QAAA,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC;QAClD,IAAI,IAAI,IAAI,CAAC;AAChB,KAAA;AAED,IAAA,MAAM,GAAG,GAAG,IAAI,GAAG,GAAG,CAAC;IACvB,MAAM,UAAU,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;IACnC,MAAM,SAAS,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;AAElC,IAAA,OAAO,OAAO,GAAG,CAAA,CAAA,EAAI,UAAU,CAAK,EAAA,EAAA,SAAS,IAAI,CAAC;AACtD;;ACvBA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils-format.js","sources":["../../../projects/kit/utils/format/string-hash-to-hsl.ts"],"sourcesContent":["/**\n * Converts a string to an HSL color\n * @param value string to convert\n * @return HSL color string\n */\n// @bad TODO: convert stringHashToHsl to stringHashToRgb\nexport function tuiStringHashToHsl(value: string): string {\n if (value === ``) {\n return ``;\n }\n\n let hash = 0;\n\n for (let i = 0; i < value.length; i++) {\n hash = value.charCodeAt(i) + ((hash << 5) - hash);\n hash &= hash;\n }\n\n const hue = hash % 360;\n const saturation = 60 + (hash % 5);\n const lightness = 80 + (hash % 5);\n\n return `hsl(${hue},${saturation}%,${lightness}%)`;\n}\n"],"names":[],"mappings":"AAMM,SAAU,kBAAkB,CAAC,KAAa,EAAA;IAC5C,IAAI,KAAK,KAAK,CAAA,CAAE,EAAE;AACd,QAAA,OAAO,EAAE,CAAC;AACb,KAAA;IAED,IAAI,IAAI,GAAG,CAAC,CAAC;AAEb,IAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;AACnC,QAAA,IAAI,GAAG,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC;QAClD,IAAI,IAAI,IAAI,CAAC;AAChB,KAAA;AAED,IAAA,MAAM,GAAG,GAAG,IAAI,GAAG,GAAG,CAAC;IACvB,MAAM,UAAU,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;IACnC,MAAM,SAAS,GAAG,EAAE,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC;AAElC,IAAA,OAAO,OAAO,GAAG,CAAA,CAAA,EAAI,UAAU,CAAK,EAAA,EAAA,SAAS,IAAI,CAAC;AACtD;;;;"}
@@ -2,10 +2,6 @@ import { TuiDay, DATE_FILLER_LENGTH, DATE_RANGE_FILLER_LENGTH, TuiDayRange, RANG
2
2
  import { MAX_TIME_VALUES, DATE_TIME_SEPARATOR } from '@taiga-ui/kit/constants';
3
3
  import { TUI_DIGIT_REGEXP } from '@taiga-ui/core';
4
4
 
5
- /**
6
- * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead
7
- * TODO: delete in v4.0
8
- */
9
5
  function tuiNormalizeDateValue(dateValue, { value, min, max, dateFormat, dateSeparator }) {
10
6
  return value && value.toString(dateFormat, dateSeparator) === dateValue
11
7
  ? dateValue
@@ -13,10 +9,6 @@ function tuiNormalizeDateValue(dateValue, { value, min, max, dateFormat, dateSep
13
9
  .dayLimit(min, max)
14
10
  .toString(dateFormat, dateSeparator);
15
11
  }
16
- /**
17
- * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead
18
- * TODO: delete in v4.0
19
- */
20
12
  function tuiCreateAutoCorrectedDatePipe(config) {
21
13
  return value => {
22
14
  if (value.length !== DATE_FILLER_LENGTH) {
@@ -48,32 +40,10 @@ function processRawValue(value, config) {
48
40
  return value;
49
41
  }
50
42
  }
51
- /**
52
- * @deprecated Use {@link https://maskito.dev/kit/date-range DateRange} from {@link https://github.com/taiga-family/maskito Maskito} instead
53
- * TODO: delete in v4.0
54
- * Normalizes date in formatted string
55
- *
56
- * Normalizes when:
57
- *
58
- * 1. It is a single date
59
- * 2. It is a single date and a separator
60
- * 3. It is two dates and a separator between them
61
- *
62
- * In **other** cases, the value does not change.
63
- *
64
- * @param config with min and max date
65
- * @return mask pipe handler that handles `min` and `max`
66
- */
67
43
  function tuiCreateAutoCorrectedDateRangePipe(config) {
68
44
  return value => ({ value: processRawValue(value, config) });
69
45
  }
70
46
 
71
- /**
72
- * @deprecated Use {@link https://maskito.dev/kit/time Time} from {@link https://github.com/taiga-family/maskito Maskito} instead
73
- * TODO: delete in v4.0
74
- * Adjusts the entered time by omitting only suitable values for hours and minutes
75
- * @returns time as a string
76
- */
77
47
  function tuiCreateAutoCorrectedTimePipe(timeMode = `HH:MM`, maxValues = {}) {
78
48
  const timeFormatArray = [`HH`, `MM`, `SS`, `MS`];
79
49
  const safeValues = Object.assign(Object.assign({}, MAX_TIME_VALUES), maxValues);
@@ -100,10 +70,6 @@ function tuiCreateAutoCorrectedTimePipe(timeMode = `HH:MM`, maxValues = {}) {
100
70
  };
101
71
  }
102
72
 
103
- /**
104
- * @deprecated Use {@link https://maskito.dev/kit/date-time DateTime} from {@link https://github.com/taiga-family/maskito Maskito} instead
105
- * TODO: delete in v4.0
106
- */
107
73
  function tuiCreateAutoCorrectedDateTimePipe(configs) {
108
74
  const timePipe = tuiCreateAutoCorrectedTimePipe(configs.timeMode);
109
75
  return value => {
@@ -130,10 +96,6 @@ function tuiCreateAutoCorrectedDateTimePipe(configs) {
130
96
 
131
97
  const TWO_DIGITS = new Array(2).fill(TUI_DIGIT_REGEXP);
132
98
  const FOUR_DIGITS = new Array(4).fill(TUI_DIGIT_REGEXP);
133
- /**
134
- * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead
135
- * TODO: delete in v4.0
136
- */
137
99
  function tuiCreateDateMask(mode, separator) {
138
100
  ngDevMode &&
139
101
  tuiAssert.assert(separator.length === 1, `Separator should consist of only 1 symbol`);
@@ -147,10 +109,6 @@ function tuiCreateDateMask(mode, separator) {
147
109
  }
148
110
  }
149
111
 
150
- /**
151
- * @deprecated Use {@link https://maskito.dev/kit/date-range DateRange} from {@link https://github.com/taiga-family/maskito Maskito} instead
152
- * TODO: delete in v4.0
153
- */
154
112
  function tuiCreateDateRangeMask(dateMode, dateSeparator) {
155
113
  ngDevMode &&
156
114
  tuiAssert.assert(dateSeparator.length === 1, `Separator should consist of only 1 symbol`);
@@ -172,10 +130,6 @@ function tuiCreateTimePartMask(maxPartValue, prefix) {
172
130
  }
173
131
  return regExp;
174
132
  }
175
- /**
176
- * @deprecated Use {@link https://maskito.dev/kit/time Time} from {@link https://github.com/taiga-family/maskito Maskito} instead
177
- * TODO: delete in v4.0
178
- */
179
133
  function tuiCreateTimeMask(mode, maxValues = {}) {
180
134
  const { HH, MM, SS, MS } = Object.assign(Object.assign({}, MAX_TIME_VALUES), maxValues);
181
135
  return [
@@ -186,9 +140,5 @@ function tuiCreateTimeMask(mode, maxValues = {}) {
186
140
  ];
187
141
  }
188
142
 
189
- /**
190
- * Generated bundle index. Do not edit.
191
- */
192
-
193
143
  export { tuiCreateAutoCorrectedDatePipe, tuiCreateAutoCorrectedDateRangePipe, tuiCreateAutoCorrectedDateTimePipe, tuiCreateAutoCorrectedTimePipe, tuiCreateDateMask, tuiCreateDateRangeMask, tuiCreateTimeMask, tuiNormalizeDateValue };
194
144
  //# sourceMappingURL=taiga-ui-kit-utils-mask.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils-mask.js","sources":["../../../projects/kit/utils/mask/create-auto-corrected-date-pipe.ts","../../../projects/kit/utils/mask/create-auto-corrected-date-range-pipe.ts","../../../projects/kit/utils/mask/create-auto-corrected-time-pipe.ts","../../../projects/kit/utils/mask/create-auto-corrected-date-time-pipe.ts","../../../projects/kit/utils/mask/create-date-mask.ts","../../../projects/kit/utils/mask/create-date-range-mask.ts","../../../projects/kit/utils/mask/create-time-mask.ts","../../../projects/kit/utils/mask/taiga-ui-kit-utils-mask.ts"],"sourcesContent":["import {DATE_FILLER_LENGTH, TuiDateMode, TuiDay} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler, TuiWithOptionalMinMaxWithValue} from '@taiga-ui/core';\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport interface TuiAutoCorrectedDatePipeConfigs\n extends TuiWithOptionalMinMaxWithValue<TuiDay | null, TuiDay> {\n dateFormat: TuiDateMode;\n dateSeparator: string;\n}\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiNormalizeDateValue(\n dateValue: string,\n {value, min, max, dateFormat, dateSeparator}: TuiAutoCorrectedDatePipeConfigs,\n): string {\n return value && value.toString(dateFormat, dateSeparator) === dateValue\n ? dateValue\n : TuiDay.normalizeParse(dateValue, dateFormat)\n .dayLimit(min, max)\n .toString(dateFormat, dateSeparator);\n}\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiCreateAutoCorrectedDatePipe(\n config: TuiAutoCorrectedDatePipeConfigs,\n): TuiTextMaskPipeHandler {\n return value => {\n if (value.length !== DATE_FILLER_LENGTH) {\n return {value};\n }\n\n return {\n value: tuiNormalizeDateValue(value, config),\n };\n };\n}\n","import {\n DATE_FILLER_LENGTH,\n DATE_RANGE_FILLER_LENGTH,\n RANGE_SEPARATOR_CHAR,\n TuiDateMode,\n TuiDay,\n TuiDayRange,\n} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler, TuiWithOptionalMinMaxWithValue} from '@taiga-ui/core';\n\ninterface TuiAutoCorrectedDatePipeConfigs\n extends TuiWithOptionalMinMaxWithValue<TuiDayRange | null, TuiDay> {\n dateFormat: TuiDateMode;\n dateSeparator: string;\n}\n\nfunction parseWithLimit(value: string, config: TuiAutoCorrectedDatePipeConfigs): TuiDay {\n return TuiDay.normalizeParse(\n value.slice(0, DATE_FILLER_LENGTH),\n config.dateFormat,\n ).dayLimit(config.min, config.max);\n}\n\nfunction processRawValue(value: string, config: TuiAutoCorrectedDatePipeConfigs): string {\n const {dateFormat, dateSeparator} = config;\n\n switch (value.length) {\n case DATE_FILLER_LENGTH:\n return parseWithLimit(value, config).toString(dateFormat, dateSeparator);\n case DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length:\n return (\n parseWithLimit(value, config).toString(dateFormat, dateSeparator) +\n RANGE_SEPARATOR_CHAR\n );\n case DATE_RANGE_FILLER_LENGTH:\n return config.value &&\n config.value.toString(dateFormat, dateSeparator) === value\n ? value\n : TuiDayRange.sort(\n parseWithLimit(value.slice(0, DATE_FILLER_LENGTH), config),\n parseWithLimit(\n value.slice(DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length),\n config,\n ),\n ).toString(dateFormat, dateSeparator);\n default:\n return value;\n }\n}\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date-range DateRange} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n * Normalizes date in formatted string\n *\n * Normalizes when:\n *\n * 1. It is a single date\n * 2. It is a single date and a separator\n * 3. It is two dates and a separator between them\n *\n * In **other** cases, the value does not change.\n *\n * @param config with min and max date\n * @return mask pipe handler that handles `min` and `max`\n */\nexport function tuiCreateAutoCorrectedDateRangePipe(\n config: TuiAutoCorrectedDatePipeConfigs,\n): TuiTextMaskPipeHandler {\n return value => ({value: processRawValue(value, config)});\n}\n","import {TuiTimeMode} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler} from '@taiga-ui/core';\nimport {MAX_TIME_VALUES} from '@taiga-ui/kit/constants';\nimport {TuiTimeFormatParts} from '@taiga-ui/kit/types';\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/time Time} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n * Adjusts the entered time by omitting only suitable values for hours and minutes\n * @returns time as a string\n */\nexport function tuiCreateAutoCorrectedTimePipe(\n timeMode: TuiTimeMode = `HH:MM`,\n maxValues: Partial<Record<TuiTimeFormatParts, number>> = {},\n): TuiTextMaskPipeHandler {\n const timeFormatArray = [`HH`, `MM`, `SS`, `MS`] as const;\n const safeValues = {\n ...MAX_TIME_VALUES,\n ...maxValues,\n };\n\n return conformedValue => {\n const indexesOfPipedChars: number[] = [];\n const conformedValueArr = conformedValue.split(``);\n\n timeFormatArray.forEach(format => {\n const position = timeMode.indexOf(format);\n const maxFirstDigit = parseInt(String(safeValues[format]).slice(0, 1), 10);\n\n if (parseInt(conformedValueArr[position], 10) > maxFirstDigit) {\n conformedValueArr[position + 1] = conformedValueArr[position];\n conformedValueArr[position] = `0`;\n indexesOfPipedChars.push(position);\n }\n });\n\n const isInvalid = timeFormatArray.some(\n format =>\n parseInt(conformedValue.slice(timeMode.indexOf(format), 2), 10) >\n safeValues[format],\n );\n\n return isInvalid\n ? false\n : {\n value: conformedValueArr.join(``),\n indexesOfPipedChars,\n };\n };\n}\n","import {DATE_FILLER_LENGTH, tuiIsString, TuiTimeMode} from '@taiga-ui/cdk';\nimport {\n TuiTextMaskConfig,\n TuiTextMaskOptions,\n TuiTextMaskPipeHandler,\n} from '@taiga-ui/core';\nimport {DATE_TIME_SEPARATOR} from '@taiga-ui/kit/constants';\n\nimport {\n TuiAutoCorrectedDatePipeConfigs,\n tuiNormalizeDateValue,\n} from './create-auto-corrected-date-pipe';\nimport {tuiCreateAutoCorrectedTimePipe} from './create-auto-corrected-time-pipe';\n\ninterface TuiAutoCorrectedDateTimePipeConfigs extends TuiAutoCorrectedDatePipeConfigs {\n timeMode: TuiTimeMode;\n}\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date-time DateTime} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiCreateAutoCorrectedDateTimePipe(\n configs: TuiAutoCorrectedDateTimePipeConfigs,\n): TuiTextMaskPipeHandler {\n const timePipe = tuiCreateAutoCorrectedTimePipe(configs.timeMode);\n\n return value => {\n if (value.length < DATE_FILLER_LENGTH) {\n return {value};\n }\n\n const [date, time] = value.split(DATE_TIME_SEPARATOR);\n\n const formattedDate = tuiNormalizeDateValue(date, configs);\n\n if (!time) {\n return {value: formattedDate};\n }\n\n const pipedTime = timePipe(\n time,\n {} as unknown as TuiTextMaskConfig & TuiTextMaskOptions,\n );\n\n if (!pipedTime || tuiIsString(pipedTime)) {\n return false;\n }\n\n return {\n value: `${formattedDate}${DATE_TIME_SEPARATOR}${pipedTime.value}`,\n indexesOfPipedChars: pipedTime.indexesOfPipedChars\n ? pipedTime.indexesOfPipedChars.map(i => i + date.length + 2)\n : undefined,\n };\n };\n}\n","import {tuiAssert, TuiDateMode} from '@taiga-ui/cdk';\nimport {TUI_DIGIT_REGEXP, TuiTextMaskList} from '@taiga-ui/core';\n\nconst TWO_DIGITS = new Array(2).fill(TUI_DIGIT_REGEXP);\nconst FOUR_DIGITS = new Array(4).fill(TUI_DIGIT_REGEXP);\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiCreateDateMask(mode: TuiDateMode, separator: string): TuiTextMaskList {\n ngDevMode &&\n tuiAssert.assert(\n separator.length === 1,\n `Separator should consist of only 1 symbol`,\n );\n\n switch (mode) {\n case `YMD`:\n return [...FOUR_DIGITS, separator, ...TWO_DIGITS, separator, ...TWO_DIGITS];\n case `MDY`:\n case `DMY`:\n default:\n return [...TWO_DIGITS, separator, ...TWO_DIGITS, separator, ...FOUR_DIGITS];\n }\n}\n","import {CHAR_EN_DASH, CHAR_NO_BREAK_SPACE, tuiAssert, TuiDateMode} from '@taiga-ui/cdk';\nimport {TuiTextMaskList} from '@taiga-ui/core';\n\nimport {tuiCreateDateMask} from './create-date-mask';\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date-range DateRange} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiCreateDateRangeMask(\n dateMode: TuiDateMode,\n dateSeparator: string,\n): TuiTextMaskList {\n ngDevMode &&\n tuiAssert.assert(\n dateSeparator.length === 1,\n `Separator should consist of only 1 symbol`,\n );\n\n const dateMask = tuiCreateDateMask(dateMode, dateSeparator);\n\n return [\n ...dateMask,\n CHAR_NO_BREAK_SPACE,\n CHAR_EN_DASH,\n CHAR_NO_BREAK_SPACE,\n ...dateMask,\n ];\n}\n","import {TuiTimeMode} from '@taiga-ui/cdk';\nimport {TUI_DIGIT_REGEXP, TuiTextMaskList} from '@taiga-ui/core';\nimport {MAX_TIME_VALUES} from '@taiga-ui/kit/constants';\nimport {TuiTimeFormatParts} from '@taiga-ui/kit/types';\n\nfunction tuiCreateTimePartMask(\n maxPartValue: number,\n prefix?: string,\n): Array<RegExp | string> {\n const {length} = String(maxPartValue);\n const regExp = new Array(length).fill(TUI_DIGIT_REGEXP);\n\n if (prefix) {\n regExp.unshift(prefix);\n }\n\n return regExp;\n}\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/time Time} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiCreateTimeMask(\n mode: TuiTimeMode,\n maxValues: Partial<Record<TuiTimeFormatParts, number>> = {},\n): TuiTextMaskList {\n const {HH, MM, SS, MS} = {\n ...MAX_TIME_VALUES,\n ...maxValues,\n };\n\n return [\n ...tuiCreateTimePartMask(HH),\n ...tuiCreateTimePartMask(MM, `:`),\n ...(mode.includes(`HH:MM:SS`) ? tuiCreateTimePartMask(SS, `:`) : []),\n ...(mode === `HH:MM:SS.MSS` ? tuiCreateTimePartMask(MS, `.`) : []),\n ];\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":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CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,eAAe,CACf,EAAA,SAAS,CACf,CAAC;IAEF,OAAO;QACH,GAAG,qBAAqB,CAAC,EAAE,CAAC;AAC5B,QAAA,GAAG,qBAAqB,CAAC,EAAE,EAAE,GAAG,CAAC;QACjC,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAU,QAAA,CAAA,CAAC,GAAG,qBAAqB,CAAC,EAAE,EAAE,CAAG,CAAA,CAAA,CAAC,GAAG,EAAE,CAAC;AACpE,QAAA,IAAI,IAAI,KAAK,CAAc,YAAA,CAAA,GAAG,qBAAqB,CAAC,EAAE,EAAE,CAAG,CAAA,CAAA,CAAC,GAAG,EAAE,CAAC;KACrE,CAAC;AACN;;ACtCA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils-mask.js","sources":["../../../projects/kit/utils/mask/create-auto-corrected-date-pipe.ts","../../../projects/kit/utils/mask/create-auto-corrected-date-range-pipe.ts","../../../projects/kit/utils/mask/create-auto-corrected-time-pipe.ts","../../../projects/kit/utils/mask/create-auto-corrected-date-time-pipe.ts","../../../projects/kit/utils/mask/create-date-mask.ts","../../../projects/kit/utils/mask/create-date-range-mask.ts","../../../projects/kit/utils/mask/create-time-mask.ts"],"sourcesContent":["import {DATE_FILLER_LENGTH, TuiDateMode, TuiDay} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler, TuiWithOptionalMinMaxWithValue} from '@taiga-ui/core';\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport interface TuiAutoCorrectedDatePipeConfigs\n extends TuiWithOptionalMinMaxWithValue<TuiDay | null, TuiDay> {\n dateFormat: TuiDateMode;\n dateSeparator: string;\n}\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiNormalizeDateValue(\n dateValue: string,\n {value, min, max, dateFormat, dateSeparator}: TuiAutoCorrectedDatePipeConfigs,\n): string {\n return value && value.toString(dateFormat, dateSeparator) === dateValue\n ? dateValue\n : TuiDay.normalizeParse(dateValue, dateFormat)\n .dayLimit(min, max)\n .toString(dateFormat, dateSeparator);\n}\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiCreateAutoCorrectedDatePipe(\n config: TuiAutoCorrectedDatePipeConfigs,\n): TuiTextMaskPipeHandler {\n return value => {\n if (value.length !== DATE_FILLER_LENGTH) {\n return {value};\n }\n\n return {\n value: tuiNormalizeDateValue(value, config),\n };\n };\n}\n","import {\n DATE_FILLER_LENGTH,\n DATE_RANGE_FILLER_LENGTH,\n RANGE_SEPARATOR_CHAR,\n TuiDateMode,\n TuiDay,\n TuiDayRange,\n} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler, TuiWithOptionalMinMaxWithValue} from '@taiga-ui/core';\n\ninterface TuiAutoCorrectedDatePipeConfigs\n extends TuiWithOptionalMinMaxWithValue<TuiDayRange | null, TuiDay> {\n dateFormat: TuiDateMode;\n dateSeparator: string;\n}\n\nfunction parseWithLimit(value: string, config: TuiAutoCorrectedDatePipeConfigs): TuiDay {\n return TuiDay.normalizeParse(\n value.slice(0, DATE_FILLER_LENGTH),\n config.dateFormat,\n ).dayLimit(config.min, config.max);\n}\n\nfunction processRawValue(value: string, config: TuiAutoCorrectedDatePipeConfigs): string {\n const {dateFormat, dateSeparator} = config;\n\n switch (value.length) {\n case DATE_FILLER_LENGTH:\n return parseWithLimit(value, config).toString(dateFormat, dateSeparator);\n case DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length:\n return (\n parseWithLimit(value, config).toString(dateFormat, dateSeparator) +\n RANGE_SEPARATOR_CHAR\n );\n case DATE_RANGE_FILLER_LENGTH:\n return config.value &&\n config.value.toString(dateFormat, dateSeparator) === value\n ? value\n : TuiDayRange.sort(\n parseWithLimit(value.slice(0, DATE_FILLER_LENGTH), config),\n parseWithLimit(\n value.slice(DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length),\n config,\n ),\n ).toString(dateFormat, dateSeparator);\n default:\n return value;\n }\n}\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date-range DateRange} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n * Normalizes date in formatted string\n *\n * Normalizes when:\n *\n * 1. It is a single date\n * 2. It is a single date and a separator\n * 3. It is two dates and a separator between them\n *\n * In **other** cases, the value does not change.\n *\n * @param config with min and max date\n * @return mask pipe handler that handles `min` and `max`\n */\nexport function tuiCreateAutoCorrectedDateRangePipe(\n config: TuiAutoCorrectedDatePipeConfigs,\n): TuiTextMaskPipeHandler {\n return value => ({value: processRawValue(value, config)});\n}\n","import {TuiTimeMode} from '@taiga-ui/cdk';\nimport {TuiTextMaskPipeHandler} from '@taiga-ui/core';\nimport {MAX_TIME_VALUES} from '@taiga-ui/kit/constants';\nimport {TuiTimeFormatParts} from '@taiga-ui/kit/types';\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/time Time} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n * Adjusts the entered time by omitting only suitable values for hours and minutes\n * @returns time as a string\n */\nexport function tuiCreateAutoCorrectedTimePipe(\n timeMode: TuiTimeMode = `HH:MM`,\n maxValues: Partial<Record<TuiTimeFormatParts, number>> = {},\n): TuiTextMaskPipeHandler {\n const timeFormatArray = [`HH`, `MM`, `SS`, `MS`] as const;\n const safeValues = {\n ...MAX_TIME_VALUES,\n ...maxValues,\n };\n\n return conformedValue => {\n const indexesOfPipedChars: number[] = [];\n const conformedValueArr = conformedValue.split(``);\n\n timeFormatArray.forEach(format => {\n const position = timeMode.indexOf(format);\n const maxFirstDigit = parseInt(String(safeValues[format]).slice(0, 1), 10);\n\n if (parseInt(conformedValueArr[position], 10) > maxFirstDigit) {\n conformedValueArr[position + 1] = conformedValueArr[position];\n conformedValueArr[position] = `0`;\n indexesOfPipedChars.push(position);\n }\n });\n\n const isInvalid = timeFormatArray.some(\n format =>\n parseInt(conformedValue.slice(timeMode.indexOf(format), 2), 10) >\n safeValues[format],\n );\n\n return isInvalid\n ? false\n : {\n value: conformedValueArr.join(``),\n indexesOfPipedChars,\n };\n };\n}\n","import {DATE_FILLER_LENGTH, tuiIsString, TuiTimeMode} from '@taiga-ui/cdk';\nimport {\n TuiTextMaskConfig,\n TuiTextMaskOptions,\n TuiTextMaskPipeHandler,\n} from '@taiga-ui/core';\nimport {DATE_TIME_SEPARATOR} from '@taiga-ui/kit/constants';\n\nimport {\n TuiAutoCorrectedDatePipeConfigs,\n tuiNormalizeDateValue,\n} from './create-auto-corrected-date-pipe';\nimport {tuiCreateAutoCorrectedTimePipe} from './create-auto-corrected-time-pipe';\n\ninterface TuiAutoCorrectedDateTimePipeConfigs extends TuiAutoCorrectedDatePipeConfigs {\n timeMode: TuiTimeMode;\n}\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date-time DateTime} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiCreateAutoCorrectedDateTimePipe(\n configs: TuiAutoCorrectedDateTimePipeConfigs,\n): TuiTextMaskPipeHandler {\n const timePipe = tuiCreateAutoCorrectedTimePipe(configs.timeMode);\n\n return value => {\n if (value.length < DATE_FILLER_LENGTH) {\n return {value};\n }\n\n const [date, time] = value.split(DATE_TIME_SEPARATOR);\n\n const formattedDate = tuiNormalizeDateValue(date, configs);\n\n if (!time) {\n return {value: formattedDate};\n }\n\n const pipedTime = timePipe(\n time,\n {} as unknown as TuiTextMaskConfig & TuiTextMaskOptions,\n );\n\n if (!pipedTime || tuiIsString(pipedTime)) {\n return false;\n }\n\n return {\n value: `${formattedDate}${DATE_TIME_SEPARATOR}${pipedTime.value}`,\n indexesOfPipedChars: pipedTime.indexesOfPipedChars\n ? pipedTime.indexesOfPipedChars.map(i => i + date.length + 2)\n : undefined,\n };\n };\n}\n","import {tuiAssert, TuiDateMode} from '@taiga-ui/cdk';\nimport {TUI_DIGIT_REGEXP, TuiTextMaskList} from '@taiga-ui/core';\n\nconst TWO_DIGITS = new Array(2).fill(TUI_DIGIT_REGEXP);\nconst FOUR_DIGITS = new Array(4).fill(TUI_DIGIT_REGEXP);\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date Date} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiCreateDateMask(mode: TuiDateMode, separator: string): TuiTextMaskList {\n ngDevMode &&\n tuiAssert.assert(\n separator.length === 1,\n `Separator should consist of only 1 symbol`,\n );\n\n switch (mode) {\n case `YMD`:\n return [...FOUR_DIGITS, separator, ...TWO_DIGITS, separator, ...TWO_DIGITS];\n case `MDY`:\n case `DMY`:\n default:\n return [...TWO_DIGITS, separator, ...TWO_DIGITS, separator, ...FOUR_DIGITS];\n }\n}\n","import {CHAR_EN_DASH, CHAR_NO_BREAK_SPACE, tuiAssert, TuiDateMode} from '@taiga-ui/cdk';\nimport {TuiTextMaskList} from '@taiga-ui/core';\n\nimport {tuiCreateDateMask} from './create-date-mask';\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/date-range DateRange} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiCreateDateRangeMask(\n dateMode: TuiDateMode,\n dateSeparator: string,\n): TuiTextMaskList {\n ngDevMode &&\n tuiAssert.assert(\n dateSeparator.length === 1,\n `Separator should consist of only 1 symbol`,\n );\n\n const dateMask = tuiCreateDateMask(dateMode, dateSeparator);\n\n return [\n ...dateMask,\n CHAR_NO_BREAK_SPACE,\n CHAR_EN_DASH,\n CHAR_NO_BREAK_SPACE,\n ...dateMask,\n ];\n}\n","import {TuiTimeMode} from '@taiga-ui/cdk';\nimport {TUI_DIGIT_REGEXP, TuiTextMaskList} from '@taiga-ui/core';\nimport {MAX_TIME_VALUES} from '@taiga-ui/kit/constants';\nimport {TuiTimeFormatParts} from '@taiga-ui/kit/types';\n\nfunction tuiCreateTimePartMask(\n maxPartValue: number,\n prefix?: string,\n): Array<RegExp | string> {\n const {length} = String(maxPartValue);\n const regExp = new Array(length).fill(TUI_DIGIT_REGEXP);\n\n if (prefix) {\n regExp.unshift(prefix);\n }\n\n return regExp;\n}\n\n/**\n * @deprecated Use {@link https://maskito.dev/kit/time Time} from {@link https://github.com/taiga-family/maskito Maskito} instead\n * TODO: delete in v4.0\n */\nexport function tuiCreateTimeMask(\n mode: TuiTimeMode,\n maxValues: Partial<Record<TuiTimeFormatParts, number>> = {},\n): TuiTextMaskList {\n const {HH, MM, SS, MS} = {\n ...MAX_TIME_VALUES,\n ...maxValues,\n };\n\n return [\n ...tuiCreateTimePartMask(HH),\n ...tuiCreateTimePartMask(MM, `:`),\n ...(mode.includes(`HH:MM:SS`) ? tuiCreateTimePartMask(SS, `:`) : []),\n ...(mode === `HH:MM:SS.MSS` ? tuiCreateTimePartMask(MS, `.`) : []),\n ];\n}\n"],"names":[],"mappings":";;;;AAiBgB,SAAA,qBAAqB,CACjC,SAAiB,EACjB,EAAC,KAAK,EAAE,GAAG,EAAE,GAAG,EAAE,UAAU,EAAE,aAAa,EAAkC,EAAA;IAE7E,OAAO,KAAK,IAAI,KAAK,CAAC,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC,KAAK,SAAS;AACnE,UAAE,SAAS;UACT,MAAM,CAAC,cAAc,CAAC,SAAS,EAAE,UAAU,CAAC;AACvC,aAAA,QAAQ,CAAC,GAAG,EAAE,GAAG,CAAC;AAClB,aAAA,QAAQ,CAAC,UAAU,EAAE,aAAa,CAAC,CAAC;AACnD,CAAC;AAMK,SAAU,8BAA8B,CAC1C,MAAuC,EAAA;IAEvC,OAAO,KAAK,IAAG;AACX,QAAA,IAAI,KAAK,CAAC,MAAM,KAAK,kBAAkB,EAAE;YACrC,OAAO,EAAC,KA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AAQ;QACX,mBAAmB;QACnB,YAAY;QACZ,mBAAmB;AACnB,QAAA,GAAG,QAAQ;KACd,CAAC;AACN;;ACvBA,SAAS,qBAAqB,CAC1B,YAAoB,EACpB,MAAe,EAAA;IAEf,MAAM,EAAC,MAAM,EAAC,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC;AACtC,IAAA,MAAM,MAAM,GAAG,IAAI,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;AAExD,IAAA,IAAI,MAAM,EAAE;AACR,QAAA,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;AAC1B,KAAA;AAED,IAAA,OAAO,MAAM,CAAC;AAClB,CAAC;SAMe,iBAAiB,CAC7B,IAAiB,EACjB,YAAyD,EAAE,EAAA;AAE3D,IAAA,MAAM,EAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAC,GACf,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAA,eAAe,CACf,EAAA,SAAS,CACf,CAAC;IAEF,OAAO;QACH,GAAG,qBAAqB,CAAC,EAAE,CAAC;AAC5B,QAAA,GAAG,qBAAqB,CAAC,EAAE,EAAE,GAAG,CAAC;QACjC,IAAI,IAAI,CAAC,QAAQ,CAAC,CAAU,QAAA,CAAA,CAAC,GAAG,qBAAqB,CAAC,EAAE,EAAE,CAAG,CAAA,CAAA,CAAC,GAAG,EAAE,CAAC;AACpE,QAAA,IAAI,IAAI,KAAK,CAAc,YAAA,CAAA,GAAG,qBAAqB,CAAC,EAAE,EAAE,CAAG,CAAA,CAAA,CAAC,GAAG,EAAE,CAAC;KACrE,CAAC;AACN;;;;"}
@@ -1,9 +1,6 @@
1
1
  import { tuiRound } from '@taiga-ui/cdk';
2
2
  import { TUI_FLOATING_PRECISION } from '@taiga-ui/kit/constants';
3
3
 
4
- /**
5
- * @internal
6
- */
7
4
  function tuiHorizontalDirectionToNumber(direction) {
8
5
  switch (direction) {
9
6
  case `left`:
@@ -31,9 +28,5 @@ function tuiKeyStepValueToPercentage(value, keySteps) {
31
28
  return (upperStepPercent - lowerStepPercent) * ratio + lowerStepPercent;
32
29
  }
33
30
 
34
- /**
35
- * Generated bundle index. Do not edit.
36
- */
37
-
38
31
  export { tuiHorizontalDirectionToNumber, tuiKeyStepValueToPercentage, tuiPercentageToKeyStepValue };
39
32
  //# sourceMappingURL=taiga-ui-kit-utils-math.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils-math.js","sources":["../../../projects/kit/utils/math/horizontal-direction-to-number.ts","../../../projects/kit/utils/math/key-steps.ts","../../../projects/kit/utils/math/taiga-ui-kit-utils-math.ts"],"sourcesContent":["import {TuiHorizontalDirection} from '@taiga-ui/core';\n\n/**\n * @internal\n */\nexport function tuiHorizontalDirectionToNumber(\n direction: TuiHorizontalDirection,\n): -1 | 1 {\n switch (direction) {\n case `left`:\n return -1;\n case `right`:\n return 1;\n }\n}\n","import {tuiRound} from '@taiga-ui/cdk';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\n\nfunction tuiFindKeyStepsBoundariesByFn(\n keySteps: TuiKeySteps,\n fn: ([keyStepPercent, keyStepValue]: [number, number]) => boolean,\n): [[number, number], [number, number]] {\n const keyStepUpperIndex = keySteps.findIndex((keyStep, i) => i && fn(keyStep));\n\n const lowerStep = keySteps[keyStepUpperIndex - 1] || keySteps[0];\n const upperStep = keySteps[keyStepUpperIndex] || keySteps[keySteps.length - 1];\n\n return [lowerStep, upperStep];\n}\n\nexport function tuiPercentageToKeyStepValue(\n valuePercentage: number,\n keySteps: TuiKeySteps,\n): number {\n const [[lowerStepPercent, lowerStepValue], [upperStepPercent, upperStepValue]] =\n tuiFindKeyStepsBoundariesByFn(\n keySteps,\n ([keyStepPercentage, _]) => valuePercentage <= keyStepPercentage,\n );\n const ratio =\n (valuePercentage - lowerStepPercent) / (upperStepPercent - lowerStepPercent);\n const controlValue = (upperStepValue - lowerStepValue) * ratio + lowerStepValue;\n\n return tuiRound(controlValue, TUI_FLOATING_PRECISION);\n}\n\nexport function tuiKeyStepValueToPercentage(\n value: number,\n keySteps: TuiKeySteps,\n): number {\n const [[lowerStepPercent, lowerStepValue], [upperStepPercent, upperStepValue]] =\n tuiFindKeyStepsBoundariesByFn(\n keySteps,\n ([_, keyStepValue]) => value <= keyStepValue,\n );\n const ratio = (value - lowerStepValue) / (upperStepValue - lowerStepValue) || 0;\n\n return (upperStepPercent - lowerStepPercent) * ratio + lowerStepPercent;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;;AAEG;AACG,SAAU,8BAA8B,CAC1C,SAAiC,EAAA;AAEjC,IAAA,QAAQ,SAAS;AACb,QAAA,KAAK,CAAM,IAAA,CAAA;YACP,OAAO,CAAC,CAAC,CAAC;AACd,QAAA,KAAK,CAAO,KAAA,CAAA;AACR,YAAA,OAAO,CAAC,CAAC;AAChB,KAAA;AACL;;ACVA,SAAS,6BAA6B,CAClC,QAAqB,EACrB,EAAiE,EAAA;IAEjE,MAAM,iBAAiB,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;AAE/E,IAAA,MAAM,SAAS,GAAG,QAAQ,CAAC,iBAAiB,GAAG,CAAC,CAAC,IAAI,QAAQ,CAAC,CAAC,CAAC,CAAC;AACjE,IAAA,MAAM,SAAS,GAAG,QAAQ,CAAC,iBAAiB,CAAC,IAAI,QAAQ,CAAC,QAAQ,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC;AAE/E,IAAA,OAAO,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;AAClC,CAAC;AAEe,SAAA,2BAA2B,CACvC,eAAuB,EACvB,QAAqB,EAAA;AAErB,IAAA,MAAM,CAAC,CAAC,gBAAgB,EAAE,cAAc,CAAC,EAAE,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC,GAC1E,6BAA6B,CACzB,QAAQ,EACR,CAAC,CAAC,iBAAiB,EAAE,CAAC,CAAC,KAAK,eAAe,IAAI,iBAAiB,CACnE,CAAC;AACN,IAAA,MAAM,KAAK,GACP,CAAC,eAAe,GAAG,gBAAgB,KAAK,gBAAgB,GAAG,gBAAgB,CAAC,CAAC;IACjF,MAAM,YAAY,GAAG,CAAC,cAAc,GAAG,cAAc,IAAI,KAAK,GAAG,cAAc,CAAC;AAEhF,IAAA,OAAO,QAAQ,CAAC,YAAY,EAAE,sBAAsB,CAAC,CAAC;AAC1D,CAAC;AAEe,SAAA,2BAA2B,CACvC,KAAa,EACb,QAAqB,EAAA;AAErB,IAAA,MAAM,CAAC,CAAC,gBAAgB,EAAE,cAAc,CAAC,EAAE,CAAC,gBAAgB,EAAE,cAAc,CAAC,CAAC,GAC1E,6BAA6B,CACzB,QAAQ,EACR,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,KAAK,KAAK,IAAI,YAAY,CAC/C,CAAC;AACN,IAAA,MAAM,KAAK,GAAG,CAAC,KAAK,GAAG,cAAc,KAAK,cAAc,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAEhF,OAAO,CAAC,gBAAgB,GAAG,gBAAgB,IAAI,KAAK,GAAG,gBAAgB,CAAC;AAC5E;;AC5CA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils-math.js","sources":["../../../projects/kit/utils/math/horizontal-direction-to-number.ts","../../../projects/kit/utils/math/key-steps.ts"],"sourcesContent":["import {TuiHorizontalDirection} from '@taiga-ui/core';\n\n/**\n * @internal\n */\nexport function tuiHorizontalDirectionToNumber(\n direction: TuiHorizontalDirection,\n): -1 | 1 {\n switch (direction) {\n case `left`:\n return -1;\n case `right`:\n return 1;\n }\n}\n","import {tuiRound} from '@taiga-ui/cdk';\nimport {TUI_FLOATING_PRECISION} from '@taiga-ui/kit/constants';\nimport {TuiKeySteps} from '@taiga-ui/kit/types';\n\nfunction tuiFindKeyStepsBoundariesByFn(\n keySteps: TuiKeySteps,\n fn: ([keyStepPercent, keyStepValue]: [number, number]) => boolean,\n): [[number, number], [number, number]] {\n const keyStepUpperIndex = keySteps.findIndex((keyStep, i) => i && fn(keyStep));\n\n const lowerStep = keySteps[keyStepUpperIndex - 1] || keySteps[0];\n const upperStep = keySteps[keyStepUpperIndex] || keySteps[keySteps.length - 1];\n\n return [lowerStep, upperStep];\n}\n\nexport function tuiPercentageToKeyStepValue(\n valuePercentage: number,\n keySteps: TuiKeySteps,\n): number {\n const [[lowerStepPercent, lowerStepValue], [upperStepPercent, upperStepValue]] =\n tuiFindKeyStepsBoundariesByFn(\n keySteps,\n ([keyStepPercentage, _]) => valuePercentage <= keyStepPercentage,\n );\n const ratio =\n (valuePercentage - lowerStepPercent) / (upperStepPercent - lowerStepPercent);\n const controlValue = (upperStepValue - lowerStepValue) * ratio + lowerStepValue;\n\n return tuiRound(controlValue, TUI_FLOATING_PRECISION);\n}\n\nexport function tuiKeyStepValueToPercentage(\n value: number,\n keySteps: TuiKeySteps,\n): number {\n const [[lowerStepPercent, lowerStepValue], [upperStepPercent, upperStepValue]] =\n tuiFindKeyStepsBoundariesByFn(\n keySteps,\n ([_, keyStepValue]) => value <= keyStepValue,\n );\n const ratio = (value - lowerStepValue) / (upperStepValue - lowerStepValue) || 0;\n\n return (upperStepPercent - lowerStepPercent) * ratio + lowerStepPercent;\n}\n"],"names":[],"mappings":";;;AAKM,SAAU,8BAA8B,CAC1C,SAAiC,EAAA;AAEjC,IAAA,QAAQ,SAAS;AACb,QAAA,KAAK,CAAM,IAAA,CAAA;YACP,OAAO,CAAC,CAAC,CAAC;AACd,QAAA,KAAK,CAAO,KAAA,CAAA;AACR,YAAA,OAAO,CAAC,CAAC;AAChB,KAAA;AACL;;ACVA,SAAS,6BAA6B,CAClC,QAAqB,EACrB,EAAiE,EAAA;IAEjE,MAAM,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AG,cAAc,KAAK,cAAc,GAAG,cAAc,CAAC,IAAI,CAAC,CAAC;IAEhF,OAAO,CAAC,gBAAgB,GAAG,gBAAgB,IAAI,KAAK,GAAG,gBAAgB,CAAC;AAC5E;;;;"}
@@ -39,9 +39,6 @@ function tuiCreateTimePeriods(minHour = 0, maxHour = HOURS_IN_DAY, minutes = [0,
39
39
  return timeArray;
40
40
  }
41
41
 
42
- /**
43
- * @return fractional length
44
- */
45
42
  function tuiGetPrecision(num) {
46
43
  const [, fractionPart = ``] = String(num).split(`.`);
47
44
  return fractionPart.length;
@@ -51,9 +48,6 @@ function tuiIsFlat(items) {
51
48
  return !Array.isArray(items[0]);
52
49
  }
53
50
 
54
- /**
55
- * @internal
56
- */
57
51
  function tuiControlValueFactory(control, valueTransformer) {
58
52
  return control
59
53
  ? tuiControlValue(control).pipe(map(value => valueTransformer
@@ -62,9 +56,5 @@ function tuiControlValueFactory(control, valueTransformer) {
62
56
  : of(null);
63
57
  }
64
58
 
65
- /**
66
- * Generated bundle index. Do not edit.
67
- */
68
-
69
59
  export { tuiControlValueFactory, tuiCreateDefaultDayRangePeriods, tuiCreateTimePeriods, tuiGetPrecision, tuiIsFlat };
70
60
  //# sourceMappingURL=taiga-ui-kit-utils-miscellaneous.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils-miscellaneous.js","sources":["../../../projects/kit/utils/miscellaneous/create-default-day-range-periods.ts","../../../projects/kit/utils/miscellaneous/create-time-periods.ts","../../../projects/kit/utils/miscellaneous/get-precision.ts","../../../projects/kit/utils/miscellaneous/is-flat.ts","../../../projects/kit/utils/miscellaneous/replay-control-value-changes-factory.ts","../../../projects/kit/utils/miscellaneous/taiga-ui-kit-utils-miscellaneous.ts"],"sourcesContent":["import {TUI_FIRST_DAY, TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {TuiDayRangePeriod} from '@taiga-ui/kit/classes';\n\nexport function tuiCreateDefaultDayRangePeriods(\n periodTitles: [string, string, string, string, string, string] = [\n `For all the time`,\n `Today`,\n `Yesterday`,\n `Current week`,\n `Current month`,\n `Previous month`,\n ],\n): readonly TuiDayRangePeriod[] {\n const today = TuiDay.currentLocal();\n const yesterday = today.append({day: -1});\n const startOfWeek = today.append({day: -today.dayOfWeek()});\n const endOfWeek = startOfWeek.append({day: 6});\n const startOfMonth = today.append({day: 1 - today.day});\n const endOfMonth = startOfMonth.append({month: 1, day: -1});\n const startOfLastMonth = startOfMonth.append({month: -1});\n\n return [\n new TuiDayRangePeriod(new TuiDayRange(TUI_FIRST_DAY, today), periodTitles[0]),\n new TuiDayRangePeriod(new TuiDayRange(today, today), periodTitles[1]),\n new TuiDayRangePeriod(new TuiDayRange(yesterday, yesterday), periodTitles[2]),\n new TuiDayRangePeriod(new TuiDayRange(startOfWeek, endOfWeek), periodTitles[3]),\n new TuiDayRangePeriod(new TuiDayRange(startOfMonth, endOfMonth), periodTitles[4]),\n new TuiDayRangePeriod(\n new TuiDayRange(startOfLastMonth, startOfMonth.append({day: -1})),\n periodTitles[5],\n ),\n ];\n}\n","import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk';\n\nexport function tuiCreateTimePeriods(\n minHour: number = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n for (const minute of minutes) {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n }\n }\n\n return timeArray;\n}\n","/**\n * @return fractional length\n */\nexport function tuiGetPrecision(num: number): number {\n const [, fractionPart = ``] = String(num).split(`.`);\n\n return fractionPart.length;\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {NgControl} from '@angular/forms';\nimport {\n tuiControlValue,\n TuiControlValueTransformer,\n TuiDay,\n TuiDayRange,\n TuiTime,\n} from '@taiga-ui/cdk';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n/**\n * @internal\n */\nexport function tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay | null, TuiTime | null],\n>(\n control: NgControl | null,\n valueTransformer?: TuiControlValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map(value =>\n valueTransformer\n ? valueTransformer.fromControlValue(value)\n : (value as T),\n ),\n )\n : of(null);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAGM,SAAU,+BAA+B,CAC3C,YAAiE,GAAA;IAC7D,CAAkB,gBAAA,CAAA;IAClB,CAAO,KAAA,CAAA;IACP,CAAW,SAAA,CAAA;IACX,CAAc,YAAA,CAAA;IACd,CAAe,aAAA,CAAA;IACf,CAAgB,cAAA,CAAA;AACnB,CAAA,EAAA;AAED,IAAA,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,EAAE,CAAC;AACpC,IAAA,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,CAAC,EAAC,CAAC,CAAC;AAC1C,IAAA,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,EAAC,CAAC,CAAC;AAC5D,IAAA,MAAM,SAAS,GAAG,WAAW,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,EAAC,CAAC,CAAC;AAC/C,IAAA,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,GAAG,KAAK,CAAC,GAAG,EAAC,CAAC,CAAC;AACxD,IAAA,MAAM,UAAU,GAAG,YAAY,CAAC,MAAM,CAAC,EAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,EAAC,CAAC,CAAC;AAC5D,IAAA,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,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CAAC;AACxB,SAAA;AACJ,KAAA;AAED,IAAA,OAAO,SAAS,CAAC;AACrB;;AClBA;;AAEG;AACG,SAAU,eAAe,CAAC,GAAW,EAAA;AACvC,IAAA,MAAM,GAAG,YAAY,GAAG,CAAA,CAAE,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAA,CAAA,CAAG,CAAC,CAAC;IAErD,OAAO,YAAY,CAAC,MAAM,CAAC;AAC/B;;ACPM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC;;ACOA;;AAEG;AACa,SAAA,sBAAsB,CAGlC,OAAyB,EACzB,gBAAuD,EAAA;AAEvD,IAAA,OAAO,OAAO;AACV,UAAE,eAAe,CAAC,OAAO,CAAC,CAAC,IAAI,CACzB,GAAG,CAAC,KAAK,IACL,gBAAgB;AACZ,cAAE,gBAAgB,CAAC,gBAAgB,CAAC,KAAK,CAAC;cACvC,KAAW,CACrB,CACJ;AACH,UAAE,EAAE,CAAC,IAAI,CAAC,CAAC;AACnB;;AC7BA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils-miscellaneous.js","sources":["../../../projects/kit/utils/miscellaneous/create-default-day-range-periods.ts","../../../projects/kit/utils/miscellaneous/create-time-periods.ts","../../../projects/kit/utils/miscellaneous/get-precision.ts","../../../projects/kit/utils/miscellaneous/is-flat.ts","../../../projects/kit/utils/miscellaneous/replay-control-value-changes-factory.ts"],"sourcesContent":["import {TUI_FIRST_DAY, TuiDay, TuiDayRange} from '@taiga-ui/cdk';\nimport {TuiDayRangePeriod} from '@taiga-ui/kit/classes';\n\nexport function tuiCreateDefaultDayRangePeriods(\n periodTitles: [string, string, string, string, string, string] = [\n `For all the time`,\n `Today`,\n `Yesterday`,\n `Current week`,\n `Current month`,\n `Previous month`,\n ],\n): readonly TuiDayRangePeriod[] {\n const today = TuiDay.currentLocal();\n const yesterday = today.append({day: -1});\n const startOfWeek = today.append({day: -today.dayOfWeek()});\n const endOfWeek = startOfWeek.append({day: 6});\n const startOfMonth = today.append({day: 1 - today.day});\n const endOfMonth = startOfMonth.append({month: 1, day: -1});\n const startOfLastMonth = startOfMonth.append({month: -1});\n\n return [\n new TuiDayRangePeriod(new TuiDayRange(TUI_FIRST_DAY, today), periodTitles[0]),\n new TuiDayRangePeriod(new TuiDayRange(today, today), periodTitles[1]),\n new TuiDayRangePeriod(new TuiDayRange(yesterday, yesterday), periodTitles[2]),\n new TuiDayRangePeriod(new TuiDayRange(startOfWeek, endOfWeek), periodTitles[3]),\n new TuiDayRangePeriod(new TuiDayRange(startOfMonth, endOfMonth), periodTitles[4]),\n new TuiDayRangePeriod(\n new TuiDayRange(startOfLastMonth, startOfMonth.append({day: -1})),\n periodTitles[5],\n ),\n ];\n}\n","import {HOURS_IN_DAY, TuiTime} from '@taiga-ui/cdk';\n\nexport function tuiCreateTimePeriods(\n minHour: number = 0,\n maxHour: number = HOURS_IN_DAY,\n minutes: readonly number[] = [0, 30],\n): readonly TuiTime[] {\n const timeArray: TuiTime[] = [];\n\n for (let i = minHour; i < maxHour; i++) {\n for (const minute of minutes) {\n const time = new TuiTime(i, minute);\n\n timeArray.push(time);\n }\n }\n\n return timeArray;\n}\n","/**\n * @return fractional length\n */\nexport function tuiGetPrecision(num: number): number {\n const [, fractionPart = ``] = String(num).split(`.`);\n\n return fractionPart.length;\n}\n","export function tuiIsFlat<T>(\n items: ReadonlyArray<readonly T[]> | readonly T[],\n): items is readonly T[] {\n return !Array.isArray(items[0]);\n}\n","import {NgControl} from '@angular/forms';\nimport {\n tuiControlValue,\n TuiControlValueTransformer,\n TuiDay,\n TuiDayRange,\n TuiTime,\n} from '@taiga-ui/cdk';\nimport {Observable, of} from 'rxjs';\nimport {map} from 'rxjs/operators';\n\n/**\n * @internal\n */\nexport function tuiControlValueFactory<\n T extends TuiDay | TuiDayRange | [TuiDay | null, TuiTime | null],\n>(\n control: NgControl | null,\n valueTransformer?: TuiControlValueTransformer<T> | null,\n): Observable<T | null> | null {\n return control\n ? tuiControlValue(control).pipe(\n map(value =>\n valueTransformer\n ? valueTransformer.fromControlValue(value)\n : (value as T),\n ),\n )\n : of(null);\n}\n"],"names":[],"mappings":";;;;;AAGM,SAAU,+BAA+B,CAC3C,YAAiE,GAAA;IAC7D,CAAkB,gBAAA,CAAA;IAClB,CAAO,KAAA,CAAA;IACP,CAAW,SAAA,CAAA;IACX,CAAc,YAAA,CAAA;IACd,CAAe,aAAA,CAAA;IACf,CAAgB,cAAA,CAAA;AACnB,CAAA,EAAA;AAED,IAAA,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,EAAE,CAAC;AACpC,IAAA,MAAM,SAAS,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,CAAC,EAAC,CAAC,CAAC;AAC1C,IAAA,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE,EAAC,CAAC,CAAC;AAC5D,IAAA,MAAM,SAAS,GAAG,WAAW,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,EAAC,CAAC,CAAC;AAC/C,IAAA,MAAM,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,EAAC,GAAG,EAAE,CAAC,GAAG,KAAK,CAAC,GAAG,EAAC,CAAC,CAAC;AACxD,IAAA,MAAM,UAAU,GAAG,YAAY,CAAC,MAAM,CAAC,EAAC,KAAK,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,CAAC,EAAC,CAAC,CAAC;AAC5D,IAAA,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAAC,EAAC,KAAK,EAAE,CAAC,CAAC,EAAC,CAAC,CAAC;IAE1D,OAAO;AACH,QAAA,IAAI,iBAAiB,CAAC,IAAI,WAAW,CAAC,aAAa,EAAE,KAAK,CAAC,EAAE,YAAY,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AC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAA,CAAA,CAAG,CAAC,CAAC;IAErD,OAAO,YAAY,CAAC,MAAM,CAAC;AAC/B;;ACPM,SAAU,SAAS,CACrB,KAAiD,EAAA;IAEjD,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;AACpC;;ACUgB,SAAA,sBAAsB,CAGlC,OAAyB,EACzB,gBAAuD,EAAA;AAEvD,IAAA,OAAO,OAAO;AACV,UAAE,eAAe,CAAC,OAAO,CAAC,CAAC,IAAI,CACzB,GAAG,CAAC,KAAK,IACL,gBAAgB;AACZ,cAAE,gBAAgB,CAAC,gBAAgB,CAAC,KAAK,CAAC;cACvC,KAAW,CACrB,CACJ;AACH,UAAE,EAAE,CAAC,IAAI,CAAC,CAAC;AACnB;;;;"}
@@ -13,9 +13,5 @@ function tuiNotKzRegion(value) {
13
13
  return region < 600 || region > 799;
14
14
  }
15
15
 
16
- /**
17
- * Generated bundle index. Do not edit.
18
- */
19
-
20
16
  export { tuiGetMaxAllowedPhoneLength, tuiIsoToCountryCode, tuiNotKzRegion };
21
17
  //# sourceMappingURL=taiga-ui-kit-utils-phone.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils-phone.js","sources":["../../../projects/kit/utils/phone/get-max-allowed-phone-length.ts","../../../projects/kit/utils/phone/iso-to-country-code.ts","../../../projects/kit/utils/phone/not-kz-region.ts","../../../projects/kit/utils/phone/taiga-ui-kit-utils-phone.ts"],"sourcesContent":["import {TuiCountryIsoCode} from '@taiga-ui/i18n';\n\nexport function tuiGetMaxAllowedPhoneLength(\n countries: Record<TuiCountryIsoCode, string>,\n isoCode: TuiCountryIsoCode,\n): number {\n return countries[isoCode].replace(/[()\\- ]/g, ``).length;\n}\n","import {TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {MASK_AFTER_CODE_REGEXP} from '@taiga-ui/kit/constants';\n\nexport function tuiIsoToCountryCode(\n countriesMasks: Record<TuiCountryIsoCode, string>,\n isoCode: TuiCountryIsoCode,\n): string {\n return countriesMasks[isoCode].replace(MASK_AFTER_CODE_REGEXP, ``);\n}\n","export function tuiNotKzRegion(value: string): boolean {\n const region = Number(value.slice(1, 4));\n\n return region < 600 || region > 799;\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEgB,SAAA,2BAA2B,CACvC,SAA4C,EAC5C,OAA0B,EAAA;AAE1B,IAAA,OAAO,SAAS,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,CAAA,CAAE,CAAC,CAAC,MAAM,CAAC;AAC7D;;ACJgB,SAAA,mBAAmB,CAC/B,cAAiD,EACjD,OAA0B,EAAA;IAE1B,OAAO,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAAE,CAAA,CAAC,CAAC;AACvE;;ACRM,SAAU,cAAc,CAAC,KAAa,EAAA;AACxC,IAAA,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAEzC,IAAA,OAAO,MAAM,GAAG,GAAG,IAAI,MAAM,GAAG,GAAG,CAAC;AACxC;;ACJA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-utils-phone.js","sources":["../../../projects/kit/utils/phone/get-max-allowed-phone-length.ts","../../../projects/kit/utils/phone/iso-to-country-code.ts","../../../projects/kit/utils/phone/not-kz-region.ts"],"sourcesContent":["import {TuiCountryIsoCode} from '@taiga-ui/i18n';\n\nexport function tuiGetMaxAllowedPhoneLength(\n countries: Record<TuiCountryIsoCode, string>,\n isoCode: TuiCountryIsoCode,\n): number {\n return countries[isoCode].replace(/[()\\- ]/g, ``).length;\n}\n","import {TuiCountryIsoCode} from '@taiga-ui/i18n';\nimport {MASK_AFTER_CODE_REGEXP} from '@taiga-ui/kit/constants';\n\nexport function tuiIsoToCountryCode(\n countriesMasks: Record<TuiCountryIsoCode, string>,\n isoCode: TuiCountryIsoCode,\n): string {\n return countriesMasks[isoCode].replace(MASK_AFTER_CODE_REGEXP, ``);\n}\n","export function tuiNotKzRegion(value: string): boolean {\n const region = Number(value.slice(1, 4));\n\n return region < 600 || region > 799;\n}\n"],"names":[],"mappings":";;AAEgB,SAAA,2BAA2B,CACvC,SAA4C,EAC5C,OAA0B,EAAA;AAE1B,IAAA,OAAO,SAAS,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,CAAA,CAAE,CAAC,CAAC,MAAM,CAAC;AAC7D;;ACJgB,SAAA,mBAAmB,CAC/B,cAAiD,EACjD,OAA0B,EAAA;IAE1B,OAAO,cAAc,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,sBAAsB,EAAE,CAAE,CAAA,CAAC,CAAC;AACvE;;ACRM,SAAU,cAAc,CAAC,KAAa,EAAA;AACxC,IAAA,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAEzC,IAAA,OAAO,MAAM,GAAG,GAAG,IAAI,MAAM,GAAG,GAAG,CAAC;AACxC;;;;"}
@@ -4,8 +4,4 @@ export * from '@taiga-ui/kit/utils/mask';
4
4
  export * from '@taiga-ui/kit/utils/math';
5
5
  export * from '@taiga-ui/kit/utils/miscellaneous';
6
6
  export * from '@taiga-ui/kit/utils/phone';
7
-
8
- /**
9
- * Generated bundle index. Do not edit.
10
- */
11
7
  //# sourceMappingURL=taiga-ui-kit-utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-utils.js","sources":["../../../projects/kit/utils/taiga-ui-kit-utils.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAAA;;AAEG"}
1
+ {"version":3,"file":"taiga-ui-kit-utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
@@ -13,9 +13,5 @@ function tuiCreateUnfinishedValidator(nativeInputGetter, message) {
13
13
  };
14
14
  }
15
15
 
16
- /**
17
- * Generated bundle index. Do not edit.
18
- */
19
-
20
16
  export { tuiCreateUnfinishedValidator };
21
17
  //# sourceMappingURL=taiga-ui-kit-validators.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit-validators.js","sources":["../../../projects/kit/validators/unfinished.validator.ts","../../../projects/kit/validators/taiga-ui-kit-validators.ts"],"sourcesContent":["import {AbstractControl, ValidatorFn} from '@angular/forms';\nimport {\n TuiFocusableElementAccessor,\n tuiIsHTMLElement,\n tuiIsInput,\n TuiValidationError,\n} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport function tuiCreateUnfinishedValidator(\n nativeInputGetter: () => TuiFocusableElementAccessor,\n message: PolymorpheusContent,\n): ValidatorFn {\n return ({\n value,\n }: AbstractControl): {unfinished: TuiValidationError | string} | null => {\n const nativeInput = nativeInputGetter();\n\n return value === null &&\n nativeInput &&\n tuiIsHTMLElement(nativeInput.nativeFocusableElement) &&\n tuiIsInput(nativeInput.nativeFocusableElement) &&\n nativeInput.nativeFocusableElement.value !== ``\n ? {unfinished: new TuiValidationError(message)}\n : null;\n };\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AASgB,SAAA,4BAA4B,CACxC,iBAAoD,EACpD,OAA4B,EAAA;AAE5B,IAAA,OAAO,CAAC,EACJ,KAAK,GACS,KAAsD;AACpE,QAAA,MAAM,WAAW,GAAG,iBAAiB,EAAE,CAAC;QAExC,OAAO,KAAK,KAAK,IAAI;YACjB,WAAW;AACX,YAAA,gBAAgB,CAAC,WAAW,CAAC,sBAAsB,CAAC;AACpD,YAAA,UAAU,CAAC,WAAW,CAAC,sBAAsB,CAAC;AAC9C,YAAA,WAAW,CAAC,sBAAsB,CAAC,KAAK,KAAK,CAAE,CAAA;cAC7C,EAAC,UAAU,EAAE,IAAI,kBAAkB,CAAC,OAAO,CAAC,EAAC;cAC7C,IAAI,CAAC;AACf,KAAC,CAAC;AACN;;AC1BA;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-kit-validators.js","sources":["../../../projects/kit/validators/unfinished.validator.ts"],"sourcesContent":["import {AbstractControl, ValidatorFn} from '@angular/forms';\nimport {\n TuiFocusableElementAccessor,\n tuiIsHTMLElement,\n tuiIsInput,\n TuiValidationError,\n} from '@taiga-ui/cdk';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\n\nexport function tuiCreateUnfinishedValidator(\n nativeInputGetter: () => TuiFocusableElementAccessor,\n message: PolymorpheusContent,\n): ValidatorFn {\n return ({\n value,\n }: AbstractControl): {unfinished: TuiValidationError | string} | null => {\n const nativeInput = nativeInputGetter();\n\n return value === null &&\n nativeInput &&\n tuiIsHTMLElement(nativeInput.nativeFocusableElement) &&\n tuiIsInput(nativeInput.nativeFocusableElement) &&\n nativeInput.nativeFocusableElement.value !== ``\n ? {unfinished: new TuiValidationError(message)}\n : null;\n };\n}\n"],"names":[],"mappings":";;AASgB,SAAA,4BAA4B,CACxC,iBAAoD,EACpD,OAA4B,EAAA;AAE5B,IAAA,OAAO,CAAC,EACJ,KAAK,GACS,KAAsD;AACpE,QAAA,MAAM,WAAW,GAAG,iBAAiB,EAAE,CAAC;QAExC,OAAO,KAAK,KAAK,IAAI;YACjB,WAAW;AACX,YAAA,gBAAgB,CAAC,WAAW,CAAC,sBAAsB,CAAC;AACpD,YAAA,UAAU,CAAC,WAAW,CAAC,sBAAsB,CAAC;AAC9C,YAAA,WAAW,CAAC,sBAAsB,CAAC,KAAK,KAAK,CAAE,CAAA;cAC7C,EAAC,UAAU,EAAE,IAAI,kBAAkB,CAAC,OAAO,CAAC,EAAC;cAC7C,IAAI,CAAC;AACf,KAAC,CAAC;AACN;;;;"}
@@ -12,8 +12,4 @@ export * from '@taiga-ui/kit/tokens';
12
12
  export * from '@taiga-ui/kit/types';
13
13
  export * from '@taiga-ui/kit/utils';
14
14
  export * from '@taiga-ui/kit/validators';
15
-
16
- /**
17
- * Generated bundle index. Do not edit.
18
- */
19
15
  //# sourceMappingURL=taiga-ui-kit.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-kit.js","sources":["../../../projects/kit/taiga-ui-kit.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;;AAEG"}
1
+ {"version":3,"file":"taiga-ui-kit.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -1,5 +1,2 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
1
  /// <amd-module name="@taiga-ui/kit/interfaces" />
5
2
  export * from './index';