@taiga-ui/cdk 3.491.0-canary.34e703b → 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 (739) 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 +1 -109
  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/constants/version.d.ts +1 -1
  172. package/constants/version.js +1 -1
  173. package/date-time/date-fillers.d.ts +0 -11
  174. package/date-time/date-format.d.ts +0 -3
  175. package/date-time/date-separator.d.ts +0 -3
  176. package/date-time/day-range.d.ts +0 -33
  177. package/date-time/day.d.ts +0 -91
  178. package/date-time/month-range.d.ts +0 -3
  179. package/date-time/month.d.ts +0 -56
  180. package/date-time/taiga-ui-cdk-date-time.d.ts +0 -3
  181. package/date-time/time.d.ts +0 -36
  182. package/date-time/year.d.ts +0 -42
  183. package/decorators/debounce.d.ts +0 -4
  184. package/decorators/default-prop.d.ts +0 -9
  185. package/decorators/pure.d.ts +0 -18
  186. package/decorators/required-setter.d.ts +0 -9
  187. package/decorators/taiga-ui-cdk-decorators.d.ts +0 -3
  188. package/directives/active-zone/taiga-ui-cdk-directives-active-zone.d.ts +0 -3
  189. package/directives/auto-focus/handlers/ios.handler.d.ts +0 -39
  190. package/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.d.ts +0 -3
  191. package/directives/autofilled/taiga-ui-cdk-directives-autofilled.d.ts +0 -3
  192. package/directives/checked/taiga-ui-cdk-directives-checked.d.ts +0 -3
  193. package/directives/click-outside/taiga-ui-cdk-directives-click-outside.d.ts +0 -3
  194. package/directives/control/taiga-ui-cdk-directives-control.d.ts +0 -3
  195. package/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.d.ts +0 -3
  196. package/directives/drag/drag.directive.d.ts +0 -3
  197. package/directives/drag/drag.module.d.ts +0 -3
  198. package/directives/drag/taiga-ui-cdk-directives-drag.d.ts +0 -3
  199. package/directives/droppable/taiga-ui-cdk-directives-droppable.d.ts +0 -3
  200. package/directives/element/taiga-ui-cdk-directives-element.d.ts +0 -3
  201. package/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.d.ts +0 -3
  202. package/directives/focus-visible/focus-visible.directive.d.ts +0 -5
  203. package/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.d.ts +0 -3
  204. package/directives/focusable/focusable.directive.d.ts +0 -6
  205. package/directives/focusable/taiga-ui-cdk-directives-focusable.d.ts +0 -3
  206. package/directives/focused/focused.directive.d.ts +0 -5
  207. package/directives/focused/taiga-ui-cdk-directives-focused.d.ts +0 -3
  208. package/directives/for/taiga-ui-cdk-directives-for.d.ts +0 -3
  209. package/directives/for-async/for-async.module.d.ts +0 -3
  210. package/directives/for-async/taiga-ui-cdk-directives-for-async.d.ts +0 -3
  211. package/directives/high-dpi/high-dpi.directive.d.ts +0 -3
  212. package/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.d.ts +0 -3
  213. package/directives/hovered/taiga-ui-cdk-directives-hovered.d.ts +0 -3
  214. package/directives/item/item.directive.d.ts +0 -3
  215. package/directives/item/taiga-ui-cdk-directives-item.d.ts +0 -3
  216. package/directives/let/let-context.d.ts +0 -3
  217. package/directives/let/let.directive.d.ts +0 -10
  218. package/directives/let/taiga-ui-cdk-directives-let.d.ts +0 -3
  219. package/directives/media/taiga-ui-cdk-directives-media.d.ts +0 -3
  220. package/directives/obscured/obscured.directive.d.ts +0 -3
  221. package/directives/obscured/taiga-ui-cdk-directives-obscured.d.ts +0 -3
  222. package/directives/overscroll/overscroll.directive.d.ts +0 -3
  223. package/directives/overscroll/taiga-ui-cdk-directives-overscroll.d.ts +0 -3
  224. package/directives/pan/pan.module.d.ts +0 -3
  225. package/directives/pan/taiga-ui-cdk-directives-pan.d.ts +0 -3
  226. package/directives/platform/taiga-ui-cdk-directives-platform.d.ts +0 -3
  227. package/directives/portal/taiga-ui-cdk-directives-portal.d.ts +0 -3
  228. package/directives/pressed/taiga-ui-cdk-directives-pressed.d.ts +0 -3
  229. package/directives/prevent-default/prevent-default.directive.d.ts +0 -5
  230. package/directives/prevent-default/prevent-default.module.d.ts +0 -3
  231. package/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.d.ts +0 -3
  232. package/directives/repeat-times/repeat-times.directive.d.ts +0 -7
  233. package/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.d.ts +0 -3
  234. package/directives/resize/resize.module.d.ts +0 -3
  235. package/directives/resize/taiga-ui-cdk-directives-resize.d.ts +0 -3
  236. package/directives/resizer/taiga-ui-cdk-directives-resizer.d.ts +0 -3
  237. package/directives/swipe/swipe.module.d.ts +0 -3
  238. package/directives/swipe/taiga-ui-cdk-directives-swipe.d.ts +0 -3
  239. package/directives/taiga-ui-cdk-directives.d.ts +0 -3
  240. package/directives/validator/taiga-ui-cdk-directives-validator.d.ts +0 -3
  241. package/directives/value-changes/taiga-ui-cdk-directives-value-changes.d.ts +0 -3
  242. package/directives/zoom/taiga-ui-cdk-directives-zoom.d.ts +0 -3
  243. package/directives/zoom/zoom.module.d.ts +0 -3
  244. package/enums/taiga-ui-cdk-enums.d.ts +0 -3
  245. package/esm2015/abstract/control.js +1 -7
  246. package/esm2015/abstract/interactive.js +1 -11
  247. package/esm2015/abstract/portal-host.js +1 -4
  248. package/esm2015/abstract/portal-service.js +1 -4
  249. package/esm2015/abstract/taiga-ui-cdk-abstract.js +1 -4
  250. package/esm2015/abstract/theme-switcher.js +1 -7
  251. package/esm2015/classes/assert.js +1 -6
  252. package/esm2015/classes/taiga-ui-cdk-classes.js +1 -4
  253. package/esm2015/coercion/coerce-boolean-property.js +1 -7
  254. package/esm2015/coercion/taiga-ui-cdk-coercion.js +1 -4
  255. package/esm2015/components/alert-host/alert-host.component.js +1 -5
  256. package/esm2015/components/alert-host/taiga-ui-cdk-components-alert-host.js +1 -4
  257. package/esm2015/components/dialog-host/dialog-host.component.js +1 -8
  258. package/esm2015/components/dialog-host/taiga-ui-cdk-components-dialog-host.js +1 -4
  259. package/esm2015/components/dropdown-host/dropdown-host.component.js +1 -4
  260. package/esm2015/components/dropdown-host/dropdown-portal.service.js +1 -4
  261. package/esm2015/components/dropdown-host/taiga-ui-cdk-components-dropdown-host.js +1 -4
  262. package/esm2015/components/scroll-controls/taiga-ui-cdk-components-scroll-controls.js +1 -4
  263. package/esm2015/components/taiga-ui-cdk-components.js +1 -4
  264. package/esm2015/constants/always-false-handler.js +1 -5
  265. package/esm2015/constants/always-true-handler.js +1 -5
  266. package/esm2015/constants/browser.js +1 -5
  267. package/esm2015/constants/empty.js +1 -6
  268. package/esm2015/constants/matcher.js +1 -20
  269. package/esm2015/constants/parent-animation.js +1 -7
  270. package/esm2015/constants/stringify.js +1 -4
  271. package/esm2015/constants/svg-node-filter.js +1 -3
  272. package/esm2015/constants/taiga-ui-cdk-constants.js +1 -4
  273. package/esm2015/constants/unicode-chars.js +1 -52
  274. package/esm2015/constants/used-icons.js +1 -7
  275. package/esm2015/constants/version.js +2 -2
  276. package/esm2015/date-time/date-fillers.js +1 -12
  277. package/esm2015/date-time/date-format.js +1 -4
  278. package/esm2015/date-time/date-separator.js +1 -4
  279. package/esm2015/date-time/day-range.js +1 -34
  280. package/esm2015/date-time/day.js +1 -94
  281. package/esm2015/date-time/month-range.js +1 -4
  282. package/esm2015/date-time/month.js +1 -57
  283. package/esm2015/date-time/taiga-ui-cdk-date-time.js +1 -4
  284. package/esm2015/date-time/time.js +1 -37
  285. package/esm2015/date-time/year.js +1 -43
  286. package/esm2015/decorators/debounce.js +1 -5
  287. package/esm2015/decorators/default-prop.js +1 -10
  288. package/esm2015/decorators/required-setter.js +1 -10
  289. package/esm2015/decorators/taiga-ui-cdk-decorators.js +1 -4
  290. package/esm2015/directives/active-zone/taiga-ui-cdk-directives-active-zone.js +1 -4
  291. package/esm2015/directives/auto-focus/autofocus.options.js +2 -3
  292. package/esm2015/directives/auto-focus/handlers/ios.handler.js +1 -40
  293. package/esm2015/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.js +1 -4
  294. package/esm2015/directives/autofilled/taiga-ui-cdk-directives-autofilled.js +1 -4
  295. package/esm2015/directives/checked/taiga-ui-cdk-directives-checked.js +1 -4
  296. package/esm2015/directives/click-outside/taiga-ui-cdk-directives-click-outside.js +1 -4
  297. package/esm2015/directives/control/taiga-ui-cdk-directives-control.js +1 -4
  298. package/esm2015/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.js +1 -4
  299. package/esm2015/directives/drag/drag.directive.js +1 -4
  300. package/esm2015/directives/drag/drag.module.js +1 -4
  301. package/esm2015/directives/drag/taiga-ui-cdk-directives-drag.js +1 -4
  302. package/esm2015/directives/droppable/droppable.directive.js +1 -2
  303. package/esm2015/directives/droppable/taiga-ui-cdk-directives-droppable.js +1 -4
  304. package/esm2015/directives/element/element.directive.js +1 -15
  305. package/esm2015/directives/element/taiga-ui-cdk-directives-element.js +1 -4
  306. package/esm2015/directives/focus-trap/focus-trap.directive.js +1 -14
  307. package/esm2015/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.js +1 -4
  308. package/esm2015/directives/focus-visible/focus-visible.directive.js +1 -6
  309. package/esm2015/directives/focus-visible/taiga-ui-cdk-directives-focus-visible.js +1 -4
  310. package/esm2015/directives/focusable/focusable.directive.js +1 -7
  311. package/esm2015/directives/focusable/taiga-ui-cdk-directives-focusable.js +1 -4
  312. package/esm2015/directives/focused/focused.directive.js +1 -6
  313. package/esm2015/directives/focused/taiga-ui-cdk-directives-focused.js +1 -4
  314. package/esm2015/directives/for/taiga-ui-cdk-directives-for.js +1 -4
  315. package/esm2015/directives/for-async/for-async.module.js +1 -4
  316. package/esm2015/directives/for-async/taiga-ui-cdk-directives-for-async.js +1 -4
  317. package/esm2015/directives/high-dpi/high-dpi.directive.js +1 -4
  318. package/esm2015/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.js +1 -4
  319. package/esm2015/directives/hovered/hovered.service.js +2 -4
  320. package/esm2015/directives/hovered/taiga-ui-cdk-directives-hovered.js +1 -4
  321. package/esm2015/directives/item/item.directive.js +1 -4
  322. package/esm2015/directives/item/taiga-ui-cdk-directives-item.js +1 -4
  323. package/esm2015/directives/let/let-context.js +1 -4
  324. package/esm2015/directives/let/let.directive.js +1 -11
  325. package/esm2015/directives/let/taiga-ui-cdk-directives-let.js +1 -4
  326. package/esm2015/directives/media/media.directive.js +1 -4
  327. package/esm2015/directives/media/taiga-ui-cdk-directives-media.js +1 -4
  328. package/esm2015/directives/obscured/obscured.directive.js +1 -4
  329. package/esm2015/directives/obscured/taiga-ui-cdk-directives-obscured.js +1 -4
  330. package/esm2015/directives/overscroll/overscroll.directive.js +1 -7
  331. package/esm2015/directives/overscroll/taiga-ui-cdk-directives-overscroll.js +1 -4
  332. package/esm2015/directives/pan/pan.module.js +1 -4
  333. package/esm2015/directives/pan/taiga-ui-cdk-directives-pan.js +1 -4
  334. package/esm2015/directives/platform/taiga-ui-cdk-directives-platform.js +1 -4
  335. package/esm2015/directives/portal/taiga-ui-cdk-directives-portal.js +1 -4
  336. package/esm2015/directives/pressed/taiga-ui-cdk-directives-pressed.js +1 -4
  337. package/esm2015/directives/prevent-default/prevent-default.directive.js +1 -6
  338. package/esm2015/directives/prevent-default/prevent-default.module.js +1 -4
  339. package/esm2015/directives/prevent-default/taiga-ui-cdk-directives-prevent-default.js +1 -4
  340. package/esm2015/directives/repeat-times/repeat-times.directive.js +1 -8
  341. package/esm2015/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.js +1 -4
  342. package/esm2015/directives/resize/resize.module.js +1 -4
  343. package/esm2015/directives/resize/taiga-ui-cdk-directives-resize.js +1 -4
  344. package/esm2015/directives/resizer/resizer.directive.js +1 -2
  345. package/esm2015/directives/resizer/taiga-ui-cdk-directives-resizer.js +1 -4
  346. package/esm2015/directives/swipe/swipe.module.js +1 -4
  347. package/esm2015/directives/swipe/taiga-ui-cdk-directives-swipe.js +1 -4
  348. package/esm2015/directives/taiga-ui-cdk-directives.js +1 -4
  349. package/esm2015/directives/validator/taiga-ui-cdk-directives-validator.js +1 -4
  350. package/esm2015/directives/value-changes/taiga-ui-cdk-directives-value-changes.js +1 -4
  351. package/esm2015/directives/zoom/taiga-ui-cdk-directives-zoom.js +1 -4
  352. package/esm2015/directives/zoom/zoom.module.js +1 -4
  353. package/esm2015/enums/day-of-week.js +1 -3
  354. package/esm2015/enums/month-number.js +1 -3
  355. package/esm2015/enums/taiga-ui-cdk-enums.js +1 -4
  356. package/esm2015/exceptions/taiga-ui-cdk-exceptions.js +1 -4
  357. package/esm2015/interfaces/taiga-ui-cdk-interfaces.js +1 -4
  358. package/esm2015/observables/control-value.js +1 -4
  359. package/esm2015/observables/drag-and-drop-from.js +1 -3
  360. package/esm2015/observables/focus-visible-observable.js +2 -6
  361. package/esm2015/observables/is-alive.js +1 -4
  362. package/esm2015/observables/items-query-list-observable.js +1 -7
  363. package/esm2015/observables/mouse-drag-finish-from.js +1 -5
  364. package/esm2015/observables/scroll-from.js +1 -4
  365. package/esm2015/observables/taiga-ui-cdk-observables.js +1 -4
  366. package/esm2015/observables/typed-from-event.js +1 -5
  367. package/esm2015/pipes/filter/taiga-ui-cdk-pipes-filter.js +1 -4
  368. package/esm2015/pipes/is-present/taiga-ui-cdk-pipes-is-present.js +1 -4
  369. package/esm2015/pipes/keys/taiga-ui-cdk-pipes-keys.js +1 -4
  370. package/esm2015/pipes/mapper/taiga-ui-cdk-pipes-mapper.js +1 -4
  371. package/esm2015/pipes/replace/replace.pipe.js +2 -4
  372. package/esm2015/pipes/replace/taiga-ui-cdk-pipes-replace.js +1 -4
  373. package/esm2015/pipes/taiga-ui-cdk-pipes.js +1 -4
  374. package/esm2015/services/destroy.service.js +1 -9
  375. package/esm2015/services/directive-styles.service.js +1 -4
  376. package/esm2015/services/focus-visible.service.js +1 -6
  377. package/esm2015/services/id.service.js +1 -4
  378. package/esm2015/services/obscured.service.js +2 -10
  379. package/esm2015/services/pan.service.js +2 -4
  380. package/esm2015/services/parents-scroll.service.js +2 -7
  381. package/esm2015/services/resize.service.js +2 -8
  382. package/esm2015/services/static-request.service.js +2 -5
  383. package/esm2015/services/taiga-ui-cdk-services.js +1 -4
  384. package/esm2015/taiga-ui-cdk.js +1 -4
  385. package/esm2015/tokens/active-element.js +4 -26
  386. package/esm2015/tokens/alerts.js +1 -4
  387. package/esm2015/tokens/default-renderer.js +2 -10
  388. package/esm2015/tokens/dialogs.js +1 -5
  389. package/esm2015/tokens/ensure-base-href.js +1 -4
  390. package/esm2015/tokens/focusable-item-accessor.js +1 -4
  391. package/esm2015/tokens/is-android.js +1 -4
  392. package/esm2015/tokens/is-apple.js +1 -4
  393. package/esm2015/tokens/is-chromium.js +1 -4
  394. package/esm2015/tokens/is-cypress.js +1 -5
  395. package/esm2015/tokens/is-e2e.js +1 -4
  396. package/esm2015/tokens/is-firefox.js +1 -4
  397. package/esm2015/tokens/is-ios.js +1 -4
  398. package/esm2015/tokens/is-mobile.js +1 -5
  399. package/esm2015/tokens/is-playwright.js +1 -4
  400. package/esm2015/tokens/is-webkit.js +1 -4
  401. package/esm2015/tokens/platform.js +1 -2
  402. package/esm2015/tokens/range.js +1 -4
  403. package/esm2015/tokens/removed-element.js +1 -4
  404. package/esm2015/tokens/scroll-ref.js +1 -4
  405. package/esm2015/tokens/swipe-options.js +1 -4
  406. package/esm2015/tokens/taiga-ui-cdk-tokens.js +1 -4
  407. package/esm2015/tokens/take-only-trusted-events.js +1 -7
  408. package/esm2015/tokens/window-height.js +1 -4
  409. package/esm2015/tokens/zoom-options.js +1 -4
  410. package/esm2015/types/taiga-ui-cdk-types.js +1 -4
  411. package/esm2015/utils/browser/taiga-ui-cdk-utils-browser.js +1 -4
  412. package/esm2015/utils/color/hex-to-rgba.js +1 -2
  413. package/esm2015/utils/color/hsv-to-rgb.js +1 -4
  414. package/esm2015/utils/color/rgb-to-hsv.js +1 -2
  415. package/esm2015/utils/color/rgba-to-hex.js +1 -2
  416. package/esm2015/utils/color/taiga-ui-cdk-utils-color.js +1 -4
  417. package/esm2015/utils/dom/element-checks.js +1 -2
  418. package/esm2015/utils/dom/get-actual-target.js +1 -4
  419. package/esm2015/utils/dom/get-clipboard-data-text.js +1 -4
  420. package/esm2015/utils/dom/get-element-obscurers.js +1 -10
  421. package/esm2015/utils/dom/get-element-offset.js +1 -8
  422. package/esm2015/utils/dom/get-scroll-parent.js +1 -7
  423. package/esm2015/utils/dom/get-selected-text.js +1 -9
  424. package/esm2015/utils/dom/is-inside-iframe.js +1 -4
  425. package/esm2015/utils/dom/is-node-in.js +1 -8
  426. package/esm2015/utils/dom/retarget-boundary-crossing.js +3 -3
  427. package/esm2015/utils/dom/taiga-ui-cdk-utils-dom.js +1 -4
  428. package/esm2015/utils/focus/blur-native-focused.js +1 -4
  429. package/esm2015/utils/focus/get-closest-focusable.js +1 -5
  430. package/esm2015/utils/focus/get-native-focused.js +1 -6
  431. package/esm2015/utils/focus/is-native-focused-in.js +1 -8
  432. package/esm2015/utils/focus/is-native-focused.js +1 -9
  433. package/esm2015/utils/focus/is-native-keyboard-focusable.js +1 -7
  434. package/esm2015/utils/focus/move-focus.js +1 -8
  435. package/esm2015/utils/focus/set-native-mouse-focused.js +1 -8
  436. package/esm2015/utils/focus/taiga-ui-cdk-utils-focus.js +1 -4
  437. package/esm2015/utils/format/px.js +1 -4
  438. package/esm2015/utils/format/taiga-ui-cdk-utils-format.js +1 -4
  439. package/esm2015/utils/math/clamp.js +1 -8
  440. package/esm2015/utils/math/normalize-to-int-number.js +1 -9
  441. package/esm2015/utils/math/quantize.js +1 -7
  442. package/esm2015/utils/math/round.js +1 -8
  443. package/esm2015/utils/math/sum.js +1 -4
  444. package/esm2015/utils/math/taiga-ui-cdk-utils-math.js +1 -4
  445. package/esm2015/utils/math/to-radians.js +1 -4
  446. package/esm2015/utils/miscellaneous/create-options.js +1 -2
  447. package/esm2015/utils/miscellaneous/flat-length.js +1 -6
  448. package/esm2015/utils/miscellaneous/get-original-array-from-query-list.js +1 -7
  449. package/esm2015/utils/miscellaneous/is-number.js +1 -2
  450. package/esm2015/utils/miscellaneous/is-object.js +1 -2
  451. package/esm2015/utils/miscellaneous/is-string.js +1 -2
  452. package/esm2015/utils/miscellaneous/is-valid-url.js +7 -8
  453. package/esm2015/utils/miscellaneous/nullable-same.js +1 -9
  454. package/esm2015/utils/miscellaneous/object-from-entries.js +1 -9
  455. package/esm2015/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.js +1 -4
  456. package/esm2015/utils/os/is-apple-platform.js +1 -11
  457. package/esm2015/utils/os/taiga-ui-cdk-utils-os.js +1 -4
  458. package/esm2015/utils/svg/svg-linear-gradient-processor.js +2 -16
  459. package/esm2015/utils/svg/taiga-ui-cdk-utils-svg.js +1 -4
  460. package/esm2015/utils/taiga-ui-cdk-utils.js +1 -4
  461. package/exceptions/taiga-ui-cdk-exceptions.d.ts +0 -3
  462. package/fesm2015/taiga-ui-cdk-abstract.js +0 -32
  463. package/fesm2015/taiga-ui-cdk-abstract.js.map +1 -1
  464. package/fesm2015/taiga-ui-cdk-classes.js +0 -9
  465. package/fesm2015/taiga-ui-cdk-classes.js.map +1 -1
  466. package/fesm2015/taiga-ui-cdk-coercion.js +0 -10
  467. package/fesm2015/taiga-ui-cdk-coercion.js.map +1 -1
  468. package/fesm2015/taiga-ui-cdk-components-alert-host.js +0 -8
  469. package/fesm2015/taiga-ui-cdk-components-alert-host.js.map +1 -1
  470. package/fesm2015/taiga-ui-cdk-components-dialog-host.js +0 -11
  471. package/fesm2015/taiga-ui-cdk-components-dialog-host.js.map +1 -1
  472. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js +0 -10
  473. package/fesm2015/taiga-ui-cdk-components-dropdown-host.js.map +1 -1
  474. package/fesm2015/taiga-ui-cdk-components-scroll-controls.js +0 -4
  475. package/fesm2015/taiga-ui-cdk-components-scroll-controls.js.map +1 -1
  476. package/fesm2015/taiga-ui-cdk-components.js +0 -4
  477. package/fesm2015/taiga-ui-cdk-components.js.map +1 -1
  478. package/fesm2015/taiga-ui-cdk-constants.js +1 -109
  479. package/fesm2015/taiga-ui-cdk-constants.js.map +1 -1
  480. package/fesm2015/taiga-ui-cdk-date-time.js +0 -284
  481. package/fesm2015/taiga-ui-cdk-date-time.js.map +1 -1
  482. package/fesm2015/taiga-ui-cdk-decorators.js +0 -26
  483. package/fesm2015/taiga-ui-cdk-decorators.js.map +1 -1
  484. package/fesm2015/taiga-ui-cdk-directives-active-zone.js +0 -4
  485. package/fesm2015/taiga-ui-cdk-directives-active-zone.js.map +1 -1
  486. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js +1 -44
  487. package/fesm2015/taiga-ui-cdk-directives-auto-focus.js.map +1 -1
  488. package/fesm2015/taiga-ui-cdk-directives-autofilled.js +0 -4
  489. package/fesm2015/taiga-ui-cdk-directives-autofilled.js.map +1 -1
  490. package/fesm2015/taiga-ui-cdk-directives-checked.js +0 -4
  491. package/fesm2015/taiga-ui-cdk-directives-checked.js.map +1 -1
  492. package/fesm2015/taiga-ui-cdk-directives-click-outside.js +0 -4
  493. package/fesm2015/taiga-ui-cdk-directives-click-outside.js.map +1 -1
  494. package/fesm2015/taiga-ui-cdk-directives-control.js +0 -4
  495. package/fesm2015/taiga-ui-cdk-directives-control.js.map +1 -1
  496. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js +0 -4
  497. package/fesm2015/taiga-ui-cdk-directives-copy-processor.js.map +1 -1
  498. package/fesm2015/taiga-ui-cdk-directives-drag.js +0 -10
  499. package/fesm2015/taiga-ui-cdk-directives-drag.js.map +1 -1
  500. package/fesm2015/taiga-ui-cdk-directives-droppable.js +0 -5
  501. package/fesm2015/taiga-ui-cdk-directives-droppable.js.map +1 -1
  502. package/fesm2015/taiga-ui-cdk-directives-element.js +0 -18
  503. package/fesm2015/taiga-ui-cdk-directives-element.js.map +1 -1
  504. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js +0 -17
  505. package/fesm2015/taiga-ui-cdk-directives-focus-trap.js.map +1 -1
  506. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js +0 -9
  507. package/fesm2015/taiga-ui-cdk-directives-focus-visible.js.map +1 -1
  508. package/fesm2015/taiga-ui-cdk-directives-focusable.js +0 -10
  509. package/fesm2015/taiga-ui-cdk-directives-focusable.js.map +1 -1
  510. package/fesm2015/taiga-ui-cdk-directives-focused.js +0 -9
  511. package/fesm2015/taiga-ui-cdk-directives-focused.js.map +1 -1
  512. package/fesm2015/taiga-ui-cdk-directives-for-async.js +0 -7
  513. package/fesm2015/taiga-ui-cdk-directives-for-async.js.map +1 -1
  514. package/fesm2015/taiga-ui-cdk-directives-for.js +0 -4
  515. package/fesm2015/taiga-ui-cdk-directives-for.js.map +1 -1
  516. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js +0 -7
  517. package/fesm2015/taiga-ui-cdk-directives-high-dpi.js.map +1 -1
  518. package/fesm2015/taiga-ui-cdk-directives-hovered.js +1 -7
  519. package/fesm2015/taiga-ui-cdk-directives-hovered.js.map +1 -1
  520. package/fesm2015/taiga-ui-cdk-directives-item.js +0 -7
  521. package/fesm2015/taiga-ui-cdk-directives-item.js.map +1 -1
  522. package/fesm2015/taiga-ui-cdk-directives-let.js +0 -17
  523. package/fesm2015/taiga-ui-cdk-directives-let.js.map +1 -1
  524. package/fesm2015/taiga-ui-cdk-directives-media.js +0 -7
  525. package/fesm2015/taiga-ui-cdk-directives-media.js.map +1 -1
  526. package/fesm2015/taiga-ui-cdk-directives-obscured.js +0 -7
  527. package/fesm2015/taiga-ui-cdk-directives-obscured.js.map +1 -1
  528. package/fesm2015/taiga-ui-cdk-directives-overscroll.js +0 -10
  529. package/fesm2015/taiga-ui-cdk-directives-overscroll.js.map +1 -1
  530. package/fesm2015/taiga-ui-cdk-directives-pan.js +0 -7
  531. package/fesm2015/taiga-ui-cdk-directives-pan.js.map +1 -1
  532. package/fesm2015/taiga-ui-cdk-directives-platform.js +0 -4
  533. package/fesm2015/taiga-ui-cdk-directives-platform.js.map +1 -1
  534. package/fesm2015/taiga-ui-cdk-directives-portal.js +0 -4
  535. package/fesm2015/taiga-ui-cdk-directives-portal.js.map +1 -1
  536. package/fesm2015/taiga-ui-cdk-directives-pressed.js +0 -4
  537. package/fesm2015/taiga-ui-cdk-directives-pressed.js.map +1 -1
  538. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js +0 -12
  539. package/fesm2015/taiga-ui-cdk-directives-prevent-default.js.map +1 -1
  540. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js +0 -11
  541. package/fesm2015/taiga-ui-cdk-directives-repeat-times.js.map +1 -1
  542. package/fesm2015/taiga-ui-cdk-directives-resize.js +0 -7
  543. package/fesm2015/taiga-ui-cdk-directives-resize.js.map +1 -1
  544. package/fesm2015/taiga-ui-cdk-directives-resizer.js +0 -5
  545. package/fesm2015/taiga-ui-cdk-directives-resizer.js.map +1 -1
  546. package/fesm2015/taiga-ui-cdk-directives-swipe.js +0 -7
  547. package/fesm2015/taiga-ui-cdk-directives-swipe.js.map +1 -1
  548. package/fesm2015/taiga-ui-cdk-directives-validator.js +0 -4
  549. package/fesm2015/taiga-ui-cdk-directives-validator.js.map +1 -1
  550. package/fesm2015/taiga-ui-cdk-directives-value-changes.js +0 -4
  551. package/fesm2015/taiga-ui-cdk-directives-value-changes.js.map +1 -1
  552. package/fesm2015/taiga-ui-cdk-directives-zoom.js +0 -7
  553. package/fesm2015/taiga-ui-cdk-directives-zoom.js.map +1 -1
  554. package/fesm2015/taiga-ui-cdk-directives.js +0 -4
  555. package/fesm2015/taiga-ui-cdk-directives.js.map +1 -1
  556. package/fesm2015/taiga-ui-cdk-enums.js +0 -8
  557. package/fesm2015/taiga-ui-cdk-enums.js.map +1 -1
  558. package/fesm2015/taiga-ui-cdk-exceptions.js +0 -4
  559. package/fesm2015/taiga-ui-cdk-exceptions.js.map +1 -1
  560. package/fesm2015/taiga-ui-cdk-interfaces.js +1 -3
  561. package/fesm2015/taiga-ui-cdk-interfaces.js.map +1 -1
  562. package/fesm2015/taiga-ui-cdk-observables.js +1 -34
  563. package/fesm2015/taiga-ui-cdk-observables.js.map +1 -1
  564. package/fesm2015/taiga-ui-cdk-pipes-filter.js +0 -4
  565. package/fesm2015/taiga-ui-cdk-pipes-filter.js.map +1 -1
  566. package/fesm2015/taiga-ui-cdk-pipes-is-present.js +0 -4
  567. package/fesm2015/taiga-ui-cdk-pipes-is-present.js.map +1 -1
  568. package/fesm2015/taiga-ui-cdk-pipes-keys.js +0 -4
  569. package/fesm2015/taiga-ui-cdk-pipes-keys.js.map +1 -1
  570. package/fesm2015/taiga-ui-cdk-pipes-mapper.js +0 -4
  571. package/fesm2015/taiga-ui-cdk-pipes-mapper.js.map +1 -1
  572. package/fesm2015/taiga-ui-cdk-pipes-replace.js +1 -7
  573. package/fesm2015/taiga-ui-cdk-pipes-replace.js.map +1 -1
  574. package/fesm2015/taiga-ui-cdk-pipes.js +0 -4
  575. package/fesm2015/taiga-ui-cdk-pipes.js.map +1 -1
  576. package/fesm2015/taiga-ui-cdk-services.js +5 -52
  577. package/fesm2015/taiga-ui-cdk-services.js.map +1 -1
  578. package/fesm2015/taiga-ui-cdk-tokens.js +4 -108
  579. package/fesm2015/taiga-ui-cdk-tokens.js.map +1 -1
  580. package/fesm2015/taiga-ui-cdk-types.js +1 -3
  581. package/fesm2015/taiga-ui-cdk-types.js.map +1 -1
  582. package/fesm2015/taiga-ui-cdk-utils-browser.js +0 -4
  583. package/fesm2015/taiga-ui-cdk-utils-browser.js.map +1 -1
  584. package/fesm2015/taiga-ui-cdk-utils-color.js +0 -10
  585. package/fesm2015/taiga-ui-cdk-utils-color.js.map +1 -1
  586. package/fesm2015/taiga-ui-cdk-utils-dom.js +2 -53
  587. package/fesm2015/taiga-ui-cdk-utils-dom.js.map +1 -1
  588. package/fesm2015/taiga-ui-cdk-utils-focus.js +0 -51
  589. package/fesm2015/taiga-ui-cdk-utils-focus.js.map +1 -1
  590. package/fesm2015/taiga-ui-cdk-utils-format.js +0 -7
  591. package/fesm2015/taiga-ui-cdk-utils-format.js.map +1 -1
  592. package/fesm2015/taiga-ui-cdk-utils-math.js +0 -38
  593. package/fesm2015/taiga-ui-cdk-utils-math.js.map +1 -1
  594. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js +6 -42
  595. package/fesm2015/taiga-ui-cdk-utils-miscellaneous.js.map +1 -1
  596. package/fesm2015/taiga-ui-cdk-utils-os.js +0 -14
  597. package/fesm2015/taiga-ui-cdk-utils-os.js.map +1 -1
  598. package/fesm2015/taiga-ui-cdk-utils-svg.js +1 -19
  599. package/fesm2015/taiga-ui-cdk-utils-svg.js.map +1 -1
  600. package/fesm2015/taiga-ui-cdk-utils.js +0 -4
  601. package/fesm2015/taiga-ui-cdk-utils.js.map +1 -1
  602. package/fesm2015/taiga-ui-cdk.js +0 -4
  603. package/fesm2015/taiga-ui-cdk.js.map +1 -1
  604. package/interfaces/control-value-transformer.d.ts +0 -3
  605. package/interfaces/day-like.d.ts +0 -3
  606. package/interfaces/focusable-element-accessor.d.ts +0 -4
  607. package/interfaces/month-like.d.ts +0 -3
  608. package/interfaces/taiga-ui-cdk-interfaces.d.ts +0 -3
  609. package/interfaces/year-like.d.ts +0 -3
  610. package/observables/control-value.d.ts +0 -3
  611. package/observables/is-alive.d.ts +0 -3
  612. package/observables/items-query-list-observable.d.ts +0 -6
  613. package/observables/mouse-drag-finish-from.d.ts +0 -4
  614. package/observables/scroll-from.d.ts +0 -3
  615. package/observables/taiga-ui-cdk-observables.d.ts +0 -3
  616. package/package.json +1 -1
  617. package/pipes/filter/filter.pipe.d.ts +0 -7
  618. package/pipes/filter/taiga-ui-cdk-pipes-filter.d.ts +0 -3
  619. package/pipes/is-present/taiga-ui-cdk-pipes-is-present.d.ts +0 -3
  620. package/pipes/keys/taiga-ui-cdk-pipes-keys.d.ts +0 -3
  621. package/pipes/mapper/mapper.pipe.d.ts +0 -7
  622. package/pipes/mapper/taiga-ui-cdk-pipes-mapper.d.ts +0 -3
  623. package/pipes/replace/taiga-ui-cdk-pipes-replace.d.ts +0 -3
  624. package/pipes/taiga-ui-cdk-pipes.d.ts +0 -3
  625. package/schematics/constants/file-globs.js +1 -3
  626. package/schematics/ng-add/index.js +0 -1
  627. package/schematics/ng-add/schema.d.ts +0 -12
  628. package/schematics/ng-update/steps/show-warnings.js +0 -5
  629. package/schematics/ng-update/v3/constants/breakpoints.js +0 -2
  630. package/schematics/ng-update/v3/constants/enums.js +0 -4
  631. package/schematics/ng-update/v3/constants/templates.d.ts +0 -5
  632. package/schematics/ng-update/v3/constants/templates.js +0 -5
  633. package/schematics/ng-update/v3/index.js +1 -5
  634. package/schematics/ng-update/v3/steps/migrate-date-time.js +0 -18
  635. package/schematics/ng-update/v3/steps/migrate-progress.js +1 -3
  636. package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-range.js +0 -6
  637. package/schematics/ng-update/v3/steps/migrate-sliders/migrate-input-slider.js +0 -5
  638. package/schematics/ng-update/v3/steps/migrate-taiga-proprietary-icons.js +0 -1
  639. package/schematics/ng-update/v3/steps/migrate-templates.js +0 -1
  640. package/schematics/ng-update/v3/steps/miscellaneous.js +0 -4
  641. package/schematics/ng-update/v3/steps/replace-functions.js +1 -1
  642. package/schematics/ng-update/v3-30/index.js +0 -1
  643. package/schematics/ng-update/v3-35/index.js +0 -1
  644. package/schematics/ng-update/v3-36/index.js +0 -1
  645. package/schematics/ng-update/v3-40/index.js +0 -1
  646. package/schematics/ng-update/v3-5/index.js +0 -1
  647. package/schematics/ng-update/v4/index.js +0 -1
  648. package/schematics/utils/add-import-to-component.js +0 -1
  649. package/schematics/utils/angular/ng-module.d.ts +0 -3
  650. package/schematics/utils/angular/ng-module.js +0 -3
  651. package/schematics/utils/angular-json-manipulations.js +0 -7
  652. package/schematics/utils/colored-log.js +1 -1
  653. package/schematics/utils/get-projects.js +1 -3
  654. package/schematics/utils/is-ci.js +11 -13
  655. package/schematics/utils/progress.js +0 -1
  656. package/schematics/utils/push-to-array-property.js +0 -1
  657. package/schematics/utils/templates/elements.d.ts +0 -19
  658. package/schematics/utils/templates/elements.js +2 -26
  659. package/schematics/utils/templates/ng-component-input-manipulations.d.ts +0 -44
  660. package/schematics/utils/templates/ng-component-input-manipulations.js +1 -47
  661. package/services/destroy.service.d.ts +0 -8
  662. package/services/directive-styles.service.d.ts +0 -3
  663. package/services/focus-visible.service.d.ts +0 -5
  664. package/services/id.service.d.ts +0 -3
  665. package/services/obscured.service.d.ts +0 -5
  666. package/services/parents-scroll.service.d.ts +0 -3
  667. package/services/taiga-ui-cdk-services.d.ts +0 -3
  668. package/taiga-ui-cdk.d.ts +0 -3
  669. package/tokens/active-element.d.ts +0 -3
  670. package/tokens/alerts.d.ts +0 -3
  671. package/tokens/default-renderer.d.ts +0 -6
  672. package/tokens/dialogs.d.ts +0 -3
  673. package/tokens/ensure-base-href.d.ts +0 -3
  674. package/tokens/focusable-item-accessor.d.ts +0 -3
  675. package/tokens/is-android.d.ts +0 -3
  676. package/tokens/is-apple.d.ts +0 -3
  677. package/tokens/is-chromium.d.ts +0 -3
  678. package/tokens/is-cypress.d.ts +0 -4
  679. package/tokens/is-e2e.d.ts +0 -3
  680. package/tokens/is-firefox.d.ts +0 -3
  681. package/tokens/is-ios.d.ts +0 -3
  682. package/tokens/is-mobile.d.ts +0 -3
  683. package/tokens/is-playwright.d.ts +0 -3
  684. package/tokens/is-webkit.d.ts +0 -3
  685. package/tokens/range.d.ts +0 -3
  686. package/tokens/removed-element.d.ts +0 -3
  687. package/tokens/scroll-ref.d.ts +0 -3
  688. package/tokens/swipe-options.d.ts +0 -3
  689. package/tokens/taiga-ui-cdk-tokens.d.ts +0 -3
  690. package/tokens/take-only-trusted-events.d.ts +0 -6
  691. package/tokens/window-height.d.ts +0 -3
  692. package/tokens/zoom-options.d.ts +0 -3
  693. package/types/autocomplete.d.ts +0 -1
  694. package/types/date-mode.d.ts +0 -5
  695. package/types/event-with.d.ts +0 -3
  696. package/types/mapper.d.ts +0 -8
  697. package/types/matcher.d.ts +0 -8
  698. package/types/taiga-ui-cdk-types.d.ts +0 -3
  699. package/utils/browser/taiga-ui-cdk-utils-browser.d.ts +0 -3
  700. package/utils/color/hsv-to-rgb.d.ts +0 -3
  701. package/utils/color/taiga-ui-cdk-utils-color.d.ts +0 -3
  702. package/utils/dom/get-actual-target.d.ts +0 -3
  703. package/utils/dom/get-clipboard-data-text.d.ts +0 -3
  704. package/utils/dom/get-element-obscurers.d.ts +0 -9
  705. package/utils/dom/get-element-offset.d.ts +0 -7
  706. package/utils/dom/get-scroll-parent.d.ts +0 -6
  707. package/utils/dom/get-selected-text.d.ts +0 -8
  708. package/utils/dom/is-inside-iframe.d.ts +0 -3
  709. package/utils/dom/is-node-in.d.ts +0 -7
  710. package/utils/dom/taiga-ui-cdk-utils-dom.d.ts +0 -3
  711. package/utils/focus/blur-native-focused.d.ts +0 -3
  712. package/utils/focus/get-closest-focusable.d.ts +0 -20
  713. package/utils/focus/get-native-focused.d.ts +0 -5
  714. package/utils/focus/is-native-focused-in.d.ts +0 -6
  715. package/utils/focus/is-native-focused.d.ts +0 -8
  716. package/utils/focus/is-native-keyboard-focusable.d.ts +0 -6
  717. package/utils/focus/move-focus.d.ts +0 -7
  718. package/utils/focus/set-native-mouse-focused.d.ts +0 -7
  719. package/utils/focus/taiga-ui-cdk-utils-focus.d.ts +0 -3
  720. package/utils/format/px.d.ts +0 -3
  721. package/utils/format/taiga-ui-cdk-utils-format.d.ts +0 -3
  722. package/utils/math/clamp.d.ts +0 -7
  723. package/utils/math/normalize-to-int-number.d.ts +0 -8
  724. package/utils/math/quantize.d.ts +0 -6
  725. package/utils/math/sum.d.ts +0 -3
  726. package/utils/math/taiga-ui-cdk-utils-math.d.ts +0 -3
  727. package/utils/math/to-radians.d.ts +0 -3
  728. package/utils/miscellaneous/create-options.d.ts +0 -1
  729. package/utils/miscellaneous/flat-length.d.ts +0 -5
  730. package/utils/miscellaneous/get-original-array-from-query-list.d.ts +0 -6
  731. package/utils/miscellaneous/is-string.js +0 -1
  732. package/utils/miscellaneous/nullable-same.d.ts +0 -8
  733. package/utils/miscellaneous/object-from-entries.d.ts +0 -8
  734. package/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.d.ts +0 -3
  735. package/utils/os/is-apple-platform.d.ts +0 -10
  736. package/utils/os/taiga-ui-cdk-utils-os.d.ts +0 -3
  737. package/utils/svg/svg-linear-gradient-processor.d.ts +0 -14
  738. package/utils/svg/taiga-ui-cdk-utils-svg.d.ts +0 -3
  739. package/utils/taiga-ui-cdk-utils.d.ts +0 -3
