@taiga-ui/cdk 4.51.0 → 4.52.0-canary.34c26c6

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 (746) hide show
  1. package/classes/control.d.ts +2 -2
  2. package/classes/portals.d.ts +1 -1
  3. package/constants/version.d.ts +1 -1
  4. package/constants/version.js +2 -1
  5. package/constants/version.js.map +1 -0
  6. package/date-time/date-time.d.ts +1 -1
  7. package/directives/auto-focus/autofocus.options.d.ts +2 -2
  8. package/directives/popover/popover.directive.d.ts +1 -1
  9. package/fesm2022/taiga-ui-cdk-classes.mjs +11 -12
  10. package/fesm2022/taiga-ui-cdk-classes.mjs.map +1 -1
  11. package/fesm2022/taiga-ui-cdk-constants.mjs +1 -1
  12. package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -1
  13. package/fesm2022/taiga-ui-cdk-date-time.mjs.map +1 -1
  14. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs +5 -5
  15. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs.map +1 -1
  16. package/fesm2022/taiga-ui-cdk-directives-animated.mjs +7 -7
  17. package/fesm2022/taiga-ui-cdk-directives-animated.mjs.map +1 -1
  18. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs +5 -5
  19. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs.map +1 -1
  20. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs +4 -4
  21. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs.map +1 -1
  22. package/fesm2022/taiga-ui-cdk-directives-control.mjs +3 -3
  23. package/fesm2022/taiga-ui-cdk-directives-control.mjs.map +1 -1
  24. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs +4 -4
  25. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs.map +1 -1
  26. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs +4 -4
  27. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs.map +1 -1
  28. package/fesm2022/taiga-ui-cdk-directives-element.mjs +4 -4
  29. package/fesm2022/taiga-ui-cdk-directives-element.mjs.map +1 -1
  30. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs +4 -4
  31. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs +3 -3
  33. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-cdk-directives-for.mjs +4 -4
  35. package/fesm2022/taiga-ui-cdk-directives-for.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs +3 -3
  37. package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs +8 -8
  39. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-cdk-directives-item.mjs +3 -3
  41. package/fesm2022/taiga-ui-cdk-directives-item.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-cdk-directives-let.mjs +5 -5
  43. package/fesm2022/taiga-ui-cdk-directives-let.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-cdk-directives-media.mjs +4 -4
  45. package/fesm2022/taiga-ui-cdk-directives-media.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs +4 -4
  47. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs +8 -8
  49. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-cdk-directives-pan.mjs +8 -8
  51. package/fesm2022/taiga-ui-cdk-directives-pan.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-cdk-directives-platform.mjs +4 -4
  53. package/fesm2022/taiga-ui-cdk-directives-platform.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-cdk-directives-popover.mjs +3 -3
  55. package/fesm2022/taiga-ui-cdk-directives-popover.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs +4 -4
  57. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs +7 -7
  59. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs +8 -8
  61. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs +4 -4
  63. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-cdk-directives-validator.mjs +3 -3
  65. package/fesm2022/taiga-ui-cdk-directives-validator.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs +4 -4
  67. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-cdk-directives-visual-viewport.mjs +3 -3
  69. package/fesm2022/taiga-ui-cdk-directives-visual-viewport.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs +7 -7
  71. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-cdk-observables.mjs.map +1 -1
  73. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs +3 -3
  74. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs.map +1 -1
  75. package/fesm2022/taiga-ui-cdk-pipes-filter.mjs +3 -3
  76. package/fesm2022/taiga-ui-cdk-pipes-filter.mjs.map +1 -1
  77. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs +3 -3
  78. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs.map +1 -1
  79. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs +3 -3
  80. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs.map +1 -1
  81. package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs +3 -3
  82. package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs +3 -3
  84. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs +3 -3
  86. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs +3 -3
  88. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs +3 -3
  90. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-cdk-services.mjs +17 -15
  92. package/fesm2022/taiga-ui-cdk-services.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-cdk-tokens.mjs +6 -6
  94. package/fesm2022/taiga-ui-cdk-tokens.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-cdk-utils-browser.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-cdk-utils-color.mjs +1 -1
  97. package/fesm2022/taiga-ui-cdk-utils-color.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-cdk-utils-di.mjs +1 -0
  99. package/fesm2022/taiga-ui-cdk-utils-di.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-cdk-utils-dom.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-cdk-utils-focus.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-cdk-utils-math.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs +6 -2
  104. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs.map +1 -1
  105. package/package.json +15 -127
  106. package/pipes/obfuscate/obfuscate.options.d.ts +1 -1
  107. package/schematics/constants/file-globs.js +2 -1
  108. package/schematics/constants/file-globs.js.map +1 -0
  109. package/schematics/constants/index.js +1 -0
  110. package/schematics/constants/index.js.map +1 -0
  111. package/schematics/constants/taiga-styles.js +1 -0
  112. package/schematics/constants/taiga-styles.js.map +1 -0
  113. package/schematics/index.js +1 -0
  114. package/schematics/index.js.map +1 -0
  115. package/schematics/migrate-tui-let/index.js +2 -1
  116. package/schematics/migrate-tui-let/index.js.map +1 -0
  117. package/schematics/ng-add/constants/modules.js +1 -0
  118. package/schematics/ng-add/constants/modules.js.map +1 -0
  119. package/schematics/ng-add/constants/packages.js +1 -0
  120. package/schematics/ng-add/constants/packages.js.map +1 -0
  121. package/schematics/ng-add/constants/versions.d.ts +1 -1
  122. package/schematics/ng-add/constants/versions.js +1 -0
  123. package/schematics/ng-add/constants/versions.js.map +1 -0
  124. package/schematics/ng-add/index.js +2 -2
  125. package/schematics/ng-add/index.js.map +1 -0
  126. package/schematics/ng-add/schema.js +1 -0
  127. package/schematics/ng-add/schema.js.map +1 -0
  128. package/schematics/ng-add/setup-project.js +2 -1
  129. package/schematics/ng-add/setup-project.js.map +1 -0
  130. package/schematics/ng-add/steps/add-taiga-icons.js +3 -3
  131. package/schematics/ng-add/steps/add-taiga-icons.js.map +1 -0
  132. package/schematics/ng-add/steps/add-taiga-modules.js +2 -2
  133. package/schematics/ng-add/steps/add-taiga-modules.js.map +1 -0
  134. package/schematics/ng-add/steps/add-taiga-styles.js +2 -2
  135. package/schematics/ng-add/steps/add-taiga-styles.js.map +1 -0
  136. package/schematics/ng-add/steps/wrap-with-tui-root.js +2 -2
  137. package/schematics/ng-add/steps/wrap-with-tui-root.js.map +1 -0
  138. package/schematics/ng-update/interfaces/asset.js +1 -0
  139. package/schematics/ng-update/interfaces/asset.js.map +1 -0
  140. package/schematics/ng-update/interfaces/html-comment.js +1 -0
  141. package/schematics/ng-update/interfaces/html-comment.js.map +1 -0
  142. package/schematics/ng-update/interfaces/index.js +1 -0
  143. package/schematics/ng-update/interfaces/index.js.map +1 -0
  144. package/schematics/ng-update/interfaces/migration-warning.js +1 -0
  145. package/schematics/ng-update/interfaces/migration-warning.js.map +1 -0
  146. package/schematics/ng-update/interfaces/removable-input.js +1 -0
  147. package/schematics/ng-update/interfaces/removable-input.js.map +1 -0
  148. package/schematics/ng-update/interfaces/removed-module.js +1 -0
  149. package/schematics/ng-update/interfaces/removed-module.js.map +1 -0
  150. package/schematics/ng-update/interfaces/replacement-attribute-to-directive.js +1 -0
  151. package/schematics/ng-update/interfaces/replacement-attribute-to-directive.js.map +1 -0
  152. package/schematics/ng-update/interfaces/replacement-attribute-value.js +1 -0
  153. package/schematics/ng-update/interfaces/replacement-attribute-value.js.map +1 -0
  154. package/schematics/ng-update/interfaces/replacement-attribute.js +1 -0
  155. package/schematics/ng-update/interfaces/replacement-attribute.js.map +1 -0
  156. package/schematics/ng-update/interfaces/replacement-enum.js +1 -0
  157. package/schematics/ng-update/interfaces/replacement-enum.js.map +1 -0
  158. package/schematics/ng-update/interfaces/replacement-identifier.js +1 -0
  159. package/schematics/ng-update/interfaces/replacement-identifier.js.map +1 -0
  160. package/schematics/ng-update/interfaces/replacement-service.js +1 -0
  161. package/schematics/ng-update/interfaces/replacement-service.js.map +1 -0
  162. package/schematics/ng-update/interfaces/replacement-tag.js +1 -0
  163. package/schematics/ng-update/interfaces/replacement-tag.js.map +1 -0
  164. package/schematics/ng-update/interfaces/replacement-type.js +1 -0
  165. package/schematics/ng-update/interfaces/replacement-type.js.map +1 -0
  166. package/schematics/ng-update/interfaces/template-resource.js +1 -0
  167. package/schematics/ng-update/interfaces/template-resource.js.map +1 -0
  168. package/schematics/ng-update/steps/icons/replace-imports.js +2 -2
  169. package/schematics/ng-update/steps/icons/replace-imports.js.map +1 -0
  170. package/schematics/ng-update/steps/index.js +1 -0
  171. package/schematics/ng-update/steps/index.js.map +1 -0
  172. package/schematics/ng-update/steps/rename-types.js +2 -2
  173. package/schematics/ng-update/steps/rename-types.js.map +1 -0
  174. package/schematics/ng-update/steps/replace-deep-import.js +2 -2
  175. package/schematics/ng-update/steps/replace-deep-import.js.map +1 -0
  176. package/schematics/ng-update/steps/replace-enums.js +2 -2
  177. package/schematics/ng-update/steps/replace-enums.js.map +1 -0
  178. package/schematics/ng-update/steps/replace-identifier.js +3 -3
  179. package/schematics/ng-update/steps/replace-identifier.js.map +1 -0
  180. package/schematics/ng-update/steps/replace-package-name.js +2 -2
  181. package/schematics/ng-update/steps/replace-package-name.js.map +1 -0
  182. package/schematics/ng-update/steps/replace-services.js +2 -2
  183. package/schematics/ng-update/steps/replace-services.js.map +1 -0
  184. package/schematics/ng-update/steps/show-warnings.js +2 -2
  185. package/schematics/ng-update/steps/show-warnings.js.map +1 -0
  186. package/schematics/ng-update/utils/get-file-system.js +2 -2
  187. package/schematics/ng-update/utils/get-file-system.js.map +1 -0
  188. package/schematics/ng-update/utils/replace-text.js +2 -2
  189. package/schematics/ng-update/utils/replace-text.js.map +1 -0
  190. package/schematics/ng-update/utils/templates/index.js +1 -0
  191. package/schematics/ng-update/utils/templates/index.js.map +1 -0
  192. package/schematics/ng-update/utils/templates/remove-inputs.js +2 -2
  193. package/schematics/ng-update/utils/templates/remove-inputs.js.map +1 -0
  194. package/schematics/ng-update/utils/templates/replace-attr-values.js +2 -2
  195. package/schematics/ng-update/utils/templates/replace-attr-values.js.map +1 -0
  196. package/schematics/ng-update/utils/templates/replace-attrs-by-directives.js +2 -2
  197. package/schematics/ng-update/utils/templates/replace-attrs-by-directives.js.map +1 -0
  198. package/schematics/ng-update/utils/templates/replace-attrs.js +2 -2
  199. package/schematics/ng-update/utils/templates/replace-attrs.js.map +1 -0
  200. package/schematics/ng-update/utils/templates/replace-tag.js +2 -2
  201. package/schematics/ng-update/utils/templates/replace-tag.js.map +1 -0
  202. package/schematics/ng-update/utils/templates/replace-tags.js +2 -2
  203. package/schematics/ng-update/utils/templates/replace-tags.js.map +1 -0
  204. package/schematics/ng-update/utils/templates/template-comments.js +2 -2
  205. package/schematics/ng-update/utils/templates/template-comments.js.map +1 -0
  206. package/schematics/ng-update/v4/index.js +2 -2
  207. package/schematics/ng-update/v4/index.js.map +1 -0
  208. package/schematics/ng-update/v4/migrate-addon-doc/index.js +2 -2
  209. package/schematics/ng-update/v4/migrate-addon-doc/index.js.map +1 -0
  210. package/schematics/ng-update/v4/migrate-addon-doc/replace-symbols.js +1 -0
  211. package/schematics/ng-update/v4/migrate-addon-doc/replace-symbols.js.map +1 -0
  212. package/schematics/ng-update/v4/migrate-css-vars/index.js +2 -2
  213. package/schematics/ng-update/v4/migrate-css-vars/index.js.map +1 -0
  214. package/schematics/ng-update/v4/migrate-css-vars/palette.js +1 -0
  215. package/schematics/ng-update/v4/migrate-css-vars/palette.js.map +1 -0
  216. package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.d.ts +0 -1
  217. package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.js +2 -2
  218. package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.js.map +1 -0
  219. package/schematics/ng-update/v4/migrate-icons/index.js +2 -2
  220. package/schematics/ng-update/v4/migrate-icons/index.js.map +1 -0
  221. package/schematics/ng-update/v4/migrate-icons/rename-icons.d.ts +0 -1
  222. package/schematics/ng-update/v4/migrate-icons/rename-icons.js +2 -2
  223. package/schematics/ng-update/v4/migrate-icons/rename-icons.js.map +1 -0
  224. package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.d.ts +0 -1
  225. package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.js +2 -2
  226. package/schematics/ng-update/v4/migrate-icons/rename-proprietary-icons.js.map +1 -0
  227. package/schematics/ng-update/v4/steps/constants/attr-to-directive-replace.js +1 -0
  228. package/schematics/ng-update/v4/steps/constants/attr-to-directive-replace.js.map +1 -0
  229. package/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.js +1 -0
  230. package/schematics/ng-update/v4/steps/constants/attr-with-values-to-replace.js.map +1 -0
  231. package/schematics/ng-update/v4/steps/constants/attrs-to-replace.js +1 -0
  232. package/schematics/ng-update/v4/steps/constants/attrs-to-replace.js.map +1 -0
  233. package/schematics/ng-update/v4/steps/constants/enums.js +1 -0
  234. package/schematics/ng-update/v4/steps/constants/enums.js.map +1 -0
  235. package/schematics/ng-update/v4/steps/constants/functions.js +1 -0
  236. package/schematics/ng-update/v4/steps/constants/functions.js.map +1 -0
  237. package/schematics/ng-update/v4/steps/constants/html-comments.js +1 -0
  238. package/schematics/ng-update/v4/steps/constants/html-comments.js.map +1 -0
  239. package/schematics/ng-update/v4/steps/constants/identifiers-to-replace.js +1 -0
  240. package/schematics/ng-update/v4/steps/constants/identifiers-to-replace.js.map +1 -0
  241. package/schematics/ng-update/v4/steps/constants/index.js +1 -0
  242. package/schematics/ng-update/v4/steps/constants/index.js.map +1 -0
  243. package/schematics/ng-update/v4/steps/constants/inputs-to-remove.js +1 -0
  244. package/schematics/ng-update/v4/steps/constants/inputs-to-remove.js.map +1 -0
  245. package/schematics/ng-update/v4/steps/constants/migration-warnings.js +1 -0
  246. package/schematics/ng-update/v4/steps/constants/migration-warnings.js.map +1 -0
  247. package/schematics/ng-update/v4/steps/constants/modules-to-remove.js +1 -0
  248. package/schematics/ng-update/v4/steps/constants/modules-to-remove.js.map +1 -0
  249. package/schematics/ng-update/v4/steps/constants/modules-to-replace.js +1 -0
  250. package/schematics/ng-update/v4/steps/constants/modules-to-replace.js.map +1 -0
  251. package/schematics/ng-update/v4/steps/constants/services.js +1 -0
  252. package/schematics/ng-update/v4/steps/constants/services.js.map +1 -0
  253. package/schematics/ng-update/v4/steps/constants/tags-to-replace.js +1 -0
  254. package/schematics/ng-update/v4/steps/constants/tags-to-replace.js.map +1 -0
  255. package/schematics/ng-update/v4/steps/constants/types.js +1 -0
  256. package/schematics/ng-update/v4/steps/constants/types.js.map +1 -0
  257. package/schematics/ng-update/v4/steps/drop-universal-mock.js +2 -2
  258. package/schematics/ng-update/v4/steps/drop-universal-mock.js.map +1 -0
  259. package/schematics/ng-update/v4/steps/index.js +1 -0
  260. package/schematics/ng-update/v4/steps/index.js.map +1 -0
  261. package/schematics/ng-update/v4/steps/migrate-alert-service.js +2 -2
  262. package/schematics/ng-update/v4/steps/migrate-alert-service.js.map +1 -0
  263. package/schematics/ng-update/v4/steps/migrate-all-country-iso-codes.js +2 -2
  264. package/schematics/ng-update/v4/steps/migrate-all-country-iso-codes.js.map +1 -0
  265. package/schematics/ng-update/v4/steps/migrate-destroy-service.js +2 -2
  266. package/schematics/ng-update/v4/steps/migrate-destroy-service.js.map +1 -0
  267. package/schematics/ng-update/v4/steps/migrate-editor.d.ts +0 -1
  268. package/schematics/ng-update/v4/steps/migrate-editor.js +3 -2
  269. package/schematics/ng-update/v4/steps/migrate-editor.js.map +1 -0
  270. package/schematics/ng-update/v4/steps/migrate-legacy-mask.js +2 -2
  271. package/schematics/ng-update/v4/steps/migrate-legacy-mask.js.map +1 -0
  272. package/schematics/ng-update/v4/steps/migrate-month-context.js +2 -2
  273. package/schematics/ng-update/v4/steps/migrate-month-context.js.map +1 -0
  274. package/schematics/ng-update/v4/steps/migrate-number-format-settings.js +2 -2
  275. package/schematics/ng-update/v4/steps/migrate-number-format-settings.js.map +1 -0
  276. package/schematics/ng-update/v4/steps/migrate-option-providers.js +2 -2
  277. package/schematics/ng-update/v4/steps/migrate-option-providers.js.map +1 -0
  278. package/schematics/ng-update/v4/steps/migrate-proprietary.d.ts +0 -1
  279. package/schematics/ng-update/v4/steps/migrate-proprietary.js +3 -3
  280. package/schematics/ng-update/v4/steps/migrate-proprietary.js.map +1 -0
  281. package/schematics/ng-update/v4/steps/migrate-providers-from.js +2 -2
  282. package/schematics/ng-update/v4/steps/migrate-providers-from.js.map +1 -0
  283. package/schematics/ng-update/v4/steps/migrate-root.js +2 -2
  284. package/schematics/ng-update/v4/steps/migrate-root.js.map +1 -0
  285. package/schematics/ng-update/v4/steps/migrate-templates.js +3 -3
  286. package/schematics/ng-update/v4/steps/migrate-templates.js.map +1 -0
  287. package/schematics/ng-update/v4/steps/remove-duplicates.js +2 -2
  288. package/schematics/ng-update/v4/steps/remove-duplicates.js.map +1 -0
  289. package/schematics/ng-update/v4/steps/replace-functions.js +2 -2
  290. package/schematics/ng-update/v4/steps/replace-functions.js.map +1 -0
  291. package/schematics/ng-update/v4/steps/restore-tui-mapper.js +2 -2
  292. package/schematics/ng-update/v4/steps/restore-tui-mapper.js.map +1 -0
  293. package/schematics/ng-update/v4/steps/restore-tui-matcher.js +2 -2
  294. package/schematics/ng-update/v4/steps/restore-tui-matcher.js.map +1 -0
  295. package/schematics/ng-update/v4/steps/styles/index.d.ts +0 -1
  296. package/schematics/ng-update/v4/steps/styles/index.js +3 -2
  297. package/schematics/ng-update/v4/steps/styles/index.js.map +1 -0
  298. package/schematics/ng-update/v4/steps/styles/migrate-legacy-mixins.js +2 -2
  299. package/schematics/ng-update/v4/steps/styles/migrate-legacy-mixins.js.map +1 -0
  300. package/schematics/ng-update/v4/steps/styles/migrate-less-scss-constants.js +2 -2
  301. package/schematics/ng-update/v4/steps/styles/migrate-less-scss-constants.js.map +1 -0
  302. package/schematics/ng-update/v4/steps/styles/migrate-mixins.js +2 -2
  303. package/schematics/ng-update/v4/steps/styles/migrate-mixins.js.map +1 -0
  304. package/schematics/ng-update/v4/steps/styles/migrate-shadow-mixins.js +2 -2
  305. package/schematics/ng-update/v4/steps/styles/migrate-shadow-mixins.js.map +1 -0
  306. package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js +2 -2
  307. package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js.map +1 -0
  308. package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.js +2 -2
  309. package/schematics/ng-update/v4/steps/styles/migrate-text-mixins.js.map +1 -0
  310. package/schematics/ng-update/v4/steps/templates/dropdown-ref-comment.js +2 -2
  311. package/schematics/ng-update/v4/steps/templates/dropdown-ref-comment.js.map +1 -0
  312. package/schematics/ng-update/v4/steps/templates/index.js +1 -0
  313. package/schematics/ng-update/v4/steps/templates/index.js.map +1 -0
  314. package/schematics/ng-update/v4/steps/templates/migrate-active-zone.js +2 -2
  315. package/schematics/ng-update/v4/steps/templates/migrate-active-zone.js.map +1 -0
  316. package/schematics/ng-update/v4/steps/templates/migrate-avatar.js +2 -2
  317. package/schematics/ng-update/v4/steps/templates/migrate-avatar.js.map +1 -0
  318. package/schematics/ng-update/v4/steps/templates/migrate-axes.js +2 -2
  319. package/schematics/ng-update/v4/steps/templates/migrate-axes.js.map +1 -0
  320. package/schematics/ng-update/v4/steps/templates/migrate-badge.js +2 -2
  321. package/schematics/ng-update/v4/steps/templates/migrate-badge.js.map +1 -0
  322. package/schematics/ng-update/v4/steps/templates/migrate-badged-content.js +2 -2
  323. package/schematics/ng-update/v4/steps/templates/migrate-badged-content.js.map +1 -0
  324. package/schematics/ng-update/v4/steps/templates/migrate-blocked.js +2 -2
  325. package/schematics/ng-update/v4/steps/templates/migrate-blocked.js.map +1 -0
  326. package/schematics/ng-update/v4/steps/templates/migrate-button-appearance.js +2 -2
  327. package/schematics/ng-update/v4/steps/templates/migrate-button-appearance.js.map +1 -0
  328. package/schematics/ng-update/v4/steps/templates/migrate-expandable.js +2 -2
  329. package/schematics/ng-update/v4/steps/templates/migrate-expandable.js.map +1 -0
  330. package/schematics/ng-update/v4/steps/templates/migrate-filter-pipe.js +2 -2
  331. package/schematics/ng-update/v4/steps/templates/migrate-filter-pipe.js.map +1 -0
  332. package/schematics/ng-update/v4/steps/templates/migrate-focusable.js +2 -2
  333. package/schematics/ng-update/v4/steps/templates/migrate-focusable.js.map +1 -0
  334. package/schematics/ng-update/v4/steps/templates/migrate-label.js +2 -2
  335. package/schematics/ng-update/v4/steps/templates/migrate-label.js.map +1 -0
  336. package/schematics/ng-update/v4/steps/templates/migrate-labeled.js +2 -2
  337. package/schematics/ng-update/v4/steps/templates/migrate-labeled.js.map +1 -0
  338. package/schematics/ng-update/v4/steps/templates/migrate-mobile-tabs.js +2 -2
  339. package/schematics/ng-update/v4/steps/templates/migrate-mobile-tabs.js.map +1 -0
  340. package/schematics/ng-update/v4/steps/templates/migrate-money.js +2 -2
  341. package/schematics/ng-update/v4/steps/templates/migrate-money.js.map +1 -0
  342. package/schematics/ng-update/v4/steps/templates/migrate-notification.js +2 -2
  343. package/schematics/ng-update/v4/steps/templates/migrate-notification.js.map +1 -0
  344. package/schematics/ng-update/v4/steps/templates/migrate-number-precision.js +2 -2
  345. package/schematics/ng-update/v4/steps/templates/migrate-number-precision.js.map +1 -0
  346. package/schematics/ng-update/v4/steps/templates/migrate-overscroll.js +2 -2
  347. package/schematics/ng-update/v4/steps/templates/migrate-overscroll.js.map +1 -0
  348. package/schematics/ng-update/v4/steps/templates/migrate-prevent-default.js +2 -2
  349. package/schematics/ng-update/v4/steps/templates/migrate-prevent-default.js.map +1 -0
  350. package/schematics/ng-update/v4/steps/templates/migrate-progress-segmented.js +2 -2
  351. package/schematics/ng-update/v4/steps/templates/migrate-progress-segmented.js.map +1 -0
  352. package/schematics/ng-update/v4/steps/templates/migrate-thumbnail-card.js +2 -2
  353. package/schematics/ng-update/v4/steps/templates/migrate-thumbnail-card.js.map +1 -0
  354. package/schematics/ng-update/v4/steps/templates/toggles/common.js +5 -5
  355. package/schematics/ng-update/v4/steps/templates/toggles/common.js.map +1 -0
  356. package/schematics/ng-update/v4/steps/templates/toggles/index.js +1 -0
  357. package/schematics/ng-update/v4/steps/templates/toggles/index.js.map +1 -0
  358. package/schematics/ng-update/v4/steps/templates/toggles/migrate-checkbox.js +2 -2
  359. package/schematics/ng-update/v4/steps/templates/toggles/migrate-checkbox.js.map +1 -0
  360. package/schematics/ng-update/v4/steps/templates/toggles/migrate-radio.js +2 -2
  361. package/schematics/ng-update/v4/steps/templates/toggles/migrate-radio.js.map +1 -0
  362. package/schematics/ng-update/v4/steps/templates/toggles/migrate-toggle.js +2 -2
  363. package/schematics/ng-update/v4/steps/templates/toggles/migrate-toggle.js.map +1 -0
  364. package/schematics/ng-update/v4/steps/update-packages.d.ts +0 -1
  365. package/schematics/ng-update/v4/steps/update-packages.js +3 -2
  366. package/schematics/ng-update/v4/steps/update-packages.js.map +1 -0
  367. package/schematics/ng-update/v4/steps/utils/clean-object.js +2 -2
  368. package/schematics/ng-update/v4/steps/utils/clean-object.js.map +1 -0
  369. package/schematics/ng-update/v4/steps/utils/normalize-attr-value.js +2 -2
  370. package/schematics/ng-update/v4/steps/utils/normalize-attr-value.js.map +1 -0
  371. package/schematics/ng-update/v4/steps/utils/remove-attrs.js +2 -2
  372. package/schematics/ng-update/v4/steps/utils/remove-attrs.js.map +1 -0
  373. package/schematics/ng-update/v4/steps/utils/replace-modules-with-providers.js +1 -0
  374. package/schematics/ng-update/v4/steps/utils/replace-modules-with-providers.js.map +1 -0
  375. package/schematics/ng-update/v4/steps/utils/replace-substrings.js +2 -2
  376. package/schematics/ng-update/v4/steps/utils/replace-substrings.js.map +1 -0
  377. package/schematics/ng-update/v4/tests/migrate-destroy-service/utils.js +2 -2
  378. package/schematics/ng-update/v4/tests/migrate-destroy-service/utils.js.map +1 -0
  379. package/schematics/ng-update/v5/index.js +2 -2
  380. package/schematics/ng-update/v5/index.js.map +1 -0
  381. package/schematics/ng-update/v5/steps/migrate-tokens/migrate-tokens.js +2 -2
  382. package/schematics/ng-update/v5/steps/migrate-tokens/migrate-tokens.js.map +1 -0
  383. package/schematics/ng-update/v5/steps/migrate-tokens/update-tsconfig.js +2 -2
  384. package/schematics/ng-update/v5/steps/migrate-tokens/update-tsconfig.js.map +1 -0
  385. package/schematics/ng-update/v5/tests/migrate-tokens/utils.js +2 -2
  386. package/schematics/ng-update/v5/tests/migrate-tokens/utils.js.map +1 -0
  387. package/schematics/utils/add-import-to-closest-module.js +3 -3
  388. package/schematics/utils/add-import-to-closest-module.js.map +1 -0
  389. package/schematics/utils/add-unique-import.js +2 -2
  390. package/schematics/utils/add-unique-import.js.map +1 -0
  391. package/schematics/utils/angular-json-manipulations.js +3 -3
  392. package/schematics/utils/angular-json-manipulations.js.map +1 -0
  393. package/schematics/utils/create-angular-json.js +2 -2
  394. package/schematics/utils/create-angular-json.js.map +1 -0
  395. package/schematics/utils/get-component-from-identifier.js +2 -2
  396. package/schematics/utils/get-component-from-identifier.js.map +1 -0
  397. package/schematics/utils/get-execution-time.js +2 -2
  398. package/schematics/utils/get-execution-time.js.map +1 -0
  399. package/schematics/utils/get-named-import-references.js +2 -2
  400. package/schematics/utils/get-named-import-references.js.map +1 -0
  401. package/schematics/utils/get-project-target-options.js +2 -2
  402. package/schematics/utils/get-project-target-options.js.map +1 -0
  403. package/schematics/utils/get-projects.js +2 -2
  404. package/schematics/utils/get-projects.js.map +1 -0
  405. package/schematics/utils/get-standalone-bootstrap-function.d.ts +1 -1
  406. package/schematics/utils/get-standalone-bootstrap-function.js +3 -5
  407. package/schematics/utils/get-standalone-bootstrap-function.js.map +1 -0
  408. package/schematics/utils/import-manipulations.js +3 -3
  409. package/schematics/utils/import-manipulations.js.map +1 -0
  410. package/schematics/utils/insert-todo.js +3 -2
  411. package/schematics/utils/insert-todo.js.map +1 -0
  412. package/schematics/utils/is-ci.js +2 -2
  413. package/schematics/utils/is-ci.js.map +1 -0
  414. package/schematics/utils/make-angular-json-with-assets.js +2 -2
  415. package/schematics/utils/make-angular-json-with-assets.js.map +1 -0
  416. package/schematics/utils/progress.js +2 -2
  417. package/schematics/utils/progress.js.map +1 -0
  418. package/schematics/utils/project-root.js +1 -0
  419. package/schematics/utils/project-root.js.map +1 -0
  420. package/schematics/utils/push-to-array-property.js +2 -2
  421. package/schematics/utils/push-to-array-property.js.map +1 -0
  422. package/schematics/utils/remove-module.js +3 -3
  423. package/schematics/utils/remove-module.js.map +1 -0
  424. package/schematics/utils/templates/elements.js +12 -12
  425. package/schematics/utils/templates/elements.js.map +1 -0
  426. package/schematics/utils/templates/get-component-templates.js +2 -2
  427. package/schematics/utils/templates/get-component-templates.js.map +1 -0
  428. package/schematics/utils/templates/inputs.js +3 -3
  429. package/schematics/utils/templates/inputs.js.map +1 -0
  430. package/schematics/utils/templates/ng-component-input-manipulations.js +6 -6
  431. package/schematics/utils/templates/ng-component-input-manipulations.js.map +1 -0
  432. package/schematics/utils/templates/template-resource.js +4 -4
  433. package/schematics/utils/templates/template-resource.js.map +1 -0
  434. package/services/scroll.service.d.ts +3 -0
  435. package/utils/di/create-options.d.ts +1 -1
  436. package/utils/miscellaneous/is-string.js +2 -2
  437. package/utils/miscellaneous/is-string.js.map +1 -0
  438. package/utils/miscellaneous/provide-options.d.ts +1 -1
  439. package/esm2022/classes/control.mjs +0 -96
  440. package/esm2022/classes/index.mjs +0 -5
  441. package/esm2022/classes/portals.mjs +0 -77
  442. package/esm2022/classes/taiga-ui-cdk-classes.mjs +0 -5
  443. package/esm2022/classes/validation-error.mjs +0 -7
  444. package/esm2022/classes/value-transformer.mjs +0 -25
  445. package/esm2022/constants/allow-signal-writes.mjs +0 -3
  446. package/esm2022/constants/empty.mjs +0 -25
  447. package/esm2022/constants/handlers.mjs +0 -11
  448. package/esm2022/constants/index.mjs +0 -10
  449. package/esm2022/constants/matchers.mjs +0 -26
  450. package/esm2022/constants/regexp.mjs +0 -4
  451. package/esm2022/constants/svg-node-filter.mjs +0 -8
  452. package/esm2022/constants/taiga-ui-cdk-constants.mjs +0 -5
  453. package/esm2022/constants/unicode-chars.mjs +0 -64
  454. package/esm2022/constants/used-icons.mjs +0 -76
  455. package/esm2022/constants/version.mjs +0 -2
  456. package/esm2022/date-time/date-clamp.mjs +0 -10
  457. package/esm2022/date-time/date-fillers.mjs +0 -15
  458. package/esm2022/date-time/date-time.mjs +0 -20
  459. package/esm2022/date-time/day-of-week.mjs +0 -10
  460. package/esm2022/date-time/day-range.mjs +0 -84
  461. package/esm2022/date-time/day.mjs +0 -294
  462. package/esm2022/date-time/days.const.mjs +0 -6
  463. package/esm2022/date-time/index.mjs +0 -13
  464. package/esm2022/date-time/month-number.mjs +0 -15
  465. package/esm2022/date-time/month-range.mjs +0 -27
  466. package/esm2022/date-time/month.mjs +0 -152
  467. package/esm2022/date-time/taiga-ui-cdk-date-time.mjs +0 -5
  468. package/esm2022/date-time/time.mjs +0 -161
  469. package/esm2022/date-time/types.mjs +0 -2
  470. package/esm2022/date-time/year.mjs +0 -111
  471. package/esm2022/directives/active-zone/active-zone.directive.mjs +0 -74
  472. package/esm2022/directives/active-zone/index.mjs +0 -2
  473. package/esm2022/directives/active-zone/taiga-ui-cdk-directives-active-zone.mjs +0 -5
  474. package/esm2022/directives/animated/animated-parent.directive.mjs +0 -39
  475. package/esm2022/directives/animated/animated.directive.mjs +0 -81
  476. package/esm2022/directives/animated/index.mjs +0 -3
  477. package/esm2022/directives/animated/taiga-ui-cdk-directives-animated.mjs +0 -5
  478. package/esm2022/directives/auto-focus/autofocus.directive.mjs +0 -46
  479. package/esm2022/directives/auto-focus/autofocus.options.mjs +0 -31
  480. package/esm2022/directives/auto-focus/handlers/abstract.handler.mjs +0 -17
  481. package/esm2022/directives/auto-focus/handlers/default.handler.mjs +0 -21
  482. package/esm2022/directives/auto-focus/handlers/ios.handler.mjs +0 -125
  483. package/esm2022/directives/auto-focus/handlers/sync.handler.mjs +0 -7
  484. package/esm2022/directives/auto-focus/index.mjs +0 -7
  485. package/esm2022/directives/auto-focus/taiga-ui-cdk-directives-auto-focus.mjs +0 -5
  486. package/esm2022/directives/click-outside/click-outside.directive.mjs +0 -33
  487. package/esm2022/directives/click-outside/index.mjs +0 -2
  488. package/esm2022/directives/click-outside/taiga-ui-cdk-directives-click-outside.mjs +0 -5
  489. package/esm2022/directives/control/control.directive.mjs +0 -23
  490. package/esm2022/directives/control/index.mjs +0 -2
  491. package/esm2022/directives/control/taiga-ui-cdk-directives-control.mjs +0 -5
  492. package/esm2022/directives/copy-processor/copy-processor.directive.mjs +0 -33
  493. package/esm2022/directives/copy-processor/index.mjs +0 -2
  494. package/esm2022/directives/copy-processor/taiga-ui-cdk-directives-copy-processor.mjs +0 -5
  495. package/esm2022/directives/droppable/droppable.directive.mjs +0 -31
  496. package/esm2022/directives/droppable/index.mjs +0 -2
  497. package/esm2022/directives/droppable/taiga-ui-cdk-directives-droppable.mjs +0 -5
  498. package/esm2022/directives/element/element.directive.mjs +0 -35
  499. package/esm2022/directives/element/index.mjs +0 -2
  500. package/esm2022/directives/element/taiga-ui-cdk-directives-element.mjs +0 -5
  501. package/esm2022/directives/focus-trap/focus-trap.directive.mjs +0 -67
  502. package/esm2022/directives/focus-trap/index.mjs +0 -2
  503. package/esm2022/directives/focus-trap/taiga-ui-cdk-directives-focus-trap.mjs +0 -5
  504. package/esm2022/directives/font-size/font-size.directive.mjs +0 -27
  505. package/esm2022/directives/font-size/index.mjs +0 -2
  506. package/esm2022/directives/font-size/taiga-ui-cdk-directives-font-size.mjs +0 -5
  507. package/esm2022/directives/for/for.directive.mjs +0 -34
  508. package/esm2022/directives/for/index.mjs +0 -2
  509. package/esm2022/directives/for/taiga-ui-cdk-directives-for.mjs +0 -5
  510. package/esm2022/directives/high-dpi/high-dpi.directive.mjs +0 -23
  511. package/esm2022/directives/high-dpi/index.mjs +0 -2
  512. package/esm2022/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.mjs +0 -5
  513. package/esm2022/directives/hovered/hovered.directive.mjs +0 -22
  514. package/esm2022/directives/hovered/hovered.service.mjs +0 -35
  515. package/esm2022/directives/hovered/index.mjs +0 -3
  516. package/esm2022/directives/hovered/taiga-ui-cdk-directives-hovered.mjs +0 -5
  517. package/esm2022/directives/index.mjs +0 -30
  518. package/esm2022/directives/item/index.mjs +0 -2
  519. package/esm2022/directives/item/item.directive.mjs +0 -18
  520. package/esm2022/directives/item/taiga-ui-cdk-directives-item.mjs +0 -5
  521. package/esm2022/directives/let/index.mjs +0 -3
  522. package/esm2022/directives/let/let-context.mjs +0 -15
  523. package/esm2022/directives/let/let.directive.mjs +0 -34
  524. package/esm2022/directives/let/taiga-ui-cdk-directives-let.mjs +0 -5
  525. package/esm2022/directives/media/index.mjs +0 -2
  526. package/esm2022/directives/media/media.directive.mjs +0 -89
  527. package/esm2022/directives/media/taiga-ui-cdk-directives-media.mjs +0 -5
  528. package/esm2022/directives/native-validator/index.mjs +0 -2
  529. package/esm2022/directives/native-validator/native-validator.directive.mjs +0 -43
  530. package/esm2022/directives/native-validator/taiga-ui-cdk-directives-native-validator.mjs +0 -5
  531. package/esm2022/directives/obscured/index.mjs +0 -3
  532. package/esm2022/directives/obscured/obscured.directive.mjs +0 -36
  533. package/esm2022/directives/obscured/obscured.service.mjs +0 -24
  534. package/esm2022/directives/obscured/taiga-ui-cdk-directives-obscured.mjs +0 -5
  535. package/esm2022/directives/pan/index.mjs +0 -3
  536. package/esm2022/directives/pan/pan.directive.mjs +0 -22
  537. package/esm2022/directives/pan/pan.service.mjs +0 -28
  538. package/esm2022/directives/pan/taiga-ui-cdk-directives-pan.mjs +0 -5
  539. package/esm2022/directives/platform/index.mjs +0 -2
  540. package/esm2022/directives/platform/platform.directive.mjs +0 -35
  541. package/esm2022/directives/platform/taiga-ui-cdk-directives-platform.mjs +0 -5
  542. package/esm2022/directives/popover/index.mjs +0 -2
  543. package/esm2022/directives/popover/popover.directive.mjs +0 -26
  544. package/esm2022/directives/popover/taiga-ui-cdk-directives-popover.mjs +0 -5
  545. package/esm2022/directives/repeat-times/index.mjs +0 -2
  546. package/esm2022/directives/repeat-times/repeat-times.directive.mjs +0 -55
  547. package/esm2022/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.mjs +0 -5
  548. package/esm2022/directives/resizer/index.mjs +0 -3
  549. package/esm2022/directives/resizer/resizable.directive.mjs +0 -16
  550. package/esm2022/directives/resizer/resizer.directive.mjs +0 -83
  551. package/esm2022/directives/resizer/taiga-ui-cdk-directives-resizer.mjs +0 -5
  552. package/esm2022/directives/swipe/index.mjs +0 -4
  553. package/esm2022/directives/swipe/swipe.directive.mjs +0 -22
  554. package/esm2022/directives/swipe/swipe.options.mjs +0 -8
  555. package/esm2022/directives/swipe/swipe.service.mjs +0 -50
  556. package/esm2022/directives/swipe/swipe.types.mjs +0 -2
  557. package/esm2022/directives/swipe/taiga-ui-cdk-directives-swipe.mjs +0 -5
  558. package/esm2022/directives/taiga-ui-cdk-directives.mjs +0 -5
  559. package/esm2022/directives/transitioned/index.mjs +0 -2
  560. package/esm2022/directives/transitioned/taiga-ui-cdk-directives-transitioned.mjs +0 -5
  561. package/esm2022/directives/transitioned/transitioned.directive.mjs +0 -27
  562. package/esm2022/directives/validator/index.mjs +0 -2
  563. package/esm2022/directives/validator/taiga-ui-cdk-directives-validator.mjs +0 -5
  564. package/esm2022/directives/validator/validator.directive.mjs +0 -30
  565. package/esm2022/directives/value-changes/index.mjs +0 -2
  566. package/esm2022/directives/value-changes/taiga-ui-cdk-directives-value-changes.mjs +0 -5
  567. package/esm2022/directives/value-changes/value-changes.directive.mjs +0 -28
  568. package/esm2022/directives/visual-viewport/index.mjs +0 -2
  569. package/esm2022/directives/visual-viewport/taiga-ui-cdk-directives-visual-viewport.mjs +0 -5
  570. package/esm2022/directives/visual-viewport/visual-viewport.directive.mjs +0 -34
  571. package/esm2022/directives/zoom/index.mjs +0 -4
  572. package/esm2022/directives/zoom/taiga-ui-cdk-directives-zoom.mjs +0 -5
  573. package/esm2022/directives/zoom/zoom.directive.mjs +0 -24
  574. package/esm2022/directives/zoom/zoom.options.mjs +0 -10
  575. package/esm2022/directives/zoom/zoom.service.mjs +0 -46
  576. package/esm2022/directives/zoom/zoom.types.mjs +0 -2
  577. package/esm2022/index.mjs +0 -10
  578. package/esm2022/observables/close-watcher.mjs +0 -22
  579. package/esm2022/observables/control-value.mjs +0 -8
  580. package/esm2022/observables/drag-and-drop-from.mjs +0 -14
  581. package/esm2022/observables/events.mjs +0 -8
  582. package/esm2022/observables/if-map.mjs +0 -5
  583. package/esm2022/observables/index.mjs +0 -14
  584. package/esm2022/observables/must-be-present.mjs +0 -17
  585. package/esm2022/observables/query-list-observable.mjs +0 -9
  586. package/esm2022/observables/scroll-from.mjs +0 -10
  587. package/esm2022/observables/taiga-ui-cdk-observables.mjs +0 -5
  588. package/esm2022/observables/take-until-destroyed.mjs +0 -9
  589. package/esm2022/observables/typed-from-event.mjs +0 -9
  590. package/esm2022/observables/untracked-scheduler.mjs +0 -11
  591. package/esm2022/observables/watch.mjs +0 -6
  592. package/esm2022/observables/zone.mjs +0 -34
  593. package/esm2022/pipes/animation/animation.pipe.mjs +0 -27
  594. package/esm2022/pipes/animation/index.mjs +0 -2
  595. package/esm2022/pipes/animation/taiga-ui-cdk-pipes-animation.mjs +0 -5
  596. package/esm2022/pipes/filter/filter.pipe.mjs +0 -25
  597. package/esm2022/pipes/filter/index.mjs +0 -2
  598. package/esm2022/pipes/filter/taiga-ui-cdk-pipes-filter.mjs +0 -5
  599. package/esm2022/pipes/index.mjs +0 -10
  600. package/esm2022/pipes/is-present/index.mjs +0 -2
  601. package/esm2022/pipes/is-present/is-present.pipe.mjs +0 -19
  602. package/esm2022/pipes/is-present/taiga-ui-cdk-pipes-is-present.mjs +0 -5
  603. package/esm2022/pipes/keys/index.mjs +0 -2
  604. package/esm2022/pipes/keys/keys.pipe.mjs +0 -18
  605. package/esm2022/pipes/keys/taiga-ui-cdk-pipes-keys.mjs +0 -5
  606. package/esm2022/pipes/mapper/index.mjs +0 -2
  607. package/esm2022/pipes/mapper/mapper.pipe.mjs +0 -25
  608. package/esm2022/pipes/mapper/taiga-ui-cdk-pipes-mapper.mjs +0 -5
  609. package/esm2022/pipes/obfuscate/index.mjs +0 -3
  610. package/esm2022/pipes/obfuscate/obfuscate.options.mjs +0 -10
  611. package/esm2022/pipes/obfuscate/obfuscate.pipe.mjs +0 -44
  612. package/esm2022/pipes/obfuscate/taiga-ui-cdk-pipes-obfuscate.mjs +0 -5
  613. package/esm2022/pipes/repeat-times/index.mjs +0 -19
  614. package/esm2022/pipes/repeat-times/taiga-ui-cdk-pipes-repeat-times.mjs +0 -5
  615. package/esm2022/pipes/replace/index.mjs +0 -2
  616. package/esm2022/pipes/replace/replace.pipe.mjs +0 -20
  617. package/esm2022/pipes/replace/taiga-ui-cdk-pipes-replace.mjs +0 -5
  618. package/esm2022/pipes/taiga-ui-cdk-pipes.mjs +0 -5
  619. package/esm2022/pipes/to-array/index.mjs +0 -2
  620. package/esm2022/pipes/to-array/taiga-ui-cdk-pipes-to-array.mjs +0 -5
  621. package/esm2022/pipes/to-array/to-array.pipe.mjs +0 -18
  622. package/esm2022/services/id.service.mjs +0 -21
  623. package/esm2022/services/index.mjs +0 -5
  624. package/esm2022/services/popover.service.mjs +0 -45
  625. package/esm2022/services/scroll.service.mjs +0 -55
  626. package/esm2022/services/taiga-ui-cdk-services.mjs +0 -5
  627. package/esm2022/services/theme-color.service.mjs +0 -33
  628. package/esm2022/taiga-ui-cdk.mjs +0 -5
  629. package/esm2022/tokens/active-element.mjs +0 -56
  630. package/esm2022/tokens/base-href.mjs +0 -6
  631. package/esm2022/tokens/environment.mjs +0 -64
  632. package/esm2022/tokens/fallback-value.mjs +0 -11
  633. package/esm2022/tokens/index.mjs +0 -8
  634. package/esm2022/tokens/range.mjs +0 -9
  635. package/esm2022/tokens/removed-element.mjs +0 -20
  636. package/esm2022/tokens/taiga-ui-cdk-tokens.mjs +0 -5
  637. package/esm2022/tokens/window-size.mjs +0 -28
  638. package/esm2022/types/context.mjs +0 -2
  639. package/esm2022/types/handler.mjs +0 -2
  640. package/esm2022/types/index.mjs +0 -2
  641. package/esm2022/types/loose-union.mjs +0 -2
  642. package/esm2022/types/mapper.mjs +0 -2
  643. package/esm2022/types/matcher.mjs +0 -2
  644. package/esm2022/types/rounding.mjs +0 -2
  645. package/esm2022/types/safe-html.mjs +0 -2
  646. package/esm2022/types/taiga-ui-cdk-types.mjs +0 -5
  647. package/esm2022/types/values-of.mjs +0 -2
  648. package/esm2022/utils/browser/index.mjs +0 -6
  649. package/esm2022/utils/browser/is-apple.mjs +0 -14
  650. package/esm2022/utils/browser/is-edge.mjs +0 -4
  651. package/esm2022/utils/browser/is-firefox.mjs +0 -4
  652. package/esm2022/utils/browser/is-ios.mjs +0 -7
  653. package/esm2022/utils/browser/is-safari.mjs +0 -12
  654. package/esm2022/utils/browser/taiga-ui-cdk-utils-browser.mjs +0 -5
  655. package/esm2022/utils/color/get-gradient-data.mjs +0 -6
  656. package/esm2022/utils/color/hex-to-rgb.mjs +0 -12
  657. package/esm2022/utils/color/hex-to-rgba.mjs +0 -29
  658. package/esm2022/utils/color/hsv-to-rgb.mjs +0 -11
  659. package/esm2022/utils/color/index.mjs +0 -10
  660. package/esm2022/utils/color/parse-color.mjs +0 -27
  661. package/esm2022/utils/color/parse-gradient.mjs +0 -70
  662. package/esm2022/utils/color/rgb-to-hex.mjs +0 -4
  663. package/esm2022/utils/color/rgb-to-hsv.mjs +0 -8
  664. package/esm2022/utils/color/rgba-to-hex.mjs +0 -23
  665. package/esm2022/utils/color/taiga-ui-cdk-utils-color.mjs +0 -5
  666. package/esm2022/utils/di/create-options.mjs +0 -9
  667. package/esm2022/utils/di/index.mjs +0 -3
  668. package/esm2022/utils/di/taiga-ui-cdk-utils-di.mjs +0 -5
  669. package/esm2022/utils/dom/contains-or-after.mjs +0 -10
  670. package/esm2022/utils/dom/element-checks.mjs +0 -20
  671. package/esm2022/utils/dom/event-checks.mjs +0 -4
  672. package/esm2022/utils/dom/get-actual-target.mjs +0 -7
  673. package/esm2022/utils/dom/get-clipboard-data-text.mjs +0 -11
  674. package/esm2022/utils/dom/get-document-or-shadow-root.mjs +0 -6
  675. package/esm2022/utils/dom/get-element-obscurers.mjs +0 -44
  676. package/esm2022/utils/dom/get-element-offset.mjs +0 -20
  677. package/esm2022/utils/dom/get-element-point.mjs +0 -6
  678. package/esm2022/utils/dom/get-selected-text.mjs +0 -15
  679. package/esm2022/utils/dom/index.mjs +0 -20
  680. package/esm2022/utils/dom/inject-element.mjs +0 -5
  681. package/esm2022/utils/dom/is-current-target.mjs +0 -4
  682. package/esm2022/utils/dom/is-element-editable.mjs +0 -6
  683. package/esm2022/utils/dom/is-inside-iframe.mjs +0 -7
  684. package/esm2022/utils/dom/is-node-in.mjs +0 -14
  685. package/esm2022/utils/dom/point-to-client-rect.mjs +0 -17
  686. package/esm2022/utils/dom/retarget-boundary-crossing.mjs +0 -16
  687. package/esm2022/utils/dom/taiga-ui-cdk-utils-dom.mjs +0 -5
  688. package/esm2022/utils/dom/value-binding.mjs +0 -29
  689. package/esm2022/utils/dom/value.mjs +0 -78
  690. package/esm2022/utils/focus/blur-native-focused.mjs +0 -12
  691. package/esm2022/utils/focus/focused-in.mjs +0 -8
  692. package/esm2022/utils/focus/get-closest-focusable.mjs +0 -26
  693. package/esm2022/utils/focus/get-native-focused.mjs +0 -16
  694. package/esm2022/utils/focus/index.mjs +0 -10
  695. package/esm2022/utils/focus/is-native-focused-in.mjs +0 -12
  696. package/esm2022/utils/focus/is-native-focused.mjs +0 -15
  697. package/esm2022/utils/focus/is-native-keyboard-focusable.mjs +0 -33
  698. package/esm2022/utils/focus/is-native-mouse-focusable.mjs +0 -7
  699. package/esm2022/utils/focus/move-focus.mjs +0 -19
  700. package/esm2022/utils/focus/taiga-ui-cdk-utils-focus.mjs +0 -5
  701. package/esm2022/utils/index.mjs +0 -8
  702. package/esm2022/utils/math/clamp.mjs +0 -16
  703. package/esm2022/utils/math/in-range.mjs +0 -9
  704. package/esm2022/utils/math/index.mjs +0 -11
  705. package/esm2022/utils/math/normalize-to-int-number.mjs +0 -22
  706. package/esm2022/utils/math/quantize.mjs +0 -15
  707. package/esm2022/utils/math/round-with.mjs +0 -14
  708. package/esm2022/utils/math/round.mjs +0 -42
  709. package/esm2022/utils/math/sum.mjs +0 -7
  710. package/esm2022/utils/math/taiga-ui-cdk-utils-math.mjs +0 -5
  711. package/esm2022/utils/math/to-int.mjs +0 -4
  712. package/esm2022/utils/math/to-integer.mjs +0 -4
  713. package/esm2022/utils/math/to-radians.mjs +0 -7
  714. package/esm2022/utils/miscellaneous/array-remove.mjs +0 -4
  715. package/esm2022/utils/miscellaneous/array-shallow-equals.mjs +0 -4
  716. package/esm2022/utils/miscellaneous/array-toggle.mjs +0 -8
  717. package/esm2022/utils/miscellaneous/change-date-separator.mjs +0 -3
  718. package/esm2022/utils/miscellaneous/count-filled-controls.mjs +0 -13
  719. package/esm2022/utils/miscellaneous/create-token.mjs +0 -16
  720. package/esm2022/utils/miscellaneous/default-sort.mjs +0 -11
  721. package/esm2022/utils/miscellaneous/directive-binding.mjs +0 -26
  722. package/esm2022/utils/miscellaneous/directive-listener.mjs +0 -8
  723. package/esm2022/utils/miscellaneous/distance-between-touches.mjs +0 -4
  724. package/esm2022/utils/miscellaneous/ease-in-out-quad.mjs +0 -7
  725. package/esm2022/utils/miscellaneous/flat-length.mjs +0 -9
  726. package/esm2022/utils/miscellaneous/font-size-watcher.mjs +0 -30
  727. package/esm2022/utils/miscellaneous/get-original-array-from-query-list.mjs +0 -15
  728. package/esm2022/utils/miscellaneous/index.mjs +0 -31
  729. package/esm2022/utils/miscellaneous/is-control-empty.mjs +0 -4
  730. package/esm2022/utils/miscellaneous/is-falsy.mjs +0 -4
  731. package/esm2022/utils/miscellaneous/is-number.mjs +0 -4
  732. package/esm2022/utils/miscellaneous/is-object.mjs +0 -4
  733. package/esm2022/utils/miscellaneous/is-present.mjs +0 -4
  734. package/esm2022/utils/miscellaneous/is-string.mjs +0 -4
  735. package/esm2022/utils/miscellaneous/is-valid-url.mjs +0 -13
  736. package/esm2022/utils/miscellaneous/mark-control-as-touched-and-validate.mjs +0 -16
  737. package/esm2022/utils/miscellaneous/nullable-same.mjs +0 -18
  738. package/esm2022/utils/miscellaneous/obfuscate.mjs +0 -53
  739. package/esm2022/utils/miscellaneous/provide-options.mjs +0 -11
  740. package/esm2022/utils/miscellaneous/provide.mjs +0 -4
  741. package/esm2022/utils/miscellaneous/pure.mjs +0 -83
  742. package/esm2022/utils/miscellaneous/px.mjs +0 -9
  743. package/esm2022/utils/miscellaneous/taiga-ui-cdk-utils-miscellaneous.mjs +0 -5
  744. package/esm2022/utils/miscellaneous/uniq-by.mjs +0 -6
  745. package/esm2022/utils/miscellaneous/with-styles.mjs +0 -17
  746. package/esm2022/utils/taiga-ui-cdk-utils.mjs +0 -5
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-for.mjs","sources":["../../../projects/cdk/directives/for/for.directive.ts","../../../projects/cdk/directives/for/taiga-ui-cdk-directives-for.ts"],"sourcesContent":["import {\n Directive,\n type EmbeddedViewRef,\n inject,\n Input,\n type OnChanges,\n type TemplateRef,\n ViewContainerRef,\n} from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: '[ngFor][ngForOf][ngForElse],[ngFor][ngForOf][ngForEmpty]',\n})\nexport class TuiFor<T, K = unknown> implements OnChanges {\n private readonly vcr = inject(ViewContainerRef);\n\n private ref?: EmbeddedViewRef<unknown>;\n\n @Input()\n public ngForOf: T[] | readonly T[] | null = [];\n\n @Input()\n public ngForElse?: TemplateRef<K>;\n\n @Input()\n public ngForEmpty?: TemplateRef<K>;\n\n public ngOnChanges(): void {\n this.ref?.destroy();\n\n if (this.ngForOf?.length === 0 && this.ngForEmpty) {\n this.ref = this.vcr.createEmbeddedView(this.ngForEmpty);\n } else if (!this.ngForOf && this.ngForElse) {\n this.ref = this.vcr.createEmbeddedView(this.ngForElse);\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAUA,MAIa,MAAM,CAAA;AAJnB,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;QAKzC,IAAO,CAAA,OAAA,GAA8B,EAAE,CAAC;AAiBlD,KAAA;IATU,WAAW,GAAA;AACd,QAAA,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC;QAEpB,IAAI,IAAI,CAAC,OAAO,EAAE,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,UAAU,EAAE;AAC/C,YAAA,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;AAC3D,SAAA;aAAM,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,SAAS,EAAE;AACxC,YAAA,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAC1D,SAAA;KACJ;+GAtBQ,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAN,MAAM,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0DAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,WAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAN,MAAM,EAAA,UAAA,EAAA,CAAA;kBAJlB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0DAA0D;AACvE,iBAAA,CAAA;8BAOU,OAAO,EAAA,CAAA;sBADb,KAAK;gBAIC,SAAS,EAAA,CAAA;sBADf,KAAK;gBAIC,UAAU,EAAA,CAAA;sBADhB,KAAK;;;ACzBV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-for.mjs","sources":["../../../projects/cdk/directives/for/for.directive.ts","../../../projects/cdk/directives/for/taiga-ui-cdk-directives-for.ts"],"sourcesContent":["import {\n Directive,\n type EmbeddedViewRef,\n inject,\n Input,\n type OnChanges,\n type TemplateRef,\n ViewContainerRef,\n} from '@angular/core';\n\n@Directive({\n standalone: true,\n selector: '[ngFor][ngForOf][ngForElse],[ngFor][ngForOf][ngForEmpty]',\n})\nexport class TuiFor<T, K = unknown> implements OnChanges {\n private readonly vcr = inject(ViewContainerRef);\n\n private ref?: EmbeddedViewRef<unknown>;\n\n @Input()\n public ngForOf: T[] | readonly T[] | null = [];\n\n @Input()\n public ngForElse?: TemplateRef<K>;\n\n @Input()\n public ngForEmpty?: TemplateRef<K>;\n\n public ngOnChanges(): void {\n this.ref?.destroy();\n\n if (this.ngForOf?.length === 0 && this.ngForEmpty) {\n this.ref = this.vcr.createEmbeddedView(this.ngForEmpty);\n } else if (!this.ngForOf && this.ngForElse) {\n this.ref = this.vcr.createEmbeddedView(this.ngForElse);\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAca,MAAM,CAAA;AAJnB,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,gBAAgB,CAAC;QAKxC,IAAA,CAAA,OAAO,GAA8B,EAAE;AAiBjD,IAAA;IATU,WAAW,GAAA;AACd,QAAA,IAAI,CAAC,GAAG,EAAE,OAAO,EAAE;AAEnB,QAAA,IAAI,IAAI,CAAC,OAAO,EAAE,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,UAAU,EAAE;AAC/C,YAAA,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,IAAI,CAAC,UAAU,CAAC;QAC3D;aAAO,IAAI,CAAC,IAAI,CAAC,OAAO,IAAI,IAAI,CAAC,SAAS,EAAE;AACxC,YAAA,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,kBAAkB,CAAC,IAAI,CAAC,SAAS,CAAC;QAC1D;IACJ;8GAtBS,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAN,MAAM,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,0DAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,SAAA,EAAA,SAAA,EAAA,WAAA,EAAA,UAAA,EAAA,YAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAN,MAAM,EAAA,UAAA,EAAA,CAAA;kBAJlB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,0DAA0D;AACvE,iBAAA;8BAOU,OAAO,EAAA,CAAA;sBADb;gBAIM,SAAS,EAAA,CAAA;sBADf;gBAIM,UAAU,EAAA,CAAA;sBADhB;;;ACzBL;;AAEG;;;;"}
@@ -10,10 +10,10 @@ class TuiHighDpi {
10
10
  this.ref = inject(WA_WINDOW).devicePixelRatio > 1 &&
11
11
  inject(ViewContainerRef).createEmbeddedView(inject(TemplateRef));
12
12
  }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiHighDpi, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
14
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiHighDpi, isStandalone: true, selector: "[tuiHighDpi]", ngImport: i0 }); }
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiHighDpi, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
14
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiHighDpi, isStandalone: true, selector: "[tuiHighDpi]", ngImport: i0 }); }
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiHighDpi, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiHighDpi, decorators: [{
17
17
  type: Directive,
18
18
  args: [{
19
19
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-high-dpi.mjs","sources":["../../../projects/cdk/directives/high-dpi/high-dpi.directive.ts","../../../projects/cdk/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.ts"],"sourcesContent":["import {Directive, inject, TemplateRef, ViewContainerRef} from '@angular/core';\nimport {WA_WINDOW} from '@ng-web-apis/common';\n\n/**\n * Only adds current content if user has High DPI display\n */\n@Directive({\n standalone: true,\n selector: '[tuiHighDpi]',\n})\nexport class TuiHighDpi {\n protected readonly ref =\n inject(WA_WINDOW).devicePixelRatio > 1 &&\n inject(ViewContainerRef).createEmbeddedView(inject(TemplateRef));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;AAEG;AACH,MAIa,UAAU,CAAA;AAJvB,IAAA,WAAA,GAAA;QAKuB,IAAG,CAAA,GAAA,GAClB,MAAM,CAAC,SAAS,CAAC,CAAC,gBAAgB,GAAG,CAAC;YACtC,MAAM,CAAC,gBAAgB,CAAC,CAAC,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC;AACxE,KAAA;+GAJY,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,cAAc;AAC3B,iBAAA,CAAA;;;ACTD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-high-dpi.mjs","sources":["../../../projects/cdk/directives/high-dpi/high-dpi.directive.ts","../../../projects/cdk/directives/high-dpi/taiga-ui-cdk-directives-high-dpi.ts"],"sourcesContent":["import {Directive, inject, TemplateRef, ViewContainerRef} from '@angular/core';\nimport {WA_WINDOW} from '@ng-web-apis/common';\n\n/**\n * Only adds current content if user has High DPI display\n */\n@Directive({\n standalone: true,\n selector: '[tuiHighDpi]',\n})\nexport class TuiHighDpi {\n protected readonly ref =\n inject(WA_WINDOW).devicePixelRatio > 1 &&\n inject(ViewContainerRef).createEmbeddedView(inject(TemplateRef));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA;;AAEG;MAKU,UAAU,CAAA;AAJvB,IAAA,WAAA,GAAA;QAKuB,IAAA,CAAA,GAAG,GAClB,MAAM,CAAC,SAAS,CAAC,CAAC,gBAAgB,GAAG,CAAC;YACtC,MAAM,CAAC,gBAAgB,CAAC,CAAC,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AACvE,IAAA;8GAJY,UAAU,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAV,UAAU,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,cAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAV,UAAU,EAAA,UAAA,EAAA,CAAA;kBAJtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,cAAc;AAC3B,iBAAA;;;ACTD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, NgZone, Injectable, Directive, Output } from '@angular/core';
2
+ import { inject, NgZone, Injectable, Output, Directive } from '@angular/core';
3
3
  import { toSignal } from '@angular/core/rxjs-interop';
4
4
  import { TUI_TRUE_HANDLER, TUI_FALSE_HANDLER } from '@taiga-ui/cdk/constants';
5
5
  import { tuiTypedFromEvent, tuiZoneOptimized, tuiWatch } from '@taiga-ui/cdk/observables';
@@ -21,12 +21,12 @@ class TuiHoveredService extends Observable {
21
21
  // Hello, Safari
22
22
  tuiTypedFromEvent(this.el, 'mouseout').pipe(filter(movedOut), map(TUI_FALSE_HANDLER))).pipe(distinctUntilChanged(), tuiZoneOptimized(this.zone));
23
23
  }
24
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiHoveredService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
25
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiHoveredService }); }
24
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiHoveredService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
25
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiHoveredService }); }
26
26
  }
