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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (498) hide show
  1. package/classes/driver.d.ts +1 -1
  2. package/components/alert/alert.component.d.ts +5 -6
  3. package/components/alert/alert.directive.d.ts +4 -3
  4. package/components/alert/alert.interfaces.d.ts +3 -2
  5. package/components/alert/alert.service.d.ts +6 -2
  6. package/components/alert/alert.tokens.d.ts +1 -7
  7. package/components/alert/index.d.ts +0 -1
  8. package/components/button/button.directive.d.ts +2 -3
  9. package/components/button/button.options.d.ts +1 -1
  10. package/components/calendar/calendar-sheet.component.d.ts +1 -6
  11. package/components/cell/cell.directive.d.ts +9 -0
  12. package/components/cell/cell.options.d.ts +6 -0
  13. package/components/cell/index.d.ts +2 -0
  14. package/components/data-list/data-list.component.d.ts +1 -1
  15. package/components/dialog/active-zone-adapter.directive.d.ts +11 -0
  16. package/components/dialog/dialog.component.d.ts +6 -11
  17. package/components/dialog/dialog.directive.d.ts +5 -4
  18. package/components/dialog/dialog.factory.d.ts +1 -1
  19. package/components/dialog/dialog.options.d.ts +26 -0
  20. package/components/dialog/{dialog-close.service.d.ts → dialog.providers.d.ts} +4 -1
  21. package/components/dialog/dialog.service.d.ts +6 -3
  22. package/components/dialog/index.d.ts +2 -3
  23. package/components/error/error.component.d.ts +6 -8
  24. package/components/error/error.d.ts +4 -0
  25. package/components/error/error.directive.d.ts +19 -0
  26. package/components/error/error.pipe.d.ts +10 -0
  27. package/components/error/index.d.ts +3 -0
  28. package/components/expand/expand.component.d.ts +9 -28
  29. package/components/expand/index.d.ts +0 -2
  30. package/components/header/header.directive.d.ts +17 -0
  31. package/components/header/index.d.ts +1 -0
  32. package/components/icon/icon.component.d.ts +6 -8
  33. package/components/index.d.ts +3 -1
  34. package/components/link/link.directive.d.ts +2 -2
  35. package/components/loader/loader.component.d.ts +7 -7
  36. package/components/modal/index.d.ts +2 -0
  37. package/components/modal/modal.component.d.ts +17 -0
  38. package/components/modal/modal.service.d.ts +13 -0
  39. package/components/notification/notification.directive.d.ts +7 -11
  40. package/components/notification/notification.options.d.ts +1 -1
  41. package/components/root/root.component.d.ts +4 -6
  42. package/components/scrollbar/scrollbar.options.d.ts +1 -1
  43. package/components/spin-button/spin-button.component.d.ts +8 -9
  44. package/components/textfield/index.d.ts +1 -3
  45. package/components/textfield/textfield-content.directive.d.ts +3 -2
  46. package/components/textfield/textfield-icon.d.ts +3 -3
  47. package/components/textfield/textfield-multi/textfield-multi.component.d.ts +7 -9
  48. package/components/textfield/textfield.component.d.ts +13 -13
  49. package/components/textfield/textfield.d.ts +2 -3
  50. package/components/textfield/textfield.directive.d.ts +11 -14
  51. package/components/textfield/textfield.options.d.ts +8 -11
  52. package/directives/appearance/appearance.directive.d.ts +5 -13
  53. package/directives/appearance/appearance.options.d.ts +1 -1
  54. package/directives/dropdown/dropdown-content.directive.d.ts +9 -0
  55. package/directives/dropdown/dropdown-context.directive.d.ts +2 -0
  56. package/directives/dropdown/dropdown.d.ts +2 -2
  57. package/directives/dropdown/dropdown.directive.d.ts +1 -2
  58. package/directives/dropdown/index.d.ts +1 -3
  59. package/directives/hint/hint-describe.directive.d.ts +4 -6
  60. package/directives/hint/hint-host.directive.d.ts +2 -2
  61. package/directives/hint/hint-hover.directive.d.ts +3 -4
  62. package/directives/hint/hint-manual.directive.d.ts +2 -2
  63. package/directives/hint/hint-options.directive.d.ts +3 -3
  64. package/directives/hint/hint-overflow.directive.d.ts +2 -2
  65. package/directives/hint/hint-position.directive.d.ts +4 -5
  66. package/directives/hint/hint-unstyled.component.d.ts +2 -7
  67. package/directives/hint/hint.component.d.ts +10 -11
  68. package/directives/hint/hint.directive.d.ts +9 -11
  69. package/directives/hint/index.d.ts +0 -2
  70. package/directives/icons/icons.bindings.d.ts +5 -0
  71. package/directives/icons/icons.directive.d.ts +8 -14
  72. package/directives/icons/index.d.ts +1 -0
  73. package/directives/index.d.ts +1 -1
  74. package/directives/notification/index.d.ts +2 -0
  75. package/directives/notification/notification.directive.d.ts +11 -0
  76. package/directives/notification/notification.service.d.ts +12 -0
  77. package/directives/popup/popup.directive.d.ts +6 -5
  78. package/directives/popup/popup.service.d.ts +1 -1
  79. package/directives/popup/popups.component.d.ts +2 -2
  80. package/directives/title/title.directive.d.ts +2 -3
  81. package/fesm2022/taiga-ui-core-animations.mjs.map +1 -1
  82. package/fesm2022/taiga-ui-core-classes.mjs +3 -3
  83. package/fesm2022/taiga-ui-core-classes.mjs.map +1 -1
  84. package/fesm2022/taiga-ui-core-components-alert.mjs +60 -100
  85. package/fesm2022/taiga-ui-core-components-alert.mjs.map +1 -1
  86. package/fesm2022/taiga-ui-core-components-button.mjs +13 -21
  87. package/fesm2022/taiga-ui-core-components-button.mjs.map +1 -1
  88. package/fesm2022/taiga-ui-core-components-calendar.mjs +24 -27
  89. package/fesm2022/taiga-ui-core-components-calendar.mjs.map +1 -1
  90. package/fesm2022/taiga-ui-core-components-cell.mjs +45 -0
  91. package/fesm2022/taiga-ui-core-components-cell.mjs.map +1 -0
  92. package/fesm2022/taiga-ui-core-components-data-list.mjs +32 -34
  93. package/fesm2022/taiga-ui-core-components-data-list.mjs.map +1 -1
  94. package/fesm2022/taiga-ui-core-components-dialog.mjs +125 -94
  95. package/fesm2022/taiga-ui-core-components-dialog.mjs.map +1 -1
  96. package/fesm2022/taiga-ui-core-components-error.mjs +109 -26
  97. package/fesm2022/taiga-ui-core-components-error.mjs.map +1 -1
  98. package/fesm2022/taiga-ui-core-components-expand.mjs +34 -132
  99. package/fesm2022/taiga-ui-core-components-expand.mjs.map +1 -1
  100. package/fesm2022/taiga-ui-core-components-header.mjs +42 -0
  101. package/fesm2022/taiga-ui-core-components-header.mjs.map +1 -0
  102. package/fesm2022/taiga-ui-core-components-icon.mjs +22 -30
  103. package/fesm2022/taiga-ui-core-components-icon.mjs.map +1 -1
  104. package/fesm2022/taiga-ui-core-components-label.mjs +10 -13
  105. package/fesm2022/taiga-ui-core-components-label.mjs.map +1 -1
  106. package/fesm2022/taiga-ui-core-components-link.mjs +13 -18
  107. package/fesm2022/taiga-ui-core-components-link.mjs.map +1 -1
  108. package/fesm2022/taiga-ui-core-components-loader.mjs +15 -29
  109. package/fesm2022/taiga-ui-core-components-loader.mjs.map +1 -1
  110. package/fesm2022/taiga-ui-core-components-modal.mjs +89 -0
  111. package/fesm2022/taiga-ui-core-components-modal.mjs.map +1 -0
  112. package/fesm2022/taiga-ui-core-components-notification.mjs +24 -53
  113. package/fesm2022/taiga-ui-core-components-notification.mjs.map +1 -1
  114. package/fesm2022/taiga-ui-core-components-root.mjs +20 -51
  115. package/fesm2022/taiga-ui-core-components-root.mjs.map +1 -1
  116. package/fesm2022/taiga-ui-core-components-scrollbar.mjs +28 -28
  117. package/fesm2022/taiga-ui-core-components-scrollbar.mjs.map +1 -1
  118. package/fesm2022/taiga-ui-core-components-spin-button.mjs +16 -29
  119. package/fesm2022/taiga-ui-core-components-spin-button.mjs.map +1 -1
  120. package/fesm2022/taiga-ui-core-components-textfield.mjs +171 -300
  121. package/fesm2022/taiga-ui-core-components-textfield.mjs.map +1 -1
  122. package/fesm2022/taiga-ui-core-components.mjs +3 -1
  123. package/fesm2022/taiga-ui-core-components.mjs.map +1 -1
  124. package/fesm2022/taiga-ui-core-directives-appearance.mjs +26 -63
  125. package/fesm2022/taiga-ui-core-directives-appearance.mjs.map +1 -1
  126. package/fesm2022/taiga-ui-core-directives-date-format.mjs +5 -5
  127. package/fesm2022/taiga-ui-core-directives-date-format.mjs.map +1 -1
  128. package/fesm2022/taiga-ui-core-directives-dropdown.mjs +96 -131
  129. package/fesm2022/taiga-ui-core-directives-dropdown.mjs.map +1 -1
  130. package/fesm2022/taiga-ui-core-directives-group.mjs +10 -13
  131. package/fesm2022/taiga-ui-core-directives-group.mjs.map +1 -1
  132. package/fesm2022/taiga-ui-core-directives-hint.mjs +145 -244
  133. package/fesm2022/taiga-ui-core-directives-hint.mjs.map +1 -1
  134. package/fesm2022/taiga-ui-core-directives-icons.mjs +41 -41
  135. package/fesm2022/taiga-ui-core-directives-icons.mjs.map +1 -1
  136. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs +12 -12
  137. package/fesm2022/taiga-ui-core-directives-items-handlers.mjs.map +1 -1
  138. package/fesm2022/taiga-ui-core-directives-notification.mjs +73 -0
  139. package/fesm2022/taiga-ui-core-directives-notification.mjs.map +1 -0
  140. package/fesm2022/taiga-ui-core-directives-number-format.mjs +5 -5
  141. package/fesm2022/taiga-ui-core-directives-number-format.mjs.map +1 -1
  142. package/fesm2022/taiga-ui-core-directives-popup.mjs +20 -27
  143. package/fesm2022/taiga-ui-core-directives-popup.mjs.map +1 -1
  144. package/fesm2022/taiga-ui-core-directives-title.mjs +13 -19
  145. package/fesm2022/taiga-ui-core-directives-title.mjs.map +1 -1
  146. package/fesm2022/taiga-ui-core-directives.mjs +1 -1
  147. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs +3 -3
  148. package/fesm2022/taiga-ui-core-pipes-auto-color.mjs.map +1 -1
  149. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs +3 -3
  150. package/fesm2022/taiga-ui-core-pipes-calendar-sheet.mjs.map +1 -1
  151. package/fesm2022/taiga-ui-core-pipes-flag.mjs +3 -3
  152. package/fesm2022/taiga-ui-core-pipes-flag.mjs.map +1 -1
  153. package/fesm2022/taiga-ui-core-pipes-format-date.mjs +3 -3
  154. package/fesm2022/taiga-ui-core-pipes-format-date.mjs.map +1 -1
  155. package/fesm2022/taiga-ui-core-pipes-format-number.mjs +3 -3
  156. package/fesm2022/taiga-ui-core-pipes-format-number.mjs.map +1 -1
  157. package/fesm2022/taiga-ui-core-pipes-initials.mjs +3 -3
  158. package/fesm2022/taiga-ui-core-pipes-initials.mjs.map +1 -1
  159. package/fesm2022/taiga-ui-core-pipes-month.mjs +5 -4
  160. package/fesm2022/taiga-ui-core-pipes-month.mjs.map +1 -1
  161. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs +3 -3
  162. package/fesm2022/taiga-ui-core-pipes-order-week-days.mjs.map +1 -1
  163. package/fesm2022/taiga-ui-core-pipes.mjs +0 -1
  164. package/fesm2022/taiga-ui-core-pipes.mjs.map +1 -1
  165. package/fesm2022/taiga-ui-core-services.mjs +18 -18
  166. package/fesm2022/taiga-ui-core-services.mjs.map +1 -1
  167. package/fesm2022/taiga-ui-core-tokens.mjs +31 -17
  168. package/fesm2022/taiga-ui-core-tokens.mjs.map +1 -1
  169. package/fesm2022/taiga-ui-core-utils-dom.mjs.map +1 -1
  170. package/fesm2022/taiga-ui-core-utils-format.mjs.map +1 -1
  171. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs +50 -4
  172. package/fesm2022/taiga-ui-core-utils-miscellaneous.mjs.map +1 -1
  173. package/package.json +27 -123
  174. package/pipes/index.d.ts +0 -1
  175. package/styles/components/appearance.less +6 -0
  176. package/styles/components/button.less +0 -2
  177. package/styles/components/icon.less +37 -12
  178. package/styles/components/icons.less +45 -7
  179. package/styles/components/link.less +1 -3
  180. package/styles/mixins/mixins.less +1 -2
  181. package/styles/mixins/mixins.scss +1 -2
  182. package/styles/mixins/slider.less +21 -16
  183. package/styles/theme/appearance/outline.less +1 -2
  184. package/styles/theme/appearance/textfield.less +1 -2
  185. package/tokens/i18n.d.ts +7 -7
  186. package/tokens/icon-resolver.d.ts +1 -4
  187. package/tokens/index.d.ts +1 -0
  188. package/tokens/validation-errors.d.ts +4 -0
  189. package/types/index.d.ts +0 -1
  190. package/utils/miscellaneous/index.d.ts +1 -0
  191. package/utils/miscellaneous/provide-taiga.d.ts +13 -0
  192. package/components/alert/alerts.component.d.ts +0 -12
  193. package/components/dialog/dialog.interfaces.d.ts +0 -34
  194. package/components/dialog/dialog.tokens.d.ts +0 -15
  195. package/components/expand/expand-content.directive.d.ts +0 -8
  196. package/components/expand/expand.d.ts +0 -6
  197. package/components/fullscreen/fullscreen.component.d.ts +0 -14
  198. package/components/fullscreen/index.d.ts +0 -1
  199. package/components/textfield/select.directive.d.ts +0 -19
  200. package/components/textfield/textfield-dropdown.directive.d.ts +0 -16
  201. package/directives/dropdown/dropdown-portal.directive.d.ts +0 -14
  202. package/directives/dropdown/dropdown.service.d.ts +0 -6
  203. package/directives/dropdown/dropdowns.component.d.ts +0 -9
  204. package/directives/hint/hint.service.d.ts +0 -13
  205. package/directives/hint/hints.component.d.ts +0 -12
  206. package/directives/surface/index.d.ts +0 -1
  207. package/directives/surface/surface.directive.d.ts +0 -8
  208. package/esm2022/animations/animations.mjs +0 -363
  209. package/esm2022/animations/index.mjs +0 -2
  210. package/esm2022/animations/taiga-ui-core-animations.mjs +0 -5
  211. package/esm2022/classes/accessors.mjs +0 -31
  212. package/esm2022/classes/driver.mjs +0 -36
  213. package/esm2022/classes/index.mjs +0 -4
  214. package/esm2022/classes/taiga-ui-core-classes.mjs +0 -5
  215. package/esm2022/classes/vehicle.mjs +0 -7
  216. package/esm2022/components/alert/alert.component.mjs +0 -43
  217. package/esm2022/components/alert/alert.directive.mjs +0 -21
  218. package/esm2022/components/alert/alert.interfaces.mjs +0 -2
  219. package/esm2022/components/alert/alert.service.mjs +0 -18
  220. package/esm2022/components/alert/alert.tokens.mjs +0 -51
  221. package/esm2022/components/alert/alerts.component.mjs +0 -34
  222. package/esm2022/components/alert/index.mjs +0 -6
  223. package/esm2022/components/alert/taiga-ui-core-components-alert.mjs +0 -5
  224. package/esm2022/components/button/button.directive.mjs +0 -43
  225. package/esm2022/components/button/button.options.mjs +0 -7
  226. package/esm2022/components/button/index.mjs +0 -3
  227. package/esm2022/components/button/taiga-ui-core-components-button.mjs +0 -5
  228. package/esm2022/components/calendar/calendar-sheet.component.mjs +0 -167
  229. package/esm2022/components/calendar/calendar-sheet.options.mjs +0 -12
  230. package/esm2022/components/calendar/calendar-spin.component.mjs +0 -53
  231. package/esm2022/components/calendar/calendar-year.component.mjs +0 -128
  232. package/esm2022/components/calendar/calendar.component.mjs +0 -147
  233. package/esm2022/components/calendar/index.mjs +0 -6
  234. package/esm2022/components/calendar/taiga-ui-core-components-calendar.mjs +0 -5
  235. package/esm2022/components/data-list/data-list.component.mjs +0 -139
  236. package/esm2022/components/data-list/data-list.directive.mjs +0 -19
  237. package/esm2022/components/data-list/data-list.mjs +0 -14
  238. package/esm2022/components/data-list/data-list.tokens.mjs +0 -18
  239. package/esm2022/components/data-list/index.mjs +0 -9
  240. package/esm2022/components/data-list/opt-group.directive.mjs +0 -21
  241. package/esm2022/components/data-list/option/option-content.mjs +0 -36
  242. package/esm2022/components/data-list/option/option-legacy.component.mjs +0 -90
  243. package/esm2022/components/data-list/option/option.directive.mjs +0 -109
  244. package/esm2022/components/data-list/taiga-ui-core-components-data-list.mjs +0 -5
  245. package/esm2022/components/dialog/dialog-close.service.mjs +0 -41
  246. package/esm2022/components/dialog/dialog.component.mjs +0 -63
  247. package/esm2022/components/dialog/dialog.directive.mjs +0 -21
  248. package/esm2022/components/dialog/dialog.factory.mjs +0 -15
  249. package/esm2022/components/dialog/dialog.interfaces.mjs +0 -2
  250. package/esm2022/components/dialog/dialog.service.mjs +0 -18
  251. package/esm2022/components/dialog/dialog.tokens.mjs +0 -33
  252. package/esm2022/components/dialog/dialogs.component.mjs +0 -29
  253. package/esm2022/components/dialog/index.mjs +0 -8
  254. package/esm2022/components/dialog/taiga-ui-core-components-dialog.mjs +0 -5
  255. package/esm2022/components/error/error.component.mjs +0 -34
  256. package/esm2022/components/error/index.mjs +0 -2
  257. package/esm2022/components/error/taiga-ui-core-components-error.mjs +0 -5
  258. package/esm2022/components/expand/expand-content.directive.mjs +0 -18
  259. package/esm2022/components/expand/expand.component.mjs +0 -124
  260. package/esm2022/components/expand/expand.mjs +0 -7
  261. package/esm2022/components/expand/index.mjs +0 -4
  262. package/esm2022/components/expand/taiga-ui-core-components-expand.mjs +0 -5
  263. package/esm2022/components/fullscreen/fullscreen.component.mjs +0 -67
  264. package/esm2022/components/fullscreen/index.mjs +0 -2
  265. package/esm2022/components/fullscreen/taiga-ui-core-components-fullscreen.mjs +0 -5
  266. package/esm2022/components/icon/icon.component.mjs +0 -35
  267. package/esm2022/components/icon/icon.pipe.mjs +0 -19
  268. package/esm2022/components/icon/index.mjs +0 -3
  269. package/esm2022/components/icon/taiga-ui-core-components-icon.mjs +0 -5
  270. package/esm2022/components/index.mjs +0 -18
  271. package/esm2022/components/label/index.mjs +0 -2
  272. package/esm2022/components/label/label.directive.mjs +0 -41
  273. package/esm2022/components/label/taiga-ui-core-components-label.mjs +0 -5
  274. package/esm2022/components/link/index.mjs +0 -3
  275. package/esm2022/components/link/link.directive.mjs +0 -47
  276. package/esm2022/components/link/link.options.mjs +0 -13
  277. package/esm2022/components/link/taiga-ui-core-components-link.mjs +0 -5
  278. package/esm2022/components/loader/index.mjs +0 -3
  279. package/esm2022/components/loader/loader.component.mjs +0 -46
  280. package/esm2022/components/loader/loader.options.mjs +0 -18
  281. package/esm2022/components/loader/taiga-ui-core-components-loader.mjs +0 -5
  282. package/esm2022/components/notification/index.mjs +0 -3
  283. package/esm2022/components/notification/notification.directive.mjs +0 -81
  284. package/esm2022/components/notification/notification.options.mjs +0 -23
  285. package/esm2022/components/notification/taiga-ui-core-components-notification.mjs +0 -5
  286. package/esm2022/components/root/index.mjs +0 -2
  287. package/esm2022/components/root/root.component.mjs +0 -85
  288. package/esm2022/components/root/taiga-ui-core-components-root.mjs +0 -5
  289. package/esm2022/components/scrollbar/index.mjs +0 -9
  290. package/esm2022/components/scrollbar/scroll-controls.component.mjs +0 -32
  291. package/esm2022/components/scrollbar/scroll-into-view.directive.mjs +0 -43
  292. package/esm2022/components/scrollbar/scroll-ref.directive.mjs +0 -19
  293. package/esm2022/components/scrollbar/scrollable.directive.mjs +0 -26
  294. package/esm2022/components/scrollbar/scrollbar.component.mjs +0 -72
  295. package/esm2022/components/scrollbar/scrollbar.directive.mjs +0 -93
  296. package/esm2022/components/scrollbar/scrollbar.options.mjs +0 -6
  297. package/esm2022/components/scrollbar/scrollbar.service.mjs +0 -46
  298. package/esm2022/components/scrollbar/taiga-ui-core-components-scrollbar.mjs +0 -5
  299. package/esm2022/components/spin-button/index.mjs +0 -2
  300. package/esm2022/components/spin-button/spin-button.component.mjs +0 -51
  301. package/esm2022/components/spin-button/taiga-ui-core-components-spin-button.mjs +0 -5
  302. package/esm2022/components/taiga-ui-core-components.mjs +0 -5
  303. package/esm2022/components/textfield/index.mjs +0 -16
  304. package/esm2022/components/textfield/select-like.directive.mjs +0 -42
  305. package/esm2022/components/textfield/select.directive.mjs +0 -65
  306. package/esm2022/components/textfield/taiga-ui-core-components-textfield.mjs +0 -5
  307. package/esm2022/components/textfield/textfield-accessor.mjs +0 -7
  308. package/esm2022/components/textfield/textfield-auxiliary.mjs +0 -7
  309. package/esm2022/components/textfield/textfield-content.directive.mjs +0 -22
  310. package/esm2022/components/textfield/textfield-dropdown.directive.mjs +0 -43
  311. package/esm2022/components/textfield/textfield-icon.mjs +0 -10
  312. package/esm2022/components/textfield/textfield-multi/textfield-item.component.mjs +0 -34
  313. package/esm2022/components/textfield/textfield-multi/textfield-multi.component.mjs +0 -137
  314. package/esm2022/components/textfield/textfield.component.mjs +0 -177
  315. package/esm2022/components/textfield/textfield.directive.mjs +0 -131
  316. package/esm2022/components/textfield/textfield.mjs +0 -19
  317. package/esm2022/components/textfield/textfield.options.mjs +0 -63
  318. package/esm2022/components/textfield/with-native-picker.directive.mjs +0 -24
  319. package/esm2022/directives/appearance/appearance.bindings.mjs +0 -15
  320. package/esm2022/directives/appearance/appearance.directive.mjs +0 -79
  321. package/esm2022/directives/appearance/appearance.options.mjs +0 -12
  322. package/esm2022/directives/appearance/index.mjs +0 -5
  323. package/esm2022/directives/appearance/taiga-ui-core-directives-appearance.mjs +0 -5
  324. package/esm2022/directives/appearance/with-appearance.mjs +0 -27
  325. package/esm2022/directives/date-format/date-format.directive.mjs +0 -31
  326. package/esm2022/directives/date-format/index.mjs +0 -2
  327. package/esm2022/directives/date-format/taiga-ui-core-directives-date-format.mjs +0 -5
  328. package/esm2022/directives/dropdown/dropdown-context.directive.mjs +0 -70
  329. package/esm2022/directives/dropdown/dropdown-hover.directive.mjs +0 -70
  330. package/esm2022/directives/dropdown/dropdown-hover.options.mjs +0 -17
  331. package/esm2022/directives/dropdown/dropdown-limit-width.mjs +0 -37
  332. package/esm2022/directives/dropdown/dropdown-manual.directive.mjs +0 -27
  333. package/esm2022/directives/dropdown/dropdown-open-legacy.directive.mjs +0 -33
  334. package/esm2022/directives/dropdown/dropdown-open.directive.mjs +0 -169
  335. package/esm2022/directives/dropdown/dropdown-options.directive.mjs +0 -73
  336. package/esm2022/directives/dropdown/dropdown-portal.directive.mjs +0 -34
  337. package/esm2022/directives/dropdown/dropdown-position-sided.directive.mjs +0 -69
  338. package/esm2022/directives/dropdown/dropdown-position.directive.mjs +0 -88
  339. package/esm2022/directives/dropdown/dropdown-selection.directive.mjs +0 -159
  340. package/esm2022/directives/dropdown/dropdown.bindings.mjs +0 -19
  341. package/esm2022/directives/dropdown/dropdown.component.mjs +0 -92
  342. package/esm2022/directives/dropdown/dropdown.directive.mjs +0 -110
  343. package/esm2022/directives/dropdown/dropdown.driver.mjs +0 -32
  344. package/esm2022/directives/dropdown/dropdown.mjs +0 -29
  345. package/esm2022/directives/dropdown/dropdown.providers.mjs +0 -10
  346. package/esm2022/directives/dropdown/dropdown.service.mjs +0 -15
  347. package/esm2022/directives/dropdown/dropdowns.component.mjs +0 -24
  348. package/esm2022/directives/dropdown/index.mjs +0 -22
  349. package/esm2022/directives/dropdown/taiga-ui-core-directives-dropdown.mjs +0 -5
  350. package/esm2022/directives/dropdown/with-dropdown-open.directive.mjs +0 -23
  351. package/esm2022/directives/group/group.directive.mjs +0 -53
  352. package/esm2022/directives/group/group.options.mjs +0 -15
  353. package/esm2022/directives/group/index.mjs +0 -3
  354. package/esm2022/directives/group/taiga-ui-core-directives-group.mjs +0 -5
  355. package/esm2022/directives/hint/hint-describe.directive.mjs +0 -50
  356. package/esm2022/directives/hint/hint-driver.directive.mjs +0 -19
  357. package/esm2022/directives/hint/hint-host.directive.mjs +0 -27
  358. package/esm2022/directives/hint/hint-hover.directive.mjs +0 -59
  359. package/esm2022/directives/hint/hint-manual.directive.mjs +0 -33
  360. package/esm2022/directives/hint/hint-options.directive.mjs +0 -86
  361. package/esm2022/directives/hint/hint-overflow.directive.mjs +0 -38
  362. package/esm2022/directives/hint/hint-pointer.directive.mjs +0 -33
  363. package/esm2022/directives/hint/hint-position.directive.mjs +0 -112
  364. package/esm2022/directives/hint/hint-unstyled.component.mjs +0 -39
  365. package/esm2022/directives/hint/hint.component.mjs +0 -127
  366. package/esm2022/directives/hint/hint.directive.mjs +0 -99
  367. package/esm2022/directives/hint/hint.mjs +0 -27
  368. package/esm2022/directives/hint/hint.providers.mjs +0 -9
  369. package/esm2022/directives/hint/hint.service.mjs +0 -29
  370. package/esm2022/directives/hint/hints.component.mjs +0 -34
  371. package/esm2022/directives/hint/index.mjs +0 -17
  372. package/esm2022/directives/hint/taiga-ui-core-directives-hint.mjs +0 -5
  373. package/esm2022/directives/icons/icons.directive.mjs +0 -56
  374. package/esm2022/directives/icons/index.mjs +0 -3
  375. package/esm2022/directives/icons/taiga-ui-core-directives-icons.mjs +0 -5
  376. package/esm2022/directives/icons/with-icons.mjs +0 -22
  377. package/esm2022/directives/index.mjs +0 -12
  378. package/esm2022/directives/items-handlers/index.mjs +0 -4
  379. package/esm2022/directives/items-handlers/items-handlers.directive.mjs +0 -63
  380. package/esm2022/directives/items-handlers/items-handlers.tokens.mjs +0 -27
  381. package/esm2022/directives/items-handlers/items-handlers.validator.mjs +0 -32
  382. package/esm2022/directives/items-handlers/taiga-ui-core-directives-items-handlers.mjs +0 -5
  383. package/esm2022/directives/number-format/index.mjs +0 -2
  384. package/esm2022/directives/number-format/number-format.directive.mjs +0 -31
  385. package/esm2022/directives/number-format/taiga-ui-core-directives-number-format.mjs +0 -5
  386. package/esm2022/directives/popup/index.mjs +0 -4
  387. package/esm2022/directives/popup/popup.directive.mjs +0 -31
  388. package/esm2022/directives/popup/popup.service.mjs +0 -15
  389. package/esm2022/directives/popup/popups.component.mjs +0 -20
  390. package/esm2022/directives/popup/taiga-ui-core-directives-popup.mjs +0 -5
  391. package/esm2022/directives/surface/index.mjs +0 -2
  392. package/esm2022/directives/surface/surface.directive.mjs +0 -44
  393. package/esm2022/directives/surface/taiga-ui-core-directives-surface.mjs +0 -5
  394. package/esm2022/directives/taiga-ui-core-directives.mjs +0 -5
  395. package/esm2022/directives/title/index.mjs +0 -2
  396. package/esm2022/directives/title/taiga-ui-core-directives-title.mjs +0 -5
  397. package/esm2022/directives/title/title.directive.mjs +0 -37
  398. package/esm2022/index.mjs +0 -9
  399. package/esm2022/pipes/auto-color/auto-color.pipe.mjs +0 -19
  400. package/esm2022/pipes/auto-color/index.mjs +0 -2
  401. package/esm2022/pipes/auto-color/taiga-ui-core-pipes-auto-color.mjs +0 -5
  402. package/esm2022/pipes/calendar-sheet/calendar-sheet.pipe.mjs +0 -54
  403. package/esm2022/pipes/calendar-sheet/index.mjs +0 -2
  404. package/esm2022/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.mjs +0 -5
  405. package/esm2022/pipes/calendar-sheet/utils.mjs +0 -36
  406. package/esm2022/pipes/fallback-src/fallback-src.pipe.mjs +0 -23
  407. package/esm2022/pipes/fallback-src/index.mjs +0 -2
  408. package/esm2022/pipes/fallback-src/taiga-ui-core-pipes-fallback-src.mjs +0 -5
  409. package/esm2022/pipes/flag/flag.pipe.mjs +0 -26
  410. package/esm2022/pipes/flag/index.mjs +0 -2
  411. package/esm2022/pipes/flag/taiga-ui-core-pipes-flag.mjs +0 -5
  412. package/esm2022/pipes/format-date/format-date.pipe.mjs +0 -22
  413. package/esm2022/pipes/format-date/index.mjs +0 -2
  414. package/esm2022/pipes/format-date/taiga-ui-core-pipes-format-date.mjs +0 -5
  415. package/esm2022/pipes/format-number/format-number.pipe.mjs +0 -36
  416. package/esm2022/pipes/format-number/index.mjs +0 -2
  417. package/esm2022/pipes/format-number/taiga-ui-core-pipes-format-number.mjs +0 -5
  418. package/esm2022/pipes/index.mjs +0 -10
  419. package/esm2022/pipes/initials/index.mjs +0 -2
  420. package/esm2022/pipes/initials/initials.pipe.mjs +0 -23
  421. package/esm2022/pipes/initials/taiga-ui-core-pipes-initials.mjs +0 -5
  422. package/esm2022/pipes/month/index.mjs +0 -2
  423. package/esm2022/pipes/month/month.pipe.mjs +0 -23
  424. package/esm2022/pipes/month/taiga-ui-core-pipes-month.mjs +0 -5
  425. package/esm2022/pipes/order-week-days/index.mjs +0 -2
  426. package/esm2022/pipes/order-week-days/order-week-days.pipe.mjs +0 -30
  427. package/esm2022/pipes/order-week-days/taiga-ui-core-pipes-order-week-days.mjs +0 -5
  428. package/esm2022/pipes/taiga-ui-core-pipes.mjs +0 -5
  429. package/esm2022/services/breakpoint.service.mjs +0 -31
  430. package/esm2022/services/dark-theme.service.mjs +0 -24
  431. package/esm2022/services/format-date.service.mjs +0 -24
  432. package/esm2022/services/index.mjs +0 -6
  433. package/esm2022/services/position.service.mjs +0 -26
  434. package/esm2022/services/taiga-ui-core-services.mjs +0 -5
  435. package/esm2022/services/visual-viewport.service.mjs +0 -29
  436. package/esm2022/taiga-ui-core.mjs +0 -5
  437. package/esm2022/tokens/animations-speed.mjs +0 -9
  438. package/esm2022/tokens/assets-path.mjs +0 -11
  439. package/esm2022/tokens/auxiliary.mjs +0 -9
  440. package/esm2022/tokens/common-icons.mjs +0 -18
  441. package/esm2022/tokens/dark-mode.mjs +0 -41
  442. package/esm2022/tokens/date-format.mjs +0 -20
  443. package/esm2022/tokens/day-type-handler.mjs +0 -8
  444. package/esm2022/tokens/first-day-of-week.mjs +0 -9
  445. package/esm2022/tokens/i18n.mjs +0 -45
  446. package/esm2022/tokens/icon-resolver.mjs +0 -22
  447. package/esm2022/tokens/icon.mjs +0 -8
  448. package/esm2022/tokens/icons.mjs +0 -21
  449. package/esm2022/tokens/index.mjs +0 -21
  450. package/esm2022/tokens/media.mjs +0 -12
  451. package/esm2022/tokens/number-format.mjs +0 -24
  452. package/esm2022/tokens/reduced-motion.mjs +0 -7
  453. package/esm2022/tokens/scroll-ref.mjs +0 -6
  454. package/esm2022/tokens/selection-stream.mjs +0 -14
  455. package/esm2022/tokens/spin-icons.mjs +0 -8
  456. package/esm2022/tokens/taiga-ui-core-tokens.mjs +0 -5
  457. package/esm2022/tokens/theme.mjs +0 -5
  458. package/esm2022/tokens/viewport.mjs +0 -35
  459. package/esm2022/types/direction.mjs +0 -2
  460. package/esm2022/types/index.mjs +0 -2
  461. package/esm2022/types/interactive-state.mjs +0 -2
  462. package/esm2022/types/orientation.mjs +0 -2
  463. package/esm2022/types/point.mjs +0 -2
  464. package/esm2022/types/portal-item.mjs +0 -2
  465. package/esm2022/types/range-state.mjs +0 -2
  466. package/esm2022/types/size.mjs +0 -13
  467. package/esm2022/types/taiga-ui-core-types.mjs +0 -5
  468. package/esm2022/types/value-content-context.mjs +0 -2
  469. package/esm2022/utils/dom/check-fixed-position.mjs +0 -9
  470. package/esm2022/utils/dom/get-viewport.mjs +0 -24
  471. package/esm2022/utils/dom/get-word-range.mjs +0 -51
  472. package/esm2022/utils/dom/index.mjs +0 -4
  473. package/esm2022/utils/dom/taiga-ui-core-utils-dom.mjs +0 -5
  474. package/esm2022/utils/format/format-number.mjs +0 -47
  475. package/esm2022/utils/format/get-fractional-part-padded.mjs +0 -16
  476. package/esm2022/utils/format/index.mjs +0 -5
  477. package/esm2022/utils/format/number-to-string-without-exp.mjs +0 -18
  478. package/esm2022/utils/format/string-hash-to-hsl.mjs +0 -21
  479. package/esm2022/utils/format/taiga-ui-core-utils-format.mjs +0 -5
  480. package/esm2022/utils/index.mjs +0 -4
  481. package/esm2022/utils/miscellaneous/font-scaling.mjs +0 -11
  482. package/esm2022/utils/miscellaneous/index.mjs +0 -7
  483. package/esm2022/utils/miscellaneous/is-editing-key.mjs +0 -18
  484. package/esm2022/utils/miscellaneous/is-obscured.mjs +0 -8
  485. package/esm2022/utils/miscellaneous/override-options.mjs +0 -11
  486. package/esm2022/utils/miscellaneous/size-bigger.mjs +0 -19
  487. package/esm2022/utils/miscellaneous/taiga-ui-core-utils-miscellaneous.mjs +0 -5
  488. package/esm2022/utils/miscellaneous/to-animation-options.mjs +0 -16
  489. package/esm2022/utils/taiga-ui-core-utils.mjs +0 -5
  490. package/fesm2022/taiga-ui-core-components-fullscreen.mjs +0 -73
  491. package/fesm2022/taiga-ui-core-components-fullscreen.mjs.map +0 -1
  492. package/fesm2022/taiga-ui-core-directives-surface.mjs +0 -50
  493. package/fesm2022/taiga-ui-core-directives-surface.mjs.map +0 -1
  494. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs +0 -29
  495. package/fesm2022/taiga-ui-core-pipes-fallback-src.mjs.map +0 -1
  496. package/pipes/fallback-src/fallback-src.pipe.d.ts +0 -9
  497. package/pipes/fallback-src/index.d.ts +0 -1
  498. package/types/portal-item.d.ts +0 -9