@@ -32,28 +32,11 @@
32
32
  var MILLISECONDS_IN_HOUR = MILLISECONDS_IN_MINUTE * MINUTES_IN_HOUR;
33
33
  var MILLISECONDS_IN_DAY = MILLISECONDS_IN_HOUR * HOURS_IN_DAY;
34
34
 
35
- /**
36
- * @internal 'dd.mm.yyyy'.length
37
- * Used in:
38
- * - {@link TuiInputDateComponent}
39
- * - {@link TuiInputDateRangeComponent}
40
- * - {@link TuiInputDateTimeComponent}
41
- */
42
35
  var DATE_FILLER_LENGTH = 10;
43
- /**
44
- * @internal
45
- * Used in {@link TuiInputDateRangeComponent}
46
- */
47
36
  var DATE_RANGE_FILLER_LENGTH = 2 * DATE_FILLER_LENGTH + RANGE_SEPARATOR_CHAR.length;
48
37
 
49
- /**
50
- * Active date format for Taiga UI
51
- */
52
38
  var TUI_DATE_FORMAT = utils.tuiCreateToken("DMY");
53
39
 
54
- /**
55
- * Date separator for Taiga UI components
56
- */
57
40
  var TUI_DATE_SEPARATOR = utils.tuiCreateToken(".");
