@taiga-ui/cdk 4.51.0 → 4.52.0-canary.0ec45da

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 (806) hide show
  1. package/classes/control.d.ts +2 -2
  2. package/classes/index.d.ts +0 -1
  3. package/constants/index.d.ts +0 -1
  4. package/constants/used-icons.d.ts +1 -1
  5. package/constants/version.d.ts +1 -1
  6. package/constants/version.js +2 -1
  7. package/constants/version.js.map +1 -0
  8. package/date-time/date-time.d.ts +1 -1
  9. package/date-time/day.d.ts +1 -1
  10. package/date-time/time.d.ts +2 -2
  11. package/date-time/types.d.ts +0 -5
  12. package/directives/active-zone/active-zone.directive.d.ts +4 -3
  13. package/directives/animated/animated.directive.d.ts +0 -1
  14. package/directives/auto-focus/autofocus.options.d.ts +2 -2
  15. package/directives/index.d.ts +1 -1
  16. package/directives/let/let.directive.d.ts +1 -2
  17. package/directives/popover/popover.directive.d.ts +1 -1
  18. package/directives/repeat-times/repeat-times.directive.d.ts +2 -2
  19. package/directives/with-styles/index.d.ts +1 -0
  20. package/directives/with-styles/with-styles.directive.d.ts +10 -0
  21. package/fesm2022/taiga-ui-cdk-classes.mjs +6 -78
  22. package/fesm2022/taiga-ui-cdk-classes.mjs.map +1 -1
  23. package/fesm2022/taiga-ui-cdk-constants.mjs +3 -27
  24. package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -1
  25. package/fesm2022/taiga-ui-cdk-date-time.mjs +14 -2
  26. package/fesm2022/taiga-ui-cdk-date-time.mjs.map +1 -1
  27. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs +22 -26
  28. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs.map +1 -1
  29. package/fesm2022/taiga-ui-cdk-directives-animated.mjs +48 -45
  30. package/fesm2022/taiga-ui-cdk-directives-animated.mjs.map +1 -1
  31. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs +5 -5
  32. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs.map +1 -1
  33. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs +4 -4
  34. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs.map +1 -1
  35. package/fesm2022/taiga-ui-cdk-directives-control.mjs +3 -3
  36. package/fesm2022/taiga-ui-cdk-directives-control.mjs.map +1 -1
  37. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs +4 -4
  38. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs.map +1 -1
  39. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs +4 -4
  40. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs.map +1 -1
  41. package/fesm2022/taiga-ui-cdk-directives-element.mjs +4 -4
  42. package/fesm2022/taiga-ui-cdk-directives-element.mjs.map +1 -1
  43. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs +11 -19
  44. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs.map +1 -1
  45. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs +3 -3
  46. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs.map +1 -1
  47. package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs +3 -3
  48. package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs.map +1 -1
  49. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs +8 -8
  50. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs.map +1 -1
  51. package/fesm2022/taiga-ui-cdk-directives-item.mjs +3 -3
  52. package/fesm2022/taiga-ui-cdk-directives-item.mjs.map +1 -1
  53. package/fesm2022/taiga-ui-cdk-directives-let.mjs +6 -7
  54. package/fesm2022/taiga-ui-cdk-directives-let.mjs.map +1 -1
  55. package/fesm2022/taiga-ui-cdk-directives-media.mjs +4 -4
  56. package/fesm2022/taiga-ui-cdk-directives-media.mjs.map +1 -1
  57. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs +4 -4
  58. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs.map +1 -1
  59. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs +15 -9
  60. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs.map +1 -1
  61. package/fesm2022/taiga-ui-cdk-directives-pan.mjs +8 -8
  62. package/fesm2022/taiga-ui-cdk-directives-pan.mjs.map +1 -1
  63. package/fesm2022/taiga-ui-cdk-directives-platform.mjs +4 -4
  64. package/fesm2022/taiga-ui-cdk-directives-platform.mjs.map +1 -1
  65. package/fesm2022/taiga-ui-cdk-directives-popover.mjs +3 -3
  66. package/fesm2022/taiga-ui-cdk-directives-popover.mjs.map +1 -1
  67. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs +10 -10
  68. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs.map +1 -1
  69. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs +7 -7
  70. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs.map +1 -1
  71. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs +8 -8
  72. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs +4 -4
  74. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-cdk-directives-validator.mjs +3 -3
  76. package/fesm2022/taiga-ui-cdk-directives-validator.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs +4 -4
  78. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-cdk-directives-visual-viewport.mjs +3 -3
  80. package/fesm2022/taiga-ui-cdk-directives-visual-viewport.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-cdk-directives-with-styles.mjs +29 -0
  82. package/fesm2022/taiga-ui-cdk-directives-with-styles.mjs.map +1 -0
  83. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs +7 -7
  84. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-cdk-directives.mjs +1 -1
  86. package/fesm2022/taiga-ui-cdk-observables.mjs +8 -4
  87. package/fesm2022/taiga-ui-cdk-observables.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs +3 -3
  89. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-cdk-pipes-filter.mjs +3 -3
  91. package/fesm2022/taiga-ui-cdk-pipes-filter.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs +3 -3
  93. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs +3 -3
  95. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs +3 -3
  97. package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs +3 -3
  99. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs +3 -3
  101. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs +3 -3
  103. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs +3 -3
  105. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-cdk-portals.mjs +126 -0
  107. package/fesm2022/taiga-ui-cdk-portals.mjs.map +1 -0
  108. package/fesm2022/taiga-ui-cdk-services.mjs +17 -15
  109. package/fesm2022/taiga-ui-cdk-services.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-cdk-tokens.mjs +14 -13
  111. package/fesm2022/taiga-ui-cdk-tokens.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-cdk-utils-browser.mjs +1 -23
  113. package/fesm2022/taiga-ui-cdk-utils-browser.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-cdk-utils-color.mjs +1 -1
  115. package/fesm2022/taiga-ui-cdk-utils-color.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-cdk-utils-di.mjs +1 -1
  117. package/fesm2022/taiga-ui-cdk-utils-di.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-cdk-utils-dom.mjs +15 -23
  119. package/fesm2022/taiga-ui-cdk-utils-dom.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-cdk-utils-focus.mjs +13 -14
  121. package/fesm2022/taiga-ui-cdk-utils-focus.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-cdk-utils-math.mjs.map +1 -1
  123. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs +24 -14
  124. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs.map +1 -1
  125. package/fesm2022/taiga-ui-cdk.mjs +1 -0
  126. package/fesm2022/taiga-ui-cdk.mjs.map +1 -1
  127. package/index.d.ts +1 -0
  128. package/package.json +28 -136
  129. package/pipes/obfuscate/obfuscate.options.d.ts +1 -1
  130. package/portals/directive.d.ts +11 -0
  131. package/portals/index.d.ts +4 -0
  132. package/portals/portal.d.ts +25 -0
  133. package/portals/portals.d.ts +12 -0
  134. package/portals/service.d.ts +15 -0
  135. package/schematics/collection.json +2 -1
  136. package/schematics/constants/file-globs.js +2 -1
  137. package/schematics/constants/file-globs.js.map +1 -0
  138. package/schematics/constants/index.js +1 -0
  139. package/schematics/constants/index.js.map +1 -0
  140. package/schematics/constants/taiga-styles.js +1 -0
  141. package/schematics/constants/taiga-styles.js.map +1 -0
  142. package/schematics/index.js +1 -0
  143. package/schematics/index.js.map +1 -0
  144. package/schematics/migrate-tui-let/index.js +5 -3
  145. package/schematics/migrate-tui-let/index.js.map +1 -0
  146. package/schematics/migrate-tui-let/schema.json +7 -0
  147. package/schematics/ng-add/constants/modules.js +1 -0
  148. package/schematics/ng-add/constants/modules.js.map +1 -0
  149. package/schematics/ng-add/constants/packages.js +1 -0
  150. package/schematics/ng-add/constants/packages.js.map +1 -0
  151. package/schematics/ng-add/constants/versions.d.ts +1 -1
  152. package/schematics/ng-add/constants/versions.js +1 -0
  153. package/schematics/ng-add/constants/versions.js.map +1 -0
  154. package/schematics/ng-add/index.js +2 -2
  155. package/schematics/ng-add/index.js.map +1 -0
  156. package/schematics/ng-add/schema.js +1 -0
  157. package/schematics/ng-add/schema.js.map +1 -0
  158. package/schematics/ng-add/setup-project.js +2 -1
  159. package/schematics/ng-add/setup-project.js.map +1 -0
  160. package/schematics/ng-add/steps/add-taiga-icons.js +3 -3
  161. package/schematics/ng-add/steps/add-taiga-icons.js.map +1 -0
  162. package/schematics/ng-add/steps/add-taiga-modules.js +2 -2
  163. package/schematics/ng-add/steps/add-taiga-modules.js.map +1 -0
  164. package/schematics/ng-add/steps/add-taiga-styles.js +2 -2
  165. package/schematics/ng-add/steps/add-taiga-styles.js.map +1 -0
  166. package/schematics/ng-add/steps/wrap-with-tui-root.js +2 -2
  167. package/schematics/ng-add/steps/wrap-with-tui-root.js.map +1 -0
  168. package/schematics/ng-update/interfaces/asset.js +1 -0
  169. package/schematics/ng-update/interfaces/asset.js.map +1 -0
  170. package/schematics/ng-update/interfaces/html-comment.js +1 -0
  171. package/schematics/ng-update/interfaces/html-comment.js.map +1 -0
  172. package/schematics/ng-update/interfaces/index.js +1 -0
  173. package/schematics/ng-update/interfaces/index.js.map +1 -0
  174. package/schematics/ng-update/interfaces/migration-warning.js +1 -0
  175. package/schematics/ng-update/interfaces/migration-warning.js.map +1 -0
  176. package/schematics/ng-update/interfaces/removable-input.js +1 -0
  177. package/schematics/ng-update/interfaces/removable-input.js.map +1 -0
  178. package/schematics/ng-update/interfaces/removed-module.js +1 -0
  179. package/schematics/ng-update/interfaces/removed-module.js.map +1 -0
  180. package/schematics/ng-update/interfaces/replacement-attribute-to-directive.js +1 -0
  181. package/schematics/ng-update/interfaces/replacement-attribute-to-directive.js.map +1 -0
  182. package/schematics/ng-update/interfaces/replacement-attribute-value.js +1 -0
  183. package/schematics/ng-update/interfaces/replacement-attribute-value.js.map +1 -0
  184. package/schematics/ng-update/interfaces/replacement-attribute.js +1 -0
  185. package/schematics/ng-update/interfaces/replacement-attribute.js.map +1 -0
  186. package/schematics/ng-update/interfaces/replacement-enum.js +1 -0
  187. package/schematics/ng-update/interfaces/replacement-enum.js.map +1 -0
  188. package/schematics/ng-update/interfaces/replacement-identifier.js +1 -0
  189. package/schematics/ng-update/interfaces/replacement-identifier.js.map +1 -0
  190. package/schematics/ng-update/interfaces/replacement-service.js +1 -0
  191. package/schematics/ng-update/interfaces/replacement-service.js.map +1 -0
  192. package/schematics/ng-update/interfaces/replacement-tag.js +1 -0
  193. package/schematics/ng-update/interfaces/replacement-tag.js.map +1 -0
  194. package/schematics/ng-update/interfaces/replacement-type.js +1 -0
  195. package/schematics/ng-update/interfaces/replacement-type.js.map +1 -0
  196. package/schematics/ng-update/interfaces/template-resource.js +1 -0
  197. package/schematics/ng-update/interfaces/template-resource.js.map +1 -0
  198. package/schematics/ng-update/steps/icons/replace-imports.js +2 -2
  199. package/schematics/ng-update/steps/icons/replace-imports.js.map +1 -0
  200. package/schematics/ng-update/steps/index.js +1 -0
  201. package/schematics/ng-update/steps/index.js.map +1 -0
  202. package/schematics/ng-update/steps/rename-types.js +2 -2
  203. package/schematics/ng-update/steps/rename-types.js.map +1 -0
  204. package/schematics/ng-update/steps/replace-deep-import.js +2 -2
  205. package/schematics/ng-update/steps/replace-deep-import.js.map +1 -0
  206. package/schematics/ng-update/steps/replace-enums.js +2 -2
  207. package/schematics/ng-update/steps/replace-enums.js.map +1 -0
  208. package/schematics/ng-update/steps/replace-identifier.js +3 -3
  209. package/schematics/ng-update/steps/replace-identifier.js.map +1 -0
  210. package/schematics/ng-update/steps/replace-package-name.js +2 -2
  211. package/schematics/ng-update/steps/replace-package-name.js.map +1 -0
  212. package/schematics/ng-update/steps/replace-services.js +2 -2
  213. package/schematics/ng-update/steps/replace-services.js.map +1 -0
  214. package/schematics/ng-update/steps/show-warnings.js +2 -2
  215. package/schematics/ng-update/steps/show-warnings.js.map +1 -0
  216. package/schematics/ng-update/utils/get-file-system.js +2 -2
  217. package/schematics/ng-update/utils/get-file-system.js.map +1 -0
  218. package/schematics/ng-update/{v4/steps → utils}/replace-functions.d.ts +1 -1
  219. package/schematics/ng-update/{v4/steps → utils}/replace-functions.js +3 -3
  220. package/schematics/ng-update/utils/replace-functions.js.map +1 -0
  221. package/schematics/ng-update/utils/replace-text.js +2 -2
  222. package/schematics/ng-update/utils/replace-text.js.map +1 -0
  223. package/schematics/ng-update/utils/templates/index.js +1 -0
  224. package/schematics/ng-update/utils/templates/index.js.map +1 -0
  225. package/schematics/ng-update/utils/templates/remove-inputs.js +2 -2
  226. package/schematics/ng-update/utils/templates/remove-inputs.js.map +1 -0
  227. package/schematics/ng-update/utils/templates/replace-attr-values.js +2 -2
  228. package/schematics/ng-update/utils/templates/replace-attr-values.js.map +1 -0
  229. package/schematics/ng-update/utils/templates/replace-attrs-by-directives.js +2 -2
  230. package/schematics/ng-update/utils/templates/replace-attrs-by-directives.js.map +1 -0
  231. package/schematics/ng-update/utils/templates/replace-attrs.js +2 -2
  232. package/schematics/ng-update/utils/templates/replace-attrs.js.map +1 -0
  233. package/schematics/ng-update/utils/templates/replace-tag.js +2 -2
  234. package/schematics/ng-update/utils/templates/replace-tag.js.map +1 -0
  235. package/schematics/ng-update/utils/templates/replace-tags.js +2 -2
  236. package/schematics/ng-update/utils/templates/replace-tags.js.map +1 -0
  237. package/schematics/ng-update/utils/templates/template-comments.js +2 -2
  238. package/schematics/ng-update/utils/templates/template-comments.js.map +1 -0
  239. package/schematics/ng-update/v4/index.js +3 -3
  240. package/schematics/ng-update/v4/index.js.map +1 -0
  241. package/schematics/ng-update/v4/migrate-addon-doc/index.js +2 -2
  242. package/schematics/ng-update/v4/migrate-addon-doc/index.js.map +1 -0
  243. package/schematics/ng-update/v4/migrate-addon-doc/replace-symbols.js +1 -0
  244. package/schematics/ng-update/v4/migrate-addon-doc/replace-symbols.js.map +1 -0
  245. package/schematics/ng-update/v4/migrate-css-vars/index.js +2 -2
  246. package/schematics/ng-update/v4/migrate-css-vars/index.js.map +1 -0
  247. package/schematics/ng-update/v4/migrate-css-vars/palette.js +1 -0
  248. package/schematics/ng-update/v4/migrate-css-vars/palette.js.map +1 -0
  249. package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.d.ts +0 -1
  250. package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.js +2 -2
  251. package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.js.map +1 -0
  252. package/schematics/ng-update/v4/migrate-icons/index.js +2 -2
  253. package/schematics/ng-update/v4/migrate-icons/index.js.map +1 -0
  254. package/schematics/ng-update/v4/migrate-icons/rename-icons.d.ts +0 -1
  255. package/schematics/ng-update/v4/migrate-icons/rename-icons.js +2 -2
  256. package/schematics/ng-update/v4/migrate-icons/rename-icons.js.map +1 -0
  257. package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.d.ts +0 -1
  258. package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.js +2 -2
  259. package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.js.map +1 -0
  260. package/schematics/ng-update/v4/steps/constants/attr-to-directive-replace.js +1 -0
  261. package/schematics/ng-update/v4/steps/constants/attr-to-directive-replace.js.map +1 -0
  262. package/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.js +1 -0
  263. package/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.js.map +1 -0
  264. package/schematics/ng-update/v4/steps/constants/attrs-to-replace.js +1 -0
  265. package/schematics/ng-update/v4/steps/constants/attrs-to-replace.js.map +1 -0
  266. package/schematics/ng-update/v4/steps/constants/enums.js +1 -0
  267. package/schematics/ng-update/v4/steps/constants/enums.js.map +1 -0
  268. package/schematics/ng-update/v4/steps/constants/functions.js +1 -0
  269. package/schematics/ng-update/v4/steps/constants/functions.js.map +1 -0
  270. package/schematics/ng-update/v4/steps/constants/html-comments.js +1 -0
  271. package/schematics/ng-update/v4/steps/constants/html-comments.js.map +1 -0
  272. package/schematics/ng-update/v4/steps/constants/identifiers-to-replace.js +1 -0
  273. package/schematics/ng-update/v4/steps/constants/identifiers-to-replace.js.map +1 -0
  274. package/schematics/ng-update/v4/steps/constants/index.js +1 -0
  275. package/schematics/ng-update/v4/steps/constants/index.js.map +1 -0
  276. package/schematics/ng-update/v4/steps/constants/inputs-to-remove.js +1 -0
  277. package/schematics/ng-update/v4/steps/constants/inputs-to-remove.js.map +1 -0
  278. package/schematics/ng-update/v4/steps/constants/migration-warnings.js +2 -1
  279. package/schematics/ng-update/v4/steps/constants/migration-warnings.js.map +1 -0
  280. package/schematics/ng-update/v4/steps/constants/modules-to-remove.js +1 -0
  281. package/schematics/ng-update/v4/steps/constants/modules-to-remove.js.map +1 -0
  282. package/schematics/ng-update/v4/steps/constants/modules-to-replace.js +1 -0
  283. package/schematics/ng-update/v4/steps/constants/modules-to-replace.js.map +1 -0
  284. package/schematics/ng-update/v4/steps/constants/services.js +1 -0
  285. package/schematics/ng-update/v4/steps/constants/services.js.map +1 -0
  286. package/schematics/ng-update/v4/steps/constants/tags-to-replace.js +1 -0
  287. package/schematics/ng-update/v4/steps/constants/tags-to-replace.js.map +1 -0
  288. package/schematics/ng-update/v4/steps/constants/types.js +1 -0
  289. package/schematics/ng-update/v4/steps/constants/types.js.map +1 -0
  290. package/schematics/ng-update/v4/steps/drop-universal-mock.js +2 -2
  291. package/schematics/ng-update/v4/steps/drop-universal-mock.js.map +1 -0
  292. package/schematics/ng-update/v4/steps/index.js +1 -0
  293. package/schematics/ng-update/v4/steps/index.js.map +1 -0
  294. package/schematics/ng-update/v4/steps/migrate-alert-service.js +2 -2
  295. package/schematics/ng-update/v4/steps/migrate-alert-service.js.map +1 -0
  296. package/schematics/ng-update/v4/steps/migrate-all-country-iso-codes.js +2 -2
  297. package/schematics/ng-update/v4/steps/migrate-all-country-iso-codes.js.map +1 -0
  298. package/schematics/ng-update/v4/steps/migrate-destroy-service.js +2 -2
  299. package/schematics/ng-update/v4/steps/migrate-destroy-service.js.map +1 -0
  300. package/schematics/ng-update/v4/steps/migrate-editor.d.ts +0 -1
  301. package/schematics/ng-update/v4/steps/migrate-editor.js +3 -2
  302. package/schematics/ng-update/v4/steps/migrate-editor.js.map +1 -0
  303. package/schematics/ng-update/v4/steps/migrate-legacy-mask.js +2 -2
  304. package/schematics/ng-update/v4/steps/migrate-legacy-mask.js.map +1 -0
  305. package/schematics/ng-update/v4/steps/migrate-month-context.js +2 -2
  306. package/schematics/ng-update/v4/steps/migrate-month-context.js.map +1 -0
  307. package/schematics/ng-update/v4/steps/migrate-number-format-settings.js +2 -2
  308. package/schematics/ng-update/v4/steps/migrate-number-format-settings.js.map +1 -0
  309. package/schematics/ng-update/v4/steps/migrate-option-providers.js +2 -2
  310. package/schematics/ng-update/v4/steps/migrate-option-providers.js.map +1 -0
  311. package/schematics/ng-update/v4/steps/migrate-proprietary.d.ts +0 -1
  312. package/schematics/ng-update/v4/steps/migrate-proprietary.js +3 -3
  313. package/schematics/ng-update/v4/steps/migrate-proprietary.js.map +1 -0
  314. package/schematics/ng-update/v4/steps/migrate-providers-from.js +2 -2
  315. package/schematics/ng-update/v4/steps/migrate-providers-from.js.map +1 -0
  316. package/schematics/ng-update/v4/steps/migrate-root.js +2 -2
  317. package/schematics/ng-update/v4/steps/migrate-root.js.map +1 -0
  318. package/schematics/ng-update/v4/steps/migrate-templates.js +3 -3
  319. package/schematics/ng-update/v4/steps/migrate-templates.js.map +1 -0
  320. package/schematics/ng-update/v4/steps/remove-duplicates.js +2 -2
  321. package/schematics/ng-update/v4/steps/remove-duplicates.js.map +1 -0
  322. package/schematics/ng-update/v4/steps/restore-tui-mapper.js +3 -3
  323. package/schematics/ng-update/v4/steps/restore-tui-mapper.js.map +1 -0
  324. package/schematics/ng-update/v4/steps/restore-tui-matcher.js +3 -3
  325. package/schematics/ng-update/v4/steps/restore-tui-matcher.js.map +1 -0
  326. package/schematics/ng-update/v4/steps/styles/index.d.ts +0 -1
  327. package/schematics/ng-update/v4/steps/styles/index.js +3 -2
  328. package/schematics/ng-update/v4/steps/styles/index.js.map +1 -0
  329. package/schematics/ng-update/v4/steps/styles/migrate-legacy-mixins.js +2 -2
  330. package/schematics/ng-update/v4/steps/styles/migrate-legacy-mixins.js.map +1 -0
  331. package/schematics/ng-update/v4/steps/styles/migrate-less-scss-constants.js +2 -2
  332. package/schematics/ng-update/v4/steps/styles/migrate-less-scss-constants.js.map +1 -0
  333. package/schematics/ng-update/v4/steps/styles/migrate-mixins.js +2 -2
  334. package/schematics/ng-update/v4/steps/styles/migrate-mixins.js.map +1 -0
  335. package/schematics/ng-update/v4/steps/styles/migrate-shadow-mixins.js +2 -2
  336. package/schematics/ng-update/v4/steps/styles/migrate-shadow-mixins.js.map +1 -0
  337. package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js +2 -2
  338. package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js.map +1 -0
  339. package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.js +2 -2
  340. package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.js.map +1 -0
  341. package/schematics/ng-update/v4/steps/templates/dropdown-ref-comment.js +2 -2
  342. package/schematics/ng-update/v4/steps/templates/dropdown-ref-comment.js.map +1 -0
  343. package/schematics/ng-update/v4/steps/templates/index.js +1 -0
  344. package/schematics/ng-update/v4/steps/templates/index.js.map +1 -0
  345. package/schematics/ng-update/v4/steps/templates/migrate-active-zone.js +2 -2
  346. package/schematics/ng-update/v4/steps/templates/migrate-active-zone.js.map +1 -0
  347. package/schematics/ng-update/v4/steps/templates/migrate-avatar.js +2 -2
  348. package/schematics/ng-update/v4/steps/templates/migrate-avatar.js.map +1 -0
  349. package/schematics/ng-update/v4/steps/templates/migrate-axes.js +2 -2
  350. package/schematics/ng-update/v4/steps/templates/migrate-axes.js.map +1 -0
  351. package/schematics/ng-update/v4/steps/templates/migrate-badge.js +2 -2
  352. package/schematics/ng-update/v4/steps/templates/migrate-badge.js.map +1 -0
  353. package/schematics/ng-update/v4/steps/templates/migrate-badged-content.js +2 -2
  354. package/schematics/ng-update/v4/steps/templates/migrate-badged-content.js.map +1 -0
  355. package/schematics/ng-update/v4/steps/templates/migrate-blocked.js +2 -2
  356. package/schematics/ng-update/v4/steps/templates/migrate-blocked.js.map +1 -0
  357. package/schematics/ng-update/v4/steps/templates/migrate-button-appearance.js +2 -2
  358. package/schematics/ng-update/v4/steps/templates/migrate-button-appearance.js.map +1 -0
  359. package/schematics/ng-update/v4/steps/templates/migrate-expandable.js +2 -2
  360. package/schematics/ng-update/v4/steps/templates/migrate-expandable.js.map +1 -0
  361. package/schematics/ng-update/v4/steps/templates/migrate-filter-pipe.js +2 -2
  362. package/schematics/ng-update/v4/steps/templates/migrate-filter-pipe.js.map +1 -0
  363. package/schematics/ng-update/v4/steps/templates/migrate-focusable.js +2 -2
  364. package/schematics/ng-update/v4/steps/templates/migrate-focusable.js.map +1 -0
  365. package/schematics/ng-update/v4/steps/templates/migrate-label.js +2 -2
  366. package/schematics/ng-update/v4/steps/templates/migrate-label.js.map +1 -0
  367. package/schematics/ng-update/v4/steps/templates/migrate-labeled.js +2 -2
  368. package/schematics/ng-update/v4/steps/templates/migrate-labeled.js.map +1 -0
  369. package/schematics/ng-update/v4/steps/templates/migrate-mobile-tabs.js +2 -2
  370. package/schematics/ng-update/v4/steps/templates/migrate-mobile-tabs.js.map +1 -0
  371. package/schematics/ng-update/v4/steps/templates/migrate-money.js +2 -2
  372. package/schematics/ng-update/v4/steps/templates/migrate-money.js.map +1 -0
  373. package/schematics/ng-update/v4/steps/templates/migrate-notification.js +2 -2
  374. package/schematics/ng-update/v4/steps/templates/migrate-notification.js.map +1 -0
  375. package/schematics/ng-update/v4/steps/templates/migrate-number-precision.js +2 -2
  376. package/schematics/ng-update/v4/steps/templates/migrate-number-precision.js.map +1 -0
  377. package/schematics/ng-update/v4/steps/templates/migrate-overscroll.js +2 -2
  378. package/schematics/ng-update/v4/steps/templates/migrate-overscroll.js.map +1 -0
  379. package/schematics/ng-update/v4/steps/templates/migrate-prevent-default.js +2 -2
  380. package/schematics/ng-update/v4/steps/templates/migrate-prevent-default.js.map +1 -0
  381. package/schematics/ng-update/v4/steps/templates/migrate-progress-segmented.js +2 -2
  382. package/schematics/ng-update/v4/steps/templates/migrate-progress-segmented.js.map +1 -0
  383. package/schematics/ng-update/v4/steps/templates/migrate-thumbnail-card.js +2 -2
  384. package/schematics/ng-update/v4/steps/templates/migrate-thumbnail-card.js.map +1 -0
  385. package/schematics/ng-update/v4/steps/templates/toggles/common.js +5 -5
  386. package/schematics/ng-update/v4/steps/templates/toggles/common.js.map +1 -0
  387. package/schematics/ng-update/v4/steps/templates/toggles/index.js +1 -0
  388. package/schematics/ng-update/v4/steps/templates/toggles/index.js.map +1 -0
  389. package/schematics/ng-update/v4/steps/templates/toggles/migrate-checkbox.js +2 -2
  390. package/schematics/ng-update/v4/steps/templates/toggles/migrate-checkbox.js.map +1 -0
  391. package/schematics/ng-update/v4/steps/templates/toggles/migrate-radio.js +2 -2
  392. package/schematics/ng-update/v4/steps/templates/toggles/migrate-radio.js.map +1 -0
  393. package/schematics/ng-update/v4/steps/templates/toggles/migrate-toggle.js +2 -2
  394. package/schematics/ng-update/v4/steps/templates/toggles/migrate-toggle.js.map +1 -0
  395. package/schematics/ng-update/v4/steps/update-packages.d.ts +0 -1
  396. package/schematics/ng-update/v4/steps/update-packages.js +3 -2
  397. package/schematics/ng-update/v4/steps/update-packages.js.map +1 -0
  398. package/schematics/ng-update/v4/steps/utils/clean-object.js +2 -2
  399. package/schematics/ng-update/v4/steps/utils/clean-object.js.map +1 -0
  400. package/schematics/ng-update/v4/steps/utils/normalize-attr-value.js +2 -2
  401. package/schematics/ng-update/v4/steps/utils/normalize-attr-value.js.map +1 -0
  402. package/schematics/ng-update/v4/steps/utils/remove-attrs.js +2 -2
  403. package/schematics/ng-update/v4/steps/utils/remove-attrs.js.map +1 -0
  404. package/schematics/ng-update/v4/steps/utils/replace-modules-with-providers.js +1 -0
  405. package/schematics/ng-update/v4/steps/utils/replace-modules-with-providers.js.map +1 -0
  406. package/schematics/ng-update/v4/steps/utils/replace-substrings.js +2 -2
  407. package/schematics/ng-update/v4/steps/utils/replace-substrings.js.map +1 -0
  408. package/schematics/ng-update/v4/tests/migrate-destroy-service/utils.js +2 -2
  409. package/schematics/ng-update/v4/tests/migrate-destroy-service/utils.js.map +1 -0
  410. package/schematics/ng-update/v5/index.js +11 -2
  411. package/schematics/ng-update/v5/index.js.map +1 -0
  412. package/schematics/ng-update/v5/steps/constants/functions.d.ts +2 -0
  413. package/schematics/ng-update/v5/steps/constants/functions.js +72 -0
  414. package/schematics/ng-update/v5/steps/constants/functions.js.map +1 -0
  415. package/schematics/ng-update/v5/steps/constants/html-comments.d.ts +2 -0
  416. package/schematics/ng-update/v5/steps/constants/html-comments.js +11 -0
  417. package/schematics/ng-update/v5/steps/constants/html-comments.js.map +1 -0
  418. package/schematics/ng-update/v5/steps/migrate-templates.d.ts +17 -0
  419. package/schematics/ng-update/v5/steps/migrate-templates.js +40 -0
  420. package/schematics/ng-update/v5/steps/migrate-templates.js.map +1 -0
  421. package/schematics/ng-update/v5/steps/migrate-tokens/migrate-tokens.js +2 -2
  422. package/schematics/ng-update/v5/steps/migrate-tokens/migrate-tokens.js.map +1 -0
  423. package/schematics/ng-update/v5/steps/migrate-tokens/update-tsconfig.js +2 -2
  424. package/schematics/ng-update/v5/steps/migrate-tokens/update-tsconfig.js.map +1 -0
  425. package/schematics/ng-update/v5/tests/migrate-tokens/utils.js +2 -2
  426. package/schematics/ng-update/v5/tests/migrate-tokens/utils.js.map +1 -0
  427. package/schematics/utils/add-import-to-closest-module.js +3 -3
  428. package/schematics/utils/add-import-to-closest-module.js.map +1 -0
  429. package/schematics/utils/add-unique-import.js +2 -2
  430. package/schematics/utils/add-unique-import.js.map +1 -0
  431. package/schematics/utils/angular-json-manipulations.js +3 -5
  432. package/schematics/utils/angular-json-manipulations.js.map +1 -0
  433. package/schematics/utils/create-angular-json.js +2 -2
  434. package/schematics/utils/create-angular-json.js.map +1 -0
  435. package/schematics/utils/get-component-from-identifier.js +2 -2
  436. package/schematics/utils/get-component-from-identifier.js.map +1 -0
  437. package/schematics/utils/get-execution-time.js +2 -2
  438. package/schematics/utils/get-execution-time.js.map +1 -0
  439. package/schematics/utils/get-named-import-references.js +2 -2
  440. package/schematics/utils/get-named-import-references.js.map +1 -0
  441. package/schematics/utils/get-project-target-options.js +2 -2
  442. package/schematics/utils/get-project-target-options.js.map +1 -0
  443. package/schematics/utils/get-projects.js +2 -2
  444. package/schematics/utils/get-projects.js.map +1 -0
  445. package/schematics/utils/get-standalone-bootstrap-function.d.ts +1 -1
  446. package/schematics/utils/get-standalone-bootstrap-function.js +3 -5
  447. package/schematics/utils/get-standalone-bootstrap-function.js.map +1 -0
  448. package/schematics/utils/import-manipulations.js +3 -3
  449. package/schematics/utils/import-manipulations.js.map +1 -0
  450. package/schematics/utils/insert-todo.js +3 -2
  451. package/schematics/utils/insert-todo.js.map +1 -0
  452. package/schematics/utils/is-ci.js +2 -2
  453. package/schematics/utils/is-ci.js.map +1 -0
  454. package/schematics/utils/make-angular-json-with-assets.js +2 -2
  455. package/schematics/utils/make-angular-json-with-assets.js.map +1 -0
  456. package/schematics/utils/progress.js +2 -2
  457. package/schematics/utils/progress.js.map +1 -0
  458. package/schematics/utils/project-root.js +1 -0
  459. package/schematics/utils/project-root.js.map +1 -0
  460. package/schematics/utils/push-to-array-property.js +2 -2
  461. package/schematics/utils/push-to-array-property.js.map +1 -0
  462. package/schematics/utils/remove-module.js +3 -3
  463. package/schematics/utils/remove-module.js.map +1 -0
  464. package/schematics/utils/templates/elements.js +16 -24
  465. package/schematics/utils/templates/elements.js.map +1 -0
  466. package/schematics/utils/templates/get-component-templates.js +2 -2
  467. package/schematics/utils/templates/get-component-templates.js.map +1 -0
  468. package/schematics/utils/templates/inputs.js +3 -3
  469. package/schematics/utils/templates/inputs.js.map +1 -0
  470. package/schematics/utils/templates/ng-component-input-manipulations.js +7 -9
  471. package/schematics/utils/templates/ng-component-input-manipulations.js.map +1 -0
  472. package/schematics/utils/templates/template-resource.js +4 -4
  473. package/schematics/utils/templates/template-resource.js.map +1 -0
  474. package/services/scroll.service.d.ts +3 -0
  475. package/tokens/environment.d.ts +5 -0
  476. package/utils/browser/index.d.ts +0 -2
  477. package/utils/di/create-options.d.ts +2 -2
  478. package/utils/dom/get-element-obscurers.d.ts +1 -1
  479. package/utils/focus/blur-native-focused.d.ts +1 -1
  480. package/utils/focus/get-native-focused.d.ts +1 -1
  481. package/utils/focus/is-native-focused-in.d.ts +1 -1
  482. package/utils/focus/is-native-focused.d.ts +1 -1
  483. package/utils/focus/is-native-keyboard-focusable.d.ts +1 -1
  484. package/utils/focus/is-native-mouse-focusable.d.ts +1 -1
  485. package/utils/miscellaneous/index.d.ts +1 -1
  486. package/utils/miscellaneous/is-string.js +2 -2
  487. package/utils/miscellaneous/is-string.js.map +1 -0
  488. package/utils/miscellaneous/provide-options.d.ts +2 -2
  489. package/utils/miscellaneous/set-signal.d.ts +2 -0
  490. package/classes/portals.d.ts +0 -33
  491. package/constants/allow-signal-writes.d.ts +0 -2
  492. package/directives/for/for.directive.d.ts +0 -12
  493. package/directives/for/index.d.ts +0 -1
  494. package/esm2022/classes/control.mjs +0 -96
  495. package/esm2022/classes/index.mjs +0 -5
  496. package/esm2022/classes/portals.mjs +0 -77
  497. package/esm2022/classes/taiga-ui-cdk-classes.mjs +0 -5
  498. package/esm2022/classes/validation-error.mjs +0 -7
  499. package/esm2022/classes/value-transformer.mjs +0 -25
  500. package/esm2022/constants/allow-signal-writes.mjs +0 -3
  501. package/esm2022/constants/empty.mjs +0 -25
  502. package/esm2022/constants/handlers.mjs +0 -11
  503. package/esm2022/constants/index.mjs +0 -10
  504. package/esm2022/constants/matchers.mjs +0 -26
  505. package/esm2022/constants/regexp.mjs +0 -4
  506. package/esm2022/constants/svg-node-filter.mjs +0 -8
  507. package/esm2022/constants/taiga-ui-cdk-constants.mjs +0 -5
  508. package/esm2022/constants/unicode-chars.mjs +0 -64
  509. package/esm2022/constants/used-icons.mjs +0 -76
  510. package/esm2022/constants/version.mjs +0 -2
  511. package/esm2022/date-time/date-clamp.mjs +0 -10
  512. package/esm2022/date-time/date-fillers.mjs +0 -15
  513. package/esm2022/date-time/date-time.mjs +0 -20
  514. package/esm2022/date-time/day-of-week.mjs +0 -10
  515. package/esm2022/date-time/day-range.mjs +0 -84
  516. package/esm2022/date-time/day.mjs +0 -294
  517. package/esm2022/date-time/days.const.mjs +0 -6
  518. package/esm2022/date-time/index.mjs +0 -13
  519. package/esm2022/date-time/month-number.mjs +0 -15
  520. package/esm2022/date-time/month-range.mjs +0 -27
  521. package/esm2022/date-time/month.mjs +0 -152
  522. package/esm2022/date-time/taiga-ui-cdk-date-time.mjs +0 -5
  523. package/esm2022/date-time/time.mjs +0 -161
  524. package/esm2022/date-time/types.mjs +0 -2
  525. package/esm2022/date-time/year.mjs +0 -111
  526. package/esm2022/directives/active-zone/active-zone.directive.mjs +0 -74
  527. package/esm2022/directives/active-zone/index.mjs +0 -2
  528. package/esm2022/directives/active-zone/taiga-ui-cdk-directives-active-zone.mjs +0 -5
  529. package/esm2022/directives/animated/animated-parent.directive.mjs +0 -39
  530. package/esm2022/directives/animated/animated.directive.mjs +0 -81
  531. package/esm2022/directives/animated/index.mjs +0 -3
  532. package/esm2022/directives/animated/taiga-ui-cdk-directives-animated.mjs +0 -5
  533. package/esm2022/directives/auto-focus/autofocus.directive.mjs +0 -46
  534. package/esm2022/directives/auto-focus/autofocus.options.mjs +0 -31
  535. package/esm2022/directives/auto-focus/handlers/abstract.handler.mjs +0 -17
  536. package/esm2022/directives/auto-focus/handlers/default.handler.mjs +0 -21
  537. package/esm2022/directives/auto-focus/handlers/ios.handler.mjs +0 -125
  538. package/esm2022/directives/auto-focus/handlers/sync.handler.mjs +0 -7
  539. package/esm2022/directives/auto-focus/index.mjs +0 -7
  540. package/esm2022/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.mjs +0 -5
  541. package/esm2022/directives/click-outside/click-outside.directive.mjs +0 -33
  542. package/esm2022/directives/click-outside/index.mjs +0 -2
  543. package/esm2022/directives/click-outside/taiga-ui-cdk-directives-click-outside.mjs +0 -5
  544. package/esm2022/directives/control/control.directive.mjs +0 -23
  545. package/esm2022/directives/control/index.mjs +0 -2
  546. package/esm2022/directives/control/taiga-ui-cdk-directives-control.mjs +0 -5
  547. package/esm2022/directives/copy-processor/copy-processor.directive.mjs +0 -33
  548. package/esm2022/directives/copy-processor/index.mjs +0 -2
  549. package/esm2022/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.mjs +0 -5
  550. package/esm2022/directives/droppable/droppable.directive.mjs +0 -31
  551. package/esm2022/directives/droppable/index.mjs +0 -2
  552. package/esm2022/directives/droppable/taiga-ui-cdk-directives-droppable.mjs +0 -5
  553. package/esm2022/directives/element/element.directive.mjs +0 -35
  554. package/esm2022/directives/element/index.mjs +0 -2
  555. package/esm2022/directives/element/taiga-ui-cdk-directives-element.mjs +0 -5
  556. package/esm2022/directives/focus-trap/focus-trap.directive.mjs +0 -67
  557. package/esm2022/directives/focus-trap/index.mjs +0 -2
  558. package/esm2022/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.mjs +0 -5
  559. package/esm2022/directives/font-size/font-size.directive.mjs +0 -27
  560. package/esm2022/directives/font-size/index.mjs +0 -2
  561. package/esm2022/directives/font-size/taiga-ui-cdk-directives-font-size.mjs +0 -5
  562. package/esm2022/directives/for/for.directive.mjs +0 -34
  563. package/esm2022/directives/for/index.mjs +0 -2
  564. package/esm2022/directives/for/taiga-ui-cdk-directives-for.mjs +0 -5
  565. package/esm2022/directives/high-dpi/high-dpi.directive.mjs +0 -23
  566. package/esm2022/directives/high-dpi/index.mjs +0 -2
  567. package/esm2022/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.mjs +0 -5
  568. package/esm2022/directives/hovered/hovered.directive.mjs +0 -22
  569. package/esm2022/directives/hovered/hovered.service.mjs +0 -35
  570. package/esm2022/directives/hovered/index.mjs +0 -3
  571. package/esm2022/directives/hovered/taiga-ui-cdk-directives-hovered.mjs +0 -5
  572. package/esm2022/directives/index.mjs +0 -30
  573. package/esm2022/directives/item/index.mjs +0 -2
  574. package/esm2022/directives/item/item.directive.mjs +0 -18
  575. package/esm2022/directives/item/taiga-ui-cdk-directives-item.mjs +0 -5
  576. package/esm2022/directives/let/index.mjs +0 -3
  577. package/esm2022/directives/let/let-context.mjs +0 -15
  578. package/esm2022/directives/let/let.directive.mjs +0 -34
  579. package/esm2022/directives/let/taiga-ui-cdk-directives-let.mjs +0 -5
  580. package/esm2022/directives/media/index.mjs +0 -2
  581. package/esm2022/directives/media/media.directive.mjs +0 -89
  582. package/esm2022/directives/media/taiga-ui-cdk-directives-media.mjs +0 -5
  583. package/esm2022/directives/native-validator/index.mjs +0 -2
  584. package/esm2022/directives/native-validator/native-validator.directive.mjs +0 -43
  585. package/esm2022/directives/native-validator/taiga-ui-cdk-directives-native-validator.mjs +0 -5
  586. package/esm2022/directives/obscured/index.mjs +0 -3
  587. package/esm2022/directives/obscured/obscured.directive.mjs +0 -36
  588. package/esm2022/directives/obscured/obscured.service.mjs +0 -24
  589. package/esm2022/directives/obscured/taiga-ui-cdk-directives-obscured.mjs +0 -5
  590. package/esm2022/directives/pan/index.mjs +0 -3
  591. package/esm2022/directives/pan/pan.directive.mjs +0 -22
  592. package/esm2022/directives/pan/pan.service.mjs +0 -28
  593. package/esm2022/directives/pan/taiga-ui-cdk-directives-pan.mjs +0 -5
  594. package/esm2022/directives/platform/index.mjs +0 -2
  595. package/esm2022/directives/platform/platform.directive.mjs +0 -35
  596. package/esm2022/directives/platform/taiga-ui-cdk-directives-platform.mjs +0 -5
  597. package/esm2022/directives/popover/index.mjs +0 -2
  598. package/esm2022/directives/popover/popover.directive.mjs +0 -26
  599. package/esm2022/directives/popover/taiga-ui-cdk-directives-popover.mjs +0 -5
  600. package/esm2022/directives/repeat-times/index.mjs +0 -2
  601. package/esm2022/directives/repeat-times/repeat-times.directive.mjs +0 -55
  602. package/esm2022/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.mjs +0 -5
  603. package/esm2022/directives/resizer/index.mjs +0 -3
  604. package/esm2022/directives/resizer/resizable.directive.mjs +0 -16
  605. package/esm2022/directives/resizer/resizer.directive.mjs +0 -83
  606. package/esm2022/directives/resizer/taiga-ui-cdk-directives-resizer.mjs +0 -5
  607. package/esm2022/directives/swipe/index.mjs +0 -4
  608. package/esm2022/directives/swipe/swipe.directive.mjs +0 -22
  609. package/esm2022/directives/swipe/swipe.options.mjs +0 -8
  610. package/esm2022/directives/swipe/swipe.service.mjs +0 -50
  611. package/esm2022/directives/swipe/swipe.types.mjs +0 -2
  612. package/esm2022/directives/swipe/taiga-ui-cdk-directives-swipe.mjs +0 -5
  613. package/esm2022/directives/taiga-ui-cdk-directives.mjs +0 -5
  614. package/esm2022/directives/transitioned/index.mjs +0 -2
  615. package/esm2022/directives/transitioned/taiga-ui-cdk-directives-transitioned.mjs +0 -5
  616. package/esm2022/directives/transitioned/transitioned.directive.mjs +0 -27
  617. package/esm2022/directives/validator/index.mjs +0 -2
  618. package/esm2022/directives/validator/taiga-ui-cdk-directives-validator.mjs +0 -5
  619. package/esm2022/directives/validator/validator.directive.mjs +0 -30
  620. package/esm2022/directives/value-changes/index.mjs +0 -2
  621. package/esm2022/directives/value-changes/taiga-ui-cdk-directives-value-changes.mjs +0 -5
  622. package/esm2022/directives/value-changes/value-changes.directive.mjs +0 -28
  623. package/esm2022/directives/visual-viewport/index.mjs +0 -2
  624. package/esm2022/directives/visual-viewport/taiga-ui-cdk-directives-visual-viewport.mjs +0 -5
  625. package/esm2022/directives/visual-viewport/visual-viewport.directive.mjs +0 -34
  626. package/esm2022/directives/zoom/index.mjs +0 -4
  627. package/esm2022/directives/zoom/taiga-ui-cdk-directives-zoom.mjs +0 -5
  628. package/esm2022/directives/zoom/zoom.directive.mjs +0 -24
  629. package/esm2022/directives/zoom/zoom.options.mjs +0 -10
  630. package/esm2022/directives/zoom/zoom.service.mjs +0 -46
  631. package/esm2022/directives/zoom/zoom.types.mjs +0 -2
  632. package/esm2022/index.mjs +0 -10
  633. package/esm2022/observables/close-watcher.mjs +0 -22
  634. package/esm2022/observables/control-value.mjs +0 -8
  635. package/esm2022/observables/drag-and-drop-from.mjs +0 -14
  636. package/esm2022/observables/events.mjs +0 -8
  637. package/esm2022/observables/if-map.mjs +0 -5
  638. package/esm2022/observables/index.mjs +0 -14
  639. package/esm2022/observables/must-be-present.mjs +0 -17
  640. package/esm2022/observables/query-list-observable.mjs +0 -9
  641. package/esm2022/observables/scroll-from.mjs +0 -10
  642. package/esm2022/observables/taiga-ui-cdk-observables.mjs +0 -5
  643. package/esm2022/observables/take-until-destroyed.mjs +0 -9
  644. package/esm2022/observables/typed-from-event.mjs +0 -9
  645. package/esm2022/observables/untracked-scheduler.mjs +0 -11
  646. package/esm2022/observables/watch.mjs +0 -6
  647. package/esm2022/observables/zone.mjs +0 -34
  648. package/esm2022/pipes/animation/animation.pipe.mjs +0 -27
  649. package/esm2022/pipes/animation/index.mjs +0 -2
  650. package/esm2022/pipes/animation/taiga-ui-cdk-pipes-animation.mjs +0 -5
  651. package/esm2022/pipes/filter/filter.pipe.mjs +0 -25
  652. package/esm2022/pipes/filter/index.mjs +0 -2
  653. package/esm2022/pipes/filter/taiga-ui-cdk-pipes-filter.mjs +0 -5
  654. package/esm2022/pipes/index.mjs +0 -10
  655. package/esm2022/pipes/is-present/index.mjs +0 -2
  656. package/esm2022/pipes/is-present/is-present.pipe.mjs +0 -19
  657. package/esm2022/pipes/is-present/taiga-ui-cdk-pipes-is-present.mjs +0 -5
  658. package/esm2022/pipes/keys/index.mjs +0 -2
  659. package/esm2022/pipes/keys/keys.pipe.mjs +0 -18
  660. package/esm2022/pipes/keys/taiga-ui-cdk-pipes-keys.mjs +0 -5
  661. package/esm2022/pipes/mapper/index.mjs +0 -2
  662. package/esm2022/pipes/mapper/mapper.pipe.mjs +0 -25
  663. package/esm2022/pipes/mapper/taiga-ui-cdk-pipes-mapper.mjs +0 -5
  664. package/esm2022/pipes/obfuscate/index.mjs +0 -3
  665. package/esm2022/pipes/obfuscate/obfuscate.options.mjs +0 -10
  666. package/esm2022/pipes/obfuscate/obfuscate.pipe.mjs +0 -44
  667. package/esm2022/pipes/obfuscate/taiga-ui-cdk-pipes-obfuscate.mjs +0 -5
  668. package/esm2022/pipes/repeat-times/index.mjs +0 -19
  669. package/esm2022/pipes/repeat-times/taiga-ui-cdk-pipes-repeat-times.mjs +0 -5
  670. package/esm2022/pipes/replace/index.mjs +0 -2
  671. package/esm2022/pipes/replace/replace.pipe.mjs +0 -20
  672. package/esm2022/pipes/replace/taiga-ui-cdk-pipes-replace.mjs +0 -5
  673. package/esm2022/pipes/taiga-ui-cdk-pipes.mjs +0 -5
  674. package/esm2022/pipes/to-array/index.mjs +0 -2
  675. package/esm2022/pipes/to-array/taiga-ui-cdk-pipes-to-array.mjs +0 -5
  676. package/esm2022/pipes/to-array/to-array.pipe.mjs +0 -18
  677. package/esm2022/services/id.service.mjs +0 -21
  678. package/esm2022/services/index.mjs +0 -5
  679. package/esm2022/services/popover.service.mjs +0 -45
  680. package/esm2022/services/scroll.service.mjs +0 -55
  681. package/esm2022/services/taiga-ui-cdk-services.mjs +0 -5
  682. package/esm2022/services/theme-color.service.mjs +0 -33
  683. package/esm2022/taiga-ui-cdk.mjs +0 -5
  684. package/esm2022/tokens/active-element.mjs +0 -56
  685. package/esm2022/tokens/base-href.mjs +0 -6
  686. package/esm2022/tokens/environment.mjs +0 -64
  687. package/esm2022/tokens/fallback-value.mjs +0 -11
  688. package/esm2022/tokens/index.mjs +0 -8
  689. package/esm2022/tokens/range.mjs +0 -9
  690. package/esm2022/tokens/removed-element.mjs +0 -20
  691. package/esm2022/tokens/taiga-ui-cdk-tokens.mjs +0 -5
  692. package/esm2022/tokens/window-size.mjs +0 -28
  693. package/esm2022/types/context.mjs +0 -2
  694. package/esm2022/types/handler.mjs +0 -2
  695. package/esm2022/types/index.mjs +0 -2
  696. package/esm2022/types/loose-union.mjs +0 -2
  697. package/esm2022/types/mapper.mjs +0 -2
  698. package/esm2022/types/matcher.mjs +0 -2
  699. package/esm2022/types/rounding.mjs +0 -2
  700. package/esm2022/types/safe-html.mjs +0 -2
  701. package/esm2022/types/taiga-ui-cdk-types.mjs +0 -5
  702. package/esm2022/types/values-of.mjs +0 -2
  703. package/esm2022/utils/browser/index.mjs +0 -6
  704. package/esm2022/utils/browser/is-apple.mjs +0 -14
  705. package/esm2022/utils/browser/is-edge.mjs +0 -4
  706. package/esm2022/utils/browser/is-firefox.mjs +0 -4
  707. package/esm2022/utils/browser/is-ios.mjs +0 -7
  708. package/esm2022/utils/browser/is-safari.mjs +0 -12
  709. package/esm2022/utils/browser/taiga-ui-cdk-utils-browser.mjs +0 -5
  710. package/esm2022/utils/color/get-gradient-data.mjs +0 -6
  711. package/esm2022/utils/color/hex-to-rgb.mjs +0 -12
  712. package/esm2022/utils/color/hex-to-rgba.mjs +0 -29
  713. package/esm2022/utils/color/hsv-to-rgb.mjs +0 -11
  714. package/esm2022/utils/color/index.mjs +0 -10
  715. package/esm2022/utils/color/parse-color.mjs +0 -27
  716. package/esm2022/utils/color/parse-gradient.mjs +0 -70
  717. package/esm2022/utils/color/rgb-to-hex.mjs +0 -4
  718. package/esm2022/utils/color/rgb-to-hsv.mjs +0 -8
  719. package/esm2022/utils/color/rgba-to-hex.mjs +0 -23
  720. package/esm2022/utils/color/taiga-ui-cdk-utils-color.mjs +0 -5
  721. package/esm2022/utils/di/create-options.mjs +0 -9
  722. package/esm2022/utils/di/index.mjs +0 -3
  723. package/esm2022/utils/di/taiga-ui-cdk-utils-di.mjs +0 -5
  724. package/esm2022/utils/dom/contains-or-after.mjs +0 -10
  725. package/esm2022/utils/dom/element-checks.mjs +0 -20
  726. package/esm2022/utils/dom/event-checks.mjs +0 -4
  727. package/esm2022/utils/dom/get-actual-target.mjs +0 -7
  728. package/esm2022/utils/dom/get-clipboard-data-text.mjs +0 -11
  729. package/esm2022/utils/dom/get-document-or-shadow-root.mjs +0 -6
  730. package/esm2022/utils/dom/get-element-obscurers.mjs +0 -44
  731. package/esm2022/utils/dom/get-element-offset.mjs +0 -20
  732. package/esm2022/utils/dom/get-element-point.mjs +0 -6
  733. package/esm2022/utils/dom/get-selected-text.mjs +0 -15
  734. package/esm2022/utils/dom/index.mjs +0 -20
  735. package/esm2022/utils/dom/inject-element.mjs +0 -5
  736. package/esm2022/utils/dom/is-current-target.mjs +0 -4
  737. package/esm2022/utils/dom/is-element-editable.mjs +0 -6
  738. package/esm2022/utils/dom/is-inside-iframe.mjs +0 -7
  739. package/esm2022/utils/dom/is-node-in.mjs +0 -14
  740. package/esm2022/utils/dom/point-to-client-rect.mjs +0 -17
  741. package/esm2022/utils/dom/retarget-boundary-crossing.mjs +0 -16
  742. package/esm2022/utils/dom/taiga-ui-cdk-utils-dom.mjs +0 -5
  743. package/esm2022/utils/dom/value-binding.mjs +0 -29
  744. package/esm2022/utils/dom/value.mjs +0 -78
  745. package/esm2022/utils/focus/blur-native-focused.mjs +0 -12
  746. package/esm2022/utils/focus/focused-in.mjs +0 -8
  747. package/esm2022/utils/focus/get-closest-focusable.mjs +0 -26
  748. package/esm2022/utils/focus/get-native-focused.mjs +0 -16
  749. package/esm2022/utils/focus/index.mjs +0 -10
  750. package/esm2022/utils/focus/is-native-focused-in.mjs +0 -12
  751. package/esm2022/utils/focus/is-native-focused.mjs +0 -15
  752. package/esm2022/utils/focus/is-native-keyboard-focusable.mjs +0 -33
  753. package/esm2022/utils/focus/is-native-mouse-focusable.mjs +0 -7
  754. package/esm2022/utils/focus/move-focus.mjs +0 -19
  755. package/esm2022/utils/focus/taiga-ui-cdk-utils-focus.mjs +0 -5
  756. package/esm2022/utils/index.mjs +0 -8
  757. package/esm2022/utils/math/clamp.mjs +0 -16
  758. package/esm2022/utils/math/in-range.mjs +0 -9
  759. package/esm2022/utils/math/index.mjs +0 -11
  760. package/esm2022/utils/math/normalize-to-int-number.mjs +0 -22
  761. package/esm2022/utils/math/quantize.mjs +0 -15
  762. package/esm2022/utils/math/round-with.mjs +0 -14
  763. package/esm2022/utils/math/round.mjs +0 -42
  764. package/esm2022/utils/math/sum.mjs +0 -7
  765. package/esm2022/utils/math/taiga-ui-cdk-utils-math.mjs +0 -5
  766. package/esm2022/utils/math/to-int.mjs +0 -4
  767. package/esm2022/utils/math/to-integer.mjs +0 -4
  768. package/esm2022/utils/math/to-radians.mjs +0 -7
  769. package/esm2022/utils/miscellaneous/array-remove.mjs +0 -4
  770. package/esm2022/utils/miscellaneous/array-shallow-equals.mjs +0 -4
  771. package/esm2022/utils/miscellaneous/array-toggle.mjs +0 -8
  772. package/esm2022/utils/miscellaneous/change-date-separator.mjs +0 -3
  773. package/esm2022/utils/miscellaneous/count-filled-controls.mjs +0 -13
  774. package/esm2022/utils/miscellaneous/create-token.mjs +0 -16
  775. package/esm2022/utils/miscellaneous/default-sort.mjs +0 -11
  776. package/esm2022/utils/miscellaneous/directive-binding.mjs +0 -26
  777. package/esm2022/utils/miscellaneous/directive-listener.mjs +0 -8
  778. package/esm2022/utils/miscellaneous/distance-between-touches.mjs +0 -4
  779. package/esm2022/utils/miscellaneous/ease-in-out-quad.mjs +0 -7
  780. package/esm2022/utils/miscellaneous/flat-length.mjs +0 -9
  781. package/esm2022/utils/miscellaneous/font-size-watcher.mjs +0 -30
  782. package/esm2022/utils/miscellaneous/get-original-array-from-query-list.mjs +0 -15
  783. package/esm2022/utils/miscellaneous/index.mjs +0 -31
  784. package/esm2022/utils/miscellaneous/is-control-empty.mjs +0 -4
  785. package/esm2022/utils/miscellaneous/is-falsy.mjs +0 -4
  786. package/esm2022/utils/miscellaneous/is-number.mjs +0 -4
  787. package/esm2022/utils/miscellaneous/is-object.mjs +0 -4
  788. package/esm2022/utils/miscellaneous/is-present.mjs +0 -4
  789. package/esm2022/utils/miscellaneous/is-string.mjs +0 -4
  790. package/esm2022/utils/miscellaneous/is-valid-url.mjs +0 -13
  791. package/esm2022/utils/miscellaneous/mark-control-as-touched-and-validate.mjs +0 -16
  792. package/esm2022/utils/miscellaneous/nullable-same.mjs +0 -18
  793. package/esm2022/utils/miscellaneous/obfuscate.mjs +0 -53
  794. package/esm2022/utils/miscellaneous/provide-options.mjs +0 -11
  795. package/esm2022/utils/miscellaneous/provide.mjs +0 -4
  796. package/esm2022/utils/miscellaneous/pure.mjs +0 -83
  797. package/esm2022/utils/miscellaneous/px.mjs +0 -9
  798. package/esm2022/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.mjs +0 -5
  799. package/esm2022/utils/miscellaneous/uniq-by.mjs +0 -6
  800. package/esm2022/utils/miscellaneous/with-styles.mjs +0 -17
  801. package/esm2022/utils/taiga-ui-cdk-utils.mjs +0 -5
  802. package/fesm2022/taiga-ui-cdk-directives-for.mjs +0 -40
  803. package/fesm2022/taiga-ui-cdk-directives-for.mjs.map +0 -1
  804. package/utils/browser/is-apple.d.ts +0 -11
  805. package/utils/browser/is-ios.d.ts +0 -6
  806. package/utils/miscellaneous/directive-listener.d.ts +0 -9
