@taiga-ui/cdk 4.52.0-canary.5601aa6 → 4.52.0-canary.58fe47a

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 (290) hide show
  1. package/README.md +1 -1
  2. package/classes/control.d.ts +4 -6
  3. package/classes/index.d.ts +0 -1
  4. package/constants/index.d.ts +0 -1
  5. package/constants/used-icons.d.ts +2 -2
  6. package/constants/version.d.ts +1 -1
  7. package/constants/version.js +1 -1
  8. package/date-time/date-fillers.d.ts +5 -5
  9. package/date-time/day-range.d.ts +1 -1
  10. package/date-time/day.d.ts +4 -4
  11. package/date-time/time.d.ts +2 -2
  12. package/date-time/types.d.ts +1 -12
  13. package/directives/active-zone/active-zone.directive.d.ts +3 -4
  14. package/directives/auto-focus/autofocus.directive.d.ts +2 -3
  15. package/directives/auto-focus/autofocus.options.d.ts +1 -1
  16. package/directives/copy-processor/copy-processor.directive.d.ts +2 -2
  17. package/directives/hovered/hovered.directive.d.ts +1 -2
  18. package/directives/index.d.ts +1 -5
  19. package/directives/media/media.directive.d.ts +8 -12
  20. package/directives/native-validator/native-validator.directive.d.ts +2 -2
  21. package/directives/obscured/obscured.directive.d.ts +4 -4
  22. package/directives/pan/pan.directive.d.ts +1 -2
  23. package/directives/platform/platform.directive.d.ts +2 -2
  24. package/directives/resizer/resizer.directive.d.ts +3 -4
  25. package/directives/swipe/swipe.directive.d.ts +1 -2
  26. package/directives/transitioned/transitioned.directive.d.ts +1 -0
  27. package/directives/value-changes/value-changes.directive.d.ts +2 -2
  28. package/directives/with-styles/index.d.ts +1 -0
  29. package/directives/with-styles/with-styles.directive.d.ts +10 -0
  30. package/fesm2022/taiga-ui-cdk-classes.mjs +6 -89
  31. package/fesm2022/taiga-ui-cdk-classes.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-cdk-constants.mjs +15 -17
  33. package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-cdk-date-time.mjs +35 -23
  35. package/fesm2022/taiga-ui-cdk-date-time.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs +22 -30
  37. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-cdk-directives-animated.mjs +0 -2
  39. package/fesm2022/taiga-ui-cdk-directives-animated.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs +8 -11
  41. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-cdk-directives-control.mjs +0 -1
  43. package/fesm2022/taiga-ui-cdk-directives-control.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs +5 -8
  45. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-cdk-directives-element.mjs +0 -1
  47. package/fesm2022/taiga-ui-cdk-directives-element.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs +1 -2
  49. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs +1 -4
  51. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs +0 -1
  53. package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs +4 -7
  55. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-cdk-directives-item.mjs +0 -1
  57. package/fesm2022/taiga-ui-cdk-directives-item.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-cdk-directives-media.mjs +30 -55
  59. package/fesm2022/taiga-ui-cdk-directives-media.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs +5 -8
  61. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs +9 -17
  63. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-cdk-directives-pan.mjs +4 -6
  65. package/fesm2022/taiga-ui-cdk-directives-pan.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-cdk-directives-platform.mjs +7 -10
  67. package/fesm2022/taiga-ui-cdk-directives-platform.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs +14 -18
  69. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs +4 -6
  71. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs +4 -11
  73. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-cdk-directives-validator.mjs +0 -1
  75. package/fesm2022/taiga-ui-cdk-directives-validator.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs +5 -6
  77. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-cdk-directives-visual-viewport.mjs +0 -1
  79. package/fesm2022/taiga-ui-cdk-directives-visual-viewport.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-cdk-directives-with-styles.mjs +29 -0
  81. package/fesm2022/taiga-ui-cdk-directives-with-styles.mjs.map +1 -0
  82. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs +0 -1
  83. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-cdk-directives.mjs +1 -5
  85. package/fesm2022/taiga-ui-cdk-directives.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-cdk-observables.mjs +10 -28
  87. package/fesm2022/taiga-ui-cdk-observables.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-cdk-pipes-filter.mjs +0 -1
  89. package/fesm2022/taiga-ui-cdk-pipes-filter.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs +0 -1
  91. package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs.map +1 -1
  92. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs +0 -1
  93. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-cdk-pipes.mjs +0 -6
  95. package/fesm2022/taiga-ui-cdk-pipes.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-cdk-portals.mjs +126 -0
  97. package/fesm2022/taiga-ui-cdk-portals.mjs.map +1 -0
  98. package/fesm2022/taiga-ui-cdk-tokens.mjs +13 -47
  99. package/fesm2022/taiga-ui-cdk-tokens.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-cdk-utils-browser.mjs +3 -26
  101. package/fesm2022/taiga-ui-cdk-utils-browser.mjs.map +1 -1
  102. package/fesm2022/taiga-ui-cdk-utils-di.mjs +45 -4
  103. package/fesm2022/taiga-ui-cdk-utils-di.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-cdk-utils-dom.mjs +16 -96
  105. package/fesm2022/taiga-ui-cdk-utils-dom.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-cdk-utils-focus.mjs +22 -39
  107. package/fesm2022/taiga-ui-cdk-utils-focus.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-cdk-utils-math.mjs +1 -12
  109. package/fesm2022/taiga-ui-cdk-utils-math.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs +16 -127
  111. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs.map +1 -1
  112. package/fesm2022/taiga-ui-cdk-utils.mjs +0 -1
  113. package/fesm2022/taiga-ui-cdk-utils.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-cdk.mjs +1 -1
  115. package/index.d.ts +1 -1
  116. package/observables/index.d.ts +0 -2
  117. package/package.json +17 -59
  118. package/pipes/index.d.ts +0 -6
  119. package/pipes/obfuscate/obfuscate.options.d.ts +1 -1
  120. package/portals/directive.d.ts +11 -0
  121. package/portals/index.d.ts +4 -0
  122. package/portals/portal.d.ts +24 -0
  123. package/portals/portals.d.ts +12 -0
  124. package/portals/service.d.ts +15 -0
  125. package/schematics/collection.json +2 -1
  126. package/schematics/migrate-tui-let/index.js +4 -3
  127. package/schematics/migrate-tui-let/index.js.map +1 -1
  128. package/schematics/migrate-tui-let/schema.json +7 -0
  129. package/schematics/ng-add/constants/versions.d.ts +1 -1
  130. package/schematics/ng-update/interfaces/html-comment.d.ts +1 -1
  131. package/schematics/ng-update/interfaces/removable-input.d.ts +1 -1
  132. package/schematics/ng-update/interfaces/replacement-attribute-to-directive.d.ts +1 -1
  133. package/schematics/ng-update/interfaces/replacement-attribute-value.d.ts +1 -1
  134. package/schematics/ng-update/interfaces/replacement-attribute.d.ts +1 -1
  135. package/schematics/ng-update/interfaces/replacement-tag.d.ts +1 -1
  136. package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.js +1 -1
  137. package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.js.map +1 -1
  138. package/schematics/ng-update/v4/steps/constants/migration-warnings.js +1 -1
  139. package/schematics/ng-update/v4/steps/constants/migration-warnings.js.map +1 -1
  140. package/schematics/ng-update/v4/steps/migrate-templates.d.ts +2 -2
  141. package/schematics/ng-update/v4/steps/restore-tui-mapper.js +1 -1
  142. package/schematics/ng-update/v4/steps/restore-tui-mapper.js.map +1 -1
  143. package/schematics/ng-update/v4/steps/restore-tui-matcher.js +1 -1
  144. package/schematics/ng-update/v4/steps/restore-tui-matcher.js.map +1 -1
  145. package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js +1 -1
  146. package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js.map +1 -1
  147. package/schematics/ng-update/v5/index.js +5 -0
  148. package/schematics/ng-update/v5/index.js.map +1 -1
  149. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.d.ts +2 -0
  150. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.js +22 -0
  151. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.js.map +1 -0
  152. package/schematics/ng-update/v5/steps/constants/functions.js +46 -0
  153. package/schematics/ng-update/v5/steps/constants/functions.js.map +1 -1
  154. package/schematics/ng-update/v5/steps/constants/html-comments.d.ts +2 -0
  155. package/schematics/ng-update/v5/steps/constants/html-comments.js +11 -0
  156. package/schematics/ng-update/v5/steps/constants/html-comments.js.map +1 -0
  157. package/schematics/ng-update/v5/steps/constants/identifiers-to-replace.d.ts +2 -0
  158. package/schematics/ng-update/v5/steps/constants/identifiers-to-replace.js +22 -0
  159. package/schematics/ng-update/v5/steps/constants/identifiers-to-replace.js.map +1 -0
  160. package/schematics/ng-update/v5/steps/migrate-templates.d.ts +17 -0
  161. package/schematics/ng-update/v5/steps/migrate-templates.js +46 -0
  162. package/schematics/ng-update/v5/steps/migrate-templates.js.map +1 -0
  163. package/schematics/ng-update/v5/steps/templates/migrate-avatar.d.ts +8 -0
  164. package/schematics/ng-update/v5/steps/templates/migrate-avatar.js +111 -0
  165. package/schematics/ng-update/v5/steps/templates/migrate-avatar.js.map +1 -0
  166. package/schematics/ng-update/v5/steps/templates/migrate-input-year.d.ts +8 -0
  167. package/schematics/ng-update/v5/steps/templates/migrate-input-year.js +52 -0
  168. package/schematics/ng-update/v5/steps/templates/migrate-input-year.js.map +1 -0
  169. package/schematics/utils/angular-json-manipulations.js +0 -2
  170. package/schematics/utils/angular-json-manipulations.js.map +1 -1
  171. package/schematics/utils/run-migration.d.ts +14 -0
  172. package/schematics/utils/run-migration.js +27 -0
  173. package/schematics/utils/run-migration.js.map +1 -0
  174. package/schematics/utils/templates/elements.js +4 -12
  175. package/schematics/utils/templates/elements.js.map +1 -1
  176. package/schematics/utils/templates/ng-component-input-manipulations.d.ts +3 -3
  177. package/schematics/utils/templates/ng-component-input-manipulations.js +1 -3
  178. package/schematics/utils/templates/ng-component-input-manipulations.js.map +1 -1
  179. package/tokens/environment.d.ts +0 -13
  180. package/tokens/index.d.ts +0 -2
  181. package/tokens/removed-element.d.ts +0 -3
  182. package/types/index.d.ts +0 -2
  183. package/utils/browser/index.d.ts +0 -2
  184. package/utils/di/index.d.ts +3 -0
  185. package/utils/dom/get-element-obscurers.d.ts +1 -1
  186. package/utils/dom/index.d.ts +0 -6
  187. package/utils/focus/get-closest-focusable.d.ts +1 -6
  188. package/utils/focus/index.d.ts +4 -6
  189. package/utils/focus/{is-native-keyboard-focusable.d.ts → is-focusable.d.ts} +1 -1
  190. package/utils/index.d.ts +0 -1
  191. package/utils/math/index.d.ts +0 -2
  192. package/utils/miscellaneous/generate-id.d.ts +1 -0
  193. package/utils/miscellaneous/index.d.ts +1 -11
  194. package/classes/portals.d.ts +0 -33
  195. package/constants/allow-signal-writes.d.ts +0 -2
  196. package/directives/click-outside/click-outside.directive.d.ts +0 -14
  197. package/directives/click-outside/index.d.ts +0 -1
  198. package/directives/droppable/droppable.directive.d.ts +0 -8
  199. package/directives/droppable/index.d.ts +0 -1
  200. package/directives/let/index.d.ts +0 -2
  201. package/directives/let/let-context.d.ts +0 -11
  202. package/directives/let/let.directive.d.ts +0 -18
  203. package/directives/popover/index.d.ts +0 -1
  204. package/directives/popover/popover.directive.d.ts +0 -14
  205. package/directives/repeat-times/index.d.ts +0 -1
  206. package/directives/repeat-times/repeat-times.directive.d.ts +0 -22
  207. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs +0 -39
  208. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs.map +0 -1
  209. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs +0 -37
  210. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs.map +0 -1
  211. package/fesm2022/taiga-ui-cdk-directives-let.mjs +0 -53
  212. package/fesm2022/taiga-ui-cdk-directives-let.mjs.map +0 -1
  213. package/fesm2022/taiga-ui-cdk-directives-popover.mjs +0 -32
  214. package/fesm2022/taiga-ui-cdk-directives-popover.mjs.map +0 -1
  215. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs +0 -61
  216. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs.map +0 -1
  217. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs +0 -33
  218. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs.map +0 -1
  219. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs +0 -25
  220. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs.map +0 -1
  221. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs +0 -24
  222. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs.map +0 -1
  223. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs +0 -25
  224. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs.map +0 -1
  225. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs +0 -26
  226. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs.map +0 -1
  227. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs +0 -24
  228. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs.map +0 -1
  229. package/fesm2022/taiga-ui-cdk-services.mjs +0 -151
  230. package/fesm2022/taiga-ui-cdk-services.mjs.map +0 -1
  231. package/fesm2022/taiga-ui-cdk-utils-color.mjs +0 -195
  232. package/fesm2022/taiga-ui-cdk-utils-color.mjs.map +0 -1
  233. package/observables/must-be-present.d.ts +0 -5
  234. package/observables/query-list-observable.d.ts +0 -6
  235. package/pipes/animation/animation.pipe.d.ts +0 -13
  236. package/pipes/animation/index.d.ts +0 -1
  237. package/pipes/is-present/index.d.ts +0 -1
  238. package/pipes/is-present/is-present.pipe.d.ts +0 -7
  239. package/pipes/keys/index.d.ts +0 -1
  240. package/pipes/keys/keys.pipe.d.ts +0 -7
  241. package/pipes/repeat-times/index.d.ts +0 -7
  242. package/pipes/replace/index.d.ts +0 -1
  243. package/pipes/replace/replace.pipe.d.ts +0 -7
  244. package/pipes/to-array/index.d.ts +0 -1
  245. package/pipes/to-array/to-array.pipe.d.ts +0 -7
  246. package/services/id.service.d.ts +0 -8
  247. package/services/index.d.ts +0 -4
  248. package/services/popover.service.d.ts +0 -25
  249. package/services/scroll.service.d.ts +0 -13
  250. package/services/theme-color.service.d.ts +0 -18
  251. package/tokens/base-href.d.ts +0 -2
  252. package/tokens/range.d.ts +0 -5
  253. package/types/safe-html.d.ts +0 -2
  254. package/types/values-of.d.ts +0 -1
  255. package/utils/browser/is-apple.d.ts +0 -11
  256. package/utils/browser/is-ios.d.ts +0 -6
  257. package/utils/color/get-gradient-data.d.ts +0 -1
  258. package/utils/color/hex-to-rgb.d.ts +0 -1
  259. package/utils/color/hex-to-rgba.d.ts +0 -3
  260. package/utils/color/hsv-to-rgb.d.ts +0 -4
  261. package/utils/color/index.d.ts +0 -9
  262. package/utils/color/parse-color.d.ts +0 -1
  263. package/utils/color/parse-gradient.d.ts +0 -10
  264. package/utils/color/rgb-to-hex.d.ts +0 -1
  265. package/utils/color/rgb-to-hsv.d.ts +0 -1
  266. package/utils/color/rgba-to-hex.d.ts +0 -2
  267. package/utils/dom/get-element-point.d.ts +0 -2
  268. package/utils/dom/is-current-target.d.ts +0 -1
  269. package/utils/dom/is-inside-iframe.d.ts +0 -4
  270. package/utils/dom/is-node-in.d.ts +0 -8
  271. package/utils/dom/retarget-boundary-crossing.d.ts +0 -1
  272. package/utils/dom/value-binding.d.ts +0 -3
  273. package/utils/focus/blur-native-focused.d.ts +0 -4
  274. package/utils/focus/is-native-mouse-focusable.d.ts +0 -1
  275. package/utils/math/to-integer.d.ts +0 -1
  276. package/utils/math/to-radians.d.ts +0 -4
  277. package/utils/miscellaneous/change-date-separator.d.ts +0 -1
  278. package/utils/miscellaneous/create-token.d.ts +0 -9
  279. package/utils/miscellaneous/directive-listener.d.ts +0 -9
  280. package/utils/miscellaneous/flat-length.d.ts +0 -6
  281. package/utils/miscellaneous/get-original-array-from-query-list.d.ts +0 -8
  282. package/utils/miscellaneous/is-falsy.d.ts +0 -1
  283. package/utils/miscellaneous/is-valid-url.d.ts +0 -4
  284. package/utils/miscellaneous/uniq-by.d.ts +0 -1
  285. /package/utils/{miscellaneous → di}/directive-binding.d.ts +0 -0
  286. /package/utils/{miscellaneous → di}/provide-options.d.ts +0 -0
  287. /package/utils/{miscellaneous → di}/provide.d.ts +0 -0
  288. /package/utils/focus/{get-native-focused.d.ts → get-focused.d.ts} +0 -0
  289. /package/utils/focus/{is-native-focused-in.d.ts → is-focused-in.d.ts} +0 -0
  290. /package/utils/focus/{is-native-focused.d.ts → is-focused.d.ts} +0 -0