58
41
  var changeDateSeparator = function (dateString, newDateSeparator) { return dateString.replace(/[^0-9A-Za-zА-Яа-я]/gi, newDateSeparator); };
59
42
 
@@ -375,31 +358,18 @@
375
358
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
376
359
  }
377
360
 
378
- /**
379
- * Immutable year object
380
- * @nosideeffects
381
- */
382
361
  var TuiYear = /** @class */ (function () {
383
362
  function TuiYear(year) {
384
363
  this.year = year;
385
364
  ngDevMode && classes.tuiAssert.assert(TuiYear.isValidYear(year));
386
365
  }
387
- /**
388
- * Checks year for validity
389
- */
390
366
  TuiYear.isValidYear = function (year) {
391
367
  return Number.isInteger(year) && math.tuiInRange(year, MIN_YEAR, MAX_YEAR + 1);
392
368
  };
393
- /**
394
- * Check if passed year is a leap year
395
- */
396
369
  TuiYear.isLeapYear = function (year) {
397
370
  ngDevMode && classes.tuiAssert.assert(TuiYear.isValidYear(year));
398
371
  return year % 400 === 0 || (year % 4 === 0 && year % 100 !== 0);
399
372
  };
400
- /**
401
- * Returns amount of leap years from year 0 to the passed one
402
- */
403
373
  TuiYear.getAbsoluteLeapYears = function (year) {
404
374
  ngDevMode && classes.tuiAssert.assert(TuiYear.isValidYear(year));
405
375
  return Math.ceil(year / 400) + (Math.ceil(year / 4) - Math.ceil(year / 100));
@@ -407,9 +377,6 @@
407
377
  TuiYear.lengthBetween = function (from, to) {
408
378
  return to.year - from.year;
409
379
  };
410
- /**
411
- * Normalizes year by clamping it between min and max years
412
- */
413
380
  TuiYear.normalizeYearPart = function (year) {
414
381
  return math.tuiNormalizeToIntNumber(year, MIN_YEAR, MAX_YEAR);
415
382
  };
@@ -428,53 +395,32 @@
428
395
  configurable: true
429
396
  });
430
397
  Object.defineProperty(TuiYear.prototype, "absoluteLeapYears", {
431
- /**
432
- * Returns amount of leap years from year 0 to current
433
- */
434
398
  get: function () {
435
399
  return TuiYear.getAbsoluteLeapYears(this.year);
436
400
  },
437
401
  enumerable: false,
438
402
  configurable: true
439
403
  });
440
- /**
441
- * Passed year is after current
442
- */
443
404
  TuiYear.prototype.yearBefore = function (_a) {
444
405
  var year = _a.year;
445
406
  return this.year < year;
446
407
  };
447
- /**
448
- * Passed year is the same or after current
449
- */
450
408
  TuiYear.prototype.yearSameOrBefore = function (_a) {
451
409
  var year = _a.year;
452
410
  return this.year <= year;
453
411
  };
454
- /**
455
- * Passed year is the same as current
456
- */
457
412
  TuiYear.prototype.yearSame = function (_a) {
458
413
  var year = _a.year;
459
414
  return this.year === year;
460
415
  };
461
- /**
462
- * Passed year is either the same of before the current
463
- */
464
416
  TuiYear.prototype.yearSameOrAfter = function (_a) {
465
417
  var year = _a.year;
466
418
  return this.year >= year;
467
419
  };
468
- /**
469
- * Passed year is before current
470
- */
471
420
  TuiYear.prototype.yearAfter = function (_a) {
472
421
  var year = _a.year;
473
422
  return this.year > year;
474
423
  };
475
- /**
476
- * Immutably offsets year
477
- */
478
424
  TuiYear.prototype.append = function (_a) {
479
425
  var _b = _a.year, year = _b === void 0 ? 0 : _b;
480
426
  ngDevMode && classes.tuiAssert.assert(Number.isInteger(year));
@@ -488,11 +434,6 @@
488
434
  TuiYear.prototype.valueOf = function () {
489
435
  return this.year;
490
436
  };
491
- /**
492
- * Returns the primitive value of the given Date object.
493
- * Depending on the argument, the method can return either a string or a number.
494
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/@@toPrimitive
495
- */
496
437
  TuiYear.prototype[Symbol.toPrimitive] = function (hint) {
497
438
  return Date.prototype[Symbol.toPrimitive].call(this, hint);
498
439
  };
@@ -502,30 +443,17 @@
502
443
  return TuiYear;
503
444
  }());
