@taiga-ui/core 2.40.0 → 2.41.0

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 (315) hide show
  1. package/bundles/{taiga-ui-core-modules-notifications.umd.js → taiga-ui-core-components-alert.umd.js} +94 -136
  2. package/bundles/taiga-ui-core-components-alert.umd.js.map +1 -0
  3. package/bundles/taiga-ui-core-components-alert.umd.min.js +16 -0
  4. package/bundles/taiga-ui-core-components-alert.umd.min.js.map +1 -0
  5. package/bundles/taiga-ui-core-components-button.umd.js +1 -1
  6. package/bundles/taiga-ui-core-components-button.umd.js.map +1 -1
  7. package/bundles/taiga-ui-core-components-button.umd.min.js +1 -1
  8. package/bundles/taiga-ui-core-components-button.umd.min.js.map +1 -1
  9. package/bundles/taiga-ui-core-components-data-list.umd.js +2 -2
  10. package/bundles/taiga-ui-core-components-data-list.umd.js.map +1 -1
  11. package/bundles/taiga-ui-core-components-data-list.umd.min.js +2 -2
  12. package/bundles/taiga-ui-core-components-data-list.umd.min.js.map +1 -1
  13. package/bundles/taiga-ui-core-components-dialog.umd.js +1 -1
  14. package/bundles/taiga-ui-core-components-dialog.umd.js.map +1 -1
  15. package/bundles/taiga-ui-core-components-dialog.umd.min.js +1 -1
  16. package/bundles/taiga-ui-core-components-dialog.umd.min.js.map +1 -1
  17. package/bundles/taiga-ui-core-components-dropdown-box.umd.js +1 -1
  18. package/bundles/taiga-ui-core-components-dropdown-box.umd.js.map +1 -1
  19. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js +1 -1
  20. package/bundles/taiga-ui-core-components-dropdown-box.umd.min.js.map +1 -1
  21. package/bundles/taiga-ui-core-components-expand.umd.js +1 -1
  22. package/bundles/taiga-ui-core-components-expand.umd.js.map +1 -1
  23. package/bundles/taiga-ui-core-components-expand.umd.min.js +1 -1
  24. package/bundles/taiga-ui-core-components-expand.umd.min.js.map +1 -1
  25. package/bundles/taiga-ui-core-components-hints-host.umd.js +2 -2
  26. package/bundles/taiga-ui-core-components-hints-host.umd.js.map +1 -1
  27. package/bundles/taiga-ui-core-components-hints-host.umd.min.js +1 -1
  28. package/bundles/taiga-ui-core-components-hints-host.umd.min.js.map +1 -1
  29. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js +1 -1
  30. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.js.map +1 -1
  31. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js +1 -1
  32. package/bundles/taiga-ui-core-components-hosted-dropdown.umd.min.js.map +1 -1
  33. package/bundles/taiga-ui-core-components-label.umd.js +1 -1
  34. package/bundles/taiga-ui-core-components-label.umd.js.map +1 -1
  35. package/bundles/taiga-ui-core-components-label.umd.min.js +1 -1
  36. package/bundles/taiga-ui-core-components-label.umd.min.js.map +1 -1
  37. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js +1 -1
  38. package/bundles/taiga-ui-core-components-primitive-calendar.umd.js.map +1 -1
  39. package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js +1 -1
  40. package/bundles/taiga-ui-core-components-primitive-calendar.umd.min.js.map +1 -1
  41. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js +1 -1
  42. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.js.map +1 -1
  43. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js +1 -1
  44. package/bundles/taiga-ui-core-components-primitive-checkbox.umd.min.js.map +1 -1
  45. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js +4 -4
  46. package/bundles/taiga-ui-core-components-primitive-textfield.umd.js.map +1 -1
  47. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js +1 -1
  48. package/bundles/taiga-ui-core-components-primitive-textfield.umd.min.js.map +1 -1
  49. package/bundles/taiga-ui-core-components-root.umd.js +14 -18
  50. package/bundles/taiga-ui-core-components-root.umd.js.map +1 -1
  51. package/bundles/taiga-ui-core-components-root.umd.min.js +2 -2
  52. package/bundles/taiga-ui-core-components-root.umd.min.js.map +1 -1
  53. package/bundles/taiga-ui-core-components-scroll-controls.umd.js +1 -1
  54. package/bundles/taiga-ui-core-components-scroll-controls.umd.js.map +1 -1
  55. package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js +1 -1
  56. package/bundles/taiga-ui-core-components-scroll-controls.umd.min.js.map +1 -1
  57. package/bundles/taiga-ui-core-components.umd.js +12 -4
  58. package/bundles/taiga-ui-core-components.umd.js.map +1 -1
  59. package/bundles/taiga-ui-core-components.umd.min.js +1 -1
  60. package/bundles/taiga-ui-core-constants.umd.js +1 -1
  61. package/bundles/taiga-ui-core-constants.umd.js.map +1 -1
  62. package/bundles/taiga-ui-core-constants.umd.min.js +1 -1
  63. package/bundles/taiga-ui-core-constants.umd.min.js.map +1 -1
  64. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js +1 -1
  65. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.js.map +1 -1
  66. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js +1 -1
  67. package/bundles/taiga-ui-core-internal-svg-defs-host.umd.min.js.map +1 -1
  68. package/bundles/taiga-ui-core-tokens.umd.js.map +1 -1
  69. package/bundles/taiga-ui-core-tokens.umd.min.js.map +1 -1
  70. package/bundles/taiga-ui-core.umd.js +4 -12
  71. package/bundles/taiga-ui-core.umd.js.map +1 -1
  72. package/bundles/taiga-ui-core.umd.min.js +1 -1
  73. package/components/alert/alert.component.d.ts +35 -0
  74. package/components/alert/alert.module.d.ts +4 -0
  75. package/components/alert/alert.service.d.ts +18 -0
  76. package/components/alert/index.d.ts +3 -0
  77. package/components/alert/package.json +13 -0
  78. package/{modules/notifications/taiga-ui-core-modules-notifications.d.ts → components/alert/taiga-ui-core-components-alert.d.ts} +0 -0
  79. package/components/alert/taiga-ui-core-components-alert.metadata.json +1 -0
  80. package/components/button/taiga-ui-core-components-button.metadata.json +1 -1
  81. package/components/data-list/taiga-ui-core-components-data-list.metadata.json +1 -1
  82. package/components/dialog/taiga-ui-core-components-dialog.metadata.json +1 -1
  83. package/components/dropdown-box/taiga-ui-core-components-dropdown-box.metadata.json +1 -1
  84. package/components/expand/taiga-ui-core-components-expand.metadata.json +1 -1
  85. package/components/hints-host/taiga-ui-core-components-hints-host.metadata.json +1 -1
  86. package/components/hosted-dropdown/taiga-ui-core-components-hosted-dropdown.metadata.json +1 -1
  87. package/components/index.d.ts +1 -0
  88. package/components/label/taiga-ui-core-components-label.metadata.json +1 -1
  89. package/components/primitive-calendar/taiga-ui-core-components-primitive-calendar.metadata.json +1 -1
  90. package/components/primitive-checkbox/taiga-ui-core-components-primitive-checkbox.metadata.json +1 -1
  91. package/components/primitive-textfield/taiga-ui-core-components-primitive-textfield.metadata.json +1 -1
  92. package/components/root/root.component.d.ts +3 -4
  93. package/components/root/taiga-ui-core-components-root.metadata.json +1 -1
  94. package/components/scroll-controls/taiga-ui-core-components-scroll-controls.metadata.json +1 -1
  95. package/components/taiga-ui-core-components.metadata.json +1 -1
  96. package/constants/taiga-ui-core-constants.metadata.json +1 -1
  97. package/constants/version.d.ts +1 -1
  98. package/esm2015/components/alert/alert.component.js +89 -0
  99. package/esm2015/components/alert/alert.module.js +29 -0
  100. package/esm2015/components/alert/alert.service.js +49 -0
  101. package/esm2015/components/alert/index.js +4 -0
  102. package/esm2015/components/alert/taiga-ui-core-components-alert.js +5 -0
  103. package/esm2015/components/button/button.component.js +2 -2
  104. package/esm2015/components/data-list/data-list.component.js +2 -2
  105. package/esm2015/components/data-list/option/option.component.js +2 -2
  106. package/esm2015/components/dialog/dialog.component.js +2 -2
  107. package/esm2015/components/dropdown-box/dropdown-box.component.js +2 -2
  108. package/esm2015/components/expand/expand.component.js +2 -2
  109. package/esm2015/components/hints-host/hint-box/hint-box.component.js +2 -2
  110. package/esm2015/components/hints-host/hints-host.component.js +2 -2
  111. package/esm2015/components/hosted-dropdown/hosted-dropdown.component.js +2 -2
  112. package/esm2015/components/index.js +2 -1
  113. package/esm2015/components/label/label.component.js +2 -2
  114. package/esm2015/components/primitive-calendar/primitive-calendar.component.js +2 -2
  115. package/esm2015/components/primitive-checkbox/primitive-checkbox.component.js +2 -2
  116. package/esm2015/components/primitive-textfield/primitive-textfield.component.js +3 -3
  117. package/esm2015/components/primitive-textfield/textfield/textfield.component.js +1 -1
  118. package/esm2015/components/primitive-textfield/value-decoration/value-decoration.component.js +2 -2
  119. package/esm2015/components/root/root.component.js +11 -17
  120. package/esm2015/components/root/root.module.js +3 -2
  121. package/esm2015/components/scroll-controls/scroll-controls.component.js +2 -2
  122. package/esm2015/constants/version.js +2 -2
  123. package/esm2015/index.js +1 -2
  124. package/esm2015/interfaces/alert-options.js +1 -0
  125. package/esm2015/interfaces/index.js +1 -1
  126. package/esm2015/interfaces/notification-options.js +1 -1
  127. package/esm2015/internal/svg-defs-host/svg-defs-host.component.js +2 -2
  128. package/esm2015/tokens/notification-options.js +1 -1
  129. package/esm5/components/alert/alert.component.js +96 -0
  130. package/esm5/components/alert/alert.module.js +32 -0
  131. package/esm5/components/alert/alert.service.js +54 -0
  132. package/esm5/components/alert/index.js +4 -0
  133. package/esm5/components/alert/taiga-ui-core-components-alert.js +5 -0
  134. package/esm5/components/button/button.component.js +2 -2
  135. package/esm5/components/data-list/data-list.component.js +2 -2
  136. package/esm5/components/data-list/option/option.component.js +2 -2
  137. package/esm5/components/dialog/dialog.component.js +2 -2
  138. package/esm5/components/dropdown-box/dropdown-box.component.js +2 -2
  139. package/esm5/components/expand/expand.component.js +2 -2
  140. package/esm5/components/hints-host/hint-box/hint-box.component.js +2 -2
  141. package/esm5/components/hints-host/hints-host.component.js +2 -2
  142. package/esm5/components/hosted-dropdown/hosted-dropdown.component.js +2 -2
  143. package/esm5/components/index.js +2 -1
  144. package/esm5/components/label/label.component.js +2 -2
  145. package/esm5/components/primitive-calendar/primitive-calendar.component.js +2 -2
  146. package/esm5/components/primitive-checkbox/primitive-checkbox.component.js +2 -2
  147. package/esm5/components/primitive-textfield/primitive-textfield.component.js +3 -3
  148. package/esm5/components/primitive-textfield/textfield/textfield.component.js +1 -1
  149. package/esm5/components/primitive-textfield/value-decoration/value-decoration.component.js +2 -2
  150. package/esm5/components/root/root.component.js +11 -17
  151. package/esm5/components/root/root.module.js +3 -2
  152. package/esm5/components/scroll-controls/scroll-controls.component.js +2 -2
  153. package/esm5/constants/version.js +2 -2
  154. package/esm5/index.js +1 -2
  155. package/esm5/interfaces/alert-options.js +1 -0
  156. package/esm5/interfaces/index.js +1 -1
  157. package/esm5/interfaces/notification-options.js +1 -1
  158. package/esm5/internal/svg-defs-host/svg-defs-host.component.js +2 -2
  159. package/esm5/tokens/notification-options.js +1 -1
  160. package/fesm2015/taiga-ui-core-components-alert.js +156 -0
  161. package/fesm2015/taiga-ui-core-components-alert.js.map +1 -0
  162. package/fesm2015/taiga-ui-core-components-button.js +1 -1
  163. package/fesm2015/taiga-ui-core-components-button.js.map +1 -1
  164. package/fesm2015/taiga-ui-core-components-data-list.js +2 -2
  165. package/fesm2015/taiga-ui-core-components-data-list.js.map +1 -1
  166. package/fesm2015/taiga-ui-core-components-dialog.js +1 -1
  167. package/fesm2015/taiga-ui-core-components-dialog.js.map +1 -1
  168. package/fesm2015/taiga-ui-core-components-dropdown-box.js +1 -1
  169. package/fesm2015/taiga-ui-core-components-dropdown-box.js.map +1 -1
  170. package/fesm2015/taiga-ui-core-components-expand.js +1 -1
  171. package/fesm2015/taiga-ui-core-components-expand.js.map +1 -1
  172. package/fesm2015/taiga-ui-core-components-hints-host.js +2 -2
  173. package/fesm2015/taiga-ui-core-components-hints-host.js.map +1 -1
  174. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js +1 -1
  175. package/fesm2015/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
  176. package/fesm2015/taiga-ui-core-components-label.js +1 -1
  177. package/fesm2015/taiga-ui-core-components-label.js.map +1 -1
  178. package/fesm2015/taiga-ui-core-components-primitive-calendar.js +1 -1
  179. package/fesm2015/taiga-ui-core-components-primitive-calendar.js.map +1 -1
  180. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js +1 -1
  181. package/fesm2015/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  182. package/fesm2015/taiga-ui-core-components-primitive-textfield.js +4 -4
  183. package/fesm2015/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  184. package/fesm2015/taiga-ui-core-components-root.js +12 -17
  185. package/fesm2015/taiga-ui-core-components-root.js.map +1 -1
  186. package/fesm2015/taiga-ui-core-components-scroll-controls.js +1 -1
  187. package/fesm2015/taiga-ui-core-components-scroll-controls.js.map +1 -1
  188. package/fesm2015/taiga-ui-core-components.js +1 -0
  189. package/fesm2015/taiga-ui-core-components.js.map +1 -1
  190. package/fesm2015/taiga-ui-core-constants.js +1 -1
  191. package/fesm2015/taiga-ui-core-constants.js.map +1 -1
  192. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js +1 -1
  193. package/fesm2015/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
  194. package/fesm2015/taiga-ui-core-tokens.js.map +1 -1
  195. package/fesm2015/taiga-ui-core.js +0 -1
  196. package/fesm2015/taiga-ui-core.js.map +1 -1
  197. package/fesm5/taiga-ui-core-components-alert.js +171 -0
  198. package/fesm5/taiga-ui-core-components-alert.js.map +1 -0
  199. package/fesm5/taiga-ui-core-components-button.js +1 -1
  200. package/fesm5/taiga-ui-core-components-button.js.map +1 -1
  201. package/fesm5/taiga-ui-core-components-data-list.js +2 -2
  202. package/fesm5/taiga-ui-core-components-data-list.js.map +1 -1
  203. package/fesm5/taiga-ui-core-components-dialog.js +1 -1
  204. package/fesm5/taiga-ui-core-components-dialog.js.map +1 -1
  205. package/fesm5/taiga-ui-core-components-dropdown-box.js +1 -1
  206. package/fesm5/taiga-ui-core-components-dropdown-box.js.map +1 -1
  207. package/fesm5/taiga-ui-core-components-expand.js +1 -1
  208. package/fesm5/taiga-ui-core-components-expand.js.map +1 -1
  209. package/fesm5/taiga-ui-core-components-hints-host.js +2 -2
  210. package/fesm5/taiga-ui-core-components-hints-host.js.map +1 -1
  211. package/fesm5/taiga-ui-core-components-hosted-dropdown.js +1 -1
  212. package/fesm5/taiga-ui-core-components-hosted-dropdown.js.map +1 -1
  213. package/fesm5/taiga-ui-core-components-label.js +1 -1
  214. package/fesm5/taiga-ui-core-components-label.js.map +1 -1
  215. package/fesm5/taiga-ui-core-components-primitive-calendar.js +1 -1
  216. package/fesm5/taiga-ui-core-components-primitive-calendar.js.map +1 -1
  217. package/fesm5/taiga-ui-core-components-primitive-checkbox.js +1 -1
  218. package/fesm5/taiga-ui-core-components-primitive-checkbox.js.map +1 -1
  219. package/fesm5/taiga-ui-core-components-primitive-textfield.js +4 -4
  220. package/fesm5/taiga-ui-core-components-primitive-textfield.js.map +1 -1
  221. package/fesm5/taiga-ui-core-components-root.js +12 -17
  222. package/fesm5/taiga-ui-core-components-root.js.map +1 -1
  223. package/fesm5/taiga-ui-core-components-scroll-controls.js +1 -1
  224. package/fesm5/taiga-ui-core-components-scroll-controls.js.map +1 -1
  225. package/fesm5/taiga-ui-core-components.js +1 -0
  226. package/fesm5/taiga-ui-core-components.js.map +1 -1
  227. package/fesm5/taiga-ui-core-constants.js +1 -1
  228. package/fesm5/taiga-ui-core-constants.js.map +1 -1
  229. package/fesm5/taiga-ui-core-internal-svg-defs-host.js +1 -1
  230. package/fesm5/taiga-ui-core-internal-svg-defs-host.js.map +1 -1
  231. package/fesm5/taiga-ui-core-tokens.js.map +1 -1
  232. package/fesm5/taiga-ui-core.js +0 -1
  233. package/fesm5/taiga-ui-core.js.map +1 -1
  234. package/index.d.ts +0 -1
  235. package/interfaces/alert-options.d.ts +12 -0
  236. package/interfaces/index.d.ts +1 -0
  237. package/interfaces/notification-options.d.ts +3 -0
  238. package/interfaces/taiga-ui-core-interfaces.metadata.json +1 -1
  239. package/internal/svg-defs-host/taiga-ui-core-internal-svg-defs-host.metadata.json +1 -1
  240. package/package.json +4 -4
  241. package/styles/markup/tui-group.less +1 -1
  242. package/styles/mixins/mixins.less +1 -0
  243. package/styles/mixins/slider.less +17 -0
  244. package/styles/taiga-ui-global-old.less +18 -18
  245. package/styles/taiga-ui-global.less +18 -18
  246. package/styles/taiga-ui-local-old.less +5 -5
  247. package/styles/taiga-ui-local.less +7 -7
  248. package/styles/taiga-ui-local.scss +7 -7
  249. package/styles/taiga-ui-theme.less +4 -4
  250. package/styles/theme/dialog.less +1 -1
  251. package/styles/theme/wrapper/accent.less +1 -1
  252. package/styles/theme/wrapper/base.less +1 -1
  253. package/styles/theme/wrapper/icon.less +1 -1
  254. package/styles/theme/wrapper/none.less +6 -0
  255. package/styles/theme/wrapper/outline.less +1 -1
  256. package/styles/theme/wrapper/primary.less +1 -1
  257. package/styles/theme/wrapper/secondary.less +1 -1
  258. package/styles/theme/wrapper/table.less +1 -1
  259. package/styles/theme/wrapper/textfield.less +1 -1
  260. package/styles/theme/wrapper/whiteblock.less +2 -2
  261. package/styles/theme/wrapper.less +10 -10
  262. package/taiga-ui-core.metadata.json +1 -1
  263. package/tokens/notification-options.d.ts +2 -10
  264. package/tokens/taiga-ui-core-tokens.metadata.json +1 -1
  265. package/bundles/taiga-ui-core-modules-notifications.umd.js.map +0 -1
  266. package/bundles/taiga-ui-core-modules-notifications.umd.min.js +0 -16
  267. package/bundles/taiga-ui-core-modules-notifications.umd.min.js.map +0 -1
  268. package/bundles/taiga-ui-core-modules.umd.js +0 -23
  269. package/bundles/taiga-ui-core-modules.umd.js.map +0 -1
  270. package/bundles/taiga-ui-core-modules.umd.min.js +0 -2
  271. package/bundles/taiga-ui-core-modules.umd.min.js.map +0 -1
  272. package/esm2015/modules/index.js +0 -2
  273. package/esm2015/modules/notifications/index.js +0 -7
  274. package/esm2015/modules/notifications/notification-alert/Notification-alert.js +0 -22
  275. package/esm2015/modules/notifications/notification-alert/notification-alert.component.js +0 -74
  276. package/esm2015/modules/notifications/notification-alert/notification-alert.module.js +0 -17
  277. package/esm2015/modules/notifications/notification-content-context.js +0 -1
  278. package/esm2015/modules/notifications/notifications-host/notifications-host.component.js +0 -35
  279. package/esm2015/modules/notifications/notifications.module.js +0 -26
  280. package/esm2015/modules/notifications/notifications.service.js +0 -38
  281. package/esm2015/modules/notifications/taiga-ui-core-modules-notifications.js +0 -5
  282. package/esm2015/modules/taiga-ui-core-modules.js +0 -5
  283. package/esm5/modules/index.js +0 -2
  284. package/esm5/modules/notifications/index.js +0 -7
  285. package/esm5/modules/notifications/notification-alert/Notification-alert.js +0 -24
  286. package/esm5/modules/notifications/notification-alert/notification-alert.component.js +0 -81
  287. package/esm5/modules/notifications/notification-alert/notification-alert.module.js +0 -20
  288. package/esm5/modules/notifications/notification-content-context.js +0 -1
  289. package/esm5/modules/notifications/notifications-host/notifications-host.component.js +0 -36
  290. package/esm5/modules/notifications/notifications.module.js +0 -29
  291. package/esm5/modules/notifications/notifications.service.js +0 -41
  292. package/esm5/modules/notifications/taiga-ui-core-modules-notifications.js +0 -5
  293. package/esm5/modules/taiga-ui-core-modules.js +0 -5
  294. package/fesm2015/taiga-ui-core-modules-notifications.js +0 -192
  295. package/fesm2015/taiga-ui-core-modules-notifications.js.map +0 -1
  296. package/fesm2015/taiga-ui-core-modules.js +0 -6
  297. package/fesm2015/taiga-ui-core-modules.js.map +0 -1
  298. package/fesm5/taiga-ui-core-modules-notifications.js +0 -210
  299. package/fesm5/taiga-ui-core-modules-notifications.js.map +0 -1
  300. package/fesm5/taiga-ui-core-modules.js +0 -6
  301. package/fesm5/taiga-ui-core-modules.js.map +0 -1
  302. package/modules/index.d.ts +0 -1
  303. package/modules/notifications/index.d.ts +0 -7
  304. package/modules/notifications/notification-alert/Notification-alert.d.ts +0 -19
  305. package/modules/notifications/notification-alert/notification-alert.component.d.ts +0 -17
  306. package/modules/notifications/notification-alert/notification-alert.module.d.ts +0 -2
  307. package/modules/notifications/notification-content-context.d.ts +0 -10
  308. package/modules/notifications/notifications-host/notifications-host.component.d.ts +0 -9
  309. package/modules/notifications/notifications.module.d.ts +0 -4
  310. package/modules/notifications/notifications.service.d.ts +0 -15
  311. package/modules/notifications/package.json +0 -13
  312. package/modules/notifications/taiga-ui-core-modules-notifications.metadata.json +0 -1
  313. package/modules/package.json +0 -13
  314. package/modules/taiga-ui-core-modules.d.ts +0 -4
  315. package/modules/taiga-ui-core-modules.metadata.json +0 -1