@@ -0,0 +1,73 @@
1
+ import * as i0 from '@angular/core';
2
+ import { ChangeDetectionStrategy, ViewEncapsulation, Component, Directive, inject, Injectable } from '@angular/core';
3
+ import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
+ import { injectContext } from '@taiga-ui/polymorpheus';
5
+ import { TuiPortal } from '@taiga-ui/cdk/portals';
6
+ import { TuiPopupService } from '@taiga-ui/core/directives/popup';
7
+
8
+ class Styles {
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
10
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-notification-styles" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiPopover]{position:relative;display:grid;grid-column:1;place-self:start start;isolation:isolate;--tui-from: translateX(-100%)}[tuiPopover][data-inline=end]{justify-self:end;--tui-from: translateX(100%)}[tuiPopover][data-inline=center]{justify-self:center;--tui-from: translateY(-100%)}[tuiPopover][data-block=end]{align-self:end}[tuiPopover][data-block=end][data-inline=center]{--tui-from: translateY(100%)}[tuiPopover][data-block=end]:nth-of-type(1){grid-row:11}[tuiPopover][data-block=end]:nth-of-type(2){grid-row:12}[tuiPopover][data-block=end]:nth-of-type(3){grid-row:13}[tuiPopover][data-block=end]:nth-of-type(4){grid-row:14}[tuiPopover][data-block=end]:nth-of-type(5){grid-row:15}[tuiPopover][data-block=end]:nth-of-type(6){grid-row:16}[tuiPopover][data-block=end]:nth-of-type(7){grid-row:17}[tuiPopover][data-block=end]:nth-of-type(8){grid-row:18}[tuiPopover].tui-enter,[tuiPopover].tui-leave{animation-name:tuiFade,tuiSlide,tuiCollapse}[tuiPopover]:not(:first-of-type){margin-block-start:0}[tuiPopover]:not(:last-of-type){margin-block-end:0}[tuiPopover]:nth-of-type(1){grid-row:5}[tuiPopover]:nth-of-type(2){grid-row:6}[tuiPopover]:nth-of-type(3){grid-row:7}[tuiPopover]:nth-of-type(4){grid-row:8}[tuiPopover]:nth-of-type(5){grid-row:9}[tuiPopover]>*{grid-row:1 / span 2}[tuiPopover]>*:before,[tuiPopover]>*:after{content:\"\";display:block;block-size:.375rem}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
11
+ }
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
13
+ type: Component,
14
+ args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-notification-styles' }, styles: ["[tuiPopover]{position:relative;display:grid;grid-column:1;place-self:start start;isolation:isolate;--tui-from: translateX(-100%)}[tuiPopover][data-inline=end]{justify-self:end;--tui-from: translateX(100%)}[tuiPopover][data-inline=center]{justify-self:center;--tui-from: translateY(-100%)}[tuiPopover][data-block=end]{align-self:end}[tuiPopover][data-block=end][data-inline=center]{--tui-from: translateY(100%)}[tuiPopover][data-block=end]:nth-of-type(1){grid-row:11}[tuiPopover][data-block=end]:nth-of-type(2){grid-row:12}[tuiPopover][data-block=end]:nth-of-type(3){grid-row:13}[tuiPopover][data-block=end]:nth-of-type(4){grid-row:14}[tuiPopover][data-block=end]:nth-of-type(5){grid-row:15}[tuiPopover][data-block=end]:nth-of-type(6){grid-row:16}[tuiPopover][data-block=end]:nth-of-type(7){grid-row:17}[tuiPopover][data-block=end]:nth-of-type(8){grid-row:18}[tuiPopover].tui-enter,[tuiPopover].tui-leave{animation-name:tuiFade,tuiSlide,tuiCollapse}[tuiPopover]:not(:first-of-type){margin-block-start:0}[tuiPopover]:not(:last-of-type){margin-block-end:0}[tuiPopover]:nth-of-type(1){grid-row:5}[tuiPopover]:nth-of-type(2){grid-row:6}[tuiPopover]:nth-of-type(3){grid-row:7}[tuiPopover]:nth-of-type(4){grid-row:8}[tuiPopover]:nth-of-type(5){grid-row:9}[tuiPopover]>*{grid-row:1 / span 2}[tuiPopover]>*:before,[tuiPopover]>*:after{content:\"\";display:block;block-size:.375rem}\n"] }]
15
+ }] });
16
+ class TuiNotificationDirective {
17
+ constructor() {
18
+ this.nothing = tuiWithStyles(Styles);
19
+ this.context = injectContext();
20
+ }
21
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNotificationDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiNotificationDirective, isStandalone: true, host: { attributes: { "role": "alert", "tuiPopover": "" }, properties: { "attr.data-block": "context.block", "attr.data-inline": "context.inline" } }, ngImport: i0 }); }
23
+ }
24
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNotificationDirective, decorators: [{
25
+ type: Directive,
26
+ args: [{
27
+ host: {
28
+ role: 'alert',
29
+ tuiPopover: '',
30
+ '[attr.data-block]': 'context.block',
31
+ '[attr.data-inline]': 'context.inline',
32
+ },
33
+ }]
34
+ }] });
35
+
36
+ class TuiNotificationService extends TuiPortal {
37
+ constructor(concurrency) {
38
+ super(inject(TuiPopupService));
39
+ this.current = new Map();
40
+ this.queue = new Set();
41
+ this.concurrency = Math.min(concurrency, 5);
42
+ }
43
+ add(component) {
44
+ if (this.current.size < this.concurrency) {
45
+ this.current.set(component, this.service.add(component));
46
+ }
47
+ else {
48
+ this.queue.add(component);
49
+ }
50
+ return () => {
51
+ this.current.get(component)?.destroy();
52
+ this.current.delete(component);
53
+ this.queue.delete(component);
54
+ const [next] = this.queue;
55
+ if (this.current.size < this.concurrency && next) {
56
+ this.current.set(next, this.service.add(next));
57
+ this.queue.delete(next);
58
+ }
59
+ };
60
+ }
61
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNotificationService, deps: "invalid", target: i0.ɵɵFactoryTarget.Injectable }); }
62
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNotificationService }); }
63
+ }
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNotificationService, decorators: [{
65
+ type: Injectable
66
+ }], ctorParameters: () => [{ type: undefined }] });
67
+
68
+ /**
69
+ * Generated bundle index. Do not edit.
70
+ */
71
+
72
+ export { TuiNotificationDirective, TuiNotificationService };
73
+ //# sourceMappingURL=taiga-ui-core-directives-notification.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"taiga-ui-core-directives-notification.mjs","sources":["../../../projects/core/directives/notification/notification.directive.ts","../../../projects/core/directives/notification/notification.service.ts","../../../projects/core/directives/notification/taiga-ui-core-directives-notification.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {injectContext} from '@taiga-ui/polymorpheus';\n\nexport interface TuiPositionOptions {\n readonly block: 'end' | 'start';\n readonly inline: 'center' | 'end' | 'start';\n}\n\n@Component({\n template: '',\n styleUrl: './notification.style.less',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-notification-styles'},\n})\nclass Styles {}\n\n@Directive({\n host: {\n role: 'alert',\n tuiPopover: '',\n '[attr.data-block]': 'context.block',\n '[attr.data-inline]': 'context.inline',\n },\n})\nexport class TuiNotificationDirective {\n protected readonly nothing = tuiWithStyles(Styles);\n protected readonly context = injectContext<TuiPositionOptions>();\n}\n","import {type ComponentRef, inject, Injectable} from '@angular/core';\nimport {TuiPortal} from '@taiga-ui/cdk/portals';\nimport {TuiPopupService} from '@taiga-ui/core/directives/popup';\nimport {type PolymorpheusComponent} from '@taiga-ui/polymorpheus';\n\n@Injectable()\nexport abstract class TuiNotificationService<T, K = void> extends TuiPortal<T, K> {\n private readonly concurrency: number;\n private readonly current = new Map<unknown, ComponentRef<unknown>>();\n private readonly queue = new Set<PolymorpheusComponent<unknown>>();\n\n constructor(concurrency: number) {\n super(inject(TuiPopupService));\n this.concurrency = Math.min(concurrency, 5);\n }\n\n protected override add(component: PolymorpheusComponent<unknown>): () => void {\n if (this.current.size < this.concurrency) {\n this.current.set(component, this.service.add(component));\n } else {\n this.queue.add(component);\n }\n\n return () => {\n this.current.get(component)?.destroy();\n this.current.delete(component);\n this.queue.delete(component);\n\n const [next] = this.queue;\n\n if (this.current.size < this.concurrency && next) {\n this.current.set(next, this.service.add(next));\n this.queue.delete(next);\n }\n };\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAcA,MAOM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,E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,OAAO,CAAC,GAAG,CAAC,IAAI,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AAC9C,gBAAA,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC;;AAE/B,SAAC;;+GA5Ba,sBAAsB,EAAA,IAAA,EAAA,SAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;mHAAtB,sBAAsB,EAAA,CAAA,CAAA;;4FAAtB,sBAAsB,EAAA,UAAA,EAAA,CAAA;kBAD3C;;;ACLD;;AAEG;;;;"}
@@ -1,5 +1,5 @@
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 { tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
4
4
  import { TUI_NUMBER_FORMAT } from '@taiga-ui/core/tokens';
5
5
  import { Observable, combineLatest, map, ReplaySubject } from 'rxjs';
@@ -15,17 +15,17 @@ class TuiNumberFormat extends Observable {
15
15
  set tuiNumberFormat(format) {
16
16
  this.settings.next(format);
17
17
  }
18
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNumberFormat, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiNumberFormat, isStandalone: true, selector: "[tuiNumberFormat]", inputs: { tuiNumberFormat: "tuiNumberFormat" }, providers: [tuiProvide(TUI_NUMBER_FORMAT, TuiNumberFormat)], usesInheritance: true, ngImport: i0 }); }
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNumberFormat, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.15", type: TuiNumberFormat, isStandalone: true, selector: "[tuiNumberFormat]", inputs: { tuiNumberFormat: "tuiNumberFormat" }, providers: [tuiProvide(TUI_NUMBER_FORMAT, TuiNumberFormat)], usesInheritance: true, ngImport: i0 }); }
20
20
  }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiNumberFormat, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiNumberFormat, decorators: [{
22
22
  type: Directive,
23
23
  args: [{
24
24
  standalone: true,
25
25
  selector: '[tuiNumberFormat]',
26
26
  providers: [tuiProvide(TUI_NUMBER_FORMAT, TuiNumberFormat)],
27
27
  }]
28
- }], ctorParameters: function () { return []; }, propDecorators: { tuiNumberFormat: [{
28
+ }], ctorParameters: () => [], propDecorators: { tuiNumberFormat: [{
29
29
  type: Input
30
30
  }] } });
