@taiga-ui/cdk 3.49.1 → 3.491.1-canary.5e01f6f

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 (736) hide show
  1. package/abstract/control.d.ts +0 -6
  2. package/abstract/interactive.d.ts +0 -9
  3. package/abstract/portal-host.d.ts +0 -3
  4. package/abstract/portal-service.d.ts +0 -3
  5. package/abstract/taiga-ui-cdk-abstract.d.ts +0 -3
  6. package/abstract/theme-switcher.d.ts +0 -6
  7. package/bundles/taiga-ui-cdk-abstract.umd.js +0 -32
  8. package/bundles/taiga-ui-cdk-abstract.umd.js.map +1 -1
  9. package/bundles/taiga-ui-cdk-classes.umd.js +0 -9
  10. package/bundles/taiga-ui-cdk-classes.umd.js.map +1 -1
  11. package/bundles/taiga-ui-cdk-coercion.umd.js +0 -10
  12. package/bundles/taiga-ui-cdk-coercion.umd.js.map +1 -1
  13. package/bundles/taiga-ui-cdk-components-alert-host.umd.js +0 -8
  14. package/bundles/taiga-ui-cdk-components-alert-host.umd.js.map +1 -1
  15. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js +0 -11
  16. package/bundles/taiga-ui-cdk-components-dialog-host.umd.js.map +1 -1
  17. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js +0 -10
  18. package/bundles/taiga-ui-cdk-components-dropdown-host.umd.js.map +1 -1
  19. package/bundles/taiga-ui-cdk-components-scroll-controls.umd.js +0 -4
  20. package/bundles/taiga-ui-cdk-components-scroll-controls.umd.js.map +1 -1
  21. package/bundles/taiga-ui-cdk-components.umd.js +0 -4
  22. package/bundles/taiga-ui-cdk-components.umd.js.map +1 -1
  23. package/bundles/taiga-ui-cdk-constants.umd.js +0 -108
  24. package/bundles/taiga-ui-cdk-constants.umd.js.map +1 -1
  25. package/bundles/taiga-ui-cdk-date-time.umd.js +0 -284
  26. package/bundles/taiga-ui-cdk-date-time.umd.js.map +1 -1
  27. package/bundles/taiga-ui-cdk-decorators.umd.js +0 -26
  28. package/bundles/taiga-ui-cdk-decorators.umd.js.map +1 -1
  29. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js +0 -4
  30. package/bundles/taiga-ui-cdk-directives-active-zone.umd.js.map +1 -1
  31. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js +1 -44
  32. package/bundles/taiga-ui-cdk-directives-auto-focus.umd.js.map +1 -1
  33. package/bundles/taiga-ui-cdk-directives-autofilled.umd.js +0 -4
  34. package/bundles/taiga-ui-cdk-directives-autofilled.umd.js.map +1 -1
  35. package/bundles/taiga-ui-cdk-directives-checked.umd.js +0 -4
  36. package/bundles/taiga-ui-cdk-directives-checked.umd.js.map +1 -1
  37. package/bundles/taiga-ui-cdk-directives-click-outside.umd.js +0 -4
  38. package/bundles/taiga-ui-cdk-directives-click-outside.umd.js.map +1 -1
  39. package/bundles/taiga-ui-cdk-directives-control.umd.js +0 -4
  40. package/bundles/taiga-ui-cdk-directives-control.umd.js.map +1 -1
  41. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js +0 -4
  42. package/bundles/taiga-ui-cdk-directives-copy-processor.umd.js.map +1 -1
  43. package/bundles/taiga-ui-cdk-directives-drag.umd.js +0 -10
  44. package/bundles/taiga-ui-cdk-directives-drag.umd.js.map +1 -1
  45. package/bundles/taiga-ui-cdk-directives-droppable.umd.js +0 -5
  46. package/bundles/taiga-ui-cdk-directives-droppable.umd.js.map +1 -1
  47. package/bundles/taiga-ui-cdk-directives-element.umd.js +0 -18
  48. package/bundles/taiga-ui-cdk-directives-element.umd.js.map +1 -1
  49. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js +0 -17
  50. package/bundles/taiga-ui-cdk-directives-focus-trap.umd.js.map +1 -1
  51. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js +0 -9
  52. package/bundles/taiga-ui-cdk-directives-focus-visible.umd.js.map +1 -1
  53. package/bundles/taiga-ui-cdk-directives-focusable.umd.js +0 -10
  54. package/bundles/taiga-ui-cdk-directives-focusable.umd.js.map +1 -1
  55. package/bundles/taiga-ui-cdk-directives-focused.umd.js +0 -9
  56. package/bundles/taiga-ui-cdk-directives-focused.umd.js.map +1 -1
  57. package/bundles/taiga-ui-cdk-directives-for-async.umd.js +0 -7
  58. package/bundles/taiga-ui-cdk-directives-for-async.umd.js.map +1 -1
  59. package/bundles/taiga-ui-cdk-directives-for.umd.js +0 -4
  60. package/bundles/taiga-ui-cdk-directives-for.umd.js.map +1 -1
  61. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js +0 -7
  62. package/bundles/taiga-ui-cdk-directives-high-dpi.umd.js.map +1 -1
  63. package/bundles/taiga-ui-cdk-directives-hovered.umd.js +1 -7
  64. package/bundles/taiga-ui-cdk-directives-hovered.umd.js.map +1 -1
  65. package/bundles/taiga-ui-cdk-directives-item.umd.js +0 -7
  66. package/bundles/taiga-ui-cdk-directives-item.umd.js.map +1 -1
  67. package/bundles/taiga-ui-cdk-directives-let.umd.js +0 -17
  68. package/bundles/taiga-ui-cdk-directives-let.umd.js.map +1 -1
  69. package/bundles/taiga-ui-cdk-directives-media.umd.js +0 -7
  70. package/bundles/taiga-ui-cdk-directives-media.umd.js.map +1 -1
  71. package/bundles/taiga-ui-cdk-directives-obscured.umd.js +0 -7
  72. package/bundles/taiga-ui-cdk-directives-obscured.umd.js.map +1 -1
  73. package/bundles/taiga-ui-cdk-directives-overscroll.umd.js +0 -10
  74. package/bundles/taiga-ui-cdk-directives-overscroll.umd.js.map +1 -1
  75. package/bundles/taiga-ui-cdk-directives-pan.umd.js +0 -7
  76. package/bundles/taiga-ui-cdk-directives-pan.umd.js.map +1 -1
  77. package/bundles/taiga-ui-cdk-directives-platform.umd.js +0 -4
  78. package/bundles/taiga-ui-cdk-directives-platform.umd.js.map +1 -1
  79. package/bundles/taiga-ui-cdk-directives-portal.umd.js +0 -4
  80. package/bundles/taiga-ui-cdk-directives-portal.umd.js.map +1 -1
  81. package/bundles/taiga-ui-cdk-directives-pressed.umd.js +0 -4
  82. package/bundles/taiga-ui-cdk-directives-pressed.umd.js.map +1 -1
  83. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js +0 -12
  84. package/bundles/taiga-ui-cdk-directives-prevent-default.umd.js.map +1 -1
  85. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js +0 -11
  86. package/bundles/taiga-ui-cdk-directives-repeat-times.umd.js.map +1 -1
  87. package/bundles/taiga-ui-cdk-directives-resize.umd.js +0 -7
  88. package/bundles/taiga-ui-cdk-directives-resize.umd.js.map +1 -1
  89. package/bundles/taiga-ui-cdk-directives-resizer.umd.js +0 -5
  90. package/bundles/taiga-ui-cdk-directives-resizer.umd.js.map +1 -1
  91. package/bundles/taiga-ui-cdk-directives-swipe.umd.js +0 -7
  92. package/bundles/taiga-ui-cdk-directives-swipe.umd.js.map +1 -1
  93. package/bundles/taiga-ui-cdk-directives-validator.umd.js +0 -4
  94. package/bundles/taiga-ui-cdk-directives-validator.umd.js.map +1 -1
  95. package/bundles/taiga-ui-cdk-directives-value-changes.umd.js +0 -4
  96. package/bundles/taiga-ui-cdk-directives-value-changes.umd.js.map +1 -1
  97. package/bundles/taiga-ui-cdk-directives-zoom.umd.js +0 -7
  98. package/bundles/taiga-ui-cdk-directives-zoom.umd.js.map +1 -1
  99. package/bundles/taiga-ui-cdk-directives.umd.js +0 -4
  100. package/bundles/taiga-ui-cdk-directives.umd.js.map +1 -1
  101. package/bundles/taiga-ui-cdk-enums.umd.js +0 -8
  102. package/bundles/taiga-ui-cdk-enums.umd.js.map +1 -1
  103. package/bundles/taiga-ui-cdk-exceptions.umd.js +0 -4
  104. package/bundles/taiga-ui-cdk-exceptions.umd.js.map +1 -1
  105. package/bundles/taiga-ui-cdk-interfaces.umd.js +1 -3
  106. package/bundles/taiga-ui-cdk-interfaces.umd.js.map +1 -1
  107. package/bundles/taiga-ui-cdk-observables.umd.js +1 -34
  108. package/bundles/taiga-ui-cdk-observables.umd.js.map +1 -1
  109. package/bundles/taiga-ui-cdk-pipes-filter.umd.js +0 -4
  110. package/bundles/taiga-ui-cdk-pipes-filter.umd.js.map +1 -1
  111. package/bundles/taiga-ui-cdk-pipes-is-present.umd.js +0 -4
  112. package/bundles/taiga-ui-cdk-pipes-is-present.umd.js.map +1 -1
  113. package/bundles/taiga-ui-cdk-pipes-keys.umd.js +0 -4
  114. package/bundles/taiga-ui-cdk-pipes-keys.umd.js.map +1 -1
  115. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js +0 -4
  116. package/bundles/taiga-ui-cdk-pipes-mapper.umd.js.map +1 -1
  117. package/bundles/taiga-ui-cdk-pipes-replace.umd.js +1 -7
  118. package/bundles/taiga-ui-cdk-pipes-replace.umd.js.map +1 -1
  119. package/bundles/taiga-ui-cdk-pipes.umd.js +0 -4
  120. package/bundles/taiga-ui-cdk-pipes.umd.js.map +1 -1
  121. package/bundles/taiga-ui-cdk-services.umd.js +5 -53
  122. package/bundles/taiga-ui-cdk-services.umd.js.map +1 -1
  123. package/bundles/taiga-ui-cdk-tokens.umd.js +5 -109
  124. package/bundles/taiga-ui-cdk-tokens.umd.js.map +1 -1
  125. package/bundles/taiga-ui-cdk-types.umd.js +1 -3
  126. package/bundles/taiga-ui-cdk-types.umd.js.map +1 -1
  127. package/bundles/taiga-ui-cdk-utils-browser.umd.js +0 -4
  128. package/bundles/taiga-ui-cdk-utils-browser.umd.js.map +1 -1
  129. package/bundles/taiga-ui-cdk-utils-color.umd.js +0 -10
  130. package/bundles/taiga-ui-cdk-utils-color.umd.js.map +1 -1
  131. package/bundles/taiga-ui-cdk-utils-dom.umd.js +2 -53
  132. package/bundles/taiga-ui-cdk-utils-dom.umd.js.map +1 -1
  133. package/bundles/taiga-ui-cdk-utils-focus.umd.js +0 -51
  134. package/bundles/taiga-ui-cdk-utils-focus.umd.js.map +1 -1
  135. package/bundles/taiga-ui-cdk-utils-format.umd.js +0 -7
  136. package/bundles/taiga-ui-cdk-utils-format.umd.js.map +1 -1
  137. package/bundles/taiga-ui-cdk-utils-math.umd.js +0 -38
  138. package/bundles/taiga-ui-cdk-utils-math.umd.js.map +1 -1
  139. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js +6 -42
  140. package/bundles/taiga-ui-cdk-utils-miscellaneous.umd.js.map +1 -1
  141. package/bundles/taiga-ui-cdk-utils-os.umd.js +0 -14
  142. package/bundles/taiga-ui-cdk-utils-os.umd.js.map +1 -1
  143. package/bundles/taiga-ui-cdk-utils-svg.umd.js +1 -19
  144. package/bundles/taiga-ui-cdk-utils-svg.umd.js.map +1 -1
  145. package/bundles/taiga-ui-cdk-utils.umd.js +0 -4
  146. package/bundles/taiga-ui-cdk-utils.umd.js.map +1 -1
  147. package/bundles/taiga-ui-cdk.umd.js +0 -4
  148. package/bundles/taiga-ui-cdk.umd.js.map +1 -1
  149. package/classes/assert.d.ts +0 -5
  150. package/classes/taiga-ui-cdk-classes.d.ts +0 -3
  151. package/coercion/coerce-boolean-property.d.ts +0 -4
  152. package/coercion/taiga-ui-cdk-coercion.d.ts +0 -3
  153. package/components/alert-host/taiga-ui-cdk-components-alert-host.d.ts +0 -3
  154. package/components/dialog-host/dialog-host.component.d.ts +0 -3
  155. package/components/dialog-host/taiga-ui-cdk-components-dialog-host.d.ts +0 -3
  156. package/components/dropdown-host/dropdown-host.component.d.ts +0 -3
  157. package/components/dropdown-host/dropdown-portal.service.d.ts +0 -3
  158. package/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.d.ts +0 -3
  159. package/components/scroll-controls/taiga-ui-cdk-components-scroll-controls.d.ts +0 -3
  160. package/components/taiga-ui-cdk-components.d.ts +0 -3
  161. package/constants/always-false-handler.d.ts +0 -3
  162. package/constants/always-true-handler.d.ts +0 -3
  163. package/constants/browser.d.ts +0 -4
  164. package/constants/empty.d.ts +0 -5
  165. package/constants/matcher.d.ts +0 -19
  166. package/constants/parent-animation.d.ts +0 -6
  167. package/constants/stringify.d.ts +0 -3
  168. package/constants/taiga-ui-cdk-constants.d.ts +0 -3
  169. package/constants/unicode-chars.d.ts +0 -51
  170. package/constants/used-icons.d.ts +0 -6
  171. package/date-time/date-fillers.d.ts +0 -11
  172. package/date-time/date-format.d.ts +0 -3
  173. package/date-time/date-separator.d.ts +0 -3
  174. package/date-time/day-range.d.ts +0 -33
  175. package/date-time/day.d.ts +0 -91
  176. package/date-time/month-range.d.ts +0 -3
  177. package/date-time/month.d.ts +0 -56
  178. package/date-time/taiga-ui-cdk-date-time.d.ts +0 -3
  179. package/date-time/time.d.ts +0 -36
  180. package/date-time/year.d.ts +0 -42
  181. package/decorators/debounce.d.ts +0 -4
  182. package/decorators/default-prop.d.ts +0 -9
  183. package/decorators/pure.d.ts +0 -18
  184. package/decorators/required-setter.d.ts +0 -9
  185. package/decorators/taiga-ui-cdk-decorators.d.ts +0 -3
  186. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.d.ts +0 -3
  187. package/directives/auto-focus/handlers/ios.handler.d.ts +0 -39
  188. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.d.ts +0 -3
  189. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.d.ts +0 -3
  190. package/directives/checked/taiga-ui-cdk-directives-checked.d.ts +0 -3
  191. package/directives/click-outside/taiga-ui-cdk-directives-click-outside.d.ts +0 -3
  192. package/directives/control/taiga-ui-cdk-directives-control.d.ts +0 -3
  193. package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.d.ts +0 -3
  194. package/directives/drag/drag.directive.d.ts +0 -3
  195. package/directives/drag/drag.module.d.ts +0 -3
  196. package/directives/drag/taiga-ui-cdk-directives-drag.d.ts +0 -3
  197. package/directives/droppable/taiga-ui-cdk-directives-droppable.d.ts +0 -3
  198. package/directives/element/taiga-ui-cdk-directives-element.d.ts +0 -3
  199. package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.d.ts +0 -3
  200. package/directives/focus-visible/focus-visible.directive.d.ts +0 -5
  201. package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.d.ts +0 -3
  202. package/directives/focusable/focusable.directive.d.ts +0 -6
  203. package/directives/focusable/taiga-ui-cdk-directives-focusable.d.ts +0 -3
  204. package/directives/focused/focused.directive.d.ts +0 -5
  205. package/directives/focused/taiga-ui-cdk-directives-focused.d.ts +0 -3
  206. package/directives/for/taiga-ui-cdk-directives-for.d.ts +0 -3
  207. package/directives/for-async/for-async.module.d.ts +0 -3
  208. package/directives/for-async/taiga-ui-cdk-directives-for-async.d.ts +0 -3
  209. package/directives/high-dpi/high-dpi.directive.d.ts +0 -3
  210. package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.d.ts +0 -3
  211. package/directives/hovered/taiga-ui-cdk-directives-hovered.d.ts +0 -3
  212. package/directives/item/item.directive.d.ts +0 -3
  213. package/directives/item/taiga-ui-cdk-directives-item.d.ts +0 -3
  214. package/directives/let/let-context.d.ts +0 -3
  215. package/directives/let/let.directive.d.ts +0 -10
  216. package/directives/let/taiga-ui-cdk-directives-let.d.ts +0 -3
  217. package/directives/media/taiga-ui-cdk-directives-media.d.ts +0 -3
  218. package/directives/obscured/obscured.directive.d.ts +0 -3
  219. package/directives/obscured/taiga-ui-cdk-directives-obscured.d.ts +0 -3
  220. package/directives/overscroll/overscroll.directive.d.ts +0 -3
  221. package/directives/overscroll/taiga-ui-cdk-directives-overscroll.d.ts +0 -3
  222. package/directives/pan/pan.module.d.ts +0 -3
  223. package/directives/pan/taiga-ui-cdk-directives-pan.d.ts +0 -3
  224. package/directives/platform/taiga-ui-cdk-directives-platform.d.ts +0 -3
  225. package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +0 -3
  226. package/directives/pressed/taiga-ui-cdk-directives-pressed.d.ts +0 -3
  227. package/directives/prevent-default/prevent-default.directive.d.ts +0 -5
  228. package/directives/prevent-default/prevent-default.module.d.ts +0 -3
  229. package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.d.ts +0 -3
  230. package/directives/repeat-times/repeat-times.directive.d.ts +0 -7
  231. package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.d.ts +0 -3
  232. package/directives/resize/resize.module.d.ts +0 -3
  233. package/directives/resize/taiga-ui-cdk-directives-resize.d.ts +0 -3
  234. package/directives/resizer/taiga-ui-cdk-directives-resizer.d.ts +0 -3
  235. package/directives/swipe/swipe.module.d.ts +0 -3
  236. package/directives/swipe/taiga-ui-cdk-directives-swipe.d.ts +0 -3
  237. package/directives/taiga-ui-cdk-directives.d.ts +0 -3
  238. package/directives/validator/taiga-ui-cdk-directives-validator.d.ts +0 -3
  239. package/directives/value-changes/taiga-ui-cdk-directives-value-changes.d.ts +0 -3
  240. package/directives/zoom/taiga-ui-cdk-directives-zoom.d.ts +0 -3
  241. package/directives/zoom/zoom.module.d.ts +0 -3
  242. package/enums/taiga-ui-cdk-enums.d.ts +0 -3
  243. package/esm2015/abstract/control.js +1 -7
  244. package/esm2015/abstract/interactive.js +1 -11
  245. package/esm2015/abstract/portal-host.js +1 -4
  246. package/esm2015/abstract/portal-service.js +1 -4
  247. package/esm2015/abstract/taiga-ui-cdk-abstract.js +1 -4
  248. package/esm2015/abstract/theme-switcher.js +1 -7
  249. package/esm2015/classes/assert.js +1 -6
  250. package/esm2015/classes/taiga-ui-cdk-classes.js +1 -4
  251. package/esm2015/coercion/coerce-boolean-property.js +1 -7
  252. package/esm2015/coercion/taiga-ui-cdk-coercion.js +1 -4
  253. package/esm2015/components/alert-host/alert-host.component.js +1 -5
  254. package/esm2015/components/alert-host/taiga-ui-cdk-components-alert-host.js +1 -4
  255. package/esm2015/components/dialog-host/dialog-host.component.js +1 -8
  256. package/esm2015/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +1 -4
  257. package/esm2015/components/dropdown-host/dropdown-host.component.js +1 -4
  258. package/esm2015/components/dropdown-host/dropdown-portal.service.js +1 -4
  259. package/esm2015/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +1 -4
  260. package/esm2015/components/scroll-controls/taiga-ui-cdk-components-scroll-controls.js +1 -4
  261. package/esm2015/components/taiga-ui-cdk-components.js +1 -4
  262. package/esm2015/constants/always-false-handler.js +1 -5
  263. package/esm2015/constants/always-true-handler.js +1 -5
  264. package/esm2015/constants/browser.js +1 -5
  265. package/esm2015/constants/empty.js +1 -6
  266. package/esm2015/constants/matcher.js +1 -20
  267. package/esm2015/constants/parent-animation.js +1 -7
  268. package/esm2015/constants/stringify.js +1 -4
  269. package/esm2015/constants/svg-node-filter.js +1 -3
  270. package/esm2015/constants/taiga-ui-cdk-constants.js +1 -4
  271. package/esm2015/constants/unicode-chars.js +1 -52
  272. package/esm2015/constants/used-icons.js +1 -7
  273. package/esm2015/date-time/date-fillers.js +1 -12
  274. package/esm2015/date-time/date-format.js +1 -4
  275. package/esm2015/date-time/date-separator.js +1 -4
  276. package/esm2015/date-time/day-range.js +1 -34
  277. package/esm2015/date-time/day.js +1 -94
  278. package/esm2015/date-time/month-range.js +1 -4
  279. package/esm2015/date-time/month.js +1 -57
  280. package/esm2015/date-time/taiga-ui-cdk-date-time.js +1 -4
  281. package/esm2015/date-time/time.js +1 -37
  282. package/esm2015/date-time/year.js +1 -43
  283. package/esm2015/decorators/debounce.js +1 -5
  284. package/esm2015/decorators/default-prop.js +1 -10
  285. package/esm2015/decorators/required-setter.js +1 -10
  286. package/esm2015/decorators/taiga-ui-cdk-decorators.js +1 -4
  287. package/esm2015/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +1 -4
  288. package/esm2015/directives/auto-focus/autofocus.options.js +2 -3
  289. package/esm2015/directives/auto-focus/handlers/ios.handler.js +1 -40
  290. package/esm2015/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +1 -4
  291. package/esm2015/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +1 -4
  292. package/esm2015/directives/checked/taiga-ui-cdk-directives-checked.js +1 -4
  293. package/esm2015/directives/click-outside/taiga-ui-cdk-directives-click-outside.js +1 -4
  294. package/esm2015/directives/control/taiga-ui-cdk-directives-control.js +1 -4
  295. package/esm2015/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +1 -4
  296. package/esm2015/directives/drag/drag.directive.js +1 -4
  297. package/esm2015/directives/drag/drag.module.js +1 -4
  298. package/esm2015/directives/drag/taiga-ui-cdk-directives-drag.js +1 -4
  299. package/esm2015/directives/droppable/droppable.directive.js +1 -2
  300. package/esm2015/directives/droppable/taiga-ui-cdk-directives-droppable.js +1 -4
  301. package/esm2015/directives/element/element.directive.js +1 -15
  302. package/esm2015/directives/element/taiga-ui-cdk-directives-element.js +1 -4
  303. package/esm2015/directives/focus-trap/focus-trap.directive.js +1 -14
  304. package/esm2015/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +1 -4
  305. package/esm2015/directives/focus-visible/focus-visible.directive.js +1 -6
  306. package/esm2015/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +1 -4
  307. package/esm2015/directives/focusable/focusable.directive.js +1 -7
  308. package/esm2015/directives/focusable/taiga-ui-cdk-directives-focusable.js +1 -4
  309. package/esm2015/directives/focused/focused.directive.js +1 -6
  310. package/esm2015/directives/focused/taiga-ui-cdk-directives-focused.js +1 -4
  311. package/esm2015/directives/for/taiga-ui-cdk-directives-for.js +1 -4
  312. package/esm2015/directives/for-async/for-async.module.js +1 -4
  313. package/esm2015/directives/for-async/taiga-ui-cdk-directives-for-async.js +1 -4
  314. package/esm2015/directives/high-dpi/high-dpi.directive.js +1 -4
  315. package/esm2015/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +1 -4
  316. package/esm2015/directives/hovered/hovered.service.js +2 -4
  317. package/esm2015/directives/hovered/taiga-ui-cdk-directives-hovered.js +1 -4
  318. package/esm2015/directives/item/item.directive.js +1 -4
  319. package/esm2015/directives/item/taiga-ui-cdk-directives-item.js +1 -4
  320. package/esm2015/directives/let/let-context.js +1 -4
  321. package/esm2015/directives/let/let.directive.js +1 -11
  322. package/esm2015/directives/let/taiga-ui-cdk-directives-let.js +1 -4
  323. package/esm2015/directives/media/media.directive.js +1 -4
  324. package/esm2015/directives/media/taiga-ui-cdk-directives-media.js +1 -4
  325. package/esm2015/directives/obscured/obscured.directive.js +1 -4
  326. package/esm2015/directives/obscured/taiga-ui-cdk-directives-obscured.js +1 -4
  327. package/esm2015/directives/overscroll/overscroll.directive.js +1 -7
  328. package/esm2015/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +1 -4
  329. package/esm2015/directives/pan/pan.module.js +1 -4
  330. package/esm2015/directives/pan/taiga-ui-cdk-directives-pan.js +1 -4
  331. package/esm2015/directives/platform/taiga-ui-cdk-directives-platform.js +1 -4
  332. package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +1 -4
  333. package/esm2015/directives/pressed/taiga-ui-cdk-directives-pressed.js +1 -4
  334. package/esm2015/directives/prevent-default/prevent-default.directive.js +1 -6
  335. package/esm2015/directives/prevent-default/prevent-default.module.js +1 -4
  336. package/esm2015/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +1 -4
  337. package/esm2015/directives/repeat-times/repeat-times.directive.js +1 -8
  338. package/esm2015/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +1 -4
  339. package/esm2015/directives/resize/resize.module.js +1 -4
  340. package/esm2015/directives/resize/taiga-ui-cdk-directives-resize.js +1 -4
  341. package/esm2015/directives/resizer/resizer.directive.js +1 -2
  342. package/esm2015/directives/resizer/taiga-ui-cdk-directives-resizer.js +1 -4
  343. package/esm2015/directives/swipe/swipe.module.js +1 -4
  344. package/esm2015/directives/swipe/taiga-ui-cdk-directives-swipe.js +1 -4
  345. package/esm2015/directives/taiga-ui-cdk-directives.js +1 -4
  346. package/esm2015/directives/validator/taiga-ui-cdk-directives-validator.js +1 -4
  347. package/esm2015/directives/value-changes/taiga-ui-cdk-directives-value-changes.js +1 -4
  348. package/esm2015/directives/zoom/taiga-ui-cdk-directives-zoom.js +1 -4
  349. package/esm2015/directives/zoom/zoom.module.js +1 -4
  350. package/esm2015/enums/day-of-week.js +1 -3
  351. package/esm2015/enums/month-number.js +1 -3
  352. package/esm2015/enums/taiga-ui-cdk-enums.js +1 -4
  353. package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +1 -4
  354. package/esm2015/interfaces/taiga-ui-cdk-interfaces.js +1 -4
  355. package/esm2015/observables/control-value.js +1 -4
  356. package/esm2015/observables/drag-and-drop-from.js +1 -3
  357. package/esm2015/observables/focus-visible-observable.js +2 -6
  358. package/esm2015/observables/is-alive.js +1 -4
  359. package/esm2015/observables/items-query-list-observable.js +1 -7
  360. package/esm2015/observables/mouse-drag-finish-from.js +1 -5
  361. package/esm2015/observables/scroll-from.js +1 -4
  362. package/esm2015/observables/taiga-ui-cdk-observables.js +1 -4
  363. package/esm2015/observables/typed-from-event.js +1 -5
  364. package/esm2015/pipes/filter/taiga-ui-cdk-pipes-filter.js +1 -4
  365. package/esm2015/pipes/is-present/taiga-ui-cdk-pipes-is-present.js +1 -4
  366. package/esm2015/pipes/keys/taiga-ui-cdk-pipes-keys.js +1 -4
  367. package/esm2015/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +1 -4
  368. package/esm2015/pipes/replace/replace.pipe.js +2 -4
  369. package/esm2015/pipes/replace/taiga-ui-cdk-pipes-replace.js +1 -4
  370. package/esm2015/pipes/taiga-ui-cdk-pipes.js +1 -4
  371. package/esm2015/services/destroy.service.js +1 -9
  372. package/esm2015/services/directive-styles.service.js +1 -4
  373. package/esm2015/services/focus-visible.service.js +1 -6
  374. package/esm2015/services/id.service.js +1 -4
  375. package/esm2015/services/obscured.service.js +2 -10
  376. package/esm2015/services/pan.service.js +2 -4
  377. package/esm2015/services/parents-scroll.service.js +2 -7
  378. package/esm2015/services/resize.service.js +2 -8
  379. package/esm2015/services/static-request.service.js +2 -5
  380. package/esm2015/services/taiga-ui-cdk-services.js +1 -4
  381. package/esm2015/taiga-ui-cdk.js +1 -4
  382. package/esm2015/tokens/active-element.js +4 -26
  383. package/esm2015/tokens/alerts.js +1 -4
  384. package/esm2015/tokens/default-renderer.js +2 -10
  385. package/esm2015/tokens/dialogs.js +1 -5
  386. package/esm2015/tokens/ensure-base-href.js +1 -4
  387. package/esm2015/tokens/focusable-item-accessor.js +1 -4
  388. package/esm2015/tokens/is-android.js +1 -4
  389. package/esm2015/tokens/is-apple.js +1 -4
  390. package/esm2015/tokens/is-chromium.js +1 -4
  391. package/esm2015/tokens/is-cypress.js +1 -5
  392. package/esm2015/tokens/is-e2e.js +1 -4
  393. package/esm2015/tokens/is-firefox.js +1 -4
  394. package/esm2015/tokens/is-ios.js +1 -4
  395. package/esm2015/tokens/is-mobile.js +1 -5
  396. package/esm2015/tokens/is-playwright.js +1 -4
  397. package/esm2015/tokens/is-webkit.js +1 -4
  398. package/esm2015/tokens/platform.js +1 -2
  399. package/esm2015/tokens/range.js +1 -4
  400. package/esm2015/tokens/removed-element.js +1 -4
  401. package/esm2015/tokens/scroll-ref.js +1 -4
  402. package/esm2015/tokens/swipe-options.js +1 -4
  403. package/esm2015/tokens/taiga-ui-cdk-tokens.js +1 -4
  404. package/esm2015/tokens/take-only-trusted-events.js +1 -7
  405. package/esm2015/tokens/window-height.js +1 -4
  406. package/esm2015/tokens/zoom-options.js +1 -4
  407. package/esm2015/types/taiga-ui-cdk-types.js +1 -4
  408. package/esm2015/utils/browser/taiga-ui-cdk-utils-browser.js +1 -4
  409. package/esm2015/utils/color/hex-to-rgba.js +1 -2
  410. package/esm2015/utils/color/hsv-to-rgb.js +1 -4
  411. package/esm2015/utils/color/rgb-to-hsv.js +1 -2
  412. package/esm2015/utils/color/rgba-to-hex.js +1 -2
  413. package/esm2015/utils/color/taiga-ui-cdk-utils-color.js +1 -4
  414. package/esm2015/utils/dom/element-checks.js +1 -2
  415. package/esm2015/utils/dom/get-actual-target.js +1 -4
  416. package/esm2015/utils/dom/get-clipboard-data-text.js +1 -4
  417. package/esm2015/utils/dom/get-element-obscurers.js +1 -10
  418. package/esm2015/utils/dom/get-element-offset.js +1 -8
  419. package/esm2015/utils/dom/get-scroll-parent.js +1 -7
  420. package/esm2015/utils/dom/get-selected-text.js +1 -9
  421. package/esm2015/utils/dom/is-inside-iframe.js +1 -4
  422. package/esm2015/utils/dom/is-node-in.js +1 -8
  423. package/esm2015/utils/dom/retarget-boundary-crossing.js +3 -3
  424. package/esm2015/utils/dom/taiga-ui-cdk-utils-dom.js +1 -4
  425. package/esm2015/utils/focus/blur-native-focused.js +1 -4
  426. package/esm2015/utils/focus/get-closest-focusable.js +1 -5
  427. package/esm2015/utils/focus/get-native-focused.js +1 -6
  428. package/esm2015/utils/focus/is-native-focused-in.js +1 -8
  429. package/esm2015/utils/focus/is-native-focused.js +1 -9
  430. package/esm2015/utils/focus/is-native-keyboard-focusable.js +1 -7
  431. package/esm2015/utils/focus/move-focus.js +1 -8
  432. package/esm2015/utils/focus/set-native-mouse-focused.js +1 -8
  433. package/esm2015/utils/focus/taiga-ui-cdk-utils-focus.js +1 -4
  434. package/esm2015/utils/format/px.js +1 -4
  435. package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +1 -4
  436. package/esm2015/utils/math/clamp.js +1 -8
  437. package/esm2015/utils/math/normalize-to-int-number.js +1 -9
  438. package/esm2015/utils/math/quantize.js +1 -7
  439. package/esm2015/utils/math/round.js +1 -8
  440. package/esm2015/utils/math/sum.js +1 -4
  441. package/esm2015/utils/math/taiga-ui-cdk-utils-math.js +1 -4
  442. package/esm2015/utils/math/to-radians.js +1 -4
  443. package/esm2015/utils/miscellaneous/create-options.js +1 -2
  444. package/esm2015/utils/miscellaneous/flat-length.js +1 -6
  445. package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +1 -7
  446. package/esm2015/utils/miscellaneous/is-number.js +1 -2
  447. package/esm2015/utils/miscellaneous/is-object.js +1 -2
  448. package/esm2015/utils/miscellaneous/is-string.js +1 -2
  449. package/esm2015/utils/miscellaneous/is-valid-url.js +7 -8
  450. package/esm2015/utils/miscellaneous/nullable-same.js +1 -9
  451. package/esm2015/utils/miscellaneous/object-from-entries.js +1 -9
  452. package/esm2015/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +1 -4
  453. package/esm2015/utils/os/is-apple-platform.js +1 -11
  454. package/esm2015/utils/os/taiga-ui-cdk-utils-os.js +1 -4
  455. package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -16
  456. package/esm2015/utils/svg/taiga-ui-cdk-utils-svg.js +1 -4
  457. package/esm2015/utils/taiga-ui-cdk-utils.js +1 -4
  458. package/exceptions/taiga-ui-cdk-exceptions.d.ts +0 -3
  459. package/fesm2015/taiga-ui-cdk-abstract.js +0 -32
  460. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  461. package/fesm2015/taiga-ui-cdk-classes.js +0 -9
  462. package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
  463. package/fesm2015/taiga-ui-cdk-coercion.js +0 -10
  464. package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
  465. package/fesm2015/taiga-ui-cdk-components-alert-host.js +0 -8
  466. package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
  467. package/fesm2015/taiga-ui-cdk-components-dialog-host.js +0 -11
  468. package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
  469. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +0 -10
  470. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  471. package/fesm2015/taiga-ui-cdk-components-scroll-controls.js +0 -4
  472. package/fesm2015/taiga-ui-cdk-components-scroll-controls.js.map +1 -1
  473. package/fesm2015/taiga-ui-cdk-components.js +0 -4
  474. package/fesm2015/taiga-ui-cdk-components.js.map +1 -1
  475. package/fesm2015/taiga-ui-cdk-constants.js +0 -108
  476. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  477. package/fesm2015/taiga-ui-cdk-date-time.js +0 -284
  478. package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
  479. package/fesm2015/taiga-ui-cdk-decorators.js +0 -26
  480. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  481. package/fesm2015/taiga-ui-cdk-directives-active-zone.js +0 -4
  482. package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  483. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +1 -44
  484. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  485. package/fesm2015/taiga-ui-cdk-directives-autofilled.js +0 -4
  486. package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
  487. package/fesm2015/taiga-ui-cdk-directives-checked.js +0 -4
  488. package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
  489. package/fesm2015/taiga-ui-cdk-directives-click-outside.js +0 -4
  490. package/fesm2015/taiga-ui-cdk-directives-click-outside.js.map +1 -1
  491. package/fesm2015/taiga-ui-cdk-directives-control.js +0 -4
  492. package/fesm2015/taiga-ui-cdk-directives-control.js.map +1 -1
  493. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +0 -4
  494. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  495. package/fesm2015/taiga-ui-cdk-directives-drag.js +0 -10
  496. package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
  497. package/fesm2015/taiga-ui-cdk-directives-droppable.js +0 -5
  498. package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
  499. package/fesm2015/taiga-ui-cdk-directives-element.js +0 -18
  500. package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
  501. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +0 -17
  502. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
  503. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +0 -9
  504. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
  505. package/fesm2015/taiga-ui-cdk-directives-focusable.js +0 -10
  506. package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
  507. package/fesm2015/taiga-ui-cdk-directives-focused.js +0 -9
  508. package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
  509. package/fesm2015/taiga-ui-cdk-directives-for-async.js +0 -7
  510. package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
  511. package/fesm2015/taiga-ui-cdk-directives-for.js +0 -4
  512. package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
  513. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +0 -7
  514. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
  515. package/fesm2015/taiga-ui-cdk-directives-hovered.js +1 -7
  516. package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
  517. package/fesm2015/taiga-ui-cdk-directives-item.js +0 -7
  518. package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
  519. package/fesm2015/taiga-ui-cdk-directives-let.js +0 -17
  520. package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
  521. package/fesm2015/taiga-ui-cdk-directives-media.js +0 -7
  522. package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
  523. package/fesm2015/taiga-ui-cdk-directives-obscured.js +0 -7
  524. package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
  525. package/fesm2015/taiga-ui-cdk-directives-overscroll.js +0 -10
  526. package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
  527. package/fesm2015/taiga-ui-cdk-directives-pan.js +0 -7
  528. package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
  529. package/fesm2015/taiga-ui-cdk-directives-platform.js +0 -4
  530. package/fesm2015/taiga-ui-cdk-directives-platform.js.map +1 -1
  531. package/fesm2015/taiga-ui-cdk-directives-portal.js +0 -4
  532. package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
  533. package/fesm2015/taiga-ui-cdk-directives-pressed.js +0 -4
  534. package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
  535. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +0 -12
  536. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
  537. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +0 -11
  538. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  539. package/fesm2015/taiga-ui-cdk-directives-resize.js +0 -7
  540. package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
  541. package/fesm2015/taiga-ui-cdk-directives-resizer.js +0 -5
  542. package/fesm2015/taiga-ui-cdk-directives-resizer.js.map +1 -1
  543. package/fesm2015/taiga-ui-cdk-directives-swipe.js +0 -7
  544. package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
  545. package/fesm2015/taiga-ui-cdk-directives-validator.js +0 -4
  546. package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
  547. package/fesm2015/taiga-ui-cdk-directives-value-changes.js +0 -4
  548. package/fesm2015/taiga-ui-cdk-directives-value-changes.js.map +1 -1
  549. package/fesm2015/taiga-ui-cdk-directives-zoom.js +0 -7
  550. package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
  551. package/fesm2015/taiga-ui-cdk-directives.js +0 -4
  552. package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
  553. package/fesm2015/taiga-ui-cdk-enums.js +0 -8
  554. package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
  555. package/fesm2015/taiga-ui-cdk-exceptions.js +0 -4
  556. package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
  557. package/fesm2015/taiga-ui-cdk-interfaces.js +1 -3
  558. package/fesm2015/taiga-ui-cdk-interfaces.js.map +1 -1
  559. package/fesm2015/taiga-ui-cdk-observables.js +1 -34
  560. package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
  561. package/fesm2015/taiga-ui-cdk-pipes-filter.js +0 -4
  562. package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
  563. package/fesm2015/taiga-ui-cdk-pipes-is-present.js +0 -4
  564. package/fesm2015/taiga-ui-cdk-pipes-is-present.js.map +1 -1
  565. package/fesm2015/taiga-ui-cdk-pipes-keys.js +0 -4
  566. package/fesm2015/taiga-ui-cdk-pipes-keys.js.map +1 -1
  567. package/fesm2015/taiga-ui-cdk-pipes-mapper.js +0 -4
  568. package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  569. package/fesm2015/taiga-ui-cdk-pipes-replace.js +1 -7
  570. package/fesm2015/taiga-ui-cdk-pipes-replace.js.map +1 -1
  571. package/fesm2015/taiga-ui-cdk-pipes.js +0 -4
  572. package/fesm2015/taiga-ui-cdk-pipes.js.map +1 -1
  573. package/fesm2015/taiga-ui-cdk-services.js +5 -52
  574. package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
  575. package/fesm2015/taiga-ui-cdk-tokens.js +4 -108
  576. package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
  577. package/fesm2015/taiga-ui-cdk-types.js +1 -3
  578. package/fesm2015/taiga-ui-cdk-types.js.map +1 -1
  579. package/fesm2015/taiga-ui-cdk-utils-browser.js +0 -4
  580. package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
  581. package/fesm2015/taiga-ui-cdk-utils-color.js +0 -10
  582. package/fesm2015/taiga-ui-cdk-utils-color.js.map +1 -1
  583. package/fesm2015/taiga-ui-cdk-utils-dom.js +2 -53
  584. package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
  585. package/fesm2015/taiga-ui-cdk-utils-focus.js +0 -51
  586. package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
  587. package/fesm2015/taiga-ui-cdk-utils-format.js +0 -7
  588. package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
  589. package/fesm2015/taiga-ui-cdk-utils-math.js +0 -38
  590. package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
  591. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +6 -42
  592. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  593. package/fesm2015/taiga-ui-cdk-utils-os.js +0 -14
  594. package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
  595. package/fesm2015/taiga-ui-cdk-utils-svg.js +1 -19
  596. package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
  597. package/fesm2015/taiga-ui-cdk-utils.js +0 -4
  598. package/fesm2015/taiga-ui-cdk-utils.js.map +1 -1
  599. package/fesm2015/taiga-ui-cdk.js +0 -4
  600. package/fesm2015/taiga-ui-cdk.js.map +1 -1
  601. package/interfaces/control-value-transformer.d.ts +0 -3
  602. package/interfaces/day-like.d.ts +0 -3
  603. package/interfaces/focusable-element-accessor.d.ts +0 -4
  604. package/interfaces/month-like.d.ts +0 -3
  605. package/interfaces/taiga-ui-cdk-interfaces.d.ts +0 -3
  606. package/interfaces/year-like.d.ts +0 -3
  607. package/observables/control-value.d.ts +0 -3
  608. package/observables/is-alive.d.ts +0 -3
  609. package/observables/items-query-list-observable.d.ts +0 -6
  610. package/observables/mouse-drag-finish-from.d.ts +0 -4
  611. package/observables/scroll-from.d.ts +0 -3
  612. package/observables/taiga-ui-cdk-observables.d.ts +0 -3
  613. package/package.json +1 -1
  614. package/pipes/filter/filter.pipe.d.ts +0 -7
  615. package/pipes/filter/taiga-ui-cdk-pipes-filter.d.ts +0 -3
  616. package/pipes/is-present/taiga-ui-cdk-pipes-is-present.d.ts +0 -3
  617. package/pipes/keys/taiga-ui-cdk-pipes-keys.d.ts +0 -3
  618. package/pipes/mapper/mapper.pipe.d.ts +0 -7
  619. package/pipes/mapper/taiga-ui-cdk-pipes-mapper.d.ts +0 -3
  620. package/pipes/replace/taiga-ui-cdk-pipes-replace.d.ts +0 -3
  621. package/pipes/taiga-ui-cdk-pipes.d.ts +0 -3
  622. package/schematics/constants/file-globs.js +1 -3
  623. package/schematics/ng-add/index.js +0 -1
  624. package/schematics/ng-add/schema.d.ts +0 -12
  625. package/schematics/ng-update/steps/show-warnings.js +0 -5
  626. package/schematics/ng-update/v3/constants/breakpoints.js +0 -2
  627. package/schematics/ng-update/v3/constants/enums.js +0 -4
  628. package/schematics/ng-update/v3/constants/templates.d.ts +0 -5
  629. package/schematics/ng-update/v3/constants/templates.js +0 -5
  630. package/schematics/ng-update/v3/index.js +1 -5
  631. package/schematics/ng-update/v3/steps/migrate-date-time.js +0 -18
  632. package/schematics/ng-update/v3/steps/migrate-progress.js +1 -3
  633. package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.js +0 -6
  634. package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.js +0 -5
  635. package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.js +0 -1
  636. package/schematics/ng-update/v3/steps/migrate-templates.js +0 -1
  637. package/schematics/ng-update/v3/steps/miscellaneous.js +0 -4
  638. package/schematics/ng-update/v3/steps/replace-functions.js +1 -1
  639. package/schematics/ng-update/v3-30/index.js +0 -1
  640. package/schematics/ng-update/v3-35/index.js +0 -1
  641. package/schematics/ng-update/v3-36/index.js +0 -1
  642. package/schematics/ng-update/v3-40/index.js +0 -1
  643. package/schematics/ng-update/v3-5/index.js +0 -1
  644. package/schematics/ng-update/v4/index.js +0 -1
  645. package/schematics/utils/add-import-to-component.js +0 -1
  646. package/schematics/utils/angular/ng-module.d.ts +0 -3
  647. package/schematics/utils/angular/ng-module.js +0 -3
  648. package/schematics/utils/angular-json-manipulations.js +0 -7
  649. package/schematics/utils/colored-log.js +1 -1
  650. package/schematics/utils/get-projects.js +1 -3
  651. package/schematics/utils/is-ci.js +11 -13
  652. package/schematics/utils/progress.js +0 -1
  653. package/schematics/utils/push-to-array-property.js +0 -1
  654. package/schematics/utils/templates/elements.d.ts +0 -19
  655. package/schematics/utils/templates/elements.js +2 -26
  656. package/schematics/utils/templates/ng-component-input-manipulations.d.ts +0 -44
  657. package/schematics/utils/templates/ng-component-input-manipulations.js +1 -47
  658. package/services/destroy.service.d.ts +0 -8
  659. package/services/directive-styles.service.d.ts +0 -3
  660. package/services/focus-visible.service.d.ts +0 -5
  661. package/services/id.service.d.ts +0 -3
  662. package/services/obscured.service.d.ts +0 -5
  663. package/services/parents-scroll.service.d.ts +0 -3
  664. package/services/taiga-ui-cdk-services.d.ts +0 -3
  665. package/taiga-ui-cdk.d.ts +0 -3
  666. package/tokens/active-element.d.ts +0 -3
  667. package/tokens/alerts.d.ts +0 -3
  668. package/tokens/default-renderer.d.ts +0 -6
  669. package/tokens/dialogs.d.ts +0 -3
  670. package/tokens/ensure-base-href.d.ts +0 -3
  671. package/tokens/focusable-item-accessor.d.ts +0 -3
  672. package/tokens/is-android.d.ts +0 -3
  673. package/tokens/is-apple.d.ts +0 -3
  674. package/tokens/is-chromium.d.ts +0 -3
  675. package/tokens/is-cypress.d.ts +0 -4
  676. package/tokens/is-e2e.d.ts +0 -3
  677. package/tokens/is-firefox.d.ts +0 -3
  678. package/tokens/is-ios.d.ts +0 -3
  679. package/tokens/is-mobile.d.ts +0 -3
  680. package/tokens/is-playwright.d.ts +0 -3
  681. package/tokens/is-webkit.d.ts +0 -3
  682. package/tokens/range.d.ts +0 -3
  683. package/tokens/removed-element.d.ts +0 -3
  684. package/tokens/scroll-ref.d.ts +0 -3
  685. package/tokens/swipe-options.d.ts +0 -3
  686. package/tokens/taiga-ui-cdk-tokens.d.ts +0 -3
  687. package/tokens/take-only-trusted-events.d.ts +0 -6
  688. package/tokens/window-height.d.ts +0 -3
  689. package/tokens/zoom-options.d.ts +0 -3
  690. package/types/autocomplete.d.ts +0 -1
  691. package/types/date-mode.d.ts +0 -5
  692. package/types/event-with.d.ts +0 -3
  693. package/types/mapper.d.ts +0 -8
  694. package/types/matcher.d.ts +0 -8
  695. package/types/taiga-ui-cdk-types.d.ts +0 -3
  696. package/utils/browser/taiga-ui-cdk-utils-browser.d.ts +0 -3
  697. package/utils/color/hsv-to-rgb.d.ts +0 -3
  698. package/utils/color/taiga-ui-cdk-utils-color.d.ts +0 -3
  699. package/utils/dom/get-actual-target.d.ts +0 -3
  700. package/utils/dom/get-clipboard-data-text.d.ts +0 -3
  701. package/utils/dom/get-element-obscurers.d.ts +0 -9
  702. package/utils/dom/get-element-offset.d.ts +0 -7
  703. package/utils/dom/get-scroll-parent.d.ts +0 -6
  704. package/utils/dom/get-selected-text.d.ts +0 -8
  705. package/utils/dom/is-inside-iframe.d.ts +0 -3
  706. package/utils/dom/is-node-in.d.ts +0 -7
  707. package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +0 -3
  708. package/utils/focus/blur-native-focused.d.ts +0 -3
  709. package/utils/focus/get-closest-focusable.d.ts +0 -20
  710. package/utils/focus/get-native-focused.d.ts +0 -5
  711. package/utils/focus/is-native-focused-in.d.ts +0 -6
  712. package/utils/focus/is-native-focused.d.ts +0 -8
  713. package/utils/focus/is-native-keyboard-focusable.d.ts +0 -6
  714. package/utils/focus/move-focus.d.ts +0 -7
  715. package/utils/focus/set-native-mouse-focused.d.ts +0 -7
  716. package/utils/focus/taiga-ui-cdk-utils-focus.d.ts +0 -3
  717. package/utils/format/px.d.ts +0 -3
  718. package/utils/format/taiga-ui-cdk-utils-format.d.ts +0 -3
  719. package/utils/math/clamp.d.ts +0 -7
  720. package/utils/math/normalize-to-int-number.d.ts +0 -8
  721. package/utils/math/quantize.d.ts +0 -6
  722. package/utils/math/sum.d.ts +0 -3
  723. package/utils/math/taiga-ui-cdk-utils-math.d.ts +0 -3
  724. package/utils/math/to-radians.d.ts +0 -3
  725. package/utils/miscellaneous/create-options.d.ts +0 -1
  726. package/utils/miscellaneous/flat-length.d.ts +0 -5
  727. package/utils/miscellaneous/get-original-array-from-query-list.d.ts +0 -6
  728. package/utils/miscellaneous/is-string.js +0 -1
  729. package/utils/miscellaneous/nullable-same.d.ts +0 -8
  730. package/utils/miscellaneous/object-from-entries.d.ts +0 -8
  731. package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.d.ts +0 -3
  732. package/utils/os/is-apple-platform.d.ts +0 -10
  733. package/utils/os/taiga-ui-cdk-utils-os.d.ts +0 -3
  734. package/utils/svg/svg-linear-gradient-processor.d.ts +0 -14
  735. package/utils/svg/taiga-ui-cdk-utils-svg.d.ts +0 -3
  736. package/utils/taiga-ui-cdk-utils.d.ts +0 -3