504
445
 
505
- /**
506
- * Immutable object consisting of year and month
507
- */
508
446
  var TuiMonth = /** @class */ (function (_super) {
509
447
  __extends(TuiMonth, _super);
510
- /**
511
- * @param year
512
- * @param month (starting with 0)
513
- */
514
448
  function TuiMonth(year, month) {
515
449
  var _this = _super.call(this, year) || this;
516
450
  _this.month = month;
517
451
  ngDevMode && classes.tuiAssert.assert(TuiMonth.isValidMonth(year, month));
518
452
  return _this;
519
453
  }
520
- /**
521
- * Tests month and year for validity
522
- */
523
454
  TuiMonth.isValidMonth = function (year, month) {
524
455
  return TuiYear.isValidYear(year) && TuiMonth.isValidMonthPart(month);
525
456
  };
526
- /**
527
- * Returns number of days in a month
528
- */
529
457
  TuiMonth.getMonthDaysCount = function (month, isLeapYear) {
530
458
  ngDevMode && classes.tuiAssert.assert(TuiMonth.isValidMonthPart(month));
531
459
  switch (month) {
@@ -540,17 +468,10 @@
540
468
  return 31;
541
469
  }
542
470
  };
543
- /**
544
- * Returns current month and year based on local time zone
545
- * @nosideeffects
546
- */
547
471
  TuiMonth.currentLocal = function () {
548
472
  var nativeDate = new Date();
549
473
  return new TuiMonth(nativeDate.getFullYear(), nativeDate.getMonth());
550
474
  };
551
- /**
552
- * Returns current month and year based on UTC
553
- */
554
475
  TuiMonth.currentUtc = function () {
555
476
  var nativeDate = new Date();
556
477
  return new TuiMonth(nativeDate.getUTCFullYear(), nativeDate.getUTCMonth());
@@ -560,15 +481,9 @@
560
481
  var absoluteTo = to.month + to.year * 12;
561
482
  return absoluteTo - absoluteFrom;
562
483
  };
563
- /**
564
- * Normalizes number by clamping it between min and max month
565
- */
566
484
  TuiMonth.normalizeMonthPart = function (month) {
567
485
  return math.tuiNormalizeToIntNumber(month, MIN_MONTH, MAX_MONTH);
568
486
  };
569
- /**
570
- * Tests month for validity
571
- */
572
487
  TuiMonth.isValidMonthPart = function (month) {
573
488
  return Number.isInteger(month) && math.tuiInRange(month, MIN_MONTH, MAX_MONTH + 1);
574
489
  };
@@ -580,55 +495,31 @@
580
495
  configurable: true
581
496
  });