31
31
 
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-directives-number-format.mjs","sources":["../../../projects/core/directives/number-format/number-format.directive.ts","../../../projects/core/directives/number-format/taiga-ui-core-directives-number-format.ts"],"sourcesContent":["import {Directive, inject, Input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_NUMBER_FORMAT, type TuiNumberFormatSettings} from '@taiga-ui/core/tokens';\nimport {combineLatest, map, Observable, ReplaySubject} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiNumberFormat]',\n providers: [tuiProvide(TUI_NUMBER_FORMAT, TuiNumberFormat)],\n})\nexport class TuiNumberFormat extends Observable<TuiNumberFormatSettings> {\n private readonly settings = new ReplaySubject<Partial<TuiNumberFormatSettings>>(1);\n private readonly parent = inject(TUI_NUMBER_FORMAT, {skipSelf: true});\n\n constructor() {\n super((subscriber) =>\n combineLatest([this.parent, this.settings])\n .pipe(map(([parent, settings]) => ({...parent, ...settings})))\n .subscribe(subscriber),\n );\n }\n\n @Input()\n public set tuiNumberFormat(format: Partial<TuiNumberFormatSettings>) {\n this.settings.next(format);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAKA,MAKa,eAAgB,SAAQ,UAAmC,CAAA;AAIpE,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,CAAC,UAAU,KACb,aAAa,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;aACtC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAC,GAAG,MAAM,EAAE,GAAG,QAAQ,EAAC,CAAC,CAAC,CAAC;AAC7D,aAAA,SAAS,CAAC,UAAU,CAAC,CAC7B,CAAC;AARW,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,aAAa,CAAmC,CAAC,CAAC,CAAC;QAClE,IAAM,CAAA,MAAA,GAAG,MAAM,CAAC,iBAAiB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC;KAQrE;IAED,IACW,eAAe,CAAC,MAAwC,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KAC9B;+GAfQ,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,SAAA,EAFb,CAAC,UAAU,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAElD,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,SAAS,EAAE,CAAC,UAAU,CAAC,iBAAiB,kBAAkB,CAAC;AAC9D,iBAAA,CAAA;0EAcc,eAAe,EAAA,CAAA;sBADzB,KAAK;;;ACtBV;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-directives-number-format.mjs","sources":["../../../projects/core/directives/number-format/number-format.directive.ts","../../../projects/core/directives/number-format/taiga-ui-core-directives-number-format.ts"],"sourcesContent":["import {Directive, inject, Input} from '@angular/core';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {TUI_NUMBER_FORMAT, type TuiNumberFormatSettings} from '@taiga-ui/core/tokens';\nimport {combineLatest, map, Observable, ReplaySubject} from 'rxjs';\n\n@Directive({\n standalone: true,\n selector: '[tuiNumberFormat]',\n providers: [tuiProvide(TUI_NUMBER_FORMAT, TuiNumberFormat)],\n})\nexport class TuiNumberFormat extends Observable<TuiNumberFormatSettings> {\n private readonly settings = new ReplaySubject<Partial<TuiNumberFormatSettings>>(1);\n private readonly parent = inject(TUI_NUMBER_FORMAT, {skipSelf: true});\n\n constructor() {\n super((subscriber) =>\n combineLatest([this.parent, this.settings])\n .pipe(map(([parent, settings]) => ({...parent, ...settings})))\n .subscribe(subscriber),\n );\n }\n\n @Input()\n public set tuiNumberFormat(format: Partial<TuiNumberFormatSettings>) {\n this.settings.next(format);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAUM,MAAO,eAAgB,SAAQ,UAAmC,CAAA;AAIpE,IAAA,WAAA,GAAA;AACI,QAAA,KAAK,CAAC,CAAC,UAAU,KACb,aAAa,CAAC,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC;aACrC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,EAAC,GAAG,MAAM,EAAE,GAAG,QAAQ,EAAC,CAAC,CAAC;AAC5D,aAAA,SAAS,CAAC,UAAU,CAAC,CAC7B;AARY,QAAA,IAAA,CAAA,QAAQ,GAAG,IAAI,aAAa,CAAmC,CAAC,CAAC;QACjE,IAAM,CAAA,MAAA,GAAG,MAAM,CAAC,iBAAiB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC;;IAUrE,IACW,eAAe,CAAC,MAAwC,EAAA;AAC/D,QAAA,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC;;+GAdrB,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,MAAA,EAAA,EAAA,eAAA,EAAA,iBAAA,EAAA,EAAA,SAAA,EAFb,CAAC,UAAU,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC,EAAA,eAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAElD,eAAe,EAAA,UAAA,EAAA,CAAA;kBAL3B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,SAAS,EAAE,CAAC,UAAU,CAAC,iBAAiB,kBAAkB,CAAC;AAC9D,iBAAA;wDAcc,eAAe,EAAA,CAAA;sBADzB;;;ACtBL;;AAEG;;;;"}
@@ -1,12 +1,13 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, inject, TemplateRef, Directive, Input, Component, ChangeDetectionStrategy } from '@angular/core';
3
- import { TuiPortalService, TuiPortals, tuiAsPortal } from '@taiga-ui/cdk/classes';
2
+ import { Injectable, inject, TemplateRef, input, Directive, ChangeDetectionStrategy, Component } from '@angular/core';
3
+ import { TuiPortalService, TuiPortals } from '@taiga-ui/cdk/portals';
4
+ import { tuiProvide } from '@taiga-ui/cdk/utils/miscellaneous';
4
5
 