27
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiHoveredService, decorators: [{
27
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiHoveredService, decorators: [{
28
28
  type: Injectable
29
- }], ctorParameters: function () { return []; } });
29
+ }], ctorParameters: () => [] });
30
30
  function tuiHovered() {
31
31
  return toSignal(inject(TUI_IS_MOBILE) ? of(false) : inject(TuiHoveredService).pipe(tuiWatch()), {
32
32
  initialValue: false,
@@ -37,10 +37,10 @@ class TuiHovered {
37
37
  constructor() {
38
38
  this.tuiHoveredChange = inject(TuiHoveredService);
39
39
  }
40
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiHovered, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
41
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiHovered, isStandalone: true, selector: "[tuiHoveredChange]", outputs: { tuiHoveredChange: "tuiHoveredChange" }, providers: [TuiHoveredService], ngImport: i0 }); }
40
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiHovered, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
41
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiHovered, isStandalone: true, selector: "[tuiHoveredChange]", outputs: { tuiHoveredChange: "tuiHoveredChange" }, providers: [TuiHoveredService], ngImport: i0 }); }
42
42
  }
43
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiHovered, decorators: [{
43
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiHovered, decorators: [{
44
44
  type: Directive,
45
45
  args: [{
46
46
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-hovered.mjs","sources":["../../../projects/cdk/directives/hovered/hovered.service.ts","../../../projects/cdk/directives/hovered/hovered.directive.ts","../../../projects/cdk/directives/hovered/taiga-ui-cdk-directives-hovered.ts"],"sourcesContent":["import {inject, Injectable, NgZone, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {TUI_FALSE_HANDLER, TUI_TRUE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {tuiTypedFromEvent, tuiWatch, tuiZoneOptimized} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement, tuiIsElement} from '@taiga-ui/cdk/utils';\nimport {distinctUntilChanged, filter, map, merge, Observable, of} from 'rxjs';\n\nfunction movedOut({currentTarget, relatedTarget}: MouseEvent): boolean {\n return (\n !tuiIsElement(relatedTarget) ||\n !tuiIsElement(currentTarget) ||\n !currentTarget.contains(relatedTarget)\n );\n}\n\n@Injectable()\nexport class TuiHoveredService extends Observable<boolean> {\n private readonly el = tuiInjectElement();\n private readonly zone = inject(NgZone);\n\n private readonly stream$ = merge(\n tuiTypedFromEvent(this.el, 'mouseenter').pipe(map(TUI_TRUE_HANDLER)),\n tuiTypedFromEvent(this.el, 'mouseleave').pipe(map(TUI_FALSE_HANDLER)),\n // Hello, Safari\n tuiTypedFromEvent(this.el, 'mouseout').pipe(\n filter(movedOut),\n map(TUI_FALSE_HANDLER),\n ),\n ).pipe(distinctUntilChanged(), tuiZoneOptimized(this.zone));\n\n constructor() {\n super((subscriber) => this.stream$.subscribe(subscriber));\n }\n}\n\nexport function tuiHovered(): Signal<boolean> {\n return toSignal(\n inject(TUI_IS_MOBILE) ? of(false) : inject(TuiHoveredService).pipe(tuiWatch()),\n {\n initialValue: false,\n },\n );\n}\n","import {Directive, inject, Output} from '@angular/core';\n\nimport {TuiHoveredService} from './hovered.service';\n\n@Directive({\n standalone: true,\n selector: '[tuiHoveredChange]',\n providers: [TuiHoveredService],\n})\nexport class TuiHovered {\n @Output()\n public readonly tuiHoveredChange = inject(TuiHoveredService);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAQA,SAAS,QAAQ,CAAC,EAAC,aAAa,EAAE,aAAa,EAAa,EAAA;AACxD,IAAA,QACI,CAAC,YAAY,CAAC,aAAa,CAAC;QAC5B,CAAC,YAAY,CAAC,aAAa,CAAC;AAC5B,QAAA,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC,EACxC;AACN,CAAC;AAED,MACa,iBAAkB,SAAQ,UAAmB,CAAA;AActD,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,CAAC,UAAU,KAAK,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;QAd7C,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE,CAAC;AACxB,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC;AAEtB,QAAA,IAAA,CAAA,OAAO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A,OAAA,EAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,SAAA,EAFR,CAAC,iBAAiB,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAErB,UAAU,EAAA,UAAA,EAAA,CAAA;kBALtB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,oBAAoB;oBAC9B,SAAS,EAAE,CAAC,iBAAiB,CAAC;AACjC,iBAAA,CAAA;8BAGmB,gBAAgB,EAAA,CAAA;sBAD/B,MAAM;;;ACVX;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-hovered.mjs","sources":["../../../projects/cdk/directives/hovered/hovered.service.ts","../../../projects/cdk/directives/hovered/hovered.directive.ts","../../../projects/cdk/directives/hovered/taiga-ui-cdk-directives-hovered.ts"],"sourcesContent":["import {inject, Injectable, NgZone, type Signal} from '@angular/core';\nimport {toSignal} from '@angular/core/rxjs-interop';\nimport {TUI_FALSE_HANDLER, TUI_TRUE_HANDLER} from '@taiga-ui/cdk/constants';\nimport {tuiTypedFromEvent, tuiWatch, tuiZoneOptimized} from '@taiga-ui/cdk/observables';\nimport {TUI_IS_MOBILE} from '@taiga-ui/cdk/tokens';\nimport {tuiInjectElement, tuiIsElement} from '@taiga-ui/cdk/utils';\nimport {distinctUntilChanged, filter, map, merge, Observable, of} from 'rxjs';\n\nfunction movedOut({currentTarget, relatedTarget}: MouseEvent): boolean {\n return (\n !tuiIsElement(relatedTarget) ||\n !tuiIsElement(currentTarget) ||\n !currentTarget.contains(relatedTarget)\n );\n}\n\n@Injectable()\nexport class TuiHoveredService extends Observable<boolean> {\n private readonly el = tuiInjectElement();\n private readonly zone = inject(NgZone);\n\n private readonly stream$ = merge(\n tuiTypedFromEvent(this.el, 'mouseenter').pipe(map(TUI_TRUE_HANDLER)),\n tuiTypedFromEvent(this.el, 'mouseleave').pipe(map(TUI_FALSE_HANDLER)),\n // Hello, Safari\n tuiTypedFromEvent(this.el, 'mouseout').pipe(\n filter(movedOut),\n map(TUI_FALSE_HANDLER),\n ),\n ).pipe(distinctUntilChanged(), tuiZoneOptimized(this.zone));\n\n constructor() {\n super((subscriber) => this.stream$.subscribe(subscriber));\n }\n}\n\nexport function tuiHovered(): Signal<boolean> {\n return toSignal(\n inject(TUI_IS_MOBILE) ? of(false) : inject(TuiHoveredService).pipe(tuiWatch()),\n {\n initialValue: false,\n },\n );\n}\n","import {Directive, inject, Output} from '@angular/core';\n\nimport {TuiHoveredService} from './hovered.service';\n\n@Directive({\n standalone: true,\n selector: '[tuiHoveredChange]',\n providers: [TuiHoveredService],\n})\nexport class TuiHovered {\n @Output()\n public readonly tuiHoveredChange = inject(TuiHoveredService);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAQA,SAAS,QAAQ,CAAC,EAAC,aAAa,EAAE,aAAa,EAAa,EAAA;AACxD,IAAA,QACI,CAAC,YAAY,CAAC,aAAa,CAAC;QAC5B,CAAC,YAAY,CAAC,aAAa,CAAC;AAC5B,QAAA,CAAC,aAAa,CAAC,QAAQ,CAAC,aAAa,CAAC;AAE9C;AAGM,MAAO,iBAAkB,SAAQ,UAAmB,CAAA;AActD,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,CAAC,UAAU,KAAK,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAd5C,IAAA,CAAA,EAAE,GAAG,gBAAgB,EAAE;AACvB,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC;AAErB,QAAA,IAAA,CAAA,OAAO,GAAG,KAAK,CAC5B,iBAAiB,CAAC,IAAI,CAAC,EAAE,EAAE,YAAY,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,EACpE,iBAAiB,CAAC,IAAI,CAAC,EAAE,EAAE,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BAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,oBAAoB;oBAC9B,SAAS,EAAE,CAAC,iBAAiB,CAAC;AACjC,iBAAA;8BAGmB,gBAAgB,EAAA,CAAA;sBAD/B;;;ACVL;;AAEG;;;;"}
@@ -5,10 +5,10 @@ import { Directive } from '@angular/core';
5
5
  * Blank directive for queries via `@ContentChildren` / `@ViewChildren` / `querySelector`
6
6
  */
7
7
  class TuiItem {
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
9
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiItem, isStandalone: true, selector: "[tuiItem]", ngImport: i0 }); }
8
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiItem, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
9
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiItem, isStandalone: true, selector: "[tuiItem]", ngImport: i0 }); }
10
10
  }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiItem, decorators: [{
11
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiItem, decorators: [{
12
12
  type: Directive,
13
13
  args: [{
14
14
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-item.mjs","sources":["../../../projects/cdk/directives/item/item.directive.ts","../../../projects/cdk/directives/item/taiga-ui-cdk-directives-item.ts"],"sourcesContent":["import {Directive} from '@angular/core';\n\n/**\n * Blank directive for queries via `@ContentChildren` / `@ViewChildren` / `querySelector`\n */\n@Directive({\n standalone: true,\n selector: '[tuiItem]',\n})\nexport class TuiItem {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;;AAEG;AACH,MAIa,OAAO,CAAA;+GAAP,OAAO,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAP,OAAO,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,WAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAP,OAAO,EAAA,UAAA,EAAA,CAAA;kBAJnB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,WAAW;AACxB,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-item.mjs","sources":["../../../projects/cdk/directives/item/item.directive.ts","../../../projects/cdk/directives/item/taiga-ui-cdk-directives-item.ts"],"sourcesContent":["import {Directive} from '@angular/core';\n\n/**\n * Blank directive for queries via `@ContentChildren` / `@ViewChildren` / `querySelector`\n */\n@Directive({\n standalone: true,\n selector: '[tuiItem]',\n})\nexport class TuiItem {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;;AAEG;MAKU,OAAO,CAAA;8GAAP,OAAO,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAP,OAAO,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,WAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAP,OAAO,EAAA,UAAA,EAAA,CAAA;kBAJnB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,WAAW;AACxB,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ViewContainerRef, TemplateRef, Directive, Input } from '@angular/core';
2
+ import { inject, ViewContainerRef, TemplateRef, Input, Directive } from '@angular/core';
3
3
 
4
4
  /**
5
5
  * @internal
@@ -33,16 +33,16 @@ class TuiLet {
33
33
  static ngTemplateContextGuard(_dir, _ctx) {
34
34
  return true;
35
35
  }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
37
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiLet, isStandalone: true, selector: "[tuiLet]", inputs: { tuiLet: "tuiLet" }, ngImport: i0 }); }
36
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
37
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiLet, isStandalone: true, selector: "[tuiLet]", inputs: { tuiLet: "tuiLet" }, ngImport: i0 }); }
38
38
  }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiLet, decorators: [{
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiLet, decorators: [{
40
40
  type: Directive,
41
41
  args: [{
42
42
  standalone: true,
43
43
  selector: '[tuiLet]',
44
44
  }]
45
- }], ctorParameters: function () { return []; }, propDecorators: { tuiLet: [{
45
+ }], ctorParameters: () => [], propDecorators: { tuiLet: [{
46
46
  type: Input
47
47
  }] } });
48
48
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-let.mjs","sources":["../../../projects/cdk/directives/let/let-context.ts","../../../projects/cdk/directives/let/let.directive.ts","../../../projects/cdk/directives/let/taiga-ui-cdk-directives-let.ts"],"sourcesContent":["import {type TuiContext} from '@taiga-ui/cdk/types';\n\nimport {type TuiLet} from './let.directive';\n\n/**\n * @internal\n */\nexport class TuiLetContext<T> implements TuiContext<T> {\n constructor(private readonly internalDirectiveInstance: TuiLet<T>) {}\n\n public get $implicit(): T {\n return this.internalDirectiveInstance.tuiLet;\n }\n\n public get tuiLet(): T {\n return this.internalDirectiveInstance.tuiLet;\n }\n}\n","import {Directive, inject, Input, TemplateRef, ViewContainerRef} from '@angular/core';\n\nimport {TuiLetContext} from './let-context';\n\n/**\n * Works like *ngIf but does not have a condition — use it to declare\n * the result of pipes calculation (i.e. async pipe)\n */\n@Directive({\n standalone: true,\n selector: '[tuiLet]',\n})\nexport class TuiLet<T> {\n @Input()\n public tuiLet!: T;\n\n constructor() {\n inject(ViewContainerRef).createEmbeddedView(\n inject(TemplateRef<TuiLetContext<T>>),\n new TuiLetContext<T>(this),\n );\n }\n\n /**\n * Asserts the correct type of the context for the template that `TuiLet` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `TuiLet` structural directive renders its template with a specific context type.\n */\n public static ngTemplateContextGuard<T>(\n _dir: TuiLet<T>,\n _ctx: unknown,\n ): _ctx is TuiLetContext<T> {\n return true;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAIA;;AAEG;MACU,aAAa,CAAA;AACtB,IAAA,WAAA,CAA6B,yBAAoC,EAAA;QAApC,IAAyB,CAAA,yBAAA,GAAzB,yBAAyB,CAAW;KAAI;AAErE,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC;KAChD;AAED,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC;KAChD;AACJ;;ACbD;;;AAGG;AACH,MAIa,MAAM,CAAA;AAIf,IAAA,WAAA,GAAA;AACI,QAAA,MAAM,CAAC,gBAAgB,CAAC,CAAC,kBAAkB,CACvC,MAAM,EAAC,WAA6B,EAAC,EACrC,IAAI,aAAa,CAAI,IAAI,CAAC,CAC7B,CAAC;KACL;AAED;;;;;AAKG;AACI,IAAA,OAAO,sBAAsB,CAChC,IAAe,EACf,IAAa,EAAA;AAEb,QAAA,OAAO,IAAI,CAAC;KACf;+GAtBQ,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAN,MAAM,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAN,MAAM,EAAA,UAAA,EAAA,CAAA;kBAJlB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,UAAU;AACvB,iBAAA,CAAA;0EAGU,MAAM,EAAA,CAAA;sBADZ,KAAK;;;ACbV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-let.mjs","sources":["../../../projects/cdk/directives/let/let-context.ts","../../../projects/cdk/directives/let/let.directive.ts","../../../projects/cdk/directives/let/taiga-ui-cdk-directives-let.ts"],"sourcesContent":["import {type TuiContext} from '@taiga-ui/cdk/types';\n\nimport {type TuiLet} from './let.directive';\n\n/**\n * @internal\n */\nexport class TuiLetContext<T> implements TuiContext<T> {\n constructor(private readonly internalDirectiveInstance: TuiLet<T>) {}\n\n public get $implicit(): T {\n return this.internalDirectiveInstance.tuiLet;\n }\n\n public get tuiLet(): T {\n return this.internalDirectiveInstance.tuiLet;\n }\n}\n","import {Directive, inject, Input, TemplateRef, ViewContainerRef} from '@angular/core';\n\nimport {TuiLetContext} from './let-context';\n\n/**\n * Works like *ngIf but does not have a condition — use it to declare\n * the result of pipes calculation (i.e. async pipe)\n */\n@Directive({\n standalone: true,\n selector: '[tuiLet]',\n})\nexport class TuiLet<T> {\n @Input()\n public tuiLet!: T;\n\n constructor() {\n inject(ViewContainerRef).createEmbeddedView(\n inject(TemplateRef<TuiLetContext<T>>),\n new TuiLetContext<T>(this),\n );\n }\n\n /**\n * Asserts the correct type of the context for the template that `TuiLet` will render.\n *\n * The presence of this method is a signal to the Ivy template type-check compiler that the\n * `TuiLet` structural directive renders its template with a specific context type.\n */\n public static ngTemplateContextGuard<T>(\n _dir: TuiLet<T>,\n _ctx: unknown,\n ): _ctx is TuiLetContext<T> {\n return true;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAIA;;AAEG;MACU,aAAa,CAAA;AACtB,IAAA,WAAA,CAA6B,yBAAoC,EAAA;QAApC,IAAA,CAAA,yBAAyB,GAAzB,yBAAyB;IAAc;AAEpE,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,yBAAyB,CAAC,MAAM;IAChD;AAEA,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,yBAAyB,CAAC,MAAM;IAChD;AACH;;ACbD;;;AAGG;MAKU,MAAM,CAAA;AAIf,IAAA,WAAA,GAAA;AACI,QAAA,MAAM,CAAC,gBAAgB,CAAC,CAAC,kBAAkB,CACvC,MAAM,EAAC,WAA6B,EAAC,EACrC,IAAI,aAAa,CAAI,IAAI,CAAC,CAC7B;IACL;AAEA;;;;;AAKG;AACI,IAAA,OAAO,sBAAsB,CAChC,IAAe,EACf,IAAa,EAAA;AAEb,QAAA,OAAO,IAAI;IACf;8GAtBS,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAN,MAAM,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,UAAA,EAAA,MAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAN,MAAM,EAAA,UAAA,EAAA,CAAA;kBAJlB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,UAAU;AACvB,iBAAA;wDAGU,MAAM,EAAA,CAAA;sBADZ;;;ACbL;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, Directive, Input, Output } from '@angular/core';
2
+ import { EventEmitter, Input, Output, Directive } from '@angular/core';
3
3
  import { tuiInjectElement } from '@taiga-ui/cdk/utils';
4
4
 
5
5
  class TuiMedia {
@@ -49,10 +49,10 @@ class TuiMedia {
49
49
  this.playbackRate = playbackRate;
50
50
  this.el.playbackRate = this.playbackRate;
51
51
  }
52
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
53
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiMedia, isStandalone: true, selector: "video[tuiMedia], audio[tuiMedia]", inputs: { volume: "volume", playbackRateSetter: ["playbackRate", "playbackRateSetter"], currentTime: "currentTime", paused: "paused" }, outputs: { currentTimeChange: "currentTimeChange", pausedChange: "pausedChange", volumeChange: "volumeChange" }, host: { listeners: { "durationchange": "0", "ended": "onPausedChange(true)", "pause": "onPausedChange(true)", "play": "onPausedChange(false)", "volumechange": "onVolumeChange()", "timeupdate": "onCurrentTimeChange()", "seeking": "onCurrentTimeChange()", "seeked": "onCurrentTimeChange()" }, properties: { "volume": "volume" } }, exportAs: ["tuiMedia"], ngImport: i0 }); }
52
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMedia, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
53
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiMedia, isStandalone: true, selector: "video[tuiMedia], audio[tuiMedia]", inputs: { volume: "volume", playbackRateSetter: ["playbackRate", "playbackRateSetter"], currentTime: "currentTime", paused: "paused" }, outputs: { currentTimeChange: "currentTimeChange", pausedChange: "pausedChange", volumeChange: "volumeChange" }, host: { listeners: { "durationchange": "0", "ended": "onPausedChange(true)", "pause": "onPausedChange(true)", "play": "onPausedChange(false)", "volumechange": "onVolumeChange()", "timeupdate": "onCurrentTimeChange()", "seeking": "onCurrentTimeChange()", "seeked": "onCurrentTimeChange()" }, properties: { "volume": "volume" } }, exportAs: ["tuiMedia"], ngImport: i0 }); }
54
54
  }
55
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMedia, decorators: [{
55
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiMedia, decorators: [{
56
56
  type: Directive,
57
57
  args: [{
58
58
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-media.mjs","sources":["../../../projects/cdk/directives/media/media.directive.ts","../../../projects/cdk/directives/media/taiga-ui-cdk-directives-media.ts"],"sourcesContent":["import {Directive, EventEmitter, Input, Output} from '@angular/core';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils';\n\n@Directive({\n standalone: true,\n selector: 'video[tuiMedia], audio[tuiMedia]',\n exportAs: 'tuiMedia',\n host: {\n '[volume]': 'volume',\n '(durationchange)': '0',\n '(ended)': 'onPausedChange(true)',\n '(pause)': 'onPausedChange(true)',\n '(play)': 'onPausedChange(false)',\n '(volumechange)': 'onVolumeChange()',\n '(timeupdate)': 'onCurrentTimeChange()',\n '(seeking)': 'onCurrentTimeChange()',\n '(seeked)': 'onCurrentTimeChange()',\n },\n})\nexport class TuiMedia {\n private readonly el = tuiInjectElement<HTMLMediaElement>();\n\n private playbackRate = 1;\n\n @Input()\n public volume = 1;\n\n @Output()\n public readonly currentTimeChange = new EventEmitter<number>();\n\n @Output()\n public readonly pausedChange = new EventEmitter<boolean>();\n\n @Output()\n public readonly volumeChange = new EventEmitter<number>();\n\n @Input('playbackRate')\n public set playbackRateSetter(playbackRate: number) {\n this.updatePlaybackRate(playbackRate);\n }\n\n @Input()\n public set currentTime(currentTime: number) {\n if (Math.abs(currentTime - this.currentTime) > 0.05) {\n this.el.currentTime = currentTime;\n }\n }\n\n @Input()\n public set paused(paused: boolean) {\n if (paused) {\n this.el.pause?.();\n } else {\n void this.el.play?.();\n this.updatePlaybackRate(this.playbackRate);\n }\n }\n\n public get currentTime(): number {\n return this.el.currentTime ?? 0;\n }\n\n public get paused(): boolean {\n return this.el.paused;\n }\n\n protected onPausedChange(paused: boolean): void {\n this.pausedChange.emit(paused);\n this.updatePlaybackRate(this.playbackRate);\n }\n\n protected onVolumeChange(): void {\n this.volume = this.el.volume;\n this.volumeChange.emit(this.volume);\n }\n\n protected onCurrentTimeChange(): void {\n this.currentTimeChange.emit(this.currentTime);\n }\n\n private updatePlaybackRate(playbackRate: number): void {\n this.playbackRate = playbackRate;\n this.el.playbackRate = this.playbackRate;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MAgBa,QAAQ,CAAA;AAhBrB,IAAA,WAAA,GAAA;QAiBqB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAoB,CAAC;QAEnD,IAAY,CAAA,YAAA,GAAG,CAAC,CAAC;QAGlB,IAAM,CAAA,MAAA,GAAG,CAAC,CAAC;AAGF,QAAA,IAAA,CAAA,iBAAiB,GAAG,IAAI,YAAY,EAAU,CAAC;AAG/C,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAW,CAAC;AAG3C,QAAA,IAAA,CAAA,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BAAA,UAAU,EAAE,QAAQ;AACpB,wBAAA,kBAAkB,EAAE,GAAG;AACvB,wBAAA,SAAS,EAAE,sBAAsB;AACjC,wBAAA,SAAS,EAAE,sBAAsB;AACjC,wBAAA,QAAQ,EAAE,uBAAuB;AACjC,wBAAA,gBAAgB,EAAE,kBAAkB;AACpC,wBAAA,cAAc,EAAE,uBAAuB;AACvC,wBAAA,WAAW,EAAE,uBAAuB;AACpC,wBAAA,UAAU,EAAE,uBAAuB;AACtC,qBAAA;AACJ,iBAAA,CAAA;8BAOU,MAAM,EAAA,CAAA;sBADZ,KAAK;gBAIU,iBAAiB,EAAA,CAAA;sBADhC,MAAM;gBAIS,YAAY,EAAA,CAAA;sBAD3B,MAAM;gBAIS,YAAY,EAAA,CAAA;sBAD3B,MAAM;gBAII,kBAAkB,EAAA,CAAA;sBAD5B,KAAK;uBAAC,cAAc,CAAA;gBAMV,WAAW,EAAA,CAAA;sBADrB,KAAK;gBAQK,MAAM,EAAA,CAAA;sBADhB,KAAK;;;AChDV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-media.mjs","sources":["../../../projects/cdk/directives/media/media.directive.ts","../../../projects/cdk/directives/media/taiga-ui-cdk-directives-media.ts"],"sourcesContent":["import {Directive, EventEmitter, Input, Output} from '@angular/core';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils';\n\n@Directive({\n standalone: true,\n selector: 'video[tuiMedia], audio[tuiMedia]',\n exportAs: 'tuiMedia',\n host: {\n '[volume]': 'volume',\n '(durationchange)': '0',\n '(ended)': 'onPausedChange(true)',\n '(pause)': 'onPausedChange(true)',\n '(play)': 'onPausedChange(false)',\n '(volumechange)': 'onVolumeChange()',\n '(timeupdate)': 'onCurrentTimeChange()',\n '(seeking)': 'onCurrentTimeChange()',\n '(seeked)': 'onCurrentTimeChange()',\n },\n})\nexport class TuiMedia {\n private readonly el = tuiInjectElement<HTMLMediaElement>();\n\n private playbackRate = 1;\n\n @Input()\n public volume = 1;\n\n @Output()\n public readonly currentTimeChange = new EventEmitter<number>();\n\n @Output()\n public readonly pausedChange = new EventEmitter<boolean>();\n\n @Output()\n public readonly volumeChange = new EventEmitter<number>();\n\n @Input('playbackRate')\n public set playbackRateSetter(playbackRate: number) {\n this.updatePlaybackRate(playbackRate);\n }\n\n @Input()\n public set currentTime(currentTime: number) {\n if (Math.abs(currentTime - this.currentTime) > 0.05) {\n this.el.currentTime = currentTime;\n }\n }\n\n @Input()\n public set paused(paused: boolean) {\n if (paused) {\n this.el.pause?.();\n } else {\n void this.el.play?.();\n this.updatePlaybackRate(this.playbackRate);\n }\n }\n\n public get currentTime(): number {\n return this.el.currentTime ?? 0;\n }\n\n public get paused(): boolean {\n return this.el.paused;\n }\n\n protected onPausedChange(paused: boolean): void {\n this.pausedChange.emit(paused);\n this.updatePlaybackRate(this.playbackRate);\n }\n\n protected onVolumeChange(): void {\n this.volume = this.el.volume;\n this.volumeChange.emit(this.volume);\n }\n\n protected onCurrentTimeChange(): void {\n this.currentTimeChange.emit(this.currentTime);\n }\n\n private updatePlaybackRate(playbackRate: number): void {\n this.playbackRate = playbackRate;\n this.el.playbackRate = this.playbackRate;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAmBa,QAAQ,CAAA;AAhBrB,IAAA,WAAA,GAAA;QAiBqB,IAAA,CAAA,EAAE,GAAG,gBAAgB,EAAoB;QAElD,IAAA,CAAA,YAAY,GAAG,CAAC;QAGjB,IAAA,CAAA,MAAM,GAAG,CAAC;AAGD,QAAA,IAAA,CAAA,iBAAiB,GAAG,IAAI,YAAY,EAAU;AAG9C,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAW;AAG1C,QAAA,IAAA,CAAA,YAAY,GAAG,IAAI,YAAY,EAAU;AAkD5D,IAAA;IAhDG,IACW,kBAAkB,CAAC,YAAoB,EAAA;AAC9C,QAAA,IAAI,CAAC,kBAAkB,CAAC,YAAY,CAAC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AuB;AACpC,wBAAA,UAAU,EAAE,uBAAuB;AACtC,qBAAA;AACJ,iBAAA;8BAOU,MAAM,EAAA,CAAA;sBADZ;gBAIe,iBAAiB,EAAA,CAAA;sBADhC;gBAIe,YAAY,EAAA,CAAA;sBAD3B;gBAIe,YAAY,EAAA,CAAA;sBAD3B;gBAIU,kBAAkB,EAAA,CAAA;sBAD5B,KAAK;uBAAC,cAAc;gBAMV,WAAW,EAAA,CAAA;sBADrB;gBAQU,MAAM,EAAA,CAAA;sBADhB;;;AChDL;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, Input } from '@angular/core';
2
+ import { Input, Directive } from '@angular/core';
3
3
  import { NG_VALIDATORS } from '@angular/forms';
4
4
  import { tuiZonefree, tuiTakeUntilDestroyed } from '@taiga-ui/cdk/observables';
5
5
  import { tuiInjectElement, tuiProvide } from '@taiga-ui/cdk/utils';
@@ -24,10 +24,10 @@ class TuiNativeValidator {
24
24
  this.el.closest('tui-textfield')?.classList.toggle('tui-invalid', invalid);
25
25
  this.el.setCustomValidity?.(invalid ? this.tuiNativeValidator : '');
26
26
  }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
28
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiNativeValidator, isStandalone: true, selector: "[tuiNativeValidator]", inputs: { tuiNativeValidator: "tuiNativeValidator" }, host: { listeners: { "focusout": "handleValidation()" } }, providers: [tuiProvide(NG_VALIDATORS, TuiNativeValidator, true)], ngImport: i0 }); }
27
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiNativeValidator, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
28
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiNativeValidator, isStandalone: true, selector: "[tuiNativeValidator]", inputs: { tuiNativeValidator: "tuiNativeValidator" }, host: { listeners: { "focusout": "handleValidation()" } }, providers: [tuiProvide(NG_VALIDATORS, TuiNativeValidator, true)], ngImport: i0 }); }
29
29
  }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNativeValidator, decorators: [{
30
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiNativeValidator, decorators: [{
31
31
  type: Directive,
32
32
  args: [{
33
33
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-native-validator.mjs","sources":["../../../projects/cdk/directives/native-validator/native-validator.directive.ts","../../../projects/cdk/directives/native-validator/taiga-ui-cdk-directives-native-validator.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport {type AbstractControl, NG_VALIDATORS, type Validator} from '@angular/forms';\nimport {tuiTakeUntilDestroyed, tuiZonefree} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement, tuiProvide} from '@taiga-ui/cdk/utils';\nimport {BehaviorSubject, delay, of, switchMap} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiNativeValidator]',\n providers: [tuiProvide(NG_VALIDATORS, TuiNativeValidator, true)],\n host: {\n '(focusout)': 'handleValidation()',\n },\n})\nexport class TuiNativeValidator implements Validator {\n private readonly el = tuiInjectElement<HTMLInputElement>();\n private readonly control$ = new BehaviorSubject<AbstractControl | null>(null);\n\n protected readonly sub = this.control$\n .pipe(\n switchMap((control: any) => control?.events || of(null)),\n delay(0),\n tuiZonefree(),\n tuiTakeUntilDestroyed(),\n )\n .subscribe(() => this.handleValidation());\n\n @Input()\n public tuiNativeValidator = 'Invalid';\n\n public validate(control: AbstractControl): null {\n this.control$.next(control);\n\n return null;\n }\n\n protected handleValidation(): void {\n const invalid = !!this.control$.value?.touched && this.control$.value?.invalid;\n\n // TODO: Replace with :has(:invalid) when supported\n this.el.closest('tui-textfield')?.classList.toggle('tui-invalid', invalid);\n this.el.setCustomValidity?.(invalid ? this.tuiNativeValidator : '');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAMA,MAQa,kBAAkB,CAAA;AAR/B,IAAA,WAAA,GAAA;QASqB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAoB,CAAC;AAC1C,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,eAAe,CAAyB,IAAI,CAAC,CAAC;QAE3D,IAAG,CAAA,GAAA,GAAG,IAAI,CAAC,QAAQ;AACjC,aAAA,IAAI,CACD,SAAS,CAAC,CAAC,OAAY,KAAK,OAAO,EAAE,MAAM,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,EACxD,KAAK,CAAC,CAAC,CAAC,EACR,WAAW,EAAE,EACb,qBAAqB,EAAE,CAC1B;aACA,SAAS,CAAC,MAAM,IAAI,CAAC,gBAAgB,EAAE,CAAC,CAAC;QAGvC,IAAkB,CAAA,kBAAA,GAAG,SAAS,CAAC;AAezC,KAAA;AAbU,IAAA,QAAQ,CAAC,OAAwB,EAAA;AACpC,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;AAE5B,QAAA,OAAO,IAAI,CAAC;KACf;IAES,gBAAgB,GAAA;AACtB,QAAA,MAAM,OAAO,GAAG,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,IAAI,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;;AAG/E,QAAA,IAAI,CAAC,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,EAAE,SAAS,CAAC,MAAM,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;AAC3E,QAAA,IAAI,CAAC,EAAE,CAAC,iBAAiB,GAAG,OAAO,GAAG,IAAI,CAAC,kBAAkB,GAAG,EAAE,CAAC,CAAC;KACvE;+GA5BQ,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,UAAA,EAAA,oBAAA,EAAA,EAAA,EAAA,SAAA,EALhB,CAAC,UAAU,CAAC,aAAa,EAAE,kBAAkB,EAAE,IAAI,CAAC,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAKvD,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAR9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,sBAAsB;oBAChC,SAAS,EAAE,CAAC,UAAU,CAAC,aAAa,EAAsB,kBAAA,EAAA,IAAI,CAAC,CAAC;AAChE,oBAAA,IAAI,EAAE;AACF,wBAAA,YAAY,EAAE,oBAAoB;AACrC,qBAAA;AACJ,iBAAA,CAAA;8BAeU,kBAAkB,EAAA,CAAA;sBADxB,KAAK;;;AC3BV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-native-validator.mjs","sources":["../../../projects/cdk/directives/native-validator/native-validator.directive.ts","../../../projects/cdk/directives/native-validator/taiga-ui-cdk-directives-native-validator.ts"],"sourcesContent":["import {Directive, Input} from '@angular/core';\nimport {type AbstractControl, NG_VALIDATORS, type Validator} from '@angular/forms';\nimport {tuiTakeUntilDestroyed, tuiZonefree} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement, tuiProvide} from '@taiga-ui/cdk/utils';\nimport {BehaviorSubject, delay, of, switchMap} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiNativeValidator]',\n providers: [tuiProvide(NG_VALIDATORS, TuiNativeValidator, true)],\n host: {\n '(focusout)': 'handleValidation()',\n },\n})\nexport class TuiNativeValidator implements Validator {\n private readonly el = tuiInjectElement<HTMLInputElement>();\n private readonly control$ = new BehaviorSubject<AbstractControl | null>(null);\n\n protected readonly sub = this.control$\n .pipe(\n switchMap((control: any) => control?.events || of(null)),\n delay(0),\n tuiZonefree(),\n tuiTakeUntilDestroyed(),\n )\n .subscribe(() => this.handleValidation());\n\n @Input()\n public tuiNativeValidator = 'Invalid';\n\n public validate(control: AbstractControl): null {\n this.control$.next(control);\n\n return null;\n }\n\n protected handleValidation(): void {\n const invalid = !!this.control$.value?.touched && this.control$.value?.invalid;\n\n // TODO: Replace with :has(:invalid) when supported\n this.el.closest('tui-textfield')?.classList.toggle('tui-invalid', invalid);\n this.el.setCustomValidity?.(invalid ? this.tuiNativeValidator : '');\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAca,kBAAkB,CAAA;AAR/B,IAAA,WAAA,GAAA;QASqB,IAAA,CAAA,EAAE,GAAG,gBAAgB,EAAoB;AACzC,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,eAAe,CAAyB,IAAI,CAAC;QAE1D,IAAA,CAAA,GAAG,GAAG,IAAI,CAAC;AACzB,aAAA,IAAI,CACD,SAAS,CAAC,CAAC,OAAY,KAAK,OAAO,EAAE,MAAM,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,EACxD,KAAK,CAAC,CAAC,CAAC,EACR,WAAW,EAAE,EACb,qBAAqB,EAAE;aAE1B,SAAS,CAAC,MAAM,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAGtC,IAAA,CAAA,kBAAkB,GAAG,SAAS;AAexC,IAAA;AAbU,IAAA,QAAQ,CAAC,OAAwB,EAAA;AACpC,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC;A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* as i0 from '@angular/core';
2
- import { inject, Injectable, Directive, Output, Input } from '@angular/core';
2
+ import { inject, Injectable, Input, Output, Directive } from '@angular/core';
3
3
  import { TuiActiveZone } from '@taiga-ui/cdk/directives/active-zone';
4
4
  import { tuiZonefreeScheduler, tuiZoneOptimized, tuiIfMap } from '@taiga-ui/cdk/observables';
5
5
  import { Observable, throttleTime, map, startWith, distinctUntilChanged, BehaviorSubject } from 'rxjs';
@@ -16,12 +16,12 @@ class TuiObscuredService extends Observable {
16
16
  this.el = tuiInjectElement();
17
17
  this.obscured$ = inject(WA_ANIMATION_FRAME).pipe(throttleTime(100, tuiZonefreeScheduler()), map(() => tuiGetElementObscures(this.el)), startWith(null), distinctUntilChanged(), tuiZoneOptimized());
18
18
  }
19
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiObscuredService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiObscuredService }); }
19
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiObscuredService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
20
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiObscuredService }); }
21
21
  }
22
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiObscuredService, decorators: [{
22
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiObscuredService, decorators: [{
23
23
  type: Injectable
24
- }], ctorParameters: function () { return []; } });
24
+ }], ctorParameters: () => [] });
25
25
 