@@ -1,18 +1,18 @@
1
- @import 'taiga-ui-local.less';
2
- @import 'basic/keyframes.less';
3
- @import 'basic/normalize.less';
4
- @import 'basic/main.less';
5
- @import 'markup/tui-autofill.less';
6
- @import 'markup/tui-container.less';
7
- @import 'markup/tui-form.less';
8
- @import 'markup/tui-group.less';
9
- @import 'markup/tui-island.less';
10
- @import 'markup/tui-list.less';
11
- @import 'markup/tui-mobile-only.less';
12
- @import 'markup/tui-palette.less';
13
- @import 'markup/tui-required.less';
14
- @import 'markup/tui-row.less';
15
- @import 'markup/tui-skeleton.less';
16
- @import 'markup/tui-space.less';
17
- @import 'markup/tui-table.less';
18
- @import 'markup/tui-text.less';
1
+ @import './taiga-ui-local.less';
2
+ @import './basic/keyframes.less';
3
+ @import './basic/normalize.less';
4
+ @import './basic/main.less';
5
+ @import './markup/tui-autofill.less';
6
+ @import './markup/tui-container.less';
7
+ @import './markup/tui-form.less';
8
+ @import './markup/tui-group.less';
9
+ @import './markup/tui-island.less';
10
+ @import './markup/tui-list.less';
11
+ @import './markup/tui-mobile-only.less';
12
+ @import './markup/tui-palette.less';
13
+ @import './markup/tui-required.less';
14
+ @import './markup/tui-row.less';
15
+ @import './markup/tui-skeleton.less';
16
+ @import './markup/tui-space.less';
17
+ @import './markup/tui-table.less';
18
+ @import './markup/tui-text.less';
@@ -1,7 +1,7 @@
1
1
  @space: 0.25rem;