582
497
  Object.defineProperty(TuiMonth.prototype, "daysCount", {
583
- /**
584
- * Returns days in a month
585
- */
586
498
  get: function () {
587
499
  return TuiMonth.getMonthDaysCount(this.month, this.isLeapYear);
588
500
  },
589
501
  enumerable: false,
590
502
  configurable: true
591
503
  });
592
- /**
593
- * Passed month and year are after current
594
- */
595
504
  TuiMonth.prototype.monthBefore = function (another) {
596
505
  return (this.yearBefore(another) ||
597
506
  (this.yearSame(another) && this.month < another.month));
598
507
  };
599
- /**
600
- * Passed month and year are after or the same as current
601
- */
602
508
  TuiMonth.prototype.monthSameOrBefore = function (another) {
603
509
  return (this.yearBefore(another) ||
604
510
  (this.yearSame(another) && this.month <= another.month));
605
511
  };
606
- /**
607
- * Passed month and year are the same as current
608
- */
609
512
  TuiMonth.prototype.monthSame = function (another) {
610
513
  return this.yearSame(another) && this.month === another.month;
611
514
  };
612
- /**
613
- * Passed month and year are either before or equal to current
614
- */
615
515
  TuiMonth.prototype.monthSameOrAfter = function (another) {
616
516
  return (this.yearAfter(another) ||
617
517
  (this.yearSame(another) && this.month >= another.month));
618
518
  };