5
6
  class TuiPopupService extends TuiPortalService {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPopupService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
7
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPopupService, providedIn: 'root' }); }
7
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPopupService, deps: null, target: i0.ɵɵFactoryTarget.Injectable }); }
8
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPopupService, providedIn: 'root' }); }
8
9
  }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPopupService, decorators: [{
10
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPopupService, decorators: [{
10
11
  type: Injectable,
11
12
  args: [{
12
13
  providedIn: 'root',
@@ -17,42 +18,34 @@ class TuiPopup {
17
18
  constructor() {
18
19
  this.template = inject(TemplateRef);
19
20
  this.service = inject(TuiPopupService);
21
+ this.show = input(false, { alias: 'tuiPopup' });
20
22
  }
21
- set tuiPopup(show) {
22
- this.viewRef?.destroy();
23
- if (show) {
24
- this.viewRef = this.service.addTemplate(this.template);
23
+ ngOnChanges() {
24
+ this.ref?.destroy();
25
+ if (this.show()) {
26
+ this.ref = this.service.add(this.template);
25
27
  }
26
28
  }
27
29
  ngOnDestroy() {
28
- this.viewRef?.destroy();
30
+ this.ref?.destroy();
29
31
  }
30
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPopup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
31
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiPopup, isStandalone: true, selector: "ng-template[tuiPopup]", inputs: { tuiPopup: "tuiPopup" }, ngImport: i0 }); }
32
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPopup, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
33
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiPopup, isStandalone: true, selector: "ng-template[tuiPopup]", inputs: { show: { classPropertyName: "show", publicName: "tuiPopup", isSignal: true, isRequired: false, transformFunction: null } }, usesOnChanges: true, ngImport: i0 }); }
32
34
  }
33
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPopup, decorators: [{
35
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPopup, decorators: [{
34
36
  type: Directive,
35
37
  args: [{
36
- standalone: true,
37
38
  selector: 'ng-template[tuiPopup]',
38
39
  }]
39
- }], propDecorators: { tuiPopup: [{
40
- type: Input
41
- }] } });
40
+ }] });
42
41
 