@@ -20,7 +20,7 @@ export declare abstract class TuiControl<T> implements ControlValueAccessor {
20
20
  readonly disabled: import("@angular/core").Signal<boolean>;
21
21
  readonly interactive: import("@angular/core").Signal<boolean>;
22
22
  readonly invalid: import("@angular/core").Signal<boolean>;
23
- readonly mode: import("@angular/core").Signal<"invalid" | "readonly" | "valid">;
23
+ readonly mode: import("@angular/core").Signal<"readonly" | "invalid" | "valid">;
24
24
  onTouched: (...args: any[]) => void;
25
25
  onChange: (value: T) => void;
26
26
  constructor();
@@ -32,6 +32,6 @@ export declare abstract class TuiControl<T> implements ControlValueAccessor {
32
32
  writeValue(value: T | null): void;
33
33
  private update;
34
34
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiControl<any>, never>;
35
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiControl<any>, never, never, { "readOnlySetter": { "alias": "readOnly"; "required": false; }; "invalidSetter": { "alias": "invalid"; "required": false; }; }, {}, never, never, false, never>;
35
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiControl<any>, never, never, { "readOnlySetter": { "alias": "readOnly"; "required": false; }; "invalidSetter": { "alias": "invalid"; "required": false; }; }, {}, never, never, true, never>;
36
36
  }
37
37
  export declare function tuiAsControl<T>(control: Type<TuiControl<T>>): Provider;
@@ -1,4 +1,3 @@
1
1
  export * from './control';
2
- export * from './portals';
3
2
  export * from './validation-error';
4
3
  export * from './value-transformer';
@@ -1,4 +1,3 @@
1
- export * from './allow-signal-writes';
2
1
  export * from './empty';
3
2
  export * from './handlers';
4
3
  export * from './matchers';
@@ -4,4 +4,4 @@
4
4
  *
5
5
  * Array of icons used in taiga-ui components
6
6
  */
7
- export declare const TUI_USED_ICONS: readonly ["@tui.mir", "@tui.visa", "@tui.electron", "@tui.mastercard", "@tui.maestro", "@tui.amex", "@tui.diners-club", "@tui.discover", "@tui.humo", "@tui.jcb", "@tui.ru-pay", "@tui.union-pay", "@tui.uzcard", "@tui.verve", "@tui.search", "@tui.sun", "@tui.moon", "@tui.code", "@tui.menu", "@tui.copy", "@tui.check", "@tui.link", "@tui.external-link", "@tui.languages", "@tui.shrink", "@tui.expand", "@tui.a-large-small", "@tui.arrow-right-left", "@tui.eye-off", "@tui.eye", "@tui.grip-vertical", "@tui.chevron-up", "@tui.chevron-down", "@tui.chevrons-up-down", "@tui.info", "@tui.circle-check", "@tui.circle-x", "@tui.circle-alert", "@tui.circle-help", "@tui.x", "@tui.chevron-right", "@tui.ellipsis", "@tui.chevron-left", "@tui.clock", "@tui.trash", "@tui.minus", "@tui.file", "@tui.calendar", "@tui.plus", "@tui.phone", "@tui.heart", "@tui.heart-filled", "@tui.star", "@tui.rotate-ccw-square", "@tui.arrow-left", "@tui.arrow-right", "@tui.minimize", "@tui.filter", "@tui.layout-grid", "@tui.move-up-right", "@tui.move-right", "@tui.move-down-right", "@tui.move-down", "@tui.move-down-left", "@tui.move-left", "@tui.move-up-left", "@tui.move-up"];
7
+ export declare const TUI_USED_ICONS: readonly ["@tui.mir", "@tui.visa", "@tui.electron", "@tui.search", "@tui.sun", "@tui.moon", "@tui.code", "@tui.menu", "@tui.copy", "@tui.check", "@tui.link", "@tui.external-link", "@tui.languages", "@tui.shrink", "@tui.expand", "@tui.a-large-small", "@tui.arrow-right-left", "@tui.eye-off", "@tui.eye", "@tui.grip-vertical", "@tui.chevron-up", "@tui.chevron-down", "@tui.chevrons-up-down", "@tui.info", "@tui.circle-check", "@tui.circle-x", "@tui.circle-alert", "@tui.circle-help", "@tui.x", "@tui.chevron-right", "@tui.ellipsis", "@tui.chevron-left", "@tui.clock", "@tui.trash", "@tui.minus", "@tui.file", "@tui.calendar", "@tui.plus", "@tui.heart", "@tui.heart-filled", "@tui.star", "@tui.rotate-ccw-square", "@tui.arrow-left", "@tui.arrow-right", "@tui.minimize", "@tui.filter", "@tui.layout-grid"];
@@ -1 +1 @@
1
- export declare const TUI_VERSION = "4.51.0";
1
+ export declare const TUI_VERSION = "4.52.0-canary.0ec45da";
@@ -1,4 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TUI_VERSION = void 0;
4
- exports.TUI_VERSION = '4.51.0';
4
+ exports.TUI_VERSION = '4.52.0-canary.0ec45da';
5
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../../projects/cdk/constants/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,WAAW,GAAG,uBAAuB,CAAC"}
@@ -8,7 +8,7 @@ export declare const MAX_MONTH = 11;
8
8
  export declare const MIN_YEAR = 0;
9
9
  export declare const MAX_YEAR = 9999;
10
10
  export declare const MAX_DISPLAYED_YEAR = 2099;
11
- export declare const RANGE_SEPARATOR_CHAR: string;
11
+ export declare const RANGE_SEPARATOR_CHAR = "\u00A0\u2013\u00A0";
12
12
  export declare const MILLISECONDS_IN_SECOND = 1000;
13
13
  export declare const SECONDS_IN_MINUTE = 60;
14
14
  export declare const MINUTES_IN_HOUR = 60;
@@ -81,7 +81,7 @@ export declare class TuiDay extends TuiMonth {
81
81
  */
82
82
  dayBefore(another: TuiDay): boolean;
83
83
  /**
84
- * Passed date is after or equals to current
84
+ * Passed date is after or equal to current
85
85
  */
86
86
  daySameOrBefore(another: TuiDay): boolean;
87
87
  /**
@@ -1,4 +1,4 @@
1
- import { type TuiTimeLike, type TuiTimeMode } from './types';
1
+ import { type TuiTimeLike } from './types';
2
2
  /**
3
3
  * Immutable time object with hours, minutes, seconds and ms
4
4
  */
@@ -42,7 +42,7 @@ export declare class TuiTime implements TuiTimeLike {
42
42
  /**
43
43
  * Converts TuiTime to string
44
44
  */
45
- toString(mode?: TuiTimeMode): string;
45
+ toString(mode?: 'HH AA' | 'HH:MM AA' | 'HH:MM:SS AA' | 'HH:MM:SS.MSS AA' | 'HH:MM:SS.MSS' | 'HH:MM:SS' | 'HH:MM' | 'HH' | 'MM:SS.MSS' | 'MM:SS' | 'SS.MSS'): string;
46
46
  valueOf(): number;
47
47
  /**
48
48
  * Returns the primitive value of the given Date object.
@@ -5,11 +5,6 @@
5
5
  * TODO: Change to be MaskitoDateMode compatible in v5
6
6
  */
7
7
  export type TuiDateMode = 'DMY' | 'MDY' | 'YMD';
8
- /**
9
- * TODO(v5): replace all its usage by MaskitoTimeMode and delete it
10
- * @deprecated use `MaskitoTimeMode` (from `@maskito/kit`) instead
11
- */
12
- export type TuiTimeMode = 'HH AA' | 'HH:MM AA' | 'HH:MM:SS AA' | 'HH:MM:SS.MSS AA' | 'HH:MM:SS.MSS' | 'HH:MM:SS' | 'HH:MM' | 'HH' | 'MM:SS.MSS' | 'MM:SS' | 'MM.SS.MSS' | 'SS.MSS';
13
8
  /**
14
9
  * Optionally has year and/or month and/or day
15
10
  */
@@ -5,11 +5,11 @@ export declare class TuiActiveZone implements OnDestroy {
5
5
  private readonly control;
6
6
  private readonly active$;
7
7
  private readonly zone;
8
- private readonly el;
9
8
  private tuiActiveZoneParent;
10
- private subActiveZones;
11
- private readonly directParentActiveZone;
9
+ private readonly parent;
10
+ private readonly el;
12
11
  readonly tuiActiveZoneChange: Observable<boolean>;
12
+ children: readonly TuiActiveZone[];
13
13
  constructor();
14
14
  set tuiActiveZoneParentSetter(zone: TuiActiveZone | null);
15
15
  ngOnDestroy(): void;
@@ -19,4 +19,5 @@ export declare class TuiActiveZone implements OnDestroy {
19
19
  private removeSubActiveZone;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiActiveZone, never>;
21
21
  static ɵdir: i0.ɵɵDirectiveDeclaration<TuiActiveZone, "[tuiActiveZone]:not(ng-container), [tuiActiveZoneChange]:not(ng-container), [tuiActiveZoneParent]:not(ng-container)", ["tuiActiveZone"], { "tuiActiveZoneParentSetter": { "alias": "tuiActiveZoneParent"; "required": false; }; }, { "tuiActiveZoneChange": "tuiActiveZoneChange"; }, never, never, true, never>;
22
+ static ɵprov: i0.ɵɵInjectableDeclaration<TuiActiveZone>;
22
23
  }
@@ -5,7 +5,6 @@ export declare const TUI_LEAVE = "tui-leave";
5
5
  export declare class TuiAnimated implements OnDestroy {
6
6
  private readonly renderer;
7
7
  private readonly el;
8
- private readonly app;
9
8
  constructor();
10
9
  ngOnDestroy(): void;
11
10
  protected remove(): void;
@@ -10,10 +10,10 @@ export interface TuiAutofocusOptions {
10
10
  readonly query: string;
11
11
  readonly preventScroll: boolean;
12
12
  }
13
- export declare const TUI_AUTOFOCUS_OPTIONS: InjectionToken<TuiAutofocusOptions>, tuiAutoFocusOptionsProvider: (item: Partial<TuiAutofocusOptions> | import("@angular/core").ProviderToken<Partial<TuiAutofocusOptions>>) => import("@angular/core").FactoryProvider;
13
+ export declare const TUI_AUTOFOCUS_OPTIONS: InjectionToken<TuiAutofocusOptions>, tuiAutoFocusOptionsProvider: (item: Partial<TuiAutofocusOptions> | (() => Partial<TuiAutofocusOptions>)) => import("@angular/core").FactoryProvider;
14
14
  export declare const TUI_AUTOFOCUS_HANDLER: InjectionToken<TuiAutofocusHandler>;
15
15
  export declare const TUI_AUTOFOCUS_PROVIDERS: {
16
16
  provide: InjectionToken<TuiAutofocusHandler>;
17
- deps: (typeof ElementRef | InjectionToken<Window> | typeof NgZone | typeof Renderer2)[];
17
+ deps: (InjectionToken<TuiAutofocusOptions> | typeof ElementRef | typeof Renderer2 | typeof NgZone)[];
18
18
  useFactory: (el: ElementRef<HTMLElement>, animationFrame$: Observable<number>, renderer: Renderer2, zone: NgZone, win: Window, isIos: boolean, options: TuiAutofocusOptions) => TuiDefaultAutofocusHandler | TuiIosAutofocusHandler;
19
19
  }[];
@@ -8,7 +8,6 @@ export * from '@taiga-ui/cdk/directives/droppable';
8
8
  export * from '@taiga-ui/cdk/directives/element';
9
9
  export * from '@taiga-ui/cdk/directives/focus-trap';
10
10
  export * from '@taiga-ui/cdk/directives/font-size';
11
- export * from '@taiga-ui/cdk/directives/for';
12
11
  export * from '@taiga-ui/cdk/directives/high-dpi';
13
12
  export * from '@taiga-ui/cdk/directives/hovered';
14
13
  export * from '@taiga-ui/cdk/directives/item';
@@ -26,4 +25,5 @@ export * from '@taiga-ui/cdk/directives/transitioned';
26
25
  export * from '@taiga-ui/cdk/directives/validator';
27
26
  export * from '@taiga-ui/cdk/directives/value-changes';
28
27
  export * from '@taiga-ui/cdk/directives/visual-viewport';
28
+ export * from '@taiga-ui/cdk/directives/with-styles';
29
29
  export * from '@taiga-ui/cdk/directives/zoom';
@@ -1,8 +1,7 @@
1
1
  import { TuiLetContext } from './let-context';
2
2
  import * as i0 from "@angular/core";
3
3
  /**
4
- * Works like *ngIf but does not have a condition — use it to declare
5
- * the result of pipes calculation (i.e. async pipe)
4
+ * @deprecated use @let instead
6
5
  */
7
6
  export declare class TuiLet<T> {
8
7
  tuiLet: T;
@@ -10,5 +10,5 @@ export declare abstract class TuiPopoverDirective<T> extends PolymorpheusTemplat
10
10
  readonly openChange: import("rxjs").Observable<boolean>;
11
11
  ngOnChanges(): void;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TuiPopoverDirective<any>, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPopoverDirective<any>, never, never, {}, {}, never, never, false, never>;
13
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPopoverDirective<any>, never, never, {}, {}, never, never, true, never>;
14
14
  }
@@ -12,8 +12,8 @@ export declare class TuiRepeatTimesContext implements TuiContext<number> {
12
12
  * {@link TuiRepeatTimesContext.$implicit index} of a template instance.
13
13
  */
14
14
  export declare class TuiRepeatTimes {
15
- private readonly viewContainer;
16
- private readonly templateRef;
15
+ private readonly vcr;
16
+ private readonly template;
17
17
  set tuiRepeatTimesOf(count: number);
18
18
  private addContainers;
19
19
  private removeContainers;
@@ -0,0 +1 @@
1
+ export * from './with-styles.directive';
@@ -0,0 +1,10 @@
1
+ import { type OnDestroy, type Type, type ValueProvider } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare function provideStyles(useValue: Type<unknown>): ValueProvider;
4
+ export declare class TuiWithStyles implements OnDestroy {
5
+ private readonly injector;
6
+ private readonly refs;
7
+ ngOnDestroy(): void;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<TuiWithStyles, never>;
9
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TuiWithStyles, never, never, {}, {}, never, never, true, never>;
10
+ }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, signal, ChangeDetectorRef, computed, untracked, Directive, Input, INJECTOR, ViewContainerRef, ViewChild, Injectable } from '@angular/core';
2
+ import { inject, signal, ChangeDetectorRef, computed, untracked, Input, Directive } from '@angular/core';
3
3
  import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
4
4
  import { NgControl, NgModel } from '@angular/forms';
5
5
  import { EMPTY_FUNCTION } from '@taiga-ui/cdk/constants';
@@ -100,12 +100,12 @@ class TuiControl {
100
100
  this.touched.set(!!this.control.control?.touched);
101
101
  this.cdr.markForCheck();
102
102
  }
103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
104
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiControl, inputs: { readOnlySetter: ["readOnly", "readOnlySetter"], invalidSetter: ["invalid", "invalidSetter"] }, ngImport: i0 }); }
103
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiControl, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
104
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiControl, isStandalone: true, inputs: { readOnlySetter: ["readOnly", "readOnlySetter"], invalidSetter: ["invalid", "invalidSetter"] }, ngImport: i0 }); }
105
105
  }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiControl, decorators: [{
106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiControl, decorators: [{
107
107
  type: Directive
108
- }], ctorParameters: function () { return []; }, propDecorators: { readOnlySetter: [{
108
+ }], ctorParameters: () => [], propDecorators: { readOnlySetter: [{
109
109
  type: Input,
110
110
  args: ['readOnly']
111
111
  }], invalidSetter: [{
@@ -116,78 +116,6 @@ function tuiAsControl(control) {
116
116
  return tuiProvide(TuiControl, control);
117
117
  }
118
118
 
119
- /// <reference types="@taiga-ui/tsconfig/ng-dev-mode" />
120
- /// <reference types="@taiga-ui/tsconfig/ng-dev-mode" />
121
- /**
122
- * Abstract class for host element for dynamically created portals.
123
- */
124
- class TuiPortals {
125
- constructor() {
126
- this.injector = inject(INJECTOR);
127
- this.nothing = inject(TuiPortalService).attach(this);
128
- }
129
- addComponentChild(component) {
130
- const injector = component.createInjector(this.injector);
131
- const ref = this.vcr.createComponent(component.component, { injector });
132
- ref.changeDetectorRef.detectChanges();
133
- return ref;
134
- }
135
- addTemplateChild(templateRef, context) {
136
- return this.vcr.createEmbeddedView(templateRef, context);
137
- }
138
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPortals, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
139
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiPortals, viewQueries: [{ propertyName: "vcr", first: true, predicate: ["viewContainer"], descendants: true, read: ViewContainerRef }], ngImport: i0 }); }
140
- }
141
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPortals, decorators: [{
142
- type: Directive
143
- }], propDecorators: { vcr: [{
144
- type: ViewChild,
145
- args: ['viewContainer', { read: ViewContainerRef }]
146
- }] } });
147
- /**
148
- * Abstract service for displaying portals
149
- */
150
- class TuiPortalService {
151
- attach(host) {
152
- this.host = host;
153
- }
154
- add(component) {
155
- return this.safeHost.addComponentChild(component);
156
- }
157
- remove({ hostView }) {
158
- this.removeTemplate(hostView);
159
- }
160
- addTemplate(templateRef, context) {
161
- return this.safeHost.addTemplateChild(templateRef, context);
162
- }
163
- removeTemplate(viewRef) {
164
- if (!viewRef.destroyed) {
165
- viewRef.destroy();
166
- }
167
- }
168
- get safeHost() {
169
- if (!this.host) {
170
- throw new TuiNoHostException();
171
- }
172
- return this.host;
173
- }
174
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPortalService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
175
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPortalService }); }
176
- }
177
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPortalService, decorators: [{
178
- type: Injectable
179
- }] });
180
- function tuiAsPortal(portal) {
181
- return tuiProvide(TuiPortalService, portal);
182
- }
183
- class TuiNoHostException extends Error {
184
- constructor() {
185
- super(ngDevMode
186
- ? 'Portals cannot be used without TuiPortalHostComponent; perhaps you forgot to wrap your application with tui-root.'
187
- : '');
188
- }
189
- }
190
-
191
119
  class TuiValidationError {
192
120
  constructor(message, context = {}) {
193
121
  this.message = message;
@@ -199,5 +127,5 @@ class TuiValidationError {
199
127
  * Generated bundle index. Do not edit.
200
128
  */
201
129
 
202
- export { TUI_IDENTITY_VALUE_TRANSFORMER, TuiControl, TuiNoHostException, TuiNonNullableValueTransformer, TuiPortalService, TuiPortals, TuiValidationError, TuiValueTransformer, tuiAsControl, tuiAsPortal, tuiValueTransformerFrom };
130
+ export { TUI_IDENTITY_VALUE_TRANSFORMER, TuiControl, TuiNonNullableValueTransformer, TuiValidationError, TuiValueTransformer, tuiAsControl, tuiValueTransformerFrom };
203
131
  //# sourceMappingURL=taiga-ui-cdk-classes.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-classes.mjs","sources":["../../../projects/cdk/classes/value-transformer.ts","../../../projects/cdk/classes/control.ts","../../../projects/cdk/classes/portals.ts","../../../projects/cdk/classes/validation-error.ts","../../../projects/cdk/classes/taiga-ui-cdk-classes.ts"],"sourcesContent":["import {type FactoryProvider, inject, type ProviderToken} from '@angular/core';\nimport {identity} from 'rxjs';\n\nexport abstract class TuiValueTransformer<From, To = unknown> {\n public abstract toControlValue(componentValue: From): To;\n public abstract fromControlValue(controlValue: To): From;\n}\n\nexport function tuiValueTransformerFrom<\n T extends {valueTransformer: TuiValueTransformer<unknown>},\n>(token: ProviderToken<T>): FactoryProvider {\n return {\n provide: TuiValueTransformer,\n useFactory: () => inject(token).valueTransformer,\n };\n}\n\nexport class TuiNonNullableValueTransformer<T> extends TuiValueTransformer<T | null, T> {\n private prevValue!: T;\n\n public fromControlValue(value: T): T {\n this.prevValue = value;\n\n return value;\n }\n\n public toControlValue(value: T | null): T {\n this.prevValue = value ?? this.prevValue;\n\n return this.prevValue;\n }\n}\n\nexport const TUI_IDENTITY_VALUE_TRANSFORMER: TuiValueTransformer<any, any> = {\n fromControlValue: identity,\n toControlValue: identity,\n};\n","import {\n ChangeDetectorRef,\n computed,\n Directive,\n inject,\n Input,\n type Provider,\n signal,\n type Type,\n untracked,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {\n type ControlValueAccessor,\n type FormControlStatus,\n NgControl,\n NgModel,\n} from '@angular/forms';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\nimport {TUI_FALLBACK_VALUE} from '@taiga-ui/cdk/tokens';\nimport {tuiProvide} from '@taiga-ui/cdk/utils';\nimport {\n delay,\n distinctUntilChanged,\n EMPTY,\n filter,\n map,\n merge,\n startWith,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {TUI_IDENTITY_VALUE_TRANSFORMER, TuiValueTransformer} from './value-transformer';\n\nconst FLAGS = {self: true, optional: true};\n\n/**\n * Basic ControlValueAccessor class to build form components upon\n */\n@Directive()\nexport abstract class TuiControl<T> implements ControlValueAccessor {\n private readonly fallback = inject(TUI_FALLBACK_VALUE, FLAGS) as T;\n private readonly refresh$ = new Subject<void>();\n private readonly pseudoInvalid = signal<boolean | null>(null);\n private readonly internal = signal(this.fallback);\n\n protected readonly control = inject(NgControl, {self: true});\n protected readonly cdr = inject(ChangeDetectorRef);\n protected transformer =\n inject(TuiValueTransformer, FLAGS) ?? TUI_IDENTITY_VALUE_TRANSFORMER;\n\n public readonly value = computed(() => this.internal() ?? this.fallback);\n public readonly readOnly = signal(false);\n public readonly touched = signal(false);\n public readonly status = signal<FormControlStatus | undefined>(undefined);\n public readonly disabled = computed(() => this.status() === 'DISABLED');\n public readonly interactive = computed(() => !this.disabled() && !this.readOnly());\n public readonly invalid = computed(() =>\n this.pseudoInvalid() !== null\n ? !!this.pseudoInvalid() && this.interactive()\n : this.interactive() && this.touched() && this.status() === 'INVALID',\n );\n\n public readonly mode = computed(() =>\n // eslint-disable-next-line no-nested-ternary\n this.readOnly() ? 'readonly' : this.invalid() ? 'invalid' : 'valid',\n );\n\n public onTouched = EMPTY_FUNCTION;\n public onChange: (value: T) => void = EMPTY_FUNCTION;\n\n constructor() {\n this.control.valueAccessor = this;\n this.refresh$\n .pipe(\n delay(0),\n startWith(null),\n map(() => this.control.control),\n filter(Boolean),\n distinctUntilChanged(),\n switchMap((c) =>\n merge(\n c.valueChanges,\n c.statusChanges,\n (c as any).events || EMPTY,\n ).pipe(startWith(null)),\n ),\n takeUntilDestroyed(),\n )\n .subscribe(() => this.update());\n }\n\n @Input('readOnly')\n public set readOnlySetter(readOnly: boolean) {\n this.readOnly.set(readOnly);\n }\n\n @Input('invalid')\n public set invalidSetter(invalid: boolean | null) {\n this.pseudoInvalid.set(invalid);\n }\n\n public registerOnChange(onChange: (value: unknown) => void): void {\n this.refresh$.next();\n\n this.onChange = (value: T) => {\n const internal = untracked(() => this.internal());\n\n if (value === internal) {\n return;\n }\n\n onChange(this.transformer.toControlValue(value));\n this.internal.set(value);\n this.update();\n };\n }\n\n public registerOnTouched(onTouched: () => void): void {\n this.onTouched = () => {\n onTouched();\n this.update();\n };\n }\n\n public setDisabledState(): void {\n this.update();\n }\n\n public writeValue(value: T | null): void {\n // TODO: https://github.com/angular/angular/issues/14988\n const safe = this.control instanceof NgModel ? this.control.model : value;\n\n this.internal.set(this.transformer.fromControlValue(safe));\n this.update();\n }\n\n private update(): void {\n this.status.set(this.control.control?.status);\n this.touched.set(!!this.control.control?.touched);\n this.cdr.markForCheck();\n }\n}\n\nexport function tuiAsControl<T>(control: Type<TuiControl<T>>): Provider {\n return tuiProvide(TuiControl, control);\n}\n","/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\nimport {\n type ComponentRef,\n Directive,\n type EmbeddedViewRef,\n inject,\n Injectable,\n INJECTOR,\n type Provider,\n type TemplateRef,\n ViewChild,\n ViewContainerRef,\n type ViewRef,\n} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils';\nimport {type PolymorpheusComponent} from '@taiga-ui/polymorpheus';\n\n/**\n * Abstract class for host element for dynamically created portals.\n */\n@Directive()\nexport abstract class TuiPortals {\n @ViewChild('viewContainer', {read: ViewContainerRef})\n private readonly vcr!: ViewContainerRef;\n\n private readonly injector = inject(INJECTOR);\n\n protected readonly nothing = inject(TuiPortalService).attach(this);\n\n public addComponentChild<C>(component: PolymorpheusComponent<C>): ComponentRef<C> {\n const injector = component.createInjector(this.injector);\n const ref = this.vcr.createComponent(component.component, {injector});\n\n ref.changeDetectorRef.detectChanges();\n\n return ref;\n }\n\n public addTemplateChild<C>(\n templateRef: TemplateRef<C>,\n context?: C,\n ): EmbeddedViewRef<C> {\n return this.vcr.createEmbeddedView(templateRef, context);\n }\n}\n\n/**\n * Abstract service for displaying portals\n */\n@Injectable()\nexport abstract class TuiPortalService {\n protected host?: TuiPortals;\n\n public attach(host: TuiPortals): void {\n this.host = host;\n }\n\n public add<C>(component: PolymorpheusComponent<C>): ComponentRef<C> {\n return this.safeHost.addComponentChild(component);\n }\n\n public remove<C>({hostView}: ComponentRef<C>): void {\n this.removeTemplate(hostView);\n }\n\n public addTemplate<C>(templateRef: TemplateRef<C>, context?: C): EmbeddedViewRef<C> {\n return this.safeHost.addTemplateChild(templateRef, context);\n }\n\n public removeTemplate<C>(viewRef: EmbeddedViewRef<C> | ViewRef): void {\n if (!viewRef.destroyed) {\n viewRef.destroy();\n }\n }\n\n protected get safeHost(): TuiPortals {\n if (!this.host) {\n throw new TuiNoHostException();\n }\n\n return this.host;\n }\n}\n\nexport function tuiAsPortal(portal: typeof TuiPortalService): Provider {\n return tuiProvide(TuiPortalService, portal);\n}\n\nexport class TuiNoHostException extends Error {\n constructor() {\n super(\n ngDevMode\n ? 'Portals cannot be used without TuiPortalHostComponent; perhaps you forgot to wrap your application with tui-root.'\n : '',\n );\n }\n}\n","import {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport class TuiValidationError<T extends Record<string, any> = Record<string, unknown>> {\n constructor(\n public readonly message: PolymorpheusContent<T>,\n public readonly context: T = {} as T,\n ) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAGsB,mBAAmB,CAAA;AAGxC,CAAA;AAEK,SAAU,uBAAuB,CAErC,KAAuB,EAAA;IACrB,OAAO;AACH,QAAA,OAAO,EAAE,mBAAmB;QAC5B,UAAU,EAAE,MAAM,MAAM,CAAC,KAAK,CAAC,CAAC,gBAAgB;KACnD,CAAC;AACN,CAAC;AAEK,MAAO,8BAAkC,SAAQ,mBAAgC,CAAA;AAG5E,IAAA,gBAAgB,CAAC,KAAQ,EAAA;AAC5B,QAAA,IAAI,CAAC,SAAS,GAAG,KAAK,CAAC;AAEvB,QAAA,OAAO,KAAK,CAAC;KAChB;AAEM,IAAA,cAAc,CAAC,KAAe,EAAA;QACjC,IAAI,CAAC,SAAS,GAAG,KAAK,IAAI,IAAI,CAAC,SAAS,CAAC;QAEzC,OAAO,IAAI,CAAC,SAAS,CAAC;KACzB;AACJ,CAAA;AAEY,MAAA,8BAA8B,GAAkC;AACzE,IAAA,gBAAgB,EAAE,QAAQ;AAC1B,IAAA,cAAc,EAAE,QAAQ;;;ACA5B,MAAM,KAAK,GAAG,EAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC;AAE3C;;AAEG;AACH,MACsB,UAAU,CAAA;AA+B5B,IAAA,WAAA,GAAA;AA9BiB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,EAAE,K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,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE;YACZ,MAAM,IAAI,kBAAkB,EAAE,CAAC;AAClC,SAAA;QAED,OAAO,IAAI,CAAC,IAAI,CAAC;KACpB;+GA/BiB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;mHAAhB,gBAAgB,EAAA,CAAA,CAAA,EAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBADrC,UAAU;;AAmCL,SAAU,WAAW,CAAC,MAA+B,EAAA;AACvD,IAAA,OAAO,UAAU,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC;AAChD,CAAC;AAEK,MAAO,kBAAmB,SAAQ,KAAK,CAAA;AACzC,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CACD,SAAS;AACL,cAAE,mHAAmH;cACnH,EAAE,CACX,CAAC;KACL;AACJ;;MC9FY,kBAAkB,CAAA;IAC3B,WACoB,CAAA,OAA+B,EAC/B,OAAA,GAAa,EAAO,EAAA;QADpB,IAAO,CAAA,OAAA,GAAP,OAAO,CAAwB;QAC/B,IAAO,CAAA,OAAA,GAAP,OAAO,CAAa;KACpC;AACP;;ACPD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-classes.mjs","sources":["../../../projects/cdk/classes/value-transformer.ts","../../../projects/cdk/classes/control.ts","../../../projects/cdk/classes/validation-error.ts","../../../projects/cdk/classes/taiga-ui-cdk-classes.ts"],"sourcesContent":["import {type FactoryProvider, inject, type ProviderToken} from '@angular/core';\nimport {identity} from 'rxjs';\n\nexport abstract class TuiValueTransformer<From, To = unknown> {\n public abstract toControlValue(componentValue: From): To;\n public abstract fromControlValue(controlValue: To): From;\n}\n\nexport function tuiValueTransformerFrom<\n T extends {valueTransformer: TuiValueTransformer<unknown>},\n>(token: ProviderToken<T>): FactoryProvider {\n return {\n provide: TuiValueTransformer,\n useFactory: () => inject(token).valueTransformer,\n };\n}\n\nexport class TuiNonNullableValueTransformer<T> extends TuiValueTransformer<T | null, T> {\n private prevValue!: T;\n\n public fromControlValue(value: T): T {\n this.prevValue = value;\n\n return value;\n }\n\n public toControlValue(value: T | null): T {\n this.prevValue = value ?? this.prevValue;\n\n return this.prevValue;\n }\n}\n\nexport const TUI_IDENTITY_VALUE_TRANSFORMER: TuiValueTransformer<any, any> = {\n fromControlValue: identity,\n toControlValue: identity,\n};\n","import {\n ChangeDetectorRef,\n computed,\n Directive,\n inject,\n Input,\n type Provider,\n signal,\n type Type,\n untracked,\n} from '@angular/core';\nimport {takeUntilDestroyed} from '@angular/core/rxjs-interop';\nimport {\n type ControlValueAccessor,\n type FormControlStatus,\n NgControl,\n NgModel,\n} from '@angular/forms';\nimport {EMPTY_FUNCTION} from '@taiga-ui/cdk/constants';\nimport {TUI_FALLBACK_VALUE} from '@taiga-ui/cdk/tokens';\nimport {tuiProvide} from '@taiga-ui/cdk/utils';\nimport {\n delay,\n distinctUntilChanged,\n EMPTY,\n filter,\n map,\n merge,\n startWith,\n Subject,\n switchMap,\n} from 'rxjs';\n\nimport {TUI_IDENTITY_VALUE_TRANSFORMER, TuiValueTransformer} from './value-transformer';\n\nconst FLAGS = {self: true, optional: true};\n\n/**\n * Basic ControlValueAccessor class to build form components upon\n */\n@Directive()\nexport abstract class TuiControl<T> implements ControlValueAccessor {\n private readonly fallback = inject(TUI_FALLBACK_VALUE, FLAGS) as T;\n private readonly refresh$ = new Subject<void>();\n private readonly pseudoInvalid = signal<boolean | null>(null);\n private readonly internal = signal(this.fallback);\n\n protected readonly control = inject(NgControl, {self: true});\n protected readonly cdr = inject(ChangeDetectorRef);\n protected transformer =\n inject(TuiValueTransformer, FLAGS) ?? TUI_IDENTITY_VALUE_TRANSFORMER;\n\n public readonly value = computed(() => this.internal() ?? this.fallback);\n public readonly readOnly = signal(false);\n public readonly touched = signal(false);\n public readonly status = signal<FormControlStatus | undefined>(undefined);\n public readonly disabled = computed(() => this.status() === 'DISABLED');\n public readonly interactive = computed(() => !this.disabled() && !this.readOnly());\n public readonly invalid = computed(() =>\n this.pseudoInvalid() !== null\n ? !!this.pseudoInvalid() && this.interactive()\n : this.interactive() && this.touched() && this.status() === 'INVALID',\n );\n\n public readonly mode = computed(() =>\n // eslint-disable-next-line no-nested-ternary\n this.readOnly() ? 'readonly' : this.invalid() ? 'invalid' : 'valid',\n );\n\n public onTouched = EMPTY_FUNCTION;\n public onChange: (value: T) => void = EMPTY_FUNCTION;\n\n constructor() {\n this.control.valueAccessor = this;\n this.refresh$\n .pipe(\n delay(0),\n startWith(null),\n map(() => this.control.control),\n filter(Boolean),\n distinctUntilChanged(),\n switchMap((c) =>\n merge(\n c.valueChanges,\n c.statusChanges,\n (c as any).events || EMPTY,\n ).pipe(startWith(null)),\n ),\n takeUntilDestroyed(),\n )\n .subscribe(() => this.update());\n }\n\n @Input('readOnly')\n public set readOnlySetter(readOnly: boolean) {\n this.readOnly.set(readOnly);\n }\n\n @Input('invalid')\n public set invalidSetter(invalid: boolean | null) {\n this.pseudoInvalid.set(invalid);\n }\n\n public registerOnChange(onChange: (value: unknown) => void): void {\n this.refresh$.next();\n\n this.onChange = (value: T) => {\n const internal = untracked(() => this.internal());\n\n if (value === internal) {\n return;\n }\n\n onChange(this.transformer.toControlValue(value));\n this.internal.set(value);\n this.update();\n };\n }\n\n public registerOnTouched(onTouched: () => void): void {\n this.onTouched = () => {\n onTouched();\n this.update();\n };\n }\n\n public setDisabledState(): void {\n this.update();\n }\n\n public writeValue(value: T | null): void {\n // TODO: https://github.com/angular/angular/issues/14988\n const safe = this.control instanceof NgModel ? this.control.model : value;\n\n this.internal.set(this.transformer.fromControlValue(safe));\n this.update();\n }\n\n private update(): void {\n this.status.set(this.control.control?.status);\n this.touched.set(!!this.control.control?.touched);\n this.cdr.markForCheck();\n }\n}\n\nexport function tuiAsControl<T>(control: Type<TuiControl<T>>): Provider {\n return tuiProvide(TuiControl, control);\n}\n","import {type PolymorpheusContent} from '@taiga-ui/polymorpheus';\n\nexport class TuiValidationError<T extends Record<string, any> = Record<string, unknown>> {\n constructor(\n public readonly message: PolymorpheusContent<T>,\n public readonly context: T = {} as T,\n ) {}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;MAGsB,mBAAmB,CAAA;AAGxC;AAEK,SAAU,uBAAuB,CAErC,KAAuB,EAAA;IACrB,OAAO;AACH,QAAA,OAAO,EAAE,mBAAmB;QAC5B,UAAU,EAAE,MAAM,MAAM,CAAC,KAAK,CAAC,CAAC,gBAAgB;KACnD;AACL;AAEM,MAAO,8BAAkC,SAAQ,mBAAgC,CAAA;AAG5E,IAAA,gBAAgB,CAAC,KAAQ,EAAA;AAC5B,QAAA,IAAI,CAAC,SAAS,GAAG,KAAK;AAEtB,QAAA,OAAO,KAAK;;AAGT,IAAA,cAAc,CAAC,KAAe,EAAA;QACjC,IAAI,CAAC,SAAS,GAAG,KAAK,IAAI,IAAI,CAAC,SAAS;QAExC,OAAO,IAAI,CAAC,SAAS;;AAE5B;AAEY,MAAA,8BAA8B,GAAkC;AACzE,IAAA,gBAAgB,EAAE,QAAQ;AAC1B,IAAA,cAAc,EAAE,QAAQ;;;ACA5B,MAAM,KAAK,GAAG,EAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAC;AAE1C;;AAEG;MAEmB,UAAU,CAAA;AA+B5B,IAAA,WAAA,GAAA;AA9BiB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,kBAAkB,EAAE,KAAK,CAAM;AACjD,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,OAAO,EAAQ;AAC9B,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAiB,IAAI,CAAC;AAC5C,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC;QAE9B,IAAO,CAAA,OAAA,GAAG,MAAM,CAAC,S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AO,CAAC;AAC1C;;MCjJa,kBAAkB,CAAA;IAC3B,WACoB,CAAA,OAA+B,EAC/B,OAAA,GAAa,EAAO,EAAA;QADpB,IAAO,CAAA,OAAA,GAAP,OAAO;QACP,IAAO,CAAA,OAAA,GAAP,OAAO;;AAE9B;;ACPD;;AAEG;;;;"}
@@ -1,6 +1,4 @@
1
- import { VERSION, QueryList } from '@angular/core';
2
-
3
- const TUI_ALLOW_SIGNAL_WRITES = parseInt(VERSION.major, 10) >= 19 ? {} : { allowSignalWrites: true };
1
+ import { QueryList } from '@angular/core';
4
2
 
5
3
  const rect = {
6
4
  bottom: 0,
@@ -29,12 +27,10 @@ const EMPTY_CLIENT_RECT = {
29
27
  /**
30
28
  * Handler that always returns `false`.
31
29
  */
32
- // eslint-disable-next-line no-restricted-syntax
33
30
  const TUI_FALSE_HANDLER = () => false;
34
31
  /**
35
32
  * Handler that always returns `true`.
36
33
  */
37
- // eslint-disable-next-line no-restricted-syntax
38
34
  const TUI_TRUE_HANDLER = () => true;
39
35
 
40
36
  function bothEmpty(item1, item2) {
@@ -149,17 +145,6 @@ const TUI_USED_ICONS = [
149
145
  '@tui.mir',
150
146
  '@tui.visa',
151
147
  '@tui.electron',
152
- '@tui.mastercard',
153
- '@tui.maestro',
154
- '@tui.amex',
155
- '@tui.diners-club',
156
- '@tui.discover',
157
- '@tui.humo',
158
- '@tui.jcb',
159
- '@tui.ru-pay',
160
- '@tui.union-pay',
161
- '@tui.uzcard',
162
- '@tui.verve',
163
148
  '@tui.search',
164
149
  '@tui.sun',
165
150
  '@tui.moon',
@@ -195,7 +180,6 @@ const TUI_USED_ICONS = [
195
180
  '@tui.file',
196
181
  '@tui.calendar',
197
182
  '@tui.plus',
198
- '@tui.phone',
199
183
  '@tui.heart',
200
184
  '@tui.heart-filled',
201
185
  '@tui.star',
@@ -205,21 +189,13 @@ const TUI_USED_ICONS = [
205
189
  '@tui.minimize',
206
190
  '@tui.filter',
207
191
  '@tui.layout-grid',
208
- '@tui.move-up-right',
209
- '@tui.move-right',
210
- '@tui.move-down-right',
211
- '@tui.move-down',
212
- '@tui.move-down-left',
213
- '@tui.move-left',
214
- '@tui.move-up-left',
215
- '@tui.move-up',
216
192
  ];
217
193
 
218
- const TUI_VERSION = '4.51.0';
194
+ const TUI_VERSION = '4.52.0-canary.0ec45da';
219
195
 
220
196
  /**
221
197
  * Generated bundle index. Do not edit.
222
198
  */
223
199
 
224
- export { CHAR_BULLET, CHAR_CURRENCY_SIGN, CHAR_ELLIPSIS, CHAR_EM_DASH, CHAR_EN_DASH, CHAR_HYPHEN, CHAR_LAQUO, CHAR_MINUS, CHAR_NO_BREAK_SPACE, CHAR_PLUS, CHAR_RAQUO, CHAR_ZERO_WIDTH_SPACE, EMPTY_ARRAY, EMPTY_CLIENT_RECT, EMPTY_FUNCTION, EMPTY_QUERY, TUI_ALLOW_SIGNAL_WRITES, TUI_DEFAULT_IDENTITY_MATCHER, TUI_DEFAULT_MATCHER, TUI_DIGIT_REGEXP, TUI_FALSE_HANDLER, TUI_NON_DIGITS_REGEXP, TUI_NON_DIGIT_REGEXP, TUI_STRICT_MATCHER, TUI_TRUE_HANDLER, TUI_USED_ICONS, TUI_VERSION, svgNodeFilter };
200
+ export { CHAR_BULLET, CHAR_CURRENCY_SIGN, CHAR_ELLIPSIS, CHAR_EM_DASH, CHAR_EN_DASH, CHAR_HYPHEN, CHAR_LAQUO, CHAR_MINUS, CHAR_NO_BREAK_SPACE, CHAR_PLUS, CHAR_RAQUO, CHAR_ZERO_WIDTH_SPACE, EMPTY_ARRAY, EMPTY_CLIENT_RECT, EMPTY_FUNCTION, EMPTY_QUERY, TUI_DEFAULT_IDENTITY_MATCHER, TUI_DEFAULT_MATCHER, TUI_DIGIT_REGEXP, TUI_FALSE_HANDLER, TUI_NON_DIGITS_REGEXP, TUI_NON_DIGIT_REGEXP, TUI_STRICT_MATCHER, TUI_TRUE_HANDLER, TUI_USED_ICONS, TUI_VERSION, svgNodeFilter };
225
201
  //# sourceMappingURL=taiga-ui-cdk-constants.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-constants.mjs","sources":["../../../projects/cdk/constants/allow-signal-writes.ts","../../../projects/cdk/constants/empty.ts","../../../projects/cdk/constants/handlers.ts","../../../projects/cdk/constants/matchers.ts","../../../projects/cdk/constants/regexp.ts","../../../projects/cdk/constants/svg-node-filter.ts","../../../projects/cdk/constants/unicode-chars.ts","../../../projects/cdk/constants/used-icons.ts","../../../projects/cdk/constants/version.ts","../../../projects/cdk/constants/taiga-ui-cdk-constants.ts"],"sourcesContent":["import {type CreateEffectOptions, VERSION} from '@angular/core';\n\nexport const TUI_ALLOW_SIGNAL_WRITES: CreateEffectOptions =\n parseInt(VERSION.major, 10) >= 19 ? {} : {allowSignalWrites: true};\n","import {QueryList} from '@angular/core';\n\nconst rect = {\n bottom: 0,\n height: 0,\n left: 0,\n right: 0,\n top: 0,\n width: 0,\n x: 0,\n y: 0,\n} as const;\n\n/**\n * For type safety when using @ContentChildren and @ViewChildren\n *\n * NOTE: Be careful subscribing to 'changes'\n * @deprecated use viewChild(), viewChildren(), contentChild() and contentChildren() for strict type checking\n */\nexport const EMPTY_QUERY = new QueryList<any>();\nexport const EMPTY_ARRAY: [] = [];\nexport const EMPTY_FUNCTION: (...args: any[]) => void = () => {};\nexport const EMPTY_CLIENT_RECT: DOMRect = {\n ...rect,\n toJSON: () => rect,\n};\n","/**\n * Handler that always returns `false`.\n */\n// eslint-disable-next-line no-restricted-syntax\nexport const TUI_FALSE_HANDLER = (): false => false;\n\n/**\n * Handler that always returns `true`.\n */\n// eslint-disable-next-line no-restricted-syntax\nexport const TUI_TRUE_HANDLER = (): true => true;\n","import {type TuiHandler, type TuiIdentityMatcher} from '@taiga-ui/cdk/types';\n\nfunction bothEmpty(item1: unknown, item2: unknown): boolean {\n return Array.isArray(item1) && Array.isArray(item2) && !item1.length && !item2.length;\n}\n\n/**\n * Default handler for matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_DEFAULT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = String,\n): boolean => stringify(item).toLowerCase().includes(search.toLowerCase());\n\n/**\n * Default handler for strict matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_STRICT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = String,\n): boolean => stringify(item).toLowerCase() === search.toLowerCase();\n\n/**\n * Default handler to match equality of two elements\n * ATTENTION: considers two empty arrays equal\n *\n * @param item1 first element\n * @param item2 second element\n */\nexport const TUI_DEFAULT_IDENTITY_MATCHER: TuiIdentityMatcher<unknown> = (item1, item2) =>\n item1 === item2 || bothEmpty(item1, item2);\n","export const TUI_DIGIT_REGEXP = /\\d/;\nexport const TUI_NON_DIGIT_REGEXP = /\\D/;\nexport const TUI_NON_DIGITS_REGEXP = /\\D+/g;\n","export const svgNodeFilter: Exclude<NodeFilter, (node: Node) => number> = {\n acceptNode(node: Node): number {\n return 'ownerSVGElement' in node\n ? NodeFilter.FILTER_REJECT\n : NodeFilter.FILTER_ACCEPT;\n },\n};\n","/**\n * {@link https://unicode-table.com/en/00A0/ Non-breaking space}.\n */\nexport const CHAR_NO_BREAK_SPACE = '\\u00A0';\n\n/**\n * {@link https://unicode-table.com/en/2013/ EN dash}\n * is used to indicate a range of numbers or a span of time.\n * @example 2006–2022\n * ___\n * Don't confuse with {@link CHAR_EM_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EN_DASH = '\\u2013';\n\n/**\n * {@link https://unicode-table.com/en/2014/ EM dash}\n * is used to mark a break in a sentence.\n * @example Taiga UI — powerful set of open source components for Angular\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EM_DASH = '\\u2014';\n\n/**\n * {@link https://unicode-table.com/en/00AB/ Left-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_LAQUO = '\\u00AB';\n\n/**\n * {@link https://unicode-table.com/en/00BB/ Right-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_RAQUO = '\\u00BB';\n\n/**\n * {@link https://unicode-table.com/en/002D/ Hyphen (minus sign)}\n * is used to combine words.\n * @example well-behaved\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_EM_DASH}!\n */\nexport const CHAR_HYPHEN = '\\u002D';\n\n/**\n * {@link https://unicode-table.com/en/2212/ Minus}\n * is used as math operator symbol or before negative digits.\n * ---\n * Can be used as `&minus;`. Don't confuse with {@link CHAR_HYPHEN}\n */\nexport const CHAR_MINUS = '\\u2212';\n\n/**\n * {@link https://unicode-table.com/en/002B/ Plus}\n */\nexport const CHAR_PLUS = '\\u002B';\n\n/**\n * {@link https://unicode-table.com/en/2022/ Bullet}.\n */\nexport const CHAR_BULLET = '\\u2022';\n\n/**\n * {@link https://unicode-table.com/en/2026/ Suspension points}.\n */\nexport const CHAR_ELLIPSIS = '\\u2026';\n\n/**\n * {@link https://unicode-table.com/en/00A4/ Suspension points}.\n */\nexport const CHAR_CURRENCY_SIGN = '\\u00A4';\n\n/**\n * {@link https://unicode-table.com/en/200b/ Suspension points}.\n */\nexport const CHAR_ZERO_WIDTH_SPACE = '\\u200B';\n","/**\n * @description:\n * AUTOGENERATED\n *\n * Array of icons used in taiga-ui components\n */\nexport const TUI_USED_ICONS = [\n '@tui.mir',\n '@tui.visa',\n '@tui.electron',\n '@tui.mastercard',\n '@tui.maestro',\n '@tui.amex',\n '@tui.diners-club',\n '@tui.discover',\n '@tui.humo',\n '@tui.jcb',\n '@tui.ru-pay',\n '@tui.union-pay',\n '@tui.uzcard',\n '@tui.verve',\n '@tui.search',\n '@tui.sun',\n '@tui.moon',\n '@tui.code',\n '@tui.menu',\n '@tui.copy',\n '@tui.check',\n '@tui.link',\n '@tui.external-link',\n '@tui.languages',\n '@tui.shrink',\n '@tui.expand',\n '@tui.a-large-small',\n '@tui.arrow-right-left',\n '@tui.eye-off',\n '@tui.eye',\n '@tui.grip-vertical',\n '@tui.chevron-up',\n '@tui.chevron-down',\n '@tui.chevrons-up-down',\n '@tui.info',\n '@tui.circle-check',\n '@tui.circle-x',\n '@tui.circle-alert',\n '@tui.circle-help',\n '@tui.x',\n '@tui.chevron-right',\n '@tui.ellipsis',\n '@tui.chevron-left',\n '@tui.clock',\n '@tui.trash',\n '@tui.minus',\n '@tui.file',\n '@tui.calendar',\n '@tui.plus',\n '@tui.phone',\n '@tui.heart',\n '@tui.heart-filled',\n '@tui.star',\n '@tui.rotate-ccw-square',\n '@tui.arrow-left',\n '@tui.arrow-right',\n '@tui.minimize',\n '@tui.filter',\n '@tui.layout-grid',\n '@tui.move-up-right',\n '@tui.move-right',\n '@tui.move-down-right',\n '@tui.move-down',\n '@tui.move-down-left',\n '@tui.move-left',\n '@tui.move-up-left',\n '@tui.move-up',\n] as const;\n","export const TUI_VERSION = '4.51.0';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEa,MAAA,uBAAuB,GAChC,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,GAAG,EAAC,iBAAiB,EAAE,IAAI;;ACDrE,MAAM,IAAI,GAAG;AACT,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,IAAI,EAAE,CAAC;AACP,IAAA,KAAK,EAAE,CAAC;AACR,IAAA,GAAG,EAAE,CAAC;AACN,IAAA,KAAK,EAAE,CAAC;AACR,IAAA,CAAC,EAAE,CAAC;AACJ,IAAA,CAAC,EAAE,CAAC;CACE,CAAC;AAEX;;;;;AAKG;AACU,MAAA,WAAW,GAAG,IAAI,SAAS,GAAQ;AACzC,MAAM,WAAW,GAAO,GAAG;MACrB,cAAc,GAA6B,MAAK,IAAI;AACpD,MAAA,iBAAiB,GAAY;AACtC,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ACtB,gBAAgB;IAChB,qBAAqB;IACrB,gBAAgB;IAChB,mBAAmB;IACnB,cAAc;;;ACzEX,MAAM,WAAW,GAAG;;ACA3B;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-constants.mjs","sources":["../../../projects/cdk/constants/empty.ts","../../../projects/cdk/constants/handlers.ts","../../../projects/cdk/constants/matchers.ts","../../../projects/cdk/constants/regexp.ts","../../../projects/cdk/constants/svg-node-filter.ts","../../../projects/cdk/constants/unicode-chars.ts","../../../projects/cdk/constants/used-icons.ts","../../../projects/cdk/constants/version.ts","../../../projects/cdk/constants/taiga-ui-cdk-constants.ts"],"sourcesContent":["import {QueryList} from '@angular/core';\n\nconst rect = {\n bottom: 0,\n height: 0,\n left: 0,\n right: 0,\n top: 0,\n width: 0,\n x: 0,\n y: 0,\n} as const;\n\n/**\n * For type safety when using @ContentChildren and @ViewChildren\n *\n * NOTE: Be careful subscribing to 'changes'\n * @deprecated use viewChild(), viewChildren(), contentChild() and contentChildren() for strict type checking\n */\nexport const EMPTY_QUERY = new QueryList<any>();\nexport const EMPTY_ARRAY: [] = [];\nexport const EMPTY_FUNCTION: (...args: any[]) => void = () => {};\nexport const EMPTY_CLIENT_RECT: DOMRect = {\n ...rect,\n toJSON: () => rect,\n};\n","/**\n * Handler that always returns `false`.\n */\nexport const TUI_FALSE_HANDLER = (): false => false;\n\n/**\n * Handler that always returns `true`.\n */\nexport const TUI_TRUE_HANDLER = (): true => true;\n","import {type TuiHandler, type TuiIdentityMatcher} from '@taiga-ui/cdk/types';\n\nfunction bothEmpty(item1: unknown, item2: unknown): boolean {\n return Array.isArray(item1) && Array.isArray(item2) && !item1.length && !item2.length;\n}\n\n/**\n * Default handler for matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_DEFAULT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = String,\n): boolean => stringify(item).toLowerCase().includes(search.toLowerCase());\n\n/**\n * Default handler for strict matching stringified version of an item and a search query\n * @param item arbitrary element to match with a string\n * @param search search query\n * @param stringify handler to turn item into a string\n */\nexport const TUI_STRICT_MATCHER = <T>(\n item: T,\n search: string,\n stringify: TuiHandler<T, string> = String,\n): boolean => stringify(item).toLowerCase() === search.toLowerCase();\n\n/**\n * Default handler to match equality of two elements\n * ATTENTION: considers two empty arrays equal\n *\n * @param item1 first element\n * @param item2 second element\n */\nexport const TUI_DEFAULT_IDENTITY_MATCHER: TuiIdentityMatcher<unknown> = (item1, item2) =>\n item1 === item2 || bothEmpty(item1, item2);\n","export const TUI_DIGIT_REGEXP = /\\d/;\nexport const TUI_NON_DIGIT_REGEXP = /\\D/;\nexport const TUI_NON_DIGITS_REGEXP = /\\D+/g;\n","export const svgNodeFilter: Exclude<NodeFilter, (node: Node) => number> = {\n acceptNode(node: Node): number {\n return 'ownerSVGElement' in node\n ? NodeFilter.FILTER_REJECT\n : NodeFilter.FILTER_ACCEPT;\n },\n};\n","/**\n * {@link https://unicode-table.com/en/00A0/ Non-breaking space}.\n */\nexport const CHAR_NO_BREAK_SPACE = '\\u00A0';\n\n/**\n * {@link https://unicode-table.com/en/2013/ EN dash}\n * is used to indicate a range of numbers or a span of time.\n * @example 2006–2022\n * ___\n * Don't confuse with {@link CHAR_EM_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EN_DASH = '\\u2013';\n\n/**\n * {@link https://unicode-table.com/en/2014/ EM dash}\n * is used to mark a break in a sentence.\n * @example Taiga UI — powerful set of open source components for Angular\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_HYPHEN}!\n */\nexport const CHAR_EM_DASH = '\\u2014';\n\n/**\n * {@link https://unicode-table.com/en/00AB/ Left-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_LAQUO = '\\u00AB';\n\n/**\n * {@link https://unicode-table.com/en/00BB/ Right-Pointing Double Angle Quotation Mark}\n */\nexport const CHAR_RAQUO = '\\u00BB';\n\n/**\n * {@link https://unicode-table.com/en/002D/ Hyphen (minus sign)}\n * is used to combine words.\n * @example well-behaved\n * ___\n * Don't confuse with {@link CHAR_EN_DASH} or {@link CHAR_EM_DASH}!\n */\nexport const CHAR_HYPHEN = '\\u002D';\n\n/**\n * {@link https://unicode-table.com/en/2212/ Minus}\n * is used as math operator symbol or before negative digits.\n * ---\n * Can be used as `&minus;`. Don't confuse with {@link CHAR_HYPHEN}\n */\nexport const CHAR_MINUS = '\\u2212';\n\n/**\n * {@link https://unicode-table.com/en/002B/ Plus}\n */\nexport const CHAR_PLUS = '\\u002B';\n\n/**\n * {@link https://unicode-table.com/en/2022/ Bullet}.\n */\nexport const CHAR_BULLET = '\\u2022';\n\n/**\n * {@link https://unicode-table.com/en/2026/ Suspension points}.\n */\nexport const CHAR_ELLIPSIS = '\\u2026';\n\n/**\n * {@link https://unicode-table.com/en/00A4/ Suspension points}.\n */\nexport const CHAR_CURRENCY_SIGN = '\\u00A4';\n\n/**\n * {@link https://unicode-table.com/en/200b/ Suspension points}.\n */\nexport const CHAR_ZERO_WIDTH_SPACE = '\\u200B';\n","/**\n * @description:\n * AUTOGENERATED\n *\n * Array of icons used in taiga-ui components\n */\nexport const TUI_USED_ICONS = [\n '@tui.mir',\n '@tui.visa',\n '@tui.electron',\n '@tui.search',\n '@tui.sun',\n '@tui.moon',\n '@tui.code',\n '@tui.menu',\n '@tui.copy',\n '@tui.check',\n '@tui.link',\n '@tui.external-link',\n '@tui.languages',\n '@tui.shrink',\n '@tui.expand',\n '@tui.a-large-small',\n '@tui.arrow-right-left',\n '@tui.eye-off',\n '@tui.eye',\n '@tui.grip-vertical',\n '@tui.chevron-up',\n '@tui.chevron-down',\n '@tui.chevrons-up-down',\n '@tui.info',\n '@tui.circle-check',\n '@tui.circle-x',\n '@tui.circle-alert',\n '@tui.circle-help',\n '@tui.x',\n '@tui.chevron-right',\n '@tui.ellipsis',\n '@tui.chevron-left',\n '@tui.clock',\n '@tui.trash',\n '@tui.minus',\n '@tui.file',\n '@tui.calendar',\n '@tui.plus',\n '@tui.heart',\n '@tui.heart-filled',\n '@tui.star',\n '@tui.rotate-ccw-square',\n '@tui.arrow-left',\n '@tui.arrow-right',\n '@tui.minimize',\n '@tui.filter',\n '@tui.layout-grid',\n] as const;\n","export const TUI_VERSION = '4.52.0-canary.0ec45da';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;AAEA,MAAM,IAAI,GAAG;AACT,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,MAAM,EAAE,CAAC;AACT,IAAA,IAAI,EAAE,CAAC;AACP,IAAA,KAAK,EAAE,CAAC;AACR,IAAA,GAAG,EAAE,CAAC;AACN,IAAA,KAAK,EAAE,CAAC;AACR,IAAA,CAAC,EAAE,CAAC;AACJ,IAAA,CAAC,EAAE,CAAC;CACE;AAEV;;;;;AAKG;AACU,MAAA,WAAW,GAAG,IAAI,SAAS;AACjC,MAAM,WAAW,GAAO;MAClB,cAAc,GAA6B,MAAK;AAChD,MAAA,iBAAiB,GAAY;AACtC,IAAA,GAAG,IAAI;AACP,IAAA,MAAM,EAAE,MAAM,IAAI;;;ACxBtB;;AAEG;MACU,iBAAiB,GAAG,MAAa;AAE9C;;AAEG;MACU,gBAAgB,GAAG,MAAY;;ACN5C,SAAS,SAAS,CAAC,KAAc,EAAE,KAAc,EAAA;IAC7C,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM;AACzF;AAEA;;;;;AAKG;AACI,MAAM,mBAAmB,GAAG,CAC/B,IAAO,EACP,MAAc,EACd,SAAA,GAAmC,MAAM,KAC/B,SAAS,CAAC,IAAI,CAAC,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,WAAW,EAAE;AAEzE;;;;;AAKG;AACU,MAAA,kBAA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;IACpB,iBAAiB;IACjB,mBAAmB;IACnB,uBAAuB;IACvB,WAAW;IACX,mBAAmB;IACnB,eAAe;IACf,mBAAmB;IACnB,kBAAkB;IAClB,QAAQ;IACR,oBAAoB;IACpB,eAAe;IACf,mBAAmB;IACnB,YAAY;IACZ,YAAY;IACZ,YAAY;IACZ,WAAW;IACX,eAAe;IACf,WAAW;IACX,YAAY;IACZ,mBAAmB;IACnB,WAAW;IACX,wBAAwB;IACxB,iBAAiB;IACjB,kBAAkB;IAClB,eAAe;IACf,aAAa;IACb,kBAAkB;;;ACrDf,MAAM,WAAW,GAAG;;ACA3B;;AAEG;;;;"}
@@ -488,7 +488,7 @@ class TuiDay extends TuiMonth {
488
488
  (this.monthSame(another) && this.day < another.day));
489
489
  }
490
490
  /**
491
- * Passed date is after or equals to current
491
+ * Passed date is after or equal to current
492
492
  */
493
493
  daySameOrBefore(another) {
494
494
  return (this.monthBefore(another) ||
@@ -544,7 +544,19 @@ class TuiDay extends TuiMonth {
544
544
  const totalMonths = (this.year + year) * MONTHS_IN_YEAR + this.month + month;
545
545
  let years = Math.floor(totalMonths / MONTHS_IN_YEAR);
546
546
  let months = totalMonths % MONTHS_IN_YEAR;
547
- let days = Math.min(this.day, TuiMonth.getMonthDaysCount(months, TuiYear.isLeapYear(years))) + day;
547
+ const monthDaysCount = TuiMonth.getMonthDaysCount(months, TuiYear.isLeapYear(years));
548
+ const currentMonthDaysCount = TuiMonth.getMonthDaysCount(this.month, TuiYear.isLeapYear(years));
549
+ let days = day;
550
+ if (this.day > monthDaysCount) {
551
+ days += this.day - (currentMonthDaysCount - monthDaysCount);
552
+ }
553
+ else if (currentMonthDaysCount < monthDaysCount &&
554
+ this.day === currentMonthDaysCount) {
555
+ days += this.day + (monthDaysCount - currentMonthDaysCount);
556
+ }
557
+ else {
558
+ days += this.day;
559
+ }
548
560
  while (days > TuiMonth.getMonthDaysCount(months, TuiYear.isLeapYear(years))) {
549
561
  days -= TuiMonth.getMonthDaysCount(months, TuiYear.isLeapYear(years));
550
562
  if (months === TuiMonthNumber.December) {