@@ -1 +0,0 @@
1
- export * from './replace.pipe';
@@ -1,7 +0,0 @@
1
- import { type PipeTransform } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiReplacePipe implements PipeTransform {
4
- transform(value: string | null | undefined, search: RegExp | string, replaceValue: string | ((substring: string, ...args: unknown[]) => string)): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiReplacePipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiReplacePipe, "tuiReplace", true>;
7
- }
@@ -1 +0,0 @@
1
- export * from './to-array.pipe';
@@ -1,7 +0,0 @@
1
- import { type PipeTransform, type QueryList } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiToArrayPipe implements PipeTransform {
4
- transform<T>(items: Map<any, any> | QueryList<T> | Set<any>): readonly T[];
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiToArrayPipe, never>;
6
- static ɵpipe: i0.ɵɵPipeDeclaration<TuiToArrayPipe, "tuiToArray", true>;
7
- }
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiIdService {
3
- private static autoId;
4
- generate(): string;
5
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiIdService, never>;
6
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiIdService>;
7
- }
8
- export declare function tuiInjectId(): string;
@@ -1,4 +0,0 @@
1
- export * from './id.service';
2
- export * from './popover.service';
3
- export * from './scroll.service';
4
- export * from './theme-color.service';
@@ -1,25 +0,0 @@
1
- import { type Provider, type ProviderToken, type Type } from '@angular/core';
2
- import { type TuiContext } from '@taiga-ui/cdk/types';
3
- import { PolymorpheusComponent, type PolymorpheusContent } from '@taiga-ui/polymorpheus';
4
- import { type BehaviorSubject, Observable, type Observer } from 'rxjs';
5
- import * as i0 from "@angular/core";
6
- export interface TuiPopoverContext<O> extends TuiContext<Observer<O>> {
7
- readonly component: PolymorpheusComponent<any>;
8
- readonly createdAt: number;
9
- readonly id: string;
10
- readonly completeWith: (value: O) => void;
11
- }
12
- export type TuiPopover<T, O> = T & TuiPopoverContext<O> & {
13
- content: PolymorpheusContent<T & TuiPopoverContext<O>>;
14
- };
15
- export declare abstract class TuiPopoverService<T, K = void> {
16
- protected readonly options: T;
17
- private readonly component;
18
- private readonly id;
19
- protected readonly items$: BehaviorSubject<ReadonlyArray<TuiPopover<T, any>>>;
20
- constructor(items: ProviderToken<BehaviorSubject<ReadonlyArray<TuiPopover<T, any>>>>, component: Type<any>, options?: T);
21
- open<G = void>(content: PolymorpheusContent<T & TuiPopoverContext<K extends void ? G : K>>, options?: Partial<T>): Observable<K extends void ? G : K>;
22
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPopoverService<any, any>, never>;
23
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiPopoverService<any, any>>;
24
- }
25
- export declare function tuiAsPopover(popover: Type<TuiPopoverService<any>>): Provider;
@@ -1,13 +0,0 @@
1
- import { type Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated: use native scroll
5
- */
6
- export declare class TuiScrollService {
7
- private readonly performanceRef;
8
- private readonly animationFrame$;
9
- private readonly zone;
10
- scroll$(elementOrWindow: Element | Window, scrollTop: number, scrollLeft?: number, duration?: number): Observable<[number, number]>;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiScrollService, never>;
12
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiScrollService>;
13
- }
@@ -1,18 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export declare const TUI_THEME_COLOR: InjectionToken<string>;
4
- interface TuiThemeColor {
5
- get color(): string;
6
- set color(value: string);
7
- }
8
- export declare class TuiThemeColorService implements TuiThemeColor {
9
- private current;
10
- private readonly doc;
11
- private readonly meta;
12
- constructor();
13
- get color(): string;
14
- set color(content: string);
15
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiThemeColorService, never>;
16
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiThemeColorService>;
17
- }
18
- export {};
@@ -1,2 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export declare const TUI_BASE_HREF: InjectionToken<string>;
package/tokens/range.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- /**
3
- * SSR safe default empty Range
4
- */
5
- export declare const TUI_RANGE: InjectionToken<Range>;
@@ -1,2 +0,0 @@
1
- import { type SafeHtml } from '@angular/platform-browser';
2
- export type TuiSafeHtml = SafeHtml | string;
@@ -1 +0,0 @@
1
- export type TuiValuesOf<T> = T[keyof T];
@@ -1,11 +0,0 @@
1
- /**
2
- * @description:
3
- * All Chrome / Chromium-based browsers will return MacIntel on macOS,
4
- * no matter what the hardware architecture is. See the source code here:
5
- * https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/frame/navigator_id.cc;l=64;drc=703d3c472cf27470dad21a3f2c8972aca3732cd6
6
- * But maybe in future years, it will be changed to MacM1
7
- *
8
- * Documentation:
9
- * https://developer.mozilla.org/en-US/docs/Web/API/Navigator/platform
10
- */
11
- export declare function tuiIsApple(navigator: Navigator): boolean;
@@ -1,6 +0,0 @@
1
- import { isIos } from '@ng-web-apis/platform';
2
- /**
3
- * @deprecated: drop in v5, use import {isApple} from '@ng-web-apis/platform';
4
- * @param navigator
5
- */
6
- export declare const tuiIsIos: typeof isIos;
@@ -1 +0,0 @@
1
- export declare function tuiGetGradientData(gradient: string): string;
@@ -1 +0,0 @@
1
- export declare function tuiHexToRgb(hex: string): [number, number, number];
@@ -1,3 +0,0 @@
1
- export declare function tuiHexToRGBA(hex: string, alpha?: number): string;
2
- export declare function tuiIsValidHex(hex: string): boolean;
3
- export declare function tuiParseHex(hex: string, alpha?: number): [number, number, number, number];
@@ -1,4 +0,0 @@
1
- /**
2
- * https://stackoverflow.com/a/54024653/2706426
3
- */
4
- export declare function tuiHsvToRgb(h: number, s: number, v: number): [number, number, number];
@@ -1,9 +0,0 @@
1
- export * from './get-gradient-data';
2
- export * from './hex-to-rgb';
3
- export * from './hex-to-rgba';
4
- export * from './hsv-to-rgb';
5
- export * from './parse-color';
6
- export * from './parse-gradient';
7
- export * from './rgb-to-hex';
8
- export * from './rgb-to-hsv';
9
- export * from './rgba-to-hex';
@@ -1 +0,0 @@
1
- export declare function tuiParseColor(color: string): [number, number, number, number];
@@ -1,10 +0,0 @@
1
- export interface TuiParsedGradient {
2
- readonly side: TuiGradientDirection;
3
- readonly stops: ReadonlyArray<{
4
- readonly color: string;
5
- readonly position: string;
6
- }>;
7
- }
8
- export type TuiGradientDirection = 'to bottom left' | 'to bottom right' | 'to bottom' | 'to left' | 'to right' | 'to top left' | 'to top right' | 'to top';
9
- export declare function tuiParseGradient(input: string): TuiParsedGradient;
10
- export declare function tuiToGradient({ stops, side }: TuiParsedGradient): string;
@@ -1 +0,0 @@
1
- export declare function tuiRgbToHex(r: number, g: number, b: number): string;
@@ -1 +0,0 @@
1
- export declare function tuiRgbToHsv(r: number, g: number, b: number): [number, number, number];
@@ -1,2 +0,0 @@
1
- export declare function tuiRgbaToHex(color: string): string;
2
- export declare function tuiIsValidRgba(rgba: string): boolean;
@@ -1,2 +0,0 @@
1
- import { type TuiPoint } from '@taiga-ui/core/types';
2
- export declare function tuiGetElementPoint(x: number, y: number, element: HTMLElement): TuiPoint;
@@ -1 +0,0 @@
1
- export declare function tuiIsCurrentTarget({ target, currentTarget }: Event): boolean;
@@ -1,4 +0,0 @@
1
- /**
2
- * Checks if an app is running inside <iframe /> tag
3
- */
4
- export declare function tuiIsInsideIframe(win: Window): boolean;
@@ -1,8 +0,0 @@
1
- /**
2
- * Checks if node is inside a specific selector
3
- *
4
- * @param node
5
- * @param selector
6
- * @return true if node is inside a particular selector
7
- */
8
- export declare function tuiIsNodeIn(node: Node, selector: string): boolean;
@@ -1 +0,0 @@
1
- export declare function tuiRetargetedBoundaryCrossing(event: Event): boolean;
@@ -1,3 +0,0 @@
1
- import { type Signal, type WritableSignal } from '@angular/core';
2
- export declare function tuiValueBinding(value?: WritableSignal<string>): WritableSignal<string>;
3
- export declare function tuiValueBinding(value?: Signal<string>): Signal<string>;
@@ -1,4 +0,0 @@
1
- /**
2
- * Finds and blurs current active element, including shadow DOM
3
- */
4
- export declare function tuiBlurNativeFocused(doc: Document): void;
@@ -1 +0,0 @@
1
- export declare function tuiIsNativeMouseFocusable(element: Element): boolean;
@@ -1 +0,0 @@
1
- export declare function tuiToInteger(value: number | string): number;
@@ -1,4 +0,0 @@
1
- /**
2
- * Converts angle in degrees to radians
3
- */
4
- export declare function tuiToRadians(deg: number): number;
@@ -1 +0,0 @@
1
- export declare const changeDateSeparator: (dateString: string, newDateSeparator: string) => string;
@@ -1,9 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- /**
3
- * @deprecated: drop in v5.0
4
- */
5
- export declare function tuiCreateToken<T>(defaults?: T): InjectionToken<T>;
6
- /**
7
- * @deprecated: drop in v5.0
8
- */
9
- export declare function tuiCreateTokenFromFactory<T>(factory?: () => T): InjectionToken<T>;
@@ -1,9 +0,0 @@
1
- import { type InjectOptions, type ProviderToken, type Signal } from '@angular/core';
2
- import { type Observable } from 'rxjs';
3
- type OutputKeysOf<T> = {
4
- [K in keyof T]: T[K] extends Observable<any> | Signal<any> ? K : never;
5
- }[keyof T];
6
- type OutputTypeOf<T> = T extends Signal<infer R> ? R : T extends Observable<infer O> ? O : never;
7
- /** @deprecated remove in v5 */
8
- export declare function tuiDirectiveListener<T, K extends OutputKeysOf<T>>(token: ProviderToken<T>, key: K, options?: InjectOptions): Signal<OutputTypeOf<T[K]>>;
9
- export {};
@@ -1,6 +0,0 @@
1
- /**
2
- * Flattens two-dimensional array and calculates resulting length
3
- *
4
- * @param array twi dimensional array
5
- */
6
- export declare function tuiFlatLength(array: ReadonlyArray<readonly unknown[]>): number;
@@ -1,8 +0,0 @@
1
- import { type QueryList } from '@angular/core';
2
- /**
3
- * Extracts original array from {@link QueryList} rather than
4
- * creating a copy like {@link QueryList.toArray} does.
5
- * @param queryList
6
- * @returns original array from {@link QueryList}.
7
- */
8
- export declare function tuiGetOriginalArrayFromQueryList<T>(queryList: QueryList<T>): readonly T[];
@@ -1 +0,0 @@
1
- export declare function tuiIsFalsy(value: unknown): boolean;
@@ -1,4 +0,0 @@
1
- /**
2
- * @deprecated: drop in v5.0
3
- */
4
- export declare function tuiIsValidUrl(url: string): boolean;
@@ -1 +0,0 @@
1
- export declare function tuiUniqBy<T extends Record<string, any>>(array: readonly T[], key: keyof T): readonly T[];
File without changes