43
42
  class TuiPopups extends TuiPortals {
44
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPopups, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
45
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiPopups, isStandalone: true, selector: "tui-popups", providers: [tuiAsPortal(TuiPopupService)], usesInheritance: true, ngImport: i0, template: '<ng-container #viewContainer />', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
43
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPopups, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
44
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: TuiPopups, isStandalone: true, selector: "tui-popups", providers: [tuiProvide(TuiPortalService, TuiPopupService)], usesInheritance: true, ngImport: i0, template: '<ng-content/><ng-container #vcr />', isInline: true, styles: [":host{position:fixed;top:0;left:0;inline-size:100%;block-size:100%;display:grid;grid-template-rows:repeat(9,min-content) 1fr;pointer-events:none;overflow:hidden;overflow-wrap:break-word;box-sizing:border-box;padding:env(safe-area-inset-top) env(safe-area-inset-left) env(safe-area-inset-bottom) env(safe-area-inset-right)}:host ::ng-deep>*{pointer-events:auto}:host:after{content:\"\";grid-row:10}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
46
45
  }
47
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiPopups, decorators: [{
46
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiPopups, decorators: [{
48
47
  type: Component,
49
- args: [{
50
- standalone: true,
51
- selector: 'tui-popups',
52
- template: '<ng-container #viewContainer />',
53
- changeDetection: ChangeDetectionStrategy.OnPush,
54
- providers: [tuiAsPortal(TuiPopupService)],
55
- }]
48
+ args: [{ selector: 'tui-popups', template: '<ng-content/><ng-container #vcr />', changeDetection: ChangeDetectionStrategy.OnPush, providers: [tuiProvide(TuiPortalService, TuiPopupService)], styles: [":host{position:fixed;top:0;left:0;inline-size:100%;block-size:100%;display:grid;grid-template-rows:repeat(9,min-content) 1fr;pointer-events:none;overflow:hidden;overflow-wrap:break-word;box-sizing:border-box;padding:env(safe-area-inset-top) env(safe-area-inset-left) env(safe-area-inset-bottom) env(safe-area-inset-right)}:host ::ng-deep>*{pointer-events:auto}:host:after{content:\"\";grid-row:10}\n"] }]
56
49
  }] });
57
50
 
58
51
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-directives-popup.mjs","sources":["../../../projects/core/directives/popup/popup.service.ts","../../../projects/core/directives/popup/popup.directive.ts","../../../projects/core/directives/popup/popups.component.ts","../../../projects/core/directives/popup/taiga-ui-core-directives-popup.ts"],"sourcesContent":["import {Injectable} from '@angular/core';\nimport {TuiPortalService} from '@taiga-ui/cdk/classes';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiPopupService extends TuiPortalService {}\n","import {\n Directive,\n type EmbeddedViewRef,\n inject,\n Input,\n type OnDestroy,\n TemplateRef,\n} from '@angular/core';\n\nimport {TuiPopupService} from './popup.service';\n\n@Directive({\n standalone: true,\n selector: 'ng-template[tuiPopup]',\n})\nexport class TuiPopup implements OnDestroy {\n private readonly template = inject(TemplateRef);\n private readonly service = inject(TuiPopupService);\n\n private viewRef?: EmbeddedViewRef<unknown>;\n\n @Input()\n public set tuiPopup(show: boolean) {\n this.viewRef?.destroy();\n\n if (show) {\n this.viewRef = this.service.addTemplate(this.template);\n }\n }\n\n public ngOnDestroy(): void {\n this.viewRef?.destroy();\n }\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {tuiAsPortal, TuiPortals} from '@taiga-ui/cdk/classes';\n\nimport {TuiPopupService} from './popup.service';\n\n@Component({\n standalone: true,\n selector: 'tui-popups',\n template: '<ng-container #viewContainer />',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiAsPortal(TuiPopupService)],\n})\nexport class TuiPopups extends TuiPortals {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MAGa,eAAgB,SAAQ,gBAAgB,CAAA;+GAAxC,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;AAAf,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAA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c,QAAQ,EAAA,CAAA;sBADlB,KAAK;;;AChBV,MAOa,SAAU,SAAQ,UAAU,CAAA;+GAA5B,SAAS,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;mGAAT,SAAS,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,YAAA,EAAA,SAAA,EAFP,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC,iDAF/B,iCAAiC,EAAA,QAAA,EAAA,IAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;4FAIlC,SAAS,EAAA,UAAA,EAAA,CAAA;kBAPrB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,QAAQ,EAAE,iCAAiC;oBAC3C,eAAe,EAAE,uBAAuB,CAAC,MAAM;AAC/C,oBAAA,SAAS,EAAE,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;AAC5C,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-directives-popup.mjs","sources":["../../../projects/core/directives/popup/popup.service.ts","../../../projects/core/directives/popup/popup.directive.ts","../../../projects/core/directives/popup/popups.component.ts","../../../projects/core/directives/popup/taiga-ui-core-directives-popup.ts"],"sourcesContent":["import {Injectable} from '@angular/core';\nimport {TuiPortalService} from '@taiga-ui/cdk/portals';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiPopupService extends TuiPortalService {}\n","import {\n Directive,\n type EmbeddedViewRef,\n inject,\n input,\n type OnChanges,\n type OnDestroy,\n TemplateRef,\n} from '@angular/core';\n\nimport {TuiPopupService} from './popup.service';\n\n@Directive({\n selector: 'ng-template[tuiPopup]',\n})\nexport class TuiPopup implements OnChanges, OnDestroy {\n private readonly template = inject(TemplateRef);\n private readonly service = inject(TuiPopupService);\n private ref?: EmbeddedViewRef<unknown>;\n\n public readonly show = input(false, {alias: 'tuiPopup'});\n\n public ngOnChanges(): void {\n this.ref?.destroy();\n\n if (this.show()) {\n this.ref = this.service.add(this.template);\n }\n }\n\n public ngOnDestroy(): void {\n this.ref?.destroy();\n }\n}\n","import {ChangeDetectionStrategy, Component} from '@angular/core';\nimport {TuiPortals, TuiPortalService} from '@taiga-ui/cdk/portals';\nimport {tuiProvide} from '@taiga-ui/cdk/utils/miscellaneous';\n\nimport {TuiPopupService} from './popup.service';\n\n@Component({\n selector: 'tui-popups',\n template: '<ng-content/><ng-container #vcr />',\n styleUrl: './popups.style.less',\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [tuiProvide(TuiPortalService, TuiPopupService)],\n})\nexport class TuiPopups extends TuiPortals {}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAMM,MAAO,eAAgB,SAAQ,gBAAgB,CAAA;+GAAxC,eAAe,EAAA,IAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,IAAA,SAAA,IAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cAFZ,MAAM,EAAA,CAAA,CAAA;;4FAET,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,UAAU,EAAE,MAAM;AACrB,iBAAA;;;MCUY,QAAQ,CAAA;AAHrB,IAAA,WAAA,GAAA;AAIqB,QAAA,IAAA,CAAA,QAAQ,GAAG,MAAM,CAAC,WAAW,CAAC;AAC9B,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,eAAe,CAAC;QAGlC,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EAAA,QAAA,EAHhD,oCAAoC,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,iZAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA;;4FAKrC,SAAS,EAAA,UAAA,EAAA,CAAA;kBAPrB,SAAS;AACI,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,YAAY,EACZ,QAAA,EAAA,oCAAoC,EAE7B,eAAA,EAAA,uBAAuB,CAAC,MAAM,EAAA,SAAA,EACpC,CAAC,UAAU,CAAC,gBAAgB,EAAE,eAAe,CAAC,CAAC,EAAA,MAAA,EAAA,CAAA,iZAAA,CAAA,EAAA;;;ACX9D;;AAEG;;;;"}
@@ -1,39 +1,33 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ViewEncapsulation, ChangeDetectionStrategy, Directive, Input } from '@angular/core';
2
+ import { ChangeDetectionStrategy, ViewEncapsulation, Component, input, Directive } from '@angular/core';
3
3
  import { tuiWithStyles } from '@taiga-ui/cdk/utils/miscellaneous';
4
4
 
5
- class TuiTitleStyles {
6
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTitleStyles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: TuiTitleStyles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-title" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiTitle]{position:relative;display:flex;min-inline-size:0;flex-direction:column;text-align:start;gap:.25rem;margin:0;font:var(--tui-font-text-ui-m)}[tuiTitle][data-size=s]{gap:.125rem;font:var(--tui-font-text-s)}[tuiTitle][data-size=s] [tuiSubtitle]{font:var(--tui-font-text-xs)}[tuiTitle][data-size=m]{gap:.125rem;font:var(--tui-font-heading-5)}[tuiTitle][data-size=m] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle][data-size=l]{gap:.5rem;font:var(--tui-font-heading-3)}[tuiTitle][data-size=l] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle] h1,[tuiTitle] h2,[tuiTitle] h3,[tuiTitle] h4,[tuiTitle] h5,[tuiTitle] h6{margin:0;font:inherit}[tuiSubtitle]{font:var(--tui-font-text-ui-s);margin:0}[tuiButton] [tuiTitle]{margin-inline-end:auto}[tuiButton] [tuiTitle] [tuiSubtitle]{color:var(--tui-text-secondary)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
5
+ class Styles {
6
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
7
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.15", type: Styles, isStandalone: true, selector: "ng-component", host: { classAttribute: "tui-title" }, ngImport: i0, template: '', isInline: true, styles: ["[tuiTitle]{position:relative;display:flex;min-inline-size:0;flex-direction:column;text-align:start;gap:.25rem;margin:0;font:var(--tui-font-text-ui-m)}[tuiTitle][data-size=s]{gap:.125rem;font:var(--tui-font-text-s)}[tuiTitle][data-size=s] [tuiSubtitle]{font:var(--tui-font-text-xs)}[tuiTitle][data-size=m]{gap:.125rem;font:var(--tui-font-heading-5)}[tuiTitle][data-size=m] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle][data-size=l]{gap:.5rem;font:var(--tui-font-heading-3)}[tuiTitle][data-size=l] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle] h1,[tuiTitle] h2,[tuiTitle] h3,[tuiTitle] h4,[tuiTitle] h5,[tuiTitle] h6{margin:0;font:inherit}[tuiSubtitle]{font:var(--tui-font-text-ui-s);margin:0}[tuiButton] [tuiTitle]{margin-inline-end:auto}[tuiButton] [tuiTitle] [tuiSubtitle]{color:var(--tui-text-secondary)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
8
8
  }
9
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTitleStyles, decorators: [{
9
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: Styles, decorators: [{
10
10
  type: Component,
11
- args: [{ standalone: true, template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: {
12
- class: 'tui-title',
13
- }, styles: ["[tuiTitle]{position:relative;display:flex;min-inline-size:0;flex-direction:column;text-align:start;gap:.25rem;margin:0;font:var(--tui-font-text-ui-m)}[tuiTitle][data-size=s]{gap:.125rem;font:var(--tui-font-text-s)}[tuiTitle][data-size=s] [tuiSubtitle]{font:var(--tui-font-text-xs)}[tuiTitle][data-size=m]{gap:.125rem;font:var(--tui-font-heading-5)}[tuiTitle][data-size=m] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle][data-size=l]{gap:.5rem;font:var(--tui-font-heading-3)}[tuiTitle][data-size=l] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle] h1,[tuiTitle] h2,[tuiTitle] h3,[tuiTitle] h4,[tuiTitle] h5,[tuiTitle] h6{margin:0;font:inherit}[tuiSubtitle]{font:var(--tui-font-text-ui-s);margin:0}[tuiButton] [tuiTitle]{margin-inline-end:auto}[tuiButton] [tuiTitle] [tuiSubtitle]{color:var(--tui-text-secondary)}\n"] }]
11
+ args: [{ template: '', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, host: { class: 'tui-title' }, styles: ["[tuiTitle]{position:relative;display:flex;min-inline-size:0;flex-direction:column;text-align:start;gap:.25rem;margin:0;font:var(--tui-font-text-ui-m)}[tuiTitle][data-size=s]{gap:.125rem;font:var(--tui-font-text-s)}[tuiTitle][data-size=s] [tuiSubtitle]{font:var(--tui-font-text-xs)}[tuiTitle][data-size=m]{gap:.125rem;font:var(--tui-font-heading-5)}[tuiTitle][data-size=m] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle][data-size=l]{gap:.5rem;font:var(--tui-font-heading-3)}[tuiTitle][data-size=l] [tuiSubtitle]{font:var(--tui-font-text-m)}[tuiTitle] h1,[tuiTitle] h2,[tuiTitle] h3,[tuiTitle] h4,[tuiTitle] h5,[tuiTitle] h6{margin:0;font:inherit}[tuiSubtitle]{font:var(--tui-font-text-ui-s);margin:0}[tuiButton] [tuiTitle]{margin-inline-end:auto}[tuiButton] [tuiTitle] [tuiSubtitle]{color:var(--tui-text-secondary)}\n"] }]
14
12
  }] });
15
13
  class TuiTitle {
16
14
  constructor() {
17
- this.nothing = tuiWithStyles(TuiTitleStyles);
18
- this.size = '';
15
+ this.nothing = tuiWithStyles(Styles);
16
+ this.tuiTitle = input('');
19
17
  }
20
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
21
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: TuiTitle, isStandalone: true, selector: "[tuiTitle]", inputs: { size: ["tuiTitle", "size"] }, host: { attributes: { "tuiTitle": "" }, properties: { "attr.data-size": "size || null" } }, ngImport: i0 }); }
18
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTitle, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
19
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.15", type: TuiTitle, isStandalone: true, selector: "[tuiTitle]", inputs: { tuiTitle: { classPropertyName: "tuiTitle", publicName: "tuiTitle", isSignal: true, isRequired: false, transformFunction: null } }, host: { attributes: { "tuiTitle": "" }, properties: { "attr.data-size": "tuiTitle() || null" } }, ngImport: i0 }); }
22
20
  }