26
26
  /**
27
27
  * Directive that monitors element visibility
@@ -36,10 +36,10 @@ class TuiObscured {
36
36
  set tuiObscuredEnabled(enabled) {
37
37
  this.enabled$.next(enabled);
38
38
  }
39
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiObscured, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
40
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiObscured, isStandalone: true, selector: "[tuiObscured]", inputs: { tuiObscuredEnabled: "tuiObscuredEnabled" }, outputs: { tuiObscured: "tuiObscured" }, providers: [TuiObscuredService], ngImport: i0 }); }
39
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiObscured, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
40
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiObscured, isStandalone: true, selector: "[tuiObscured]", inputs: { tuiObscuredEnabled: "tuiObscuredEnabled" }, outputs: { tuiObscured: "tuiObscured" }, providers: [TuiObscuredService], ngImport: i0 }); }
41
41
  }
42
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiObscured, decorators: [{
42
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiObscured, decorators: [{
43
43
  type: Directive,
44
44
  args: [{
45
45
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-obscured.mjs","sources":["../../../projects/cdk/directives/obscured/obscured.service.ts","../../../projects/cdk/directives/obscured/obscured.directive.ts","../../../projects/cdk/directives/obscured/taiga-ui-cdk-directives-obscured.ts"],"sourcesContent":["import {inject, Injectable} from '@angular/core';\nimport {WA_ANIMATION_FRAME} from '@ng-web-apis/common';\nimport {tuiZonefreeScheduler, tuiZoneOptimized} from '@taiga-ui/cdk/observables';\nimport {tuiGetElementObscures, tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {distinctUntilChanged, map, Observable, startWith, throttleTime} from 'rxjs';\n\n/**\n * Service that monitors element visibility by polling and returning\n * either null or an array of elements that overlap given element edges\n */\n@Injectable()\nexport class TuiObscuredService extends Observable<readonly Element[] | null> {\n private readonly el = tuiInjectElement();\n private readonly obscured$ = inject(WA_ANIMATION_FRAME).pipe(\n throttleTime(100, tuiZonefreeScheduler()),\n map(() => tuiGetElementObscures(this.el)),\n startWith(null),\n distinctUntilChanged(),\n tuiZoneOptimized(),\n );\n\n constructor() {\n super((subscriber) => this.obscured$.subscribe(subscriber));\n }\n}\n","import {Directive, inject, Input, Output} from '@angular/core';\nimport {TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {tuiIfMap} from '@taiga-ui/cdk/observables';\nimport {BehaviorSubject, map} from 'rxjs';\n\nimport {TuiObscuredService} from './obscured.service';\n\n/**\n * Directive that monitors element visibility\n */\n@Directive({\n standalone: true,\n selector: '[tuiObscured]',\n providers: [TuiObscuredService],\n})\nexport class TuiObscured {\n private readonly activeZone = inject(TuiActiveZone, {optional: true});\n private readonly enabled$ = new BehaviorSubject(false);\n private readonly obscured$ = inject(TuiObscuredService, {self: true}).pipe(\n map((by) => !!by?.every((el) => !this.activeZone?.contains(el))),\n );\n\n @Output()\n public readonly tuiObscured = this.enabled$.pipe(tuiIfMap(() => this.obscured$));\n\n @Input()\n public set tuiObscuredEnabled(enabled: boolean) {\n this.enabled$.next(enabled);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAMA;;;AAGG;AACH,MACa,kBAAmB,SAAQ,UAAqC,CAAA;AAUzE,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,CAAC,UAAU,KAAK,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC,CAAC;QAV/C,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE,CAAC;AACxB,QAAA,IAAA,CAAA,SA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AbQ,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,kBAAA,EAAA,oBAAA,EAAA,EAAA,OAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,SAAA,EAFT,CAAC,kBAAkB,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAEtB,WAAW,EAAA,UAAA,EAAA,CAAA;kBALvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,eAAe;oBACzB,SAAS,EAAE,CAAC,kBAAkB,CAAC;AAClC,iBAAA,CAAA;8BASmB,WAAW,EAAA,CAAA;sBAD1B,MAAM;gBAII,kBAAkB,EAAA,CAAA;sBAD5B,KAAK;;;ACzBV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-obscured.mjs","sources":["../../../projects/cdk/directives/obscured/obscured.service.ts","../../../projects/cdk/directives/obscured/obscured.directive.ts","../../../projects/cdk/directives/obscured/taiga-ui-cdk-directives-obscured.ts"],"sourcesContent":["import {inject, Injectable} from '@angular/core';\nimport {WA_ANIMATION_FRAME} from '@ng-web-apis/common';\nimport {tuiZonefreeScheduler, tuiZoneOptimized} from '@taiga-ui/cdk/observables';\nimport {tuiGetElementObscures, tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {distinctUntilChanged, map, Observable, startWith, throttleTime} from 'rxjs';\n\n/**\n * Service that monitors element visibility by polling and returning\n * either null or an array of elements that overlap given element edges\n */\n@Injectable()\nexport class TuiObscuredService extends Observable<readonly Element[] | null> {\n private readonly el = tuiInjectElement();\n private readonly obscured$ = inject(WA_ANIMATION_FRAME).pipe(\n throttleTime(100, tuiZonefreeScheduler()),\n map(() => tuiGetElementObscures(this.el)),\n startWith(null),\n distinctUntilChanged(),\n tuiZoneOptimized(),\n );\n\n constructor() {\n super((subscriber) => this.obscured$.subscribe(subscriber));\n }\n}\n","import {Directive, inject, Input, Output} from '@angular/core';\nimport {TuiActiveZone} from '@taiga-ui/cdk/directives/active-zone';\nimport {tuiIfMap} from '@taiga-ui/cdk/observables';\nimport {BehaviorSubject, map} from 'rxjs';\n\nimport {TuiObscuredService} from './obscured.service';\n\n/**\n * Directive that monitors element visibility\n */\n@Directive({\n standalone: true,\n selector: '[tuiObscured]',\n providers: [TuiObscuredService],\n})\nexport class TuiObscured {\n private readonly activeZone = inject(TuiActiveZone, {optional: true});\n private readonly enabled$ = new BehaviorSubject(false);\n private readonly obscured$ = inject(TuiObscuredService, {self: true}).pipe(\n map((by) => !!by?.every((el) => !this.activeZone?.contains(el))),\n );\n\n @Output()\n public readonly tuiObscured = this.enabled$.pipe(tuiIfMap(() => this.obscured$));\n\n @Input()\n public set tuiObscuredEnabled(enabled: boolean) {\n this.enabled$.next(enabled);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AAMA;;;AAGG;AAEG,MAAO,kBAAmB,SAAQ,UAAqC,CAAA;AAUzE,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,CAAC,UAAU,KAAK,IAAI,CAAC,SAAS,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAV9C,IAAA,CAAA,EAAE,GAAG,gBAAgB,EAAE;AACvB,QAAA,IAAA,CAAA,SAAS,GAAG,MAAM,CAAC,kBAAkB,CAAC,CAAC,IAAI,CACxD,YAAY,CAAC,GAAG,EAAE,oBAAoB,EAAE,CAAC,EACzC,GAAG,CAAC,MAAM,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,EACzC,SAAS,CAAC,IAAI,CAAC,EACf,oBAAoB,EAAE,EACtB,gBAAgB,EAAE,CACr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AAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAEtB,WAAW,EAAA,UAAA,EAAA,CAAA;kBALvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,eAAe;oBACzB,SAAS,EAAE,CAAC,kBAAkB,CAAC;AAClC,iBAAA;8BASmB,WAAW,EAAA,CAAA;sBAD1B;gBAIU,kBAAkB,EAAA,CAAA;sBAD5B;;;ACzBL;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, Injectable, Directive, Output } from '@angular/core';
2
+ import { inject, Injectable, Output, Directive } from '@angular/core';
3
3
  import { DOCUMENT } from '@angular/common';
4
4
  import { tuiTypedFromEvent } from '@taiga-ui/cdk/observables';
5
5
  import { tuiInjectElement } from '@taiga-ui/cdk/utils/dom';
@@ -19,21 +19,21 @@ class TuiPanService extends Observable {
19
19
  }), takeUntil(merge(tuiTypedFromEvent(doc, 'touchend'), tuiTypedFromEvent(doc, 'mouseup'))), repeat())
20
20
  .subscribe(subscriber));
21
21
  }
22
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPanService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
23
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPanService }); }
22
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPanService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
23
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPanService }); }
24
24
  }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPanService, decorators: [{
25
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPanService, decorators: [{
26
26
  type: Injectable
27
- }], ctorParameters: function () { return []; } });
27
+ }], ctorParameters: () => [] });
28
28
 