619
- /**
620
- * Passed month and year are before current
621
- */
622
519
  TuiMonth.prototype.monthAfter = function (another) {
623
520
  return (this.yearAfter(another) ||
624
521
  (this.yearSame(another) && this.month > another.month));
625
522
  };
626
- /**
627
- * Immutably alters current month and year by passed offset
628
- *
629
- * @param offset
630
- * @return new month and year object as a result of offsetting current
631
- */
632
523
  TuiMonth.prototype.append = function (_a) {
633
524
  var _b = _a.year, year = _b === void 0 ? 0 : _b, _c = _a.month, month = _c === void 0 ? 0 : _c;
634
525
  var totalMonths = (this.year + year) * MONTHS_IN_YEAR + this.month + month;
@@ -643,25 +534,15 @@
643
534
  TuiMonth.prototype.toJSON = function () {
644
535
  return _super.prototype.toJSON.call(this) + "-" + this.formattedMonthPart;
645
536
  };
646
- /**
647
- * Returns native {@link Date} based on local time zone
648
- */
649
537
  TuiMonth.prototype.toLocalNativeDate = function () {
650
538
  return new Date(this.year, this.month);
651
539
  };
652
- /**
653
- * Returns native {@link Date} based on UTC
654
- */
655
540
  TuiMonth.prototype.toUtcNativeDate = function () {
656
541
  return new Date(Date.UTC(this.year, this.month));
657
542
  };
658
543
  return TuiMonth;
659
544
  }(TuiYear));