23
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiTitle, decorators: [{
21
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiTitle, decorators: [{
24
22
  type: Directive,
25
23
  args: [{
26
- standalone: true,
27
24
  selector: '[tuiTitle]',
28
25
  host: {
29
26
  tuiTitle: '',
30
- '[attr.data-size]': 'size || null',
27
+ '[attr.data-size]': 'tuiTitle() || null',
31
28
  },
32
29
  }]
33
- }], propDecorators: { size: [{
34
- type: Input,
35
- args: ['tuiTitle']
36
- }] } });
30
+ }] });
37
31
 
38
32
  /**
39
33
  * Generated bundle index. Do not edit.
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-directives-title.mjs","sources":["../../../projects/core/directives/title/title.directive.ts","../../../projects/core/directives/title/taiga-ui-core-directives-title.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n Input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\n@Component({\n standalone: true,\n template: '',\n styles: ['@import \"@taiga-ui/core/styles/components/title.less\";'],\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {\n class: 'tui-title',\n },\n})\nclass TuiTitleStyles {}\n\n@Directive({\n standalone: true,\n selector: '[tuiTitle]',\n host: {\n tuiTitle: '',\n '[attr.data-size]': 'size || null',\n },\n})\nexport class TuiTitle {\n protected readonly nothing = tuiWithStyles(TuiTitleStyles);\n\n @Input('tuiTitle')\n public size: TuiSizeL | TuiSizeS | '' = '';\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAUA,MAUM,cAAc,CAAA;+GAAd,cAAc,EAAA,IAAA,EAAA,EAAA,EAAA,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EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;4FAAR,QAAQ,EAAA,UAAA,EAAA,CAAA;kBARpB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,IAAI,EAAE;AACF,wBAAA,QAAQ,EAAE,EAAE;AACZ,wBAAA,kBAAkB,EAAE,cAAc;AACrC,qBAAA;AACJ,iBAAA,CAAA;8BAKU,IAAI,EAAA,CAAA;sBADV,KAAK;uBAAC,UAAU,CAAA;;;ACjCrB;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-directives-title.mjs","sources":["../../../projects/core/directives/title/title.directive.ts","../../../projects/core/directives/title/taiga-ui-core-directives-title.ts"],"sourcesContent":["import {\n ChangeDetectionStrategy,\n Component,\n Directive,\n input,\n ViewEncapsulation,\n} from '@angular/core';\nimport {tuiWithStyles} from '@taiga-ui/cdk/utils/miscellaneous';\nimport {type TuiSizeL, type TuiSizeS} from '@taiga-ui/core/types';\n\n@Component({\n template: '',\n styles: '@import \"@taiga-ui/core/styles/components/title.less\";',\n encapsulation: ViewEncapsulation.None,\n changeDetection: ChangeDetectionStrategy.OnPush,\n host: {class: 'tui-title'},\n})\nclass Styles {}\n\n@Directive({\n selector: '[tuiTitle]',\n host: {\n tuiTitle: '',\n '[attr.data-size]': 'tuiTitle() || null',\n },\n})\nexport class TuiTitle {\n protected readonly nothing = tuiWithStyles(Styles);\n\n public readonly tuiTitle = input<TuiSizeL | TuiSizeS | ''>('');\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAUA,MAOM,MAAM,CAAA;+GAAN,MAAM,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAN,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,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QAAQ,EAAA,UAAA,EAAA,CAAA;kBAPpB,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACP,oBAAA,QAAQ,EAAE,YAAY;AACtB,oBAAA,IAAI,EAAE;AACF,wBAAA,QAAQ,EAAE,EAAE;AACZ,wBAAA,kBAAkB,EAAE,oBAAoB;AAC3C,qBAAA;AACJ,iBAAA;;;ACzBD;;AAEG;;;;"}
@@ -5,9 +5,9 @@ export * from '@taiga-ui/core/directives/group';
5
5
  export * from '@taiga-ui/core/directives/hint';
6
6
  export * from '@taiga-ui/core/directives/icons';
7
7
  export * from '@taiga-ui/core/directives/items-handlers';
8
+ export * from '@taiga-ui/core/directives/notification';
8
9
  export * from '@taiga-ui/core/directives/number-format';
9
10
  export * from '@taiga-ui/core/directives/popup';
10
- export * from '@taiga-ui/core/directives/surface';
11
11
  export * from '@taiga-ui/core/directives/title';
12
12
 
13
13
  /**
@@ -6,10 +6,10 @@ class TuiAutoColorPipe {
6
6
  transform(text) {
7
7
  return tuiStringHashToHsl(text);
8
8
  }
9
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAutoColorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
10
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiAutoColorPipe, isStandalone: true, name: "tuiAutoColor" }); }
9
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAutoColorPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
10
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiAutoColorPipe, isStandalone: true, name: "tuiAutoColor" }); }
11
11
  }
12
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiAutoColorPipe, decorators: [{
12
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiAutoColorPipe, decorators: [{
13
13
  type: Pipe,
14
14
  args: [{
15
15
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-auto-color.mjs","sources":["../../../projects/core/pipes/auto-color/auto-color.pipe.ts","../../../projects/core/pipes/auto-color/taiga-ui-core-pipes-auto-color.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {tuiStringHashToHsl} from '@taiga-ui/core/utils';\n\n@Pipe({\n standalone: true,\n name: 'tuiAutoColor',\n})\nexport class TuiAutoColorPipe implements PipeTransform {\n public transform(text: string): string {\n return tuiStringHashToHsl(text);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAGA,MAIa,gBAAgB,CAAA;AAClB,IAAA,SAAS,CAAC,IAAY,EAAA;AACzB,QAAA,OAAO,kBAAkB,CAAC,IAAI,CAAC,CAAC;KACnC;+GAHQ,gBAAgB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;6GAAhB,gBAAgB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,cAAA,EAAA,CAAA,CAAA,EAAA;;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,CAAA;;;ACND;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-pipes-auto-color.mjs","sources":["../../../projects/core/pipes/auto-color/auto-color.pipe.ts","../../../projects/core/pipes/auto-color/taiga-ui-core-pipes-auto-color.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\nimport {tuiStringHashToHsl} from '@taiga-ui/core/utils';\n\n@Pipe({\n standalone: true,\n name: 'tuiAutoColor',\n})\nexport class TuiAutoColorPipe implements PipeTransform {\n public transform(text: string): string {\n return tuiStringHashToHsl(text);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAOa,gBAAgB,CAAA;AAClB,IAAA,SAAS,CAAC,IAAY,EAAA;AACzB,QAAA,OAAO,kBAAkB,CAAC,IAAI,CAAC;;+GAF1B,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;;;;"}
@@ -75,10 +75,10 @@ class TuiCalendarSheetPipe {
75
75
  this.currentMonth = month;
76
76
  return this.currentSheet;
77
77
  }
78
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarSheetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
79
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarSheetPipe, isStandalone: true, name: "tuiCalendarSheet" }); }
78
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiCalendarSheetPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
79
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiCalendarSheetPipe, isStandalone: true, name: "tuiCalendarSheet" }); }
80
80
  }
81
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiCalendarSheetPipe, decorators: [{
81
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiCalendarSheetPipe, decorators: [{
82
82
  type: Pipe,
83
83
  args: [{
84
84
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-calendar-sheet.mjs","sources":["../../../projects/core/pipes/calendar-sheet/utils.ts","../../../projects/core/pipes/calendar-sheet/calendar-sheet.pipe.ts","../../../projects/core/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.ts"],"sourcesContent":["/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\nimport {DAYS_IN_WEEK, TuiDay, type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {tuiInRange} from '@taiga-ui/cdk/utils/math';\n\n/**\n * Computes day of week offset of the beginning of the month\n */\nconst getMonthStartDaysOffset = (\n month: TuiMonth,\n firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6,\n): number => {\n const startMonthOffsetFromSunday = new Date(month.year, month.month, 1).getDay();\n\n return startMonthOffsetFromSunday >= firstDayOfWeek\n ? startMonthOffsetFromSunday - firstDayOfWeek\n : DAYS_IN_WEEK - (firstDayOfWeek - startMonthOffsetFromSunday);\n};\n\n/**\n * Calculated day on a calendar grid\n * @return resulting day on these coordinates (could exceed passed month)\n */\nexport const getDayFromMonthRowCol = ({\n month,\n rowIndex,\n colIndex,\n firstDayOfWeek,\n}: {\n /**\n * column in a calendar\n */\n colIndex: number;\n /**\n * first day of the week index (Sunday - 0, Saturday - 6)\n */\n firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;\n month: TuiMonth;\n /**\n * row in a calendar\n */\n rowIndex: number;\n}): TuiDay => {\n ngDevMode && console.assert(Number.isInteger(rowIndex));\n ngDevMode && console.assert(tuiInRange(rowIndex, 0, 6));\n ngDevMode && console.assert(Number.isInteger(colIndex));\n ngDevMode && console.assert(tuiInRange(colIndex, 0, DAYS_IN_WEEK));\n\n let day =\n rowIndex * DAYS_IN_WEEK +\n colIndex -\n getMonthStartDaysOffset(month, firstDayOfWeek) +\n 1;\n\n if (day > month.daysCount) {\n day -= month.daysCount;\n month = month.append({month: 1});\n }\n\n if (day <= 0) {\n month = month.append({month: -1});\n day = month.daysCount + day;\n }\n\n return new TuiDay(month.year, month.month, day);\n};\n","import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {DAYS_IN_WEEK, type TuiDay, type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {TUI_FIRST_DAY_OF_WEEK} from '@taiga-ui/core/tokens';\n\nimport {getDayFromMonthRowCol} from './utils';\n\nconst CALENDAR_ROWS_COUNT = 6;\n\n@Pipe({\n standalone: true,\n name: 'tuiCalendarSheet',\n})\nexport class TuiCalendarSheetPipe implements PipeTransform {\n private readonly firstDayOfWeek = inject(TUI_FIRST_DAY_OF_WEEK);\n private currentMonth: TuiMonth | null = null;\n private currentSheet: ReadonlyArray<readonly TuiDay[]> = [];\n\n public transform(\n month: TuiMonth,\n showAdjacentDays = false,\n ): ReadonlyArray<readonly TuiDay[]> {\n if (this.currentMonth?.monthSame(month)) {\n return this.currentSheet;\n }\n\n const sheet: Array<readonly TuiDay[]> = [];\n\n for (let rowIndex = 0; rowIndex < CALENDAR_ROWS_COUNT; rowIndex++) {\n const row: TuiDay[] = [];\n\n for (let colIndex = 0; colIndex < DAYS_IN_WEEK; colIndex++) {\n const day = getDayFromMonthRowCol({\n month,\n rowIndex,\n colIndex,\n firstDayOfWeek: this.firstDayOfWeek,\n });\n\n const isPrevMonthDay = (day: TuiDay, relativeToMonth = month): boolean =>\n day.year < relativeToMonth.year || day.month < relativeToMonth.month;\n\n const isNextMonthDay = (day: TuiDay, relativeToMonth = month): boolean =>\n day.year > relativeToMonth.year || day.month > relativeToMonth.month;\n\n if (isPrevMonthDay(day) && !showAdjacentDays) {\n continue;\n }\n\n if (isNextMonthDay(day) && !showAdjacentDays) {\n break;\n }\n\n row.push(day);\n }\n\n sheet.push(row);\n }\n\n this.currentSheet = sheet.filter((row) => row.length);\n this.currentMonth = month;\n\n return this.currentSheet;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAIA;;AAEG;AACH,MAAM,uBAAuB,GAAG,CAC5B,KAAe,EACf,cAAyC,KACjC;AACR,IAAA,MAAM,0BAA0B,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAEjF,OAAO,0BAA0B,IAAI,cAAc;UAC7C,0BAA0B,GAAG,cAAc;UAC3C,YAAY,IAAI,cAAc,GAAG,0BAA0B,CAAC,CAAC;AACvE,CAAC,CAAC;AAEF;;;AAGG;AACI,MAAM,qBAAqB,GAAG,CAAC,EAClC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,cAAc,GAejB,KAAY;AACT,IAAA,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;AACxD,IAAA,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AACxD,IAAA,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC;AACxD,IAAA,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,EAAE,YAAY,CAAC,CAAC,CAAC;AAEnE,IAAA,IAAI,GAAG,GACH,QAAQ,GAAG,YAAY;QACvB,QAAQ;AACR,QAAA,uBAAuB,CAAC,KAAK,EAAE,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EAAA,UAAA,EAAA,CAAA;kBAJhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,kBAAkB;AAC3B,iBAAA,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-pipes-calendar-sheet.mjs","sources":["../../../projects/core/pipes/calendar-sheet/utils.ts","../../../projects/core/pipes/calendar-sheet/calendar-sheet.pipe.ts","../../../projects/core/pipes/calendar-sheet/taiga-ui-core-pipes-calendar-sheet.ts"],"sourcesContent":["/// <reference types=\"@taiga-ui/tsconfig/ng-dev-mode\" />\nimport {DAYS_IN_WEEK, TuiDay, type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {tuiInRange} from '@taiga-ui/cdk/utils/math';\n\n/**\n * Computes day of week offset of the beginning of the month\n */\nconst getMonthStartDaysOffset = (\n month: TuiMonth,\n firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6,\n): number => {\n const startMonthOffsetFromSunday = new Date(month.year, month.month, 1).getDay();\n\n return startMonthOffsetFromSunday >= firstDayOfWeek\n ? startMonthOffsetFromSunday - firstDayOfWeek\n : DAYS_IN_WEEK - (firstDayOfWeek - startMonthOffsetFromSunday);\n};\n\n/**\n * Calculated day on a calendar grid\n * @return resulting day on these coordinates (could exceed passed month)\n */\nexport const getDayFromMonthRowCol = ({\n month,\n rowIndex,\n colIndex,\n firstDayOfWeek,\n}: {\n /**\n * column in a calendar\n */\n colIndex: number;\n /**\n * first day of the week index (Sunday - 0, Saturday - 6)\n */\n firstDayOfWeek: 0 | 1 | 2 | 3 | 4 | 5 | 6;\n month: TuiMonth;\n /**\n * row in a calendar\n */\n rowIndex: number;\n}): TuiDay => {\n ngDevMode && console.assert(Number.isInteger(rowIndex));\n ngDevMode && console.assert(tuiInRange(rowIndex, 0, 6));\n ngDevMode && console.assert(Number.isInteger(colIndex));\n ngDevMode && console.assert(tuiInRange(colIndex, 0, DAYS_IN_WEEK));\n\n let day =\n rowIndex * DAYS_IN_WEEK +\n colIndex -\n getMonthStartDaysOffset(month, firstDayOfWeek) +\n 1;\n\n if (day > month.daysCount) {\n day -= month.daysCount;\n month = month.append({month: 1});\n }\n\n if (day <= 0) {\n month = month.append({month: -1});\n day = month.daysCount + day;\n }\n\n return new TuiDay(month.year, month.month, day);\n};\n","import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {DAYS_IN_WEEK, type TuiDay, type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {TUI_FIRST_DAY_OF_WEEK} from '@taiga-ui/core/tokens';\n\nimport {getDayFromMonthRowCol} from './utils';\n\nconst CALENDAR_ROWS_COUNT = 6;\n\n@Pipe({\n standalone: true,\n name: 'tuiCalendarSheet',\n})\nexport class TuiCalendarSheetPipe implements PipeTransform {\n private readonly firstDayOfWeek = inject(TUI_FIRST_DAY_OF_WEEK);\n private currentMonth: TuiMonth | null = null;\n private currentSheet: ReadonlyArray<readonly TuiDay[]> = [];\n\n public transform(\n month: TuiMonth,\n showAdjacentDays = false,\n ): ReadonlyArray<readonly TuiDay[]> {\n if (this.currentMonth?.monthSame(month)) {\n return this.currentSheet;\n }\n\n const sheet: Array<readonly TuiDay[]> = [];\n\n for (let rowIndex = 0; rowIndex < CALENDAR_ROWS_COUNT; rowIndex++) {\n const row: TuiDay[] = [];\n\n for (let colIndex = 0; colIndex < DAYS_IN_WEEK; colIndex++) {\n const day = getDayFromMonthRowCol({\n month,\n rowIndex,\n colIndex,\n firstDayOfWeek: this.firstDayOfWeek,\n });\n\n const isPrevMonthDay = (day: TuiDay, relativeToMonth = month): boolean =>\n day.year < relativeToMonth.year || day.month < relativeToMonth.month;\n\n const isNextMonthDay = (day: TuiDay, relativeToMonth = month): boolean =>\n day.year > relativeToMonth.year || day.month > relativeToMonth.month;\n\n if (isPrevMonthDay(day) && !showAdjacentDays) {\n continue;\n }\n\n if (isNextMonthDay(day) && !showAdjacentDays) {\n break;\n }\n\n row.push(day);\n }\n\n sheet.push(row);\n }\n\n this.currentSheet = sheet.filter((row) => row.length);\n this.currentMonth = month;\n\n return this.currentSheet;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAAA;AAIA;;AAEG;AACH,MAAM,uBAAuB,GAAG,CAC5B,KAAe,EACf,cAAyC,KACjC;AACR,IAAA,MAAM,0BAA0B,GAAG,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC,MAAM,EAAE;IAEhF,OAAO,0BAA0B,IAAI;UAC/B,0BAA0B,GAAG;UAC7B,YAAY,IAAI,cAAc,GAAG,0BAA0B,CAAC;AACtE,CAAC;AAED;;;AAGG;AACI,MAAM,qBAAqB,GAAG,CAAC,EAClC,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,cAAc,GAejB,KAAY;AACT,IAAA,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AACvD,IAAA,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AACvD,IAAA,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;AACvD,IAAA,SAAS,IAAI,OAAO,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,EAAE,YAAY,CAAC,CAAC;AAElE,IAAA,IAAI,GAAG,GACH,QAAQ,GAAG,YAAY;QACvB,QAAQ;AACR,QAAA,uBAAuB,CAAC,KAAK,EAAE,cAAc,CAAC;AAC9C,QAAA,CAAC;AAEL,IAAA,IAAI,GAAG,GAAG,KAAK,CAAC,SAAS,EAAE;AACvB,QAAA,GAAG,IAAI,KAAK,CAAC,SAAS;QACtB,KAAK,GAAG,KAAK,CAAC,MAAM,CAAC,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AG,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK;gBAExE,MAAM,cAAc,GAAG,CAAC,GAAW,EAAE,eAAe,GAAG,KAAK,KACxD,GAAG,CAAC,IAAI,GAAG,eAAe,CAAC,IAAI,IAAI,GAAG,CAAC,KAAK,GAAG,eAAe,CAAC,KAAK;gBAExE,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,gBAAgB,EAAE;oBAC1C;;gBAGJ,IAAI,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,gBAAgB,EAAE;oBAC1C;;AAGJ,gBAAA,GAAG,CAAC,IAAI,CAAC,GAAG,CAAC;;AAGjB,YAAA,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;;AAGnB,QAAA,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,MAAM,CAAC,CAAC,GAAG,KAAK,GAAG,CAAC,MAAM,CAAC;AACrD,QAAA,IAAI,CAAC,YAAY,GAAG,KAAK;QAEzB,OAAO,IAAI,CAAC,YAAY;;+GAjDnB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAApB,oBAAoB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,kBAAA,EAAA,CAAA,CAAA;;4FAApB,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,kBAAkB;AAC3B,iBAAA;;;ACXD;;AAEG;;;;"}
@@ -13,10 +13,10 @@ class TuiFlagPipe {
13
13
  }
14
14
  return `${this.staticPath}/flags/${countryIsoCode.toLowerCase()}.svg`;
15
15
  }
16
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFlagPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
17
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiFlagPipe, isStandalone: true, name: "tuiFlag" }); }
16
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFlagPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
17
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiFlagPipe, isStandalone: true, name: "tuiFlag" }); }
18
18
  }
