@taiga-ui/cdk 4.52.0-canary.24b31eb → 4.52.0-canary.2d877cf

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 (292) 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 +3 -3
  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 +0 -2
  14. package/directives/animated/animated.directive.d.ts +1 -3
  15. package/directives/animated/index.d.ts +0 -1
  16. package/directives/auto-focus/autofocus.directive.d.ts +2 -3
  17. package/directives/auto-focus/autofocus.options.d.ts +1 -1
  18. package/directives/copy-processor/copy-processor.directive.d.ts +2 -2
  19. package/directives/hovered/hovered.directive.d.ts +1 -2
  20. package/directives/index.d.ts +0 -5
  21. package/directives/media/media.directive.d.ts +8 -12
  22. package/directives/native-validator/native-validator.directive.d.ts +2 -2
  23. package/directives/obscured/obscured.directive.d.ts +4 -4
  24. package/directives/pan/pan.directive.d.ts +1 -2
  25. package/directives/platform/platform.directive.d.ts +2 -2
  26. package/directives/resizer/resizer.directive.d.ts +3 -4
  27. package/directives/swipe/swipe.directive.d.ts +1 -2
  28. package/directives/transitioned/transitioned.directive.d.ts +1 -0
  29. package/directives/value-changes/value-changes.directive.d.ts +2 -2
  30. package/fesm2022/taiga-ui-cdk-classes.mjs +8 -91
  31. package/fesm2022/taiga-ui-cdk-classes.mjs.map +1 -1
  32. package/fesm2022/taiga-ui-cdk-constants.mjs +16 -9
  33. package/fesm2022/taiga-ui-cdk-constants.mjs.map +1 -1
  34. package/fesm2022/taiga-ui-cdk-date-time.mjs +34 -22
  35. package/fesm2022/taiga-ui-cdk-date-time.mjs.map +1 -1
  36. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs +11 -16
  37. package/fesm2022/taiga-ui-cdk-directives-active-zone.mjs.map +1 -1
  38. package/fesm2022/taiga-ui-cdk-directives-animated.mjs +23 -72
  39. package/fesm2022/taiga-ui-cdk-directives-animated.mjs.map +1 -1
  40. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs +10 -13
  41. package/fesm2022/taiga-ui-cdk-directives-auto-focus.mjs.map +1 -1
  42. package/fesm2022/taiga-ui-cdk-directives-control.mjs +3 -4
  43. package/fesm2022/taiga-ui-cdk-directives-control.mjs.map +1 -1
  44. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs +7 -10
  45. package/fesm2022/taiga-ui-cdk-directives-copy-processor.mjs.map +1 -1
  46. package/fesm2022/taiga-ui-cdk-directives-element.mjs +3 -4
  47. package/fesm2022/taiga-ui-cdk-directives-element.mjs.map +1 -1
  48. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs +5 -8
  49. package/fesm2022/taiga-ui-cdk-directives-focus-trap.mjs.map +1 -1
  50. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs +4 -7
  51. package/fesm2022/taiga-ui-cdk-directives-font-size.mjs.map +1 -1
  52. package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs +3 -4
  53. package/fesm2022/taiga-ui-cdk-directives-high-dpi.mjs.map +1 -1
  54. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs +10 -13
  55. package/fesm2022/taiga-ui-cdk-directives-hovered.mjs.map +1 -1
  56. package/fesm2022/taiga-ui-cdk-directives-item.mjs +3 -4
  57. package/fesm2022/taiga-ui-cdk-directives-item.mjs.map +1 -1
  58. package/fesm2022/taiga-ui-cdk-directives-media.mjs +32 -57
  59. package/fesm2022/taiga-ui-cdk-directives-media.mjs.map +1 -1
  60. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs +7 -10
  61. package/fesm2022/taiga-ui-cdk-directives-native-validator.mjs.map +1 -1
  62. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs +14 -26
  63. package/fesm2022/taiga-ui-cdk-directives-obscured.mjs.map +1 -1
  64. package/fesm2022/taiga-ui-cdk-directives-pan.mjs +10 -12
  65. package/fesm2022/taiga-ui-cdk-directives-pan.mjs.map +1 -1
  66. package/fesm2022/taiga-ui-cdk-directives-platform.mjs +9 -12
  67. package/fesm2022/taiga-ui-cdk-directives-platform.mjs.map +1 -1
  68. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs +19 -23
  69. package/fesm2022/taiga-ui-cdk-directives-resizer.mjs.map +1 -1
  70. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs +10 -12
  71. package/fesm2022/taiga-ui-cdk-directives-swipe.mjs.map +1 -1
  72. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs +7 -14
  73. package/fesm2022/taiga-ui-cdk-directives-transitioned.mjs.map +1 -1
  74. package/fesm2022/taiga-ui-cdk-directives-validator.mjs +3 -4
  75. package/fesm2022/taiga-ui-cdk-directives-validator.mjs.map +1 -1
  76. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs +8 -9
  77. package/fesm2022/taiga-ui-cdk-directives-value-changes.mjs.map +1 -1
  78. package/fesm2022/taiga-ui-cdk-directives-visual-viewport.mjs +3 -4
  79. package/fesm2022/taiga-ui-cdk-directives-visual-viewport.mjs.map +1 -1
  80. package/fesm2022/taiga-ui-cdk-directives-with-styles.mjs +3 -3
  81. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs +6 -7
  82. package/fesm2022/taiga-ui-cdk-directives-zoom.mjs.map +1 -1
  83. package/fesm2022/taiga-ui-cdk-directives.mjs +0 -5
  84. package/fesm2022/taiga-ui-cdk-directives.mjs.map +1 -1
  85. package/fesm2022/taiga-ui-cdk-observables.mjs +10 -28
  86. package/fesm2022/taiga-ui-cdk-observables.mjs.map +1 -1
  87. package/fesm2022/taiga-ui-cdk-pipes-filter.mjs +3 -4
  88. package/fesm2022/taiga-ui-cdk-pipes-filter.mjs.map +1 -1
  89. package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs +3 -4
  90. package/fesm2022/taiga-ui-cdk-pipes-mapper.mjs.map +1 -1
  91. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs +5 -5
  92. package/fesm2022/taiga-ui-cdk-pipes-obfuscate.mjs.map +1 -1
  93. package/fesm2022/taiga-ui-cdk-pipes.mjs +0 -6
  94. package/fesm2022/taiga-ui-cdk-pipes.mjs.map +1 -1
  95. package/fesm2022/taiga-ui-cdk-portals.mjs +126 -0
  96. package/fesm2022/taiga-ui-cdk-portals.mjs.map +1 -0
  97. package/fesm2022/taiga-ui-cdk-tokens.mjs +13 -47
  98. package/fesm2022/taiga-ui-cdk-tokens.mjs.map +1 -1
  99. package/fesm2022/taiga-ui-cdk-utils-browser.mjs +3 -26
  100. package/fesm2022/taiga-ui-cdk-utils-browser.mjs.map +1 -1
  101. package/fesm2022/taiga-ui-cdk-utils-di.mjs +45 -4
  102. package/fesm2022/taiga-ui-cdk-utils-di.mjs.map +1 -1
  103. package/fesm2022/taiga-ui-cdk-utils-dom.mjs +3 -76
  104. package/fesm2022/taiga-ui-cdk-utils-dom.mjs.map +1 -1
  105. package/fesm2022/taiga-ui-cdk-utils-focus.mjs +22 -38
  106. package/fesm2022/taiga-ui-cdk-utils-focus.mjs.map +1 -1
  107. package/fesm2022/taiga-ui-cdk-utils-math.mjs +1 -12
  108. package/fesm2022/taiga-ui-cdk-utils-math.mjs.map +1 -1
  109. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs +45 -127
  110. package/fesm2022/taiga-ui-cdk-utils-miscellaneous.mjs.map +1 -1
  111. package/fesm2022/taiga-ui-cdk-utils.mjs +0 -1
  112. package/fesm2022/taiga-ui-cdk-utils.mjs.map +1 -1
  113. package/fesm2022/taiga-ui-cdk.mjs +1 -1
  114. package/index.d.ts +1 -1
  115. package/observables/index.d.ts +0 -2
  116. package/package.json +12 -58
  117. package/pipes/index.d.ts +0 -6
  118. package/pipes/obfuscate/obfuscate.options.d.ts +1 -1
  119. package/portals/directive.d.ts +11 -0
  120. package/portals/index.d.ts +4 -0
  121. package/portals/portal.d.ts +24 -0
  122. package/portals/portals.d.ts +12 -0
  123. package/portals/service.d.ts +15 -0
  124. package/schematics/collection.json +2 -1
  125. package/schematics/migrate-tui-let/index.js +4 -3
  126. package/schematics/migrate-tui-let/index.js.map +1 -1
  127. package/schematics/migrate-tui-let/schema.json +7 -0
  128. package/schematics/ng-add/constants/versions.d.ts +1 -1
  129. package/schematics/ng-add/steps/add-taiga-modules.js +0 -15
  130. package/schematics/ng-add/steps/add-taiga-modules.js.map +1 -1
  131. package/schematics/ng-update/interfaces/html-comment.d.ts +1 -1
  132. package/schematics/ng-update/interfaces/removable-input.d.ts +1 -1
  133. package/schematics/ng-update/interfaces/replacement-attribute-to-directive.d.ts +1 -1
  134. package/schematics/ng-update/interfaces/replacement-attribute-value.d.ts +1 -1
  135. package/schematics/ng-update/interfaces/replacement-attribute.d.ts +1 -1
  136. package/schematics/ng-update/interfaces/replacement-tag.d.ts +1 -1
  137. package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.js +1 -1
  138. package/schematics/ng-update/v4/migrate-css-vars/rename-css-vars.js.map +1 -1
  139. package/schematics/ng-update/v4/steps/constants/migration-warnings.js +1 -1
  140. package/schematics/ng-update/v4/steps/constants/migration-warnings.js.map +1 -1
  141. package/schematics/ng-update/v4/steps/migrate-templates.d.ts +2 -2
  142. package/schematics/ng-update/v4/steps/restore-tui-mapper.js +1 -1
  143. package/schematics/ng-update/v4/steps/restore-tui-mapper.js.map +1 -1
  144. package/schematics/ng-update/v4/steps/restore-tui-matcher.js +1 -1
  145. package/schematics/ng-update/v4/steps/restore-tui-matcher.js.map +1 -1
  146. package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js +1 -1
  147. package/schematics/ng-update/v4/steps/styles/migrate-space-mixins.js.map +1 -1
  148. package/schematics/ng-update/v5/index.js +5 -0
  149. package/schematics/ng-update/v5/index.js.map +1 -1
  150. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.d.ts +2 -0
  151. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.js +22 -0
  152. package/schematics/ng-update/v5/steps/constants/attrs-to-replace.js.map +1 -0
  153. package/schematics/ng-update/v5/steps/constants/functions.js +37 -6
  154. package/schematics/ng-update/v5/steps/constants/functions.js.map +1 -1
  155. package/schematics/ng-update/v5/steps/constants/html-comments.d.ts +2 -0
  156. package/schematics/ng-update/v5/steps/constants/html-comments.js +11 -0
  157. package/schematics/ng-update/v5/steps/constants/html-comments.js.map +1 -0
  158. package/schematics/ng-update/v5/steps/constants/identifiers-to-replace.d.ts +2 -0
  159. package/schematics/ng-update/v5/steps/constants/identifiers-to-replace.js +22 -0
  160. package/schematics/ng-update/v5/steps/constants/identifiers-to-replace.js.map +1 -0
  161. package/schematics/ng-update/v5/steps/migrate-templates.d.ts +17 -0
  162. package/schematics/ng-update/v5/steps/migrate-templates.js +46 -0
  163. package/schematics/ng-update/v5/steps/migrate-templates.js.map +1 -0
  164. package/schematics/ng-update/v5/steps/templates/migrate-avatar.d.ts +8 -0
  165. package/schematics/ng-update/v5/steps/templates/migrate-avatar.js +111 -0
  166. package/schematics/ng-update/v5/steps/templates/migrate-avatar.js.map +1 -0
  167. package/schematics/ng-update/v5/steps/templates/migrate-input-year.d.ts +8 -0
  168. package/schematics/ng-update/v5/steps/templates/migrate-input-year.js +52 -0
  169. package/schematics/ng-update/v5/steps/templates/migrate-input-year.js.map +1 -0
  170. package/schematics/utils/angular-json-manipulations.js +0 -2
  171. package/schematics/utils/angular-json-manipulations.js.map +1 -1
  172. package/schematics/utils/run-migration.d.ts +14 -0
  173. package/schematics/utils/run-migration.js +27 -0
  174. package/schematics/utils/run-migration.js.map +1 -0
  175. package/schematics/utils/templates/elements.js +4 -12
  176. package/schematics/utils/templates/elements.js.map +1 -1
  177. package/schematics/utils/templates/ng-component-input-manipulations.d.ts +3 -3
  178. package/schematics/utils/templates/ng-component-input-manipulations.js +1 -3
  179. package/schematics/utils/templates/ng-component-input-manipulations.js.map +1 -1
  180. package/tokens/environment.d.ts +0 -13
  181. package/tokens/index.d.ts +0 -2
  182. package/tokens/removed-element.d.ts +0 -3
  183. package/types/index.d.ts +0 -2
  184. package/utils/browser/index.d.ts +0 -2
  185. package/utils/di/index.d.ts +3 -0
  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 +2 -11
  194. package/utils/miscellaneous/sanitize-text.d.ts +23 -0
  195. package/classes/portals.d.ts +0 -33
  196. package/constants/allow-signal-writes.d.ts +0 -2
  197. package/directives/animated/animated-parent.directive.d.ts +0 -10
  198. package/directives/click-outside/click-outside.directive.d.ts +0 -14
  199. package/directives/click-outside/index.d.ts +0 -1
  200. package/directives/droppable/droppable.directive.d.ts +0 -8
  201. package/directives/droppable/index.d.ts +0 -1
  202. package/directives/let/index.d.ts +0 -2
  203. package/directives/let/let-context.d.ts +0 -11
  204. package/directives/let/let.directive.d.ts +0 -18
  205. package/directives/popover/index.d.ts +0 -1
  206. package/directives/popover/popover.directive.d.ts +0 -14
  207. package/directives/repeat-times/index.d.ts +0 -1
  208. package/directives/repeat-times/repeat-times.directive.d.ts +0 -22
  209. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs +0 -39
  210. package/fesm2022/taiga-ui-cdk-directives-click-outside.mjs.map +0 -1
  211. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs +0 -37
  212. package/fesm2022/taiga-ui-cdk-directives-droppable.mjs.map +0 -1
  213. package/fesm2022/taiga-ui-cdk-directives-let.mjs +0 -53
  214. package/fesm2022/taiga-ui-cdk-directives-let.mjs.map +0 -1
  215. package/fesm2022/taiga-ui-cdk-directives-popover.mjs +0 -32
  216. package/fesm2022/taiga-ui-cdk-directives-popover.mjs.map +0 -1
  217. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs +0 -61
  218. package/fesm2022/taiga-ui-cdk-directives-repeat-times.mjs.map +0 -1
  219. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs +0 -33
  220. package/fesm2022/taiga-ui-cdk-pipes-animation.mjs.map +0 -1
  221. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs +0 -25
  222. package/fesm2022/taiga-ui-cdk-pipes-is-present.mjs.map +0 -1
  223. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs +0 -24
  224. package/fesm2022/taiga-ui-cdk-pipes-keys.mjs.map +0 -1
  225. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs +0 -25
  226. package/fesm2022/taiga-ui-cdk-pipes-repeat-times.mjs.map +0 -1
  227. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs +0 -26
  228. package/fesm2022/taiga-ui-cdk-pipes-replace.mjs.map +0 -1
  229. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs +0 -24
  230. package/fesm2022/taiga-ui-cdk-pipes-to-array.mjs.map +0 -1
  231. package/fesm2022/taiga-ui-cdk-services.mjs +0 -151
  232. package/fesm2022/taiga-ui-cdk-services.mjs.map +0 -1
  233. package/fesm2022/taiga-ui-cdk-utils-color.mjs +0 -195
  234. package/fesm2022/taiga-ui-cdk-utils-color.mjs.map +0 -1
  235. package/observables/must-be-present.d.ts +0 -5
  236. package/observables/query-list-observable.d.ts +0 -6
  237. package/pipes/animation/animation.pipe.d.ts +0 -13
  238. package/pipes/animation/index.d.ts +0 -1
  239. package/pipes/is-present/index.d.ts +0 -1
  240. package/pipes/is-present/is-present.pipe.d.ts +0 -7
  241. package/pipes/keys/index.d.ts +0 -1
  242. package/pipes/keys/keys.pipe.d.ts +0 -7
  243. package/pipes/repeat-times/index.d.ts +0 -7
  244. package/pipes/replace/index.d.ts +0 -1
  245. package/pipes/replace/replace.pipe.d.ts +0 -7
  246. package/pipes/to-array/index.d.ts +0 -1
  247. package/pipes/to-array/to-array.pipe.d.ts +0 -7
  248. package/services/id.service.d.ts +0 -8
  249. package/services/index.d.ts +0 -4
  250. package/services/popover.service.d.ts +0 -25
  251. package/services/scroll.service.d.ts +0 -13
  252. package/services/theme-color.service.d.ts +0 -18
  253. package/tokens/base-href.d.ts +0 -2
  254. package/tokens/range.d.ts +0 -5
  255. package/types/safe-html.d.ts +0 -2
  256. package/types/values-of.d.ts +0 -1
  257. package/utils/browser/is-apple.d.ts +0 -11
  258. package/utils/browser/is-ios.d.ts +0 -6
  259. package/utils/color/get-gradient-data.d.ts +0 -1
  260. package/utils/color/hex-to-rgb.d.ts +0 -1
  261. package/utils/color/hex-to-rgba.d.ts +0 -3
  262. package/utils/color/hsv-to-rgb.d.ts +0 -4
  263. package/utils/color/index.d.ts +0 -9
  264. package/utils/color/parse-color.d.ts +0 -1
  265. package/utils/color/parse-gradient.d.ts +0 -10
  266. package/utils/color/rgb-to-hex.d.ts +0 -1
  267. package/utils/color/rgb-to-hsv.d.ts +0 -1
  268. package/utils/color/rgba-to-hex.d.ts +0 -2
  269. package/utils/dom/get-element-point.d.ts +0 -2
  270. package/utils/dom/is-current-target.d.ts +0 -1
  271. package/utils/dom/is-inside-iframe.d.ts +0 -4
  272. package/utils/dom/is-node-in.d.ts +0 -8
  273. package/utils/dom/retarget-boundary-crossing.d.ts +0 -1
  274. package/utils/dom/value-binding.d.ts +0 -3
  275. package/utils/focus/blur-native-focused.d.ts +0 -4
  276. package/utils/focus/is-native-mouse-focusable.d.ts +0 -1
  277. package/utils/math/to-integer.d.ts +0 -1
  278. package/utils/math/to-radians.d.ts +0 -4
  279. package/utils/miscellaneous/change-date-separator.d.ts +0 -1
  280. package/utils/miscellaneous/create-token.d.ts +0 -9
  281. package/utils/miscellaneous/directive-listener.d.ts +0 -9
  282. package/utils/miscellaneous/flat-length.d.ts +0 -6
  283. package/utils/miscellaneous/get-original-array-from-query-list.d.ts +0 -8
  284. package/utils/miscellaneous/is-falsy.d.ts +0 -1
  285. package/utils/miscellaneous/is-valid-url.d.ts +0 -4
  286. package/utils/miscellaneous/uniq-by.d.ts +0 -1
  287. /package/utils/{miscellaneous → di}/directive-binding.d.ts +0 -0
  288. /package/utils/{miscellaneous → di}/provide-options.d.ts +0 -0
  289. /package/utils/{miscellaneous → di}/provide.d.ts +0 -0
  290. /package/utils/focus/{get-native-focused.d.ts → get-focused.d.ts} +0 -0
  291. /package/utils/focus/{is-native-focused-in.d.ts → is-focused-in.d.ts} +0 -0
  292. /package/utils/focus/{is-native-focused.d.ts → is-focused.d.ts} +0 -0