29
29
  class TuiPan {
30
30
  constructor() {
31
31
  this.tuiPan = inject(TuiPanService);
32
32
  }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPan, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
34
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiPan, isStandalone: true, selector: "[tuiPan]", outputs: { tuiPan: "tuiPan" }, providers: [TuiPanService], ngImport: i0 }); }
33
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPan, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
34
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiPan, isStandalone: true, selector: "[tuiPan]", outputs: { tuiPan: "tuiPan" }, providers: [TuiPanService], ngImport: i0 }); }
35
35
  }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPan, decorators: [{
36
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPan, decorators: [{
37
37
  type: Directive,
38
38
  args: [{
39
39
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-pan.mjs","sources":["../../../projects/cdk/directives/pan/pan.service.ts","../../../projects/cdk/directives/pan/pan.directive.ts","../../../projects/cdk/directives/pan/taiga-ui-cdk-directives-pan.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {inject, Injectable} from '@angular/core';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {\n filter,\n map,\n merge,\n Observable,\n pairwise,\n repeat,\n switchMap,\n takeUntil,\n} from 'rxjs';\n\n@Injectable()\nexport class TuiPanService extends Observable<readonly [number, number]> {\n constructor() {\n const el = tuiInjectElement();\n const doc = inject(DOCUMENT);\n\n super((subscriber) =>\n merge(\n tuiTypedFromEvent(el, 'touchstart', {passive: true}),\n tuiTypedFromEvent(el, 'mousedown'),\n )\n .pipe(\n switchMap(() =>\n merge(\n tuiTypedFromEvent(doc, 'touchmove', {\n passive: true,\n }).pipe(\n filter(({touches}) => touches.length < 2),\n map(({touches}) => touches[0]),\n ),\n tuiTypedFromEvent(doc, 'mousemove'),\n ),\n ),\n pairwise(),\n map(([first, second]) => {\n const deltaX = (second?.clientX ?? 0) - (first?.clientX ?? 0);\n const deltaY = (second?.clientY ?? 0) - (first?.clientY ?? 0);\n\n return [deltaX, deltaY] as [number, number];\n }),\n takeUntil(\n merge(\n tuiTypedFromEvent(doc, 'touchend'),\n tuiTypedFromEvent(doc, 'mouseup'),\n ),\n ),\n repeat(),\n )\n .subscribe(subscriber),\n );\n }\n}\n","import {Directive, inject, Output} from '@angular/core';\n\nimport {TuiPanService} from './pan.service';\n\n@Directive({\n standalone: true,\n selector: '[tuiPan]',\n providers: [TuiPanService],\n})\nexport class TuiPan {\n @Output()\n public readonly tuiPan = inject(TuiPanService);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAeA,MACa,aAAc,SAAQ,UAAqC,CAAA;AACpE,IAAA,WAAA,GAAA;AACI,QAAA,MAAM,EAAE,GAAG,gBAAgB,EAAE,CAAC;AAC9B,QAAA,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC,CAAC;QAE7B,KAAK,CAAC,CAAC,UAAU,KACb,KAAK,CACD,iBAAiB,CAAC,EAAE,EAAE,YAAY,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC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A,GAAA;AAOoB,QAAA,IAAA,CAAA,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;AAClD,KAAA;+GAHY,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAN,MAAM,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,UAAA,EAAA,OAAA,EAAA,EAAA,MAAA,EAAA,QAAA,EAAA,EAAA,SAAA,EAFJ,CAAC,aAAa,CAAC,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAEjB,MAAM,EAAA,UAAA,EAAA,CAAA;kBALlB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,UAAU;oBACpB,SAAS,EAAE,CAAC,aAAa,CAAC;AAC7B,iBAAA,CAAA;8BAGmB,MAAM,EAAA,CAAA;sBADrB,MAAM;;;ACVX;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-pan.mjs","sources":["../../../projects/cdk/directives/pan/pan.service.ts","../../../projects/cdk/directives/pan/pan.directive.ts","../../../projects/cdk/directives/pan/taiga-ui-cdk-directives-pan.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {inject, Injectable} from '@angular/core';\nimport {tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils/dom';\nimport {\n filter,\n map,\n merge,\n Observable,\n pairwise,\n repeat,\n switchMap,\n takeUntil,\n} from 'rxjs';\n\n@Injectable()\nexport class TuiPanService extends Observable<readonly [number, number]> {\n constructor() {\n const el = tuiInjectElement();\n const doc = inject(DOCUMENT);\n\n super((subscriber) =>\n merge(\n tuiTypedFromEvent(el, 'touchstart', {passive: true}),\n tuiTypedFromEvent(el, 'mousedown'),\n )\n .pipe(\n switchMap(() =>\n merge(\n tuiTypedFromEvent(doc, 'touchmove', {\n passive: true,\n }).pipe(\n filter(({touches}) => touches.length < 2),\n map(({touches}) => touches[0]),\n ),\n tuiTypedFromEvent(doc, 'mousemove'),\n ),\n ),\n pairwise(),\n map(([first, second]) => {\n const deltaX = (second?.clientX ?? 0) - (first?.clientX ?? 0);\n const deltaY = (second?.clientY ?? 0) - (first?.clientY ?? 0);\n\n return [deltaX, deltaY] as [number, number];\n }),\n takeUntil(\n merge(\n tuiTypedFromEvent(doc, 'touchend'),\n tuiTypedFromEvent(doc, 'mouseup'),\n ),\n ),\n repeat(),\n )\n .subscribe(subscriber),\n );\n }\n}\n","import {Directive, inject, Output} from '@angular/core';\n\nimport {TuiPanService} from './pan.service';\n\n@Directive({\n standalone: true,\n selector: '[tuiPan]',\n providers: [TuiPanService],\n})\nexport class TuiPan {\n @Output()\n public readonly tuiPan = inject(TuiPanService);\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAgBM,MAAO,aAAc,SAAQ,UAAqC,CAAA;AACpE,IAAA,WAAA,GAAA;AACI,QAAA,MAAM,EAAE,GAAG,gBAAgB,EAAE;AAC7B,QAAA,MAAM,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC;QAE5B,KAAK,CAAC,CAAC,UAAU,KACb,KAAK,CACD,iBAAiB,CAAC,EAAE,EAAE,YAAY,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC,EACpD,iBAAiB,CAAC,EAAE,EAAE,WAAW,CAAC;AAEjC,aAAA,IAAI,CACD,SAAS,CAAC,MACN,KAAK,CACD,iBAAiB,CAAC,GAAG,EAAE,WAAW,EAAE;AAChC,YAAA,OAAO,EAAE,IAAI;SAChB,CAAC,CAAC,IAAI,CACH,MAAM,CAAC,CAAC,EAAC,OAAO,EAAC,KAAK,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,EACzC,GAAG,CAAC,CAAC,EAAC,OAAO,EAAC,KAAK,O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;;2FAEjB,MAAM,EAAA,UAAA,EAAA,CAAA;kBALlB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,UAAU;oBACpB,SAAS,EAAE,CAAC,aAAa,CAAC;AAC7B,iBAAA;8BAGmB,MAAM,EAAA,CAAA;sBADrB;;;ACVL;;AAEG;;;;"}
@@ -1,20 +1,20 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, Directive, Input } from '@angular/core';
2
+ import { inject, Input, Directive } from '@angular/core';
3
3
  import { TUI_PLATFORM } from '@taiga-ui/cdk/tokens';
4
4
 
5
5
  class TuiPlatform {
6
6
  constructor() {
7
7
  this.tuiPlatform = inject(TUI_PLATFORM, { skipSelf: true });
8
8
  }
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPlatform, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
10
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiPlatform, isStandalone: true, selector: "[tuiPlatform]", inputs: { tuiPlatform: "tuiPlatform" }, host: { properties: { "attr.data-platform": "tuiPlatform" } }, providers: [
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPlatform, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
10
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiPlatform, isStandalone: true, selector: "[tuiPlatform]", inputs: { tuiPlatform: "tuiPlatform" }, host: { properties: { "attr.data-platform": "tuiPlatform" } }, providers: [
11
11
  {
12
12
  provide: TUI_PLATFORM,
13
13
  useFactory: () => inject(TuiPlatform).tuiPlatform,
14
14
  },
15
15
  ], ngImport: i0 }); }
16
16
  }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPlatform, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPlatform, decorators: [{
18
18
  type: Directive,
19
19
  args: [{
20
20
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-platform.mjs","sources":["../../../projects/cdk/directives/platform/platform.directive.ts","../../../projects/cdk/directives/platform/taiga-ui-cdk-directives-platform.ts"],"sourcesContent":["import {Directive, inject, Input} from '@angular/core';\nimport {TUI_PLATFORM} from '@taiga-ui/cdk/tokens';\n\n@Directive({\n standalone: true,\n selector: '[tuiPlatform]',\n providers: [\n {\n provide: TUI_PLATFORM,\n useFactory: () => inject(TuiPlatform).tuiPlatform,\n },\n ],\n host: {\n '[attr.data-platform]': 'tuiPlatform',\n },\n})\nexport class TuiPlatform {\n @Input()\n public tuiPlatform = inject(TUI_PLATFORM, {skipSelf: true});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MAaa,WAAW,CAAA;AAbxB,IAAA,WAAA,GAAA;QAeW,IAAW,CAAA,WAAA,GAAG,MAAM,CAAC,YAAY,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC;AAC/D,KAAA;+GAHY,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAX,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,WAAW,EAVT,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,eAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAAA,aAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,oBAAA,EAAA,aAAA,EAAA,EAAA,EAAA,SAAA,EAAA;AACP,YAAA;AACI,gBAAA,OAAO,EAAE,YAAY;gBACrB,UAAU,EAAE,MAAM,MAAM,CAAC,WAAW,CAAC,CAAC,WAAW;AACpD,aAAA;AACJ,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAKQ,WAAW,EAAA,UAAA,EAAA,CAAA;kBAbvB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,eAAe;AACzB,oBAAA,SAAS,EAAE;AACP,wBAAA;AACI,4BAAA,OAAO,EAAE,YAAY;AACrB,4BAAA,UAAU,EAAE,MAAM,MAAM,CAAA,WAAA,CAAa,CAAC,WAAW;AACpD,yBAAA;AACJ,qBAAA;AACD,oBAAA,IAAI,EAAE;AACF,wBAAA,sBAAsB,EAAE,aAAa;AACxC,qBAAA;AACJ,iBAAA,CAAA;8BAGU,WAAW,EAAA,CAAA;sBADjB,KAAK;;;ACjBV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-platform.mjs","sources":["../../../projects/cdk/directives/platform/platform.directive.ts","../../../projects/cdk/directives/platform/taiga-ui-cdk-directives-platform.ts"],"sourcesContent":["import {Directive, inject, Input} from '@angular/core';\nimport {TUI_PLATFORM} from '@taiga-ui/cdk/tokens';\n\n@Directive({\n standalone: true,\n selector: '[tuiPlatform]',\n providers: [\n {\n provide: TUI_PLATFORM,\n useFactory: () => inject(TuiPlatform).tuiPlatform,\n },\n ],\n host: {\n '[attr.data-platform]': 'tuiPlatform',\n },\n})\nexport class TuiPlatform {\n @Input()\n public tuiPlatform = inject(TUI_PLATFORM, {skipSelf: true});\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAgBa,WAAW,CAAA;AAbxB,IAAA,WAAA,GAAA;QAeW,IAAA,CAAA,WAAW,GAAG,MAAM,CAAC,Y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DeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPopoverDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
21
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiPopoverDirective, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
20
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPopoverDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
21
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiPopoverDirective, isStandalone: true, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
22
22
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPopoverDirective, decorators: [{
23
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiPopoverDirective, decorators: [{
24
24
  type: Directive
25
25
  }] });
26
26
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-popover.mjs","sources":["../../../projects/cdk/directives/popover/popover.directive.ts","../../../projects/cdk/directives/popover/taiga-ui-cdk-directives-popover.ts"],"sourcesContent":["import {Directive, inject, type OnChanges} from '@angular/core';\nimport {tuiIfMap} from '@taiga-ui/cdk/observables';\nimport {type TuiPopover, TuiPopoverService} from '@taiga-ui/cdk/services';\nimport {PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\nimport {distinctUntilChanged, endWith, ignoreElements, share, Subject} from 'rxjs';\n\n@Directive()\nexport abstract class TuiPopoverDirective<T>\n extends PolymorpheusTemplate<TuiPopover<T, void>>\n implements OnChanges\n{\n private readonly service = inject(TuiPopoverService<T>);\n private readonly open$ = new Subject<boolean>();\n\n public options: Partial<T> = {};\n public open = false;\n\n public readonly openChange = this.open$.pipe(\n distinctUntilChanged(),\n tuiIfMap(() =>\n this.service.open(this, this.options).pipe(ignoreElements(), endWith(false)),\n ),\n share(),\n );\n\n public ngOnChanges(): void {\n this.open$.next(this.open);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAMA,MACsB,mBAClB,SAAQ,oBAAyC,CAAA;AAFrD,IAAA,WAAA,GAAA;;AAKqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,EAAC,iBAAoB,EAAC,CAAC;AACvC,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,OAAO,EAAW,CAAC;QAEzC,IAAO,CAAA,OAAA,GAAe,EAAE,CAAC;QACzB,IAAI,CAAA,IAAA,GAAG,KAAK,CAAC;AAEJ,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CACxC,oBAAoB,EAAE,EACtB,QAAQ,CAAC,MACL,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAC/E,EACD,KAAK,EAAE,CACV,CAAC;AAKL,KAAA;IAHU,WAAW,GAAA;QACd,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KAC9B;+GApBiB,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAnB,mBAAmB,EAAA,eAAA,EAAA,IAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBADxC,SAAS;;;ACNV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-popover.mjs","sources":["../../../projects/cdk/directives/popover/popover.directive.ts","../../../projects/cdk/directives/popover/taiga-ui-cdk-directives-popover.ts"],"sourcesContent":["import {Directive, inject, type OnChanges} from '@angular/core';\nimport {tuiIfMap} from '@taiga-ui/cdk/observables';\nimport {type TuiPopover, TuiPopoverService} from '@taiga-ui/cdk/services';\nimport {PolymorpheusTemplate} from '@taiga-ui/polymorpheus';\nimport {distinctUntilChanged, endWith, ignoreElements, share, Subject} from 'rxjs';\n\n@Directive()\nexport abstract class TuiPopoverDirective<T>\n extends PolymorpheusTemplate<TuiPopover<T, void>>\n implements OnChanges\n{\n private readonly service = inject(TuiPopoverService<T>);\n private readonly open$ = new Subject<boolean>();\n\n public options: Partial<T> = {};\n public open = false;\n\n public readonly openChange = this.open$.pipe(\n distinctUntilChanged(),\n tuiIfMap(() =>\n this.service.open(this, this.options).pipe(ignoreElements(), endWith(false)),\n ),\n share(),\n );\n\n public ngOnChanges(): void {\n this.open$.next(this.open);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAOM,MAAgB,mBAClB,SAAQ,oBAAyC,CAAA;AAFrD,IAAA,WAAA,GAAA;;AAKqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,EAAC,iBAAoB,EAAC;AACtC,QAAA,IAAA,CAAA,KAAK,GAAG,IAAI,OAAO,EAAW;QAExC,IAAA,CAAA,OAAO,GAAe,EAAE;QACxB,IAAA,CAAA,IAAI,GAAG,KAAK;AAEH,QAAA,IAAA,CAAA,UAAU,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CACxC,oBAAoB,EAAE,EACtB,QAAQ,CAAC,MACL,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC,CAC/E,EACD,KAAK,EAAE,CACV;AAKJ,IAAA;IAHU,WAAW,GAAA;QACd,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;IAC9B;8GApBkB,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,eAAA,EAAA,IAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBADxC;;;ACND;;AAEG;;;;"}
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { inject, ViewContainerRef, TemplateRef, Directive, Input } from '@angular/core';
2
+ import { inject, ViewContainerRef, TemplateRef, Input, Directive } from '@angular/core';
3
3
  import { tuiClamp } from '@taiga-ui/cdk/utils/math';
4
4
 
5
5
  const MAX_VALUE = 0x10000;
@@ -40,10 +40,10 @@ class TuiRepeatTimes {
40
40
  this.viewContainer.remove();
41
41
  }
42
42
  }
43
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRepeatTimes, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
44
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiRepeatTimes, isStandalone: true, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: { tuiRepeatTimesOf: "tuiRepeatTimesOf" }, ngImport: i0 }); }
43
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiRepeatTimes, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
44
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiRepeatTimes, isStandalone: true, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: { tuiRepeatTimesOf: "tuiRepeatTimesOf" }, ngImport: i0 }); }
45
45
  }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiRepeatTimes, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiRepeatTimes, decorators: [{
47
47
  type: Directive,
48
48
  args: [{
49
49
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-repeat-times.mjs","sources":["../../../projects/cdk/directives/repeat-times/repeat-times.directive.ts","../../../projects/cdk/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.ts"],"sourcesContent":["import {Directive, inject, Input, TemplateRef, ViewContainerRef} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiClamp} from '@taiga-ui/cdk/utils/math';\n\nconst MAX_VALUE = 0x10000;\n\nexport class TuiRepeatTimesContext implements TuiContext<number> {\n constructor(public readonly $implicit: number) {}\n}\n\n/**\n * Directive similar to ngFor but using a number of repetitions rather than an array\n *\n * {@link TuiRepeatTimes.tuiRepeatTimesOf requested number of times}.\n * {@link TuiRepeatTimesContext context} for every instance of the template inherits outer context and stores\n * {@link TuiRepeatTimesContext.$implicit index} of a template instance.\n */\n@Directive({\n standalone: true,\n selector: '[tuiRepeatTimes][tuiRepeatTimesOf]',\n})\nexport class TuiRepeatTimes {\n private readonly viewContainer = inject(ViewContainerRef);\n private readonly templateRef = inject(TemplateRef<TuiRepeatTimesContext>);\n\n @Input()\n public set tuiRepeatTimesOf(count: number) {\n const safeCount = Math.floor(tuiClamp(count, 0, MAX_VALUE));\n\n const {length} = this.viewContainer;\n\n if (count < length) {\n this.removeContainers(length - count);\n } else {\n this.addContainers(safeCount);\n }\n }\n\n private addContainers(count: number): void {\n for (let index = this.viewContainer.length; index < count; index++) {\n this.viewContainer.createEmbeddedView<TuiRepeatTimesContext>(\n this.templateRef,\n new TuiRepeatTimesContext(index),\n );\n }\n }\n\n private removeContainers(amount: number): void {\n for (let index = 0; index < amount; index++) {\n this.viewContainer.remove();\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAIA,MAAM,SAAS,GAAG,OAAO,CAAC;MAEb,qBAAqB,CAAA;AAC9B,IAAA,WAAA,CAA4B,SAAiB,EAAA;QAAjB,IAAS,CAAA,SAAA,GAAT,SAAS,CAAQ;KAAI;AACpD,CAAA;AAED;;;;;;AAMG;AACH,MAIa,cAAc,CAAA;AAJ3B,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC,CAAC;AACzC,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,EAAC,WAAkC,EAAC,CAAC;AA6B7E,KAAA;IA3BG,IACW,gBAAgB,CAAC,KAAa,EAAA;AACrC,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC,CAAC;AAE5D,QAAA,MAAM,EAAC,MAAM,EAAC,GAAG,IAAI,CAAC,aAAa,CAAC;QAEpC,IAAI,KAAK,GAAG,MAAM,EAAE;AAChB,YAAA,IAAI,CAAC,gBAAgB,CAAC,MAAM,GAAG,KAAK,CAAC,CAAC;AACzC,SAAA;AAAM,aAAA;AACH,YAAA,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC,CAAC;AACjC,SAAA;KACJ;AAEO,IAAA,aAAa,CAAC,KAAa,EAAA;AAC/B,QAAA,KAAK,IAAI,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,KAAK,GAAG,KAAK,EAAE,KAAK,EAAE,EAAE;AAChE,YAAA,IAAI,CAAC,aAAa,CAAC,kBAAkB,CACjC,IAAI,CAAC,WAAW,EAChB,IAAI,qBAAqB,CAAC,KAAK,CAAC,CACnC,CAAC;AACL,SAAA;KACJ;AAEO,IAAA,gBAAgB,CAAC,MAAc,EAAA;QACnC,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE;AACzC,YAAA,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC;AAC/B,SAAA;KACJ;+GA9BQ,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oCAAA,EAAA,MAAA,EAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,oCAAoC;AACjD,iBAAA,CAAA;8BAMc,gBAAgB,EAAA,CAAA;sBAD1B,KAAK;;;ACzBV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-cdk-directives-repeat-times.mjs","sources":["../../../projects/cdk/directives/repeat-times/repeat-times.directive.ts","../../../projects/cdk/directives/repeat-times/taiga-ui-cdk-directives-repeat-times.ts"],"sourcesContent":["import {Directive, inject, Input, TemplateRef, ViewContainerRef} from '@angular/core';\nimport {type TuiContext} from '@taiga-ui/cdk/types';\nimport {tuiClamp} from '@taiga-ui/cdk/utils/math';\n\nconst MAX_VALUE = 0x10000;\n\nexport class TuiRepeatTimesContext implements TuiContext<number> {\n constructor(public readonly $implicit: number) {}\n}\n\n/**\n * Directive similar to ngFor but using a number of repetitions rather than an array\n *\n * {@link TuiRepeatTimes.tuiRepeatTimesOf requested number of times}.\n * {@link TuiRepeatTimesContext context} for every instance of the template inherits outer context and stores\n * {@link TuiRepeatTimesContext.$implicit index} of a template instance.\n */\n@Directive({\n standalone: true,\n selector: '[tuiRepeatTimes][tuiRepeatTimesOf]',\n})\nexport class TuiRepeatTimes {\n private readonly viewContainer = inject(ViewContainerRef);\n private readonly templateRef = inject(TemplateRef<TuiRepeatTimesContext>);\n\n @Input()\n public set tuiRepeatTimesOf(count: number) {\n const safeCount = Math.floor(tuiClamp(count, 0, MAX_VALUE));\n\n const {length} = this.viewContainer;\n\n if (count < length) {\n this.removeContainers(length - count);\n } else {\n this.addContainers(safeCount);\n }\n }\n\n private addContainers(count: number): void {\n for (let index = this.viewContainer.length; index < count; index++) {\n this.viewContainer.createEmbeddedView<TuiRepeatTimesContext>(\n this.templateRef,\n new TuiRepeatTimesContext(index),\n );\n }\n }\n\n private removeContainers(amount: number): void {\n for (let index = 0; index < amount; index++) {\n this.viewContainer.remove();\n }\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAIA,MAAM,SAAS,GAAG,OAAO;MAEZ,qBAAqB,CAAA;AAC9B,IAAA,WAAA,CAA4B,SAAiB,EAAA;QAAjB,IAAA,CAAA,SAAS,GAAT,SAAS;IAAW;AACnD;AAED;;;;;;AAMG;MAKU,cAAc,CAAA;AAJ3B,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,aAAa,GAAG,MAAM,CAAC,gBAAgB,CAAC;AACxC,QAAA,IAAA,CAAA,WAAW,GAAG,MAAM,EAAC,WAAkC,EAAC;AA6B5E,IAAA;IA3BG,IACW,gBAAgB,CAAC,KAAa,EAAA;AACrC,QAAA,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC,EAAE,SAAS,CAAC,CAAC;AAE3D,QAAA,MAAM,EAAC,MAAM,EAAC,GAAG,IAAI,CAAC,aAAa;AAEnC,QAAA,IAAI,KAAK,GAAG,MAAM,EAAE;AAChB,YAAA,IAAI,CAAC,gBAAgB,CAAC,MAAM,GAAG,KAAK,CAAC;QACzC;aAAO;AACH,YAAA,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC;QACjC;IACJ;AAEQ,IAAA,aAAa,CAAC,KAAa,EAAA;AAC/B,QAAA,KAAK,IAAI,KAAK,GAAG,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,KAAK,GAAG,KAAK,EAAE,KAAK,EAAE,EAAE;AAChE,YAAA,IAAI,CAAC,aAAa,CAAC,kBAAkB,CACjC,IAAI,CAAC,WAAW,EAChB,IAAI,qBAAqB,CAAC,KAAK,CAAC,CACnC;QACL;IACJ;AAEQ,IAAA,gBAAgB,CAAC,MAAc,EAAA;AACnC,QAAA,KAAK,IAAI,KAAK,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,KAAK,EAAE,EAAE;AACzC,YAAA,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE;QAC/B;IACJ;8GA9BS,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;kGAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,oCAAA,EAAA,MAAA,EAAA,EAAA,gBAAA,EAAA,kBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;2FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,oCAAoC;AACjD,iBAAA;8BAMc,gBAAgB,EAAA,CAAA;sBAD1B;;;ACzBL;;AAEG;;;;"}
@@ -1,13 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Directive, inject, EventEmitter, Input, Output } from '@angular/core';
2
+ import { Directive, inject, EventEmitter, Output, Input } from '@angular/core';
3
3
  import { TuiElement } from '@taiga-ui/cdk/directives/element';
4
4
  import { tuiPx } from '@taiga-ui/cdk/utils/miscellaneous';
5
5
 
6
6
  class TuiResizable extends TuiElement {
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiResizable, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiResizable, isStandalone: true, selector: "[tuiResizable]", usesInheritance: true, ngImport: i0 }); }
7
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiResizable, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
8
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiResizable, isStandalone: true, selector: "[tuiResizable]", usesInheritance: true, ngImport: i0 }); }
9
9
  }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiResizable, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiResizable, decorators: [{
11
11
  type: Directive,
12
12
  args: [{
13
13
  standalone: true,
@@ -71,10 +71,10 @@ class TuiResizer {
71
71
  }
72
72
  this.tuiSizeChange.emit(size);
73
73
  }
74
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiResizer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
75
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiResizer, isStandalone: true, selector: "[tuiResizer]", inputs: { tuiResizer: "tuiResizer" }, outputs: { tuiSizeChange: "tuiSizeChange" }, host: { listeners: { "pointerdown.zoneless.prevent": "onPointerDown($event.x, $event.y)", "document:pointermove.zoneless": "onPointerMove($event)", "document:pointerup.zoneless": "onPointerUp()" }, properties: { "style.cursor": "cursor", "style.touchAction": "\"none\"" } }, ngImport: i0 }); }
74
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiResizer, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
75
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.9", type: TuiResizer, isStandalone: true, selector: "[tuiResizer]", inputs: { tuiResizer: "tuiResizer" }, outputs: { tuiSizeChange: "tuiSizeChange" }, host: { listeners: { "pointerdown.zoneless.prevent": "onPointerDown($event.x, $event.y)", "document:pointermove.zoneless": "onPointerMove($event)", "document:pointerup.zoneless": "onPointerUp()" }, properties: { "style.cursor": "cursor", "style.touchAction": "\"none\"" } }, ngImport: i0 }); }
76
76
  }
77
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiResizer, decorators: [{
77
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.9", ngImport: i0, type: TuiResizer, decorators: [{
78
78
  type: Directive,
79
79
  args: [{
80
80
  standalone: true,