19
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFlagPipe, decorators: [{
19
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFlagPipe, decorators: [{
20
20
  type: Pipe,
21
21
  args: [{
22
22
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-flag.mjs","sources":["../../../projects/core/pipes/flag/flag.pipe.ts","../../../projects/core/pipes/flag/taiga-ui-core-pipes-flag.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiLooseUnion} from '@taiga-ui/cdk/types';\nimport {TUI_ASSETS_PATH} from '@taiga-ui/core/tokens';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\n\ntype IsoCode = TuiLooseUnion<TuiCountryIsoCode>;\n\n// TODO: Move to kit in v5\n@Pipe({\n standalone: true,\n name: 'tuiFlag',\n})\nexport class TuiFlagPipe implements PipeTransform {\n private readonly staticPath = inject(TUI_ASSETS_PATH);\n\n public transform(countryIsoCode: IsoCode): string;\n public transform(countryIsoCode: IsoCode | undefined): string | null;\n public transform(countryIsoCode?: IsoCode | null): string | null;\n public transform(countryIsoCode?: IsoCode | null): string | null {\n if (!countryIsoCode) {\n return null;\n }\n\n return `${this.staticPath}/flags/${countryIsoCode.toLowerCase()}.svg`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAOA;AACA,MAIa,WAAW,CAAA;AAJxB,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,eAAe,CAAC,CAAC;AAYzD,KAAA;AAPU,IAAA,SAAS,CAAC,cAA+B,EAAA;QAC5C,IAAI,CAAC,cAAc,EAAE;AACjB,YAAA,OAAO,IAAI,CAAC;AACf,SAAA;QAED,OAAO,CAAA,EAAG,IAAI,CAAC,UAAU,CAAA,OAAA,EAAU,cAAc,CAAC,WAAW,EAAE,CAAA,IAAA,CAAM,CAAC;KACzE;+GAZQ,WAAW,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;6GAAX,WAAW,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,SAAA,EAAA,CAAA,CAAA,EAAA;;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,CAAA;;;ACXD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-pipes-flag.mjs","sources":["../../../projects/core/pipes/flag/flag.pipe.ts","../../../projects/core/pipes/flag/taiga-ui-core-pipes-flag.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiLooseUnion} from '@taiga-ui/cdk/types';\nimport {TUI_ASSETS_PATH} from '@taiga-ui/core/tokens';\nimport {type TuiCountryIsoCode} from '@taiga-ui/i18n/types';\n\ntype IsoCode = TuiLooseUnion<TuiCountryIsoCode>;\n\n// TODO: Move to kit in v5\n@Pipe({\n standalone: true,\n name: 'tuiFlag',\n})\nexport class TuiFlagPipe implements PipeTransform {\n private readonly staticPath = inject(TUI_ASSETS_PATH);\n\n public transform(countryIsoCode: IsoCode): string;\n public transform(countryIsoCode: IsoCode | undefined): string | null;\n public transform(countryIsoCode?: IsoCode | null): string | null;\n public transform(countryIsoCode?: IsoCode | null): string | null {\n if (!countryIsoCode) {\n return null;\n }\n\n return `${this.staticPath}/flags/${countryIsoCode.toLowerCase()}.svg`;\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAOA;MAKa,WAAW,CAAA;AAJxB,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,UAAU,GAAG,MAAM,CAAC,eAAe,CAAC;AAYxD;AAPU,IAAA,SAAS,CAAC,cAA+B,EAAA;QAC5C,IAAI,CAAC,cAAc,EAAE;AACjB,YAAA,OAAO,IAAI;;QAGf,OAAO,CAAA,EAAG,IAAI,CAAC,UAAU,CAAA,OAAA,EAAU,cAAc,CAAC,WAAW,EAAE,CAAA,IAAA,CAAM;;+GAXhE,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;;;ACXD;;AAEG;;;;"}
@@ -9,10 +9,10 @@ class TuiFormatDatePipe {
9
9
  transform(timestampOrDate) {
10
10
  return this.service.format(timestampOrDate.valueOf());
11
11
  }
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFormatDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
13
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiFormatDatePipe, isStandalone: true, name: "tuiFormatDate" }); }
12
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatDatePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
13
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatDatePipe, isStandalone: true, name: "tuiFormatDate" }); }
14
14
  }