660
545
 
661
- // TODO: Localized formatting
662
- /**
663
- * Immutable date object, consisting of day, month and year
664
- */
665
546
  var TuiDay = /** @class */ (function (_super) {
666
547
  __extends(TuiDay, _super);
667
548
  function TuiDay(year, month, day) {
@@ -670,34 +551,17 @@
670
551
  ngDevMode && classes.tuiAssert.assert(TuiDay.isValidDay(year, month, day));
671
552
  return _this;
672
553
  }
673
- /**
674
- * Creates {@link TuiDay} from native {@link Date} based on local time zone
675
- */
676
554
  TuiDay.fromLocalNativeDate = function (date) {
677
555
  return new TuiDay(date.getFullYear(), date.getMonth(), date.getDate());
678
556
  };
679
- /**
680
- * Creates {@link TuiDay} from native {@link Date} using UTC
681
- */
682
557
  TuiDay.fromUtcNativeDate = function (date) {
683
558
  return new TuiDay(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate());
684
559
  };
685
- /**
686
- * Check validity of year, month and day
687
- *
688
- * @param year
689
- * @param month
690
- * @param day
691
- * @return boolean validity
692
- */
693
560
  TuiDay.isValidDay = function (year, month, day) {
694
561
  return (TuiMonth.isValidMonth(year, month) &&
695
562
  Number.isInteger(day) &&
696
563
  math.tuiInRange(day, MIN_DAY, TuiMonth.getMonthDaysCount(month, TuiYear.isLeapYear(year)) + 1));
697
564
  };
698
- /**
699
- * Current day based on local time zone
700
- */
701
565
  TuiDay.currentLocal = function () {
702
566
  var nativeDate = new Date();
703
567
  var year = nativeDate.getFullYear();
@@ -705,9 +569,6 @@
705
569
  var day = nativeDate.getDate();
706
570
  return new TuiDay(year, month, day);
707
571
  };
708
- /**
709
- * Returns current day based on UTC
710
- */
711
572
  TuiDay.currentUtc = function () {
712
573
  var nativeDate = new Date();
713
574
  var year = nativeDate.getUTCFullYear();
@@ -715,14 +576,6 @@
715
576
  var day = nativeDate.getUTCDate();
716
577
  return new TuiDay(year, month, day);
717
578
  };
718
- /**
719
- * Calculates {@link TuiDay} normalizing year, month and day. {@link NaN} is turned into minimal value.
720
- *
721
- * @param year any year value, including invalid
722
- * @param month any month value, including invalid (months start with 0)
723
- * @param day any day value, including invalid
724
- * @return normalized date
725
- */
726
579
  TuiDay.normalizeOf = function (year, month, day) {
727
580
  var normalizedYear = TuiYear.normalizeYearPart(year);
728
581
  var normalizedMonth = TuiMonth.normalizeMonthPart(month);
@@ -759,25 +612,11 @@
759
612
  };
760
613
  }
761
614
  };
762
- // TODO: Move month and year related code corresponding classes
763
- /**
764
- * Parsing a string with date with normalization
765
- *
766
- * @param rawDate date string
767
- * @param dateMode date format of the date string (DMY | MDY | YMD)
768
- * @return normalized date
769
- */
770
615
  TuiDay.normalizeParse = function (rawDate, dateMode) {
771
616
  if (dateMode === void 0) { dateMode = "DMY"; }
772
617
  var _a = this.parseRawDateString(rawDate, dateMode), day = _a.day, month = _a.month, year = _a.year;
773
618
  return TuiDay.normalizeOf(year, month, day);
774
619
  };
775
- /**
776
- * Parsing a date stringified in a toJSON format
777
- * @param yearMonthDayString date string in format of YYYY-MM-DD
778
- * @return date
779
- * @throws exceptions if any part of the date is invalid
780
- */
781
620
  TuiDay.jsonParse = function (yearMonthDayString) {
782
621
  var _a = this.parseRawDateString(yearMonthDayString, "YMD"), day = _a.day, month = _a.month, year = _a.year;
783
622
  if (!TuiYear.isValidYear(year)) {
@@ -812,12 +651,6 @@
812
651
  enumerable: false,
813
652
  configurable: true
814
653
  });
815
- /**
816
- * Returns day of week
817
- *
818
- * @param startFromMonday whether week starts from Monday and not from Sunday
819
- * @return day of week (from 0 to 6)
820
- */
821
654
  TuiDay.prototype.dayOfWeek = function (startFromMonday) {
822
655
  if (startFromMonday === void 0) { startFromMonday = true; }
823
656
  var dayOfWeek = startFromMonday
@@ -825,47 +658,25 @@
825
658
  : this.toLocalNativeDate().getDay();
826
659
  return dayOfWeek < 0 ? 6 : dayOfWeek;
827
660
  };
828
- /**
829
- * Passed date is after current
830
- */
831
661
  TuiDay.prototype.dayBefore = function (another) {
832
662
  return (this.monthBefore(another) ||
833
663
  (this.monthSame(another) && this.day < another.day));
834
664
  };
835
- /**
836
- * Passed date is after or equals to current
837
- */
838
665
  TuiDay.prototype.daySameOrBefore = function (another) {
839
666
  return (this.monthBefore(another) ||
840
667
  (this.monthSame(another) && this.day <= another.day));
841
668
  };
842
- /**
843
- * Passed date is the same as current
844
- */
845
669
  TuiDay.prototype.daySame = function (another) {
846
670
  return this.monthSame(another) && this.day === another.day;
847
671
  };
848
- /**
849
- * Passed date is either before or the same as current
850
- */
851
672
  TuiDay.prototype.daySameOrAfter = function (another) {
852
673
  return (this.monthAfter(another) ||
853
674
  (this.monthSame(another) && this.day >= another.day));
854
675
  };
855
- /**
856
- * Passed date is before current
857
- */
858
676
  TuiDay.prototype.dayAfter = function (another) {
859
677
  return (this.monthAfter(another) ||
860
678
  (this.monthSame(another) && this.day > another.day));
861
679
  };
862
- /**
863
- * Clamping date between two limits
864
- *
865
- * @param min
866
- * @param max
867
- * @return clamped date
868
- */
869
680
  TuiDay.prototype.dayLimit = function (min, max) {
870
681
  if (min !== null && this.dayBefore(min)) {
871
682
  return min;
@@ -875,16 +686,6 @@
875
686
  }
876
687
  return this;
877
688
  };
878
- /**
879
- * Immutably alters current day by passed offset
880
- *
881
- * If resulting month has more days than original one, date is rounded to the maximum day
882
- * in the resulting month. Offset of days will be calculated based on the resulted year and month
883
- * to not interfere with parent classes methods
884
- *
885
- * @param offset
886
- * @return new date object as a result of offsetting current
887
- */
888
689
  TuiDay.prototype.append = function (_a) {
889
690
  var _b = _a.year, year = _b === void 0 ? 0 : _b, _c = _a.month, month = _c === void 0 ? 0 : _c, _d = _a.day, day = _d === void 0 ? 0 : _d;
890
691
  var totalMonths = (this.year + year) * MONTHS_IN_YEAR + this.month + month;
@@ -913,9 +714,6 @@
913
714
  }
914
715
  return new TuiDay(years, months, days);
915
716
  };
916
- /**
917
- * Returns formatted whole date
918
- */
919
717
  TuiDay.prototype.getFormattedDay = function (dateFormat, separator) {
920
718
  ngDevMode &&
921
719
  classes.tuiAssert.assert(separator.length === 1, "Separator should consist of only 1 symbol");
@@ -940,24 +738,15 @@
940
738
  TuiDay.prototype.toJSON = function () {
941
739
  return _super.prototype.toJSON.call(this) + "-" + this.formattedDayPart;
942
740
  };
943
- /**
944
- * Returns native {@link Date} based on local time zone
945
- */
946
741
  TuiDay.prototype.toLocalNativeDate = function () {
947
742
  return new Date(this.year, this.month, this.day);
948
743
  };
949
- /**
950
- * Returns native {@link Date} based on UTC
951
- */
952
744
  TuiDay.prototype.toUtcNativeDate = function () {
953
745
  return new Date(Date.UTC(this.year, this.month, this.day));
954
746
  };
955
747
  return TuiDay;
956
748
  }(TuiMonth));