@@ -1,33 +0,0 @@
1
- import { type ComponentRef, type EmbeddedViewRef, type Provider, type TemplateRef, type ViewRef } from '@angular/core';
2
- import { type PolymorpheusComponent } from '@taiga-ui/polymorpheus';
3
- import * as i0 from "@angular/core";
4
- /**
5
- * Abstract class for host element for dynamically created portals.
6
- */
7
- export declare abstract class TuiPortals {
8
- private readonly vcr;
9
- private readonly injector;
10
- protected readonly nothing: void;
11
- addComponentChild<C>(component: PolymorpheusComponent<C>): ComponentRef<C>;
12
- addTemplateChild<C>(templateRef: TemplateRef<C>, context?: C): EmbeddedViewRef<C>;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPortals, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPortals, never, never, {}, {}, never, never, true, never>;
15
- }
16
- /**
17
- * Abstract service for displaying portals
18
- */
19
- export declare abstract class TuiPortalService {
20
- protected host?: TuiPortals;
21
- attach(host: TuiPortals): void;
22
- add<C>(component: PolymorpheusComponent<C>): ComponentRef<C>;
23
- remove<C>({ hostView }: ComponentRef<C>): void;
24
- addTemplate<C>(templateRef: TemplateRef<C>, context?: C): EmbeddedViewRef<C>;
25
- removeTemplate<C>(viewRef: EmbeddedViewRef<C> | ViewRef): void;
26
- protected get safeHost(): TuiPortals;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPortalService, never>;
28
- static ɵprov: i0.ɵɵInjectableDeclaration<TuiPortalService>;
29
- }
30
- export declare function tuiAsPortal(portal: typeof TuiPortalService): Provider;
31
- export declare class TuiNoHostException extends Error {
32
- constructor();
33
- }
@@ -1,2 +0,0 @@
1
- import { type CreateEffectOptions } from '@angular/core';
2
- export declare const TUI_ALLOW_SIGNAL_WRITES: CreateEffectOptions;
@@ -1,10 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./animated.directive";
3
- import * as i2 from "@ng-web-apis/mutation-observer";
4
- export declare class TuiAnimatedParent {
5
- private readonly el;
6
- private readonly renderer;
7
- protected handle(): void;
8
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiAnimatedParent, never>;
9
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiAnimatedParent, "[tuiAnimatedParent]", never, {}, {}, never, never, true, [{ directive: typeof i1.TuiAnimated; inputs: {}; outputs: {}; }, { directive: typeof i2.WaMutationObserver; inputs: {}; outputs: { "waMutationObserver": "waMutationObserver"; }; }]>;
10
- }
@@ -1,14 +0,0 @@
1
- import { type Observable } from 'rxjs';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated use {@link TuiActiveZone} instead
5
- */
6
- export declare class TuiClickOutside {
7
- private readonly zone;
8
- private readonly doc;
9
- private readonly el;
10
- readonly tuiClickOutside: Observable<unknown>;
11
- private isOutside;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiClickOutside, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiClickOutside, "[tuiClickOutside]", never, {}, { "tuiClickOutside": "tuiClickOutside"; }, never, never, true, never>;
14
- }
@@ -1 +0,0 @@
1
- export * from './click-outside.directive';
@@ -1,8 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- export declare class TuiDroppable {
3
- private readonly el;
4
- readonly tuiDroppableDropped: import("rxjs").Observable<DataTransfer>;
5
- readonly tuiDroppableDragOverChange: import("rxjs").Observable<DataTransfer | null>;
6
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiDroppable, never>;
7
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiDroppable, "[tuiDroppableDropped], [tuiDroppableDragOverChange]", never, {}, { "tuiDroppableDropped": "tuiDroppableDropped"; "tuiDroppableDragOverChange": "tuiDroppableDragOverChange"; }, never, never, true, never>;
8
- }
@@ -1 +0,0 @@
1
- export * from './droppable.directive';
@@ -1,2 +0,0 @@
1
- export * from './let.directive';
2
- export * from './let-context';
@@ -1,11 +0,0 @@
1
- import { type TuiContext } from '@taiga-ui/cdk/types';
2
- import { type TuiLet } from './let.directive';
3
- /**
4
- * @internal
5
- */
6
- export declare class TuiLetContext<T> implements TuiContext<T> {
7
- private readonly internalDirectiveInstance;
8
- constructor(internalDirectiveInstance: TuiLet<T>);
9
- get $implicit(): T;
10
- get tuiLet(): T;
11
- }
@@ -1,18 +0,0 @@
1
- import { TuiLetContext } from './let-context';
2
- import * as i0 from "@angular/core";
3
- /**
4
- * @deprecated use @let instead
5
- */
6
- export declare class TuiLet<T> {
7
- tuiLet: T;
8
- constructor();
9
- /**
10
- * Asserts the correct type of the context for the template that `TuiLet` will render.
11
- *
12
- * The presence of this method is a signal to the Ivy template type-check compiler that the
13
- * `TuiLet` structural directive renders its template with a specific context type.
14
- */
15
- static ngTemplateContextGuard<T>(_dir: TuiLet<T>, _ctx: unknown): _ctx is TuiLetContext<T>;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiLet<any>, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiLet<any>, "[tuiLet]", never, { "tuiLet": { "alias": "tuiLet"; "required": false; }; }, {}, never, never, true, never>;
18
- }
@@ -1 +0,0 @@
1
- export * from './popover.directive';
@@ -1,14 +0,0 @@
1
- import { type OnChanges } from '@angular/core';
2
- import { type TuiPopover } from '@taiga-ui/cdk/services';
3
- import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
4
- import * as i0 from "@angular/core";
5
- export declare abstract class TuiPopoverDirective<T> extends PolymorpheusTemplate<TuiPopover<T, void>> implements OnChanges {
6
- private readonly service;
7
- private readonly open$;
8
- options: Partial<T>;
9
- open: boolean;
10
- readonly openChange: import("rxjs").Observable<boolean>;
11
- ngOnChanges(): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiPopoverDirective<any>, never>;
13
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiPopoverDirective<any>, never, never, {}, {}, never, never, true, never>;
14
- }
@@ -1 +0,0 @@
1
- export * from './repeat-times.directive';
@@ -1,22 +0,0 @@
1
- import { type TuiContext } from '@taiga-ui/cdk/types';
2
- import * as i0 from "@angular/core";
3
- export declare class TuiRepeatTimesContext implements TuiContext<number> {
4
- readonly $implicit: number;
5
- constructor($implicit: number);
6
- }
7
- /**
8
- * Directive similar to ngFor but using a number of repetitions rather than an array
9
- *
10
- * {@link TuiRepeatTimes.tuiRepeatTimesOf requested number of times}.
11
- * {@link TuiRepeatTimesContext context} for every instance of the template inherits outer context and stores
12
- * {@link TuiRepeatTimesContext.$implicit index} of a template instance.
13
- */
14
- export declare class TuiRepeatTimes {
15
- private readonly viewContainer;
16
- private readonly templateRef;
17
- set tuiRepeatTimesOf(count: number);
18
- private addContainers;
19
- private removeContainers;
20
- static ɵfac: i0.ɵɵFactoryDeclaration<TuiRepeatTimes, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<TuiRepeatTimes, "[tuiRepeatTimes][tuiRepeatTimesOf]", never, { "tuiRepeatTimesOf": { "alias": "tuiRepeatTimesOf"; "required": false; }; }, {}, never, never, true, never>;
22
- }
@@ -1,39 +0,0 @@
1
- import { DOCUMENT } from '@angular/common';
2
- import * as i0 from '@angular/core';
3
- import { inject, NgZone, Output, Directive } from '@angular/core';
4
- import { tuiZoneOptimized } from '@taiga-ui/cdk/observables';
5
- import { tuiInjectElement, tuiGetActualTarget, tuiContainsOrAfter } from '@taiga-ui/cdk/utils';
6
- import { fromEvent, map, filter } from 'rxjs';
7
-
8
- /**
9
- * @deprecated use {@link TuiActiveZone} instead
10
- */
11
- class TuiClickOutside {
12
- constructor() {
13
- this.zone = inject(NgZone);
14
- this.doc = inject(DOCUMENT);
15
- this.el = tuiInjectElement();
16
- this.tuiClickOutside = fromEvent(this.doc, 'mouseup').pipe(map(tuiGetActualTarget), filter((target) => this.isOutside(target)), tuiZoneOptimized(this.zone));
17
- }
18
- isOutside(target) {
19
- return target === this.el || !tuiContainsOrAfter(this.el, target);
20
- }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiClickOutside, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiClickOutside, isStandalone: true, selector: "[tuiClickOutside]", outputs: { tuiClickOutside: "tuiClickOutside" }, ngImport: i0 }); }
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiClickOutside, decorators: [{
25
- type: Directive,
26
- args: [{
27
- standalone: true,
28
- selector: '[tuiClickOutside]',
29
- }]
30
- }], propDecorators: { tuiClickOutside: [{
31
- type: Output
32
- }] } });
33
-
34
- /**
35
- * Generated bundle index. Do not edit.
36
- */
37
-
38
- export { TuiClickOutside };
39
- //# sourceMappingURL=taiga-ui-cdk-directives-click-outside.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-click-outside.mjs","sources":["../../../projects/cdk/directives/click-outside/click-outside.directive.ts","../../../projects/cdk/directives/click-outside/taiga-ui-cdk-directives-click-outside.ts"],"sourcesContent":["import {DOCUMENT} from '@angular/common';\nimport {Directive, inject, NgZone, Output} from '@angular/core';\nimport {tuiZoneOptimized} from '@taiga-ui/cdk/observables';\nimport {\n tuiContainsOrAfter,\n tuiGetActualTarget,\n tuiInjectElement,\n} from '@taiga-ui/cdk/utils';\nimport {filter, fromEvent, map, type Observable} from 'rxjs';\n\n/**\n * @deprecated use {@link TuiActiveZone} instead\n */\n@Directive({\n standalone: true,\n selector: '[tuiClickOutside]',\n})\nexport class TuiClickOutside {\n private readonly zone = inject(NgZone);\n private readonly doc = inject(DOCUMENT);\n private readonly el = tuiInjectElement();\n\n @Output()\n public readonly tuiClickOutside: Observable<unknown> = fromEvent(\n this.doc,\n 'mouseup',\n ).pipe(\n map(tuiGetActualTarget),\n filter((target) => this.isOutside(target)),\n tuiZoneOptimized(this.zone),\n );\n\n private isOutside(target: Node): boolean {\n return target === this.el || !tuiContainsOrAfter(this.el, target);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAUA;;AAEG;MAKU,eAAe,CAAA;AAJ5B,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC;AACrB,QAAA,IAAA,CAAA,GAAG,GAAG,MAAM,CAAC,QAAQ,CAAC;QACtB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE;AAGxB,QAAA,IAAA,CAAA,eAAe,GAAwB,SAAS,CAC5D,IAAI,CAAC,GAAG,EACR,SAAS,CACZ,CAAC,IAAI,CACF,GAAG,CAAC,kBAAkB,CAAC,EACvB,MAAM,CAAC,CAAC,MAAM,KAAK,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,EAC1C,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAC9B;AAKJ;AAHW,IAAA,SAAS,CAAC,MAAY,EAAA;AAC1B,QAAA,OAAO,MAAM,KAAK,IAAI,CAAC,EAAE,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC;;+GAhB5D,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,OAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,mBAAmB;AAChC,iBAAA;8BAOmB,eAAe,EAAA,CAAA;sBAD9B;;;ACtBL;;AAEG;;;;"}
@@ -1,37 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Output, Directive } from '@angular/core';
3
- import { tuiTypedFromEvent, tuiPreventDefault } from '@taiga-ui/cdk/observables';
4
- import { tuiInjectElement } from '@taiga-ui/cdk/utils';
5
- import { tuiIsPresent } from '@taiga-ui/cdk/utils/miscellaneous';
6
- import { map, filter, switchMap, merge, startWith, distinctUntilChanged } from 'rxjs';
7
-
8
- class TuiDroppable {
9
- constructor() {
10
- this.el = tuiInjectElement();
11
- this.tuiDroppableDropped = tuiTypedFromEvent(this.el, 'drop').pipe(tuiPreventDefault(), map((event) => event.dataTransfer), filter(tuiIsPresent));
12
- this.tuiDroppableDragOverChange = tuiTypedFromEvent(this.el, 'dragenter').pipe(switchMap(({ target, dataTransfer }) => merge(tuiTypedFromEvent(this.el, 'dragleave').pipe(filter((event) => event.target === target)), tuiTypedFromEvent(this.el, 'drop')).pipe(map(() => null), startWith(dataTransfer))), distinctUntilChanged((a, b) => (!!a && !!b) || (!a && !b)));
13
- }
14
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDroppable, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
15
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiDroppable, isStandalone: true, selector: "[tuiDroppableDropped], [tuiDroppableDragOverChange]", outputs: { tuiDroppableDropped: "tuiDroppableDropped", tuiDroppableDragOverChange: "tuiDroppableDragOverChange" }, host: { listeners: { "dragover.prevent.zoneless": "0" } }, ngImport: i0 }); }
16
- }
17
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiDroppable, decorators: [{
18
- type: Directive,
19
- args: [{
20
- standalone: true,
21
- selector: '[tuiDroppableDropped], [tuiDroppableDragOverChange]',
22
- host: {
23
- '(dragover.prevent.zoneless)': '0',
24
- },
25
- }]
26
- }], propDecorators: { tuiDroppableDropped: [{
27
- type: Output
28
- }], tuiDroppableDragOverChange: [{
29
- type: Output
30
- }] } });
31
-
32
- /**
33
- * Generated bundle index. Do not edit.
34
- */
35
-
36
- export { TuiDroppable };
37
- //# sourceMappingURL=taiga-ui-cdk-directives-droppable.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-cdk-directives-droppable.mjs","sources":["../../../projects/cdk/directives/droppable/droppable.directive.ts","../../../projects/cdk/directives/droppable/taiga-ui-cdk-directives-droppable.ts"],"sourcesContent":["import {Directive, Output} from '@angular/core';\nimport {tuiPreventDefault, tuiTypedFromEvent} from '@taiga-ui/cdk/observables';\nimport {tuiInjectElement} from '@taiga-ui/cdk/utils';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {distinctUntilChanged, filter, map, merge, startWith, switchMap} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiDroppableDropped], [tuiDroppableDragOverChange]',\n host: {\n '(dragover.prevent.zoneless)': '0',\n },\n})\nexport class TuiDroppable {\n private readonly el = tuiInjectElement();\n\n @Output()\n public readonly tuiDroppableDropped = tuiTypedFromEvent(this.el, 'drop').pipe(\n tuiPreventDefault(),\n map((event) => event.dataTransfer),\n filter(tuiIsPresent),\n );\n\n @Output()\n public readonly tuiDroppableDragOverChange = tuiTypedFromEvent(\n this.el,\n 'dragenter',\n ).pipe(\n switchMap(({target, dataTransfer}) =>\n merge(\n tuiTypedFromEvent(this.el, 'dragleave').pipe(\n filter((event) => event.target === target),\n ),\n tuiTypedFromEvent(this.el, 'drop'),\n ).pipe(\n map(() => null),\n startWith(dataTransfer),\n ),\n ),\n distinctUntilChanged((a, b) => (!!a && !!b) || (!a && !b)),\n );\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;MAaa,YAAY,CAAA;AAPzB,IAAA,WAAA,GAAA;QAQqB,IAAE,CAAA,EAAA,GAAG,gBAAgB,EAAE;AAGxB,QAAA,IAAA,CAAA,mBAAmB,GAAG,iBAAiB,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC,IAAI,CACzE,iBAAiB,EAAE,EACnB,GAAG,CAAC,CAAC,KAAK,KAAK,KAAK,CAAC,YAAY,CAAC,EAClC,MAAM,CAAC,YAAY,CAAC,CACvB;QAGe,IAA0B,CAAA,0BAAA,GAAG,iBAAiB,CAC1D,IAAI,CAAC,EAAE,EACP,WAAW,CACd,CAAC,IAAI,CACF,SAAS,CAAC,CAAC,EAAC,MAAM,EAAE,YAAY,EAAC,KAC7B,KAAK,CACD,iBAAiB,CAAC,IAAI,CAAC,EAAE,EAAE,WAAW,CAAC,CAAC,IAAI,CACxC,MAAM,CAAC,CAAC,KAAK,KAAK,KAAK,CAAC,MAAM,KAAK,MAAM,CAAC,CAC7C,EACD,iBAAiB,CAAC,IAAI,CAAC,EAAE,EAAE,MAAM,CAAC,CACrC,CAAC,IAAI,CACF,GAAG,CAAC,MAAM,IAAI,CAAC,EACf,SAAS,CAAC,YAAY,CAAC,CAC1B,CACJ,EACD,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAC7D;AACJ;+GA5BY,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qDAAA,EAAA,OAAA,EAAA,EAAA,mBAAA,EAAA,qBAAA,EAAA,0BAAA,EAAA,4BAAA,EAAA,EAAA,IAAA,EAAA,EAAA,SAAA,EAAA,EAAA,2BAAA,EAAA,GAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAPxB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,qDAAqD;AAC/D,oBAAA,IAAI,EAAE;AACF,wBAAA,6BAA6B,EAAE,GAAG;AACrC,qBAAA;AACJ,iBAAA;8BAKmB,mBAAmB,EAAA,CAAA;sBADlC;gBAQe,0BAA0B,EAAA,CAAA;sBADzC;;;ACvBL;;AAEG;;;;"}
@@ -1,53 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ViewContainerRef, TemplateRef, Input, Directive } from '@angular/core';
3
-
4
- /**
5
- * @internal
6
- */
7
- class TuiLetContext {
8
- constructor(internalDirectiveInstance) {
9
- this.internalDirectiveInstance = internalDirectiveInstance;
10
- }
11
- get $implicit() {
12
- return this.internalDirectiveInstance.tuiLet;
13
- }
14
- get tuiLet() {
15
- return this.internalDirectiveInstance.tuiLet;
16
- }
17
- }
18
-
19
- /**
20
- * @deprecated use @let instead
21
- */
22
- class TuiLet {
23
- constructor() {
24
- inject(ViewContainerRef).createEmbeddedView(inject((TemplateRef)), new TuiLetContext(this));
25
- }
26
- /**
27
- * Asserts the correct type of the context for the template that `TuiLet` will render.
28
- *
29
- * The presence of this method is a signal to the Ivy template type-check compiler that the
30
- * `TuiLet` structural directive renders its template with a specific context type.
31
- */
32
- static ngTemplateContextGuard(_dir, _ctx) {
33
- return true;
34
- }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLet, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
36
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiLet, isStandalone: true, selector: "[tuiLet]", inputs: { tuiLet: "tuiLet" }, ngImport: i0 }); }
37
- }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiLet, decorators: [{
39
- type: Directive,
40
- args: [{
41
- standalone: true,
42
- selector: '[tuiLet]',
43
- }]
44
- }], ctorParameters: () => [], propDecorators: { tuiLet: [{
45
- type: Input
46
- }] } });
47
-
48
- /**
49
- * Generated bundle index. Do not edit.
50
- */
51
-
52
- export { TuiLet, TuiLetContext };
53
- //# sourceMappingURL=taiga-ui-cdk-directives-let.mjs.map
@@ -1 +0,0 @@
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 * @deprecated use @let instead\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;;AAEtD,IAAA,IAAW,SAAS,GAAA;AAChB,QAAA,OAAO,IAAI,CAAC,yBAAyB,CAAC,MAAM;;AAGhD,IAAA,IAAW,MAAM,GAAA;AACb,QAAA,OAAO,IAAI,CAAC,yBAAyB,CAAC,MAAM;;AAEnD;;ACbD;;AAEG;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;;AAGL;;;;;AAKG;AACI,IAAA,OAAO,sBAAsB,CAChC,IAAe,EACf,IAAa,EAAA;AAEb,QAAA,OAAO,IAAI;;+GArBN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;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;;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;wDAGU,MAAM,EAAA,CAAA;sBADZ;;;ACZL;;AAEG;;;;"}
@@ -1,32 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Directive } from '@angular/core';
3
- import { tuiIfMap } from '@taiga-ui/cdk/observables';
4
- import { TuiPopoverService } from '@taiga-ui/cdk/services';
5
- import { PolymorpheusTemplate } from '@taiga-ui/polymorpheus';
6
- import { Subject, distinctUntilChanged, ignoreElements, endWith, share } from 'rxjs';
7
-
8
- class TuiPopoverDirective extends PolymorpheusTemplate {
9
- constructor() {
10
- super(...arguments);
11
- this.service = inject((TuiPopoverService));
12
- this.open$ = new Subject();
13
- this.options = {};
14
- this.open = false;
15
- this.openChange = this.open$.pipe(distinctUntilChanged(), tuiIfMap(() => this.service.open(this, this.options).pipe(ignoreElements(), endWith(false))), share());
16
- }
17
- ngOnChanges() {
18
- this.open$.next(this.open);
19
- }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPopoverDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive }); }
21
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiPopoverDirective, isStandalone: true, usesInheritance: true, usesOnChanges: true, ngImport: i0 }); }
22
- }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPopoverDirective, decorators: [{
24
- type: Directive
25
- }] });
26
-
27
- /**
28
- * Generated bundle index. Do not edit.
29
- */
30
-
31
- export { TuiPopoverDirective };
32
- //# sourceMappingURL=taiga-ui-cdk-directives-popover.mjs.map
@@ -1 +0,0 @@
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,IAAO,CAAA,OAAA,GAAe,EAAE;QACxB,IAAI,CAAA,IAAA,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;IAHU,WAAW,GAAA;QACd,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;;+GAnBZ,mBAAmB,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,eAAA,EAAA,IAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBADxC;;;ACND;;AAEG;;;;"}
@@ -1,61 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, ViewContainerRef, TemplateRef, Input, Directive } from '@angular/core';
3
- import { tuiClamp } from '@taiga-ui/cdk/utils/math';
4
-
5
- const MAX_VALUE = 0x10000;
6
- class TuiRepeatTimesContext {
7
- constructor($implicit) {
8
- this.$implicit = $implicit;
9
- }
10
- }
11
- /**
12
- * Directive similar to ngFor but using a number of repetitions rather than an array
13
- *
14
- * {@link TuiRepeatTimes.tuiRepeatTimesOf requested number of times}.
15
- * {@link TuiRepeatTimesContext context} for every instance of the template inherits outer context and stores
16
- * {@link TuiRepeatTimesContext.$implicit index} of a template instance.
17
- */
18
- class TuiRepeatTimes {
19
- constructor() {
20
- this.viewContainer = inject(ViewContainerRef);
21
- this.templateRef = inject((TemplateRef));
22
- }
23
- set tuiRepeatTimesOf(count) {
24
- const safeCount = Math.floor(tuiClamp(count, 0, MAX_VALUE));
25
- const { length } = this.viewContainer;
26
- if (count < length) {
27
- this.removeContainers(length - count);
28
- }
29
- else {
30
- this.addContainers(safeCount);
31
- }
32
- }
33
- addContainers(count) {
34
- for (let index = this.viewContainer.length; index < count; index++) {
35
- this.viewContainer.createEmbeddedView(this.templateRef, new TuiRepeatTimesContext(index));
36
- }
37
- }
38
- removeContainers(amount) {
39
- for (let index = 0; index < amount; index++) {
40
- this.viewContainer.remove();
41
- }
42
- }
43
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiRepeatTimes, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
44
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiRepeatTimes, isStandalone: true, selector: "[tuiRepeatTimes][tuiRepeatTimesOf]", inputs: { tuiRepeatTimesOf: "tuiRepeatTimesOf" }, ngImport: i0 }); }
45
- }
46
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiRepeatTimes, decorators: [{
47
- type: Directive,
48
- args: [{
49
- standalone: true,
50
- selector: '[tuiRepeatTimes][tuiRepeatTimesOf]',
51
- }]
52
- }], propDecorators: { tuiRepeatTimesOf: [{
53
- type: Input
54
- }] } });
55
-
56
- /**
57
- * Generated bundle index. Do not edit.
58
- */
59
-
60
- export { TuiRepeatTimes, TuiRepeatTimesContext };
61
- //# sourceMappingURL=taiga-ui-cdk-directives-repeat-times.mjs.map
@@ -1 +0,0 @@
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,IAAS,CAAA,SAAA,GAAT,SAAS;;AACxC;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;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;;aAClC;AACH,YAAA,IAAI,CAAC,aAAa,CAAC,SAAS,CAAC;;;AAI7B,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;;;AAID,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;;;+GA5B1B,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;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;;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;8BAMc,gBAAgB,EAAA,CAAA;sBAD1B;;;ACzBL;;AAEG;;;;"}
@@ -1,33 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { inject, Pipe } from '@angular/core';
3
- import { TUI_ANIMATIONS_SPEED } from '@taiga-ui/core/tokens';
4
- import { tuiGetDuration } from '@taiga-ui/core/utils/miscellaneous';
5
-
6
- class TuiAnimationPipe {
7
- constructor() {
8
- this.speed = inject(TUI_ANIMATIONS_SPEED);
9
- this.transform = ({ duration, speed, value, ...params } = {}) => ({
10
- value: value ?? '',
11
- params: {
12
- ...params,
13
- duration: (duration ?? 1) * tuiGetDuration(speed ?? this.speed),
14
- },
15
- });
16
- }
17
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAnimationPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
18
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiAnimationPipe, isStandalone: true, name: "tuiAnimation" }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAnimationPipe, decorators: [{
21
- type: Pipe,
22
- args: [{
23
- standalone: true,
24
- name: 'tuiAnimation',
25
- }]
26
- }] });
27
-
28
- /**
29
- * Generated bundle index. Do not edit.
30
- */
31
-
32
- export { TuiAnimationPipe };
33
- //# sourceMappingURL=taiga-ui-cdk-pipes-animation.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-cdk-pipes-animation.mjs","sources":["../../../projects/cdk/pipes/animation/animation.pipe.ts","../../../projects/cdk/pipes/animation/taiga-ui-cdk-pipes-animation.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiDurationOptions} from '@taiga-ui/core/animations';\nimport {TUI_ANIMATIONS_SPEED} from '@taiga-ui/core/tokens';\nimport {tuiGetDuration} from '@taiga-ui/core/utils/miscellaneous';\n\n@Pipe({\n standalone: true,\n name: 'tuiAnimation',\n})\nexport class TuiAnimationPipe implements PipeTransform {\n private readonly speed = inject(TUI_ANIMATIONS_SPEED);\n public readonly transform = ({\n duration,\n speed,\n value,\n ...params\n }: Partial<{duration: number; speed: number; value: string}> &\n Record<string, any> = {}): TuiDurationOptions => ({\n value: value ?? '',\n params: {\n ...params,\n duration: (duration ?? 1) * tuiGetDuration(speed ?? this.speed),\n },\n });\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MASa,gBAAgB,CAAA;AAJ7B,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,KAAK,GAAG,MAAM,CAAC,oBAAoB,CAAC;AACrC,QAAA,IAAA,CAAA,SAAS,GAAG,CAAC,EACzB,QAAQ,EACR,KAAK,EACL,KAAK,EACL,GAAG,MAAM,EAEa,GAAA,EAAE,MAA0B;YAClD,KAAK,EAAE,KAAK,IAAI,EAAE;AAClB,YAAA,MAAM,EAAE;AACJ,gBAAA,GAAG,MAAM;AACT,gBAAA,QAAQ,EAAE,CAAC,QAAQ,IAAI,CAAC,IAAI,cAAc,CAAC,KAAK,IAAI,IAAI,CAAC,KAAK,CAAC;AAClE,aAAA;AACJ,SAAA,CAAC;AACL;+GAfY,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,cAAc;AACvB,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -1,25 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
- import { tuiIsPresent } from '@taiga-ui/cdk/utils';
4
-
5
- class TuiIsPresentPipe {
6
- transform(value) {
7
- return tuiIsPresent(value);
8
- }
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiIsPresentPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
10
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiIsPresentPipe, isStandalone: true, name: "tuiIsPresent" }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiIsPresentPipe, decorators: [{
13
- type: Pipe,
14
- args: [{
15
- standalone: true,
16
- name: 'tuiIsPresent',
17
- }]
18
- }] });
19
-
20
- /**
21
- * Generated bundle index. Do not edit.
22
- */
23
-
24
- export { TuiIsPresentPipe };
25
- //# sourceMappingURL=taiga-ui-cdk-pipes-is-present.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-cdk-pipes-is-present.mjs","sources":["../../../projects/cdk/pipes/is-present/is-present.pipe.ts","../../../projects/cdk/pipes/is-present/taiga-ui-cdk-pipes-is-present.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {tuiIsPresent} from '@taiga-ui/cdk/utils';\n\n@Pipe({\n standalone: true,\n name: 'tuiIsPresent',\n})\nexport class TuiIsPresentPipe implements PipeTransform {\n public transform<T>(value?: T | null): value is T {\n return tuiIsPresent(value);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,gBAAgB,CAAA;AAClB,IAAA,SAAS,CAAI,KAAgB,EAAA;AAChC,QAAA,OAAO,YAAY,CAAC,KAAK,CAAC;;+GAFrB,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,CAAA;;4FAAhB,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAJ5B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,cAAc;AACvB,iBAAA;;;ACND;;AAEG;;;;"}
@@ -1,24 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
-
4
- class TuiKeysPipe {
5
- transform(object) {
6
- return Object.keys(object);
7
- }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiKeysPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
9
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiKeysPipe, isStandalone: true, name: "tuiKeys" }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiKeysPipe, decorators: [{
12
- type: Pipe,
13
- args: [{
14
- standalone: true,
15
- name: 'tuiKeys',
16
- }]
17
- }] });
18
-
19
- /**
20
- * Generated bundle index. Do not edit.
21
- */
22
-
23
- export { TuiKeysPipe };
24
- //# sourceMappingURL=taiga-ui-cdk-pipes-keys.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-cdk-pipes-keys.mjs","sources":["../../../projects/cdk/pipes/keys/keys.pipe.ts","../../../projects/cdk/pipes/keys/taiga-ui-cdk-pipes-keys.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\n\n@Pipe({\n standalone: true,\n name: 'tuiKeys',\n})\nexport class TuiKeysPipe implements PipeTransform {\n public transform(object: Record<any, any>): string[] {\n return Object.keys(object);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,WAAW,CAAA;AACb,IAAA,SAAS,CAAC,MAAwB,EAAA;AACrC,QAAA,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;;+GAFrB,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,CAAA;;4FAAX,WAAW,EAAA,UAAA,EAAA,CAAA;kBAJvB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,SAAS;AAClB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -1,25 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
- import { tuiClamp } from '@taiga-ui/cdk/utils';
4
-
5
- class TuiRepeatTimesPipe {
6
- transform(n) {
7
- return Array.from({ length: tuiClamp(n, 0, n) }, (_, i) => i);
8
- }
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiRepeatTimesPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
10
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiRepeatTimesPipe, isStandalone: true, name: "tuiRepeatTimes" }); }
11
- }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiRepeatTimesPipe, decorators: [{
13
- type: Pipe,
14
- args: [{
15
- standalone: true,
16
- name: 'tuiRepeatTimes',
17
- }]
18
- }] });
19
-
20
- /**
21
- * Generated bundle index. Do not edit.
22
- */
23
-
24
- export { TuiRepeatTimesPipe };
25
- //# sourceMappingURL=taiga-ui-cdk-pipes-repeat-times.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-cdk-pipes-repeat-times.mjs","sources":["../../../projects/cdk/pipes/repeat-times/index.ts","../../../projects/cdk/pipes/repeat-times/taiga-ui-cdk-pipes-repeat-times.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {tuiClamp} from '@taiga-ui/cdk/utils';\n\n@Pipe({\n standalone: true,\n name: 'tuiRepeatTimes',\n})\nexport class TuiRepeatTimesPipe implements PipeTransform {\n public transform(n: number): number[] {\n return Array.from({length: tuiClamp(n, 0, n)}, (_, i) => i);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,kBAAkB,CAAA;AACpB,IAAA,SAAS,CAAC,CAAS,EAAA;QACtB,OAAO,KAAK,CAAC,IAAI,CAAC,EAAC,MAAM,EAAE,QAAQ,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAC,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;;+GAFtD,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,gBAAA,EAAA,CAAA,CAAA;;4FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,gBAAgB;AACzB,iBAAA;;;ACND;;AAEG;;;;"}
@@ -1,26 +0,0 @@
1
- import * as i0 from '@angular/core';
2
- import { Pipe } from '@angular/core';
3
-
4
- class TuiReplacePipe {
5
- transform(value, search, replaceValue) {
6
- return (value?.replace(search,
7
- // TS bug: https://github.com/microsoft/TypeScript/issues/22378
8
- replaceValue) ?? '');
9
- }
10
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiReplacePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
11
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiReplacePipe, isStandalone: true, name: "tuiReplace" }); }
12
- }
13
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiReplacePipe, decorators: [{
14
- type: Pipe,
15
- args: [{
16
- standalone: true,
17
- name: 'tuiReplace',
18
- }]
19
- }] });
20
-
21
- /**
22
- * Generated bundle index. Do not edit.
23
- */
24
-
25
- export { TuiReplacePipe };
26
- //# sourceMappingURL=taiga-ui-cdk-pipes-replace.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-cdk-pipes-replace.mjs","sources":["../../../projects/cdk/pipes/replace/replace.pipe.ts","../../../projects/cdk/pipes/replace/taiga-ui-cdk-pipes-replace.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\n\n@Pipe({\n standalone: true,\n name: 'tuiReplace',\n})\nexport class TuiReplacePipe implements PipeTransform {\n public transform(\n value: string | null | undefined,\n search: RegExp | string,\n replaceValue: string | ((substring: string, ...args: unknown[]) => string),\n ): string {\n return (\n value?.replace(\n search,\n // TS bug: https://github.com/microsoft/TypeScript/issues/22378\n replaceValue as unknown as string,\n ) ?? ''\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,cAAc,CAAA;AAChB,IAAA,SAAS,CACZ,KAAgC,EAChC,MAAuB,EACvB,YAA0E,EAAA;AAE1E,QAAA,QACI,KAAK,EAAE,OAAO,CACV,MAAM;;AAEN,QAAA,YAAiC,CACpC,IAAI,EAAE;;+GAXN,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAd,cAAc,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,YAAA,EAAA,CAAA,CAAA;;4FAAd,cAAc,EAAA,UAAA,EAAA,CAAA;kBAJ1B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,YAAY;AACrB,iBAAA;;;ACLD;;AAEG;;;;"}