@@ -33,56 +33,26 @@ const MILLISECONDS_IN_MINUTE = MILLISECONDS_IN_SECOND * SECONDS_IN_MINUTE;
33
33
  const MILLISECONDS_IN_HOUR = MILLISECONDS_IN_MINUTE * MINUTES_IN_HOUR;
34
34
  const MILLISECONDS_IN_DAY = MILLISECONDS_IN_HOUR * HOURS_IN_DAY;
35
35
 
36
- /**
37
- * @internal 'dd.mm.yyyy'.length
38
- * Used in:
39
- * - {@link TuiInputDateComponent}
40
- * - {@link TuiInputDateRangeComponent}
41
- * - {@link TuiInputDateTimeComponent}
42
- */
43
36
  const DATE_FILLER_LENGTH = 10;
44
- /**
45
- * @internal
46
- * Used in {@link TuiInputDateRangeComponent}
47
- */
48
37
  const DATE_RANGE_FILLER_LENGTH = 2 * DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length;
49
38
 
50
- /**
51
- * Active date format for Taiga UI
52
- */
53
39
  const TUI_DATE_FORMAT = tuiCreateToken(`DMY`);
54
40
 
55
- /**
56
- * Date separator for Taiga UI components
57
- */
58
41
  const TUI_DATE_SEPARATOR = tuiCreateToken(`.`);