957
749
 
958
- /**
959
- * An immutable range of two {@link TuiMonth} objects
960
- */
961
750
  var TuiMonthRange = /** @class */ (function () {
962
751
  function TuiMonthRange(from, to) {
963
752
  this.from = from;
@@ -985,9 +774,6 @@
985
774
  return TuiMonthRange;
986
775
  }());
987
776
 
988
- /**
989
- * An immutable range of two {@link TuiDay} objects
990
- */
991
777
  var TuiDayRange = /** @class */ (function (_super) {
992
778
  __extends(TuiDayRange, _super);
993
779
  function TuiDayRange(from, to) {
@@ -997,25 +783,11 @@
997
783
  ngDevMode && classes.tuiAssert.assert(from.daySameOrBefore(to));
998
784
  return _this;
999
785
  }
1000
- /**
1001
- * Creates range from two days after sorting them
1002
- *
1003
- * @param day1
1004
- * @param day2
1005
- * @return new range with sorted days
1006
- */
1007
786
  TuiDayRange.sort = function (day1, day2) {
1008
787
  return day1.daySameOrBefore(day2)
1009
788
  ? new TuiDayRange(day1, day2)
1010
789
  : new TuiDayRange(day2, day1);
1011
790
  };
1012
- /**
1013
- * Parse and correct a day range in string format
1014
- *
1015
- * @param rangeString a string of dates in a format dd.mm.yyyy - dd.mm.yyyy
1016
- * @param dateMode {@link TuiDateMode}
1017
- * @return normalized day range object
1018
- */
1019
791
  TuiDayRange.normalizeParse = function (rangeString, dateMode) {
1020
792
  if (dateMode === void 0) { dateMode = "DMY"; }
1021
793
  var leftDay = TuiDay.normalizeParse(rangeString.slice(0, DATE_FILLER_LENGTH), dateMode);
@@ -1031,28 +803,12 @@
1031
803
  enumerable: false,
1032
804
  configurable: true
1033
805
  });
1034
- /**
1035
- * Tests ranges for identity
1036
- *
1037
- * @param another second range to test against current
1038
- * @return `true` if days are identical
1039
- */
1040
806
  TuiDayRange.prototype.daySame = function (another) {
1041
807
  return this.from.daySame(another.from) && this.to.daySame(another.to);
1042
808
  };
1043
- /**
1044
- * Locks range between two days included, or limits from one side if the other is null
1045
- *
1046
- * @param min
1047
- * @param max
1048
- * @return range — clamped range
1049
- */
1050
809
  TuiDayRange.prototype.dayLimit = function (min, max) {
1051
810
  return new TuiDayRange(this.from.dayLimit(min, max), this.to.dayLimit(min, max));
1052
811
  };
1053
- /**
1054
- * Human readable format.
1055
- */
1056
812
  TuiDayRange.prototype.getFormattedDayRange = function (dateFormat, dateSeparator) {
1057
813
  var from = this.from.getFormattedDay(dateFormat, dateSeparator);
1058
814
  var to = this.to.getFormattedDay(dateFormat, dateSeparator);
@@ -1071,9 +827,6 @@
1071
827
  var TUI_FIRST_DAY = new TuiDay(MIN_YEAR, MIN_MONTH, MIN_DAY);
1072
828
  var TUI_LAST_DAY = new TuiDay(MAX_YEAR, MAX_MONTH, 31);
1073
829
 
1074
- /**
1075
- * Immutable time object with hours, minutes, seconds and ms
1076
- */
1077
830
  var TuiTime = /** @class */ (function () {
1078
831
  function TuiTime(hours, minutes, seconds, ms) {
1079
832
  if (seconds === void 0) { seconds = 0; }
@@ -1085,9 +838,6 @@
1085
838
  ngDevMode &&
1086
839
  classes.tuiAssert.assert(TuiTime.isValidTime(hours, minutes, seconds, ms), "Time must be real, but got:", hours, minutes, seconds, ms);
1087
840
  }
1088
- /**
1089
- * Checks if time is valid
1090
- */
1091
841
  TuiTime.isValidTime = function (hours, minutes, seconds, ms) {
1092
842
  if (seconds === void 0) { seconds = 0; }
1093
843
  if (ms === void 0) { ms = 0; }
@@ -1100,23 +850,14 @@
1100
850
  Number.isInteger(ms) &&
1101
851
  math.tuiInRange(ms, 0, 1000));
1102
852
  };
1103
- /**
1104
- * Current UTC time.
1105
- */
1106
853
  TuiTime.current = function () {
1107
854
  return TuiTime.fromAbsoluteMilliseconds(Date.now() % MILLISECONDS_IN_DAY);
1108
855
  };
1109
- /**
1110
- * Current time in local timezone
1111
- */
1112
856
  TuiTime.currentLocal = function () {
1113
857
  var date = new Date();
1114
858
  return TuiTime.fromAbsoluteMilliseconds((Date.now() - date.getTimezoneOffset() * MILLISECONDS_IN_MINUTE) %
1115
859
  MILLISECONDS_IN_DAY);
1116
860
  };
1117
- /**
1118
- * Calculates TuiTime from milliseconds
1119
- */
1120
861
  TuiTime.fromAbsoluteMilliseconds = function (milliseconds) {
1121
862
  ngDevMode && classes.tuiAssert.assert(Number.isInteger(milliseconds));
1122
863
  ngDevMode &&
@@ -1127,9 +868,6 @@
1127
868
  var ms = Math.floor(((milliseconds % MILLISECONDS_IN_HOUR) % MILLISECONDS_IN_MINUTE) % 1000) || 0;
1128
869
  return new TuiTime(hours, minutes, seconds, ms);
1129
870
  };
1130
- /**
1131
- * Parses string into TuiTime object
1132
- */
1133
871
  TuiTime.fromString = function (time) {
1134
872
  var hours = Number(time.slice(0, 2));
1135
873
  var minutes = Number(time.slice(3, 5));
@@ -1137,16 +875,9 @@
1137
875
  var ms = Number(time.slice(9, 12)) || 0;
1138
876
  return new TuiTime(hours, minutes, seconds, ms);
1139
877
  };
1140
- /**
1141
- * Converts Date object into TuiTime
1142
- * @param date
1143
- */
1144
878
  TuiTime.fromLocalNativeDate = function (date) {
1145
879
  return new TuiTime(date.getHours(), date.getMinutes(), date.getSeconds(), date.getMilliseconds());
1146
880
  };
1147
- /**
1148
- * Shifts time by hours and minutes
1149
- */
1150
881
  TuiTime.prototype.shift = function (_a) {
1151
882
  var _b = _a.hours, hours = _b === void 0 ? 0 : _b, _c = _a.minutes, minutes = _c === void 0 ? 0 : _c, _d = _a.seconds, seconds = _d === void 0 ? 0 : _d, _e = _a.ms, ms = _e === void 0 ? 0 : _e;
1152
883
  var newMs = (1000 + this.ms + (ms % 1000)) % 1000;
@@ -1165,9 +896,6 @@
1165
896
  var newHours = (24 + this.hours + (hoursToAdd % 24)) % 24;
1166
897
  return new TuiTime(newHours, newMinutes, newSeconds, newMs);
1167
898
  };
1168
- /**
1169
- * Converts TuiTime to string
1170
- */
1171
899
  TuiTime.prototype.toString = function (mode) {
1172
900
  var needAddMs = mode === "HH:MM:SS.MSS" || (!mode && this.ms > 0);
1173
901
  var needAddSeconds = needAddMs || mode === "HH:MM:SS" || (!mode && this.seconds > 0);
@@ -1178,17 +906,9 @@
1178
906
  TuiTime.prototype.valueOf = function () {
1179
907
  return this.toAbsoluteMilliseconds();
1180
908
  };
1181
- /**
1182
- * Returns the primitive value of the given Date object.
1183
- * Depending on the argument, the method can return either a string or a number.
1184
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/@@toPrimitive
1185
- */
1186
909
  TuiTime.prototype[Symbol.toPrimitive] = function (hint) {
1187
910
  return Date.prototype[Symbol.toPrimitive].call(this, hint);
1188
911
  };
1189
- /**
1190
- * Converts TuiTime to milliseconds
1191
- */
1192
912
  TuiTime.prototype.toAbsoluteMilliseconds = function () {
1193
913
  return (this.hours * MILLISECONDS_IN_HOUR +
1194
914
  this.minutes * MILLISECONDS_IN_MINUTE +
@@ -1202,10 +922,6 @@
1202
922
  return TuiTime;
1203
923
  }());
1204
924
 
1205
- /**
1206
- * Generated bundle index. Do not edit.
1207
- */
1208
-
1209
925
  exports.DATE_FILLER_LENGTH = DATE_FILLER_LENGTH;
1210
926
  exports.DATE_RANGE_FILLER_LENGTH = DATE_RANGE_FILLER_LENGTH;
1211
927
  exports.DAYS_IN_LEAP_YEAR = DAYS_IN_LEAP_YEAR;