15
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFormatDatePipe, decorators: [{
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatDatePipe, decorators: [{
16
16
  type: Pipe,
17
17
  args: [{
18
18
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-format-date.mjs","sources":["../../../projects/core/pipes/format-date/format-date.pipe.ts","../../../projects/core/pipes/format-date/taiga-ui-core-pipes-format-date.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {TuiFormatDateService} from '@taiga-ui/core/services';\nimport {type Observable} from 'rxjs';\n\n@Pipe({\n standalone: true,\n name: 'tuiFormatDate',\n})\nexport class TuiFormatDatePipe implements PipeTransform {\n private readonly service = inject(TuiFormatDateService);\n\n public transform(timestampOrDate: Date | number): Observable<string> {\n return this.service.format(timestampOrDate.valueOf());\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;AAIA,MAIa,iBAAiB,CAAA;AAJ9B,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,oBAAoB,CAAC,CAAC;AAK3D,KAAA;AAHU,IAAA,SAAS,CAAC,eAA8B,EAAA;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC,CAAC;KACzD;+GALQ,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;6GAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,CAAA,EAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,eAAe;AACxB,iBAAA,CAAA;;;ACPD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-pipes-format-date.mjs","sources":["../../../projects/core/pipes/format-date/format-date.pipe.ts","../../../projects/core/pipes/format-date/taiga-ui-core-pipes-format-date.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {TuiFormatDateService} from '@taiga-ui/core/services';\nimport {type Observable} from 'rxjs';\n\n@Pipe({\n standalone: true,\n name: 'tuiFormatDate',\n})\nexport class TuiFormatDatePipe implements PipeTransform {\n private readonly service = inject(TuiFormatDateService);\n\n public transform(timestampOrDate: Date | number): Observable<string> {\n return this.service.format(timestampOrDate.valueOf());\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;MAQa,iBAAiB,CAAA;AAJ9B,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,oBAAoB,CAAC;AAK1D;AAHU,IAAA,SAAS,CAAC,eAA8B,EAAA;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,eAAe,CAAC,OAAO,EAAE,CAAC;;+GAJhD,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAjB,iBAAiB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,eAAA,EAAA,CAAA,CAAA;;4FAAjB,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAJ7B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,eAAe;AACxB,iBAAA;;;ACPD;;AAEG;;;;"}
@@ -23,10 +23,10 @@ class TuiFormatNumberPipe {
23
23
  ...settings,
24
24
  })));
25
25
  }
26
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
27
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiFormatNumberPipe, isStandalone: true, name: "tuiFormatNumber" }); }
26
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatNumberPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
27
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatNumberPipe, isStandalone: true, name: "tuiFormatNumber" }); }
28
28
  }
29
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiFormatNumberPipe, decorators: [{
29
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiFormatNumberPipe, decorators: [{
30
30
  type: Pipe,
31
31
  args: [{
32
32
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-format-number.mjs","sources":["../../../projects/core/pipes/format-number/format-number.pipe.ts","../../../projects/core/pipes/format-number/taiga-ui-core-pipes-format-number.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {TUI_NUMBER_FORMAT, type TuiNumberFormatSettings} from '@taiga-ui/core/tokens';\nimport {tuiFormatNumber} from '@taiga-ui/core/utils/format';\nimport {map, type Observable} from 'rxjs';\n\n@Pipe({\n standalone: true,\n name: 'tuiFormatNumber',\n})\nexport class TuiFormatNumberPipe implements PipeTransform {\n private readonly numberFormat = inject(TUI_NUMBER_FORMAT);\n\n /**\n * Formats number adding thousand separators and correct decimal separator\n * padding decimal part with zeroes to given length\n * @param value number\n * @param settings See {@link TuiNumberFormatSettings}\n */\n public transform(\n value: number,\n settings: Partial<TuiNumberFormatSettings> = {},\n ): Observable<string> {\n return this.numberFormat.pipe(\n map((format) =>\n tuiFormatNumber(value, {\n ...format,\n precision: Number.isNaN(format.precision)\n ? Infinity\n : format.precision,\n ...settings,\n }),\n ),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAKA,MAIa,mBAAmB,CAAA;AAJhC,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;AAwB7D,KAAA;AAtBG;;;;;AAKG;AACI,IAAA,SAAS,CACZ,KAAa,EACb,QAAA,GAA6C,EAAE,EAAA;AAE/C,QAAA,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CACzB,GAAG,CAAC,CAAC,MAAM,KACP,eAAe,CAAC,KAAK,EAAE;AACnB,YAAA,GAAG,MAAM;YACT,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC;AACrC,kBAAE,QAAQ;kBACR,MAAM,CAAC,SAAS;AACtB,YAAA,GAAG,QAAQ;SACd,CAAC,CACL,CACJ,CAAC;KACL;+GAxBQ,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;6GAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,CAAA,CAAA,EAAA;;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,iBAAiB;AAC1B,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-pipes-format-number.mjs","sources":["../../../projects/core/pipes/format-number/format-number.pipe.ts","../../../projects/core/pipes/format-number/taiga-ui-core-pipes-format-number.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {TUI_NUMBER_FORMAT, type TuiNumberFormatSettings} from '@taiga-ui/core/tokens';\nimport {tuiFormatNumber} from '@taiga-ui/core/utils/format';\nimport {map, type Observable} from 'rxjs';\n\n@Pipe({\n standalone: true,\n name: 'tuiFormatNumber',\n})\nexport class TuiFormatNumberPipe implements PipeTransform {\n private readonly numberFormat = inject(TUI_NUMBER_FORMAT);\n\n /**\n * Formats number adding thousand separators and correct decimal separator\n * padding decimal part with zeroes to given length\n * @param value number\n * @param settings See {@link TuiNumberFormatSettings}\n */\n public transform(\n value: number,\n settings: Partial<TuiNumberFormatSettings> = {},\n ): Observable<string> {\n return this.numberFormat.pipe(\n map((format) =>\n tuiFormatNumber(value, {\n ...format,\n precision: Number.isNaN(format.precision)\n ? Infinity\n : format.precision,\n ...settings,\n }),\n ),\n );\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MASa,mBAAmB,CAAA;AAJhC,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,YAAY,GAAG,MAAM,CAAC,iBAAiB,CAAC;AAwB5D;AAtBG;;;;;AAKG;AACI,IAAA,SAAS,CACZ,KAAa,EACb,QAAA,GAA6C,EAAE,EAAA;AAE/C,QAAA,OAAO,IAAI,CAAC,YAAY,CAAC,IAAI,CACzB,GAAG,CAAC,CAAC,MAAM,KACP,eAAe,CAAC,KAAK,EAAE;AACnB,YAAA,GAAG,MAAM;YACT,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS;AACpC,kBAAE;kBACA,MAAM,CAAC,SAAS;AACtB,YAAA,GAAG,QAAQ;SACd,CAAC,CACL,CACJ;;+GAvBI,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAnB,mBAAmB,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,iBAAA,EAAA,CAAA,CAAA;;4FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAJ/B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,iBAAiB;AAC1B,iBAAA;;;ACRD;;AAEG;;;;"}
@@ -10,10 +10,10 @@ class TuiInitialsPipe {
10
10
  .join('')
11
11
  .slice(0, 2);
12
12
  }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInitialsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
14
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiInitialsPipe, isStandalone: true, name: "tuiInitials" }); }
13
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInitialsPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
14
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiInitialsPipe, isStandalone: true, name: "tuiInitials" }); }
15
15
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiInitialsPipe, decorators: [{
16
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiInitialsPipe, decorators: [{
17
17
  type: Pipe,
18
18
  args: [{
19
19
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-initials.mjs","sources":["../../../projects/core/pipes/initials/initials.pipe.ts","../../../projects/core/pipes/initials/taiga-ui-core-pipes-initials.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\n\n@Pipe({\n standalone: true,\n name: 'tuiInitials',\n})\nexport class TuiInitialsPipe implements PipeTransform {\n public transform(text: string): string {\n return text\n .toUpperCase()\n .split(' ')\n .map(([char]) => char)\n .join('')\n .slice(0, 2);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA,MAIa,eAAe,CAAA;AACjB,IAAA,SAAS,CAAC,IAAY,EAAA;AACzB,QAAA,OAAO,IAAI;AACN,aAAA,WAAW,EAAE;aACb,KAAK,CAAC,GAAG,CAAC;aACV,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC;aACrB,IAAI,CAAC,EAAE,CAAC;AACR,aAAA,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;KACpB;+GARQ,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;6GAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA,EAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,aAAa;AACtB,iBAAA,CAAA;;;ACLD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-pipes-initials.mjs","sources":["../../../projects/core/pipes/initials/initials.pipe.ts","../../../projects/core/pipes/initials/taiga-ui-core-pipes-initials.ts"],"sourcesContent":["import {Pipe, type PipeTransform} from '@angular/core';\n\n@Pipe({\n standalone: true,\n name: 'tuiInitials',\n})\nexport class TuiInitialsPipe implements PipeTransform {\n public transform(text: string): string {\n return text\n .toUpperCase()\n .split(' ')\n .map(([char]) => char)\n .join('')\n .slice(0, 2);\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,eAAe,CAAA;AACjB,IAAA,SAAS,CAAC,IAAY,EAAA;AACzB,QAAA,OAAO;AACF,aAAA,WAAW;aACX,KAAK,CAAC,GAAG;aACT,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,IAAI;aACpB,IAAI,CAAC,EAAE;AACP,aAAA,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;;+GAPX,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAf,eAAe,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,aAAA,EAAA,CAAA,CAAA;;4FAAf,eAAe,EAAA,UAAA,EAAA,CAAA;kBAJ3B,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,aAAa;AACtB,iBAAA;;;ACLD;;AAEG;;;;"}
@@ -1,19 +1,20 @@
1
1
  import * as i0 from '@angular/core';
2
2
  import { inject, Pipe } from '@angular/core';
3
+ import { toObservable } from '@angular/core/rxjs-interop';
3
4
  import { TUI_MONTHS } from '@taiga-ui/core/tokens';
4
5
  import { map } from 'rxjs';
5
6
 
6
7
  class TuiMonthPipe {
7
8
  constructor() {
8
- this.months$ = inject(TUI_MONTHS);
9
+ this.months$ = toObservable(inject(TUI_MONTHS));
9
10
  }
10
11
  transform({ month }) {
11
12
  return this.months$.pipe(map((months) => months[month] || months[0]));
12
13
  }
13
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMonthPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
14
- static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "16.2.12", ngImport: i0, type: TuiMonthPipe, isStandalone: true, name: "tuiMonth" }); }
14
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMonthPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
15
+ static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.15", ngImport: i0, type: TuiMonthPipe, isStandalone: true, name: "tuiMonth" }); }
15
16
  }
16
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: TuiMonthPipe, decorators: [{
17
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: TuiMonthPipe, decorators: [{
17
18
  type: Pipe,
18
19
  args: [{
19
20
  standalone: true,
@@ -1 +1 @@
1
- {"version":3,"file":"taiga-ui-core-pipes-month.mjs","sources":["../../../projects/core/pipes/month/month.pipe.ts","../../../projects/core/pipes/month/taiga-ui-core-pipes-month.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {map, type Observable} from 'rxjs';\n\n@Pipe({\n standalone: true,\n name: 'tuiMonth',\n})\nexport class TuiMonthPipe implements PipeTransform {\n private readonly months$ = inject(TUI_MONTHS);\n\n public transform({month}: TuiMonth): Observable<string> {\n return this.months$.pipe(map((months) => months[month] || months[0]));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA,MAIa,YAAY,CAAA;AAJzB,IAAA,WAAA,GAAA;AAKqB,QAAA,IAAA,CAAA,OAAO,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC;AAKjD,KAAA;IAHU,SAAS,CAAC,EAAC,KAAK,EAAW,EAAA;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;KACzE;+GALQ,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA,EAAA;6GAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA,EAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,UAAU;AACnB,iBAAA,CAAA;;;ACRD;;AAEG;;;;"}
1
+ {"version":3,"file":"taiga-ui-core-pipes-month.mjs","sources":["../../../projects/core/pipes/month/month.pipe.ts","../../../projects/core/pipes/month/taiga-ui-core-pipes-month.ts"],"sourcesContent":["import {inject, Pipe, type PipeTransform} from '@angular/core';\nimport {toObservable} from '@angular/core/rxjs-interop';\nimport {type TuiMonth} from '@taiga-ui/cdk/date-time';\nimport {TUI_MONTHS} from '@taiga-ui/core/tokens';\nimport {map, type Observable} from 'rxjs';\n\n@Pipe({\n standalone: true,\n name: 'tuiMonth',\n})\nexport class TuiMonthPipe implements PipeTransform {\n private readonly months$ = toObservable(inject(TUI_MONTHS));\n\n public transform({month}: TuiMonth): Observable<string> {\n return this.months$.pipe(map((months) => months[month] || months[0]));\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAUa,YAAY,CAAA;AAJzB,IAAA,WAAA,GAAA;QAKqB,IAAO,CAAA,OAAA,GAAG,YAAY,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC;AAK9D;IAHU,SAAS,CAAC,EAAC,KAAK,EAAW,EAAA;QAC9B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,KAAK,MAAM,CAAC,KAAK,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;;+GAJhE,YAAY,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,IAAA,EAAA,CAAA,CAAA;6GAAZ,YAAY,EAAA,YAAA,EAAA,IAAA,EAAA,IAAA,EAAA,UAAA,EAAA,CAAA,CAAA;;4FAAZ,YAAY,EAAA,UAAA,EAAA,CAAA;kBAJxB,IAAI;AAAC,YAAA,IAAA,EAAA,CAAA;AACF,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,IAAI,EAAE,UAAU;AACnB,iBAAA;;;ACTD;;AAEG;;;;"}