2
2
 
3
- @import 'mixins/mixins.less';
4
- @import 'mixins/picker.less';
5
- @import 'mixins/text.less';
6
- @import 'mixins/textfield.less';
7
- @import 'variables/media-old.less';
3
+ @import './mixins/mixins.less';
4
+ @import './mixins/picker.less';
5
+ @import './mixins/text.less';
6
+ @import './mixins/textfield.less';
7
+ @import './variables/media-old.less';
@@ -1,9 +1,9 @@
1
1
  @space: 0.25rem;
2
2
 
3
- @import 'mixins/mixins.less';
4
- @import 'mixins/picker.less';
5
- @import 'mixins/slider.less';
6
- @import 'mixins/text.less';
7
- @import 'mixins/textfield.less';
8
- @import 'mixins/wrapper.less';
9
- @import 'variables/media.less';
3
+ @import './mixins/mixins.less';
4
+ @import './mixins/picker.less';
5
+ @import './mixins/slider.less';
6
+ @import './mixins/text.less';
7
+ @import './mixins/textfield.less';
8
+ @import './mixins/wrapper.less';
9
+ @import './variables/media.less';
@@ -1,9 +1,9 @@
1
1
  $space: 4px;
2
2
 
3
- @import 'mixins/mixins.scss';
4
- @import 'mixins/picker.scss';
5
- @import 'mixins/slider.scss';
6
- @import 'mixins/text.scss';
7
- @import 'mixins/textfield.scss';
8
- @import 'mixins/wrapper.scss';
9
- @import 'variables/media.scss';
3
+ @import './mixins/mixins.scss';
4
+ @import './mixins/picker.scss';
5
+ @import './mixins/slider.scss';
6
+ @import './mixins/text.scss';
7
+ @import './mixins/textfield.scss';
8
+ @import './mixins/wrapper.scss';
9
+ @import './variables/media.scss';
@@ -1,4 +1,4 @@
1
- @import 'theme/fonts.css';
2
- @import 'theme/dialog.less';
3
- @import 'theme/variables.less';
4
- @import 'theme/wrapper.less';
1
+ @import './theme/fonts.css';
2
+ @import './theme/dialog.less';
3
+ @import './theme/variables.less';
4
+ @import './theme/wrapper.less';
@@ -1,4 +1,4 @@
1
- @import '../mixins/mixins';
1
+ @import './../mixins/mixins';
2
2
 