59
42
  const changeDateSeparator = (dateString, newDateSeparator) => dateString.replace(/[^0-9A-Za-zА-Яа-я]/gi, newDateSeparator);
60
43
 
61
- /**
62
- * Immutable year object
63
- * @nosideeffects
64
- */
65
44
  class TuiYear {
66
45
  constructor(year) {
67
46
  this.year = year;
68
47
  ngDevMode && tuiAssert.assert(TuiYear.isValidYear(year));
69
48
  }
70
- /**
71
- * Checks year for validity
72
- */
73
49
  static isValidYear(year) {
74
50
  return Number.isInteger(year) && tuiInRange(year, MIN_YEAR, MAX_YEAR + 1);
75
51
  }
76
- /**
77
- * Check if passed year is a leap year
78
- */
79
52
  static isLeapYear(year) {
80
53
  ngDevMode && tuiAssert.assert(TuiYear.isValidYear(year));
81
54
  return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0);
82
55
  }
83
- /**
84
- * Returns amount of leap years from year 0 to the passed one
85
- */
86
56
  static getAbsoluteLeapYears(year) {
87
57
  ngDevMode && tuiAssert.assert(TuiYear.isValidYear(year));
88
58
  return Math.ceil(year / 400) + (Math.ceil(year / 4) - Math.ceil(year / 100));
@@ -90,9 +60,6 @@ class TuiYear {
90
60
  static lengthBetween(from, to) {
91
61
  return to.year - from.year;
92
62
  }
93
- /**
94
- * Normalizes year by clamping it between min and max years
95
- */
96
63
  static normalizeYearPart(year) {
97
64
  return tuiNormalizeToIntNumber(year, MIN_YEAR, MAX_YEAR);
98
65
  }
@@ -102,45 +69,24 @@ class TuiYear {
102
69
  get isLeapYear() {
103
70
  return TuiYear.isLeapYear(this.year);
104
71
  }
105
- /**
106
- * Returns amount of leap years from year 0 to current
107
- */
108
72
  get absoluteLeapYears() {
109
73
  return TuiYear.getAbsoluteLeapYears(this.year);
110
74
  }
111
- /**
112
- * Passed year is after current
113
- */
114
75
  yearBefore({ year }) {
115
76
  return this.year < year;
116
77
  }
117
- /**
118
- * Passed year is the same or after current
119
- */
120
78
  yearSameOrBefore({ year }) {
121
79
  return this.year <= year;
122
80
  }
123
- /**
124
- * Passed year is the same as current
125
- */
126
81
  yearSame({ year }) {
127
82
  return this.year === year;
128
83
  }
129
- /**
130
- * Passed year is either the same of before the current
131
- */
132
84
  yearSameOrAfter({ year }) {
133
85
  return this.year >= year;
134
86
  }
135
- /**
136
- * Passed year is before current
137
- */
138
87
  yearAfter({ year }) {
139
88
  return this.year > year;
140
89
  }
141
- /**
142
- * Immutably offsets year
143
- */
144
90
  append({ year = 0 }) {
145
91
  ngDevMode && tuiAssert.assert(Number.isInteger(year));
146
92
  const resultYear = this.year + year;
@@ -153,11 +99,6 @@ class TuiYear {
153
99
  valueOf() {
154
100
  return this.year;
155
101
  }
156
- /**
157
- * Returns the primitive value of the given Date object.
158
- * Depending on the argument, the method can return either a string or a number.
159
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/@@toPrimitive
160
- */
161
102
  [Symbol.toPrimitive](hint) {
162
103
  return Date.prototype[Symbol.toPrimitive].call(this, hint);
163
104
  }
@@ -166,28 +107,15 @@ class TuiYear {
166
107
  }
167
108
  }
168
109
 
169
- /**
170
- * Immutable object consisting of year and month
171
- */
172
110
  class TuiMonth extends TuiYear {
173
- /**
174
- * @param year
175
- * @param month (starting with 0)
176
- */
177
111
  constructor(year, month) {
178
112
  super(year);
179
113
  this.month = month;
180
114
  ngDevMode && tuiAssert.assert(TuiMonth.isValidMonth(year, month));
181
115
  }
182
- /**
183
- * Tests month and year for validity
184
- */
185
116
  static isValidMonth(year, month) {
186
117
  return TuiYear.isValidYear(year) && TuiMonth.isValidMonthPart(month);
187
118
  }
188
- /**
189
- * Returns number of days in a month
190
- */
191
119
  static getMonthDaysCount(month, isLeapYear) {
192
120
  ngDevMode && tuiAssert.assert(TuiMonth.isValidMonthPart(month));
193
121
  switch (month) {
@@ -202,17 +130,10 @@ class TuiMonth extends TuiYear {
202
130
  return 31;
203
131
  }
204
132
  }
205
- /**
206
- * Returns current month and year based on local time zone
207
- * @nosideeffects
208
- */
209
133
  static currentLocal() {
210
134
  const nativeDate = new Date();
211
135
  return new TuiMonth(nativeDate.getFullYear(), nativeDate.getMonth());
212
136
  }
213
- /**
214
- * Returns current month and year based on UTC
215
- */
216
137
  static currentUtc() {
217
138
  const nativeDate = new Date();
218
139
  return new TuiMonth(nativeDate.getUTCFullYear(), nativeDate.getUTCMonth());
@@ -222,67 +143,37 @@ class TuiMonth extends TuiYear {
222
143
  const absoluteTo = to.month + to.year * 12;
223
144
  return absoluteTo - absoluteFrom;
224
145
  }
225
- /**
226
- * Normalizes number by clamping it between min and max month
227
- */
228
146
  static normalizeMonthPart(month) {
229
147
  return tuiNormalizeToIntNumber(month, MIN_MONTH, MAX_MONTH);
230
148
  }
231
- /**
232
- * Tests month for validity
233
- */
234
149
  static isValidMonthPart(month) {
235
150
  return Number.isInteger(month) && tuiInRange(month, MIN_MONTH, MAX_MONTH + 1);
236
151
  }
237
152
  get formattedMonthPart() {
238
153
  return String(this.month + 1).padStart(2, `0`);
239
154
  }
240
- /**
241
- * Returns days in a month
242
- */
243
155
  get daysCount() {
244
156
  return TuiMonth.getMonthDaysCount(this.month, this.isLeapYear);
245
157
  }
246
- /**
247
- * Passed month and year are after current
248
- */
249
158
  monthBefore(another) {
250
159
  return (this.yearBefore(another) ||
251
160
  (this.yearSame(another) && this.month < another.month));
252
161
  }
253
- /**
254
- * Passed month and year are after or the same as current
255
- */
256
162
  monthSameOrBefore(another) {
257
163
  return (this.yearBefore(another) ||
258
164
  (this.yearSame(another) && this.month <= another.month));
259
165
  }
260
- /**
261
- * Passed month and year are the same as current
262
- */
263
166
  monthSame(another) {
264
167
  return this.yearSame(another) && this.month === another.month;
265
168
  }
266
- /**
267
- * Passed month and year are either before or equal to current
268
- */
269
169
  monthSameOrAfter(another) {
270
170
  return (this.yearAfter(another) ||
271
171
  (this.yearSame(another) && this.month >= another.month));
272
172
  }
273
- /**
274
- * Passed month and year are before current
275
- */
276
173
  monthAfter(another) {
277
174
  return (this.yearAfter(another) ||
278
175
  (this.yearSame(another) && this.month > another.month));
279
176
  }
280
- /**
281
- * Immutably alters current month and year by passed offset
282
- *
283
- * @param offset
284
- * @return new month and year object as a result of offsetting current
285
- */
286
177
  append({ year = 0, month = 0 }) {
287
178
  const totalMonths = (this.year + year) * MONTHS_IN_YEAR + this.month + month;
288
179
  return new TuiMonth(Math.floor(totalMonths / MONTHS_IN_YEAR), totalMonths % MONTHS_IN_YEAR);
@@ -296,58 +187,31 @@ class TuiMonth extends TuiYear {
296
187
  toJSON() {
297
188
  return `${super.toJSON()}-${this.formattedMonthPart}`;
298
189
  }
299
- /**
300
- * Returns native {@link Date} based on local time zone
301
- */
302
190
  toLocalNativeDate() {
303
191
  return new Date(this.year, this.month);
304
192
  }
305
- /**
306
- * Returns native {@link Date} based on UTC
307
- */
308
193
  toUtcNativeDate() {
309
194
  return new Date(Date.UTC(this.year, this.month));
310
195
  }
311
196
  }
312
197
 
313
- // TODO: Localized formatting
314
- /**
315
- * Immutable date object, consisting of day, month and year
316
- */
317
198
  class TuiDay extends TuiMonth {
318
199
  constructor(year, month, day) {
319
200
  super(year, month);
320
201
  this.day = day;
321
202
  ngDevMode && tuiAssert.assert(TuiDay.isValidDay(year, month, day));
322
203
  }
323
- /**
324
- * Creates {@link TuiDay} from native {@link Date} based on local time zone
325
- */
326
204
  static fromLocalNativeDate(date) {
327
205
  return new TuiDay(date.getFullYear(), date.getMonth(), date.getDate());
328
206
  }
329
- /**
330
- * Creates {@link TuiDay} from native {@link Date} using UTC
331
- */
332
207
  static fromUtcNativeDate(date) {
333
208
  return new TuiDay(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());
334
209
  }
335
- /**
336
- * Check validity of year, month and day
337
- *
338
- * @param year
339
- * @param month
340
- * @param day
341
- * @return boolean validity
342
- */
343
210
  static isValidDay(year, month, day) {
344
211
  return (TuiMonth.isValidMonth(year, month) &&
345
212
  Number.isInteger(day) &&
346
213
  tuiInRange(day, MIN_DAY, TuiMonth.getMonthDaysCount(month, TuiYear.isLeapYear(year)) + 1));
347
214
  }
348
- /**
349
- * Current day based on local time zone
350
- */
351
215
  static currentLocal() {
352
216
  const nativeDate = new Date();
353
217
  const year = nativeDate.getFullYear();
@@ -355,9 +219,6 @@ class TuiDay extends TuiMonth {
355
219
  const day = nativeDate.getDate();
356
220
  return new TuiDay(year, month, day);
357
221
  }
358
- /**
359
- * Returns current day based on UTC
360
- */
361
222
  static currentUtc() {
362
223
  const nativeDate = new Date();
363
224
  const year = nativeDate.getUTCFullYear();
@@ -365,14 +226,6 @@ class TuiDay extends TuiMonth {
365
226
  const day = nativeDate.getUTCDate();
366
227
  return new TuiDay(year, month, day);
367
228
  }
368
- /**
369
- * Calculates {@link TuiDay} normalizing year, month and day. {@link NaN} is turned into minimal value.
370
- *
371
- * @param year any year value, including invalid
372
- * @param month any month value, including invalid (months start with 0)
373
- * @param day any day value, including invalid
374
- * @return normalized date
375
- */
376
229
  static normalizeOf(year, month, day) {
377
230
  const normalizedYear = TuiYear.normalizeYearPart(year);
378
231
  const normalizedMonth = TuiMonth.normalizeMonthPart(month);
@@ -408,24 +261,10 @@ class TuiDay extends TuiMonth {
408
261
  };
409
262
  }
410
263
  }
411
- // TODO: Move month and year related code corresponding classes
412
- /**
413
- * Parsing a string with date with normalization
414
- *
415
- * @param rawDate date string
416
- * @param dateMode date format of the date string (DMY | MDY | YMD)
417
- * @return normalized date
418
- */
419
264
  static normalizeParse(rawDate, dateMode = `DMY`) {
420
265
  const { day, month, year } = this.parseRawDateString(rawDate, dateMode);
421
266
  return TuiDay.normalizeOf(year, month, day);
422
267
  }
423
- /**
424
- * Parsing a date stringified in a toJSON format
425
- * @param yearMonthDayString date string in format of YYYY-MM-DD
426
- * @return date
427
- * @throws exceptions if any part of the date is invalid
428
- */
429
268
  static jsonParse(yearMonthDayString) {
430
269
  const { day, month, year } = this.parseRawDateString(yearMonthDayString, `YMD`);
431
270
  if (!TuiYear.isValidYear(year)) {
@@ -452,59 +291,31 @@ class TuiDay extends TuiMonth {
452
291
  const dayOfWeek = this.dayOfWeek(false);
453
292
  return dayOfWeek === TuiDayOfWeek.Saturday || dayOfWeek === TuiDayOfWeek.Sunday;
454
293
  }
455
- /**
456
- * Returns day of week
457
- *
458
- * @param startFromMonday whether week starts from Monday and not from Sunday
459
- * @return day of week (from 0 to 6)
460
- */
461
294
  dayOfWeek(startFromMonday = true) {
462
295
  const dayOfWeek = startFromMonday
463
296
  ? this.toLocalNativeDate().getDay() - 1
464
297
  : this.toLocalNativeDate().getDay();
465
298
  return dayOfWeek < 0 ? 6 : dayOfWeek;
466
299
  }
467
- /**
468
- * Passed date is after current
469
- */
470
300
  dayBefore(another) {
471
301
  return (this.monthBefore(another) ||
472
302
  (this.monthSame(another) && this.day < another.day));
473
303
  }
474
- /**
475
- * Passed date is after or equals to current
476
- */
477
304
  daySameOrBefore(another) {
478
305
  return (this.monthBefore(another) ||
479
306
  (this.monthSame(another) && this.day <= another.day));
480
307
  }
481
- /**
482
- * Passed date is the same as current
483
- */
484
308
  daySame(another) {
485
309
  return this.monthSame(another) && this.day === another.day;
486
310
  }
487
- /**
488
- * Passed date is either before or the same as current
489
- */
490
311
  daySameOrAfter(another) {
491
312
  return (this.monthAfter(another) ||
492
313
  (this.monthSame(another) && this.day >= another.day));
493
314
  }
494
- /**
495
- * Passed date is before current
496
- */
497
315
  dayAfter(another) {
498
316
  return (this.monthAfter(another) ||
499
317
  (this.monthSame(another) && this.day > another.day));
500
318
  }
501
- /**
502
- * Clamping date between two limits
503
- *
504
- * @param min
505
- * @param max
506
- * @return clamped date
507
- */
508
319
  dayLimit(min, max) {
509
320
  if (min !== null && this.dayBefore(min)) {
510
321
  return min;
@@ -514,16 +325,6 @@ class TuiDay extends TuiMonth {
514
325
  }
515
326
  return this;
516
327
  }
517
- /**
518
- * Immutably alters current day by passed offset
519
- *
520
- * If resulting month has more days than original one, date is rounded to the maximum day
521
- * in the resulting month. Offset of days will be calculated based on the resulted year and month
522
- * to not interfere with parent classes methods
523
- *
524
- * @param offset
525
- * @return new date object as a result of offsetting current
526
- */
527
328
  append({ year = 0, month = 0, day = 0 }) {
528
329
  const totalMonths = (this.year + year) * MONTHS_IN_YEAR + this.month + month;
529
330
  let years = Math.floor(totalMonths / MONTHS_IN_YEAR);
@@ -551,9 +352,6 @@ class TuiDay extends TuiMonth {
551
352
  }
552
353
  return new TuiDay(years, months, days);
553
354
  }
554
- /**
555
- * Returns formatted whole date
556
- */
557
355
  getFormattedDay(dateFormat, separator) {
558
356
  ngDevMode &&
559
357
  tuiAssert.assert(separator.length === 1, `Separator should consist of only 1 symbol`);
@@ -576,23 +374,14 @@ class TuiDay extends TuiMonth {
576
374
  toJSON() {
577
375
  return `${super.toJSON()}-${this.formattedDayPart}`;
578
376
  }
579
- /**
580
- * Returns native {@link Date} based on local time zone
581
- */
582
377
  toLocalNativeDate() {
583
378
  return new Date(this.year, this.month, this.day);
584
379
  }
585
- /**
586
- * Returns native {@link Date} based on UTC
587
- */
588
380
  toUtcNativeDate() {
589
381
  return new Date(Date.UTC(this.year, this.month, this.day));
590
382
  }
591
383
  }
592
384
 
593
- /**
594
- * An immutable range of two {@link TuiMonth} objects
595
- */
596
385
  class TuiMonthRange {
597
386
  constructor(from, to) {
598
387
  this.from = from;
@@ -615,9 +404,6 @@ class TuiMonthRange {
615
404
  }
616
405
  }
617
406
 
618
- /**
619
- * An immutable range of two {@link TuiDay} objects
620
- */
621
407
  class TuiDayRange extends TuiMonthRange {
622
408
  constructor(from, to) {
623
409
  super(from, to);
@@ -625,25 +411,11 @@ class TuiDayRange extends TuiMonthRange {
625
411
  this.to = to;
626
412
  ngDevMode && tuiAssert.assert(from.daySameOrBefore(to));
627
413
  }
628
- /**
629
- * Creates range from two days after sorting them
630
- *
631
- * @param day1
632
- * @param day2
633
- * @return new range with sorted days
634
- */
635
414
  static sort(day1, day2) {
636
415
  return day1.daySameOrBefore(day2)
637
416
  ? new TuiDayRange(day1, day2)
638
417
  : new TuiDayRange(day2, day1);
639
418
  }
640
- /**
641
- * Parse and correct a day range in string format
642
- *
643
- * @param rangeString a string of dates in a format dd.mm.yyyy - dd.mm.yyyy
644
- * @param dateMode {@link TuiDateMode}
645
- * @return normalized day range object
646
- */
647
419
  static normalizeParse(rangeString, dateMode = `DMY`) {
648
420
  const leftDay = TuiDay.normalizeParse(rangeString.slice(0, DATE_FILLER_LENGTH), dateMode);
649
421
  if (rangeString.length < DATE_RANGE_FILLER_LENGTH) {
@@ -654,28 +426,12 @@ class TuiDayRange extends TuiMonthRange {
654
426
  get isSingleDay() {
655
427
  return this.from.daySame(this.to);
656
428
  }
657
- /**
658
- * Tests ranges for identity
659
- *
660
- * @param another second range to test against current
661
- * @return `true` if days are identical
662
- */
663
429
  daySame(another) {
664
430
  return this.from.daySame(another.from) && this.to.daySame(another.to);
665
431
  }
666
- /**
667
- * Locks range between two days included, or limits from one side if the other is null
668
- *
669
- * @param min
670
- * @param max
671
- * @return range — clamped range
672
- */
673
432
  dayLimit(min, max) {
674
433
  return new TuiDayRange(this.from.dayLimit(min, max), this.to.dayLimit(min, max));
675
434
  }
676
- /**
677
- * Human readable format.
678
- */
679
435
  getFormattedDayRange(dateFormat, dateSeparator) {
680
436
  const from = this.from.getFormattedDay(dateFormat, dateSeparator);
681
437
  const to = this.to.getFormattedDay(dateFormat, dateSeparator);
@@ -691,9 +447,6 @@ class TuiDayRange extends TuiMonthRange {
691
447
  const TUI_FIRST_DAY = new TuiDay(MIN_YEAR, MIN_MONTH, MIN_DAY);
692
448
  const TUI_LAST_DAY = new TuiDay(MAX_YEAR, MAX_MONTH, 31);
693
449
 
694
- /**
695
- * Immutable time object with hours, minutes, seconds and ms
696
- */
697
450
  class TuiTime {
698
451
  constructor(hours, minutes, seconds = 0, ms = 0) {
699
452
  this.hours = hours;
@@ -703,9 +456,6 @@ class TuiTime {
703
456
  ngDevMode &&
704
457
  tuiAssert.assert(TuiTime.isValidTime(hours, minutes, seconds, ms), `Time must be real, but got:`, hours, minutes, seconds, ms);
705
458
  }
706
- /**
707
- * Checks if time is valid
708
- */
709
459
  static isValidTime(hours, minutes, seconds = 0, ms = 0) {
710
460
  return (Number.isInteger(hours) &&
711
461
  tuiInRange(hours, 0, HOURS_IN_DAY) &&
@@ -716,23 +466,14 @@ class TuiTime {
716
466
  Number.isInteger(ms) &&
717
467
  tuiInRange(ms, 0, 1000));
718
468
  }
719
- /**
720
- * Current UTC time.
721
- */
722
469
  static current() {
723
470
  return TuiTime.fromAbsoluteMilliseconds(Date.now() % MILLISECONDS_IN_DAY);
724
471
  }
725
- /**
726
- * Current time in local timezone
727
- */
728
472
  static currentLocal() {
729
473
  const date = new Date();
730
474
  return TuiTime.fromAbsoluteMilliseconds((Date.now() - date.getTimezoneOffset() * MILLISECONDS_IN_MINUTE) %
731
475
  MILLISECONDS_IN_DAY);
732
476
  }
733
- /**
734
- * Calculates TuiTime from milliseconds
735
- */
736
477
  static fromAbsoluteMilliseconds(milliseconds) {
737
478
  ngDevMode && tuiAssert.assert(Number.isInteger(milliseconds));
738
479
  ngDevMode &&
@@ -743,9 +484,6 @@ class TuiTime {
743
484
  const ms = Math.floor(((milliseconds % MILLISECONDS_IN_HOUR) % MILLISECONDS_IN_MINUTE) % 1000) || 0;
744
485
  return new TuiTime(hours, minutes, seconds, ms);
745
486
  }
746
- /**
747
- * Parses string into TuiTime object
748
- */
749
487
  static fromString(time) {
750
488
  const hours = Number(time.slice(0, 2));
751
489
  const minutes = Number(time.slice(3, 5));
@@ -753,16 +491,9 @@ class TuiTime {
753
491
  const ms = Number(time.slice(9, 12)) || 0;
754
492
  return new TuiTime(hours, minutes, seconds, ms);
755
493
  }
756
- /**
757
- * Converts Date object into TuiTime
758
- * @param date
759
- */
760
494
  static fromLocalNativeDate(date) {
761
495
  return new TuiTime(date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());
762
496
  }
763
- /**
764
- * Shifts time by hours and minutes
765
- */
766
497
  shift({ hours = 0, minutes = 0, seconds = 0, ms = 0 }) {
767
498
  const newMs = (1000 + this.ms + (ms % 1000)) % 1000;
768
499
  const secondsInMs = ms < 0 ? Math.ceil(ms / 1000) : Math.floor(ms / 1000);
@@ -780,9 +511,6 @@ class TuiTime {
780
511
  const newHours = (24 + this.hours + (hoursToAdd % 24)) % 24;
781
512
  return new TuiTime(newHours, newMinutes, newSeconds, newMs);
782
513
  }
783
- /**
784
- * Converts TuiTime to string
785
- */
786
514
  toString(mode) {
787
515
  const needAddMs = mode === `HH:MM:SS.MSS` || (!mode && this.ms > 0);
788
516
  const needAddSeconds = needAddMs || mode === `HH:MM:SS` || (!mode && this.seconds > 0);
@@ -793,17 +521,9 @@ class TuiTime {
793
521
  valueOf() {
794
522
  return this.toAbsoluteMilliseconds();
795
523
  }
796
- /**
797
- * Returns the primitive value of the given Date object.
798
- * Depending on the argument, the method can return either a string or a number.
799
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/@@toPrimitive
800
- */
801
524
  [Symbol.toPrimitive](hint) {
802
525
  return Date.prototype[Symbol.toPrimitive].call(this, hint);
803
526
  }
804
- /**
805
- * Converts TuiTime to milliseconds
806
- */
807
527
  toAbsoluteMilliseconds() {
808
528
  return (this.hours * MILLISECONDS_IN_HOUR +
809
529
  this.minutes * MILLISECONDS_IN_MINUTE +
@@ -815,9 +535,5 @@ class TuiTime {
815
535
  }
816
536
  }
817
537
 
818
- /**
819
- * Generated bundle index. Do not edit.
820
- */
821
-
822
538
  export { DATE_FILLER_LENGTH, DATE_RANGE_FILLER_LENGTH, DAYS_IN_LEAP_YEAR, DAYS_IN_NORMAL_YEAR, DAYS_IN_WEEK, HOURS_IN_DAY, MAX_MONTH, MAX_YEAR, MILLISECONDS_IN_DAY, MILLISECONDS_IN_HOUR, MILLISECONDS_IN_MINUTE, MILLISECONDS_IN_SECOND, MINUTES_IN_HOUR, MIN_DAY, MIN_MONTH, MIN_YEAR, MONTHS_IN_YEAR, RANGE_SEPARATOR_CHAR, SECONDS_IN_MINUTE, TUI_DATE_FORMAT, TUI_DATE_SEPARATOR, TUI_FIRST_DAY, TUI_LAST_DAY, TuiDay, TuiDayRange, TuiMonth, TuiMonthRange, TuiTime, TuiYear, changeDateSeparator, tuiDateClamp };
823
539
  //# sourceMappingURL=taiga-ui-cdk-date-time.js.map