3
3
  tui-root:not(._mobile) tui-dialog-host > section {
4
4
  .customize-scroll();
@@ -1,4 +1,4 @@
1
- @import '../../taiga-ui-local.less';
1
+ @import './../../taiga-ui-local.less';
2
2
 
3
3
  /* stylelint-disable order/order */
4
4
  tui-wrapper[data-appearance='accent'],
@@ -1,4 +1,4 @@
1
- @import '../../taiga-ui-local.less';
1
+ @import './../../taiga-ui-local.less';
2
2
 
3
3
  /* stylelint-disable order/order */
4
4
  tui-wrapper,
@@ -1,4 +1,4 @@
1
- @import '../../taiga-ui-local.less';
1
+ @import './../../taiga-ui-local.less';
2
2
 
3
3
  /* stylelint-disable order/order */
4
4
  tui-wrapper[data-appearance='icon'],
@@ -0,0 +1,6 @@
1
+ tui-wrapper[data-appearance='none'],
2
+ [tuiWrapper][data-appearance='none'] {
3
+ &:after {
4
+ border: none;
5
+ }
6
+ }
@@ -1,4 +1,4 @@
1
- @import '../../taiga-ui-local.less';
1
+ @import './../../taiga-ui-local.less';
2
2
 
3
3
  /* stylelint-disable order/order */
4
4
  tui-wrapper[data-appearance='outline'],
@@ -1,4 +1,4 @@
1
- @import '../../taiga-ui-local';
1
+ @import './../../taiga-ui-local';
2
2
 
3
3
  /* stylelint-disable order/order */
4
4
  tui-wrapper[data-appearance='primary'],
@@ -1,4 +1,4 @@
1
- @import '../../taiga-ui-local';
1
+ @import './../../taiga-ui-local';
2
2
 
3
3
  /* stylelint-disable order/order */
4
4
  tui-wrapper[data-appearance='secondary'],
@@ -1,4 +1,4 @@
1
- @import '../../taiga-ui-local';
1
+ @import './../../taiga-ui-local';
2
2
 
3
3
  /* stylelint-disable order/order */
4
4
  tui-wrapper[data-appearance='table'],
@@ -1,4 +1,4 @@
1
- @import '../../taiga-ui-local';
1
+ @import './../../taiga-ui-local';
2
2
 
3
3
  /* stylelint-disable order/order */
4
4
  tui-wrapper[data-appearance='textfield'],
@@ -1,4 +1,4 @@
1
- @import '../../taiga-ui-local';
1
+ @import './../../taiga-ui-local';
2
2
 
3
3
  /* stylelint-disable order/order */
4
4
  tui-wrapper[data-appearance='whiteblock'],
@@ -9,7 +9,7 @@ tui-wrapper[data-appearance='whiteblock-active'],
9
9
  color: var(--tui-text-01);
10
10
 
11
11
  &:after {
12
- color: var(--tui-base-03);
12
+ color: var(--tui-base-04);
13
13
  }
14
14
 
15
15
  .wrapper-hover({
@@ -1,10 +1,10 @@
1
- @import 'wrapper/icon.less';
2
- @import 'wrapper/outline.less';
3
- @import 'wrapper/primary.less';
4
- @import 'wrapper/accent.less';
5
- @import 'wrapper/secondary.less';
6
- @import 'wrapper/table.less';
7
- @import 'wrapper/textfield.less';
8
- @import 'wrapper/whiteblock.less';
9
-
10
- @import 'wrapper/base.less';
1
+ @import './wrapper/icon.less';
2
+ @import './wrapper/outline.less';
3
+ @import './wrapper/primary.less';
4
+ @import './wrapper/accent.less';
5
+ @import './wrapper/secondary.less';
6
+ @import './wrapper/table.less';
7
+ @import './wrapper/textfield.less';
8
+ @import './wrapper/whiteblock.less';
9
+ @import './wrapper/none.less';
10
+ @import './wrapper/base.less';
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"exports":[{"from":"@taiga-ui/core/abstract"},{"from":"@taiga-ui/core/animations"},{"from":"@taiga-ui/core/components"},{"from":"@taiga-ui/core/constants"},{"from":"@taiga-ui/core/directives"},{"from":"@taiga-ui/core/enums"},{"from":"@taiga-ui/core/interfaces"},{"from":"@taiga-ui/core/internal"},{"from":"@taiga-ui/core/mask"},{"from":"@taiga-ui/core/modules"},{"from":"@taiga-ui/core/observables"},{"from":"@taiga-ui/core/pipes"},{"from":"@taiga-ui/core/providers"},{"from":"@taiga-ui/core/services"},{"from":"@taiga-ui/core/tokens"},{"from":"@taiga-ui/core/types"},{"from":"@taiga-ui/core/utils"}],"metadata":{},"origins":{},"importAs":"@taiga-ui/core"}
1
+ {"__symbolic":"module","version":4,"exports":[{"from":"@taiga-ui/core/abstract"},{"from":"@taiga-ui/core/animations"},{"from":"@taiga-ui/core/components"},{"from":"@taiga-ui/core/constants"},{"from":"@taiga-ui/core/directives"},{"from":"@taiga-ui/core/enums"},{"from":"@taiga-ui/core/interfaces"},{"from":"@taiga-ui/core/internal"},{"from":"@taiga-ui/core/mask"},{"from":"@taiga-ui/core/observables"},{"from":"@taiga-ui/core/pipes"},{"from":"@taiga-ui/core/providers"},{"from":"@taiga-ui/core/services"},{"from":"@taiga-ui/core/tokens"},{"from":"@taiga-ui/core/types"},{"from":"@taiga-ui/core/utils"}],"metadata":{},"origins":{},"importAs":"@taiga-ui/core"}
@@ -1,14 +1,6 @@
1
1
  import { InjectionToken, ValueProvider } from '@angular/core';
2
- import { TuiContextWithImplicit } from '@taiga-ui/cdk';
3
- import { TuiNotification } from '@taiga-ui/core/enums';
4
- import { TuiNotificationAutoClose } from '@taiga-ui/core/interfaces';
5
- import { PolymorpheusContent } from '@tinkoff/ng-polymorpheus';
6
- export interface TuiNotificationDefaultOptions {
7
- readonly autoClose: TuiNotificationAutoClose;
8
- readonly label: PolymorpheusContent<TuiContextWithImplicit<TuiNotification>>;
9
- readonly status: TuiNotification;
10
- readonly hasIcon: boolean;
11
- readonly hasCloseButton: boolean;
2
+ import { TuiAlertOptions } from '@taiga-ui/core/interfaces';
3
+ export interface TuiNotificationDefaultOptions extends Omit<TuiAlertOptions<unknown>, 'data'> {
12
4
  readonly defaultAutoCloseTime: number;
13
5
  }
14
6
  /**
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"TUI_ANIMATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":41},"arguments":["Options for Taiga UI animations",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./animation-options"}]},"TUI_ANIMATIONS_DURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":43},"arguments":["Duration of all Taiga UI animations in ms",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./animations-duration"}]},"TUI_ASSERT_ENABLED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":38},"arguments":["Flag to enable assertions across Taiga UI",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./assert-enabled"}]},"TUI_DATA_LIST_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Accessor for options"]},"TUI_DATA_LIST_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["DataList controller"]},"TUI_DOCUMENT_OR_SHADOW_ROOT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":47},"arguments":["Document or ShadowRoot"]},"TUI_DROPDOWN_DIRECTIVE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Directive controlling TuiDropdownBoxComponent"]},"TUI_ELEMENT_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":35},"arguments":["ElementRef when you cannot use @Input for single time injection"]},"TUI_FIRST_DAY_OF_WEEK":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":41},"arguments":["The first day of the week index",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./first-day-of-week"}]},"TUI_MONTHS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":30},"arguments":["Localized months names",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":4,"character":13},"arguments":["months"]}}]},"TUI_CLOSE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":34},"arguments":["i18n 'close' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":8,"character":13},"arguments":["close"]}}]},"TUI_NOTHING_FOUND_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":45},"arguments":["i18n 'Nothing found' message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":14,"character":17},"arguments":["nothingFoundMessage"]}}]},"TUI_DEFAULT_ERROR_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":45},"arguments":["i18n of error message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":19,"character":13},"arguments":["defaultErrorMessage"]}}]},"TUI_SPIN_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":34},"arguments":["spin i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":23,"character":13},"arguments":["spinTexts"]}}]},"TUI_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":26,"character":39},"arguments":["calendars i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":27,"character":13},"arguments":["shortWeekDays"]}}]},"TUI_ICONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["A key/value dictionary of icon names and src to be defined with TuiSvgService",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./icons"}]},"TUI_ICONS_PATH":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["A handler to retrieve USE id for icon by name",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":21,"module":"./icons-path"}]},"TUI_IS_MOBILE_RES":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":37},"arguments":["Mobile resolution stream for private providers"]},"TUI_MEDIA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":29},"arguments":["Token for media constant",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./media"}]},"TUI_MODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Mode stream for private providers"]},"TuiNotificationDefaultOptions":{"__symbolic":"interface"},"NotificationTokenOptions":{"__symbolic":"interface"},"TUI_NOTIFICATION_DEFAULT_OPTIONS":{"autoClose":true,"label":"","status":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/enums","name":"TuiNotification","line":24,"character":12},"member":"Info"},"hasIcon":true,"hasCloseButton":true,"defaultAutoCloseTime":3000},"TUI_NOTIFICATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":30,"character":44},"arguments":["Default parameters for notification alert component",{"__symbolic":"error","message":"Lambda not supported","line":33,"character":17,"module":"./notification-options"}]},"tuiNotificationOptionsProvider":{"__symbolic":"function","parameters":["options"],"value":{"provide":{"__symbolic":"reference","name":"TUI_NOTIFICATION_OPTIONS"},"useValue":{}}},"TUI_NUMBER_FORMAT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":37},"arguments":["Formatting configuration for displayed numbers",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":17,"module":"./number-format"}]},"TUI_OPTION_CONTENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":38},"arguments":["Content for tuiOption component"]},"WEEK_DAYS_NAMES":{"__symbolic":"interface"},"convertToSundayFirstWeekFormat":{"__symbolic":"error","message":"Lambda not supported","line":9,"character":46,"module":"./ordered-short-week-days"},"TUI_ORDERED_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":47},"arguments":["Ordered calendars i18n texts",{"__symbolic":"error","message":"Lambda not supported","line":21,"character":13,"module":"./ordered-short-week-days"}]},"TUI_SCROLL_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":34},"arguments":["Scrollable container"]},"TUI_SVG_SRC_PROCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Source path processor for svg",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./svg-src-processor"}]},"TUI_TEXTFIELD_APPEARANCE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":44},"arguments":["Appearance for inputs",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./textfield-appearance"}]},"TUI_TEXTFIELD_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["An interface to communicate with textfield based controls"]},"TUI_THEME":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["Theme name",{"__symbolic":"error","message":"Lambda not supported","line":3,"character":13,"module":"./theme"}]},"TUI_VALUE_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["Buffer token to pass NG_VALUE_ACCESSOR to a different Injector"]}},"origins":{"TUI_ANIMATION_OPTIONS":"./animation-options","TUI_ANIMATIONS_DURATION":"./animations-duration","TUI_ASSERT_ENABLED":"./assert-enabled","TUI_DATA_LIST_ACCESSOR":"./data-list-accessor","TUI_DATA_LIST_HOST":"./data-list-host","TUI_DOCUMENT_OR_SHADOW_ROOT":"./document-or-shadow-root","TUI_DROPDOWN_DIRECTIVE":"./dropdown-directive","TUI_ELEMENT_REF":"./element-ref","TUI_FIRST_DAY_OF_WEEK":"./first-day-of-week","TUI_MONTHS":"./i18n","TUI_CLOSE_WORD":"./i18n","TUI_NOTHING_FOUND_MESSAGE":"./i18n","TUI_DEFAULT_ERROR_MESSAGE":"./i18n","TUI_SPIN_TEXTS":"./i18n","TUI_SHORT_WEEK_DAYS":"./i18n","TUI_ICONS":"./icons","TUI_ICONS_PATH":"./icons-path","TUI_IS_MOBILE_RES":"./is-mobile-resolution","TUI_MEDIA":"./media","TUI_MODE":"./mode","TuiNotificationDefaultOptions":"./notification-options","NotificationTokenOptions":"./notification-options","TUI_NOTIFICATION_DEFAULT_OPTIONS":"./notification-options","TUI_NOTIFICATION_OPTIONS":"./notification-options","tuiNotificationOptionsProvider":"./notification-options","TUI_NUMBER_FORMAT":"./number-format","TUI_OPTION_CONTENT":"./option-content","WEEK_DAYS_NAMES":"./ordered-short-week-days","convertToSundayFirstWeekFormat":"./ordered-short-week-days","TUI_ORDERED_SHORT_WEEK_DAYS":"./ordered-short-week-days","TUI_SANITIZER":"@taiga-ui/cdk","TUI_SCROLL_REF":"./scroll-ref","TUI_SVG_SRC_PROCESSOR":"./svg-src-processor","TUI_TEXTFIELD_APPEARANCE":"./textfield-appearance","TUI_TEXTFIELD_HOST":"./textfield-host","TUI_THEME":"./theme","TUI_VALUE_ACCESSOR":"./value-accessor"},"importAs":"@taiga-ui/core/tokens"}
1
+ {"__symbolic":"module","version":4,"metadata":{"TUI_ANIMATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":41},"arguments":["Options for Taiga UI animations",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":17,"module":"./animation-options"}]},"TUI_ANIMATIONS_DURATION":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":43},"arguments":["Duration of all Taiga UI animations in ms",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./animations-duration"}]},"TUI_ASSERT_ENABLED":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":38},"arguments":["Flag to enable assertions across Taiga UI",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./assert-enabled"}]},"TUI_DATA_LIST_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Accessor for options"]},"TUI_DATA_LIST_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["DataList controller"]},"TUI_DOCUMENT_OR_SHADOW_ROOT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":47},"arguments":["Document or ShadowRoot"]},"TUI_DROPDOWN_DIRECTIVE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":42},"arguments":["Directive controlling TuiDropdownBoxComponent"]},"TUI_ELEMENT_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":35},"arguments":["ElementRef when you cannot use @Input for single time injection"]},"TUI_FIRST_DAY_OF_WEEK":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":41},"arguments":["The first day of the week index",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./first-day-of-week"}]},"TUI_MONTHS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":30},"arguments":["Localized months names",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":4,"character":13},"arguments":["months"]}}]},"TUI_CLOSE_WORD":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":7,"character":34},"arguments":["i18n 'close' word",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":8,"character":13},"arguments":["close"]}}]},"TUI_NOTHING_FOUND_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":11,"character":45},"arguments":["i18n 'Nothing found' message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":14,"character":17},"arguments":["nothingFoundMessage"]}}]},"TUI_DEFAULT_ERROR_MESSAGE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":45},"arguments":["i18n of error message",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":19,"character":13},"arguments":["defaultErrorMessage"]}}]},"TUI_SPIN_TEXTS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":22,"character":34},"arguments":["spin i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":23,"character":13},"arguments":["spinTexts"]}}]},"TUI_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":26,"character":39},"arguments":["calendars i18n texts",{"factory":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@taiga-ui/i18n","name":"extractI18n","line":27,"character":13},"arguments":["shortWeekDays"]}}]},"TUI_ICONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["A key/value dictionary of icon names and src to be defined with TuiSvgService",{"__symbolic":"error","message":"Lambda not supported","line":5,"character":17,"module":"./icons"}]},"TUI_ICONS_PATH":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["A handler to retrieve USE id for icon by name",{"__symbolic":"error","message":"Lambda not supported","line":8,"character":21,"module":"./icons-path"}]},"TUI_IS_MOBILE_RES":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":37},"arguments":["Mobile resolution stream for private providers"]},"TUI_MEDIA":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":29},"arguments":["Token for media constant",{"__symbolic":"error","message":"Lambda not supported","line":4,"character":13,"module":"./media"}]},"TUI_MODE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Mode stream for private providers"]},"TuiNotificationDefaultOptions":{"__symbolic":"interface"},"NotificationTokenOptions":{"__symbolic":"interface"},"TUI_NOTIFICATION_DEFAULT_OPTIONS":{"autoClose":true,"label":"","status":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@taiga-ui/core/enums","name":"TuiNotification","line":18,"character":12},"member":"Info"},"hasIcon":true,"hasCloseButton":true,"defaultAutoCloseTime":3000},"TUI_NOTIFICATION_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":24,"character":44},"arguments":["Default parameters for notification alert component",{"__symbolic":"error","message":"Lambda not supported","line":27,"character":17,"module":"./notification-options"}]},"tuiNotificationOptionsProvider":{"__symbolic":"function","parameters":["options"],"value":{"provide":{"__symbolic":"reference","name":"TUI_NOTIFICATION_OPTIONS"},"useValue":{}}},"TUI_NUMBER_FORMAT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":37},"arguments":["Formatting configuration for displayed numbers",{"__symbolic":"error","message":"Lambda not supported","line":7,"character":17,"module":"./number-format"}]},"TUI_OPTION_CONTENT":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":4,"character":38},"arguments":["Content for tuiOption component"]},"WEEK_DAYS_NAMES":{"__symbolic":"interface"},"convertToSundayFirstWeekFormat":{"__symbolic":"error","message":"Lambda not supported","line":9,"character":46,"module":"./ordered-short-week-days"},"TUI_ORDERED_SHORT_WEEK_DAYS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":18,"character":47},"arguments":["Ordered calendars i18n texts",{"__symbolic":"error","message":"Lambda not supported","line":21,"character":13,"module":"./ordered-short-week-days"}]},"TUI_SCROLL_REF":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":34},"arguments":["Scrollable container"]},"TUI_SVG_SRC_PROCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":5,"character":8},"arguments":["Source path processor for svg",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./svg-src-processor"}]},"TUI_TEXTFIELD_APPEARANCE":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":44},"arguments":["Appearance for inputs",{"__symbolic":"error","message":"Lambda not supported","line":6,"character":17,"module":"./textfield-appearance"}]},"TUI_TEXTFIELD_HOST":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["An interface to communicate with textfield based controls"]},"TUI_THEME":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":2,"character":29},"arguments":["Theme name",{"__symbolic":"error","message":"Lambda not supported","line":3,"character":13,"module":"./theme"}]},"TUI_VALUE_ACCESSOR":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":3,"character":38},"arguments":["Buffer token to pass NG_VALUE_ACCESSOR to a different Injector"]}},"origins":{"TUI_ANIMATION_OPTIONS":"./animation-options","TUI_ANIMATIONS_DURATION":"./animations-duration","TUI_ASSERT_ENABLED":"./assert-enabled","TUI_DATA_LIST_ACCESSOR":"./data-list-accessor","TUI_DATA_LIST_HOST":"./data-list-host","TUI_DOCUMENT_OR_SHADOW_ROOT":"./document-or-shadow-root","TUI_DROPDOWN_DIRECTIVE":"./dropdown-directive","TUI_ELEMENT_REF":"./element-ref","TUI_FIRST_DAY_OF_WEEK":"./first-day-of-week","TUI_MONTHS":"./i18n","TUI_CLOSE_WORD":"./i18n","TUI_NOTHING_FOUND_MESSAGE":"./i18n","TUI_DEFAULT_ERROR_MESSAGE":"./i18n","TUI_SPIN_TEXTS":"./i18n","TUI_SHORT_WEEK_DAYS":"./i18n","TUI_ICONS":"./icons","TUI_ICONS_PATH":"./icons-path","TUI_IS_MOBILE_RES":"./is-mobile-resolution","TUI_MEDIA":"./media","TUI_MODE":"./mode","TuiNotificationDefaultOptions":"./notification-options","NotificationTokenOptions":"./notification-options","TUI_NOTIFICATION_DEFAULT_OPTIONS":"./notification-options","TUI_NOTIFICATION_OPTIONS":"./notification-options","tuiNotificationOptionsProvider":"./notification-options","TUI_NUMBER_FORMAT":"./number-format","TUI_OPTION_CONTENT":"./option-content","WEEK_DAYS_NAMES":"./ordered-short-week-days","convertToSundayFirstWeekFormat":"./ordered-short-week-days","TUI_ORDERED_SHORT_WEEK_DAYS":"./ordered-short-week-days","TUI_SANITIZER":"@taiga-ui/cdk","TUI_SCROLL_REF":"./scroll-ref","TUI_SVG_SRC_PROCESSOR":"./svg-src-processor","TUI_TEXTFIELD_APPEARANCE":"./textfield-appearance","TUI_TEXTFIELD_HOST":"./textfield-host","TUI_THEME":"./theme","TUI_VALUE_ACCESSOR":"./value-accessor"},"importAs":"@taiga-ui/core/tokens"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-modules-notifications.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/core/modules/notifications/notification-alert/Notification-alert.ts","ng://@taiga-ui/core/modules/notifications/notification-alert/notification-alert.component.ts","ng://@taiga-ui/core/modules/notifications/notification-alert/notification-alert.module.ts","ng://@taiga-ui/core/modules/notifications/notifications.service.ts","ng://@taiga-ui/core/modules/notifications/notifications-host/notifications-host.component.ts","ng://@taiga-ui/core/modules/notifications/notifications.module.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiNotification} from '@taiga-ui/core/enums';\nimport {\n TuiNotificationOptions,\n TuiNotificationOptionsWithData,\n} from '@taiga-ui/core/interfaces';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observer} from 'rxjs';\n\nimport {TuiNotificationContentContext} from '../notification-content-context';\n\nexport class NotificationAlert<O, I> {\n readonly status = this.options.status;\n\n readonly hasIcon = this.options.hasIcon;\n\n readonly autoClose: boolean | number;\n\n readonly hasCloseButton = this.options.hasCloseButton;\n\n readonly label: PolymorpheusContent<TuiContextWithImplicit<TuiNotification>> =\n this.options.label;\n\n readonly data!: I;\n\n constructor(\n readonly observer: Observer<O>,\n readonly content: PolymorpheusContent<TuiNotificationContentContext<O, I>>,\n private readonly options: Required<\n TuiNotificationOptions | TuiNotificationOptionsWithData<I>\n >,\n ) {\n this.autoClose =\n typeof this.options.autoClose === 'function'\n ? this.options.autoClose(this.options.status)\n : this.options.autoClose;\n\n if (options && this.withData(options)) {\n this.data = options.data;\n }\n }\n\n private withData(\n options: TuiNotificationOptions | TuiNotificationOptionsWithData<I>,\n ): options is TuiNotificationOptionsWithData<I> {\n return 'data' in options;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n Input,\n OnInit,\n} from '@angular/core';\nimport {isNumber, TuiDestroyService, tuiPure} from '@taiga-ui/cdk';\nimport {\n TUI_NOTIFICATION_OPTIONS,\n TuiNotificationDefaultOptions,\n} from '@taiga-ui/core/tokens';\nimport {fromEvent, timer} from 'rxjs';\nimport {repeatWhen, takeUntil} from 'rxjs/operators';\n\nimport {TuiNotificationContentContext} from '../notification-content-context';\nimport {NotificationAlert} from './Notification-alert';\n\n@Component({\n selector: 'tui-notification-alert',\n templateUrl: './notification-alert.template.html',\n styleUrls: ['./notification-alert.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService],\n})\nexport class TuiNotificationAlertComponent<O, I> implements OnInit {\n @Input()\n item!: NotificationAlert<O, I>;\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TuiDestroyService) private readonly destroy$: TuiDestroyService,\n @Inject(TUI_NOTIFICATION_OPTIONS)\n readonly options: TuiNotificationDefaultOptions,\n ) {}\n\n ngOnInit() {\n this.initAutoClose();\n }\n\n get context(): TuiNotificationContentContext<O, I> {\n return this.calculateContext(this.item);\n }\n\n closeNotification() {\n this.item.observer.complete();\n }\n\n @tuiPure\n private calculateContext({\n status,\n data,\n label,\n observer,\n }: NotificationAlert<O, I>): TuiNotificationContentContext<O, I> {\n return {\n $implicit: status,\n data: data,\n label: label,\n closeHook: () => {\n observer.complete();\n },\n emitHook: (data: O) => {\n observer.next(data);\n },\n emitAndCloseHook: (data: O) => {\n observer.next(data);\n observer.complete();\n },\n };\n }\n\n private initAutoClose() {\n if (!this.item.autoClose) {\n return;\n }\n\n timer(\n isNumber(this.item.autoClose)\n ? this.item.autoClose\n : this.options.defaultAutoCloseTime,\n )\n .pipe(\n takeUntil(fromEvent(this.elementRef.nativeElement, 'mouseenter')),\n repeatWhen(() => fromEvent(this.elementRef.nativeElement, 'mouseleave')),\n takeUntil(this.destroy$),\n )\n .subscribe(() => this.closeNotification());\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiNotificationModule} from '@taiga-ui/core/components/notification';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiNotificationAlertComponent} from './notification-alert.component';\n\n@NgModule({\n imports: [CommonModule, PolymorpheusModule, TuiNotificationModule],\n declarations: [TuiNotificationAlertComponent],\n exports: [TuiNotificationAlertComponent],\n})\nexport class TuiNotificationAlertModule {}\n","import {Inject, Injectable} from '@angular/core';\nimport {tuiAssert} from '@taiga-ui/cdk';\nimport {\n TuiNotificationOptions,\n TuiNotificationOptionsWithData,\n} from '@taiga-ui/core/interfaces';\nimport {\n TUI_NOTIFICATION_OPTIONS,\n TuiNotificationDefaultOptions,\n} from '@taiga-ui/core/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {BehaviorSubject, Observable, Observer} from 'rxjs';\n\nimport {NotificationAlert} from './notification-alert/Notification-alert';\nimport {TuiNotificationContentContext} from './notification-content-context';\n\nconst NO_HOST =\n 'Notifications are disabled, enable support by adding TuiNotificationsModule to your main app module';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiNotificationsService {\n /** @internal */\n readonly items$ = new BehaviorSubject<ReadonlyArray<NotificationAlert<any, any>>>([]);\n\n constructor(\n @Inject(TUI_NOTIFICATION_OPTIONS)\n readonly options: TuiNotificationDefaultOptions,\n ) {}\n\n show<O = void>(\n content: PolymorpheusContent<TuiNotificationContentContext<O>>,\n ): Observable<O>;\n show<O = void>(\n content: PolymorpheusContent<TuiNotificationContentContext<O>>,\n options: TuiNotificationOptions,\n ): Observable<O>;\n show<O, I>(\n content: PolymorpheusContent<TuiNotificationContentContext<O, I>>,\n options: TuiNotificationOptionsWithData<I>,\n ): Observable<O>;\n show<O, I>(\n content: PolymorpheusContent<TuiNotificationContentContext<O, I>>,\n options: TuiNotificationOptions | TuiNotificationOptionsWithData<I> = {},\n ): Observable<O> {\n return new Observable((observer: Observer<O>) => {\n tuiAssert.assert(!!this.items$.observers.length, NO_HOST);\n\n const notification = new NotificationAlert(observer, content, {\n ...this.options,\n ...options,\n });\n\n this.items$.next([...this.items$.value, notification]);\n\n return () => {\n this.items$.next(this.items$.value.filter(item => item !== notification));\n };\n });\n }\n}\n","import {AnimationOptions} from '@angular/animations';\nimport {ChangeDetectionStrategy, Component, Inject} from '@angular/core';\nimport {tuiPure} from '@taiga-ui/cdk';\nimport {\n tuiFadeInList,\n tuiHeightCollapseList,\n tuiSlideInRightList,\n} from '@taiga-ui/core/animations';\nimport {TuiAnimationOptions} from '@taiga-ui/core/interfaces';\nimport {TUI_ANIMATION_OPTIONS} from '@taiga-ui/core/tokens';\n\nimport {TuiNotificationsService} from '../notifications.service';\n\n@Component({\n selector: 'tui-notifications-host',\n templateUrl: './notifications-host.template.html',\n styleUrls: ['./notifications-host.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiFadeInList, tuiSlideInRightList, tuiHeightCollapseList],\n})\nexport class TuiNotificationsHostComponent {\n constructor(\n @Inject(TUI_ANIMATION_OPTIONS) private readonly options: AnimationOptions,\n @Inject(TuiNotificationsService) readonly service: TuiNotificationsService,\n ) {}\n\n @tuiPure\n getAnimation(value: number): TuiAnimationOptions {\n return {\n value: String(value),\n ...this.options,\n };\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule} from '@taiga-ui/cdk';\n\nimport {TuiNotificationAlertModule} from './notification-alert/notification-alert.module';\nimport {TuiNotificationsHostComponent} from './notifications-host/notifications-host.component';\n\n// TODO: remove in ivy compilation\nexport const NOTIFICATIONS_HOST = TuiNotificationsHostComponent;\n\n@NgModule({\n imports: [CommonModule, TuiNotificationAlertModule, TuiLetModule],\n declarations: [TuiNotificationsHostComponent],\n exports: [TuiNotificationsHostComponent],\n entryComponents: [TuiNotificationsHostComponent],\n providers: [\n {\n provide: TuiNotificationsHostComponent,\n useValue: NOTIFICATIONS_HOST,\n },\n ],\n})\nexport class TuiNotificationsModule {}\n"],"names":["timer","isNumber","takeUntil","fromEvent","repeatWhen","ElementRef","Inject","TuiDestroyService","TUI_NOTIFICATION_OPTIONS","Input","tuiPure","Component","ChangeDetectionStrategy","NgModule","CommonModule","PolymorpheusModule","TuiNotificationModule","BehaviorSubject","Observable","tuiAssert","Injectable","TUI_ANIMATION_OPTIONS","tuiFadeInList","tuiSlideInRightList","tuiHeightCollapseList","TuiLetModule"],"mappings":";;;;;;IAAA;IACA;AACA;IACA;IACA;AACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;AACA;IACA,IAAI,aAAa,GAAG,SAAS,CAAC,EAAE,CAAC,EAAE;IACnC,IAAI,aAAa,GAAG,MAAM,CAAC,cAAc;IACzC,SAAS,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;IACpF,QAAQ,UAAU,CAAC,EAAE,CAAC,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,IAAI,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IACnF,IAAI,OAAO,aAAa,CAAC,C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AAzB,sBAAsB;YAZlCO,aAAQ,CAAC;gBACN,OAAO,EAAE,CAACC,mBAAY,EAAE,0BAA0B,EAAEW,gBAAY,CAAC;gBACjE,YAAY,EAAE,CAAC,6BAA6B,CAAC;gBAC7C,OAAO,EAAE,CAAC,6BAA6B,CAAC;gBACxC,eAAe,EAAE,CAAC,6BAA6B,CAAC;gBAChD,SAAS,EAAE;oBACP;wBACI,OAAO,EAAE,6BAA6B;wBACtC,QAAQ,EAAE,kBAAkB;qBAC/B;iBACJ;aACJ,CAAC;WACW,sBAAsB,CAAG;QAAD,6BAAC;KAAtC;;;;;;;;;;;;;;;;;;"}
@@ -1,16 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@taiga-ui/cdk"),require("@taiga-ui/core/tokens"),require("rxjs"),require("rxjs/operators"),require("@angular/common"),require("@taiga-ui/core/components/notification"),require("@tinkoff/ng-polymorpheus"),require("@taiga-ui/core/animations")):"function"==typeof define&&define.amd?define("@taiga-ui/core/modules/notifications",["exports","@angular/core","@taiga-ui/cdk","@taiga-ui/core/tokens","rxjs","rxjs/operators","@angular/common","@taiga-ui/core/components/notification","@tinkoff/ng-polymorpheus","@taiga-ui/core/animations"],e):e(((t=t||self)["taiga-ui"]=t["taiga-ui"]||{},t["taiga-ui"].core=t["taiga-ui"].core||{},t["taiga-ui"].core.modules=t["taiga-ui"].core.modules||{},t["taiga-ui"].core.modules.notifications={}),t.ng.core,t.cdk,t["taiga-ui"].core.tokens,t.rxjs,t.rxjs.operators,t.ng.common,t["taiga-ui"].core.components.notification,t.ngPolymorpheus,t["taiga-ui"].core.animations)}(this,(function(t,e,n,o,i,r,a,s,u,c){"use strict";
2
- /*! *****************************************************************************
3
- Copyright (c) Microsoft Corporation.
4
-
5
- Permission to use, copy, modify, and/or distribute this software for any
6
- purpose with or without fee is hereby granted.
7
-
8
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
9
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
11
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
- PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var l=function(){return(l=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)};function p(t,e,n,o){var i,r=arguments.length,a=r<3?e:null===o?o=Object.getOwnPropertyDescriptor(e,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,e,n,o);else for(var s=t.length-1;s>=0;s--)(i=t[s])&&(a=(r<3?i(a):r>3?i(e,n,a):i(e,n))||a);return r>3&&a&&Object.defineProperty(e,n,a),a}function m(t,e){return function(n,o){e(n,o,t)}}function f(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var o,i,r=n.call(t),a=[];try{for(;(void 0===e||e-- >0)&&!(o=r.next()).done;)a.push(o.value)}catch(t){i={error:t}}finally{try{o&&!o.done&&(n=r.return)&&n.call(r)}finally{if(i)throw i.error}}return a}var d=function(){function t(t,e,n){this.observer=t,this.content=e,this.options=n,this.status=this.options.status,this.hasIcon=this.options.hasIcon,this.hasCloseButton=this.options.hasCloseButton,this.label=this.options.label,this.autoClose="function"==typeof this.options.autoClose?this.options.autoClose(this.options.status):this.options.autoClose,n&&this.withData(n)&&(this.data=n.data)}return t.prototype.withData=function(t){return"data"in t},t}(),h=function(){function t(t,e,n){this.elementRef=t,this.destroy$=e,this.options=n}return t.prototype.ngOnInit=function(){this.initAutoClose()},Object.defineProperty(t.prototype,"context",{get:function(){return this.calculateContext(this.item)},enumerable:!0,configurable:!0}),t.prototype.closeNotification=function(){this.item.observer.complete()},t.prototype.calculateContext=function(t){var e=t.status,n=t.data,o=t.label,i=t.observer;return{$implicit:e,data:n,label:o,closeHook:function(){i.complete()},emitHook:function(t){i.next(t)},emitAndCloseHook:function(t){i.next(t),i.complete()}}},t.prototype.initAutoClose=function(){var t=this;this.item.autoClose&&i.timer(n.isNumber(this.item.autoClose)?this.item.autoClose:this.options.defaultAutoCloseTime).pipe(r.takeUntil(i.fromEvent(this.elementRef.nativeElement,"mouseenter")),r.repeatWhen((function(){return i.fromEvent(t.elementRef.nativeElement,"mouseleave")})),r.takeUntil(this.destroy$)).subscribe((function(){return t.closeNotification()}))},t.ctorParameters=function(){return[{type:e.ElementRef,decorators:[{type:e.Inject,args:[e.ElementRef]}]},{type:n.TuiDestroyService,decorators:[{type:e.Inject,args:[n.TuiDestroyService]}]},{type:void 0,decorators:[{type:e.Inject,args:[o.TUI_NOTIFICATION_OPTIONS]}]}]},p([e.Input()],t.prototype,"item",void 0),p([n.tuiPure],t.prototype,"calculateContext",null),t=p([e.Component({selector:"tui-notification-alert",template:'<tui-notification\n *ngIf="item.hasCloseButton; else noClose"\n [status]="item.status"\n [hasIcon]="item.hasIcon"\n (close)="closeNotification()"\n>\n <label\n *ngIf="item.label"\n polymorpheus-outlet\n automation-id="tui-notification-alert__heading"\n class="heading"\n [content]="item.label"\n [context]="context"\n ></label>\n <div\n polymorpheus-outlet\n automation-id="tui-notification-alert__content"\n class="content"\n [content]="item.content"\n [context]="context"\n ></div>\n</tui-notification>\n<ng-template #noClose>\n <tui-notification [status]="item.status" [hasIcon]="item.hasIcon">\n <label\n *ngIf="item.label"\n polymorpheus-outlet\n automation-id="tui-notification-alert__heading"\n class="heading"\n [content]="item.label"\n [context]="context"\n ></label>\n <div\n polymorpheus-outlet\n automation-id="tui-notification-alert__content"\n class="content"\n [content]="item.content"\n [context]="context"\n ></div>\n </tui-notification>\n</ng-template>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,providers:[n.TuiDestroyService],styles:[":host{box-shadow:0 .5rem 1rem rgba(0,0,0,.16);display:block;border-radius:var(--tui-radius-m)}.heading{font:var(--tui-font-text-m);line-height:1.25rem;font-weight:700;margin:0}.content{color:var(--tui-text-01);word-wrap:break-word}.content:empty{display:none}"]}),m(0,e.Inject(e.ElementRef)),m(1,e.Inject(n.TuiDestroyService)),m(2,e.Inject(o.TUI_NOTIFICATION_OPTIONS))],t)}(),g=function(){function t(){}return t=p([e.NgModule({imports:[a.CommonModule,u.PolymorpheusModule,s.TuiNotificationModule],declarations:[h],exports:[h]})],t)}(),y=function(){function t(t){this.options=t,this.items$=new i.BehaviorSubject([])}return t.prototype.show=function(t,e){var o=this;return void 0===e&&(e={}),new i.Observable((function(i){n.tuiAssert.assert(!!o.items$.observers.length,"Notifications are disabled, enable support by adding TuiNotificationsModule to your main app module");var r=new d(i,t,l(l({},o.options),e));return o.items$.next(function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(f(arguments[e]));return t}(o.items$.value,[r])),function(){o.items$.next(o.items$.value.filter((function(t){return t!==r})))}}))},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[o.TUI_NOTIFICATION_OPTIONS]}]}]},t.ɵprov=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(o.TUI_NOTIFICATION_OPTIONS))},token:t,providedIn:"root"}),t=p([e.Injectable({providedIn:"root"}),m(0,e.Inject(o.TUI_NOTIFICATION_OPTIONS))],t)}(),I=function(){function t(t,e){this.options=t,this.service=e}return t.prototype.getAnimation=function(t){return l({value:String(t)},this.options)},t.ctorParameters=function(){return[{type:void 0,decorators:[{type:e.Inject,args:[o.TUI_ANIMATION_OPTIONS]}]},{type:y,decorators:[{type:e.Inject,args:[y]}]}]},p([n.tuiPure],t.prototype,"getAnimation",null),t=p([e.Component({selector:"tui-notifications-host",template:'<ng-container *tuiLet="service.items$ | async as items">\n <div\n *ngIf="items.length"\n class="t-wrapper"\n [@tuiFadeInList]="getAnimation(items.length)"\n [@tuiHeightCollapseList]="getAnimation(items.length)"\n [@tuiSlideInRightList]="getAnimation(items.length)"\n >\n <tui-notification-alert\n *ngFor="let item of items"\n role="alert"\n class="t-alert"\n [item]="item"\n ></tui-notification-alert>\n </div>\n</ng-container>\n',changeDetection:e.ChangeDetectionStrategy.OnPush,animations:[c.tuiFadeInList,c.tuiSlideInRightList,c.tuiHeightCollapseList],styles:[":host{position:fixed;top:0;left:0;width:100%;height:0}.t-wrapper{width:18rem;margin-left:auto;padding:2rem 3rem 0 0;pointer-events:none}:host-context(tui-root._mobile) .t-wrapper{padding:1rem 1rem 0 0}@media screen and (min-width:80em){.t-wrapper{width:23rem}}.t-alert{pointer-events:auto}.t-alert:not(:first-child){margin-top:.75rem}"]}),m(0,e.Inject(o.TUI_ANIMATION_OPTIONS)),m(1,e.Inject(y))],t)}(),v=I,b=function(){function t(){}return t=p([e.NgModule({imports:[a.CommonModule,g,n.TuiLetModule],declarations:[I],exports:[I],entryComponents:[I],providers:[{provide:I,useValue:v}]})],t)}();t.NOTIFICATIONS_HOST=v,t.NotificationAlert=d,t.TuiNotificationAlertComponent=h,t.TuiNotificationAlertModule=g,t.TuiNotificationsHostComponent=I,t.TuiNotificationsModule=b,t.TuiNotificationsService=y,Object.defineProperty(t,"__esModule",{value:!0})}));
16
- //# sourceMappingURL=taiga-ui-core-modules-notifications.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../node_modules/tslib/tslib.es6.js","ng://@taiga-ui/core/modules/notifications/notification-alert/Notification-alert.ts","ng://@taiga-ui/core/modules/notifications/notification-alert/notification-alert.component.ts","ng://@taiga-ui/core/modules/notifications/notification-alert/notification-alert.module.ts","ng://@taiga-ui/core/modules/notifications/notifications.service.ts","ng://@taiga-ui/core/modules/notifications/notifications-host/notifications-host.component.ts","ng://@taiga-ui/core/modules/notifications/notifications.module.ts"],"names":["__assign","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","this","__decorate","decorators","target","key","desc","d","c","r","getOwnPropertyDescriptor","Reflect","decorate","defineProperty","__param","paramIndex","decorator","__read","o","m","Symbol","iterator","e","ar","next","done","push","value","error","NotificationAlert","observer","content","options","status","hasIcon","hasCloseButton","label","autoClose","withData","data","TuiNotificationAlertComponent","elementRef","destroy$","ngOnInit","initAutoClose","calculateContext","item","closeNotification","complete","_a","$implicit","closeHook","emitHook","emitAndCloseHook","_this","timer","isNumber","defaultAutoCloseTime","pipe","takeUntil","fromEvent","nativeElement","repeatWhen","subscribe","ElementRef","type","Inject","args","TuiDestroyService","TUI_NOTIFICATION_OPTIONS","Input","tuiPure","Component","selector","template","changeDetection","ChangeDetectionStrategy","OnPush","providers","TuiNotificationAlertModule","NgModule","imports","CommonModule","PolymorpheusModule","TuiNotificationModule","declarations","exports","TuiNotificationsService","items$","BehaviorSubject","show","Observable","tuiAssert","assert","observers","notification","concat","__spread","filter","Injectable","providedIn","TuiNotificationsHostComponent","service","getAnimation","String","TUI_ANIMATION_OPTIONS","animations","tuiFadeInList","tuiSlideInRightList","tuiHeightCollapseList","NOTIFICATIONS_HOST","TuiNotificationsModule","TuiLetModule","entryComponents","provide","useValue"],"mappings":";;;;;;;;;;;;;;oFA6BO,IAAIA,EAAW,WAQlB,OAPAA,EAAWC,OAAOC,QAAU,SAAkBC,GAC1C,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KAAIN,EAAEM,GAAKL,EAAEK,IAE9E,OAAON,IAEKU,MAAMC,KAAMP,YAezB,SAASQ,EAAWC,EAAYC,EAAQC,EAAKC,GAChD,IAA2HC,EAAvHC,EAAId,UAAUC,OAAQc,EAAID,EAA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,OAITC","sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import {TuiContextWithImplicit} from '@taiga-ui/cdk';\nimport {TuiNotification} from '@taiga-ui/core/enums';\nimport {\n TuiNotificationOptions,\n TuiNotificationOptionsWithData,\n} from '@taiga-ui/core/interfaces';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {Observer} from 'rxjs';\n\nimport {TuiNotificationContentContext} from '../notification-content-context';\n\nexport class NotificationAlert<O, I> {\n readonly status = this.options.status;\n\n readonly hasIcon = this.options.hasIcon;\n\n readonly autoClose: boolean | number;\n\n readonly hasCloseButton = this.options.hasCloseButton;\n\n readonly label: PolymorpheusContent<TuiContextWithImplicit<TuiNotification>> =\n this.options.label;\n\n readonly data!: I;\n\n constructor(\n readonly observer: Observer<O>,\n readonly content: PolymorpheusContent<TuiNotificationContentContext<O, I>>,\n private readonly options: Required<\n TuiNotificationOptions | TuiNotificationOptionsWithData<I>\n >,\n ) {\n this.autoClose =\n typeof this.options.autoClose === 'function'\n ? this.options.autoClose(this.options.status)\n : this.options.autoClose;\n\n if (options && this.withData(options)) {\n this.data = options.data;\n }\n }\n\n private withData(\n options: TuiNotificationOptions | TuiNotificationOptionsWithData<I>,\n ): options is TuiNotificationOptionsWithData<I> {\n return 'data' in options;\n }\n}\n","import {\n ChangeDetectionStrategy,\n Component,\n ElementRef,\n Inject,\n Input,\n OnInit,\n} from '@angular/core';\nimport {isNumber, TuiDestroyService, tuiPure} from '@taiga-ui/cdk';\nimport {\n TUI_NOTIFICATION_OPTIONS,\n TuiNotificationDefaultOptions,\n} from '@taiga-ui/core/tokens';\nimport {fromEvent, timer} from 'rxjs';\nimport {repeatWhen, takeUntil} from 'rxjs/operators';\n\nimport {TuiNotificationContentContext} from '../notification-content-context';\nimport {NotificationAlert} from './Notification-alert';\n\n@Component({\n selector: 'tui-notification-alert',\n templateUrl: './notification-alert.template.html',\n styleUrls: ['./notification-alert.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n providers: [TuiDestroyService],\n})\nexport class TuiNotificationAlertComponent<O, I> implements OnInit {\n @Input()\n item!: NotificationAlert<O, I>;\n\n constructor(\n @Inject(ElementRef) private readonly elementRef: ElementRef<HTMLElement>,\n @Inject(TuiDestroyService) private readonly destroy$: TuiDestroyService,\n @Inject(TUI_NOTIFICATION_OPTIONS)\n readonly options: TuiNotificationDefaultOptions,\n ) {}\n\n ngOnInit() {\n this.initAutoClose();\n }\n\n get context(): TuiNotificationContentContext<O, I> {\n return this.calculateContext(this.item);\n }\n\n closeNotification() {\n this.item.observer.complete();\n }\n\n @tuiPure\n private calculateContext({\n status,\n data,\n label,\n observer,\n }: NotificationAlert<O, I>): TuiNotificationContentContext<O, I> {\n return {\n $implicit: status,\n data: data,\n label: label,\n closeHook: () => {\n observer.complete();\n },\n emitHook: (data: O) => {\n observer.next(data);\n },\n emitAndCloseHook: (data: O) => {\n observer.next(data);\n observer.complete();\n },\n };\n }\n\n private initAutoClose() {\n if (!this.item.autoClose) {\n return;\n }\n\n timer(\n isNumber(this.item.autoClose)\n ? this.item.autoClose\n : this.options.defaultAutoCloseTime,\n )\n .pipe(\n takeUntil(fromEvent(this.elementRef.nativeElement, 'mouseenter')),\n repeatWhen(() => fromEvent(this.elementRef.nativeElement, 'mouseleave')),\n takeUntil(this.destroy$),\n )\n .subscribe(() => this.closeNotification());\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiNotificationModule} from '@taiga-ui/core/components/notification';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\nimport {TuiNotificationAlertComponent} from './notification-alert.component';\n\n@NgModule({\n imports: [CommonModule, PolymorpheusModule, TuiNotificationModule],\n declarations: [TuiNotificationAlertComponent],\n exports: [TuiNotificationAlertComponent],\n})\nexport class TuiNotificationAlertModule {}\n","import {Inject, Injectable} from '@angular/core';\nimport {tuiAssert} from '@taiga-ui/cdk';\nimport {\n TuiNotificationOptions,\n TuiNotificationOptionsWithData,\n} from '@taiga-ui/core/interfaces';\nimport {\n TUI_NOTIFICATION_OPTIONS,\n TuiNotificationDefaultOptions,\n} from '@taiga-ui/core/tokens';\nimport {PolymorpheusContent} from '@tinkoff/ng-polymorpheus';\nimport {BehaviorSubject, Observable, Observer} from 'rxjs';\n\nimport {NotificationAlert} from './notification-alert/Notification-alert';\nimport {TuiNotificationContentContext} from './notification-content-context';\n\nconst NO_HOST =\n 'Notifications are disabled, enable support by adding TuiNotificationsModule to your main app module';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class TuiNotificationsService {\n /** @internal */\n readonly items$ = new BehaviorSubject<ReadonlyArray<NotificationAlert<any, any>>>([]);\n\n constructor(\n @Inject(TUI_NOTIFICATION_OPTIONS)\n readonly options: TuiNotificationDefaultOptions,\n ) {}\n\n show<O = void>(\n content: PolymorpheusContent<TuiNotificationContentContext<O>>,\n ): Observable<O>;\n show<O = void>(\n content: PolymorpheusContent<TuiNotificationContentContext<O>>,\n options: TuiNotificationOptions,\n ): Observable<O>;\n show<O, I>(\n content: PolymorpheusContent<TuiNotificationContentContext<O, I>>,\n options: TuiNotificationOptionsWithData<I>,\n ): Observable<O>;\n show<O, I>(\n content: PolymorpheusContent<TuiNotificationContentContext<O, I>>,\n options: TuiNotificationOptions | TuiNotificationOptionsWithData<I> = {},\n ): Observable<O> {\n return new Observable((observer: Observer<O>) => {\n tuiAssert.assert(!!this.items$.observers.length, NO_HOST);\n\n const notification = new NotificationAlert(observer, content, {\n ...this.options,\n ...options,\n });\n\n this.items$.next([...this.items$.value, notification]);\n\n return () => {\n this.items$.next(this.items$.value.filter(item => item !== notification));\n };\n });\n }\n}\n","import {AnimationOptions} from '@angular/animations';\nimport {ChangeDetectionStrategy, Component, Inject} from '@angular/core';\nimport {tuiPure} from '@taiga-ui/cdk';\nimport {\n tuiFadeInList,\n tuiHeightCollapseList,\n tuiSlideInRightList,\n} from '@taiga-ui/core/animations';\nimport {TuiAnimationOptions} from '@taiga-ui/core/interfaces';\nimport {TUI_ANIMATION_OPTIONS} from '@taiga-ui/core/tokens';\n\nimport {TuiNotificationsService} from '../notifications.service';\n\n@Component({\n selector: 'tui-notifications-host',\n templateUrl: './notifications-host.template.html',\n styleUrls: ['./notifications-host.style.less'],\n changeDetection: ChangeDetectionStrategy.OnPush,\n animations: [tuiFadeInList, tuiSlideInRightList, tuiHeightCollapseList],\n})\nexport class TuiNotificationsHostComponent {\n constructor(\n @Inject(TUI_ANIMATION_OPTIONS) private readonly options: AnimationOptions,\n @Inject(TuiNotificationsService) readonly service: TuiNotificationsService,\n ) {}\n\n @tuiPure\n getAnimation(value: number): TuiAnimationOptions {\n return {\n value: String(value),\n ...this.options,\n };\n }\n}\n","import {CommonModule} from '@angular/common';\nimport {NgModule} from '@angular/core';\nimport {TuiLetModule} from '@taiga-ui/cdk';\n\nimport {TuiNotificationAlertModule} from './notification-alert/notification-alert.module';\nimport {TuiNotificationsHostComponent} from './notifications-host/notifications-host.component';\n\n// TODO: remove in ivy compilation\nexport const NOTIFICATIONS_HOST = TuiNotificationsHostComponent;\n\n@NgModule({\n imports: [CommonModule, TuiNotificationAlertModule, TuiLetModule],\n declarations: [TuiNotificationsHostComponent],\n exports: [TuiNotificationsHostComponent],\n entryComponents: [TuiNotificationsHostComponent],\n providers: [\n {\n provide: TuiNotificationsHostComponent,\n useValue: NOTIFICATIONS_HOST,\n },\n ],\n})\nexport class TuiNotificationsModule {}\n"]}
@@ -1,23 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taiga-ui/core/modules/notifications')) :
3
- typeof define === 'function' && define.amd ? define('@taiga-ui/core/modules', ['exports', '@taiga-ui/core/modules/notifications'], factory) :
4
- (global = global || self, factory((global['taiga-ui'] = global['taiga-ui'] || {}, global['taiga-ui'].core = global['taiga-ui'].core || {}, global['taiga-ui'].core.modules = {}), global['taiga-ui'].core.modules.notifications));
5
- }(this, (function (exports, notifications) { 'use strict';
6
-
7
- /**
8
- * Generated bundle index. Do not edit.
9
- */
10
-
11
- Object.keys(notifications).forEach(function (k) {
12
- if (k !== 'default') Object.defineProperty(exports, k, {
13
- enumerable: true,
14
- get: function () {
15
- return notifications[k];
16
- }
17
- });
18
- });
19
-
20
- Object.defineProperty(exports, '__esModule', { value: true });
21
-
22
- })));
23
- //# sourceMappingURL=taiga-ui-core-modules.umd.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"taiga-ui-core-modules.umd.js","sources":["ng://@taiga-ui/core/modules/taiga-ui-core-modules.ts"],"sourcesContent":["/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;CAAA;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
1
- !function(e,i){"object"==typeof exports&&"undefined"!=typeof module?i(exports,require("@taiga-ui/core/modules/notifications")):"function"==typeof define&&define.amd?define("@taiga-ui/core/modules",["exports","@taiga-ui/core/modules/notifications"],i):i(((e=e||self)["taiga-ui"]=e["taiga-ui"]||{},e["taiga-ui"].core=e["taiga-ui"].core||{},e["taiga-ui"].core.modules={}),e["taiga-ui"].core.modules.notifications)}(this,(function(e,i){"use strict";Object.keys(i).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return i[t]}})})),Object.defineProperty(e,"__esModule",{value:!0})}));
2
- //# sourceMappingURL=taiga-ui-core-modules.umd.min.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","sourcesContent":[]}
@@ -1,2 +0,0 @@
1
- export * from '@taiga-ui/core/modules/notifications';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9tb2R1bGVzLyIsInNvdXJjZXMiOlsiaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxzQ0FBc0MsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJ0B0YWlnYS11aS9jb3JlL21vZHVsZXMvbm90aWZpY2F0aW9ucyc7XG4iXX0=
@@ -1,7 +0,0 @@
1
- export * from './notification-alert/Notification-alert';
2
- export * from './notification-alert/notification-alert.component';
3
- export * from './notification-alert/notification-alert.module';
4
- export * from './notifications.module';
5
- export * from './notifications.service';
6
- export * from './notifications-host/notifications-host.component';
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdGFpZ2EtdWkvY29yZS9tb2R1bGVzL25vdGlmaWNhdGlvbnMvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHlDQUF5QyxDQUFDO0FBQ3hELGNBQWMsbURBQW1ELENBQUM7QUFDbEUsY0FBYyxnREFBZ0QsQ0FBQztBQUUvRCxjQUFjLHdCQUF3QixDQUFDO0FBQ3ZDLGNBQWMseUJBQXlCLENBQUM7QUFDeEMsY0FBYyxtREFBbUQsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbm90aWZpY2F0aW9uLWFsZXJ0L05vdGlmaWNhdGlvbi1hbGVydCc7XG5leHBvcnQgKiBmcm9tICcuL25vdGlmaWNhdGlvbi1hbGVydC9ub3RpZmljYXRpb24tYWxlcnQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbm90aWZpY2F0aW9uLWFsZXJ0L25vdGlmaWNhdGlvbi1hbGVydC5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9ub3RpZmljYXRpb24tY29udGVudC1jb250ZXh0JztcbmV4cG9ydCAqIGZyb20gJy4vbm90aWZpY2F0aW9ucy5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9ub3RpZmljYXRpb25zLnNlcnZpY2UnO1xuZXhwb3J0ICogZnJvbSAnLi9ub3RpZmljYXRpb25zLWhvc3Qvbm90aWZpY2F0aW9ucy1ob3N0LmNvbXBvbmVudCc7XG4iXX0=